You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3642 lines
5.0 MiB
3642 lines
5.0 MiB
#!/usr/bin/env node
|
|
var b1e=Object.create;var dx=Object.defineProperty;var A1e=Object.getOwnPropertyDescriptor;var I1e=Object.getOwnPropertyNames;var S1e=Object.getPrototypeOf,L1e=Object.prototype.hasOwnProperty;var Pl=(e,t)=>()=>(e&&(t=e(e=0)),t);var Le=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),T1e=(e,t)=>{for(var n in t)dx(e,n,{get:t[n],enumerable:!0})},v1e=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of I1e(t))!L1e.call(e,o)&&o!==n&&dx(e,o,{get:()=>t[o],enumerable:!(i=A1e(t,o))||i.enumerable});return e};var mr=(e,t,n)=>(n=e!=null?b1e(S1e(e)):{},v1e(t||!e||!e.__esModule?dx(n,"default",{value:e,enumerable:!0}):n,e));var $7=Le((u_t,R7)=>{var gp=require("constants"),C1e=process.cwd,lb=null,x1e=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return lb||(lb=C1e.call(process)),lb};try{process.cwd()}catch{}typeof process.chdir=="function"&&(hx=process.chdir,process.chdir=function(e){lb=null,hx.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,hx));var hx;R7.exports=D1e;function D1e(e){gp.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&t(e),e.lutimes||n(e),e.chown=r(e.chown),e.fchown=r(e.fchown),e.lchown=r(e.lchown),e.chmod=i(e.chmod),e.fchmod=i(e.fchmod),e.lchmod=i(e.lchmod),e.chownSync=c(e.chownSync),e.fchownSync=c(e.fchownSync),e.lchownSync=c(e.lchownSync),e.chmodSync=o(e.chmodSync),e.fchmodSync=o(e.fchmodSync),e.lchmodSync=o(e.lchmodSync),e.stat=s(e.stat),e.fstat=s(e.fstat),e.lstat=s(e.lstat),e.statSync=u(e.statSync),e.fstatSync=u(e.fstatSync),e.lstatSync=u(e.lstatSync),e.chmod&&!e.lchmod&&(e.lchmod=function(a,l,p){p&&process.nextTick(p)},e.lchmodSync=function(){}),e.chown&&!e.lchown&&(e.lchown=function(a,l,p,d){d&&process.nextTick(d)},e.lchownSync=function(){}),x1e==="win32"&&(e.rename=typeof e.rename!="function"?e.rename:function(a){function l(p,d,h){var m=Date.now(),g=0;a(p,d,function y(_){if(_&&(_.code==="EACCES"||_.code==="EPERM"||_.code==="EBUSY")&&Date.now()-m<6e4){setTimeout(function(){e.stat(d,function(E,A){E&&E.code==="ENOENT"?a(p,d,y):h(_)})},g),g<100&&(g+=10);return}h&&h(_)})}return Object.setPrototypeOf&&Object.setPrototypeOf(l,a),l}(e.rename)),e.read=typeof e.read!="function"?e.read:function(a){function l(p,d,h,m,g,y){var _;if(y&&typeof y=="function"){var E=0;_=function(A,S,T){if(A&&A.code==="EAGAIN"&&E<10)return E++,a.call(e,p,d,h,m,g,_);y.apply(this,arguments)}}return a.call(e,p,d,h,m,g,_)}return Object.setPrototypeOf&&Object.setPrototypeOf(l,a),l}(e.read),e.readSync=typeof e.readSync!="function"?e.readSync:function(a){return function(l,p,d,h,m){for(var g=0;;)try{return a.call(e,l,p,d,h,m)}catch(y){if(y.code==="EAGAIN"&&g<10){g++;continue}throw y}}}(e.readSync);function t(a){a.lchmod=function(l,p,d){a.open(l,gp.O_WRONLY|gp.O_SYMLINK,p,function(h,m){if(h){d&&d(h);return}a.fchmod(m,p,function(g){a.close(m,function(y){d&&d(g||y)})})})},a.lchmodSync=function(l,p){var d=a.openSync(l,gp.O_WRONLY|gp.O_SYMLINK,p),h=!0,m;try{m=a.fchmodSync(d,p),h=!1}finally{if(h)try{a.closeSync(d)}catch{}else a.closeSync(d)}return m}}function n(a){gp.hasOwnProperty("O_SYMLINK")&&a.futimes?(a.lutimes=function(l,p,d,h){a.open(l,gp.O_SYMLINK,function(m,g){if(m){h&&h(m);return}a.futimes(g,p,d,function(y){a.close(g,function(_){h&&h(y||_)})})})},a.lutimesSync=function(l,p,d){var h=a.openSync(l,gp.O_SYMLINK),m,g=!0;try{m=a.futimesSync(h,p,d),g=!1}finally{if(g)try{a.closeSync(h)}catch{}else a.closeSync(h)}return m}):a.futimes&&(a.lutimes=function(l,p,d,h){h&&process.nextTick(h)},a.lutimesSync=function(){})}function i(a){return a&&function(l,p,d){return a.call(e,l,p,function(h){H(h)&&(h=null),d&&d.apply(this,arguments)})}}function o(a){return a&&function(l,p){try{return a.call(e,l,p)}catch(d){if(!H(d))throw d}}}function r(a){return a&&function(l,p,d,h){return a.call(e,l,p,d,function(m){H(m)&&(m=null),h&&h.apply(this,arguments)})}}function c(a){return a&&function(l,p,d){try{return a.call(e,l,p,d)}catch(h){if(!H(h))throw h}}}function s(a){return a&&function(l,p,d){typeof p=="function"&&(d=p,p=null);function h(m,g){g&&(g.uid<0&&(g.uid+=4294967296),g.gid<0&&(g.gid+=4294967296)),d&&d.apply(this,arguments)}return p?a.call(e,l,p,h):a.call(e,l,h)}}function u(a){return a&&function(l,p){var d=p?a.call(e,l,p):a.call(e,l);return d&&(d.uid<0&&(d.uid+=4294967296),d.gid<0&&(d.gid+=4294967296)),d}}function H(a){if(!a||a.code==="ENOSYS")return!0;var l=!process.getuid||process.getuid()!==0;return!!(l&&(a.code==="EINVAL"||a.code==="EPERM"))}}});var O7=Le((H_t,B7)=>{var M7=require("stream").Stream;B7.exports=P1e;function P1e(e){return{ReadStream:t,WriteStream:n};function t(i,o){if(!(this instanceof t))return new t(i,o);M7.call(this);var r=this;this.path=i,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,o=o||{};for(var c=Object.keys(o),s=0,u=c.length;s<u;s++){var H=c[s];this[H]=o[H]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){r._read()});return}e.open(this.path,this.flags,this.mode,function(a,l){if(a){r.emit("error",a),r.readable=!1;return}r.fd=l,r.emit("open",l),r._read()})}function n(i,o){if(!(this instanceof n))return new n(i,o);M7.call(this),this.path=i,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,o=o||{};for(var r=Object.keys(o),c=0,s=r.length;c<s;c++){var u=r[c];this[u]=o[u]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=e.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}});var j7=Le((p_t,F7)=>{"use strict";F7.exports=k1e;var w1e=Object.getPrototypeOf||function(e){return e.__proto__};function k1e(e){if(e===null||typeof e!="object")return e;if(e instanceof Object)var t={__proto__:w1e(e)};else var t=Object.create(null);return Object.getOwnPropertyNames(e).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}});var V7=Le((d_t,Ex)=>{var ya=require("fs"),N1e=$7(),R1e=O7(),$1e=j7(),cb=require("util"),bo,Hb;typeof Symbol=="function"&&typeof Symbol.for=="function"?(bo=Symbol.for("graceful-fs.queue"),Hb=Symbol.for("graceful-fs.previous")):(bo="___graceful-fs.queue",Hb="___graceful-fs.previous");function M1e(){}function W7(e,t){Object.defineProperty(e,bo,{get:function(){return t}})}var jd=M1e;cb.debuglog?jd=cb.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(jd=function(){var e=cb.format.apply(cb,arguments);e="GFS4: "+e.split(/\n/).join(`
|
|
GFS4: `),console.error(e)});ya[bo]||(U7=global[bo]||[],W7(ya,U7),ya.close=function(e){function t(n,i){return e.call(ya,n,function(o){o||q7(),typeof i=="function"&&i.apply(this,arguments)})}return Object.defineProperty(t,Hb,{value:e}),t}(ya.close),ya.closeSync=function(e){function t(n){e.apply(ya,arguments),q7()}return Object.defineProperty(t,Hb,{value:e}),t}(ya.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){jd(ya[bo]),require("assert").equal(ya[bo].length,0)}));var U7;global[bo]||W7(global,ya[bo]);Ex.exports=_x($1e(ya));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!ya.__patched&&(Ex.exports=_x(ya),ya.__patched=!0);function _x(e){N1e(e),e.gracefulify=_x,e.createReadStream=S,e.createWriteStream=T;var t=e.readFile;e.readFile=n;function n(x,C,D){return typeof C=="function"&&(D=C,C=null),O(x,C,D);function O(j,k,$,U){return t(j,k,function(F){F&&(F.code==="EMFILE"||F.code==="ENFILE")?Lh([O,[j,k,$],F,U||Date.now(),Date.now()]):typeof $=="function"&&$.apply(this,arguments)})}}var i=e.writeFile;e.writeFile=o;function o(x,C,D,O){return typeof D=="function"&&(O=D,D=null),j(x,C,D,O);function j(k,$,U,F,P){return i(k,$,U,function(W){W&&(W.code==="EMFILE"||W.code==="ENFILE")?Lh([j,[k,$,U,F],W,P||Date.now(),Date.now()]):typeof F=="function"&&F.apply(this,arguments)})}}var r=e.appendFile;r&&(e.appendFile=c);function c(x,C,D,O){return typeof D=="function"&&(O=D,D=null),j(x,C,D,O);function j(k,$,U,F,P){return r(k,$,U,function(W){W&&(W.code==="EMFILE"||W.code==="ENFILE")?Lh([j,[k,$,U,F],W,P||Date.now(),Date.now()]):typeof F=="function"&&F.apply(this,arguments)})}}var s=e.copyFile;s&&(e.copyFile=u);function u(x,C,D,O){return typeof D=="function"&&(O=D,D=0),j(x,C,D,O);function j(k,$,U,F,P){return s(k,$,U,function(W){W&&(W.code==="EMFILE"||W.code==="ENFILE")?Lh([j,[k,$,U,F],W,P||Date.now(),Date.now()]):typeof F=="function"&&F.apply(this,arguments)})}}var H=e.readdir;e.readdir=l;var a=/^v[0-5]\./;function l(x,C,D){typeof C=="function"&&(D=C,C=null);var O=a.test(process.version)?function($,U,F,P){return H($,j($,U,F,P))}:function($,U,F,P){return H($,U,j($,U,F,P))};return O(x,C,D);function j(k,$,U,F){return function(P,W){P&&(P.code==="EMFILE"||P.code==="ENFILE")?Lh([O,[k,$,U],P,F||Date.now(),Date.now()]):(W&&W.sort&&W.sort(),typeof U=="function"&&U.call(this,P,W))}}}if(process.version.substr(0,4)==="v0.8"){var p=R1e(e);y=p.ReadStream,E=p.WriteStream}var d=e.ReadStream;d&&(y.prototype=Object.create(d.prototype),y.prototype.open=_);var h=e.WriteStream;h&&(E.prototype=Object.create(h.prototype),E.prototype.open=A),Object.defineProperty(e,"ReadStream",{get:function(){return y},set:function(x){y=x},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return E},set:function(x){E=x},enumerable:!0,configurable:!0});var m=y;Object.defineProperty(e,"FileReadStream",{get:function(){return m},set:function(x){m=x},enumerable:!0,configurable:!0});var g=E;Object.defineProperty(e,"FileWriteStream",{get:function(){return g},set:function(x){g=x},enumerable:!0,configurable:!0});function y(x,C){return this instanceof y?(d.apply(this,arguments),this):y.apply(Object.create(y.prototype),arguments)}function _(){var x=this;L(x.path,x.flags,x.mode,function(C,D){C?(x.autoClose&&x.destroy(),x.emit("error",C)):(x.fd=D,x.emit("open",D),x.read())})}function E(x,C){return this instanceof E?(h.apply(this,arguments),this):E.apply(Object.create(E.prototype),arguments)}function A(){var x=this;L(x.path,x.flags,x.mode,function(C,D){C?(x.destroy(),x.emit("error",C)):(x.fd=D,x.emit("open",D))})}function S(x,C){return new e.ReadStream(x,C)}function T(x,C){return new e.WriteStream(x,C)}var I=e.open;e.open=L;function L(x,C,D,O){return typeof D=="function"&&(O=D,D=null),j(x,C,D,O);function j(k,$,U,F,P){return I(k,$,U,function(W,Z){W&&(W.code==="EMFILE"||W.code==="ENFILE")?Lh([j,[k,$,U,F],W,P||Date.now(),Date.now()]):typeof F=="function"&&F.apply(this,arguments)})}}return e}function Lh(e){jd("ENQUEUE",e[0].name,e[1]),ya[bo].push(e),mx()}var ub;function q7(){for(var e=Date.now(),t=0;t<ya[bo].length;++t)ya[bo][t].length>2&&(ya[bo][t][3]=e,ya[bo][t][4]=e);mx()}function mx(){if(clearTimeout(ub),ub=void 0,ya[bo].length!==0){var e=ya[bo].shift(),t=e[0],n=e[1],i=e[2],o=e[3],r=e[4];if(o===void 0)jd("RETRY",t.name,n),t.apply(null,n);else if(Date.now()-o>=6e4){jd("TIMEOUT",t.name,n);var c=n.pop();typeof c=="function"&&c.call(null,i)}else{var s=Date.now()-r,u=Math.max(r-o,1),H=Math.min(u*1.2,100);s>=H?(jd("RETRY",t.name,n),t.apply(null,n.concat([o]))):ya[bo].push(e)}ub===void 0&&(ub=setTimeout(mx,0))}}});var z7=Le((h_t,Z7)=>{"use strict";var K7=require("process").nextTick,G7=e=>{let t=e.length-1;for(;t>=0;){let n=e.charCodeAt(t);if(n===47||n===92)break;t--}return t<0?"":e.slice(0,t)},pb=(e,t,n)=>{if(e.length===1){e[0](t,n),e.length=0;return}let i;for(let o of e)try{o(t,n)}catch(r){i||(i=r)}if(e.length=0,i)throw i},yx=class{constructor(t,n,i){this._provider=t,this._syncProvider=n,this._providerContext=i,this._activeAsyncOperations=new Map,this.provide=this._provider?(o,r,c)=>{if(typeof r=="function"&&(c=r,r=void 0),typeof o!="string"&&!Buffer.isBuffer(o)&&!(o instanceof URL)&&typeof o!="number"){c(new TypeError("path must be a string, Buffer, URL or number"));return}if(r)return this._provider.call(this._providerContext,o,r,c);let s=this._activeAsyncOperations.get(o);if(s){s.push(c);return}this._activeAsyncOperations.set(o,s=[c]),t(o,(u,H)=>{this._activeAsyncOperations.delete(o),pb(s,u,H)})}:null,this.provideSync=this._syncProvider?(o,r)=>this._syncProvider.call(this._providerContext,o,r):null}purge(){}purgeParent(){}},Ud=0,vE=1,X7=2,gx=class{constructor(t,n,i,o){this._duration=t,this._provider=n,this._syncProvider=i,this._providerContext=o,this._activeAsyncOperations=new Map,this._data=new Map,this._levels=[];for(let r=0;r<10;r++)this._levels.push(new Set);for(let r=5e3;r<t;r+=500)this._levels.push(new Set);this._currentLevel=0,this._tickInterval=Math.floor(t/this._levels.length),this._mode=Ud,this._timeout=void 0,this._nextDecay=void 0,this.provide=n?this.provide.bind(this):null,this.provideSync=i?this.provideSync.bind(this):null}provide(t,n,i){if(typeof n=="function"&&(i=n,n=void 0),typeof t!="string"&&!Buffer.isBuffer(t)&&!(t instanceof URL)&&typeof t!="number"){i(new TypeError("path must be a string, Buffer, URL or number"));return}let o=typeof t!="string"?t.toString():t;if(n)return this._provider.call(this._providerContext,t,n,i);this._mode===vE&&this._enterAsyncMode();let r=this._data.get(o);if(r!==void 0)return r.err?K7(i,r.err):K7(i,null,r.result);let c=this._activeAsyncOperations.get(o);if(c!==void 0){c.push(i);return}this._activeAsyncOperations.set(o,c=[i]),this._provider.call(this._providerContext,t,(s,u)=>{this._activeAsyncOperations.delete(o),this._storeResult(o,s,u),this._enterAsyncMode(),pb(c,s,u)})}provideSync(t,n){if(typeof t!="string"&&!Buffer.isBuffer(t)&&!(t instanceof URL)&&typeof t!="number")throw new TypeError("path must be a string");let i=typeof t!="string"?t.toString():t;if(n)return this._syncProvider.call(this._providerContext,t,n);this._mode===vE&&this._runDecays();let o=this._data.get(i);if(o!==void 0){if(o.err)throw o.err;return o.result}let r=this._activeAsyncOperations.get(i);this._activeAsyncOperations.delete(i);let c;try{c=this._syncProvider.call(this._providerContext,t)}catch(s){throw this._storeResult(i,s,void 0),this._enterSyncModeWhenIdle(),r&&pb(r,s,void 0),s}return this._storeResult(i,null,c),this._enterSyncModeWhenIdle(),r&&pb(r,null,c),c}purge(t){if(t)if(typeof t=="string"||Buffer.isBuffer(t)||t instanceof URL||typeof t=="number"){let n=typeof t!="string"?t.toString():t;for(let[i,o]of this._data)i.startsWith(n)&&(this._data.delete(i),o.level.delete(i));this._data.size===0&&this._enterIdleMode()}else{for(let[n,i]of this._data)for(let o of t){let r=typeof o!="string"?o.toString():o;if(n.startsWith(r)){this._data.delete(n),i.level.delete(n);break}}this._data.size===0&&this._enterIdleMode()}else if(this._mode!==Ud){this._data.clear();for(let n of this._levels)n.clear();this._enterIdleMode()}}purgeParent(t){if(!t)this.purge();else if(typeof t=="string"||Buffer.isBuffer(t)||t instanceof URL||typeof t=="number"){let n=typeof t!="string"?t.toString():t;this.purge(G7(n))}else{let n=new Set;for(let i of t){let o=typeof i!="string"?i.toString():i;n.add(G7(o))}this.purge(n)}}_storeResult(t,n,i){if(this._data.has(t))return;let o=this._levels[this._currentLevel];this._data.set(t,{err:n,result:i,level:o}),o.add(t)}_decayLevel(){let t=(this._currentLevel+1)%this._levels.length,n=this._levels[t];this._currentLevel=t;for(let i of n)this._data.delete(i);n.clear(),this._data.size===0?this._enterIdleMode():this._nextDecay+=this._tickInterval}_runDecays(){for(;this._nextDecay<=Date.now()&&this._mode!==Ud;)this._decayLevel()}_enterAsyncMode(){let t=0;switch(this._mode){case X7:return;case Ud:this._nextDecay=Date.now()+this._tickInterval,t=this._tickInterval;break;case vE:if(this._runDecays(),this._mode===Ud)return;t=Math.max(0,this._nextDecay-Date.now());break}this._mode=X7;let n=setTimeout(()=>{this._mode=vE,this._runDecays()},t);n.unref&&n.unref(),this._timeout=n}_enterSyncModeWhenIdle(){this._mode===Ud&&(this._mode=vE,this._nextDecay=Date.now()+this._tickInterval)}_enterIdleMode(){this._mode=Ud,this._nextDecay=void 0,this._timeout&&clearTimeout(this._timeout)}},qd=(e,t,n,i)=>e>0?new gx(e,t,n,i):new yx(t,n,i);Z7.exports=class{constructor(t,n){this.fileSystem=t,this._lstatBackend=qd(n,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);let i=this._lstatBackend.provide;this.lstat=i;let o=this._lstatBackend.provideSync;this.lstatSync=o,this._statBackend=qd(n,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);let r=this._statBackend.provide;this.stat=r;let c=this._statBackend.provideSync;this.statSync=c,this._readdirBackend=qd(n,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);let s=this._readdirBackend.provide;this.readdir=s;let u=this._readdirBackend.provideSync;this.readdirSync=u,this._readFileBackend=qd(n,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);let H=this._readFileBackend.provide;this.readFile=H;let a=this._readFileBackend.provideSync;this.readFileSync=a,this._readJsonBackend=qd(n,this.fileSystem.readJson||this.readFile&&((y,_)=>{this.readFile(y,(E,A)=>{if(E)return _(E);if(!A||A.length===0)return _(new Error("No file content"));let S;try{S=JSON.parse(A.toString("utf-8"))}catch(T){return _(T)}_(null,S)})}),this.fileSystem.readJsonSync||this.readFileSync&&(y=>{let _=this.readFileSync(y);return JSON.parse(_.toString("utf-8"))}),this.fileSystem);let l=this._readJsonBackend.provide;this.readJson=l;let p=this._readJsonBackend.provideSync;this.readJsonSync=p,this._readlinkBackend=qd(n,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);let d=this._readlinkBackend.provide;this.readlink=d;let h=this._readlinkBackend.provideSync;this.readlinkSync=h,this._realpathBackend=qd(n,this.fileSystem.realpath,this.fileSystem.realpathSync,this.fileSystem);let m=this._realpathBackend.provide;this.realpath=m;let g=this._realpathBackend.provideSync;this.realpathSync=g}purge(t){this._statBackend.purge(t),this._lstatBackend.purge(t),this._readdirBackend.purgeParent(t),this._readFileBackend.purge(t),this._readlinkBackend.purge(t),this._readJsonBackend.purge(t),this._realpathBackend.purge(t)}}});var tc=Le((__t,ej)=>{"use strict";var B1e=require("util"),O1e=B1e.deprecate(()=>{},"Hook.context is deprecated and will be removed"),J7=function(...e){return this.call=this._createCall("sync"),this.call(...e)},Q7=function(...e){return this.callAsync=this._createCall("async"),this.callAsync(...e)},Y7=function(...e){return this.promise=this._createCall("promise"),this.promise(...e)},db=class{constructor(t=[],n=void 0){this._args=t,this.name=n,this.taps=[],this.interceptors=[],this._call=J7,this.call=J7,this._callAsync=Q7,this.callAsync=Q7,this._promise=Y7,this.promise=Y7,this._x=void 0,this.compile=this.compile,this.tap=this.tap,this.tapAsync=this.tapAsync,this.tapPromise=this.tapPromise}compile(t){throw new Error("Abstract: should be overridden")}_createCall(t){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:t})}_tap(t,n,i){if(typeof n=="string")n={name:n.trim()};else if(typeof n!="object"||n===null)throw new Error("Invalid tap options");if(typeof n.name!="string"||n.name==="")throw new Error("Missing name for tap");typeof n.context<"u"&&O1e(),n=Object.assign({type:t,fn:i},n),n=this._runRegisterInterceptors(n),this._insert(n)}tap(t,n){this._tap("sync",t,n)}tapAsync(t,n){this._tap("async",t,n)}tapPromise(t,n){this._tap("promise",t,n)}_runRegisterInterceptors(t){for(let n of this.interceptors)if(n.register){let i=n.register(t);i!==void 0&&(t=i)}return t}withOptions(t){let n=i=>Object.assign({},t,typeof i=="string"?{name:i}:i);return{name:this.name,tap:(i,o)=>this.tap(n(i),o),tapAsync:(i,o)=>this.tapAsync(n(i),o),tapPromise:(i,o)=>this.tapPromise(n(i),o),intercept:i=>this.intercept(i),isUsed:()=>this.isUsed(),withOptions:i=>this.withOptions(n(i))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(t){if(this._resetCompilation(),this.interceptors.push(Object.assign({},t)),t.register)for(let n=0;n<this.taps.length;n++)this.taps[n]=t.register(this.taps[n])}_resetCompilation(){this.call=this._call,this.callAsync=this._callAsync,this.promise=this._promise}_insert(t){this._resetCompilation();let n;typeof t.before=="string"?n=new Set([t.before]):Array.isArray(t.before)&&(n=new Set(t.before));let i=0;typeof t.stage=="number"&&(i=t.stage);let o=this.taps.length;for(;o>0;){o--;let r=this.taps[o];this.taps[o+1]=r;let c=r.stage||0;if(n){if(n.has(r.name)){n.delete(r.name);continue}if(n.size>0)continue}if(!(c>i)){o++;break}}this.taps[o]=t}};Object.setPrototypeOf(db.prototype,null);ej.exports=db});var Bc=Le((m_t,tj)=>{"use strict";var bx=class{constructor(t){this.config=t,this.options=void 0,this._args=void 0}create(t){this.init(t);let n;switch(this.options.type){case"sync":n=new Function(this.args(),`"use strict";
|
|
`+this.header()+this.contentWithInterceptors({onError:c=>`throw ${c};
|
|
`,onResult:c=>`return ${c};
|
|
`,resultReturns:!0,onDone:()=>"",rethrowIfPossible:!0}));break;case"async":n=new Function(this.args({after:"_callback"}),`"use strict";
|
|
`+this.header()+this.contentWithInterceptors({onError:c=>`_callback(${c});
|
|
`,onResult:c=>`_callback(null, ${c});
|
|
`,onDone:()=>`_callback();
|
|
`}));break;case"promise":let i=!1,o=this.contentWithInterceptors({onError:c=>(i=!0,`_error(${c});
|
|
`),onResult:c=>`_resolve(${c});
|
|
`,onDone:()=>`_resolve();
|
|
`}),r="";r+=`"use strict";
|
|
`,r+=this.header(),r+=`return new Promise((function(_resolve, _reject) {
|
|
`,i&&(r+=`var _sync = true;
|
|
`,r+=`function _error(_err) {
|
|
`,r+=`if(_sync)
|
|
`,r+=`_resolve(Promise.resolve().then((function() { throw _err; })));
|
|
`,r+=`else
|
|
`,r+=`_reject(_err);
|
|
`,r+=`};
|
|
`),r+=o,i&&(r+=`_sync = false;
|
|
`),r+=`}));
|
|
`,n=new Function(this.args(),r);break}return this.deinit(),n}setup(t,n){t._x=n.taps.map(i=>i.fn)}init(t){this.options=t,this._args=t.args.slice()}deinit(){this.options=void 0,this._args=void 0}contentWithInterceptors(t){if(this.options.interceptors.length>0){let n=t.onError,i=t.onResult,o=t.onDone,r="";for(let c=0;c<this.options.interceptors.length;c++){let s=this.options.interceptors[c];s.call&&(r+=`${this.getInterceptor(c)}.call(${this.args({before:s.context?"_context":void 0})});
|
|
`)}return r+=this.content(Object.assign(t,{onError:n&&(c=>{let s="";for(let u=0;u<this.options.interceptors.length;u++)this.options.interceptors[u].error&&(s+=`${this.getInterceptor(u)}.error(${c});
|
|
`);return s+=n(c),s}),onResult:i&&(c=>{let s="";for(let u=0;u<this.options.interceptors.length;u++)this.options.interceptors[u].result&&(s+=`${this.getInterceptor(u)}.result(${c});
|
|
`);return s+=i(c),s}),onDone:o&&(()=>{let c="";for(let s=0;s<this.options.interceptors.length;s++)this.options.interceptors[s].done&&(c+=`${this.getInterceptor(s)}.done();
|
|
`);return c+=o(),c})})),r}else return this.content(t)}header(){let t="";return this.needContext()?t+=`var _context = {};
|
|
`:t+=`var _context;
|
|
`,t+=`var _x = this._x;
|
|
`,this.options.interceptors.length>0&&(t+=`var _taps = this.taps;
|
|
`,t+=`var _interceptors = this.interceptors;
|
|
`),t}needContext(){for(let t of this.options.taps)if(t.context)return!0;return!1}callTap(t,{onError:n,onResult:i,onDone:o,rethrowIfPossible:r}){let c="",s=!1;for(let H=0;H<this.options.interceptors.length;H++){let a=this.options.interceptors[H];a.tap&&(s||(c+=`var _tap${t} = ${this.getTap(t)};
|
|
`,s=!0),c+=`${this.getInterceptor(H)}.tap(${a.context?"_context, ":""}_tap${t});
|
|
`)}c+=`var _fn${t} = ${this.getTapFn(t)};
|
|
`;let u=this.options.taps[t];switch(u.type){case"sync":r||(c+=`var _hasError${t} = false;
|
|
`,c+=`try {
|
|
`),i?c+=`var _result${t} = _fn${t}(${this.args({before:u.context?"_context":void 0})});
|
|
`:c+=`_fn${t}(${this.args({before:u.context?"_context":void 0})});
|
|
`,r||(c+=`} catch(_err) {
|
|
`,c+=`_hasError${t} = true;
|
|
`,c+=n("_err"),c+=`}
|
|
`,c+=`if(!_hasError${t}) {
|
|
`),i&&(c+=i(`_result${t}`)),o&&(c+=o()),r||(c+=`}
|
|
`);break;case"async":let H="";i?H+=`(function(_err${t}, _result${t}) {
|
|
`:H+=`(function(_err${t}) {
|
|
`,H+=`if(_err${t}) {
|
|
`,H+=n(`_err${t}`),H+=`} else {
|
|
`,i&&(H+=i(`_result${t}`)),o&&(H+=o()),H+=`}
|
|
`,H+="})",c+=`_fn${t}(${this.args({before:u.context?"_context":void 0,after:H})});
|
|
`;break;case"promise":c+=`var _hasResult${t} = false;
|
|
`,c+=`var _promise${t} = _fn${t}(${this.args({before:u.context?"_context":void 0})});
|
|
`,c+=`if (!_promise${t} || !_promise${t}.then)
|
|
`,c+=` throw new Error('Tap function (tapPromise) did not return promise (returned ' + _promise${t} + ')');
|
|
`,c+=`_promise${t}.then((function(_result${t}) {
|
|
`,c+=`_hasResult${t} = true;
|
|
`,i&&(c+=i(`_result${t}`)),o&&(c+=o()),c+=`}), function(_err${t}) {
|
|
`,c+=`if(_hasResult${t}) throw _err${t};
|
|
`,c+=n(`_err${t}`),c+=`});
|
|
`;break}return c}callTapsSeries({onError:t,onResult:n,resultReturns:i,onDone:o,doneReturns:r,rethrowIfPossible:c}){if(this.options.taps.length===0)return o();let s=this.options.taps.findIndex(p=>p.type!=="sync"),u=i||r,H="",a=o,l=0;for(let p=this.options.taps.length-1;p>=0;p--){let d=p;a!==o&&(this.options.taps[d].type!=="sync"||l++>20)&&(l=0,H+=`function _next${d}() {
|
|
`,H+=a(),H+=`}
|
|
`,a=()=>`${u?"return ":""}_next${d}();
|
|
`);let m=a,g=_=>_?"":o(),y=this.callTap(d,{onError:_=>t(d,_,m,g),onResult:n&&(_=>n(d,_,m,g)),onDone:!n&&m,rethrowIfPossible:c&&(s<0||d<s)});a=()=>y}return H+=a(),H}callTapsLooping({onError:t,onDone:n,rethrowIfPossible:i}){if(this.options.taps.length===0)return n();let o=this.options.taps.every(c=>c.type==="sync"),r="";o||(r+=`var _looper = (function() {
|
|
`,r+=`var _loopAsync = false;
|
|
`),r+=`var _loop;
|
|
`,r+=`do {
|
|
`,r+=`_loop = false;
|
|
`;for(let c=0;c<this.options.interceptors.length;c++){let s=this.options.interceptors[c];s.loop&&(r+=`${this.getInterceptor(c)}.loop(${this.args({before:s.context?"_context":void 0})});
|
|
`)}return r+=this.callTapsSeries({onError:t,onResult:(c,s,u,H)=>{let a="";return a+=`if(${s} !== undefined) {
|
|
`,a+=`_loop = true;
|
|
`,o||(a+=`if(_loopAsync) _looper();
|
|
`),a+=H(!0),a+=`} else {
|
|
`,a+=u(),a+=`}
|
|
`,a},onDone:n&&(()=>{let c="";return c+=`if(!_loop) {
|
|
`,c+=n(),c+=`}
|
|
`,c}),rethrowIfPossible:i&&o}),r+=`} while(_loop);
|
|
`,o||(r+=`_loopAsync = true;
|
|
`,r+=`});
|
|
`,r+=`_looper();
|
|
`),r}callTapsParallel({onError:t,onResult:n,onDone:i,rethrowIfPossible:o,onTap:r=(c,s)=>s()}){if(this.options.taps.length<=1)return this.callTapsSeries({onError:t,onResult:n,onDone:i,rethrowIfPossible:o});let c="";c+=`do {
|
|
`,c+=`var _counter = ${this.options.taps.length};
|
|
`,i&&(c+=`var _done = (function() {
|
|
`,c+=i(),c+=`});
|
|
`);for(let s=0;s<this.options.taps.length;s++){let u=()=>i?`if(--_counter === 0) _done();
|
|
`:"--_counter;",H=a=>a||!i?`_counter = 0;
|
|
`:`_counter = 0;
|
|
_done();
|
|
`;c+=`if(_counter <= 0) break;
|
|
`,c+=r(s,()=>this.callTap(s,{onError:a=>{let l="";return l+=`if(_counter > 0) {
|
|
`,l+=t(s,a,u,H),l+=`}
|
|
`,l},onResult:n&&(a=>{let l="";return l+=`if(_counter > 0) {
|
|
`,l+=n(s,a,u,H),l+=`}
|
|
`,l}),onDone:!n&&(()=>u()),rethrowIfPossible:o}),u,H)}return c+=`} while(false);
|
|
`,c}args({before:t,after:n}={}){let i=this._args;return t&&(i=[t].concat(i)),n&&(i=i.concat(n)),i.length===0?"":i.join(", ")}getTapFn(t){return`_x[${t}]`}getTap(t){return`_taps[${t}]`}getInterceptor(t){return`_interceptors[${t}]`}};tj.exports=bx});var ij=Le((E_t,nj)=>{"use strict";var F1e=tc(),j1e=Bc(),Ax=class extends j1e{content({onError:t,onDone:n,rethrowIfPossible:i}){return this.callTapsSeries({onError:(o,r)=>t(r),onDone:n,rethrowIfPossible:i})}},rj=new Ax,U1e=()=>{throw new Error("tapAsync is not supported on a SyncHook")},q1e=()=>{throw new Error("tapPromise is not supported on a SyncHook")},W1e=function(e){return rj.setup(this,e),rj.create(e)};function Ix(e=[],t=void 0){let n=new F1e(e,t);return n.constructor=Ix,n.tapAsync=U1e,n.tapPromise=q1e,n.compile=W1e,n}Ix.prototype=null;nj.exports=Ix});var oj=Le((y_t,aj)=>{"use strict";var V1e=tc(),K1e=Bc(),Sx=class extends K1e{content({onError:t,onResult:n,resultReturns:i,onDone:o,rethrowIfPossible:r}){return this.callTapsSeries({onError:(c,s)=>t(s),onResult:(c,s,u)=>`if(${s} !== undefined) {
|
|
${n(s)};
|
|
} else {
|
|
${u()}}
|
|
`,resultReturns:i,onDone:o,rethrowIfPossible:r})}},sj=new Sx,G1e=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")},X1e=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")},Z1e=function(e){return sj.setup(this,e),sj.create(e)};function Lx(e=[],t=void 0){let n=new V1e(e,t);return n.constructor=Lx,n.tapAsync=G1e,n.tapPromise=X1e,n.compile=Z1e,n}Lx.prototype=null;aj.exports=Lx});var uj=Le((g_t,cj)=>{"use strict";var z1e=tc(),J1e=Bc(),Tx=class extends J1e{content({onError:t,onResult:n,resultReturns:i,rethrowIfPossible:o}){return this.callTapsSeries({onError:(r,c)=>t(c),onResult:(r,c,s)=>{let u="";return u+=`if(${c} !== undefined) {
|
|
`,u+=`${this._args[0]} = ${c};
|
|
`,u+=`}
|
|
`,u+=s(),u},onDone:()=>n(this._args[0]),doneReturns:i,rethrowIfPossible:o})}},lj=new Tx,Q1e=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")},Y1e=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")},e0e=function(e){return lj.setup(this,e),lj.create(e)};function vx(e=[],t=void 0){if(e.length<1)throw new Error("Waterfall hooks must have at least one argument");let n=new z1e(e,t);return n.constructor=vx,n.tapAsync=Q1e,n.tapPromise=Y1e,n.compile=e0e,n}vx.prototype=null;cj.exports=vx});var dj=Le((b_t,pj)=>{"use strict";var t0e=tc(),r0e=Bc(),Cx=class extends r0e{content({onError:t,onDone:n,rethrowIfPossible:i}){return this.callTapsLooping({onError:(o,r)=>t(r),onDone:n,rethrowIfPossible:i})}},Hj=new Cx,n0e=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")},i0e=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")},s0e=function(e){return Hj.setup(this,e),Hj.create(e)};function xx(e=[],t=void 0){let n=new t0e(e,t);return n.constructor=xx,n.tapAsync=n0e,n.tapPromise=i0e,n.compile=s0e,n}xx.prototype=null;pj.exports=xx});var _j=Le((A_t,hj)=>{"use strict";var a0e=tc(),o0e=Bc(),Dx=class extends o0e{content({onError:t,onDone:n}){return this.callTapsParallel({onError:(i,o,r,c)=>t(o)+c(!0),onDone:n})}},fj=new Dx,l0e=function(e){return fj.setup(this,e),fj.create(e)};function Px(e=[],t=void 0){let n=new a0e(e,t);return n.constructor=Px,n.compile=l0e,n._call=void 0,n.call=void 0,n}Px.prototype=null;hj.exports=Px});var yj=Le((I_t,Ej)=>{"use strict";var c0e=tc(),u0e=Bc(),wx=class extends u0e{content({onError:t,onResult:n,onDone:i}){let o="";return o+=`var _results = new Array(${this.options.taps.length});
|
|
`,o+=`var _checkDone = function() {
|
|
`,o+=`for(var i = 0; i < _results.length; i++) {
|
|
`,o+=`var item = _results[i];
|
|
`,o+=`if(item === undefined) return false;
|
|
`,o+=`if(item.result !== undefined) {
|
|
`,o+=n("item.result"),o+=`return true;
|
|
`,o+=`}
|
|
`,o+=`if(item.error) {
|
|
`,o+=t("item.error"),o+=`return true;
|
|
`,o+=`}
|
|
`,o+=`}
|
|
`,o+=`return false;
|
|
`,o+=`}
|
|
`,o+=this.callTapsParallel({onError:(r,c,s,u)=>{let H="";return H+=`if(${r} < _results.length && ((_results.length = ${r+1}), (_results[${r}] = { error: ${c} }), _checkDone())) {
|
|
`,H+=u(!0),H+=`} else {
|
|
`,H+=s(),H+=`}
|
|
`,H},onResult:(r,c,s,u)=>{let H="";return H+=`if(${r} < _results.length && (${c} !== undefined && (_results.length = ${r+1}), (_results[${r}] = { result: ${c} }), _checkDone())) {
|
|
`,H+=u(!0),H+=`} else {
|
|
`,H+=s(),H+=`}
|
|
`,H},onTap:(r,c,s,u)=>{let H="";return r>0&&(H+=`if(${r} >= _results.length) {
|
|
`,H+=s(),H+=`} else {
|
|
`),H+=c(),r>0&&(H+=`}
|
|
`),H},onDone:i}),o}},mj=new wx,H0e=function(e){return mj.setup(this,e),mj.create(e)};function kx(e=[],t=void 0){let n=new c0e(e,t);return n.constructor=kx,n.compile=H0e,n._call=void 0,n.call=void 0,n}kx.prototype=null;Ej.exports=kx});var Aj=Le((S_t,bj)=>{"use strict";var p0e=tc(),d0e=Bc(),Nx=class extends d0e{content({onError:t,onDone:n}){return this.callTapsSeries({onError:(i,o,r,c)=>t(o)+c(!0),onDone:n})}},gj=new Nx,f0e=function(e){return gj.setup(this,e),gj.create(e)};function Rx(e=[],t=void 0){let n=new p0e(e,t);return n.constructor=Rx,n.compile=f0e,n._call=void 0,n.call=void 0,n}Rx.prototype=null;bj.exports=Rx});var Lj=Le((L_t,Sj)=>{"use strict";var h0e=tc(),_0e=Bc(),$x=class extends _0e{content({onError:t,onResult:n,resultReturns:i,onDone:o}){return this.callTapsSeries({onError:(r,c,s,u)=>t(c)+u(!0),onResult:(r,c,s)=>`if(${c} !== undefined) {
|
|
${n(c)}
|
|
} else {
|
|
${s()}}
|
|
`,resultReturns:i,onDone:o})}},Ij=new $x,m0e=function(e){return Ij.setup(this,e),Ij.create(e)};function Mx(e=[],t=void 0){let n=new h0e(e,t);return n.constructor=Mx,n.compile=m0e,n._call=void 0,n.call=void 0,n}Mx.prototype=null;Sj.exports=Mx});var Cj=Le((T_t,vj)=>{"use strict";var E0e=tc(),y0e=Bc(),Bx=class extends y0e{content({onError:t,onDone:n}){return this.callTapsLooping({onError:(i,o,r,c)=>t(o)+c(!0),onDone:n})}},Tj=new Bx,g0e=function(e){return Tj.setup(this,e),Tj.create(e)};function Ox(e=[],t=void 0){let n=new E0e(e,t);return n.constructor=Ox,n.compile=g0e,n._call=void 0,n.call=void 0,n}Ox.prototype=null;vj.exports=Ox});var Pj=Le((v_t,Dj)=>{"use strict";var b0e=tc(),A0e=Bc(),Fx=class extends A0e{content({onError:t,onResult:n,onDone:i}){return this.callTapsSeries({onError:(o,r,c,s)=>t(r)+s(!0),onResult:(o,r,c)=>{let s="";return s+=`if(${r} !== undefined) {
|
|
`,s+=`${this._args[0]} = ${r};
|
|
`,s+=`}
|
|
`,s+=c(),s},onDone:()=>n(this._args[0])})}},xj=new Fx,I0e=function(e){return xj.setup(this,e),xj.create(e)};function jx(e=[],t=void 0){if(e.length<1)throw new Error("Waterfall hooks must have at least one argument");let n=new b0e(e,t);return n.constructor=jx,n.compile=I0e,n._call=void 0,n.call=void 0,n}jx.prototype=null;Dj.exports=jx});var kj=Le((C_t,wj)=>{"use strict";var Ux=require("util"),S0e=(e,t)=>t,Th=class{constructor(t,n=void 0){this._map=new Map,this.name=n,this._factory=t,this._interceptors=[]}get(t){return this._map.get(t)}for(t){let n=this.get(t);if(n!==void 0)return n;let i=this._factory(t),o=this._interceptors;for(let r=0;r<o.length;r++)i=o[r].factory(t,i);return this._map.set(t,i),i}intercept(t){this._interceptors.push(Object.assign({factory:S0e},t))}};Th.prototype.tap=Ux.deprecate(function(e,t,n){return this.for(e).tap(t,n)},"HookMap#tap(key,\u2026) is deprecated. Use HookMap#for(key).tap(\u2026) instead.");Th.prototype.tapAsync=Ux.deprecate(function(e,t,n){return this.for(e).tapAsync(t,n)},"HookMap#tapAsync(key,\u2026) is deprecated. Use HookMap#for(key).tapAsync(\u2026) instead.");Th.prototype.tapPromise=Ux.deprecate(function(e,t,n){return this.for(e).tapPromise(t,n)},"HookMap#tapPromise(key,\u2026) is deprecated. Use HookMap#for(key).tapPromise(\u2026) instead.");wj.exports=Th});var Rj=Le((D_t,Nj)=>{"use strict";var x_t=tc(),qx=class e{constructor(t,n=void 0){this.hooks=t,this.name=n}tap(t,n){for(let i of this.hooks)i.tap(t,n)}tapAsync(t,n){for(let i of this.hooks)i.tapAsync(t,n)}tapPromise(t,n){for(let i of this.hooks)i.tapPromise(t,n)}isUsed(){for(let t of this.hooks)if(t.isUsed())return!0;return!1}intercept(t){for(let n of this.hooks)n.intercept(t)}withOptions(t){return new e(this.hooks.map(n=>n.withOptions(t)),this.name)}};Nj.exports=qx});var $j=Le(cl=>{"use strict";cl.__esModule=!0;cl.SyncHook=ij();cl.SyncBailHook=oj();cl.SyncWaterfallHook=uj();cl.SyncLoopHook=dj();cl.AsyncParallelHook=_j();cl.AsyncParallelBailHook=yj();cl.AsyncSeriesHook=Aj();cl.AsyncSeriesBailHook=Lj();cl.AsyncSeriesLoopHook=Cj();cl.AsyncSeriesWaterfallHook=Pj();cl.HookMap=kj();cl.MultiHook=Rj()});var Bj=Le((w_t,Mj)=>{"use strict";Mj.exports=function(t,n){let i=!1,o;return t.log&&(n?o=r=>{i||(t.log(n),i=!0),t.log(" "+r)}:o=t.log),{log:o,yield:t.yield,fileDependencies:t.fileDependencies,contextDependencies:t.contextDependencies,missingDependencies:t.missingDependencies,stack:t.stack}}});var CE=Le((k_t,Oj)=>{"use strict";var L0e=/^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function T0e(e){let t=L0e.exec(e);return t?[t[1].replace(/\0(.)/g,"$1"),t[2]?t[2].replace(/\0(.)/g,"$1"):"",t[3]||""]:null}Oj.exports.parseIdentifier=T0e});var Vd=Le(bp=>{"use strict";var Kj=require("path"),Wx=35,Wd=47,v0e=92,Fj=65,jj=90,Uj=97,qj=122,xE=46,Wj=58,vh=Kj.posix.normalize,Vx=Kj.win32.normalize,$i=Object.freeze({Empty:0,Normal:1,Relative:2,AbsoluteWin:3,AbsolutePosix:4,Internal:5});bp.PathType=$i;var C0e=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i;bp.invalidSegmentRegEx=C0e;var x0e=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i;bp.deprecatedInvalidSegmentRegEx=x0e;var Ch=e=>{switch(e.length){case 0:return $i.Empty;case 1:{switch(e.charCodeAt(0)){case xE:return $i.Relative;case Wd:return $i.AbsolutePosix;case Wx:return $i.Internal}return $i.Normal}case 2:{let i=e.charCodeAt(0);switch(i){case xE:{switch(e.charCodeAt(1)){case xE:case Wd:return $i.Relative}return $i.Normal}case Wd:return $i.AbsolutePosix;case Wx:return $i.Internal}return e.charCodeAt(1)===Wj&&(i>=Fj&&i<=jj||i>=Uj&&i<=qj)?$i.AbsoluteWin:$i.Normal}}let t=e.charCodeAt(0);switch(t){case xE:{switch(e.charCodeAt(1)){case Wd:return $i.Relative;case xE:return e.charCodeAt(2)===Wd?$i.Relative:$i.Normal}return $i.Normal}case Wd:return $i.AbsolutePosix;case Wx:return $i.Internal}if(e.charCodeAt(1)===Wj){let i=e.charCodeAt(2);if((i===v0e||i===Wd)&&(t>=Fj&&t<=jj||t>=Uj&&t<=qj))return $i.AbsoluteWin}return $i.Normal};bp.getType=Ch;var Gj=e=>{switch(Ch(e)){case $i.Empty:return e;case $i.AbsoluteWin:return Vx(e);case $i.Relative:{let t=vh(e);return Ch(t)===$i.Relative?t:`./${t}`}}return vh(e)};bp.normalize=Gj;var Xj=(e,t)=>{if(!t)return Gj(e);let n=Ch(t);switch(n){case $i.AbsolutePosix:return vh(t);case $i.AbsoluteWin:return Vx(t)}switch(Ch(e)){case $i.Normal:case $i.Relative:case $i.AbsolutePosix:return vh(`${e}/${t}`);case $i.AbsoluteWin:return Vx(`${e}\\${t}`)}switch(n){case $i.Empty:return e;case $i.Relative:{let i=vh(e);return Ch(i)===$i.Relative?i:`./${i}`}}return vh(e)};bp.join=Xj;var Vj=new Map,D0e=(e,t)=>{let n,i=Vj.get(e);if(i===void 0)Vj.set(e,i=new Map);else if(n=i.get(t),n!==void 0)return n;return n=Xj(e,t),i.set(t,n),n};bp.cachedJoin=D0e});var tU=Le((R_t,eU)=>{"use strict";var{AsyncSeriesBailHook:Zj,AsyncSeriesHook:P0e,SyncHook:zj}=$j(),w0e=Bj(),{parseIdentifier:k0e}=CE(),{normalize:N0e,cachedJoin:R0e,getType:Jj,PathType:Qj}=Vd();function Yj(e){return e.replace(/-([a-z])/g,t=>t.slice(1).toUpperCase())}var Kx=class e{static createStackEntry(t,n){return t.name+": ("+n.path+") "+(n.request||"")+(n.query||"")+(n.fragment||"")+(n.directory?" directory":"")+(n.module?" module":"")}constructor(t,n){this.fileSystem=t,this.options=n,this.hooks={resolveStep:new zj(["hook","request"],"resolveStep"),noResolve:new zj(["request","error"],"noResolve"),resolve:new Zj(["request","resolveContext"],"resolve"),result:new P0e(["result","resolveContext"],"result")}}ensureHook(t){if(typeof t!="string")return t;if(t=Yj(t),/^before/.test(t))return this.ensureHook(t[6].toLowerCase()+t.slice(7)).withOptions({stage:-10});if(/^after/.test(t))return this.ensureHook(t[5].toLowerCase()+t.slice(6)).withOptions({stage:10});let n=this.hooks[t];return n||(this.hooks[t]=new Zj(["request","resolveContext"],t),this.hooks[t])}getHook(t){if(typeof t!="string")return t;if(t=Yj(t),/^before/.test(t))return this.getHook(t[6].toLowerCase()+t.slice(7)).withOptions({stage:-10});if(/^after/.test(t))return this.getHook(t[5].toLowerCase()+t.slice(6)).withOptions({stage:10});let n=this.hooks[t];if(!n)throw new Error(`Hook ${t} doesn't exist`);return n}resolveSync(t,n,i){let o,r,c=!1;if(this.resolve(t,n,i,{},(s,u)=>{o=s,r=u,c=!0}),!c)throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!");if(o)throw o;if(r===void 0)throw new Error("No result");return r}resolve(t,n,i,o,r){if(!t||typeof t!="object")return r(new Error("context argument is not an object"));if(typeof n!="string")return r(new Error("path argument is not a string"));if(typeof i!="string")return r(new Error("request argument is not a string"));if(!o)return r(new Error("resolveContext argument is not set"));let c={context:t,path:n,request:i},s,u=!1,H;if(typeof o.yield=="function"){let d=o.yield;s=h=>{d(h),u=!0},H=h=>{h&&s(h),r(null)}}let a=`resolve '${i}' in '${n}'`,l=d=>r(null,d.path===!1?!1:`${d.path.replace(/#/g,"\0#")}${d.query?d.query.replace(/#/g,"\0#"):""}${d.fragment||""}`,d),p=d=>{let h=new Error("Can't "+a);return h.details=d.join(`
|
|
`),this.hooks.noResolve.call(c,h),r(h)};if(o.log){let d=o.log,h=[];return this.doResolve(this.hooks.resolve,c,a,{log:m=>{d(m),h.push(m)},yield:s,fileDependencies:o.fileDependencies,contextDependencies:o.contextDependencies,missingDependencies:o.missingDependencies,stack:o.stack},(m,g)=>m?r(m):u||g&&s?H(g):g?l(g):p(h))}else return this.doResolve(this.hooks.resolve,c,a,{log:void 0,yield:s,fileDependencies:o.fileDependencies,contextDependencies:o.contextDependencies,missingDependencies:o.missingDependencies,stack:o.stack},(d,h)=>{if(d)return r(d);if(u||h&&s)return H(h);if(h)return l(h);let m=[];return this.doResolve(this.hooks.resolve,c,a,{log:g=>m.push(g),yield:s,stack:o.stack},(g,y)=>g?r(g):u||y&&s?H(y):p(m))})}doResolve(t,n,i,o,r){let c=e.createStackEntry(t,n),s;if(o.stack){if(s=new Set(o.stack),o.stack.has(c)){let u=new Error(`Recursion in resolving
|
|
Stack:
|
|
`+Array.from(s).join(`
|
|
`));return u.recursion=!0,o.log&&o.log("abort resolving because of recursion"),r(u)}s.add(c)}else s=new Set,s.add(c);if(this.hooks.resolveStep.call(t,n),t.isUsed()){let u=w0e({log:o.log,yield:o.yield,fileDependencies:o.fileDependencies,contextDependencies:o.contextDependencies,missingDependencies:o.missingDependencies,stack:s},i);return t.callAsync(n,u,(H,a)=>{if(H)return r(H);if(a)return r(null,a);r()})}else r()}parse(t){let n={request:"",query:"",fragment:"",module:!1,directory:!1,file:!1,internal:!1},i=k0e(t);return i&&([n.request,n.query,n.fragment]=i,n.request.length>0&&(n.internal=this.isPrivate(t),n.module=this.isModule(n.request),n.directory=this.isDirectory(n.request),n.directory&&(n.request=n.request.slice(0,-1)))),n}isModule(t){return Jj(t)===Qj.Normal}isPrivate(t){return Jj(t)===Qj.Internal}isDirectory(t){return t.endsWith("/")}join(t,n){return R0e(t,n)}normalize(t){return N0e(t)}};eU.exports=Kx});var nU=Le(($_t,rU)=>{"use strict";function $0e(e){this.fs=e,this.lstat=void 0,this.lstatSync=void 0;let t=e.lstatSync;t&&(this.lstat=(o,r,c)=>{let s;try{s=c?t.call(e,o,r):t.call(e,o)}catch(u){return(c||r)(u)}(c||r)(null,s)},this.lstatSync=(o,r)=>t.call(e,o,r)),this.stat=(o,r,c)=>{let s;try{s=c?e.statSync(o,r):e.statSync(o)}catch(u){return(c||r)(u)}(c||r)(null,s)},this.statSync=(o,r)=>e.statSync(o,r),this.readdir=(o,r,c)=>{let s;try{s=c?e.readdirSync(o,r):e.readdirSync(o)}catch(u){return(c||r)(u)}(c||r)(null,s)},this.readdirSync=(o,r)=>e.readdirSync(o,r),this.readFile=(o,r,c)=>{let s;try{s=c?e.readFileSync(o,r):e.readFileSync(o)}catch(u){return(c||r)(u)}(c||r)(null,s)},this.readFileSync=(o,r)=>e.readFileSync(o,r),this.readlink=(o,r,c)=>{let s;try{s=c?e.readlinkSync(o,r):e.readlinkSync(o)}catch(u){return(c||r)(u)}(c||r)(null,s)},this.readlinkSync=(o,r)=>e.readlinkSync(o,r),this.readJson=void 0,this.readJsonSync=void 0;let n=e.readJsonSync;n&&(this.readJson=(o,r)=>{let c;try{c=n.call(e,o)}catch(s){return r(s)}r(null,c)},this.readJsonSync=o=>n.call(e,o)),this.realpath=void 0,this.realpathSync=void 0;let i=e.realpathSync;i&&(this.realpath=(o,r,c)=>{let s;try{s=c?i.call(e,o,r):i.call(e,o)}catch(u){return(c||r)(u)}(c||r)(null,s)},this.realpathSync=(o,r)=>i.call(e,o,r))}rU.exports=$0e});var Lu=Le((M_t,iU)=>{"use strict";iU.exports=function(t,n,i){if(t.length===0)return i();let o=0,r=()=>{let c;return n(t[o++],(s,u)=>{if(s||u!==void 0||o>=t.length)return i(s,u,o);if(c===!1)for(;r(););c=!0},o),c||(c=!1),c};for(;r(););}});var Kd=Le(fb=>{"use strict";var M0e=Lu();function B0e(e,t,n,i,o,r){(function c(){if(i&&i.directory===t)return r(null,i);M0e(n,(s,u)=>{let H=e.join(t,s);e.fileSystem.readJson?e.fileSystem.readJson(H,(l,p)=>{if(l)return typeof l.code<"u"?(o.missingDependencies&&o.missingDependencies.add(H),u()):(o.fileDependencies&&o.fileDependencies.add(H),a(l));o.fileDependencies&&o.fileDependencies.add(H),a(null,p)}):e.fileSystem.readFile(H,(l,p)=>{if(l)return o.missingDependencies&&o.missingDependencies.add(H),u();o.fileDependencies&&o.fileDependencies.add(H);let d;if(p)try{d=JSON.parse(p.toString())}catch(h){return a(h)}else return a(new Error("No content in file"));a(null,d)});function a(l,p){if(l)return o.log?o.log(H+" (directory description file): "+l):l.message=H+" (directory description file): "+l,u(l);u(null,{content:p,directory:t,path:H})}},(s,u)=>{if(s)return r(s);if(u)return r(null,u);{let H=sU(t);return H?(t=H,c()):r()}})})()}function O0e(e,t){if(e)if(Array.isArray(t)){let n=e;for(let i=0;i<t.length;i++){if(n===null||typeof n!="object"){n=null;break}n=n[t[i]]}return n}else return e[t]}function sU(e){if(e==="/")return null;let t=e.lastIndexOf("/"),n=e.lastIndexOf("\\"),i=t<0?n:n<0?t:t<n?n:t;return i<0?null:e.slice(0,i||1)}fb.loadDescriptionFile=B0e;fb.getField=O0e;fb.cdUp=sU});var oU=Le((O_t,aU)=>{"use strict";aU.exports=function(t,n){if(typeof n.__innerRequest=="string"&&n.__innerRequest_request===n.request&&n.__innerRequest_relativePath===n.relativePath)return n.__innerRequest;let i;return n.request?(i=n.request,/^\.\.?(?:\/|$)/.test(i)&&n.relativePath&&(i=t.join(n.relativePath,i))):i=n.relativePath,n.__innerRequest_request=n.request,n.__innerRequest_relativePath=n.relativePath,n.__innerRequest=i}});var cU=Le((j_t,lU)=>{"use strict";var F0e=Kd(),j0e=oU();lU.exports=class{constructor(t,n,i){this.source=t,this.field=n,this.target=i}apply(t){let n=t.ensureHook(this.target);t.getHook(this.source).tapAsync("AliasFieldPlugin",(i,o,r)=>{if(!i.descriptionFileData)return r();let c=j0e(t,i);if(!c)return r();let s=F0e.getField(i.descriptionFileData,this.field);if(s===null||typeof s!="object")return o.log&&o.log("Field '"+this.field+"' doesn't contain a valid alias configuration"),r();let u=Object.prototype.hasOwnProperty.call(s,c)?s[c]:c.startsWith("./")?s[c.slice(2)]:void 0;if(u===c||u===void 0)return r();if(u===!1){let a={...i,path:!1};return typeof o.yield=="function"?(o.yield(a),r(null,null)):r(null,a)}let H={...i,path:i.descriptionFileRoot,request:u,fullySpecified:!1};t.doResolve(n,H,"aliased from description file "+i.descriptionFilePath+" with mapping '"+c+"' to '"+u+"'",o,(a,l)=>{if(a)return r(a);if(l===void 0)return r(null,null);r(null,l)})})}}});var dU=Le((q_t,pU)=>{"use strict";var uU=Lu(),{PathType:HU,getType:U0e}=Vd();pU.exports=class{constructor(t,n,i){this.source=t,this.options=Array.isArray(n)?n:[n],this.target=i}apply(t){let n=t.ensureHook(this.target),i=r=>{let c=U0e(r);return c===HU.AbsolutePosix||c===HU.AbsoluteWin?t.join(r,"_").slice(0,-1):null},o=(r,c)=>{let s=i(c);return s?r.startsWith(s):!1};t.getHook(this.source).tapAsync("AliasPlugin",(r,c,s)=>{let u=r.request||r.path;if(!u)return s();uU(this.options,(H,a)=>{let l=!1;if(u===H.name||!H.onlyModule&&(r.request?u.startsWith(`${H.name}/`):o(u,H.name))){let p=u.slice(H.name.length),d=(m,g)=>{if(m===!1){let y={...r,path:!1};return typeof c.yield=="function"?(c.yield(y),g(null,null)):g(null,y)}if(u!==m&&!u.startsWith(m+"/")){l=!0;let y=m+p,_={...r,request:y,fullySpecified:!1};return t.doResolve(n,_,"aliased with mapping '"+H.name+"': '"+m+"' to '"+y+"'",c,(E,A)=>E?g(E):A?g(null,A):g())}return g()},h=(m,g)=>m?a(m):g?a(null,g):l?a(null,null):a();return Array.isArray(H.alias)?uU(H.alias,d,h):d(H.alias,h)}return a()},s)})}}});var hU=Le((V_t,fU)=>{"use strict";fU.exports=class{constructor(t,n,i){this.source=t,this.appending=n,this.target=i}apply(t){let n=t.ensureHook(this.target);t.getHook(this.source).tapAsync("AppendPlugin",(i,o,r)=>{let c={...i,path:i.path+this.appending,relativePath:i.relativePath&&i.relativePath+this.appending};t.doResolve(n,c,this.appending,o,r)})}}});var mU=Le((G_t,_U)=>{"use strict";_U.exports=class{constructor(t,n,i,o,r){this.source=t,this.test=n,this.message=i,this.allowAlternatives=o,this.target=r}apply(t){let n=t.ensureHook(this.target),{test:i,message:o,allowAlternatives:r}=this,c=Object.keys(i);t.getHook(this.source).tapAsync("ConditionalPlugin",(s,u,H)=>{for(let a of c)if(s[a]!==i[a])return H();t.doResolve(n,s,o,u,r?H:(a,l)=>{if(a)return H(a);if(l===void 0)return H(null,null);H(null,l)})})}}});var gU=Le((Z_t,yU)=>{"use strict";var EU=Kd();yU.exports=class{constructor(t,n,i,o){this.source=t,this.filenames=n,this.pathIsFile=i,this.target=o}apply(t){let n=t.ensureHook(this.target);t.getHook(this.source).tapAsync("DescriptionFilePlugin",(i,o,r)=>{let c=i.path;if(!c)return r();let s=this.pathIsFile?EU.cdUp(c):c;if(!s)return r();EU.loadDescriptionFile(t,s,this.filenames,i.descriptionFilePath?{path:i.descriptionFilePath,content:i.descriptionFileData,directory:i.descriptionFileRoot}:void 0,o,(u,H)=>{if(u)return r(u);if(!H)return o.log&&o.log(`No description file found in ${s} or above`),r();let a="."+c.slice(H.directory.length).replace(/\\/g,"/"),l={...i,descriptionFilePath:H.path,descriptionFileData:H.content,descriptionFileRoot:H.directory,relativePath:a};t.doResolve(n,l,"using description file: "+H.path+" (relative path: "+a+")",o,(p,d)=>{if(p)return r(p);if(d===void 0)return r(null,null);r(null,d)})})})}}});var AU=Le((J_t,bU)=>{"use strict";bU.exports=class{constructor(t,n){this.source=t,this.target=n}apply(t){let n=t.ensureHook(this.target);t.getHook(this.source).tapAsync("DirectoryExistsPlugin",(i,o,r)=>{let c=t.fileSystem,s=i.path;if(!s)return r();c.stat(s,(u,H)=>{if(u||!H)return o.missingDependencies&&o.missingDependencies.add(s),o.log&&o.log(s+" doesn't exist"),r();if(!H.isDirectory())return o.missingDependencies&&o.missingDependencies.add(s),o.log&&o.log(s+" is not a directory"),r();o.fileDependencies&&o.fileDependencies.add(s),t.doResolve(n,i,`existing directory ${s}`,o,r)})})}}});var zx=Le((Q_t,Zx)=>{"use strict";var{parseIdentifier:LU}=CE(),Ap=47,Gx=46,q0e=35,W0e=/\*/g;Zx.exports.processExportsField=function(t){return TU(z0e(t),n=>n.length===0?".":"./"+n,V0e,G0e)};Zx.exports.processImportsField=function(t){return TU(t,n=>"#"+n,K0e,X0e)};function TU(e,t,n,i){return function(r,c){r=n(r);let s=Z0e(t(r),e);if(s===null)return[[],null];let[u,H,a,l,p]=s,d=null;if(Xx(u)){if(d=CU(u,c),d===null)return[[],null]}else d=u;return[vU(H,l,a,d,c,i),p]}}function V0e(e){if(e.charCodeAt(0)!==Gx)throw new Error('Request should be relative path and start with "."');if(e.length===1)return"";if(e.charCodeAt(1)!==Ap)throw new Error('Request should be relative path and start with "./"');if(e.charCodeAt(e.length-1)===Ap)throw new Error("Only requesting file allowed");return e.slice(2)}function K0e(e){if(e.charCodeAt(0)!==q0e)throw new Error('Request should start with "#"');if(e.length===1)throw new Error("Request should have at least 2 characters");if(e.charCodeAt(1)===Ap)throw new Error('Request should not start with "#/"');if(e.charCodeAt(e.length-1)===Ap)throw new Error("Only requesting file allowed");return e.slice(1)}function G0e(e,t){let n=LU(e);if(!n)return;let[i]=n;if(i.charCodeAt(i.length-1)===Ap!==t)throw new Error(t?`Expecting folder to folder mapping. ${JSON.stringify(e)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(e)} should not end with "/"`)}function X0e(e,t){let n=LU(e);if(!n)return;let[i]=n;if(i.charCodeAt(i.length-1)===Ap!==t)throw new Error(t?`Expecting folder to folder mapping. ${JSON.stringify(e)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(e)} should not end with "/"`)}function IU(e,t){let n=e.indexOf("*"),i=t.indexOf("*"),o=n===-1?e.length:n+1,r=i===-1?t.length:i+1;return o>r?-1:r>o||n===-1?1:i===-1||e.length>t.length?-1:t.length>e.length?1:0}function Z0e(e,t){if(Object.prototype.hasOwnProperty.call(t,e)&&!e.includes("*")&&!e.endsWith("/"))return[t[e],"",!1,!1,e];let n="",i,o=Object.getOwnPropertyNames(t);for(let u=0;u<o.length;u++){let H=o[u],a=H.indexOf("*");if(a!==-1&&e.startsWith(H.slice(0,a))){let l=H.slice(a+1);e.length>=H.length&&e.endsWith(l)&&IU(n,H)===1&&H.lastIndexOf("*")===a&&(n=H,i=e.slice(a,e.length-l.length))}else H[H.length-1]==="/"&&e.startsWith(H)&&IU(n,H)===1&&(n=H,i=e.slice(H.length))}if(n==="")return null;let r=t[n],c=n.endsWith("/"),s=n.includes("*");return[r,i,c,s,n]}function Xx(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function vU(e,t,n,i,o,r){if(i===null)return[];if(typeof i=="string")return[SU(e,t,n,i,r)];let c=[];for(let s of i){if(typeof s=="string"){c.push(SU(e,t,n,s,r));continue}let u=CU(s,o);if(!u)continue;let H=vU(e,t,n,u,o,r);for(let a of H)c.push(a)}return c}function SU(e,t,n,i,o){if(e===void 0)return o(i,!1),i;if(n)return o(i,!0),i+e;o(i,!1);let r=i;return t&&(r=r.replace(W0e,e.replace(/\$/g,"$$"))),r}function CU(e,t){let n=[[e,Object.keys(e),0]];e:for(;n.length>0;){let[i,o,r]=n[n.length-1];for(let c=r;c<o.length;c++){let s=o[c];if(s==="default"){let u=i[s];if(Xx(u)){let H=u;n[n.length-1][2]=c+1,n.push([H,Object.keys(H),0]);continue e}return u}if(t.has(s)){let u=i[s];if(Xx(u)){let H=u;n[n.length-1][2]=c+1,n.push([H,Object.keys(H),0]);continue e}return u}}n.pop()}return null}function z0e(e){if(typeof e=="string"||Array.isArray(e))return{".":e};let t=Object.keys(e);for(let n=0;n<t.length;n++){let i=t[n];if(i.charCodeAt(0)!==Gx){if(n===0){for(;n<t.length;){let o=t[n].charCodeAt(0);if(o===Gx||o===Ap)throw new Error(`Exports field key should be relative path and start with "." (key: ${JSON.stringify(i)})`);n++}return{".":e}}throw new Error(`Exports field key should be relative path and start with "." (key: ${JSON.stringify(i)})`)}if(i.length!==1&&i.charCodeAt(1)!==Ap)throw new Error(`Exports field key should be relative path and start with "./" (key: ${JSON.stringify(i)})`)}return e}});var DU=Le((emt,xU)=>{"use strict";var J0e=Kd(),Q0e=Lu(),{processExportsField:Y0e}=zx(),{parseIdentifier:ege}=CE(),{invalidSegmentRegEx:tge,deprecatedInvalidSegmentRegEx:rge}=Vd();xU.exports=class{constructor(t,n,i,o){this.source=t,this.target=o,this.conditionNames=n,this.fieldName=i,this.fieldProcessorCache=new WeakMap}apply(t){let n=t.ensureHook(this.target);t.getHook(this.source).tapAsync("ExportsFieldPlugin",(i,o,r)=>{if(!i.descriptionFilePath||i.relativePath!=="."||i.request===void 0)return r();let c=i.query||i.fragment?(i.request==="."?"./":i.request)+i.query+i.fragment:i.request,s=J0e.getField(i.descriptionFileData,this.fieldName);if(!s)return r();if(i.directory)return r(new Error(`Resolving to directories is not possible with the exports field (request was ${c}/)`));let u,H;try{let a=this.fieldProcessorCache.get(i.descriptionFileData);a===void 0&&(a=Y0e(s),this.fieldProcessorCache.set(i.descriptionFileData,a)),[u,H]=a(c,this.conditionNames)}catch(a){return o.log&&o.log(`Exports field in ${i.descriptionFilePath} can't be processed: ${a}`),r(a)}if(u.length===0)return r(new Error(`Package path ${c} is not exported from package ${i.descriptionFileRoot} (see exports field in ${i.descriptionFilePath})`));Q0e(u,(a,l,p)=>{let d=ege(a);if(!d)return l();let[h,m,g]=d;if(h.length===0||!h.startsWith("./"))return u.length===p?l(new Error(`Invalid "exports" target "${a}" defined for "${H}" in the package config ${i.descriptionFilePath}, targets must start with "./"`)):l();if(tge.exec(h.slice(2))!==null&&rge.test(h.slice(2))!==null)return u.length===p?l(new Error(`Invalid "exports" target "${a}" defined for "${H}" in the package config ${i.descriptionFilePath}, targets must start with "./"`)):l();let y={...i,request:void 0,path:t.join(i.descriptionFileRoot,h),relativePath:h,query:m,fragment:g};t.doResolve(n,y,"using exports field: "+a,o,(_,E)=>{if(_)return l(_);if(E===void 0)return l(null,null);l(null,E)})},(a,l)=>r(a,l||null))})}}});var wU=Le((rmt,PU)=>{"use strict";var nge=Lu();PU.exports=class{constructor(t,n,i){this.source=t,this.options=n,this.target=i}apply(t){let n=t.ensureHook(this.target),{extension:i,alias:o}=this.options;t.getHook(this.source).tapAsync("ExtensionAliasPlugin",(r,c,s)=>{let u=r.request;if(!u||!u.endsWith(i))return s();let H=typeof o=="string",a=(p,d,h)=>{let m=`${u.slice(0,-i.length)}${p}`;return t.doResolve(n,{...r,request:m,fullySpecified:!0},`aliased from extension alias with mapping '${i}' to '${p}'`,c,(g,y)=>{if(!H&&h)return h!==this.options.alias.length?(c.log&&c.log(`Failed to alias from extension alias with mapping '${i}' to '${p}' for '${m}': ${g}`),d(null,y)):d(g,y);d(g,y)})},l=(p,d)=>p?s(p):d?s(null,d):s(null,null);H?a(o,l):o.length>1?nge(o,a,l):a(o[0],l)})}}});var NU=Le((imt,kU)=>{"use strict";kU.exports=class{constructor(t,n){this.source=t,this.target=n}apply(t){let n=t.ensureHook(this.target),i=t.fileSystem;t.getHook(this.source).tapAsync("FileExistsPlugin",(o,r,c)=>{let s=o.path;if(!s)return c();i.stat(s,(u,H)=>{if(u||!H)return r.missingDependencies&&r.missingDependencies.add(s),r.log&&r.log(s+" doesn't exist"),c();if(!H.isFile())return r.missingDependencies&&r.missingDependencies.add(s),r.log&&r.log(s+" is not a file"),c();r.fileDependencies&&r.fileDependencies.add(s),t.doResolve(n,o,"existing file: "+s,r,c)})})}}});var $U=Le((amt,RU)=>{"use strict";var ige=Kd(),sge=Lu(),{processImportsField:age}=zx(),{parseIdentifier:oge}=CE(),{invalidSegmentRegEx:lge,deprecatedInvalidSegmentRegEx:cge}=Vd(),uge=46;RU.exports=class{constructor(t,n,i,o,r){this.source=t,this.targetFile=o,this.targetPackage=r,this.conditionNames=n,this.fieldName=i,this.fieldProcessorCache=new WeakMap}apply(t){let n=t.ensureHook(this.targetFile),i=t.ensureHook(this.targetPackage);t.getHook(this.source).tapAsync("ImportsFieldPlugin",(o,r,c)=>{if(!o.descriptionFilePath||o.request===void 0)return c();let s=o.request+o.query+o.fragment,u=ige.getField(o.descriptionFileData,this.fieldName);if(!u)return c();if(o.directory)return c(new Error(`Resolving to directories is not possible with the imports field (request was ${s}/)`));let H,a;try{let l=this.fieldProcessorCache.get(o.descriptionFileData);l===void 0&&(l=age(u),this.fieldProcessorCache.set(o.descriptionFileData,l)),[H,a]=l(s,this.conditionNames)}catch(l){return r.log&&r.log(`Imports field in ${o.descriptionFilePath} can't be processed: ${l}`),c(l)}if(H.length===0)return c(new Error(`Package import ${s} is not imported from package ${o.descriptionFileRoot} (see imports field in ${o.descriptionFilePath})`));sge(H,(l,p,d)=>{let h=oge(l);if(!h)return p();let[m,g,y]=h;switch(m.charCodeAt(0)){case uge:{if(lge.exec(m.slice(2))!==null&&cge.test(m.slice(2))!==null)return H.length===d?p(new Error(`Invalid "imports" target "${l}" defined for "${a}" in the package config ${o.descriptionFilePath}, targets must start with "./"`)):p();let _={...o,request:void 0,path:t.join(o.descriptionFileRoot,m),relativePath:m,query:g,fragment:y};t.doResolve(n,_,"using imports field: "+l,r,(E,A)=>{if(E)return p(E);if(A===void 0)return p(null,null);p(null,A)});break}default:{let _={...o,request:m,relativePath:m,fullySpecified:!0,query:g,fragment:y};t.doResolve(i,_,"using imports field: "+l,r,(E,A)=>{if(E)return p(E);if(A===void 0)return p(null,null);p(null,A)})}}},(l,p)=>c(l,p||null))})}}});var BU=Le((lmt,MU)=>{"use strict";MU.exports=class{constructor(t,n){this.source=t,this.target=n}apply(t){let n=t.ensureHook(this.target);t.getHook(this.source).tapAsync("JoinRequestPartPlugin",(i,o,r)=>{let c=i.request||"",s=c.indexOf("/",3);s>=0&&c.charCodeAt(2)===64&&(s=c.indexOf("/",s+1));let u,H,a;s<0?(u=c,H=".",a=!1):(u=c.slice(0,s),H="."+c.slice(s),a=i.fullySpecified);let l={...i,path:t.join(i.path,u),relativePath:i.relativePath&&t.join(i.relativePath,u),request:H,fullySpecified:a};t.doResolve(n,l,null,o,r)})}}});var FU=Le((umt,OU)=>{"use strict";OU.exports=class{constructor(t,n){this.source=t,this.target=n}apply(t){let n=t.ensureHook(this.target);t.getHook(this.source).tapAsync("JoinRequestPlugin",(i,o,r)=>{let c=i.path,s=i.request,u={...i,path:t.join(c,s),relativePath:i.relativePath&&t.join(i.relativePath,s),request:void 0};t.doResolve(n,u,null,o,r)})}}});var qU=Le((pmt,UU)=>{"use strict";var Hge=require("path"),pge=Kd(),jU=Symbol("alreadyTriedMainField");UU.exports=class{constructor(t,n,i){this.source=t,this.options=n,this.target=i}apply(t){let n=t.ensureHook(this.target);t.getHook(this.source).tapAsync("MainFieldPlugin",(i,o,r)=>{if(i.path!==i.descriptionFileRoot||i[jU]===i.descriptionFilePath||!i.descriptionFilePath)return r();let c=Hge.basename(i.descriptionFilePath),s=pge.getField(i.descriptionFileData,this.options.name);if(!s||typeof s!="string"||s==="."||s==="./")return r();this.options.forceRelative&&!/^\.\.?\//.test(s)&&(s="./"+s);let u={...i,request:s,module:!1,directory:s.endsWith("/"),[jU]:i.descriptionFilePath};return t.doResolve(n,u,"use "+s+" from "+this.options.name+" in "+c,o,r)})}}});var hb=Le((dmt,Jx)=>{"use strict";Jx.exports=function(t){if(t==="/")return{paths:["/"],segments:[""]};let n=t.split(/(.*?[\\/]+)/),i=[t],o=[n[n.length-1]],r=n[n.length-1];t=t.substring(0,t.length-r.length-1);for(let c=n.length-2;c>2;c-=2)i.push(t),r=n[c],t=t.substring(0,t.length-r.length)||"/",o.push(r.slice(0,-1));return r=n[1],o.push(r),i.push(r),{paths:i,segments:o}};Jx.exports.basename=function(t){let n=t.lastIndexOf("/"),i=t.lastIndexOf("\\"),o=n<0?i:i<0?n:n<i?i:n;return o<0?null:t.slice(o+1)}});var VU=Le((hmt,WU)=>{"use strict";var dge=Lu(),fge=hb();WU.exports=class{constructor(t,n,i){this.source=t,this.directories=[].concat(n),this.target=i}apply(t){let n=t.ensureHook(this.target);t.getHook(this.source).tapAsync("ModulesInHierarchicalDirectoriesPlugin",(i,o,r)=>{let c=t.fileSystem,s=fge(i.path).paths.map(u=>this.directories.map(H=>t.join(u,H))).reduce((u,H)=>(u.push.apply(u,H),u),[]);dge(s,(u,H)=>{c.stat(u,(a,l)=>{if(!a&&l&&l.isDirectory()){let p={...i,path:u,request:"./"+i.request,module:!1},d="looking for modules in "+u;return t.doResolve(n,p,d,o,H)}return o.log&&o.log(u+" doesn't exist or is not a directory"),o.missingDependencies&&o.missingDependencies.add(u),H()})},r)})}}});var GU=Le((mmt,KU)=>{"use strict";KU.exports=class{constructor(t,n,i){this.source=t,this.path=n,this.target=i}apply(t){let n=t.ensureHook(this.target);t.getHook(this.source).tapAsync("ModulesInRootPlugin",(i,o,r)=>{let c={...i,path:this.path,request:"./"+i.request,module:!1};t.doResolve(n,c,"looking for modules in "+this.path,o,r)})}}});var ZU=Le((ymt,XU)=>{"use strict";XU.exports=class{constructor(t,n){this.source=t,this.target=n}apply(t){let n=t.ensureHook(this.target);t.getHook(this.source).tapAsync("NextPlugin",(i,o,r)=>{t.doResolve(n,i,null,o,r)})}}});var JU=Le((bmt,zU)=>{"use strict";zU.exports=class{constructor(t,n,i){this.source=t,this.requestOptions=n,this.target=i}apply(t){let n=t.ensureHook(this.target);t.getHook(this.source).tapAsync("ParsePlugin",(i,o,r)=>{let c=t.parse(i.request),s={...i,...c,...this.requestOptions};if(i.query&&!c.query&&(s.query=i.query),i.fragment&&!c.fragment&&(s.fragment=i.fragment),c&&o.log&&(c.module&&o.log("Parsed request is a module"),c.directory&&o.log("Parsed request is a directory")),s.request&&!s.query&&s.fragment){let u=s.fragment.endsWith("/"),H={...s,directory:u,request:s.request+(s.directory?"/":"")+(u?s.fragment.slice(0,-1):s.fragment),fragment:""};t.doResolve(n,H,null,o,(a,l)=>{if(a)return r(a);if(l)return r(null,l);t.doResolve(n,s,null,o,r)});return}t.doResolve(n,s,null,o,r)})}}});var YU=Le((Imt,QU)=>{"use strict";QU.exports=class{constructor(t,n,i,o){this.source=t,this.pnpApi=n,this.target=i,this.alternateTarget=o}apply(t){let n=t.ensureHook(this.target),i=t.ensureHook(this.alternateTarget);t.getHook(this.source).tapAsync("PnpPlugin",(o,r,c)=>{let s=o.request;if(!s)return c();let u=`${o.path}/`,H=/^(@[^/]+\/)?[^/]+/.exec(s);if(!H)return c();let a=H[0],l=`.${s.slice(a.length)}`,p,d;try{if(p=this.pnpApi.resolveToUnqualified(a,u,{considerBuiltins:!1}),p===null){t.doResolve(i,o,"issuer is not managed by a pnpapi",r,(m,g)=>m?c(m):g?c(null,g):c(null,null));return}r.fileDependencies&&(d=this.pnpApi.resolveToUnqualified("pnpapi",u,{considerBuiltins:!1}))}catch(m){if(m.code==="MODULE_NOT_FOUND"&&m.pnpCode==="UNDECLARED_DEPENDENCY"){if(r.log){r.log("request is not managed by the pnpapi");for(let g of m.message.split(`
|
|
`).filter(Boolean))r.log(` ${g}`)}return c()}return c(m)}if(p===a)return c();d&&r.fileDependencies&&r.fileDependencies.add(d);let h={...o,path:p,request:l,ignoreSymlinks:!0,fullySpecified:o.fullySpecified&&l!=="."};t.doResolve(n,h,`resolved by pnp to ${p}`,r,(m,g)=>m?c(m):g?c(null,g):c(null,null))})}}});var t6=Le((Lmt,e6)=>{"use strict";var hge=(e,t)=>{if(!e.startsWith(t))return!1;if(e.length===t.length)return!0;let n=e.charCodeAt(t.length);return n===47||n===92};e6.exports=class{constructor(t,n){this.source=t,this.restrictions=n}apply(t){t.getHook(this.source).tapAsync("RestrictionsPlugin",(n,i,o)=>{if(typeof n.path=="string"){let r=n.path;for(let c of this.restrictions)if(typeof c=="string"){if(!hge(r,c))return i.log&&i.log(`${r} is not inside of the restriction ${c}`),o(null,null)}else if(!c.test(r))return i.log&&i.log(`${r} doesn't match the restriction ${c}`),o(null,null)}o()})}}});var n6=Le((vmt,r6)=>{"use strict";r6.exports=class{constructor(t){this.source=t}apply(t){this.source.tapAsync("ResultPlugin",(n,i,o)=>{let r={...n};i.log&&i.log("reporting result "+r.path),t.hooks.result.callAsync(r,i,c=>{if(c)return o(c);typeof i.yield=="function"?(i.yield(r),o(null,null)):o(null,r)})})}}});var s6=Le((Cmt,i6)=>{"use strict";var _ge=Lu(),Qx=class{constructor(t,n,i){this.roots=Array.from(n),this.source=t,this.target=i}apply(t){let n=t.ensureHook(this.target);t.getHook(this.source).tapAsync("RootsPlugin",(i,o,r)=>{let c=i.request;if(!c||!c.startsWith("/"))return r();_ge(this.roots,(s,u)=>{let H=t.join(s,c.slice(1)),a={...i,path:H,relativePath:i.relativePath&&H};t.doResolve(n,a,`root path ${s}`,o,u)},r)})}};i6.exports=Qx});var l6=Le((Dmt,o6)=>{"use strict";var a6=Kd(),mge=47;o6.exports=class{constructor(t,n,i){this.source=t,this.target=i,this.fieldName=n}apply(t){let n=t.ensureHook(this.target);t.getHook(this.source).tapAsync("SelfReferencePlugin",(i,o,r)=>{if(!i.descriptionFilePath)return r();let c=i.request;if(!c||!a6.getField(i.descriptionFileData,this.fieldName))return r();let u=a6.getField(i.descriptionFileData,"name");if(typeof u!="string")return r();if(c.startsWith(u)&&(c.length===u.length||c.charCodeAt(u.length)===mge)){let H=`.${c.slice(u.length)}`,a={...i,request:H,path:i.descriptionFileRoot,relativePath:"."};t.doResolve(n,a,"self reference",o,r)}else return r()})}}});var H6=Le((wmt,u6)=>{"use strict";var Ege=Lu(),yge=hb(),{getType:gge,PathType:c6}=Vd();u6.exports=class{constructor(t,n){this.source=t,this.target=n}apply(t){let n=t.ensureHook(this.target),i=t.fileSystem;t.getHook(this.source).tapAsync("SymlinkPlugin",(o,r,c)=>{if(o.ignoreSymlinks)return c();let s=yge(o.path),u=s.segments,H=s.paths,a=!1,l=-1;Ege(H,(p,d)=>{l++,r.fileDependencies&&r.fileDependencies.add(p),i.readlink(p,(h,m)=>{if(!h&&m){u[l]=m,a=!0;let g=gge(m.toString());if(g===c6.AbsoluteWin||g===c6.AbsolutePosix)return d(null,l)}d()})},(p,d)=>{if(!a)return c();let m=(typeof d=="number"?u.slice(0,d+1):u.slice()).reduceRight((y,_)=>t.join(y,_)),g={...o,path:m};t.doResolve(n,g,"resolved symlink to "+m,r,c)})})}}});var d6=Le((Nmt,p6)=>{"use strict";p6.exports=class{constructor(t,n,i){this.source=t,this.message=n,this.target=i}apply(t){let n=t.ensureHook(this.target);t.getHook(this.source).tapAsync("TryNextPlugin",(i,o,r)=>{t.doResolve(n,i,this.message,o,r)})}}});var h6=Le(($mt,f6)=>{"use strict";function bge(e,t,n){return JSON.stringify({type:e,context:n?t.context:"",path:t.path,query:t.query,fragment:t.fragment,request:t.request})}f6.exports=class{constructor(t,n,i,o,r){this.source=t,this.filterPredicate=n,this.withContext=o,this.cache=i,this.target=r}apply(t){let n=t.ensureHook(this.target);t.getHook(this.source).tapAsync("UnsafeCachePlugin",(i,o,r)=>{if(!this.filterPredicate(i))return r();let c=typeof o.yield=="function",s=bge(c?"yield":"default",i,this.withContext),u=this.cache[s];if(u){if(c){let p=o.yield;if(Array.isArray(u))for(let d of u)p(d);else p(u);return r(null,null)}return r(null,u)}let H,a,l=[];c&&(H=o.yield,a=p=>{l.push(p)}),t.doResolve(n,i,null,a?{...o,yield:a}:o,(p,d)=>{if(p)return r(p);if(c){d&&l.push(d);for(let h of l)H(h);return this.cache[s]=l,r(null,null)}if(d)return r(null,this.cache[s]=d);r()})})}}});var m6=Le((Bmt,_6)=>{"use strict";_6.exports=class{constructor(t,n,i){this.source=t,this.filename=n,this.target=i}apply(t){let n=t.ensureHook(this.target);t.getHook(this.source).tapAsync("UseFilePlugin",(i,o,r)=>{let c=t.join(i.path,this.filename),s={...i,path:c,relativePath:i.relativePath&&t.join(i.relativePath,this.filename)};t.doResolve(n,s,"using path: "+c,o,r)})}}});var L6=Le(S6=>{"use strict";var Age=require("process").versions,Ige=tU(),{getType:Sge,PathType:E6}=Vd(),Lge=nU(),y6=cU(),Yx=dU(),Tge=hU(),xh=mU(),DE=gU(),g6=AU(),vge=DU(),Cge=wU(),xge=NU(),Dge=$U(),Pge=BU(),_b=FU(),wge=qU(),eD=VU(),kge=GU(),Oc=ZU(),b6=JU(),Nge=YU(),Rge=t6(),$ge=n6(),Mge=s6(),Bge=l6(),Oge=H6(),Fge=d6(),jge=h6(),A6=m6();function Uge(e){if(e===void 0&&Age.pnp){let t=require("module").findPnpApi;if(t)return{resolveToUnqualified(n,i,o){let r=t(i);return r?r.resolveToUnqualified(n,i,o):null}}}return e||null}function I6(e){return typeof e=="object"&&!Array.isArray(e)&&e!==null?Object.keys(e).map(t=>{let n={name:t,onlyModule:!1,alias:e[t]};return/\$$/.test(t)&&(n.onlyModule=!0,n.name=t.slice(0,-1)),n}):e||[]}function qge(e){let t=new Set(e.mainFields||["main"]),n=[];for(let i of t)typeof i=="string"?n.push({name:[i],forceRelative:!0}):Array.isArray(i)?n.push({name:i,forceRelative:!0}):n.push({name:Array.isArray(i.name)?i.name:[i.name],forceRelative:i.forceRelative});return{alias:I6(e.alias),fallback:I6(e.fallback),aliasFields:new Set(e.aliasFields),cachePredicate:e.cachePredicate||function(){return!0},cacheWithContext:typeof e.cacheWithContext<"u"?e.cacheWithContext:!0,exportsFields:new Set(e.exportsFields||["exports"]),importsFields:new Set(e.importsFields||["imports"]),conditionNames:new Set(e.conditionNames),descriptionFiles:Array.from(new Set(e.descriptionFiles||["package.json"])),enforceExtension:e.enforceExtension===void 0?!!(e.extensions&&e.extensions.includes("")):e.enforceExtension,extensions:new Set(e.extensions||[".js",".json",".node"]),extensionAlias:e.extensionAlias?Object.keys(e.extensionAlias).map(i=>({extension:i,alias:e.extensionAlias[i]})):[],fileSystem:e.useSyncFileSystemCalls?new Lge(e.fileSystem):e.fileSystem,unsafeCache:e.unsafeCache&&typeof e.unsafeCache!="object"?{}:e.unsafeCache||!1,symlinks:typeof e.symlinks<"u"?e.symlinks:!0,resolver:e.resolver,modules:Wge(Array.isArray(e.modules)?e.modules:e.modules?[e.modules]:["node_modules"],i=>{let o=Sge(i);return o===E6.Normal||o===E6.Relative}),mainFields:n,mainFiles:new Set(e.mainFiles||["index"]),plugins:e.plugins||[],pnpApi:Uge(e.pnpApi),roots:new Set(e.roots||void 0),fullySpecified:e.fullySpecified||!1,resolveToContext:e.resolveToContext||!1,preferRelative:e.preferRelative||!1,preferAbsolute:e.preferAbsolute||!1,restrictions:new Set(e.restrictions)}}S6.createResolver=function(e){let t=qge(e),{alias:n,fallback:i,aliasFields:o,cachePredicate:r,cacheWithContext:c,conditionNames:s,descriptionFiles:u,enforceExtension:H,exportsFields:a,extensionAlias:l,importsFields:p,extensions:d,fileSystem:h,fullySpecified:m,mainFields:g,mainFiles:y,modules:_,plugins:E,pnpApi:A,resolveToContext:S,preferRelative:T,preferAbsolute:I,symlinks:L,unsafeCache:x,resolver:C,restrictions:D,roots:O}=t,j=E.slice(),k=C||new Ige(h,t);k.ensureHook("resolve"),k.ensureHook("internalResolve"),k.ensureHook("newInternalResolve"),k.ensureHook("parsedResolve"),k.ensureHook("describedResolve"),k.ensureHook("rawResolve"),k.ensureHook("normalResolve"),k.ensureHook("internal"),k.ensureHook("rawModule"),k.ensureHook("alternateRawModule"),k.ensureHook("module"),k.ensureHook("resolveAsModule"),k.ensureHook("undescribedResolveInPackage"),k.ensureHook("resolveInPackage"),k.ensureHook("resolveInExistingDirectory"),k.ensureHook("relative"),k.ensureHook("describedRelative"),k.ensureHook("directory"),k.ensureHook("undescribedExistingDirectory"),k.ensureHook("existingDirectory"),k.ensureHook("undescribedRawFile"),k.ensureHook("rawFile"),k.ensureHook("file"),k.ensureHook("finalFile"),k.ensureHook("existingFile"),k.ensureHook("resolved"),k.hooks.newInteralResolve=k.hooks.newInternalResolve;for(let{source:U,resolveOptions:F}of[{source:"resolve",resolveOptions:{fullySpecified:m}},{source:"internal-resolve",resolveOptions:{fullySpecified:!1}}])x?(j.push(new jge(U,r,x,c,`new-${U}`)),j.push(new b6(`new-${U}`,F,"parsed-resolve"))):j.push(new b6(U,F,"parsed-resolve"));j.push(new DE("parsed-resolve",u,!1,"described-resolve")),j.push(new Oc("after-parsed-resolve","described-resolve")),j.push(new Oc("described-resolve","raw-resolve")),i.length>0&&j.push(new Yx("described-resolve",i,"internal-resolve")),n.length>0&&j.push(new Yx("raw-resolve",n,"internal-resolve")),o.forEach(U=>{j.push(new y6("raw-resolve",U,"internal-resolve"))}),l.forEach(U=>j.push(new Cge("raw-resolve",U,"normal-resolve"))),j.push(new Oc("raw-resolve","normal-resolve")),T&&j.push(new _b("after-normal-resolve","relative")),j.push(new xh("after-normal-resolve",{module:!0},"resolve as module",!1,"raw-module")),j.push(new xh("after-normal-resolve",{internal:!0},"resolve as internal import",!1,"internal")),I&&j.push(new _b("after-normal-resolve","relative")),O.size>0&&j.push(new Mge("after-normal-resolve",O,"relative")),!T&&!I&&j.push(new _b("after-normal-resolve","relative")),p.forEach(U=>{j.push(new Dge("internal",s,U,"relative","internal-resolve"))}),a.forEach(U=>{j.push(new Bge("raw-module",U,"resolve-as-module"))}),_.forEach(U=>{Array.isArray(U)?U.includes("node_modules")&&A?(j.push(new eD("raw-module",U.filter(F=>F!=="node_modules"),"module")),j.push(new Nge("raw-module",A,"undescribed-resolve-in-package","alternate-raw-module")),j.push(new eD("alternate-raw-module",["node_modules"],"module"))):j.push(new eD("raw-module",U,"module")):j.push(new kge("raw-module",U,"module"))}),j.push(new Pge("module","resolve-as-module")),S||j.push(new xh("resolve-as-module",{directory:!1,request:"."},"single file module",!0,"undescribed-raw-file")),j.push(new g6("resolve-as-module","undescribed-resolve-in-package")),j.push(new DE("undescribed-resolve-in-package",u,!1,"resolve-in-package")),j.push(new Oc("after-undescribed-resolve-in-package","resolve-in-package")),a.forEach(U=>{j.push(new vge("resolve-in-package",s,U,"relative"))}),j.push(new Oc("resolve-in-package","resolve-in-existing-directory")),j.push(new _b("resolve-in-existing-directory","relative")),j.push(new DE("relative",u,!0,"described-relative")),j.push(new Oc("after-relative","described-relative")),S?j.push(new Oc("described-relative","directory")):(j.push(new xh("described-relative",{directory:!1},null,!0,"raw-file")),j.push(new xh("described-relative",{fullySpecified:!1},"as directory",!0,"directory"))),j.push(new g6("directory","undescribed-existing-directory")),S?j.push(new Oc("undescribed-existing-directory","resolved")):(j.push(new DE("undescribed-existing-directory",u,!1,"existing-directory")),y.forEach(U=>{j.push(new A6("undescribed-existing-directory",U,"undescribed-raw-file"))}),g.forEach(U=>{j.push(new wge("existing-directory",U,"resolve-in-existing-directory"))}),y.forEach(U=>{j.push(new A6("existing-directory",U,"undescribed-raw-file"))}),j.push(new DE("undescribed-raw-file",u,!0,"raw-file")),j.push(new Oc("after-undescribed-raw-file","raw-file")),j.push(new xh("raw-file",{fullySpecified:!0},null,!1,"file")),H||j.push(new Fge("raw-file","no extension","file")),d.forEach(U=>{j.push(new Tge("raw-file",U,"file"))}),n.length>0&&j.push(new Yx("file",n,"internal-resolve")),o.forEach(U=>{j.push(new y6("file",U,"internal-resolve"))}),j.push(new Oc("file","final-file")),j.push(new xge("final-file","existing-file")),L&&j.push(new Oge("existing-file","existing-file")),j.push(new Oc("existing-file","resolved")));let $=k.hooks.resolved;D.size>0&&j.push(new Rge($,D)),j.push(new $ge($));for(let U of j)typeof U=="function"?U.call(k,k):U&&U.apply(k);return k};function Wge(e,t){let n=[],i=new Set(e);for(let o of i)if(t(o)){let r=n.length>0?n[n.length-1]:void 0;Array.isArray(r)?r.push(o):n.push([o])}else n.push(o);return n}});var v6=Le((jmt,T6)=>{"use strict";var Vge=hb().basename;T6.exports=class{constructor(t,n){this.source=t,this.target=n}apply(t){let n=t.ensureHook(this.target);t.getHook(this.source).tapAsync("CloneBasenamePlugin",(i,o,r)=>{let c=i.path,s=Vge(c),u=t.join(c,s),H={...i,path:u,relativePath:i.relativePath&&t.join(i.relativePath,s)};t.doResolve(n,H,"using path: "+u,o,r)})}}});var x6=Le((qmt,C6)=>{"use strict";C6.exports=class{constructor(t){this.source=t}apply(t){let n=this.source;t.getHook(this.source).tapAsync("LogInfoPlugin",(i,o,r)=>{if(!o.log)return r();let c=o.log,s="["+n+"] ";i.path&&c(s+"Resolving in directory: "+i.path),i.request&&c(s+"Resolving request: "+i.request),i.module&&c(s+"Request is an module request."),i.directory&&c(s+"Request is a directory request."),i.query&&c(s+"Resolving request query: "+i.query),i.fragment&&c(s+"Resolving request fragment: "+i.fragment),i.descriptionFilePath&&c(s+"Has description data from "+i.descriptionFilePath),i.relativePath&&c(s+"Relative path from description file is: "+i.relativePath),r()})}}});var tD=Le((Wmt,w6)=>{"use strict";var Kge=V7(),P6=z7(),PE=L6(),mb=new P6(Kge,4e3),Eb={environments:["node+es3+es5+process+native"]},Gge=PE.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],fileSystem:mb}),Xge=(e,t,n,i,o)=>{typeof e=="string"&&(o=i,i=n,n=t,t=e,e=Eb),typeof o!="function"&&(o=i),Gge.resolve(e,t,n,i,o)},Zge=PE.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:!0,fileSystem:mb}),zge=(e,t,n)=>(typeof e=="string"&&(n=t,t=e,e=Eb),Zge.resolveSync(e,t,n));function Jge(e){let t=PE.createResolver({fileSystem:mb,...e});return function(n,i,o,r,c){typeof n=="string"&&(c=r,r=o,o=i,i=n,n=Eb),typeof c!="function"&&(c=r),t.resolve(n,i,o,r,c)}}function Qge(e){let t=PE.createResolver({useSyncFileSystemCalls:!0,fileSystem:mb,...e});return function(n,i,o){return typeof n=="string"&&(o=i,i=n,n=Eb),t.resolveSync(n,i,o)}}var D6=(e,t)=>{let n=Object.getOwnPropertyDescriptors(t);return Object.defineProperties(e,n),Object.freeze(e)};w6.exports=D6(Xge,{get sync(){return zge},create:D6(Jge,{get sync(){return Qge}}),ResolverFactory:PE,CachedInputFileSystem:P6,get CloneBasenamePlugin(){return v6()},get LogInfoPlugin(){return x6()},get forEachBail(){return Lu()}})});var gb=Le(Wa=>{"use strict";Object.defineProperty(Wa,"__esModule",{value:!0});Wa.thenable=Wa.typedArray=Wa.stringArray=Wa.array=Wa.func=Wa.error=Wa.number=Wa.string=Wa.boolean=void 0;function rbe(e){return e===!0||e===!1}Wa.boolean=rbe;function $6(e){return typeof e=="string"||e instanceof String}Wa.string=$6;function nbe(e){return typeof e=="number"||e instanceof Number}Wa.number=nbe;function ibe(e){return e instanceof Error}Wa.error=ibe;function M6(e){return typeof e=="function"}Wa.func=M6;function B6(e){return Array.isArray(e)}Wa.array=B6;function sbe(e){return B6(e)&&e.every(t=>$6(t))}Wa.stringArray=sbe;function abe(e,t){return Array.isArray(e)&&e.every(t)}Wa.typedArray=abe;function obe(e){return e&&M6(e.then)}Wa.thenable=obe});var Ph=Le(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});Oo.stringArray=Oo.array=Oo.func=Oo.error=Oo.number=Oo.string=Oo.boolean=void 0;function lbe(e){return e===!0||e===!1}Oo.boolean=lbe;function O6(e){return typeof e=="string"||e instanceof String}Oo.string=O6;function cbe(e){return typeof e=="number"||e instanceof Number}Oo.number=cbe;function ube(e){return e instanceof Error}Oo.error=ube;function Hbe(e){return typeof e=="function"}Oo.func=Hbe;function F6(e){return Array.isArray(e)}Oo.array=F6;function pbe(e){return F6(e)&&e.every(t=>O6(t))}Oo.stringArray=pbe});var xD=Le(Ln=>{"use strict";Object.defineProperty(Ln,"__esModule",{value:!0});Ln.Message=Ln.NotificationType9=Ln.NotificationType8=Ln.NotificationType7=Ln.NotificationType6=Ln.NotificationType5=Ln.NotificationType4=Ln.NotificationType3=Ln.NotificationType2=Ln.NotificationType1=Ln.NotificationType0=Ln.NotificationType=Ln.RequestType9=Ln.RequestType8=Ln.RequestType7=Ln.RequestType6=Ln.RequestType5=Ln.RequestType4=Ln.RequestType3=Ln.RequestType2=Ln.RequestType1=Ln.RequestType=Ln.RequestType0=Ln.AbstractMessageSignature=Ln.ParameterStructures=Ln.ResponseError=Ln.ErrorCodes=void 0;var Gd=Ph(),j6;(function(e){e.ParseError=-32700,e.InvalidRequest=-32600,e.MethodNotFound=-32601,e.InvalidParams=-32602,e.InternalError=-32603,e.jsonrpcReservedErrorRangeStart=-32099,e.serverErrorStart=-32099,e.MessageWriteError=-32099,e.MessageReadError=-32098,e.PendingResponseRejected=-32097,e.ConnectionInactive=-32096,e.ServerNotInitialized=-32002,e.UnknownErrorCode=-32001,e.jsonrpcReservedErrorRangeEnd=-32e3,e.serverErrorEnd=-32e3})(j6=Ln.ErrorCodes||(Ln.ErrorCodes={}));var aD=class e extends Error{constructor(t,n,i){super(n),this.code=Gd.number(t)?t:j6.UnknownErrorCode,this.data=i,Object.setPrototypeOf(this,e.prototype)}toJson(){let t={code:this.code,message:this.message};return this.data!==void 0&&(t.data=this.data),t}};Ln.ResponseError=aD;var ul=class e{constructor(t){this.kind=t}static is(t){return t===e.auto||t===e.byName||t===e.byPosition}toString(){return this.kind}};Ln.ParameterStructures=ul;ul.auto=new ul("auto");ul.byPosition=new ul("byPosition");ul.byName=new ul("byName");var zs=class{constructor(t,n){this.method=t,this.numberOfParams=n}get parameterStructures(){return ul.auto}};Ln.AbstractMessageSignature=zs;var oD=class extends zs{constructor(t){super(t,0)}};Ln.RequestType0=oD;var lD=class extends zs{constructor(t,n=ul.auto){super(t,1),this._parameterStructures=n}get parameterStructures(){return this._parameterStructures}};Ln.RequestType=lD;var cD=class extends zs{constructor(t,n=ul.auto){super(t,1),this._parameterStructures=n}get parameterStructures(){return this._parameterStructures}};Ln.RequestType1=cD;var uD=class extends zs{constructor(t){super(t,2)}};Ln.RequestType2=uD;var HD=class extends zs{constructor(t){super(t,3)}};Ln.RequestType3=HD;var pD=class extends zs{constructor(t){super(t,4)}};Ln.RequestType4=pD;var dD=class extends zs{constructor(t){super(t,5)}};Ln.RequestType5=dD;var fD=class extends zs{constructor(t){super(t,6)}};Ln.RequestType6=fD;var hD=class extends zs{constructor(t){super(t,7)}};Ln.RequestType7=hD;var _D=class extends zs{constructor(t){super(t,8)}};Ln.RequestType8=_D;var mD=class extends zs{constructor(t){super(t,9)}};Ln.RequestType9=mD;var ED=class extends zs{constructor(t,n=ul.auto){super(t,1),this._parameterStructures=n}get parameterStructures(){return this._parameterStructures}};Ln.NotificationType=ED;var yD=class extends zs{constructor(t){super(t,0)}};Ln.NotificationType0=yD;var gD=class extends zs{constructor(t,n=ul.auto){super(t,1),this._parameterStructures=n}get parameterStructures(){return this._parameterStructures}};Ln.NotificationType1=gD;var bD=class extends zs{constructor(t){super(t,2)}};Ln.NotificationType2=bD;var AD=class extends zs{constructor(t){super(t,3)}};Ln.NotificationType3=AD;var ID=class extends zs{constructor(t){super(t,4)}};Ln.NotificationType4=ID;var SD=class extends zs{constructor(t){super(t,5)}};Ln.NotificationType5=SD;var LD=class extends zs{constructor(t){super(t,6)}};Ln.NotificationType6=LD;var TD=class extends zs{constructor(t){super(t,7)}};Ln.NotificationType7=TD;var vD=class extends zs{constructor(t){super(t,8)}};Ln.NotificationType8=vD;var CD=class extends zs{constructor(t){super(t,9)}};Ln.NotificationType9=CD;var dbe;(function(e){function t(o){let r=o;return r&&Gd.string(r.method)&&(Gd.string(r.id)||Gd.number(r.id))}e.isRequest=t;function n(o){let r=o;return r&&Gd.string(r.method)&&o.id===void 0}e.isNotification=n;function i(o){let r=o;return r&&(r.result!==void 0||!!r.error)&&(Gd.string(r.id)||Gd.number(r.id)||r.id===null)}e.isResponse=i})(dbe=Ln.Message||(Ln.Message={}))});var PD=Le(hH=>{"use strict";var U6;Object.defineProperty(hH,"__esModule",{value:!0});hH.LRUCache=hH.LinkedMap=hH.Touch=void 0;var Jo;(function(e){e.None=0,e.First=1,e.AsOld=e.First,e.Last=2,e.AsNew=e.Last})(Jo=hH.Touch||(hH.Touch={}));var bb=class{constructor(){this[U6]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}has(t){return this._map.has(t)}get(t,n=Jo.None){let i=this._map.get(t);if(i)return n!==Jo.None&&this.touch(i,n),i.value}set(t,n,i=Jo.None){let o=this._map.get(t);if(o)o.value=n,i!==Jo.None&&this.touch(o,i);else{switch(o={key:t,value:n,next:void 0,previous:void 0},i){case Jo.None:this.addItemLast(o);break;case Jo.First:this.addItemFirst(o);break;case Jo.Last:this.addItemLast(o);break;default:this.addItemLast(o);break}this._map.set(t,o),this._size++}return this}delete(t){return!!this.remove(t)}remove(t){let n=this._map.get(t);if(n)return this._map.delete(t),this.removeItem(n),this._size--,n.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");let t=this._head;return this._map.delete(t.key),this.removeItem(t),this._size--,t.value}forEach(t,n){let i=this._state,o=this._head;for(;o;){if(n?t.bind(n)(o.value,o.key,this):t(o.value,o.key,this),this._state!==i)throw new Error("LinkedMap got modified during iteration.");o=o.next}}keys(){let t=this._state,n=this._head,i={[Symbol.iterator]:()=>i,next:()=>{if(this._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){let o={value:n.key,done:!1};return n=n.next,o}else return{value:void 0,done:!0}}};return i}values(){let t=this._state,n=this._head,i={[Symbol.iterator]:()=>i,next:()=>{if(this._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){let o={value:n.value,done:!1};return n=n.next,o}else return{value:void 0,done:!0}}};return i}entries(){let t=this._state,n=this._head,i={[Symbol.iterator]:()=>i,next:()=>{if(this._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){let o={value:[n.key,n.value],done:!1};return n=n.next,o}else return{value:void 0,done:!0}}};return i}[(U6=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(t){if(t>=this.size)return;if(t===0){this.clear();return}let n=this._head,i=this.size;for(;n&&i>t;)this._map.delete(n.key),n=n.next,i--;this._head=n,this._size=i,n&&(n.previous=void 0),this._state++}addItemFirst(t){if(!this._head&&!this._tail)this._tail=t;else if(this._head)t.next=this._head,this._head.previous=t;else throw new Error("Invalid list");this._head=t,this._state++}addItemLast(t){if(!this._head&&!this._tail)this._head=t;else if(this._tail)t.previous=this._tail,this._tail.next=t;else throw new Error("Invalid list");this._tail=t,this._state++}removeItem(t){if(t===this._head&&t===this._tail)this._head=void 0,this._tail=void 0;else if(t===this._head){if(!t.next)throw new Error("Invalid list");t.next.previous=void 0,this._head=t.next}else if(t===this._tail){if(!t.previous)throw new Error("Invalid list");t.previous.next=void 0,this._tail=t.previous}else{let n=t.next,i=t.previous;if(!n||!i)throw new Error("Invalid list");n.previous=i,i.next=n}t.next=void 0,t.previous=void 0,this._state++}touch(t,n){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(n!==Jo.First&&n!==Jo.Last)){if(n===Jo.First){if(t===this._head)return;let i=t.next,o=t.previous;t===this._tail?(o.next=void 0,this._tail=o):(i.previous=o,o.next=i),t.previous=void 0,t.next=this._head,this._head.previous=t,this._head=t,this._state++}else if(n===Jo.Last){if(t===this._tail)return;let i=t.next,o=t.previous;t===this._head?(i.previous=void 0,this._head=i):(i.previous=o,o.next=i),t.next=void 0,t.previous=this._tail,this._tail.next=t,this._tail=t,this._state++}}}toJSON(){let t=[];return this.forEach((n,i)=>{t.push([i,n])}),t}fromJSON(t){this.clear();for(let[n,i]of t)this.set(n,i)}};hH.LinkedMap=bb;var DD=class extends bb{constructor(t,n=1){super(),this._limit=t,this._ratio=Math.min(Math.max(0,n),1)}get limit(){return this._limit}set limit(t){this._limit=t,this.checkTrim()}get ratio(){return this._ratio}set ratio(t){this._ratio=Math.min(Math.max(0,t),1),this.checkTrim()}get(t,n=Jo.AsNew){return super.get(t,n)}peek(t){return super.get(t,Jo.None)}set(t,n){return super.set(t,n,Jo.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}};hH.LRUCache=DD});var q6=Le(wE=>{"use strict";Object.defineProperty(wE,"__esModule",{value:!0});wE.Disposable=void 0;var fbe;(function(e){function t(n){return{dispose:n}}e.create=t})(fbe=wE.Disposable||(wE.Disposable={}))});var Ip=Le(ND=>{"use strict";Object.defineProperty(ND,"__esModule",{value:!0});var wD;function kD(){if(wD===void 0)throw new Error("No runtime abstraction layer installed");return wD}(function(e){function t(n){if(n===void 0)throw new Error("No runtime abstraction layer provided");wD=n}e.install=t})(kD||(kD={}));ND.default=kD});var wh=Le(Xd=>{"use strict";Object.defineProperty(Xd,"__esModule",{value:!0});Xd.Emitter=Xd.Event=void 0;var hbe=Ip(),_be;(function(e){let t={dispose(){}};e.None=function(){return t}})(_be=Xd.Event||(Xd.Event={}));var RD=class{add(t,n=null,i){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(t),this._contexts.push(n),Array.isArray(i)&&i.push({dispose:()=>this.remove(t,n)})}remove(t,n=null){if(!this._callbacks)return;let i=!1;for(let o=0,r=this._callbacks.length;o<r;o++)if(this._callbacks[o]===t)if(this._contexts[o]===n){this._callbacks.splice(o,1),this._contexts.splice(o,1);return}else i=!0;if(i)throw new Error("When adding a listener with a context, you should remove it with the same context")}invoke(...t){if(!this._callbacks)return[];let n=[],i=this._callbacks.slice(0),o=this._contexts.slice(0);for(let r=0,c=i.length;r<c;r++)try{n.push(i[r].apply(o[r],t))}catch(s){(0,hbe.default)().console.error(s)}return n}isEmpty(){return!this._callbacks||this._callbacks.length===0}dispose(){this._callbacks=void 0,this._contexts=void 0}},Ab=class e{constructor(t){this._options=t}get event(){return this._event||(this._event=(t,n,i)=>{this._callbacks||(this._callbacks=new RD),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(t,n);let o={dispose:()=>{this._callbacks&&(this._callbacks.remove(t,n),o.dispose=e._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(i)&&i.push(o),o}),this._event}fire(t){this._callbacks&&this._callbacks.invoke.call(this._callbacks,t)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}};Xd.Emitter=Ab;Ab._noop=function(){}});var Sb=Le(Zd=>{"use strict";Object.defineProperty(Zd,"__esModule",{value:!0});Zd.CancellationTokenSource=Zd.CancellationToken=void 0;var mbe=Ip(),Ebe=Ph(),$D=wh(),MD;(function(e){e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:$D.Event.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:$D.Event.None});function t(n){let i=n;return i&&(i===e.None||i===e.Cancelled||Ebe.boolean(i.isCancellationRequested)&&!!i.onCancellationRequested)}e.is=t})(MD=Zd.CancellationToken||(Zd.CancellationToken={}));var ybe=Object.freeze(function(e,t){let n=(0,mbe.default)().timer.setTimeout(e.bind(t),0);return{dispose(){n.dispose()}}}),Ib=class{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?ybe:(this._emitter||(this._emitter=new $D.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}},BD=class{get token(){return this._token||(this._token=new Ib),this._token}cancel(){this._token?this._token.cancel():this._token=MD.Cancelled}dispose(){this._token?this._token instanceof Ib&&this._token.dispose():this._token=MD.None}};Zd.CancellationTokenSource=BD});var W6=Le(kh=>{"use strict";Object.defineProperty(kh,"__esModule",{value:!0});kh.SharedArrayReceiverStrategy=kh.SharedArraySenderStrategy=void 0;var gbe=Sb(),kE;(function(e){e.Continue=0,e.Cancelled=1})(kE||(kE={}));var OD=class{constructor(){this.buffers=new Map}enableCancellation(t){if(t.id===null)return;let n=new SharedArrayBuffer(4),i=new Int32Array(n,0,1);i[0]=kE.Continue,this.buffers.set(t.id,n),t.$cancellationData=n}async sendCancellation(t,n){let i=this.buffers.get(n);if(i===void 0)return;let o=new Int32Array(i,0,1);Atomics.store(o,0,kE.Cancelled)}cleanup(t){this.buffers.delete(t)}dispose(){this.buffers.clear()}};kh.SharedArraySenderStrategy=OD;var FD=class{constructor(t){this.data=new Int32Array(t,0,1)}get isCancellationRequested(){return Atomics.load(this.data,0)===kE.Cancelled}get onCancellationRequested(){throw new Error("Cancellation over SharedArrayBuffer doesn't support cancellation events")}},jD=class{constructor(t){this.token=new FD(t)}cancel(){}dispose(){}},UD=class{constructor(){this.kind="request"}createCancellationTokenSource(t){let n=t.$cancellationData;return n===void 0?new gbe.CancellationTokenSource:new jD(n)}};kh.SharedArrayReceiverStrategy=UD});var WD=Le(Lb=>{"use strict";Object.defineProperty(Lb,"__esModule",{value:!0});Lb.Semaphore=void 0;var bbe=Ip(),qD=class{constructor(t=1){if(t<=0)throw new Error("Capacity must be greater than 0");this._capacity=t,this._active=0,this._waiting=[]}lock(t){return new Promise((n,i)=>{this._waiting.push({thunk:t,resolve:n,reject:i}),this.runNext()})}get active(){return this._active}runNext(){this._waiting.length===0||this._active===this._capacity||(0,bbe.default)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;let t=this._waiting.shift();if(this._active++,this._active>this._capacity)throw new Error("To many thunks active");try{let n=t.thunk();n instanceof Promise?n.then(i=>{this._active--,t.resolve(i),this.runNext()},i=>{this._active--,t.reject(i),this.runNext()}):(this._active--,t.resolve(n),this.runNext())}catch(n){this._active--,t.reject(n),this.runNext()}}};Lb.Semaphore=qD});var V6=Le(_H=>{"use strict";Object.defineProperty(_H,"__esModule",{value:!0});_H.ReadableStreamMessageReader=_H.AbstractMessageReader=_H.MessageReader=void 0;var KD=Ip(),Nh=Ph(),VD=wh(),Abe=WD(),Ibe;(function(e){function t(n){let i=n;return i&&Nh.func(i.listen)&&Nh.func(i.dispose)&&Nh.func(i.onError)&&Nh.func(i.onClose)&&Nh.func(i.onPartialMessage)}e.is=t})(Ibe=_H.MessageReader||(_H.MessageReader={}));var Tb=class{constructor(){this.errorEmitter=new VD.Emitter,this.closeEmitter=new VD.Emitter,this.partialMessageEmitter=new VD.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(t){this.errorEmitter.fire(this.asError(t))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(t){this.partialMessageEmitter.fire(t)}asError(t){return t instanceof Error?t:new Error(`Reader received error. Reason: ${Nh.string(t.message)?t.message:"unknown"}`)}};_H.AbstractMessageReader=Tb;var GD;(function(e){function t(n){let i,o,r,c=new Map,s,u=new Map;if(n===void 0||typeof n=="string")i=n??"utf-8";else{if(i=n.charset??"utf-8",n.contentDecoder!==void 0&&(r=n.contentDecoder,c.set(r.name,r)),n.contentDecoders!==void 0)for(let H of n.contentDecoders)c.set(H.name,H);if(n.contentTypeDecoder!==void 0&&(s=n.contentTypeDecoder,u.set(s.name,s)),n.contentTypeDecoders!==void 0)for(let H of n.contentTypeDecoders)u.set(H.name,H)}return s===void 0&&(s=(0,KD.default)().applicationJson.decoder,u.set(s.name,s)),{charset:i,contentDecoder:r,contentDecoders:c,contentTypeDecoder:s,contentTypeDecoders:u}}e.fromOptions=t})(GD||(GD={}));var XD=class extends Tb{constructor(t,n){super(),this.readable=t,this.options=GD.fromOptions(n),this.buffer=(0,KD.default)().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0,this.readSemaphore=new Abe.Semaphore(1)}set partialMessageTimeout(t){this._partialMessageTimeout=t}get partialMessageTimeout(){return this._partialMessageTimeout}listen(t){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=t;let n=this.readable.onData(i=>{this.onData(i)});return this.readable.onError(i=>this.fireError(i)),this.readable.onClose(()=>this.fireClose()),n}onData(t){for(this.buffer.append(t);;){if(this.nextMessageLength===-1){let i=this.buffer.tryReadHeaders(!0);if(!i)return;let o=i.get("content-length");if(!o){this.fireError(new Error("Header must provide a Content-Length property."));return}let r=parseInt(o);if(isNaN(r)){this.fireError(new Error("Content-Length value must be a number."));return}this.nextMessageLength=r}let n=this.buffer.tryReadBody(this.nextMessageLength);if(n===void 0){this.setPartialMessageTimer();return}this.clearPartialMessageTimer(),this.nextMessageLength=-1,this.readSemaphore.lock(async()=>{let i=this.options.contentDecoder!==void 0?await this.options.contentDecoder.decode(n):n,o=await this.options.contentTypeDecoder.decode(i,this.options);this.callback(o)}).catch(i=>{this.fireError(i)})}}clearPartialMessageTimer(){this.partialMessageTimer&&(this.partialMessageTimer.dispose(),this.partialMessageTimer=void 0)}setPartialMessageTimer(){this.clearPartialMessageTimer(),!(this._partialMessageTimeout<=0)&&(this.partialMessageTimer=(0,KD.default)().timer.setTimeout((t,n)=>{this.partialMessageTimer=void 0,t===this.messageToken&&(this.firePartialMessage({messageToken:t,waitingTime:n}),this.setPartialMessageTimer())},this._partialMessageTimeout,this.messageToken,this._partialMessageTimeout))}};_H.ReadableStreamMessageReader=XD});var Z6=Le(mH=>{"use strict";Object.defineProperty(mH,"__esModule",{value:!0});mH.WriteableStreamMessageWriter=mH.AbstractMessageWriter=mH.MessageWriter=void 0;var K6=Ip(),NE=Ph(),Sbe=WD(),G6=wh(),Lbe="Content-Length: ",X6=`\r
|
|
`,Tbe;(function(e){function t(n){let i=n;return i&&NE.func(i.dispose)&&NE.func(i.onClose)&&NE.func(i.onError)&&NE.func(i.write)}e.is=t})(Tbe=mH.MessageWriter||(mH.MessageWriter={}));var vb=class{constructor(){this.errorEmitter=new G6.Emitter,this.closeEmitter=new G6.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(t,n,i){this.errorEmitter.fire([this.asError(t),n,i])}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}asError(t){return t instanceof Error?t:new Error(`Writer received error. Reason: ${NE.string(t.message)?t.message:"unknown"}`)}};mH.AbstractMessageWriter=vb;var ZD;(function(e){function t(n){return n===void 0||typeof n=="string"?{charset:n??"utf-8",contentTypeEncoder:(0,K6.default)().applicationJson.encoder}:{charset:n.charset??"utf-8",contentEncoder:n.contentEncoder,contentTypeEncoder:n.contentTypeEncoder??(0,K6.default)().applicationJson.encoder}}e.fromOptions=t})(ZD||(ZD={}));var zD=class extends vb{constructor(t,n){super(),this.writable=t,this.options=ZD.fromOptions(n),this.errorCount=0,this.writeSemaphore=new Sbe.Semaphore(1),this.writable.onError(i=>this.fireError(i)),this.writable.onClose(()=>this.fireClose())}async write(t){return this.writeSemaphore.lock(async()=>this.options.contentTypeEncoder.encode(t,this.options).then(i=>this.options.contentEncoder!==void 0?this.options.contentEncoder.encode(i):i).then(i=>{let o=[];return o.push(Lbe,i.byteLength.toString(),X6),o.push(X6),this.doWrite(t,o,i)},i=>{throw this.fireError(i),i}))}async doWrite(t,n,i){try{return await this.writable.write(n.join(""),"ascii"),this.writable.write(i)}catch(o){return this.handleError(o,t),Promise.reject(o)}}handleError(t,n){this.errorCount++,this.fireError(t,n,this.errorCount)}end(){this.writable.end()}};mH.WriteableStreamMessageWriter=zD});var z6=Le(Cb=>{"use strict";Object.defineProperty(Cb,"__esModule",{value:!0});Cb.AbstractMessageBuffer=void 0;var vbe=13,Cbe=10,xbe=`\r
|
|
`,JD=class{constructor(t="utf-8"){this._encoding=t,this._chunks=[],this._totalLength=0}get encoding(){return this._encoding}append(t){let n=typeof t=="string"?this.fromString(t,this._encoding):t;this._chunks.push(n),this._totalLength+=n.byteLength}tryReadHeaders(t=!1){if(this._chunks.length===0)return;let n=0,i=0,o=0,r=0;e:for(;i<this._chunks.length;){let H=this._chunks[i];for(o=0;o<H.length;){switch(H[o]){case vbe:switch(n){case 0:n=1;break;case 2:n=3;break;default:n=0}break;case Cbe:switch(n){case 1:n=2;break;case 3:n=4,o++;break e;default:n=0}break;default:n=0}o++}r+=H.byteLength,i++}if(n!==4)return;let c=this._read(r+o),s=new Map,u=this.toString(c,"ascii").split(xbe);if(u.length<2)return s;for(let H=0;H<u.length-2;H++){let a=u[H],l=a.indexOf(":");if(l===-1)throw new Error("Message header must separate key and value using :");let p=a.substr(0,l),d=a.substr(l+1).trim();s.set(t?p.toLowerCase():p,d)}return s}tryReadBody(t){if(!(this._totalLength<t))return this._read(t)}get numberOfBytes(){return this._totalLength}_read(t){if(t===0)return this.emptyBuffer();if(t>this._totalLength)throw new Error("Cannot read so many bytes!");if(this._chunks[0].byteLength===t){let r=this._chunks[0];return this._chunks.shift(),this._totalLength-=t,this.asNative(r)}if(this._chunks[0].byteLength>t){let r=this._chunks[0],c=this.asNative(r,t);return this._chunks[0]=r.slice(t),this._totalLength-=t,c}let n=this.allocNative(t),i=0,o=0;for(;t>0;){let r=this._chunks[o];if(r.byteLength>t){let c=r.slice(0,t);n.set(c,i),i+=t,this._chunks[o]=r.slice(t),this._totalLength-=t,t-=t}else n.set(r,i),i+=r.byteLength,this._chunks.shift(),this._totalLength-=r.byteLength,t-=r.byteLength}return n}};Cb.AbstractMessageBuffer=JD});var nq=Le(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.createMessageConnection=An.ConnectionOptions=An.MessageStrategy=An.CancellationStrategy=An.CancellationSenderStrategy=An.CancellationReceiverStrategy=An.RequestCancellationReceiverStrategy=An.IdCancellationReceiverStrategy=An.ConnectionStrategy=An.ConnectionError=An.ConnectionErrors=An.LogTraceNotification=An.SetTraceNotification=An.TraceFormat=An.TraceValues=An.Trace=An.NullLogger=An.ProgressType=An.ProgressToken=void 0;var J6=Ip(),ga=Ph(),Nn=xD(),Q6=PD(),RE=wh(),QD=Sb(),ME;(function(e){e.type=new Nn.NotificationType("$/cancelRequest")})(ME||(ME={}));var Y6;(function(e){function t(n){return typeof n=="string"||typeof n=="number"}e.is=t})(Y6=An.ProgressToken||(An.ProgressToken={}));var $E;(function(e){e.type=new Nn.NotificationType("$/progress")})($E||($E={}));var YD=class{constructor(){}};An.ProgressType=YD;var eP;(function(e){function t(n){return ga.func(n)}e.is=t})(eP||(eP={}));An.NullLogger=Object.freeze({error:()=>{},warn:()=>{},info:()=>{},log:()=>{}});var hs;(function(e){e[e.Off=0]="Off",e[e.Messages=1]="Messages",e[e.Compact=2]="Compact",e[e.Verbose=3]="Verbose"})(hs=An.Trace||(An.Trace={}));var Dbe;(function(e){e.Off="off",e.Messages="messages",e.Compact="compact",e.Verbose="verbose"})(Dbe=An.TraceValues||(An.TraceValues={}));(function(e){function t(i){if(!ga.string(i))return e.Off;switch(i=i.toLowerCase(),i){case"off":return e.Off;case"messages":return e.Messages;case"compact":return e.Compact;case"verbose":return e.Verbose;default:return e.Off}}e.fromString=t;function n(i){switch(i){case e.Off:return"off";case e.Messages:return"messages";case e.Compact:return"compact";case e.Verbose:return"verbose";default:return"off"}}e.toString=n})(hs=An.Trace||(An.Trace={}));var Fc;(function(e){e.Text="text",e.JSON="json"})(Fc=An.TraceFormat||(An.TraceFormat={}));(function(e){function t(n){return ga.string(n)?(n=n.toLowerCase(),n==="json"?e.JSON:e.Text):e.Text}e.fromString=t})(Fc=An.TraceFormat||(An.TraceFormat={}));var eq;(function(e){e.type=new Nn.NotificationType("$/setTrace")})(eq=An.SetTraceNotification||(An.SetTraceNotification={}));var tP;(function(e){e.type=new Nn.NotificationType("$/logTrace")})(tP=An.LogTraceNotification||(An.LogTraceNotification={}));var xb;(function(e){e[e.Closed=1]="Closed",e[e.Disposed=2]="Disposed",e[e.AlreadyListening=3]="AlreadyListening"})(xb=An.ConnectionErrors||(An.ConnectionErrors={}));var Rh=class e extends Error{constructor(t,n){super(n),this.code=t,Object.setPrototypeOf(this,e.prototype)}};An.ConnectionError=Rh;var tq;(function(e){function t(n){let i=n;return i&&ga.func(i.cancelUndispatched)}e.is=t})(tq=An.ConnectionStrategy||(An.ConnectionStrategy={}));var iP;(function(e){function t(n){let i=n;return i&&(i.kind===void 0||i.kind==="id")&&ga.func(i.createCancellationTokenSource)&&(i.dispose===void 0||ga.func(i.dispose))}e.is=t})(iP=An.IdCancellationReceiverStrategy||(An.IdCancellationReceiverStrategy={}));var rq;(function(e){function t(n){let i=n;return i&&i.kind==="request"&&ga.func(i.createCancellationTokenSource)&&(i.dispose===void 0||ga.func(i.dispose))}e.is=t})(rq=An.RequestCancellationReceiverStrategy||(An.RequestCancellationReceiverStrategy={}));var rP;(function(e){e.Message=Object.freeze({createCancellationTokenSource(n){return new QD.CancellationTokenSource}});function t(n){return iP.is(n)||rq.is(n)}e.is=t})(rP=An.CancellationReceiverStrategy||(An.CancellationReceiverStrategy={}));var nP;(function(e){e.Message=Object.freeze({sendCancellation(n,i){return n.sendNotification(ME.type,{id:i})},cleanup(n){}});function t(n){let i=n;return i&&ga.func(i.sendCancellation)&&ga.func(i.cleanup)}e.is=t})(nP=An.CancellationSenderStrategy||(An.CancellationSenderStrategy={}));var sP;(function(e){e.Message=Object.freeze({receiver:rP.Message,sender:nP.Message});function t(n){let i=n;return i&&rP.is(i.receiver)&&nP.is(i.sender)}e.is=t})(sP=An.CancellationStrategy||(An.CancellationStrategy={}));var aP;(function(e){function t(n){let i=n;return i&&ga.func(i.handleMessage)}e.is=t})(aP=An.MessageStrategy||(An.MessageStrategy={}));var Pbe;(function(e){function t(n){let i=n;return i&&(sP.is(i.cancellationStrategy)||tq.is(i.connectionStrategy)||aP.is(i.messageStrategy))}e.is=t})(Pbe=An.ConnectionOptions||(An.ConnectionOptions={}));var jc;(function(e){e[e.New=1]="New",e[e.Listening=2]="Listening",e[e.Closed=3]="Closed",e[e.Disposed=4]="Disposed"})(jc||(jc={}));function wbe(e,t,n,i){let o=n!==void 0?n:An.NullLogger,r=0,c=0,s=0,u="2.0",H,a=new Map,l,p=new Map,d=new Map,h,m=new Q6.LinkedMap,g=new Map,y=new Set,_=new Map,E=hs.Off,A=Fc.Text,S,T=jc.New,I=new RE.Emitter,L=new RE.Emitter,x=new RE.Emitter,C=new RE.Emitter,D=new RE.Emitter,O=i&&i.cancellationStrategy?i.cancellationStrategy:sP.Message;function j(pe){if(pe===null)throw new Error("Can't send requests with id null since the response can't be correlated.");return"req-"+pe.toString()}function k(pe){return pe===null?"res-unknown-"+(++s).toString():"res-"+pe.toString()}function $(){return"not-"+(++c).toString()}function U(pe,ue){Nn.Message.isRequest(ue)?pe.set(j(ue.id),ue):Nn.Message.isResponse(ue)?pe.set(k(ue.id),ue):pe.set($(),ue)}function F(pe){}function P(){return T===jc.Listening}function W(){return T===jc.Closed}function Z(){return T===jc.Disposed}function ee(){(T===jc.New||T===jc.Listening)&&(T=jc.Closed,L.fire(void 0))}function J(pe){I.fire([pe,void 0,void 0])}function ne(pe){I.fire(pe)}e.onClose(ee),e.onError(J),t.onClose(ee),t.onError(ne);function K(){h||m.size===0||(h=(0,J6.default)().timer.setImmediate(()=>{h=void 0,Q()}))}function q(pe){Nn.Message.isRequest(pe)?ie(pe):Nn.Message.isNotification(pe)?He(pe):Nn.Message.isResponse(pe)?_e(pe):be(pe)}function Q(){if(m.size===0)return;let pe=m.shift();try{let ue=i?.messageStrategy;aP.is(ue)?ue.handleMessage(pe,q):q(pe)}finally{K()}}let z=pe=>{try{if(Nn.Message.isNotification(pe)&&pe.method===ME.type.method){let ue=pe.params.id,Se=j(ue),Ae=m.get(Se);if(Nn.Message.isRequest(Ae)){let We=i?.connectionStrategy,tt=We&&We.cancelUndispatched?We.cancelUndispatched(Ae,F):void 0;if(tt&&(tt.error!==void 0||tt.result!==void 0)){m.delete(Se),_.delete(ue),tt.id=Ae.id,ce(tt,pe.method,Date.now()),t.write(tt).catch(()=>o.error("Sending response for canceled message failed."));return}}let de=_.get(ue);if(de!==void 0){de.cancel(),je(pe);return}else y.add(ue)}U(m,pe)}finally{K()}};function ie(pe){if(Z())return;function ue(At,pt,Nt){let Ce={jsonrpc:u,id:pe.id};At instanceof Nn.ResponseError?Ce.error=At.toJson():Ce.result=At===void 0?null:At,ce(Ce,pt,Nt),t.write(Ce).catch(()=>o.error("Sending response failed."))}function Se(At,pt,Nt){let Ce={jsonrpc:u,id:pe.id,error:At.toJson()};ce(Ce,pt,Nt),t.write(Ce).catch(()=>o.error("Sending response failed."))}function Ae(At,pt,Nt){At===void 0&&(At=null);let Ce={jsonrpc:u,id:pe.id,result:At};ce(Ce,pt,Nt),t.write(Ce).catch(()=>o.error("Sending response failed."))}ke(pe);let de=a.get(pe.method),We,tt;de&&(We=de.type,tt=de.handler);let mt=Date.now();if(tt||H){let At=pe.id??String(Date.now()),pt=iP.is(O.receiver)?O.receiver.createCancellationTokenSource(At):O.receiver.createCancellationTokenSource(pe);pe.id!==null&&y.has(pe.id)&&pt.cancel(),pe.id!==null&&_.set(At,pt);try{let Nt;if(tt)if(pe.params===void 0){if(We!==void 0&&We.numberOfParams!==0){Se(new Nn.ResponseError(Nn.ErrorCodes.InvalidParams,`Request ${pe.method} defines ${We.numberOfParams} params but received none.`),pe.method,mt);return}Nt=tt(pt.token)}else if(Array.isArray(pe.params)){if(We!==void 0&&We.parameterStructures===Nn.ParameterStructures.byName){Se(new Nn.ResponseError(Nn.ErrorCodes.InvalidParams,`Request ${pe.method} defines parameters by name but received parameters by position`),pe.method,mt);return}Nt=tt(...pe.params,pt.token)}else{if(We!==void 0&&We.parameterStructures===Nn.ParameterStructures.byPosition){Se(new Nn.ResponseError(Nn.ErrorCodes.InvalidParams,`Request ${pe.method} defines parameters by position but received parameters by name`),pe.method,mt);return}Nt=tt(pe.params,pt.token)}else H&&(Nt=H(pe.method,pe.params,pt.token));let Ce=Nt;Nt?Ce.then?Ce.then(qe=>{_.delete(At),ue(qe,pe.method,mt)},qe=>{_.delete(At),qe instanceof Nn.ResponseError?Se(qe,pe.method,mt):qe&&ga.string(qe.message)?Se(new Nn.ResponseError(Nn.ErrorCodes.InternalError,`Request ${pe.method} failed with message: ${qe.message}`),pe.method,mt):Se(new Nn.ResponseError(Nn.ErrorCodes.InternalError,`Request ${pe.method} failed unexpectedly without providing any details.`),pe.method,mt)}):(_.delete(At),ue(Nt,pe.method,mt)):(_.delete(At),Ae(Nt,pe.method,mt))}catch(Nt){_.delete(At),Nt instanceof Nn.ResponseError?ue(Nt,pe.method,mt):Nt&&ga.string(Nt.message)?Se(new Nn.ResponseError(Nn.ErrorCodes.InternalError,`Request ${pe.method} failed with message: ${Nt.message}`),pe.method,mt):Se(new Nn.ResponseError(Nn.ErrorCodes.InternalError,`Request ${pe.method} failed unexpectedly without providing any details.`),pe.method,mt)}}else Se(new Nn.ResponseError(Nn.ErrorCodes.MethodNotFound,`Unhandled method ${pe.method}`),pe.method,mt)}function _e(pe){if(!Z())if(pe.id===null)pe.error?o.error(`Received response message without id: Error is:
|
|
${JSON.stringify(pe.error,void 0,4)}`):o.error("Received response message without id. No further error information provided.");else{let ue=pe.id,Se=g.get(ue);if(Oe(pe,Se),Se!==void 0){g.delete(ue);try{if(pe.error){let Ae=pe.error;Se.reject(new Nn.ResponseError(Ae.code,Ae.message,Ae.data))}else if(pe.result!==void 0)Se.resolve(pe.result);else throw new Error("Should never happen.")}catch(Ae){Ae.message?o.error(`Response handler '${Se.method}' failed with message: ${Ae.message}`):o.error(`Response handler '${Se.method}' failed unexpectedly.`)}}}}function He(pe){if(Z())return;let ue,Se;if(pe.method===ME.type.method){let Ae=pe.params.id;y.delete(Ae),je(pe);return}else{let Ae=p.get(pe.method);Ae&&(Se=Ae.handler,ue=Ae.type)}if(Se||l)try{if(je(pe),Se)if(pe.params===void 0)ue!==void 0&&ue.numberOfParams!==0&&ue.parameterStructures!==Nn.ParameterStructures.byName&&o.error(`Notification ${pe.method} defines ${ue.numberOfParams} params but received none.`),Se();else if(Array.isArray(pe.params)){let Ae=pe.params;pe.method===$E.type.method&&Ae.length===2&&Y6.is(Ae[0])?Se({token:Ae[0],value:Ae[1]}):(ue!==void 0&&(ue.parameterStructures===Nn.ParameterStructures.byName&&o.error(`Notification ${pe.method} defines parameters by name but received parameters by position`),ue.numberOfParams!==pe.params.length&&o.error(`Notification ${pe.method} defines ${ue.numberOfParams} params but received ${Ae.length} arguments`)),Se(...Ae))}else ue!==void 0&&ue.parameterStructures===Nn.ParameterStructures.byPosition&&o.error(`Notification ${pe.method} defines parameters by position but received parameters by name`),Se(pe.params);else l&&l(pe.method,pe.params)}catch(Ae){Ae.message?o.error(`Notification handler '${pe.method}' failed with message: ${Ae.message}`):o.error(`Notification handler '${pe.method}' failed unexpectedly.`)}else x.fire(pe)}function be(pe){if(!pe){o.error("Received empty message.");return}o.error(`Received message which is neither a response nor a notification message:
|
|
${JSON.stringify(pe,null,4)}`);let ue=pe;if(ga.string(ue.id)||ga.number(ue.id)){let Se=ue.id,Ae=g.get(Se);Ae&&Ae.reject(new Error("The received response has neither a result nor an error property."))}}function Ve(pe){if(pe!=null)switch(E){case hs.Verbose:return JSON.stringify(pe,null,4);case hs.Compact:return JSON.stringify(pe);default:return}}function Fe(pe){if(!(E===hs.Off||!S))if(A===Fc.Text){let ue;(E===hs.Verbose||E===hs.Compact)&&pe.params&&(ue=`Params: ${Ve(pe.params)}
|
|
|
|
`),S.log(`Sending request '${pe.method} - (${pe.id})'.`,ue)}else re("send-request",pe)}function me(pe){if(!(E===hs.Off||!S))if(A===Fc.Text){let ue;(E===hs.Verbose||E===hs.Compact)&&(pe.params?ue=`Params: ${Ve(pe.params)}
|
|
|
|
`:ue=`No parameters provided.
|
|
|
|
`),S.log(`Sending notification '${pe.method}'.`,ue)}else re("send-notification",pe)}function ce(pe,ue,Se){if(!(E===hs.Off||!S))if(A===Fc.Text){let Ae;(E===hs.Verbose||E===hs.Compact)&&(pe.error&&pe.error.data?Ae=`Error data: ${Ve(pe.error.data)}
|
|
|
|
`:pe.result?Ae=`Result: ${Ve(pe.result)}
|
|
|
|
`:pe.error===void 0&&(Ae=`No result returned.
|
|
|
|
`)),S.log(`Sending response '${ue} - (${pe.id})'. Processing request took ${Date.now()-Se}ms`,Ae)}else re("send-response",pe)}function ke(pe){if(!(E===hs.Off||!S))if(A===Fc.Text){let ue;(E===hs.Verbose||E===hs.Compact)&&pe.params&&(ue=`Params: ${Ve(pe.params)}
|
|
|
|
`),S.log(`Received request '${pe.method} - (${pe.id})'.`,ue)}else re("receive-request",pe)}function je(pe){if(!(E===hs.Off||!S||pe.method===tP.type.method))if(A===Fc.Text){let ue;(E===hs.Verbose||E===hs.Compact)&&(pe.params?ue=`Params: ${Ve(pe.params)}
|
|
|
|
`:ue=`No parameters provided.
|
|
|
|
`),S.log(`Received notification '${pe.method}'.`,ue)}else re("receive-notification",pe)}function Oe(pe,ue){if(!(E===hs.Off||!S))if(A===Fc.Text){let Se;if((E===hs.Verbose||E===hs.Compact)&&(pe.error&&pe.error.data?Se=`Error data: ${Ve(pe.error.data)}
|
|
|
|
`:pe.result?Se=`Result: ${Ve(pe.result)}
|
|
|
|
`:pe.error===void 0&&(Se=`No result returned.
|
|
|
|
`)),ue){let Ae=pe.error?` Request failed: ${pe.error.message} (${pe.error.code}).`:"";S.log(`Received response '${ue.method} - (${pe.id})' in ${Date.now()-ue.timerStart}ms.${Ae}`,Se)}else S.log(`Received response ${pe.id} without active response promise.`,Se)}else re("receive-response",pe)}function re(pe,ue){if(!S||E===hs.Off)return;let Se={isLSPMessage:!0,type:pe,message:ue,timestamp:Date.now()};S.log(Se)}function fe(){if(W())throw new Rh(xb.Closed,"Connection is closed.");if(Z())throw new Rh(xb.Disposed,"Connection is disposed.")}function he(){if(P())throw new Rh(xb.AlreadyListening,"Connection is already listening")}function se(){if(!P())throw new Error("Call listen() first.")}function Ie(pe){return pe===void 0?null:pe}function ye(pe){if(pe!==null)return pe}function $e(pe){return pe!=null&&!Array.isArray(pe)&&typeof pe=="object"}function nt(pe,ue){switch(pe){case Nn.ParameterStructures.auto:return $e(ue)?ye(ue):[Ie(ue)];case Nn.ParameterStructures.byName:if(!$e(ue))throw new Error("Received parameters by name but param is not an object literal.");return ye(ue);case Nn.ParameterStructures.byPosition:return[Ie(ue)];default:throw new Error(`Unknown parameter structure ${pe.toString()}`)}}function et(pe,ue){let Se,Ae=pe.numberOfParams;switch(Ae){case 0:Se=void 0;break;case 1:Se=nt(pe.parameterStructures,ue[0]);break;default:Se=[];for(let de=0;de<ue.length&&de<Ae;de++)Se.push(Ie(ue[de]));if(ue.length<Ae)for(let de=ue.length;de<Ae;de++)Se.push(null);break}return Se}let xe={sendNotification:(pe,...ue)=>{fe();let Se,Ae;if(ga.string(pe)){Se=pe;let We=ue[0],tt=0,mt=Nn.ParameterStructures.auto;Nn.ParameterStructures.is(We)&&(tt=1,mt=We);let At=ue.length,pt=At-tt;switch(pt){case 0:Ae=void 0;break;case 1:Ae=nt(mt,ue[tt]);break;default:if(mt===Nn.ParameterStructures.byName)throw new Error(`Received ${pt} parameters for 'by Name' notification parameter structure.`);Ae=ue.slice(tt,At).map(Nt=>Ie(Nt));break}}else{let We=ue;Se=pe.method,Ae=et(pe,We)}let de={jsonrpc:u,method:Se,params:Ae};return me(de),t.write(de).catch(We=>{throw o.error("Sending notification failed."),We})},onNotification:(pe,ue)=>{fe();let Se;return ga.func(pe)?l=pe:ue&&(ga.string(pe)?(Se=pe,p.set(pe,{type:void 0,handler:ue})):(Se=pe.method,p.set(pe.method,{type:pe,handler:ue}))),{dispose:()=>{Se!==void 0?p.delete(Se):l=void 0}}},onProgress:(pe,ue,Se)=>{if(d.has(ue))throw new Error(`Progress handler for token ${ue} already registered`);return d.set(ue,Se),{dispose:()=>{d.delete(ue)}}},sendProgress:(pe,ue,Se)=>xe.sendNotification($E.type,{token:ue,value:Se}),onUnhandledProgress:C.event,sendRequest:(pe,...ue)=>{fe(),se();let Se,Ae,de;if(ga.string(pe)){Se=pe;let At=ue[0],pt=ue[ue.length-1],Nt=0,Ce=Nn.ParameterStructures.auto;Nn.ParameterStructures.is(At)&&(Nt=1,Ce=At);let qe=ue.length;QD.CancellationToken.is(pt)&&(qe=qe-1,de=pt);let ot=qe-Nt;switch(ot){case 0:Ae=void 0;break;case 1:Ae=nt(Ce,ue[Nt]);break;default:if(Ce===Nn.ParameterStructures.byName)throw new Error(`Received ${ot} parameters for 'by Name' request parameter structure.`);Ae=ue.slice(Nt,qe).map(Ze=>Ie(Ze));break}}else{let At=ue;Se=pe.method,Ae=et(pe,At);let pt=pe.numberOfParams;de=QD.CancellationToken.is(At[pt])?At[pt]:void 0}let We=r++,tt;de&&(tt=de.onCancellationRequested(()=>{let At=O.sender.sendCancellation(xe,We);return At===void 0?(o.log(`Received no promise from cancellation strategy when cancelling id ${We}`),Promise.resolve()):At.catch(()=>{o.log(`Sending cancellation messages for id ${We} failed`)})}));let mt={jsonrpc:u,id:We,method:Se,params:Ae};return Fe(mt),typeof O.sender.enableCancellation=="function"&&O.sender.enableCancellation(mt),new Promise(async(At,pt)=>{let Nt=ot=>{At(ot),O.sender.cleanup(We),tt?.dispose()},Ce=ot=>{pt(ot),O.sender.cleanup(We),tt?.dispose()},qe={method:Se,timerStart:Date.now(),resolve:Nt,reject:Ce};try{await t.write(mt),g.set(We,qe)}catch(ot){throw o.error("Sending request failed."),qe.reject(new Nn.ResponseError(Nn.ErrorCodes.MessageWriteError,ot.message?ot.message:"Unknown reason")),ot}})},onRequest:(pe,ue)=>{fe();let Se=null;return eP.is(pe)?(Se=void 0,H=pe):ga.string(pe)?(Se=null,ue!==void 0&&(Se=pe,a.set(pe,{handler:ue,type:void 0}))):ue!==void 0&&(Se=pe.method,a.set(pe.method,{type:pe,handler:ue})),{dispose:()=>{Se!==null&&(Se!==void 0?a.delete(Se):H=void 0)}}},hasPendingResponse:()=>g.size>0,trace:async(pe,ue,Se)=>{let Ae=!1,de=Fc.Text;Se!==void 0&&(ga.boolean(Se)?Ae=Se:(Ae=Se.sendNotification||!1,de=Se.traceFormat||Fc.Text)),E=pe,A=de,E===hs.Off?S=void 0:S=ue,Ae&&!W()&&!Z()&&await xe.sendNotification(eq.type,{value:hs.toString(pe)})},onError:I.event,onClose:L.event,onUnhandledNotification:x.event,onDispose:D.event,end:()=>{t.end()},dispose:()=>{if(Z())return;T=jc.Disposed,D.fire(void 0);let pe=new Nn.ResponseError(Nn.ErrorCodes.PendingResponseRejected,"Pending response rejected since connection got disposed");for(let ue of g.values())ue.reject(pe);g=new Map,_=new Map,y=new Set,m=new Q6.LinkedMap,ga.func(t.dispose)&&t.dispose(),ga.func(e.dispose)&&e.dispose()},listen:()=>{fe(),he(),T=jc.Listening,e.listen(z)},inspect:()=>{(0,J6.default)().console.log("inspect")}};return xe.onNotification(tP.type,pe=>{if(E===hs.Off||!S)return;let ue=E===hs.Verbose||E===hs.Compact;S.log(pe.message,ue?pe.verbose:void 0)}),xe.onNotification($E.type,pe=>{let ue=d.get(pe.token);ue?ue(pe.value):C.fire(pe)}),xe}An.createMessageConnection=wbe});var Db=Le(ar=>{"use strict";Object.defineProperty(ar,"__esModule",{value:!0});ar.ProgressType=ar.ProgressToken=ar.createMessageConnection=ar.NullLogger=ar.ConnectionOptions=ar.ConnectionStrategy=ar.AbstractMessageBuffer=ar.WriteableStreamMessageWriter=ar.AbstractMessageWriter=ar.MessageWriter=ar.ReadableStreamMessageReader=ar.AbstractMessageReader=ar.MessageReader=ar.SharedArrayReceiverStrategy=ar.SharedArraySenderStrategy=ar.CancellationToken=ar.CancellationTokenSource=ar.Emitter=ar.Event=ar.Disposable=ar.LRUCache=ar.Touch=ar.LinkedMap=ar.ParameterStructures=ar.NotificationType9=ar.NotificationType8=ar.NotificationType7=ar.NotificationType6=ar.NotificationType5=ar.NotificationType4=ar.NotificationType3=ar.NotificationType2=ar.NotificationType1=ar.NotificationType0=ar.NotificationType=ar.ErrorCodes=ar.ResponseError=ar.RequestType9=ar.RequestType8=ar.RequestType7=ar.RequestType6=ar.RequestType5=ar.RequestType4=ar.RequestType3=ar.RequestType2=ar.RequestType1=ar.RequestType0=ar.RequestType=ar.Message=ar.RAL=void 0;ar.MessageStrategy=ar.CancellationStrategy=ar.CancellationSenderStrategy=ar.CancellationReceiverStrategy=ar.ConnectionError=ar.ConnectionErrors=ar.LogTraceNotification=ar.SetTraceNotification=ar.TraceFormat=ar.TraceValues=ar.Trace=void 0;var $s=xD();Object.defineProperty(ar,"Message",{enumerable:!0,get:function(){return $s.Message}});Object.defineProperty(ar,"RequestType",{enumerable:!0,get:function(){return $s.RequestType}});Object.defineProperty(ar,"RequestType0",{enumerable:!0,get:function(){return $s.RequestType0}});Object.defineProperty(ar,"RequestType1",{enumerable:!0,get:function(){return $s.RequestType1}});Object.defineProperty(ar,"RequestType2",{enumerable:!0,get:function(){return $s.RequestType2}});Object.defineProperty(ar,"RequestType3",{enumerable:!0,get:function(){return $s.RequestType3}});Object.defineProperty(ar,"RequestType4",{enumerable:!0,get:function(){return $s.RequestType4}});Object.defineProperty(ar,"RequestType5",{enumerable:!0,get:function(){return $s.RequestType5}});Object.defineProperty(ar,"RequestType6",{enumerable:!0,get:function(){return $s.RequestType6}});Object.defineProperty(ar,"RequestType7",{enumerable:!0,get:function(){return $s.RequestType7}});Object.defineProperty(ar,"RequestType8",{enumerable:!0,get:function(){return $s.RequestType8}});Object.defineProperty(ar,"RequestType9",{enumerable:!0,get:function(){return $s.RequestType9}});Object.defineProperty(ar,"ResponseError",{enumerable:!0,get:function(){return $s.ResponseError}});Object.defineProperty(ar,"ErrorCodes",{enumerable:!0,get:function(){return $s.ErrorCodes}});Object.defineProperty(ar,"NotificationType",{enumerable:!0,get:function(){return $s.NotificationType}});Object.defineProperty(ar,"NotificationType0",{enumerable:!0,get:function(){return $s.NotificationType0}});Object.defineProperty(ar,"NotificationType1",{enumerable:!0,get:function(){return $s.NotificationType1}});Object.defineProperty(ar,"NotificationType2",{enumerable:!0,get:function(){return $s.NotificationType2}});Object.defineProperty(ar,"NotificationType3",{enumerable:!0,get:function(){return $s.NotificationType3}});Object.defineProperty(ar,"NotificationType4",{enumerable:!0,get:function(){return $s.NotificationType4}});Object.defineProperty(ar,"NotificationType5",{enumerable:!0,get:function(){return $s.NotificationType5}});Object.defineProperty(ar,"NotificationType6",{enumerable:!0,get:function(){return $s.NotificationType6}});Object.defineProperty(ar,"NotificationType7",{enumerable:!0,get:function(){return $s.NotificationType7}});Object.defineProperty(ar,"NotificationType8",{enumerable:!0,get:function(){return $s.NotificationType8}});Object.defineProperty(ar,"NotificationType9",{enumerable:!0,get:function(){return $s.NotificationType9}});Object.defineProperty(ar,"ParameterStructures",{enumerable:!0,get:function(){return $s.ParameterStructures}});var oP=PD();Object.defineProperty(ar,"LinkedMap",{enumerable:!0,get:function(){return oP.LinkedMap}});Object.defineProperty(ar,"LRUCache",{enumerable:!0,get:function(){return oP.LRUCache}});Object.defineProperty(ar,"Touch",{enumerable:!0,get:function(){return oP.Touch}});var kbe=q6();Object.defineProperty(ar,"Disposable",{enumerable:!0,get:function(){return kbe.Disposable}});var iq=wh();Object.defineProperty(ar,"Event",{enumerable:!0,get:function(){return iq.Event}});Object.defineProperty(ar,"Emitter",{enumerable:!0,get:function(){return iq.Emitter}});var sq=Sb();Object.defineProperty(ar,"CancellationTokenSource",{enumerable:!0,get:function(){return sq.CancellationTokenSource}});Object.defineProperty(ar,"CancellationToken",{enumerable:!0,get:function(){return sq.CancellationToken}});var aq=W6();Object.defineProperty(ar,"SharedArraySenderStrategy",{enumerable:!0,get:function(){return aq.SharedArraySenderStrategy}});Object.defineProperty(ar,"SharedArrayReceiverStrategy",{enumerable:!0,get:function(){return aq.SharedArrayReceiverStrategy}});var lP=V6();Object.defineProperty(ar,"MessageReader",{enumerable:!0,get:function(){return lP.MessageReader}});Object.defineProperty(ar,"AbstractMessageReader",{enumerable:!0,get:function(){return lP.AbstractMessageReader}});Object.defineProperty(ar,"ReadableStreamMessageReader",{enumerable:!0,get:function(){return lP.ReadableStreamMessageReader}});var cP=Z6();Object.defineProperty(ar,"MessageWriter",{enumerable:!0,get:function(){return cP.MessageWriter}});Object.defineProperty(ar,"AbstractMessageWriter",{enumerable:!0,get:function(){return cP.AbstractMessageWriter}});Object.defineProperty(ar,"WriteableStreamMessageWriter",{enumerable:!0,get:function(){return cP.WriteableStreamMessageWriter}});var Nbe=z6();Object.defineProperty(ar,"AbstractMessageBuffer",{enumerable:!0,get:function(){return Nbe.AbstractMessageBuffer}});var Ao=nq();Object.defineProperty(ar,"ConnectionStrategy",{enumerable:!0,get:function(){return Ao.ConnectionStrategy}});Object.defineProperty(ar,"ConnectionOptions",{enumerable:!0,get:function(){return Ao.ConnectionOptions}});Object.defineProperty(ar,"NullLogger",{enumerable:!0,get:function(){return Ao.NullLogger}});Object.defineProperty(ar,"createMessageConnection",{enumerable:!0,get:function(){return Ao.createMessageConnection}});Object.defineProperty(ar,"ProgressToken",{enumerable:!0,get:function(){return Ao.ProgressToken}});Object.defineProperty(ar,"ProgressType",{enumerable:!0,get:function(){return Ao.ProgressType}});Object.defineProperty(ar,"Trace",{enumerable:!0,get:function(){return Ao.Trace}});Object.defineProperty(ar,"TraceValues",{enumerable:!0,get:function(){return Ao.TraceValues}});Object.defineProperty(ar,"TraceFormat",{enumerable:!0,get:function(){return Ao.TraceFormat}});Object.defineProperty(ar,"SetTraceNotification",{enumerable:!0,get:function(){return Ao.SetTraceNotification}});Object.defineProperty(ar,"LogTraceNotification",{enumerable:!0,get:function(){return Ao.LogTraceNotification}});Object.defineProperty(ar,"ConnectionErrors",{enumerable:!0,get:function(){return Ao.ConnectionErrors}});Object.defineProperty(ar,"ConnectionError",{enumerable:!0,get:function(){return Ao.ConnectionError}});Object.defineProperty(ar,"CancellationReceiverStrategy",{enumerable:!0,get:function(){return Ao.CancellationReceiverStrategy}});Object.defineProperty(ar,"CancellationSenderStrategy",{enumerable:!0,get:function(){return Ao.CancellationSenderStrategy}});Object.defineProperty(ar,"CancellationStrategy",{enumerable:!0,get:function(){return Ao.CancellationStrategy}});Object.defineProperty(ar,"MessageStrategy",{enumerable:!0,get:function(){return Ao.MessageStrategy}});var Rbe=Ip();ar.RAL=Rbe.default});var cq=Le(dP=>{"use strict";Object.defineProperty(dP,"__esModule",{value:!0});var oq=require("util"),EH=Db(),Pb=class e extends EH.AbstractMessageBuffer{constructor(t="utf-8"){super(t)}emptyBuffer(){return e.emptyBuffer}fromString(t,n){return Buffer.from(t,n)}toString(t,n){return t instanceof Buffer?t.toString(n):new oq.TextDecoder(n).decode(t)}asNative(t,n){return n===void 0?t instanceof Buffer?t:Buffer.from(t):t instanceof Buffer?t.slice(0,n):Buffer.from(t,0,n)}allocNative(t){return Buffer.allocUnsafe(t)}};Pb.emptyBuffer=Buffer.allocUnsafe(0);var uP=class{constructor(t){this.stream=t}onClose(t){return this.stream.on("close",t),EH.Disposable.create(()=>this.stream.off("close",t))}onError(t){return this.stream.on("error",t),EH.Disposable.create(()=>this.stream.off("error",t))}onEnd(t){return this.stream.on("end",t),EH.Disposable.create(()=>this.stream.off("end",t))}onData(t){return this.stream.on("data",t),EH.Disposable.create(()=>this.stream.off("data",t))}},HP=class{constructor(t){this.stream=t}onClose(t){return this.stream.on("close",t),EH.Disposable.create(()=>this.stream.off("close",t))}onError(t){return this.stream.on("error",t),EH.Disposable.create(()=>this.stream.off("error",t))}onEnd(t){return this.stream.on("end",t),EH.Disposable.create(()=>this.stream.off("end",t))}write(t,n){return new Promise((i,o)=>{let r=c=>{c==null?i():o(c)};typeof t=="string"?this.stream.write(t,n,r):this.stream.write(t,r)})}end(){this.stream.end()}},lq=Object.freeze({messageBuffer:Object.freeze({create:e=>new Pb(e)}),applicationJson:Object.freeze({encoder:Object.freeze({name:"application/json",encode:(e,t)=>{try{return Promise.resolve(Buffer.from(JSON.stringify(e,void 0,0),t.charset))}catch(n){return Promise.reject(n)}}}),decoder:Object.freeze({name:"application/json",decode:(e,t)=>{try{return e instanceof Buffer?Promise.resolve(JSON.parse(e.toString(t.charset))):Promise.resolve(JSON.parse(new oq.TextDecoder(t.charset).decode(e)))}catch(n){return Promise.reject(n)}}})}),stream:Object.freeze({asReadableStream:e=>new uP(e),asWritableStream:e=>new HP(e)}),console,timer:Object.freeze({setTimeout(e,t,...n){let i=setTimeout(e,t,...n);return{dispose:()=>clearTimeout(i)}},setImmediate(e,...t){let n=setImmediate(e,...t);return{dispose:()=>clearImmediate(n)}},setInterval(e,t,...n){let i=setInterval(e,t,...n);return{dispose:()=>clearInterval(i)}}})});function pP(){return lq}(function(e){function t(){EH.RAL.install(lq)}e.install=t})(pP||(pP={}));dP.default=pP});var Qd=Le(Ci=>{"use strict";var $be=Ci&&Ci.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,o)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),Mbe=Ci&&Ci.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&$be(t,e,n)};Object.defineProperty(Ci,"__esModule",{value:!0});Ci.createMessageConnection=Ci.createServerSocketTransport=Ci.createClientSocketTransport=Ci.createServerPipeTransport=Ci.createClientPipeTransport=Ci.generateRandomPipeName=Ci.StreamMessageWriter=Ci.StreamMessageReader=Ci.SocketMessageWriter=Ci.SocketMessageReader=Ci.PortMessageWriter=Ci.PortMessageReader=Ci.IPCMessageWriter=Ci.IPCMessageReader=void 0;var $h=cq();$h.default.install();var uq=require("path"),Bbe=require("os"),Obe=require("crypto"),Nb=require("net"),kl=Db();Mbe(Db(),Ci);var fP=class extends kl.AbstractMessageReader{constructor(t){super(),this.process=t;let n=this.process;n.on("error",i=>this.fireError(i)),n.on("close",()=>this.fireClose())}listen(t){return this.process.on("message",t),kl.Disposable.create(()=>this.process.off("message",t))}};Ci.IPCMessageReader=fP;var hP=class extends kl.AbstractMessageWriter{constructor(t){super(),this.process=t,this.errorCount=0;let n=this.process;n.on("error",i=>this.fireError(i)),n.on("close",()=>this.fireClose)}write(t){try{return typeof this.process.send=="function"&&this.process.send(t,void 0,void 0,n=>{n?(this.errorCount++,this.handleError(n,t)):this.errorCount=0}),Promise.resolve()}catch(n){return this.handleError(n,t),Promise.reject(n)}}handleError(t,n){this.errorCount++,this.fireError(t,n,this.errorCount)}end(){}};Ci.IPCMessageWriter=hP;var _P=class extends kl.AbstractMessageReader{constructor(t){super(),this.onData=new kl.Emitter,t.on("close",()=>this.fireClose),t.on("error",n=>this.fireError(n)),t.on("message",n=>{this.onData.fire(n)})}listen(t){return this.onData.event(t)}};Ci.PortMessageReader=_P;var mP=class extends kl.AbstractMessageWriter{constructor(t){super(),this.port=t,this.errorCount=0,t.on("close",()=>this.fireClose()),t.on("error",n=>this.fireError(n))}write(t){try{return this.port.postMessage(t),Promise.resolve()}catch(n){return this.handleError(n,t),Promise.reject(n)}}handleError(t,n){this.errorCount++,this.fireError(t,n,this.errorCount)}end(){}};Ci.PortMessageWriter=mP;var zd=class extends kl.ReadableStreamMessageReader{constructor(t,n="utf-8"){super((0,$h.default)().stream.asReadableStream(t),n)}};Ci.SocketMessageReader=zd;var Jd=class extends kl.WriteableStreamMessageWriter{constructor(t,n){super((0,$h.default)().stream.asWritableStream(t),n),this.socket=t}dispose(){super.dispose(),this.socket.destroy()}};Ci.SocketMessageWriter=Jd;var wb=class extends kl.ReadableStreamMessageReader{constructor(t,n){super((0,$h.default)().stream.asReadableStream(t),n)}};Ci.StreamMessageReader=wb;var kb=class extends kl.WriteableStreamMessageWriter{constructor(t,n){super((0,$h.default)().stream.asWritableStream(t),n)}};Ci.StreamMessageWriter=kb;var Hq=process.env.XDG_RUNTIME_DIR,Fbe=new Map([["linux",107],["darwin",103]]);function jbe(){let e=(0,Obe.randomBytes)(21).toString("hex");if(process.platform==="win32")return`\\\\.\\pipe\\vscode-jsonrpc-${e}-sock`;let t;Hq?t=uq.join(Hq,`vscode-ipc-${e}.sock`):t=uq.join(Bbe.tmpdir(),`vscode-${e}.sock`);let n=Fbe.get(process.platform);return n!==void 0&&t.length>n&&(0,$h.default)().console.warn(`WARNING: IPC handle "${t}" is longer than ${n} characters.`),t}Ci.generateRandomPipeName=jbe;function Ube(e,t="utf-8"){let n,i=new Promise((o,r)=>{n=o});return new Promise((o,r)=>{let c=(0,Nb.createServer)(s=>{c.close(),n([new zd(s,t),new Jd(s,t)])});c.on("error",r),c.listen(e,()=>{c.removeListener("error",r),o({onConnected:()=>i})})})}Ci.createClientPipeTransport=Ube;function qbe(e,t="utf-8"){let n=(0,Nb.createConnection)(e);return[new zd(n,t),new Jd(n,t)]}Ci.createServerPipeTransport=qbe;function Wbe(e,t="utf-8"){let n,i=new Promise((o,r)=>{n=o});return new Promise((o,r)=>{let c=(0,Nb.createServer)(s=>{c.close(),n([new zd(s,t),new Jd(s,t)])});c.on("error",r),c.listen(e,"127.0.0.1",()=>{c.removeListener("error",r),o({onConnected:()=>i})})})}Ci.createClientSocketTransport=Wbe;function Vbe(e,t="utf-8"){let n=(0,Nb.createConnection)(e,"127.0.0.1");return[new zd(n,t),new Jd(n,t)]}Ci.createServerSocketTransport=Vbe;function Kbe(e){let t=e;return t.read!==void 0&&t.addListener!==void 0}function Gbe(e){let t=e;return t.write!==void 0&&t.addListener!==void 0}function Xbe(e,t,n,i){n||(n=kl.NullLogger);let o=Kbe(e)?new wb(e):e,r=Gbe(t)?new kb(t):t;return kl.ConnectionStrategy.is(i)&&(i={connectionStrategy:i}),(0,kl.createMessageConnection)(o,r,n,i)}Ci.createMessageConnection=Xbe});var EP=Le((HEt,pq)=>{"use strict";pq.exports=Qd()});var $b=Le((dq,Rb)=>{(function(e){if(typeof Rb=="object"&&typeof Rb.exports=="object"){var t=e(require,dq);t!==void 0&&(Rb.exports=t)}else typeof define=="function"&&define.amd&&define(["require","exports"],e)})(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextDocument=t.EOL=t.WorkspaceFolder=t.InlayHint=t.InlayHintLabelPart=t.InlayHintKind=t.InlineValueContext=t.InlineValueEvaluatableExpression=t.InlineValueVariableLookup=t.InlineValueText=t.SemanticTokens=t.SemanticTokenModifiers=t.SemanticTokenTypes=t.SelectionRange=t.DocumentLink=t.FormattingOptions=t.CodeLens=t.CodeAction=t.CodeActionContext=t.CodeActionTriggerKind=t.CodeActionKind=t.DocumentSymbol=t.WorkspaceSymbol=t.SymbolInformation=t.SymbolTag=t.SymbolKind=t.DocumentHighlight=t.DocumentHighlightKind=t.SignatureInformation=t.ParameterInformation=t.Hover=t.MarkedString=t.CompletionList=t.CompletionItem=t.CompletionItemLabelDetails=t.InsertTextMode=t.InsertReplaceEdit=t.CompletionItemTag=t.InsertTextFormat=t.CompletionItemKind=t.MarkupContent=t.MarkupKind=t.TextDocumentItem=t.OptionalVersionedTextDocumentIdentifier=t.VersionedTextDocumentIdentifier=t.TextDocumentIdentifier=t.WorkspaceChange=t.WorkspaceEdit=t.DeleteFile=t.RenameFile=t.CreateFile=t.TextDocumentEdit=t.AnnotatedTextEdit=t.ChangeAnnotationIdentifier=t.ChangeAnnotation=t.TextEdit=t.Command=t.Diagnostic=t.CodeDescription=t.DiagnosticTag=t.DiagnosticSeverity=t.DiagnosticRelatedInformation=t.FoldingRange=t.FoldingRangeKind=t.ColorPresentation=t.ColorInformation=t.Color=t.LocationLink=t.Location=t.Range=t.Position=t.uinteger=t.integer=t.URI=t.DocumentUri=void 0;var n;(function(Pe){function Qe(Ge){return typeof Ge=="string"}Pe.is=Qe})(n=t.DocumentUri||(t.DocumentUri={}));var i;(function(Pe){function Qe(Ge){return typeof Ge=="string"}Pe.is=Qe})(i=t.URI||(t.URI={}));var o;(function(Pe){Pe.MIN_VALUE=-2147483648,Pe.MAX_VALUE=2147483647;function Qe(Ge){return typeof Ge=="number"&&Pe.MIN_VALUE<=Ge&&Ge<=Pe.MAX_VALUE}Pe.is=Qe})(o=t.integer||(t.integer={}));var r;(function(Pe){Pe.MIN_VALUE=0,Pe.MAX_VALUE=2147483647;function Qe(Ge){return typeof Ge=="number"&&Pe.MIN_VALUE<=Ge&&Ge<=Pe.MAX_VALUE}Pe.is=Qe})(r=t.uinteger||(t.uinteger={}));var c;(function(Pe){function Qe(we,Ne){return we===Number.MAX_VALUE&&(we=r.MAX_VALUE),Ne===Number.MAX_VALUE&&(Ne=r.MAX_VALUE),{line:we,character:Ne}}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.objectLiteral(Ne)&&Ze.uinteger(Ne.line)&&Ze.uinteger(Ne.character)}Pe.is=Ge})(c=t.Position||(t.Position={}));var s;(function(Pe){function Qe(we,Ne,ht,it){if(Ze.uinteger(we)&&Ze.uinteger(Ne)&&Ze.uinteger(ht)&&Ze.uinteger(it))return{start:c.create(we,Ne),end:c.create(ht,it)};if(c.is(we)&&c.is(Ne))return{start:we,end:Ne};throw new Error("Range#create called with invalid arguments[".concat(we,", ").concat(Ne,", ").concat(ht,", ").concat(it,"]"))}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.objectLiteral(Ne)&&c.is(Ne.start)&&c.is(Ne.end)}Pe.is=Ge})(s=t.Range||(t.Range={}));var u;(function(Pe){function Qe(we,Ne){return{uri:we,range:Ne}}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.objectLiteral(Ne)&&s.is(Ne.range)&&(Ze.string(Ne.uri)||Ze.undefined(Ne.uri))}Pe.is=Ge})(u=t.Location||(t.Location={}));var H;(function(Pe){function Qe(we,Ne,ht,it){return{targetUri:we,targetRange:Ne,targetSelectionRange:ht,originSelectionRange:it}}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.objectLiteral(Ne)&&s.is(Ne.targetRange)&&Ze.string(Ne.targetUri)&&s.is(Ne.targetSelectionRange)&&(s.is(Ne.originSelectionRange)||Ze.undefined(Ne.originSelectionRange))}Pe.is=Ge})(H=t.LocationLink||(t.LocationLink={}));var a;(function(Pe){function Qe(we,Ne,ht,it){return{red:we,green:Ne,blue:ht,alpha:it}}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.objectLiteral(Ne)&&Ze.numberRange(Ne.red,0,1)&&Ze.numberRange(Ne.green,0,1)&&Ze.numberRange(Ne.blue,0,1)&&Ze.numberRange(Ne.alpha,0,1)}Pe.is=Ge})(a=t.Color||(t.Color={}));var l;(function(Pe){function Qe(we,Ne){return{range:we,color:Ne}}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.objectLiteral(Ne)&&s.is(Ne.range)&&a.is(Ne.color)}Pe.is=Ge})(l=t.ColorInformation||(t.ColorInformation={}));var p;(function(Pe){function Qe(we,Ne,ht){return{label:we,textEdit:Ne,additionalTextEdits:ht}}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.objectLiteral(Ne)&&Ze.string(Ne.label)&&(Ze.undefined(Ne.textEdit)||S.is(Ne))&&(Ze.undefined(Ne.additionalTextEdits)||Ze.typedArray(Ne.additionalTextEdits,S.is))}Pe.is=Ge})(p=t.ColorPresentation||(t.ColorPresentation={}));var d;(function(Pe){Pe.Comment="comment",Pe.Imports="imports",Pe.Region="region"})(d=t.FoldingRangeKind||(t.FoldingRangeKind={}));var h;(function(Pe){function Qe(we,Ne,ht,it,Tt,Ot){var Pt={startLine:we,endLine:Ne};return Ze.defined(ht)&&(Pt.startCharacter=ht),Ze.defined(it)&&(Pt.endCharacter=it),Ze.defined(Tt)&&(Pt.kind=Tt),Ze.defined(Ot)&&(Pt.collapsedText=Ot),Pt}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.objectLiteral(Ne)&&Ze.uinteger(Ne.startLine)&&Ze.uinteger(Ne.startLine)&&(Ze.undefined(Ne.startCharacter)||Ze.uinteger(Ne.startCharacter))&&(Ze.undefined(Ne.endCharacter)||Ze.uinteger(Ne.endCharacter))&&(Ze.undefined(Ne.kind)||Ze.string(Ne.kind))}Pe.is=Ge})(h=t.FoldingRange||(t.FoldingRange={}));var m;(function(Pe){function Qe(we,Ne){return{location:we,message:Ne}}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.defined(Ne)&&u.is(Ne.location)&&Ze.string(Ne.message)}Pe.is=Ge})(m=t.DiagnosticRelatedInformation||(t.DiagnosticRelatedInformation={}));var g;(function(Pe){Pe.Error=1,Pe.Warning=2,Pe.Information=3,Pe.Hint=4})(g=t.DiagnosticSeverity||(t.DiagnosticSeverity={}));var y;(function(Pe){Pe.Unnecessary=1,Pe.Deprecated=2})(y=t.DiagnosticTag||(t.DiagnosticTag={}));var _;(function(Pe){function Qe(Ge){var we=Ge;return Ze.objectLiteral(we)&&Ze.string(we.href)}Pe.is=Qe})(_=t.CodeDescription||(t.CodeDescription={}));var E;(function(Pe){function Qe(we,Ne,ht,it,Tt,Ot){var Pt={range:we,message:Ne};return Ze.defined(ht)&&(Pt.severity=ht),Ze.defined(it)&&(Pt.code=it),Ze.defined(Tt)&&(Pt.source=Tt),Ze.defined(Ot)&&(Pt.relatedInformation=Ot),Pt}Pe.create=Qe;function Ge(we){var Ne,ht=we;return Ze.defined(ht)&&s.is(ht.range)&&Ze.string(ht.message)&&(Ze.number(ht.severity)||Ze.undefined(ht.severity))&&(Ze.integer(ht.code)||Ze.string(ht.code)||Ze.undefined(ht.code))&&(Ze.undefined(ht.codeDescription)||Ze.string((Ne=ht.codeDescription)===null||Ne===void 0?void 0:Ne.href))&&(Ze.string(ht.source)||Ze.undefined(ht.source))&&(Ze.undefined(ht.relatedInformation)||Ze.typedArray(ht.relatedInformation,m.is))}Pe.is=Ge})(E=t.Diagnostic||(t.Diagnostic={}));var A;(function(Pe){function Qe(we,Ne){for(var ht=[],it=2;it<arguments.length;it++)ht[it-2]=arguments[it];var Tt={title:we,command:Ne};return Ze.defined(ht)&&ht.length>0&&(Tt.arguments=ht),Tt}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.defined(Ne)&&Ze.string(Ne.title)&&Ze.string(Ne.command)}Pe.is=Ge})(A=t.Command||(t.Command={}));var S;(function(Pe){function Qe(ht,it){return{range:ht,newText:it}}Pe.replace=Qe;function Ge(ht,it){return{range:{start:ht,end:ht},newText:it}}Pe.insert=Ge;function we(ht){return{range:ht,newText:""}}Pe.del=we;function Ne(ht){var it=ht;return Ze.objectLiteral(it)&&Ze.string(it.newText)&&s.is(it.range)}Pe.is=Ne})(S=t.TextEdit||(t.TextEdit={}));var T;(function(Pe){function Qe(we,Ne,ht){var it={label:we};return Ne!==void 0&&(it.needsConfirmation=Ne),ht!==void 0&&(it.description=ht),it}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.objectLiteral(Ne)&&Ze.string(Ne.label)&&(Ze.boolean(Ne.needsConfirmation)||Ne.needsConfirmation===void 0)&&(Ze.string(Ne.description)||Ne.description===void 0)}Pe.is=Ge})(T=t.ChangeAnnotation||(t.ChangeAnnotation={}));var I;(function(Pe){function Qe(Ge){var we=Ge;return Ze.string(we)}Pe.is=Qe})(I=t.ChangeAnnotationIdentifier||(t.ChangeAnnotationIdentifier={}));var L;(function(Pe){function Qe(ht,it,Tt){return{range:ht,newText:it,annotationId:Tt}}Pe.replace=Qe;function Ge(ht,it,Tt){return{range:{start:ht,end:ht},newText:it,annotationId:Tt}}Pe.insert=Ge;function we(ht,it){return{range:ht,newText:"",annotationId:it}}Pe.del=we;function Ne(ht){var it=ht;return S.is(it)&&(T.is(it.annotationId)||I.is(it.annotationId))}Pe.is=Ne})(L=t.AnnotatedTextEdit||(t.AnnotatedTextEdit={}));var x;(function(Pe){function Qe(we,Ne){return{textDocument:we,edits:Ne}}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.defined(Ne)&&W.is(Ne.textDocument)&&Array.isArray(Ne.edits)}Pe.is=Ge})(x=t.TextDocumentEdit||(t.TextDocumentEdit={}));var C;(function(Pe){function Qe(we,Ne,ht){var it={kind:"create",uri:we};return Ne!==void 0&&(Ne.overwrite!==void 0||Ne.ignoreIfExists!==void 0)&&(it.options=Ne),ht!==void 0&&(it.annotationId=ht),it}Pe.create=Qe;function Ge(we){var Ne=we;return Ne&&Ne.kind==="create"&&Ze.string(Ne.uri)&&(Ne.options===void 0||(Ne.options.overwrite===void 0||Ze.boolean(Ne.options.overwrite))&&(Ne.options.ignoreIfExists===void 0||Ze.boolean(Ne.options.ignoreIfExists)))&&(Ne.annotationId===void 0||I.is(Ne.annotationId))}Pe.is=Ge})(C=t.CreateFile||(t.CreateFile={}));var D;(function(Pe){function Qe(we,Ne,ht,it){var Tt={kind:"rename",oldUri:we,newUri:Ne};return ht!==void 0&&(ht.overwrite!==void 0||ht.ignoreIfExists!==void 0)&&(Tt.options=ht),it!==void 0&&(Tt.annotationId=it),Tt}Pe.create=Qe;function Ge(we){var Ne=we;return Ne&&Ne.kind==="rename"&&Ze.string(Ne.oldUri)&&Ze.string(Ne.newUri)&&(Ne.options===void 0||(Ne.options.overwrite===void 0||Ze.boolean(Ne.options.overwrite))&&(Ne.options.ignoreIfExists===void 0||Ze.boolean(Ne.options.ignoreIfExists)))&&(Ne.annotationId===void 0||I.is(Ne.annotationId))}Pe.is=Ge})(D=t.RenameFile||(t.RenameFile={}));var O;(function(Pe){function Qe(we,Ne,ht){var it={kind:"delete",uri:we};return Ne!==void 0&&(Ne.recursive!==void 0||Ne.ignoreIfNotExists!==void 0)&&(it.options=Ne),ht!==void 0&&(it.annotationId=ht),it}Pe.create=Qe;function Ge(we){var Ne=we;return Ne&&Ne.kind==="delete"&&Ze.string(Ne.uri)&&(Ne.options===void 0||(Ne.options.recursive===void 0||Ze.boolean(Ne.options.recursive))&&(Ne.options.ignoreIfNotExists===void 0||Ze.boolean(Ne.options.ignoreIfNotExists)))&&(Ne.annotationId===void 0||I.is(Ne.annotationId))}Pe.is=Ge})(O=t.DeleteFile||(t.DeleteFile={}));var j;(function(Pe){function Qe(Ge){var we=Ge;return we&&(we.changes!==void 0||we.documentChanges!==void 0)&&(we.documentChanges===void 0||we.documentChanges.every(function(Ne){return Ze.string(Ne.kind)?C.is(Ne)||D.is(Ne)||O.is(Ne):x.is(Ne)}))}Pe.is=Qe})(j=t.WorkspaceEdit||(t.WorkspaceEdit={}));var k=function(){function Pe(Qe,Ge){this.edits=Qe,this.changeAnnotations=Ge}return Pe.prototype.insert=function(Qe,Ge,we){var Ne,ht;if(we===void 0?Ne=S.insert(Qe,Ge):I.is(we)?(ht=we,Ne=L.insert(Qe,Ge,we)):(this.assertChangeAnnotations(this.changeAnnotations),ht=this.changeAnnotations.manage(we),Ne=L.insert(Qe,Ge,ht)),this.edits.push(Ne),ht!==void 0)return ht},Pe.prototype.replace=function(Qe,Ge,we){var Ne,ht;if(we===void 0?Ne=S.replace(Qe,Ge):I.is(we)?(ht=we,Ne=L.replace(Qe,Ge,we)):(this.assertChangeAnnotations(this.changeAnnotations),ht=this.changeAnnotations.manage(we),Ne=L.replace(Qe,Ge,ht)),this.edits.push(Ne),ht!==void 0)return ht},Pe.prototype.delete=function(Qe,Ge){var we,Ne;if(Ge===void 0?we=S.del(Qe):I.is(Ge)?(Ne=Ge,we=L.del(Qe,Ge)):(this.assertChangeAnnotations(this.changeAnnotations),Ne=this.changeAnnotations.manage(Ge),we=L.del(Qe,Ne)),this.edits.push(we),Ne!==void 0)return Ne},Pe.prototype.add=function(Qe){this.edits.push(Qe)},Pe.prototype.all=function(){return this.edits},Pe.prototype.clear=function(){this.edits.splice(0,this.edits.length)},Pe.prototype.assertChangeAnnotations=function(Qe){if(Qe===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},Pe}(),$=function(){function Pe(Qe){this._annotations=Qe===void 0?Object.create(null):Qe,this._counter=0,this._size=0}return Pe.prototype.all=function(){return this._annotations},Object.defineProperty(Pe.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),Pe.prototype.manage=function(Qe,Ge){var we;if(I.is(Qe)?we=Qe:(we=this.nextId(),Ge=Qe),this._annotations[we]!==void 0)throw new Error("Id ".concat(we," is already in use."));if(Ge===void 0)throw new Error("No annotation provided for id ".concat(we));return this._annotations[we]=Ge,this._size++,we},Pe.prototype.nextId=function(){return this._counter++,this._counter.toString()},Pe}(),U=function(){function Pe(Qe){var Ge=this;this._textEditChanges=Object.create(null),Qe!==void 0?(this._workspaceEdit=Qe,Qe.documentChanges?(this._changeAnnotations=new $(Qe.changeAnnotations),Qe.changeAnnotations=this._changeAnnotations.all(),Qe.documentChanges.forEach(function(we){if(x.is(we)){var Ne=new k(we.edits,Ge._changeAnnotations);Ge._textEditChanges[we.textDocument.uri]=Ne}})):Qe.changes&&Object.keys(Qe.changes).forEach(function(we){var Ne=new k(Qe.changes[we]);Ge._textEditChanges[we]=Ne})):this._workspaceEdit={}}return Object.defineProperty(Pe.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),Pe.prototype.getTextEditChange=function(Qe){if(W.is(Qe)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var Ge={uri:Qe.uri,version:Qe.version},we=this._textEditChanges[Ge.uri];if(!we){var Ne=[],ht={textDocument:Ge,edits:Ne};this._workspaceEdit.documentChanges.push(ht),we=new k(Ne,this._changeAnnotations),this._textEditChanges[Ge.uri]=we}return we}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var we=this._textEditChanges[Qe];if(!we){var Ne=[];this._workspaceEdit.changes[Qe]=Ne,we=new k(Ne),this._textEditChanges[Qe]=we}return we}},Pe.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new $,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},Pe.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},Pe.prototype.createFile=function(Qe,Ge,we){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var Ne;T.is(Ge)||I.is(Ge)?Ne=Ge:we=Ge;var ht,it;if(Ne===void 0?ht=C.create(Qe,we):(it=I.is(Ne)?Ne:this._changeAnnotations.manage(Ne),ht=C.create(Qe,we,it)),this._workspaceEdit.documentChanges.push(ht),it!==void 0)return it},Pe.prototype.renameFile=function(Qe,Ge,we,Ne){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var ht;T.is(we)||I.is(we)?ht=we:Ne=we;var it,Tt;if(ht===void 0?it=D.create(Qe,Ge,Ne):(Tt=I.is(ht)?ht:this._changeAnnotations.manage(ht),it=D.create(Qe,Ge,Ne,Tt)),this._workspaceEdit.documentChanges.push(it),Tt!==void 0)return Tt},Pe.prototype.deleteFile=function(Qe,Ge,we){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var Ne;T.is(Ge)||I.is(Ge)?Ne=Ge:we=Ge;var ht,it;if(Ne===void 0?ht=O.create(Qe,we):(it=I.is(Ne)?Ne:this._changeAnnotations.manage(Ne),ht=O.create(Qe,we,it)),this._workspaceEdit.documentChanges.push(ht),it!==void 0)return it},Pe}();t.WorkspaceChange=U;var F;(function(Pe){function Qe(we){return{uri:we}}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.defined(Ne)&&Ze.string(Ne.uri)}Pe.is=Ge})(F=t.TextDocumentIdentifier||(t.TextDocumentIdentifier={}));var P;(function(Pe){function Qe(we,Ne){return{uri:we,version:Ne}}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.defined(Ne)&&Ze.string(Ne.uri)&&Ze.integer(Ne.version)}Pe.is=Ge})(P=t.VersionedTextDocumentIdentifier||(t.VersionedTextDocumentIdentifier={}));var W;(function(Pe){function Qe(we,Ne){return{uri:we,version:Ne}}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.defined(Ne)&&Ze.string(Ne.uri)&&(Ne.version===null||Ze.integer(Ne.version))}Pe.is=Ge})(W=t.OptionalVersionedTextDocumentIdentifier||(t.OptionalVersionedTextDocumentIdentifier={}));var Z;(function(Pe){function Qe(we,Ne,ht,it){return{uri:we,languageId:Ne,version:ht,text:it}}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.defined(Ne)&&Ze.string(Ne.uri)&&Ze.string(Ne.languageId)&&Ze.integer(Ne.version)&&Ze.string(Ne.text)}Pe.is=Ge})(Z=t.TextDocumentItem||(t.TextDocumentItem={}));var ee;(function(Pe){Pe.PlainText="plaintext",Pe.Markdown="markdown";function Qe(Ge){var we=Ge;return we===Pe.PlainText||we===Pe.Markdown}Pe.is=Qe})(ee=t.MarkupKind||(t.MarkupKind={}));var J;(function(Pe){function Qe(Ge){var we=Ge;return Ze.objectLiteral(Ge)&&ee.is(we.kind)&&Ze.string(we.value)}Pe.is=Qe})(J=t.MarkupContent||(t.MarkupContent={}));var ne;(function(Pe){Pe.Text=1,Pe.Method=2,Pe.Function=3,Pe.Constructor=4,Pe.Field=5,Pe.Variable=6,Pe.Class=7,Pe.Interface=8,Pe.Module=9,Pe.Property=10,Pe.Unit=11,Pe.Value=12,Pe.Enum=13,Pe.Keyword=14,Pe.Snippet=15,Pe.Color=16,Pe.File=17,Pe.Reference=18,Pe.Folder=19,Pe.EnumMember=20,Pe.Constant=21,Pe.Struct=22,Pe.Event=23,Pe.Operator=24,Pe.TypeParameter=25})(ne=t.CompletionItemKind||(t.CompletionItemKind={}));var K;(function(Pe){Pe.PlainText=1,Pe.Snippet=2})(K=t.InsertTextFormat||(t.InsertTextFormat={}));var q;(function(Pe){Pe.Deprecated=1})(q=t.CompletionItemTag||(t.CompletionItemTag={}));var Q;(function(Pe){function Qe(we,Ne,ht){return{newText:we,insert:Ne,replace:ht}}Pe.create=Qe;function Ge(we){var Ne=we;return Ne&&Ze.string(Ne.newText)&&s.is(Ne.insert)&&s.is(Ne.replace)}Pe.is=Ge})(Q=t.InsertReplaceEdit||(t.InsertReplaceEdit={}));var z;(function(Pe){Pe.asIs=1,Pe.adjustIndentation=2})(z=t.InsertTextMode||(t.InsertTextMode={}));var ie;(function(Pe){function Qe(Ge){var we=Ge;return we&&(Ze.string(we.detail)||we.detail===void 0)&&(Ze.string(we.description)||we.description===void 0)}Pe.is=Qe})(ie=t.CompletionItemLabelDetails||(t.CompletionItemLabelDetails={}));var _e;(function(Pe){function Qe(Ge){return{label:Ge}}Pe.create=Qe})(_e=t.CompletionItem||(t.CompletionItem={}));var He;(function(Pe){function Qe(Ge,we){return{items:Ge||[],isIncomplete:!!we}}Pe.create=Qe})(He=t.CompletionList||(t.CompletionList={}));var be;(function(Pe){function Qe(we){return we.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}Pe.fromPlainText=Qe;function Ge(we){var Ne=we;return Ze.string(Ne)||Ze.objectLiteral(Ne)&&Ze.string(Ne.language)&&Ze.string(Ne.value)}Pe.is=Ge})(be=t.MarkedString||(t.MarkedString={}));var Ve;(function(Pe){function Qe(Ge){var we=Ge;return!!we&&Ze.objectLiteral(we)&&(J.is(we.contents)||be.is(we.contents)||Ze.typedArray(we.contents,be.is))&&(Ge.range===void 0||s.is(Ge.range))}Pe.is=Qe})(Ve=t.Hover||(t.Hover={}));var Fe;(function(Pe){function Qe(Ge,we){return we?{label:Ge,documentation:we}:{label:Ge}}Pe.create=Qe})(Fe=t.ParameterInformation||(t.ParameterInformation={}));var me;(function(Pe){function Qe(Ge,we){for(var Ne=[],ht=2;ht<arguments.length;ht++)Ne[ht-2]=arguments[ht];var it={label:Ge};return Ze.defined(we)&&(it.documentation=we),Ze.defined(Ne)?it.parameters=Ne:it.parameters=[],it}Pe.create=Qe})(me=t.SignatureInformation||(t.SignatureInformation={}));var ce;(function(Pe){Pe.Text=1,Pe.Read=2,Pe.Write=3})(ce=t.DocumentHighlightKind||(t.DocumentHighlightKind={}));var ke;(function(Pe){function Qe(Ge,we){var Ne={range:Ge};return Ze.number(we)&&(Ne.kind=we),Ne}Pe.create=Qe})(ke=t.DocumentHighlight||(t.DocumentHighlight={}));var je;(function(Pe){Pe.File=1,Pe.Module=2,Pe.Namespace=3,Pe.Package=4,Pe.Class=5,Pe.Method=6,Pe.Property=7,Pe.Field=8,Pe.Constructor=9,Pe.Enum=10,Pe.Interface=11,Pe.Function=12,Pe.Variable=13,Pe.Constant=14,Pe.String=15,Pe.Number=16,Pe.Boolean=17,Pe.Array=18,Pe.Object=19,Pe.Key=20,Pe.Null=21,Pe.EnumMember=22,Pe.Struct=23,Pe.Event=24,Pe.Operator=25,Pe.TypeParameter=26})(je=t.SymbolKind||(t.SymbolKind={}));var Oe;(function(Pe){Pe.Deprecated=1})(Oe=t.SymbolTag||(t.SymbolTag={}));var re;(function(Pe){function Qe(Ge,we,Ne,ht,it){var Tt={name:Ge,kind:we,location:{uri:ht,range:Ne}};return it&&(Tt.containerName=it),Tt}Pe.create=Qe})(re=t.SymbolInformation||(t.SymbolInformation={}));var fe;(function(Pe){function Qe(Ge,we,Ne,ht){return ht!==void 0?{name:Ge,kind:we,location:{uri:Ne,range:ht}}:{name:Ge,kind:we,location:{uri:Ne}}}Pe.create=Qe})(fe=t.WorkspaceSymbol||(t.WorkspaceSymbol={}));var he;(function(Pe){function Qe(we,Ne,ht,it,Tt,Ot){var Pt={name:we,detail:Ne,kind:ht,range:it,selectionRange:Tt};return Ot!==void 0&&(Pt.children=Ot),Pt}Pe.create=Qe;function Ge(we){var Ne=we;return Ne&&Ze.string(Ne.name)&&Ze.number(Ne.kind)&&s.is(Ne.range)&&s.is(Ne.selectionRange)&&(Ne.detail===void 0||Ze.string(Ne.detail))&&(Ne.deprecated===void 0||Ze.boolean(Ne.deprecated))&&(Ne.children===void 0||Array.isArray(Ne.children))&&(Ne.tags===void 0||Array.isArray(Ne.tags))}Pe.is=Ge})(he=t.DocumentSymbol||(t.DocumentSymbol={}));var se;(function(Pe){Pe.Empty="",Pe.QuickFix="quickfix",Pe.Refactor="refactor",Pe.RefactorExtract="refactor.extract",Pe.RefactorInline="refactor.inline",Pe.RefactorRewrite="refactor.rewrite",Pe.Source="source",Pe.SourceOrganizeImports="source.organizeImports",Pe.SourceFixAll="source.fixAll"})(se=t.CodeActionKind||(t.CodeActionKind={}));var Ie;(function(Pe){Pe.Invoked=1,Pe.Automatic=2})(Ie=t.CodeActionTriggerKind||(t.CodeActionTriggerKind={}));var ye;(function(Pe){function Qe(we,Ne,ht){var it={diagnostics:we};return Ne!=null&&(it.only=Ne),ht!=null&&(it.triggerKind=ht),it}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.defined(Ne)&&Ze.typedArray(Ne.diagnostics,E.is)&&(Ne.only===void 0||Ze.typedArray(Ne.only,Ze.string))&&(Ne.triggerKind===void 0||Ne.triggerKind===Ie.Invoked||Ne.triggerKind===Ie.Automatic)}Pe.is=Ge})(ye=t.CodeActionContext||(t.CodeActionContext={}));var $e;(function(Pe){function Qe(we,Ne,ht){var it={title:we},Tt=!0;return typeof Ne=="string"?(Tt=!1,it.kind=Ne):A.is(Ne)?it.command=Ne:it.edit=Ne,Tt&&ht!==void 0&&(it.kind=ht),it}Pe.create=Qe;function Ge(we){var Ne=we;return Ne&&Ze.string(Ne.title)&&(Ne.diagnostics===void 0||Ze.typedArray(Ne.diagnostics,E.is))&&(Ne.kind===void 0||Ze.string(Ne.kind))&&(Ne.edit!==void 0||Ne.command!==void 0)&&(Ne.command===void 0||A.is(Ne.command))&&(Ne.isPreferred===void 0||Ze.boolean(Ne.isPreferred))&&(Ne.edit===void 0||j.is(Ne.edit))}Pe.is=Ge})($e=t.CodeAction||(t.CodeAction={}));var nt;(function(Pe){function Qe(we,Ne){var ht={range:we};return Ze.defined(Ne)&&(ht.data=Ne),ht}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.defined(Ne)&&s.is(Ne.range)&&(Ze.undefined(Ne.command)||A.is(Ne.command))}Pe.is=Ge})(nt=t.CodeLens||(t.CodeLens={}));var et;(function(Pe){function Qe(we,Ne){return{tabSize:we,insertSpaces:Ne}}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.defined(Ne)&&Ze.uinteger(Ne.tabSize)&&Ze.boolean(Ne.insertSpaces)}Pe.is=Ge})(et=t.FormattingOptions||(t.FormattingOptions={}));var xe;(function(Pe){function Qe(we,Ne,ht){return{range:we,target:Ne,data:ht}}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.defined(Ne)&&s.is(Ne.range)&&(Ze.undefined(Ne.target)||Ze.string(Ne.target))}Pe.is=Ge})(xe=t.DocumentLink||(t.DocumentLink={}));var pe;(function(Pe){function Qe(we,Ne){return{range:we,parent:Ne}}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.objectLiteral(Ne)&&s.is(Ne.range)&&(Ne.parent===void 0||Pe.is(Ne.parent))}Pe.is=Ge})(pe=t.SelectionRange||(t.SelectionRange={}));var ue;(function(Pe){Pe.namespace="namespace",Pe.type="type",Pe.class="class",Pe.enum="enum",Pe.interface="interface",Pe.struct="struct",Pe.typeParameter="typeParameter",Pe.parameter="parameter",Pe.variable="variable",Pe.property="property",Pe.enumMember="enumMember",Pe.event="event",Pe.function="function",Pe.method="method",Pe.macro="macro",Pe.keyword="keyword",Pe.modifier="modifier",Pe.comment="comment",Pe.string="string",Pe.number="number",Pe.regexp="regexp",Pe.operator="operator",Pe.decorator="decorator"})(ue=t.SemanticTokenTypes||(t.SemanticTokenTypes={}));var Se;(function(Pe){Pe.declaration="declaration",Pe.definition="definition",Pe.readonly="readonly",Pe.static="static",Pe.deprecated="deprecated",Pe.abstract="abstract",Pe.async="async",Pe.modification="modification",Pe.documentation="documentation",Pe.defaultLibrary="defaultLibrary"})(Se=t.SemanticTokenModifiers||(t.SemanticTokenModifiers={}));var Ae;(function(Pe){function Qe(Ge){var we=Ge;return Ze.objectLiteral(we)&&(we.resultId===void 0||typeof we.resultId=="string")&&Array.isArray(we.data)&&(we.data.length===0||typeof we.data[0]=="number")}Pe.is=Qe})(Ae=t.SemanticTokens||(t.SemanticTokens={}));var de;(function(Pe){function Qe(we,Ne){return{range:we,text:Ne}}Pe.create=Qe;function Ge(we){var Ne=we;return Ne!=null&&s.is(Ne.range)&&Ze.string(Ne.text)}Pe.is=Ge})(de=t.InlineValueText||(t.InlineValueText={}));var We;(function(Pe){function Qe(we,Ne,ht){return{range:we,variableName:Ne,caseSensitiveLookup:ht}}Pe.create=Qe;function Ge(we){var Ne=we;return Ne!=null&&s.is(Ne.range)&&Ze.boolean(Ne.caseSensitiveLookup)&&(Ze.string(Ne.variableName)||Ne.variableName===void 0)}Pe.is=Ge})(We=t.InlineValueVariableLookup||(t.InlineValueVariableLookup={}));var tt;(function(Pe){function Qe(we,Ne){return{range:we,expression:Ne}}Pe.create=Qe;function Ge(we){var Ne=we;return Ne!=null&&s.is(Ne.range)&&(Ze.string(Ne.expression)||Ne.expression===void 0)}Pe.is=Ge})(tt=t.InlineValueEvaluatableExpression||(t.InlineValueEvaluatableExpression={}));var mt;(function(Pe){function Qe(we,Ne){return{frameId:we,stoppedLocation:Ne}}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.defined(Ne)&&s.is(we.stoppedLocation)}Pe.is=Ge})(mt=t.InlineValueContext||(t.InlineValueContext={}));var At;(function(Pe){Pe.Type=1,Pe.Parameter=2;function Qe(Ge){return Ge===1||Ge===2}Pe.is=Qe})(At=t.InlayHintKind||(t.InlayHintKind={}));var pt;(function(Pe){function Qe(we){return{value:we}}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.objectLiteral(Ne)&&(Ne.tooltip===void 0||Ze.string(Ne.tooltip)||J.is(Ne.tooltip))&&(Ne.location===void 0||u.is(Ne.location))&&(Ne.command===void 0||A.is(Ne.command))}Pe.is=Ge})(pt=t.InlayHintLabelPart||(t.InlayHintLabelPart={}));var Nt;(function(Pe){function Qe(we,Ne,ht){var it={position:we,label:Ne};return ht!==void 0&&(it.kind=ht),it}Pe.create=Qe;function Ge(we){var Ne=we;return Ze.objectLiteral(Ne)&&c.is(Ne.position)&&(Ze.string(Ne.label)||Ze.typedArray(Ne.label,pt.is))&&(Ne.kind===void 0||At.is(Ne.kind))&&Ne.textEdits===void 0||Ze.typedArray(Ne.textEdits,S.is)&&(Ne.tooltip===void 0||Ze.string(Ne.tooltip)||J.is(Ne.tooltip))&&(Ne.paddingLeft===void 0||Ze.boolean(Ne.paddingLeft))&&(Ne.paddingRight===void 0||Ze.boolean(Ne.paddingRight))}Pe.is=Ge})(Nt=t.InlayHint||(t.InlayHint={}));var Ce;(function(Pe){function Qe(Ge){var we=Ge;return Ze.objectLiteral(we)&&i.is(we.uri)&&Ze.string(we.name)}Pe.is=Qe})(Ce=t.WorkspaceFolder||(t.WorkspaceFolder={})),t.EOL=[`
|
|
`,`\r
|
|
`,"\r"];var qe;(function(Pe){function Qe(ht,it,Tt,Ot){return new ot(ht,it,Tt,Ot)}Pe.create=Qe;function Ge(ht){var it=ht;return!!(Ze.defined(it)&&Ze.string(it.uri)&&(Ze.undefined(it.languageId)||Ze.string(it.languageId))&&Ze.uinteger(it.lineCount)&&Ze.func(it.getText)&&Ze.func(it.positionAt)&&Ze.func(it.offsetAt))}Pe.is=Ge;function we(ht,it){for(var Tt=ht.getText(),Ot=Ne(it,function(bn,wr){var on=bn.range.start.line-wr.range.start.line;return on===0?bn.range.start.character-wr.range.start.character:on}),Pt=Tt.length,Ir=Ot.length-1;Ir>=0;Ir--){var Lr=Ot[Ir],_n=ht.offsetAt(Lr.range.start),_r=ht.offsetAt(Lr.range.end);if(_r<=Pt)Tt=Tt.substring(0,_n)+Lr.newText+Tt.substring(_r,Tt.length);else throw new Error("Overlapping edit");Pt=_n}return Tt}Pe.applyEdits=we;function Ne(ht,it){if(ht.length<=1)return ht;var Tt=ht.length/2|0,Ot=ht.slice(0,Tt),Pt=ht.slice(Tt);Ne(Ot,it),Ne(Pt,it);for(var Ir=0,Lr=0,_n=0;Ir<Ot.length&&Lr<Pt.length;){var _r=it(Ot[Ir],Pt[Lr]);_r<=0?ht[_n++]=Ot[Ir++]:ht[_n++]=Pt[Lr++]}for(;Ir<Ot.length;)ht[_n++]=Ot[Ir++];for(;Lr<Pt.length;)ht[_n++]=Pt[Lr++];return ht}})(qe=t.TextDocument||(t.TextDocument={}));var ot=function(){function Pe(Qe,Ge,we,Ne){this._uri=Qe,this._languageId=Ge,this._version=we,this._content=Ne,this._lineOffsets=void 0}return Object.defineProperty(Pe.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(Pe.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(Pe.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),Pe.prototype.getText=function(Qe){if(Qe){var Ge=this.offsetAt(Qe.start),we=this.offsetAt(Qe.end);return this._content.substring(Ge,we)}return this._content},Pe.prototype.update=function(Qe,Ge){this._content=Qe.text,this._version=Ge,this._lineOffsets=void 0},Pe.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var Qe=[],Ge=this._content,we=!0,Ne=0;Ne<Ge.length;Ne++){we&&(Qe.push(Ne),we=!1);var ht=Ge.charAt(Ne);we=ht==="\r"||ht===`
|
|
`,ht==="\r"&&Ne+1<Ge.length&&Ge.charAt(Ne+1)===`
|
|
`&&Ne++}we&&Ge.length>0&&Qe.push(Ge.length),this._lineOffsets=Qe}return this._lineOffsets},Pe.prototype.positionAt=function(Qe){Qe=Math.max(Math.min(Qe,this._content.length),0);var Ge=this.getLineOffsets(),we=0,Ne=Ge.length;if(Ne===0)return c.create(0,Qe);for(;we<Ne;){var ht=Math.floor((we+Ne)/2);Ge[ht]>Qe?Ne=ht:we=ht+1}var it=we-1;return c.create(it,Qe-Ge[it])},Pe.prototype.offsetAt=function(Qe){var Ge=this.getLineOffsets();if(Qe.line>=Ge.length)return this._content.length;if(Qe.line<0)return 0;var we=Ge[Qe.line],Ne=Qe.line+1<Ge.length?Ge[Qe.line+1]:this._content.length;return Math.max(Math.min(we+Qe.character,Ne),we)},Object.defineProperty(Pe.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),Pe}(),Ze;(function(Pe){var Qe=Object.prototype.toString;function Ge(_r){return typeof _r<"u"}Pe.defined=Ge;function we(_r){return typeof _r>"u"}Pe.undefined=we;function Ne(_r){return _r===!0||_r===!1}Pe.boolean=Ne;function ht(_r){return Qe.call(_r)==="[object String]"}Pe.string=ht;function it(_r){return Qe.call(_r)==="[object Number]"}Pe.number=it;function Tt(_r,bn,wr){return Qe.call(_r)==="[object Number]"&&bn<=_r&&_r<=wr}Pe.numberRange=Tt;function Ot(_r){return Qe.call(_r)==="[object Number]"&&-2147483648<=_r&&_r<=2147483647}Pe.integer=Ot;function Pt(_r){return Qe.call(_r)==="[object Number]"&&0<=_r&&_r<=2147483647}Pe.uinteger=Pt;function Ir(_r){return Qe.call(_r)==="[object Function]"}Pe.func=Ir;function Lr(_r){return _r!==null&&typeof _r=="object"}Pe.objectLiteral=Lr;function _n(_r,bn){return Array.isArray(_r)&&_r.every(bn)}Pe.typedArray=_n})(Ze||(Ze={}))})});var ba=Le(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.ProtocolNotificationType=Qo.ProtocolNotificationType0=Qo.ProtocolRequestType=Qo.ProtocolRequestType0=Qo.RegistrationType=Qo.MessageDirection=void 0;var Mh=Qd(),Zbe;(function(e){e.clientToServer="clientToServer",e.serverToClient="serverToClient",e.both="both"})(Zbe=Qo.MessageDirection||(Qo.MessageDirection={}));var yP=class{constructor(t){this.method=t}};Qo.RegistrationType=yP;var gP=class extends Mh.RequestType0{constructor(t){super(t)}};Qo.ProtocolRequestType0=gP;var bP=class extends Mh.RequestType{constructor(t){super(t,Mh.ParameterStructures.byName)}};Qo.ProtocolRequestType=bP;var AP=class extends Mh.NotificationType0{constructor(t){super(t)}};Qo.ProtocolNotificationType0=AP;var IP=class extends Mh.NotificationType{constructor(t){super(t,Mh.ParameterStructures.byName)}};Qo.ProtocolNotificationType=IP});var Mb=Le(Va=>{"use strict";Object.defineProperty(Va,"__esModule",{value:!0});Va.objectLiteral=Va.typedArray=Va.stringArray=Va.array=Va.func=Va.error=Va.number=Va.string=Va.boolean=void 0;function zbe(e){return e===!0||e===!1}Va.boolean=zbe;function fq(e){return typeof e=="string"||e instanceof String}Va.string=fq;function Jbe(e){return typeof e=="number"||e instanceof Number}Va.number=Jbe;function Qbe(e){return e instanceof Error}Va.error=Qbe;function Ybe(e){return typeof e=="function"}Va.func=Ybe;function hq(e){return Array.isArray(e)}Va.array=hq;function eAe(e){return hq(e)&&e.every(t=>fq(t))}Va.stringArray=eAe;function tAe(e,t){return Array.isArray(e)&&e.every(t)}Va.typedArray=tAe;function rAe(e){return e!==null&&typeof e=="object"}Va.objectLiteral=rAe});var mq=Le(BE=>{"use strict";Object.defineProperty(BE,"__esModule",{value:!0});BE.ImplementationRequest=void 0;var _q=ba(),nAe;(function(e){e.method="textDocument/implementation",e.messageDirection=_q.MessageDirection.clientToServer,e.type=new _q.ProtocolRequestType(e.method)})(nAe=BE.ImplementationRequest||(BE.ImplementationRequest={}))});var yq=Le(OE=>{"use strict";Object.defineProperty(OE,"__esModule",{value:!0});OE.TypeDefinitionRequest=void 0;var Eq=ba(),iAe;(function(e){e.method="textDocument/typeDefinition",e.messageDirection=Eq.MessageDirection.clientToServer,e.type=new Eq.ProtocolRequestType(e.method)})(iAe=OE.TypeDefinitionRequest||(OE.TypeDefinitionRequest={}))});var gq=Le(Sp=>{"use strict";Object.defineProperty(Sp,"__esModule",{value:!0});Sp.DidChangeWorkspaceFoldersNotification=Sp.WorkspaceFoldersRequest=void 0;var Bb=ba(),sAe;(function(e){e.method="workspace/workspaceFolders",e.messageDirection=Bb.MessageDirection.serverToClient,e.type=new Bb.ProtocolRequestType0(e.method)})(sAe=Sp.WorkspaceFoldersRequest||(Sp.WorkspaceFoldersRequest={}));var aAe;(function(e){e.method="workspace/didChangeWorkspaceFolders",e.messageDirection=Bb.MessageDirection.clientToServer,e.type=new Bb.ProtocolNotificationType(e.method)})(aAe=Sp.DidChangeWorkspaceFoldersNotification||(Sp.DidChangeWorkspaceFoldersNotification={}))});var Aq=Le(FE=>{"use strict";Object.defineProperty(FE,"__esModule",{value:!0});FE.ConfigurationRequest=void 0;var bq=ba(),oAe;(function(e){e.method="workspace/configuration",e.messageDirection=bq.MessageDirection.serverToClient,e.type=new bq.ProtocolRequestType(e.method)})(oAe=FE.ConfigurationRequest||(FE.ConfigurationRequest={}))});var Iq=Le(Lp=>{"use strict";Object.defineProperty(Lp,"__esModule",{value:!0});Lp.ColorPresentationRequest=Lp.DocumentColorRequest=void 0;var Ob=ba(),lAe;(function(e){e.method="textDocument/documentColor",e.messageDirection=Ob.MessageDirection.clientToServer,e.type=new Ob.ProtocolRequestType(e.method)})(lAe=Lp.DocumentColorRequest||(Lp.DocumentColorRequest={}));var cAe;(function(e){e.method="textDocument/colorPresentation",e.messageDirection=Ob.MessageDirection.clientToServer,e.type=new Ob.ProtocolRequestType(e.method)})(cAe=Lp.ColorPresentationRequest||(Lp.ColorPresentationRequest={}))});var Lq=Le(jE=>{"use strict";Object.defineProperty(jE,"__esModule",{value:!0});jE.FoldingRangeRequest=void 0;var Sq=ba(),uAe;(function(e){e.method="textDocument/foldingRange",e.messageDirection=Sq.MessageDirection.clientToServer,e.type=new Sq.ProtocolRequestType(e.method)})(uAe=jE.FoldingRangeRequest||(jE.FoldingRangeRequest={}))});var vq=Le(UE=>{"use strict";Object.defineProperty(UE,"__esModule",{value:!0});UE.DeclarationRequest=void 0;var Tq=ba(),HAe;(function(e){e.method="textDocument/declaration",e.messageDirection=Tq.MessageDirection.clientToServer,e.type=new Tq.ProtocolRequestType(e.method)})(HAe=UE.DeclarationRequest||(UE.DeclarationRequest={}))});var xq=Le(qE=>{"use strict";Object.defineProperty(qE,"__esModule",{value:!0});qE.SelectionRangeRequest=void 0;var Cq=ba(),pAe;(function(e){e.method="textDocument/selectionRange",e.messageDirection=Cq.MessageDirection.clientToServer,e.type=new Cq.ProtocolRequestType(e.method)})(pAe=qE.SelectionRangeRequest||(qE.SelectionRangeRequest={}))});var Dq=Le(Uc=>{"use strict";Object.defineProperty(Uc,"__esModule",{value:!0});Uc.WorkDoneProgressCancelNotification=Uc.WorkDoneProgressCreateRequest=Uc.WorkDoneProgress=void 0;var dAe=Qd(),Fb=ba(),fAe;(function(e){e.type=new dAe.ProgressType;function t(n){return n===e.type}e.is=t})(fAe=Uc.WorkDoneProgress||(Uc.WorkDoneProgress={}));var hAe;(function(e){e.method="window/workDoneProgress/create",e.messageDirection=Fb.MessageDirection.serverToClient,e.type=new Fb.ProtocolRequestType(e.method)})(hAe=Uc.WorkDoneProgressCreateRequest||(Uc.WorkDoneProgressCreateRequest={}));var _Ae;(function(e){e.method="window/workDoneProgress/cancel",e.messageDirection=Fb.MessageDirection.clientToServer,e.type=new Fb.ProtocolNotificationType(e.method)})(_Ae=Uc.WorkDoneProgressCancelNotification||(Uc.WorkDoneProgressCancelNotification={}))});var Pq=Le(qc=>{"use strict";Object.defineProperty(qc,"__esModule",{value:!0});qc.CallHierarchyOutgoingCallsRequest=qc.CallHierarchyIncomingCallsRequest=qc.CallHierarchyPrepareRequest=void 0;var Bh=ba(),mAe;(function(e){e.method="textDocument/prepareCallHierarchy",e.messageDirection=Bh.MessageDirection.clientToServer,e.type=new Bh.ProtocolRequestType(e.method)})(mAe=qc.CallHierarchyPrepareRequest||(qc.CallHierarchyPrepareRequest={}));var EAe;(function(e){e.method="callHierarchy/incomingCalls",e.messageDirection=Bh.MessageDirection.clientToServer,e.type=new Bh.ProtocolRequestType(e.method)})(EAe=qc.CallHierarchyIncomingCallsRequest||(qc.CallHierarchyIncomingCallsRequest={}));var yAe;(function(e){e.method="callHierarchy/outgoingCalls",e.messageDirection=Bh.MessageDirection.clientToServer,e.type=new Bh.ProtocolRequestType(e.method)})(yAe=qc.CallHierarchyOutgoingCallsRequest||(qc.CallHierarchyOutgoingCallsRequest={}))});var wq=Le(Ka=>{"use strict";Object.defineProperty(Ka,"__esModule",{value:!0});Ka.SemanticTokensRefreshRequest=Ka.SemanticTokensRangeRequest=Ka.SemanticTokensDeltaRequest=Ka.SemanticTokensRequest=Ka.SemanticTokensRegistrationType=Ka.TokenFormat=void 0;var yH=ba(),gAe;(function(e){e.Relative="relative"})(gAe=Ka.TokenFormat||(Ka.TokenFormat={}));var jb;(function(e){e.method="textDocument/semanticTokens",e.type=new yH.RegistrationType(e.method)})(jb=Ka.SemanticTokensRegistrationType||(Ka.SemanticTokensRegistrationType={}));var bAe;(function(e){e.method="textDocument/semanticTokens/full",e.messageDirection=yH.MessageDirection.clientToServer,e.type=new yH.ProtocolRequestType(e.method),e.registrationMethod=jb.method})(bAe=Ka.SemanticTokensRequest||(Ka.SemanticTokensRequest={}));var AAe;(function(e){e.method="textDocument/semanticTokens/full/delta",e.messageDirection=yH.MessageDirection.clientToServer,e.type=new yH.ProtocolRequestType(e.method),e.registrationMethod=jb.method})(AAe=Ka.SemanticTokensDeltaRequest||(Ka.SemanticTokensDeltaRequest={}));var IAe;(function(e){e.method="textDocument/semanticTokens/range",e.messageDirection=yH.MessageDirection.clientToServer,e.type=new yH.ProtocolRequestType(e.method),e.registrationMethod=jb.method})(IAe=Ka.SemanticTokensRangeRequest||(Ka.SemanticTokensRangeRequest={}));var SAe;(function(e){e.method="workspace/semanticTokens/refresh",e.messageDirection=yH.MessageDirection.serverToClient,e.type=new yH.ProtocolRequestType0(e.method)})(SAe=Ka.SemanticTokensRefreshRequest||(Ka.SemanticTokensRefreshRequest={}))});var Nq=Le(WE=>{"use strict";Object.defineProperty(WE,"__esModule",{value:!0});WE.ShowDocumentRequest=void 0;var kq=ba(),LAe;(function(e){e.method="window/showDocument",e.messageDirection=kq.MessageDirection.serverToClient,e.type=new kq.ProtocolRequestType(e.method)})(LAe=WE.ShowDocumentRequest||(WE.ShowDocumentRequest={}))});var $q=Le(VE=>{"use strict";Object.defineProperty(VE,"__esModule",{value:!0});VE.LinkedEditingRangeRequest=void 0;var Rq=ba(),TAe;(function(e){e.method="textDocument/linkedEditingRange",e.messageDirection=Rq.MessageDirection.clientToServer,e.type=new Rq.ProtocolRequestType(e.method)})(TAe=VE.LinkedEditingRangeRequest||(VE.LinkedEditingRangeRequest={}))});var Mq=Le(Aa=>{"use strict";Object.defineProperty(Aa,"__esModule",{value:!0});Aa.WillDeleteFilesRequest=Aa.DidDeleteFilesNotification=Aa.DidRenameFilesNotification=Aa.WillRenameFilesRequest=Aa.DidCreateFilesNotification=Aa.WillCreateFilesRequest=Aa.FileOperationPatternKind=void 0;var rc=ba(),vAe;(function(e){e.file="file",e.folder="folder"})(vAe=Aa.FileOperationPatternKind||(Aa.FileOperationPatternKind={}));var CAe;(function(e){e.method="workspace/willCreateFiles",e.messageDirection=rc.MessageDirection.clientToServer,e.type=new rc.ProtocolRequestType(e.method)})(CAe=Aa.WillCreateFilesRequest||(Aa.WillCreateFilesRequest={}));var xAe;(function(e){e.method="workspace/didCreateFiles",e.messageDirection=rc.MessageDirection.clientToServer,e.type=new rc.ProtocolNotificationType(e.method)})(xAe=Aa.DidCreateFilesNotification||(Aa.DidCreateFilesNotification={}));var DAe;(function(e){e.method="workspace/willRenameFiles",e.messageDirection=rc.MessageDirection.clientToServer,e.type=new rc.ProtocolRequestType(e.method)})(DAe=Aa.WillRenameFilesRequest||(Aa.WillRenameFilesRequest={}));var PAe;(function(e){e.method="workspace/didRenameFiles",e.messageDirection=rc.MessageDirection.clientToServer,e.type=new rc.ProtocolNotificationType(e.method)})(PAe=Aa.DidRenameFilesNotification||(Aa.DidRenameFilesNotification={}));var wAe;(function(e){e.method="workspace/didDeleteFiles",e.messageDirection=rc.MessageDirection.clientToServer,e.type=new rc.ProtocolNotificationType(e.method)})(wAe=Aa.DidDeleteFilesNotification||(Aa.DidDeleteFilesNotification={}));var kAe;(function(e){e.method="workspace/willDeleteFiles",e.messageDirection=rc.MessageDirection.clientToServer,e.type=new rc.ProtocolRequestType(e.method)})(kAe=Aa.WillDeleteFilesRequest||(Aa.WillDeleteFilesRequest={}))});var Oq=Le(Wc=>{"use strict";Object.defineProperty(Wc,"__esModule",{value:!0});Wc.MonikerRequest=Wc.MonikerKind=Wc.UniquenessLevel=void 0;var Bq=ba(),NAe;(function(e){e.document="document",e.project="project",e.group="group",e.scheme="scheme",e.global="global"})(NAe=Wc.UniquenessLevel||(Wc.UniquenessLevel={}));var RAe;(function(e){e.$import="import",e.$export="export",e.local="local"})(RAe=Wc.MonikerKind||(Wc.MonikerKind={}));var $Ae;(function(e){e.method="textDocument/moniker",e.messageDirection=Bq.MessageDirection.clientToServer,e.type=new Bq.ProtocolRequestType(e.method)})($Ae=Wc.MonikerRequest||(Wc.MonikerRequest={}))});var Fq=Le(Vc=>{"use strict";Object.defineProperty(Vc,"__esModule",{value:!0});Vc.TypeHierarchySubtypesRequest=Vc.TypeHierarchySupertypesRequest=Vc.TypeHierarchyPrepareRequest=void 0;var Oh=ba(),MAe;(function(e){e.method="textDocument/prepareTypeHierarchy",e.messageDirection=Oh.MessageDirection.clientToServer,e.type=new Oh.ProtocolRequestType(e.method)})(MAe=Vc.TypeHierarchyPrepareRequest||(Vc.TypeHierarchyPrepareRequest={}));var BAe;(function(e){e.method="typeHierarchy/supertypes",e.messageDirection=Oh.MessageDirection.clientToServer,e.type=new Oh.ProtocolRequestType(e.method)})(BAe=Vc.TypeHierarchySupertypesRequest||(Vc.TypeHierarchySupertypesRequest={}));var OAe;(function(e){e.method="typeHierarchy/subtypes",e.messageDirection=Oh.MessageDirection.clientToServer,e.type=new Oh.ProtocolRequestType(e.method)})(OAe=Vc.TypeHierarchySubtypesRequest||(Vc.TypeHierarchySubtypesRequest={}))});var jq=Le(Tp=>{"use strict";Object.defineProperty(Tp,"__esModule",{value:!0});Tp.InlineValueRefreshRequest=Tp.InlineValueRequest=void 0;var Ub=ba(),FAe;(function(e){e.method="textDocument/inlineValue",e.messageDirection=Ub.MessageDirection.clientToServer,e.type=new Ub.ProtocolRequestType(e.method)})(FAe=Tp.InlineValueRequest||(Tp.InlineValueRequest={}));var jAe;(function(e){e.method="workspace/inlineValue/refresh",e.messageDirection=Ub.MessageDirection.serverToClient,e.type=new Ub.ProtocolRequestType0(e.method)})(jAe=Tp.InlineValueRefreshRequest||(Tp.InlineValueRefreshRequest={}))});var Uq=Le(Kc=>{"use strict";Object.defineProperty(Kc,"__esModule",{value:!0});Kc.InlayHintRefreshRequest=Kc.InlayHintResolveRequest=Kc.InlayHintRequest=void 0;var Fh=ba(),UAe;(function(e){e.method="textDocument/inlayHint",e.messageDirection=Fh.MessageDirection.clientToServer,e.type=new Fh.ProtocolRequestType(e.method)})(UAe=Kc.InlayHintRequest||(Kc.InlayHintRequest={}));var qAe;(function(e){e.method="inlayHint/resolve",e.messageDirection=Fh.MessageDirection.clientToServer,e.type=new Fh.ProtocolRequestType(e.method)})(qAe=Kc.InlayHintResolveRequest||(Kc.InlayHintResolveRequest={}));var WAe;(function(e){e.method="workspace/inlayHint/refresh",e.messageDirection=Fh.MessageDirection.serverToClient,e.type=new Fh.ProtocolRequestType0(e.method)})(WAe=Kc.InlayHintRefreshRequest||(Kc.InlayHintRefreshRequest={}))});var Wq=Le(Io=>{"use strict";Object.defineProperty(Io,"__esModule",{value:!0});Io.DiagnosticRefreshRequest=Io.WorkspaceDiagnosticRequest=Io.DocumentDiagnosticRequest=Io.DocumentDiagnosticReportKind=Io.DiagnosticServerCancellationData=void 0;var qq=Qd(),VAe=Mb(),jh=ba(),KAe;(function(e){function t(n){let i=n;return i&&VAe.boolean(i.retriggerRequest)}e.is=t})(KAe=Io.DiagnosticServerCancellationData||(Io.DiagnosticServerCancellationData={}));var GAe;(function(e){e.Full="full",e.Unchanged="unchanged"})(GAe=Io.DocumentDiagnosticReportKind||(Io.DocumentDiagnosticReportKind={}));var XAe;(function(e){e.method="textDocument/diagnostic",e.messageDirection=jh.MessageDirection.clientToServer,e.type=new jh.ProtocolRequestType(e.method),e.partialResult=new qq.ProgressType})(XAe=Io.DocumentDiagnosticRequest||(Io.DocumentDiagnosticRequest={}));var ZAe;(function(e){e.method="workspace/diagnostic",e.messageDirection=jh.MessageDirection.clientToServer,e.type=new jh.ProtocolRequestType(e.method),e.partialResult=new qq.ProgressType})(ZAe=Io.WorkspaceDiagnosticRequest||(Io.WorkspaceDiagnosticRequest={}));var zAe;(function(e){e.method="workspace/diagnostic/refresh",e.messageDirection=jh.MessageDirection.serverToClient,e.type=new jh.ProtocolRequestType0(e.method)})(zAe=Io.DiagnosticRefreshRequest||(Io.DiagnosticRefreshRequest={}))});var Gq=Le(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.DidCloseNotebookDocumentNotification=qi.DidSaveNotebookDocumentNotification=qi.DidChangeNotebookDocumentNotification=qi.NotebookCellArrayChange=qi.DidOpenNotebookDocumentNotification=qi.NotebookDocumentSyncRegistrationType=qi.NotebookDocument=qi.NotebookCell=qi.ExecutionSummary=qi.NotebookCellKind=void 0;var KE=$b(),Gc=Mb(),Tu=ba(),Vq;(function(e){e.Markup=1,e.Code=2;function t(n){return n===1||n===2}e.is=t})(Vq=qi.NotebookCellKind||(qi.NotebookCellKind={}));var Kq;(function(e){function t(o,r){let c={executionOrder:o};return(r===!0||r===!1)&&(c.success=r),c}e.create=t;function n(o){let r=o;return Gc.objectLiteral(r)&&KE.uinteger.is(r.executionOrder)&&(r.success===void 0||Gc.boolean(r.success))}e.is=n;function i(o,r){return o===r?!0:o==null||r===null||r===void 0?!1:o.executionOrder===r.executionOrder&&o.success===r.success}e.equals=i})(Kq=qi.ExecutionSummary||(qi.ExecutionSummary={}));var SP;(function(e){function t(r,c){return{kind:r,document:c}}e.create=t;function n(r){let c=r;return Gc.objectLiteral(c)&&Vq.is(c.kind)&&KE.DocumentUri.is(c.document)&&(c.metadata===void 0||Gc.objectLiteral(c.metadata))}e.is=n;function i(r,c){let s=new Set;return r.document!==c.document&&s.add("document"),r.kind!==c.kind&&s.add("kind"),r.executionSummary!==c.executionSummary&&s.add("executionSummary"),(r.metadata!==void 0||c.metadata!==void 0)&&!o(r.metadata,c.metadata)&&s.add("metadata"),(r.executionSummary!==void 0||c.executionSummary!==void 0)&&!Kq.equals(r.executionSummary,c.executionSummary)&&s.add("executionSummary"),s}e.diff=i;function o(r,c){if(r===c)return!0;if(r==null||c===null||c===void 0||typeof r!=typeof c||typeof r!="object")return!1;let s=Array.isArray(r),u=Array.isArray(c);if(s!==u)return!1;if(s&&u){if(r.length!==c.length)return!1;for(let H=0;H<r.length;H++)if(!o(r[H],c[H]))return!1}if(Gc.objectLiteral(r)&&Gc.objectLiteral(c)){let H=Object.keys(r),a=Object.keys(c);if(H.length!==a.length||(H.sort(),a.sort(),!o(H,a)))return!1;for(let l=0;l<H.length;l++){let p=H[l];if(!o(r[p],c[p]))return!1}}return!0}})(SP=qi.NotebookCell||(qi.NotebookCell={}));var JAe;(function(e){function t(i,o,r,c){return{uri:i,notebookType:o,version:r,cells:c}}e.create=t;function n(i){let o=i;return Gc.objectLiteral(o)&&Gc.string(o.uri)&&KE.integer.is(o.version)&&Gc.typedArray(o.cells,SP.is)}e.is=n})(JAe=qi.NotebookDocument||(qi.NotebookDocument={}));var GE;(function(e){e.method="notebookDocument/sync",e.messageDirection=Tu.MessageDirection.clientToServer,e.type=new Tu.RegistrationType(e.method)})(GE=qi.NotebookDocumentSyncRegistrationType||(qi.NotebookDocumentSyncRegistrationType={}));var QAe;(function(e){e.method="notebookDocument/didOpen",e.messageDirection=Tu.MessageDirection.clientToServer,e.type=new Tu.ProtocolNotificationType(e.method),e.registrationMethod=GE.method})(QAe=qi.DidOpenNotebookDocumentNotification||(qi.DidOpenNotebookDocumentNotification={}));var YAe;(function(e){function t(i){let o=i;return Gc.objectLiteral(o)&&KE.uinteger.is(o.start)&&KE.uinteger.is(o.deleteCount)&&(o.cells===void 0||Gc.typedArray(o.cells,SP.is))}e.is=t;function n(i,o,r){let c={start:i,deleteCount:o};return r!==void 0&&(c.cells=r),c}e.create=n})(YAe=qi.NotebookCellArrayChange||(qi.NotebookCellArrayChange={}));var eIe;(function(e){e.method="notebookDocument/didChange",e.messageDirection=Tu.MessageDirection.clientToServer,e.type=new Tu.ProtocolNotificationType(e.method),e.registrationMethod=GE.method})(eIe=qi.DidChangeNotebookDocumentNotification||(qi.DidChangeNotebookDocumentNotification={}));var tIe;(function(e){e.method="notebookDocument/didSave",e.messageDirection=Tu.MessageDirection.clientToServer,e.type=new Tu.ProtocolNotificationType(e.method),e.registrationMethod=GE.method})(tIe=qi.DidSaveNotebookDocumentNotification||(qi.DidSaveNotebookDocumentNotification={}));var rIe;(function(e){e.method="notebookDocument/didClose",e.messageDirection=Tu.MessageDirection.clientToServer,e.type=new Tu.ProtocolNotificationType(e.method),e.registrationMethod=GE.method})(rIe=qi.DidCloseNotebookDocumentNotification||(qi.DidCloseNotebookDocumentNotification={}))});var rW=Le(Ht=>{"use strict";Object.defineProperty(Ht,"__esModule",{value:!0});Ht.WorkspaceSymbolRequest=Ht.CodeActionResolveRequest=Ht.CodeActionRequest=Ht.DocumentSymbolRequest=Ht.DocumentHighlightRequest=Ht.ReferencesRequest=Ht.DefinitionRequest=Ht.SignatureHelpRequest=Ht.SignatureHelpTriggerKind=Ht.HoverRequest=Ht.CompletionResolveRequest=Ht.CompletionRequest=Ht.CompletionTriggerKind=Ht.PublishDiagnosticsNotification=Ht.WatchKind=Ht.RelativePattern=Ht.FileChangeType=Ht.DidChangeWatchedFilesNotification=Ht.WillSaveTextDocumentWaitUntilRequest=Ht.WillSaveTextDocumentNotification=Ht.TextDocumentSaveReason=Ht.DidSaveTextDocumentNotification=Ht.DidCloseTextDocumentNotification=Ht.DidChangeTextDocumentNotification=Ht.TextDocumentContentChangeEvent=Ht.DidOpenTextDocumentNotification=Ht.TextDocumentSyncKind=Ht.TelemetryEventNotification=Ht.LogMessageNotification=Ht.ShowMessageRequest=Ht.ShowMessageNotification=Ht.MessageType=Ht.DidChangeConfigurationNotification=Ht.ExitNotification=Ht.ShutdownRequest=Ht.InitializedNotification=Ht.InitializeErrorCodes=Ht.InitializeRequest=Ht.WorkDoneProgressOptions=Ht.TextDocumentRegistrationOptions=Ht.StaticRegistrationOptions=Ht.PositionEncodingKind=Ht.FailureHandlingKind=Ht.ResourceOperationKind=Ht.UnregistrationRequest=Ht.RegistrationRequest=Ht.DocumentSelector=Ht.NotebookCellTextDocumentFilter=Ht.NotebookDocumentFilter=Ht.TextDocumentFilter=void 0;Ht.TypeHierarchySubtypesRequest=Ht.TypeHierarchyPrepareRequest=Ht.MonikerRequest=Ht.MonikerKind=Ht.UniquenessLevel=Ht.WillDeleteFilesRequest=Ht.DidDeleteFilesNotification=Ht.WillRenameFilesRequest=Ht.DidRenameFilesNotification=Ht.WillCreateFilesRequest=Ht.DidCreateFilesNotification=Ht.FileOperationPatternKind=Ht.LinkedEditingRangeRequest=Ht.ShowDocumentRequest=Ht.SemanticTokensRegistrationType=Ht.SemanticTokensRefreshRequest=Ht.SemanticTokensRangeRequest=Ht.SemanticTokensDeltaRequest=Ht.SemanticTokensRequest=Ht.TokenFormat=Ht.CallHierarchyPrepareRequest=Ht.CallHierarchyOutgoingCallsRequest=Ht.CallHierarchyIncomingCallsRequest=Ht.WorkDoneProgressCancelNotification=Ht.WorkDoneProgressCreateRequest=Ht.WorkDoneProgress=Ht.SelectionRangeRequest=Ht.DeclarationRequest=Ht.FoldingRangeRequest=Ht.ColorPresentationRequest=Ht.DocumentColorRequest=Ht.ConfigurationRequest=Ht.DidChangeWorkspaceFoldersNotification=Ht.WorkspaceFoldersRequest=Ht.TypeDefinitionRequest=Ht.ImplementationRequest=Ht.ApplyWorkspaceEditRequest=Ht.ExecuteCommandRequest=Ht.PrepareRenameRequest=Ht.RenameRequest=Ht.PrepareSupportDefaultBehavior=Ht.DocumentOnTypeFormattingRequest=Ht.DocumentRangeFormattingRequest=Ht.DocumentFormattingRequest=Ht.DocumentLinkResolveRequest=Ht.DocumentLinkRequest=Ht.CodeLensRefreshRequest=Ht.CodeLensResolveRequest=Ht.CodeLensRequest=Ht.WorkspaceSymbolResolveRequest=void 0;Ht.DidCloseNotebookDocumentNotification=Ht.DidSaveNotebookDocumentNotification=Ht.DidChangeNotebookDocumentNotification=Ht.NotebookCellArrayChange=Ht.DidOpenNotebookDocumentNotification=Ht.NotebookDocumentSyncRegistrationType=Ht.NotebookDocument=Ht.NotebookCell=Ht.ExecutionSummary=Ht.NotebookCellKind=Ht.DiagnosticRefreshRequest=Ht.WorkspaceDiagnosticRequest=Ht.DocumentDiagnosticRequest=Ht.DocumentDiagnosticReportKind=Ht.DiagnosticServerCancellationData=Ht.InlayHintRefreshRequest=Ht.InlayHintResolveRequest=Ht.InlayHintRequest=Ht.InlineValueRefreshRequest=Ht.InlineValueRequest=Ht.TypeHierarchySupertypesRequest=void 0;var $r=ba(),Xq=$b(),So=Mb(),nIe=mq();Object.defineProperty(Ht,"ImplementationRequest",{enumerable:!0,get:function(){return nIe.ImplementationRequest}});var iIe=yq();Object.defineProperty(Ht,"TypeDefinitionRequest",{enumerable:!0,get:function(){return iIe.TypeDefinitionRequest}});var Zq=gq();Object.defineProperty(Ht,"WorkspaceFoldersRequest",{enumerable:!0,get:function(){return Zq.WorkspaceFoldersRequest}});Object.defineProperty(Ht,"DidChangeWorkspaceFoldersNotification",{enumerable:!0,get:function(){return Zq.DidChangeWorkspaceFoldersNotification}});var sIe=Aq();Object.defineProperty(Ht,"ConfigurationRequest",{enumerable:!0,get:function(){return sIe.ConfigurationRequest}});var zq=Iq();Object.defineProperty(Ht,"DocumentColorRequest",{enumerable:!0,get:function(){return zq.DocumentColorRequest}});Object.defineProperty(Ht,"ColorPresentationRequest",{enumerable:!0,get:function(){return zq.ColorPresentationRequest}});var aIe=Lq();Object.defineProperty(Ht,"FoldingRangeRequest",{enumerable:!0,get:function(){return aIe.FoldingRangeRequest}});var oIe=vq();Object.defineProperty(Ht,"DeclarationRequest",{enumerable:!0,get:function(){return oIe.DeclarationRequest}});var lIe=xq();Object.defineProperty(Ht,"SelectionRangeRequest",{enumerable:!0,get:function(){return lIe.SelectionRangeRequest}});var LP=Dq();Object.defineProperty(Ht,"WorkDoneProgress",{enumerable:!0,get:function(){return LP.WorkDoneProgress}});Object.defineProperty(Ht,"WorkDoneProgressCreateRequest",{enumerable:!0,get:function(){return LP.WorkDoneProgressCreateRequest}});Object.defineProperty(Ht,"WorkDoneProgressCancelNotification",{enumerable:!0,get:function(){return LP.WorkDoneProgressCancelNotification}});var TP=Pq();Object.defineProperty(Ht,"CallHierarchyIncomingCallsRequest",{enumerable:!0,get:function(){return TP.CallHierarchyIncomingCallsRequest}});Object.defineProperty(Ht,"CallHierarchyOutgoingCallsRequest",{enumerable:!0,get:function(){return TP.CallHierarchyOutgoingCallsRequest}});Object.defineProperty(Ht,"CallHierarchyPrepareRequest",{enumerable:!0,get:function(){return TP.CallHierarchyPrepareRequest}});var Uh=wq();Object.defineProperty(Ht,"TokenFormat",{enumerable:!0,get:function(){return Uh.TokenFormat}});Object.defineProperty(Ht,"SemanticTokensRequest",{enumerable:!0,get:function(){return Uh.SemanticTokensRequest}});Object.defineProperty(Ht,"SemanticTokensDeltaRequest",{enumerable:!0,get:function(){return Uh.SemanticTokensDeltaRequest}});Object.defineProperty(Ht,"SemanticTokensRangeRequest",{enumerable:!0,get:function(){return Uh.SemanticTokensRangeRequest}});Object.defineProperty(Ht,"SemanticTokensRefreshRequest",{enumerable:!0,get:function(){return Uh.SemanticTokensRefreshRequest}});Object.defineProperty(Ht,"SemanticTokensRegistrationType",{enumerable:!0,get:function(){return Uh.SemanticTokensRegistrationType}});var cIe=Nq();Object.defineProperty(Ht,"ShowDocumentRequest",{enumerable:!0,get:function(){return cIe.ShowDocumentRequest}});var uIe=$q();Object.defineProperty(Ht,"LinkedEditingRangeRequest",{enumerable:!0,get:function(){return uIe.LinkedEditingRangeRequest}});var Yd=Mq();Object.defineProperty(Ht,"FileOperationPatternKind",{enumerable:!0,get:function(){return Yd.FileOperationPatternKind}});Object.defineProperty(Ht,"DidCreateFilesNotification",{enumerable:!0,get:function(){return Yd.DidCreateFilesNotification}});Object.defineProperty(Ht,"WillCreateFilesRequest",{enumerable:!0,get:function(){return Yd.WillCreateFilesRequest}});Object.defineProperty(Ht,"DidRenameFilesNotification",{enumerable:!0,get:function(){return Yd.DidRenameFilesNotification}});Object.defineProperty(Ht,"WillRenameFilesRequest",{enumerable:!0,get:function(){return Yd.WillRenameFilesRequest}});Object.defineProperty(Ht,"DidDeleteFilesNotification",{enumerable:!0,get:function(){return Yd.DidDeleteFilesNotification}});Object.defineProperty(Ht,"WillDeleteFilesRequest",{enumerable:!0,get:function(){return Yd.WillDeleteFilesRequest}});var vP=Oq();Object.defineProperty(Ht,"UniquenessLevel",{enumerable:!0,get:function(){return vP.UniquenessLevel}});Object.defineProperty(Ht,"MonikerKind",{enumerable:!0,get:function(){return vP.MonikerKind}});Object.defineProperty(Ht,"MonikerRequest",{enumerable:!0,get:function(){return vP.MonikerRequest}});var CP=Fq();Object.defineProperty(Ht,"TypeHierarchyPrepareRequest",{enumerable:!0,get:function(){return CP.TypeHierarchyPrepareRequest}});Object.defineProperty(Ht,"TypeHierarchySubtypesRequest",{enumerable:!0,get:function(){return CP.TypeHierarchySubtypesRequest}});Object.defineProperty(Ht,"TypeHierarchySupertypesRequest",{enumerable:!0,get:function(){return CP.TypeHierarchySupertypesRequest}});var Jq=jq();Object.defineProperty(Ht,"InlineValueRequest",{enumerable:!0,get:function(){return Jq.InlineValueRequest}});Object.defineProperty(Ht,"InlineValueRefreshRequest",{enumerable:!0,get:function(){return Jq.InlineValueRefreshRequest}});var xP=Uq();Object.defineProperty(Ht,"InlayHintRequest",{enumerable:!0,get:function(){return xP.InlayHintRequest}});Object.defineProperty(Ht,"InlayHintResolveRequest",{enumerable:!0,get:function(){return xP.InlayHintResolveRequest}});Object.defineProperty(Ht,"InlayHintRefreshRequest",{enumerable:!0,get:function(){return xP.InlayHintRefreshRequest}});var XE=Wq();Object.defineProperty(Ht,"DiagnosticServerCancellationData",{enumerable:!0,get:function(){return XE.DiagnosticServerCancellationData}});Object.defineProperty(Ht,"DocumentDiagnosticReportKind",{enumerable:!0,get:function(){return XE.DocumentDiagnosticReportKind}});Object.defineProperty(Ht,"DocumentDiagnosticRequest",{enumerable:!0,get:function(){return XE.DocumentDiagnosticRequest}});Object.defineProperty(Ht,"WorkspaceDiagnosticRequest",{enumerable:!0,get:function(){return XE.WorkspaceDiagnosticRequest}});Object.defineProperty(Ht,"DiagnosticRefreshRequest",{enumerable:!0,get:function(){return XE.DiagnosticRefreshRequest}});var vu=Gq();Object.defineProperty(Ht,"NotebookCellKind",{enumerable:!0,get:function(){return vu.NotebookCellKind}});Object.defineProperty(Ht,"ExecutionSummary",{enumerable:!0,get:function(){return vu.ExecutionSummary}});Object.defineProperty(Ht,"NotebookCell",{enumerable:!0,get:function(){return vu.NotebookCell}});Object.defineProperty(Ht,"NotebookDocument",{enumerable:!0,get:function(){return vu.NotebookDocument}});Object.defineProperty(Ht,"NotebookDocumentSyncRegistrationType",{enumerable:!0,get:function(){return vu.NotebookDocumentSyncRegistrationType}});Object.defineProperty(Ht,"DidOpenNotebookDocumentNotification",{enumerable:!0,get:function(){return vu.DidOpenNotebookDocumentNotification}});Object.defineProperty(Ht,"NotebookCellArrayChange",{enumerable:!0,get:function(){return vu.NotebookCellArrayChange}});Object.defineProperty(Ht,"DidChangeNotebookDocumentNotification",{enumerable:!0,get:function(){return vu.DidChangeNotebookDocumentNotification}});Object.defineProperty(Ht,"DidSaveNotebookDocumentNotification",{enumerable:!0,get:function(){return vu.DidSaveNotebookDocumentNotification}});Object.defineProperty(Ht,"DidCloseNotebookDocumentNotification",{enumerable:!0,get:function(){return vu.DidCloseNotebookDocumentNotification}});var Qq;(function(e){function t(n){let i=n;return So.string(i.language)||So.string(i.scheme)||So.string(i.pattern)}e.is=t})(Qq=Ht.TextDocumentFilter||(Ht.TextDocumentFilter={}));var Yq;(function(e){function t(n){let i=n;return So.objectLiteral(i)&&(So.string(i.notebookType)||So.string(i.scheme)||So.string(i.pattern))}e.is=t})(Yq=Ht.NotebookDocumentFilter||(Ht.NotebookDocumentFilter={}));var eW;(function(e){function t(n){let i=n;return So.objectLiteral(i)&&(So.string(i.notebook)||Yq.is(i.notebook))&&(i.language===void 0||So.string(i.language))}e.is=t})(eW=Ht.NotebookCellTextDocumentFilter||(Ht.NotebookCellTextDocumentFilter={}));var tW;(function(e){function t(n){if(!Array.isArray(n))return!1;for(let i of n)if(!So.string(i)&&!Qq.is(i)&&!eW.is(i))return!1;return!0}e.is=t})(tW=Ht.DocumentSelector||(Ht.DocumentSelector={}));var HIe;(function(e){e.method="client/registerCapability",e.messageDirection=$r.MessageDirection.serverToClient,e.type=new $r.ProtocolRequestType(e.method)})(HIe=Ht.RegistrationRequest||(Ht.RegistrationRequest={}));var pIe;(function(e){e.method="client/unregisterCapability",e.messageDirection=$r.MessageDirection.serverToClient,e.type=new $r.ProtocolRequestType(e.method)})(pIe=Ht.UnregistrationRequest||(Ht.UnregistrationRequest={}));var dIe;(function(e){e.Create="create",e.Rename="rename",e.Delete="delete"})(dIe=Ht.ResourceOperationKind||(Ht.ResourceOperationKind={}));var fIe;(function(e){e.Abort="abort",e.Transactional="transactional",e.TextOnlyTransactional="textOnlyTransactional",e.Undo="undo"})(fIe=Ht.FailureHandlingKind||(Ht.FailureHandlingKind={}));var hIe;(function(e){e.UTF8="utf-8",e.UTF16="utf-16",e.UTF32="utf-32"})(hIe=Ht.PositionEncodingKind||(Ht.PositionEncodingKind={}));var _Ie;(function(e){function t(n){let i=n;return i&&So.string(i.id)&&i.id.length>0}e.hasId=t})(_Ie=Ht.StaticRegistrationOptions||(Ht.StaticRegistrationOptions={}));var mIe;(function(e){function t(n){let i=n;return i&&(i.documentSelector===null||tW.is(i.documentSelector))}e.is=t})(mIe=Ht.TextDocumentRegistrationOptions||(Ht.TextDocumentRegistrationOptions={}));var EIe;(function(e){function t(i){let o=i;return So.objectLiteral(o)&&(o.workDoneProgress===void 0||So.boolean(o.workDoneProgress))}e.is=t;function n(i){let o=i;return o&&So.boolean(o.workDoneProgress)}e.hasWorkDoneProgress=n})(EIe=Ht.WorkDoneProgressOptions||(Ht.WorkDoneProgressOptions={}));var yIe;(function(e){e.method="initialize",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(yIe=Ht.InitializeRequest||(Ht.InitializeRequest={}));var gIe;(function(e){e.unknownProtocolVersion=1})(gIe=Ht.InitializeErrorCodes||(Ht.InitializeErrorCodes={}));var bIe;(function(e){e.method="initialized",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolNotificationType(e.method)})(bIe=Ht.InitializedNotification||(Ht.InitializedNotification={}));var AIe;(function(e){e.method="shutdown",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType0(e.method)})(AIe=Ht.ShutdownRequest||(Ht.ShutdownRequest={}));var IIe;(function(e){e.method="exit",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolNotificationType0(e.method)})(IIe=Ht.ExitNotification||(Ht.ExitNotification={}));var SIe;(function(e){e.method="workspace/didChangeConfiguration",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolNotificationType(e.method)})(SIe=Ht.DidChangeConfigurationNotification||(Ht.DidChangeConfigurationNotification={}));var LIe;(function(e){e.Error=1,e.Warning=2,e.Info=3,e.Log=4})(LIe=Ht.MessageType||(Ht.MessageType={}));var TIe;(function(e){e.method="window/showMessage",e.messageDirection=$r.MessageDirection.serverToClient,e.type=new $r.ProtocolNotificationType(e.method)})(TIe=Ht.ShowMessageNotification||(Ht.ShowMessageNotification={}));var vIe;(function(e){e.method="window/showMessageRequest",e.messageDirection=$r.MessageDirection.serverToClient,e.type=new $r.ProtocolRequestType(e.method)})(vIe=Ht.ShowMessageRequest||(Ht.ShowMessageRequest={}));var CIe;(function(e){e.method="window/logMessage",e.messageDirection=$r.MessageDirection.serverToClient,e.type=new $r.ProtocolNotificationType(e.method)})(CIe=Ht.LogMessageNotification||(Ht.LogMessageNotification={}));var xIe;(function(e){e.method="telemetry/event",e.messageDirection=$r.MessageDirection.serverToClient,e.type=new $r.ProtocolNotificationType(e.method)})(xIe=Ht.TelemetryEventNotification||(Ht.TelemetryEventNotification={}));var DIe;(function(e){e.None=0,e.Full=1,e.Incremental=2})(DIe=Ht.TextDocumentSyncKind||(Ht.TextDocumentSyncKind={}));var PIe;(function(e){e.method="textDocument/didOpen",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolNotificationType(e.method)})(PIe=Ht.DidOpenTextDocumentNotification||(Ht.DidOpenTextDocumentNotification={}));var wIe;(function(e){function t(i){let o=i;return o!=null&&typeof o.text=="string"&&o.range!==void 0&&(o.rangeLength===void 0||typeof o.rangeLength=="number")}e.isIncremental=t;function n(i){let o=i;return o!=null&&typeof o.text=="string"&&o.range===void 0&&o.rangeLength===void 0}e.isFull=n})(wIe=Ht.TextDocumentContentChangeEvent||(Ht.TextDocumentContentChangeEvent={}));var kIe;(function(e){e.method="textDocument/didChange",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolNotificationType(e.method)})(kIe=Ht.DidChangeTextDocumentNotification||(Ht.DidChangeTextDocumentNotification={}));var NIe;(function(e){e.method="textDocument/didClose",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolNotificationType(e.method)})(NIe=Ht.DidCloseTextDocumentNotification||(Ht.DidCloseTextDocumentNotification={}));var RIe;(function(e){e.method="textDocument/didSave",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolNotificationType(e.method)})(RIe=Ht.DidSaveTextDocumentNotification||(Ht.DidSaveTextDocumentNotification={}));var $Ie;(function(e){e.Manual=1,e.AfterDelay=2,e.FocusOut=3})($Ie=Ht.TextDocumentSaveReason||(Ht.TextDocumentSaveReason={}));var MIe;(function(e){e.method="textDocument/willSave",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolNotificationType(e.method)})(MIe=Ht.WillSaveTextDocumentNotification||(Ht.WillSaveTextDocumentNotification={}));var BIe;(function(e){e.method="textDocument/willSaveWaitUntil",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(BIe=Ht.WillSaveTextDocumentWaitUntilRequest||(Ht.WillSaveTextDocumentWaitUntilRequest={}));var OIe;(function(e){e.method="workspace/didChangeWatchedFiles",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolNotificationType(e.method)})(OIe=Ht.DidChangeWatchedFilesNotification||(Ht.DidChangeWatchedFilesNotification={}));var FIe;(function(e){e.Created=1,e.Changed=2,e.Deleted=3})(FIe=Ht.FileChangeType||(Ht.FileChangeType={}));var jIe;(function(e){function t(n){let i=n;return So.objectLiteral(i)&&(Xq.URI.is(i.baseUri)||Xq.WorkspaceFolder.is(i.baseUri))&&So.string(i.pattern)}e.is=t})(jIe=Ht.RelativePattern||(Ht.RelativePattern={}));var UIe;(function(e){e.Create=1,e.Change=2,e.Delete=4})(UIe=Ht.WatchKind||(Ht.WatchKind={}));var qIe;(function(e){e.method="textDocument/publishDiagnostics",e.messageDirection=$r.MessageDirection.serverToClient,e.type=new $r.ProtocolNotificationType(e.method)})(qIe=Ht.PublishDiagnosticsNotification||(Ht.PublishDiagnosticsNotification={}));var WIe;(function(e){e.Invoked=1,e.TriggerCharacter=2,e.TriggerForIncompleteCompletions=3})(WIe=Ht.CompletionTriggerKind||(Ht.CompletionTriggerKind={}));var VIe;(function(e){e.method="textDocument/completion",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(VIe=Ht.CompletionRequest||(Ht.CompletionRequest={}));var KIe;(function(e){e.method="completionItem/resolve",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(KIe=Ht.CompletionResolveRequest||(Ht.CompletionResolveRequest={}));var GIe;(function(e){e.method="textDocument/hover",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(GIe=Ht.HoverRequest||(Ht.HoverRequest={}));var XIe;(function(e){e.Invoked=1,e.TriggerCharacter=2,e.ContentChange=3})(XIe=Ht.SignatureHelpTriggerKind||(Ht.SignatureHelpTriggerKind={}));var ZIe;(function(e){e.method="textDocument/signatureHelp",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(ZIe=Ht.SignatureHelpRequest||(Ht.SignatureHelpRequest={}));var zIe;(function(e){e.method="textDocument/definition",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(zIe=Ht.DefinitionRequest||(Ht.DefinitionRequest={}));var JIe;(function(e){e.method="textDocument/references",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(JIe=Ht.ReferencesRequest||(Ht.ReferencesRequest={}));var QIe;(function(e){e.method="textDocument/documentHighlight",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(QIe=Ht.DocumentHighlightRequest||(Ht.DocumentHighlightRequest={}));var YIe;(function(e){e.method="textDocument/documentSymbol",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(YIe=Ht.DocumentSymbolRequest||(Ht.DocumentSymbolRequest={}));var eSe;(function(e){e.method="textDocument/codeAction",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(eSe=Ht.CodeActionRequest||(Ht.CodeActionRequest={}));var tSe;(function(e){e.method="codeAction/resolve",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(tSe=Ht.CodeActionResolveRequest||(Ht.CodeActionResolveRequest={}));var rSe;(function(e){e.method="workspace/symbol",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(rSe=Ht.WorkspaceSymbolRequest||(Ht.WorkspaceSymbolRequest={}));var nSe;(function(e){e.method="workspaceSymbol/resolve",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(nSe=Ht.WorkspaceSymbolResolveRequest||(Ht.WorkspaceSymbolResolveRequest={}));var iSe;(function(e){e.method="textDocument/codeLens",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(iSe=Ht.CodeLensRequest||(Ht.CodeLensRequest={}));var sSe;(function(e){e.method="codeLens/resolve",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(sSe=Ht.CodeLensResolveRequest||(Ht.CodeLensResolveRequest={}));var aSe;(function(e){e.method="workspace/codeLens/refresh",e.messageDirection=$r.MessageDirection.serverToClient,e.type=new $r.ProtocolRequestType0(e.method)})(aSe=Ht.CodeLensRefreshRequest||(Ht.CodeLensRefreshRequest={}));var oSe;(function(e){e.method="textDocument/documentLink",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(oSe=Ht.DocumentLinkRequest||(Ht.DocumentLinkRequest={}));var lSe;(function(e){e.method="documentLink/resolve",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(lSe=Ht.DocumentLinkResolveRequest||(Ht.DocumentLinkResolveRequest={}));var cSe;(function(e){e.method="textDocument/formatting",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(cSe=Ht.DocumentFormattingRequest||(Ht.DocumentFormattingRequest={}));var uSe;(function(e){e.method="textDocument/rangeFormatting",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(uSe=Ht.DocumentRangeFormattingRequest||(Ht.DocumentRangeFormattingRequest={}));var HSe;(function(e){e.method="textDocument/onTypeFormatting",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(HSe=Ht.DocumentOnTypeFormattingRequest||(Ht.DocumentOnTypeFormattingRequest={}));var pSe;(function(e){e.Identifier=1})(pSe=Ht.PrepareSupportDefaultBehavior||(Ht.PrepareSupportDefaultBehavior={}));var dSe;(function(e){e.method="textDocument/rename",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(dSe=Ht.RenameRequest||(Ht.RenameRequest={}));var fSe;(function(e){e.method="textDocument/prepareRename",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(fSe=Ht.PrepareRenameRequest||(Ht.PrepareRenameRequest={}));var hSe;(function(e){e.method="workspace/executeCommand",e.messageDirection=$r.MessageDirection.clientToServer,e.type=new $r.ProtocolRequestType(e.method)})(hSe=Ht.ExecuteCommandRequest||(Ht.ExecuteCommandRequest={}));var _Se;(function(e){e.method="workspace/applyEdit",e.messageDirection=$r.MessageDirection.serverToClient,e.type=new $r.ProtocolRequestType("workspace/applyEdit")})(_Se=Ht.ApplyWorkspaceEditRequest||(Ht.ApplyWorkspaceEditRequest={}))});var iW=Le(qb=>{"use strict";Object.defineProperty(qb,"__esModule",{value:!0});qb.createProtocolConnection=void 0;var nW=Qd();function mSe(e,t,n,i){return nW.ConnectionStrategy.is(i)&&(i={connectionStrategy:i}),(0,nW.createMessageConnection)(e,t,n,i)}qb.createProtocolConnection=mSe});var sW=Le(Yo=>{"use strict";var ESe=Yo&&Yo.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,o)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),Wb=Yo&&Yo.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&ESe(t,e,n)};Object.defineProperty(Yo,"__esModule",{value:!0});Yo.LSPErrorCodes=Yo.createProtocolConnection=void 0;Wb(Qd(),Yo);Wb($b(),Yo);Wb(ba(),Yo);Wb(rW(),Yo);var ySe=iW();Object.defineProperty(Yo,"createProtocolConnection",{enumerable:!0,get:function(){return ySe.createProtocolConnection}});var gSe;(function(e){e.lspReservedErrorRangeStart=-32899,e.RequestFailed=-32803,e.ServerCancelled=-32802,e.ContentModified=-32801,e.RequestCancelled=-32800,e.lspReservedErrorRangeEnd=-32800})(gSe=Yo.LSPErrorCodes||(Yo.LSPErrorCodes={}))});var Ya=Le(Cu=>{"use strict";var bSe=Cu&&Cu.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,o)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),aW=Cu&&Cu.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&bSe(t,e,n)};Object.defineProperty(Cu,"__esModule",{value:!0});Cu.createProtocolConnection=void 0;var ASe=EP();aW(EP(),Cu);aW(sW(),Cu);function ISe(e,t,n,i){return(0,ASe.createMessageConnection)(e,t,n,i)}Cu.createProtocolConnection=ISe});var DP=Le(nc=>{"use strict";Object.defineProperty(nc,"__esModule",{value:!0});nc.generateUuid=nc.parse=nc.isUUID=nc.v4=nc.empty=void 0;var ZE=class{constructor(t){this._value=t}asHex(){return this._value}equals(t){return this.asHex()===t.asHex()}},zE=class e extends ZE{constructor(){super([e._randomHex(),e._randomHex(),e._randomHex(),e._randomHex(),e._randomHex(),e._randomHex(),e._randomHex(),e._randomHex(),"-",e._randomHex(),e._randomHex(),e._randomHex(),e._randomHex(),"-","4",e._randomHex(),e._randomHex(),e._randomHex(),"-",e._oneOf(e._timeHighBits),e._randomHex(),e._randomHex(),e._randomHex(),"-",e._randomHex(),e._randomHex(),e._randomHex(),e._randomHex(),e._randomHex(),e._randomHex(),e._randomHex(),e._randomHex(),e._randomHex(),e._randomHex(),e._randomHex(),e._randomHex()].join(""))}static _oneOf(t){return t[Math.floor(t.length*Math.random())]}static _randomHex(){return e._oneOf(e._chars)}};zE._chars=["0","1","2","3","4","5","6","6","7","8","9","a","b","c","d","e","f"];zE._timeHighBits=["8","9","a","b"];nc.empty=new ZE("00000000-0000-0000-0000-000000000000");function oW(){return new zE}nc.v4=oW;var SSe=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function lW(e){return SSe.test(e)}nc.isUUID=lW;function LSe(e){if(!lW(e))throw new Error("invalid uuid");return new ZE(e)}nc.parse=LSe;function TSe(){return oW().asHex()}nc.generateUuid=TSe});var cW=Le(Cp=>{"use strict";Object.defineProperty(Cp,"__esModule",{value:!0});Cp.attachPartialResult=Cp.ProgressFeature=Cp.attachWorkDone=void 0;var vp=Ya(),vSe=DP(),ef=class e{constructor(t,n){this._connection=t,this._token=n,e.Instances.set(this._token,this)}begin(t,n,i,o){let r={kind:"begin",title:t,percentage:n,message:i,cancellable:o};this._connection.sendProgress(vp.WorkDoneProgress.type,this._token,r)}report(t,n){let i={kind:"report"};typeof t=="number"?(i.percentage=t,n!==void 0&&(i.message=n)):i.message=t,this._connection.sendProgress(vp.WorkDoneProgress.type,this._token,i)}done(){e.Instances.delete(this._token),this._connection.sendProgress(vp.WorkDoneProgress.type,this._token,{kind:"end"})}};ef.Instances=new Map;var Vb=class extends ef{constructor(t,n){super(t,n),this._source=new vp.CancellationTokenSource}get token(){return this._source.token}done(){this._source.dispose(),super.done()}cancel(){this._source.cancel()}},JE=class{constructor(){}begin(){}report(){}done(){}},Kb=class extends JE{constructor(){super(),this._source=new vp.CancellationTokenSource}get token(){return this._source.token}done(){this._source.dispose()}cancel(){this._source.cancel()}};function CSe(e,t){if(t===void 0||t.workDoneToken===void 0)return new JE;let n=t.workDoneToken;return delete t.workDoneToken,new ef(e,n)}Cp.attachWorkDone=CSe;var xSe=e=>class extends e{constructor(){super(),this._progressSupported=!1}initialize(t){super.initialize(t),t?.window?.workDoneProgress===!0&&(this._progressSupported=!0,this.connection.onNotification(vp.WorkDoneProgressCancelNotification.type,n=>{let i=ef.Instances.get(n.token);(i instanceof Vb||i instanceof Kb)&&i.cancel()}))}attachWorkDoneProgress(t){return t===void 0?new JE:new ef(this.connection,t)}createWorkDoneProgress(){if(this._progressSupported){let t=(0,vSe.generateUuid)();return this.connection.sendRequest(vp.WorkDoneProgressCreateRequest.type,{token:t}).then(()=>new Vb(this.connection,t))}else return Promise.resolve(new Kb)}};Cp.ProgressFeature=xSe;var PP;(function(e){e.type=new vp.ProgressType})(PP||(PP={}));var wP=class{constructor(t,n){this._connection=t,this._token=n}report(t){this._connection.sendProgress(PP.type,this._token,t)}};function DSe(e,t){if(t===void 0||t.partialResultToken===void 0)return;let n=t.partialResultToken;return delete t.partialResultToken,new wP(e,n)}Cp.attachPartialResult=DSe});var uW=Le(Gb=>{"use strict";Object.defineProperty(Gb,"__esModule",{value:!0});Gb.ConfigurationFeature=void 0;var PSe=Ya(),wSe=gb(),kSe=e=>class extends e{getConfiguration(t){return t?wSe.string(t)?this._getConfiguration({section:t}):this._getConfiguration(t):this._getConfiguration({})}_getConfiguration(t){let n={items:Array.isArray(t)?t:[t]};return this.connection.sendRequest(PSe.ConfigurationRequest.type,n).then(i=>Array.isArray(i)?Array.isArray(t)?i:i[0]:Array.isArray(t)?[]:null)}};Gb.ConfigurationFeature=kSe});var HW=Le(Zb=>{"use strict";Object.defineProperty(Zb,"__esModule",{value:!0});Zb.WorkspaceFoldersFeature=void 0;var Xb=Ya(),NSe=e=>class extends e{constructor(){super(),this._notificationIsAutoRegistered=!1}initialize(t){super.initialize(t);let n=t.workspace;n&&n.workspaceFolders&&(this._onDidChangeWorkspaceFolders=new Xb.Emitter,this.connection.onNotification(Xb.DidChangeWorkspaceFoldersNotification.type,i=>{this._onDidChangeWorkspaceFolders.fire(i.event)}))}fillServerCapabilities(t){super.fillServerCapabilities(t);let n=t.workspace?.workspaceFolders?.changeNotifications;this._notificationIsAutoRegistered=n===!0||typeof n=="string"}getWorkspaceFolders(){return this.connection.sendRequest(Xb.WorkspaceFoldersRequest.type)}get onDidChangeWorkspaceFolders(){if(!this._onDidChangeWorkspaceFolders)throw new Error("Client doesn't support sending workspace folder change events.");return!this._notificationIsAutoRegistered&&!this._unregistration&&(this._unregistration=this.connection.client.register(Xb.DidChangeWorkspaceFoldersNotification.type)),this._onDidChangeWorkspaceFolders.event}};Zb.WorkspaceFoldersFeature=NSe});var pW=Le(zb=>{"use strict";Object.defineProperty(zb,"__esModule",{value:!0});zb.CallHierarchyFeature=void 0;var kP=Ya(),RSe=e=>class extends e{get callHierarchy(){return{onPrepare:t=>this.connection.onRequest(kP.CallHierarchyPrepareRequest.type,(n,i)=>t(n,i,this.attachWorkDoneProgress(n),void 0)),onIncomingCalls:t=>{let n=kP.CallHierarchyIncomingCallsRequest.type;return this.connection.onRequest(n,(i,o)=>t(i,o,this.attachWorkDoneProgress(i),this.attachPartialResultProgress(n,i)))},onOutgoingCalls:t=>{let n=kP.CallHierarchyOutgoingCallsRequest.type;return this.connection.onRequest(n,(i,o)=>t(i,o,this.attachWorkDoneProgress(i),this.attachPartialResultProgress(n,i)))}}}};zb.CallHierarchyFeature=RSe});var RP=Le(xp=>{"use strict";Object.defineProperty(xp,"__esModule",{value:!0});xp.SemanticTokensBuilder=xp.SemanticTokensDiff=xp.SemanticTokensFeature=void 0;var Jb=Ya(),$Se=e=>class extends e{get semanticTokens(){return{refresh:()=>this.connection.sendRequest(Jb.SemanticTokensRefreshRequest.type),on:t=>{let n=Jb.SemanticTokensRequest.type;return this.connection.onRequest(n,(i,o)=>t(i,o,this.attachWorkDoneProgress(i),this.attachPartialResultProgress(n,i)))},onDelta:t=>{let n=Jb.SemanticTokensDeltaRequest.type;return this.connection.onRequest(n,(i,o)=>t(i,o,this.attachWorkDoneProgress(i),this.attachPartialResultProgress(n,i)))},onRange:t=>{let n=Jb.SemanticTokensRangeRequest.type;return this.connection.onRequest(n,(i,o)=>t(i,o,this.attachWorkDoneProgress(i),this.attachPartialResultProgress(n,i)))}}}};xp.SemanticTokensFeature=$Se;var Qb=class{constructor(t,n){this.originalSequence=t,this.modifiedSequence=n}computeDiff(){let t=this.originalSequence.length,n=this.modifiedSequence.length,i=0;for(;i<n&&i<t&&this.originalSequence[i]===this.modifiedSequence[i];)i++;if(i<n&&i<t){let o=t-1,r=n-1;for(;o>=i&&r>=i&&this.originalSequence[o]===this.modifiedSequence[r];)o--,r--;(o<i||r<i)&&(o++,r++);let c=o-i+1,s=this.modifiedSequence.slice(i,r+1);return s.length===1&&s[0]===this.originalSequence[o]?[{start:i,deleteCount:c-1}]:[{start:i,deleteCount:c,data:s}]}else return i<n?[{start:i,deleteCount:0,data:this.modifiedSequence.slice(i)}]:i<t?[{start:i,deleteCount:t-i}]:[]}};xp.SemanticTokensDiff=Qb;var NP=class{constructor(){this._prevData=void 0,this.initialize()}initialize(){this._id=Date.now(),this._prevLine=0,this._prevChar=0,this._data=[],this._dataLen=0}push(t,n,i,o,r){let c=t,s=n;this._dataLen>0&&(c-=this._prevLine,c===0&&(s-=this._prevChar)),this._data[this._dataLen++]=c,this._data[this._dataLen++]=s,this._data[this._dataLen++]=i,this._data[this._dataLen++]=o,this._data[this._dataLen++]=r,this._prevLine=t,this._prevChar=n}get id(){return this._id.toString()}previousResult(t){this.id===t&&(this._prevData=this._data),this.initialize()}build(){return this._prevData=void 0,{resultId:this.id,data:this._data}}canBuildEdits(){return this._prevData!==void 0}buildEdits(){return this._prevData!==void 0?{resultId:this.id,edits:new Qb(this._prevData,this._data).computeDiff()}:this.build()}};xp.SemanticTokensBuilder=NP});var dW=Le(Yb=>{"use strict";Object.defineProperty(Yb,"__esModule",{value:!0});Yb.ShowDocumentFeature=void 0;var MSe=Ya(),BSe=e=>class extends e{showDocument(t){return this.connection.sendRequest(MSe.ShowDocumentRequest.type,t)}};Yb.ShowDocumentFeature=BSe});var fW=Le(eA=>{"use strict";Object.defineProperty(eA,"__esModule",{value:!0});eA.FileOperationsFeature=void 0;var qh=Ya(),OSe=e=>class extends e{onDidCreateFiles(t){return this.connection.onNotification(qh.DidCreateFilesNotification.type,n=>{t(n)})}onDidRenameFiles(t){return this.connection.onNotification(qh.DidRenameFilesNotification.type,n=>{t(n)})}onDidDeleteFiles(t){return this.connection.onNotification(qh.DidDeleteFilesNotification.type,n=>{t(n)})}onWillCreateFiles(t){return this.connection.onRequest(qh.WillCreateFilesRequest.type,(n,i)=>t(n,i))}onWillRenameFiles(t){return this.connection.onRequest(qh.WillRenameFilesRequest.type,(n,i)=>t(n,i))}onWillDeleteFiles(t){return this.connection.onRequest(qh.WillDeleteFilesRequest.type,(n,i)=>t(n,i))}};eA.FileOperationsFeature=OSe});var hW=Le(tA=>{"use strict";Object.defineProperty(tA,"__esModule",{value:!0});tA.LinkedEditingRangeFeature=void 0;var FSe=Ya(),jSe=e=>class extends e{onLinkedEditingRange(t){return this.connection.onRequest(FSe.LinkedEditingRangeRequest.type,(n,i)=>t(n,i,this.attachWorkDoneProgress(n),void 0))}};tA.LinkedEditingRangeFeature=jSe});var _W=Le(rA=>{"use strict";Object.defineProperty(rA,"__esModule",{value:!0});rA.TypeHierarchyFeature=void 0;var $P=Ya(),USe=e=>class extends e{get typeHierarchy(){return{onPrepare:t=>this.connection.onRequest($P.TypeHierarchyPrepareRequest.type,(n,i)=>t(n,i,this.attachWorkDoneProgress(n),void 0)),onSupertypes:t=>{let n=$P.TypeHierarchySupertypesRequest.type;return this.connection.onRequest(n,(i,o)=>t(i,o,this.attachWorkDoneProgress(i),this.attachPartialResultProgress(n,i)))},onSubtypes:t=>{let n=$P.TypeHierarchySubtypesRequest.type;return this.connection.onRequest(n,(i,o)=>t(i,o,this.attachWorkDoneProgress(i),this.attachPartialResultProgress(n,i)))}}}};rA.TypeHierarchyFeature=USe});var EW=Le(nA=>{"use strict";Object.defineProperty(nA,"__esModule",{value:!0});nA.InlineValueFeature=void 0;var mW=Ya(),qSe=e=>class extends e{get inlineValue(){return{refresh:()=>this.connection.sendRequest(mW.InlineValueRefreshRequest.type),on:t=>this.connection.onRequest(mW.InlineValueRequest.type,(n,i)=>t(n,i,this.attachWorkDoneProgress(n)))}}};nA.InlineValueFeature=qSe});var yW=Le(iA=>{"use strict";Object.defineProperty(iA,"__esModule",{value:!0});iA.InlayHintFeature=void 0;var MP=Ya(),WSe=e=>class extends e{get inlayHint(){return{refresh:()=>this.connection.sendRequest(MP.InlayHintRefreshRequest.type),on:t=>this.connection.onRequest(MP.InlayHintRequest.type,(n,i)=>t(n,i,this.attachWorkDoneProgress(n))),resolve:t=>this.connection.onRequest(MP.InlayHintResolveRequest.type,(n,i)=>t(n,i))}}};iA.InlayHintFeature=WSe});var gW=Le(sA=>{"use strict";Object.defineProperty(sA,"__esModule",{value:!0});sA.DiagnosticFeature=void 0;var QE=Ya(),VSe=e=>class extends e{get diagnostics(){return{refresh:()=>this.connection.sendRequest(QE.DiagnosticRefreshRequest.type),on:t=>this.connection.onRequest(QE.DocumentDiagnosticRequest.type,(n,i)=>t(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(QE.DocumentDiagnosticRequest.partialResult,n))),onWorkspace:t=>this.connection.onRequest(QE.WorkspaceDiagnosticRequest.type,(n,i)=>t(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(QE.WorkspaceDiagnosticRequest.partialResult,n)))}}};sA.DiagnosticFeature=VSe});var OP=Le(aA=>{"use strict";Object.defineProperty(aA,"__esModule",{value:!0});aA.TextDocuments=void 0;var tf=Ya(),BP=class{constructor(t){this._configuration=t,this._syncedDocuments=new Map,this._onDidChangeContent=new tf.Emitter,this._onDidOpen=new tf.Emitter,this._onDidClose=new tf.Emitter,this._onDidSave=new tf.Emitter,this._onWillSave=new tf.Emitter}get onDidOpen(){return this._onDidOpen.event}get onDidChangeContent(){return this._onDidChangeContent.event}get onWillSave(){return this._onWillSave.event}onWillSaveWaitUntil(t){this._willSaveWaitUntil=t}get onDidSave(){return this._onDidSave.event}get onDidClose(){return this._onDidClose.event}get(t){return this._syncedDocuments.get(t)}all(){return Array.from(this._syncedDocuments.values())}keys(){return Array.from(this._syncedDocuments.keys())}listen(t){t.__textDocumentSync=tf.TextDocumentSyncKind.Incremental;let n=[];return n.push(t.onDidOpenTextDocument(i=>{let o=i.textDocument,r=this._configuration.create(o.uri,o.languageId,o.version,o.text);this._syncedDocuments.set(o.uri,r);let c=Object.freeze({document:r});this._onDidOpen.fire(c),this._onDidChangeContent.fire(c)})),n.push(t.onDidChangeTextDocument(i=>{let o=i.textDocument,r=i.contentChanges;if(r.length===0)return;let{version:c}=o;if(c==null)throw new Error(`Received document change event for ${o.uri} without valid version identifier`);let s=this._syncedDocuments.get(o.uri);s!==void 0&&(s=this._configuration.update(s,r,c),this._syncedDocuments.set(o.uri,s),this._onDidChangeContent.fire(Object.freeze({document:s})))})),n.push(t.onDidCloseTextDocument(i=>{let o=this._syncedDocuments.get(i.textDocument.uri);o!==void 0&&(this._syncedDocuments.delete(i.textDocument.uri),this._onDidClose.fire(Object.freeze({document:o})))})),n.push(t.onWillSaveTextDocument(i=>{let o=this._syncedDocuments.get(i.textDocument.uri);o!==void 0&&this._onWillSave.fire(Object.freeze({document:o,reason:i.reason}))})),n.push(t.onWillSaveTextDocumentWaitUntil((i,o)=>{let r=this._syncedDocuments.get(i.textDocument.uri);return r!==void 0&&this._willSaveWaitUntil?this._willSaveWaitUntil(Object.freeze({document:r,reason:i.reason}),o):[]})),n.push(t.onDidSaveTextDocument(i=>{let o=this._syncedDocuments.get(i.textDocument.uri);o!==void 0&&this._onDidSave.fire(Object.freeze({document:o}))})),tf.Disposable.create(()=>{n.forEach(i=>i.dispose())})}};aA.TextDocuments=BP});var jP=Le(Wh=>{"use strict";Object.defineProperty(Wh,"__esModule",{value:!0});Wh.NotebookDocuments=Wh.NotebookSyncFeature=void 0;var ic=Ya(),bW=OP(),KSe=e=>class extends e{get synchronization(){return{onDidOpenNotebookDocument:t=>this.connection.onNotification(ic.DidOpenNotebookDocumentNotification.type,n=>{t(n)}),onDidChangeNotebookDocument:t=>this.connection.onNotification(ic.DidChangeNotebookDocumentNotification.type,n=>{t(n)}),onDidSaveNotebookDocument:t=>this.connection.onNotification(ic.DidSaveNotebookDocumentNotification.type,n=>{t(n)}),onDidCloseNotebookDocument:t=>this.connection.onNotification(ic.DidCloseNotebookDocumentNotification.type,n=>{t(n)})}}};Wh.NotebookSyncFeature=KSe;var oA=class e{onDidOpenTextDocument(t){return this.openHandler=t,ic.Disposable.create(()=>{this.openHandler=void 0})}openTextDocument(t){this.openHandler&&this.openHandler(t)}onDidChangeTextDocument(t){return this.changeHandler=t,ic.Disposable.create(()=>{this.changeHandler=t})}changeTextDocument(t){this.changeHandler&&this.changeHandler(t)}onDidCloseTextDocument(t){return this.closeHandler=t,ic.Disposable.create(()=>{this.closeHandler=void 0})}closeTextDocument(t){this.closeHandler&&this.closeHandler(t)}onWillSaveTextDocument(){return e.NULL_DISPOSE}onWillSaveTextDocumentWaitUntil(){return e.NULL_DISPOSE}onDidSaveTextDocument(){return e.NULL_DISPOSE}};oA.NULL_DISPOSE=Object.freeze({dispose:()=>{}});var FP=class{constructor(t){t instanceof bW.TextDocuments?this._cellTextDocuments=t:this._cellTextDocuments=new bW.TextDocuments(t),this.notebookDocuments=new Map,this.notebookCellMap=new Map,this._onDidOpen=new ic.Emitter,this._onDidChange=new ic.Emitter,this._onDidSave=new ic.Emitter,this._onDidClose=new ic.Emitter}get cellTextDocuments(){return this._cellTextDocuments}getCellTextDocument(t){return this._cellTextDocuments.get(t.document)}getNotebookDocument(t){return this.notebookDocuments.get(t)}getNotebookCell(t){let n=this.notebookCellMap.get(t);return n&&n[0]}findNotebookDocumentForCell(t){let n=typeof t=="string"?t:t.document,i=this.notebookCellMap.get(n);return i&&i[1]}get onDidOpen(){return this._onDidOpen.event}get onDidSave(){return this._onDidSave.event}get onDidChange(){return this._onDidChange.event}get onDidClose(){return this._onDidClose.event}listen(t){let n=new oA,i=[];return i.push(this.cellTextDocuments.listen(n)),i.push(t.notebooks.synchronization.onDidOpenNotebookDocument(o=>{this.notebookDocuments.set(o.notebookDocument.uri,o.notebookDocument);for(let r of o.cellTextDocuments)n.openTextDocument({textDocument:r});this.updateCellMap(o.notebookDocument),this._onDidOpen.fire(o.notebookDocument)})),i.push(t.notebooks.synchronization.onDidChangeNotebookDocument(o=>{let r=this.notebookDocuments.get(o.notebookDocument.uri);if(r===void 0)return;r.version=o.notebookDocument.version;let c=r.metadata,s=!1,u=o.change;u.metadata!==void 0&&(s=!0,r.metadata=u.metadata);let H=[],a=[],l=[],p=[];if(u.cells!==void 0){let y=u.cells;if(y.structure!==void 0){let _=y.structure.array;if(r.cells.splice(_.start,_.deleteCount,..._.cells!==void 0?_.cells:[]),y.structure.didOpen!==void 0)for(let E of y.structure.didOpen)n.openTextDocument({textDocument:E}),H.push(E.uri);if(y.structure.didClose)for(let E of y.structure.didClose)n.closeTextDocument({textDocument:E}),a.push(E.uri)}if(y.data!==void 0){let _=new Map(y.data.map(E=>[E.document,E]));for(let E=0;E<=r.cells.length;E++){let A=_.get(r.cells[E].document);if(A!==void 0){let S=r.cells.splice(E,1,A);if(l.push({old:S[0],new:A}),_.delete(A.document),_.size===0)break}}}if(y.textContent!==void 0)for(let _ of y.textContent)n.changeTextDocument({textDocument:_.document,contentChanges:_.changes}),p.push(_.document.uri)}this.updateCellMap(r);let d={notebookDocument:r};s&&(d.metadata={old:c,new:r.metadata});let h=[];for(let y of H)h.push(this.getNotebookCell(y));let m=[];for(let y of a)m.push(this.getNotebookCell(y));let g=[];for(let y of p)g.push(this.getNotebookCell(y));(h.length>0||m.length>0||l.length>0||g.length>0)&&(d.cells={added:h,removed:m,changed:{data:l,textContent:g}}),(d.metadata!==void 0||d.cells!==void 0)&&this._onDidChange.fire(d)})),i.push(t.notebooks.synchronization.onDidSaveNotebookDocument(o=>{let r=this.notebookDocuments.get(o.notebookDocument.uri);r!==void 0&&this._onDidSave.fire(r)})),i.push(t.notebooks.synchronization.onDidCloseNotebookDocument(o=>{let r=this.notebookDocuments.get(o.notebookDocument.uri);if(r!==void 0){this._onDidClose.fire(r);for(let c of o.cellTextDocuments)n.closeTextDocument({textDocument:c});this.notebookDocuments.delete(o.notebookDocument.uri);for(let c of r.cells)this.notebookCellMap.delete(c.document)}})),ic.Disposable.create(()=>{i.forEach(o=>o.dispose())})}updateCellMap(t){for(let n of t.cells)this.notebookCellMap.set(n.document,[n,t])}};Wh.NotebookDocuments=FP});var AW=Le(lA=>{"use strict";Object.defineProperty(lA,"__esModule",{value:!0});lA.MonikerFeature=void 0;var GSe=Ya(),XSe=e=>class extends e{get moniker(){return{on:t=>{let n=GSe.MonikerRequest.type;return this.connection.onRequest(n,(i,o)=>t(i,o,this.attachWorkDoneProgress(i),this.attachPartialResultProgress(n,i)))}}}};lA.MonikerFeature=XSe});var GP=Le(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.createConnection=Pi.combineFeatures=Pi.combineNotebooksFeatures=Pi.combineLanguagesFeatures=Pi.combineWorkspaceFeatures=Pi.combineWindowFeatures=Pi.combineClientFeatures=Pi.combineTracerFeatures=Pi.combineTelemetryFeatures=Pi.combineConsoleFeatures=Pi._NotebooksImpl=Pi._LanguagesImpl=Pi.BulkUnregistration=Pi.BulkRegistration=Pi.ErrorMessageTracker=void 0;var Wr=Ya(),sc=gb(),qP=DP(),Zn=cW(),ZSe=uW(),zSe=HW(),JSe=pW(),QSe=RP(),YSe=dW(),eLe=fW(),tLe=hW(),rLe=_W(),nLe=EW(),iLe=yW(),sLe=gW(),aLe=jP(),oLe=AW();function UP(e){if(e!==null)return e}var WP=class{constructor(){this._messages=Object.create(null)}add(t){let n=this._messages[t];n||(n=0),n++,this._messages[t]=n}sendErrors(t){Object.keys(this._messages).forEach(n=>{t.window.showErrorMessage(n)})}};Pi.ErrorMessageTracker=WP;var cA=class{constructor(){}rawAttach(t){this._rawConnection=t}attach(t){this._connection=t}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}fillServerCapabilities(t){}initialize(t){}error(t){this.send(Wr.MessageType.Error,t)}warn(t){this.send(Wr.MessageType.Warning,t)}info(t){this.send(Wr.MessageType.Info,t)}log(t){this.send(Wr.MessageType.Log,t)}send(t,n){this._rawConnection&&this._rawConnection.sendNotification(Wr.LogMessageNotification.type,{type:t,message:n}).catch(()=>{(0,Wr.RAL)().console.error("Sending log message failed")})}},VP=class{constructor(){}attach(t){this._connection=t}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(t){}fillServerCapabilities(t){}showErrorMessage(t,...n){let i={type:Wr.MessageType.Error,message:t,actions:n};return this.connection.sendRequest(Wr.ShowMessageRequest.type,i).then(UP)}showWarningMessage(t,...n){let i={type:Wr.MessageType.Warning,message:t,actions:n};return this.connection.sendRequest(Wr.ShowMessageRequest.type,i).then(UP)}showInformationMessage(t,...n){let i={type:Wr.MessageType.Info,message:t,actions:n};return this.connection.sendRequest(Wr.ShowMessageRequest.type,i).then(UP)}},IW=(0,YSe.ShowDocumentFeature)((0,Zn.ProgressFeature)(VP)),lLe;(function(e){function t(){return new uA}e.create=t})(lLe=Pi.BulkRegistration||(Pi.BulkRegistration={}));var uA=class{constructor(){this._registrations=[],this._registered=new Set}add(t,n){let i=sc.string(t)?t:t.method;if(this._registered.has(i))throw new Error(`${i} is already added to this registration`);let o=qP.generateUuid();this._registrations.push({id:o,method:i,registerOptions:n||{}}),this._registered.add(i)}asRegistrationParams(){return{registrations:this._registrations}}},cLe;(function(e){function t(){return new YE(void 0,[])}e.create=t})(cLe=Pi.BulkUnregistration||(Pi.BulkUnregistration={}));var YE=class{constructor(t,n){this._connection=t,this._unregistrations=new Map,n.forEach(i=>{this._unregistrations.set(i.method,i)})}get isAttached(){return!!this._connection}attach(t){this._connection=t}add(t){this._unregistrations.set(t.method,t)}dispose(){let t=[];for(let i of this._unregistrations.values())t.push(i);let n={unregisterations:t};this._connection.sendRequest(Wr.UnregistrationRequest.type,n).catch(()=>{this._connection.console.info("Bulk unregistration failed.")})}disposeSingle(t){let n=sc.string(t)?t:t.method,i=this._unregistrations.get(n);if(!i)return!1;let o={unregisterations:[i]};return this._connection.sendRequest(Wr.UnregistrationRequest.type,o).then(()=>{this._unregistrations.delete(n)},r=>{this._connection.console.info(`Un-registering request handler for ${i.id} failed.`)}),!0}},HA=class{attach(t){this._connection=t}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(t){}fillServerCapabilities(t){}register(t,n,i){return t instanceof uA?this.registerMany(t):t instanceof YE?this.registerSingle1(t,n,i):this.registerSingle2(t,n)}registerSingle1(t,n,i){let o=sc.string(n)?n:n.method,r=qP.generateUuid(),c={registrations:[{id:r,method:o,registerOptions:i||{}}]};return t.isAttached||t.attach(this.connection),this.connection.sendRequest(Wr.RegistrationRequest.type,c).then(s=>(t.add({id:r,method:o}),t),s=>(this.connection.console.info(`Registering request handler for ${o} failed.`),Promise.reject(s)))}registerSingle2(t,n){let i=sc.string(t)?t:t.method,o=qP.generateUuid(),r={registrations:[{id:o,method:i,registerOptions:n||{}}]};return this.connection.sendRequest(Wr.RegistrationRequest.type,r).then(c=>Wr.Disposable.create(()=>{this.unregisterSingle(o,i).catch(()=>{this.connection.console.info(`Un-registering capability with id ${o} failed.`)})}),c=>(this.connection.console.info(`Registering request handler for ${i} failed.`),Promise.reject(c)))}unregisterSingle(t,n){let i={unregisterations:[{id:t,method:n}]};return this.connection.sendRequest(Wr.UnregistrationRequest.type,i).catch(()=>{this.connection.console.info(`Un-registering request handler for ${t} failed.`)})}registerMany(t){let n=t.asRegistrationParams();return this.connection.sendRequest(Wr.RegistrationRequest.type,n).then(()=>new YE(this._connection,n.registrations.map(i=>({id:i.id,method:i.method}))),i=>(this.connection.console.info("Bulk registration failed."),Promise.reject(i)))}},KP=class{constructor(){}attach(t){this._connection=t}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(t){}fillServerCapabilities(t){}applyEdit(t){function n(o){return o&&!!o.edit}let i=n(t)?t:{edit:t};return this.connection.sendRequest(Wr.ApplyWorkspaceEditRequest.type,i)}},SW=(0,eLe.FileOperationsFeature)((0,zSe.WorkspaceFoldersFeature)((0,ZSe.ConfigurationFeature)(KP))),pA=class{constructor(){this._trace=Wr.Trace.Off}attach(t){this._connection=t}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(t){}fillServerCapabilities(t){}set trace(t){this._trace=t}log(t,n){this._trace!==Wr.Trace.Off&&this.connection.sendNotification(Wr.LogTraceNotification.type,{message:t,verbose:this._trace===Wr.Trace.Verbose?n:void 0}).catch(()=>{})}},dA=class{constructor(){}attach(t){this._connection=t}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(t){}fillServerCapabilities(t){}logEvent(t){this.connection.sendNotification(Wr.TelemetryEventNotification.type,t).catch(()=>{this.connection.console.log("Sending TelemetryEventNotification failed")})}},fA=class{constructor(){}attach(t){this._connection=t}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(t){}fillServerCapabilities(t){}attachWorkDoneProgress(t){return(0,Zn.attachWorkDone)(this.connection,t)}attachPartialResultProgress(t,n){return(0,Zn.attachPartialResult)(this.connection,n)}};Pi._LanguagesImpl=fA;var LW=(0,oLe.MonikerFeature)((0,sLe.DiagnosticFeature)((0,iLe.InlayHintFeature)((0,nLe.InlineValueFeature)((0,rLe.TypeHierarchyFeature)((0,tLe.LinkedEditingRangeFeature)((0,QSe.SemanticTokensFeature)((0,JSe.CallHierarchyFeature)(fA)))))))),hA=class{constructor(){}attach(t){this._connection=t}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(t){}fillServerCapabilities(t){}attachWorkDoneProgress(t){return(0,Zn.attachWorkDone)(this.connection,t)}attachPartialResultProgress(t,n){return(0,Zn.attachPartialResult)(this.connection,n)}};Pi._NotebooksImpl=hA;var TW=(0,aLe.NotebookSyncFeature)(hA);function vW(e,t){return function(n){return t(e(n))}}Pi.combineConsoleFeatures=vW;function CW(e,t){return function(n){return t(e(n))}}Pi.combineTelemetryFeatures=CW;function xW(e,t){return function(n){return t(e(n))}}Pi.combineTracerFeatures=xW;function DW(e,t){return function(n){return t(e(n))}}Pi.combineClientFeatures=DW;function PW(e,t){return function(n){return t(e(n))}}Pi.combineWindowFeatures=PW;function wW(e,t){return function(n){return t(e(n))}}Pi.combineWorkspaceFeatures=wW;function kW(e,t){return function(n){return t(e(n))}}Pi.combineLanguagesFeatures=kW;function NW(e,t){return function(n){return t(e(n))}}Pi.combineNotebooksFeatures=NW;function uLe(e,t){function n(o,r,c){return o&&r?c(o,r):o||r}return{__brand:"features",console:n(e.console,t.console,vW),tracer:n(e.tracer,t.tracer,xW),telemetry:n(e.telemetry,t.telemetry,CW),client:n(e.client,t.client,DW),window:n(e.window,t.window,PW),workspace:n(e.workspace,t.workspace,wW),languages:n(e.languages,t.languages,kW),notebooks:n(e.notebooks,t.notebooks,NW)}}Pi.combineFeatures=uLe;function HLe(e,t,n){let i=n&&n.console?new(n.console(cA)):new cA,o=e(i);i.rawAttach(o);let r=n&&n.tracer?new(n.tracer(pA)):new pA,c=n&&n.telemetry?new(n.telemetry(dA)):new dA,s=n&&n.client?new(n.client(HA)):new HA,u=n&&n.window?new(n.window(IW)):new IW,H=n&&n.workspace?new(n.workspace(SW)):new SW,a=n&&n.languages?new(n.languages(LW)):new LW,l=n&&n.notebooks?new(n.notebooks(TW)):new TW,p=[i,r,c,s,u,H,a,l];function d(_){return _ instanceof Promise?_:sc.thenable(_)?new Promise((E,A)=>{_.then(S=>E(S),S=>A(S))}):Promise.resolve(_)}let h,m,g,y={listen:()=>o.listen(),sendRequest:(_,...E)=>o.sendRequest(sc.string(_)?_:_.method,...E),onRequest:(_,E)=>o.onRequest(_,E),sendNotification:(_,E)=>{let A=sc.string(_)?_:_.method;return arguments.length===1?o.sendNotification(A):o.sendNotification(A,E)},onNotification:(_,E)=>o.onNotification(_,E),onProgress:o.onProgress,sendProgress:o.sendProgress,onInitialize:_=>(m=_,{dispose:()=>{m=void 0}}),onInitialized:_=>o.onNotification(Wr.InitializedNotification.type,_),onShutdown:_=>(h=_,{dispose:()=>{h=void 0}}),onExit:_=>(g=_,{dispose:()=>{g=void 0}}),get console(){return i},get telemetry(){return c},get tracer(){return r},get client(){return s},get window(){return u},get workspace(){return H},get languages(){return a},get notebooks(){return l},onDidChangeConfiguration:_=>o.onNotification(Wr.DidChangeConfigurationNotification.type,_),onDidChangeWatchedFiles:_=>o.onNotification(Wr.DidChangeWatchedFilesNotification.type,_),__textDocumentSync:void 0,onDidOpenTextDocument:_=>o.onNotification(Wr.DidOpenTextDocumentNotification.type,_),onDidChangeTextDocument:_=>o.onNotification(Wr.DidChangeTextDocumentNotification.type,_),onDidCloseTextDocument:_=>o.onNotification(Wr.DidCloseTextDocumentNotification.type,_),onWillSaveTextDocument:_=>o.onNotification(Wr.WillSaveTextDocumentNotification.type,_),onWillSaveTextDocumentWaitUntil:_=>o.onRequest(Wr.WillSaveTextDocumentWaitUntilRequest.type,_),onDidSaveTextDocument:_=>o.onNotification(Wr.DidSaveTextDocumentNotification.type,_),sendDiagnostics:_=>o.sendNotification(Wr.PublishDiagnosticsNotification.type,_),onHover:_=>o.onRequest(Wr.HoverRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),void 0)),onCompletion:_=>o.onRequest(Wr.CompletionRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),(0,Zn.attachPartialResult)(o,E))),onCompletionResolve:_=>o.onRequest(Wr.CompletionResolveRequest.type,_),onSignatureHelp:_=>o.onRequest(Wr.SignatureHelpRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),void 0)),onDeclaration:_=>o.onRequest(Wr.DeclarationRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),(0,Zn.attachPartialResult)(o,E))),onDefinition:_=>o.onRequest(Wr.DefinitionRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),(0,Zn.attachPartialResult)(o,E))),onTypeDefinition:_=>o.onRequest(Wr.TypeDefinitionRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),(0,Zn.attachPartialResult)(o,E))),onImplementation:_=>o.onRequest(Wr.ImplementationRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),(0,Zn.attachPartialResult)(o,E))),onReferences:_=>o.onRequest(Wr.ReferencesRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),(0,Zn.attachPartialResult)(o,E))),onDocumentHighlight:_=>o.onRequest(Wr.DocumentHighlightRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),(0,Zn.attachPartialResult)(o,E))),onDocumentSymbol:_=>o.onRequest(Wr.DocumentSymbolRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),(0,Zn.attachPartialResult)(o,E))),onWorkspaceSymbol:_=>o.onRequest(Wr.WorkspaceSymbolRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),(0,Zn.attachPartialResult)(o,E))),onWorkspaceSymbolResolve:_=>o.onRequest(Wr.WorkspaceSymbolResolveRequest.type,_),onCodeAction:_=>o.onRequest(Wr.CodeActionRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),(0,Zn.attachPartialResult)(o,E))),onCodeActionResolve:_=>o.onRequest(Wr.CodeActionResolveRequest.type,(E,A)=>_(E,A)),onCodeLens:_=>o.onRequest(Wr.CodeLensRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),(0,Zn.attachPartialResult)(o,E))),onCodeLensResolve:_=>o.onRequest(Wr.CodeLensResolveRequest.type,(E,A)=>_(E,A)),onDocumentFormatting:_=>o.onRequest(Wr.DocumentFormattingRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),void 0)),onDocumentRangeFormatting:_=>o.onRequest(Wr.DocumentRangeFormattingRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),void 0)),onDocumentOnTypeFormatting:_=>o.onRequest(Wr.DocumentOnTypeFormattingRequest.type,(E,A)=>_(E,A)),onRenameRequest:_=>o.onRequest(Wr.RenameRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),void 0)),onPrepareRename:_=>o.onRequest(Wr.PrepareRenameRequest.type,(E,A)=>_(E,A)),onDocumentLinks:_=>o.onRequest(Wr.DocumentLinkRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),(0,Zn.attachPartialResult)(o,E))),onDocumentLinkResolve:_=>o.onRequest(Wr.DocumentLinkResolveRequest.type,(E,A)=>_(E,A)),onDocumentColor:_=>o.onRequest(Wr.DocumentColorRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),(0,Zn.attachPartialResult)(o,E))),onColorPresentation:_=>o.onRequest(Wr.ColorPresentationRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),(0,Zn.attachPartialResult)(o,E))),onFoldingRanges:_=>o.onRequest(Wr.FoldingRangeRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),(0,Zn.attachPartialResult)(o,E))),onSelectionRanges:_=>o.onRequest(Wr.SelectionRangeRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),(0,Zn.attachPartialResult)(o,E))),onExecuteCommand:_=>o.onRequest(Wr.ExecuteCommandRequest.type,(E,A)=>_(E,A,(0,Zn.attachWorkDone)(o,E),void 0)),dispose:()=>o.dispose()};for(let _ of p)_.attach(y);return o.onRequest(Wr.InitializeRequest.type,_=>{t.initialize(_),sc.string(_.trace)&&(r.trace=Wr.Trace.fromString(_.trace));for(let E of p)E.initialize(_.capabilities);if(m){let E=m(_,new Wr.CancellationTokenSource().token,(0,Zn.attachWorkDone)(o,_),void 0);return d(E).then(A=>{if(A instanceof Wr.ResponseError)return A;let S=A;S||(S={capabilities:{}});let T=S.capabilities;T||(T={},S.capabilities=T),T.textDocumentSync===void 0||T.textDocumentSync===null?T.textDocumentSync=sc.number(y.__textDocumentSync)?y.__textDocumentSync:Wr.TextDocumentSyncKind.None:!sc.number(T.textDocumentSync)&&!sc.number(T.textDocumentSync.change)&&(T.textDocumentSync.change=sc.number(y.__textDocumentSync)?y.__textDocumentSync:Wr.TextDocumentSyncKind.None);for(let I of p)I.fillServerCapabilities(T);return S})}else{let E={capabilities:{textDocumentSync:Wr.TextDocumentSyncKind.None}};for(let A of p)A.fillServerCapabilities(E.capabilities);return E}}),o.onRequest(Wr.ShutdownRequest.type,()=>{if(t.shutdownReceived=!0,h)return h(new Wr.CancellationTokenSource().token)}),o.onNotification(Wr.ExitNotification.type,()=>{try{g&&g()}finally{t.shutdownReceived?t.exit(0):t.exit(1)}}),o.onNotification(Wr.SetTraceNotification.type,_=>{r.trace=Wr.Trace.fromString(_.value)}),y}Pi.createConnection=HLe});var $W=Le(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});el.resolveModulePath=el.FileSystem=el.resolveGlobalYarnPath=el.resolveGlobalNodePath=el.resolve=el.uriToFilePath=void 0;var pLe=require("url"),Xc=require("path"),XP=require("fs"),JP=require("child_process");function dLe(e){let t=pLe.parse(e);if(t.protocol!=="file:"||!t.path)return;let n=t.path.split("/");for(var i=0,o=n.length;i<o;i++)n[i]=decodeURIComponent(n[i]);if(process.platform==="win32"&&n.length>1){let r=n[0],c=n[1];r.length===0&&c.length>1&&c[1]===":"&&n.shift()}return Xc.normalize(n.join("/"))}el.uriToFilePath=dLe;function ZP(){return process.platform==="win32"}function _A(e,t,n,i){let o="NODE_PATH",r=["var p = process;","p.on('message',function(m){","if(m.c==='e'){","p.exit(0);","}","else if(m.c==='rs'){","try{","var r=require.resolve(m.a);","p.send({c:'r',s:true,r:r});","}","catch(err){","p.send({c:'r',s:false});","}","}","});"].join("");return new Promise((c,s)=>{let u=process.env,H=Object.create(null);Object.keys(u).forEach(a=>H[a]=u[a]),t&&XP.existsSync(t)&&(H[o]?H[o]=t+Xc.delimiter+H[o]:H[o]=t,i&&i(`NODE_PATH value is: ${H[o]}`)),H.ELECTRON_RUN_AS_NODE="1";try{let a=(0,JP.fork)("",[],{cwd:n,env:H,execArgv:["-e",r]});if(a.pid===void 0){s(new Error(`Starting process to resolve node module ${e} failed`));return}a.on("error",p=>{s(p)}),a.on("message",p=>{p.c==="r"&&(a.send({c:"e"}),p.s?c(p.r):s(new Error(`Failed to resolve module: ${e}`)))});let l={c:"rs",a:e};a.send(l)}catch(a){s(a)}})}el.resolve=_A;function zP(e){let t="npm",n=Object.create(null);Object.keys(process.env).forEach(r=>n[r]=process.env[r]),n.NO_UPDATE_NOTIFIER="true";let i={encoding:"utf8",env:n};ZP()&&(t="npm.cmd",i.shell=!0);let o=()=>{};try{process.on("SIGPIPE",o);let r=(0,JP.spawnSync)(t,["config","get","prefix"],i).stdout;if(!r){e&&e("'npm config get prefix' didn't return a value.");return}let c=r.trim();return e&&e(`'npm config get prefix' value is: ${c}`),c.length>0?ZP()?Xc.join(c,"node_modules"):Xc.join(c,"lib","node_modules"):void 0}catch{return}finally{process.removeListener("SIGPIPE",o)}}el.resolveGlobalNodePath=zP;function fLe(e){let t="yarn",n={encoding:"utf8"};ZP()&&(t="yarn.cmd",n.shell=!0);let i=()=>{};try{process.on("SIGPIPE",i);let o=(0,JP.spawnSync)(t,["global","dir","--json"],n),r=o.stdout;if(!r){e&&(e("'yarn global dir' didn't return a value."),o.stderr&&e(o.stderr));return}let c=r.trim().split(/\r?\n/);for(let s of c)try{let u=JSON.parse(s);if(u.type==="log")return Xc.join(u.data,"node_modules")}catch{}return}catch{return}finally{process.removeListener("SIGPIPE",i)}}el.resolveGlobalYarnPath=fLe;var RW;(function(e){let t;function n(){return t!==void 0||(process.platform==="win32"?t=!1:t=!XP.existsSync(__filename.toUpperCase())||!XP.existsSync(__filename.toLowerCase())),t}e.isCaseSensitive=n;function i(o,r){return n()?Xc.normalize(r).indexOf(Xc.normalize(o))===0:Xc.normalize(r).toLowerCase().indexOf(Xc.normalize(o).toLowerCase())===0}e.isParent=i})(RW=el.FileSystem||(el.FileSystem={}));function hLe(e,t,n,i){return n?(Xc.isAbsolute(n)||(n=Xc.join(e,n)),_A(t,n,n,i).then(o=>RW.isParent(n,o)?o:Promise.reject(new Error(`Failed to load ${t} from node path location.`))).then(void 0,o=>_A(t,zP(i),e,i))):_A(t,zP(i),e,i)}el.resolveModulePath=hLe});var QP=Le((_yt,MW)=>{"use strict";MW.exports=Ya()});var OW=Le(Lo=>{"use strict";var _Le=Lo&&Lo.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,o)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),BW=Lo&&Lo.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&_Le(t,e,n)};Object.defineProperty(Lo,"__esModule",{value:!0});Lo.ProposedFeatures=Lo.NotebookDocuments=Lo.TextDocuments=Lo.SemanticTokensBuilder=void 0;var mLe=RP();Object.defineProperty(Lo,"SemanticTokensBuilder",{enumerable:!0,get:function(){return mLe.SemanticTokensBuilder}});BW(Ya(),Lo);var ELe=OP();Object.defineProperty(Lo,"TextDocuments",{enumerable:!0,get:function(){return ELe.TextDocuments}});var yLe=jP();Object.defineProperty(Lo,"NotebookDocuments",{enumerable:!0,get:function(){return yLe.NotebookDocuments}});BW(GP(),Lo);var gLe;(function(e){e.all={__brand:"features"}})(gLe=Lo.ProposedFeatures||(Lo.ProposedFeatures={}))});var ew=Le(Nl=>{"use strict";var bLe=Nl&&Nl.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,o)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),jW=Nl&&Nl.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&bLe(t,e,n)};Object.defineProperty(Nl,"__esModule",{value:!0});Nl.createConnection=Nl.Files=void 0;var YP=gb(),ALe=GP(),ey=$W(),rf=QP();jW(QP(),Nl);jW(OW(),Nl);var ILe;(function(e){e.uriToFilePath=ey.uriToFilePath,e.resolveGlobalNodePath=ey.resolveGlobalNodePath,e.resolveGlobalYarnPath=ey.resolveGlobalYarnPath,e.resolve=ey.resolve,e.resolveModulePath=ey.resolveModulePath})(ILe=Nl.Files||(Nl.Files={}));var FW;function mA(){if(FW!==void 0)try{FW.end()}catch{}}var Vh=!1,UW;function SLe(){let e="--clientProcessId";function t(n){try{let i=parseInt(n);isNaN(i)||(UW=setInterval(()=>{try{process.kill(i,0)}catch{mA(),process.exit(Vh?0:1)}},3e3))}catch{}}for(let n=2;n<process.argv.length;n++){let i=process.argv[n];if(i===e&&n+1<process.argv.length){t(process.argv[n+1]);return}else{let o=i.split("=");o[0]===e&&t(o[1])}}}SLe();var LLe={initialize:e=>{let t=e.processId;YP.number(t)&&UW===void 0&&setInterval(()=>{try{process.kill(t,0)}catch{process.exit(Vh?0:1)}},3e3)},get shutdownReceived(){return Vh},set shutdownReceived(e){Vh=e},exit:e=>{mA(),process.exit(e)}};function TLe(e,t,n,i){let o,r,c,s;return e!==void 0&&e.__brand==="features"&&(o=e,e=t,t=n,n=i),rf.ConnectionStrategy.is(e)||rf.ConnectionOptions.is(e)?s=e:(r=e,c=t,s=n),vLe(r,c,s,o)}Nl.createConnection=TLe;function vLe(e,t,n,i){if(!e&&!t&&process.argv.length>2){let s,u,H=process.argv.slice(2);for(let a=0;a<H.length;a++){let l=H[a];if(l==="--node-ipc"){e=new rf.IPCMessageReader(process),t=new rf.IPCMessageWriter(process);break}else if(l==="--stdio"){e=process.stdin,t=process.stdout;break}else if(l==="--socket"){s=parseInt(H[a+1]);break}else if(l==="--pipe"){u=H[a+1];break}else{var o=l.split("=");if(o[0]==="--socket"){s=parseInt(o[1]);break}else if(o[0]==="--pipe"){u=o[1];break}}}if(s){let a=(0,rf.createServerSocketTransport)(s);e=a[0],t=a[1]}else if(u){let a=(0,rf.createServerPipeTransport)(u);e=a[0],t=a[1]}}var r="Use arguments of createConnection or set command line parameters: '--node-ipc', '--stdio' or '--socket={number}'";if(!e)throw new Error("Connection input stream is not set. "+r);if(!t)throw new Error("Connection output stream is not set. "+r);if(YP.func(e.read)&&YP.func(e.on)){let s=e;s.on("end",()=>{mA(),process.exit(Vh?0:1)}),s.on("close",()=>{mA(),process.exit(Vh?0:1)})}let c=s=>(0,rf.createProtocolConnection)(e,t,s,n);return(0,ALe.createConnection)(c,LLe,i)}});var ty=Le((yyt,qW)=>{"use strict";qW.exports=ew()});var ny=Le((ry,tw)=>{(function(e,t){if(typeof ry=="object"&&typeof tw=="object")tw.exports=t();else if(typeof define=="function"&&define.amd)define([],t);else{var n=t();for(var i in n)(typeof ry=="object"?ry:e)[i]=n[i]}})(ry,function(){return(()=>{"use strict";var e={470:n=>{function i(c){if(typeof c!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(c))}function o(c,s){for(var u,H="",a=0,l=-1,p=0,d=0;d<=c.length;++d){if(d<c.length)u=c.charCodeAt(d);else{if(u===47)break;u=47}if(u===47){if(!(l===d-1||p===1))if(l!==d-1&&p===2){if(H.length<2||a!==2||H.charCodeAt(H.length-1)!==46||H.charCodeAt(H.length-2)!==46){if(H.length>2){var h=H.lastIndexOf("/");if(h!==H.length-1){h===-1?(H="",a=0):a=(H=H.slice(0,h)).length-1-H.lastIndexOf("/"),l=d,p=0;continue}}else if(H.length===2||H.length===1){H="",a=0,l=d,p=0;continue}}s&&(H.length>0?H+="/..":H="..",a=2)}else H.length>0?H+="/"+c.slice(l+1,d):H=c.slice(l+1,d),a=d-l-1;l=d,p=0}else u===46&&p!==-1?++p:p=-1}return H}var r={resolve:function(){for(var c,s="",u=!1,H=arguments.length-1;H>=-1&&!u;H--){var a;H>=0?a=arguments[H]:(c===void 0&&(c=process.cwd()),a=c),i(a),a.length!==0&&(s=a+"/"+s,u=a.charCodeAt(0)===47)}return s=o(s,!u),u?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(c){if(i(c),c.length===0)return".";var s=c.charCodeAt(0)===47,u=c.charCodeAt(c.length-1)===47;return(c=o(c,!s)).length!==0||s||(c="."),c.length>0&&u&&(c+="/"),s?"/"+c:c},isAbsolute:function(c){return i(c),c.length>0&&c.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var c,s=0;s<arguments.length;++s){var u=arguments[s];i(u),u.length>0&&(c===void 0?c=u:c+="/"+u)}return c===void 0?".":r.normalize(c)},relative:function(c,s){if(i(c),i(s),c===s||(c=r.resolve(c))===(s=r.resolve(s)))return"";for(var u=1;u<c.length&&c.charCodeAt(u)===47;++u);for(var H=c.length,a=H-u,l=1;l<s.length&&s.charCodeAt(l)===47;++l);for(var p=s.length-l,d=a<p?a:p,h=-1,m=0;m<=d;++m){if(m===d){if(p>d){if(s.charCodeAt(l+m)===47)return s.slice(l+m+1);if(m===0)return s.slice(l+m)}else a>d&&(c.charCodeAt(u+m)===47?h=m:m===0&&(h=0));break}var g=c.charCodeAt(u+m);if(g!==s.charCodeAt(l+m))break;g===47&&(h=m)}var y="";for(m=u+h+1;m<=H;++m)m!==H&&c.charCodeAt(m)!==47||(y.length===0?y+="..":y+="/..");return y.length>0?y+s.slice(l+h):(l+=h,s.charCodeAt(l)===47&&++l,s.slice(l))},_makeLong:function(c){return c},dirname:function(c){if(i(c),c.length===0)return".";for(var s=c.charCodeAt(0),u=s===47,H=-1,a=!0,l=c.length-1;l>=1;--l)if((s=c.charCodeAt(l))===47){if(!a){H=l;break}}else a=!1;return H===-1?u?"/":".":u&&H===1?"//":c.slice(0,H)},basename:function(c,s){if(s!==void 0&&typeof s!="string")throw new TypeError('"ext" argument must be a string');i(c);var u,H=0,a=-1,l=!0;if(s!==void 0&&s.length>0&&s.length<=c.length){if(s.length===c.length&&s===c)return"";var p=s.length-1,d=-1;for(u=c.length-1;u>=0;--u){var h=c.charCodeAt(u);if(h===47){if(!l){H=u+1;break}}else d===-1&&(l=!1,d=u+1),p>=0&&(h===s.charCodeAt(p)?--p==-1&&(a=u):(p=-1,a=d))}return H===a?a=d:a===-1&&(a=c.length),c.slice(H,a)}for(u=c.length-1;u>=0;--u)if(c.charCodeAt(u)===47){if(!l){H=u+1;break}}else a===-1&&(l=!1,a=u+1);return a===-1?"":c.slice(H,a)},extname:function(c){i(c);for(var s=-1,u=0,H=-1,a=!0,l=0,p=c.length-1;p>=0;--p){var d=c.charCodeAt(p);if(d!==47)H===-1&&(a=!1,H=p+1),d===46?s===-1?s=p:l!==1&&(l=1):s!==-1&&(l=-1);else if(!a){u=p+1;break}}return s===-1||H===-1||l===0||l===1&&s===H-1&&s===u+1?"":c.slice(s,H)},format:function(c){if(c===null||typeof c!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof c);return function(s,u){var H=u.dir||u.root,a=u.base||(u.name||"")+(u.ext||"");return H?H===u.root?H+a:H+"/"+a:a}(0,c)},parse:function(c){i(c);var s={root:"",dir:"",base:"",ext:"",name:""};if(c.length===0)return s;var u,H=c.charCodeAt(0),a=H===47;a?(s.root="/",u=1):u=0;for(var l=-1,p=0,d=-1,h=!0,m=c.length-1,g=0;m>=u;--m)if((H=c.charCodeAt(m))!==47)d===-1&&(h=!1,d=m+1),H===46?l===-1?l=m:g!==1&&(g=1):l!==-1&&(g=-1);else if(!h){p=m+1;break}return l===-1||d===-1||g===0||g===1&&l===d-1&&l===p+1?d!==-1&&(s.base=s.name=p===0&&a?c.slice(1,d):c.slice(p,d)):(p===0&&a?(s.name=c.slice(1,l),s.base=c.slice(1,d)):(s.name=c.slice(p,l),s.base=c.slice(p,d)),s.ext=c.slice(l,d)),p>0?s.dir=c.slice(0,p-1):a&&(s.dir="/"),s},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,n.exports=r},465:(n,i,o)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.Utils=i.URI=void 0;var r=o(796);Object.defineProperty(i,"URI",{enumerable:!0,get:function(){return r.URI}});var c=o(679);Object.defineProperty(i,"Utils",{enumerable:!0,get:function(){return c.Utils}})},674:(n,i)=>{if(Object.defineProperty(i,"__esModule",{value:!0}),i.isWindows=void 0,typeof process=="object")i.isWindows=process.platform==="win32";else if(typeof navigator=="object"){var o=navigator.userAgent;i.isWindows=o.indexOf("Windows")>=0}},796:function(n,i,o){var r,c,s=this&&this.__extends||(r=function(C,D){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(O,j){O.__proto__=j}||function(O,j){for(var k in j)Object.prototype.hasOwnProperty.call(j,k)&&(O[k]=j[k])})(C,D)},function(C,D){function O(){this.constructor=C}r(C,D),C.prototype=D===null?Object.create(D):(O.prototype=D.prototype,new O)});Object.defineProperty(i,"__esModule",{value:!0}),i.uriToFsPath=i.URI=void 0;var u=o(674),H=/^\w[\w\d+.-]*$/,a=/^\//,l=/^\/\//,p="",d="/",h=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,m=function(){function C(D,O,j,k,$,U){U===void 0&&(U=!1),typeof D=="object"?(this.scheme=D.scheme||p,this.authority=D.authority||p,this.path=D.path||p,this.query=D.query||p,this.fragment=D.fragment||p):(this.scheme=function(F,P){return F||P?F:"file"}(D,U),this.authority=O||p,this.path=function(F,P){switch(F){case"https":case"http":case"file":P?P[0]!==d&&(P=d+P):P=d}return P}(this.scheme,j||p),this.query=k||p,this.fragment=$||p,function(F,P){if(!F.scheme&&P)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+F.authority+'", path: "'+F.path+'", query: "'+F.query+'", fragment: "'+F.fragment+'"}');if(F.scheme&&!H.test(F.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(F.path){if(F.authority){if(!a.test(F.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(l.test(F.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,U))}return C.isUri=function(D){return D instanceof C||!!D&&typeof D.authority=="string"&&typeof D.fragment=="string"&&typeof D.path=="string"&&typeof D.query=="string"&&typeof D.scheme=="string"&&typeof D.fsPath=="function"&&typeof D.with=="function"&&typeof D.toString=="function"},Object.defineProperty(C.prototype,"fsPath",{get:function(){return S(this,!1)},enumerable:!1,configurable:!0}),C.prototype.with=function(D){if(!D)return this;var O=D.scheme,j=D.authority,k=D.path,$=D.query,U=D.fragment;return O===void 0?O=this.scheme:O===null&&(O=p),j===void 0?j=this.authority:j===null&&(j=p),k===void 0?k=this.path:k===null&&(k=p),$===void 0?$=this.query:$===null&&($=p),U===void 0?U=this.fragment:U===null&&(U=p),O===this.scheme&&j===this.authority&&k===this.path&&$===this.query&&U===this.fragment?this:new y(O,j,k,$,U)},C.parse=function(D,O){O===void 0&&(O=!1);var j=h.exec(D);return j?new y(j[2]||p,x(j[4]||p),x(j[5]||p),x(j[7]||p),x(j[9]||p),O):new y(p,p,p,p,p)},C.file=function(D){var O=p;if(u.isWindows&&(D=D.replace(/\\/g,d)),D[0]===d&&D[1]===d){var j=D.indexOf(d,2);j===-1?(O=D.substring(2),D=d):(O=D.substring(2,j),D=D.substring(j)||d)}return new y("file",O,D,p,p)},C.from=function(D){return new y(D.scheme,D.authority,D.path,D.query,D.fragment)},C.prototype.toString=function(D){return D===void 0&&(D=!1),T(this,D)},C.prototype.toJSON=function(){return this},C.revive=function(D){if(D){if(D instanceof C)return D;var O=new y(D);return O._formatted=D.external,O._fsPath=D._sep===g?D.fsPath:null,O}return D},C}();i.URI=m;var g=u.isWindows?1:void 0,y=function(C){function D(){var O=C!==null&&C.apply(this,arguments)||this;return O._formatted=null,O._fsPath=null,O}return s(D,C),Object.defineProperty(D.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=S(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),D.prototype.toString=function(O){return O===void 0&&(O=!1),O?T(this,!0):(this._formatted||(this._formatted=T(this,!1)),this._formatted)},D.prototype.toJSON=function(){var O={$mid:1};return this._fsPath&&(O.fsPath=this._fsPath,O._sep=g),this._formatted&&(O.external=this._formatted),this.path&&(O.path=this.path),this.scheme&&(O.scheme=this.scheme),this.authority&&(O.authority=this.authority),this.query&&(O.query=this.query),this.fragment&&(O.fragment=this.fragment),O},D}(m),_=((c={})[58]="%3A",c[47]="%2F",c[63]="%3F",c[35]="%23",c[91]="%5B",c[93]="%5D",c[64]="%40",c[33]="%21",c[36]="%24",c[38]="%26",c[39]="%27",c[40]="%28",c[41]="%29",c[42]="%2A",c[43]="%2B",c[44]="%2C",c[59]="%3B",c[61]="%3D",c[32]="%20",c);function E(C,D){for(var O=void 0,j=-1,k=0;k<C.length;k++){var $=C.charCodeAt(k);if($>=97&&$<=122||$>=65&&$<=90||$>=48&&$<=57||$===45||$===46||$===95||$===126||D&&$===47)j!==-1&&(O+=encodeURIComponent(C.substring(j,k)),j=-1),O!==void 0&&(O+=C.charAt(k));else{O===void 0&&(O=C.substr(0,k));var U=_[$];U!==void 0?(j!==-1&&(O+=encodeURIComponent(C.substring(j,k)),j=-1),O+=U):j===-1&&(j=k)}}return j!==-1&&(O+=encodeURIComponent(C.substring(j))),O!==void 0?O:C}function A(C){for(var D=void 0,O=0;O<C.length;O++){var j=C.charCodeAt(O);j===35||j===63?(D===void 0&&(D=C.substr(0,O)),D+=_[j]):D!==void 0&&(D+=C[O])}return D!==void 0?D:C}function S(C,D){var O;return O=C.authority&&C.path.length>1&&C.scheme==="file"?"//"+C.authority+C.path:C.path.charCodeAt(0)===47&&(C.path.charCodeAt(1)>=65&&C.path.charCodeAt(1)<=90||C.path.charCodeAt(1)>=97&&C.path.charCodeAt(1)<=122)&&C.path.charCodeAt(2)===58?D?C.path.substr(1):C.path[1].toLowerCase()+C.path.substr(2):C.path,u.isWindows&&(O=O.replace(/\//g,"\\")),O}function T(C,D){var O=D?A:E,j="",k=C.scheme,$=C.authority,U=C.path,F=C.query,P=C.fragment;if(k&&(j+=k,j+=":"),($||k==="file")&&(j+=d,j+=d),$){var W=$.indexOf("@");if(W!==-1){var Z=$.substr(0,W);$=$.substr(W+1),(W=Z.indexOf(":"))===-1?j+=O(Z,!1):(j+=O(Z.substr(0,W),!1),j+=":",j+=O(Z.substr(W+1),!1)),j+="@"}(W=($=$.toLowerCase()).indexOf(":"))===-1?j+=O($,!1):(j+=O($.substr(0,W),!1),j+=$.substr(W))}if(U){if(U.length>=3&&U.charCodeAt(0)===47&&U.charCodeAt(2)===58)(ee=U.charCodeAt(1))>=65&&ee<=90&&(U="/"+String.fromCharCode(ee+32)+":"+U.substr(3));else if(U.length>=2&&U.charCodeAt(1)===58){var ee;(ee=U.charCodeAt(0))>=65&&ee<=90&&(U=String.fromCharCode(ee+32)+":"+U.substr(2))}j+=O(U,!0)}return F&&(j+="?",j+=O(F,!1)),P&&(j+="#",j+=D?P:E(P,!1)),j}function I(C){try{return decodeURIComponent(C)}catch{return C.length>3?C.substr(0,3)+I(C.substr(3)):C}}i.uriToFsPath=S;var L=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function x(C){return C.match(L)?C.replace(L,function(D){return I(D)}):C}},679:function(n,i,o){var r=this&&this.__spreadArrays||function(){for(var H=0,a=0,l=arguments.length;a<l;a++)H+=arguments[a].length;var p=Array(H),d=0;for(a=0;a<l;a++)for(var h=arguments[a],m=0,g=h.length;m<g;m++,d++)p[d]=h[m];return p};Object.defineProperty(i,"__esModule",{value:!0}),i.Utils=void 0;var c,s=o(470),u=s.posix||s;(c=i.Utils||(i.Utils={})).joinPath=function(H){for(var a=[],l=1;l<arguments.length;l++)a[l-1]=arguments[l];return H.with({path:u.join.apply(u,r([H.path],a))})},c.resolvePath=function(H){for(var a=[],l=1;l<arguments.length;l++)a[l-1]=arguments[l];var p=H.path||"/";return H.with({path:u.resolve.apply(u,r([p],a))})},c.dirname=function(H){var a=u.dirname(H.path);return a.length===1&&a.charCodeAt(0)===46?H:H.with({path:a})},c.basename=function(H){return u.basename(H.path)},c.extname=function(H){return u.extname(H.path)}}},t={};return function n(i){if(t[i])return t[i].exports;var o=t[i]={exports:{}};return e[i].call(o.exports,o,o.exports,n),o.exports}(465)})()})});var Kh=Le((byt,VW)=>{VW.exports=function(e,t){if(typeof e!="string")throw new TypeError("expected path to be a string");if(e==="\\"||e==="/")return"/";var n=e.length;if(n<=1)return e;var i="";if(n>4&&e[3]==="\\"){var o=e[2];(o==="?"||o===".")&&e.slice(0,2)==="\\\\"&&(e=e.slice(2),i="//")}var r=e.split(/[/\\]+/);return t!==!1&&r[r.length-1]===""&&r.pop(),i+r.join("/")}});var iy=Le((Ayt,zW)=>{"use strict";var xu="\\\\/",KW=`[^${xu}]`,gH="\\.",CLe="\\+",xLe="\\?",EA="\\/",DLe="(?=.)",GW="[^/]",rw=`(?:${EA}|$)`,XW=`(?:^|${EA})`,nw=`${gH}{1,2}${rw}`,PLe=`(?!${gH})`,wLe=`(?!${XW}${nw})`,kLe=`(?!${gH}{0,1}${rw})`,NLe=`(?!${nw})`,RLe=`[^.${EA}]`,$Le=`${GW}*?`,MLe="/",ZW={DOT_LITERAL:gH,PLUS_LITERAL:CLe,QMARK_LITERAL:xLe,SLASH_LITERAL:EA,ONE_CHAR:DLe,QMARK:GW,END_ANCHOR:rw,DOTS_SLASH:nw,NO_DOT:PLe,NO_DOTS:wLe,NO_DOT_SLASH:kLe,NO_DOTS_SLASH:NLe,QMARK_NO_DOT:RLe,STAR:$Le,START_ANCHOR:XW,SEP:MLe},BLe={...ZW,SLASH_LITERAL:`[${xu}]`,QMARK:KW,STAR:`${KW}*?`,DOTS_SLASH:`${gH}{1,2}(?:[${xu}]|$)`,NO_DOT:`(?!${gH})`,NO_DOTS:`(?!(?:^|[${xu}])${gH}{1,2}(?:[${xu}]|$))`,NO_DOT_SLASH:`(?!${gH}{0,1}(?:[${xu}]|$))`,NO_DOTS_SLASH:`(?!${gH}{1,2}(?:[${xu}]|$))`,QMARK_NO_DOT:`[^.${xu}]`,START_ANCHOR:`(?:^|[${xu}])`,END_ANCHOR:`(?:[${xu}]|$)`,SEP:"\\"},OLe={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};zW.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:OLe,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===!0?BLe:ZW}}});var sy=Le(Hl=>{"use strict";var{REGEX_BACKSLASH:FLe,REGEX_REMOVE_BACKSLASH:jLe,REGEX_SPECIAL_CHARS:ULe,REGEX_SPECIAL_CHARS_GLOBAL:qLe}=iy();Hl.isObject=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);Hl.hasRegexChars=e=>ULe.test(e);Hl.isRegexChar=e=>e.length===1&&Hl.hasRegexChars(e);Hl.escapeRegex=e=>e.replace(qLe,"\\$1");Hl.toPosixSlashes=e=>e.replace(FLe,"/");Hl.isWindows=()=>{if(typeof navigator<"u"&&navigator.platform){let e=navigator.platform.toLowerCase();return e==="win32"||e==="windows"}return typeof process<"u"&&process.platform?process.platform==="win32":!1};Hl.removeBackslashes=e=>e.replace(jLe,t=>t==="\\"?"":t);Hl.escapeLast=(e,t,n)=>{let i=e.lastIndexOf(t,n);return i===-1?e:e[i-1]==="\\"?Hl.escapeLast(e,t,i-1):`${e.slice(0,i)}\\${e.slice(i)}`};Hl.removePrefix=(e,t={})=>{let n=e;return n.startsWith("./")&&(n=n.slice(2),t.prefix="./"),n};Hl.wrapOutput=(e,t={},n={})=>{let i=n.contains?"":"^",o=n.contains?"":"$",r=`${i}(?:${e})${o}`;return t.negated===!0&&(r=`(?:^(?!${r}).*$)`),r};Hl.basename=(e,{windows:t}={})=>{let n=e.split(t?/[\\/]/:"/"),i=n[n.length-1];return i===""?n[n.length-2]:i}});var iV=Le((Syt,nV)=>{"use strict";var JW=sy(),{CHAR_ASTERISK:iw,CHAR_AT:WLe,CHAR_BACKWARD_SLASH:ay,CHAR_COMMA:VLe,CHAR_DOT:sw,CHAR_EXCLAMATION_MARK:aw,CHAR_FORWARD_SLASH:rV,CHAR_LEFT_CURLY_BRACE:ow,CHAR_LEFT_PARENTHESES:lw,CHAR_LEFT_SQUARE_BRACKET:KLe,CHAR_PLUS:GLe,CHAR_QUESTION_MARK:QW,CHAR_RIGHT_CURLY_BRACE:XLe,CHAR_RIGHT_PARENTHESES:YW,CHAR_RIGHT_SQUARE_BRACKET:ZLe}=iy(),eV=e=>e===rV||e===ay,tV=e=>{e.isPrefix!==!0&&(e.depth=e.isGlobstar?1/0:1)},zLe=(e,t)=>{let n=t||{},i=e.length-1,o=n.parts===!0||n.scanToEnd===!0,r=[],c=[],s=[],u=e,H=-1,a=0,l=0,p=!1,d=!1,h=!1,m=!1,g=!1,y=!1,_=!1,E=!1,A=!1,S=!1,T=0,I,L,x={value:"",depth:0,isGlob:!1},C=()=>H>=i,D=()=>u.charCodeAt(H+1),O=()=>(I=L,u.charCodeAt(++H));for(;H<i;){L=O();let F;if(L===ay){_=x.backslashes=!0,L=O(),L===ow&&(y=!0);continue}if(y===!0||L===ow){for(T++;C()!==!0&&(L=O());){if(L===ay){_=x.backslashes=!0,O();continue}if(L===ow){T++;continue}if(y!==!0&&L===sw&&(L=O())===sw){if(p=x.isBrace=!0,h=x.isGlob=!0,S=!0,o===!0)continue;break}if(y!==!0&&L===VLe){if(p=x.isBrace=!0,h=x.isGlob=!0,S=!0,o===!0)continue;break}if(L===XLe&&(T--,T===0)){y=!1,p=x.isBrace=!0,S=!0;break}}if(o===!0)continue;break}if(L===rV){if(r.push(H),c.push(x),x={value:"",depth:0,isGlob:!1},S===!0)continue;if(I===sw&&H===a+1){a+=2;continue}l=H+1;continue}if(n.noext!==!0&&(L===GLe||L===WLe||L===iw||L===QW||L===aw)===!0&&D()===lw){if(h=x.isGlob=!0,m=x.isExtglob=!0,S=!0,L===aw&&H===a&&(A=!0),o===!0){for(;C()!==!0&&(L=O());){if(L===ay){_=x.backslashes=!0,L=O();continue}if(L===YW){h=x.isGlob=!0,S=!0;break}}continue}break}if(L===iw){if(I===iw&&(g=x.isGlobstar=!0),h=x.isGlob=!0,S=!0,o===!0)continue;break}if(L===QW){if(h=x.isGlob=!0,S=!0,o===!0)continue;break}if(L===KLe){for(;C()!==!0&&(F=O());){if(F===ay){_=x.backslashes=!0,O();continue}if(F===ZLe){d=x.isBracket=!0,h=x.isGlob=!0,S=!0;break}}if(o===!0)continue;break}if(n.nonegate!==!0&&L===aw&&H===a){E=x.negated=!0,a++;continue}if(n.noparen!==!0&&L===lw){if(h=x.isGlob=!0,o===!0){for(;C()!==!0&&(L=O());){if(L===lw){_=x.backslashes=!0,L=O();continue}if(L===YW){S=!0;break}}continue}break}if(h===!0){if(S=!0,o===!0)continue;break}}n.noext===!0&&(m=!1,h=!1);let j=u,k="",$="";a>0&&(k=u.slice(0,a),u=u.slice(a),l-=a),j&&h===!0&&l>0?(j=u.slice(0,l),$=u.slice(l)):h===!0?(j="",$=u):j=u,j&&j!==""&&j!=="/"&&j!==u&&eV(j.charCodeAt(j.length-1))&&(j=j.slice(0,-1)),n.unescape===!0&&($&&($=JW.removeBackslashes($)),j&&_===!0&&(j=JW.removeBackslashes(j)));let U={prefix:k,input:e,start:a,base:j,glob:$,isBrace:p,isBracket:d,isGlob:h,isExtglob:m,isGlobstar:g,negated:E,negatedExtglob:A};if(n.tokens===!0&&(U.maxDepth=0,eV(L)||c.push(x),U.tokens=c),n.parts===!0||n.tokens===!0){let F;for(let P=0;P<r.length;P++){let W=F?F+1:a,Z=r[P],ee=e.slice(W,Z);n.tokens&&(P===0&&a!==0?(c[P].isPrefix=!0,c[P].value=k):c[P].value=ee,tV(c[P]),U.maxDepth+=c[P].depth),(P!==0||ee!=="")&&s.push(ee),F=Z}if(F&&F+1<e.length){let P=e.slice(F+1);s.push(P),n.tokens&&(c[c.length-1].value=P,tV(c[c.length-1]),U.maxDepth+=c[c.length-1].depth)}U.slashes=r,U.parts=s}return U};nV.exports=zLe});var oV=Le((Lyt,aV)=>{"use strict";var yA=iy(),Du=sy(),{MAX_LENGTH:gA,POSIX_REGEX_SOURCE:JLe,REGEX_NON_SPECIAL_CHARS:QLe,REGEX_SPECIAL_CHARS_BACKREF:YLe,REPLACEMENTS:sV}=yA,eTe=(e,t)=>{if(typeof t.expandRange=="function")return t.expandRange(...e,t);e.sort();let n=`[${e.join("-")}]`;try{new RegExp(n)}catch{return e.map(o=>Du.escapeRegex(o)).join("..")}return n},Gh=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,cw=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");e=sV[e]||e;let n={...t},i=typeof n.maxLength=="number"?Math.min(gA,n.maxLength):gA,o=e.length;if(o>i)throw new SyntaxError(`Input length: ${o}, exceeds maximum allowed length: ${i}`);let r={type:"bos",value:"",output:n.prepend||""},c=[r],s=n.capture?"":"?:",u=yA.globChars(n.windows),H=yA.extglobChars(u),{DOT_LITERAL:a,PLUS_LITERAL:l,SLASH_LITERAL:p,ONE_CHAR:d,DOTS_SLASH:h,NO_DOT:m,NO_DOT_SLASH:g,NO_DOTS_SLASH:y,QMARK:_,QMARK_NO_DOT:E,STAR:A,START_ANCHOR:S}=u,T=ie=>`(${s}(?:(?!${S}${ie.dot?h:a}).)*?)`,I=n.dot?"":m,L=n.dot?_:E,x=n.bash===!0?T(n):A;n.capture&&(x=`(${x})`),typeof n.noext=="boolean"&&(n.noextglob=n.noext);let C={input:e,index:-1,start:0,dot:n.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:c};e=Du.removePrefix(e,C),o=e.length;let D=[],O=[],j=[],k=r,$,U=()=>C.index===o-1,F=C.peek=(ie=1)=>e[C.index+ie],P=C.advance=()=>e[++C.index]||"",W=()=>e.slice(C.index+1),Z=(ie="",_e=0)=>{C.consumed+=ie,C.index+=_e},ee=ie=>{C.output+=ie.output!=null?ie.output:ie.value,Z(ie.value)},J=()=>{let ie=1;for(;F()==="!"&&(F(2)!=="("||F(3)==="?");)P(),C.start++,ie++;return ie%2===0?!1:(C.negated=!0,C.start++,!0)},ne=ie=>{C[ie]++,j.push(ie)},K=ie=>{C[ie]--,j.pop()},q=ie=>{if(k.type==="globstar"){let _e=C.braces>0&&(ie.type==="comma"||ie.type==="brace"),He=ie.extglob===!0||D.length&&(ie.type==="pipe"||ie.type==="paren");ie.type!=="slash"&&ie.type!=="paren"&&!_e&&!He&&(C.output=C.output.slice(0,-k.output.length),k.type="star",k.value="*",k.output=x,C.output+=k.output)}if(D.length&&ie.type!=="paren"&&(D[D.length-1].inner+=ie.value),(ie.value||ie.output)&&ee(ie),k&&k.type==="text"&&ie.type==="text"){k.output=(k.output||k.value)+ie.value,k.value+=ie.value;return}ie.prev=k,c.push(ie),k=ie},Q=(ie,_e)=>{let He={...H[_e],conditions:1,inner:""};He.prev=k,He.parens=C.parens,He.output=C.output;let be=(n.capture?"(":"")+He.open;ne("parens"),q({type:ie,value:_e,output:C.output?"":d}),q({type:"paren",extglob:!0,value:P(),output:be}),D.push(He)},z=ie=>{let _e=ie.close+(n.capture?")":""),He;if(ie.type==="negate"){let be=x;if(ie.inner&&ie.inner.length>1&&ie.inner.includes("/")&&(be=T(n)),(be!==x||U()||/^\)+$/.test(W()))&&(_e=ie.close=`)$))${be}`),ie.inner.includes("*")&&(He=W())&&/^\.[^\\/.]+$/.test(He)){let Ve=cw(He,{...t,fastpaths:!1}).output;_e=ie.close=`)${Ve})${be})`}ie.prev.type==="bos"&&(C.negatedExtglob=!0)}q({type:"paren",extglob:!0,value:$,output:_e}),K("parens")};if(n.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(e)){let ie=!1,_e=e.replace(YLe,(He,be,Ve,Fe,me,ce)=>Fe==="\\"?(ie=!0,He):Fe==="?"?be?be+Fe+(me?_.repeat(me.length):""):ce===0?L+(me?_.repeat(me.length):""):_.repeat(Ve.length):Fe==="."?a.repeat(Ve.length):Fe==="*"?be?be+Fe+(me?x:""):x:be?He:`\\${He}`);return ie===!0&&(n.unescape===!0?_e=_e.replace(/\\/g,""):_e=_e.replace(/\\+/g,He=>He.length%2===0?"\\\\":He?"\\":"")),_e===e&&n.contains===!0?(C.output=e,C):(C.output=Du.wrapOutput(_e,C,t),C)}for(;!U();){if($=P(),$==="\0")continue;if($==="\\"){let He=F();if(He==="/"&&n.bash!==!0||He==="."||He===";")continue;if(!He){$+="\\",q({type:"text",value:$});continue}let be=/^\\+/.exec(W()),Ve=0;if(be&&be[0].length>2&&(Ve=be[0].length,C.index+=Ve,Ve%2!==0&&($+="\\")),n.unescape===!0?$=P():$+=P(),C.brackets===0){q({type:"text",value:$});continue}}if(C.brackets>0&&($!=="]"||k.value==="["||k.value==="[^")){if(n.posix!==!1&&$===":"){let He=k.value.slice(1);if(He.includes("[")&&(k.posix=!0,He.includes(":"))){let be=k.value.lastIndexOf("["),Ve=k.value.slice(0,be),Fe=k.value.slice(be+2),me=JLe[Fe];if(me){k.value=Ve+me,C.backtrack=!0,P(),!r.output&&c.indexOf(k)===1&&(r.output=d);continue}}}($==="["&&F()!==":"||$==="-"&&F()==="]")&&($=`\\${$}`),$==="]"&&(k.value==="["||k.value==="[^")&&($=`\\${$}`),n.posix===!0&&$==="!"&&k.value==="["&&($="^"),k.value+=$,ee({value:$});continue}if(C.quotes===1&&$!=='"'){$=Du.escapeRegex($),k.value+=$,ee({value:$});continue}if($==='"'){C.quotes=C.quotes===1?0:1,n.keepQuotes===!0&&q({type:"text",value:$});continue}if($==="("){ne("parens"),q({type:"paren",value:$});continue}if($===")"){if(C.parens===0&&n.strictBrackets===!0)throw new SyntaxError(Gh("opening","("));let He=D[D.length-1];if(He&&C.parens===He.parens+1){z(D.pop());continue}q({type:"paren",value:$,output:C.parens?")":"\\)"}),K("parens");continue}if($==="["){if(n.nobracket===!0||!W().includes("]")){if(n.nobracket!==!0&&n.strictBrackets===!0)throw new SyntaxError(Gh("closing","]"));$=`\\${$}`}else ne("brackets");q({type:"bracket",value:$});continue}if($==="]"){if(n.nobracket===!0||k&&k.type==="bracket"&&k.value.length===1){q({type:"text",value:$,output:`\\${$}`});continue}if(C.brackets===0){if(n.strictBrackets===!0)throw new SyntaxError(Gh("opening","["));q({type:"text",value:$,output:`\\${$}`});continue}K("brackets");let He=k.value.slice(1);if(k.posix!==!0&&He[0]==="^"&&!He.includes("/")&&($=`/${$}`),k.value+=$,ee({value:$}),n.literalBrackets===!1||Du.hasRegexChars(He))continue;let be=Du.escapeRegex(k.value);if(C.output=C.output.slice(0,-k.value.length),n.literalBrackets===!0){C.output+=be,k.value=be;continue}k.value=`(${s}${be}|${k.value})`,C.output+=k.value;continue}if($==="{"&&n.nobrace!==!0){ne("braces");let He={type:"brace",value:$,output:"(",outputIndex:C.output.length,tokensIndex:C.tokens.length};O.push(He),q(He);continue}if($==="}"){let He=O[O.length-1];if(n.nobrace===!0||!He){q({type:"text",value:$,output:$});continue}let be=")";if(He.dots===!0){let Ve=c.slice(),Fe=[];for(let me=Ve.length-1;me>=0&&(c.pop(),Ve[me].type!=="brace");me--)Ve[me].type!=="dots"&&Fe.unshift(Ve[me].value);be=eTe(Fe,n),C.backtrack=!0}if(He.comma!==!0&&He.dots!==!0){let Ve=C.output.slice(0,He.outputIndex),Fe=C.tokens.slice(He.tokensIndex);He.value=He.output="\\{",$=be="\\}",C.output=Ve;for(let me of Fe)C.output+=me.output||me.value}q({type:"brace",value:$,output:be}),K("braces"),O.pop();continue}if($==="|"){D.length>0&&D[D.length-1].conditions++,q({type:"text",value:$});continue}if($===","){let He=$,be=O[O.length-1];be&&j[j.length-1]==="braces"&&(be.comma=!0,He="|"),q({type:"comma",value:$,output:He});continue}if($==="/"){if(k.type==="dot"&&C.index===C.start+1){C.start=C.index+1,C.consumed="",C.output="",c.pop(),k=r;continue}q({type:"slash",value:$,output:p});continue}if($==="."){if(C.braces>0&&k.type==="dot"){k.value==="."&&(k.output=a);let He=O[O.length-1];k.type="dots",k.output+=$,k.value+=$,He.dots=!0;continue}if(C.braces+C.parens===0&&k.type!=="bos"&&k.type!=="slash"){q({type:"text",value:$,output:a});continue}q({type:"dot",value:$,output:a});continue}if($==="?"){if(!(k&&k.value==="(")&&n.noextglob!==!0&&F()==="("&&F(2)!=="?"){Q("qmark",$);continue}if(k&&k.type==="paren"){let be=F(),Ve=$;(k.value==="("&&!/[!=<:]/.test(be)||be==="<"&&!/<([!=]|\w+>)/.test(W()))&&(Ve=`\\${$}`),q({type:"text",value:$,output:Ve});continue}if(n.dot!==!0&&(k.type==="slash"||k.type==="bos")){q({type:"qmark",value:$,output:E});continue}q({type:"qmark",value:$,output:_});continue}if($==="!"){if(n.noextglob!==!0&&F()==="("&&(F(2)!=="?"||!/[!=<:]/.test(F(3)))){Q("negate",$);continue}if(n.nonegate!==!0&&C.index===0){J();continue}}if($==="+"){if(n.noextglob!==!0&&F()==="("&&F(2)!=="?"){Q("plus",$);continue}if(k&&k.value==="("||n.regex===!1){q({type:"plus",value:$,output:l});continue}if(k&&(k.type==="bracket"||k.type==="paren"||k.type==="brace")||C.parens>0){q({type:"plus",value:$});continue}q({type:"plus",value:l});continue}if($==="@"){if(n.noextglob!==!0&&F()==="("&&F(2)!=="?"){q({type:"at",extglob:!0,value:$,output:""});continue}q({type:"text",value:$});continue}if($!=="*"){($==="$"||$==="^")&&($=`\\${$}`);let He=QLe.exec(W());He&&($+=He[0],C.index+=He[0].length),q({type:"text",value:$});continue}if(k&&(k.type==="globstar"||k.star===!0)){k.type="star",k.star=!0,k.value+=$,k.output=x,C.backtrack=!0,C.globstar=!0,Z($);continue}let ie=W();if(n.noextglob!==!0&&/^\([^?]/.test(ie)){Q("star",$);continue}if(k.type==="star"){if(n.noglobstar===!0){Z($);continue}let He=k.prev,be=He.prev,Ve=He.type==="slash"||He.type==="bos",Fe=be&&(be.type==="star"||be.type==="globstar");if(n.bash===!0&&(!Ve||ie[0]&&ie[0]!=="/")){q({type:"star",value:$,output:""});continue}let me=C.braces>0&&(He.type==="comma"||He.type==="brace"),ce=D.length&&(He.type==="pipe"||He.type==="paren");if(!Ve&&He.type!=="paren"&&!me&&!ce){q({type:"star",value:$,output:""});continue}for(;ie.slice(0,3)==="/**";){let ke=e[C.index+4];if(ke&&ke!=="/")break;ie=ie.slice(3),Z("/**",3)}if(He.type==="bos"&&U()){k.type="globstar",k.value+=$,k.output=T(n),C.output=k.output,C.globstar=!0,Z($);continue}if(He.type==="slash"&&He.prev.type!=="bos"&&!Fe&&U()){C.output=C.output.slice(0,-(He.output+k.output).length),He.output=`(?:${He.output}`,k.type="globstar",k.output=T(n)+(n.strictSlashes?")":"|$)"),k.value+=$,C.globstar=!0,C.output+=He.output+k.output,Z($);continue}if(He.type==="slash"&&He.prev.type!=="bos"&&ie[0]==="/"){let ke=ie[1]!==void 0?"|$":"";C.output=C.output.slice(0,-(He.output+k.output).length),He.output=`(?:${He.output}`,k.type="globstar",k.output=`${T(n)}${p}|${p}${ke})`,k.value+=$,C.output+=He.output+k.output,C.globstar=!0,Z($+P()),q({type:"slash",value:"/",output:""});continue}if(He.type==="bos"&&ie[0]==="/"){k.type="globstar",k.value+=$,k.output=`(?:^|${p}|${T(n)}${p})`,C.output=k.output,C.globstar=!0,Z($+P()),q({type:"slash",value:"/",output:""});continue}C.output=C.output.slice(0,-k.output.length),k.type="globstar",k.output=T(n),k.value+=$,C.output+=k.output,C.globstar=!0,Z($);continue}let _e={type:"star",value:$,output:x};if(n.bash===!0){_e.output=".*?",(k.type==="bos"||k.type==="slash")&&(_e.output=I+_e.output),q(_e);continue}if(k&&(k.type==="bracket"||k.type==="paren")&&n.regex===!0){_e.output=$,q(_e);continue}(C.index===C.start||k.type==="slash"||k.type==="dot")&&(k.type==="dot"?(C.output+=g,k.output+=g):n.dot===!0?(C.output+=y,k.output+=y):(C.output+=I,k.output+=I),F()!=="*"&&(C.output+=d,k.output+=d)),q(_e)}for(;C.brackets>0;){if(n.strictBrackets===!0)throw new SyntaxError(Gh("closing","]"));C.output=Du.escapeLast(C.output,"["),K("brackets")}for(;C.parens>0;){if(n.strictBrackets===!0)throw new SyntaxError(Gh("closing",")"));C.output=Du.escapeLast(C.output,"("),K("parens")}for(;C.braces>0;){if(n.strictBrackets===!0)throw new SyntaxError(Gh("closing","}"));C.output=Du.escapeLast(C.output,"{"),K("braces")}if(n.strictSlashes!==!0&&(k.type==="star"||k.type==="bracket")&&q({type:"maybe_slash",value:"",output:`${p}?`}),C.backtrack===!0){C.output="";for(let ie of C.tokens)C.output+=ie.output!=null?ie.output:ie.value,ie.suffix&&(C.output+=ie.suffix)}return C};cw.fastpaths=(e,t)=>{let n={...t},i=typeof n.maxLength=="number"?Math.min(gA,n.maxLength):gA,o=e.length;if(o>i)throw new SyntaxError(`Input length: ${o}, exceeds maximum allowed length: ${i}`);e=sV[e]||e;let{DOT_LITERAL:r,SLASH_LITERAL:c,ONE_CHAR:s,DOTS_SLASH:u,NO_DOT:H,NO_DOTS:a,NO_DOTS_SLASH:l,STAR:p,START_ANCHOR:d}=yA.globChars(n.windows),h=n.dot?a:H,m=n.dot?l:H,g=n.capture?"":"?:",y={negated:!1,prefix:""},_=n.bash===!0?".*?":p;n.capture&&(_=`(${_})`);let E=I=>I.noglobstar===!0?_:`(${g}(?:(?!${d}${I.dot?u:r}).)*?)`,A=I=>{switch(I){case"*":return`${h}${s}${_}`;case".*":return`${r}${s}${_}`;case"*.*":return`${h}${_}${r}${s}${_}`;case"*/*":return`${h}${_}${c}${s}${m}${_}`;case"**":return h+E(n);case"**/*":return`(?:${h}${E(n)}${c})?${m}${s}${_}`;case"**/*.*":return`(?:${h}${E(n)}${c})?${m}${_}${r}${s}${_}`;case"**/.*":return`(?:${h}${E(n)}${c})?${r}${s}${_}`;default:{let L=/^(.*?)\.(\w+)$/.exec(I);if(!L)return;let x=A(L[1]);return x?x+r+L[2]:void 0}}},S=Du.removePrefix(e,y),T=A(S);return T&&n.strictSlashes!==!0&&(T+=`${c}?`),T};aV.exports=cw});var uV=Le((Tyt,cV)=>{"use strict";var tTe=iV(),uw=oV(),lV=sy(),rTe=iy(),nTe=e=>e&&typeof e=="object"&&!Array.isArray(e),Na=(e,t,n=!1)=>{if(Array.isArray(e)){let a=e.map(p=>Na(p,t,n));return p=>{for(let d of a){let h=d(p);if(h)return h}return!1}}let i=nTe(e)&&e.tokens&&e.input;if(e===""||typeof e!="string"&&!i)throw new TypeError("Expected pattern to be a non-empty string");let o=t||{},r=o.windows,c=i?Na.compileRe(e,t):Na.makeRe(e,t,!1,!0),s=c.state;delete c.state;let u=()=>!1;if(o.ignore){let a={...t,ignore:null,onMatch:null,onResult:null};u=Na(o.ignore,a,n)}let H=(a,l=!1)=>{let{isMatch:p,match:d,output:h}=Na.test(a,c,t,{glob:e,posix:r}),m={glob:e,state:s,regex:c,posix:r,input:a,output:h,match:d,isMatch:p};return typeof o.onResult=="function"&&o.onResult(m),p===!1?(m.isMatch=!1,l?m:!1):u(a)?(typeof o.onIgnore=="function"&&o.onIgnore(m),m.isMatch=!1,l?m:!1):(typeof o.onMatch=="function"&&o.onMatch(m),l?m:!0)};return n&&(H.state=s),H};Na.test=(e,t,n,{glob:i,posix:o}={})=>{if(typeof e!="string")throw new TypeError("Expected input to be a string");if(e==="")return{isMatch:!1,output:""};let r=n||{},c=r.format||(o?lV.toPosixSlashes:null),s=e===i,u=s&&c?c(e):e;return s===!1&&(u=c?c(e):e,s=u===i),(s===!1||r.capture===!0)&&(r.matchBase===!0||r.basename===!0?s=Na.matchBase(e,t,n,o):s=t.exec(u)),{isMatch:!!s,match:s,output:u}};Na.matchBase=(e,t,n)=>(t instanceof RegExp?t:Na.makeRe(t,n)).test(lV.basename(e));Na.isMatch=(e,t,n)=>Na(t,n)(e);Na.parse=(e,t)=>Array.isArray(e)?e.map(n=>Na.parse(n,t)):uw(e,{...t,fastpaths:!1});Na.scan=(e,t)=>tTe(e,t);Na.compileRe=(e,t,n=!1,i=!1)=>{if(n===!0)return e.output;let o=t||{},r=o.contains?"":"^",c=o.contains?"":"$",s=`${r}(?:${e.output})${c}`;e&&e.negated===!0&&(s=`^(?!${s}).*$`);let u=Na.toRegex(s,t);return i===!0&&(u.state=e),u};Na.makeRe=(e,t={},n=!1,i=!1)=>{if(!e||typeof e!="string")throw new TypeError("Expected a non-empty string");let o={negated:!1,fastpaths:!0};return t.fastpaths!==!1&&(e[0]==="."||e[0]==="*")&&(o.output=uw.fastpaths(e,t)),o.output||(o=uw(e,t)),Na.compileRe(o,t,n,i)};Na.toRegex=(e,t)=>{try{let n=t||{};return new RegExp(e,n.flags||(n.nocase?"i":""))}catch(n){if(t&&t.debug===!0)throw n;return/$^/}};Na.constants=rTe;cV.exports=Na});var bH=Le((vyt,dV)=>{"use strict";var HV=uV(),iTe=sy();function pV(e,t,n=!1){return t&&(t.windows===null||t.windows===void 0)&&(t={...t,windows:iTe.isWindows()}),HV(e,t,n)}Object.assign(pV,HV);dV.exports=pV});var hV,fV=Pl(()=>{hV="./watcher-LKVNIXRY.node"});var EV=Le((Dyt,mV)=>{fV();var _V=require("path");mV.exports=require((0,_V.resolve)(__dirname,hV))});var gV,yV=Pl(()=>{gV="./watcher-HOV5D23Y.node"});var IV=Le((kyt,AV)=>{yV();var bV=require("path");AV.exports=require((0,bV.resolve)(__dirname,gV))});var LV,SV=Pl(()=>{LV="./watcher-A5ZN26DK.node"});var CV=Le(($yt,vV)=>{SV();var TV=require("path");vV.exports=require((0,TV.resolve)(__dirname,LV))});var DV,xV=Pl(()=>{DV="./watcher-YZ5DWAAG.node"});var kV=Le((Oyt,wV)=>{xV();var PV=require("path");wV.exports=require((0,PV.resolve)(__dirname,DV))});var RV,NV=Pl(()=>{RV="./watcher-677EY2XE.node"});var BV=Le((Uyt,MV)=>{NV();var $V=require("path");MV.exports=require((0,$V.resolve)(__dirname,RV))});var FV,OV=Pl(()=>{FV="./watcher-6AZGU4RY.node"});var qV=Le((Vyt,UV)=>{OV();var jV=require("path");UV.exports=require((0,jV.resolve)(__dirname,FV))});var VV,WV=Pl(()=>{VV="./watcher-KA56QUOV.node"});var XV=Le((Xyt,GV)=>{WV();var KV=require("path");GV.exports=require((0,KV.resolve)(__dirname,VV))});var zV,ZV=Pl(()=>{zV="./watcher-WWZD4ELE.node"});var YV=Le((Jyt,QV)=>{ZV();var JV=require("path");QV.exports=require((0,JV.resolve)(__dirname,zV))});var sK=Le(Xh=>{var rK=require("os"),nf=require("path"),dTe=require("fs"),fTe=process.config&&process.config.variables||{},nK=rK.arch(),iK=rK.platform(),hTe=process.versions.modules,eK=vTe()?"electron":"node",_Te=process.env.LIBC||(CTe(iK)?"musl":"glibc"),mTe=process.env.ARM_VERSION||(nK==="arm64"?"8":fTe.arm_version)||"",ETe=(process.versions.uv||"").split(".")[0],tK={"darwin-arm64":{"node.napi.glibc.node":()=>EV()},"darwin-x64":{"node.napi.glibc.node":()=>IV()},"linux-x64":{"node.napi.glibc.node":()=>CV(),"node.napi.musl.node":()=>kV()},"linux-arm64":{"node.napi.glibc.node":()=>BV(),"node.napi.musl.node":()=>qV()},"win32-x64":{"node.napi.glibc.node":()=>XV()},"win32-arm64":{"node.napi.glibc.node":()=>YV()}},sf=()=>{let e=yTe();return sf=()=>e,e};Xh.getBinding=sf;Xh.writeSnapshot=(e,t,n)=>sf().writeSnapshot(nf.resolve(e),nf.resolve(t),bA(e,n));Xh.getEventsSince=(e,t,n)=>sf().getEventsSince(nf.resolve(e),nf.resolve(t),bA(e,n));Xh.subscribe=async(e,t,n)=>(e=nf.resolve(e),n=bA(e,n),await sf().subscribe(e,t,n),{unsubscribe(){return sf().unsubscribe(e,t,n)}});Xh.unsubscribe=(e,t,n)=>sf().unsubscribe(nf.resolve(e),t,bA(e,n));function yTe(){var e=Object.keys(tK).map(gTe),t=e.filter(bTe(iK,nK)).sort(ATe)[0];if(t){var n=tK[t.name],i=Object.keys(n),o=i.map(ITe),r=o.filter(STe(eK,hTe)),c=r.sort(TTe(eK))[0];if(c)try{return n[c.file]()}catch{}}}function gTe(e){var t=e.split("-");if(t.length===2){var n=t[0],i=t[1].split("+");if(n&&i.length&&i.every(Boolean))return{name:e,platform:n,architectures:i}}}function bTe(e,t){return function(n){return n==null||n.platform!==e?!1:n.architectures.includes(t)}}function ATe(e,t){return e.architectures.length-t.architectures.length}function ITe(e){var t=e.split("."),n=t.pop(),i={file:e,specificity:0};if(n==="node"){for(var o=0;o<t.length;o++){var r=t[o];if(r==="node"||r==="electron"||r==="node-webkit")i.runtime=r;else if(r==="napi")i.napi=!0;else if(r.slice(0,3)==="abi")i.abi=r.slice(3);else if(r.slice(0,2)==="uv")i.uv=r.slice(2);else if(r.slice(0,4)==="armv")i.armv=r.slice(4);else if(r==="glibc"||r==="musl")i.libc=r;else continue;i.specificity++}return i}}function STe(e,t){return function(n){return!(n==null||n.runtime!==e&&!LTe(n)||n.abi!==t&&!n.napi||n.uv&&n.uv!==ETe||n.armv&&n.armv!==mTe||n.libc&&n.libc!==_Te)}}function LTe(e){return e.runtime==="node"&&e.napi}function TTe(e){return function(t,n){return t.runtime!==n.runtime?t.runtime===e?-1:1:t.abi!==n.abi?t.abi?-1:1:t.specificity!==n.specificity?t.specificity>n.specificity?-1:1:0}}function bA(e,t={}){return Array.isArray(t.ignore)&&(t=Object.assign({},t,{ignore:t.ignore.map(n=>nf.resolve(e,n))})),t}function vTe(){return process.versions&&process.versions.electron||process.env.ELECTRON_RUN_AS_NODE?!0:typeof window<"u"&&window.process&&window.process.type==="renderer"}function CTe(e){return e==="linux"&&dTe.existsSync("/etc/alpine-release")}});var mK=Le((s1t,_K)=>{var Ew=class{constructor(t){this.value=t,this.next=void 0}},yw=class{constructor(){this.clear()}enqueue(t){let n=new Ew(t);this._head?(this._tail.next=n,this._tail=n):(this._head=n,this._tail=n),this._size++}dequeue(){let t=this._head;if(t)return this._head=this._head.next,this._size--,t.value}clear(){this._head=void 0,this._tail=void 0,this._size=0}get size(){return this._size}*[Symbol.iterator](){let t=this._head;for(;t;)yield t.value,t=t.next}};_K.exports=yw});var yK=Le((a1t,EK)=>{"use strict";var wTe=mK(),kTe=e=>{if(!((Number.isInteger(e)||e===1/0)&&e>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");let t=new wTe,n=0,i=()=>{n--,t.size>0&&t.dequeue()()},o=async(s,u,...H)=>{n++;let a=(async()=>s(...H))();u(a);try{await a}catch{}i()},r=(s,u,...H)=>{t.enqueue(o.bind(null,s,u,...H)),(async()=>(await Promise.resolve(),n<e&&t.size>0&&t.dequeue()()))()},c=(s,...u)=>new Promise(H=>{r(s,H,...u)});return Object.defineProperties(c,{activeCount:{get:()=>n},pendingCount:{get:()=>t.size},clearQueue:{value:()=>{t.clear()}}}),c};EK.exports=kTe});var AK=Le((o1t,bK)=>{"use strict";var gK=yK(),xA=class extends Error{constructor(t){super(),this.value=t}},NTe=async(e,t)=>t(await e),RTe=async e=>{let t=await Promise.all(e);if(t[1]===!0)throw new xA(t[0]);return!1},$Te=async(e,t,n)=>{n={concurrency:1/0,preserveOrder:!0,...n};let i=gK(n.concurrency),o=[...e].map(c=>[c,i(NTe,c,t)]),r=gK(n.preserveOrder?1:1/0);try{await Promise.all(o.map(c=>r(RTe,c)))}catch(c){if(c instanceof xA)return c.value;throw c}};bK.exports=$Te});var CK=Le((l1t,gw)=>{"use strict";var IK=require("path"),DA=require("fs"),{promisify:SK}=require("util"),MTe=AK(),BTe=SK(DA.stat),OTe=SK(DA.lstat),LK={directory:"isDirectory",file:"isFile"};function TK({type:e}){if(!(e in LK))throw new Error(`Invalid type specified: ${e}`)}var vK=(e,t)=>e===void 0||t[LK[e]]();gw.exports=async(e,t)=>{t={cwd:process.cwd(),type:"file",allowSymlinks:!0,...t},TK(t);let n=t.allowSymlinks?BTe:OTe;return MTe(e,async i=>{try{let o=await n(IK.resolve(t.cwd,i));return vK(t.type,o)}catch{return!1}},t)};gw.exports.sync=(e,t)=>{t={cwd:process.cwd(),allowSymlinks:!0,type:"file",...t},TK(t);let n=t.allowSymlinks?DA.statSync:DA.lstatSync;for(let i of e)try{let o=n(IK.resolve(t.cwd,i));if(vK(t.type,o))return i}catch{}}});var DK=Le((c1t,bw)=>{"use strict";var xK=require("fs"),{promisify:FTe}=require("util"),jTe=FTe(xK.access);bw.exports=async e=>{try{return await jTe(e),!0}catch{return!1}};bw.exports.sync=e=>{try{return xK.accessSync(e),!0}catch{return!1}}});var wA=Le((u1t,Jh)=>{"use strict";var Pp=require("path"),PA=CK(),PK=DK(),Aw=Symbol("findUp.stop");Jh.exports=async(e,t={})=>{let n=Pp.resolve(t.cwd||""),{root:i}=Pp.parse(n),o=[].concat(e),r=async c=>{if(typeof e!="function")return PA(o,c);let s=await e(c.cwd);return typeof s=="string"?PA([s],c):s};for(;;){let c=await r({...t,cwd:n});if(c===Aw)return;if(c)return Pp.resolve(n,c);if(n===i)return;n=Pp.dirname(n)}};Jh.exports.sync=(e,t={})=>{let n=Pp.resolve(t.cwd||""),{root:i}=Pp.parse(n),o=[].concat(e),r=c=>{if(typeof e!="function")return PA.sync(o,c);let s=e(c.cwd);return typeof s=="string"?PA.sync([s],c):s};for(;;){let c=r({...t,cwd:n});if(c===Aw)return;if(c)return Pp.resolve(n,c);if(n===i)return;n=Pp.dirname(n)}};Jh.exports.exists=PK;Jh.exports.sync.exists=PK.sync;Jh.exports.stop=Aw});var kK=Le(Iw=>{"use strict";Object.defineProperty(Iw,"__esModule",{value:!0});Object.defineProperty(Iw,"default",{enumerable:!0,get:function(){return UTe}});function wK(e,t){return{handler:e,config:t}}wK.withOptions=function(e,t=()=>({})){let n=function(i){return{__options:i,handler:e(i),config:t(i)}};return n.__isOptionsFunction=!0,n.__pluginFunction=e,n.__configFunction=t,n};var UTe=wK});var NK=Le(Sw=>{"use strict";Object.defineProperty(Sw,"__esModule",{value:!0});Object.defineProperty(Sw,"default",{enumerable:!0,get:function(){return VTe}});var qTe=WTe(kK());function WTe(e){return e&&e.__esModule?e:{default:e}}var VTe=qTe.default});var lf=Le((d1t,RK)=>{var Lw=NK();RK.exports=(Lw.__esModule?Lw:{default:Lw}).default});var Tw=Le((f1t,OK)=>{var KTe=lf(),$K={position:"relative",paddingBottom:"calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%)"},MK={position:"absolute",height:"100%",width:"100%",top:"0",right:"0",bottom:"0",left:"0"},BK={".aspect-none":{position:"static",paddingBottom:"0"},".aspect-none > *":{position:"static",height:"auto",width:"auto",top:"auto",right:"auto",bottom:"auto",left:"auto"}},GTe=KTe(function({addComponents:e,matchComponents:t,theme:n,variants:i,e:o}){let r=n("aspectRatio");if(t){t({"aspect-w":u=>[{...$K,"--tw-aspect-w":u},{"> *":MK}],"aspect-h":u=>({"--tw-aspect-h":u})},{values:r}),e(BK);return}let c=Object.entries(r).map(([u,H])=>`.${o(`aspect-w-${u}`)}`).join(`,
|
|
`),s=Object.entries(r).map(([u,H])=>`.${o(`aspect-w-${u}`)} > *`).join(`,
|
|
`);e([{[c]:$K,[s]:MK},BK,Object.entries(r).map(([u,H])=>({[`.${o(`aspect-w-${u}`)}`]:{"--tw-aspect-w":H}})),Object.entries(r).map(([u,H])=>({[`.${o(`aspect-h-${u}`)}`]:{"--tw-aspect-h":H}}))],i("aspectRatio"))},{theme:{aspectRatio:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"}},variants:{aspectRatio:["responsive"]}});OK.exports=GTe});var FK=Le((h1t,XTe)=>{XTe.exports={name:"@tailwindcss/aspect-ratio",version:"0.4.2",main:"src/index.js",types:"src/index.d.ts",license:"MIT",repository:"https://github.com/tailwindlabs/tailwindcss-aspect-ratio",publishConfig:{access:"public"},prettier:{printWidth:100,semi:!1,singleQuote:!0,trailingComma:"es5"},scripts:{test:"jest"},peerDependencies:{tailwindcss:">=2.0.0 || >=3.0.0 || >=3.0.0-alpha.1"},devDependencies:{jest:"^27.2.4",postcss:"^8.2.4",tailwindcss:"^3.0.0","tailwindcss-v2":"npm:tailwindcss@^2.2.16"}}});var UK=Le((_1t,jK)=>{"use strict";var ZTe=zTe(lf());function zTe(e){return e&&e.__esModule?e:{default:e}}jK.exports=(0,ZTe.default)(function(t){var n=t.matchUtilities,i=t.matchVariant,o=t.theme,r=function(H){var a,l,p=(l=(a=H.match(/^(\d+\.\d+|\d+|\.\d+)\D+/))===null||a===void 0?void 0:a[1])!==null&&l!==void 0?l:null;return p===null?null:parseFloat(H)},c,s=(c=o("containers"))!==null&&c!==void 0?c:{};n({"@container":function(u,H){var a=H.modifier;return{"container-type":u,"container-name":a}}},{values:{DEFAULT:"inline-size",normal:"normal"},modifiers:"any"}),i("@",function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",H=(arguments.length>1?arguments[1]:void 0).modifier,a=r(u);return a!==null?"@container ".concat(H??""," (min-width: ").concat(u,")"):[]},{values:s,sort:function(H,a){var l=parseFloat(H.value),p=parseFloat(a.value);if(l===null||p===null)return 0;if(l-p!==0)return l-p;var d,h=(d=H.modifier)!==null&&d!==void 0?d:"",m,g=(m=a.modifier)!==null&&m!==void 0?m:"";return h===""&&g!==""?1:h!==""&&g===""?-1:h.localeCompare(g,"en",{numeric:!0})}})},{theme:{containers:{xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"}}})});var qK=Le((m1t,JTe)=>{JTe.exports={name:"@tailwindcss/container-queries",version:"0.1.0",main:"dist/index.js",types:"dist/index.d.ts",license:"MIT",repository:"https://github.com/tailwindlabs/tailwindcss-container-queries",publishConfig:{access:"public"},scripts:{test:"jest",swcify:"swc ./src/index.ts --out-dir ./dist",build:"npm run swcify",dev:"npm run swcify -- --watch",postbuild:"tsc --emitDeclarationOnly",prepublishOnly:"npm run build","release-channel":"node ./scripts/release-channel.js","release-notes":"node ./scripts/release-notes.js"},prettier:{printWidth:100,semi:!1,singleQuote:!0,trailingComma:"es5"},jest:{setupFilesAfterEnv:["<rootDir>/jest/custom-matchers.js"],transform:{"^.+\\.(t|j)sx?$":"@swc/jest"},moduleNameMapper:{"^~/(.*)":"<rootDir>/$1"}},files:["./dist/*"],peerDependencies:{tailwindcss:">=3.2.0"},devDependencies:{"@swc/cli":"^0.1.57","@swc/core":"^1.3.7","@swc/jest":"^0.2.23","@types/jest":"^29.1.2",jest:"^29.1.2",postcss:"^8.4.17",prettier:"^2.7.1",tailwindcss:"0.0.0-insiders.3011f46",typescript:"^4.8.4"}}});var VK=Le((E1t,WK)=>{WK.exports={aqua:/#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,azure:/#f0ffff(ff)?(?!\w)/gi,beige:/#f5f5dc(ff)?(?!\w)/gi,bisque:/#ffe4c4(ff)?(?!\w)/gi,black:/#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,blue:/#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,brown:/#a52a2a(ff)?(?!\w)/gi,coral:/#ff7f50(ff)?(?!\w)/gi,cornsilk:/#fff8dc(ff)?(?!\w)/gi,crimson:/#dc143c(ff)?(?!\w)/gi,cyan:/#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,darkblue:/#00008b(ff)?(?!\w)/gi,darkcyan:/#008b8b(ff)?(?!\w)/gi,darkgrey:/#a9a9a9(ff)?(?!\w)/gi,darkred:/#8b0000(ff)?(?!\w)/gi,deeppink:/#ff1493(ff)?(?!\w)/gi,dimgrey:/#696969(ff)?(?!\w)/gi,gold:/#ffd700(ff)?(?!\w)/gi,green:/#008000(ff)?(?!\w)/gi,grey:/#808080(ff)?(?!\w)/gi,honeydew:/#f0fff0(ff)?(?!\w)/gi,hotpink:/#ff69b4(ff)?(?!\w)/gi,indigo:/#4b0082(ff)?(?!\w)/gi,ivory:/#fffff0(ff)?(?!\w)/gi,khaki:/#f0e68c(ff)?(?!\w)/gi,lavender:/#e6e6fa(ff)?(?!\w)/gi,lime:/#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,linen:/#faf0e6(ff)?(?!\w)/gi,maroon:/#800000(ff)?(?!\w)/gi,moccasin:/#ffe4b5(ff)?(?!\w)/gi,navy:/#000080(ff)?(?!\w)/gi,oldlace:/#fdf5e6(ff)?(?!\w)/gi,olive:/#808000(ff)?(?!\w)/gi,orange:/#ffa500(ff)?(?!\w)/gi,orchid:/#da70d6(ff)?(?!\w)/gi,peru:/#cd853f(ff)?(?!\w)/gi,pink:/#ffc0cb(ff)?(?!\w)/gi,plum:/#dda0dd(ff)?(?!\w)/gi,purple:/#800080(ff)?(?!\w)/gi,red:/#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,salmon:/#fa8072(ff)?(?!\w)/gi,seagreen:/#2e8b57(ff)?(?!\w)/gi,seashell:/#fff5ee(ff)?(?!\w)/gi,sienna:/#a0522d(ff)?(?!\w)/gi,silver:/#c0c0c0(ff)?(?!\w)/gi,skyblue:/#87ceeb(ff)?(?!\w)/gi,snow:/#fffafa(ff)?(?!\w)/gi,tan:/#d2b48c(ff)?(?!\w)/gi,teal:/#008080(ff)?(?!\w)/gi,thistle:/#d8bfd8(ff)?(?!\w)/gi,tomato:/#ff6347(ff)?(?!\w)/gi,violet:/#ee82ee(ff)?(?!\w)/gi,wheat:/#f5deb3(ff)?(?!\w)/gi,white:/#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi}});var GK=Le((y1t,KK)=>{var vw=VK(),xw={whitespace:/\s+/g,urlHexPairs:/%[\dA-F]{2}/g,quotes:/"/g};function QTe(e){return e.trim().replace(xw.whitespace," ")}function YTe(e){return encodeURIComponent(e).replace(xw.urlHexPairs,tve)}function eve(e){return Object.keys(vw).forEach(function(t){vw[t].test(e)&&(e=e.replace(vw[t],t))}),e}function tve(e){switch(e){case"%20":return" ";case"%3D":return"=";case"%3A":return":";case"%2F":return"/";default:return e.toLowerCase()}}function Cw(e){if(typeof e!="string")throw new TypeError("Expected a string, but received "+typeof e);e.charCodeAt(0)===65279&&(e=e.slice(1));var t=eve(QTe(e)).replace(xw.quotes,"'");return"data:image/svg+xml,"+YTe(t)}Cw.toSrcset=function(t){return Cw(t).replace(/ /g,"%20")};KK.exports=Cw});var kA=Le(Pw=>{"use strict";Object.defineProperty(Pw,"__esModule",{value:!0});Object.defineProperty(Pw,"cloneDeep",{enumerable:!0,get:function(){return Dw}});function Dw(e){return Array.isArray(e)?e.map(t=>Dw(t)):typeof e=="object"&&e!==null?Object.fromEntries(Object.entries(e).map(([t,n])=>[t,Dw(n)])):e}});var NA=Le((b1t,XK)=>{XK.exports={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:e})=>({...e("colors"),auto:"auto"}),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>e("brightness"),backdropContrast:({theme:e})=>e("contrast"),backdropGrayscale:({theme:e})=>e("grayscale"),backdropHueRotate:({theme:e})=>e("hueRotate"),backdropInvert:({theme:e})=>e("invert"),backdropOpacity:({theme:e})=>e("opacity"),backdropSaturate:({theme:e})=>e("saturate"),backdropSepia:({theme:e})=>e("sepia"),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>({...e("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:e})=>e("colors"),colors:({colors:e})=>({inherit:e.inherit,current:e.current,transparent:e.transparent,black:e.black,white:e.white,slate:e.slate,gray:e.gray,zinc:e.zinc,neutral:e.neutral,stone:e.stone,red:e.red,orange:e.orange,amber:e.amber,yellow:e.yellow,lime:e.lime,green:e.green,emerald:e.emerald,teal:e.teal,cyan:e.cyan,sky:e.sky,blue:e.blue,indigo:e.indigo,violet:e.violet,purple:e.purple,fuchsia:e.fuchsia,pink:e.pink,rose:e.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>e("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>({none:"none",...e("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:e})=>({...e("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:e,breakpoints:t})=>({...e("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...t(e("screens"))}),minHeight:({theme:e})=>({...e("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:e})=>({...e("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:e})=>({...e("spacing")}),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:e})=>({...e("spacing")}),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:e})=>({...e("spacing")}),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]}});var ZK=Le(ww=>{"use strict";Object.defineProperty(ww,"__esModule",{value:!0});Object.defineProperty(ww,"default",{enumerable:!0,get:function(){return sve}});var rve=kA(),nve=ive(NA());function ive(e){return e&&e.__esModule?e:{default:e}}var sve=(0,rve.cloneDeep)(nve.default.theme)});var Nw=Le((I1t,zK)=>{var kw=ZK();zK.exports=(kw.__esModule?kw:{default:kw}).default});var ly=Le((S1t,Rw)=>{var $A=process||{},JK=$A.argv||[],RA=$A.env||{},ave=!(RA.NO_COLOR||JK.includes("--no-color"))&&(!!RA.FORCE_COLOR||JK.includes("--color")||$A.platform==="win32"||($A.stdout||{}).isTTY&&RA.TERM!=="dumb"||!!RA.CI),ove=(e,t,n=e)=>i=>{let o=""+i,r=o.indexOf(t,e.length);return~r?e+lve(o,t,n,r)+t:e+o+t},lve=(e,t,n,i)=>{let o="",r=0;do o+=e.substring(r,i)+n,r=i+t.length,i=e.indexOf(t,r);while(~i);return o+e.substring(r)},QK=(e=ave)=>{let t=e?ove:()=>String;return{isColorSupported:e,reset:t("\x1B[0m","\x1B[0m"),bold:t("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:t("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:t("\x1B[3m","\x1B[23m"),underline:t("\x1B[4m","\x1B[24m"),inverse:t("\x1B[7m","\x1B[27m"),hidden:t("\x1B[8m","\x1B[28m"),strikethrough:t("\x1B[9m","\x1B[29m"),black:t("\x1B[30m","\x1B[39m"),red:t("\x1B[31m","\x1B[39m"),green:t("\x1B[32m","\x1B[39m"),yellow:t("\x1B[33m","\x1B[39m"),blue:t("\x1B[34m","\x1B[39m"),magenta:t("\x1B[35m","\x1B[39m"),cyan:t("\x1B[36m","\x1B[39m"),white:t("\x1B[37m","\x1B[39m"),gray:t("\x1B[90m","\x1B[39m"),bgBlack:t("\x1B[40m","\x1B[49m"),bgRed:t("\x1B[41m","\x1B[49m"),bgGreen:t("\x1B[42m","\x1B[49m"),bgYellow:t("\x1B[43m","\x1B[49m"),bgBlue:t("\x1B[44m","\x1B[49m"),bgMagenta:t("\x1B[45m","\x1B[49m"),bgCyan:t("\x1B[46m","\x1B[49m"),bgWhite:t("\x1B[47m","\x1B[49m"),blackBright:t("\x1B[90m","\x1B[39m"),redBright:t("\x1B[91m","\x1B[39m"),greenBright:t("\x1B[92m","\x1B[39m"),yellowBright:t("\x1B[93m","\x1B[39m"),blueBright:t("\x1B[94m","\x1B[39m"),magentaBright:t("\x1B[95m","\x1B[39m"),cyanBright:t("\x1B[96m","\x1B[39m"),whiteBright:t("\x1B[97m","\x1B[39m"),bgBlackBright:t("\x1B[100m","\x1B[49m"),bgRedBright:t("\x1B[101m","\x1B[49m"),bgGreenBright:t("\x1B[102m","\x1B[49m"),bgYellowBright:t("\x1B[103m","\x1B[49m"),bgBlueBright:t("\x1B[104m","\x1B[49m"),bgMagentaBright:t("\x1B[105m","\x1B[49m"),bgCyanBright:t("\x1B[106m","\x1B[49m"),bgWhiteBright:t("\x1B[107m","\x1B[49m")}};Rw.exports=QK();Rw.exports.createColors=QK});var ac=Le(Mw=>{"use strict";Object.defineProperty(Mw,"__esModule",{value:!0});function cve(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}cve(Mw,{dim:function(){return Hve},default:function(){return pve}});var cf=uve(ly());function uve(e){return e&&e.__esModule?e:{default:e}}var YK=new Set;function $w(e,t,n){typeof process<"u"&&process.env.JEST_WORKER_ID||n&&YK.has(n)||(n&&YK.add(n),console.warn(""),t.forEach(i=>console.warn(e,"-",i)))}function Hve(e){return cf.default.dim(e)}var pve={info(e,t){$w(cf.default.bold(cf.default.cyan("info")),...Array.isArray(e)?[e]:[t,e])},warn(e,t){$w(cf.default.bold(cf.default.yellow("warn")),...Array.isArray(e)?[e]:[t,e])},risk(e,t){$w(cf.default.bold(cf.default.magenta("risk")),...Array.isArray(e)?[e]:[t,e])}}});var Ow=Le(Bw=>{"use strict";Object.defineProperty(Bw,"__esModule",{value:!0});Object.defineProperty(Bw,"default",{enumerable:!0,get:function(){return hve}});var dve=fve(ac());function fve(e){return e&&e.__esModule?e:{default:e}}function cy({version:e,from:t,to:n}){dve.default.warn(`${t}-color-renamed`,[`As of Tailwind CSS ${e}, \`${t}\` has been renamed to \`${n}\`.`,"Update your configuration file to silence this warning."])}var hve={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return cy({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return cy({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return cy({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return cy({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return cy({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}});var MA=Le((v1t,eG)=>{var Fw=Ow();eG.exports=(Fw.__esModule?Fw:{default:Fw}).default});var jw=Le((C1t,iG)=>{var BA=GK(),_ve=lf(),nG=Nw(),wp=MA(),[mve,{lineHeight:Eve}]=nG.fontSize.base,{spacing:IH,borderWidth:tG,borderRadius:rG}=nG,yve=_ve.withOptions(function(e={strategy:void 0}){return function({addBase:t,addComponents:n,theme:i}){let o=e.strategy===void 0?["base","class"]:[e.strategy],r=[{base:["[type='text']","[type='email']","[type='url']","[type='password']","[type='number']","[type='date']","[type='datetime-local']","[type='month']","[type='search']","[type='tel']","[type='time']","[type='week']","[multiple]","textarea","select"],class:[".form-input",".form-textarea",".form-select",".form-multiselect"],styles:{appearance:"none","background-color":"#fff","border-color":i("colors.gray.500",wp.gray[500]),"border-width":tG.DEFAULT,"border-radius":rG.none,"padding-top":IH[2],"padding-right":IH[3],"padding-bottom":IH[2],"padding-left":IH[3],"font-size":mve,"line-height":Eve,"--tw-shadow":"0 0 #0000","&:focus":{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"0px","--tw-ring-offset-color":"#fff","--tw-ring-color":i("colors.blue.600",wp.blue[600]),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)","border-color":i("colors.blue.600",wp.blue[600])}}},{base:["input::placeholder","textarea::placeholder"],class:[".form-input::placeholder",".form-textarea::placeholder"],styles:{color:i("colors.gray.500",wp.gray[500]),opacity:"1"}},{base:["::-webkit-datetime-edit-fields-wrapper"],class:[".form-input::-webkit-datetime-edit-fields-wrapper"],styles:{padding:"0"}},{base:["::-webkit-date-and-time-value"],class:[".form-input::-webkit-date-and-time-value"],styles:{"min-height":"1.5em"}},{base:["::-webkit-datetime-edit","::-webkit-datetime-edit-year-field","::-webkit-datetime-edit-month-field","::-webkit-datetime-edit-day-field","::-webkit-datetime-edit-hour-field","::-webkit-datetime-edit-minute-field","::-webkit-datetime-edit-second-field","::-webkit-datetime-edit-millisecond-field","::-webkit-datetime-edit-meridiem-field"],class:[".form-input::-webkit-datetime-edit",".form-input::-webkit-datetime-edit-year-field",".form-input::-webkit-datetime-edit-month-field",".form-input::-webkit-datetime-edit-day-field",".form-input::-webkit-datetime-edit-hour-field",".form-input::-webkit-datetime-edit-minute-field",".form-input::-webkit-datetime-edit-second-field",".form-input::-webkit-datetime-edit-millisecond-field",".form-input::-webkit-datetime-edit-meridiem-field"],styles:{"padding-top":0,"padding-bottom":0}},{base:["select"],class:[".form-select"],styles:{"background-image":`url("${BA(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20"><path stroke="${i("colors.gray.500",wp.gray[500])}" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6 8l4 4 4-4"/></svg>`)}")`,"background-position":`right ${IH[2]} center`,"background-repeat":"no-repeat","background-size":"1.5em 1.5em","padding-right":IH[10],"print-color-adjust":"exact"}},{base:["[multiple]"],class:null,styles:{"background-image":"initial","background-position":"initial","background-repeat":"unset","background-size":"initial","padding-right":IH[3],"print-color-adjust":"unset"}},{base:["[type='checkbox']","[type='radio']"],class:[".form-checkbox",".form-radio"],styles:{appearance:"none",padding:"0","print-color-adjust":"exact",display:"inline-block","vertical-align":"middle","background-origin":"border-box","user-select":"none","flex-shrink":"0",height:IH[4],width:IH[4],color:i("colors.blue.600",wp.blue[600]),"background-color":"#fff","border-color":i("colors.gray.500",wp.gray[500]),"border-width":tG.DEFAULT,"--tw-shadow":"0 0 #0000"}},{base:["[type='checkbox']"],class:[".form-checkbox"],styles:{"border-radius":rG.none}},{base:["[type='radio']"],class:[".form-radio"],styles:{"border-radius":"100%"}},{base:["[type='checkbox']:focus","[type='radio']:focus"],class:[".form-checkbox:focus",".form-radio:focus"],styles:{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"2px","--tw-ring-offset-color":"#fff","--tw-ring-color":i("colors.blue.600",wp.blue[600]),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)"}},{base:["[type='checkbox']:checked","[type='radio']:checked"],class:[".form-checkbox:checked",".form-radio:checked"],styles:{"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat"}},{base:["[type='checkbox']:checked"],class:[".form-checkbox:checked"],styles:{"background-image":`url("${BA('<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><path d="M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z"/></svg>')}")`}},{base:["[type='radio']:checked"],class:[".form-radio:checked"],styles:{"background-image":`url("${BA('<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="3"/></svg>')}")`}},{base:["[type='checkbox']:checked:hover","[type='checkbox']:checked:focus","[type='radio']:checked:hover","[type='radio']:checked:focus"],class:[".form-checkbox:checked:hover",".form-checkbox:checked:focus",".form-radio:checked:hover",".form-radio:checked:focus"],styles:{"border-color":"transparent","background-color":"currentColor"}},{base:["[type='checkbox']:indeterminate"],class:[".form-checkbox:indeterminate"],styles:{"background-image":`url("${BA('<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 8h8"/></svg>')}")`,"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat"}},{base:["[type='checkbox']:indeterminate:hover","[type='checkbox']:indeterminate:focus"],class:[".form-checkbox:indeterminate:hover",".form-checkbox:indeterminate:focus"],styles:{"border-color":"transparent","background-color":"currentColor"}},{base:["[type='file']"],class:null,styles:{background:"unset","border-color":"inherit","border-width":"0","border-radius":"0",padding:"0","font-size":"unset","line-height":"inherit"}},{base:["[type='file']:focus"],class:null,styles:{outline:["1px solid ButtonText","1px auto -webkit-focus-ring-color"]}}],c=s=>r.map(u=>u[s]===null?null:{[u[s]]:u.styles}).filter(Boolean);o.includes("base")&&t(c("base")),o.includes("class")&&n(c("class"))}});iG.exports=yve});var sG=Le((x1t,gve)=>{gve.exports={name:"@tailwindcss/forms",version:"0.5.3",main:"src/index.js",types:"src/index.d.ts",license:"MIT",repository:"https://github.com/tailwindlabs/tailwindcss-forms",publishConfig:{access:"public"},prettier:{printWidth:100,semi:!1,singleQuote:!0,trailingComma:"es5"},scripts:{dev:'concurrently "npm run serve" "npm run watch"',serve:"live-server .",watch:"npm run build -- -w",build:"tailwindcss -o dist/tailwind.css"},peerDependencies:{tailwindcss:">=3.0.0 || >= 3.0.0-alpha.1"},devDependencies:{autoprefixer:"^10.4.6",concurrently:"^5.3.0","live-server":"^1.2.2",postcss:"^8.4.13",tailwindcss:"^3.0.24"},dependencies:{"mini-svg-data-uri":"^1.2.3"}}});var Uw=Le((D1t,aG)=>{var bve=lf(),Ave={overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical"},Ive=bve(function({matchUtilities:e,addUtilities:t,theme:n,variants:i,e:o}){let r=n("lineClamp");e({"line-clamp":c=>({...Ave,"-webkit-line-clamp":`${c}`})},{values:r}),t([{".line-clamp-none":{"-webkit-line-clamp":"unset"}}],i("lineClamp"))},{theme:{lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"}},variants:{lineClamp:["responsive"]}});aG.exports=Ive});var oG=Le((P1t,Sve)=>{Sve.exports={name:"@tailwindcss/line-clamp",version:"0.4.2",main:"src/index.js",types:"src/index.d.ts",license:"MIT",repository:"https://github.com/tailwindlabs/tailwindcss-line-clamp",publishConfig:{access:"public"},prettier:{printWidth:100,semi:!1,singleQuote:!0,trailingComma:"es5"},scripts:{test:"jest"},devDependencies:{jest:"^27.4.4",postcss:"^8.2.2",prettier:"^2.5.1",tailwindcss:"^3.0.23"},peerDependencies:{tailwindcss:">=2.0.0 || >=3.0.0 || >=3.0.0-alpha.1"},jest:{setupFilesAfterEnv:["<rootDir>/jest/customMatchers.js"]}}});var $G=Le((uy,Qh)=>{var Lve=200,mG="__lodash_hash_undefined__",Tve=800,vve=16,EG=9007199254740991,yG="[object Arguments]",Cve="[object Array]",xve="[object AsyncFunction]",Dve="[object Boolean]",Pve="[object Date]",wve="[object Error]",gG="[object Function]",kve="[object GeneratorFunction]",Nve="[object Map]",Rve="[object Number]",$ve="[object Null]",bG="[object Object]",Mve="[object Proxy]",Bve="[object RegExp]",Ove="[object Set]",Fve="[object String]",jve="[object Undefined]",Uve="[object WeakMap]",qve="[object ArrayBuffer]",Wve="[object DataView]",Vve="[object Float32Array]",Kve="[object Float64Array]",Gve="[object Int8Array]",Xve="[object Int16Array]",Zve="[object Int32Array]",zve="[object Uint8Array]",Jve="[object Uint8ClampedArray]",Qve="[object Uint16Array]",Yve="[object Uint32Array]",eCe=/[\\^$.*+?()[\]{}|]/g,tCe=/^\[object .+?Constructor\]$/,rCe=/^(?:0|[1-9]\d*)$/,Js={};Js[Vve]=Js[Kve]=Js[Gve]=Js[Xve]=Js[Zve]=Js[zve]=Js[Jve]=Js[Qve]=Js[Yve]=!0;Js[yG]=Js[Cve]=Js[qve]=Js[Dve]=Js[Wve]=Js[Pve]=Js[wve]=Js[gG]=Js[Nve]=Js[Rve]=Js[bG]=Js[Bve]=Js[Ove]=Js[Fve]=Js[Uve]=!1;var AG=typeof global=="object"&&global&&global.Object===Object&&global,nCe=typeof self=="object"&&self&&self.Object===Object&&self,dy=AG||nCe||Function("return this")(),IG=typeof uy=="object"&&uy&&!uy.nodeType&&uy,Hy=IG&&typeof Qh=="object"&&Qh&&!Qh.nodeType&&Qh,SG=Hy&&Hy.exports===IG,qw=SG&&AG.process,lG=function(){try{var e=Hy&&Hy.require&&Hy.require("util").types;return e||qw&&qw.binding&&qw.binding("util")}catch{}}(),cG=lG&&lG.isTypedArray;function iCe(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function sCe(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function aCe(e){return function(t){return e(t)}}function oCe(e,t){return e?.[t]}function lCe(e,t){return function(n){return e(t(n))}}var cCe=Array.prototype,uCe=Function.prototype,jA=Object.prototype,Ww=dy["__core-js_shared__"],UA=uCe.toString,SH=jA.hasOwnProperty,uG=function(){var e=/[^.]+$/.exec(Ww&&Ww.keys&&Ww.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),LG=jA.toString,HCe=UA.call(Object),pCe=RegExp("^"+UA.call(SH).replace(eCe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),OA=SG?dy.Buffer:void 0,HG=dy.Symbol,pG=dy.Uint8Array,dG=OA?OA.allocUnsafe:void 0,TG=lCe(Object.getPrototypeOf,Object),fG=Object.create,dCe=jA.propertyIsEnumerable,fCe=cCe.splice,uf=HG?HG.toStringTag:void 0,FA=function(){try{var e=zw(Object,"defineProperty");return e({},"",{}),e}catch{}}(),hCe=OA?OA.isBuffer:void 0,hG=Math.max,_Ce=Date.now,vG=zw(dy,"Map"),py=zw(Object,"create"),mCe=function(){function e(){}return function(t){if(!pf(t))return{};if(fG)return fG(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Hf(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function ECe(){this.__data__=py?py(null):{},this.size=0}function yCe(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function gCe(e){var t=this.__data__;if(py){var n=t[e];return n===mG?void 0:n}return SH.call(t,e)?t[e]:void 0}function bCe(e){var t=this.__data__;return py?t[e]!==void 0:SH.call(t,e)}function ACe(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=py&&t===void 0?mG:t,this}Hf.prototype.clear=ECe;Hf.prototype.delete=yCe;Hf.prototype.get=gCe;Hf.prototype.has=bCe;Hf.prototype.set=ACe;function LH(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function ICe(){this.__data__=[],this.size=0}function SCe(e){var t=this.__data__,n=qA(t,e);if(n<0)return!1;var i=t.length-1;return n==i?t.pop():fCe.call(t,n,1),--this.size,!0}function LCe(e){var t=this.__data__,n=qA(t,e);return n<0?void 0:t[n][1]}function TCe(e){return qA(this.__data__,e)>-1}function vCe(e,t){var n=this.__data__,i=qA(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}LH.prototype.clear=ICe;LH.prototype.delete=SCe;LH.prototype.get=LCe;LH.prototype.has=TCe;LH.prototype.set=vCe;function Yh(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function CCe(){this.size=0,this.__data__={hash:new Hf,map:new(vG||LH),string:new Hf}}function xCe(e){var t=VA(this,e).delete(e);return this.size-=t?1:0,t}function DCe(e){return VA(this,e).get(e)}function PCe(e){return VA(this,e).has(e)}function wCe(e,t){var n=VA(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}Yh.prototype.clear=CCe;Yh.prototype.delete=xCe;Yh.prototype.get=DCe;Yh.prototype.has=PCe;Yh.prototype.set=wCe;function e_(e){var t=this.__data__=new LH(e);this.size=t.size}function kCe(){this.__data__=new LH,this.size=0}function NCe(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function RCe(e){return this.__data__.get(e)}function $Ce(e){return this.__data__.has(e)}function MCe(e,t){var n=this.__data__;if(n instanceof LH){var i=n.__data__;if(!vG||i.length<Lve-1)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new Yh(i)}return n.set(e,t),this.size=n.size,this}e_.prototype.clear=kCe;e_.prototype.delete=NCe;e_.prototype.get=RCe;e_.prototype.has=$Ce;e_.prototype.set=MCe;function BCe(e,t){var n=Xw(e),i=!n&&Gw(e),o=!n&&!i&&PG(e),r=!n&&!i&&!o&&kG(e),c=n||i||o||r,s=c?sCe(e.length,String):[],u=s.length;for(var H in e)(t||SH.call(e,H))&&!(c&&(H=="length"||o&&(H=="offset"||H=="parent")||r&&(H=="buffer"||H=="byteLength"||H=="byteOffset")||xG(H,u)))&&s.push(H);return s}function Vw(e,t,n){(n!==void 0&&!KA(e[t],n)||n===void 0&&!(t in e))&&Zw(e,t,n)}function OCe(e,t,n){var i=e[t];(!(SH.call(e,t)&&KA(i,n))||n===void 0&&!(t in e))&&Zw(e,t,n)}function qA(e,t){for(var n=e.length;n--;)if(KA(e[n][0],t))return n;return-1}function Zw(e,t,n){t=="__proto__"&&FA?FA(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var FCe=YCe();function WA(e){return e==null?e===void 0?jve:$ve:uf&&uf in Object(e)?exe(e):axe(e)}function _G(e){return fy(e)&&WA(e)==yG}function jCe(e){if(!pf(e)||ixe(e))return!1;var t=Qw(e)?pCe:tCe;return t.test(uxe(e))}function UCe(e){return fy(e)&&wG(e.length)&&!!Js[WA(e)]}function qCe(e){if(!pf(e))return sxe(e);var t=DG(e),n=[];for(var i in e)i=="constructor"&&(t||!SH.call(e,i))||n.push(i);return n}function CG(e,t,n,i,o){e!==t&&FCe(t,function(r,c){if(o||(o=new e_),pf(r))WCe(e,t,c,n,CG,i,o);else{var s=i?i(Kw(e,c),r,c+"",e,t,o):void 0;s===void 0&&(s=r),Vw(e,c,s)}},NG)}function WCe(e,t,n,i,o,r,c){var s=Kw(e,n),u=Kw(t,n),H=c.get(u);if(H){Vw(e,n,H);return}var a=r?r(s,u,n+"",e,t,c):void 0,l=a===void 0;if(l){var p=Xw(u),d=!p&&PG(u),h=!p&&!d&&kG(u);a=u,p||d||h?Xw(s)?a=s:Hxe(s)?a=zCe(s):d?(l=!1,a=GCe(u,!0)):h?(l=!1,a=ZCe(u,!0)):a=[]:pxe(u)||Gw(u)?(a=s,Gw(s)?a=dxe(s):(!pf(s)||Qw(s))&&(a=txe(u))):l=!1}l&&(c.set(u,a),o(a,u,i,r,c),c.delete(u)),Vw(e,n,a)}function VCe(e,t){return lxe(oxe(e,t,RG),e+"")}var KCe=FA?function(e,t){return FA(e,"toString",{configurable:!0,enumerable:!1,value:hxe(t),writable:!0})}:RG;function GCe(e,t){if(t)return e.slice();var n=e.length,i=dG?dG(n):new e.constructor(n);return e.copy(i),i}function XCe(e){var t=new e.constructor(e.byteLength);return new pG(t).set(new pG(e)),t}function ZCe(e,t){var n=t?XCe(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function zCe(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t}function JCe(e,t,n,i){var o=!n;n||(n={});for(var r=-1,c=t.length;++r<c;){var s=t[r],u=i?i(n[s],e[s],s,n,e):void 0;u===void 0&&(u=e[s]),o?Zw(n,s,u):OCe(n,s,u)}return n}function QCe(e){return VCe(function(t,n){var i=-1,o=n.length,r=o>1?n[o-1]:void 0,c=o>2?n[2]:void 0;for(r=e.length>3&&typeof r=="function"?(o--,r):void 0,c&&rxe(n[0],n[1],c)&&(r=o<3?void 0:r,o=1),t=Object(t);++i<o;){var s=n[i];s&&e(t,s,i,r)}return t})}function YCe(e){return function(t,n,i){for(var o=-1,r=Object(t),c=i(t),s=c.length;s--;){var u=c[e?s:++o];if(n(r[u],u,r)===!1)break}return t}}function VA(e,t){var n=e.__data__;return nxe(t)?n[typeof t=="string"?"string":"hash"]:n.map}function zw(e,t){var n=oCe(e,t);return jCe(n)?n:void 0}function exe(e){var t=SH.call(e,uf),n=e[uf];try{e[uf]=void 0;var i=!0}catch{}var o=LG.call(e);return i&&(t?e[uf]=n:delete e[uf]),o}function txe(e){return typeof e.constructor=="function"&&!DG(e)?mCe(TG(e)):{}}function xG(e,t){var n=typeof e;return t=t??EG,!!t&&(n=="number"||n!="symbol"&&rCe.test(e))&&e>-1&&e%1==0&&e<t}function rxe(e,t,n){if(!pf(n))return!1;var i=typeof t;return(i=="number"?Jw(n)&&xG(t,n.length):i=="string"&&t in n)?KA(n[t],e):!1}function nxe(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function ixe(e){return!!uG&&uG in e}function DG(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||jA;return e===n}function sxe(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}function axe(e){return LG.call(e)}function oxe(e,t,n){return t=hG(t===void 0?e.length-1:t,0),function(){for(var i=arguments,o=-1,r=hG(i.length-t,0),c=Array(r);++o<r;)c[o]=i[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=i[o];return s[t]=n(c),iCe(e,this,s)}}function Kw(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var lxe=cxe(KCe);function cxe(e){var t=0,n=0;return function(){var i=_Ce(),o=vve-(i-n);if(n=i,o>0){if(++t>=Tve)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function uxe(e){if(e!=null){try{return UA.call(e)}catch{}try{return e+""}catch{}}return""}function KA(e,t){return e===t||e!==e&&t!==t}var Gw=_G(function(){return arguments}())?_G:function(e){return fy(e)&&SH.call(e,"callee")&&!dCe.call(e,"callee")},Xw=Array.isArray;function Jw(e){return e!=null&&wG(e.length)&&!Qw(e)}function Hxe(e){return fy(e)&&Jw(e)}var PG=hCe||_xe;function Qw(e){if(!pf(e))return!1;var t=WA(e);return t==gG||t==kve||t==xve||t==Mve}function wG(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=EG}function pf(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function fy(e){return e!=null&&typeof e=="object"}function pxe(e){if(!fy(e)||WA(e)!=bG)return!1;var t=TG(e);if(t===null)return!0;var n=SH.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&UA.call(n)==HCe}var kG=cG?aCe(cG):UCe;function dxe(e){return JCe(e,NG(e))}function NG(e){return Jw(e)?BCe(e,!0):qCe(e)}var fxe=QCe(function(e,t,n){CG(e,t,n)});function hxe(e){return function(){return e}}function RG(e){return e}function _xe(){return!1}Qh.exports=fxe});var BG=Le((w1t,MG)=>{function mxe(){if(!arguments.length)return[];var e=arguments[0];return Exe(e)?e:[e]}var Exe=Array.isArray;MG.exports=mxe});var FG=Le((k1t,OG)=>{var $t=MA(),Fn=e=>e.toFixed(7).replace(/(\.[0-9]+?)0+$/,"$1").replace(/\.0$/,""),wu=e=>`${Fn(e/16)}rem`,ct=(e,t)=>`${Fn(e/t)}em`,Yw={sm:{css:[{fontSize:wu(14),lineHeight:Fn(24/14),p:{marginTop:ct(16,14),marginBottom:ct(16,14)},'[class~="lead"]':{fontSize:ct(18,14),lineHeight:Fn(28/18),marginTop:ct(16,18),marginBottom:ct(16,18)},blockquote:{marginTop:ct(24,18),marginBottom:ct(24,18),paddingLeft:ct(20,18)},h1:{fontSize:ct(30,14),marginTop:"0",marginBottom:ct(24,30),lineHeight:Fn(36/30)},h2:{fontSize:ct(20,14),marginTop:ct(32,20),marginBottom:ct(16,20),lineHeight:Fn(28/20)},h3:{fontSize:ct(18,14),marginTop:ct(28,18),marginBottom:ct(8,18),lineHeight:Fn(28/18)},h4:{marginTop:ct(20,14),marginBottom:ct(8,14),lineHeight:Fn(20/14)},img:{marginTop:ct(24,14),marginBottom:ct(24,14)},video:{marginTop:ct(24,14),marginBottom:ct(24,14)},figure:{marginTop:ct(24,14),marginBottom:ct(24,14)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:ct(12,14),lineHeight:Fn(16/12),marginTop:ct(8,12)},code:{fontSize:ct(12,14)},"h2 code":{fontSize:ct(18,20)},"h3 code":{fontSize:ct(16,18)},pre:{fontSize:ct(12,14),lineHeight:Fn(20/12),marginTop:ct(20,12),marginBottom:ct(20,12),borderRadius:wu(4),paddingTop:ct(8,12),paddingRight:ct(12,12),paddingBottom:ct(8,12),paddingLeft:ct(12,12)},ol:{marginTop:ct(16,14),marginBottom:ct(16,14),paddingLeft:ct(22,14)},ul:{marginTop:ct(16,14),marginBottom:ct(16,14),paddingLeft:ct(22,14)},li:{marginTop:ct(4,14),marginBottom:ct(4,14)},"ol > li":{paddingLeft:ct(6,14)},"ul > li":{paddingLeft:ct(6,14)},"> ul > li p":{marginTop:ct(8,14),marginBottom:ct(8,14)},"> ul > li > *:first-child":{marginTop:ct(16,14)},"> ul > li > *:last-child":{marginBottom:ct(16,14)},"> ol > li > *:first-child":{marginTop:ct(16,14)},"> ol > li > *:last-child":{marginBottom:ct(16,14)},"ul ul, ul ol, ol ul, ol ol":{marginTop:ct(8,14),marginBottom:ct(8,14)},hr:{marginTop:ct(40,14),marginBottom:ct(40,14)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:ct(12,14),lineHeight:Fn(18/12)},"thead th":{paddingRight:ct(12,12),paddingBottom:ct(8,12),paddingLeft:ct(12,12)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td, tfoot td":{paddingTop:ct(8,12),paddingRight:ct(12,12),paddingBottom:ct(8,12),paddingLeft:ct(12,12)},"tbody td:first-child, tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child, tfoot td:last-child":{paddingRight:"0"}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},base:{css:[{fontSize:wu(16),lineHeight:Fn(28/16),p:{marginTop:ct(20,16),marginBottom:ct(20,16)},'[class~="lead"]':{fontSize:ct(20,16),lineHeight:Fn(32/20),marginTop:ct(24,20),marginBottom:ct(24,20)},blockquote:{marginTop:ct(32,20),marginBottom:ct(32,20),paddingLeft:ct(20,20)},h1:{fontSize:ct(36,16),marginTop:"0",marginBottom:ct(32,36),lineHeight:Fn(40/36)},h2:{fontSize:ct(24,16),marginTop:ct(48,24),marginBottom:ct(24,24),lineHeight:Fn(32/24)},h3:{fontSize:ct(20,16),marginTop:ct(32,20),marginBottom:ct(12,20),lineHeight:Fn(32/20)},h4:{marginTop:ct(24,16),marginBottom:ct(8,16),lineHeight:Fn(24/16)},img:{marginTop:ct(32,16),marginBottom:ct(32,16)},video:{marginTop:ct(32,16),marginBottom:ct(32,16)},figure:{marginTop:ct(32,16),marginBottom:ct(32,16)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:ct(14,16),lineHeight:Fn(20/14),marginTop:ct(12,14)},code:{fontSize:ct(14,16)},"h2 code":{fontSize:ct(21,24)},"h3 code":{fontSize:ct(18,20)},pre:{fontSize:ct(14,16),lineHeight:Fn(24/14),marginTop:ct(24,14),marginBottom:ct(24,14),borderRadius:wu(6),paddingTop:ct(12,14),paddingRight:ct(16,14),paddingBottom:ct(12,14),paddingLeft:ct(16,14)},ol:{marginTop:ct(20,16),marginBottom:ct(20,16),paddingLeft:ct(26,16)},ul:{marginTop:ct(20,16),marginBottom:ct(20,16),paddingLeft:ct(26,16)},li:{marginTop:ct(8,16),marginBottom:ct(8,16)},"ol > li":{paddingLeft:ct(6,16)},"ul > li":{paddingLeft:ct(6,16)},"> ul > li p":{marginTop:ct(12,16),marginBottom:ct(12,16)},"> ul > li > *:first-child":{marginTop:ct(20,16)},"> ul > li > *:last-child":{marginBottom:ct(20,16)},"> ol > li > *:first-child":{marginTop:ct(20,16)},"> ol > li > *:last-child":{marginBottom:ct(20,16)},"ul ul, ul ol, ol ul, ol ol":{marginTop:ct(12,16),marginBottom:ct(12,16)},hr:{marginTop:ct(48,16),marginBottom:ct(48,16)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:ct(14,16),lineHeight:Fn(24/14)},"thead th":{paddingRight:ct(8,14),paddingBottom:ct(8,14),paddingLeft:ct(8,14)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td, tfoot td":{paddingTop:ct(8,14),paddingRight:ct(8,14),paddingBottom:ct(8,14),paddingLeft:ct(8,14)},"tbody td:first-child, tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child, tfoot td:last-child":{paddingRight:"0"}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},lg:{css:[{fontSize:wu(18),lineHeight:Fn(32/18),p:{marginTop:ct(24,18),marginBottom:ct(24,18)},'[class~="lead"]':{fontSize:ct(22,18),lineHeight:Fn(32/22),marginTop:ct(24,22),marginBottom:ct(24,22)},blockquote:{marginTop:ct(40,24),marginBottom:ct(40,24),paddingLeft:ct(24,24)},h1:{fontSize:ct(48,18),marginTop:"0",marginBottom:ct(40,48),lineHeight:Fn(48/48)},h2:{fontSize:ct(30,18),marginTop:ct(56,30),marginBottom:ct(32,30),lineHeight:Fn(40/30)},h3:{fontSize:ct(24,18),marginTop:ct(40,24),marginBottom:ct(16,24),lineHeight:Fn(36/24)},h4:{marginTop:ct(32,18),marginBottom:ct(8,18),lineHeight:Fn(28/18)},img:{marginTop:ct(32,18),marginBottom:ct(32,18)},video:{marginTop:ct(32,18),marginBottom:ct(32,18)},figure:{marginTop:ct(32,18),marginBottom:ct(32,18)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:ct(16,18),lineHeight:Fn(24/16),marginTop:ct(16,16)},code:{fontSize:ct(16,18)},"h2 code":{fontSize:ct(26,30)},"h3 code":{fontSize:ct(21,24)},pre:{fontSize:ct(16,18),lineHeight:Fn(28/16),marginTop:ct(32,16),marginBottom:ct(32,16),borderRadius:wu(6),paddingTop:ct(16,16),paddingRight:ct(24,16),paddingBottom:ct(16,16),paddingLeft:ct(24,16)},ol:{marginTop:ct(24,18),marginBottom:ct(24,18),paddingLeft:ct(28,18)},ul:{marginTop:ct(24,18),marginBottom:ct(24,18),paddingLeft:ct(28,18)},li:{marginTop:ct(12,18),marginBottom:ct(12,18)},"ol > li":{paddingLeft:ct(8,18)},"ul > li":{paddingLeft:ct(8,18)},"> ul > li p":{marginTop:ct(16,18),marginBottom:ct(16,18)},"> ul > li > *:first-child":{marginTop:ct(24,18)},"> ul > li > *:last-child":{marginBottom:ct(24,18)},"> ol > li > *:first-child":{marginTop:ct(24,18)},"> ol > li > *:last-child":{marginBottom:ct(24,18)},"ul ul, ul ol, ol ul, ol ol":{marginTop:ct(16,18),marginBottom:ct(16,18)},hr:{marginTop:ct(56,18),marginBottom:ct(56,18)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:ct(16,18),lineHeight:Fn(24/16)},"thead th":{paddingRight:ct(12,16),paddingBottom:ct(12,16),paddingLeft:ct(12,16)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td, tfoot td":{paddingTop:ct(12,16),paddingRight:ct(12,16),paddingBottom:ct(12,16),paddingLeft:ct(12,16)},"tbody td:first-child, tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child, tfoot td:last-child":{paddingRight:"0"}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},xl:{css:[{fontSize:wu(20),lineHeight:Fn(36/20),p:{marginTop:ct(24,20),marginBottom:ct(24,20)},'[class~="lead"]':{fontSize:ct(24,20),lineHeight:Fn(36/24),marginTop:ct(24,24),marginBottom:ct(24,24)},blockquote:{marginTop:ct(48,30),marginBottom:ct(48,30),paddingLeft:ct(32,30)},h1:{fontSize:ct(56,20),marginTop:"0",marginBottom:ct(48,56),lineHeight:Fn(56/56)},h2:{fontSize:ct(36,20),marginTop:ct(56,36),marginBottom:ct(32,36),lineHeight:Fn(40/36)},h3:{fontSize:ct(30,20),marginTop:ct(48,30),marginBottom:ct(20,30),lineHeight:Fn(40/30)},h4:{marginTop:ct(36,20),marginBottom:ct(12,20),lineHeight:Fn(32/20)},img:{marginTop:ct(40,20),marginBottom:ct(40,20)},video:{marginTop:ct(40,20),marginBottom:ct(40,20)},figure:{marginTop:ct(40,20),marginBottom:ct(40,20)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:ct(18,20),lineHeight:Fn(28/18),marginTop:ct(18,18)},code:{fontSize:ct(18,20)},"h2 code":{fontSize:ct(31,36)},"h3 code":{fontSize:ct(27,30)},pre:{fontSize:ct(18,20),lineHeight:Fn(32/18),marginTop:ct(36,18),marginBottom:ct(36,18),borderRadius:wu(8),paddingTop:ct(20,18),paddingRight:ct(24,18),paddingBottom:ct(20,18),paddingLeft:ct(24,18)},ol:{marginTop:ct(24,20),marginBottom:ct(24,20),paddingLeft:ct(32,20)},ul:{marginTop:ct(24,20),marginBottom:ct(24,20),paddingLeft:ct(32,20)},li:{marginTop:ct(12,20),marginBottom:ct(12,20)},"ol > li":{paddingLeft:ct(8,20)},"ul > li":{paddingLeft:ct(8,20)},"> ul > li p":{marginTop:ct(16,20),marginBottom:ct(16,20)},"> ul > li > *:first-child":{marginTop:ct(24,20)},"> ul > li > *:last-child":{marginBottom:ct(24,20)},"> ol > li > *:first-child":{marginTop:ct(24,20)},"> ol > li > *:last-child":{marginBottom:ct(24,20)},"ul ul, ul ol, ol ul, ol ol":{marginTop:ct(16,20),marginBottom:ct(16,20)},hr:{marginTop:ct(56,20),marginBottom:ct(56,20)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:ct(18,20),lineHeight:Fn(28/18)},"thead th":{paddingRight:ct(12,18),paddingBottom:ct(16,18),paddingLeft:ct(12,18)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td, tfoot td":{paddingTop:ct(16,18),paddingRight:ct(12,18),paddingBottom:ct(16,18),paddingLeft:ct(12,18)},"tbody td:first-child, tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child, tfoot td:last-child":{paddingRight:"0"}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},"2xl":{css:[{fontSize:wu(24),lineHeight:Fn(40/24),p:{marginTop:ct(32,24),marginBottom:ct(32,24)},'[class~="lead"]':{fontSize:ct(30,24),lineHeight:Fn(44/30),marginTop:ct(32,30),marginBottom:ct(32,30)},blockquote:{marginTop:ct(64,36),marginBottom:ct(64,36),paddingLeft:ct(40,36)},h1:{fontSize:ct(64,24),marginTop:"0",marginBottom:ct(56,64),lineHeight:Fn(64/64)},h2:{fontSize:ct(48,24),marginTop:ct(72,48),marginBottom:ct(40,48),lineHeight:Fn(52/48)},h3:{fontSize:ct(36,24),marginTop:ct(56,36),marginBottom:ct(24,36),lineHeight:Fn(44/36)},h4:{marginTop:ct(40,24),marginBottom:ct(16,24),lineHeight:Fn(36/24)},img:{marginTop:ct(48,24),marginBottom:ct(48,24)},video:{marginTop:ct(48,24),marginBottom:ct(48,24)},figure:{marginTop:ct(48,24),marginBottom:ct(48,24)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:ct(20,24),lineHeight:Fn(32/20),marginTop:ct(20,20)},code:{fontSize:ct(20,24)},"h2 code":{fontSize:ct(42,48)},"h3 code":{fontSize:ct(32,36)},pre:{fontSize:ct(20,24),lineHeight:Fn(36/20),marginTop:ct(40,20),marginBottom:ct(40,20),borderRadius:wu(8),paddingTop:ct(24,20),paddingRight:ct(32,20),paddingBottom:ct(24,20),paddingLeft:ct(32,20)},ol:{marginTop:ct(32,24),marginBottom:ct(32,24),paddingLeft:ct(38,24)},ul:{marginTop:ct(32,24),marginBottom:ct(32,24),paddingLeft:ct(38,24)},li:{marginTop:ct(12,24),marginBottom:ct(12,24)},"ol > li":{paddingLeft:ct(10,24)},"ul > li":{paddingLeft:ct(10,24)},"> ul > li p":{marginTop:ct(20,24),marginBottom:ct(20,24)},"> ul > li > *:first-child":{marginTop:ct(32,24)},"> ul > li > *:last-child":{marginBottom:ct(32,24)},"> ol > li > *:first-child":{marginTop:ct(32,24)},"> ol > li > *:last-child":{marginBottom:ct(32,24)},"ul ul, ul ol, ol ul, ol ol":{marginTop:ct(16,24),marginBottom:ct(16,24)},hr:{marginTop:ct(72,24),marginBottom:ct(72,24)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:ct(20,24),lineHeight:Fn(28/20)},"thead th":{paddingRight:ct(12,20),paddingBottom:ct(16,20),paddingLeft:ct(12,20)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td, tfoot td":{paddingTop:ct(16,20),paddingRight:ct(12,20),paddingBottom:ct(16,20),paddingLeft:ct(12,20)},"tbody td:first-child, tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child, tfoot td:last-child":{paddingRight:"0"}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},invert:{css:{"--tw-prose-body":"var(--tw-prose-invert-body)","--tw-prose-headings":"var(--tw-prose-invert-headings)","--tw-prose-lead":"var(--tw-prose-invert-lead)","--tw-prose-links":"var(--tw-prose-invert-links)","--tw-prose-bold":"var(--tw-prose-invert-bold)","--tw-prose-counters":"var(--tw-prose-invert-counters)","--tw-prose-bullets":"var(--tw-prose-invert-bullets)","--tw-prose-hr":"var(--tw-prose-invert-hr)","--tw-prose-quotes":"var(--tw-prose-invert-quotes)","--tw-prose-quote-borders":"var(--tw-prose-invert-quote-borders)","--tw-prose-captions":"var(--tw-prose-invert-captions)","--tw-prose-code":"var(--tw-prose-invert-code)","--tw-prose-pre-code":"var(--tw-prose-invert-pre-code)","--tw-prose-pre-bg":"var(--tw-prose-invert-pre-bg)","--tw-prose-th-borders":"var(--tw-prose-invert-th-borders)","--tw-prose-td-borders":"var(--tw-prose-invert-td-borders)"}},slate:{css:{"--tw-prose-body":$t.slate[700],"--tw-prose-headings":$t.slate[900],"--tw-prose-lead":$t.slate[600],"--tw-prose-links":$t.slate[900],"--tw-prose-bold":$t.slate[900],"--tw-prose-counters":$t.slate[500],"--tw-prose-bullets":$t.slate[300],"--tw-prose-hr":$t.slate[200],"--tw-prose-quotes":$t.slate[900],"--tw-prose-quote-borders":$t.slate[200],"--tw-prose-captions":$t.slate[500],"--tw-prose-code":$t.slate[900],"--tw-prose-pre-code":$t.slate[200],"--tw-prose-pre-bg":$t.slate[800],"--tw-prose-th-borders":$t.slate[300],"--tw-prose-td-borders":$t.slate[200],"--tw-prose-invert-body":$t.slate[300],"--tw-prose-invert-headings":$t.white,"--tw-prose-invert-lead":$t.slate[400],"--tw-prose-invert-links":$t.white,"--tw-prose-invert-bold":$t.white,"--tw-prose-invert-counters":$t.slate[400],"--tw-prose-invert-bullets":$t.slate[600],"--tw-prose-invert-hr":$t.slate[700],"--tw-prose-invert-quotes":$t.slate[100],"--tw-prose-invert-quote-borders":$t.slate[700],"--tw-prose-invert-captions":$t.slate[400],"--tw-prose-invert-code":$t.white,"--tw-prose-invert-pre-code":$t.slate[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":$t.slate[600],"--tw-prose-invert-td-borders":$t.slate[700]}},gray:{css:{"--tw-prose-body":$t.gray[700],"--tw-prose-headings":$t.gray[900],"--tw-prose-lead":$t.gray[600],"--tw-prose-links":$t.gray[900],"--tw-prose-bold":$t.gray[900],"--tw-prose-counters":$t.gray[500],"--tw-prose-bullets":$t.gray[300],"--tw-prose-hr":$t.gray[200],"--tw-prose-quotes":$t.gray[900],"--tw-prose-quote-borders":$t.gray[200],"--tw-prose-captions":$t.gray[500],"--tw-prose-code":$t.gray[900],"--tw-prose-pre-code":$t.gray[200],"--tw-prose-pre-bg":$t.gray[800],"--tw-prose-th-borders":$t.gray[300],"--tw-prose-td-borders":$t.gray[200],"--tw-prose-invert-body":$t.gray[300],"--tw-prose-invert-headings":$t.white,"--tw-prose-invert-lead":$t.gray[400],"--tw-prose-invert-links":$t.white,"--tw-prose-invert-bold":$t.white,"--tw-prose-invert-counters":$t.gray[400],"--tw-prose-invert-bullets":$t.gray[600],"--tw-prose-invert-hr":$t.gray[700],"--tw-prose-invert-quotes":$t.gray[100],"--tw-prose-invert-quote-borders":$t.gray[700],"--tw-prose-invert-captions":$t.gray[400],"--tw-prose-invert-code":$t.white,"--tw-prose-invert-pre-code":$t.gray[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":$t.gray[600],"--tw-prose-invert-td-borders":$t.gray[700]}},zinc:{css:{"--tw-prose-body":$t.zinc[700],"--tw-prose-headings":$t.zinc[900],"--tw-prose-lead":$t.zinc[600],"--tw-prose-links":$t.zinc[900],"--tw-prose-bold":$t.zinc[900],"--tw-prose-counters":$t.zinc[500],"--tw-prose-bullets":$t.zinc[300],"--tw-prose-hr":$t.zinc[200],"--tw-prose-quotes":$t.zinc[900],"--tw-prose-quote-borders":$t.zinc[200],"--tw-prose-captions":$t.zinc[500],"--tw-prose-code":$t.zinc[900],"--tw-prose-pre-code":$t.zinc[200],"--tw-prose-pre-bg":$t.zinc[800],"--tw-prose-th-borders":$t.zinc[300],"--tw-prose-td-borders":$t.zinc[200],"--tw-prose-invert-body":$t.zinc[300],"--tw-prose-invert-headings":$t.white,"--tw-prose-invert-lead":$t.zinc[400],"--tw-prose-invert-links":$t.white,"--tw-prose-invert-bold":$t.white,"--tw-prose-invert-counters":$t.zinc[400],"--tw-prose-invert-bullets":$t.zinc[600],"--tw-prose-invert-hr":$t.zinc[700],"--tw-prose-invert-quotes":$t.zinc[100],"--tw-prose-invert-quote-borders":$t.zinc[700],"--tw-prose-invert-captions":$t.zinc[400],"--tw-prose-invert-code":$t.white,"--tw-prose-invert-pre-code":$t.zinc[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":$t.zinc[600],"--tw-prose-invert-td-borders":$t.zinc[700]}},neutral:{css:{"--tw-prose-body":$t.neutral[700],"--tw-prose-headings":$t.neutral[900],"--tw-prose-lead":$t.neutral[600],"--tw-prose-links":$t.neutral[900],"--tw-prose-bold":$t.neutral[900],"--tw-prose-counters":$t.neutral[500],"--tw-prose-bullets":$t.neutral[300],"--tw-prose-hr":$t.neutral[200],"--tw-prose-quotes":$t.neutral[900],"--tw-prose-quote-borders":$t.neutral[200],"--tw-prose-captions":$t.neutral[500],"--tw-prose-code":$t.neutral[900],"--tw-prose-pre-code":$t.neutral[200],"--tw-prose-pre-bg":$t.neutral[800],"--tw-prose-th-borders":$t.neutral[300],"--tw-prose-td-borders":$t.neutral[200],"--tw-prose-invert-body":$t.neutral[300],"--tw-prose-invert-headings":$t.white,"--tw-prose-invert-lead":$t.neutral[400],"--tw-prose-invert-links":$t.white,"--tw-prose-invert-bold":$t.white,"--tw-prose-invert-counters":$t.neutral[400],"--tw-prose-invert-bullets":$t.neutral[600],"--tw-prose-invert-hr":$t.neutral[700],"--tw-prose-invert-quotes":$t.neutral[100],"--tw-prose-invert-quote-borders":$t.neutral[700],"--tw-prose-invert-captions":$t.neutral[400],"--tw-prose-invert-code":$t.white,"--tw-prose-invert-pre-code":$t.neutral[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":$t.neutral[600],"--tw-prose-invert-td-borders":$t.neutral[700]}},stone:{css:{"--tw-prose-body":$t.stone[700],"--tw-prose-headings":$t.stone[900],"--tw-prose-lead":$t.stone[600],"--tw-prose-links":$t.stone[900],"--tw-prose-bold":$t.stone[900],"--tw-prose-counters":$t.stone[500],"--tw-prose-bullets":$t.stone[300],"--tw-prose-hr":$t.stone[200],"--tw-prose-quotes":$t.stone[900],"--tw-prose-quote-borders":$t.stone[200],"--tw-prose-captions":$t.stone[500],"--tw-prose-code":$t.stone[900],"--tw-prose-pre-code":$t.stone[200],"--tw-prose-pre-bg":$t.stone[800],"--tw-prose-th-borders":$t.stone[300],"--tw-prose-td-borders":$t.stone[200],"--tw-prose-invert-body":$t.stone[300],"--tw-prose-invert-headings":$t.white,"--tw-prose-invert-lead":$t.stone[400],"--tw-prose-invert-links":$t.white,"--tw-prose-invert-bold":$t.white,"--tw-prose-invert-counters":$t.stone[400],"--tw-prose-invert-bullets":$t.stone[600],"--tw-prose-invert-hr":$t.stone[700],"--tw-prose-invert-quotes":$t.stone[100],"--tw-prose-invert-quote-borders":$t.stone[700],"--tw-prose-invert-captions":$t.stone[400],"--tw-prose-invert-code":$t.white,"--tw-prose-invert-pre-code":$t.stone[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":$t.stone[600],"--tw-prose-invert-td-borders":$t.stone[700]}},red:{css:{"--tw-prose-links":$t.red[600],"--tw-prose-invert-links":$t.red[500]}},orange:{css:{"--tw-prose-links":$t.orange[600],"--tw-prose-invert-links":$t.orange[500]}},amber:{css:{"--tw-prose-links":$t.amber[600],"--tw-prose-invert-links":$t.amber[500]}},yellow:{css:{"--tw-prose-links":$t.yellow[600],"--tw-prose-invert-links":$t.yellow[500]}},lime:{css:{"--tw-prose-links":$t.lime[600],"--tw-prose-invert-links":$t.lime[500]}},green:{css:{"--tw-prose-links":$t.green[600],"--tw-prose-invert-links":$t.green[500]}},emerald:{css:{"--tw-prose-links":$t.emerald[600],"--tw-prose-invert-links":$t.emerald[500]}},teal:{css:{"--tw-prose-links":$t.teal[600],"--tw-prose-invert-links":$t.teal[500]}},cyan:{css:{"--tw-prose-links":$t.cyan[600],"--tw-prose-invert-links":$t.cyan[500]}},sky:{css:{"--tw-prose-links":$t.sky[600],"--tw-prose-invert-links":$t.sky[500]}},blue:{css:{"--tw-prose-links":$t.blue[600],"--tw-prose-invert-links":$t.blue[500]}},indigo:{css:{"--tw-prose-links":$t.indigo[600],"--tw-prose-invert-links":$t.indigo[500]}},violet:{css:{"--tw-prose-links":$t.violet[600],"--tw-prose-invert-links":$t.violet[500]}},purple:{css:{"--tw-prose-links":$t.purple[600],"--tw-prose-invert-links":$t.purple[500]}},fuchsia:{css:{"--tw-prose-links":$t.fuchsia[600],"--tw-prose-invert-links":$t.fuchsia[500]}},pink:{css:{"--tw-prose-links":$t.pink[600],"--tw-prose-invert-links":$t.pink[500]}},rose:{css:{"--tw-prose-links":$t.rose[600],"--tw-prose-invert-links":$t.rose[500]}}};OG.exports={DEFAULT:{css:[{color:"var(--tw-prose-body)",maxWidth:"65ch",'[class~="lead"]':{color:"var(--tw-prose-lead)"},a:{color:"var(--tw-prose-links)",textDecoration:"underline",fontWeight:"500"},strong:{color:"var(--tw-prose-bold)",fontWeight:"600"},"a strong":{color:"inherit"},"blockquote strong":{color:"inherit"},"thead th strong":{color:"inherit"},ol:{listStyleType:"decimal"},'ol[type="A"]':{listStyleType:"upper-alpha"},'ol[type="a"]':{listStyleType:"lower-alpha"},'ol[type="A" s]':{listStyleType:"upper-alpha"},'ol[type="a" s]':{listStyleType:"lower-alpha"},'ol[type="I"]':{listStyleType:"upper-roman"},'ol[type="i"]':{listStyleType:"lower-roman"},'ol[type="I" s]':{listStyleType:"upper-roman"},'ol[type="i" s]':{listStyleType:"lower-roman"},'ol[type="1"]':{listStyleType:"decimal"},ul:{listStyleType:"disc"},"ol > li::marker":{fontWeight:"400",color:"var(--tw-prose-counters)"},"ul > li::marker":{color:"var(--tw-prose-bullets)"},hr:{borderColor:"var(--tw-prose-hr)",borderTopWidth:1},blockquote:{fontWeight:"500",fontStyle:"italic",color:"var(--tw-prose-quotes)",borderLeftWidth:"0.25rem",borderLeftColor:"var(--tw-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},h1:{color:"var(--tw-prose-headings)",fontWeight:"800"},"h1 strong":{fontWeight:"900",color:"inherit"},h2:{color:"var(--tw-prose-headings)",fontWeight:"700"},"h2 strong":{fontWeight:"800",color:"inherit"},h3:{color:"var(--tw-prose-headings)",fontWeight:"600"},"h3 strong":{fontWeight:"700",color:"inherit"},h4:{color:"var(--tw-prose-headings)",fontWeight:"600"},"h4 strong":{fontWeight:"700",color:"inherit"},img:{},"figure > *":{},figcaption:{color:"var(--tw-prose-captions)"},code:{color:"var(--tw-prose-code)",fontWeight:"600"},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:"inherit"},"h1 code":{color:"inherit"},"h2 code":{color:"inherit"},"h3 code":{color:"inherit"},"h4 code":{color:"inherit"},"blockquote code":{color:"inherit"},"thead th code":{color:"inherit"},pre:{color:"var(--tw-prose-pre-code)",backgroundColor:"var(--tw-prose-pre-bg)",overflowX:"auto",fontWeight:"400"},"pre code":{backgroundColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0",fontWeight:"inherit",color:"inherit",fontSize:"inherit",fontFamily:"inherit",lineHeight:"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%",tableLayout:"auto",textAlign:"left",marginTop:ct(32,16),marginBottom:ct(32,16)},thead:{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-th-borders)"},"thead th":{color:"var(--tw-prose-headings)",fontWeight:"600",verticalAlign:"bottom"},"tbody tr":{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-td-borders)"},"tbody tr:last-child":{borderBottomWidth:"0"},"tbody td":{verticalAlign:"baseline"},tfoot:{borderTopWidth:"1px",borderTopColor:"var(--tw-prose-th-borders)"},"tfoot td":{verticalAlign:"top"}},Yw.gray.css,...Yw.base.css]},...Yw}});var WG=Le((N1t,qG)=>{var yxe="[object Object]";function gxe(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}function bxe(e,t){return function(n){return e(t(n))}}var Axe=Function.prototype,jG=Object.prototype,UG=Axe.toString,Ixe=jG.hasOwnProperty,Sxe=UG.call(Object),Lxe=jG.toString,Txe=bxe(Object.getPrototypeOf,Object);function vxe(e){return!!e&&typeof e=="object"}function Cxe(e){if(!vxe(e)||Lxe.call(e)!=yxe||gxe(e))return!1;var t=Txe(e);if(t===null)return!0;var n=Ixe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&UG.call(n)==Sxe}qG.exports=Cxe});var ek=Le((GA,VG)=>{"use strict";GA.__esModule=!0;GA.default=Pxe;function xxe(e){for(var t=e.toLowerCase(),n="",i=!1,o=0;o<6&&t[o]!==void 0;o++){var r=t.charCodeAt(o),c=r>=97&&r<=102||r>=48&&r<=57;if(i=r===32,!c)break;n+=t[o]}if(n.length!==0){var s=parseInt(n,16),u=s>=55296&&s<=57343;return u||s===0||s>1114111?["\uFFFD",n.length+(i?1:0)]:[String.fromCodePoint(s),n.length+(i?1:0)]}}var Dxe=/\\/;function Pxe(e){var t=Dxe.test(e);if(!t)return e;for(var n="",i=0;i<e.length;i++){if(e[i]==="\\"){var o=xxe(e.slice(i+1,i+7));if(o!==void 0){n+=o[0],i+=o[1];continue}if(e[i+1]==="\\"){n+="\\",i++;continue}e.length===i+1&&(n+=e[i]);continue}n+=e[i]}return n}VG.exports=GA.default});var GG=Le((XA,KG)=>{"use strict";XA.__esModule=!0;XA.default=wxe;function wxe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(;n.length>0;){var o=n.shift();if(!e[o])return;e=e[o]}return e}KG.exports=XA.default});var ZG=Le((ZA,XG)=>{"use strict";ZA.__esModule=!0;ZA.default=kxe;function kxe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(;n.length>0;){var o=n.shift();e[o]||(e[o]={}),e=e[o]}}XG.exports=ZA.default});var JG=Le((zA,zG)=>{"use strict";zA.__esModule=!0;zA.default=Nxe;function Nxe(e){for(var t="",n=e.indexOf("/*"),i=0;n>=0;){t=t+e.slice(i,n);var o=e.indexOf("*/",n+2);if(o<0)return t;i=o+2,n=e.indexOf("/*",i)}return t=t+e.slice(i),t}zG.exports=zA.default});var hy=Le(ku=>{"use strict";ku.__esModule=!0;ku.stripComments=ku.ensureObject=ku.getProp=ku.unesc=void 0;var Rxe=JA(ek());ku.unesc=Rxe.default;var $xe=JA(GG());ku.getProp=$xe.default;var Mxe=JA(ZG());ku.ensureObject=Mxe.default;var Bxe=JA(JG());ku.stripComments=Bxe.default;function JA(e){return e&&e.__esModule?e:{default:e}}});var TH=Le((_y,eX)=>{"use strict";_y.__esModule=!0;_y.default=void 0;var QG=hy();function YG(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Oxe(e,t,n){return t&&YG(e.prototype,t),n&&YG(e,n),e}var Fxe=function e(t,n){if(typeof t!="object"||t===null)return t;var i=new t.constructor;for(var o in t)if(t.hasOwnProperty(o)){var r=t[o],c=typeof r;o==="parent"&&c==="object"?n&&(i[o]=n):r instanceof Array?i[o]=r.map(function(s){return e(s,i)}):i[o]=e(r,i)}return i},jxe=function(){function e(n){n===void 0&&(n={}),Object.assign(this,n),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var t=e.prototype;return t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){if(this.parent){for(var i in arguments)this.parent.insertBefore(this,arguments[i]);this.remove()}return this},t.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.clone=function(i){i===void 0&&(i={});var o=Fxe(this);for(var r in i)o[r]=i[r];return o},t.appendToPropertyAndEscape=function(i,o,r){this.raws||(this.raws={});var c=this[i],s=this.raws[i];this[i]=c+o,s||r!==o?this.raws[i]=(s||c)+r:delete this.raws[i]},t.setPropertyAndEscape=function(i,o,r){this.raws||(this.raws={}),this[i]=o,this.raws[i]=r},t.setPropertyWithoutEscape=function(i,o){this[i]=o,this.raws&&delete this.raws[i]},t.isAtPosition=function(i,o){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>i||this.source.end.line<i||this.source.start.line===i&&this.source.start.column>o||this.source.end.line===i&&this.source.end.column<o)},t.stringifyProperty=function(i){return this.raws&&this.raws[i]||this[i]},t.valueToString=function(){return String(this.stringifyProperty("value"))},t.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},Oxe(e,[{key:"rawSpaceBefore",get:function(){var i=this.raws&&this.raws.spaces&&this.raws.spaces.before;return i===void 0&&(i=this.spaces&&this.spaces.before),i||""},set:function(i){(0,QG.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=i}},{key:"rawSpaceAfter",get:function(){var i=this.raws&&this.raws.spaces&&this.raws.spaces.after;return i===void 0&&(i=this.spaces.after),i||""},set:function(i){(0,QG.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=i}}]),e}();_y.default=jxe;eX.exports=_y.default});var To=Le(Ms=>{"use strict";Ms.__esModule=!0;Ms.UNIVERSAL=Ms.ATTRIBUTE=Ms.CLASS=Ms.COMBINATOR=Ms.COMMENT=Ms.ID=Ms.NESTING=Ms.PSEUDO=Ms.ROOT=Ms.SELECTOR=Ms.STRING=Ms.TAG=void 0;var Uxe="tag";Ms.TAG=Uxe;var qxe="string";Ms.STRING=qxe;var Wxe="selector";Ms.SELECTOR=Wxe;var Vxe="root";Ms.ROOT=Vxe;var Kxe="pseudo";Ms.PSEUDO=Kxe;var Gxe="nesting";Ms.NESTING=Gxe;var Xxe="id";Ms.ID=Xxe;var Zxe="comment";Ms.COMMENT=Zxe;var zxe="combinator";Ms.COMBINATOR=zxe;var Jxe="class";Ms.CLASS=Jxe;var Qxe="attribute";Ms.ATTRIBUTE=Qxe;var Yxe="universal";Ms.UNIVERSAL=Yxe});var QA=Le((my,iX)=>{"use strict";my.__esModule=!0;my.default=void 0;var eDe=rDe(TH()),vH=tDe(To());function nX(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return nX=function(){return e},e}function tDe(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=nX();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var r=i?Object.getOwnPropertyDescriptor(e,o):null;r&&(r.get||r.set)?Object.defineProperty(n,o,r):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}function rDe(e){return e&&e.__esModule?e:{default:e}}function nDe(e,t){var n;if(typeof Symbol>"u"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=iDe(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return n=e[Symbol.iterator](),n.next.bind(n)}function iDe(e,t){if(e){if(typeof e=="string")return tX(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tX(e,t)}}function tX(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function rX(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function sDe(e,t,n){return t&&rX(e.prototype,t),n&&rX(e,n),e}function aDe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,tk(e,t)}function tk(e,t){return tk=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i},tk(e,t)}var oDe=function(e){aDe(t,e);function t(i){var o;return o=e.call(this,i)||this,o.nodes||(o.nodes=[]),o}var n=t.prototype;return n.append=function(o){return o.parent=this,this.nodes.push(o),this},n.prepend=function(o){return o.parent=this,this.nodes.unshift(o),this},n.at=function(o){return this.nodes[o]},n.index=function(o){return typeof o=="number"?o:this.nodes.indexOf(o)},n.removeChild=function(o){o=this.index(o),this.at(o).parent=void 0,this.nodes.splice(o,1);var r;for(var c in this.indexes)r=this.indexes[c],r>=o&&(this.indexes[c]=r-1);return this},n.removeAll=function(){for(var o=nDe(this.nodes),r;!(r=o()).done;){var c=r.value;c.parent=void 0}return this.nodes=[],this},n.empty=function(){return this.removeAll()},n.insertAfter=function(o,r){r.parent=this;var c=this.index(o);this.nodes.splice(c+1,0,r),r.parent=this;var s;for(var u in this.indexes)s=this.indexes[u],c<=s&&(this.indexes[u]=s+1);return this},n.insertBefore=function(o,r){r.parent=this;var c=this.index(o);this.nodes.splice(c,0,r),r.parent=this;var s;for(var u in this.indexes)s=this.indexes[u],s<=c&&(this.indexes[u]=s+1);return this},n._findChildAtPosition=function(o,r){var c=void 0;return this.each(function(s){if(s.atPosition){var u=s.atPosition(o,r);if(u)return c=u,!1}else if(s.isAtPosition(o,r))return c=s,!1}),c},n.atPosition=function(o,r){if(this.isAtPosition(o,r))return this._findChildAtPosition(o,r)||this},n._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},n.each=function(o){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var r=this.lastEach;if(this.indexes[r]=0,!!this.length){for(var c,s;this.indexes[r]<this.length&&(c=this.indexes[r],s=o(this.at(c),c),s!==!1);)this.indexes[r]+=1;if(delete this.indexes[r],s===!1)return!1}},n.walk=function(o){return this.each(function(r,c){var s=o(r,c);if(s!==!1&&r.length&&(s=r.walk(o)),s===!1)return!1})},n.walkAttributes=function(o){var r=this;return this.walk(function(c){if(c.type===vH.ATTRIBUTE)return o.call(r,c)})},n.walkClasses=function(o){var r=this;return this.walk(function(c){if(c.type===vH.CLASS)return o.call(r,c)})},n.walkCombinators=function(o){var r=this;return this.walk(function(c){if(c.type===vH.COMBINATOR)return o.call(r,c)})},n.walkComments=function(o){var r=this;return this.walk(function(c){if(c.type===vH.COMMENT)return o.call(r,c)})},n.walkIds=function(o){var r=this;return this.walk(function(c){if(c.type===vH.ID)return o.call(r,c)})},n.walkNesting=function(o){var r=this;return this.walk(function(c){if(c.type===vH.NESTING)return o.call(r,c)})},n.walkPseudos=function(o){var r=this;return this.walk(function(c){if(c.type===vH.PSEUDO)return o.call(r,c)})},n.walkTags=function(o){var r=this;return this.walk(function(c){if(c.type===vH.TAG)return o.call(r,c)})},n.walkUniversals=function(o){var r=this;return this.walk(function(c){if(c.type===vH.UNIVERSAL)return o.call(r,c)})},n.split=function(o){var r=this,c=[];return this.reduce(function(s,u,H){var a=o.call(r,u);return c.push(u),a?(s.push(c),c=[]):H===r.length-1&&s.push(c),s},[])},n.map=function(o){return this.nodes.map(o)},n.reduce=function(o,r){return this.nodes.reduce(o,r)},n.every=function(o){return this.nodes.every(o)},n.some=function(o){return this.nodes.some(o)},n.filter=function(o){return this.nodes.filter(o)},n.sort=function(o){return this.nodes.sort(o)},n.toString=function(){return this.map(String).join("")},sDe(t,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),t}(eDe.default);my.default=oDe;iX.exports=my.default});var nk=Le((Ey,aX)=>{"use strict";Ey.__esModule=!0;Ey.default=void 0;var lDe=uDe(QA()),cDe=To();function uDe(e){return e&&e.__esModule?e:{default:e}}function sX(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function HDe(e,t,n){return t&&sX(e.prototype,t),n&&sX(e,n),e}function pDe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,rk(e,t)}function rk(e,t){return rk=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i},rk(e,t)}var dDe=function(e){pDe(t,e);function t(i){var o;return o=e.call(this,i)||this,o.type=cDe.ROOT,o}var n=t.prototype;return n.toString=function(){var o=this.reduce(function(r,c){return r.push(String(c)),r},[]).join(",");return this.trailingComma?o+",":o},n.error=function(o,r){return this._error?this._error(o,r):new Error(o)},HDe(t,[{key:"errorGenerator",set:function(o){this._error=o}}]),t}(lDe.default);Ey.default=dDe;aX.exports=Ey.default});var sk=Le((yy,oX)=>{"use strict";yy.__esModule=!0;yy.default=void 0;var fDe=_De(QA()),hDe=To();function _De(e){return e&&e.__esModule?e:{default:e}}function mDe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ik(e,t)}function ik(e,t){return ik=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i},ik(e,t)}var EDe=function(e){mDe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=hDe.SELECTOR,i}return t}(fDe.default);yy.default=EDe;oX.exports=yy.default});var Nu=Le((M1t,lX)=>{"use strict";var yDe={},gDe=yDe.hasOwnProperty,bDe=function(t,n){if(!t)return n;var i={};for(var o in n)i[o]=gDe.call(t,o)?t[o]:n[o];return i},ADe=/[ -,\.\/:-@\[-\^`\{-~]/,IDe=/[ -,\.\/:-@\[\]\^`\{-~]/,SDe=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,ak=function e(t,n){n=bDe(n,e.options),n.quotes!="single"&&n.quotes!="double"&&(n.quotes="single");for(var i=n.quotes=="double"?'"':"'",o=n.isIdentifier,r=t.charAt(0),c="",s=0,u=t.length;s<u;){var H=t.charAt(s++),a=H.charCodeAt(),l=void 0;if(a<32||a>126){if(a>=55296&&a<=56319&&s<u){var p=t.charCodeAt(s++);(p&64512)==56320?a=((a&1023)<<10)+(p&1023)+65536:s--}l="\\"+a.toString(16).toUpperCase()+" "}else n.escapeEverything?ADe.test(H)?l="\\"+H:l="\\"+a.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(H)?l="\\"+a.toString(16).toUpperCase()+" ":H=="\\"||!o&&(H=='"'&&i==H||H=="'"&&i==H)||o&&IDe.test(H)?l="\\"+H:l=H;c+=l}return o&&(/^-[-\d]/.test(c)?c="\\-"+c.slice(1):/\d/.test(r)&&(c="\\3"+r+" "+c.slice(1))),c=c.replace(SDe,function(d,h,m){return h&&h.length%2?d:(h||"")+m}),!o&&n.wrap?i+c+i:c};ak.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};ak.version="3.0.0";lX.exports=ak});var lk=Le((gy,HX)=>{"use strict";gy.__esModule=!0;gy.default=void 0;var LDe=uX(Nu()),TDe=hy(),vDe=uX(TH()),CDe=To();function uX(e){return e&&e.__esModule?e:{default:e}}function cX(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function xDe(e,t,n){return t&&cX(e.prototype,t),n&&cX(e,n),e}function DDe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ok(e,t)}function ok(e,t){return ok=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i},ok(e,t)}var PDe=function(e){DDe(t,e);function t(i){var o;return o=e.call(this,i)||this,o.type=CDe.CLASS,o._constructed=!0,o}var n=t.prototype;return n.valueToString=function(){return"."+e.prototype.valueToString.call(this)},xDe(t,[{key:"value",get:function(){return this._value},set:function(o){if(this._constructed){var r=(0,LDe.default)(o,{isIdentifier:!0});r!==o?((0,TDe.ensureObject)(this,"raws"),this.raws.value=r):this.raws&&delete this.raws.value}this._value=o}}]),t}(vDe.default);gy.default=PDe;HX.exports=gy.default});var uk=Le((by,pX)=>{"use strict";by.__esModule=!0;by.default=void 0;var wDe=NDe(TH()),kDe=To();function NDe(e){return e&&e.__esModule?e:{default:e}}function RDe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ck(e,t)}function ck(e,t){return ck=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i},ck(e,t)}var $De=function(e){RDe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=kDe.COMMENT,i}return t}(wDe.default);by.default=$De;pX.exports=by.default});var pk=Le((Ay,dX)=>{"use strict";Ay.__esModule=!0;Ay.default=void 0;var MDe=ODe(TH()),BDe=To();function ODe(e){return e&&e.__esModule?e:{default:e}}function FDe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Hk(e,t)}function Hk(e,t){return Hk=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i},Hk(e,t)}var jDe=function(e){FDe(t,e);function t(i){var o;return o=e.call(this,i)||this,o.type=BDe.ID,o}var n=t.prototype;return n.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},t}(MDe.default);Ay.default=jDe;dX.exports=Ay.default});var YA=Le((Iy,_X)=>{"use strict";Iy.__esModule=!0;Iy.default=void 0;var UDe=hX(Nu()),qDe=hy(),WDe=hX(TH());function hX(e){return e&&e.__esModule?e:{default:e}}function fX(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function VDe(e,t,n){return t&&fX(e.prototype,t),n&&fX(e,n),e}function KDe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,dk(e,t)}function dk(e,t){return dk=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i},dk(e,t)}var GDe=function(e){KDe(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.qualifiedName=function(o){return this.namespace?this.namespaceString+"|"+o:o},n.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},VDe(t,[{key:"namespace",get:function(){return this._namespace},set:function(o){if(o===!0||o==="*"||o==="&"){this._namespace=o,this.raws&&delete this.raws.namespace;return}var r=(0,UDe.default)(o,{isIdentifier:!0});this._namespace=o,r!==o?((0,qDe.ensureObject)(this,"raws"),this.raws.namespace=r):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(o){this.namespace=o}},{key:"namespaceString",get:function(){if(this.namespace){var o=this.stringifyProperty("namespace");return o===!0?"":o}else return""}}]),t}(WDe.default);Iy.default=GDe;_X.exports=Iy.default});var hk=Le((Sy,mX)=>{"use strict";Sy.__esModule=!0;Sy.default=void 0;var XDe=zDe(YA()),ZDe=To();function zDe(e){return e&&e.__esModule?e:{default:e}}function JDe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,fk(e,t)}function fk(e,t){return fk=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i},fk(e,t)}var QDe=function(e){JDe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=ZDe.TAG,i}return t}(XDe.default);Sy.default=QDe;mX.exports=Sy.default});var mk=Le((Ly,EX)=>{"use strict";Ly.__esModule=!0;Ly.default=void 0;var YDe=tPe(TH()),ePe=To();function tPe(e){return e&&e.__esModule?e:{default:e}}function rPe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_k(e,t)}function _k(e,t){return _k=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i},_k(e,t)}var nPe=function(e){rPe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=ePe.STRING,i}return t}(YDe.default);Ly.default=nPe;EX.exports=Ly.default});var yk=Le((Ty,yX)=>{"use strict";Ty.__esModule=!0;Ty.default=void 0;var iPe=aPe(QA()),sPe=To();function aPe(e){return e&&e.__esModule?e:{default:e}}function oPe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ek(e,t)}function Ek(e,t){return Ek=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i},Ek(e,t)}var lPe=function(e){oPe(t,e);function t(i){var o;return o=e.call(this,i)||this,o.type=sPe.PSEUDO,o}var n=t.prototype;return n.toString=function(){var o=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),o,this.rawSpaceAfter].join("")},t}(iPe.default);Ty.default=lPe;yX.exports=Ty.default});var gk=Le((B1t,gX)=>{gX.exports=require("util").deprecate});var Tk=Le(xy=>{"use strict";xy.__esModule=!0;xy.unescapeValue=Lk;xy.default=void 0;var vy=Sk(Nu()),cPe=Sk(ek()),uPe=Sk(YA()),HPe=To(),bk;function Sk(e){return e&&e.__esModule?e:{default:e}}function bX(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function pPe(e,t,n){return t&&bX(e.prototype,t),n&&bX(e,n),e}function dPe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ik(e,t)}function Ik(e,t){return Ik=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i},Ik(e,t)}var Cy=gk(),fPe=/^('|")([^]*)\1$/,hPe=Cy(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),_Pe=Cy(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),mPe=Cy(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function Lk(e){var t=!1,n=null,i=e,o=i.match(fPe);return o&&(n=o[1],i=o[2]),i=(0,cPe.default)(i),i!==e&&(t=!0),{deprecatedUsage:t,unescaped:i,quoteMark:n}}function EPe(e){if(e.quoteMark!==void 0||e.value===void 0)return e;mPe();var t=Lk(e.value),n=t.quoteMark,i=t.unescaped;return e.raws||(e.raws={}),e.raws.value===void 0&&(e.raws.value=e.value),e.value=i,e.quoteMark=n,e}var eI=function(e){dPe(t,e);function t(i){var o;return i===void 0&&(i={}),o=e.call(this,EPe(i))||this,o.type=HPe.ATTRIBUTE,o.raws=o.raws||{},Object.defineProperty(o.raws,"unquoted",{get:Cy(function(){return o.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Cy(function(){return o.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),o._constructed=!0,o}var n=t.prototype;return n.getQuotedValue=function(o){o===void 0&&(o={});var r=this._determineQuoteMark(o),c=Ak[r],s=(0,vy.default)(this._value,c);return s},n._determineQuoteMark=function(o){return o.smart?this.smartQuoteMark(o):this.preferredQuoteMark(o)},n.setValue=function(o,r){r===void 0&&(r={}),this._value=o,this._quoteMark=this._determineQuoteMark(r),this._syncRawValue()},n.smartQuoteMark=function(o){var r=this.value,c=r.replace(/[^']/g,"").length,s=r.replace(/[^"]/g,"").length;if(c+s===0){var u=(0,vy.default)(r,{isIdentifier:!0});if(u===r)return t.NO_QUOTE;var H=this.preferredQuoteMark(o);if(H===t.NO_QUOTE){var a=this.quoteMark||o.quoteMark||t.DOUBLE_QUOTE,l=Ak[a],p=(0,vy.default)(r,l);if(p.length<u.length)return a}return H}else return s===c?this.preferredQuoteMark(o):s<c?t.DOUBLE_QUOTE:t.SINGLE_QUOTE},n.preferredQuoteMark=function(o){var r=o.preferCurrentQuoteMark?this.quoteMark:o.quoteMark;return r===void 0&&(r=o.preferCurrentQuoteMark?o.quoteMark:this.quoteMark),r===void 0&&(r=t.DOUBLE_QUOTE),r},n._syncRawValue=function(){var o=(0,vy.default)(this._value,Ak[this.quoteMark]);o===this._value?this.raws&&delete this.raws.value:this.raws.value=o},n._handleEscapes=function(o,r){if(this._constructed){var c=(0,vy.default)(r,{isIdentifier:!0});c!==r?this.raws[o]=c:delete this.raws[o]}},n._spacesFor=function(o){var r={before:"",after:""},c=this.spaces[o]||{},s=this.raws.spaces&&this.raws.spaces[o]||{};return Object.assign(r,c,s)},n._stringFor=function(o,r,c){r===void 0&&(r=o),c===void 0&&(c=AX);var s=this._spacesFor(r);return c(this.stringifyProperty(o),s)},n.offsetOf=function(o){var r=1,c=this._spacesFor("attribute");if(r+=c.before.length,o==="namespace"||o==="ns")return this.namespace?r:-1;if(o==="attributeNS"||(r+=this.namespaceString.length,this.namespace&&(r+=1),o==="attribute"))return r;r+=this.stringifyProperty("attribute").length,r+=c.after.length;var s=this._spacesFor("operator");r+=s.before.length;var u=this.stringifyProperty("operator");if(o==="operator")return u?r:-1;r+=u.length,r+=s.after.length;var H=this._spacesFor("value");r+=H.before.length;var a=this.stringifyProperty("value");if(o==="value")return a?r:-1;r+=a.length,r+=H.after.length;var l=this._spacesFor("insensitive");return r+=l.before.length,o==="insensitive"&&this.insensitive?r:-1},n.toString=function(){var o=this,r=[this.rawSpaceBefore,"["];return r.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(r.push(this._stringFor("operator")),r.push(this._stringFor("value")),r.push(this._stringFor("insensitiveFlag","insensitive",function(c,s){return c.length>0&&!o.quoted&&s.before.length===0&&!(o.spaces.value&&o.spaces.value.after)&&(s.before=" "),AX(c,s)}))),r.push("]"),r.push(this.rawSpaceAfter),r.join("")},pPe(t,[{key:"quoted",get:function(){var o=this.quoteMark;return o==="'"||o==='"'},set:function(o){_Pe()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(o){if(!this._constructed){this._quoteMark=o;return}this._quoteMark!==o&&(this._quoteMark=o,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(o){if(this._constructed){var r=Lk(o),c=r.deprecatedUsage,s=r.unescaped,u=r.quoteMark;if(c&&hPe(),s===this._value&&u===this._quoteMark)return;this._value=s,this._quoteMark=u,this._syncRawValue()}else this._value=o}},{key:"attribute",get:function(){return this._attribute},set:function(o){this._handleEscapes("attribute",o),this._attribute=o}}]),t}(uPe.default);xy.default=eI;eI.NO_QUOTE=null;eI.SINGLE_QUOTE="'";eI.DOUBLE_QUOTE='"';var Ak=(bk={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},bk[null]={isIdentifier:!0},bk);function AX(e,t){return""+t.before+e+t.after}});var Ck=Le((Dy,IX)=>{"use strict";Dy.__esModule=!0;Dy.default=void 0;var yPe=bPe(YA()),gPe=To();function bPe(e){return e&&e.__esModule?e:{default:e}}function APe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,vk(e,t)}function vk(e,t){return vk=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i},vk(e,t)}var IPe=function(e){APe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=gPe.UNIVERSAL,i.value="*",i}return t}(yPe.default);Dy.default=IPe;IX.exports=Dy.default});var Dk=Le((Py,SX)=>{"use strict";Py.__esModule=!0;Py.default=void 0;var SPe=TPe(TH()),LPe=To();function TPe(e){return e&&e.__esModule?e:{default:e}}function vPe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,xk(e,t)}function xk(e,t){return xk=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i},xk(e,t)}var CPe=function(e){vPe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=LPe.COMBINATOR,i}return t}(SPe.default);Py.default=CPe;SX.exports=Py.default});var wk=Le((wy,LX)=>{"use strict";wy.__esModule=!0;wy.default=void 0;var xPe=PPe(TH()),DPe=To();function PPe(e){return e&&e.__esModule?e:{default:e}}function wPe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Pk(e,t)}function Pk(e,t){return Pk=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i},Pk(e,t)}var kPe=function(e){wPe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=DPe.NESTING,i.value="&",i}return t}(xPe.default);wy.default=kPe;LX.exports=wy.default});var vX=Le((tI,TX)=>{"use strict";tI.__esModule=!0;tI.default=NPe;function NPe(e){return e.sort(function(t,n){return t-n})}TX.exports=tI.default});var kk=Le(pn=>{"use strict";pn.__esModule=!0;pn.combinator=pn.word=pn.comment=pn.str=pn.tab=pn.newline=pn.feed=pn.cr=pn.backslash=pn.bang=pn.slash=pn.doubleQuote=pn.singleQuote=pn.space=pn.greaterThan=pn.pipe=pn.equals=pn.plus=pn.caret=pn.tilde=pn.dollar=pn.closeSquare=pn.openSquare=pn.closeParenthesis=pn.openParenthesis=pn.semicolon=pn.colon=pn.comma=pn.at=pn.asterisk=pn.ampersand=void 0;var RPe=38;pn.ampersand=RPe;var $Pe=42;pn.asterisk=$Pe;var MPe=64;pn.at=MPe;var BPe=44;pn.comma=BPe;var OPe=58;pn.colon=OPe;var FPe=59;pn.semicolon=FPe;var jPe=40;pn.openParenthesis=jPe;var UPe=41;pn.closeParenthesis=UPe;var qPe=91;pn.openSquare=qPe;var WPe=93;pn.closeSquare=WPe;var VPe=36;pn.dollar=VPe;var KPe=126;pn.tilde=KPe;var GPe=94;pn.caret=GPe;var XPe=43;pn.plus=XPe;var ZPe=61;pn.equals=ZPe;var zPe=124;pn.pipe=zPe;var JPe=62;pn.greaterThan=JPe;var QPe=32;pn.space=QPe;var CX=39;pn.singleQuote=CX;var YPe=34;pn.doubleQuote=YPe;var ewe=47;pn.slash=ewe;var twe=33;pn.bang=twe;var rwe=92;pn.backslash=rwe;var nwe=13;pn.cr=nwe;var iwe=12;pn.feed=iwe;var swe=10;pn.newline=swe;var awe=9;pn.tab=awe;var owe=CX;pn.str=owe;var lwe=-1;pn.comment=lwe;var cwe=-2;pn.word=cwe;var uwe=-3;pn.combinator=uwe});var PX=Le(ky=>{"use strict";ky.__esModule=!0;ky.default=mwe;ky.FIELDS=void 0;var Vr=Hwe(kk()),t_,vs;function DX(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return DX=function(){return e},e}function Hwe(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=DX();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var r=i?Object.getOwnPropertyDescriptor(e,o):null;r&&(r.get||r.set)?Object.defineProperty(n,o,r):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}var pwe=(t_={},t_[Vr.tab]=!0,t_[Vr.newline]=!0,t_[Vr.cr]=!0,t_[Vr.feed]=!0,t_),dwe=(vs={},vs[Vr.space]=!0,vs[Vr.tab]=!0,vs[Vr.newline]=!0,vs[Vr.cr]=!0,vs[Vr.feed]=!0,vs[Vr.ampersand]=!0,vs[Vr.asterisk]=!0,vs[Vr.bang]=!0,vs[Vr.comma]=!0,vs[Vr.colon]=!0,vs[Vr.semicolon]=!0,vs[Vr.openParenthesis]=!0,vs[Vr.closeParenthesis]=!0,vs[Vr.openSquare]=!0,vs[Vr.closeSquare]=!0,vs[Vr.singleQuote]=!0,vs[Vr.doubleQuote]=!0,vs[Vr.plus]=!0,vs[Vr.pipe]=!0,vs[Vr.tilde]=!0,vs[Vr.greaterThan]=!0,vs[Vr.equals]=!0,vs[Vr.dollar]=!0,vs[Vr.caret]=!0,vs[Vr.slash]=!0,vs),Nk={},xX="0123456789abcdefABCDEF";for(rI=0;rI<xX.length;rI++)Nk[xX.charCodeAt(rI)]=!0;var rI;function fwe(e,t){var n=t,i;do{if(i=e.charCodeAt(n),dwe[i])return n-1;i===Vr.backslash?n=hwe(e,n)+1:n++}while(n<e.length);return n-1}function hwe(e,t){var n=t,i=e.charCodeAt(n+1);if(!pwe[i])if(Nk[i]){var o=0;do n++,o++,i=e.charCodeAt(n+1);while(Nk[i]&&o<6);o<6&&i===Vr.space&&n++}else n++;return n}var _we={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};ky.FIELDS=_we;function mwe(e){var t=[],n=e.css.valueOf(),i=n,o=i.length,r=-1,c=1,s=0,u=0,H,a,l,p,d,h,m,g,y,_,E,A,S;function T(I,L){if(e.safe)n+=L,y=n.length-1;else throw e.error("Unclosed "+I,c,s-r,s)}for(;s<o;){switch(H=n.charCodeAt(s),H===Vr.newline&&(r=s,c+=1),H){case Vr.space:case Vr.tab:case Vr.newline:case Vr.cr:case Vr.feed:y=s;do y+=1,H=n.charCodeAt(y),H===Vr.newline&&(r=y,c+=1);while(H===Vr.space||H===Vr.newline||H===Vr.tab||H===Vr.cr||H===Vr.feed);S=Vr.space,p=c,l=y-r-1,u=y;break;case Vr.plus:case Vr.greaterThan:case Vr.tilde:case Vr.pipe:y=s;do y+=1,H=n.charCodeAt(y);while(H===Vr.plus||H===Vr.greaterThan||H===Vr.tilde||H===Vr.pipe);S=Vr.combinator,p=c,l=s-r,u=y;break;case Vr.asterisk:case Vr.ampersand:case Vr.bang:case Vr.comma:case Vr.equals:case Vr.dollar:case Vr.caret:case Vr.openSquare:case Vr.closeSquare:case Vr.colon:case Vr.semicolon:case Vr.openParenthesis:case Vr.closeParenthesis:y=s,S=H,p=c,l=s-r,u=y+1;break;case Vr.singleQuote:case Vr.doubleQuote:A=H===Vr.singleQuote?"'":'"',y=s;do for(d=!1,y=n.indexOf(A,y+1),y===-1&&T("quote",A),h=y;n.charCodeAt(h-1)===Vr.backslash;)h-=1,d=!d;while(d);S=Vr.str,p=c,l=s-r,u=y+1;break;default:H===Vr.slash&&n.charCodeAt(s+1)===Vr.asterisk?(y=n.indexOf("*/",s+2)+1,y===0&&T("comment","*/"),a=n.slice(s,y+1),g=a.split(`
|
|
`),m=g.length-1,m>0?(_=c+m,E=y-g[m].length):(_=c,E=r),S=Vr.comment,c=_,p=_,l=y-E):H===Vr.slash?(y=s,S=H,p=c,l=s-r,u=y+1):(y=fwe(n,s),S=Vr.word,p=c,l=y-r),u=y+1;break}t.push([S,c,s-r,p,l,s,u]),E&&(r=E,E=null),s=u}return t}});var OX=Le((Ny,BX)=>{"use strict";Ny.__esModule=!0;Ny.default=void 0;var Ewe=oc(nk()),Rk=oc(sk()),ywe=oc(lk()),wX=oc(uk()),gwe=oc(pk()),bwe=oc(hk()),$k=oc(mk()),Awe=oc(yk()),kX=nI(Tk()),Iwe=oc(Ck()),Mk=oc(Dk()),Swe=oc(wk()),Lwe=oc(vX()),Dr=nI(PX()),tn=nI(kk()),Twe=nI(To()),aa=hy(),df,Bk;function MX(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return MX=function(){return e},e}function nI(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=MX();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var r=i?Object.getOwnPropertyDescriptor(e,o):null;r&&(r.get||r.set)?Object.defineProperty(n,o,r):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}function oc(e){return e&&e.__esModule?e:{default:e}}function NX(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function vwe(e,t,n){return t&&NX(e.prototype,t),n&&NX(e,n),e}var jk=(df={},df[tn.space]=!0,df[tn.cr]=!0,df[tn.feed]=!0,df[tn.newline]=!0,df[tn.tab]=!0,df),Cwe=Object.assign({},jk,(Bk={},Bk[tn.comment]=!0,Bk));function RX(e){return{line:e[Dr.FIELDS.START_LINE],column:e[Dr.FIELDS.START_COL]}}function $X(e){return{line:e[Dr.FIELDS.END_LINE],column:e[Dr.FIELDS.END_COL]}}function ff(e,t,n,i){return{start:{line:e,column:t},end:{line:n,column:i}}}function r_(e){return ff(e[Dr.FIELDS.START_LINE],e[Dr.FIELDS.START_COL],e[Dr.FIELDS.END_LINE],e[Dr.FIELDS.END_COL])}function Ok(e,t){if(e)return ff(e[Dr.FIELDS.START_LINE],e[Dr.FIELDS.START_COL],t[Dr.FIELDS.END_LINE],t[Dr.FIELDS.END_COL])}function n_(e,t){var n=e[t];if(typeof n=="string")return n.indexOf("\\")!==-1&&((0,aa.ensureObject)(e,"raws"),e[t]=(0,aa.unesc)(n),e.raws[t]===void 0&&(e.raws[t]=n)),e}function Fk(e,t){for(var n=-1,i=[];(n=e.indexOf(t,n+1))!==-1;)i.push(n);return i}function xwe(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(t,n){return n===e.indexOf(t)})}var Dwe=function(){function e(n,i){i===void 0&&(i={}),this.rule=n,this.options=Object.assign({lossy:!1,safe:!1},i),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,Dr.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var o=Ok(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new Ewe.default({source:o}),this.root.errorGenerator=this._errorGenerator();var r=new Rk.default({source:{start:{line:1,column:1}}});this.root.append(r),this.current=r,this.loop()}var t=e.prototype;return t._errorGenerator=function(){var i=this;return function(o,r){return typeof i.rule=="string"?new Error(o):i.rule.error(o,r)}},t.attribute=function(){var i=[],o=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[Dr.FIELDS.TYPE]!==tn.closeSquare;)i.push(this.currToken),this.position++;if(this.currToken[Dr.FIELDS.TYPE]!==tn.closeSquare)return this.expected("closing square bracket",this.currToken[Dr.FIELDS.START_POS]);var r=i.length,c={source:ff(o[1],o[2],this.currToken[3],this.currToken[4]),sourceIndex:o[Dr.FIELDS.START_POS]};if(r===1&&!~[tn.word].indexOf(i[0][Dr.FIELDS.TYPE]))return this.expected("attribute",i[0][Dr.FIELDS.START_POS]);for(var s=0,u="",H="",a=null,l=!1;s<r;){var p=i[s],d=this.content(p),h=i[s+1];switch(p[Dr.FIELDS.TYPE]){case tn.space:if(l=!0,this.options.lossy)break;if(a){(0,aa.ensureObject)(c,"spaces",a);var m=c.spaces[a].after||"";c.spaces[a].after=m+d;var g=(0,aa.getProp)(c,"raws","spaces",a,"after")||null;g&&(c.raws.spaces[a].after=g+d)}else u=u+d,H=H+d;break;case tn.asterisk:if(h[Dr.FIELDS.TYPE]===tn.equals)c.operator=d,a="operator";else if((!c.namespace||a==="namespace"&&!l)&&h){u&&((0,aa.ensureObject)(c,"spaces","attribute"),c.spaces.attribute.before=u,u=""),H&&((0,aa.ensureObject)(c,"raws","spaces","attribute"),c.raws.spaces.attribute.before=u,H=""),c.namespace=(c.namespace||"")+d;var y=(0,aa.getProp)(c,"raws","namespace")||null;y&&(c.raws.namespace+=d),a="namespace"}l=!1;break;case tn.dollar:if(a==="value"){var _=(0,aa.getProp)(c,"raws","value");c.value+="$",_&&(c.raws.value=_+"$");break}case tn.caret:h[Dr.FIELDS.TYPE]===tn.equals&&(c.operator=d,a="operator"),l=!1;break;case tn.combinator:if(d==="~"&&h[Dr.FIELDS.TYPE]===tn.equals&&(c.operator=d,a="operator"),d!=="|"){l=!1;break}h[Dr.FIELDS.TYPE]===tn.equals?(c.operator=d,a="operator"):!c.namespace&&!c.attribute&&(c.namespace=!0),l=!1;break;case tn.word:if(h&&this.content(h)==="|"&&i[s+2]&&i[s+2][Dr.FIELDS.TYPE]!==tn.equals&&!c.operator&&!c.namespace)c.namespace=d,a="namespace";else if(!c.attribute||a==="attribute"&&!l){u&&((0,aa.ensureObject)(c,"spaces","attribute"),c.spaces.attribute.before=u,u=""),H&&((0,aa.ensureObject)(c,"raws","spaces","attribute"),c.raws.spaces.attribute.before=H,H=""),c.attribute=(c.attribute||"")+d;var E=(0,aa.getProp)(c,"raws","attribute")||null;E&&(c.raws.attribute+=d),a="attribute"}else if(!c.value&&c.value!==""||a==="value"&&!l){var A=(0,aa.unesc)(d),S=(0,aa.getProp)(c,"raws","value")||"",T=c.value||"";c.value=T+A,c.quoteMark=null,(A!==d||S)&&((0,aa.ensureObject)(c,"raws"),c.raws.value=(S||T)+d),a="value"}else{var I=d==="i"||d==="I";(c.value||c.value==="")&&(c.quoteMark||l)?(c.insensitive=I,(!I||d==="I")&&((0,aa.ensureObject)(c,"raws"),c.raws.insensitiveFlag=d),a="insensitive",u&&((0,aa.ensureObject)(c,"spaces","insensitive"),c.spaces.insensitive.before=u,u=""),H&&((0,aa.ensureObject)(c,"raws","spaces","insensitive"),c.raws.spaces.insensitive.before=H,H="")):(c.value||c.value==="")&&(a="value",c.value+=d,c.raws.value&&(c.raws.value+=d))}l=!1;break;case tn.str:if(!c.attribute||!c.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:p[Dr.FIELDS.START_POS]});var L=(0,kX.unescapeValue)(d),x=L.unescaped,C=L.quoteMark;c.value=x,c.quoteMark=C,a="value",(0,aa.ensureObject)(c,"raws"),c.raws.value=d,l=!1;break;case tn.equals:if(!c.attribute)return this.expected("attribute",p[Dr.FIELDS.START_POS],d);if(c.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:p[Dr.FIELDS.START_POS]});c.operator=c.operator?c.operator+d:d,a="operator",l=!1;break;case tn.comment:if(a)if(l||h&&h[Dr.FIELDS.TYPE]===tn.space||a==="insensitive"){var D=(0,aa.getProp)(c,"spaces",a,"after")||"",O=(0,aa.getProp)(c,"raws","spaces",a,"after")||D;(0,aa.ensureObject)(c,"raws","spaces",a),c.raws.spaces[a].after=O+d}else{var j=c[a]||"",k=(0,aa.getProp)(c,"raws",a)||j;(0,aa.ensureObject)(c,"raws"),c.raws[a]=k+d}else H=H+d;break;default:return this.error('Unexpected "'+d+'" found.',{index:p[Dr.FIELDS.START_POS]})}s++}n_(c,"attribute"),n_(c,"namespace"),this.newNode(new kX.default(c)),this.position++},t.parseWhitespaceEquivalentTokens=function(i){i<0&&(i=this.tokens.length);var o=this.position,r=[],c="",s=void 0;do if(jk[this.currToken[Dr.FIELDS.TYPE]])this.options.lossy||(c+=this.content());else if(this.currToken[Dr.FIELDS.TYPE]===tn.comment){var u={};c&&(u.before=c,c=""),s=new wX.default({value:this.content(),source:r_(this.currToken),sourceIndex:this.currToken[Dr.FIELDS.START_POS],spaces:u}),r.push(s)}while(++this.position<i);if(c){if(s)s.spaces.after=c;else if(!this.options.lossy){var H=this.tokens[o],a=this.tokens[this.position-1];r.push(new $k.default({value:"",source:ff(H[Dr.FIELDS.START_LINE],H[Dr.FIELDS.START_COL],a[Dr.FIELDS.END_LINE],a[Dr.FIELDS.END_COL]),sourceIndex:H[Dr.FIELDS.START_POS],spaces:{before:c,after:""}}))}}return r},t.convertWhitespaceNodesToSpace=function(i,o){var r=this;o===void 0&&(o=!1);var c="",s="";i.forEach(function(H){var a=r.lossySpace(H.spaces.before,o),l=r.lossySpace(H.rawSpaceBefore,o);c+=a+r.lossySpace(H.spaces.after,o&&a.length===0),s+=a+H.value+r.lossySpace(H.rawSpaceAfter,o&&l.length===0)}),s===c&&(s=void 0);var u={space:c,rawSpace:s};return u},t.isNamedCombinator=function(i){return i===void 0&&(i=this.position),this.tokens[i+0]&&this.tokens[i+0][Dr.FIELDS.TYPE]===tn.slash&&this.tokens[i+1]&&this.tokens[i+1][Dr.FIELDS.TYPE]===tn.word&&this.tokens[i+2]&&this.tokens[i+2][Dr.FIELDS.TYPE]===tn.slash},t.namedCombinator=function(){if(this.isNamedCombinator()){var i=this.content(this.tokens[this.position+1]),o=(0,aa.unesc)(i).toLowerCase(),r={};o!==i&&(r.value="/"+i+"/");var c=new Mk.default({value:"/"+o+"/",source:ff(this.currToken[Dr.FIELDS.START_LINE],this.currToken[Dr.FIELDS.START_COL],this.tokens[this.position+2][Dr.FIELDS.END_LINE],this.tokens[this.position+2][Dr.FIELDS.END_COL]),sourceIndex:this.currToken[Dr.FIELDS.START_POS],raws:r});return this.position=this.position+3,c}else this.unexpected()},t.combinator=function(){var i=this;if(this.content()==="|")return this.namespace();var o=this.locateNextMeaningfulToken(this.position);if(o<0||this.tokens[o][Dr.FIELDS.TYPE]===tn.comma){var r=this.parseWhitespaceEquivalentTokens(o);if(r.length>0){var c=this.current.last;if(c){var s=this.convertWhitespaceNodesToSpace(r),u=s.space,H=s.rawSpace;H!==void 0&&(c.rawSpaceAfter+=H),c.spaces.after+=u}else r.forEach(function(S){return i.newNode(S)})}return}var a=this.currToken,l=void 0;o>this.position&&(l=this.parseWhitespaceEquivalentTokens(o));var p;if(this.isNamedCombinator()?p=this.namedCombinator():this.currToken[Dr.FIELDS.TYPE]===tn.combinator?(p=new Mk.default({value:this.content(),source:r_(this.currToken),sourceIndex:this.currToken[Dr.FIELDS.START_POS]}),this.position++):jk[this.currToken[Dr.FIELDS.TYPE]]||l||this.unexpected(),p){if(l){var d=this.convertWhitespaceNodesToSpace(l),h=d.space,m=d.rawSpace;p.spaces.before=h,p.rawSpaceBefore=m}}else{var g=this.convertWhitespaceNodesToSpace(l,!0),y=g.space,_=g.rawSpace;_||(_=y);var E={},A={spaces:{}};y.endsWith(" ")&&_.endsWith(" ")?(E.before=y.slice(0,y.length-1),A.spaces.before=_.slice(0,_.length-1)):y.startsWith(" ")&&_.startsWith(" ")?(E.after=y.slice(1),A.spaces.after=_.slice(1)):A.value=_,p=new Mk.default({value:" ",source:Ok(a,this.tokens[this.position-1]),sourceIndex:a[Dr.FIELDS.START_POS],spaces:E,raws:A})}return this.currToken&&this.currToken[Dr.FIELDS.TYPE]===tn.space&&(p.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(p)},t.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var i=new Rk.default({source:{start:RX(this.tokens[this.position+1])}});this.current.parent.append(i),this.current=i,this.position++},t.comment=function(){var i=this.currToken;this.newNode(new wX.default({value:this.content(),source:r_(i),sourceIndex:i[Dr.FIELDS.START_POS]})),this.position++},t.error=function(i,o){throw this.root.error(i,o)},t.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[Dr.FIELDS.START_POS]})},t.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[Dr.FIELDS.START_POS])},t.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[Dr.FIELDS.START_POS])},t.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[Dr.FIELDS.START_POS])},t.namespace=function(){var i=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[Dr.FIELDS.TYPE]===tn.word)return this.position++,this.word(i);if(this.nextToken[Dr.FIELDS.TYPE]===tn.asterisk)return this.position++,this.universal(i)},t.nesting=function(){if(this.nextToken){var i=this.content(this.nextToken);if(i==="|"){this.position++;return}}var o=this.currToken;this.newNode(new Swe.default({value:this.content(),source:r_(o),sourceIndex:o[Dr.FIELDS.START_POS]})),this.position++},t.parentheses=function(){var i=this.current.last,o=1;if(this.position++,i&&i.type===Twe.PSEUDO){var r=new Rk.default({source:{start:RX(this.tokens[this.position-1])}}),c=this.current;for(i.append(r),this.current=r;this.position<this.tokens.length&&o;)this.currToken[Dr.FIELDS.TYPE]===tn.openParenthesis&&o++,this.currToken[Dr.FIELDS.TYPE]===tn.closeParenthesis&&o--,o?this.parse():(this.current.source.end=$X(this.currToken),this.current.parent.source.end=$X(this.currToken),this.position++);this.current=c}else{for(var s=this.currToken,u="(",H;this.position<this.tokens.length&&o;)this.currToken[Dr.FIELDS.TYPE]===tn.openParenthesis&&o++,this.currToken[Dr.FIELDS.TYPE]===tn.closeParenthesis&&o--,H=this.currToken,u+=this.parseParenthesisToken(this.currToken),this.position++;i?i.appendToPropertyAndEscape("value",u,u):this.newNode(new $k.default({value:u,source:ff(s[Dr.FIELDS.START_LINE],s[Dr.FIELDS.START_COL],H[Dr.FIELDS.END_LINE],H[Dr.FIELDS.END_COL]),sourceIndex:s[Dr.FIELDS.START_POS]}))}if(o)return this.expected("closing parenthesis",this.currToken[Dr.FIELDS.START_POS])},t.pseudo=function(){for(var i=this,o="",r=this.currToken;this.currToken&&this.currToken[Dr.FIELDS.TYPE]===tn.colon;)o+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[Dr.FIELDS.TYPE]===tn.word)this.splitWord(!1,function(c,s){o+=c,i.newNode(new Awe.default({value:o,source:Ok(r,i.currToken),sourceIndex:r[Dr.FIELDS.START_POS]})),s>1&&i.nextToken&&i.nextToken[Dr.FIELDS.TYPE]===tn.openParenthesis&&i.error("Misplaced parenthesis.",{index:i.nextToken[Dr.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[Dr.FIELDS.START_POS])},t.space=function(){var i=this.content();this.position===0||this.prevToken[Dr.FIELDS.TYPE]===tn.comma||this.prevToken[Dr.FIELDS.TYPE]===tn.openParenthesis||this.current.nodes.every(function(o){return o.type==="comment"})?(this.spaces=this.optionalSpace(i),this.position++):this.position===this.tokens.length-1||this.nextToken[Dr.FIELDS.TYPE]===tn.comma||this.nextToken[Dr.FIELDS.TYPE]===tn.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(i),this.position++):this.combinator()},t.string=function(){var i=this.currToken;this.newNode(new $k.default({value:this.content(),source:r_(i),sourceIndex:i[Dr.FIELDS.START_POS]})),this.position++},t.universal=function(i){var o=this.nextToken;if(o&&this.content(o)==="|")return this.position++,this.namespace();var r=this.currToken;this.newNode(new Iwe.default({value:this.content(),source:r_(r),sourceIndex:r[Dr.FIELDS.START_POS]}),i),this.position++},t.splitWord=function(i,o){for(var r=this,c=this.nextToken,s=this.content();c&&~[tn.dollar,tn.caret,tn.equals,tn.word].indexOf(c[Dr.FIELDS.TYPE]);){this.position++;var u=this.content();if(s+=u,u.lastIndexOf("\\")===u.length-1){var H=this.nextToken;H&&H[Dr.FIELDS.TYPE]===tn.space&&(s+=this.requiredSpace(this.content(H)),this.position++)}c=this.nextToken}var a=Fk(s,".").filter(function(h){var m=s[h-1]==="\\",g=/^\d+\.\d+%$/.test(s);return!m&&!g}),l=Fk(s,"#").filter(function(h){return s[h-1]!=="\\"}),p=Fk(s,"#{");p.length&&(l=l.filter(function(h){return!~p.indexOf(h)}));var d=(0,Lwe.default)(xwe([0].concat(a,l)));d.forEach(function(h,m){var g=d[m+1]||s.length,y=s.slice(h,g);if(m===0&&o)return o.call(r,y,d.length);var _,E=r.currToken,A=E[Dr.FIELDS.START_POS]+d[m],S=ff(E[1],E[2]+h,E[3],E[2]+(g-1));if(~a.indexOf(h)){var T={value:y.slice(1),source:S,sourceIndex:A};_=new ywe.default(n_(T,"value"))}else if(~l.indexOf(h)){var I={value:y.slice(1),source:S,sourceIndex:A};_=new gwe.default(n_(I,"value"))}else{var L={value:y,source:S,sourceIndex:A};n_(L,"value"),_=new bwe.default(L)}r.newNode(_,i),i=null}),this.position++},t.word=function(i){var o=this.nextToken;return o&&this.content(o)==="|"?(this.position++,this.namespace()):this.splitWord(i)},t.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},t.parse=function(i){switch(this.currToken[Dr.FIELDS.TYPE]){case tn.space:this.space();break;case tn.comment:this.comment();break;case tn.openParenthesis:this.parentheses();break;case tn.closeParenthesis:i&&this.missingParenthesis();break;case tn.openSquare:this.attribute();break;case tn.dollar:case tn.caret:case tn.equals:case tn.word:this.word();break;case tn.colon:this.pseudo();break;case tn.comma:this.comma();break;case tn.asterisk:this.universal();break;case tn.ampersand:this.nesting();break;case tn.slash:case tn.combinator:this.combinator();break;case tn.str:this.string();break;case tn.closeSquare:this.missingSquareBracket();case tn.semicolon:this.missingBackslash();default:this.unexpected()}},t.expected=function(i,o,r){if(Array.isArray(i)){var c=i.pop();i=i.join(", ")+" or "+c}var s=/^[aeiou]/.test(i[0])?"an":"a";return r?this.error("Expected "+s+" "+i+', found "'+r+'" instead.',{index:o}):this.error("Expected "+s+" "+i+".",{index:o})},t.requiredSpace=function(i){return this.options.lossy?" ":i},t.optionalSpace=function(i){return this.options.lossy?"":i},t.lossySpace=function(i,o){return this.options.lossy?o?" ":"":i},t.parseParenthesisToken=function(i){var o=this.content(i);return i[Dr.FIELDS.TYPE]===tn.space?this.requiredSpace(o):o},t.newNode=function(i,o){return o&&(/^ +$/.test(o)&&(this.options.lossy||(this.spaces=(this.spaces||"")+o),o=!0),i.namespace=o,n_(i,"namespace")),this.spaces&&(i.spaces.before=this.spaces,this.spaces=""),this.current.append(i)},t.content=function(i){return i===void 0&&(i=this.currToken),this.css.slice(i[Dr.FIELDS.START_POS],i[Dr.FIELDS.END_POS])},t.locateNextMeaningfulToken=function(i){i===void 0&&(i=this.position+1);for(var o=i;o<this.tokens.length;)if(Cwe[this.tokens[o][Dr.FIELDS.TYPE]]){o++;continue}else return o;return-1},vwe(e,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),e}();Ny.default=Dwe;BX.exports=Ny.default});var jX=Le((Ry,FX)=>{"use strict";Ry.__esModule=!0;Ry.default=void 0;var Pwe=wwe(OX());function wwe(e){return e&&e.__esModule?e:{default:e}}var kwe=function(){function e(n,i){this.func=n||function(){},this.funcRes=null,this.options=i}var t=e.prototype;return t._shouldUpdateSelector=function(i,o){o===void 0&&(o={});var r=Object.assign({},this.options,o);return r.updateSelector===!1?!1:typeof i!="string"},t._isLossy=function(i){i===void 0&&(i={});var o=Object.assign({},this.options,i);return o.lossless===!1},t._root=function(i,o){o===void 0&&(o={});var r=new Pwe.default(i,this._parseOptions(o));return r.root},t._parseOptions=function(i){return{lossy:this._isLossy(i)}},t._run=function(i,o){var r=this;return o===void 0&&(o={}),new Promise(function(c,s){try{var u=r._root(i,o);Promise.resolve(r.func(u)).then(function(H){var a=void 0;return r._shouldUpdateSelector(i,o)&&(a=u.toString(),i.selector=a),{transform:H,root:u,string:a}}).then(c,s)}catch(H){s(H);return}})},t._runSync=function(i,o){o===void 0&&(o={});var r=this._root(i,o),c=this.func(r);if(c&&typeof c.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var s=void 0;return o.updateSelector&&typeof i!="string"&&(s=r.toString(),i.selector=s),{transform:c,root:r,string:s}},t.ast=function(i,o){return this._run(i,o).then(function(r){return r.root})},t.astSync=function(i,o){return this._runSync(i,o).root},t.transform=function(i,o){return this._run(i,o).then(function(r){return r.transform})},t.transformSync=function(i,o){return this._runSync(i,o).transform},t.process=function(i,o){return this._run(i,o).then(function(r){return r.string||r.root.toString()})},t.processSync=function(i,o){var r=this._runSync(i,o);return r.string||r.root.toString()},e}();Ry.default=kwe;FX.exports=Ry.default});var UX=Le(Bs=>{"use strict";Bs.__esModule=!0;Bs.universal=Bs.tag=Bs.string=Bs.selector=Bs.root=Bs.pseudo=Bs.nesting=Bs.id=Bs.comment=Bs.combinator=Bs.className=Bs.attribute=void 0;var Nwe=lc(Tk()),Rwe=lc(lk()),$we=lc(Dk()),Mwe=lc(uk()),Bwe=lc(pk()),Owe=lc(wk()),Fwe=lc(yk()),jwe=lc(nk()),Uwe=lc(sk()),qwe=lc(mk()),Wwe=lc(hk()),Vwe=lc(Ck());function lc(e){return e&&e.__esModule?e:{default:e}}var Kwe=function(t){return new Nwe.default(t)};Bs.attribute=Kwe;var Gwe=function(t){return new Rwe.default(t)};Bs.className=Gwe;var Xwe=function(t){return new $we.default(t)};Bs.combinator=Xwe;var Zwe=function(t){return new Mwe.default(t)};Bs.comment=Zwe;var zwe=function(t){return new Bwe.default(t)};Bs.id=zwe;var Jwe=function(t){return new Owe.default(t)};Bs.nesting=Jwe;var Qwe=function(t){return new Fwe.default(t)};Bs.pseudo=Qwe;var Ywe=function(t){return new jwe.default(t)};Bs.root=Ywe;var eke=function(t){return new Uwe.default(t)};Bs.selector=eke;var tke=function(t){return new qwe.default(t)};Bs.string=tke;var rke=function(t){return new Wwe.default(t)};Bs.tag=rke;var nke=function(t){return new Vwe.default(t)};Bs.universal=nke});var KX=Le(Ji=>{"use strict";Ji.__esModule=!0;Ji.isNode=Uk;Ji.isPseudoElement=VX;Ji.isPseudoClass=fke;Ji.isContainer=hke;Ji.isNamespace=_ke;Ji.isUniversal=Ji.isTag=Ji.isString=Ji.isSelector=Ji.isRoot=Ji.isPseudo=Ji.isNesting=Ji.isIdentifier=Ji.isComment=Ji.isCombinator=Ji.isClassName=Ji.isAttribute=void 0;var oa=To(),pl,ike=(pl={},pl[oa.ATTRIBUTE]=!0,pl[oa.CLASS]=!0,pl[oa.COMBINATOR]=!0,pl[oa.COMMENT]=!0,pl[oa.ID]=!0,pl[oa.NESTING]=!0,pl[oa.PSEUDO]=!0,pl[oa.ROOT]=!0,pl[oa.SELECTOR]=!0,pl[oa.STRING]=!0,pl[oa.TAG]=!0,pl[oa.UNIVERSAL]=!0,pl);function Uk(e){return typeof e=="object"&&ike[e.type]}function cc(e,t){return Uk(t)&&t.type===e}var qX=cc.bind(null,oa.ATTRIBUTE);Ji.isAttribute=qX;var ske=cc.bind(null,oa.CLASS);Ji.isClassName=ske;var ake=cc.bind(null,oa.COMBINATOR);Ji.isCombinator=ake;var oke=cc.bind(null,oa.COMMENT);Ji.isComment=oke;var lke=cc.bind(null,oa.ID);Ji.isIdentifier=lke;var cke=cc.bind(null,oa.NESTING);Ji.isNesting=cke;var qk=cc.bind(null,oa.PSEUDO);Ji.isPseudo=qk;var uke=cc.bind(null,oa.ROOT);Ji.isRoot=uke;var Hke=cc.bind(null,oa.SELECTOR);Ji.isSelector=Hke;var pke=cc.bind(null,oa.STRING);Ji.isString=pke;var WX=cc.bind(null,oa.TAG);Ji.isTag=WX;var dke=cc.bind(null,oa.UNIVERSAL);Ji.isUniversal=dke;function VX(e){return qk(e)&&e.value&&(e.value.startsWith("::")||e.value.toLowerCase()===":before"||e.value.toLowerCase()===":after"||e.value.toLowerCase()===":first-letter"||e.value.toLowerCase()===":first-line")}function fke(e){return qk(e)&&!VX(e)}function hke(e){return!!(Uk(e)&&e.walk)}function _ke(e){return qX(e)||WX(e)}});var GX=Le(Zc=>{"use strict";Zc.__esModule=!0;var Wk=To();Object.keys(Wk).forEach(function(e){e==="default"||e==="__esModule"||e in Zc&&Zc[e]===Wk[e]||(Zc[e]=Wk[e])});var Vk=UX();Object.keys(Vk).forEach(function(e){e==="default"||e==="__esModule"||e in Zc&&Zc[e]===Vk[e]||(Zc[e]=Vk[e])});var Kk=KX();Object.keys(Kk).forEach(function(e){e==="default"||e==="__esModule"||e in Zc&&Zc[e]===Kk[e]||(Zc[e]=Kk[e])})});var zX=Le(($y,ZX)=>{"use strict";$y.__esModule=!0;$y.default=void 0;var mke=gke(jX()),Eke=yke(GX());function XX(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return XX=function(){return e},e}function yke(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=XX();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var r=i?Object.getOwnPropertyDescriptor(e,o):null;r&&(r.get||r.set)?Object.defineProperty(n,o,r):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}function gke(e){return e&&e.__esModule?e:{default:e}}var Gk=function(t){return new mke.default(t)};Object.assign(Gk,Eke);delete Gk.__esModule;var bke=Gk;$y.default=bke;ZX.exports=$y.default});var YX=Le((V1t,QX)=>{var Ake=WG(),JX=zX(),Ike=JX();QX.exports={isUsableColor(e,t){return Ake(t)&&e!=="gray"&&t[600]},commonTrailingPseudos(e){let t=Ike.astSync(e),n=[];for(let[o,r]of t.nodes.entries())for(let[c,s]of[...r.nodes].reverse().entries()){if(s.type!=="pseudo"||!s.value.startsWith("::"))break;n[c]=n[c]||[],n[c][o]=s}let i=JX.selector();for(let o of n){if(!o)continue;if(new Set([...o.map(c=>c.value)]).size>1)break;o.forEach(c=>c.remove()),i.prepend(o[0])}return i.nodes.length?[i.toString(),t.toString()]:[null,e]}}});var Zk=Le((K1t,rZ)=>{var Ske=lf(),Lke=$G(),Tke=BG(),vke=FG(),{commonTrailingPseudos:Cke}=YX(),eZ={};function Xk(e,{className:t,prefix:n}){let i=n(`.not-${t}`).slice(1),o=e.startsWith(">")?`.${t} `:"",[r,c]=Cke(e);return r?`:where(${o}${c}):not(:where([class~="${i}"] *))${r}`:`:where(${o}${e}):not(:where([class~="${i}"] *))`}function tZ(e){return typeof e=="object"&&e!==null}function xke(e={},{target:t,className:n,prefix:i}){function o(r,c){return t==="legacy"?[r,c]:Array.isArray(c)?[r,c]:tZ(c)?Object.values(c).some(tZ)?[Xk(r,{className:n,prefix:i}),c,Object.fromEntries(Object.entries(c).map(([u,H])=>o(u,H)))]:[Xk(r,{className:n,prefix:i}),c]:[r,c]}return Object.fromEntries(Object.entries(Lke({},...Object.keys(e).filter(r=>eZ[r]).map(r=>eZ[r](e[r])),...Tke(e.css||{}))).map(([r,c])=>o(r,c)))}rZ.exports=Ske.withOptions(({className:e="prose",target:t="modern"}={})=>function({addVariant:n,addComponents:i,theme:o,prefix:r}){let c=o("typography"),s={className:e,prefix:r};for(let[u,...H]of[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"],["lead",'[class~="lead"]']]){H=H.length===0?[u]:H;let a=t==="legacy"?H.map(l=>`& ${l}`):H.join(", ");n(`${e}-${u}`,t==="legacy"?a:`& :is(${Xk(a,s)})`)}i(Object.keys(c).map(u=>({[u==="DEFAULT"?`.${e}`:`.${e}-${u}`]:xke(c[u],{target:t,className:e,prefix:r})})))},()=>({theme:{typography:vke}}))});var nZ=Le((G1t,Dke)=>{Dke.exports={name:"@tailwindcss/typography",version:"0.5.7",description:"A Tailwind CSS plugin for automatically styling plain HTML content with beautiful typographic defaults.",main:"src/index.js",types:"src/index.d.ts",files:["src/*.js","src/*.d.ts","dist/"],repository:"https://github.com/tailwindcss/typography",license:"MIT",publishConfig:{access:"public"},prettier:{printWidth:100,semi:!1,singleQuote:!0,trailingComma:"es5"},scripts:{test:"jest",dev:"next dev demo",build:"next build demo",export:"next export demo",start:"next start demo"},peerDependencies:{tailwindcss:">=3.0.0 || insiders"},devDependencies:{"@mdx-js/loader":"^1.0.19","@mdx-js/mdx":"^1.6.6","@next/mdx":"^8.1.0",autoprefixer:"^10.2.1","highlight.js":"^10.4.1",jest:"^26.6.1","jest-diff":"^27.3.1",next:"^12.0.1",postcss:"^8.2.3",prettier:"^2.1.2",react:"^17.0.2","react-dom":"^17.0.2",tailwindcss:"^3.0.0-alpha.2"},dependencies:{"lodash.castarray":"^4.4.0","lodash.isplainobject":"^4.0.6","lodash.merge":"^4.6.2","postcss-selector-parser":"6.0.10"},jest:{setupFilesAfterEnv:["<rootDir>/jest/customMatchers.js"]}}});var iZ=Le(zk=>{"use strict";Object.defineProperty(zk,"__esModule",{value:!0});Object.defineProperty(zk,"default",{enumerable:!0,get:function(){return Nke}});var Pke=kA(),wke=kke(NA());function kke(e){return e&&e.__esModule?e:{default:e}}var Nke=(0,Pke.cloneDeep)(wke.default)});var aZ=Le((z1t,sZ)=>{var Jk=iZ();sZ.exports=(Jk.__esModule?Jk:{default:Jk}).default});var sI=Le(Qk=>{"use strict";Object.defineProperty(Qk,"__esModule",{value:!0});Object.defineProperty(Qk,"default",{enumerable:!0,get:function(){return Rke}});function Rke(e){if(e=`${e}`,e==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(e))return e.replace(/^[+-]?/,n=>n==="-"?"":"-");let t=["var","calc","min","max","clamp"];for(let n of t)if(e.includes(`${n}(`))return`calc(${e} * -1)`}});var oZ=Le(Yk=>{"use strict";Object.defineProperty(Yk,"__esModule",{value:!0});Object.defineProperty(Yk,"default",{enumerable:!0,get:function(){return $ke}});var $ke=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","lineClamp","display","aspectRatio","size","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","captionSide","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","listStyleImage","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","hyphens","whitespace","textWrap","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","contain","content","forcedColorAdjust"]});var lZ=Le(eN=>{"use strict";Object.defineProperty(eN,"__esModule",{value:!0});Object.defineProperty(eN,"default",{enumerable:!0,get:function(){return Mke}});function Mke(e,t){return e===void 0?t:Array.isArray(e)?e:[...new Set(t.filter(i=>e!==!1&&e[i]!==!1).concat(Object.keys(e).filter(i=>e[i]!==!1)))]}});var cZ=Le(tN=>{"use strict";Object.defineProperty(tN,"__esModule",{value:!0});Object.defineProperty(tN,"defaults",{enumerable:!0,get:function(){return Bke}});function Bke(e,...t){for(let o of t){for(let r in o){var n;!(e==null||(n=e.hasOwnProperty)===null||n===void 0)&&n.call(e,r)||(e[r]=o[r])}for(let r of Object.getOwnPropertySymbols(o)){var i;!(e==null||(i=e.hasOwnProperty)===null||i===void 0)&&i.call(e,r)||(e[r]=o[r])}}return e}});var aI=Le(rN=>{"use strict";Object.defineProperty(rN,"__esModule",{value:!0});Object.defineProperty(rN,"toPath",{enumerable:!0,get:function(){return Oke}});function Oke(e){if(Array.isArray(e))return e;let t=e.split("[").length-1,n=e.split("]").length-1;if(t!==n)throw new Error(`Path is invalid. Has unbalanced brackets: ${e}`);return e.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}});var CH=Le(nN=>{"use strict";Object.defineProperty(nN,"__esModule",{value:!0});function Fke(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Fke(nN,{flagEnabled:function(){return qke},issueFlagNotices:function(){return Wke},default:function(){return Vke}});var jke=pZ(ly()),Uke=pZ(ac());function pZ(e){return e&&e.__esModule?e:{default:e}}var uZ={optimizeUniversalDefaults:!1,generalizedModifiers:!0,disableColorOpacityUtilitiesByDefault:!1,relativeContentPathsByDefault:!1},My={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity","disableColorOpacityUtilitiesByDefault","relativeContentPathsByDefault"],experimental:["optimizeUniversalDefaults","generalizedModifiers"]};function qke(e,t){if(My.future.includes(t)){var n,i,o;return e.future==="all"||((o=(i=e==null||(n=e.future)===null||n===void 0?void 0:n[t])!==null&&i!==void 0?i:uZ[t])!==null&&o!==void 0?o:!1)}if(My.experimental.includes(t)){var r,c,s;return e.experimental==="all"||((s=(c=e==null||(r=e.experimental)===null||r===void 0?void 0:r[t])!==null&&c!==void 0?c:uZ[t])!==null&&s!==void 0?s:!1)}return!1}function HZ(e){if(e.experimental==="all")return My.experimental;var t;return Object.keys((t=e?.experimental)!==null&&t!==void 0?t:{}).filter(n=>My.experimental.includes(n)&&e.experimental[n])}function Wke(e){if(process.env.JEST_WORKER_ID===void 0&&HZ(e).length>0){let t=HZ(e).map(n=>jke.default.yellow(n)).join(", ");Uke.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${t}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}var Vke=My});var fZ=Le(iN=>{"use strict";Object.defineProperty(iN,"__esModule",{value:!0});Object.defineProperty(iN,"normalizeConfig",{enumerable:!0,get:function(){return Xke}});var Kke=CH(),i_=Gke(ac());function dZ(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(dZ=function(i){return i?n:t})(e)}function Gke(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=dZ(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var c=o?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(i,r,c):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}function Xke(e){if((()=>{if(e.purge||!e.content||!Array.isArray(e.content)&&!(typeof e.content=="object"&&e.content!==null))return!1;if(Array.isArray(e.content))return e.content.every(i=>typeof i=="string"?!0:!(typeof i?.raw!="string"||i?.extension&&typeof i?.extension!="string"));if(typeof e.content=="object"&&e.content!==null){if(Object.keys(e.content).some(i=>!["files","relative","extract","transform"].includes(i)))return!1;if(Array.isArray(e.content.files)){if(!e.content.files.every(i=>typeof i=="string"?!0:!(typeof i?.raw!="string"||i?.extension&&typeof i?.extension!="string")))return!1;if(typeof e.content.extract=="object"){for(let i of Object.values(e.content.extract))if(typeof i!="function")return!1}else if(!(e.content.extract===void 0||typeof e.content.extract=="function"))return!1;if(typeof e.content.transform=="object"){for(let i of Object.values(e.content.transform))if(typeof i!="function")return!1}else if(!(e.content.transform===void 0||typeof e.content.transform=="function"))return!1;if(typeof e.content.relative!="boolean"&&typeof e.content.relative<"u")return!1}return!0}return!1})()||i_.default.warn("purge-deprecation",["The `purge`/`content` options have changed in Tailwind CSS v3.0.","Update your configuration file to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"]),e.safelist=(()=>{var i;let{content:o,purge:r,safelist:c}=e;return Array.isArray(c)?c:Array.isArray(o?.safelist)?o.safelist:Array.isArray(r?.safelist)?r.safelist:Array.isArray(r==null||(i=r.options)===null||i===void 0?void 0:i.safelist)?r.options.safelist:[]})(),e.blocklist=(()=>{let{blocklist:i}=e;if(Array.isArray(i)){if(i.every(o=>typeof o=="string"))return i;i_.default.warn("blocklist-invalid",["The `blocklist` option must be an array of strings.","https://tailwindcss.com/docs/content-configuration#discarding-classes"])}return[]})(),typeof e.prefix=="function")i_.default.warn("prefix-function",["As of Tailwind CSS v3.0, `prefix` cannot be a function.","Update `prefix` in your configuration to be a string to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"]),e.prefix="";else{var n;e.prefix=(n=e.prefix)!==null&&n!==void 0?n:""}e.content={relative:(()=>{let{content:i}=e;return i?.relative?i.relative:(0,Kke.flagEnabled)(e,"relativeContentPathsByDefault")})(),files:(()=>{let{content:i,purge:o}=e;return Array.isArray(o)?o:Array.isArray(o?.content)?o.content:Array.isArray(i)?i:Array.isArray(i?.content)?i.content:Array.isArray(i?.files)?i.files:[]})(),extract:(()=>{let i=(()=>{var c,s,u,H,a,l,p,d,h,m;return!((c=e.purge)===null||c===void 0)&&c.extract?e.purge.extract:!((s=e.content)===null||s===void 0)&&s.extract?e.content.extract:!((u=e.purge)===null||u===void 0||(H=u.extract)===null||H===void 0)&&H.DEFAULT?e.purge.extract.DEFAULT:!((a=e.content)===null||a===void 0||(l=a.extract)===null||l===void 0)&&l.DEFAULT?e.content.extract.DEFAULT:!((p=e.purge)===null||p===void 0||(d=p.options)===null||d===void 0)&&d.extractors?e.purge.options.extractors:!((h=e.content)===null||h===void 0||(m=h.options)===null||m===void 0)&&m.extractors?e.content.options.extractors:{}})(),o={},r=(()=>{var c,s,u,H;if(!((c=e.purge)===null||c===void 0||(s=c.options)===null||s===void 0)&&s.defaultExtractor)return e.purge.options.defaultExtractor;if(!((u=e.content)===null||u===void 0||(H=u.options)===null||H===void 0)&&H.defaultExtractor)return e.content.options.defaultExtractor})();if(r!==void 0&&(o.DEFAULT=r),typeof i=="function")o.DEFAULT=i;else if(Array.isArray(i))for(let{extensions:c,extractor:s}of i??[])for(let u of c)o[u]=s;else typeof i=="object"&&i!==null&&Object.assign(o,i);return o})(),transform:(()=>{let i=(()=>{var r,c,s,u,H,a;return!((r=e.purge)===null||r===void 0)&&r.transform?e.purge.transform:!((c=e.content)===null||c===void 0)&&c.transform?e.content.transform:!((s=e.purge)===null||s===void 0||(u=s.transform)===null||u===void 0)&&u.DEFAULT?e.purge.transform.DEFAULT:!((H=e.content)===null||H===void 0||(a=H.transform)===null||a===void 0)&&a.DEFAULT?e.content.transform.DEFAULT:{}})(),o={};return typeof i=="function"?o.DEFAULT=i:typeof i=="object"&&i!==null&&Object.assign(o,i),o})()};for(let i of e.content.files)if(typeof i=="string"&&/{([^,]*?)}/g.test(i)){i_.default.warn("invalid-glob-braces",[`The glob pattern ${(0,i_.dim)(i)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,i_.dim)(i.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return e}});var s_=Le(sN=>{"use strict";Object.defineProperty(sN,"__esModule",{value:!0});Object.defineProperty(sN,"default",{enumerable:!0,get:function(){return Zke}});function Zke(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}});var oI=Le(aN=>{"use strict";Object.defineProperty(aN,"__esModule",{value:!0});Object.defineProperty(aN,"default",{enumerable:!0,get:function(){return zke}});function zke(e){return e.replace(/\\,/g,"\\2c ")}});var hZ=Le(oN=>{"use strict";Object.defineProperty(oN,"__esModule",{value:!0});Object.defineProperty(oN,"default",{enumerable:!0,get:function(){return Jke}});var Jke={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var cN=Le(lN=>{"use strict";Object.defineProperty(lN,"__esModule",{value:!0});function Qke(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Qke(lN,{parseColor:function(){return iNe},formatColor:function(){return sNe}});var _Z=Yke(hZ());function Yke(e){return e&&e.__esModule?e:{default:e}}var eNe=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,tNe=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,kp=/(?:\d+|\d*\.\d+)%?/,lI=/(?:\s*,\s*|\s+)/,mZ=/\s*[,/]\s*/,Np=/var\(--(?:[^ )]*?)(?:,(?:[^ )]*?|var\(--[^ )]*?\)))?\)/,rNe=new RegExp(`^(rgba?)\\(\\s*(${kp.source}|${Np.source})(?:${lI.source}(${kp.source}|${Np.source}))?(?:${lI.source}(${kp.source}|${Np.source}))?(?:${mZ.source}(${kp.source}|${Np.source}))?\\s*\\)$`),nNe=new RegExp(`^(hsla?)\\(\\s*((?:${kp.source})(?:deg|rad|grad|turn)?|${Np.source})(?:${lI.source}(${kp.source}|${Np.source}))?(?:${lI.source}(${kp.source}|${Np.source}))?(?:${mZ.source}(${kp.source}|${Np.source}))?\\s*\\)$`);function iNe(e,{loose:t=!1}={}){var n,i;if(typeof e!="string")return null;if(e=e.trim(),e==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(e in _Z.default)return{mode:"rgb",color:_Z.default[e].map(u=>u.toString())};let o=e.replace(tNe,(u,H,a,l,p)=>["#",H,H,a,a,l,l,p?p+p:""].join("")).match(eNe);if(o!==null)return{mode:"rgb",color:[parseInt(o[1],16),parseInt(o[2],16),parseInt(o[3],16)].map(u=>u.toString()),alpha:o[4]?(parseInt(o[4],16)/255).toString():void 0};var r;let c=(r=e.match(rNe))!==null&&r!==void 0?r:e.match(nNe);if(c===null)return null;let s=[c[2],c[3],c[4]].filter(Boolean).map(u=>u.toString());return s.length===2&&s[0].startsWith("var(")?{mode:c[1],color:[s[0]],alpha:s[1]}:!t&&s.length!==3||s.length<3&&!s.some(u=>/^var\(.*?\)$/.test(u))?null:{mode:c[1],color:s,alpha:(n=c[5])===null||n===void 0||(i=n.toString)===null||i===void 0?void 0:i.call(n)}}function sNe({mode:e,color:t,alpha:n}){let i=n!==void 0;return e==="rgba"||e==="hsla"?`${e}(${t.join(", ")}${i?`, ${n}`:""})`:`${e}(${t.join(" ")}${i?` / ${n}`:""})`}});var By=Le(uN=>{"use strict";Object.defineProperty(uN,"__esModule",{value:!0});function aNe(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}aNe(uN,{withAlphaValue:function(){return oNe},default:function(){return lNe}});var cI=cN();function oNe(e,t,n){if(typeof e=="function")return e({opacityValue:t});let i=(0,cI.parseColor)(e,{loose:!0});return i===null?n:(0,cI.formatColor)({...i,alpha:t})}function lNe({color:e,property:t,variable:n}){let i=[].concat(t);if(typeof e=="function")return{[n]:"1",...Object.fromEntries(i.map(r=>[r,e({opacityVariable:n,opacityValue:`var(${n}, 1)`})]))};let o=(0,cI.parseColor)(e);return o===null?Object.fromEntries(i.map(r=>[r,e])):o.alpha!==void 0?Object.fromEntries(i.map(r=>[r,e])):{[n]:"1",...Object.fromEntries(i.map(r=>[r,(0,cI.formatColor)({...o,alpha:`var(${n}, 1)`})]))}}});var hf=Le(HN=>{"use strict";Object.defineProperty(HN,"__esModule",{value:!0});Object.defineProperty(HN,"splitAtTopLevelOnly",{enumerable:!0,get:function(){return cNe}});function cNe(e,t){let n=[],i=[],o=0,r=!1;for(let c=0;c<e.length;c++){let s=e[c];n.length===0&&s===t[0]&&!r&&(t.length===1||e.slice(c,c+t.length)===t)&&(i.push(e.slice(o,c)),o=c+t.length),r=r?!1:s==="\\",s==="("||s==="["||s==="{"?n.push(s):(s===")"&&n[n.length-1]==="("||s==="]"&&n[n.length-1]==="["||s==="}"&&n[n.length-1]==="{")&&n.pop()}return i.push(e.slice(o)),i}});var dN=Le(pN=>{"use strict";Object.defineProperty(pN,"__esModule",{value:!0});function uNe(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}uNe(pN,{parseBoxShadowValue:function(){return fNe},formatBoxShadowValue:function(){return hNe}});var HNe=hf(),pNe=new Set(["inset","inherit","initial","revert","unset"]),dNe=/\ +(?![^(]*\))/g,EZ=/^-?(\d+|\.\d+)(.*?)$/g;function fNe(e){return(0,HNe.splitAtTopLevelOnly)(e,",").map(n=>{let i=n.trim(),o={raw:i},r=i.split(dNe),c=new Set;for(let s of r)EZ.lastIndex=0,!c.has("KEYWORD")&&pNe.has(s)?(o.keyword=s,c.add("KEYWORD")):EZ.test(s)?c.has("X")?c.has("Y")?c.has("BLUR")?c.has("SPREAD")||(o.spread=s,c.add("SPREAD")):(o.blur=s,c.add("BLUR")):(o.y=s,c.add("Y")):(o.x=s,c.add("X")):o.color?(o.unknown||(o.unknown=[]),o.unknown.push(s)):o.color=s;return o.valid=o.x!==void 0&&o.y!==void 0,o})}function hNe(e){return e.map(t=>t.valid?[t.keyword,t.x,t.y,t.blur,t.spread,t.color].filter(Boolean).join(" "):t.raw).join(", ")}});var Oy=Le(hN=>{"use strict";Object.defineProperty(hN,"__esModule",{value:!0});function _Ne(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}_Ne(hN,{normalize:function(){return Rp},normalizeAttributeSelectors:function(){return bNe},url:function(){return yZ},number:function(){return gZ},percentage:function(){return bZ},length:function(){return AZ},lineWidth:function(){return TNe},shadow:function(){return vNe},color:function(){return CNe},image:function(){return xNe},gradient:function(){return IZ},position:function(){return wNe},familyName:function(){return kNe},genericName:function(){return RNe},absoluteSize:function(){return MNe},relativeSize:function(){return ONe}});var mNe=cN(),ENe=dN(),uI=hf(),yNe=["min","max","clamp","calc"];function fN(e){return yNe.some(t=>new RegExp(`^${t}\\(.*\\)`).test(e))}var gNe=new Set(["scroll-timeline-name","timeline-scope","view-timeline-name","font-palette","anchor-name","anchor-scope","position-anchor","position-try-options","scroll-timeline","animation-timeline","view-timeline","position-try"]);function Rp(e,t=null,n=!0){let i=t&&gNe.has(t.property);return e.startsWith("--")&&!i?`var(${e})`:e.includes("url(")?e.split(/(url\(.*?\))/g).filter(Boolean).map(o=>/^url\(.*?\)$/.test(o)?o:Rp(o,t,!1)).join(""):(e=e.replace(/([^\\])_+/g,(o,r)=>r+" ".repeat(o.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),n&&(e=e.trim()),e=ANe(e),e)}function bNe(e){return e.includes("=")&&(e=e.replace(/(=.*)/g,(t,n)=>{if(n[1]==="'"||n[1]==='"')return n;if(n.length>2){let i=n[n.length-1];if(n[n.length-2]===" "&&(i==="i"||i==="I"||i==="s"||i==="S"))return`="${n.slice(1,-2)}" ${n[n.length-1]}`}return`="${n.slice(1)}"`})),e}function ANe(e){let t=["theme"],n=["min-content","max-content","fit-content","safe-area-inset-top","safe-area-inset-right","safe-area-inset-bottom","safe-area-inset-left","titlebar-area-x","titlebar-area-y","titlebar-area-width","titlebar-area-height","keyboard-inset-top","keyboard-inset-right","keyboard-inset-bottom","keyboard-inset-left","keyboard-inset-width","keyboard-inset-height","radial-gradient","linear-gradient","conic-gradient","repeating-radial-gradient","repeating-linear-gradient","repeating-conic-gradient","anchor-size"];return e.replace(/(calc|min|max|clamp)\(.+\)/g,i=>{let o="";function r(){let c=o.trimEnd();return c[c.length-1]}for(let c=0;c<i.length;c++){let s=function(a){return a.split("").every((l,p)=>i[c+p]===l)},u=function(a){let l=1/0;for(let d of a){let h=i.indexOf(d,c);h!==-1&&h<l&&(l=h)}let p=i.slice(c,l);return c+=p.length-1,p},H=i[c];if(s("var"))o+=u([")",","]);else if(n.some(a=>s(a))){let a=n.find(l=>s(l));o+=a,c+=a.length-1}else t.some(a=>s(a))?o+=u([")"]):s("[")?o+=u(["]"]):["+","-","*","/"].includes(H)&&!["(","+","-","*","/",","].includes(r())?o+=` ${H} `:o+=H}return o.replace(/\s+/g," ")})}function yZ(e){return e.startsWith("url(")}function gZ(e){return!isNaN(Number(e))||fN(e)}function bZ(e){return e.endsWith("%")&&gZ(e.slice(0,-1))||fN(e)}var INe=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"],SNe=`(?:${INe.join("|")})`;function AZ(e){return e==="0"||new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${SNe}$`).test(e)||fN(e)}var LNe=new Set(["thin","medium","thick"]);function TNe(e){return LNe.has(e)}function vNe(e){let t=(0,ENe.parseBoxShadowValue)(Rp(e));for(let n of t)if(!n.valid)return!1;return!0}function CNe(e){let t=0;return(0,uI.splitAtTopLevelOnly)(e,"_").every(i=>(i=Rp(i),i.startsWith("var(")?!0:(0,mNe.parseColor)(i,{loose:!0})!==null?(t++,!0):!1))?t>0:!1}function xNe(e){let t=0;return(0,uI.splitAtTopLevelOnly)(e,",").every(i=>(i=Rp(i),i.startsWith("var(")?!0:yZ(i)||IZ(i)||["element(","image(","cross-fade(","image-set("].some(o=>i.startsWith(o))?(t++,!0):!1))?t>0:!1}var DNe=new Set(["conic-gradient","linear-gradient","radial-gradient","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient"]);function IZ(e){e=Rp(e);for(let t of DNe)if(e.startsWith(`${t}(`))return!0;return!1}var PNe=new Set(["center","top","right","bottom","left"]);function wNe(e){let t=0;return(0,uI.splitAtTopLevelOnly)(e,"_").every(i=>(i=Rp(i),i.startsWith("var(")?!0:PNe.has(i)||AZ(i)||bZ(i)?(t++,!0):!1))?t>0:!1}function kNe(e){let t=0;return(0,uI.splitAtTopLevelOnly)(e,",").every(i=>(i=Rp(i),i.startsWith("var(")?!0:i.includes(" ")&&!/(['"])([^"']+)\1/g.test(i)||/^\d/g.test(i)?!1:(t++,!0)))?t>0:!1}var NNe=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function RNe(e){return NNe.has(e)}var $Ne=new Set(["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large"]);function MNe(e){return $Ne.has(e)}var BNe=new Set(["larger","smaller"]);function ONe(e){return BNe.has(e)}});var TZ=Le(_N=>{"use strict";Object.defineProperty(_N,"__esModule",{value:!0});Object.defineProperty(_N,"backgroundSize",{enumerable:!0,get:function(){return FNe}});var SZ=Oy(),LZ=hf();function FNe(e){let t=["cover","contain"];return(0,LZ.splitAtTopLevelOnly)(e,",").every(n=>{let i=(0,LZ.splitAtTopLevelOnly)(n,"_").filter(Boolean);return i.length===1&&t.includes(i[0])?!0:i.length!==1&&i.length!==2?!1:i.every(o=>(0,SZ.length)(o)||(0,SZ.percentage)(o)||o==="auto")})}});var jy=Le(EN=>{"use strict";Object.defineProperty(EN,"__esModule",{value:!0});function jNe(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}jNe(EN,{updateAllClasses:function(){return VNe},asValue:function(){return Fy},parseColorFormat:function(){return mN},asColor:function(){return NZ},asLookupValue:function(){return RZ},typeMap:function(){return HI},coerceValue:function(){return XNe},getMatchingTypes:function(){return $Z}});var UNe=DZ(oI()),vZ=By(),tl=Oy(),CZ=DZ(sI()),qNe=TZ(),WNe=CH();function DZ(e){return e&&e.__esModule?e:{default:e}}function VNe(e,t){e.walkClasses(n=>{n.value=t(n.value),n.raws&&n.raws.value&&(n.raws.value=(0,UNe.default)(n.raws.value))})}function PZ(e,t){if(!$p(e))return;let n=e.slice(1,-1);if(t(n))return(0,tl.normalize)(n)}function KNe(e,t={},n){let i=t[e];if(i!==void 0)return(0,CZ.default)(i);if($p(e)){let o=PZ(e,n);return o===void 0?void 0:(0,CZ.default)(o)}}function Fy(e,t={},{validate:n=()=>!0}={}){var i;let o=(i=t.values)===null||i===void 0?void 0:i[e];return o!==void 0?o:t.supportsNegativeValues&&e.startsWith("-")?KNe(e.slice(1),t.values,n):PZ(e,n)}function $p(e){return e.startsWith("[")&&e.endsWith("]")}function wZ(e){let t=e.lastIndexOf("/"),n=e.lastIndexOf("[",t),i=e.indexOf("]",t);return e[t-1]==="]"||e[t+1]==="["||n!==-1&&i!==-1&&n<t&&t<i&&(t=e.lastIndexOf("/",n)),t===-1||t===e.length-1?[e,void 0]:$p(e)&&!e.includes("]/[")?[e,void 0]:[e.slice(0,t),e.slice(t+1)]}function mN(e){if(typeof e=="string"&&e.includes("<alpha-value>")){let t=e;return({opacityValue:n=1})=>t.replace(/<alpha-value>/g,n)}return e}function kZ(e){return(0,tl.normalize)(e.slice(1,-1))}function NZ(e,t={},{tailwindConfig:n={}}={}){var i;if(((i=t.values)===null||i===void 0?void 0:i[e])!==void 0){var o;return mN((o=t.values)===null||o===void 0?void 0:o[e])}let[r,c]=wZ(e);if(c!==void 0){var s,u,H,a;let l=(a=(s=t.values)===null||s===void 0?void 0:s[r])!==null&&a!==void 0?a:$p(r)?r.slice(1,-1):void 0;return l===void 0?void 0:(l=mN(l),$p(c)?(0,vZ.withAlphaValue)(l,kZ(c)):((u=n.theme)===null||u===void 0||(H=u.opacity)===null||H===void 0?void 0:H[c])===void 0?void 0:(0,vZ.withAlphaValue)(l,n.theme.opacity[c]))}return Fy(e,t,{validate:tl.color})}function RZ(e,t={}){var n;return(n=t.values)===null||n===void 0?void 0:n[e]}function Rl(e){return(t,n)=>Fy(t,n,{validate:e})}var HI={any:Fy,color:NZ,url:Rl(tl.url),image:Rl(tl.image),length:Rl(tl.length),percentage:Rl(tl.percentage),position:Rl(tl.position),lookup:RZ,"generic-name":Rl(tl.genericName),"family-name":Rl(tl.familyName),number:Rl(tl.number),"line-width":Rl(tl.lineWidth),"absolute-size":Rl(tl.absoluteSize),"relative-size":Rl(tl.relativeSize),shadow:Rl(tl.shadow),size:Rl(qNe.backgroundSize)},xZ=Object.keys(HI);function GNe(e,t){let n=e.indexOf(t);return n===-1?[void 0,e]:[e.slice(0,n),e.slice(n+1)]}function XNe(e,t,n,i){if(n.values&&t in n.values)for(let{type:r}of e??[]){let c=HI[r](t,n,{tailwindConfig:i});if(c!==void 0)return[c,r,null]}if($p(t)){let r=t.slice(1,-1),[c,s]=GNe(r,":");if(!/^[\w-_]+$/g.test(c))s=r;else if(c!==void 0&&!xZ.includes(c))return[];if(s.length>0&&xZ.includes(c))return[Fy(`[${s}]`,n),c,null]}let o=$Z(e,t,n,i);for(let r of o)return r;return[]}function*$Z(e,t,n,i){let o=(0,WNe.flagEnabled)(i,"generalizedModifiers"),[r,c]=wZ(t);if(o&&n.modifiers!=null&&(n.modifiers==="any"||typeof n.modifiers=="object"&&(c&&$p(c)||c in n.modifiers))||(r=t,c=void 0),c!==void 0&&r===""&&(r="DEFAULT"),c!==void 0&&typeof n.modifiers=="object"){var u,H;let a=(H=(u=n.modifiers)===null||u===void 0?void 0:u[c])!==null&&H!==void 0?H:null;a!==null?c=a:$p(c)&&(c=kZ(c))}for(let{type:a}of e??[]){let l=HI[a](r,n,{tailwindConfig:i});l!==void 0&&(yield[l,a,c??null])}}});var gN=Le(yN=>{"use strict";Object.defineProperty(yN,"__esModule",{value:!0});Object.defineProperty(yN,"default",{enumerable:!0,get:function(){return ZNe}});function ZNe(e){return typeof e=="function"?e({}):e}});var jZ=Le(AN=>{"use strict";Object.defineProperty(AN,"__esModule",{value:!0});Object.defineProperty(AN,"default",{enumerable:!0,get:function(){return d9e}});var zNe=l_(sI()),JNe=l_(oZ()),QNe=l_(lZ()),YNe=l_(Ow()),OZ=cZ(),MZ=aI(),e9e=fZ(),a_=l_(s_()),t9e=kA(),r9e=jy(),n9e=By(),i9e=l_(gN());function l_(e){return e&&e.__esModule?e:{default:e}}function o_(e){return typeof e=="function"}function Uy(e,...t){let n=t.pop();for(let i of t)for(let o in i){let r=n(e[o],i[o]);r===void 0?(0,a_.default)(e[o])&&(0,a_.default)(i[o])?e[o]=Uy({},e[o],i[o],n):e[o]=i[o]:e[o]=r}return e}var bN={colors:YNe.default,negative(e){return Object.keys(e).filter(t=>e[t]!=="0").reduce((t,n)=>{let i=(0,zNe.default)(e[n]);return i!==void 0&&(t[`-${n}`]=i),t},{})},breakpoints(e){return Object.keys(e).filter(t=>typeof e[t]=="string").reduce((t,n)=>({...t,[`screen-${n}`]:e[n]}),{})}};function s9e(e,...t){return o_(e)?e(...t):e}function a9e(e){return e.reduce((t,{extend:n})=>Uy(t,n,(i,o)=>i===void 0?[o]:Array.isArray(i)?[o,...i]:[o,i]),{})}function o9e(e){return{...e.reduce((t,n)=>(0,OZ.defaults)(t,n),{}),extend:a9e(e)}}function BZ(e,t){if(Array.isArray(e)&&(0,a_.default)(e[0]))return e.concat(t);if(Array.isArray(t)&&(0,a_.default)(t[0])&&(0,a_.default)(e))return[e,...t];if(Array.isArray(t))return t}function l9e({extend:e,...t}){return Uy(t,e,(n,i)=>!o_(n)&&!i.some(o_)?Uy({},n,...i,BZ):(o,r)=>Uy({},...[n,...i].map(c=>s9e(c,o,r)),BZ))}function*c9e(e){let t=(0,MZ.toPath)(e);if(t.length===0||(yield t,Array.isArray(e)))return;let n=/^(.*?)\s*\/\s*([^/]+)$/,i=e.match(n);if(i!==null){let[,o,r]=i,c=(0,MZ.toPath)(o);c.alpha=r,yield c}}function u9e(e){let t=(n,i)=>{for(let o of c9e(n)){let r=0,c=e;for(;c!=null&&r<o.length;)c=c[o[r++]],c=o_(c)&&(o.alpha===void 0||r<=o.length-1)?c(t,bN):c;if(c!==void 0){if(o.alpha!==void 0){let s=(0,r9e.parseColorFormat)(c);return(0,n9e.withAlphaValue)(s,o.alpha,(0,i9e.default)(s))}return(0,a_.default)(c)?(0,t9e.cloneDeep)(c):c}}return i};return Object.assign(t,{theme:t,...bN}),Object.keys(e).reduce((n,i)=>(n[i]=o_(e[i])?e[i](t,bN):e[i],n),{})}function FZ(e){let t=[];return e.forEach(n=>{t=[...t,n];var i;let o=(i=n?.plugins)!==null&&i!==void 0?i:[];o.length!==0&&o.forEach(r=>{r.__isOptionsFunction&&(r=r());var c;t=[...t,...FZ([(c=r?.config)!==null&&c!==void 0?c:{}])]})}),t}function H9e(e){return[...e].reduceRight((n,i)=>o_(i)?i({corePlugins:n}):(0,QNe.default)(i,n),JNe.default)}function p9e(e){return[...e].reduceRight((n,i)=>[...n,...i],[])}function d9e(e){let t=[...FZ(e),{prefix:"",important:!1,separator:":"}];var n,i;return(0,e9e.normalizeConfig)((0,OZ.defaults)({theme:u9e(l9e(o9e(t.map(o=>(n=o?.theme)!==null&&n!==void 0?n:{})))),corePlugins:H9e(t.map(o=>o.corePlugins)),plugins:p9e(e.map(o=>(i=o?.plugins)!==null&&i!==void 0?i:[]))},...t))}});var qZ=Le(IN=>{"use strict";Object.defineProperty(IN,"__esModule",{value:!0});Object.defineProperty(IN,"default",{enumerable:!0,get:function(){return UZ}});var f9e=_9e(NA()),h9e=CH();function _9e(e){return e&&e.__esModule?e:{default:e}}function UZ(e){var t;let n=((t=e?.presets)!==null&&t!==void 0?t:[f9e.default]).slice().reverse().flatMap(r=>UZ(r instanceof Function?r():r)),i={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:r})=>({DEFAULT:"#3b82f67f",...r("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},o=Object.keys(i).filter(r=>(0,h9e.flagEnabled)(e,r)).map(r=>i[r]);return[e,...o,...n]}});var LN=Le(SN=>{"use strict";Object.defineProperty(SN,"__esModule",{value:!0});Object.defineProperty(SN,"default",{enumerable:!0,get:function(){return y9e}});var m9e=WZ(jZ()),E9e=WZ(qZ());function WZ(e){return e&&e.__esModule?e:{default:e}}function y9e(...e){let[,...t]=(0,E9e.default)(e[0]);return(0,m9e.default)([...e,...t])}});var vN=Le((E0t,VZ)=>{var TN=LN();VZ.exports=(TN.__esModule?TN:{default:TN}).default});var xN=Le((b0t,KZ)=>{var g9e=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};KZ.exports=g9e});var DN=Le((A0t,GZ)=>{var b9e="2.0.0",A9e=Number.MAX_SAFE_INTEGER||9007199254740991,I9e=16,S9e=250,L9e=["major","premajor","minor","preminor","patch","prepatch","prerelease"];GZ.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:I9e,MAX_SAFE_BUILD_LENGTH:S9e,MAX_SAFE_INTEGER:A9e,RELEASE_TYPES:L9e,SEMVER_SPEC_VERSION:b9e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var ZZ=Le((Ru,XZ)=>{var{MAX_SAFE_COMPONENT_LENGTH:PN,MAX_SAFE_BUILD_LENGTH:T9e,MAX_LENGTH:v9e}=DN(),C9e=xN();Ru=XZ.exports={};var x9e=Ru.re=[],D9e=Ru.safeRe=[],rn=Ru.src=[],P9e=Ru.safeSrc=[],nn=Ru.t={},w9e=0,wN="[a-zA-Z0-9-]",k9e=[["\\s",1],["\\d",v9e],[wN,T9e]],N9e=e=>{for(let[t,n]of k9e)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e},Jn=(e,t,n)=>{let i=N9e(t),o=w9e++;C9e(e,o,t),nn[e]=o,rn[o]=t,P9e[o]=i,x9e[o]=new RegExp(t,n?"g":void 0),D9e[o]=new RegExp(i,n?"g":void 0)};Jn("NUMERICIDENTIFIER","0|[1-9]\\d*");Jn("NUMERICIDENTIFIERLOOSE","\\d+");Jn("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${wN}*`);Jn("MAINVERSION",`(${rn[nn.NUMERICIDENTIFIER]})\\.(${rn[nn.NUMERICIDENTIFIER]})\\.(${rn[nn.NUMERICIDENTIFIER]})`);Jn("MAINVERSIONLOOSE",`(${rn[nn.NUMERICIDENTIFIERLOOSE]})\\.(${rn[nn.NUMERICIDENTIFIERLOOSE]})\\.(${rn[nn.NUMERICIDENTIFIERLOOSE]})`);Jn("PRERELEASEIDENTIFIER",`(?:${rn[nn.NUMERICIDENTIFIER]}|${rn[nn.NONNUMERICIDENTIFIER]})`);Jn("PRERELEASEIDENTIFIERLOOSE",`(?:${rn[nn.NUMERICIDENTIFIERLOOSE]}|${rn[nn.NONNUMERICIDENTIFIER]})`);Jn("PRERELEASE",`(?:-(${rn[nn.PRERELEASEIDENTIFIER]}(?:\\.${rn[nn.PRERELEASEIDENTIFIER]})*))`);Jn("PRERELEASELOOSE",`(?:-?(${rn[nn.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${rn[nn.PRERELEASEIDENTIFIERLOOSE]})*))`);Jn("BUILDIDENTIFIER",`${wN}+`);Jn("BUILD",`(?:\\+(${rn[nn.BUILDIDENTIFIER]}(?:\\.${rn[nn.BUILDIDENTIFIER]})*))`);Jn("FULLPLAIN",`v?${rn[nn.MAINVERSION]}${rn[nn.PRERELEASE]}?${rn[nn.BUILD]}?`);Jn("FULL",`^${rn[nn.FULLPLAIN]}$`);Jn("LOOSEPLAIN",`[v=\\s]*${rn[nn.MAINVERSIONLOOSE]}${rn[nn.PRERELEASELOOSE]}?${rn[nn.BUILD]}?`);Jn("LOOSE",`^${rn[nn.LOOSEPLAIN]}$`);Jn("GTLT","((?:<|>)?=?)");Jn("XRANGEIDENTIFIERLOOSE",`${rn[nn.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);Jn("XRANGEIDENTIFIER",`${rn[nn.NUMERICIDENTIFIER]}|x|X|\\*`);Jn("XRANGEPLAIN",`[v=\\s]*(${rn[nn.XRANGEIDENTIFIER]})(?:\\.(${rn[nn.XRANGEIDENTIFIER]})(?:\\.(${rn[nn.XRANGEIDENTIFIER]})(?:${rn[nn.PRERELEASE]})?${rn[nn.BUILD]}?)?)?`);Jn("XRANGEPLAINLOOSE",`[v=\\s]*(${rn[nn.XRANGEIDENTIFIERLOOSE]})(?:\\.(${rn[nn.XRANGEIDENTIFIERLOOSE]})(?:\\.(${rn[nn.XRANGEIDENTIFIERLOOSE]})(?:${rn[nn.PRERELEASELOOSE]})?${rn[nn.BUILD]}?)?)?`);Jn("XRANGE",`^${rn[nn.GTLT]}\\s*${rn[nn.XRANGEPLAIN]}$`);Jn("XRANGELOOSE",`^${rn[nn.GTLT]}\\s*${rn[nn.XRANGEPLAINLOOSE]}$`);Jn("COERCEPLAIN",`(^|[^\\d])(\\d{1,${PN}})(?:\\.(\\d{1,${PN}}))?(?:\\.(\\d{1,${PN}}))?`);Jn("COERCE",`${rn[nn.COERCEPLAIN]}(?:$|[^\\d])`);Jn("COERCEFULL",rn[nn.COERCEPLAIN]+`(?:${rn[nn.PRERELEASE]})?(?:${rn[nn.BUILD]})?(?:$|[^\\d])`);Jn("COERCERTL",rn[nn.COERCE],!0);Jn("COERCERTLFULL",rn[nn.COERCEFULL],!0);Jn("LONETILDE","(?:~>?)");Jn("TILDETRIM",`(\\s*)${rn[nn.LONETILDE]}\\s+`,!0);Ru.tildeTrimReplace="$1~";Jn("TILDE",`^${rn[nn.LONETILDE]}${rn[nn.XRANGEPLAIN]}$`);Jn("TILDELOOSE",`^${rn[nn.LONETILDE]}${rn[nn.XRANGEPLAINLOOSE]}$`);Jn("LONECARET","(?:\\^)");Jn("CARETTRIM",`(\\s*)${rn[nn.LONECARET]}\\s+`,!0);Ru.caretTrimReplace="$1^";Jn("CARET",`^${rn[nn.LONECARET]}${rn[nn.XRANGEPLAIN]}$`);Jn("CARETLOOSE",`^${rn[nn.LONECARET]}${rn[nn.XRANGEPLAINLOOSE]}$`);Jn("COMPARATORLOOSE",`^${rn[nn.GTLT]}\\s*(${rn[nn.LOOSEPLAIN]})$|^$`);Jn("COMPARATOR",`^${rn[nn.GTLT]}\\s*(${rn[nn.FULLPLAIN]})$|^$`);Jn("COMPARATORTRIM",`(\\s*)${rn[nn.GTLT]}\\s*(${rn[nn.LOOSEPLAIN]}|${rn[nn.XRANGEPLAIN]})`,!0);Ru.comparatorTrimReplace="$1$2$3";Jn("HYPHENRANGE",`^\\s*(${rn[nn.XRANGEPLAIN]})\\s+-\\s+(${rn[nn.XRANGEPLAIN]})\\s*$`);Jn("HYPHENRANGELOOSE",`^\\s*(${rn[nn.XRANGEPLAINLOOSE]})\\s+-\\s+(${rn[nn.XRANGEPLAINLOOSE]})\\s*$`);Jn("STAR","(<|>)?=?\\s*\\*");Jn("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");Jn("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var JZ=Le((I0t,zZ)=>{var R9e=Object.freeze({loose:!0}),$9e=Object.freeze({}),M9e=e=>e?typeof e!="object"?R9e:e:$9e;zZ.exports=M9e});var tz=Le((S0t,ez)=>{var QZ=/^[0-9]+$/,YZ=(e,t)=>{let n=QZ.test(e),i=QZ.test(t);return n&&i&&(e=+e,t=+t),e===t?0:n&&!i?-1:i&&!n?1:e<t?-1:1},B9e=(e,t)=>YZ(t,e);ez.exports={compareIdentifiers:YZ,rcompareIdentifiers:B9e}});var az=Le((L0t,sz)=>{var pI=xN(),{MAX_LENGTH:rz,MAX_SAFE_INTEGER:dI}=DN(),{safeRe:nz,safeSrc:iz,t:fI}=ZZ(),O9e=JZ(),{compareIdentifiers:u_}=tz(),kN=class e{constructor(t,n){if(n=O9e(n),t instanceof e){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>rz)throw new TypeError(`version is longer than ${rz} characters`);pI("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;let i=t.trim().match(n.loose?nz[fI.LOOSE]:nz[fI.FULL]);if(!i)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>dI||this.major<0)throw new TypeError("Invalid major version");if(this.minor>dI||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>dI||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(o=>{if(/^[0-9]+$/.test(o)){let r=+o;if(r>=0&&r<dI)return r}return o}):this.prerelease=[],this.build=i[5]?i[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(pI("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if(typeof t=="string"&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),u_(this.major,t.major)||u_(this.minor,t.minor)||u_(this.patch,t.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{let i=this.prerelease[n],o=t.prerelease[n];if(pI("prerelease compare",n,i,o),i===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(i===void 0)return-1;if(i===o)continue;return u_(i,o)}while(++n)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let n=0;do{let i=this.build[n],o=t.build[n];if(pI("build compare",n,i,o),i===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(i===void 0)return-1;if(i===o)continue;return u_(i,o)}while(++n)}inc(t,n,i){if(t.startsWith("pre")){if(!n&&i===!1)throw new Error("invalid increment argument: identifier is empty");if(n){let o=new RegExp(`^${this.options.loose?iz[fI.PRERELEASELOOSE]:iz[fI.PRERELEASE]}$`),r=`-${n}`.match(o);if(!r||r[1]!==n)throw new Error(`invalid identifier: ${n}`)}}switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,i);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,i);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,i),this.inc("pre",n,i);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,i),this.inc("pre",n,i);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let o=Number(i)?1:0;if(this.prerelease.length===0)this.prerelease=[o];else{let r=this.prerelease.length;for(;--r>=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);if(r===-1){if(n===this.prerelease.join(".")&&i===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(o)}}if(n){let r=[n,o];i===!1&&(r=[n]),u_(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};sz.exports=kN});var NN=Le((T0t,lz)=>{var oz=az(),F9e=(e,t,n)=>new oz(e,n).compare(new oz(t,n));lz.exports=F9e});var uz=Le((v0t,cz)=>{var j9e=NN(),U9e=(e,t,n)=>j9e(e,t,n)>=0;cz.exports=U9e});var pz=Le((C0t,Hz)=>{var q9e=NN(),W9e=(e,t,n)=>q9e(e,t,n)<=0;Hz.exports=W9e});var Fo=Le((x0t,hz)=>{hz.exports=function(e,t,n,i,o){for(t=t.split?t.split("."):t,i=0;i<t.length;i++)e=e?e[t[i]]:o;return e===o?n:e}});var mz=Le((P0t,RN)=>{"use strict";var _z=require("fs");RN.exports=e=>new Promise(t=>{_z.access(e,n=>{t(!n)})});RN.exports.sync=e=>{try{return _z.accessSync(e),!0}catch{return!1}}});var yz=Le((w0t,$N)=>{"use strict";var Ez=(e,...t)=>new Promise(n=>{n(e(...t))});$N.exports=Ez;$N.exports.default=Ez});var bz=Le((k0t,MN)=>{"use strict";var V9e=yz(),gz=e=>{if(!((Number.isInteger(e)||e===1/0)&&e>0))return Promise.reject(new TypeError("Expected `concurrency` to be a number from 1 and up"));let t=[],n=0,i=()=>{n--,t.length>0&&t.shift()()},o=(s,u,...H)=>{n++;let a=V9e(s,...H);u(a),a.then(i,i)},r=(s,u,...H)=>{n<e?o(s,u,...H):t.push(o.bind(null,s,u,...H))},c=(s,...u)=>new Promise(H=>r(s,H,...u));return Object.defineProperties(c,{activeCount:{get:()=>n},pendingCount:{get:()=>t.length},clearQueue:{value:()=>{t.length=0}}}),c};MN.exports=gz;MN.exports.default=gz});var Sz=Le((N0t,Iz)=>{"use strict";var Az=bz(),hI=class extends Error{constructor(t){super(),this.value=t}},K9e=(e,t)=>Promise.resolve(e).then(t),G9e=e=>Promise.all(e).then(t=>t[1]===!0&&Promise.reject(new hI(t[0])));Iz.exports=(e,t,n)=>{n=Object.assign({concurrency:1/0,preserveOrder:!0},n);let i=Az(n.concurrency),o=[...e].map(c=>[c,i(K9e,c,t)]),r=Az(n.preserveOrder?1:1/0);return Promise.all(o.map(c=>r(G9e,c))).then(()=>{}).catch(c=>c instanceof hI?c.value:Promise.reject(c))}});var vz=Le((R0t,BN)=>{"use strict";var Lz=require("path"),Tz=mz(),X9e=Sz();BN.exports=(e,t)=>(t=Object.assign({cwd:process.cwd()},t),X9e(e,n=>Tz(Lz.resolve(t.cwd,n)),t));BN.exports.sync=(e,t)=>{t=Object.assign({cwd:process.cwd()},t);for(let n of e)if(Tz.sync(Lz.resolve(t.cwd,n)))return n}});var xz=Le(($0t,ON)=>{"use strict";var Mp=require("path"),Cz=vz();ON.exports=(e,t={})=>{let n=Mp.resolve(t.cwd||""),{root:i}=Mp.parse(n),o=[].concat(e);return new Promise(r=>{(function c(s){Cz(o,{cwd:s}).then(u=>{u?r(Mp.join(s,u)):s===i?r(null):c(Mp.dirname(s))})})(n)})};ON.exports.sync=(e,t={})=>{let n=Mp.resolve(t.cwd||""),{root:i}=Mp.parse(n),o=[].concat(e);for(;;){let r=Cz.sync(o,{cwd:n});if(r)return Mp.join(n,r);if(n===i)return null;n=Mp.dirname(n)}}});var Pz=Le((M0t,FN)=>{"use strict";var Dz=xz();FN.exports=async({cwd:e}={})=>Dz("package.json",{cwd:e});FN.exports.sync=({cwd:e}={})=>Dz.sync("package.json",{cwd:e})});var wz=Le(Wy=>{Wy.get=function(e){var t=Error.stackTraceLimit;Error.stackTraceLimit=1/0;var n={},i=Error.prepareStackTrace;Error.prepareStackTrace=function(r,c){return c},Error.captureStackTrace(n,e||Wy.get);var o=n.stack;return Error.prepareStackTrace=i,Error.stackTraceLimit=t,o};Wy.parse=function(e){if(!e.stack)return[];var t=this,n=e.stack.split(`
|
|
`).slice(1);return n.map(function(i){if(i.match(/^\s*[-]{4,}$/))return t._createParsedCallSite({fileName:i,lineNumber:null,functionName:null,typeName:null,methodName:null,columnNumber:null,native:null});var o=i.match(/at (?:(.+)\s+\()?(?:(.+?):(\d+)(?::(\d+))?|([^)]+))\)?/);if(o){var r=null,c=null,s=null,u=null,H=null,a=o[5]==="native";if(o[1]){s=o[1];var l=s.lastIndexOf(".");if(s[l-1]=="."&&l--,l>0){r=s.substr(0,l),c=s.substr(l+1);var p=r.indexOf(".Module");p>0&&(s=s.substr(p+1),r=r.substr(0,p))}u=null}c&&(u=r,H=c),c==="<anonymous>"&&(H=null,s=null);var d={fileName:o[2]||null,lineNumber:parseInt(o[3],10)||null,functionName:s,typeName:u,methodName:H,columnNumber:parseInt(o[4],10)||null,native:a};return t._createParsedCallSite(d)}}).filter(function(i){return!!i})};function qy(e){for(var t in e)this[t]=e[t]}var Z9e=["this","typeName","functionName","methodName","fileName","lineNumber","columnNumber","function","evalOrigin"],z9e=["topLevel","eval","native","constructor"];Z9e.forEach(function(e){qy.prototype[e]=null,qy.prototype["get"+e[0].toUpperCase()+e.substr(1)]=function(){return this[e]}});z9e.forEach(function(e){qy.prototype[e]=!1,qy.prototype["is"+e[0].toUpperCase()+e.substr(1)]=function(){return this[e]}});Wy._createParsedCallSite=function(e){return new qy(e)}});var Nz=Le((O0t,kz)=>{kz.exports=function(e,t){for(var n=-1,i=[];(n=e.indexOf(t,n+1))!==-1;)i.push(n);return i}});var $z=Le((F0t,Rz)=>{"use strict";function J9e(e,t){for(var n=1,i=e.length,o=e[0],r=e[0],c=1;c<i;++c)if(r=o,o=e[c],t(o,r)){if(c===n){n++;continue}e[n++]=o}return e.length=n,e}function Q9e(e){for(var t=1,n=e.length,i=e[0],o=e[0],r=1;r<n;++r,o=i)if(o=i,i=e[r],i!==o){if(r===t){t++;continue}e[t++]=i}return e.length=t,e}function Y9e(e,t,n){return e.length===0?e:t?(n||e.sort(t),J9e(e,t)):(n||e.sort(),Q9e(e))}Rz.exports=Y9e});var jN=Le((_I,Bz)=>{"use strict";_I.__esModule=!0;_I.default=t2e;var Mz="[\\x20\\t\\r\\n\\f]",e2e=new RegExp("\\\\([\\da-f]{1,6}"+Mz+"?|("+Mz+")|.)","ig");function t2e(e){return e.replace(e2e,function(t,n,i){var o="0x"+n-65536;return o!==o||i?n:o<0?String.fromCharCode(o+65536):String.fromCharCode(o>>10|55296,o&1023|56320)})}Bz.exports=_I.default});var Fz=Le((mI,Oz)=>{"use strict";mI.__esModule=!0;mI.default=r2e;function r2e(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(;n.length>0;){var o=n.shift();if(!e[o])return;e=e[o]}return e}Oz.exports=mI.default});var Uz=Le((EI,jz)=>{"use strict";EI.__esModule=!0;EI.default=n2e;function n2e(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(;n.length>0;){var o=n.shift();e[o]||(e[o]={}),e=e[o]}}jz.exports=EI.default});var Wz=Le((yI,qz)=>{"use strict";yI.__esModule=!0;yI.default=i2e;function i2e(e){for(var t="",n=e.indexOf("/*"),i=0;n>=0;){t=t+e.slice(i,n);var o=e.indexOf("*/",n+2);if(o<0)return t;i=o+2,n=e.indexOf("/*",i)}return t=t+e.slice(i),t}qz.exports=yI.default});var Vy=Le($u=>{"use strict";$u.__esModule=!0;$u.stripComments=$u.ensureObject=$u.getProp=$u.unesc=void 0;var s2e=gI(jN());$u.unesc=s2e.default;var a2e=gI(Fz());$u.getProp=a2e.default;var o2e=gI(Uz());$u.ensureObject=o2e.default;var l2e=gI(Wz());$u.stripComments=l2e.default;function gI(e){return e&&e.__esModule?e:{default:e}}});var wH=Le((Ky,Gz)=>{"use strict";Ky.__esModule=!0;Ky.default=void 0;var Vz=Vy();function Kz(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function c2e(e,t,n){return t&&Kz(e.prototype,t),n&&Kz(e,n),e}var u2e=function e(t,n){if(typeof t!="object"||t===null)return t;var i=new t.constructor;for(var o in t)if(t.hasOwnProperty(o)){var r=t[o],c=typeof r;o==="parent"&&c==="object"?n&&(i[o]=n):r instanceof Array?i[o]=r.map(function(s){return e(s,i)}):i[o]=e(r,i)}return i},H2e=function(){function e(n){n===void 0&&(n={}),Object.assign(this,n),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var t=e.prototype;return t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){if(this.parent){for(var i in arguments)this.parent.insertBefore(this,arguments[i]);this.remove()}return this},t.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.clone=function(i){i===void 0&&(i={});var o=u2e(this);for(var r in i)o[r]=i[r];return o},t.appendToPropertyAndEscape=function(i,o,r){this.raws||(this.raws={});var c=this[i],s=this.raws[i];this[i]=c+o,s||r!==o?this.raws[i]=(s||c)+r:delete this.raws[i]},t.setPropertyAndEscape=function(i,o,r){this.raws||(this.raws={}),this[i]=o,this.raws[i]=r},t.setPropertyWithoutEscape=function(i,o){this[i]=o,this.raws&&delete this.raws[i]},t.isAtPosition=function(i,o){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>i||this.source.end.line<i||this.source.start.line===i&&this.source.start.column>o||this.source.end.line===i&&this.source.end.column<o)},t.stringifyProperty=function(i){return this.raws&&this.raws[i]||this[i]},t.toString=function(){return[this.rawSpaceBefore,String(this.stringifyProperty("value")),this.rawSpaceAfter].join("")},c2e(e,[{key:"rawSpaceBefore",get:function(){var i=this.raws&&this.raws.spaces&&this.raws.spaces.before;return i===void 0&&(i=this.spaces&&this.spaces.before),i||""},set:function(i){(0,Vz.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=i}},{key:"rawSpaceAfter",get:function(){var i=this.raws&&this.raws.spaces&&this.raws.spaces.after;return i===void 0&&(i=this.spaces.after),i||""},set:function(i){(0,Vz.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=i}}]),e}();Ky.default=H2e;Gz.exports=Ky.default});var vo=Le(Os=>{"use strict";Os.__esModule=!0;Os.UNIVERSAL=Os.ATTRIBUTE=Os.CLASS=Os.COMBINATOR=Os.COMMENT=Os.ID=Os.NESTING=Os.PSEUDO=Os.ROOT=Os.SELECTOR=Os.STRING=Os.TAG=void 0;var p2e="tag";Os.TAG=p2e;var d2e="string";Os.STRING=d2e;var f2e="selector";Os.SELECTOR=f2e;var h2e="root";Os.ROOT=h2e;var _2e="pseudo";Os.PSEUDO=_2e;var m2e="nesting";Os.NESTING=m2e;var E2e="id";Os.ID=E2e;var y2e="comment";Os.COMMENT=y2e;var g2e="combinator";Os.COMBINATOR=g2e;var b2e="class";Os.CLASS=b2e;var A2e="attribute";Os.ATTRIBUTE=A2e;var I2e="universal";Os.UNIVERSAL=I2e});var bI=Le((Gy,Zz)=>{"use strict";Gy.__esModule=!0;Gy.default=void 0;var S2e=T2e(wH()),kH=L2e(vo());function L2e(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};i.get||i.set?Object.defineProperty(t,n,i):t[n]=e[n]}}return t.default=e,t}function T2e(e){return e&&e.__esModule?e:{default:e}}function Xz(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function v2e(e,t,n){return t&&Xz(e.prototype,t),n&&Xz(e,n),e}function C2e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var x2e=function(e){C2e(t,e);function t(i){var o;return o=e.call(this,i)||this,o.nodes||(o.nodes=[]),o}var n=t.prototype;return n.append=function(o){return o.parent=this,this.nodes.push(o),this},n.prepend=function(o){return o.parent=this,this.nodes.unshift(o),this},n.at=function(o){return this.nodes[o]},n.index=function(o){return typeof o=="number"?o:this.nodes.indexOf(o)},n.removeChild=function(o){o=this.index(o),this.at(o).parent=void 0,this.nodes.splice(o,1);var r;for(var c in this.indexes)r=this.indexes[c],r>=o&&(this.indexes[c]=r-1);return this},n.removeAll=function(){for(var c=this.nodes,o=Array.isArray(c),r=0,c=o?c:c[Symbol.iterator]();;){var s;if(o){if(r>=c.length)break;s=c[r++]}else{if(r=c.next(),r.done)break;s=r.value}var u=s;u.parent=void 0}return this.nodes=[],this},n.empty=function(){return this.removeAll()},n.insertAfter=function(o,r){r.parent=this;var c=this.index(o);this.nodes.splice(c+1,0,r),r.parent=this;var s;for(var u in this.indexes)s=this.indexes[u],c<=s&&(this.indexes[u]=s+1);return this},n.insertBefore=function(o,r){r.parent=this;var c=this.index(o);this.nodes.splice(c,0,r),r.parent=this;var s;for(var u in this.indexes)s=this.indexes[u],s<=c&&(this.indexes[u]=s+1);return this},n._findChildAtPosition=function(o,r){var c=void 0;return this.each(function(s){if(s.atPosition){var u=s.atPosition(o,r);if(u)return c=u,!1}else if(s.isAtPosition(o,r))return c=s,!1}),c},n.atPosition=function(o,r){if(this.isAtPosition(o,r))return this._findChildAtPosition(o,r)||this},n._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},n.each=function(o){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var r=this.lastEach;if(this.indexes[r]=0,!!this.length){for(var c,s;this.indexes[r]<this.length&&(c=this.indexes[r],s=o(this.at(c),c),s!==!1);)this.indexes[r]+=1;if(delete this.indexes[r],s===!1)return!1}},n.walk=function(o){return this.each(function(r,c){var s=o(r,c);if(s!==!1&&r.length&&(s=r.walk(o)),s===!1)return!1})},n.walkAttributes=function(o){var r=this;return this.walk(function(c){if(c.type===kH.ATTRIBUTE)return o.call(r,c)})},n.walkClasses=function(o){var r=this;return this.walk(function(c){if(c.type===kH.CLASS)return o.call(r,c)})},n.walkCombinators=function(o){var r=this;return this.walk(function(c){if(c.type===kH.COMBINATOR)return o.call(r,c)})},n.walkComments=function(o){var r=this;return this.walk(function(c){if(c.type===kH.COMMENT)return o.call(r,c)})},n.walkIds=function(o){var r=this;return this.walk(function(c){if(c.type===kH.ID)return o.call(r,c)})},n.walkNesting=function(o){var r=this;return this.walk(function(c){if(c.type===kH.NESTING)return o.call(r,c)})},n.walkPseudos=function(o){var r=this;return this.walk(function(c){if(c.type===kH.PSEUDO)return o.call(r,c)})},n.walkTags=function(o){var r=this;return this.walk(function(c){if(c.type===kH.TAG)return o.call(r,c)})},n.walkUniversals=function(o){var r=this;return this.walk(function(c){if(c.type===kH.UNIVERSAL)return o.call(r,c)})},n.split=function(o){var r=this,c=[];return this.reduce(function(s,u,H){var a=o.call(r,u);return c.push(u),a?(s.push(c),c=[]):H===r.length-1&&s.push(c),s},[])},n.map=function(o){return this.nodes.map(o)},n.reduce=function(o,r){return this.nodes.reduce(o,r)},n.every=function(o){return this.nodes.every(o)},n.some=function(o){return this.nodes.some(o)},n.filter=function(o){return this.nodes.filter(o)},n.sort=function(o){return this.nodes.sort(o)},n.toString=function(){return this.map(String).join("")},v2e(t,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),t}(S2e.default);Gy.default=x2e;Zz.exports=Gy.default});var UN=Le((Xy,Jz)=>{"use strict";Xy.__esModule=!0;Xy.default=void 0;var D2e=w2e(bI()),P2e=vo();function w2e(e){return e&&e.__esModule?e:{default:e}}function zz(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function k2e(e,t,n){return t&&zz(e.prototype,t),n&&zz(e,n),e}function N2e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var R2e=function(e){N2e(t,e);function t(i){var o;return o=e.call(this,i)||this,o.type=P2e.ROOT,o}var n=t.prototype;return n.toString=function(){var o=this.reduce(function(r,c){return r.push(String(c)),r},[]).join(",");return this.trailingComma?o+",":o},n.error=function(o,r){return this._error?this._error(o,r):new Error(o)},k2e(t,[{key:"errorGenerator",set:function(o){this._error=o}}]),t}(D2e.default);Xy.default=R2e;Jz.exports=Xy.default});var qN=Le((Zy,Qz)=>{"use strict";Zy.__esModule=!0;Zy.default=void 0;var $2e=B2e(bI()),M2e=vo();function B2e(e){return e&&e.__esModule?e:{default:e}}function O2e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var F2e=function(e){O2e(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=M2e.SELECTOR,i}return t}($2e.default);Zy.default=F2e;Qz.exports=Zy.default});var WN=Le((zy,tJ)=>{"use strict";zy.__esModule=!0;zy.default=void 0;var j2e=eJ(Nu()),U2e=Vy(),q2e=eJ(wH()),W2e=vo();function eJ(e){return e&&e.__esModule?e:{default:e}}function Yz(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function V2e(e,t,n){return t&&Yz(e.prototype,t),n&&Yz(e,n),e}function K2e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var G2e=function(e){K2e(t,e);function t(i){var o;return o=e.call(this,i)||this,o.type=W2e.CLASS,o._constructed=!0,o}var n=t.prototype;return n.toString=function(){return[this.rawSpaceBefore,"."+this.stringifyProperty("value"),this.rawSpaceAfter].join("")},V2e(t,[{key:"value",set:function(o){if(this._constructed){var r=(0,j2e.default)(o,{isIdentifier:!0});r!==o?((0,U2e.ensureObject)(this,"raws"),this.raws.value=r):this.raws&&delete this.raws.value}this._value=o},get:function(){return this._value}}]),t}(q2e.default);zy.default=G2e;tJ.exports=zy.default});var VN=Le((Jy,rJ)=>{"use strict";Jy.__esModule=!0;Jy.default=void 0;var X2e=z2e(wH()),Z2e=vo();function z2e(e){return e&&e.__esModule?e:{default:e}}function J2e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Q2e=function(e){J2e(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=Z2e.COMMENT,i}return t}(X2e.default);Jy.default=Q2e;rJ.exports=Jy.default});var KN=Le((Qy,nJ)=>{"use strict";Qy.__esModule=!0;Qy.default=void 0;var Y2e=tRe(wH()),eRe=vo();function tRe(e){return e&&e.__esModule?e:{default:e}}function rRe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var nRe=function(e){rRe(t,e);function t(i){var o;return o=e.call(this,i)||this,o.type=eRe.ID,o}var n=t.prototype;return n.toString=function(){return[this.rawSpaceBefore,"#"+this.stringifyProperty("value"),this.rawSpaceAfter].join("")},t}(Y2e.default);Qy.default=nRe;nJ.exports=Qy.default});var AI=Le((Yy,aJ)=>{"use strict";Yy.__esModule=!0;Yy.default=void 0;var iRe=sJ(Nu()),sRe=Vy(),aRe=sJ(wH());function sJ(e){return e&&e.__esModule?e:{default:e}}function iJ(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function oRe(e,t,n){return t&&iJ(e.prototype,t),n&&iJ(e,n),e}function lRe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var cRe=function(e){lRe(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.qualifiedName=function(o){return this.namespace?this.namespaceString+"|"+o:o},n.toString=function(){return[this.rawSpaceBefore,this.qualifiedName(this.stringifyProperty("value")),this.rawSpaceAfter].join("")},oRe(t,[{key:"namespace",get:function(){return this._namespace},set:function(o){if(o===!0||o==="*"||o==="&"){this._namespace=o,this.raws&&delete this.raws.namespace;return}var r=(0,iRe.default)(o,{isIdentifier:!0});this._namespace=o,r!==o?((0,sRe.ensureObject)(this,"raws"),this.raws.namespace=r):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(o){this.namespace=o}},{key:"namespaceString",get:function(){if(this.namespace){var o=this.stringifyProperty("namespace");return o===!0?"":o}else return""}}]),t}(aRe.default);Yy.default=cRe;aJ.exports=Yy.default});var GN=Le((e1,oJ)=>{"use strict";e1.__esModule=!0;e1.default=void 0;var uRe=pRe(AI()),HRe=vo();function pRe(e){return e&&e.__esModule?e:{default:e}}function dRe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var fRe=function(e){dRe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=HRe.TAG,i}return t}(uRe.default);e1.default=fRe;oJ.exports=e1.default});var XN=Le((t1,lJ)=>{"use strict";t1.__esModule=!0;t1.default=void 0;var hRe=mRe(wH()),_Re=vo();function mRe(e){return e&&e.__esModule?e:{default:e}}function ERe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var yRe=function(e){ERe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=_Re.STRING,i}return t}(hRe.default);t1.default=yRe;lJ.exports=t1.default});var ZN=Le((r1,cJ)=>{"use strict";r1.__esModule=!0;r1.default=void 0;var gRe=ARe(bI()),bRe=vo();function ARe(e){return e&&e.__esModule?e:{default:e}}function IRe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var SRe=function(e){IRe(t,e);function t(i){var o;return o=e.call(this,i)||this,o.type=bRe.PSEUDO,o}var n=t.prototype;return n.toString=function(){var o=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),o,this.rawSpaceAfter].join("")},t}(gRe.default);r1.default=SRe;cJ.exports=r1.default});var e9=Le(s1=>{"use strict";s1.__esModule=!0;s1.unescapeValue=YN;s1.default=void 0;var n1=QN(Nu()),LRe=QN(jN()),TRe=QN(AI()),vRe=vo(),zN;function QN(e){return e&&e.__esModule?e:{default:e}}function uJ(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function CRe(e,t,n){return t&&uJ(e.prototype,t),n&&uJ(e,n),e}function xRe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var DRe=require("util"),i1=DRe.deprecate,PRe=/^('|")(.*)\1$/,wRe=i1(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),kRe=i1(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),NRe=i1(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function YN(e){var t=!1,n=null,i=e,o=i.match(PRe);return o&&(n=o[1],i=o[2]),i=(0,LRe.default)(i),i!==e&&(t=!0),{deprecatedUsage:t,unescaped:i,quoteMark:n}}function RRe(e){if(e.quoteMark!==void 0||e.value===void 0)return e;NRe();var t=YN(e.value),n=t.quoteMark,i=t.unescaped;return e.raws||(e.raws={}),e.raws.value===void 0&&(e.raws.value=e.value),e.value=i,e.quoteMark=n,e}var II=function(e){xRe(t,e);function t(i){var o;return i===void 0&&(i={}),o=e.call(this,RRe(i))||this,o.type=vRe.ATTRIBUTE,o.raws=o.raws||{},Object.defineProperty(o.raws,"unquoted",{get:i1(function(){return o.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:i1(function(){return o.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),o._constructed=!0,o}var n=t.prototype;return n.getQuotedValue=function(o){o===void 0&&(o={});var r=this._determineQuoteMark(o),c=JN[r],s=(0,n1.default)(this._value,c);return s},n._determineQuoteMark=function(o){return o.smart?this.smartQuoteMark(o):this.preferredQuoteMark(o)},n.setValue=function(o,r){r===void 0&&(r={}),this._value=o,this._quoteMark=this._determineQuoteMark(r),this._syncRawValue()},n.smartQuoteMark=function(o){var r=this.value,c=r.replace(/[^']/g,"").length,s=r.replace(/[^"]/g,"").length;if(c+s===0){var u=(0,n1.default)(r,{isIdentifier:!0});if(u===r)return t.NO_QUOTE;var H=this.preferredQuoteMark(o);if(H===t.NO_QUOTE){var a=this.quoteMark||o.quoteMark||t.DOUBLE_QUOTE,l=JN[a],p=(0,n1.default)(r,l);if(p.length<u.length)return a}return H}else return s===c?this.preferredQuoteMark(o):s<c?t.DOUBLE_QUOTE:t.SINGLE_QUOTE},n.preferredQuoteMark=function(o){var r=o.preferCurrentQuoteMark?this.quoteMark:o.quoteMark;return r===void 0&&(r=o.preferCurrentQuoteMark?o.quoteMark:this.quoteMark),r===void 0&&(r=t.DOUBLE_QUOTE),r},n._syncRawValue=function(){var o=(0,n1.default)(this._value,JN[this.quoteMark]);o===this._value?this.raws&&delete this.raws.value:this.raws.value=o},n._handleEscapes=function(o,r){if(this._constructed){var c=(0,n1.default)(r,{isIdentifier:!0});c!==r?this.raws[o]=c:delete this.raws[o]}},n._spacesFor=function(o){var r={before:"",after:""},c=this.spaces[o]||{},s=this.raws.spaces&&this.raws.spaces[o]||{};return Object.assign(r,c,s)},n._stringFor=function(o,r,c){r===void 0&&(r=o),c===void 0&&(c=HJ);var s=this._spacesFor(r);return c(this.stringifyProperty(o),s)},n.offsetOf=function(o){var r=1,c=this._spacesFor("attribute");if(r+=c.before.length,o==="namespace"||o==="ns")return this.namespace?r:-1;if(o==="attributeNS"||(r+=this.namespaceString.length,this.namespace&&(r+=1),o==="attribute"))return r;r+=this.stringifyProperty("attribute").length,r+=c.after.length;var s=this._spacesFor("operator");r+=s.before.length;var u=this.stringifyProperty("operator");if(o==="operator")return u?r:-1;r+=u.length,r+=s.after.length;var H=this._spacesFor("value");r+=H.before.length;var a=this.stringifyProperty("value");if(o==="value")return a?r:-1;r+=a.length,r+=H.after.length;var l=this._spacesFor("insensitive");return r+=l.before.length,o==="insensitive"&&this.insensitive?r:-1},n.toString=function(){var o=this,r=[this.rawSpaceBefore,"["];return r.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(r.push(this._stringFor("operator")),r.push(this._stringFor("value")),r.push(this._stringFor("insensitiveFlag","insensitive",function(c,s){return c.length>0&&!o.quoted&&s.before.length===0&&!(o.spaces.value&&o.spaces.value.after)&&(s.before=" "),HJ(c,s)}))),r.push("]"),r.push(this.rawSpaceAfter),r.join("")},CRe(t,[{key:"quoted",get:function(){var o=this.quoteMark;return o==="'"||o==='"'},set:function(o){kRe()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(o){if(!this._constructed){this._quoteMark=o;return}this._quoteMark!==o&&(this._quoteMark=o,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(o){if(this._constructed){var r=YN(o),c=r.deprecatedUsage,s=r.unescaped,u=r.quoteMark;if(c&&wRe(),s===this._value&&u===this._quoteMark)return;this._value=s,this._quoteMark=u,this._syncRawValue()}else this._value=o}},{key:"attribute",get:function(){return this._attribute},set:function(o){this._handleEscapes("attribute",o),this._attribute=o}}]),t}(TRe.default);s1.default=II;II.NO_QUOTE=null;II.SINGLE_QUOTE="'";II.DOUBLE_QUOTE='"';var JN=(zN={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},zN[null]={isIdentifier:!0},zN);function HJ(e,t){return""+t.before+e+t.after}});var t9=Le((a1,pJ)=>{"use strict";a1.__esModule=!0;a1.default=void 0;var $Re=BRe(AI()),MRe=vo();function BRe(e){return e&&e.__esModule?e:{default:e}}function ORe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var FRe=function(e){ORe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=MRe.UNIVERSAL,i.value="*",i}return t}($Re.default);a1.default=FRe;pJ.exports=a1.default});var r9=Le((o1,dJ)=>{"use strict";o1.__esModule=!0;o1.default=void 0;var jRe=qRe(wH()),URe=vo();function qRe(e){return e&&e.__esModule?e:{default:e}}function WRe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var VRe=function(e){WRe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=URe.COMBINATOR,i}return t}(jRe.default);o1.default=VRe;dJ.exports=o1.default});var n9=Le((l1,fJ)=>{"use strict";l1.__esModule=!0;l1.default=void 0;var KRe=XRe(wH()),GRe=vo();function XRe(e){return e&&e.__esModule?e:{default:e}}function ZRe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var zRe=function(e){ZRe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=GRe.NESTING,i.value="&",i}return t}(KRe.default);l1.default=zRe;fJ.exports=l1.default});var _J=Le((SI,hJ)=>{"use strict";SI.__esModule=!0;SI.default=JRe;function JRe(e){return e.sort(function(t,n){return t-n})}hJ.exports=SI.default});var i9=Le(dn=>{"use strict";dn.__esModule=!0;dn.combinator=dn.word=dn.comment=dn.str=dn.tab=dn.newline=dn.feed=dn.cr=dn.backslash=dn.bang=dn.slash=dn.doubleQuote=dn.singleQuote=dn.space=dn.greaterThan=dn.pipe=dn.equals=dn.plus=dn.caret=dn.tilde=dn.dollar=dn.closeSquare=dn.openSquare=dn.closeParenthesis=dn.openParenthesis=dn.semicolon=dn.colon=dn.comma=dn.at=dn.asterisk=dn.ampersand=void 0;var QRe=38;dn.ampersand=QRe;var YRe=42;dn.asterisk=YRe;var e$e=64;dn.at=e$e;var t$e=44;dn.comma=t$e;var r$e=58;dn.colon=r$e;var n$e=59;dn.semicolon=n$e;var i$e=40;dn.openParenthesis=i$e;var s$e=41;dn.closeParenthesis=s$e;var a$e=91;dn.openSquare=a$e;var o$e=93;dn.closeSquare=o$e;var l$e=36;dn.dollar=l$e;var c$e=126;dn.tilde=c$e;var u$e=94;dn.caret=u$e;var H$e=43;dn.plus=H$e;var p$e=61;dn.equals=p$e;var d$e=124;dn.pipe=d$e;var f$e=62;dn.greaterThan=f$e;var h$e=32;dn.space=h$e;var mJ=39;dn.singleQuote=mJ;var _$e=34;dn.doubleQuote=_$e;var m$e=47;dn.slash=m$e;var E$e=33;dn.bang=E$e;var y$e=92;dn.backslash=y$e;var g$e=13;dn.cr=g$e;var b$e=12;dn.feed=b$e;var A$e=10;dn.newline=A$e;var I$e=9;dn.tab=I$e;var S$e=mJ;dn.str=S$e;var L$e=-1;dn.comment=L$e;var T$e=-2;dn.word=T$e;var v$e=-3;dn.combinator=v$e});var yJ=Le(c1=>{"use strict";c1.__esModule=!0;c1.default=N$e;c1.FIELDS=void 0;var Kr=C$e(i9()),H_,Cs;function C$e(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};i.get||i.set?Object.defineProperty(t,n,i):t[n]=e[n]}}return t.default=e,t}var x$e=(H_={},H_[Kr.tab]=!0,H_[Kr.newline]=!0,H_[Kr.cr]=!0,H_[Kr.feed]=!0,H_),D$e=(Cs={},Cs[Kr.space]=!0,Cs[Kr.tab]=!0,Cs[Kr.newline]=!0,Cs[Kr.cr]=!0,Cs[Kr.feed]=!0,Cs[Kr.ampersand]=!0,Cs[Kr.asterisk]=!0,Cs[Kr.bang]=!0,Cs[Kr.comma]=!0,Cs[Kr.colon]=!0,Cs[Kr.semicolon]=!0,Cs[Kr.openParenthesis]=!0,Cs[Kr.closeParenthesis]=!0,Cs[Kr.openSquare]=!0,Cs[Kr.closeSquare]=!0,Cs[Kr.singleQuote]=!0,Cs[Kr.doubleQuote]=!0,Cs[Kr.plus]=!0,Cs[Kr.pipe]=!0,Cs[Kr.tilde]=!0,Cs[Kr.greaterThan]=!0,Cs[Kr.equals]=!0,Cs[Kr.dollar]=!0,Cs[Kr.caret]=!0,Cs[Kr.slash]=!0,Cs),s9={},EJ="0123456789abcdefABCDEF";for(LI=0;LI<EJ.length;LI++)s9[EJ.charCodeAt(LI)]=!0;var LI;function P$e(e,t){var n=t,i;do{if(i=e.charCodeAt(n),D$e[i])return n-1;i===Kr.backslash?n=w$e(e,n)+1:n++}while(n<e.length);return n-1}function w$e(e,t){var n=t,i=e.charCodeAt(n+1);if(!x$e[i])if(s9[i]){var o=0;do n++,o++,i=e.charCodeAt(n+1);while(s9[i]&&o<6);o<6&&i===Kr.space&&n++}else n++;return n}var k$e={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};c1.FIELDS=k$e;function N$e(e){var t=[],n=e.css.valueOf(),i=n,o=i.length,r=-1,c=1,s=0,u=0,H,a,l,p,d,h,m,g,y,_,E,A,S;function T(I,L){if(e.safe)n+=L,y=n.length-1;else throw e.error("Unclosed "+I,c,s-r,s)}for(;s<o;){switch(H=n.charCodeAt(s),H===Kr.newline&&(r=s,c+=1),H){case Kr.space:case Kr.tab:case Kr.newline:case Kr.cr:case Kr.feed:y=s;do y+=1,H=n.charCodeAt(y),H===Kr.newline&&(r=y,c+=1);while(H===Kr.space||H===Kr.newline||H===Kr.tab||H===Kr.cr||H===Kr.feed);S=Kr.space,p=c,l=y-r-1,u=y;break;case Kr.plus:case Kr.greaterThan:case Kr.tilde:case Kr.pipe:y=s;do y+=1,H=n.charCodeAt(y);while(H===Kr.plus||H===Kr.greaterThan||H===Kr.tilde||H===Kr.pipe);S=Kr.combinator,p=c,l=s-r,u=y;break;case Kr.asterisk:case Kr.ampersand:case Kr.bang:case Kr.comma:case Kr.equals:case Kr.dollar:case Kr.caret:case Kr.openSquare:case Kr.closeSquare:case Kr.colon:case Kr.semicolon:case Kr.openParenthesis:case Kr.closeParenthesis:y=s,S=H,p=c,l=s-r,u=y+1;break;case Kr.singleQuote:case Kr.doubleQuote:A=H===Kr.singleQuote?"'":'"',y=s;do for(d=!1,y=n.indexOf(A,y+1),y===-1&&T("quote",A),h=y;n.charCodeAt(h-1)===Kr.backslash;)h-=1,d=!d;while(d);S=Kr.str,p=c,l=s-r,u=y+1;break;default:H===Kr.slash&&n.charCodeAt(s+1)===Kr.asterisk?(y=n.indexOf("*/",s+2)+1,y===0&&T("comment","*/"),a=n.slice(s,y+1),g=a.split(`
|
|
`),m=g.length-1,m>0?(_=c+m,E=y-g[m].length):(_=c,E=r),S=Kr.comment,c=_,p=_,l=y-E):H===Kr.slash?(y=s,S=H,p=c,l=s-r,u=y+1):(y=P$e(n,s),S=Kr.word,p=c,l=y-r),u=y+1;break}t.push([S,c,s-r,p,l,s,u]),E&&(r=E,E=null),s=u}return t}});var TJ=Le((u1,LJ)=>{"use strict";u1.__esModule=!0;u1.default=void 0;var a9=dl(Nz()),R$e=dl($z()),$$e=dl(UN()),o9=dl(qN()),M$e=dl(WN()),gJ=dl(VN()),B$e=dl(KN()),O$e=dl(GN()),l9=dl(XN()),F$e=dl(ZN()),bJ=TI(e9()),j$e=dl(t9()),c9=dl(r9()),U$e=dl(n9()),q$e=dl(_J()),Pr=TI(yJ()),sn=TI(i9()),W$e=TI(vo()),la=Vy(),_f,u9;function TI(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};i.get||i.set?Object.defineProperty(t,n,i):t[n]=e[n]}}return t.default=e,t}function dl(e){return e&&e.__esModule?e:{default:e}}function AJ(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function V$e(e,t,n){return t&&AJ(e.prototype,t),n&&AJ(e,n),e}var p9=(_f={},_f[sn.space]=!0,_f[sn.cr]=!0,_f[sn.feed]=!0,_f[sn.newline]=!0,_f[sn.tab]=!0,_f),K$e=Object.assign({},p9,(u9={},u9[sn.comment]=!0,u9));function IJ(e){return{line:e[Pr.FIELDS.START_LINE],column:e[Pr.FIELDS.START_COL]}}function SJ(e){return{line:e[Pr.FIELDS.END_LINE],column:e[Pr.FIELDS.END_COL]}}function mf(e,t,n,i){return{start:{line:e,column:t},end:{line:n,column:i}}}function p_(e){return mf(e[Pr.FIELDS.START_LINE],e[Pr.FIELDS.START_COL],e[Pr.FIELDS.END_LINE],e[Pr.FIELDS.END_COL])}function H9(e,t){if(e)return mf(e[Pr.FIELDS.START_LINE],e[Pr.FIELDS.START_COL],t[Pr.FIELDS.END_LINE],t[Pr.FIELDS.END_COL])}function d_(e,t){var n=e[t];if(typeof n=="string")return n.indexOf("\\")!==-1&&((0,la.ensureObject)(e,"raws"),e[t]=(0,la.unesc)(n),e.raws[t]===void 0&&(e.raws[t]=n)),e}var G$e=function(){function e(n,i){i===void 0&&(i={}),this.rule=n,this.options=Object.assign({lossy:!1,safe:!1},i),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,Pr.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var o=H9(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new $$e.default({source:o}),this.root.errorGenerator=this._errorGenerator();var r=new o9.default({source:{start:{line:1,column:1}}});this.root.append(r),this.current=r,this.loop()}var t=e.prototype;return t._errorGenerator=function(){var i=this;return function(o,r){return typeof i.rule=="string"?new Error(o):i.rule.error(o,r)}},t.attribute=function(){var i=[],o=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[Pr.FIELDS.TYPE]!==sn.closeSquare;)i.push(this.currToken),this.position++;if(this.currToken[Pr.FIELDS.TYPE]!==sn.closeSquare)return this.expected("closing square bracket",this.currToken[Pr.FIELDS.START_POS]);var r=i.length,c={source:mf(o[1],o[2],this.currToken[3],this.currToken[4]),sourceIndex:o[Pr.FIELDS.START_POS]};if(r===1&&!~[sn.word].indexOf(i[0][Pr.FIELDS.TYPE]))return this.expected("attribute",i[0][Pr.FIELDS.START_POS]);for(var s=0,u="",H="",a=null,l=!1;s<r;){var p=i[s],d=this.content(p),h=i[s+1];switch(p[Pr.FIELDS.TYPE]){case sn.space:if(l=!0,this.options.lossy)break;if(a){(0,la.ensureObject)(c,"spaces",a);var m=c.spaces[a].after||"";c.spaces[a].after=m+d;var g=(0,la.getProp)(c,"raws","spaces",a,"after")||null;g&&(c.raws.spaces[a].after=g+d)}else u=u+d,H=H+d;break;case sn.asterisk:if(h[Pr.FIELDS.TYPE]===sn.equals)c.operator=d,a="operator";else if((!c.namespace||a==="namespace"&&!l)&&h){u&&((0,la.ensureObject)(c,"spaces","attribute"),c.spaces.attribute.before=u,u=""),H&&((0,la.ensureObject)(c,"raws","spaces","attribute"),c.raws.spaces.attribute.before=u,H=""),c.namespace=(c.namespace||"")+d;var y=(0,la.getProp)(c,"raws","namespace")||null;y&&(c.raws.namespace+=d),a="namespace"}l=!1;break;case sn.dollar:if(a==="value"){var _=(0,la.getProp)(c,"raws","value");c.value+="$",_&&(c.raws.value=_+"$");break}case sn.caret:h[Pr.FIELDS.TYPE]===sn.equals&&(c.operator=d,a="operator"),l=!1;break;case sn.combinator:if(d==="~"&&h[Pr.FIELDS.TYPE]===sn.equals&&(c.operator=d,a="operator"),d!=="|"){l=!1;break}h[Pr.FIELDS.TYPE]===sn.equals?(c.operator=d,a="operator"):!c.namespace&&!c.attribute&&(c.namespace=!0),l=!1;break;case sn.word:if(h&&this.content(h)==="|"&&i[s+2]&&i[s+2][Pr.FIELDS.TYPE]!==sn.equals&&!c.operator&&!c.namespace)c.namespace=d,a="namespace";else if(!c.attribute||a==="attribute"&&!l){u&&((0,la.ensureObject)(c,"spaces","attribute"),c.spaces.attribute.before=u,u=""),H&&((0,la.ensureObject)(c,"raws","spaces","attribute"),c.raws.spaces.attribute.before=H,H=""),c.attribute=(c.attribute||"")+d;var E=(0,la.getProp)(c,"raws","attribute")||null;E&&(c.raws.attribute+=d),a="attribute"}else if(!c.value&&c.value!==""||a==="value"&&!l){var A=(0,la.unesc)(d),S=(0,la.getProp)(c,"raws","value")||"",T=c.value||"";c.value=T+A,c.quoteMark=null,(A!==d||S)&&((0,la.ensureObject)(c,"raws"),c.raws.value=(S||T)+d),a="value"}else{var I=d==="i"||d==="I";(c.value||c.value==="")&&(c.quoteMark||l)?(c.insensitive=I,(!I||d==="I")&&((0,la.ensureObject)(c,"raws"),c.raws.insensitiveFlag=d),a="insensitive",u&&((0,la.ensureObject)(c,"spaces","insensitive"),c.spaces.insensitive.before=u,u=""),H&&((0,la.ensureObject)(c,"raws","spaces","insensitive"),c.raws.spaces.insensitive.before=H,H="")):(c.value||c.value==="")&&(a="value",c.value+=d,c.raws.value&&(c.raws.value+=d))}l=!1;break;case sn.str:if(!c.attribute||!c.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:p[Pr.FIELDS.START_POS]});var L=(0,bJ.unescapeValue)(d),x=L.unescaped,C=L.quoteMark;c.value=x,c.quoteMark=C,a="value",(0,la.ensureObject)(c,"raws"),c.raws.value=d,l=!1;break;case sn.equals:if(!c.attribute)return this.expected("attribute",p[Pr.FIELDS.START_POS],d);if(c.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:p[Pr.FIELDS.START_POS]});c.operator=c.operator?c.operator+d:d,a="operator",l=!1;break;case sn.comment:if(a)if(l||h&&h[Pr.FIELDS.TYPE]===sn.space||a==="insensitive"){var D=(0,la.getProp)(c,"spaces",a,"after")||"",O=(0,la.getProp)(c,"raws","spaces",a,"after")||D;(0,la.ensureObject)(c,"raws","spaces",a),c.raws.spaces[a].after=O+d}else{var j=c[a]||"",k=(0,la.getProp)(c,"raws",a)||j;(0,la.ensureObject)(c,"raws"),c.raws[a]=k+d}else H=H+d;break;default:return this.error('Unexpected "'+d+'" found.',{index:p[Pr.FIELDS.START_POS]})}s++}d_(c,"attribute"),d_(c,"namespace"),this.newNode(new bJ.default(c)),this.position++},t.parseWhitespaceEquivalentTokens=function(i){i<0&&(i=this.tokens.length);var o=this.position,r=[],c="",s=void 0;do if(p9[this.currToken[Pr.FIELDS.TYPE]])this.options.lossy||(c+=this.content());else if(this.currToken[Pr.FIELDS.TYPE]===sn.comment){var u={};c&&(u.before=c,c=""),s=new gJ.default({value:this.content(),source:p_(this.currToken),sourceIndex:this.currToken[Pr.FIELDS.START_POS],spaces:u}),r.push(s)}while(++this.position<i);if(c){if(s)s.spaces.after=c;else if(!this.options.lossy){var H=this.tokens[o],a=this.tokens[this.position-1];r.push(new l9.default({value:"",source:mf(H[Pr.FIELDS.START_LINE],H[Pr.FIELDS.START_COL],a[Pr.FIELDS.END_LINE],a[Pr.FIELDS.END_COL]),sourceIndex:H[Pr.FIELDS.START_POS],spaces:{before:c,after:""}}))}}return r},t.convertWhitespaceNodesToSpace=function(i,o){var r=this;o===void 0&&(o=!1);var c="",s="";i.forEach(function(H){var a=r.lossySpace(H.spaces.before,o),l=r.lossySpace(H.rawSpaceBefore,o);c+=a+r.lossySpace(H.spaces.after,o&&a.length===0),s+=a+H.value+r.lossySpace(H.rawSpaceAfter,o&&l.length===0)}),s===c&&(s=void 0);var u={space:c,rawSpace:s};return u},t.isNamedCombinator=function(i){return i===void 0&&(i=this.position),this.tokens[i+0]&&this.tokens[i+0][Pr.FIELDS.TYPE]===sn.slash&&this.tokens[i+1]&&this.tokens[i+1][Pr.FIELDS.TYPE]===sn.word&&this.tokens[i+2]&&this.tokens[i+2][Pr.FIELDS.TYPE]===sn.slash},t.namedCombinator=function(){if(this.isNamedCombinator()){var i=this.content(this.tokens[this.position+1]),o=(0,la.unesc)(i).toLowerCase(),r={};o!==i&&(r.value="/"+i+"/");var c=new c9.default({value:"/"+o+"/",source:mf(this.currToken[Pr.FIELDS.START_LINE],this.currToken[Pr.FIELDS.START_COL],this.tokens[this.position+2][Pr.FIELDS.END_LINE],this.tokens[this.position+2][Pr.FIELDS.END_COL]),sourceIndex:this.currToken[Pr.FIELDS.START_POS],raws:r});return this.position=this.position+3,c}else this.unexpected()},t.combinator=function(){var i=this;if(this.content()==="|")return this.namespace();var o=this.locateNextMeaningfulToken(this.position);if(o<0||this.tokens[o][Pr.FIELDS.TYPE]===sn.comma){var r=this.parseWhitespaceEquivalentTokens(o);if(r.length>0){var c=this.current.last;if(c){var s=this.convertWhitespaceNodesToSpace(r),u=s.space,H=s.rawSpace;H!==void 0&&(c.rawSpaceAfter+=H),c.spaces.after+=u}else r.forEach(function(S){return i.newNode(S)})}return}var a=this.currToken,l=void 0;o>this.position&&(l=this.parseWhitespaceEquivalentTokens(o));var p;if(this.isNamedCombinator()?p=this.namedCombinator():this.currToken[Pr.FIELDS.TYPE]===sn.combinator?(p=new c9.default({value:this.content(),source:p_(this.currToken),sourceIndex:this.currToken[Pr.FIELDS.START_POS]}),this.position++):p9[this.currToken[Pr.FIELDS.TYPE]]||l||this.unexpected(),p){if(l){var d=this.convertWhitespaceNodesToSpace(l),h=d.space,m=d.rawSpace;p.spaces.before=h,p.rawSpaceBefore=m}}else{var g=this.convertWhitespaceNodesToSpace(l,!0),y=g.space,_=g.rawSpace;_||(_=y);var E={},A={spaces:{}};y.endsWith(" ")&&_.endsWith(" ")?(E.before=y.slice(0,y.length-1),A.spaces.before=_.slice(0,_.length-1)):y.startsWith(" ")&&_.startsWith(" ")?(E.after=y.slice(1),A.spaces.after=_.slice(1)):A.value=_,p=new c9.default({value:" ",source:H9(a,this.tokens[this.position-1]),sourceIndex:a[Pr.FIELDS.START_POS],spaces:E,raws:A})}return this.currToken&&this.currToken[Pr.FIELDS.TYPE]===sn.space&&(p.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(p)},t.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var i=new o9.default({source:{start:IJ(this.tokens[this.position+1])}});this.current.parent.append(i),this.current=i,this.position++},t.comment=function(){var i=this.currToken;this.newNode(new gJ.default({value:this.content(),source:p_(i),sourceIndex:i[Pr.FIELDS.START_POS]})),this.position++},t.error=function(i,o){throw this.root.error(i,o)},t.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[Pr.FIELDS.START_POS]})},t.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[Pr.FIELDS.START_POS])},t.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[Pr.FIELDS.START_POS])},t.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[Pr.FIELDS.START_POS])},t.namespace=function(){var i=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[Pr.FIELDS.TYPE]===sn.word)return this.position++,this.word(i);if(this.nextToken[Pr.FIELDS.TYPE]===sn.asterisk)return this.position++,this.universal(i)},t.nesting=function(){if(this.nextToken){var i=this.content(this.nextToken);if(i==="|"){this.position++;return}}var o=this.currToken;this.newNode(new U$e.default({value:this.content(),source:p_(o),sourceIndex:o[Pr.FIELDS.START_POS]})),this.position++},t.parentheses=function(){var i=this.current.last,o=1;if(this.position++,i&&i.type===W$e.PSEUDO){var r=new o9.default({source:{start:IJ(this.tokens[this.position-1])}}),c=this.current;for(i.append(r),this.current=r;this.position<this.tokens.length&&o;)this.currToken[Pr.FIELDS.TYPE]===sn.openParenthesis&&o++,this.currToken[Pr.FIELDS.TYPE]===sn.closeParenthesis&&o--,o?this.parse():(this.current.source.end=SJ(this.currToken),this.current.parent.source.end=SJ(this.currToken),this.position++);this.current=c}else{for(var s=this.currToken,u="(",H;this.position<this.tokens.length&&o;)this.currToken[Pr.FIELDS.TYPE]===sn.openParenthesis&&o++,this.currToken[Pr.FIELDS.TYPE]===sn.closeParenthesis&&o--,H=this.currToken,u+=this.parseParenthesisToken(this.currToken),this.position++;i?i.appendToPropertyAndEscape("value",u,u):this.newNode(new l9.default({value:u,source:mf(s[Pr.FIELDS.START_LINE],s[Pr.FIELDS.START_COL],H[Pr.FIELDS.END_LINE],H[Pr.FIELDS.END_COL]),sourceIndex:s[Pr.FIELDS.START_POS]}))}if(o)return this.expected("closing parenthesis",this.currToken[Pr.FIELDS.START_POS])},t.pseudo=function(){for(var i=this,o="",r=this.currToken;this.currToken&&this.currToken[Pr.FIELDS.TYPE]===sn.colon;)o+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[Pr.FIELDS.TYPE]===sn.word)this.splitWord(!1,function(c,s){o+=c,i.newNode(new F$e.default({value:o,source:H9(r,i.currToken),sourceIndex:r[Pr.FIELDS.START_POS]})),s>1&&i.nextToken&&i.nextToken[Pr.FIELDS.TYPE]===sn.openParenthesis&&i.error("Misplaced parenthesis.",{index:i.nextToken[Pr.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[Pr.FIELDS.START_POS])},t.space=function(){var i=this.content();this.position===0||this.prevToken[Pr.FIELDS.TYPE]===sn.comma||this.prevToken[Pr.FIELDS.TYPE]===sn.openParenthesis?(this.spaces=this.optionalSpace(i),this.position++):this.position===this.tokens.length-1||this.nextToken[Pr.FIELDS.TYPE]===sn.comma||this.nextToken[Pr.FIELDS.TYPE]===sn.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(i),this.position++):this.combinator()},t.string=function(){var i=this.currToken;this.newNode(new l9.default({value:this.content(),source:p_(i),sourceIndex:i[Pr.FIELDS.START_POS]})),this.position++},t.universal=function(i){var o=this.nextToken;if(o&&this.content(o)==="|")return this.position++,this.namespace();var r=this.currToken;this.newNode(new j$e.default({value:this.content(),source:p_(r),sourceIndex:r[Pr.FIELDS.START_POS]}),i),this.position++},t.splitWord=function(i,o){for(var r=this,c=this.nextToken,s=this.content();c&&~[sn.dollar,sn.caret,sn.equals,sn.word].indexOf(c[Pr.FIELDS.TYPE]);){this.position++;var u=this.content();if(s+=u,u.lastIndexOf("\\")===u.length-1){var H=this.nextToken;H&&H[Pr.FIELDS.TYPE]===sn.space&&(s+=this.requiredSpace(this.content(H)),this.position++)}c=this.nextToken}var a=(0,a9.default)(s,".").filter(function(h){return s[h-1]!=="\\"}),l=(0,a9.default)(s,"#").filter(function(h){return s[h-1]!=="\\"}),p=(0,a9.default)(s,"#{");p.length&&(l=l.filter(function(h){return!~p.indexOf(h)}));var d=(0,q$e.default)((0,R$e.default)([0].concat(a,l)));d.forEach(function(h,m){var g=d[m+1]||s.length,y=s.slice(h,g);if(m===0&&o)return o.call(r,y,d.length);var _,E=r.currToken,A=E[Pr.FIELDS.START_POS]+d[m],S=mf(E[1],E[2]+h,E[3],E[2]+(g-1));if(~a.indexOf(h)){var T={value:y.slice(1),source:S,sourceIndex:A};_=new M$e.default(d_(T,"value"))}else if(~l.indexOf(h)){var I={value:y.slice(1),source:S,sourceIndex:A};_=new B$e.default(d_(I,"value"))}else{var L={value:y,source:S,sourceIndex:A};d_(L,"value"),_=new O$e.default(L)}r.newNode(_,i),i=null}),this.position++},t.word=function(i){var o=this.nextToken;return o&&this.content(o)==="|"?(this.position++,this.namespace()):this.splitWord(i)},t.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},t.parse=function(i){switch(this.currToken[Pr.FIELDS.TYPE]){case sn.space:this.space();break;case sn.comment:this.comment();break;case sn.openParenthesis:this.parentheses();break;case sn.closeParenthesis:i&&this.missingParenthesis();break;case sn.openSquare:this.attribute();break;case sn.dollar:case sn.caret:case sn.equals:case sn.word:this.word();break;case sn.colon:this.pseudo();break;case sn.comma:this.comma();break;case sn.asterisk:this.universal();break;case sn.ampersand:this.nesting();break;case sn.slash:case sn.combinator:this.combinator();break;case sn.str:this.string();break;case sn.closeSquare:this.missingSquareBracket();case sn.semicolon:this.missingBackslash();default:this.unexpected()}},t.expected=function(i,o,r){if(Array.isArray(i)){var c=i.pop();i=i.join(", ")+" or "+c}var s=/^[aeiou]/.test(i[0])?"an":"a";return r?this.error("Expected "+s+" "+i+', found "'+r+'" instead.',{index:o}):this.error("Expected "+s+" "+i+".",{index:o})},t.requiredSpace=function(i){return this.options.lossy?" ":i},t.optionalSpace=function(i){return this.options.lossy?"":i},t.lossySpace=function(i,o){return this.options.lossy?o?" ":"":i},t.parseParenthesisToken=function(i){var o=this.content(i);return i[Pr.FIELDS.TYPE]===sn.space?this.requiredSpace(o):o},t.newNode=function(i,o){return o&&(/^ +$/.test(o)&&(this.options.lossy||(this.spaces=(this.spaces||"")+o),o=!0),i.namespace=o,d_(i,"namespace")),this.spaces&&(i.spaces.before=this.spaces,this.spaces=""),this.current.append(i)},t.content=function(i){return i===void 0&&(i=this.currToken),this.css.slice(i[Pr.FIELDS.START_POS],i[Pr.FIELDS.END_POS])},t.locateNextMeaningfulToken=function(i){i===void 0&&(i=this.position+1);for(var o=i;o<this.tokens.length;)if(K$e[this.tokens[o][Pr.FIELDS.TYPE]]){o++;continue}else return o;return-1},V$e(e,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),e}();u1.default=G$e;LJ.exports=u1.default});var CJ=Le((H1,vJ)=>{"use strict";H1.__esModule=!0;H1.default=void 0;var X$e=Z$e(TJ());function Z$e(e){return e&&e.__esModule?e:{default:e}}var z$e=function(){function e(n,i){this.func=n||function(){},this.funcRes=null,this.options=i}var t=e.prototype;return t._shouldUpdateSelector=function(i,o){o===void 0&&(o={});var r=Object.assign({},this.options,o);return r.updateSelector===!1?!1:typeof i!="string"},t._isLossy=function(i){i===void 0&&(i={});var o=Object.assign({},this.options,i);return o.lossless===!1},t._root=function(i,o){o===void 0&&(o={});var r=new X$e.default(i,this._parseOptions(o));return r.root},t._parseOptions=function(i){return{lossy:this._isLossy(i)}},t._run=function(i,o){var r=this;return o===void 0&&(o={}),new Promise(function(c,s){try{var u=r._root(i,o);Promise.resolve(r.func(u)).then(function(H){var a=void 0;return r._shouldUpdateSelector(i,o)&&(a=u.toString(),i.selector=a),{transform:H,root:u,string:a}}).then(c,s)}catch(H){s(H);return}})},t._runSync=function(i,o){o===void 0&&(o={});var r=this._root(i,o),c=this.func(r);if(c&&typeof c.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var s=void 0;return o.updateSelector&&typeof i!="string"&&(s=r.toString(),i.selector=s),{transform:c,root:r,string:s}},t.ast=function(i,o){return this._run(i,o).then(function(r){return r.root})},t.astSync=function(i,o){return this._runSync(i,o).root},t.transform=function(i,o){return this._run(i,o).then(function(r){return r.transform})},t.transformSync=function(i,o){return this._runSync(i,o).transform},t.process=function(i,o){return this._run(i,o).then(function(r){return r.string||r.root.toString()})},t.processSync=function(i,o){var r=this._runSync(i,o);return r.string||r.root.toString()},e}();H1.default=z$e;vJ.exports=H1.default});var xJ=Le(Fs=>{"use strict";Fs.__esModule=!0;Fs.universal=Fs.tag=Fs.string=Fs.selector=Fs.root=Fs.pseudo=Fs.nesting=Fs.id=Fs.comment=Fs.combinator=Fs.className=Fs.attribute=void 0;var J$e=uc(e9()),Q$e=uc(WN()),Y$e=uc(r9()),eMe=uc(VN()),tMe=uc(KN()),rMe=uc(n9()),nMe=uc(ZN()),iMe=uc(UN()),sMe=uc(qN()),aMe=uc(XN()),oMe=uc(GN()),lMe=uc(t9());function uc(e){return e&&e.__esModule?e:{default:e}}var cMe=function(t){return new J$e.default(t)};Fs.attribute=cMe;var uMe=function(t){return new Q$e.default(t)};Fs.className=uMe;var HMe=function(t){return new Y$e.default(t)};Fs.combinator=HMe;var pMe=function(t){return new eMe.default(t)};Fs.comment=pMe;var dMe=function(t){return new tMe.default(t)};Fs.id=dMe;var fMe=function(t){return new rMe.default(t)};Fs.nesting=fMe;var hMe=function(t){return new nMe.default(t)};Fs.pseudo=hMe;var _Me=function(t){return new iMe.default(t)};Fs.root=_Me;var mMe=function(t){return new sMe.default(t)};Fs.selector=mMe;var EMe=function(t){return new aMe.default(t)};Fs.string=EMe;var yMe=function(t){return new oMe.default(t)};Fs.tag=yMe;var gMe=function(t){return new lMe.default(t)};Fs.universal=gMe});var kJ=Le(Qi=>{"use strict";Qi.__esModule=!0;Qi.isNode=d9;Qi.isPseudoElement=wJ;Qi.isPseudoClass=PMe;Qi.isContainer=wMe;Qi.isNamespace=kMe;Qi.isUniversal=Qi.isTag=Qi.isString=Qi.isSelector=Qi.isRoot=Qi.isPseudo=Qi.isNesting=Qi.isIdentifier=Qi.isComment=Qi.isCombinator=Qi.isClassName=Qi.isAttribute=void 0;var ca=vo(),fl,bMe=(fl={},fl[ca.ATTRIBUTE]=!0,fl[ca.CLASS]=!0,fl[ca.COMBINATOR]=!0,fl[ca.COMMENT]=!0,fl[ca.ID]=!0,fl[ca.NESTING]=!0,fl[ca.PSEUDO]=!0,fl[ca.ROOT]=!0,fl[ca.SELECTOR]=!0,fl[ca.STRING]=!0,fl[ca.TAG]=!0,fl[ca.UNIVERSAL]=!0,fl);function d9(e){return typeof e=="object"&&bMe[e.type]}function Hc(e,t){return d9(t)&&t.type===e}var DJ=Hc.bind(null,ca.ATTRIBUTE);Qi.isAttribute=DJ;var AMe=Hc.bind(null,ca.CLASS);Qi.isClassName=AMe;var IMe=Hc.bind(null,ca.COMBINATOR);Qi.isCombinator=IMe;var SMe=Hc.bind(null,ca.COMMENT);Qi.isComment=SMe;var LMe=Hc.bind(null,ca.ID);Qi.isIdentifier=LMe;var TMe=Hc.bind(null,ca.NESTING);Qi.isNesting=TMe;var f9=Hc.bind(null,ca.PSEUDO);Qi.isPseudo=f9;var vMe=Hc.bind(null,ca.ROOT);Qi.isRoot=vMe;var CMe=Hc.bind(null,ca.SELECTOR);Qi.isSelector=CMe;var xMe=Hc.bind(null,ca.STRING);Qi.isString=xMe;var PJ=Hc.bind(null,ca.TAG);Qi.isTag=PJ;var DMe=Hc.bind(null,ca.UNIVERSAL);Qi.isUniversal=DMe;function wJ(e){return f9(e)&&e.value&&(e.value.startsWith("::")||e.value===":before"||e.value===":after")}function PMe(e){return f9(e)&&!wJ(e)}function wMe(e){return!!(d9(e)&&e.walk)}function kMe(e){return DJ(e)||PJ(e)}});var MJ=Le(p1=>{"use strict";p1.__esModule=!0;var NJ=vo();Object.keys(NJ).forEach(function(e){e==="default"||e==="__esModule"||(p1[e]=NJ[e])});var RJ=xJ();Object.keys(RJ).forEach(function(e){e==="default"||e==="__esModule"||(p1[e]=RJ[e])});var $J=kJ();Object.keys($J).forEach(function(e){e==="default"||e==="__esModule"||(p1[e]=$J[e])})});var vI=Le((d1,BJ)=>{"use strict";d1.__esModule=!0;d1.default=void 0;var NMe=MMe(CJ()),RMe=$Me(MJ());function $Me(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};i.get||i.set?Object.defineProperty(t,n,i):t[n]=e[n]}}return t.default=e,t}function MMe(e){return e&&e.__esModule?e:{default:e}}var h9=function(t){return new NMe.default(t)};Object.assign(h9,RMe);delete h9.__esModule;var BMe=h9;d1.default=BMe;BJ.exports=d1.default});var qJ=Le((m9,UJ)=>{(function(e,t){typeof m9=="object"?UJ.exports=t(e):typeof define=="function"&&define.amd?define([],t.bind(e,e)):t(e)})(typeof global<"u"?global:m9,function(e){if(e.CSS&&e.CSS.escape)return e.CSS.escape;var t=function(n){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var i=String(n),o=i.length,r=-1,c,s="",u=i.charCodeAt(0);++r<o;){if(c=i.charCodeAt(r),c==0){s+="\uFFFD";continue}if(c>=1&&c<=31||c==127||r==0&&c>=48&&c<=57||r==1&&c>=48&&c<=57&&u==45){s+="\\"+c.toString(16)+" ";continue}if(r==0&&o==1&&c==45){s+="\\"+i.charAt(r);continue}if(c>=128||c==45||c==95||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122){s+=i.charAt(r);continue}s+="\\"+i.charAt(r)}return s};return e.CSS||(e.CSS={}),e.CSS.escape=t,t})});var VJ=Le((tgt,WJ)=>{"use strict";WJ.exports=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"}});var GJ=Le((rgt,KJ)=>{"use strict";KJ.exports=function(e){var t=typeof e;return e!==null&&(t==="object"||t==="function")}});var XJ=Le(E9=>{"use strict";Object.defineProperty(E9,"__esModule",{value:!0});E9.default=e=>Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))});var zJ=Le((igt,ZJ)=>{"use strict";var VMe=VJ(),KMe=GJ(),GMe=XJ().default;ZJ.exports=(e,t,n)=>{let i=[];return function o(r,c,s){c=c||{},c.indent=c.indent||" ",s=s||"";let u;c.inlineCharacterLimit===void 0?u={newLine:`
|
|
`,newLineOrSpace:`
|
|
`,pad:s,indent:s+c.indent}:u={newLine:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",newLineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"};let H=a=>{if(c.inlineCharacterLimit===void 0)return a;let l=a.replace(new RegExp(u.newLine,"g"),"").replace(new RegExp(u.newLineOrSpace,"g")," ").replace(new RegExp(u.pad+"|"+u.indent,"g"),"");return l.length<=c.inlineCharacterLimit?l:a.replace(new RegExp(u.newLine+"|"+u.newLineOrSpace,"g"),`
|
|
`).replace(new RegExp(u.pad,"g"),s).replace(new RegExp(u.indent,"g"),s+c.indent)};if(i.indexOf(r)!==-1)return'"[Circular]"';if(r==null||typeof r=="number"||typeof r=="boolean"||typeof r=="function"||typeof r=="symbol"||VMe(r))return String(r);if(r instanceof Date)return`new Date('${r.toISOString()}')`;if(Array.isArray(r)){if(r.length===0)return"[]";i.push(r);let a="["+u.newLine+r.map((l,p)=>{let d=r.length-1===p?u.newLine:","+u.newLineOrSpace,h=o(l,c,s+c.indent);return c.transform&&(h=c.transform(r,p,h)),u.indent+h+d}).join("")+u.pad+"]";return i.pop(),H(a)}if(KMe(r)){let a=Object.keys(r).concat(GMe(r));if(c.filter&&(a=a.filter(p=>c.filter(r,p))),a.length===0)return"{}";i.push(r);let l="{"+u.newLine+a.map((p,d)=>{let h=a.length-1===d?u.newLine:","+u.newLineOrSpace,m=typeof p=="symbol",g=!m&&/^[a-z$_][a-z$_0-9]*$/i.test(p),y=m||g?p:o(p,c),_=o(r[p],c,s+c.indent);return c.transform&&(_=c.transform(r,p,_)),u.indent+String(y)+": "+_+h}).join("")+u.pad+"}";return i.pop(),H(l)}return r=String(r).replace(/[\r\n]/g,a=>a===`
|
|
`?"\\n":"\\r"),c.singleQuotes===!1?(r=r.replace(/"/g,'\\"'),`"${r}"`):(r=r.replace(/\\?'/g,"\\'"),`'${r}'`)}(e,t,n)}});var QJ=Le((sgt,JJ)=>{var y9=40,g9=41,CI=39,b9=34,A9=92,f_=47,I9=44,S9=58,xI=42,XMe=117,ZMe=85,zMe=43,JMe=/^[a-f0-9?-]+$/i;JJ.exports=function(e){for(var t=[],n=e,i,o,r,c,s,u,H,a,l=0,p=n.charCodeAt(l),d=n.length,h=[{nodes:t}],m=0,g,y="",_="",E="";l<d;)if(p<=32){i=l;do i+=1,p=n.charCodeAt(i);while(p<=32);c=n.slice(l,i),r=t[t.length-1],p===g9&&m?E=c:r&&r.type==="div"?(r.after=c,r.sourceEndIndex+=c.length):p===I9||p===S9||p===f_&&n.charCodeAt(i+1)!==xI&&(!g||g&&g.type==="function"&&g.value!=="calc")?_=c:t.push({type:"space",sourceIndex:l,sourceEndIndex:i,value:c}),l=i}else if(p===CI||p===b9){i=l,o=p===CI?"'":'"',c={type:"string",sourceIndex:l,quote:o};do if(s=!1,i=n.indexOf(o,i+1),~i)for(u=i;n.charCodeAt(u-1)===A9;)u-=1,s=!s;else n+=o,i=n.length-1,c.unclosed=!0;while(s);c.value=n.slice(l+1,i),c.sourceEndIndex=c.unclosed?i:i+1,t.push(c),l=i+1,p=n.charCodeAt(l)}else if(p===f_&&n.charCodeAt(l+1)===xI)i=n.indexOf("*/",l),c={type:"comment",sourceIndex:l,sourceEndIndex:i+2},i===-1&&(c.unclosed=!0,i=n.length,c.sourceEndIndex=i),c.value=n.slice(l+2,i),t.push(c),l=i+2,p=n.charCodeAt(l);else if((p===f_||p===xI)&&g&&g.type==="function"&&g.value==="calc")c=n[l],t.push({type:"word",sourceIndex:l-_.length,sourceEndIndex:l+c.length,value:c}),l+=1,p=n.charCodeAt(l);else if(p===f_||p===I9||p===S9)c=n[l],t.push({type:"div",sourceIndex:l-_.length,sourceEndIndex:l+c.length,value:c,before:_,after:""}),_="",l+=1,p=n.charCodeAt(l);else if(y9===p){i=l;do i+=1,p=n.charCodeAt(i);while(p<=32);if(a=l,c={type:"function",sourceIndex:l-y.length,value:y,before:n.slice(a+1,i)},l=i,y==="url"&&p!==CI&&p!==b9){i-=1;do if(s=!1,i=n.indexOf(")",i+1),~i)for(u=i;n.charCodeAt(u-1)===A9;)u-=1,s=!s;else n+=")",i=n.length-1,c.unclosed=!0;while(s);H=i;do H-=1,p=n.charCodeAt(H);while(p<=32);a<H?(l!==H+1?c.nodes=[{type:"word",sourceIndex:l,sourceEndIndex:H+1,value:n.slice(l,H+1)}]:c.nodes=[],c.unclosed&&H+1!==i?(c.after="",c.nodes.push({type:"space",sourceIndex:H+1,sourceEndIndex:i,value:n.slice(H+1,i)})):(c.after=n.slice(H+1,i),c.sourceEndIndex=i)):(c.after="",c.nodes=[]),l=i+1,c.sourceEndIndex=c.unclosed?i:l,p=n.charCodeAt(l),t.push(c)}else m+=1,c.after="",c.sourceEndIndex=l+1,t.push(c),h.push(c),t=c.nodes=[],g=c;y=""}else if(g9===p&&m)l+=1,p=n.charCodeAt(l),g.after=E,g.sourceEndIndex+=E.length,E="",m-=1,h[h.length-1].sourceEndIndex=l,h.pop(),g=h[m],t=g.nodes;else{i=l;do p===A9&&(i+=1),i+=1,p=n.charCodeAt(i);while(i<d&&!(p<=32||p===CI||p===b9||p===I9||p===S9||p===f_||p===y9||p===xI&&g&&g.type==="function"&&g.value==="calc"||p===f_&&g.type==="function"&&g.value==="calc"||p===g9&&m));c=n.slice(l,i),y9===p?y=c:(XMe===c.charCodeAt(0)||ZMe===c.charCodeAt(0))&&zMe===c.charCodeAt(1)&&JMe.test(c.slice(2))?t.push({type:"unicode-range",sourceIndex:l,sourceEndIndex:i,value:c}):t.push({type:"word",sourceIndex:l,sourceEndIndex:i,value:c}),l=i}for(l=h.length-1;l;l-=1)h[l].unclosed=!0,h[l].sourceEndIndex=n.length;return h[0].nodes}});var eQ=Le((agt,YJ)=>{YJ.exports=function e(t,n,i){var o,r,c,s;for(o=0,r=t.length;o<r;o+=1)c=t[o],i||(s=n(c,o,t)),s!==!1&&c.type==="function"&&Array.isArray(c.nodes)&&e(c.nodes,n,i),i&&n(c,o,t)}});var iQ=Le((ogt,nQ)=>{function tQ(e,t){var n=e.type,i=e.value,o,r;return t&&(r=t(e))!==void 0?r:n==="word"||n==="space"?i:n==="string"?(o=e.quote||"",o+i+(e.unclosed?"":o)):n==="comment"?"/*"+i+(e.unclosed?"":"*/"):n==="div"?(e.before||"")+i+(e.after||""):Array.isArray(e.nodes)?(o=rQ(e.nodes,t),n!=="function"?o:i+"("+(e.before||"")+o+(e.after||"")+(e.unclosed?"":")")):i}function rQ(e,t){var n,i;if(Array.isArray(e)){for(n="",i=e.length-1;~i;i-=1)n=tQ(e[i],t)+n;return n}return tQ(e,t)}nQ.exports=rQ});var aQ=Le((lgt,sQ)=>{var DI=45,PI=43,L9=46,QMe=101,YMe=69;function eBe(e){var t=e.charCodeAt(0),n;if(t===PI||t===DI){if(n=e.charCodeAt(1),n>=48&&n<=57)return!0;var i=e.charCodeAt(2);return n===L9&&i>=48&&i<=57}return t===L9?(n=e.charCodeAt(1),n>=48&&n<=57):t>=48&&t<=57}sQ.exports=function(e){var t=0,n=e.length,i,o,r;if(n===0||!eBe(e))return!1;for(i=e.charCodeAt(t),(i===PI||i===DI)&&t++;t<n&&(i=e.charCodeAt(t),!(i<48||i>57));)t+=1;if(i=e.charCodeAt(t),o=e.charCodeAt(t+1),i===L9&&o>=48&&o<=57)for(t+=2;t<n&&(i=e.charCodeAt(t),!(i<48||i>57));)t+=1;if(i=e.charCodeAt(t),o=e.charCodeAt(t+1),r=e.charCodeAt(t+2),(i===QMe||i===YMe)&&(o>=48&&o<=57||(o===PI||o===DI)&&r>=48&&r<=57))for(t+=o===PI||o===DI?3:2;t<n&&(i=e.charCodeAt(t),!(i<48||i>57));)t+=1;return{number:e.slice(0,t),unit:e.slice(t)}}});var wI=Le((cgt,cQ)=>{var tBe=QJ(),oQ=eQ(),lQ=iQ();function Op(e){return this instanceof Op?(this.nodes=tBe(e),this):new Op(e)}Op.prototype.toString=function(){return Array.isArray(this.nodes)?lQ(this.nodes):""};Op.prototype.walk=function(e,t){return oQ(this.nodes,e,t),this};Op.unit=aQ();Op.walk=oQ;Op.stringify=lQ;cQ.exports=Op});var tR=Le((_Dt,uee)=>{"use strict";uee.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var rR=Le((mDt,pee)=>{"use strict";var vS=/[\t\n\f\r "#'()/;[\\\]{}]/g,CS=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,f8e=/.[\r\n"'(/\\]/,Hee=/[\da-f]/i;pee.exports=function(t,n={}){let i=t.css.valueOf(),o=n.ignoreErrors,r,c,s,u,H,a,l,p,d,h,m=i.length,g=0,y=[],_=[];function E(){return g}function A(L){throw t.error("Unclosed "+L,g)}function S(){return _.length===0&&g>=m}function T(L){if(_.length)return _.pop();if(g>=m)return;let x=L?L.ignoreUnclosed:!1;switch(r=i.charCodeAt(g),r){case 10:case 32:case 9:case 13:case 12:{u=g;do u+=1,r=i.charCodeAt(u);while(r===32||r===10||r===9||r===13||r===12);a=["space",i.slice(g,u)],g=u-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let C=String.fromCharCode(r);a=[C,C,g];break}case 40:{if(h=y.length?y.pop()[1]:"",d=i.charCodeAt(g+1),h==="url"&&d!==39&&d!==34&&d!==32&&d!==10&&d!==9&&d!==12&&d!==13){u=g;do{if(l=!1,u=i.indexOf(")",u+1),u===-1)if(o||x){u=g;break}else A("bracket");for(p=u;i.charCodeAt(p-1)===92;)p-=1,l=!l}while(l);a=["brackets",i.slice(g,u+1),g,u],g=u}else u=i.indexOf(")",g+1),c=i.slice(g,u+1),u===-1||f8e.test(c)?a=["(","(",g]:(a=["brackets",c,g,u],g=u);break}case 39:case 34:{H=r===39?"'":'"',u=g;do{if(l=!1,u=i.indexOf(H,u+1),u===-1)if(o||x){u=g+1;break}else A("string");for(p=u;i.charCodeAt(p-1)===92;)p-=1,l=!l}while(l);a=["string",i.slice(g,u+1),g,u],g=u;break}case 64:{vS.lastIndex=g+1,vS.test(i),vS.lastIndex===0?u=i.length-1:u=vS.lastIndex-2,a=["at-word",i.slice(g,u+1),g,u],g=u;break}case 92:{for(u=g,s=!0;i.charCodeAt(u+1)===92;)u+=1,s=!s;if(r=i.charCodeAt(u+1),s&&r!==47&&r!==32&&r!==10&&r!==9&&r!==13&&r!==12&&(u+=1,Hee.test(i.charAt(u)))){for(;Hee.test(i.charAt(u+1));)u+=1;i.charCodeAt(u+1)===32&&(u+=1)}a=["word",i.slice(g,u+1),g,u],g=u;break}default:{r===47&&i.charCodeAt(g+1)===42?(u=i.indexOf("*/",g+2)+1,u===0&&(o||x?u=i.length:A("comment")),a=["comment",i.slice(g,u+1),g,u],g=u):(CS.lastIndex=g+1,CS.test(i),CS.lastIndex===0?u=i.length-1:u=CS.lastIndex-2,a=["word",i.slice(g,u+1),g,u],y.push(a),g=u);break}}return g++,a}function I(L){_.push(L)}return{back:I,endOfFile:S,nextToken:T,position:E}}});var nR=Le((EDt,hee)=>{"use strict";var il=ly(),h8e=rR(),dee;function _8e(e){dee=e}var m8e={";":il.yellow,":":il.yellow,"(":il.cyan,")":il.cyan,"[":il.yellow,"]":il.yellow,"{":il.yellow,"}":il.yellow,"at-word":il.cyan,brackets:il.cyan,call:il.cyan,class:il.yellow,comment:il.gray,hash:il.magenta,string:il.green};function E8e([e,t],n){if(e==="word"){if(t[0]===".")return"class";if(t[0]==="#")return"hash"}if(!n.endOfFile()){let i=n.nextToken();if(n.back(i),i[0]==="brackets"||i[0]==="(")return"call"}return e}function fee(e){let t=h8e(new dee(e),{ignoreErrors:!0}),n="";for(;!t.endOfFile();){let i=t.nextToken(),o=m8e[E8e(i,t)];o?n+=i[1].split(/\r?\n/).map(r=>o(r)).join(`
|
|
`):n+=i[1]}return n}fee.registerInput=_8e;hee.exports=fee});var xS=Le((yDt,Eee)=>{"use strict";var _ee=ly(),mee=nR(),G1=class e extends Error{constructor(t,n,i,o,r,c){super(t),this.name="CssSyntaxError",this.reason=t,r&&(this.file=r),o&&(this.source=o),c&&(this.plugin=c),typeof n<"u"&&typeof i<"u"&&(typeof n=="number"?(this.line=n,this.column=i):(this.line=n.line,this.column=n.column,this.endLine=i.line,this.endColumn=i.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){if(!this.source)return"";let n=this.source;t==null&&(t=_ee.isColorSupported);let i=a=>a,o=a=>a,r=a=>a;if(t){let{bold:a,gray:l,red:p}=_ee.createColors(!0);o=d=>a(p(d)),i=d=>l(d),mee&&(r=d=>mee(d))}let c=n.split(/\r?\n/),s=Math.max(this.line-3,0),u=Math.min(this.line+2,c.length),H=String(u).length;return c.slice(s,u).map((a,l)=>{let p=s+1+l,d=" "+(" "+p).slice(-H)+" | ";if(p===this.line){if(a.length>160){let m=20,g=Math.max(0,this.column-m),y=Math.max(this.column+m,this.endColumn+m),_=a.slice(g,y),E=i(d.replace(/\d/g," "))+a.slice(0,Math.min(this.column-1,m-1)).replace(/[^\t]/g," ");return o(">")+i(d)+r(_)+`
|
|
`+E+o("^")}let h=i(d.replace(/\d/g," "))+a.slice(0,this.column-1).replace(/[^\t]/g," ");return o(">")+i(d)+r(a)+`
|
|
`+h+o("^")}return" "+i(d)+r(a)}).join(`
|
|
`)}toString(){let t=this.showSourceCode();return t&&(t=`
|
|
|
|
`+t+`
|
|
`),this.name+": "+this.message+t}};Eee.exports=G1;G1.default=G1});var iR=Le((gDt,gee)=>{"use strict";var yee={after:`
|
|
`,beforeClose:`
|
|
`,beforeComment:`
|
|
`,beforeDecl:`
|
|
`,beforeOpen:" ",beforeRule:`
|
|
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function y8e(e){return e[0].toUpperCase()+e.slice(1)}var X1=class{constructor(t){this.builder=t}atrule(t,n){let i="@"+t.name,o=t.params?this.rawValue(t,"params"):"";if(typeof t.raws.afterName<"u"?i+=t.raws.afterName:o&&(i+=" "),t.nodes)this.block(t,i+o);else{let r=(t.raws.between||"")+(n?";":"");this.builder(i+o+r,t)}}beforeAfter(t,n){let i;t.type==="decl"?i=this.raw(t,null,"beforeDecl"):t.type==="comment"?i=this.raw(t,null,"beforeComment"):n==="before"?i=this.raw(t,null,"beforeRule"):i=this.raw(t,null,"beforeClose");let o=t.parent,r=0;for(;o&&o.type!=="root";)r+=1,o=o.parent;if(i.includes(`
|
|
`)){let c=this.raw(t,null,"indent");if(c.length)for(let s=0;s<r;s++)i+=c}return i}block(t,n){let i=this.raw(t,"between","beforeOpen");this.builder(n+i+"{",t,"start");let o;t.nodes&&t.nodes.length?(this.body(t),o=this.raw(t,"after")):o=this.raw(t,"after","emptyBody"),o&&this.builder(o),this.builder("}",t,"end")}body(t){let n=t.nodes.length-1;for(;n>0&&t.nodes[n].type==="comment";)n-=1;let i=this.raw(t,"semicolon");for(let o=0;o<t.nodes.length;o++){let r=t.nodes[o],c=this.raw(r,"before");c&&this.builder(c),this.stringify(r,n!==o||i)}}comment(t){let n=this.raw(t,"left","commentLeft"),i=this.raw(t,"right","commentRight");this.builder("/*"+n+t.text+i+"*/",t)}decl(t,n){let i=this.raw(t,"between","colon"),o=t.prop+i+this.rawValue(t,"value");t.important&&(o+=t.raws.important||" !important"),n&&(o+=";"),this.builder(o,t)}document(t){this.body(t)}raw(t,n,i){let o;if(i||(i=n),n&&(o=t.raws[n],typeof o<"u"))return o;let r=t.parent;if(i==="before"&&(!r||r.type==="root"&&r.first===t||r&&r.type==="document"))return"";if(!r)return yee[i];let c=t.root();if(c.rawCache||(c.rawCache={}),typeof c.rawCache[i]<"u")return c.rawCache[i];if(i==="before"||i==="after")return this.beforeAfter(t,i);{let s="raw"+y8e(i);this[s]?o=this[s](c,t):c.walk(u=>{if(o=u.raws[n],typeof o<"u")return!1})}return typeof o>"u"&&(o=yee[i]),c.rawCache[i]=o,o}rawBeforeClose(t){let n;return t.walk(i=>{if(i.nodes&&i.nodes.length>0&&typeof i.raws.after<"u")return n=i.raws.after,n.includes(`
|
|
`)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n}rawBeforeComment(t,n){let i;return t.walkComments(o=>{if(typeof o.raws.before<"u")return i=o.raws.before,i.includes(`
|
|
`)&&(i=i.replace(/[^\n]+$/,"")),!1}),typeof i>"u"?i=this.raw(n,null,"beforeDecl"):i&&(i=i.replace(/\S/g,"")),i}rawBeforeDecl(t,n){let i;return t.walkDecls(o=>{if(typeof o.raws.before<"u")return i=o.raws.before,i.includes(`
|
|
`)&&(i=i.replace(/[^\n]+$/,"")),!1}),typeof i>"u"?i=this.raw(n,null,"beforeRule"):i&&(i=i.replace(/\S/g,"")),i}rawBeforeOpen(t){let n;return t.walk(i=>{if(i.type!=="decl"&&(n=i.raws.between,typeof n<"u"))return!1}),n}rawBeforeRule(t){let n;return t.walk(i=>{if(i.nodes&&(i.parent!==t||t.first!==i)&&typeof i.raws.before<"u")return n=i.raws.before,n.includes(`
|
|
`)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n}rawColon(t){let n;return t.walkDecls(i=>{if(typeof i.raws.between<"u")return n=i.raws.between.replace(/[^\s:]/g,""),!1}),n}rawEmptyBody(t){let n;return t.walk(i=>{if(i.nodes&&i.nodes.length===0&&(n=i.raws.after,typeof n<"u"))return!1}),n}rawIndent(t){if(t.raws.indent)return t.raws.indent;let n;return t.walk(i=>{let o=i.parent;if(o&&o!==t&&o.parent&&o.parent===t&&typeof i.raws.before<"u"){let r=i.raws.before.split(`
|
|
`);return n=r[r.length-1],n=n.replace(/\S/g,""),!1}}),n}rawSemicolon(t){let n;return t.walk(i=>{if(i.nodes&&i.nodes.length&&i.last.type==="decl"&&(n=i.raws.semicolon,typeof n<"u"))return!1}),n}rawValue(t,n){let i=t[n],o=t.raws[n];return o&&o.value===i?o.raw:i}root(t){this.body(t),t.raws.after&&this.builder(t.raws.after)}rule(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")}stringify(t,n){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,n)}};gee.exports=X1;X1.default=X1});var Z1=Le((bDt,bee)=>{"use strict";var g8e=iR();function sR(e,t){new g8e(t).stringify(e)}bee.exports=sR;sR.default=sR});var DS=Le((ADt,aR)=>{"use strict";aR.exports.isClean=Symbol("isClean");aR.exports.my=Symbol("my")});var Q1=Le((IDt,Aee)=>{"use strict";var b8e=xS(),A8e=iR(),I8e=Z1(),{isClean:z1,my:S8e}=DS();function oR(e,t){let n=new e.constructor;for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i)||i==="proxyCache")continue;let o=e[i],r=typeof o;i==="parent"&&r==="object"?t&&(n[i]=t):i==="source"?n[i]=o:Array.isArray(o)?n[i]=o.map(c=>oR(c,n)):(r==="object"&&o!==null&&(o=oR(o)),n[i]=o)}return n}function UH(e,t){if(t&&typeof t.offset<"u")return t.offset;let n=1,i=1,o=0;for(let r=0;r<e.length;r++){if(i===t.line&&n===t.column){o=r;break}e[r]===`
|
|
`?(n=1,i+=1):n+=1}return o}var J1=class{get proxyOf(){return this}constructor(t={}){this.raws={},this[z1]=!1,this[S8e]=!0;for(let n in t)if(n==="nodes"){this.nodes=[];for(let i of t[n])typeof i.clone=="function"?this.append(i.clone()):this.append(i)}else this[n]=t[n]}addToError(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){let n=this.source;t.stack=t.stack.replace(/\n\s{4}at /,`$&${n.input.from}:${n.start.line}:${n.start.column}$&`)}return t}after(t){return this.parent.insertAfter(this,t),this}assign(t={}){for(let n in t)this[n]=t[n];return this}before(t){return this.parent.insertBefore(this,t),this}cleanRaws(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between}clone(t={}){let n=oR(this);for(let i in t)n[i]=t[i];return n}cloneAfter(t={}){let n=this.clone(t);return this.parent.insertAfter(this,n),n}cloneBefore(t={}){let n=this.clone(t);return this.parent.insertBefore(this,n),n}error(t,n={}){if(this.source){let{end:i,start:o}=this.rangeBy(n);return this.source.input.error(t,{column:o.column,line:o.line},{column:i.column,line:i.line},n)}return new b8e(t)}getProxyProcessor(){return{get(t,n){return n==="proxyOf"?t:n==="root"?()=>t.root().toProxy():t[n]},set(t,n,i){return t[n]===i||(t[n]=i,(n==="prop"||n==="value"||n==="name"||n==="params"||n==="important"||n==="text")&&t.markDirty()),!0}}}markClean(){this[z1]=!0}markDirty(){if(this[z1]){this[z1]=!1;let t=this;for(;t=t.parent;)t[z1]=!1}}next(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t+1]}positionBy(t={}){let n=this.source.start;if(t.index)n=this.positionInside(t.index);else if(t.word){let i="document"in this.source.input?this.source.input.document:this.source.input.css,r=i.slice(UH(i,this.source.start),UH(i,this.source.end)).indexOf(t.word);r!==-1&&(n=this.positionInside(r))}return n}positionInside(t){let n=this.source.start.column,i=this.source.start.line,o="document"in this.source.input?this.source.input.document:this.source.input.css,r=UH(o,this.source.start),c=r+t;for(let s=r;s<c;s++)o[s]===`
|
|
`?(n=1,i+=1):n+=1;return{column:n,line:i,offset:c}}prev(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t-1]}rangeBy(t={}){let n="document"in this.source.input?this.source.input.document:this.source.input.css,i={column:this.source.start.column,line:this.source.start.line,offset:UH(n,this.source.start)},o=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset=="number"?this.source.end.offset:UH(n,this.source.end)+1}:{column:i.column+1,line:i.line,offset:i.offset+1};if(t.word){let c=n.slice(UH(n,this.source.start),UH(n,this.source.end)).indexOf(t.word);c!==-1&&(i=this.positionInside(c),o=this.positionInside(c+t.word.length))}else t.start?i={column:t.start.column,line:t.start.line,offset:UH(n,t.start)}:t.index&&(i=this.positionInside(t.index)),t.end?o={column:t.end.column,line:t.end.line,offset:UH(n,t.end)}:typeof t.endIndex=="number"?o=this.positionInside(t.endIndex):t.index&&(o=this.positionInside(t.index+1));return(o.line<i.line||o.line===i.line&&o.column<=i.column)&&(o={column:i.column+1,line:i.line,offset:i.offset+1}),{end:o,start:i}}raw(t,n){return new A8e().raw(this,t,n)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...t){if(this.parent){let n=this,i=!1;for(let o of t)o===this?i=!0:i?(this.parent.insertAfter(n,o),n=o):this.parent.insertBefore(n,o);i||this.remove()}return this}root(){let t=this;for(;t.parent&&t.parent.type!=="document";)t=t.parent;return t}toJSON(t,n){let i={},o=n==null;n=n||new Map;let r=0;for(let c in this){if(!Object.prototype.hasOwnProperty.call(this,c)||c==="parent"||c==="proxyCache")continue;let s=this[c];if(Array.isArray(s))i[c]=s.map(u=>typeof u=="object"&&u.toJSON?u.toJSON(null,n):u);else if(typeof s=="object"&&s.toJSON)i[c]=s.toJSON(null,n);else if(c==="source"){if(s==null)continue;let u=n.get(s.input);u==null&&(u=r,n.set(s.input,r),r++),i[c]={end:s.end,inputId:u,start:s.start}}else i[c]=s}return o&&(i.inputs=[...n.keys()].map(c=>c.toJSON())),i}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(t=I8e){t.stringify&&(t=t.stringify);let n="";return t(this,i=>{n+=i}),n}warn(t,n,i={}){let o={node:this};for(let r in i)o[r]=i[r];return t.warn(n,o)}};Aee.exports=J1;J1.default=J1});var e0=Le((SDt,Iee)=>{"use strict";var L8e=Q1(),Y1=class extends L8e{constructor(t){super(t),this.type="comment"}};Iee.exports=Y1;Y1.default=Y1});var r0=Le((LDt,See)=>{"use strict";var T8e=Q1(),t0=class extends T8e{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(t){t&&typeof t.value<"u"&&typeof t.value!="string"&&(t={...t,value:String(t.value)}),super(t),this.type="decl"}};See.exports=t0;t0.default=t0});var ed=Le((TDt,kee)=>{"use strict";var Lee=e0(),Tee=r0(),v8e=Q1(),{isClean:vee,my:Cee}=DS(),lR,xee,Dee,cR;function Pee(e){return e.map(t=>(t.nodes&&(t.nodes=Pee(t.nodes)),delete t.source,t))}function wee(e){if(e[vee]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)wee(t)}var ru=class e extends v8e{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...t){for(let n of t){let i=this.normalize(n,this.last);for(let o of i)this.proxyOf.nodes.push(o)}return this.markDirty(),this}cleanRaws(t){if(super.cleanRaws(t),this.nodes)for(let n of this.nodes)n.cleanRaws(t)}each(t){if(!this.proxyOf.nodes)return;let n=this.getIterator(),i,o;for(;this.indexes[n]<this.proxyOf.nodes.length&&(i=this.indexes[n],o=t(this.proxyOf.nodes[i],i),o!==!1);)this.indexes[n]+=1;return delete this.indexes[n],o}every(t){return this.nodes.every(t)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let t=this.lastEach;return this.indexes[t]=0,t}getProxyProcessor(){return{get(t,n){return n==="proxyOf"?t:t[n]?n==="each"||typeof n=="string"&&n.startsWith("walk")?(...i)=>t[n](...i.map(o=>typeof o=="function"?(r,c)=>o(r.toProxy(),c):o)):n==="every"||n==="some"?i=>t[n]((o,...r)=>i(o.toProxy(),...r)):n==="root"?()=>t.root().toProxy():n==="nodes"?t.nodes.map(i=>i.toProxy()):n==="first"||n==="last"?t[n].toProxy():t[n]:t[n]},set(t,n,i){return t[n]===i||(t[n]=i,(n==="name"||n==="params"||n==="selector")&&t.markDirty()),!0}}}index(t){return typeof t=="number"?t:(t.proxyOf&&(t=t.proxyOf),this.proxyOf.nodes.indexOf(t))}insertAfter(t,n){let i=this.index(t),o=this.normalize(n,this.proxyOf.nodes[i]).reverse();i=this.index(t);for(let c of o)this.proxyOf.nodes.splice(i+1,0,c);let r;for(let c in this.indexes)r=this.indexes[c],i<r&&(this.indexes[c]=r+o.length);return this.markDirty(),this}insertBefore(t,n){let i=this.index(t),o=i===0?"prepend":!1,r=this.normalize(n,this.proxyOf.nodes[i],o).reverse();i=this.index(t);for(let s of r)this.proxyOf.nodes.splice(i,0,s);let c;for(let s in this.indexes)c=this.indexes[s],i<=c&&(this.indexes[s]=c+r.length);return this.markDirty(),this}normalize(t,n){if(typeof t=="string")t=Pee(xee(t).nodes);else if(typeof t>"u")t=[];else if(Array.isArray(t)){t=t.slice(0);for(let o of t)o.parent&&o.parent.removeChild(o,"ignore")}else if(t.type==="root"&&this.type!=="document"){t=t.nodes.slice(0);for(let o of t)o.parent&&o.parent.removeChild(o,"ignore")}else if(t.type)t=[t];else if(t.prop){if(typeof t.value>"u")throw new Error("Value field is missed in node creation");typeof t.value!="string"&&(t.value=String(t.value)),t=[new Tee(t)]}else if(t.selector||t.selectors)t=[new cR(t)];else if(t.name)t=[new lR(t)];else if(t.text)t=[new Lee(t)];else throw new Error("Unknown node type in node creation");return t.map(o=>(o[Cee]||e.rebuild(o),o=o.proxyOf,o.parent&&o.parent.removeChild(o),o[vee]&&wee(o),o.raws||(o.raws={}),typeof o.raws.before>"u"&&n&&typeof n.raws.before<"u"&&(o.raws.before=n.raws.before.replace(/\S/g,"")),o.parent=this.proxyOf,o))}prepend(...t){t=t.reverse();for(let n of t){let i=this.normalize(n,this.first,"prepend").reverse();for(let o of i)this.proxyOf.nodes.unshift(o);for(let o in this.indexes)this.indexes[o]=this.indexes[o]+i.length}return this.markDirty(),this}push(t){return t.parent=this,this.proxyOf.nodes.push(t),this}removeAll(){for(let t of this.proxyOf.nodes)t.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(t){t=this.index(t),this.proxyOf.nodes[t].parent=void 0,this.proxyOf.nodes.splice(t,1);let n;for(let i in this.indexes)n=this.indexes[i],n>=t&&(this.indexes[i]=n-1);return this.markDirty(),this}replaceValues(t,n,i){return i||(i=n,n={}),this.walkDecls(o=>{n.props&&!n.props.includes(o.prop)||n.fast&&!o.value.includes(n.fast)||(o.value=o.value.replace(t,i))}),this.markDirty(),this}some(t){return this.nodes.some(t)}walk(t){return this.each((n,i)=>{let o;try{o=t(n,i)}catch(r){throw n.addToError(r)}return o!==!1&&n.walk&&(o=n.walk(t)),o})}walkAtRules(t,n){return n?t instanceof RegExp?this.walk((i,o)=>{if(i.type==="atrule"&&t.test(i.name))return n(i,o)}):this.walk((i,o)=>{if(i.type==="atrule"&&i.name===t)return n(i,o)}):(n=t,this.walk((i,o)=>{if(i.type==="atrule")return n(i,o)}))}walkComments(t){return this.walk((n,i)=>{if(n.type==="comment")return t(n,i)})}walkDecls(t,n){return n?t instanceof RegExp?this.walk((i,o)=>{if(i.type==="decl"&&t.test(i.prop))return n(i,o)}):this.walk((i,o)=>{if(i.type==="decl"&&i.prop===t)return n(i,o)}):(n=t,this.walk((i,o)=>{if(i.type==="decl")return n(i,o)}))}walkRules(t,n){return n?t instanceof RegExp?this.walk((i,o)=>{if(i.type==="rule"&&t.test(i.selector))return n(i,o)}):this.walk((i,o)=>{if(i.type==="rule"&&i.selector===t)return n(i,o)}):(n=t,this.walk((i,o)=>{if(i.type==="rule")return n(i,o)}))}};ru.registerParse=e=>{xee=e};ru.registerRule=e=>{cR=e};ru.registerAtRule=e=>{lR=e};ru.registerRoot=e=>{Dee=e};kee.exports=ru;ru.default=ru;ru.rebuild=e=>{e.type==="atrule"?Object.setPrototypeOf(e,lR.prototype):e.type==="rule"?Object.setPrototypeOf(e,cR.prototype):e.type==="decl"?Object.setPrototypeOf(e,Tee.prototype):e.type==="comment"?Object.setPrototypeOf(e,Lee.prototype):e.type==="root"&&Object.setPrototypeOf(e,Dee.prototype),e[Cee]=!0,e.nodes&&e.nodes.forEach(t=>{ru.rebuild(t)})}});var PS=Le((vDt,Ree)=>{"use strict";var Nee=ed(),W_=class extends Nee{constructor(t){super(t),this.type="atrule"}append(...t){return this.proxyOf.nodes||(this.nodes=[]),super.append(...t)}prepend(...t){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...t)}};Ree.exports=W_;W_.default=W_;Nee.registerAtRule(W_)});var wS=Le((CDt,Bee)=>{"use strict";var C8e=ed(),$ee,Mee,Lf=class extends C8e{constructor(t){super({type:"document",...t}),this.nodes||(this.nodes=[])}toResult(t={}){return new $ee(new Mee,this,t).stringify()}};Lf.registerLazyResult=e=>{$ee=e};Lf.registerProcessor=e=>{Mee=e};Bee.exports=Lf;Lf.default=Lf});var Fee=Le((xDt,Oee)=>{var x8e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",D8e=(e,t=21)=>(n=t)=>{let i="",o=n|0;for(;o--;)i+=e[Math.random()*e.length|0];return i},P8e=(e=21)=>{let t="",n=e|0;for(;n--;)t+=x8e[Math.random()*64|0];return t};Oee.exports={nanoid:P8e,customAlphabet:D8e}});var Uee=Le(uR=>{var jee="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");uR.encode=function(e){if(0<=e&&e<jee.length)return jee[e];throw new TypeError("Must be between 0 and 63: "+e)};uR.decode=function(e){var t=65,n=90,i=97,o=122,r=48,c=57,s=43,u=47,H=26,a=52;return t<=e&&e<=n?e-t:i<=e&&e<=o?e-i+H:r<=e&&e<=c?e-r+a:e==s?62:e==u?63:-1}});var dR=Le(pR=>{var qee=Uee(),HR=5,Wee=1<<HR,Vee=Wee-1,Kee=Wee;function w8e(e){return e<0?(-e<<1)+1:(e<<1)+0}function k8e(e){var t=(e&1)===1,n=e>>1;return t?-n:n}pR.encode=function(t){var n="",i,o=w8e(t);do i=o&Vee,o>>>=HR,o>0&&(i|=Kee),n+=qee.encode(i);while(o>0);return n};pR.decode=function(t,n,i){var o=t.length,r=0,c=0,s,u;do{if(n>=o)throw new Error("Expected more digits in base 64 VLQ value.");if(u=qee.decode(t.charCodeAt(n++)),u===-1)throw new Error("Invalid base64 digit: "+t.charAt(n-1));s=!!(u&Kee),u&=Vee,r=r+(u<<c),c+=HR}while(s);i.value=k8e(r),i.rest=n}});var K_=Le(uo=>{function N8e(e,t,n){if(t in e)return e[t];if(arguments.length===3)return n;throw new Error('"'+t+'" is a required argument.')}uo.getArg=N8e;var Gee=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,R8e=/^data:.+\,.+$/;function n0(e){var t=e.match(Gee);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}uo.urlParse=n0;function V_(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}uo.urlGenerate=V_;var $8e=32;function M8e(e){var t=[];return function(n){for(var i=0;i<t.length;i++)if(t[i].input===n){var o=t[0];return t[0]=t[i],t[i]=o,t[0].result}var r=e(n);return t.unshift({input:n,result:r}),t.length>$8e&&t.pop(),r}}var fR=M8e(function(t){var n=t,i=n0(t);if(i){if(!i.path)return t;n=i.path}for(var o=uo.isAbsolute(n),r=[],c=0,s=0;;)if(c=s,s=n.indexOf("/",c),s===-1){r.push(n.slice(c));break}else for(r.push(n.slice(c,s));s<n.length&&n[s]==="/";)s++;for(var u,H=0,s=r.length-1;s>=0;s--)u=r[s],u==="."?r.splice(s,1):u===".."?H++:H>0&&(u===""?(r.splice(s+1,H),H=0):(r.splice(s,2),H--));return n=r.join("/"),n===""&&(n=o?"/":"."),i?(i.path=n,V_(i)):n});uo.normalize=fR;function Xee(e,t){e===""&&(e="."),t===""&&(t=".");var n=n0(t),i=n0(e);if(i&&(e=i.path||"/"),n&&!n.scheme)return i&&(n.scheme=i.scheme),V_(n);if(n||t.match(R8e))return t;if(i&&!i.host&&!i.path)return i.host=t,V_(i);var o=t.charAt(0)==="/"?t:fR(e.replace(/\/+$/,"")+"/"+t);return i?(i.path=o,V_(i)):o}uo.join=Xee;uo.isAbsolute=function(e){return e.charAt(0)==="/"||Gee.test(e)};function B8e(e,t){e===""&&(e="."),e=e.replace(/\/$/,"");for(var n=0;t.indexOf(e+"/")!==0;){var i=e.lastIndexOf("/");if(i<0||(e=e.slice(0,i),e.match(/^([^\/]+:\/)?\/*$/)))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)}uo.relative=B8e;var Zee=function(){var e=Object.create(null);return!("__proto__"in e)}();function zee(e){return e}function O8e(e){return Jee(e)?"$"+e:e}uo.toSetString=Zee?zee:O8e;function F8e(e){return Jee(e)?e.slice(1):e}uo.fromSetString=Zee?zee:F8e;function Jee(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var n=t-10;n>=0;n--)if(e.charCodeAt(n)!==36)return!1;return!0}function j8e(e,t,n){var i=qH(e.source,t.source);return i!==0||(i=e.originalLine-t.originalLine,i!==0)||(i=e.originalColumn-t.originalColumn,i!==0||n)||(i=e.generatedColumn-t.generatedColumn,i!==0)||(i=e.generatedLine-t.generatedLine,i!==0)?i:qH(e.name,t.name)}uo.compareByOriginalPositions=j8e;function U8e(e,t,n){var i;return i=e.originalLine-t.originalLine,i!==0||(i=e.originalColumn-t.originalColumn,i!==0||n)||(i=e.generatedColumn-t.generatedColumn,i!==0)||(i=e.generatedLine-t.generatedLine,i!==0)?i:qH(e.name,t.name)}uo.compareByOriginalPositionsNoSource=U8e;function q8e(e,t,n){var i=e.generatedLine-t.generatedLine;return i!==0||(i=e.generatedColumn-t.generatedColumn,i!==0||n)||(i=qH(e.source,t.source),i!==0)||(i=e.originalLine-t.originalLine,i!==0)||(i=e.originalColumn-t.originalColumn,i!==0)?i:qH(e.name,t.name)}uo.compareByGeneratedPositionsDeflated=q8e;function W8e(e,t,n){var i=e.generatedColumn-t.generatedColumn;return i!==0||n||(i=qH(e.source,t.source),i!==0)||(i=e.originalLine-t.originalLine,i!==0)||(i=e.originalColumn-t.originalColumn,i!==0)?i:qH(e.name,t.name)}uo.compareByGeneratedPositionsDeflatedNoLine=W8e;function qH(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function V8e(e,t){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=qH(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:qH(e.name,t.name)}uo.compareByGeneratedPositionsInflated=V8e;function K8e(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}uo.parseSourceMapInput=K8e;function G8e(e,t,n){if(t=t||"",e&&(e[e.length-1]!=="/"&&t[0]!=="/"&&(e+="/"),t=e+t),n){var i=n0(n);if(!i)throw new Error("sourceMapURL could not be parsed");if(i.path){var o=i.path.lastIndexOf("/");o>=0&&(i.path=i.path.substring(0,o+1))}t=Xee(V_(i),t)}return fR(t)}uo.computeSourceURL=G8e});var mR=Le(Qee=>{var hR=K_(),_R=Object.prototype.hasOwnProperty,Tf=typeof Map<"u";function WH(){this._array=[],this._set=Tf?new Map:Object.create(null)}WH.fromArray=function(t,n){for(var i=new WH,o=0,r=t.length;o<r;o++)i.add(t[o],n);return i};WH.prototype.size=function(){return Tf?this._set.size:Object.getOwnPropertyNames(this._set).length};WH.prototype.add=function(t,n){var i=Tf?t:hR.toSetString(t),o=Tf?this.has(t):_R.call(this._set,i),r=this._array.length;(!o||n)&&this._array.push(t),o||(Tf?this._set.set(t,r):this._set[i]=r)};WH.prototype.has=function(t){if(Tf)return this._set.has(t);var n=hR.toSetString(t);return _R.call(this._set,n)};WH.prototype.indexOf=function(t){if(Tf){var n=this._set.get(t);if(n>=0)return n}else{var i=hR.toSetString(t);if(_R.call(this._set,i))return this._set[i]}throw new Error('"'+t+'" is not in the set.')};WH.prototype.at=function(t){if(t>=0&&t<this._array.length)return this._array[t];throw new Error("No element indexed by "+t)};WH.prototype.toArray=function(){return this._array.slice()};Qee.ArraySet=WH});var tte=Le(ete=>{var Yee=K_();function X8e(e,t){var n=e.generatedLine,i=t.generatedLine,o=e.generatedColumn,r=t.generatedColumn;return i>n||i==n&&r>=o||Yee.compareByGeneratedPositionsInflated(e,t)<=0}function kS(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}kS.prototype.unsortedForEach=function(t,n){this._array.forEach(t,n)};kS.prototype.add=function(t){X8e(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};kS.prototype.toArray=function(){return this._sorted||(this._array.sort(Yee.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};ete.MappingList=kS});var ER=Le(rte=>{var i0=dR(),Ra=K_(),NS=mR().ArraySet,Z8e=tte().MappingList;function yc(e){e||(e={}),this._file=Ra.getArg(e,"file",null),this._sourceRoot=Ra.getArg(e,"sourceRoot",null),this._skipValidation=Ra.getArg(e,"skipValidation",!1),this._ignoreInvalidMapping=Ra.getArg(e,"ignoreInvalidMapping",!1),this._sources=new NS,this._names=new NS,this._mappings=new Z8e,this._sourcesContents=null}yc.prototype._version=3;yc.fromSourceMap=function(t,n){var i=t.sourceRoot,o=new yc(Object.assign(n||{},{file:t.file,sourceRoot:i}));return t.eachMapping(function(r){var c={generated:{line:r.generatedLine,column:r.generatedColumn}};r.source!=null&&(c.source=r.source,i!=null&&(c.source=Ra.relative(i,c.source)),c.original={line:r.originalLine,column:r.originalColumn},r.name!=null&&(c.name=r.name)),o.addMapping(c)}),t.sources.forEach(function(r){var c=r;i!==null&&(c=Ra.relative(i,r)),o._sources.has(c)||o._sources.add(c);var s=t.sourceContentFor(r);s!=null&&o.setSourceContent(r,s)}),o};yc.prototype.addMapping=function(t){var n=Ra.getArg(t,"generated"),i=Ra.getArg(t,"original",null),o=Ra.getArg(t,"source",null),r=Ra.getArg(t,"name",null);!this._skipValidation&&this._validateMapping(n,i,o,r)===!1||(o!=null&&(o=String(o),this._sources.has(o)||this._sources.add(o)),r!=null&&(r=String(r),this._names.has(r)||this._names.add(r)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:i!=null&&i.line,originalColumn:i!=null&&i.column,source:o,name:r}))};yc.prototype.setSourceContent=function(t,n){var i=t;this._sourceRoot!=null&&(i=Ra.relative(this._sourceRoot,i)),n!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Ra.toSetString(i)]=n):this._sourcesContents&&(delete this._sourcesContents[Ra.toSetString(i)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};yc.prototype.applySourceMap=function(t,n,i){var o=n;if(n==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);o=t.file}var r=this._sourceRoot;r!=null&&(o=Ra.relative(r,o));var c=new NS,s=new NS;this._mappings.unsortedForEach(function(u){if(u.source===o&&u.originalLine!=null){var H=t.originalPositionFor({line:u.originalLine,column:u.originalColumn});H.source!=null&&(u.source=H.source,i!=null&&(u.source=Ra.join(i,u.source)),r!=null&&(u.source=Ra.relative(r,u.source)),u.originalLine=H.line,u.originalColumn=H.column,H.name!=null&&(u.name=H.name))}var a=u.source;a!=null&&!c.has(a)&&c.add(a);var l=u.name;l!=null&&!s.has(l)&&s.add(l)},this),this._sources=c,this._names=s,t.sources.forEach(function(u){var H=t.sourceContentFor(u);H!=null&&(i!=null&&(u=Ra.join(i,u)),r!=null&&(u=Ra.relative(r,u)),this.setSourceContent(u,H))},this)};yc.prototype._validateMapping=function(t,n,i,o){if(n&&typeof n.line!="number"&&typeof n.column!="number"){var r="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(r),!1;throw new Error(r)}if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!n&&!i&&!o)){if(t&&"line"in t&&"column"in t&&n&&"line"in n&&"column"in n&&t.line>0&&t.column>=0&&n.line>0&&n.column>=0&&i)return;var r="Invalid mapping: "+JSON.stringify({generated:t,source:i,original:n,name:o});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(r),!1;throw new Error(r)}};yc.prototype._serializeMappings=function(){for(var t=0,n=1,i=0,o=0,r=0,c=0,s="",u,H,a,l,p=this._mappings.toArray(),d=0,h=p.length;d<h;d++){if(H=p[d],u="",H.generatedLine!==n)for(t=0;H.generatedLine!==n;)u+=";",n++;else if(d>0){if(!Ra.compareByGeneratedPositionsInflated(H,p[d-1]))continue;u+=","}u+=i0.encode(H.generatedColumn-t),t=H.generatedColumn,H.source!=null&&(l=this._sources.indexOf(H.source),u+=i0.encode(l-c),c=l,u+=i0.encode(H.originalLine-1-o),o=H.originalLine-1,u+=i0.encode(H.originalColumn-i),i=H.originalColumn,H.name!=null&&(a=this._names.indexOf(H.name),u+=i0.encode(a-r),r=a)),s+=u}return s};yc.prototype._generateSourcesContent=function(t,n){return t.map(function(i){if(!this._sourcesContents)return null;n!=null&&(i=Ra.relative(n,i));var o=Ra.toSetString(i);return Object.prototype.hasOwnProperty.call(this._sourcesContents,o)?this._sourcesContents[o]:null},this)};yc.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};yc.prototype.toString=function(){return JSON.stringify(this.toJSON())};rte.SourceMapGenerator=yc});var nte=Le(vf=>{vf.GREATEST_LOWER_BOUND=1;vf.LEAST_UPPER_BOUND=2;function yR(e,t,n,i,o,r){var c=Math.floor((t-e)/2)+e,s=o(n,i[c],!0);return s===0?c:s>0?t-c>1?yR(c,t,n,i,o,r):r==vf.LEAST_UPPER_BOUND?t<i.length?t:-1:c:c-e>1?yR(e,c,n,i,o,r):r==vf.LEAST_UPPER_BOUND?c:e<0?-1:e}vf.search=function(t,n,i,o){if(n.length===0)return-1;var r=yR(-1,n.length,t,n,i,o||vf.GREATEST_LOWER_BOUND);if(r<0)return-1;for(;r-1>=0&&i(n[r],n[r-1],!0)===0;)--r;return r}});var ate=Le(ste=>{function z8e(e){function t(o,r,c){var s=o[r];o[r]=o[c],o[c]=s}function n(o,r){return Math.round(o+Math.random()*(r-o))}function i(o,r,c,s){if(c<s){var u=n(c,s),H=c-1;t(o,u,s);for(var a=o[s],l=c;l<s;l++)r(o[l],a,!1)<=0&&(H+=1,t(o,H,l));t(o,H+1,l);var p=H+1;i(o,r,c,p-1),i(o,r,p+1,s)}}return i}function J8e(e){let t=z8e.toString();return new Function(`return ${t}`)()(e)}var ite=new WeakMap;ste.quickSort=function(e,t,n=0){let i=ite.get(t);i===void 0&&(i=J8e(t),ite.set(t,i)),i(e,t,n,e.length-1)}});var cte=Le(RS=>{var yn=K_(),bR=nte(),G_=mR().ArraySet,Q8e=dR(),s0=ate().quickSort;function Qs(e,t){var n=e;return typeof e=="string"&&(n=yn.parseSourceMapInput(e)),n.sections!=null?new nu(n,t):new Co(n,t)}Qs.fromSourceMap=function(e,t){return Co.fromSourceMap(e,t)};Qs.prototype._version=3;Qs.prototype.__generatedMappings=null;Object.defineProperty(Qs.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});Qs.prototype.__originalMappings=null;Object.defineProperty(Qs.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});Qs.prototype._charIsMappingSeparator=function(t,n){var i=t.charAt(n);return i===";"||i===","};Qs.prototype._parseMappings=function(t,n){throw new Error("Subclasses must implement _parseMappings")};Qs.GENERATED_ORDER=1;Qs.ORIGINAL_ORDER=2;Qs.GREATEST_LOWER_BOUND=1;Qs.LEAST_UPPER_BOUND=2;Qs.prototype.eachMapping=function(t,n,i){var o=n||null,r=i||Qs.GENERATED_ORDER,c;switch(r){case Qs.GENERATED_ORDER:c=this._generatedMappings;break;case Qs.ORIGINAL_ORDER:c=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var s=this.sourceRoot,u=t.bind(o),H=this._names,a=this._sources,l=this._sourceMapURL,p=0,d=c.length;p<d;p++){var h=c[p],m=h.source===null?null:a.at(h.source);m!==null&&(m=yn.computeSourceURL(s,m,l)),u({source:m,generatedLine:h.generatedLine,generatedColumn:h.generatedColumn,originalLine:h.originalLine,originalColumn:h.originalColumn,name:h.name===null?null:H.at(h.name)})}};Qs.prototype.allGeneratedPositionsFor=function(t){var n=yn.getArg(t,"line"),i={source:yn.getArg(t,"source"),originalLine:n,originalColumn:yn.getArg(t,"column",0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var o=[],r=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",yn.compareByOriginalPositions,bR.LEAST_UPPER_BOUND);if(r>=0){var c=this._originalMappings[r];if(t.column===void 0)for(var s=c.originalLine;c&&c.originalLine===s;)o.push({line:yn.getArg(c,"generatedLine",null),column:yn.getArg(c,"generatedColumn",null),lastColumn:yn.getArg(c,"lastGeneratedColumn",null)}),c=this._originalMappings[++r];else for(var u=c.originalColumn;c&&c.originalLine===n&&c.originalColumn==u;)o.push({line:yn.getArg(c,"generatedLine",null),column:yn.getArg(c,"generatedColumn",null),lastColumn:yn.getArg(c,"lastGeneratedColumn",null)}),c=this._originalMappings[++r]}return o};RS.SourceMapConsumer=Qs;function Co(e,t){var n=e;typeof e=="string"&&(n=yn.parseSourceMapInput(e));var i=yn.getArg(n,"version"),o=yn.getArg(n,"sources"),r=yn.getArg(n,"names",[]),c=yn.getArg(n,"sourceRoot",null),s=yn.getArg(n,"sourcesContent",null),u=yn.getArg(n,"mappings"),H=yn.getArg(n,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);c&&(c=yn.normalize(c)),o=o.map(String).map(yn.normalize).map(function(a){return c&&yn.isAbsolute(c)&&yn.isAbsolute(a)?yn.relative(c,a):a}),this._names=G_.fromArray(r.map(String),!0),this._sources=G_.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(a){return yn.computeSourceURL(c,a,t)}),this.sourceRoot=c,this.sourcesContent=s,this._mappings=u,this._sourceMapURL=t,this.file=H}Co.prototype=Object.create(Qs.prototype);Co.prototype.consumer=Qs;Co.prototype._findSourceIndex=function(e){var t=e;if(this.sourceRoot!=null&&(t=yn.relative(this.sourceRoot,t)),this._sources.has(t))return this._sources.indexOf(t);var n;for(n=0;n<this._absoluteSources.length;++n)if(this._absoluteSources[n]==e)return n;return-1};Co.fromSourceMap=function(t,n){var i=Object.create(Co.prototype),o=i._names=G_.fromArray(t._names.toArray(),!0),r=i._sources=G_.fromArray(t._sources.toArray(),!0);i.sourceRoot=t._sourceRoot,i.sourcesContent=t._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=t._file,i._sourceMapURL=n,i._absoluteSources=i._sources.toArray().map(function(d){return yn.computeSourceURL(i.sourceRoot,d,n)});for(var c=t._mappings.toArray().slice(),s=i.__generatedMappings=[],u=i.__originalMappings=[],H=0,a=c.length;H<a;H++){var l=c[H],p=new lte;p.generatedLine=l.generatedLine,p.generatedColumn=l.generatedColumn,l.source&&(p.source=r.indexOf(l.source),p.originalLine=l.originalLine,p.originalColumn=l.originalColumn,l.name&&(p.name=o.indexOf(l.name)),u.push(p)),s.push(p)}return s0(i.__originalMappings,yn.compareByOriginalPositions),i};Co.prototype._version=3;Object.defineProperty(Co.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function lte(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var gR=yn.compareByGeneratedPositionsDeflatedNoLine;function ote(e,t){let n=e.length,i=e.length-t;if(!(i<=1))if(i==2){let o=e[t],r=e[t+1];gR(o,r)>0&&(e[t]=r,e[t+1]=o)}else if(i<20)for(let o=t;o<n;o++)for(let r=o;r>t;r--){let c=e[r-1],s=e[r];if(gR(c,s)<=0)break;e[r-1]=s,e[r]=c}else s0(e,gR,t)}Co.prototype._parseMappings=function(t,n){var i=1,o=0,r=0,c=0,s=0,u=0,H=t.length,a=0,l={},p={},d=[],h=[],m,g,y,_,E;let A=0;for(;a<H;)if(t.charAt(a)===";")i++,a++,o=0,ote(h,A),A=h.length;else if(t.charAt(a)===",")a++;else{for(m=new lte,m.generatedLine=i,_=a;_<H&&!this._charIsMappingSeparator(t,_);_++);for(g=t.slice(a,_),y=[];a<_;)Q8e.decode(t,a,p),E=p.value,a=p.rest,y.push(E);if(y.length===2)throw new Error("Found a source, but no line and column");if(y.length===3)throw new Error("Found a source and line, but no column");if(m.generatedColumn=o+y[0],o=m.generatedColumn,y.length>1&&(m.source=s+y[1],s+=y[1],m.originalLine=r+y[2],r=m.originalLine,m.originalLine+=1,m.originalColumn=c+y[3],c=m.originalColumn,y.length>4&&(m.name=u+y[4],u+=y[4])),h.push(m),typeof m.originalLine=="number"){let T=m.source;for(;d.length<=T;)d.push(null);d[T]===null&&(d[T]=[]),d[T].push(m)}}ote(h,A),this.__generatedMappings=h;for(var S=0;S<d.length;S++)d[S]!=null&&s0(d[S],yn.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...d)};Co.prototype._findMapping=function(t,n,i,o,r,c){if(t[i]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+t[i]);if(t[o]<0)throw new TypeError("Column must be greater than or equal to 0, got "+t[o]);return bR.search(t,n,r,c)};Co.prototype.computeColumnSpans=function(){for(var t=0;t<this._generatedMappings.length;++t){var n=this._generatedMappings[t];if(t+1<this._generatedMappings.length){var i=this._generatedMappings[t+1];if(n.generatedLine===i.generatedLine){n.lastGeneratedColumn=i.generatedColumn-1;continue}}n.lastGeneratedColumn=1/0}};Co.prototype.originalPositionFor=function(t){var n={generatedLine:yn.getArg(t,"line"),generatedColumn:yn.getArg(t,"column")},i=this._findMapping(n,this._generatedMappings,"generatedLine","generatedColumn",yn.compareByGeneratedPositionsDeflated,yn.getArg(t,"bias",Qs.GREATEST_LOWER_BOUND));if(i>=0){var o=this._generatedMappings[i];if(o.generatedLine===n.generatedLine){var r=yn.getArg(o,"source",null);r!==null&&(r=this._sources.at(r),r=yn.computeSourceURL(this.sourceRoot,r,this._sourceMapURL));var c=yn.getArg(o,"name",null);return c!==null&&(c=this._names.at(c)),{source:r,line:yn.getArg(o,"originalLine",null),column:yn.getArg(o,"originalColumn",null),name:c}}}return{source:null,line:null,column:null,name:null}};Co.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(t){return t==null}):!1};Co.prototype.sourceContentFor=function(t,n){if(!this.sourcesContent)return null;var i=this._findSourceIndex(t);if(i>=0)return this.sourcesContent[i];var o=t;this.sourceRoot!=null&&(o=yn.relative(this.sourceRoot,o));var r;if(this.sourceRoot!=null&&(r=yn.urlParse(this.sourceRoot))){var c=o.replace(/^file:\/\//,"");if(r.scheme=="file"&&this._sources.has(c))return this.sourcesContent[this._sources.indexOf(c)];if((!r.path||r.path=="/")&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(n)return null;throw new Error('"'+o+'" is not in the SourceMap.')};Co.prototype.generatedPositionFor=function(t){var n=yn.getArg(t,"source");if(n=this._findSourceIndex(n),n<0)return{line:null,column:null,lastColumn:null};var i={source:n,originalLine:yn.getArg(t,"line"),originalColumn:yn.getArg(t,"column")},o=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",yn.compareByOriginalPositions,yn.getArg(t,"bias",Qs.GREATEST_LOWER_BOUND));if(o>=0){var r=this._originalMappings[o];if(r.source===i.source)return{line:yn.getArg(r,"generatedLine",null),column:yn.getArg(r,"generatedColumn",null),lastColumn:yn.getArg(r,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};RS.BasicSourceMapConsumer=Co;function nu(e,t){var n=e;typeof e=="string"&&(n=yn.parseSourceMapInput(e));var i=yn.getArg(n,"version"),o=yn.getArg(n,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new G_,this._names=new G_;var r={line:-1,column:0};this._sections=o.map(function(c){if(c.url)throw new Error("Support for url field in sections not implemented.");var s=yn.getArg(c,"offset"),u=yn.getArg(s,"line"),H=yn.getArg(s,"column");if(u<r.line||u===r.line&&H<r.column)throw new Error("Section offsets must be ordered and non-overlapping.");return r=s,{generatedOffset:{generatedLine:u+1,generatedColumn:H+1},consumer:new Qs(yn.getArg(c,"map"),t)}})}nu.prototype=Object.create(Qs.prototype);nu.prototype.constructor=Qs;nu.prototype._version=3;Object.defineProperty(nu.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}});nu.prototype.originalPositionFor=function(t){var n={generatedLine:yn.getArg(t,"line"),generatedColumn:yn.getArg(t,"column")},i=bR.search(n,this._sections,function(r,c){var s=r.generatedLine-c.generatedOffset.generatedLine;return s||r.generatedColumn-c.generatedOffset.generatedColumn}),o=this._sections[i];return o?o.consumer.originalPositionFor({line:n.generatedLine-(o.generatedOffset.generatedLine-1),column:n.generatedColumn-(o.generatedOffset.generatedLine===n.generatedLine?o.generatedOffset.generatedColumn-1:0),bias:t.bias}):{source:null,line:null,column:null,name:null}};nu.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(t){return t.consumer.hasContentsOfAllSources()})};nu.prototype.sourceContentFor=function(t,n){for(var i=0;i<this._sections.length;i++){var o=this._sections[i],r=o.consumer.sourceContentFor(t,!0);if(r||r==="")return r}if(n)return null;throw new Error('"'+t+'" is not in the SourceMap.')};nu.prototype.generatedPositionFor=function(t){for(var n=0;n<this._sections.length;n++){var i=this._sections[n];if(i.consumer._findSourceIndex(yn.getArg(t,"source"))!==-1){var o=i.consumer.generatedPositionFor(t);if(o){var r={line:o.line+(i.generatedOffset.generatedLine-1),column:o.column+(i.generatedOffset.generatedLine===o.line?i.generatedOffset.generatedColumn-1:0)};return r}}}return{line:null,column:null}};nu.prototype._parseMappings=function(t,n){this.__generatedMappings=[],this.__originalMappings=[];for(var i=0;i<this._sections.length;i++)for(var o=this._sections[i],r=o.consumer._generatedMappings,c=0;c<r.length;c++){var s=r[c],u=o.consumer._sources.at(s.source);u!==null&&(u=yn.computeSourceURL(o.consumer.sourceRoot,u,this._sourceMapURL)),this._sources.add(u),u=this._sources.indexOf(u);var H=null;s.name&&(H=o.consumer._names.at(s.name),this._names.add(H),H=this._names.indexOf(H));var a={source:u,generatedLine:s.generatedLine+(o.generatedOffset.generatedLine-1),generatedColumn:s.generatedColumn+(o.generatedOffset.generatedLine===s.generatedLine?o.generatedOffset.generatedColumn-1:0),originalLine:s.originalLine,originalColumn:s.originalColumn,name:H};this.__generatedMappings.push(a),typeof a.originalLine=="number"&&this.__originalMappings.push(a)}s0(this.__generatedMappings,yn.compareByGeneratedPositionsDeflated),s0(this.__originalMappings,yn.compareByOriginalPositions)};RS.IndexedSourceMapConsumer=nu});var Hte=Le(ute=>{var Y8e=ER().SourceMapGenerator,$S=K_(),eFe=/(\r?\n)/,tFe=10,X_="$$$isSourceNode$$$";function Ul(e,t,n,i,o){this.children=[],this.sourceContents={},this.line=e??null,this.column=t??null,this.source=n??null,this.name=o??null,this[X_]=!0,i!=null&&this.add(i)}Ul.fromStringWithSourceMap=function(t,n,i){var o=new Ul,r=t.split(eFe),c=0,s=function(){var p=h(),d=h()||"";return p+d;function h(){return c<r.length?r[c++]:void 0}},u=1,H=0,a=null;return n.eachMapping(function(p){if(a!==null)if(u<p.generatedLine)l(a,s()),u++,H=0;else{var d=r[c]||"",h=d.substr(0,p.generatedColumn-H);r[c]=d.substr(p.generatedColumn-H),H=p.generatedColumn,l(a,h),a=p;return}for(;u<p.generatedLine;)o.add(s()),u++;if(H<p.generatedColumn){var d=r[c]||"";o.add(d.substr(0,p.generatedColumn)),r[c]=d.substr(p.generatedColumn),H=p.generatedColumn}a=p},this),c<r.length&&(a&&l(a,s()),o.add(r.splice(c).join(""))),n.sources.forEach(function(p){var d=n.sourceContentFor(p);d!=null&&(i!=null&&(p=$S.join(i,p)),o.setSourceContent(p,d))}),o;function l(p,d){if(p===null||p.source===void 0)o.add(d);else{var h=i?$S.join(i,p.source):p.source;o.add(new Ul(p.originalLine,p.originalColumn,h,d,p.name))}}};Ul.prototype.add=function(t){if(Array.isArray(t))t.forEach(function(n){this.add(n)},this);else if(t[X_]||typeof t=="string")t&&this.children.push(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};Ul.prototype.prepend=function(t){if(Array.isArray(t))for(var n=t.length-1;n>=0;n--)this.prepend(t[n]);else if(t[X_]||typeof t=="string")this.children.unshift(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};Ul.prototype.walk=function(t){for(var n,i=0,o=this.children.length;i<o;i++)n=this.children[i],n[X_]?n.walk(t):n!==""&&t(n,{source:this.source,line:this.line,column:this.column,name:this.name})};Ul.prototype.join=function(t){var n,i,o=this.children.length;if(o>0){for(n=[],i=0;i<o-1;i++)n.push(this.children[i]),n.push(t);n.push(this.children[i]),this.children=n}return this};Ul.prototype.replaceRight=function(t,n){var i=this.children[this.children.length-1];return i[X_]?i.replaceRight(t,n):typeof i=="string"?this.children[this.children.length-1]=i.replace(t,n):this.children.push("".replace(t,n)),this};Ul.prototype.setSourceContent=function(t,n){this.sourceContents[$S.toSetString(t)]=n};Ul.prototype.walkSourceContents=function(t){for(var n=0,i=this.children.length;n<i;n++)this.children[n][X_]&&this.children[n].walkSourceContents(t);for(var o=Object.keys(this.sourceContents),n=0,i=o.length;n<i;n++)t($S.fromSetString(o[n]),this.sourceContents[o[n]])};Ul.prototype.toString=function(){var t="";return this.walk(function(n){t+=n}),t};Ul.prototype.toStringWithSourceMap=function(t){var n={code:"",line:1,column:0},i=new Y8e(t),o=!1,r=null,c=null,s=null,u=null;return this.walk(function(H,a){n.code+=H,a.source!==null&&a.line!==null&&a.column!==null?((r!==a.source||c!==a.line||s!==a.column||u!==a.name)&&i.addMapping({source:a.source,original:{line:a.line,column:a.column},generated:{line:n.line,column:n.column},name:a.name}),r=a.source,c=a.line,s=a.column,u=a.name,o=!0):o&&(i.addMapping({generated:{line:n.line,column:n.column}}),r=null,o=!1);for(var l=0,p=H.length;l<p;l++)H.charCodeAt(l)===tFe?(n.line++,n.column=0,l+1===p?(r=null,o=!1):o&&i.addMapping({source:a.source,original:{line:a.line,column:a.column},generated:{line:n.line,column:n.column},name:a.name})):n.column++}),this.walkSourceContents(function(H,a){i.setSourceContent(H,a)}),{code:n.code,map:i}};ute.SourceNode=Ul});var BS=Le(MS=>{MS.SourceMapGenerator=ER().SourceMapGenerator;MS.SourceMapConsumer=cte().SourceMapConsumer;MS.SourceNode=Hte().SourceNode});var IR=Le((jDt,fte)=>{"use strict";var{existsSync:rFe,readFileSync:nFe}=require("fs"),{dirname:AR,join:iFe}=require("path"),{SourceMapConsumer:pte,SourceMapGenerator:dte}=BS();function sFe(e){return Buffer?Buffer.from(e,"base64").toString():window.atob(e)}var a0=class{constructor(t,n){if(n.map===!1)return;this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");let i=n.map?n.map.prev:void 0,o=this.loadMap(n.from,i);!this.mapFile&&n.from&&(this.mapFile=n.from),this.mapFile&&(this.root=AR(this.mapFile)),o&&(this.text=o)}consumer(){return this.consumerCache||(this.consumerCache=new pte(this.text)),this.consumerCache}decodeInline(t){let n=/^data:application\/json;charset=utf-?8;base64,/,i=/^data:application\/json;base64,/,o=/^data:application\/json;charset=utf-?8,/,r=/^data:application\/json,/,c=t.match(o)||t.match(r);if(c)return decodeURIComponent(t.substr(c[0].length));let s=t.match(n)||t.match(i);if(s)return sFe(t.substr(s[0].length));let u=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+u)}getAnnotationURL(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(t){return typeof t!="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)}loadAnnotation(t){let n=t.match(/\/\*\s*# sourceMappingURL=/g);if(!n)return;let i=t.lastIndexOf(n.pop()),o=t.indexOf("*/",i);i>-1&&o>-1&&(this.annotation=this.getAnnotationURL(t.substring(i,o)))}loadFile(t){if(this.root=AR(t),rFe(t))return this.mapFile=t,nFe(t,"utf-8").toString().trim()}loadMap(t,n){if(n===!1)return!1;if(n){if(typeof n=="string")return n;if(typeof n=="function"){let i=n(t);if(i){let o=this.loadFile(i);if(!o)throw new Error("Unable to load previous source map: "+i.toString());return o}}else{if(n instanceof pte)return dte.fromSourceMap(n).toString();if(n instanceof dte)return n.toString();if(this.isMap(n))return JSON.stringify(n);throw new Error("Unsupported previous source map format: "+n.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let i=this.annotation;return t&&(i=iFe(AR(t),i)),this.loadFile(i)}}}startWith(t,n){return t?t.substr(0,n.length)===n:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};fte.exports=a0;a0.default=a0});var o0=Le((UDt,yte)=>{"use strict";var{nanoid:aFe}=Fee(),{isAbsolute:TR,resolve:vR}=require("path"),{SourceMapConsumer:oFe,SourceMapGenerator:lFe}=BS(),{fileURLToPath:hte,pathToFileURL:OS}=require("url"),_te=xS(),cFe=IR(),SR=nR(),LR=Symbol("lineToIndexCache"),uFe=!!(oFe&&lFe),mte=!!(vR&&TR);function Ete(e){if(e[LR])return e[LR];let t=e.css.split(`
|
|
`),n=new Array(t.length),i=0;for(let o=0,r=t.length;o<r;o++)n[o]=i,i+=t[o].length+1;return e[LR]=n,n}var Z_=class{get from(){return this.file||this.id}constructor(t,n={}){if(t===null||typeof t>"u"||typeof t=="object"&&!t.toString)throw new Error(`PostCSS received ${t} instead of CSS string`);if(this.css=t.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,n.document&&(this.document=n.document.toString()),n.from&&(!mte||/^\w+:\/\//.test(n.from)||TR(n.from)?this.file=n.from:this.file=vR(n.from)),mte&&uFe){let i=new cFe(this.css,n);if(i.text){this.map=i;let o=i.consumer().file;!this.file&&o&&(this.file=this.mapResolve(o))}}this.file||(this.id="<input css "+aFe(6)+">"),this.map&&(this.map.file=this.from)}error(t,n,i,o={}){let r,c,s,u,H;if(n&&typeof n=="object"){let l=n,p=i;if(typeof l.offset=="number"){u=l.offset;let d=this.fromOffset(u);n=d.line,i=d.col}else n=l.line,i=l.column,u=this.fromLineAndColumn(n,i);if(typeof p.offset=="number"){s=p.offset;let d=this.fromOffset(s);c=d.line,r=d.col}else c=p.line,r=p.column,s=this.fromLineAndColumn(p.line,p.column)}else if(i)u=this.fromLineAndColumn(n,i);else{u=n;let l=this.fromOffset(u);n=l.line,i=l.col}let a=this.origin(n,i,c,r);return a?H=new _te(t,a.endLine===void 0?a.line:{column:a.column,line:a.line},a.endLine===void 0?a.column:{column:a.endColumn,line:a.endLine},a.source,a.file,o.plugin):H=new _te(t,c===void 0?n:{column:i,line:n},c===void 0?i:{column:r,line:c},this.css,this.file,o.plugin),H.input={column:i,endColumn:r,endLine:c,endOffset:s,line:n,offset:u,source:this.css},this.file&&(OS&&(H.input.url=OS(this.file).toString()),H.input.file=this.file),H}fromLineAndColumn(t,n){return Ete(this)[t-1]+n-1}fromOffset(t){let n=Ete(this),i=n[n.length-1],o=0;if(t>=i)o=n.length-1;else{let r=n.length-2,c;for(;o<r;)if(c=o+(r-o>>1),t<n[c])r=c-1;else if(t>=n[c+1])o=c+1;else{o=c;break}}return{col:t-n[o]+1,line:o+1}}mapResolve(t){return/^\w+:\/\//.test(t)?t:vR(this.map.consumer().sourceRoot||this.map.root||".",t)}origin(t,n,i,o){if(!this.map)return!1;let r=this.map.consumer(),c=r.originalPositionFor({column:n,line:t});if(!c.source)return!1;let s;typeof i=="number"&&(s=r.originalPositionFor({column:o,line:i}));let u;TR(c.source)?u=OS(c.source):u=new URL(c.source,this.map.consumer().sourceRoot||OS(this.map.mapFile));let H={column:c.column,endColumn:s&&s.column,endLine:s&&s.line,line:c.line,url:u.toString()};if(u.protocol==="file:")if(hte)H.file=hte(u);else throw new Error("file: protocol is not available in this PostCSS build");let a=r.sourceContentFor(c.source);return a&&(H.source=a),H}toJSON(){let t={};for(let n of["hasBOM","css","file","id"])this[n]!=null&&(t[n]=this[n]);return this.map&&(t.map={...this.map},t.map.consumerCache&&(t.map.consumerCache=void 0)),t}};yte.exports=Z_;Z_.default=Z_;SR&&SR.registerInput&&SR.registerInput(Z_)});var z_=Le((qDt,Ite)=>{"use strict";var gte=ed(),bte,Ate,td=class extends gte{constructor(t){super(t),this.type="root",this.nodes||(this.nodes=[])}normalize(t,n,i){let o=super.normalize(t);if(n){if(i==="prepend")this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n)for(let r of o)r.raws.before=n.raws.before}return o}removeChild(t,n){let i=this.index(t);return!n&&i===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[i].raws.before),super.removeChild(t)}toResult(t={}){return new bte(new Ate,this,t).stringify()}};td.registerLazyResult=e=>{bte=e};td.registerProcessor=e=>{Ate=e};Ite.exports=td;td.default=td;gte.registerRoot(td)});var CR=Le((WDt,Ste)=>{"use strict";var l0={comma(e){return l0.split(e,[","],!0)},space(e){let t=[" ",`
|
|
`," "];return l0.split(e,t)},split(e,t,n){let i=[],o="",r=!1,c=0,s=!1,u="",H=!1;for(let a of e)H?H=!1:a==="\\"?H=!0:s?a===u&&(s=!1):a==='"'||a==="'"?(s=!0,u=a):a==="("?c+=1:a===")"?c>0&&(c-=1):c===0&&t.includes(a)&&(r=!0),r?(o!==""&&i.push(o.trim()),o="",r=!1):o+=a;return(n||o!=="")&&i.push(o.trim()),i}};Ste.exports=l0;l0.default=l0});var FS=Le((VDt,Tte)=>{"use strict";var Lte=ed(),HFe=CR(),J_=class extends Lte{get selectors(){return HFe.comma(this.selector)}set selectors(t){let n=this.selector?this.selector.match(/,\s*/):null,i=n?n[0]:","+this.raw("between","beforeOpen");this.selector=t.join(i)}constructor(t){super(t),this.type="rule",this.nodes||(this.nodes=[])}};Tte.exports=J_;J_.default=J_;Lte.registerRule(J_)});var Cte=Le((KDt,vte)=>{"use strict";var pFe=PS(),dFe=e0(),fFe=r0(),hFe=o0(),_Fe=IR(),mFe=z_(),EFe=FS();function c0(e,t){if(Array.isArray(e))return e.map(o=>c0(o));let{inputs:n,...i}=e;if(n){t=[];for(let o of n){let r={...o,__proto__:hFe.prototype};r.map&&(r.map={...r.map,__proto__:_Fe.prototype}),t.push(r)}}if(i.nodes&&(i.nodes=e.nodes.map(o=>c0(o,t))),i.source){let{inputId:o,...r}=i.source;i.source=r,o!=null&&(i.source.input=t[o])}if(i.type==="root")return new mFe(i);if(i.type==="decl")return new fFe(i);if(i.type==="rule")return new EFe(i);if(i.type==="comment")return new dFe(i);if(i.type==="atrule")return new pFe(i);throw new Error("Unknown node type: "+e.type)}vte.exports=c0;c0.default=c0});var DR=Le((GDt,Nte)=>{"use strict";var{dirname:jS,relative:Dte,resolve:Pte,sep:wte}=require("path"),{SourceMapConsumer:kte,SourceMapGenerator:US}=BS(),{pathToFileURL:xte}=require("url"),yFe=o0(),gFe=!!(kte&&US),bFe=!!(jS&&Pte&&Dte&&wte),xR=class{constructor(t,n,i,o){this.stringify=t,this.mapOpts=i.map||{},this.root=n,this.opts=i,this.css=o,this.originalCSS=o,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let t;this.isInline()?t="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?t=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+".map";let n=`
|
|
`;this.css.includes(`\r
|
|
`)&&(n=`\r
|
|
`),this.css+=n+"/*# sourceMappingURL="+t+" */"}applyPrevMaps(){for(let t of this.previous()){let n=this.toUrl(this.path(t.file)),i=t.root||jS(t.file),o;this.mapOpts.sourcesContent===!1?(o=new kte(t.text),o.sourcesContent&&(o.sourcesContent=null)):o=t.consumer(),this.map.applySourceMap(o,n,this.toUrl(this.path(i)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let t;for(let n=this.root.nodes.length-1;n>=0;n--)t=this.root.nodes[n],t.type==="comment"&&t.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(n)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),bFe&&gFe&&this.isMap())return this.generateMap();{let t="";return this.stringify(this.root,n=>{t+=n}),[t]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=US.fromSourceMap(t,{ignoreInvalidMapping:!0})}else this.map=new US({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new US({file:this.outputFile(),ignoreInvalidMapping:!0});let t=1,n=1,i="<no source>",o={generated:{column:0,line:0},original:{column:0,line:0},source:""},r,c;this.stringify(this.root,(s,u,H)=>{if(this.css+=s,u&&H!=="end"&&(o.generated.line=t,o.generated.column=n-1,u.source&&u.source.start?(o.source=this.sourcePath(u),o.original.line=u.source.start.line,o.original.column=u.source.start.column-1,this.map.addMapping(o)):(o.source=i,o.original.line=1,o.original.column=0,this.map.addMapping(o))),c=s.match(/\n/g),c?(t+=c.length,r=s.lastIndexOf(`
|
|
`),n=s.length-r):n+=s.length,u&&H!=="start"){let a=u.parent||{raws:{}};(!(u.type==="decl"||u.type==="atrule"&&!u.nodes)||u!==a.last||a.raws.semicolon)&&(u.source&&u.source.end?(o.source=this.sourcePath(u),o.original.line=u.source.end.line,o.original.column=u.source.end.column-1,o.generated.line=t,o.generated.column=n-2,this.map.addMapping(o)):(o.source=i,o.original.line=1,o.original.column=0,o.generated.line=t,o.generated.column=n-1,this.map.addMapping(o)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(t=>t.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let t=this.mapOpts.annotation;return typeof t<"u"&&t!==!0?!1:this.previous().length?this.previous().some(n=>n.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(t=>t.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(t){if(this.mapOpts.absolute||t.charCodeAt(0)===60||/^\w+:\/\//.test(t))return t;let n=this.memoizedPaths.get(t);if(n)return n;let i=this.opts.to?jS(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(i=jS(Pte(i,this.mapOpts.annotation)));let o=Dte(i,t);return this.memoizedPaths.set(t,o),o}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(t=>{if(t.source&&t.source.input.map){let n=t.source.input.map;this.previousMaps.includes(n)||this.previousMaps.push(n)}});else{let t=new yFe(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps}setSourcesContent(){let t={};if(this.root)this.root.walk(n=>{if(n.source){let i=n.source.input.from;if(i&&!t[i]){t[i]=!0;let o=this.usesFileUrls?this.toFileUrl(i):this.toUrl(this.path(i));this.map.setSourceContent(o,n.source.input.css)}}});else if(this.css){let n=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(n,this.css)}}sourcePath(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))}toBase64(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))}toFileUrl(t){let n=this.memoizedFileURLs.get(t);if(n)return n;if(xte){let i=xte(t).toString();return this.memoizedFileURLs.set(t,i),i}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(t){let n=this.memoizedURLs.get(t);if(n)return n;wte==="\\"&&(t=t.replace(/\\/g,"/"));let i=encodeURI(t).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(t,i),i}};Nte.exports=xR});var Bte=Le((XDt,Mte)=>{"use strict";var AFe=PS(),IFe=e0(),SFe=r0(),LFe=z_(),Rte=FS(),TFe=rR(),$te={empty:!0,space:!0};function vFe(e){for(let t=e.length-1;t>=0;t--){let n=e[t],i=n[3]||n[2];if(i)return i}}var PR=class{constructor(t){this.input=t,this.root=new LFe,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{column:1,line:1,offset:0}}}atrule(t){let n=new AFe;n.name=t[1].slice(1),n.name===""&&this.unnamedAtrule(n,t),this.init(n,t[2]);let i,o,r,c=!1,s=!1,u=[],H=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),i=t[0],i==="("||i==="["?H.push(i==="("?")":"]"):i==="{"&&H.length>0?H.push("}"):i===H[H.length-1]&&H.pop(),H.length===0)if(i===";"){n.source.end=this.getPosition(t[2]),n.source.end.offset++,this.semicolon=!0;break}else if(i==="{"){s=!0;break}else if(i==="}"){if(u.length>0){for(r=u.length-1,o=u[r];o&&o[0]==="space";)o=u[--r];o&&(n.source.end=this.getPosition(o[3]||o[2]),n.source.end.offset++)}this.end(t);break}else u.push(t);else u.push(t);if(this.tokenizer.endOfFile()){c=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(u),u.length?(n.raws.afterName=this.spacesAndCommentsFromStart(u),this.raw(n,"params",u),c&&(t=u[u.length-1],n.source.end=this.getPosition(t[3]||t[2]),n.source.end.offset++,this.spaces=n.raws.between,n.raws.between="")):(n.raws.afterName="",n.params=""),s&&(n.nodes=[],this.current=n)}checkMissedSemicolon(t){let n=this.colon(t);if(n===!1)return;let i=0,o;for(let r=n-1;r>=0&&(o=t[r],!(o[0]!=="space"&&(i+=1,i===2)));r--);throw this.input.error("Missed semicolon",o[0]==="word"?o[3]+1:o[2])}colon(t){let n=0,i,o,r;for(let[c,s]of t.entries()){if(o=s,r=o[0],r==="("&&(n+=1),r===")"&&(n-=1),n===0&&r===":")if(!i)this.doubleColon(o);else{if(i[0]==="word"&&i[1]==="progid")continue;return c}i=o}return!1}comment(t){let n=new IFe;this.init(n,t[2]),n.source.end=this.getPosition(t[3]||t[2]),n.source.end.offset++;let i=t[1].slice(2,-2);if(/^\s*$/.test(i))n.text="",n.raws.left=i,n.raws.right="";else{let o=i.match(/^(\s*)([^]*\S)(\s*)$/);n.text=o[2],n.raws.left=o[1],n.raws.right=o[3]}}createTokenizer(){this.tokenizer=TFe(this.input)}decl(t,n){let i=new SFe;this.init(i,t[0][2]);let o=t[t.length-1];for(o[0]===";"&&(this.semicolon=!0,t.pop()),i.source.end=this.getPosition(o[3]||o[2]||vFe(t)),i.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),i.raws.before+=t.shift()[1];for(i.source.start=this.getPosition(t[0][2]),i.prop="";t.length;){let H=t[0][0];if(H===":"||H==="space"||H==="comment")break;i.prop+=t.shift()[1]}i.raws.between="";let r;for(;t.length;)if(r=t.shift(),r[0]===":"){i.raws.between+=r[1];break}else r[0]==="word"&&/\w/.test(r[1])&&this.unknownWord([r]),i.raws.between+=r[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1));let c=[],s;for(;t.length&&(s=t[0][0],!(s!=="space"&&s!=="comment"));)c.push(t.shift());this.precheckMissedSemicolon(t);for(let H=t.length-1;H>=0;H--){if(r=t[H],r[1].toLowerCase()==="!important"){i.important=!0;let a=this.stringFrom(t,H);a=this.spacesFromEnd(t)+a,a!==" !important"&&(i.raws.important=a);break}else if(r[1].toLowerCase()==="important"){let a=t.slice(0),l="";for(let p=H;p>0;p--){let d=a[p][0];if(l.trim().startsWith("!")&&d!=="space")break;l=a.pop()[1]+l}l.trim().startsWith("!")&&(i.important=!0,i.raws.important=l,t=a)}if(r[0]!=="space"&&r[0]!=="comment")break}t.some(H=>H[0]!=="space"&&H[0]!=="comment")&&(i.raws.between+=c.map(H=>H[1]).join(""),c=[]),this.raw(i,"value",c.concat(t),n),i.value.includes(":")&&!n&&this.checkMissedSemicolon(t)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}emptyRule(t){let n=new Rte;this.init(n,t[2]),n.selector="",n.raws.between="",this.current=n}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let n=this.current.nodes[this.current.nodes.length-1];n&&n.type==="rule"&&!n.raws.ownSemicolon&&(n.raws.ownSemicolon=this.spaces,this.spaces="",n.source.end=this.getPosition(t[2]),n.source.end.offset+=n.raws.ownSemicolon.length)}}getPosition(t){let n=this.input.fromOffset(t);return{column:n.col,line:n.line,offset:t}}init(t,n){this.current.push(t),t.source={input:this.input,start:this.getPosition(n)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}other(t){let n=!1,i=null,o=!1,r=null,c=[],s=t[1].startsWith("--"),u=[],H=t;for(;H;){if(i=H[0],u.push(H),i==="("||i==="[")r||(r=H),c.push(i==="("?")":"]");else if(s&&o&&i==="{")r||(r=H),c.push("}");else if(c.length===0)if(i===";")if(o){this.decl(u,s);return}else break;else if(i==="{"){this.rule(u);return}else if(i==="}"){this.tokenizer.back(u.pop()),n=!0;break}else i===":"&&(o=!0);else i===c[c.length-1]&&(c.pop(),c.length===0&&(r=null));H=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(n=!0),c.length>0&&this.unclosedBracket(r),n&&o){if(!s)for(;u.length&&(H=u[u.length-1][0],!(H!=="space"&&H!=="comment"));)this.tokenizer.back(u.pop());this.decl(u,s)}else this.unknownWord(u)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}precheckMissedSemicolon(){}raw(t,n,i,o){let r,c,s=i.length,u="",H=!0,a,l;for(let p=0;p<s;p+=1)r=i[p],c=r[0],c==="space"&&p===s-1&&!o?H=!1:c==="comment"?(l=i[p-1]?i[p-1][0]:"empty",a=i[p+1]?i[p+1][0]:"empty",!$te[l]&&!$te[a]?u.slice(-1)===","?H=!1:u+=r[1]:H=!1):u+=r[1];if(!H){let p=i.reduce((d,h)=>d+h[1],"");t.raws[n]={raw:p,value:u}}t[n]=u}rule(t){t.pop();let n=new Rte;this.init(n,t[0][2]),n.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(n,"selector",t),this.current=n}spacesAndCommentsFromEnd(t){let n,i="";for(;t.length&&(n=t[t.length-1][0],!(n!=="space"&&n!=="comment"));)i=t.pop()[1]+i;return i}spacesAndCommentsFromStart(t){let n,i="";for(;t.length&&(n=t[0][0],!(n!=="space"&&n!=="comment"));)i+=t.shift()[1];return i}spacesFromEnd(t){let n,i="";for(;t.length&&(n=t[t.length-1][0],n==="space");)i=t.pop()[1]+i;return i}stringFrom(t,n){let i="";for(let o=n;o<t.length;o++)i+=t[o][1];return t.splice(n,t.length-n),i}unclosedBlock(){let t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)}unclosedBracket(t){throw this.input.error("Unclosed bracket",{offset:t[2]},{offset:t[2]+1})}unexpectedClose(t){throw this.input.error("Unexpected }",{offset:t[2]},{offset:t[2]+1})}unknownWord(t){throw this.input.error("Unknown word "+t[0][1],{offset:t[0][2]},{offset:t[0][2]+t[0][1].length})}unnamedAtrule(t,n){throw this.input.error("At-rule without name",{offset:n[2]},{offset:n[2]+n[1].length})}};Mte.exports=PR});var WS=Le((ZDt,Ote)=>{"use strict";var CFe=ed(),xFe=o0(),DFe=Bte();function qS(e,t){let n=new xFe(e,t),i=new DFe(n);try{i.parse()}catch(o){throw process.env.NODE_ENV!=="production"&&o.name==="CssSyntaxError"&&t&&t.from&&(/\.scss$/i.test(t.from)?o.message+=`
|
|
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(t.from)?o.message+=`
|
|
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(t.from)&&(o.message+=`
|
|
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),o}return i.root}Ote.exports=qS;qS.default=qS;CFe.registerParse(qS)});var wR=Le((zDt,Fte)=>{"use strict";var u0=class{constructor(t,n={}){if(this.type="warning",this.text=t,n.node&&n.node.source){let i=n.node.rangeBy(n);this.line=i.start.line,this.column=i.start.column,this.endLine=i.end.line,this.endColumn=i.end.column}for(let i in n)this[i]=n[i]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};Fte.exports=u0;u0.default=u0});var VS=Le((JDt,jte)=>{"use strict";var PFe=wR(),H0=class{get content(){return this.css}constructor(t,n,i){this.processor=t,this.messages=[],this.root=n,this.opts=i,this.css="",this.map=void 0}toString(){return this.css}warn(t,n={}){n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);let i=new PFe(t,n);return this.messages.push(i),i}warnings(){return this.messages.filter(t=>t.type==="warning")}};jte.exports=H0;H0.default=H0});var kR=Le((QDt,qte)=>{"use strict";var Ute={};qte.exports=function(t){Ute[t]||(Ute[t]=!0,typeof console<"u"&&console.warn&&console.warn(t))}});var $R=Le((YDt,Gte)=>{"use strict";var wFe=ed(),kFe=wS(),NFe=DR(),RFe=WS(),Wte=VS(),$Fe=z_(),MFe=Z1(),{isClean:Vu,my:BFe}=DS(),OFe=kR(),FFe={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},jFe={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},UFe={Once:!0,postcssPlugin:!0,prepare:!0},Q_=0;function p0(e){return typeof e=="object"&&typeof e.then=="function"}function Kte(e){let t=!1,n=FFe[e.type];return e.type==="decl"?t=e.prop.toLowerCase():e.type==="atrule"&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,Q_,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,Q_,n+"Exit"]:[n,n+"Exit"]}function Vte(e){let t;return e.type==="document"?t=["Document",Q_,"DocumentExit"]:e.type==="root"?t=["Root",Q_,"RootExit"]:t=Kte(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function NR(e){return e[Vu]=!1,e.nodes&&e.nodes.forEach(t=>NR(t)),e}var RR={},rd=class e{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(t,n,i){this.stringified=!1,this.processed=!1;let o;if(typeof n=="object"&&n!==null&&(n.type==="root"||n.type==="document"))o=NR(n);else if(n instanceof e||n instanceof Wte)o=NR(n.root),n.map&&(typeof i.map>"u"&&(i.map={}),i.map.inline||(i.map.inline=!1),i.map.prev=n.map);else{let r=RFe;i.syntax&&(r=i.syntax.parse),i.parser&&(r=i.parser),r.parse&&(r=r.parse);try{o=r(n,i)}catch(c){this.processed=!0,this.error=c}o&&!o[BFe]&&wFe.rebuild(o)}this.result=new Wte(t,o,i),this.helpers={...RR,postcss:RR,result:this.result},this.plugins=this.processor.plugins.map(r=>typeof r=="object"&&r.prepare?{...r,...r.prepare(this.result)}:r)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(t,n){let i=this.result.lastPlugin;try{if(n&&n.addToError(t),this.error=t,t.name==="CssSyntaxError"&&!t.plugin)t.plugin=i.postcssPlugin,t.setMessage();else if(i.postcssVersion&&process.env.NODE_ENV!=="production"){let o=i.postcssPlugin,r=i.postcssVersion,c=this.result.processor.version,s=r.split("."),u=c.split(".");(s[0]!==u[0]||parseInt(s[1])>parseInt(u[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+c+", but "+o+" uses "+r+". Perhaps this is the source of the error below.")}}catch(o){console&&console.error&&console.error(o)}return t}prepareVisitors(){this.listeners={};let t=(n,i,o)=>{this.listeners[i]||(this.listeners[i]=[]),this.listeners[i].push([n,o])};for(let n of this.plugins)if(typeof n=="object")for(let i in n){if(!jFe[i]&&/^[A-Z]/.test(i))throw new Error(`Unknown event ${i} in ${n.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!UFe[i])if(typeof n[i]=="object")for(let o in n[i])o==="*"?t(n,i,n[i][o]):t(n,i+"-"+o.toLowerCase(),n[i][o]);else typeof n[i]=="function"&&t(n,i,n[i])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let t=0;t<this.plugins.length;t++){let n=this.plugins[t],i=this.runOnRoot(n);if(p0(i))try{await i}catch(o){throw this.handleError(o)}}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[Vu];){t[Vu]=!0;let n=[Vte(t)];for(;n.length>0;){let i=this.visitTick(n);if(p0(i))try{await i}catch(o){let r=n[n.length-1].node;throw this.handleError(o,r)}}}if(this.listeners.OnceExit)for(let[n,i]of this.listeners.OnceExit){this.result.lastPlugin=n;try{if(t.type==="document"){let o=t.nodes.map(r=>i(r,this.helpers));await Promise.all(o)}else await i(t,this.helpers)}catch(o){throw this.handleError(o)}}}return this.processed=!0,this.stringify()}runOnRoot(t){this.result.lastPlugin=t;try{if(typeof t=="object"&&t.Once){if(this.result.root.type==="document"){let n=this.result.root.nodes.map(i=>t.Once(i,this.helpers));return p0(n[0])?Promise.all(n):n}return t.Once(this.result.root,this.helpers)}else if(typeof t=="function")return t(this.result.root,this.result)}catch(n){throw this.handleError(n)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let t=this.result.opts,n=MFe;t.syntax&&(n=t.syntax.stringify),t.stringifier&&(n=t.stringifier),n.stringify&&(n=n.stringify);let o=new NFe(n,this.result.root,this.result.opts).generate();return this.result.css=o[0],this.result.map=o[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let t of this.plugins){let n=this.runOnRoot(t);if(p0(n))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[Vu];)t[Vu]=!0,this.walkSync(t);if(this.listeners.OnceExit)if(t.type==="document")for(let n of t.nodes)this.visitSync(this.listeners.OnceExit,n);else this.visitSync(this.listeners.OnceExit,t)}return this.result}then(t,n){return process.env.NODE_ENV!=="production"&&("from"in this.opts||OFe("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(t,n)}toString(){return this.css}visitSync(t,n){for(let[i,o]of t){this.result.lastPlugin=i;let r;try{r=o(n,this.helpers)}catch(c){throw this.handleError(c,n.proxyOf)}if(n.type!=="root"&&n.type!=="document"&&!n.parent)return!0;if(p0(r))throw this.getAsyncError()}}visitTick(t){let n=t[t.length-1],{node:i,visitors:o}=n;if(i.type!=="root"&&i.type!=="document"&&!i.parent){t.pop();return}if(o.length>0&&n.visitorIndex<o.length){let[c,s]=o[n.visitorIndex];n.visitorIndex+=1,n.visitorIndex===o.length&&(n.visitors=[],n.visitorIndex=0),this.result.lastPlugin=c;try{return s(i.toProxy(),this.helpers)}catch(u){throw this.handleError(u,i)}}if(n.iterator!==0){let c=n.iterator,s;for(;s=i.nodes[i.indexes[c]];)if(i.indexes[c]+=1,!s[Vu]){s[Vu]=!0,t.push(Vte(s));return}n.iterator=0,delete i.indexes[c]}let r=n.events;for(;n.eventIndex<r.length;){let c=r[n.eventIndex];if(n.eventIndex+=1,c===Q_){i.nodes&&i.nodes.length&&(i[Vu]=!0,n.iterator=i.getIterator());return}else if(this.listeners[c]){n.visitors=this.listeners[c];return}}t.pop()}walkSync(t){t[Vu]=!0;let n=Kte(t);for(let i of n)if(i===Q_)t.nodes&&t.each(o=>{o[Vu]||this.walkSync(o)});else{let o=this.listeners[i];if(o&&this.visitSync(o,t.toProxy()))return}}warnings(){return this.sync().warnings()}};rd.registerPostcss=e=>{RR=e};Gte.exports=rd;rd.default=rd;$Fe.registerLazyResult(rd);kFe.registerLazyResult(rd)});var Zte=Le((ePt,Xte)=>{"use strict";var qFe=DR(),WFe=WS(),VFe=VS(),KFe=Z1(),GFe=kR(),d0=class{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let t,n=WFe;try{t=n(this._css,this._opts)}catch(i){this.error=i}if(this.error)throw this.error;return this._root=t,t}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(t,n,i){n=n.toString(),this.stringified=!1,this._processor=t,this._css=n,this._opts=i,this._map=void 0;let o,r=KFe;this.result=new VFe(this._processor,o,this._opts),this.result.css=n;let c=this;Object.defineProperty(this.result,"root",{get(){return c.root}});let s=new qFe(r,o,this._opts,n);if(s.isMap()){let[u,H]=s.generate();u&&(this.result.css=u),H&&(this.result.map=H)}else s.clearAnnotation(),this.result.css=s.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}sync(){if(this.error)throw this.error;return this.result}then(t,n){return process.env.NODE_ENV!=="production"&&("from"in this._opts||GFe("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(t,n)}toString(){return this._css}warnings(){return[]}};Xte.exports=d0;d0.default=d0});var Jte=Le((tPt,zte)=>{"use strict";var XFe=wS(),ZFe=$R(),zFe=Zte(),JFe=z_(),Cf=class{constructor(t=[]){this.version="8.5.4",this.plugins=this.normalize(t)}normalize(t){let n=[];for(let i of t)if(i.postcss===!0?i=i():i.postcss&&(i=i.postcss),typeof i=="object"&&Array.isArray(i.plugins))n=n.concat(i.plugins);else if(typeof i=="object"&&i.postcssPlugin)n.push(i);else if(typeof i=="function")n.push(i);else if(typeof i=="object"&&(i.parse||i.stringify)){if(process.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(i+" is not a PostCSS plugin");return n}process(t,n={}){return!this.plugins.length&&!n.parser&&!n.stringifier&&!n.syntax?new zFe(this,t,n):new ZFe(this,t,n)}use(t){return this.plugins=this.plugins.concat(this.normalize([t])),this}};zte.exports=Cf;Cf.default=Cf;JFe.registerProcessor(Cf);XFe.registerProcessor(Cf)});var gl=Le((rPt,ire)=>{"use strict";var Qte=PS(),Yte=e0(),QFe=ed(),YFe=xS(),ere=r0(),tre=wS(),e4e=Cte(),t4e=o0(),r4e=$R(),n4e=CR(),i4e=Q1(),s4e=WS(),MR=Jte(),a4e=VS(),rre=z_(),nre=FS(),o4e=Z1(),l4e=wR();function ms(...e){return e.length===1&&Array.isArray(e[0])&&(e=e[0]),new MR(e)}ms.plugin=function(t,n){let i=!1;function o(...c){console&&console.warn&&!i&&(i=!0,console.warn(t+`: postcss.plugin was deprecated. Migration guide:
|
|
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(t+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
|
|
https://www.w3ctech.com/topic/2226`));let s=n(...c);return s.postcssPlugin=t,s.postcssVersion=new MR().version,s}let r;return Object.defineProperty(o,"postcss",{get(){return r||(r=o()),r}}),o.process=function(c,s,u){return ms([o(u)]).process(c,s)},o};ms.stringify=o4e;ms.parse=s4e;ms.fromJSON=e4e;ms.list=n4e;ms.comment=e=>new Yte(e);ms.atRule=e=>new Qte(e);ms.decl=e=>new ere(e);ms.rule=e=>new nre(e);ms.root=e=>new rre(e);ms.document=e=>new tre(e);ms.CssSyntaxError=YFe;ms.Declaration=ere;ms.Container=QFe;ms.Processor=MR;ms.Document=tre;ms.Comment=Yte;ms.Warning=l4e;ms.AtRule=Qte;ms.Result=a4e;ms.Input=t4e;ms.Rule=nre;ms.Root=rre;ms.Node=i4e;r4e.registerPostcss(ms);ire.exports=ms;ms.default=ms});var UR=Le((KPt,hre)=>{var L4e={}.toString;hre.exports=Array.isArray||function(e){return L4e.call(e)=="[object Array]"}});var mre=Le((GPt,_re)=>{"use strict";var T4e=UR();_re.exports=function(t){return t!=null&&typeof t=="object"&&T4e(t)===!1}});var qR=Le((ZPt,Ere)=>{"use strict";var v4e=UR(),C4e=mre(),XPt=Array.prototype.slice;Ere.exports=Y_;function Y_(e,t){if(!(this instanceof Y_))return typeof t=="number"?new Y_(e).fromIndex(t):new Y_(e,t);this.str=e||"",this.lineToIndex=x4e(this.str),t=t||{},this.origin=typeof t.origin>"u"?1:t.origin}Y_.prototype.fromIndex=function(e){if(e<0||e>=this.str.length||isNaN(e))return null;var t=D4e(e,this.lineToIndex);return{line:t+this.origin,col:e-this.lineToIndex[t]+this.origin}};Y_.prototype.toIndex=function(e,t){if(typeof t>"u")return v4e(e)&&e.length>=2?this.toIndex(e[0],e[1]):C4e(e)&&"line"in e&&("col"in e||"column"in e)?this.toIndex(e.line,"col"in e?e.col:e.column):-1;if(isNaN(e)||isNaN(t))return-1;if(e-=this.origin,t-=this.origin,e>=0&&t>=0&&e<this.lineToIndex.length){var n=this.lineToIndex[e],i=e===this.lineToIndex.length-1?this.str.length:this.lineToIndex[e+1];if(t<i-n)return n+t}return-1};function x4e(e){for(var t=e.split(`
|
|
`),n=new Array(t.length),i=0,o=0,r=t.length;o<r;o++)n[o]=i,i+=t[o].length+1;return n}function D4e(e,t){if(e>=t[t.length-1])return t.length-1;for(var n=0,i=t.length-2,o;n<i;)if(o=n+(i-n>>1),e<t[o])i=o-1;else if(e>=t[o+1])n=o+1;else{n=o;break}return n}});var eL=Le((yre,YS)=>{(function(e,t){typeof define=="function"&&define.amd?define([],t):typeof YS=="object"&&YS.exports?YS.exports=t():e.moo=t()})(yre,function(){"use strict";var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=typeof new RegExp().sticky=="boolean";function i(L){return L&&t.call(L)==="[object RegExp]"}function o(L){return L&&typeof L=="object"&&!i(L)&&!Array.isArray(L)}function r(L){return L.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function c(L){var x=new RegExp("|"+L);return x.exec("").length-1}function s(L){return"("+L+")"}function u(L){if(!L.length)return"(?!)";var x=L.map(function(C){return"(?:"+C+")"}).join("|");return"(?:"+x+")"}function H(L){if(typeof L=="string")return"(?:"+r(L)+")";if(i(L)){if(L.ignoreCase)throw new Error("RegExp /i flag not allowed");if(L.global)throw new Error("RegExp /g flag is implied");if(L.sticky)throw new Error("RegExp /y flag is implied");if(L.multiline)throw new Error("RegExp /m flag is implied");return L.source}else throw new Error("Not a pattern: "+L)}function a(L){for(var x=Object.getOwnPropertyNames(L),C=[],D=0;D<x.length;D++){var O=x[D],j=L[O],k=[].concat(j);if(O==="include"){for(var $=0;$<k.length;$++)C.push({include:k[$]});continue}var U=[];k.forEach(function(F){o(F)?(U.length&&C.push(p(O,U)),C.push(p(O,F)),U=[]):U.push(F)}),U.length&&C.push(p(O,U))}return C}function l(L){for(var x=[],C=0;C<L.length;C++){var D=L[C];if(D.include){for(var O=[].concat(D.include),j=0;j<O.length;j++)x.push({include:O[j]});continue}if(!D.type)throw new Error("Rule has no type: "+JSON.stringify(D));x.push(p(D.type,D))}return x}function p(L,x){if(o(x)||(x={match:x}),x.include)throw new Error("Matching rules cannot also include states");var C={defaultType:L,lineBreaks:!!x.error||!!x.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var D in x)e.call(x,D)&&(C[D]=x[D]);if(typeof C.type=="string"&&L!==C.type)throw new Error("Type transform cannot be a string (type '"+C.type+"' for token '"+L+"')");var O=C.match;return C.match=Array.isArray(O)?O:O?[O]:[],C.match.sort(function(j,k){return i(j)&&i(k)?0:i(k)?-1:i(j)?1:k.length-j.length}),C}function d(L){return Array.isArray(L)?l(L):a(L)}var h=p("error",{lineBreaks:!0,shouldThrow:!0});function m(L,x){for(var C=null,D=Object.create(null),O=!0,j=null,k=[],$=[],U=0;U<L.length;U++)L[U].fallback&&(O=!1);for(var U=0;U<L.length;U++){var F=L[U];if(F.include)throw new Error("Inheritance is not allowed in stateless lexers");if(F.error||F.fallback){if(C)throw!F.fallback==!C.fallback?new Error("Multiple "+(F.fallback?"fallback":"error")+" rules not allowed (for token '"+F.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+F.defaultType+"')");C=F}var P=F.match.slice();if(O)for(;P.length&&typeof P[0]=="string"&&P[0].length===1;){var W=P.shift();D[W.charCodeAt(0)]=F}if(F.pop||F.push||F.next){if(!x)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+F.defaultType+"')");if(F.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+F.defaultType+"')")}if(P.length!==0){O=!1,k.push(F);for(var Z=0;Z<P.length;Z++){var ee=P[Z];if(i(ee)){if(j===null)j=ee.unicode;else if(j!==ee.unicode&&F.fallback===!1)throw new Error("If one rule is /u then all must be")}}var J=u(P.map(H)),ne=new RegExp(J);if(ne.test(""))throw new Error("RegExp matches empty string: "+ne);var K=c(J);if(K>0)throw new Error("RegExp has capture groups: "+ne+`
|
|
Use (?: \u2026 ) instead`);if(!F.lineBreaks&&ne.test(`
|
|
`))throw new Error("Rule should declare lineBreaks: "+ne);$.push(s(J))}}var q=C&&C.fallback,Q=n&&!q?"ym":"gm",z=n||q?"":"|";j===!0&&(Q+="u");var ie=new RegExp(u($)+z,Q);return{regexp:ie,groups:k,fast:D,error:C||h}}function g(L){var x=m(d(L));return new A({start:x},"start")}function y(L,x,C){var D=L&&(L.push||L.next);if(D&&!C[D])throw new Error("Missing state '"+D+"' (in token '"+L.defaultType+"' of state '"+x+"')");if(L&&L.pop&&+L.pop!=1)throw new Error("pop must be 1 (in token '"+L.defaultType+"' of state '"+x+"')")}function _(L,x){var C=L.$all?d(L.$all):[];delete L.$all;var D=Object.getOwnPropertyNames(L);x||(x=D[0]);for(var O=Object.create(null),j=0;j<D.length;j++){var k=D[j];O[k]=d(L[k]).concat(C)}for(var j=0;j<D.length;j++)for(var k=D[j],$=O[k],U=Object.create(null),F=0;F<$.length;F++){var P=$[F];if(P.include){var W=[F,1];if(P.include!==k&&!U[P.include]){U[P.include]=!0;var Z=O[P.include];if(!Z)throw new Error("Cannot include nonexistent state '"+P.include+"' (in state '"+k+"')");for(var ee=0;ee<Z.length;ee++){var J=Z[ee];$.indexOf(J)===-1&&W.push(J)}}$.splice.apply($,W),F--}}for(var ne=Object.create(null),j=0;j<D.length;j++){var k=D[j];ne[k]=m(O[k],!0)}for(var j=0;j<D.length;j++){for(var K=D[j],q=ne[K],Q=q.groups,F=0;F<Q.length;F++)y(Q[F],K,ne);for(var z=Object.getOwnPropertyNames(q.fast),F=0;F<z.length;F++)y(q.fast[z[F]],K,ne)}return new A(ne,x)}function E(L){for(var x=Object.create(null),C=Object.create(null),D=Object.getOwnPropertyNames(L),O=0;O<D.length;O++){var j=D[O],k=L[j],$=Array.isArray(k)?k:[k];$.forEach(function(Z){if((C[Z.length]=C[Z.length]||[]).push(Z),typeof Z!="string")throw new Error("keyword must be string (in keyword '"+j+"')");x[Z]=j})}function U(Z){return JSON.stringify(Z)}var F="";F+=`switch (value.length) {
|
|
`;for(var P in C){var W=C[P];F+="case "+P+`:
|
|
`,F+=`switch (value) {
|
|
`,W.forEach(function(Z){var ee=x[Z];F+="case "+U(Z)+": return "+U(ee)+`
|
|
`}),F+=`}
|
|
`}return F+=`}
|
|
`,Function("value",F)}var A=function(L,x){this.startState=x,this.states=L,this.buffer="",this.stack=[],this.reset()};A.prototype.reset=function(L,x){return this.buffer=L||"",this.index=0,this.line=x?x.line:1,this.col=x?x.col:1,this.queuedToken=x?x.queuedToken:null,this.queuedThrow=x?x.queuedThrow:null,this.setState(x?x.state:this.startState),this.stack=x&&x.stack?x.stack.slice():[],this},A.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedThrow:this.queuedThrow}},A.prototype.setState=function(L){if(!(!L||this.state===L)){this.state=L;var x=this.states[L];this.groups=x.groups,this.error=x.error,this.re=x.regexp,this.fast=x.fast}},A.prototype.popState=function(){this.setState(this.stack.pop())},A.prototype.pushState=function(L){this.stack.push(this.state),this.setState(L)};var S=n?function(L,x){return L.exec(x)}:function(L,x){var C=L.exec(x);return C[0].length===0?null:C};A.prototype._getGroup=function(L){for(var x=this.groups.length,C=0;C<x;C++)if(L[C+1]!==void 0)return this.groups[C];throw new Error("Cannot find token type for matched text")};function T(){return this.value}if(A.prototype.next=function(){var L=this.index;if(this.queuedGroup){var x=this._token(this.queuedGroup,this.queuedText,L);return this.queuedGroup=null,this.queuedText="",x}var C=this.buffer;if(L!==C.length){var k=this.fast[C.charCodeAt(L)];if(k)return this._token(k,C.charAt(L),L);var D=this.re;D.lastIndex=L;var O=S(D,C),j=this.error;if(O==null)return this._token(j,C.slice(L,C.length),L);var k=this._getGroup(O),$=O[0];return j.fallback&&O.index!==L?(this.queuedGroup=k,this.queuedText=$,this._token(j,C.slice(L,O.index),L)):this._token(k,$,L)}},A.prototype._token=function(L,x,C){var D=0;if(L.lineBreaks){var O=/\n/g,j=1;if(x===`
|
|
`)D=1;else for(;O.exec(x);)D++,j=O.lastIndex}var k={type:typeof L.type=="function"&&L.type(x)||L.defaultType,value:typeof L.value=="function"?L.value(x):x,text:x,toString:T,offset:C,lineBreaks:D,line:this.line,col:this.col},$=x.length;if(this.index+=$,this.line+=D,D!==0?this.col=$-j+1:this.col+=$,L.shouldThrow)throw new Error(this.formatError(k,"invalid syntax"));return L.pop?this.popState():L.push?this.pushState(L.push):L.next&&this.setState(L.next),k},typeof Symbol<"u"&&Symbol.iterator){var I=function(L){this.lexer=L};I.prototype.next=function(){var L=this.lexer.next();return{value:L,done:!L}},I.prototype[Symbol.iterator]=function(){return this},A.prototype[Symbol.iterator]=function(){return new I(this)}}return A.prototype.formatError=function(L,x){if(L==null)var C=this.buffer.slice(this.index),L={text:C,offset:this.index,lineBreaks:C.indexOf(`
|
|
`)===-1?0:1,line:this.line,col:this.col};var D=Math.max(0,L.offset-L.col+1),O=L.lineBreaks?L.text.indexOf(`
|
|
`):L.text.length,j=this.buffer.substring(D,L.offset+O);return x+=" at line "+L.line+" col "+L.col+`:
|
|
|
|
`,x+=" "+j+`
|
|
`,x+=" "+Array(L.col).join(" ")+"^",x},A.prototype.clone=function(){return new A(this.states,this.state)},A.prototype.has=function(L){return!0},{compile:g,states:_,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:E}})});var Dre=Le((Iwt,xre)=>{var ZR=class extends Map{constructor(t={}){super(),typeof t=="number"&&(t={max:t});let{max:n,maxAge:i}=t;this.max=n>0&&n||1/0,this.maxAge=i!==void 0?i:-1,this.stale=!!t.stale}peek(t){return this.get(t,!1)}set(t,n,i=this.maxAge){this.has(t)&&this.delete(t),this.size+1>this.max&&this.delete(this.keys().next().value);let o=i>-1&&i+Date.now();return super.set(t,{expires:o,content:n})}get(t,n=!0){let i=super.get(t);if(i===void 0)return i;let{expires:o,content:r}=i;return o!==!1&&Date.now()>=o?(this.delete(t),this.stale?r:void 0):(n&&this.set(t,r),r)}};xre.exports=ZR});var jre=Le((Kwt,Fre)=>{Fre.exports=function(t,n){if(t==null||t.length===0)return n==null||n.length===0?0:n.length;if(n==null||n.length===0)return t.length;for(var i=0,o=0,r=0,c=0,s=5;i+o<t.length&&i+r<n.length;){if(t.charAt(i+o)==n.charAt(i+r))c++;else{o=0,r=0;for(var u=0;u<s;u++){if(i+u<t.length&&t.charAt(i+u)==n.charAt(i)){o=u;break}if(i+u<n.length&&t.charAt(i)==n.charAt(i+u)){r=u;break}}}i++}return(t.length+n.length)/2-c}});var mL=Le(Ac=>{"use strict";Ac.isInteger=e=>typeof e=="number"?Number.isInteger(e):typeof e=="string"&&e.trim()!==""?Number.isInteger(Number(e)):!1;Ac.find=(e,t)=>e.nodes.find(n=>n.type===t);Ac.exceedsLimit=(e,t,n=1,i)=>i===!1||!Ac.isInteger(e)||!Ac.isInteger(t)?!1:(Number(t)-Number(e))/Number(n)>=i;Ac.escapeNode=(e,t=0,n)=>{let i=e.nodes[t];i&&(n&&i.type===n||i.type==="open"||i.type==="close")&&i.escaped!==!0&&(i.value="\\"+i.value,i.escaped=!0)};Ac.encloseBrace=e=>e.type!=="brace"?!1:e.commas>>0+e.ranges>>0===0?(e.invalid=!0,!0):!1;Ac.isInvalidBrace=e=>e.type!=="brace"?!1:e.invalid===!0||e.dollar?!0:e.commas>>0+e.ranges>>0===0||e.open!==!0||e.close!==!0?(e.invalid=!0,!0):!1;Ac.isOpenOrClose=e=>e.type==="open"||e.type==="close"?!0:e.open===!0||e.close===!0;Ac.reduce=e=>e.reduce((t,n)=>(n.type==="text"&&t.push(n.value),n.type==="range"&&(n.type="text"),t),[]);Ac.flatten=(...e)=>{let t=[],n=i=>{for(let o=0;o<i.length;o++){let r=i[o];if(Array.isArray(r)){n(r);continue}r!==void 0&&t.push(r)}return t};return n(e),t}});var EL=Le((ikt,Kre)=>{"use strict";var Vre=mL();Kre.exports=(e,t={})=>{let n=(i,o={})=>{let r=t.escapeInvalid&&Vre.isInvalidBrace(o),c=i.invalid===!0&&t.escapeInvalid===!0,s="";if(i.value)return(r||c)&&Vre.isOpenOrClose(i)?"\\"+i.value:i.value;if(i.value)return i.value;if(i.nodes)for(let u of i.nodes)s+=n(u);return s};return n(e)}});var Xre=Le((skt,Gre)=>{"use strict";Gre.exports=function(e){return typeof e=="number"?e-e===0:typeof e=="string"&&e.trim()!==""?Number.isFinite?Number.isFinite(+e):isFinite(+e):!1}});var nne=Le((akt,rne)=>{"use strict";var Zre=Xre(),Pf=(e,t,n)=>{if(Zre(e)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(t===void 0||e===t)return String(e);if(Zre(t)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let i={relaxZeros:!0,...n};typeof i.strictZeros=="boolean"&&(i.relaxZeros=i.strictZeros===!1);let o=String(i.relaxZeros),r=String(i.shorthand),c=String(i.capture),s=String(i.wrap),u=e+":"+t+"="+o+r+c+s;if(Pf.cache.hasOwnProperty(u))return Pf.cache[u].result;let H=Math.min(e,t),a=Math.max(e,t);if(Math.abs(H-a)===1){let m=e+"|"+t;return i.capture?`(${m})`:i.wrap===!1?m:`(?:${m})`}let l=tne(e)||tne(t),p={min:e,max:t,a:H,b:a},d=[],h=[];if(l&&(p.isPadded=l,p.maxLen=String(p.max).length),H<0){let m=a<0?Math.abs(a):1;h=zre(m,Math.abs(H),p,i),H=p.a=0}return a>=0&&(d=zre(H,a,p,i)),p.negatives=h,p.positives=d,p.result=K4e(h,d,i),i.capture===!0?p.result=`(${p.result})`:i.wrap!==!1&&d.length+h.length>1&&(p.result=`(?:${p.result})`),Pf.cache[u]=p,p.result};function K4e(e,t,n){let i=YR(e,t,"-",!1,n)||[],o=YR(t,e,"",!1,n)||[],r=YR(e,t,"-?",!0,n)||[];return i.concat(r).concat(o).join("|")}function G4e(e,t){let n=1,i=1,o=Qre(e,n),r=new Set([t]);for(;e<=o&&o<=t;)r.add(o),n+=1,o=Qre(e,n);for(o=Yre(t+1,i)-1;e<o&&o<=t;)r.add(o),i+=1,o=Yre(t+1,i)-1;return r=[...r],r.sort(z4e),r}function X4e(e,t,n){if(e===t)return{pattern:e,count:[],digits:0};let i=Z4e(e,t),o=i.length,r="",c=0;for(let s=0;s<o;s++){let[u,H]=i[s];u===H?r+=u:u!=="0"||H!=="9"?r+=J4e(u,H,n):c++}return c&&(r+=n.shorthand===!0?"\\d":"[0-9]"),{pattern:r,count:[c],digits:o}}function zre(e,t,n,i){let o=G4e(e,t),r=[],c=e,s;for(let u=0;u<o.length;u++){let H=o[u],a=X4e(String(c),String(H),i),l="";if(!n.isPadded&&s&&s.pattern===a.pattern){s.count.length>1&&s.count.pop(),s.count.push(a.count[0]),s.string=s.pattern+ene(s.count),c=H+1;continue}n.isPadded&&(l=Q4e(H,n,i)),a.string=l+a.pattern+ene(a.count),r.push(a),c=H+1,s=a}return r}function YR(e,t,n,i,o){let r=[];for(let c of e){let{string:s}=c;!i&&!Jre(t,"string",s)&&r.push(n+s),i&&Jre(t,"string",s)&&r.push(n+s)}return r}function Z4e(e,t){let n=[];for(let i=0;i<e.length;i++)n.push([e[i],t[i]]);return n}function z4e(e,t){return e>t?1:t>e?-1:0}function Jre(e,t,n){return e.some(i=>i[t]===n)}function Qre(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function Yre(e,t){return e-e%Math.pow(10,t)}function ene(e){let[t=0,n=""]=e;return n||t>1?`{${t+(n?","+n:"")}}`:""}function J4e(e,t,n){return`[${e}${t-e===1?"":"-"}${t}]`}function tne(e){return/^-?(0+)\d/.test(e)}function Q4e(e,t,n){if(!t.isPadded)return e;let i=Math.abs(t.maxLen-String(e).length),o=n.relaxZeros!==!1;switch(i){case 0:return"";case 1:return o?"0?":"0";case 2:return o?"0{0,2}":"00";default:return o?`0{0,${i}}`:`0{${i}}`}}Pf.cache={};Pf.clearCache=()=>Pf.cache={};rne.exports=Pf});var r$=Le((okt,une)=>{"use strict";var Y4e=require("util"),sne=nne(),ine=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),e7e=e=>t=>e===!0?Number(t):String(t),e$=e=>typeof e=="number"||typeof e=="string"&&e!=="",m0=e=>Number.isInteger(+e),t$=e=>{let t=`${e}`,n=-1;if(t[0]==="-"&&(t=t.slice(1)),t==="0")return!1;for(;t[++n]==="0";);return n>0},t7e=(e,t,n)=>typeof e=="string"||typeof t=="string"?!0:n.stringify===!0,r7e=(e,t,n)=>{if(t>0){let i=e[0]==="-"?"-":"";i&&(e=e.slice(1)),e=i+e.padStart(i?t-1:t,"0")}return n===!1?String(e):e},gL=(e,t)=>{let n=e[0]==="-"?"-":"";for(n&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return n?"-"+e:e},n7e=(e,t,n)=>{e.negatives.sort((s,u)=>s<u?-1:s>u?1:0),e.positives.sort((s,u)=>s<u?-1:s>u?1:0);let i=t.capture?"":"?:",o="",r="",c;return e.positives.length&&(o=e.positives.map(s=>gL(String(s),n)).join("|")),e.negatives.length&&(r=`-(${i}${e.negatives.map(s=>gL(String(s),n)).join("|")})`),o&&r?c=`${o}|${r}`:c=o||r,t.wrap?`(${i}${c})`:c},ane=(e,t,n,i)=>{if(n)return sne(e,t,{wrap:!1,...i});let o=String.fromCharCode(e);if(e===t)return o;let r=String.fromCharCode(t);return`[${o}-${r}]`},one=(e,t,n)=>{if(Array.isArray(e)){let i=n.wrap===!0,o=n.capture?"":"?:";return i?`(${o}${e.join("|")})`:e.join("|")}return sne(e,t,n)},lne=(...e)=>new RangeError("Invalid range arguments: "+Y4e.inspect(...e)),cne=(e,t,n)=>{if(n.strictRanges===!0)throw lne([e,t]);return[]},i7e=(e,t)=>{if(t.strictRanges===!0)throw new TypeError(`Expected step "${e}" to be a number`);return[]},s7e=(e,t,n=1,i={})=>{let o=Number(e),r=Number(t);if(!Number.isInteger(o)||!Number.isInteger(r)){if(i.strictRanges===!0)throw lne([e,t]);return[]}o===0&&(o=0),r===0&&(r=0);let c=o>r,s=String(e),u=String(t),H=String(n);n=Math.max(Math.abs(n),1);let a=t$(s)||t$(u)||t$(H),l=a?Math.max(s.length,u.length,H.length):0,p=a===!1&&t7e(e,t,i)===!1,d=i.transform||e7e(p);if(i.toRegex&&n===1)return ane(gL(e,l),gL(t,l),!0,i);let h={negatives:[],positives:[]},m=_=>h[_<0?"negatives":"positives"].push(Math.abs(_)),g=[],y=0;for(;c?o>=r:o<=r;)i.toRegex===!0&&n>1?m(o):g.push(r7e(d(o,y),l,p)),o=c?o-n:o+n,y++;return i.toRegex===!0?n>1?n7e(h,i,l):one(g,null,{wrap:!1,...i}):g},a7e=(e,t,n=1,i={})=>{if(!m0(e)&&e.length>1||!m0(t)&&t.length>1)return cne(e,t,i);let o=i.transform||(p=>String.fromCharCode(p)),r=`${e}`.charCodeAt(0),c=`${t}`.charCodeAt(0),s=r>c,u=Math.min(r,c),H=Math.max(r,c);if(i.toRegex&&n===1)return ane(u,H,!1,i);let a=[],l=0;for(;s?r>=c:r<=c;)a.push(o(r,l)),r=s?r-n:r+n,l++;return i.toRegex===!0?one(a,null,{wrap:!1,options:i}):a},yL=(e,t,n,i={})=>{if(t==null&&e$(e))return[e];if(!e$(e)||!e$(t))return cne(e,t,i);if(typeof n=="function")return yL(e,t,1,{transform:n});if(ine(n))return yL(e,t,0,n);let o={...i};return o.capture===!0&&(o.wrap=!0),n=n||o.step||1,m0(n)?m0(e)&&m0(t)?s7e(e,t,n,o):a7e(e,t,Math.max(Math.abs(n),1),o):n!=null&&!ine(n)?i7e(n,o):yL(e,t,1,n)};une.exports=yL});var dne=Le((lkt,pne)=>{"use strict";var o7e=r$(),Hne=mL(),l7e=(e,t={})=>{let n=(i,o={})=>{let r=Hne.isInvalidBrace(o),c=i.invalid===!0&&t.escapeInvalid===!0,s=r===!0||c===!0,u=t.escapeInvalid===!0?"\\":"",H="";if(i.isOpen===!0)return u+i.value;if(i.isClose===!0)return console.log("node.isClose",u,i.value),u+i.value;if(i.type==="open")return s?u+i.value:"(";if(i.type==="close")return s?u+i.value:")";if(i.type==="comma")return i.prev.type==="comma"?"":s?i.value:"|";if(i.value)return i.value;if(i.nodes&&i.ranges>0){let a=Hne.reduce(i.nodes),l=o7e(...a,{...t,wrap:!1,toRegex:!0,strictZeros:!0});if(l.length!==0)return a.length>1&&l.length>1?`(${l})`:l}if(i.nodes)for(let a of i.nodes)H+=n(a,i);return H};return n(e)};pne.exports=l7e});var _ne=Le((ckt,hne)=>{"use strict";var c7e=r$(),fne=EL(),im=mL(),wf=(e="",t="",n=!1)=>{let i=[];if(e=[].concat(e),t=[].concat(t),!t.length)return e;if(!e.length)return n?im.flatten(t).map(o=>`{${o}}`):t;for(let o of e)if(Array.isArray(o))for(let r of o)i.push(wf(r,t,n));else for(let r of t)n===!0&&typeof r=="string"&&(r=`{${r}}`),i.push(Array.isArray(r)?wf(o,r,n):o+r);return im.flatten(i)},u7e=(e,t={})=>{let n=t.rangeLimit===void 0?1e3:t.rangeLimit,i=(o,r={})=>{o.queue=[];let c=r,s=r.queue;for(;c.type!=="brace"&&c.type!=="root"&&c.parent;)c=c.parent,s=c.queue;if(o.invalid||o.dollar){s.push(wf(s.pop(),fne(o,t)));return}if(o.type==="brace"&&o.invalid!==!0&&o.nodes.length===2){s.push(wf(s.pop(),["{}"]));return}if(o.nodes&&o.ranges>0){let l=im.reduce(o.nodes);if(im.exceedsLimit(...l,t.step,n))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let p=c7e(...l,t);p.length===0&&(p=fne(o,t)),s.push(wf(s.pop(),p)),o.nodes=[];return}let u=im.encloseBrace(o),H=o.queue,a=o;for(;a.type!=="brace"&&a.type!=="root"&&a.parent;)a=a.parent,H=a.queue;for(let l=0;l<o.nodes.length;l++){let p=o.nodes[l];if(p.type==="comma"&&o.type==="brace"){l===1&&H.push(""),H.push("");continue}if(p.type==="close"){s.push(wf(s.pop(),H,u));continue}if(p.value&&p.type!=="open"){H.push(wf(H.pop(),p.value));continue}p.nodes&&i(p,o)}return H};return im.flatten(i(e))};hne.exports=u7e});var Ene=Le((ukt,mne)=>{"use strict";mne.exports={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
|
|
`,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var Ine=Le((Hkt,Ane)=>{"use strict";var H7e=EL(),{MAX_LENGTH:yne,CHAR_BACKSLASH:n$,CHAR_BACKTICK:p7e,CHAR_COMMA:d7e,CHAR_DOT:f7e,CHAR_LEFT_PARENTHESES:h7e,CHAR_RIGHT_PARENTHESES:_7e,CHAR_LEFT_CURLY_BRACE:m7e,CHAR_RIGHT_CURLY_BRACE:E7e,CHAR_LEFT_SQUARE_BRACKET:gne,CHAR_RIGHT_SQUARE_BRACKET:bne,CHAR_DOUBLE_QUOTE:y7e,CHAR_SINGLE_QUOTE:g7e,CHAR_NO_BREAK_SPACE:b7e,CHAR_ZERO_WIDTH_NOBREAK_SPACE:A7e}=Ene(),I7e=(e,t={})=>{if(typeof e!="string")throw new TypeError("Expected a string");let n=t||{},i=typeof n.maxLength=="number"?Math.min(yne,n.maxLength):yne;if(e.length>i)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${i})`);let o={type:"root",input:e,nodes:[]},r=[o],c=o,s=o,u=0,H=e.length,a=0,l=0,p,d=()=>e[a++],h=m=>{if(m.type==="text"&&s.type==="dot"&&(s.type="text"),s&&s.type==="text"&&m.type==="text"){s.value+=m.value;return}return c.nodes.push(m),m.parent=c,m.prev=s,s=m,m};for(h({type:"bos"});a<H;)if(c=r[r.length-1],p=d(),!(p===A7e||p===b7e)){if(p===n$){h({type:"text",value:(t.keepEscaping?p:"")+d()});continue}if(p===bne){h({type:"text",value:"\\"+p});continue}if(p===gne){u++;let m;for(;a<H&&(m=d());){if(p+=m,m===gne){u++;continue}if(m===n$){p+=d();continue}if(m===bne&&(u--,u===0))break}h({type:"text",value:p});continue}if(p===h7e){c=h({type:"paren",nodes:[]}),r.push(c),h({type:"text",value:p});continue}if(p===_7e){if(c.type!=="paren"){h({type:"text",value:p});continue}c=r.pop(),h({type:"text",value:p}),c=r[r.length-1];continue}if(p===y7e||p===g7e||p===p7e){let m=p,g;for(t.keepQuotes!==!0&&(p="");a<H&&(g=d());){if(g===n$){p+=g+d();continue}if(g===m){t.keepQuotes===!0&&(p+=g);break}p+=g}h({type:"text",value:p});continue}if(p===m7e){l++;let g={type:"brace",open:!0,close:!1,dollar:s.value&&s.value.slice(-1)==="$"||c.dollar===!0,depth:l,commas:0,ranges:0,nodes:[]};c=h(g),r.push(c),h({type:"open",value:p});continue}if(p===E7e){if(c.type!=="brace"){h({type:"text",value:p});continue}let m="close";c=r.pop(),c.close=!0,h({type:m,value:p}),l--,c=r[r.length-1];continue}if(p===d7e&&l>0){if(c.ranges>0){c.ranges=0;let m=c.nodes.shift();c.nodes=[m,{type:"text",value:H7e(c)}]}h({type:"comma",value:p}),c.commas++;continue}if(p===f7e&&l>0&&c.commas===0){let m=c.nodes;if(l===0||m.length===0){h({type:"text",value:p});continue}if(s.type==="dot"){if(c.range=[],s.value+=p,s.type="range",c.nodes.length!==3&&c.nodes.length!==5){c.invalid=!0,c.ranges=0,s.type="text";continue}c.ranges++,c.args=[];continue}if(s.type==="range"){m.pop();let g=m[m.length-1];g.value+=s.value+p,s=g,c.ranges--;continue}h({type:"dot",value:p});continue}h({type:"text",value:p})}do if(c=r.pop(),c.type!=="root"){c.nodes.forEach(y=>{y.nodes||(y.type==="open"&&(y.isOpen=!0),y.type==="close"&&(y.isClose=!0),y.nodes||(y.type="text"),y.invalid=!0)});let m=r[r.length-1],g=m.nodes.indexOf(c);m.nodes.splice(g,1,...c.nodes)}while(r.length>0);return h({type:"eos"}),o};Ane.exports=I7e});var E0=Le((pkt,Lne)=>{"use strict";var Sne=EL(),S7e=dne(),L7e=_ne(),T7e=Ine(),Wl=(e,t={})=>{let n=[];if(Array.isArray(e))for(let i of e){let o=Wl.create(i,t);Array.isArray(o)?n.push(...o):n.push(o)}else n=[].concat(Wl.create(e,t));return t&&t.expand===!0&&t.nodupes===!0&&(n=[...new Set(n)]),n};Wl.parse=(e,t={})=>T7e(e,t);Wl.stringify=(e,t={})=>Sne(typeof e=="string"?Wl.parse(e,t):e,t);Wl.compile=(e,t={})=>(typeof e=="string"&&(e=Wl.parse(e,t)),S7e(e,t));Wl.expand=(e,t={})=>{typeof e=="string"&&(e=Wl.parse(e,t));let n=L7e(e,t);return t.noempty===!0&&(n=n.filter(Boolean)),t.nodupes===!0&&(n=[...new Set(n)]),n};Wl.create=(e,t={})=>e===""||e.length<3?[e]:t.expand!==!0?Wl.compile(e,t):Wl.expand(e,t);Lne.exports=Wl});var $ne=Le((Mkt,Rne)=>{Rne.exports=function(e,t){"use strict";var n={};function i(r){if(n[r])return n[r].exports;var c=n[r]={i:r,l:!1,exports:{}};return e[r].call(c.exports,c,c.exports,i),c.l=!0,c.exports}i.ab=__dirname+"/";function o(){return i(104)}return t(i),o()}({34:function(e,t){(function(n,i){i(t)})(this,function(n){"use strict";var i={indent:" ",tagCase:"",attributeCase:"",attributeQuotes:"double",format:!0,formatSkip:["html"],formatForce:["body"],inlineBreak:3,compactBooleanAttributes:!1,booleanAttributes:["contenteditable","seamless","async","autofocus","autoplay","checked","controls","defer","disabled","formnovalidate","hidden","ismap","loop","multiple","muted","novalidate","readonly","required","reversed","selected","typemustmatch"],selfClosingStyle:"html",inlineElements:["a","abbr","acronym","applet","b","basefont","bdo","big","br","button","cite","code","del","dfn","em","font","i","iframe","img","input","ins","kbd","label","map","object","q","s","samp","select","small","span","strike","strong","sub","sup","textarea","tt","u","var"]};class o{constructor(Ee){this.options=Object.assign({},i,Ee),this.quoteChar=this.options.attributeQuotes==="single"?"'":'"'}get(Ee){return this.options[Ee]}quote(Ee){return`${this.quoteChar}${Ee??""}${this.quoteChar}`}name(Ee){return r(Ee,this.options.tagCase)}attribute(Ee){return r(Ee,this.options.attributeCase)}isBooleanAttribute(Ee){return Ee.options.boolean||this.get("booleanAttributes").indexOf((Ee.name||"").toLowerCase())!==-1}selfClose(){switch(this.options.selfClosingStyle){case"xhtml":return" /";case"xml":return"/";default:return""}}indent(Ee){Ee=Ee||0;let Be="";for(;Ee--;)Be+=this.options.indent;return Be}isInline(Ee){return typeof Ee=="string"?this.get("inlineElements").indexOf(Ee.toLowerCase())!==-1:Ee.name!=null?this.isInline(Ee.name):Ee.isTextOnly}field(Ee,Be){return this.options.field(Ee,Be)}}function r(le,Ee){return Ee&&(le=Ee==="upper"?le.toUpperCase():le.toLowerCase()),le}class c{constructor(Ee,Be){this.key=Ee,this.value=Be}}class s{constructor(Ee){this._string=new Map,this._regexp=new Map,this._disabled=!1,this.load(Ee)}get disabled(){return this._disabled}disable(){this._disabled=!0}enable(){this._disabled=!1}set(Ee,Be){if(typeof Ee=="string")Ee.split("|").forEach(Ye=>this._string.set(Ye,new c(Ye,Be)));else if(Ee instanceof RegExp)this._regexp.set(Ee,new c(Ee,Be));else throw new Error("Unknow snippet key: "+Ee);return this}get(Ee){if(this.disabled)return;if(this._string.has(Ee))return this._string.get(Ee);let Be=Array.from(this._regexp.keys());for(let Ye=0,Et=Be.length;Ye<Et;Ye++)if(Be[Ye].test(Ee))return this._regexp.get(Be[Ye])}load(Ee){this.reset(),Ee instanceof Map?Ee.forEach((Be,Ye)=>this.set(Ye,Be)):Ee&&typeof Ee=="object"&&Object.keys(Ee).forEach(Be=>this.set(Be,Ee[Be]))}reset(){this._string.clear(),this._regexp.clear()}values(){if(this.disabled)return[];let Ee=Array.from(this._string.values()),Be=Array.from(this._regexp.values());return Ee.concat(Be)}}class u{constructor(Ee){this._registry=[],Array.isArray(Ee)?Ee.forEach((Be,Ye)=>this.add(Ye,Be)):typeof Ee=="object"&&this.add(Ee)}get(Ee){for(let Be=0;Be<this._registry.length;Be++){let Ye=this._registry[Be];if(Ye.level===Ee)return Ye.store}}add(Ee,Be){Ee!=null&&typeof Ee=="object"&&(Be=Ee,Ee=0);let Ye=new s(Be);return this.remove(Ee),this._registry.push({level:Ee,store:Ye}),this._registry.sort((Et,kt)=>kt.level-Et.level),Ye}remove(Ee){this._registry=this._registry.filter(Be=>Be.level!==Ee&&Be.store!==Ee)}resolve(Ee){for(let Be=0;Be<this._registry.length;Be++){let Ye=this._registry[Be].store.get(Ee);if(Ye)return Ye}}all(Ee){Ee=Ee||{};let Be=new Map,Ye=Et=>{let kt=Et.key instanceof RegExp?"regexp":"string";(!Ee.type||Ee.type===kt)&&!Be.has(Et.key)&&Be.set(Et.key,Et)};return this._registry.forEach(Et=>{Et.store.values().forEach(Ye)}),Array.from(Be.values())}clear(){this._registry.length=0}}let H=39,a=34,l={escape:92,throws:!1};var p=function(le,Ee){Ee=Ee?Object.assign({},l,Ee):l;let Be=le.pos,Ye=le.peek();if(le.eat(d)){for(;!le.eof();)switch(le.next()){case Ye:return le.start=Be,!0;case Ee.escape:le.next();break}if(le.pos=Be,Ee.throws)throw le.error("Unable to consume quoted string")}return!1};function d(le){return le===H||le===a}function h(le){return le>47&&le<58}function m(le,Ee,Be){return Ee=Ee||65,Be=Be||90,le&=-33,le>=Ee&&le<=Be}function g(le){return h(le)||m(le)}function y(le){return le===32||le===9||le===160}function _(le){return y(le)||le===10||le===13}class E{constructor(Ee,Be,Ye){this.name=Ee,this.value=Be??null,this.options=Ye||{}}clone(){return new E(this.name,this.value,Object.assign({},this.options))}valueOf(){return`${this.name}="${this.value}"`}}class A{constructor(Ee,Be){this.name=Ee||null,this.value=null,this.repeat=null,this.selfClosing=!1,this.children=[],this.parent=null,this.next=null,this.previous=null,this._attributes=[],Array.isArray(Be)&&Be.forEach(Ye=>this.setAttribute(Ye))}get attributes(){return this._attributes}get attributesMap(){return this.attributes.reduce((Ee,Be)=>(Ee[Be.name]=Be.options.boolean?Be.name:Be.value,Ee),{})}get isGroup(){return!this.name&&!this.value&&!this._attributes.length}get isTextOnly(){return!this.name&&!!this.value&&!this._attributes.length}get firstChild(){return this.children[0]}get lastChild(){return this.children[this.children.length-1]}get childIndex(){return this.parent?this.parent.children.indexOf(this):-1}get nextSibling(){return this.next}get previousSibling(){return this.previous}get classList(){let Ee=this.getAttribute("class");return Ee&&Ee.value?Ee.value.split(/\s+/g).filter(I):[]}create(Ee,Be){return new A(Ee,Be)}setAttribute(Ee,Be){let Ye=S(Ee,Be),Et=this.getAttribute(Ee);Et?this.replaceAttribute(Et,Ye):this._attributes.push(Ye)}hasAttribute(Ee){return!!this.getAttribute(Ee)}getAttribute(Ee){typeof Ee=="object"&&(Ee=Ee.name);for(var Be=0;Be<this._attributes.length;Be++){let Ye=this._attributes[Be];if(Ye.name===Ee)return Ye}}replaceAttribute(Ee,Be,Ye){typeof Ee=="string"&&(Ee=this.getAttribute(Ee));let Et=this._attributes.indexOf(Ee);Et!==-1&&this._attributes.splice(Et,1,S(Be,Ye))}removeAttribute(Ee){typeof Ee=="string"&&(Ee=this.getAttribute(Ee));let Be=this._attributes.indexOf(Ee);Be!==-1&&this._attributes.splice(Be,1)}clearAttributes(){this._attributes.length=0}addClass(Ee){Ee=T(Ee),this.hasAttribute("class")?Ee&&!this.hasClass(Ee)&&this.setAttribute("class",this.classList.concat(Ee).join(" ")):this.setAttribute("class",Ee)}hasClass(Ee){return this.classList.indexOf(T(Ee))!==-1}removeClass(Ee){Ee=T(Ee),this.hasClass(Ee)&&this.setAttribute("class",this.classList.filter(Be=>Be!==Ee).join(" "))}appendChild(Ee){this.insertAt(Ee,this.children.length)}insertBefore(Ee,Be){this.insertAt(Ee,this.children.indexOf(Be))}insertAt(Ee,Be){if(Be<0||Be>this.children.length)throw new Error("Unable to insert node: position is out of child list range");let Ye=this.children[Be-1],Et=this.children[Be];Ee.remove(),Ee.parent=this,this.children.splice(Be,0,Ee),Ye&&(Ee.previous=Ye,Ye.next=Ee),Et&&(Ee.next=Et,Et.previous=Ee)}removeChild(Ee){let Be=this.children.indexOf(Ee);Be!==-1&&(this.children.splice(Be,1),Ee.previous&&(Ee.previous.next=Ee.next),Ee.next&&(Ee.next.previous=Ee.previous),Ee.parent=Ee.next=Ee.previous=null)}remove(){this.parent&&this.parent.removeChild(this)}clone(Ee){let Be=new A(this.name);return Be.value=this.value,Be.selfClosing=this.selfClosing,this.repeat&&(Be.repeat=Object.assign({},this.repeat)),this._attributes.forEach(Ye=>Be.setAttribute(Ye.clone())),Ee&&this.children.forEach(Ye=>Be.appendChild(Ye.clone(!0))),Be}walk(Ee,Be){Be=Be||0;let Ye=this.firstChild;for(;Ye;){let Et=Ye.next;if(Ee(Ye,Be)===!1||Ye.walk(Ee,Be+1)===!1)return!1;Ye=Et}}use(Ee){let Be=[this];for(var Ye=1;Ye<arguments.length;Ye++)Be.push(arguments[Ye]);return Ee.apply(null,Be),this}toString(){let Ee=this.attributes.map(Ye=>{Ye=this.getAttribute(Ye.name);let Et=Ye.options,kt=`${Et&&Et.implied?"!":""}${Ye.name||""}`;return Et&&Et.boolean?kt+=".":Ye.value!=null&&(kt+=`="${Ye.value}"`),kt}),Be=`${this.name||""}`;return Ee.length&&(Be+=`[${Ee.join(" ")}]`),this.value!=null&&(Be+=`{${this.value}}`),this.selfClosing&&(Be+="/"),this.repeat&&(Be+=`*${this.repeat.count?this.repeat.count:""}`,this.repeat.value!=null&&(Be+=`@${this.repeat.value}`)),Be}}function S(le,Ee){if(le instanceof E)return le;if(typeof le=="string")return new E(le,Ee);if(le&&typeof le=="object")return new E(le.name,le.value,le.options)}function T(le){return String(le).trim()}function I(le,Ee,Be){return le&&Be.indexOf(le)===Ee}class L{constructor(Ee,Be,Ye){Ye==null&&typeof Ee=="string"&&(Ye=Ee.length),this.string=Ee,this.pos=this.start=Be||0,this.end=Ye}eof(){return this.pos>=this.end}limit(Ee,Be){return new this.constructor(this.string,Ee,Be)}peek(){return this.string.charCodeAt(this.pos)}next(){if(this.pos<this.string.length)return this.string.charCodeAt(this.pos++)}eat(Ee){let Be=this.peek(),Ye=typeof Ee=="function"?Ee(Be):Be===Ee;return Ye&&this.next(),Ye}eatWhile(Ee){let Be=this.pos;for(;!this.eof()&&this.eat(Ee););return this.pos!==Be}backUp(Ee){this.pos-=Ee||1}current(){return this.substring(this.start,this.pos)}substring(Ee,Be){return this.string.slice(Ee,Be)}error(Ee){let Be=new Error(`${Ee} at char ${this.pos+1}`);return Be.originalMessage=Ee,Be.pos=this.pos,Be.string=this.string,Be}}let x=42;function C(le){if(le.eat(x))return le.start=le.pos,{count:le.eatWhile(h)?+le.current():null}}let D={throws:!0};function O(le){if(p(le,D))return le.current().slice(1,-1)}let j=123,k=125,$=92;function U(le){let Ee=le.pos;if(le.eat(j)){let Be=1,Ye,Et="",kt=le.pos;for(;!le.eof();)if(Ye=le.next(),Ye===j)Be++;else if(Ye===k){if(Be--,!Be)return le.start=Ee,Et+le.substring(kt,le.pos-1)}else Ye===$&&(Ye=le.next(),(Ye===j||Ye===k)&&(Et+=le.substring(kt,le.pos-2)+String.fromCharCode(Ye),kt=le.pos));throw le.pos=Ee,le.error(`Unable to find closing ${String.fromCharCode(k)} for text start`)}return null}let F=33,P=46,W=61,Z=91,ee=93,J=/^\!?[\w\-:\$@]+\.?$|^\!?\[[\w\-:\$@]+\]\.?$/;function ne(le){if(!le.eat(Z))return null;let Ee=[],Be,Ye;for(;!le.eof();){if(le.eatWhile(y),le.eat(ee))return Ee;if((Be=O(le))!=null)Ee.push({name:null,value:Be});else if(q(le))Be=le.current(),Be[0]==="["&&le.peek()===ee&&(le.next(),Be=le.current()),J.test(Be)?(Ye=K(Be),Ee.push(Ye),le.eat(W)&&((Be=O(le))!=null?Ye.value=Be:(Be=U(le))!=null?(Ye.value=Be,Ye.options={before:"{",after:"}"}):q(le)&&(Ye.value=le.current()))):Ee.push({name:null,value:Be});else throw le.error("Expected attribute name")}throw le.error('Expected closing "]" brace')}function K(le){let Ee={};le.charCodeAt(0)===F&&(le=le.slice(1),Ee.implied=!0),le.charCodeAt(le.length-1)===P&&(le=le.slice(0,le.length-1),Ee.boolean=!0);let Be={name:le};return Object.keys(Ee).length&&(Be.options=Ee),Be}function q(le){let Ee=le.pos;if(le.eatWhile(Q))return le.start=Ee,!0}function Q(le){return!_(le)&&!d(le)&&le!==ee&&le!==W}let z=35,ie=46,_e=47;function He(le){let Ee=le.pos,Be=new A(be(le)),Ye;for(;!le.eof();)if(le.eat(ie))Be.addClass(be(le));else if(le.eat(z))Be.setAttribute("id",be(le));else if(le.eat(_e)){if(Be.isGroup)throw le.backUp(1),le.error("Unexpected self-closing indicator");Be.selfClosing=!0,(Ye=C(le))&&(Be.repeat=Ye);break}else if(Ye=ne(le))for(let Et=0,kt=Ye.length;Et<kt;Et++)Be.setAttribute(Ye[Et]);else if((Ye=U(le))!==null)Be.value=Ye;else if(Ye=C(le))Be.repeat=Ye;else break;if(Ee===le.pos)throw le.error(`Unable to consume abbreviation node, unexpected ${le.peek()}`);return Be}function be(le){return le.start=le.pos,le.eatWhile(Ve),le.current()}function Ve(le){return g(le)||le===45||le===58||le===36||le===64||le===33||le===95||le===37}let Fe=40,me=41,ce=43,ke=62,je=94;function Oe(le){let Ee=new L(le.trim()),Be=new A,Ye=Be,Et=[],kt;for(;!Ee.eof();){if(kt=Ee.peek(),kt===Fe){let kr=new A;Et.push([kr,Ye,Ee.pos]),Ye=kr,Ee.next();continue}else if(kt===me){let kr=Et.pop();if(!kr)throw Ee.error('Unexpected ")" group end');let Bn=kr[0];if(Ye=kr[1],Ee.next(),Bn.repeat=C(Ee))Ye.appendChild(Bn);else for(;Bn.firstChild;)Ye.appendChild(Bn.firstChild);Ee.eat(ce);continue}let ir=He(Ee);if(Ye.appendChild(ir),Ee.eof())break;switch(Ee.peek()){case ce:Ee.next();continue;case ke:Ee.next(),Ye=ir;continue;case je:for(;Ee.eat(je);)Ye=Ye.parent||Ye;continue}}if(Et.length)throw Ee.pos=Et.pop()[2],Ee.error("Expected group close");return Be}function re(le){let Ee=Oe(le);return Ee.walk(fe),Ee}function fe(le){if(!le.repeat||!le.repeat.count)return;let Ee=le.parent,Be=Ee.children.indexOf(le);for(let Ye=0;Ye<le.repeat.count;Ye++){let Et=le.clone(!0);if(Et.repeat.value=Ye+1,Et.walk(fe),Et.isGroup)for(;Et.children.length>0;)Et.firstChild.repeat=Et.repeat,Ee.insertAt(Et.firstChild,Be++);else Ee.insertAt(Et,Be++)}le.parent.removeChild(le)}var he=function(le,Ee){return le.walk(Be=>se(Be,Ee)),le};function se(le,Ee){let Be=new Set,Ye=Et=>{let kt=Ee.resolve(Et.name);if(!kt||Be.has(kt))return;if(typeof kt.value=="function")return kt.value(Et,Ee,Ye);let ir=re(kt.value);Be.add(kt),ir.walk(Ye),Be.delete(kt);let kr=nt(ir);for(Ie(kr,Et);ir.firstChild;)Et.parent.insertBefore(ir.firstChild,Et);kr.parent.insertBefore(Et,kr),kr.remove()};Ye(le)}function Ie(le,Ee){return Ee.name=le.name,le.selfClosing&&(Ee.selfClosing=!0),le.value!=null&&(Ee.value=le.value),le.repeat&&(Ee.repeat=Object.assign({},le.repeat)),ye(le,Ee)}function ye(le,Ee){$e(le,Ee);let Be=new Map,Ye=le.attributes;for(let kt=0;kt<Ye.length;kt++)Be.set(Ye[kt].name,Ye[kt].clone());Ye=Ee.attributes.slice();for(let kt=0,ir,kr;kt<Ye.length;kt++)ir=Ye[kt],Be.has(ir.name)?(kr=Be.get(ir.name),kr.value=ir.value,kr.options.implied&&(kr.options.implied=!1)):Be.set(ir.name,ir),Ee.removeAttribute(ir);let Et=Array.from(Be.values());for(let kt=0;kt<Et.length;kt++)Ee.setAttribute(Et[kt]);return Ee}function $e(le,Ee){let Be=le.classList;for(let Ye=0;Ye<Be.length;Ye++)Ee.addClass(Be[Ye]);return Ee}function nt(le){for(;le.children.length;)le=le.children[le.children.length-1];return le}let et=new Set("a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,select,small,span,strike,strong,sub,sup,textarea,tt,u,var".split(",")),xe={p:"span",ul:"li",ol:"li",table:"tr",tr:"td",tbody:"tr",thead:"tr",tfoot:"tr",colgroup:"col",select:"option",optgroup:"option",audio:"source",video:"source",object:"param",map:"area"};function pe(le){return le=(le||"").toLowerCase(),xe[le]||(et.has(le)?"span":"div")}var ue=function(le){return le.walk(Ee=>{Ee.name==null&&Ee.attributes.length&&(Ee.name=pe(Ee.parent.name))}),le};function Se(le,Ee){let Be=new Set,Ye=Ee.length,Et=0;for(;(Et=le.indexOf(Ee,Et))!==-1;)Be.add(Et),Et+=Ye;if(Be.size){let kt=0,ir=le.length;for(;kt<ir;)le[kt++]==="\\"&&Be.delete(kt++)}return Array.from(Be).map(kt=>de(kt,Ye))}function Ae(le,Ee,Be){for(let Ye=Ee.length-1;Ye>=0;Ye--){let Et=Ee[Ye],kt=0,ir=0;if(le.substr(Et[0]+Et[1],1)==="@"){let kr=le.substr(Et[0]+Et[1]+1).match(/^(\d+)/);kr&&(ir=kr[1].length+1,kt=parseInt(kr[1])-1)}le=le.substring(0,Et[0])+(typeof Be=="function"?Be(le.substr(Et[0],Et[1]),kt):Be)+le.substring(Et[0]+Et[1]+ir)}return le}function de(le,Ee){return[le,Ee]}let We="$";var tt=function(le){return le.walk(mt),le};function mt(le){let Ee=At(le);if(Ee&&Ee.value!=null){let Be=Ee.value;le.name=pt(le.name,Be),le.value=pt(le.value,Be),le.attributes.forEach(Ye=>{let Et=le.getAttribute(Ye.name).clone();Et.name=pt(Ye.name,Be),Et.value=pt(Ye.value,Be),le.replaceAttribute(Ye.name,Et)})}return le}function At(le){for(;le;){if(le.repeat)return le.repeat;le=le.parent}}function pt(le,Ee){if(typeof le=="string"){let Be=Nt(le);return Ce(le,Be,Ee)}return le}function Nt(le){return Se(le||"",We).reduce((Ee,Be)=>{if(!/[#{]/.test(le[Be[0]+1]||"")){let Ye=Ee[Ee.length-1];Ye&&Ye[0]+Ye[1]===Be[0]?Ye[1]+=Be[1]:Ee.push(Be)}return Ee},[])}function Ce(le,Ee,Be){let Ye=Ae(le,Ee,(Et,kt)=>{let ir=String(Be+kt);for(;ir.length<Et.length;)ir="0"+ir;return ir});return qe(Ye)}function qe(le){let Ee=0,Be="",Ye=le.length;for(;Ee<Ye;){let Et=le[Ee++];Be+=Et==="\\"?le[Ee++]||"":Et}return Be}let ot="$#",Ze="|",Pe=/^((?:https?|ftp|file):\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/,Qe=/^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/,Ge=/^([a-z]+:)?\/\//i;function we(le,Ee){return Ee=Ee||1,le.walk(Be=>{if(Be.repeat&&Be.repeat.count===null){for(let Ye=0;Ye<Ee;Ye++){let Et=Be.clone(!0);Et.repeat.implicit=!0,Et.repeat.count=Ee,Et.repeat.value=Ye+1,Et.repeat.index=Ye,Be.parent.insertBefore(Et,Be)}Be.remove()}}),le}function Ne(le,Ee){if(Array.isArray(Ee)&&Ee.length){let Be=!1;le.walk(Ye=>{Ye.repeat&&Ye.repeat.implicit&&(Be=!0,ht(Ye,Ee[Ye.repeat.index]))}),Be||Pt(Ot(le),Ee.join(`
|
|
`))}return le}function ht(le,Ee){let Be=it(le,Ee);return le.walk(Ye=>Be|=it(Ye,Ee)),Be||Pt(Ot(le),Ee),le}function it(le,Ee){let Be={replaced:!1};return le.value=Tt(le.value,Ee,Be),le.attributes.forEach(Ye=>{Ye.value&&le.setAttribute(Ye.name,Tt(Ye.value,Ee,Be))}),Be.replaced}function Tt(le,Ee,Be){if(typeof le=="string"){let Ye=Se(le,ot);Ye.length&&(Be&&(Be.replaced=!0),le=Ae(le,Ye,Ee))}return le}function Ot(le){for(;le.children.length;)le=le.children[le.children.length-1];return le}function Pt(le,Ee){if(le.value){let Be=Se(le.value,Ze);if(Be.length){le.value=Ae(le.value,Be,Ee);return}}(le.name.toLowerCase()==="a"||le.hasAttribute("href"))&&(Pe.test(Ee)?le.setAttribute("href",(Ge.test(Ee)?"":"http://")+Ee):Qe.test(Ee)&&le.setAttribute("href","mailto:"+Ee)),le.value=Ee}let Ir={element:"__",modifier:"_"},Lr=/^(-+)([a-z0-9]+[a-z0-9-]*)/i,_n=/^(_+)([a-z0-9]+[a-z0-9-]*)/i,_r=le=>/^[a-z]\-/i.test(le),bn=le=>/^[a-z]/i.test(le);var wr=function(le,Ee){Ee=Object.assign({},Ir,Ee),le.walk(Ye=>on(Ye,Ee));let Be=Jr(le);return le.walk(Ye=>Cn(Ye,Be,Ee)),le};function on(le,Ee){let Be=le.classList.reduce((Ye,Et)=>{let kt=Et.indexOf("_");return kt>0&&!Et.startsWith("-")?(Ye.add(Et.slice(0,kt)),Ye.add(Et.slice(kt)),Ye):Ye.add(Et)},new Set);Be.size&&le.setAttribute("class",Array.from(Be).join(" "))}function Cn(le,Ee,Be){let Ye=le.classList.reduce((kt,ir)=>{let kr,Bn,ec=ir;for((Bn=ir.match(Lr))&&(kr=Di(le,Ee,Bn[1])+Be.element+Bn[2],kt.add(kr),ir=ir.slice(Bn[0].length));Bn=ir.match(_n);)kr||(kr=Di(le,Ee,Bn[1]),kt.add(kr)),kt.add(`${kr}${Be.modifier}${Bn[2]}`),ir=ir.slice(Bn[0].length);return ir===ec&&kt.add(ec),kt},new Set),Et=Array.from(Ye).filter(Boolean);Et.length&&le.setAttribute("class",Et.join(" "))}function Jr(le){let Ee=new Map;return le.walk(Be=>{let Ye=Be.classList;Ye.length&&Ee.set(Be,Gi(Ye,_r)||Gi(Ye,bn)||Ee.get(Be.parent))}),Ee}function Di(le,Ee,Be){let Ye=Be.length>1?Be.length:0;for(;le.parent&&le.parent.parent&&Ye--;)le=le.parent;return Ee.get(le)||""}function Gi(le,Ee){return le.filter(Ee)[0]}var mn=function(le){return le.walk(Ee=>{Li(Ee,"class","className"),Li(Ee,"for","htmlFor")}),le};function Li(le,Ee,Be){let Ye=le.getAttribute(Ee);Ye&&(Ye.name=Be)}let us=/^xsl:(variable|with\-param)$/i;var Ni=function(le){return le.walk(Ee=>{us.test(Ee.name||"")&&(Ee.children.length||Ee.value)&&Ee.removeAttribute("select")}),le};let xn={bem:wr,jsx:mn,xsl:Ni};var ii=function(le,Ee){return Object.keys(Ee||{}).forEach(Be=>{if(Be in xn){let Ye=typeof Ee[Be]=="object"?Ee[Be]:null;le=le.use(xn[Be],Ye)}}),le},ts=function(le,Ee,Be){return typeof Ee=="string"?Ee=[Ee]:Ee&&typeof Ee=="object"&&!Array.isArray(Ee)&&(Be=Ee,Ee=null),le.use(ue).use(we,Array.isArray(Ee)?Ee.length:null).use(tt).use(Ne,Ee).use(ii,Be)};function Pn(le,Ee){return Ee=Ee||{},le.walk(Be=>si(Be,Ee)),le}function si(le,Ee){let Be=le.attributes;for(let Ye=0,Et=Be.length;Ye<Et;Ye++){let kt=Be[Ye];typeof kt.value=="string"&&le.setAttribute(kt.name,Vs(kt.value,Ee))}return le.value!=null&&(le.value=Vs(le.value,Ee)),le}function Vs(le,Ee){let Be=Oi(le),Ye=0,Et="";for(let kt=0,ir=Be.variables.length;kt<ir;kt++){let kr=Be.variables[kt],Bn=kr.name in Ee?Ee[kr.name]:kr.name;typeof Bn=="function"&&(Bn=Bn(Be.string,kr,Ye+kr.location)),Et+=Be.string.slice(Ye,kr.location)+Bn,Ye=kr.location+kr.length}return Et+Be.string.slice(Ye)}function Oi(le){let Ee=/\$\{([a-z][\w\-]*)\}/gi,Ye=[],Et=new Map,kt;for(;kt=Ee.exec(le);)Et.set(kt.index,kt);if(Et.size){let ir=0,kr=0,Bn=le.length,ec="";for(;kr<Bn;){if(le.charCodeAt(kr)===92&&Et.has(kr+1)){let Su=Et.get(kr+1);ec+=le.slice(ir,kr)+Su[0],ir=kr=Su.index+Su[0].length,Et.delete(kr+1);continue}kr++}le=ec+le.slice(ir);let Ep=Array.from(Et.values());for(let Su=0,Hx=Ep.length;Su<Hx;Su++){let px=Ep[Su];Ye.push({name:px[1],location:px.index,length:px[0].length})}}return{string:le,variables:Ye}}let Ls=36,Fi=58,qr=92,Mr=123,rs=125;function Br(le){let Ee=new L(le),Be=[],Ye="",Et=0,kt=0,ir,kr;for(;!Ee.eof();)ir=Ee.peek(),kt=Ee.pos,ir===qr?(Ee.next(),Ee.next()):(kr=ns(Ee,Ye.length+kt-Et))?(Be.push(kr),Ye+=Ee.string.slice(Et,kt)+kr.placeholder,Et=Ee.pos):Ee.next();return new wt(Ye+Ee.string.slice(Et),Be)}function Rs(le,Ee,Be){Be=Be||Xi;let Ye=Ee.map((ir,kr)=>({order:kr,field:ir,end:ir.location+ir.length})).sort((ir,kr)=>ir.end-kr.end||ir.order-kr.order),Et=0;return Ye.map(ir=>{let kr=le.substr(ir.field.location,ir.field.length),Bn=le.slice(Et,ir.field.location);return Et=ir.end,Bn+Be(ir.field.index,kr)}).join("")+le.slice(Et)}function Xi(le,Ee){return Ee?`\${${le}:${Ee}}`:`\${${le}}`}function ns(le,Ee){let Be=le.pos;if(le.eat(Ls)){let Ye=Yt(le),Et="";if(Ye!=null)return new ft(Ye,Et,Ee);if(le.eat(Mr)&&(Ye=Yt(le),Ye!=null&&(le.eat(Fi)&&(Et=vr(le)),le.eat(rs))))return new ft(Ye,Et,Ee)}le.pos=Be}function vr(le){let Ee,Be=[];for(le.start=le.pos;!le.eof();){if(Ee=le.peek(),Ee===Mr)Be.push(le.pos);else if(Ee===rs){if(!Be.length)break;Be.pop()}le.next()}if(Be.length)throw le.error('Unable to find matching "}" for curly brace at '+Be.pop());return le.current()}function Yt(le){if(le.start=le.pos,le.eatWhile(h))return Number(le.current())}class ft{constructor(Ee,Be,Ye){this.index=Ee,this.placeholder=Be,this.location=Ye,this.length=this.placeholder.length}}class wt{constructor(Ee,Be){this.string=Ee,this.fields=Be}mark(Ee){return Rs(this.string,this.fields,Ee)}toString(){return string}}let Vt=le=>le;class nr{constructor(Ee,Be,Ye){typeof Be=="object"&&(Ye=Be,Be=null),this.node=Ee,this._fieldsRenderer=Be||Vt,this.open=null,this.beforeOpen="",this.afterOpen="",this.close=null,this.beforeClose="",this.afterClose="",this.text=null,this.beforeText="",this.afterText="",this.indent="",this.newline="",Ye&&Object.assign(this,Ye)}clone(){return new this.constructor(this.node,this)}indentText(Ee){let Be=Hr(Ee);if(Be.length===1)return Ee;let Ye=!this.newline&&!this.indent?" ":this.newline;return Be.map((Et,kt)=>kt?this.indent+Et:Et).join(Ye)}renderFields(Ee){return this._fieldsRenderer(Ee)}toString(Ee){let Be=this._wrap(this.open,this.beforeOpen,this.afterOpen),Ye=this._wrap(this.close,this.beforeClose,this.afterClose),Et=this._wrap(this.text,this.beforeText,this.afterText);return Be+Et+(Ee??"")+Ye}_wrap(Ee,Be,Ye){return Be=Be??"",Ye=Ye??"",Ee!=null?(Ee=Be?Ee.replace(/^\s+/,""):Ee,Ee=Ye?Ee.replace(/\s+$/,""):Ee,Be+this.indentText(Ee)+Ye):""}}function Hr(le){return(le||"").split(/\r\n|\r|\n/g)}let Bt=(le,Ee)=>Ee||"";function zt(le,Ee,Be){typeof Be>"u"&&(Be=Ee,Ee=null),Ee=Ee||Bt;let Ye={index:1},Et=kt=>kt==null?Ee(Ye.index++):xr(kt,Ye).mark(Ee);return jt(le.children,Be,Et)}function jt(le,Ee,Be){return le.map(Ye=>{let Et=Ee(new nr(Ye,Be));return Et?Et.toString(jt(Ye.children,Ee,Be)):""}).join("")}function xr(le,Ee){let Be=typeof le=="object"?le:Br(le),Ye=-1;return Be.fields.forEach(Et=>{Et.index+=Ee.index,Et.index>Ye&&(Ye=Et.index)}),Ye!==-1&&(Ee.index=Ye+1),Be}let Or=/^(.*?)([A-Z_]+)(.*?)$/,hr=91,dr=93;function Sn(le,Ee){if(le==null)return le;let Be=[],Ye=(ec,Ep,Su,Hx)=>Ee[Su]!=null?Ep+Ee[Su]+Hx:"",Et="",kt=0,ir=0,kr,Bn;for(;ir<le.length;)kr=le.charCodeAt(ir),kr===hr?Be.push(ir):kr===dr&&(Bn=Be.pop(),Be.length||(Et+=le.slice(kt,Bn)+le.slice(Bn+1,ir).replace(Or,Ye),kt=ir+1)),ir++;return Et+le.slice(kt)}function Xn(le){return(le||"").split(/\r\n|\r|\n/g)}function zn(le){return le.parent.firstChild===le}function en(le){return le&&!le.parent}function ai(le){return le.isTextOnly&&!!le.children.length}function Ri(le){let Ee=le.node;if(ai(Ee)){let Be=Br(Ee.value),Ye=Oa(Be);if(Ye){let Et=Fa(Be,Ye);le.open=le.renderFields(Et[0]),le.close=le.renderFields(Et[1])}else le.text=le.renderFields(Be);return!0}return!1}function Oa(le){return le.fields.reduce((Ee,Be)=>!Ee||Be.index<Ee.index?Be:Ee,null)}function Fa(le,Ee){let Be=le.fields.indexOf(Ee),Ye=new le.constructor(le.string.slice(0,Ee.location),le.fields.slice(0,Be)),Et=new le.constructor(le.string.slice(Ee.location+Ee.length),le.fields.slice(Be+1));return[Ye,Et]}let ja={enabled:!1,trigger:["id","class"],before:"",after:`
|
|
<!-- /[#ID][.CLASS] -->`};function ao(le,Ee,Be){return Be=Object.assign({},Be),Be.comment=Object.assign({},ja,Be.comment),zt(le,Be.field,Ye=>{if(Ye=Rr(Ye,Ee),!Ri(Ye)){let Et=Ye.node;if(Et.name){let kt=Ee.name(Et.name),ir=gs(Ye,Ee);Ye.open=`<${kt}${ir}${Et.selfClosing?Ee.selfClose():""}>`,Et.selfClosing||(Ye.close=`</${kt}>`),N(Ye,Be.comment)}(Et.value||!Et.children.length&&!Et.selfClosing)&&(Ye.text=Ye.renderFields(Et.value))}return Ye})}function Rr(le,Ee){let Be=le.node;if(Ks(Be,Ee)){le.indent=Ee.indent(b(Be,Ee)),le.newline=`
|
|
`;let Ye=le.newline+le.indent;(!en(Be.parent)||!zn(Be))&&(le.beforeOpen=Ye,Be.isTextOnly&&(le.beforeText=Ye)),Ro(Be,Ee)&&(Be.isTextOnly||(le.beforeText=Ye+Ee.indent(1)),le.beforeClose=Ye)}return le}function Ks(le,Ee){return!Ee.get("format")||le.parent.isTextOnly&&le.parent.children.length===1&&Br(le.parent.value).fields.length?!1:Ua(le,Ee)?Qa(le,Ee):!0}function Qa(le,Ee){if(!Ua(le,Ee))return!1;if(ai(le))return!0;if(le.childIndex===0){let Be=le;for(;Be=Be.nextSibling;)if(!Ua(Be,Ee))return!0}else if(!Ua(le.previousSibling,Ee))return!0;if(Ee.get("inlineBreak")){let Be=1,Ye=le,Et=le;for(;ze(Ye=Ye.previousSibling,Ee);)Be++;for(;ze(Et=Et.nextSibling,Ee);)Be++;if(Be>=Ee.get("inlineBreak"))return!0}for(let Be=0,Ye=le.children.length;Be<Ye;Be++)if(Ks(le.children[Be],Ee))return!0;return!1}function Ro(le,Ee){let Be=(le.name||"").toLowerCase();if(Ee.get("formatForce").indexOf(Be)!==-1)return!0;for(let Ye=0;Ye<le.children.length;Ye++)if(Ks(le.children[Ye],Ee))return!0;return!1}function gs(le,Ee){return le.node.attributes.map(Ye=>{if(Ye.options.implied&&Ye.value==null)return null;let Et=Ee.attribute(Ye.name),kt=null;if(Ye.options.boolean||Ee.get("booleanAttributes").indexOf(Et.toLowerCase())!==-1){if(Ee.get("compactBooleanAttributes")&&Ye.value==null)return` ${Et}`;Ye.value==null&&(kt=Et)}return kt==null&&(kt=le.renderFields(Ye.value)),Ye.options.before&&Ye.options.after?` ${Et}=${Ye.options.before+kt+Ye.options.after}`:` ${Et}=${Ee.quote(kt)}`}).join("")}function Ua(le,Ee){return le&&le.isTextOnly||ze(le,Ee)}function ze(le,Ee){return le&&Ee.isInline(le)}function b(le,Ee){let Be=Ee.get("formatSkip")||[],Ye=le.parent.isTextOnly?-2:-1,Et=le;for(;Et=Et.parent;)Be.indexOf((Et.name||"").toLowerCase())===-1&&Ye++;return Ye<0?0:Ye}function N(le,Ee){let Be=le.node;if(!Ee.enabled||!Ee.trigger||!Be.name)return;let Ye=le.node.attributes.reduce((Et,kt)=>(kt.name&&kt.value!=null&&(Et[kt.name.toUpperCase().replace(/-/g,"_")]=kt.value),Et),{});for(let Et=0,kt=Ee.trigger.length;Et<kt;Et++)if(Ee.trigger[Et].toUpperCase()in Ye){le.open=Sn(Ee.before,Ye)+le.open,le.close&&(le.close+=Sn(Ee.after,Ye));break}}let G=/^id$/i,V=/^class$/i,f={primary:le=>le.join(""),secondary:le=>le.map(Ee=>Ee.isBoolean?Ee.name:`${Ee.name}=${Ee.value}`).join(", ")},v={open:null,close:null,omitName:/^div$/i,attributes:f};function B(le,Ee,Be){Be=Object.assign({},v,Be);let Ye=le.node;if(le.indent=Ee.indent(ae(Ye,Ee)),le.newline=`
|
|
`,(!en(Ye.parent)||!zn(Ye))&&(le.beforeOpen=le.newline+le.indent),Ye.name){let Et=Object.assign({NAME:Ee.name(Ye.name),SELF_CLOSE:Ye.selfClosing?Be.selfClose:null},X(le,Ee,Be.attributes));Be.omitName&&Be.omitName.test(Et.NAME)&&Et.PRIMARY_ATTRS&&(Et.NAME=null),Be.open!=null&&(le.open=Sn(Be.open,Et)),Be.close!=null&&(le.close=Sn(Be.close,Et))}return le}function X(le,Ee,Be){Be=Object.assign({},f,Be);let Ye=[],Et=[];return le.node.attributes.forEach(ir=>{if(ir.options.implied&&ir.value==null)return null;let kr=Ee.attribute(ir.name),Bn=le.renderFields(ir.value);if(G.test(kr))Bn&&Ye.push(`#${Bn}`);else if(V.test(kr))Bn&&Ye.push(`.${Bn.replace(/\s+/g,".")}`);else{let ec=ir.value==null&&(ir.options.boolean||Ee.get("booleanAttributes").indexOf(kr.toLowerCase())!==-1);Et.push({name:kr,value:Bn,isBoolean:ec})}}),{PRIMARY_ATTRS:Be.primary(Ye)||null,SECONDARY_ATTRS:Be.secondary(Et)||null}}function ae(le,Ee){let Be=le.parent.isTextOnly?-2:-1,Ye=le;for(;Ye=Ye.parent;)Be++;return Be<0?0:Be}let Te=/\n|\r/;function Ke(le,Ee,Be){Be=Be||{};let Ye={open:"[%NAME][PRIMARY_ATTRS][(SECONDARY_ATTRS)][SELF_CLOSE]",selfClose:"/",attributes:{secondary(Et){return Et.map(kt=>kt.isBoolean?`${kt.name}${Ee.get("compactBooleanAttributes")?"":"=true"}`:`${kt.name}=${Ee.quote(kt.value)}`).join(" ")}}};return zt(le,Be.field,Et=>{if(Et=B(Et,Ee,Ye),Et=rt(Et,Ee),!Ri(Et)){let kt=Et.node;(kt.value||!kt.children.length&&!kt.selfClosing)&&(Et.text=Et.renderFields(at(kt,Ee)))}return Et})}function rt(le,Ee){let Be=le.node;return!Be.isTextOnly&&Be.value&&(le.beforeText=Te.test(Be.value)?le.newline+le.indent+Ee.indent(1):" "),le}function at(le,Ee){if(le.value!=null&&Te.test(le.value)){let Be=Xn(le.value),Ye=Ee.indent(1),Et=Be.reduce((kt,ir)=>Math.max(kt,ir.length),0);return Be.map((kt,ir)=>`${ir?Ye:""}${St(kt,Et)} |`).join(`
|
|
`)}return le.value}function St(le,Ee){for(;le.length<Ee;)le+=" ";return le}let Kt=/\n|\r/,gr={none:"[ SECONDARY_ATTRS]",round:"[(SECONDARY_ATTRS)]",curly:"[{SECONDARY_ATTRS}]",square:"[[SECONDARY_ATTRS]"};function lr(le,Ee,Be){Be=Be||{};let Ye=Be.attributeWrap&&gr[Be.attributeWrap]||gr.none,Et=Ye===gr.none?ir=>`${ir.name}=true`:ir=>ir.name,kt={open:`[NAME][PRIMARY_ATTRS]${Ye}[SELF_CLOSE]`,selfClose:"/",attributes:{secondary(ir){return ir.map(kr=>kr.isBoolean?Et(kr):`${kr.name}=${Ee.quote(kr.value)}`).join(" ")}}};return zt(le,Be.field,(ir,kr)=>{if(ir=B(ir,Ee,kt),ir=Ur(ir,Ee),!Ri(ir)){let Bn=ir.node;(Bn.value||!Bn.children.length&&!Bn.selfClosing)&&(ir.text=ir.renderFields(pi(Bn,Ee)))}return ir})}function Ur(le,Ee){let Be=le.node,Ye=Be.parent;return Ee.get("inlineBreak")===0&&bi(Be,Ee)&&!en(Ye)&&Ye.value==null&&Ye.children.length===1&&(le.beforeOpen=": "),!Be.isTextOnly&&Be.value&&(le.beforeText=Kt.test(Be.value)?le.newline+le.indent+Ee.indent(1):" "),le}function pi(le,Ee){if(le.value!=null&&Kt.test(le.value)){let Be=Ee.indent(1);return Xn(le.value).map((Ye,Et)=>`${Be}${Et?" ":"|"} ${Ye}`).join(`
|
|
`)}return le.value}function bi(le,Ee){return le&&(le.isTextOnly||Ee.isInline(le))}let jn=/\n|\r/;function Hs(le,Ee,Be){Be=Be||{};let Ye={open:"[NAME][PRIMARY_ATTRS][(SECONDARY_ATTRS)]",attributes:{secondary(Et){return Et.map(kt=>kt.isBoolean?kt.name:`${kt.name}=${Ee.quote(kt.value)}`).join(", ")}}};return zt(le,Be.field,Et=>{if(Et=B(Et,Ee,Ye),Et=M(Et,Ee),!Ri(Et)){let kt=Et.node;(kt.value||!kt.children.length&&!kt.selfClosing)&&(Et.text=Et.renderFields(oe(kt,Ee)))}return Et})}function M(le,Ee){let Be=le.node;return!Be.isTextOnly&&Be.value&&(le.beforeText=jn.test(Be.value)?le.newline+le.indent+Ee.indent(1):" "),le}function oe(le,Ee){if(le.value!=null&&jn.test(le.value)){let Be=Ee.indent(1);return Xn(le.value).map(Ye=>`${Be}| ${Ye}`).join(`
|
|
`)}return le.value}let Re={html:ao,haml:Ke,slim:lr,pug:Hs};var Xe=function(le,Ee,Be,Ye){return typeof Be=="object"&&(Ye=Be,Be=null),lt(Be)||(Be="html"),Re[Be](le,Ee,Ye)};function lt(le){return!!le&&le in Re}function vt(le,Ee){return Ee=Ee||{},typeof le=="string"&&(le=Mt(le,Ee)),Xe(le,Ee.profile,Ee.syntax,Ee.format)}function Mt(le,Ee){return re(le).use(he,Ee.snippets).use(Pn,Ee.variables).use(ts,Ee.text,Ee.addons)}class Qt{constructor(){this.type="css-value",this.value=[]}get size(){return this.value.length}add(Ee){this.value.push(Ee)}has(Ee){return this.value.indexOf(Ee)!==-1}toString(){return this.value.join(" ")}}let jr=35,un=46;var gn=function(le){if(le.peek()===jr){le.start=le.pos,le.next(),le.eat(116)||le.eatWhile(ma);let Ee=le.current();if(le.start=le.pos,le.eat(un)&&!le.eatWhile(h))throw le.error("Unexpected character for alpha value of color");return new Ti(Ee,le.current())}};class Ti{constructor(Ee,Be){this.type="color",this.raw=Ee,this.alpha=Number(Be!=null&&Be!==""?Be:1),Ee=Ee.slice(1);let Ye=0,Et=0,kt=0;if(Ee==="t")this.alpha=0;else switch(Ee.length){case 0:break;case 1:Ye=Et=kt=Ee+Ee;break;case 2:Ye=Et=kt=Ee;break;case 3:Ye=Ee[0]+Ee[0],Et=Ee[1]+Ee[1],kt=Ee[2]+Ee[2];break;default:Ee+=Ee,Ye=Ee.slice(0,2),Et=Ee.slice(2,4),kt=Ee.slice(4,6)}this.r=parseInt(Ye,16),this.g=parseInt(Et,16),this.b=parseInt(kt,16)}toHex(Ee){let Be=Ee&&Gs(this.r)&&Gs(this.g)&&Gs(this.b)?oo:$o;return"#"+Be(this.r)+Be(this.g)+Be(this.b)}toRGB(){let Ee=[this.r,this.g,this.b];return this.alpha!==1&&Ee.push(this.alpha.toFixed(8).replace(/\.?0+$/,"")),`${Ee.length===3?"rgb":"rgba"}(${Ee.join(", ")})`}toString(Ee){return!this.r&&!this.g&&!this.b&&!this.alpha?"transparent":this.alpha===1?this.toHex(Ee):this.toRGB()}}function ma(le){return h(le)||m(le,65,70)}function Gs(le){return!(le%17)}function oo(le){return(le>>4).toString(16)}function $o(le){return Ea(le.toString(16),2)}function Ea(le,Ee){for(;le.length<Ee;)le="0"+le;return le}function zo(le){return h(le)||Hn(le)}function Hn(le){return le===95||m(le)}let oi=37,di=46,bs=45;var La=function(le){if(le.start=le.pos,ia(le)){let Ee=le.current();return le.start=le.pos,le.eat(oi)||le.eatWhile(Hn),new ll(Ee,le.current())}};class ll{constructor(Ee,Be){this.type="numeric",this.value=Number(Ee),this.unit=Be||""}toString(){return`${this.value}${this.unit}`}}function ia(le){let Ee=le.pos,Be=le.eat(bs),Ye=!1,Et=!1,kt;for(;!le.eof()&&(kt=le.peek(),!(kt===di?Ye:!h(kt)));)Et=!0,kt===di&&(Ye=!0),le.next();return Be&&!Et&&(le.pos=Ee),Ee!==le.pos}let qa=36,Mo=45,Xs=64;var gu=function(le,Ee){return le.start=le.pos,le.eat(qa)||le.eat(Xs)?le.eatWhile(fh):Ee?le.eatWhile(Hn):le.eatWhile(dh),le.start!==le.pos?new bu(le.current()):null};class bu{constructor(Ee){this.type="keyword",this.value=Ee}toString(){return this.value}}function dh(le){return zo(le)||le===Mo}function fh(le){return le===45||zo(le)}let Md={throws:!0};var pE=function(le){if(p(le,Md))return new pH(le.current())};class pH{constructor(Ee){this.type="string",this.value=Ee}toString(){return this.value}}let Bd=40,dE=41,_p=44;function Au(le){if(!le.eat(Bd))return null;let Ee=1,Be,Ye,Et=[];for(;!le.eof();)if(Ye=Dl(le))Et.push(Ye);else{if(le.eatWhile(y),le.eat(dE))break;if(!le.eat(_p))throw le.error("Expected , or )")}return Et}function Dl(le){let Ee=new Qt,Be;for(;!le.eof()&&(le.eatWhile(y),Be=La(le)||gn(le)||pE(le)||fE(le),!!Be);)Ee.add(Be);return Ee.size?Ee:null}function fE(le){let Ee=gu(le);if(Ee){let Be=Au(le);return Be?new hE(Ee.toString(),Be):Ee}}class hE{constructor(Ee,Be){this.type="function",this.name=Ee,this.args=Be||[]}toString(){return`${this.name}(${this.args.join(", ")})`}}let Od=33,Mc=36,Fd=43,_E=45,mE=58,EE=64;var hh=function(le){let Ee=new A,Be=new L(le);for(;!Be.eof();){let Ye=new A(yE(Be));Ye.value=_h(Be);let Et=Au(Be);if(Et)for(let kt=0;kt<Et.length;kt++)Ye.setAttribute(String(kt),Et[kt]);if(Be.eat(Od)&&Ye.value.add("!"),Ee.appendChild(Ye),!Be.eat(Fd))break}if(!Be.eof())throw Be.error("Unexpected character");return Ee};function yE(le){return le.start=le.pos,le.eatWhile(Eh),le.eatWhile(mh),le.start!==le.pos?le.current():null}function _h(le){let Ee=new Qt,Be;for(;!le.eof()&&(le.eat(mE),(Be=La(le)||gn(le))?Be.unit||le.eat(_E):(le.eat(_E),Be=gu(le,!0)),!!Be);)Ee.add(Be);return Ee}function mh(le){return Hn(le)}function Eh(le){return le===EE||le===Mc||le===Od}let yh=45;var gE=function(le,Ee){if(le=le.toLowerCase(),Ee=Ee.toLowerCase(),le===Ee)return 1;if(!Ee||le.charCodeAt(0)!==Ee.charCodeAt(0))return 0;let Be=le.length,Ye=Ee.length,Et=1,kt=1,ir=Ye,kr,Bn,ec,Ep;for(;Et<Be;){for(kr=le.charCodeAt(Et),ec=!1,Ep=!1;kt<Ye;){if(Bn=Ee.charCodeAt(kt),kr===Bn){ec=!0,ir+=(Ye-kt)*(Ep?2:1);break}Ep=Bn===yh,kt++}if(!ec)break;Et++}return ir&&ir*(Et/Be)/bE(Ye)};function bE(le){return le*(le+1)/2}let AE=/^([a-z\-]+)(?:\s*:\s*([^\n\r]+))?$/,gh=45;var IE=function(le){return bh(le.map(Ee=>new Vn(Ee.key,Ee.value)))};class Vn{constructor(Ee,Be){this.key=Ee,this.value=Be,this.property=null;let Ye=Be&&Be.match(AE);Ye&&(this.property=Ye[1],this.value=Ye[2]),this.dependencies=[]}addDependency(Ee){this.dependencies.push(Ee)}get defaulValue(){return this.value!=null?R(this.value)[0]:null}keywords(){let Ee=[],Be=new Set,Ye=0,Et,kt;for(this.property&&Ee.push(this);Ye<Ee.length;)if(Et=Ee[Ye++],Et.value){kt=R(Et.value).filter(mp);for(let ir=0;ir<kt.length;ir++)Be.add(kt[ir].trim());for(let ir=0,kr=Et.dependencies;ir<kr.length;ir++)Ee.indexOf(kr[ir])===-1&&Ee.push(kr[ir])}return Array.from(Be)}}function bh(le){le=le.sort(Iu);let Ee=[];for(let Be=0,Ye,Et;Be<le.length;Be++)if(Ye=le[Be],!!Ye.property){for(;Ee.length;){if(Et=Ee[Ee.length-1],Ye.property.indexOf(Et.property)===0&&Ye.property.charCodeAt(Et.property.length)===gh){Et.addDependency(Ye),Ee.push(Ye);break}Ee.pop()}Ee.length||Ee.push(Ye)}return le}function Iu(le,Ee){return le.key===Ee.key?0:le.key<Ee.key?-1:1}function mp(le){return/^\s*[\w\-]+/.test(le)}function R(le){return String(le).split("|")}let te=["auto","inherit","unset"],ve=["z-index","line-height","opacity","font-weight","zoom","flex","flex-grow","flex-shrink"],Me={intUnit:"px",floatUnit:"em",unitAliases:{e:"em",p:"%",x:"ex",r:"rem"},fuzzySearchMinScore:0};var st=function(le,Ee,Be){let Ye=yt(Ee);return Be={intUnit:Be&&Be.intUnit||Me.intUnit,floatUnit:Be&&Be.floatUnit||Me.floatUnit,unitAliases:Object.assign({},Me.unitAliases,Be&&Be.unitAliases),fuzzySearchMinScore:Be&&Be.fuzzySearchMinScore||Me.fuzzySearchMinScore},le.walk(Et=>_t(Et,Ye,Be)),le};function yt(le){return IE(le.all({type:"string"}))}function _t(le,Ee,Be){let Ye=Zt(le.name,Ee,"key",Be.fuzzySearchMinScore);return Ye?Ye.property?xt(le,Ye,Be):Xt(le,Ye):le.name==="!"?cr(le,"!important"):le}function xt(le,Ee,Be){let Ye=le.name;if(le.name=Ee.property,le.value&&typeof le.value=="object"){let Et=Ee.keywords();if(le.value.size)for(let kt=0,ir;kt<le.value.value.length;kt++)ir=le.value.value[kt],ir==="!"?ir=`${kt?"":"${1} "}!important`:Yn(ir)?ir=Zt(ir.value,Et)||Zt(ir.value,te)||ir:ji(ir)&&(ir=ka(le.name,ir,Be)),le.value.value[kt]=ir;else{let kt=Zt(En(Ye,Ee.key),Et);kt||(kt=Ee.defaulValue,kt&&kt.indexOf("${")===-1&&(kt=`\${1:${kt}}`)),kt&&le.value.add(kt)}}return le}function Xt(le,Ee){return cr(le,Ee.value)}function cr(le,Ee){return le.name=null,le.value=Ee,le}function Zt(le,Ee,Be,Ye){if(!le)return null;let Et=null,kt=0;Ye=Ye||0;for(let ir=0,kr;ir<Ee.length;ir++){kr=Ee[ir];let Bn=gE(le,Xr(kr,Be));if(Bn===1)return kr;Bn&&Bn>=kt&&(kt=Bn,Et=kr)}return kt>=Ye?Et:null}function Xr(le,Ee){let Be=le&&typeof le=="object"?le[Ee]:le,Ye=(Be||"").match(/^[\w-@]+/);return Ye?Ye[0]:Be}function En(le,Ee){for(let Be=0,Ye=0;Be<le.length;Be++){if(Ye=Ee.indexOf(le[Be],Ye),Ye===-1)return le.slice(Be);Ye++}return""}function Yn(le){return sa(le,"keyword")}function ji(le){return sa(le,"numeric")}function sa(le,Ee){return le&&typeof le=="object"&&le.type===Ee}function ka(le,Ee,Be){return Ee.unit?Ee.unit=Be.unitAliases[Ee.unit]||Ee.unit:Ee.value!==0&&ve.indexOf(le)===-1&&(Ee.unit=Ee.value===(Ee.value|0)?Be.intUnit:Be.floatUnit),Ee}let Zi={shortHex:!0,format:{between:": ",after:";"}};function Bo(le,Ee,Be){return Be=Object.assign({},Zi,Be),zt(le,Be.field,Ye=>{let Et=Ye.node,kt=String(Et.value||"");if(Et.attributes.length){let ir=Et.attributes.map(kr=>ri(kr,Be));kt=Zr(kt,ir)}return Ye.open=Et.name&&Ee.name(Et.name),Ye.afterOpen=Be.format.between,Ye.text=Ye.renderFields(kt||null),Ye.open&&(!Ye.text||!Ye.text.endsWith(";"))&&(Ye.afterText=Be.format.after),Ee.get("format")&&(Ye.newline=`
|
|
`,le.lastChild!==Et&&(Ye.afterText+=Ye.newline)),Ye})}function Zr(le,Ee){let Be=Br(le),Ye=Be.fields.length;if(Ye)for(Ee=Ee.slice(),Ee.length>Ye&&(Ee=Ee.slice(0,Ye-1).concat(Ee.slice(Ye-1).join(", ")));Ee.length;){let Et=Ee.shift(),kt=Be.fields.shift(),ir=Et.length-kt.length;Be.string=Be.string.slice(0,kt.location)+Et+Be.string.slice(kt.location+kt.length);for(let kr=0,Bn=Be.fields.length;kr<Bn;kr++)Be.fields[kr].location+=ir}return Be}function ri(le,Ee){return le.value&&typeof le.value=="object"&&le.value.type==="css-value"?le.value.value.map(Be=>Be&&typeof Be=="object"?Be.type==="color"?Be.toString(Ee.shortHex):Be.toString():String(Be)).join(" "):le.value!=null?String(le.value):""}let fi={css:{between:": ",after:";"},scss:"css",less:"css",sass:{between:": ",after:""},stylus:{between:" ",after:""}};var Zs=function(le,Ee,Be,Ye){return typeof Be=="object"&&(Ye=Be,Be=null),On(Be)||(Be="css"),Ye=Object.assign({},Ye,{format:vi(Be,Ye)}),Bo(le,Ee,Ye)};function On(le){return!!le&&le in fi}function vi(le,Ee){let Be=fi[le];return typeof Be=="string"&&(Be=fi[Be]),Object.assign({},Be,Ee&&Ee.stylesheet)}function Ts(le,Ee){return Ee=Ee||{},typeof le=="string"&&(le=w(le,Ee)),Zs(le,Ee.profile,Ee.syntax,Ee.format)}function w(le,Ee){return typeof le=="string"&&(le=hh(le)),le.use(st,Ee.snippets,Ee.format?Ee.format.stylesheet:{})}var Y={a:"a[href]","a:blank":"a[href='http://${0}' target='_blank' rel='noopener noreferrer']","a:link":"a[href='http://${0}']","a:mail":"a[href='mailto:${0}']","a:tel":"a[href='tel:+${0}']",abbr:"abbr[title]","acr|acronym":"acronym[title]",base:"base[href]/",basefont:"basefont/",br:"br/",frame:"frame/",hr:"hr/",bdo:"bdo[dir]","bdo:r":"bdo[dir=rtl]","bdo:l":"bdo[dir=ltr]",col:"col/",link:"link[rel=stylesheet href]/","link:css":"link[href='${1:style}.css']","link:print":"link[href='${1:print}.css' media=print]","link:favicon":"link[rel='shortcut icon' type=image/x-icon href='${1:favicon.ico}']","link:mf|link:manifest":"link[rel='manifest' href='${1:manifest.json}']","link:touch":"link[rel=apple-touch-icon href='${1:favicon.png}']","link:rss":"link[rel=alternate type=application/rss+xml title=RSS href='${1:rss.xml}']","link:atom":"link[rel=alternate type=application/atom+xml title=Atom href='${1:atom.xml}']","link:im|link:import":"link[rel=import href='${1:component}.html']",meta:"meta/","meta:utf":"meta[http-equiv=Content-Type content='text/html;charset=UTF-8']","meta:vp":"meta[name=viewport content='width=${1:device-width}, initial-scale=${2:1.0}']","meta:compat":"meta[http-equiv=X-UA-Compatible content='${1:IE=7}']","meta:edge":"meta:compat[content='${1:ie=edge}']","meta:redirect":"meta[http-equiv=refresh content='0; url=${1:http://example.com}']","meta:kw":"meta[name=keywords content]","meta:desc":"meta[name=description content]",style:"style",script:"script","script:src":"script[src]",img:"img[src alt]/","img:s|img:srcset":"img[srcset src alt]","img:z|img:sizes":"img[sizes srcset src alt]",picture:"picture","src|source":"source/","src:sc|source:src":"source[src type]","src:s|source:srcset":"source[srcset]","src:t|source:type":"source[srcset type='${1:image/}']","src:z|source:sizes":"source[sizes srcset]","src:m|source:media":"source[media='(${1:min-width: })' srcset]","src:mt|source:media:type":"source:media[type='${2:image/}']","src:mz|source:media:sizes":"source:media[sizes srcset]","src:zt|source:sizes:type":"source[sizes srcset type='${1:image/}']",iframe:"iframe[src frameborder=0]",embed:"embed[src type]/",object:"object[data type]",param:"param[name value]/",map:"map[name]",area:"area[shape coords href alt]/","area:d":"area[shape=default]","area:c":"area[shape=circle]","area:r":"area[shape=rect]","area:p":"area[shape=poly]",form:"form[action]","form:get":"form[method=get]","form:post":"form[method=post]",label:"label[for]",input:"input[type=${1:text}]/",inp:"input[name=${1} id=${1}]","input:h|input:hidden":"input[type=hidden name]","input:t|input:text":"inp[type=text]","input:search":"inp[type=search]","input:email":"inp[type=email]","input:url":"inp[type=url]","input:p|input:password":"inp[type=password]","input:datetime":"inp[type=datetime]","input:date":"inp[type=date]","input:datetime-local":"inp[type=datetime-local]","input:month":"inp[type=month]","input:week":"inp[type=week]","input:time":"inp[type=time]","input:tel":"inp[type=tel]","input:number":"inp[type=number]","input:color":"inp[type=color]","input:c|input:checkbox":"inp[type=checkbox]","input:r|input:radio":"inp[type=radio]","input:range":"inp[type=range]","input:f|input:file":"inp[type=file]","input:s|input:submit":"input[type=submit value]","input:i|input:image":"input[type=image src alt]","input:b|input:button":"input[type=button value]","input:reset":"input:button[type=reset]",isindex:"isindex/",select:"select[name=${1} id=${1}]","select:d|select:disabled":"select[disabled.]","opt|option":"option[value]",textarea:"textarea[name=${1} id=${1} cols=${2:30} rows=${3:10}]",marquee:"marquee[behavior direction]","menu:c|menu:context":"menu[type=context]","menu:t|menu:toolbar":"menu[type=toolbar]",video:"video[src]",audio:"audio[src]","html:xml":"html[xmlns=http://www.w3.org/1999/xhtml]",keygen:"keygen/",command:"command/","btn:s|button:s|button:submit":"button[type=submit]","btn:r|button:r|button:reset":"button[type=reset]","btn:d|button:d|button:disabled":"button[disabled.]","fst:d|fset:d|fieldset:d|fieldset:disabled":"fieldset[disabled.]",bq:"blockquote",fig:"figure",figc:"figcaption",pic:"picture",ifr:"iframe",emb:"embed",obj:"object",cap:"caption",colg:"colgroup",fst:"fieldset",btn:"button",optg:"optgroup",tarea:"textarea",leg:"legend",sect:"section",art:"article",hdr:"header",ftr:"footer",adr:"address",dlg:"dialog",str:"strong",prog:"progress",mn:"main",tem:"template",fset:"fieldset",datag:"datagrid",datal:"datalist",kg:"keygen",out:"output",det:"details",cmd:"command","ri:d|ri:dpr":"img:s","ri:v|ri:viewport":"img:z","ri:a|ri:art":"pic>src:m+img","ri:t|ri:type":"pic>src:t+img","!!!":"{<!DOCTYPE html>}",doc:"html[lang=${lang}]>(head>meta[charset=${charset}]+meta:vp+title{${1:Document}})+body","!|html:5":"!!!+doc",c:"{<!-- ${0} -->}","cc:ie":"{<!--[if IE]>${0}<![endif]-->}","cc:noie":"{<!--[if !IE]><!-->${0}<!--<![endif]-->}"},ge={"@f":`@font-face {
|
|
font-family: \${1};
|
|
src: url(\${1});
|
|
}`,"@ff":"@font-face {\n font-family: '${1:FontName}';\n src: url('${2:FileName}.eot');\n src: url('${2:FileName}.eot?#iefix') format('embedded-opentype'),\n url('${2:FileName}.woff') format('woff'),\n url('${2:FileName}.ttf') format('truetype'),\n url('${2:FileName}.svg#${1:FontName}') format('svg');\n font-style: ${3:normal};\n font-weight: ${4:normal};\n}","@i|@import":"@import url(${0});","@kf":"@keyframes ${1:identifier} {\n ${2}\n}","@m|@media":"@media ${1:screen} {\n ${0}\n}",ac:"align-content:start|end|flex-start|flex-end|center|space-between|space-around|stretch|space-evenly",ai:"align-items:start|end|flex-start|flex-end|center|baseline|stretch",anim:"animation:${1:name} ${2:duration} ${3:timing-function} ${4:delay} ${5:iteration-count} ${6:direction} ${7:fill-mode}",animdel:"animation-delay:time",animdir:"animation-direction:normal|reverse|alternate|alternate-reverse",animdur:"animation-duration:${1:0}s",animfm:"animation-fill-mode:both|forwards|backwards",animic:"animation-iteration-count:1|infinite",animn:"animation-name",animps:"animation-play-state:running|paused",animtf:"animation-timing-function:linear|ease|ease-in|ease-out|ease-in-out|cubic-bezier(${1:0.1}, ${2:0.7}, ${3:1.0}, ${3:0.1})",ap:"appearance:none",as:"align-self:start|end|auto|flex-start|flex-end|center|baseline|stretch",b:"bottom",bd:"border:${1:1px} ${2:solid} ${3:#000}",bdb:"border-bottom:${1:1px} ${2:solid} ${3:#000}",bdbc:"border-bottom-color:${1:#000}",bdbi:"border-bottom-image:url(${0})",bdbk:"border-break:close",bdbli:"border-bottom-left-image:url(${0})|continue",bdblrs:"border-bottom-left-radius",bdbri:"border-bottom-right-image:url(${0})|continue",bdbrrs:"border-bottom-right-radius",bdbs:"border-bottom-style",bdbw:"border-bottom-width",bdc:"border-color:${1:#000}",bdci:"border-corner-image:url(${0})|continue",bdcl:"border-collapse:collapse|separate",bdf:"border-fit:repeat|clip|scale|stretch|overwrite|overflow|space",bdi:"border-image:url(${0})",bdl:"border-left:${1:1px} ${2:solid} ${3:#000}",bdlc:"border-left-color:${1:#000}",bdlen:"border-length",bdli:"border-left-image:url(${0})",bdls:"border-left-style",bdlw:"border-left-width",bdr:"border-right:${1:1px} ${2:solid} ${3:#000}",bdrc:"border-right-color:${1:#000}",bdri:"border-right-image:url(${0})",bdrs:"border-radius",bdrst:"border-right-style",bdrw:"border-right-width",bds:"border-style:none|hidden|dotted|dashed|solid|double|dot-dash|dot-dot-dash|wave|groove|ridge|inset|outset",bdsp:"border-spacing",bdt:"border-top:${1:1px} ${2:solid} ${3:#000}",bdtc:"border-top-color:${1:#000}",bdti:"border-top-image:url(${0})",bdtli:"border-top-left-image:url(${0})|continue",bdtlrs:"border-top-left-radius",bdtri:"border-top-right-image:url(${0})|continue",bdtrrs:"border-top-right-radius",bdts:"border-top-style",bdtw:"border-top-width",bdw:"border-width",bfv:"backface-visibility:hidden|visible",bg:"background:${1:#000}",bga:"background-attachment:fixed|scroll",bgbk:"background-break:bounding-box|each-box|continuous",bgc:"background-color:#${1:fff}",bgcp:"background-clip:padding-box|border-box|content-box|no-clip",bgi:"background-image:url(${0})",bgo:"background-origin:padding-box|border-box|content-box",bgp:"background-position:${1:0} ${2:0}",bgpx:"background-position-x",bgpy:"background-position-y",bgr:"background-repeat:no-repeat|repeat-x|repeat-y|space|round",bgsz:"background-size:contain|cover",bxsh:"box-shadow:${1:inset }${2:hoff} ${3:voff} ${4:blur} ${5:#000}|none",bxsz:"box-sizing:border-box|content-box|border-box",c:"color:${1:#000}",cl:"clear:both|left|right|none",cm:"/* ${0} */",cnt:"content:'${0}'|normal|open-quote|no-open-quote|close-quote|no-close-quote|attr(${0})|counter(${0})|counters(${0})",coi:"counter-increment",colm:"columns",colmc:"column-count",colmf:"column-fill",colmg:"column-gap",colmr:"column-rule",colmrc:"column-rule-color",colmrs:"column-rule-style",colmrw:"column-rule-width",colms:"column-span",colmw:"column-width",cor:"counter-reset",cp:"clip:auto|rect(${1:top} ${2:right} ${3:bottom} ${4:left})",cps:"caption-side:top|bottom",cur:"cursor:pointer|auto|default|crosshair|hand|help|move|pointer|text",d:"display:grid|inline-grid|subgrid|block|none|flex|inline-flex|inline|inline-block|list-item|run-in|compact|table|inline-table|table-caption|table-column|table-column-group|table-header-group|table-footer-group|table-row|table-row-group|table-cell|ruby|ruby-base|ruby-base-group|ruby-text|ruby-text-group",ec:"empty-cells:show|hide",f:"font:${1:1em} ${2:sans-serif}",fd:"font-display:auto|block|swap|fallback|optional",fef:"font-effect:none|engrave|emboss|outline",fem:"font-emphasize",femp:"font-emphasize-position:before|after",fems:"font-emphasize-style:none|accent|dot|circle|disc",ff:"font-family:serif|sans-serif|cursive|fantasy|monospace",fft:'font-family:"Times New Roman", Times, Baskerville, Georgia, serif',ffa:'font-family:Arial, "Helvetica Neue", Helvetica, sans-serif',ffv:"font-family:Verdana, Geneva, sans-serif",fl:"float:left|right|none",fs:"font-style:italic|normal|oblique",fsm:"font-smoothing:antialiased|subpixel-antialiased|none",fst:"font-stretch:normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded",fv:"font-variant:normal|small-caps",fvs:"font-variation-settings:normal|inherit|initial|unset",fw:"font-weight:normal|bold|bolder|lighter",fx:"flex",fxb:"flex-basis:fill|max-content|min-content|fit-content|content",fxd:"flex-direction:row|row-reverse|column|column-reverse",fxf:"flex-flow",fxg:"flex-grow",fxsh:"flex-shrink",fxw:"flex-wrap:nowrap|wrap|wrap-reverse",fsz:"font-size",fsza:"font-size-adjust",gtc:"grid-template-columns:repeat()|minmax()",gtr:"grid-template-rows:repeat()|minmax()",gta:"grid-template-areas",gt:"grid-template",gg:"grid-gap",gcg:"grid-column-gap",grg:"grid-row-gap",gac:"grid-auto-columns:auto|minmax()",gar:"grid-auto-rows:auto|minmax()",gaf:"grid-auto-flow:row|column|dense|inherit|initial|unset",gd:"grid",gc:"grid-column",gcs:"grid-column-start",gce:"grid-column-end",gr:"grid-row",grs:"grid-row-start",gre:"grid-row-end",ga:"grid-area",h:"height",jc:"justify-content:start|end|stretch|flex-start|flex-end|center|space-between|space-around|space-evenly",ji:"justify-items:start|end|center|stretch",js:"justify-self:start|end|center|stretch",l:"left",lg:"background-image:linear-gradient(${1})",lh:"line-height",lis:"list-style",lisi:"list-style-image",lisp:"list-style-position:inside|outside",list:"list-style-type:disc|circle|square|decimal|decimal-leading-zero|lower-roman|upper-roman",lts:"letter-spacing:normal",m:"margin",mah:"max-height",mar:"max-resolution",maw:"max-width",mb:"margin-bottom",mih:"min-height",mir:"min-resolution",miw:"min-width",ml:"margin-left",mr:"margin-right",mt:"margin-top",ol:"outline",olc:"outline-color:${1:#000}|invert",olo:"outline-offset",ols:"outline-style:none|dotted|dashed|solid|double|groove|ridge|inset|outset",olw:"outline-width|thin|medium|thick",op:"opacity",ord:"order",ori:"orientation:landscape|portrait",orp:"orphans",ov:"overflow:hidden|visible|hidden|scroll|auto",ovs:"overflow-style:scrollbar|auto|scrollbar|panner|move|marquee",ovx:"overflow-x:hidden|visible|hidden|scroll|auto",ovy:"overflow-y:hidden|visible|hidden|scroll|auto",p:"padding",pb:"padding-bottom",pgba:"page-break-after:auto|always|left|right",pgbb:"page-break-before:auto|always|left|right",pgbi:"page-break-inside:auto|avoid",pl:"padding-left",pos:"position:relative|absolute|relative|fixed|static",pr:"padding-right",pt:"padding-top",q:"quotes",qen:"quotes:'\\201C' '\\201D' '\\2018' '\\2019'",qru:"quotes:'\\00AB' '\\00BB' '\\201E' '\\201C'",r:"right",rsz:"resize:none|both|horizontal|vertical",t:"top",ta:"text-align:left|center|right|justify",tal:"text-align-last:left|center|right",tbl:"table-layout:fixed",td:"text-decoration:none|underline|overline|line-through",te:"text-emphasis:none|accent|dot|circle|disc|before|after",th:"text-height:auto|font-size|text-size|max-size",ti:"text-indent",tj:"text-justify:auto|inter-word|inter-ideograph|inter-cluster|distribute|kashida|tibetan",to:"text-outline:${1:0} ${2:0} ${3:#000}",tov:"text-overflow:ellipsis|clip",tr:"text-replace",trf:"transform:${1}|skewX(${1:angle})|skewY(${1:angle})|scale(${1:x}, ${2:y})|scaleX(${1:x})|scaleY(${1:y})|scaleZ(${1:z})|scale3d(${1:x}, ${2:y}, ${3:z})|rotate(${1:angle})|rotateX(${1:angle})|rotateY(${1:angle})|rotateZ(${1:angle})|translate(${1:x}, ${2:y})|translateX(${1:x})|translateY(${1:y})|translateZ(${1:z})|translate3d(${1:tx}, ${2:ty}, ${3:tz})",trfo:"transform-origin",trfs:"transform-style:preserve-3d",trs:"transition:${1:prop} ${2:time}",trsde:"transition-delay:${1:time}",trsdu:"transition-duration:${1:time}",trsp:"transition-property:${1:prop}",trstf:"transition-timing-function:${1:fn}",tsh:"text-shadow:${1:hoff} ${2:voff} ${3:blur} ${4:#000}",tt:"text-transform:uppercase|lowercase|capitalize|none",tw:"text-wrap:none|normal|unrestricted|suppress",us:"user-select:none",v:"visibility:hidden|visible|collapse",va:"vertical-align:top|super|text-top|middle|baseline|bottom|text-bottom|sub",w:"width",whs:"white-space:nowrap|pre|pre-wrap|pre-line|normal",whsc:"white-space-collapse:normal|keep-all|loose|break-strict|break-all",wid:"widows",wm:"writing-mode:lr-tb|lr-tb|lr-bt|rl-tb|rl-bt|tb-rl|tb-lr|bt-lr|bt-rl",wob:"word-break:normal|keep-all|break-all",wos:"word-spacing",wow:"word-wrap:none|unrestricted|suppress|break-word|normal",z:"z-index",zom:"zoom:1"},De={"tm|tmatch":"xsl:template[match mode]","tn|tname":"xsl:template[name]",call:"xsl:call-template[name]",ap:"xsl:apply-templates[select mode]",api:"xsl:apply-imports",imp:"xsl:import[href]",inc:"xsl:include[href]",ch:"xsl:choose","wh|xsl:when":"xsl:when[test]",ot:"xsl:otherwise",if:"xsl:if[test]",par:"xsl:param[name]",pare:"xsl:param[name select]",var:"xsl:variable[name]",vare:"xsl:variable[name select]",wp:"xsl:with-param[name select]",key:"xsl:key[name match use]",elem:"xsl:element[name]",attr:"xsl:attribute[name]",attrs:"xsl:attribute-set[name]",cp:"xsl:copy[select]",co:"xsl:copy-of[select]",val:"xsl:value-of[select]","for|each":"xsl:for-each[select]",tex:"xsl:text",com:"xsl:comment",msg:"xsl:message[terminate=no]",fall:"xsl:fallback",num:"xsl:number[value]",nam:"namespace-alias[stylesheet-prefix result-prefix]",pres:"xsl:preserve-space[elements]",strip:"xsl:strip-space[elements]",proc:"xsl:processing-instruction[name]",sort:"xsl:sort[select order]",choose:"xsl:choose>xsl:when+xsl:otherwise",xsl:`!!!+xsl:stylesheet[version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform]>{
|
|
|}`,"!!!":'{<?xml version="1.0" encoding="UTF-8"?>}'},Je={html:Y,css:ge,xsl:De},dt={common:["lorem","ipsum","dolor","sit","amet","consectetur","adipisicing","elit"],words:["exercitationem","perferendis","perspiciatis","laborum","eveniet","sunt","iure","nam","nobis","eum","cum","officiis","excepturi","odio","consectetur","quasi","aut","quisquam","vel","eligendi","itaque","non","odit","tempore","quaerat","dignissimos","facilis","neque","nihil","expedita","vitae","vero","ipsum","nisi","animi","cumque","pariatur","velit","modi","natus","iusto","eaque","sequi","illo","sed","ex","et","voluptatibus","tempora","veritatis","ratione","assumenda","incidunt","nostrum","placeat","aliquid","fuga","provident","praesentium","rem","necessitatibus","suscipit","adipisci","quidem","possimus","voluptas","debitis","sint","accusantium","unde","sapiente","voluptate","qui","aspernatur","laudantium","soluta","amet","quo","aliquam","saepe","culpa","libero","ipsa","dicta","reiciendis","nesciunt","doloribus","autem","impedit","minima","maiores","repudiandae","ipsam","obcaecati","ullam","enim","totam","delectus","ducimus","quis","voluptates","dolores","molestiae","harum","dolorem","quia","voluptatem","molestias","magni","distinctio","omnis","illum","dolorum","voluptatum","ea","quas","quam","corporis","quae","blanditiis","atque","deserunt","laboriosam","earum","consequuntur","hic","cupiditate","quibusdam","accusamus","ut","rerum","error","minus","eius","ab","ad","nemo","fugit","officia","at","in","id","quos","reprehenderit","numquam","iste","fugiat","sit","inventore","beatae","repellendus","magnam","recusandae","quod","explicabo","doloremque","aperiam","consequatur","asperiores","commodi","optio","dolor","labore","temporibus","repellat","veniam","architecto","est","esse","mollitia","nulla","a","similique","eos","alias","dolore","tenetur","deleniti","porro","facere","maxime","corrupti"]},ut={common:["\u0434\u0430\u043B\u0435\u043A\u043E-\u0434\u0430\u043B\u0435\u043A\u043E","\u0437\u0430","\u0441\u043B\u043E\u0432\u0435\u0441\u043D\u044B\u043C\u0438","\u0433\u043E\u0440\u0430\u043C\u0438","\u0432 \u0441\u0442\u0440\u0430\u043D\u0435","\u0433\u043B\u0430\u0441\u043D\u044B\u0445","\u0438 \u0441\u043E\u0433\u043B\u0430\u0441\u043D\u044B\u0445","\u0436\u0438\u0432\u0443\u0442","\u0440\u044B\u0431\u043D\u044B\u0435","\u0442\u0435\u043A\u0441\u0442\u044B"],words:["\u0432\u0434\u0430\u043B\u0438","\u043E\u0442 \u0432\u0441\u0435\u0445","\u043E\u043D\u0438","\u0431\u0443\u043A\u0432\u0435\u043D\u043D\u044B\u0445","\u0434\u043E\u043C\u0430\u0445","\u043D\u0430 \u0431\u0435\u0440\u0435\u0433\u0443","\u0441\u0435\u043C\u0430\u043D\u0442\u0438\u043A\u0430","\u0431\u043E\u043B\u044C\u0448\u043E\u0433\u043E","\u044F\u0437\u044B\u043A\u043E\u0432\u043E\u0433\u043E","\u043E\u043A\u0435\u0430\u043D\u0430","\u043C\u0430\u043B\u0435\u043D\u044C\u043A\u0438\u0439","\u0440\u0443\u0447\u0435\u0435\u043A","\u0434\u0430\u043B\u044C","\u0436\u0443\u0440\u0447\u0438\u0442","\u043F\u043E \u0432\u0441\u0435\u0439","\u043E\u0431\u0435\u0441\u043F\u0435\u0447\u0438\u0432\u0430\u0435\u0442","\u0435\u0435","\u0432\u0441\u0435\u043C\u0438","\u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u043C\u0438","\u043F\u0440\u0430\u0432\u0438\u043B\u0430\u043C\u0438","\u044D\u0442\u0430","\u043F\u0430\u0440\u0430\u0434\u0438\u0433\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0430\u044F","\u0441\u0442\u0440\u0430\u043D\u0430","\u043A\u043E\u0442\u043E\u0440\u043E\u0439","\u0436\u0430\u0440\u0435\u043D\u043D\u044B\u0435","\u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F","\u0437\u0430\u043B\u0435\u0442\u0430\u044E\u0442","\u043F\u0440\u044F\u043C\u043E","\u0440\u043E\u0442","\u0434\u0430\u0436\u0435","\u0432\u0441\u0435\u043C\u043E\u0433\u0443\u0449\u0430\u044F","\u043F\u0443\u043D\u043A\u0442\u0443\u0430\u0446\u0438\u044F","\u043D\u0435","\u0438\u043C\u0435\u0435\u0442","\u0432\u043B\u0430\u0441\u0442\u0438","\u043D\u0430\u0434","\u0440\u044B\u0431\u043D\u044B\u043C\u0438","\u0442\u0435\u043A\u0441\u0442\u0430\u043C\u0438","\u0432\u0435\u0434\u0443\u0449\u0438\u043C\u0438","\u0431\u0435\u0437\u043E\u0440\u0444\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u043D\u044B\u0439","\u043E\u0431\u0440\u0430\u0437","\u0436\u0438\u0437\u043D\u0438","\u043E\u0434\u043D\u0430\u0436\u0434\u044B","\u043E\u0434\u043D\u0430","\u043C\u0430\u043B\u0435\u043D\u044C\u043A\u0430\u044F","\u0441\u0442\u0440\u043E\u0447\u043A\u0430","\u0440\u044B\u0431\u043D\u043E\u0433\u043E","\u0442\u0435\u043A\u0441\u0442\u0430","\u0438\u043C\u0435\u043D\u0438","lorem","ipsum","\u0440\u0435\u0448\u0438\u043B\u0430","\u0432\u044B\u0439\u0442\u0438","\u0431\u043E\u043B\u044C\u0448\u043E\u0439","\u043C\u0438\u0440","\u0433\u0440\u0430\u043C\u043C\u0430\u0442\u0438\u043A\u0438","\u0432\u0435\u043B\u0438\u043A\u0438\u0439","\u043E\u043A\u0441\u043C\u043E\u043A\u0441","\u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0430\u043B","\u043E","\u0437\u043B\u044B\u0445","\u0437\u0430\u043F\u044F\u0442\u044B\u0445","\u0434\u0438\u043A\u0438\u0445","\u0437\u043D\u0430\u043A\u0430\u0445","\u0432\u043E\u043F\u0440\u043E\u0441\u0430","\u043A\u043E\u0432\u0430\u0440\u043D\u044B\u0445","\u0442\u043E\u0447\u043A\u0430\u0445","\u0437\u0430\u043F\u044F\u0442\u043E\u0439","\u043D\u043E","\u0442\u0435\u043A\u0441\u0442","\u0434\u0430\u043B","\u0441\u0431\u0438\u0442\u044C","\u0441\u0435\u0431\u044F","\u0442\u043E\u043B\u043A\u0443","\u043E\u043D","\u0441\u043E\u0431\u0440\u0430\u043B","\u0441\u0435\u043C\u044C","\u0441\u0432\u043E\u0438\u0445","\u0437\u0430\u0433\u043B\u0430\u0432\u043D\u044B\u0445","\u0431\u0443\u043A\u0432","\u043F\u043E\u0434\u043F\u043E\u044F\u0441\u0430\u043B","\u0438\u043D\u0438\u0446\u0438\u0430\u043B","\u0437\u0430","\u043F\u043E\u044F\u0441","\u043F\u0443\u0441\u0442\u0438\u043B\u0441\u044F","\u0434\u043E\u0440\u043E\u0433\u0443","\u0432\u0437\u043E\u0431\u0440\u0430\u0432\u0448\u0438\u0441\u044C","\u043F\u0435\u0440\u0432\u0443\u044E","\u0432\u0435\u0440\u0448\u0438\u043D\u0443","\u043A\u0443\u0440\u0441\u0438\u0432\u043D\u044B\u0445","\u0433\u043E\u0440","\u0431\u0440\u043E\u0441\u0438\u043B","\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0439","\u0432\u0437\u0433\u043B\u044F\u0434","\u043D\u0430\u0437\u0430\u0434","\u0441\u0438\u043B\u0443\u044D\u0442","\u0441\u0432\u043E\u0435\u0433\u043E","\u0440\u043E\u0434\u043D\u043E\u0433\u043E","\u0433\u043E\u0440\u043E\u0434\u0430","\u0431\u0443\u043A\u0432\u043E\u0433\u0440\u0430\u0434","\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A","\u0434\u0435\u0440\u0435\u0432\u043D\u0438","\u0430\u043B\u0444\u0430\u0432\u0438\u0442","\u043F\u043E\u0434\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A","\u0441\u0432\u043E\u0435\u0433\u043E","\u043F\u0435\u0440\u0435\u0443\u043B\u043A\u0430","\u0433\u0440\u0443\u0441\u0442\u043D\u044B\u0439","\u0440\u0435\u0442\u043E\u0440\u0438\u0447\u0435\u0441\u043A\u0438\u0439","\u0432\u043E\u043F\u0440\u043E\u0441","\u0441\u043A\u0430\u0442\u0438\u043B\u0441\u044F","\u0435\u0433\u043E","\u0449\u0435\u043A\u0435","\u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u043B","\u0441\u0432\u043E\u0439","\u043F\u0443\u0442\u044C","\u0434\u043E\u0440\u043E\u0433\u0435","\u0432\u0441\u0442\u0440\u0435\u0442\u0438\u043B","\u0440\u0443\u043A\u043E\u043F\u0438\u0441\u044C","\u043E\u043D\u0430","\u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0434\u0438\u043B\u0430","\u043C\u043E\u0435\u0439","\u0432\u0441\u0435","\u043F\u0435\u0440\u0435\u043F\u0438\u0441\u044B\u0432\u0430\u0435\u0442\u0441\u044F","\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E","\u0440\u0430\u0437","\u0435\u0434\u0438\u043D\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0435","\u0447\u0442\u043E","\u043C\u0435\u043D\u044F","\u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C","\u044D\u0442\u043E","\u043F\u0440\u0438\u0441\u0442\u0430\u0432\u043A\u0430","\u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0439\u0441\u044F","\u0442\u044B","\u043B\u0443\u0447\u0448\u0435","\u0441\u0432\u043E\u044E","\u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u0443\u044E","\u0441\u0442\u0440\u0430\u043D\u0443","\u043F\u043E\u0441\u043B\u0443\u0448\u0430\u0432\u0448\u0438\u0441\u044C","\u0440\u0443\u043A\u043E\u043F\u0438\u0441\u0438","\u043D\u0430\u0448","\u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u043B","\u0441\u0432\u043E\u0439","\u043F\u0443\u0442\u044C","\u0432\u0441\u043A\u043E\u0440\u0435","\u0435\u043C\u0443","\u043F\u043E\u0432\u0441\u0442\u0440\u0435\u0447\u0430\u043B\u0441\u044F","\u043A\u043E\u0432\u0430\u0440\u043D\u044B\u0439","\u0441\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C","\u0440\u0435\u043A\u043B\u0430\u043C\u043D\u044B\u0445","\u0442\u0435\u043A\u0441\u0442\u043E\u0432","\u043D\u0430\u043F\u043E\u0438\u0432\u0448\u0438\u0439","\u044F\u0437\u044B\u043A\u043E\u043C","\u0440\u0435\u0447\u044C\u044E","\u0437\u0430\u043C\u0430\u043D\u0438\u0432\u0448\u0438\u0439","\u0441\u0432\u043E\u0435","\u0430\u0433\u0435\u043D\u0442\u0441\u0442\u0432\u043E","\u043A\u043E\u0442\u043E\u0440\u043E\u0435","\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043B\u043E","\u0441\u043D\u043E\u0432\u0430","\u0441\u043D\u043E\u0432\u0430","\u0441\u0432\u043E\u0438\u0445","\u043F\u0440\u043E\u0435\u043A\u0442\u0430\u0445","\u0435\u0441\u043B\u0438","\u043F\u0435\u0440\u0435\u043F\u0438\u0441\u0430\u043B\u0438","\u0442\u043E","\u0436\u0438\u0432\u0435\u0442","\u0442\u0430\u043C","\u0434\u043E","\u0441\u0438\u0445","\u043F\u043E\u0440"]},It={common:["mujer","uno","dolor","m\xE1s","de","poder","mismo","si"],words:["ejercicio","preferencia","perspicacia","laboral","pa\xF1o","suntuoso","molde","namibia","planeador","mirar","dem\xE1s","oficinista","excepci\xF3n","odio","consecuencia","casi","auto","chicharra","velo","elixir","ataque","no","odio","temporal","cu\xF3rum","dign\xEDsimo","facilismo","letra","nihilista","expedici\xF3n","alma","alveolar","aparte","le\xF3n","animal","como","paria","belleza","modo","natividad","justo","ataque","s\xE9quito","pillo","sed","ex","y","voluminoso","temporalidad","verdades","racional","asunci\xF3n","incidente","marejada","placenta","amanecer","fuga","previsor","presentaci\xF3n","lejos","necesariamente","sospechoso","adiposidad","quind\xEDo","p\xF3cima","voluble","d\xE9bito","sinti\xF3","accesorio","falda","sapiencia","volutas","queso","permacultura","laudo","soluciones","entero","pan","litro","tonelada","culpa","libertario","mosca","dictado","reincidente","nascimiento","dolor","escolar","impedimento","m\xEDnima","mayores","repugnante","dulce","obcecado","monta\xF1a","enigma","total","delet\xE9reo","d\xE9cima","c\xE1bala","fotograf\xEDa","dolores","molesto","olvido","paciencia","resiliencia","voluntad","molestias","magn\xEDfico","distinci\xF3n","ovni","marejada","cerro","torre","y","abogada","manantial","corporal","agua","crep\xFAsculo","ataque","desierto","laboriosamente","angustia","afortunado","alma","encefalograma","materialidad","cosas","o","renuncia","error","menos","conejo","abad\xEDa","analfabeto","remo","fugacidad","oficio","en","alm\xE1cigo","vos","pan","represi\xF3n","n\xFAmeros","triste","refugiado","trote","inventor","corchea","repelente","magma","recusado","patr\xF3n","expl\xEDcito","paloma","s\xEDndrome","inmune","autoinmune","comodidad","ley","vietnamita","demonio","tasmania","repeler","ap\xE9ndice","arquitecto","columna","yugo","computador","mula","a","prop\xF3sito","fantas\xEDa","alias","rayo","tenedor","deleznable","ventana","cara","anemia","corrupto"]};let Ut={latin:dt,ru:ut,sp:It},yr={wordCount:30,skipCommon:!1,lang:"latin"};var Jt=function(le,Ee){Ee=Object.assign({},yr,Ee);let Be=Ut[Ee.lang]||Ut.latin,Ye=!Ee.skipCommon&&!dH(le);return!le.repeat&&!zr(le.parent)?(le.parent.value=ds(Be,Ee.wordCount,Ye),le.remove()):(le.value=ds(Be,Ee.wordCount,Ye),le.name=le.parent.name?pe(le.parent.name):null),le};function zr(le){return!le.parent}function Cr(le,Ee){return Math.floor(Math.random()*(Ee-le)+le)}function kn(le,Ee){let Be=le.length,Ye=Math.min(Be,Ee),Et=new Set;for(;Et.size<Ye;)Et.add(le[Cr(0,Be)]);return Array.from(Et)}function ps(le){return le[Cr(0,le.length-1)]}function Kn(le,Ee){return le.length&&(le=[is(le[0])].concat(le.slice(1))),le.join(" ")+(Ee||ps("?!..."))}function is(le){return le[0].toUpperCase()+le.slice(1)}function Ui(le){if(le.length<2)return le;le=le.slice();let Ee=le.length,Be=/,$/,Ye=0;Ee>3&&Ee<=6?Ye=Cr(0,1):Ee>6&&Ee<=12?Ye=Cr(0,2):Ye=Cr(1,4);for(let Et=0,kt;Et<Ye;Et++)kt=Cr(0,Ee-2),Be.test(le[kt])||(le[kt]+=",");return le}function ds(le,Ee,Be){let Ye=[],Et=0,kt;for(Be&&le.common&&(kt=le.common.slice(0,Ee),Et+=kt.length,Ye.push(Kn(Ui(kt),".")));Et<Ee;)kt=kn(le.words,Math.min(Cr(2,30),Ee-Et)),Et+=kt.length,Ye.push(Kn(Ui(kt)));return Ye.join(" ")}function dH(le){for(;le.parent;){if(le.repeat&&le.repeat.value&&le.repeat.value>1)return!0;le=le.parent}return!1}let Ah=/^lorem([a-z]*)(\d*)$/i;function SE(le,Ee){let Be=[Je[le]||Je.html];Array.isArray(Ee)?Ee.forEach(Et=>{Be.push(typeof Et=="string"?Je[Et]:Et)}):typeof Ee=="object"&&Be.push(Ee);let Ye=new u(Be.filter(Boolean));return le!=="css"&&Ye.get(0).set(Ah,LE),Ye}function LE(le){let Ee={},Be=le.name.match(Ah);return Be[1]&&(Ee.lang=Be[1]),Be[2]&&(Ee.wordCount=+Be[2]),Jt(le,Ee)}let Ih={lang:"en",locale:"en-US",charset:"UTF-8"},m1e=new Set(["css","sass","scss","less","stylus","sss"]),E1e={syntax:"html",field:(le,Ee)=>Ee||"",text:null,profile:null,variables:{},snippets:{},addons:null,format:null};function y1e(le,Ee){return Ee=ux(Ee),TE(Ee.syntax)?Ts(le,Ee):vt(le,Ee)}function g1e(le,Ee){return Ee=ux(Ee),TE(Ee.syntax)?w(le,Ee):Mt(le,Ee)}function P7(le,Ee){return Ee instanceof u?Ee:SE(TE(le)?"css":le,Ee)}function ux(le){return typeof le=="string"&&(le={syntax:le}),le=Object.assign({},E1e,le),le.format=Object.assign({field:le.field},le.format),le.profile=w7(le),le.variables=Object.assign({},Ih,le.variables),le.snippets=P7(TE(le.syntax)?"css":le.syntax,le.snippets),le}function TE(le){return m1e.has(le)}function w7(le){return le.profile instanceof o?le.profile:new o(le.profile)}n.expand=y1e,n.parse=g1e,n.createSnippetsRegistry=P7,n.createOptions=ux,n.isStylesheet=TE,n.createProfile=w7,Object.defineProperty(n,"__esModule",{value:!0})})},87:function(e){e.exports=require("os")},104:function(e,t,n){"use strict";n.r(t);var i=n(183),o=n.n(i);for(var r in i)r!=="default"&&n.d(t,r,function(c){return i[c]}.bind(0,r))},183:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(280),o=n(34),r=n(234),c=n(622),s=n(747),u=n(762),H=n(87),a=n(233),l=new Map,p,d,h=new Map,m=/^[a-z,A-Z,!,(,[,#,\.]/,g=/^-?[a-z,A-Z,!,@,#]/,y=/[a-z,A-Z\.]/,_=["html","pug","slim","haml","xml","xsl","jsx","css","scss","sass","less","stylus"],E=[...a.htmlData.tags,"lorem"],A="bem",S="|",T="t",I="c",L=3,x={w:"webkit",m:"moz",s:"ms",o:"o"},C={w:"animation, animation-delay, animation-direction, animation-duration, animation-fill-mode, animation-iteration-count, animation-name, animation-play-state, animation-timing-function, appearance, backface-visibility, background-clip, background-composite, background-origin, background-size, border-fit, border-horizontal-spacing, border-image, border-vertical-spacing, box-align, box-direction, box-flex, box-flex-group, box-lines, box-ordinal-group, box-orient, box-pack, box-reflect, box-shadow, color-correction, column-break-after, column-break-before, column-break-inside, column-count, column-gap, column-rule-color, column-rule-style, column-rule-width, column-span, column-width, dashboard-region, font-smoothing, highlight, hyphenate-character, hyphenate-limit-after, hyphenate-limit-before, hyphens, line-box-contain, line-break, line-clamp, locale, margin-before-collapse, margin-after-collapse, marquee-direction, marquee-increment, marquee-repetition, marquee-style, mask-attachment, mask-box-image, mask-box-image-outset, mask-box-image-repeat, mask-box-image-slice, mask-box-image-source, mask-box-image-width, mask-clip, mask-composite, mask-image, mask-origin, mask-position, mask-repeat, mask-size, nbsp-mode, perspective, perspective-origin, rtl-ordering, text-combine, text-decorations-in-effect, text-emphasis-color, text-emphasis-position, text-emphasis-style, text-fill-color, text-orientation, text-security, text-stroke-color, text-stroke-width, transform, transition, transform-origin, transform-style, transition-delay, transition-duration, transition-property, transition-timing-function, user-drag, user-modify, user-select, writing-mode, svg-shadow, box-sizing, border-radius",m:"animation-delay, animation-direction, animation-duration, animation-fill-mode, animation-iteration-count, animation-name, animation-play-state, animation-timing-function, appearance, backface-visibility, background-inline-policy, binding, border-bottom-colors, border-image, border-left-colors, border-right-colors, border-top-colors, box-align, box-direction, box-flex, box-ordinal-group, box-orient, box-pack, box-shadow, box-sizing, column-count, column-gap, column-rule-color, column-rule-style, column-rule-width, column-width, float-edge, font-feature-settings, font-language-override, force-broken-image-icon, hyphens, image-region, orient, outline-radius-bottomleft, outline-radius-bottomright, outline-radius-topleft, outline-radius-topright, perspective, perspective-origin, stack-sizing, tab-size, text-blink, text-decoration-color, text-decoration-line, text-decoration-style, text-size-adjust, transform, transform-origin, transform-style, transition, transition-delay, transition-duration, transition-property, transition-timing-function, user-focus, user-input, user-modify, user-select, window-shadow, background-clip, border-radius",s:"accelerator, backface-visibility, background-position-x, background-position-y, behavior, block-progression, box-align, box-direction, box-flex, box-line-progression, box-lines, box-ordinal-group, box-orient, box-pack, content-zoom-boundary, content-zoom-boundary-max, content-zoom-boundary-min, content-zoom-chaining, content-zoom-snap, content-zoom-snap-points, content-zoom-snap-type, content-zooming, filter, flow-from, flow-into, font-feature-settings, grid-column, grid-column-align, grid-column-span, grid-columns, grid-layer, grid-row, grid-row-align, grid-row-span, grid-rows, high-contrast-adjust, hyphenate-limit-chars, hyphenate-limit-lines, hyphenate-limit-zone, hyphens, ime-mode, interpolation-mode, layout-flow, layout-grid, layout-grid-char, layout-grid-line, layout-grid-mode, layout-grid-type, line-break, overflow-style, perspective, perspective-origin, perspective-origin-x, perspective-origin-y, scroll-boundary, scroll-boundary-bottom, scroll-boundary-left, scroll-boundary-right, scroll-boundary-top, scroll-chaining, scroll-rails, scroll-snap-points-x, scroll-snap-points-y, scroll-snap-type, scroll-snap-x, scroll-snap-y, scrollbar-arrow-color, scrollbar-base-color, scrollbar-darkshadow-color, scrollbar-face-color, scrollbar-highlight-color, scrollbar-shadow-color, scrollbar-track-color, text-align-last, text-autospace, text-justify, text-kashida-space, text-overflow, text-size-adjust, text-underline-position, touch-action, transform, transform-origin, transform-origin-x, transform-origin-y, transform-origin-z, transform-style, transition, transition-delay, transition-duration, transition-property, transition-timing-function, user-select, word-break, wrap-flow, wrap-margin, wrap-through, writing-mode",o:"dashboard-region, animation, animation-delay, animation-direction, animation-duration, animation-fill-mode, animation-iteration-count, animation-name, animation-play-state, animation-timing-function, border-image, link, link-source, object-fit, object-position, tab-size, table-baseline, transform, transform-origin, transition, transition-delay, transition-duration, transition-property, transition-timing-function, accesskey, input-format, input-required, marquee-dir, marquee-loop, marquee-speed, marquee-style"};function D(ye,$e,nt,et){if(et.showExpandedAbbreviation==="never"||!re(nt,et.excludeLanguages))return;if(!J(nt)){if(!l.has(nt)||!d||d.length===0){let Ce=W[nt]?W[nt]:o.createSnippetsRegistry(nt);l.has(nt)||l.set(nt,Ce.all({type:"string"}).map(qe=>qe.key)),d=Ce.all({type:"regexp"}).map(qe=>qe.key)}p=l.get(nt)}let xe=K(ye,$e,{syntax:nt,lookAhead:!J(nt)});if(!xe)return;let{abbreviationRange:pe,abbreviation:ue,filter:Se}=xe,Ae=P(ye,$e).substr(0,$e.character);if(j(Ae)===ue&&Ae.endsWith(`<${ue}`)&&(nt==="html"||nt==="xml"||nt==="xsl"||nt==="jsx"))return;let We=ie(nt,et,Se),tt=We.preferences;delete We.preferences;let mt,At,pt=[],Nt=(Ce,qe)=>{if(Q(Ce,ue)){try{mt=o.expand(qe,We)}catch{}!mt||z(Ce,qe,mt)||(At=i.CompletionItem.create(qe),At.textEdit=i.TextEdit.replace(pe,U(F(mt))),At.documentation=k(mt),At.insertTextFormat=i.InsertTextFormat.Snippet,At.detail="Emmet Abbreviation",At.label=ue,At.label+=Se?"|"+Se.replace(",","|"):"",pt=[At])}};if(J(nt)){let{prefixOptions:Ce,abbreviationWithoutPrefix:qe}=_e(ue);if(Nt(nt,qe),qe.length>4&&a.cssData.properties.find(ot=>ot.startsWith(qe)))return i.CompletionList.create([],!0);if(At){let ot=He(mt,Ce,tt);At.textEdit=i.TextEdit.replace(pe,U(F(ot))),At.documentation=k(ot),At.label=$(mt),At.filterText=ue;let Ze=h.has(nt)?h.get(nt):h.get("css");if(pt=O(Ze,ue,ue,pe,We,"Emmet Custom Snippet",!1),!pt.find(Pe=>Pe.textEdit.newText===At.textEdit.newText)){let Pe=new RegExp(".*"+qe.split("").map(Qe=>Qe==="$"||Qe==="+"?"\\"+Qe:Qe).join(".*")+".*","i");(/\d/.test(ue)||Pe.test(At.label))&&pt.push(At)}}if(!pt.length&&(ue==="-"||/^-[wmso]{1,4}-?$/.test(ue)))return i.CompletionList.create([],!0)}else{Nt(nt,ue);let Ce=ue,qe=ue.match(/(>|\+)([\w:-]+)$/);qe&&qe.length===3&&(Ce=qe[2]);let ot=O(E,Ce,ue,pe,We,"Emmet Abbreviation");if(pt=pt.concat(ot),et.showAbbreviationSuggestions===!0){let Ze=O(p.filter(Pe=>!E.includes(Pe)),Ce,ue,pe,We,"Emmet Abbreviation");At&&Ze.length>0&&Ce!==ue&&(At.sortText="0"+At.label,Ze.forEach(Pe=>{Pe.filterText=ue,Pe.sortText="9"+ue})),pt=pt.concat(Ze)}}return et.showSuggestionsAsSnippets===!0&&pt.forEach(Ce=>Ce.kind=i.CompletionItemKind.Snippet),pt.length?i.CompletionList.create(pt,!0):void 0}t.doComplete=D;function O(ye,$e,nt,et,xe,pe,ue=!0){if(!$e||!ye)return[];let Se=[];return ye.forEach(Ae=>{if(!Ae.startsWith($e.toLowerCase())||ue&&Ae===$e.toLowerCase())return;let de=nt+Ae.substr($e.length),We;try{We=o.expand(de,xe)}catch{}if(!We)return;let tt=i.CompletionItem.create($e+Ae.substr($e.length));tt.documentation=k(We),tt.detail=pe,tt.textEdit=i.TextEdit.replace(et,U(F(We))),tt.insertTextFormat=i.InsertTextFormat.Snippet,Se.push(tt)}),Se}function j(ye){if(ye){let $e=ye.match(/[\w,:,-,\.]*$/);if($e)return $e[0]}}function k(ye){return ye.replace(/([^\\])\$\{\d+\}/g,"$1|").replace(/\$\{\d+:([^\}]+)\}/g,"$1")}function $(ye){return ye.replace(/([^\\])\$\{\d+\}/g,"$1").replace(/\$\{\d+:([^\}]+)\}/g,"$1")}function U(ye){return ye&&ye.replace(/([^\\])(\$)([^\{])/g,"$1\\$2$3")}function F(ye){if(!ye||!ye.trim())return ye;let $e=-1,nt=[],et=!1,xe=!1,pe=0,ue=ye.length;try{for(;pe<ue&&!et;){if(ye[pe++]!="$"||ye[pe++]!="{")continue;let Se=-1,Ae=-1;for(;pe<ue&&/\d/.test(ye[pe]);)Se=Se<0?pe:Se,Ae=pe+1,pe++;if(Se===-1||Ae===-1||pe>=ue||ye[pe]!="}"&&ye[pe]!=":")continue;let de=ye.substring(Se,Ae);if(et=de==="0",et)break;let We=!1;if(ye[pe++]==":")for(;pe<ue;){if(ye[pe]=="}"){We=!0;break}pe++}Number(de)>Number($e)?($e=de,nt=[{numberStart:Se,numberEnd:Ae}],xe=!We):de==$e&&nt.push({numberStart:Se,numberEnd:Ae})}}catch{}if(xe&&!et)for(let Se=0;Se<nt.length;Se++){let Ae=nt[Se].numberStart,de=nt[Se].numberEnd;ye=ye.substr(0,Ae)+"0"+ye.substr(de)}return ye}function P(ye,$e){let nt=ye.offsetAt($e),et=ye.getText(),xe=0,pe=et.length;for(let ue=nt-1;ue>=0;ue--)if(et[ue]===`
|
|
`){xe=ue+1;break}for(let ue=nt;ue<et.length;ue++)if(et[ue]===`
|
|
`){pe=ue;break}return et.substring(xe,pe)}let W={},Z={},ee={};t.emmetSnippetField=(ye,$e)=>`\${${ye}${$e?":"+$e:""}}`;function J(ye){return["css","scss","sass","less","stylus"].indexOf(ye)>-1}t.isStyleSheet=J;function ne(ye,$e){let nt;for(let et=0;et<L;et++)if(ye.endsWith(`${S}${A}`,$e))$e-=A.length+1,nt=nt?A+","+nt:A;else if(ye.endsWith(`${S}${I}`,$e))$e-=I.length+1,nt=nt?I+","+nt:I;else if(ye.endsWith(`${S}${T}`,$e))$e-=T.length+1,nt=nt?T+","+nt:T;else break;return{pos:$e,filter:nt}}function K(ye,$e,nt){let et=P(ye,$e),xe=et.substr(0,$e.character),{pos:pe,filter:ue}=ne(xe,$e.character),Se=ue?ue.length+1:0;try{let Ae=nt;typeof Ae!="boolean"&&(Ae=Ae||{},Ae={syntax:J(Ae.syntax)||Ae.syntax==="stylesheet"?"stylesheet":"markup",lookAhead:Ae.lookAhead});let de=r(et,pe,Ae);return{abbreviationRange:i.Range.create($e.line,de.location,$e.line,de.location+de.abbreviation.length+Se),abbreviation:de.abbreviation,filter:ue}}catch{}}t.extractAbbreviation=K;function q(ye,$e){if(!ye)return;let{pos:nt,filter:et}=ne(ye,ye.length);try{let xe=J($e)||$e==="stylesheet"?{syntax:"stylesheet",lookAhead:!1}:!0;return{abbreviation:r(ye,nt,xe).abbreviation,filter:et}}catch{}}t.extractAbbreviationFromText=q;function Q(ye,$e){if(!$e)return!1;if(J(ye))return $e.endsWith(":")?!1:$e.indexOf("#")>-1?he.test($e)||fe.test($e):g.test($e);if($e.startsWith("!"))return!/[^!]/.test($e);let nt=$e.match(/\*(\d+)$/);return nt?parseInt(nt[1],10)<=100:(/\(/.test($e)||/\)/.test($e))&&!/\{[^\}\{]*[\(\)]+[^\}\{]*\}(?:[>\+\*\^]|$)/.test($e)&&!/\(.*\)[>\+\*\^]/.test($e)&&!/[>\+\*\^]\(.*\)/.test($e)?!1:m.test($e)&&y.test($e)}t.isAbbreviationValid=Q;function z(ye,$e,nt){if(J(ye)){let xe=ye==="sass"||ye==="stylus"?"":";";return nt===`${$e}: \${1}${xe}`||nt.replace(/\s/g,"")===$e.replace(/\s/g,"")+xe}if(E.indexOf($e.toLowerCase())>-1||p.indexOf($e)>-1||/[-,:]/.test($e)&&!/--|::/.test($e)&&!$e.endsWith(":")||$e===".")return!1;let et=$e.match(/^([a-z,A-Z,\d]*)\.$/);return et?!(et[1]&&a.htmlData.tags.includes(et[1])):nt.toLowerCase()===`<${$e.toLowerCase()}>\${1}</${$e.toLowerCase()}>`}function ie(ye,$e,nt){$e=$e||{},$e.preferences=$e.preferences||{};let et=J(ye)?"css":"html";!W[ye]&&W[et]&&(W[ye]=W[et]);let xe=Fe(ye,$e.syntaxProfiles),pe=xe&&xe.filters?xe.filters.split(","):[];pe=pe.map(de=>de.trim()),$e.preferences["format.noIndentTags"]&&(Array.isArray($e.preferences["format.noIndentTags"])?xe.formatSkip=$e.preferences["format.noIndentTags"]:typeof $e.preferences["format.noIndentTags"]=="string"&&(xe.formatSkip=$e.preferences["format.noIndentTags"].split(","))),$e.preferences["format.forceIndentationForTags"]&&(Array.isArray($e.preferences["format.forceIndentationForTags"])?xe.formatForce=$e.preferences["format.forceIndentationForTags"]:typeof $e.preferences["format.forceIndentationForTags"]=="string"&&(xe.formatForce=$e.preferences["format.forceIndentationForTags"].split(","))),$e.preferences["profile.allowCompactBoolean"]&&typeof $e.preferences["profile.allowCompactBoolean"]=="boolean"&&(xe.compactBooleanAttributes=$e.preferences["profile.allowCompactBoolean"]);let ue={};(nt&&nt.split(",").find(de=>de.trim()==="bem")||pe.indexOf("bem")>-1)&&(ue.bem={element:"__"},$e.preferences["bem.elementSeparator"]&&(ue.bem.element=$e.preferences["bem.elementSeparator"]),$e.preferences["bem.modifierSeparator"]&&(ue.bem.modifier=$e.preferences["bem.modifierSeparator"])),ye==="jsx"&&(ue.jsx=!0);let Se=ce(ye,$e.preferences);(nt&&nt.split(",").find(de=>de.trim()==="c")||pe.indexOf("c")>-1)&&(Se.comment?Se.comment.enabled=!0:Se.comment={enabled:!0});let Ae=$e.preferences;for(let de in x)Ae["css."+x[de]+"Properties"]==null&&(Ae["css."+x[de]+"Properties"]=C[de]);return{field:t.emmetSnippetField,syntax:ye,profile:xe,addons:ue,variables:me($e.variables),snippets:W[ye],format:Se,preferences:Ae}}t.getExpandOptions=ie;function _e(ye){if(ye=ye||"",ye[0]!="-")return{prefixOptions:"",abbreviationWithoutPrefix:ye};{ye=ye.substr(1);let $e="-";if(/^[wmso]*-./.test(ye)){let nt=ye.indexOf("-");nt>-1&&($e+=ye.substr(0,nt+1),ye=ye.substr(nt+1))}return{prefixOptions:$e,abbreviationWithoutPrefix:ye}}}function He(ye,$e,nt){if(nt=nt||{},ye=ye||"",$e=$e||"",$e[0]!=="-")return ye;if($e=="-"){let xe="-",pe=ye.substr(0,ye.indexOf(":"));if(!pe)return ye;for(let ue in x){let Se=nt["css."+x[ue]+"Properties"];Se&&Se.split(",").find(Ae=>Ae.trim()===pe)&&(xe+=ue)}$e=xe=="-"?"-wmso":xe,$e+="-"}$e=$e.substr(1);let et="";for(let xe=0;xe<$e.length-1;xe++)et+="-"+x[$e[xe]]+"-"+ye+`
|
|
`;return et+ye}function be(ye,$e){return o.parse(ye,$e)}t.parseAbbreviation=be;function Ve(ye,$e){let nt,et=$e.preferences;if(delete $e.preferences,J($e.syntax)&&typeof ye=="string"){let{prefixOptions:xe,abbreviationWithoutPrefix:pe}=_e(ye);nt=o.expand(pe,$e),nt=He(nt,xe,et)}else nt=o.expand(ye,$e);return U(F(nt))}t.expandAbbreviation=Ve;function Fe(ye,$e){$e||($e={});let et=Object.assign({},ee,$e)[ye];if(!et||typeof et=="string")return et==="xhtml"?{selfClosingStyle:"xhtml"}:{};let xe={};for(let pe in et)switch(pe){case"tag_case":xe.tagCase=et[pe]==="lower"||et[pe]==="upper"?et[pe]:"";break;case"attr_case":xe.attributeCase=et[pe]==="lower"||et[pe]==="upper"?et[pe]:"";break;case"attr_quotes":xe.attributeQuotes=et[pe];break;case"tag_nl":xe.format=et[pe]===!0||et[pe]===!1?et[pe]:!0;break;case"inline_break":xe.inlineBreak=et[pe];break;case"self_closing_tag":if(et[pe]===!0){xe.selfClosingStyle="xml";break}if(et[pe]===!1){xe.selfClosingStyle="html";break}xe.selfClosingStyle=et[pe];break;case"compact_bool":xe.compactBooleanAttributes=et[pe];break;default:xe[pe]=et[pe];break}return xe}function me(ye){return ye?Object.assign({},Z,ye):Z}function ce(ye,$e){if(!$e)return{};if(!J(ye)){let xe={};for(let pe in $e)switch(pe){case"filter.commentAfter":xe.after=$e[pe];break;case"filter.commentBefore":xe.before=$e[pe];break;case"filter.commentTrigger":xe.trigger=$e[pe];break;default:break}return{comment:xe}}let nt=typeof $e["css.fuzzySearchMinScore"]=="number"?$e["css.fuzzySearchMinScore"]:.3;nt>1?nt=1:nt<0&&(nt=0);let et={fuzzySearchMinScore:nt};for(let xe in $e)switch(xe){case"css.floatUnit":et.floatUnit=$e[xe];break;case"css.intUnit":et.intUnit=$e[xe];break;case"css.unitAliases":let pe={};$e[xe].split(",").forEach(ue=>{if(!ue||!ue.trim()||ue.indexOf(":")===-1)return;let Se=ue.substr(0,ue.indexOf(":")),Ae=ue.substr(Se.length+1);!Se.trim()||!Ae||(pe[Se.trim()]=Ae)}),et.unitAliases=pe;break;case`${ye}.valueSeparator`:et.between=$e[xe];break;case`${ye}.propertyEnd`:et.after=$e[xe];break;default:break}return{stylesheet:et}}function ke(ye,$e){if(!ye||!ye.trim())return Oe(),Promise.resolve();if(ye=ye.trim(),$e=$e?$e.trim():"",ye[0]==="~"?ye=c.join(H.homedir(),ye.substr(1)):!c.isAbsolute(ye)&&$e&&(ye=c.join($e,ye)),!c.isAbsolute(ye))return Oe(),Promise.reject("The path provided in emmet.extensionsPath setting should be absoulte path");if(!je(ye))return Oe(),Promise.reject(`The directory ${ye} doesnt exist. Update emmet.extensionsPath setting`);let nt=ye,et=c.join(nt,"snippets.json"),xe=c.join(nt,"syntaxProfiles.json"),pe=new Promise((Se,Ae)=>{s.readFile(et,(de,We)=>{if(de)return Ae(`Error while fetching the file ${et}`);try{let tt=[],mt=u.parse(We.toString(),tt);if(tt.length>0)return Ae(`Found error ${u.ScanError[tt[0].error]} while parsing the file ${et} at offset ${tt[0].offset}`);Z=mt.variables,W={},l.clear(),Object.keys(mt).forEach(At=>{if(!mt[At].snippets)return;let pt=J(At)?"css":"html",Nt=mt[At].snippets;if(mt[pt]&&mt[pt].snippets&&pt!==At&&(Nt=Object.assign({},mt[pt].snippets,mt[At].snippets)),J(At))h.set(At,Object.keys(Nt));else for(let qe in Nt)Nt.hasOwnProperty(qe)&&Nt[qe].startsWith("<")&&Nt[qe].endsWith(">")&&(Nt[qe]=`{${Nt[qe]}}`);W[At]=o.createSnippetsRegistry(At,Nt);let Ce=W[At].all({type:"string"}).map(qe=>qe.key);l.set(At,Ce)})}catch{return Ae(`Error while parsing the file ${et}`)}return Se()})}),ue=new Promise((Se,Ae)=>{s.readFile(xe,(de,We)=>{try{de||(ee=JSON.parse(We.toString()))}catch{}return Se()})});return Promise.all([pe,Z]).then(()=>Promise.resolve())}t.updateExtensionsPath=ke;function je(ye){try{return s.statSync(ye).isDirectory()}catch{return!1}}function Oe(){W={},l.clear(),h.clear(),ee={},Z={}}function re(ye,$e=[]){if(!(!ye||$e.indexOf(ye)>-1)){if(/\b(typescriptreact|javascriptreact|jsx-tags)\b/.test(ye))return"jsx";if(ye==="sass-indented")return"sass";if(ye==="jade")return"pug";if(_.indexOf(ye)>-1)return ye}}t.getEmmetMode=re;let fe=/^[a-zA-Z]+:?#[\d.a-fA-F]{0,6}$/,he=/^#[\d,a-f,A-F]{1,6}$/,se=/^[a-z,A-Z]+$/;function Ie(ye,$e,nt,et,xe){return{getId:()=>"emmet",onCssProperty:pe=>{if(pe&&pe.propertyName){let ue=D(ye,$e,nt,et);xe&&ue&&(xe.items=ue.items,xe.isIncomplete=!0)}},onCssPropertyValue:pe=>{if(pe&&pe.propertyValue){let ue=K(ye,$e,{syntax:"css",lookAhead:!1});if(!ue)return;if(ue.abbreviation===`${pe.propertyName}:${pe.propertyValue}`&&se.test(pe.propertyValue)||he.test(ue.abbreviation)||ue.abbreviation==="!"){let Ae=D(ye,$e,nt,et);xe&&Ae&&(xe.items=Ae.items,xe.isIncomplete=!0)}}},onHtmlContent:()=>{let pe=D(ye,$e,nt,et);xe&&pe&&(xe.items=pe.items,xe.isIncomplete=!0)}}}t.getEmmetCompletionParticipants=Ie},233:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cssData={properties:["additive-symbols","align-content","align-items","justify-items","justify-self","justify-items","align-self","all","alt","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","behavior","block-size","border","border-block-end","border-block-start","border-block-end-color","border-block-start-color","border-block-end-style","border-block-start-style","border-block-end-width","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline-end","border-inline-start","border-inline-end-color","border-inline-start-color","border-inline-end-style","border-inline-start-style","border-inline-end-width","border-inline-start-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation-filters","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","columns","column-span","column-width","contain","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","enable-background","fallback","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","font","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","glyph-orientation-horizontal","glyph-orientation-vertical","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","height","hyphens","image-orientation","image-rendering","ime-mode","inline-size","isolation","justify-content","kerning","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marker","marker-end","marker-mid","marker-start","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","motion","motion-offset","motion-path","motion-rotation","-moz-animation","-moz-animation-delay","-moz-animation-direction","-moz-animation-duration","-moz-animation-iteration-count","-moz-animation-name","-moz-animation-play-state","-moz-animation-timing-function","-moz-appearance","-moz-backface-visibility","-moz-background-clip","-moz-background-inline-policy","-moz-background-origin","-moz-border-bottom-colors","-moz-border-image","-moz-border-left-colors","-moz-border-right-colors","-moz-border-top-colors","-moz-box-align","-moz-box-direction","-moz-box-flex","-moz-box-flexgroup","-moz-box-ordinal-group","-moz-box-orient","-moz-box-pack","-moz-box-sizing","-moz-column-count","-moz-column-gap","-moz-column-rule","-moz-column-rule-color","-moz-column-rule-style","-moz-column-rule-width","-moz-columns","-moz-column-width","-moz-font-feature-settings","-moz-hyphens","-moz-perspective","-moz-perspective-origin","-moz-text-align-last","-moz-text-decoration-color","-moz-text-decoration-line","-moz-text-decoration-style","-moz-text-size-adjust","-moz-transform","-moz-transform-origin","-moz-transition","-moz-transition-delay","-moz-transition-duration","-moz-transition-property","-moz-transition-timing-function","-moz-user-focus","-moz-user-select","-ms-accelerator","-ms-behavior","-ms-block-progression","-ms-content-zoom-chaining","-ms-content-zooming","-ms-content-zoom-limit","-ms-content-zoom-limit-max","-ms-content-zoom-limit-min","-ms-content-zoom-snap","-ms-content-zoom-snap-points","-ms-content-zoom-snap-type","-ms-filter","-ms-flex","-ms-flex-align","-ms-flex-direction","-ms-flex-flow","-ms-flex-item-align","-ms-flex-line-pack","-ms-flex-order","-ms-flex-pack","-ms-flex-wrap","-ms-flow-from","-ms-flow-into","-ms-grid-column","-ms-grid-column-align","-ms-grid-columns","-ms-grid-column-span","-ms-grid-layer","-ms-grid-row","-ms-grid-row-align","-ms-grid-rows","-ms-grid-row-span","-ms-high-contrast-adjust","-ms-hyphenate-limit-chars","-ms-hyphenate-limit-lines","-ms-hyphenate-limit-zone","-ms-hyphens","-ms-ime-mode","-ms-interpolation-mode","-ms-layout-grid","-ms-layout-grid-char","-ms-layout-grid-line","-ms-layout-grid-mode","-ms-layout-grid-type","-ms-line-break","-ms-overflow-style","-ms-perspective","-ms-perspective-origin","-ms-perspective-origin-x","-ms-perspective-origin-y","-ms-progress-appearance","-ms-scrollbar-3dlight-color","-ms-scrollbar-arrow-color","-ms-scrollbar-base-color","-ms-scrollbar-darkshadow-color","-ms-scrollbar-face-color","-ms-scrollbar-highlight-color","-ms-scrollbar-shadow-color","-ms-scrollbar-track-color","-ms-scroll-chaining","-ms-scroll-limit","-ms-scroll-limit-x-max","-ms-scroll-limit-x-min","-ms-scroll-limit-y-max","-ms-scroll-limit-y-min","-ms-scroll-rails","-ms-scroll-snap-points-x","-ms-scroll-snap-points-y","-ms-scroll-snap-type","-ms-scroll-snap-x","-ms-scroll-snap-y","-ms-scroll-translation","-ms-text-align-last","-ms-text-autospace","-ms-text-combine-horizontal","-ms-text-justify","-ms-text-kashida-space","-ms-text-overflow","-ms-text-size-adjust","-ms-text-underline-position","-ms-touch-action","-ms-touch-select","-ms-transform","-ms-transform-origin","-ms-transform-origin-x","-ms-transform-origin-y","-ms-transform-origin-z","-ms-user-select","-ms-word-break","-ms-word-wrap","-ms-wrap-flow","-ms-wrap-margin","-ms-wrap-through","-ms-writing-mode","-ms-zoom","-ms-zoom-animation","nav-down","nav-index","nav-left","nav-right","nav-up","negative","-o-animation","-o-animation-delay","-o-animation-direction","-o-animation-duration","-o-animation-fill-mode","-o-animation-iteration-count","-o-animation-name","-o-animation-play-state","-o-animation-timing-function","object-fit","object-position","-o-border-image","-o-object-fit","-o-object-position","opacity","order","orphans","-o-table-baseline","-o-tab-size","-o-text-overflow","-o-transform","-o-transform-origin","-o-transition","-o-transition-delay","-o-transition-duration","-o-transition-property","-o-transition-timing-function","offset-block-end","offset-block-start","offset-inline-end","offset-inline-start","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","pad","padding","padding-bottom","padding-block-end","padding-block-start","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","paint-order","perspective","perspective-origin","pointer-events","position","prefix","quotes","range","resize","right","ruby-align","ruby-overhang","ruby-position","ruby-span","scrollbar-3dlight-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-darkshadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","scroll-behavior","scroll-snap-coordinate","scroll-snap-destination","scroll-snap-points-x","scroll-snap-points-y","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","shape-rendering","size","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","suffix","system","symbols","table-layout","tab-size","text-align","text-align-last","text-anchor","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","unicode-range","user-select","vertical-align","visibility","-webkit-animation","-webkit-animation-delay","-webkit-animation-direction","-webkit-animation-duration","-webkit-animation-fill-mode","-webkit-animation-iteration-count","-webkit-animation-name","-webkit-animation-play-state","-webkit-animation-timing-function","-webkit-appearance","-webkit-backdrop-filter","-webkit-backface-visibility","-webkit-background-clip","-webkit-background-composite","-webkit-background-origin","-webkit-border-image","-webkit-box-align","-webkit-box-direction","-webkit-box-flex","-webkit-box-flex-group","-webkit-box-ordinal-group","-webkit-box-orient","-webkit-box-pack","-webkit-box-reflect","-webkit-box-sizing","-webkit-break-after","-webkit-break-before","-webkit-break-inside","-webkit-column-break-after","-webkit-column-break-before","-webkit-column-break-inside","-webkit-column-count","-webkit-column-gap","-webkit-column-rule","-webkit-column-rule-color","-webkit-column-rule-style","-webkit-column-rule-width","-webkit-columns","-webkit-column-span","-webkit-column-width","-webkit-filter","-webkit-flow-from","-webkit-flow-into","-webkit-font-feature-settings","-webkit-hyphens","-webkit-line-break","-webkit-margin-bottom-collapse","-webkit-margin-collapse","-webkit-margin-start","-webkit-margin-top-collapse","-webkit-mask-clip","-webkit-mask-image","-webkit-mask-origin","-webkit-mask-repeat","-webkit-mask-size","-webkit-nbsp-mode","-webkit-overflow-scrolling","-webkit-padding-start","-webkit-perspective","-webkit-perspective-origin","-webkit-region-fragment","-webkit-tap-highlight-color","-webkit-text-fill-color","-webkit-text-size-adjust","-webkit-text-stroke","-webkit-text-stroke-color","-webkit-text-stroke-width","-webkit-touch-callout","-webkit-transform","-webkit-transform-origin","-webkit-transform-origin-x","-webkit-transform-origin-y","-webkit-transform-origin-z","-webkit-transform-style","-webkit-transition","-webkit-transition-delay","-webkit-transition-duration","-webkit-transition-property","-webkit-transition-timing-function","-webkit-user-drag","-webkit-user-modify","-webkit-user-select","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","zoom"]},t.htmlData={tags:["body","head","html","address","blockquote","dd","div","section","article","aside","header","footer","nav","menu","dl","dt","fieldset","form","frame","frameset","h1","h2","h3","h4","h5","h6","iframe","noframes","object","ol","p","ul","applet","center","dir","hr","pre","a","abbr","acronym","area","b","base","basefont","bdo","big","br","button","caption","cite","code","col","colgroup","del","dfn","em","font","head","html","i","img","input","ins","isindex","kbd","label","legend","li","link","map","meta","noscript","optgroup","option","param","q","s","samp","script","select","small","span","strike","strong","style","sub","sup","table","tbody","td","textarea","tfoot","th","thead","title","tr","tt","u","var","canvas","main","figure","plaintext"]}},234:function(e){"use strict";class t{constructor(Q){this.string=Q,this.pos=this.string.length}sol(){return this.pos===0}peek(Q){return this.string.charCodeAt(this.pos-1+(Q||0))}prev(){if(!this.sol())return this.string.charCodeAt(--this.pos)}eat(Q){let z=typeof Q=="function"?Q(this.peek()):Q===this.peek();return z&&this.pos--,z}eatWhile(Q){let z=this.pos;for(;this.eat(Q););return this.pos<z}}let n=39,i=34,o=92;function r(q){return q===n||q===i}function c(q){let Q=q.pos,z=q.prev();if(r(z)){for(;!q.sol();)if(q.prev()===z&&q.peek()!==o)return!0}return q.pos=Q,!1}let s=9,u=32,H=45,a=47,l=58,p=61,d=60,h=62;var m=function(q){let Q=q.pos;if(!q.eat(h))return!1;let z=!1;for(q.eat(a);!q.sol();){if(q.eatWhile(I),E(q)){if(q.eat(a)){z=q.eat(d);break}else if(q.eat(d)){z=!0;break}else{if(q.eat(I))continue;if(q.eat(p)){if(E(q))continue;break}else if(_(q)){z=!0;break}}break}if(!g(q))break}return q.pos=Q,z};function g(q){return y(q)||_(q)}function y(q){let Q=q.pos;return c(q)&&q.eat(p)&&E(q)?!0:(q.pos=Q,!1)}function _(q){let Q=q.pos;return q.eatWhile(L)&&q.eat(p)&&E(q)?!0:(q.pos=Q,!1)}function E(q){return q.eatWhile(A)}function A(q){return q===l||q===H||S(q)||T(q)}function S(q){return q&=-33,q>=65&&q<=90}function T(q){return q>47&&q<58}function I(q){return q===u||q===s}function L(q){return q&&q!==p&&!I(q)&&!r(q)}let x=q=>q.charCodeAt(0),C=x("["),D=x("]"),O=x("("),j=x(")"),k=x("{"),$=x("}"),U=new Set("#.*:$-_!@%^+>/".split("").map(x)),F=new Map().set(C,D).set(O,j).set(k,$),P={syntax:"markup",lookAhead:null};function W(q,Q,z){Q=Math.min(q.length,Math.max(0,Q??q.length)),typeof z=="boolean"?z=Object.assign(P,{lookAhead:z}):z=Object.assign(P,z),(z.lookAhead==null||z.lookAhead===!0)&&(Q=Z(q,Q,z));let ie,_e=new t(q);_e.pos=Q;let He=[];for(;!_e.sol();){if(ie=_e.peek(),K(ie,z.syntax))He.push(ie);else if(ne(ie,z.syntax)){if(He.pop()!==F.get(ie))break}else if(ee(He,D)||ee(He,$)){_e.pos--;continue}else if(m(_e)||!J(ie))break;_e.pos--}if(!He.length&&_e.pos!==Q){let be=q.slice(_e.pos,Q).replace(/^[*+>^]+/,"");return{abbreviation:be,location:Q-be.length}}}function Z(q,Q,z){for(r(q.charCodeAt(Q))&&Q++;K(q.charCodeAt(Q),z.syntax);)Q++;return Q}function ee(q,Q){return q.indexOf(Q)!==-1}function J(q){return q>64&&q<91||q>96&&q<123||q>47&&q<58||U.has(q)}function ne(q,Q){return q===O||Q==="markup"&&(q===C||q===k)}function K(q,Q){return q===j||Q==="markup"&&(q===D||q===$)}e.exports=W},280:function(e,t){(function(n){if(typeof e.exports=="object"){var i=n(require,t);i!==void 0&&(e.exports=i)}else typeof define=="function"&&define.amd&&define(["require","exports"],n)})(function(n,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var o;(function(fe){function he(Ie,ye){return{line:Ie,character:ye}}fe.create=he;function se(Ie){var ye=Ie;return re.objectLiteral(ye)&&re.number(ye.line)&&re.number(ye.character)}fe.is=se})(o=i.Position||(i.Position={}));var r;(function(fe){function he(Ie,ye,$e,nt){if(re.number(Ie)&&re.number(ye)&&re.number($e)&&re.number(nt))return{start:o.create(Ie,ye),end:o.create($e,nt)};if(o.is(Ie)&&o.is(ye))return{start:Ie,end:ye};throw new Error("Range#create called with invalid arguments["+Ie+", "+ye+", "+$e+", "+nt+"]")}fe.create=he;function se(Ie){var ye=Ie;return re.objectLiteral(ye)&&o.is(ye.start)&&o.is(ye.end)}fe.is=se})(r=i.Range||(i.Range={}));var c;(function(fe){function he(Ie,ye){return{uri:Ie,range:ye}}fe.create=he;function se(Ie){var ye=Ie;return re.defined(ye)&&r.is(ye.range)&&(re.string(ye.uri)||re.undefined(ye.uri))}fe.is=se})(c=i.Location||(i.Location={}));var s;(function(fe){function he(Ie,ye,$e,nt){return{targetUri:Ie,targetRange:ye,targetSelectionRange:$e,originSelectionRange:nt}}fe.create=he;function se(Ie){var ye=Ie;return re.defined(ye)&&r.is(ye.targetRange)&&re.string(ye.targetUri)&&(r.is(ye.targetSelectionRange)||re.undefined(ye.targetSelectionRange))&&(r.is(ye.originSelectionRange)||re.undefined(ye.originSelectionRange))}fe.is=se})(s=i.LocationLink||(i.LocationLink={}));var u;(function(fe){function he(Ie,ye,$e,nt){return{red:Ie,green:ye,blue:$e,alpha:nt}}fe.create=he;function se(Ie){var ye=Ie;return re.number(ye.red)&&re.number(ye.green)&&re.number(ye.blue)&&re.number(ye.alpha)}fe.is=se})(u=i.Color||(i.Color={}));var H;(function(fe){function he(Ie,ye){return{range:Ie,color:ye}}fe.create=he;function se(Ie){var ye=Ie;return r.is(ye.range)&&u.is(ye.color)}fe.is=se})(H=i.ColorInformation||(i.ColorInformation={}));var a;(function(fe){function he(Ie,ye,$e){return{label:Ie,textEdit:ye,additionalTextEdits:$e}}fe.create=he;function se(Ie){var ye=Ie;return re.string(ye.label)&&(re.undefined(ye.textEdit)||_.is(ye))&&(re.undefined(ye.additionalTextEdits)||re.typedArray(ye.additionalTextEdits,_.is))}fe.is=se})(a=i.ColorPresentation||(i.ColorPresentation={}));var l;(function(fe){fe.Comment="comment",fe.Imports="imports",fe.Region="region"})(l=i.FoldingRangeKind||(i.FoldingRangeKind={}));var p;(function(fe){function he(Ie,ye,$e,nt,et){var xe={startLine:Ie,endLine:ye};return re.defined($e)&&(xe.startCharacter=$e),re.defined(nt)&&(xe.endCharacter=nt),re.defined(et)&&(xe.kind=et),xe}fe.create=he;function se(Ie){var ye=Ie;return re.number(ye.startLine)&&re.number(ye.startLine)&&(re.undefined(ye.startCharacter)||re.number(ye.startCharacter))&&(re.undefined(ye.endCharacter)||re.number(ye.endCharacter))&&(re.undefined(ye.kind)||re.string(ye.kind))}fe.is=se})(p=i.FoldingRange||(i.FoldingRange={}));var d;(function(fe){function he(Ie,ye){return{location:Ie,message:ye}}fe.create=he;function se(Ie){var ye=Ie;return re.defined(ye)&&c.is(ye.location)&&re.string(ye.message)}fe.is=se})(d=i.DiagnosticRelatedInformation||(i.DiagnosticRelatedInformation={}));var h;(function(fe){fe.Error=1,fe.Warning=2,fe.Information=3,fe.Hint=4})(h=i.DiagnosticSeverity||(i.DiagnosticSeverity={}));var m;(function(fe){fe.Unnecessary=1,fe.Deprecated=2})(m=i.DiagnosticTag||(i.DiagnosticTag={}));var g;(function(fe){function he(Ie,ye,$e,nt,et,xe){var pe={range:Ie,message:ye};return re.defined($e)&&(pe.severity=$e),re.defined(nt)&&(pe.code=nt),re.defined(et)&&(pe.source=et),re.defined(xe)&&(pe.relatedInformation=xe),pe}fe.create=he;function se(Ie){var ye=Ie;return re.defined(ye)&&r.is(ye.range)&&re.string(ye.message)&&(re.number(ye.severity)||re.undefined(ye.severity))&&(re.number(ye.code)||re.string(ye.code)||re.undefined(ye.code))&&(re.string(ye.source)||re.undefined(ye.source))&&(re.undefined(ye.relatedInformation)||re.typedArray(ye.relatedInformation,d.is))}fe.is=se})(g=i.Diagnostic||(i.Diagnostic={}));var y;(function(fe){function he(Ie,ye){for(var $e=[],nt=2;nt<arguments.length;nt++)$e[nt-2]=arguments[nt];var et={title:Ie,command:ye};return re.defined($e)&&$e.length>0&&(et.arguments=$e),et}fe.create=he;function se(Ie){var ye=Ie;return re.defined(ye)&&re.string(ye.title)&&re.string(ye.command)}fe.is=se})(y=i.Command||(i.Command={}));var _;(function(fe){function he($e,nt){return{range:$e,newText:nt}}fe.replace=he;function se($e,nt){return{range:{start:$e,end:$e},newText:nt}}fe.insert=se;function Ie($e){return{range:$e,newText:""}}fe.del=Ie;function ye($e){var nt=$e;return re.objectLiteral(nt)&&re.string(nt.newText)&&r.is(nt.range)}fe.is=ye})(_=i.TextEdit||(i.TextEdit={}));var E;(function(fe){function he(Ie,ye){return{textDocument:Ie,edits:ye}}fe.create=he;function se(Ie){var ye=Ie;return re.defined(ye)&&D.is(ye.textDocument)&&Array.isArray(ye.edits)}fe.is=se})(E=i.TextDocumentEdit||(i.TextDocumentEdit={}));var A;(function(fe){function he(Ie,ye){var $e={kind:"create",uri:Ie};return ye!==void 0&&(ye.overwrite!==void 0||ye.ignoreIfExists!==void 0)&&($e.options=ye),$e}fe.create=he;function se(Ie){var ye=Ie;return ye&&ye.kind==="create"&&re.string(ye.uri)&&(ye.options===void 0||(ye.options.overwrite===void 0||re.boolean(ye.options.overwrite))&&(ye.options.ignoreIfExists===void 0||re.boolean(ye.options.ignoreIfExists)))}fe.is=se})(A=i.CreateFile||(i.CreateFile={}));var S;(function(fe){function he(Ie,ye,$e){var nt={kind:"rename",oldUri:Ie,newUri:ye};return $e!==void 0&&($e.overwrite!==void 0||$e.ignoreIfExists!==void 0)&&(nt.options=$e),nt}fe.create=he;function se(Ie){var ye=Ie;return ye&&ye.kind==="rename"&&re.string(ye.oldUri)&&re.string(ye.newUri)&&(ye.options===void 0||(ye.options.overwrite===void 0||re.boolean(ye.options.overwrite))&&(ye.options.ignoreIfExists===void 0||re.boolean(ye.options.ignoreIfExists)))}fe.is=se})(S=i.RenameFile||(i.RenameFile={}));var T;(function(fe){function he(Ie,ye){var $e={kind:"delete",uri:Ie};return ye!==void 0&&(ye.recursive!==void 0||ye.ignoreIfNotExists!==void 0)&&($e.options=ye),$e}fe.create=he;function se(Ie){var ye=Ie;return ye&&ye.kind==="delete"&&re.string(ye.uri)&&(ye.options===void 0||(ye.options.recursive===void 0||re.boolean(ye.options.recursive))&&(ye.options.ignoreIfNotExists===void 0||re.boolean(ye.options.ignoreIfNotExists)))}fe.is=se})(T=i.DeleteFile||(i.DeleteFile={}));var I;(function(fe){function he(se){var Ie=se;return Ie&&(Ie.changes!==void 0||Ie.documentChanges!==void 0)&&(Ie.documentChanges===void 0||Ie.documentChanges.every(function(ye){return re.string(ye.kind)?A.is(ye)||S.is(ye)||T.is(ye):E.is(ye)}))}fe.is=he})(I=i.WorkspaceEdit||(i.WorkspaceEdit={}));var L=function(){function fe(he){this.edits=he}return fe.prototype.insert=function(he,se){this.edits.push(_.insert(he,se))},fe.prototype.replace=function(he,se){this.edits.push(_.replace(he,se))},fe.prototype.delete=function(he){this.edits.push(_.del(he))},fe.prototype.add=function(he){this.edits.push(he)},fe.prototype.all=function(){return this.edits},fe.prototype.clear=function(){this.edits.splice(0,this.edits.length)},fe}(),x=function(){function fe(he){var se=this;this._textEditChanges=Object.create(null),he&&(this._workspaceEdit=he,he.documentChanges?he.documentChanges.forEach(function(Ie){if(E.is(Ie)){var ye=new L(Ie.edits);se._textEditChanges[Ie.textDocument.uri]=ye}}):he.changes&&Object.keys(he.changes).forEach(function(Ie){var ye=new L(he.changes[Ie]);se._textEditChanges[Ie]=ye}))}return Object.defineProperty(fe.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),fe.prototype.getTextEditChange=function(he){if(D.is(he)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var se=he,Ie=this._textEditChanges[se.uri];if(!Ie){var ye=[],$e={textDocument:se,edits:ye};this._workspaceEdit.documentChanges.push($e),Ie=new L(ye),this._textEditChanges[se.uri]=Ie}return Ie}else{if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var Ie=this._textEditChanges[he];if(!Ie){var ye=[];this._workspaceEdit.changes[he]=ye,Ie=new L(ye),this._textEditChanges[he]=Ie}return Ie}},fe.prototype.createFile=function(he,se){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(A.create(he,se))},fe.prototype.renameFile=function(he,se,Ie){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(S.create(he,se,Ie))},fe.prototype.deleteFile=function(he,se){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(T.create(he,se))},fe.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")},fe}();i.WorkspaceChange=x;var C;(function(fe){function he(Ie){return{uri:Ie}}fe.create=he;function se(Ie){var ye=Ie;return re.defined(ye)&&re.string(ye.uri)}fe.is=se})(C=i.TextDocumentIdentifier||(i.TextDocumentIdentifier={}));var D;(function(fe){function he(Ie,ye){return{uri:Ie,version:ye}}fe.create=he;function se(Ie){var ye=Ie;return re.defined(ye)&&re.string(ye.uri)&&(ye.version===null||re.number(ye.version))}fe.is=se})(D=i.VersionedTextDocumentIdentifier||(i.VersionedTextDocumentIdentifier={}));var O;(function(fe){function he(Ie,ye,$e,nt){return{uri:Ie,languageId:ye,version:$e,text:nt}}fe.create=he;function se(Ie){var ye=Ie;return re.defined(ye)&&re.string(ye.uri)&&re.string(ye.languageId)&&re.number(ye.version)&&re.string(ye.text)}fe.is=se})(O=i.TextDocumentItem||(i.TextDocumentItem={}));var j;(function(fe){fe.PlainText="plaintext",fe.Markdown="markdown"})(j=i.MarkupKind||(i.MarkupKind={})),function(fe){function he(se){var Ie=se;return Ie===fe.PlainText||Ie===fe.Markdown}fe.is=he}(j=i.MarkupKind||(i.MarkupKind={}));var k;(function(fe){function he(se){var Ie=se;return re.objectLiteral(se)&&j.is(Ie.kind)&&re.string(Ie.value)}fe.is=he})(k=i.MarkupContent||(i.MarkupContent={}));var $;(function(fe){fe.Text=1,fe.Method=2,fe.Function=3,fe.Constructor=4,fe.Field=5,fe.Variable=6,fe.Class=7,fe.Interface=8,fe.Module=9,fe.Property=10,fe.Unit=11,fe.Value=12,fe.Enum=13,fe.Keyword=14,fe.Snippet=15,fe.Color=16,fe.File=17,fe.Reference=18,fe.Folder=19,fe.EnumMember=20,fe.Constant=21,fe.Struct=22,fe.Event=23,fe.Operator=24,fe.TypeParameter=25})($=i.CompletionItemKind||(i.CompletionItemKind={}));var U;(function(fe){fe.PlainText=1,fe.Snippet=2})(U=i.InsertTextFormat||(i.InsertTextFormat={}));var F;(function(fe){fe.Deprecated=1})(F=i.CompletionItemTag||(i.CompletionItemTag={}));var P;(function(fe){function he(se){return{label:se}}fe.create=he})(P=i.CompletionItem||(i.CompletionItem={}));var W;(function(fe){function he(se,Ie){return{items:se||[],isIncomplete:!!Ie}}fe.create=he})(W=i.CompletionList||(i.CompletionList={}));var Z;(function(fe){function he(Ie){return Ie.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}fe.fromPlainText=he;function se(Ie){var ye=Ie;return re.string(ye)||re.objectLiteral(ye)&&re.string(ye.language)&&re.string(ye.value)}fe.is=se})(Z=i.MarkedString||(i.MarkedString={}));var ee;(function(fe){function he(se){var Ie=se;return!!Ie&&re.objectLiteral(Ie)&&(k.is(Ie.contents)||Z.is(Ie.contents)||re.typedArray(Ie.contents,Z.is))&&(se.range===void 0||r.is(se.range))}fe.is=he})(ee=i.Hover||(i.Hover={}));var J;(function(fe){function he(se,Ie){return Ie?{label:se,documentation:Ie}:{label:se}}fe.create=he})(J=i.ParameterInformation||(i.ParameterInformation={}));var ne;(function(fe){function he(se,Ie){for(var ye=[],$e=2;$e<arguments.length;$e++)ye[$e-2]=arguments[$e];var nt={label:se};return re.defined(Ie)&&(nt.documentation=Ie),re.defined(ye)?nt.parameters=ye:nt.parameters=[],nt}fe.create=he})(ne=i.SignatureInformation||(i.SignatureInformation={}));var K;(function(fe){fe.Text=1,fe.Read=2,fe.Write=3})(K=i.DocumentHighlightKind||(i.DocumentHighlightKind={}));var q;(function(fe){function he(se,Ie){var ye={range:se};return re.number(Ie)&&(ye.kind=Ie),ye}fe.create=he})(q=i.DocumentHighlight||(i.DocumentHighlight={}));var Q;(function(fe){fe.File=1,fe.Module=2,fe.Namespace=3,fe.Package=4,fe.Class=5,fe.Method=6,fe.Property=7,fe.Field=8,fe.Constructor=9,fe.Enum=10,fe.Interface=11,fe.Function=12,fe.Variable=13,fe.Constant=14,fe.String=15,fe.Number=16,fe.Boolean=17,fe.Array=18,fe.Object=19,fe.Key=20,fe.Null=21,fe.EnumMember=22,fe.Struct=23,fe.Event=24,fe.Operator=25,fe.TypeParameter=26})(Q=i.SymbolKind||(i.SymbolKind={}));var z;(function(fe){fe.Deprecated=1})(z=i.SymbolTag||(i.SymbolTag={}));var ie;(function(fe){function he(se,Ie,ye,$e,nt){var et={name:se,kind:Ie,location:{uri:$e,range:ye}};return nt&&(et.containerName=nt),et}fe.create=he})(ie=i.SymbolInformation||(i.SymbolInformation={}));var _e;(function(fe){function he(Ie,ye,$e,nt,et,xe){var pe={name:Ie,detail:ye,kind:$e,range:nt,selectionRange:et};return xe!==void 0&&(pe.children=xe),pe}fe.create=he;function se(Ie){var ye=Ie;return ye&&re.string(ye.name)&&re.number(ye.kind)&&r.is(ye.range)&&r.is(ye.selectionRange)&&(ye.detail===void 0||re.string(ye.detail))&&(ye.deprecated===void 0||re.boolean(ye.deprecated))&&(ye.children===void 0||Array.isArray(ye.children))}fe.is=se})(_e=i.DocumentSymbol||(i.DocumentSymbol={}));var He;(function(fe){fe.Empty="",fe.QuickFix="quickfix",fe.Refactor="refactor",fe.RefactorExtract="refactor.extract",fe.RefactorInline="refactor.inline",fe.RefactorRewrite="refactor.rewrite",fe.Source="source",fe.SourceOrganizeImports="source.organizeImports",fe.SourceFixAll="source.fixAll"})(He=i.CodeActionKind||(i.CodeActionKind={}));var be;(function(fe){function he(Ie,ye){var $e={diagnostics:Ie};return ye!=null&&($e.only=ye),$e}fe.create=he;function se(Ie){var ye=Ie;return re.defined(ye)&&re.typedArray(ye.diagnostics,g.is)&&(ye.only===void 0||re.typedArray(ye.only,re.string))}fe.is=se})(be=i.CodeActionContext||(i.CodeActionContext={}));var Ve;(function(fe){function he(Ie,ye,$e){var nt={title:Ie};return y.is(ye)?nt.command=ye:nt.edit=ye,$e!==void 0&&(nt.kind=$e),nt}fe.create=he;function se(Ie){var ye=Ie;return ye&&re.string(ye.title)&&(ye.diagnostics===void 0||re.typedArray(ye.diagnostics,g.is))&&(ye.kind===void 0||re.string(ye.kind))&&(ye.edit!==void 0||ye.command!==void 0)&&(ye.command===void 0||y.is(ye.command))&&(ye.isPreferred===void 0||re.boolean(ye.isPreferred))&&(ye.edit===void 0||I.is(ye.edit))}fe.is=se})(Ve=i.CodeAction||(i.CodeAction={}));var Fe;(function(fe){function he(Ie,ye){var $e={range:Ie};return re.defined(ye)&&($e.data=ye),$e}fe.create=he;function se(Ie){var ye=Ie;return re.defined(ye)&&r.is(ye.range)&&(re.undefined(ye.command)||y.is(ye.command))}fe.is=se})(Fe=i.CodeLens||(i.CodeLens={}));var me;(function(fe){function he(Ie,ye){return{tabSize:Ie,insertSpaces:ye}}fe.create=he;function se(Ie){var ye=Ie;return re.defined(ye)&&re.number(ye.tabSize)&&re.boolean(ye.insertSpaces)}fe.is=se})(me=i.FormattingOptions||(i.FormattingOptions={}));var ce;(function(fe){function he(Ie,ye,$e){return{range:Ie,target:ye,data:$e}}fe.create=he;function se(Ie){var ye=Ie;return re.defined(ye)&&r.is(ye.range)&&(re.undefined(ye.target)||re.string(ye.target))}fe.is=se})(ce=i.DocumentLink||(i.DocumentLink={}));var ke;(function(fe){function he(Ie,ye){return{range:Ie,parent:ye}}fe.create=he;function se(Ie){var ye=Ie;return ye!==void 0&&r.is(ye.range)&&(ye.parent===void 0||fe.is(ye.parent))}fe.is=se})(ke=i.SelectionRange||(i.SelectionRange={})),i.EOL=[`
|
|
`,`\r
|
|
`,"\r"];var je;(function(fe){function he($e,nt,et,xe){return new Oe($e,nt,et,xe)}fe.create=he;function se($e){var nt=$e;return!!(re.defined(nt)&&re.string(nt.uri)&&(re.undefined(nt.languageId)||re.string(nt.languageId))&&re.number(nt.lineCount)&&re.func(nt.getText)&&re.func(nt.positionAt)&&re.func(nt.offsetAt))}fe.is=se;function Ie($e,nt){for(var et=$e.getText(),xe=ye(nt,function(We,tt){var mt=We.range.start.line-tt.range.start.line;return mt===0?We.range.start.character-tt.range.start.character:mt}),pe=et.length,ue=xe.length-1;ue>=0;ue--){var Se=xe[ue],Ae=$e.offsetAt(Se.range.start),de=$e.offsetAt(Se.range.end);if(de<=pe)et=et.substring(0,Ae)+Se.newText+et.substring(de,et.length);else throw new Error("Overlapping edit");pe=Ae}return et}fe.applyEdits=Ie;function ye($e,nt){if($e.length<=1)return $e;var et=$e.length/2|0,xe=$e.slice(0,et),pe=$e.slice(et);ye(xe,nt),ye(pe,nt);for(var ue=0,Se=0,Ae=0;ue<xe.length&&Se<pe.length;){var de=nt(xe[ue],pe[Se]);de<=0?$e[Ae++]=xe[ue++]:$e[Ae++]=pe[Se++]}for(;ue<xe.length;)$e[Ae++]=xe[ue++];for(;Se<pe.length;)$e[Ae++]=pe[Se++];return $e}})(je=i.TextDocument||(i.TextDocument={}));var Oe=function(){function fe(he,se,Ie,ye){this._uri=he,this._languageId=se,this._version=Ie,this._content=ye,this._lineOffsets=void 0}return Object.defineProperty(fe.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(fe.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(fe.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),fe.prototype.getText=function(he){if(he){var se=this.offsetAt(he.start),Ie=this.offsetAt(he.end);return this._content.substring(se,Ie)}return this._content},fe.prototype.update=function(he,se){this._content=he.text,this._version=se,this._lineOffsets=void 0},fe.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var he=[],se=this._content,Ie=!0,ye=0;ye<se.length;ye++){Ie&&(he.push(ye),Ie=!1);var $e=se.charAt(ye);Ie=$e==="\r"||$e===`
|
|
`,$e==="\r"&&ye+1<se.length&&se.charAt(ye+1)===`
|
|
`&&ye++}Ie&&se.length>0&&he.push(se.length),this._lineOffsets=he}return this._lineOffsets},fe.prototype.positionAt=function(he){he=Math.max(Math.min(he,this._content.length),0);var se=this.getLineOffsets(),Ie=0,ye=se.length;if(ye===0)return o.create(0,he);for(;Ie<ye;){var $e=Math.floor((Ie+ye)/2);se[$e]>he?ye=$e:Ie=$e+1}var nt=Ie-1;return o.create(nt,he-se[nt])},fe.prototype.offsetAt=function(he){var se=this.getLineOffsets();if(he.line>=se.length)return this._content.length;if(he.line<0)return 0;var Ie=se[he.line],ye=he.line+1<se.length?se[he.line+1]:this._content.length;return Math.max(Math.min(Ie+he.character,ye),Ie)},Object.defineProperty(fe.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),fe}(),re;(function(fe){var he=Object.prototype.toString;function se(ue){return typeof ue<"u"}fe.defined=se;function Ie(ue){return typeof ue>"u"}fe.undefined=Ie;function ye(ue){return ue===!0||ue===!1}fe.boolean=ye;function $e(ue){return he.call(ue)==="[object String]"}fe.string=$e;function nt(ue){return he.call(ue)==="[object Number]"}fe.number=nt;function et(ue){return he.call(ue)==="[object Function]"}fe.func=et;function xe(ue){return ue!==null&&typeof ue=="object"}fe.objectLiteral=xe;function pe(ue,Se){return Array.isArray(ue)&&ue.every(Se)}fe.typedArray=pe})(re||(re={}))})},622:function(e){e.exports=require("path")},747:function(e){e.exports=require("fs")},762:function(e,t){(function(n){if(typeof e.exports=="object"){var i=n(require,t);i!==void 0&&(e.exports=i)}else typeof define=="function"&&define.amd&&define(["require","exports","./format","./edit"],n)})(function(n,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var o=void 0,r=void 0,c;(function(L){L[L.None=0]="None",L[L.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",L[L.UnexpectedEndOfString=2]="UnexpectedEndOfString",L[L.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",L[L.InvalidUnicode=4]="InvalidUnicode",L[L.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",L[L.InvalidCharacter=6]="InvalidCharacter"})(c=i.ScanError||(i.ScanError={}));var s;(function(L){L[L.Unknown=0]="Unknown",L[L.OpenBraceToken=1]="OpenBraceToken",L[L.CloseBraceToken=2]="CloseBraceToken",L[L.OpenBracketToken=3]="OpenBracketToken",L[L.CloseBracketToken=4]="CloseBracketToken",L[L.CommaToken=5]="CommaToken",L[L.ColonToken=6]="ColonToken",L[L.NullKeyword=7]="NullKeyword",L[L.TrueKeyword=8]="TrueKeyword",L[L.FalseKeyword=9]="FalseKeyword",L[L.StringLiteral=10]="StringLiteral",L[L.NumericLiteral=11]="NumericLiteral",L[L.LineCommentTrivia=12]="LineCommentTrivia",L[L.BlockCommentTrivia=13]="BlockCommentTrivia",L[L.LineBreakTrivia=14]="LineBreakTrivia",L[L.Trivia=15]="Trivia",L[L.EOF=16]="EOF"})(s=i.SyntaxKind||(i.SyntaxKind={}));function u(L,x){x===void 0&&(x=!1);var C=0,D=L.length,O="",j=0,k=s.Unknown,$=c.None;function U(ne,K){for(var q=0,Q=0;q<ne||!K;){var z=L.charCodeAt(C);if(z>=48&&z<=57)Q=Q*16+z-48;else if(z>=65&&z<=70)Q=Q*16+z-65+10;else if(z>=97&&z<=102)Q=Q*16+z-97+10;else break;C++,q++}return q<ne&&(Q=-1),Q}function F(ne){C=ne,O="",j=0,k=s.Unknown,$=c.None}function P(){var ne=C;if(L.charCodeAt(C)===48)C++;else for(C++;C<L.length&&l(L.charCodeAt(C));)C++;if(C<L.length&&L.charCodeAt(C)===46)if(C++,C<L.length&&l(L.charCodeAt(C)))for(C++;C<L.length&&l(L.charCodeAt(C));)C++;else return $=c.UnexpectedEndOfNumber,L.substring(ne,C);var K=C;if(C<L.length&&(L.charCodeAt(C)===69||L.charCodeAt(C)===101))if(C++,(C<L.length&&L.charCodeAt(C)===43||L.charCodeAt(C)===45)&&C++,C<L.length&&l(L.charCodeAt(C))){for(C++;C<L.length&&l(L.charCodeAt(C));)C++;K=C}else $=c.UnexpectedEndOfNumber;return L.substring(ne,K)}function W(){for(var ne="",K=C;;){if(C>=D){ne+=L.substring(K,C),$=c.UnexpectedEndOfString;break}var q=L.charCodeAt(C);if(q===34){ne+=L.substring(K,C),C++;break}if(q===92){if(ne+=L.substring(K,C),C++,C>=D){$=c.UnexpectedEndOfString;break}switch(q=L.charCodeAt(C++),q){case 34:ne+='"';break;case 92:ne+="\\";break;case 47:ne+="/";break;case 98:ne+="\b";break;case 102:ne+="\f";break;case 110:ne+=`
|
|
`;break;case 114:ne+="\r";break;case 116:ne+=" ";break;case 117:var Q=U(4,!0);Q>=0?ne+=String.fromCharCode(Q):$=c.InvalidUnicode;break;default:$=c.InvalidEscapeCharacter}K=C;continue}if(q>=0&&q<=31)if(a(q)){ne+=L.substring(K,C),$=c.UnexpectedEndOfString;break}else $=c.InvalidCharacter;C++}return ne}function Z(){if(O="",$=c.None,j=C,C>=D)return j=D,k=s.EOF;var ne=L.charCodeAt(C);if(H(ne)){do C++,O+=String.fromCharCode(ne),ne=L.charCodeAt(C);while(H(ne));return k=s.Trivia}if(a(ne))return C++,O+=String.fromCharCode(ne),ne===13&&L.charCodeAt(C)===10&&(C++,O+=`
|
|
`),k=s.LineBreakTrivia;switch(ne){case 123:return C++,k=s.OpenBraceToken;case 125:return C++,k=s.CloseBraceToken;case 91:return C++,k=s.OpenBracketToken;case 93:return C++,k=s.CloseBracketToken;case 58:return C++,k=s.ColonToken;case 44:return C++,k=s.CommaToken;case 34:return C++,O=W(),k=s.StringLiteral;case 47:var K=C-1;if(L.charCodeAt(C+1)===47){for(C+=2;C<D&&!a(L.charCodeAt(C));)C++;return O=L.substring(K,C),k=s.LineCommentTrivia}if(L.charCodeAt(C+1)===42){C+=2;for(var q=!1;C<D;){var Q=L.charCodeAt(C);if(Q===42&&C+1<D&&L.charCodeAt(C+1)===47){C+=2,q=!0;break}C++}return q||(C++,$=c.UnexpectedEndOfComment),O=L.substring(K,C),k=s.BlockCommentTrivia}return O+=String.fromCharCode(ne),C++,k=s.Unknown;case 45:if(O+=String.fromCharCode(ne),C++,C===D||!l(L.charCodeAt(C)))return k=s.Unknown;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return O+=P(),k=s.NumericLiteral;default:for(;C<D&&ee(ne);)C++,ne=L.charCodeAt(C);if(j!==C){switch(O=L.substring(j,C),O){case"true":return k=s.TrueKeyword;case"false":return k=s.FalseKeyword;case"null":return k=s.NullKeyword}return k=s.Unknown}return O+=String.fromCharCode(ne),C++,k=s.Unknown}}function ee(ne){if(H(ne)||a(ne))return!1;switch(ne){case 125:case 93:case 123:case 91:case 34:case 58:case 44:return!1}return!0}function J(){var ne;do ne=Z();while(ne>=s.LineCommentTrivia&&ne<=s.Trivia);return ne}return{setPosition:F,getPosition:function(){return C},scan:x?J:Z,getToken:function(){return k},getTokenValue:function(){return O},getTokenOffset:function(){return j},getTokenLength:function(){return C-j},getTokenError:function(){return $}}}i.createScanner=u;function H(L){return L===32||L===9||L===11||L===12||L===160||L===5760||L>=8192&&L<=8203||L===8239||L===8287||L===12288||L===65279}function a(L){return L===10||L===13||L===8232||L===8233}function l(L){return L>=48&&L<=57}function p(L,x){var C=u(L),D=[],O,j=0,k;do switch(k=C.getPosition(),O=C.scan(),O){case s.LineCommentTrivia:case s.BlockCommentTrivia:case s.EOF:j!==k&&D.push(L.substring(j,k)),x!==void 0&&D.push(C.getTokenValue().replace(/[^\r\n]/g,x)),j=C.getPosition();break}while(O!==s.EOF);return D.join("")}i.stripComments=p;var d;(function(L){L[L.InvalidSymbol=0]="InvalidSymbol",L[L.InvalidNumberFormat=1]="InvalidNumberFormat",L[L.PropertyNameExpected=2]="PropertyNameExpected",L[L.ValueExpected=3]="ValueExpected",L[L.ColonExpected=4]="ColonExpected",L[L.CommaExpected=5]="CommaExpected",L[L.CloseBraceExpected=6]="CloseBraceExpected",L[L.CloseBracketExpected=7]="CloseBracketExpected",L[L.EndOfFileExpected=8]="EndOfFileExpected",L[L.InvalidCommentToken=9]="InvalidCommentToken",L[L.UnexpectedEndOfComment=10]="UnexpectedEndOfComment",L[L.UnexpectedEndOfString=11]="UnexpectedEndOfString",L[L.UnexpectedEndOfNumber=12]="UnexpectedEndOfNumber",L[L.InvalidUnicode=13]="InvalidUnicode",L[L.InvalidEscapeCharacter=14]="InvalidEscapeCharacter",L[L.InvalidCharacter=15]="InvalidCharacter"})(d=i.ParseErrorCode||(i.ParseErrorCode={}));function h(L){switch(typeof L){case"boolean":return"boolean";case"number":return"number";case"string":return"string";default:return"null"}}function m(L,x){var C=[],D=new Object,O=void 0,j={value:{},offset:0,length:0,type:"object"},k=!1;function $(U,F,P,W){j.value=U,j.offset=F,j.length=P,j.type=W,j.columnOffset=void 0,O=j}try{A(L,{onObjectBegin:function(U,F){if(x<=U)throw D;O=void 0,k=x>U,C.push("")},onObjectProperty:function(U,F,P){if(x<F||($(U,F,P,"property"),C[C.length-1]=U,x<=F+P))throw D},onObjectEnd:function(U,F){if(x<=U)throw D;O=void 0,C.pop()},onArrayBegin:function(U,F){if(x<=U)throw D;O=void 0,C.push(0)},onArrayEnd:function(U,F){if(x<=U)throw D;O=void 0,C.pop()},onLiteralValue:function(U,F,P){if(x<F||($(U,F,P,h(U)),x<=F+P))throw D},onSeparator:function(U,F,P){if(x<=F)throw D;if(U===":"&&O&&O.type==="property")O.columnOffset=F,k=!1,O=void 0;else if(U===","){var W=C[C.length-1];typeof W=="number"?C[C.length-1]=W+1:(k=!0,C[C.length-1]=""),O=void 0}}})}catch(U){if(U!==D)throw U}return{path:C,previousNode:O,isAtPropertyKey:k,matches:function(U){for(var F=0,P=0;F<U.length&&P<C.length;P++)if(U[F]===C[P]||U[F]==="*")F++;else if(U[F]!=="**")return!1;return F===U.length}}}i.getLocation=m;function g(L,x,C){x===void 0&&(x=[]);var D=null,O=[],j=[];function k(U){Array.isArray(O)?O.push(U):D&&(O[D]=U)}var $={onObjectBegin:function(){var U={};k(U),j.push(O),O=U,D=null},onObjectProperty:function(U){D=U},onObjectEnd:function(){O=j.pop()},onArrayBegin:function(){var U=[];k(U),j.push(O),O=U,D=null},onArrayEnd:function(){O=j.pop()},onLiteralValue:k,onError:function(U,F,P){x.push({error:U,offset:F,length:P})}};return A(L,$,C),O[0]}i.parse=g;function y(L,x,C){x===void 0&&(x=[]);var D={type:"array",offset:-1,length:-1,children:[]};function O(U){D.type==="property"&&(D.length=U-D.offset,D=D.parent)}function j(U){return D.children.push(U),U}var k={onObjectBegin:function(U){D=j({type:"object",offset:U,length:-1,parent:D,children:[]})},onObjectProperty:function(U,F,P){D=j({type:"property",offset:F,length:-1,parent:D,children:[]}),D.children.push({type:"string",value:U,offset:F,length:P,parent:D})},onObjectEnd:function(U,F){D.length=U+F-D.offset,D=D.parent,O(U+F)},onArrayBegin:function(U,F){D=j({type:"array",offset:U,length:-1,parent:D,children:[]})},onArrayEnd:function(U,F){D.length=U+F-D.offset,D=D.parent,O(U+F)},onLiteralValue:function(U,F,P){j({type:h(U),offset:F,length:P,parent:D,value:U}),O(F+P)},onSeparator:function(U,F,P){D.type==="property"&&(U===":"?D.columnOffset=F:U===","&&O(F))},onError:function(U,F,P){x.push({error:U,offset:F,length:P})}};A(L,k,C);var $=D.children[0];return $&&delete $.parent,$}i.parseTree=y;function _(L,x){if(L){for(var C=L,D=0,O=x;D<O.length;D++){var j=O[D];if(typeof j=="string"){if(C.type!=="object"||!Array.isArray(C.children))return;for(var k=!1,$=0,U=C.children;$<U.length;$++){var F=U[$];if(Array.isArray(F.children)&&F.children[0].value===j){C=F.children[1],k=!0;break}}if(!k)return}else{var P=j;if(C.type!=="array"||P<0||!Array.isArray(C.children)||P>=C.children.length)return;C=C.children[P]}}return C}}i.findNodeAtLocation=_;function E(L){if(L.type==="array")return L.children.map(E);if(L.type==="object"){for(var x=Object.create(null),C=0,D=L.children;C<D.length;C++){var O=D[C];x[O.children[0].value]=E(O.children[1])}return x}return L.value}i.getNodeValue=E;function A(L,x,C){var D=u(L,!1);function O(Fe){return Fe?function(){return Fe(D.getTokenOffset(),D.getTokenLength())}:function(){return!0}}function j(Fe){return Fe?function(me){return Fe(me,D.getTokenOffset(),D.getTokenLength())}:function(){return!0}}var k=O(x.onObjectBegin),$=j(x.onObjectProperty),U=O(x.onObjectEnd),F=O(x.onArrayBegin),P=O(x.onArrayEnd),W=j(x.onLiteralValue),Z=j(x.onSeparator),ee=O(x.onComment),J=j(x.onError),ne=C&&C.disallowComments,K=C&&C.allowTrailingComma;function q(){for(;;){var Fe=D.scan();switch(D.getTokenError()){case c.InvalidUnicode:Q(d.InvalidUnicode);break;case c.InvalidEscapeCharacter:Q(d.InvalidEscapeCharacter);break;case c.UnexpectedEndOfNumber:Q(d.UnexpectedEndOfNumber);break;case c.UnexpectedEndOfComment:ne||Q(d.UnexpectedEndOfComment);break;case c.UnexpectedEndOfString:Q(d.UnexpectedEndOfString);break;case c.InvalidCharacter:Q(d.InvalidCharacter);break}switch(Fe){case s.LineCommentTrivia:case s.BlockCommentTrivia:ne?Q(d.InvalidCommentToken):ee();break;case s.Unknown:Q(d.InvalidSymbol);break;case s.Trivia:case s.LineBreakTrivia:break;default:return Fe}}}function Q(Fe,me,ce){if(me===void 0&&(me=[]),ce===void 0&&(ce=[]),J(Fe),me.length+ce.length>0)for(var ke=D.getToken();ke!==s.EOF;){if(me.indexOf(ke)!==-1){q();break}else if(ce.indexOf(ke)!==-1)break;ke=q()}}function z(Fe){var me=D.getTokenValue();return Fe?W(me):$(me),q(),!0}function ie(){switch(D.getToken()){case s.NumericLiteral:var Fe=0;try{Fe=JSON.parse(D.getTokenValue()),typeof Fe!="number"&&(Q(d.InvalidNumberFormat),Fe=0)}catch{Q(d.InvalidNumberFormat)}W(Fe);break;case s.NullKeyword:W(null);break;case s.TrueKeyword:W(!0);break;case s.FalseKeyword:W(!1);break;default:return!1}return q(),!0}function _e(){return D.getToken()!==s.StringLiteral?(Q(d.PropertyNameExpected,[],[s.CloseBraceToken,s.CommaToken]),!1):(z(!1),D.getToken()===s.ColonToken?(Z(":"),q(),Ve()||Q(d.ValueExpected,[],[s.CloseBraceToken,s.CommaToken])):Q(d.ColonExpected,[],[s.CloseBraceToken,s.CommaToken]),!0)}function He(){k(),q();for(var Fe=!1;D.getToken()!==s.CloseBraceToken&&D.getToken()!==s.EOF;){if(D.getToken()===s.CommaToken){if(Fe||Q(d.ValueExpected,[],[]),Z(","),q(),D.getToken()===s.CloseBraceToken&&K)break}else Fe&&Q(d.CommaExpected,[],[]);_e()||Q(d.ValueExpected,[],[s.CloseBraceToken,s.CommaToken]),Fe=!0}return U(),D.getToken()!==s.CloseBraceToken?Q(d.CloseBraceExpected,[s.CloseBraceToken],[]):q(),!0}function be(){F(),q();for(var Fe=!1;D.getToken()!==s.CloseBracketToken&&D.getToken()!==s.EOF;){if(D.getToken()===s.CommaToken){if(Fe||Q(d.ValueExpected,[],[]),Z(","),q(),D.getToken()===s.CloseBracketToken&&K)break}else Fe&&Q(d.CommaExpected,[],[]);Ve()||Q(d.ValueExpected,[],[s.CloseBracketToken,s.CommaToken]),Fe=!0}return P(),D.getToken()!==s.CloseBracketToken?Q(d.CloseBracketExpected,[s.CloseBracketToken],[]):q(),!0}function Ve(){switch(D.getToken()){case s.OpenBracketToken:return be();case s.OpenBraceToken:return He();case s.StringLiteral:return z(!0);default:return ie()}}return q(),D.getToken()===s.EOF?!0:Ve()?(D.getToken()!==s.EOF&&Q(d.EndOfFileExpected,[],[]),!0):(Q(d.ValueExpected,[],[]),!1)}i.visit=A;function S(L,x,C){return o.format(L,x,C)}i.format=S;function T(L,x,C,D){return r.setProperty(L,x,C,D.formattingOptions,D.getInsertionIndex)}i.modify=T;function I(L,x){for(var C=x.length-1;C>=0;C--)L=r.applyEdit(L,x[C]);return L}i.applyEdits=I})}},function(e){"use strict";(function(){e.r=function(t){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}})(),function(){e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n}}(),function(){var t=Object.prototype.hasOwnProperty;e.d=function(n,i,o){t.call(n,i)||Object.defineProperty(n,i,{enumerable:!0,get:o})}}()})});var uie=Le((Z9t,cie)=>{"use strict";var Tje=/^(?:( )+|\t+)/;function vje(e){let t=0,n=0,i=0;for(let[o,[r,c]]of e)(r>n||r===n&&c>i)&&(n=r,i=c,t=o);return t}cie.exports=e=>{if(typeof e!="string")throw new TypeError("Expected a string");let t=0,n,i,o=new Map;for(let H of e.split(/\n/g)){if(!H)continue;let a,l,p,d,h=H.match(Tje);if(h===null)t=0,n="";else{a=h[0].length,h[1]?l="s":l="t",l!==n&&(t=0),n=l,p=0;let m=a-t;t=a,m===0?p++:i=l+String(m>0?m:-m),d=o.get(i),d===void 0?d=[1,0]:d=[++d[0],d[1]+p],o.set(i,d)}}let r=vje(o),c=0,s,u="";return r!==0&&(c=Number(r.slice(1)),r[0]==="s"?(s="space",u=" ".repeat(c)):(s="tab",u=" ".repeat(c))),{amount:c,type:s,indent:u}}});var Lie=Le((C2t,Sie)=>{function l$(e,t,n){var i,o,r,c,s;t==null&&(t=100);function u(){var a=Date.now()-c;a<t&&a>=0?i=setTimeout(u,t-a):(i=null,n||(s=e.apply(r,o),r=o=null))}var H=function(){r=this,o=arguments,c=Date.now();var a=n&&!i;return i||(i=setTimeout(u,t)),a&&(s=e.apply(r,o),r=o=null),s};return H.clear=function(){i&&(clearTimeout(i),i=null)},H.flush=function(){i&&(s=e.apply(r,o),r=o=null,clearTimeout(i),i=null)},H}l$.debounce=l$;Sie.exports=l$});var u$=Le(ld=>{"use strict";Object.defineProperty(ld,"__esModule",{value:!0});ld.normalizePath=ld.convertSlashes=ld.cleanPath=void 0;var c$=require("path");function vie(e){let t=(0,c$.normalize)(e);return t.length>1&&t[t.length-1]===c$.sep&&(t=t.substring(0,t.length-1)),t}ld.cleanPath=vie;var Oje=/[\\/]/g;function Cie(e,t){return e.replace(Oje,t)}ld.convertSlashes=Cie;function Fje(e,t){let{resolvePaths:n,normalizePath:i,pathSeparator:o}=t,r=process.platform==="win32"&&e.includes("/")||e.startsWith(".");if(n&&(e=(0,c$.resolve)(e)),(i||r)&&(e=vie(e)),e===".")return"";let c=e[e.length-1]!==o;return Cie(c?e+o:e,o)}ld.normalizePath=Fje});var Die=Le(cd=>{"use strict";Object.defineProperty(cd,"__esModule",{value:!0});cd.build=cd.joinDirectoryPath=cd.joinPathWithBasePath=void 0;var jje=require("path"),Uje=u$();function xie(e,t){return t+e}cd.joinPathWithBasePath=xie;function qje(e,t){return function(n,i){return i.startsWith(e)?i.replace(e,"")+n:(0,Uje.convertSlashes)((0,jje.relative)(e,i),t.pathSeparator)+t.pathSeparator+n}}function Wje(e){return e}function Vje(e,t,n){return t+e+n}cd.joinDirectoryPath=Vje;function Kje(e,t){let{relativePaths:n,includeBasePath:i}=t;return n&&e?qje(e,t):i?xie:Wje}cd.build=Kje});var Pie=Le(xL=>{"use strict";Object.defineProperty(xL,"__esModule",{value:!0});xL.build=void 0;function Gje(e){return function(t,n){n.push(t.substring(e.length)||".")}}function Xje(e){return function(t,n,i){let o=t.substring(e.length)||".";i.every(r=>r(o,!0))&&n.push(o)}}var Zje=(e,t)=>{t.push(e||".")},zje=(e,t,n)=>{let i=e||".";n.every(o=>o(i,!0))&&t.push(i)},Jje=()=>{};function Qje(e,t){let{includeDirs:n,filters:i,relativePaths:o}=t;return n?o?i&&i.length?Xje(e):Gje(e):i&&i.length?zje:Zje:Jje}xL.build=Qje});var wie=Le(DL=>{"use strict";Object.defineProperty(DL,"__esModule",{value:!0});DL.build=void 0;var Yje=(e,t,n,i)=>{i.every(o=>o(e,!1))&&n.files++},eUe=(e,t,n,i)=>{i.every(o=>o(e,!1))&&t.push(e)},tUe=(e,t,n,i)=>{n.files++},rUe=(e,t)=>{t.push(e)},nUe=()=>{};function iUe(e){let{excludeFiles:t,filters:n,onlyCounts:i}=e;return t?nUe:n&&n.length?i?Yje:eUe:i?tUe:rUe}DL.build=iUe});var kie=Le(PL=>{"use strict";Object.defineProperty(PL,"__esModule",{value:!0});PL.build=void 0;var sUe=e=>e,aUe=()=>[""].slice(0,0);function oUe(e){return e.group?aUe:sUe}PL.build=oUe});var Nie=Le(wL=>{"use strict";Object.defineProperty(wL,"__esModule",{value:!0});wL.build=void 0;var lUe=(e,t,n)=>{e.push({directory:t,files:n,dir:t})},cUe=()=>{};function uUe(e){return e.group?lUe:cUe}wL.build=uUe});var Mie=Le(om=>{"use strict";var HUe=om&&om.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(om,"__esModule",{value:!0});om.build=void 0;var kL=HUe(require("fs")),Rie=require("path"),pUe=function(e,t,n){let{queue:i,options:{suppressErrors:o}}=t;i.enqueue(),kL.default.realpath(e,(r,c)=>{if(r)return i.dequeue(o?null:r,t);kL.default.stat(c,(s,u)=>{if(s)return i.dequeue(o?null:s,t);if(u.isDirectory()&&$ie(e,c,t))return i.dequeue(null,t);n(u,c),i.dequeue(null,t)})})},dUe=function(e,t,n){let{queue:i,options:{suppressErrors:o}}=t;i.enqueue();try{let r=kL.default.realpathSync(e),c=kL.default.statSync(r);if(c.isDirectory()&&$ie(e,r,t))return;n(c,r)}catch(r){if(!o)throw r}};function fUe(e,t){return!e.resolveSymlinks||e.excludeSymlinks?null:t?dUe:pUe}om.build=fUe;function $ie(e,t,n){if(n.options.useRealPaths)return hUe(t,n);let i=(0,Rie.dirname)(e),o=1;for(;i!==n.root&&o<2;){let r=n.symlinks.get(i);!!r&&(r===t||r.startsWith(t)||t.startsWith(r))?o++:i=(0,Rie.dirname)(i)}return n.symlinks.set(e,t),o>1}function hUe(e,t){return t.visited.includes(e+t.options.pathSeparator)}});var Bie=Le(RL=>{"use strict";Object.defineProperty(RL,"__esModule",{value:!0});RL.build=void 0;var _Ue=e=>e.counts,mUe=e=>e.groups,EUe=e=>e.paths,yUe=e=>e.paths.slice(0,e.options.maxFiles),gUe=(e,t,n)=>(NL(t,n,e.counts,e.options.suppressErrors),null),bUe=(e,t,n)=>(NL(t,n,e.paths,e.options.suppressErrors),null),AUe=(e,t,n)=>(NL(t,n,e.paths.slice(0,e.options.maxFiles),e.options.suppressErrors),null),IUe=(e,t,n)=>(NL(t,n,e.groups,e.options.suppressErrors),null);function NL(e,t,n,i){t(e&&!i?e:null,n)}function SUe(e,t){let{onlyCounts:n,group:i,maxFiles:o}=e;return n?t?_Ue:gUe:i?t?mUe:IUe:o?t?yUe:AUe:t?EUe:bUe}RL.build=SUe});var jie=Le(lm=>{"use strict";var LUe=lm&&lm.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(lm,"__esModule",{value:!0});lm.build=void 0;var Oie=LUe(require("fs")),Fie={withFileTypes:!0},TUe=(e,t,n,i,o)=>{if(i<0)return e.queue.dequeue(null,e);e.visited.push(t),e.counts.directories++,e.queue.enqueue(),Oie.default.readdir(t||".",Fie,(r,c=[])=>{o(c,n,i),e.queue.dequeue(e.options.suppressErrors?null:r,e)})},vUe=(e,t,n,i,o)=>{if(i<0)return;e.visited.push(t),e.counts.directories++;let r=[];try{r=Oie.default.readdirSync(t||".",Fie)}catch(c){if(!e.options.suppressErrors)throw c}o(r,n,i)};function CUe(e){return e?vUe:TUe}lm.build=CUe});var Uie=Le($L=>{"use strict";Object.defineProperty($L,"__esModule",{value:!0});$L.Queue=void 0;var H$=class{onQueueEmpty;count=0;constructor(t){this.onQueueEmpty=t}enqueue(){this.count++}dequeue(t,n){(--this.count<=0||t)&&this.onQueueEmpty(t,n)}};$L.Queue=H$});var qie=Le(ML=>{"use strict";Object.defineProperty(ML,"__esModule",{value:!0});ML.Counter=void 0;var p$=class{_files=0;_directories=0;set files(t){this._files=t}get files(){return this._files}set directories(t){this._directories=t}get directories(){return this._directories}get dirs(){return this._directories}};ML.Counter=p$});var _$=Le(Zu=>{"use strict";var xUe=Zu&&Zu.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,o)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),DUe=Zu&&Zu.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ud=Zu&&Zu.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&xUe(t,e,n);return DUe(t,e),t};Object.defineProperty(Zu,"__esModule",{value:!0});Zu.Walker=void 0;var Wie=require("path"),d$=u$(),f$=ud(Die()),PUe=ud(Pie()),wUe=ud(wie()),kUe=ud(kie()),NUe=ud(Nie()),RUe=ud(Mie()),$Ue=ud(Bie()),MUe=ud(jie()),BUe=Uie(),OUe=qie(),h$=class{root;isSynchronous;state;joinPath;pushDirectory;pushFile;getArray;groupFiles;resolveSymlink;walkDirectory;callbackInvoker;constructor(t,n,i){this.isSynchronous=!i,this.callbackInvoker=$Ue.build(n,this.isSynchronous),this.root=(0,d$.normalizePath)(t,n),this.state={root:this.root.slice(0,-1),paths:[""].slice(0,0),groups:[],counts:new OUe.Counter,options:n,queue:new BUe.Queue((o,r)=>this.callbackInvoker(r,o,i)),symlinks:new Map,visited:[""].slice(0,0)},this.joinPath=f$.build(this.root,n),this.pushDirectory=PUe.build(this.root,n),this.pushFile=wUe.build(n),this.getArray=kUe.build(n),this.groupFiles=NUe.build(n),this.resolveSymlink=RUe.build(n,this.isSynchronous),this.walkDirectory=MUe.build(this.isSynchronous)}start(){return this.walkDirectory(this.state,this.root,this.root,this.state.options.maxDepth,this.walk),this.isSynchronous?this.callbackInvoker(this.state,null):null}walk=(t,n,i)=>{let{paths:o,options:{filters:r,resolveSymlinks:c,excludeSymlinks:s,exclude:u,maxFiles:H,signal:a,useRealPaths:l,pathSeparator:p}}=this.state;if(a&&a.aborted||H&&o.length>H)return;this.pushDirectory(n,o,r);let d=this.getArray(this.state.paths);for(let h=0;h<t.length;++h){let m=t[h];if(m.isFile()||m.isSymbolicLink()&&!c&&!s){let g=this.joinPath(m.name,n);this.pushFile(g,d,this.state.counts,r)}else if(m.isDirectory()){let g=f$.joinDirectoryPath(m.name,n,this.state.options.pathSeparator);if(u&&u(m.name,g))continue;this.walkDirectory(this.state,g,g,i-1,this.walk)}else if(m.isSymbolicLink()&&this.resolveSymlink){let g=f$.joinPathWithBasePath(m.name,n);this.resolveSymlink(g,this.state,(y,_)=>{if(y.isDirectory()){if(_=(0,d$.normalizePath)(_,this.state.options),u&&u(m.name,l?_:g+p))return;this.walkDirectory(this.state,_,l?_:g+p,i-1,this.walk)}else{_=l?_:g;let E=(0,Wie.basename)(_),A=(0,d$.normalizePath)((0,Wie.dirname)(_),this.state.options);_=this.joinPath(E,A),this.pushFile(_,d,this.state.counts,r)}})}}this.groupFiles(this.state.groups,n,d)}};Zu.Walker=h$});var Kie=Le(cm=>{"use strict";Object.defineProperty(cm,"__esModule",{value:!0});cm.callback=cm.promise=void 0;var FUe=_$();function jUe(e,t){return new Promise((n,i)=>{Vie(e,t,(o,r)=>{if(o)return i(o);n(r)})})}cm.promise=jUe;function Vie(e,t,n){new FUe.Walker(e,t,n).start()}cm.callback=Vie});var Gie=Le(BL=>{"use strict";Object.defineProperty(BL,"__esModule",{value:!0});BL.sync=void 0;var UUe=_$();function qUe(e,t){return new UUe.Walker(e,t).start()}BL.sync=qUe});var Zie=Le(OL=>{"use strict";Object.defineProperty(OL,"__esModule",{value:!0});OL.APIBuilder=void 0;var Xie=Kie(),WUe=Gie(),m$=class{root;options;constructor(t,n){this.root=t,this.options=n}withPromise(){return(0,Xie.promise)(this.root,this.options)}withCallback(t){(0,Xie.callback)(this.root,this.options,t)}sync(){return(0,WUe.sync)(this.root,this.options)}};OL.APIBuilder=m$});var Qie=Le(FL=>{"use strict";Object.defineProperty(FL,"__esModule",{value:!0});FL.Builder=void 0;var VUe=require("path"),zie=Zie(),Jie=null;try{require.resolve("picomatch"),Jie=bH()}catch{}var E$=class{globCache={};options={maxDepth:1/0,suppressErrors:!0,pathSeparator:VUe.sep,filters:[]};globFunction;constructor(t){this.options={...this.options,...t},this.globFunction=this.options.globFunction}group(){return this.options.group=!0,this}withPathSeparator(t){return this.options.pathSeparator=t,this}withBasePath(){return this.options.includeBasePath=!0,this}withRelativePaths(){return this.options.relativePaths=!0,this}withDirs(){return this.options.includeDirs=!0,this}withMaxDepth(t){return this.options.maxDepth=t,this}withMaxFiles(t){return this.options.maxFiles=t,this}withFullPaths(){return this.options.resolvePaths=!0,this.options.includeBasePath=!0,this}withErrors(){return this.options.suppressErrors=!1,this}withSymlinks({resolvePaths:t=!0}={}){return this.options.resolveSymlinks=!0,this.options.useRealPaths=t,this.withFullPaths()}withAbortSignal(t){return this.options.signal=t,this}normalize(){return this.options.normalizePath=!0,this}filter(t){return this.options.filters.push(t),this}onlyDirs(){return this.options.excludeFiles=!0,this.options.includeDirs=!0,this}exclude(t){return this.options.exclude=t,this}onlyCounts(){return this.options.onlyCounts=!0,this}crawl(t){return new zie.APIBuilder(t||".",this.options)}withGlobFunction(t){return this.globFunction=t,this}crawlWithOptions(t,n){return this.options={...this.options,...n},new zie.APIBuilder(t||".",this.options)}glob(...t){return this.globFunction?this.globWithOptions(t):this.globWithOptions(t,{dot:!0})}globWithOptions(t,...n){let i=this.globFunction||Jie;if(!i)throw new Error("Please specify a glob function to use glob matching.");var o=this.globCache[t.join("\0")];return o||(o=i(t,...n),this.globCache[t.join("\0")]=o),this.options.filters.push(r=>o(r)),this}};FL.Builder=E$});var ese=Le(Yie=>{"use strict";Object.defineProperty(Yie,"__esModule",{value:!0})});var tse=Le(GH=>{"use strict";var KUe=GH&&GH.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,o)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),GUe=GH&&GH.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&KUe(t,e,n)};Object.defineProperty(GH,"__esModule",{value:!0});GH.fdir=void 0;var XUe=Qie();Object.defineProperty(GH,"fdir",{enumerable:!0,get:function(){return XUe.Builder}});GUe(ese(),GH)});var I$=Le((rRt,lse)=>{"use strict";lse.exports=function(t,n,i){let o=[];if(typeof t<"u"){let r="layer";t&&(r=`layer(${t})`),o.push(r)}return typeof i<"u"&&o.push(`supports(${i})`),typeof n<"u"&&o.push(n),o.join(" ")}});var Hse=Le((nRt,use)=>{"use strict";var cse=I$();use.exports=function(t,n){n.reverse();let i=n.pop(),o=`${t} ${cse(i.layer,i.media,i.supports)}`;for(let r of n)o=`'data:text/css;base64,${Buffer.from(`@import ${o}`).toString("base64")}' ${cse(r.layer,r.media,r.supports)}`;return o}});var dse=Le((iRt,pse)=>{"use strict";var c6e=Hse();pse.exports=function(t,n){t.forEach(i=>{if(i.type==="charset"||i.type==="warning"||!i.conditions?.length)return;if(i.type==="import"){i.node.params=c6e(i.fullUri,i.conditions);return}let{nodes:o}=i,{parent:r}=o[0],c=[];for(let H of i.conditions){if(typeof H.media<"u"){let a=n({name:"media",params:H.media,source:r.source});c.push(a)}if(typeof H.supports<"u"){let a=n({name:"supports",params:`(${H.supports})`,source:r.source});c.push(a)}if(typeof H.layer<"u"){let a=n({name:"layer",params:H.layer,source:r.source});c.push(a)}}let s=c.shift(),u=c.reduce((H,a)=>(H.append(a),a),s);r.insertBefore(o[0],s),o.forEach(H=>{H.parent=void 0}),o[0].raws.before=o[0].raws.before||`
|
|
`,u.append(o),i.type="nodes",i.nodes=[s],delete i.node})}});var hse=Le((sRt,fse)=>{"use strict";fse.exports=function(t){t.forEach((n,i)=>{if(i!==0)if(n.parent){let{before:o}=n.parent.node.raws;n.type==="nodes"?n.nodes[0].raws.before=o:n.node.raws.before=o}else n.type==="nodes"&&(n.nodes[0].raws.before=n.nodes[0].raws.before||`
|
|
`)})}});var mse=Le((aRt,_se)=>{"use strict";_se.exports=function(t,n){n.nodes=[],t.forEach(i=>{["charset","import"].includes(i.type)?(i.node.parent=void 0,n.append(i.node)):i.type==="nodes"&&i.nodes.forEach(o=>{o.parent=void 0,n.append(o)})})}});var bse=Le((oRt,gse)=>{"use strict";var Ese=function(e,t,n){return function(){for(var i=this,o=new Array(arguments.length),r=0;r<arguments.length;r++)o[r]=arguments[r];return new t(function(c,s){o.push(function(u,H){if(u)s(u);else if(n.multiArgs){for(var a=new Array(arguments.length-1),l=1;l<arguments.length;l++)a[l-1]=arguments[l];c(a)}else c(H)}),e.apply(i,o)})}},yse=gse.exports=function(e,t,n){typeof t!="function"&&(n=t,t=Promise),n=n||{},n.exclude=n.exclude||[/.+Sync$/];var i=function(r){var c=function(s){return typeof s=="string"?r===s:s.test(r)};return n.include?n.include.some(c):!n.exclude.some(c)},o=typeof e=="function"?function(){return n.excludeMain?e.apply(this,arguments):Ese(e,t,n).apply(this,arguments)}:{};return Object.keys(e).reduce(function(r,c){var s=e[c];return r[c]=typeof s=="function"&&i(c)?Ese(s,t,n):s,r},o)};yse.all=yse});var Ise=Le((lRt,A0)=>{var KL=require("fs"),u6e=require("path"),Ase=bse(),H6e=Ase(KL.stat),p6e=Ase(KL.readFile),S$=u6e.resolve,XH=Object.create(null);function b0(e,t){return Buffer.isEncoding(t)?e.toString(t):e}A0.exports=function(e,t){return e=S$(e),H6e(e).then(function(n){var i=XH[e];return i&&i.mtime.getTime()===n.mtime.getTime()?b0(i.content,t):p6e(e).then(function(o){return XH[e]={mtime:n.mtime,content:o},b0(o,t)})}).catch(function(n){return XH[e]=null,Promise.reject(n)})};A0.exports.sync=function(e,t){e=S$(e);try{var n=KL.statSync(e),i=XH[e];if(i&&i.mtime.getTime()===n.mtime.getTime())return b0(i.content,t);var o=KL.readFileSync(e);return XH[e]={mtime:n.mtime,content:o},b0(o,t)}catch(r){throw XH[e]=null,r}};A0.exports.get=function(e,t){return e=S$(e),XH[e]?b0(XH[e].content,t):null};A0.exports.clear=function(){XH=Object.create(null)}});var L$=Le((cRt,Sse)=>{"use strict";var d6e=/^data:text\/css(?:;(base64|plain))?,/i,f6e=/^data:text\/css;base64,/i,h6e=/^data:text\/css;plain,/i;function _6e(e){return d6e.test(e)}function m6e(e){return f6e.test(e)?Buffer.from(e.slice(21),"base64").toString():h6e.test(e)?decodeURIComponent(e.slice(20)):decodeURIComponent(e.slice(14))}Sse.exports={isValid:_6e,contents:m6e}});var vse=Le((uRt,Tse)=>{"use strict";var E6e=Ise(),Lse=L$();Tse.exports=function(t){return Lse.isValid(t)?Lse.contents(t):E6e(t,"utf-8")}});var Dse=Le((HRt,xse)=>{"use strict";var Cse=wI(),{stringify:I0}=Cse;xse.exports=function(t,n,i,o){let r=[],c=[];return n.each(s=>{let u;s.type==="atrule"&&(s.name==="import"?u=g6e(t,s,i,o):s.name==="charset"&&(u=y6e(t,s,i,o))),u?(c.length&&(r.push({type:"nodes",nodes:c,conditions:[...i],from:o}),c=[]),r.push(u)):c.push(s)}),c.length&&r.push({type:"nodes",nodes:c,conditions:[...i],from:o}),r};function y6e(e,t,n,i){return t.prev()?e.warn("@charset must precede all other statements",{node:t}):{type:"charset",node:t,conditions:[...n],from:i}}function g6e(e,t,n,i){let o=t.prev();if(o)do{if(o.type==="comment"||o.type==="atrule"&&o.name==="import"){o=o.prev();continue}break}while(o);if(o)do{if(o.type==="comment"||o.type==="atrule"&&(o.name==="charset"||o.name==="layer"&&!o.nodes)){o=o.prev();continue}return e.warn("@import must precede all other statements (besides @charset or empty @layer)",{node:t})}while(o);if(t.nodes)return e.warn("It looks like you didn't end your @import statement correctly. Child nodes are attached to it.",{node:t});let r=Cse(t.params).nodes,c={type:"import",uri:"",fullUri:"",node:t,conditions:[...n],from:i},s,u,H;for(let a=0;a<r.length;a++){let l=r[a];if(!(l.type==="space"||l.type==="comment")){if(l.type==="string"){if(c.uri)return e.warn(`Multiple url's in '${t.toString()}'`,{node:t});if(!l.value)return e.warn(`Unable to find uri in '${t.toString()}'`,{node:t});c.uri=l.value,c.fullUri=I0(l);continue}if(l.type==="function"&&/^url$/i.test(l.value)){if(c.uri)return e.warn(`Multiple url's in '${t.toString()}'`,{node:t});if(!l.nodes?.[0]?.value)return e.warn(`Unable to find uri in '${t.toString()}'`,{node:t});c.uri=l.nodes[0].value,c.fullUri=I0(l);continue}if(!c.uri)return e.warn(`Unable to find uri in '${t.toString()}'`,{node:t});if((l.type==="word"||l.type==="function")&&/^layer$/i.test(l.value)){if(typeof s<"u")return e.warn(`Multiple layers in '${t.toString()}'`,{node:t});if(typeof H<"u")return e.warn(`layers must be defined before support conditions in '${t.toString()}'`,{node:t});l.nodes?s=I0(l.nodes):s="";continue}if(l.type==="function"&&/^supports$/i.test(l.value)){if(typeof H<"u")return e.warn(`Multiple support conditions in '${t.toString()}'`,{node:t});H=I0(l.nodes);continue}u=I0(r.slice(a));break}}return c.uri?((typeof u<"u"||typeof s<"u"||typeof H<"u")&&c.conditions.push({layer:s,media:u,supports:H}),c):e.warn(`Unable to find uri in '${t.toString()}'`,{node:t})}});var wse=Le((pRt,Pse)=>{"use strict";var b6e=require("path"),GL;Pse.exports=function(t,n,i,o,r){let{plugins:c}=o,s=b6e.extname(i),u=[];if(s===".sss"){if(!GL)try{GL=require("sugarss")}catch{}if(GL)return T$(r,n,i,c,[GL])}return t.opts.syntax?.parse&&u.push(t.opts.syntax.parse),t.opts.parser&&u.push(t.opts.parser),u.push(null),T$(r,n,i,c,u)};function T$(e,t,n,i,o,r){return r||(r=0),e(i).process(t,{from:n,parser:o[r]}).catch(c=>{if(r++,r===o.length)throw c;return T$(e,t,n,i,o,r)})}});var v$=Le((dRt,kse)=>{kse.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(n,i){return i};var t=new Error().stack;return Error.prepareStackTrace=e,t[2].getFileName()}});var Nse=Le((fRt,S0)=>{"use strict";var A6e=process.platform==="win32",I6e=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/,C$={};function S6e(e){return I6e.exec(e).slice(1)}C$.parse=function(e){if(typeof e!="string")throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t=S6e(e);if(!t||t.length!==5)throw new TypeError("Invalid path '"+e+"'");return{root:t[1],dir:t[0]===t[1]?t[0]:t[0].slice(0,-1),base:t[2],ext:t[4],name:t[3]}};var L6e=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/,x$={};function T6e(e){return L6e.exec(e).slice(1)}x$.parse=function(e){if(typeof e!="string")throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t=T6e(e);if(!t||t.length!==5)throw new TypeError("Invalid path '"+e+"'");return{root:t[1],dir:t[0].slice(0,-1),base:t[2],ext:t[4],name:t[3]}};A6e?S0.exports=C$.parse:S0.exports=x$.parse;S0.exports.posix=x$.parse;S0.exports.win32=C$.parse});var D$=Le((hRt,Bse)=>{var Mse=require("path"),Rse=Mse.parse||Nse(),$se=function(t,n){var i="/";/^([A-Za-z]:)/.test(t)?i="":/^\\\\/.test(t)&&(i="\\\\");for(var o=[t],r=Rse(t);r.dir!==o[o.length-1];)o.push(r.dir),r=Rse(r.dir);return o.reduce(function(c,s){return c.concat(n.map(function(u){return Mse.resolve(i,s,u)}))},[])};Bse.exports=function(t,n,i){var o=n&&n.moduleDirectory?[].concat(n.moduleDirectory):["node_modules"];if(n&&typeof n.paths=="function")return n.paths(i,t,function(){return $se(t,o)},n);var r=$se(t,o);return n&&n.paths?r.concat(n.paths):r}});var P$=Le((_Rt,Ose)=>{Ose.exports=function(e,t){return t||{}}});var jse=Le((mRt,Fse)=>{"use strict";var v6e="Function.prototype.bind called on incompatible ",w$=Array.prototype.slice,C6e=Object.prototype.toString,x6e="[object Function]";Fse.exports=function(t){var n=this;if(typeof n!="function"||C6e.call(n)!==x6e)throw new TypeError(v6e+n);for(var i=w$.call(arguments,1),o,r=function(){if(this instanceof o){var a=n.apply(this,i.concat(w$.call(arguments)));return Object(a)===a?a:this}else return n.apply(t,i.concat(w$.call(arguments)))},c=Math.max(0,n.length-i.length),s=[],u=0;u<c;u++)s.push("$"+u);if(o=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(r),n.prototype){var H=function(){};H.prototype=n.prototype,o.prototype=new H,H.prototype=null}return o}});var qse=Le((ERt,Use)=>{"use strict";var D6e=jse();Use.exports=Function.prototype.bind||D6e});var Vse=Le((yRt,Wse)=>{"use strict";var P6e=qse();Wse.exports=P6e.call(Function.call,Object.prototype.hasOwnProperty)});var Kse=Le((gRt,w6e)=>{w6e.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],smalloc:">= 0.11.5 && < 3",_stream_duplex:">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:!0,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"node:test":[">= 16.17 && < 17",">= 18"],timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],"node:wasi":[">= 18.17 && < 19",">= 20"],worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}});var XL=Le((bRt,Zse)=>{"use strict";var k6e=Vse();function N6e(e,t){for(var n=e.split("."),i=t.split(" "),o=i.length>1?i[0]:"=",r=(i.length>1?i[1]:i[0]).split("."),c=0;c<3;++c){var s=parseInt(n[c]||0,10),u=parseInt(r[c]||0,10);if(s!==u)return o==="<"?s<u:o===">="?s>=u:!1}return o===">="}function Gse(e,t){var n=t.split(/ ?&& ?/);if(n.length===0)return!1;for(var i=0;i<n.length;++i)if(!N6e(e,n[i]))return!1;return!0}function R6e(e,t){if(typeof t=="boolean")return t;var n=typeof e>"u"?process.versions&&process.versions.node:e;if(typeof n!="string")throw new TypeError(typeof e>"u"?"Unable to determine current node version":"If provided, a valid node version is required");if(t&&typeof t=="object"){for(var i=0;i<t.length;++i)if(Gse(n,t[i]))return!0;return!1}return Gse(n,t)}var Xse=Kse();Zse.exports=function(t,n){return k6e(Xse,t)&&R6e(n,Xse[t])}});var Jse=Le((ARt,zse)=>{var Rf=require("fs"),fo=require("path"),$6e=v$(),M6e=D$(),B6e=P$(),O6e=XL(),F6e=Rf.realpath&&typeof Rf.realpath.native=="function"?Rf.realpath.native:Rf.realpath,j6e=function(t,n){Rf.stat(t,function(i,o){return i?i.code==="ENOENT"||i.code==="ENOTDIR"?n(null,!1):n(i):n(null,o.isFile()||o.isFIFO())})},U6e=function(t,n){Rf.stat(t,function(i,o){return i?i.code==="ENOENT"||i.code==="ENOTDIR"?n(null,!1):n(i):n(null,o.isDirectory())})},q6e=function(t,n){F6e(t,function(i,o){i&&i.code!=="ENOENT"?n(i):n(null,i?t:o)})},L0=function(t,n,i,o){i&&i.preserveSymlinks===!1?t(n,o):o(null,n)},W6e=function(t,n,i){t(n,function(o,r){if(o)i(o);else try{var c=JSON.parse(r);i(null,c)}catch{i(null)}})},V6e=function(t,n,i){for(var o=M6e(n,i,t),r=0;r<o.length;r++)o[r]=fo.join(o[r],t);return o};zse.exports=function(t,n,i){var o=i,r=n;if(typeof n=="function"&&(o=r,r={}),typeof t!="string"){var c=new TypeError("Path must be a string.");return process.nextTick(function(){o(c)})}r=B6e(t,r);var s=r.isFile||j6e,u=r.isDirectory||U6e,H=r.readFile||Rf.readFile,a=r.realpath||q6e,l=r.readPackage||W6e;if(r.readFile&&r.readPackage){var p=new TypeError("`readFile` and `readPackage` are mutually exclusive.");return process.nextTick(function(){o(p)})}var d=r.packageIterator,h=r.extensions||[".js"],m=r.includeCoreModules!==!1,g=r.basedir||fo.dirname($6e()),y=r.filename||g;r.paths=r.paths||[];var _=fo.resolve(g);L0(a,_,r,function(D,O){D?o(D):A(O)});var E;function A(D){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(t))E=fo.resolve(D,t),(t==="."||t===".."||t.slice(-1)==="/")&&(E+="/"),/\/$/.test(t)&&E===D?L(E,r.package,S):T(E,r.package,S);else{if(m&&O6e(t))return o(null,t);C(t,D,function(O,j,k){if(O)o(O);else{if(j)return L0(a,j,r,function(U,F){U?o(U):o(null,F,k)});var $=new Error("Cannot find module '"+t+"' from '"+y+"'");$.code="MODULE_NOT_FOUND",o($)}})}}function S(D,O,j){D?o(D):O?o(null,O,j):L(E,function(k,$,U){if(k)o(k);else if($)L0(a,$,r,function(P,W){P?o(P):o(null,W,U)});else{var F=new Error("Cannot find module '"+t+"' from '"+y+"'");F.code="MODULE_NOT_FOUND",o(F)}})}function T(D,O,j){var k=O,$=j;typeof k=="function"&&($=k,k=void 0);var U=[""].concat(h);F(U,D,k);function F(P,W,Z){if(P.length===0)return $(null,void 0,Z);var ee=W+P[0],J=Z;J?ne(null,J):I(fo.dirname(ee),ne);function ne(q,Q,z){if(J=Q,q)return $(q);if(z&&J&&r.pathFilter){var ie=fo.relative(z,ee),_e=ie.slice(0,ie.length-P[0].length),He=r.pathFilter(J,W,_e);if(He)return F([""].concat(h.slice()),fo.resolve(z,He),J)}s(ee,K)}function K(q,Q){if(q)return $(q);if(Q)return $(null,ee,J);F(P.slice(1),W,J)}}}function I(D,O){if(D===""||D==="/"||process.platform==="win32"&&/^\w:[/\\]*$/.test(D)||/[/\\]node_modules[/\\]*$/.test(D))return O(null);L0(a,D,r,function(j,k){if(j)return I(fo.dirname(D),O);var $=fo.join(k,"package.json");s($,function(U,F){if(!F)return I(fo.dirname(D),O);l(H,$,function(P,W){P&&O(P);var Z=W;Z&&r.packageFilter&&(Z=r.packageFilter(Z,$)),O(null,Z,D)})})})}function L(D,O,j){var k=j,$=O;typeof $=="function"&&(k=$,$=r.package),L0(a,D,r,function(U,F){if(U)return k(U);var P=fo.join(F,"package.json");s(P,function(W,Z){if(W)return k(W);if(!Z)return T(fo.join(D,"index"),$,k);l(H,P,function(ee,J){if(ee)return k(ee);var ne=J;if(ne&&r.packageFilter&&(ne=r.packageFilter(ne,P)),ne&&ne.main){if(typeof ne.main!="string"){var K=new TypeError("package \u201C"+ne.name+"\u201D `main` must be a string");return K.code="INVALID_PACKAGE_MAIN",k(K)}(ne.main==="."||ne.main==="./")&&(ne.main="index"),T(fo.resolve(D,ne.main),ne,function(q,Q,z){if(q)return k(q);if(Q)return k(null,Q,z);if(!z)return T(fo.join(D,"index"),z,k);var ie=fo.resolve(D,z.main);L(ie,z,function(_e,He,be){if(_e)return k(_e);if(He)return k(null,He,be);T(fo.join(D,"index"),be,k)})});return}T(fo.join(D,"/index"),ne,k)})})})}function x(D,O){if(O.length===0)return D(null,void 0);var j=O[0];u(fo.dirname(j),k);function k(F,P){if(F)return D(F);if(!P)return x(D,O.slice(1));T(j,r.package,$)}function $(F,P,W){if(F)return D(F);if(P)return D(null,P,W);L(j,r.package,U)}function U(F,P,W){if(F)return D(F);if(P)return D(null,P,W);x(D,O.slice(1))}}function C(D,O,j){var k=function(){return V6e(D,O,r)};x(j,d?d(D,O,k,r):k())}}});var Qse=Le((IRt,K6e)=>{K6e.exports={assert:!0,"assert/strict":">= 15",async_hooks:">= 8",buffer_ieee754:"< 0.9.7",buffer:!0,child_process:!0,cluster:!0,console:!0,constants:!0,crypto:!0,_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,diagnostics_channel:">= 15.1",dns:!0,"dns/promises":">= 15",domain:">= 0.7.12",events:!0,freelist:"< 6",fs:!0,"fs/promises":[">= 10 && < 10.1",">= 14"],_http_agent:">= 0.11.1",_http_client:">= 0.11.1",_http_common:">= 0.11.1",_http_incoming:">= 0.11.1",_http_outgoing:">= 0.11.1",_http_server:">= 0.11.1",http:!0,http2:">= 8.8",https:!0,inspector:">= 8.0.0",_linklist:"< 8",module:!0,net:!0,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12",os:!0,path:!0,"path/posix":">= 15.3","path/win32":">= 15.3",perf_hooks:">= 8.5",process:">= 1",punycode:!0,querystring:!0,readline:!0,repl:!0,smalloc:">= 0.11.5 && < 3",_stream_duplex:">= 0.9.4",_stream_transform:">= 0.9.4",_stream_wrap:">= 1.4.1",_stream_passthrough:">= 0.9.4",_stream_readable:">= 0.9.4",_stream_writable:">= 0.9.4",stream:!0,"stream/promises":">= 15",string_decoder:!0,sys:[">= 0.6 && < 0.7",">= 0.8"],timers:!0,"timers/promises":">= 15",_tls_common:">= 0.11.13",_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3",tls:!0,trace_events:">= 10",tty:!0,url:!0,util:!0,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],v8:">= 1",vm:!0,wasi:">= 13.4 && < 13.5",worker_threads:">= 11.7",zlib:!0}});var rae=Le((SRt,tae)=>{var G6e=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function X6e(e){for(var t=e.split(" "),n=t.length>1?t[0]:"=",i=(t.length>1?t[1]:t[0]).split("."),o=0;o<3;++o){var r=parseInt(G6e[o]||0,10),c=parseInt(i[o]||0,10);if(r!==c)return n==="<"?r<c:n===">="?r>=c:!1}return n===">="}function Yse(e){var t=e.split(/ ?&& ?/);if(t.length===0)return!1;for(var n=0;n<t.length;++n)if(!X6e(t[n]))return!1;return!0}function Z6e(e){if(typeof e=="boolean")return e;if(e&&typeof e=="object"){for(var t=0;t<e.length;++t)if(Yse(e[t]))return!0;return!1}return Yse(e)}var k$=Qse(),eae={};for(ZL in k$)Object.prototype.hasOwnProperty.call(k$,ZL)&&(eae[ZL]=Z6e(k$[ZL]));var ZL;tae.exports=eae});var iae=Le((LRt,nae)=>{var z6e=XL();nae.exports=function(t){return z6e(t)}});var aae=Le((TRt,sae)=>{var J6e=XL(),$f=require("fs"),Al=require("path"),Q6e=v$(),Y6e=D$(),eqe=P$(),tqe=$f.realpathSync&&typeof $f.realpathSync.native=="function"?$f.realpathSync.native:$f.realpathSync,rqe=function(t){try{var n=$f.statSync(t)}catch(i){if(i&&(i.code==="ENOENT"||i.code==="ENOTDIR"))return!1;throw i}return n.isFile()||n.isFIFO()},nqe=function(t){try{var n=$f.statSync(t)}catch(i){if(i&&(i.code==="ENOENT"||i.code==="ENOTDIR"))return!1;throw i}return n.isDirectory()},iqe=function(t){try{return tqe(t)}catch(n){if(n.code!=="ENOENT")throw n}return t},T0=function(t,n,i){return i&&i.preserveSymlinks===!1?t(n):n},sqe=function(t,n){var i=t(n);try{var o=JSON.parse(i);return o}catch{}},aqe=function(t,n,i){for(var o=Y6e(n,i,t),r=0;r<o.length;r++)o[r]=Al.join(o[r],t);return o};sae.exports=function(t,n){if(typeof t!="string")throw new TypeError("Path must be a string.");var i=eqe(t,n),o=i.isFile||rqe,r=i.readFileSync||$f.readFileSync,c=i.isDirectory||nqe,s=i.realpathSync||iqe,u=i.readPackageSync||sqe;if(i.readFileSync&&i.readPackageSync)throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.");var H=i.packageIterator,a=i.extensions||[".js"],l=i.includeCoreModules!==!1,p=i.basedir||Al.dirname(Q6e()),d=i.filename||p;i.paths=i.paths||[];var h=T0(s,Al.resolve(p),i);if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(t)){var m=Al.resolve(h,t);(t==="."||t===".."||t.slice(-1)==="/")&&(m+="/");var g=E(m)||S(m);if(g)return T0(s,g,i)}else{if(l&&J6e(t))return t;var y=T(t,h);if(y)return T0(s,y,i)}var _=new Error("Cannot find module '"+t+"' from '"+d+"'");throw _.code="MODULE_NOT_FOUND",_;function E(I){var L=A(Al.dirname(I));if(L&&L.dir&&L.pkg&&i.pathFilter){var x=Al.relative(L.dir,I),C=i.pathFilter(L.pkg,I,x);C&&(I=Al.resolve(L.dir,C))}if(o(I))return I;for(var D=0;D<a.length;D++){var O=I+a[D];if(o(O))return O}}function A(I){if(!(I===""||I==="/")&&!(process.platform==="win32"&&/^\w:[/\\]*$/.test(I))&&!/[/\\]node_modules[/\\]*$/.test(I)){var L=Al.join(T0(s,I,i),"package.json");if(!o(L))return A(Al.dirname(I));var x=u(r,L);return x&&i.packageFilter&&(x=i.packageFilter(x,I)),{pkg:x,dir:I}}}function S(I){var L=Al.join(T0(s,I,i),"/package.json");if(o(L)){try{var x=u(r,L)}catch{}if(x&&i.packageFilter&&(x=i.packageFilter(x,I)),x&&x.main){if(typeof x.main!="string"){var C=new TypeError("package \u201C"+x.name+"\u201D `main` must be a string");throw C.code="INVALID_PACKAGE_MAIN",C}(x.main==="."||x.main==="./")&&(x.main="index");try{var D=E(Al.resolve(I,x.main));if(D)return D;var O=S(Al.resolve(I,x.main));if(O)return O}catch{}}}return E(Al.join(I,"/index"))}function T(I,L){for(var x=function(){return aqe(I,L,i)},C=H?H(I,L,x,i):x(),D=0;D<C.length;D++){var O=C[D];if(c(Al.dirname(O))){var j=E(O);if(j)return j;var k=S(O);if(k)return k}}}}});var lae=Le((vRt,oae)=>{var zL=Jse();zL.core=rae();zL.isCore=iae();zL.sync=aae();oae.exports=zL});var N$=Le((CRt,uae)=>{"use strict";var oqe=lae(),lqe=["web_modules","node_modules"];function cae(e,t){return new Promise((n,i)=>{oqe(e,t,(o,r)=>o?i(o):n(r))})}uae.exports=function(t,n,i,o){let r=i.path,c={basedir:n,moduleDirectory:lqe.concat(i.addModulesDirectories),paths:r,extensions:[".css"],packageFilter:function(u){return u.style?u.main=u.style:(!u.main||!/\.css$/.test(u.main))&&(u.main="index.css"),u},preserveSymlinks:!1};return cae(`./${t}`,c).catch(()=>cae(t,c)).catch(()=>{throw r.indexOf(n)===-1&&r.unshift(n),o.error(`Failed to find '${t}'
|
|
in [
|
|
${r.join(`,
|
|
`)}
|
|
]`)})}});var _ae=Le((xRt,hae)=>{"use strict";var Hae=require("path"),pae=L$(),cqe=Dse(),uqe=wse(),Hqe=N$(),pqe=I$();async function fae(e,t,n,i,o,r,c){let s=cqe(e,t,o,r);for(let p of s)p.type!=="import"||!fqe(p.uri)||n.filter&&!n.filter(p.uri)||await dqe(e,p,n,i,c);let u,H=[],a=[];function l(p){if(!u)u=p;else if(p.node.params.toLowerCase()!==u.node.params.toLowerCase())throw p.node.error(`Incompatible @charset statements:
|
|
${p.node.params} specified in ${p.node.source.input.file}
|
|
${u.node.params} specified in ${u.node.source.input.file}`)}return s.forEach(p=>{p.type==="charset"?l(p):p.type==="import"?p.children?p.children.forEach((d,h)=>{d.type==="import"?H.push(d):d.type==="charset"?l(d):a.push(d),h===0&&(d.parent=p)}):H.push(p):p.type==="nodes"&&a.push(p)}),u?[u,...H.concat(a)]:H.concat(a)}async function dqe(e,t,n,i,o){if(pae.isValid(t.uri)){t.children=await dae(e,t,t.uri,n,i,o);return}else if(pae.isValid(t.from.slice(-1)))throw t.node.error(`Unable to import '${t.uri}' from a stylesheet that is embedded in a data url`);let r=t.node,c;r.source?.input?.file&&(c=r.source.input.file);let s=c?Hae.dirname(r.source.input.file):n.root,u=[await n.resolve(t.uri,s,n,r)].flat(),H=await Promise.all(u.map(l=>Hae.isAbsolute(l)?l:Hqe(l,s,n,r)));H.forEach(l=>{e.messages.push({type:"dependency",plugin:"postcss-import",file:l,parent:c})});let a=await Promise.all(H.map(l=>dae(e,t,l,n,i,o)));t.children=a.flat().filter(l=>!!l)}async function dae(e,t,n,i,o,r){let c=t.node,{conditions:s,from:u}=t,H=s.map(d=>pqe(d.layer,d.media,d.supports)).join(":");if(i.skipDuplicates){if(o.importedFiles[n]?.[H])return;o.importedFiles[n]||(o.importedFiles[n]={}),o.importedFiles[n][H]=!0}if(u.includes(n))return;let a=await i.load(n,i);if(a.trim()===""&&i.warnOnEmpty){e.warn(`${n} is empty`,{node:c});return}if(i.skipDuplicates&&o.hashFiles[a]?.[H])return;let l=await uqe(e,a,n,i,r),p=l.root;return e.messages=e.messages.concat(l.messages),i.skipDuplicates&&(p.some(h=>h.type==="atrule"&&h.name==="import")||(o.hashFiles[a]||(o.hashFiles[a]={}),o.hashFiles[a][H]=!0)),fae(e,p,i,o,s,[...u,n],r)}function fqe(e){if(/^(?:[a-z]+:)?\/\//i.test(e))return!1;try{if(new URL(e,"https://example.com").search)return!1}catch{}return!0}hae.exports=fae});var gae=Le((DRt,yae)=>{"use strict";var mae=require("path"),hqe=dse(),_qe=hse(),mqe=mse(),Eqe=vse(),yqe=_ae(),gqe=N$();function Eae(e){return e={root:process.cwd(),path:[],skipDuplicates:!0,resolve:gqe,load:Eqe,plugins:[],addModulesDirectories:[],warnOnEmpty:!0,...e},e.root=mae.resolve(e.root),typeof e.path=="string"&&(e.path=[e.path]),Array.isArray(e.path)||(e.path=[]),e.path=e.path.map(t=>mae.resolve(e.root,t)),{postcssPlugin:"postcss-import",async Once(t,{result:n,atRule:i,postcss:o}){let r={importedFiles:{},hashFiles:{}};if(t.source?.input?.file&&(r.importedFiles[t.source.input.file]={}),e.plugins&&!Array.isArray(e.plugins))throw new Error("plugins option must be an array");let c=await yqe(n,t,e,r,[],[],o);_qe(c),hqe(c,i),mqe(c,t)}}}Eae.postcss=!0;yae.exports=Eae});var M$=Le((URt,Pqe)=>{Pqe.exports={name:"tailwindcss",version:"4.1.1",description:"A utility-first CSS framework for rapidly building custom user interfaces.",license:"MIT",repository:{type:"git",url:"https://github.com/tailwindlabs/tailwindcss.git",directory:"packages/tailwindcss"},bugs:"https://github.com/tailwindlabs/tailwindcss/issues",homepage:"https://tailwindcss.com",exports:{".":{types:"./dist/lib.d.mts",style:"./index.css",require:"./dist/lib.js",import:"./dist/lib.mjs"},"./plugin":{require:"./dist/plugin.js",import:"./dist/plugin.mjs"},"./plugin.js":{require:"./dist/plugin.js",import:"./dist/plugin.mjs"},"./defaultTheme":{require:"./dist/default-theme.js",import:"./dist/default-theme.mjs"},"./defaultTheme.js":{require:"./dist/default-theme.js",import:"./dist/default-theme.mjs"},"./colors":{require:"./dist/colors.js",import:"./dist/colors.mjs"},"./colors.js":{require:"./dist/colors.js",import:"./dist/colors.mjs"},"./lib/util/flattenColorPalette":{require:"./dist/flatten-color-palette.js",import:"./dist/flatten-color-palette.mjs"},"./lib/util/flattenColorPalette.js":{require:"./dist/flatten-color-palette.js",import:"./dist/flatten-color-palette.mjs"},"./package.json":"./package.json","./index.css":"./index.css","./index":"./index.css","./preflight.css":"./preflight.css","./preflight":"./preflight.css","./theme.css":"./theme.css","./theme":"./theme.css","./utilities.css":"./utilities.css","./utilities":"./utilities.css"},publishConfig:{provenance:!0,access:"public"},style:"index.css",files:["dist","index.css","preflight.css","theme.css","utilities.css"],devDependencies:{"@types/node":"^20.14.8",lightningcss:"1.29.2",dedent:"1.5.3","@tailwindcss/oxide":"^4.1.1"},scripts:{lint:"tsc --noEmit",build:"tsup-node --env.NODE_ENV production",dev:"tsup-node --env.NODE_ENV development --watch","test:ui":"playwright test"}}});var YL,eT=Pl(()=>{YL={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}}});function Nqe(e){return e.charCodeAt(0)===35||kqe.test(e)||wqe.has(e.toLowerCase())}function iT(e){return e.indexOf("(")!==-1&&B$.some(t=>e.includes(`${t}(`))}function xae(e){if(!B$.some(o=>e.includes(o)))return e;let t=!1;nT.some(o=>e.includes(o))&&(Tae.lastIndex=0,e=e.replace(Tae,(o,r)=>(t=!0,`$${nT.indexOf(r)}$(`)));let n="",i=[];for(let o=0;o<e.length;o++){let r=e[o];if(r==="("){n+=r;let c=o;for(let u=o-1;u>=0;u--){let H=e.charCodeAt(u);if(H>=48&&H<=57)c=u;else if(H>=97&&H<=122)c=u;else break}let s=e.slice(c,o);if(B$.includes(s)){i.unshift(!0);continue}else if(i[0]&&s===""){i.unshift(!0);continue}i.unshift(!1);continue}else if(r===")")n+=r,i.shift();else if(r===","&&i[0]){n+=", ";continue}else{if(r===" "&&i[0]&&n[n.length-1]===" ")continue;if((r==="+"||r==="*"||r==="/"||r==="-")&&i[0]){let c=n.trimEnd(),s=c[c.length-1];if(s==="+"||s==="*"||s==="/"||s==="-"){n+=r;continue}else if(s==="("||s===","){n+=r;continue}else e[o-1]===" "?n+=`${r} `:n+=` ${r} `}else if(i[0]&&e.startsWith("to-zero",o)){let c=o;o+=7,n+=e.slice(c,o+1)}else n+=r}}return t?n.replace(/\$(\d+)\$/g,(o,r)=>nT[r]??o):n}function ui(e,t){let n=0,i=[],o=0,r=e.length,c=t.charCodeAt(0);for(let s=0;s<r;s++){let u=e.charCodeAt(s);if(n===0&&u===c){i.push(e.slice(o,s)),o=s+1;continue}switch(u){case 92:s+=1;break;case 39:case 34:for(;++s<r;){let H=e.charCodeAt(s);if(H===92){s+=1;continue}if(H===u)break}break;case 40:tT[n]=41,n++;break;case 91:tT[n]=93,n++;break;case 123:tT[n]=125,n++;break;case 93:case 125:case 41:n>0&&u===tT[n-1]&&n--;break}}return i.push(e.slice(o)),i}function pa(e,t){if(e.startsWith("var("))return null;for(let n of t)if(Rqe[n]?.(e))return n;return null}function Dae(e){return $qe.test(e)}function Mqe(e){return ui(e," ").every(t=>sT(t)||Pae(t)||t==="thin"||t==="medium"||t==="thick")}function Fqe(e){let t=0;for(let n of ui(e,","))if(!n.startsWith("var(")){if(Dae(n)){t+=1;continue}if(Oqe.test(n)){t+=1;continue}if(Bqe.test(n)){t+=1;continue}return!1}return t>0}function jqe(e){return e==="serif"||e==="sans-serif"||e==="monospace"||e==="cursive"||e==="fantasy"||e==="system-ui"||e==="ui-serif"||e==="ui-sans-serif"||e==="ui-monospace"||e==="ui-rounded"||e==="math"||e==="emoji"||e==="fangsong"}function Uqe(e){let t=0;for(let n of ui(e,",")){let i=n.charCodeAt(0);if(i>=48&&i<=57)return!1;n.startsWith("var(")||(t+=1)}return t>0}function qqe(e){return e==="xx-small"||e==="x-small"||e==="small"||e==="medium"||e==="large"||e==="x-large"||e==="xx-large"||e==="xxx-large"}function Wqe(e){return e==="larger"||e==="smaller"}function Pae(e){return Vqe.test(e)||iT(e)}function O$(e){return Kqe.test(e)||iT(e)}function Xqe(e){return Gqe.test(e)||iT(e)}function sT(e){return zqe.test(e)||iT(e)}function Jqe(e){let t=0;for(let n of ui(e," ")){if(n==="center"||n==="top"||n==="right"||n==="bottom"||n==="left"){t+=1;continue}if(!n.startsWith("var(")){if(sT(n)||O$(n)){t+=1;continue}return!1}}return t>0}function Qqe(e){let t=0;for(let n of ui(e,",")){if(n==="cover"||n==="contain"){t+=1;continue}let i=ui(n," ");if(i.length!==1&&i.length!==2)return!1;if(i.every(o=>o==="auto"||sT(o)||O$(o))){t+=1;continue}}return t>0}function tWe(e){return eWe.test(e)}function nWe(e){return rWe.test(e)}function Nr(e){let t=Number(e);return Number.isInteger(t)&&t>=0&&String(t)===String(e)}function F$(e){let t=Number(e);return Number.isInteger(t)&&t>0&&String(t)===String(e)}function Mf(e){return wae(e,.25)}function aT(e){return wae(e,.25)}function wae(e,t){let n=Number(e);return n>=0&&n%t===0&&String(n)===String(e)}function Bf(e){return{__BARE_VALUE__:e}}var wqe,kqe,B$,nT,Tae,tT,Rqe,$qe,Bqe,Oqe,ZH,Vqe,Kqe,Gqe,Zqe,zqe,Yqe,eWe,rWe,au,Uo,dd,vae,rT,iWe,Cae,kae,j$=Pl(()=>{eT();wqe=new Set(["black","silver","gray","white","maroon","red","purple","fuchsia","green","lime","olive","yellow","navy","blue","teal","aqua","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen","transparent","currentcolor","canvas","canvastext","linktext","visitedtext","activetext","buttonface","buttontext","buttonborder","field","fieldtext","highlight","highlighttext","selecteditem","selecteditemtext","mark","marktext","graytext","accentcolor","accentcolortext"]),kqe=/^(rgba?|hsla?|hwb|color|(ok)?(lab|lch)|light-dark|color-mix)\(/i;B$=["calc","min","max","clamp","mod","rem","sin","cos","tan","asin","acos","atan","atan2","pow","sqrt","hypot","log","exp","round"],nT=["anchor-size"],Tae=new RegExp(`(${nT.join("|")})\\(`,"g");tT=new Uint8Array(256);Rqe={color:Nqe,length:sT,percentage:O$,ratio:Xqe,number:Pae,integer:Nr,url:Dae,position:Jqe,"bg-size":Qqe,"line-width":Mqe,image:Fqe,"family-name":Uqe,"generic-name":jqe,"absolute-size":qqe,"relative-size":Wqe,angle:tWe,vector:nWe};$qe=/^url\(.*\)$/;Bqe=/^(?:element|image|cross-fade|image-set)\(/,Oqe=/^(repeating-)?(conic|linear|radial)-gradient\(/;ZH=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,Vqe=new RegExp(`^${ZH.source}$`);Kqe=new RegExp(`^${ZH.source}%$`);Gqe=new RegExp(`^${ZH.source}s*/s*${ZH.source}$`);Zqe=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"],zqe=new RegExp(`^${ZH.source}(${Zqe.join("|")})$`);Yqe=["deg","rad","grad","turn"],eWe=new RegExp(`^${ZH.source}(${Yqe.join("|")})$`);rWe=new RegExp(`^${ZH.source} +${ZH.source} +${ZH.source}$`);au=Bf(e=>{if(Nr(e.value))return e.value}),Uo=Bf(e=>{if(Nr(e.value))return`${e.value}%`}),dd=Bf(e=>{if(Nr(e.value))return`${e.value}px`}),vae=Bf(e=>{if(Nr(e.value))return`${e.value}ms`}),rT=Bf(e=>{if(Nr(e.value))return`${e.value}deg`}),iWe=Bf(e=>{if(e.fraction===null)return;let[t,n]=ui(e.fraction,"/");if(!(!Nr(t)||!Nr(n)))return e.fraction}),Cae=Bf(e=>{if(Nr(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),kae={accentColor:({theme:e})=>e("colors"),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",...iWe},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...Uo}),backdropContrast:({theme:e})=>({...e("contrast"),...Uo}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...Uo}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...rT}),backdropInvert:({theme:e})=>({...e("invert"),...Uo}),backdropOpacity:({theme:e})=>({...e("opacity"),...Uo}),backdropSaturate:({theme:e})=>({...e("saturate"),...Uo}),backdropSepia:({theme:e})=>({...e("sepia"),...Uo}),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({DEFAULT:"currentColor",...e("colors")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>e("spacing"),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px",...dd},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2",...Uo},caretColor:({theme:e})=>e("colors"),colors:()=>({...YL}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",...au},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...Uo},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>({...e("borderWidth"),...dd}),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>e("colors"),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",...e("spacing")}),flexGrow:{0:"0",DEFAULT:"1",...au},flexShrink:{0:"0",DEFAULT:"1",...au},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%",...Uo},grayscale:{0:"0",DEFAULT:"100%",...Uo},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...au},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...au},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...au},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...au},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",...Cae},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",...Cae},height:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg",...rT},inset:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),invert:{0:"0",DEFAULT:"100%",...Uo},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",...au},maxHeight:({theme:e})=>({none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),maxWidth:({theme:e})=>({none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...e("spacing")}),minHeight:({theme:e})=>({full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),minWidth:({theme:e})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1",...Uo},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",...au},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...dd},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...dd},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:"currentColor",...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...dd},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...dd},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...rT},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...Uo},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",...Uo},screens:{sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},scrollMargin:({theme:e})=>e("spacing"),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%",...Uo},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...rT},space:({theme:e})=>e("spacing"),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2",...au},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...dd},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...dd},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...vae},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...vae},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),size:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),width:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50",...au}}});function yT(e){e[0]==="\uFEFF"&&(e=e.slice(1)),e=e.replaceAll(`\r
|
|
`,`
|
|
`);let t=[],n=[],i=[],o=null,r=null,c="",s="",u;for(let H=0;H<e.length;H++){let a=e.charCodeAt(H);if(a===v0)c+=e.slice(H,H+2),H+=1;else if(a===oT&&e.charCodeAt(H+1)===lT){let l=H;for(let d=H+2;d<e.length;d++)if(u=e.charCodeAt(d),u===v0)d+=1;else if(u===lT&&e.charCodeAt(d+1)===oT){H=d+1;break}let p=e.slice(l,H+1);p.charCodeAt(2)===HWe&&n.push(voe(p.slice(2,-2)))}else if(a===oWe||a===aWe){let l=H;for(let p=H+1;p<e.length;p++)if(u=e.charCodeAt(p),u===v0)p+=1;else if(u===a){H=p;break}else{if(u===cT&&e.charCodeAt(p+1)===Of)throw new Error(`Unterminated string: ${e.slice(l,p+1)+String.fromCharCode(a)}`);if(u===Of)throw new Error(`Unterminated string: ${e.slice(l,p)+String.fromCharCode(a)}`)}c+=e.slice(l,H+1)}else{if((a===x0||a===Of||a===uT)&&(u=e.charCodeAt(H+1))&&(u===x0||u===Of||u===uT))continue;if(a===Of){if(c.length===0)continue;u=c.charCodeAt(c.length-1),u!==x0&&u!==Of&&u!==uT&&(c+=" ")}else if(a===$ae&&e.charCodeAt(H+1)===$ae&&c.length===0){let l="",p=H,d=-1;for(let m=H+2;m<e.length;m++)if(u=e.charCodeAt(m),u===v0)m+=1;else if(u===oT&&e.charCodeAt(m+1)===lT){for(let g=m+2;g<e.length;g++)if(u=e.charCodeAt(g),u===v0)g+=1;else if(u===lT&&e.charCodeAt(g+1)===oT){m=g+1;break}}else if(d===-1&&u===lWe)d=c.length+m-p;else if(u===cT&&l.length===0){c+=e.slice(p,m),H=m;break}else if(u===G$)l+=")";else if(u===cWe)l+="]";else if(u===Nae)l+="}";else if((u===U$||e.length-1===m)&&l.length===0){H=m-1,c+=e.slice(p,m);break}else(u===Rae||u===uWe||u===U$)&&l.length>0&&e[m]===l[l.length-1]&&(l=l.slice(0,-1));let h=W$(c,d);if(!h)throw new Error("Invalid custom property, expected a value");o?o.nodes.push(h):t.push(h),c=""}else if(a===cT&&c.charCodeAt(0)===q$)r=pT(c),o?o.nodes.push(r):t.push(r),c="",r=null;else if(a===cT&&s[s.length-1]!==")"){let l=W$(c);if(!l)throw c.length===0?new Error("Unexpected semicolon"):new Error(`Invalid declaration: \`${c.trim()}\``);o?o.nodes.push(l):t.push(l),c=""}else if(a===Nae&&s[s.length-1]!==")")s+="}",r=ho(c.trim()),o&&o.nodes.push(r),i.push(o),o=r,c="",r=null;else if(a===U$&&s[s.length-1]!==")"){if(s==="")throw new Error("Missing opening {");if(s=s.slice(0,-1),c.length>0)if(c.charCodeAt(0)===q$)r=pT(c),o?o.nodes.push(r):t.push(r),c="",r=null;else{let p=c.indexOf(":");if(o){let d=W$(c,p);if(!d)throw new Error(`Invalid declaration: \`${c.trim()}\``);o.nodes.push(d)}}let l=i.pop()??null;l===null&&o&&t.push(o),o=l,c="",r=null}else if(a===G$)s+=")",c+="(";else if(a===Rae){if(s[s.length-1]!==")")throw new Error("Missing opening (");s=s.slice(0,-1),c+=")"}else{if(c.length===0&&(a===x0||a===Of||a===uT))continue;c+=String.fromCharCode(a)}}}if(c.charCodeAt(0)===q$&&t.push(pT(c)),s.length>0&&o){if(o.kind==="rule")throw new Error(`Missing closing } at ${o.selector}`);if(o.kind==="at-rule")throw new Error(`Missing closing } at ${o.name} ${o.params}`)}return n.length>0?n.concat(t):t}function pT(e,t=[]){for(let n=5;n<e.length;n++){let i=e.charCodeAt(n);if(i===x0||i===G$){let o=e.slice(0,n).trim(),r=e.slice(n).trim();return ss(o,r,t)}}return ss(e.trim(),"",t)}function W$(e,t=e.indexOf(":")){if(t===-1)return null;let n=e.indexOf("!important",t+1);return Ue(e.slice(0,t).trim(),e.slice(t+1,n===-1?e.length:n).trim(),n!==-1)}function gT(e){if(arguments.length===0)throw new TypeError("`CSS.escape` requires an argument.");let t=String(e),n=t.length,i=-1,o,r="",c=t.charCodeAt(0);if(n===1&&c===45)return"\\"+t;for(;++i<n;){if(o=t.charCodeAt(i),o===0){r+="\uFFFD";continue}if(o>=1&&o<=31||o===127||i===0&&o>=48&&o<=57||i===1&&o>=48&&o<=57&&c===45){r+="\\"+o.toString(16)+" ";continue}if(o>=128||o===45||o===95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122){r+=t.charAt(i);continue}r+="\\"+t.charAt(i)}return r}function dT(e){return e.replace(/\\([\dA-Fa-f]{1,6}[\t\n\f\r ]?|[\S\s])/g,t=>t.length>2?String.fromCodePoint(Number.parseInt(t.slice(1).trim(),16)):t[1])}function Mae(e,t){return(Loe.get(t)??[]).some(n=>e===n||e.startsWith(`${n}-`))}function V$(e){return{kind:"word",value:e}}function dWe(e,t){return{kind:"function",value:e,nodes:t}}function fWe(e){return{kind:"separator",value:e}}function zu(e,t,n=null){for(let i=0;i<e.length;i++){let o=e[i],r=!1,c=0,s=t(o,{parent:n,replaceWith(u){r||(r=!0,Array.isArray(u)?u.length===0?(e.splice(i,1),c=0):u.length===1?(e[i]=u[0],c=1):(e.splice(i,1,...u),c=u.length):e[i]=u)}})??0;if(r){s===0?i--:i+=c-1;continue}if(s===2||s!==1&&o.kind==="function"&&zu(o.nodes,t,o)===2)return 2}}function Ic(e){let t="";for(let n of e)switch(n.kind){case"word":case"separator":{t+=n.value;break}case"function":t+=n.value+"("+Ic(n.nodes)+")"}return t}function Po(e){e=e.replaceAll(`\r
|
|
`,`
|
|
`);let t=[],n=[],i=null,o="",r;for(let c=0;c<e.length;c++){let s=e.charCodeAt(c);switch(s){case Bae:{o+=e[c]+e[c+1],c++;break}case Oae:case Fae:case jae:case Uae:case qae:case Wae:case Vae:case Kae:case Gae:{if(o.length>0){let l=V$(o);i?i.nodes.push(l):t.push(l),o=""}let u=c,H=c+1;for(;H<e.length&&(r=e.charCodeAt(H),!(r!==Oae&&r!==Fae&&r!==jae&&r!==Uae&&r!==qae&&r!==Wae&&r!==Vae&&r!==Kae&&r!==Gae));H++);c=H-1;let a=fWe(e.slice(u,H));i?i.nodes.push(a):t.push(a);break}case EWe:case _We:{let u=c;for(let H=c+1;H<e.length;H++)if(r=e.charCodeAt(H),r===Bae)H+=1;else if(r===s){c=H;break}o+=e.slice(u,c+1);break}case mWe:{let u=dWe(o,[]);o="",i?i.nodes.push(u):t.push(u),n.push(u),i=u;break}case hWe:{let u=n.pop();if(o.length>0){let H=V$(o);u.nodes.push(H),o=""}n.length>0?i=n[n.length-1]:i=null;break}default:o+=String.fromCharCode(s)}}return o.length>0&&t.push(V$(o)),t}function Toe(e){let t=[];return zu(Po(e),n=>{if(!(n.kind!=="function"||n.value!=="var"))return zu(n.nodes,i=>{i.kind!=="word"||i.value[0]!=="-"||i.value[1]!=="-"||t.push(i.value)}),1}),t}function Es(e,t=[]){return{kind:"rule",selector:e,nodes:t}}function ss(e,t="",n=[]){return{kind:"at-rule",name:e,params:t,nodes:n}}function ho(e,t=[]){return e.charCodeAt(0)===yWe?pT(e,t):Es(e,t)}function Ue(e,t,n=!1){return{kind:"declaration",property:e,value:t,important:n}}function voe(e){return{kind:"comment",value:e}}function Ff(e,t){return{kind:"context",context:e,nodes:t}}function ni(e){return{kind:"at-root",nodes:e}}function as(e,t,n=[],i={}){for(let o=0;o<e.length;o++){let r=e[o],c=n[n.length-1]??null;if(r.kind==="context"){if(as(r.nodes,t,n,{...i,...r.context})===2)return 2;continue}n.push(r);let s=!1,u=0,H=t(r,{parent:c,context:i,path:n,replaceWith(a){s||(s=!0,Array.isArray(a)?a.length===0?(e.splice(o,1),u=0):a.length===1?(e[o]=a[0],u=1):(e.splice(o,1,...a),u=a.length):(e[o]=a,u=1))}})??0;if(n.pop(),s){H===0?o--:o+=u-1;continue}if(H===2)return 2;if(H!==1&&"nodes"in r){n.push(r);let a=as(r.nodes,t,n,i);if(n.pop(),a===2)return 2}}}function X$(e,t,n=[],i={}){for(let o=0;o<e.length;o++){let r=e[o],c=n[n.length-1]??null;if(r.kind==="rule"||r.kind==="at-rule")n.push(r),X$(r.nodes,t,n,i),n.pop();else if(r.kind==="context"){X$(r.nodes,t,n,{...i,...r.context});continue}n.push(r),t(r,{parent:c,context:i,path:n,replaceWith(s){Array.isArray(s)?s.length===0?e.splice(o,1):s.length===1?e[o]=s[0]:e.splice(o,1,...s):e[o]=s,o+=s.length-1}}),n.pop()}}function D0(e,t,n=3){let i=[],o=new Set,r=new Il(()=>new Set),c=new Set,s=new Set,u=[],H=[],a=new Il(()=>new Set);function l(d,h,m={},g=0){if(d.kind==="declaration"){if(d.property==="--tw-sort"||d.value===void 0||d.value===null)return;if(m.theme&&d.property[0]==="-"&&d.property[1]==="-"){if(d.value==="initial"){d.value=void 0;return}m.keyframes||r.get(h).add(d)}if(d.value.includes("var("))if(m.theme&&d.property[0]==="-"&&d.property[1]==="-")for(let y of Toe(d.value))a.get(y).add(d.property);else t.trackUsedVariables(d.value);if(d.property==="animation")for(let y of Xae(d.value))s.add(y);if(n&2&&d.value.includes("color-mix(")){let y=Po(d.value),_=!1;if(zu(y,E=>{if(E.kind!=="function"||E.value!=="color-mix")return;zu(E.nodes,(S,{replaceWith:T})=>{if(S.kind!=="function"||S.value!=="var")return;let I=S.nodes[0];if(!I||I.kind!=="word")return;let L=t.theme.resolveValue(null,[I.value]);L&&(_=!0,T({kind:"word",value:L}))});let A=E.nodes[2];A.kind==="word"&&(A.value==="oklab"||A.value==="oklch"||A.value==="lab"||A.value==="lch")&&(A.value="srgb")}),_){let E={...d,value:Ic(y)},A=ho("@supports (color: color-mix(in lab, red, red))",[d]);h.push(E,A);return}}h.push(d)}else if(d.kind==="rule")if(d.selector==="&")for(let y of d.nodes){let _=[];l(y,_,m,g+1),_.length>0&&h.push(..._)}else{let y={...d,nodes:[]};for(let _ of d.nodes)l(_,y.nodes,m,g+1);y.nodes.length>0&&h.push(y)}else if(d.kind==="at-rule"&&d.name==="@property"&&g===0){if(o.has(d.params))return;if(n&1){let _=d.params,E=null,A=!1;for(let S of d.nodes)S.kind==="declaration"&&(S.property==="initial-value"?E=S.value:S.property==="inherits"&&(A=S.value==="true"));A?u.push(Ue(_,E??"initial")):H.push(Ue(_,E??"initial"))}o.add(d.params);let y={...d,nodes:[]};for(let _ of d.nodes)l(_,y.nodes,m,g+1);h.push(y)}else if(d.kind==="at-rule"){d.name==="@keyframes"&&(m={...m,keyframes:!0});let y={...d,nodes:[]};for(let _ of d.nodes)l(_,y.nodes,m,g+1);d.name==="@keyframes"&&m.theme&&c.add(y),(y.nodes.length>0||y.name==="@layer"||y.name==="@charset"||y.name==="@custom-media"||y.name==="@namespace"||y.name==="@import")&&h.push(y)}else if(d.kind==="at-root")for(let y of d.nodes){let _=[];l(y,_,m,0);for(let E of _)i.push(E)}else if(d.kind==="context"){if(d.context.reference)return;for(let y of d.nodes)l(y,h,{...m,...d.context},g)}else d.kind==="comment"&&h.push(d)}let p=[];for(let d of e)l(d,p,{},0);e:for(let[d,h]of r)for(let m of h){if(Coe(m.property,t.theme,a)){if(m.property.startsWith(t.theme.prefixKey("--animate-")))for(let y of Xae(m.value))s.add(y);continue}let g=d.indexOf(m);if(d.splice(g,1),d.length===0){let y=gWe(p,_=>_.kind==="rule"&&_.nodes===d);if(!y||y.length===0)continue e;y.unshift({kind:"at-root",nodes:p});do{let _=y.pop();if(!_)break;let E=y[y.length-1];if(!E||E.kind!=="at-root"&&E.kind!=="at-rule")break;let A=E.nodes.indexOf(_);if(A===-1)break;E.nodes.splice(A,1)}while(!0);continue e}}for(let d of c)if(!s.has(d.params)){let h=i.indexOf(d);i.splice(h,1)}if(n&1){let d=[];if(u.length>0&&d.push(ho(":root, :host",u)),H.length>0&&d.push(ho("*, ::before, ::after, ::backdrop",H)),d.length>0){let h=p.findIndex(m=>!(m.kind==="comment"||m.kind==="at-rule"&&(m.name==="@charset"||m.name==="@import"||m.name==="@layer"&&m.nodes.length===0)));p.splice(h<0?p.length:h,0,ss("@supports","((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",[ho("@layer base",d)]))}}return p.concat(i)}function qf(e){function t(i,o=0){let r="",c=" ".repeat(o);if(i.kind==="declaration")r+=`${c}${i.property}: ${i.value}${i.important?" !important":""};
|
|
`;else if(i.kind==="rule"){r+=`${c}${i.selector} {
|
|
`;for(let s of i.nodes)r+=t(s,o+1);r+=`${c}}
|
|
`}else if(i.kind==="at-rule"){if(i.nodes.length===0)return`${c}${i.name} ${i.params};
|
|
`;r+=`${c}${i.name}${i.params?` ${i.params} `:" "}{
|
|
`;for(let s of i.nodes)r+=t(s,o+1);r+=`${c}}
|
|
`}else if(i.kind==="comment")r+=`${c}/*${i.value}*/
|
|
`;else if(i.kind==="context"||i.kind==="at-root")return"";return r}let n="";for(let i of e){let o=t(i);o!==""&&(n+=o)}return n}function gWe(e,t){let n=[];return as(e,(i,{path:o})=>{if(t(i))return n=[...o],2}),n}function Coe(e,t,n,i=new Set){if(i.has(e)||(i.add(e),t.getOptions(e)&24))return!0;{let o=n.get(e)??[];for(let r of o)if(Coe(r,t,n,i))return!0}return!1}function Xae(e){return e.split(/[\s,]+/)}function jf(e){if(e.indexOf("(")===-1)return fm(e);let t=Po(e);return Z$(t),e=Ic(t),e=xae(e),e}function fm(e,t=!1){let n="";for(let i=0;i<e.length;i++){let o=e[i];o==="\\"&&e[i+1]==="_"?(n+="_",i+=1):o==="_"&&!t?n+=" ":n+=o}return n}function Z$(e){for(let t of e)switch(t.kind){case"function":{if(t.value==="url"||t.value.endsWith("_url")){t.value=fm(t.value);break}if(t.value==="var"||t.value.endsWith("_var")||t.value==="theme"||t.value.endsWith("_theme")){t.value=fm(t.value);for(let n=0;n<t.nodes.length;n++){if(n==0&&t.nodes[n].kind==="word"){t.nodes[n].value=fm(t.nodes[n].value,!0);continue}Z$([t.nodes[n]])}break}t.value=fm(t.value),Z$(t.nodes);break}case"separator":case"word":{t.value=fm(t.value);break}default:bWe(t)}}function bWe(e){throw new Error(`Unexpected value: ${e}`)}function Uf(e){let t=0,n=e.length;for(let i=0;i<n;i++){let o=e.charCodeAt(i);switch(o){case 92:i+=1;break;case 39:case 34:for(;++i<n;){let r=e.charCodeAt(i);if(r===92){i+=1;continue}if(r===o)break}break;case 40:K$[t]=41,t++;break;case 91:K$[t]=93,t++;break;case 123:break;case 93:case 125:case 41:if(t===0)return!1;t>0&&o===K$[t-1]&&t--;break;case 59:if(t===0)return!1;break}}return!0}function*IWe(e,t){let n=ui(e,":");if(t.theme.prefix){if(n.length===1||n[0]!==t.theme.prefix)return null;n.shift()}let i=n.pop(),o=[];for(let l=n.length-1;l>=0;--l){let p=t.parseVariant(n[l]);if(p===null)return;o.push(p)}let r=!1;i[i.length-1]==="!"?(r=!0,i=i.slice(0,-1)):i[0]==="!"&&(r=!0,i=i.slice(1)),t.utilities.has(i,"static")&&!i.includes("[")&&(yield{kind:"static",root:i,variants:o,important:r,raw:e});let[c,s=null,u]=ui(i,"/");if(u)return;let H=s===null?null:z$(s);if(s!==null&&H===null)return;if(c[0]==="["){if(c[c.length-1]!=="]")return;let l=c.charCodeAt(1);if(l!==Zae&&!(l>=zae&&l<=Jae))return;c=c.slice(1,-1);let p=c.indexOf(":");if(p===-1||p===0||p===c.length-1)return;let d=c.slice(0,p),h=jf(c.slice(p+1));if(!Uf(h))return;yield{kind:"arbitrary",property:d,value:h,modifier:H,variants:o,important:r,raw:e};return}let a;if(c[c.length-1]==="]"){let l=c.indexOf("-[");if(l===-1)return;let p=c.slice(0,l);if(!t.utilities.has(p,"functional"))return;let d=c.slice(l+1);a=[[p,d]]}else if(c[c.length-1]===")"){let l=c.indexOf("-(");if(l===-1)return;let p=c.slice(0,l);if(!t.utilities.has(p,"functional"))return;let d=c.slice(l+2,-1),h=ui(d,":"),m=null;if(h.length===2&&(m=h[0],d=h[1]),d[0]!=="-"&&d[1]!=="-")return;a=[[p,m===null?`[var(${d})]`:`[${m}:var(${d})]`]]}else a=xoe(c,l=>t.utilities.has(l,"functional"));for(let[l,p]of a){let d={kind:"functional",root:l,modifier:H,value:null,variants:o,important:r,raw:e};if(p===null){yield d;continue}{let h=p.indexOf("[");if(h!==-1){if(p[p.length-1]!=="]")return;let m=jf(p.slice(h+1,-1));if(!Uf(m))continue;let g="";for(let y=0;y<m.length;y++){let _=m.charCodeAt(y);if(_===AWe){g=m.slice(0,y),m=m.slice(y+1);break}if(!(_===Zae||_>=zae&&_<=Jae))break}if(m.length===0||m.trim().length===0)continue;d.value={kind:"arbitrary",dataType:g||null,value:m}}else{let m=s===null||d.modifier?.kind==="arbitrary"?null:`${p}/${s}`;d.value={kind:"named",value:p,fraction:m}}}yield d}}function z$(e){if(e[0]==="["&&e[e.length-1]==="]"){let t=jf(e.slice(1,-1));return!Uf(t)||t.length===0||t.trim().length===0?null:{kind:"arbitrary",value:t}}if(e[0]==="("&&e[e.length-1]===")"){let t=jf(e.slice(1,-1));return!Uf(t)||t.length===0||t.trim().length===0||t[0]!=="-"&&t[1]!=="-"?null:{kind:"arbitrary",value:`var(${t})`}}return{kind:"named",value:e}}function SWe(e,t){if(e[0]==="["&&e[e.length-1]==="]"){if(e[1]==="@"&&e.includes("&"))return null;let n=jf(e.slice(1,-1));if(!Uf(n)||n.length===0||n.trim().length===0)return null;let i=n[0]===">"||n[0]==="+"||n[0]==="~";return!i&&n[0]!=="@"&&!n.includes("&")&&(n=`&:is(${n})`),{kind:"arbitrary",selector:n,relative:i}}{let[n,i=null,o]=ui(e,"/");if(o)return null;let r=xoe(n,c=>t.variants.has(c));for(let[c,s]of r)switch(t.variants.kind(c)){case"static":return s!==null||i!==null?null:{kind:"static",root:c};case"functional":{let u=i===null?null:z$(i);if(i!==null&&u===null)return null;if(s===null)return{kind:"functional",root:c,modifier:u,value:null};if(s[s.length-1]==="]"){if(s[0]!=="[")continue;let H=jf(s.slice(1,-1));return!Uf(H)||H.length===0||H.trim().length===0?null:{kind:"functional",root:c,modifier:u,value:{kind:"arbitrary",value:H}}}if(s[s.length-1]===")"){if(s[0]!=="(")continue;let H=jf(s.slice(1,-1));return!Uf(H)||H.length===0||H.trim().length===0||H[0]!=="-"&&H[1]!=="-"?null:{kind:"functional",root:c,modifier:u,value:{kind:"arbitrary",value:`var(${H})`}}}return{kind:"functional",root:c,modifier:u,value:{kind:"named",value:s}}}case"compound":{if(s===null)return null;let u=t.parseVariant(s);if(u===null||!t.variants.compoundsWith(c,u))return null;let H=i===null?null:z$(i);return i!==null&&H===null?null:{kind:"compound",root:c,modifier:H,variant:u}}}}return null}function*xoe(e,t){t(e)&&(yield[e,null]);let n=e.lastIndexOf("-");if(n===-1){e[0]==="@"&&t("@")&&(yield["@",e.slice(1)]);return}do{let i=e.slice(0,n);if(t(i)){let o=[i,e.slice(n+1)];if(o[1]==="")break;yield o}n=e.lastIndexOf("-",n-1)}while(n>0)}function fT(e,t,n){if(e===t)return 0;let i=e.indexOf("("),o=t.indexOf("("),r=i===-1?e.replace(/[\d.]+/g,""):e.slice(0,i),c=o===-1?t.replace(/[\d.]+/g,""):t.slice(0,o),s=(r===c?0:r<c?-1:1)||(n==="asc"?parseInt(e)-parseInt(t):parseInt(t)-parseInt(e));return Number.isNaN(s)?e<t?-1:1:s}function hT(e,t){return ui(e,",").map(n=>{n=n.trim();let i=ui(n," ").filter(u=>u.trim()!==""),o=null,r=null,c=null;for(let u of i)LWe.has(u)||(Qae.test(u)?(r===null?r=u:c===null&&(c=u),Qae.lastIndex=0):o===null&&(o=u));if(r===null||c===null)return n;let s=t(o??"currentcolor");return o!==null?n.replace(o,s):`${n} ${s}`}).join(", ")}function or(e,t,n){return ss("@property",e,[Ue("syntax",n?`"${n}"`:'"*"'),Ue("inherits","false"),...t?[Ue("initial-value",t)]:[]])}function Do(e,t){if(t===null)return e;let n=Number(t);return Number.isNaN(n)||(t=`${n*100}%`),`color-mix(in oklab, ${e} ${t}, transparent)`}function Doe(e,t){let n=Number(t);return Number.isNaN(n)||(t=`${n*100}%`),`oklab(from ${e} l a b / ${t})`}function no(e,t,n){if(!t)return e;if(t.kind==="arbitrary")return Do(e,t.value);let i=n.resolve(t.value,["--opacity"]);return i?Do(e,i):aT(t.value)?Do(e,`${t.value}%`):null}function xo(e,t,n){let i=null;switch(e.value.value){case"inherit":{i="inherit";break}case"transparent":{i="transparent";break}case"current":{i="currentColor";break}default:{i=t.resolve(e.value.value,n);break}}return i?no(i,e.modifier,t):null}function xWe(e){let t=new CWe;function n(k,$){let U=/(\d+)_(\d+)/g;function*F(W){for(let Z of e.keysInNamespaces(W))yield Z.replace(U,(ee,J,ne)=>`${J}.${ne}`)}let P=["1/2","1/3","2/3","1/4","2/4","3/4","1/5","2/5","3/5","4/5","1/6","2/6","3/6","4/6","5/6","1/12","2/12","3/12","4/12","5/12","6/12","7/12","8/12","9/12","10/12","11/12"];t.suggest(k,()=>{let W=[];for(let Z of $()){if(typeof Z=="string"){W.push({values:[Z],modifiers:[]});continue}let ee=[...Z.values??[],...F(Z.valueThemeKeys??[])],J=[...Z.modifiers??[],...F(Z.modifierThemeKeys??[])];Z.supportsFractions&&ee.push(...P),Z.hasDefaultValue&&ee.unshift(null),W.push({supportsNegative:Z.supportsNegative,values:ee,modifiers:J})}return W})}function i(k,$){t.static(k,()=>$.map(U=>typeof U=="function"?U():Ue(U[0],U[1])))}function o(k,$){function U({negative:F}){return P=>{let W=null,Z=null;if(P.value)if(P.value.kind==="arbitrary"){if(P.modifier)return;W=P.value.value,Z=P.value.dataType}else{if(W=e.resolve(P.value.fraction??P.value.value,$.themeKeys??[]),W===null&&$.supportsFractions&&P.value.fraction){let[ee,J]=ui(P.value.fraction,"/");if(!Nr(ee)||!Nr(J))return;W=`calc(${P.value.fraction} * 100%)`}if(W===null&&F&&$.handleNegativeBareValue){if(W=$.handleNegativeBareValue(P.value),!W?.includes("/")&&P.modifier)return;if(W!==null)return $.handle(W,null)}if(W===null&&$.handleBareValue&&(W=$.handleBareValue(P.value),!W?.includes("/")&&P.modifier))return}else{if(P.modifier)return;W=$.defaultValue!==void 0?$.defaultValue:e.resolve(null,$.themeKeys??[])}if(W!==null)return $.handle(F?`calc(${W} * -1)`:W,Z)}}$.supportsNegative&&t.functional(`-${k}`,U({negative:!0})),t.functional(k,U({negative:!1})),n(k,()=>[{supportsNegative:$.supportsNegative,valueThemeKeys:$.themeKeys??[],hasDefaultValue:$.defaultValue!==void 0&&$.defaultValue!==null,supportsFractions:$.supportsFractions}])}function r(k,$){t.functional(k,U=>{if(!U.value)return;let F=null;if(U.value.kind==="arbitrary"?(F=U.value.value,F=no(F,U.modifier,e)):F=xo(U,e,$.themeKeys),F!==null)return $.handle(F)}),n(k,()=>[{values:["current","inherit","transparent"],valueThemeKeys:$.themeKeys,modifiers:Array.from({length:21},(U,F)=>`${F*5}`)}])}function c(k,$,U,{supportsNegative:F=!1,supportsFractions:P=!1}={}){F&&t.static(`-${k}-px`,()=>U("-1px")),t.static(`${k}-px`,()=>U("1px")),o(k,{themeKeys:$,supportsFractions:P,supportsNegative:F,defaultValue:null,handleBareValue:({value:W})=>{let Z=e.resolve(null,["--spacing"]);return!Z||!Mf(W)?null:`calc(${Z} * ${W})`},handleNegativeBareValue:({value:W})=>{let Z=e.resolve(null,["--spacing"]);return!Z||!Mf(W)?null:`calc(${Z} * -${W})`},handle:U}),n(k,()=>[{values:e.get(["--spacing"])?_T:[],supportsNegative:F,supportsFractions:P,valueThemeKeys:$}])}i("sr-only",[["position","absolute"],["width","1px"],["height","1px"],["padding","0"],["margin","-1px"],["overflow","hidden"],["clip","rect(0, 0, 0, 0)"],["white-space","nowrap"],["border-width","0"]]),i("not-sr-only",[["position","static"],["width","auto"],["height","auto"],["padding","0"],["margin","0"],["overflow","visible"],["clip","auto"],["white-space","normal"]]),i("pointer-events-none",[["pointer-events","none"]]),i("pointer-events-auto",[["pointer-events","auto"]]),i("visible",[["visibility","visible"]]),i("invisible",[["visibility","hidden"]]),i("collapse",[["visibility","collapse"]]),i("static",[["position","static"]]),i("fixed",[["position","fixed"]]),i("absolute",[["position","absolute"]]),i("relative",[["position","relative"]]),i("sticky",[["position","sticky"]]);for(let[k,$]of[["inset","inset"],["inset-x","inset-inline"],["inset-y","inset-block"],["start","inset-inline-start"],["end","inset-inline-end"],["top","top"],["right","right"],["bottom","bottom"],["left","left"]])i(`${k}-auto`,[[$,"auto"]]),i(`${k}-full`,[[$,"100%"]]),i(`-${k}-full`,[[$,"-100%"]]),c(k,["--inset","--spacing"],U=>[Ue($,U)],{supportsNegative:!0,supportsFractions:!0});i("isolate",[["isolation","isolate"]]),i("isolation-auto",[["isolation","auto"]]),i("z-auto",[["z-index","auto"]]),o("z",{supportsNegative:!0,handleBareValue:({value:k})=>Nr(k)?k:null,themeKeys:["--z-index"],handle:k=>[Ue("z-index",k)]}),n("z",()=>[{supportsNegative:!0,values:["0","10","20","30","40","50"],valueThemeKeys:["--z-index"]}]),i("order-first",[["order","-9999"]]),i("order-last",[["order","9999"]]),i("order-none",[["order","0"]]),o("order",{supportsNegative:!0,handleBareValue:({value:k})=>Nr(k)?k:null,themeKeys:["--order"],handle:k=>[Ue("order",k)]}),n("order",()=>[{supportsNegative:!0,values:Array.from({length:12},(k,$)=>`${$+1}`),valueThemeKeys:["--order"]}]),i("col-auto",[["grid-column","auto"]]),o("col",{supportsNegative:!0,handleBareValue:({value:k})=>Nr(k)?k:null,themeKeys:["--grid-column"],handle:k=>[Ue("grid-column",k)]}),i("col-span-full",[["grid-column","1 / -1"]]),o("col-span",{handleBareValue:({value:k})=>Nr(k)?k:null,handle:k=>[Ue("grid-column",`span ${k} / span ${k}`)]}),i("col-start-auto",[["grid-column-start","auto"]]),o("col-start",{supportsNegative:!0,handleBareValue:({value:k})=>Nr(k)?k:null,themeKeys:["--grid-column-start"],handle:k=>[Ue("grid-column-start",k)]}),i("col-end-auto",[["grid-column-end","auto"]]),o("col-end",{supportsNegative:!0,handleBareValue:({value:k})=>Nr(k)?k:null,themeKeys:["--grid-column-end"],handle:k=>[Ue("grid-column-end",k)]}),n("col-span",()=>[{values:Array.from({length:12},(k,$)=>`${$+1}`),valueThemeKeys:[]}]),n("col-start",()=>[{supportsNegative:!0,values:Array.from({length:13},(k,$)=>`${$+1}`),valueThemeKeys:["--grid-column-start"]}]),n("col-end",()=>[{supportsNegative:!0,values:Array.from({length:13},(k,$)=>`${$+1}`),valueThemeKeys:["--grid-column-end"]}]),i("row-auto",[["grid-row","auto"]]),o("row",{supportsNegative:!0,handleBareValue:({value:k})=>Nr(k)?k:null,themeKeys:["--grid-row"],handle:k=>[Ue("grid-row",k)]}),i("row-span-full",[["grid-row","1 / -1"]]),o("row-span",{themeKeys:[],handleBareValue:({value:k})=>Nr(k)?k:null,handle:k=>[Ue("grid-row",`span ${k} / span ${k}`)]}),i("row-start-auto",[["grid-row-start","auto"]]),o("row-start",{supportsNegative:!0,handleBareValue:({value:k})=>Nr(k)?k:null,themeKeys:["--grid-row-start"],handle:k=>[Ue("grid-row-start",k)]}),i("row-end-auto",[["grid-row-end","auto"]]),o("row-end",{supportsNegative:!0,handleBareValue:({value:k})=>Nr(k)?k:null,themeKeys:["--grid-row-end"],handle:k=>[Ue("grid-row-end",k)]}),n("row-span",()=>[{values:Array.from({length:12},(k,$)=>`${$+1}`),valueThemeKeys:[]}]),n("row-start",()=>[{supportsNegative:!0,values:Array.from({length:13},(k,$)=>`${$+1}`),valueThemeKeys:["--grid-row-start"]}]),n("row-end",()=>[{supportsNegative:!0,values:Array.from({length:13},(k,$)=>`${$+1}`),valueThemeKeys:["--grid-row-end"]}]),i("float-start",[["float","inline-start"]]),i("float-end",[["float","inline-end"]]),i("float-right",[["float","right"]]),i("float-left",[["float","left"]]),i("float-none",[["float","none"]]),i("clear-start",[["clear","inline-start"]]),i("clear-end",[["clear","inline-end"]]),i("clear-right",[["clear","right"]]),i("clear-left",[["clear","left"]]),i("clear-both",[["clear","both"]]),i("clear-none",[["clear","none"]]);for(let[k,$]of[["m","margin"],["mx","margin-inline"],["my","margin-block"],["ms","margin-inline-start"],["me","margin-inline-end"],["mt","margin-top"],["mr","margin-right"],["mb","margin-bottom"],["ml","margin-left"]])i(`${k}-auto`,[[$,"auto"]]),c(k,["--margin","--spacing"],U=>[Ue($,U)],{supportsNegative:!0});i("box-border",[["box-sizing","border-box"]]),i("box-content",[["box-sizing","content-box"]]),i("line-clamp-none",[["overflow","visible"],["display","block"],["-webkit-box-orient","horizontal"],["-webkit-line-clamp","unset"]]),o("line-clamp",{themeKeys:["--line-clamp"],handleBareValue:({value:k})=>Nr(k)?k:null,handle:k=>[Ue("overflow","hidden"),Ue("display","-webkit-box"),Ue("-webkit-box-orient","vertical"),Ue("-webkit-line-clamp",k)]}),n("line-clamp",()=>[{values:["1","2","3","4","5","6"],valueThemeKeys:["--line-clamp"]}]),i("block",[["display","block"]]),i("inline-block",[["display","inline-block"]]),i("inline",[["display","inline"]]),i("hidden",[["display","none"]]),i("inline-flex",[["display","inline-flex"]]),i("table",[["display","table"]]),i("inline-table",[["display","inline-table"]]),i("table-caption",[["display","table-caption"]]),i("table-cell",[["display","table-cell"]]),i("table-column",[["display","table-column"]]),i("table-column-group",[["display","table-column-group"]]),i("table-footer-group",[["display","table-footer-group"]]),i("table-header-group",[["display","table-header-group"]]),i("table-row-group",[["display","table-row-group"]]),i("table-row",[["display","table-row"]]),i("flow-root",[["display","flow-root"]]),i("flex",[["display","flex"]]),i("grid",[["display","grid"]]),i("inline-grid",[["display","inline-grid"]]),i("contents",[["display","contents"]]),i("list-item",[["display","list-item"]]),i("field-sizing-content",[["field-sizing","content"]]),i("field-sizing-fixed",[["field-sizing","fixed"]]),i("aspect-auto",[["aspect-ratio","auto"]]),i("aspect-square",[["aspect-ratio","1 / 1"]]),o("aspect",{themeKeys:["--aspect"],handleBareValue:({fraction:k})=>{if(k===null)return null;let[$,U]=ui(k,"/");return!Nr($)||!Nr(U)?null:k},handle:k=>[Ue("aspect-ratio",k)]});for(let[k,$]of[["auto","auto"],["full","100%"],["svw","100svw"],["lvw","100lvw"],["dvw","100dvw"],["svh","100svh"],["lvh","100lvh"],["dvh","100dvh"],["min","min-content"],["max","max-content"],["fit","fit-content"]])i(`size-${k}`,[["--tw-sort","size"],["width",$],["height",$]]),i(`w-${k}`,[["width",$]]),i(`h-${k}`,[["height",$]]),i(`min-w-${k}`,[["min-width",$]]),i(`min-h-${k}`,[["min-height",$]]),k!=="auto"&&(i(`max-w-${k}`,[["max-width",$]]),i(`max-h-${k}`,[["max-height",$]]));i("w-screen",[["width","100vw"]]),i("min-w-screen",[["min-width","100vw"]]),i("max-w-screen",[["max-width","100vw"]]),i("h-screen",[["height","100vh"]]),i("min-h-screen",[["min-height","100vh"]]),i("max-h-screen",[["max-height","100vh"]]),i("max-w-none",[["max-width","none"]]),i("max-h-none",[["max-height","none"]]),c("size",["--size","--spacing"],k=>[Ue("--tw-sort","size"),Ue("width",k),Ue("height",k)],{supportsFractions:!0});for(let[k,$,U]of[["w",["--width","--spacing","--container"],"width"],["min-w",["--min-width","--spacing","--container"],"min-width"],["max-w",["--max-width","--spacing","--container"],"max-width"],["h",["--height","--spacing"],"height"],["min-h",["--min-height","--height","--spacing"],"min-height"],["max-h",["--max-height","--height","--spacing"],"max-height"]])c(k,$,F=>[Ue(U,F)],{supportsFractions:!0});t.static("container",()=>{let k=[...e.namespace("--breakpoint").values()];k.sort((U,F)=>fT(U,F,"asc"));let $=[Ue("--tw-sort","--tw-container-component"),Ue("width","100%")];for(let U of k)$.push(ss("@media",`(width >= ${U})`,[Ue("max-width",U)]));return $}),i("flex-auto",[["flex","auto"]]),i("flex-initial",[["flex","0 auto"]]),i("flex-none",[["flex","none"]]),t.functional("flex",k=>{if(k.value){if(k.value.kind==="arbitrary")return k.modifier?void 0:[Ue("flex",k.value.value)];if(k.value.fraction){let[$,U]=ui(k.value.fraction,"/");return!Nr($)||!Nr(U)?void 0:[Ue("flex",`calc(${k.value.fraction} * 100%)`)]}if(Nr(k.value.value))return k.modifier?void 0:[Ue("flex",k.value.value)]}}),n("flex",()=>[{supportsFractions:!0}]),o("shrink",{defaultValue:"1",handleBareValue:({value:k})=>Nr(k)?k:null,handle:k=>[Ue("flex-shrink",k)]}),o("grow",{defaultValue:"1",handleBareValue:({value:k})=>Nr(k)?k:null,handle:k=>[Ue("flex-grow",k)]}),n("shrink",()=>[{values:["0"],valueThemeKeys:[],hasDefaultValue:!0}]),n("grow",()=>[{values:["0"],valueThemeKeys:[],hasDefaultValue:!0}]),i("basis-auto",[["flex-basis","auto"]]),i("basis-full",[["flex-basis","100%"]]),c("basis",["--flex-basis","--spacing","--container"],k=>[Ue("flex-basis",k)],{supportsFractions:!0}),i("table-auto",[["table-layout","auto"]]),i("table-fixed",[["table-layout","fixed"]]),i("caption-top",[["caption-side","top"]]),i("caption-bottom",[["caption-side","bottom"]]),i("border-collapse",[["border-collapse","collapse"]]),i("border-separate",[["border-collapse","separate"]]);let s=()=>ni([or("--tw-border-spacing-x","0","<length>"),or("--tw-border-spacing-y","0","<length>")]);c("border-spacing",["--border-spacing","--spacing"],k=>[s(),Ue("--tw-border-spacing-x",k),Ue("--tw-border-spacing-y",k),Ue("border-spacing","var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]),c("border-spacing-x",["--border-spacing","--spacing"],k=>[s(),Ue("--tw-border-spacing-x",k),Ue("border-spacing","var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]),c("border-spacing-y",["--border-spacing","--spacing"],k=>[s(),Ue("--tw-border-spacing-y",k),Ue("border-spacing","var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]),i("origin-center",[["transform-origin","center"]]),i("origin-top",[["transform-origin","top"]]),i("origin-top-right",[["transform-origin","top right"]]),i("origin-right",[["transform-origin","right"]]),i("origin-bottom-right",[["transform-origin","bottom right"]]),i("origin-bottom",[["transform-origin","bottom"]]),i("origin-bottom-left",[["transform-origin","bottom left"]]),i("origin-left",[["transform-origin","left"]]),i("origin-top-left",[["transform-origin","top left"]]),o("origin",{themeKeys:["--transform-origin"],handle:k=>[Ue("transform-origin",k)]}),i("perspective-origin-center",[["perspective-origin","center"]]),i("perspective-origin-top",[["perspective-origin","top"]]),i("perspective-origin-top-right",[["perspective-origin","top right"]]),i("perspective-origin-right",[["perspective-origin","right"]]),i("perspective-origin-bottom-right",[["perspective-origin","bottom right"]]),i("perspective-origin-bottom",[["perspective-origin","bottom"]]),i("perspective-origin-bottom-left",[["perspective-origin","bottom left"]]),i("perspective-origin-left",[["perspective-origin","left"]]),i("perspective-origin-top-left",[["perspective-origin","top left"]]),o("perspective-origin",{themeKeys:["--perspective-origin"],handle:k=>[Ue("perspective-origin",k)]}),i("perspective-none",[["perspective","none"]]),o("perspective",{themeKeys:["--perspective"],handle:k=>[Ue("perspective",k)]});let u=()=>ni([or("--tw-translate-x","0"),or("--tw-translate-y","0"),or("--tw-translate-z","0")]);i("translate-none",[["translate","none"]]),i("-translate-full",[u,["--tw-translate-x","-100%"],["--tw-translate-y","-100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),i("translate-full",[u,["--tw-translate-x","100%"],["--tw-translate-y","100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),c("translate",["--translate","--spacing"],k=>[u(),Ue("--tw-translate-x",k),Ue("--tw-translate-y",k),Ue("translate","var(--tw-translate-x) var(--tw-translate-y)")],{supportsNegative:!0,supportsFractions:!0});for(let k of["x","y"])i(`-translate-${k}-full`,[u,[`--tw-translate-${k}`,"-100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),i(`translate-${k}-full`,[u,[`--tw-translate-${k}`,"100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),c(`translate-${k}`,["--translate","--spacing"],$=>[u(),Ue(`--tw-translate-${k}`,$),Ue("translate","var(--tw-translate-x) var(--tw-translate-y)")],{supportsNegative:!0,supportsFractions:!0});c("translate-z",["--translate","--spacing"],k=>[u(),Ue("--tw-translate-z",k),Ue("translate","var(--tw-translate-x) var(--tw-translate-y) var(--tw-translate-z)")],{supportsNegative:!0}),i("translate-3d",[u,["translate","var(--tw-translate-x) var(--tw-translate-y) var(--tw-translate-z)"]]);let H=()=>ni([or("--tw-scale-x","1"),or("--tw-scale-y","1"),or("--tw-scale-z","1")]);i("scale-none",[["scale","none"]]);function a({negative:k}){return $=>{if(!$.value||$.modifier)return;let U;return $.value.kind==="arbitrary"?(U=$.value.value,[Ue("scale",U)]):(U=e.resolve($.value.value,["--scale"]),!U&&Nr($.value.value)&&(U=`${$.value.value}%`),U?(U=k?`calc(${U} * -1)`:U,[H(),Ue("--tw-scale-x",U),Ue("--tw-scale-y",U),Ue("--tw-scale-z",U),Ue("scale","var(--tw-scale-x) var(--tw-scale-y)")]):void 0)}}t.functional("-scale",a({negative:!0})),t.functional("scale",a({negative:!1})),n("scale",()=>[{supportsNegative:!0,values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--scale"]}]);for(let k of["x","y","z"])o(`scale-${k}`,{supportsNegative:!0,themeKeys:["--scale"],handleBareValue:({value:$})=>Nr($)?`${$}%`:null,handle:$=>[H(),Ue(`--tw-scale-${k}`,$),Ue("scale",`var(--tw-scale-x) var(--tw-scale-y)${k==="z"?" var(--tw-scale-z)":""}`)]}),n(`scale-${k}`,()=>[{supportsNegative:!0,values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--scale"]}]);i("scale-3d",[H,["scale","var(--tw-scale-x) var(--tw-scale-y) var(--tw-scale-z)"]]),i("rotate-none",[["rotate","none"]]);function l({negative:k}){return $=>{if(!$.value||$.modifier)return;let U;if($.value.kind==="arbitrary"){U=$.value.value;let F=$.value.dataType??pa(U,["angle","vector"]);if(F==="vector")return[Ue("rotate",`${U} var(--tw-rotate)`)];if(F!=="angle")return[Ue("rotate",U)]}else if(U=e.resolve($.value.value,["--rotate"]),!U&&Nr($.value.value)&&(U=`${$.value.value}deg`),!U)return;return[Ue("rotate",k?`calc(${U} * -1)`:U)]}}t.functional("-rotate",l({negative:!0})),t.functional("rotate",l({negative:!1})),n("rotate",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"],valueThemeKeys:["--rotate"]}]);{let k=["var(--tw-rotate-x)","var(--tw-rotate-y)","var(--tw-rotate-z)","var(--tw-skew-x)","var(--tw-skew-y)"].join(" "),$=()=>ni([or("--tw-rotate-x","rotateX(0)"),or("--tw-rotate-y","rotateY(0)"),or("--tw-rotate-z","rotateZ(0)"),or("--tw-skew-x","skewX(0)"),or("--tw-skew-y","skewY(0)")]);for(let U of["x","y","z"])o(`rotate-${U}`,{supportsNegative:!0,themeKeys:["--rotate"],handleBareValue:({value:F})=>Nr(F)?`${F}deg`:null,handle:F=>[$(),Ue(`--tw-rotate-${U}`,`rotate${U.toUpperCase()}(${F})`),Ue("transform",k)]}),n(`rotate-${U}`,()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"],valueThemeKeys:["--rotate"]}]);o("skew",{supportsNegative:!0,themeKeys:["--skew"],handleBareValue:({value:U})=>Nr(U)?`${U}deg`:null,handle:U=>[$(),Ue("--tw-skew-x",`skewX(${U})`),Ue("--tw-skew-y",`skewY(${U})`),Ue("transform",k)]}),o("skew-x",{supportsNegative:!0,themeKeys:["--skew"],handleBareValue:({value:U})=>Nr(U)?`${U}deg`:null,handle:U=>[$(),Ue("--tw-skew-x",`skewX(${U})`),Ue("transform",k)]}),o("skew-y",{supportsNegative:!0,themeKeys:["--skew"],handleBareValue:({value:U})=>Nr(U)?`${U}deg`:null,handle:U=>[$(),Ue("--tw-skew-y",`skewY(${U})`),Ue("transform",k)]}),n("skew",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12"],valueThemeKeys:["--skew"]}]),n("skew-x",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12"],valueThemeKeys:["--skew"]}]),n("skew-y",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12"],valueThemeKeys:["--skew"]}]),t.functional("transform",U=>{if(U.modifier)return;let F=null;if(U.value?U.value.kind==="arbitrary"&&(F=U.value.value):F=k,F!==null)return[$(),Ue("transform",F)]}),n("transform",()=>[{hasDefaultValue:!0}]),i("transform-cpu",[["transform",k]]),i("transform-gpu",[["transform",`translateZ(0) ${k}`]]),i("transform-none",[["transform","none"]])}i("transform-flat",[["transform-style","flat"]]),i("transform-3d",[["transform-style","preserve-3d"]]),i("transform-content",[["transform-box","content-box"]]),i("transform-border",[["transform-box","border-box"]]),i("transform-fill",[["transform-box","fill-box"]]),i("transform-stroke",[["transform-box","stroke-box"]]),i("transform-view",[["transform-box","view-box"]]),i("backface-visible",[["backface-visibility","visible"]]),i("backface-hidden",[["backface-visibility","hidden"]]);for(let k of["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"])i(`cursor-${k}`,[["cursor",k]]);o("cursor",{themeKeys:["--cursor"],handle:k=>[Ue("cursor",k)]});for(let k of["auto","none","manipulation"])i(`touch-${k}`,[["touch-action",k]]);let p=()=>ni([or("--tw-pan-x"),or("--tw-pan-y"),or("--tw-pinch-zoom")]);for(let k of["x","left","right"])i(`touch-pan-${k}`,[p,["--tw-pan-x",`pan-${k}`],["touch-action","var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]);for(let k of["y","up","down"])i(`touch-pan-${k}`,[p,["--tw-pan-y",`pan-${k}`],["touch-action","var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]);i("touch-pinch-zoom",[p,["--tw-pinch-zoom","pinch-zoom"],["touch-action","var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]);for(let k of["none","text","all","auto"])i(`select-${k}`,[["-webkit-user-select",k],["user-select",k]]);i("resize-none",[["resize","none"]]),i("resize-x",[["resize","horizontal"]]),i("resize-y",[["resize","vertical"]]),i("resize",[["resize","both"]]),i("snap-none",[["scroll-snap-type","none"]]);let d=()=>ni([or("--tw-scroll-snap-strictness","proximity","*")]);for(let k of["x","y","both"])i(`snap-${k}`,[d,["scroll-snap-type",`${k} var(--tw-scroll-snap-strictness)`]]);i("snap-mandatory",[d,["--tw-scroll-snap-strictness","mandatory"]]),i("snap-proximity",[d,["--tw-scroll-snap-strictness","proximity"]]),i("snap-align-none",[["scroll-snap-align","none"]]),i("snap-start",[["scroll-snap-align","start"]]),i("snap-end",[["scroll-snap-align","end"]]),i("snap-center",[["scroll-snap-align","center"]]),i("snap-normal",[["scroll-snap-stop","normal"]]),i("snap-always",[["scroll-snap-stop","always"]]);for(let[k,$]of[["scroll-m","scroll-margin"],["scroll-mx","scroll-margin-inline"],["scroll-my","scroll-margin-block"],["scroll-ms","scroll-margin-inline-start"],["scroll-me","scroll-margin-inline-end"],["scroll-mt","scroll-margin-top"],["scroll-mr","scroll-margin-right"],["scroll-mb","scroll-margin-bottom"],["scroll-ml","scroll-margin-left"]])c(k,["--scroll-margin","--spacing"],U=>[Ue($,U)],{supportsNegative:!0});for(let[k,$]of[["scroll-p","scroll-padding"],["scroll-px","scroll-padding-inline"],["scroll-py","scroll-padding-block"],["scroll-ps","scroll-padding-inline-start"],["scroll-pe","scroll-padding-inline-end"],["scroll-pt","scroll-padding-top"],["scroll-pr","scroll-padding-right"],["scroll-pb","scroll-padding-bottom"],["scroll-pl","scroll-padding-left"]])c(k,["--scroll-padding","--spacing"],U=>[Ue($,U)]);i("list-inside",[["list-style-position","inside"]]),i("list-outside",[["list-style-position","outside"]]),i("list-none",[["list-style-type","none"]]),i("list-disc",[["list-style-type","disc"]]),i("list-decimal",[["list-style-type","decimal"]]),o("list",{themeKeys:["--list-style-type"],handle:k=>[Ue("list-style-type",k)]}),i("list-image-none",[["list-style-image","none"]]),o("list-image",{themeKeys:["--list-style-image"],handle:k=>[Ue("list-style-image",k)]}),i("appearance-none",[["appearance","none"]]),i("appearance-auto",[["appearance","auto"]]),i("scheme-normal",[["color-scheme","normal"]]),i("scheme-dark",[["color-scheme","dark"]]),i("scheme-light",[["color-scheme","light"]]),i("scheme-light-dark",[["color-scheme","light dark"]]),i("scheme-only-dark",[["color-scheme","only dark"]]),i("scheme-only-light",[["color-scheme","only light"]]),i("columns-auto",[["columns","auto"]]),o("columns",{themeKeys:["--columns","--container"],handleBareValue:({value:k})=>Nr(k)?k:null,handle:k=>[Ue("columns",k)]}),n("columns",()=>[{values:Array.from({length:12},(k,$)=>`${$+1}`),valueThemeKeys:["--columns","--container"]}]);for(let k of["auto","avoid","all","avoid-page","page","left","right","column"])i(`break-before-${k}`,[["break-before",k]]);for(let k of["auto","avoid","avoid-page","avoid-column"])i(`break-inside-${k}`,[["break-inside",k]]);for(let k of["auto","avoid","all","avoid-page","page","left","right","column"])i(`break-after-${k}`,[["break-after",k]]);i("grid-flow-row",[["grid-auto-flow","row"]]),i("grid-flow-col",[["grid-auto-flow","column"]]),i("grid-flow-dense",[["grid-auto-flow","dense"]]),i("grid-flow-row-dense",[["grid-auto-flow","row dense"]]),i("grid-flow-col-dense",[["grid-auto-flow","column dense"]]),i("auto-cols-auto",[["grid-auto-columns","auto"]]),i("auto-cols-min",[["grid-auto-columns","min-content"]]),i("auto-cols-max",[["grid-auto-columns","max-content"]]),i("auto-cols-fr",[["grid-auto-columns","minmax(0, 1fr)"]]),o("auto-cols",{themeKeys:["--grid-auto-columns"],handle:k=>[Ue("grid-auto-columns",k)]}),i("auto-rows-auto",[["grid-auto-rows","auto"]]),i("auto-rows-min",[["grid-auto-rows","min-content"]]),i("auto-rows-max",[["grid-auto-rows","max-content"]]),i("auto-rows-fr",[["grid-auto-rows","minmax(0, 1fr)"]]),o("auto-rows",{themeKeys:["--grid-auto-rows"],handle:k=>[Ue("grid-auto-rows",k)]}),i("grid-cols-none",[["grid-template-columns","none"]]),i("grid-cols-subgrid",[["grid-template-columns","subgrid"]]),o("grid-cols",{themeKeys:["--grid-template-columns"],handleBareValue:({value:k})=>F$(k)?`repeat(${k}, minmax(0, 1fr))`:null,handle:k=>[Ue("grid-template-columns",k)]}),i("grid-rows-none",[["grid-template-rows","none"]]),i("grid-rows-subgrid",[["grid-template-rows","subgrid"]]),o("grid-rows",{themeKeys:["--grid-template-rows"],handleBareValue:({value:k})=>F$(k)?`repeat(${k}, minmax(0, 1fr))`:null,handle:k=>[Ue("grid-template-rows",k)]}),n("grid-cols",()=>[{values:Array.from({length:12},(k,$)=>`${$+1}`),valueThemeKeys:["--grid-template-columns"]}]),n("grid-rows",()=>[{values:Array.from({length:12},(k,$)=>`${$+1}`),valueThemeKeys:["--grid-template-rows"]}]),i("flex-row",[["flex-direction","row"]]),i("flex-row-reverse",[["flex-direction","row-reverse"]]),i("flex-col",[["flex-direction","column"]]),i("flex-col-reverse",[["flex-direction","column-reverse"]]),i("flex-wrap",[["flex-wrap","wrap"]]),i("flex-nowrap",[["flex-wrap","nowrap"]]),i("flex-wrap-reverse",[["flex-wrap","wrap-reverse"]]),i("place-content-center",[["place-content","center"]]),i("place-content-start",[["place-content","start"]]),i("place-content-end",[["place-content","end"]]),i("place-content-center-safe",[["place-content","safe center"]]),i("place-content-end-safe",[["place-content","safe end"]]),i("place-content-between",[["place-content","space-between"]]),i("place-content-around",[["place-content","space-around"]]),i("place-content-evenly",[["place-content","space-evenly"]]),i("place-content-baseline",[["place-content","baseline"]]),i("place-content-stretch",[["place-content","stretch"]]),i("place-items-center",[["place-items","center"]]),i("place-items-start",[["place-items","start"]]),i("place-items-end",[["place-items","end"]]),i("place-items-center-safe",[["place-items","safe center"]]),i("place-items-end-safe",[["place-items","safe end"]]),i("place-items-baseline",[["place-items","baseline"]]),i("place-items-stretch",[["place-items","stretch"]]),i("content-normal",[["align-content","normal"]]),i("content-center",[["align-content","center"]]),i("content-start",[["align-content","flex-start"]]),i("content-end",[["align-content","flex-end"]]),i("content-center-safe",[["align-content","safe center"]]),i("content-end-safe",[["align-content","safe flex-end"]]),i("content-between",[["align-content","space-between"]]),i("content-around",[["align-content","space-around"]]),i("content-evenly",[["align-content","space-evenly"]]),i("content-baseline",[["align-content","baseline"]]),i("content-stretch",[["align-content","stretch"]]),i("items-center",[["align-items","center"]]),i("items-start",[["align-items","flex-start"]]),i("items-end",[["align-items","flex-end"]]),i("items-center-safe",[["align-items","safe center"]]),i("items-end-safe",[["align-items","safe flex-end"]]),i("items-baseline",[["align-items","baseline"]]),i("items-baseline-last",[["align-items","last baseline"]]),i("items-stretch",[["align-items","stretch"]]),i("justify-normal",[["justify-content","normal"]]),i("justify-center",[["justify-content","center"]]),i("justify-start",[["justify-content","flex-start"]]),i("justify-end",[["justify-content","flex-end"]]),i("justify-center-safe",[["justify-content","safe center"]]),i("justify-end-safe",[["justify-content","safe flex-end"]]),i("justify-between",[["justify-content","space-between"]]),i("justify-around",[["justify-content","space-around"]]),i("justify-evenly",[["justify-content","space-evenly"]]),i("justify-baseline",[["justify-content","baseline"]]),i("justify-stretch",[["justify-content","stretch"]]),i("justify-items-normal",[["justify-items","normal"]]),i("justify-items-center",[["justify-items","center"]]),i("justify-items-start",[["justify-items","start"]]),i("justify-items-end",[["justify-items","end"]]),i("justify-items-center-safe",[["justify-items","safe center"]]),i("justify-items-end-safe",[["justify-items","safe end"]]),i("justify-items-stretch",[["justify-items","stretch"]]),c("gap",["--gap","--spacing"],k=>[Ue("gap",k)]),c("gap-x",["--gap","--spacing"],k=>[Ue("column-gap",k)]),c("gap-y",["--gap","--spacing"],k=>[Ue("row-gap",k)]),c("space-x",["--space","--spacing"],k=>[ni([or("--tw-space-x-reverse","0")]),Es(":where(& > :not(:last-child))",[Ue("--tw-sort","row-gap"),Ue("--tw-space-x-reverse","0"),Ue("margin-inline-start",`calc(${k} * var(--tw-space-x-reverse))`),Ue("margin-inline-end",`calc(${k} * calc(1 - var(--tw-space-x-reverse)))`)])],{supportsNegative:!0}),c("space-y",["--space","--spacing"],k=>[ni([or("--tw-space-y-reverse","0")]),Es(":where(& > :not(:last-child))",[Ue("--tw-sort","column-gap"),Ue("--tw-space-y-reverse","0"),Ue("margin-block-start",`calc(${k} * var(--tw-space-y-reverse))`),Ue("margin-block-end",`calc(${k} * calc(1 - var(--tw-space-y-reverse)))`)])],{supportsNegative:!0}),i("space-x-reverse",[()=>ni([or("--tw-space-x-reverse","0")]),()=>Es(":where(& > :not(:last-child))",[Ue("--tw-sort","row-gap"),Ue("--tw-space-x-reverse","1")])]),i("space-y-reverse",[()=>ni([or("--tw-space-y-reverse","0")]),()=>Es(":where(& > :not(:last-child))",[Ue("--tw-sort","column-gap"),Ue("--tw-space-y-reverse","1")])]),i("accent-auto",[["accent-color","auto"]]),r("accent",{themeKeys:["--accent-color","--color"],handle:k=>[Ue("accent-color",k)]}),r("caret",{themeKeys:["--caret-color","--color"],handle:k=>[Ue("caret-color",k)]}),r("divide",{themeKeys:["--divide-color","--color"],handle:k=>[Es(":where(& > :not(:last-child))",[Ue("--tw-sort","divide-color"),Ue("border-color",k)])]}),i("place-self-auto",[["place-self","auto"]]),i("place-self-start",[["place-self","start"]]),i("place-self-end",[["place-self","end"]]),i("place-self-center",[["place-self","center"]]),i("place-self-end-safe",[["place-self","safe end"]]),i("place-self-center-safe",[["place-self","safe center"]]),i("place-self-stretch",[["place-self","stretch"]]),i("self-auto",[["align-self","auto"]]),i("self-start",[["align-self","flex-start"]]),i("self-end",[["align-self","flex-end"]]),i("self-center",[["align-self","center"]]),i("self-end-safe",[["align-self","safe flex-end"]]),i("self-center-safe",[["align-self","safe center"]]),i("self-stretch",[["align-self","stretch"]]),i("self-baseline",[["align-self","baseline"]]),i("self-baseline-last",[["align-self","last baseline"]]),i("justify-self-auto",[["justify-self","auto"]]),i("justify-self-start",[["justify-self","flex-start"]]),i("justify-self-end",[["justify-self","flex-end"]]),i("justify-self-center",[["justify-self","center"]]),i("justify-self-end-safe",[["justify-self","safe flex-end"]]),i("justify-self-center-safe",[["justify-self","safe center"]]),i("justify-self-stretch",[["justify-self","stretch"]]);for(let k of["auto","hidden","clip","visible","scroll"])i(`overflow-${k}`,[["overflow",k]]),i(`overflow-x-${k}`,[["overflow-x",k]]),i(`overflow-y-${k}`,[["overflow-y",k]]);for(let k of["auto","contain","none"])i(`overscroll-${k}`,[["overscroll-behavior",k]]),i(`overscroll-x-${k}`,[["overscroll-behavior-x",k]]),i(`overscroll-y-${k}`,[["overscroll-behavior-y",k]]);i("scroll-auto",[["scroll-behavior","auto"]]),i("scroll-smooth",[["scroll-behavior","smooth"]]),i("truncate",[["overflow","hidden"],["text-overflow","ellipsis"],["white-space","nowrap"]]),i("text-ellipsis",[["text-overflow","ellipsis"]]),i("text-clip",[["text-overflow","clip"]]),i("hyphens-none",[["-webkit-hyphens","none"],["hyphens","none"]]),i("hyphens-manual",[["-webkit-hyphens","manual"],["hyphens","manual"]]),i("hyphens-auto",[["-webkit-hyphens","auto"],["hyphens","auto"]]),i("whitespace-normal",[["white-space","normal"]]),i("whitespace-nowrap",[["white-space","nowrap"]]),i("whitespace-pre",[["white-space","pre"]]),i("whitespace-pre-line",[["white-space","pre-line"]]),i("whitespace-pre-wrap",[["white-space","pre-wrap"]]),i("whitespace-break-spaces",[["white-space","break-spaces"]]),i("text-wrap",[["text-wrap","wrap"]]),i("text-nowrap",[["text-wrap","nowrap"]]),i("text-balance",[["text-wrap","balance"]]),i("text-pretty",[["text-wrap","pretty"]]),i("break-normal",[["overflow-wrap","normal"],["word-break","normal"]]),i("break-words",[["overflow-wrap","break-word"]]),i("break-all",[["word-break","break-all"]]),i("break-keep",[["word-break","keep-all"]]),i("wrap-anywhere",[["overflow-wrap","anywhere"]]),i("wrap-break-word",[["overflow-wrap","break-word"]]),i("wrap-normal",[["overflow-wrap","normal"]]);for(let[k,$]of[["rounded",["border-radius"]],["rounded-s",["border-start-start-radius","border-end-start-radius"]],["rounded-e",["border-start-end-radius","border-end-end-radius"]],["rounded-t",["border-top-left-radius","border-top-right-radius"]],["rounded-r",["border-top-right-radius","border-bottom-right-radius"]],["rounded-b",["border-bottom-right-radius","border-bottom-left-radius"]],["rounded-l",["border-top-left-radius","border-bottom-left-radius"]],["rounded-ss",["border-start-start-radius"]],["rounded-se",["border-start-end-radius"]],["rounded-ee",["border-end-end-radius"]],["rounded-es",["border-end-start-radius"]],["rounded-tl",["border-top-left-radius"]],["rounded-tr",["border-top-right-radius"]],["rounded-br",["border-bottom-right-radius"]],["rounded-bl",["border-bottom-left-radius"]]])i(`${k}-none`,$.map(U=>[U,"0"])),i(`${k}-full`,$.map(U=>[U,"calc(infinity * 1px)"])),o(k,{themeKeys:["--radius"],handle:U=>$.map(F=>Ue(F,U))});i("border-solid",[["--tw-border-style","solid"],["border-style","solid"]]),i("border-dashed",[["--tw-border-style","dashed"],["border-style","dashed"]]),i("border-dotted",[["--tw-border-style","dotted"],["border-style","dotted"]]),i("border-double",[["--tw-border-style","double"],["border-style","double"]]),i("border-hidden",[["--tw-border-style","hidden"],["border-style","hidden"]]),i("border-none",[["--tw-border-style","none"],["border-style","none"]]);{let k=function(U,F){t.functional(U,P=>{if(!P.value){if(P.modifier)return;let W=e.get(["--default-border-width"])??"1px",Z=F.width(W);return Z?[$(),...Z]:void 0}if(P.value.kind==="arbitrary"){let W=P.value.value;switch(P.value.dataType??pa(W,["color","line-width","length"])){case"line-width":case"length":{if(P.modifier)return;let Z=F.width(W);return Z?[$(),...Z]:void 0}default:return W=no(W,P.modifier,e),W===null?void 0:F.color(W)}}{let W=xo(P,e,["--border-color","--color"]);if(W)return F.color(W)}{if(P.modifier)return;let W=e.resolve(P.value.value,["--border-width"]);if(W){let Z=F.width(W);return Z?[$(),...Z]:void 0}if(Nr(P.value.value)){let Z=F.width(`${P.value.value}px`);return Z?[$(),...Z]:void 0}}}),n(U,()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--border-color","--color"],modifiers:Array.from({length:21},(P,W)=>`${W*5}`),hasDefaultValue:!0},{values:["0","2","4","8"],valueThemeKeys:["--border-width"]}])};var h=k;let $=()=>ni([or("--tw-border-style","solid")]);k("border",{width:U=>[Ue("border-style","var(--tw-border-style)"),Ue("border-width",U)],color:U=>[Ue("border-color",U)]}),k("border-x",{width:U=>[Ue("border-inline-style","var(--tw-border-style)"),Ue("border-inline-width",U)],color:U=>[Ue("border-inline-color",U)]}),k("border-y",{width:U=>[Ue("border-block-style","var(--tw-border-style)"),Ue("border-block-width",U)],color:U=>[Ue("border-block-color",U)]}),k("border-s",{width:U=>[Ue("border-inline-start-style","var(--tw-border-style)"),Ue("border-inline-start-width",U)],color:U=>[Ue("border-inline-start-color",U)]}),k("border-e",{width:U=>[Ue("border-inline-end-style","var(--tw-border-style)"),Ue("border-inline-end-width",U)],color:U=>[Ue("border-inline-end-color",U)]}),k("border-t",{width:U=>[Ue("border-top-style","var(--tw-border-style)"),Ue("border-top-width",U)],color:U=>[Ue("border-top-color",U)]}),k("border-r",{width:U=>[Ue("border-right-style","var(--tw-border-style)"),Ue("border-right-width",U)],color:U=>[Ue("border-right-color",U)]}),k("border-b",{width:U=>[Ue("border-bottom-style","var(--tw-border-style)"),Ue("border-bottom-width",U)],color:U=>[Ue("border-bottom-color",U)]}),k("border-l",{width:U=>[Ue("border-left-style","var(--tw-border-style)"),Ue("border-left-width",U)],color:U=>[Ue("border-left-color",U)]}),o("divide-x",{defaultValue:e.get(["--default-border-width"])??"1px",themeKeys:["--divide-width","--border-width"],handleBareValue:({value:U})=>Nr(U)?`${U}px`:null,handle:U=>[ni([or("--tw-divide-x-reverse","0")]),Es(":where(& > :not(:last-child))",[Ue("--tw-sort","divide-x-width"),$(),Ue("--tw-divide-x-reverse","0"),Ue("border-inline-style","var(--tw-border-style)"),Ue("border-inline-start-width",`calc(${U} * var(--tw-divide-x-reverse))`),Ue("border-inline-end-width",`calc(${U} * calc(1 - var(--tw-divide-x-reverse)))`)])]}),o("divide-y",{defaultValue:e.get(["--default-border-width"])??"1px",themeKeys:["--divide-width","--border-width"],handleBareValue:({value:U})=>Nr(U)?`${U}px`:null,handle:U=>[ni([or("--tw-divide-y-reverse","0")]),Es(":where(& > :not(:last-child))",[Ue("--tw-sort","divide-y-width"),$(),Ue("--tw-divide-y-reverse","0"),Ue("border-bottom-style","var(--tw-border-style)"),Ue("border-top-style","var(--tw-border-style)"),Ue("border-top-width",`calc(${U} * var(--tw-divide-y-reverse))`),Ue("border-bottom-width",`calc(${U} * calc(1 - var(--tw-divide-y-reverse)))`)])]}),n("divide-x",()=>[{values:["0","2","4","8"],valueThemeKeys:["--divide-width","--border-width"],hasDefaultValue:!0}]),n("divide-y",()=>[{values:["0","2","4","8"],valueThemeKeys:["--divide-width","--border-width"],hasDefaultValue:!0}]),i("divide-x-reverse",[()=>ni([or("--tw-divide-x-reverse","0")]),()=>Es(":where(& > :not(:last-child))",[Ue("--tw-divide-x-reverse","1")])]),i("divide-y-reverse",[()=>ni([or("--tw-divide-y-reverse","0")]),()=>Es(":where(& > :not(:last-child))",[Ue("--tw-divide-y-reverse","1")])]);for(let U of["solid","dashed","dotted","double","none"])i(`divide-${U}`,[()=>Es(":where(& > :not(:last-child))",[Ue("--tw-sort","divide-style"),Ue("--tw-border-style",U),Ue("border-style",U)])])}i("bg-auto",[["background-size","auto"]]),i("bg-cover",[["background-size","cover"]]),i("bg-contain",[["background-size","contain"]]),o("bg-size",{handle(k){if(k)return[Ue("background-size",k)]}}),i("bg-fixed",[["background-attachment","fixed"]]),i("bg-local",[["background-attachment","local"]]),i("bg-scroll",[["background-attachment","scroll"]]),i("bg-top",[["background-position","top"]]),i("bg-top-left",[["background-position","left top"]]),i("bg-top-right",[["background-position","right top"]]),i("bg-bottom",[["background-position","bottom"]]),i("bg-bottom-left",[["background-position","left bottom"]]),i("bg-bottom-right",[["background-position","right bottom"]]),i("bg-left",[["background-position","left"]]),i("bg-right",[["background-position","right"]]),i("bg-center",[["background-position","center"]]),o("bg-position",{handle(k){if(k)return[Ue("background-position",k)]}}),i("bg-repeat",[["background-repeat","repeat"]]),i("bg-no-repeat",[["background-repeat","no-repeat"]]),i("bg-repeat-x",[["background-repeat","repeat-x"]]),i("bg-repeat-y",[["background-repeat","repeat-y"]]),i("bg-repeat-round",[["background-repeat","round"]]),i("bg-repeat-space",[["background-repeat","space"]]),i("bg-none",[["background-image","none"]]);{let k=function(W){let Z="in oklab";if(W?.kind==="named")switch(W.value){case"longer":case"shorter":case"increasing":case"decreasing":Z=`in oklch ${W.value} hue`;break;default:Z=`in ${W.value}`}else W?.kind==="arbitrary"&&(Z=W.value);return Z},$=function({negative:W}){return Z=>{if(!Z.value)return;if(Z.value.kind==="arbitrary"){if(Z.modifier)return;let ne=Z.value.value;switch(Z.value.dataType??pa(ne,["angle"])){case"angle":return ne=W?`calc(${ne} * -1)`:`${ne}`,[Ue("--tw-gradient-position",ne),Ue("background-image",`linear-gradient(var(--tw-gradient-stops,${ne}))`)];default:return W?void 0:[Ue("--tw-gradient-position",ne),Ue("background-image",`linear-gradient(var(--tw-gradient-stops,${ne}))`)]}}let ee=Z.value.value;if(!W&&P.has(ee))ee=P.get(ee);else if(Nr(ee))ee=W?`calc(${ee}deg * -1)`:`${ee}deg`;else return;let J=k(Z.modifier);return[Ue("--tw-gradient-position",`${ee}`),ho("@supports (background-image: linear-gradient(in lab, red, red))",[Ue("--tw-gradient-position",`${ee} ${J}`)]),Ue("background-image","linear-gradient(var(--tw-gradient-stops))")]}},U=function({negative:W}){return Z=>{if(Z.value?.kind==="arbitrary"){if(Z.modifier)return;let ne=Z.value.value;return[Ue("--tw-gradient-position",ne),Ue("background-image",`conic-gradient(var(--tw-gradient-stops,${ne}))`)]}let ee=k(Z.modifier);if(!Z.value)return[Ue("--tw-gradient-position",ee),Ue("background-image","conic-gradient(var(--tw-gradient-stops))")];let J=Z.value.value;if(Nr(J))return J=W?`calc(${J}deg * -1)`:`${J}deg`,[Ue("--tw-gradient-position",`from ${J} ${ee}`),Ue("background-image","conic-gradient(var(--tw-gradient-stops))")]}};var m=k,g=$,y=U;let F=["oklab","oklch","srgb","hsl","longer","shorter","increasing","decreasing"],P=new Map([["to-t","to top"],["to-tr","to top right"],["to-r","to right"],["to-br","to bottom right"],["to-b","to bottom"],["to-bl","to bottom left"],["to-l","to left"],["to-tl","to top left"]]);t.functional("-bg-linear",$({negative:!0})),t.functional("bg-linear",$({negative:!1})),n("bg-linear",()=>[{values:[...P.keys()],modifiers:F},{values:["0","30","60","90","120","150","180","210","240","270","300","330"],supportsNegative:!0,modifiers:F}]),t.functional("-bg-conic",U({negative:!0})),t.functional("bg-conic",U({negative:!1})),n("bg-conic",()=>[{hasDefaultValue:!0,modifiers:F},{values:["0","30","60","90","120","150","180","210","240","270","300","330"],supportsNegative:!0,modifiers:F}]),t.functional("bg-radial",W=>{if(!W.value){let Z=k(W.modifier);return[Ue("--tw-gradient-position",Z),Ue("background-image","radial-gradient(var(--tw-gradient-stops))")]}if(W.value.kind==="arbitrary"){if(W.modifier)return;let Z=W.value.value;return[Ue("--tw-gradient-position",Z),Ue("background-image",`radial-gradient(var(--tw-gradient-stops,${Z}))`)]}}),n("bg-radial",()=>[{hasDefaultValue:!0,modifiers:F}])}t.functional("bg",k=>{if(k.value){if(k.value.kind==="arbitrary"){let $=k.value.value;switch(k.value.dataType??pa($,["image","color","percentage","position","bg-size","length","url"])){case"percentage":case"position":return k.modifier?void 0:[Ue("background-position",$)];case"bg-size":case"length":case"size":return k.modifier?void 0:[Ue("background-size",$)];case"image":case"url":return k.modifier?void 0:[Ue("background-image",$)];default:return $=no($,k.modifier,e),$===null?void 0:[Ue("background-color",$)]}}{let $=xo(k,e,["--background-color","--color"]);if($)return[Ue("background-color",$)]}{if(k.modifier)return;let $=e.resolve(k.value.value,["--background-image"]);if($)return[Ue("background-image",$)]}}}),n("bg",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},(k,$)=>`${$*5}`)},{values:[],valueThemeKeys:["--background-image"]}]);let _=()=>ni([or("--tw-gradient-position"),or("--tw-gradient-from","#0000","<color>"),or("--tw-gradient-via","#0000","<color>"),or("--tw-gradient-to","#0000","<color>"),or("--tw-gradient-stops"),or("--tw-gradient-via-stops"),or("--tw-gradient-from-position","0%","<length-percentage>"),or("--tw-gradient-via-position","50%","<length-percentage>"),or("--tw-gradient-to-position","100%","<length-percentage>")]);function E(k,$){t.functional(k,U=>{if(U.value){if(U.value.kind==="arbitrary"){let F=U.value.value;switch(U.value.dataType??pa(F,["color","length","percentage"])){case"length":case"percentage":return U.modifier?void 0:$.position(F);default:return F=no(F,U.modifier,e),F===null?void 0:$.color(F)}}{let F=xo(U,e,["--background-color","--color"]);if(F)return $.color(F)}{if(U.modifier)return;let F=e.resolve(U.value.value,["--gradient-color-stop-positions"]);if(F)return $.position(F);if(U.value.value[U.value.value.length-1]==="%"&&Nr(U.value.value.slice(0,-1)))return $.position(U.value.value)}}}),n(k,()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},(U,F)=>`${F*5}`)},{values:Array.from({length:21},(U,F)=>`${F*5}%`),valueThemeKeys:["--gradient-color-stop-positions"]}])}E("from",{color:k=>[_(),Ue("--tw-sort","--tw-gradient-from"),Ue("--tw-gradient-from",k),Ue("--tw-gradient-stops","var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))")],position:k=>[_(),Ue("--tw-gradient-from-position",k)]}),i("via-none",[["--tw-gradient-via-stops","initial"]]),E("via",{color:k=>[_(),Ue("--tw-sort","--tw-gradient-via"),Ue("--tw-gradient-via",k),Ue("--tw-gradient-via-stops","var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position)"),Ue("--tw-gradient-stops","var(--tw-gradient-via-stops)")],position:k=>[_(),Ue("--tw-gradient-via-position",k)]}),E("to",{color:k=>[_(),Ue("--tw-sort","--tw-gradient-to"),Ue("--tw-gradient-to",k),Ue("--tw-gradient-stops","var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))")],position:k=>[_(),Ue("--tw-gradient-to-position",k)]}),i("mask-none",[["mask-image","none"]]),t.functional("mask",k=>{if(!k.value||k.modifier||k.value.kind!=="arbitrary")return;let $=k.value.value;switch(k.value.dataType??pa($,["image","percentage","position","bg-size","length","url"])){case"percentage":case"position":return k.modifier?void 0:[Ue("mask-position",$)];case"bg-size":case"length":case"size":return[Ue("mask-size",$)];case"image":case"url":default:return[Ue("mask-image",$)]}}),i("mask-add",[["mask-composite","add"]]),i("mask-subtract",[["mask-composite","subtract"]]),i("mask-intersect",[["mask-composite","intersect"]]),i("mask-exclude",[["mask-composite","exclude"]]),i("mask-alpha",[["mask-mode","alpha"]]),i("mask-luminance",[["mask-mode","luminance"]]),i("mask-match",[["mask-mode","match-source"]]),i("mask-type-alpha",[["mask-type","alpha"]]),i("mask-type-luminance",[["mask-type","luminance"]]),i("mask-auto",[["mask-size","auto"]]),i("mask-cover",[["mask-size","cover"]]),i("mask-contain",[["mask-size","contain"]]),o("mask-size",{handle(k){if(k)return[Ue("mask-size",k)]}}),i("mask-top",[["mask-position","top"]]),i("mask-top-left",[["mask-position","left top"]]),i("mask-top-right",[["mask-position","right top"]]),i("mask-bottom",[["mask-position","bottom"]]),i("mask-bottom-left",[["mask-position","left bottom"]]),i("mask-bottom-right",[["mask-position","right bottom"]]),i("mask-left",[["mask-position","left"]]),i("mask-right",[["mask-position","right"]]),i("mask-center",[["mask-position","center"]]),o("mask-position",{handle(k){if(k)return[Ue("mask-position",k)]}}),i("mask-repeat",[["mask-repeat","repeat"]]),i("mask-no-repeat",[["mask-repeat","no-repeat"]]),i("mask-repeat-x",[["mask-repeat","repeat-x"]]),i("mask-repeat-y",[["mask-repeat","repeat-y"]]),i("mask-repeat-round",[["mask-repeat","round"]]),i("mask-repeat-space",[["mask-repeat","space"]]),i("mask-clip-border",[["mask-clip","border-box"]]),i("mask-clip-padding",[["mask-clip","padding-box"]]),i("mask-clip-content",[["mask-clip","content-box"]]),i("mask-clip-fill",[["mask-clip","fill-box"]]),i("mask-clip-stroke",[["mask-clip","stroke-box"]]),i("mask-clip-view",[["mask-clip","view-box"]]),i("mask-no-clip",[["mask-clip","no-clip"]]),i("mask-origin-border",[["mask-origin","border-box"]]),i("mask-origin-padding",[["mask-origin","padding-box"]]),i("mask-origin-content",[["mask-origin","content-box"]]),i("mask-origin-fill",[["mask-origin","fill-box"]]),i("mask-origin-stroke",[["mask-origin","stroke-box"]]),i("mask-origin-view",[["mask-origin","view-box"]]);let A=()=>ni([or("--tw-mask-linear","linear-gradient(#fff, #fff)"),or("--tw-mask-radial","linear-gradient(#fff, #fff)"),or("--tw-mask-conic","linear-gradient(#fff, #fff)")]);function S(k,$){t.functional(k,U=>{if(U.value){if(U.value.kind==="arbitrary"){let F=U.value.value;switch(U.value.dataType??pa(F,["length","percentage","color"])){case"color":return F=no(F,U.modifier,e),F===null?void 0:$.color(F);case"percentage":return U.modifier||!Nr(F.slice(0,-1))?void 0:$.position(F);default:return U.modifier?void 0:$.position(F)}}{let F=xo(U,e,["--background-color","--color"]);if(F)return $.color(F)}{if(U.modifier)return;let F=pa(U.value.value,["number","percentage"]);if(!F)return;switch(F){case"number":{let P=e.resolve(null,["--spacing"]);return!P||!Mf(U.value.value)?void 0:$.position(`calc(${P} * ${U.value.value})`)}case"percentage":return Nr(U.value.value.slice(0,-1))?$.position(U.value.value):void 0;default:return}}}}),n(k,()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},(U,F)=>`${F*5}`)},{values:Array.from({length:21},(U,F)=>`${F*5}%`),valueThemeKeys:["--gradient-color-stop-positions"]}]),n(k,()=>[{values:Array.from({length:21},(U,F)=>`${F*5}%`)},{values:e.get(["--spacing"])?_T:[]},{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},(U,F)=>`${F*5}`)}])}let T=()=>ni([or("--tw-mask-left","linear-gradient(#fff, #fff)"),or("--tw-mask-right","linear-gradient(#fff, #fff)"),or("--tw-mask-bottom","linear-gradient(#fff, #fff)"),or("--tw-mask-top","linear-gradient(#fff, #fff)")]);function I(k,$,U){S(k,{color(F){let P=[A(),T(),Ue("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),Ue("mask-composite","intersect"),Ue("--tw-mask-linear","var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top)")];for(let W of["top","right","bottom","left"])U[W]&&(P.push(Ue(`--tw-mask-${W}`,`linear-gradient(to ${W}, var(--tw-mask-${W}-from-color) var(--tw-mask-${W}-from-position), var(--tw-mask-${W}-to-color) var(--tw-mask-${W}-to-position))`)),P.push(ni([or(`--tw-mask-${W}-from-position`,"0%"),or(`--tw-mask-${W}-to-position`,"100%"),or(`--tw-mask-${W}-from-color`,"black"),or(`--tw-mask-${W}-to-color`,"transparent")])),P.push(Ue(`--tw-mask-${W}-${$}-color`,F)));return P},position(F){let P=[A(),T(),Ue("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),Ue("mask-composite","intersect"),Ue("--tw-mask-linear","var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top)")];for(let W of["top","right","bottom","left"])U[W]&&(P.push(Ue(`--tw-mask-${W}`,`linear-gradient(to ${W}, var(--tw-mask-${W}-from-color) var(--tw-mask-${W}-from-position), var(--tw-mask-${W}-to-color) var(--tw-mask-${W}-to-position))`)),P.push(ni([or(`--tw-mask-${W}-from-position`,"0%"),or(`--tw-mask-${W}-to-position`,"100%"),or(`--tw-mask-${W}-from-color`,"black"),or(`--tw-mask-${W}-to-color`,"transparent")])),P.push(Ue(`--tw-mask-${W}-${$}-position`,F)));return P}})}I("mask-x-from","from",{top:!1,right:!0,bottom:!1,left:!0}),I("mask-x-to","to",{top:!1,right:!0,bottom:!1,left:!0}),I("mask-y-from","from",{top:!0,right:!1,bottom:!0,left:!1}),I("mask-y-to","to",{top:!0,right:!1,bottom:!0,left:!1}),I("mask-t-from","from",{top:!0,right:!1,bottom:!1,left:!1}),I("mask-t-to","to",{top:!0,right:!1,bottom:!1,left:!1}),I("mask-r-from","from",{top:!1,right:!0,bottom:!1,left:!1}),I("mask-r-to","to",{top:!1,right:!0,bottom:!1,left:!1}),I("mask-b-from","from",{top:!1,right:!1,bottom:!0,left:!1}),I("mask-b-to","to",{top:!1,right:!1,bottom:!0,left:!1}),I("mask-l-from","from",{top:!1,right:!1,bottom:!1,left:!0}),I("mask-l-to","to",{top:!1,right:!1,bottom:!1,left:!0});let L=()=>ni([or("--tw-mask-linear-position","0deg"),or("--tw-mask-linear-from-position","0%"),or("--tw-mask-linear-to-position","100%"),or("--tw-mask-linear-from-color","black"),or("--tw-mask-linear-to-color","transparent")]);o("mask-linear",{defaultValue:null,supportsNegative:!0,supportsFractions:!1,handleBareValue(k){return Nr(k.value)?`calc(1deg * ${k.value})`:null},handleNegativeBareValue(k){return Nr(k.value)?`calc(1deg * -${k.value})`:null},handle:k=>[A(),L(),Ue("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),Ue("mask-composite","intersect"),Ue("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops, var(--tw-mask-linear-position)))"),Ue("--tw-mask-linear-position",k)]}),n("mask-linear",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"]}]),S("mask-linear-from",{color:k=>[A(),L(),Ue("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),Ue("mask-composite","intersect"),Ue("--tw-mask-linear-stops","var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"),Ue("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops))"),Ue("--tw-mask-linear-from-color",k)],position:k=>[A(),L(),Ue("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),Ue("mask-composite","intersect"),Ue("--tw-mask-linear-stops","var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"),Ue("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops))"),Ue("--tw-mask-linear-from-position",k)]}),S("mask-linear-to",{color:k=>[A(),L(),Ue("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),Ue("mask-composite","intersect"),Ue("--tw-mask-linear-stops","var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"),Ue("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops))"),Ue("--tw-mask-linear-to-color",k)],position:k=>[A(),L(),Ue("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),Ue("mask-composite","intersect"),Ue("--tw-mask-linear-stops","var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"),Ue("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops))"),Ue("--tw-mask-linear-to-position",k)]});let x=()=>ni([or("--tw-mask-radial-from-position","0%"),or("--tw-mask-radial-to-position","100%"),or("--tw-mask-radial-from-color","black"),or("--tw-mask-radial-to-color","transparent"),or("--tw-mask-radial-shape","ellipse"),or("--tw-mask-radial-size","farthest-corner"),or("--tw-mask-radial-position","center")]);i("mask-circle",[["--tw-mask-radial-shape","circle"]]),i("mask-ellipse",[["--tw-mask-radial-shape","ellipse"]]),i("mask-radial-closest-side",[["--tw-mask-radial-size","closest-side"]]),i("mask-radial-farthest-side",[["--tw-mask-radial-size","farthest-side"]]),i("mask-radial-closest-corner",[["--tw-mask-radial-size","closest-corner"]]),i("mask-radial-farthest-corner",[["--tw-mask-radial-size","farthest-corner"]]),i("mask-radial-at-top",[["--tw-mask-radial-position","top"]]),i("mask-radial-at-top-left",[["--tw-mask-radial-position","top left"]]),i("mask-radial-at-top-right",[["--tw-mask-radial-position","top right"]]),i("mask-radial-at-bottom",[["--tw-mask-radial-position","bottom"]]),i("mask-radial-at-bottom-left",[["--tw-mask-radial-position","bottom left"]]),i("mask-radial-at-bottom-right",[["--tw-mask-radial-position","bottom right"]]),i("mask-radial-at-left",[["--tw-mask-radial-position","left"]]),i("mask-radial-at-right",[["--tw-mask-radial-position","right"]]),i("mask-radial-at-center",[["--tw-mask-radial-position","center"]]),o("mask-radial-at",{defaultValue:null,supportsNegative:!1,supportsFractions:!1,handle:k=>[Ue("--tw-mask-radial-position",k)]}),o("mask-radial",{defaultValue:null,supportsNegative:!1,supportsFractions:!1,handle:k=>[A(),x(),Ue("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),Ue("mask-composite","intersect"),Ue("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops, var(--tw-mask-radial-size)))"),Ue("--tw-mask-radial-size",k)]}),S("mask-radial-from",{color:k=>[A(),x(),Ue("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),Ue("mask-composite","intersect"),Ue("--tw-mask-radial-stops","var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"),Ue("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops))"),Ue("--tw-mask-radial-from-color",k)],position:k=>[A(),x(),Ue("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),Ue("mask-composite","intersect"),Ue("--tw-mask-radial-stops","var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"),Ue("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops))"),Ue("--tw-mask-radial-from-position",k)]}),S("mask-radial-to",{color:k=>[A(),x(),Ue("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),Ue("mask-composite","intersect"),Ue("--tw-mask-radial-stops","var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"),Ue("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops))"),Ue("--tw-mask-radial-to-color",k)],position:k=>[A(),x(),Ue("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),Ue("mask-composite","intersect"),Ue("--tw-mask-radial-stops","var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"),Ue("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops))"),Ue("--tw-mask-radial-to-position",k)]});let C=()=>ni([or("--tw-mask-conic-position","0deg"),or("--tw-mask-conic-from-position","0%"),or("--tw-mask-conic-to-position","100%"),or("--tw-mask-conic-from-color","black"),or("--tw-mask-conic-to-color","transparent")]);o("mask-conic",{defaultValue:null,supportsNegative:!0,supportsFractions:!1,handleBareValue(k){return Nr(k.value)?`calc(1deg * ${k.value})`:null},handleNegativeBareValue(k){return Nr(k.value)?`calc(1deg * -${k.value})`:null},handle:k=>[A(),C(),Ue("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),Ue("mask-composite","intersect"),Ue("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops, var(--tw-mask-conic-position)))"),Ue("--tw-mask-conic-position",k)]}),n("mask-conic",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"]}]),S("mask-conic-from",{color:k=>[A(),C(),Ue("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),Ue("mask-composite","intersect"),Ue("--tw-mask-conic-stops","from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"),Ue("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops))"),Ue("--tw-mask-conic-from-color",k)],position:k=>[A(),C(),Ue("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),Ue("mask-composite","intersect"),Ue("--tw-mask-conic-stops","from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"),Ue("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops))"),Ue("--tw-mask-conic-from-position",k)]}),S("mask-conic-to",{color:k=>[A(),C(),Ue("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),Ue("mask-composite","intersect"),Ue("--tw-mask-conic-stops","from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"),Ue("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops))"),Ue("--tw-mask-conic-to-color",k)],position:k=>[A(),C(),Ue("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),Ue("mask-composite","intersect"),Ue("--tw-mask-conic-stops","from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"),Ue("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops))"),Ue("--tw-mask-conic-to-position",k)]}),i("box-decoration-slice",[["-webkit-box-decoration-break","slice"],["box-decoration-break","slice"]]),i("box-decoration-clone",[["-webkit-box-decoration-break","clone"],["box-decoration-break","clone"]]),i("bg-clip-text",[["background-clip","text"]]),i("bg-clip-border",[["background-clip","border-box"]]),i("bg-clip-padding",[["background-clip","padding-box"]]),i("bg-clip-content",[["background-clip","content-box"]]),i("bg-origin-border",[["background-origin","border-box"]]),i("bg-origin-padding",[["background-origin","padding-box"]]),i("bg-origin-content",[["background-origin","content-box"]]);for(let k of["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"])i(`bg-blend-${k}`,[["background-blend-mode",k]]),i(`mix-blend-${k}`,[["mix-blend-mode",k]]);i("mix-blend-plus-darker",[["mix-blend-mode","plus-darker"]]),i("mix-blend-plus-lighter",[["mix-blend-mode","plus-lighter"]]),i("fill-none",[["fill","none"]]),t.functional("fill",k=>{if(!k.value)return;if(k.value.kind==="arbitrary"){let U=no(k.value.value,k.modifier,e);return U===null?void 0:[Ue("fill",U)]}let $=xo(k,e,["--fill","--color"]);if($)return[Ue("fill",$)]}),n("fill",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--fill","--color"],modifiers:Array.from({length:21},(k,$)=>`${$*5}`)}]),i("stroke-none",[["stroke","none"]]),t.functional("stroke",k=>{if(k.value){if(k.value.kind==="arbitrary"){let $=k.value.value;switch(k.value.dataType??pa($,["color","number","length","percentage"])){case"number":case"length":case"percentage":return k.modifier?void 0:[Ue("stroke-width",$)];default:return $=no(k.value.value,k.modifier,e),$===null?void 0:[Ue("stroke",$)]}}{let $=xo(k,e,["--stroke","--color"]);if($)return[Ue("stroke",$)]}{let $=e.resolve(k.value.value,["--stroke-width"]);if($)return[Ue("stroke-width",$)];if(Nr(k.value.value))return[Ue("stroke-width",k.value.value)]}}}),n("stroke",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--stroke","--color"],modifiers:Array.from({length:21},(k,$)=>`${$*5}`)},{values:["0","1","2","3"],valueThemeKeys:["--stroke-width"]}]),i("object-contain",[["object-fit","contain"]]),i("object-cover",[["object-fit","cover"]]),i("object-fill",[["object-fit","fill"]]),i("object-none",[["object-fit","none"]]),i("object-scale-down",[["object-fit","scale-down"]]),i("object-top",[["object-position","top"]]),i("object-top-left",[["object-position","left top"]]),i("object-top-right",[["object-position","right top"]]),i("object-bottom",[["object-position","bottom"]]),i("object-bottom-left",[["object-position","left bottom"]]),i("object-bottom-right",[["object-position","right bottom"]]),i("object-left",[["object-position","left"]]),i("object-right",[["object-position","right"]]),i("object-center",[["object-position","center"]]),o("object",{themeKeys:["--object-position"],handle:k=>[Ue("object-position",k)]});for(let[k,$]of[["p","padding"],["px","padding-inline"],["py","padding-block"],["ps","padding-inline-start"],["pe","padding-inline-end"],["pt","padding-top"],["pr","padding-right"],["pb","padding-bottom"],["pl","padding-left"]])c(k,["--padding","--spacing"],U=>[Ue($,U)]);i("text-left",[["text-align","left"]]),i("text-center",[["text-align","center"]]),i("text-right",[["text-align","right"]]),i("text-justify",[["text-align","justify"]]),i("text-start",[["text-align","start"]]),i("text-end",[["text-align","end"]]),c("indent",["--text-indent","--spacing"],k=>[Ue("text-indent",k)],{supportsNegative:!0}),i("align-baseline",[["vertical-align","baseline"]]),i("align-top",[["vertical-align","top"]]),i("align-middle",[["vertical-align","middle"]]),i("align-bottom",[["vertical-align","bottom"]]),i("align-text-top",[["vertical-align","text-top"]]),i("align-text-bottom",[["vertical-align","text-bottom"]]),i("align-sub",[["vertical-align","sub"]]),i("align-super",[["vertical-align","super"]]),o("align",{themeKeys:[],handle:k=>[Ue("vertical-align",k)]}),t.functional("font",k=>{if(!(!k.value||k.modifier)){if(k.value.kind==="arbitrary"){let $=k.value.value;switch(k.value.dataType??pa($,["number","generic-name","family-name"])){case"generic-name":case"family-name":return[Ue("font-family",$)];default:return[ni([or("--tw-font-weight")]),Ue("--tw-font-weight",$),Ue("font-weight",$)]}}{let $=e.resolveWith(k.value.value,["--font"],["--font-feature-settings","--font-variation-settings"]);if($){let[U,F={}]=$;return[Ue("font-family",U),Ue("font-feature-settings",F["--font-feature-settings"]),Ue("font-variation-settings",F["--font-variation-settings"])]}}{let $=e.resolve(k.value.value,["--font-weight"]);if($)return[ni([or("--tw-font-weight")]),Ue("--tw-font-weight",$),Ue("font-weight",$)]}}}),n("font",()=>[{values:[],valueThemeKeys:["--font"]},{values:[],valueThemeKeys:["--font-weight"]}]),i("uppercase",[["text-transform","uppercase"]]),i("lowercase",[["text-transform","lowercase"]]),i("capitalize",[["text-transform","capitalize"]]),i("normal-case",[["text-transform","none"]]),i("italic",[["font-style","italic"]]),i("not-italic",[["font-style","normal"]]),i("underline",[["text-decoration-line","underline"]]),i("overline",[["text-decoration-line","overline"]]),i("line-through",[["text-decoration-line","line-through"]]),i("no-underline",[["text-decoration-line","none"]]),i("font-stretch-normal",[["font-stretch","normal"]]),i("font-stretch-ultra-condensed",[["font-stretch","ultra-condensed"]]),i("font-stretch-extra-condensed",[["font-stretch","extra-condensed"]]),i("font-stretch-condensed",[["font-stretch","condensed"]]),i("font-stretch-semi-condensed",[["font-stretch","semi-condensed"]]),i("font-stretch-semi-expanded",[["font-stretch","semi-expanded"]]),i("font-stretch-expanded",[["font-stretch","expanded"]]),i("font-stretch-extra-expanded",[["font-stretch","extra-expanded"]]),i("font-stretch-ultra-expanded",[["font-stretch","ultra-expanded"]]),o("font-stretch",{handleBareValue:({value:k})=>{if(!k.endsWith("%"))return null;let $=Number(k.slice(0,-1));return!Nr($)||Number.isNaN($)||$<50||$>200?null:k},handle:k=>[Ue("font-stretch",k)]}),n("font-stretch",()=>[{values:["50%","75%","90%","95%","100%","105%","110%","125%","150%","200%"]}]),r("placeholder",{themeKeys:["--background-color","--color"],handle:k=>[Es("&::placeholder",[Ue("--tw-sort","placeholder-color"),Ue("color",k)])]}),i("decoration-solid",[["text-decoration-style","solid"]]),i("decoration-double",[["text-decoration-style","double"]]),i("decoration-dotted",[["text-decoration-style","dotted"]]),i("decoration-dashed",[["text-decoration-style","dashed"]]),i("decoration-wavy",[["text-decoration-style","wavy"]]),i("decoration-auto",[["text-decoration-thickness","auto"]]),i("decoration-from-font",[["text-decoration-thickness","from-font"]]),t.functional("decoration",k=>{if(k.value){if(k.value.kind==="arbitrary"){let $=k.value.value;switch(k.value.dataType??pa($,["color","length","percentage"])){case"length":case"percentage":return k.modifier?void 0:[Ue("text-decoration-thickness",$)];default:return $=no($,k.modifier,e),$===null?void 0:[Ue("text-decoration-color",$)]}}{let $=e.resolve(k.value.value,["--text-decoration-thickness"]);if($)return k.modifier?void 0:[Ue("text-decoration-thickness",$)];if(Nr(k.value.value))return k.modifier?void 0:[Ue("text-decoration-thickness",`${k.value.value}px`)]}{let $=xo(k,e,["--text-decoration-color","--color"]);if($)return[Ue("text-decoration-color",$)]}}}),n("decoration",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--text-decoration-color","--color"],modifiers:Array.from({length:21},(k,$)=>`${$*5}`)},{values:["0","1","2"],valueThemeKeys:["--text-decoration-thickness"]}]),i("animate-none",[["animation","none"]]),o("animate",{themeKeys:["--animate"],handle:k=>[Ue("animation",k)]});{let k=["var(--tw-blur,)","var(--tw-brightness,)","var(--tw-contrast,)","var(--tw-grayscale,)","var(--tw-hue-rotate,)","var(--tw-invert,)","var(--tw-saturate,)","var(--tw-sepia,)","var(--tw-drop-shadow,)"].join(" "),$=["var(--tw-backdrop-blur,)","var(--tw-backdrop-brightness,)","var(--tw-backdrop-contrast,)","var(--tw-backdrop-grayscale,)","var(--tw-backdrop-hue-rotate,)","var(--tw-backdrop-invert,)","var(--tw-backdrop-opacity,)","var(--tw-backdrop-saturate,)","var(--tw-backdrop-sepia,)"].join(" "),U=()=>ni([or("--tw-blur"),or("--tw-brightness"),or("--tw-contrast"),or("--tw-grayscale"),or("--tw-hue-rotate"),or("--tw-invert"),or("--tw-opacity"),or("--tw-saturate"),or("--tw-sepia"),or("--tw-drop-shadow"),or("--tw-drop-shadow-color"),or("--tw-drop-shadow-alpha","100%","<percentage>"),or("--tw-drop-shadow-size")]),F=()=>ni([or("--tw-backdrop-blur"),or("--tw-backdrop-brightness"),or("--tw-backdrop-contrast"),or("--tw-backdrop-grayscale"),or("--tw-backdrop-hue-rotate"),or("--tw-backdrop-invert"),or("--tw-backdrop-opacity"),or("--tw-backdrop-saturate"),or("--tw-backdrop-sepia")]);t.functional("filter",P=>{if(!P.modifier){if(P.value===null)return[U(),Ue("filter",k)];if(P.value.kind==="arbitrary")return[Ue("filter",P.value.value)];switch(P.value.value){case"none":return[Ue("filter","none")]}}}),t.functional("backdrop-filter",P=>{if(!P.modifier){if(P.value===null)return[F(),Ue("-webkit-backdrop-filter",$),Ue("backdrop-filter",$)];if(P.value.kind==="arbitrary")return[Ue("-webkit-backdrop-filter",P.value.value),Ue("backdrop-filter",P.value.value)];switch(P.value.value){case"none":return[Ue("-webkit-backdrop-filter","none"),Ue("backdrop-filter","none")]}}}),o("blur",{themeKeys:["--blur"],handle:P=>[U(),Ue("--tw-blur",`blur(${P})`),Ue("filter",k)]}),i("blur-none",[U,["--tw-blur"," "],["filter",k]]),o("backdrop-blur",{themeKeys:["--backdrop-blur","--blur"],handle:P=>[F(),Ue("--tw-backdrop-blur",`blur(${P})`),Ue("-webkit-backdrop-filter",$),Ue("backdrop-filter",$)]}),i("backdrop-blur-none",[F,["--tw-backdrop-blur"," "],["-webkit-backdrop-filter",$],["backdrop-filter",$]]),o("brightness",{themeKeys:["--brightness"],handleBareValue:({value:P})=>Nr(P)?`${P}%`:null,handle:P=>[U(),Ue("--tw-brightness",`brightness(${P})`),Ue("filter",k)]}),o("backdrop-brightness",{themeKeys:["--backdrop-brightness","--brightness"],handleBareValue:({value:P})=>Nr(P)?`${P}%`:null,handle:P=>[F(),Ue("--tw-backdrop-brightness",`brightness(${P})`),Ue("-webkit-backdrop-filter",$),Ue("backdrop-filter",$)]}),n("brightness",()=>[{values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--brightness"]}]),n("backdrop-brightness",()=>[{values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--backdrop-brightness","--brightness"]}]),o("contrast",{themeKeys:["--contrast"],handleBareValue:({value:P})=>Nr(P)?`${P}%`:null,handle:P=>[U(),Ue("--tw-contrast",`contrast(${P})`),Ue("filter",k)]}),o("backdrop-contrast",{themeKeys:["--backdrop-contrast","--contrast"],handleBareValue:({value:P})=>Nr(P)?`${P}%`:null,handle:P=>[F(),Ue("--tw-backdrop-contrast",`contrast(${P})`),Ue("-webkit-backdrop-filter",$),Ue("backdrop-filter",$)]}),n("contrast",()=>[{values:["0","50","75","100","125","150","200"],valueThemeKeys:["--contrast"]}]),n("backdrop-contrast",()=>[{values:["0","50","75","100","125","150","200"],valueThemeKeys:["--backdrop-contrast","--contrast"]}]),o("grayscale",{themeKeys:["--grayscale"],handleBareValue:({value:P})=>Nr(P)?`${P}%`:null,defaultValue:"100%",handle:P=>[U(),Ue("--tw-grayscale",`grayscale(${P})`),Ue("filter",k)]}),o("backdrop-grayscale",{themeKeys:["--backdrop-grayscale","--grayscale"],handleBareValue:({value:P})=>Nr(P)?`${P}%`:null,defaultValue:"100%",handle:P=>[F(),Ue("--tw-backdrop-grayscale",`grayscale(${P})`),Ue("-webkit-backdrop-filter",$),Ue("backdrop-filter",$)]}),n("grayscale",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--grayscale"],hasDefaultValue:!0}]),n("backdrop-grayscale",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--backdrop-grayscale","--grayscale"],hasDefaultValue:!0}]),o("hue-rotate",{supportsNegative:!0,themeKeys:["--hue-rotate"],handleBareValue:({value:P})=>Nr(P)?`${P}deg`:null,handle:P=>[U(),Ue("--tw-hue-rotate",`hue-rotate(${P})`),Ue("filter",k)]}),o("backdrop-hue-rotate",{supportsNegative:!0,themeKeys:["--backdrop-hue-rotate","--hue-rotate"],handleBareValue:({value:P})=>Nr(P)?`${P}deg`:null,handle:P=>[F(),Ue("--tw-backdrop-hue-rotate",`hue-rotate(${P})`),Ue("-webkit-backdrop-filter",$),Ue("backdrop-filter",$)]}),n("hue-rotate",()=>[{values:["0","15","30","60","90","180"],valueThemeKeys:["--hue-rotate"]}]),n("backdrop-hue-rotate",()=>[{values:["0","15","30","60","90","180"],valueThemeKeys:["--backdrop-hue-rotate","--hue-rotate"]}]),o("invert",{themeKeys:["--invert"],handleBareValue:({value:P})=>Nr(P)?`${P}%`:null,defaultValue:"100%",handle:P=>[U(),Ue("--tw-invert",`invert(${P})`),Ue("filter",k)]}),o("backdrop-invert",{themeKeys:["--backdrop-invert","--invert"],handleBareValue:({value:P})=>Nr(P)?`${P}%`:null,defaultValue:"100%",handle:P=>[F(),Ue("--tw-backdrop-invert",`invert(${P})`),Ue("-webkit-backdrop-filter",$),Ue("backdrop-filter",$)]}),n("invert",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--invert"],hasDefaultValue:!0}]),n("backdrop-invert",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--backdrop-invert","--invert"],hasDefaultValue:!0}]),o("saturate",{themeKeys:["--saturate"],handleBareValue:({value:P})=>Nr(P)?`${P}%`:null,handle:P=>[U(),Ue("--tw-saturate",`saturate(${P})`),Ue("filter",k)]}),o("backdrop-saturate",{themeKeys:["--backdrop-saturate","--saturate"],handleBareValue:({value:P})=>Nr(P)?`${P}%`:null,handle:P=>[F(),Ue("--tw-backdrop-saturate",`saturate(${P})`),Ue("-webkit-backdrop-filter",$),Ue("backdrop-filter",$)]}),n("saturate",()=>[{values:["0","50","100","150","200"],valueThemeKeys:["--saturate"]}]),n("backdrop-saturate",()=>[{values:["0","50","100","150","200"],valueThemeKeys:["--backdrop-saturate","--saturate"]}]),o("sepia",{themeKeys:["--sepia"],handleBareValue:({value:P})=>Nr(P)?`${P}%`:null,defaultValue:"100%",handle:P=>[U(),Ue("--tw-sepia",`sepia(${P})`),Ue("filter",k)]}),o("backdrop-sepia",{themeKeys:["--backdrop-sepia","--sepia"],handleBareValue:({value:P})=>Nr(P)?`${P}%`:null,defaultValue:"100%",handle:P=>[F(),Ue("--tw-backdrop-sepia",`sepia(${P})`),Ue("-webkit-backdrop-filter",$),Ue("backdrop-filter",$)]}),n("sepia",()=>[{values:["0","50","100"],valueThemeKeys:["--sepia"],hasDefaultValue:!0}]),n("backdrop-sepia",()=>[{values:["0","50","100"],valueThemeKeys:["--backdrop-sepia","--sepia"],hasDefaultValue:!0}]),i("drop-shadow-none",[U,["--tw-drop-shadow"," "],["filter",k]]),t.functional("drop-shadow",P=>{let W;if(P.modifier&&(P.modifier.kind==="arbitrary"?W=P.modifier.value:Nr(P.modifier.value)&&(W=`${P.modifier.value}%`)),!P.value){let Z=e.get(["--drop-shadow"]);return Z===null?void 0:[U(),Ue("--tw-drop-shadow-alpha",W),...HT("--tw-drop-shadow-size",Z,W,ee=>`var(--tw-drop-shadow-color, ${ee})`),Ue("--tw-drop-shadow",`drop-shadow(${e.resolve(null,["--drop-shadow"])})`),Ue("filter",k)]}if(P.value.kind==="arbitrary"){let Z=P.value.value;switch(P.value.dataType??pa(Z,["color"])){case"color":return Z=no(Z,P.modifier,e),Z===null?void 0:[U(),Ue("--tw-drop-shadow-color",Do(Z,"var(--tw-drop-shadow-alpha)")),Ue("--tw-drop-shadow","var(--tw-drop-shadow-size)")];default:return P.modifier&&!W?void 0:[U(),Ue("--tw-drop-shadow-alpha",W),...HT("--tw-drop-shadow-size",Z,W,ee=>`var(--tw-drop-shadow-color, ${ee})`),Ue("--tw-drop-shadow","var(--tw-drop-shadow-size)"),Ue("filter",k)]}}{let Z=e.get([`--drop-shadow-${P.value.value}`]);if(Z)return P.modifier&&!W?void 0:W?[U(),Ue("--tw-drop-shadow-alpha",W),...HT("--tw-drop-shadow-size",Z,W,ee=>`var(--tw-drop-shadow-color, ${ee})`),Ue("--tw-drop-shadow","var(--tw-drop-shadow-size)"),Ue("filter",k)]:[U(),Ue("--tw-drop-shadow-alpha",W),...HT("--tw-drop-shadow-size",Z,W,ee=>`var(--tw-drop-shadow-color, ${ee})`),Ue("--tw-drop-shadow",`drop-shadow(${e.resolve(P.value.value,["--drop-shadow"])})`),Ue("filter",k)]}{let Z=xo(P,e,["--drop-shadow-color","--color"]);if(Z)return[U(),Ue("--tw-drop-shadow-color",Do(Z,"var(--tw-drop-shadow-alpha)")),Ue("--tw-drop-shadow","var(--tw-drop-shadow-size)")]}}),n("drop-shadow",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--drop-shadow-color","--color"],modifiers:Array.from({length:21},(P,W)=>`${W*5}`)},{valueThemeKeys:["--drop-shadow"]}]),o("backdrop-opacity",{themeKeys:["--backdrop-opacity","--opacity"],handleBareValue:({value:P})=>aT(P)?`${P}%`:null,handle:P=>[F(),Ue("--tw-backdrop-opacity",`opacity(${P})`),Ue("-webkit-backdrop-filter",$),Ue("backdrop-filter",$)]}),n("backdrop-opacity",()=>[{values:Array.from({length:21},(P,W)=>`${W*5}`),valueThemeKeys:["--backdrop-opacity","--opacity"]}])}{let k=`var(--tw-ease, ${e.resolve(null,["--default-transition-timing-function"])??"ease"})`,$=`var(--tw-duration, ${e.resolve(null,["--default-transition-duration"])??"0s"})`;i("transition-none",[["transition-property","none"]]),i("transition-all",[["transition-property","all"],["transition-timing-function",k],["transition-duration",$]]),i("transition-colors",[["transition-property","color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to"],["transition-timing-function",k],["transition-duration",$]]),i("transition-opacity",[["transition-property","opacity"],["transition-timing-function",k],["transition-duration",$]]),i("transition-shadow",[["transition-property","box-shadow"],["transition-timing-function",k],["transition-duration",$]]),i("transition-transform",[["transition-property","transform, translate, scale, rotate"],["transition-timing-function",k],["transition-duration",$]]),o("transition",{defaultValue:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter",themeKeys:["--transition-property"],handle:U=>[Ue("transition-property",U),Ue("transition-timing-function",k),Ue("transition-duration",$)]}),i("transition-discrete",[["transition-behavior","allow-discrete"]]),i("transition-normal",[["transition-behavior","normal"]]),o("delay",{handleBareValue:({value:U})=>Nr(U)?`${U}ms`:null,themeKeys:["--transition-delay"],handle:U=>[Ue("transition-delay",U)]});{let U=()=>ni([or("--tw-duration")]);i("duration-initial",[U,["--tw-duration","initial"]]),t.functional("duration",F=>{if(F.modifier||!F.value)return;let P=null;if(F.value.kind==="arbitrary"?P=F.value.value:(P=e.resolve(F.value.fraction??F.value.value,["--transition-duration"]),P===null&&Nr(F.value.value)&&(P=`${F.value.value}ms`)),P!==null)return[U(),Ue("--tw-duration",P),Ue("transition-duration",P)]})}n("delay",()=>[{values:["75","100","150","200","300","500","700","1000"],valueThemeKeys:["--transition-delay"]}]),n("duration",()=>[{values:["75","100","150","200","300","500","700","1000"],valueThemeKeys:["--transition-duration"]}])}{let k=()=>ni([or("--tw-ease")]);i("ease-initial",[k,["--tw-ease","initial"]]),i("ease-linear",[k,["--tw-ease","linear"],["transition-timing-function","linear"]]),o("ease",{themeKeys:["--ease"],handle:$=>[k(),Ue("--tw-ease",$),Ue("transition-timing-function",$)]})}i("will-change-auto",[["will-change","auto"]]),i("will-change-scroll",[["will-change","scroll-position"]]),i("will-change-contents",[["will-change","contents"]]),i("will-change-transform",[["will-change","transform"]]),o("will-change",{themeKeys:[],handle:k=>[Ue("will-change",k)]}),i("content-none",[["--tw-content","none"],["content","none"]]),o("content",{themeKeys:[],handle:k=>[ni([or("--tw-content",'""')]),Ue("--tw-content",k),Ue("content","var(--tw-content)")]});{let k="var(--tw-contain-size,) var(--tw-contain-layout,) var(--tw-contain-paint,) var(--tw-contain-style,)",$=()=>ni([or("--tw-contain-size"),or("--tw-contain-layout"),or("--tw-contain-paint"),or("--tw-contain-style")]);i("contain-none",[["contain","none"]]),i("contain-content",[["contain","content"]]),i("contain-strict",[["contain","strict"]]),i("contain-size",[$,["--tw-contain-size","size"],["contain",k]]),i("contain-inline-size",[$,["--tw-contain-size","inline-size"],["contain",k]]),i("contain-layout",[$,["--tw-contain-layout","layout"],["contain",k]]),i("contain-paint",[$,["--tw-contain-paint","paint"],["contain",k]]),i("contain-style",[$,["--tw-contain-style","style"],["contain",k]]),o("contain",{themeKeys:[],handle:U=>[Ue("contain",U)]})}i("forced-color-adjust-none",[["forced-color-adjust","none"]]),i("forced-color-adjust-auto",[["forced-color-adjust","auto"]]),i("leading-none",[()=>ni([or("--tw-leading")]),["--tw-leading","1"],["line-height","1"]]),c("leading",["--leading","--spacing"],k=>[ni([or("--tw-leading")]),Ue("--tw-leading",k),Ue("line-height",k)]),o("tracking",{supportsNegative:!0,themeKeys:["--tracking"],handle:k=>[ni([or("--tw-tracking")]),Ue("--tw-tracking",k),Ue("letter-spacing",k)]}),i("antialiased",[["-webkit-font-smoothing","antialiased"],["-moz-osx-font-smoothing","grayscale"]]),i("subpixel-antialiased",[["-webkit-font-smoothing","auto"],["-moz-osx-font-smoothing","auto"]]);{let k="var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)",$=()=>ni([or("--tw-ordinal"),or("--tw-slashed-zero"),or("--tw-numeric-figure"),or("--tw-numeric-spacing"),or("--tw-numeric-fraction")]);i("normal-nums",[["font-variant-numeric","normal"]]),i("ordinal",[$,["--tw-ordinal","ordinal"],["font-variant-numeric",k]]),i("slashed-zero",[$,["--tw-slashed-zero","slashed-zero"],["font-variant-numeric",k]]),i("lining-nums",[$,["--tw-numeric-figure","lining-nums"],["font-variant-numeric",k]]),i("oldstyle-nums",[$,["--tw-numeric-figure","oldstyle-nums"],["font-variant-numeric",k]]),i("proportional-nums",[$,["--tw-numeric-spacing","proportional-nums"],["font-variant-numeric",k]]),i("tabular-nums",[$,["--tw-numeric-spacing","tabular-nums"],["font-variant-numeric",k]]),i("diagonal-fractions",[$,["--tw-numeric-fraction","diagonal-fractions"],["font-variant-numeric",k]]),i("stacked-fractions",[$,["--tw-numeric-fraction","stacked-fractions"],["font-variant-numeric",k]])}{let k=()=>ni([or("--tw-outline-style","solid")]);t.static("outline-hidden",()=>[Ue("--tw-outline-style","none"),Ue("outline-style","none"),ss("@media","(forced-colors: active)",[Ue("outline","2px solid transparent"),Ue("outline-offset","2px")])]),i("outline-none",[["--tw-outline-style","none"],["outline-style","none"]]),i("outline-solid",[["--tw-outline-style","solid"],["outline-style","solid"]]),i("outline-dashed",[["--tw-outline-style","dashed"],["outline-style","dashed"]]),i("outline-dotted",[["--tw-outline-style","dotted"],["outline-style","dotted"]]),i("outline-double",[["--tw-outline-style","double"],["outline-style","double"]]),t.functional("outline",$=>{if($.value===null){if($.modifier)return;let U=e.get(["--default-outline-width"])??"1px";return[k(),Ue("outline-style","var(--tw-outline-style)"),Ue("outline-width",U)]}if($.value.kind==="arbitrary"){let U=$.value.value;switch($.value.dataType??pa(U,["color","length","number","percentage"])){case"length":case"number":case"percentage":return $.modifier?void 0:[k(),Ue("outline-style","var(--tw-outline-style)"),Ue("outline-width",U)];default:return U=no(U,$.modifier,e),U===null?void 0:[Ue("outline-color",U)]}}{let U=xo($,e,["--outline-color","--color"]);if(U)return[Ue("outline-color",U)]}{if($.modifier)return;let U=e.resolve($.value.value,["--outline-width"]);if(U)return[k(),Ue("outline-style","var(--tw-outline-style)"),Ue("outline-width",U)];if(Nr($.value.value))return[k(),Ue("outline-style","var(--tw-outline-style)"),Ue("outline-width",`${$.value.value}px`)]}}),n("outline",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--outline-color","--color"],modifiers:Array.from({length:21},($,U)=>`${U*5}`),hasDefaultValue:!0},{values:["0","1","2","4","8"],valueThemeKeys:["--outline-width"]}]),o("outline-offset",{supportsNegative:!0,themeKeys:["--outline-offset"],handleBareValue:({value:$})=>Nr($)?`${$}px`:null,handle:$=>[Ue("outline-offset",$)]}),n("outline-offset",()=>[{supportsNegative:!0,values:["0","1","2","4","8"],valueThemeKeys:["--outline-offset"]}])}o("opacity",{themeKeys:["--opacity"],handleBareValue:({value:k})=>aT(k)?`${k}%`:null,handle:k=>[Ue("opacity",k)]}),n("opacity",()=>[{values:Array.from({length:21},(k,$)=>`${$*5}`),valueThemeKeys:["--opacity"]}]),i("underline-offset-auto",[["text-underline-offset","auto"]]),o("underline-offset",{supportsNegative:!0,themeKeys:["--text-underline-offset"],handleBareValue:({value:k})=>Nr(k)?`${k}px`:null,handle:k=>[Ue("text-underline-offset",k)]}),n("underline-offset",()=>[{supportsNegative:!0,values:["0","1","2","4","8"],valueThemeKeys:["--text-underline-offset"]}]),t.functional("text",k=>{if(k.value){if(k.value.kind==="arbitrary"){let $=k.value.value;switch(k.value.dataType??pa($,["color","length","percentage","absolute-size","relative-size"])){case"size":case"length":case"percentage":case"absolute-size":case"relative-size":{if(k.modifier){let U=k.modifier.kind==="arbitrary"?k.modifier.value:e.resolve(k.modifier.value,["--leading"]);if(!U&&Mf(k.modifier.value)){let F=e.resolve(null,["--spacing"]);if(!F)return null;U=`calc(${F} * ${k.modifier.value})`}return!U&&k.modifier.value==="none"&&(U="1"),U?[Ue("font-size",$),Ue("line-height",U)]:null}return[Ue("font-size",$)]}default:return $=no($,k.modifier,e),$===null?void 0:[Ue("color",$)]}}{let $=xo(k,e,["--text-color","--color"]);if($)return[Ue("color",$)]}{let $=e.resolveWith(k.value.value,["--text"],["--line-height","--letter-spacing","--font-weight"]);if($){let[U,F={}]=Array.isArray($)?$:[$];if(k.modifier){let P=k.modifier.kind==="arbitrary"?k.modifier.value:e.resolve(k.modifier.value,["--leading"]);if(!P&&Mf(k.modifier.value)){let Z=e.resolve(null,["--spacing"]);if(!Z)return null;P=`calc(${Z} * ${k.modifier.value})`}if(!P&&k.modifier.value==="none"&&(P="1"),!P)return null;let W=[Ue("font-size",U)];return P&&W.push(Ue("line-height",P)),W}return typeof F=="string"?[Ue("font-size",U),Ue("line-height",F)]:[Ue("font-size",U),Ue("line-height",F["--line-height"]?`var(--tw-leading, ${F["--line-height"]})`:void 0),Ue("letter-spacing",F["--letter-spacing"]?`var(--tw-tracking, ${F["--letter-spacing"]})`:void 0),Ue("font-weight",F["--font-weight"]?`var(--tw-font-weight, ${F["--font-weight"]})`:void 0)]}}}}),n("text",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--text-color","--color"],modifiers:Array.from({length:21},(k,$)=>`${$*5}`)},{values:[],valueThemeKeys:["--text"],modifiers:[],modifierThemeKeys:["--leading"]}]);let D=()=>ni([or("--tw-text-shadow-color"),or("--tw-text-shadow-alpha","100%","<percentage>")]);i("text-shadow-initial",[D,["--tw-text-shadow-color","initial"]]),t.functional("text-shadow",k=>{let $;if(k.modifier&&(k.modifier.kind==="arbitrary"?$=k.modifier.value:Nr(k.modifier.value)&&($=`${k.modifier.value}%`)),!k.value){let U=e.get(["--text-shadow"]);return U===null?void 0:[D(),Ue("--tw-text-shadow-alpha",$),...zH("text-shadow",U,$,F=>`var(--tw-text-shadow-color, ${F})`)]}if(k.value.kind==="arbitrary"){let U=k.value.value;switch(k.value.dataType??pa(U,["color"])){case"color":return U=no(U,k.modifier,e),U===null?void 0:[D(),Ue("--tw-text-shadow-color",Do(U,"var(--tw-text-shadow-alpha)"))];default:return[D(),Ue("--tw-text-shadow-alpha",$),...zH("text-shadow",U,$,F=>`var(--tw-text-shadow-color, ${F})`)]}}switch(k.value.value){case"none":return k.modifier?void 0:[D(),Ue("text-shadow","none")]}{let U=e.get([`--text-shadow-${k.value.value}`]);if(U)return[D(),Ue("--tw-text-shadow-alpha",$),...zH("text-shadow",U,$,F=>`var(--tw-text-shadow-color, ${F})`)]}{let U=xo(k,e,["--text-shadow-color","--color"]);if(U)return[D(),Ue("--tw-text-shadow-color",Do(U,"var(--tw-text-shadow-alpha)"))]}}),n("text-shadow",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--text-shadow-color","--color"],modifiers:Array.from({length:21},(k,$)=>`${$*5}`)},{values:["none"]},{valueThemeKeys:["--text-shadow"],modifiers:Array.from({length:21},(k,$)=>`${$*5}`),hasDefaultValue:!0}]);{let k=function(ee){return`var(--tw-ring-inset,) 0 0 0 calc(${ee} + var(--tw-ring-offset-width)) var(--tw-ring-color, ${W})`},$=function(ee){return`inset 0 0 0 ${ee} var(--tw-inset-ring-color, currentColor)`};var O=k,j=$;let U=["var(--tw-inset-shadow)","var(--tw-inset-ring-shadow)","var(--tw-ring-offset-shadow)","var(--tw-ring-shadow)","var(--tw-shadow)"].join(", "),F="0 0 #0000",P=()=>ni([or("--tw-shadow",F),or("--tw-shadow-color"),or("--tw-shadow-alpha","100%","<percentage>"),or("--tw-inset-shadow",F),or("--tw-inset-shadow-color"),or("--tw-inset-shadow-alpha","100%","<percentage>"),or("--tw-ring-color"),or("--tw-ring-shadow",F),or("--tw-inset-ring-color"),or("--tw-inset-ring-shadow",F),or("--tw-ring-inset"),or("--tw-ring-offset-width","0px","<length>"),or("--tw-ring-offset-color","#fff"),or("--tw-ring-offset-shadow",F)]);i("shadow-initial",[P,["--tw-shadow-color","initial"]]),t.functional("shadow",ee=>{let J;if(ee.modifier&&(ee.modifier.kind==="arbitrary"?J=ee.modifier.value:Nr(ee.modifier.value)&&(J=`${ee.modifier.value}%`)),!ee.value){let ne=e.get(["--shadow"]);return ne===null?void 0:[P(),Ue("--tw-shadow-alpha",J),...zH("--tw-shadow",ne,J,K=>`var(--tw-shadow-color, ${K})`),Ue("box-shadow",U)]}if(ee.value.kind==="arbitrary"){let ne=ee.value.value;switch(ee.value.dataType??pa(ne,["color"])){case"color":return ne=no(ne,ee.modifier,e),ne===null?void 0:[P(),Ue("--tw-shadow-color",Do(ne,"var(--tw-shadow-alpha)"))];default:return[P(),Ue("--tw-shadow-alpha",J),...zH("--tw-shadow",ne,J,K=>`var(--tw-shadow-color, ${K})`),Ue("box-shadow",U)]}}switch(ee.value.value){case"none":return ee.modifier?void 0:[P(),Ue("--tw-shadow",F),Ue("box-shadow",U)]}{let ne=e.get([`--shadow-${ee.value.value}`]);if(ne)return[P(),Ue("--tw-shadow-alpha",J),...zH("--tw-shadow",ne,J,K=>`var(--tw-shadow-color, ${K})`),Ue("box-shadow",U)]}{let ne=xo(ee,e,["--box-shadow-color","--color"]);if(ne)return[P(),Ue("--tw-shadow-color",Do(ne,"var(--tw-shadow-alpha)"))]}}),n("shadow",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--box-shadow-color","--color"],modifiers:Array.from({length:21},(ee,J)=>`${J*5}`)},{values:["none"]},{valueThemeKeys:["--shadow"],modifiers:Array.from({length:21},(ee,J)=>`${J*5}`),hasDefaultValue:!0}]),i("inset-shadow-initial",[P,["--tw-inset-shadow-color","initial"]]),t.functional("inset-shadow",ee=>{let J;if(ee.modifier&&(ee.modifier.kind==="arbitrary"?J=ee.modifier.value:Nr(ee.modifier.value)&&(J=`${ee.modifier.value}%`)),!ee.value){let ne=e.get(["--inset-shadow"]);return ne===null?void 0:[P(),Ue("--tw-inset-shadow-alpha",J),...zH("--tw-inset-shadow",ne,J,K=>`var(--tw-inset-shadow-color, ${K})`),Ue("box-shadow",U)]}if(ee.value.kind==="arbitrary"){let ne=ee.value.value;switch(ee.value.dataType??pa(ne,["color"])){case"color":return ne=no(ne,ee.modifier,e),ne===null?void 0:[P(),Ue("--tw-inset-shadow-color",Do(ne,"var(--tw-inset-shadow-alpha)"))];default:return[P(),Ue("--tw-inset-shadow-alpha",J),...zH("--tw-inset-shadow",ne,J,K=>`var(--tw-inset-shadow-color, ${K})`,"inset "),Ue("box-shadow",U)]}}switch(ee.value.value){case"none":return ee.modifier?void 0:[P(),Ue("--tw-inset-shadow",F),Ue("box-shadow",U)]}{let ne=e.get([`--inset-shadow-${ee.value.value}`]);if(ne)return[P(),Ue("--tw-inset-shadow-alpha",J),...zH("--tw-inset-shadow",ne,J,K=>`var(--tw-inset-shadow-color, ${K})`),Ue("box-shadow",U)]}{let ne=xo(ee,e,["--box-shadow-color","--color"]);if(ne)return[P(),Ue("--tw-inset-shadow-color",Do(ne,"var(--tw-inset-shadow-alpha)"))]}}),n("inset-shadow",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--box-shadow-color","--color"],modifiers:Array.from({length:21},(ee,J)=>`${J*5}`)},{values:["none"]},{valueThemeKeys:["--inset-shadow"],modifiers:Array.from({length:21},(ee,J)=>`${J*5}`),hasDefaultValue:!0}]),i("ring-inset",[P,["--tw-ring-inset","inset"]]);let W=e.get(["--default-ring-color"])??"currentColor";t.functional("ring",ee=>{if(!ee.value){if(ee.modifier)return;let J=e.get(["--default-ring-width"])??"1px";return[P(),Ue("--tw-ring-shadow",k(J)),Ue("box-shadow",U)]}if(ee.value.kind==="arbitrary"){let J=ee.value.value;switch(ee.value.dataType??pa(J,["color","length"])){case"length":return ee.modifier?void 0:[P(),Ue("--tw-ring-shadow",k(J)),Ue("box-shadow",U)];default:return J=no(J,ee.modifier,e),J===null?void 0:[Ue("--tw-ring-color",J)]}}{let J=xo(ee,e,["--ring-color","--color"]);if(J)return[Ue("--tw-ring-color",J)]}{if(ee.modifier)return;let J=e.resolve(ee.value.value,["--ring-width"]);if(J===null&&Nr(ee.value.value)&&(J=`${ee.value.value}px`),J)return[P(),Ue("--tw-ring-shadow",k(J)),Ue("box-shadow",U)]}}),n("ring",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--ring-color","--color"],modifiers:Array.from({length:21},(ee,J)=>`${J*5}`)},{values:["0","1","2","4","8"],valueThemeKeys:["--ring-width"],hasDefaultValue:!0}]),t.functional("inset-ring",ee=>{if(!ee.value)return ee.modifier?void 0:[P(),Ue("--tw-inset-ring-shadow",$("1px")),Ue("box-shadow",U)];if(ee.value.kind==="arbitrary"){let J=ee.value.value;switch(ee.value.dataType??pa(J,["color","length"])){case"length":return ee.modifier?void 0:[P(),Ue("--tw-inset-ring-shadow",$(J)),Ue("box-shadow",U)];default:return J=no(J,ee.modifier,e),J===null?void 0:[Ue("--tw-inset-ring-color",J)]}}{let J=xo(ee,e,["--ring-color","--color"]);if(J)return[Ue("--tw-inset-ring-color",J)]}{if(ee.modifier)return;let J=e.resolve(ee.value.value,["--ring-width"]);if(J===null&&Nr(ee.value.value)&&(J=`${ee.value.value}px`),J)return[P(),Ue("--tw-inset-ring-shadow",$(J)),Ue("box-shadow",U)]}}),n("inset-ring",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--ring-color","--color"],modifiers:Array.from({length:21},(ee,J)=>`${J*5}`)},{values:["0","1","2","4","8"],valueThemeKeys:["--ring-width"],hasDefaultValue:!0}]);let Z="var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)";t.functional("ring-offset",ee=>{if(ee.value){if(ee.value.kind==="arbitrary"){let J=ee.value.value;switch(ee.value.dataType??pa(J,["color","length"])){case"length":return ee.modifier?void 0:[Ue("--tw-ring-offset-width",J),Ue("--tw-ring-offset-shadow",Z)];default:return J=no(J,ee.modifier,e),J===null?void 0:[Ue("--tw-ring-offset-color",J)]}}{let J=e.resolve(ee.value.value,["--ring-offset-width"]);if(J)return ee.modifier?void 0:[Ue("--tw-ring-offset-width",J),Ue("--tw-ring-offset-shadow",Z)];if(Nr(ee.value.value))return ee.modifier?void 0:[Ue("--tw-ring-offset-width",`${ee.value.value}px`),Ue("--tw-ring-offset-shadow",Z)]}{let J=xo(ee,e,["--ring-offset-color","--color"]);if(J)return[Ue("--tw-ring-offset-color",J)]}}})}return n("ring-offset",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--ring-offset-color","--color"],modifiers:Array.from({length:21},(k,$)=>`${$*5}`)},{values:["0","1","2","4","8"],valueThemeKeys:["--ring-offset-width"]}]),t.functional("@container",k=>{let $=null;if(k.value===null?$="inline-size":k.value.kind==="arbitrary"?$=k.value.value:k.value.kind==="named"&&k.value.value==="normal"&&($="normal"),$!==null)return k.modifier?[Ue("container-type",$),Ue("container-name",k.modifier.value)]:[Ue("container-type",$)]}),n("@container",()=>[{values:["normal"],valueThemeKeys:[],hasDefaultValue:!0}]),t}function DWe(e){let t=e.params;return vWe.test(t)?n=>{let i={"--value":{usedSpacingInteger:!1,usedSpacingNumber:!1,themeKeys:new Set,literals:new Set},"--modifier":{usedSpacingInteger:!1,usedSpacingNumber:!1,themeKeys:new Set,literals:new Set}};as(e.nodes,o=>{if(o.kind!=="declaration"||!o.value||!o.value.includes("--value(")&&!o.value.includes("--modifier("))return;let r=Po(o.value);zu(r,c=>{if(c.kind!=="function")return;if(c.value==="--spacing"&&!(i["--modifier"].usedSpacingNumber&&i["--value"].usedSpacingNumber))return zu(c.nodes,u=>{if(u.kind!=="function"||u.value!=="--value"&&u.value!=="--modifier")return;let H=u.value;for(let a of u.nodes)if(a.kind==="word"){if(a.value==="integer")i[H].usedSpacingInteger||=!0;else if(a.value==="number"&&(i[H].usedSpacingNumber||=!0,i["--modifier"].usedSpacingNumber&&i["--value"].usedSpacingNumber))return 2}}),0;if(c.value!=="--value"&&c.value!=="--modifier")return;let s=ui(Ic(c.nodes),",");for(let[u,H]of s.entries())H=H.replace(/\\\*/g,"*"),H=H.replace(/--(.*?)\s--(.*?)/g,"--$1-*--$2"),H=H.replace(/\s+/g,""),H=H.replace(/(-\*){2,}/g,"-*"),H[0]==="-"&&H[1]==="-"&&!H.includes("-*")&&(H+="-*"),s[u]=H;c.nodes=Po(s.join(","));for(let u of c.nodes)if(u.kind==="word"&&(u.value[0]==='"'||u.value[0]==="'")&&u.value[0]===u.value[u.value.length-1]){let H=u.value.slice(1,-1);i[c.value].literals.add(H)}else if(u.kind==="word"&&u.value[0]==="-"&&u.value[1]==="-"){let H=u.value.replace(/-\*.*$/g,"");i[c.value].themeKeys.add(H)}}),o.value=Ic(r)}),n.utilities.functional(t.slice(0,-2),o=>{let r=structuredClone(e),c=o.value,s=o.modifier;if(c===null)return;let u=!1,H=!1,a=!1,l=!1,p=new Map,d=!1;if(as([r],(h,{parent:m,replaceWith:g})=>{if(m?.kind!=="rule"&&m?.kind!=="at-rule"||h.kind!=="declaration"||!h.value)return;let y=Po(h.value);(zu(y,(_,{replaceWith:E})=>{if(_.kind==="function"){if(_.value==="--value"){u=!0;let A=Yae(c,_,n);return A?(H=!0,A.ratio?d=!0:p.set(h,m),E(A.nodes),1):(u||=!1,g([]),2)}else if(_.value==="--modifier"){if(s===null)return g([]),2;a=!0;let A=Yae(s,_,n);return A?(l=!0,E(A.nodes),1):(a||=!1,g([]),2)}}})??0)===0&&(h.value=Ic(y))}),u&&!H||a&&!l||d&&l||s&&!d&&!l)return null;if(d)for(let[h,m]of p){let g=m.nodes.indexOf(h);g!==-1&&m.nodes.splice(g,1)}return r.nodes}),n.utilities.suggest(t.slice(0,-2),()=>{let o=[],r=[];for(let[c,{literals:s,usedSpacingNumber:u,usedSpacingInteger:H,themeKeys:a}]of[[o,i["--value"]],[r,i["--modifier"]]]){for(let l of s)c.push(l);if(u)c.push(..._T);else if(H)for(let l of _T)Nr(l)&&c.push(l);for(let l of n.theme.keysInNamespaces(a))c.push(l)}return[{values:o,modifiers:r}]})}:TWe.test(t)?n=>{n.utilities.static(t,()=>structuredClone(e.nodes))}:null}function Yae(e,t,n){for(let i of t.nodes){if(e.kind==="named"&&i.kind==="word"&&(i.value[0]==="'"||i.value[0]==='"')&&i.value[i.value.length-1]===i.value[0]&&i.value.slice(1,-1)===e.value)return{nodes:Po(e.value)};if(e.kind==="named"&&i.kind==="word"&&i.value[0]==="-"&&i.value[1]==="-"){let o=i.value;if(o.endsWith("-*")){o=o.slice(0,-2);let r=n.theme.resolve(e.value,[o]);if(r)return{nodes:Po(r)}}else{let r=o.split("-*");if(r.length<=1)continue;let c=[r.shift()],s=n.theme.resolveWith(e.value,c,r);if(s){let[,u={}]=s;{let H=u[r.pop()];if(H)return{nodes:Po(H)}}}}}else if(e.kind==="named"&&i.kind==="word"){if(i.value!=="number"&&i.value!=="integer"&&i.value!=="ratio"&&i.value!=="percentage")continue;let o=i.value==="ratio"&&"fraction"in e?e.fraction:e.value;if(!o)continue;let r=pa(o,[i.value]);if(r===null)continue;if(r==="ratio"){let[c,s]=ui(o,"/");if(!Nr(c)||!Nr(s))continue}else if(r==="number"&&!Mf(o)||r==="percentage"&&!Nr(o.slice(0,-1)))continue;return{nodes:Po(o),ratio:r==="ratio"}}else if(e.kind==="arbitrary"&&i.kind==="word"&&i.value[0]==="["&&i.value[i.value.length-1]==="]"){let o=i.value.slice(1,-1);if(o==="*")return{nodes:Po(e.value)};if("dataType"in e&&e.dataType&&e.dataType!==o)continue;if("dataType"in e&&e.dataType)return{nodes:Po(e.value)};if(pa(e.value,[o])!==null)return{nodes:Po(e.value)}}}}function zH(e,t,n,i,o=""){let r=!1,c=hT(t,s=>n==null?i(s):s.startsWith("current")?i(Do(s,n)):((s.startsWith("var(")||n.startsWith("var("))&&(r=!0),i(Doe(s,n))));return r?[Ue(e,o+hT(t,i)),ho("@supports (color: lab(from red l a b))",[Ue(e,o+c)])]:[Ue(e,o+c)]}function HT(e,t,n,i,o=""){let r=!1,c=ui(t,",").map(s=>hT(s,u=>n==null?i(u):u.startsWith("current")?i(Do(u,n)):((u.startsWith("var(")||n.startsWith("var("))&&(r=!0),i(Doe(u,n))))).map(s=>`drop-shadow(${s})`).join(" ");return r?[Ue(e,o+ui(t,",").map(s=>`drop-shadow(${hT(s,i)})`).join(" ")),ho("@supports (color: lab(from red l a b))",[Ue(e,o+c)])]:[Ue(e,o+c)]}function PWe(e,t,n,...i){let[o,r]=ui(n,"/").map(c=>c.trim());if(!o||!r)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${o||"var(--my-color)"} / ${r||"50%"})\``);if(i.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${o||"var(--my-color)"} / ${r||"50%"})\``);return Do(o,r)}function wWe(e,t,n,...i){if(!n)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(i.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${i.length+1}.`);let o=e.theme.resolve(null,["--spacing"]);if(!o)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${o} * ${n})`}function kWe(e,t,n,...i){if(!n.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let o=!1;n.endsWith(" inline")&&(o=!0,n=n.slice(0,-7)),t.kind==="at-rule"&&(o=!0);let r=e.resolveThemeValue(n,o);if(!r){if(i.length>0)return i.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${n})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(i.length===0)return r;let c=i.join(", ");if(c==="initial")return r;if(r==="initial")return c;if(r.startsWith("var(")||r.startsWith("theme(")||r.startsWith("--theme(")){let s=Po(r);return $We(s,c),Ic(s)}return r}function NWe(e,t,n,...i){n=RWe(n);let o=e.resolveThemeValue(n);if(!o&&i.length>0)return i.join(", ");if(!o)throw new Error(`Could not resolve value for theme function: \`theme(${n})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return o}function nM(e,t){let n=0;return as(e,i=>{if(i.kind==="declaration"&&i.value&&eoe.test(i.value)){n|=8,i.value=toe(i.value,i,t);return}i.kind==="at-rule"&&(i.name==="@media"||i.name==="@custom-media"||i.name==="@container"||i.name==="@supports")&&eoe.test(i.params)&&(n|=8,i.params=toe(i.params,i,t))}),n}function toe(e,t,n){let i=Po(e);return zu(i,(o,{replaceWith:r})=>{if(o.kind==="function"&&o.value in J$){let c=ui(Ic(o.nodes).trim(),",").map(u=>u.trim()),s=J$[o.value](n,t,...c);return r(Po(s))}}),Ic(i)}function RWe(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",n=e[0];for(let i=1;i<e.length-1;i++){let o=e[i],r=e[i+1];o==="\\"&&(r===n||r==="\\")?(t+=r,i++):t+=o}return t}function $We(e,t){zu(e,n=>{if(n.kind==="function"&&!(n.value!=="var"&&n.value!=="theme"&&n.value!=="--theme"))if(n.nodes.length===1)n.nodes.push({kind:"word",value:`, ${t}`});else{let i=n.nodes[n.nodes.length-1];i.kind==="word"&&i.value==="initial"&&(i.value=t)}})}function Poe(e,t){let n=e.length,i=t.length,o=n<i?n:i;for(let r=0;r<o;r++){let c=e.charCodeAt(r),s=t.charCodeAt(r);if(c>=48&&c<=57&&s>=48&&s<=57){let u=r,H=r+1,a=r,l=r+1;for(c=e.charCodeAt(H);c>=48&&c<=57;)c=e.charCodeAt(++H);for(s=t.charCodeAt(l);s>=48&&s<=57;)s=t.charCodeAt(++l);let p=e.slice(u,H),d=t.slice(a,l),h=Number(p)-Number(d);if(h)return h;if(p<d)return-1;if(p>d)return 1;continue}if(c!==s)return c-s}return e.length-t.length}function BWe(e){let t=[];for(let n of e.utilities.keys("static"))t.push({name:n,utility:n,fraction:!1,modifiers:[]});for(let n of e.utilities.keys("functional")){let i=e.utilities.getCompletions(n);for(let o of i)for(let r of o.values){let c=r!==null&&MWe.test(r),s=r===null?n:`${n}-${r}`;t.push({name:s,utility:n,fraction:c,modifiers:o.modifiers}),o.supportsNegative&&t.push({name:`-${s}`,utility:`-${n}`,fraction:c,modifiers:o.modifiers})}}return t.length===0?[]:(t.sort((n,i)=>Poe(n.name,i.name)),OWe(t))}function OWe(e){let t=[],n=null,i=new Map,o=new Il(()=>[]);for(let c of e){let{utility:s,fraction:u}=c;n||(n={utility:s,items:[]},i.set(s,n)),s!==n.utility&&(t.push(n),n={utility:s,items:[]},i.set(s,n)),u?o.get(s).push(c):n.items.push(c)}n&&t[t.length-1]!==n&&t.push(n);for(let[c,s]of o){let u=i.get(c);u&&u.items.push(...s)}let r=[];for(let c of t)for(let s of c.items)r.push([s.name,{modifiers:s.modifiers}]);return r}function FWe(e){let t=[];for(let[i,o]of e.variants.entries()){let r=function({value:u,modifier:H}={}){let a=i;u&&(a+=c?`-${u}`:u),H&&(a+=`/${H}`);let l=e.parseVariant(a);if(!l)return[];let p=Es(".__placeholder__",[]);if(AT(p,l,e.variants)===null)return[];let d=[];return X$(p.nodes,(h,{path:m})=>{if(h.kind!=="rule"&&h.kind!=="at-rule"||h.nodes.length>0)return;m.sort((_,E)=>{let A=_.kind==="at-rule",S=E.kind==="at-rule";return A&&!S?-1:!A&&S?1:0});let g=m.flatMap(_=>_.kind==="rule"?_.selector==="&"?[]:[_.selector]:_.kind==="at-rule"?[`${_.name} ${_.params}`]:[]),y="";for(let _=g.length-1;_>=0;_--)y=y===""?g[_]:`${g[_]} { ${y} }`;d.push(y)}),d};var n=r;if(o.kind==="arbitrary")continue;let c=i!=="@",s=e.variants.getCompletions(i);switch(o.kind){case"static":{t.push({name:i,values:s,isArbitrary:!1,hasDash:c,selectors:r});break}case"functional":{t.push({name:i,values:s,isArbitrary:!0,hasDash:c,selectors:r});break}case"compound":{t.push({name:i,values:s,isArbitrary:!0,hasDash:c,selectors:r});break}}}return t}function jWe(e,t){let{astNodes:n,nodeSorting:i}=bT(Array.from(t),e),o=new Map(t.map(c=>[c,null])),r=0n;for(let c of n){let s=i.get(c)?.candidate;s&&o.set(s,o.get(s)??r++)}return t.map(c=>[c,o.get(c)??null])}function w0(e){let t=0;for(let n of e){if(n[0]==="@"){if(!n.startsWith("@media")&&!n.startsWith("@supports")&&!n.startsWith("@container"))return 0;t|=1;continue}if(n.includes("::"))return 0;t|=2}return t}function qWe(e){let t=new UWe;function n(H,a,{compounds:l}={}){l=l??w0(a),t.static(H,p=>{p.nodes=a.map(d=>ho(d,p.nodes))},{compounds:l})}n("*",[":is(& > *)"],{compounds:0}),n("**",[":is(& *)"],{compounds:0});function i(H,a){return a.map(l=>{l=l.trim();let p=ui(l," ");return p[0]==="not"?p.slice(1).join(" "):H==="@container"?p[0][0]==="("?`not ${l}`:p[1]==="not"?`${p[0]} ${p.slice(2).join(" ")}`:`${p[0]} not ${p.slice(1).join(" ")}`:`not ${l}`})}let o=["@media","@supports","@container"];function r(H){for(let a of o){if(a!==H.name)continue;let l=ui(H.params,",");return l.length>1?null:(l=i(H.name,l),ss(H.name,l.join(", ")))}return null}function c(H){return H.includes("::")?null:`&:not(${ui(H,",").map(a=>(a=a.replaceAll("&","*"),a)).join(", ")})`}t.compound("not",3,(H,a)=>{if(a.variant.kind==="arbitrary"&&a.variant.relative||a.modifier)return null;let l=!1;if(as([H],(p,{path:d})=>{if(p.kind!=="rule"&&p.kind!=="at-rule"||p.nodes.length>0)return 0;let h=[],m=[];for(let y of d)y.kind==="at-rule"?h.push(y):y.kind==="rule"&&m.push(y);if(h.length>1||m.length>1)return 2;let g=[];for(let y of m){let _=c(y.selector);if(!_)return l=!1,2;g.push(Es(_,[]))}for(let y of h){let _=r(y);if(!_)return l=!1,2;g.push(_)}return Object.assign(H,Es("&",g)),l=!0,1}),H.kind==="rule"&&H.selector==="&"&&H.nodes.length===1&&Object.assign(H,H.nodes[0]),!l)return null}),t.suggest("not",()=>Array.from(t.keys()).filter(H=>t.compoundsWith("not",H))),t.compound("group",2,(H,a)=>{if(a.variant.kind==="arbitrary"&&a.variant.relative)return null;let l=a.modifier?`:where(.${e.prefix?`${e.prefix}\\:`:""}group\\/${a.modifier.value})`:`:where(.${e.prefix?`${e.prefix}\\:`:""}group)`,p=!1;if(as([H],(d,{path:h})=>{if(d.kind!=="rule")return 0;for(let g of h.slice(0,-1))if(g.kind==="rule")return p=!1,2;let m=d.selector.replaceAll("&",l);ui(m,",").length>1&&(m=`:is(${m})`),d.selector=`&:is(${m} *)`,p=!0}),!p)return null}),t.suggest("group",()=>Array.from(t.keys()).filter(H=>t.compoundsWith("group",H))),t.compound("peer",2,(H,a)=>{if(a.variant.kind==="arbitrary"&&a.variant.relative)return null;let l=a.modifier?`:where(.${e.prefix?`${e.prefix}\\:`:""}peer\\/${a.modifier.value})`:`:where(.${e.prefix?`${e.prefix}\\:`:""}peer)`,p=!1;if(as([H],(d,{path:h})=>{if(d.kind!=="rule")return 0;for(let g of h.slice(0,-1))if(g.kind==="rule")return p=!1,2;let m=d.selector.replaceAll("&",l);ui(m,",").length>1&&(m=`:is(${m})`),d.selector=`&:is(${m} ~ *)`,p=!0}),!p)return null}),t.suggest("peer",()=>Array.from(t.keys()).filter(H=>t.compoundsWith("peer",H))),n("first-letter",["&::first-letter"]),n("first-line",["&::first-line"]),n("marker",["& *::marker","&::marker","& *::-webkit-details-marker","&::-webkit-details-marker"]),n("selection",["& *::selection","&::selection"]),n("file",["&::file-selector-button"]),n("placeholder",["&::placeholder"]),n("backdrop",["&::backdrop"]),n("details-content",["&::details-content"]);{let H=function(){return ni([ss("@property","--tw-content",[Ue("syntax",'"*"'),Ue("initial-value",'""'),Ue("inherits","false")])])};var s=H;t.static("before",a=>{a.nodes=[Es("&::before",[H(),Ue("content","var(--tw-content)"),...a.nodes])]},{compounds:0}),t.static("after",a=>{a.nodes=[Es("&::after",[H(),Ue("content","var(--tw-content)"),...a.nodes])]},{compounds:0})}n("first",["&:first-child"]),n("last",["&:last-child"]),n("only",["&:only-child"]),n("odd",["&:nth-child(odd)"]),n("even",["&:nth-child(even)"]),n("first-of-type",["&:first-of-type"]),n("last-of-type",["&:last-of-type"]),n("only-of-type",["&:only-of-type"]),n("visited",["&:visited"]),n("target",["&:target"]),n("open",["&:is([open], :popover-open, :open)"]),n("default",["&:default"]),n("checked",["&:checked"]),n("indeterminate",["&:indeterminate"]),n("placeholder-shown",["&:placeholder-shown"]),n("autofill",["&:autofill"]),n("optional",["&:optional"]),n("required",["&:required"]),n("valid",["&:valid"]),n("invalid",["&:invalid"]),n("user-valid",["&:user-valid"]),n("user-invalid",["&:user-invalid"]),n("in-range",["&:in-range"]),n("out-of-range",["&:out-of-range"]),n("read-only",["&:read-only"]),n("empty",["&:empty"]),n("focus-within",["&:focus-within"]),t.static("hover",H=>{H.nodes=[Es("&:hover",[ss("@media","(hover: hover)",H.nodes)])]}),n("focus",["&:focus"]),n("focus-visible",["&:focus-visible"]),n("active",["&:active"]),n("enabled",["&:enabled"]),n("disabled",["&:disabled"]),n("inert",["&:is([inert], [inert] *)"]),t.compound("in",2,(H,a)=>{if(a.modifier)return null;let l=!1;if(as([H],(p,{path:d})=>{if(p.kind!=="rule")return 0;for(let h of d.slice(0,-1))if(h.kind==="rule")return l=!1,2;p.selector=`:where(${p.selector.replaceAll("&","*")}) &`,l=!0}),!l)return null}),t.suggest("in",()=>Array.from(t.keys()).filter(H=>t.compoundsWith("in",H))),t.compound("has",2,(H,a)=>{if(a.modifier)return null;let l=!1;if(as([H],(p,{path:d})=>{if(p.kind!=="rule")return 0;for(let h of d.slice(0,-1))if(h.kind==="rule")return l=!1,2;p.selector=`&:has(${p.selector.replaceAll("&","*")})`,l=!0}),!l)return null}),t.suggest("has",()=>Array.from(t.keys()).filter(H=>t.compoundsWith("has",H))),t.functional("aria",(H,a)=>{if(!a.value||a.modifier)return null;a.value.kind==="arbitrary"?H.nodes=[Es(`&[aria-${roe(a.value.value)}]`,H.nodes)]:H.nodes=[Es(`&[aria-${a.value.value}="true"]`,H.nodes)]}),t.suggest("aria",()=>["busy","checked","disabled","expanded","hidden","pressed","readonly","required","selected"]),t.functional("data",(H,a)=>{if(!a.value||a.modifier)return null;H.nodes=[Es(`&[data-${roe(a.value.value)}]`,H.nodes)]}),t.functional("nth",(H,a)=>{if(!a.value||a.modifier||a.value.kind==="named"&&!Nr(a.value.value))return null;H.nodes=[Es(`&:nth-child(${a.value.value})`,H.nodes)]}),t.functional("nth-last",(H,a)=>{if(!a.value||a.modifier||a.value.kind==="named"&&!Nr(a.value.value))return null;H.nodes=[Es(`&:nth-last-child(${a.value.value})`,H.nodes)]}),t.functional("nth-of-type",(H,a)=>{if(!a.value||a.modifier||a.value.kind==="named"&&!Nr(a.value.value))return null;H.nodes=[Es(`&:nth-of-type(${a.value.value})`,H.nodes)]}),t.functional("nth-last-of-type",(H,a)=>{if(!a.value||a.modifier||a.value.kind==="named"&&!Nr(a.value.value))return null;H.nodes=[Es(`&:nth-last-of-type(${a.value.value})`,H.nodes)]}),t.functional("supports",(H,a)=>{if(!a.value||a.modifier)return null;let l=a.value.value;if(l===null)return null;if(/^[\w-]*\s*\(/.test(l)){let p=l.replace(/\b(and|or|not)\b/g," $1 ");H.nodes=[ss("@supports",p,H.nodes)];return}l.includes(":")||(l=`${l}: var(--tw)`),(l[0]!=="("||l[l.length-1]!==")")&&(l=`(${l})`),H.nodes=[ss("@supports",l,H.nodes)]},{compounds:1}),n("motion-safe",["@media (prefers-reduced-motion: no-preference)"]),n("motion-reduce",["@media (prefers-reduced-motion: reduce)"]),n("contrast-more",["@media (prefers-contrast: more)"]),n("contrast-less",["@media (prefers-contrast: less)"]);{let H=function(a,l,p,d){if(a===l)return 0;let h=d.get(a);if(h===null)return p==="asc"?-1:1;let m=d.get(l);return m===null?p==="asc"?1:-1:fT(h,m,p)};var u=H;{let a=e.namespace("--breakpoint"),l=new Il(p=>{switch(p.kind){case"static":return e.resolveValue(p.root,["--breakpoint"])??null;case"functional":{if(!p.value||p.modifier)return null;let d=null;return p.value.kind==="arbitrary"?d=p.value.value:p.value.kind==="named"&&(d=e.resolveValue(p.value.value,["--breakpoint"])),!d||d.includes("var(")?null:d}case"arbitrary":case"compound":return null}});t.group(()=>{t.functional("max",(p,d)=>{if(d.modifier)return null;let h=l.get(d);if(h===null)return null;p.nodes=[ss("@media",`(width < ${h})`,p.nodes)]},{compounds:1})},(p,d)=>H(p,d,"desc",l)),t.suggest("max",()=>Array.from(a.keys()).filter(p=>p!==null)),t.group(()=>{for(let[p,d]of e.namespace("--breakpoint"))p!==null&&t.static(p,h=>{h.nodes=[ss("@media",`(width >= ${d})`,h.nodes)]},{compounds:1});t.functional("min",(p,d)=>{if(d.modifier)return null;let h=l.get(d);if(h===null)return null;p.nodes=[ss("@media",`(width >= ${h})`,p.nodes)]},{compounds:1})},(p,d)=>H(p,d,"asc",l)),t.suggest("min",()=>Array.from(a.keys()).filter(p=>p!==null))}{let a=e.namespace("--container"),l=new Il(p=>{switch(p.kind){case"functional":{if(p.value===null)return null;let d=null;return p.value.kind==="arbitrary"?d=p.value.value:p.value.kind==="named"&&(d=e.resolveValue(p.value.value,["--container"])),!d||d.includes("var(")?null:d}case"static":case"arbitrary":case"compound":return null}});t.group(()=>{t.functional("@max",(p,d)=>{let h=l.get(d);if(h===null)return null;p.nodes=[ss("@container",d.modifier?`${d.modifier.value} (width < ${h})`:`(width < ${h})`,p.nodes)]},{compounds:1})},(p,d)=>H(p,d,"desc",l)),t.suggest("@max",()=>Array.from(a.keys()).filter(p=>p!==null)),t.group(()=>{t.functional("@",(p,d)=>{let h=l.get(d);if(h===null)return null;p.nodes=[ss("@container",d.modifier?`${d.modifier.value} (width >= ${h})`:`(width >= ${h})`,p.nodes)]},{compounds:1}),t.functional("@min",(p,d)=>{let h=l.get(d);if(h===null)return null;p.nodes=[ss("@container",d.modifier?`${d.modifier.value} (width >= ${h})`:`(width >= ${h})`,p.nodes)]},{compounds:1})},(p,d)=>H(p,d,"asc",l)),t.suggest("@min",()=>Array.from(a.keys()).filter(p=>p!==null)),t.suggest("@",()=>Array.from(a.keys()).filter(p=>p!==null))}}return n("portrait",["@media (orientation: portrait)"]),n("landscape",["@media (orientation: landscape)"]),n("ltr",['&:where(:dir(ltr), [dir="ltr"], [dir="ltr"] *)']),n("rtl",['&:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *)']),n("dark",["@media (prefers-color-scheme: dark)"]),n("starting",["@starting-style"]),n("print",["@media print"]),n("forced-colors",["@media (forced-colors: active)"]),n("inverted-colors",["@media (inverted-colors: inverted)"]),n("pointer-none",["@media (pointer: none)"]),n("pointer-coarse",["@media (pointer: coarse)"]),n("pointer-fine",["@media (pointer: fine)"]),n("any-pointer-none",["@media (any-pointer: none)"]),n("any-pointer-coarse",["@media (any-pointer: coarse)"]),n("any-pointer-fine",["@media (any-pointer: fine)"]),n("noscript",["@media (scripting: none)"]),t}function roe(e){if(e.includes("=")){let[t,...n]=ui(e,"="),i=n.join("=").trim();if(i[0]==="'"||i[0]==='"')return e;if(i.length>1){let o=i[i.length-1];if(i[i.length-2]===" "&&(o==="i"||o==="I"||o==="s"||o==="S"))return`${t}="${i.slice(0,-2)}" ${o}`}return`${t}="${i}"`}return e}function koe(e,t){as(e,(n,{replaceWith:i})=>{if(n.kind==="at-rule"&&n.name==="@slot")i(t);else if(n.kind==="at-rule"&&(n.name==="@keyframes"||n.name==="@property"))return Object.assign(n,ni([ss(n.name,n.params,n.nodes)])),1})}function WWe(e){let t=xWe(e),n=qWe(e),i=new Il(u=>SWe(u,s)),o=new Il(u=>Array.from(IWe(u,s))),r=new Il(u=>{let H=VWe(u,s);try{nM(H.map(({node:a})=>a),s)}catch{return[]}return H}),c=new Il(u=>{for(let H of Toe(u))e.markUsedVariable(H)}),s={theme:e,utilities:t,variants:n,invalidCandidates:new Set,important:!1,candidatesToCss(u){let H=[];for(let a of u){let l=!1,{astNodes:p}=bT([a],this,{onInvalidCandidate(){l=!0}});p=D0(p,s,0),p.length===0||l?H.push(null):H.push(qf(p))}return H},getClassOrder(u){return jWe(this,u)},getClassList(){return BWe(this)},getVariants(){return FWe(this)},parseCandidate(u){return o.get(u)},parseVariant(u){return i.get(u)},compileAstNodes(u){return r.get(u)},getVariantOrder(){let u=Array.from(i.values());u.sort((p,d)=>this.variants.compare(p,d));let H=new Map,a,l=0;for(let p of u)p!==null&&(a!==void 0&&this.variants.compare(a,p)!==0&&l++,H.set(p,l),a=p);return H},resolveThemeValue(u,H=!0){let a=u.lastIndexOf("/"),l=null;a!==-1&&(l=u.slice(a+1).trim(),u=u.slice(0,a).trim());let p=e.resolve(null,[u],H?1:0)??void 0;return l&&p?Do(p,l):p},trackUsedVariables(u){c.get(u)}};return s}function bT(e,t,{onInvalidCandidate:n}={}){let i=new Map,o=[],r=new Map;for(let s of e){if(t.invalidCandidates.has(s)){n?.(s);continue}let u=t.parseCandidate(s);if(u.length===0){n?.(s);continue}r.set(s,u)}let c=t.getVariantOrder();for(let[s,u]of r){let H=!1;for(let a of u){let l=t.compileAstNodes(a);if(l.length!==0){H=!0;for(let{node:p,propertySort:d}of l){let h=0n;for(let m of a.variants)h|=1n<<BigInt(c.get(m));i.set(p,{properties:d,variants:h,candidate:s}),o.push(p)}}}H||n?.(s)}return o.sort((s,u)=>{let H=i.get(s),a=i.get(u);if(H.variants-a.variants!==0n)return Number(H.variants-a.variants);let l=0;for(;l<H.properties.order.length&&l<a.properties.order.length&&H.properties.order[l]===a.properties.order[l];)l+=1;return(H.properties.order[l]??1/0)-(a.properties.order[l]??1/0)||a.properties.count-H.properties.count||Poe(H.candidate,a.candidate)}),{astNodes:o,nodeSorting:i}}function VWe(e,t){let n=KWe(e,t);if(n.length===0)return[];let i=[],o=`.${gT(e.raw)}`;for(let r of n){let c=GWe(r);(e.important||t.important)&&Noe(r);let s={kind:"rule",selector:o,nodes:r};for(let u of e.variants)if(AT(s,u,t.variants)===null)return[];i.push({node:s,propertySort:c})}return i}function AT(e,t,n,i=0){if(t.kind==="arbitrary"){if(t.relative&&i===0)return null;e.nodes=[ho(t.selector,e.nodes)];return}let{applyFn:o}=n.get(t.root);if(t.kind==="compound"){let r=ss("@slot");if(AT(r,t.variant,n,i+1)===null||t.root==="not"&&r.nodes.length>1)return null;for(let c of r.nodes)if(c.kind!=="rule"&&c.kind!=="at-rule"||o(c,t)===null)return null;as(r.nodes,c=>{if((c.kind==="rule"||c.kind==="at-rule")&&c.nodes.length<=0)return c.nodes=e.nodes,1}),e.nodes=r.nodes;return}if(o(e,t)===null)return null}function ioe(e){let t=e.options?.types??[];return t.length>1&&t.includes("any")}function KWe(e,t){if(e.kind==="arbitrary"){let c=e.value;return e.modifier&&(c=no(c,e.modifier,t.theme)),c===null?[]:[[Ue(e.property,c)]]}let n=t.utilities.get(e.root)??[],i=[],o=n.filter(c=>!ioe(c));for(let c of o){if(c.kind!==e.kind)continue;let s=c.compileFn(e);if(s!==void 0){if(s===null)return i;i.push(s)}}if(i.length>0)return i;let r=n.filter(c=>ioe(c));for(let c of r){if(c.kind!==e.kind)continue;let s=c.compileFn(e);if(s!==void 0){if(s===null)return i;i.push(s)}}return i}function Noe(e){for(let t of e)t.kind!=="at-root"&&(t.kind==="declaration"?t.important=!0:(t.kind==="rule"||t.kind==="at-rule")&&Noe(t.nodes))}function GWe(e){let t=new Set,n=0,i=e.slice(),o=!1;for(;i.length>0;){let r=i.shift();if(r.kind==="declaration"){if(r.value===void 0||(n++,o))continue;if(r.property==="--tw-sort"){let s=noe.indexOf(r.value??"");if(s!==-1){t.add(s),o=!0;continue}}let c=noe.indexOf(r.property);c!==-1&&t.add(c)}else if(r.kind==="rule"||r.kind==="at-rule")for(let c of r.nodes)i.push(c)}return{order:Array.from(t).sort((r,c)=>r-c),count:n}}function Q$(e,t){let n=0,i=ho("&",e),o=new Set,r=new Il(()=>new Set),c=new Il(()=>new Set);as([i],(l,{parent:p})=>{if(l.kind==="at-rule"){if(l.name==="@keyframes")return as(l.nodes,d=>{if(d.kind==="at-rule"&&d.name==="@apply")throw new Error("You cannot use `@apply` inside `@keyframes`.")}),1;if(l.name==="@utility"){let d=l.params.replace(/-\*$/,"");c.get(d).add(l),as(l.nodes,h=>{if(!(h.kind!=="at-rule"||h.name!=="@apply")){o.add(l);for(let m of soe(h,t))r.get(l).add(m)}});return}if(l.name==="@apply"){if(p===null)return;n|=1,o.add(p);for(let d of soe(l,t))r.get(p).add(d)}}});let s=new Set,u=[],H=new Set;function a(l,p=[]){if(!s.has(l)){if(H.has(l)){let d=p[(p.indexOf(l)+1)%p.length];throw l.kind==="at-rule"&&l.name==="@utility"&&d.kind==="at-rule"&&d.name==="@utility"&&as(l.nodes,h=>{if(h.kind!=="at-rule"||h.name!=="@apply")return;let m=h.params.split(/\s+/g);for(let g of m)for(let y of t.parseCandidate(g))switch(y.kind){case"arbitrary":break;case"static":case"functional":if(d.params.replace(/-\*$/,"")===y.root)throw new Error(`You cannot \`@apply\` the \`${g}\` utility here because it creates a circular dependency.`);break;default:}}),new Error(`Circular dependency detected:
|
|
|
|
${qf([l])}
|
|
Relies on:
|
|
|
|
${qf([d])}`)}H.add(l);for(let d of r.get(l))for(let h of c.get(d))p.push(l),a(h,p),p.pop();s.add(l),H.delete(l),u.push(l)}}for(let l of o)a(l);for(let l of u)if("nodes"in l)for(let p=0;p<l.nodes.length;p++){let d=l.nodes[p];if(d.kind!=="at-rule"||d.name!=="@apply")continue;let h=d.params.split(/\s+/g);{let m=bT(h,t,{onInvalidCandidate:y=>{throw new Error(`Cannot apply unknown utility class: ${y}`)}}).astNodes,g=[];for(let y of m)if(y.kind==="rule")for(let _ of y.nodes)g.push(_);else g.push(y);l.nodes.splice(p,1,...g)}}return n}function*soe(e,t){for(let n of e.params.split(/\s+/g))for(let i of t.parseCandidate(n))switch(i.kind){case"arbitrary":break;case"static":case"functional":yield i.root;break;default:}}async function Roe(e,t,n,i=0){let o=0,r=[];return as(e,(c,{replaceWith:s})=>{if(c.kind==="at-rule"&&(c.name==="@import"||c.name==="@reference")){let u=XWe(Po(c.params));if(u===null)return;c.name==="@reference"&&(u.media="reference"),o|=2;let{uri:H,layer:a,media:l,supports:p}=u;if(H.startsWith("data:")||H.startsWith("http://")||H.startsWith("https://"))return;let d=Ff({},[]);return r.push((async()=>{if(i>100)throw new Error(`Exceeded maximum recursion depth while resolving \`${H}\` in \`${t}\`)`);let h=await n(H,t),m=yT(h.content);await Roe(m,h.base,n,i+1),d.nodes=ZWe([Ff({base:h.base},m)],a,l,p)})()),s(d),1}}),r.length>0&&await Promise.all(r),o}function XWe(e){let t,n=null,i=null,o=null;for(let r=0;r<e.length;r++){let c=e[r];if(c.kind!=="separator"){if(c.kind==="word"&&!t){if(!c.value||c.value[0]!=='"'&&c.value[0]!=="'")return null;t=c.value.slice(1,-1);continue}if(c.kind==="function"&&c.value.toLowerCase()==="url"||!t)return null;if((c.kind==="word"||c.kind==="function")&&c.value.toLowerCase()==="layer"){if(n)return null;if(o)throw new Error("`layer(\u2026)` in an `@import` should come before any other functions or conditions");"nodes"in c?n=Ic(c.nodes):n="";continue}if(c.kind==="function"&&c.value.toLowerCase()==="supports"){if(o)return null;o=Ic(c.nodes);continue}i=Ic(e.slice(r));break}}return t?{uri:t,layer:n,media:i,supports:o}:null}function ZWe(e,t,n,i){let o=e;return t!==null&&(o=[ss("@layer",t,o)]),n!==null&&(o=[ss("@media",n,o)]),i!==null&&(o=[ss("@supports",i[0]==="("?i:`(${i})`,o)]),o}function dm(e,t=null){return Array.isArray(e)&&e.length===2&&typeof e[1]=="object"&&typeof e[1]!==null?t?e[1][t]??null:e[0]:Array.isArray(e)&&t===null?e.join(", "):typeof e=="string"&&t===null?e:null}function zWe(e,{theme:t},n){for(let i of n){let o=Y$([i]);o&&e.theme.clearNamespace(`--${o}`,4)}for(let[i,o]of JWe(t)){if(typeof o!="string"&&typeof o!="number")continue;if(typeof o=="string"&&(o=o.replace(/<alpha-value>/g,"1")),i[0]==="opacity"&&(typeof o=="number"||typeof o=="string")){let c=typeof o=="string"?parseFloat(o):o;c>=0&&c<=1&&(o=c*100+"%")}let r=Y$(i);r&&e.theme.add(`--${r}`,""+o,7)}if(Object.hasOwn(t,"fontFamily")){let i=5;{let o=dm(t.fontFamily.sans);o&&e.theme.hasDefault("--font-sans")&&(e.theme.add("--default-font-family",o,i),e.theme.add("--default-font-feature-settings",dm(t.fontFamily.sans,"fontFeatureSettings")??"normal",i),e.theme.add("--default-font-variation-settings",dm(t.fontFamily.sans,"fontVariationSettings")??"normal",i))}{let o=dm(t.fontFamily.mono);o&&e.theme.hasDefault("--font-mono")&&(e.theme.add("--default-mono-font-family",o,i),e.theme.add("--default-mono-font-feature-settings",dm(t.fontFamily.mono,"fontFeatureSettings")??"normal",i),e.theme.add("--default-mono-font-variation-settings",dm(t.fontFamily.mono,"fontVariationSettings")??"normal",i))}}return t}function JWe(e){let t=[];return $oe(e,[],(n,i)=>{if(YWe(n))return t.push([i,n]),1;if(eVe(n)){t.push([i,n[0]]);for(let o of Reflect.ownKeys(n[1]))t.push([[...i,`-${o}`],n[1][o]]);return 1}if(Array.isArray(n)&&n.every(o=>typeof o=="string"))return t.push([i,n.join(", ")]),1}),t}function Y$(e){if(e[0]==="container")return null;e=structuredClone(e),e[0]==="animation"&&(e[0]="animate"),e[0]==="aspectRatio"&&(e[0]="aspect"),e[0]==="borderRadius"&&(e[0]="radius"),e[0]==="boxShadow"&&(e[0]="shadow"),e[0]==="colors"&&(e[0]="color"),e[0]==="containers"&&(e[0]="container"),e[0]==="fontFamily"&&(e[0]="font"),e[0]==="fontSize"&&(e[0]="text"),e[0]==="letterSpacing"&&(e[0]="tracking"),e[0]==="lineHeight"&&(e[0]="leading"),e[0]==="maxWidth"&&(e[0]="container"),e[0]==="screens"&&(e[0]="breakpoint"),e[0]==="transitionTimingFunction"&&(e[0]="ease");for(let t of e)if(!QWe.test(t))return null;return e.map((t,n,i)=>t==="1"&&n!==i.length-1?"":t).map(t=>t.replaceAll(".","_").replace(/([a-z])([A-Z])/g,(n,i,o)=>`${i}-${o.toLowerCase()}`)).filter((t,n)=>t!=="DEFAULT"||n!==e.length-1).join("-")}function YWe(e){return typeof e=="number"||typeof e=="string"}function eVe(e){if(!Array.isArray(e)||e.length!==2||typeof e[0]!="string"&&typeof e[0]!="number"||e[1]===void 0||e[1]===null||typeof e[1]!="object")return!1;for(let t of Reflect.ownKeys(e[1]))if(typeof t!="string"||typeof e[1][t]!="string"&&typeof e[1][t]!="number")return!1;return!0}function $oe(e,t=[],n){for(let i of Reflect.ownKeys(e)){let o=e[i];if(o==null)continue;let r=[...t,i],c=n(o,r)??0;if(c!==1&&(c===2||!(!Array.isArray(o)&&typeof o!="object")&&$oe(o,r,n)===2))return 2}}function Moe(e){let t=[];for(let n of ui(e,".")){if(!n.includes("[")){t.push(n);continue}let i=0;for(;;){let o=n.indexOf("[",i),r=n.indexOf("]",o);if(o===-1||r===-1)break;o>i&&t.push(n.slice(i,o)),t.push(n.slice(o+1,r)),i=r+1}i<=n.length-1&&t.push(n.slice(i))}return t}function P0(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function iM(e,t,n,i=[]){for(let o of t)if(o!=null)for(let r of Reflect.ownKeys(o)){i.push(r);let c=n(e[r],o[r],i);c!==void 0?e[r]=c:!P0(e[r])||!P0(o[r])?e[r]=o[r]:e[r]=iM({},[e[r],o[r]],n,i),i.pop()}return e}function Boe(e,t,n){return function(i,o){let r=i.lastIndexOf("/"),c=null;r!==-1&&(c=i.slice(r+1).trim(),i=i.slice(0,r).trim());let s=(()=>{let u=Moe(i),[H,a]=tVe(e.theme,u),l=n(aoe(t()??{},u)??null);if(typeof l=="string"&&(l=l.replace("<alpha-value>","1")),typeof H!="object")return typeof a!="object"&&a&4?l??H:H;if(l!==null&&typeof l=="object"&&!Array.isArray(l)){let p=iM({},[l],(d,h)=>h);if(H===null&&Object.hasOwn(l,"__CSS_VALUES__")){let d={};for(let h in l.__CSS_VALUES__)d[h]=l[h],delete p[h];H=d}for(let d in H)d!=="__CSS_VALUES__"&&(l?.__CSS_VALUES__?.[d]&4&&aoe(p,d.split("-"))!==void 0||(p[dT(d)]=H[d]));return p}if(Array.isArray(H)&&Array.isArray(a)&&Array.isArray(l)){let p=H[0],d=H[1];a[0]&4&&(p=l[0]??p);for(let h of Object.keys(d))a[1][h]&4&&(d[h]=l[1][h]??d[h]);return[p,d]}return H??l})();return c&&typeof s=="string"&&(s=Do(s,c)),s??o}}function tVe(e,t){if(t.length===1&&t[0].startsWith("--"))return[e.get([t[0]]),e.getOptions(t[0])];let n=Y$(t),i=new Map,o=new Il(()=>new Map),r=e.namespace(`--${n}`);if(r.size===0)return[null,0];let c=new Map;for(let[a,l]of r){if(!a||!a.includes("--")){i.set(a,l),c.set(a,e.getOptions(a?`--${n}-${a}`:`--${n}`));continue}let p=a.indexOf("--"),d=a.slice(0,p),h=a.slice(p+2);h=h.replace(/-([a-z])/g,(m,g)=>g.toUpperCase()),o.get(d===""?null:d).set(h,[l,e.getOptions(`--${n}${a}`)])}let s=e.getOptions(`--${n}`);for(let[a,l]of o){let p=i.get(a);if(typeof p!="string")continue;let d={},h={};for(let[m,[g,y]]of l)d[m]=g,h[m]=y;i.set(a,[p,d]),c.set(a,[s,h])}let u={},H={};for(let[a,l]of i)ooe(u,[a??"DEFAULT"],l);for(let[a,l]of c)ooe(H,[a??"DEFAULT"],l);return t[t.length-1]==="DEFAULT"?[u?.DEFAULT??null,H.DEFAULT??0]:"DEFAULT"in u&&Object.keys(u).length===1?[u.DEFAULT,H.DEFAULT??0]:(u.__CSS_VALUES__=H,[u,H])}function aoe(e,t){for(let n=0;n<t.length;++n){let i=t[n];if(e?.[i]===void 0){if(t[n+1]===void 0)return;t[n+1]=`${i}-${t[n+1]}`;continue}e=e[i]}return e}function ooe(e,t,n){for(let i of t.slice(0,-1))e[i]===void 0&&(e[i]={}),e=e[i];e[t[t.length-1]]=n}function rVe(e){return{kind:"combinator",value:e}}function nVe(e,t){return{kind:"function",value:e,nodes:t}}function C0(e){return{kind:"selector",value:e}}function iVe(e){return{kind:"separator",value:e}}function sVe(e){return{kind:"value",value:e}}function mT(e,t,n=null){for(let i=0;i<e.length;i++){let o=e[i],r=!1,c=0,s=t(o,{parent:n,replaceWith(u){r||(r=!0,Array.isArray(u)?u.length===0?(e.splice(i,1),c=0):u.length===1?(e[i]=u[0],c=1):(e.splice(i,1,...u),c=u.length):(e[i]=u,c=1))}})??0;if(r){s===0?i--:i+=c-1;continue}if(s===2||s!==1&&o.kind==="function"&&mT(o.nodes,t,o)===2)return 2}}function ET(e){let t="";for(let n of e)switch(n.kind){case"combinator":case"selector":case"separator":case"value":{t+=n.value;break}case"function":t+=n.value+"("+ET(n.nodes)+")"}return t}function eM(e){e=e.replaceAll(`\r
|
|
`,`
|
|
`);let t=[],n=[],i=null,o="",r;for(let c=0;c<e.length;c++){let s=e.charCodeAt(c);switch(s){case uoe:case Hoe:case poe:case _oe:case hoe:case moe:case Eoe:{if(o.length>0){let p=C0(o);i?i.nodes.push(p):t.push(p),o=""}let u=c,H=c+1;for(;H<e.length&&(r=e.charCodeAt(H),!(r!==uoe&&r!==Hoe&&r!==poe&&r!==_oe&&r!==hoe&&r!==moe&&r!==Eoe));H++);c=H-1;let a=e.slice(u,H),l=a.trim()===","?iVe(a):rVe(a);i?i.nodes.push(l):t.push(l);break}case foe:{let u=nVe(o,[]);if(o="",u.value!==":not"&&u.value!==":where"&&u.value!==":has"&&u.value!==":is"){let H=c+1,a=0;for(let p=c+1;p<e.length;p++){if(r=e.charCodeAt(p),r===foe){a++;continue}if(r===coe){if(a===0){c=p;break}a--}}let l=c;u.nodes.push(sVe(e.slice(H,l))),o="",c=l,i?i.nodes.push(u):t.push(u);break}i?i.nodes.push(u):t.push(u),n.push(u),i=u;break}case coe:{let u=n.pop();if(o.length>0){let H=C0(o);u.nodes.push(H),o=""}n.length>0?i=n[n.length-1]:i=null;break}case cVe:case oVe:case uVe:{if(o.length>0){let u=C0(o);i?i.nodes.push(u):t.push(u)}o=String.fromCharCode(s);break}case doe:{if(o.length>0){let a=C0(o);i?i.nodes.push(a):t.push(a)}o="";let u=c,H=0;for(let a=c+1;a<e.length;a++){if(r=e.charCodeAt(a),r===doe){H++;continue}if(r===aVe){if(H===0){c=a;break}H--}}o+=e.slice(u,c+1);break}case HVe:case lVe:{let u=c;for(let H=c+1;H<e.length;H++)if(r=e.charCodeAt(H),r===loe)H+=1;else if(r===s){c=H;break}o+=e.slice(u,c+1);break}case loe:{let u=e.charCodeAt(c+1);o+=String.fromCharCode(s)+String.fromCharCode(u),c+=1;break}default:o+=String.fromCharCode(s)}}return o.length>0&&t.push(C0(o)),t}function goe({designSystem:e,ast:t,resolvedConfig:n,featuresRef:i,referenceMode:o}){let r={addBase(c){if(o)return;let s=JH(c);i.current|=nM(s,e),t.push(ss("@layer","base",s))},addVariant(c,s){if(!woe.test(c))throw new Error(`\`addVariant('${c}')\` defines an invalid variant name. Variants should only contain alphanumeric, dashes or underscore characters.`);typeof s=="string"||Array.isArray(s)?e.variants.static(c,u=>{u.nodes=boe(s,u.nodes)},{compounds:w0(typeof s=="string"?[s]:s)}):typeof s=="object"&&e.variants.fromAst(c,JH(s))},matchVariant(c,s,u){function H(l,p,d){let h=s(l,{modifier:p?.value??null});return boe(h,d)}let a=Object.keys(u?.values??{});e.variants.group(()=>{e.variants.functional(c,(l,p)=>{if(!p.value){if(u?.values&&"DEFAULT"in u.values){l.nodes=H(u.values.DEFAULT,p.modifier,l.nodes);return}return null}if(p.value.kind==="arbitrary")l.nodes=H(p.value.value,p.modifier,l.nodes);else if(p.value.kind==="named"&&u?.values){let d=u.values[p.value.value];if(typeof d!="string")return;l.nodes=H(d,p.modifier,l.nodes)}})},(l,p)=>{if(l.kind!=="functional"||p.kind!=="functional")return 0;let d=l.value?l.value.value:"DEFAULT",h=p.value?p.value.value:"DEFAULT",m=u?.values?.[d]??d,g=u?.values?.[h]??h;if(u&&typeof u.sort=="function")return u.sort({value:m,modifier:l.modifier?.value??null},{value:g,modifier:p.modifier?.value??null});let y=a.indexOf(d),_=a.indexOf(h);return y=y===-1?a.length:y,_=_===-1?a.length:_,y!==_?y-_:m<g?-1:1})},addUtilities(c){c=Array.isArray(c)?c:[c];let s=c.flatMap(H=>Object.entries(H));s=s.flatMap(([H,a])=>ui(H,",").map(l=>[l.trim(),a]));let u=new Il(()=>[]);for(let[H,a]of s){if(H.startsWith("@keyframes ")){o||t.push(ho(H,JH(a)));continue}let l=eM(H),p=!1;if(mT(l,d=>{if(d.kind==="selector"&&d.value[0]==="."&&yoe.test(d.value.slice(1))){let h=d.value;d.value="&";let m=ET(l),g=h.slice(1),y=m==="&"?JH(a):[ho(m,JH(a))];u.get(g).push(...y),p=!0,d.value=h;return}if(d.kind==="function"&&d.value===":not")return 1}),!p)throw new Error(`\`addUtilities({ '${H}' : \u2026 })\` defines an invalid utility selector. Utilities must be a single class name and start with a lowercase letter, eg. \`.scrollbar-none\`.`)}for(let[H,a]of u)e.theme.prefix&&as(a,l=>{if(l.kind==="rule"){let p=eM(l.selector);mT(p,d=>{d.kind==="selector"&&d.value[0]==="."&&(d.value=`.${e.theme.prefix}\\:${d.value.slice(1)}`)}),l.selector=ET(p)}}),e.utilities.static(H,l=>{let p=structuredClone(a);return Aoe(p,H,l.raw),i.current|=Q$(p,e),p})},matchUtilities(c,s){let u=s?.type?Array.isArray(s?.type)?s.type:[s.type]:["any"];for(let[a,l]of Object.entries(c)){let p=function({negative:d}){return h=>{if(h.value?.kind==="arbitrary"&&u.length>0&&!u.includes("any")&&(h.value.dataType&&!u.includes(h.value.dataType)||!h.value.dataType&&!pa(h.value.value,u)))return;let m=u.includes("color"),g=null,y=!1;{let A=s?.values??{};m&&(A=Object.assign({inherit:"inherit",transparent:"transparent",current:"currentColor"},A)),h.value?h.value.kind==="arbitrary"?g=h.value.value:h.value.fraction&&A[h.value.fraction]?(g=A[h.value.fraction],y=!0):A[h.value.value]?g=A[h.value.value]:A.__BARE_VALUE__&&(g=A.__BARE_VALUE__(h.value)??null,y=(h.value.fraction!==null&&g?.includes("/"))??!1):g=A.DEFAULT??null}if(g===null)return;let _;{let A=s?.modifiers??null;h.modifier?A==="any"||h.modifier.kind==="arbitrary"?_=h.modifier.value:A?.[h.modifier.value]?_=A[h.modifier.value]:m&&!Number.isNaN(Number(h.modifier.value))?_=`${h.modifier.value}%`:_=null:_=null}if(h.modifier&&_===null&&!y)return h.value?.kind==="arbitrary"?null:void 0;m&&_!==null&&(g=Do(g,_)),d&&(g=`calc(${g} * -1)`);let E=JH(l(g,{modifier:_}));return Aoe(E,a,h.raw),i.current|=Q$(E,e),E}};var H=p;if(!yoe.test(a))throw new Error(`\`matchUtilities({ '${a}' : \u2026 })\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter, eg. \`scrollbar\`.`);s?.supportsNegativeValues&&e.utilities.functional(`-${a}`,p({negative:!0}),{types:u}),e.utilities.functional(a,p({negative:!1}),{types:u}),e.utilities.suggest(a,()=>{let d=s?.values??{},h=new Set(Object.keys(d));h.delete("__BARE_VALUE__"),h.has("DEFAULT")&&(h.delete("DEFAULT"),h.add(null));let m=s?.modifiers??{},g=m==="any"?[]:Object.keys(m);return[{supportsNegative:s?.supportsNegativeValues??!1,values:Array.from(h),modifiers:g}]})}},addComponents(c,s){this.addUtilities(c,s)},matchComponents(c,s){this.matchUtilities(c,s)},theme:Boe(e,()=>n.theme??{},c=>c),prefix(c){return c},config(c,s){let u=n;if(!c)return u;let H=Moe(c);for(let a=0;a<H.length;++a){let l=H[a];if(u[l]===void 0)return s;u=u[l]}return u??s}};return r.addComponents=r.addComponents.bind(r),r.matchComponents=r.matchComponents.bind(r),r}function JH(e){let t=[];e=Array.isArray(e)?e:[e];let n=e.flatMap(i=>Object.entries(i));for(let[i,o]of n)if(typeof o!="object"){if(!i.startsWith("--")){if(o==="@slot"){t.push(ho(i,[ss("@slot")]));continue}i=i.replace(/([A-Z])/g,"-$1").toLowerCase()}t.push(Ue(i,String(o)))}else if(Array.isArray(o))for(let r of o)typeof r=="string"?t.push(Ue(i,r)):t.push(ho(i,JH(r)));else o!==null&&t.push(ho(i,JH(o)));return t}function boe(e,t){return(typeof e=="string"?[e]:e).flatMap(n=>{if(n.trim().endsWith("}")){let i=n.replace("}","{@slot}}"),o=yT(i);return koe(o,t),o}else return ho(n,t)})}function Aoe(e,t,n){as(e,i=>{if(i.kind==="rule"){let o=eM(i.selector);mT(o,r=>{r.kind==="selector"&&r.value===`.${t}`&&(r.value=`.${gT(n)}`)}),i.selector=ET(o)}})}function pVe(e,t,n){for(let i of dVe(t))e.theme.addKeyframes(i)}function dVe(e){let t=[];if("keyframes"in e.theme)for(let[n,i]of Object.entries(e.theme.keyframes))t.push(ss("@keyframes",n,JH(i)));return t}function fVe(e){return{theme:{...kae,colors:({theme:t})=>t("color",{}),extend:{fontSize:({theme:t})=>({...t("text",{})}),boxShadow:({theme:t})=>({...t("shadow",{})}),animation:({theme:t})=>({...t("animate",{})}),aspectRatio:({theme:t})=>({...t("aspect",{})}),borderRadius:({theme:t})=>({...t("radius",{})}),screens:({theme:t})=>({...t("breakpoint",{})}),letterSpacing:({theme:t})=>({...t("tracking",{})}),lineHeight:({theme:t})=>({...t("leading",{})}),transitionDuration:{DEFAULT:e.get(["--default-transition-duration"])??null},transitionTimingFunction:{DEFAULT:e.get(["--default-transition-timing-function"])??null},maxWidth:({theme:t})=>({...t("container",{})})}}}}function Ioe(e,t){let n={design:e,configs:[],plugins:[],content:{files:[]},theme:{},extend:{},result:structuredClone(hVe)};for(let o of t)tM(n,o);for(let o of n.configs)"darkMode"in o&&o.darkMode!==void 0&&(n.result.darkMode=o.darkMode??null),"prefix"in o&&o.prefix!==void 0&&(n.result.prefix=o.prefix??""),"blocklist"in o&&o.blocklist!==void 0&&(n.result.blocklist=o.blocklist??[]),"important"in o&&o.important!==void 0&&(n.result.important=o.important??!1);let i=mVe(n);return{resolvedConfig:{...n.result,content:n.content,theme:n.theme,plugins:n.plugins},replacedThemeKeys:i}}function _Ve(e,t){if(Array.isArray(e)&&P0(e[0]))return e.concat(t);if(Array.isArray(t)&&P0(t[0])&&P0(e))return[e,...t];if(Array.isArray(t))return t}function tM(e,{config:t,base:n,path:i,reference:o}){let r=[];for(let u of t.plugins??[])"__isOptionsFunction"in u?r.push({...u(),reference:o}):"handler"in u?r.push({...u,reference:o}):r.push({handler:u,reference:o});if(Array.isArray(t.presets)&&t.presets.length===0)throw new Error("Error in the config file/plugin/preset. An empty preset (`preset: []`) is not currently supported.");for(let u of t.presets??[])tM(e,{path:i,base:n,config:u,reference:o});for(let u of r)e.plugins.push(u),u.config&&tM(e,{path:i,base:n,config:u.config,reference:!!u.reference});let c=t.content??[],s=Array.isArray(c)?c:c.files;for(let u of s)e.content.files.push(typeof u=="object"?u:{base:n,pattern:u});e.configs.push(t)}function mVe(e){let t=new Set,n=Boe(e.design,()=>e.theme,o),i=Object.assign(n,{theme:n,colors:YL});function o(r){return typeof r=="function"?r(i)??null:r??null}for(let r of e.configs){let c=r.theme??{},s=c.extend??{};for(let u in c)u!=="extend"&&t.add(u);Object.assign(e.theme,c);for(let u in s)e.extend[u]??=[],e.extend[u].push(s[u])}delete e.theme.extend;for(let r in e.extend){let c=[e.theme[r],...e.extend[r]];e.theme[r]=()=>{let s=c.map(o);return iM({},s,_Ve)}}for(let r in e.theme)e.theme[r]=o(e.theme[r]);if(e.theme.screens&&typeof e.theme.screens=="object")for(let r of Object.keys(e.theme.screens)){let c=e.theme.screens[r];c&&typeof c=="object"&&("raw"in c||"max"in c||"min"in c&&(e.theme.screens[r]=c.min))}return t}function EVe(e,t){let n=e.theme.container||{};if(typeof n!="object"||n===null)return;let i=yVe(n,t);i.length!==0&&t.utilities.static("container",()=>structuredClone(i))}function yVe({center:e,padding:t,screens:n},i){let o=[],r=null;if(e&&o.push(Ue("margin-inline","auto")),(typeof t=="string"||typeof t=="object"&&t!==null&&"DEFAULT"in t)&&o.push(Ue("padding-inline",typeof t=="string"?t:t.DEFAULT)),typeof n=="object"&&n!==null){r=new Map;let c=Array.from(i.theme.namespace("--breakpoint").entries());if(c.sort((s,u)=>fT(s[1],u[1],"asc")),c.length>0){let[s]=c[0];o.push(ss("@media",`(width >= --theme(--breakpoint-${s}))`,[Ue("max-width","none")]))}for(let[s,u]of Object.entries(n)){if(typeof u=="object")if("min"in u)u=u.min;else continue;r.set(s,ss("@media",`(width >= ${u})`,[Ue("max-width",u)]))}}if(typeof t=="object"&&t!==null){let c=Object.entries(t).filter(([s])=>s!=="DEFAULT").map(([s,u])=>[s,i.theme.resolveValue(s,["--breakpoint"]),u]).filter(Boolean);c.sort((s,u)=>fT(s[1],u[1],"asc"));for(let[s,,u]of c)if(r&&r.has(s))r.get(s).nodes.push(Ue("padding-inline",u));else{if(r)continue;o.push(ss("@media",`(width >= theme(--breakpoint-${s}))`,[Ue("padding-inline",u)]))}}if(r)for(let[,c]of r)o.push(c);return o}function gVe({addVariant:e,config:t}){let n=t("darkMode",null),[i,o=".dark"]=Array.isArray(n)?n:[n];if(i==="variant"){let r;if(Array.isArray(o)||typeof o=="function"?r=o:typeof o=="string"&&(r=[o]),Array.isArray(r))for(let c of r)c===".dark"?(i=!1,console.warn('When using `variant` for `darkMode`, you must provide a selector.\nExample: `darkMode: ["variant", ".your-selector &"]`')):c.includes("&")||(i=!1,console.warn('When using `variant` for `darkMode`, your selector must contain `&`.\nExample `darkMode: ["variant", ".your-selector &"]`'));o=r}i===null||(i==="selector"?e("dark",`&:where(${o}, ${o} *)`):i==="media"?e("dark","@media (prefers-color-scheme: dark)"):i==="variant"?e("dark",o):i==="class"&&e("dark",`&:is(${o} *)`))}function bVe(e){for(let[t,n]of[["t","top"],["tr","top right"],["r","right"],["br","bottom right"],["b","bottom"],["bl","bottom left"],["l","left"],["tl","top left"]])e.utilities.static(`bg-gradient-to-${t}`,()=>[Ue("--tw-gradient-position",`to ${n} in oklab`),Ue("background-image","linear-gradient(var(--tw-gradient-stops))")]);e.utilities.static("bg-left-top",()=>[Ue("background-position","left top")]),e.utilities.static("bg-right-top",()=>[Ue("background-position","right top")]),e.utilities.static("bg-left-bottom",()=>[Ue("background-position","left bottom")]),e.utilities.static("bg-right-bottom",()=>[Ue("background-position","right bottom")]),e.utilities.static("object-left-top",()=>[Ue("object-position","left top")]),e.utilities.static("object-right-top",()=>[Ue("object-position","right top")]),e.utilities.static("object-left-bottom",()=>[Ue("object-position","left bottom")]),e.utilities.static("object-right-bottom",()=>[Ue("object-position","right bottom")]),e.utilities.functional("max-w-screen",t=>{if(!t.value||t.value.kind==="arbitrary")return;let n=e.theme.resolve(t.value.value,["--breakpoint"]);if(n)return[Ue("max-width",n)]}),e.utilities.static("overflow-ellipsis",()=>[Ue("text-overflow","ellipsis")]),e.utilities.static("decoration-slice",()=>[Ue("-webkit-box-decoration-break","slice"),Ue("box-decoration-break","slice")]),e.utilities.static("decoration-clone",()=>[Ue("-webkit-box-decoration-break","clone"),Ue("box-decoration-break","clone")]),e.utilities.functional("flex-shrink",t=>{if(!t.modifier){if(!t.value)return[Ue("flex-shrink","1")];if(t.value.kind==="arbitrary")return[Ue("flex-shrink",t.value.value)];if(Nr(t.value.value))return[Ue("flex-shrink",t.value.value)]}}),e.utilities.functional("flex-grow",t=>{if(!t.modifier){if(!t.value)return[Ue("flex-grow","1")];if(t.value.kind==="arbitrary")return[Ue("flex-grow",t.value.value)];if(Nr(t.value.value))return[Ue("flex-grow",t.value.value)]}})}function AVe(e,t){let n=e.theme.screens||{},i=t.variants.get("min")?.order??0,o=[];for(let[c,s]of Object.entries(n)){let u=function(d){t.variants.static(c,h=>{h.nodes=[ss("@media",p,h.nodes)]},{order:d})};var r=u;let H=t.variants.get(c),a=t.theme.resolveValue(c,["--breakpoint"]);if(H&&a&&!t.theme.hasDefault(`--breakpoint-${c}`))continue;let l=!0;typeof s=="string"&&(l=!1);let p=IVe(s);l?o.push(u):u(i)}if(o.length!==0){for(let[,c]of t.variants.variants)c.order>i&&(c.order+=o.length);t.variants.compareFns=new Map(Array.from(t.variants.compareFns).map(([c,s])=>(c>i&&(c+=o.length),[c,s])));for(let[c,s]of o.entries())s(i+c+1)}}function IVe(e){return(Array.isArray(e)?e:[e]).map(t=>typeof t=="string"?{min:t}:t&&typeof t=="object"?t:null).map(t=>{if(t===null)return null;if("raw"in t)return t.raw;let n="";return t.max!==void 0&&(n+=`${t.max} >= `),n+="width",t.min!==void 0&&(n+=` >= ${t.min}`),`(${n})`}).filter(Boolean).join(", ")}function SVe(e,t){let n=e.theme.aria||{},i=e.theme.supports||{},o=e.theme.data||{};if(Object.keys(n).length>0){let r=t.variants.get("aria"),c=r?.applyFn,s=r?.compounds;t.variants.functional("aria",(u,H)=>{let a=H.value;return a&&a.kind==="named"&&a.value in n?c?.(u,{...H,value:{kind:"arbitrary",value:n[a.value]}}):c?.(u,H)},{compounds:s})}if(Object.keys(i).length>0){let r=t.variants.get("supports"),c=r?.applyFn,s=r?.compounds;t.variants.functional("supports",(u,H)=>{let a=H.value;return a&&a.kind==="named"&&a.value in i?c?.(u,{...H,value:{kind:"arbitrary",value:i[a.value]}}):c?.(u,H)},{compounds:s})}if(Object.keys(o).length>0){let r=t.variants.get("data"),c=r?.applyFn,s=r?.compounds;t.variants.functional("data",(u,H)=>{let a=H.value;return a&&a.kind==="named"&&a.value in o?c?.(u,{...H,value:{kind:"arbitrary",value:o[a.value]}}):c?.(u,H)},{compounds:s})}}async function TVe({designSystem:e,base:t,ast:n,loadModule:i,sources:o}){let r=0,c=[],s=[];as(n,(l,{parent:p,replaceWith:d,context:h})=>{if(l.kind==="at-rule"){if(l.name==="@plugin"){if(p!==null)throw new Error("`@plugin` cannot be nested.");let m=l.params.slice(1,-1);if(m.length===0)throw new Error("`@plugin` must have a path.");let g={};for(let y of l.nodes??[]){if(y.kind!=="declaration")throw new Error(`Unexpected \`@plugin\` option:
|
|
|
|
${qf([y])}
|
|
|
|
\`@plugin\` options must be a flat list of declarations.`);if(y.value===void 0)continue;let _=y.value,E=ui(_,",").map(A=>{if(A=A.trim(),A==="null")return null;if(A==="true")return!0;if(A==="false")return!1;if(Number.isNaN(Number(A))){if(A[0]==='"'&&A[A.length-1]==='"'||A[0]==="'"&&A[A.length-1]==="'")return A.slice(1,-1);if(A[0]==="{"&&A[A.length-1]==="}")throw new Error(`Unexpected \`@plugin\` option: Value of declaration \`${qf([y]).trim()}\` is not supported.
|
|
|
|
Using an object as a plugin option is currently only supported in JavaScript configuration files.`)}else return Number(A);return A});g[y.property]=E.length===1?E[0]:E}c.push([{id:m,base:h.base,reference:!!h.reference},Object.keys(g).length>0?g:null]),d([]),r|=4;return}if(l.name==="@config"){if(l.nodes.length>0)throw new Error("`@config` cannot have a body.");if(p!==null)throw new Error("`@config` cannot be nested.");s.push({id:l.params.slice(1,-1),base:h.base,reference:!!h.reference}),d([]),r|=4;return}}}),bVe(e);let u=e.resolveThemeValue;if(e.resolveThemeValue=function(l,p){return l.startsWith("--")?u(l,p):(r|=Soe({designSystem:e,base:t,ast:n,sources:o,configs:[],pluginDetails:[]}),e.resolveThemeValue(l,p))},!c.length&&!s.length)return 0;let[H,a]=await Promise.all([Promise.all(s.map(async({id:l,base:p,reference:d})=>{let h=await i(l,p,"config");return{path:l,base:h.base,config:h.module,reference:d}})),Promise.all(c.map(async([{id:l,base:p,reference:d},h])=>{let m=await i(l,p,"plugin");return{path:l,base:m.base,plugin:m.module,options:h,reference:d}}))]);return r|=Soe({designSystem:e,base:t,ast:n,sources:o,configs:H,pluginDetails:a}),r}function Soe({designSystem:e,base:t,ast:n,sources:i,configs:o,pluginDetails:r}){let c=0,s=[...r.map(m=>{if(!m.options)return{config:{plugins:[m.plugin]},base:m.base,reference:m.reference};if("__isOptionsFunction"in m.plugin)return{config:{plugins:[m.plugin(m.options)]},base:m.base,reference:m.reference};throw new Error(`The plugin "${m.path}" does not accept options`)}),...o],{resolvedConfig:u}=Ioe(e,[{config:fVe(e.theme),base:t,reference:!0},...s,{config:{plugins:[gVe]},base:t,reference:!0}]),{resolvedConfig:H,replacedThemeKeys:a}=Ioe(e,s),l=e.resolveThemeValue;e.resolveThemeValue=function(m,g){if(m[0]==="-"&&m[1]==="-")return l(m,g);let y=d.theme(m,void 0);if(Array.isArray(y)&&y.length===2)return y[0];if(Array.isArray(y))return y.join(", ");if(typeof y=="string")return y};let p={designSystem:e,ast:n,resolvedConfig:u,featuresRef:{set current(m){c|=m}}},d=goe({...p,referenceMode:!1}),h;for(let{handler:m,reference:g}of u.plugins)g?(h||=goe({...p,referenceMode:!0}),m(h)):m(d);if(zWe(e,H,a),pVe(e,H,a),SVe(H,e),AVe(H,e),EVe(H,e),!e.theme.prefix&&u.prefix){if(u.prefix.endsWith("-")&&(u.prefix=u.prefix.slice(0,-1),console.warn(`The prefix "${u.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only and is written as a variant before all utilities. We have fixed up the prefix for you. Remove the trailing \`-\` to silence this warning.`)),!LVe.test(u.prefix))throw new Error(`The prefix "${u.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`);e.theme.prefix=u.prefix}if(!e.important&&u.important===!0&&(e.important=!0),typeof u.important=="string"){let m=u.important;as(n,(g,{replaceWith:y,parent:_})=>{if(g.kind==="at-rule"&&!(g.name!=="@tailwind"||g.params!=="utilities"))return _?.kind==="rule"&&_.selector===m||y(Es(m,[g])),2})}for(let m of u.blocklist)e.invalidCandidates.add(m);for(let m of u.content.files){if("raw"in m)throw new Error(`Error in the config file/plugin/preset. The \`content\` key contains a \`raw\` entry:
|
|
|
|
${JSON.stringify(m,null,2)}
|
|
|
|
This feature is not currently supported.`);let g=!1;m.pattern[0]=="!"&&(g=!0,m.pattern=m.pattern.slice(1)),i.push({...m,negated:g})}return c}function rM(e){let t=e.indexOf("{");if(t===-1)return[e];let n=[],i=e.slice(0,t),o=e.slice(t),r=0,c=o.lastIndexOf("}");for(let l=0;l<o.length;l++){let p=o[l];if(p==="{")r++;else if(p==="}"&&(r--,r===0)){c=l;break}}if(c===-1)throw new Error(`The pattern \`${e}\` is not balanced.`);let s=o.slice(1,c),u=o.slice(c+1),H;vVe(s)?H=CVe(s):H=ui(s,","),H=H.flatMap(l=>rM(l));let a=rM(u);for(let l of a)for(let p of H)n.push(i+p+l);return n}function vVe(e){return Ooe.test(e)}function CVe(e){let t=e.match(Ooe);if(!t)return[e];let[,n,i,o]=t,r=o?parseInt(o,10):void 0,c=[];if(/^-?\d+$/.test(n)&&/^-?\d+$/.test(i)){let s=parseInt(n,10),u=parseInt(i,10);if(r===void 0&&(r=s<=u?1:-1),r===0)throw new Error("Step cannot be zero in sequence expansion.");if(r>0)for(let H=s;H<=u;H+=r){let a=H.toString();c.push(a)}else for(let H=s;H>=u;H+=r){let a=H.toString();c.push(a)}}return c}function DVe(){throw new Error("No `loadModule` function provided to `compile`")}function PVe(){throw new Error("No `loadStylesheet` function provided to `compile`")}function wVe(e){let t=0,n=null;for(let i of ui(e," "))i==="reference"?t|=2:i==="inline"?t|=1:i==="default"?t|=4:i==="static"?t|=8:i.startsWith("prefix(")&&i.endsWith(")")&&(n=i.slice(7,-1));return[t,n]}async function Foe(e,{base:t="",loadModule:n=DVe,loadStylesheet:i=PVe}={}){let o=0;e=[Ff({base:t},e)],o|=await Roe(e,t,i);let r=null,c=new pWe,s=[],u=[],H=null,a=null,l=[],p=[],d=[],h=[],m=null;as(e,(y,{parent:_,replaceWith:E,context:A})=>{if(y.kind==="at-rule"){if(y.name==="@tailwind"&&(y.params==="utilities"||y.params.startsWith("utilities"))){if(a!==null){E([]);return}let S=ui(y.params," ");for(let T of S)if(T.startsWith("source(")){let I=T.slice(7,-1);if(I==="none"){m=I;continue}if(I[0]==='"'&&I[I.length-1]!=='"'||I[0]==="'"&&I[I.length-1]!=="'"||I[0]!=="'"&&I[0]!=='"')throw new Error("`source(\u2026)` paths must be quoted.");m={base:A.sourceBase??A.base,pattern:I.slice(1,-1)}}a=y,o|=16}if(y.name==="@utility"){if(_!==null)throw new Error("`@utility` cannot be nested.");if(y.nodes.length===0)throw new Error(`\`@utility ${y.params}\` is empty. Utilities should include at least one property.`);let S=DWe(y);if(S===null)throw new Error(`\`@utility ${y.params}\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter.`);u.push(S)}if(y.name==="@source"){if(y.nodes.length>0)throw new Error("`@source` cannot have a body.");if(_!==null)throw new Error("`@source` cannot be nested.");let S=!1,T=!1,I=y.params;if(I[0]==="n"&&I.startsWith("not ")&&(S=!0,I=I.slice(4)),I[0]==="i"&&I.startsWith("inline(")&&(T=!0,I=I.slice(7,-1)),I[0]==='"'&&I[I.length-1]!=='"'||I[0]==="'"&&I[I.length-1]!=="'"||I[0]!=="'"&&I[0]!=='"')throw new Error("`@source` paths must be quoted.");let L=I.slice(1,-1);if(T){let x=S?h:d,C=ui(L," ");for(let D of C)for(let O of rM(D))x.push(O)}else p.push({base:A.base,pattern:L,negated:S});E([]);return}if(y.name==="@variant"&&(_===null?y.nodes.length===0?y.name="@custom-variant":(as(y.nodes,S=>{if(S.kind==="at-rule"&&S.name==="@slot")return y.name="@custom-variant",2}),y.name==="@variant"&&l.push(y)):l.push(y)),y.name==="@custom-variant"){if(_!==null)throw new Error("`@custom-variant` cannot be nested.");E([]);let[S,T]=ui(y.params," ");if(!woe.test(S))throw new Error(`\`@custom-variant ${S}\` defines an invalid variant name. Variants should only contain alphanumeric, dashes or underscore characters.`);if(y.nodes.length>0&&T)throw new Error(`\`@custom-variant ${S}\` cannot have both a selector and a body.`);if(y.nodes.length===0){if(!T)throw new Error(`\`@custom-variant ${S}\` has no selector or body.`);let I=ui(T.slice(1,-1),",");if(I.length===0||I.some(C=>C.trim()===""))throw new Error(`\`@custom-variant ${S} (${I.join(",")})\` selector is invalid.`);let L=[],x=[];for(let C of I)C=C.trim(),C[0]==="@"?L.push(C):x.push(C);s.push(C=>{C.variants.static(S,D=>{let O=[];x.length>0&&O.push(Es(x.join(", "),D.nodes));for(let j of L)O.push(ho(j,D.nodes));D.nodes=O},{compounds:w0([...x,...L])})});return}else{s.push(I=>{I.variants.fromAst(S,y.nodes)});return}}if(y.name==="@media"){let S=ui(y.params," "),T=[];for(let I of S)if(I.startsWith("source(")){let L=I.slice(7,-1);as(y.nodes,(x,{replaceWith:C})=>{if(x.kind==="at-rule"&&x.name==="@tailwind"&&x.params==="utilities")return x.params+=` source(${L})`,C([Ff({sourceBase:A.base},[x])]),2})}else if(I.startsWith("theme(")){let L=I.slice(6,-1),x=L.includes("reference");as(y.nodes,C=>{if(C.kind!=="at-rule"){if(x)throw new Error('Files imported with `@import "\u2026" theme(reference)` must only contain `@theme` blocks.\nUse `@reference "\u2026";` instead.');return 0}if(C.name==="@theme")return C.params+=" "+L,1})}else if(I.startsWith("prefix(")){let L=I.slice(7,-1);as(y.nodes,x=>{if(x.kind==="at-rule"&&x.name==="@theme")return x.params+=` prefix(${L})`,1})}else I==="important"?r=!0:I==="reference"?y.nodes=[Ff({reference:!0},y.nodes)]:T.push(I);T.length>0?y.params=T.join(" "):S.length>0&&E(y.nodes)}if(y.name==="@theme"){let[S,T]=wVe(y.params);if(A.reference&&(S|=2),T){if(!xVe.test(T))throw new Error(`The prefix "${T}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`);c.prefix=T}return as(y.nodes,I=>{if(I.kind==="at-rule"&&I.name==="@keyframes")return c.addKeyframes(I),1;if(I.kind==="comment")return;if(I.kind==="declaration"&&I.property.startsWith("--")){c.add(dT(I.property),I.value??"",S);return}let L=qf([ss(y.name,y.params,[I])]).split(`
|
|
`).map((x,C,D)=>`${C===0||C>=D.length-2?" ":">"} ${x}`).join(`
|
|
`);throw new Error(`\`@theme\` blocks must only contain custom properties or \`@keyframes\`.
|
|
|
|
${L}`)}),H?E([]):(H=Es(":root, :host",[]),E([H])),1}}});let g=WWe(c);if(r&&(g.important=r),h.length>0)for(let y of h)g.invalidCandidates.add(y);o|=await TVe({designSystem:g,base:t,ast:e,loadModule:n,sources:p});for(let y of s)y(g);for(let y of u)y(g);if(H){let y=[];for(let[E,A]of g.theme.entries())A.options&2||y.push(Ue(gT(E),A.value));let _=g.theme.getKeyframes();for(let E of _)e.push(Ff({theme:!0},[ni([E])]));H.nodes=[Ff({theme:!0},y)]}if(a){let y=a;y.kind="context",y.context={}}if(l.length>0){for(let y of l){let _=Es("&",y.nodes),E=y.params,A=g.parseVariant(E);if(A===null)throw new Error(`Cannot use \`@variant\` with unknown variant: ${E}`);if(AT(_,A,g.variants)===null)throw new Error(`Cannot use \`@variant\` with variant: ${E}`);Object.assign(y,_)}o|=32}return o|=nM(e,g),o|=Q$(e,g),as(e,(y,{replaceWith:_})=>{if(y.kind==="at-rule")return y.name==="@utility"&&_([]),1}),{designSystem:g,ast:e,sources:p,root:m,utilitiesNode:a,features:o,inlineCandidates:d}}async function oM(e,t={}){let{designSystem:n,ast:i,sources:o,root:r,utilitiesNode:c,features:s,inlineCandidates:u}=await Foe(e,t);i.unshift(voe(`! tailwindcss v${sWe} | MIT License | https://tailwindcss.com `));function H(h){n.invalidCandidates.add(h)}let a=new Set,l=null,p=0,d=!1;for(let h of u)n.invalidCandidates.has(h)||(a.add(h),d=!0);return{sources:o,root:r,features:s,build(h){if(s===0)return e;if(!c)return l??=D0(i,n,t.polyfills),l;let m=d,g=!1;d=!1;let y=a.size;for(let E of h)if(!n.invalidCandidates.has(E))if(E[0]==="-"&&E[1]==="-"){let A=n.theme.markUsedVariable(E);m||=A,g||=A}else a.add(E),m||=a.size!==y;if(!m)return l??=D0(i,n,t.polyfills),l;let _=bT(a,n,{onInvalidCandidate:H}).astNodes;return!g&&p===_.length?(l??=D0(i,n,t.polyfills),l):(p=_.length,c.nodes=_,l=D0(i,n,t.polyfills),l)}}}async function joe(e,t={}){let n=yT(e),i=await oM(n,t),o=n,r=e;return{...i,build(c){let s=i.build(c);return s===o||(r=qf(s),o=s),r}}}async function Uoe(e,t={}){return(await Foe(yT(e),t)).designSystem}function qoe(){throw new Error("It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install `@tailwindcss/postcss` and update your PostCSS configuration.")}var sWe,v0,oT,lT,aWe,oWe,lWe,cT,Of,x0,uT,Nae,U$,G$,Rae,cWe,uWe,$ae,q$,HWe,Loe,pWe,Il,Bae,hWe,Oae,Fae,_We,jae,Uae,qae,Wae,mWe,EWe,Vae,Kae,Gae,yWe,K$,AWe,Zae,zae,Jae,LWe,Qae,TWe,vWe,_T,CWe,J$,eoe,MWe,woe,UWe,noe,QWe,loe,aVe,coe,oVe,uoe,lVe,cVe,Hoe,poe,uVe,doe,foe,hoe,HVe,_oe,moe,Eoe,yoe,hVe,LVe,Ooe,xVe,sM,aM,Woe=Pl(()=>{j$();eT();sWe="4.1.1",v0=92,oT=47,lT=42,aWe=34,oWe=39,lWe=58,cT=59,Of=10,x0=32,uT=9,Nae=123,U$=125,G$=40,Rae=41,cWe=91,uWe=93,$ae=45,q$=64,HWe=33;Loe=new Map([["--font",["--font-weight","--font-size"]],["--inset",["--inset-shadow","--inset-ring"]],["--text",["--text-color","--text-decoration-color","--text-decoration-thickness","--text-indent","--text-shadow","--text-underline-offset"]]]);pWe=class{constructor(e=new Map,t=new Set([])){this.values=e,this.keyframes=t}prefix=null;add(e,t,n=0){if(e.endsWith("-*")){if(t!=="initial")throw new Error(`Invalid theme value \`${t}\` for namespace \`${e}\``);e==="--*"?this.values.clear():this.clearNamespace(e.slice(0,-2),0)}if(n&4){let i=this.values.get(e);if(i&&!(i.options&4))return}t==="initial"?this.values.delete(e):this.values.set(e,{value:t,options:n})}keysInNamespaces(e){let t=[];for(let n of e){let i=`${n}-`;for(let o of this.values.keys())o.startsWith(i)&&o.indexOf("--",2)===-1&&(Mae(o,n)||t.push(o.slice(i.length)))}return t}get(e){for(let t of e){let n=this.values.get(t);if(n)return n.value}return null}hasDefault(e){return(this.getOptions(e)&4)===4}getOptions(e){return e=dT(this.#t(e)),this.values.get(e)?.options??0}entries(){return this.prefix?Array.from(this.values,e=>(e[0]=this.prefixKey(e[0]),e)):this.values.entries()}prefixKey(e){return this.prefix?`--${this.prefix}-${e.slice(2)}`:e}#t(e){return this.prefix?`--${e.slice(3+this.prefix.length)}`:e}clearNamespace(e,t){let n=Loe.get(e)??[];e:for(let i of this.values.keys())if(i.startsWith(e)){if(t!==0&&(this.getOptions(i)&t)!==t)continue;for(let o of n)if(i.startsWith(o))continue e;this.values.delete(i)}}#e(e,t){for(let n of t){let i=e!==null?`${n}-${e}`:n;if(!this.values.has(i))if(e!==null&&e.includes(".")){if(i=`${n}-${e.replaceAll(".","_")}`,!this.values.has(i))continue}else continue;if(!Mae(i,n))return i}return null}#r(e){let t=this.values.get(e);if(!t)return null;let n=null;return t.options&2&&(n=t.value),`var(${gT(this.prefixKey(e))}${n?`, ${n}`:""})`}markUsedVariable(e){let t=dT(this.#t(e)),n=this.values.get(t);if(!n)return!1;let i=n.options&16;return n.options|=16,!i}resolve(e,t,n=0){let i=this.#e(e,t);if(!i)return null;let o=this.values.get(i);return(n|o.options)&1?o.value:this.#r(i)}resolveValue(e,t){let n=this.#e(e,t);return n?this.values.get(n).value:null}resolveWith(e,t,n=[]){let i=this.#e(e,t);if(!i)return null;let o={};for(let c of n){let s=`${i}${c}`,u=this.values.get(s);u&&(u.options&1?o[c]=u.value:o[c]=this.#r(s))}let r=this.values.get(i);return r.options&1?[r.value,o]:[this.#r(i),o]}namespace(e){let t=new Map,n=`${e}-`;for(let[i,o]of this.values)i===e?t.set(null,o.value):i.startsWith(`${n}-`)?t.set(i.slice(e.length),o.value):i.startsWith(n)&&t.set(i.slice(n.length),o.value);return t}addKeyframes(e){this.keyframes.add(e)}getKeyframes(){return Array.from(this.keyframes)}},Il=class extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return t===void 0&&(t=this.factory(e,this),this.set(e,t)),t}};Bae=92,hWe=41,Oae=58,Fae=44,_We=34,jae=61,Uae=62,qae=60,Wae=10,mWe=40,EWe=39,Vae=47,Kae=32,Gae=9;yWe=64;K$=new Uint8Array(256);AWe=58,Zae=45,zae=97,Jae=122;LWe=new Set(["inset","inherit","initial","revert","unset"]),Qae=/^-?(\d+|\.\d+)(.*?)$/g;TWe=/^-?[a-z][a-zA-Z0-9/%._-]*$/,vWe=/^-?[a-z][a-zA-Z0-9/%._-]*-\*$/,_T=["0","0.5","1","1.5","2","2.5","3","3.5","4","5","6","7","8","9","10","11","12","14","16","20","24","28","32","36","40","44","48","52","56","60","64","72","80","96"],CWe=class{utilities=new Il(()=>[]);completions=new Map;static(e,t){this.utilities.get(e).push({kind:"static",compileFn:t})}functional(e,t,n){this.utilities.get(e).push({kind:"functional",compileFn:t,options:n})}has(e,t){return this.utilities.has(e)&&this.utilities.get(e).some(n=>n.kind===t)}get(e){return this.utilities.has(e)?this.utilities.get(e):[]}getCompletions(e){return this.completions.get(e)?.()??[]}suggest(e,t){this.completions.set(e,t)}keys(e){let t=[];for(let[n,i]of this.utilities.entries())for(let o of i)if(o.kind===e){t.push(n);break}return t}};J$={"--alpha":PWe,"--spacing":wWe,"--theme":kWe,theme:NWe};eoe=new RegExp(Object.keys(J$).map(e=>`${e}\\(`).join("|"));MWe=/^\d+\/\d+$/;woe=/^@?[a-zA-Z0-9_-]*$/,UWe=class{compareFns=new Map;variants=new Map;completions=new Map;groupOrder=null;lastOrder=0;static(e,t,{compounds:n,order:i}={}){this.set(e,{kind:"static",applyFn:t,compoundsWith:0,compounds:n??2,order:i})}fromAst(e,t){let n=[];as(t,i=>{i.kind==="rule"?n.push(i.selector):i.kind==="at-rule"&&i.name!=="@slot"&&n.push(`${i.name} ${i.params}`)}),this.static(e,i=>{let o=structuredClone(t);koe(o,i.nodes),i.nodes=o},{compounds:w0(n)})}functional(e,t,{compounds:n,order:i}={}){this.set(e,{kind:"functional",applyFn:t,compoundsWith:0,compounds:n??2,order:i})}compound(e,t,n,{compounds:i,order:o}={}){this.set(e,{kind:"compound",applyFn:n,compoundsWith:t,compounds:i??2,order:o})}group(e,t){this.groupOrder=this.nextOrder(),t&&this.compareFns.set(this.groupOrder,t),e(),this.groupOrder=null}has(e){return this.variants.has(e)}get(e){return this.variants.get(e)}kind(e){return this.variants.get(e)?.kind}compoundsWith(e,t){let n=this.variants.get(e),i=typeof t=="string"?this.variants.get(t):t.kind==="arbitrary"?{compounds:w0([t.selector])}:this.variants.get(t.root);return!(!n||!i||n.kind!=="compound"||i.compounds===0||n.compoundsWith===0||(n.compoundsWith&i.compounds)===0)}suggest(e,t){this.completions.set(e,t)}getCompletions(e){return this.completions.get(e)?.()??[]}compare(e,t){if(e===t)return 0;if(e===null)return-1;if(t===null)return 1;if(e.kind==="arbitrary"&&t.kind==="arbitrary")return e.selector<t.selector?-1:1;if(e.kind==="arbitrary")return 1;if(t.kind==="arbitrary")return-1;let n=this.variants.get(e.root).order,i=this.variants.get(t.root).order,o=n-i;if(o!==0)return o;if(e.kind==="compound"&&t.kind==="compound"){let u=this.compare(e.variant,t.variant);return u!==0?u:e.modifier&&t.modifier?e.modifier.value<t.modifier.value?-1:1:e.modifier?1:t.modifier?-1:0}let r=this.compareFns.get(n);if(r!==void 0)return r(e,t);if(e.root!==t.root)return e.root<t.root?-1:1;let c=e.value,s=t.value;return c===null?-1:s===null||c.kind==="arbitrary"&&s.kind!=="arbitrary"?1:c.kind!=="arbitrary"&&s.kind==="arbitrary"||c.value<s.value?-1:1}keys(){return this.variants.keys()}entries(){return this.variants.entries()}set(e,{kind:t,applyFn:n,compounds:i,compoundsWith:o,order:r}){let c=this.variants.get(e);c?Object.assign(c,{kind:t,applyFn:n,compounds:i}):(r===void 0&&(this.lastOrder=this.nextOrder(),r=this.lastOrder),this.variants.set(e,{kind:t,applyFn:n,order:r,compoundsWith:o,compounds:i}))}nextOrder(){return this.groupOrder??this.lastOrder+1}};noe=["container-type","pointer-events","visibility","position","inset","inset-inline","inset-block","inset-inline-start","inset-inline-end","top","right","bottom","left","isolation","z-index","order","grid-column","grid-column-start","grid-column-end","grid-row","grid-row-start","grid-row-end","float","clear","--tw-container-component","margin","margin-inline","margin-block","margin-inline-start","margin-inline-end","margin-top","margin-right","margin-bottom","margin-left","box-sizing","display","field-sizing","aspect-ratio","height","max-height","min-height","width","max-width","min-width","flex","flex-shrink","flex-grow","flex-basis","table-layout","caption-side","border-collapse","border-spacing","transform-origin","translate","--tw-translate-x","--tw-translate-y","--tw-translate-z","scale","--tw-scale-x","--tw-scale-y","--tw-scale-z","rotate","--tw-rotate-x","--tw-rotate-y","--tw-rotate-z","--tw-skew-x","--tw-skew-y","transform","animation","cursor","touch-action","--tw-pan-x","--tw-pan-y","--tw-pinch-zoom","resize","scroll-snap-type","--tw-scroll-snap-strictness","scroll-snap-align","scroll-snap-stop","scroll-margin","scroll-margin-inline","scroll-margin-block","scroll-margin-inline-start","scroll-margin-inline-end","scroll-margin-top","scroll-margin-right","scroll-margin-bottom","scroll-margin-left","scroll-padding","scroll-padding-inline","scroll-padding-block","scroll-padding-inline-start","scroll-padding-inline-end","scroll-padding-top","scroll-padding-right","scroll-padding-bottom","scroll-padding-left","list-style-position","list-style-type","list-style-image","appearance","columns","break-before","break-inside","break-after","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-template-columns","grid-template-rows","flex-direction","flex-wrap","place-content","place-items","align-content","align-items","justify-content","justify-items","gap","column-gap","row-gap","--tw-space-x-reverse","--tw-space-y-reverse","divide-x-width","divide-y-width","--tw-divide-y-reverse","divide-style","divide-color","place-self","align-self","justify-self","overflow","overflow-x","overflow-y","overscroll-behavior","overscroll-behavior-x","overscroll-behavior-y","scroll-behavior","border-radius","border-start-radius","border-end-radius","border-top-radius","border-right-radius","border-bottom-radius","border-left-radius","border-start-start-radius","border-start-end-radius","border-end-end-radius","border-end-start-radius","border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius","border-width","border-inline-width","border-block-width","border-inline-start-width","border-inline-end-width","border-top-width","border-right-width","border-bottom-width","border-left-width","border-style","border-inline-style","border-block-style","border-inline-start-style","border-inline-end-style","border-top-style","border-right-style","border-bottom-style","border-left-style","border-color","border-inline-color","border-block-color","border-inline-start-color","border-inline-end-color","border-top-color","border-right-color","border-bottom-color","border-left-color","background-color","background-image","--tw-gradient-position","--tw-gradient-stops","--tw-gradient-via-stops","--tw-gradient-from","--tw-gradient-from-position","--tw-gradient-via","--tw-gradient-via-position","--tw-gradient-to","--tw-gradient-to-position","mask-image","--tw-mask-top","--tw-mask-top-from-color","--tw-mask-top-from-position","--tw-mask-top-to-color","--tw-mask-top-to-position","--tw-mask-right","--tw-mask-right-from-color","--tw-mask-right-from-position","--tw-mask-right-to-color","--tw-mask-right-to-position","--tw-mask-bottom","--tw-mask-bottom-from-color","--tw-mask-bottom-from-position","--tw-mask-bottom-to-color","--tw-mask-bottom-to-position","--tw-mask-left","--tw-mask-left-from-color","--tw-mask-left-from-position","--tw-mask-left-to-color","--tw-mask-left-to-position","--tw-mask-linear","--tw-mask-linear-position","--tw-mask-linear-from-color","--tw-mask-linear-from-position","--tw-mask-linear-to-color","--tw-mask-linear-to-position","--tw-mask-radial","--tw-mask-radial-shape","--tw-mask-radial-size","--tw-mask-radial-position","--tw-mask-radial-from-color","--tw-mask-radial-from-position","--tw-mask-radial-to-color","--tw-mask-radial-to-position","--tw-mask-conic","--tw-mask-conic-position","--tw-mask-conic-from-color","--tw-mask-conic-from-position","--tw-mask-conic-to-color","--tw-mask-conic-to-position","box-decoration-break","background-size","background-attachment","background-clip","background-position","background-repeat","background-origin","mask-composite","mask-mode","mask-type","mask-size","mask-clip","mask-position","mask-repeat","mask-origin","fill","stroke","stroke-width","object-fit","object-position","padding","padding-inline","padding-block","padding-inline-start","padding-inline-end","padding-top","padding-right","padding-bottom","padding-left","text-align","text-indent","vertical-align","font-family","font-size","line-height","font-weight","letter-spacing","text-wrap","overflow-wrap","word-break","text-overflow","hyphens","white-space","color","text-transform","font-style","font-stretch","font-variant-numeric","text-decoration-line","text-decoration-color","text-decoration-style","text-decoration-thickness","text-underline-offset","-webkit-font-smoothing","placeholder-color","caret-color","accent-color","color-scheme","opacity","background-blend-mode","mix-blend-mode","box-shadow","--tw-shadow","--tw-shadow-color","--tw-ring-shadow","--tw-ring-color","--tw-inset-shadow","--tw-inset-shadow-color","--tw-inset-ring-shadow","--tw-inset-ring-color","--tw-ring-offset-width","--tw-ring-offset-color","outline","outline-width","outline-offset","outline-color","--tw-blur","--tw-brightness","--tw-contrast","--tw-drop-shadow","--tw-grayscale","--tw-hue-rotate","--tw-invert","--tw-saturate","--tw-sepia","filter","--tw-backdrop-blur","--tw-backdrop-brightness","--tw-backdrop-contrast","--tw-backdrop-grayscale","--tw-backdrop-hue-rotate","--tw-backdrop-invert","--tw-backdrop-opacity","--tw-backdrop-saturate","--tw-backdrop-sepia","backdrop-filter","transition-property","transition-behavior","transition-delay","transition-duration","transition-timing-function","will-change","contain","content","forced-color-adjust"];QWe=/^[a-zA-Z0-9-_%/\.]+$/;loe=92,aVe=93,coe=41,oVe=58,uoe=44,lVe=34,cVe=46,Hoe=62,poe=10,uVe=35,doe=91,foe=40,hoe=43,HVe=39,_oe=32,moe=9,Eoe=126;yoe=/^[a-z@][a-zA-Z0-9/%._-]*$/;hVe={blocklist:[],future:{},prefix:"",important:!1,darkMode:null,theme:{},plugins:[],content:{files:[]}};LVe=/^[a-z]+$/;Ooe=/^(-?\d+)\.\.(-?\d+)(?:\.\.(-?\d+))?$/;xVe=/^[a-z]+$/,sM=(e=>(e[e.None=0]="None",e[e.AtProperty=1]="AtProperty",e[e.ColorMix=2]="ColorMix",e[e.All=3]="All",e))(sM||{});aM=(e=>(e[e.None=0]="None",e[e.AtApply=1]="AtApply",e[e.AtImport=2]="AtImport",e[e.JsPluginCompat=4]="JsPluginCompat",e[e.ThemeFunction=8]="ThemeFunction",e[e.Utilities=16]="Utilities",e[e.Variants=32]="Variants",e))(aM||{})});var lM={};T1e(lM,{Features:()=>aM,Polyfills:()=>sM,__unstable__loadDesignSystem:()=>Uoe,compile:()=>joe,compileAst:()=>oM,default:()=>qoe});var cM=Pl(()=>{Woe();j$();eT()});var k0=Le((r$t,kVe)=>{kVe.exports={name:"tailwindcss",version:"3.4.17",description:"A utility-first CSS framework for rapidly building custom user interfaces.",license:"MIT",main:"lib/index.js",types:"types/index.d.ts",repository:"https://github.com/tailwindlabs/tailwindcss.git",bugs:"https://github.com/tailwindlabs/tailwindcss/issues",homepage:"https://tailwindcss.com",bin:{tailwind:"lib/cli.js",tailwindcss:"lib/cli.js"},scripts:{prebuild:"npm run generate && rimraf lib",build:"swc src --out-dir lib --copy-files",postbuild:"esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js --define:process.env.CSS_TRANSFORMER_WASM=false","rebuild-fixtures":"npm run build && node -r @swc/register scripts/rebuildFixtures.js",style:"eslint .",pretest:"npm run generate",test:"jest","test:integrations":"npm run test --prefix ./integrations","install:integrations":"node scripts/install-integrations.js","generate:plugin-list":"node -r @swc/register scripts/create-plugin-list.js","generate:types":"node -r @swc/register scripts/generate-types.js",generate:"npm run generate:plugin-list && npm run generate:types","release-channel":"node ./scripts/release-channel.js","release-notes":"node ./scripts/release-notes.js",prepublishOnly:"npm install --force && npm run build"},files:["src/*","cli/*","lib/*","peers/*","scripts/*.js","stubs/*","nesting/*","types/**/*","*.d.ts","*.css","*.js"],devDependencies:{"@swc/cli":"0.1.62","@swc/core":"1.3.55","@swc/jest":"0.2.26","@swc/register":"0.1.10",autoprefixer:"^10.4.20",browserslist:"^4.24.0",concurrently:"^8.2.2",cssnano:"^6.1.2",esbuild:"^0.24.0",eslint:"^8.57.1","eslint-config-prettier":"^8.10.0","eslint-plugin-prettier":"^4.2.1",jest:"^29.7.0","jest-diff":"^29.7.0",lightningcss:"1.27.0",prettier:"^2.8.8",rimraf:"^5.0.10","source-map-js":"^1.2.1",turbo:"^1.13.4"},dependencies:{"@alloc/quick-lru":"^5.2.0",arg:"^5.0.2",chokidar:"^3.6.0",didyoumean:"^1.2.2",dlv:"^1.1.3","fast-glob":"^3.3.2","glob-parent":"^6.0.2","is-glob":"^4.0.3",jiti:"^1.21.6",lilconfig:"^3.1.3",micromatch:"^4.0.8","normalize-path":"^3.0.0","object-hash":"^3.0.0",picocolors:"^1.1.1",postcss:"^8.4.47","postcss-import":"^15.1.0","postcss-js":"^4.0.1","postcss-load-config":"^4.0.2","postcss-nested":"^6.2.0","postcss-selector-parser":"^6.1.2",resolve:"^1.22.8",sucrase:"^3.35.0"},browserslist:["> 1%","not edge <= 18","not ie 11","not op_mini all"],jest:{testTimeout:3e4,setupFilesAfterEnv:["<rootDir>/jest/customMatchers.js"],testPathIgnorePatterns:["/node_modules/","/integrations/","/standalone-cli/","\\.test\\.skip\\.js$"],transformIgnorePatterns:["node_modules/(?!lightningcss)"],transform:{"\\.js$":"@swc/jest","\\.ts$":"@swc/jest"}},engines:{node:">=14.0.0"}}});var HM=Le((n$t,Voe)=>{"use strict";var uM=class{constructor(t={}){if(!(t.maxSize&&t.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");if(typeof t.maxAge=="number"&&t.maxAge===0)throw new TypeError("`maxAge` must be a number greater than 0");this.maxSize=t.maxSize,this.maxAge=t.maxAge||1/0,this.onEviction=t.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_emitEvictions(t){if(typeof this.onEviction=="function")for(let[n,i]of t)this.onEviction(n,i.value)}_deleteIfExpired(t,n){return typeof n.expiry=="number"&&n.expiry<=Date.now()?(typeof this.onEviction=="function"&&this.onEviction(t,n.value),this.delete(t)):!1}_getOrDeleteIfExpired(t,n){if(this._deleteIfExpired(t,n)===!1)return n.value}_getItemValue(t,n){return n.expiry?this._getOrDeleteIfExpired(t,n):n.value}_peek(t,n){let i=n.get(t);return this._getItemValue(t,i)}_set(t,n){this.cache.set(t,n),this._size++,this._size>=this.maxSize&&(this._size=0,this._emitEvictions(this.oldCache),this.oldCache=this.cache,this.cache=new Map)}_moveToRecent(t,n){this.oldCache.delete(t),this._set(t,n)}*_entriesAscending(){for(let t of this.oldCache){let[n,i]=t;this.cache.has(n)||this._deleteIfExpired(n,i)===!1&&(yield t)}for(let t of this.cache){let[n,i]=t;this._deleteIfExpired(n,i)===!1&&(yield t)}}get(t){if(this.cache.has(t)){let n=this.cache.get(t);return this._getItemValue(t,n)}if(this.oldCache.has(t)){let n=this.oldCache.get(t);if(this._deleteIfExpired(t,n)===!1)return this._moveToRecent(t,n),n.value}}set(t,n,{maxAge:i=this.maxAge===1/0?void 0:Date.now()+this.maxAge}={}){this.cache.has(t)?this.cache.set(t,{value:n,maxAge:i}):this._set(t,{value:n,expiry:i})}has(t){return this.cache.has(t)?!this._deleteIfExpired(t,this.cache.get(t)):this.oldCache.has(t)?!this._deleteIfExpired(t,this.oldCache.get(t)):!1}peek(t){if(this.cache.has(t))return this._peek(t,this.cache);if(this.oldCache.has(t))return this._peek(t,this.oldCache)}delete(t){let n=this.cache.delete(t);return n&&this._size--,this.oldCache.delete(t)||n}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}resize(t){if(!(t&&t>0))throw new TypeError("`maxSize` must be a number greater than 0");let n=[...this._entriesAscending()],i=n.length-t;i<0?(this.cache=new Map(n),this.oldCache=new Map,this._size=n.length):(i>0&&this._emitEvictions(n.slice(0,i)),this.oldCache=new Map(n.slice(i)),this.cache=new Map,this._size=0),this.maxSize=t}*keys(){for(let[t]of this)yield t}*values(){for(let[,t]of this)yield t}*[Symbol.iterator](){for(let t of this.cache){let[n,i]=t;this._deleteIfExpired(n,i)===!1&&(yield[n,i.value])}for(let t of this.oldCache){let[n,i]=t;this.cache.has(n)||this._deleteIfExpired(n,i)===!1&&(yield[n,i.value])}}*entriesDescending(){let t=[...this.cache];for(let n=t.length-1;n>=0;--n){let i=t[n],[o,r]=i;this._deleteIfExpired(o,r)===!1&&(yield[o,r.value])}t=[...this.oldCache];for(let n=t.length-1;n>=0;--n){let i=t[n],[o,r]=i;this.cache.has(o)||this._deleteIfExpired(o,r)===!1&&(yield[o,r.value])}}*entriesAscending(){for(let[t,n]of this._entriesAscending())yield[t,n.value]}get size(){if(!this._size)return this.oldCache.size;let t=0;for(let n of this.oldCache.keys())this.cache.has(n)||t++;return Math.min(this._size+t,this.maxSize)}};Voe.exports=uM});var Joe=Le((Wf,zoe)=>{"use strict";var pM=require("crypto");Wf=zoe.exports=N0;function N0(e,t){return t=Xoe(e,t),NVe(e,t)}Wf.sha1=function(e){return N0(e)};Wf.keys=function(e){return N0(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})};Wf.MD5=function(e){return N0(e,{algorithm:"md5",encoding:"hex"})};Wf.keysMD5=function(e){return N0(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var hm=pM.getHashes?pM.getHashes().slice():["sha1","md5"];hm.push("passthrough");var Koe=["buffer","hex","binary","base64"];function Xoe(e,t){t=t||{};var n={};if(n.algorithm=t.algorithm||"sha1",n.encoding=t.encoding||"hex",n.excludeValues=!!t.excludeValues,n.algorithm=n.algorithm.toLowerCase(),n.encoding=n.encoding.toLowerCase(),n.ignoreUnknown=t.ignoreUnknown===!0,n.respectType=t.respectType!==!1,n.respectFunctionNames=t.respectFunctionNames!==!1,n.respectFunctionProperties=t.respectFunctionProperties!==!1,n.unorderedArrays=t.unorderedArrays===!0,n.unorderedSets=t.unorderedSets!==!1,n.unorderedObjects=t.unorderedObjects!==!1,n.replacer=t.replacer||void 0,n.excludeKeys=t.excludeKeys||void 0,typeof e>"u")throw new Error("Object argument required.");for(var i=0;i<hm.length;++i)hm[i].toLowerCase()===n.algorithm.toLowerCase()&&(n.algorithm=hm[i]);if(hm.indexOf(n.algorithm)===-1)throw new Error('Algorithm "'+n.algorithm+'" not supported. supported values: '+hm.join(", "));if(Koe.indexOf(n.encoding)===-1&&n.algorithm!=="passthrough")throw new Error('Encoding "'+n.encoding+'" not supported. supported values: '+Koe.join(", "));return n}function Goe(e){if(typeof e!="function")return!1;var t=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i;return t.exec(Function.prototype.toString.call(e))!=null}function NVe(e,t){var n;t.algorithm!=="passthrough"?n=pM.createHash(t.algorithm):n=new Zoe,typeof n.write>"u"&&(n.write=n.update,n.end=n.update);var i=dM(t,n);if(i.dispatch(e),n.update||n.end(""),n.digest)return n.digest(t.encoding==="buffer"?void 0:t.encoding);var o=n.read();return t.encoding==="buffer"?o:o.toString(t.encoding)}Wf.writeToStream=function(e,t,n){return typeof n>"u"&&(n=t,t={}),t=Xoe(e,t),dM(t,n).dispatch(e)};function dM(e,t,n){n=n||[];var i=function(o){return t.update?t.update(o,"utf8"):t.write(o,"utf8")};return{dispatch:function(o){e.replacer&&(o=e.replacer(o));var r=typeof o;return o===null&&(r="null"),this["_"+r](o)},_object:function(o){var r=/\[object (.*)\]/i,c=Object.prototype.toString.call(o),s=r.exec(c);s?s=s[1]:s="unknown:["+c+"]",s=s.toLowerCase();var u=null;if((u=n.indexOf(o))>=0)return this.dispatch("[CIRCULAR:"+u+"]");if(n.push(o),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(o))return i("buffer:"),i(o);if(s!=="object"&&s!=="function"&&s!=="asyncfunction")if(this["_"+s])this["_"+s](o);else{if(e.ignoreUnknown)return i("["+s+"]");throw new Error('Unknown object type "'+s+'"')}else{var H=Object.keys(o);e.unorderedObjects&&(H=H.sort()),e.respectType!==!1&&!Goe(o)&&H.splice(0,0,"prototype","__proto__","constructor"),e.excludeKeys&&(H=H.filter(function(l){return!e.excludeKeys(l)})),i("object:"+H.length+":");var a=this;return H.forEach(function(l){a.dispatch(l),i(":"),e.excludeValues||a.dispatch(o[l]),i(",")})}},_array:function(o,r){r=typeof r<"u"?r:e.unorderedArrays!==!1;var c=this;if(i("array:"+o.length+":"),!r||o.length<=1)return o.forEach(function(H){return c.dispatch(H)});var s=[],u=o.map(function(H){var a=new Zoe,l=n.slice(),p=dM(e,a,l);return p.dispatch(H),s=s.concat(l.slice(n.length)),a.read().toString()});return n=n.concat(s),u.sort(),this._array(u,!1)},_date:function(o){return i("date:"+o.toJSON())},_symbol:function(o){return i("symbol:"+o.toString())},_error:function(o){return i("error:"+o.toString())},_boolean:function(o){return i("bool:"+o.toString())},_string:function(o){i("string:"+o.length+":"),i(o.toString())},_function:function(o){i("fn:"),Goe(o)?this.dispatch("[native]"):this.dispatch(o.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(o.name)),e.respectFunctionProperties&&this._object(o)},_number:function(o){return i("number:"+o.toString())},_xml:function(o){return i("xml:"+o.toString())},_null:function(){return i("Null")},_undefined:function(){return i("Undefined")},_regexp:function(o){return i("regex:"+o.toString())},_uint8array:function(o){return i("uint8array:"),this.dispatch(Array.prototype.slice.call(o))},_uint8clampedarray:function(o){return i("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(o))},_int8array:function(o){return i("int8array:"),this.dispatch(Array.prototype.slice.call(o))},_uint16array:function(o){return i("uint16array:"),this.dispatch(Array.prototype.slice.call(o))},_int16array:function(o){return i("int16array:"),this.dispatch(Array.prototype.slice.call(o))},_uint32array:function(o){return i("uint32array:"),this.dispatch(Array.prototype.slice.call(o))},_int32array:function(o){return i("int32array:"),this.dispatch(Array.prototype.slice.call(o))},_float32array:function(o){return i("float32array:"),this.dispatch(Array.prototype.slice.call(o))},_float64array:function(o){return i("float64array:"),this.dispatch(Array.prototype.slice.call(o))},_arraybuffer:function(o){return i("arraybuffer:"),this.dispatch(new Uint8Array(o))},_url:function(o){return i("url:"+o.toString(),"utf8")},_map:function(o){i("map:");var r=Array.from(o);return this._array(r,e.unorderedSets!==!1)},_set:function(o){i("set:");var r=Array.from(o);return this._array(r,e.unorderedSets!==!1)},_file:function(o){return i("file:"),this.dispatch([o.name,o.size,o.type,o.lastModfied])},_blob:function(){if(e.ignoreUnknown)return i("[blob]");throw Error(`Hashing Blob objects is currently not supported
|
|
(see https://github.com/puleos/object-hash/issues/26)
|
|
Use "options.replacer" or "options.ignoreUnknown"
|
|
`)},_domwindow:function(){return i("domwindow")},_bigint:function(o){return i("bigint:"+o.toString())},_process:function(){return i("process")},_timer:function(){return i("timer")},_pipe:function(){return i("pipe")},_tcp:function(){return i("tcp")},_udp:function(){return i("udp")},_tty:function(){return i("tty")},_statwatcher:function(){return i("statwatcher")},_securecontext:function(){return i("securecontext")},_connection:function(){return i("connection")},_zlib:function(){return i("zlib")},_context:function(){return i("context")},_nodescript:function(){return i("nodescript")},_httpparser:function(){return i("httpparser")},_dataview:function(){return i("dataview")},_signal:function(){return i("signal")},_fsevent:function(){return i("fsevent")},_tlswrap:function(){return i("tlswrap")}}}function Zoe(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}});var Qoe=Le(fM=>{"use strict";Object.defineProperty(fM,"__esModule",{value:!0});Object.defineProperty(fM,"default",{enumerable:!0,get:function(){return MVe}});var RVe=$Ve(Joe());function $Ve(e){return e&&e.__esModule?e:{default:e}}function MVe(e){return(0,RVe.default)(e,{ignoreUnknown:!0})}});var rle=Le(_M=>{"use strict";Object.defineProperty(_M,"__esModule",{value:!0});function BVe(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}BVe(_M,{default:function(){return UVe},resolveDefaultConfigPath:function(){return tle}});var OVe=ele(require("fs")),hM=ele(require("path"));function ele(e){return e&&e.__esModule?e:{default:e}}var FVe=["./tailwind.config.js","./tailwind.config.cjs","./tailwind.config.mjs","./tailwind.config.ts","./tailwind.config.cts","./tailwind.config.mts"];function IT(e){return typeof e=="object"&&e!==null}function jVe(e){return Object.keys(e).length===0}function Yoe(e){return typeof e=="string"||e instanceof String}function UVe(e){return IT(e)&&e.config===void 0&&!jVe(e)?null:IT(e)&&e.config!==void 0&&Yoe(e.config)?hM.default.resolve(e.config):IT(e)&&e.config!==void 0&&IT(e.config)?null:Yoe(e)?hM.default.resolve(e):tle()}function tle(){for(let e of FVe)try{let t=hM.default.resolve(e);return OVe.default.accessSync(t),t}catch{}return null}});var LT=Le((ST,nle)=>{"use strict";ST.__esModule=!0;ST.default=VVe;function qVe(e){for(var t=e.toLowerCase(),n="",i=!1,o=0;o<6&&t[o]!==void 0;o++){var r=t.charCodeAt(o),c=r>=97&&r<=102||r>=48&&r<=57;if(i=r===32,!c)break;n+=t[o]}if(n.length!==0){var s=parseInt(n,16),u=s>=55296&&s<=57343;return u||s===0||s>1114111?["\uFFFD",n.length+(i?1:0)]:[String.fromCodePoint(s),n.length+(i?1:0)]}}var WVe=/\\/;function VVe(e){var t=WVe.test(e);if(!t)return e;for(var n="",i=0;i<e.length;i++){if(e[i]==="\\"){var o=qVe(e.slice(i+1,i+7));if(o!==void 0){n+=o[0],i+=o[1];continue}if(e[i+1]==="\\"){n+="\\",i++;continue}e.length===i+1&&(n+=e[i]);continue}n+=e[i]}return n}nle.exports=ST.default});var sle=Le((TT,ile)=>{"use strict";TT.__esModule=!0;TT.default=KVe;function KVe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(;n.length>0;){var o=n.shift();if(!e[o])return;e=e[o]}return e}ile.exports=TT.default});var ole=Le((vT,ale)=>{"use strict";vT.__esModule=!0;vT.default=GVe;function GVe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(;n.length>0;){var o=n.shift();e[o]||(e[o]={}),e=e[o]}}ale.exports=vT.default});var cle=Le((CT,lle)=>{"use strict";CT.__esModule=!0;CT.default=XVe;function XVe(e){for(var t="",n=e.indexOf("/*"),i=0;n>=0;){t=t+e.slice(i,n);var o=e.indexOf("*/",n+2);if(o<0)return t;i=o+2,n=e.indexOf("/*",i)}return t=t+e.slice(i),t}lle.exports=CT.default});var R0=Le(Ju=>{"use strict";Ju.__esModule=!0;Ju.unesc=Ju.stripComments=Ju.getProp=Ju.ensureObject=void 0;var ZVe=xT(LT());Ju.unesc=ZVe.default;var zVe=xT(sle());Ju.getProp=zVe.default;var JVe=xT(ole());Ju.ensureObject=JVe.default;var QVe=xT(cle());Ju.stripComments=QVe.default;function xT(e){return e&&e.__esModule?e:{default:e}}});var QH=Le(($0,ple)=>{"use strict";$0.__esModule=!0;$0.default=void 0;var ule=R0();function Hle(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function YVe(e,t,n){return t&&Hle(e.prototype,t),n&&Hle(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var eKe=function e(t,n){if(typeof t!="object"||t===null)return t;var i=new t.constructor;for(var o in t)if(t.hasOwnProperty(o)){var r=t[o],c=typeof r;o==="parent"&&c==="object"?n&&(i[o]=n):r instanceof Array?i[o]=r.map(function(s){return e(s,i)}):i[o]=e(r,i)}return i},tKe=function(){function e(n){n===void 0&&(n={}),Object.assign(this,n),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var t=e.prototype;return t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){if(this.parent){for(var i in arguments)this.parent.insertBefore(this,arguments[i]);this.remove()}return this},t.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.clone=function(i){i===void 0&&(i={});var o=eKe(this);for(var r in i)o[r]=i[r];return o},t.appendToPropertyAndEscape=function(i,o,r){this.raws||(this.raws={});var c=this[i],s=this.raws[i];this[i]=c+o,s||r!==o?this.raws[i]=(s||c)+r:delete this.raws[i]},t.setPropertyAndEscape=function(i,o,r){this.raws||(this.raws={}),this[i]=o,this.raws[i]=r},t.setPropertyWithoutEscape=function(i,o){this[i]=o,this.raws&&delete this.raws[i]},t.isAtPosition=function(i,o){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>i||this.source.end.line<i||this.source.start.line===i&&this.source.start.column>o||this.source.end.line===i&&this.source.end.column<o)},t.stringifyProperty=function(i){return this.raws&&this.raws[i]||this[i]},t.valueToString=function(){return String(this.stringifyProperty("value"))},t.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},YVe(e,[{key:"rawSpaceBefore",get:function(){var i=this.raws&&this.raws.spaces&&this.raws.spaces.before;return i===void 0&&(i=this.spaces&&this.spaces.before),i||""},set:function(i){(0,ule.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=i}},{key:"rawSpaceAfter",get:function(){var i=this.raws&&this.raws.spaces&&this.raws.spaces.after;return i===void 0&&(i=this.spaces.after),i||""},set:function(i){(0,ule.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=i}}]),e}();$0.default=tKe;ple.exports=$0.default});var wo=Le(Us=>{"use strict";Us.__esModule=!0;Us.UNIVERSAL=Us.TAG=Us.STRING=Us.SELECTOR=Us.ROOT=Us.PSEUDO=Us.NESTING=Us.ID=Us.COMMENT=Us.COMBINATOR=Us.CLASS=Us.ATTRIBUTE=void 0;var rKe="tag";Us.TAG=rKe;var nKe="string";Us.STRING=nKe;var iKe="selector";Us.SELECTOR=iKe;var sKe="root";Us.ROOT=sKe;var aKe="pseudo";Us.PSEUDO=aKe;var oKe="nesting";Us.NESTING=oKe;var lKe="id";Us.ID=lKe;var cKe="comment";Us.COMMENT=cKe;var uKe="combinator";Us.COMBINATOR=uKe;var HKe="class";Us.CLASS=HKe;var pKe="attribute";Us.ATTRIBUTE=pKe;var dKe="universal";Us.UNIVERSAL=dKe});var DT=Le((M0,_le)=>{"use strict";M0.__esModule=!0;M0.default=void 0;var fKe=_Ke(QH()),YH=hKe(wo());function hle(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(hle=function(o){return o?n:t})(e)}function hKe(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=hle(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var c=o?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(i,r,c):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}function _Ke(e){return e&&e.__esModule?e:{default:e}}function mKe(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=EKe(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function EKe(e,t){if(e){if(typeof e=="string")return dle(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dle(e,t)}}function dle(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function fle(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function yKe(e,t,n){return t&&fle(e.prototype,t),n&&fle(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function gKe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,mM(e,t)}function mM(e,t){return mM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},mM(e,t)}var bKe=function(e){gKe(t,e);function t(i){var o;return o=e.call(this,i)||this,o.nodes||(o.nodes=[]),o}var n=t.prototype;return n.append=function(o){return o.parent=this,this.nodes.push(o),this},n.prepend=function(o){return o.parent=this,this.nodes.unshift(o),this},n.at=function(o){return this.nodes[o]},n.index=function(o){return typeof o=="number"?o:this.nodes.indexOf(o)},n.removeChild=function(o){o=this.index(o),this.at(o).parent=void 0,this.nodes.splice(o,1);var r;for(var c in this.indexes)r=this.indexes[c],r>=o&&(this.indexes[c]=r-1);return this},n.removeAll=function(){for(var o=mKe(this.nodes),r;!(r=o()).done;){var c=r.value;c.parent=void 0}return this.nodes=[],this},n.empty=function(){return this.removeAll()},n.insertAfter=function(o,r){r.parent=this;var c=this.index(o);this.nodes.splice(c+1,0,r),r.parent=this;var s;for(var u in this.indexes)s=this.indexes[u],c<=s&&(this.indexes[u]=s+1);return this},n.insertBefore=function(o,r){r.parent=this;var c=this.index(o);this.nodes.splice(c,0,r),r.parent=this;var s;for(var u in this.indexes)s=this.indexes[u],s<=c&&(this.indexes[u]=s+1);return this},n._findChildAtPosition=function(o,r){var c=void 0;return this.each(function(s){if(s.atPosition){var u=s.atPosition(o,r);if(u)return c=u,!1}else if(s.isAtPosition(o,r))return c=s,!1}),c},n.atPosition=function(o,r){if(this.isAtPosition(o,r))return this._findChildAtPosition(o,r)||this},n._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},n.each=function(o){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var r=this.lastEach;if(this.indexes[r]=0,!!this.length){for(var c,s;this.indexes[r]<this.length&&(c=this.indexes[r],s=o(this.at(c),c),s!==!1);)this.indexes[r]+=1;if(delete this.indexes[r],s===!1)return!1}},n.walk=function(o){return this.each(function(r,c){var s=o(r,c);if(s!==!1&&r.length&&(s=r.walk(o)),s===!1)return!1})},n.walkAttributes=function(o){var r=this;return this.walk(function(c){if(c.type===YH.ATTRIBUTE)return o.call(r,c)})},n.walkClasses=function(o){var r=this;return this.walk(function(c){if(c.type===YH.CLASS)return o.call(r,c)})},n.walkCombinators=function(o){var r=this;return this.walk(function(c){if(c.type===YH.COMBINATOR)return o.call(r,c)})},n.walkComments=function(o){var r=this;return this.walk(function(c){if(c.type===YH.COMMENT)return o.call(r,c)})},n.walkIds=function(o){var r=this;return this.walk(function(c){if(c.type===YH.ID)return o.call(r,c)})},n.walkNesting=function(o){var r=this;return this.walk(function(c){if(c.type===YH.NESTING)return o.call(r,c)})},n.walkPseudos=function(o){var r=this;return this.walk(function(c){if(c.type===YH.PSEUDO)return o.call(r,c)})},n.walkTags=function(o){var r=this;return this.walk(function(c){if(c.type===YH.TAG)return o.call(r,c)})},n.walkUniversals=function(o){var r=this;return this.walk(function(c){if(c.type===YH.UNIVERSAL)return o.call(r,c)})},n.split=function(o){var r=this,c=[];return this.reduce(function(s,u,H){var a=o.call(r,u);return c.push(u),a?(s.push(c),c=[]):H===r.length-1&&s.push(c),s},[])},n.map=function(o){return this.nodes.map(o)},n.reduce=function(o,r){return this.nodes.reduce(o,r)},n.every=function(o){return this.nodes.every(o)},n.some=function(o){return this.nodes.some(o)},n.filter=function(o){return this.nodes.filter(o)},n.sort=function(o){return this.nodes.sort(o)},n.toString=function(){return this.map(String).join("")},yKe(t,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),t}(fKe.default);M0.default=bKe;_le.exports=M0.default});var yM=Le((B0,Ele)=>{"use strict";B0.__esModule=!0;B0.default=void 0;var AKe=SKe(DT()),IKe=wo();function SKe(e){return e&&e.__esModule?e:{default:e}}function mle(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function LKe(e,t,n){return t&&mle(e.prototype,t),n&&mle(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function TKe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,EM(e,t)}function EM(e,t){return EM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},EM(e,t)}var vKe=function(e){TKe(t,e);function t(i){var o;return o=e.call(this,i)||this,o.type=IKe.ROOT,o}var n=t.prototype;return n.toString=function(){var o=this.reduce(function(r,c){return r.push(String(c)),r},[]).join(",");return this.trailingComma?o+",":o},n.error=function(o,r){return this._error?this._error(o,r):new Error(o)},LKe(t,[{key:"errorGenerator",set:function(o){this._error=o}}]),t}(AKe.default);B0.default=vKe;Ele.exports=B0.default});var bM=Le((O0,yle)=>{"use strict";O0.__esModule=!0;O0.default=void 0;var CKe=DKe(DT()),xKe=wo();function DKe(e){return e&&e.__esModule?e:{default:e}}function PKe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,gM(e,t)}function gM(e,t){return gM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},gM(e,t)}var wKe=function(e){PKe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=xKe.SELECTOR,i}return t}(CKe.default);O0.default=wKe;yle.exports=O0.default});var IM=Le((F0,Ale)=>{"use strict";F0.__esModule=!0;F0.default=void 0;var kKe=ble(Nu()),NKe=R0(),RKe=ble(QH()),$Ke=wo();function ble(e){return e&&e.__esModule?e:{default:e}}function gle(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function MKe(e,t,n){return t&&gle(e.prototype,t),n&&gle(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function BKe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,AM(e,t)}function AM(e,t){return AM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},AM(e,t)}var OKe=function(e){BKe(t,e);function t(i){var o;return o=e.call(this,i)||this,o.type=$Ke.CLASS,o._constructed=!0,o}var n=t.prototype;return n.valueToString=function(){return"."+e.prototype.valueToString.call(this)},MKe(t,[{key:"value",get:function(){return this._value},set:function(o){if(this._constructed){var r=(0,kKe.default)(o,{isIdentifier:!0});r!==o?((0,NKe.ensureObject)(this,"raws"),this.raws.value=r):this.raws&&delete this.raws.value}this._value=o}}]),t}(RKe.default);F0.default=OKe;Ale.exports=F0.default});var LM=Le((j0,Ile)=>{"use strict";j0.__esModule=!0;j0.default=void 0;var FKe=UKe(QH()),jKe=wo();function UKe(e){return e&&e.__esModule?e:{default:e}}function qKe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,SM(e,t)}function SM(e,t){return SM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},SM(e,t)}var WKe=function(e){qKe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=jKe.COMMENT,i}return t}(FKe.default);j0.default=WKe;Ile.exports=j0.default});var vM=Le((U0,Sle)=>{"use strict";U0.__esModule=!0;U0.default=void 0;var VKe=GKe(QH()),KKe=wo();function GKe(e){return e&&e.__esModule?e:{default:e}}function XKe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,TM(e,t)}function TM(e,t){return TM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},TM(e,t)}var ZKe=function(e){XKe(t,e);function t(i){var o;return o=e.call(this,i)||this,o.type=KKe.ID,o}var n=t.prototype;return n.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},t}(VKe.default);U0.default=ZKe;Sle.exports=U0.default});var PT=Le((q0,vle)=>{"use strict";q0.__esModule=!0;q0.default=void 0;var zKe=Tle(Nu()),JKe=R0(),QKe=Tle(QH());function Tle(e){return e&&e.__esModule?e:{default:e}}function Lle(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function YKe(e,t,n){return t&&Lle(e.prototype,t),n&&Lle(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function eGe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,CM(e,t)}function CM(e,t){return CM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},CM(e,t)}var tGe=function(e){eGe(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.qualifiedName=function(o){return this.namespace?this.namespaceString+"|"+o:o},n.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},YKe(t,[{key:"namespace",get:function(){return this._namespace},set:function(o){if(o===!0||o==="*"||o==="&"){this._namespace=o,this.raws&&delete this.raws.namespace;return}var r=(0,zKe.default)(o,{isIdentifier:!0});this._namespace=o,r!==o?((0,JKe.ensureObject)(this,"raws"),this.raws.namespace=r):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(o){this.namespace=o}},{key:"namespaceString",get:function(){if(this.namespace){var o=this.stringifyProperty("namespace");return o===!0?"":o}else return""}}]),t}(QKe.default);q0.default=tGe;vle.exports=q0.default});var DM=Le((W0,Cle)=>{"use strict";W0.__esModule=!0;W0.default=void 0;var rGe=iGe(PT()),nGe=wo();function iGe(e){return e&&e.__esModule?e:{default:e}}function sGe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,xM(e,t)}function xM(e,t){return xM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},xM(e,t)}var aGe=function(e){sGe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=nGe.TAG,i}return t}(rGe.default);W0.default=aGe;Cle.exports=W0.default});var wM=Le((V0,xle)=>{"use strict";V0.__esModule=!0;V0.default=void 0;var oGe=cGe(QH()),lGe=wo();function cGe(e){return e&&e.__esModule?e:{default:e}}function uGe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,PM(e,t)}function PM(e,t){return PM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},PM(e,t)}var HGe=function(e){uGe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=lGe.STRING,i}return t}(oGe.default);V0.default=HGe;xle.exports=V0.default});var NM=Le((K0,Dle)=>{"use strict";K0.__esModule=!0;K0.default=void 0;var pGe=fGe(DT()),dGe=wo();function fGe(e){return e&&e.__esModule?e:{default:e}}function hGe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,kM(e,t)}function kM(e,t){return kM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},kM(e,t)}var _Ge=function(e){hGe(t,e);function t(i){var o;return o=e.call(this,i)||this,o.type=dGe.PSEUDO,o}var n=t.prototype;return n.toString=function(){var o=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),o,this.rawSpaceAfter].join("")},t}(pGe.default);K0.default=_Ge;Dle.exports=K0.default});var FM=Le(Z0=>{"use strict";Z0.__esModule=!0;Z0.default=void 0;Z0.unescapeValue=OM;var G0=BM(Nu()),mGe=BM(LT()),EGe=BM(PT()),yGe=wo(),RM;function BM(e){return e&&e.__esModule?e:{default:e}}function Ple(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function gGe(e,t,n){return t&&Ple(e.prototype,t),n&&Ple(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function bGe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,MM(e,t)}function MM(e,t){return MM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},MM(e,t)}var X0=gk(),AGe=/^('|")([^]*)\1$/,IGe=X0(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),SGe=X0(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),LGe=X0(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function OM(e){var t=!1,n=null,i=e,o=i.match(AGe);return o&&(n=o[1],i=o[2]),i=(0,mGe.default)(i),i!==e&&(t=!0),{deprecatedUsage:t,unescaped:i,quoteMark:n}}function TGe(e){if(e.quoteMark!==void 0||e.value===void 0)return e;LGe();var t=OM(e.value),n=t.quoteMark,i=t.unescaped;return e.raws||(e.raws={}),e.raws.value===void 0&&(e.raws.value=e.value),e.value=i,e.quoteMark=n,e}var wT=function(e){bGe(t,e);function t(i){var o;return i===void 0&&(i={}),o=e.call(this,TGe(i))||this,o.type=yGe.ATTRIBUTE,o.raws=o.raws||{},Object.defineProperty(o.raws,"unquoted",{get:X0(function(){return o.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:X0(function(){return o.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),o._constructed=!0,o}var n=t.prototype;return n.getQuotedValue=function(o){o===void 0&&(o={});var r=this._determineQuoteMark(o),c=$M[r],s=(0,G0.default)(this._value,c);return s},n._determineQuoteMark=function(o){return o.smart?this.smartQuoteMark(o):this.preferredQuoteMark(o)},n.setValue=function(o,r){r===void 0&&(r={}),this._value=o,this._quoteMark=this._determineQuoteMark(r),this._syncRawValue()},n.smartQuoteMark=function(o){var r=this.value,c=r.replace(/[^']/g,"").length,s=r.replace(/[^"]/g,"").length;if(c+s===0){var u=(0,G0.default)(r,{isIdentifier:!0});if(u===r)return t.NO_QUOTE;var H=this.preferredQuoteMark(o);if(H===t.NO_QUOTE){var a=this.quoteMark||o.quoteMark||t.DOUBLE_QUOTE,l=$M[a],p=(0,G0.default)(r,l);if(p.length<u.length)return a}return H}else return s===c?this.preferredQuoteMark(o):s<c?t.DOUBLE_QUOTE:t.SINGLE_QUOTE},n.preferredQuoteMark=function(o){var r=o.preferCurrentQuoteMark?this.quoteMark:o.quoteMark;return r===void 0&&(r=o.preferCurrentQuoteMark?o.quoteMark:this.quoteMark),r===void 0&&(r=t.DOUBLE_QUOTE),r},n._syncRawValue=function(){var o=(0,G0.default)(this._value,$M[this.quoteMark]);o===this._value?this.raws&&delete this.raws.value:this.raws.value=o},n._handleEscapes=function(o,r){if(this._constructed){var c=(0,G0.default)(r,{isIdentifier:!0});c!==r?this.raws[o]=c:delete this.raws[o]}},n._spacesFor=function(o){var r={before:"",after:""},c=this.spaces[o]||{},s=this.raws.spaces&&this.raws.spaces[o]||{};return Object.assign(r,c,s)},n._stringFor=function(o,r,c){r===void 0&&(r=o),c===void 0&&(c=wle);var s=this._spacesFor(r);return c(this.stringifyProperty(o),s)},n.offsetOf=function(o){var r=1,c=this._spacesFor("attribute");if(r+=c.before.length,o==="namespace"||o==="ns")return this.namespace?r:-1;if(o==="attributeNS"||(r+=this.namespaceString.length,this.namespace&&(r+=1),o==="attribute"))return r;r+=this.stringifyProperty("attribute").length,r+=c.after.length;var s=this._spacesFor("operator");r+=s.before.length;var u=this.stringifyProperty("operator");if(o==="operator")return u?r:-1;r+=u.length,r+=s.after.length;var H=this._spacesFor("value");r+=H.before.length;var a=this.stringifyProperty("value");if(o==="value")return a?r:-1;r+=a.length,r+=H.after.length;var l=this._spacesFor("insensitive");return r+=l.before.length,o==="insensitive"&&this.insensitive?r:-1},n.toString=function(){var o=this,r=[this.rawSpaceBefore,"["];return r.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(r.push(this._stringFor("operator")),r.push(this._stringFor("value")),r.push(this._stringFor("insensitiveFlag","insensitive",function(c,s){return c.length>0&&!o.quoted&&s.before.length===0&&!(o.spaces.value&&o.spaces.value.after)&&(s.before=" "),wle(c,s)}))),r.push("]"),r.push(this.rawSpaceAfter),r.join("")},gGe(t,[{key:"quoted",get:function(){var o=this.quoteMark;return o==="'"||o==='"'},set:function(o){SGe()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(o){if(!this._constructed){this._quoteMark=o;return}this._quoteMark!==o&&(this._quoteMark=o,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(o){if(this._constructed){var r=OM(o),c=r.deprecatedUsage,s=r.unescaped,u=r.quoteMark;if(c&&IGe(),s===this._value&&u===this._quoteMark)return;this._value=s,this._quoteMark=u,this._syncRawValue()}else this._value=o}},{key:"insensitive",get:function(){return this._insensitive},set:function(o){o||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=o}},{key:"attribute",get:function(){return this._attribute},set:function(o){this._handleEscapes("attribute",o),this._attribute=o}}]),t}(EGe.default);Z0.default=wT;wT.NO_QUOTE=null;wT.SINGLE_QUOTE="'";wT.DOUBLE_QUOTE='"';var $M=(RM={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},RM[null]={isIdentifier:!0},RM);function wle(e,t){return""+t.before+e+t.after}});var UM=Le((z0,kle)=>{"use strict";z0.__esModule=!0;z0.default=void 0;var vGe=xGe(PT()),CGe=wo();function xGe(e){return e&&e.__esModule?e:{default:e}}function DGe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,jM(e,t)}function jM(e,t){return jM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},jM(e,t)}var PGe=function(e){DGe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=CGe.UNIVERSAL,i.value="*",i}return t}(vGe.default);z0.default=PGe;kle.exports=z0.default});var WM=Le((J0,Nle)=>{"use strict";J0.__esModule=!0;J0.default=void 0;var wGe=NGe(QH()),kGe=wo();function NGe(e){return e&&e.__esModule?e:{default:e}}function RGe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,qM(e,t)}function qM(e,t){return qM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},qM(e,t)}var $Ge=function(e){RGe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=kGe.COMBINATOR,i}return t}(wGe.default);J0.default=$Ge;Nle.exports=J0.default});var KM=Le((Q0,Rle)=>{"use strict";Q0.__esModule=!0;Q0.default=void 0;var MGe=OGe(QH()),BGe=wo();function OGe(e){return e&&e.__esModule?e:{default:e}}function FGe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,VM(e,t)}function VM(e,t){return VM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},VM(e,t)}var jGe=function(e){FGe(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=BGe.NESTING,i.value="&",i}return t}(MGe.default);Q0.default=jGe;Rle.exports=Q0.default});var Mle=Le((kT,$le)=>{"use strict";kT.__esModule=!0;kT.default=UGe;function UGe(e){return e.sort(function(t,n){return t-n})}$le.exports=kT.default});var GM=Le(fn=>{"use strict";fn.__esModule=!0;fn.word=fn.tilde=fn.tab=fn.str=fn.space=fn.slash=fn.singleQuote=fn.semicolon=fn.plus=fn.pipe=fn.openSquare=fn.openParenthesis=fn.newline=fn.greaterThan=fn.feed=fn.equals=fn.doubleQuote=fn.dollar=fn.cr=fn.comment=fn.comma=fn.combinator=fn.colon=fn.closeSquare=fn.closeParenthesis=fn.caret=fn.bang=fn.backslash=fn.at=fn.asterisk=fn.ampersand=void 0;var qGe=38;fn.ampersand=qGe;var WGe=42;fn.asterisk=WGe;var VGe=64;fn.at=VGe;var KGe=44;fn.comma=KGe;var GGe=58;fn.colon=GGe;var XGe=59;fn.semicolon=XGe;var ZGe=40;fn.openParenthesis=ZGe;var zGe=41;fn.closeParenthesis=zGe;var JGe=91;fn.openSquare=JGe;var QGe=93;fn.closeSquare=QGe;var YGe=36;fn.dollar=YGe;var eXe=126;fn.tilde=eXe;var tXe=94;fn.caret=tXe;var rXe=43;fn.plus=rXe;var nXe=61;fn.equals=nXe;var iXe=124;fn.pipe=iXe;var sXe=62;fn.greaterThan=sXe;var aXe=32;fn.space=aXe;var Ble=39;fn.singleQuote=Ble;var oXe=34;fn.doubleQuote=oXe;var lXe=47;fn.slash=lXe;var cXe=33;fn.bang=cXe;var uXe=92;fn.backslash=uXe;var HXe=13;fn.cr=HXe;var pXe=12;fn.feed=pXe;var dXe=10;fn.newline=dXe;var fXe=9;fn.tab=fXe;var hXe=Ble;fn.str=hXe;var _Xe=-1;fn.comment=_Xe;var mXe=-2;fn.word=mXe;var EXe=-3;fn.combinator=EXe});var jle=Le(Y0=>{"use strict";Y0.__esModule=!0;Y0.FIELDS=void 0;Y0.default=LXe;var Gr=yXe(GM()),_m,Ds;function Fle(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Fle=function(o){return o?n:t})(e)}function yXe(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Fle(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var c=o?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(i,r,c):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}var gXe=(_m={},_m[Gr.tab]=!0,_m[Gr.newline]=!0,_m[Gr.cr]=!0,_m[Gr.feed]=!0,_m),bXe=(Ds={},Ds[Gr.space]=!0,Ds[Gr.tab]=!0,Ds[Gr.newline]=!0,Ds[Gr.cr]=!0,Ds[Gr.feed]=!0,Ds[Gr.ampersand]=!0,Ds[Gr.asterisk]=!0,Ds[Gr.bang]=!0,Ds[Gr.comma]=!0,Ds[Gr.colon]=!0,Ds[Gr.semicolon]=!0,Ds[Gr.openParenthesis]=!0,Ds[Gr.closeParenthesis]=!0,Ds[Gr.openSquare]=!0,Ds[Gr.closeSquare]=!0,Ds[Gr.singleQuote]=!0,Ds[Gr.doubleQuote]=!0,Ds[Gr.plus]=!0,Ds[Gr.pipe]=!0,Ds[Gr.tilde]=!0,Ds[Gr.greaterThan]=!0,Ds[Gr.equals]=!0,Ds[Gr.dollar]=!0,Ds[Gr.caret]=!0,Ds[Gr.slash]=!0,Ds),XM={},Ole="0123456789abcdefABCDEF";for(NT=0;NT<Ole.length;NT++)XM[Ole.charCodeAt(NT)]=!0;var NT;function AXe(e,t){var n=t,i;do{if(i=e.charCodeAt(n),bXe[i])return n-1;i===Gr.backslash?n=IXe(e,n)+1:n++}while(n<e.length);return n-1}function IXe(e,t){var n=t,i=e.charCodeAt(n+1);if(!gXe[i])if(XM[i]){var o=0;do n++,o++,i=e.charCodeAt(n+1);while(XM[i]&&o<6);o<6&&i===Gr.space&&n++}else n++;return n}var SXe={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};Y0.FIELDS=SXe;function LXe(e){var t=[],n=e.css.valueOf(),i=n,o=i.length,r=-1,c=1,s=0,u=0,H,a,l,p,d,h,m,g,y,_,E,A,S;function T(I,L){if(e.safe)n+=L,y=n.length-1;else throw e.error("Unclosed "+I,c,s-r,s)}for(;s<o;){switch(H=n.charCodeAt(s),H===Gr.newline&&(r=s,c+=1),H){case Gr.space:case Gr.tab:case Gr.newline:case Gr.cr:case Gr.feed:y=s;do y+=1,H=n.charCodeAt(y),H===Gr.newline&&(r=y,c+=1);while(H===Gr.space||H===Gr.newline||H===Gr.tab||H===Gr.cr||H===Gr.feed);S=Gr.space,p=c,l=y-r-1,u=y;break;case Gr.plus:case Gr.greaterThan:case Gr.tilde:case Gr.pipe:y=s;do y+=1,H=n.charCodeAt(y);while(H===Gr.plus||H===Gr.greaterThan||H===Gr.tilde||H===Gr.pipe);S=Gr.combinator,p=c,l=s-r,u=y;break;case Gr.asterisk:case Gr.ampersand:case Gr.bang:case Gr.comma:case Gr.equals:case Gr.dollar:case Gr.caret:case Gr.openSquare:case Gr.closeSquare:case Gr.colon:case Gr.semicolon:case Gr.openParenthesis:case Gr.closeParenthesis:y=s,S=H,p=c,l=s-r,u=y+1;break;case Gr.singleQuote:case Gr.doubleQuote:A=H===Gr.singleQuote?"'":'"',y=s;do for(d=!1,y=n.indexOf(A,y+1),y===-1&&T("quote",A),h=y;n.charCodeAt(h-1)===Gr.backslash;)h-=1,d=!d;while(d);S=Gr.str,p=c,l=s-r,u=y+1;break;default:H===Gr.slash&&n.charCodeAt(s+1)===Gr.asterisk?(y=n.indexOf("*/",s+2)+1,y===0&&T("comment","*/"),a=n.slice(s,y+1),g=a.split(`
|
|
`),m=g.length-1,m>0?(_=c+m,E=y-g[m].length):(_=c,E=r),S=Gr.comment,c=_,p=_,l=y-E):H===Gr.slash?(y=s,S=H,p=c,l=s-r,u=y+1):(y=AXe(n,s),S=Gr.word,p=c,l=y-r),u=y+1;break}t.push([S,c,s-r,p,l,s,u]),E&&(r=E,E=null),s=u}return t}});var Zle=Le((eg,Xle)=>{"use strict";eg.__esModule=!0;eg.default=void 0;var TXe=Sc(yM()),ZM=Sc(bM()),vXe=Sc(IM()),Ule=Sc(LM()),CXe=Sc(vM()),xXe=Sc(DM()),zM=Sc(wM()),DXe=Sc(NM()),qle=RT(FM()),PXe=Sc(UM()),JM=Sc(WM()),wXe=Sc(KM()),kXe=Sc(Mle()),Tr=RT(jle()),Qr=RT(GM()),NXe=RT(wo()),da=R0(),Vf,QM;function Gle(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Gle=function(o){return o?n:t})(e)}function RT(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Gle(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var c=o?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(i,r,c):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}function Sc(e){return e&&e.__esModule?e:{default:e}}function Wle(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function RXe(e,t,n){return t&&Wle(e.prototype,t),n&&Wle(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var tB=(Vf={},Vf[Qr.space]=!0,Vf[Qr.cr]=!0,Vf[Qr.feed]=!0,Vf[Qr.newline]=!0,Vf[Qr.tab]=!0,Vf),$Xe=Object.assign({},tB,(QM={},QM[Qr.comment]=!0,QM));function Vle(e){return{line:e[Tr.FIELDS.START_LINE],column:e[Tr.FIELDS.START_COL]}}function Kle(e){return{line:e[Tr.FIELDS.END_LINE],column:e[Tr.FIELDS.END_COL]}}function Kf(e,t,n,i){return{start:{line:e,column:t},end:{line:n,column:i}}}function mm(e){return Kf(e[Tr.FIELDS.START_LINE],e[Tr.FIELDS.START_COL],e[Tr.FIELDS.END_LINE],e[Tr.FIELDS.END_COL])}function YM(e,t){if(e)return Kf(e[Tr.FIELDS.START_LINE],e[Tr.FIELDS.START_COL],t[Tr.FIELDS.END_LINE],t[Tr.FIELDS.END_COL])}function Em(e,t){var n=e[t];if(typeof n=="string")return n.indexOf("\\")!==-1&&((0,da.ensureObject)(e,"raws"),e[t]=(0,da.unesc)(n),e.raws[t]===void 0&&(e.raws[t]=n)),e}function eB(e,t){for(var n=-1,i=[];(n=e.indexOf(t,n+1))!==-1;)i.push(n);return i}function MXe(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(t,n){return n===e.indexOf(t)})}var BXe=function(){function e(n,i){i===void 0&&(i={}),this.rule=n,this.options=Object.assign({lossy:!1,safe:!1},i),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,Tr.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var o=YM(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new TXe.default({source:o}),this.root.errorGenerator=this._errorGenerator();var r=new ZM.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(r),this.current=r,this.loop()}var t=e.prototype;return t._errorGenerator=function(){var i=this;return function(o,r){return typeof i.rule=="string"?new Error(o):i.rule.error(o,r)}},t.attribute=function(){var i=[],o=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[Tr.FIELDS.TYPE]!==Qr.closeSquare;)i.push(this.currToken),this.position++;if(this.currToken[Tr.FIELDS.TYPE]!==Qr.closeSquare)return this.expected("closing square bracket",this.currToken[Tr.FIELDS.START_POS]);var r=i.length,c={source:Kf(o[1],o[2],this.currToken[3],this.currToken[4]),sourceIndex:o[Tr.FIELDS.START_POS]};if(r===1&&!~[Qr.word].indexOf(i[0][Tr.FIELDS.TYPE]))return this.expected("attribute",i[0][Tr.FIELDS.START_POS]);for(var s=0,u="",H="",a=null,l=!1;s<r;){var p=i[s],d=this.content(p),h=i[s+1];switch(p[Tr.FIELDS.TYPE]){case Qr.space:if(l=!0,this.options.lossy)break;if(a){(0,da.ensureObject)(c,"spaces",a);var m=c.spaces[a].after||"";c.spaces[a].after=m+d;var g=(0,da.getProp)(c,"raws","spaces",a,"after")||null;g&&(c.raws.spaces[a].after=g+d)}else u=u+d,H=H+d;break;case Qr.asterisk:if(h[Tr.FIELDS.TYPE]===Qr.equals)c.operator=d,a="operator";else if((!c.namespace||a==="namespace"&&!l)&&h){u&&((0,da.ensureObject)(c,"spaces","attribute"),c.spaces.attribute.before=u,u=""),H&&((0,da.ensureObject)(c,"raws","spaces","attribute"),c.raws.spaces.attribute.before=u,H=""),c.namespace=(c.namespace||"")+d;var y=(0,da.getProp)(c,"raws","namespace")||null;y&&(c.raws.namespace+=d),a="namespace"}l=!1;break;case Qr.dollar:if(a==="value"){var _=(0,da.getProp)(c,"raws","value");c.value+="$",_&&(c.raws.value=_+"$");break}case Qr.caret:h[Tr.FIELDS.TYPE]===Qr.equals&&(c.operator=d,a="operator"),l=!1;break;case Qr.combinator:if(d==="~"&&h[Tr.FIELDS.TYPE]===Qr.equals&&(c.operator=d,a="operator"),d!=="|"){l=!1;break}h[Tr.FIELDS.TYPE]===Qr.equals?(c.operator=d,a="operator"):!c.namespace&&!c.attribute&&(c.namespace=!0),l=!1;break;case Qr.word:if(h&&this.content(h)==="|"&&i[s+2]&&i[s+2][Tr.FIELDS.TYPE]!==Qr.equals&&!c.operator&&!c.namespace)c.namespace=d,a="namespace";else if(!c.attribute||a==="attribute"&&!l){u&&((0,da.ensureObject)(c,"spaces","attribute"),c.spaces.attribute.before=u,u=""),H&&((0,da.ensureObject)(c,"raws","spaces","attribute"),c.raws.spaces.attribute.before=H,H=""),c.attribute=(c.attribute||"")+d;var E=(0,da.getProp)(c,"raws","attribute")||null;E&&(c.raws.attribute+=d),a="attribute"}else if(!c.value&&c.value!==""||a==="value"&&!(l||c.quoteMark)){var A=(0,da.unesc)(d),S=(0,da.getProp)(c,"raws","value")||"",T=c.value||"";c.value=T+A,c.quoteMark=null,(A!==d||S)&&((0,da.ensureObject)(c,"raws"),c.raws.value=(S||T)+d),a="value"}else{var I=d==="i"||d==="I";(c.value||c.value==="")&&(c.quoteMark||l)?(c.insensitive=I,(!I||d==="I")&&((0,da.ensureObject)(c,"raws"),c.raws.insensitiveFlag=d),a="insensitive",u&&((0,da.ensureObject)(c,"spaces","insensitive"),c.spaces.insensitive.before=u,u=""),H&&((0,da.ensureObject)(c,"raws","spaces","insensitive"),c.raws.spaces.insensitive.before=H,H="")):(c.value||c.value==="")&&(a="value",c.value+=d,c.raws.value&&(c.raws.value+=d))}l=!1;break;case Qr.str:if(!c.attribute||!c.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:p[Tr.FIELDS.START_POS]});var L=(0,qle.unescapeValue)(d),x=L.unescaped,C=L.quoteMark;c.value=x,c.quoteMark=C,a="value",(0,da.ensureObject)(c,"raws"),c.raws.value=d,l=!1;break;case Qr.equals:if(!c.attribute)return this.expected("attribute",p[Tr.FIELDS.START_POS],d);if(c.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:p[Tr.FIELDS.START_POS]});c.operator=c.operator?c.operator+d:d,a="operator",l=!1;break;case Qr.comment:if(a)if(l||h&&h[Tr.FIELDS.TYPE]===Qr.space||a==="insensitive"){var D=(0,da.getProp)(c,"spaces",a,"after")||"",O=(0,da.getProp)(c,"raws","spaces",a,"after")||D;(0,da.ensureObject)(c,"raws","spaces",a),c.raws.spaces[a].after=O+d}else{var j=c[a]||"",k=(0,da.getProp)(c,"raws",a)||j;(0,da.ensureObject)(c,"raws"),c.raws[a]=k+d}else H=H+d;break;default:return this.error('Unexpected "'+d+'" found.',{index:p[Tr.FIELDS.START_POS]})}s++}Em(c,"attribute"),Em(c,"namespace"),this.newNode(new qle.default(c)),this.position++},t.parseWhitespaceEquivalentTokens=function(i){i<0&&(i=this.tokens.length);var o=this.position,r=[],c="",s=void 0;do if(tB[this.currToken[Tr.FIELDS.TYPE]])this.options.lossy||(c+=this.content());else if(this.currToken[Tr.FIELDS.TYPE]===Qr.comment){var u={};c&&(u.before=c,c=""),s=new Ule.default({value:this.content(),source:mm(this.currToken),sourceIndex:this.currToken[Tr.FIELDS.START_POS],spaces:u}),r.push(s)}while(++this.position<i);if(c){if(s)s.spaces.after=c;else if(!this.options.lossy){var H=this.tokens[o],a=this.tokens[this.position-1];r.push(new zM.default({value:"",source:Kf(H[Tr.FIELDS.START_LINE],H[Tr.FIELDS.START_COL],a[Tr.FIELDS.END_LINE],a[Tr.FIELDS.END_COL]),sourceIndex:H[Tr.FIELDS.START_POS],spaces:{before:c,after:""}}))}}return r},t.convertWhitespaceNodesToSpace=function(i,o){var r=this;o===void 0&&(o=!1);var c="",s="";i.forEach(function(H){var a=r.lossySpace(H.spaces.before,o),l=r.lossySpace(H.rawSpaceBefore,o);c+=a+r.lossySpace(H.spaces.after,o&&a.length===0),s+=a+H.value+r.lossySpace(H.rawSpaceAfter,o&&l.length===0)}),s===c&&(s=void 0);var u={space:c,rawSpace:s};return u},t.isNamedCombinator=function(i){return i===void 0&&(i=this.position),this.tokens[i+0]&&this.tokens[i+0][Tr.FIELDS.TYPE]===Qr.slash&&this.tokens[i+1]&&this.tokens[i+1][Tr.FIELDS.TYPE]===Qr.word&&this.tokens[i+2]&&this.tokens[i+2][Tr.FIELDS.TYPE]===Qr.slash},t.namedCombinator=function(){if(this.isNamedCombinator()){var i=this.content(this.tokens[this.position+1]),o=(0,da.unesc)(i).toLowerCase(),r={};o!==i&&(r.value="/"+i+"/");var c=new JM.default({value:"/"+o+"/",source:Kf(this.currToken[Tr.FIELDS.START_LINE],this.currToken[Tr.FIELDS.START_COL],this.tokens[this.position+2][Tr.FIELDS.END_LINE],this.tokens[this.position+2][Tr.FIELDS.END_COL]),sourceIndex:this.currToken[Tr.FIELDS.START_POS],raws:r});return this.position=this.position+3,c}else this.unexpected()},t.combinator=function(){var i=this;if(this.content()==="|")return this.namespace();var o=this.locateNextMeaningfulToken(this.position);if(o<0||this.tokens[o][Tr.FIELDS.TYPE]===Qr.comma||this.tokens[o][Tr.FIELDS.TYPE]===Qr.closeParenthesis){var r=this.parseWhitespaceEquivalentTokens(o);if(r.length>0){var c=this.current.last;if(c){var s=this.convertWhitespaceNodesToSpace(r),u=s.space,H=s.rawSpace;H!==void 0&&(c.rawSpaceAfter+=H),c.spaces.after+=u}else r.forEach(function(S){return i.newNode(S)})}return}var a=this.currToken,l=void 0;o>this.position&&(l=this.parseWhitespaceEquivalentTokens(o));var p;if(this.isNamedCombinator()?p=this.namedCombinator():this.currToken[Tr.FIELDS.TYPE]===Qr.combinator?(p=new JM.default({value:this.content(),source:mm(this.currToken),sourceIndex:this.currToken[Tr.FIELDS.START_POS]}),this.position++):tB[this.currToken[Tr.FIELDS.TYPE]]||l||this.unexpected(),p){if(l){var d=this.convertWhitespaceNodesToSpace(l),h=d.space,m=d.rawSpace;p.spaces.before=h,p.rawSpaceBefore=m}}else{var g=this.convertWhitespaceNodesToSpace(l,!0),y=g.space,_=g.rawSpace;_||(_=y);var E={},A={spaces:{}};y.endsWith(" ")&&_.endsWith(" ")?(E.before=y.slice(0,y.length-1),A.spaces.before=_.slice(0,_.length-1)):y.startsWith(" ")&&_.startsWith(" ")?(E.after=y.slice(1),A.spaces.after=_.slice(1)):A.value=_,p=new JM.default({value:" ",source:YM(a,this.tokens[this.position-1]),sourceIndex:a[Tr.FIELDS.START_POS],spaces:E,raws:A})}return this.currToken&&this.currToken[Tr.FIELDS.TYPE]===Qr.space&&(p.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(p)},t.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var i=new ZM.default({source:{start:Vle(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][Tr.FIELDS.START_POS]});this.current.parent.append(i),this.current=i,this.position++},t.comment=function(){var i=this.currToken;this.newNode(new Ule.default({value:this.content(),source:mm(i),sourceIndex:i[Tr.FIELDS.START_POS]})),this.position++},t.error=function(i,o){throw this.root.error(i,o)},t.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[Tr.FIELDS.START_POS]})},t.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[Tr.FIELDS.START_POS])},t.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[Tr.FIELDS.START_POS])},t.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[Tr.FIELDS.START_POS])},t.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[Tr.FIELDS.START_POS])},t.namespace=function(){var i=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[Tr.FIELDS.TYPE]===Qr.word)return this.position++,this.word(i);if(this.nextToken[Tr.FIELDS.TYPE]===Qr.asterisk)return this.position++,this.universal(i);this.unexpectedPipe()},t.nesting=function(){if(this.nextToken){var i=this.content(this.nextToken);if(i==="|"){this.position++;return}}var o=this.currToken;this.newNode(new wXe.default({value:this.content(),source:mm(o),sourceIndex:o[Tr.FIELDS.START_POS]})),this.position++},t.parentheses=function(){var i=this.current.last,o=1;if(this.position++,i&&i.type===NXe.PSEUDO){var r=new ZM.default({source:{start:Vle(this.tokens[this.position])},sourceIndex:this.tokens[this.position][Tr.FIELDS.START_POS]}),c=this.current;for(i.append(r),this.current=r;this.position<this.tokens.length&&o;)this.currToken[Tr.FIELDS.TYPE]===Qr.openParenthesis&&o++,this.currToken[Tr.FIELDS.TYPE]===Qr.closeParenthesis&&o--,o?this.parse():(this.current.source.end=Kle(this.currToken),this.current.parent.source.end=Kle(this.currToken),this.position++);this.current=c}else{for(var s=this.currToken,u="(",H;this.position<this.tokens.length&&o;)this.currToken[Tr.FIELDS.TYPE]===Qr.openParenthesis&&o++,this.currToken[Tr.FIELDS.TYPE]===Qr.closeParenthesis&&o--,H=this.currToken,u+=this.parseParenthesisToken(this.currToken),this.position++;i?i.appendToPropertyAndEscape("value",u,u):this.newNode(new zM.default({value:u,source:Kf(s[Tr.FIELDS.START_LINE],s[Tr.FIELDS.START_COL],H[Tr.FIELDS.END_LINE],H[Tr.FIELDS.END_COL]),sourceIndex:s[Tr.FIELDS.START_POS]}))}if(o)return this.expected("closing parenthesis",this.currToken[Tr.FIELDS.START_POS])},t.pseudo=function(){for(var i=this,o="",r=this.currToken;this.currToken&&this.currToken[Tr.FIELDS.TYPE]===Qr.colon;)o+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[Tr.FIELDS.TYPE]===Qr.word)this.splitWord(!1,function(c,s){o+=c,i.newNode(new DXe.default({value:o,source:YM(r,i.currToken),sourceIndex:r[Tr.FIELDS.START_POS]})),s>1&&i.nextToken&&i.nextToken[Tr.FIELDS.TYPE]===Qr.openParenthesis&&i.error("Misplaced parenthesis.",{index:i.nextToken[Tr.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[Tr.FIELDS.START_POS])},t.space=function(){var i=this.content();this.position===0||this.prevToken[Tr.FIELDS.TYPE]===Qr.comma||this.prevToken[Tr.FIELDS.TYPE]===Qr.openParenthesis||this.current.nodes.every(function(o){return o.type==="comment"})?(this.spaces=this.optionalSpace(i),this.position++):this.position===this.tokens.length-1||this.nextToken[Tr.FIELDS.TYPE]===Qr.comma||this.nextToken[Tr.FIELDS.TYPE]===Qr.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(i),this.position++):this.combinator()},t.string=function(){var i=this.currToken;this.newNode(new zM.default({value:this.content(),source:mm(i),sourceIndex:i[Tr.FIELDS.START_POS]})),this.position++},t.universal=function(i){var o=this.nextToken;if(o&&this.content(o)==="|")return this.position++,this.namespace();var r=this.currToken;this.newNode(new PXe.default({value:this.content(),source:mm(r),sourceIndex:r[Tr.FIELDS.START_POS]}),i),this.position++},t.splitWord=function(i,o){for(var r=this,c=this.nextToken,s=this.content();c&&~[Qr.dollar,Qr.caret,Qr.equals,Qr.word].indexOf(c[Tr.FIELDS.TYPE]);){this.position++;var u=this.content();if(s+=u,u.lastIndexOf("\\")===u.length-1){var H=this.nextToken;H&&H[Tr.FIELDS.TYPE]===Qr.space&&(s+=this.requiredSpace(this.content(H)),this.position++)}c=this.nextToken}var a=eB(s,".").filter(function(h){var m=s[h-1]==="\\",g=/^\d+\.\d+%$/.test(s);return!m&&!g}),l=eB(s,"#").filter(function(h){return s[h-1]!=="\\"}),p=eB(s,"#{");p.length&&(l=l.filter(function(h){return!~p.indexOf(h)}));var d=(0,kXe.default)(MXe([0].concat(a,l)));d.forEach(function(h,m){var g=d[m+1]||s.length,y=s.slice(h,g);if(m===0&&o)return o.call(r,y,d.length);var _,E=r.currToken,A=E[Tr.FIELDS.START_POS]+d[m],S=Kf(E[1],E[2]+h,E[3],E[2]+(g-1));if(~a.indexOf(h)){var T={value:y.slice(1),source:S,sourceIndex:A};_=new vXe.default(Em(T,"value"))}else if(~l.indexOf(h)){var I={value:y.slice(1),source:S,sourceIndex:A};_=new CXe.default(Em(I,"value"))}else{var L={value:y,source:S,sourceIndex:A};Em(L,"value"),_=new xXe.default(L)}r.newNode(_,i),i=null}),this.position++},t.word=function(i){var o=this.nextToken;return o&&this.content(o)==="|"?(this.position++,this.namespace()):this.splitWord(i)},t.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},t.parse=function(i){switch(this.currToken[Tr.FIELDS.TYPE]){case Qr.space:this.space();break;case Qr.comment:this.comment();break;case Qr.openParenthesis:this.parentheses();break;case Qr.closeParenthesis:i&&this.missingParenthesis();break;case Qr.openSquare:this.attribute();break;case Qr.dollar:case Qr.caret:case Qr.equals:case Qr.word:this.word();break;case Qr.colon:this.pseudo();break;case Qr.comma:this.comma();break;case Qr.asterisk:this.universal();break;case Qr.ampersand:this.nesting();break;case Qr.slash:case Qr.combinator:this.combinator();break;case Qr.str:this.string();break;case Qr.closeSquare:this.missingSquareBracket();case Qr.semicolon:this.missingBackslash();default:this.unexpected()}},t.expected=function(i,o,r){if(Array.isArray(i)){var c=i.pop();i=i.join(", ")+" or "+c}var s=/^[aeiou]/.test(i[0])?"an":"a";return r?this.error("Expected "+s+" "+i+', found "'+r+'" instead.',{index:o}):this.error("Expected "+s+" "+i+".",{index:o})},t.requiredSpace=function(i){return this.options.lossy?" ":i},t.optionalSpace=function(i){return this.options.lossy?"":i},t.lossySpace=function(i,o){return this.options.lossy?o?" ":"":i},t.parseParenthesisToken=function(i){var o=this.content(i);return i[Tr.FIELDS.TYPE]===Qr.space?this.requiredSpace(o):o},t.newNode=function(i,o){return o&&(/^ +$/.test(o)&&(this.options.lossy||(this.spaces=(this.spaces||"")+o),o=!0),i.namespace=o,Em(i,"namespace")),this.spaces&&(i.spaces.before=this.spaces,this.spaces=""),this.current.append(i)},t.content=function(i){return i===void 0&&(i=this.currToken),this.css.slice(i[Tr.FIELDS.START_POS],i[Tr.FIELDS.END_POS])},t.locateNextMeaningfulToken=function(i){i===void 0&&(i=this.position+1);for(var o=i;o<this.tokens.length;)if($Xe[this.tokens[o][Tr.FIELDS.TYPE]]){o++;continue}else return o;return-1},RXe(e,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),e}();eg.default=BXe;Xle.exports=eg.default});var Jle=Le((tg,zle)=>{"use strict";tg.__esModule=!0;tg.default=void 0;var OXe=FXe(Zle());function FXe(e){return e&&e.__esModule?e:{default:e}}var jXe=function(){function e(n,i){this.func=n||function(){},this.funcRes=null,this.options=i}var t=e.prototype;return t._shouldUpdateSelector=function(i,o){o===void 0&&(o={});var r=Object.assign({},this.options,o);return r.updateSelector===!1?!1:typeof i!="string"},t._isLossy=function(i){i===void 0&&(i={});var o=Object.assign({},this.options,i);return o.lossless===!1},t._root=function(i,o){o===void 0&&(o={});var r=new OXe.default(i,this._parseOptions(o));return r.root},t._parseOptions=function(i){return{lossy:this._isLossy(i)}},t._run=function(i,o){var r=this;return o===void 0&&(o={}),new Promise(function(c,s){try{var u=r._root(i,o);Promise.resolve(r.func(u)).then(function(H){var a=void 0;return r._shouldUpdateSelector(i,o)&&(a=u.toString(),i.selector=a),{transform:H,root:u,string:a}}).then(c,s)}catch(H){s(H);return}})},t._runSync=function(i,o){o===void 0&&(o={});var r=this._root(i,o),c=this.func(r);if(c&&typeof c.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var s=void 0;return o.updateSelector&&typeof i!="string"&&(s=r.toString(),i.selector=s),{transform:c,root:r,string:s}},t.ast=function(i,o){return this._run(i,o).then(function(r){return r.root})},t.astSync=function(i,o){return this._runSync(i,o).root},t.transform=function(i,o){return this._run(i,o).then(function(r){return r.transform})},t.transformSync=function(i,o){return this._runSync(i,o).transform},t.process=function(i,o){return this._run(i,o).then(function(r){return r.string||r.root.toString()})},t.processSync=function(i,o){var r=this._runSync(i,o);return r.string||r.root.toString()},e}();tg.default=jXe;zle.exports=tg.default});var Qle=Le(qs=>{"use strict";qs.__esModule=!0;qs.universal=qs.tag=qs.string=qs.selector=qs.root=qs.pseudo=qs.nesting=qs.id=qs.comment=qs.combinator=qs.className=qs.attribute=void 0;var UXe=Lc(FM()),qXe=Lc(IM()),WXe=Lc(WM()),VXe=Lc(LM()),KXe=Lc(vM()),GXe=Lc(KM()),XXe=Lc(NM()),ZXe=Lc(yM()),zXe=Lc(bM()),JXe=Lc(wM()),QXe=Lc(DM()),YXe=Lc(UM());function Lc(e){return e&&e.__esModule?e:{default:e}}var eZe=function(t){return new UXe.default(t)};qs.attribute=eZe;var tZe=function(t){return new qXe.default(t)};qs.className=tZe;var rZe=function(t){return new WXe.default(t)};qs.combinator=rZe;var nZe=function(t){return new VXe.default(t)};qs.comment=nZe;var iZe=function(t){return new KXe.default(t)};qs.id=iZe;var sZe=function(t){return new GXe.default(t)};qs.nesting=sZe;var aZe=function(t){return new XXe.default(t)};qs.pseudo=aZe;var oZe=function(t){return new ZXe.default(t)};qs.root=oZe;var lZe=function(t){return new zXe.default(t)};qs.selector=lZe;var cZe=function(t){return new JXe.default(t)};qs.string=cZe;var uZe=function(t){return new QXe.default(t)};qs.tag=uZe;var HZe=function(t){return new YXe.default(t)};qs.universal=HZe});var rce=Le(es=>{"use strict";es.__esModule=!0;es.isComment=es.isCombinator=es.isClassName=es.isAttribute=void 0;es.isContainer=IZe;es.isIdentifier=void 0;es.isNamespace=SZe;es.isNesting=void 0;es.isNode=rB;es.isPseudo=void 0;es.isPseudoClass=AZe;es.isPseudoElement=tce;es.isUniversal=es.isTag=es.isString=es.isSelector=es.isRoot=void 0;var fa=wo(),Sl,pZe=(Sl={},Sl[fa.ATTRIBUTE]=!0,Sl[fa.CLASS]=!0,Sl[fa.COMBINATOR]=!0,Sl[fa.COMMENT]=!0,Sl[fa.ID]=!0,Sl[fa.NESTING]=!0,Sl[fa.PSEUDO]=!0,Sl[fa.ROOT]=!0,Sl[fa.SELECTOR]=!0,Sl[fa.STRING]=!0,Sl[fa.TAG]=!0,Sl[fa.UNIVERSAL]=!0,Sl);function rB(e){return typeof e=="object"&&pZe[e.type]}function Tc(e,t){return rB(t)&&t.type===e}var Yle=Tc.bind(null,fa.ATTRIBUTE);es.isAttribute=Yle;var dZe=Tc.bind(null,fa.CLASS);es.isClassName=dZe;var fZe=Tc.bind(null,fa.COMBINATOR);es.isCombinator=fZe;var hZe=Tc.bind(null,fa.COMMENT);es.isComment=hZe;var _Ze=Tc.bind(null,fa.ID);es.isIdentifier=_Ze;var mZe=Tc.bind(null,fa.NESTING);es.isNesting=mZe;var nB=Tc.bind(null,fa.PSEUDO);es.isPseudo=nB;var EZe=Tc.bind(null,fa.ROOT);es.isRoot=EZe;var yZe=Tc.bind(null,fa.SELECTOR);es.isSelector=yZe;var gZe=Tc.bind(null,fa.STRING);es.isString=gZe;var ece=Tc.bind(null,fa.TAG);es.isTag=ece;var bZe=Tc.bind(null,fa.UNIVERSAL);es.isUniversal=bZe;function tce(e){return nB(e)&&e.value&&(e.value.startsWith("::")||e.value.toLowerCase()===":before"||e.value.toLowerCase()===":after"||e.value.toLowerCase()===":first-letter"||e.value.toLowerCase()===":first-line")}function AZe(e){return nB(e)&&!tce(e)}function IZe(e){return!!(rB(e)&&e.walk)}function SZe(e){return Yle(e)||ece(e)}});var nce=Le(ou=>{"use strict";ou.__esModule=!0;var iB=wo();Object.keys(iB).forEach(function(e){e==="default"||e==="__esModule"||e in ou&&ou[e]===iB[e]||(ou[e]=iB[e])});var sB=Qle();Object.keys(sB).forEach(function(e){e==="default"||e==="__esModule"||e in ou&&ou[e]===sB[e]||(ou[e]=sB[e])});var aB=rce();Object.keys(aB).forEach(function(e){e==="default"||e==="__esModule"||e in ou&&ou[e]===aB[e]||(ou[e]=aB[e])})});var Qu=Le((rg,sce)=>{"use strict";rg.__esModule=!0;rg.default=void 0;var LZe=CZe(Jle()),TZe=vZe(nce());function ice(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(ice=function(o){return o?n:t})(e)}function vZe(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=ice(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var c=o?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(i,r,c):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}function CZe(e){return e&&e.__esModule?e:{default:e}}var oB=function(t){return new LZe.default(t)};Object.assign(oB,TZe);delete oB.__esModule;var xZe=oB;rg.default=xZe;sce.exports=rg.default});var ym=Le(lB=>{"use strict";Object.defineProperty(lB,"__esModule",{value:!0});Object.defineProperty(lB,"default",{enumerable:!0,get:function(){return wZe}});var DZe=ace(gl()),PZe=ace(s_());function ace(e){return e&&e.__esModule?e:{default:e}}function wZe(e){return["fontSize","outline"].includes(e)?t=>(typeof t=="function"&&(t=t({})),Array.isArray(t)&&(t=t[0]),t):e==="fontFamily"?t=>{typeof t=="function"&&(t=t({}));let n=Array.isArray(t)&&(0,PZe.default)(t[1])?t[0]:t;return Array.isArray(n)?n.join(", "):n}:["boxShadow","transitionProperty","transitionDuration","transitionDelay","transitionTimingFunction","backgroundImage","backgroundSize","backgroundColor","cursor","animation"].includes(e)?t=>(typeof t=="function"&&(t=t({})),Array.isArray(t)&&(t=t.join(", ")),t):["gridTemplateColumns","gridTemplateRows","objectPosition"].includes(e)?t=>(typeof t=="function"&&(t=t({})),typeof t=="string"&&(t=DZe.default.list.comma(t).join(" ")),t):(t,n={})=>(typeof t=="function"&&(t=t(n)),t)}});var dce=Le((h$t,dB)=>{var{AtRule:kZe,Rule:lce}=gl(),cce=Qu();function HB(e,t){let n;try{cce(i=>{n=i}).processSync(e)}catch(i){throw e.includes(":")?t?t.error("Missed semicolon"):i:t?t.error(i.message):i}return n.at(0)}function uce(e,t){let n=!1;return e.each(i=>{if(i.type==="nesting"){let o=t.clone({});i.value!=="&"?i.replaceWith(HB(i.value.replace("&",o.toString()))):i.replaceWith(o),n=!0}else"nodes"in i&&i.nodes&&uce(i,t)&&(n=!0)}),n}function Hce(e,t){let n=[];return e.selectors.forEach(i=>{let o=HB(i,e);t.selectors.forEach(r=>{if(!r)return;let c=HB(r,t);uce(c,o)||(c.prepend(cce.combinator({value:" "})),c.prepend(o.clone({}))),n.push(c.toString())})}),n}function $T(e,t){let n=e.prev();for(t.after(e);n&&n.type==="comment";){let i=n.prev();t.after(n),n=i}return e}function NZe(e){return function t(n,i,o,r=o){let c=[];if(i.each(s=>{s.type==="rule"&&o?r&&(s.selectors=Hce(n,s)):s.type==="atrule"&&s.nodes?e[s.name]?t(n,s,r):i[pB]!==!1&&c.push(s):c.push(s)}),o&&c.length){let s=n.clone({nodes:[]});for(let u of c)s.append(u);i.prepend(s)}}}function cB(e,t,n){let i=new lce({nodes:[],selector:e});return i.append(t),n.after(i),i}function oce(e,t){let n={};for(let i of e)n[i]=!0;if(t)for(let i of t)n[i.replace(/^@/,"")]=!0;return n}function RZe(e){e=e.trim();let t=e.match(/^\((.*)\)$/);if(!t)return{selector:e,type:"basic"};let n=t[1].match(/^(with(?:out)?):(.+)$/);if(n){let i=n[1]==="with",o=Object.fromEntries(n[2].trim().split(/\s+/).map(c=>[c,!0]));if(i&&o.all)return{type:"noop"};let r=c=>!!o[c];return o.all?r=()=>!0:i&&(r=c=>c==="all"?!1:!o[c]),{escapes:r,type:"withrules"}}return{type:"unknown"}}function $Ze(e){let t=[],n=e.parent;for(;n&&n instanceof kZe;)t.push(n),n=n.parent;return t}function MZe(e){let t=e[pce];if(!t)e.after(e.nodes);else{let n=e.nodes,i,o=-1,r,c,s,u=$Ze(e);if(u.forEach((H,a)=>{if(t(H.name))i=H,o=a,c=s;else{let l=s;s=H.clone({nodes:[]}),l&&s.append(l),r=r||s}}),i?c?(r.append(n),i.after(c)):i.after(n):e.after(n),e.next()&&i){let H;u.slice(0,o+1).forEach((a,l,p)=>{let d=H;H=a.clone({nodes:[]}),d&&H.append(d);let h=[],g=(p[l-1]||e).next();for(;g;)h.push(g),g=g.next();H.append(h)}),H&&(c||n[n.length-1]).after(H)}}e.remove()}var pB=Symbol("rootRuleMergeSel"),pce=Symbol("rootRuleEscapes");function BZe(e){let{params:t}=e,{escapes:n,selector:i,type:o}=RZe(t);if(o==="unknown")throw e.error(`Unknown @${e.name} parameter ${JSON.stringify(t)}`);if(o==="basic"&&i){let r=new lce({nodes:e.nodes,selector:i});e.removeAll(),e.append(r)}e[pce]=n,e[pB]=n?!n("all"):o==="noop"}var uB=Symbol("hasRootRule");dB.exports=(e={})=>{let t=oce(["media","supports","layer","container","starting-style"],e.bubble),n=NZe(t),i=oce(["document","font-face","keyframes","-webkit-keyframes","-moz-keyframes"],e.unwrap),o=(e.rootRuleName||"at-root").replace(/^@/,""),r=e.preserveEmpty;return{Once(c){c.walkAtRules(o,s=>{BZe(s),c[uB]=!0})},postcssPlugin:"postcss-nested",RootExit(c){c[uB]&&(c.walkAtRules(o,MZe),c[uB]=!1)},Rule(c){let s=!1,u=c,H=!1,a=[];c.each(l=>{l.type==="rule"?(a.length&&(u=cB(c.selector,a,u),a=[]),H=!0,s=!0,l.selectors=Hce(c,l),u=$T(l,u)):l.type==="atrule"?(a.length&&(u=cB(c.selector,a,u),a=[]),l.name===o?(s=!0,n(c,l,!0,l[pB]),u=$T(l,u)):t[l.name]?(H=!0,s=!0,n(c,l,!0),u=$T(l,u)):i[l.name]?(H=!0,s=!0,n(c,l,!1),u=$T(l,u)):H&&a.push(l)):l.type==="decl"&&H&&a.push(l)}),a.length&&(u=cB(c.selector,a,u)),s&&r!==!0&&(c.raws.semicolon=!0,c.nodes.length===0&&c.remove())}}};dB.exports.postcss=!0});var mce=Le((_$t,_ce)=>{"use strict";var fce=/-(\w|$)/g,hce=(e,t)=>t.toUpperCase(),OZe=e=>(e=e.toLowerCase(),e==="float"?"cssFloat":e.startsWith("-ms-")?e.substr(1).replace(fce,hce):e.replace(fce,hce));_ce.exports=OZe});var _B=Le((m$t,Ece)=>{var FZe=mce(),jZe={boxFlex:!0,boxFlexGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};function fB(e){return typeof e.nodes>"u"?!0:hB(e)}function hB(e){let t,n={};return e.each(i=>{if(i.type==="atrule")t="@"+i.name,i.params&&(t+=" "+i.params),typeof n[t]>"u"?n[t]=fB(i):Array.isArray(n[t])?n[t].push(fB(i)):n[t]=[n[t],fB(i)];else if(i.type==="rule"){let o=hB(i);if(n[i.selector])for(let r in o)n[i.selector][r]=o[r];else n[i.selector]=o}else if(i.type==="decl"){i.prop[0]==="-"&&i.prop[1]==="-"||i.parent&&i.parent.selector===":export"?t=i.prop:t=FZe(i.prop);let o=i.value;!isNaN(i.value)&&jZe[t]&&(o=parseFloat(i.value)),i.important&&(o+=" !important"),typeof n[t]>"u"?n[t]=o:Array.isArray(n[t])?n[t].push(o):n[t]=[n[t],o]}}),n}Ece.exports=hB});var MT=Le((E$t,Ace)=>{var ng=gl(),yce=/\s*!important\s*$/i,UZe={"box-flex":!0,"box-flex-group":!0,"column-count":!0,flex:!0,"flex-grow":!0,"flex-positive":!0,"flex-shrink":!0,"flex-negative":!0,"font-weight":!0,"line-clamp":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"tab-size":!0,widows:!0,"z-index":!0,zoom:!0,"fill-opacity":!0,"stroke-dashoffset":!0,"stroke-opacity":!0,"stroke-width":!0};function qZe(e){return e.replace(/([A-Z])/g,"-$1").replace(/^ms-/,"-ms-").toLowerCase()}function gce(e,t,n){n===!1||n===null||(t.startsWith("--")||(t=qZe(t)),typeof n=="number"&&(n===0||UZe[t]?n=n.toString():n+="px"),t==="css-float"&&(t="float"),yce.test(n)?(n=n.replace(yce,""),e.push(ng.decl({prop:t,value:n,important:!0}))):e.push(ng.decl({prop:t,value:n})))}function bce(e,t,n){let i=ng.atRule({name:t[1],params:t[3]||""});typeof n=="object"&&(i.nodes=[],mB(n,i)),e.push(i)}function mB(e,t){let n,i,o;for(n in e)if(i=e[n],!(i===null||typeof i>"u"))if(n[0]==="@"){let r=n.match(/@(\S+)(\s+([\W\w]*)\s*)?/);if(Array.isArray(i))for(let c of i)bce(t,r,c);else bce(t,r,i)}else if(Array.isArray(i))for(let r of i)gce(t,n,r);else typeof i=="object"?(o=ng.rule({selector:n}),mB(i,o),t.push(o)):gce(t,n,i)}Ace.exports=function(e){let t=ng.root();return mB(e,t),t}});var EB=Le((y$t,Ice)=>{var WZe=_B();Ice.exports=function(t){return console&&console.warn&&t.warnings().forEach(n=>{let i=n.plugin||"PostCSS";console.warn(i+": "+n.text)}),WZe(t.root)}});var Lce=Le((g$t,Sce)=>{var VZe=gl(),KZe=EB(),GZe=MT();Sce.exports=function(t){let n=VZe(t);return async i=>{let o=await n.process(i,{parser:GZe,from:void 0});return KZe(o)}}});var vce=Le((b$t,Tce)=>{var XZe=gl(),ZZe=EB(),zZe=MT();Tce.exports=function(e){let t=XZe(e);return n=>{let i=t.process(n,{parser:zZe,from:void 0});return ZZe(i)}}});var xce=Le((A$t,Cce)=>{var JZe=_B(),QZe=MT(),YZe=Lce(),eze=vce();Cce.exports={objectify:JZe,parse:QZe,async:YZe,sync:eze}});var bB=Le(gB=>{"use strict";Object.defineProperty(gB,"__esModule",{value:!0});Object.defineProperty(gB,"default",{enumerable:!0,get:function(){return Dce}});var tze=yB(gl()),rze=yB(dce()),nze=yB(xce());function yB(e){return e&&e.__esModule?e:{default:e}}function Dce(e){return Array.isArray(e)?e.flatMap(t=>(0,tze.default)([(0,rze.default)({bubble:["screen"]})]).process(t,{parser:nze.default}).root.nodes):Dce([e])}});var BT=Le(AB=>{"use strict";Object.defineProperty(AB,"__esModule",{value:!0});Object.defineProperty(AB,"default",{enumerable:!0,get:function(){return aze}});var ize=sze(Qu());function sze(e){return e&&e.__esModule?e:{default:e}}function aze(e,t,n=!1){if(e==="")return t;let i=typeof t=="string"?(0,ize.default)().astSync(t):t;return i.walkClasses(o=>{let r=o.value,c=n&&r.startsWith("-");o.value=c?`-${e}${r.slice(1)}`:`${e}${r}`}),typeof t=="string"?i.toString():i}});var gm=Le(IB=>{"use strict";Object.defineProperty(IB,"__esModule",{value:!0});Object.defineProperty(IB,"default",{enumerable:!0,get:function(){return cze}});var oze=Pce(Qu()),lze=Pce(oI());function Pce(e){return e&&e.__esModule?e:{default:e}}function cze(e){var t;let n=oze.default.className();n.value=e;var i;return(0,lze.default)((i=n==null||(t=n.raws)===null||t===void 0?void 0:t.value)!==null&&i!==void 0?i:n.value)}});var LB=Le(SB=>{"use strict";Object.defineProperty(SB,"__esModule",{value:!0});function uze(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}uze(SB,{asClass:function(){return kce},default:function(){return dze},formatClass:function(){return Nce}});var Hze=wce(gm()),pze=wce(oI());function wce(e){return e&&e.__esModule?e:{default:e}}function kce(e){return(0,pze.default)(`.${(0,Hze.default)(e)}`)}function dze(e,t){return kce(Nce(e,t))}function Nce(e,t){return t==="DEFAULT"?e:t==="-"||t==="-DEFAULT"?`-${e}`:t.startsWith("-")?`-${e}${t}`:t.startsWith("/")?`${e}${t}`:`${e}-${t}`}});var Rce=Le(TB=>{"use strict";Object.defineProperty(TB,"__esModule",{value:!0});Object.defineProperty(TB,"default",{enumerable:!0,get:function(){return _ze}});var fze=hze(ym());function hze(e){return e&&e.__esModule?e:{default:e}}function _ze(e,t=[[e,[e]]],{filterDefault:n=!1,...i}={}){let o=(0,fze.default)(e);return function({matchUtilities:r,theme:c}){for(let u of t){let H=Array.isArray(u[0])?u:[u];var s;r(H.reduce((a,[l,p])=>Object.assign(a,{[l]:d=>p.reduce((h,m)=>Array.isArray(m)?Object.assign(h,{[m[0]]:m[1]}):Object.assign(h,{[m]:o(d)}),{})}),{}),{...i,values:n?Object.fromEntries(Object.entries((s=c(e))!==null&&s!==void 0?s:{}).filter(([a])=>a!=="DEFAULT")):c(e)})}}}});var OT=Le(vB=>{"use strict";Object.defineProperty(vB,"__esModule",{value:!0});Object.defineProperty(vB,"default",{enumerable:!0,get:function(){return mze}});function mze(e){return e=Array.isArray(e)?e:[e],e.map(t=>{let n=t.values.map(i=>i.raw!==void 0?i.raw:[i.min&&`(min-width: ${i.min})`,i.max&&`(max-width: ${i.max})`].filter(Boolean).join(" and "));return t.not?`not all and ${n}`:n}).join(", ")}});var Mce=Le(CB=>{"use strict";Object.defineProperty(CB,"__esModule",{value:!0});Object.defineProperty(CB,"default",{enumerable:!0,get:function(){return vze}});var Eze=new Set(["normal","reverse","alternate","alternate-reverse"]),yze=new Set(["running","paused"]),gze=new Set(["none","forwards","backwards","both"]),bze=new Set(["infinite"]),Aze=new Set(["linear","ease","ease-in","ease-out","ease-in-out","step-start","step-end"]),Ize=["cubic-bezier","steps"],Sze=/\,(?![^(]*\))/g,Lze=/\ +(?![^(]*\))/g,$ce=/^(-?[\d.]+m?s)$/,Tze=/^(\d+)$/;function vze(e){return e.split(Sze).map(n=>{let i=n.trim(),o={value:i},r=i.split(Lze),c=new Set;for(let s of r)!c.has("DIRECTIONS")&&Eze.has(s)?(o.direction=s,c.add("DIRECTIONS")):!c.has("PLAY_STATES")&&yze.has(s)?(o.playState=s,c.add("PLAY_STATES")):!c.has("FILL_MODES")&&gze.has(s)?(o.fillMode=s,c.add("FILL_MODES")):!c.has("ITERATION_COUNTS")&&(bze.has(s)||Tze.test(s))?(o.iterationCount=s,c.add("ITERATION_COUNTS")):!c.has("TIMING_FUNCTION")&&Aze.has(s)||!c.has("TIMING_FUNCTION")&&Ize.some(u=>s.startsWith(`${u}(`))?(o.timingFunction=s,c.add("TIMING_FUNCTION")):!c.has("DURATION")&&$ce.test(s)?(o.duration=s,c.add("DURATION")):!c.has("DELAY")&&$ce.test(s)?(o.delay=s,c.add("DELAY")):c.has("NAME")?(o.unknown||(o.unknown=[]),o.unknown.push(s)):(o.name=s,c.add("NAME"));return o})}});var Oce=Le(xB=>{"use strict";Object.defineProperty(xB,"__esModule",{value:!0});Object.defineProperty(xB,"default",{enumerable:!0,get:function(){return Cze}});var Bce=e=>Object.assign({},...Object.entries(e??{}).flatMap(([t,n])=>typeof n=="object"?Object.entries(Bce(n)).map(([i,o])=>({[t+(i==="DEFAULT"?"":`-${i}`)]:o})):[{[`${t}`]:n}])),Cze=Bce});var FT=Le(wB=>{"use strict";Object.defineProperty(wB,"__esModule",{value:!0});function xze(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}xze(wB,{normalizeScreens:function(){return jce},isScreenSortable:function(){return DB},compareScreens:function(){return Dze},toScreen:function(){return PB}});function jce(e,t=!0){return Array.isArray(e)?e.map(n=>{if(t&&Array.isArray(n))throw new Error("The tuple syntax is not supported for `screens`.");if(typeof n=="string")return{name:n.toString(),not:!1,values:[{min:n,max:void 0}]};let[i,o]=n;return i=i.toString(),typeof o=="string"?{name:i,not:!1,values:[{min:o,max:void 0}]}:Array.isArray(o)?{name:i,not:!1,values:o.map(r=>Fce(r))}:{name:i,not:!1,values:[Fce(o)]}}):jce(Object.entries(e??{}),!1)}function DB(e){return e.values.length!==1?{result:!1,reason:"multiple-values"}:e.values[0].raw!==void 0?{result:!1,reason:"raw-values"}:e.values[0].min!==void 0&&e.values[0].max!==void 0?{result:!1,reason:"min-and-max"}:{result:!0,reason:null}}function Dze(e,t,n){let i=PB(t,e),o=PB(n,e),r=DB(i),c=DB(o);if(r.reason==="multiple-values"||c.reason==="multiple-values")throw new Error("Attempted to sort a screen with multiple values. This should never happen. Please open a bug report.");if(r.reason==="raw-values"||c.reason==="raw-values")throw new Error("Attempted to sort a screen with raw values. This should never happen. Please open a bug report.");if(r.reason==="min-and-max"||c.reason==="min-and-max")throw new Error("Attempted to sort a screen with both min and max values. This should never happen. Please open a bug report.");let{min:s,max:u}=i.values[0],{min:H,max:a}=o.values[0];t.not&&([s,u]=[u,s]),n.not&&([H,a]=[a,H]),s=s===void 0?s:parseFloat(s),u=u===void 0?u:parseFloat(u),H=H===void 0?H:parseFloat(H),a=a===void 0?a:parseFloat(a);let[l,p]=e==="min"?[s,H]:[a,u];return l-p}function PB(e,t){return typeof e=="object"?e:{name:"arbitrary-screen",values:[{[t]:e}]}}function Fce({"min-width":e,min:t=e,max:n,raw:i}={}){return{min:t,max:n,raw:i}}});var Uce=Le(kB=>{"use strict";Object.defineProperty(kB,"__esModule",{value:!0});Object.defineProperty(kB,"removeAlphaVariables",{enumerable:!0,get:function(){return Pze}});function Pze(e,t){e.walkDecls(n=>{if(t.includes(n.prop)){n.remove();return}for(let i of t)n.value.includes(`/ var(${i})`)?n.value=n.value.replace(`/ var(${i})`,""):n.value.includes(`/ var(${i}, 1)`)&&(n.value=n.value.replace(`/ var(${i}, 1)`,""))})}});var Xce=Le(MB=>{"use strict";Object.defineProperty(MB,"__esModule",{value:!0});function wze(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}wze(MB,{variantPlugins:function(){return Bze},corePlugins:function(){return Oze}});var kze=cu(require("fs")),Nze=Gce(require("path")),UT=cu(gl()),cn=cu(Rce()),qce=cu(OT()),RB=cu(gm()),Rze=cu(Mce()),ko=cu(Oce()),qo=Gce(By()),Ps=cu(gN()),Wce=cu(s_()),$ze=cu(ym()),Mze=k0(),bm=cu(ac()),ig=FT(),Vce=dN(),NB=Uce(),$B=CH(),ws=Oy(),jT=Am();function cu(e){return e&&e.__esModule?e:{default:e}}function Kce(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Kce=function(i){return i?n:t})(e)}function Gce(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Kce(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var c=o?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(i,r,c):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}var Bze={childVariant:({addVariant:e})=>{e("*","& > *")},pseudoElementVariants:({addVariant:e})=>{e("first-letter","&::first-letter"),e("first-line","&::first-line"),e("marker",[({container:t})=>((0,NB.removeAlphaVariables)(t,["--tw-text-opacity"]),"& *::marker"),({container:t})=>((0,NB.removeAlphaVariables)(t,["--tw-text-opacity"]),"&::marker")]),e("selection",["& *::selection","&::selection"]),e("file","&::file-selector-button"),e("placeholder","&::placeholder"),e("backdrop","&::backdrop"),e("before",({container:t})=>(t.walkRules(n=>{let i=!1;n.walkDecls("content",()=>{i=!0}),i||n.prepend(UT.default.decl({prop:"content",value:"var(--tw-content)"}))}),"&::before")),e("after",({container:t})=>(t.walkRules(n=>{let i=!1;n.walkDecls("content",()=>{i=!0}),i||n.prepend(UT.default.decl({prop:"content",value:"var(--tw-content)"}))}),"&::after"))},pseudoClassVariants:({addVariant:e,matchVariant:t,config:n,prefix:i})=>{let o=[["first","&:first-child"],["last","&:last-child"],["only","&:only-child"],["odd","&:nth-child(odd)"],["even","&:nth-child(even)"],"first-of-type","last-of-type","only-of-type",["visited",({container:c})=>((0,NB.removeAlphaVariables)(c,["--tw-text-opacity","--tw-border-opacity","--tw-bg-opacity"]),"&:visited")],"target",["open","&[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","in-range","out-of-range","read-only","empty","focus-within",["hover",(0,$B.flagEnabled)(n(),"hoverOnlyWhenSupported")?"@media (hover: hover) and (pointer: fine) { &:hover }":"&:hover"],"focus","focus-visible","active","enabled","disabled"].map(c=>Array.isArray(c)?c:[c,`&:${c}`]);for(let[c,s]of o)e(c,u=>typeof s=="function"?s(u):s);let r={group:(c,{modifier:s})=>s?[`:merge(${i(".group")}\\/${(0,RB.default)(s)})`," &"]:[`:merge(${i(".group")})`," &"],peer:(c,{modifier:s})=>s?[`:merge(${i(".peer")}\\/${(0,RB.default)(s)})`," ~ &"]:[`:merge(${i(".peer")})`," ~ &"]};for(let[c,s]of Object.entries(r))t(c,(u="",H)=>{let a=(0,ws.normalize)(typeof u=="function"?u(H):u);a.includes("&")||(a="&"+a);let[l,p]=s("",H),d=null,h=null,m=0;for(let g=0;g<a.length;++g){let y=a[g];y==="&"?d=g:y==="'"||y==='"'?m+=1:d!==null&&y===" "&&!m&&(h=g)}return d!==null&&h===null&&(h=a.length),a.slice(0,d)+l+a.slice(d+1,h)+p+a.slice(h)},{values:Object.fromEntries(o),[jT.INTERNAL_FEATURES]:{respectPrefix:!1}})},directionVariants:({addVariant:e})=>{e("ltr",'&:where([dir="ltr"], [dir="ltr"] *)'),e("rtl",'&:where([dir="rtl"], [dir="rtl"] *)')},reducedMotionVariants:({addVariant:e})=>{e("motion-safe","@media (prefers-reduced-motion: no-preference)"),e("motion-reduce","@media (prefers-reduced-motion: reduce)")},darkVariants:({config:e,addVariant:t})=>{let[n,i=".dark"]=[].concat(e("darkMode","media"));if(n===!1&&(n="media",bm.default.warn("darkmode-false",["The `darkMode` option in your Tailwind CSS configuration is set to `false`, which now behaves the same as `media`.","Change `darkMode` to `media` or remove it entirely.","https://tailwindcss.com/docs/upgrade-guide#remove-dark-mode-configuration"])),n==="variant"){let o;if(Array.isArray(i)||typeof i=="function"?o=i:typeof i=="string"&&(o=[i]),Array.isArray(o))for(let r of o)r===".dark"?(n=!1,bm.default.warn("darkmode-variant-without-selector",["When using `variant` for `darkMode`, you must provide a selector.",'Example: `darkMode: ["variant", ".your-selector &"]`'])):r.includes("&")||(n=!1,bm.default.warn("darkmode-variant-without-ampersand",["When using `variant` for `darkMode`, your selector must contain `&`.",'Example `darkMode: ["variant", ".your-selector &"]`']));i=o}n==="selector"?t("dark",`&:where(${i}, ${i} *)`):n==="media"?t("dark","@media (prefers-color-scheme: dark)"):n==="variant"?t("dark",i):n==="class"&&t("dark",`&:is(${i} *)`)},printVariant:({addVariant:e})=>{e("print","@media print")},screenVariants:({theme:e,addVariant:t,matchVariant:n})=>{var i;let o=(i=e("screens"))!==null&&i!==void 0?i:{},r=Object.values(o).every(_=>typeof _=="string"),c=(0,ig.normalizeScreens)(e("screens")),s=new Set([]);function u(_){var E,A;return(A=(E=_.match(/(\D+)$/))===null||E===void 0?void 0:E[1])!==null&&A!==void 0?A:"(none)"}function H(_){_!==void 0&&s.add(u(_))}function a(_){return H(_),s.size===1}for(let _ of c)for(let E of _.values)H(E.min),H(E.max);let l=s.size<=1;function p(_){return Object.fromEntries(c.filter(E=>(0,ig.isScreenSortable)(E).result).map(E=>{let{min:A,max:S}=E.values[0];if(_==="min"&&A!==void 0)return E;if(_==="min"&&S!==void 0)return{...E,not:!E.not};if(_==="max"&&S!==void 0)return E;if(_==="max"&&A!==void 0)return{...E,not:!E.not}}).map(E=>[E.name,E]))}function d(_){return(E,A)=>(0,ig.compareScreens)(_,E.value,A.value)}let h=d("max"),m=d("min");function g(_){return E=>{if(r)if(l){if(typeof E=="string"&&!a(E))return bm.default.warn("minmax-have-mixed-units",["The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units."]),[]}else return bm.default.warn("mixed-screen-units",["The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units."]),[];else return bm.default.warn("complex-screen-config",["The `min-*` and `max-*` variants are not supported with a `screens` configuration containing objects."]),[];return[`@media ${(0,qce.default)((0,ig.toScreen)(E,_))}`]}}n("max",g("max"),{sort:h,values:r?p("max"):{}});let y="min-screens";for(let _ of c)t(_.name,`@media ${(0,qce.default)(_)}`,{id:y,sort:r&&l?m:void 0,value:_});n("min",g("min"),{id:y,sort:m})},supportsVariants:({matchVariant:e,theme:t})=>{var n;e("supports",(i="")=>{let o=(0,ws.normalize)(i),r=/^\w*\s*\(/.test(o);return o=r?o.replace(/\b(and|or|not)\b/g," $1 "):o,r?`@supports ${o}`:(o.includes(":")||(o=`${o}: var(--tw)`),o.startsWith("(")&&o.endsWith(")")||(o=`(${o})`),`@supports ${o}`)},{values:(n=t("supports"))!==null&&n!==void 0?n:{}})},hasVariants:({matchVariant:e,prefix:t})=>{e("has",n=>`&:has(${(0,ws.normalize)(n)})`,{values:{},[jT.INTERNAL_FEATURES]:{respectPrefix:!1}}),e("group-has",(n,{modifier:i})=>i?`:merge(${t(".group")}\\/${i}):has(${(0,ws.normalize)(n)}) &`:`:merge(${t(".group")}):has(${(0,ws.normalize)(n)}) &`,{values:{},[jT.INTERNAL_FEATURES]:{respectPrefix:!1}}),e("peer-has",(n,{modifier:i})=>i?`:merge(${t(".peer")}\\/${i}):has(${(0,ws.normalize)(n)}) ~ &`:`:merge(${t(".peer")}):has(${(0,ws.normalize)(n)}) ~ &`,{values:{},[jT.INTERNAL_FEATURES]:{respectPrefix:!1}})},ariaVariants:({matchVariant:e,theme:t})=>{var n;e("aria",r=>`&[aria-${(0,ws.normalizeAttributeSelectors)((0,ws.normalize)(r))}]`,{values:(n=t("aria"))!==null&&n!==void 0?n:{}});var i;e("group-aria",(r,{modifier:c})=>c?`:merge(.group\\/${c})[aria-${(0,ws.normalizeAttributeSelectors)((0,ws.normalize)(r))}] &`:`:merge(.group)[aria-${(0,ws.normalizeAttributeSelectors)((0,ws.normalize)(r))}] &`,{values:(i=t("aria"))!==null&&i!==void 0?i:{}});var o;e("peer-aria",(r,{modifier:c})=>c?`:merge(.peer\\/${c})[aria-${(0,ws.normalizeAttributeSelectors)((0,ws.normalize)(r))}] ~ &`:`:merge(.peer)[aria-${(0,ws.normalizeAttributeSelectors)((0,ws.normalize)(r))}] ~ &`,{values:(o=t("aria"))!==null&&o!==void 0?o:{}})},dataVariants:({matchVariant:e,theme:t})=>{var n;e("data",r=>`&[data-${(0,ws.normalizeAttributeSelectors)((0,ws.normalize)(r))}]`,{values:(n=t("data"))!==null&&n!==void 0?n:{}});var i;e("group-data",(r,{modifier:c})=>c?`:merge(.group\\/${c})[data-${(0,ws.normalizeAttributeSelectors)((0,ws.normalize)(r))}] &`:`:merge(.group)[data-${(0,ws.normalizeAttributeSelectors)((0,ws.normalize)(r))}] &`,{values:(i=t("data"))!==null&&i!==void 0?i:{}});var o;e("peer-data",(r,{modifier:c})=>c?`:merge(.peer\\/${c})[data-${(0,ws.normalizeAttributeSelectors)((0,ws.normalize)(r))}] ~ &`:`:merge(.peer)[data-${(0,ws.normalizeAttributeSelectors)((0,ws.normalize)(r))}] ~ &`,{values:(o=t("data"))!==null&&o!==void 0?o:{}})},orientationVariants:({addVariant:e})=>{e("portrait","@media (orientation: portrait)"),e("landscape","@media (orientation: landscape)")},prefersContrastVariants:({addVariant:e})=>{e("contrast-more","@media (prefers-contrast: more)"),e("contrast-less","@media (prefers-contrast: less)")},forcedColorsVariants:({addVariant:e})=>{e("forced-colors","@media (forced-colors: active)")}},lu=["translate(var(--tw-translate-x), var(--tw-translate-y))","rotate(var(--tw-rotate))","skewX(var(--tw-skew-x))","skewY(var(--tw-skew-y))","scaleX(var(--tw-scale-x))","scaleY(var(--tw-scale-y))"].join(" "),Yu=["var(--tw-blur)","var(--tw-brightness)","var(--tw-contrast)","var(--tw-grayscale)","var(--tw-hue-rotate)","var(--tw-invert)","var(--tw-saturate)","var(--tw-sepia)","var(--tw-drop-shadow)"].join(" "),Za=["var(--tw-backdrop-blur)","var(--tw-backdrop-brightness)","var(--tw-backdrop-contrast)","var(--tw-backdrop-grayscale)","var(--tw-backdrop-hue-rotate)","var(--tw-backdrop-invert)","var(--tw-backdrop-opacity)","var(--tw-backdrop-saturate)","var(--tw-backdrop-sepia)"].join(" "),Oze={preflight:({addBase:e})=>{let t=UT.default.parse(kze.default.readFileSync(Nze.join(__dirname,"./css/preflight.css"),"utf8"));e([UT.default.comment({text:`! tailwindcss v${Mze.version} | MIT License | https://tailwindcss.com`}),...t.nodes])},container:(()=>{function e(n=[]){return n.flatMap(i=>i.values.map(o=>o.min)).filter(i=>i!==void 0)}function t(n,i,o){if(typeof o>"u")return[];if(!(typeof o=="object"&&o!==null))return[{screen:"DEFAULT",minWidth:0,padding:o}];let r=[];o.DEFAULT&&r.push({screen:"DEFAULT",minWidth:0,padding:o.DEFAULT});for(let c of n)for(let s of i)for(let{min:u}of s.values)u===c&&r.push({minWidth:c,padding:o[s.name]});return r}return function({addComponents:n,theme:i}){let o=(0,ig.normalizeScreens)(i("container.screens",i("screens"))),r=e(o),c=t(r,o,i("container.padding")),s=H=>{let a=c.find(l=>l.minWidth===H);return a?{paddingRight:a.padding,paddingLeft:a.padding}:{}},u=Array.from(new Set(r.slice().sort((H,a)=>parseInt(H)-parseInt(a)))).map(H=>({[`@media (min-width: ${H})`]:{".container":{"max-width":H,...s(H)}}}));n([{".container":Object.assign({width:"100%"},i("container.center",!1)?{marginRight:"auto",marginLeft:"auto"}:{},s(0))},...u])}})(),accessibility:({addUtilities:e})=>{e({".sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},".not-sr-only":{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto",whiteSpace:"normal"}})},pointerEvents:({addUtilities:e})=>{e({".pointer-events-none":{"pointer-events":"none"},".pointer-events-auto":{"pointer-events":"auto"}})},visibility:({addUtilities:e})=>{e({".visible":{visibility:"visible"},".invisible":{visibility:"hidden"},".collapse":{visibility:"collapse"}})},position:({addUtilities:e})=>{e({".static":{position:"static"},".fixed":{position:"fixed"},".absolute":{position:"absolute"},".relative":{position:"relative"},".sticky":{position:"sticky"}})},inset:(0,cn.default)("inset",[["inset",["inset"]],[["inset-x",["left","right"]],["inset-y",["top","bottom"]]],[["start",["inset-inline-start"]],["end",["inset-inline-end"]],["top",["top"]],["right",["right"]],["bottom",["bottom"]],["left",["left"]]]],{supportsNegativeValues:!0}),isolation:({addUtilities:e})=>{e({".isolate":{isolation:"isolate"},".isolation-auto":{isolation:"auto"}})},zIndex:(0,cn.default)("zIndex",[["z",["zIndex"]]],{supportsNegativeValues:!0}),order:(0,cn.default)("order",void 0,{supportsNegativeValues:!0}),gridColumn:(0,cn.default)("gridColumn",[["col",["gridColumn"]]]),gridColumnStart:(0,cn.default)("gridColumnStart",[["col-start",["gridColumnStart"]]],{supportsNegativeValues:!0}),gridColumnEnd:(0,cn.default)("gridColumnEnd",[["col-end",["gridColumnEnd"]]],{supportsNegativeValues:!0}),gridRow:(0,cn.default)("gridRow",[["row",["gridRow"]]]),gridRowStart:(0,cn.default)("gridRowStart",[["row-start",["gridRowStart"]]],{supportsNegativeValues:!0}),gridRowEnd:(0,cn.default)("gridRowEnd",[["row-end",["gridRowEnd"]]],{supportsNegativeValues:!0}),float:({addUtilities:e})=>{e({".float-start":{float:"inline-start"},".float-end":{float:"inline-end"},".float-right":{float:"right"},".float-left":{float:"left"},".float-none":{float:"none"}})},clear:({addUtilities:e})=>{e({".clear-start":{clear:"inline-start"},".clear-end":{clear:"inline-end"},".clear-left":{clear:"left"},".clear-right":{clear:"right"},".clear-both":{clear:"both"},".clear-none":{clear:"none"}})},margin:(0,cn.default)("margin",[["m",["margin"]],[["mx",["margin-left","margin-right"]],["my",["margin-top","margin-bottom"]]],[["ms",["margin-inline-start"]],["me",["margin-inline-end"]],["mt",["margin-top"]],["mr",["margin-right"]],["mb",["margin-bottom"]],["ml",["margin-left"]]]],{supportsNegativeValues:!0}),boxSizing:({addUtilities:e})=>{e({".box-border":{"box-sizing":"border-box"},".box-content":{"box-sizing":"content-box"}})},lineClamp:({matchUtilities:e,addUtilities:t,theme:n})=>{e({"line-clamp":i=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":`${i}`})},{values:n("lineClamp")}),t({".line-clamp-none":{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"none"}})},display:({addUtilities:e})=>{e({".block":{display:"block"},".inline-block":{display:"inline-block"},".inline":{display:"inline"},".flex":{display:"flex"},".inline-flex":{display:"inline-flex"},".table":{display:"table"},".inline-table":{display:"inline-table"},".table-caption":{display:"table-caption"},".table-cell":{display:"table-cell"},".table-column":{display:"table-column"},".table-column-group":{display:"table-column-group"},".table-footer-group":{display:"table-footer-group"},".table-header-group":{display:"table-header-group"},".table-row-group":{display:"table-row-group"},".table-row":{display:"table-row"},".flow-root":{display:"flow-root"},".grid":{display:"grid"},".inline-grid":{display:"inline-grid"},".contents":{display:"contents"},".list-item":{display:"list-item"},".hidden":{display:"none"}})},aspectRatio:(0,cn.default)("aspectRatio",[["aspect",["aspect-ratio"]]]),size:(0,cn.default)("size",[["size",["width","height"]]]),height:(0,cn.default)("height",[["h",["height"]]]),maxHeight:(0,cn.default)("maxHeight",[["max-h",["maxHeight"]]]),minHeight:(0,cn.default)("minHeight",[["min-h",["minHeight"]]]),width:(0,cn.default)("width",[["w",["width"]]]),minWidth:(0,cn.default)("minWidth",[["min-w",["minWidth"]]]),maxWidth:(0,cn.default)("maxWidth",[["max-w",["maxWidth"]]]),flex:(0,cn.default)("flex"),flexShrink:(0,cn.default)("flexShrink",[["flex-shrink",["flex-shrink"]],["shrink",["flex-shrink"]]]),flexGrow:(0,cn.default)("flexGrow",[["flex-grow",["flex-grow"]],["grow",["flex-grow"]]]),flexBasis:(0,cn.default)("flexBasis",[["basis",["flex-basis"]]]),tableLayout:({addUtilities:e})=>{e({".table-auto":{"table-layout":"auto"},".table-fixed":{"table-layout":"fixed"}})},captionSide:({addUtilities:e})=>{e({".caption-top":{"caption-side":"top"},".caption-bottom":{"caption-side":"bottom"}})},borderCollapse:({addUtilities:e})=>{e({".border-collapse":{"border-collapse":"collapse"},".border-separate":{"border-collapse":"separate"}})},borderSpacing:({addDefaults:e,matchUtilities:t,theme:n})=>{e("border-spacing",{"--tw-border-spacing-x":0,"--tw-border-spacing-y":0}),t({"border-spacing":i=>({"--tw-border-spacing-x":i,"--tw-border-spacing-y":i,"@defaults border-spacing":{},"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"}),"border-spacing-x":i=>({"--tw-border-spacing-x":i,"@defaults border-spacing":{},"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"}),"border-spacing-y":i=>({"--tw-border-spacing-y":i,"@defaults border-spacing":{},"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"})},{values:n("borderSpacing")})},transformOrigin:(0,cn.default)("transformOrigin",[["origin",["transformOrigin"]]]),translate:(0,cn.default)("translate",[[["translate-x",[["@defaults transform",{}],"--tw-translate-x",["transform",lu]]],["translate-y",[["@defaults transform",{}],"--tw-translate-y",["transform",lu]]]]],{supportsNegativeValues:!0}),rotate:(0,cn.default)("rotate",[["rotate",[["@defaults transform",{}],"--tw-rotate",["transform",lu]]]],{supportsNegativeValues:!0}),skew:(0,cn.default)("skew",[[["skew-x",[["@defaults transform",{}],"--tw-skew-x",["transform",lu]]],["skew-y",[["@defaults transform",{}],"--tw-skew-y",["transform",lu]]]]],{supportsNegativeValues:!0}),scale:(0,cn.default)("scale",[["scale",[["@defaults transform",{}],"--tw-scale-x","--tw-scale-y",["transform",lu]]],[["scale-x",[["@defaults transform",{}],"--tw-scale-x",["transform",lu]]],["scale-y",[["@defaults transform",{}],"--tw-scale-y",["transform",lu]]]]],{supportsNegativeValues:!0}),transform:({addDefaults:e,addUtilities:t})=>{e("transform",{"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1"}),t({".transform":{"@defaults transform":{},transform:lu},".transform-cpu":{transform:lu},".transform-gpu":{transform:lu.replace("translate(var(--tw-translate-x), var(--tw-translate-y))","translate3d(var(--tw-translate-x), var(--tw-translate-y), 0)")},".transform-none":{transform:"none"}})},animation:({matchUtilities:e,theme:t,config:n})=>{let i=c=>(0,RB.default)(n("prefix")+c);var o;let r=Object.fromEntries(Object.entries((o=t("keyframes"))!==null&&o!==void 0?o:{}).map(([c,s])=>[c,{[`@keyframes ${i(c)}`]:s}]));e({animate:c=>{let s=(0,Rze.default)(c);return[...s.flatMap(u=>r[u.name]),{animation:s.map(({name:u,value:H})=>u===void 0||r[u]===void 0?H:H.replace(u,i(u))).join(", ")}]}},{values:t("animation")})},cursor:(0,cn.default)("cursor"),touchAction:({addDefaults:e,addUtilities:t})=>{e("touch-action",{"--tw-pan-x":" ","--tw-pan-y":" ","--tw-pinch-zoom":" "});let n="var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)";t({".touch-auto":{"touch-action":"auto"},".touch-none":{"touch-action":"none"},".touch-pan-x":{"@defaults touch-action":{},"--tw-pan-x":"pan-x","touch-action":n},".touch-pan-left":{"@defaults touch-action":{},"--tw-pan-x":"pan-left","touch-action":n},".touch-pan-right":{"@defaults touch-action":{},"--tw-pan-x":"pan-right","touch-action":n},".touch-pan-y":{"@defaults touch-action":{},"--tw-pan-y":"pan-y","touch-action":n},".touch-pan-up":{"@defaults touch-action":{},"--tw-pan-y":"pan-up","touch-action":n},".touch-pan-down":{"@defaults touch-action":{},"--tw-pan-y":"pan-down","touch-action":n},".touch-pinch-zoom":{"@defaults touch-action":{},"--tw-pinch-zoom":"pinch-zoom","touch-action":n},".touch-manipulation":{"touch-action":"manipulation"}})},userSelect:({addUtilities:e})=>{e({".select-none":{"user-select":"none"},".select-text":{"user-select":"text"},".select-all":{"user-select":"all"},".select-auto":{"user-select":"auto"}})},resize:({addUtilities:e})=>{e({".resize-none":{resize:"none"},".resize-y":{resize:"vertical"},".resize-x":{resize:"horizontal"},".resize":{resize:"both"}})},scrollSnapType:({addDefaults:e,addUtilities:t})=>{e("scroll-snap-type",{"--tw-scroll-snap-strictness":"proximity"}),t({".snap-none":{"scroll-snap-type":"none"},".snap-x":{"@defaults scroll-snap-type":{},"scroll-snap-type":"x var(--tw-scroll-snap-strictness)"},".snap-y":{"@defaults scroll-snap-type":{},"scroll-snap-type":"y var(--tw-scroll-snap-strictness)"},".snap-both":{"@defaults scroll-snap-type":{},"scroll-snap-type":"both var(--tw-scroll-snap-strictness)"},".snap-mandatory":{"--tw-scroll-snap-strictness":"mandatory"},".snap-proximity":{"--tw-scroll-snap-strictness":"proximity"}})},scrollSnapAlign:({addUtilities:e})=>{e({".snap-start":{"scroll-snap-align":"start"},".snap-end":{"scroll-snap-align":"end"},".snap-center":{"scroll-snap-align":"center"},".snap-align-none":{"scroll-snap-align":"none"}})},scrollSnapStop:({addUtilities:e})=>{e({".snap-normal":{"scroll-snap-stop":"normal"},".snap-always":{"scroll-snap-stop":"always"}})},scrollMargin:(0,cn.default)("scrollMargin",[["scroll-m",["scroll-margin"]],[["scroll-mx",["scroll-margin-left","scroll-margin-right"]],["scroll-my",["scroll-margin-top","scroll-margin-bottom"]]],[["scroll-ms",["scroll-margin-inline-start"]],["scroll-me",["scroll-margin-inline-end"]],["scroll-mt",["scroll-margin-top"]],["scroll-mr",["scroll-margin-right"]],["scroll-mb",["scroll-margin-bottom"]],["scroll-ml",["scroll-margin-left"]]]],{supportsNegativeValues:!0}),scrollPadding:(0,cn.default)("scrollPadding",[["scroll-p",["scroll-padding"]],[["scroll-px",["scroll-padding-left","scroll-padding-right"]],["scroll-py",["scroll-padding-top","scroll-padding-bottom"]]],[["scroll-ps",["scroll-padding-inline-start"]],["scroll-pe",["scroll-padding-inline-end"]],["scroll-pt",["scroll-padding-top"]],["scroll-pr",["scroll-padding-right"]],["scroll-pb",["scroll-padding-bottom"]],["scroll-pl",["scroll-padding-left"]]]]),listStylePosition:({addUtilities:e})=>{e({".list-inside":{"list-style-position":"inside"},".list-outside":{"list-style-position":"outside"}})},listStyleType:(0,cn.default)("listStyleType",[["list",["listStyleType"]]]),listStyleImage:(0,cn.default)("listStyleImage",[["list-image",["listStyleImage"]]]),appearance:({addUtilities:e})=>{e({".appearance-none":{appearance:"none"},".appearance-auto":{appearance:"auto"}})},columns:(0,cn.default)("columns",[["columns",["columns"]]]),breakBefore:({addUtilities:e})=>{e({".break-before-auto":{"break-before":"auto"},".break-before-avoid":{"break-before":"avoid"},".break-before-all":{"break-before":"all"},".break-before-avoid-page":{"break-before":"avoid-page"},".break-before-page":{"break-before":"page"},".break-before-left":{"break-before":"left"},".break-before-right":{"break-before":"right"},".break-before-column":{"break-before":"column"}})},breakInside:({addUtilities:e})=>{e({".break-inside-auto":{"break-inside":"auto"},".break-inside-avoid":{"break-inside":"avoid"},".break-inside-avoid-page":{"break-inside":"avoid-page"},".break-inside-avoid-column":{"break-inside":"avoid-column"}})},breakAfter:({addUtilities:e})=>{e({".break-after-auto":{"break-after":"auto"},".break-after-avoid":{"break-after":"avoid"},".break-after-all":{"break-after":"all"},".break-after-avoid-page":{"break-after":"avoid-page"},".break-after-page":{"break-after":"page"},".break-after-left":{"break-after":"left"},".break-after-right":{"break-after":"right"},".break-after-column":{"break-after":"column"}})},gridAutoColumns:(0,cn.default)("gridAutoColumns",[["auto-cols",["gridAutoColumns"]]]),gridAutoFlow:({addUtilities:e})=>{e({".grid-flow-row":{gridAutoFlow:"row"},".grid-flow-col":{gridAutoFlow:"column"},".grid-flow-dense":{gridAutoFlow:"dense"},".grid-flow-row-dense":{gridAutoFlow:"row dense"},".grid-flow-col-dense":{gridAutoFlow:"column dense"}})},gridAutoRows:(0,cn.default)("gridAutoRows",[["auto-rows",["gridAutoRows"]]]),gridTemplateColumns:(0,cn.default)("gridTemplateColumns",[["grid-cols",["gridTemplateColumns"]]]),gridTemplateRows:(0,cn.default)("gridTemplateRows",[["grid-rows",["gridTemplateRows"]]]),flexDirection:({addUtilities:e})=>{e({".flex-row":{"flex-direction":"row"},".flex-row-reverse":{"flex-direction":"row-reverse"},".flex-col":{"flex-direction":"column"},".flex-col-reverse":{"flex-direction":"column-reverse"}})},flexWrap:({addUtilities:e})=>{e({".flex-wrap":{"flex-wrap":"wrap"},".flex-wrap-reverse":{"flex-wrap":"wrap-reverse"},".flex-nowrap":{"flex-wrap":"nowrap"}})},placeContent:({addUtilities:e})=>{e({".place-content-center":{"place-content":"center"},".place-content-start":{"place-content":"start"},".place-content-end":{"place-content":"end"},".place-content-between":{"place-content":"space-between"},".place-content-around":{"place-content":"space-around"},".place-content-evenly":{"place-content":"space-evenly"},".place-content-baseline":{"place-content":"baseline"},".place-content-stretch":{"place-content":"stretch"}})},placeItems:({addUtilities:e})=>{e({".place-items-start":{"place-items":"start"},".place-items-end":{"place-items":"end"},".place-items-center":{"place-items":"center"},".place-items-baseline":{"place-items":"baseline"},".place-items-stretch":{"place-items":"stretch"}})},alignContent:({addUtilities:e})=>{e({".content-normal":{"align-content":"normal"},".content-center":{"align-content":"center"},".content-start":{"align-content":"flex-start"},".content-end":{"align-content":"flex-end"},".content-between":{"align-content":"space-between"},".content-around":{"align-content":"space-around"},".content-evenly":{"align-content":"space-evenly"},".content-baseline":{"align-content":"baseline"},".content-stretch":{"align-content":"stretch"}})},alignItems:({addUtilities:e})=>{e({".items-start":{"align-items":"flex-start"},".items-end":{"align-items":"flex-end"},".items-center":{"align-items":"center"},".items-baseline":{"align-items":"baseline"},".items-stretch":{"align-items":"stretch"}})},justifyContent:({addUtilities:e})=>{e({".justify-normal":{"justify-content":"normal"},".justify-start":{"justify-content":"flex-start"},".justify-end":{"justify-content":"flex-end"},".justify-center":{"justify-content":"center"},".justify-between":{"justify-content":"space-between"},".justify-around":{"justify-content":"space-around"},".justify-evenly":{"justify-content":"space-evenly"},".justify-stretch":{"justify-content":"stretch"}})},justifyItems:({addUtilities:e})=>{e({".justify-items-start":{"justify-items":"start"},".justify-items-end":{"justify-items":"end"},".justify-items-center":{"justify-items":"center"},".justify-items-stretch":{"justify-items":"stretch"}})},gap:(0,cn.default)("gap",[["gap",["gap"]],[["gap-x",["columnGap"]],["gap-y",["rowGap"]]]]),space:({matchUtilities:e,addUtilities:t,theme:n})=>{e({"space-x":i=>(i=i==="0"?"0px":i,{"& > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","margin-right":`calc(${i} * var(--tw-space-x-reverse))`,"margin-left":`calc(${i} * calc(1 - var(--tw-space-x-reverse)))`}}),"space-y":i=>(i=i==="0"?"0px":i,{"& > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","margin-top":`calc(${i} * calc(1 - var(--tw-space-y-reverse)))`,"margin-bottom":`calc(${i} * var(--tw-space-y-reverse))`}})},{values:n("space"),supportsNegativeValues:!0}),t({".space-y-reverse > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"1"},".space-x-reverse > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"1"}})},divideWidth:({matchUtilities:e,addUtilities:t,theme:n})=>{e({"divide-x":i=>(i=i==="0"?"0px":i,{"& > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-x-reverse":"0","border-right-width":`calc(${i} * var(--tw-divide-x-reverse))`,"border-left-width":`calc(${i} * calc(1 - var(--tw-divide-x-reverse)))`}}),"divide-y":i=>(i=i==="0"?"0px":i,{"& > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-y-reverse":"0","border-top-width":`calc(${i} * calc(1 - var(--tw-divide-y-reverse)))`,"border-bottom-width":`calc(${i} * var(--tw-divide-y-reverse))`}})},{values:n("divideWidth"),type:["line-width","length","any"]}),t({".divide-y-reverse > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-y-reverse":"1"},".divide-x-reverse > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-x-reverse":"1"}})},divideStyle:({addUtilities:e})=>{e({".divide-solid > :not([hidden]) ~ :not([hidden])":{"border-style":"solid"},".divide-dashed > :not([hidden]) ~ :not([hidden])":{"border-style":"dashed"},".divide-dotted > :not([hidden]) ~ :not([hidden])":{"border-style":"dotted"},".divide-double > :not([hidden]) ~ :not([hidden])":{"border-style":"double"},".divide-none > :not([hidden]) ~ :not([hidden])":{"border-style":"none"}})},divideColor:({matchUtilities:e,theme:t,corePlugins:n})=>{e({divide:i=>n("divideOpacity")?{"& > :not([hidden]) ~ :not([hidden])":(0,qo.default)({color:i,property:"border-color",variable:"--tw-divide-opacity"})}:{"& > :not([hidden]) ~ :not([hidden])":{"border-color":(0,Ps.default)(i)}}},{values:(({DEFAULT:i,...o})=>o)((0,ko.default)(t("divideColor"))),type:["color","any"]})},divideOpacity:({matchUtilities:e,theme:t})=>{e({"divide-opacity":n=>({"& > :not([hidden]) ~ :not([hidden])":{"--tw-divide-opacity":n}})},{values:t("divideOpacity")})},placeSelf:({addUtilities:e})=>{e({".place-self-auto":{"place-self":"auto"},".place-self-start":{"place-self":"start"},".place-self-end":{"place-self":"end"},".place-self-center":{"place-self":"center"},".place-self-stretch":{"place-self":"stretch"}})},alignSelf:({addUtilities:e})=>{e({".self-auto":{"align-self":"auto"},".self-start":{"align-self":"flex-start"},".self-end":{"align-self":"flex-end"},".self-center":{"align-self":"center"},".self-stretch":{"align-self":"stretch"},".self-baseline":{"align-self":"baseline"}})},justifySelf:({addUtilities:e})=>{e({".justify-self-auto":{"justify-self":"auto"},".justify-self-start":{"justify-self":"start"},".justify-self-end":{"justify-self":"end"},".justify-self-center":{"justify-self":"center"},".justify-self-stretch":{"justify-self":"stretch"}})},overflow:({addUtilities:e})=>{e({".overflow-auto":{overflow:"auto"},".overflow-hidden":{overflow:"hidden"},".overflow-clip":{overflow:"clip"},".overflow-visible":{overflow:"visible"},".overflow-scroll":{overflow:"scroll"},".overflow-x-auto":{"overflow-x":"auto"},".overflow-y-auto":{"overflow-y":"auto"},".overflow-x-hidden":{"overflow-x":"hidden"},".overflow-y-hidden":{"overflow-y":"hidden"},".overflow-x-clip":{"overflow-x":"clip"},".overflow-y-clip":{"overflow-y":"clip"},".overflow-x-visible":{"overflow-x":"visible"},".overflow-y-visible":{"overflow-y":"visible"},".overflow-x-scroll":{"overflow-x":"scroll"},".overflow-y-scroll":{"overflow-y":"scroll"}})},overscrollBehavior:({addUtilities:e})=>{e({".overscroll-auto":{"overscroll-behavior":"auto"},".overscroll-contain":{"overscroll-behavior":"contain"},".overscroll-none":{"overscroll-behavior":"none"},".overscroll-y-auto":{"overscroll-behavior-y":"auto"},".overscroll-y-contain":{"overscroll-behavior-y":"contain"},".overscroll-y-none":{"overscroll-behavior-y":"none"},".overscroll-x-auto":{"overscroll-behavior-x":"auto"},".overscroll-x-contain":{"overscroll-behavior-x":"contain"},".overscroll-x-none":{"overscroll-behavior-x":"none"}})},scrollBehavior:({addUtilities:e})=>{e({".scroll-auto":{"scroll-behavior":"auto"},".scroll-smooth":{"scroll-behavior":"smooth"}})},textOverflow:({addUtilities:e})=>{e({".truncate":{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"},".overflow-ellipsis":{"text-overflow":"ellipsis"},".text-ellipsis":{"text-overflow":"ellipsis"},".text-clip":{"text-overflow":"clip"}})},hyphens:({addUtilities:e})=>{e({".hyphens-none":{hyphens:"none"},".hyphens-manual":{hyphens:"manual"},".hyphens-auto":{hyphens:"auto"}})},whitespace:({addUtilities:e})=>{e({".whitespace-normal":{"white-space":"normal"},".whitespace-nowrap":{"white-space":"nowrap"},".whitespace-pre":{"white-space":"pre"},".whitespace-pre-line":{"white-space":"pre-line"},".whitespace-pre-wrap":{"white-space":"pre-wrap"},".whitespace-break-spaces":{"white-space":"break-spaces"}})},textWrap:({addUtilities:e})=>{e({".text-wrap":{"text-wrap":"wrap"},".text-nowrap":{"text-wrap":"nowrap"},".text-balance":{"text-wrap":"balance"},".text-pretty":{"text-wrap":"pretty"}})},wordBreak:({addUtilities:e})=>{e({".break-normal":{"overflow-wrap":"normal","word-break":"normal"},".break-words":{"overflow-wrap":"break-word"},".break-all":{"word-break":"break-all"},".break-keep":{"word-break":"keep-all"}})},borderRadius:(0,cn.default)("borderRadius",[["rounded",["border-radius"]],[["rounded-s",["border-start-start-radius","border-end-start-radius"]],["rounded-e",["border-start-end-radius","border-end-end-radius"]],["rounded-t",["border-top-left-radius","border-top-right-radius"]],["rounded-r",["border-top-right-radius","border-bottom-right-radius"]],["rounded-b",["border-bottom-right-radius","border-bottom-left-radius"]],["rounded-l",["border-top-left-radius","border-bottom-left-radius"]]],[["rounded-ss",["border-start-start-radius"]],["rounded-se",["border-start-end-radius"]],["rounded-ee",["border-end-end-radius"]],["rounded-es",["border-end-start-radius"]],["rounded-tl",["border-top-left-radius"]],["rounded-tr",["border-top-right-radius"]],["rounded-br",["border-bottom-right-radius"]],["rounded-bl",["border-bottom-left-radius"]]]]),borderWidth:(0,cn.default)("borderWidth",[["border",[["@defaults border-width",{}],"border-width"]],[["border-x",[["@defaults border-width",{}],"border-left-width","border-right-width"]],["border-y",[["@defaults border-width",{}],"border-top-width","border-bottom-width"]]],[["border-s",[["@defaults border-width",{}],"border-inline-start-width"]],["border-e",[["@defaults border-width",{}],"border-inline-end-width"]],["border-t",[["@defaults border-width",{}],"border-top-width"]],["border-r",[["@defaults border-width",{}],"border-right-width"]],["border-b",[["@defaults border-width",{}],"border-bottom-width"]],["border-l",[["@defaults border-width",{}],"border-left-width"]]]],{type:["line-width","length"]}),borderStyle:({addUtilities:e})=>{e({".border-solid":{"border-style":"solid"},".border-dashed":{"border-style":"dashed"},".border-dotted":{"border-style":"dotted"},".border-double":{"border-style":"double"},".border-hidden":{"border-style":"hidden"},".border-none":{"border-style":"none"}})},borderColor:({matchUtilities:e,theme:t,corePlugins:n})=>{e({border:i=>n("borderOpacity")?(0,qo.default)({color:i,property:"border-color",variable:"--tw-border-opacity"}):{"border-color":(0,Ps.default)(i)}},{values:(({DEFAULT:i,...o})=>o)((0,ko.default)(t("borderColor"))),type:["color","any"]}),e({"border-x":i=>n("borderOpacity")?(0,qo.default)({color:i,property:["border-left-color","border-right-color"],variable:"--tw-border-opacity"}):{"border-left-color":(0,Ps.default)(i),"border-right-color":(0,Ps.default)(i)},"border-y":i=>n("borderOpacity")?(0,qo.default)({color:i,property:["border-top-color","border-bottom-color"],variable:"--tw-border-opacity"}):{"border-top-color":(0,Ps.default)(i),"border-bottom-color":(0,Ps.default)(i)}},{values:(({DEFAULT:i,...o})=>o)((0,ko.default)(t("borderColor"))),type:["color","any"]}),e({"border-s":i=>n("borderOpacity")?(0,qo.default)({color:i,property:"border-inline-start-color",variable:"--tw-border-opacity"}):{"border-inline-start-color":(0,Ps.default)(i)},"border-e":i=>n("borderOpacity")?(0,qo.default)({color:i,property:"border-inline-end-color",variable:"--tw-border-opacity"}):{"border-inline-end-color":(0,Ps.default)(i)},"border-t":i=>n("borderOpacity")?(0,qo.default)({color:i,property:"border-top-color",variable:"--tw-border-opacity"}):{"border-top-color":(0,Ps.default)(i)},"border-r":i=>n("borderOpacity")?(0,qo.default)({color:i,property:"border-right-color",variable:"--tw-border-opacity"}):{"border-right-color":(0,Ps.default)(i)},"border-b":i=>n("borderOpacity")?(0,qo.default)({color:i,property:"border-bottom-color",variable:"--tw-border-opacity"}):{"border-bottom-color":(0,Ps.default)(i)},"border-l":i=>n("borderOpacity")?(0,qo.default)({color:i,property:"border-left-color",variable:"--tw-border-opacity"}):{"border-left-color":(0,Ps.default)(i)}},{values:(({DEFAULT:i,...o})=>o)((0,ko.default)(t("borderColor"))),type:["color","any"]})},borderOpacity:(0,cn.default)("borderOpacity",[["border-opacity",["--tw-border-opacity"]]]),backgroundColor:({matchUtilities:e,theme:t,corePlugins:n})=>{e({bg:i=>n("backgroundOpacity")?(0,qo.default)({color:i,property:"background-color",variable:"--tw-bg-opacity"}):{"background-color":(0,Ps.default)(i)}},{values:(0,ko.default)(t("backgroundColor")),type:["color","any"]})},backgroundOpacity:(0,cn.default)("backgroundOpacity",[["bg-opacity",["--tw-bg-opacity"]]]),backgroundImage:(0,cn.default)("backgroundImage",[["bg",["background-image"]]],{type:["lookup","image","url"]}),gradientColorStops:(()=>{function e(t){return(0,qo.withAlphaValue)(t,0,"rgb(255 255 255 / 0)")}return function({matchUtilities:t,theme:n,addDefaults:i}){i("gradient-color-stops",{"--tw-gradient-from-position":" ","--tw-gradient-via-position":" ","--tw-gradient-to-position":" "});let o={values:(0,ko.default)(n("gradientColorStops")),type:["color","any"]},r={values:n("gradientColorStopPositions"),type:["length","percentage"]};t({from:c=>{let s=e(c);return{"@defaults gradient-color-stops":{},"--tw-gradient-from":`${(0,Ps.default)(c)} var(--tw-gradient-from-position)`,"--tw-gradient-to":`${s} var(--tw-gradient-to-position)`,"--tw-gradient-stops":"var(--tw-gradient-from), var(--tw-gradient-to)"}}},o),t({from:c=>({"--tw-gradient-from-position":c})},r),t({via:c=>{let s=e(c);return{"@defaults gradient-color-stops":{},"--tw-gradient-to":`${s} var(--tw-gradient-to-position)`,"--tw-gradient-stops":`var(--tw-gradient-from), ${(0,Ps.default)(c)} var(--tw-gradient-via-position), var(--tw-gradient-to)`}}},o),t({via:c=>({"--tw-gradient-via-position":c})},r),t({to:c=>({"@defaults gradient-color-stops":{},"--tw-gradient-to":`${(0,Ps.default)(c)} var(--tw-gradient-to-position)`})},o),t({to:c=>({"--tw-gradient-to-position":c})},r)}})(),boxDecorationBreak:({addUtilities:e})=>{e({".decoration-slice":{"box-decoration-break":"slice"},".decoration-clone":{"box-decoration-break":"clone"},".box-decoration-slice":{"box-decoration-break":"slice"},".box-decoration-clone":{"box-decoration-break":"clone"}})},backgroundSize:(0,cn.default)("backgroundSize",[["bg",["background-size"]]],{type:["lookup","length","percentage","size"]}),backgroundAttachment:({addUtilities:e})=>{e({".bg-fixed":{"background-attachment":"fixed"},".bg-local":{"background-attachment":"local"},".bg-scroll":{"background-attachment":"scroll"}})},backgroundClip:({addUtilities:e})=>{e({".bg-clip-border":{"background-clip":"border-box"},".bg-clip-padding":{"background-clip":"padding-box"},".bg-clip-content":{"background-clip":"content-box"},".bg-clip-text":{"background-clip":"text"}})},backgroundPosition:(0,cn.default)("backgroundPosition",[["bg",["background-position"]]],{type:["lookup",["position",{preferOnConflict:!0}]]}),backgroundRepeat:({addUtilities:e})=>{e({".bg-repeat":{"background-repeat":"repeat"},".bg-no-repeat":{"background-repeat":"no-repeat"},".bg-repeat-x":{"background-repeat":"repeat-x"},".bg-repeat-y":{"background-repeat":"repeat-y"},".bg-repeat-round":{"background-repeat":"round"},".bg-repeat-space":{"background-repeat":"space"}})},backgroundOrigin:({addUtilities:e})=>{e({".bg-origin-border":{"background-origin":"border-box"},".bg-origin-padding":{"background-origin":"padding-box"},".bg-origin-content":{"background-origin":"content-box"}})},fill:({matchUtilities:e,theme:t})=>{e({fill:n=>({fill:(0,Ps.default)(n)})},{values:(0,ko.default)(t("fill")),type:["color","any"]})},stroke:({matchUtilities:e,theme:t})=>{e({stroke:n=>({stroke:(0,Ps.default)(n)})},{values:(0,ko.default)(t("stroke")),type:["color","url","any"]})},strokeWidth:(0,cn.default)("strokeWidth",[["stroke",["stroke-width"]]],{type:["length","number","percentage"]}),objectFit:({addUtilities:e})=>{e({".object-contain":{"object-fit":"contain"},".object-cover":{"object-fit":"cover"},".object-fill":{"object-fit":"fill"},".object-none":{"object-fit":"none"},".object-scale-down":{"object-fit":"scale-down"}})},objectPosition:(0,cn.default)("objectPosition",[["object",["object-position"]]]),padding:(0,cn.default)("padding",[["p",["padding"]],[["px",["padding-left","padding-right"]],["py",["padding-top","padding-bottom"]]],[["ps",["padding-inline-start"]],["pe",["padding-inline-end"]],["pt",["padding-top"]],["pr",["padding-right"]],["pb",["padding-bottom"]],["pl",["padding-left"]]]]),textAlign:({addUtilities:e})=>{e({".text-left":{"text-align":"left"},".text-center":{"text-align":"center"},".text-right":{"text-align":"right"},".text-justify":{"text-align":"justify"},".text-start":{"text-align":"start"},".text-end":{"text-align":"end"}})},textIndent:(0,cn.default)("textIndent",[["indent",["text-indent"]]],{supportsNegativeValues:!0}),verticalAlign:({addUtilities:e,matchUtilities:t})=>{e({".align-baseline":{"vertical-align":"baseline"},".align-top":{"vertical-align":"top"},".align-middle":{"vertical-align":"middle"},".align-bottom":{"vertical-align":"bottom"},".align-text-top":{"vertical-align":"text-top"},".align-text-bottom":{"vertical-align":"text-bottom"},".align-sub":{"vertical-align":"sub"},".align-super":{"vertical-align":"super"}}),t({align:n=>({"vertical-align":n})})},fontFamily:({matchUtilities:e,theme:t})=>{e({font:n=>{let[i,o={}]=Array.isArray(n)&&(0,Wce.default)(n[1])?n:[n],{fontFeatureSettings:r,fontVariationSettings:c}=o;return{"font-family":Array.isArray(i)?i.join(", "):i,...r===void 0?{}:{"font-feature-settings":r},...c===void 0?{}:{"font-variation-settings":c}}}},{values:t("fontFamily"),type:["lookup","generic-name","family-name"]})},fontSize:({matchUtilities:e,theme:t})=>{e({text:(n,{modifier:i})=>{let[o,r]=Array.isArray(n)?n:[n];if(i)return{"font-size":o,"line-height":i};let{lineHeight:c,letterSpacing:s,fontWeight:u}=(0,Wce.default)(r)?r:{lineHeight:r};return{"font-size":o,...c===void 0?{}:{"line-height":c},...s===void 0?{}:{"letter-spacing":s},...u===void 0?{}:{"font-weight":u}}}},{values:t("fontSize"),modifiers:t("lineHeight"),type:["absolute-size","relative-size","length","percentage"]})},fontWeight:(0,cn.default)("fontWeight",[["font",["fontWeight"]]],{type:["lookup","number","any"]}),textTransform:({addUtilities:e})=>{e({".uppercase":{"text-transform":"uppercase"},".lowercase":{"text-transform":"lowercase"},".capitalize":{"text-transform":"capitalize"},".normal-case":{"text-transform":"none"}})},fontStyle:({addUtilities:e})=>{e({".italic":{"font-style":"italic"},".not-italic":{"font-style":"normal"}})},fontVariantNumeric:({addDefaults:e,addUtilities:t})=>{let n="var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)";e("font-variant-numeric",{"--tw-ordinal":" ","--tw-slashed-zero":" ","--tw-numeric-figure":" ","--tw-numeric-spacing":" ","--tw-numeric-fraction":" "}),t({".normal-nums":{"font-variant-numeric":"normal"},".ordinal":{"@defaults font-variant-numeric":{},"--tw-ordinal":"ordinal","font-variant-numeric":n},".slashed-zero":{"@defaults font-variant-numeric":{},"--tw-slashed-zero":"slashed-zero","font-variant-numeric":n},".lining-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-figure":"lining-nums","font-variant-numeric":n},".oldstyle-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-figure":"oldstyle-nums","font-variant-numeric":n},".proportional-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-spacing":"proportional-nums","font-variant-numeric":n},".tabular-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-spacing":"tabular-nums","font-variant-numeric":n},".diagonal-fractions":{"@defaults font-variant-numeric":{},"--tw-numeric-fraction":"diagonal-fractions","font-variant-numeric":n},".stacked-fractions":{"@defaults font-variant-numeric":{},"--tw-numeric-fraction":"stacked-fractions","font-variant-numeric":n}})},lineHeight:(0,cn.default)("lineHeight",[["leading",["lineHeight"]]]),letterSpacing:(0,cn.default)("letterSpacing",[["tracking",["letterSpacing"]]],{supportsNegativeValues:!0}),textColor:({matchUtilities:e,theme:t,corePlugins:n})=>{e({text:i=>n("textOpacity")?(0,qo.default)({color:i,property:"color",variable:"--tw-text-opacity"}):{color:(0,Ps.default)(i)}},{values:(0,ko.default)(t("textColor")),type:["color","any"]})},textOpacity:(0,cn.default)("textOpacity",[["text-opacity",["--tw-text-opacity"]]]),textDecoration:({addUtilities:e})=>{e({".underline":{"text-decoration-line":"underline"},".overline":{"text-decoration-line":"overline"},".line-through":{"text-decoration-line":"line-through"},".no-underline":{"text-decoration-line":"none"}})},textDecorationColor:({matchUtilities:e,theme:t})=>{e({decoration:n=>({"text-decoration-color":(0,Ps.default)(n)})},{values:(0,ko.default)(t("textDecorationColor")),type:["color","any"]})},textDecorationStyle:({addUtilities:e})=>{e({".decoration-solid":{"text-decoration-style":"solid"},".decoration-double":{"text-decoration-style":"double"},".decoration-dotted":{"text-decoration-style":"dotted"},".decoration-dashed":{"text-decoration-style":"dashed"},".decoration-wavy":{"text-decoration-style":"wavy"}})},textDecorationThickness:(0,cn.default)("textDecorationThickness",[["decoration",["text-decoration-thickness"]]],{type:["length","percentage"]}),textUnderlineOffset:(0,cn.default)("textUnderlineOffset",[["underline-offset",["text-underline-offset"]]],{type:["length","percentage","any"]}),fontSmoothing:({addUtilities:e})=>{e({".antialiased":{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"},".subpixel-antialiased":{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}})},placeholderColor:({matchUtilities:e,theme:t,corePlugins:n})=>{e({placeholder:i=>n("placeholderOpacity")?{"&::placeholder":(0,qo.default)({color:i,property:"color",variable:"--tw-placeholder-opacity"})}:{"&::placeholder":{color:(0,Ps.default)(i)}}},{values:(0,ko.default)(t("placeholderColor")),type:["color","any"]})},placeholderOpacity:({matchUtilities:e,theme:t})=>{e({"placeholder-opacity":n=>({"&::placeholder":{"--tw-placeholder-opacity":n}})},{values:t("placeholderOpacity")})},caretColor:({matchUtilities:e,theme:t})=>{e({caret:n=>({"caret-color":(0,Ps.default)(n)})},{values:(0,ko.default)(t("caretColor")),type:["color","any"]})},accentColor:({matchUtilities:e,theme:t})=>{e({accent:n=>({"accent-color":(0,Ps.default)(n)})},{values:(0,ko.default)(t("accentColor")),type:["color","any"]})},opacity:(0,cn.default)("opacity",[["opacity",["opacity"]]]),backgroundBlendMode:({addUtilities:e})=>{e({".bg-blend-normal":{"background-blend-mode":"normal"},".bg-blend-multiply":{"background-blend-mode":"multiply"},".bg-blend-screen":{"background-blend-mode":"screen"},".bg-blend-overlay":{"background-blend-mode":"overlay"},".bg-blend-darken":{"background-blend-mode":"darken"},".bg-blend-lighten":{"background-blend-mode":"lighten"},".bg-blend-color-dodge":{"background-blend-mode":"color-dodge"},".bg-blend-color-burn":{"background-blend-mode":"color-burn"},".bg-blend-hard-light":{"background-blend-mode":"hard-light"},".bg-blend-soft-light":{"background-blend-mode":"soft-light"},".bg-blend-difference":{"background-blend-mode":"difference"},".bg-blend-exclusion":{"background-blend-mode":"exclusion"},".bg-blend-hue":{"background-blend-mode":"hue"},".bg-blend-saturation":{"background-blend-mode":"saturation"},".bg-blend-color":{"background-blend-mode":"color"},".bg-blend-luminosity":{"background-blend-mode":"luminosity"}})},mixBlendMode:({addUtilities:e})=>{e({".mix-blend-normal":{"mix-blend-mode":"normal"},".mix-blend-multiply":{"mix-blend-mode":"multiply"},".mix-blend-screen":{"mix-blend-mode":"screen"},".mix-blend-overlay":{"mix-blend-mode":"overlay"},".mix-blend-darken":{"mix-blend-mode":"darken"},".mix-blend-lighten":{"mix-blend-mode":"lighten"},".mix-blend-color-dodge":{"mix-blend-mode":"color-dodge"},".mix-blend-color-burn":{"mix-blend-mode":"color-burn"},".mix-blend-hard-light":{"mix-blend-mode":"hard-light"},".mix-blend-soft-light":{"mix-blend-mode":"soft-light"},".mix-blend-difference":{"mix-blend-mode":"difference"},".mix-blend-exclusion":{"mix-blend-mode":"exclusion"},".mix-blend-hue":{"mix-blend-mode":"hue"},".mix-blend-saturation":{"mix-blend-mode":"saturation"},".mix-blend-color":{"mix-blend-mode":"color"},".mix-blend-luminosity":{"mix-blend-mode":"luminosity"},".mix-blend-plus-darker":{"mix-blend-mode":"plus-darker"},".mix-blend-plus-lighter":{"mix-blend-mode":"plus-lighter"}})},boxShadow:(()=>{let e=(0,$ze.default)("boxShadow"),t=["var(--tw-ring-offset-shadow, 0 0 #0000)","var(--tw-ring-shadow, 0 0 #0000)","var(--tw-shadow)"].join(", ");return function({matchUtilities:n,addDefaults:i,theme:o}){i("box-shadow",{"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000"}),n({shadow:r=>{r=e(r);let c=(0,Vce.parseBoxShadowValue)(r);for(let s of c)s.valid&&(s.color="var(--tw-shadow-color)");return{"@defaults box-shadow":{},"--tw-shadow":r==="none"?"0 0 #0000":r,"--tw-shadow-colored":r==="none"?"0 0 #0000":(0,Vce.formatBoxShadowValue)(c),"box-shadow":t}}},{values:o("boxShadow"),type:["shadow"]})}})(),boxShadowColor:({matchUtilities:e,theme:t})=>{e({shadow:n=>({"--tw-shadow-color":(0,Ps.default)(n),"--tw-shadow":"var(--tw-shadow-colored)"})},{values:(0,ko.default)(t("boxShadowColor")),type:["color","any"]})},outlineStyle:({addUtilities:e})=>{e({".outline-none":{outline:"2px solid transparent","outline-offset":"2px"},".outline":{"outline-style":"solid"},".outline-dashed":{"outline-style":"dashed"},".outline-dotted":{"outline-style":"dotted"},".outline-double":{"outline-style":"double"}})},outlineWidth:(0,cn.default)("outlineWidth",[["outline",["outline-width"]]],{type:["length","number","percentage"]}),outlineOffset:(0,cn.default)("outlineOffset",[["outline-offset",["outline-offset"]]],{type:["length","number","percentage","any"],supportsNegativeValues:!0}),outlineColor:({matchUtilities:e,theme:t})=>{e({outline:n=>({"outline-color":(0,Ps.default)(n)})},{values:(0,ko.default)(t("outlineColor")),type:["color","any"]})},ringWidth:({matchUtilities:e,addDefaults:t,addUtilities:n,theme:i,config:o})=>{let r=(()=>{var c,s;if((0,$B.flagEnabled)(o(),"respectDefaultRingColorOpacity"))return i("ringColor.DEFAULT");let u=i("ringOpacity.DEFAULT","0.5");return!((c=i("ringColor"))===null||c===void 0)&&c.DEFAULT?(0,qo.withAlphaValue)((s=i("ringColor"))===null||s===void 0?void 0:s.DEFAULT,u,`rgb(147 197 253 / ${u})`):`rgb(147 197 253 / ${u})`})();t("ring-width",{"--tw-ring-inset":" ","--tw-ring-offset-width":i("ringOffsetWidth.DEFAULT","0px"),"--tw-ring-offset-color":i("ringOffsetColor.DEFAULT","#fff"),"--tw-ring-color":r,"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000"}),e({ring:c=>({"@defaults ring-width":{},"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${c} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,"box-shadow":["var(--tw-ring-offset-shadow)","var(--tw-ring-shadow)","var(--tw-shadow, 0 0 #0000)"].join(", ")})},{values:i("ringWidth"),type:"length"}),n({".ring-inset":{"@defaults ring-width":{},"--tw-ring-inset":"inset"}})},ringColor:({matchUtilities:e,theme:t,corePlugins:n})=>{e({ring:i=>n("ringOpacity")?(0,qo.default)({color:i,property:"--tw-ring-color",variable:"--tw-ring-opacity"}):{"--tw-ring-color":(0,Ps.default)(i)}},{values:Object.fromEntries(Object.entries((0,ko.default)(t("ringColor"))).filter(([i])=>i!=="DEFAULT")),type:["color","any"]})},ringOpacity:e=>{let{config:t}=e;return(0,cn.default)("ringOpacity",[["ring-opacity",["--tw-ring-opacity"]]],{filterDefault:!(0,$B.flagEnabled)(t(),"respectDefaultRingColorOpacity")})(e)},ringOffsetWidth:(0,cn.default)("ringOffsetWidth",[["ring-offset",["--tw-ring-offset-width"]]],{type:"length"}),ringOffsetColor:({matchUtilities:e,theme:t})=>{e({"ring-offset":n=>({"--tw-ring-offset-color":(0,Ps.default)(n)})},{values:(0,ko.default)(t("ringOffsetColor")),type:["color","any"]})},blur:({matchUtilities:e,theme:t})=>{e({blur:n=>({"--tw-blur":n.trim()===""?" ":`blur(${n})`,"@defaults filter":{},filter:Yu})},{values:t("blur")})},brightness:({matchUtilities:e,theme:t})=>{e({brightness:n=>({"--tw-brightness":`brightness(${n})`,"@defaults filter":{},filter:Yu})},{values:t("brightness")})},contrast:({matchUtilities:e,theme:t})=>{e({contrast:n=>({"--tw-contrast":`contrast(${n})`,"@defaults filter":{},filter:Yu})},{values:t("contrast")})},dropShadow:({matchUtilities:e,theme:t})=>{e({"drop-shadow":n=>({"--tw-drop-shadow":Array.isArray(n)?n.map(i=>`drop-shadow(${i})`).join(" "):`drop-shadow(${n})`,"@defaults filter":{},filter:Yu})},{values:t("dropShadow")})},grayscale:({matchUtilities:e,theme:t})=>{e({grayscale:n=>({"--tw-grayscale":`grayscale(${n})`,"@defaults filter":{},filter:Yu})},{values:t("grayscale")})},hueRotate:({matchUtilities:e,theme:t})=>{e({"hue-rotate":n=>({"--tw-hue-rotate":`hue-rotate(${n})`,"@defaults filter":{},filter:Yu})},{values:t("hueRotate"),supportsNegativeValues:!0})},invert:({matchUtilities:e,theme:t})=>{e({invert:n=>({"--tw-invert":`invert(${n})`,"@defaults filter":{},filter:Yu})},{values:t("invert")})},saturate:({matchUtilities:e,theme:t})=>{e({saturate:n=>({"--tw-saturate":`saturate(${n})`,"@defaults filter":{},filter:Yu})},{values:t("saturate")})},sepia:({matchUtilities:e,theme:t})=>{e({sepia:n=>({"--tw-sepia":`sepia(${n})`,"@defaults filter":{},filter:Yu})},{values:t("sepia")})},filter:({addDefaults:e,addUtilities:t})=>{e("filter",{"--tw-blur":" ","--tw-brightness":" ","--tw-contrast":" ","--tw-grayscale":" ","--tw-hue-rotate":" ","--tw-invert":" ","--tw-saturate":" ","--tw-sepia":" ","--tw-drop-shadow":" "}),t({".filter":{"@defaults filter":{},filter:Yu},".filter-none":{filter:"none"}})},backdropBlur:({matchUtilities:e,theme:t})=>{e({"backdrop-blur":n=>({"--tw-backdrop-blur":n.trim()===""?" ":`blur(${n})`,"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Za,"backdrop-filter":Za})},{values:t("backdropBlur")})},backdropBrightness:({matchUtilities:e,theme:t})=>{e({"backdrop-brightness":n=>({"--tw-backdrop-brightness":`brightness(${n})`,"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Za,"backdrop-filter":Za})},{values:t("backdropBrightness")})},backdropContrast:({matchUtilities:e,theme:t})=>{e({"backdrop-contrast":n=>({"--tw-backdrop-contrast":`contrast(${n})`,"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Za,"backdrop-filter":Za})},{values:t("backdropContrast")})},backdropGrayscale:({matchUtilities:e,theme:t})=>{e({"backdrop-grayscale":n=>({"--tw-backdrop-grayscale":`grayscale(${n})`,"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Za,"backdrop-filter":Za})},{values:t("backdropGrayscale")})},backdropHueRotate:({matchUtilities:e,theme:t})=>{e({"backdrop-hue-rotate":n=>({"--tw-backdrop-hue-rotate":`hue-rotate(${n})`,"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Za,"backdrop-filter":Za})},{values:t("backdropHueRotate"),supportsNegativeValues:!0})},backdropInvert:({matchUtilities:e,theme:t})=>{e({"backdrop-invert":n=>({"--tw-backdrop-invert":`invert(${n})`,"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Za,"backdrop-filter":Za})},{values:t("backdropInvert")})},backdropOpacity:({matchUtilities:e,theme:t})=>{e({"backdrop-opacity":n=>({"--tw-backdrop-opacity":`opacity(${n})`,"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Za,"backdrop-filter":Za})},{values:t("backdropOpacity")})},backdropSaturate:({matchUtilities:e,theme:t})=>{e({"backdrop-saturate":n=>({"--tw-backdrop-saturate":`saturate(${n})`,"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Za,"backdrop-filter":Za})},{values:t("backdropSaturate")})},backdropSepia:({matchUtilities:e,theme:t})=>{e({"backdrop-sepia":n=>({"--tw-backdrop-sepia":`sepia(${n})`,"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Za,"backdrop-filter":Za})},{values:t("backdropSepia")})},backdropFilter:({addDefaults:e,addUtilities:t})=>{e("backdrop-filter",{"--tw-backdrop-blur":" ","--tw-backdrop-brightness":" ","--tw-backdrop-contrast":" ","--tw-backdrop-grayscale":" ","--tw-backdrop-hue-rotate":" ","--tw-backdrop-invert":" ","--tw-backdrop-opacity":" ","--tw-backdrop-saturate":" ","--tw-backdrop-sepia":" "}),t({".backdrop-filter":{"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Za,"backdrop-filter":Za},".backdrop-filter-none":{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}})},transitionProperty:({matchUtilities:e,theme:t})=>{let n=t("transitionTimingFunction.DEFAULT"),i=t("transitionDuration.DEFAULT");e({transition:o=>({"transition-property":o,...o==="none"?{}:{"transition-timing-function":n,"transition-duration":i}})},{values:t("transitionProperty")})},transitionDelay:(0,cn.default)("transitionDelay",[["delay",["transitionDelay"]]]),transitionDuration:(0,cn.default)("transitionDuration",[["duration",["transitionDuration"]]],{filterDefault:!0}),transitionTimingFunction:(0,cn.default)("transitionTimingFunction",[["ease",["transitionTimingFunction"]]],{filterDefault:!0}),willChange:(0,cn.default)("willChange",[["will-change",["will-change"]]]),contain:({addDefaults:e,addUtilities:t})=>{let n="var(--tw-contain-size) var(--tw-contain-layout) var(--tw-contain-paint) var(--tw-contain-style)";e("contain",{"--tw-contain-size":" ","--tw-contain-layout":" ","--tw-contain-paint":" ","--tw-contain-style":" "}),t({".contain-none":{contain:"none"},".contain-content":{contain:"content"},".contain-strict":{contain:"strict"},".contain-size":{"@defaults contain":{},"--tw-contain-size":"size",contain:n},".contain-inline-size":{"@defaults contain":{},"--tw-contain-size":"inline-size",contain:n},".contain-layout":{"@defaults contain":{},"--tw-contain-layout":"layout",contain:n},".contain-paint":{"@defaults contain":{},"--tw-contain-paint":"paint",contain:n},".contain-style":{"@defaults contain":{},"--tw-contain-style":"style",contain:n}})},content:(0,cn.default)("content",[["content",["--tw-content",["content","var(--tw-content)"]]]]),forcedColorAdjust:({addUtilities:e})=>{e({".forced-color-adjust-auto":{"forced-color-adjust":"auto"},".forced-color-adjust-none":{"forced-color-adjust":"none"}})}}});var Gf=Le(BB=>{"use strict";Object.defineProperty(BB,"__esModule",{value:!0});function Fze(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Fze(BB,{env:function(){return jze},contextMap:function(){return Uze},configContextMap:function(){return qze},contextSourcesMap:function(){return Wze},sourceHashMap:function(){return Vze},NOT_ON_DEMAND:function(){return Kze},NONE:function(){return Gze},resolveDebug:function(){return Zce}});var jze=typeof process<"u"?{NODE_ENV:process.env.NODE_ENV,DEBUG:Zce(process.env.DEBUG)}:{NODE_ENV:"production",DEBUG:!1},Uze=new Map,qze=new Map,Wze=new Map,Vze=new Map,Kze=new String("*"),Gze=Symbol("__NONE__");function Zce(e){if(e===void 0)return!1;if(e==="true"||e==="1")return!0;if(e==="false"||e==="0")return!1;if(e==="*")return!0;let t=e.split(",").map(n=>n.split(":")[0]);return t.includes("-tailwindcss")?!1:!!t.includes("tailwindcss")}});var FB=Le(OB=>{"use strict";Object.defineProperty(OB,"__esModule",{value:!0});Object.defineProperty(OB,"default",{enumerable:!0,get:function(){return Zze}});var Jce=new Map([["{","}"],["[","]"],["(",")"]]),zce=new Map(Array.from(Jce.entries()).map(([e,t])=>[t,e])),Xze=new Set(['"',"'","`"]);function Zze(e){let t=[],n=!1;for(let i=0;i<e.length;i++){let o=e[i];if(o===":"&&!n&&t.length===0)return!1;if(Xze.has(o)&&e[i-1]!=="\\"&&(n=!n),!n&&e[i-1]!=="\\"){if(Jce.has(o))t.push(o);else if(zce.has(o)){let r=zce.get(o);if(t.length<=0||t.pop()!==r)return!1}}}return!(t.length>0)}});var qT=Le(qB=>{"use strict";Object.defineProperty(qB,"__esModule",{value:!0});Object.defineProperty(qB,"movePseudos",{enumerable:!0,get:function(){return zze}});var jB={"::after":["terminal","jumpable"],"::backdrop":["terminal","jumpable"],"::before":["terminal","jumpable"],"::cue":["terminal"],"::cue-region":["terminal"],"::first-letter":["terminal","jumpable"],"::first-line":["terminal","jumpable"],"::grammar-error":["terminal"],"::marker":["terminal","jumpable"],"::part":["terminal","actionable"],"::placeholder":["terminal","jumpable"],"::selection":["terminal","jumpable"],"::slotted":["terminal"],"::spelling-error":["terminal"],"::target-text":["terminal"],"::file-selector-button":["terminal","actionable"],"::deep":["actionable"],"::v-deep":["actionable"],"::ng-deep":["actionable"],":after":["terminal","jumpable"],":before":["terminal","jumpable"],":first-letter":["terminal","jumpable"],":first-line":["terminal","jumpable"],":where":[],":is":[],":has":[],__default__:["terminal","actionable"]};function zze(e){let[t]=Qce(e);return t.forEach(([n,i])=>n.removeChild(i)),e.nodes.push(...t.map(([,n])=>n)),e}function Qce(e){let t=[],n=null;for(let o of e.nodes)if(o.type==="combinator")t=t.filter(([,r])=>UB(r).includes("jumpable")),n=null;else if(o.type==="pseudo"){Jze(o)?(n=o,t.push([e,o,null])):n&&Qze(o,n)?t.push([e,o,n]):n=null;var i;for(let r of(i=o.nodes)!==null&&i!==void 0?i:[]){let[c,s]=Qce(r);n=s||n,t.push(...c)}}return[t,n]}function Yce(e){return e.value.startsWith("::")||jB[e.value]!==void 0}function Jze(e){return Yce(e)&&UB(e).includes("terminal")}function Qze(e,t){return e.type!=="pseudo"||Yce(e)?!1:UB(t).includes("actionable")}function UB(e){var t;return(t=jB[e.value])!==null&&t!==void 0?t:jB.__default__}});var KB=Le(VB=>{"use strict";Object.defineProperty(VB,"__esModule",{value:!0});function Yze(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Yze(VB,{formatVariantSelector:function(){return rue},eliminateIrrelevantSelectors:function(){return nue},finalizeSelector:function(){return sJe},handleMergePseudo:function(){return iue}});var ep=WT(Qu()),eJe=WT(LT()),tue=WT(gm()),tJe=WT(BT()),rJe=qT(),nJe=hf();function WT(e){return e&&e.__esModule?e:{default:e}}var WB=":merge";function rue(e,{context:t,candidate:n}){var i;let o=(i=t?.tailwindConfig.prefix)!==null&&i!==void 0?i:"",r=e.map(s=>{let u=(0,ep.default)().astSync(s.format);return{...s,ast:s.respectPrefix?(0,tJe.default)(o,u):u}}),c=ep.default.root({nodes:[ep.default.selector({nodes:[ep.default.className({value:(0,tue.default)(n)})]})]});for(let{ast:s}of r)[c,s]=iue(c,s),s.walkNesting(u=>u.replaceWith(...c.nodes[0].nodes)),c=s;return c}function eue(e){let t=[];for(;e.prev()&&e.prev().type!=="combinator";)e=e.prev();for(;e&&e.type!=="combinator";)t.push(e),e=e.next();return t}function iJe(e){return e.sort((t,n)=>t.type==="tag"&&n.type==="class"?-1:t.type==="class"&&n.type==="tag"?1:t.type==="class"&&n.type==="pseudo"&&n.value.startsWith("::")?-1:t.type==="pseudo"&&t.value.startsWith("::")&&n.type==="class"?1:e.index(t)-e.index(n)),e}function nue(e,t){let n=!1;e.walk(i=>{if(i.type==="class"&&i.value===t)return n=!0,!1}),n||e.remove()}function sJe(e,t,{context:n,candidate:i,base:o}){var r,c;let s=(c=n==null||(r=n.tailwindConfig)===null||r===void 0?void 0:r.separator)!==null&&c!==void 0?c:":";o=o??(0,nJe.splitAtTopLevelOnly)(i,s).pop();let u=(0,ep.default)().astSync(e);if(u.walkClasses(p=>{p.raws&&p.value.includes(o)&&(p.raws.value=(0,tue.default)((0,eJe.default)(p.raws.value)))}),u.each(p=>nue(p,o)),u.length===0)return null;let H=Array.isArray(t)?rue(t,{context:n,candidate:i}):t;if(H===null)return u.toString();let a=ep.default.comment({value:"/*__simple__*/"}),l=ep.default.comment({value:"/*__simple__*/"});return u.walkClasses(p=>{if(p.value!==o)return;let d=p.parent,h=H.nodes[0].nodes;if(d.nodes.length===1){p.replaceWith(...h);return}let m=eue(p);d.insertBefore(m[0],a),d.insertAfter(m[m.length-1],l);for(let y of h)d.insertBefore(m[0],y.clone());p.remove(),m=eue(a);let g=d.index(a);d.nodes.splice(g,m.length,...iJe(ep.default.selector({nodes:m})).nodes),a.remove(),l.remove()}),u.walkPseudos(p=>{p.value===WB&&p.replaceWith(p.nodes)}),u.each(p=>(0,rJe.movePseudos)(p)),u.toString()}function iue(e,t){let n=[];return e.walkPseudos(i=>{i.value===WB&&n.push({pseudo:i,value:i.nodes[0].toString()})}),t.walkPseudos(i=>{if(i.value!==WB)return;let o=i.nodes[0].toString(),r=n.find(H=>H.value===o);if(!r)return;let c=[],s=i.next();for(;s&&s.type!=="combinator";)c.push(s),s=s.next();let u=s;r.pseudo.parent.insertAfter(r.pseudo,ep.default.selector({nodes:c.map(H=>H.clone())})),i.remove(),c.forEach(H=>H.remove()),u&&u.type==="combinator"&&u.remove()}),[e,t]}});var XB=Le(GB=>{"use strict";Object.defineProperty(GB,"__esModule",{value:!0});Object.defineProperty(GB,"applyImportantSelector",{enumerable:!0,get:function(){return lJe}});var sue=oJe(Qu()),aJe=qT();function oJe(e){return e&&e.__esModule?e:{default:e}}function lJe(e,t){let n=(0,sue.default)().astSync(e);return n.each(i=>{i.nodes.some(r=>r.type==="combinator")&&(i.nodes=[sue.default.pseudo({value:":is",nodes:[i.clone()]})]),(0,aJe.movePseudos)(i)}),`${t} ${n.toString()}`}});var sg=Le(rO=>{"use strict";Object.defineProperty(rO,"__esModule",{value:!0});function cJe(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}cJe(rO,{getClassNameFromSelector:function(){return uue},resolveMatches:function(){return pue},generateRules:function(){return kJe}});var Im=Xf(gl()),tO=Xf(Qu()),uJe=Xf(bB()),HJe=Xf(s_()),pJe=Xf(BT()),oue=jy(),dJe=Xf(ac()),zB=EJe(Gf()),JB=KB(),fJe=LB(),lue=Oy(),ZB=Am(),hJe=Xf(FB()),QB=hf(),_Je=CH(),mJe=XB();function Xf(e){return e&&e.__esModule?e:{default:e}}function cue(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(cue=function(i){return i?n:t})(e)}function EJe(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=cue(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var c=o?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(i,r,c):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}var yJe=(0,tO.default)(e=>e.first.filter(({type:t})=>t==="class").pop().value);function uue(e){return yJe.transformSync(e)}function*gJe(e){let t=1/0;for(;t>=0;){let n,i=!1;if(t===1/0&&e.endsWith("]")){let c=e.indexOf("[");e[c-1]==="-"?n=c-1:e[c-1]==="/"?(n=c-1,i=!0):n=-1}else t===1/0&&e.includes("/")?(n=e.lastIndexOf("/"),i=!0):n=e.lastIndexOf("-",t);if(n<0)break;let o=e.slice(0,n),r=e.slice(i?n:n+1);t=n-1,!(o===""||r==="/")&&(yield[o,r])}}function bJe(e,t){if(e.length===0||t.tailwindConfig.prefix==="")return e;for(let n of e){let[i]=n;if(i.options.respectPrefix){let o=Im.default.root({nodes:[n[1].clone()]}),r=n[1].raws.tailwind.classCandidate;o.walkRules(c=>{let s=r.startsWith("-");c.selector=(0,pJe.default)(t.tailwindConfig.prefix,c.selector,s)}),n[1]=o.nodes[0]}}return e}function AJe(e,t){if(e.length===0)return e;let n=[];function i(o){return o.parent&&o.parent.type==="atrule"&&o.parent.name==="keyframes"}for(let[o,r]of e){let c=Im.default.root({nodes:[r.clone()]});c.walkRules(s=>{if(i(s))return;let u=(0,tO.default)().astSync(s.selector);u.each(H=>(0,JB.eliminateIrrelevantSelectors)(H,t)),(0,oue.updateAllClasses)(u,H=>H===t?`!${H}`:H),s.selector=u.toString(),s.walkDecls(H=>H.important=!0)}),n.push([{...o,important:!0},c.nodes[0]])}return n}function IJe(e,t,n){if(t.length===0)return t;let i={modifier:null,value:zB.NONE};{let[s,...u]=(0,QB.splitAtTopLevelOnly)(e,"/");if(u.length>1&&(s=s+"/"+u.slice(0,-1).join("/"),u=u.slice(-1)),u.length&&!n.variantMap.has(e)&&(e=s,i.modifier=u[0],!(0,_Je.flagEnabled)(n.tailwindConfig,"generalizedModifiers")))return[]}if(e.endsWith("]")&&!e.startsWith("[")){let s=/(.)(-?)\[(.*)\]/g.exec(e);if(s){let[,u,H,a]=s;if(u==="@"&&H==="-")return[];if(u!=="@"&&H==="")return[];e=e.replace(`${H}[${a}]`,""),i.value=a}}if(eO(e)&&!n.variantMap.has(e)){let s=n.offsets.recordVariant(e),u=(0,lue.normalize)(e.slice(1,-1)),H=(0,QB.splitAtTopLevelOnly)(u,",");if(H.length>1)return[];if(!H.every(ZB.isValidVariantFormatString))return[];let a=H.map((l,p)=>[n.offsets.applyParallelOffset(s,p),(0,ZB.parseVariant)(l.trim())]);n.variantMap.set(e,a)}if(n.variantMap.has(e)){var o;let s=eO(e);var r;let u=(r=(o=n.variantOptions.get(e))===null||o===void 0?void 0:o[ZB.INTERNAL_FEATURES])!==null&&r!==void 0?r:{},H=n.variantMap.get(e).slice(),a=[],l=!(s||u.respectPrefix===!1);for(let[p,d]of t){if(p.layer==="user")continue;let h=Im.default.root({nodes:[d.clone()]});for(let[m,g,y]of H){let A=function(){_.raws.neededBackup||(_.raws.neededBackup=!0,_.walkRules(L=>L.raws.originalSelector=L.selector))},S=function(L){return A(),_.each(x=>{x.type==="rule"&&(x.selectors=x.selectors.map(C=>L({get className(){return uue(C)},selector:C})))}),_},_=(y??h).clone(),E=[],T=g({get container(){return A(),_},separator:n.tailwindConfig.separator,modifySelectors:S,wrap(L){let x=_.nodes;_.removeAll(),L.append(x),_.append(L)},format(L){E.push({format:L,respectPrefix:l})},args:i});if(Array.isArray(T)){for(let[L,x]of T.entries())H.push([n.offsets.applyParallelOffset(m,L),x,_.clone()]);continue}if(typeof T=="string"&&E.push({format:T,respectPrefix:l}),T===null)continue;_.raws.neededBackup&&(delete _.raws.neededBackup,_.walkRules(L=>{let x=L.raws.originalSelector;if(!x||(delete L.raws.originalSelector,x===L.selector))return;let C=L.selector,D=(0,tO.default)(O=>{O.walkClasses(j=>{j.value=`${e}${n.tailwindConfig.separator}${j.value}`})}).processSync(x);E.push({format:C.replace(D,"&"),respectPrefix:l}),L.selector=x})),_.nodes[0].raws.tailwind={..._.nodes[0].raws.tailwind,parentLayer:p.layer};var c;let I=[{...p,sort:n.offsets.applyVariantOffset(p.sort,m,Object.assign(i,n.variantOptions.get(e))),collectedFormats:((c=p.collectedFormats)!==null&&c!==void 0?c:[]).concat(E)},_.nodes[0]];a.push(I)}}return a}return[]}function YB(e,t,n={}){return!(0,HJe.default)(e)&&!Array.isArray(e)?[[e],n]:Array.isArray(e)?YB(e[0],t,e[1]):(t.has(e)||t.set(e,(0,uJe.default)(e)),[t.get(e),n])}var SJe=/^[a-z_-]/;function LJe(e){return SJe.test(e)}function TJe(e){if(!e.includes("://"))return!1;try{let t=new URL(e);return t.scheme!==""&&t.host!==""}catch{return!1}}function aue(e){let t=!0;return e.walkDecls(n=>{if(!Hue(n.prop,n.value))return t=!1,!1}),t}function Hue(e,t){if(TJe(`${e}:${t}`))return!1;try{return Im.default.parse(`a{${e}:${t}}`).toResult(),!0}catch{return!1}}function vJe(e,t){var n;let[,i,o]=(n=e.match(/^\[([a-zA-Z0-9-_]+):(\S+)\]$/))!==null&&n!==void 0?n:[];if(o===void 0||!LJe(i)||!(0,hJe.default)(o))return null;let r=(0,lue.normalize)(o,{property:i});return Hue(i,r)?[[{sort:t.offsets.arbitraryProperty(e),layer:"utilities",options:{respectImportant:!0}},()=>({[(0,fJe.asClass)(e)]:{[i]:r}})]]:null}function*CJe(e,t){t.candidateRuleMap.has(e)&&(yield[t.candidateRuleMap.get(e),"DEFAULT"]),yield*function*(s){s!==null&&(yield[s,"DEFAULT"])}(vJe(e,t));let n=e,i=!1,o=t.tailwindConfig.prefix,r=o.length,c=n.startsWith(o)||n.startsWith(`-${o}`);n[r]==="-"&&c&&(i=!0,n=o+n.slice(r+1)),i&&t.candidateRuleMap.has(n)&&(yield[t.candidateRuleMap.get(n),"-DEFAULT"]);for(let[s,u]of gJe(n))t.candidateRuleMap.has(s)&&(yield[t.candidateRuleMap.get(s),i?`-${u}`:u])}function xJe(e,t){return e===zB.NOT_ON_DEMAND?[zB.NOT_ON_DEMAND]:(0,QB.splitAtTopLevelOnly)(e,t)}function*DJe(e,t){for(let o of e){var n,i;o[1].raws.tailwind={...o[1].raws.tailwind,classCandidate:t,preserveSource:(i=(n=o[0].options)===null||n===void 0?void 0:n.preserveSource)!==null&&i!==void 0?i:!1},yield o}}function*pue(e,t){let n=t.tailwindConfig.separator,[i,...o]=xJe(e,n).reverse(),r=!1;i.startsWith("!")&&(r=!0,i=i.slice(1));for(let l of CJe(i,t)){let p=[],d=new Map,[h,m]=l,g=h.length===1;for(let[y,_]of h){let E=[];if(typeof _=="function")for(let A of[].concat(_(m,{isOnlyPlugin:g}))){let[S,T]=YB(A,t.postCssNodeCache);for(let I of S)E.push([{...y,options:{...y.options,...T}},I])}else if(m==="DEFAULT"||m==="-DEFAULT"){let A=_,[S,T]=YB(A,t.postCssNodeCache);for(let I of S)E.push([{...y,options:{...y.options,...T}},I])}if(E.length>0){var c,s,u;let A=Array.from((0,oue.getMatchingTypes)((s=(c=y.options)===null||c===void 0?void 0:c.types)!==null&&s!==void 0?s:[],m,(u=y.options)!==null&&u!==void 0?u:{},t.tailwindConfig)).map(([S,T])=>T);A.length>0&&d.set(E,A),p.push(E)}}if(eO(m)){if(p.length>1){let E=function(S){return S.length===1?S[0]:S.find(T=>{let I=d.get(T);return T.some(([{options:L},x])=>aue(x)?L.types.some(({type:C,preferOnConflict:D})=>I.includes(C)&&D):!1)})},[y,_]=p.reduce((S,T)=>(T.some(([{options:L}])=>L.types.some(({type:x})=>x==="any"))?S[0].push(T):S[1].push(T),S),[[],[]]);var H;let A=(H=E(_))!==null&&H!==void 0?H:E(y);if(A)p=[A];else{var a;let S=p.map(I=>new Set([...(a=d.get(I))!==null&&a!==void 0?a:[]]));for(let I of S)for(let L of I){let x=!1;for(let C of S)I!==C&&C.has(L)&&(C.delete(L),x=!0);x&&I.delete(L)}let T=[];for(let[I,L]of S.entries())for(let x of L){let C=p[I].map(([,D])=>D).flat().map(D=>D.toString().split(`
|
|
`).slice(1,-1).map(O=>O.trim()).map(O=>` ${O}`).join(`
|
|
`)).join(`
|
|
|
|
`);T.push(` Use \`${e.replace("[",`[${x}:`)}\` for \`${C.trim()}\``);break}dJe.default.warn([`The class \`${e}\` is ambiguous and matches multiple utilities.`,...T,`If this is content and not a class, replace it with \`${e.replace("[","[").replace("]","]")}\` to silence this warning.`]);continue}}p=p.map(y=>y.filter(_=>aue(_[1])))}p=p.flat(),p=Array.from(DJe(p,i)),p=bJe(p,t),r&&(p=AJe(p,i));for(let y of o)p=IJe(y,p,t);for(let y of p)y[1].raws.tailwind={...y[1].raws.tailwind,candidate:e},y=PJe(y,{context:t,candidate:e}),y!==null&&(yield y)}}function PJe(e,{context:t,candidate:n}){if(!e[0].collectedFormats)return e;let i=!0,o;try{o=(0,JB.formatVariantSelector)(e[0].collectedFormats,{context:t,candidate:n})}catch{return null}let r=Im.default.root({nodes:[e[1].clone()]});return r.walkRules(c=>{if(!VT(c))try{let s=(0,JB.finalizeSelector)(c.selector,o,{candidate:n,context:t});if(s===null){c.remove();return}c.selector=s}catch{return i=!1,!1}}),!i||r.nodes.length===0?null:(e[1]=r.nodes[0],e)}function VT(e){return e.parent&&e.parent.type==="atrule"&&e.parent.name==="keyframes"}function wJe(e){if(e===!0)return t=>{VT(t)||t.walkDecls(n=>{n.parent.type==="rule"&&!VT(n.parent)&&(n.important=!0)})};if(typeof e=="string")return t=>{VT(t)||(t.selectors=t.selectors.map(n=>(0,mJe.applyImportantSelector)(n,e)))}}function kJe(e,t,n=!1){let i=[],o=wJe(t.tailwindConfig.important);for(let c of e){if(t.notClassCache.has(c))continue;if(t.candidateRuleCache.has(c)){i=i.concat(Array.from(t.candidateRuleCache.get(c)));continue}let s=Array.from(pue(c,t));if(s.length===0){t.notClassCache.add(c);continue}t.classCache.set(c,s);var r;let u=(r=t.candidateRuleCache.get(c))!==null&&r!==void 0?r:new Set;t.candidateRuleCache.set(c,u);for(let H of s){let[{sort:a,options:l},p]=H;if(l.respectImportant&&o){let h=Im.default.root({nodes:[p.clone()]});h.walkRules(o),p=h.nodes[0]}let d=[a,n?p.clone():p];u.add(d),t.ruleCache.add(d),i.push(d)}}return i}function eO(e){return e.startsWith("[")&&e.endsWith("]")}});var hue=Le(nO=>{"use strict";Object.defineProperty(nO,"__esModule",{value:!0});Object.defineProperty(nO,"hasContentChanged",{enumerable:!0,get:function(){return BJe}});var NJe=RJe(require("crypto")),due=$Je(Gf());function RJe(e){return e&&e.__esModule?e:{default:e}}function fue(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(fue=function(i){return i?n:t})(e)}function $Je(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=fue(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var c=o?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(i,r,c):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}function MJe(e){try{return NJe.default.createHash("md5").update(e,"utf-8").digest("binary")}catch{return""}}function BJe(e,t){let n=t.toString();if(!n.includes("@tailwind"))return!1;let i=due.sourceHashMap.get(e),o=MJe(n),r=i!==o;return due.sourceHashMap.set(e,o),r}});var _ue=Le(iO=>{"use strict";Object.defineProperty(iO,"__esModule",{value:!0});Object.defineProperty(iO,"default",{enumerable:!0,get:function(){return OJe}});function OJe(e){return(e>0n)-(e<0n)}});var mue=Le(sO=>{"use strict";Object.defineProperty(sO,"__esModule",{value:!0});Object.defineProperty(sO,"remapBitfield",{enumerable:!0,get:function(){return FJe}});function FJe(e,t){let n=0n,i=0n;for(let[o,r]of t)e&o&&(n=n|o,i=i|r);return e&~n|i}});var gue=Le(oO=>{"use strict";Object.defineProperty(oO,"__esModule",{value:!0});Object.defineProperty(oO,"Offsets",{enumerable:!0,get:function(){return aO}});var Eue=UJe(_ue()),jJe=mue();function UJe(e){return e&&e.__esModule?e:{default:e}}var aO=class{constructor(){this.offsets={defaults:0n,base:0n,components:0n,utilities:0n,variants:0n,user:0n},this.layerPositions={defaults:0n,base:1n,components:2n,utilities:3n,user:4n,variants:5n},this.reservedVariantBits=0n,this.variantOffsets=new Map}create(t){return{layer:t,parentLayer:t,arbitrary:0n,variants:0n,parallelIndex:0n,index:this.offsets[t]++,propertyOffset:0n,property:"",options:[]}}arbitraryProperty(t){return{...this.create("utilities"),arbitrary:1n,property:t}}forVariant(t,n=0){let i=this.variantOffsets.get(t);if(i===void 0)throw new Error(`Cannot find offset for unknown variant ${t}`);return{...this.create("variants"),variants:i<<BigInt(n)}}applyVariantOffset(t,n,i){return i.variant=n.variants,{...t,layer:"variants",parentLayer:t.layer==="variants"?t.parentLayer:t.layer,variants:t.variants|n.variants,options:i.sort?[].concat(i,t.options):t.options,parallelIndex:yue([t.parallelIndex,n.parallelIndex])}}applyParallelOffset(t,n){return{...t,parallelIndex:BigInt(n)}}recordVariants(t,n){for(let i of t)this.recordVariant(i,n(i))}recordVariant(t,n=1){return this.variantOffsets.set(t,1n<<this.reservedVariantBits),this.reservedVariantBits+=BigInt(n),{...this.create("variants"),variants:this.variantOffsets.get(t)}}compare(t,n){if(t.layer!==n.layer)return this.layerPositions[t.layer]-this.layerPositions[n.layer];if(t.parentLayer!==n.parentLayer)return this.layerPositions[t.parentLayer]-this.layerPositions[n.parentLayer];for(let o of t.options)for(let r of n.options){if(o.id!==r.id||!o.sort||!r.sort)continue;var i;let c=(i=yue([o.variant,r.variant]))!==null&&i!==void 0?i:0n,s=~(c|c-1n),u=t.variants&s,H=n.variants&s;if(u!==H)continue;let a=o.sort({value:o.value,modifier:o.modifier},{value:r.value,modifier:r.modifier});if(a!==0)return a}return t.variants!==n.variants?t.variants-n.variants:t.parallelIndex!==n.parallelIndex?t.parallelIndex-n.parallelIndex:t.arbitrary!==n.arbitrary?t.arbitrary-n.arbitrary:t.propertyOffset!==n.propertyOffset?t.propertyOffset-n.propertyOffset:t.index-n.index}recalculateVariantOffsets(){let t=Array.from(this.variantOffsets.entries()).filter(([o])=>o.startsWith("[")).sort(([o],[r])=>qJe(o,r)),n=t.map(([,o])=>o).sort((o,r)=>(0,Eue.default)(o-r));return t.map(([,o],r)=>[o,n[r]]).filter(([o,r])=>o!==r)}remapArbitraryVariantOffsets(t){let n=this.recalculateVariantOffsets();return n.length===0?t:t.map(i=>{let[o,r]=i;return o={...o,variants:(0,jJe.remapBitfield)(o.variants,n)},[o,r]})}sortArbitraryProperties(t){let n=new Set;for(let[c]of t)c.arbitrary===1n&&n.add(c.property);if(n.size===0)return t;let i=Array.from(n).sort(),o=new Map,r=1n;for(let c of i)o.set(c,r++);return t.map(c=>{let[s,u]=c;var H;return s={...s,propertyOffset:(H=o.get(s.property))!==null&&H!==void 0?H:0n},[s,u]})}sort(t){return t=this.remapArbitraryVariantOffsets(t),t=this.sortArbitraryProperties(t),t.sort(([n],[i])=>(0,Eue.default)(this.compare(n,i)))}};function yue(e){let t=null;for(let n of e)t=t??n,t=t>n?t:n;return t}function qJe(e,t){let n=e.length,i=t.length,o=n<i?n:i;for(let r=0;r<o;r++){let c=e.charCodeAt(r)-t.charCodeAt(r);if(c!==0)return c}return n-i}});var Am=Le(_O=>{"use strict";Object.defineProperty(_O,"__esModule",{value:!0});function WJe(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}WJe(_O,{INTERNAL_FEATURES:function(){return xue},isValidVariantFormatString:function(){return fO},parseVariant:function(){return GT},getFileModifiedMap:function(){return hO},createContext:function(){return kue},getContext:function(){return dQe}});var VJe=Kl(require("fs")),KJe=Kl(require("url")),lg=Kl(gl()),GJe=Kl(Fo()),Tue=Kl(Qu()),XJe=Kl(ym()),ZJe=Kl(bB()),zJe=Kl(BT()),JJe=Kl(s_()),QJe=Kl(gm()),og=Cue(LB()),bue=jy(),Ws=Xce(),eH=Cue(Gf()),YJe=aI(),Lm=Kl(ac()),eQe=Kl(sI()),Aue=Kl(FB()),Iue=sg(),tQe=hue(),rQe=gue(),lO=CH(),cO=KB();function Kl(e){return e&&e.__esModule?e:{default:e}}function vue(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(vue=function(i){return i?n:t})(e)}function Cue(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=vue(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var c=o?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(i,r,c):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}var xue=Symbol(),uO={AddVariant:Symbol.for("ADD_VARIANT"),MatchVariant:Symbol.for("MATCH_VARIANT")},dO={Base:1,Dynamic:2};function HO(e,t){let n=e.tailwindConfig.prefix;return typeof n=="function"?n(t):n+t}function Sue({type:e="any",...t}){let n=[].concat(e);return{...t,types:n.map(i=>Array.isArray(i)?{type:i[0],...i[1]}:{type:i,preferOnConflict:!1})}}function nQe(e){let t=[],n="",i=0;for(let o=0;o<e.length;o++){let r=e[o];if(r==="\\")n+="\\"+e[++o];else if(r==="{")++i,t.push(n.trim()),n="";else if(r==="}"){if(--i<0)throw new Error("Your { and } are unbalanced.");t.push(n.trim()),n=""}else n+=r}return n.length>0&&t.push(n.trim()),t=t.filter(o=>o!==""),t}function iQe(e,t,{before:n=[]}={}){if(n=[].concat(n),n.length<=0){e.push(t);return}let i=e.length-1;for(let o of n){let r=e.indexOf(o);r!==-1&&(i=Math.min(i,r))}e.splice(i,0,t)}function Due(e){return Array.isArray(e)?e.flatMap(t=>!Array.isArray(t)&&!(0,JJe.default)(t)?t:(0,ZJe.default)(t)):Due([e])}function sQe(e,t){return(0,Tue.default)(i=>{let o=[];return t&&t(i),i.walkClasses(r=>{o.push(r.value)}),o}).transformSync(e)}function aQe(e){e.walkPseudos(t=>{t.value===":not"&&t.remove()})}function oQe(e,t={containsNonOnDemandable:!1},n=0){let i=[],o=[];e.type==="rule"?o.push(...e.selectors):e.type==="atrule"&&e.walkRules(r=>o.push(...r.selectors));for(let r of o){let c=sQe(r,aQe);c.length===0&&(t.containsNonOnDemandable=!0);for(let s of c)i.push(s)}return n===0?[t.containsNonOnDemandable||i.length===0,i]:i}function KT(e){return Due(e).flatMap(t=>{let n=new Map,[i,o]=oQe(t);return i&&o.unshift(eH.NOT_ON_DEMAND),o.map(r=>(n.has(t)||n.set(t,t),[r,n.get(t)]))})}function fO(e){return e.startsWith("@")||e.includes("&")}function GT(e){e=e.replace(/\n+/g,"").replace(/\s{1,}/g," ").trim();let t=nQe(e).map(n=>{if(!n.startsWith("@"))return({format:c})=>c(n);let[,i,o]=/@(\S*)( .+|[({].*)?/g.exec(n);var r;return({wrap:c})=>c(lg.default.atRule({name:i,params:(r=o?.trim())!==null&&r!==void 0?r:""}))}).reverse();return n=>{for(let i of t)i(n)}}function lQe(e,t,{variantList:n,variantMap:i,offsets:o,classList:r}){function c(p,d){return p?(0,GJe.default)(e,p,d):e}function s(p){return(0,zJe.default)(e.prefix,p)}function u(p,d){return p===eH.NOT_ON_DEMAND?eH.NOT_ON_DEMAND:d.respectPrefix?t.tailwindConfig.prefix+p:p}function H(p,d,h={}){let m=(0,YJe.toPath)(p),g=c(["theme",...m],d);return(0,XJe.default)(m[0])(g,h)}let a=0,l={postcss:lg.default,prefix:s,e:QJe.default,config:c,theme:H,corePlugins:p=>Array.isArray(e.corePlugins)?e.corePlugins.includes(p):c(["corePlugins",p],!0),variants:()=>[],addBase(p){for(let[d,h]of KT(p)){let m=u(d,{}),g=o.create("base");t.candidateRuleMap.has(m)||t.candidateRuleMap.set(m,[]),t.candidateRuleMap.get(m).push([{sort:g,layer:"base"},h])}},addDefaults(p,d){let h={[`@defaults ${p}`]:d};for(let[m,g]of KT(h)){let y=u(m,{});t.candidateRuleMap.has(y)||t.candidateRuleMap.set(y,[]),t.candidateRuleMap.get(y).push([{sort:o.create("defaults"),layer:"defaults"},g])}},addComponents(p,d){d=Object.assign({},{preserveSource:!1,respectPrefix:!0,respectImportant:!1},Array.isArray(d)?{}:d);for(let[m,g]of KT(p)){let y=u(m,d);r.add(y),t.candidateRuleMap.has(y)||t.candidateRuleMap.set(y,[]),t.candidateRuleMap.get(y).push([{sort:o.create("components"),layer:"components",options:d},g])}},addUtilities(p,d){d=Object.assign({},{preserveSource:!1,respectPrefix:!0,respectImportant:!0},Array.isArray(d)?{}:d);for(let[m,g]of KT(p)){let y=u(m,d);r.add(y),t.candidateRuleMap.has(y)||t.candidateRuleMap.set(y,[]),t.candidateRuleMap.get(y).push([{sort:o.create("utilities"),layer:"utilities",options:d},g])}},matchUtilities:function(p,d){d=Sue({...{respectPrefix:!0,respectImportant:!0,modifiers:!1},...d});let m=o.create("utilities");for(let g in p){let E=function(S,{isOnlyPlugin:T}){let[I,L,x]=(0,bue.coerceValue)(d.types,S,d,e);if(I===void 0)return[];if(!d.types.some(({type:j})=>j===L))if(T)Lm.default.warn([`Unnecessary typehint \`${L}\` in \`${g}-${S}\`.`,`You can safely update it to \`${g}-${S.replace(L+":","")}\`.`]);else return[];if(!(0,Aue.default)(I))return[];let C={get modifier(){return d.modifiers||Lm.default.warn(`modifier-used-without-options-for-${g}`,["Your plugin must set `modifiers: true` in its options to support modifiers."]),x}},D=(0,lO.flagEnabled)(e,"generalizedModifiers");return[].concat(D?_(I,C):_(I)).filter(Boolean).map(j=>({[(0,og.default)(g,S)]:j}))},y=u(g,d),_=p[g];r.add([y,d]);let A=[{sort:m,layer:"utilities",options:d},E];t.candidateRuleMap.has(y)||t.candidateRuleMap.set(y,[]),t.candidateRuleMap.get(y).push(A)}},matchComponents:function(p,d){d=Sue({...{respectPrefix:!0,respectImportant:!1,modifiers:!1},...d});let m=o.create("components");for(let g in p){let E=function(S,{isOnlyPlugin:T}){let[I,L,x]=(0,bue.coerceValue)(d.types,S,d,e);if(I===void 0)return[];if(!d.types.some(({type:j})=>j===L))if(T)Lm.default.warn([`Unnecessary typehint \`${L}\` in \`${g}-${S}\`.`,`You can safely update it to \`${g}-${S.replace(L+":","")}\`.`]);else return[];if(!(0,Aue.default)(I))return[];let C={get modifier(){return d.modifiers||Lm.default.warn(`modifier-used-without-options-for-${g}`,["Your plugin must set `modifiers: true` in its options to support modifiers."]),x}},D=(0,lO.flagEnabled)(e,"generalizedModifiers");return[].concat(D?_(I,C):_(I)).filter(Boolean).map(j=>({[(0,og.default)(g,S)]:j}))},y=u(g,d),_=p[g];r.add([y,d]);let A=[{sort:m,layer:"components",options:d},E];t.candidateRuleMap.has(y)||t.candidateRuleMap.set(y,[]),t.candidateRuleMap.get(y).push(A)}},addVariant(p,d,h={}){d=[].concat(d).map(m=>{if(typeof m!="string")return(g={})=>{let{args:y,modifySelectors:_,container:E,separator:A,wrap:S,format:T}=g,I=m(Object.assign({modifySelectors:_,container:E,separator:A},h.type===uO.MatchVariant&&{args:y,wrap:S,format:T}));if(typeof I=="string"&&!fO(I))throw new Error(`Your custom variant \`${p}\` has an invalid format string. Make sure it's an at-rule or contains a \`&\` placeholder.`);return Array.isArray(I)?I.filter(L=>typeof L=="string").map(L=>GT(L)):I&&typeof I=="string"&>(I)(g)};if(!fO(m))throw new Error(`Your custom variant \`${p}\` has an invalid format string. Make sure it's an at-rule or contains a \`&\` placeholder.`);return GT(m)}),iQe(n,p,h),i.set(p,d),t.variantOptions.set(p,h)},matchVariant(p,d,h){var m;let g=(m=h?.id)!==null&&m!==void 0?m:++a,y=p==="@",_=(0,lO.flagEnabled)(e,"generalizedModifiers");var E;for(let[T,I]of Object.entries((E=h?.values)!==null&&E!==void 0?E:{}))T!=="DEFAULT"&&l.addVariant(y?`${p}${T}`:`${p}-${T}`,({args:L,container:x})=>d(I,_?{modifier:L?.modifier,container:x}:{container:x}),{...h,value:I,id:g,type:uO.MatchVariant,variantInfo:dO.Base});var A;let S="DEFAULT"in((A=h?.values)!==null&&A!==void 0?A:{});l.addVariant(p,({args:T,container:I})=>{if(T?.value===eH.NONE&&!S)return null;var L;return d(T?.value===eH.NONE?h.values.DEFAULT:(L=T?.value)!==null&&L!==void 0?L:typeof T=="string"?T:"",_?{modifier:T?.modifier,container:I}:{container:I})},{...h,id:g,type:uO.MatchVariant,variantInfo:dO.Dynamic})}};return l}var pO=new WeakMap;function hO(e){return pO.has(e)||pO.set(e,new Map),pO.get(e)}function Lue(e,t){let n=!1,i=new Map;for(let r of e){var o;if(!r)continue;let c=KJe.default.parse(r),s=c.hash?c.href.replace(c.hash,""):c.href;s=c.search?s.replace(c.search,""):s;let u=(o=VJe.default.statSync(decodeURIComponent(s),{throwIfNoEntry:!1}))===null||o===void 0?void 0:o.mtimeMs;u&&((!t.has(r)||u>t.get(r))&&(n=!0),i.set(r,u))}return[n,i]}function Pue(e){e.walkAtRules(t=>{["responsive","variants"].includes(t.name)&&(Pue(t),t.before(t.nodes),t.remove())})}function cQe(e){let t=[];return e.each(n=>{n.type==="atrule"&&["responsive","variants"].includes(n.name)&&(n.name="layer",n.params="utilities")}),e.walkAtRules("layer",n=>{if(Pue(n),n.params==="base"){for(let i of n.nodes)t.push(function({addBase:o}){o(i,{respectPrefix:!1})});n.remove()}else if(n.params==="components"){for(let i of n.nodes)t.push(function({addComponents:o}){o(i,{respectPrefix:!1,preserveSource:!0})});n.remove()}else if(n.params==="utilities"){for(let i of n.nodes)t.push(function({addUtilities:o}){o(i,{respectPrefix:!1,preserveSource:!0})});n.remove()}}),t}function uQe(e,t){let n=Object.entries({...Ws.variantPlugins,...Ws.corePlugins}).map(([u,H])=>e.tailwindConfig.corePlugins.includes(u)?H:null).filter(Boolean),i=e.tailwindConfig.plugins.map(u=>(u.__isOptionsFunction&&(u=u()),typeof u=="function"?u:u.handler)),o=cQe(t),r=[Ws.variantPlugins.childVariant,Ws.variantPlugins.pseudoElementVariants,Ws.variantPlugins.pseudoClassVariants,Ws.variantPlugins.hasVariants,Ws.variantPlugins.ariaVariants,Ws.variantPlugins.dataVariants],c=[Ws.variantPlugins.supportsVariants,Ws.variantPlugins.reducedMotionVariants,Ws.variantPlugins.prefersContrastVariants,Ws.variantPlugins.screenVariants,Ws.variantPlugins.orientationVariants,Ws.variantPlugins.directionVariants,Ws.variantPlugins.darkVariants,Ws.variantPlugins.forcedColorsVariants,Ws.variantPlugins.printVariant];return(e.tailwindConfig.darkMode==="class"||Array.isArray(e.tailwindConfig.darkMode)&&e.tailwindConfig.darkMode[0]==="class")&&(c=[Ws.variantPlugins.supportsVariants,Ws.variantPlugins.reducedMotionVariants,Ws.variantPlugins.prefersContrastVariants,Ws.variantPlugins.darkVariants,Ws.variantPlugins.screenVariants,Ws.variantPlugins.orientationVariants,Ws.variantPlugins.directionVariants,Ws.variantPlugins.forcedColorsVariants,Ws.variantPlugins.printVariant]),[...n,...r,...i,...c,...o]}function HQe(e,t){let n=[],i=new Map;t.variantMap=i;let o=new rQe.Offsets;t.offsets=o;let r=new Set,c=lQe(t.tailwindConfig,t,{variantList:n,variantMap:i,offsets:o,classList:r});for(let d of e)if(Array.isArray(d))for(let h of d)h(c);else d?.(c);o.recordVariants(n,d=>i.get(d).length);for(let[d,h]of i.entries())t.variantMap.set(d,h.map((m,g)=>[o.forVariant(d,g),m]));var s;let u=((s=t.tailwindConfig.safelist)!==null&&s!==void 0?s:[]).filter(Boolean);if(u.length>0){let d=[];for(let h of u){if(typeof h=="string"){t.changedContent.push({content:h,extension:"html"});continue}if(h instanceof RegExp){Lm.default.warn("root-regex",["Regular expressions in `safelist` work differently in Tailwind CSS v3.0.","Update your `safelist` configuration to eliminate this warning.","https://tailwindcss.com/docs/content-configuration#safelisting-classes"]);continue}d.push(h)}if(d.length>0){let h=new Map,m=t.tailwindConfig.prefix.length,g=d.some(y=>y.pattern.source.includes("!"));for(let y of r){let _=Array.isArray(y)?(()=>{let[E,A]=y;var S;let I=Object.keys((S=A?.values)!==null&&S!==void 0?S:{}).map(L=>(0,og.formatClass)(E,L));return A?.supportsNegativeValues&&(I=[...I,...I.map(L=>"-"+L)],I=[...I,...I.map(L=>L.slice(0,m)+"-"+L.slice(m))]),A.types.some(({type:L})=>L==="color")&&(I=[...I,...I.flatMap(L=>Object.keys(t.tailwindConfig.theme.opacity).map(x=>`${L}/${x}`))]),g&&A?.respectImportant&&(I=[...I,...I.map(L=>"!"+L)]),I})():[y];for(let E of _)for(let{pattern:A,variants:S=[]}of d)if(A.lastIndex=0,h.has(A)||h.set(A,0),!!A.test(E)){h.set(A,h.get(A)+1),t.changedContent.push({content:E,extension:"html"});for(let T of S)t.changedContent.push({content:T+t.tailwindConfig.separator+E,extension:"html"})}}for(let[y,_]of h.entries())_===0&&Lm.default.warn([`The safelist pattern \`${y}\` doesn't match any Tailwind CSS classes.`,"Fix this pattern or remove it from your `safelist` configuration.","https://tailwindcss.com/docs/content-configuration#safelisting-classes"])}}var H,a;let l=(a=[].concat((H=t.tailwindConfig.darkMode)!==null&&H!==void 0?H:"media")[1])!==null&&a!==void 0?a:"dark",p=[HO(t,l),HO(t,"group"),HO(t,"peer")];t.getClassOrder=function(h){let m=[...h].sort((A,S)=>A===S?0:A<S?-1:1),g=new Map(m.map(A=>[A,null])),y=(0,Iue.generateRules)(new Set(m),t,!0);y=t.offsets.sort(y);let _=BigInt(p.length);for(let[,A]of y){let S=A.raws.tailwind.candidate;var E;g.set(S,(E=g.get(S))!==null&&E!==void 0?E:_++)}return h.map(A=>{var S;let T=(S=g.get(A))!==null&&S!==void 0?S:null,I=p.indexOf(A);return T===null&&I!==-1&&(T=BigInt(I)),[A,T]})},t.getClassList=function(h={}){let m=[];for(let A of r)if(Array.isArray(A)){var g;let[S,T]=A,I=[];var y;let L=Object.keys((y=T?.modifiers)!==null&&y!==void 0?y:{});if(!(T==null||(g=T.types)===null||g===void 0)&&g.some(({type:D})=>D==="color")){var _;L.push(...Object.keys((_=t.tailwindConfig.theme.opacity)!==null&&_!==void 0?_:{}))}let x={modifiers:L},C=h.includeMetadata&&L.length>0;var E;for(let[D,O]of Object.entries((E=T?.values)!==null&&E!==void 0?E:{})){if(O==null)continue;let j=(0,og.formatClass)(S,D);if(m.push(C?[j,x]:j),T?.supportsNegativeValues&&(0,eQe.default)(O)){let k=(0,og.formatClass)(S,`-${D}`);I.push(C?[k,x]:k)}}m.push(...I)}else m.push(A);return m},t.getVariants=function(){let h=Math.random().toString(36).substring(7).toUpperCase(),m=[];for(let[y,_]of t.variantOptions.entries())if(_.variantInfo!==dO.Base){var g;m.push({name:y,isArbitrary:_.type===Symbol.for("MATCH_VARIANT"),values:Object.keys((g=_.values)!==null&&g!==void 0?g:{}),hasDash:y!=="@",selectors({modifier:E,value:A}={}){let S=`TAILWINDPLACEHOLDER${h}`,T=lg.default.rule({selector:`.${S}`}),I=lg.default.root({nodes:[T.clone()]}),L=I.toString();var x;let C=((x=t.variantMap.get(y))!==null&&x!==void 0?x:[]).flatMap(([ne,K])=>K),D=[];for(let ne of C){var O;let K=[];var j;let q={args:{modifier:E,value:(j=(O=_.values)===null||O===void 0?void 0:O[A])!==null&&j!==void 0?j:A},separator:t.tailwindConfig.separator,modifySelectors(z){return I.each(ie=>{ie.type==="rule"&&(ie.selectors=ie.selectors.map(_e=>z({get className(){return(0,Iue.getClassNameFromSelector)(_e)},selector:_e})))}),I},format(z){K.push(z)},wrap(z){K.push(`@${z.name} ${z.params} { & }`)},container:I},Q=ne(q);if(K.length>0&&D.push(K),Array.isArray(Q))for(let z of Q)K=[],z(q),D.push(K)}let k=[],$=I.toString();L!==$&&(I.walkRules(ne=>{let K=ne.selector,q=(0,Tue.default)(Q=>{Q.walkClasses(z=>{z.value=`${y}${t.tailwindConfig.separator}${z.value}`})}).processSync(K);k.push(K.replace(q,"&").replace(S,"&"))}),I.walkAtRules(ne=>{k.push(`@${ne.name} (${ne.params}) { & }`)}));var U;let F=!(A in((U=_.values)!==null&&U!==void 0?U:{}));var P;let W=(P=_[xue])!==null&&P!==void 0?P:{},Z=!(F||W.respectPrefix===!1);D=D.map(ne=>ne.map(K=>({format:K,respectPrefix:Z}))),k=k.map(ne=>({format:ne,respectPrefix:Z}));let ee={candidate:S,context:t},J=D.map(ne=>(0,cO.finalizeSelector)(`.${S}`,(0,cO.formatVariantSelector)(ne,ee),ee).replace(`.${S}`,"&").replace("{ & }","").trim());return k.length>0&&J.push((0,cO.formatVariantSelector)(k,ee).toString().replace(`.${S}`,"&")),J}})}return m}}function wue(e,t){e.classCache.has(t)&&(e.notClassCache.add(t),e.classCache.delete(t),e.applyClassCache.delete(t),e.candidateRuleMap.delete(t),e.candidateRuleCache.delete(t),e.stylesheetCache=null)}function pQe(e,t){let n=t.raws.tailwind.candidate;if(n){for(let i of e.ruleCache)i[1].raws.tailwind.candidate===n&&e.ruleCache.delete(i);wue(e,n)}}function kue(e,t=[],n=lg.default.root()){var i;let o={disposables:[],ruleCache:new Set,candidateRuleCache:new Map,classCache:new Map,applyClassCache:new Map,notClassCache:new Set((i=e.blocklist)!==null&&i!==void 0?i:[]),postCssNodeCache:new Map,candidateRuleMap:new Map,tailwindConfig:e,changedContent:t,variantMap:new Map,stylesheetCache:null,variantOptions:new Map,markInvalidUtilityCandidate:c=>wue(o,c),markInvalidUtilityNode:c=>pQe(o,c)},r=uQe(o,n);return HQe(r,o),o}var Sm=eH.contextMap,ag=eH.configContextMap,fd=eH.contextSourcesMap;function dQe(e,t,n,i,o,r){let c=t.opts.from,s=i!==null;eH.env.DEBUG&&console.log("Source path:",c);let u;if(s&&Sm.has(c))u=Sm.get(c);else if(ag.has(o)){let p=ag.get(o);fd.get(p).add(c),Sm.set(c,p),u=p}let H=(0,tQe.hasContentChanged)(c,e);if(u){let[p,d]=Lue([...r],hO(u));if(!p&&!H)return[u,!1,d]}if(Sm.has(c)){let p=Sm.get(c);if(fd.has(p)&&(fd.get(p).delete(c),fd.get(p).size===0)){fd.delete(p);for(let[d,h]of ag)h===p&&ag.delete(d);for(let d of p.disposables.splice(0))d(p)}}eH.env.DEBUG&&console.log("Setting up new context...");let a=kue(n,[],e);Object.assign(a,{userConfigPath:i});let[,l]=Lue([...r],hO(a));return ag.set(o,a),Sm.set(c,a),fd.has(a)||fd.set(a,new Set),fd.get(a).add(c),[a,!0,l]}});var Nue=Le(mO=>{"use strict";Object.defineProperty(mO,"__esModule",{value:!0});Object.defineProperty(mO,"default",{enumerable:!0,get:function(){return fQe}});function fQe(e){return e.ignore?[]:e.glob?process.env.ROLLUP_WATCH==="true"?[{type:"dependency",file:e.base}]:[{type:"dir-dependency",dir:e.base,glob:e.glob}]:[{type:"dependency",file:e.base}]}});var $ue=Le(EO=>{"use strict";Object.defineProperty(EO,"__esModule",{value:!0});Object.defineProperty(EO,"validateConfig",{enumerable:!0,get:function(){return _Qe}});var Rue=hQe(ac());function hQe(e){return e&&e.__esModule?e:{default:e}}function _Qe(e){e.content.files.length===0&&Rue.default.warn("content-problems",["The `content` option in your Tailwind CSS configuration is missing or empty.","Configure your content sources or your generated CSS will be missing styles.","https://tailwindcss.com/docs/content-configuration"]);try{let t=Uw();e.plugins.includes(t)&&(Rue.default.warn("line-clamp-in-core",["As of Tailwind CSS v3.3, the `@tailwindcss/line-clamp` plugin is now included by default.","Remove it from the `plugins` array in your configuration to eliminate this warning."]),e.plugins=e.plugins.filter(n=>n!==t))}catch{}return e}});var Bue=Le((G$t,Mue)=>{Mue.exports=function(t){if(typeof t!="string"||t==="")return!1;for(var n;n=/(\\).|([@?!+*]\(.*\))/g.exec(t);){if(n[2])return!0;t=t.slice(n.index+n[0].length)}return!1}});var cg=Le((X$t,Fue)=>{var mQe=Bue(),Oue={"{":"}","(":")","[":"]"},EQe=function(e){if(e[0]==="!")return!0;for(var t=0,n=-2,i=-2,o=-2,r=-2,c=-2;t<e.length;){if(e[t]==="*"||e[t+1]==="?"&&/[\].+)]/.test(e[t])||i!==-1&&e[t]==="["&&e[t+1]!=="]"&&(i<t&&(i=e.indexOf("]",t)),i>t&&(c===-1||c>i||(c=e.indexOf("\\",t),c===-1||c>i)))||o!==-1&&e[t]==="{"&&e[t+1]!=="}"&&(o=e.indexOf("}",t),o>t&&(c=e.indexOf("\\",t),c===-1||c>o))||r!==-1&&e[t]==="("&&e[t+1]==="?"&&/[:!=]/.test(e[t+2])&&e[t+3]!==")"&&(r=e.indexOf(")",t),r>t&&(c=e.indexOf("\\",t),c===-1||c>r))||n!==-1&&e[t]==="("&&e[t+1]!=="|"&&(n<t&&(n=e.indexOf("|",t)),n!==-1&&e[n+1]!==")"&&(r=e.indexOf(")",n),r>n&&(c=e.indexOf("\\",n),c===-1||c>r))))return!0;if(e[t]==="\\"){var s=e[t+1];t+=2;var u=Oue[s];if(u){var H=e.indexOf(u,t);H!==-1&&(t=H+1)}if(e[t]==="!")return!0}else t++}return!1},yQe=function(e){if(e[0]==="!")return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if(e[t]==="\\"){var n=e[t+1];t+=2;var i=Oue[n];if(i){var o=e.indexOf(i,t);o!==-1&&(t=o+1)}if(e[t]==="!")return!0}else t++}return!1};Fue.exports=function(t,n){if(typeof t!="string"||t==="")return!1;if(mQe(t))return!0;var i=EQe;return n&&n.strict===!1&&(i=yQe),i(t)}});var jue=Le(Tm=>{"use strict";Object.defineProperty(Tm,"__esModule",{value:!0});Tm.splitWhen=Tm.flatten=void 0;function gQe(e){return e.reduce((t,n)=>[].concat(t,n),[])}Tm.flatten=gQe;function bQe(e,t){let n=[[]],i=0;for(let o of e)t(o)?(i++,n[i]=[]):n[i].push(o);return n}Tm.splitWhen=bQe});var Uue=Le(XT=>{"use strict";Object.defineProperty(XT,"__esModule",{value:!0});XT.isEnoentCodeError=void 0;function AQe(e){return e.code==="ENOENT"}XT.isEnoentCodeError=AQe});var que=Le(ZT=>{"use strict";Object.defineProperty(ZT,"__esModule",{value:!0});ZT.createDirentFromStats=void 0;var yO=class{constructor(t,n){this.name=t,this.isBlockDevice=n.isBlockDevice.bind(n),this.isCharacterDevice=n.isCharacterDevice.bind(n),this.isDirectory=n.isDirectory.bind(n),this.isFIFO=n.isFIFO.bind(n),this.isFile=n.isFile.bind(n),this.isSocket=n.isSocket.bind(n),this.isSymbolicLink=n.isSymbolicLink.bind(n)}};function IQe(e,t){return new yO(e,t)}ZT.createDirentFromStats=IQe});var Gue=Le(za=>{"use strict";Object.defineProperty(za,"__esModule",{value:!0});za.convertPosixPathToPattern=za.convertWindowsPathToPattern=za.convertPathToPattern=za.escapePosixPath=za.escapeWindowsPath=za.escape=za.removeLeadingDotSegment=za.makeAbsolute=za.unixify=void 0;var SQe=require("os"),LQe=require("path"),Wue=SQe.platform()==="win32",TQe=2,vQe=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,CQe=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,xQe=/^\\\\([.?])/,DQe=/\\(?![!()+@[\]{}])/g;function PQe(e){return e.replace(/\\/g,"/")}za.unixify=PQe;function wQe(e,t){return LQe.resolve(e,t)}za.makeAbsolute=wQe;function kQe(e){if(e.charAt(0)==="."){let t=e.charAt(1);if(t==="/"||t==="\\")return e.slice(TQe)}return e}za.removeLeadingDotSegment=kQe;za.escape=Wue?gO:bO;function gO(e){return e.replace(CQe,"\\$2")}za.escapeWindowsPath=gO;function bO(e){return e.replace(vQe,"\\$2")}za.escapePosixPath=bO;za.convertPathToPattern=Wue?Vue:Kue;function Vue(e){return gO(e).replace(xQe,"//$1").replace(DQe,"/")}za.convertWindowsPathToPattern=Vue;function Kue(e){return bO(e)}za.convertPosixPathToPattern=Kue});var IO=Le((Y$t,Xue)=>{"use strict";var NQe=cg(),RQe=require("path").posix.dirname,$Qe=require("os").platform()==="win32",AO="/",MQe=/\\/g,BQe=/[\{\[].*[\}\]]$/,OQe=/(^|[^\\])([\{\[]|\([^\)]+$)/,FQe=/\\([\!\*\?\|\[\]\(\)\{\}])/g;Xue.exports=function(t,n){var i=Object.assign({flipBackslashes:!0},n);i.flipBackslashes&&$Qe&&t.indexOf(AO)<0&&(t=t.replace(MQe,AO)),BQe.test(t)&&(t+=AO),t+="a";do t=RQe(t);while(NQe(t)||OQe.test(t));return t.replace(FQe,"$1")}});var ug=Le((eMt,Yue)=>{"use strict";var jQe=require("path"),tH="\\\\/",Zue=`[^${tH}]`,tp="\\.",UQe="\\+",qQe="\\?",zT="\\/",WQe="(?=.)",zue="[^/]",SO=`(?:${zT}|$)`,Jue=`(?:^|${zT})`,LO=`${tp}{1,2}${SO}`,VQe=`(?!${tp})`,KQe=`(?!${Jue}${LO})`,GQe=`(?!${tp}{0,1}${SO})`,XQe=`(?!${LO})`,ZQe=`[^.${zT}]`,zQe=`${zue}*?`,Que={DOT_LITERAL:tp,PLUS_LITERAL:UQe,QMARK_LITERAL:qQe,SLASH_LITERAL:zT,ONE_CHAR:WQe,QMARK:zue,END_ANCHOR:SO,DOTS_SLASH:LO,NO_DOT:VQe,NO_DOTS:KQe,NO_DOT_SLASH:GQe,NO_DOTS_SLASH:XQe,QMARK_NO_DOT:ZQe,STAR:zQe,START_ANCHOR:Jue},JQe={...Que,SLASH_LITERAL:`[${tH}]`,QMARK:Zue,STAR:`${Zue}*?`,DOTS_SLASH:`${tp}{1,2}(?:[${tH}]|$)`,NO_DOT:`(?!${tp})`,NO_DOTS:`(?!(?:^|[${tH}])${tp}{1,2}(?:[${tH}]|$))`,NO_DOT_SLASH:`(?!${tp}{0,1}(?:[${tH}]|$))`,NO_DOTS_SLASH:`(?!${tp}{1,2}(?:[${tH}]|$))`,QMARK_NO_DOT:`[^.${tH}]`,START_ANCHOR:`(?:^|[${tH}])`,END_ANCHOR:`(?:[${tH}]|$)`},QQe={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};Yue.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:QQe,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:jQe.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===!0?JQe:Que}}});var Hg=Le(Ll=>{"use strict";var YQe=require("path"),eYe=process.platform==="win32",{REGEX_BACKSLASH:tYe,REGEX_REMOVE_BACKSLASH:rYe,REGEX_SPECIAL_CHARS:nYe,REGEX_SPECIAL_CHARS_GLOBAL:iYe}=ug();Ll.isObject=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);Ll.hasRegexChars=e=>nYe.test(e);Ll.isRegexChar=e=>e.length===1&&Ll.hasRegexChars(e);Ll.escapeRegex=e=>e.replace(iYe,"\\$1");Ll.toPosixSlashes=e=>e.replace(tYe,"/");Ll.removeBackslashes=e=>e.replace(rYe,t=>t==="\\"?"":t);Ll.supportsLookbehinds=()=>{let e=process.version.slice(1).split(".").map(Number);return e.length===3&&e[0]>=9||e[0]===8&&e[1]>=10};Ll.isWindows=e=>e&&typeof e.windows=="boolean"?e.windows:eYe===!0||YQe.sep==="\\";Ll.escapeLast=(e,t,n)=>{let i=e.lastIndexOf(t,n);return i===-1?e:e[i-1]==="\\"?Ll.escapeLast(e,t,i-1):`${e.slice(0,i)}\\${e.slice(i)}`};Ll.removePrefix=(e,t={})=>{let n=e;return n.startsWith("./")&&(n=n.slice(2),t.prefix="./"),n};Ll.wrapOutput=(e,t={},n={})=>{let i=n.contains?"":"^",o=n.contains?"":"$",r=`${i}(?:${e})${o}`;return t.negated===!0&&(r=`(?:^(?!${r}).*$)`),r}});var oHe=Le((rMt,aHe)=>{"use strict";var eHe=Hg(),{CHAR_ASTERISK:TO,CHAR_AT:sYe,CHAR_BACKWARD_SLASH:pg,CHAR_COMMA:aYe,CHAR_DOT:vO,CHAR_EXCLAMATION_MARK:CO,CHAR_FORWARD_SLASH:sHe,CHAR_LEFT_CURLY_BRACE:xO,CHAR_LEFT_PARENTHESES:DO,CHAR_LEFT_SQUARE_BRACKET:oYe,CHAR_PLUS:lYe,CHAR_QUESTION_MARK:tHe,CHAR_RIGHT_CURLY_BRACE:cYe,CHAR_RIGHT_PARENTHESES:rHe,CHAR_RIGHT_SQUARE_BRACKET:uYe}=ug(),nHe=e=>e===sHe||e===pg,iHe=e=>{e.isPrefix!==!0&&(e.depth=e.isGlobstar?1/0:1)},HYe=(e,t)=>{let n=t||{},i=e.length-1,o=n.parts===!0||n.scanToEnd===!0,r=[],c=[],s=[],u=e,H=-1,a=0,l=0,p=!1,d=!1,h=!1,m=!1,g=!1,y=!1,_=!1,E=!1,A=!1,S=!1,T=0,I,L,x={value:"",depth:0,isGlob:!1},C=()=>H>=i,D=()=>u.charCodeAt(H+1),O=()=>(I=L,u.charCodeAt(++H));for(;H<i;){L=O();let F;if(L===pg){_=x.backslashes=!0,L=O(),L===xO&&(y=!0);continue}if(y===!0||L===xO){for(T++;C()!==!0&&(L=O());){if(L===pg){_=x.backslashes=!0,O();continue}if(L===xO){T++;continue}if(y!==!0&&L===vO&&(L=O())===vO){if(p=x.isBrace=!0,h=x.isGlob=!0,S=!0,o===!0)continue;break}if(y!==!0&&L===aYe){if(p=x.isBrace=!0,h=x.isGlob=!0,S=!0,o===!0)continue;break}if(L===cYe&&(T--,T===0)){y=!1,p=x.isBrace=!0,S=!0;break}}if(o===!0)continue;break}if(L===sHe){if(r.push(H),c.push(x),x={value:"",depth:0,isGlob:!1},S===!0)continue;if(I===vO&&H===a+1){a+=2;continue}l=H+1;continue}if(n.noext!==!0&&(L===lYe||L===sYe||L===TO||L===tHe||L===CO)===!0&&D()===DO){if(h=x.isGlob=!0,m=x.isExtglob=!0,S=!0,L===CO&&H===a&&(A=!0),o===!0){for(;C()!==!0&&(L=O());){if(L===pg){_=x.backslashes=!0,L=O();continue}if(L===rHe){h=x.isGlob=!0,S=!0;break}}continue}break}if(L===TO){if(I===TO&&(g=x.isGlobstar=!0),h=x.isGlob=!0,S=!0,o===!0)continue;break}if(L===tHe){if(h=x.isGlob=!0,S=!0,o===!0)continue;break}if(L===oYe){for(;C()!==!0&&(F=O());){if(F===pg){_=x.backslashes=!0,O();continue}if(F===uYe){d=x.isBracket=!0,h=x.isGlob=!0,S=!0;break}}if(o===!0)continue;break}if(n.nonegate!==!0&&L===CO&&H===a){E=x.negated=!0,a++;continue}if(n.noparen!==!0&&L===DO){if(h=x.isGlob=!0,o===!0){for(;C()!==!0&&(L=O());){if(L===DO){_=x.backslashes=!0,L=O();continue}if(L===rHe){S=!0;break}}continue}break}if(h===!0){if(S=!0,o===!0)continue;break}}n.noext===!0&&(m=!1,h=!1);let j=u,k="",$="";a>0&&(k=u.slice(0,a),u=u.slice(a),l-=a),j&&h===!0&&l>0?(j=u.slice(0,l),$=u.slice(l)):h===!0?(j="",$=u):j=u,j&&j!==""&&j!=="/"&&j!==u&&nHe(j.charCodeAt(j.length-1))&&(j=j.slice(0,-1)),n.unescape===!0&&($&&($=eHe.removeBackslashes($)),j&&_===!0&&(j=eHe.removeBackslashes(j)));let U={prefix:k,input:e,start:a,base:j,glob:$,isBrace:p,isBracket:d,isGlob:h,isExtglob:m,isGlobstar:g,negated:E,negatedExtglob:A};if(n.tokens===!0&&(U.maxDepth=0,nHe(L)||c.push(x),U.tokens=c),n.parts===!0||n.tokens===!0){let F;for(let P=0;P<r.length;P++){let W=F?F+1:a,Z=r[P],ee=e.slice(W,Z);n.tokens&&(P===0&&a!==0?(c[P].isPrefix=!0,c[P].value=k):c[P].value=ee,iHe(c[P]),U.maxDepth+=c[P].depth),(P!==0||ee!=="")&&s.push(ee),F=Z}if(F&&F+1<e.length){let P=e.slice(F+1);s.push(P),n.tokens&&(c[c.length-1].value=P,iHe(c[c.length-1]),U.maxDepth+=c[c.length-1].depth)}U.slashes=r,U.parts=s}return U};aHe.exports=HYe});var uHe=Le((nMt,cHe)=>{"use strict";var JT=ug(),Gl=Hg(),{MAX_LENGTH:QT,POSIX_REGEX_SOURCE:pYe,REGEX_NON_SPECIAL_CHARS:dYe,REGEX_SPECIAL_CHARS_BACKREF:fYe,REPLACEMENTS:lHe}=JT,hYe=(e,t)=>{if(typeof t.expandRange=="function")return t.expandRange(...e,t);e.sort();let n=`[${e.join("-")}]`;try{new RegExp(n)}catch{return e.map(o=>Gl.escapeRegex(o)).join("..")}return n},vm=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,PO=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");e=lHe[e]||e;let n={...t},i=typeof n.maxLength=="number"?Math.min(QT,n.maxLength):QT,o=e.length;if(o>i)throw new SyntaxError(`Input length: ${o}, exceeds maximum allowed length: ${i}`);let r={type:"bos",value:"",output:n.prepend||""},c=[r],s=n.capture?"":"?:",u=Gl.isWindows(t),H=JT.globChars(u),a=JT.extglobChars(H),{DOT_LITERAL:l,PLUS_LITERAL:p,SLASH_LITERAL:d,ONE_CHAR:h,DOTS_SLASH:m,NO_DOT:g,NO_DOT_SLASH:y,NO_DOTS_SLASH:_,QMARK:E,QMARK_NO_DOT:A,STAR:S,START_ANCHOR:T}=H,I=_e=>`(${s}(?:(?!${T}${_e.dot?m:l}).)*?)`,L=n.dot?"":g,x=n.dot?E:A,C=n.bash===!0?I(n):S;n.capture&&(C=`(${C})`),typeof n.noext=="boolean"&&(n.noextglob=n.noext);let D={input:e,index:-1,start:0,dot:n.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:c};e=Gl.removePrefix(e,D),o=e.length;let O=[],j=[],k=[],$=r,U,F=()=>D.index===o-1,P=D.peek=(_e=1)=>e[D.index+_e],W=D.advance=()=>e[++D.index]||"",Z=()=>e.slice(D.index+1),ee=(_e="",He=0)=>{D.consumed+=_e,D.index+=He},J=_e=>{D.output+=_e.output!=null?_e.output:_e.value,ee(_e.value)},ne=()=>{let _e=1;for(;P()==="!"&&(P(2)!=="("||P(3)==="?");)W(),D.start++,_e++;return _e%2===0?!1:(D.negated=!0,D.start++,!0)},K=_e=>{D[_e]++,k.push(_e)},q=_e=>{D[_e]--,k.pop()},Q=_e=>{if($.type==="globstar"){let He=D.braces>0&&(_e.type==="comma"||_e.type==="brace"),be=_e.extglob===!0||O.length&&(_e.type==="pipe"||_e.type==="paren");_e.type!=="slash"&&_e.type!=="paren"&&!He&&!be&&(D.output=D.output.slice(0,-$.output.length),$.type="star",$.value="*",$.output=C,D.output+=$.output)}if(O.length&&_e.type!=="paren"&&(O[O.length-1].inner+=_e.value),(_e.value||_e.output)&&J(_e),$&&$.type==="text"&&_e.type==="text"){$.value+=_e.value,$.output=($.output||"")+_e.value;return}_e.prev=$,c.push(_e),$=_e},z=(_e,He)=>{let be={...a[He],conditions:1,inner:""};be.prev=$,be.parens=D.parens,be.output=D.output;let Ve=(n.capture?"(":"")+be.open;K("parens"),Q({type:_e,value:He,output:D.output?"":h}),Q({type:"paren",extglob:!0,value:W(),output:Ve}),O.push(be)},ie=_e=>{let He=_e.close+(n.capture?")":""),be;if(_e.type==="negate"){let Ve=C;if(_e.inner&&_e.inner.length>1&&_e.inner.includes("/")&&(Ve=I(n)),(Ve!==C||F()||/^\)+$/.test(Z()))&&(He=_e.close=`)$))${Ve}`),_e.inner.includes("*")&&(be=Z())&&/^\.[^\\/.]+$/.test(be)){let Fe=PO(be,{...t,fastpaths:!1}).output;He=_e.close=`)${Fe})${Ve})`}_e.prev.type==="bos"&&(D.negatedExtglob=!0)}Q({type:"paren",extglob:!0,value:U,output:He}),q("parens")};if(n.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(e)){let _e=!1,He=e.replace(fYe,(be,Ve,Fe,me,ce,ke)=>me==="\\"?(_e=!0,be):me==="?"?Ve?Ve+me+(ce?E.repeat(ce.length):""):ke===0?x+(ce?E.repeat(ce.length):""):E.repeat(Fe.length):me==="."?l.repeat(Fe.length):me==="*"?Ve?Ve+me+(ce?C:""):C:Ve?be:`\\${be}`);return _e===!0&&(n.unescape===!0?He=He.replace(/\\/g,""):He=He.replace(/\\+/g,be=>be.length%2===0?"\\\\":be?"\\":"")),He===e&&n.contains===!0?(D.output=e,D):(D.output=Gl.wrapOutput(He,D,t),D)}for(;!F();){if(U=W(),U==="\0")continue;if(U==="\\"){let be=P();if(be==="/"&&n.bash!==!0||be==="."||be===";")continue;if(!be){U+="\\",Q({type:"text",value:U});continue}let Ve=/^\\+/.exec(Z()),Fe=0;if(Ve&&Ve[0].length>2&&(Fe=Ve[0].length,D.index+=Fe,Fe%2!==0&&(U+="\\")),n.unescape===!0?U=W():U+=W(),D.brackets===0){Q({type:"text",value:U});continue}}if(D.brackets>0&&(U!=="]"||$.value==="["||$.value==="[^")){if(n.posix!==!1&&U===":"){let be=$.value.slice(1);if(be.includes("[")&&($.posix=!0,be.includes(":"))){let Ve=$.value.lastIndexOf("["),Fe=$.value.slice(0,Ve),me=$.value.slice(Ve+2),ce=pYe[me];if(ce){$.value=Fe+ce,D.backtrack=!0,W(),!r.output&&c.indexOf($)===1&&(r.output=h);continue}}}(U==="["&&P()!==":"||U==="-"&&P()==="]")&&(U=`\\${U}`),U==="]"&&($.value==="["||$.value==="[^")&&(U=`\\${U}`),n.posix===!0&&U==="!"&&$.value==="["&&(U="^"),$.value+=U,J({value:U});continue}if(D.quotes===1&&U!=='"'){U=Gl.escapeRegex(U),$.value+=U,J({value:U});continue}if(U==='"'){D.quotes=D.quotes===1?0:1,n.keepQuotes===!0&&Q({type:"text",value:U});continue}if(U==="("){K("parens"),Q({type:"paren",value:U});continue}if(U===")"){if(D.parens===0&&n.strictBrackets===!0)throw new SyntaxError(vm("opening","("));let be=O[O.length-1];if(be&&D.parens===be.parens+1){ie(O.pop());continue}Q({type:"paren",value:U,output:D.parens?")":"\\)"}),q("parens");continue}if(U==="["){if(n.nobracket===!0||!Z().includes("]")){if(n.nobracket!==!0&&n.strictBrackets===!0)throw new SyntaxError(vm("closing","]"));U=`\\${U}`}else K("brackets");Q({type:"bracket",value:U});continue}if(U==="]"){if(n.nobracket===!0||$&&$.type==="bracket"&&$.value.length===1){Q({type:"text",value:U,output:`\\${U}`});continue}if(D.brackets===0){if(n.strictBrackets===!0)throw new SyntaxError(vm("opening","["));Q({type:"text",value:U,output:`\\${U}`});continue}q("brackets");let be=$.value.slice(1);if($.posix!==!0&&be[0]==="^"&&!be.includes("/")&&(U=`/${U}`),$.value+=U,J({value:U}),n.literalBrackets===!1||Gl.hasRegexChars(be))continue;let Ve=Gl.escapeRegex($.value);if(D.output=D.output.slice(0,-$.value.length),n.literalBrackets===!0){D.output+=Ve,$.value=Ve;continue}$.value=`(${s}${Ve}|${$.value})`,D.output+=$.value;continue}if(U==="{"&&n.nobrace!==!0){K("braces");let be={type:"brace",value:U,output:"(",outputIndex:D.output.length,tokensIndex:D.tokens.length};j.push(be),Q(be);continue}if(U==="}"){let be=j[j.length-1];if(n.nobrace===!0||!be){Q({type:"text",value:U,output:U});continue}let Ve=")";if(be.dots===!0){let Fe=c.slice(),me=[];for(let ce=Fe.length-1;ce>=0&&(c.pop(),Fe[ce].type!=="brace");ce--)Fe[ce].type!=="dots"&&me.unshift(Fe[ce].value);Ve=hYe(me,n),D.backtrack=!0}if(be.comma!==!0&&be.dots!==!0){let Fe=D.output.slice(0,be.outputIndex),me=D.tokens.slice(be.tokensIndex);be.value=be.output="\\{",U=Ve="\\}",D.output=Fe;for(let ce of me)D.output+=ce.output||ce.value}Q({type:"brace",value:U,output:Ve}),q("braces"),j.pop();continue}if(U==="|"){O.length>0&&O[O.length-1].conditions++,Q({type:"text",value:U});continue}if(U===","){let be=U,Ve=j[j.length-1];Ve&&k[k.length-1]==="braces"&&(Ve.comma=!0,be="|"),Q({type:"comma",value:U,output:be});continue}if(U==="/"){if($.type==="dot"&&D.index===D.start+1){D.start=D.index+1,D.consumed="",D.output="",c.pop(),$=r;continue}Q({type:"slash",value:U,output:d});continue}if(U==="."){if(D.braces>0&&$.type==="dot"){$.value==="."&&($.output=l);let be=j[j.length-1];$.type="dots",$.output+=U,$.value+=U,be.dots=!0;continue}if(D.braces+D.parens===0&&$.type!=="bos"&&$.type!=="slash"){Q({type:"text",value:U,output:l});continue}Q({type:"dot",value:U,output:l});continue}if(U==="?"){if(!($&&$.value==="(")&&n.noextglob!==!0&&P()==="("&&P(2)!=="?"){z("qmark",U);continue}if($&&$.type==="paren"){let Ve=P(),Fe=U;if(Ve==="<"&&!Gl.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");($.value==="("&&!/[!=<:]/.test(Ve)||Ve==="<"&&!/<([!=]|\w+>)/.test(Z()))&&(Fe=`\\${U}`),Q({type:"text",value:U,output:Fe});continue}if(n.dot!==!0&&($.type==="slash"||$.type==="bos")){Q({type:"qmark",value:U,output:A});continue}Q({type:"qmark",value:U,output:E});continue}if(U==="!"){if(n.noextglob!==!0&&P()==="("&&(P(2)!=="?"||!/[!=<:]/.test(P(3)))){z("negate",U);continue}if(n.nonegate!==!0&&D.index===0){ne();continue}}if(U==="+"){if(n.noextglob!==!0&&P()==="("&&P(2)!=="?"){z("plus",U);continue}if($&&$.value==="("||n.regex===!1){Q({type:"plus",value:U,output:p});continue}if($&&($.type==="bracket"||$.type==="paren"||$.type==="brace")||D.parens>0){Q({type:"plus",value:U});continue}Q({type:"plus",value:p});continue}if(U==="@"){if(n.noextglob!==!0&&P()==="("&&P(2)!=="?"){Q({type:"at",extglob:!0,value:U,output:""});continue}Q({type:"text",value:U});continue}if(U!=="*"){(U==="$"||U==="^")&&(U=`\\${U}`);let be=dYe.exec(Z());be&&(U+=be[0],D.index+=be[0].length),Q({type:"text",value:U});continue}if($&&($.type==="globstar"||$.star===!0)){$.type="star",$.star=!0,$.value+=U,$.output=C,D.backtrack=!0,D.globstar=!0,ee(U);continue}let _e=Z();if(n.noextglob!==!0&&/^\([^?]/.test(_e)){z("star",U);continue}if($.type==="star"){if(n.noglobstar===!0){ee(U);continue}let be=$.prev,Ve=be.prev,Fe=be.type==="slash"||be.type==="bos",me=Ve&&(Ve.type==="star"||Ve.type==="globstar");if(n.bash===!0&&(!Fe||_e[0]&&_e[0]!=="/")){Q({type:"star",value:U,output:""});continue}let ce=D.braces>0&&(be.type==="comma"||be.type==="brace"),ke=O.length&&(be.type==="pipe"||be.type==="paren");if(!Fe&&be.type!=="paren"&&!ce&&!ke){Q({type:"star",value:U,output:""});continue}for(;_e.slice(0,3)==="/**";){let je=e[D.index+4];if(je&&je!=="/")break;_e=_e.slice(3),ee("/**",3)}if(be.type==="bos"&&F()){$.type="globstar",$.value+=U,$.output=I(n),D.output=$.output,D.globstar=!0,ee(U);continue}if(be.type==="slash"&&be.prev.type!=="bos"&&!me&&F()){D.output=D.output.slice(0,-(be.output+$.output).length),be.output=`(?:${be.output}`,$.type="globstar",$.output=I(n)+(n.strictSlashes?")":"|$)"),$.value+=U,D.globstar=!0,D.output+=be.output+$.output,ee(U);continue}if(be.type==="slash"&&be.prev.type!=="bos"&&_e[0]==="/"){let je=_e[1]!==void 0?"|$":"";D.output=D.output.slice(0,-(be.output+$.output).length),be.output=`(?:${be.output}`,$.type="globstar",$.output=`${I(n)}${d}|${d}${je})`,$.value+=U,D.output+=be.output+$.output,D.globstar=!0,ee(U+W()),Q({type:"slash",value:"/",output:""});continue}if(be.type==="bos"&&_e[0]==="/"){$.type="globstar",$.value+=U,$.output=`(?:^|${d}|${I(n)}${d})`,D.output=$.output,D.globstar=!0,ee(U+W()),Q({type:"slash",value:"/",output:""});continue}D.output=D.output.slice(0,-$.output.length),$.type="globstar",$.output=I(n),$.value+=U,D.output+=$.output,D.globstar=!0,ee(U);continue}let He={type:"star",value:U,output:C};if(n.bash===!0){He.output=".*?",($.type==="bos"||$.type==="slash")&&(He.output=L+He.output),Q(He);continue}if($&&($.type==="bracket"||$.type==="paren")&&n.regex===!0){He.output=U,Q(He);continue}(D.index===D.start||$.type==="slash"||$.type==="dot")&&($.type==="dot"?(D.output+=y,$.output+=y):n.dot===!0?(D.output+=_,$.output+=_):(D.output+=L,$.output+=L),P()!=="*"&&(D.output+=h,$.output+=h)),Q(He)}for(;D.brackets>0;){if(n.strictBrackets===!0)throw new SyntaxError(vm("closing","]"));D.output=Gl.escapeLast(D.output,"["),q("brackets")}for(;D.parens>0;){if(n.strictBrackets===!0)throw new SyntaxError(vm("closing",")"));D.output=Gl.escapeLast(D.output,"("),q("parens")}for(;D.braces>0;){if(n.strictBrackets===!0)throw new SyntaxError(vm("closing","}"));D.output=Gl.escapeLast(D.output,"{"),q("braces")}if(n.strictSlashes!==!0&&($.type==="star"||$.type==="bracket")&&Q({type:"maybe_slash",value:"",output:`${d}?`}),D.backtrack===!0){D.output="";for(let _e of D.tokens)D.output+=_e.output!=null?_e.output:_e.value,_e.suffix&&(D.output+=_e.suffix)}return D};PO.fastpaths=(e,t)=>{let n={...t},i=typeof n.maxLength=="number"?Math.min(QT,n.maxLength):QT,o=e.length;if(o>i)throw new SyntaxError(`Input length: ${o}, exceeds maximum allowed length: ${i}`);e=lHe[e]||e;let r=Gl.isWindows(t),{DOT_LITERAL:c,SLASH_LITERAL:s,ONE_CHAR:u,DOTS_SLASH:H,NO_DOT:a,NO_DOTS:l,NO_DOTS_SLASH:p,STAR:d,START_ANCHOR:h}=JT.globChars(r),m=n.dot?l:a,g=n.dot?p:a,y=n.capture?"":"?:",_={negated:!1,prefix:""},E=n.bash===!0?".*?":d;n.capture&&(E=`(${E})`);let A=L=>L.noglobstar===!0?E:`(${y}(?:(?!${h}${L.dot?H:c}).)*?)`,S=L=>{switch(L){case"*":return`${m}${u}${E}`;case".*":return`${c}${u}${E}`;case"*.*":return`${m}${E}${c}${u}${E}`;case"*/*":return`${m}${E}${s}${u}${g}${E}`;case"**":return m+A(n);case"**/*":return`(?:${m}${A(n)}${s})?${g}${u}${E}`;case"**/*.*":return`(?:${m}${A(n)}${s})?${g}${E}${c}${u}${E}`;case"**/.*":return`(?:${m}${A(n)}${s})?${c}${u}${E}`;default:{let x=/^(.*?)\.(\w+)$/.exec(L);if(!x)return;let C=S(x[1]);return C?C+c+x[2]:void 0}}},T=Gl.removePrefix(e,_),I=S(T);return I&&n.strictSlashes!==!0&&(I+=`${s}?`),I};cHe.exports=PO});var pHe=Le((iMt,HHe)=>{"use strict";var _Ye=require("path"),mYe=oHe(),wO=uHe(),kO=Hg(),EYe=ug(),yYe=e=>e&&typeof e=="object"&&!Array.isArray(e),$a=(e,t,n=!1)=>{if(Array.isArray(e)){let a=e.map(p=>$a(p,t,n));return p=>{for(let d of a){let h=d(p);if(h)return h}return!1}}let i=yYe(e)&&e.tokens&&e.input;if(e===""||typeof e!="string"&&!i)throw new TypeError("Expected pattern to be a non-empty string");let o=t||{},r=kO.isWindows(t),c=i?$a.compileRe(e,t):$a.makeRe(e,t,!1,!0),s=c.state;delete c.state;let u=()=>!1;if(o.ignore){let a={...t,ignore:null,onMatch:null,onResult:null};u=$a(o.ignore,a,n)}let H=(a,l=!1)=>{let{isMatch:p,match:d,output:h}=$a.test(a,c,t,{glob:e,posix:r}),m={glob:e,state:s,regex:c,posix:r,input:a,output:h,match:d,isMatch:p};return typeof o.onResult=="function"&&o.onResult(m),p===!1?(m.isMatch=!1,l?m:!1):u(a)?(typeof o.onIgnore=="function"&&o.onIgnore(m),m.isMatch=!1,l?m:!1):(typeof o.onMatch=="function"&&o.onMatch(m),l?m:!0)};return n&&(H.state=s),H};$a.test=(e,t,n,{glob:i,posix:o}={})=>{if(typeof e!="string")throw new TypeError("Expected input to be a string");if(e==="")return{isMatch:!1,output:""};let r=n||{},c=r.format||(o?kO.toPosixSlashes:null),s=e===i,u=s&&c?c(e):e;return s===!1&&(u=c?c(e):e,s=u===i),(s===!1||r.capture===!0)&&(r.matchBase===!0||r.basename===!0?s=$a.matchBase(e,t,n,o):s=t.exec(u)),{isMatch:!!s,match:s,output:u}};$a.matchBase=(e,t,n,i=kO.isWindows(n))=>(t instanceof RegExp?t:$a.makeRe(t,n)).test(_Ye.basename(e));$a.isMatch=(e,t,n)=>$a(t,n)(e);$a.parse=(e,t)=>Array.isArray(e)?e.map(n=>$a.parse(n,t)):wO(e,{...t,fastpaths:!1});$a.scan=(e,t)=>mYe(e,t);$a.compileRe=(e,t,n=!1,i=!1)=>{if(n===!0)return e.output;let o=t||{},r=o.contains?"":"^",c=o.contains?"":"$",s=`${r}(?:${e.output})${c}`;e&&e.negated===!0&&(s=`^(?!${s}).*$`);let u=$a.toRegex(s,t);return i===!0&&(u.state=e),u};$a.makeRe=(e,t={},n=!1,i=!1)=>{if(!e||typeof e!="string")throw new TypeError("Expected a non-empty string");let o={negated:!1,fastpaths:!0};return t.fastpaths!==!1&&(e[0]==="."||e[0]==="*")&&(o.output=wO.fastpaths(e,t)),o.output||(o=wO(e,t)),$a.compileRe(o,t,n,i)};$a.toRegex=(e,t)=>{try{let n=t||{};return new RegExp(e,n.flags||(n.nocase?"i":""))}catch(n){if(t&&t.debug===!0)throw n;return/$^/}};$a.constants=EYe;HHe.exports=$a});var YT=Le((sMt,dHe)=>{"use strict";dHe.exports=pHe()});var RO=Le((aMt,EHe)=>{"use strict";var hHe=require("util"),_He=E0(),rH=YT(),NO=Hg(),fHe=e=>e===""||e==="./",mHe=e=>{let t=e.indexOf("{");return t>-1&&e.indexOf("}",t)>-1},ea=(e,t,n)=>{t=[].concat(t),e=[].concat(e);let i=new Set,o=new Set,r=new Set,c=0,s=a=>{r.add(a.output),n&&n.onResult&&n.onResult(a)};for(let a=0;a<t.length;a++){let l=rH(String(t[a]),{...n,onResult:s},!0),p=l.state.negated||l.state.negatedExtglob;p&&c++;for(let d of e){let h=l(d,!0);(p?!h.isMatch:h.isMatch)&&(p?i.add(h.output):(i.delete(h.output),o.add(h.output)))}}let H=(c===t.length?[...r]:[...o]).filter(a=>!i.has(a));if(n&&H.length===0){if(n.failglob===!0)throw new Error(`No matches found for "${t.join(", ")}"`);if(n.nonull===!0||n.nullglob===!0)return n.unescape?t.map(a=>a.replace(/\\/g,"")):t}return H};ea.match=ea;ea.matcher=(e,t)=>rH(e,t);ea.isMatch=(e,t,n)=>rH(t,n)(e);ea.any=ea.isMatch;ea.not=(e,t,n={})=>{t=[].concat(t).map(String);let i=new Set,o=[],r=s=>{n.onResult&&n.onResult(s),o.push(s.output)},c=new Set(ea(e,t,{...n,onResult:r}));for(let s of o)c.has(s)||i.add(s);return[...i]};ea.contains=(e,t,n)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${hHe.inspect(e)}"`);if(Array.isArray(t))return t.some(i=>ea.contains(e,i,n));if(typeof t=="string"){if(fHe(e)||fHe(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return ea.isMatch(e,t,{...n,contains:!0})};ea.matchKeys=(e,t,n)=>{if(!NO.isObject(e))throw new TypeError("Expected the first argument to be an object");let i=ea(Object.keys(e),t,n),o={};for(let r of i)o[r]=e[r];return o};ea.some=(e,t,n)=>{let i=[].concat(e);for(let o of[].concat(t)){let r=rH(String(o),n);if(i.some(c=>r(c)))return!0}return!1};ea.every=(e,t,n)=>{let i=[].concat(e);for(let o of[].concat(t)){let r=rH(String(o),n);if(!i.every(c=>r(c)))return!1}return!0};ea.all=(e,t,n)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${hHe.inspect(e)}"`);return[].concat(t).every(i=>rH(i,n)(e))};ea.capture=(e,t,n)=>{let i=NO.isWindows(n),r=rH.makeRe(String(e),{...n,capture:!0}).exec(i?NO.toPosixSlashes(t):t);if(r)return r.slice(1).map(c=>c===void 0?"":c)};ea.makeRe=(...e)=>rH.makeRe(...e);ea.scan=(...e)=>rH.scan(...e);ea.parse=(e,t)=>{let n=[];for(let i of[].concat(e||[]))for(let o of _He(String(i),t))n.push(rH.parse(o,t));return n};ea.braces=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return t&&t.nobrace===!0||!mHe(e)?[e]:_He(e,t)};ea.braceExpand=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return ea.braces(e,{...t,expand:!0})};ea.hasBraces=mHe;EHe.exports=ea});var THe=Le(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.removeDuplicateSlashes=qn.matchAny=qn.convertPatternsToRe=qn.makeRe=qn.getPatternParts=qn.expandBraceExpansion=qn.expandPatternsWithBraceExpansion=qn.isAffectDepthOfReadingPattern=qn.endsWithSlashGlobStar=qn.hasGlobStar=qn.getBaseDirectory=qn.isPatternRelatedToParentDirectory=qn.getPatternsOutsideCurrentDirectory=qn.getPatternsInsideCurrentDirectory=qn.getPositivePatterns=qn.getNegativePatterns=qn.isPositivePattern=qn.isNegativePattern=qn.convertToNegativePattern=qn.convertToPositivePattern=qn.isDynamicPattern=qn.isStaticPattern=void 0;var gYe=require("path"),bYe=IO(),$O=RO(),yHe="**",AYe="\\",IYe=/[*?]|^!/,SYe=/\[[^[]*]/,LYe=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,TYe=/[!*+?@]\([^(]*\)/,vYe=/,|\.\./,CYe=/(?!^)\/{2,}/g;function gHe(e,t={}){return!bHe(e,t)}qn.isStaticPattern=gHe;function bHe(e,t={}){return e===""?!1:!!(t.caseSensitiveMatch===!1||e.includes(AYe)||IYe.test(e)||SYe.test(e)||LYe.test(e)||t.extglob!==!1&&TYe.test(e)||t.braceExpansion!==!1&&xYe(e))}qn.isDynamicPattern=bHe;function xYe(e){let t=e.indexOf("{");if(t===-1)return!1;let n=e.indexOf("}",t+1);if(n===-1)return!1;let i=e.slice(t,n);return vYe.test(i)}function DYe(e){return ev(e)?e.slice(1):e}qn.convertToPositivePattern=DYe;function PYe(e){return"!"+e}qn.convertToNegativePattern=PYe;function ev(e){return e.startsWith("!")&&e[1]!=="("}qn.isNegativePattern=ev;function AHe(e){return!ev(e)}qn.isPositivePattern=AHe;function wYe(e){return e.filter(ev)}qn.getNegativePatterns=wYe;function kYe(e){return e.filter(AHe)}qn.getPositivePatterns=kYe;function NYe(e){return e.filter(t=>!MO(t))}qn.getPatternsInsideCurrentDirectory=NYe;function RYe(e){return e.filter(MO)}qn.getPatternsOutsideCurrentDirectory=RYe;function MO(e){return e.startsWith("..")||e.startsWith("./..")}qn.isPatternRelatedToParentDirectory=MO;function $Ye(e){return bYe(e,{flipBackslashes:!1})}qn.getBaseDirectory=$Ye;function MYe(e){return e.includes(yHe)}qn.hasGlobStar=MYe;function IHe(e){return e.endsWith("/"+yHe)}qn.endsWithSlashGlobStar=IHe;function BYe(e){let t=gYe.basename(e);return IHe(e)||gHe(t)}qn.isAffectDepthOfReadingPattern=BYe;function OYe(e){return e.reduce((t,n)=>t.concat(SHe(n)),[])}qn.expandPatternsWithBraceExpansion=OYe;function SHe(e){let t=$O.braces(e,{expand:!0,nodupes:!0,keepEscaping:!0});return t.sort((n,i)=>n.length-i.length),t.filter(n=>n!=="")}qn.expandBraceExpansion=SHe;function FYe(e,t){let{parts:n}=$O.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return n.length===0&&(n=[e]),n[0].startsWith("/")&&(n[0]=n[0].slice(1),n.unshift("")),n}qn.getPatternParts=FYe;function LHe(e,t){return $O.makeRe(e,t)}qn.makeRe=LHe;function jYe(e,t){return e.map(n=>LHe(n,t))}qn.convertPatternsToRe=jYe;function UYe(e,t){return t.some(n=>n.test(e))}qn.matchAny=UYe;function qYe(e){return e.replace(CYe,"/")}qn.removeDuplicateSlashes=qYe});var DHe=Le((lMt,xHe)=>{"use strict";var WYe=require("stream"),vHe=WYe.PassThrough,VYe=Array.prototype.slice;xHe.exports=KYe;function KYe(){let e=[],t=VYe.call(arguments),n=!1,i=t[t.length-1];i&&!Array.isArray(i)&&i.pipe==null?t.pop():i={};let o=i.end!==!1,r=i.pipeError===!0;i.objectMode==null&&(i.objectMode=!0),i.highWaterMark==null&&(i.highWaterMark=64*1024);let c=vHe(i);function s(){for(let a=0,l=arguments.length;a<l;a++)e.push(CHe(arguments[a],i));return u(),this}function u(){if(n)return;n=!0;let a=e.shift();if(!a){process.nextTick(H);return}Array.isArray(a)||(a=[a]);let l=a.length+1;function p(){--l>0||(n=!1,u())}function d(h){function m(){h.removeListener("merge2UnpipeEnd",m),h.removeListener("end",m),r&&h.removeListener("error",g),p()}function g(y){c.emit("error",y)}if(h._readableState.endEmitted)return p();h.on("merge2UnpipeEnd",m),h.on("end",m),r&&h.on("error",g),h.pipe(c,{end:!1}),h.resume()}for(let h=0;h<a.length;h++)d(a[h]);p()}function H(){n=!1,c.emit("queueDrain"),o&&c.end()}return c.setMaxListeners(0),c.add=s,c.on("unpipe",function(a){a.emit("merge2UnpipeEnd")}),t.length&&s.apply(null,t),c}function CHe(e,t){if(Array.isArray(e))for(let n=0,i=e.length;n<i;n++)e[n]=CHe(e[n],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(vHe(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}});var wHe=Le(tv=>{"use strict";Object.defineProperty(tv,"__esModule",{value:!0});tv.merge=void 0;var GYe=DHe();function XYe(e){let t=GYe(e);return e.forEach(n=>{n.once("error",i=>t.emit("error",i))}),t.once("close",()=>PHe(e)),t.once("end",()=>PHe(e)),t}tv.merge=XYe;function PHe(e){e.forEach(t=>t.emit("close"))}});var kHe=Le(Cm=>{"use strict";Object.defineProperty(Cm,"__esModule",{value:!0});Cm.isEmpty=Cm.isString=void 0;function ZYe(e){return typeof e=="string"}Cm.isString=ZYe;function zYe(e){return e===""}Cm.isEmpty=zYe});var rp=Le(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.string=Wo.stream=Wo.pattern=Wo.path=Wo.fs=Wo.errno=Wo.array=void 0;var JYe=jue();Wo.array=JYe;var QYe=Uue();Wo.errno=QYe;var YYe=que();Wo.fs=YYe;var eet=Gue();Wo.path=eet;var tet=THe();Wo.pattern=tet;var ret=wHe();Wo.stream=ret;var net=kHe();Wo.string=net});var MHe=Le(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.convertPatternGroupToTask=Vo.convertPatternGroupsToTasks=Vo.groupPatternsByBaseDirectory=Vo.getNegativePatternsAsPositive=Vo.getPositivePatterns=Vo.convertPatternsToTasks=Vo.generate=void 0;var uu=rp();function iet(e,t){let n=NHe(e,t),i=NHe(t.ignore,t),o=RHe(n),r=$He(n,i),c=o.filter(a=>uu.pattern.isStaticPattern(a,t)),s=o.filter(a=>uu.pattern.isDynamicPattern(a,t)),u=BO(c,r,!1),H=BO(s,r,!0);return u.concat(H)}Vo.generate=iet;function NHe(e,t){let n=e;return t.braceExpansion&&(n=uu.pattern.expandPatternsWithBraceExpansion(n)),t.baseNameMatch&&(n=n.map(i=>i.includes("/")?i:`**/${i}`)),n.map(i=>uu.pattern.removeDuplicateSlashes(i))}function BO(e,t,n){let i=[],o=uu.pattern.getPatternsOutsideCurrentDirectory(e),r=uu.pattern.getPatternsInsideCurrentDirectory(e),c=OO(o),s=OO(r);return i.push(...FO(c,t,n)),"."in s?i.push(jO(".",r,t,n)):i.push(...FO(s,t,n)),i}Vo.convertPatternsToTasks=BO;function RHe(e){return uu.pattern.getPositivePatterns(e)}Vo.getPositivePatterns=RHe;function $He(e,t){return uu.pattern.getNegativePatterns(e).concat(t).map(uu.pattern.convertToPositivePattern)}Vo.getNegativePatternsAsPositive=$He;function OO(e){let t={};return e.reduce((n,i)=>{let o=uu.pattern.getBaseDirectory(i);return o in n?n[o].push(i):n[o]=[i],n},t)}Vo.groupPatternsByBaseDirectory=OO;function FO(e,t,n){return Object.keys(e).map(i=>jO(i,e[i],t,n))}Vo.convertPatternGroupsToTasks=FO;function jO(e,t,n,i){return{dynamic:i,positive:t,negative:n,base:e,patterns:[].concat(t,n.map(uu.pattern.convertToNegativePattern))}}Vo.convertPatternGroupToTask=jO});var OHe=Le(rv=>{"use strict";Object.defineProperty(rv,"__esModule",{value:!0});rv.read=void 0;function set(e,t,n){t.fs.lstat(e,(i,o)=>{if(i!==null){BHe(n,i);return}if(!o.isSymbolicLink()||!t.followSymbolicLink){UO(n,o);return}t.fs.stat(e,(r,c)=>{if(r!==null){if(t.throwErrorOnBrokenSymbolicLink){BHe(n,r);return}UO(n,o);return}t.markSymbolicLink&&(c.isSymbolicLink=()=>!0),UO(n,c)})})}rv.read=set;function BHe(e,t){e(t)}function UO(e,t){e(null,t)}});var FHe=Le(nv=>{"use strict";Object.defineProperty(nv,"__esModule",{value:!0});nv.read=void 0;function aet(e,t){let n=t.fs.lstatSync(e);if(!n.isSymbolicLink()||!t.followSymbolicLink)return n;try{let i=t.fs.statSync(e);return t.markSymbolicLink&&(i.isSymbolicLink=()=>!0),i}catch(i){if(!t.throwErrorOnBrokenSymbolicLink)return n;throw i}}nv.read=aet});var jHe=Le(hd=>{"use strict";Object.defineProperty(hd,"__esModule",{value:!0});hd.createFileSystemAdapter=hd.FILE_SYSTEM_ADAPTER=void 0;var iv=require("fs");hd.FILE_SYSTEM_ADAPTER={lstat:iv.lstat,stat:iv.stat,lstatSync:iv.lstatSync,statSync:iv.statSync};function oet(e){return e===void 0?hd.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},hd.FILE_SYSTEM_ADAPTER),e)}hd.createFileSystemAdapter=oet});var UHe=Le(WO=>{"use strict";Object.defineProperty(WO,"__esModule",{value:!0});var cet=jHe(),qO=class{constructor(t={}){this._options=t,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=cet.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(t,n){return t??n}};WO.default=qO});var Zf=Le(_d=>{"use strict";Object.defineProperty(_d,"__esModule",{value:!0});_d.statSync=_d.stat=_d.Settings=void 0;var qHe=OHe(),uet=FHe(),VO=UHe();_d.Settings=VO.default;function Het(e,t,n){if(typeof t=="function"){qHe.read(e,KO(),t);return}qHe.read(e,KO(t),n)}_d.stat=Het;function pet(e,t){let n=KO(t);return uet.read(e,n)}_d.statSync=pet;function KO(e={}){return e instanceof VO.default?e:new VO.default(e)}});var KHe=Le((EMt,VHe)=>{var WHe;VHe.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):e=>(WHe||(WHe=Promise.resolve())).then(e).catch(t=>setTimeout(()=>{throw t},0))});var XHe=Le((yMt,GHe)=>{GHe.exports=fet;var det=KHe();function fet(e,t){let n,i,o,r=!0;Array.isArray(e)?(n=[],i=e.length):(o=Object.keys(e),n={},i=o.length);function c(u){function H(){t&&t(u,n),t=null}r?det(H):H()}function s(u,H,a){n[u]=a,(--i===0||H)&&c(H)}i?o?o.forEach(function(u){e[u](function(H,a){s(u,H,a)})}):e.forEach(function(u,H){u(function(a,l){s(H,a,l)})}):c(null),r=!1}});var GO=Le(av=>{"use strict";Object.defineProperty(av,"__esModule",{value:!0});av.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var sv=process.versions.node.split(".");if(sv[0]===void 0||sv[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var ZHe=Number.parseInt(sv[0],10),het=Number.parseInt(sv[1],10),zHe=10,_et=10,met=ZHe>zHe,Eet=ZHe===zHe&&het>=_et;av.IS_SUPPORT_READDIR_WITH_FILE_TYPES=met||Eet});var JHe=Le(ov=>{"use strict";Object.defineProperty(ov,"__esModule",{value:!0});ov.createDirentFromStats=void 0;var XO=class{constructor(t,n){this.name=t,this.isBlockDevice=n.isBlockDevice.bind(n),this.isCharacterDevice=n.isCharacterDevice.bind(n),this.isDirectory=n.isDirectory.bind(n),this.isFIFO=n.isFIFO.bind(n),this.isFile=n.isFile.bind(n),this.isSocket=n.isSocket.bind(n),this.isSymbolicLink=n.isSymbolicLink.bind(n)}};function yet(e,t){return new XO(e,t)}ov.createDirentFromStats=yet});var ZO=Le(lv=>{"use strict";Object.defineProperty(lv,"__esModule",{value:!0});lv.fs=void 0;var get=JHe();lv.fs=get});var zO=Le(cv=>{"use strict";Object.defineProperty(cv,"__esModule",{value:!0});cv.joinPathSegments=void 0;function bet(e,t,n){return e.endsWith(n)?e+t:e+n+t}cv.joinPathSegments=bet});var npe=Le(md=>{"use strict";Object.defineProperty(md,"__esModule",{value:!0});md.readdir=md.readdirWithFileTypes=md.read=void 0;var Aet=Zf(),QHe=XHe(),Iet=GO(),YHe=ZO(),epe=zO();function Let(e,t,n){if(!t.stats&&Iet.IS_SUPPORT_READDIR_WITH_FILE_TYPES){tpe(e,t,n);return}rpe(e,t,n)}md.read=Let;function tpe(e,t,n){t.fs.readdir(e,{withFileTypes:!0},(i,o)=>{if(i!==null){uv(n,i);return}let r=o.map(s=>({dirent:s,name:s.name,path:epe.joinPathSegments(e,s.name,t.pathSegmentSeparator)}));if(!t.followSymbolicLinks){JO(n,r);return}let c=r.map(s=>Tet(s,t));QHe(c,(s,u)=>{if(s!==null){uv(n,s);return}JO(n,u)})})}md.readdirWithFileTypes=tpe;function Tet(e,t){return n=>{if(!e.dirent.isSymbolicLink()){n(null,e);return}t.fs.stat(e.path,(i,o)=>{if(i!==null){if(t.throwErrorOnBrokenSymbolicLink){n(i);return}n(null,e);return}e.dirent=YHe.fs.createDirentFromStats(e.name,o),n(null,e)})}}function rpe(e,t,n){t.fs.readdir(e,(i,o)=>{if(i!==null){uv(n,i);return}let r=o.map(c=>{let s=epe.joinPathSegments(e,c,t.pathSegmentSeparator);return u=>{Aet.stat(s,t.fsStatSettings,(H,a)=>{if(H!==null){u(H);return}let l={name:c,path:s,dirent:YHe.fs.createDirentFromStats(c,a)};t.stats&&(l.stats=a),u(null,l)})}});QHe(r,(c,s)=>{if(c!==null){uv(n,c);return}JO(n,s)})})}md.readdir=rpe;function uv(e,t){e(t)}function JO(e,t){e(null,t)}});var lpe=Le(Ed=>{"use strict";Object.defineProperty(Ed,"__esModule",{value:!0});Ed.readdir=Ed.readdirWithFileTypes=Ed.read=void 0;var vet=Zf(),Cet=GO(),ipe=ZO(),spe=zO();function xet(e,t){return!t.stats&&Cet.IS_SUPPORT_READDIR_WITH_FILE_TYPES?ape(e,t):ope(e,t)}Ed.read=xet;function ape(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map(i=>{let o={dirent:i,name:i.name,path:spe.joinPathSegments(e,i.name,t.pathSegmentSeparator)};if(o.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{let r=t.fs.statSync(o.path);o.dirent=ipe.fs.createDirentFromStats(o.name,r)}catch(r){if(t.throwErrorOnBrokenSymbolicLink)throw r}return o})}Ed.readdirWithFileTypes=ape;function ope(e,t){return t.fs.readdirSync(e).map(i=>{let o=spe.joinPathSegments(e,i,t.pathSegmentSeparator),r=vet.statSync(o,t.fsStatSettings),c={name:i,path:o,dirent:ipe.fs.createDirentFromStats(i,r)};return t.stats&&(c.stats=r),c})}Ed.readdir=ope});var cpe=Le(yd=>{"use strict";Object.defineProperty(yd,"__esModule",{value:!0});yd.createFileSystemAdapter=yd.FILE_SYSTEM_ADAPTER=void 0;var xm=require("fs");yd.FILE_SYSTEM_ADAPTER={lstat:xm.lstat,stat:xm.stat,lstatSync:xm.lstatSync,statSync:xm.statSync,readdir:xm.readdir,readdirSync:xm.readdirSync};function Det(e){return e===void 0?yd.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},yd.FILE_SYSTEM_ADAPTER),e)}yd.createFileSystemAdapter=Det});var upe=Le(YO=>{"use strict";Object.defineProperty(YO,"__esModule",{value:!0});var Pet=require("path"),wet=Zf(),ket=cpe(),QO=class{constructor(t={}){this._options=t,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=ket.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Pet.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new wet.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(t,n){return t??n}};YO.default=QO});var Hv=Le(gd=>{"use strict";Object.defineProperty(gd,"__esModule",{value:!0});gd.Settings=gd.scandirSync=gd.scandir=void 0;var Hpe=npe(),Net=lpe(),e5=upe();gd.Settings=e5.default;function Ret(e,t,n){if(typeof t=="function"){Hpe.read(e,t5(),t);return}Hpe.read(e,t5(t),n)}gd.scandir=Ret;function $et(e,t){let n=t5(t);return Net.read(e,n)}gd.scandirSync=$et;function t5(e={}){return e instanceof e5.default?e:new e5.default(e)}});var dpe=Le((xMt,ppe)=>{"use strict";function Met(e){var t=new e,n=t;function i(){var r=t;return r.next?t=r.next:(t=new e,n=t),r.next=null,r}function o(r){n.next=r,n=r}return{get:i,release:o}}ppe.exports=Met});var hpe=Le((DMt,r5)=>{"use strict";var Bet=dpe();function fpe(e,t,n){if(typeof e=="function"&&(n=t,t=e,e=null),!(n>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");var i=Bet(Oet),o=null,r=null,c=0,s=null,u={push:m,drain:vc,saturated:vc,pause:a,paused:!1,get concurrency(){return n},set concurrency(S){if(!(S>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(n=S,!u.paused)for(;o&&c<n;)c++,y()},running:H,resume:d,idle:h,length:l,getQueue:p,unshift:g,empty:vc,kill:_,killAndDrain:E,error:A};return u;function H(){return c}function a(){u.paused=!0}function l(){for(var S=o,T=0;S;)S=S.next,T++;return T}function p(){for(var S=o,T=[];S;)T.push(S.value),S=S.next;return T}function d(){if(u.paused){if(u.paused=!1,o===null){c++,y();return}for(;o&&c<n;)c++,y()}}function h(){return c===0&&u.length()===0}function m(S,T){var I=i.get();I.context=e,I.release=y,I.value=S,I.callback=T||vc,I.errorHandler=s,c>=n||u.paused?r?(r.next=I,r=I):(o=I,r=I,u.saturated()):(c++,t.call(e,I.value,I.worked))}function g(S,T){var I=i.get();I.context=e,I.release=y,I.value=S,I.callback=T||vc,I.errorHandler=s,c>=n||u.paused?o?(I.next=o,o=I):(o=I,r=I,u.saturated()):(c++,t.call(e,I.value,I.worked))}function y(S){S&&i.release(S);var T=o;T&&c<=n?u.paused?c--:(r===o&&(r=null),o=T.next,T.next=null,t.call(e,T.value,T.worked),r===null&&u.empty()):--c===0&&u.drain()}function _(){o=null,r=null,u.drain=vc}function E(){o=null,r=null,u.drain(),u.drain=vc}function A(S){s=S}}function vc(){}function Oet(){this.value=null,this.callback=vc,this.next=null,this.release=vc,this.context=null,this.errorHandler=null;var e=this;this.worked=function(n,i){var o=e.callback,r=e.errorHandler,c=e.value;e.value=null,e.callback=vc,e.errorHandler&&r(n,c),o.call(e.context,n,i),e.release(e)}}function Fet(e,t,n){typeof e=="function"&&(n=t,t=e,e=null);function i(a,l){t.call(this,a).then(function(p){l(null,p)},l)}var o=fpe(e,i,n),r=o.push,c=o.unshift;return o.push=s,o.unshift=u,o.drained=H,o;function s(a){var l=new Promise(function(p,d){r(a,function(h,m){if(h){d(h);return}p(m)})});return l.catch(vc),l}function u(a){var l=new Promise(function(p,d){c(a,function(h,m){if(h){d(h);return}p(m)})});return l.catch(vc),l}function H(){if(o.idle())return new Promise(function(p){p()});var a=o.drain,l=new Promise(function(p){o.drain=function(){a(),p()}});return l}}r5.exports=fpe;r5.exports.promise=Fet});var pv=Le(nH=>{"use strict";Object.defineProperty(nH,"__esModule",{value:!0});nH.joinPathSegments=nH.replacePathSegmentSeparator=nH.isAppliedFilter=nH.isFatalError=void 0;function jet(e,t){return e.errorFilter===null?!0:!e.errorFilter(t)}nH.isFatalError=jet;function Uet(e,t){return e===null||e(t)}nH.isAppliedFilter=Uet;function qet(e,t){return e.split(/[/\\]/).join(t)}nH.replacePathSegmentSeparator=qet;function Wet(e,t,n){return e===""?t:e.endsWith(n)?e+t:e+n+t}nH.joinPathSegments=Wet});var s5=Le(i5=>{"use strict";Object.defineProperty(i5,"__esModule",{value:!0});var Vet=pv(),n5=class{constructor(t,n){this._root=t,this._settings=n,this._root=Vet.replacePathSegmentSeparator(t,n.pathSegmentSeparator)}};i5.default=n5});var l5=Le(o5=>{"use strict";Object.defineProperty(o5,"__esModule",{value:!0});var Ket=require("events"),Get=Hv(),Xet=hpe(),dv=pv(),Zet=s5(),a5=class extends Zet.default{constructor(t,n){super(t,n),this._settings=n,this._scandir=Get.scandir,this._emitter=new Ket.EventEmitter,this._queue=Xet(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(t){this._emitter.on("entry",t)}onError(t){this._emitter.once("error",t)}onEnd(t){this._emitter.once("end",t)}_pushToQueue(t,n){let i={directory:t,base:n};this._queue.push(i,o=>{o!==null&&this._handleError(o)})}_worker(t,n){this._scandir(t.directory,this._settings.fsScandirSettings,(i,o)=>{if(i!==null){n(i,void 0);return}for(let r of o)this._handleEntry(r,t.base);n(null,void 0)})}_handleError(t){this._isDestroyed||!dv.isFatalError(this._settings,t)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",t))}_handleEntry(t,n){if(this._isDestroyed||this._isFatalError)return;let i=t.path;n!==void 0&&(t.path=dv.joinPathSegments(n,t.name,this._settings.pathSegmentSeparator)),dv.isAppliedFilter(this._settings.entryFilter,t)&&this._emitEntry(t),t.dirent.isDirectory()&&dv.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(i,n===void 0?void 0:t.path)}_emitEntry(t){this._emitter.emit("entry",t)}};o5.default=a5});var _pe=Le(u5=>{"use strict";Object.defineProperty(u5,"__esModule",{value:!0});var zet=l5(),c5=class{constructor(t,n){this._root=t,this._settings=n,this._reader=new zet.default(this._root,this._settings),this._storage=[]}read(t){this._reader.onError(n=>{Jet(t,n)}),this._reader.onEntry(n=>{this._storage.push(n)}),this._reader.onEnd(()=>{Qet(t,this._storage)}),this._reader.read()}};u5.default=c5;function Jet(e,t){e(t)}function Qet(e,t){e(null,t)}});var mpe=Le(p5=>{"use strict";Object.defineProperty(p5,"__esModule",{value:!0});var Yet=require("stream"),ett=l5(),H5=class{constructor(t,n){this._root=t,this._settings=n,this._reader=new ett.default(this._root,this._settings),this._stream=new Yet.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(t=>{this._stream.emit("error",t)}),this._reader.onEntry(t=>{this._stream.push(t)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};p5.default=H5});var Epe=Le(f5=>{"use strict";Object.defineProperty(f5,"__esModule",{value:!0});var ttt=Hv(),fv=pv(),rtt=s5(),d5=class extends rtt.default{constructor(){super(...arguments),this._scandir=ttt.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(t,n){this._queue.add({directory:t,base:n})}_handleQueue(){for(let t of this._queue.values())this._handleDirectory(t.directory,t.base)}_handleDirectory(t,n){try{let i=this._scandir(t,this._settings.fsScandirSettings);for(let o of i)this._handleEntry(o,n)}catch(i){this._handleError(i)}}_handleError(t){if(fv.isFatalError(this._settings,t))throw t}_handleEntry(t,n){let i=t.path;n!==void 0&&(t.path=fv.joinPathSegments(n,t.name,this._settings.pathSegmentSeparator)),fv.isAppliedFilter(this._settings.entryFilter,t)&&this._pushToStorage(t),t.dirent.isDirectory()&&fv.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(i,n===void 0?void 0:t.path)}_pushToStorage(t){this._storage.push(t)}};f5.default=d5});var ype=Le(_5=>{"use strict";Object.defineProperty(_5,"__esModule",{value:!0});var ntt=Epe(),h5=class{constructor(t,n){this._root=t,this._settings=n,this._reader=new ntt.default(this._root,this._settings)}read(){return this._reader.read()}};_5.default=h5});var gpe=Le(E5=>{"use strict";Object.defineProperty(E5,"__esModule",{value:!0});var itt=require("path"),stt=Hv(),m5=class{constructor(t={}){this._options=t,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,itt.sep),this.fsScandirSettings=new stt.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(t,n){return t??n}};E5.default=m5});var _v=Le(iH=>{"use strict";Object.defineProperty(iH,"__esModule",{value:!0});iH.Settings=iH.walkStream=iH.walkSync=iH.walk=void 0;var bpe=_pe(),att=mpe(),ott=ype(),y5=gpe();iH.Settings=y5.default;function ltt(e,t,n){if(typeof t=="function"){new bpe.default(e,hv()).read(t);return}new bpe.default(e,hv(t)).read(n)}iH.walk=ltt;function ctt(e,t){let n=hv(t);return new ott.default(e,n).read()}iH.walkSync=ctt;function utt(e,t){let n=hv(t);return new att.default(e,n).read()}iH.walkStream=utt;function hv(e={}){return e instanceof y5.default?e:new y5.default(e)}});var mv=Le(b5=>{"use strict";Object.defineProperty(b5,"__esModule",{value:!0});var Htt=require("path"),ptt=Zf(),Ape=rp(),g5=class{constructor(t){this._settings=t,this._fsStatSettings=new ptt.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(t){return Htt.resolve(this._settings.cwd,t)}_makeEntry(t,n){let i={name:n,path:n,dirent:Ape.fs.createDirentFromStats(n,t)};return this._settings.stats&&(i.stats=t),i}_isFatalError(t){return!Ape.errno.isEnoentCodeError(t)&&!this._settings.suppressErrors}};b5.default=g5});var S5=Le(I5=>{"use strict";Object.defineProperty(I5,"__esModule",{value:!0});var dtt=require("stream"),ftt=Zf(),htt=_v(),_tt=mv(),A5=class extends _tt.default{constructor(){super(...arguments),this._walkStream=htt.walkStream,this._stat=ftt.stat}dynamic(t,n){return this._walkStream(t,n)}static(t,n){let i=t.map(this._getFullEntryPath,this),o=new dtt.PassThrough({objectMode:!0});o._write=(r,c,s)=>this._getEntry(i[r],t[r],n).then(u=>{u!==null&&n.entryFilter(u)&&o.push(u),r===i.length-1&&o.end(),s()}).catch(s);for(let r=0;r<i.length;r++)o.write(r);return o}_getEntry(t,n,i){return this._getStat(t).then(o=>this._makeEntry(o,n)).catch(o=>{if(i.errorFilter(o))return null;throw o})}_getStat(t){return new Promise((n,i)=>{this._stat(t,this._fsStatSettings,(o,r)=>o===null?n(r):i(o))})}};I5.default=A5});var Ipe=Le(T5=>{"use strict";Object.defineProperty(T5,"__esModule",{value:!0});var mtt=_v(),Ett=mv(),ytt=S5(),L5=class extends Ett.default{constructor(){super(...arguments),this._walkAsync=mtt.walk,this._readerStream=new ytt.default(this._settings)}dynamic(t,n){return new Promise((i,o)=>{this._walkAsync(t,n,(r,c)=>{r===null?i(c):o(r)})})}async static(t,n){let i=[],o=this._readerStream.static(t,n);return new Promise((r,c)=>{o.once("error",c),o.on("data",s=>i.push(s)),o.once("end",()=>r(i))})}};T5.default=L5});var Spe=Le(C5=>{"use strict";Object.defineProperty(C5,"__esModule",{value:!0});var dg=rp(),v5=class{constructor(t,n,i){this._patterns=t,this._settings=n,this._micromatchOptions=i,this._storage=[],this._fillStorage()}_fillStorage(){for(let t of this._patterns){let n=this._getPatternSegments(t),i=this._splitSegmentsIntoSections(n);this._storage.push({complete:i.length<=1,pattern:t,segments:n,sections:i})}}_getPatternSegments(t){return dg.pattern.getPatternParts(t,this._micromatchOptions).map(i=>dg.pattern.isDynamicPattern(i,this._settings)?{dynamic:!0,pattern:i,patternRe:dg.pattern.makeRe(i,this._micromatchOptions)}:{dynamic:!1,pattern:i})}_splitSegmentsIntoSections(t){return dg.array.splitWhen(t,n=>n.dynamic&&dg.pattern.hasGlobStar(n.pattern))}};C5.default=v5});var Lpe=Le(D5=>{"use strict";Object.defineProperty(D5,"__esModule",{value:!0});var gtt=Spe(),x5=class extends gtt.default{match(t){let n=t.split("/"),i=n.length,o=this._storage.filter(r=>!r.complete||r.segments.length>i);for(let r of o){let c=r.sections[0];if(!r.complete&&i>c.length||n.every((u,H)=>{let a=r.segments[H];return!!(a.dynamic&&a.patternRe.test(u)||!a.dynamic&&a.pattern===u)}))return!0}return!1}};D5.default=x5});var Tpe=Le(w5=>{"use strict";Object.defineProperty(w5,"__esModule",{value:!0});var Ev=rp(),btt=Lpe(),P5=class{constructor(t,n){this._settings=t,this._micromatchOptions=n}getFilter(t,n,i){let o=this._getMatcher(n),r=this._getNegativePatternsRe(i);return c=>this._filter(t,c,o,r)}_getMatcher(t){return new btt.default(t,this._settings,this._micromatchOptions)}_getNegativePatternsRe(t){let n=t.filter(Ev.pattern.isAffectDepthOfReadingPattern);return Ev.pattern.convertPatternsToRe(n,this._micromatchOptions)}_filter(t,n,i,o){if(this._isSkippedByDeep(t,n.path)||this._isSkippedSymbolicLink(n))return!1;let r=Ev.path.removeLeadingDotSegment(n.path);return this._isSkippedByPositivePatterns(r,i)?!1:this._isSkippedByNegativePatterns(r,o)}_isSkippedByDeep(t,n){return this._settings.deep===1/0?!1:this._getEntryLevel(t,n)>=this._settings.deep}_getEntryLevel(t,n){let i=n.split("/").length;if(t==="")return i;let o=t.split("/").length;return i-o}_isSkippedSymbolicLink(t){return!this._settings.followSymbolicLinks&&t.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(t,n){return!this._settings.baseNameMatch&&!n.match(t)}_isSkippedByNegativePatterns(t,n){return!Ev.pattern.matchAny(t,n)}};w5.default=P5});var vpe=Le(N5=>{"use strict";Object.defineProperty(N5,"__esModule",{value:!0});var zf=rp(),k5=class{constructor(t,n){this._settings=t,this._micromatchOptions=n,this.index=new Map}getFilter(t,n){let i=zf.pattern.convertPatternsToRe(t,this._micromatchOptions),o=zf.pattern.convertPatternsToRe(n,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return r=>this._filter(r,i,o)}_filter(t,n,i){let o=zf.path.removeLeadingDotSegment(t.path);if(this._settings.unique&&this._isDuplicateEntry(o)||this._onlyFileFilter(t)||this._onlyDirectoryFilter(t)||this._isSkippedByAbsoluteNegativePatterns(o,i))return!1;let r=t.dirent.isDirectory(),c=this._isMatchToPatterns(o,n,r)&&!this._isMatchToPatterns(o,i,r);return this._settings.unique&&c&&this._createIndexRecord(o),c}_isDuplicateEntry(t){return this.index.has(t)}_createIndexRecord(t){this.index.set(t,void 0)}_onlyFileFilter(t){return this._settings.onlyFiles&&!t.dirent.isFile()}_onlyDirectoryFilter(t){return this._settings.onlyDirectories&&!t.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(t,n){if(!this._settings.absolute)return!1;let i=zf.path.makeAbsolute(this._settings.cwd,t);return zf.pattern.matchAny(i,n)}_isMatchToPatterns(t,n,i){let o=zf.pattern.matchAny(t,n);return!o&&i?zf.pattern.matchAny(t+"/",n):o}};N5.default=k5});var Cpe=Le($5=>{"use strict";Object.defineProperty($5,"__esModule",{value:!0});var Att=rp(),R5=class{constructor(t){this._settings=t}getFilter(){return t=>this._isNonFatalError(t)}_isNonFatalError(t){return Att.errno.isEnoentCodeError(t)||this._settings.suppressErrors}};$5.default=R5});var Dpe=Le(B5=>{"use strict";Object.defineProperty(B5,"__esModule",{value:!0});var xpe=rp(),M5=class{constructor(t){this._settings=t}getTransformer(){return t=>this._transform(t)}_transform(t){let n=t.path;return this._settings.absolute&&(n=xpe.path.makeAbsolute(this._settings.cwd,n),n=xpe.path.unixify(n)),this._settings.markDirectories&&t.dirent.isDirectory()&&(n+="/"),this._settings.objectMode?Object.assign(Object.assign({},t),{path:n}):n}};B5.default=M5});var yv=Le(F5=>{"use strict";Object.defineProperty(F5,"__esModule",{value:!0});var Itt=require("path"),Stt=Tpe(),Ltt=vpe(),Ttt=Cpe(),vtt=Dpe(),O5=class{constructor(t){this._settings=t,this.errorFilter=new Ttt.default(this._settings),this.entryFilter=new Ltt.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new Stt.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new vtt.default(this._settings)}_getRootDirectory(t){return Itt.resolve(this._settings.cwd,t.base)}_getReaderOptions(t){let n=t.base==="."?"":t.base;return{basePath:n,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(n,t.positive,t.negative),entryFilter:this.entryFilter.getFilter(t.positive,t.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};F5.default=O5});var Ppe=Le(U5=>{"use strict";Object.defineProperty(U5,"__esModule",{value:!0});var Ctt=Ipe(),xtt=yv(),j5=class extends xtt.default{constructor(){super(...arguments),this._reader=new Ctt.default(this._settings)}async read(t){let n=this._getRootDirectory(t),i=this._getReaderOptions(t);return(await this.api(n,t,i)).map(r=>i.transform(r))}api(t,n,i){return n.dynamic?this._reader.dynamic(t,i):this._reader.static(n.patterns,i)}};U5.default=j5});var wpe=Le(W5=>{"use strict";Object.defineProperty(W5,"__esModule",{value:!0});var Dtt=require("stream"),Ptt=S5(),wtt=yv(),q5=class extends wtt.default{constructor(){super(...arguments),this._reader=new Ptt.default(this._settings)}read(t){let n=this._getRootDirectory(t),i=this._getReaderOptions(t),o=this.api(n,t,i),r=new Dtt.Readable({objectMode:!0,read:()=>{}});return o.once("error",c=>r.emit("error",c)).on("data",c=>r.emit("data",i.transform(c))).once("end",()=>r.emit("end")),r.once("close",()=>o.destroy()),r}api(t,n,i){return n.dynamic?this._reader.dynamic(t,i):this._reader.static(n.patterns,i)}};W5.default=q5});var kpe=Le(K5=>{"use strict";Object.defineProperty(K5,"__esModule",{value:!0});var ktt=Zf(),Ntt=_v(),Rtt=mv(),V5=class extends Rtt.default{constructor(){super(...arguments),this._walkSync=Ntt.walkSync,this._statSync=ktt.statSync}dynamic(t,n){return this._walkSync(t,n)}static(t,n){let i=[];for(let o of t){let r=this._getFullEntryPath(o),c=this._getEntry(r,o,n);c===null||!n.entryFilter(c)||i.push(c)}return i}_getEntry(t,n,i){try{let o=this._getStat(t);return this._makeEntry(o,n)}catch(o){if(i.errorFilter(o))return null;throw o}}_getStat(t){return this._statSync(t,this._fsStatSettings)}};K5.default=V5});var Npe=Le(X5=>{"use strict";Object.defineProperty(X5,"__esModule",{value:!0});var $tt=kpe(),Mtt=yv(),G5=class extends Mtt.default{constructor(){super(...arguments),this._reader=new $tt.default(this._settings)}read(t){let n=this._getRootDirectory(t),i=this._getReaderOptions(t);return this.api(n,t,i).map(i.transform)}api(t,n,i){return n.dynamic?this._reader.dynamic(t,i):this._reader.static(n.patterns,i)}};X5.default=G5});var Rpe=Le(Pm=>{"use strict";Object.defineProperty(Pm,"__esModule",{value:!0});Pm.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var Dm=require("fs"),Btt=require("os"),Ott=Math.max(Btt.cpus().length,1);Pm.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:Dm.lstat,lstatSync:Dm.lstatSync,stat:Dm.stat,statSync:Dm.statSync,readdir:Dm.readdir,readdirSync:Dm.readdirSync};var Z5=class{constructor(t={}){this._options=t,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,Ott),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore)}_getValue(t,n){return t===void 0?n:t}_getFileSystemMethods(t={}){return Object.assign(Object.assign({},Pm.DEFAULT_FILE_SYSTEM_ADAPTER),t)}};Pm.default=Z5});var Bpe=Le((tBt,Mpe)=>{"use strict";var $pe=MHe(),Ftt=Ppe(),jtt=wpe(),Utt=Npe(),z5=Rpe(),Cc=rp();async function J5(e,t){Hu(e);let n=Q5(e,Ftt.default,t),i=await Promise.all(n);return Cc.array.flatten(i)}(function(e){e.glob=e,e.globSync=t,e.globStream=n,e.async=e;function t(H,a){Hu(H);let l=Q5(H,Utt.default,a);return Cc.array.flatten(l)}e.sync=t;function n(H,a){Hu(H);let l=Q5(H,jtt.default,a);return Cc.stream.merge(l)}e.stream=n;function i(H,a){Hu(H);let l=[].concat(H),p=new z5.default(a);return $pe.generate(l,p)}e.generateTasks=i;function o(H,a){Hu(H);let l=new z5.default(a);return Cc.pattern.isDynamicPattern(H,l)}e.isDynamicPattern=o;function r(H){return Hu(H),Cc.path.escape(H)}e.escapePath=r;function c(H){return Hu(H),Cc.path.convertPathToPattern(H)}e.convertPathToPattern=c;let s;(function(H){function a(p){return Hu(p),Cc.path.escapePosixPath(p)}H.escapePath=a;function l(p){return Hu(p),Cc.path.convertPosixPathToPattern(p)}H.convertPathToPattern=l})(s=e.posix||(e.posix={}));let u;(function(H){function a(p){return Hu(p),Cc.path.escapeWindowsPath(p)}H.escapePath=a;function l(p){return Hu(p),Cc.path.convertWindowsPathToPattern(p)}H.convertPathToPattern=l})(u=e.win32||(e.win32={}))})(J5||(J5={}));function Q5(e,t,n){let i=[].concat(e),o=new z5.default(n),r=$pe.generate(i,o),c=new t(o);return r.map(c.read,c)}function Hu(e){if(![].concat(e).every(i=>Cc.string.isString(i)&&!Cc.string.isEmpty(i)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}Mpe.exports=J5});var Fpe=Le((rBt,Ope)=>{"use strict";var qtt=cg(),Wtt=require("path").posix.dirname,Vtt=require("os").platform()==="win32",gv="/",Ktt=/\\/g,Gtt=/\\([!*?|[\](){}])/g;Ope.exports=function(t,n){var i=Object.assign({flipBackslashes:!0},n);i.flipBackslashes&&Vtt&&t.indexOf(gv)<0&&(t=t.replace(Ktt,gv)),Xtt(t)&&(t+=gv),t+="a";do t=Wtt(t);while(Ztt(t));return t.replace(Gtt,"$1")};function Xtt(e){var t=e.slice(-1),n;switch(t){case"}":n="{";break;case"]":n="[";break;default:return!1}var i=e.indexOf(n);return i<0?!1:e.slice(i+1,-1).includes(gv)}function Ztt(e){return/\([^()]+$/.test(e)||e[0]==="{"||e[0]==="["||/[^\\][{[]/.test(e)?!0:qtt(e)}});var jpe=Le(Y5=>{"use strict";Object.defineProperty(Y5,"__esModule",{value:!0});Object.defineProperty(Y5,"parseGlob",{enumerable:!0,get:function(){return Qtt}});var ztt=Jtt(Fpe());function Jtt(e){return e&&e.__esModule?e:{default:e}}function Qtt(e){let t=e,n=(0,ztt.default)(e);return n!=="."&&(t=e.substr(n.length),t.charAt(0)==="/"&&(t=t.substr(1))),t.substr(0,2)==="./"?t=t.substr(2):t.charAt(0)==="/"&&(t=t.substr(1)),{base:n,glob:t}}});var Zpe=Le(t3=>{"use strict";Object.defineProperty(t3,"__esModule",{value:!0});function Ytt(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Ytt(t3,{parseCandidateFiles:function(){return irt},resolvedChangedContent:function(){return lrt},createBroadPatternCheck:function(){return Xpe}});var Vpe=Jf(require("fs")),bv=Jf(require("path")),ert=Jf(cg()),e3=Jf(Bpe()),Kpe=Jf(Kh()),trt=jpe(),Upe=Gf(),rrt=Jf(ac()),nrt=Jf(RO());function Jf(e){return e&&e.__esModule?e:{default:e}}function irt(e,t){let n=t.content.files;n=n.filter(s=>typeof s=="string"),n=n.map(Kpe.default);let i=e3.default.generateTasks(n),o=[],r=[];for(let s of i)o.push(...s.positive.map(u=>qpe(u,!1))),r.push(...s.negative.map(u=>qpe(u,!0)));let c=[...o,...r];return c=art(e,c),c=c.flatMap(ort),c=c.map(srt),c}function qpe(e,t){let n={original:e,base:e,ignore:t,pattern:e,glob:null};return(0,ert.default)(e)&&Object.assign(n,(0,trt.parseGlob)(e)),n}function srt(e){let t=(0,Kpe.default)(e.base);return t=e3.default.escapePath(t),e.pattern=e.glob?`${t}/${e.glob}`:t,e.pattern=e.ignore?`!${e.pattern}`:e.pattern,e}function art(e,t){let n=[];return e.userConfigPath&&e.tailwindConfig.content.relative&&(n=[bv.default.dirname(e.userConfigPath)]),t.map(i=>(i.base=bv.default.resolve(...n,i.base),i))}function ort(e){let t=[e];try{let n=Vpe.default.realpathSync(e.base);n!==e.base&&t.push({...e,base:n})}catch{}return t}function lrt(e,t,n){let i=e.tailwindConfig.content.files.filter(c=>typeof c.raw=="string").map(({raw:c,extension:s="html"})=>({content:c,extension:s})),[o,r]=crt(t,n);for(let c of o){let s=bv.default.extname(c).slice(1);i.push({file:c,extension:s})}return[i,r]}var Gpe=["node_modules"],Wpe=new RegExp(`(${Gpe.map(e=>String.raw`\b${e}\b`).join("|")})`);function Xpe(e){if(!e.some(r=>r.includes("**")&&!Wpe.test(r)))return()=>{};let n=[],i=[];for(let r of e){let c=nrt.default.matcher(r);Wpe.test(r)&&i.push(c),n.push(c)}let o=!1;return r=>{if(o||i.some(a=>a(r)))return;let c=n.findIndex(a=>a(r));if(c===-1)return;let s=e[c],u=bv.default.relative(process.cwd(),s);u[0]!=="."&&(u=`./${u}`);let H=Gpe.find(a=>r.includes(a));H&&(o=!0,rrt.default.warn("broad-content-glob-pattern",[`Your \`content\` configuration includes a pattern which looks like it's accidentally matching all of \`${H}\` and can cause serious performance issues.`,`Pattern: \`${u}\``,"See our documentation for recommendations:","https://tailwindcss.com/docs/content-configuration#pattern-recommendations"]))}}function crt(e,t){let n=e.map(s=>s.pattern),i=new Map,o=Xpe(n),r=new Set;Upe.env.DEBUG&&console.time("Finding changed files");let c=e3.default.sync(n,{absolute:!0});for(let s of c){o(s);let u=t.get(s)||-1/0,H=Vpe.default.statSync(s).mtimeMs;H>u&&(r.add(s),i.set(s,H))}return Upe.env.DEBUG&&console.timeEnd("Finding changed files"),[r,i]}});var Jpe=Le((sBt,zpe)=>{(()=>{var e={"./node_modules/.pnpm/create-require@1.1.1/node_modules/create-require/create-require.js":(o,r,c)=>{let s=c("module"),u=c("path"),H=c("fs");o.exports=function(a){return a||(a=process.cwd()),function(l){try{return H.lstatSync(l).isDirectory()}catch{return!1}}(a)&&(a=u.join(a,"index.js")),s.createRequire?s.createRequire(a):s.createRequireFromPath?s.createRequireFromPath(a):function(l){let p=new s.Module(l,null);return p.filename=l,p.paths=s.Module._nodeModulePaths(u.dirname(l)),p._compile("module.exports = require;",l),p.exports}(a)}},"./node_modules/.pnpm/mlly@1.7.1/node_modules/mlly/dist lazy recursive":o=>{function r(c){return Promise.resolve().then(()=>{var s=new Error("Cannot find module '"+c+"'");throw s.code="MODULE_NOT_FOUND",s})}r.keys=()=>[],r.resolve=r,r.id="./node_modules/.pnpm/mlly@1.7.1/node_modules/mlly/dist lazy recursive",o.exports=r},"./node_modules/.pnpm/object-hash@3.0.0/node_modules/object-hash/index.js":(o,r,c)=>{"use strict";var s=c("crypto");function u(m,g){return function(y,_){var E;E=_.algorithm!=="passthrough"?s.createHash(_.algorithm):new h,E.write===void 0&&(E.write=E.update,E.end=E.update);var A=d(_,E);if(A.dispatch(y),E.update||E.end(""),E.digest)return E.digest(_.encoding==="buffer"?void 0:_.encoding);var S=E.read();return _.encoding==="buffer"?S:S.toString(_.encoding)}(m,g=l(m,g))}(r=o.exports=u).sha1=function(m){return u(m)},r.keys=function(m){return u(m,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(m){return u(m,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(m){return u(m,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var H=s.getHashes?s.getHashes().slice():["sha1","md5"];H.push("passthrough");var a=["buffer","hex","binary","base64"];function l(m,g){g=g||{};var y={};if(y.algorithm=g.algorithm||"sha1",y.encoding=g.encoding||"hex",y.excludeValues=!!g.excludeValues,y.algorithm=y.algorithm.toLowerCase(),y.encoding=y.encoding.toLowerCase(),y.ignoreUnknown=g.ignoreUnknown===!0,y.respectType=g.respectType!==!1,y.respectFunctionNames=g.respectFunctionNames!==!1,y.respectFunctionProperties=g.respectFunctionProperties!==!1,y.unorderedArrays=g.unorderedArrays===!0,y.unorderedSets=g.unorderedSets!==!1,y.unorderedObjects=g.unorderedObjects!==!1,y.replacer=g.replacer||void 0,y.excludeKeys=g.excludeKeys||void 0,m===void 0)throw new Error("Object argument required.");for(var _=0;_<H.length;++_)H[_].toLowerCase()===y.algorithm.toLowerCase()&&(y.algorithm=H[_]);if(H.indexOf(y.algorithm)===-1)throw new Error('Algorithm "'+y.algorithm+'" not supported. supported values: '+H.join(", "));if(a.indexOf(y.encoding)===-1&&y.algorithm!=="passthrough")throw new Error('Encoding "'+y.encoding+'" not supported. supported values: '+a.join(", "));return y}function p(m){return typeof m!="function"?!1:/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(m))!=null}function d(m,g,y){y=y||[];var _=function(E){return g.update?g.update(E,"utf8"):g.write(E,"utf8")};return{dispatch:function(E){m.replacer&&(E=m.replacer(E));var A=typeof E;return E===null&&(A="null"),this["_"+A](E)},_object:function(E){var A=Object.prototype.toString.call(E),S=/\[object (.*)\]/i.exec(A);S=(S=S?S[1]:"unknown:["+A+"]").toLowerCase();var T;if((T=y.indexOf(E))>=0)return this.dispatch("[CIRCULAR:"+T+"]");if(y.push(E),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(E))return _("buffer:"),_(E);if(S==="object"||S==="function"||S==="asyncfunction"){var I=Object.keys(E);m.unorderedObjects&&(I=I.sort()),m.respectType===!1||p(E)||I.splice(0,0,"prototype","__proto__","constructor"),m.excludeKeys&&(I=I.filter(function(x){return!m.excludeKeys(x)})),_("object:"+I.length+":");var L=this;return I.forEach(function(x){L.dispatch(x),_(":"),m.excludeValues||L.dispatch(E[x]),_(",")})}if(!this["_"+S]){if(m.ignoreUnknown)return _("["+S+"]");throw new Error('Unknown object type "'+S+'"')}this["_"+S](E)},_array:function(E,A){A=A!==void 0?A:m.unorderedArrays!==!1;var S=this;if(_("array:"+E.length+":"),!A||E.length<=1)return E.forEach(function(L){return S.dispatch(L)});var T=[],I=E.map(function(L){var x=new h,C=y.slice();return d(m,x,C).dispatch(L),T=T.concat(C.slice(y.length)),x.read().toString()});return y=y.concat(T),I.sort(),this._array(I,!1)},_date:function(E){return _("date:"+E.toJSON())},_symbol:function(E){return _("symbol:"+E.toString())},_error:function(E){return _("error:"+E.toString())},_boolean:function(E){return _("bool:"+E.toString())},_string:function(E){_("string:"+E.length+":"),_(E.toString())},_function:function(E){_("fn:"),p(E)?this.dispatch("[native]"):this.dispatch(E.toString()),m.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(E.name)),m.respectFunctionProperties&&this._object(E)},_number:function(E){return _("number:"+E.toString())},_xml:function(E){return _("xml:"+E.toString())},_null:function(){return _("Null")},_undefined:function(){return _("Undefined")},_regexp:function(E){return _("regex:"+E.toString())},_uint8array:function(E){return _("uint8array:"),this.dispatch(Array.prototype.slice.call(E))},_uint8clampedarray:function(E){return _("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(E))},_int8array:function(E){return _("int8array:"),this.dispatch(Array.prototype.slice.call(E))},_uint16array:function(E){return _("uint16array:"),this.dispatch(Array.prototype.slice.call(E))},_int16array:function(E){return _("int16array:"),this.dispatch(Array.prototype.slice.call(E))},_uint32array:function(E){return _("uint32array:"),this.dispatch(Array.prototype.slice.call(E))},_int32array:function(E){return _("int32array:"),this.dispatch(Array.prototype.slice.call(E))},_float32array:function(E){return _("float32array:"),this.dispatch(Array.prototype.slice.call(E))},_float64array:function(E){return _("float64array:"),this.dispatch(Array.prototype.slice.call(E))},_arraybuffer:function(E){return _("arraybuffer:"),this.dispatch(new Uint8Array(E))},_url:function(E){return _("url:"+E.toString())},_map:function(E){_("map:");var A=Array.from(E);return this._array(A,m.unorderedSets!==!1)},_set:function(E){_("set:");var A=Array.from(E);return this._array(A,m.unorderedSets!==!1)},_file:function(E){return _("file:"),this.dispatch([E.name,E.size,E.type,E.lastModfied])},_blob:function(){if(m.ignoreUnknown)return _("[blob]");throw Error(`Hashing Blob objects is currently not supported
|
|
(see https://github.com/puleos/object-hash/issues/26)
|
|
Use "options.replacer" or "options.ignoreUnknown"
|
|
`)},_domwindow:function(){return _("domwindow")},_bigint:function(E){return _("bigint:"+E.toString())},_process:function(){return _("process")},_timer:function(){return _("timer")},_pipe:function(){return _("pipe")},_tcp:function(){return _("tcp")},_udp:function(){return _("udp")},_tty:function(){return _("tty")},_statwatcher:function(){return _("statwatcher")},_securecontext:function(){return _("securecontext")},_connection:function(){return _("connection")},_zlib:function(){return _("zlib")},_context:function(){return _("context")},_nodescript:function(){return _("nodescript")},_httpparser:function(){return _("httpparser")},_dataview:function(){return _("dataview")},_signal:function(){return _("signal")},_fsevent:function(){return _("fsevent")},_tlswrap:function(){return _("tlswrap")}}}function h(){return{buf:"",write:function(m){this.buf+=m},end:function(m){this.buf+=m},read:function(){return this.buf}}}r.writeToStream=function(m,g,y){return y===void 0&&(y=g,g={}),d(g=l(m,g),y).dispatch(m)}},"./node_modules/.pnpm/pirates@4.0.6/node_modules/pirates/lib/index.js":(o,r,c)=>{"use strict";o=c.nmd(o),Object.defineProperty(r,"__esModule",{value:!0}),r.addHook=function(d,h={}){let m=!1,g=[],y=[],_,E=l._extensions[".js"],A=h.matcher||null,S=h.ignoreNodeModules!==!1;return _=h.extensions||h.exts||h.extension||h.ext||[".js"],Array.isArray(_)||(_=[_]),_.forEach(T=>{if(typeof T!="string")throw new TypeError(`Invalid Extension: ${T}`);let I=l._extensions[T]||E;y[T]=l._extensions[T],g[T]=l._extensions[T]=function(L,x){let C;m||function(D,O,j,k){if(typeof D!="string"||O.indexOf(u.default.extname(D))===-1)return!1;let $=u.default.resolve(D);return k&&a.test($)?!1:j&&typeof j=="function"?!!j($):!0}(x,_,A,S)&&(C=L._compile,L._compile=function(D){L._compile=C;let O=d(D,x);if(typeof O!="string")throw new Error(p);return L._compile(O,x)}),I(L,x)}}),function(){m||(m=!0,_.forEach(T=>{l._extensions[T]===g[T]&&(y[T]?l._extensions[T]=y[T]:delete l._extensions[T])}))}};var s=H(c("module")),u=H(c("path"));function H(d){return d&&d.__esModule?d:{default:d}}let a=/^(?:.*[\\/])?node_modules(?:[\\/].*)?$/,l=o.constructor.length>1?o.constructor:s.default,p=`[Pirates] A hook returned a non-string, or nothing at all! This is a violation of intergalactic law!
|
|
--------------------
|
|
If you have no idea what this means or what Pirates is, let me explain: Pirates is a module that makes is easy to implement require hooks. One of the require hooks you're using uses it. One of these require hooks didn't return anything from it's handler, so we don't know what to do. You might want to debug this.`},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js":(o,r,c)=>{let s=Symbol("SemVer ANY");class u{static get ANY(){return s}constructor(y,_){if(_=H(_),y instanceof u){if(y.loose===!!_.loose)return y;y=y.value}y=y.trim().split(/\s+/).join(" "),d("comparator",y,_),this.options=_,this.loose=!!_.loose,this.parse(y),this.semver===s?this.value="":this.value=this.operator+this.semver.version,d("comp",this)}parse(y){let _=this.options.loose?a[l.COMPARATORLOOSE]:a[l.COMPARATOR],E=y.match(_);if(!E)throw new TypeError(`Invalid comparator: ${y}`);this.operator=E[1]!==void 0?E[1]:"",this.operator==="="&&(this.operator=""),E[2]?this.semver=new h(E[2],this.options.loose):this.semver=s}toString(){return this.value}test(y){if(d("Comparator.test",y,this.options.loose),this.semver===s||y===s)return!0;if(typeof y=="string")try{y=new h(y,this.options)}catch{return!1}return p(y,this.operator,this.semver,this.options)}intersects(y,_){if(!(y instanceof u))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""||new m(y.value,_).test(this.value):y.operator===""?y.value===""||new m(this.value,_).test(y.semver):(!(_=H(_)).includePrerelease||this.value!=="<0.0.0-0"&&y.value!=="<0.0.0-0")&&!(!_.includePrerelease&&(this.value.startsWith("<0.0.0")||y.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!y.operator.startsWith(">"))||!(!this.operator.startsWith("<")||!y.operator.startsWith("<"))||!(this.semver.version!==y.semver.version||!this.operator.includes("=")||!y.operator.includes("="))||!!(p(this.semver,"<",y.semver,_)&&this.operator.startsWith(">")&&y.operator.startsWith("<"))||!!(p(this.semver,">",y.semver,_)&&this.operator.startsWith("<")&&y.operator.startsWith(">")))}}o.exports=u;let H=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/parse-options.js"),{safeRe:a,t:l}=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js"),p=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/cmp.js"),d=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js"),h=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"),m=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js")},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js":(o,r,c)=>{class s{constructor(Z,ee){if(ee=H(ee),Z instanceof s)return Z.loose===!!ee.loose&&Z.includePrerelease===!!ee.includePrerelease?Z:new s(Z.raw,ee);if(Z instanceof a)return this.raw=Z.value,this.set=[[Z]],this.format(),this;if(this.options=ee,this.loose=!!ee.loose,this.includePrerelease=!!ee.includePrerelease,this.raw=Z.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(J=>this.parseRange(J.trim())).filter(J=>J.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let J=this.set[0];if(this.set=this.set.filter(ne=>!A(ne[0])),this.set.length===0)this.set=[J];else if(this.set.length>1){for(let ne of this.set)if(ne.length===1&&S(ne[0])){this.set=[ne];break}}}this.format()}format(){return this.range=this.set.map(Z=>Z.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(Z){let ee=((this.options.includePrerelease&&_)|(this.options.loose&&E))+":"+Z,J=u.get(ee);if(J)return J;let ne=this.options.loose,K=ne?d[h.HYPHENRANGELOOSE]:d[h.HYPHENRANGE];Z=Z.replace(K,F(this.options.includePrerelease)),l("hyphen replace",Z),Z=Z.replace(d[h.COMPARATORTRIM],m),l("comparator trim",Z),Z=Z.replace(d[h.TILDETRIM],g),l("tilde trim",Z),Z=Z.replace(d[h.CARETTRIM],y),l("caret trim",Z);let q=Z.split(" ").map(_e=>I(_e,this.options)).join(" ").split(/\s+/).map(_e=>U(_e,this.options));ne&&(q=q.filter(_e=>(l("loose invalid filter",_e,this.options),!!_e.match(d[h.COMPARATORLOOSE])))),l("range list",q);let Q=new Map,z=q.map(_e=>new a(_e,this.options));for(let _e of z){if(A(_e))return[_e];Q.set(_e.value,_e)}Q.size>1&&Q.has("")&&Q.delete("");let ie=[...Q.values()];return u.set(ee,ie),ie}intersects(Z,ee){if(!(Z instanceof s))throw new TypeError("a Range is required");return this.set.some(J=>T(J,ee)&&Z.set.some(ne=>T(ne,ee)&&J.every(K=>ne.every(q=>K.intersects(q,ee)))))}test(Z){if(!Z)return!1;if(typeof Z=="string")try{Z=new p(Z,this.options)}catch{return!1}for(let ee=0;ee<this.set.length;ee++)if(P(this.set[ee],Z,this.options))return!0;return!1}}o.exports=s;let u=new(c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/lrucache.js")),H=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/parse-options.js"),a=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js"),l=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js"),p=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"),{safeRe:d,t:h,comparatorTrimReplace:m,tildeTrimReplace:g,caretTrimReplace:y}=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js"),{FLAG_INCLUDE_PRERELEASE:_,FLAG_LOOSE:E}=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js"),A=W=>W.value==="<0.0.0-0",S=W=>W.value==="",T=(W,Z)=>{let ee=!0,J=W.slice(),ne=J.pop();for(;ee&&J.length;)ee=J.every(K=>ne.intersects(K,Z)),ne=J.pop();return ee},I=(W,Z)=>(l("comp",W,Z),W=D(W,Z),l("caret",W),W=x(W,Z),l("tildes",W),W=j(W,Z),l("xrange",W),W=$(W,Z),l("stars",W),W),L=W=>!W||W.toLowerCase()==="x"||W==="*",x=(W,Z)=>W.trim().split(/\s+/).map(ee=>C(ee,Z)).join(" "),C=(W,Z)=>{let ee=Z.loose?d[h.TILDELOOSE]:d[h.TILDE];return W.replace(ee,(J,ne,K,q,Q)=>{let z;return l("tilde",W,J,ne,K,q,Q),L(ne)?z="":L(K)?z=`>=${ne}.0.0 <${+ne+1}.0.0-0`:L(q)?z=`>=${ne}.${K}.0 <${ne}.${+K+1}.0-0`:Q?(l("replaceTilde pr",Q),z=`>=${ne}.${K}.${q}-${Q} <${ne}.${+K+1}.0-0`):z=`>=${ne}.${K}.${q} <${ne}.${+K+1}.0-0`,l("tilde return",z),z})},D=(W,Z)=>W.trim().split(/\s+/).map(ee=>O(ee,Z)).join(" "),O=(W,Z)=>{l("caret",W,Z);let ee=Z.loose?d[h.CARETLOOSE]:d[h.CARET],J=Z.includePrerelease?"-0":"";return W.replace(ee,(ne,K,q,Q,z)=>{let ie;return l("caret",W,ne,K,q,Q,z),L(K)?ie="":L(q)?ie=`>=${K}.0.0${J} <${+K+1}.0.0-0`:L(Q)?ie=K==="0"?`>=${K}.${q}.0${J} <${K}.${+q+1}.0-0`:`>=${K}.${q}.0${J} <${+K+1}.0.0-0`:z?(l("replaceCaret pr",z),ie=K==="0"?q==="0"?`>=${K}.${q}.${Q}-${z} <${K}.${q}.${+Q+1}-0`:`>=${K}.${q}.${Q}-${z} <${K}.${+q+1}.0-0`:`>=${K}.${q}.${Q}-${z} <${+K+1}.0.0-0`):(l("no pr"),ie=K==="0"?q==="0"?`>=${K}.${q}.${Q}${J} <${K}.${q}.${+Q+1}-0`:`>=${K}.${q}.${Q}${J} <${K}.${+q+1}.0-0`:`>=${K}.${q}.${Q} <${+K+1}.0.0-0`),l("caret return",ie),ie})},j=(W,Z)=>(l("replaceXRanges",W,Z),W.split(/\s+/).map(ee=>k(ee,Z)).join(" ")),k=(W,Z)=>{W=W.trim();let ee=Z.loose?d[h.XRANGELOOSE]:d[h.XRANGE];return W.replace(ee,(J,ne,K,q,Q,z)=>{l("xRange",W,J,ne,K,q,Q,z);let ie=L(K),_e=ie||L(q),He=_e||L(Q),be=He;return ne==="="&&be&&(ne=""),z=Z.includePrerelease?"-0":"",ie?J=ne===">"||ne==="<"?"<0.0.0-0":"*":ne&&be?(_e&&(q=0),Q=0,ne===">"?(ne=">=",_e?(K=+K+1,q=0,Q=0):(q=+q+1,Q=0)):ne==="<="&&(ne="<",_e?K=+K+1:q=+q+1),ne==="<"&&(z="-0"),J=`${ne+K}.${q}.${Q}${z}`):_e?J=`>=${K}.0.0${z} <${+K+1}.0.0-0`:He&&(J=`>=${K}.${q}.0${z} <${K}.${+q+1}.0-0`),l("xRange return",J),J})},$=(W,Z)=>(l("replaceStars",W,Z),W.trim().replace(d[h.STAR],"")),U=(W,Z)=>(l("replaceGTE0",W,Z),W.trim().replace(d[Z.includePrerelease?h.GTE0PRE:h.GTE0],"")),F=W=>(Z,ee,J,ne,K,q,Q,z,ie,_e,He,be)=>`${ee=L(J)?"":L(ne)?`>=${J}.0.0${W?"-0":""}`:L(K)?`>=${J}.${ne}.0${W?"-0":""}`:q?`>=${ee}`:`>=${ee}${W?"-0":""}`} ${z=L(ie)?"":L(_e)?`<${+ie+1}.0.0-0`:L(He)?`<${ie}.${+_e+1}.0-0`:be?`<=${ie}.${_e}.${He}-${be}`:W?`<${ie}.${_e}.${+He+1}-0`:`<=${z}`}`.trim(),P=(W,Z,ee)=>{for(let J=0;J<W.length;J++)if(!W[J].test(Z))return!1;if(Z.prerelease.length&&!ee.includePrerelease){for(let J=0;J<W.length;J++)if(l(W[J].semver),W[J].semver!==a.ANY&&W[J].semver.prerelease.length>0){let ne=W[J].semver;if(ne.major===Z.major&&ne.minor===Z.minor&&ne.patch===Z.patch)return!0}return!1}return!0}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js"),{MAX_LENGTH:u,MAX_SAFE_INTEGER:H}=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js"),{safeRe:a,t:l}=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js"),p=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/parse-options.js"),{compareIdentifiers:d}=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/identifiers.js");class h{constructor(g,y){if(y=p(y),g instanceof h){if(g.loose===!!y.loose&&g.includePrerelease===!!y.includePrerelease)return g;g=g.version}else if(typeof g!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof g}".`);if(g.length>u)throw new TypeError(`version is longer than ${u} characters`);s("SemVer",g,y),this.options=y,this.loose=!!y.loose,this.includePrerelease=!!y.includePrerelease;let _=g.trim().match(y.loose?a[l.LOOSE]:a[l.FULL]);if(!_)throw new TypeError(`Invalid Version: ${g}`);if(this.raw=g,this.major=+_[1],this.minor=+_[2],this.patch=+_[3],this.major>H||this.major<0)throw new TypeError("Invalid major version");if(this.minor>H||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>H||this.patch<0)throw new TypeError("Invalid patch version");_[4]?this.prerelease=_[4].split(".").map(E=>{if(/^[0-9]+$/.test(E)){let A=+E;if(A>=0&&A<H)return A}return E}):this.prerelease=[],this.build=_[5]?_[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(g){if(s("SemVer.compare",this.version,this.options,g),!(g instanceof h)){if(typeof g=="string"&&g===this.version)return 0;g=new h(g,this.options)}return g.version===this.version?0:this.compareMain(g)||this.comparePre(g)}compareMain(g){return g instanceof h||(g=new h(g,this.options)),d(this.major,g.major)||d(this.minor,g.minor)||d(this.patch,g.patch)}comparePre(g){if(g instanceof h||(g=new h(g,this.options)),this.prerelease.length&&!g.prerelease.length)return-1;if(!this.prerelease.length&&g.prerelease.length)return 1;if(!this.prerelease.length&&!g.prerelease.length)return 0;let y=0;do{let _=this.prerelease[y],E=g.prerelease[y];if(s("prerelease compare",y,_,E),_===void 0&&E===void 0)return 0;if(E===void 0)return 1;if(_===void 0)return-1;if(_!==E)return d(_,E)}while(++y)}compareBuild(g){g instanceof h||(g=new h(g,this.options));let y=0;do{let _=this.build[y],E=g.build[y];if(s("build compare",y,_,E),_===void 0&&E===void 0)return 0;if(E===void 0)return 1;if(_===void 0)return-1;if(_!==E)return d(_,E)}while(++y)}inc(g,y,_){switch(g){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",y,_);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",y,_);break;case"prepatch":this.prerelease.length=0,this.inc("patch",y,_),this.inc("pre",y,_);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",y,_),this.inc("pre",y,_);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let E=Number(_)?1:0;if(!y&&_===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[E];else{let A=this.prerelease.length;for(;--A>=0;)typeof this.prerelease[A]=="number"&&(this.prerelease[A]++,A=-2);if(A===-1){if(y===this.prerelease.join(".")&&_===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(E)}}if(y){let A=[y,E];_===!1&&(A=[y]),d(this.prerelease[0],y)===0?isNaN(this.prerelease[1])&&(this.prerelease=A):this.prerelease=A}break}default:throw new Error(`invalid increment argument: ${g}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}o.exports=h},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/clean.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js");o.exports=(u,H)=>{let a=s(u.trim().replace(/^[=v]+/,""),H);return a?a.version:null}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/cmp.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/eq.js"),u=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/neq.js"),H=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js"),a=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gte.js"),l=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lt.js"),p=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lte.js");o.exports=(d,h,m,g)=>{switch(h){case"===":return typeof d=="object"&&(d=d.version),typeof m=="object"&&(m=m.version),d===m;case"!==":return typeof d=="object"&&(d=d.version),typeof m=="object"&&(m=m.version),d!==m;case"":case"=":case"==":return s(d,m,g);case"!=":return u(d,m,g);case">":return H(d,m,g);case">=":return a(d,m,g);case"<":return l(d,m,g);case"<=":return p(d,m,g);default:throw new TypeError(`Invalid operator: ${h}`)}}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/coerce.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"),u=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js"),{safeRe:H,t:a}=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js");o.exports=(l,p)=>{if(l instanceof s)return l;if(typeof l=="number"&&(l=String(l)),typeof l!="string")return null;let d=null;if((p=p||{}).rtl){let E=p.includePrerelease?H[a.COERCERTLFULL]:H[a.COERCERTL],A;for(;(A=E.exec(l))&&(!d||d.index+d[0].length!==l.length);)d&&A.index+A[0].length===d.index+d[0].length||(d=A),E.lastIndex=A.index+A[1].length+A[2].length;E.lastIndex=-1}else d=l.match(p.includePrerelease?H[a.COERCEFULL]:H[a.COERCE]);if(d===null)return null;let h=d[2],m=d[3]||"0",g=d[4]||"0",y=p.includePrerelease&&d[5]?`-${d[5]}`:"",_=p.includePrerelease&&d[6]?`+${d[6]}`:"";return u(`${h}.${m}.${g}${y}${_}`,p)}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-build.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");o.exports=(u,H,a)=>{let l=new s(u,a),p=new s(H,a);return l.compare(p)||l.compareBuild(p)}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-loose.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");o.exports=(u,H)=>s(u,H,!0)},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");o.exports=(u,H,a)=>new s(u,a).compare(new s(H,a))},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/diff.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js");o.exports=(u,H)=>{let a=s(u,null,!0),l=s(H,null,!0),p=a.compare(l);if(p===0)return null;let d=p>0,h=d?a:l,m=d?l:a,g=!!h.prerelease.length;if(m.prerelease.length&&!g)return m.patch||m.minor?h.patch?"patch":h.minor?"minor":"major":"major";let y=g?"pre":"";return a.major!==l.major?y+"major":a.minor!==l.minor?y+"minor":a.patch!==l.patch?y+"patch":"prerelease"}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/eq.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");o.exports=(u,H,a)=>s(u,H,a)===0},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");o.exports=(u,H,a)=>s(u,H,a)>0},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gte.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");o.exports=(u,H,a)=>s(u,H,a)>=0},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/inc.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");o.exports=(u,H,a,l,p)=>{typeof a=="string"&&(p=l,l=a,a=void 0);try{return new s(u instanceof s?u.version:u,a).inc(H,l,p).version}catch{return null}}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lt.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");o.exports=(u,H,a)=>s(u,H,a)<0},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lte.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");o.exports=(u,H,a)=>s(u,H,a)<=0},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/major.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");o.exports=(u,H)=>new s(u,H).major},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/minor.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");o.exports=(u,H)=>new s(u,H).minor},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/neq.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");o.exports=(u,H,a)=>s(u,H,a)!==0},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");o.exports=(u,H,a=!1)=>{if(u instanceof s)return u;try{return new s(u,H)}catch(l){if(!a)return null;throw l}}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/patch.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");o.exports=(u,H)=>new s(u,H).patch},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/prerelease.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js");o.exports=(u,H)=>{let a=s(u,H);return a&&a.prerelease.length?a.prerelease:null}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rcompare.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");o.exports=(u,H,a)=>s(H,u,a)},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rsort.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-build.js");o.exports=(u,H)=>u.sort((a,l)=>s(l,a,H))},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js");o.exports=(u,H,a)=>{try{H=new s(H,a)}catch{return!1}return H.test(u)}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/sort.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-build.js");o.exports=(u,H)=>u.sort((a,l)=>s(a,l,H))},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/valid.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js");o.exports=(u,H)=>{let a=s(u,H);return a?a.version:null}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/index.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js"),u=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js"),H=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"),a=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/identifiers.js"),l=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js"),p=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/valid.js"),d=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/clean.js"),h=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/inc.js"),m=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/diff.js"),g=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/major.js"),y=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/minor.js"),_=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/patch.js"),E=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/prerelease.js"),A=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js"),S=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rcompare.js"),T=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-loose.js"),I=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-build.js"),L=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/sort.js"),x=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rsort.js"),C=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js"),D=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lt.js"),O=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/eq.js"),j=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/neq.js"),k=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gte.js"),$=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lte.js"),U=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/cmp.js"),F=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/coerce.js"),P=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js"),W=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js"),Z=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js"),ee=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/to-comparators.js"),J=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/max-satisfying.js"),ne=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-satisfying.js"),K=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-version.js"),q=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/valid.js"),Q=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/outside.js"),z=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/gtr.js"),ie=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/ltr.js"),_e=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/intersects.js"),He=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/simplify.js"),be=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/subset.js");o.exports={parse:l,valid:p,clean:d,inc:h,diff:m,major:g,minor:y,patch:_,prerelease:E,compare:A,rcompare:S,compareLoose:T,compareBuild:I,sort:L,rsort:x,gt:C,lt:D,eq:O,neq:j,gte:k,lte:$,cmp:U,coerce:F,Comparator:P,Range:W,satisfies:Z,toComparators:ee,maxSatisfying:J,minSatisfying:ne,minVersion:K,validRange:q,outside:Q,gtr:z,ltr:ie,intersects:_e,simplifyRange:He,subset:be,SemVer:H,re:s.re,src:s.src,tokens:s.t,SEMVER_SPEC_VERSION:u.SEMVER_SPEC_VERSION,RELEASE_TYPES:u.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js":o=>{let r=Number.MAX_SAFE_INTEGER||9007199254740991;o.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:r,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js":o=>{let r=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...c)=>console.error("SEMVER",...c):()=>{};o.exports=r},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/identifiers.js":o=>{let r=/^[0-9]+$/,c=(s,u)=>{let H=r.test(s),a=r.test(u);return H&&a&&(s=+s,u=+u),s===u?0:H&&!a?-1:a&&!H?1:s<u?-1:1};o.exports={compareIdentifiers:c,rcompareIdentifiers:(s,u)=>c(u,s)}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/lrucache.js":o=>{o.exports=class{constructor(){this.max=1e3,this.map=new Map}get(r){let c=this.map.get(r);return c===void 0?void 0:(this.map.delete(r),this.map.set(r,c),c)}delete(r){return this.map.delete(r)}set(r,c){if(!this.delete(r)&&c!==void 0){if(this.map.size>=this.max){let s=this.map.keys().next().value;this.delete(s)}this.map.set(r,c)}return this}}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/parse-options.js":o=>{let r=Object.freeze({loose:!0}),c=Object.freeze({});o.exports=s=>s?typeof s!="object"?r:s:c},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js":(o,r,c)=>{let{MAX_SAFE_COMPONENT_LENGTH:s,MAX_SAFE_BUILD_LENGTH:u,MAX_LENGTH:H}=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js"),a=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js"),l=(r=o.exports={}).re=[],p=r.safeRe=[],d=r.src=[],h=r.t={},m=0,g=[["\\s",1],["\\d",H],["[a-zA-Z0-9-]",u]],y=(_,E,A)=>{let S=(I=>{for(let[L,x]of g)I=I.split(`${L}*`).join(`${L}{0,${x}}`).split(`${L}+`).join(`${L}{1,${x}}`);return I})(E),T=m++;a(_,T,E),h[_]=T,d[T]=E,l[T]=new RegExp(E,A?"g":void 0),p[T]=new RegExp(S,A?"g":void 0)};y("NUMERICIDENTIFIER","0|[1-9]\\d*"),y("NUMERICIDENTIFIERLOOSE","\\d+"),y("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),y("MAINVERSION",`(${d[h.NUMERICIDENTIFIER]})\\.(${d[h.NUMERICIDENTIFIER]})\\.(${d[h.NUMERICIDENTIFIER]})`),y("MAINVERSIONLOOSE",`(${d[h.NUMERICIDENTIFIERLOOSE]})\\.(${d[h.NUMERICIDENTIFIERLOOSE]})\\.(${d[h.NUMERICIDENTIFIERLOOSE]})`),y("PRERELEASEIDENTIFIER",`(?:${d[h.NUMERICIDENTIFIER]}|${d[h.NONNUMERICIDENTIFIER]})`),y("PRERELEASEIDENTIFIERLOOSE",`(?:${d[h.NUMERICIDENTIFIERLOOSE]}|${d[h.NONNUMERICIDENTIFIER]})`),y("PRERELEASE",`(?:-(${d[h.PRERELEASEIDENTIFIER]}(?:\\.${d[h.PRERELEASEIDENTIFIER]})*))`),y("PRERELEASELOOSE",`(?:-?(${d[h.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${d[h.PRERELEASEIDENTIFIERLOOSE]})*))`),y("BUILDIDENTIFIER","[a-zA-Z0-9-]+"),y("BUILD",`(?:\\+(${d[h.BUILDIDENTIFIER]}(?:\\.${d[h.BUILDIDENTIFIER]})*))`),y("FULLPLAIN",`v?${d[h.MAINVERSION]}${d[h.PRERELEASE]}?${d[h.BUILD]}?`),y("FULL",`^${d[h.FULLPLAIN]}$`),y("LOOSEPLAIN",`[v=\\s]*${d[h.MAINVERSIONLOOSE]}${d[h.PRERELEASELOOSE]}?${d[h.BUILD]}?`),y("LOOSE",`^${d[h.LOOSEPLAIN]}$`),y("GTLT","((?:<|>)?=?)"),y("XRANGEIDENTIFIERLOOSE",`${d[h.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),y("XRANGEIDENTIFIER",`${d[h.NUMERICIDENTIFIER]}|x|X|\\*`),y("XRANGEPLAIN",`[v=\\s]*(${d[h.XRANGEIDENTIFIER]})(?:\\.(${d[h.XRANGEIDENTIFIER]})(?:\\.(${d[h.XRANGEIDENTIFIER]})(?:${d[h.PRERELEASE]})?${d[h.BUILD]}?)?)?`),y("XRANGEPLAINLOOSE",`[v=\\s]*(${d[h.XRANGEIDENTIFIERLOOSE]})(?:\\.(${d[h.XRANGEIDENTIFIERLOOSE]})(?:\\.(${d[h.XRANGEIDENTIFIERLOOSE]})(?:${d[h.PRERELEASELOOSE]})?${d[h.BUILD]}?)?)?`),y("XRANGE",`^${d[h.GTLT]}\\s*${d[h.XRANGEPLAIN]}$`),y("XRANGELOOSE",`^${d[h.GTLT]}\\s*${d[h.XRANGEPLAINLOOSE]}$`),y("COERCEPLAIN",`(^|[^\\d])(\\d{1,${s}})(?:\\.(\\d{1,${s}}))?(?:\\.(\\d{1,${s}}))?`),y("COERCE",`${d[h.COERCEPLAIN]}(?:$|[^\\d])`),y("COERCEFULL",d[h.COERCEPLAIN]+`(?:${d[h.PRERELEASE]})?(?:${d[h.BUILD]})?(?:$|[^\\d])`),y("COERCERTL",d[h.COERCE],!0),y("COERCERTLFULL",d[h.COERCEFULL],!0),y("LONETILDE","(?:~>?)"),y("TILDETRIM",`(\\s*)${d[h.LONETILDE]}\\s+`,!0),r.tildeTrimReplace="$1~",y("TILDE",`^${d[h.LONETILDE]}${d[h.XRANGEPLAIN]}$`),y("TILDELOOSE",`^${d[h.LONETILDE]}${d[h.XRANGEPLAINLOOSE]}$`),y("LONECARET","(?:\\^)"),y("CARETTRIM",`(\\s*)${d[h.LONECARET]}\\s+`,!0),r.caretTrimReplace="$1^",y("CARET",`^${d[h.LONECARET]}${d[h.XRANGEPLAIN]}$`),y("CARETLOOSE",`^${d[h.LONECARET]}${d[h.XRANGEPLAINLOOSE]}$`),y("COMPARATORLOOSE",`^${d[h.GTLT]}\\s*(${d[h.LOOSEPLAIN]})$|^$`),y("COMPARATOR",`^${d[h.GTLT]}\\s*(${d[h.FULLPLAIN]})$|^$`),y("COMPARATORTRIM",`(\\s*)${d[h.GTLT]}\\s*(${d[h.LOOSEPLAIN]}|${d[h.XRANGEPLAIN]})`,!0),r.comparatorTrimReplace="$1$2$3",y("HYPHENRANGE",`^\\s*(${d[h.XRANGEPLAIN]})\\s+-\\s+(${d[h.XRANGEPLAIN]})\\s*$`),y("HYPHENRANGELOOSE",`^\\s*(${d[h.XRANGEPLAINLOOSE]})\\s+-\\s+(${d[h.XRANGEPLAINLOOSE]})\\s*$`),y("STAR","(<|>)?=?\\s*\\*"),y("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),y("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/gtr.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/outside.js");o.exports=(u,H,a)=>s(u,H,">",a)},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/intersects.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js");o.exports=(u,H,a)=>(u=new s(u,a),H=new s(H,a),u.intersects(H,a))},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/ltr.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/outside.js");o.exports=(u,H,a)=>s(u,H,"<",a)},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/max-satisfying.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"),u=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js");o.exports=(H,a,l)=>{let p=null,d=null,h=null;try{h=new u(a,l)}catch{return null}return H.forEach(m=>{h.test(m)&&(p&&d.compare(m)!==-1||(p=m,d=new s(p,l)))}),p}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-satisfying.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"),u=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js");o.exports=(H,a,l)=>{let p=null,d=null,h=null;try{h=new u(a,l)}catch{return null}return H.forEach(m=>{h.test(m)&&(p&&d.compare(m)!==1||(p=m,d=new s(p,l)))}),p}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-version.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"),u=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js"),H=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js");o.exports=(a,l)=>{a=new u(a,l);let p=new s("0.0.0");if(a.test(p)||(p=new s("0.0.0-0"),a.test(p)))return p;p=null;for(let d=0;d<a.set.length;++d){let h=a.set[d],m=null;h.forEach(g=>{let y=new s(g.semver.version);switch(g.operator){case">":y.prerelease.length===0?y.patch++:y.prerelease.push(0),y.raw=y.format();case"":case">=":m&&!H(y,m)||(m=y);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${g.operator}`)}}),!m||p&&!H(p,m)||(p=m)}return p&&a.test(p)?p:null}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/outside.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"),u=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js"),{ANY:H}=u,a=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js"),l=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js"),p=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js"),d=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lt.js"),h=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lte.js"),m=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gte.js");o.exports=(g,y,_,E)=>{let A,S,T,I,L;switch(g=new s(g,E),y=new a(y,E),_){case">":A=p,S=h,T=d,I=">",L=">=";break;case"<":A=d,S=m,T=p,I="<",L="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(l(g,y,E))return!1;for(let x=0;x<y.set.length;++x){let C=y.set[x],D=null,O=null;if(C.forEach(j=>{j.semver===H&&(j=new u(">=0.0.0")),D=D||j,O=O||j,A(j.semver,D.semver,E)?D=j:T(j.semver,O.semver,E)&&(O=j)}),D.operator===I||D.operator===L||(!O.operator||O.operator===I)&&S(g,O.semver)||O.operator===L&&T(g,O.semver))return!1}return!0}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/simplify.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js"),u=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");o.exports=(H,a,l)=>{let p=[],d=null,h=null,m=H.sort((E,A)=>u(E,A,l));for(let E of m)s(E,a,l)?(h=E,d||(d=E)):(h&&p.push([d,h]),h=null,d=null);d&&p.push([d,null]);let g=[];for(let[E,A]of p)E===A?g.push(E):A||E!==m[0]?A?E===m[0]?g.push(`<=${A}`):g.push(`${E} - ${A}`):g.push(`>=${E}`):g.push("*");let y=g.join(" || "),_=typeof a.raw=="string"?a.raw:String(a);return y.length<_.length?y:a}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/subset.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js"),u=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js"),{ANY:H}=u,a=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js"),l=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js"),p=[new u(">=0.0.0-0")],d=[new u(">=0.0.0")],h=(y,_,E)=>{if(y===_)return!0;if(y.length===1&&y[0].semver===H){if(_.length===1&&_[0].semver===H)return!0;y=E.includePrerelease?p:d}if(_.length===1&&_[0].semver===H){if(E.includePrerelease)return!0;_=d}let A=new Set,S,T,I,L,x,C,D;for(let k of y)k.operator===">"||k.operator===">="?S=m(S,k,E):k.operator==="<"||k.operator==="<="?T=g(T,k,E):A.add(k.semver);if(A.size>1||S&&T&&(I=l(S.semver,T.semver,E),I>0||I===0&&(S.operator!==">="||T.operator!=="<=")))return null;for(let k of A){if(S&&!a(k,String(S),E)||T&&!a(k,String(T),E))return null;for(let $ of _)if(!a(k,String($),E))return!1;return!0}let O=!(!T||E.includePrerelease||!T.semver.prerelease.length)&&T.semver,j=!(!S||E.includePrerelease||!S.semver.prerelease.length)&&S.semver;O&&O.prerelease.length===1&&T.operator==="<"&&O.prerelease[0]===0&&(O=!1);for(let k of _){if(D=D||k.operator===">"||k.operator===">=",C=C||k.operator==="<"||k.operator==="<=",S){if(j&&k.semver.prerelease&&k.semver.prerelease.length&&k.semver.major===j.major&&k.semver.minor===j.minor&&k.semver.patch===j.patch&&(j=!1),k.operator===">"||k.operator===">="){if(L=m(S,k,E),L===k&&L!==S)return!1}else if(S.operator===">="&&!a(S.semver,String(k),E))return!1}if(T){if(O&&k.semver.prerelease&&k.semver.prerelease.length&&k.semver.major===O.major&&k.semver.minor===O.minor&&k.semver.patch===O.patch&&(O=!1),k.operator==="<"||k.operator==="<="){if(x=g(T,k,E),x===k&&x!==T)return!1}else if(T.operator==="<="&&!a(T.semver,String(k),E))return!1}if(!k.operator&&(T||S)&&I!==0)return!1}return!(S&&C&&!T&&I!==0)&&!(T&&D&&!S&&I!==0)&&!j&&!O},m=(y,_,E)=>{if(!y)return _;let A=l(y.semver,_.semver,E);return A>0?y:A<0||_.operator===">"&&y.operator===">="?_:y},g=(y,_,E)=>{if(!y)return _;let A=l(y.semver,_.semver,E);return A<0?y:A>0||_.operator==="<"&&y.operator==="<="?_:y};o.exports=(y,_,E={})=>{if(y===_)return!0;y=new s(y,E),_=new s(_,E);let A=!1;e:for(let S of y.set){for(let T of _.set){let I=h(S,T,E);if(A=A||I!==null,I)continue e}if(A)return!1}return!0}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/to-comparators.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js");o.exports=(u,H)=>new s(u,H).set.map(a=>a.map(l=>l.value).join(" ").trim().split(" "))},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/valid.js":(o,r,c)=>{let s=c("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js");o.exports=(u,H)=>{try{return new s(u,H).range||"*"}catch{return null}}},crypto:o=>{"use strict";o.exports=require("crypto")},fs:o=>{"use strict";o.exports=require("fs")},module:o=>{"use strict";o.exports=require("module")},path:o=>{"use strict";o.exports=require("path")}},t={};function n(o){var r=t[o];if(r!==void 0)return r.exports;var c=t[o]={id:o,loaded:!1,exports:{}};return e[o](c,c.exports,n),c.loaded=!0,c.exports}n.n=o=>{var r=o&&o.__esModule?()=>o.default:()=>o;return n.d(r,{a:r}),r},n.d=(o,r)=>{for(var c in r)n.o(r,c)&&!n.o(o,c)&&Object.defineProperty(o,c,{enumerable:!0,get:r[c]})},n.o=(o,r)=>Object.prototype.hasOwnProperty.call(o,r),n.nmd=o=>(o.paths=[],o.children||(o.children=[]),o);var i={};(()=>{"use strict";n.d(i,{default:()=>mp});var o=n("fs"),r=n("module");let c=require("perf_hooks"),s=require("os"),u=require("vm");var H=n.n(u);let a=require("url"),l=/^[A-Za-z]:\//;function p(R=""){return R&&R.replace(/\\/g,"/").replace(l,te=>te.toUpperCase())}let d=/^[/\\]{2}/,h=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,m=/^[A-Za-z]:$/,g=function(R){if(R.length===0)return".";let te=(R=p(R)).match(d),ve=E(R),Me=R[R.length-1]==="/";return(R=_(R,!ve)).length===0?ve?"/":Me?"./":".":(Me&&(R+="/"),m.test(R)&&(R+="/"),te?ve?`//${R}`:`//./${R}`:ve&&!E(R)?`/${R}`:R)},y=function(...R){if(R.length===0)return".";let te;for(let ve of R)ve&&ve.length>0&&(te===void 0?te=ve:te+=`/${ve}`);return te===void 0?".":g(te.replace(/\/\/+/g,"/"))};function _(R,te){let ve="",Me=0,st=-1,yt=0,_t=null;for(let xt=0;xt<=R.length;++xt){if(xt<R.length)_t=R[xt];else{if(_t==="/")break;_t="/"}if(_t==="/"){if(!(st===xt-1||yt===1))if(yt===2){if(ve.length<2||Me!==2||ve[ve.length-1]!=="."||ve[ve.length-2]!=="."){if(ve.length>2){let Xt=ve.lastIndexOf("/");Xt===-1?(ve="",Me=0):(ve=ve.slice(0,Xt),Me=ve.length-1-ve.lastIndexOf("/")),st=xt,yt=0;continue}if(ve.length>0){ve="",Me=0,st=xt,yt=0;continue}}te&&(ve+=ve.length>0?"/..":"..",Me=2)}else ve.length>0?ve+=`/${R.slice(st+1,xt)}`:ve=R.slice(st+1,xt),Me=xt-st-1;st=xt,yt=0}else _t==="."&&yt!==-1?++yt:yt=-1}return ve}let E=function(R){return h.test(R)},A=/.(\.[^./]+)$/,S=function(R){let te=A.exec(p(R));return te&&te[1]||""},T=function(R){let te=p(R).replace(/\/$/,"").split("/").slice(0,-1);return te.length===1&&m.test(te[0])&&(te[0]+="/"),te.join("/")||(E(R)?"/":".")},I=function(R,te){let ve=p(R).split("/").pop();return te&&ve.endsWith(te)?ve.slice(0,-te.length):ve},L=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,x=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,C=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function D(R,te){if(!(R==="__proto__"||R==="constructor"&&te&&typeof te=="object"&&"prototype"in te))return te;(function(ve){console.warn(`[destr] Dropping "${ve}" key to prevent prototype pollution.`)})(R)}function O(R,te={}){if(typeof R!="string")return R;let ve=R.trim();if(R[0]==='"'&&R.endsWith('"')&&!R.includes("\\"))return ve.slice(1,-1);if(ve.length<=9){let Me=ve.toLowerCase();if(Me==="true")return!0;if(Me==="false")return!1;if(Me==="undefined")return;if(Me==="null")return null;if(Me==="nan")return Number.NaN;if(Me==="infinity")return Number.POSITIVE_INFINITY;if(Me==="-infinity")return Number.NEGATIVE_INFINITY}if(!C.test(R)){if(te.strict)throw new SyntaxError("[destr] Invalid JSON");return R}try{if(L.test(R)||x.test(R)){if(te.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(R,D)}return JSON.parse(R)}catch(Me){if(te.strict)throw Me;return R}}function j(R){if(typeof R!="string")throw new TypeError("Expected a string");return R.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var k=n("./node_modules/.pnpm/create-require@1.1.1/node_modules/create-require/create-require.js"),$=n.n(k),U=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/index.js");let F=new Set(["/","\\",void 0]),P=Symbol.for("pathe:normalizedAlias");function W(R){if(R[P])return R;let te=Object.fromEntries(Object.entries(R).sort(([ve],[Me])=>function(st,yt){return yt.split("/").length-st.split("/").length}(ve,Me)));for(let ve in te)for(let Me in te)Me===ve||ve.startsWith(Me)||te[ve].startsWith(Me)&&F.has(te[ve][Me.length])&&(te[ve]=te[Me]+te[ve].slice(Me.length));return Object.defineProperty(te,P,{value:!0,enumerable:!1}),te}function Z(R="/"){let te=R[R.length-1];return te==="/"||te==="\\"}var ee=n("./node_modules/.pnpm/pirates@4.0.6/node_modules/pirates/lib/index.js"),J=n("./node_modules/.pnpm/object-hash@3.0.0/node_modules/object-hash/index.js"),ne=n.n(J),K=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],q=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Q="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",z={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},ie="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",_e={5:ie,"5module":ie+" export import",6:ie+" const class extends export import super"},He=/^in(stanceof)?$/,be=new RegExp("["+Q+"]"),Ve=new RegExp("["+Q+"\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65]");function Fe(R,te){for(var ve=65536,Me=0;Me<te.length;Me+=2){if((ve+=te[Me])>R)return!1;if((ve+=te[Me+1])>=R)return!0}return!1}function me(R,te){return R<65?R===36:R<91||(R<97?R===95:R<123||(R<=65535?R>=170&&be.test(String.fromCharCode(R)):te!==!1&&Fe(R,q)))}function ce(R,te){return R<48?R===36:R<58||!(R<65)&&(R<91||(R<97?R===95:R<123||(R<=65535?R>=170&&Ve.test(String.fromCharCode(R)):te!==!1&&(Fe(R,q)||Fe(R,K)))))}var ke=function(R,te){te===void 0&&(te={}),this.label=R,this.keyword=te.keyword,this.beforeExpr=!!te.beforeExpr,this.startsExpr=!!te.startsExpr,this.isLoop=!!te.isLoop,this.isAssign=!!te.isAssign,this.prefix=!!te.prefix,this.postfix=!!te.postfix,this.binop=te.binop||null,this.updateContext=null};function je(R,te){return new ke(R,{beforeExpr:!0,binop:te})}var Oe={beforeExpr:!0},re={startsExpr:!0},fe={};function he(R,te){return te===void 0&&(te={}),te.keyword=R,fe[R]=new ke(R,te)}var se={num:new ke("num",re),regexp:new ke("regexp",re),string:new ke("string",re),name:new ke("name",re),privateId:new ke("privateId",re),eof:new ke("eof"),bracketL:new ke("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new ke("]"),braceL:new ke("{",{beforeExpr:!0,startsExpr:!0}),braceR:new ke("}"),parenL:new ke("(",{beforeExpr:!0,startsExpr:!0}),parenR:new ke(")"),comma:new ke(",",Oe),semi:new ke(";",Oe),colon:new ke(":",Oe),dot:new ke("."),question:new ke("?",Oe),questionDot:new ke("?."),arrow:new ke("=>",Oe),template:new ke("template"),invalidTemplate:new ke("invalidTemplate"),ellipsis:new ke("...",Oe),backQuote:new ke("`",re),dollarBraceL:new ke("${",{beforeExpr:!0,startsExpr:!0}),eq:new ke("=",{beforeExpr:!0,isAssign:!0}),assign:new ke("_=",{beforeExpr:!0,isAssign:!0}),incDec:new ke("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new ke("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:je("||",1),logicalAND:je("&&",2),bitwiseOR:je("|",3),bitwiseXOR:je("^",4),bitwiseAND:je("&",5),equality:je("==/!=/===/!==",6),relational:je("</>/<=/>=",7),bitShift:je("<</>>/>>>",8),plusMin:new ke("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:je("%",10),star:je("*",10),slash:je("/",10),starstar:new ke("**",{beforeExpr:!0}),coalesce:je("??",1),_break:he("break"),_case:he("case",Oe),_catch:he("catch"),_continue:he("continue"),_debugger:he("debugger"),_default:he("default",Oe),_do:he("do",{isLoop:!0,beforeExpr:!0}),_else:he("else",Oe),_finally:he("finally"),_for:he("for",{isLoop:!0}),_function:he("function",re),_if:he("if"),_return:he("return",Oe),_switch:he("switch"),_throw:he("throw",Oe),_try:he("try"),_var:he("var"),_const:he("const"),_while:he("while",{isLoop:!0}),_with:he("with"),_new:he("new",{beforeExpr:!0,startsExpr:!0}),_this:he("this",re),_super:he("super",re),_class:he("class",re),_extends:he("extends",Oe),_export:he("export"),_import:he("import",re),_null:he("null",re),_true:he("true",re),_false:he("false",re),_in:he("in",{beforeExpr:!0,binop:7}),_instanceof:he("instanceof",{beforeExpr:!0,binop:7}),_typeof:he("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:he("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:he("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Ie=/\r\n?|\n|\u2028|\u2029/,ye=new RegExp(Ie.source,"g");function $e(R){return R===10||R===13||R===8232||R===8233}function nt(R,te,ve){ve===void 0&&(ve=R.length);for(var Me=te;Me<ve;Me++){var st=R.charCodeAt(Me);if($e(st))return Me<ve-1&&st===13&&R.charCodeAt(Me+1)===10?Me+2:Me+1}return-1}var et=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,xe=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,pe=Object.prototype,ue=pe.hasOwnProperty,Se=pe.toString,Ae=Object.hasOwn||function(R,te){return ue.call(R,te)},de=Array.isArray||function(R){return Se.call(R)==="[object Array]"},We=Object.create(null);function tt(R){return We[R]||(We[R]=new RegExp("^(?:"+R.replace(/ /g,"|")+")$"))}function mt(R){return R<=65535?String.fromCharCode(R):(R-=65536,String.fromCharCode(55296+(R>>10),56320+(1023&R)))}var At=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,pt=function(R,te){this.line=R,this.column=te};pt.prototype.offset=function(R){return new pt(this.line,this.column+R)};var Nt=function(R,te,ve){this.start=te,this.end=ve,R.sourceFile!==null&&(this.source=R.sourceFile)};function Ce(R,te){for(var ve=1,Me=0;;){var st=nt(R,Me,te);if(st<0)return new pt(ve,te-Me);++ve,Me=st}}var qe={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},ot=!1;function Ze(R){var te={};for(var ve in qe)te[ve]=R&&Ae(R,ve)?R[ve]:qe[ve];if(te.ecmaVersion==="latest"?te.ecmaVersion=1e8:te.ecmaVersion==null?(!ot&&typeof console=="object"&&console.warn&&(ot=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
Defaulting to 2020, but this will stop working in the future.`)),te.ecmaVersion=11):te.ecmaVersion>=2015&&(te.ecmaVersion-=2009),te.allowReserved==null&&(te.allowReserved=te.ecmaVersion<5),R&&R.allowHashBang!=null||(te.allowHashBang=te.ecmaVersion>=14),de(te.onToken)){var Me=te.onToken;te.onToken=function(st){return Me.push(st)}}return de(te.onComment)&&(te.onComment=function(st,yt){return function(_t,xt,Xt,cr,Zt,Xr){var En={type:_t?"Block":"Line",value:xt,start:Xt,end:cr};st.locations&&(En.loc=new Nt(this,Zt,Xr)),st.ranges&&(En.range=[Xt,cr]),yt.push(En)}}(te,te.onComment)),te}function Pe(R,te){return 2|(R?4:0)|(te?8:0)}var Qe=function(R,te,ve){this.options=R=Ze(R),this.sourceFile=R.sourceFile,this.keywords=tt(_e[R.ecmaVersion>=6?6:R.sourceType==="module"?"5module":5]);var Me="";R.allowReserved!==!0&&(Me=z[R.ecmaVersion>=6?6:R.ecmaVersion===5?5:3],R.sourceType==="module"&&(Me+=" await")),this.reservedWords=tt(Me);var st=(Me?Me+" ":"")+z.strict;this.reservedWordsStrict=tt(st),this.reservedWordsStrictBind=tt(st+" "+z.strictBind),this.input=String(te),this.containsEsc=!1,ve?(this.pos=ve,this.lineStart=this.input.lastIndexOf(`
|
|
`,ve-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Ie).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=se.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=R.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&R.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},Ge={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Qe.prototype.parse=function(){var R=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(R)},Ge.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},Ge.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},Ge.inAsync.get=function(){return(4&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},Ge.canAwait.get=function(){for(var R=this.scopeStack.length-1;R>=0;R--){var te=this.scopeStack[R];if(te.inClassFieldInit||256&te.flags)return!1;if(2&te.flags)return(4&te.flags)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},Ge.allowSuper.get=function(){var R=this.currentThisScope(),te=R.flags,ve=R.inClassFieldInit;return(64&te)>0||ve||this.options.allowSuperOutsideMethod},Ge.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},Ge.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Ge.allowNewDotTarget.get=function(){var R=this.currentThisScope(),te=R.flags,ve=R.inClassFieldInit;return(258&te)>0||ve},Ge.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},Qe.extend=function(){for(var R=[],te=arguments.length;te--;)R[te]=arguments[te];for(var ve=this,Me=0;Me<R.length;Me++)ve=R[Me](ve);return ve},Qe.parse=function(R,te){return new this(te,R).parse()},Qe.parseExpressionAt=function(R,te,ve){var Me=new this(ve,R,te);return Me.nextToken(),Me.parseExpression()},Qe.tokenizer=function(R,te){return new this(te,R)},Object.defineProperties(Qe.prototype,Ge);var we=Qe.prototype,Ne=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;we.strictDirective=function(R){if(this.options.ecmaVersion<5)return!1;for(;;){xe.lastIndex=R,R+=xe.exec(this.input)[0].length;var te=Ne.exec(this.input.slice(R));if(!te)return!1;if((te[1]||te[2])==="use strict"){xe.lastIndex=R+te[0].length;var ve=xe.exec(this.input),Me=ve.index+ve[0].length,st=this.input.charAt(Me);return st===";"||st==="}"||Ie.test(ve[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(st)||st==="!"&&this.input.charAt(Me+1)==="=")}R+=te[0].length,xe.lastIndex=R,R+=xe.exec(this.input)[0].length,this.input[R]===";"&&R++}},we.eat=function(R){return this.type===R&&(this.next(),!0)},we.isContextual=function(R){return this.type===se.name&&this.value===R&&!this.containsEsc},we.eatContextual=function(R){return!!this.isContextual(R)&&(this.next(),!0)},we.expectContextual=function(R){this.eatContextual(R)||this.unexpected()},we.canInsertSemicolon=function(){return this.type===se.eof||this.type===se.braceR||Ie.test(this.input.slice(this.lastTokEnd,this.start))},we.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},we.semicolon=function(){this.eat(se.semi)||this.insertSemicolon()||this.unexpected()},we.afterTrailingComma=function(R,te){if(this.type===R)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),te||this.next(),!0},we.expect=function(R){this.eat(R)||this.unexpected()},we.unexpected=function(R){this.raise(R??this.start,"Unexpected token")};var ht=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};we.checkPatternErrors=function(R,te){if(R){R.trailingComma>-1&&this.raiseRecoverable(R.trailingComma,"Comma is not permitted after the rest element");var ve=te?R.parenthesizedAssign:R.parenthesizedBind;ve>-1&&this.raiseRecoverable(ve,te?"Assigning to rvalue":"Parenthesized pattern")}},we.checkExpressionErrors=function(R,te){if(!R)return!1;var ve=R.shorthandAssign,Me=R.doubleProto;if(!te)return ve>=0||Me>=0;ve>=0&&this.raise(ve,"Shorthand property assignments are valid only in destructuring patterns"),Me>=0&&this.raiseRecoverable(Me,"Redefinition of __proto__ property")},we.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},we.isSimpleAssignTarget=function(R){return R.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(R.expression):R.type==="Identifier"||R.type==="MemberExpression"};var it=Qe.prototype;it.parseTopLevel=function(R){var te=Object.create(null);for(R.body||(R.body=[]);this.type!==se.eof;){var ve=this.parseStatement(null,!0,te);R.body.push(ve)}if(this.inModule)for(var Me=0,st=Object.keys(this.undefinedExports);Me<st.length;Me+=1){var yt=st[Me];this.raiseRecoverable(this.undefinedExports[yt].start,"Export '"+yt+"' is not defined")}return this.adaptDirectivePrologue(R.body),this.next(),R.sourceType=this.options.sourceType,this.finishNode(R,"Program")};var Tt={kind:"loop"},Ot={kind:"switch"};it.isLet=function(R){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;xe.lastIndex=this.pos;var te=xe.exec(this.input),ve=this.pos+te[0].length,Me=this.input.charCodeAt(ve);if(Me===91||Me===92)return!0;if(R)return!1;if(Me===123||Me>55295&&Me<56320)return!0;if(me(Me,!0)){for(var st=ve+1;ce(Me=this.input.charCodeAt(st),!0);)++st;if(Me===92||Me>55295&&Me<56320)return!0;var yt=this.input.slice(ve,st);if(!He.test(yt))return!0}return!1},it.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;xe.lastIndex=this.pos;var R,te=xe.exec(this.input),ve=this.pos+te[0].length;return!(Ie.test(this.input.slice(this.pos,ve))||this.input.slice(ve,ve+8)!=="function"||ve+8!==this.input.length&&(ce(R=this.input.charCodeAt(ve+8))||R>55295&&R<56320))},it.parseStatement=function(R,te,ve){var Me,st=this.type,yt=this.startNode();switch(this.isLet(R)&&(st=se._var,Me="let"),st){case se._break:case se._continue:return this.parseBreakContinueStatement(yt,st.keyword);case se._debugger:return this.parseDebuggerStatement(yt);case se._do:return this.parseDoStatement(yt);case se._for:return this.parseForStatement(yt);case se._function:return R&&(this.strict||R!=="if"&&R!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(yt,!1,!R);case se._class:return R&&this.unexpected(),this.parseClass(yt,!0);case se._if:return this.parseIfStatement(yt);case se._return:return this.parseReturnStatement(yt);case se._switch:return this.parseSwitchStatement(yt);case se._throw:return this.parseThrowStatement(yt);case se._try:return this.parseTryStatement(yt);case se._const:case se._var:return Me=Me||this.value,R&&Me!=="var"&&this.unexpected(),this.parseVarStatement(yt,Me);case se._while:return this.parseWhileStatement(yt);case se._with:return this.parseWithStatement(yt);case se.braceL:return this.parseBlock(!0,yt);case se.semi:return this.parseEmptyStatement(yt);case se._export:case se._import:if(this.options.ecmaVersion>10&&st===se._import){xe.lastIndex=this.pos;var _t=xe.exec(this.input),xt=this.pos+_t[0].length,Xt=this.input.charCodeAt(xt);if(Xt===40||Xt===46)return this.parseExpressionStatement(yt,this.parseExpression())}return this.options.allowImportExportEverywhere||(te||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),st===se._import?this.parseImport(yt):this.parseExport(yt,ve);default:if(this.isAsyncFunction())return R&&this.unexpected(),this.next(),this.parseFunctionStatement(yt,!0,!R);var cr=this.value,Zt=this.parseExpression();return st===se.name&&Zt.type==="Identifier"&&this.eat(se.colon)?this.parseLabeledStatement(yt,cr,Zt,R):this.parseExpressionStatement(yt,Zt)}},it.parseBreakContinueStatement=function(R,te){var ve=te==="break";this.next(),this.eat(se.semi)||this.insertSemicolon()?R.label=null:this.type!==se.name?this.unexpected():(R.label=this.parseIdent(),this.semicolon());for(var Me=0;Me<this.labels.length;++Me){var st=this.labels[Me];if((R.label==null||st.name===R.label.name)&&(st.kind!=null&&(ve||st.kind==="loop")||R.label&&ve))break}return Me===this.labels.length&&this.raise(R.start,"Unsyntactic "+te),this.finishNode(R,ve?"BreakStatement":"ContinueStatement")},it.parseDebuggerStatement=function(R){return this.next(),this.semicolon(),this.finishNode(R,"DebuggerStatement")},it.parseDoStatement=function(R){return this.next(),this.labels.push(Tt),R.body=this.parseStatement("do"),this.labels.pop(),this.expect(se._while),R.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(se.semi):this.semicolon(),this.finishNode(R,"DoWhileStatement")},it.parseForStatement=function(R){this.next();var te=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Tt),this.enterScope(0),this.expect(se.parenL),this.type===se.semi)return te>-1&&this.unexpected(te),this.parseFor(R,null);var ve=this.isLet();if(this.type===se._var||this.type===se._const||ve){var Me=this.startNode(),st=ve?"let":this.value;return this.next(),this.parseVar(Me,!0,st),this.finishNode(Me,"VariableDeclaration"),(this.type===se._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&Me.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===se._in?te>-1&&this.unexpected(te):R.await=te>-1),this.parseForIn(R,Me)):(te>-1&&this.unexpected(te),this.parseFor(R,Me))}var yt=this.isContextual("let"),_t=!1,xt=new ht,Xt=this.parseExpression(!(te>-1)||"await",xt);return this.type===se._in||(_t=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===se._in?te>-1&&this.unexpected(te):R.await=te>-1),yt&&_t&&this.raise(Xt.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(Xt,!1,xt),this.checkLValPattern(Xt),this.parseForIn(R,Xt)):(this.checkExpressionErrors(xt,!0),te>-1&&this.unexpected(te),this.parseFor(R,Xt))},it.parseFunctionStatement=function(R,te,ve){return this.next(),this.parseFunction(R,Ir|(ve?0:Lr),!1,te)},it.parseIfStatement=function(R){return this.next(),R.test=this.parseParenExpression(),R.consequent=this.parseStatement("if"),R.alternate=this.eat(se._else)?this.parseStatement("if"):null,this.finishNode(R,"IfStatement")},it.parseReturnStatement=function(R){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(se.semi)||this.insertSemicolon()?R.argument=null:(R.argument=this.parseExpression(),this.semicolon()),this.finishNode(R,"ReturnStatement")},it.parseSwitchStatement=function(R){var te;this.next(),R.discriminant=this.parseParenExpression(),R.cases=[],this.expect(se.braceL),this.labels.push(Ot),this.enterScope(0);for(var ve=!1;this.type!==se.braceR;)if(this.type===se._case||this.type===se._default){var Me=this.type===se._case;te&&this.finishNode(te,"SwitchCase"),R.cases.push(te=this.startNode()),te.consequent=[],this.next(),Me?te.test=this.parseExpression():(ve&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),ve=!0,te.test=null),this.expect(se.colon)}else te||this.unexpected(),te.consequent.push(this.parseStatement(null));return this.exitScope(),te&&this.finishNode(te,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(R,"SwitchStatement")},it.parseThrowStatement=function(R){return this.next(),Ie.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),R.argument=this.parseExpression(),this.semicolon(),this.finishNode(R,"ThrowStatement")};var Pt=[];it.parseCatchClauseParam=function(){var R=this.parseBindingAtom(),te=R.type==="Identifier";return this.enterScope(te?32:0),this.checkLValPattern(R,te?4:2),this.expect(se.parenR),R},it.parseTryStatement=function(R){if(this.next(),R.block=this.parseBlock(),R.handler=null,this.type===se._catch){var te=this.startNode();this.next(),this.eat(se.parenL)?te.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),te.param=null,this.enterScope(0)),te.body=this.parseBlock(!1),this.exitScope(),R.handler=this.finishNode(te,"CatchClause")}return R.finalizer=this.eat(se._finally)?this.parseBlock():null,R.handler||R.finalizer||this.raise(R.start,"Missing catch or finally clause"),this.finishNode(R,"TryStatement")},it.parseVarStatement=function(R,te,ve){return this.next(),this.parseVar(R,!1,te,ve),this.semicolon(),this.finishNode(R,"VariableDeclaration")},it.parseWhileStatement=function(R){return this.next(),R.test=this.parseParenExpression(),this.labels.push(Tt),R.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(R,"WhileStatement")},it.parseWithStatement=function(R){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),R.object=this.parseParenExpression(),R.body=this.parseStatement("with"),this.finishNode(R,"WithStatement")},it.parseEmptyStatement=function(R){return this.next(),this.finishNode(R,"EmptyStatement")},it.parseLabeledStatement=function(R,te,ve,Me){for(var st=0,yt=this.labels;st<yt.length;st+=1)yt[st].name===te&&this.raise(ve.start,"Label '"+te+"' is already declared");for(var _t=this.type.isLoop?"loop":this.type===se._switch?"switch":null,xt=this.labels.length-1;xt>=0;xt--){var Xt=this.labels[xt];if(Xt.statementStart!==R.start)break;Xt.statementStart=this.start,Xt.kind=_t}return this.labels.push({name:te,kind:_t,statementStart:this.start}),R.body=this.parseStatement(Me?Me.indexOf("label")===-1?Me+"label":Me:"label"),this.labels.pop(),R.label=ve,this.finishNode(R,"LabeledStatement")},it.parseExpressionStatement=function(R,te){return R.expression=te,this.semicolon(),this.finishNode(R,"ExpressionStatement")},it.parseBlock=function(R,te,ve){for(R===void 0&&(R=!0),te===void 0&&(te=this.startNode()),te.body=[],this.expect(se.braceL),R&&this.enterScope(0);this.type!==se.braceR;){var Me=this.parseStatement(null);te.body.push(Me)}return ve&&(this.strict=!1),this.next(),R&&this.exitScope(),this.finishNode(te,"BlockStatement")},it.parseFor=function(R,te){return R.init=te,this.expect(se.semi),R.test=this.type===se.semi?null:this.parseExpression(),this.expect(se.semi),R.update=this.type===se.parenR?null:this.parseExpression(),this.expect(se.parenR),R.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(R,"ForStatement")},it.parseForIn=function(R,te){var ve=this.type===se._in;return this.next(),te.type==="VariableDeclaration"&&te.declarations[0].init!=null&&(!ve||this.options.ecmaVersion<8||this.strict||te.kind!=="var"||te.declarations[0].id.type!=="Identifier")&&this.raise(te.start,(ve?"for-in":"for-of")+" loop variable declaration may not have an initializer"),R.left=te,R.right=ve?this.parseExpression():this.parseMaybeAssign(),this.expect(se.parenR),R.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(R,ve?"ForInStatement":"ForOfStatement")},it.parseVar=function(R,te,ve,Me){for(R.declarations=[],R.kind=ve;;){var st=this.startNode();if(this.parseVarId(st,ve),this.eat(se.eq)?st.init=this.parseMaybeAssign(te):Me||ve!=="const"||this.type===se._in||this.options.ecmaVersion>=6&&this.isContextual("of")?Me||st.id.type==="Identifier"||te&&(this.type===se._in||this.isContextual("of"))?st.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),R.declarations.push(this.finishNode(st,"VariableDeclarator")),!this.eat(se.comma))break}return R},it.parseVarId=function(R,te){R.id=this.parseBindingAtom(),this.checkLValPattern(R.id,te==="var"?1:2,!1)};var Ir=1,Lr=2;function _n(R,te){var ve=te.key.name,Me=R[ve],st="true";return te.type!=="MethodDefinition"||te.kind!=="get"&&te.kind!=="set"||(st=(te.static?"s":"i")+te.kind),Me==="iget"&&st==="iset"||Me==="iset"&&st==="iget"||Me==="sget"&&st==="sset"||Me==="sset"&&st==="sget"?(R[ve]="true",!1):!!Me||(R[ve]=st,!1)}function _r(R,te){var ve=R.computed,Me=R.key;return!ve&&(Me.type==="Identifier"&&Me.name===te||Me.type==="Literal"&&Me.value===te)}it.parseFunction=function(R,te,ve,Me,st){this.initFunction(R),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!Me)&&(this.type===se.star&&te&Lr&&this.unexpected(),R.generator=this.eat(se.star)),this.options.ecmaVersion>=8&&(R.async=!!Me),te&Ir&&(R.id=4&te&&this.type!==se.name?null:this.parseIdent(),!R.id||te&Lr||this.checkLValSimple(R.id,this.strict||R.generator||R.async?this.treatFunctionsAsVar?1:2:3));var yt=this.yieldPos,_t=this.awaitPos,xt=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Pe(R.async,R.generator)),te&Ir||(R.id=this.type===se.name?this.parseIdent():null),this.parseFunctionParams(R),this.parseFunctionBody(R,ve,!1,st),this.yieldPos=yt,this.awaitPos=_t,this.awaitIdentPos=xt,this.finishNode(R,te&Ir?"FunctionDeclaration":"FunctionExpression")},it.parseFunctionParams=function(R){this.expect(se.parenL),R.params=this.parseBindingList(se.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},it.parseClass=function(R,te){this.next();var ve=this.strict;this.strict=!0,this.parseClassId(R,te),this.parseClassSuper(R);var Me=this.enterClassBody(),st=this.startNode(),yt=!1;for(st.body=[],this.expect(se.braceL);this.type!==se.braceR;){var _t=this.parseClassElement(R.superClass!==null);_t&&(st.body.push(_t),_t.type==="MethodDefinition"&&_t.kind==="constructor"?(yt&&this.raiseRecoverable(_t.start,"Duplicate constructor in the same class"),yt=!0):_t.key&&_t.key.type==="PrivateIdentifier"&&_n(Me,_t)&&this.raiseRecoverable(_t.key.start,"Identifier '#"+_t.key.name+"' has already been declared"))}return this.strict=ve,this.next(),R.body=this.finishNode(st,"ClassBody"),this.exitClassBody(),this.finishNode(R,te?"ClassDeclaration":"ClassExpression")},it.parseClassElement=function(R){if(this.eat(se.semi))return null;var te=this.options.ecmaVersion,ve=this.startNode(),Me="",st=!1,yt=!1,_t="method",xt=!1;if(this.eatContextual("static")){if(te>=13&&this.eat(se.braceL))return this.parseClassStaticBlock(ve),ve;this.isClassElementNameStart()||this.type===se.star?xt=!0:Me="static"}if(ve.static=xt,!Me&&te>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==se.star||this.canInsertSemicolon()?Me="async":yt=!0),!Me&&(te>=9||!yt)&&this.eat(se.star)&&(st=!0),!Me&&!yt&&!st){var Xt=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?_t=Xt:Me=Xt)}if(Me?(ve.computed=!1,ve.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),ve.key.name=Me,this.finishNode(ve.key,"Identifier")):this.parseClassElementName(ve),te<13||this.type===se.parenL||_t!=="method"||st||yt){var cr=!ve.static&&_r(ve,"constructor"),Zt=cr&&R;cr&&_t!=="method"&&this.raise(ve.key.start,"Constructor can't have get/set modifier"),ve.kind=cr?"constructor":_t,this.parseClassMethod(ve,st,yt,Zt)}else this.parseClassField(ve);return ve},it.isClassElementNameStart=function(){return this.type===se.name||this.type===se.privateId||this.type===se.num||this.type===se.string||this.type===se.bracketL||this.type.keyword},it.parseClassElementName=function(R){this.type===se.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),R.computed=!1,R.key=this.parsePrivateIdent()):this.parsePropertyName(R)},it.parseClassMethod=function(R,te,ve,Me){var st=R.key;R.kind==="constructor"?(te&&this.raise(st.start,"Constructor can't be a generator"),ve&&this.raise(st.start,"Constructor can't be an async method")):R.static&&_r(R,"prototype")&&this.raise(st.start,"Classes may not have a static property named prototype");var yt=R.value=this.parseMethod(te,ve,Me);return R.kind==="get"&&yt.params.length!==0&&this.raiseRecoverable(yt.start,"getter should have no params"),R.kind==="set"&&yt.params.length!==1&&this.raiseRecoverable(yt.start,"setter should have exactly one param"),R.kind==="set"&&yt.params[0].type==="RestElement"&&this.raiseRecoverable(yt.params[0].start,"Setter cannot use rest params"),this.finishNode(R,"MethodDefinition")},it.parseClassField=function(R){if(_r(R,"constructor")?this.raise(R.key.start,"Classes can't have a field named 'constructor'"):R.static&&_r(R,"prototype")&&this.raise(R.key.start,"Classes can't have a static field named 'prototype'"),this.eat(se.eq)){var te=this.currentThisScope(),ve=te.inClassFieldInit;te.inClassFieldInit=!0,R.value=this.parseMaybeAssign(),te.inClassFieldInit=ve}else R.value=null;return this.semicolon(),this.finishNode(R,"PropertyDefinition")},it.parseClassStaticBlock=function(R){R.body=[];var te=this.labels;for(this.labels=[],this.enterScope(320);this.type!==se.braceR;){var ve=this.parseStatement(null);R.body.push(ve)}return this.next(),this.exitScope(),this.labels=te,this.finishNode(R,"StaticBlock")},it.parseClassId=function(R,te){this.type===se.name?(R.id=this.parseIdent(),te&&this.checkLValSimple(R.id,2,!1)):(te===!0&&this.unexpected(),R.id=null)},it.parseClassSuper=function(R){R.superClass=this.eat(se._extends)?this.parseExprSubscripts(null,!1):null},it.enterClassBody=function(){var R={declared:Object.create(null),used:[]};return this.privateNameStack.push(R),R.declared},it.exitClassBody=function(){var R=this.privateNameStack.pop(),te=R.declared,ve=R.used;if(this.options.checkPrivateFields)for(var Me=this.privateNameStack.length,st=Me===0?null:this.privateNameStack[Me-1],yt=0;yt<ve.length;++yt){var _t=ve[yt];Ae(te,_t.name)||(st?st.used.push(_t):this.raiseRecoverable(_t.start,"Private field '#"+_t.name+"' must be declared in an enclosing class"))}},it.parseExportAllDeclaration=function(R,te){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(R.exported=this.parseModuleExportName(),this.checkExport(te,R.exported,this.lastTokStart)):R.exported=null),this.expectContextual("from"),this.type!==se.string&&this.unexpected(),R.source=this.parseExprAtom(),this.semicolon(),this.finishNode(R,"ExportAllDeclaration")},it.parseExport=function(R,te){if(this.next(),this.eat(se.star))return this.parseExportAllDeclaration(R,te);if(this.eat(se._default))return this.checkExport(te,"default",this.lastTokStart),R.declaration=this.parseExportDefaultDeclaration(),this.finishNode(R,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())R.declaration=this.parseExportDeclaration(R),R.declaration.type==="VariableDeclaration"?this.checkVariableExport(te,R.declaration.declarations):this.checkExport(te,R.declaration.id,R.declaration.id.start),R.specifiers=[],R.source=null;else{if(R.declaration=null,R.specifiers=this.parseExportSpecifiers(te),this.eatContextual("from"))this.type!==se.string&&this.unexpected(),R.source=this.parseExprAtom();else{for(var ve=0,Me=R.specifiers;ve<Me.length;ve+=1){var st=Me[ve];this.checkUnreserved(st.local),this.checkLocalExport(st.local),st.local.type==="Literal"&&this.raise(st.local.start,"A string literal cannot be used as an exported binding without `from`.")}R.source=null}this.semicolon()}return this.finishNode(R,"ExportNamedDeclaration")},it.parseExportDeclaration=function(R){return this.parseStatement(null)},it.parseExportDefaultDeclaration=function(){var R;if(this.type===se._function||(R=this.isAsyncFunction())){var te=this.startNode();return this.next(),R&&this.next(),this.parseFunction(te,4|Ir,!1,R)}if(this.type===se._class){var ve=this.startNode();return this.parseClass(ve,"nullableID")}var Me=this.parseMaybeAssign();return this.semicolon(),Me},it.checkExport=function(R,te,ve){R&&(typeof te!="string"&&(te=te.type==="Identifier"?te.name:te.value),Ae(R,te)&&this.raiseRecoverable(ve,"Duplicate export '"+te+"'"),R[te]=!0)},it.checkPatternExport=function(R,te){var ve=te.type;if(ve==="Identifier")this.checkExport(R,te,te.start);else if(ve==="ObjectPattern")for(var Me=0,st=te.properties;Me<st.length;Me+=1){var yt=st[Me];this.checkPatternExport(R,yt)}else if(ve==="ArrayPattern")for(var _t=0,xt=te.elements;_t<xt.length;_t+=1){var Xt=xt[_t];Xt&&this.checkPatternExport(R,Xt)}else ve==="Property"?this.checkPatternExport(R,te.value):ve==="AssignmentPattern"?this.checkPatternExport(R,te.left):ve==="RestElement"&&this.checkPatternExport(R,te.argument)},it.checkVariableExport=function(R,te){if(R)for(var ve=0,Me=te;ve<Me.length;ve+=1){var st=Me[ve];this.checkPatternExport(R,st.id)}},it.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},it.parseExportSpecifier=function(R){var te=this.startNode();return te.local=this.parseModuleExportName(),te.exported=this.eatContextual("as")?this.parseModuleExportName():te.local,this.checkExport(R,te.exported,te.exported.start),this.finishNode(te,"ExportSpecifier")},it.parseExportSpecifiers=function(R){var te=[],ve=!0;for(this.expect(se.braceL);!this.eat(se.braceR);){if(ve)ve=!1;else if(this.expect(se.comma),this.afterTrailingComma(se.braceR))break;te.push(this.parseExportSpecifier(R))}return te},it.parseImport=function(R){return this.next(),this.type===se.string?(R.specifiers=Pt,R.source=this.parseExprAtom()):(R.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),R.source=this.type===se.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(R,"ImportDeclaration")},it.parseImportSpecifier=function(){var R=this.startNode();return R.imported=this.parseModuleExportName(),this.eatContextual("as")?R.local=this.parseIdent():(this.checkUnreserved(R.imported),R.local=R.imported),this.checkLValSimple(R.local,2),this.finishNode(R,"ImportSpecifier")},it.parseImportDefaultSpecifier=function(){var R=this.startNode();return R.local=this.parseIdent(),this.checkLValSimple(R.local,2),this.finishNode(R,"ImportDefaultSpecifier")},it.parseImportNamespaceSpecifier=function(){var R=this.startNode();return this.next(),this.expectContextual("as"),R.local=this.parseIdent(),this.checkLValSimple(R.local,2),this.finishNode(R,"ImportNamespaceSpecifier")},it.parseImportSpecifiers=function(){var R=[],te=!0;if(this.type===se.name&&(R.push(this.parseImportDefaultSpecifier()),!this.eat(se.comma)))return R;if(this.type===se.star)return R.push(this.parseImportNamespaceSpecifier()),R;for(this.expect(se.braceL);!this.eat(se.braceR);){if(te)te=!1;else if(this.expect(se.comma),this.afterTrailingComma(se.braceR))break;R.push(this.parseImportSpecifier())}return R},it.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===se.string){var R=this.parseLiteral(this.value);return At.test(R.value)&&this.raise(R.start,"An export name cannot include a lone surrogate."),R}return this.parseIdent(!0)},it.adaptDirectivePrologue=function(R){for(var te=0;te<R.length&&this.isDirectiveCandidate(R[te]);++te)R[te].directive=R[te].expression.raw.slice(1,-1)},it.isDirectiveCandidate=function(R){return this.options.ecmaVersion>=5&&R.type==="ExpressionStatement"&&R.expression.type==="Literal"&&typeof R.expression.value=="string"&&(this.input[R.start]==='"'||this.input[R.start]==="'")};var bn=Qe.prototype;bn.toAssignable=function(R,te,ve){if(this.options.ecmaVersion>=6&&R)switch(R.type){case"Identifier":this.inAsync&&R.name==="await"&&this.raise(R.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":R.type="ObjectPattern",ve&&this.checkPatternErrors(ve,!0);for(var Me=0,st=R.properties;Me<st.length;Me+=1){var yt=st[Me];this.toAssignable(yt,te),yt.type!=="RestElement"||yt.argument.type!=="ArrayPattern"&&yt.argument.type!=="ObjectPattern"||this.raise(yt.argument.start,"Unexpected token")}break;case"Property":R.kind!=="init"&&this.raise(R.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(R.value,te);break;case"ArrayExpression":R.type="ArrayPattern",ve&&this.checkPatternErrors(ve,!0),this.toAssignableList(R.elements,te);break;case"SpreadElement":R.type="RestElement",this.toAssignable(R.argument,te),R.argument.type==="AssignmentPattern"&&this.raise(R.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":R.operator!=="="&&this.raise(R.left.end,"Only '=' operator can be used for specifying default value."),R.type="AssignmentPattern",delete R.operator,this.toAssignable(R.left,te);break;case"ParenthesizedExpression":this.toAssignable(R.expression,te,ve);break;case"ChainExpression":this.raiseRecoverable(R.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!te)break;default:this.raise(R.start,"Assigning to rvalue")}else ve&&this.checkPatternErrors(ve,!0);return R},bn.toAssignableList=function(R,te){for(var ve=R.length,Me=0;Me<ve;Me++){var st=R[Me];st&&this.toAssignable(st,te)}if(ve){var yt=R[ve-1];this.options.ecmaVersion===6&&te&&yt&&yt.type==="RestElement"&&yt.argument.type!=="Identifier"&&this.unexpected(yt.argument.start)}return R},bn.parseSpread=function(R){var te=this.startNode();return this.next(),te.argument=this.parseMaybeAssign(!1,R),this.finishNode(te,"SpreadElement")},bn.parseRestBinding=function(){var R=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==se.name&&this.unexpected(),R.argument=this.parseBindingAtom(),this.finishNode(R,"RestElement")},bn.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case se.bracketL:var R=this.startNode();return this.next(),R.elements=this.parseBindingList(se.bracketR,!0,!0),this.finishNode(R,"ArrayPattern");case se.braceL:return this.parseObj(!0)}return this.parseIdent()},bn.parseBindingList=function(R,te,ve,Me){for(var st=[],yt=!0;!this.eat(R);)if(yt?yt=!1:this.expect(se.comma),te&&this.type===se.comma)st.push(null);else{if(ve&&this.afterTrailingComma(R))break;if(this.type===se.ellipsis){var _t=this.parseRestBinding();this.parseBindingListItem(_t),st.push(_t),this.type===se.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(R);break}st.push(this.parseAssignableListItem(Me))}return st},bn.parseAssignableListItem=function(R){var te=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(te),te},bn.parseBindingListItem=function(R){return R},bn.parseMaybeDefault=function(R,te,ve){if(ve=ve||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(se.eq))return ve;var Me=this.startNodeAt(R,te);return Me.left=ve,Me.right=this.parseMaybeAssign(),this.finishNode(Me,"AssignmentPattern")},bn.checkLValSimple=function(R,te,ve){te===void 0&&(te=0);var Me=te!==0;switch(R.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(R.name)&&this.raiseRecoverable(R.start,(Me?"Binding ":"Assigning to ")+R.name+" in strict mode"),Me&&(te===2&&R.name==="let"&&this.raiseRecoverable(R.start,"let is disallowed as a lexically bound name"),ve&&(Ae(ve,R.name)&&this.raiseRecoverable(R.start,"Argument name clash"),ve[R.name]=!0),te!==5&&this.declareName(R.name,te,R.start));break;case"ChainExpression":this.raiseRecoverable(R.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":Me&&this.raiseRecoverable(R.start,"Binding member expression");break;case"ParenthesizedExpression":return Me&&this.raiseRecoverable(R.start,"Binding parenthesized expression"),this.checkLValSimple(R.expression,te,ve);default:this.raise(R.start,(Me?"Binding":"Assigning to")+" rvalue")}},bn.checkLValPattern=function(R,te,ve){switch(te===void 0&&(te=0),R.type){case"ObjectPattern":for(var Me=0,st=R.properties;Me<st.length;Me+=1){var yt=st[Me];this.checkLValInnerPattern(yt,te,ve)}break;case"ArrayPattern":for(var _t=0,xt=R.elements;_t<xt.length;_t+=1){var Xt=xt[_t];Xt&&this.checkLValInnerPattern(Xt,te,ve)}break;default:this.checkLValSimple(R,te,ve)}},bn.checkLValInnerPattern=function(R,te,ve){switch(te===void 0&&(te=0),R.type){case"Property":this.checkLValInnerPattern(R.value,te,ve);break;case"AssignmentPattern":this.checkLValPattern(R.left,te,ve);break;case"RestElement":this.checkLValPattern(R.argument,te,ve);break;default:this.checkLValPattern(R,te,ve)}};var wr=function(R,te,ve,Me,st){this.token=R,this.isExpr=!!te,this.preserveSpace=!!ve,this.override=Me,this.generator=!!st},on={b_stat:new wr("{",!1),b_expr:new wr("{",!0),b_tmpl:new wr("${",!1),p_stat:new wr("(",!1),p_expr:new wr("(",!0),q_tmpl:new wr("`",!0,!0,function(R){return R.tryReadTemplateToken()}),f_stat:new wr("function",!1),f_expr:new wr("function",!0),f_expr_gen:new wr("function",!0,!1,null,!0),f_gen:new wr("function",!1,!1,null,!0)},Cn=Qe.prototype;Cn.initialContext=function(){return[on.b_stat]},Cn.curContext=function(){return this.context[this.context.length-1]},Cn.braceIsBlock=function(R){var te=this.curContext();return te===on.f_expr||te===on.f_stat||(R!==se.colon||te!==on.b_stat&&te!==on.b_expr?R===se._return||R===se.name&&this.exprAllowed?Ie.test(this.input.slice(this.lastTokEnd,this.start)):R===se._else||R===se.semi||R===se.eof||R===se.parenR||R===se.arrow||(R===se.braceL?te===on.b_stat:R!==se._var&&R!==se._const&&R!==se.name&&!this.exprAllowed):!te.isExpr)},Cn.inGeneratorContext=function(){for(var R=this.context.length-1;R>=1;R--){var te=this.context[R];if(te.token==="function")return te.generator}return!1},Cn.updateContext=function(R){var te,ve=this.type;ve.keyword&&R===se.dot?this.exprAllowed=!1:(te=ve.updateContext)?te.call(this,R):this.exprAllowed=ve.beforeExpr},Cn.overrideContext=function(R){this.curContext()!==R&&(this.context[this.context.length-1]=R)},se.parenR.updateContext=se.braceR.updateContext=function(){if(this.context.length!==1){var R=this.context.pop();R===on.b_stat&&this.curContext().token==="function"&&(R=this.context.pop()),this.exprAllowed=!R.isExpr}else this.exprAllowed=!0},se.braceL.updateContext=function(R){this.context.push(this.braceIsBlock(R)?on.b_stat:on.b_expr),this.exprAllowed=!0},se.dollarBraceL.updateContext=function(){this.context.push(on.b_tmpl),this.exprAllowed=!0},se.parenL.updateContext=function(R){var te=R===se._if||R===se._for||R===se._with||R===se._while;this.context.push(te?on.p_stat:on.p_expr),this.exprAllowed=!0},se.incDec.updateContext=function(){},se._function.updateContext=se._class.updateContext=function(R){!R.beforeExpr||R===se._else||R===se.semi&&this.curContext()!==on.p_stat||R===se._return&&Ie.test(this.input.slice(this.lastTokEnd,this.start))||(R===se.colon||R===se.braceL)&&this.curContext()===on.b_stat?this.context.push(on.f_stat):this.context.push(on.f_expr),this.exprAllowed=!1},se.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},se.backQuote.updateContext=function(){this.curContext()===on.q_tmpl?this.context.pop():this.context.push(on.q_tmpl),this.exprAllowed=!1},se.star.updateContext=function(R){if(R===se._function){var te=this.context.length-1;this.context[te]===on.f_expr?this.context[te]=on.f_expr_gen:this.context[te]=on.f_gen}this.exprAllowed=!0},se.name.updateContext=function(R){var te=!1;this.options.ecmaVersion>=6&&R!==se.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(te=!0),this.exprAllowed=te};var Jr=Qe.prototype;function Di(R){return R.type==="MemberExpression"&&R.property.type==="PrivateIdentifier"||R.type==="ChainExpression"&&Di(R.expression)}Jr.checkPropClash=function(R,te,ve){if(!(this.options.ecmaVersion>=9&&R.type==="SpreadElement"||this.options.ecmaVersion>=6&&(R.computed||R.method||R.shorthand))){var Me,st=R.key;switch(st.type){case"Identifier":Me=st.name;break;case"Literal":Me=String(st.value);break;default:return}var yt=R.kind;if(this.options.ecmaVersion>=6)Me==="__proto__"&&yt==="init"&&(te.proto&&(ve?ve.doubleProto<0&&(ve.doubleProto=st.start):this.raiseRecoverable(st.start,"Redefinition of __proto__ property")),te.proto=!0);else{var _t=te[Me="$"+Me];_t?(yt==="init"?this.strict&&_t.init||_t.get||_t.set:_t.init||_t[yt])&&this.raiseRecoverable(st.start,"Redefinition of property"):_t=te[Me]={init:!1,get:!1,set:!1},_t[yt]=!0}}},Jr.parseExpression=function(R,te){var ve=this.start,Me=this.startLoc,st=this.parseMaybeAssign(R,te);if(this.type===se.comma){var yt=this.startNodeAt(ve,Me);for(yt.expressions=[st];this.eat(se.comma);)yt.expressions.push(this.parseMaybeAssign(R,te));return this.finishNode(yt,"SequenceExpression")}return st},Jr.parseMaybeAssign=function(R,te,ve){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(R);this.exprAllowed=!1}var Me=!1,st=-1,yt=-1,_t=-1;te?(st=te.parenthesizedAssign,yt=te.trailingComma,_t=te.doubleProto,te.parenthesizedAssign=te.trailingComma=-1):(te=new ht,Me=!0);var xt=this.start,Xt=this.startLoc;this.type!==se.parenL&&this.type!==se.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=R==="await");var cr=this.parseMaybeConditional(R,te);if(ve&&(cr=ve.call(this,cr,xt,Xt)),this.type.isAssign){var Zt=this.startNodeAt(xt,Xt);return Zt.operator=this.value,this.type===se.eq&&(cr=this.toAssignable(cr,!1,te)),Me||(te.parenthesizedAssign=te.trailingComma=te.doubleProto=-1),te.shorthandAssign>=cr.start&&(te.shorthandAssign=-1),this.type===se.eq?this.checkLValPattern(cr):this.checkLValSimple(cr),Zt.left=cr,this.next(),Zt.right=this.parseMaybeAssign(R),_t>-1&&(te.doubleProto=_t),this.finishNode(Zt,"AssignmentExpression")}return Me&&this.checkExpressionErrors(te,!0),st>-1&&(te.parenthesizedAssign=st),yt>-1&&(te.trailingComma=yt),cr},Jr.parseMaybeConditional=function(R,te){var ve=this.start,Me=this.startLoc,st=this.parseExprOps(R,te);if(this.checkExpressionErrors(te))return st;if(this.eat(se.question)){var yt=this.startNodeAt(ve,Me);return yt.test=st,yt.consequent=this.parseMaybeAssign(),this.expect(se.colon),yt.alternate=this.parseMaybeAssign(R),this.finishNode(yt,"ConditionalExpression")}return st},Jr.parseExprOps=function(R,te){var ve=this.start,Me=this.startLoc,st=this.parseMaybeUnary(te,!1,!1,R);return this.checkExpressionErrors(te)||st.start===ve&&st.type==="ArrowFunctionExpression"?st:this.parseExprOp(st,ve,Me,-1,R)},Jr.parseExprOp=function(R,te,ve,Me,st){var yt=this.type.binop;if(yt!=null&&(!st||this.type!==se._in)&&yt>Me){var _t=this.type===se.logicalOR||this.type===se.logicalAND,xt=this.type===se.coalesce;xt&&(yt=se.logicalAND.binop);var Xt=this.value;this.next();var cr=this.start,Zt=this.startLoc,Xr=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,st),cr,Zt,yt,st),En=this.buildBinary(te,ve,R,Xr,Xt,_t||xt);return(_t&&this.type===se.coalesce||xt&&(this.type===se.logicalOR||this.type===se.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(En,te,ve,Me,st)}return R},Jr.buildBinary=function(R,te,ve,Me,st,yt){Me.type==="PrivateIdentifier"&&this.raise(Me.start,"Private identifier can only be left side of binary expression");var _t=this.startNodeAt(R,te);return _t.left=ve,_t.operator=st,_t.right=Me,this.finishNode(_t,yt?"LogicalExpression":"BinaryExpression")},Jr.parseMaybeUnary=function(R,te,ve,Me){var st,yt=this.start,_t=this.startLoc;if(this.isContextual("await")&&this.canAwait)st=this.parseAwait(Me),te=!0;else if(this.type.prefix){var xt=this.startNode(),Xt=this.type===se.incDec;xt.operator=this.value,xt.prefix=!0,this.next(),xt.argument=this.parseMaybeUnary(null,!0,Xt,Me),this.checkExpressionErrors(R,!0),Xt?this.checkLValSimple(xt.argument):this.strict&&xt.operator==="delete"&&xt.argument.type==="Identifier"?this.raiseRecoverable(xt.start,"Deleting local variable in strict mode"):xt.operator==="delete"&&Di(xt.argument)?this.raiseRecoverable(xt.start,"Private fields can not be deleted"):te=!0,st=this.finishNode(xt,Xt?"UpdateExpression":"UnaryExpression")}else if(te||this.type!==se.privateId){if(st=this.parseExprSubscripts(R,Me),this.checkExpressionErrors(R))return st;for(;this.type.postfix&&!this.canInsertSemicolon();){var cr=this.startNodeAt(yt,_t);cr.operator=this.value,cr.prefix=!1,cr.argument=st,this.checkLValSimple(st),this.next(),st=this.finishNode(cr,"UpdateExpression")}}else(Me||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),st=this.parsePrivateIdent(),this.type!==se._in&&this.unexpected();return ve||!this.eat(se.starstar)?st:te?void this.unexpected(this.lastTokStart):this.buildBinary(yt,_t,st,this.parseMaybeUnary(null,!1,!1,Me),"**",!1)},Jr.parseExprSubscripts=function(R,te){var ve=this.start,Me=this.startLoc,st=this.parseExprAtom(R,te);if(st.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return st;var yt=this.parseSubscripts(st,ve,Me,!1,te);return R&&yt.type==="MemberExpression"&&(R.parenthesizedAssign>=yt.start&&(R.parenthesizedAssign=-1),R.parenthesizedBind>=yt.start&&(R.parenthesizedBind=-1),R.trailingComma>=yt.start&&(R.trailingComma=-1)),yt},Jr.parseSubscripts=function(R,te,ve,Me,st){for(var yt=this.options.ecmaVersion>=8&&R.type==="Identifier"&&R.name==="async"&&this.lastTokEnd===R.end&&!this.canInsertSemicolon()&&R.end-R.start==5&&this.potentialArrowAt===R.start,_t=!1;;){var xt=this.parseSubscript(R,te,ve,Me,yt,_t,st);if(xt.optional&&(_t=!0),xt===R||xt.type==="ArrowFunctionExpression"){if(_t){var Xt=this.startNodeAt(te,ve);Xt.expression=xt,xt=this.finishNode(Xt,"ChainExpression")}return xt}R=xt}},Jr.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(se.arrow)},Jr.parseSubscriptAsyncArrow=function(R,te,ve,Me){return this.parseArrowExpression(this.startNodeAt(R,te),ve,!0,Me)},Jr.parseSubscript=function(R,te,ve,Me,st,yt,_t){var xt=this.options.ecmaVersion>=11,Xt=xt&&this.eat(se.questionDot);Me&&Xt&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var cr=this.eat(se.bracketL);if(cr||Xt&&this.type!==se.parenL&&this.type!==se.backQuote||this.eat(se.dot)){var Zt=this.startNodeAt(te,ve);Zt.object=R,cr?(Zt.property=this.parseExpression(),this.expect(se.bracketR)):this.type===se.privateId&&R.type!=="Super"?Zt.property=this.parsePrivateIdent():Zt.property=this.parseIdent(this.options.allowReserved!=="never"),Zt.computed=!!cr,xt&&(Zt.optional=Xt),R=this.finishNode(Zt,"MemberExpression")}else if(!Me&&this.eat(se.parenL)){var Xr=new ht,En=this.yieldPos,Yn=this.awaitPos,ji=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var sa=this.parseExprList(se.parenR,this.options.ecmaVersion>=8,!1,Xr);if(st&&!Xt&&this.shouldParseAsyncArrow())return this.checkPatternErrors(Xr,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=En,this.awaitPos=Yn,this.awaitIdentPos=ji,this.parseSubscriptAsyncArrow(te,ve,sa,_t);this.checkExpressionErrors(Xr,!0),this.yieldPos=En||this.yieldPos,this.awaitPos=Yn||this.awaitPos,this.awaitIdentPos=ji||this.awaitIdentPos;var ka=this.startNodeAt(te,ve);ka.callee=R,ka.arguments=sa,xt&&(ka.optional=Xt),R=this.finishNode(ka,"CallExpression")}else if(this.type===se.backQuote){(Xt||yt)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Zi=this.startNodeAt(te,ve);Zi.tag=R,Zi.quasi=this.parseTemplate({isTagged:!0}),R=this.finishNode(Zi,"TaggedTemplateExpression")}return R},Jr.parseExprAtom=function(R,te,ve){this.type===se.slash&&this.readRegexp();var Me,st=this.potentialArrowAt===this.start;switch(this.type){case se._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),Me=this.startNode(),this.next(),this.type!==se.parenL||this.allowDirectSuper||this.raise(Me.start,"super() call outside constructor of a subclass"),this.type!==se.dot&&this.type!==se.bracketL&&this.type!==se.parenL&&this.unexpected(),this.finishNode(Me,"Super");case se._this:return Me=this.startNode(),this.next(),this.finishNode(Me,"ThisExpression");case se.name:var yt=this.start,_t=this.startLoc,xt=this.containsEsc,Xt=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!xt&&Xt.name==="async"&&!this.canInsertSemicolon()&&this.eat(se._function))return this.overrideContext(on.f_expr),this.parseFunction(this.startNodeAt(yt,_t),0,!1,!0,te);if(st&&!this.canInsertSemicolon()){if(this.eat(se.arrow))return this.parseArrowExpression(this.startNodeAt(yt,_t),[Xt],!1,te);if(this.options.ecmaVersion>=8&&Xt.name==="async"&&this.type===se.name&&!xt&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return Xt=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(se.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(yt,_t),[Xt],!0,te)}return Xt;case se.regexp:var cr=this.value;return(Me=this.parseLiteral(cr.value)).regex={pattern:cr.pattern,flags:cr.flags},Me;case se.num:case se.string:return this.parseLiteral(this.value);case se._null:case se._true:case se._false:return(Me=this.startNode()).value=this.type===se._null?null:this.type===se._true,Me.raw=this.type.keyword,this.next(),this.finishNode(Me,"Literal");case se.parenL:var Zt=this.start,Xr=this.parseParenAndDistinguishExpression(st,te);return R&&(R.parenthesizedAssign<0&&!this.isSimpleAssignTarget(Xr)&&(R.parenthesizedAssign=Zt),R.parenthesizedBind<0&&(R.parenthesizedBind=Zt)),Xr;case se.bracketL:return Me=this.startNode(),this.next(),Me.elements=this.parseExprList(se.bracketR,!0,!0,R),this.finishNode(Me,"ArrayExpression");case se.braceL:return this.overrideContext(on.b_expr),this.parseObj(!1,R);case se._function:return Me=this.startNode(),this.next(),this.parseFunction(Me,0);case se._class:return this.parseClass(this.startNode(),!1);case se._new:return this.parseNew();case se.backQuote:return this.parseTemplate();case se._import:return this.options.ecmaVersion>=11?this.parseExprImport(ve):this.unexpected();default:return this.parseExprAtomDefault()}},Jr.parseExprAtomDefault=function(){this.unexpected()},Jr.parseExprImport=function(R){var te=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===se.parenL&&!R)return this.parseDynamicImport(te);if(this.type===se.dot){var ve=this.startNodeAt(te.start,te.loc&&te.loc.start);return ve.name="import",te.meta=this.finishNode(ve,"Identifier"),this.parseImportMeta(te)}this.unexpected()},Jr.parseDynamicImport=function(R){if(this.next(),R.source=this.parseMaybeAssign(),!this.eat(se.parenR)){var te=this.start;this.eat(se.comma)&&this.eat(se.parenR)?this.raiseRecoverable(te,"Trailing comma is not allowed in import()"):this.unexpected(te)}return this.finishNode(R,"ImportExpression")},Jr.parseImportMeta=function(R){this.next();var te=this.containsEsc;return R.property=this.parseIdent(!0),R.property.name!=="meta"&&this.raiseRecoverable(R.property.start,"The only valid meta property for import is 'import.meta'"),te&&this.raiseRecoverable(R.start,"'import.meta' must not contain escaped characters"),this.options.sourceType==="module"||this.options.allowImportExportEverywhere||this.raiseRecoverable(R.start,"Cannot use 'import.meta' outside a module"),this.finishNode(R,"MetaProperty")},Jr.parseLiteral=function(R){var te=this.startNode();return te.value=R,te.raw=this.input.slice(this.start,this.end),te.raw.charCodeAt(te.raw.length-1)===110&&(te.bigint=te.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(te,"Literal")},Jr.parseParenExpression=function(){this.expect(se.parenL);var R=this.parseExpression();return this.expect(se.parenR),R},Jr.shouldParseArrow=function(R){return!this.canInsertSemicolon()},Jr.parseParenAndDistinguishExpression=function(R,te){var ve,Me=this.start,st=this.startLoc,yt=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var _t,xt=this.start,Xt=this.startLoc,cr=[],Zt=!0,Xr=!1,En=new ht,Yn=this.yieldPos,ji=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==se.parenR;){if(Zt?Zt=!1:this.expect(se.comma),yt&&this.afterTrailingComma(se.parenR,!0)){Xr=!0;break}if(this.type===se.ellipsis){_t=this.start,cr.push(this.parseParenItem(this.parseRestBinding())),this.type===se.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}cr.push(this.parseMaybeAssign(!1,En,this.parseParenItem))}var sa=this.lastTokEnd,ka=this.lastTokEndLoc;if(this.expect(se.parenR),R&&this.shouldParseArrow(cr)&&this.eat(se.arrow))return this.checkPatternErrors(En,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Yn,this.awaitPos=ji,this.parseParenArrowList(Me,st,cr,te);cr.length&&!Xr||this.unexpected(this.lastTokStart),_t&&this.unexpected(_t),this.checkExpressionErrors(En,!0),this.yieldPos=Yn||this.yieldPos,this.awaitPos=ji||this.awaitPos,cr.length>1?((ve=this.startNodeAt(xt,Xt)).expressions=cr,this.finishNodeAt(ve,"SequenceExpression",sa,ka)):ve=cr[0]}else ve=this.parseParenExpression();if(this.options.preserveParens){var Zi=this.startNodeAt(Me,st);return Zi.expression=ve,this.finishNode(Zi,"ParenthesizedExpression")}return ve},Jr.parseParenItem=function(R){return R},Jr.parseParenArrowList=function(R,te,ve,Me){return this.parseArrowExpression(this.startNodeAt(R,te),ve,!1,Me)};var Gi=[];Jr.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var R=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===se.dot){var te=this.startNodeAt(R.start,R.loc&&R.loc.start);te.name="new",R.meta=this.finishNode(te,"Identifier"),this.next();var ve=this.containsEsc;return R.property=this.parseIdent(!0),R.property.name!=="target"&&this.raiseRecoverable(R.property.start,"The only valid meta property for new is 'new.target'"),ve&&this.raiseRecoverable(R.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(R.start,"'new.target' can only be used in functions and class static block"),this.finishNode(R,"MetaProperty")}var Me=this.start,st=this.startLoc;return R.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),Me,st,!0,!1),this.eat(se.parenL)?R.arguments=this.parseExprList(se.parenR,this.options.ecmaVersion>=8,!1):R.arguments=Gi,this.finishNode(R,"NewExpression")},Jr.parseTemplateElement=function(R){var te=R.isTagged,ve=this.startNode();return this.type===se.invalidTemplate?(te||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),ve.value={raw:this.value,cooked:null}):ve.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
`),cooked:this.value},this.next(),ve.tail=this.type===se.backQuote,this.finishNode(ve,"TemplateElement")},Jr.parseTemplate=function(R){R===void 0&&(R={});var te=R.isTagged;te===void 0&&(te=!1);var ve=this.startNode();this.next(),ve.expressions=[];var Me=this.parseTemplateElement({isTagged:te});for(ve.quasis=[Me];!Me.tail;)this.type===se.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(se.dollarBraceL),ve.expressions.push(this.parseExpression()),this.expect(se.braceR),ve.quasis.push(Me=this.parseTemplateElement({isTagged:te}));return this.next(),this.finishNode(ve,"TemplateLiteral")},Jr.isAsyncProp=function(R){return!R.computed&&R.key.type==="Identifier"&&R.key.name==="async"&&(this.type===se.name||this.type===se.num||this.type===se.string||this.type===se.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===se.star)&&!Ie.test(this.input.slice(this.lastTokEnd,this.start))},Jr.parseObj=function(R,te){var ve=this.startNode(),Me=!0,st={};for(ve.properties=[],this.next();!this.eat(se.braceR);){if(Me)Me=!1;else if(this.expect(se.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(se.braceR))break;var yt=this.parseProperty(R,te);R||this.checkPropClash(yt,st,te),ve.properties.push(yt)}return this.finishNode(ve,R?"ObjectPattern":"ObjectExpression")},Jr.parseProperty=function(R,te){var ve,Me,st,yt,_t=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(se.ellipsis))return R?(_t.argument=this.parseIdent(!1),this.type===se.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(_t,"RestElement")):(_t.argument=this.parseMaybeAssign(!1,te),this.type===se.comma&&te&&te.trailingComma<0&&(te.trailingComma=this.start),this.finishNode(_t,"SpreadElement"));this.options.ecmaVersion>=6&&(_t.method=!1,_t.shorthand=!1,(R||te)&&(st=this.start,yt=this.startLoc),R||(ve=this.eat(se.star)));var xt=this.containsEsc;return this.parsePropertyName(_t),!R&&!xt&&this.options.ecmaVersion>=8&&!ve&&this.isAsyncProp(_t)?(Me=!0,ve=this.options.ecmaVersion>=9&&this.eat(se.star),this.parsePropertyName(_t)):Me=!1,this.parsePropertyValue(_t,R,ve,Me,st,yt,te,xt),this.finishNode(_t,"Property")},Jr.parseGetterSetter=function(R){R.kind=R.key.name,this.parsePropertyName(R),R.value=this.parseMethod(!1);var te=R.kind==="get"?0:1;if(R.value.params.length!==te){var ve=R.value.start;R.kind==="get"?this.raiseRecoverable(ve,"getter should have no params"):this.raiseRecoverable(ve,"setter should have exactly one param")}else R.kind==="set"&&R.value.params[0].type==="RestElement"&&this.raiseRecoverable(R.value.params[0].start,"Setter cannot use rest params")},Jr.parsePropertyValue=function(R,te,ve,Me,st,yt,_t,xt){(ve||Me)&&this.type===se.colon&&this.unexpected(),this.eat(se.colon)?(R.value=te?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,_t),R.kind="init"):this.options.ecmaVersion>=6&&this.type===se.parenL?(te&&this.unexpected(),R.kind="init",R.method=!0,R.value=this.parseMethod(ve,Me)):te||xt||!(this.options.ecmaVersion>=5)||R.computed||R.key.type!=="Identifier"||R.key.name!=="get"&&R.key.name!=="set"||this.type===se.comma||this.type===se.braceR||this.type===se.eq?this.options.ecmaVersion>=6&&!R.computed&&R.key.type==="Identifier"?((ve||Me)&&this.unexpected(),this.checkUnreserved(R.key),R.key.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=st),R.kind="init",te?R.value=this.parseMaybeDefault(st,yt,this.copyNode(R.key)):this.type===se.eq&&_t?(_t.shorthandAssign<0&&(_t.shorthandAssign=this.start),R.value=this.parseMaybeDefault(st,yt,this.copyNode(R.key))):R.value=this.copyNode(R.key),R.shorthand=!0):this.unexpected():((ve||Me)&&this.unexpected(),this.parseGetterSetter(R))},Jr.parsePropertyName=function(R){if(this.options.ecmaVersion>=6){if(this.eat(se.bracketL))return R.computed=!0,R.key=this.parseMaybeAssign(),this.expect(se.bracketR),R.key;R.computed=!1}return R.key=this.type===se.num||this.type===se.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},Jr.initFunction=function(R){R.id=null,this.options.ecmaVersion>=6&&(R.generator=R.expression=!1),this.options.ecmaVersion>=8&&(R.async=!1)},Jr.parseMethod=function(R,te,ve){var Me=this.startNode(),st=this.yieldPos,yt=this.awaitPos,_t=this.awaitIdentPos;return this.initFunction(Me),this.options.ecmaVersion>=6&&(Me.generator=R),this.options.ecmaVersion>=8&&(Me.async=!!te),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|Pe(te,Me.generator)|(ve?128:0)),this.expect(se.parenL),Me.params=this.parseBindingList(se.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(Me,!1,!0,!1),this.yieldPos=st,this.awaitPos=yt,this.awaitIdentPos=_t,this.finishNode(Me,"FunctionExpression")},Jr.parseArrowExpression=function(R,te,ve,Me){var st=this.yieldPos,yt=this.awaitPos,_t=this.awaitIdentPos;return this.enterScope(16|Pe(ve,!1)),this.initFunction(R),this.options.ecmaVersion>=8&&(R.async=!!ve),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,R.params=this.toAssignableList(te,!0),this.parseFunctionBody(R,!0,!1,Me),this.yieldPos=st,this.awaitPos=yt,this.awaitIdentPos=_t,this.finishNode(R,"ArrowFunctionExpression")},Jr.parseFunctionBody=function(R,te,ve,Me){var st=te&&this.type!==se.braceL,yt=this.strict,_t=!1;if(st)R.body=this.parseMaybeAssign(Me),R.expression=!0,this.checkParams(R,!1);else{var xt=this.options.ecmaVersion>=7&&!this.isSimpleParamList(R.params);yt&&!xt||(_t=this.strictDirective(this.end))&&xt&&this.raiseRecoverable(R.start,"Illegal 'use strict' directive in function with non-simple parameter list");var Xt=this.labels;this.labels=[],_t&&(this.strict=!0),this.checkParams(R,!yt&&!_t&&!te&&!ve&&this.isSimpleParamList(R.params)),this.strict&&R.id&&this.checkLValSimple(R.id,5),R.body=this.parseBlock(!1,void 0,_t&&!yt),R.expression=!1,this.adaptDirectivePrologue(R.body.body),this.labels=Xt}this.exitScope()},Jr.isSimpleParamList=function(R){for(var te=0,ve=R;te<ve.length;te+=1)if(ve[te].type!=="Identifier")return!1;return!0},Jr.checkParams=function(R,te){for(var ve=Object.create(null),Me=0,st=R.params;Me<st.length;Me+=1){var yt=st[Me];this.checkLValInnerPattern(yt,1,te?null:ve)}},Jr.parseExprList=function(R,te,ve,Me){for(var st=[],yt=!0;!this.eat(R);){if(yt)yt=!1;else if(this.expect(se.comma),te&&this.afterTrailingComma(R))break;var _t=void 0;ve&&this.type===se.comma?_t=null:this.type===se.ellipsis?(_t=this.parseSpread(Me),Me&&this.type===se.comma&&Me.trailingComma<0&&(Me.trailingComma=this.start)):_t=this.parseMaybeAssign(!1,Me),st.push(_t)}return st},Jr.checkUnreserved=function(R){var te=R.start,ve=R.end,Me=R.name;this.inGenerator&&Me==="yield"&&this.raiseRecoverable(te,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&Me==="await"&&this.raiseRecoverable(te,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&Me==="arguments"&&this.raiseRecoverable(te,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||Me!=="arguments"&&Me!=="await"||this.raise(te,"Cannot use "+Me+" in class static initialization block"),this.keywords.test(Me)&&this.raise(te,"Unexpected keyword '"+Me+"'"),this.options.ecmaVersion<6&&this.input.slice(te,ve).indexOf("\\")!==-1||(this.strict?this.reservedWordsStrict:this.reservedWords).test(Me)&&(this.inAsync||Me!=="await"||this.raiseRecoverable(te,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(te,"The keyword '"+Me+"' is reserved"))},Jr.parseIdent=function(R){var te=this.parseIdentNode();return this.next(!!R),this.finishNode(te,"Identifier"),R||(this.checkUnreserved(te),te.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=te.start)),te},Jr.parseIdentNode=function(){var R=this.startNode();return this.type===se.name?R.name=this.value:this.type.keyword?(R.name=this.type.keyword,R.name!=="class"&&R.name!=="function"||this.lastTokEnd===this.lastTokStart+1&&this.input.charCodeAt(this.lastTokStart)===46||this.context.pop(),this.type=se.name):this.unexpected(),R},Jr.parsePrivateIdent=function(){var R=this.startNode();return this.type===se.privateId?R.name=this.value:this.unexpected(),this.next(),this.finishNode(R,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(R.start,"Private field '#"+R.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(R)),R},Jr.parseYield=function(R){this.yieldPos||(this.yieldPos=this.start);var te=this.startNode();return this.next(),this.type===se.semi||this.canInsertSemicolon()||this.type!==se.star&&!this.type.startsExpr?(te.delegate=!1,te.argument=null):(te.delegate=this.eat(se.star),te.argument=this.parseMaybeAssign(R)),this.finishNode(te,"YieldExpression")},Jr.parseAwait=function(R){this.awaitPos||(this.awaitPos=this.start);var te=this.startNode();return this.next(),te.argument=this.parseMaybeUnary(null,!0,!1,R),this.finishNode(te,"AwaitExpression")};var mn=Qe.prototype;mn.raise=function(R,te){var ve=Ce(this.input,R);te+=" ("+ve.line+":"+ve.column+")";var Me=new SyntaxError(te);throw Me.pos=R,Me.loc=ve,Me.raisedAt=this.pos,Me},mn.raiseRecoverable=mn.raise,mn.curPosition=function(){if(this.options.locations)return new pt(this.curLine,this.pos-this.lineStart)};var Li=Qe.prototype,us=function(R){this.flags=R,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};Li.enterScope=function(R){this.scopeStack.push(new us(R))},Li.exitScope=function(){this.scopeStack.pop()},Li.treatFunctionsAsVarInScope=function(R){return 2&R.flags||!this.inModule&&1&R.flags},Li.declareName=function(R,te,ve){var Me=!1;if(te===2){var st=this.currentScope();Me=st.lexical.indexOf(R)>-1||st.functions.indexOf(R)>-1||st.var.indexOf(R)>-1,st.lexical.push(R),this.inModule&&1&st.flags&&delete this.undefinedExports[R]}else if(te===4)this.currentScope().lexical.push(R);else if(te===3){var yt=this.currentScope();Me=this.treatFunctionsAsVar?yt.lexical.indexOf(R)>-1:yt.lexical.indexOf(R)>-1||yt.var.indexOf(R)>-1,yt.functions.push(R)}else for(var _t=this.scopeStack.length-1;_t>=0;--_t){var xt=this.scopeStack[_t];if(xt.lexical.indexOf(R)>-1&&!(32&xt.flags&&xt.lexical[0]===R)||!this.treatFunctionsAsVarInScope(xt)&&xt.functions.indexOf(R)>-1){Me=!0;break}if(xt.var.push(R),this.inModule&&1&xt.flags&&delete this.undefinedExports[R],259&xt.flags)break}Me&&this.raiseRecoverable(ve,"Identifier '"+R+"' has already been declared")},Li.checkLocalExport=function(R){this.scopeStack[0].lexical.indexOf(R.name)===-1&&this.scopeStack[0].var.indexOf(R.name)===-1&&(this.undefinedExports[R.name]=R)},Li.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Li.currentVarScope=function(){for(var R=this.scopeStack.length-1;;R--){var te=this.scopeStack[R];if(259&te.flags)return te}},Li.currentThisScope=function(){for(var R=this.scopeStack.length-1;;R--){var te=this.scopeStack[R];if(259&te.flags&&!(16&te.flags))return te}};var Ni=function(R,te,ve){this.type="",this.start=te,this.end=0,R.options.locations&&(this.loc=new Nt(R,ve)),R.options.directSourceFile&&(this.sourceFile=R.options.directSourceFile),R.options.ranges&&(this.range=[te,0])},xn=Qe.prototype;function ii(R,te,ve,Me){return R.type=te,R.end=ve,this.options.locations&&(R.loc.end=Me),this.options.ranges&&(R.range[1]=ve),R}xn.startNode=function(){return new Ni(this,this.start,this.startLoc)},xn.startNodeAt=function(R,te){return new Ni(this,R,te)},xn.finishNode=function(R,te){return ii.call(this,R,te,this.lastTokEnd,this.lastTokEndLoc)},xn.finishNodeAt=function(R,te,ve,Me){return ii.call(this,R,te,ve,Me)},xn.copyNode=function(R){var te=new Ni(this,R.start,this.startLoc);for(var ve in R)te[ve]=R[ve];return te};var ts="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Pn=ts+" Extended_Pictographic",si=Pn+" EBase EComp EMod EPres ExtPict",Vs={9:ts,10:Pn,11:Pn,12:si,13:si,14:si},Oi={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},Ls="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Fi="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",qr=Fi+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Mr=qr+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",rs=Mr+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Br=rs+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Rs={9:Fi,10:qr,11:Mr,12:rs,13:Br,14:Br+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz"},Xi={};function ns(R){var te=Xi[R]={binary:tt(Vs[R]+" "+Ls),binaryOfStrings:tt(Oi[R]),nonBinary:{General_Category:tt(Ls),Script:tt(Rs[R])}};te.nonBinary.Script_Extensions=te.nonBinary.Script,te.nonBinary.gc=te.nonBinary.General_Category,te.nonBinary.sc=te.nonBinary.Script,te.nonBinary.scx=te.nonBinary.Script_Extensions}for(var vr=0,Yt=[9,10,11,12,13,14];vr<Yt.length;vr+=1)ns(Yt[vr]);var ft=Qe.prototype,wt=function(R){this.parser=R,this.validFlags="gim"+(R.options.ecmaVersion>=6?"uy":"")+(R.options.ecmaVersion>=9?"s":"")+(R.options.ecmaVersion>=13?"d":"")+(R.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Xi[R.options.ecmaVersion>=14?14:R.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function Vt(R){return R===36||R>=40&&R<=43||R===46||R===63||R>=91&&R<=94||R>=123&&R<=125}function nr(R){return R>=65&&R<=90||R>=97&&R<=122}wt.prototype.reset=function(R,te,ve){var Me=ve.indexOf("v")!==-1,st=ve.indexOf("u")!==-1;this.start=0|R,this.source=te+"",this.flags=ve,Me&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=st&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=st&&this.parser.options.ecmaVersion>=9)},wt.prototype.raise=function(R){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+R)},wt.prototype.at=function(R,te){te===void 0&&(te=!1);var ve=this.source,Me=ve.length;if(R>=Me)return-1;var st=ve.charCodeAt(R);if(!te&&!this.switchU||st<=55295||st>=57344||R+1>=Me)return st;var yt=ve.charCodeAt(R+1);return yt>=56320&&yt<=57343?(st<<10)+yt-56613888:st},wt.prototype.nextIndex=function(R,te){te===void 0&&(te=!1);var ve=this.source,Me=ve.length;if(R>=Me)return Me;var st,yt=ve.charCodeAt(R);return!te&&!this.switchU||yt<=55295||yt>=57344||R+1>=Me||(st=ve.charCodeAt(R+1))<56320||st>57343?R+1:R+2},wt.prototype.current=function(R){return R===void 0&&(R=!1),this.at(this.pos,R)},wt.prototype.lookahead=function(R){return R===void 0&&(R=!1),this.at(this.nextIndex(this.pos,R),R)},wt.prototype.advance=function(R){R===void 0&&(R=!1),this.pos=this.nextIndex(this.pos,R)},wt.prototype.eat=function(R,te){return te===void 0&&(te=!1),this.current(te)===R&&(this.advance(te),!0)},wt.prototype.eatChars=function(R,te){te===void 0&&(te=!1);for(var ve=this.pos,Me=0,st=R;Me<st.length;Me+=1){var yt=st[Me],_t=this.at(ve,te);if(_t===-1||_t!==yt)return!1;ve=this.nextIndex(ve,te)}return this.pos=ve,!0},ft.validateRegExpFlags=function(R){for(var te=R.validFlags,ve=R.flags,Me=!1,st=!1,yt=0;yt<ve.length;yt++){var _t=ve.charAt(yt);te.indexOf(_t)===-1&&this.raise(R.start,"Invalid regular expression flag"),ve.indexOf(_t,yt+1)>-1&&this.raise(R.start,"Duplicate regular expression flag"),_t==="u"&&(Me=!0),_t==="v"&&(st=!0)}this.options.ecmaVersion>=15&&Me&&st&&this.raise(R.start,"Invalid regular expression flag")},ft.validateRegExpPattern=function(R){this.regexp_pattern(R),!R.switchN&&this.options.ecmaVersion>=9&&R.groupNames.length>0&&(R.switchN=!0,this.regexp_pattern(R))},ft.regexp_pattern=function(R){R.pos=0,R.lastIntValue=0,R.lastStringValue="",R.lastAssertionIsQuantifiable=!1,R.numCapturingParens=0,R.maxBackReference=0,R.groupNames.length=0,R.backReferenceNames.length=0,this.regexp_disjunction(R),R.pos!==R.source.length&&(R.eat(41)&&R.raise("Unmatched ')'"),(R.eat(93)||R.eat(125))&&R.raise("Lone quantifier brackets")),R.maxBackReference>R.numCapturingParens&&R.raise("Invalid escape");for(var te=0,ve=R.backReferenceNames;te<ve.length;te+=1){var Me=ve[te];R.groupNames.indexOf(Me)===-1&&R.raise("Invalid named capture referenced")}},ft.regexp_disjunction=function(R){for(this.regexp_alternative(R);R.eat(124);)this.regexp_alternative(R);this.regexp_eatQuantifier(R,!0)&&R.raise("Nothing to repeat"),R.eat(123)&&R.raise("Lone quantifier brackets")},ft.regexp_alternative=function(R){for(;R.pos<R.source.length&&this.regexp_eatTerm(R););},ft.regexp_eatTerm=function(R){return this.regexp_eatAssertion(R)?(R.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(R)&&R.switchU&&R.raise("Invalid quantifier"),!0):!!(R.switchU?this.regexp_eatAtom(R):this.regexp_eatExtendedAtom(R))&&(this.regexp_eatQuantifier(R),!0)},ft.regexp_eatAssertion=function(R){var te=R.pos;if(R.lastAssertionIsQuantifiable=!1,R.eat(94)||R.eat(36))return!0;if(R.eat(92)){if(R.eat(66)||R.eat(98))return!0;R.pos=te}if(R.eat(40)&&R.eat(63)){var ve=!1;if(this.options.ecmaVersion>=9&&(ve=R.eat(60)),R.eat(61)||R.eat(33))return this.regexp_disjunction(R),R.eat(41)||R.raise("Unterminated group"),R.lastAssertionIsQuantifiable=!ve,!0}return R.pos=te,!1},ft.regexp_eatQuantifier=function(R,te){return te===void 0&&(te=!1),!!this.regexp_eatQuantifierPrefix(R,te)&&(R.eat(63),!0)},ft.regexp_eatQuantifierPrefix=function(R,te){return R.eat(42)||R.eat(43)||R.eat(63)||this.regexp_eatBracedQuantifier(R,te)},ft.regexp_eatBracedQuantifier=function(R,te){var ve=R.pos;if(R.eat(123)){var Me=0,st=-1;if(this.regexp_eatDecimalDigits(R)&&(Me=R.lastIntValue,R.eat(44)&&this.regexp_eatDecimalDigits(R)&&(st=R.lastIntValue),R.eat(125)))return st!==-1&&st<Me&&!te&&R.raise("numbers out of order in {} quantifier"),!0;R.switchU&&!te&&R.raise("Incomplete quantifier"),R.pos=ve}return!1},ft.regexp_eatAtom=function(R){return this.regexp_eatPatternCharacters(R)||R.eat(46)||this.regexp_eatReverseSolidusAtomEscape(R)||this.regexp_eatCharacterClass(R)||this.regexp_eatUncapturingGroup(R)||this.regexp_eatCapturingGroup(R)},ft.regexp_eatReverseSolidusAtomEscape=function(R){var te=R.pos;if(R.eat(92)){if(this.regexp_eatAtomEscape(R))return!0;R.pos=te}return!1},ft.regexp_eatUncapturingGroup=function(R){var te=R.pos;if(R.eat(40)){if(R.eat(63)&&R.eat(58)){if(this.regexp_disjunction(R),R.eat(41))return!0;R.raise("Unterminated group")}R.pos=te}return!1},ft.regexp_eatCapturingGroup=function(R){if(R.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(R):R.current()===63&&R.raise("Invalid group"),this.regexp_disjunction(R),R.eat(41))return R.numCapturingParens+=1,!0;R.raise("Unterminated group")}return!1},ft.regexp_eatExtendedAtom=function(R){return R.eat(46)||this.regexp_eatReverseSolidusAtomEscape(R)||this.regexp_eatCharacterClass(R)||this.regexp_eatUncapturingGroup(R)||this.regexp_eatCapturingGroup(R)||this.regexp_eatInvalidBracedQuantifier(R)||this.regexp_eatExtendedPatternCharacter(R)},ft.regexp_eatInvalidBracedQuantifier=function(R){return this.regexp_eatBracedQuantifier(R,!0)&&R.raise("Nothing to repeat"),!1},ft.regexp_eatSyntaxCharacter=function(R){var te=R.current();return!!Vt(te)&&(R.lastIntValue=te,R.advance(),!0)},ft.regexp_eatPatternCharacters=function(R){for(var te=R.pos,ve=0;(ve=R.current())!==-1&&!Vt(ve);)R.advance();return R.pos!==te},ft.regexp_eatExtendedPatternCharacter=function(R){var te=R.current();return!(te===-1||te===36||te>=40&&te<=43||te===46||te===63||te===91||te===94||te===124)&&(R.advance(),!0)},ft.regexp_groupSpecifier=function(R){if(R.eat(63)){if(this.regexp_eatGroupName(R))return R.groupNames.indexOf(R.lastStringValue)!==-1&&R.raise("Duplicate capture group name"),void R.groupNames.push(R.lastStringValue);R.raise("Invalid group")}},ft.regexp_eatGroupName=function(R){if(R.lastStringValue="",R.eat(60)){if(this.regexp_eatRegExpIdentifierName(R)&&R.eat(62))return!0;R.raise("Invalid capture group name")}return!1},ft.regexp_eatRegExpIdentifierName=function(R){if(R.lastStringValue="",this.regexp_eatRegExpIdentifierStart(R)){for(R.lastStringValue+=mt(R.lastIntValue);this.regexp_eatRegExpIdentifierPart(R);)R.lastStringValue+=mt(R.lastIntValue);return!0}return!1},ft.regexp_eatRegExpIdentifierStart=function(R){var te=R.pos,ve=this.options.ecmaVersion>=11,Me=R.current(ve);return R.advance(ve),Me===92&&this.regexp_eatRegExpUnicodeEscapeSequence(R,ve)&&(Me=R.lastIntValue),function(st){return me(st,!0)||st===36||st===95}(Me)?(R.lastIntValue=Me,!0):(R.pos=te,!1)},ft.regexp_eatRegExpIdentifierPart=function(R){var te=R.pos,ve=this.options.ecmaVersion>=11,Me=R.current(ve);return R.advance(ve),Me===92&&this.regexp_eatRegExpUnicodeEscapeSequence(R,ve)&&(Me=R.lastIntValue),function(st){return ce(st,!0)||st===36||st===95||st===8204||st===8205}(Me)?(R.lastIntValue=Me,!0):(R.pos=te,!1)},ft.regexp_eatAtomEscape=function(R){return!!(this.regexp_eatBackReference(R)||this.regexp_eatCharacterClassEscape(R)||this.regexp_eatCharacterEscape(R)||R.switchN&&this.regexp_eatKGroupName(R))||(R.switchU&&(R.current()===99&&R.raise("Invalid unicode escape"),R.raise("Invalid escape")),!1)},ft.regexp_eatBackReference=function(R){var te=R.pos;if(this.regexp_eatDecimalEscape(R)){var ve=R.lastIntValue;if(R.switchU)return ve>R.maxBackReference&&(R.maxBackReference=ve),!0;if(ve<=R.numCapturingParens)return!0;R.pos=te}return!1},ft.regexp_eatKGroupName=function(R){if(R.eat(107)){if(this.regexp_eatGroupName(R))return R.backReferenceNames.push(R.lastStringValue),!0;R.raise("Invalid named reference")}return!1},ft.regexp_eatCharacterEscape=function(R){return this.regexp_eatControlEscape(R)||this.regexp_eatCControlLetter(R)||this.regexp_eatZero(R)||this.regexp_eatHexEscapeSequence(R)||this.regexp_eatRegExpUnicodeEscapeSequence(R,!1)||!R.switchU&&this.regexp_eatLegacyOctalEscapeSequence(R)||this.regexp_eatIdentityEscape(R)},ft.regexp_eatCControlLetter=function(R){var te=R.pos;if(R.eat(99)){if(this.regexp_eatControlLetter(R))return!0;R.pos=te}return!1},ft.regexp_eatZero=function(R){return R.current()===48&&!zt(R.lookahead())&&(R.lastIntValue=0,R.advance(),!0)},ft.regexp_eatControlEscape=function(R){var te=R.current();return te===116?(R.lastIntValue=9,R.advance(),!0):te===110?(R.lastIntValue=10,R.advance(),!0):te===118?(R.lastIntValue=11,R.advance(),!0):te===102?(R.lastIntValue=12,R.advance(),!0):te===114&&(R.lastIntValue=13,R.advance(),!0)},ft.regexp_eatControlLetter=function(R){var te=R.current();return!!nr(te)&&(R.lastIntValue=te%32,R.advance(),!0)},ft.regexp_eatRegExpUnicodeEscapeSequence=function(R,te){te===void 0&&(te=!1);var ve,Me=R.pos,st=te||R.switchU;if(R.eat(117)){if(this.regexp_eatFixedHexDigits(R,4)){var yt=R.lastIntValue;if(st&&yt>=55296&&yt<=56319){var _t=R.pos;if(R.eat(92)&&R.eat(117)&&this.regexp_eatFixedHexDigits(R,4)){var xt=R.lastIntValue;if(xt>=56320&&xt<=57343)return R.lastIntValue=1024*(yt-55296)+(xt-56320)+65536,!0}R.pos=_t,R.lastIntValue=yt}return!0}if(st&&R.eat(123)&&this.regexp_eatHexDigits(R)&&R.eat(125)&&(ve=R.lastIntValue)>=0&&ve<=1114111)return!0;st&&R.raise("Invalid unicode escape"),R.pos=Me}return!1},ft.regexp_eatIdentityEscape=function(R){if(R.switchU)return!!this.regexp_eatSyntaxCharacter(R)||!!R.eat(47)&&(R.lastIntValue=47,!0);var te=R.current();return!(te===99||R.switchN&&te===107)&&(R.lastIntValue=te,R.advance(),!0)},ft.regexp_eatDecimalEscape=function(R){R.lastIntValue=0;var te=R.current();if(te>=49&&te<=57){do R.lastIntValue=10*R.lastIntValue+(te-48),R.advance();while((te=R.current())>=48&&te<=57);return!0}return!1};function Hr(R){return nr(R)||R===95}function Bt(R){return Hr(R)||zt(R)}function zt(R){return R>=48&&R<=57}function jt(R){return R>=48&&R<=57||R>=65&&R<=70||R>=97&&R<=102}function xr(R){return R>=65&&R<=70?R-65+10:R>=97&&R<=102?R-97+10:R-48}function Or(R){return R>=48&&R<=55}ft.regexp_eatCharacterClassEscape=function(R){var te=R.current();if(function(st){return st===100||st===68||st===115||st===83||st===119||st===87}(te))return R.lastIntValue=-1,R.advance(),1;var ve=!1;if(R.switchU&&this.options.ecmaVersion>=9&&((ve=te===80)||te===112)){var Me;if(R.lastIntValue=-1,R.advance(),R.eat(123)&&(Me=this.regexp_eatUnicodePropertyValueExpression(R))&&R.eat(125))return ve&&Me===2&&R.raise("Invalid property name"),Me;R.raise("Invalid property name")}return 0},ft.regexp_eatUnicodePropertyValueExpression=function(R){var te=R.pos;if(this.regexp_eatUnicodePropertyName(R)&&R.eat(61)){var ve=R.lastStringValue;if(this.regexp_eatUnicodePropertyValue(R)){var Me=R.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(R,ve,Me),1}}if(R.pos=te,this.regexp_eatLoneUnicodePropertyNameOrValue(R)){var st=R.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(R,st)}return 0},ft.regexp_validateUnicodePropertyNameAndValue=function(R,te,ve){Ae(R.unicodeProperties.nonBinary,te)||R.raise("Invalid property name"),R.unicodeProperties.nonBinary[te].test(ve)||R.raise("Invalid property value")},ft.regexp_validateUnicodePropertyNameOrValue=function(R,te){return R.unicodeProperties.binary.test(te)?1:R.switchV&&R.unicodeProperties.binaryOfStrings.test(te)?2:void R.raise("Invalid property name")},ft.regexp_eatUnicodePropertyName=function(R){var te=0;for(R.lastStringValue="";Hr(te=R.current());)R.lastStringValue+=mt(te),R.advance();return R.lastStringValue!==""},ft.regexp_eatUnicodePropertyValue=function(R){var te=0;for(R.lastStringValue="";Bt(te=R.current());)R.lastStringValue+=mt(te),R.advance();return R.lastStringValue!==""},ft.regexp_eatLoneUnicodePropertyNameOrValue=function(R){return this.regexp_eatUnicodePropertyValue(R)},ft.regexp_eatCharacterClass=function(R){if(R.eat(91)){var te=R.eat(94),ve=this.regexp_classContents(R);return R.eat(93)||R.raise("Unterminated character class"),te&&ve===2&&R.raise("Negated character class may contain strings"),!0}return!1},ft.regexp_classContents=function(R){return R.current()===93?1:R.switchV?this.regexp_classSetExpression(R):(this.regexp_nonEmptyClassRanges(R),1)},ft.regexp_nonEmptyClassRanges=function(R){for(;this.regexp_eatClassAtom(R);){var te=R.lastIntValue;if(R.eat(45)&&this.regexp_eatClassAtom(R)){var ve=R.lastIntValue;!R.switchU||te!==-1&&ve!==-1||R.raise("Invalid character class"),te!==-1&&ve!==-1&&te>ve&&R.raise("Range out of order in character class")}}},ft.regexp_eatClassAtom=function(R){var te=R.pos;if(R.eat(92)){if(this.regexp_eatClassEscape(R))return!0;if(R.switchU){var ve=R.current();(ve===99||Or(ve))&&R.raise("Invalid class escape"),R.raise("Invalid escape")}R.pos=te}var Me=R.current();return Me!==93&&(R.lastIntValue=Me,R.advance(),!0)},ft.regexp_eatClassEscape=function(R){var te=R.pos;if(R.eat(98))return R.lastIntValue=8,!0;if(R.switchU&&R.eat(45))return R.lastIntValue=45,!0;if(!R.switchU&&R.eat(99)){if(this.regexp_eatClassControlLetter(R))return!0;R.pos=te}return this.regexp_eatCharacterClassEscape(R)||this.regexp_eatCharacterEscape(R)},ft.regexp_classSetExpression=function(R){var te,ve=1;if(!this.regexp_eatClassSetRange(R))if(te=this.regexp_eatClassSetOperand(R)){te===2&&(ve=2);for(var Me=R.pos;R.eatChars([38,38]);)R.current()!==38&&(te=this.regexp_eatClassSetOperand(R))?te!==2&&(ve=1):R.raise("Invalid character in character class");if(Me!==R.pos)return ve;for(;R.eatChars([45,45]);)this.regexp_eatClassSetOperand(R)||R.raise("Invalid character in character class");if(Me!==R.pos)return ve}else R.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(R)){if(!(te=this.regexp_eatClassSetOperand(R)))return ve;te===2&&(ve=2)}},ft.regexp_eatClassSetRange=function(R){var te=R.pos;if(this.regexp_eatClassSetCharacter(R)){var ve=R.lastIntValue;if(R.eat(45)&&this.regexp_eatClassSetCharacter(R)){var Me=R.lastIntValue;return ve!==-1&&Me!==-1&&ve>Me&&R.raise("Range out of order in character class"),!0}R.pos=te}return!1},ft.regexp_eatClassSetOperand=function(R){return this.regexp_eatClassSetCharacter(R)?1:this.regexp_eatClassStringDisjunction(R)||this.regexp_eatNestedClass(R)},ft.regexp_eatNestedClass=function(R){var te=R.pos;if(R.eat(91)){var ve=R.eat(94),Me=this.regexp_classContents(R);if(R.eat(93))return ve&&Me===2&&R.raise("Negated character class may contain strings"),Me;R.pos=te}if(R.eat(92)){var st=this.regexp_eatCharacterClassEscape(R);if(st)return st;R.pos=te}return null},ft.regexp_eatClassStringDisjunction=function(R){var te=R.pos;if(R.eatChars([92,113])){if(R.eat(123)){var ve=this.regexp_classStringDisjunctionContents(R);if(R.eat(125))return ve}else R.raise("Invalid escape");R.pos=te}return null},ft.regexp_classStringDisjunctionContents=function(R){for(var te=this.regexp_classString(R);R.eat(124);)this.regexp_classString(R)===2&&(te=2);return te},ft.regexp_classString=function(R){for(var te=0;this.regexp_eatClassSetCharacter(R);)te++;return te===1?1:2},ft.regexp_eatClassSetCharacter=function(R){var te=R.pos;if(R.eat(92))return!(!this.regexp_eatCharacterEscape(R)&&!this.regexp_eatClassSetReservedPunctuator(R))||(R.eat(98)?(R.lastIntValue=8,!0):(R.pos=te,!1));var ve=R.current();return!(ve<0||ve===R.lookahead()&&function(Me){return Me===33||Me>=35&&Me<=38||Me>=42&&Me<=44||Me===46||Me>=58&&Me<=64||Me===94||Me===96||Me===126}(ve))&&!function(Me){return Me===40||Me===41||Me===45||Me===47||Me>=91&&Me<=93||Me>=123&&Me<=125}(ve)&&(R.advance(),R.lastIntValue=ve,!0)},ft.regexp_eatClassSetReservedPunctuator=function(R){var te=R.current();return!!function(ve){return ve===33||ve===35||ve===37||ve===38||ve===44||ve===45||ve>=58&&ve<=62||ve===64||ve===96||ve===126}(te)&&(R.lastIntValue=te,R.advance(),!0)},ft.regexp_eatClassControlLetter=function(R){var te=R.current();return!(!zt(te)&&te!==95)&&(R.lastIntValue=te%32,R.advance(),!0)},ft.regexp_eatHexEscapeSequence=function(R){var te=R.pos;if(R.eat(120)){if(this.regexp_eatFixedHexDigits(R,2))return!0;R.switchU&&R.raise("Invalid escape"),R.pos=te}return!1},ft.regexp_eatDecimalDigits=function(R){var te=R.pos,ve=0;for(R.lastIntValue=0;zt(ve=R.current());)R.lastIntValue=10*R.lastIntValue+(ve-48),R.advance();return R.pos!==te},ft.regexp_eatHexDigits=function(R){var te=R.pos,ve=0;for(R.lastIntValue=0;jt(ve=R.current());)R.lastIntValue=16*R.lastIntValue+xr(ve),R.advance();return R.pos!==te},ft.regexp_eatLegacyOctalEscapeSequence=function(R){if(this.regexp_eatOctalDigit(R)){var te=R.lastIntValue;if(this.regexp_eatOctalDigit(R)){var ve=R.lastIntValue;te<=3&&this.regexp_eatOctalDigit(R)?R.lastIntValue=64*te+8*ve+R.lastIntValue:R.lastIntValue=8*te+ve}else R.lastIntValue=te;return!0}return!1},ft.regexp_eatOctalDigit=function(R){var te=R.current();return Or(te)?(R.lastIntValue=te-48,R.advance(),!0):(R.lastIntValue=0,!1)},ft.regexp_eatFixedHexDigits=function(R,te){var ve=R.pos;R.lastIntValue=0;for(var Me=0;Me<te;++Me){var st=R.current();if(!jt(st))return R.pos=ve,!1;R.lastIntValue=16*R.lastIntValue+xr(st),R.advance()}return!0};var hr=function(R){this.type=R.type,this.value=R.value,this.start=R.start,this.end=R.end,R.options.locations&&(this.loc=new Nt(R,R.startLoc,R.endLoc)),R.options.ranges&&(this.range=[R.start,R.end])},dr=Qe.prototype;function Sn(R){return typeof BigInt!="function"?null:BigInt(R.replace(/_/g,""))}dr.next=function(R){!R&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new hr(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},dr.getToken=function(){return this.next(),new hr(this)},typeof Symbol<"u"&&(dr[Symbol.iterator]=function(){var R=this;return{next:function(){var te=R.getToken();return{done:te.type===se.eof,value:te}}}}),dr.nextToken=function(){var R=this.curContext();return R&&R.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(se.eof):R.override?R.override(this):void this.readToken(this.fullCharCodeAtPos())},dr.readToken=function(R){return me(R,this.options.ecmaVersion>=6)||R===92?this.readWord():this.getTokenFromCode(R)},dr.fullCharCodeAtPos=function(){var R=this.input.charCodeAt(this.pos);if(R<=55295||R>=56320)return R;var te=this.input.charCodeAt(this.pos+1);return te<=56319||te>=57344?R:(R<<10)+te-56613888},dr.skipBlockComment=function(){var R=this.options.onComment&&this.curPosition(),te=this.pos,ve=this.input.indexOf("*/",this.pos+=2);if(ve===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=ve+2,this.options.locations)for(var Me=void 0,st=te;(Me=nt(this.input,st,this.pos))>-1;)++this.curLine,st=this.lineStart=Me;this.options.onComment&&this.options.onComment(!0,this.input.slice(te+2,ve),te,this.pos,R,this.curPosition())},dr.skipLineComment=function(R){for(var te=this.pos,ve=this.options.onComment&&this.curPosition(),Me=this.input.charCodeAt(this.pos+=R);this.pos<this.input.length&&!$e(Me);)Me=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(te+R,this.pos),te,this.pos,ve,this.curPosition())},dr.skipSpace=function(){e:for(;this.pos<this.input.length;){var R=this.input.charCodeAt(this.pos);switch(R){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(!(R>8&&R<14||R>=5760&&et.test(String.fromCharCode(R))))break e;++this.pos}}},dr.finishToken=function(R,te){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var ve=this.type;this.type=R,this.value=te,this.updateContext(ve)},dr.readToken_dot=function(){var R=this.input.charCodeAt(this.pos+1);if(R>=48&&R<=57)return this.readNumber(!0);var te=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&R===46&&te===46?(this.pos+=3,this.finishToken(se.ellipsis)):(++this.pos,this.finishToken(se.dot))},dr.readToken_slash=function(){var R=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):R===61?this.finishOp(se.assign,2):this.finishOp(se.slash,1)},dr.readToken_mult_modulo_exp=function(R){var te=this.input.charCodeAt(this.pos+1),ve=1,Me=R===42?se.star:se.modulo;return this.options.ecmaVersion>=7&&R===42&&te===42&&(++ve,Me=se.starstar,te=this.input.charCodeAt(this.pos+2)),te===61?this.finishOp(se.assign,ve+1):this.finishOp(Me,ve)},dr.readToken_pipe_amp=function(R){var te=this.input.charCodeAt(this.pos+1);return te===R?this.options.ecmaVersion>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(se.assign,3):this.finishOp(R===124?se.logicalOR:se.logicalAND,2):te===61?this.finishOp(se.assign,2):this.finishOp(R===124?se.bitwiseOR:se.bitwiseAND,1)},dr.readToken_caret=function(){return this.input.charCodeAt(this.pos+1)===61?this.finishOp(se.assign,2):this.finishOp(se.bitwiseXOR,1)},dr.readToken_plus_min=function(R){var te=this.input.charCodeAt(this.pos+1);return te===R?te!==45||this.inModule||this.input.charCodeAt(this.pos+2)!==62||this.lastTokEnd!==0&&!Ie.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(se.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):te===61?this.finishOp(se.assign,2):this.finishOp(se.plusMin,1)},dr.readToken_lt_gt=function(R){var te=this.input.charCodeAt(this.pos+1),ve=1;return te===R?(ve=R===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+ve)===61?this.finishOp(se.assign,ve+1):this.finishOp(se.bitShift,ve)):te!==33||R!==60||this.inModule||this.input.charCodeAt(this.pos+2)!==45||this.input.charCodeAt(this.pos+3)!==45?(te===61&&(ve=2),this.finishOp(se.relational,ve)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},dr.readToken_eq_excl=function(R){var te=this.input.charCodeAt(this.pos+1);return te===61?this.finishOp(se.equality,this.input.charCodeAt(this.pos+2)===61?3:2):R===61&&te===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(se.arrow)):this.finishOp(R===61?se.eq:se.prefix,1)},dr.readToken_question=function(){var R=this.options.ecmaVersion;if(R>=11){var te=this.input.charCodeAt(this.pos+1);if(te===46){var ve=this.input.charCodeAt(this.pos+2);if(ve<48||ve>57)return this.finishOp(se.questionDot,2)}if(te===63)return R>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(se.assign,3):this.finishOp(se.coalesce,2)}return this.finishOp(se.question,1)},dr.readToken_numberSign=function(){var R=35;if(this.options.ecmaVersion>=13&&(++this.pos,me(R=this.fullCharCodeAtPos(),!0)||R===92))return this.finishToken(se.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+mt(R)+"'")},dr.getTokenFromCode=function(R){switch(R){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(se.parenL);case 41:return++this.pos,this.finishToken(se.parenR);case 59:return++this.pos,this.finishToken(se.semi);case 44:return++this.pos,this.finishToken(se.comma);case 91:return++this.pos,this.finishToken(se.bracketL);case 93:return++this.pos,this.finishToken(se.bracketR);case 123:return++this.pos,this.finishToken(se.braceL);case 125:return++this.pos,this.finishToken(se.braceR);case 58:return++this.pos,this.finishToken(se.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(se.backQuote);case 48:var te=this.input.charCodeAt(this.pos+1);if(te===120||te===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(te===111||te===79)return this.readRadixNumber(8);if(te===98||te===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(R);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(R);case 124:case 38:return this.readToken_pipe_amp(R);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(R);case 60:case 62:return this.readToken_lt_gt(R);case 61:case 33:return this.readToken_eq_excl(R);case 63:return this.readToken_question();case 126:return this.finishOp(se.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+mt(R)+"'")},dr.finishOp=function(R,te){var ve=this.input.slice(this.pos,this.pos+te);return this.pos+=te,this.finishToken(R,ve)},dr.readRegexp=function(){for(var R,te,ve=this.pos;;){this.pos>=this.input.length&&this.raise(ve,"Unterminated regular expression");var Me=this.input.charAt(this.pos);if(Ie.test(Me)&&this.raise(ve,"Unterminated regular expression"),R)R=!1;else{if(Me==="[")te=!0;else if(Me==="]"&&te)te=!1;else if(Me==="/"&&!te)break;R=Me==="\\"}++this.pos}var st=this.input.slice(ve,this.pos);++this.pos;var yt=this.pos,_t=this.readWord1();this.containsEsc&&this.unexpected(yt);var xt=this.regexpState||(this.regexpState=new wt(this));xt.reset(ve,st,_t),this.validateRegExpFlags(xt),this.validateRegExpPattern(xt);var Xt=null;try{Xt=new RegExp(st,_t)}catch{}return this.finishToken(se.regexp,{pattern:st,flags:_t,value:Xt})},dr.readInt=function(R,te,ve){for(var Me=this.options.ecmaVersion>=12&&te===void 0,st=ve&&this.input.charCodeAt(this.pos)===48,yt=this.pos,_t=0,xt=0,Xt=0,cr=te??1/0;Xt<cr;++Xt,++this.pos){var Zt=this.input.charCodeAt(this.pos),Xr=void 0;if(Me&&Zt===95)st&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),xt===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),Xt===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),xt=Zt;else{if((Xr=Zt>=97?Zt-97+10:Zt>=65?Zt-65+10:Zt>=48&&Zt<=57?Zt-48:1/0)>=R)break;xt=Zt,_t=_t*R+Xr}}return Me&&xt===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===yt||te!=null&&this.pos-yt!==te?null:_t},dr.readRadixNumber=function(R){var te=this.pos;this.pos+=2;var ve=this.readInt(R);return ve==null&&this.raise(this.start+2,"Expected number in radix "+R),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(ve=Sn(this.input.slice(te,this.pos)),++this.pos):me(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(se.num,ve)},dr.readNumber=function(R){var te=this.pos;R||this.readInt(10,void 0,!0)!==null||this.raise(te,"Invalid number");var ve=this.pos-te>=2&&this.input.charCodeAt(te)===48;ve&&this.strict&&this.raise(te,"Invalid number");var Me=this.input.charCodeAt(this.pos);if(!ve&&!R&&this.options.ecmaVersion>=11&&Me===110){var st=Sn(this.input.slice(te,this.pos));return++this.pos,me(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(se.num,st)}ve&&/[89]/.test(this.input.slice(te,this.pos))&&(ve=!1),Me!==46||ve||(++this.pos,this.readInt(10),Me=this.input.charCodeAt(this.pos)),Me!==69&&Me!==101||ve||((Me=this.input.charCodeAt(++this.pos))!==43&&Me!==45||++this.pos,this.readInt(10)===null&&this.raise(te,"Invalid number")),me(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var yt,_t=(yt=this.input.slice(te,this.pos),ve?parseInt(yt,8):parseFloat(yt.replace(/_/g,"")));return this.finishToken(se.num,_t)},dr.readCodePoint=function(){var R;if(this.input.charCodeAt(this.pos)===123){this.options.ecmaVersion<6&&this.unexpected();var te=++this.pos;R=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,R>1114111&&this.invalidStringToken(te,"Code point out of bounds")}else R=this.readHexChar(4);return R},dr.readString=function(R){for(var te="",ve=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var Me=this.input.charCodeAt(this.pos);if(Me===R)break;Me===92?(te+=this.input.slice(ve,this.pos),te+=this.readEscapedChar(!1),ve=this.pos):Me===8232||Me===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):($e(Me)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return te+=this.input.slice(ve,this.pos++),this.finishToken(se.string,te)};var Xn={};dr.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(R){if(R!==Xn)throw R;this.readInvalidTemplateToken()}this.inTemplateElement=!1},dr.invalidStringToken=function(R,te){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Xn;this.raise(R,te)},dr.readTmplToken=function(){for(var R="",te=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var ve=this.input.charCodeAt(this.pos);if(ve===96||ve===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos!==this.start||this.type!==se.template&&this.type!==se.invalidTemplate?(R+=this.input.slice(te,this.pos),this.finishToken(se.template,R)):ve===36?(this.pos+=2,this.finishToken(se.dollarBraceL)):(++this.pos,this.finishToken(se.backQuote));if(ve===92)R+=this.input.slice(te,this.pos),R+=this.readEscapedChar(!0),te=this.pos;else if($e(ve)){switch(R+=this.input.slice(te,this.pos),++this.pos,ve){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:R+=`
|
|
`;break;default:R+=String.fromCharCode(ve)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),te=this.pos}else++this.pos}},dr.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(se.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},dr.readEscapedChar=function(R){var te=this.input.charCodeAt(++this.pos);switch(++this.pos,te){case 110:return`
|
|
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return mt(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),R){var ve=this.pos-1;this.invalidStringToken(ve,"Invalid escape sequence in template string")}default:if(te>=48&&te<=55){var Me=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],st=parseInt(Me,8);return st>255&&(Me=Me.slice(0,-1),st=parseInt(Me,8)),this.pos+=Me.length-1,te=this.input.charCodeAt(this.pos),Me==="0"&&te!==56&&te!==57||!this.strict&&!R||this.invalidStringToken(this.pos-1-Me.length,R?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(st)}return $e(te)?"":String.fromCharCode(te)}},dr.readHexChar=function(R){var te=this.pos,ve=this.readInt(16,R);return ve===null&&this.invalidStringToken(te,"Bad character escape sequence"),ve},dr.readWord1=function(){this.containsEsc=!1;for(var R="",te=!0,ve=this.pos,Me=this.options.ecmaVersion>=6;this.pos<this.input.length;){var st=this.fullCharCodeAtPos();if(ce(st,Me))this.pos+=st<=65535?1:2;else{if(st!==92)break;this.containsEsc=!0,R+=this.input.slice(ve,this.pos);var yt=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var _t=this.readCodePoint();(te?me:ce)(_t,Me)||this.invalidStringToken(yt,"Invalid Unicode escape"),R+=mt(_t),ve=this.pos}te=!1}return R+this.input.slice(ve,this.pos)},dr.readWord=function(){var R=this.readWord1(),te=se.name;return this.keywords.test(R)&&(te=fe[R]),this.finishToken(te,R)},Qe.acorn={Parser:Qe,version:"8.11.3",defaultOptions:qe,Position:pt,SourceLocation:Nt,getLineInfo:Ce,Node:Ni,TokenType:ke,tokTypes:se,keywordTypes:fe,TokContext:wr,tokContexts:on,isIdentifierChar:ce,isIdentifierStart:me,Token:hr,isNewLine:$e,lineBreak:Ie,lineBreakG:ye,nonASCIIwhitespace:et};let zn=require("module"),en=require("fs");String.fromCharCode;let ai=/\/$|\/\?|\/#/,Ri=/^\.?\//;function Oa(R="",te){return te?ai.test(R):R.endsWith("/")}function Fa(R="",te){if(!te)return R.endsWith("/")?R:R+"/";if(Oa(R,!0))return R||"/";let ve=R,Me="",st=R.indexOf("#");if(st>=0&&(ve=R.slice(0,st),Me=R.slice(st),!ve))return Me;let[yt,..._t]=ve.split("?");return yt+"/"+(_t.length>0?`?${_t.join("?")}`:"")+Me}function ja(R){return R&&R!=="/"}function ao(R,...te){let ve=R||"";for(let Me of te.filter(st=>ja(st)))if(ve){let st=Me.replace(Ri,"");ve=Fa(ve)+st}else ve=Me;return ve}Symbol.for("ufo:protocolRelative");let Rr=require("url"),Ks=require("assert"),Qa=require("process"),Ro=require("path"),gs=require("v8"),Ua=require("util"),ze=new Set(zn.builtinModules);function b(R){return R.replace(/\\/g,"/")}let N={}.hasOwnProperty,G=/^([A-Z][a-z\d]*)+$/,V=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),f={};function v(R,te="and"){return R.length<3?R.join(` ${te} `):`${R.slice(0,-1).join(", ")}, ${te} ${R[R.length-1]}`}let B=new Map,X;function ae(R,te,ve){return B.set(R,te),function(Me,st){return yt;function yt(..._t){let xt=Error.stackTraceLimit;Te()&&(Error.stackTraceLimit=0);let Xt=new Me;Te()&&(Error.stackTraceLimit=xt);let cr=function(Zt,Xr,En){let Yn=B.get(Zt);if(Ks(Yn!==void 0,"expected `message` to be found"),typeof Yn=="function")return Ks(Yn.length<=Xr.length,`Code: ${Zt}; The provided arguments length (${Xr.length}) does not match the required ones (${Yn.length}).`),Reflect.apply(Yn,En,Xr);let ji=/%[dfijoOs]/g,sa=0;for(;ji.exec(Yn)!==null;)sa++;return Ks(sa===Xr.length,`Code: ${Zt}; The provided arguments length (${Xr.length}) does not match the required ones (${sa}).`),Xr.length===0?Yn:(Xr.unshift(Yn),Reflect.apply(Ua.format,null,Xr))}(st,_t,Xt);return Object.defineProperties(Xt,{message:{value:cr,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${st}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),Ke(Xt),Xt.code=st,Xt}}(ve,R)}function Te(){try{if(gs.startupSnapshot.isBuildingSnapshot())return!1}catch{}let R=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return R===void 0?Object.isExtensible(Error):N.call(R,"writable")&&R.writable!==void 0?R.writable:R.set!==void 0}f.ERR_INVALID_ARG_TYPE=ae("ERR_INVALID_ARG_TYPE",(R,te,ve)=>{Ks(typeof R=="string","'name' must be a string"),Array.isArray(te)||(te=[te]);let Me="The ";if(R.endsWith(" argument"))Me+=`${R} `;else{let xt=R.includes(".")?"property":"argument";Me+=`"${R}" ${xt} `}Me+="must be ";let st=[],yt=[],_t=[];for(let xt of te)Ks(typeof xt=="string","All expected entries have to be of type string"),V.has(xt)?st.push(xt.toLowerCase()):G.exec(xt)===null?(Ks(xt!=="object",'The value "object" should be written as "Object"'),_t.push(xt)):yt.push(xt);if(yt.length>0){let xt=st.indexOf("object");xt!==-1&&(st.slice(xt,1),yt.push("Object"))}return st.length>0&&(Me+=`${st.length>1?"one of type":"of type"} ${v(st,"or")}`,(yt.length>0||_t.length>0)&&(Me+=" or ")),yt.length>0&&(Me+=`an instance of ${v(yt,"or")}`,_t.length>0&&(Me+=" or ")),_t.length>0&&(_t.length>1?Me+=`one of ${v(_t,"or")}`:(_t[0].toLowerCase()!==_t[0]&&(Me+="an "),Me+=`${_t[0]}`)),Me+=`. Received ${function(xt){if(xt==null)return String(xt);if(typeof xt=="function"&&xt.name)return`function ${xt.name}`;if(typeof xt=="object")return xt.constructor&&xt.constructor.name?`an instance of ${xt.constructor.name}`:`${(0,Ua.inspect)(xt,{depth:-1})}`;let Xt=(0,Ua.inspect)(xt,{colors:!1});return Xt.length>28&&(Xt=`${Xt.slice(0,25)}...`),`type ${typeof xt} (${Xt})`}(ve)}`,Me},TypeError),f.ERR_INVALID_MODULE_SPECIFIER=ae("ERR_INVALID_MODULE_SPECIFIER",(R,te,ve=void 0)=>`Invalid module "${R}" ${te}${ve?` imported from ${ve}`:""}`,TypeError),f.ERR_INVALID_PACKAGE_CONFIG=ae("ERR_INVALID_PACKAGE_CONFIG",(R,te,ve)=>`Invalid package config ${R}${te?` while importing ${te}`:""}${ve?`. ${ve}`:""}`,Error),f.ERR_INVALID_PACKAGE_TARGET=ae("ERR_INVALID_PACKAGE_TARGET",(R,te,ve,Me=!1,st=void 0)=>{let yt=typeof ve=="string"&&!Me&&ve.length>0&&!ve.startsWith("./");return te==="."?(Ks(Me===!1),`Invalid "exports" main target ${JSON.stringify(ve)} defined in the package config ${R}package.json${st?` imported from ${st}`:""}${yt?'; targets must start with "./"':""}`):`Invalid "${Me?"imports":"exports"}" target ${JSON.stringify(ve)} defined for '${te}' in the package config ${R}package.json${st?` imported from ${st}`:""}${yt?'; targets must start with "./"':""}`},Error),f.ERR_MODULE_NOT_FOUND=ae("ERR_MODULE_NOT_FOUND",(R,te,ve=!1)=>`Cannot find ${ve?"module":"package"} '${R}' imported from ${te}`,Error),f.ERR_NETWORK_IMPORT_DISALLOWED=ae("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),f.ERR_PACKAGE_IMPORT_NOT_DEFINED=ae("ERR_PACKAGE_IMPORT_NOT_DEFINED",(R,te,ve)=>`Package import specifier "${R}" is not defined${te?` in package ${te}package.json`:""} imported from ${ve}`,TypeError),f.ERR_PACKAGE_PATH_NOT_EXPORTED=ae("ERR_PACKAGE_PATH_NOT_EXPORTED",(R,te,ve=void 0)=>te==="."?`No "exports" main defined in ${R}package.json${ve?` imported from ${ve}`:""}`:`Package subpath '${te}' is not defined by "exports" in ${R}package.json${ve?` imported from ${ve}`:""}`,Error),f.ERR_UNSUPPORTED_DIR_IMPORT=ae("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),f.ERR_UNSUPPORTED_RESOLVE_REQUEST=ae("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),f.ERR_UNKNOWN_FILE_EXTENSION=ae("ERR_UNKNOWN_FILE_EXTENSION",(R,te)=>`Unknown file extension "${R}" for ${te}`,TypeError),f.ERR_INVALID_ARG_VALUE=ae("ERR_INVALID_ARG_VALUE",(R,te,ve="is invalid")=>{let Me=(0,Ua.inspect)(te);return Me.length>128&&(Me=`${Me.slice(0,128)}...`),`The ${R.includes(".")?"property":"argument"} '${R}' ${ve}. Received ${Me}`},TypeError);let Ke=function(R){let te="__node_internal_"+R.name;return Object.defineProperty(R,"name",{value:te}),R}(function(R){let te=Te();return te&&(X=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(R),te&&(Error.stackTraceLimit=X),R}),rt={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:at}=f,St=new Map;function Kt(R,{base:te,specifier:ve}){let Me=St.get(R);if(Me)return Me;let st;try{st=en.readFileSync(Ro.toNamespacedPath(R),"utf8")}catch(_t){let xt=_t;if(xt.code!=="ENOENT")throw xt}let yt={exists:!1,pjsonPath:R,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(st!==void 0){let _t;try{_t=JSON.parse(st)}catch(xt){let Xt=xt,cr=new at(R,(te?`"${ve}" from `:"")+(0,Rr.fileURLToPath)(te||ve),Xt.message);throw cr.cause=Xt,cr}yt.exists=!0,rt.call(_t,"name")&&typeof _t.name=="string"&&(yt.name=_t.name),rt.call(_t,"main")&&typeof _t.main=="string"&&(yt.main=_t.main),rt.call(_t,"exports")&&(yt.exports=_t.exports),rt.call(_t,"imports")&&(yt.imports=_t.imports),!rt.call(_t,"type")||_t.type!=="commonjs"&&_t.type!=="module"||(yt.type=_t.type)}return St.set(R,yt),yt}function gr(R){let te=new URL("package.json",R);for(;!te.pathname.endsWith("node_modules/package.json");){let ve=Kt((0,Rr.fileURLToPath)(te),{specifier:R});if(ve.exists)return ve;let Me=te;if(te=new URL("../package.json",te),te.pathname===Me.pathname)break}return{pjsonPath:(0,Rr.fileURLToPath)(te),exists:!1,type:"none"}}function lr(R){return gr(R).type}let{ERR_UNKNOWN_FILE_EXTENSION:Ur}=f,pi={}.hasOwnProperty,bi={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"},jn={__proto__:null,"data:":function(R){let{1:te}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(R.pathname)||[null,null,null];return function(ve){return ve&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(ve)?"module":ve==="application/json"?"json":null}(te)},"file:":function(R,te,ve){let Me=function(_t){let xt=_t.pathname,Xt=xt.length;for(;Xt--;){let cr=xt.codePointAt(Xt);if(cr===47)return"";if(cr===46)return xt.codePointAt(Xt-1)===47?"":xt.slice(Xt)}return""}(R);if(Me===".js"){let _t=lr(R);return _t!=="none"?_t:"commonjs"}if(Me===""){let _t=lr(R);return _t==="none"||_t==="commonjs"?"commonjs":"module"}let st=bi[Me];if(st)return st;if(ve)return;let yt=(0,Rr.fileURLToPath)(R);throw new Ur(Me,yt)},"http:":Hs,"https:":Hs,"node:":()=>"builtin"};function Hs(){}let M=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:oe,ERR_INVALID_MODULE_SPECIFIER:Re,ERR_INVALID_PACKAGE_CONFIG:Xe,ERR_INVALID_PACKAGE_TARGET:lt,ERR_MODULE_NOT_FOUND:vt,ERR_PACKAGE_IMPORT_NOT_DEFINED:Mt,ERR_PACKAGE_PATH_NOT_EXPORTED:Qt,ERR_UNSUPPORTED_DIR_IMPORT:jr,ERR_UNSUPPORTED_RESOLVE_REQUEST:un}=f,gn={}.hasOwnProperty,Ti=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,ma=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,Gs=/^\.|%|\\/,oo=/\*/g,$o=/%2f|%5c/i,Ea=new Set,zo=/[/\\]{2}/;function Hn(R,te,ve,Me,st,yt,_t){if(Qa.noDeprecation)return;let xt=(0,Rr.fileURLToPath)(Me),Xt=zo.exec(_t?R:te)!==null;Qa.emitWarning(`Use of deprecated ${Xt?"double slash":"leading or trailing slash matching"} resolving "${R}" for module request "${te}" ${te===ve?"":`matched to "${ve}" `}in the "${st?"imports":"exports"}" field module resolution of the package at ${xt}${yt?` imported from ${(0,Rr.fileURLToPath)(yt)}`:""}.`,"DeprecationWarning","DEP0166")}function oi(R,te,ve,Me){if(Qa.noDeprecation||function(Xt,cr){let Zt=Xt.protocol;return pi.call(jn,Zt)&&jn[Zt](Xt,cr,!0)||null}(R,{parentURL:ve.href})!=="module")return;let yt=(0,Rr.fileURLToPath)(R.href),_t=(0,Rr.fileURLToPath)(new Rr.URL(".",te)),xt=(0,Rr.fileURLToPath)(ve);Me?Ro.resolve(_t,Me)!==yt&&Qa.emitWarning(`Package ${_t} has a "main" field set to "${Me}", excluding the full filename and extension to the resolved file at "${yt.slice(_t.length)}", imported from ${xt}.
|
|
Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):Qa.emitWarning(`No "main" or "exports" field defined in the package.json for ${_t} resolving the main entry point "${yt.slice(_t.length)}", imported from ${xt}.
|
|
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function di(R){try{return(0,en.statSync)(R)}catch{}}function bs(R){let te=(0,en.statSync)(R,{throwIfNoEntry:!1}),ve=te?te.isFile():void 0;return ve!=null&&ve}function La(R,te,ve){let Me;if(te.main!==void 0){if(Me=new Rr.URL(te.main,R),bs(Me))return Me;let _t=[`./${te.main}.js`,`./${te.main}.json`,`./${te.main}.node`,`./${te.main}/index.js`,`./${te.main}/index.json`,`./${te.main}/index.node`],xt=-1;for(;++xt<_t.length&&(Me=new Rr.URL(_t[xt],R),!bs(Me));)Me=void 0;if(Me)return oi(Me,R,ve,te.main),Me}let st=["./index.js","./index.json","./index.node"],yt=-1;for(;++yt<st.length&&(Me=new Rr.URL(st[yt],R),!bs(Me));)Me=void 0;if(Me)return oi(Me,R,ve,te.main),Me;throw new vt((0,Rr.fileURLToPath)(new Rr.URL(".",R)),(0,Rr.fileURLToPath)(ve))}function ll(R,te,ve){return new Qt((0,Rr.fileURLToPath)(new Rr.URL(".",te)),R,ve&&(0,Rr.fileURLToPath)(ve))}function ia(R,te,ve,Me,st){return te=typeof te=="object"&&te!==null?JSON.stringify(te,null,""):`${te}`,new lt((0,Rr.fileURLToPath)(new Rr.URL(".",ve)),R,te,Me,st&&(0,Rr.fileURLToPath)(st))}function qa(R,te,ve,Me,st,yt,_t,xt,Xt){if(te!==""&&!yt&&R[R.length-1]!=="/")throw ia(ve,R,Me,_t,st);if(!R.startsWith("./")){if(_t&&!R.startsWith("../")&&!R.startsWith("/")){let En=!1;try{new Rr.URL(R),En=!0}catch{}if(!En)return Md(yt?M.call(oo,R,()=>te):R+te,Me,Xt)}throw ia(ve,R,Me,_t,st)}if(Ti.exec(R.slice(2))!==null){if(ma.exec(R.slice(2))!==null)throw ia(ve,R,Me,_t,st);if(!xt){let En=yt?ve.replace("*",()=>te):ve+te;Hn(yt?M.call(oo,R,()=>te):R,En,ve,Me,_t,st,!0)}}let cr=new Rr.URL(R,Me),Zt=cr.pathname,Xr=new Rr.URL(".",Me).pathname;if(!Zt.startsWith(Xr))throw ia(ve,R,Me,_t,st);if(te==="")return cr;if(Ti.exec(te)!==null){let En=yt?ve.replace("*",()=>te):ve+te;ma.exec(te)===null?xt||Hn(yt?M.call(oo,R,()=>te):R,En,ve,Me,_t,st,!1):function(Yn,ji,sa,ka,Zi){let Bo=`request is not a valid match in pattern "${ji}" for the "${ka?"imports":"exports"}" resolution of ${(0,Rr.fileURLToPath)(sa)}`;throw new Re(Yn,Bo,Zi&&(0,Rr.fileURLToPath)(Zi))}(En,ve,Me,_t,st)}return yt?new Rr.URL(M.call(oo,cr.href,()=>te)):new Rr.URL(te,cr)}function Mo(R){let te=Number(R);return`${te}`===R&&te>=0&&te<4294967295}function Xs(R,te,ve,Me,st,yt,_t,xt,Xt){if(typeof te=="string")return qa(te,ve,Me,R,st,yt,_t,xt,Xt);if(Array.isArray(te)){let cr=te;if(cr.length===0)return null;let Zt,Xr=-1;for(;++Xr<cr.length;){let En=cr[Xr],Yn;try{Yn=Xs(R,En,ve,Me,st,yt,_t,xt,Xt)}catch(ji){if(Zt=ji,ji.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw ji}if(Yn!==void 0){if(Yn!==null)return Yn;Zt=null}}if(Zt==null)return null;throw Zt}if(typeof te=="object"&&te!==null){let cr=Object.getOwnPropertyNames(te),Zt=-1;for(;++Zt<cr.length;)if(Mo(cr[Zt]))throw new Xe((0,Rr.fileURLToPath)(R),st,'"exports" cannot contain numeric property keys.');for(Zt=-1;++Zt<cr.length;){let Xr=cr[Zt];if(Xr==="default"||Xt&&Xt.has(Xr)){let En=Xs(R,te[Xr],ve,Me,st,yt,_t,xt,Xt);if(En===void 0)continue;return En}}return null}if(te===null)return null;throw ia(Me,te,R,_t,st)}function gu(R,te,ve){if(Qa.noDeprecation)return;let Me=(0,Rr.fileURLToPath)(te);Ea.has(Me+"|"+R)||(Ea.add(Me+"|"+R),Qa.emitWarning(`Use of deprecated trailing slash pattern mapping "${R}" in the "exports" field module resolution of the package at ${Me}${ve?` imported from ${(0,Rr.fileURLToPath)(ve)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function bu(R,te,ve,Me,st){let yt=ve.exports;if(function(Zt,Xr,En){if(typeof Zt=="string"||Array.isArray(Zt))return!0;if(typeof Zt!="object"||Zt===null)return!1;let Yn=Object.getOwnPropertyNames(Zt),ji=!1,sa=0,ka=-1;for(;++ka<Yn.length;){let Zi=Yn[ka],Bo=Zi===""||Zi[0]!==".";if(sa++==0)ji=Bo;else if(ji!==Bo)throw new Xe((0,Rr.fileURLToPath)(Xr),En,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return ji}(yt,R,Me)&&(yt={".":yt}),gn.call(yt,te)&&!te.includes("*")&&!te.endsWith("/")){let Zt=Xs(R,yt[te],"",te,Me,!1,!1,!1,st);if(Zt==null)throw ll(te,R,Me);return Zt}let _t="",xt="",Xt=Object.getOwnPropertyNames(yt),cr=-1;for(;++cr<Xt.length;){let Zt=Xt[cr],Xr=Zt.indexOf("*");if(Xr!==-1&&te.startsWith(Zt.slice(0,Xr))){te.endsWith("/")&&gu(te,R,Me);let En=Zt.slice(Xr+1);te.length>=Zt.length&&te.endsWith(En)&&dh(_t,Zt)===1&&Zt.lastIndexOf("*")===Xr&&(_t=Zt,xt=te.slice(Xr,te.length-En.length))}}if(_t){let Zt=Xs(R,yt[_t],xt,_t,Me,!0,!1,te.endsWith("/"),st);if(Zt==null)throw ll(te,R,Me);return Zt}throw ll(te,R,Me)}function dh(R,te){let ve=R.indexOf("*"),Me=te.indexOf("*"),st=ve===-1?R.length:ve+1,yt=Me===-1?te.length:Me+1;return st>yt?-1:yt>st||ve===-1?1:Me===-1||R.length>te.length?-1:te.length>R.length?1:0}function fh(R,te,ve){if(R==="#"||R.startsWith("#/")||R.endsWith("/"))throw new Re(R,"is not a valid internal imports specifier name",(0,Rr.fileURLToPath)(te));let Me,st=gr(te);if(st.exists){Me=(0,Rr.pathToFileURL)(st.pjsonPath);let yt=st.imports;if(yt)if(gn.call(yt,R)&&!R.includes("*")){let _t=Xs(Me,yt[R],"",R,te,!1,!0,!1,ve);if(_t!=null)return _t}else{let _t="",xt="",Xt=Object.getOwnPropertyNames(yt),cr=-1;for(;++cr<Xt.length;){let Zt=Xt[cr],Xr=Zt.indexOf("*");if(Xr!==-1&&R.startsWith(Zt.slice(0,-1))){let En=Zt.slice(Xr+1);R.length>=Zt.length&&R.endsWith(En)&&dh(_t,Zt)===1&&Zt.lastIndexOf("*")===Xr&&(_t=Zt,xt=R.slice(Xr,R.length-En.length))}}if(_t){let Zt=Xs(Me,yt[_t],xt,_t,te,!0,!0,!1,ve);if(Zt!=null)return Zt}}}throw function(yt,_t,xt){return new Mt(yt,_t&&(0,Rr.fileURLToPath)(new Rr.URL(".",_t)),(0,Rr.fileURLToPath)(xt))}(R,Me,te)}function Md(R,te,ve){if(zn.builtinModules.includes(R))return new Rr.URL("node:"+R);let{packageName:Me,packageSubpath:st,isScoped:yt}=function(Zt,Xr){let En=Zt.indexOf("/"),Yn=!0,ji=!1;Zt[0]==="@"&&(ji=!0,En===-1||Zt.length===0?Yn=!1:En=Zt.indexOf("/",En+1));let sa=En===-1?Zt:Zt.slice(0,En);if(Gs.exec(sa)!==null&&(Yn=!1),!Yn)throw new Re(Zt,"is not a valid package name",(0,Rr.fileURLToPath)(Xr));return{packageName:sa,packageSubpath:"."+(En===-1?"":Zt.slice(En)),isScoped:ji}}(R,te),_t=gr(te);if(_t.exists){let Zt=(0,Rr.pathToFileURL)(_t.pjsonPath);if(_t.name===Me&&_t.exports!==void 0&&_t.exports!==null)return bu(Zt,st,_t,te,ve)}let xt,Xt=new Rr.URL("./node_modules/"+Me+"/package.json",te),cr=(0,Rr.fileURLToPath)(Xt);do{let Zt=di(cr.slice(0,-13));if(!Zt||!Zt.isDirectory()){xt=cr,Xt=new Rr.URL((yt?"../../../../node_modules/":"../../../node_modules/")+Me+"/package.json",Xt),cr=(0,Rr.fileURLToPath)(Xt);continue}let Xr=Kt(cr,{base:te,specifier:R});return Xr.exports!==void 0&&Xr.exports!==null?bu(Xt,st,Xr,te,ve):st==="."?La(Xt,Xr,te):new Rr.URL(st,Xt)}while(cr.length!==xt.length);throw new vt(Me,(0,Rr.fileURLToPath)(te),!1)}function pE(R,te,ve,Me){let st=te.protocol,yt=st==="data:"||st==="http:"||st==="https:",_t;if(function(xt){return xt!==""&&(xt[0]==="/"||function(Xt){return Xt[0]==="."&&(Xt.length===1||Xt[1]==="/"||Xt[1]==="."&&(Xt.length===2||Xt[2]==="/"))}(xt))}(R))try{_t=new Rr.URL(R,te)}catch(xt){let Xt=new un(R,te);throw Xt.cause=xt,Xt}else if(st==="file:"&&R[0]==="#")_t=fh(R,te,ve);else try{_t=new Rr.URL(R)}catch(xt){if(yt&&!zn.builtinModules.includes(R)){let Xt=new un(R,te);throw Xt.cause=xt,Xt}_t=Md(R,te,ve)}return Ks(_t!==void 0,"expected to be defined"),_t.protocol!=="file:"?_t:function(xt,Xt,cr){if($o.exec(xt.pathname)!==null)throw new Re(xt.pathname,'must not include encoded "/" or "\\" characters',(0,Rr.fileURLToPath)(Xt));let Zt;try{Zt=(0,Rr.fileURLToPath)(xt)}catch(En){let Yn=En;throw Object.defineProperty(Yn,"input",{value:String(xt)}),Object.defineProperty(Yn,"module",{value:String(Xt)}),Yn}let Xr=di(Zt.endsWith("/")?Zt.slice(-1):Zt);if(Xr&&Xr.isDirectory()){let En=new jr(Zt,(0,Rr.fileURLToPath)(Xt));throw En.url=String(xt),En}if(!Xr||!Xr.isFile()){let En=new vt(Zt||xt.pathname,Xt&&(0,Rr.fileURLToPath)(Xt),!0);throw En.url=String(xt),En}if(!cr){let En=(0,en.realpathSync)(Zt),{search:Yn,hash:ji}=xt;(xt=(0,Rr.pathToFileURL)(En+(Zt.endsWith(Ro.sep)?"/":""))).search=Yn,xt.hash=ji}return xt}(_t,te,Me)}function pH(R){return typeof R!="string"||R.startsWith("file://")?b((0,Rr.fileURLToPath)(R)):b(R)}function Bd(R){return(0,Rr.pathToFileURL)(pH(R)).toString()}let dE=new Set(["node","import"]),_p=[".mjs",".cjs",".js",".json"],Au=new Set(["ERR_MODULE_NOT_FOUND","ERR_UNSUPPORTED_DIR_IMPORT","MODULE_NOT_FOUND","ERR_PACKAGE_PATH_NOT_EXPORTED"]);function Dl(R,te,ve){try{return pE(R,te,ve)}catch(Me){if(!Au.has(Me?.code))throw Me}}function fE(R,te={}){if(typeof R!="string"){if(!(R instanceof URL))throw new TypeError("input must be a `string` or `URL`");R=pH(R)}if(/(node|data|http|https):/.test(R))return R;if(ze.has(R))return"node:"+R;if(R.startsWith("file://")&&(R=pH(R)),E(R))try{if((0,en.statSync)(R).isFile())return Bd(R)}catch(_t){if(_t?.code!=="ENOENT")throw _t}let ve=te.conditions?new Set(te.conditions):dE,Me=(Array.isArray(te.url)?te.url:[te.url]).filter(Boolean).map(_t=>new URL(function(xt){return typeof xt!="string"&&(xt=xt.toString()),/(node|data|http|https|file):/.test(xt)?xt:ze.has(xt)?"node:"+xt:"file://"+encodeURI(b(xt))}(_t.toString())));Me.length===0&&Me.push(new URL(Bd(process.cwd())));let st=[...Me];for(let _t of Me)_t.protocol==="file:"&&st.push(new URL("./",_t),new URL(ao(_t.pathname,"_index.js"),_t),new URL("node_modules",_t));let yt;for(let _t of st){if(yt=Dl(R,_t,ve),yt)break;for(let xt of["","/index"]){for(let Xt of te.extensions||_p)if(yt=Dl(R+xt+Xt,_t,ve),yt)break;if(yt)break}if(yt)break}if(!yt){let _t=new Error(`Cannot find module ${R} imported from ${st.join(", ")}`);throw _t.code="ERR_MODULE_NOT_FOUND",_t}return Bd(yt)}function hE(R,te){return fE(R,te)}function Od(R,te){return pH(hE(R,te))}let Mc=/([\s;]|^)(import[\s\w*,{}]*from|import\s*["'*{]|export\b\s*(?:[*{]|default|class|type|function|const|var|let|async function)|import\.meta\b)/m,Fd=/\/\*.+?\*\/|\/\/.*(?=[nr])/g;function _E(R,te={}){return te.stripComments&&(R=R.replace(Fd,"")),Mc.test(R)}var mE=n("crypto");function EE(R,te=8){return(0,mE.createHash)("md5").update(R).digest("hex").slice(0,te)}var hh=function(R,te,ve,Me){return new(ve||(ve=Promise))(function(st,yt){function _t(cr){try{Xt(Me.next(cr))}catch(Zt){yt(Zt)}}function xt(cr){try{Xt(Me.throw(cr))}catch(Zt){yt(Zt)}}function Xt(cr){var Zt;cr.done?st(cr.value):(Zt=cr.value,Zt instanceof ve?Zt:new ve(function(Xr){Xr(Zt)})).then(_t,xt)}Xt((Me=Me.apply(R,te||[])).next())})};let yE=O(process.env.JITI_DEBUG),_h=O(process.env.JITI_CACHE),mh=O(process.env.JITI_ESM_RESOLVE),Eh=O(process.env.JITI_REQUIRE_CACHE),yh=O(process.env.JITI_SOURCE_MAPS),gE=O(process.env.JITI_ALIAS),bE=O(process.env.JITI_TRANSFORM_MODULES),AE=O(process.env.JITI_NATIVE_MODULES),gh=O(process.env.JITI_EXPERIMENTAL_BUN),IE=(0,s.platform)()==="win32",Vn={debug:yE,cache:_h===void 0||!!_h,requireCache:Eh===void 0||!!Eh,sourceMaps:yh!==void 0&&!!yh,interopDefault:!1,esmResolve:mh||!1,cacheVersion:"7",legacy:(0,U.lt)(process.version||"0.0.0","14.0.0"),extensions:[".js",".mjs",".cjs",".ts",".mts",".cts",".json"],alias:gE,nativeModules:AE||[],transformModules:bE||[],experimentalBun:gh===void 0?!!process.versions.bun:!!gh},bh=/\.(c|m)?j(sx?)$/,Iu=/\.(c|m)?t(sx?)$/;function mp(R,te={},ve,Me){(te=Object.assign(Object.assign({},Vn),te)).legacy&&(te.cacheVersion+="-legacy"),te.transformOptions&&(te.cacheVersion+="-"+ne()(te.transformOptions));let st=te.alias&&Object.keys(te.alias).length>0?W(te.alias||{}):null,yt=["typescript","jiti",...te.nativeModules||[]],_t=[...te.transformModules||[]],xt=new RegExp(`node_modules/(${yt.map(Zr=>j(Zr)).join("|")})/`),Xt=new RegExp(`node_modules/(${_t.map(Zr=>j(Zr)).join("|")})/`);function cr(...Zr){te.debug&&console.log("[jiti]",...Zr)}if(R||(R=process.cwd()),function(Zr){try{return(0,o.lstatSync)(Zr).isDirectory()}catch{return!1}}(R)&&(R=y(R,"index.js")),te.cache===!0&&(te.cache=function(){let Zr=(0,s.tmpdir)();if(process.env.TMPDIR&&Zr===process.cwd()&&!process.env.JITI_RESPECT_TMPDIR_ENV){let ri=process.env.TMPDIR;delete process.env.TMPDIR,Zr=(0,s.tmpdir)(),process.env.TMPDIR=ri}return y(Zr,"node-jiti")}()),te.cache)try{if((0,o.mkdirSync)(te.cache,{recursive:!0}),!function(Zr){try{return(0,o.accessSync)(Zr,o.constants.W_OK),!0}catch{return!1}}(te.cache))throw new Error("directory is not writable")}catch(Zr){cr("Error creating cache directory at ",te.cache,Zr),te.cache=!1}let Zt=$()(IE?R.replace(/\//g,"\\"):R),Xr=(Zr,ri)=>{try{return Zt.resolve(Zr,ri)}catch{}},En=(0,a.pathToFileURL)(R),Yn=[...te.extensions].filter(Zr=>Zr!==".js"),ji=(Zr,ri)=>{let fi,Zs;if(st&&(Zr=function(On,vi){let Ts=p(On);vi=W(vi);for(let[w,Y]of Object.entries(vi)){if(!Ts.startsWith(w))continue;let ge=Z(w)?w.slice(0,-1):w;if(Z(Ts[ge.length]))return y(Y,Ts.slice(w.length))}return Ts}(Zr,st)),te.esmResolve){let On=[["node","require"],["node","import"]];for(let vi of On){try{fi=Od(Zr,{url:En,conditions:vi,extensions:te.extensions})}catch(Ts){Zs=Ts}if(fi)return fi}}try{return Zt.resolve(Zr,ri)}catch(On){Zs=On}for(let On of Yn)if(fi=Xr(Zr+On,ri)||Xr(Zr+"/index"+On,ri),fi||Iu.test(ve?.filename||"")&&(fi=Xr(Zr.replace(bh,".$1t$2"),ri),fi))return fi;throw Zs};function sa(Zr){let ri=function(fi,Zs,On){if(!te.cache||!fi)return On();let vi=` /* v${te.cacheVersion}-${EE(Zs,16)} */`,Ts=I(T(fi))+"-"+I(fi),w=y(te.cache,Ts+"."+EE(fi)+".js");if((0,o.existsSync)(w)){let ge=(0,o.readFileSync)(w,"utf8");if(ge.endsWith(vi))return cr("[cache hit]",fi,"~>",w),ge}cr("[cache miss]",fi);let Y=On();return Y.includes("__JITI_ERROR__")||(0,o.writeFileSync)(w,Y+vi,"utf8"),Y}(Zr.filename,Zr.source,()=>{var fi;let Zs=te.transform(Object.assign(Object.assign(Object.assign({legacy:te.legacy},te.transformOptions),{babel:Object.assign(Object.assign({},te.sourceMaps?{sourceFileName:Zr.filename,sourceMaps:"inline"}:{}),(fi=te.transformOptions)===null||fi===void 0?void 0:fi.babel)}),Zr));return Zs.error&&te.debug&&cr(Zs.error),Zs.code});return ri.startsWith("#!")&&(ri="// "+ri),ri}function ka(Zr){return te.interopDefault?function(ri,fi={}){if((Zs=ri)===null||typeof Zs!="object"||!("default"in ri))return ri;var Zs;let On=ri.default;if(On==null)return ri;let vi=typeof On;if(vi!=="object"&&(vi!=="function"||fi.preferNamespace))return fi.preferNamespace?ri:On;for(let Ts in ri)try{Ts in On||Object.defineProperty(On,Ts,{enumerable:Ts!=="default",configurable:Ts!=="default",get:()=>ri[Ts]})}catch{}return On}(Zr):Zr}function Zi(Zr,ri){var fi,Zs;let On=Me||{};if(Zr.startsWith("node:")?Zr=Zr.slice(5):Zr.startsWith("file:")&&(Zr=(0,a.fileURLToPath)(Zr)),r.builtinModules.includes(Zr)||Zr===".pnp.js")return Zt(Zr);if(te.experimentalBun&&!te.transformOptions)try{cr(`[bun] [native] ${Zr}`);let w=Zt(Zr);return te.requireCache===!1&&delete Zt.cache[Zr],ka(w)}catch(w){cr(`[bun] Using fallback for ${Zr} because of an error:`,w)}let vi=ji(Zr),Ts=S(vi);if(Ts===".json"){cr("[json]",vi);let w=Zt(Zr);return Object.defineProperty(w,"default",{value:w}),w}return Ts&&!te.extensions.includes(Ts)?(cr("[unknown]",vi),Zt(Zr)):xt.test(vi)?(cr("[native]",vi),Zt(Zr)):On[vi]&&(On[vi].loaded===!0||ve?.loaded===!1)?ka((fi=On[vi])===null||fi===void 0?void 0:fi.exports):te.requireCache&&Zt.cache[vi]?ka((Zs=Zt.cache[vi])===null||Zs===void 0?void 0:Zs.exports):Bo((0,o.readFileSync)(vi,"utf8"),{id:Zr,filename:vi,ext:Ts,cache:On})}function Bo(Zr,ri={}){var fi;let Zs=ri.id||(ri.filename?I(ri.filename):`_jitiEval.${ri.ext||".js"}`),On=ri.filename||ji(Zs),vi=ri.ext||S(On),Ts=ri.cache||Me||{},w=vi===".ts"||vi===".mts"||vi===".cts",Y=vi===".mjs"||vi===".js"&&((fi=function(ut){for(;ut&&ut!=="."&&ut!=="/";){ut=y(ut,"..");try{let It=(0,o.readFileSync)(y(ut,"package.json"),"utf8");try{return JSON.parse(It)}catch{}break}catch{}}}(On))===null||fi===void 0?void 0:fi.type)==="module",ge=vi!==".cjs"&&(w||Y||Xt.test(On)||_E(Zr)||te.legacy&&Zr.match(/\?\.|\?\?/)),De=c.performance.now();if(ge)Zr=sa({filename:On,source:Zr,ts:w}),cr("[transpile]"+(Y?" [esm]":""),On,`(${Math.round(1e3*(c.performance.now()-De))/1e3}ms)`);else try{return cr("[native]",On),ka(Zt(Zs))}catch(ut){cr("Native require error:",ut),cr("[fallback]",On),Zr=sa({filename:On,source:Zr,ts:w})}let Je=new r.Module(On),dt;Je.filename=On,ve&&(Je.parent=ve,Array.isArray(ve.children)&&!ve.children.includes(Je)&&ve.children.push(Je)),Je.require=mp(On,te,Je,Ts),Je.path=T(On),Je.paths=r.Module._nodeModulePaths(Je.path),Ts[On]=Je,te.requireCache&&(Zt.cache[On]=Je);try{dt=H().runInThisContext(r.Module.wrap(Zr),{filename:On,lineOffset:0,displayErrors:!1})}catch(ut){te.requireCache&&delete Zt.cache[On],te.onError(ut)}try{dt(Je.exports,Je.require,Je,Je.filename,T(Je.filename))}catch(ut){te.requireCache&&delete Zt.cache[On],te.onError(ut)}if(Je.exports&&Je.exports.__JITI_ERROR__){let{filename:ut,line:It,column:Ut,code:yr,message:Jt}=Je.exports.__JITI_ERROR__,zr=new Error(`${yr}: ${Jt}
|
|
${`${ut}:${It}:${Ut}`}`);Error.captureStackTrace(zr,Zi),te.onError(zr)}return Je.loaded=!0,ka(Je.exports)}return ji.paths=Zt.resolve.paths,Zi.resolve=ji,Zi.cache=te.requireCache?Zt.cache:{},Zi.extensions=Zt.extensions,Zi.main=Zt.main,Zi.transform=sa,Zi.register=function(){return(0,ee.addHook)((Zr,ri)=>Zi.transform({source:Zr,filename:ri,ts:!!/\.[cm]?ts$/.test(ri)}),{exts:te.extensions})},Zi.evalModule=Bo,Zi.import=(Zr,ri)=>hh(this,void 0,void 0,function*(){return yield Zi(Zr)}),Zi}})(),zpe.exports=i.default})()});var r3=Le((oBt,Ype)=>{(()=>{var e={"./node_modules/.pnpm/@ampproject+remapping@2.3.0/node_modules/@ampproject/remapping/dist/remapping.umd.js":function(o,r,c){o.exports=function(s,u){"use strict";let H=l("",-1,-1,"",null,!1),a=[];function l(T,I,L,x,C,D){return{source:T,line:I,column:L,name:x,content:C,ignore:D}}function p(T,I,L,x,C){return{map:T,sources:I,source:L,content:x,ignore:C}}function d(T,I){return p(T,I,"",null,!1)}function h(T,I,L){return p(null,a,T,I,L)}function m(T){let I=new u.GenMapping({file:T.map.file}),{sources:L,map:x}=T,C=x.names,D=s.decodedMappings(x);for(let O=0;O<D.length;O++){let j=D[O];for(let k=0;k<j.length;k++){let $=j[k],U=$[0],F=H;if($.length!==1&&(F=g(L[$[1]],$[2],$[3],$.length===5?C[$[4]]:""),F==null))continue;let{column:P,line:W,name:Z,content:ee,source:J,ignore:ne}=F;u.maybeAddSegment(I,O,U,J,W,P,Z),J&&ee!=null&&u.setSourceContent(I,J,ee),ne&&u.setIgnore(I,J,!0)}}return I}function g(T,I,L,x){if(!T.map)return l(T.source,I,L,x,T.content,T.ignore);let C=s.traceSegment(T.map,I,L);return C==null?null:C.length===1?H:g(T.sources[C[1]],C[2],C[3],C.length===5?T.map.names[C[4]]:x)}function y(T){return Array.isArray(T)?T:[T]}function _(T,I){let L=y(T).map(D=>new s.TraceMap(D,"")),x=L.pop();for(let D=0;D<L.length;D++)if(L[D].sources.length>1)throw new Error(`Transformation map ${D} must have exactly one source file.
|
|
Did you specify these with the most recent transformation maps first?`);let C=E(x,I,"",0);for(let D=L.length-1;D>=0;D--)C=d(L[D],[C]);return C}function E(T,I,L,x){let{resolvedSources:C,sourcesContent:D,ignoreList:O}=T,j=x+1;return d(T,C.map((k,$)=>{let U={importer:L,depth:j,source:k||"",content:void 0,ignore:void 0},F=I(U.source,U),{source:P,content:W,ignore:Z}=U;return F?E(new s.TraceMap(F,P),I,P,j):h(P,W!==void 0?W:D?D[$]:null,Z!==void 0?Z:!!O&&O.includes($))}))}class A{constructor(I,L){let x=L.decodedMappings?u.toDecodedMap(I):u.toEncodedMap(I);this.version=x.version,this.file=x.file,this.mappings=x.mappings,this.names=x.names,this.ignoreList=x.ignoreList,this.sourceRoot=x.sourceRoot,this.sources=x.sources,L.excludeContent||(this.sourcesContent=x.sourcesContent)}toString(){return JSON.stringify(this)}}function S(T,I,L){let x=typeof L=="object"?L:{excludeContent:!!L,decodedMappings:!1},C=_(T,I);return new A(m(C),x)}return S}(c("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"),c("./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.5/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"))},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files lazy recursive":o=>{function r(c){return Promise.resolve().then(()=>{var s=new Error("Cannot find module '"+c+"'");throw s.code="MODULE_NOT_FOUND",s})}r.keys=()=>[],r.resolve=r,r.id="./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files lazy recursive",o.exports=r},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive":o=>{function r(c){var s=new Error("Cannot find module '"+c+"'");throw s.code="MODULE_NOT_FOUND",s}r.keys=()=>[],r.resolve=r,r.id="./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive",o.exports=r},"./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-class-properties/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=(0,c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(u=>(u.assertVersion(7),{name:"syntax-class-properties",manipulateOptions(H,a){a.plugins.push("classProperties","classPrivateProperties","classPrivateMethods")}}));r.default=s},"./node_modules/.pnpm/@babel+plugin-syntax-export-namespace-from@7.8.3_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-export-namespace-from/lib/index.js":(o,r,c)=>{"use strict";r.A=void 0;var s=(0,c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(u=>(u.assertVersion(7),{name:"syntax-export-namespace-from",manipulateOptions(H,a){a.plugins.push("exportNamespaceFrom")}}));r.A=s},"./node_modules/.pnpm/@babel+plugin-syntax-nullish-coalescing-operator@7.8.3_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/lib/index.js":(o,r,c)=>{"use strict";r.A=void 0;var s=(0,c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(u=>(u.assertVersion(7),{name:"syntax-nullish-coalescing-operator",manipulateOptions(H,a){a.plugins.push("nullishCoalescingOperator")}}));r.A=s},"./node_modules/.pnpm/@babel+plugin-syntax-optional-chaining@7.8.3_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-optional-chaining/lib/index.js":(o,r,c)=>{"use strict";r.A=void 0;var s=(0,c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(u=>(u.assertVersion(7),{name:"syntax-optional-chaining",manipulateOptions(H,a){a.plugins.push("optionalChaining")}}));r.A=s},"./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.5/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js":function(o,r,c){(function(s,u,H,a){"use strict";class y{constructor({file:ne,sourceRoot:K}={}){this._names=new u.SetArray,this._sources=new u.SetArray,this._sourcesContent=[],this._mappings=[],this.file=ne,this.sourceRoot=K,this._ignoreList=new u.SetArray}}function _(J){return J}function E(J,ne,K,q,Q,z,ie,_e){return j(!1,J,ne,K,q,Q,z,ie,_e)}function A(J,ne){return ee(!1,J,ne)}let S=(J,ne,K,q,Q,z,ie,_e)=>j(!0,J,ne,K,q,Q,z,ie,_e),T=(J,ne)=>ee(!0,J,ne);function I(J,ne,K){let{_sources:q,_sourcesContent:Q}=J;Q[u.put(q,ne)]=K}function L(J,ne,K=!0){let{_sources:q,_sourcesContent:Q,_ignoreList:z}=J,ie=u.put(q,ne);ie===Q.length&&(Q[ie]=null),K?u.put(z,ie):u.remove(z,ie)}function x(J){let{_mappings:ne,_sources:K,_sourcesContent:q,_names:Q,_ignoreList:z}=J;return F(ne),{version:3,file:J.file||void 0,names:Q.array,sourceRoot:J.sourceRoot||void 0,sources:K.array,sourcesContent:q,mappings:ne,ignoreList:z.array}}function C(J){let ne=x(J);return Object.assign(Object.assign({},ne),{mappings:H.encode(ne.mappings)})}function D(J){let ne=new a.TraceMap(J),K=new y({file:ne.file,sourceRoot:ne.sourceRoot});return P(K._names,ne.names),P(K._sources,ne.sources),K._sourcesContent=ne.sourcesContent||ne.sources.map(()=>null),K._mappings=a.decodedMappings(ne),ne.ignoreList&&P(K._ignoreList,ne.ignoreList),K}function O(J){let ne=[],{_mappings:K,_sources:q,_names:Q}=J;for(let z=0;z<K.length;z++){let ie=K[z];for(let _e=0;_e<ie.length;_e++){let He=ie[_e],be={line:z+1,column:He[0]},Ve,Fe,me;He.length!==1&&(Ve=q.array[He[1]],Fe={line:He[2]+1,column:He[3]},He.length===5&&(me=Q.array[He[4]])),ne.push({generated:be,source:Ve,original:Fe,name:me})}}return ne}function j(J,ne,K,q,Q,z,ie,_e,He){let{_mappings:be,_sources:Ve,_sourcesContent:Fe,_names:me}=ne,ce=k(be,K),ke=$(ce,q);if(!Q)return J&&W(ce,ke)?void 0:U(ce,ke,[q]);let je=u.put(Ve,Q),Oe=_e?u.put(me,_e):-1;if(je===Fe.length&&(Fe[je]=He??null),!J||!Z(ce,ke,je,z,ie,Oe))return U(ce,ke,_e?[q,je,z,ie,Oe]:[q,je,z,ie])}function k(J,ne){for(let K=J.length;K<=ne;K++)J[K]=[];return J[ne]}function $(J,ne){let K=J.length;for(let q=K-1;q>=0&&!(ne>=J[q][0]);K=q--);return K}function U(J,ne,K){for(let q=J.length;q>ne;q--)J[q]=J[q-1];J[ne]=K}function F(J){let{length:ne}=J,K=ne;for(let q=K-1;q>=0&&!(J[q].length>0);K=q,q--);K<ne&&(J.length=K)}function P(J,ne){for(let K=0;K<ne.length;K++)u.put(J,ne[K])}function W(J,ne){return ne===0||J[ne-1].length===1}function Z(J,ne,K,q,Q,z){if(ne===0)return!1;let ie=J[ne-1];return ie.length!==1&&K===ie[1]&&q===ie[2]&&Q===ie[3]&&z===(ie.length===5?ie[4]:-1)}function ee(J,ne,K){let{generated:q,source:Q,original:z,name:ie,content:_e}=K;return Q?j(J,ne,q.line-1,q.column,Q,z.line-1,z.column,ie,_e):j(J,ne,q.line-1,q.column,null,null,null,null,null)}s.GenMapping=y,s.addMapping=A,s.addSegment=E,s.allMappings=O,s.fromMap=D,s.maybeAddMapping=T,s.maybeAddSegment=S,s.setIgnore=L,s.setSourceContent=I,s.toDecodedMap=x,s.toEncodedMap=C,Object.defineProperty(s,"__esModule",{value:!0})})(r,c("./node_modules/.pnpm/@jridgewell+set-array@1.2.1/node_modules/@jridgewell/set-array/dist/set-array.umd.js"),c("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"),c("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"))},"./node_modules/.pnpm/@jridgewell+resolve-uri@3.1.2/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js":function(o){o.exports=function(){"use strict";let r=/^[\w+.-]+:\/\//,c=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,s=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function u(S){return r.test(S)}function H(S){return S.startsWith("//")}function a(S){return S.startsWith("/")}function l(S){return S.startsWith("file:")}function p(S){return/^[.?#]/.test(S)}function d(S){let T=c.exec(S);return m(T[1],T[2]||"",T[3],T[4]||"",T[5]||"/",T[6]||"",T[7]||"")}function h(S){let T=s.exec(S),I=T[2];return m("file:","",T[1]||"","",a(I)?I:"/"+I,T[3]||"",T[4]||"")}function m(S,T,I,L,x,C,D){return{scheme:S,user:T,host:I,port:L,path:x,query:C,hash:D,type:7}}function g(S){if(H(S)){let I=d("http:"+S);return I.scheme="",I.type=6,I}if(a(S)){let I=d("http://foo.com"+S);return I.scheme="",I.host="",I.type=5,I}if(l(S))return h(S);if(u(S))return d(S);let T=d("http://foo.com/"+S);return T.scheme="",T.host="",T.type=S?S.startsWith("?")?3:S.startsWith("#")?2:4:1,T}function y(S){if(S.endsWith("/.."))return S;let T=S.lastIndexOf("/");return S.slice(0,T+1)}function _(S,T){E(T,T.type),S.path==="/"?S.path=T.path:S.path=y(T.path)+S.path}function E(S,T){let I=T<=4,L=S.path.split("/"),x=1,C=0,D=!1;for(let j=1;j<L.length;j++){let k=L[j];k?(D=!1,k!=="."&&(k!==".."?(L[x++]=k,C++):C?(D=!0,C--,x--):I&&(L[x++]=k))):D=!0}let O="";for(let j=1;j<x;j++)O+="/"+L[j];(!O||D&&!O.endsWith("/.."))&&(O+="/"),S.path=O}function A(S,T){if(!S&&!T)return"";let I=g(S),L=I.type;if(T&&L!==7){let C=g(T),D=C.type;switch(L){case 1:I.hash=C.hash;case 2:I.query=C.query;case 3:case 4:_(I,C);case 5:I.user=C.user,I.host=C.host,I.port=C.port;case 6:I.scheme=C.scheme}D>L&&(L=D)}E(I,L);let x=I.query+I.hash;switch(L){case 2:case 3:return x;case 4:{let C=I.path.slice(1);return C?p(T||S)&&!p(C)?"./"+C+x:C+x:x||"."}case 5:return I.path+x;default:return I.scheme+"//"+I.user+I.host+I.port+I.path+x}}return A}()},"./node_modules/.pnpm/@jridgewell+set-array@1.2.1/node_modules/@jridgewell/set-array/dist/set-array.umd.js":function(o,r){(function(c){"use strict";class s{constructor(){this._indexes={__proto__:null},this.array=[]}}function u(d){return d}function H(d,h){return d._indexes[h]}function a(d,h){let m=H(d,h);if(m!==void 0)return m;let{array:g,_indexes:y}=d,_=g.push(h);return y[h]=_-1}function l(d){let{array:h,_indexes:m}=d;h.length!==0&&(m[h.pop()]=void 0)}function p(d,h){let m=H(d,h);if(m===void 0)return;let{array:g,_indexes:y}=d;for(let _=m+1;_<g.length;_++){let E=g[_];g[_-1]=E,y[E]--}y[h]=void 0,g.pop()}c.SetArray=s,c.get=H,c.pop=l,c.put=a,c.remove=p,Object.defineProperty(c,"__esModule",{value:!0})})(r)},"./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js":function(o,r){(function(c){"use strict";let H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Uint8Array(64),l=new Uint8Array(128);for(let S=0;S<H.length;S++){let T=H.charCodeAt(S);a[S]=T,l[T]=S}let p=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode:S=>Buffer.from(S.buffer,S.byteOffset,S.byteLength).toString()}:{decode(S){let T="";for(let I=0;I<S.length;I++)T+=String.fromCharCode(S[I]);return T}};function d(S){let T=new Int32Array(5),I=[],L=0;do{let x=h(S,L),C=[],D=!0,O=0;T[0]=0;for(let j=L;j<x;j++){let k;j=m(S,j,T,0);let $=T[0];$<O&&(D=!1),O=$,g(S,j,x)?(j=m(S,j,T,1),j=m(S,j,T,2),j=m(S,j,T,3),g(S,j,x)?(j=m(S,j,T,4),k=[$,T[1],T[2],T[3],T[4]]):k=[$,T[1],T[2],T[3]]):k=[$],C.push(k)}D||y(C),I.push(C),L=x+1}while(L<=S.length);return I}function h(S,T){let I=S.indexOf(";",T);return I===-1?S.length:I}function m(S,T,I,L){let x=0,C=0,D=0;do{let j=S.charCodeAt(T++);D=l[j],x|=(31&D)<<C,C+=5}while(32&D);let O=1&x;return x>>>=1,O&&(x=-2147483648|-x),I[L]+=x,T}function g(S,T,I){return!(T>=I)&&S.charCodeAt(T)!==44}function y(S){S.sort(_)}function _(S,T){return S[0]-T[0]}function E(S){let T=new Int32Array(5),I=16384,L=I-36,x=new Uint8Array(I),C=x.subarray(0,L),D=0,O="";for(let j=0;j<S.length;j++){let k=S[j];if(j>0&&(D===I&&(O+=p.decode(x),D=0),x[D++]=59),k.length!==0){T[0]=0;for(let $=0;$<k.length;$++){let U=k[$];D>L&&(O+=p.decode(C),x.copyWithin(0,L,D),D-=L),$>0&&(x[D++]=44),D=A(x,D,T,U,0),U.length!==1&&(D=A(x,D,T,U,1),D=A(x,D,T,U,2),D=A(x,D,T,U,3),U.length!==4&&(D=A(x,D,T,U,4)))}}}return O+p.decode(x.subarray(0,D))}function A(S,T,I,L,x){let C=L[x],D=C-I[x];I[x]=C,D=D<0?-D<<1|1:D<<1;do{let O=31&D;D>>>=5,D>0&&(O|=32),S[T++]=a[O]}while(D>0);return T}c.decode=d,c.encode=E,Object.defineProperty(c,"__esModule",{value:!0})})(r)},"./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js":function(o,r,c){(function(s,u,H){"use strict";function a(xe,pe){return pe&&!pe.endsWith("/")&&(pe+="/"),H(xe,pe)}function l(xe){if(!xe)return"";let pe=xe.lastIndexOf("/");return xe.slice(0,pe+1)}let p=0,d=1,h=2,m=3,g=4,y=1,_=2;function E(xe,pe){let ue=A(xe,0);if(ue===xe.length)return xe;pe||(xe=xe.slice());for(let Se=ue;Se<xe.length;Se=A(xe,Se+1))xe[Se]=T(xe[Se],pe);return xe}function A(xe,pe){for(let ue=pe;ue<xe.length;ue++)if(!S(xe[ue]))return ue;return xe.length}function S(xe){for(let pe=1;pe<xe.length;pe++)if(xe[pe][p]<xe[pe-1][p])return!1;return!0}function T(xe,pe){return pe||(xe=xe.slice()),xe.sort(I)}function I(xe,pe){return xe[p]-pe[p]}let L=!1;function x(xe,pe,ue,Se){for(;ue<=Se;){let Ae=ue+(Se-ue>>1),de=xe[Ae][p]-pe;if(de===0)return L=!0,Ae;de<0?ue=Ae+1:Se=Ae-1}return L=!1,ue-1}function C(xe,pe,ue){for(let Se=ue+1;Se<xe.length&&xe[Se][p]===pe;ue=Se++);return ue}function D(xe,pe,ue){for(let Se=ue-1;Se>=0&&xe[Se][p]===pe;ue=Se--);return ue}function O(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function j(xe,pe,ue,Se){let{lastKey:Ae,lastNeedle:de,lastIndex:We}=ue,tt=0,mt=xe.length-1;if(Se===Ae){if(pe===de)return L=We!==-1&&xe[We][p]===pe,We;pe>=de?tt=We===-1?0:We:mt=We}return ue.lastKey=Se,ue.lastNeedle=pe,ue.lastIndex=x(xe,pe,tt,mt)}function k(xe,pe){let ue=pe.map(U);for(let Se=0;Se<xe.length;Se++){let Ae=xe[Se];for(let de=0;de<Ae.length;de++){let We=Ae[de];if(We.length===1)continue;let tt=We[d],mt=We[h],At=We[m],pt=ue[tt],Nt=pt[mt]||(pt[mt]=[]),Ce=pe[tt],qe=C(Nt,At,j(Nt,At,Ce,mt));Ce.lastIndex=++qe,$(Nt,qe,[At,Se,We[p]])}}return ue}function $(xe,pe,ue){for(let Se=xe.length;Se>pe;Se--)xe[Se]=xe[Se-1];xe[pe]=ue}function U(){return{__proto__:null}}let F=function(xe,pe){let ue=P(xe);if(!("sections"in ue))return new z(ue,pe);let Se=[],Ae=[],de=[],We=[],tt=[];return W(ue,pe,Se,Ae,de,We,tt,0,0,1/0,1/0),re({version:3,file:ue.file,names:We,sources:Ae,sourcesContent:de,mappings:Se,ignoreList:tt})};function P(xe){return typeof xe=="string"?JSON.parse(xe):xe}function W(xe,pe,ue,Se,Ae,de,We,tt,mt,At,pt){let{sections:Nt}=xe;for(let Ce=0;Ce<Nt.length;Ce++){let{map:qe,offset:ot}=Nt[Ce],Ze=At,Pe=pt;if(Ce+1<Nt.length){let Qe=Nt[Ce+1].offset;Ze=Math.min(At,tt+Qe.line),Ze===At?Pe=Math.min(pt,mt+Qe.column):Ze<At&&(Pe=mt+Qe.column)}Z(qe,pe,ue,Se,Ae,de,We,tt+ot.line,mt+ot.column,Ze,Pe)}}function Z(xe,pe,ue,Se,Ae,de,We,tt,mt,At,pt){let Nt=P(xe);if("sections"in Nt)return W(...arguments);let Ce=new z(Nt,pe),qe=Se.length,ot=de.length,Ze=He(Ce),{resolvedSources:Pe,sourcesContent:Qe,ignoreList:Ge}=Ce;if(ee(Se,Pe),ee(de,Ce.names),Qe)ee(Ae,Qe);else for(let we=0;we<Pe.length;we++)Ae.push(null);if(Ge)for(let we=0;we<Ge.length;we++)We.push(Ge[we]+qe);for(let we=0;we<Ze.length;we++){let Ne=tt+we;if(Ne>At)return;let ht=J(ue,Ne),it=we===0?mt:0,Tt=Ze[we];for(let Ot=0;Ot<Tt.length;Ot++){let Pt=Tt[Ot],Ir=it+Pt[p];if(Ne===At&&Ir>=pt)return;if(Pt.length===1){ht.push([Ir]);continue}let Lr=qe+Pt[d],_n=Pt[h],_r=Pt[m];ht.push(Pt.length===4?[Ir,Lr,_n,_r]:[Ir,Lr,_n,_r,ot+Pt[g]])}}}function ee(xe,pe){for(let ue=0;ue<pe.length;ue++)xe.push(pe[ue])}function J(xe,pe){for(let ue=xe.length;ue<=pe;ue++)xe[ue]=[];return xe[pe]}let ne="`line` must be greater than 0 (lines start at line 1)",K="`column` must be greater than or equal to 0 (columns start at column 0)",q=-1,Q=1;class z{constructor(pe,ue){let Se=typeof pe=="string";if(!Se&&pe._decodedMemo)return pe;let Ae=Se?JSON.parse(pe):pe,{version:de,file:We,names:tt,sourceRoot:mt,sources:At,sourcesContent:pt}=Ae;this.version=de,this.file=We,this.names=tt||[],this.sourceRoot=mt,this.sources=At,this.sourcesContent=pt,this.ignoreList=Ae.ignoreList||Ae.x_google_ignoreList||void 0;let Nt=a(mt||"",l(ue));this.resolvedSources=At.map(qe=>a(qe||"",Nt));let{mappings:Ce}=Ae;typeof Ce=="string"?(this._encoded=Ce,this._decoded=void 0):(this._encoded=void 0,this._decoded=E(Ce,Se)),this._decodedMemo=O(),this._bySources=void 0,this._bySourceMemos=void 0}}function ie(xe){return xe}function _e(xe){var pe,ue;return(pe=(ue=xe)._encoded)!==null&&pe!==void 0?pe:ue._encoded=u.encode(xe._decoded)}function He(xe){var pe;return(pe=xe)._decoded||(pe._decoded=u.decode(xe._encoded))}function be(xe,pe,ue){let Se=He(xe);if(pe>=Se.length)return null;let Ae=Se[pe],de=$e(Ae,xe._decodedMemo,pe,ue,Q);return de===-1?null:Ae[de]}function Ve(xe,pe){let{line:ue,column:Se,bias:Ae}=pe;if(ue--,ue<0)throw new Error(ne);if(Se<0)throw new Error(K);let de=He(xe);if(ue>=de.length)return Ie(null,null,null,null);let We=de[ue],tt=$e(We,xe._decodedMemo,ue,Se,Ae||Q);if(tt===-1)return Ie(null,null,null,null);let mt=We[tt];if(mt.length===1)return Ie(null,null,null,null);let{names:At,resolvedSources:pt}=xe;return Ie(pt[mt[d]],mt[h]+1,mt[m],mt.length===5?At[mt[g]]:null)}function Fe(xe,pe){let{source:ue,line:Se,column:Ae,bias:de}=pe;return et(xe,ue,Se,Ae,de||Q,!1)}function me(xe,pe){let{source:ue,line:Se,column:Ae,bias:de}=pe;return et(xe,ue,Se,Ae,de||q,!0)}function ce(xe,pe){let ue=He(xe),{names:Se,resolvedSources:Ae}=xe;for(let de=0;de<ue.length;de++){let We=ue[de];for(let tt=0;tt<We.length;tt++){let mt=We[tt],At=de+1,pt=mt[0],Nt=null,Ce=null,qe=null,ot=null;mt.length!==1&&(Nt=Ae[mt[1]],Ce=mt[2]+1,qe=mt[3]),mt.length===5&&(ot=Se[mt[4]]),pe({generatedLine:At,generatedColumn:pt,source:Nt,originalLine:Ce,originalColumn:qe,name:ot})}}}function ke(xe,pe){let{sources:ue,resolvedSources:Se}=xe,Ae=ue.indexOf(pe);return Ae===-1&&(Ae=Se.indexOf(pe)),Ae}function je(xe,pe){let{sourcesContent:ue}=xe;if(ue==null)return null;let Se=ke(xe,pe);return Se===-1?null:ue[Se]}function Oe(xe,pe){let{ignoreList:ue}=xe;if(ue==null)return!1;let Se=ke(xe,pe);return Se!==-1&&ue.includes(Se)}function re(xe,pe){let ue=new z(se(xe,[]),pe);return ue._decoded=xe.mappings,ue}function fe(xe){return se(xe,He(xe))}function he(xe){return se(xe,_e(xe))}function se(xe,pe){return{version:xe.version,file:xe.file,names:xe.names,sourceRoot:xe.sourceRoot,sources:xe.sources,sourcesContent:xe.sourcesContent,mappings:pe,ignoreList:xe.ignoreList||xe.x_google_ignoreList}}function Ie(xe,pe,ue,Se){return{source:xe,line:pe,column:ue,name:Se}}function ye(xe,pe){return{line:xe,column:pe}}function $e(xe,pe,ue,Se,Ae){let de=j(xe,Se,pe,ue);return L?de=(Ae===q?C:D)(xe,Se,de):Ae===q&&de++,de===-1||de===xe.length?-1:de}function nt(xe,pe,ue,Se,Ae){let de=$e(xe,pe,ue,Se,Q);if(L||Ae!==q||de++,de===-1||de===xe.length)return[];let We=L?Se:xe[de][p];L||(de=D(xe,We,de));let tt=C(xe,We,de),mt=[];for(;de<=tt;de++){let At=xe[de];mt.push(ye(At[y]+1,At[_]))}return mt}function et(xe,pe,ue,Se,Ae,de){var We;if(--ue<0)throw new Error(ne);if(Se<0)throw new Error(K);let{sources:tt,resolvedSources:mt}=xe,At=tt.indexOf(pe);if(At===-1&&(At=mt.indexOf(pe)),At===-1)return de?[]:ye(null,null);let pt=((We=xe)._bySources||(We._bySources=k(He(xe),xe._bySourceMemos=tt.map(O))))[At][ue];if(pt==null)return de?[]:ye(null,null);let Nt=xe._bySourceMemos[At];if(de)return nt(pt,Nt,ue,Se,Ae);let Ce=$e(pt,Nt,ue,Se,Ae);if(Ce===-1)return ye(null,null);let qe=pt[Ce];return ye(qe[y]+1,qe[_])}s.AnyMap=F,s.GREATEST_LOWER_BOUND=Q,s.LEAST_UPPER_BOUND=q,s.TraceMap=z,s.allGeneratedPositionsFor=me,s.decodedMap=fe,s.decodedMappings=He,s.eachMapping=ce,s.encodedMap=he,s.encodedMappings=_e,s.generatedPositionFor=Fe,s.isIgnored=Oe,s.originalPositionFor=Ve,s.presortedDecodedMap=re,s.sourceContentFor=je,s.traceSegment=be})(r,c("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"),c("./node_modules/.pnpm/@jridgewell+resolve-uri@3.1.2/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js"))},"./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){var H=(0,s.createDynamicImportTransform)(u);return{manipulateOptions:function(a,l){l.plugins.push("dynamicImport")},visitor:{Import:function(a){H(this,a)}}}};var s=c("./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/utils.js");o.exports=r.default},"./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/utils.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var c=function(u,H){if(Array.isArray(u))return u;if(Symbol.iterator in Object(u))return function(a,l){var p=[],d=!0,h=!1,m=void 0;try{for(var g,y=a[Symbol.iterator]();!(d=(g=y.next()).done)&&(p.push(g.value),!l||p.length!==l);d=!0);}catch(_){h=!0,m=_}finally{try{!d&&y.return&&y.return()}finally{if(h)throw m}}return p}(u,H);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function s(u,H){var a=H.arguments,l=c(a,1)[0];return u.isStringLiteral(l)||u.isTemplateLiteral(l)?(u.removeComments(l),l):u.templateLiteral([u.templateElement({raw:"",cooked:""}),u.templateElement({raw:"",cooked:""},!0)],a)}r.getImportSource=s,r.createDynamicImportTransform=function(u){var H=u.template,a=u.types,l={static:{interop:H("Promise.resolve().then(() => INTEROP(require(SOURCE)))"),noInterop:H("Promise.resolve().then(() => require(SOURCE))")},dynamic:{interop:H("Promise.resolve(SOURCE).then(s => INTEROP(require(s)))"),noInterop:H("Promise.resolve(SOURCE).then(s => require(s))")}},p=typeof WeakSet=="function"&&new WeakSet;return function(d,h){if(p){if(p.has(h))return;p.add(h)}var m,g=s(a,h.parent),y=(m=g,a.isStringLiteral(m)||a.isTemplateLiteral(m)&&m.expressions.length===0?l.static:l.dynamic),_=d.opts.noInterop?y.noInterop({SOURCE:g}):y.interop({SOURCE:g,INTEROP:d.addHelper("interopRequireWildcard")});h.parentPath.replaceWith(_)}}},"./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js":(o,r,c)=>{"use strict";var s=c("path");function u(H){switch(H.parent.type){case"TSTypeReference":case"TSQualifiedName":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;default:return!1}}o.exports=function(H){var a=H.types,l=function(d,h){return function(m){var g=a.callExpression(d.expression,[a.Identifier(m),a.Identifier("undefined"),a.NumericLiteral(h.key)]),y=a.logicalExpression("||",g,a.Identifier(m)),_=a.assignmentExpression("=",a.Identifier(m),y);return a.expressionStatement(_)}},p=function(d,h){return function(m,g){var y=a.callExpression(d.expression,[a.Identifier("".concat(m,".prototype")),a.StringLiteral(g),a.NumericLiteral(h.key)]);return a.expressionStatement(y)}};return{visitor:{Program:function(d,h){var m=(0,s.extname)(h.file.opts.filename);m!==".ts"&&m!==".tsx"||function(){var g=Object.create(null);d.node.body.filter(function(j){var k=j.type,$=j.declaration;switch(k){case"ClassDeclaration":return!0;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":return $&&$.type==="ClassDeclaration";default:return!1}}).map(function(j){return j.type==="ClassDeclaration"?j:j.declaration}).forEach(function(j){j.body.body.forEach(function(k){(k.params||[]).forEach(function($){($.decorators||[]).forEach(function(U){U.expression.callee?g[U.expression.callee.name]=U:g[U.expression.name]=U})})})});var y=!0,_=!1,E=void 0;try{for(var A,S=d.get("body")[Symbol.iterator]();!(y=(A=S.next()).done);y=!0){var T=A.value;if(T.node.type==="ImportDeclaration"){if(T.node.specifiers.length===0)continue;var I=!0,L=!1,x=void 0;try{for(var C,D=function(){var j=C.value,k=T.scope.getBinding(j.local.name);k.referencePaths.length?k.referencePaths.reduce(function($,U){return $||u(U)},!1)&&Object.keys(g).forEach(function($){var U=g[$];(U.expression.arguments||[]).forEach(function(F){F.name===j.local.name&&k.referencePaths.push({parent:U.expression})})}):g[j.local.name]&&k.referencePaths.push({parent:g[j.local.name]})},O=T.node.specifiers[Symbol.iterator]();!(I=(C=O.next()).done);I=!0)D()}catch(j){L=!0,x=j}finally{try{I||O.return==null||O.return()}finally{if(L)throw x}}}}}catch(j){_=!0,E=j}finally{try{y||S.return==null||S.return()}finally{if(_)throw E}}}()},Function:function(d){var h="";d.node.id?h=d.node.id.name:d.node.key&&(h=d.node.key.name),(d.get("params")||[]).slice().forEach(function(m){var g=m.node.decorators||[],y=g.length;if(g.slice().forEach(function(E){if(d.type==="ClassMethod"){var A,S=d.parentPath.parentPath,T=d.findParent(function(j){return j.type==="ClassDeclaration"});if(T?A=T.node.id.name:(S.insertAfter(null),A=function(j){var k=j.findParent(function($){return $.node.type==="AssignmentExpression"});return k.node.right.type==="SequenceExpression"?k.node.right.expressions[1].name:k.node.right.type==="ClassExpression"?k.node.left.name:null}(d)),h==="constructor"){var I=l(E,m)(A);S.insertAfter(I)}else{var L=p(E,m)(A,h);S.insertAfter(L)}}else{var x=d.findParent(function(j){return j.node.type==="VariableDeclarator"}).node.id.name;if(h===x){var C=l(E,m)(x);d.parentKey==="body"?d.insertAfter(C):d.findParent(function(j){return j.parentKey==="body"}).insertAfter(C)}else{var D=d.findParent(function(j){return j.node.type==="CallExpression"}),O=p(E,m)(x,h);D.insertAfter(O)}}}),y){var _=function(E){switch(E.node.type){case"ObjectPattern":return a.ObjectPattern(E.node.properties);case"AssignmentPattern":return a.AssignmentPattern(E.node.left,E.node.right);case"TSParameterProperty":return a.Identifier(E.node.parameter.name);default:return a.Identifier(E.node.name)}}(m);m.replaceWith(_)}})}}}}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/metadataVisitor.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.metadataVisitor=function(a,l){let p=l.node,d=a.node;switch(p.type){case"ClassMethod":let h=p.kind==="constructor"?d.decorators:p.decorators;if(!h||h.length===0)return;h.push(H("design:type",s.types.identifier("Function"))),h.push(H("design:paramtypes",s.types.arrayExpression(p.params.map(m=>(0,u.serializeType)(a,m)))));break;case"ClassProperty":if(!p.decorators||p.decorators.length===0||!p.typeAnnotation||p.typeAnnotation.type!=="TSTypeAnnotation")return;p.decorators.push(H("design:type",(0,u.serializeType)(a,p)))}};var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),u=c("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/serializeType.js");function H(a,l){return s.types.decorator(s.types.callExpression(s.types.memberExpression(s.types.identifier("Reflect"),s.types.identifier("metadata")),[s.types.stringLiteral(a),l]))}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/serializeType.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.serializeType=function(m,g){let y=H(g);if(y==null||!y.typeAnnotation||y.typeAnnotation.type!=="TSTypeAnnotation")return u();let _=y.typeAnnotation.typeAnnotation;return d(m.node.id?m.node.id.name:"",_)},r.isClassType=l;var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js");function u(){return s.types.unaryExpression("void",s.types.numericLiteral(0))}function H(m){return m==null?null:m.type==="ClassProperty"||m.type==="Identifier"||m.type==="ObjectPattern"?m:m.type==="AssignmentPattern"&&m.left.type==="Identifier"?m.left:m.type==="TSParameterProperty"?H(m.parameter):null}function a(m,g){let y=p(g.typeName);return l(m,y)?s.types.identifier("Object"):s.types.conditionalExpression(s.types.binaryExpression("===",s.types.unaryExpression("typeof",y),s.types.stringLiteral("undefined")),s.types.identifier("Object"),s.types.cloneDeep(y))}function l(m,g){switch(g.type){case"Identifier":return g.name===m;case"MemberExpression":return l(m,g.object);default:throw new Error(`The property expression at ${g.start} is not valid as a Type to be used in Reflect.metadata`)}}function p(m){return m.type==="Identifier"?s.types.identifier(m.name):s.types.memberExpression(p(m.left),m.right)}function d(m,g){if(g===void 0)return s.types.identifier("Object");switch(g.type){case"TSVoidKeyword":case"TSUndefinedKeyword":case"TSNullKeyword":case"TSNeverKeyword":return u();case"TSParenthesizedType":return d(m,g.typeAnnotation);case"TSFunctionType":case"TSConstructorType":return s.types.identifier("Function");case"TSArrayType":case"TSTupleType":return s.types.identifier("Array");case"TSTypePredicate":case"TSBooleanKeyword":return s.types.identifier("Boolean");case"TSStringKeyword":return s.types.identifier("String");case"TSObjectKeyword":return s.types.identifier("Object");case"TSLiteralType":switch(g.literal.type){case"StringLiteral":return s.types.identifier("String");case"NumericLiteral":return s.types.identifier("Number");case"BooleanLiteral":return s.types.identifier("Boolean");default:throw new Error("Bad type for decorator"+g.literal)}case"TSNumberKeyword":case"TSBigIntKeyword":return s.types.identifier("Number");case"TSSymbolKeyword":return s.types.identifier("Symbol");case"TSTypeReference":return a(m,g);case"TSIntersectionType":case"TSUnionType":return h(m,g.types);case"TSConditionalType":return h(m,[g.trueType,g.falseType]);case"TSTypeQuery":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTypeLiteral":case"TSAnyKeyword":case"TSUnknownKeyword":case"TSThisType":break;default:throw new Error("Bad type for decorator")}return s.types.identifier("Object")}function h(m,g){let y;for(let _ of g){for(;_.type==="TSParenthesizedType";)_=_.typeAnnotation;if(_.type==="TSNeverKeyword"||_.type==="TSNullKeyword"||_.type==="TSUndefinedKeyword")continue;let E=d(m,_);if(s.types.isIdentifier(E)&&E.name==="Object")return E;if(y){if(!s.types.isIdentifier(y)||!s.types.isIdentifier(E)||y.name!==E.name)return s.types.identifier("Object")}else y=E}return y||u()}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/parameter/parameterVisitor.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.parameterVisitor=function(H,a){if(a.type!=="ClassMethod"||a.node.type!=="ClassMethod"||a.node.key.type!=="Identifier")return;let l=a;(l.get("params")||[]).slice().forEach(function(p){let d;(p.node.type==="Identifier"||p.node.type==="ObjectPattern"?p.node:p.node.type==="TSParameterProperty"&&p.node.parameter.type==="Identifier"?p.node.parameter:null)!=null&&((p.node.decorators||[]).slice().forEach(function(h){l.node.kind==="constructor"?(d=u(p.key,h.expression,!0),H.node.decorators||(H.node.decorators=[]),H.node.decorators.push(d)):(d=u(p.key,h.expression,!1),l.node.decorators||(l.node.decorators=[]),l.node.decorators.push(d))}),d&&(p.node.decorators=null))})};var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js");function u(H,a,l=!1){return s.types.decorator(s.types.functionExpression(null,[s.types.identifier("target"),s.types.identifier("key")],s.types.blockStatement([s.types.returnStatement(s.types.callExpression(a,[s.types.identifier("target"),s.types.identifier(l?"undefined":"key"),s.types.numericLiteral(H)]))])))}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/plugin.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),u=c("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/parameter/parameterVisitor.js"),H=c("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/metadataVisitor.js"),a=(0,s.declare)(l=>(l.assertVersion(7),{visitor:{Program(p){p.traverse({ClassDeclaration(d){for(let h of d.get("body").get("body"))h.type!=="ClassMethod"&&h.type!=="ClassProperty"||((0,u.parameterVisitor)(d,h),(0,H.metadataVisitor)(d,h));d.parentPath.scope.crawl()}})}}}));r.default=a},"./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js":(o,r)=>{"use strict";var c;function s(H,a){(a=a||{}).hasComment&&(H=function(l){return l.split(",").pop()}(H)),a.encoding==="base64"?H=c(H):a.encoding==="uri"&&(H=decodeURIComponent(H)),(a.isJSON||a.encoding)&&(H=JSON.parse(H)),this.sourcemap=H}function u(H){return new s(H,{isJSON:!0})}Object.defineProperty(r,"commentRegex",{get:function(){return/^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/gm}}),Object.defineProperty(r,"mapFileCommentRegex",{get:function(){return/(?:\/\/[@#][ \t]+?sourceMappingURL=([^\s'"`]+?)[ \t]*?$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*?(?:\*\/){1}[ \t]*?$)/gm}}),c=typeof Buffer<"u"?typeof Buffer.from=="function"?function(H){return Buffer.from(H,"base64").toString()}:function(H){if(typeof value=="number")throw new TypeError("The value to decode must not be of type number.");return new Buffer(H,"base64").toString()}:function(H){return decodeURIComponent(escape(atob(H)))},s.prototype.toJSON=function(H){return JSON.stringify(this.sourcemap,null,H)},typeof Buffer<"u"?typeof Buffer.from=="function"?s.prototype.toBase64=function(){var H=this.toJSON();return Buffer.from(H,"utf8").toString("base64")}:s.prototype.toBase64=function(){var H=this.toJSON();if(typeof H=="number")throw new TypeError("The json to encode must not be of type number.");return new Buffer(H,"utf8").toString("base64")}:s.prototype.toBase64=function(){var H=this.toJSON();return btoa(unescape(encodeURIComponent(H)))},s.prototype.toURI=function(){var H=this.toJSON();return encodeURIComponent(H)},s.prototype.toComment=function(H){var a,l,p;return H!=null&&H.encoding==="uri"?(a="",l=this.toURI()):(a=";base64",l=this.toBase64()),p="sourceMappingURL=data:application/json;charset=utf-8"+a+","+l,H!=null&&H.multiline?"/*# "+p+" */":"//# "+p},s.prototype.toObject=function(){return JSON.parse(this.toJSON())},s.prototype.addProperty=function(H,a){if(this.sourcemap.hasOwnProperty(H))throw new Error('property "'+H+'" already exists on the sourcemap, use set property instead');return this.setProperty(H,a)},s.prototype.setProperty=function(H,a){return this.sourcemap[H]=a,this},s.prototype.getProperty=function(H){return this.sourcemap[H]},r.fromObject=function(H){return new s(H)},r.fromJSON=function(H){return new s(H,{isJSON:!0})},r.fromURI=function(H){return new s(H,{encoding:"uri"})},r.fromBase64=function(H){return new s(H,{encoding:"base64"})},r.fromComment=function(H){var a;return new s(H=H.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),{encoding:(a=r.commentRegex.exec(H))&&a[4]||"uri",hasComment:!0})},r.fromMapFileComment=function(H,a){if(typeof a=="string")throw new Error("String directory paths are no longer supported with `fromMapFileComment`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var l=function(p,d){var h=r.mapFileCommentRegex.exec(p),m=h[1]||h[2];try{return(p=d(m))!=null&&typeof p.catch=="function"?p.catch(g):p}catch(y){g(y)}function g(y){throw new Error("An error occurred while trying to read the map file at "+m+`
|
|
`+y.stack)}}(H,a);return l!=null&&typeof l.then=="function"?l.then(u):u(l)},r.fromSource=function(H){var a=H.match(r.commentRegex);return a?r.fromComment(a.pop()):null},r.fromMapFileSource=function(H,a){if(typeof a=="string")throw new Error("String directory paths are no longer supported with `fromMapFileSource`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var l=H.match(r.mapFileCommentRegex);return l?r.fromMapFileComment(l.pop(),a):null},r.removeComments=function(H){return H.replace(r.commentRegex,"")},r.removeMapFileComments=function(H){return H.replace(r.mapFileCommentRegex,"")},r.generateMapFileComment=function(H,a){var l="sourceMappingURL="+H;return a&&a.multiline?"/*# "+l+" */":"//# "+l}},"./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/browser.js":(o,r,c)=>{r.formatArgs=function(u){if(u[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+u[0]+(this.useColors?"%c ":" ")+"+"+o.exports.humanize(this.diff),!this.useColors)return;let H="color: "+this.color;u.splice(1,0,H,"color: inherit");let a=0,l=0;u[0].replace(/%[a-zA-Z%]/g,p=>{p!=="%%"&&(a++,p==="%c"&&(l=a))}),u.splice(l,0,H)},r.save=function(u){try{u?r.storage.setItem("debug",u):r.storage.removeItem("debug")}catch{}},r.load=function(){let u;try{u=r.storage.getItem("debug")}catch{}return!u&&typeof process<"u"&&"env"in process&&(u=process.env.DEBUG),u},r.useColors=function(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},r.storage=function(){try{return localStorage}catch{}}(),r.destroy=(()=>{let u=!1;return()=>{u||(u=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),r.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],r.log=console.debug||console.log||(()=>{}),o.exports=c("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/common.js")(r);let{formatters:s}=o.exports;s.j=function(u){try{return JSON.stringify(u)}catch(H){return"[UnexpectedJSONParseError]: "+H.message}}},"./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/common.js":(o,r,c)=>{o.exports=function(s){function u(l){let p,d,h,m=null;function g(...y){if(!g.enabled)return;let _=g,E=Number(new Date),A=E-(p||E);_.diff=A,_.prev=p,_.curr=E,p=E,y[0]=u.coerce(y[0]),typeof y[0]!="string"&&y.unshift("%O");let S=0;y[0]=y[0].replace(/%([a-zA-Z%])/g,(T,I)=>{if(T==="%%")return"%";S++;let L=u.formatters[I];if(typeof L=="function"){let x=y[S];T=L.call(_,x),y.splice(S,1),S--}return T}),u.formatArgs.call(_,y),(_.log||u.log).apply(_,y)}return g.namespace=l,g.useColors=u.useColors(),g.color=u.selectColor(l),g.extend=H,g.destroy=u.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:()=>m!==null?m:(d!==u.namespaces&&(d=u.namespaces,h=u.enabled(l)),h),set:y=>{m=y}}),typeof u.init=="function"&&u.init(g),g}function H(l,p){let d=u(this.namespace+(p===void 0?":":p)+l);return d.log=this.log,d}function a(l){return l.toString().substring(2,l.toString().length-2).replace(/\.\*\?$/,"*")}return u.debug=u,u.default=u,u.coerce=function(l){return l instanceof Error?l.stack||l.message:l},u.disable=function(){let l=[...u.names.map(a),...u.skips.map(a).map(p=>"-"+p)].join(",");return u.enable(""),l},u.enable=function(l){let p;u.save(l),u.namespaces=l,u.names=[],u.skips=[];let d=(typeof l=="string"?l:"").split(/[\s,]+/),h=d.length;for(p=0;p<h;p++)d[p]&&((l=d[p].replace(/\*/g,".*?"))[0]==="-"?u.skips.push(new RegExp("^"+l.slice(1)+"$")):u.names.push(new RegExp("^"+l+"$")))},u.enabled=function(l){if(l[l.length-1]==="*")return!0;let p,d;for(p=0,d=u.skips.length;p<d;p++)if(u.skips[p].test(l))return!1;for(p=0,d=u.names.length;p<d;p++)if(u.names[p].test(l))return!0;return!1},u.humanize=c("./node_modules/.pnpm/ms@2.1.2/node_modules/ms/index.js"),u.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(s).forEach(l=>{u[l]=s[l]}),u.names=[],u.skips=[],u.formatters={},u.selectColor=function(l){let p=0;for(let d=0;d<l.length;d++)p=(p<<5)-p+l.charCodeAt(d),p|=0;return u.colors[Math.abs(p)%u.colors.length]},u.enable(u.load()),u}},"./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/index.js":(o,r,c)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?o.exports=c("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/browser.js"):o.exports=c("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/node.js")},"./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/node.js":(o,r,c)=>{let s=c("tty"),u=c("util");r.init=function(a){a.inspectOpts={};let l=Object.keys(r.inspectOpts);for(let p=0;p<l.length;p++)a.inspectOpts[l[p]]=r.inspectOpts[l[p]]},r.log=function(...a){return process.stderr.write(u.formatWithOptions(r.inspectOpts,...a)+`
|
|
`)},r.formatArgs=function(a){let{namespace:l,useColors:p}=this;if(p){let d=this.color,h="\x1B[3"+(d<8?d:"8;5;"+d),m=` ${h};1m${l} \x1B[0m`;a[0]=m+a[0].split(`
|
|
`).join(`
|
|
`+m),a.push(h+"m+"+o.exports.humanize(this.diff)+"\x1B[0m")}else a[0]=function(){return r.inspectOpts.hideDate?"":new Date().toISOString()+" "}()+l+" "+a[0]},r.save=function(a){a?process.env.DEBUG=a:delete process.env.DEBUG},r.load=function(){return process.env.DEBUG},r.useColors=function(){return"colors"in r.inspectOpts?!!r.inspectOpts.colors:s.isatty(process.stderr.fd)},r.destroy=u.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),r.colors=[6,2,3,4,5,1];try{let a=c("./node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js");a&&(a.stderr||a).level>=2&&(r.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}r.inspectOpts=Object.keys(process.env).filter(a=>/^debug_/i.test(a)).reduce((a,l)=>{let p=l.substring(6).toLowerCase().replace(/_([a-z])/g,(h,m)=>m.toUpperCase()),d=process.env[l];return d=!!/^(yes|on|true|enabled)$/i.test(d)||!/^(no|off|false|disabled)$/i.test(d)&&(d==="null"?null:Number(d)),a[p]=d,a},{}),o.exports=c("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/common.js")(r);let{formatters:H}=o.exports;H.o=function(a){return this.inspectOpts.colors=this.useColors,u.inspect(a,this.inspectOpts).split(`
|
|
`).map(l=>l.trim()).join(" ")},H.O=function(a){return this.inspectOpts.colors=this.useColors,u.inspect(a,this.inspectOpts)}},"./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js":o=>{"use strict";let r=Symbol.for("gensync:v1:start"),c=Symbol.for("gensync:v1:suspend"),s="GENSYNC_EXPECTED_START",u="GENSYNC_EXPECTED_SUSPEND",H="GENSYNC_OPTIONS_ERROR";function a(E,A,S,T){if(typeof S===E||T&&S===void 0)return;let I;throw I=T?`Expected opts.${A} to be either a ${E}, or undefined.`:`Expected opts.${A} to be a ${E}.`,l(I,H)}function l(E,A){return Object.assign(new Error(E),{code:A})}function p({name:E,arity:A,sync:S,async:T}){return _(E,A,function*(...I){let L=yield r;if(!L)return S.call(this,I);let x;try{T.call(this,I,C=>{x||(x={value:C},L())},C=>{x||(x={err:C},L())})}catch(C){x={err:C},L()}if(yield c,x.hasOwnProperty("err"))throw x.err;return x.value})}function d(E){let A;for(;!({value:A}=E.next()).done;)m(A,E);return A}function h(E,A,S){(function T(){try{let I;for(;!({value:I}=E.next()).done;){m(I,E);let L=!0,x=!1,C=E.next(()=>{L?x=!0:T()});if(L=!1,g(C,E),!x)return}return A(I)}catch(I){return S(I)}})()}function m(E,A){E!==r&&y(A,l(`Got unexpected yielded value in gensync generator: ${JSON.stringify(E)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,s))}function g({value:E,done:A},S){(A||E!==c)&&y(S,l(A?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(E)}. If you get this, it is probably a gensync bug.`,u))}function y(E,A){throw E.throw&&E.throw(A),A}function _(E,A,S){if(typeof E=="string"){let T=Object.getOwnPropertyDescriptor(S,"name");T&&!T.configurable||Object.defineProperty(S,"name",Object.assign(T||{},{configurable:!0,value:E}))}if(typeof A=="number"){let T=Object.getOwnPropertyDescriptor(S,"length");T&&!T.configurable||Object.defineProperty(S,"length",Object.assign(T||{},{configurable:!0,value:A}))}return S}o.exports=Object.assign(function(E){let A=E;return A=typeof E!="function"?function({name:S,arity:T,sync:I,async:L,errback:x}){if(a("string","name",S,!0),a("number","arity",T,!0),a("function","sync",I),a("function","async",L,!0),a("function","errback",x,!0),L&&x)throw l("Expected one of either opts.async or opts.errback, but got _both_.",H);if(typeof S!="string"){let C;x&&x.name&&x.name!=="errback"&&(C=x.name),L&&L.name&&L.name!=="async"&&(C=L.name.replace(/Async$/,"")),I&&I.name&&I.name!=="sync"&&(C=I.name.replace(/Sync$/,"")),typeof C=="string"&&(S=C)}return typeof T!="number"&&(T=I.length),p({name:S,arity:T,sync:function(C){return I.apply(this,C)},async:function(C,D,O){L?L.apply(this,C).then(D,O):x?x.call(this,...C,(j,k)=>{j==null?D(k):O(j)}):D(I.apply(this,C))}})}(E):function(S){return _(S.name,S.length,function(...T){return S.apply(this,T)})}(E),Object.assign(A,function(S){return{sync:function(...I){return d(S.apply(this,I))},async:function(...I){return new Promise((L,x)=>{h(S.apply(this,I),L,x)})},errback:function(...I){let L=I.pop();if(typeof L!="function")throw l("Asynchronous function called without callback","GENSYNC_ERRBACK_NO_CALLBACK");let x;try{x=S.apply(this,I)}catch(C){return void L(C)}h(x,C=>L(void 0,C),C=>L(C))}}}(A))},{all:p({name:"all",arity:1,sync:function(E){return Array.from(E[0]).map(A=>d(A))},async:function(E,A,S){let T=Array.from(E[0]);if(T.length===0)return void Promise.resolve().then(()=>A([]));let I=0,L=T.map(()=>{});T.forEach((x,C)=>{h(x,D=>{L[C]=D,I+=1,I===L.length&&A(L)},S)})}}),race:p({name:"race",arity:1,sync:function(E){let A=Array.from(E[0]);if(A.length===0)throw l("Must race at least 1 item","GENSYNC_RACE_NONEMPTY");return d(A[0])},async:function(E,A,S){let T=Array.from(E[0]);if(T.length===0)throw l("Must race at least 1 item","GENSYNC_RACE_NONEMPTY");for(let I of T)h(I,A,S)}})})},"./node_modules/.pnpm/globals@11.12.0/node_modules/globals/index.js":(o,r,c)=>{"use strict";o.exports=c("./node_modules/.pnpm/globals@11.12.0/node_modules/globals/globals.json")},"./node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js":o=>{"use strict";o.exports=(r,c=process.argv)=>{let s=r.startsWith("-")?"":r.length===1?"-":"--",u=c.indexOf(s+r),H=c.indexOf("--");return u!==-1&&(H===-1||u<H)}},"./node_modules/.pnpm/jsesc@2.5.2/node_modules/jsesc/jsesc.js":o=>{"use strict";let r={},c=r.hasOwnProperty,s=(g,y)=>{for(let _ in g)c.call(g,_)&&y(_,g[_])},u=r.toString,H=Array.isArray,a=Buffer.isBuffer,l={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},p=/["'\\\b\f\n\r\t]/,d=/[0-9]/,h=/[ !#-&\(-\[\]-_a-~]/,m=(g,y)=>{let _=()=>{D=C,++y.indentLevel,C=y.indent.repeat(y.indentLevel)},E={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},A=y&&y.json;var S,T;A&&(E.quotes="double",E.wrap=!0),S=E,(y=((T=y)&&s(T,(K,q)=>{S[K]=q}),S)).quotes!="single"&&y.quotes!="double"&&y.quotes!="backtick"&&(y.quotes="single");let I=y.quotes=="double"?'"':y.quotes=="backtick"?"`":"'",L=y.compact,x=y.lowercaseHex,C=y.indent.repeat(y.indentLevel),D="",O=y.__inline1__,j=y.__inline2__,k=L?"":`
|
|
`,$,U=!0,F=y.numbers=="binary",P=y.numbers=="octal",W=y.numbers=="decimal",Z=y.numbers=="hexadecimal";if(A&&g&&(K=>typeof K=="function")(g.toJSON)&&(g=g.toJSON()),!(K=>typeof K=="string"||u.call(K)=="[object String]")(g)){if((K=>u.call(K)=="[object Map]")(g))return g.size==0?"new Map()":(L||(y.__inline1__=!0,y.__inline2__=!1),"new Map("+m(Array.from(g),y)+")");if((K=>u.call(K)=="[object Set]")(g))return g.size==0?"new Set()":"new Set("+m(Array.from(g),y)+")";if(a(g))return g.length==0?"Buffer.from([])":"Buffer.from("+m(Array.from(g),y)+")";if(H(g))return $=[],y.wrap=!0,O&&(y.__inline1__=!1,y.__inline2__=!0),j||_(),((K,q)=>{let Q=K.length,z=-1;for(;++z<Q;)q(K[z])})(g,K=>{U=!1,j&&(y.__inline2__=!1),$.push((L||j?"":C)+m(K,y))}),U?"[]":j?"["+$.join(", ")+"]":"["+k+$.join(","+k)+k+(L?"":D)+"]";if(!(K=>typeof K=="number"||u.call(K)=="[object Number]")(g))return(K=>u.call(K)=="[object Object]")(g)?($=[],y.wrap=!0,_(),s(g,(K,q)=>{U=!1,$.push((L?"":C)+m(K,y)+":"+(L?"":" ")+m(q,y))}),U?"{}":"{"+k+$.join(","+k)+k+(L?"":D)+"}"):A?JSON.stringify(g)||"null":String(g);if(A)return JSON.stringify(g);if(W)return String(g);if(Z){let K=g.toString(16);return x||(K=K.toUpperCase()),"0x"+K}if(F)return"0b"+g.toString(2);if(P)return"0o"+g.toString(8)}let ee=g,J=-1,ne=ee.length;for($="";++J<ne;){let K=ee.charAt(J);if(y.es6){let _e=ee.charCodeAt(J);if(_e>=55296&&_e<=56319&&ne>J+1){let He=ee.charCodeAt(J+1);if(He>=56320&&He<=57343){let be=(1024*(_e-55296)+He-56320+65536).toString(16);x||(be=be.toUpperCase()),$+="\\u{"+be+"}",++J;continue}}}if(!y.escapeEverything){if(h.test(K)){$+=K;continue}if(K=='"'){$+=I==K?'\\"':K;continue}if(K=="`"){$+=I==K?"\\`":K;continue}if(K=="'"){$+=I==K?"\\'":K;continue}}if(K=="\0"&&!A&&!d.test(ee.charAt(J+1))){$+="\\0";continue}if(p.test(K)){$+=l[K];continue}let q=K.charCodeAt(0);if(y.minimal&&q!=8232&&q!=8233){$+=K;continue}let Q=q.toString(16);x||(Q=Q.toUpperCase());let z=Q.length>2||A,ie="\\"+(z?"u":"x")+("0000"+Q).slice(z?-4:-2);$+=ie}return y.wrap&&($=I+$+I),I=="`"&&($=$.replace(/\$\{/g,"\\${")),y.isScriptContext?$.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,A?"\\u003C!--":"\\x3C!--"):$};m.version="2.5.2",o.exports=m},"./node_modules/.pnpm/ms@2.1.2/node_modules/ms/index.js":o=>{var r=1e3,c=60*r,s=60*c,u=24*s,H=7*u,a=365.25*u;function l(p,d,h,m){var g=d>=1.5*h;return Math.round(p/h)+" "+m+(g?"s":"")}o.exports=function(p,d){d=d||{};var h=typeof p;if(h==="string"&&p.length>0)return function(m){if(!((m=String(m)).length>100)){var g=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(m);if(g){var y=parseFloat(g[1]);switch((g[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return y*a;case"weeks":case"week":case"w":return y*H;case"days":case"day":case"d":return y*u;case"hours":case"hour":case"hrs":case"hr":case"h":return y*s;case"minutes":case"minute":case"mins":case"min":case"m":return y*c;case"seconds":case"second":case"secs":case"sec":case"s":return y*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return y;default:return}}}}(p);if(h==="number"&&isFinite(p))return d.long?function(m){var g=Math.abs(m);return g>=u?l(m,g,u,"day"):g>=s?l(m,g,s,"hour"):g>=c?l(m,g,c,"minute"):g>=r?l(m,g,r,"second"):m+" ms"}(p):function(m){var g=Math.abs(m);return g>=u?Math.round(m/u)+"d":g>=s?Math.round(m/s)+"h":g>=c?Math.round(m/c)+"m":g>=r?Math.round(m/r)+"s":m+"ms"}(p);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(p))}},"./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js":(o,r)=>{var c;r=o.exports=A,c=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var K=Array.prototype.slice.call(arguments,0);K.unshift("SEMVER"),console.log.apply(console,K)}:function(){},r.SEMVER_SPEC_VERSION="2.0.0";var s=256,u=Number.MAX_SAFE_INTEGER||9007199254740991,H=s-6,a=r.re=[],l=r.safeRe=[],p=r.src=[],d=r.tokens={},h=0;function m(K){d[K]=h++}var g=[["\\s",1],["\\d",s],["[a-zA-Z0-9-]",H]];function y(K){for(var q=0;q<g.length;q++){var Q=g[q][0],z=g[q][1];K=K.split(Q+"*").join(Q+"{0,"+z+"}").split(Q+"+").join(Q+"{1,"+z+"}")}return K}m("NUMERICIDENTIFIER"),p[d.NUMERICIDENTIFIER]="0|[1-9]\\d*",m("NUMERICIDENTIFIERLOOSE"),p[d.NUMERICIDENTIFIERLOOSE]="\\d+",m("NONNUMERICIDENTIFIER"),p[d.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",m("MAINVERSION"),p[d.MAINVERSION]="("+p[d.NUMERICIDENTIFIER]+")\\.("+p[d.NUMERICIDENTIFIER]+")\\.("+p[d.NUMERICIDENTIFIER]+")",m("MAINVERSIONLOOSE"),p[d.MAINVERSIONLOOSE]="("+p[d.NUMERICIDENTIFIERLOOSE]+")\\.("+p[d.NUMERICIDENTIFIERLOOSE]+")\\.("+p[d.NUMERICIDENTIFIERLOOSE]+")",m("PRERELEASEIDENTIFIER"),p[d.PRERELEASEIDENTIFIER]="(?:"+p[d.NUMERICIDENTIFIER]+"|"+p[d.NONNUMERICIDENTIFIER]+")",m("PRERELEASEIDENTIFIERLOOSE"),p[d.PRERELEASEIDENTIFIERLOOSE]="(?:"+p[d.NUMERICIDENTIFIERLOOSE]+"|"+p[d.NONNUMERICIDENTIFIER]+")",m("PRERELEASE"),p[d.PRERELEASE]="(?:-("+p[d.PRERELEASEIDENTIFIER]+"(?:\\."+p[d.PRERELEASEIDENTIFIER]+")*))",m("PRERELEASELOOSE"),p[d.PRERELEASELOOSE]="(?:-?("+p[d.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+p[d.PRERELEASEIDENTIFIERLOOSE]+")*))",m("BUILDIDENTIFIER"),p[d.BUILDIDENTIFIER]="[a-zA-Z0-9-]+",m("BUILD"),p[d.BUILD]="(?:\\+("+p[d.BUILDIDENTIFIER]+"(?:\\."+p[d.BUILDIDENTIFIER]+")*))",m("FULL"),m("FULLPLAIN"),p[d.FULLPLAIN]="v?"+p[d.MAINVERSION]+p[d.PRERELEASE]+"?"+p[d.BUILD]+"?",p[d.FULL]="^"+p[d.FULLPLAIN]+"$",m("LOOSEPLAIN"),p[d.LOOSEPLAIN]="[v=\\s]*"+p[d.MAINVERSIONLOOSE]+p[d.PRERELEASELOOSE]+"?"+p[d.BUILD]+"?",m("LOOSE"),p[d.LOOSE]="^"+p[d.LOOSEPLAIN]+"$",m("GTLT"),p[d.GTLT]="((?:<|>)?=?)",m("XRANGEIDENTIFIERLOOSE"),p[d.XRANGEIDENTIFIERLOOSE]=p[d.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",m("XRANGEIDENTIFIER"),p[d.XRANGEIDENTIFIER]=p[d.NUMERICIDENTIFIER]+"|x|X|\\*",m("XRANGEPLAIN"),p[d.XRANGEPLAIN]="[v=\\s]*("+p[d.XRANGEIDENTIFIER]+")(?:\\.("+p[d.XRANGEIDENTIFIER]+")(?:\\.("+p[d.XRANGEIDENTIFIER]+")(?:"+p[d.PRERELEASE]+")?"+p[d.BUILD]+"?)?)?",m("XRANGEPLAINLOOSE"),p[d.XRANGEPLAINLOOSE]="[v=\\s]*("+p[d.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+p[d.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+p[d.XRANGEIDENTIFIERLOOSE]+")(?:"+p[d.PRERELEASELOOSE]+")?"+p[d.BUILD]+"?)?)?",m("XRANGE"),p[d.XRANGE]="^"+p[d.GTLT]+"\\s*"+p[d.XRANGEPLAIN]+"$",m("XRANGELOOSE"),p[d.XRANGELOOSE]="^"+p[d.GTLT]+"\\s*"+p[d.XRANGEPLAINLOOSE]+"$",m("COERCE"),p[d.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",m("COERCERTL"),a[d.COERCERTL]=new RegExp(p[d.COERCE],"g"),l[d.COERCERTL]=new RegExp(y(p[d.COERCE]),"g"),m("LONETILDE"),p[d.LONETILDE]="(?:~>?)",m("TILDETRIM"),p[d.TILDETRIM]="(\\s*)"+p[d.LONETILDE]+"\\s+",a[d.TILDETRIM]=new RegExp(p[d.TILDETRIM],"g"),l[d.TILDETRIM]=new RegExp(y(p[d.TILDETRIM]),"g"),m("TILDE"),p[d.TILDE]="^"+p[d.LONETILDE]+p[d.XRANGEPLAIN]+"$",m("TILDELOOSE"),p[d.TILDELOOSE]="^"+p[d.LONETILDE]+p[d.XRANGEPLAINLOOSE]+"$",m("LONECARET"),p[d.LONECARET]="(?:\\^)",m("CARETTRIM"),p[d.CARETTRIM]="(\\s*)"+p[d.LONECARET]+"\\s+",a[d.CARETTRIM]=new RegExp(p[d.CARETTRIM],"g"),l[d.CARETTRIM]=new RegExp(y(p[d.CARETTRIM]),"g"),m("CARET"),p[d.CARET]="^"+p[d.LONECARET]+p[d.XRANGEPLAIN]+"$",m("CARETLOOSE"),p[d.CARETLOOSE]="^"+p[d.LONECARET]+p[d.XRANGEPLAINLOOSE]+"$",m("COMPARATORLOOSE"),p[d.COMPARATORLOOSE]="^"+p[d.GTLT]+"\\s*("+p[d.LOOSEPLAIN]+")$|^$",m("COMPARATOR"),p[d.COMPARATOR]="^"+p[d.GTLT]+"\\s*("+p[d.FULLPLAIN]+")$|^$",m("COMPARATORTRIM"),p[d.COMPARATORTRIM]="(\\s*)"+p[d.GTLT]+"\\s*("+p[d.LOOSEPLAIN]+"|"+p[d.XRANGEPLAIN]+")",a[d.COMPARATORTRIM]=new RegExp(p[d.COMPARATORTRIM],"g"),l[d.COMPARATORTRIM]=new RegExp(y(p[d.COMPARATORTRIM]),"g"),m("HYPHENRANGE"),p[d.HYPHENRANGE]="^\\s*("+p[d.XRANGEPLAIN]+")\\s+-\\s+("+p[d.XRANGEPLAIN]+")\\s*$",m("HYPHENRANGELOOSE"),p[d.HYPHENRANGELOOSE]="^\\s*("+p[d.XRANGEPLAINLOOSE]+")\\s+-\\s+("+p[d.XRANGEPLAINLOOSE]+")\\s*$",m("STAR"),p[d.STAR]="(<|>)?=?\\s*\\*";for(var _=0;_<h;_++)c(_,p[_]),a[_]||(a[_]=new RegExp(p[_]),l[_]=new RegExp(y(p[_])));function E(K,q){if(q&&typeof q=="object"||(q={loose:!!q,includePrerelease:!1}),K instanceof A)return K;if(typeof K!="string"||K.length>s||!(q.loose?l[d.LOOSE]:l[d.FULL]).test(K))return null;try{return new A(K,q)}catch{return null}}function A(K,q){if(q&&typeof q=="object"||(q={loose:!!q,includePrerelease:!1}),K instanceof A){if(K.loose===q.loose)return K;K=K.version}else if(typeof K!="string")throw new TypeError("Invalid Version: "+K);if(K.length>s)throw new TypeError("version is longer than "+s+" characters");if(!(this instanceof A))return new A(K,q);c("SemVer",K,q),this.options=q,this.loose=!!q.loose;var Q=K.trim().match(q.loose?l[d.LOOSE]:l[d.FULL]);if(!Q)throw new TypeError("Invalid Version: "+K);if(this.raw=K,this.major=+Q[1],this.minor=+Q[2],this.patch=+Q[3],this.major>u||this.major<0)throw new TypeError("Invalid major version");if(this.minor>u||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>u||this.patch<0)throw new TypeError("Invalid patch version");Q[4]?this.prerelease=Q[4].split(".").map(function(z){if(/^[0-9]+$/.test(z)){var ie=+z;if(ie>=0&&ie<u)return ie}return z}):this.prerelease=[],this.build=Q[5]?Q[5].split("."):[],this.format()}r.parse=E,r.valid=function(K,q){var Q=E(K,q);return Q?Q.version:null},r.clean=function(K,q){var Q=E(K.trim().replace(/^[=v]+/,""),q);return Q?Q.version:null},r.SemVer=A,A.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},A.prototype.toString=function(){return this.version},A.prototype.compare=function(K){return c("SemVer.compare",this.version,this.options,K),K instanceof A||(K=new A(K,this.options)),this.compareMain(K)||this.comparePre(K)},A.prototype.compareMain=function(K){return K instanceof A||(K=new A(K,this.options)),T(this.major,K.major)||T(this.minor,K.minor)||T(this.patch,K.patch)},A.prototype.comparePre=function(K){if(K instanceof A||(K=new A(K,this.options)),this.prerelease.length&&!K.prerelease.length)return-1;if(!this.prerelease.length&&K.prerelease.length)return 1;if(!this.prerelease.length&&!K.prerelease.length)return 0;var q=0;do{var Q=this.prerelease[q],z=K.prerelease[q];if(c("prerelease compare",q,Q,z),Q===void 0&&z===void 0)return 0;if(z===void 0)return 1;if(Q===void 0)return-1;if(Q!==z)return T(Q,z)}while(++q)},A.prototype.compareBuild=function(K){K instanceof A||(K=new A(K,this.options));var q=0;do{var Q=this.build[q],z=K.build[q];if(c("prerelease compare",q,Q,z),Q===void 0&&z===void 0)return 0;if(z===void 0)return 1;if(Q===void 0)return-1;if(Q!==z)return T(Q,z)}while(++q)},A.prototype.inc=function(K,q){switch(K){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",q);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",q);break;case"prepatch":this.prerelease.length=0,this.inc("patch",q),this.inc("pre",q);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",q),this.inc("pre",q);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var Q=this.prerelease.length;--Q>=0;)typeof this.prerelease[Q]=="number"&&(this.prerelease[Q]++,Q=-2);Q===-1&&this.prerelease.push(0)}q&&(this.prerelease[0]===q?isNaN(this.prerelease[1])&&(this.prerelease=[q,0]):this.prerelease=[q,0]);break;default:throw new Error("invalid increment argument: "+K)}return this.format(),this.raw=this.version,this},r.inc=function(K,q,Q,z){typeof Q=="string"&&(z=Q,Q=void 0);try{return new A(K,Q).inc(q,z).version}catch{return null}},r.diff=function(K,q){if(C(K,q))return null;var Q=E(K),z=E(q),ie="";if(Q.prerelease.length||z.prerelease.length){ie="pre";var _e="prerelease"}for(var He in Q)if((He==="major"||He==="minor"||He==="patch")&&Q[He]!==z[He])return ie+He;return _e},r.compareIdentifiers=T;var S=/^[0-9]+$/;function T(K,q){var Q=S.test(K),z=S.test(q);return Q&&z&&(K=+K,q=+q),K===q?0:Q&&!z?-1:z&&!Q?1:K<q?-1:1}function I(K,q,Q){return new A(K,Q).compare(new A(q,Q))}function L(K,q,Q){return I(K,q,Q)>0}function x(K,q,Q){return I(K,q,Q)<0}function C(K,q,Q){return I(K,q,Q)===0}function D(K,q,Q){return I(K,q,Q)!==0}function O(K,q,Q){return I(K,q,Q)>=0}function j(K,q,Q){return I(K,q,Q)<=0}function k(K,q,Q,z){switch(q){case"===":return typeof K=="object"&&(K=K.version),typeof Q=="object"&&(Q=Q.version),K===Q;case"!==":return typeof K=="object"&&(K=K.version),typeof Q=="object"&&(Q=Q.version),K!==Q;case"":case"=":case"==":return C(K,Q,z);case"!=":return D(K,Q,z);case">":return L(K,Q,z);case">=":return O(K,Q,z);case"<":return x(K,Q,z);case"<=":return j(K,Q,z);default:throw new TypeError("Invalid operator: "+q)}}function $(K,q){if(q&&typeof q=="object"||(q={loose:!!q,includePrerelease:!1}),K instanceof $){if(K.loose===!!q.loose)return K;K=K.value}if(!(this instanceof $))return new $(K,q);K=K.trim().split(/\s+/).join(" "),c("comparator",K,q),this.options=q,this.loose=!!q.loose,this.parse(K),this.semver===U?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}r.rcompareIdentifiers=function(K,q){return T(q,K)},r.major=function(K,q){return new A(K,q).major},r.minor=function(K,q){return new A(K,q).minor},r.patch=function(K,q){return new A(K,q).patch},r.compare=I,r.compareLoose=function(K,q){return I(K,q,!0)},r.compareBuild=function(K,q,Q){var z=new A(K,Q),ie=new A(q,Q);return z.compare(ie)||z.compareBuild(ie)},r.rcompare=function(K,q,Q){return I(q,K,Q)},r.sort=function(K,q){return K.sort(function(Q,z){return r.compareBuild(Q,z,q)})},r.rsort=function(K,q){return K.sort(function(Q,z){return r.compareBuild(z,Q,q)})},r.gt=L,r.lt=x,r.eq=C,r.neq=D,r.gte=O,r.lte=j,r.cmp=k,r.Comparator=$;var U={};function F(K,q){if(q&&typeof q=="object"||(q={loose:!!q,includePrerelease:!1}),K instanceof F)return K.loose===!!q.loose&&K.includePrerelease===!!q.includePrerelease?K:new F(K.raw,q);if(K instanceof $)return new F(K.value,q);if(!(this instanceof F))return new F(K,q);if(this.options=q,this.loose=!!q.loose,this.includePrerelease=!!q.includePrerelease,this.raw=K.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(Q){return this.parseRange(Q.trim())},this).filter(function(Q){return Q.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}function P(K,q){for(var Q=!0,z=K.slice(),ie=z.pop();Q&&z.length;)Q=z.every(function(_e){return ie.intersects(_e,q)}),ie=z.pop();return Q}function W(K){return!K||K.toLowerCase()==="x"||K==="*"}function Z(K,q,Q,z,ie,_e,He,be,Ve,Fe,me,ce,ke){return((q=W(Q)?"":W(z)?">="+Q+".0.0":W(ie)?">="+Q+"."+z+".0":">="+q)+" "+(be=W(Ve)?"":W(Fe)?"<"+(+Ve+1)+".0.0":W(me)?"<"+Ve+"."+(+Fe+1)+".0":ce?"<="+Ve+"."+Fe+"."+me+"-"+ce:"<="+be)).trim()}function ee(K,q,Q){for(var z=0;z<K.length;z++)if(!K[z].test(q))return!1;if(q.prerelease.length&&!Q.includePrerelease){for(z=0;z<K.length;z++)if(c(K[z].semver),K[z].semver!==U&&K[z].semver.prerelease.length>0){var ie=K[z].semver;if(ie.major===q.major&&ie.minor===q.minor&&ie.patch===q.patch)return!0}return!1}return!0}function J(K,q,Q){try{q=new F(q,Q)}catch{return!1}return q.test(K)}function ne(K,q,Q,z){var ie,_e,He,be,Ve;switch(K=new A(K,z),q=new F(q,z),Q){case">":ie=L,_e=j,He=x,be=">",Ve=">=";break;case"<":ie=x,_e=O,He=L,be="<",Ve="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(J(K,q,z))return!1;for(var Fe=0;Fe<q.set.length;++Fe){var me=q.set[Fe],ce=null,ke=null;if(me.forEach(function(je){je.semver===U&&(je=new $(">=0.0.0")),ce=ce||je,ke=ke||je,ie(je.semver,ce.semver,z)?ce=je:He(je.semver,ke.semver,z)&&(ke=je)}),ce.operator===be||ce.operator===Ve||(!ke.operator||ke.operator===be)&&_e(K,ke.semver)||ke.operator===Ve&&He(K,ke.semver))return!1}return!0}$.prototype.parse=function(K){var q=this.options.loose?l[d.COMPARATORLOOSE]:l[d.COMPARATOR],Q=K.match(q);if(!Q)throw new TypeError("Invalid comparator: "+K);this.operator=Q[1]!==void 0?Q[1]:"",this.operator==="="&&(this.operator=""),Q[2]?this.semver=new A(Q[2],this.options.loose):this.semver=U},$.prototype.toString=function(){return this.value},$.prototype.test=function(K){if(c("Comparator.test",K,this.options.loose),this.semver===U||K===U)return!0;if(typeof K=="string")try{K=new A(K,this.options)}catch{return!1}return k(K,this.operator,this.semver,this.options)},$.prototype.intersects=function(K,q){if(!(K instanceof $))throw new TypeError("a Comparator is required");var Q;if(q&&typeof q=="object"||(q={loose:!!q,includePrerelease:!1}),this.operator==="")return this.value===""||(Q=new F(K.value,q),J(this.value,Q,q));if(K.operator==="")return K.value===""||(Q=new F(this.value,q),J(K.semver,Q,q));var z=!(this.operator!==">="&&this.operator!==">"||K.operator!==">="&&K.operator!==">"),ie=!(this.operator!=="<="&&this.operator!=="<"||K.operator!=="<="&&K.operator!=="<"),_e=this.semver.version===K.semver.version,He=!(this.operator!==">="&&this.operator!=="<="||K.operator!==">="&&K.operator!=="<="),be=k(this.semver,"<",K.semver,q)&&(this.operator===">="||this.operator===">")&&(K.operator==="<="||K.operator==="<"),Ve=k(this.semver,">",K.semver,q)&&(this.operator==="<="||this.operator==="<")&&(K.operator===">="||K.operator===">");return z||ie||_e&&He||be||Ve},r.Range=F,F.prototype.format=function(){return this.range=this.set.map(function(K){return K.join(" ").trim()}).join("||").trim(),this.range},F.prototype.toString=function(){return this.range},F.prototype.parseRange=function(K){var q=this.options.loose,Q=q?l[d.HYPHENRANGELOOSE]:l[d.HYPHENRANGE];K=K.replace(Q,Z),c("hyphen replace",K),K=K.replace(l[d.COMPARATORTRIM],"$1$2$3"),c("comparator trim",K,l[d.COMPARATORTRIM]),K=(K=(K=K.replace(l[d.TILDETRIM],"$1~")).replace(l[d.CARETTRIM],"$1^")).split(/\s+/).join(" ");var z=q?l[d.COMPARATORLOOSE]:l[d.COMPARATOR],ie=K.split(" ").map(function(_e){return function(He,be){return c("comp",He,be),He=function(Ve,Fe){return Ve.trim().split(/\s+/).map(function(me){return function(ce,ke){c("caret",ce,ke);var je=ke.loose?l[d.CARETLOOSE]:l[d.CARET];return ce.replace(je,function(Oe,re,fe,he,se){var Ie;return c("caret",ce,Oe,re,fe,he,se),W(re)?Ie="":W(fe)?Ie=">="+re+".0.0 <"+(+re+1)+".0.0":W(he)?Ie=re==="0"?">="+re+"."+fe+".0 <"+re+"."+(+fe+1)+".0":">="+re+"."+fe+".0 <"+(+re+1)+".0.0":se?(c("replaceCaret pr",se),Ie=re==="0"?fe==="0"?">="+re+"."+fe+"."+he+"-"+se+" <"+re+"."+fe+"."+(+he+1):">="+re+"."+fe+"."+he+"-"+se+" <"+re+"."+(+fe+1)+".0":">="+re+"."+fe+"."+he+"-"+se+" <"+(+re+1)+".0.0"):(c("no pr"),Ie=re==="0"?fe==="0"?">="+re+"."+fe+"."+he+" <"+re+"."+fe+"."+(+he+1):">="+re+"."+fe+"."+he+" <"+re+"."+(+fe+1)+".0":">="+re+"."+fe+"."+he+" <"+(+re+1)+".0.0"),c("caret return",Ie),Ie})}(me,Fe)}).join(" ")}(He,be),c("caret",He),He=function(Ve,Fe){return Ve.trim().split(/\s+/).map(function(me){return function(ce,ke){var je=ke.loose?l[d.TILDELOOSE]:l[d.TILDE];return ce.replace(je,function(Oe,re,fe,he,se){var Ie;return c("tilde",ce,Oe,re,fe,he,se),W(re)?Ie="":W(fe)?Ie=">="+re+".0.0 <"+(+re+1)+".0.0":W(he)?Ie=">="+re+"."+fe+".0 <"+re+"."+(+fe+1)+".0":se?(c("replaceTilde pr",se),Ie=">="+re+"."+fe+"."+he+"-"+se+" <"+re+"."+(+fe+1)+".0"):Ie=">="+re+"."+fe+"."+he+" <"+re+"."+(+fe+1)+".0",c("tilde return",Ie),Ie})}(me,Fe)}).join(" ")}(He,be),c("tildes",He),He=function(Ve,Fe){return c("replaceXRanges",Ve,Fe),Ve.split(/\s+/).map(function(me){return function(ce,ke){ce=ce.trim();var je=ke.loose?l[d.XRANGELOOSE]:l[d.XRANGE];return ce.replace(je,function(Oe,re,fe,he,se,Ie){c("xRange",ce,Oe,re,fe,he,se,Ie);var ye=W(fe),$e=ye||W(he),nt=$e||W(se),et=nt;return re==="="&&et&&(re=""),Ie=ke.includePrerelease?"-0":"",ye?Oe=re===">"||re==="<"?"<0.0.0-0":"*":re&&et?($e&&(he=0),se=0,re===">"?(re=">=",$e?(fe=+fe+1,he=0,se=0):(he=+he+1,se=0)):re==="<="&&(re="<",$e?fe=+fe+1:he=+he+1),Oe=re+fe+"."+he+"."+se+Ie):$e?Oe=">="+fe+".0.0"+Ie+" <"+(+fe+1)+".0.0"+Ie:nt&&(Oe=">="+fe+"."+he+".0"+Ie+" <"+fe+"."+(+he+1)+".0"+Ie),c("xRange return",Oe),Oe})}(me,Fe)}).join(" ")}(He,be),c("xrange",He),He=function(Ve,Fe){return c("replaceStars",Ve,Fe),Ve.trim().replace(l[d.STAR],"")}(He,be),c("stars",He),He}(_e,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(ie=ie.filter(function(_e){return!!_e.match(z)})),ie=ie.map(function(_e){return new $(_e,this.options)},this)},F.prototype.intersects=function(K,q){if(!(K instanceof F))throw new TypeError("a Range is required");return this.set.some(function(Q){return P(Q,q)&&K.set.some(function(z){return P(z,q)&&Q.every(function(ie){return z.every(function(_e){return ie.intersects(_e,q)})})})})},r.toComparators=function(K,q){return new F(K,q).set.map(function(Q){return Q.map(function(z){return z.value}).join(" ").trim().split(" ")})},F.prototype.test=function(K){if(!K)return!1;if(typeof K=="string")try{K=new A(K,this.options)}catch{return!1}for(var q=0;q<this.set.length;q++)if(ee(this.set[q],K,this.options))return!0;return!1},r.satisfies=J,r.maxSatisfying=function(K,q,Q){var z=null,ie=null;try{var _e=new F(q,Q)}catch{return null}return K.forEach(function(He){_e.test(He)&&(z&&ie.compare(He)!==-1||(ie=new A(z=He,Q)))}),z},r.minSatisfying=function(K,q,Q){var z=null,ie=null;try{var _e=new F(q,Q)}catch{return null}return K.forEach(function(He){_e.test(He)&&(z&&ie.compare(He)!==1||(ie=new A(z=He,Q)))}),z},r.minVersion=function(K,q){K=new F(K,q);var Q=new A("0.0.0");if(K.test(Q)||(Q=new A("0.0.0-0"),K.test(Q)))return Q;Q=null;for(var z=0;z<K.set.length;++z)K.set[z].forEach(function(ie){var _e=new A(ie.semver.version);switch(ie.operator){case">":_e.prerelease.length===0?_e.patch++:_e.prerelease.push(0),_e.raw=_e.format();case"":case">=":Q&&!L(Q,_e)||(Q=_e);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+ie.operator)}});return Q&&K.test(Q)?Q:null},r.validRange=function(K,q){try{return new F(K,q).range||"*"}catch{return null}},r.ltr=function(K,q,Q){return ne(K,q,"<",Q)},r.gtr=function(K,q,Q){return ne(K,q,">",Q)},r.outside=ne,r.prerelease=function(K,q){var Q=E(K,q);return Q&&Q.prerelease.length?Q.prerelease:null},r.intersects=function(K,q,Q){return K=new F(K,Q),q=new F(q,Q),K.intersects(q)},r.coerce=function(K,q){if(K instanceof A)return K;if(typeof K=="number"&&(K=String(K)),typeof K!="string")return null;var Q=null;if((q=q||{}).rtl){for(var z;(z=l[d.COERCERTL].exec(K))&&(!Q||Q.index+Q[0].length!==K.length);)Q&&z.index+z[0].length===Q.index+Q[0].length||(Q=z),l[d.COERCERTL].lastIndex=z.index+z[1].length+z[2].length;l[d.COERCERTL].lastIndex=-1}else Q=K.match(l[d.COERCE]);return Q===null?null:E(Q[2]+"."+(Q[3]||"0")+"."+(Q[4]||"0"),q)}},"./node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js":(o,r,c)=>{"use strict";let s=c("os"),u=c("tty"),H=c("./node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"),{env:a}=process,l;function p(h){return h!==0&&{level:h,hasBasic:!0,has256:h>=2,has16m:h>=3}}function d(h,m){if(l===0)return 0;if(H("color=16m")||H("color=full")||H("color=truecolor"))return 3;if(H("color=256"))return 2;if(h&&!m&&l===void 0)return 0;let g=l||0;if(a.TERM==="dumb")return g;if(process.platform==="win32"){let y=s.release().split(".");return Number(y[0])>=10&&Number(y[2])>=10586?Number(y[2])>=14931?3:2:1}if("CI"in a)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(y=>y in a)||a.CI_NAME==="codeship"?1:g;if("TEAMCITY_VERSION"in a)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION)?1:0;if(a.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in a){let y=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return y>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||"COLORTERM"in a?1:g}H("no-color")||H("no-colors")||H("color=false")||H("color=never")?l=0:(H("color")||H("colors")||H("color=true")||H("color=always"))&&(l=1),"FORCE_COLOR"in a&&(l=a.FORCE_COLOR==="true"?1:a.FORCE_COLOR==="false"?0:a.FORCE_COLOR.length===0?1:Math.min(parseInt(a.FORCE_COLOR,10),3)),o.exports={supportsColor:function(h){return p(d(h,h&&h.isTTY))},stdout:p(d(!0,u.isatty(1))),stderr:p(d(!0,u.isatty(2)))}},"./node_modules/.pnpm/to-fast-properties@2.0.0/node_modules/to-fast-properties/index.js":o=>{"use strict";let r=null;function c(s){if(r!==null&&(r.property,1)){let u=r;return r=c.prototype=null,u}return r=c.prototype=s??Object.create(null),new c}c(),o.exports=function(s){return c(s)}},"./stubs/babel-codeframe.js":(o,r,c)=>{"use strict";function s(){return""}c.r(r),c.d(r,{codeFrameColumns:()=>s})},"./stubs/helper-compilation-targets.js":(o,r,c)=>{"use strict";function s(){return{}}c.r(r),c.d(r,{default:()=>s})},assert:o=>{"use strict";o.exports=require("assert")},fs:o=>{"use strict";o.exports=require("fs")},module:o=>{"use strict";o.exports=require("module")},os:o=>{"use strict";o.exports=require("os")},path:o=>{"use strict";o.exports=require("path")},process:o=>{"use strict";o.exports=require("process")},tty:o=>{"use strict";o.exports=require("tty")},url:o=>{"use strict";o.exports=require("url")},util:o=>{"use strict";o.exports=require("util")},v8:o=>{"use strict";o.exports=require("v8")},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/caching.js":(o,r,c)=>{"use strict";function s(){let A=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return A},A}Object.defineProperty(r,"__esModule",{value:!0}),r.assertSimpleType=_,r.makeStrongCache=d,r.makeStrongCacheSync=function(A){return a(d(A))},r.makeWeakCache=p,r.makeWeakCacheSync=function(A){return a(p(A))};var u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/async.js"),H=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/util.js");let a=A=>s()(A).sync;function*l(){return!0}function p(A){return h(WeakMap,A)}function d(A){return h(Map,A)}function h(A,S){let T=new A,I=new A,L=new A;return function*(x,C){let D=yield*(0,u.isAsync)(),O=D?I:T,j=yield*function*(P,W,Z,ee,J){let ne=yield*m(W,ee,J);if(ne.valid)return ne;if(P){let K=yield*m(Z,ee,J);if(K.valid)return{valid:!0,value:yield*(0,u.waitFor)(K.value.promise)}}return{valid:!1,value:null}}(D,O,L,x,C);if(j.valid)return j.value;let k=new y(C),$=S(x,k),U,F;return F=(0,H.isIterableIterator)($)?yield*(0,u.onFirstPause)($,()=>{U=function(P,W,Z){let ee=new E;return g(W,P,Z,ee),ee}(k,L,x)}):$,g(O,k,x,F),U&&(L.delete(x),U.release(F)),F}}function*m(A,S,T){let I=A.get(S);if(I){for(let{value:L,valid:x}of I)if(yield*x(T))return{valid:!0,value:L}}return{valid:!1,value:null}}function g(A,S,T,I){S.configured()||S.forever();let L=A.get(T);switch(S.deactivate(),S.mode()){case"forever":L=[{value:I,valid:l}],A.set(T,L);break;case"invalidate":L=[{value:I,valid:S.validator()}],A.set(T,L);break;case"valid":L?L.push({value:I,valid:S.validator()}):(L=[{value:I,valid:S.validator()}],A.set(T,L))}}class y{constructor(S){this._active=!0,this._never=!1,this._forever=!1,this._invalidate=!1,this._configured=!1,this._pairs=[],this._data=void 0,this._data=S}simple(){return function(S){function T(I){if(typeof I!="boolean")return S.using(()=>_(I()));I?S.forever():S.never()}return T.forever=()=>S.forever(),T.never=()=>S.never(),T.using=I=>S.using(()=>_(I())),T.invalidate=I=>S.invalidate(()=>_(I())),T}(this)}mode(){return this._never?"never":this._forever?"forever":this._invalidate?"invalidate":"valid"}forever(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never)throw new Error("Caching has already been configured with .never()");this._forever=!0,this._configured=!0}never(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._forever)throw new Error("Caching has already been configured with .forever()");this._never=!0,this._configured=!0}using(S){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never||this._forever)throw new Error("Caching has already been configured with .never or .forever()");this._configured=!0;let T=S(this._data),I=(0,u.maybeAsync)(S,"You appear to be using an async cache handler, but Babel has been called synchronously");return(0,u.isThenable)(T)?T.then(L=>(this._pairs.push([L,I]),L)):(this._pairs.push([T,I]),T)}invalidate(S){return this._invalidate=!0,this.using(S)}validator(){let S=this._pairs;return function*(T){for(let[I,L]of S)if(I!==(yield*L(T)))return!1;return!0}}deactivate(){this._active=!1}configured(){return this._configured}}function _(A){if((0,u.isThenable)(A))throw new Error("You appear to be using an async cache handler, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously handle your caching logic.");if(A!=null&&typeof A!="string"&&typeof A!="boolean"&&typeof A!="number")throw new Error("Cache keys must be either string, boolean, number, null, or undefined.");return A}class E{constructor(){this.released=!1,this.promise=void 0,this._resolve=void 0,this.promise=new Promise(S=>{this._resolve=S})}release(S){this.released=!0,this._resolve(S)}}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/config-chain.js":(o,r,c)=>{"use strict";function s(){let me=c("path");return s=function(){return me},me}function u(){let me=c("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/index.js");return u=function(){return me},me}Object.defineProperty(r,"__esModule",{value:!0}),r.buildPresetChain=function*(me,ce){let ke=yield*_(me,ce);return ke?{plugins:z(ke.plugins),presets:z(ke.presets),options:ke.options.map(je=>Q(je)),files:new Set}:null},r.buildPresetChainWalker=void 0,r.buildRootChain=function*(me,ce){let ke,je,Oe=new l.ConfigPrinter,re=yield*C({options:me,dirname:ce.cwd},ce,void 0,Oe);if(!re)return null;let fe=yield*Oe.output(),he;typeof me.configFile=="string"?he=yield*(0,h.loadConfig)(me.configFile,ce.cwd,ce.envName,ce.caller):me.configFile!==!1&&(he=yield*(0,h.findRootConfig)(ce.root,ce.envName,ce.caller));let{babelrc:se,babelrcRoots:Ie}=me,ye=ce.cwd,$e=q(),nt=new l.ConfigPrinter;if(he){let Ae=I(he),de=yield*O(Ae,ce,void 0,nt);if(!de)return null;ke=yield*nt.output(),se===void 0&&(se=Ae.options.babelrc),Ie===void 0&&(ye=Ae.dirname,Ie=Ae.options.babelrcRoots),ne($e,de)}let et,xe,pe=!1,ue=q();if((se===!0||se===void 0)&&typeof ce.filename=="string"){let Ae=yield*(0,h.findPackageData)(ce.filename);if(Ae&&function(de,We,tt,mt){if(typeof tt=="boolean")return tt;let At=de.root;if(tt===void 0)return We.directories.indexOf(At)!==-1;let pt=tt;return Array.isArray(pt)||(pt=[pt]),pt=pt.map(Nt=>typeof Nt=="string"?s().resolve(mt,Nt):Nt),pt.length===1&&pt[0]===At?We.directories.indexOf(At)!==-1:pt.some(Nt=>(typeof Nt=="string"&&(Nt=(0,a.default)(Nt,mt)),We.directories.some(Ce=>Fe(Nt,mt,Ce,de))))}(ce,Ae,Ie,ye)){if({ignore:et,config:xe}=yield*(0,h.findRelativeConfig)(Ae,ce.envName,ce.caller),et&&ue.files.add(et.filepath),et&&be(ce,et.ignore,null,et.dirname)&&(pe=!0),xe&&!pe){let de=L(xe),We=new l.ConfigPrinter,tt=yield*O(de,ce,void 0,We);tt?(je=yield*We.output(),ne(ue,tt)):pe=!0}xe&&pe&&ue.files.add(xe.filepath)}}ce.showConfig&&console.log(`Babel configs on "${ce.filename}" (ascending priority):
|
|
`+[ke,je,fe].filter(Ae=>!!Ae).join(`
|
|
|
|
`)+`
|
|
-----End Babel configs-----`);let Se=ne(ne(ne(q(),$e),ue),re);return{plugins:pe?[]:z(Se.plugins),presets:pe?[]:z(Se.presets),options:pe?[]:Se.options.map(Ae=>Q(Ae)),fileHandling:pe?"ignored":"transpile",ignore:et||void 0,babelrc:xe||void 0,config:he||void 0,files:Se.files}};var H=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/options.js"),a=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/pattern-to-regex.js"),l=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/printer.js"),p=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"),d=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/config-error.js"),h=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/index.js"),m=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/caching.js"),g=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/config-descriptors.js");let y=u()("babel:config:config-chain"),_=r.buildPresetChainWalker=ee({root:me=>E(me),env:(me,ce)=>A(me)(ce),overrides:(me,ce)=>S(me)(ce),overridesEnv:(me,ce,ke)=>T(me)(ce)(ke),createLogger:()=>()=>{}}),E=(0,m.makeWeakCacheSync)(me=>F(me,me.alias,g.createUncachedDescriptors)),A=(0,m.makeWeakCacheSync)(me=>(0,m.makeStrongCacheSync)(ce=>P(me,me.alias,g.createUncachedDescriptors,ce))),S=(0,m.makeWeakCacheSync)(me=>(0,m.makeStrongCacheSync)(ce=>W(me,me.alias,g.createUncachedDescriptors,ce))),T=(0,m.makeWeakCacheSync)(me=>(0,m.makeStrongCacheSync)(ce=>(0,m.makeStrongCacheSync)(ke=>Z(me,me.alias,g.createUncachedDescriptors,ce,ke)))),I=(0,m.makeWeakCacheSync)(me=>({filepath:me.filepath,dirname:me.dirname,options:(0,H.validate)("configfile",me.options,me.filepath)})),L=(0,m.makeWeakCacheSync)(me=>({filepath:me.filepath,dirname:me.dirname,options:(0,H.validate)("babelrcfile",me.options,me.filepath)})),x=(0,m.makeWeakCacheSync)(me=>({filepath:me.filepath,dirname:me.dirname,options:(0,H.validate)("extendsfile",me.options,me.filepath)})),C=ee({root:me=>F(me,"base",g.createCachedDescriptors),env:(me,ce)=>P(me,"base",g.createCachedDescriptors,ce),overrides:(me,ce)=>W(me,"base",g.createCachedDescriptors,ce),overridesEnv:(me,ce,ke)=>Z(me,"base",g.createCachedDescriptors,ce,ke),createLogger:(me,ce,ke)=>function(je,Oe,re){var fe;return re?re.configure(Oe.showConfig,l.ChainFormatter.Programmatic,{callerName:(fe=Oe.caller)==null?void 0:fe.name}):()=>{}}(0,ce,ke)}),D=ee({root:me=>j(me),env:(me,ce)=>k(me)(ce),overrides:(me,ce)=>$(me)(ce),overridesEnv:(me,ce,ke)=>U(me)(ce)(ke),createLogger:(me,ce,ke)=>function(je,Oe,re){return re?re.configure(Oe.showConfig,l.ChainFormatter.Config,{filepath:je}):()=>{}}(me.filepath,ce,ke)});function*O(me,ce,ke,je){let Oe=yield*D(me,ce,ke,je);return Oe?.files.add(me.filepath),Oe}let j=(0,m.makeWeakCacheSync)(me=>F(me,me.filepath,g.createUncachedDescriptors)),k=(0,m.makeWeakCacheSync)(me=>(0,m.makeStrongCacheSync)(ce=>P(me,me.filepath,g.createUncachedDescriptors,ce))),$=(0,m.makeWeakCacheSync)(me=>(0,m.makeStrongCacheSync)(ce=>W(me,me.filepath,g.createUncachedDescriptors,ce))),U=(0,m.makeWeakCacheSync)(me=>(0,m.makeStrongCacheSync)(ce=>(0,m.makeStrongCacheSync)(ke=>Z(me,me.filepath,g.createUncachedDescriptors,ce,ke))));function F({dirname:me,options:ce},ke,je){return je(me,ce,ke)}function P({dirname:me,options:ce},ke,je,Oe){var re;let fe=(re=ce.env)==null?void 0:re[Oe];return fe?je(me,fe,`${ke}.env["${Oe}"]`):null}function W({dirname:me,options:ce},ke,je,Oe){var re;let fe=(re=ce.overrides)==null?void 0:re[Oe];if(!fe)throw new Error("Assertion failure - missing override");return je(me,fe,`${ke}.overrides[${Oe}]`)}function Z({dirname:me,options:ce},ke,je,Oe,re){var fe,he;let se=(fe=ce.overrides)==null?void 0:fe[Oe];if(!se)throw new Error("Assertion failure - missing override");let Ie=(he=se.env)==null?void 0:he[re];return Ie?je(me,Ie,`${ke}.overrides[${Oe}].env["${re}"]`):null}function ee({root:me,env:ce,overrides:ke,overridesEnv:je,createLogger:Oe}){return function*(re,fe,he=new Set,se){let{dirname:Ie}=re,ye=[],$e=me(re);if(ie($e,Ie,fe,re.filepath)){ye.push({config:$e,envName:void 0,index:void 0});let xe=ce(re,fe.envName);xe&&ie(xe,Ie,fe,re.filepath)&&ye.push({config:xe,envName:fe.envName,index:void 0}),($e.options.overrides||[]).forEach((pe,ue)=>{let Se=ke(re,ue);if(ie(Se,Ie,fe,re.filepath)){ye.push({config:Se,index:ue,envName:void 0});let Ae=je(re,ue,fe.envName);Ae&&ie(Ae,Ie,fe,re.filepath)&&ye.push({config:Ae,index:ue,envName:fe.envName})}})}if(ye.some(({config:{options:{ignore:xe,only:pe}}})=>be(fe,xe,pe,Ie)))return null;let nt=q(),et=Oe(re,fe,se);for(let{config:xe,index:pe,envName:ue}of ye){if(!(yield*J(nt,xe.options,Ie,fe,he,se)))return null;et(xe,pe,ue),yield*K(nt,xe)}return nt}}function*J(me,ce,ke,je,Oe,re){if(ce.extends===void 0)return!0;let fe=yield*(0,h.loadConfig)(ce.extends,ke,je.envName,je.caller);if(Oe.has(fe))throw new Error(`Configuration cycle detected loading ${fe.filepath}.
|
|
File already loaded following the config chain:
|
|
`+Array.from(Oe,se=>` - ${se.filepath}`).join(`
|
|
`));Oe.add(fe);let he=yield*O(x(fe),je,Oe,re);return Oe.delete(fe),!!he&&(ne(me,he),!0)}function ne(me,ce){me.options.push(...ce.options),me.plugins.push(...ce.plugins),me.presets.push(...ce.presets);for(let ke of ce.files)me.files.add(ke);return me}function*K(me,{options:ce,plugins:ke,presets:je}){return me.options.push(ce),me.plugins.push(...yield*ke()),me.presets.push(...yield*je()),me}function q(){return{options:[],presets:[],plugins:[],files:new Set}}function Q(me){let ce=Object.assign({},me);return delete ce.extends,delete ce.env,delete ce.overrides,delete ce.plugins,delete ce.presets,delete ce.passPerPreset,delete ce.ignore,delete ce.only,delete ce.test,delete ce.include,delete ce.exclude,hasOwnProperty.call(ce,"sourceMap")&&(ce.sourceMaps=ce.sourceMap,delete ce.sourceMap),ce}function z(me){let ce=new Map,ke=[];for(let je of me)if(typeof je.value=="function"){let Oe=je.value,re=ce.get(Oe);re||(re=new Map,ce.set(Oe,re));let fe=re.get(je.name);fe?fe.value=je:(fe={value:je},ke.push(fe),je.ownPass||re.set(je.name,fe))}else ke.push({value:je});return ke.reduce((je,Oe)=>(je.push(Oe.value),je),[])}function ie({options:me},ce,ke,je){return(me.test===void 0||_e(ke,me.test,ce,je))&&(me.include===void 0||_e(ke,me.include,ce,je))&&(me.exclude===void 0||!_e(ke,me.exclude,ce,je))}function _e(me,ce,ke,je){return Ve(me,Array.isArray(ce)?ce:[ce],ke,je)}function He(me,ce){return ce instanceof RegExp?String(ce):ce}function be(me,ce,ke,je){if(ce&&Ve(me,ce,je)){var Oe;let fe=`No config is applied to "${(Oe=me.filename)!=null?Oe:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(ce,He)}\` from "${je}"`;return y(fe),me.showConfig&&console.log(fe),!0}if(ke&&!Ve(me,ke,je)){var re;let fe=`No config is applied to "${(re=me.filename)!=null?re:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(ke,He)}\` from "${je}"`;return y(fe),me.showConfig&&console.log(fe),!0}return!1}function Ve(me,ce,ke,je){return ce.some(Oe=>Fe(Oe,ke,me.filename,me,je))}function Fe(me,ce,ke,je,Oe){if(typeof me=="function")return!!(0,p.endHiddenCallStack)(me)(ke,{dirname:ce,envName:je.envName,caller:je.caller});if(typeof ke!="string")throw new d.default("Configuration contains string/RegExp pattern, but no filename was passed to Babel",Oe);return typeof me=="string"&&(me=(0,a.default)(me,ce)),me.test(ke)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/config-descriptors.js":(o,r,c)=>{"use strict";function s(){let x=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return x},x}Object.defineProperty(r,"__esModule",{value:!0}),r.createCachedDescriptors=function(x,C,D){let{plugins:O,presets:j,passPerPreset:k}=C;return{options:h(C,x),plugins:O?()=>_(O,x)(D):()=>d([]),presets:j?()=>g(j,x)(D)(!!k):()=>d([])}},r.createDescriptor=L,r.createUncachedDescriptors=function(x,C,D){return{options:h(C,x),plugins:(0,u.once)(()=>T(C.plugins||[],x,D)),presets:(0,u.once)(()=>S(C.presets||[],x,D,!!C.passPerPreset))}};var u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/functional.js"),H=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/index.js"),a=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/item.js"),l=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/caching.js"),p=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/resolve-targets.js");function*d(x){return x}function h(x,C){return typeof x.browserslistConfigFile=="string"&&(x.browserslistConfigFile=(0,p.resolveBrowserslistConfigFile)(x.browserslistConfigFile,C)),x}let m=new WeakMap,g=(0,l.makeWeakCacheSync)((x,C)=>{let D=C.using(O=>O);return(0,l.makeStrongCacheSync)(O=>(0,l.makeStrongCache)(function*(j){return(yield*S(x,D,O,j)).map(k=>A(m,k))}))}),y=new WeakMap,_=(0,l.makeWeakCacheSync)((x,C)=>{let D=C.using(O=>O);return(0,l.makeStrongCache)(function*(O){return(yield*T(x,D,O)).map(j=>A(y,j))})}),E={};function A(x,C){let{value:D,options:O=E}=C;if(O===!1)return C;let j=x.get(D);j||(j=new WeakMap,x.set(D,j));let k=j.get(O);if(k||(k=[],j.set(O,k)),k.indexOf(C)===-1){let $=k.filter(U=>{return P=C,(F=U).name===P.name&&F.value===P.value&&F.options===P.options&&F.dirname===P.dirname&&F.alias===P.alias&&F.ownPass===P.ownPass&&((W=F.file)==null?void 0:W.request)===((Z=P.file)==null?void 0:Z.request)&&((ee=F.file)==null?void 0:ee.resolved)===((J=P.file)==null?void 0:J.resolved);var F,P,W,Z,ee,J});if($.length>0)return $[0];k.push(C)}return C}function*S(x,C,D,O){return yield*I("preset",x,C,D,O)}function*T(x,C,D){return yield*I("plugin",x,C,D)}function*I(x,C,D,O,j){let k=yield*s().all(C.map(($,U)=>L($,D,{type:x,alias:`${O}$${U}`,ownPass:!!j})));return function($){let U=new Map;for(let F of $){if(typeof F.value!="function")continue;let P=U.get(F.value);if(P||(P=new Set,U.set(F.value,P)),P.has(F.name)){let W=$.filter(Z=>Z.value===F.value);throw new Error(["Duplicate plugin/preset detected.","If you'd like to use two separate instances of a plugin,","they need separate names, e.g.",""," plugins: ["," ['some-plugin', {}],"," ['some-plugin', {}, 'some unique name'],"," ]","","Duplicates detected are:",`${JSON.stringify(W,null,2)}`].join(`
|
|
`))}P.add(F.name)}}(k),k}function*L(x,C,{type:D,alias:O,ownPass:j}){let k=(0,a.getItemDescriptor)(x);if(k)return k;let $,U,F,P=x;Array.isArray(P)&&(P.length===3?[P,U,$]=P:[P,U]=P);let W=null;if(typeof P=="string"){if(typeof D!="string")throw new Error("To resolve a string-based item, the type of item must be given");let Z=D==="plugin"?H.loadPlugin:H.loadPreset,ee=P;({filepath:W,value:P}=yield*Z(P,C)),F={request:ee,resolved:W}}if(!P)throw new Error(`Unexpected falsy value: ${String(P)}`);if(typeof P=="object"&&P.__esModule){if(!P.default)throw new Error("Must export a default export when using ES6 modules.");P=P.default}if(typeof P!="object"&&typeof P!="function")throw new Error(`Unsupported format: ${typeof P}. Expected an object or a function.`);if(W!==null&&typeof P=="object"&&P)throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${W}`);return{name:$,alias:W||O,value:P,options:U,dirname:C,ownPass:j,file:F}}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/configuration.js":(o,r,c)=>{"use strict";function s(){let U=c("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/index.js");return s=function(){return U},U}function u(){let U=c("fs");return u=function(){return U},U}function H(){let U=c("path");return H=function(){return U},U}function a(){let U=c("./node_modules/.pnpm/json5@2.2.3/node_modules/json5/dist/index.mjs");return a=function(){return U},U}function l(){let U=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return l=function(){return U},U}Object.defineProperty(r,"__esModule",{value:!0}),r.ROOT_CONFIG_FILENAMES=void 0,r.findConfigUpwards=function(U){let F=U;for(;;){for(let W of S)if(u().existsSync(H().join(F,W)))return F;let P=H().dirname(F);if(F===P)break;F=P}return null},r.findRelativeConfig=function*(U,F,P){let W=null,Z=null,ee=H().dirname(U.filepath);for(let ne of U.directories){var J;if(W||(W=yield*k(T,ne,F,P,((J=U.pkg)==null?void 0:J.dirname)===ne?D(U.pkg):null)),!Z){let K=H().join(ne,I);Z=yield*j(K),Z&&A("Found ignore %o from %o.",Z.filepath,ee)}}return{config:W,ignore:Z}},r.findRootConfig=function(U,F,P){return k(S,U,F,P)},r.loadConfig=function*(U,F,P,W){let Z=(J=process.versions.node,ne="8.9",J=J.split("."),ne=ne.split("."),+J[0]>+ne[0]||J[0]==ne[0]&&+J[1]>=+ne[1]?c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").resolve:(K,{paths:[q]},Q=c("module"))=>{let z=Q._findPath(K,Q._nodeModulePaths(q).concat(q));if(z)return z;throw z=new Error(`Cannot resolve module '${K}'`),z.code="MODULE_NOT_FOUND",z})(U,{paths:[F]}),ee=yield*$(Z,P,W);var J,ne;if(!ee)throw new y.default("Config file contains no configuration data",Z);return A("Loaded config %o from %o.",U,F),ee},r.resolveShowConfigPath=function*(U){let F=process.env.BABEL_SHOW_CONFIG_FOR;if(F!=null){let P=H().resolve(U,F);if(!(yield*_.stat(P)).isFile())throw new Error(`${P}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`);return P}return null};var p=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/caching.js"),d=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/config-api.js"),h=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/utils.js"),m=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/module-types.js"),g=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/pattern-to-regex.js"),y=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/config-error.js"),_=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/fs.js"),E=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let A=s()("babel:config:loading:files:configuration"),S=r.ROOT_CONFIG_FILENAMES=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json","babel.config.cts"],T=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json",".babelrc.cts"],I=".babelignore",L=(0,p.makeWeakCache)(function*(U,F){return yield*[],{options:(0,E.endHiddenCallStack)(U)((0,d.makeConfigAPI)(F)),cacheNeedsConfiguration:!F.configured()}});function*x(U,F){if(!u().existsSync(U))return null;let P=yield*(0,m.default)(U,"You appear to be using a native ECMAScript module configuration file, which is only supported when running Babel asynchronously."),W=!1;if(typeof P=="function"&&({options:P,cacheNeedsConfiguration:W}=yield*L(P,F)),!P||typeof P!="object"||Array.isArray(P))throw new y.default("Configuration should be an exported JavaScript object.",U);if(typeof P.then=="function")throw P.catch==null||P.catch(()=>{}),new y.default("You appear to be using an async configuration, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously return your config.",U);return W&&function(Z){throw new y.default(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured
|
|
for various types of caching, using the first param of their handler functions:
|
|
|
|
module.exports = function(api) {
|
|
// The API exposes the following:
|
|
|
|
// Cache the returned value forever and don't call this function again.
|
|
api.cache(true);
|
|
|
|
// Don't cache at all. Not recommended because it will be very slow.
|
|
api.cache(false);
|
|
|
|
// Cached based on the value of some function. If this function returns a value different from
|
|
// a previously-encountered value, the plugins will re-evaluate.
|
|
var env = api.cache(() => process.env.NODE_ENV);
|
|
|
|
// If testing for a specific env, we recommend specifics to avoid instantiating a plugin for
|
|
// any possible NODE_ENV value that might come up during plugin execution.
|
|
var isProd = api.cache(() => process.env.NODE_ENV === "production");
|
|
|
|
// .cache(fn) will perform a linear search though instances to find the matching plugin based
|
|
// based on previous instantiated plugins. If you want to recreate the plugin and discard the
|
|
// previous instance whenever something changes, you may use:
|
|
var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");
|
|
|
|
// Note, we also expose the following more-verbose versions of the above examples:
|
|
api.cache.forever(); // api.cache(true)
|
|
api.cache.never(); // api.cache(false)
|
|
api.cache.using(fn); // api.cache(fn)
|
|
|
|
// Return the value that will be cached.
|
|
return { };
|
|
};`,Z)}(U),function(Z,ee){let J=C.get(Z);J||C.set(Z,J=new Map);let ne=J.get(ee);return ne||(ne={filepath:ee,dirname:H().dirname(ee),options:Z},J.set(ee,ne)),ne}(P,U)}let C=new WeakMap,D=(0,p.makeWeakCacheSync)(U=>{let F=U.options.babel;if(F===void 0)return null;if(typeof F!="object"||Array.isArray(F)||F===null)throw new y.default(".babel property must be an object",U.filepath);return{filepath:U.filepath,dirname:U.dirname,options:F}}),O=(0,h.makeStaticFileCache)((U,F)=>{let P;try{P=a().parse(F)}catch(W){throw new y.default(`Error while parsing config - ${W.message}`,U)}if(!P)throw new y.default("No config detected",U);if(typeof P!="object")throw new y.default("Config returned typeof "+typeof P,U);if(Array.isArray(P))throw new y.default("Expected config object but found array",U);return delete P.$schema,{filepath:U,dirname:H().dirname(U),options:P}}),j=(0,h.makeStaticFileCache)((U,F)=>{let P=H().dirname(U),W=F.split(`
|
|
`).map(Z=>Z.replace(/#(.*?)$/,"").trim()).filter(Z=>!!Z);for(let Z of W)if(Z[0]==="!")throw new y.default("Negation of file paths is not supported.",U);return{filepath:U,dirname:H().dirname(U),ignore:W.map(Z=>(0,g.default)(Z,P))}});function*k(U,F,P,W,Z=null){let ee=(yield*l().all(U.map(J=>$(H().join(F,J),P,W)))).reduce((J,ne)=>{if(ne&&J)throw new y.default(`Multiple configuration files found. Please remove one:
|
|
- ${H().basename(J.filepath)}
|
|
- ${ne.filepath}
|
|
from ${F}`);return ne||J},Z);return ee&&A("Found configuration %o from %o.",ee.filepath,F),ee}function $(U,F,P){switch(H().extname(U)){case".js":case".cjs":case".mjs":case".cts":return x(U,{envName:F,caller:P});default:return O(U)}}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/import.cjs":(o,r,c)=>{o.exports=function(s){return c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files lazy recursive")(s)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ROOT_CONFIG_FILENAMES",{enumerable:!0,get:function(){return u.ROOT_CONFIG_FILENAMES}}),Object.defineProperty(r,"findConfigUpwards",{enumerable:!0,get:function(){return u.findConfigUpwards}}),Object.defineProperty(r,"findPackageData",{enumerable:!0,get:function(){return s.findPackageData}}),Object.defineProperty(r,"findRelativeConfig",{enumerable:!0,get:function(){return u.findRelativeConfig}}),Object.defineProperty(r,"findRootConfig",{enumerable:!0,get:function(){return u.findRootConfig}}),Object.defineProperty(r,"loadConfig",{enumerable:!0,get:function(){return u.loadConfig}}),Object.defineProperty(r,"loadPlugin",{enumerable:!0,get:function(){return H.loadPlugin}}),Object.defineProperty(r,"loadPreset",{enumerable:!0,get:function(){return H.loadPreset}}),Object.defineProperty(r,"resolvePlugin",{enumerable:!0,get:function(){return H.resolvePlugin}}),Object.defineProperty(r,"resolvePreset",{enumerable:!0,get:function(){return H.resolvePreset}}),Object.defineProperty(r,"resolveShowConfigPath",{enumerable:!0,get:function(){return u.resolveShowConfigPath}});var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/package.js"),u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/configuration.js"),H=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/plugins.js")},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/module-types.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function*(L,x){switch(u().extname(L)){case".cjs":return E(L,arguments[2]);case".mjs":break;case".cts":return function(C){let D=".cts",O=!!(c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[".ts"]||c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[".cts"]||c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[".mts"]),j;if(!O){let k={babelrc:!1,configFile:!1,sourceType:"unambiguous",sourceMaps:"inline",sourceFileName:u().basename(C),presets:[[I(C),Object.assign({onlyRemoveTypeImports:!0,optimizeConstEnums:!0},{allowDeclareFields:!0})]]};j=function($,U){if(j&&U.endsWith(D))try{return $._compile((0,h.transformFileSync)(U,Object.assign({},k,{filename:U})).code,U)}catch(F){if(!O){let P=c("./node_modules/.pnpm/@babel+preset-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/preset-typescript/package.json");a().lt(P.version,"7.21.4")&&console.error("`.cts` configuration file failed to load, please try to update `@babel/preset-typescript`.")}throw F}return c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[".js"]($,U)},c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[D]=j}try{return E(C)}finally{O||(c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[D]===j&&delete c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[D],j=void 0)}}(L);default:try{return E(L,arguments[2])}catch(C){if(C.code!=="ERR_REQUIRE_ESM")throw C}}if(yield*(0,s.isAsync)())return yield*(0,s.waitFor)(A(L));throw new d.default(x,L)},r.supportsESM=void 0;var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/async.js");function u(){let L=c("path");return u=function(){return L},L}function H(){let L=c("url");return H=function(){return L},L}function a(){let L=c("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return a=function(){return L},L}function l(){let L=c("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/index.js");return l=function(){return L},L}var p=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"),d=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/config-error.js"),h=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transform-file.js");function m(L,x,C,D,O,j,k){try{var $=L[j](k),U=$.value}catch(F){return void C(F)}$.done?x(U):Promise.resolve(U).then(D,O)}let g=l()("babel:config:loading:files:module-types");try{var y=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/import.cjs")}catch{}r.supportsESM=a().satisfies(process.versions.node,"^12.17 || >=13.2");let _=new Set;function E(L){if(_.has(L))return g("Auto-ignoring usage of config %o.",L),{};let x;try{_.add(L),x=(0,p.endHiddenCallStack)(c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive"))(L)}finally{_.delete(L)}var C;return(C=x)!=null&&C.__esModule?x.default||(arguments[1]?x:void 0):x}let A=(0,p.endHiddenCallStack)((S=function*(L){let x=(0,H().pathToFileURL)(L).toString();if(!y)throw new d.default(`Internal error: Native ECMAScript modules aren't supported by this platform.
|
|
`,L);return(yield y(x)).default},T=function(){var L=this,x=arguments;return new Promise(function(C,D){var O=S.apply(L,x);function j($){m(O,C,D,j,k,"next",$)}function k($){m(O,C,D,j,k,"throw",$)}j(void 0)})},function(L){return T.apply(this,arguments)}));var S,T;function I(L){try{return c("./node_modules/.pnpm/@babel+preset-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/preset-typescript/lib/index.js")}catch(x){if(x.code!=="MODULE_NOT_FOUND")throw x;let C="You appear to be using a .cts file as Babel configuration, but the `@babel/preset-typescript` package was not found: please install it!";throw process.versions.pnp&&(C+=`
|
|
If you are using Yarn Plug'n'Play, you may also need to add the following configuration to your .yarnrc.yml file:
|
|
|
|
packageExtensions:
|
|
"@babel/core@*":
|
|
peerDependencies:
|
|
"@babel/preset-typescript": "*"
|
|
`),new d.default(C,L)}}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/package.js":(o,r,c)=>{"use strict";function s(){let p=c("path");return s=function(){return p},p}Object.defineProperty(r,"__esModule",{value:!0}),r.findPackageData=function*(p){let d=null,h=[],m=!0,g=s().dirname(p);for(;!d&&s().basename(g)!=="node_modules";){h.push(g),d=yield*l(s().join(g,a));let y=s().dirname(g);if(g===y){m=!1;break}g=y}return{filepath:p,directories:h,pkg:d,isPackage:m}};var u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/utils.js"),H=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/config-error.js");let a="package.json",l=(0,u.makeStaticFileCache)((p,d)=>{let h;try{h=JSON.parse(d)}catch(m){throw new H.default(`Error while parsing JSON - ${m.message}`,p)}if(!h)throw new Error(`${p}: No config detected`);if(typeof h!="object")throw new H.default("Config returned typeof "+typeof h,p);if(Array.isArray(h))throw new H.default("Expected config object but found array",p);return{filepath:p,dirname:s().dirname(p),options:h}})},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/plugins.js":(o,r,c)=>{"use strict";function s(){let F=c("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/index.js");return s=function(){return F},F}function u(){let F=c("path");return u=function(){return F},F}Object.defineProperty(r,"__esModule",{value:!0}),r.loadPlugin=function*(F,P){let W=I(F,P,yield*(0,H.isAsync)()),Z=yield*U("plugin",W);return h("Loaded plugin %o from %o.",F,P),{filepath:W,value:Z}},r.loadPreset=function*(F,P){let W=L(F,P,yield*(0,H.isAsync)()),Z=yield*U("preset",W);return h("Loaded preset %o from %o.",F,P),{filepath:W,value:Z}},r.resolvePreset=r.resolvePlugin=void 0;var H=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/async.js"),a=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/module-types.js");function l(){let F=c("url");return l=function(){return F},F}var p=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/vendor/import-meta-resolve.js");function d(){let F=c("fs");return d=function(){return F},F}let h=s()("babel:config:loading:files:plugins"),m=/^module:/,g=/^(?!@|module:|[^/]+\/|babel-plugin-)/,y=/^(?!@|module:|[^/]+\/|babel-preset-)/,_=/^(@babel\/)(?!plugin-|[^/]+\/)/,E=/^(@babel\/)(?!preset-|[^/]+\/)/,A=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/,S=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/,T=/^(@(?!babel$)[^/]+)$/,I=r.resolvePlugin=k.bind(null,"plugin"),L=r.resolvePreset=k.bind(null,"preset");function x(F,P){if(u().isAbsolute(P))return P;let W=F==="preset";return P.replace(W?y:g,`babel-${F}-`).replace(W?E:_,`$1${F}-`).replace(W?S:A,`$1babel-${F}-`).replace(T,`$1/babel-${F}`).replace(m,"")}function*C(F,P){let W=x(F,P),{error:Z,value:ee}=yield W;if(!Z)return ee;if(Z.code!=="MODULE_NOT_FOUND")throw Z;W===P||(yield P).error||(Z.message+=`
|
|
- If you want to resolve "${P}", use "module:${P}"`),(yield x(F,"@babel/"+P)).error||(Z.message+=`
|
|
- Did you mean "@babel/${P}"?`);let J=F==="preset"?"plugin":"preset";if((yield x(J,P)).error||(Z.message+=`
|
|
- Did you accidentally pass a ${J} as a ${F}?`),F==="plugin"){let ne=W.replace("-proposal-","-transform-");ne===W||(yield ne).error||(Z.message+=`
|
|
- Did you mean "${ne}"?`)}throw Z.message+=`
|
|
|
|
Make sure that all the Babel plugins and presets you are using
|
|
are defined as dependencies or devDependencies in your package.json
|
|
file. It's possible that the missing plugin is loaded by a preset
|
|
you are using that forgot to add the plugin to its dependencies: you
|
|
can workaround this problem by explicitly adding the missing package
|
|
to your top-level package.json.
|
|
`,Z}function D(F,P){try{return P?{error:null,value:(W=process.versions.node,Z="8.9",W=W.split("."),Z=Z.split("."),+W[0]>+Z[0]||W[0]==Z[0]&&+W[1]>=+Z[1]?c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").resolve:(ee,{paths:[J]},ne=c("module"))=>{let K=ne._findPath(ee,ne._nodeModulePaths(J).concat(J));if(K)return K;throw K=new Error(`Cannot resolve module '${ee}'`),K.code="MODULE_NOT_FOUND",K})(F,{paths:[P]})}:{error:null,value:c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").resolve(F)}}catch(ee){return{error:ee,value:null}}var W,Z}function O(F,P){try{return{error:null,value:(0,p.resolve)(F,P)}}catch(W){return{error:W,value:null}}}function j(F,P,W){let Z=C(F,P),ee=Z.next();for(;!ee.done;)ee=Z.next(D(ee.value,W));return ee.value}function k(F,P,W,Z){if(!a.supportsESM||!Z)return j(F,P,W);try{let ee=function(J,ne,K){let q=(0,l().pathToFileURL)(u().join(K,"./babel-virtual-resolve-base.js")).href,Q=C(J,ne),z=Q.next();for(;!z.done;)z=Q.next(O(z.value,q));return(0,l().fileURLToPath)(z.value)}(F,P,W);if(!(0,d().existsSync)(ee))throw Object.assign(new Error(`Could not resolve "${P}" in file ${W}.`),{type:"MODULE_NOT_FOUND"});return ee}catch(ee){try{return j(F,P,W)}catch(J){throw ee.type==="MODULE_NOT_FOUND"?ee:J.type==="MODULE_NOT_FOUND"?J:ee}}}var $=new Set;function*U(F,P){if(!(yield*(0,H.isAsync)())&&$.has(P))throw new Error(`Reentrant ${F} detected trying to load "${P}". This module is not ignored and is trying to load itself while compiling itself, leading to a dependency cycle. We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.`);try{return $.add(P),yield*(0,a.default)(P,`You appear to be using a native ECMAScript module ${F}, which is only supported when running Babel asynchronously.`,!0)}catch(W){throw W.message=`[BABEL]: ${W.message} (While processing: ${P})`,W}finally{$.delete(P)}}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/utils.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.makeStaticFileCache=function(a){return(0,s.makeStrongCache)(function*(l,p){return p.invalidate(()=>function(h){if(!H().existsSync(h))return null;try{return+H().statSync(h).mtime}catch(m){if(m.code!=="ENOENT"&&m.code!=="ENOTDIR")throw m}return null}(l))===null?null:a(l,yield*u.readFile(l,"utf8"))})};var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/caching.js"),u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/fs.js");function H(){let a=c("fs");return H=function(){return a},a}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/full.js":(o,r,c)=>{"use strict";function s(){let P=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return P},P}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/async.js"),H=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/util.js"),a=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),l=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/plugin.js"),p=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/item.js"),d=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/config-chain.js"),h=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/deep-array.js");function m(){let P=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js");return m=function(){return P},P}var g=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/caching.js"),y=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/options.js"),_=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/plugins.js"),E=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/config-api.js"),A=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/partial.js"),S=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/config-error.js");r.default=s()(function*(P){var W;let Z=yield*(0,A.default)(P);if(!Z)return null;let{options:ee,context:J,fileHandling:ne}=Z;if(ne==="ignored")return null;let K={},{plugins:q,presets:Q}=ee;if(!q||!Q)throw new Error("Assertion failure - plugins and presets exist");let z=Object.assign({},J,{targets:ee.targets}),ie=je=>{let Oe=(0,p.getItemDescriptor)(je);if(!Oe)throw new Error("Assertion failure - must be config item");return Oe},_e=Q.map(ie),He=q.map(ie),be=[[]],Ve=[],Fe=[];if(yield*T(J,function*je(Oe,re){let fe=[];for(let se=0;se<Oe.length;se++){let Ie=Oe[se];if(Ie.options!==!1){try{var he=yield*U(Ie,z)}catch(ye){throw ye.code==="BABEL_UNKNOWN_OPTION"&&(0,y.checkNoUnwrappedItemOptionPairs)(Oe,se,"preset",ye),ye}Fe.push(he.externalDependencies),Ie.ownPass?fe.push({preset:he.chain,pass:[]}):fe.unshift({preset:he.chain,pass:re})}}if(fe.length>0){be.splice(1,0,...fe.map(se=>se.pass).filter(se=>se!==re));for(let{preset:se,pass:Ie}of fe){if(!se||(Ie.push(...se.plugins),yield*je(se.presets,Ie)))return!0;se.options.forEach(ye=>{(0,H.mergeOptions)(K,ye)})}}})(_e,be[0]))return null;let ce=K;(0,H.mergeOptions)(ce,ee);let ke=Object.assign({},z,{assumptions:(W=ce.assumptions)!=null?W:{}});return yield*T(J,function*(){be[0].unshift(...He);for(let Oe of be){let re=[];Ve.push(re);for(let fe=0;fe<Oe.length;fe++){let he=Oe[fe];if(he.options!==!1){try{var je=yield*D(he,ke)}catch(se){throw se.code==="BABEL_UNKNOWN_PLUGIN_PROPERTY"&&(0,y.checkNoUnwrappedItemOptionPairs)(Oe,fe,"plugin",se),se}re.push(je),Fe.push(je.externalDependencies)}}}})(),ce.plugins=Ve[0],ce.presets=Ve.slice(1).filter(je=>je.length>0).map(je=>({plugins:je})),ce.passPerPreset=ce.presets.length>0,{options:ce,passes:Ve,externalDependencies:(0,h.finalize)(Fe)}});function T(P,W){return function*(Z,ee){try{return yield*W(Z,ee)}catch(ne){var J;throw/^\[BABEL\]/.test(ne.message)||(ne.message=`[BABEL] ${(J=P.filename)!=null?J:"unknown file"}: ${ne.message}`),ne}}}let I=P=>(0,g.makeWeakCache)(function*({value:W,options:Z,dirname:ee,alias:J},ne){if(Z===!1)throw new Error("Assertion failure");Z=Z||{};let K=[],q=W;if(typeof W=="function"){let Q=(0,u.maybeAsync)(W,"You appear to be using an async plugin/preset, but Babel has been called synchronously"),z=Object.assign({},a,P(ne,K));try{q=yield*Q(z,Z,ee)}catch(ie){throw J&&(ie.message+=` (While processing: ${JSON.stringify(J)})`),ie}}if(!q||typeof q!="object")throw new Error("Plugin/Preset did not return an object.");if((0,u.isThenable)(q))throw yield*[],new Error(`You appear to be using a promise as a plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version. As an alternative, you can prefix the promise with "await". (While processing: ${JSON.stringify(J)})`);if(K.length>0&&(!ne.configured()||ne.mode()==="forever")){let Q=`A plugin/preset has external untracked dependencies (${K[0]}), but the cache `;throw ne.configured()?Q+=" has been configured to never be invalidated. ":Q+="has not been configured to be invalidated when the external dependencies change. ",Q+=`Plugins/presets should configure their cache to be invalidated when the external dependencies change, for example using \`api.cache.invalidate(() => statSync(filepath).mtimeMs)\` or \`api.cache.never()\`
|
|
(While processing: ${JSON.stringify(J)})`,new Error(Q)}return{value:q,options:Z,dirname:ee,alias:J,externalDependencies:(0,h.finalize)(K)}}),L=I(E.makePluginAPI),x=I(E.makePresetAPI),C=(0,g.makeWeakCache)(function*({value:P,options:W,dirname:Z,alias:ee,externalDependencies:J},ne){let K=(0,_.validatePluginObject)(P),q=Object.assign({},K);if(q.visitor&&(q.visitor=m().default.explode(Object.assign({},q.visitor))),q.inherits){let Q={name:void 0,alias:`${ee}$inherits`,value:q.inherits,options:W,dirname:Z},z=yield*(0,u.forwardAsync)(D,ie=>ne.invalidate(_e=>ie(Q,_e)));q.pre=F(z.pre,q.pre),q.post=F(z.post,q.post),q.manipulateOptions=F(z.manipulateOptions,q.manipulateOptions),q.visitor=m().default.visitors.merge([z.visitor||{},q.visitor||{}]),z.externalDependencies.length>0&&(J=J.length===0?z.externalDependencies:(0,h.finalize)([J,z.externalDependencies]))}return new l.default(q,W,ee,J)});function*D(P,W){if(P.value instanceof l.default){if(P.options)throw new Error("Passed options to an existing Plugin instance will not work.");return P.value}return yield*C(yield*L(P,W),W)}let O=P=>P&&typeof P!="function",j=(P,W)=>{if(O(P.test)||O(P.include)||O(P.exclude)){let Z=W.name?`"${W.name}"`:"/* your preset */";throw new S.default([`Preset ${Z} requires a filename to be set when babel is called directly,`,"```",`babel.transformSync(code, { filename: 'file.ts', presets: [${Z}] });`,"```","See https://babeljs.io/docs/en/options#filename for more information."].join(`
|
|
`))}},k=(P,W,Z)=>{if(!W.filename){var ee;let{options:J}=P;j(J,Z),(ee=J.overrides)==null||ee.forEach(ne=>j(ne,Z))}},$=(0,g.makeWeakCacheSync)(({value:P,dirname:W,alias:Z,externalDependencies:ee})=>({options:(0,y.validate)("preset",P),alias:Z,dirname:W,externalDependencies:ee}));function*U(P,W){let Z=$(yield*x(P,W));return k(Z,W,P),{chain:yield*(0,d.buildPresetChain)(Z,W),externalDependencies:Z.externalDependencies}}function F(P,W){let Z=[P,W].filter(Boolean);return Z.length<=1?Z[0]:function(...ee){for(let J of Z)J.apply(this,ee)}}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/config-api.js":(o,r,c)=>{"use strict";function s(){let d=c("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return s=function(){return d},d}Object.defineProperty(r,"__esModule",{value:!0}),r.makeConfigAPI=a,r.makePluginAPI=function(d,h){return Object.assign({},l(d,h),{assumption:m=>d.using(g=>g.assumptions[m])})},r.makePresetAPI=l;var u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),H=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/caching.js");function a(d){return{version:u.version,cache:d.simple(),env:h=>d.using(m=>h===void 0?m.envName:typeof h=="function"?(0,H.assertSimpleType)(h(m.envName)):(Array.isArray(h)?h:[h]).some(g=>{if(typeof g!="string")throw new Error("Unexpected non-string value");return g===m.envName})),async:()=>!1,caller:h=>d.using(m=>(0,H.assertSimpleType)(h(m.caller))),assertVersion:p}}function l(d,h){return Object.assign({},a(d),{targets:()=>JSON.parse(d.using(m=>JSON.stringify(m.targets))),addExternalDependency:m=>{h.push(m)}})}function p(d){if(typeof d=="number"){if(!Number.isInteger(d))throw new Error("Expected string or integer value.");d=`^${d}.0.0-0`}if(typeof d!="string")throw new Error("Expected string or integer value.");if(d==="*"||s().satisfies(u.version,d))return;let h=Error.stackTraceLimit;typeof h=="number"&&h<25&&(Error.stackTraceLimit=25);let m=new Error(`Requires Babel "${d}", but was loaded with "${u.version}". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.`);throw typeof h=="number"&&(Error.stackTraceLimit=h),Object.assign(m,{code:"BABEL_VERSION_UNSUPPORTED",version:u.version,range:d})}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/deep-array.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.finalize=function(c){return Object.freeze(c)},r.flattenToSet=function(c){let s=new Set,u=[c];for(;u.length>0;)for(let H of u.pop())Array.isArray(H)?u.push(H):s.add(H);return s}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/environment.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getEnv=function(c="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||c}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/index.js":(o,r,c)=>{"use strict";function s(){let _=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return _},_}Object.defineProperty(r,"__esModule",{value:!0}),r.createConfigItem=function(_,E,A){if(A!==void 0)(0,l.beginHiddenCallStack)(g.errback)(_,E,A);else{if(typeof E!="function")return y(_,E);(0,l.beginHiddenCallStack)(g.errback)(_,void 0,A)}},r.createConfigItemAsync=function(..._){return(0,l.beginHiddenCallStack)(g.async)(..._)},r.createConfigItemSync=y,Object.defineProperty(r,"default",{enumerable:!0,get:function(){return u.default}}),r.loadOptions=function(_,E){if(E!==void 0)(0,l.beginHiddenCallStack)(h.errback)(_,E);else{if(typeof _!="function")return m(_);(0,l.beginHiddenCallStack)(h.errback)(void 0,_)}},r.loadOptionsAsync=function(..._){return(0,l.beginHiddenCallStack)(h.async)(..._)},r.loadOptionsSync=m,r.loadPartialConfig=function(_,E){if(E!==void 0)(0,l.beginHiddenCallStack)(p.errback)(_,E);else{if(typeof _!="function")return d(_);(0,l.beginHiddenCallStack)(p.errback)(void 0,_)}},r.loadPartialConfigAsync=function(..._){return(0,l.beginHiddenCallStack)(p.async)(..._)},r.loadPartialConfigSync=d;var u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/full.js"),H=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/partial.js"),a=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/item.js"),l=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let p=s()(H.loadPartialConfig);function d(..._){return(0,l.beginHiddenCallStack)(p.sync)(..._)}let h=s()(function*(_){var E;let A=yield*(0,u.default)(_);return(E=A?.options)!=null?E:null});function m(..._){return(0,l.beginHiddenCallStack)(h.sync)(..._)}let g=s()(a.createConfigItem);function y(..._){return(0,l.beginHiddenCallStack)(g.sync)(..._)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/item.js":(o,r,c)=>{"use strict";function s(){let p=c("path");return s=function(){return p},p}Object.defineProperty(r,"__esModule",{value:!0}),r.createConfigItem=function*(p,{dirname:d=".",type:h}={}){return H(yield*(0,u.createDescriptor)(p,s().resolve(d),{type:h,alias:"programmatic item"}))},r.createItemFromDescriptor=H,r.getItemDescriptor=function(p){if(p!=null&&p[a])return p._descriptor};var u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/config-descriptors.js");function H(p){return new l(p)}let a=Symbol.for("@babel/core@7 - ConfigItem");class l{constructor(d){this._descriptor=void 0,this[a]=!0,this.value=void 0,this.options=void 0,this.dirname=void 0,this.name=void 0,this.file=void 0,this._descriptor=d,Object.defineProperty(this,"_descriptor",{enumerable:!1}),Object.defineProperty(this,a,{enumerable:!1}),this.value=this._descriptor.value,this.options=this._descriptor.options,this.dirname=this._descriptor.dirname,this.name=this._descriptor.name,this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:void 0,Object.freeze(this)}}Object.freeze(l.prototype)},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/partial.js":(o,r,c)=>{"use strict";function s(){let E=c("path");return s=function(){return E},E}Object.defineProperty(r,"__esModule",{value:!0}),r.default=y,r.loadPartialConfig=function*(E){let A=!1;if(typeof E=="object"&&E!==null&&!Array.isArray(E)){var S=E;({showIgnoredFiles:A}=S),E=function(j,k){if(j==null)return{};var $,U,F={},P=Object.keys(j);for(U=0;U<P.length;U++)$=P[U],k.indexOf($)>=0||(F[$]=j[$]);return F}(S,g)}let T=yield*y(E);if(!T)return null;let{options:I,babelrc:L,ignore:x,config:C,fileHandling:D,files:O}=T;return D==="ignored"&&!A?null:((I.plugins||[]).forEach(j=>{if(j.value instanceof u.default)throw new Error("Passing cached plugin instances is not supported in babel.loadPartialConfig()")}),new _(I,L?L.filepath:void 0,x?x.filepath:void 0,C?C.filepath:void 0,D,O))};var u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/plugin.js"),H=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/util.js"),a=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/item.js"),l=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/config-chain.js"),p=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/environment.js"),d=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/options.js"),h=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/index.js"),m=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/resolve-targets.js");let g=["showIgnoredFiles"];function*y(E){if(E!=null&&(typeof E!="object"||Array.isArray(E)))throw new Error("Babel options must be an object, null, or undefined");let A=E?(0,d.validate)("arguments",E):{},{envName:S=(0,p.getEnv)(),cwd:T=".",root:I=".",rootMode:L="root",caller:x,cloneInputAst:C=!0}=A,D=s().resolve(T),O=function(F,P){switch(P){case"root":return F;case"upward-optional":{let W=(0,h.findConfigUpwards)(F);return W===null?F:W}case"upward":{let W=(0,h.findConfigUpwards)(F);if(W!==null)return W;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not be found when searching upward from "${F}".
|
|
One of the following config files must be in the directory tree: "${h.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:F})}default:throw new Error("Assertion failure - unknown rootMode value.")}}(s().resolve(D,I),L),j=typeof A.filename=="string"?s().resolve(T,A.filename):void 0,k={filename:j,cwd:D,root:O,envName:S,caller:x,showConfig:(yield*(0,h.resolveShowConfigPath)(D))===j},$=yield*(0,l.buildRootChain)(A,k);if(!$)return null;let U={assumptions:{}};return $.options.forEach(F=>{(0,H.mergeOptions)(U,F)}),{options:Object.assign({},U,{targets:(0,m.resolveTargets)(U,O),cloneInputAst:C,babelrc:!1,configFile:!1,browserslistConfigFile:!1,passPerPreset:!1,envName:k.envName,cwd:k.cwd,root:k.root,rootMode:"root",filename:typeof k.filename=="string"?k.filename:void 0,plugins:$.plugins.map(F=>(0,a.createItemFromDescriptor)(F)),presets:$.presets.map(F=>(0,a.createItemFromDescriptor)(F))}),context:k,fileHandling:$.fileHandling,ignore:$.ignore,babelrc:$.babelrc,config:$.config,files:$.files}}class _{constructor(A,S,T,I,L,x){this.options=void 0,this.babelrc=void 0,this.babelignore=void 0,this.config=void 0,this.fileHandling=void 0,this.files=void 0,this.options=A,this.babelignore=T,this.babelrc=S,this.config=I,this.fileHandling=L,this.files=x,Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==void 0||this.config!==void 0}}Object.freeze(_.prototype)},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/pattern-to-regex.js":(o,r,c)=>{"use strict";function s(){let g=c("path");return s=function(){return g},g}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(g,y){let _=s().resolve(y,g).split(s().sep);return new RegExp(["^",..._.map((E,A)=>{let S=A===_.length-1;return E==="**"?S?h:d:E==="*"?S?p:l:E.indexOf("*.")===0?a+m(E.slice(1))+(S?H:u):m(E)+(S?H:u)})].join(""))};let u=`\\${s().sep}`,H=`(?:${u}|$)`,a=`[^${u}]+`,l=`(?:${a}${u})`,p=`(?:${a}${H})`,d=`${l}*?`,h=`${l}*?${p}?`;function m(g){return g.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/plugin.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/deep-array.js");r.default=class{constructor(u,H,a,l=(0,s.finalize)([])){this.key=void 0,this.manipulateOptions=void 0,this.post=void 0,this.pre=void 0,this.visitor=void 0,this.parserOverride=void 0,this.generatorOverride=void 0,this.options=void 0,this.externalDependencies=void 0,this.key=u.name||a,this.manipulateOptions=u.manipulateOptions,this.post=u.post,this.pre=u.pre,this.visitor=u.visitor||{},this.parserOverride=u.parserOverride,this.generatorOverride=u.generatorOverride,this.options=H,this.externalDependencies=l}}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/printer.js":(o,r,c)=>{"use strict";function s(){let p=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return p},p}Object.defineProperty(r,"__esModule",{value:!0}),r.ConfigPrinter=r.ChainFormatter=void 0;let u=r.ChainFormatter={Programmatic:0,Config:1},H={title(p,d,h){let m="";return p===u.Programmatic?(m="programmatic options",d&&(m+=" from "+d)):m="config "+h,m},loc(p,d){let h="";return p!=null&&(h+=`.overrides[${p}]`),d!=null&&(h+=`.env["${d}"]`),h},*optionsAndDescriptors(p){let d=Object.assign({},p.options);delete d.overrides,delete d.env;let h=[...yield*p.plugins()];h.length&&(d.plugins=h.map(g=>a(g)));let m=[...yield*p.presets()];return m.length&&(d.presets=[...m].map(g=>a(g))),JSON.stringify(d,void 0,2)}};function a(p){var d;let h=(d=p.file)==null?void 0:d.request;return h==null&&(typeof p.value=="object"?h=p.value:typeof p.value=="function"&&(h=`[Function: ${p.value.toString().slice(0,50)} ... ]`)),h==null&&(h="[Unknown]"),p.options===void 0?h:p.name==null?[h,p.options]:[h,p.options,p.name]}class l{constructor(){this._stack=[]}configure(d,h,{callerName:m,filepath:g}){return d?(y,_,E)=>{this._stack.push({type:h,callerName:m,filepath:g,content:y,index:_,envName:E})}:()=>{}}static*format(d){let h=H.title(d.type,d.callerName,d.filepath),m=H.loc(d.index,d.envName);return m&&(h+=` ${m}`),`${h}
|
|
${yield*H.optionsAndDescriptors(d.content)}`}*output(){return this._stack.length===0?"":(yield*s().all(this._stack.map(d=>l.format(d)))).join(`
|
|
|
|
`)}}r.ConfigPrinter=l},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/resolve-targets.js":(o,r,c)=>{"use strict";function s(){let H=c("path");return s=function(){return H},H}function u(){let H=c("./stubs/helper-compilation-targets.js");return u=function(){return H},H}Object.defineProperty(r,"__esModule",{value:!0}),r.resolveBrowserslistConfigFile=function(H,a){return s().resolve(a,H)},r.resolveTargets=function(H,a){let l=H.targets,p;typeof l=="string"||Array.isArray(l)?p={browsers:l}:l&&(p="esmodules"in l?Object.assign({},l,{esmodules:"intersect"}):l);let{browserslistConfigFile:d}=H,h,m=!1;return typeof d=="string"?h=d:m=d===!1,(0,u().default)(p,{ignoreBrowserslistConfig:m,configFile:h,configPath:a,browserslistEnv:H.browserslistEnv})}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/util.js":(o,r)=>{"use strict";function c(s,u){for(let H of Object.keys(u)){let a=u[H];a!==void 0&&(s[H]=a)}}Object.defineProperty(r,"__esModule",{value:!0}),r.isIterableIterator=function(s){return!!s&&typeof s.next=="function"&&typeof s[Symbol.iterator]=="function"},r.mergeOptions=function(s,u){for(let H of Object.keys(u))if(H!=="parserOpts"&&H!=="generatorOpts"&&H!=="assumptions"||!u[H]){let a=u[H];a!==void 0&&(s[H]=a)}else{let a=u[H];c(s[H]||(s[H]={}),a)}}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/option-assertions.js":(o,r,c)=>{"use strict";function s(){let _=c("./stubs/helper-compilation-targets.js");return s=function(){return _},_}Object.defineProperty(r,"__esModule",{value:!0}),r.access=a,r.assertArray=d,r.assertAssumptions=function(_,E){if(E===void 0)return;if(typeof E!="object"||E===null)throw new Error(`${H(_)} must be an object or undefined.`);let A=_;do A=A.parent;while(A.type!=="root");let S=A.source==="preset";for(let T of Object.keys(E)){let I=a(_,T);if(!u.assumptionsNames.has(T))throw new Error(`${H(I)} is not a supported assumption.`);if(typeof E[T]!="boolean")throw new Error(`${H(I)} must be a boolean.`);if(S&&E[T]===!1)throw new Error(`${H(I)} cannot be set to 'false' inside presets.`)}return E},r.assertBabelrcSearch=function(_,E){if(E===void 0||typeof E=="boolean")return E;if(Array.isArray(E))E.forEach((A,S)=>{if(!h(A))throw new Error(`${H(a(_,S))} must be a string/Function/RegExp.`)});else if(!h(E))throw new Error(`${H(_)} must be a undefined, a boolean, a string/Function/RegExp or an array of those, got ${JSON.stringify(E)}`);return E},r.assertBoolean=l,r.assertCallerMetadata=function(_,E){let A=p(_,E);if(A){if(typeof A.name!="string")throw new Error(`${H(_)} set but does not contain "name" property string`);for(let S of Object.keys(A)){let T=a(_,S),I=A[S];if(I!=null&&typeof I!="boolean"&&typeof I!="string"&&typeof I!="number")throw new Error(`${H(T)} must be null, undefined, a boolean, a string, or a number.`)}}return E},r.assertCompact=function(_,E){if(E!==void 0&&typeof E!="boolean"&&E!=="auto")throw new Error(`${H(_)} must be a boolean, "auto", or undefined`);return E},r.assertConfigApplicableTest=function(_,E){if(E===void 0)return E;if(Array.isArray(E))E.forEach((A,S)=>{if(!h(A))throw new Error(`${H(a(_,S))} must be a string/Function/RegExp.`)});else if(!h(E))throw new Error(`${H(_)} must be a string/Function/RegExp, or an array of those`);return E},r.assertConfigFileSearch=function(_,E){if(E!==void 0&&typeof E!="boolean"&&typeof E!="string")throw new Error(`${H(_)} must be a undefined, a boolean, a string, got ${JSON.stringify(E)}`);return E},r.assertFunction=function(_,E){if(E!==void 0&&typeof E!="function")throw new Error(`${H(_)} must be a function, or undefined`);return E},r.assertIgnoreList=function(_,E){let A=d(_,E);return A?.forEach((S,T)=>function(I,L){if(typeof L!="string"&&typeof L!="function"&&!(L instanceof RegExp))throw new Error(`${H(I)} must be an array of string/Function/RegExp values, or undefined`);return L}(a(_,T),S)),A},r.assertInputSourceMap=function(_,E){if(E!==void 0&&typeof E!="boolean"&&(typeof E!="object"||!E))throw new Error(`${H(_)} must be a boolean, object, or undefined`);return E},r.assertObject=p,r.assertPluginList=function(_,E){let A=d(_,E);return A&&A.forEach((S,T)=>function(I,L){if(Array.isArray(L)){if(L.length===0)throw new Error(`${H(I)} must include an object`);if(L.length>3)throw new Error(`${H(I)} may only be a two-tuple or three-tuple`);if(m(a(I,0),L[0]),L.length>1){let x=L[1];if(x!==void 0&&x!==!1&&(typeof x!="object"||Array.isArray(x)||x===null))throw new Error(`${H(a(I,1))} must be an object, false, or undefined`)}if(L.length===3){let x=L[2];if(x!==void 0&&typeof x!="string")throw new Error(`${H(a(I,2))} must be a string, or undefined`)}}else m(I,L);return L}(a(_,T),S)),A},r.assertRootMode=function(_,E){if(E!==void 0&&E!=="root"&&E!=="upward"&&E!=="upward-optional")throw new Error(`${H(_)} must be a "root", "upward", "upward-optional" or undefined`);return E},r.assertSourceMaps=function(_,E){if(E!==void 0&&typeof E!="boolean"&&E!=="inline"&&E!=="both")throw new Error(`${H(_)} must be a boolean, "inline", "both", or undefined`);return E},r.assertSourceType=function(_,E){if(E!==void 0&&E!=="module"&&E!=="script"&&E!=="unambiguous")throw new Error(`${H(_)} must be "module", "script", "unambiguous", or undefined`);return E},r.assertString=function(_,E){if(E!==void 0&&typeof E!="string")throw new Error(`${H(_)} must be a string, or undefined`);return E},r.assertTargets=function(_,E){if((0,s().isBrowsersQueryValid)(E))return E;if(typeof E!="object"||!E||Array.isArray(E))throw new Error(`${H(_)} must be a string, an array of strings or an object`);let A=a(_,"browsers"),S=a(_,"esmodules");g(A,E.browsers),l(S,E.esmodules);for(let T of Object.keys(E)){let I=E[T],L=a(_,T);if(T==="esmodules")l(L,I);else if(T==="browsers")g(L,I);else{if(!hasOwnProperty.call(s().TargetNames,T)){let x=Object.keys(s().TargetNames).join(", ");throw new Error(`${H(L)} is not a valid target. Supported targets are ${x}`)}y(L,I)}}return E},r.msg=H;var u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/options.js");function H(_){switch(_.type){case"root":return"";case"env":return`${H(_.parent)}.env["${_.name}"]`;case"overrides":return`${H(_.parent)}.overrides[${_.index}]`;case"option":return`${H(_.parent)}.${_.name}`;case"access":return`${H(_.parent)}[${JSON.stringify(_.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${_.type}`)}}function a(_,E){return{type:"access",name:E,parent:_}}function l(_,E){if(E!==void 0&&typeof E!="boolean")throw new Error(`${H(_)} must be a boolean, or undefined`);return E}function p(_,E){if(E!==void 0&&(typeof E!="object"||Array.isArray(E)||!E))throw new Error(`${H(_)} must be an object, or undefined`);return E}function d(_,E){if(E!=null&&!Array.isArray(E))throw new Error(`${H(_)} must be an array, or undefined`);return E}function h(_){return typeof _=="string"||typeof _=="function"||_ instanceof RegExp}function m(_,E){if((typeof E!="object"||!E)&&typeof E!="string"&&typeof E!="function")throw new Error(`${H(_)} must be a string, object, function`);return E}function g(_,E){if(E!==void 0&&!(0,s().isBrowsersQueryValid)(E))throw new Error(`${H(_)} must be undefined, a string or an array of strings`)}function y(_,E){if((typeof E!="number"||Math.round(E)!==E)&&typeof E!="string")throw new Error(`${H(_)} must be a string or an integer number`)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/options.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.assumptionsNames=void 0,r.checkNoUnwrappedItemOptionPairs=function(y,_,E,A){if(_===0)return;let S=y[_-1],T=y[_];S.file&&S.options===void 0&&typeof T.value=="object"&&(A.message+=`
|
|
- Maybe you meant to use
|
|
"${E}s": [
|
|
["${S.file.request}", ${JSON.stringify(T.value,void 0,2)}]
|
|
]
|
|
To be a valid ${E}, its name and options should be wrapped in a pair of brackets`)},r.validate=function(y,_,E){try{return m({type:"root",source:y},_)}catch(A){let S=new H.default(A.message,E);throw A.code&&(S.code=A.code),S}};var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/removed.js"),u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/option-assertions.js"),H=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/config-error.js");let a={cwd:u.assertString,root:u.assertString,rootMode:u.assertRootMode,configFile:u.assertConfigFileSearch,caller:u.assertCallerMetadata,filename:u.assertString,filenameRelative:u.assertString,code:u.assertBoolean,ast:u.assertBoolean,cloneInputAst:u.assertBoolean,envName:u.assertString},l={babelrc:u.assertBoolean,babelrcRoots:u.assertBabelrcSearch},p={extends:u.assertString,ignore:u.assertIgnoreList,only:u.assertIgnoreList,targets:u.assertTargets,browserslistConfigFile:u.assertConfigFileSearch,browserslistEnv:u.assertString},d={inputSourceMap:u.assertInputSourceMap,presets:u.assertPluginList,plugins:u.assertPluginList,passPerPreset:u.assertBoolean,assumptions:u.assertAssumptions,env:function(y,_){if(y.parent.type==="env")throw new Error(`${(0,u.msg)(y)} is not allowed inside of another .env block`);let E=y.parent,A=(0,u.assertObject)(y,_);if(A)for(let S of Object.keys(A)){let T=(0,u.assertObject)((0,u.access)(y,S),A[S]);T&&m({type:"env",name:S,parent:E},T)}return A},overrides:function(y,_){if(y.parent.type==="env")throw new Error(`${(0,u.msg)(y)} is not allowed inside an .env block`);if(y.parent.type==="overrides")throw new Error(`${(0,u.msg)(y)} is not allowed inside an .overrides block`);let E=y.parent,A=(0,u.assertArray)(y,_);if(A)for(let[S,T]of A.entries()){let I=(0,u.access)(y,S),L=(0,u.assertObject)(I,T);if(!L)throw new Error(`${(0,u.msg)(I)} must be an object`);m({type:"overrides",index:S,parent:E},L)}return A},test:u.assertConfigApplicableTest,include:u.assertConfigApplicableTest,exclude:u.assertConfigApplicableTest,retainLines:u.assertBoolean,comments:u.assertBoolean,shouldPrintComment:u.assertFunction,compact:u.assertCompact,minified:u.assertBoolean,auxiliaryCommentBefore:u.assertString,auxiliaryCommentAfter:u.assertString,sourceType:u.assertSourceType,wrapPluginVisitorMethod:u.assertFunction,highlightCode:u.assertBoolean,sourceMaps:u.assertSourceMaps,sourceMap:u.assertSourceMaps,sourceFileName:u.assertString,sourceRoot:u.assertString,parserOpts:u.assertObject,generatorOpts:u.assertObject};Object.assign(d,{getModuleId:u.assertFunction,moduleRoot:u.assertString,moduleIds:u.assertBoolean,moduleId:u.assertString}),r.assumptionsNames=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","noUninitializedPrivateFieldAccess","objectRestNoSymbols","privateFieldsAsSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);function h(y){return y.type==="root"?y.source:h(y.parent)}function m(y,_){let E=h(y);return function(A){if(hasOwnProperty.call(A,"sourceMap")&&hasOwnProperty.call(A,"sourceMaps"))throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}(_),Object.keys(_).forEach(A=>{let S={type:"option",name:A,parent:y};if(E==="preset"&&p[A])throw new Error(`${(0,u.msg)(S)} is not allowed in preset options`);if(E!=="arguments"&&a[A])throw new Error(`${(0,u.msg)(S)} is only allowed in root programmatic options`);if(E!=="arguments"&&E!=="configfile"&&l[A])throw E==="babelrcfile"||E==="extendsfile"?new Error(`${(0,u.msg)(S)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, or babel.config.js/config file options`):new Error(`${(0,u.msg)(S)} is only allowed in root programmatic options, or babel.config.js/config file options`);(d[A]||p[A]||l[A]||a[A]||g)(S,_[A])}),_}function g(y){let _=y.name;if(s.default[_]){let{message:E,version:A=5}=s.default[_];throw new Error(`Using removed Babel ${A} option: ${(0,u.msg)(y)} - ${E}`)}{let E=new Error(`Unknown option: ${(0,u.msg)(y)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);throw E.code="BABEL_UNKNOWN_OPTION",E}}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/plugins.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.validatePluginObject=function(H){let a={type:"root",source:"plugin"};return Object.keys(H).forEach(l=>{let p=u[l];if(!p){let d=new Error(`.${l} is not a valid Plugin property`);throw d.code="BABEL_UNKNOWN_PLUGIN_PROPERTY",d}p({type:"option",name:l,parent:a},H[l])}),H};var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/option-assertions.js");let u={name:s.assertString,manipulateOptions:s.assertFunction,pre:s.assertFunction,post:s.assertFunction,inherits:s.assertFunction,visitor:function(H,a){let l=(0,s.assertObject)(H,a);if(l&&(Object.keys(l).forEach(p=>{p!=="_exploded"&&p!=="_verified"&&function(d,h){if(h&&typeof h=="object")Object.keys(h).forEach(m=>{if(m!=="enter"&&m!=="exit")throw new Error(`.visitor["${d}"] may only have .enter and/or .exit handlers.`)});else if(typeof h!="function")throw new Error(`.visitor["${d}"] must be a function`)}(p,l[p])}),l.enter||l.exit))throw new Error(`${(0,s.msg)(H)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`);return l},parserOverride:s.assertFunction,generatorOverride:s.assertFunction}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/removed.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."}}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/config-error.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");class u extends Error{constructor(a,l){super(a),(0,s.expectedError)(this),l&&(0,s.injectVirtualStackFrame)(this,l)}}r.default=u},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js":(o,r)=>{"use strict";var c;Object.defineProperty(r,"__esModule",{value:!0}),r.beginHiddenCallStack=function(m){return u?Object.defineProperty(function(...g){return d(),m(...g)},"name",{value:a}):m},r.endHiddenCallStack=function(m){return u?Object.defineProperty(function(...g){return m(...g)},"name",{value:H}):m},r.expectedError=function(m){if(u)return l.add(m),m},r.injectVirtualStackFrame=function(m,g){if(!u)return;let y=p.get(m);return y||p.set(m,y=[]),y.push(function(_){return Object.create({isNative:()=>!1,isConstructor:()=>!1,isToplevel:()=>!0,getFileName:()=>_,getLineNumber:()=>{},getColumnNumber:()=>{},getFunctionName:()=>{},getMethodName:()=>{},getTypeName:()=>{},toString:()=>_})}(g)),m};let s=Function.call.bind(Error.prototype.toString),u=!!Error.captureStackTrace&&((c=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit"))==null?void 0:c.writable)===!0,H="startHiding - secret - don't use this - v1",a="stopHiding - secret - don't use this - v1",l=new WeakSet,p=new WeakMap;function d(){d=()=>{};let{prepareStackTrace:m=h}=Error;Error.stackTraceLimit&&(Error.stackTraceLimit=Math.max(Error.stackTraceLimit,50)),Error.prepareStackTrace=function(g,y){let _=[],E=l.has(g)?"hiding":"unknown";for(let A=0;A<y.length;A++){let S=y[A].getFunctionName();if(S===H)E="hiding";else if(S===a){if(E==="hiding")E="showing",p.has(g)&&_.unshift(...p.get(g));else if(E==="unknown"){_=y;break}}else E!=="hiding"&&_.push(y[A])}return m(g,_)}}function h(m,g){return g.length===0?s(m):`${s(m)}
|
|
at ${g.join(`
|
|
at `)}`}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/async.js":(o,r,c)=>{"use strict";function s(){let m=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return m},m}function u(m,g,y,_,E,A,S){try{var T=m[A](S),I=T.value}catch(L){return void y(L)}T.done?g(I):Promise.resolve(I).then(_,E)}function H(m){return function(){var g=this,y=arguments;return new Promise(function(_,E){var A=m.apply(g,y);function S(I){u(A,_,E,S,T,"next",I)}function T(I){u(A,_,E,S,T,"throw",I)}S(void 0)})}}Object.defineProperty(r,"__esModule",{value:!0}),r.forwardAsync=function(m,g){let y=s()(m);return l(_=>{let E=y[_];return g(E)})},r.isAsync=void 0,r.isThenable=h,r.maybeAsync=function(m,g){return s()({sync(...y){let _=m.apply(this,y);if(h(_))throw new Error(g);return _},async(...y){return Promise.resolve(m.apply(this,y))}})},r.waitFor=r.onFirstPause=void 0;let a=s()(function*(m){return yield*m});r.isAsync=s()({sync:()=>!1,errback:m=>m(null,!0)});let l=s()({sync:m=>m("sync"),async:(p=H(function*(m){return m("async")}),function(m){return p.apply(this,arguments)})});var p;r.onFirstPause=s()({name:"onFirstPause",arity:2,sync:function(m){return a.sync(m)},errback:function(m,g,y){let _=!1;a.errback(m,(E,A)=>{_=!0,y(E,A)}),_||g()}}),r.waitFor=s()({sync:m=>m,async:(d=H(function*(m){return m}),function(m){return d.apply(this,arguments)})});var d;function h(m){return!(!m||typeof m!="object"&&typeof m!="function"||!m.then||typeof m.then!="function")}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/fs.js":(o,r,c)=>{"use strict";function s(){let H=c("fs");return s=function(){return H},H}function u(){let H=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return u=function(){return H},H}Object.defineProperty(r,"__esModule",{value:!0}),r.stat=r.readFile=void 0,r.readFile=u()({sync:s().readFileSync,errback:s().readFile}),r.stat=u()({sync:s().statSync,errback:s().stat})},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/functional.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.once=function(u){let H,a,l=!1;return function*(){if(!H){if(a)return l=!0,yield*(0,s.waitFor)(a);if(yield*(0,s.isAsync)()){let p,d;a=new Promise((h,m)=>{p=h,d=m});try{H={ok:!0,value:yield*u()},a=null,l&&p(H.value)}catch(h){H={ok:!1,value:h},a=null,l&&d(h)}}else try{H={ok:!0,value:yield*u()}}catch(p){H={ok:!1,value:p}}}if(H.ok)return H.value;throw H.value}};var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/async.js")},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.DEFAULT_EXTENSIONS=void 0,Object.defineProperty(r,"File",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"buildExternalHelpers",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"createConfigItem",{enumerable:!0,get:function(){return m.createConfigItem}}),Object.defineProperty(r,"createConfigItemAsync",{enumerable:!0,get:function(){return m.createConfigItemAsync}}),Object.defineProperty(r,"createConfigItemSync",{enumerable:!0,get:function(){return m.createConfigItemSync}}),Object.defineProperty(r,"getEnv",{enumerable:!0,get:function(){return a.getEnv}}),Object.defineProperty(r,"loadOptions",{enumerable:!0,get:function(){return m.loadOptions}}),Object.defineProperty(r,"loadOptionsAsync",{enumerable:!0,get:function(){return m.loadOptionsAsync}}),Object.defineProperty(r,"loadOptionsSync",{enumerable:!0,get:function(){return m.loadOptionsSync}}),Object.defineProperty(r,"loadPartialConfig",{enumerable:!0,get:function(){return m.loadPartialConfig}}),Object.defineProperty(r,"loadPartialConfigAsync",{enumerable:!0,get:function(){return m.loadPartialConfigAsync}}),Object.defineProperty(r,"loadPartialConfigSync",{enumerable:!0,get:function(){return m.loadPartialConfigSync}}),Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return E.parse}}),Object.defineProperty(r,"parseAsync",{enumerable:!0,get:function(){return E.parseAsync}}),Object.defineProperty(r,"parseSync",{enumerable:!0,get:function(){return E.parseSync}}),Object.defineProperty(r,"resolvePlugin",{enumerable:!0,get:function(){return H.resolvePlugin}}),Object.defineProperty(r,"resolvePreset",{enumerable:!0,get:function(){return H.resolvePreset}}),Object.defineProperty(r,"template",{enumerable:!0,get:function(){return h().default}}),Object.defineProperty(r,"tokTypes",{enumerable:!0,get:function(){return p().tokTypes}}),Object.defineProperty(r,"transform",{enumerable:!0,get:function(){return g.transform}}),Object.defineProperty(r,"transformAsync",{enumerable:!0,get:function(){return g.transformAsync}}),Object.defineProperty(r,"transformFile",{enumerable:!0,get:function(){return y.transformFile}}),Object.defineProperty(r,"transformFileAsync",{enumerable:!0,get:function(){return y.transformFileAsync}}),Object.defineProperty(r,"transformFileSync",{enumerable:!0,get:function(){return y.transformFileSync}}),Object.defineProperty(r,"transformFromAst",{enumerable:!0,get:function(){return _.transformFromAst}}),Object.defineProperty(r,"transformFromAstAsync",{enumerable:!0,get:function(){return _.transformFromAstAsync}}),Object.defineProperty(r,"transformFromAstSync",{enumerable:!0,get:function(){return _.transformFromAstSync}}),Object.defineProperty(r,"transformSync",{enumerable:!0,get:function(){return g.transformSync}}),Object.defineProperty(r,"traverse",{enumerable:!0,get:function(){return d().default}}),r.version=r.types=void 0;var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/file/file.js"),u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/tools/build-external-helpers.js"),H=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/index.js"),a=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/environment.js");function l(){let A=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");return l=function(){return A},A}function p(){let A=c("./node_modules/.pnpm/@babel+parser@7.24.7/node_modules/@babel/parser/lib/index.js");return p=function(){return A},A}function d(){let A=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js");return d=function(){return A},A}function h(){let A=c("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/index.js");return h=function(){return A},A}Object.defineProperty(r,"types",{enumerable:!0,get:function(){return l()}});var m=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/index.js"),g=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transform.js"),y=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transform-file.js"),_=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transform-ast.js"),E=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/parse.js");c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),r.version="7.24.7",r.DEFAULT_EXTENSIONS=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]),r.OptionManager=class{init(A){return(0,m.loadOptionsSync)(A)}},r.Plugin=function(A){throw new Error(`The (${A}) Babel 5 plugin is being run with an unsupported Babel version.`)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/parse.js":(o,r,c)=>{"use strict";function s(){let d=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return d},d}Object.defineProperty(r,"__esModule",{value:!0}),r.parse=void 0,r.parseAsync=function(...d){return(0,l.beginHiddenCallStack)(p.async)(...d)},r.parseSync=function(...d){return(0,l.beginHiddenCallStack)(p.sync)(...d)};var u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/index.js"),H=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/parser/index.js"),a=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/normalize-opts.js"),l=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let p=s()(function*(d,h){let m=yield*(0,u.default)(h);return m===null?null:yield*(0,H.default)(m.passes,(0,a.default)(m),d)});r.parse=function(d,h,m){if(typeof h=="function"&&(m=h,h=void 0),m===void 0)return(0,l.beginHiddenCallStack)(p.sync)(d,h);(0,l.beginHiddenCallStack)(p.errback)(d,h,m)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/parser/index.js":(o,r,c)=>{"use strict";function s(){let a=c("./node_modules/.pnpm/@babel+parser@7.24.7/node_modules/@babel/parser/lib/index.js");return s=function(){return a},a}function u(){let a=c("./stubs/babel-codeframe.js");return u=function(){return a},a}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function*(a,{parserOpts:l,highlightCode:p=!0,filename:d="unknown"},h){try{let m=[];for(let g of a)for(let y of g){let{parserOverride:_}=y;if(_){let E=_(h,l,s().parse);E!==void 0&&m.push(E)}}if(m.length===0)return(0,s().parse)(h,l);if(m.length===1){if(yield*[],typeof m[0].then=="function")throw new Error("You appear to be using an async parser plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");return m[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(m){m.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"&&(m.message+=`
|
|
Consider renaming the file to '.mjs', or setting sourceType:module or sourceType:unambiguous in your Babel config for this file.`);let{loc:g,missingPlugin:y}=m;if(g){let _=(0,u().codeFrameColumns)(h,{start:{line:g.line,column:g.column+1}},{highlightCode:p});m.message=y?`${d}: `+(0,H.default)(y[0],g,_,d):`${d}: ${m.message}
|
|
|
|
`+_,m.code="BABEL_PARSE_ERROR"}throw m}};var H=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js")},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H,a,l){let p=`Support for the experimental syntax '${u}' isn't currently enabled (${H.line}:${H.column+1}):
|
|
|
|
`+a,d=c[u];if(d){let{syntax:h,transform:m}=d;if(h){let g=s(h);m?p+=`
|
|
|
|
Add ${s(m)} to the '${m.name.startsWith("@babel/plugin")?"plugins":"presets"}' section of your Babel config to enable transformation.
|
|
If you want to leave it as-is, add ${g} to the 'plugins' section to enable parsing.`:p+=`
|
|
|
|
Add ${g} to the 'plugins' section of your Babel config to enable parsing.`}}return p+=`
|
|
|
|
If you already added the plugin for this syntax to your config, it's possible that your config isn't being loaded.
|
|
You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:
|
|
npx cross-env BABEL_SHOW_CONFIG_FOR=${l==="unknown"?"<name of the input file>":l} <your build command>
|
|
See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
`,p};let c={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-do-expressions"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decimal"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decorators"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-decorators"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-do-expressions"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-do-expressions"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-default-from"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-export-default-from"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-flow"},transform:{name:"@babel/preset-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-flow"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-bind"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-bind"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-sent"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-sent"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx"},transform:{name:"@babel/preset-react",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-react"}},importAttributes:{syntax:{name:"@babel/plugin-syntax-import-attributes",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-pipeline-operator"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-pipeline-operator"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-record-and-tuple"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-throw-expressions"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-throw-expressions"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-typescript"},transform:{name:"@babel/preset-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-typescript"}}};Object.assign(c,{asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-generators"},transform:{name:"@babel/plugin-transform-async-generator-functions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-async-generator-functions"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-private-methods",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-methods"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-syntax-class-static-block"},transform:{name:"@babel/plugin-transform-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-static-block"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-dynamic-import"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-namespace-from"},transform:{name:"@babel/plugin-transform-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-export-namespace-from"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-assertions"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-meta"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-logical-assignment-operators"},transform:{name:"@babel/plugin-transform-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-logical-assignment-operators"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-module-string-names"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-numeric-separator"},transform:{name:"@babel/plugin-transform-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-numeric-separator"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-nullish-coalescing-operator"},transform:{name:"@babel/plugin-transform-nullish-coalescing-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-nullish-coalescing-opearator"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-object-rest-spread"},transform:{name:"@babel/plugin-transform-object-rest-spread",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-object-rest-spread"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-catch-binding"},transform:{name:"@babel/plugin-transform-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-catch-binding"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-chaining"},transform:{name:"@babel/plugin-transform-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-chaining"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-private-property-in-object"},transform:{name:"@babel/plugin-transform-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-property-in-object"}},regexpUnicodeSets:{syntax:{name:"@babel/plugin-syntax-unicode-sets-regex",url:"https://github.com/babel/babel/blob/main/packages/babel-plugin-syntax-unicode-sets-regex/README.md"},transform:{name:"@babel/plugin-transform-unicode-sets-regex",url:"https://github.com/babel/babel/blob/main/packages/babel-plugin-proposalunicode-sets-regex/README.md"}}});let s=({name:u,url:H})=>`${u} (${H})`},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/tools/build-external-helpers.js":(o,r,c)=>{"use strict";function s(){let Z=c("./node_modules/.pnpm/@babel+helpers@7.24.7/node_modules/@babel/helpers/lib/index.js");return s=function(){return Z},Z}function u(){let Z=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/index.js");return u=function(){return Z},Z}function H(){let Z=c("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/index.js");return H=function(){return Z},Z}function a(){let Z=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");return a=function(){return Z},Z}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(Z,ee="global"){let J,ne={global:$,module:U,umd:F,var:P}[ee];if(!ne)throw new Error(`Unsupported output type ${ee}`);return J=ne(Z),(0,u().default)(J).code};let{arrayExpression:l,assignmentExpression:p,binaryExpression:d,blockStatement:h,callExpression:m,cloneNode:g,conditionalExpression:y,exportNamedDeclaration:_,exportSpecifier:E,expressionStatement:A,functionExpression:S,identifier:T,memberExpression:I,objectExpression:L,program:x,stringLiteral:C,unaryExpression:D,variableDeclaration:O,variableDeclarator:j}=a(),k=Z=>H().default.statement`
|
|
(function (root, factory) {
|
|
if (typeof define === "function" && define.amd) {
|
|
define(AMD_ARGUMENTS, factory);
|
|
} else if (typeof exports === "object") {
|
|
factory(COMMON_ARGUMENTS);
|
|
} else {
|
|
factory(BROWSER_ARGUMENTS);
|
|
}
|
|
})(UMD_ROOT, function (FACTORY_PARAMETERS) {
|
|
FACTORY_BODY
|
|
});
|
|
`(Z);function $(Z){let ee=T("babelHelpers"),J=[],ne=S(null,[T("global")],h(J)),K=x([A(m(ne,[y(d("===",D("typeof",T("global")),C("undefined")),T("self"),T("global"))]))]);return J.push(O("var",[j(ee,p("=",I(T("global"),ee),L([])))])),W(J,ee,Z),K}function U(Z){let ee=[],J=W(ee,null,Z);return ee.unshift(_(null,Object.keys(J).map(ne=>E(g(J[ne]),T(ne))))),x(ee,[],"module")}function F(Z){let ee=T("babelHelpers"),J=[];return J.push(O("var",[j(ee,T("global"))])),W(J,ee,Z),x([k({FACTORY_PARAMETERS:T("global"),BROWSER_ARGUMENTS:p("=",I(T("root"),ee),L([])),COMMON_ARGUMENTS:T("exports"),AMD_ARGUMENTS:l([C("exports")]),FACTORY_BODY:J,UMD_ROOT:T("this")})])}function P(Z){let ee=T("babelHelpers"),J=[];J.push(O("var",[j(ee,L([]))]));let ne=x(J);return W(J,ee,Z),J.push(A(ee)),ne}function W(Z,ee,J){let ne=q=>ee?I(ee,T(q)):T(`_${q}`),K={};return s().list.forEach(function(q){if(J&&J.indexOf(q)<0)return;let Q=K[q]=ne(q),{nodes:z}=s().get(q,ne,ee?null:`_${q}`,[],ee?(ie,_e,He)=>{He(be=>p("=",Q,be)),ie.body.push(A(p("=",Q,T(_e))))}:null);Z.push(...z)}),K}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transform-ast.js":(o,r,c)=>{"use strict";function s(){let p=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return p},p}Object.defineProperty(r,"__esModule",{value:!0}),r.transformFromAst=void 0,r.transformFromAstAsync=function(...p){return(0,a.beginHiddenCallStack)(l.async)(...p)},r.transformFromAstSync=function(...p){return(0,a.beginHiddenCallStack)(l.sync)(...p)};var u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/index.js"),H=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/index.js"),a=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let l=s()(function*(p,d,h){let m=yield*(0,u.default)(h);if(m===null)return null;if(!p)throw new Error("No AST given");return yield*(0,H.run)(m,d,p)});r.transformFromAst=function(p,d,h,m){let g,y;if(typeof h=="function"?(y=h,g=void 0):(g=h,y=m),y===void 0)return(0,a.beginHiddenCallStack)(l.sync)(p,d,g);(0,a.beginHiddenCallStack)(l.errback)(p,d,g,y)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transform-file.js":(o,r,c)=>{"use strict";function s(){let p=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return p},p}Object.defineProperty(r,"__esModule",{value:!0}),r.transformFile=function(...p){l.errback(...p)},r.transformFileAsync=function(...p){return l.async(...p)},r.transformFileSync=function(...p){return l.sync(...p)};var u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/index.js"),H=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/index.js"),a=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/fs.js");let l=s()(function*(p,d){let h=Object.assign({},d,{filename:p}),m=yield*(0,u.default)(h);if(m===null)return null;let g=yield*a.readFile(p,"utf8");return yield*(0,H.run)(m,g)})},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transform.js":(o,r,c)=>{"use strict";function s(){let p=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return p},p}Object.defineProperty(r,"__esModule",{value:!0}),r.transform=void 0,r.transformAsync=function(...p){return(0,a.beginHiddenCallStack)(l.async)(...p)},r.transformSync=function(...p){return(0,a.beginHiddenCallStack)(l.sync)(...p)};var u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/index.js"),H=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/index.js"),a=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let l=s()(function*(p,d){let h=yield*(0,u.default)(d);return h===null?null:yield*(0,H.run)(h,p)});r.transform=function(p,d,h){let m,g;if(typeof d=="function"?(g=d,m=void 0):(m=d,g=h),g===void 0)return(0,a.beginHiddenCallStack)(l.sync)(p,m);(0,a.beginHiddenCallStack)(l.errback)(p,m,g)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js":(o,r,c)=>{"use strict";function s(){let d=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js");return s=function(){return d},d}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){return H||(H=new u.default(Object.assign({},a,{visitor:s().default.explode(a.visitor)}),{})),H};var u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/plugin.js");let H,a={name:"internal.blockHoist",visitor:{Block:{exit({node:d}){d.body=l(d.body)}},SwitchCase:{exit({node:d}){d.consequent=l(d.consequent)}}}};function l(d){let h=Math.pow(2,30)-1,m=!1;for(let g=0;g<d.length;g++){let y=p(d[g]);if(y>h){m=!0;break}h=y}return m?function(g){let y=Object.create(null);for(let A=0;A<g.length;A++){let S=g[A],T=p(S);(y[T]||(y[T]=[])).push(S)}let _=Object.keys(y).map(A=>+A).sort((A,S)=>S-A),E=0;for(let A of _){let S=y[A];for(let T of S)g[E++]=T}return g}(d.slice()):d}function p(d){let h=d?._blockHoist;return h==null?1:h===!0?2:h}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/file/file.js":(o,r,c)=>{"use strict";function s(){let y=c("./node_modules/.pnpm/@babel+helpers@7.24.7/node_modules/@babel/helpers/lib/index.js");return s=function(){return y},y}function u(){let y=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js");return u=function(){return y},y}function H(){let y=c("./stubs/babel-codeframe.js");return H=function(){return y},y}function a(){let y=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");return a=function(){return y},y}function l(){let y=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/index.js");return l=function(){return y},y}function p(){let y=c("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return p=function(){return y},y}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;let{cloneNode:d,interpreterDirective:h}=a(),m={enter(y,_){let E=y.node.loc;E&&(_.loc=E,y.stop())}};class g{constructor(_,{code:E,ast:A,inputMap:S}){this._map=new Map,this.opts=void 0,this.declarations={},this.path=void 0,this.ast=void 0,this.scope=void 0,this.metadata={},this.code="",this.inputMap=void 0,this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)},this.opts=_,this.code=E,this.ast=A,this.inputMap=S,this.path=u().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext(),this.scope=this.path.scope}get shebang(){let{interpreter:_}=this.path.node;return _?_.value:""}set shebang(_){_?this.path.get("interpreter").replaceWith(h(_)):this.path.get("interpreter").remove()}set(_,E){if(_==="helpersNamespace")throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility.If you are using @babel/plugin-external-helpers you will need to use a newer version than the one you currently have installed. If you have your own implementation, you'll want to explore using 'helperGenerator' alongside 'file.availableHelper()'.");this._map.set(_,E)}get(_){return this._map.get(_)}has(_){return this._map.has(_)}getModuleName(){return(0,l().getModuleName)(this.opts,this.opts)}availableHelper(_,E){let A;try{A=s().minVersion(_)}catch(S){if(S.code!=="BABEL_HELPER_UNKNOWN")throw S;return!1}return typeof E!="string"||(p().valid(E)&&(E=`^${E}`),!p().intersects(`<${A}`,E)&&!p().intersects(">=8.0.0",E))}addHelper(_){let E=this.declarations[_];if(E)return d(E);let A=this.get("helperGenerator");if(A){let C=A(_);if(C)return C}s().minVersion(_);let S=this.declarations[_]=this.scope.generateUidIdentifier(_),T={};for(let C of s().getDependencies(_))T[C]=this.addHelper(C);let{nodes:I,globals:L}=s().get(_,C=>T[C],S.name,Object.keys(this.scope.getAllBindings()));L.forEach(C=>{this.path.scope.hasBinding(C,!0)&&this.path.scope.rename(C)}),I.forEach(C=>{C._compact=!0});let x=this.path.unshiftContainer("body",I);for(let C of x)C.isVariableDeclaration()&&this.scope.registerDeclaration(C);return S}buildCodeFrameError(_,E,A=SyntaxError){let S=_?.loc;if(!S&&_){let T={loc:null};(0,u().default)(_,m,this.scope,T),S=T.loc;let I="This is an error on an internal node. Probably an internal error.";S&&(I+=" Location has been estimated."),E+=` (${I})`}if(S){let{highlightCode:T=!0}=this.opts;E+=`
|
|
`+(0,H().codeFrameColumns)(this.code,{start:{line:S.start.line,column:S.start.column+1},end:S.end&&S.start.line===S.end.line?{line:S.end.line,column:S.end.column+1}:void 0},{highlightCode:T})}return new A(E)}}r.default=g,g.prototype.addImport=function(){throw new Error("This API has been removed. If you're looking for this functionality in Babel 7, you should import the '@babel/helper-module-imports' module and use the functions exposed from that module, such as 'addNamed' or 'addDefault'.")},g.prototype.addTemplateObject=function(){throw new Error("This function has been moved into the template literal transform itself.")}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/file/generate.js":(o,r,c)=>{"use strict";function s(){let a=c("./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js");return s=function(){return a},a}function u(){let a=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/index.js");return u=function(){return a},a}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(a,l){let{opts:p,ast:d,code:h,inputMap:m}=l,{generatorOpts:g}=p;g.inputSourceMap=m?.toObject();let y=[];for(let S of a)for(let T of S){let{generatorOverride:I}=T;if(I){let L=I(d,g,h,u().default);L!==void 0&&y.push(L)}}let _;if(y.length===0)_=(0,u().default)(d,g,h);else{if(y.length!==1)throw new Error("More than one plugin attempted to override codegen.");if(_=y[0],typeof _.then=="function")throw new Error("You appear to be using an async codegen plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}let{code:E,decodedMap:A=_.map}=_;return _.__mergedMap?A=Object.assign({},_.map):A&&(A=m?(0,H.default)(m.toObject(),A,g.sourceFileName):_.map),p.sourceMaps!=="inline"&&p.sourceMaps!=="both"||(E+=`
|
|
`+s().fromObject(A).toComment()),p.sourceMaps==="inline"&&(A=null),{outputCode:E,outputMap:A}};var H=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/file/merge-map.js")},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/file/merge-map.js":(o,r,c)=>{"use strict";function s(){let H=c("./node_modules/.pnpm/@ampproject+remapping@2.3.0/node_modules/@ampproject/remapping/dist/remapping.umd.js");return s=function(){return H},H}function u(H){return Object.assign({},H,{sourceRoot:null})}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H,a,l){let p=l.replace(/\\/g,"/"),d=!1,h=s()(u(a),(m,g)=>m!==p||d?null:(d=!0,g.source="",u(H)));return typeof H.sourceRoot=="string"&&(h.sourceRoot=H.sourceRoot),Object.assign({},h)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/index.js":(o,r,c)=>{"use strict";function s(){let m=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js");return s=function(){return m},m}Object.defineProperty(r,"__esModule",{value:!0}),r.run=function*(m,g,y){let _=yield*(0,l.default)(m.passes,(0,a.default)(m),g,y),E=_.opts;try{yield*function*(L,x){for(let C of x){let D=[],O=[],j=[];for(let $ of C.concat([(0,H.default)()])){let U=new u.default(L,$.key,$.options);D.push([$,U]),O.push(U),j.push($.visitor)}for(let[$,U]of D){let F=$.pre;if(F){let P=F.call(U,L);if(yield*[],h(P))throw new Error("You appear to be using an plugin with an async .pre, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}}let k=s().default.visitors.merge(j,O,L.opts.wrapPluginVisitorMethod);(0,s().default)(L.ast,k,L.scope);for(let[$,U]of D){let F=$.post;if(F){let P=F.call(U,L);if(yield*[],h(P))throw new Error("You appear to be using an plugin with an async .post, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}}}}(_,m.passes)}catch(L){var A;throw L.message=`${(A=E.filename)!=null?A:"unknown file"}: ${L.message}`,L.code||(L.code="BABEL_TRANSFORM_ERROR"),L}let S,T;try{E.code!==!1&&({outputCode:S,outputMap:T}=(0,p.default)(m.passes,_))}catch(L){var I;throw L.message=`${(I=E.filename)!=null?I:"unknown file"}: ${L.message}`,L.code||(L.code="BABEL_GENERATE_ERROR"),L}return{metadata:_.metadata,options:E,ast:E.ast===!0?_.ast:null,code:S===void 0?null:S,map:T===void 0?null:T,sourceType:_.ast.program.sourceType,externalDependencies:(0,d.flattenToSet)(m.externalDependencies)}};var u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/plugin-pass.js"),H=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js"),a=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/normalize-opts.js"),l=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/normalize-file.js"),p=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/file/generate.js"),d=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/deep-array.js");function h(m){return!(!m||typeof m!="object"&&typeof m!="function"||!m.then||typeof m.then!="function")}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/normalize-file.js":(o,r,c)=>{"use strict";function s(){let T=c("fs");return s=function(){return T},T}function u(){let T=c("path");return u=function(){return T},T}function H(){let T=c("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/index.js");return H=function(){return T},T}function a(){let T=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");return a=function(){return T},T}function l(){let T=c("./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js");return l=function(){return T},T}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function*(T,I,L,x){if(L=`${L||""}`,x){if(x.type==="Program")x=m(x,[],[]);else if(x.type!=="File")throw new Error("AST root must be a Program or File node");I.cloneInputAst&&(x=(0,h.default)(x))}else x=yield*(0,d.default)(T,I,L);let C=null;if(I.inputSourceMap!==!1){if(typeof I.inputSourceMap=="object"&&(C=l().fromObject(I.inputSourceMap)),!C){let D=S(_,x);if(D)try{C=l().fromComment("//"+D)}catch{y("discarding unknown inline input sourcemap")}}if(!C){let D=S(E,x);if(typeof I.filename=="string"&&D)try{let O=E.exec(D),j=s().readFileSync(u().resolve(u().dirname(I.filename),O[1]),"utf8");C=l().fromJSON(j)}catch(O){y("discarding unknown file input sourcemap",O)}else D&&y("discarding un-loadable file input sourcemap")}}return new p.default(I,{code:L,ast:x,inputMap:C})};var p=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/file/file.js"),d=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/parser/index.js"),h=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/util/clone-deep.js");let{file:m,traverseFast:g}=a(),y=H()("babel:transform:file"),_=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/,E=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function A(T,I,L){return I&&(I=I.filter(({value:x})=>!T.test(x)||(L=x,!1))),[I,L]}function S(T,I){let L=null;return g(I,x=>{[x.leadingComments,L]=A(T,x.leadingComments,L),[x.innerComments,L]=A(T,x.innerComments,L),[x.trailingComments,L]=A(T,x.trailingComments,L)}),L}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/normalize-opts.js":(o,r,c)=>{"use strict";function s(){let u=c("path");return s=function(){return u},u}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){let{filename:H,cwd:a,filenameRelative:l=typeof H=="string"?s().relative(a,H):"unknown",sourceType:p="module",inputSourceMap:d,sourceMaps:h=!!d,sourceRoot:m=u.options.moduleRoot,sourceFileName:g=s().basename(l),comments:y=!0,compact:_="auto"}=u.options,E=u.options,A=Object.assign({},E,{parserOpts:Object.assign({sourceType:s().extname(l)===".mjs"?"module":p,sourceFileName:H,plugins:[]},E.parserOpts),generatorOpts:Object.assign({filename:H,auxiliaryCommentBefore:E.auxiliaryCommentBefore,auxiliaryCommentAfter:E.auxiliaryCommentAfter,retainLines:E.retainLines,comments:y,shouldPrintComment:E.shouldPrintComment,compact:_,minified:E.minified,sourceMaps:h,sourceRoot:m,sourceFileName:g},E.generatorOpts)});for(let S of u.passes)for(let T of S)T.manipulateOptions&&T.manipulateOptions(A,A.parserOpts);return A}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/plugin-pass.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;class c{constructor(u,H,a){this._map=new Map,this.key=void 0,this.file=void 0,this.opts=void 0,this.cwd=void 0,this.filename=void 0,this.key=H,this.file=u,this.opts=a||{},this.cwd=u.opts.cwd,this.filename=u.opts.filename}set(u,H){this._map.set(u,H)}get(u){return this._map.get(u)}availableHelper(u,H){return this.file.availableHelper(u,H)}addHelper(u){return this.file.addHelper(u)}buildCodeFrameError(u,H,a){return this.file.buildCodeFrameError(u,H,a)}}r.default=c,c.prototype.getModuleName=function(){return this.file.getModuleName()},c.prototype.addImport=function(){this.file.addImport()}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/util/clone-deep.js":(o,r)=>{"use strict";function c(s,u){if(s!==null){if(u.has(s))return u.get(s);let H;if(Array.isArray(s)){H=new Array(s.length),u.set(s,H);for(let a=0;a<s.length;a++)H[a]=typeof s[a]!="object"?s[a]:c(s[a],u)}else{H={},u.set(s,H);let a=Object.keys(s);for(let l=0;l<a.length;l++){let p=a[l];H[p]=typeof s[p]!="object"?s[p]:c(s[p],u)}}return H}return s}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(s){return typeof s!="object"?s:c(s,new Map)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/vendor/import-meta-resolve.js":(o,r,c)=>{"use strict";function s(){let Ce=c("assert");return s=function(){return Ce},Ce}function u(){let Ce=function(qe,ot){if(!ot&&qe&&qe.__esModule)return qe;if(qe===null||typeof qe!="object"&&typeof qe!="function")return{default:qe};var Ze=m(ot);if(Ze&&Ze.has(qe))return Ze.get(qe);var Pe={__proto__:null},Qe=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ge in qe)if(Ge!=="default"&&{}.hasOwnProperty.call(qe,Ge)){var we=Qe?Object.getOwnPropertyDescriptor(qe,Ge):null;we&&(we.get||we.set)?Object.defineProperty(Pe,Ge,we):Pe[Ge]=qe[Ge]}return Pe.default=qe,Ze&&Ze.set(qe,Pe),Pe}(c("fs"),!0);return u=function(){return Ce},Ce}function H(){let Ce=c("process");return H=function(){return Ce},Ce}function a(){let Ce=c("url");return a=function(){return Ce},Ce}function l(){let Ce=c("path");return l=function(){return Ce},Ce}function p(){let Ce=c("module");return p=function(){return Ce},Ce}function d(){let Ce=c("v8");return d=function(){return Ce},Ce}function h(){let Ce=c("util");return h=function(){return Ce},Ce}function m(Ce){if(typeof WeakMap!="function")return null;var qe=new WeakMap,ot=new WeakMap;return(m=function(Ze){return Ze?ot:qe})(Ce)}Object.defineProperty(r,"__esModule",{value:!0}),r.moduleResolve=Nt,r.resolve=function(Ce,qe){if(!qe)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return function(ot,Ze={}){let{parentURL:Pe}=Ze,Qe,Ge,we;if(s()(Pe!==void 0,"expected `parentURL` to be defined"),function(Tt){if(Tt!==void 0){if(typeof Tt!="string"&&(Ot=Tt,!(Ot&&typeof Ot=="object"&&"href"in Ot&&typeof Ot.href=="string"&&"protocol"in Ot&&typeof Ot.protocol=="string"&&Ot.href&&Ot.protocol)))throw new E.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],Tt);var Ot}}(Pe),Pe)try{Qe=new(a()).URL(Pe)}catch{}try{if(Ge=pt(ot)?new(a()).URL(ot,Qe):new(a()).URL(ot),we=Ge.protocol,we==="data:")return{url:Ge.href,format:null}}catch{}let Ne=function(Tt,Ot,Pt){if(Pt){let Ir=Pt.protocol;if(Ir==="http:"||Ir==="https:"){if(pt(Tt)){let Lr=Ot?.protocol;if(Lr&&Lr!=="https:"&&Lr!=="http:")throw new Q(Tt,Pt,"remote imports cannot import from a local location.");return{url:Ot?.href||""}}throw p().builtinModules.includes(Tt)?new Q(Tt,Pt,"remote imports cannot import from a local location."):new Q(Tt,Pt,"only relative and absolute specifiers are supported.")}}}(ot,Ge,Qe);if(Ne)return Ne;if(we===void 0&&Ge&&(we=Ge.protocol),we==="node:")return{url:ot};if(Ge&&Ge.protocol==="node:")return{url:ot};let ht=function(Tt){if(Tt!==void 0&&Tt!==ne){if(!Array.isArray(Tt))throw new J("conditions",Tt,"expected an array");return new Set(Tt)}return K}(Ze.conditions),it=Nt(ot,new(a()).URL(Pe),ht,!1);return{url:it.href,format:ee(it,{parentURL:Pe})}}(Ce,{parentURL:qe}).url}catch(ot){let Ze=ot;if((Ze.code==="ERR_UNSUPPORTED_DIR_IMPORT"||Ze.code==="ERR_MODULE_NOT_FOUND")&&typeof Ze.url=="string")return Ze.url;throw ot}};let g={}.hasOwnProperty,y=/^([A-Z][a-z\d]*)+$/,_=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),E={};function A(Ce,qe="and"){return Ce.length<3?Ce.join(` ${qe} `):`${Ce.slice(0,-1).join(", ")}, ${qe} ${Ce[Ce.length-1]}`}let S=new Map,T;function I(Ce,qe,ot){return S.set(Ce,qe),function(Ze,Pe){return Qe;function Qe(...Ge){let we=Error.stackTraceLimit;L()&&(Error.stackTraceLimit=0);let Ne=new Ze;L()&&(Error.stackTraceLimit=we);let ht=function(it,Tt,Ot){let Pt=S.get(it);if(s()(Pt!==void 0,"expected `message` to be found"),typeof Pt=="function")return s()(Pt.length<=Tt.length,`Code: ${it}; The provided arguments length (${Tt.length}) does not match the required ones (${Pt.length}).`),Reflect.apply(Pt,Ot,Tt);let Ir=/%[dfijoOs]/g,Lr=0;for(;Ir.exec(Pt)!==null;)Lr++;return s()(Lr===Tt.length,`Code: ${it}; The provided arguments length (${Tt.length}) does not match the required ones (${Lr}).`),Tt.length===0?Pt:(Tt.unshift(Pt),Reflect.apply(h().format,null,Tt))}(Pe,Ge,Ne);return Object.defineProperties(Ne,{message:{value:ht,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${Pe}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),x(Ne),Ne.code=Pe,Ne}}(ot,Ce)}function L(){try{if(d().startupSnapshot.isBuildingSnapshot())return!1}catch{}let Ce=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return Ce===void 0?Object.isExtensible(Error):g.call(Ce,"writable")&&Ce.writable!==void 0?Ce.writable:Ce.set!==void 0}E.ERR_INVALID_ARG_TYPE=I("ERR_INVALID_ARG_TYPE",(Ce,qe,ot)=>{s()(typeof Ce=="string","'name' must be a string"),Array.isArray(qe)||(qe=[qe]);let Ze="The ";if(Ce.endsWith(" argument"))Ze+=`${Ce} `;else{let we=Ce.includes(".")?"property":"argument";Ze+=`"${Ce}" ${we} `}Ze+="must be ";let Pe=[],Qe=[],Ge=[];for(let we of qe)s()(typeof we=="string","All expected entries have to be of type string"),_.has(we)?Pe.push(we.toLowerCase()):y.exec(we)===null?(s()(we!=="object",'The value "object" should be written as "Object"'),Ge.push(we)):Qe.push(we);if(Qe.length>0){let we=Pe.indexOf("object");we!==-1&&(Pe.slice(we,1),Qe.push("Object"))}return Pe.length>0&&(Ze+=`${Pe.length>1?"one of type":"of type"} ${A(Pe,"or")}`,(Qe.length>0||Ge.length>0)&&(Ze+=" or ")),Qe.length>0&&(Ze+=`an instance of ${A(Qe,"or")}`,Ge.length>0&&(Ze+=" or ")),Ge.length>0&&(Ge.length>1?Ze+=`one of ${A(Ge,"or")}`:(Ge[0].toLowerCase()!==Ge[0]&&(Ze+="an "),Ze+=`${Ge[0]}`)),Ze+=`. Received ${function(we){if(we==null)return String(we);if(typeof we=="function"&&we.name)return`function ${we.name}`;if(typeof we=="object")return we.constructor&&we.constructor.name?`an instance of ${we.constructor.name}`:`${(0,h().inspect)(we,{depth:-1})}`;let Ne=(0,h().inspect)(we,{colors:!1});return Ne.length>28&&(Ne=`${Ne.slice(0,25)}...`),`type ${typeof we} (${Ne})`}(ot)}`,Ze},TypeError),E.ERR_INVALID_MODULE_SPECIFIER=I("ERR_INVALID_MODULE_SPECIFIER",(Ce,qe,ot=void 0)=>`Invalid module "${Ce}" ${qe}${ot?` imported from ${ot}`:""}`,TypeError),E.ERR_INVALID_PACKAGE_CONFIG=I("ERR_INVALID_PACKAGE_CONFIG",(Ce,qe,ot)=>`Invalid package config ${Ce}${qe?` while importing ${qe}`:""}${ot?`. ${ot}`:""}`,Error),E.ERR_INVALID_PACKAGE_TARGET=I("ERR_INVALID_PACKAGE_TARGET",(Ce,qe,ot,Ze=!1,Pe=void 0)=>{let Qe=typeof ot=="string"&&!Ze&&ot.length>0&&!ot.startsWith("./");return qe==="."?(s()(Ze===!1),`Invalid "exports" main target ${JSON.stringify(ot)} defined in the package config ${Ce}package.json${Pe?` imported from ${Pe}`:""}${Qe?'; targets must start with "./"':""}`):`Invalid "${Ze?"imports":"exports"}" target ${JSON.stringify(ot)} defined for '${qe}' in the package config ${Ce}package.json${Pe?` imported from ${Pe}`:""}${Qe?'; targets must start with "./"':""}`},Error),E.ERR_MODULE_NOT_FOUND=I("ERR_MODULE_NOT_FOUND",(Ce,qe,ot=!1)=>`Cannot find ${ot?"module":"package"} '${Ce}' imported from ${qe}`,Error),E.ERR_NETWORK_IMPORT_DISALLOWED=I("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),E.ERR_PACKAGE_IMPORT_NOT_DEFINED=I("ERR_PACKAGE_IMPORT_NOT_DEFINED",(Ce,qe,ot)=>`Package import specifier "${Ce}" is not defined${qe?` in package ${qe}package.json`:""} imported from ${ot}`,TypeError),E.ERR_PACKAGE_PATH_NOT_EXPORTED=I("ERR_PACKAGE_PATH_NOT_EXPORTED",(Ce,qe,ot=void 0)=>qe==="."?`No "exports" main defined in ${Ce}package.json${ot?` imported from ${ot}`:""}`:`Package subpath '${qe}' is not defined by "exports" in ${Ce}package.json${ot?` imported from ${ot}`:""}`,Error),E.ERR_UNSUPPORTED_DIR_IMPORT=I("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),E.ERR_UNSUPPORTED_RESOLVE_REQUEST=I("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),E.ERR_UNKNOWN_FILE_EXTENSION=I("ERR_UNKNOWN_FILE_EXTENSION",(Ce,qe)=>`Unknown file extension "${Ce}" for ${qe}`,TypeError),E.ERR_INVALID_ARG_VALUE=I("ERR_INVALID_ARG_VALUE",(Ce,qe,ot="is invalid")=>{let Ze=(0,h().inspect)(qe);return Ze.length>128&&(Ze=`${Ze.slice(0,128)}...`),`The ${Ce.includes(".")?"property":"argument"} '${Ce}' ${ot}. Received ${Ze}`},TypeError);let x=function(Ce){let qe="__node_internal_"+Ce.name;return Object.defineProperty(Ce,"name",{value:qe}),Ce}(function(Ce){let qe=L();return qe&&(T=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(Ce),qe&&(Error.stackTraceLimit=T),Ce}),C={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:D}=E,O=new Map;function j(Ce,{base:qe,specifier:ot}){let Ze=O.get(Ce);if(Ze)return Ze;let Pe;try{Pe=u().default.readFileSync(l().toNamespacedPath(Ce),"utf8")}catch(Ge){let we=Ge;if(we.code!=="ENOENT")throw we}let Qe={exists:!1,pjsonPath:Ce,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(Pe!==void 0){let Ge;try{Ge=JSON.parse(Pe)}catch(we){let Ne=we,ht=new D(Ce,(qe?`"${ot}" from `:"")+(0,a().fileURLToPath)(qe||ot),Ne.message);throw ht.cause=Ne,ht}Qe.exists=!0,C.call(Ge,"name")&&typeof Ge.name=="string"&&(Qe.name=Ge.name),C.call(Ge,"main")&&typeof Ge.main=="string"&&(Qe.main=Ge.main),C.call(Ge,"exports")&&(Qe.exports=Ge.exports),C.call(Ge,"imports")&&(Qe.imports=Ge.imports),!C.call(Ge,"type")||Ge.type!=="commonjs"&&Ge.type!=="module"||(Qe.type=Ge.type)}return O.set(Ce,Qe),Qe}function k(Ce){let qe=new URL("package.json",Ce);for(;!qe.pathname.endsWith("node_modules/package.json");){let ot=j((0,a().fileURLToPath)(qe),{specifier:Ce});if(ot.exists)return ot;let Ze=qe;if(qe=new URL("../package.json",qe),qe.pathname===Ze.pathname)break}return{pjsonPath:(0,a().fileURLToPath)(qe),exists:!1,type:"none"}}function $(Ce){return k(Ce).type}let{ERR_UNKNOWN_FILE_EXTENSION:U}=E,F={}.hasOwnProperty,P={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"},W={__proto__:null,"data:":function(Ce){let{1:qe}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(Ce.pathname)||[null,null,null];return function(ot){return ot&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(ot)?"module":ot==="application/json"?"json":null}(qe)},"file:":function(Ce,qe,ot){let Ze=function(Ge){let we=Ge.pathname,Ne=we.length;for(;Ne--;){let ht=we.codePointAt(Ne);if(ht===47)return"";if(ht===46)return we.codePointAt(Ne-1)===47?"":we.slice(Ne)}return""}(Ce);if(Ze===".js"){let Ge=$(Ce);return Ge!=="none"?Ge:"commonjs"}if(Ze===""){let Ge=$(Ce);return Ge==="none"||Ge==="commonjs"?"commonjs":"module"}let Pe=P[Ze];if(Pe)return Pe;if(ot)return;let Qe=(0,a().fileURLToPath)(Ce);throw new U(Ze,Qe)},"http:":Z,"https:":Z,"node:":()=>"builtin"};function Z(){}function ee(Ce,qe){let ot=Ce.protocol;return F.call(W,ot)&&W[ot](Ce,qe,!0)||null}let{ERR_INVALID_ARG_VALUE:J}=E,ne=Object.freeze(["node","import"]),K=new Set(ne),q=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:Q,ERR_INVALID_MODULE_SPECIFIER:z,ERR_INVALID_PACKAGE_CONFIG:ie,ERR_INVALID_PACKAGE_TARGET:_e,ERR_MODULE_NOT_FOUND:He,ERR_PACKAGE_IMPORT_NOT_DEFINED:be,ERR_PACKAGE_PATH_NOT_EXPORTED:Ve,ERR_UNSUPPORTED_DIR_IMPORT:Fe,ERR_UNSUPPORTED_RESOLVE_REQUEST:me}=E,ce={}.hasOwnProperty,ke=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,je=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,Oe=/^\.|%|\\/,re=/\*/g,fe=/%2f|%5c/i,he=new Set,se=/[/\\]{2}/;function Ie(Ce,qe,ot,Ze,Pe,Qe,Ge){if(H().noDeprecation)return;let we=(0,a().fileURLToPath)(Ze),Ne=se.exec(Ge?Ce:qe)!==null;H().emitWarning(`Use of deprecated ${Ne?"double slash":"leading or trailing slash matching"} resolving "${Ce}" for module request "${qe}" ${qe===ot?"":`matched to "${ot}" `}in the "${Pe?"imports":"exports"}" field module resolution of the package at ${we}${Qe?` imported from ${(0,a().fileURLToPath)(Qe)}`:""}.`,"DeprecationWarning","DEP0166")}function ye(Ce,qe,ot,Ze){if(H().noDeprecation||ee(Ce,{parentURL:ot.href})!=="module")return;let Pe=(0,a().fileURLToPath)(Ce.href),Qe=(0,a().fileURLToPath)(new(a()).URL(".",qe)),Ge=(0,a().fileURLToPath)(ot);Ze?l().resolve(Qe,Ze)!==Pe&&H().emitWarning(`Package ${Qe} has a "main" field set to "${Ze}", excluding the full filename and extension to the resolved file at "${Pe.slice(Qe.length)}", imported from ${Ge}.
|
|
Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):H().emitWarning(`No "main" or "exports" field defined in the package.json for ${Qe} resolving the main entry point "${Pe.slice(Qe.length)}", imported from ${Ge}.
|
|
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function $e(Ce){try{return(0,u().statSync)(Ce)}catch{}}function nt(Ce){let qe=(0,u().statSync)(Ce,{throwIfNoEntry:!1}),ot=qe?qe.isFile():void 0;return ot!=null&&ot}function et(Ce,qe,ot){let Ze;if(qe.main!==void 0){if(Ze=new(a()).URL(qe.main,Ce),nt(Ze))return Ze;let Ge=[`./${qe.main}.js`,`./${qe.main}.json`,`./${qe.main}.node`,`./${qe.main}/index.js`,`./${qe.main}/index.json`,`./${qe.main}/index.node`],we=-1;for(;++we<Ge.length&&(Ze=new(a()).URL(Ge[we],Ce),!nt(Ze));)Ze=void 0;if(Ze)return ye(Ze,Ce,ot,qe.main),Ze}let Pe=["./index.js","./index.json","./index.node"],Qe=-1;for(;++Qe<Pe.length&&(Ze=new(a()).URL(Pe[Qe],Ce),!nt(Ze));)Ze=void 0;if(Ze)return ye(Ze,Ce,ot,qe.main),Ze;throw new He((0,a().fileURLToPath)(new(a()).URL(".",Ce)),(0,a().fileURLToPath)(ot))}function xe(Ce,qe,ot){return new Ve((0,a().fileURLToPath)(new(a()).URL(".",qe)),Ce,ot&&(0,a().fileURLToPath)(ot))}function pe(Ce,qe,ot,Ze,Pe){return qe=typeof qe=="object"&&qe!==null?JSON.stringify(qe,null,""):`${qe}`,new _e((0,a().fileURLToPath)(new(a()).URL(".",ot)),Ce,qe,Ze,Pe&&(0,a().fileURLToPath)(Pe))}function ue(Ce,qe,ot,Ze,Pe,Qe,Ge,we,Ne){if(qe!==""&&!Qe&&Ce[Ce.length-1]!=="/")throw pe(ot,Ce,Ze,Ge,Pe);if(!Ce.startsWith("./")){if(Ge&&!Ce.startsWith("../")&&!Ce.startsWith("/")){let Ot=!1;try{new(a()).URL(Ce),Ot=!0}catch{}if(!Ot)return At(Qe?q.call(re,Ce,()=>qe):Ce+qe,Ze,Ne)}throw pe(ot,Ce,Ze,Ge,Pe)}if(ke.exec(Ce.slice(2))!==null){if(je.exec(Ce.slice(2))!==null)throw pe(ot,Ce,Ze,Ge,Pe);if(!we){let Ot=Qe?ot.replace("*",()=>qe):ot+qe;Ie(Qe?q.call(re,Ce,()=>qe):Ce,Ot,ot,Ze,Ge,Pe,!0)}}let ht=new(a()).URL(Ce,Ze),it=ht.pathname,Tt=new(a()).URL(".",Ze).pathname;if(!it.startsWith(Tt))throw pe(ot,Ce,Ze,Ge,Pe);if(qe==="")return ht;if(ke.exec(qe)!==null){let Ot=Qe?ot.replace("*",()=>qe):ot+qe;je.exec(qe)===null?we||Ie(Qe?q.call(re,Ce,()=>qe):Ce,Ot,ot,Ze,Ge,Pe,!1):function(Pt,Ir,Lr,_n,_r){let bn=`request is not a valid match in pattern "${Ir}" for the "${_n?"imports":"exports"}" resolution of ${(0,a().fileURLToPath)(Lr)}`;throw new z(Pt,bn,_r&&(0,a().fileURLToPath)(_r))}(Ot,ot,Ze,Ge,Pe)}return Qe?new(a()).URL(q.call(re,ht.href,()=>qe)):new(a()).URL(qe,ht)}function Se(Ce){let qe=Number(Ce);return`${qe}`===Ce&&qe>=0&&qe<4294967295}function Ae(Ce,qe,ot,Ze,Pe,Qe,Ge,we,Ne){if(typeof qe=="string")return ue(qe,ot,Ze,Ce,Pe,Qe,Ge,we,Ne);if(Array.isArray(qe)){let ht=qe;if(ht.length===0)return null;let it,Tt=-1;for(;++Tt<ht.length;){let Ot=ht[Tt],Pt;try{Pt=Ae(Ce,Ot,ot,Ze,Pe,Qe,Ge,we,Ne)}catch(Ir){if(it=Ir,Ir.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw Ir}if(Pt!==void 0){if(Pt!==null)return Pt;it=null}}if(it==null)return null;throw it}if(typeof qe=="object"&&qe!==null){let ht=Object.getOwnPropertyNames(qe),it=-1;for(;++it<ht.length;)if(Se(ht[it]))throw new ie((0,a().fileURLToPath)(Ce),Pe,'"exports" cannot contain numeric property keys.');for(it=-1;++it<ht.length;){let Tt=ht[it];if(Tt==="default"||Ne&&Ne.has(Tt)){let Ot=Ae(Ce,qe[Tt],ot,Ze,Pe,Qe,Ge,we,Ne);if(Ot===void 0)continue;return Ot}}return null}if(qe===null)return null;throw pe(Ze,qe,Ce,Ge,Pe)}function de(Ce,qe,ot){if(H().noDeprecation)return;let Ze=(0,a().fileURLToPath)(qe);he.has(Ze+"|"+Ce)||(he.add(Ze+"|"+Ce),H().emitWarning(`Use of deprecated trailing slash pattern mapping "${Ce}" in the "exports" field module resolution of the package at ${Ze}${ot?` imported from ${(0,a().fileURLToPath)(ot)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function We(Ce,qe,ot,Ze,Pe){let Qe=ot.exports;if(function(it,Tt,Ot){if(typeof it=="string"||Array.isArray(it))return!0;if(typeof it!="object"||it===null)return!1;let Pt=Object.getOwnPropertyNames(it),Ir=!1,Lr=0,_n=-1;for(;++_n<Pt.length;){let _r=Pt[_n],bn=_r===""||_r[0]!==".";if(Lr++==0)Ir=bn;else if(Ir!==bn)throw new ie((0,a().fileURLToPath)(Tt),Ot,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return Ir}(Qe,Ce,Ze)&&(Qe={".":Qe}),ce.call(Qe,qe)&&!qe.includes("*")&&!qe.endsWith("/")){let it=Ae(Ce,Qe[qe],"",qe,Ze,!1,!1,!1,Pe);if(it==null)throw xe(qe,Ce,Ze);return it}let Ge="",we="",Ne=Object.getOwnPropertyNames(Qe),ht=-1;for(;++ht<Ne.length;){let it=Ne[ht],Tt=it.indexOf("*");if(Tt!==-1&&qe.startsWith(it.slice(0,Tt))){qe.endsWith("/")&&de(qe,Ce,Ze);let Ot=it.slice(Tt+1);qe.length>=it.length&&qe.endsWith(Ot)&&tt(Ge,it)===1&&it.lastIndexOf("*")===Tt&&(Ge=it,we=qe.slice(Tt,qe.length-Ot.length))}}if(Ge){let it=Ae(Ce,Qe[Ge],we,Ge,Ze,!0,!1,qe.endsWith("/"),Pe);if(it==null)throw xe(qe,Ce,Ze);return it}throw xe(qe,Ce,Ze)}function tt(Ce,qe){let ot=Ce.indexOf("*"),Ze=qe.indexOf("*"),Pe=ot===-1?Ce.length:ot+1,Qe=Ze===-1?qe.length:Ze+1;return Pe>Qe?-1:Qe>Pe||ot===-1?1:Ze===-1||Ce.length>qe.length?-1:qe.length>Ce.length?1:0}function mt(Ce,qe,ot){if(Ce==="#"||Ce.startsWith("#/")||Ce.endsWith("/"))throw new z(Ce,"is not a valid internal imports specifier name",(0,a().fileURLToPath)(qe));let Ze,Pe=k(qe);if(Pe.exists){Ze=(0,a().pathToFileURL)(Pe.pjsonPath);let Qe=Pe.imports;if(Qe)if(ce.call(Qe,Ce)&&!Ce.includes("*")){let Ge=Ae(Ze,Qe[Ce],"",Ce,qe,!1,!0,!1,ot);if(Ge!=null)return Ge}else{let Ge="",we="",Ne=Object.getOwnPropertyNames(Qe),ht=-1;for(;++ht<Ne.length;){let it=Ne[ht],Tt=it.indexOf("*");if(Tt!==-1&&Ce.startsWith(it.slice(0,-1))){let Ot=it.slice(Tt+1);Ce.length>=it.length&&Ce.endsWith(Ot)&&tt(Ge,it)===1&&it.lastIndexOf("*")===Tt&&(Ge=it,we=Ce.slice(Tt,Ce.length-Ot.length))}}if(Ge){let it=Ae(Ze,Qe[Ge],we,Ge,qe,!0,!0,!1,ot);if(it!=null)return it}}}throw function(Qe,Ge,we){return new be(Qe,Ge&&(0,a().fileURLToPath)(new(a()).URL(".",Ge)),(0,a().fileURLToPath)(we))}(Ce,Ze,qe)}function At(Ce,qe,ot){if(p().builtinModules.includes(Ce))return new(a()).URL("node:"+Ce);let{packageName:Ze,packageSubpath:Pe,isScoped:Qe}=function(it,Tt){let Ot=it.indexOf("/"),Pt=!0,Ir=!1;it[0]==="@"&&(Ir=!0,Ot===-1||it.length===0?Pt=!1:Ot=it.indexOf("/",Ot+1));let Lr=Ot===-1?it:it.slice(0,Ot);if(Oe.exec(Lr)!==null&&(Pt=!1),!Pt)throw new z(it,"is not a valid package name",(0,a().fileURLToPath)(Tt));return{packageName:Lr,packageSubpath:"."+(Ot===-1?"":it.slice(Ot)),isScoped:Ir}}(Ce,qe),Ge=k(qe);if(Ge.exists){let it=(0,a().pathToFileURL)(Ge.pjsonPath);if(Ge.name===Ze&&Ge.exports!==void 0&&Ge.exports!==null)return We(it,Pe,Ge,qe,ot)}let we,Ne=new(a()).URL("./node_modules/"+Ze+"/package.json",qe),ht=(0,a().fileURLToPath)(Ne);do{let it=$e(ht.slice(0,-13));if(!it||!it.isDirectory()){we=ht,Ne=new(a()).URL((Qe?"../../../../node_modules/":"../../../node_modules/")+Ze+"/package.json",Ne),ht=(0,a().fileURLToPath)(Ne);continue}let Tt=j(ht,{base:qe,specifier:Ce});return Tt.exports!==void 0&&Tt.exports!==null?We(Ne,Pe,Tt,qe,ot):Pe==="."?et(Ne,Tt,qe):new(a()).URL(Pe,Ne)}while(ht.length!==we.length);throw new He(Ze,(0,a().fileURLToPath)(qe),!1)}function pt(Ce){return Ce!==""&&(Ce[0]==="/"||function(qe){return qe[0]==="."&&(qe.length===1||qe[1]==="/"||qe[1]==="."&&(qe.length===2||qe[2]==="/"))}(Ce))}function Nt(Ce,qe,ot,Ze){let Pe=qe.protocol,Qe=Pe==="data:"||Pe==="http:"||Pe==="https:",Ge;if(pt(Ce))try{Ge=new(a()).URL(Ce,qe)}catch(we){let Ne=new me(Ce,qe);throw Ne.cause=we,Ne}else if(Pe==="file:"&&Ce[0]==="#")Ge=mt(Ce,qe,ot);else try{Ge=new(a()).URL(Ce)}catch(we){if(Qe&&!p().builtinModules.includes(Ce)){let Ne=new me(Ce,qe);throw Ne.cause=we,Ne}Ge=At(Ce,qe,ot)}return s()(Ge!==void 0,"expected to be defined"),Ge.protocol!=="file:"?Ge:function(we,Ne,ht){if(fe.exec(we.pathname)!==null)throw new z(we.pathname,'must not include encoded "/" or "\\" characters',(0,a().fileURLToPath)(Ne));let it;try{it=(0,a().fileURLToPath)(we)}catch(Ot){let Pt=Ot;throw Object.defineProperty(Pt,"input",{value:String(we)}),Object.defineProperty(Pt,"module",{value:String(Ne)}),Pt}let Tt=$e(it.endsWith("/")?it.slice(-1):it);if(Tt&&Tt.isDirectory()){let Ot=new Fe(it,(0,a().fileURLToPath)(Ne));throw Ot.url=String(we),Ot}if(!Tt||!Tt.isFile()){let Ot=new He(it||we.pathname,Ne&&(0,a().fileURLToPath)(Ne),!0);throw Ot.url=String(we),Ot}if(!ht){let Ot=(0,u().realpathSync)(it),{search:Pt,hash:Ir}=we;(we=(0,a().pathToFileURL)(Ot+(it.endsWith(l().sep)?"/":""))).search=Pt,we.hash=Ir}return we}(Ge,qe,Ze)}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/buffer.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=class{constructor(c,s){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=c,this._indentChar=s;for(let u=0;u<64;u++)this._fastIndentations.push(s.repeat(u));this._allocQueue()}_allocQueue(){let c=this._queue;for(let s=0;s<16;s++)c.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(c,s,u,H,a){let l=this._queueCursor;l===this._queue.length&&this._allocQueue();let p=this._queue[l];p.char=c,p.repeat=s,p.line=u,p.column=H,p.filename=a,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let c=this._map,s={code:(this._buf+this._str).trimRight(),decodedMap:c?.getDecoded(),get __mergedMap(){return this.map},get map(){let u=c?c.get():null;return s.map=u,u},set map(u){Object.defineProperty(s,"map",{value:u,writable:!0})},get rawMappings(){let u=c?.getRawMappings();return s.rawMappings=u,u},set rawMappings(u){Object.defineProperty(s,"rawMappings",{value:u,writable:!0})}};return s}append(c,s){this._flush(),this._append(c,this._sourcePosition,s)}appendChar(c){this._flush(),this._appendChar(c,1,this._sourcePosition)}queue(c){if(c===10)for(;this._queueCursor!==0;){let u=this._queue[this._queueCursor-1].char;if(u!==32&&u!==9)break;this._queueCursor--}let s=this._sourcePosition;this._pushQueue(c,1,s.line,s.column,s.filename)}queueIndentation(c){c!==0&&this._pushQueue(-1,c,void 0,void 0,void 0)}_flush(){let c=this._queueCursor,s=this._queue;for(let u=0;u<c;u++){let H=s[u];this._appendChar(H.char,H.repeat,H)}this._queueCursor=0}_appendChar(c,s,u){if(this._last=c,c===-1){let H=this._fastIndentations[s];this._str+=H!==void 0?H:s>1?this._indentChar.repeat(s):this._indentChar}else this._str+=s>1?String.fromCharCode(c).repeat(s):String.fromCharCode(c);c!==10?(this._mark(u.line,u.column,u.identifierName,u.identifierNamePos,u.filename),this._position.column+=s):(this._position.line++,this._position.column=0),this._canMarkIdName&&(u.identifierName=void 0,u.identifierNamePos=void 0)}_append(c,s,u){let H=c.length,a=this._position;if(this._last=c.charCodeAt(H-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=c,this._appendCount=0):this._str+=c,!u&&!this._map)return void(a.column+=H);let{column:l,identifierName:p,identifierNamePos:d,filename:h}=s,m=s.line;p==null&&d==null||!this._canMarkIdName||(s.identifierName=void 0,s.identifierNamePos=void 0);let g=c.indexOf(`
|
|
`),y=0;for(g!==0&&this._mark(m,l,p,d,h);g!==-1;)a.line++,a.column=0,y=g+1,y<H&&m!==void 0&&this._mark(++m,0,null,null,h),g=c.indexOf(`
|
|
`,y);a.column+=H-y}_mark(c,s,u,H,a){var l;(l=this._map)==null||l.mark(this._position,c,s,u,H,a)}removeTrailingNewline(){let c=this._queueCursor;c!==0&&this._queue[c-1].char===10&&this._queueCursor--}removeLastSemicolon(){let c=this._queueCursor;c!==0&&this._queue[c-1].char===59&&this._queueCursor--}getLastChar(){let c=this._queueCursor;return c!==0?this._queue[c-1].char:this._last}getNewlineCount(){let c=this._queueCursor,s=0;if(c===0)return this._last===10?1:0;for(let u=c-1;u>=0&&this._queue[u].char===10;u--)s++;return s===c&&this._last===10?s+1:s}endsWithCharAndNewline(){let c=this._queue,s=this._queueCursor;if(s!==0)return c[s-1].char!==10?void 0:s>1?c[s-2].char:this._last}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(c,s){if(!this._map)return void s();this.source("start",c);let u=c.identifierName,H=this._sourcePosition;u&&(this._canMarkIdName=!1,H.identifierName=u),s(),u&&(this._canMarkIdName=!0,H.identifierName=void 0,H.identifierNamePos=void 0),this.source("end",c)}source(c,s){this._map&&this._normalizePosition(c,s,0)}sourceWithOffset(c,s,u){this._map&&this._normalizePosition(c,s,u)}withSource(c,s,u){this._map&&this.source(c,s),u()}_normalizePosition(c,s,u){let H=s[c],a=this._sourcePosition;H&&(a.line=H.line,a.column=Math.max(H.column+u,0),a.filename=s.filename)}getCurrentColumn(){let c=this._queue,s=this._queueCursor,u=-1,H=0;for(let a=0;a<s;a++){let l=c[a];l.char===10&&(u=H),H+=l.repeat}return u===-1?this._position.column+H:H-1-u}getCurrentLine(){let c=0,s=this._queue;for(let u=0;u<this._queueCursor;u++)s[u].char===10&&c++;return this._position.line+c}}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/base.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.BlockStatement=function(u){var H;this.tokenChar(123);let a=(H=u.directives)==null?void 0:H.length;if(a){var l;let p=u.body.length?2:1;this.printSequence(u.directives,u,{indent:!0,trailingCommentsLineOffset:p}),(l=u.directives[a-1].trailingComments)!=null&&l.length||this.newline(p)}this.printSequence(u.body,u,{indent:!0}),this.rightBrace(u)},r.Directive=function(u){this.print(u.value,u),this.semicolon()},r.DirectiveLiteral=function(u){let H=this.getPossibleRaw(u);if(!this.format.minified&&H!==void 0)return void this.token(H);let{value:a}=u;if(s.test(a)){if(c.test(a))throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.");this.token(`'${a}'`)}else this.token(`"${a}"`)},r.File=function(u){u.program&&this.print(u.program.interpreter,u),this.print(u.program,u)},r.InterpreterDirective=function(u){this.token(`#!${u.value}`),this.newline(1,!0)},r.Placeholder=function(u){this.token("%%"),this.print(u.name),this.token("%%"),u.expectedNode==="Statement"&&this.semicolon()},r.Program=function(u){var H;this.noIndentInnerCommentsHere(),this.printInnerComments();let a=(H=u.directives)==null?void 0:H.length;if(a){var l;let p=u.body.length?2:1;this.printSequence(u.directives,u,{trailingCommentsLineOffset:p}),(l=u.directives[a-1].trailingComments)!=null&&l.length||this.newline(p)}this.printSequence(u.body,u)};let c=/(?:^|[^\\])(?:\\\\)*'/,s=/(?:^|[^\\])(?:\\\\)*"/},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/classes.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ClassAccessorProperty=function(a){var l;this.printJoin(a.decorators,a);let p=(l=a.key.loc)==null||(l=l.end)==null?void 0:l.line;p&&this.catchUp(p),this.tsPrintClassMemberModifiers(a),this.word("accessor",!0),this.space(),a.computed?(this.tokenChar(91),this.print(a.key,a),this.tokenChar(93)):(this._variance(a),this.print(a.key,a)),a.optional&&this.tokenChar(63),a.definite&&this.tokenChar(33),this.print(a.typeAnnotation,a),a.value&&(this.space(),this.tokenChar(61),this.space(),this.print(a.value,a)),this.semicolon()},r.ClassBody=function(a){this.tokenChar(123),a.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(a.body,a,{indent:!0}),this.endsWith(10)||this.newline(),this.rightBrace(a))},r.ClassExpression=r.ClassDeclaration=function(a,l){(u(l)||H(l))&&this._shouldPrintDecoratorsBeforeExport(l)||this.printJoin(a.decorators,a),a.declare&&(this.word("declare"),this.space()),a.abstract&&(this.word("abstract"),this.space()),this.word("class"),a.id&&(this.space(),this.print(a.id,a)),this.print(a.typeParameters,a),a.superClass&&(this.space(),this.word("extends"),this.space(),this.print(a.superClass,a),this.print(a.superTypeParameters,a)),a.implements&&(this.space(),this.word("implements"),this.space(),this.printList(a.implements,a)),this.space(),this.print(a.body,a)},r.ClassMethod=function(a){this._classMethodHead(a),this.space(),this.print(a.body,a)},r.ClassPrivateMethod=function(a){this._classMethodHead(a),this.space(),this.print(a.body,a)},r.ClassPrivateProperty=function(a){this.printJoin(a.decorators,a),a.static&&(this.word("static"),this.space()),this.print(a.key,a),this.print(a.typeAnnotation,a),a.value&&(this.space(),this.tokenChar(61),this.space(),this.print(a.value,a)),this.semicolon()},r.ClassProperty=function(a){var l;this.printJoin(a.decorators,a);let p=(l=a.key.loc)==null||(l=l.end)==null?void 0:l.line;p&&this.catchUp(p),this.tsPrintClassMemberModifiers(a),a.computed?(this.tokenChar(91),this.print(a.key,a),this.tokenChar(93)):(this._variance(a),this.print(a.key,a)),a.optional&&this.tokenChar(63),a.definite&&this.tokenChar(33),this.print(a.typeAnnotation,a),a.value&&(this.space(),this.tokenChar(61),this.space(),this.print(a.value,a)),this.semicolon()},r.StaticBlock=function(a){this.word("static"),this.space(),this.tokenChar(123),a.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(a.body,a,{indent:!0}),this.rightBrace(a))},r._classMethodHead=function(a){var l;this.printJoin(a.decorators,a);let p=(l=a.key.loc)==null||(l=l.end)==null?void 0:l.line;p&&this.catchUp(p),this.tsPrintClassMemberModifiers(a),this._methodHead(a)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{isExportDefaultDeclaration:u,isExportNamedDeclaration:H}=s},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/expressions.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.LogicalExpression=r.BinaryExpression=r.AssignmentExpression=function(h,m){let g=this.inForStatementInitCounter&&h.operator==="in"&&!u.needsParens(h,m);g&&this.tokenChar(40),this.print(h.left,h),this.space(),h.operator==="in"||h.operator==="instanceof"?this.word(h.operator):this.token(h.operator),this.space(),this.print(h.right,h),g&&this.tokenChar(41)},r.AssignmentPattern=function(h){this.print(h.left,h),h.left.optional&&this.tokenChar(63),this.print(h.left.typeAnnotation,h),this.space(),this.tokenChar(61),this.space(),this.print(h.right,h)},r.AwaitExpression=function(h){this.word("await"),h.argument&&(this.space(),this.printTerminatorless(h.argument,h,!1))},r.BindExpression=function(h){this.print(h.object,h),this.token("::"),this.print(h.callee,h)},r.CallExpression=function(h){this.print(h.callee,h),this.print(h.typeArguments,h),this.print(h.typeParameters,h),this.tokenChar(40),this.printList(h.arguments,h),this.rightParens(h)},r.ConditionalExpression=function(h){this.print(h.test,h),this.space(),this.tokenChar(63),this.space(),this.print(h.consequent,h),this.space(),this.tokenChar(58),this.space(),this.print(h.alternate,h)},r.Decorator=function(h){this.tokenChar(64);let{expression:m}=h;(function(g){return g.type==="ParenthesizedExpression"?!1:!d(g.type==="CallExpression"?g.callee:g)})(m)?(this.tokenChar(40),this.print(m,h),this.tokenChar(41)):this.print(m,h),this.newline()},r.DoExpression=function(h){h.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(h.body,h)},r.EmptyStatement=function(){this.semicolon(!0)},r.ExpressionStatement=function(h){this.print(h.expression,h),this.semicolon()},r.Import=function(){this.word("import")},r.MemberExpression=function(h){if(this.print(h.object,h),!h.computed&&l(h.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let m=h.computed;a(h.property)&&typeof h.property.value=="number"&&(m=!0),m?(this.tokenChar(91),this.print(h.property,h),this.tokenChar(93)):(this.tokenChar(46),this.print(h.property,h))},r.MetaProperty=function(h){this.print(h.meta,h),this.tokenChar(46),this.print(h.property,h)},r.ModuleExpression=function(h){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:m}=h;(m.body.length||m.directives.length)&&this.newline(),this.print(m,h),this.dedent(),this.rightBrace(h)},r.NewExpression=function(h,m){this.word("new"),this.space(),this.print(h.callee,h),!(this.format.minified&&h.arguments.length===0&&!h.optional&&!H(m,{callee:h})&&!l(m)&&!p(m))&&(this.print(h.typeArguments,h),this.print(h.typeParameters,h),h.optional&&this.token("?."),this.tokenChar(40),this.printList(h.arguments,h),this.rightParens(h))},r.OptionalCallExpression=function(h){this.print(h.callee,h),this.print(h.typeParameters,h),h.optional&&this.token("?."),this.print(h.typeArguments,h),this.tokenChar(40),this.printList(h.arguments,h),this.rightParens(h)},r.OptionalMemberExpression=function(h){let{computed:m}=h,{optional:g,property:y}=h;if(this.print(h.object,h),!m&&l(y))throw new TypeError("Got a MemberExpression for MemberExpression property");a(y)&&typeof y.value=="number"&&(m=!0),g&&this.token("?."),m?(this.tokenChar(91),this.print(y,h),this.tokenChar(93)):(g||this.tokenChar(46),this.print(y,h))},r.ParenthesizedExpression=function(h){this.tokenChar(40),this.print(h.expression,h),this.rightParens(h)},r.PrivateName=function(h){this.tokenChar(35),this.print(h.id,h)},r.SequenceExpression=function(h){this.printList(h.expressions,h)},r.Super=function(){this.word("super")},r.ThisExpression=function(){this.word("this")},r.UnaryExpression=function(h){let{operator:m}=h;m==="void"||m==="delete"||m==="typeof"||m==="throw"?(this.word(m),this.space()):this.token(m),this.print(h.argument,h)},r.UpdateExpression=function(h){h.prefix?(this.token(h.operator),this.print(h.argument,h)):(this.printTerminatorless(h.argument,h,!0),this.token(h.operator))},r.V8IntrinsicIdentifier=function(h){this.tokenChar(37),this.word(h.name)},r.YieldExpression=function(h){this.word("yield",!0),h.delegate?(this.tokenChar(42),h.argument&&(this.space(),this.print(h.argument,h))):h.argument&&(this.space(),this.printTerminatorless(h.argument,h,!1))},r._shouldPrintDecoratorsBeforeExport=function(h){return typeof this.format.decoratorsBeforeExport=="boolean"?this.format.decoratorsBeforeExport:typeof h.start=="number"&&h.start===h.declaration.start};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/node/index.js");let{isCallExpression:H,isLiteral:a,isMemberExpression:l,isNewExpression:p}=s;function d(h){switch(h.type){case"Identifier":return!0;case"MemberExpression":return!h.computed&&h.property.type==="Identifier"&&d(h.object);default:return!1}}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/flow.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AnyTypeAnnotation=function(){this.word("any")},r.ArrayTypeAnnotation=function(_){this.print(_.elementType,_,!0),this.tokenChar(91),this.tokenChar(93)},r.BooleanLiteralTypeAnnotation=function(_){this.word(_.value?"true":"false")},r.BooleanTypeAnnotation=function(){this.word("boolean")},r.DeclareClass=function(_,E){a(E)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(_)},r.DeclareExportAllDeclaration=function(_){this.word("declare"),this.space(),u.ExportAllDeclaration.call(this,_)},r.DeclareExportDeclaration=function(_){this.word("declare"),this.space(),this.word("export"),this.space(),_.default&&(this.word("default"),this.space()),m.call(this,_)},r.DeclareFunction=function(_,E){a(E)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(_.id,_),this.print(_.id.typeAnnotation.typeAnnotation,_),_.predicate&&(this.space(),this.print(_.predicate,_)),this.semicolon()},r.DeclareInterface=function(_){this.word("declare"),this.space(),this.InterfaceDeclaration(_)},r.DeclareModule=function(_){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(_.id,_),this.space(),this.print(_.body,_)},r.DeclareModuleExports=function(_){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(_.typeAnnotation,_)},r.DeclareOpaqueType=function(_,E){a(E)||(this.word("declare"),this.space()),this.OpaqueType(_)},r.DeclareTypeAlias=function(_){this.word("declare"),this.space(),this.TypeAlias(_)},r.DeclareVariable=function(_,E){a(E)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(_.id,_),this.print(_.id.typeAnnotation,_),this.semicolon()},r.DeclaredPredicate=function(_){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(_.value,_),this.tokenChar(41)},r.EmptyTypeAnnotation=function(){this.word("empty")},r.EnumBooleanBody=function(_){let{explicitType:E}=_;p(this,"boolean",E),d(this,_)},r.EnumBooleanMember=function(_){h(this,_)},r.EnumDeclaration=function(_){let{id:E,body:A}=_;this.word("enum"),this.space(),this.print(E,_),this.print(A,_)},r.EnumDefaultedMember=function(_){let{id:E}=_;this.print(E,_),this.tokenChar(44)},r.EnumNumberBody=function(_){let{explicitType:E}=_;p(this,"number",E),d(this,_)},r.EnumNumberMember=function(_){h(this,_)},r.EnumStringBody=function(_){let{explicitType:E}=_;p(this,"string",E),d(this,_)},r.EnumStringMember=function(_){h(this,_)},r.EnumSymbolBody=function(_){p(this,"symbol",!0),d(this,_)},r.ExistsTypeAnnotation=function(){this.tokenChar(42)},r.FunctionTypeAnnotation=function(_,E){this.print(_.typeParameters,_),this.tokenChar(40),_.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(_.this.typeAnnotation,_),(_.params.length||_.rest)&&(this.tokenChar(44),this.space())),this.printList(_.params,_),_.rest&&(_.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(_.rest,_)),this.tokenChar(41);let A=E?.type;A!=null&&(A==="ObjectTypeCallProperty"||A==="ObjectTypeInternalSlot"||A==="DeclareFunction"||A==="ObjectTypeProperty"&&E.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(_.returnType,_)},r.FunctionTypeParam=function(_){this.print(_.name,_),_.optional&&this.tokenChar(63),_.name&&(this.tokenChar(58),this.space()),this.print(_.typeAnnotation,_)},r.IndexedAccessType=function(_){this.print(_.objectType,_,!0),this.tokenChar(91),this.print(_.indexType,_),this.tokenChar(93)},r.InferredPredicate=function(){this.tokenChar(37),this.word("checks")},r.InterfaceDeclaration=function(_){this.word("interface"),this.space(),this._interfaceish(_)},r.GenericTypeAnnotation=r.ClassImplements=r.InterfaceExtends=function(_){this.print(_.id,_),this.print(_.typeParameters,_,!0)},r.InterfaceTypeAnnotation=function(_){var E;this.word("interface"),(E=_.extends)!=null&&E.length&&(this.space(),this.word("extends"),this.space(),this.printList(_.extends,_)),this.space(),this.print(_.body,_)},r.IntersectionTypeAnnotation=function(_){this.printJoin(_.types,_,{separator:g})},r.MixedTypeAnnotation=function(){this.word("mixed")},r.NullLiteralTypeAnnotation=function(){this.word("null")},r.NullableTypeAnnotation=function(_){this.tokenChar(63),this.print(_.typeAnnotation,_)},Object.defineProperty(r,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return H.NumericLiteral}}),r.NumberTypeAnnotation=function(){this.word("number")},r.ObjectTypeAnnotation=function(_){_.exact?this.token("{|"):this.tokenChar(123);let E=[..._.properties,..._.callProperties||[],..._.indexers||[],..._.internalSlots||[]];E.length&&(this.newline(),this.space(),this.printJoin(E,_,{addNewlines(A){if(A&&!E[0])return 1},indent:!0,statement:!0,iterator:()=>{(E.length!==1||_.inexact)&&(this.tokenChar(44),this.space())}}),this.space()),_.inexact&&(this.indent(),this.token("..."),E.length&&this.newline(),this.dedent()),_.exact?this.token("|}"):this.tokenChar(125)},r.ObjectTypeCallProperty=function(_){_.static&&(this.word("static"),this.space()),this.print(_.value,_)},r.ObjectTypeIndexer=function(_){_.static&&(this.word("static"),this.space()),this._variance(_),this.tokenChar(91),_.id&&(this.print(_.id,_),this.tokenChar(58),this.space()),this.print(_.key,_),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(_.value,_)},r.ObjectTypeInternalSlot=function(_){_.static&&(this.word("static"),this.space()),this.tokenChar(91),this.tokenChar(91),this.print(_.id,_),this.tokenChar(93),this.tokenChar(93),_.optional&&this.tokenChar(63),_.method||(this.tokenChar(58),this.space()),this.print(_.value,_)},r.ObjectTypeProperty=function(_){_.proto&&(this.word("proto"),this.space()),_.static&&(this.word("static"),this.space()),_.kind!=="get"&&_.kind!=="set"||(this.word(_.kind),this.space()),this._variance(_),this.print(_.key,_),_.optional&&this.tokenChar(63),_.method||(this.tokenChar(58),this.space()),this.print(_.value,_)},r.ObjectTypeSpreadProperty=function(_){this.token("..."),this.print(_.argument,_)},r.OpaqueType=function(_){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(_.id,_),this.print(_.typeParameters,_),_.supertype&&(this.tokenChar(58),this.space(),this.print(_.supertype,_)),_.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(_.impltype,_)),this.semicolon()},r.OptionalIndexedAccessType=function(_){this.print(_.objectType,_),_.optional&&this.token("?."),this.tokenChar(91),this.print(_.indexType,_),this.tokenChar(93)},r.QualifiedTypeIdentifier=function(_){this.print(_.qualification,_),this.tokenChar(46),this.print(_.id,_)},Object.defineProperty(r,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return H.StringLiteral}}),r.StringTypeAnnotation=function(){this.word("string")},r.SymbolTypeAnnotation=function(){this.word("symbol")},r.ThisTypeAnnotation=function(){this.word("this")},r.TupleTypeAnnotation=function(_){this.tokenChar(91),this.printList(_.types,_),this.tokenChar(93)},r.TypeAlias=function(_){this.word("type"),this.space(),this.print(_.id,_),this.print(_.typeParameters,_),this.space(),this.tokenChar(61),this.space(),this.print(_.right,_),this.semicolon()},r.TypeAnnotation=function(_){this.tokenChar(58),this.space(),_.optional&&this.tokenChar(63),this.print(_.typeAnnotation,_)},r.TypeCastExpression=function(_){this.tokenChar(40),this.print(_.expression,_),this.print(_.typeAnnotation,_),this.tokenChar(41)},r.TypeParameter=function(_){this._variance(_),this.word(_.name),_.bound&&this.print(_.bound,_),_.default&&(this.space(),this.tokenChar(61),this.space(),this.print(_.default,_))},r.TypeParameterDeclaration=r.TypeParameterInstantiation=function(_){this.tokenChar(60),this.printList(_.params,_,{}),this.tokenChar(62)},r.TypeofTypeAnnotation=function(_){this.word("typeof"),this.space(),this.print(_.argument,_)},r.UnionTypeAnnotation=function(_){this.printJoin(_.types,_,{separator:y})},r.Variance=function(_){_.kind==="plus"?this.tokenChar(43):this.tokenChar(45)},r.VoidTypeAnnotation=function(){this.word("void")},r._interfaceish=function(_){var E;if(this.print(_.id,_),this.print(_.typeParameters,_),(E=_.extends)!=null&&E.length&&(this.space(),this.word("extends"),this.space(),this.printList(_.extends,_)),_.type==="DeclareClass"){var A,S;(A=_.mixins)!=null&&A.length&&(this.space(),this.word("mixins"),this.space(),this.printList(_.mixins,_)),(S=_.implements)!=null&&S.length&&(this.space(),this.word("implements"),this.space(),this.printList(_.implements,_))}this.space(),this.print(_.body,_)},r._variance=function(_){var E;let A=(E=_.variance)==null?void 0:E.kind;A!=null&&(A==="plus"?this.tokenChar(43):A==="minus"&&this.tokenChar(45))};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/modules.js"),H=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/types.js");let{isDeclareExportDeclaration:a,isStatement:l}=s;function p(_,E,A){A&&(_.space(),_.word("of"),_.space(),_.word(E)),_.space()}function d(_,E){let{members:A}=E;_.token("{"),_.indent(),_.newline();for(let S of A)_.print(S,E),_.newline();E.hasUnknownMembers&&(_.token("..."),_.newline()),_.dedent(),_.token("}")}function h(_,E){let{id:A,init:S}=E;_.print(A,E),_.space(),_.token("="),_.space(),_.print(S,E),_.token(",")}function m(_){if(_.declaration){let E=_.declaration;this.print(E,_),l(E)||this.semicolon()}else this.tokenChar(123),_.specifiers.length&&(this.space(),this.printList(_.specifiers,_),this.space()),this.tokenChar(125),_.source&&(this.space(),this.word("from"),this.space(),this.print(_.source,_)),this.semicolon()}function g(){this.space(),this.tokenChar(38),this.space()}function y(){this.space(),this.tokenChar(124),this.space()}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/template-literals.js");Object.keys(s).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===s[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return s[_]}}))});var u=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/expressions.js");Object.keys(u).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===u[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return u[_]}}))});var H=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/statements.js");Object.keys(H).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===H[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return H[_]}}))});var a=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/classes.js");Object.keys(a).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===a[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return a[_]}}))});var l=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/methods.js");Object.keys(l).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===l[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return l[_]}}))});var p=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/modules.js");Object.keys(p).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===p[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return p[_]}}))});var d=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/types.js");Object.keys(d).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===d[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return d[_]}}))});var h=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/flow.js");Object.keys(h).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===h[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return h[_]}}))});var m=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/base.js");Object.keys(m).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===m[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return m[_]}}))});var g=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/jsx.js");Object.keys(g).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===g[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return g[_]}}))});var y=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/typescript.js");Object.keys(y).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===y[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return y[_]}}))})},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/jsx.js":(o,r)=>{"use strict";function c(){this.space()}Object.defineProperty(r,"__esModule",{value:!0}),r.JSXAttribute=function(s){this.print(s.name,s),s.value&&(this.tokenChar(61),this.print(s.value,s))},r.JSXClosingElement=function(s){this.token("</"),this.print(s.name,s),this.tokenChar(62)},r.JSXClosingFragment=function(){this.token("</"),this.tokenChar(62)},r.JSXElement=function(s){let u=s.openingElement;if(this.print(u,s),!u.selfClosing){this.indent();for(let H of s.children)this.print(H,s);this.dedent(),this.print(s.closingElement,s)}},r.JSXEmptyExpression=function(){this.printInnerComments()},r.JSXExpressionContainer=function(s){this.tokenChar(123),this.print(s.expression,s),this.tokenChar(125)},r.JSXFragment=function(s){this.print(s.openingFragment,s),this.indent();for(let u of s.children)this.print(u,s);this.dedent(),this.print(s.closingFragment,s)},r.JSXIdentifier=function(s){this.word(s.name)},r.JSXMemberExpression=function(s){this.print(s.object,s),this.tokenChar(46),this.print(s.property,s)},r.JSXNamespacedName=function(s){this.print(s.namespace,s),this.tokenChar(58),this.print(s.name,s)},r.JSXOpeningElement=function(s){this.tokenChar(60),this.print(s.name,s),this.print(s.typeParameters,s),s.attributes.length>0&&(this.space(),this.printJoin(s.attributes,s,{separator:c})),s.selfClosing?(this.space(),this.token("/>")):this.tokenChar(62)},r.JSXOpeningFragment=function(){this.tokenChar(60),this.tokenChar(62)},r.JSXSpreadAttribute=function(s){this.tokenChar(123),this.token("..."),this.print(s.argument,s),this.tokenChar(125)},r.JSXSpreadChild=function(s){this.tokenChar(123),this.token("..."),this.print(s.expression,s),this.tokenChar(125)},r.JSXText=function(s){let u=this.getPossibleRaw(s);u!==void 0?this.token(u,!0):this.token(s.value,!0)}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/methods.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ArrowFunctionExpression=function(a,l){a.async&&(this.word("async",!0),this.space());let p;this.format.retainLines||a.params.length!==1||!u(p=a.params[0])||function(d,h){var m,g;return!!(d.typeParameters||d.returnType||d.predicate||h.typeAnnotation||h.optional||(m=h.leadingComments)!=null&&m.length||(g=h.trailingComments)!=null&&g.length)}(a,p)?this._params(a,void 0,l):this.print(p,a,!0),this._predicate(a,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.print(a.body,a)},r.FunctionDeclaration=r.FunctionExpression=function(a,l){this._functionHead(a,l),this.space(),this.print(a.body,a)},r._functionHead=function(a,l){a.async&&(this.word("async"),this._endsWithInnerRaw=!1,this.space()),this.word("function"),a.generator&&(this._endsWithInnerRaw=!1,this.tokenChar(42)),this.space(),a.id&&this.print(a.id,a),this._params(a,a.id,l),a.type!=="TSDeclareFunction"&&this._predicate(a)},r._methodHead=function(a){let l=a.kind,p=a.key;l!=="get"&&l!=="set"||(this.word(l),this.space()),a.async&&(this.word("async",!0),this.space()),l!=="method"&&l!=="init"||a.generator&&this.tokenChar(42),a.computed?(this.tokenChar(91),this.print(p,a),this.tokenChar(93)):this.print(p,a),a.optional&&this.tokenChar(63),this._params(a,a.computed&&a.key.type!=="StringLiteral"?void 0:a.key,void 0)},r._param=function(a,l){this.printJoin(a.decorators,a),this.print(a,l),a.optional&&this.tokenChar(63),this.print(a.typeAnnotation,a)},r._parameters=function(a,l){let p=a.length;for(let d=0;d<p;d++)this._param(a[d],l),d<a.length-1&&(this.tokenChar(44),this.space())},r._params=function(a,l,p){this.print(a.typeParameters,a);let d=H.call(this,l,p);d&&this.sourceIdentifierName(d.name,d.pos),this.tokenChar(40),this._parameters(a.params,a),this.tokenChar(41);let h=a.type==="ArrowFunctionExpression";this.print(a.returnType,a,h),this._noLineTerminator=h},r._predicate=function(a,l){a.predicate&&(a.returnType||this.tokenChar(58),this.space(),this.print(a.predicate,a,l))};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{isIdentifier:u}=s;function H(a,l){let p,d=a;if(!d&&l){let _=l.type;_==="VariableDeclarator"?d=l.id:_==="AssignmentExpression"||_==="AssignmentPattern"?d=l.left:_==="ObjectProperty"||_==="ClassProperty"?l.computed&&l.key.type!=="StringLiteral"||(d=l.key):_!=="ClassPrivateProperty"&&_!=="ClassAccessorProperty"||(d=l.key)}if(d){var h,m;if(d.type==="Identifier")p={pos:(h=d.loc)==null?void 0:h.start,name:((m=d.loc)==null?void 0:m.identifierName)||d.name};else if(d.type==="PrivateName"){var g;p={pos:(g=d.loc)==null?void 0:g.start,name:"#"+d.id.name}}else if(d.type==="StringLiteral"){var y;p={pos:(y=d.loc)==null?void 0:y.start,name:d.value}}return p}}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/modules.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ExportAllDeclaration=function(g){var y,_;this.word("export"),this.space(),g.exportKind==="type"&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),(y=g.attributes)!=null&&y.length||(_=g.assertions)!=null&&_.length?(this.print(g.source,g,!0),this.space(),this._printAttributes(g)):this.print(g.source,g),this.semicolon()},r.ExportDefaultDeclaration=function(g){m(this,g),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space();let y=g.declaration;this.print(y,g),d(y)||this.semicolon()},r.ExportDefaultSpecifier=function(g){this.print(g.exported,g)},r.ExportNamedDeclaration=function(g){if(m(this,g),this.word("export"),this.space(),g.declaration){let E=g.declaration;this.print(E,g),d(E)||this.semicolon()}else{g.exportKind==="type"&&(this.word("type"),this.space());let E=g.specifiers.slice(0),A=!1;for(;;){let S=E[0];if(!H(S)&&!a(S))break;A=!0,this.print(E.shift(),g),E.length&&(this.tokenChar(44),this.space())}var y,_;(E.length||!E.length&&!A)&&(this.tokenChar(123),E.length&&(this.space(),this.printList(E,g),this.space()),this.tokenChar(125)),g.source&&(this.space(),this.word("from"),this.space(),(y=g.attributes)!=null&&y.length||(_=g.assertions)!=null&&_.length?(this.print(g.source,g,!0),this.space(),this._printAttributes(g)):this.print(g.source,g)),this.semicolon()}},r.ExportNamespaceSpecifier=function(g){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(g.exported,g)},r.ExportSpecifier=function(g){g.exportKind==="type"&&(this.word("type"),this.space()),this.print(g.local,g),g.exported&&g.local.name!==g.exported.name&&(this.space(),this.word("as"),this.space(),this.print(g.exported,g))},r.ImportAttribute=function(g){this.print(g.key),this.tokenChar(58),this.space(),this.print(g.value)},r.ImportDeclaration=function(g){var y,_;this.word("import"),this.space();let E=g.importKind==="type"||g.importKind==="typeof";E?(this.noIndentInnerCommentsHere(),this.word(g.importKind),this.space()):g.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):g.phase&&(this.noIndentInnerCommentsHere(),this.word(g.phase),this.space());let A=g.specifiers.slice(0),S=!!A.length;for(;S;){let T=A[0];if(!l(T)&&!p(T))break;this.print(A.shift(),g),A.length&&(this.tokenChar(44),this.space())}A.length?(this.tokenChar(123),this.space(),this.printList(A,g),this.space(),this.tokenChar(125)):E&&!S&&(this.tokenChar(123),this.tokenChar(125)),(S||E)&&(this.space(),this.word("from"),this.space()),(y=g.attributes)!=null&&y.length||(_=g.assertions)!=null&&_.length?(this.print(g.source,g,!0),this.space(),this._printAttributes(g)):this.print(g.source,g),this.semicolon()},r.ImportDefaultSpecifier=function(g){this.print(g.local,g)},r.ImportExpression=function(g){this.word("import"),g.phase&&(this.tokenChar(46),this.word(g.phase)),this.tokenChar(40),this.print(g.source,g),g.options!=null&&(this.tokenChar(44),this.space(),this.print(g.options,g)),this.tokenChar(41)},r.ImportNamespaceSpecifier=function(g){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(g.local,g)},r.ImportSpecifier=function(g){g.importKind!=="type"&&g.importKind!=="typeof"||(this.word(g.importKind),this.space()),this.print(g.imported,g),g.local&&g.local.name!==g.imported.name&&(this.space(),this.word("as"),this.space(),this.print(g.local,g))},r._printAttributes=function(g){let{importAttributesKeyword:y}=this.format,{attributes:_,assertions:E}=g;!_||y||h||(h=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));let A=y==="assert"||!y&&E;if(this.word(A?"assert":"with"),this.space(),!A&&y!=="with")return void this.printList(_||E,g);this.tokenChar(123),this.space(),this.printList(_||E,g),this.space(),this.tokenChar(125)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{isClassDeclaration:u,isExportDefaultSpecifier:H,isExportNamespaceSpecifier:a,isImportDefaultSpecifier:l,isImportNamespaceSpecifier:p,isStatement:d}=s,h=!1;function m(g,y){u(y.declaration)&&g._shouldPrintDecoratorsBeforeExport(y)&&g.printJoin(y.declaration.decorators,y)}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/statements.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.BreakStatement=function(m){this.word("break"),h(this,m.label,m,!0)},r.CatchClause=function(m){this.word("catch"),this.space(),m.param&&(this.tokenChar(40),this.print(m.param,m),this.print(m.param.typeAnnotation,m),this.tokenChar(41),this.space()),this.print(m.body,m)},r.ContinueStatement=function(m){this.word("continue"),h(this,m.label,m,!0)},r.DebuggerStatement=function(){this.word("debugger"),this.semicolon()},r.DoWhileStatement=function(m){this.word("do"),this.space(),this.print(m.body,m),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(m.test,m),this.tokenChar(41),this.semicolon()},r.ForOfStatement=r.ForInStatement=void 0,r.ForStatement=function(m){this.word("for"),this.space(),this.tokenChar(40),this.inForStatementInitCounter++,this.print(m.init,m),this.inForStatementInitCounter--,this.tokenChar(59),m.test&&(this.space(),this.print(m.test,m)),this.tokenChar(59),m.update&&(this.space(),this.print(m.update,m)),this.tokenChar(41),this.printBlock(m)},r.IfStatement=function(m){this.word("if"),this.space(),this.tokenChar(40),this.print(m.test,m),this.tokenChar(41),this.space();let g=m.alternate&&a(p(m.consequent));g&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(m.consequent,m),g&&(this.dedent(),this.newline(),this.tokenChar(125)),m.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(m.alternate,m))},r.LabeledStatement=function(m){this.print(m.label,m),this.tokenChar(58),this.space(),this.print(m.body,m)},r.ReturnStatement=function(m){this.word("return"),h(this,m.argument,m,!1)},r.SwitchCase=function(m){m.test?(this.word("case"),this.space(),this.print(m.test,m),this.tokenChar(58)):(this.word("default"),this.tokenChar(58)),m.consequent.length&&(this.newline(),this.printSequence(m.consequent,m,{indent:!0}))},r.SwitchStatement=function(m){this.word("switch"),this.space(),this.tokenChar(40),this.print(m.discriminant,m),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(m.cases,m,{indent:!0,addNewlines(g,y){if(!g&&m.cases[m.cases.length-1]===y)return-1}}),this.rightBrace(m)},r.ThrowStatement=function(m){this.word("throw"),h(this,m.argument,m,!1)},r.TryStatement=function(m){this.word("try"),this.space(),this.print(m.block,m),this.space(),m.handlers?this.print(m.handlers[0],m):this.print(m.handler,m),m.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(m.finalizer,m))},r.VariableDeclaration=function(m,g){m.declare&&(this.word("declare"),this.space());let{kind:y}=m;this.word(y,y==="using"||y==="await using"),this.space();let _=!1;if(!u(g))for(let E of m.declarations)E.init&&(_=!0);if(this.printList(m.declarations,m,{separator:_?function(){this.tokenChar(44),this.newline()}:void 0,indent:m.declarations.length>1}),u(g)){if(H(g)){if(g.init===m)return}else if(g.left===m)return}this.semicolon()},r.VariableDeclarator=function(m){this.print(m.id,m),m.definite&&this.tokenChar(33),this.print(m.id.typeAnnotation,m),m.init&&(this.space(),this.tokenChar(61),this.space(),this.print(m.init,m))},r.WhileStatement=function(m){this.word("while"),this.space(),this.tokenChar(40),this.print(m.test,m),this.tokenChar(41),this.printBlock(m)},r.WithStatement=function(m){this.word("with"),this.space(),this.tokenChar(40),this.print(m.object,m),this.tokenChar(41),this.printBlock(m)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{isFor:u,isForStatement:H,isIfStatement:a,isStatement:l}=s;function p(m){let{body:g}=m;return l(g)===!1?m:p(g)}function d(m){this.word("for"),this.space();let g=m.type==="ForOfStatement";g&&m.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40),this.print(m.left,m),this.space(),this.word(g?"of":"in"),this.space(),this.print(m.right,m),this.tokenChar(41),this.printBlock(m)}r.ForInStatement=d,r.ForOfStatement=d;function h(m,g,y,_){g&&(m.space(),m.printTerminatorless(g,y,_)),m.semicolon()}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/template-literals.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.TaggedTemplateExpression=function(c){this.print(c.tag,c),this.print(c.typeParameters,c),this.print(c.quasi,c)},r.TemplateElement=function(){throw new Error("TemplateElement printing is handled in TemplateLiteral")},r.TemplateLiteral=function(c){let s=c.quasis,u="`";for(let H=0;H<s.length;H++)u+=s[H].value.raw,H+1<s.length&&(this.token(u+"${",!0),this.print(c.expressions[H],c),u="}");this.token(u+"`",!0)}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/types.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ArgumentPlaceholder=function(){this.tokenChar(63)},r.ArrayPattern=r.ArrayExpression=function(p){let d=p.elements,h=d.length;this.tokenChar(91);for(let m=0;m<d.length;m++){let g=d[m];g?(m>0&&this.space(),this.print(g,p),m<h-1&&this.tokenChar(44)):this.tokenChar(44)}this.tokenChar(93)},r.BigIntLiteral=function(p){let d=this.getPossibleRaw(p);if(!this.format.minified&&d!==void 0)return void this.word(d);this.word(p.value+"n")},r.BooleanLiteral=function(p){this.word(p.value?"true":"false")},r.DecimalLiteral=function(p){let d=this.getPossibleRaw(p);if(!this.format.minified&&d!==void 0)return void this.word(d);this.word(p.value+"m")},r.Identifier=function(p){var d;this.sourceIdentifierName(((d=p.loc)==null?void 0:d.identifierName)||p.name),this.word(p.name)},r.NullLiteral=function(){this.word("null")},r.NumericLiteral=function(p){let d=this.getPossibleRaw(p),h=this.format.jsescOption,m=p.value,g=m+"";h.numbers?this.number(u(m,h),m):d==null?this.number(g,m):this.format.minified?this.number(d.length<g.length?d:g,m):this.number(d,m)},r.ObjectPattern=r.ObjectExpression=function(p){let d=p.properties;this.tokenChar(123),d.length&&(this.space(),this.printList(d,p,{indent:!0,statement:!0}),this.space()),this.sourceWithOffset("end",p.loc,-1),this.tokenChar(125)},r.ObjectMethod=function(p){this.printJoin(p.decorators,p),this._methodHead(p),this.space(),this.print(p.body,p)},r.ObjectProperty=function(p){if(this.printJoin(p.decorators,p),p.computed)this.tokenChar(91),this.print(p.key,p),this.tokenChar(93);else{if(H(p.value)&&a(p.key)&&p.key.name===p.value.left.name)return void this.print(p.value,p);if(this.print(p.key,p),p.shorthand&&a(p.key)&&a(p.value)&&p.key.name===p.value.name)return}this.tokenChar(58),this.space(),this.print(p.value,p)},r.PipelineBareFunction=function(p){this.print(p.callee,p)},r.PipelinePrimaryTopicReference=function(){this.tokenChar(35)},r.PipelineTopicExpression=function(p){this.print(p.expression,p)},r.RecordExpression=function(p){let d=p.properties,h,m;if(this.format.recordAndTupleSyntaxType==="bar")h="{|",m="|}";else{if(this.format.recordAndTupleSyntaxType!=="hash"&&this.format.recordAndTupleSyntaxType!=null)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);h="#{",m="}"}this.token(h),d.length&&(this.space(),this.printList(d,p,{indent:!0,statement:!0}),this.space()),this.token(m)},r.RegExpLiteral=function(p){this.word(`/${p.pattern}/${p.flags}`)},r.SpreadElement=r.RestElement=function(p){this.token("..."),this.print(p.argument,p)},r.StringLiteral=function(p){let d=this.getPossibleRaw(p);if(!this.format.minified&&d!==void 0)return void this.token(d);let h=u(p.value,this.format.jsescOption);this.token(h)},r.TopicReference=function(){let{topicToken:p}=this.format;if(!l.has(p)){let d=JSON.stringify(p),h=Array.from(l,m=>JSON.stringify(m));throw new Error(`The "topicToken" generator option must be one of ${h.join(", ")} (${d} received instead).`)}this.token(p)},r.TupleExpression=function(p){let d=p.elements,h=d.length,m,g;if(this.format.recordAndTupleSyntaxType==="bar")m="[|",g="|]";else{if(this.format.recordAndTupleSyntaxType!=="hash")throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);m="#[",g="]"}this.token(m);for(let y=0;y<d.length;y++){let _=d[y];_&&(y>0&&this.space(),this.print(_,p),y<h-1&&this.tokenChar(44))}this.token(g)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/jsesc@2.5.2/node_modules/jsesc/jsesc.js");let{isAssignmentPattern:H,isIdentifier:a}=s,l=new Set(["^^","@@","^","%","#"])},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/typescript.js":(o,r)=>{"use strict";function c(H,a,l){if(H.token("{"),a.length){H.indent(),H.newline();for(let p of a)H.print(p,l),H.newline();H.dedent()}H.rightBrace(l)}function s(H,a,l){H.printJoin(a.types,a,{separator(){this.space(),this.token(l),this.space()}})}function u(H,a){a!==!0&&H.token(a)}Object.defineProperty(r,"__esModule",{value:!0}),r.TSAnyKeyword=function(){this.word("any")},r.TSArrayType=function(H){this.print(H.elementType,H,!0),this.token("[]")},r.TSSatisfiesExpression=r.TSAsExpression=function(H){var a;let{type:l,expression:p,typeAnnotation:d}=H,h=!((a=p.trailingComments)==null||!a.length);this.print(p,H,!0,void 0,h),this.space(),this.word(l==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(d,H)},r.TSBigIntKeyword=function(){this.word("bigint")},r.TSBooleanKeyword=function(){this.word("boolean")},r.TSCallSignatureDeclaration=function(H){this.tsPrintSignatureDeclarationBase(H),this.tokenChar(59)},r.TSConditionalType=function(H){this.print(H.checkType),this.space(),this.word("extends"),this.space(),this.print(H.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(H.trueType),this.space(),this.tokenChar(58),this.space(),this.print(H.falseType)},r.TSConstructSignatureDeclaration=function(H){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(H),this.tokenChar(59)},r.TSConstructorType=function(H){H.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(H)},r.TSDeclareFunction=function(H,a){H.declare&&(this.word("declare"),this.space()),this._functionHead(H,a),this.tokenChar(59)},r.TSDeclareMethod=function(H){this._classMethodHead(H),this.tokenChar(59)},r.TSEnumDeclaration=function(H){let{declare:a,const:l,id:p,members:d}=H;a&&(this.word("declare"),this.space()),l&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(p,H),this.space(),c(this,d,H)},r.TSEnumMember=function(H){let{id:a,initializer:l}=H;this.print(a,H),l&&(this.space(),this.tokenChar(61),this.space(),this.print(l,H)),this.tokenChar(44)},r.TSExportAssignment=function(H){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(H.expression,H),this.tokenChar(59)},r.TSExpressionWithTypeArguments=function(H){this.print(H.expression,H),this.print(H.typeParameters,H)},r.TSExternalModuleReference=function(H){this.token("require("),this.print(H.expression,H),this.tokenChar(41)},r.TSFunctionType=function(H){this.tsPrintFunctionOrConstructorType(H)},r.TSImportEqualsDeclaration=function(H){let{isExport:a,id:l,moduleReference:p}=H;a&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(l,H),this.space(),this.tokenChar(61),this.space(),this.print(p,H),this.tokenChar(59)},r.TSImportType=function(H){let{argument:a,qualifier:l,typeParameters:p}=H;this.word("import"),this.tokenChar(40),this.print(a,H),this.tokenChar(41),l&&(this.tokenChar(46),this.print(l,H)),p&&this.print(p,H)},r.TSIndexSignature=function(H){let{readonly:a,static:l}=H;l&&(this.word("static"),this.space()),a&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(H.parameters,H),this.tokenChar(93),this.print(H.typeAnnotation,H),this.tokenChar(59)},r.TSIndexedAccessType=function(H){this.print(H.objectType,H,!0),this.tokenChar(91),this.print(H.indexType,H),this.tokenChar(93)},r.TSInferType=function(H){this.token("infer"),this.space(),this.print(H.typeParameter)},r.TSInstantiationExpression=function(H){this.print(H.expression,H),this.print(H.typeParameters,H)},r.TSInterfaceBody=function(H){this.tsPrintTypeLiteralOrInterfaceBody(H.body,H)},r.TSInterfaceDeclaration=function(H){let{declare:a,id:l,typeParameters:p,extends:d,body:h}=H;a&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(l,H),this.print(p,H),d!=null&&d.length&&(this.space(),this.word("extends"),this.space(),this.printList(d,H)),this.space(),this.print(h,H)},r.TSIntersectionType=function(H){s(this,H,"&")},r.TSIntrinsicKeyword=function(){this.word("intrinsic")},r.TSLiteralType=function(H){this.print(H.literal,H)},r.TSMappedType=function(H){let{nameType:a,optional:l,readonly:p,typeParameter:d,typeAnnotation:h}=H;this.tokenChar(123),this.space(),p&&(u(this,p),this.word("readonly"),this.space()),this.tokenChar(91),this.word(d.name),this.space(),this.word("in"),this.space(),this.print(d.constraint,d),a&&(this.space(),this.word("as"),this.space(),this.print(a,H)),this.tokenChar(93),l&&(u(this,l),this.tokenChar(63)),h&&(this.tokenChar(58),this.space(),this.print(h,H)),this.space(),this.tokenChar(125)},r.TSMethodSignature=function(H){let{kind:a}=H;a!=="set"&&a!=="get"||(this.word(a),this.space()),this.tsPrintPropertyOrMethodName(H),this.tsPrintSignatureDeclarationBase(H),this.tokenChar(59)},r.TSModuleBlock=function(H){c(this,H.body,H)},r.TSModuleDeclaration=function(H){let{declare:a,id:l}=H;if(a&&(this.word("declare"),this.space()),H.global||(this.word(l.type==="Identifier"?"namespace":"module"),this.space()),this.print(l,H),!H.body)return void this.tokenChar(59);let p=H.body;for(;p.type==="TSModuleDeclaration";)this.tokenChar(46),this.print(p.id,p),p=p.body;this.space(),this.print(p,H)},r.TSNamedTupleMember=function(H){this.print(H.label,H),H.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(H.elementType,H)},r.TSNamespaceExportDeclaration=function(H){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(H.id,H)},r.TSNeverKeyword=function(){this.word("never")},r.TSNonNullExpression=function(H){this.print(H.expression,H),this.tokenChar(33)},r.TSNullKeyword=function(){this.word("null")},r.TSNumberKeyword=function(){this.word("number")},r.TSObjectKeyword=function(){this.word("object")},r.TSOptionalType=function(H){this.print(H.typeAnnotation,H),this.tokenChar(63)},r.TSParameterProperty=function(H){H.accessibility&&(this.word(H.accessibility),this.space()),H.readonly&&(this.word("readonly"),this.space()),this._param(H.parameter)},r.TSParenthesizedType=function(H){this.tokenChar(40),this.print(H.typeAnnotation,H),this.tokenChar(41)},r.TSPropertySignature=function(H){let{readonly:a}=H;a&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(H),this.print(H.typeAnnotation,H),this.tokenChar(59)},r.TSQualifiedName=function(H){this.print(H.left,H),this.tokenChar(46),this.print(H.right,H)},r.TSRestType=function(H){this.token("..."),this.print(H.typeAnnotation,H)},r.TSStringKeyword=function(){this.word("string")},r.TSSymbolKeyword=function(){this.word("symbol")},r.TSThisType=function(){this.word("this")},r.TSTupleType=function(H){this.tokenChar(91),this.printList(H.elementTypes,H),this.tokenChar(93)},r.TSTypeAliasDeclaration=function(H){let{declare:a,id:l,typeParameters:p,typeAnnotation:d}=H;a&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(l,H),this.print(p,H),this.space(),this.tokenChar(61),this.space(),this.print(d,H),this.tokenChar(59)},r.TSTypeAnnotation=function(H){this.tokenChar(58),this.space(),H.optional&&this.tokenChar(63),this.print(H.typeAnnotation,H)},r.TSTypeAssertion=function(H){let{typeAnnotation:a,expression:l}=H;this.tokenChar(60),this.print(a,H),this.tokenChar(62),this.space(),this.print(l,H)},r.TSTypeLiteral=function(H){this.tsPrintTypeLiteralOrInterfaceBody(H.members,H)},r.TSTypeOperator=function(H){this.word(H.operator),this.space(),this.print(H.typeAnnotation,H)},r.TSTypeParameter=function(H){H.in&&(this.word("in"),this.space()),H.out&&(this.word("out"),this.space()),this.word(H.name),H.constraint&&(this.space(),this.word("extends"),this.space(),this.print(H.constraint,H)),H.default&&(this.space(),this.tokenChar(61),this.space(),this.print(H.default,H))},r.TSTypeParameterDeclaration=r.TSTypeParameterInstantiation=function(H,a){this.tokenChar(60),this.printList(H.params,H,{}),a.type==="ArrowFunctionExpression"&&H.params.length===1&&this.tokenChar(44),this.tokenChar(62)},r.TSTypePredicate=function(H){H.asserts&&(this.word("asserts"),this.space()),this.print(H.parameterName),H.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(H.typeAnnotation.typeAnnotation))},r.TSTypeQuery=function(H){this.word("typeof"),this.space(),this.print(H.exprName),H.typeParameters&&this.print(H.typeParameters,H)},r.TSTypeReference=function(H){this.print(H.typeName,H,!0),this.print(H.typeParameters,H,!0)},r.TSUndefinedKeyword=function(){this.word("undefined")},r.TSUnionType=function(H){s(this,H,"|")},r.TSUnknownKeyword=function(){this.word("unknown")},r.TSVoidKeyword=function(){this.word("void")},r.tsPrintClassMemberModifiers=function(H){let a=H.type==="ClassAccessorProperty"||H.type==="ClassProperty";a&&H.declare&&(this.word("declare"),this.space()),H.accessibility&&(this.word(H.accessibility),this.space()),H.static&&(this.word("static"),this.space()),H.override&&(this.word("override"),this.space()),H.abstract&&(this.word("abstract"),this.space()),a&&H.readonly&&(this.word("readonly"),this.space())},r.tsPrintFunctionOrConstructorType=function(H){let{typeParameters:a}=H,l=H.parameters;this.print(a,H),this.tokenChar(40),this._parameters(l,H),this.tokenChar(41),this.space(),this.token("=>"),this.space();let p=H.typeAnnotation;this.print(p.typeAnnotation,H)},r.tsPrintPropertyOrMethodName=function(H){H.computed&&this.tokenChar(91),this.print(H.key,H),H.computed&&this.tokenChar(93),H.optional&&this.tokenChar(63)},r.tsPrintSignatureDeclarationBase=function(H){let{typeParameters:a}=H,l=H.parameters;this.print(a,H),this.tokenChar(40),this._parameters(l,H),this.tokenChar(41);let p=H.typeAnnotation;this.print(p,H)},r.tsPrintTypeLiteralOrInterfaceBody=function(H,a){c(this,H,a)}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(a,l={},p){let d=H(p,l),h=l.sourceMaps?new s.default(l,p):null;return new u.default(d,h).generate(a)};var s=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/source-map.js"),u=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/printer.js");function H(a,l){let p={auxiliaryCommentBefore:l.auxiliaryCommentBefore,auxiliaryCommentAfter:l.auxiliaryCommentAfter,shouldPrintComment:l.shouldPrintComment,retainLines:l.retainLines,retainFunctionParens:l.retainFunctionParens,comments:l.comments==null||l.comments,compact:l.compact,minified:l.minified,concise:l.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},l.jsescOption),topicToken:l.topicToken,importAttributesKeyword:l.importAttributesKeyword};var d;p.decoratorsBeforeExport=l.decoratorsBeforeExport,p.jsescOption.json=l.jsonCompatibleStrings,p.recordAndTupleSyntaxType=(d=l.recordAndTupleSyntaxType)!=null?d:"hash",p.minified?(p.compact=!0,p.shouldPrintComment=p.shouldPrintComment||(()=>p.comments)):p.shouldPrintComment=p.shouldPrintComment||(y=>p.comments||y.includes("@license")||y.includes("@preserve")),p.compact==="auto"&&(p.compact=typeof a=="string"&&a.length>5e5,p.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${l.filename} as it exceeds the max of 500KB.`)),p.compact&&(p.indent.adjustMultilineComment=!1);let{auxiliaryCommentBefore:h,auxiliaryCommentAfter:m,shouldPrintComment:g}=p;return h&&!g(h)&&(p.auxiliaryCommentBefore=void 0),m&&!g(m)&&(p.auxiliaryCommentAfter=void 0),p}r.CodeGenerator=class{constructor(a,l={},p){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=a,this._format=H(p,l),this._map=l.sourceMaps?new s.default(l,p):null}generate(){return new u.default(this._format,this._map).generate(this._ast)}}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/node/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.needsParens=function(A,S,T){var I;return S?h(S)&&S.callee===A&&_(A)?!0:(I=g.get(A.type))==null?void 0:I(A,S,T):!1},r.needsWhitespace=E,r.needsWhitespaceAfter=function(A,S){return E(A,S,2)},r.needsWhitespaceBefore=function(A,S){return E(A,S,1)};var s=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/node/whitespace.js"),u=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/node/parentheses.js"),H=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{FLIPPED_ALIAS_KEYS:a,isCallExpression:l,isExpressionStatement:p,isMemberExpression:d,isNewExpression:h}=H;function m(A){let S=new Map;function T(I,L){let x=S.get(I);S.set(I,x?function(C,D,O){var j;return(j=x(C,D,O))!=null?j:L(C,D,O)}:L)}for(let I of Object.keys(A)){let L=a[I];if(L)for(let x of L)T(x,A[I]);else T(I,A[I])}return S}let g=m(u),y=m(s.nodes);function _(A){return!!l(A)||d(A)&&_(A.object)}function E(A,S,T){var I;if(!A)return!1;p(A)&&(A=A.expression);let L=(I=y.get(A.type))==null?void 0:I(A,S);return typeof L=="number"&&!!(L&T)}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/node/parentheses.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ArrowFunctionExpression=function(C,D){return p(D)||L(C,D)},r.AssignmentExpression=function(C,D){return!!g(C.left)||L(C,D)},r.Binary=function(C,D){let O=D.type;if(C.operator==="**"&&O==="BinaryExpression"&&D.operator==="**")return D.left===C;if(S(C,D)||T(C,D)||O==="UnaryExpression"||O==="SpreadElement"||O==="AwaitExpression")return!0;if(O==="BinaryExpression"||O==="LogicalExpression"){let j=E.get(D.operator),k=E.get(C.operator);if(j===k&&D.right===C&&O!=="LogicalExpression"||j>k)return!0}},r.BinaryExpression=function(C,D){if(C.operator==="in"){let O=D.type;return O==="VariableDeclarator"||O==="ForStatement"||O==="ForInStatement"||O==="ForOfStatement"}return!1},r.ClassExpression=function(C,D,O){return x(O,5)},r.ConditionalExpression=L,r.DoExpression=function(C,D,O){return!C.async&&x(O,1)},r.FunctionExpression=function(C,D,O){return x(O,5)},r.FunctionTypeAnnotation=function(C,D,O){if(O.length<3)return;let j=D.type;return j==="UnionTypeAnnotation"||j==="IntersectionTypeAnnotation"||j==="ArrayTypeAnnotation"||j==="TypeAnnotation"&&H(O[O.length-3])},r.Identifier=function(C,D,O){var j;let k=D.type;if((j=C.extra)!=null&&j.parenthesized&&k==="AssignmentExpression"&&D.left===C){let $=D.right.type;if(($==="FunctionExpression"||$==="ClassExpression")&&D.right.id==null)return!0}return C.name==="let"?x(O,m(D,{object:C,computed:!0})||y(D,{object:C,computed:!0,optional:!1})?57:32):C.name==="async"&&d(D)&&C===D.left},r.LogicalExpression=function(C,D){let O=D.type;if(A(O))return!0;if(O!=="LogicalExpression")return!1;switch(C.operator){case"||":return D.operator==="??"||D.operator==="&&";case"&&":return D.operator==="??";case"??":return D.operator!=="??"}},r.NullableTypeAnnotation=function(C,D){return u(D)},r.ObjectExpression=function(C,D,O){return x(O,3)},r.OptionalIndexedAccessType=function(C,D){return h(D)&&D.objectType===C},r.OptionalCallExpression=r.OptionalMemberExpression=function(C,D){return l(D)&&D.callee===C||m(D)&&D.object===C},r.SequenceExpression=function(C,D){let O=D.type;return!(O==="ForStatement"||O==="ThrowStatement"||O==="ReturnStatement"||O==="IfStatement"&&D.test===C||O==="WhileStatement"&&D.test===C||O==="ForInStatement"&&D.right===C||O==="SwitchStatement"&&D.discriminant===C||O==="ExpressionStatement"&&D.expression===C)},r.TSTypeAssertion=r.TSSatisfiesExpression=r.TSAsExpression=function(){return!0},r.TSInferType=function(C,D){let O=D.type;return O==="TSArrayType"||O==="TSOptionalType"},r.TSInstantiationExpression=function(C,D){let O=D.type;return(O==="CallExpression"||O==="OptionalCallExpression"||O==="NewExpression"||O==="TSInstantiationExpression")&&!!D.typeParameters},r.TSIntersectionType=r.TSUnionType=function(C,D){let O=D.type;return O==="TSArrayType"||O==="TSOptionalType"||O==="TSIntersectionType"||O==="TSUnionType"||O==="TSRestType"},r.UnaryLike=I,r.IntersectionTypeAnnotation=r.UnionTypeAnnotation=function(C,D){let O=D.type;return O==="ArrayTypeAnnotation"||O==="NullableTypeAnnotation"||O==="IntersectionTypeAnnotation"||O==="UnionTypeAnnotation"},r.UpdateExpression=function(C,D){return T(C,D)||S(C,D)},r.AwaitExpression=r.YieldExpression=function(C,D){let O=D.type;return O==="BinaryExpression"||O==="LogicalExpression"||O==="UnaryExpression"||O==="SpreadElement"||T(C,D)||O==="AwaitExpression"&&_(C)||O==="ConditionalExpression"&&C===D.test||S(C,D)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{isArrayTypeAnnotation:u,isArrowFunctionExpression:H,isBinaryExpression:a,isCallExpression:l,isExportDeclaration:p,isForOfStatement:d,isIndexedAccessType:h,isMemberExpression:m,isObjectPattern:g,isOptionalMemberExpression:y,isYieldExpression:_}=s,E=new Map([["||",0],["??",0],["|>",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function A(C){return C==="TSAsExpression"||C==="TSSatisfiesExpression"||C==="TSTypeAssertion"}let S=(C,D)=>{let O=D.type;return(O==="ClassDeclaration"||O==="ClassExpression")&&D.superClass===C},T=(C,D)=>{let O=D.type;return(O==="MemberExpression"||O==="OptionalMemberExpression")&&D.object===C||(O==="CallExpression"||O==="OptionalCallExpression"||O==="NewExpression")&&D.callee===C||O==="TaggedTemplateExpression"&&D.tag===C||O==="TSNonNullExpression"};function I(C,D){return T(C,D)||a(D)&&D.operator==="**"&&D.left===C||S(C,D)}function L(C,D){let O=D.type;return!!(O==="UnaryExpression"||O==="SpreadElement"||O==="BinaryExpression"||O==="LogicalExpression"||O==="ConditionalExpression"&&D.test===C||O==="AwaitExpression"||A(O))||I(C,D)}function x(C,D){let O=1&D,j=2&D,k=4&D,$=8&D,U=16&D,F=32&D,P=C.length-1;if(P<=0)return;let W=C[P];P--;let Z=C[P];for(;P>=0;){let ee=Z.type;if(O&&ee==="ExpressionStatement"&&Z.expression===W||k&&ee==="ExportDefaultDeclaration"&&W===Z.declaration||j&&ee==="ArrowFunctionExpression"&&Z.body===W||$&&ee==="ForStatement"&&Z.init===W||U&&ee==="ForInStatement"&&Z.left===W||F&&ee==="ForOfStatement"&&Z.left===W)return!0;if(!(P>0&&(T(W,Z)&&ee!=="NewExpression"||ee==="SequenceExpression"&&Z.expressions[0]===W||ee==="UpdateExpression"&&!Z.prefix||ee==="ConditionalExpression"&&Z.test===W||(ee==="BinaryExpression"||ee==="LogicalExpression")&&Z.left===W||ee==="AssignmentExpression"&&Z.left===W)))return!1;W=Z,P--,Z=C[P]}return!1}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/node/whitespace.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.nodes=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{FLIPPED_ALIAS_KEYS:u,isArrayExpression:H,isAssignmentExpression:a,isBinary:l,isBlockStatement:p,isCallExpression:d,isFunction:h,isIdentifier:m,isLiteral:g,isMemberExpression:y,isObjectExpression:_,isOptionalCallExpression:E,isOptionalMemberExpression:A,isStringLiteral:S}=s;function T(D,O){return D&&(y(D)||A(D)?(T(D.object,O),D.computed&&T(D.property,O)):l(D)||a(D)?(T(D.left,O),T(D.right,O)):d(D)||E(D)?(O.hasCall=!0,T(D.callee,O)):h(D)?O.hasFunction=!0:m(D)&&(O.hasHelper=O.hasHelper||D.callee&&L(D.callee))),O}function I(D){return T(D,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function L(D){return!!D&&(y(D)?L(D.object)||L(D.property):m(D)?D.name==="require"||D.name.charCodeAt(0)===95:d(D)?L(D.callee):!(!l(D)&&!a(D))&&(m(D.left)&&L(D.left)||L(D.right)))}function x(D){return g(D)||_(D)||H(D)||m(D)||y(D)}let C=r.nodes={AssignmentExpression(D){let O=I(D.right);if(O.hasCall&&O.hasHelper||O.hasFunction)return O.hasFunction?3:2},SwitchCase:(D,O)=>(D.consequent.length||O.cases[0]===D?1:0)|(D.consequent.length||O.cases[O.cases.length-1]!==D?0:2),LogicalExpression(D){if(h(D.left)||h(D.right))return 2},Literal(D){if(S(D)&&D.value==="use strict")return 2},CallExpression(D){if(h(D.callee)||L(D))return 3},OptionalCallExpression(D){if(h(D.callee))return 3},VariableDeclaration(D){for(let O=0;O<D.declarations.length;O++){let j=D.declarations[O],k=L(j.id)&&!x(j.init);if(!k&&j.init){let $=I(j.init);k=L(j.init)&&$.hasCall||$.hasFunction}if(k)return 3}},IfStatement(D){if(p(D.consequent))return 3}};C.ObjectProperty=C.ObjectTypeProperty=C.ObjectMethod=function(D,O){if(O.properties[0]===D)return 1},C.ObjectTypeCallProperty=function(D,O){var j;if(O.callProperties[0]===D&&((j=O.properties)==null||!j.length))return 1},C.ObjectTypeIndexer=function(D,O){var j,k;if(!(O.indexers[0]!==D||(j=O.properties)!=null&&j.length||(k=O.callProperties)!=null&&k.length))return 1},C.ObjectTypeInternalSlot=function(D,O){var j,k,$;if(!(O.internalSlots[0]!==D||(j=O.properties)!=null&&j.length||(k=O.callProperties)!=null&&k.length||($=O.indexers)!=null&&$.length))return 1},[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([D,O]){[D].concat(u[D]||[]).forEach(function(j){let k=O?3:0;C[j]=()=>k})})},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/printer.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/buffer.js"),u=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/node/index.js"),H=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),a=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/index.js");let{isFunction:l,isStatement:p,isClassBody:d,isTSInterfaceBody:h,isTSEnumDeclaration:m}=H,g=/e/i,y=/\.0+$/,_=/[\n\r\u2028\u2029]/,E=/[\n\r\u2028\u2029]|\*\//,{needsParens:A}=u;class S{constructor(L,x){this.inForStatementInitCounter=0,this._printStack=[],this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._parenPushNewlineState=null,this._noLineTerminator=!1,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.format=L,this._indentRepeat=L.indent.style.length,this._inputMap=x?._inputMap,this._buf=new s.default(x,L.indent.style[0])}generate(L){return this.print(L),this._maybeAddAuxComment(),this._buf.get()}indent(){this.format.compact||this.format.concise||this._indent++}dedent(){this.format.compact||this.format.concise||this._indent--}semicolon(L=!1){this._maybeAddAuxComment(),L?this._appendChar(59):this._queue(59),this._noLineTerminator=!1}rightBrace(L){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",L.loc,-1),this.tokenChar(125)}rightParens(L){this.sourceWithOffset("end",L.loc,-1),this.tokenChar(41)}space(L=!1){if(!this.format.compact){if(L)this._space();else if(this._buf.hasContent()){let x=this.getLastChar();x!==32&&x!==10&&this._space()}}}word(L,x=!1){this._maybePrintInnerComments(),(this._endsWithWord||L.charCodeAt(0)===47&&this.endsWith(47))&&this._space(),this._maybeAddAuxComment(),this._append(L,!1),this._endsWithWord=!0,this._noLineTerminator=x}number(L,x){this.word(L),this._endsWithInteger=Number.isInteger(x)&&!function(C){if(C.length>2&&C.charCodeAt(0)===48){let D=C.charCodeAt(1);return D===98||D===111||D===120}return!1}(L)&&!g.test(L)&&!y.test(L)&&L.charCodeAt(L.length-1)!==46}token(L,x=!1){this._maybePrintInnerComments();let C=this.getLastChar(),D=L.charCodeAt(0);(C===33&&(L==="--"||D===61)||D===43&&C===43||D===45&&C===45||D===46&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._append(L,x),this._noLineTerminator=!1}tokenChar(L){this._maybePrintInnerComments();let x=this.getLastChar();(L===43&&x===43||L===45&&x===45||L===46&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._appendChar(L),this._noLineTerminator=!1}newline(L=1,x){if(!(L<=0)){if(!x){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space()}L>2&&(L=2),L-=this._buf.getNewlineCount();for(let C=0;C<L;C++)this._newline()}}endsWith(L){return this.getLastChar()===L}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(L,x){L?(this._catchUp("start",L),this._buf.exactSource(L,x)):x()}source(L,x){x&&(this._catchUp(L,x),this._buf.source(L,x))}sourceWithOffset(L,x,C){x&&(this._catchUp(L,x),this._buf.sourceWithOffset(L,x,C))}withSource(L,x,C){x?(this._catchUp(L,x),this._buf.withSource(L,x,C)):C()}sourceIdentifierName(L,x){if(!this._buf._canMarkIdName)return;let C=this._buf._sourcePosition;C.identifierNamePos=x,C.identifierName=L}_space(){this._queue(32)}_newline(){this._queue(10)}_append(L,x){this._maybeAddParen(L),this._maybeIndent(L.charCodeAt(0)),this._buf.append(L,x),this._endsWithWord=!1,this._endsWithInteger=!1}_appendChar(L){this._maybeAddParenChar(L),this._maybeIndent(L),this._buf.appendChar(L),this._endsWithWord=!1,this._endsWithInteger=!1}_queue(L){this._maybeAddParenChar(L),this._maybeIndent(L),this._buf.queue(L),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(L){this._indent&&L!==10&&this.endsWith(10)&&this._buf.queueIndentation(this._getIndent())}_shouldIndent(L){if(this._indent&&L!==10&&this.endsWith(10))return!0}_maybeAddParenChar(L){let x=this._parenPushNewlineState;x&&L!==32&&(L===10?(this.tokenChar(40),this.indent(),x.printed=!0):this._parenPushNewlineState=null)}_maybeAddParen(L){let x=this._parenPushNewlineState;if(!x)return;let C=L.length,D;for(D=0;D<C&&L.charCodeAt(D)===32;D++);if(D===C)return;let O=L.charCodeAt(D);if(O!==10){if(O!==47||D+1===C)return void(this._parenPushNewlineState=null);let j=L.charCodeAt(D+1);if(j===42)return;if(j!==47)return void(this._parenPushNewlineState=null)}this.tokenChar(40),this.indent(),x.printed=!0}catchUp(L){if(!this.format.retainLines)return;let x=L-this._buf.getCurrentLine();for(let C=0;C<x;C++)this._newline()}_catchUp(L,x){var C;if(!this.format.retainLines)return;let D=x==null||(C=x[L])==null?void 0:C.line;if(D!=null){let O=D-this._buf.getCurrentLine();for(let j=0;j<O;j++)this._newline()}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(L,x,C){if(C)this._noLineTerminator=!0,this.print(L,x);else{let D={printed:!1};this._parenPushNewlineState=D,this.print(L,x),D.printed&&(this.dedent(),this.newline(),this.tokenChar(41))}}print(L,x,C,D,O){var j,k;if(!L)return;this._endsWithInnerRaw=!1;let $=L.type,U=this.format,F=U.concise;L._compact&&(U.concise=!0);let P=this[$];if(P===void 0)throw new ReferenceError(`unknown node of type ${JSON.stringify($)} with constructor ${JSON.stringify(L.constructor.name)}`);this._printStack.push(L);let W=this._insideAux;this._insideAux=L.loc==null,this._maybeAddAuxComment(this._insideAux&&!W);let Z=(j=L.extra)==null?void 0:j.parenthesized,ee=O||Z&&U.retainFunctionParens&&$==="FunctionExpression"||A(L,x,this._printStack);if(!ee&&Z&&(k=L.leadingComments)!=null&&k.length&&L.leadingComments[0].type==="CommentBlock")switch(x?.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(x.callee!==L)break;default:ee=!0}ee&&(this.tokenChar(40),this._endsWithInnerRaw=!1),this._lastCommentLine=0,this._printLeadingComments(L,x);let J=$==="Program"||$==="File"?null:L.loc;this.exactSource(J,P.bind(this,L,x)),ee?(this._printTrailingComments(L,x),this.tokenChar(41),this._noLineTerminator=C):C&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(L,x)):this._printTrailingComments(L,x,D),this._printStack.pop(),U.concise=F,this._insideAux=W,this._endsWithInnerRaw=!1}_maybeAddAuxComment(L){L&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;let L=this.format.auxiliaryCommentBefore;L&&this._printComment({type:"CommentBlock",value:L},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;let L=this.format.auxiliaryCommentAfter;L&&this._printComment({type:"CommentBlock",value:L},0)}getPossibleRaw(L){let x=L.extra;if(x?.raw!=null&&x.rawValue!=null&&L.value===x.rawValue)return x.raw}printJoin(L,x,C={}){if(L==null||!L.length)return;let{indent:D}=C;if(D==null&&this.format.retainLines){var O;let P=(O=L[0].loc)==null?void 0:O.start.line;P!=null&&P!==this._buf.getCurrentLine()&&(D=!0)}D&&this.indent();let j={addNewlines:C.addNewlines,nextNodeStartLine:0},k=C.separator?C.separator.bind(this):null,$=L.length;for(let P=0;P<$;P++){let W=L[P];var U;if(W&&(C.statement&&this._printNewline(P===0,j),this.print(W,x,void 0,C.trailingCommentsLineOffset||0),C.iterator==null||C.iterator(W,P),P<$-1&&k?.(),C.statement))if((U=W.trailingComments)!=null&&U.length||(this._lastCommentLine=0),P+1===$)this.newline(1);else{var F;let Z=L[P+1];j.nextNodeStartLine=((F=Z.loc)==null?void 0:F.start.line)||0,this._printNewline(!0,j)}}D&&this.dedent()}printAndIndentOnComments(L,x){let C=L.leadingComments&&L.leadingComments.length>0;C&&this.indent(),this.print(L,x),C&&this.dedent()}printBlock(L){let x=L.body;x.type!=="EmptyStatement"&&this.space(),this.print(x,L)}_printTrailingComments(L,x,C){let{innerComments:D,trailingComments:O}=L;D!=null&&D.length&&this._printComments(2,D,L,x,C),O!=null&&O.length&&this._printComments(2,O,L,x,C)}_printLeadingComments(L,x){let C=L.leadingComments;C!=null&&C.length&&this._printComments(0,C,L,x)}_maybePrintInnerComments(){this._endsWithInnerRaw&&this.printInnerComments(),this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(){let L=this._printStack[this._printStack.length-1],x=L.innerComments;if(x==null||!x.length)return;let C=this.endsWith(32),D=this._indentInnerComments,O=this._printedComments.size;D&&this.indent(),this._printComments(1,x,L),C&&O!==this._printedComments.size&&this.space(),D&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(L,x,C={}){C.statement=!0,C.indent!=null||(C.indent=!1),this.printJoin(L,x,C)}printList(L,x,C={}){C.separator==null&&(C.separator=T),this.printJoin(L,x,C)}_printNewline(L,x){let C=this.format;if(C.retainLines||C.compact)return;if(C.concise)return void this.space();if(!L)return;let D=x.nextNodeStartLine,O=this._lastCommentLine;if(D>0&&O>0){let j=D-O;if(j>=0)return void this.newline(j||1)}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(L){return L.ignore||this._printedComments.has(L)?0:this._noLineTerminator&&E.test(L.value)?2:(this._printedComments.add(L),this.format.shouldPrintComment(L.value)?1:0)}_printComment(L,x){let C=this._noLineTerminator,D=L.type==="CommentBlock",O=D&&x!==1&&!this._noLineTerminator;O&&this._buf.hasContent()&&x!==2&&this.newline(1);let j=this.getLastChar(),k;if(j!==91&&j!==123&&this.space(),D){let{_parenPushNewlineState:U}=this;if(U?.printed===!1&&_.test(L.value)&&(this.tokenChar(40),this.indent(),U.printed=!0),k=`/*${L.value}*/`,this.format.indent.adjustMultilineComment){var $;let F=($=L.loc)==null?void 0:$.start.column;if(F){let P=new RegExp("\\n\\s{1,"+F+"}","g");k=k.replace(P,`
|
|
`)}if(this.format.concise)k=k.replace(/\n(?!$)/g,`
|
|
`);else{let P=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(P+=this._getIndent()),k=k.replace(/\n(?!$)/g,`
|
|
${" ".repeat(P)}`)}}}else k=C?`/*${L.value}*/`:`//${L.value}`;this.endsWith(47)&&this._space(),this.source("start",L.loc),this._append(k,D),D||C||this.newline(1,!0),O&&x!==3&&this.newline(1)}_printComments(L,x,C,D,O=0){let j=C.loc,k=x.length,$=!!j,U=$?j.start.line:0,F=$?j.end.line:0,P=0,W=0,Z=this._noLineTerminator?function(){}:this.newline.bind(this);for(let ee=0;ee<k;ee++){let J=x[ee],ne=this._shouldPrintComment(J);if(ne===2){$=!1;break}if($&&J.loc&&ne===1){let K=J.loc.start.line,q=J.loc.end.line;if(L===0){let Q=0;ee===0?!this._buf.hasContent()||J.type!=="CommentLine"&&K===q||(Q=W=1):Q=K-P,P=q,Z(Q),this._printComment(J,1),ee+1===k&&(Z(Math.max(U-P,W)),P=U)}else if(L===1){let Q=K-(ee===0?U:P);P=q,Z(Q),this._printComment(J,1),ee+1===k&&(Z(Math.min(1,F-P)),P=F)}else{let Q=K-(ee===0?F-O:P);P=q,Z(Q),this._printComment(J,1)}}else{if($=!1,ne!==1)continue;if(k===1){let K=J.loc?J.loc.start.line===J.loc.end.line:!_.test(J.value),q=K&&!p(C)&&!d(D)&&!h(D)&&!m(D);L===0?this._printComment(J,q&&C.type!=="ObjectExpression"||K&&l(D,{body:C})?1:0):q&&L===2?this._printComment(J,1):this._printComment(J,0)}else L!==1||C.type==="ObjectExpression"&&C.properties.length>1||C.type==="ClassBody"||C.type==="TSInterfaceBody"?this._printComment(J,0):this._printComment(J,ee===0?2:ee===k-1?3:0)}}L===2&&$&&P&&(this._lastCommentLine=P)}}Object.assign(S.prototype,a),S.prototype.Noop=function(){},r.default=S;function T(){this.tokenChar(44),this.space()}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/source-map.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.5/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"),u=c("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js");r.default=class{constructor(H,a){var l;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=void 0;let p=this._map=new s.GenMapping({sourceRoot:H.sourceRoot});if(this._sourceFileName=(l=H.sourceFileName)==null?void 0:l.replace(/\\/g,"/"),this._rawMappings=void 0,H.inputSourceMap){this._inputMap=new u.TraceMap(H.inputSourceMap);let h=this._inputMap.resolvedSources;if(h.length)for(let m=0;m<h.length;m++){var d;(0,s.setSourceContent)(p,h[m],(d=this._inputMap.sourcesContent)==null?void 0:d[m])}}if(typeof a!="string"||H.inputSourceMap){if(typeof a=="object")for(let h of Object.keys(a))(0,s.setSourceContent)(p,h.replace(/\\/g,"/"),a[h])}else(0,s.setSourceContent)(p,this._sourceFileName,a)}get(){return(0,s.toEncodedMap)(this._map)}getDecoded(){return(0,s.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,s.allMappings)(this._map))}mark(H,a,l,p,d,h){var m;let g;if(this._rawMappings=void 0,a!=null)if(this._inputMap){if(g=(0,u.originalPositionFor)(this._inputMap,{line:a,column:l}),!g.name&&d){let y=(0,u.originalPositionFor)(this._inputMap,d);y.name&&(p=y.name)}}else g={source:h?.replace(/\\/g,"/")||this._sourceFileName,line:a,column:l};(0,s.maybeAddMapping)(this._map,{name:p,generated:H,source:(m=g)==null?void 0:m.source,original:g})}}},"./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.24.7/node_modules/@babel/helper-annotate-as-pure/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(l){let p=l.node||l;a(p)||u(p,"leading",H)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{addComment:u}=s,H="#__PURE__",a=({leadingComments:l})=>!!l&&l.some(p=>/[@#]__PURE__/.test(p.value))},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.buildDecoratedClass=function(h,m,g,y){let{node:_,scope:E}=m,A=E.generateUidIdentifier("initialize"),S=_.id&&m.isDeclaration(),T=m.isInStrictMode(),{superClass:I}=_;_.type="ClassDeclaration",_.id||(_.id=s.types.cloneNode(h));let L;I&&(L=E.generateUidIdentifierBasedOnNode(_.superClass,"super"),_.superClass=L);let x=p(_),C=s.types.arrayExpression(g.filter(k=>!k.node.abstract&&k.node.type!=="TSIndexSignature").map(k=>function($,U,F,P){let W=P.isClassMethod();if(P.isPrivate())throw P.buildCodeFrameError(`Private ${W?"methods":"fields"} in decorated classes are not supported yet.`);if(P.node.type==="ClassAccessorProperty")throw P.buildCodeFrameError('Accessor properties are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.');if(P.node.type==="StaticBlock")throw P.buildCodeFrameError('Static blocks are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.');let{node:Z,scope:ee}=P;P.isTSDeclareMethod()||new u.default({methodPath:P,objectRef:U,superRef:F,file:$,refToPreserve:U}).replace();let J=[l("kind",s.types.stringLiteral(s.types.isClassMethod(Z)?Z.kind:"field")),l("decorators",p(Z)),l("static",Z.static&&s.types.booleanLiteral(!0)),l("key",d(Z))].filter(Boolean);if(s.types.isClassMethod(Z)){let q=Z.computed?null:Z.key,Q=s.types.toExpression(Z);J.push(l("value",(0,H.default)({node:Q,id:q,scope:ee})||Q))}else s.types.isClassProperty(Z)&&Z.value?J.push((ne="value",K=s.template.statements.ast`return ${Z.value}`,s.types.objectMethod("method",s.types.identifier(ne),[],s.types.blockStatement(K)))):J.push(l("value",ee.buildUndefinedNode()));var ne,K;return P.remove(),s.types.objectExpression(J)}(y,_.id,L,k))),D=s.template.expression.ast`
|
|
${function(k){return k.addHelper("decorate")}(y)}(
|
|
${x||s.types.nullLiteral()},
|
|
function (${A}, ${I?s.types.cloneNode(L):null}) {
|
|
${_}
|
|
return { F: ${s.types.cloneNode(_.id)}, d: ${C} };
|
|
},
|
|
${I}
|
|
)
|
|
`;T||D.arguments[1].body.directives.push(s.types.directive(s.types.directiveLiteral("use strict")));let O=D,j="arguments.1.body.body.0";return S&&(O=s.template.statement.ast`let ${h} = ${D}`,j="declarations.0.init."+j),{instanceNodes:[s.template.statement.ast`
|
|
${s.types.cloneNode(A)}(this)
|
|
`],wrapClass:k=>(k.replaceWith(O),k.get(j))}},r.hasDecorators=function(h){return a(h)||h.body.body.some(a)},r.hasOwnDecorators=a;var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-replace-supers@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-replace-supers/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-function-name@7.24.7/node_modules/@babel/helper-function-name/lib/index.js");function a(h){var m;return!((m=h.decorators)==null||!m.length)}function l(h,m){return m?s.types.objectProperty(s.types.identifier(h),m):null}function p(h){let m;return h.decorators&&h.decorators.length>0&&(m=s.types.arrayExpression(h.decorators.map(g=>g.expression))),h.decorators=void 0,m}function d(h){return h.computed?h.key:s.types.isIdentifier(h.key)?s.types.stringLiteral(h.key.name):s.types.stringLiteral(String(h.key.value))}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function({assertVersion:ce,assumption:ke},{loose:je},Oe,re){var fe,he;ce(Oe==="2023-11"||Oe==="2023-05"||Oe==="2023-01"?"^7.21.0":Oe==="2021-12"?"^7.16.0":"^7.19.0");let se=new WeakSet,Ie=(fe=ke("constantSuper"))!=null?fe:je,ye=(he=ke("ignoreFunctionLength"))!=null?he:je,$e=function(et,xe){function pe(ue,Se,Ae){switch(Se.type){case"StringLiteral":return s.types.stringLiteral(Se.value);case"NumericLiteral":case"BigIntLiteral":{let de=Se.value+"";return ue.get("key").replaceWith(s.types.stringLiteral(de)),s.types.stringLiteral(de)}default:{let de=ue.scope.maybeGenerateMemoised(Se);return ue.get("key").replaceWith(s.types.assignmentExpression("=",de,Q(Ae,Se))),s.types.cloneNode(de)}}}return{VariableDeclarator(ue,Se){let Ae=ue.node.id;if(Ae.type==="Identifier"){let de=(0,a.skipTransparentExprWrappers)(ue.get("init"));if(et(de)){let We=Ae.name;xe(de,Se,We)}}},AssignmentExpression(ue,Se){let Ae=ue.node.left;if(Ae.type==="Identifier"){let de=(0,a.skipTransparentExprWrappers)(ue.get("right"));if(et(de))switch(ue.node.operator){case"=":case"&&=":case"||=":case"??=":xe(de,Se,Ae.name)}}},AssignmentPattern(ue,Se){let Ae=ue.node.left;if(Ae.type==="Identifier"){let de=(0,a.skipTransparentExprWrappers)(ue.get("right"));if(et(de)){let We=Ae.name;xe(de,Se,We)}}},ObjectExpression(ue,Se){for(let Ae of ue.get("properties")){if(!Ae.isObjectProperty())continue;let{node:de}=Ae,We=de.key,tt=(0,a.skipTransparentExprWrappers)(Ae.get("value"));if(et(tt)){if(de.computed){let mt=pe(Ae,We,Se);xe(tt,Se,mt)}else if(!He(We))if(We.type==="Identifier")xe(tt,Se,We.name);else{let mt=s.types.stringLiteral(We.value+"");xe(tt,Se,mt)}}}},ClassPrivateProperty(ue,Se){let{node:Ae}=ue,de=(0,a.skipTransparentExprWrappers)(ue.get("value"));if(et(de)){let We=s.types.stringLiteral("#"+Ae.key.id.name);xe(de,Se,We)}},ClassAccessorProperty(ue,Se){let{node:Ae}=ue,de=Ae.key,We=(0,a.skipTransparentExprWrappers)(ue.get("value"));if(et(We))if(Ae.computed){let tt=pe(ue,de,Se);xe(We,Se,tt)}else if(de.type==="Identifier")xe(We,Se,de.name);else if(de.type==="PrivateName"){let tt=s.types.stringLiteral("#"+de.id.name);xe(We,Se,tt)}else{let tt=s.types.stringLiteral(de.value+"");xe(We,Se,tt)}},ClassProperty(ue,Se){let{node:Ae}=ue,de=Ae.key,We=(0,a.skipTransparentExprWrappers)(ue.get("value"));if(et(We))if(Ae.computed){let tt=pe(ue,de,Se);xe(We,Se,tt)}else if(de.type==="Identifier")xe(We,Se,de.name);else{let tt=s.types.stringLiteral(de.value+"");xe(We,Se,tt)}}}}(Fe,nt);function nt(et,xe,pe){var ue;if(se.has(et))return;let{node:Se}=et;pe!=null||(pe=(ue=Se.id)==null?void 0:ue.name);let Ae=function(de,We,tt,mt,At,pt,Nt){var Ce,qe;let ot=de.get("body.body"),Ze=de.node.decorators,Pe=!1,Qe=!1,Ge=!1,we=function(ft){let wt;return()=>(wt||(wt=function(Vt){let nr=[],Hr=new Set;return Vt.traverse({PrivateName(Bt){Hr.add(Bt.node.id.name)}}),()=>{let Bt;do d(nr),Bt=String.fromCharCode(...nr);while(Hr.has(Bt));return s.types.privateName(s.types.identifier(Bt))}}(ft)),wt())}(de),Ne=[],ht=de.scope.parent,it=(ft,wt,Vt)=>{let nr=me(ht,wt);return Vt.push(s.types.assignmentExpression("=",nr,ft)),s.types.cloneNode(nr)},Tt,Ot,Pt=(Ce=de.node.id)==null?void 0:Ce.name,Ir=typeof At=="object"?At:void 0,Lr=ft=>{try{return s.types.traverseFast(ft,wt=>{if(s.types.isThisExpression(wt)||s.types.isSuper(wt)||s.types.isYieldExpression(wt)||s.types.isAwaitExpression(wt)||s.types.isIdentifier(wt,{name:"arguments"})||Pt&&s.types.isIdentifier(wt,{name:Pt})||s.types.isMetaProperty(wt)&&wt.meta.name!=="import")throw null}),!1}catch{return!0}},_n=[];for(let ft of ot){if(!J(ft))continue;let wt=ft.node;if(!wt.static&&s.types.isPrivateName(wt.key)&&_n.push(wt.key.id.name),be(wt)){switch(wt.type){case"ClassProperty":pt.ClassProperty(ft,We);break;case"ClassPrivateProperty":pt.ClassPrivateProperty(ft,We);break;case"ClassAccessorProperty":if(pt.ClassAccessorProperty(ft,We),Nt==="2023-11")break;default:wt.static?Ot!=null||(Ot=me(ht,"initStatic")):Tt!=null||(Tt=me(ht,"initProto"))}Pe=!0,Ge||(Ge=wt.decorators.some(Lr))}else if(wt.type==="ClassAccessorProperty"){pt.ClassAccessorProperty(ft,We);let{key:Vt,value:nr,static:Hr,computed:Bt}=wt,zt=we(),jt=h(zt,nr,Hr),xr=ft.get("key"),[Or]=ft.replaceWith(jt),hr,dr;Bt&&!xr.isConstantExpression()?(hr=(0,p.memoiseComputedKey)(Q(We,Vt),ht,ht.generateUid("computedKey")),dr=s.types.cloneNode(hr.left)):(hr=s.types.cloneNode(Vt),dr=s.types.cloneNode(Vt)),m(de,At),g(de.node.id,Or,hr,dr,zt,Bt,Hr,Nt)}"computed"in ft.node&&ft.node.computed&&(Qe||(Qe=!ht.isStatic(ft.node.key)))}if(!Ze&&!Pe)return de.node.id||typeof At!="string"||(de.node.id=s.types.identifier(At)),void(Ir&&de.node.body.body.unshift(x([q(We,Ir)])));let _r=[],bn,wr=new Set,on,Cn,Jr=null;function Di(ft){let wt=!1,Vt=!1,nr=[];for(let Hr of ft){let{expression:Bt}=Hr,zt;(Nt==="2023-11"||Nt==="2023-05")&&s.types.isMemberExpression(Bt)&&(s.types.isSuper(Bt.object)?zt=s.types.thisExpression():ht.isStatic(Bt.object)?zt=s.types.cloneNode(Bt.object):(Jr!=null||(Jr=me(ht,"obj")),zt=s.types.assignmentExpression("=",s.types.cloneNode(Jr),Bt.object),Bt.object=s.types.cloneNode(Jr))),nr.push(zt),wt||(wt=!ht.isStatic(Bt)),Vt||(Vt=Lr(Hr))}return{hasSideEffects:wt,usesFnContext:Vt,decoratorsThis:nr}}let Gi=Qe||Ge||Nt!=="2023-11",mn,Li,us=!1,Ni=0,xn=[],ii=[];if(Ze){on=me(ht,"initClass"),us=de.isClassDeclaration(),{id:Cn,path:de}=function(zt,jt){let xr=zt.node.id,Or=zt.scope;if(zt.type==="ClassDeclaration"){let hr=xr.name,dr=Or.generateUidIdentifierBasedOnNode(xr),Sn=s.types.identifier(hr);return Or.rename(hr,dr.name),zt.get("id").replaceWith(Sn),{id:s.types.cloneNode(dr),path:zt}}{let hr;xr?(jt=xr.name,hr=me(Or.parent,jt),Or.rename(jt,hr.name)):hr=me(Or.parent,typeof jt=="string"?jt:"decorated_class");let dr=s.types.classExpression(typeof jt=="string"?s.types.identifier(jt):null,zt.node.superClass,zt.node.body),[Sn]=zt.replaceWith(s.types.sequenceExpression([dr,hr]));return{id:s.types.cloneNode(hr),path:Sn.get("expressions.0")}}}(de,At),de.node.decorators=null;let ft=Ze.some(ie),{hasSideEffects:wt,usesFnContext:Vt,decoratorsThis:nr}=Di(Ze),{haveThis:Hr,decs:Bt}=W(Ze,nr,Nt);if(Ni=Hr?1:0,xn=Bt,(Vt||wt&&Gi||ft)&&(mn=it(s.types.arrayExpression(xn),"classDecs",Ne)),!Pe)for(let zt of de.get("body.body")){let{node:jt}=zt;if("computed"in jt&&jt.computed)if(zt.isClassProperty({static:!0})){if(!zt.get("key").isConstantExpression()){let xr=jt.key,Or=(0,p.memoiseComputedKey)(xr,ht,ht.generateUid("computedKey"));Or!=null&&(jt.key=s.types.cloneNode(Or.left),ii.push(Or))}}else ii.length>0&&(A(ii,zt),ii=[])}}else m(de,At),Cn=s.types.cloneNode(de.node.id);let ts=!1,Pn=[],si=[];if(Pe){if(Tt){let ft=s.types.callExpression(s.types.cloneNode(Tt),[s.types.thisExpression()]);Pn.push(ft)}for(let ft of ot){if(!J(ft)){si.length>0&&ft.isStaticBlock()&&(T(si,ft),si=[]);continue}let{node:wt}=ft,Vt=wt.decorators,nr=!(Vt==null||!Vt.length),Hr="computed"in wt&&wt.computed,Bt,zt,jt="computedKey";if(wt.key.type==="PrivateName"?jt=wt.key.id.name:Hr||wt.key.type!=="Identifier"||(jt=wt.key.name),nr){let{hasSideEffects:Xn,usesFnContext:zn,decoratorsThis:en}=Di(Vt),{decs:ai,haveThis:Ri}=W(Vt,en,Nt);zt=Ri,Bt=ai.length===1?ai[0]:s.types.arrayExpression(ai),(zn||Xn&&Gi)&&(Bt=it(Bt,jt+"Decs",ii))}if(Hr&&!ft.get("key").isConstantExpression()){let Xn=wt.key,zn=(0,p.memoiseComputedKey)(nr?Q(We,Xn):Xn,ht,ht.generateUid("computedKey"));zn!=null&&(Ze&&ft.isClassProperty({static:!0})?(wt.key=s.types.cloneNode(zn.left),ii.push(zn)):wt.key=zn)}let{key:xr,static:Or}=wt,hr=xr.type==="PrivateName",dr=P(ft),Sn;if(hr&&!Or&&(nr&&(ts=!0),!s.types.isClassPrivateProperty(wt)&&Li||(Li=xr)),ft.isClassMethod({kind:"constructor"})&&(bn=ft),nr){let Xn,zn;if(zn=Hr?E(ft.get("key")):xr.type==="PrivateName"?s.types.stringLiteral(xr.id.name):xr.type==="Identifier"?s.types.stringLiteral(xr.name):s.types.cloneNode(xr),dr===D){let{value:en}=ft.node,ai=Nt==="2023-11"&&Or?[]:[s.types.thisExpression()];en&&ai.push(s.types.cloneNode(en));let Ri=we(),Oa=me(ht,`init_${jt}`),Fa=h(Ri,s.types.callExpression(s.types.cloneNode(Oa),ai),Or),[ja]=ft.replaceWith(Fa);if(hr){Xn=y(Ri,Nt);let ao=me(ht,`get_${jt}`),Rr=me(ht,`set_${jt}`);Z(Nt,ja,xr,ao,Rr,Or),Sn=[Oa,ao,Rr]}else m(de,At),g(de.node.id,ja,s.types.cloneNode(xr),s.types.isAssignmentExpression(xr)?s.types.cloneNode(xr.left):s.types.cloneNode(xr),Ri,Hr,Or,Nt),Sn=[Oa]}else if(dr===C){let en=me(ht,`init_${jt}`),ai=ft.get("value"),Ri=Nt==="2023-11"&&Or?[]:[s.types.thisExpression()];ai.node&&Ri.push(ai.node),ai.replaceWith(s.types.callExpression(s.types.cloneNode(en),Ri)),Sn=[en],hr&&(Xn=y(xr,Nt))}else if(hr){let en=me(ht,`call_${jt}`);if(Sn=[en],new u.default({constantSuper:tt,methodPath:ft,objectRef:Cn,superRef:de.node.superClass,file:We.file,refToPreserve:Cn}).replace(),Xn=[K(ft.node)],dr===j||dr===k)ee(ft,s.types.cloneNode(xr),s.types.cloneNode(en),Or);else{let ai=ft.node;de.node.body.body.unshift(s.types.classPrivateProperty(xr,s.types.cloneNode(en),[],ai.static)),wr.add(xr.id.name),ft.remove()}}_r.push({kind:dr,decoratorsArray:Bt,decoratorsHaveThis:zt,name:zn,isStatic:Or,privateMethods:Xn,locals:Sn}),ft.node&&(ft.node.decorators=null)}if(Hr&&ii.length>0&&(Ze&&ft.isClassProperty({static:!0})||(A(ii,dr===D?ft.getNextSibling():ft),ii=[])),Pn.length>0&&!Or&&(dr===C||dr===D)&&(S(Pn,ft),Pn=[]),si.length>0&&Or&&(dr===C||dr===D)&&(S(si,ft),si=[]),nr&&Nt==="2023-11"&&(dr===C||dr===D)){let Xn=me(ht,`init_extra_${jt}`);Sn.push(Xn);let zn=s.types.callExpression(s.types.cloneNode(Xn),Or?[]:[s.types.thisExpression()]);Or?si.push(zn):Pn.push(zn)}}}if(ii.length>0){let ft=de.get("body.body"),wt;for(let Vt=ft.length-1;Vt>=0;Vt--){let nr=ft[Vt],Hr=nr.node;if(Hr.computed){if(Ze&&s.types.isClassProperty(Hr,{static:!0}))continue;wt=nr;break}}wt!=null&&(function(Vt,nr){let Hr=nr.get("key"),Bt=_(Hr);if(Bt.isConstantExpression())A(Vt,nr);else{let zt=Hr.scope.parent,jt=(0,p.memoiseComputedKey)(Bt.node,zt,zt.generateUid("computedKey"));if(jt){let xr=[...Vt,s.types.cloneNode(jt.left)],Or=Bt.parentPath;Or.isSequenceExpression()?Or.pushContainer("expressions",xr):Bt.replaceWith(ne([s.types.cloneNode(jt),...xr]))}else A(Vt,nr)}}(ii,wt),ii=[])}if(Pn.length>0){let ft=!!de.node.superClass;bn?ft?function(wt,Vt,nr){Vt.traverse({CallExpression:{exit(Hr){if(!Hr.get("callee").isSuper())return;let Bt=[Hr.node,...wt.map(zt=>s.types.cloneNode(zt))];Hr.isCompletionRecord()&&Bt.push(s.types.thisExpression()),Hr.replaceWith(function(zt,jt){if(jt){if(zt.length>=2&&I(zt[1],jt)){let xr=s.types.callExpression(s.types.cloneNode(jt),[zt[0]]);zt.splice(0,2,xr)}zt.length>=2&&s.types.isThisExpression(zt[zt.length-1])&&I(zt[zt.length-2],jt)&&zt.splice(zt.length-1,1)}return ne(zt)}(Bt,nr)),Hr.skip()}},ClassMethod(Hr){Hr.node.kind==="constructor"&&Hr.skip()}})}(Pn,bn,Tt):function(wt,Vt){Vt.node.body.body.unshift(s.types.expressionStatement(ne(wt)))}(Pn,bn):de.node.body.body.unshift(L(Pn,ft)),Pn=[]}si.length>0&&(de.node.body.body.push(x(si)),si=[]);let Vs=(Fi=_r,[...Fi.filter(ft=>ft.isStatic&&ft.kind>=D&&ft.kind<=k),...Fi.filter(ft=>!ft.isStatic&&ft.kind>=D&&ft.kind<=k),...Fi.filter(ft=>ft.isStatic&&ft.kind===C),...Fi.filter(ft=>!ft.isStatic&&ft.kind===C)]),Oi=function(ft,wt){return s.types.arrayExpression(ft.map(Vt=>{let nr=Vt.kind;return Vt.isStatic&&(nr+=wt==="2023-11"||wt==="2023-05"?U:$),Vt.decoratorsHaveThis&&(nr+=F),s.types.arrayExpression([Vt.decoratorsArray,s.types.numericLiteral(nr),Vt.name,...Vt.privateMethods||[]])}))}(Nt==="2023-11"?_r:Vs,Nt),Ls=function(ft){let wt=[];for(let Vt of ft){let{locals:nr}=Vt;Array.isArray(nr)?wt.push(...nr):nr!==void 0&&wt.push(nr)}return wt}(Vs);var Fi;Tt&&Ls.push(Tt),Ot&&Ls.push(Ot);let qr=[],Mr=!1,rs=on&&s.types.callExpression(s.types.cloneNode(on),[]),Br=de,Rs=de.node,Xi=[];if(Ze){qr.push(Cn,on);let ft=[];if(de.get("body.body").forEach(wt=>{if(wt.isStaticBlock()){if(_e(wt,_n)){let nr=it((Vt=wt.node,s.types.functionExpression(null,[],s.types.blockStatement(Vt.body))),"staticBlock",Xi);si.push(s.types.callExpression(s.types.memberExpression(nr,s.types.identifier("call")),[s.types.thisExpression()]))}else si.push(function(nr){return s.types.callExpression(s.types.arrowFunctionExpression([],s.types.blockStatement(nr.body)),[])}(wt.node));wt.remove()}else{var Vt;if((wt.isClassProperty()||wt.isClassPrivateProperty())&&wt.node.static){let nr=wt.get("value");if(_e(nr,_n)){let Hr=it(function(Bt){return s.types.functionExpression(null,[],s.types.blockStatement([s.types.returnStatement(Bt)]))}(nr.node),"fieldValue",Xi);nr.replaceWith(s.types.callExpression(s.types.memberExpression(Hr,s.types.identifier("call")),[s.types.thisExpression()]))}si.length>0&&(S(si,wt),si=[]),wt.node.static=!1,ft.push(wt.node),wt.remove()}else if(wt.isClassPrivateMethod({static:!0})){if(_e(wt,_n)){new u.default({constantSuper:tt,methodPath:wt,objectRef:Cn,superRef:de.node.superClass,file:We.file,refToPreserve:Cn}).replace();let nr=it(K(wt.node),wt.get("key.id").node.name,Xi);mt?(wt.node.params=[s.types.restElement(s.types.identifier("arg"))],wt.node.body=s.types.blockStatement([s.types.returnStatement(s.types.callExpression(s.types.memberExpression(nr,s.types.identifier("apply")),[s.types.thisExpression(),s.types.identifier("arg")]))])):(wt.node.params=wt.node.params.map((Hr,Bt)=>s.types.isRestElement(Hr)?s.types.restElement(s.types.identifier("arg")):s.types.identifier("_"+Bt)),wt.node.body=s.types.blockStatement([s.types.returnStatement(s.types.callExpression(s.types.memberExpression(nr,s.types.identifier("apply")),[s.types.thisExpression(),s.types.identifier("arguments")]))]))}wt.node.static=!1,ft.push(wt.node),wt.remove()}}}),ft.length>0||si.length>0){let wt=s.template.expression.ast`
|
|
class extends ${We.addHelper("identity")} {}
|
|
`;wt.body.body=[s.types.classProperty(s.types.toExpression(Rs),void 0,void 0,void 0,!0,!0),...ft];let Vt=[],nr=s.types.newExpression(wt,[]);si.length>0&&Vt.push(...si),rs&&(Mr=!0,Vt.push(rs)),Vt.length>0?(Vt.unshift(s.types.callExpression(s.types.super(),[s.types.cloneNode(Cn)])),wt.body.body.push(L(Vt,!1))):nr.arguments.push(s.types.cloneNode(Cn));let[Hr]=de.replaceWith(nr);Br=Hr.get("callee").get("body").get("body.0.key")}}!Mr&&rs&&de.node.body.body.push(s.types.staticBlock([s.types.expressionStatement(rs)]));let{superClass:ns}=Rs;if(ns&&(Nt==="2023-11"||Nt==="2023-05")){let ft=de.scope.maybeGenerateMemoised(ns);ft&&(Rs.superClass=s.types.assignmentExpression("=",ft,ns),ns=ft)}let vr=s.types.staticBlock([]);Rs.body.body.unshift(vr);let Yt=vr.body;if(ii.length>0){let ft=Br.get("body.body"),wt;for(let Vt of ft)if((Vt.isClassProperty()||Vt.isClassMethod())&&Vt.node.kind!=="constructor"){wt=Vt;break}wt!=null?(function(Vt){let{node:nr}=Vt;nr.computed=!0,s.types.isIdentifier(nr.key)&&(nr.key=s.types.stringLiteral(nr.key.name))}(wt),A(ii,wt)):(Rs.body.body.unshift(s.types.classProperty(s.types.sequenceExpression([...ii,s.types.stringLiteral("_")]),void 0,void 0,void 0,!0,!0)),Yt.push(s.types.expressionStatement(s.types.unaryExpression("delete",s.types.memberExpression(s.types.thisExpression(),s.types.identifier("_")))))),ii=[]}if(Yt.push(s.types.expressionStatement(function(ft,wt,Vt,nr,Hr,Bt,zt,jt,xr,Or){let hr,dr,Sn=[zt?q(xr,zt):s.types.thisExpression(),nr,Vt];return Or!=="2023-11"&&Sn.splice(1,2,Vt,nr),Or==="2021-12"||Or==="2022-03"&&!xr.availableHelper("applyDecs2203R")?(hr=s.types.arrayPattern([...ft,...wt]),dr=s.types.callExpression(xr.addHelper(Or==="2021-12"?"applyDecs":"applyDecs2203"),Sn),s.types.assignmentExpression("=",hr,dr)):(Or==="2022-03"?dr=s.types.callExpression(xr.addHelper("applyDecs2203R"),Sn):Or==="2023-01"?(Bt&&Sn.push(z(Bt)),dr=s.types.callExpression(xr.addHelper("applyDecs2301"),Sn)):Or==="2023-05"&&((Bt||jt||Hr.value!==0)&&Sn.push(Hr),Bt?Sn.push(z(Bt)):jt&&Sn.push(s.types.unaryExpression("void",s.types.numericLiteral(0))),jt&&Sn.push(jt),dr=s.types.callExpression(xr.addHelper("applyDecs2305"),Sn)),Or==="2023-11"&&((Bt||jt||Hr.value!==0)&&Sn.push(Hr),Bt?Sn.push(z(Bt)):jt&&Sn.push(s.types.unaryExpression("void",s.types.numericLiteral(0))),jt&&Sn.push(jt),dr=s.types.callExpression(xr.addHelper("applyDecs2311"),Sn)),ft.length>0?wt.length>0?hr=s.types.objectPattern([s.types.objectProperty(s.types.identifier("e"),s.types.arrayPattern(ft)),s.types.objectProperty(s.types.identifier("c"),s.types.arrayPattern(wt))]):(hr=s.types.arrayPattern(ft),dr=s.types.memberExpression(dr,s.types.identifier("e"),!1,!1)):(hr=s.types.arrayPattern(wt),dr=s.types.memberExpression(dr,s.types.identifier("c"),!1,!1)),s.types.assignmentExpression("=",hr,dr))}(Ls,qr,Oi,(qe=mn)!=null?qe:s.types.arrayExpression(xn),s.types.numericLiteral(Ni),ts?Li:null,Ir,s.types.cloneNode(ns),We,Nt))),Ot&&Yt.push(s.types.expressionStatement(s.types.callExpression(s.types.cloneNode(Ot),[s.types.thisExpression()]))),Xi.length>0&&Yt.push(...Xi.map(ft=>s.types.expressionStatement(ft))),de.insertBefore(Ne.map(ft=>s.types.expressionStatement(ft))),us)if(ht.getBinding(Cn.name).constantViolations.length){let ft=ht.generateUidIdentifier("t"+Cn.name),wt=Cn;de.replaceWithMultiple([s.types.variableDeclaration("let",[s.types.variableDeclarator(s.types.cloneNode(wt)),s.types.variableDeclarator(ft)]),s.types.blockStatement([s.types.variableDeclaration("let",[s.types.variableDeclarator(s.types.cloneNode(Cn))]),de.node,s.types.expressionStatement(s.types.assignmentExpression("=",s.types.cloneNode(ft),s.types.cloneNode(Cn)))]),s.types.expressionStatement(s.types.assignmentExpression("=",s.types.cloneNode(wt),s.types.cloneNode(ft)))])}else de.insertBefore(s.types.variableDeclaration("let",[s.types.variableDeclarator(s.types.cloneNode(Cn))]));return wr.size>0&&function(ft,wt){let Vt=(0,l.privateNameVisitorFactory)({PrivateName(Hr,Bt){if(!Bt.privateNamesMap.has(Hr.node.id.name))return;let zt=Hr.parentPath,jt=zt.parentPath;if(jt.node.type==="AssignmentExpression"&&jt.node.left===zt.node||jt.node.type==="UpdateExpression"||jt.node.type==="RestElement"||jt.node.type==="ArrayPattern"||jt.node.type==="ObjectProperty"&&jt.node.value===zt.node&&jt.parentPath.type==="ObjectPattern"||jt.node.type==="ForOfStatement"&&jt.node.left===zt.node)throw Hr.buildCodeFrameError(`Decorated private methods are read-only, but "#${Hr.node.id.name}" is updated via this expression.`)}}),nr=new Map;for(let Hr of wt)nr.set(Hr,null);ft.traverse(Vt,{privateNamesMap:nr})}(de,wr),de.scope.crawl(),de}(et,xe,Ie,ye,pe,$e,Oe);Ae?se.add(Ae):se.add(et)}return{name:"proposal-decorators",inherits:re,visitor:Object.assign({ExportDefaultDeclaration(et,xe){let{declaration:pe}=et.node;if(pe?.type==="ClassDeclaration"&&be(pe)){let ue=!pe.id,Se=(0,H.default)(et);ue&&nt(Se,xe,s.types.stringLiteral("default"))}},ExportNamedDeclaration(et){let{declaration:xe}=et.node;xe?.type==="ClassDeclaration"&&be(xe)&&(0,H.default)(et)},Class(et,xe){nt(et,xe,void 0)}},$e)}};var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-replace-supers@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-replace-supers/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-split-export-declaration@7.24.7/node_modules/@babel/helper-split-export-declaration/lib/index.js"),a=c("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.24.7/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js"),l=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js"),p=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js");function d(ce,ke=ce.length-1){if(ke===-1)return void ce.unshift(65);let je=ce[ke];je===90?ce[ke]=97:je===122?(ce[ke]=65,d(ce,ke-1)):ce[ke]=je+1}function h(ce,ke,je){return ce.type==="PrivateName"?s.types.classPrivateProperty(ce,ke,void 0,je):s.types.classProperty(ce,ke,void 0,void 0,je)}function m(ce,ke){ce.node.id||(ce.node.id=typeof ke=="string"?s.types.identifier(ke):ce.scope.generateUidIdentifier("Class"))}function g(ce,ke,je,Oe,re,fe,he,se){let Ie=se!=="2023-11"&&se!=="2023-05"||!he?s.types.thisExpression():ce,ye=s.types.blockStatement([s.types.returnStatement(s.types.memberExpression(s.types.cloneNode(Ie),s.types.cloneNode(re)))]),$e=s.types.blockStatement([s.types.expressionStatement(s.types.assignmentExpression("=",s.types.memberExpression(s.types.cloneNode(Ie),s.types.cloneNode(re)),s.types.identifier("v")))]),nt,et;je.type==="PrivateName"?(nt=s.types.classPrivateMethod("get",je,[],ye,he),et=s.types.classPrivateMethod("set",Oe,[s.types.identifier("v")],$e,he)):(nt=s.types.classMethod("get",je,[],ye,fe,he),et=s.types.classMethod("set",Oe,[s.types.identifier("v")],$e,fe,he)),ke.insertAfter(et),ke.insertAfter(nt)}function y(ce,ke){return ke!=="2023-11"&&ke!=="2023-05"&&ke!=="2023-01"?[s.template.expression.ast`
|
|
function () {
|
|
return this.${s.types.cloneNode(ce)};
|
|
}
|
|
`,s.template.expression.ast`
|
|
function (value) {
|
|
this.${s.types.cloneNode(ce)} = value;
|
|
}
|
|
`]:[s.template.expression.ast`
|
|
o => o.${s.types.cloneNode(ce)}
|
|
`,s.template.expression.ast`
|
|
(o, v) => o.${s.types.cloneNode(ce)} = v
|
|
`]}function _(ce){if((ce=(0,a.skipTransparentExprWrappers)(ce)).isSequenceExpression()){let ke=ce.get("expressions");return _(ke[ke.length-1])}return ce}function E(ce){let ke=_(ce);if(ke.isConstantExpression()||ke.isIdentifier()&&ce.scope.hasUid(ke.node.name))return s.types.cloneNode(ce.node);if(ke.isAssignmentExpression()&&ke.get("left").isIdentifier())return s.types.cloneNode(ke.node.left);throw new Error(`Internal Error: the computed key ${ce.toString()} has not yet been memoised.`)}function A(ce,ke){let je=ke.get("key");je.isSequenceExpression()?ce.push(...je.node.expressions):ce.push(je.node),je.replaceWith(ne(ce))}function S(ce,ke){let je=ke.get("value");je.node?ce.push(je.node):ce.length>0&&(ce[ce.length-1]=s.types.unaryExpression("void",ce[ce.length-1])),je.replaceWith(ne(ce))}function T(ce,ke){ke.unshiftContainer("body",s.types.expressionStatement(ne(ce)))}function I(ce,ke){return s.types.isCallExpression(ce)&&s.types.isIdentifier(ce.callee,{name:ke.name})}function L(ce,ke){let je=[s.types.expressionStatement(ne(ce))];return ke&&je.unshift(s.types.expressionStatement(s.types.callExpression(s.types.super(),[s.types.spreadElement(s.types.identifier("args"))]))),s.types.classMethod("constructor",s.types.identifier("constructor"),ke?[s.types.restElement(s.types.identifier("args"))]:[],s.types.blockStatement(je))}function x(ce){return s.types.staticBlock([s.types.expressionStatement(ne(ce))])}let C=0,D=1,O=2,j=3,k=4,$=5,U=8,F=16;function P(ce){switch(ce.node.type){case"ClassProperty":case"ClassPrivateProperty":return C;case"ClassAccessorProperty":return D;case"ClassMethod":case"ClassPrivateMethod":return ce.node.kind==="get"?j:ce.node.kind==="set"?k:O}}function W(ce,ke,je){let Oe=ce.length,re=ke.some(Boolean),fe=[];for(let he=0;he<Oe;he++)je!=="2023-11"&&je!=="2023-05"||!re||fe.push(ke[he]||s.types.unaryExpression("void",s.types.numericLiteral(0))),fe.push(ce[he].expression);return{haveThis:re,decs:fe}}function Z(ce,ke,je,Oe,re,fe){ke.insertAfter(s.types.classPrivateMethod("get",s.types.cloneNode(je),[],s.types.blockStatement([s.types.returnStatement(s.types.callExpression(s.types.cloneNode(Oe),ce==="2023-11"&&fe?[]:[s.types.thisExpression()]))]),fe)),ke.insertAfter(s.types.classPrivateMethod("set",s.types.cloneNode(je),[s.types.identifier("v")],s.types.blockStatement([s.types.expressionStatement(s.types.callExpression(s.types.cloneNode(re),ce==="2023-11"&&fe?[s.types.identifier("v")]:[s.types.thisExpression(),s.types.identifier("v")]))]),fe))}function ee(ce,ke,je,Oe){let re,fe;ce.node.kind==="set"?(re=[s.types.identifier("v")],fe=[s.types.expressionStatement(s.types.callExpression(je,[s.types.thisExpression(),s.types.identifier("v")]))]):(re=[],fe=[s.types.returnStatement(s.types.callExpression(je,[s.types.thisExpression()]))]),ce.replaceWith(s.types.classPrivateMethod(ce.node.kind,s.types.cloneNode(ke),re,s.types.blockStatement(fe),Oe))}function J(ce){let{type:ke}=ce;return ke!=="TSDeclareMethod"&&ke!=="TSIndexSignature"&&ke!=="StaticBlock"}function ne(ce){return ce.length===0?s.types.unaryExpression("void",s.types.numericLiteral(0)):ce.length===1?ce[0]:s.types.sequenceExpression(ce)}function K(ce){let{params:ke,body:je,generator:Oe,async:re}=ce;return s.types.functionExpression(void 0,ke,je,Oe,re)}function q(ce,ke){return s.types.callExpression(ce.addHelper("setFunctionName"),[s.types.thisExpression(),ke])}function Q(ce,ke){return s.types.callExpression(ce.addHelper("toPropertyKey"),[ke])}function z(ce){return s.types.arrowFunctionExpression([s.types.identifier("_")],s.types.binaryExpression("in",s.types.cloneNode(ce),s.types.identifier("_")))}function ie(ce){try{return s.types.traverseFast(ce,ke=>{if(s.types.isPrivateName(ke))throw null}),!1}catch{return!0}}function _e(ce,ke){let je=!1;if(ke.length>0){let Oe=(0,l.privateNameVisitorFactory)({PrivateName(fe,he){he.privateNamesMap.has(fe.node.id.name)&&(je=!0,fe.stop())}}),re=new Map;for(let fe of ke)re.set(fe,null);ce.traverse(Oe,{privateNamesMap:re})}return je}function He(ce){return ce.type==="Identifier"?ce.name==="__proto__":ce.value==="__proto__"}function be(ce){return ce.decorators&&ce.decorators.length>0}function Ve(ce){switch(ce.type){case"ClassAccessorProperty":return!0;case"ClassMethod":case"ClassProperty":case"ClassPrivateMethod":case"ClassPrivateProperty":return be(ce);default:return!1}}function Fe(ce){return ce.isClassExpression({id:null})&&(be(ke=ce.node)||ke.body.body.some(Ve));var ke}function me(ce,ke){let je=ce.generateUidIdentifier(ke);return ce.push({id:je,kind:"let"}),s.types.cloneNode(je)}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/features.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.FEATURES=void 0,r.enableFeature=function(_,E,A){m(_,E)&&!d(_,E)||(_.set(a,_.get(a)|E),A==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"?(y(_,E,!0),_.set(p,_.get(p)|E)):A==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"?(y(_,E,!1),_.set(p,_.get(p)|E)):y(_,E,A));let S;for(let[I,L]of H){if(!m(_,I)||d(_,I))continue;let x=g(_,I);if(S===!x)throw new Error(`'loose' mode configuration must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled).
|
|
|
|
`+h(_));S=x;var T=L}if(S!==void 0)for(let[I,L]of H)m(_,I)&&g(_,I)!==S&&(y(_,I,S),console.warn(`Though the "loose" option was set to "${!S}" in your @babel/preset-env config, it will not be used for ${L} since the "loose" mode option was set to "${S}" for ${T}.
|
|
The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding
|
|
["${L}", { "loose": ${S} }]
|
|
to the "plugins" section of your Babel config.
|
|
|
|
`+h(_)))},r.isLoose=g,r.shouldTransform=function(_,E){let A=null,S=null,T=null,I=null,L=null;(0,s.hasOwnDecorators)(_.node)&&(A=_.get("decorators.0"));for(let x of _.get("body.body"))!A&&(0,s.hasOwnDecorators)(x.node)&&(A=x.get("decorators.0")),!S&&x.isClassProperty()&&(S=x),!T&&x.isClassPrivateProperty()&&(T=x),!I&&x.isClassPrivateMethod!=null&&x.isClassPrivateMethod()&&(I=x),!L&&x.isStaticBlock!=null&&x.isStaticBlock()&&(L=x);if(A&&T)throw T.buildCodeFrameError("Private fields in decorated classes are not supported yet.");if(A&&I)throw I.buildCodeFrameError("Private methods in decorated classes are not supported yet.");if(A&&!m(E,u.decorators))throw _.buildCodeFrameError(`Decorators are not enabled.
|
|
If you are using ["@babel/plugin-proposal-decorators", { "version": "legacy" }], make sure it comes *before* "@babel/plugin-transform-class-properties" and enable loose mode, like so:
|
|
["@babel/plugin-proposal-decorators", { "version": "legacy" }]
|
|
["@babel/plugin-transform-class-properties", { "loose": true }]`);if(I&&!m(E,u.privateMethods))throw I.buildCodeFrameError("Class private methods are not enabled. Please add `@babel/plugin-transform-private-methods` to your configuration.");if((S||T)&&!m(E,u.fields)&&!m(E,u.privateMethods))throw _.buildCodeFrameError("Class fields are not enabled. Please add `@babel/plugin-transform-class-properties` to your configuration.");if(L&&!m(E,u.staticBlocks))throw _.buildCodeFrameError("Static class blocks are not enabled. Please add `@babel/plugin-transform-class-static-block` to your configuration.");return!!(A||I||L||(S||T)&&m(E,u.fields))};var s=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js");let u=r.FEATURES=Object.freeze({fields:2,privateMethods:4,decorators:8,privateIn:16,staticBlocks:32}),H=new Map([[u.fields,"@babel/plugin-transform-class-properties"],[u.privateMethods,"@babel/plugin-transform-private-methods"],[u.privateIn,"@babel/plugin-transform-private-property-in-object"]]),a="@babel/plugin-class-features/featuresKey",l="@babel/plugin-class-features/looseKey";var p="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing",d=function(_,E){return!!(_.get(p)&E)};function h(_){let{filename:E}=_.opts;return E&&E!=="unknown"||(E="[name of the input file]"),`If you already set the same 'loose' mode for these plugins in your config, it's possible that they are enabled multiple times with different options.
|
|
You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:
|
|
npx cross-env BABEL_SHOW_CONFIG_FOR=${E} <your build command>
|
|
See https://babeljs.io/docs/configuration#print-effective-configs for more info.`}function m(_,E){return!!(_.get(a)&E)}function g(_,E){return!!(_.get(l)&E)}function y(_,E,A){A?_.set(l,_.get(l)|E):_.set(l,_.get(l)&~E),_.set(p,_.get(p)&~E)}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.buildCheckInRHS=E,r.buildFieldsInitNodes=function(z,ie,_e,He,be,Ve,Fe,me,ce,ke){var je;let Oe,re=0,fe=[],he=[],se=!1,Ie=[],ye=null,$e=s.types.isIdentifier(ie)?()=>ie:()=>(Oe!=null||(Oe=_e[0].scope.generateUidIdentifierBasedOnNode(ie)),Oe),nt=(je=z)!=null?je:_e[0].scope.generateUidIdentifier(ke?.name||"Class");z!=null||(z=s.types.cloneNode(ke));for(let et of _e){et.isClassProperty()&&h.assertFieldTransformed(et);let xe=!(s.types.isStaticBlock!=null&&s.types.isStaticBlock(et.node))&&et.node.static,pe=!xe,ue=et.isPrivate(),Se=!ue,Ae=et.isProperty(),de=!Ae,We=et.isStaticBlock==null?void 0:et.isStaticBlock();switch(xe&&(re|=1),(xe||de&&ue||We)&&(new u.default({methodPath:et,constantSuper:ce,file:be,refToPreserve:ke,getSuperRef:$e,getObjectRef:()=>(re|=2,xe||We?nt:s.types.memberExpression(nt,s.types.identifier("prototype")))}).replace(),ne(et,nt,ke)&&(re|=2)),se=!1,!0){case We:{let tt=et.node.body;tt.length===1&&s.types.isExpressionStatement(tt[0])?fe.push(q(tt[0],et)):fe.push(s.types.inheritsComments(s.template.statement.ast`(() => { ${tt} })()`,et.node));break}case(xe&&ue&&Ae&&Fe):fe.push(D(s.types.cloneNode(z),et,He));break;case(xe&&ue&&Ae&&!Fe):m(be)?fe.push(j(et,He,me)):fe.push(k(et,He));break;case(xe&&Se&&Ae&&Ve):if(!K(et.node)){fe.push(F(s.types.cloneNode(z),et));break}case(xe&&Se&&Ae&&!Ve):fe.push(P(s.types.cloneNode(z),et,be));break;case(pe&&ue&&Ae&&Fe):he.push(D(s.types.thisExpression(),et,He));break;case(pe&&ue&&Ae&&!Fe):he.push(O(s.types.thisExpression(),et,He,be));break;case(pe&&ue&&de&&Fe):he.unshift($(s.types.thisExpression(),et,He)),Ie.push(Z(be,et,He,Fe));break;case(pe&&ue&&de&&!Fe):he.unshift(U(s.types.thisExpression(),et,He,be)),Ie.push(Z(be,et,He,Fe));break;case(xe&&ue&&de&&!Fe):m(be)||fe.unshift(k(et,He)),Ie.push(Z(be,et,He,Fe));break;case(xe&&ue&&de&&Fe):fe.unshift(W(s.types.cloneNode(z),et,be,He)),Ie.push(Z(be,et,He,Fe));break;case(pe&&Se&&Ae&&Ve):he.push(F(s.types.thisExpression(),et));break;case(pe&&Se&&Ae&&!Ve):se=!0,he.push(P(s.types.thisExpression(),et,be));break;default:throw new Error("Unreachable.")}}return 2&re&&ke!=null&&(ye=s.types.expressionStatement(s.types.assignmentExpression("=",s.types.cloneNode(nt),s.types.cloneNode(ke)))),{staticNodes:fe.filter(Boolean),instanceNodes:he.filter(Boolean),lastInstanceNodeReturnsThis:se,pureStaticNodes:Ie.filter(Boolean),classBindingNode:ye,wrapClass(et){for(let xe of _e)xe.node.leadingComments=null,xe.remove();return Oe&&(et.scope.push({id:s.types.cloneNode(Oe)}),et.set("superClass",s.types.assignmentExpression("=",Oe,et.node.superClass))),re!==0&&(et.isClassExpression()?(et.scope.push({id:z}),et.replaceWith(s.types.assignmentExpression("=",s.types.cloneNode(z),et.node))):(ke==null&&(et.node.id=z),ye!=null&&et.scope.push({id:nt}))),et}}},r.buildPrivateNamesMap=function(z,ie,_e,He){let be=new Map,Ve;for(let Fe of _e)if(Fe.isPrivate()){let{name:me}=Fe.node.key.id,ce=be.get(me);if(!ce){let ke=!Fe.isProperty(),je=Fe.node.static,Oe,re=!1;!ie&&m(He)&&ke&&!je?(re=!!Ve,Ve!=null||(Ve=Fe.scope.generateUidIdentifier(`${z}_brand`)),Oe=Ve):Oe=Fe.scope.generateUidIdentifier(me),ce={id:Oe,static:je,method:ke,initAdded:re},be.set(me,ce)}if(Fe.isClassPrivateMethod())if(Fe.node.kind==="get"){let{body:ke}=Fe.node.body,je;ke.length===1&&s.types.isReturnStatement(je=ke[0])&&s.types.isCallExpression(je=je.argument)&&je.arguments.length===1&&s.types.isThisExpression(je.arguments[0])&&s.types.isIdentifier(je=je.callee)?(ce.getId=s.types.cloneNode(je),ce.getterDeclared=!0):ce.getId=Fe.scope.generateUidIdentifier(`get_${me}`)}else if(Fe.node.kind==="set"){let{params:ke}=Fe.node,{body:je}=Fe.node.body,Oe;je.length===1&&s.types.isExpressionStatement(Oe=je[0])&&s.types.isCallExpression(Oe=Oe.expression)&&Oe.arguments.length===2&&s.types.isThisExpression(Oe.arguments[0])&&s.types.isIdentifier(Oe.arguments[1],{name:ke[0].name})&&s.types.isIdentifier(Oe=Oe.callee)?(ce.setId=s.types.cloneNode(Oe),ce.setterDeclared=!0):ce.setId=Fe.scope.generateUidIdentifier(`set_${me}`)}else Fe.node.kind==="method"&&(ce.methodId=Fe.scope.generateUidIdentifier(me));be.set(me,ce)}return be},r.buildPrivateNamesNodes=function(z,ie,_e,He){let be=[],Ve=new Set;for(let[Fe,me]of z){let{static:ce,method:ke,getId:je,setId:Oe}=me,re=je||Oe,fe=s.types.cloneNode(me.id),he;if(ie)he=s.types.callExpression(He.addHelper("classPrivateFieldLooseKey"),[s.types.stringLiteral(Fe)]);else if(_e)he=s.types.callExpression(s.types.identifier("Symbol"),[s.types.stringLiteral(Fe)]);else if(!ce){if(Ve.has(fe.name))continue;Ve.add(fe.name),he=s.types.newExpression(s.types.identifier(!ke||re&&!m(He)?"WeakMap":"WeakSet"),[])}he&&(_e||(0,p.default)(he),be.push(s.template.statement.ast`var ${fe} = ${he}`))}return be},r.privateNameVisitorFactory=g,r.transformPrivateNamesUsage=function(z,ie,_e,{privateFieldsAsProperties:He,noUninitializedPrivateFieldAccess:be,noDocumentAll:Ve,innerBinding:Fe},me){if(!_e.size)return;let ce=ie.get("body"),ke=He?C:x;(0,a.default)(ce,y,Object.assign({privateNamesMap:_e,classRef:z,file:me},ke,{noDocumentAll:Ve,noUninitializedPrivateFieldAccess:be,innerBinding:Fe})),ce.traverse(A,{privateNamesMap:_e,classRef:z,file:me,privateFieldsAsProperties:He,innerBinding:Fe})};var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-replace-supers@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-replace-supers/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-environment-visitor@7.24.7/node_modules/@babel/helper-environment-visitor/lib/index.js"),a=c("./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.24.7/node_modules/@babel/helper-member-expression-to-functions/lib/index.js"),l=c("./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.24.7/node_modules/@babel/helper-optimise-call-expression/lib/index.js"),p=c("./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.24.7/node_modules/@babel/helper-annotate-as-pure/lib/index.js"),d=c("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.24.7/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js"),h=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js"),m=z=>z.availableHelper("classPrivateFieldGet2");function g(z){let ie=s.traverse.visitors.merge([Object.assign({},z),H.default]),_e=Object.assign({},z,{Class(He){let{privateNamesMap:be}=this,Ve=He.get("body.body"),Fe=new Map(be),me=[];for(let ce of Ve){if(!ce.isPrivate())continue;let{name:ke}=ce.node.key.id;Fe.delete(ke),me.push(ke)}me.length&&(He.get("body").traverse(ie,Object.assign({},this,{redeclared:me})),He.traverse(_e,Object.assign({},this,{privateNamesMap:Fe})),He.skipKey("body"))}});return _e}let y=g({PrivateName(z,{noDocumentAll:ie}){let{privateNamesMap:_e,redeclared:He}=this,{node:be,parentPath:Ve}=z;if(!Ve.isMemberExpression({property:be})&&!Ve.isOptionalMemberExpression({property:be}))return;let{name:Fe}=be.id;_e.has(Fe)&&(He!=null&&He.includes(Fe)||this.handle(Ve,ie))}});function _(z,ie,_e){for(;(He=ie)!=null&&He.hasBinding(z)&&!ie.bindingIdentifierEquals(z,_e);){var He;ie.rename(z),ie=ie.parent}}function E(z,ie,_e){return _e||ie.availableHelper==null||!ie.availableHelper("checkInRHS")?z:s.types.callExpression(ie.addHelper("checkInRHS"),[z])}let A=g({BinaryExpression(z,{file:ie}){let{operator:_e,left:He,right:be}=z.node;if(_e!=="in"||!s.types.isPrivateName(He))return;let{privateFieldsAsProperties:Ve,privateNamesMap:Fe,redeclared:me}=this,{name:ce}=He.id;if(!Fe.has(ce)||me!=null&&me.includes(ce))return;if(_(this.classRef.name,z.scope,this.innerBinding),Ve){let{id:Oe}=Fe.get(ce);return void z.replaceWith(s.template.expression.ast`
|
|
Object.prototype.hasOwnProperty.call(${E(be,ie)}, ${s.types.cloneNode(Oe)})
|
|
`)}let{id:ke,static:je}=Fe.get(ce);je?z.replaceWith(s.template.expression.ast`${E(be,ie)} === ${s.types.cloneNode(this.classRef)}`):z.replaceWith(s.template.expression.ast`${s.types.cloneNode(ke)}.has(${E(be,ie)})`)}});function S(z,ie){return s.types.callExpression(z.addHelper("readOnlyError"),[s.types.stringLiteral(`#${ie}`)])}function T(z,ie){return z.availableHelper("writeOnlyError")?s.types.callExpression(z.addHelper("writeOnlyError"),[s.types.stringLiteral(`#${ie}`)]):(console.warn("@babel/helpers is outdated, update it to silence this warning."),s.types.buildUndefinedNode())}function I(z,ie){return ie?z:s.types.memberExpression(z,s.types.identifier("_"))}function L(z){return function(ie){return s.types.inherits(z.apply(this,arguments),ie.node)}}let x={memoise(z,ie){let{scope:_e}=z,{object:He}=z.node,be=_e.maybeGenerateMemoised(He);be&&this.memoiser.set(He,be,ie)},receiver(z){let{object:ie}=z.node;return this.memoiser.has(ie)?s.types.cloneNode(this.memoiser.get(ie)):s.types.cloneNode(ie)},get:L(function(z){let{classRef:ie,privateNamesMap:_e,file:He,innerBinding:be,noUninitializedPrivateFieldAccess:Ve}=this,Fe=z.node.property,{name:me}=Fe.id,{id:ce,static:ke,method:je,methodId:Oe,getId:re,setId:fe}=_e.get(me),he=re||fe,se=Ie=>s.types.inherits(s.types.cloneNode(Ie),Fe);if(ke){if(_(ie.name,z.scope,be),!m(He)){let $e=je&&!he?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";return s.types.callExpression(He.addHelper($e),[this.receiver(z),s.types.cloneNode(ie),se(ce)])}let Ie=this.receiver(z),ye=s.types.isIdentifier(Ie)&&Ie.name===ie.name;if(!je)return I(ye?se(ce):s.types.callExpression(He.addHelper("assertClassBrand"),[s.types.cloneNode(ie),Ie,se(ce)]),Ve);if(re)return ye?s.types.callExpression(se(re),[Ie]):s.types.callExpression(He.addHelper("classPrivateGetter"),[s.types.cloneNode(ie),Ie,se(re)]);if(fe){let $e=s.types.buildUndefinedNode();return ye?$e:s.types.sequenceExpression([s.types.callExpression(He.addHelper("assertClassBrand"),[s.types.cloneNode(ie),Ie]),$e])}return ye?se(ce):s.types.callExpression(He.addHelper("assertClassBrand"),[s.types.cloneNode(ie),Ie,se(ce)])}return je?he?re?m(He)?s.types.callExpression(He.addHelper("classPrivateGetter"),[s.types.cloneNode(ce),this.receiver(z),se(re)]):s.types.callExpression(He.addHelper("classPrivateFieldGet"),[this.receiver(z),se(ce)]):s.types.sequenceExpression([this.receiver(z),T(He,me)]):m(He)?s.types.callExpression(He.addHelper("assertClassBrand"),[s.types.cloneNode(ce),this.receiver(z),se(Oe)]):s.types.callExpression(He.addHelper("classPrivateMethodGet"),[this.receiver(z),s.types.cloneNode(ce),se(Oe)]):m(He)?s.types.callExpression(He.addHelper("classPrivateFieldGet2"),[se(ce),this.receiver(z)]):s.types.callExpression(He.addHelper("classPrivateFieldGet"),[this.receiver(z),se(ce)])}),boundGet(z){return this.memoise(z,1),s.types.callExpression(s.types.memberExpression(this.get(z),s.types.identifier("bind")),[this.receiver(z)])},set:L(function(z,ie){let{classRef:_e,privateNamesMap:He,file:be,noUninitializedPrivateFieldAccess:Ve}=this,Fe=z.node.property,{name:me}=Fe.id,{id:ce,static:ke,method:je,setId:Oe,getId:re}=He.get(me),fe=re||Oe,he=se=>s.types.inherits(s.types.cloneNode(se),Fe);if(ke){if(!m(be)){let ye=je&&!fe?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return s.types.callExpression(be.addHelper(ye),[this.receiver(z),s.types.cloneNode(_e),he(ce),ie])}let se=this.receiver(z),Ie=s.types.isIdentifier(se)&&se.name===_e.name;if(je&&!Oe){let ye=S(be,me);return Ie?s.types.sequenceExpression([ie,ye]):s.types.sequenceExpression([ie,s.types.callExpression(be.addHelper("assertClassBrand"),[s.types.cloneNode(_e),se]),S(be,me)])}return Oe?Ie?s.types.callExpression(s.types.cloneNode(Oe),[se,ie]):s.types.callExpression(be.addHelper("classPrivateSetter"),[s.types.cloneNode(_e),he(Oe),se,ie]):s.types.assignmentExpression("=",I(he(ce),Ve),Ie?ie:s.types.callExpression(be.addHelper("assertClassBrand"),[s.types.cloneNode(_e),se,ie]))}return je?Oe?m(be)?s.types.callExpression(be.addHelper("classPrivateSetter"),[s.types.cloneNode(ce),he(Oe),this.receiver(z),ie]):s.types.callExpression(be.addHelper("classPrivateFieldSet"),[this.receiver(z),he(ce),ie]):s.types.sequenceExpression([this.receiver(z),ie,S(be,me)]):m(be)?s.types.callExpression(be.addHelper("classPrivateFieldSet2"),[he(ce),this.receiver(z),ie]):s.types.callExpression(be.addHelper("classPrivateFieldSet"),[this.receiver(z),he(ce),ie])}),destructureSet(z){let{classRef:ie,privateNamesMap:_e,file:He,noUninitializedPrivateFieldAccess:be}=this,Ve=z.node.property,{name:Fe}=Ve.id,{id:me,static:ce,method:ke,setId:je}=_e.get(Fe),Oe=se=>s.types.inherits(s.types.cloneNode(se),Ve);if(!m(He)){if(ce){try{var re=He.addHelper("classStaticPrivateFieldDestructureSet")}catch{throw new Error("Babel can not transpile `[C.#p] = [0]` with @babel/helpers < 7.13.10, \nplease update @babel/helpers to the latest version.")}return s.types.memberExpression(s.types.callExpression(re,[this.receiver(z),s.types.cloneNode(ie),Oe(me)]),s.types.identifier("value"))}return s.types.memberExpression(s.types.callExpression(He.addHelper("classPrivateFieldDestructureSet"),[this.receiver(z),Oe(me)]),s.types.identifier("value"))}if(ke&&!je)return s.types.memberExpression(s.types.sequenceExpression([z.node.object,S(He,Fe)]),s.types.identifier("_"));if(ce&&!ke){let se=this.get(z);if(!be||!s.types.isCallExpression(se))return se;let Ie=se.arguments.pop();return se.arguments.push(s.template.expression.ast`(_) => ${Ie} = _`),s.types.memberExpression(s.types.callExpression(He.addHelper("toSetter"),[se]),s.types.identifier("_"))}let fe=this.set(z,s.types.identifier("_"));if(!s.types.isCallExpression(fe)||!s.types.isIdentifier(fe.arguments[fe.arguments.length-1],{name:"_"}))throw z.buildCodeFrameError("Internal Babel error while compiling this code. This is a Babel bug. Please report it at https://github.com/babel/babel/issues.");let he;return he=s.types.isMemberExpression(fe.callee,{computed:!1})&&s.types.isIdentifier(fe.callee.property)&&fe.callee.property.name==="call"?[fe.callee.object,s.types.arrayExpression(fe.arguments.slice(1,-1)),fe.arguments[0]]:[fe.callee,s.types.arrayExpression(fe.arguments.slice(0,-1))],s.types.memberExpression(s.types.callExpression(He.addHelper("toSetter"),he),s.types.identifier("_"))},call(z,ie){return this.memoise(z,1),(0,l.default)(this.get(z),this.receiver(z),ie,!1)},optionalCall(z,ie){return this.memoise(z,1),(0,l.default)(this.get(z),this.receiver(z),ie,!0)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}},C={get(z){let{privateNamesMap:ie,file:_e}=this,{object:He}=z.node,{name:be}=z.node.property.id;return s.template.expression`BASE(REF, PROP)[PROP]`({BASE:_e.addHelper("classPrivateFieldLooseBase"),REF:s.types.cloneNode(He),PROP:s.types.cloneNode(ie.get(be).id)})},set(){throw new Error("private name handler with loose = true don't need set()")},boundGet(z){return s.types.callExpression(s.types.memberExpression(this.get(z),s.types.identifier("bind")),[s.types.cloneNode(z.node.object)])},simpleSet(z){return this.get(z)},destructureSet(z){return this.get(z)},call(z,ie){return s.types.callExpression(this.get(z),ie)},optionalCall(z,ie){return s.types.optionalCallExpression(this.get(z),ie,!0)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}};function D(z,ie,_e){let{id:He}=_e.get(ie.node.key.id.name),be=ie.node.value||ie.scope.buildUndefinedNode();return q(s.template.statement.ast`
|
|
Object.defineProperty(${z}, ${s.types.cloneNode(He)}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
writable: true,
|
|
value: ${be}
|
|
});
|
|
`,ie)}function O(z,ie,_e,He){let{id:be}=_e.get(ie.node.key.id.name),Ve=ie.node.value||ie.scope.buildUndefinedNode();if(!He.availableHelper("classPrivateFieldInitSpec"))return q(s.template.statement.ast`${s.types.cloneNode(be)}.set(${z}, {
|
|
// configurable is always false for private elements
|
|
// enumerable is always false for private elements
|
|
writable: true,
|
|
value: ${Ve},
|
|
})`,ie);let Fe=He.addHelper("classPrivateFieldInitSpec");return Q(q(s.types.expressionStatement(s.types.callExpression(Fe,[s.types.thisExpression(),Q(s.types.cloneNode(be),ie.node.key),m(He)?Ve:s.template.expression.ast`{ writable: true, value: ${Ve} }`])),ie),ie.node)}function j(z,ie,_e){let He=ie.get(z.node.key.id.name),be=_e?z.node.value:s.template.expression.ast`{
|
|
_: ${z.node.value||s.types.buildUndefinedNode()}
|
|
}`;return q(s.types.variableDeclaration("var",[s.types.variableDeclarator(s.types.cloneNode(He.id),be)]),z)}var k=function(z,ie){let _e=ie.get(z.node.key.id.name),{id:He,getId:be,setId:Ve,initAdded:Fe}=_e,me=be||Ve;if(!z.isProperty()&&(Fe||!me))return;if(me)return ie.set(z.node.key.id.name,Object.assign({},_e,{initAdded:!0})),q(s.template.statement.ast`
|
|
var ${s.types.cloneNode(He)} = {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
get: ${be?be.name:z.scope.buildUndefinedNode()},
|
|
set: ${Ve?Ve.name:z.scope.buildUndefinedNode()}
|
|
}
|
|
`,z);let ce=z.node.value||z.scope.buildUndefinedNode();return q(s.template.statement.ast`
|
|
var ${s.types.cloneNode(He)} = {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
writable: true,
|
|
value: ${ce}
|
|
};
|
|
`,z)};function $(z,ie,_e){let He=_e.get(ie.node.key.id.name),{methodId:be,id:Ve,getId:Fe,setId:me,initAdded:ce}=He;if(!ce)return be?q(s.template.statement.ast`
|
|
Object.defineProperty(${z}, ${Ve}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
value: ${be.name}
|
|
});
|
|
`,ie):Fe||me?(_e.set(ie.node.key.id.name,Object.assign({},He,{initAdded:!0})),q(s.template.statement.ast`
|
|
Object.defineProperty(${z}, ${Ve}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
get: ${Fe?Fe.name:ie.scope.buildUndefinedNode()},
|
|
set: ${me?me.name:ie.scope.buildUndefinedNode()}
|
|
});
|
|
`,ie)):void 0}function U(z,ie,_e,He){let be=_e.get(ie.node.key.id.name);if(!be.initAdded)return!m(He)&&(be.getId||be.setId)?function(Ve,Fe,me,ce){let ke=me.get(Fe.node.key.id.name),{id:je,getId:Oe,setId:re}=ke;if(me.set(Fe.node.key.id.name,Object.assign({},ke,{initAdded:!0})),!ce.availableHelper("classPrivateFieldInitSpec"))return q(s.template.statement.ast`
|
|
${je}.set(${Ve}, {
|
|
get: ${Oe?Oe.name:Fe.scope.buildUndefinedNode()},
|
|
set: ${re?re.name:Fe.scope.buildUndefinedNode()}
|
|
});
|
|
`,Fe);let fe=ce.addHelper("classPrivateFieldInitSpec");return Q(q(s.template.statement.ast`${fe}(
|
|
${s.types.thisExpression()},
|
|
${s.types.cloneNode(je)},
|
|
{
|
|
get: ${Oe?Oe.name:Fe.scope.buildUndefinedNode()},
|
|
set: ${re?re.name:Fe.scope.buildUndefinedNode()}
|
|
},
|
|
)`,Fe),Fe.node)}(z,ie,_e,He):function(Ve,Fe,me,ce){let ke=me.get(Fe.node.key.id.name),{id:je}=ke;if(!ce.availableHelper("classPrivateMethodInitSpec"))return q(s.template.statement.ast`${je}.add(${Ve})`,Fe);let Oe=ce.addHelper("classPrivateMethodInitSpec");return q(s.template.statement.ast`${Oe}(
|
|
${s.types.thisExpression()},
|
|
${s.types.cloneNode(je)}
|
|
)`,Fe)}(z,ie,_e,He)}function F(z,ie){let{key:_e,computed:He}=ie.node,be=ie.node.value||ie.scope.buildUndefinedNode();return q(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.memberExpression(z,_e,He||s.types.isLiteral(_e)),be)),ie)}function P(z,ie,_e){let{key:He,computed:be}=ie.node,Ve=ie.node.value||ie.scope.buildUndefinedNode();return q(s.types.expressionStatement(s.types.callExpression(_e.addHelper("defineProperty"),[z,be||s.types.isLiteral(He)?He:s.types.stringLiteral(He.name),Ve])),ie)}function W(z,ie,_e,He){let be=He.get(ie.node.key.id.name),{id:Ve,methodId:Fe,getId:me,setId:ce,initAdded:ke}=be;if(!ke)return me||ce?(He.set(ie.node.key.id.name,Object.assign({},be,{initAdded:!0})),q(s.template.statement.ast`
|
|
Object.defineProperty(${z}, ${Ve}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
get: ${me?me.name:ie.scope.buildUndefinedNode()},
|
|
set: ${ce?ce.name:ie.scope.buildUndefinedNode()}
|
|
})
|
|
`,ie)):q(s.template.statement.ast`
|
|
Object.defineProperty(${z}, ${Ve}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
value: ${Fe.name}
|
|
});
|
|
`,ie)}function Z(z,ie,_e,He=!1){let be=_e.get(ie.node.key.id.name),{id:Ve,methodId:Fe,getId:me,setId:ce,getterDeclared:ke,setterDeclared:je,static:Oe}=be,{params:re,body:fe,generator:he,async:se}=ie.node,Ie=me&&re.length===0,ye=ce&&re.length>0;if(Ie&&ke||ye&&je)return _e.set(ie.node.key.id.name,Object.assign({},be,{initAdded:!0})),null;if(m(z)&&(Ie||ye)&&!He){let nt=ie.get("body").scope,et=nt.generateUidIdentifier("this"),xe={thisRef:et,argumentsPath:[]};if(ie.traverse(ee,xe),xe.argumentsPath.length){let pe=nt.generateUidIdentifier("arguments");nt.push({id:pe,init:s.template.expression.ast`[].slice.call(arguments, 1)`});for(let ue of xe.argumentsPath)ue.replaceWith(s.types.cloneNode(pe))}re.unshift(s.types.cloneNode(et))}let $e=Fe;return Ie?(_e.set(ie.node.key.id.name,Object.assign({},be,{getterDeclared:!0,initAdded:!0})),$e=me):ye?(_e.set(ie.node.key.id.name,Object.assign({},be,{setterDeclared:!0,initAdded:!0})),$e=ce):Oe&&!He&&($e=Ve),q(s.types.functionDeclaration(s.types.cloneNode($e),re,fe,he,se),ie)}let ee=s.traverse.visitors.merge([{Identifier(z,ie){ie.argumentsPath&&z.node.name==="arguments"&&ie.argumentsPath.push(z)},UnaryExpression(z){let{node:ie}=z;if(ie.operator==="delete"){let _e=(0,d.skipTransparentExprWrapperNodes)(ie.argument);s.types.isThisExpression(_e)&&z.replaceWith(s.types.booleanLiteral(!0))}},ThisExpression(z,ie){ie.needsClassRef=!0,z.replaceWith(s.types.cloneNode(ie.thisRef))},MetaProperty(z){let{node:ie,scope:_e}=z;ie.meta.name==="new"&&ie.property.name==="target"&&z.replaceWith(_e.buildUndefinedNode())}},H.default]),J={ReferencedIdentifier(z,ie){z.scope.bindingIdentifierEquals(z.node.name,ie.innerBinding)&&(ie.needsClassRef=!0,z.node.name=ie.thisRef.name)}};function ne(z,ie,_e){var He;let be={thisRef:ie,needsClassRef:!1,innerBinding:_e};return z.isMethod()||z.traverse(ee,be),_e!=null&&(He=be.thisRef)!=null&&He.name&&be.thisRef.name!==_e.name&&z.traverse(J,be),be.needsClassRef}function K({key:z,computed:ie}){return z.type==="Identifier"?!ie&&(z.name==="name"||z.name==="length"):z.type==="StringLiteral"&&(z.value==="name"||z.value==="length")}function q(z,ie){return s.types.inheritLeadingComments(z,ie.node),s.types.inheritInnerComments(z,ie.node),z}function Q(z,ie){return z.start=ie.start,z.end=ie.end,z.loc=ie.loc,z}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"FEATURES",{enumerable:!0,get:function(){return m.FEATURES}}),Object.defineProperty(r,"buildCheckInRHS",{enumerable:!0,get:function(){return p.buildCheckInRHS}}),r.createClassFeaturePlugin=function({name:_,feature:E,loose:A,manipulateOptions:S,api:T,inherits:I,decoratorVersion:L}){var x;if(E&m.FEATURES.decorators&&(L==="2023-11"||L==="2023-05"||L==="2023-01"||L==="2022-03"||L==="2021-12"))return(0,a.default)(T,{loose:A},L,I);T!=null||(T={assumption:()=>{}});let C=T.assumption("setPublicClassFields"),D=T.assumption("privateFieldsAsSymbols"),O=T.assumption("privateFieldsAsProperties"),j=(x=T.assumption("noUninitializedPrivateFieldAccess"))!=null&&x,k=T.assumption("constantSuper"),$=T.assumption("noDocumentAll");if(O&&D)throw new Error('Cannot enable both the "privateFieldsAsProperties" and "privateFieldsAsSymbols" assumptions as the same time.');let U=O||D;if(A===!0){let F=[];C!==void 0&&F.push('"setPublicClassFields"'),O!==void 0&&F.push('"privateFieldsAsProperties"'),D!==void 0&&F.push('"privateFieldsAsSymbols"'),F.length!==0&&console.warn(`[${_}]: You are using the "loose: true" option and you are explicitly setting a value for the ${F.join(" and ")} assumption${F.length>1?"s":""}. The "loose" option can cause incompatibilities with the other class features plugins, so it's recommended that you replace it with the following top-level option:
|
|
"assumptions": {
|
|
"setPublicClassFields": true,
|
|
"privateFieldsAsSymbols": true
|
|
}`)}return{name:_,manipulateOptions:S,inherits:I,pre(F){(0,m.enableFeature)(F,E,A),typeof F.get(y)!="number"&&F.get(y)&&!l.lt(F.get(y),"7.24.7")||F.set(y,"7.24.7")},visitor:{Class(F,{file:P}){var W;if(P.get(y)!=="7.24.7"||!(0,m.shouldTransform)(F,P))return;let Z=F.isClassDeclaration();Z&&(0,g.assertFieldTransformed)(F);let ee=(0,m.isLoose)(P,E),J,ne=(0,d.hasDecorators)(F.node),K=[],q=[],Q=[],z=new Set,ie=F.get("body");for(let se of ie.get("body")){if((se.isClassProperty()||se.isClassMethod())&&se.node.computed&&Q.push(se),se.isPrivate()){let{name:Ie}=se.node.key.id,ye=`get ${Ie}`,$e=`set ${Ie}`;if(se.isClassPrivateMethod()){if(se.node.kind==="get"){if(z.has(ye)||z.has(Ie)&&!z.has($e))throw se.buildCodeFrameError("Duplicate private field");z.add(ye).add(Ie)}else if(se.node.kind==="set"){if(z.has($e)||z.has(Ie)&&!z.has(ye))throw se.buildCodeFrameError("Duplicate private field");z.add($e).add(Ie)}}else{if(z.has(Ie)&&!z.has(ye)&&!z.has($e)||z.has(Ie)&&(z.has(ye)||z.has($e)))throw se.buildCodeFrameError("Duplicate private field");z.add(Ie)}}se.isClassMethod({kind:"constructor"})?J=se:(q.push(se),(se.isProperty()||se.isPrivate()||se.isStaticBlock!=null&&se.isStaticBlock())&&K.push(se))}if(!K.length&&!ne)return;let _e=F.node.id,He;_e&&Z||((0,u.default)(F),He=F.scope.generateUidIdentifier(_e?.name||"Class"));let be=(W=He)!=null?W:s.types.cloneNode(_e),Ve=(0,p.buildPrivateNamesMap)(be.name,U??ee,K,P),Fe=(0,p.buildPrivateNamesNodes)(Ve,O??ee,D!=null&&D,P),me,ce,ke,je,Oe,re,fe;(0,p.transformPrivateNamesUsage)(be,F,Ve,{privateFieldsAsProperties:U??ee,noUninitializedPrivateFieldAccess:j,noDocumentAll:$,innerBinding:_e},P),ne?(ce=Oe=me=[],{instanceNodes:ke,wrapClass:fe}=(0,d.buildDecoratedClass)(be,F,q,P)):(me=(0,h.extractComputedKeys)(F,Q,P),{staticNodes:ce,pureStaticNodes:Oe,instanceNodes:ke,lastInstanceNodeReturnsThis:je,classBindingNode:re,wrapClass:fe}=(0,p.buildFieldsInitNodes)(He,F.node.superClass,K,Ve,P,C??ee,U??ee,j,k??ee,_e)),ke.length>0&&(0,h.injectInitialization)(F,J,ke,(se,Ie)=>{if(!ne)for(let ye of K)s.types.isStaticBlock!=null&&s.types.isStaticBlock(ye.node)||ye.node.static||ye.traverse(se,Ie)},je);let he=fe(F);he.insertBefore([...Fe,...me]),ce.length>0&&he.insertAfter(ce),Oe.length>0&&he.find(se=>se.isStatement()||se.isDeclaration()).insertAfter(Oe),re!=null&&Z&&he.insertAfter(re)},ExportDefaultDeclaration(F,{file:P}){{if(P.get(y)!=="7.24.7")return;let W=F.get("declaration");W.isClassDeclaration()&&(0,d.hasDecorators)(W.node)&&(W.node.id?(0,H.default)(F):W.node.type="ClassExpression")}}}}},Object.defineProperty(r,"enableFeature",{enumerable:!0,get:function(){return m.enableFeature}}),Object.defineProperty(r,"injectInitialization",{enumerable:!0,get:function(){return h.injectInitialization}});var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-function-name@7.24.7/node_modules/@babel/helper-function-name/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-split-export-declaration@7.24.7/node_modules/@babel/helper-split-export-declaration/lib/index.js"),a=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js"),l=c("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js"),p=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js"),d=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js"),h=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js"),m=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/features.js"),g=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js");let y="@babel/plugin-class-features/version"},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.extractComputedKeys=function(h,m,g){let{scope:y}=h,_=[],E={classBinding:h.node.id&&y.getBinding(h.node.id.name),file:g};for(let A of m){let S=A.get("key");S.isReferencedIdentifier()?l(S,E):S.traverse(p,E);let T=A.node;if(!S.isConstantExpression()){let I=d(S.node,y,y.generateUidBasedOnNode(S.node));I&&(_.push(s.types.expressionStatement(I)),T.key=s.types.cloneNode(I.left))}}return _},r.injectInitialization=function(h,m,g,y,_){if(!g.length)return;let E=!!h.node.superClass;if(!m){let A=s.types.classMethod("constructor",s.types.identifier("constructor"),[],s.types.blockStatement([]));E&&(A.params=[s.types.restElement(s.types.identifier("args"))],A.body.body.push(s.template.statement.ast`super(...args)`)),[m]=h.get("body").unshiftContainer("body",A)}if(y&&y(a,{scope:m.scope}),E){let A=[];m.traverse(H,A);let S=!0;for(let T of A)if(S?S=!1:g=g.map(I=>s.types.cloneNode(I)),T.parentPath.isExpressionStatement())T.insertAfter(g);else{let I=[T.node,...g.map(L=>s.types.toExpression(L))];_||I.push(s.types.thisExpression()),T.replaceWith(s.types.sequenceExpression(I))}}else m.get("body").unshiftContainer("body",g)},r.memoiseComputedKey=d;var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-environment-visitor@7.24.7/node_modules/@babel/helper-environment-visitor/lib/index.js");let H=s.traverse.visitors.merge([{Super(h){let{node:m,parentPath:g}=h;g.isCallExpression({callee:m})&&this.push(g)}},u.default]),a={"TSTypeAnnotation|TypeAnnotation"(h){h.skip()},ReferencedIdentifier(h,{scope:m}){m.hasOwnBinding(h.node.name)&&(m.rename(h.node.name),h.skip())}};function l(h,m){if(m.classBinding&&m.classBinding===h.scope.getBinding(h.node.name)){let g=m.file.addHelper("classNameTDZError"),y=s.types.callExpression(g,[s.types.stringLiteral(h.node.name)]);h.replaceWith(s.types.sequenceExpression([y,h.node])),h.skip()}}let p={ReferencedIdentifier:l};function d(h,m,g){if(!(s.types.isIdentifier(h)&&m.hasUid(h.name))){if(s.types.isAssignmentExpression(h,{operator:"="})&&s.types.isIdentifier(h.left)&&m.hasUid(h.left.name))return s.types.cloneNode(h);{let y=s.types.identifier(g);return m.push({id:y,kind:"let"}),s.types.assignmentExpression("=",s.types.cloneNode(y),h)}}}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.assertFieldTransformed=function(c){if(c.node.declare)throw c.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by @babel/plugin-transform-typescript.
|
|
If you have already enabled that plugin (or '@babel/preset-typescript'), make sure that it runs before any plugin related to additional class features:
|
|
- @babel/plugin-transform-class-properties
|
|
- @babel/plugin-transform-private-methods
|
|
- @babel/plugin-proposal-decorators`)}},"./node_modules/.pnpm/@babel+helper-environment-visitor@7.24.7/node_modules/@babel/helper-environment-visitor/lib/index.js":(o,r)=>{"use strict";function c(u){let{context:H,node:a}=u;if(a.computed&&H.maybeQueue(u.get("key")),a.decorators)for(let l of u.get("decorators"))H.maybeQueue(l)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.requeueComputedKeyAndDecorators=c,r.skipAllButComputedKey=function(u){u.skip(),u.node.computed&&u.context.maybeQueue(u.get("key"))};let s={FunctionParent(u){u.isArrowFunctionExpression()||(u.skip(),u.isMethod()&&c(u))},Property(u){u.isObjectProperty()||(u.skip(),c(u))}};r.default=s},"./node_modules/.pnpm/@babel+helper-function-name@7.24.7/node_modules/@babel/helper-function-name/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function({node:O,parent:j,scope:k,id:$},U=!1,F=!1){if(O.id)return;if(!E(j)&&!_(j,{kind:"method"})||j.computed&&!g(j.key)){if(I(j)){if($=j.id,m($)&&!U){let Z=k.parent.getBinding($.name);if(Z&&Z.constant&&k.getBinding($.name)===Z)return O.id=a($),void(O.id[H]=!0)}}else if(p(j,{operator:"="}))$=j.left;else if(!$)return}else $=j.key;let P;if($&&g($)?P=function(Z){return y(Z)?"null":A(Z)?`_${Z.pattern}_${Z.flags}`:T(Z)?Z.quasis.map(ee=>ee.value.raw).join(""):Z.value!==void 0?Z.value+"":""}($):$&&m($)&&(P=$.name),P===void 0||!F&&h(O)&&/[\uD800-\uDFFF]/.test(P))return;P=L(P);let W=l(P);return W[H]=!0,function(Z,ee,J,ne){if(Z.selfReference){if(!ne.hasBinding(J.name)||ne.hasGlobal(J.name)){if(!h(ee))return;let K=x;ee.generator&&(K=C);let q=K({FUNCTION:ee,FUNCTION_ID:J,FUNCTION_KEY:ne.generateUidIdentifier(J.name)}).expression,Q=q.callee.body.body[0].params;for(let z=0,ie=function(_e){let He=_e.params.findIndex(be=>d(be)||S(be));return He===-1?_e.params.length:He}(ee);z<ie;z++)Q.push(ne.generateUidIdentifier("x"));return q}ne.rename(J.name)}ee.id=J,ne.getProgramParent().references[J.name]=!0}(function(Z,ee,J){let ne={selfAssignment:!1,selfReference:!1,outerDeclar:J.getBindingIdentifier(ee),name:ee},K=J.getOwnBinding(ee);return K?K.kind==="param"&&(ne.selfReference=!0):(ne.outerDeclar||J.hasGlobal(ee))&&J.traverse(Z,D,ne),ne}(O,P,k),O,W,k)||O};var s=c("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{NOT_LOCAL_BINDING:H,cloneNode:a,identifier:l,isAssignmentExpression:p,isAssignmentPattern:d,isFunction:h,isIdentifier:m,isLiteral:g,isNullLiteral:y,isObjectMethod:_,isObjectProperty:E,isRegExpLiteral:A,isRestElement:S,isTemplateLiteral:T,isVariableDeclarator:I,toBindingIdentifierName:L}=u,x=s.default.statement(`
|
|
(function (FUNCTION_KEY) {
|
|
function FUNCTION_ID() {
|
|
return FUNCTION_KEY.apply(this, arguments);
|
|
}
|
|
|
|
FUNCTION_ID.toString = function () {
|
|
return FUNCTION_KEY.toString();
|
|
}
|
|
|
|
return FUNCTION_ID;
|
|
})(FUNCTION)
|
|
`),C=s.default.statement(`
|
|
(function (FUNCTION_KEY) {
|
|
function* FUNCTION_ID() {
|
|
return yield* FUNCTION_KEY.apply(this, arguments);
|
|
}
|
|
|
|
FUNCTION_ID.toString = function () {
|
|
return FUNCTION_KEY.toString();
|
|
};
|
|
|
|
return FUNCTION_ID;
|
|
})(FUNCTION)
|
|
`),D={"ReferencedIdentifier|BindingIdentifier"(O,j){O.node.name===j.name&&O.scope.getBindingIdentifier(j.name)===j.outerDeclar&&(j.selfReference=!0,O.stop())}}},"./node_modules/.pnpm/@babel+helper-hoist-variables@7.24.7/node_modules/@babel/helper-hoist-variables/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(p,d,h="var"){p.traverse(l,{kind:h,emit:d})};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{assignmentExpression:u,expressionStatement:H,identifier:a}=s,l={Scope(p,d){d.kind==="let"&&p.skip()},FunctionParent(p){p.skip()},VariableDeclaration(p,d){if(d.kind&&p.node.kind!==d.kind)return;let h=[],m=p.get("declarations"),g;for(let y of m){g=y.node.id,y.node.init&&h.push(H(u("=",y.node.id,y.node.init)));for(let _ of Object.keys(y.getBindingIdentifiers()))d.emit(a(_),_,y.node.init!==null)}p.parentPath.isFor({left:p.node})?p.replaceWith(g):p.replaceWithMultiple(h)}}},"./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.24.7/node_modules/@babel/helper-member-expression-to-functions/lib/index.js":(o,r,c)=>{"use strict";function s(P){if(P&&P.__esModule)return P;var W=Object.create(null);return P&&Object.keys(P).forEach(function(Z){if(Z!=="default"){var ee=Object.getOwnPropertyDescriptor(P,Z);Object.defineProperty(W,Z,ee.get?ee:{enumerable:!0,get:function(){return P[Z]}})}}),W.default=P,Object.freeze(W)}Object.defineProperty(r,"__esModule",{value:!0});var u=s(c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"));function H(P){let W=P,{node:Z,parentPath:ee}=W;if(ee.isLogicalExpression()){let{operator:J,right:ne}=ee.node;if(J==="&&"||J==="||"||J==="??"&&Z===ne)return H(ee)}if(ee.isSequenceExpression()){let{expressions:J}=ee.node;return J[J.length-1]!==Z||H(ee)}return ee.isConditional({test:Z})||ee.isUnaryExpression({operator:"!"})||ee.isLoop({test:Z})}let{LOGICAL_OPERATORS:a,arrowFunctionExpression:l,assignmentExpression:p,binaryExpression:d,booleanLiteral:h,callExpression:m,cloneNode:g,conditionalExpression:y,identifier:_,isMemberExpression:E,isOptionalCallExpression:A,isOptionalMemberExpression:S,isUpdateExpression:T,logicalExpression:I,memberExpression:L,nullLiteral:x,optionalCallExpression:C,optionalMemberExpression:D,sequenceExpression:O,updateExpression:j}=u;class k{constructor(){this._map=void 0,this._map=new WeakMap}has(W){return this._map.has(W)}get(W){if(!this.has(W))return;let Z=this._map.get(W),{value:ee}=Z;return Z.count--,Z.count===0?p("=",ee,W):ee}set(W,Z,ee){return this._map.set(W,{count:ee,value:Z})}}function $(P,W){let{node:Z}=P;if(S(Z))return L(W,Z.property,Z.computed);if(P.isOptionalCallExpression()){let ee=P.get("callee");if(P.node.optional&&ee.isOptionalMemberExpression()){let J=ee.node.object,ne=P.scope.maybeGenerateMemoised(J);return ee.get("object").replaceWith(p("=",ne,J)),m(L(W,_("call")),[ne,...P.node.arguments])}return m(W,P.node.arguments)}return P.node}let U={memoise(){},handle(P,W){let{node:Z,parent:ee,parentPath:J,scope:ne}=P;if(P.isOptionalMemberExpression()){if(function(he){for(;he&&!he.isProgram();){let{parentPath:se,container:Ie,listKey:ye}=he,$e=se.node;if(ye){if(Ie!==$e[ye])return!0}else if(Ie!==$e)return!0;he=se}return!1}(P))return;let K=P.find(({node:he,parent:se})=>S(se)?se.optional||se.object!==he:!A(se)||he!==P.node&&se.optional||se.callee!==he);if(ne.path.isPattern())return void K.replaceWith(m(l([],K.node),[]));let q=H(K),Q=K.parentPath;if(Q.isUpdateExpression({argument:Z}))throw P.buildCodeFrameError("can't handle update expression");let z=Q.isAssignmentExpression({left:K.node}),ie=Q.isUnaryExpression({operator:"delete"});if(ie&&K.isOptionalMemberExpression()&&K.get("property").isPrivateName())throw P.buildCodeFrameError("can't delete a private class element");let _e=P;for(;;)if(_e.isOptionalMemberExpression()){if(_e.node.optional)break;_e=_e.get("object")}else{if(!_e.isOptionalCallExpression())throw new Error(`Internal error: unexpected ${_e.node.type}`);if(_e.node.optional)break;_e=_e.get("callee")}let He=_e.isOptionalMemberExpression()?_e.node.object:_e.node.callee,be=ne.maybeGenerateMemoised(He),Ve=be??He,Fe=J.isOptionalCallExpression({callee:Z}),me=he=>Fe,ce=J.isCallExpression({callee:Z});_e.replaceWith($(_e,Ve)),me()?ee.optional?J.replaceWith(this.optionalCall(P,ee.arguments)):J.replaceWith(this.call(P,ee.arguments)):ce?P.replaceWith(this.boundGet(P)):this.delete&&J.isUnaryExpression({operator:"delete"})?J.replaceWith(this.delete(P)):J.isAssignmentExpression()?F(this,P,J):P.replaceWith(this.get(P));let ke,je=P.node;for(let he=P;he!==K;){let se=he.parentPath;if(se===K&&me()&&ee.optional){je=se.node;break}je=$(se,je),he=se}let Oe=K.parentPath;if(E(je)&&Oe.isOptionalCallExpression({callee:K.node,optional:!0})){let{object:he}=je;ke=P.scope.maybeGenerateMemoised(he),ke&&(je.object=p("=",ke,he))}let re=K;(ie||z)&&(re=Oe,je=Oe.node);let fe=be?p("=",g(Ve),g(He)):g(Ve);if(q){let he;he=W?d("!=",fe,x()):I("&&",d("!==",fe,x()),d("!==",g(Ve),ne.buildUndefinedNode())),re.replaceWith(I("&&",he,je))}else{let he;he=W?d("==",fe,x()):I("||",d("===",fe,x()),d("===",g(Ve),ne.buildUndefinedNode())),re.replaceWith(y(he,ie?h(!0):ne.buildUndefinedNode(),je))}if(ke){let he=Oe.node;Oe.replaceWith(C(D(he.callee,_("call"),!1,!0),[g(ke),...he.arguments],!1))}}else{if(T(ee,{argument:Z})){if(this.simpleSet)return void P.replaceWith(this.simpleSet(P));let{operator:K,prefix:q}=ee;this.memoise(P,2);let Q=ne.generateUidIdentifierBasedOnNode(Z);ne.push({id:Q});let z=[p("=",g(Q),this.get(P))];if(q){z.push(j(K,g(Q),q));let ie=O(z);return void J.replaceWith(this.set(P,ie))}{let ie=ne.generateUidIdentifierBasedOnNode(Z);ne.push({id:ie}),z.push(p("=",g(ie),j(K,g(Q),q)),g(Q));let _e=O(z);return void J.replaceWith(O([this.set(P,_e),g(ie)]))}}if(J.isAssignmentExpression({left:Z}))F(this,P,J);else{if(!J.isCallExpression({callee:Z}))return J.isOptionalCallExpression({callee:Z})?ne.path.isPattern()?void J.replaceWith(m(l([],J.node),[])):void J.replaceWith(this.optionalCall(P,J.node.arguments)):void(this.delete&&J.isUnaryExpression({operator:"delete"})?J.replaceWith(this.delete(P)):J.isForXStatement({left:Z})||J.isObjectProperty({value:Z})&&J.parentPath.isObjectPattern()||J.isAssignmentPattern({left:Z})&&J.parentPath.isObjectProperty({value:ee})&&J.parentPath.parentPath.isObjectPattern()||J.isArrayPattern()||J.isAssignmentPattern({left:Z})&&J.parentPath.isArrayPattern()||J.isRestElement()?P.replaceWith(this.destructureSet(P)):J.isTaggedTemplateExpression()?P.replaceWith(this.boundGet(P)):P.replaceWith(this.get(P)));J.replaceWith(this.call(P,J.node.arguments))}}}};function F(P,W,Z){if(P.simpleSet)return void W.replaceWith(P.simpleSet(W));let{operator:ee,right:J}=Z.node;if(ee==="=")Z.replaceWith(P.set(W,J));else{let ne=ee.slice(0,-1);a.includes(ne)?(P.memoise(W,1),Z.replaceWith(I(ne,P.get(W),P.set(W,J)))):(P.memoise(W,2),Z.replaceWith(P.set(W,d(ne,P.get(W),J))))}}r.default=function(P,W,Z){P.traverse(W,Object.assign({},U,Z,{memoiser:new k}))}},"./node_modules/.pnpm/@babel+helper-module-imports@7.24.7/node_modules/@babel/helper-module-imports/lib/import-builder.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("assert"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{callExpression:H,cloneNode:a,expressionStatement:l,identifier:p,importDeclaration:d,importDefaultSpecifier:h,importNamespaceSpecifier:m,importSpecifier:g,memberExpression:y,stringLiteral:_,variableDeclaration:E,variableDeclarator:A}=u;r.default=class{constructor(S,T,I){this._statements=[],this._resultName=null,this._importedSource=void 0,this._scope=T,this._hub=I,this._importedSource=S}done(){return{statements:this._statements,resultName:this._resultName}}import(){return this._statements.push(d([],_(this._importedSource))),this}require(){return this._statements.push(l(H(p("require"),[_(this._importedSource)]))),this}namespace(S="namespace"){let T=this._scope.generateUidIdentifier(S),I=this._statements[this._statements.length-1];return s(I.type==="ImportDeclaration"),s(I.specifiers.length===0),I.specifiers=[m(T)],this._resultName=a(T),this}default(S){let T=this._scope.generateUidIdentifier(S),I=this._statements[this._statements.length-1];return s(I.type==="ImportDeclaration"),s(I.specifiers.length===0),I.specifiers=[h(T)],this._resultName=a(T),this}named(S,T){if(T==="default")return this.default(S);let I=this._scope.generateUidIdentifier(S),L=this._statements[this._statements.length-1];return s(L.type==="ImportDeclaration"),s(L.specifiers.length===0),L.specifiers=[g(I,p(T))],this._resultName=a(I),this}var(S){let T=this._scope.generateUidIdentifier(S),I=this._statements[this._statements.length-1];return I.type!=="ExpressionStatement"&&(s(this._resultName),I=l(this._resultName),this._statements.push(I)),this._statements[this._statements.length-1]=E("var",[A(T,I.expression)]),this._resultName=a(T),this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(S){let T=this._statements[this._statements.length-1];return T.type==="ExpressionStatement"?T.expression=H(S,[T.expression]):T.type==="VariableDeclaration"?(s(T.declarations.length===1),T.declarations[0].init=H(S,[T.declarations[0].init])):s.fail("Unexpected type."),this}prop(S){let T=this._statements[this._statements.length-1];return T.type==="ExpressionStatement"?T.expression=y(T.expression,p(S)):T.type==="VariableDeclaration"?(s(T.declarations.length===1),T.declarations[0].init=y(T.declarations[0].init,p(S))):s.fail("Unexpected type:"+T.type),this}read(S){this._resultName=y(this._resultName,p(S))}}},"./node_modules/.pnpm/@babel+helper-module-imports@7.24.7/node_modules/@babel/helper-module-imports/lib/import-injector.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("assert"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-module-imports@7.24.7/node_modules/@babel/helper-module-imports/lib/import-builder.js"),a=c("./node_modules/.pnpm/@babel+helper-module-imports@7.24.7/node_modules/@babel/helper-module-imports/lib/is-module.js");let{identifier:l,importSpecifier:p,numericLiteral:d,sequenceExpression:h,isImportDeclaration:m}=u;function g(A){return A.importKind!=="type"&&A.importKind!=="typeof"}function y(A){return A.specifiers.length===1&&A.specifiers[0].type==="ImportNamespaceSpecifier"||A.specifiers.length===2&&A.specifiers[1].type==="ImportNamespaceSpecifier"}function _(A){return A.specifiers.length>0&&A.specifiers[0].type==="ImportDefaultSpecifier"}function E(A,S){return A.specifiers.length?!S.specifiers.length||!y(A)&&!y(S)&&(_(S)&&(_(A)?S.specifiers[0]=p(S.specifiers[0].local,l("default")):A.specifiers.unshift(S.specifiers.shift())),A.specifiers.push(...S.specifiers),!0):(A.specifiers=S.specifiers,!0)}r.default=class{constructor(A,S,T){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:!1,ensureNoContext:!1,importPosition:"before"};let I=A.find(L=>L.isProgram());this._programPath=I,this._programScope=I.scope,this._hub=I.hub,this._defaultOpts=this._applyDefaults(S,T,!0)}addDefault(A,S){return this.addNamed("default",A,S)}addNamed(A,S,T){return s(typeof A=="string"),this._generateImport(this._applyDefaults(S,T),A)}addNamespace(A,S){return this._generateImport(this._applyDefaults(A,S),null)}addSideEffect(A,S){return this._generateImport(this._applyDefaults(A,S),void 0)}_applyDefaults(A,S,T=!1){let I;return typeof A=="string"?I=Object.assign({},this._defaultOpts,{importedSource:A},S):(s(!S,"Unexpected secondary arguments."),I=Object.assign({},this._defaultOpts,A)),!T&&S&&(S.nameHint!==void 0&&(I.nameHint=S.nameHint),S.blockHoist!==void 0&&(I.blockHoist=S.blockHoist)),I}_generateImport(A,S){let T=S==="default",I=!!S&&!T,L=S===null,{importedSource:x,importedType:C,importedInterop:D,importingInterop:O,ensureLiveReference:j,ensureNoContext:k,nameHint:$,importPosition:U,blockHoist:F}=A,P=$||S,W=(0,a.default)(this._programPath),Z=W&&O==="node",ee=W&&O==="babel";if(U==="after"&&!W)throw new Error('"importPosition": "after" is only supported in modules');let J=new H.default(x,this._programScope,this._hub);if(C==="es6"){if(!Z&&!ee)throw new Error("Cannot import an ES6 module from CommonJS");J.import(),L?J.namespace($||x):(T||I)&&J.named(P,S)}else{if(C!=="commonjs")throw new Error(`Unexpected interopType "${C}"`);if(D==="babel")if(Z){P=P!=="default"?P:x;let q=`${x}$es6Default`;J.import(),L?J.default(q).var(P||x).wildcardInterop():T?j?J.default(q).var(P||x).defaultInterop().read("default"):J.default(q).var(P).defaultInterop().prop(S):I&&J.default(q).read(S)}else ee?(J.import(),L?J.namespace(P||x):(T||I)&&J.named(P,S)):(J.require(),L?J.var(P||x).wildcardInterop():(T||I)&&j?T?(P=P!=="default"?P:x,J.var(P).read(S),J.defaultInterop()):J.var(x).read(S):T?J.var(P).defaultInterop().prop(S):I&&J.var(P).prop(S));else if(D==="compiled")Z?(J.import(),L?J.default(P||x):(T||I)&&J.default(x).read(P)):ee?(J.import(),L?J.namespace(P||x):(T||I)&&J.named(P,S)):(J.require(),L?J.var(P||x):(T||I)&&(j?J.var(x).read(P):J.prop(S).var(P)));else{if(D!=="uncompiled")throw new Error(`Unknown importedInterop "${D}".`);if(T&&j)throw new Error("No live reference for commonjs default");Z?(J.import(),L?J.default(P||x):T?J.default(P):I&&J.default(x).read(P)):ee?(J.import(),L?J.default(P||x):T?J.default(P):I&&J.named(P,S)):(J.require(),L?J.var(P||x):T?J.var(P):I&&(j?J.var(x).read(P):J.var(P).prop(S)))}}let{statements:ne,resultName:K}=J.done();return this._insertStatements(ne,U,F),(T||I)&&k&&K.type!=="Identifier"?h([d(0),K]):K}_insertStatements(A,S="before",T=3){if(S==="after"){if(this._insertStatementsAfter(A))return}else if(this._insertStatementsBefore(A,T))return;this._programPath.unshiftContainer("body",A)}_insertStatementsBefore(A,S){if(A.length===1&&m(A[0])&&g(A[0])){let I=this._programPath.get("body").find(L=>L.isImportDeclaration()&&g(L.node));if(I?.node.source.value===A[0].source.value&&E(I.node,A[0]))return!0}A.forEach(I=>{I._blockHoist=S});let T=this._programPath.get("body").find(I=>{let L=I.node._blockHoist;return Number.isFinite(L)&&L<4});return!!T&&(T.insertBefore(A),!0)}_insertStatementsAfter(A){let S=new Set(A),T=new Map;for(let L of A)if(m(L)&&g(L)){let x=L.source.value;T.has(x)||T.set(x,[]),T.get(x).push(L)}let I=null;for(let L of this._programPath.get("body"))if(L.isImportDeclaration()&&g(L.node)){I=L;let x=L.node.source.value,C=T.get(x);if(!C)continue;for(let D of C)S.has(D)&&E(L.node,D)&&S.delete(D)}return S.size===0||(I&&I.insertAfter(Array.from(S)),!!I)}}},"./node_modules/.pnpm/@babel+helper-module-imports@7.24.7/node_modules/@babel/helper-module-imports/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImportInjector",{enumerable:!0,get:function(){return s.default}}),r.addDefault=function(H,a,l){return new s.default(H).addDefault(a,l)},r.addNamed=function(H,a,l,p){return new s.default(H).addNamed(a,l,p)},r.addNamespace=function(H,a,l){return new s.default(H).addNamespace(a,l)},r.addSideEffect=function(H,a,l){return new s.default(H).addSideEffect(a,l)},Object.defineProperty(r,"isModule",{enumerable:!0,get:function(){return u.default}});var s=c("./node_modules/.pnpm/@babel+helper-module-imports@7.24.7/node_modules/@babel/helper-module-imports/lib/import-injector.js"),u=c("./node_modules/.pnpm/@babel+helper-module-imports@7.24.7/node_modules/@babel/helper-module-imports/lib/is-module.js")},"./node_modules/.pnpm/@babel+helper-module-imports@7.24.7/node_modules/@babel/helper-module-imports/lib/is-module.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(c){return c.node.sourceType==="module"}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.buildDynamicImport=function(u,H,a,l){let p=s.types.isCallExpression(u)?u.arguments[0]:u.source;if(s.types.isStringLiteral(p)||s.types.isTemplateLiteral(p)&&p.quasis.length===0)return H?s.template.expression.ast`
|
|
Promise.resolve().then(() => ${l(p)})
|
|
`:l(p);let d=s.types.isTemplateLiteral(p)?s.types.identifier("specifier"):s.types.templateLiteral([s.types.templateElement({raw:""}),s.types.templateElement({raw:""})],[s.types.identifier("specifier")]);return H?s.template.expression.ast`
|
|
(specifier =>
|
|
new Promise(r => r(${d}))
|
|
.then(s => ${l(s.types.identifier("s"))})
|
|
)(${p})
|
|
`:a?s.template.expression.ast`
|
|
(specifier =>
|
|
new Promise(r => r(${l(d)}))
|
|
)(${p})
|
|
`:s.template.expression.ast`
|
|
(specifier => ${l(d)})(${p})
|
|
`};var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js");r.getDynamicImportSource=function(u){let[H]=u.arguments;return s.types.isStringLiteral(H)||s.types.isTemplateLiteral(H)?H:s.template.expression.ast`\`\${${H}}\``}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/get-module-name.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=c;{let s=c;r.default=c=function(u,H){var a,l,p,d;return s(u,{moduleId:(a=H.moduleId)!=null?a:u.moduleId,moduleIds:(l=H.moduleIds)!=null?l:u.moduleIds,getModuleId:(p=H.getModuleId)!=null?p:u.getModuleId,moduleRoot:(d=H.moduleRoot)!=null?d:u.moduleRoot})}}function c(s,u){let{filename:H,filenameRelative:a=H,sourceRoot:l=u.moduleRoot}=s,{moduleId:p,moduleIds:d=!!p,getModuleId:h,moduleRoot:m=l}=u;if(!d)return null;if(p!=null&&!h)return p;let g=m!=null?m+"/":"";if(a){let y=l!=null?new RegExp("^"+l+"/?"):"";g+=a.replace(y,"").replace(/\.(\w*?)$/,"")}return g=g.replace(/\\/g,"/"),h&&h(g)||g}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"buildDynamicImport",{enumerable:!0,get:function(){return h.buildDynamicImport}}),r.buildNamespaceInitStatements=function(F,P,W=!1,Z=d.wrapReference){var ee;let J=[],ne=T(P.name);for(let q of P.importsNamespace)q!==P.name&&J.push(u.template.statement`var NAME = SOURCE;`({NAME:q,SOURCE:_(ne)}));let K=(ee=Z(ne,P.wrap))!=null?ee:ne;W&&J.push(...k(F,P,!0,Z));for(let q of P.reexportNamespace)J.push((u.types.isIdentifier(K)?u.template.statement`EXPORTS.NAME = NAMESPACE;`:u.template.statement`
|
|
Object.defineProperty(EXPORTS, "NAME", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return NAMESPACE;
|
|
}
|
|
});
|
|
`)({EXPORTS:F.exportName,NAME:q,NAMESPACE:_(K)}));if(P.reexportAll){let q=function(Q,z,ie){return(ie?u.template.statement`
|
|
Object.keys(NAMESPACE).forEach(function(key) {
|
|
if (key === "default" || key === "__esModule") return;
|
|
VERIFY_NAME_LIST;
|
|
if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
|
|
|
|
EXPORTS[key] = NAMESPACE[key];
|
|
});
|
|
`:u.template.statement`
|
|
Object.keys(NAMESPACE).forEach(function(key) {
|
|
if (key === "default" || key === "__esModule") return;
|
|
VERIFY_NAME_LIST;
|
|
if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
|
|
|
|
Object.defineProperty(EXPORTS, key, {
|
|
enumerable: true,
|
|
get: function() {
|
|
return NAMESPACE[key];
|
|
},
|
|
});
|
|
});
|
|
`)({NAMESPACE:z,EXPORTS:Q.exportName,VERIFY_NAME_LIST:Q.exportNameListName?u.template`
|
|
if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return;
|
|
`({EXPORTS_LIST:Q.exportNameListName}):null})}(F,_(K),W);q.loc=P.reexportAll.loc,J.push(q)}return J},r.ensureStatementsHoisted=function(F){F.forEach(P=>{P._blockHoist=3})},Object.defineProperty(r,"getModuleName",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(r,"hasExports",{enumerable:!0,get:function(){return p.hasExports}}),Object.defineProperty(r,"isModule",{enumerable:!0,get:function(){return H.isModule}}),Object.defineProperty(r,"isSideEffectImport",{enumerable:!0,get:function(){return p.isSideEffectImport}}),r.rewriteModuleStatementsAndPrepareHeader=function(F,{exportName:P,strict:W,allowTopLevelThis:Z,strictMode:ee,noInterop:J,importInterop:ne=J?"none":"babel",lazy:K,getWrapperPayload:q=d.toGetWrapperPayload(K!=null&&K),wrapReference:Q=d.wrapReference,esNamespaceOnly:z,filename:ie,constantReexports:_e=arguments[1].loose,enumerableModuleMeta:He=arguments[1].loose,noIncompleteNsImportDetection:be}){(0,p.validateImportInteropOption)(ne),s((0,H.isModule)(F),"Cannot process module statements in a script"),F.node.sourceType="script";let Ve=(0,p.default)(F,P,{importInterop:ne,initializeReexports:_e,getWrapperPayload:q,esNamespaceOnly:z,filename:ie});Z||(0,a.default)(F),(0,l.default)(F,Ve,Q),ee!==!1&&(F.node.directives.some(ke=>ke.value.value==="use strict")||F.unshiftContainer("directives",E(A("use strict"))));let Fe=[];(0,p.hasExports)(Ve)&&!W&&Fe.push(function(ce,ke=!1){return(ke?u.template.statement`
|
|
EXPORTS.__esModule = true;
|
|
`:u.template.statement`
|
|
Object.defineProperty(EXPORTS, "__esModule", {
|
|
value: true,
|
|
});
|
|
`)({EXPORTS:ce.exportName})}(Ve,He));let me=function(ce,ke){let je=Object.create(null);for(let fe of ke.local.values())for(let he of fe.names)je[he]=!0;let Oe=!1;for(let fe of ke.source.values()){for(let he of fe.reexports.keys())je[he]=!0;for(let he of fe.reexportNamespace)je[he]=!0;Oe=Oe||!!fe.reexportAll}if(!Oe||Object.keys(je).length===0)return null;let re=ce.scope.generateUidIdentifier("exportNames");return delete je.default,{name:re.name,statement:D("var",[O(re,C(je))])}}(F,Ve);return me&&(Ve.exportNameListName=me.name,Fe.push(me.statement)),Fe.push(...function(ce,ke,je,Oe=!1,re=!1){let fe=[];for(let[se,Ie]of ke.local)if(Ie.kind!=="import"){if(Ie.kind==="hoisted")fe.push([Ie.names[0],U(ke,Ie.names,T(se))]);else if(!re)for(let ye of Ie.names)fe.push([ye,null])}for(let se of ke.source.values()){if(!Oe){let Ie=k(ke,se,!1,je),ye=[...se.reexports.keys()];for(let $e=0;$e<Ie.length;$e++)fe.push([ye[$e],Ie[$e]])}if(!re)for(let Ie of se.reexportNamespace)fe.push([Ie,null])}fe.sort(([se],[Ie])=>se<Ie?-1:Ie<se?1:0);let he=[];if(re)for(let[,se]of fe)he.push(se);else for(let Ie=0;Ie<fe.length;Ie+=100){let ye=[];for(let $e=0;$e<100&&Ie+$e<fe.length;$e++){let[nt,et]=fe[Ie+$e];et!==null?(ye.length>0&&(he.push(U(ke,ye,ce.scope.buildUndefinedNode())),ye=[]),he.push(et)):ye.push(nt)}ye.length>0&&he.push(U(ke,ye,ce.scope.buildUndefinedNode()))}return he}(F,Ve,Q,_e,be)),{meta:Ve,headers:Fe}},Object.defineProperty(r,"rewriteThis",{enumerable:!0,get:function(){return a.default}}),r.wrapInterop=function(F,P,W){if(W==="none")return null;if(W==="node-namespace")return y(F.hub.addHelper("interopRequireWildcard"),[P,g(!0)]);if(W==="node-default")return null;let Z;if(W==="default")Z="interopRequireDefault";else{if(W!=="namespace")throw new Error(`Unknown interop: ${W}`);Z="interopRequireWildcard"}return y(F.hub.addHelper(Z),[P])};var s=c("assert"),u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-module-imports@7.24.7/node_modules/@babel/helper-module-imports/lib/index.js"),a=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js"),l=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js"),p=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js"),d=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js"),h=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js"),m=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/get-module-name.js");let{booleanLiteral:g,callExpression:y,cloneNode:_,directive:E,directiveLiteral:A,expressionStatement:S,identifier:T,isIdentifier:I,memberExpression:L,stringLiteral:x,valueToNode:C,variableDeclaration:D,variableDeclarator:O}=u.types;r.getDynamicImportSource=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js").getDynamicImportSource;let j={constant:u.template.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:u.template.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:u.template.statement`
|
|
Object.defineProperty(EXPORTS, "EXPORT_NAME", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return NAMESPACE_IMPORT;
|
|
},
|
|
});
|
|
`};function k(F,P,W,Z){var ee;let J=T(P.name);J=(ee=Z(J,P.wrap))!=null?ee:J;let{stringSpecifiers:ne}=F;return Array.from(P.reexports,([K,q])=>{let Q=_(J);q==="default"&&P.interop==="node-default"||(Q=ne.has(q)?L(Q,x(q),!0):L(Q,T(q)));let z={EXPORTS:F.exportName,EXPORT_NAME:K,NAMESPACE_IMPORT:Q};return W||I(Q)?ne.has(K)?j.constantComputed(z):j.constant(z):j.spec(z)})}let $={computed:u.template.expression`EXPORTS["NAME"] = VALUE`,default:u.template.expression`EXPORTS.NAME = VALUE`,define:u.template.expression`Object.defineProperty(EXPORTS, "NAME", { enumerable:true, value: void 0, writable: true })["NAME"] = VALUE`};function U(F,P,W){let{stringSpecifiers:Z,exportName:ee}=F;return S(P.reduce((J,ne)=>{let K={EXPORTS:ee,NAME:ne,VALUE:J};return ne==="__proto__"?$.define(K):Z.has(ne)?$.computed(K):$.default(K)},W))}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.toGetWrapperPayload=function(H){return(a,l)=>{if(H===!1||(0,u.isSideEffectImport)(l)||l.reexportAll)return null;if(H===!0)return/\./.test(a)?null:"lazy";if(Array.isArray(H))return H.indexOf(a)===-1?null:"lazy";if(typeof H=="function")return H(a)?"lazy":null;throw new Error(".lazy must be a boolean, string array, or function")}},r.wrapReference=function(H,a){return a==="lazy"?s.types.callExpression(H,[]):null};var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js")},"./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(h,m,{importInterop:g,initializeReexports:y=!1,getWrapperPayload:_,esNamespaceOnly:E=!1,filename:A}){m||(m=h.scope.generateUidIdentifier("exports").name);let S=new Set;(function(x){x.get("body").forEach(C=>{C.isExportDefaultDeclaration()&&(0,H.default)(C)})})(h);let{local:T,sources:I,hasExports:L}=function(x,{getWrapperPayload:C,initializeReexports:D},O){let j=function(P,W,Z){let ee=new Map;P.get("body").forEach(K=>{let q;if(K.isImportDeclaration())q="import";else{if(K.isExportDefaultDeclaration()&&(K=K.get("declaration")),K.isExportNamedDeclaration()){if(K.node.declaration)K=K.get("declaration");else if(W&&K.node.source&&K.get("source").isStringLiteral())return void K.get("specifiers").forEach(Q=>{d(Q),ee.set(Q.get("local").node.name,"block")})}if(K.isFunctionDeclaration())q="hoisted";else if(K.isClassDeclaration())q="block";else if(K.isVariableDeclaration({kind:"var"}))q="var";else{if(!K.isVariableDeclaration())return;q="block"}}Object.keys(K.getOuterBindingIdentifiers()).forEach(Q=>{ee.set(Q,q)})});let J=new Map,ne=K=>{let q=K.node.name,Q=J.get(q);if(!Q){let z=ee.get(q);if(z===void 0)throw K.buildCodeFrameError(`Exporting local "${q}", which is not declared.`);Q={names:[],kind:z},J.set(q,Q)}return Q};return P.get("body").forEach(K=>{if(!K.isExportNamedDeclaration()||!W&&K.node.source){if(K.isExportDefaultDeclaration()){let q=K.get("declaration");if(!q.isFunctionDeclaration()&&!q.isClassDeclaration())throw q.buildCodeFrameError("Unexpected default expression export.");ne(q.get("id")).names.push("default")}}else if(K.node.declaration){let q=K.get("declaration"),Q=q.getOuterBindingIdentifierPaths();Object.keys(Q).forEach(z=>{if(z==="__esModule")throw q.buildCodeFrameError('Illegal export "__esModule".');ne(Q[z]).names.push(z)})}else K.get("specifiers").forEach(q=>{let Q=q.get("local"),z=q.get("exported"),ie=ne(Q),_e=p(z,Z);if(_e==="__esModule")throw z.buildCodeFrameError('Illegal export "__esModule".');ie.names.push(_e)})}),J}(x,D,O),k=new Map,$=new Map,U=(P,W)=>{let Z=P.value,ee=$.get(Z);return ee?k.get(Z).push(W):(ee={name:x.scope.generateUidIdentifier((0,s.basename)(Z,(0,s.extname)(Z))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,wrap:null,get lazy(){return this.wrap==="lazy"},referenced:!1},$.set(Z,ee),k.set(Z,[W])),ee},F=!1;x.get("body").forEach(P=>{if(P.isImportDeclaration()){let W=U(P.node.source,P.node);W.loc||(W.loc=P.node.loc),P.get("specifiers").forEach(Z=>{if(Z.isImportDefaultSpecifier()){let ee=Z.get("local").node.name;W.imports.set(ee,"default");let J=j.get(ee);J&&(j.delete(ee),J.names.forEach(ne=>{W.reexports.set(ne,"default")}),W.referenced=!0)}else if(Z.isImportNamespaceSpecifier()){let ee=Z.get("local").node.name;W.importsNamespace.add(ee);let J=j.get(ee);J&&(j.delete(ee),J.names.forEach(ne=>{W.reexportNamespace.add(ne)}),W.referenced=!0)}else if(Z.isImportSpecifier()){let ee=p(Z.get("imported"),O),J=Z.get("local").node.name;W.imports.set(J,ee);let ne=j.get(J);ne&&(j.delete(J),ne.names.forEach(K=>{W.reexports.set(K,ee)}),W.referenced=!0)}})}else if(P.isExportAllDeclaration()){F=!0;let W=U(P.node.source,P.node);W.loc||(W.loc=P.node.loc),W.reexportAll={loc:P.node.loc},W.referenced=!0}else if(P.isExportNamedDeclaration()&&P.node.source){F=!0;let W=U(P.node.source,P.node);W.loc||(W.loc=P.node.loc),P.get("specifiers").forEach(Z=>{d(Z);let ee=p(Z.get("local"),O),J=p(Z.get("exported"),O);if(W.reexports.set(J,ee),W.referenced=!0,J==="__esModule")throw Z.get("exported").buildCodeFrameError('Illegal export "__esModule".')})}else(P.isExportNamedDeclaration()||P.isExportDefaultDeclaration())&&(F=!0)});for(let P of $.values()){let W=!1,Z=!1;P.importsNamespace.size>0&&(W=!0,Z=!0),P.reexportAll&&(Z=!0);for(let ee of P.imports.values())ee==="default"?W=!0:Z=!0;for(let ee of P.reexports.values())ee==="default"?W=!0:Z=!0;W&&Z?P.interop="namespace":W&&(P.interop="default")}if(C)for(let[P,W]of $)W.wrap=C(P,W,k.get(P));return{hasExports:F,local:j,sources:$}}(h,{initializeReexports:y,getWrapperPayload:_},S);(function(x){x.get("body").forEach(C=>{if(C.isImportDeclaration())C.remove();else if(C.isExportNamedDeclaration())C.node.declaration?(C.node.declaration._blockHoist=C.node._blockHoist,C.replaceWith(C.node.declaration)):C.remove();else if(C.isExportDefaultDeclaration()){let D=C.get("declaration");if(!D.isFunctionDeclaration()&&!D.isClassDeclaration())throw D.buildCodeFrameError("Unexpected default expression export.");D._blockHoist=C.node._blockHoist,C.replaceWith(D)}else C.isExportAllDeclaration()&&C.remove()})})(h);for(let[x,C]of I){let{importsNamespace:D,imports:O}=C;if(D.size>0&&O.size===0){let[k]=D;C.name=k}let j=l(g,x,A);j==="none"?C.interop="none":j==="node"&&C.interop==="namespace"?C.interop="node-namespace":j==="node"&&C.interop==="default"?C.interop="node-default":E&&C.interop==="namespace"&&(C.interop="default")}return{exportName:m,exportNameListName:null,hasExports:L,local:T,source:I,stringSpecifiers:S}},r.hasExports=function(h){return h.hasExports},r.isSideEffectImport=function(h){return h.imports.size===0&&h.importsNamespace.size===0&&h.reexports.size===0&&h.reexportNamespace.size===0&&!h.reexportAll},r.validateImportInteropOption=a;var s=c("path"),u=c("./node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-split-export-declaration@7.24.7/node_modules/@babel/helper-split-export-declaration/lib/index.js");function a(h){if(typeof h!="function"&&h!=="none"&&h!=="babel"&&h!=="node")throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${h}).`);return h}function l(h,m,g){return typeof h=="function"?a(h(m,g)):h}function p(h,m){if(h.isIdentifier())return h.node.name;if(h.isStringLiteral()){let g=h.node.value;return(0,u.isIdentifierName)(g)||m.add(g),g}throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${h.node.type}`)}function d(h){if(!h.isExportSpecifier())throw h.isExportNamespaceSpecifier()?h.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-transform-export-namespace-from`."):h.buildCodeFrameError("Unexpected export specifier type")}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(F,P,W){let Z=new Map,ee=new Map,J=Q=>{F.requeue(Q)};for(let[Q,z]of P.source){for(let[ie,_e]of z.imports)Z.set(ie,[Q,_e,null]);for(let ie of z.importsNamespace)Z.set(ie,[Q,null,ie])}for(let[Q,z]of P.local){let ie=ee.get(Q);ie||(ie=[],ee.set(Q,ie)),ie.push(...z.names)}let ne={metadata:P,requeueInParent:J,scope:F.scope,exported:ee};F.traverse(j,ne);let K=new Set([...Array.from(Z.keys()),...Array.from(ee.keys())]);(0,H.default)(F,K,!1);let q={seen:new WeakSet,metadata:P,requeueInParent:J,scope:F.scope,imported:Z,exported:ee,buildImportReference([Q,z,ie],_e){let He=P.source.get(Q);if(He.referenced=!0,ie){var be;return He.wrap&&(_e=(be=W(_e,He.wrap))!=null?be:_e),_e}let Ve=h(He.name);var Fe;if(He.wrap&&(Ve=(Fe=W(Ve,He.wrap))!=null?Fe:Ve),z==="default"&&He.interop==="node-default")return Ve;let me=P.stringSpecifiers.has(z);return I(Ve,me?C(z):h(z),me)}};F.traverse(U,q)};var s=c("assert"),u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-simple-access@7.24.7/node_modules/@babel/helper-simple-access/lib/index.js");let{assignmentExpression:a,cloneNode:l,expressionStatement:p,getOuterBindingIdentifiers:d,identifier:h,isArrowFunctionExpression:m,isClassExpression:g,isFunctionExpression:y,isIdentifier:_,isMemberExpression:E,isVariableDeclaration:A,jsxIdentifier:S,jsxMemberExpression:T,memberExpression:I,numericLiteral:L,sequenceExpression:x,stringLiteral:C,variableDeclaration:D,variableDeclarator:O}=u.types,j={Scope(F){F.skip()},ClassDeclaration(F){let{requeueInParent:P,exported:W,metadata:Z}=this,{id:ee}=F.node;if(!ee)throw new Error("Expected class to have a name");let J=ee.name,ne=W.get(J)||[];if(ne.length>0){let K=p(k(Z,ne,h(J),F.scope));K._blockHoist=F.node._blockHoist,P(F.insertAfter(K)[0])}},VariableDeclaration(F){let{requeueInParent:P,exported:W,metadata:Z}=this,ee=F.node.kind==="var";for(let J of F.get("declarations")){let{id:ne}=J.node,{init:K}=J.node;if(!_(ne)||!W.has(ne.name)||m(K)||y(K)&&!K.id||g(K)&&!K.id){for(let q of Object.keys(J.getOuterBindingIdentifiers()))if(W.has(q)){let Q=p(k(Z,W.get(q),h(q),F.scope));Q._blockHoist=F.node._blockHoist,P(F.insertAfter(Q)[0])}}else{if(!K){if(ee)continue;K=F.scope.buildUndefinedNode()}J.node.init=k(Z,W.get(ne.name),K,F.scope),P(J.get("init"))}}}},k=(F,P,W,Z)=>{let ee=F.exportName;for(let J=Z;J!=null;J=J.parent)J.hasOwnBinding(ee)&&J.rename(ee);return(P||[]).reduce((J,ne)=>{let{stringSpecifiers:K}=F,q=K.has(ne);return a("=",I(h(ee),q?C(ne):h(ne),q),J)},W)},$=F=>u.template.expression.ast`
|
|
(function() {
|
|
throw new Error('"' + '${F}' + '" is read-only.');
|
|
})()
|
|
`,U={ReferencedIdentifier(F){let{seen:P,buildImportReference:W,scope:Z,imported:ee,requeueInParent:J}=this;if(P.has(F.node))return;P.add(F.node);let ne=F.node.name,K=ee.get(ne);if(K){if(function(z){do switch(z.parent.type){case"TSTypeAnnotation":case"TSTypeAliasDeclaration":case"TSTypeReference":case"TypeAnnotation":case"TypeAlias":return!0;case"ExportSpecifier":return z.parentPath.parent.exportKind==="type";default:if(z.parentPath.isStatement()||z.parentPath.isExpression())return!1}while(z=z.parentPath)}(F))throw F.buildCodeFrameError(`Cannot transform the imported binding "${ne}" since it's also used in a type annotation. Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`);let q=F.scope.getBinding(ne);if(Z.getBinding(ne)!==q)return;let Q=W(K,F.node);if(Q.loc=F.node.loc,(F.parentPath.isCallExpression({callee:F.node})||F.parentPath.isOptionalCallExpression({callee:F.node})||F.parentPath.isTaggedTemplateExpression({tag:F.node}))&&E(Q))F.replaceWith(x([L(0),Q]));else if(F.isJSXIdentifier()&&E(Q)){let{object:z,property:ie}=Q;F.replaceWith(T(S(z.name),S(ie.name)))}else F.replaceWith(Q);J(F),F.skip()}},UpdateExpression(F){let{scope:P,seen:W,imported:Z,exported:ee,requeueInParent:J,buildImportReference:ne}=this;if(W.has(F.node))return;W.add(F.node);let K=F.get("argument");if(K.isMemberExpression())return;let q=F.node;if(K.isIdentifier()){let Q=K.node.name;if(P.getBinding(Q)!==F.scope.getBinding(Q))return;let z=ee.get(Q),ie=Z.get(Q);if(z?.length>0||ie)if(ie)F.replaceWith(a(q.operator[0]+"=",ne(ie,K.node),$(Q)));else if(q.prefix)F.replaceWith(k(this.metadata,z,l(q),F.scope));else{let _e=P.generateDeclaredUidIdentifier(Q);F.replaceWith(x([a("=",l(_e),l(q)),k(this.metadata,z,h(Q),F.scope),l(_e)]))}}J(F),F.skip()},AssignmentExpression:{exit(F){let{scope:P,seen:W,imported:Z,exported:ee,requeueInParent:J,buildImportReference:ne}=this;if(W.has(F.node))return;W.add(F.node);let K=F.get("left");if(!K.isMemberExpression())if(K.isIdentifier()){let q=K.node.name;if(P.getBinding(q)!==F.scope.getBinding(q))return;let Q=ee.get(q),z=Z.get(q);if(Q?.length>0||z){s(F.node.operator==="=","Path was not simplified");let ie=F.node;z&&(ie.left=ne(z,K.node),ie.right=x([ie.right,$(q)])),F.replaceWith(k(this.metadata,Q,ie,F.scope)),J(F)}}else{let q=K.getOuterBindingIdentifiers(),Q=Object.keys(q).filter(_e=>P.getBinding(_e)===F.scope.getBinding(_e)),z=Q.find(_e=>Z.has(_e));z&&(F.node.right=x([F.node.right,$(z)]));let ie=[];if(Q.forEach(_e=>{let He=ee.get(_e)||[];He.length>0&&ie.push(k(this.metadata,He,h(_e),F.scope))}),ie.length>0){let _e=x(ie);F.parentPath.isExpressionStatement()&&(_e=p(_e),_e._blockHoist=F.parentPath.node._blockHoist),J(F.insertAfter(_e)[0])}}}},"ForOfStatement|ForInStatement"(F){let{scope:P,node:W}=F,{left:Z}=W,{exported:ee,imported:J,scope:ne}=this;if(!A(Z)){let K,q=!1,Q=F.get("body").scope;for(let _e of Object.keys(d(Z)))ne.getBinding(_e)===P.getBinding(_e)&&(ee.has(_e)&&(q=!0,Q.hasOwnBinding(_e)&&Q.rename(_e)),J.has(_e)&&!K&&(K=_e));if(!q&&!K)return;F.ensureBlock();let z=F.get("body"),ie=P.generateUidIdentifierBasedOnNode(Z);F.get("left").replaceWith(D("let",[O(l(ie))])),P.registerDeclaration(F.get("left")),q&&z.unshiftContainer("body",p(a("=",Z,ie))),K&&z.unshiftContainer("body",p($(K)))}}}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(p){(0,u.traverse)(p.node,Object.assign({},l,{noScope:!0}))};var s=c("./node_modules/.pnpm/@babel+helper-environment-visitor@7.24.7/node_modules/@babel/helper-environment-visitor/lib/index.js"),u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js");let{numericLiteral:H,unaryExpression:a}=u.types,l=u.traverse.visitors.merge([s.default,{ThisExpression(p){p.replaceWith(a("void",H(0),!0))}}])},"./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.24.7/node_modules/@babel/helper-optimise-call-expression/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m,g,y,_){return y.length===1&&l(y[0])&&a(y[0].argument,{name:"arguments"})?_?d(h(m,H("apply"),!1,!0),[g,y[0].argument],!1):u(p(m,H("apply")),[g,y[0].argument]):_?d(h(m,H("call"),!1,!0),[g,...y],!1):u(p(m,H("call")),[g,...y])};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{callExpression:u,identifier:H,isIdentifier:a,isSpreadElement:l,memberExpression:p,optionalCallExpression:d,optionalMemberExpression:h}=s},"./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.declare=s,r.declarePreset=void 0;let c={assertVersion:H=>a=>{(function(l,p){if(typeof l=="number"){if(!Number.isInteger(l))throw new Error("Expected string or integer value.");l=`^${l}.0.0-0`}if(typeof l!="string")throw new Error("Expected string or integer value.");let d=Error.stackTraceLimit;typeof d=="number"&&d<25&&(Error.stackTraceLimit=25);let h;throw h=p.slice(0,2)==="7."?new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${p}". You'll need to update your @babel/core version.`):new Error(`Requires Babel "${l}", but was loaded with "${p}". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.`),typeof d=="number"&&(Error.stackTraceLimit=d),Object.assign(h,{code:"BABEL_VERSION_UNSUPPORTED",version:p,range:l})})(a,H.version)}};function s(H){return(a,l,p)=>{var d;let h;for(let m of Object.keys(c))a[m]||(h!=null||(h=u(a)),h[m]=c[m](h));return H((d=h)!=null?d:a,l||{},p)}}Object.assign(c,{targets:()=>()=>({}),assumption:()=>()=>{}}),r.declarePreset=s;function u(H){let a=null;return typeof H.version=="string"&&/^7\./.test(H.version)&&(a=Object.getPrototypeOf(H),!a||hasOwnProperty.call(a,"version")&&hasOwnProperty.call(a,"transform")&&hasOwnProperty.call(a,"template")&&hasOwnProperty.call(a,"types")||(a=null)),Object.assign({},a,H)}},"./node_modules/.pnpm/@babel+helper-replace-supers@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-replace-supers/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+helper-environment-visitor@7.24.7/node_modules/@babel/helper-environment-visitor/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.24.7/node_modules/@babel/helper-member-expression-to-functions/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.24.7/node_modules/@babel/helper-optimise-call-expression/lib/index.js"),a=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js");let{assignmentExpression:l,booleanLiteral:p,callExpression:d,cloneNode:h,identifier:m,memberExpression:g,sequenceExpression:y,stringLiteral:_,thisExpression:E}=a.types;{let x=c("./node_modules/.pnpm/@babel+helper-environment-visitor@7.24.7/node_modules/@babel/helper-environment-visitor/lib/index.js");r.environmentVisitor=x.default,r.skipAllButComputedKey=x.skipAllButComputedKey}function A(x,C,D,O){x=h(x);let j=C||O?x:g(x,m("prototype"));return d(D.addHelper("getPrototypeOf"),[j])}let S=a.traverse.visitors.merge([s.default,{Super(x,C){let{node:D,parentPath:O}=x;O.isMemberExpression({object:D})&&C.handle(O)}}]),T=a.traverse.visitors.merge([s.default,{Scopable(x,{refName:C}){let D=x.scope.getOwnBinding(C);D&&D.identifier.name===C&&x.scope.rename(C)}}]),I={memoise(x,C){let{scope:D,node:O}=x,{computed:j,property:k}=O;if(!j)return;let $=D.maybeGenerateMemoised(k);$&&this.memoiser.set(k,$,C)},prop(x){let{computed:C,property:D}=x.node;return this.memoiser.has(D)?h(this.memoiser.get(D)):C?h(D):_(D.name)},get(x){return this._get(x,this._getThisRefs())},_get(x,C){let D=A(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return d(this.file.addHelper("get"),[C.needAccessFirst?y([C.this,D]):D,this.prop(x),C.this])},_getThisRefs(){return{needAccessFirst:this.isDerivedConstructor,this:E()}},set(x,C){let D=this._getThisRefs(),O=A(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return d(this.file.addHelper("set"),[D.needAccessFirst?y([D.this,O]):O,this.prop(x),C,D.this,p(x.isInStrictMode())])},destructureSet(x){throw x.buildCodeFrameError("Destructuring to a super field is not supported yet.")},call(x,C){let D=this._getThisRefs();return(0,H.default)(this._get(x,D),h(D.this),C,!1)},optionalCall(x,C){let D=this._getThisRefs();return(0,H.default)(this._get(x,D),h(D.this),C,!0)},delete(x){return x.node.computed?y([d(this.file.addHelper("toPropertyKey"),[h(x.node.property)]),a.template.expression.ast`
|
|
function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
|
|
`]):a.template.expression.ast`
|
|
function () { throw new ReferenceError("'delete super.prop' is invalid"); }()
|
|
`}},L=Object.assign({},I,{prop(x){let{property:C}=x.node;return this.memoiser.has(C)?h(this.memoiser.get(C)):h(C)},get(x){let{isStatic:C,getSuperRef:D}=this,{computed:O}=x.node,j=this.prop(x),k;var $,U;return C?k=($=D())!=null?$:g(m("Function"),m("prototype")):k=g((U=D())!=null?U:m("Object"),m("prototype")),g(k,j,O)},set(x,C){let{computed:D}=x.node,O=this.prop(x);return l("=",g(E(),O,D),C)},destructureSet(x){let{computed:C}=x.node,D=this.prop(x);return g(E(),D,C)},call(x,C){return(0,H.default)(this.get(x),E(),C,!1)},optionalCall(x,C){return(0,H.default)(this.get(x),E(),C,!0)}});r.default=class{constructor(x){var C;let D=x.methodPath;this.methodPath=D,this.isDerivedConstructor=D.isClassMethod({kind:"constructor"})&&!!x.superRef,this.isStatic=D.isObjectMethod()||D.node.static||(D.isStaticBlock==null?void 0:D.isStaticBlock()),this.isPrivateMethod=D.isPrivate()&&D.isMethod(),this.file=x.file,this.constantSuper=(C=x.constantSuper)!=null?C:x.isLoose,this.opts=x}getObjectRef(){return h(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){return this.opts.superRef?h(this.opts.superRef):this.opts.getSuperRef?h(this.opts.getSuperRef()):void 0}replace(){let{methodPath:x}=this;this.opts.refToPreserve&&x.traverse(T,{refName:this.opts.refToPreserve.name});let C=this.constantSuper?L:I;S.shouldSkip=D=>{if(D.parentPath===x&&(D.parentKey==="decorators"||D.parentKey==="key"))return!0},(0,u.default)(x,S,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:C.get},C))}}},"./node_modules/.pnpm/@babel+helper-simple-access@7.24.7/node_modules/@babel/helper-simple-access/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(_,E){var A;_.traverse(y,{scope:_.scope,bindingNames:E,seen:new WeakSet,includeUpdateExpression:(A=arguments[2])==null||A})};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{LOGICAL_OPERATORS:u,assignmentExpression:H,binaryExpression:a,cloneNode:l,identifier:p,logicalExpression:d,numericLiteral:h,sequenceExpression:m,unaryExpression:g}=s,y={AssignmentExpression:{exit(_){let{scope:E,seen:A,bindingNames:S}=this;if(_.node.operator==="="||A.has(_.node))return;A.add(_.node);let T=_.get("left");if(!T.isIdentifier())return;let I=T.node.name;if(!S.has(I)||E.getBinding(I)!==_.scope.getBinding(I))return;let L=_.node.operator.slice(0,-1);u.includes(L)?_.replaceWith(d(L,_.node.left,H("=",l(_.node.left),_.node.right))):(_.node.right=a(L,l(_.node.left),_.node.right),_.node.operator="=")}}};y.UpdateExpression={exit(_){if(!this.includeUpdateExpression)return;let{scope:E,bindingNames:A}=this,S=_.get("argument");if(!S.isIdentifier())return;let T=S.node.name;if(A.has(T)&&E.getBinding(T)===_.scope.getBinding(T))if(_.parentPath.isExpressionStatement()&&!_.isCompletionRecord()){let I=_.node.operator==="++"?"+=":"-=";_.replaceWith(H(I,S.node,h(1)))}else if(_.node.prefix)_.replaceWith(H("=",p(T),a(_.node.operator[0],g("+",S.node),h(1))));else{let I=_.scope.generateUidIdentifierBasedOnNode(S.node,"old"),L=I.name;_.scope.push({id:I});let x=a(_.node.operator[0],p(L),h(1));_.replaceWith(m([H("=",p(L),g("+",S.node)),H("=",l(S.node),x),p(L)]))}}}},"./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.24.7/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isTransparentExprWrapper=h,r.skipTransparentExprWrapperNodes=function(m){for(;h(m);)m=m.expression;return m},r.skipTransparentExprWrappers=function(m){for(;h(m.node);)m=m.get("expression");return m};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{isParenthesizedExpression:u,isTSAsExpression:H,isTSNonNullExpression:a,isTSSatisfiesExpression:l,isTSTypeAssertion:p,isTypeCastExpression:d}=s;function h(m){return H(m)||l(m)||p(m)||a(m)||d(m)||u(m)}},"./node_modules/.pnpm/@babel+helper-split-export-declaration@7.24.7/node_modules/@babel/helper-split-export-declaration/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(h){if(!h.isExportDeclaration()||h.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(h.isExportDefaultDeclaration()){let E=h.get("declaration"),A=E.isFunctionDeclaration()||E.isClassDeclaration(),S=E.isFunctionExpression()||E.isClassExpression(),T=E.isScope()?E.scope.parent:E.scope,I=E.node.id,L=!1;I?S&&T.hasBinding(I.name)&&(L=!0,I=T.generateUidIdentifier(I.name)):(L=!0,I=T.generateUidIdentifier("default"),(A||S)&&(E.node.id=u(I)));let x=A?E.node:p("var",[d(u(I),E.node)]),C=H(null,[a(u(I),l("default"))]);return h.insertAfter(C),h.replaceWith(x),L&&T.registerDeclaration(h),h}if(h.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let m=h.get("declaration"),g=m.getOuterBindingIdentifiers(),y=Object.keys(g).map(E=>a(l(E),l(E))),_=H(null,y);return h.insertAfter(_),h.replaceWith(m.node),h};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{cloneNode:u,exportNamedDeclaration:H,exportSpecifier:a,identifier:l,variableDeclaration:p,variableDeclarator:d}=s},"./node_modules/.pnpm/@babel+helper-string-parser@7.24.7/node_modules/@babel/helper-string-parser/lib/index.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.readCodePoint=d,r.readInt=p,r.readStringContents=function(h,m,g,y,_,E){let A=g,S=y,T=_,I="",L=null,x=g,{length:C}=m;for(;;){if(g>=C){E.unterminated(A,S,T),I+=m.slice(x,g);break}let D=m.charCodeAt(g);if(H(h,D,m,g)){I+=m.slice(x,g);break}if(D===92){I+=m.slice(x,g);let O=a(m,g,y,_,h==="template",E);O.ch!==null||L?I+=O.ch:L={pos:g,lineStart:y,curLine:_},{pos:g,lineStart:y,curLine:_}=O,x=g}else D===8232||D===8233?(++_,y=++g):D===10||D===13?h==="template"?(I+=m.slice(x,g)+`
|
|
`,++g,D===13&&m.charCodeAt(g)===10&&++g,++_,x=y=g):E.unterminated(A,S,T):++g}return{pos:g,str:I,firstInvalidLoc:L,lineStart:y,curLine:_,containsInvalid:!!L}};var c=function(h){return h>=48&&h<=57};let s={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},u={bin:h=>h===48||h===49,oct:h=>h>=48&&h<=55,dec:h=>h>=48&&h<=57,hex:h=>h>=48&&h<=57||h>=65&&h<=70||h>=97&&h<=102};function H(h,m,g,y){return h==="template"?m===96||m===36&&g.charCodeAt(y+1)===123:m===(h==="double"?34:39)}function a(h,m,g,y,_,E){let A=!_;m++;let S=I=>({pos:m,ch:I,lineStart:g,curLine:y}),T=h.charCodeAt(m++);switch(T){case 110:return S(`
|
|
`);case 114:return S("\r");case 120:{let I;return{code:I,pos:m}=l(h,m,g,y,2,!1,A,E),S(I===null?null:String.fromCharCode(I))}case 117:{let I;return{code:I,pos:m}=d(h,m,g,y,A,E),S(I===null?null:String.fromCodePoint(I))}case 116:return S(" ");case 98:return S("\b");case 118:return S("\v");case 102:return S("\f");case 13:h.charCodeAt(m)===10&&++m;case 10:g=m,++y;case 8232:case 8233:return S("");case 56:case 57:if(_)return S(null);E.strictNumericEscape(m-1,g,y);default:if(T>=48&&T<=55){let I=m-1,L=h.slice(I,m+2).match(/^[0-7]+/)[0],x=parseInt(L,8);x>255&&(L=L.slice(0,-1),x=parseInt(L,8)),m+=L.length-1;let C=h.charCodeAt(m);if(L!=="0"||C===56||C===57){if(_)return S(null);E.strictNumericEscape(I,g,y)}return S(String.fromCharCode(x))}return S(String.fromCharCode(T))}}function l(h,m,g,y,_,E,A,S){let T=m,I;return{n:I,pos:m}=p(h,m,g,y,16,_,E,!1,S,!A),I===null&&(A?S.invalidEscapeSequence(T,g,y):m=T-1),{code:I,pos:m}}function p(h,m,g,y,_,E,A,S,T,I){let L=m,x=_===16?s.hex:s.decBinOct,C=_===16?u.hex:_===10?u.dec:_===8?u.oct:u.bin,D=!1,O=0;for(let j=0,k=E??1/0;j<k;++j){let $=h.charCodeAt(m),U;if($!==95||S==="bail"){if(U=$>=97?$-97+10:$>=65?$-65+10:c($)?$-48:1/0,U>=_){if(U<=9&&I)return{n:null,pos:m};if(U<=9&&T.invalidDigit(m,g,y,_))U=0;else{if(!A)break;U=0,D=!0}}++m,O=O*_+U}else{let F=h.charCodeAt(m-1),P=h.charCodeAt(m+1);if(S){if(Number.isNaN(P)||!C(P)||x.has(F)||x.has(P)){if(I)return{n:null,pos:m};T.unexpectedNumericSeparator(m,g,y)}}else{if(I)return{n:null,pos:m};T.numericSeparatorInEscapeSequence(m,g,y)}++m}}return m===L||E!=null&&m-L!==E||D?{n:null,pos:m}:{n:O,pos:m}}function d(h,m,g,y,_,E){let A;if(h.charCodeAt(m)===123){if(++m,{code:A,pos:m}=l(h,m,g,y,h.indexOf("}",m)-m,!0,_,E),++m,A!==null&&A>1114111){if(!_)return{code:null,pos:m};E.invalidCodePoint(m,g,y)}}else({code:A,pos:m}=l(h,m,g,y,4,!1,_,E));return{code:A,pos:m}}},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/identifier.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isIdentifierChar=h,r.isIdentifierName=function(m){let g=!0;for(let y=0;y<m.length;y++){let _=m.charCodeAt(y);if((64512&_)==55296&&y+1<m.length){let E=m.charCodeAt(++y);(64512&E)==56320&&(_=65536+((1023&_)<<10)+(1023&E))}if(g){if(g=!1,!d(_))return!1}else if(!h(_))return!1}return!g},r.isIdentifierStart=d;let c="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",s="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",u=new RegExp("["+c+"]"),H=new RegExp("["+c+s+"]");c=s=null;let a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],l=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function p(m,g){let y=65536;for(let _=0,E=g.length;_<E;_+=2){if(y+=g[_],y>m)return!1;if(y+=g[_+1],y>=m)return!0}return!1}function d(m){return m<65?m===36:m<=90||(m<97?m===95:m<=122||(m<=65535?m>=170&&u.test(String.fromCharCode(m)):p(m,a)))}function h(m){return m<48?m===36:m<58||!(m<65)&&(m<=90||(m<97?m===95:m<=122||(m<=65535?m>=170&&H.test(String.fromCharCode(m)):p(m,a)||p(m,l))))}},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isIdentifierChar",{enumerable:!0,get:function(){return s.isIdentifierChar}}),Object.defineProperty(r,"isIdentifierName",{enumerable:!0,get:function(){return s.isIdentifierName}}),Object.defineProperty(r,"isIdentifierStart",{enumerable:!0,get:function(){return s.isIdentifierStart}}),Object.defineProperty(r,"isKeyword",{enumerable:!0,get:function(){return u.isKeyword}}),Object.defineProperty(r,"isReservedWord",{enumerable:!0,get:function(){return u.isReservedWord}}),Object.defineProperty(r,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return u.isStrictBindOnlyReservedWord}}),Object.defineProperty(r,"isStrictBindReservedWord",{enumerable:!0,get:function(){return u.isStrictBindReservedWord}}),Object.defineProperty(r,"isStrictReservedWord",{enumerable:!0,get:function(){return u.isStrictReservedWord}});var s=c("./node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/identifier.js"),u=c("./node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/keyword.js")},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/keyword.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isKeyword=function(h){return u.has(h)},r.isReservedWord=l,r.isStrictBindOnlyReservedWord=d,r.isStrictBindReservedWord=function(h,m){return p(h,m)||d(h)},r.isStrictReservedWord=p;let c=["implements","interface","let","package","private","protected","public","static","yield"],s=["eval","arguments"],u=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),H=new Set(c),a=new Set(s);function l(h,m){return m&&h==="await"||h==="enum"}function p(h,m){return l(h,m)||H.has(h)}function d(h){return a.has(h)}},"./node_modules/.pnpm/@babel+helper-validator-option@7.24.7/node_modules/@babel/helper-validator-option/lib/find-suggestion.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.findSuggestion=function(s,u){let H=u.map(a=>function(l,p){let d,h,m=[],g=[],y=l.length,_=p.length;if(!y)return _;if(!_)return y;for(h=0;h<=_;h++)m[h]=h;for(d=1;d<=y;d++){for(g=[d],h=1;h<=_;h++)g[h]=l[d-1]===p[h-1]?m[h-1]:c(m[h-1],m[h],g[h-1])+1;m=g}return g[_]}(a,s));return u[H.indexOf(c(...H))]};let{min:c}=Math},"./node_modules/.pnpm/@babel+helper-validator-option@7.24.7/node_modules/@babel/helper-validator-option/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"OptionValidator",{enumerable:!0,get:function(){return s.OptionValidator}}),Object.defineProperty(r,"findSuggestion",{enumerable:!0,get:function(){return u.findSuggestion}});var s=c("./node_modules/.pnpm/@babel+helper-validator-option@7.24.7/node_modules/@babel/helper-validator-option/lib/validator.js"),u=c("./node_modules/.pnpm/@babel+helper-validator-option@7.24.7/node_modules/@babel/helper-validator-option/lib/find-suggestion.js")},"./node_modules/.pnpm/@babel+helper-validator-option@7.24.7/node_modules/@babel/helper-validator-option/lib/validator.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.OptionValidator=void 0;var s=c("./node_modules/.pnpm/@babel+helper-validator-option@7.24.7/node_modules/@babel/helper-validator-option/lib/find-suggestion.js");r.OptionValidator=class{constructor(u){this.descriptor=u}validateTopLevelOptions(u,H){let a=Object.keys(H);for(let l of Object.keys(u))if(!a.includes(l))throw new Error(this.formatMessage(`'${l}' is not a valid top-level option.
|
|
- Did you mean '${(0,s.findSuggestion)(l,a)}'?`))}validateBooleanOption(u,H,a){return H===void 0?a:(this.invariant(typeof H=="boolean",`'${u}' option must be a boolean.`),H)}validateStringOption(u,H,a){return H===void 0?a:(this.invariant(typeof H=="string",`'${u}' option must be a string.`),H)}invariant(u,H){if(!u)throw new Error(this.formatMessage(H))}formatMessage(u){return`${this.descriptor}: ${u}`}}},"./node_modules/.pnpm/@babel+helpers@7.24.7/node_modules/@babel/helpers/lib/helpers-generated.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/index.js");function u(a,l,p){return Object.freeze({minVersion:a,ast:()=>s.default.program.ast(l,{preserveComments:!0}),metadata:p})}let H=r.default={__proto__:null,OverloadYield:u("7.18.14","function _OverloadYield(e,d){this.v=e,this.k=d}",{globals:[],locals:{_OverloadYield:["body.0.id"]},exportBindingAssignments:[],exportName:"_OverloadYield",dependencies:{}}),applyDecoratedDescriptor:u("7.0.0-beta.0",'function _applyDecoratedDescriptor(i,e,r,n,l){var a={};return Object.keys(n).forEach((function(i){a[i]=n[i]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce((function(r,n){return n(i,e,r)||r}),a),l&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(l):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(i,e,a),a=null),a}',{globals:["Object"],locals:{_applyDecoratedDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_applyDecoratedDescriptor",dependencies:{}}),applyDecs2311:u("7.24.0",'function applyDecs2311(e,t,n,r,o,i){var a,c,u,s,f,l,p,d=Symbol.metadata||Symbol.for("Symbol.metadata"),m=Object.defineProperty,h=Object.create,y=[h(null),h(null)],v=t.length;function g(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function b(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function applyDec(e,t,n,r,o,i,u,s,f,l,p){function d(e){if(!p(e))throw new TypeError("Attempted to access private element on non-instance")}var h=[].concat(t[0]),v=t[3],w=!u,D=1===o,S=3===o,j=4===o,E=2===o;function I(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),P[t].call(o,i)}}if(!w){var P={},k=[],F=S?"get":j||D?"set":"value";if(f?(l||D?P={get:setFunctionName((function(){return v(this)}),r,"get"),set:function(e){t[4](this,e)}}:P[F]=v,l||setFunctionName(P[F],r,E?"":F)):l||(P=Object.getOwnPropertyDescriptor(e,r)),!l&&!f){if((c=y[+s][r])&&7!=(c^o))throw Error("Decorating two elements with the same name ("+P[F].name+") is not supported yet");y[+s][r]=o<3?1:o}}for(var N=e,O=h.length-1;O>=0;O-=n?2:1){var T=b(h[O],"A decorator","be",!0),z=n?h[O-1]:void 0,A={},H={kind:["field","accessor","method","getter","setter","class"][o],name:r,metadata:a,addInitializer:function(e,t){if(e.v)throw new TypeError("attempted to call addInitializer after decoration was finished");b(t,"An initializer","be",!0),i.push(t)}.bind(null,A)};if(w)c=T.call(z,N,H),A.v=1,b(c,"class decorators","return")&&(N=c);else if(H.static=s,H.private=f,c=H.access={has:f?p.bind():function(e){return r in e}},j||(c.get=f?E?function(e){return d(e),P.value}:I("get",0,d):function(e){return e[r]}),E||S||(c.set=f?I("set",0,d):function(e,t){e[r]=t}),N=T.call(z,D?{get:P.get,set:P.set}:P[F],H),A.v=1,D){if("object"==typeof N&&N)(c=b(N.get,"accessor.get"))&&(P.get=c),(c=b(N.set,"accessor.set"))&&(P.set=c),(c=b(N.init,"accessor.init"))&&k.unshift(c);else if(void 0!==N)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else b(N,(l?"field":"method")+" decorators","return")&&(l?k.unshift(N):P[F]=N)}return o<2&&u.push(g(k,s,1),g(i,s,0)),l||w||(f?D?u.splice(-1,0,I("get",s),I("set",s)):u.push(E?P[F]:b.call.bind(P[F])):m(e,r,P)),N}function w(e){return m(e,d,{configurable:!0,enumerable:!0,value:a})}return void 0!==i&&(a=i[d]),a=h(null==a?null:a),f=[],l=function(e){e&&f.push(g(e))},p=function(t,r){for(var i=0;i<n.length;i++){var a=n[i],c=a[1],l=7&c;if((8&c)==t&&!l==r){var p=a[2],d=!!a[3],m=16&c;applyDec(t?e:e.prototype,a,m,d?"#"+p:toPropertyKey(p),l,l<2?[]:t?s=s||[]:u=u||[],f,!!t,d,r,t&&d?function(t){return checkInRHS(t)===e}:o)}}},p(8,0),p(0,0),p(8,1),p(0,1),l(u),l(s),c=f,v||w(e),{e:c,get c(){var n=[];return v&&[w(e=applyDec(e,[t],r,e.name,5,n)),g(n,1)]}}}',{globals:["Symbol","Object","TypeError","Error"],locals:{applyDecs2311:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2311",dependencies:{checkInRHS:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.10.consequent.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.3.alternate.callee"]}}),arrayLikeToArray:u("7.9.0","function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}",{globals:["Array"],locals:{_arrayLikeToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayLikeToArray",dependencies:{}}),arrayWithHoles:u("7.0.0-beta.0","function _arrayWithHoles(r){if(Array.isArray(r))return r}",{globals:["Array"],locals:{_arrayWithHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithHoles",dependencies:{}}),arrayWithoutHoles:u("7.0.0-beta.0","function _arrayWithoutHoles(r){if(Array.isArray(r))return arrayLikeToArray(r)}",{globals:["Array"],locals:{_arrayWithoutHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithoutHoles",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.argument.callee"]}}),assertClassBrand:u("7.24.0",'function _assertClassBrand(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}',{globals:["TypeError"],locals:{_assertClassBrand:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertClassBrand",dependencies:{}}),assertThisInitialized:u("7.0.0-beta.0",`function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}`,{globals:["ReferenceError"],locals:{_assertThisInitialized:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertThisInitialized",dependencies:{}}),asyncGeneratorDelegate:u("7.0.0-beta.0",'function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise((function(n){n(t[e](r))})),{done:!1,value:new OverloadYield(r,1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(t){return n?(n=!1,t):pump("next",t)},"function"==typeof t.throw&&(e.throw=function(t){if(n)throw n=!1,t;return pump("throw",t)}),"function"==typeof t.return&&(e.return=function(t){return n?(n=!1,t):pump("return",t)}),e}',{globals:["Promise","Symbol"],locals:{_asyncGeneratorDelegate:["body.0.id"]},exportBindingAssignments:[],exportName:"_asyncGeneratorDelegate",dependencies:{OverloadYield:["body.0.body.body.1.body.body.0.argument.expressions.2.properties.1.value.callee"]}}),asyncIterator:u("7.15.9",'function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then((function(r){return{value:r,done:n}}))}return AsyncFromSyncIterator=function(r){this.s=r,this.n=r.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments))},return:function(r){var n=this.s.return;return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))},throw:function(r){var n=this.s.return;return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))}},new AsyncFromSyncIterator(r)}',{globals:["Symbol","TypeError","Object","Promise"],locals:{_asyncIterator:["body.0.id"],AsyncFromSyncIterator:["body.1.id","body.0.body.body.1.body.body.1.consequent.argument.callee","body.1.body.body.1.argument.expressions.1.left.object","body.1.body.body.1.argument.expressions.2.callee","body.1.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:[],exportName:"_asyncIterator",dependencies:{}}),asyncToGenerator:u("7.0.0-beta.0",'function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise((function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)}))}}',{globals:["Promise"],locals:{asyncGeneratorStep:["body.0.id","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.1.body.body.0.expression.callee","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.2.body.body.0.expression.callee"],_asyncToGenerator:["body.1.id"]},exportBindingAssignments:[],exportName:"_asyncToGenerator",dependencies:{}}),awaitAsyncGenerator:u("7.0.0-beta.0","function _awaitAsyncGenerator(e){return new OverloadYield(e,0)}",{globals:[],locals:{_awaitAsyncGenerator:["body.0.id"]},exportBindingAssignments:[],exportName:"_awaitAsyncGenerator",dependencies:{OverloadYield:["body.0.body.body.0.argument.callee"]}}),callSuper:u("7.23.8","function _callSuper(t,o,e){return o=getPrototypeOf(o),possibleConstructorReturn(t,isNativeReflectConstruct()?Reflect.construct(o,e||[],getPrototypeOf(t).constructor):o.apply(t,e))}",{globals:["Reflect"],locals:{_callSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_callSuper",dependencies:{getPrototypeOf:["body.0.body.body.0.argument.expressions.0.right.callee","body.0.body.body.0.argument.expressions.1.arguments.1.consequent.arguments.2.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.argument.expressions.1.arguments.1.test.callee"],possibleConstructorReturn:["body.0.body.body.0.argument.expressions.1.callee"]}}),checkInRHS:u("7.20.5",`function _checkInRHS(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?typeof e:"null"));return e}`,{globals:["Object","TypeError"],locals:{_checkInRHS:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkInRHS",dependencies:{}}),checkPrivateRedeclaration:u("7.14.1",'function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}',{globals:["TypeError"],locals:{_checkPrivateRedeclaration:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkPrivateRedeclaration",dependencies:{}}),classCallCheck:u("7.0.0-beta.0",'function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}',{globals:["TypeError"],locals:{_classCallCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCallCheck",dependencies:{}}),classNameTDZError:u("7.0.0-beta.0",`function _classNameTDZError(e){throw new ReferenceError('Class "'+e+'" cannot be referenced in computed property keys.')}`,{globals:["ReferenceError"],locals:{_classNameTDZError:["body.0.id"]},exportBindingAssignments:[],exportName:"_classNameTDZError",dependencies:{}}),classPrivateFieldGet2:u("7.24.0","function _classPrivateFieldGet2(s,a){return s.get(assertClassBrand(s,a))}",{globals:[],locals:{_classPrivateFieldGet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]}}),classPrivateFieldInitSpec:u("7.14.1","function _classPrivateFieldInitSpec(e,t,a){checkPrivateRedeclaration(e,t),t.set(e,a)}",{globals:[],locals:{_classPrivateFieldInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]}}),classPrivateFieldLooseBase:u("7.0.0-beta.0",'function _classPrivateFieldBase(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}',{globals:["TypeError"],locals:{_classPrivateFieldBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldBase",dependencies:{}}),classPrivateFieldLooseKey:u("7.0.0-beta.0",'var id=0;function _classPrivateFieldKey(e){return"__private_"+id+++"_"+e}',{globals:[],locals:{id:["body.0.declarations.0.id","body.1.body.body.0.argument.left.left.right.argument","body.1.body.body.0.argument.left.left.right.argument"],_classPrivateFieldKey:["body.1.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldKey",dependencies:{}}),classPrivateFieldSet2:u("7.24.0","function _classPrivateFieldSet2(s,a,r){return s.set(assertClassBrand(s,a),r),r}",{globals:[],locals:{_classPrivateFieldSet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]}}),classPrivateGetter:u("7.24.0","function _classPrivateGetter(s,r,a){return a(assertClassBrand(s,r))}",{globals:[],locals:{_classPrivateGetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateGetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]}}),classPrivateMethodInitSpec:u("7.14.1","function _classPrivateMethodInitSpec(e,a){checkPrivateRedeclaration(e,a),a.add(e)}",{globals:[],locals:{_classPrivateMethodInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]}}),classPrivateSetter:u("7.24.0","function _classPrivateSetter(s,r,a,t){return r(assertClassBrand(s,a),t),t}",{globals:[],locals:{_classPrivateSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateSetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]}}),classStaticPrivateMethodGet:u("7.3.2","function _classStaticPrivateMethodGet(s,a,t){return assertClassBrand(a,s),t}",{globals:[],locals:{_classStaticPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]}}),construct:u("7.0.0-beta.0","function _construct(t,e,r){if(isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o));return r&&setPrototypeOf(p,r.prototype),p}",{globals:["Reflect"],locals:{_construct:["body.0.id"]},exportBindingAssignments:[],exportName:"_construct",dependencies:{isNativeReflectConstruct:["body.0.body.body.0.test.callee"],setPrototypeOf:["body.0.body.body.4.argument.expressions.0.right.callee"]}}),createClass:u("7.0.0-beta.0",'function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,toPropertyKey(o.key),o)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}',{globals:["Object"],locals:{_defineProperties:["body.0.id","body.1.body.body.0.argument.expressions.0.right.callee","body.1.body.body.0.argument.expressions.1.right.callee"],_createClass:["body.1.id"]},exportBindingAssignments:[],exportName:"_createClass",dependencies:{toPropertyKey:["body.0.body.body.0.body.body.1.expression.expressions.3.arguments.1.callee"]}}),createForOfIteratorHelper:u("7.9.0",'function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var n=0,F=function(){};return{s:F,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){t=t.call(r)},n:function(){var r=t.next();return a=r.done,r},e:function(r){u=!0,o=r},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelper",dependencies:{unsupportedIterableToArray:["body.0.body.body.1.consequent.body.0.test.left.right.right.callee"]}}),createForOfIteratorHelperLoose:u("7.9.0",'function _createForOfIteratorHelperLoose(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(t)return(t=t.call(r)).next.bind(t);if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var o=0;return function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelperLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelperLoose",dependencies:{unsupportedIterableToArray:["body.0.body.body.2.test.left.right.right.callee"]}}),createSuper:u("7.9.0","function _createSuper(t){var r=isNativeReflectConstruct();return function(){var e,o=getPrototypeOf(t);if(r){var s=getPrototypeOf(this).constructor;e=Reflect.construct(o,arguments,s)}else e=o.apply(this,arguments);return possibleConstructorReturn(this,e)}}",{globals:["Reflect"],locals:{_createSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.body.body.0.declarations.1.init.callee","body.0.body.body.1.argument.body.body.1.consequent.body.0.declarations.0.init.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.declarations.0.init.callee"],possibleConstructorReturn:["body.0.body.body.1.argument.body.body.2.argument.callee"]}}),decorate:u("7.1.5",`function _decorate(e,r,t,i){var o=_getDecoratorsApi();if(i)for(var n=0;n<i.length;n++)o=i[n](o);var s=r((function(e){o.initializeInstanceElements(e,a.elements)}),t),a=o.decorateClass(_coalesceClassElements(s.d.map(_createElementDescriptor)),e);return o.initializeClassElements(s.F,a.elements),o.runClassFinishers(s.F,a.finishers)}function _getDecoratorsApi(){_getDecoratorsApi=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)}),this)}),this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach((function(i){r.forEach((function(r){var o=r.placement;if(r.kind===i&&("static"===o||"prototype"===o)){var n="static"===o?e:t;this.defineClassElement(n,r)}}),this)}),this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],o={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,o)}),this),e.forEach((function(e){if(!_hasDecorators(e))return t.push(e);var r=this.decorateElement(e,o);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)}),this),!r)return{elements:t,finishers:i};var n=this.decorateConstructor(t,r);return i.push.apply(i,n.finishers),n.finishers=i,n},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],o=e.decorators,n=o.length-1;n>=0;n--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,o[n])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var p=0;p<c.length;p++)this.addElementPlacement(c[p],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var o=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,r[i])(o)||o);if(void 0!==n.finisher&&t.push(n.finisher),void 0!==n.elements){e=n.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){if(void 0!==e)return toArray(e).map((function(e){var r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r}),this)},toElementDescriptor:function(e){var r=e.kind+"";if("method"!==r&&"field"!==r)throw new TypeError('An element descriptor\\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+r+'"');var t=toPropertyKey(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var o=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:r,key:t,placement:i,descriptor:Object.assign({},o)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(o,"get","The property descriptor of a field descriptor"),this.disallowProperty(o,"set","The property descriptor of a field descriptor"),this.disallowProperty(o,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:_optionalCallableProperty(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=e.kind+"";if("class"!==r)throw new TypeError('A class descriptor\\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+r+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var t=_optionalCallableProperty(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can't have a ."+r+" property.")}};return e}function _createElementDescriptor(e){var r,t=toPropertyKey(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function _coalesceGetterSetter(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function _coalesceClassElements(e){for(var r=[],isSameElement=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},t=0;t<e.length;t++){var i,o=e[t];if("method"===o.kind&&(i=r.find(isSameElement)))if(_isDataDescriptor(o.descriptor)||_isDataDescriptor(i.descriptor)){if(_hasDecorators(o)||_hasDecorators(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(_hasDecorators(o)){if(_hasDecorators(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}_coalesceGetterSetter(o,i)}else r.push(o)}return r}function _hasDecorators(e){return e.decorators&&e.decorators.length}function _isDataDescriptor(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function _optionalCallableProperty(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected '"+r+"' to be a function");return t}`,{globals:["Object","TypeError","Symbol","ReferenceError"],locals:{_decorate:["body.0.id"],_getDecoratorsApi:["body.1.id","body.0.body.body.0.declarations.0.init.callee","body.1.body.body.0.expression.left"],_createElementDescriptor:["body.2.id","body.0.body.body.2.declarations.1.init.arguments.0.arguments.0.arguments.0"],_coalesceGetterSetter:["body.3.id","body.4.body.body.0.body.body.1.consequent.alternate.body.1.expression.callee"],_coalesceClassElements:["body.4.id","body.0.body.body.2.declarations.1.init.arguments.0.callee"],_hasDecorators:["body.5.id","body.1.body.body.1.declarations.0.init.properties.4.value.body.body.1.test.expressions.1.arguments.0.body.body.0.test.argument.callee","body.4.body.body.0.body.body.1.consequent.consequent.body.0.test.left.callee","body.4.body.body.0.body.body.1.consequent.consequent.body.0.test.right.callee","body.4.body.body.0.body.body.1.consequent.alternate.body.0.test.callee","body.4.body.body.0.body.body.1.consequent.alternate.body.0.consequent.body.0.test.callee"],_isDataDescriptor:["body.6.id","body.4.body.body.0.body.body.1.consequent.test.left.callee","body.4.body.body.0.body.body.1.consequent.test.right.callee"],_optionalCallableProperty:["body.7.id","body.1.body.body.1.declarations.0.init.properties.11.value.body.body.0.argument.properties.1.value.callee","body.1.body.body.1.declarations.0.init.properties.13.value.body.body.3.declarations.0.init.callee"]},exportBindingAssignments:[],exportName:"_decorate",dependencies:{toArray:["body.1.body.body.1.declarations.0.init.properties.9.value.body.body.0.consequent.argument.callee.object.callee"],toPropertyKey:["body.1.body.body.1.declarations.0.init.properties.10.value.body.body.2.declarations.0.init.callee","body.2.body.body.0.declarations.1.init.callee"]}}),defaults:u("7.0.0-beta.0","function _defaults(e,r){for(var t=Object.getOwnPropertyNames(r),o=0;o<t.length;o++){var n=t[o],a=Object.getOwnPropertyDescriptor(r,n);a&&a.configurable&&void 0===e[n]&&Object.defineProperty(e,n,a)}return e}",{globals:["Object"],locals:{_defaults:["body.0.id"]},exportBindingAssignments:[],exportName:"_defaults",dependencies:{}}),defineAccessor:u("7.20.7","function _defineAccessor(e,r,n,t){var c={configurable:!0,enumerable:!0};return c[e]=t,Object.defineProperty(r,n,c)}",{globals:["Object"],locals:{_defineAccessor:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineAccessor",dependencies:{}}),defineProperty:u("7.0.0-beta.0","function _defineProperty(e,r,t){return(r=toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}",{globals:["Object"],locals:{_defineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineProperty",dependencies:{toPropertyKey:["body.0.body.body.0.argument.expressions.0.test.left.right.callee"]}}),extends:u("7.0.0-beta.0","function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}",{globals:["Object"],locals:{_extends:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_extends",dependencies:{}}),get:u("7.0.0-beta.0",'function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},_get.apply(null,arguments)}',{globals:["Reflect","Object"],locals:{_get:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_get",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.0.init.callee"]}}),getPrototypeOf:u("7.0.0-beta.0","function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}",{globals:["Object"],locals:{_getPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_getPrototypeOf",dependencies:{}}),identity:u("7.17.0","function _identity(t){return t}",{globals:[],locals:{_identity:["body.0.id"]},exportBindingAssignments:[],exportName:"_identity",dependencies:{}}),importDeferProxy:u("7.23.0","function _importDeferProxy(e){var t=null,constValue=function(e){return function(){return e}},proxy=function(r){return function(n,o,f){return null===t&&(t=e()),r(t,o,f)}};return new Proxy({},{defineProperty:constValue(!1),deleteProperty:constValue(!1),get:proxy(Reflect.get),getOwnPropertyDescriptor:proxy(Reflect.getOwnPropertyDescriptor),getPrototypeOf:constValue(null),isExtensible:constValue(!1),has:proxy(Reflect.has),ownKeys:proxy(Reflect.ownKeys),preventExtensions:constValue(!0),set:constValue(!1),setPrototypeOf:constValue(!1)})}",{globals:["Proxy","Reflect"],locals:{_importDeferProxy:["body.0.id"]},exportBindingAssignments:[],exportName:"_importDeferProxy",dependencies:{}}),inherits:u("7.0.0-beta.0",'function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&setPrototypeOf(t,e)}',{globals:["TypeError","Object"],locals:{_inherits:["body.0.id"]},exportBindingAssignments:[],exportName:"_inherits",dependencies:{setPrototypeOf:["body.0.body.body.1.expression.expressions.2.right.callee"]}}),inheritsLoose:u("7.0.0-beta.0","function _inheritsLoose(t,o){t.prototype=Object.create(o.prototype),t.prototype.constructor=t,setPrototypeOf(t,o)}",{globals:["Object"],locals:{_inheritsLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_inheritsLoose",dependencies:{setPrototypeOf:["body.0.body.body.0.expression.expressions.2.callee"]}}),initializerDefineProperty:u("7.0.0-beta.0","function _initializerDefineProperty(e,i,r,l){r&&Object.defineProperty(e,i,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(l):void 0})}",{globals:["Object"],locals:{_initializerDefineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerDefineProperty",dependencies:{}}),initializerWarningHelper:u("7.0.0-beta.0",'function _initializerWarningHelper(r,e){throw Error("Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.")}',{globals:["Error"],locals:{_initializerWarningHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerWarningHelper",dependencies:{}}),instanceof:u("7.0.0-beta.0",'function _instanceof(n,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](n):n instanceof e}',{globals:["Symbol"],locals:{_instanceof:["body.0.id"]},exportBindingAssignments:[],exportName:"_instanceof",dependencies:{}}),interopRequireDefault:u("7.0.0-beta.0","function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}",{globals:[],locals:{_interopRequireDefault:["body.0.id"]},exportBindingAssignments:[],exportName:"_interopRequireDefault",dependencies:{}}),interopRequireWildcard:u("7.14.0",'function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}',{globals:["WeakMap","Object"],locals:{_getRequireWildcardCache:["body.0.id","body.1.body.body.2.declarations.0.init.callee","body.0.body.body.2.argument.callee.left"],_interopRequireWildcard:["body.1.id"]},exportBindingAssignments:[],exportName:"_interopRequireWildcard",dependencies:{}}),isNativeFunction:u("7.0.0-beta.0",'function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(n){return"function"==typeof t}}',{globals:["Function"],locals:{_isNativeFunction:["body.0.id"]},exportBindingAssignments:[],exportName:"_isNativeFunction",dependencies:{}}),isNativeReflectConstruct:u("7.9.0","function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function(){return!!t})()}",{globals:["Boolean","Reflect"],locals:{_isNativeReflectConstruct:["body.0.id","body.0.body.body.1.argument.callee.left"]},exportBindingAssignments:["body.0.body.body.1.argument.callee"],exportName:"_isNativeReflectConstruct",dependencies:{}}),iterableToArray:u("7.0.0-beta.0",'function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}',{globals:["Symbol","Array"],locals:{_iterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArray",dependencies:{}}),iterableToArrayLimit:u("7.0.0-beta.0",'function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}',{globals:["Symbol","Object"],locals:{_iterableToArrayLimit:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArrayLimit",dependencies:{}}),jsx:u("7.0.0-beta.0",'var REACT_ELEMENT_TYPE;function _createRawReactElement(e,r,E,l){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,n=arguments.length-3;if(r||0===n||(r={children:void 0}),1===n)r.children=l;else if(n>1){for(var t=Array(n),f=0;f<n;f++)t[f]=arguments[f+3];r.children=t}if(r&&o)for(var i in o)void 0===r[i]&&(r[i]=o[i]);else r||(r=o||{});return{$$typeof:REACT_ELEMENT_TYPE,type:e,key:void 0===E?null:""+E,ref:null,props:r,_owner:null}}',{globals:["Symbol","Array"],locals:{REACT_ELEMENT_TYPE:["body.0.declarations.0.id","body.1.body.body.0.expression.left","body.1.body.body.4.argument.properties.0.value","body.1.body.body.0.expression.right.left"],_createRawReactElement:["body.1.id"]},exportBindingAssignments:[],exportName:"_createRawReactElement",dependencies:{}}),maybeArrayLike:u("7.9.0",'function _maybeArrayLike(r,a,e){if(a&&!Array.isArray(a)&&"number"==typeof a.length){var y=a.length;return arrayLikeToArray(a,void 0!==e&&e<y?e:y)}return r(a,e)}',{globals:["Array"],locals:{_maybeArrayLike:["body.0.id"]},exportBindingAssignments:[],exportName:"_maybeArrayLike",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.1.argument.callee"]}}),newArrowCheck:u("7.0.0-beta.0",'function _newArrowCheck(n,r){if(n!==r)throw new TypeError("Cannot instantiate an arrow function")}',{globals:["TypeError"],locals:{_newArrowCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_newArrowCheck",dependencies:{}}),nonIterableRest:u("7.0.0-beta.0",'function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["TypeError"],locals:{_nonIterableRest:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableRest",dependencies:{}}),nonIterableSpread:u("7.0.0-beta.0",'function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["TypeError"],locals:{_nonIterableSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableSpread",dependencies:{}}),nullishReceiverError:u("7.22.6",'function _nullishReceiverError(r){throw new TypeError("Cannot set property of null or undefined.")}',{globals:["TypeError"],locals:{_nullishReceiverError:["body.0.id"]},exportBindingAssignments:[],exportName:"_nullishReceiverError",dependencies:{}}),objectDestructuringEmpty:u("7.0.0-beta.0",'function _objectDestructuringEmpty(t){if(null==t)throw new TypeError("Cannot destructure "+t)}',{globals:["TypeError"],locals:{_objectDestructuringEmpty:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectDestructuringEmpty",dependencies:{}}),objectSpread2:u("7.5.0","function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread2(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){defineProperty(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}",{globals:["Object"],locals:{ownKeys:["body.0.id","body.1.body.body.0.body.body.1.expression.consequent.callee.object.callee","body.1.body.body.0.body.body.1.expression.alternate.alternate.callee.object.callee"],_objectSpread2:["body.1.id"]},exportBindingAssignments:[],exportName:"_objectSpread2",dependencies:{defineProperty:["body.1.body.body.0.body.body.1.expression.consequent.arguments.0.body.body.0.expression.callee"]}}),objectWithoutProperties:u("7.0.0-beta.0","function _objectWithoutProperties(e,t){if(null==e)return{};var o,r,i=objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)o=n[r],t.indexOf(o)>=0||{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}",{globals:["Object"],locals:{_objectWithoutProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutProperties",dependencies:{objectWithoutPropertiesLoose:["body.0.body.body.1.declarations.2.init.callee"]}}),objectWithoutPropertiesLoose:u("7.0.0-beta.0","function _objectWithoutPropertiesLoose(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.indexOf(n)>=0)continue;t[n]=r[n]}return t}",{globals:[],locals:{_objectWithoutPropertiesLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutPropertiesLoose",dependencies:{}}),possibleConstructorReturn:u("7.0.0-beta.0",'function _possibleConstructorReturn(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return assertThisInitialized(t)}',{globals:["TypeError"],locals:{_possibleConstructorReturn:["body.0.id"]},exportBindingAssignments:[],exportName:"_possibleConstructorReturn",dependencies:{assertThisInitialized:["body.0.body.body.2.argument.callee"]}}),readOnlyError:u("7.0.0-beta.0",`function _readOnlyError(r){throw new TypeError('"'+r+'" is read-only')}`,{globals:["TypeError"],locals:{_readOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_readOnlyError",dependencies:{}}),regeneratorRuntime:u("7.18.0",`function _regeneratorRuntime(){"use strict";
|
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},e.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,(function(){return this})),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,(function(){return this})),define(g,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next}return next.done=!0,next}},e.values=values,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}`,{globals:["Object","Symbol","Error","TypeError","isNaN","Promise"],locals:{_regeneratorRuntime:["body.0.id","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_regeneratorRuntime",dependencies:{}}),set:u("7.0.0-beta.0",'function set(e,r,t,o){return set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,r,t,o){var f,i=superPropBase(e,r);if(i){if((f=Object.getOwnPropertyDescriptor(i,r)).set)return f.set.call(o,t),!0;if(!f.writable)return!1}if(f=Object.getOwnPropertyDescriptor(o,r)){if(!f.writable)return!1;f.value=t,Object.defineProperty(o,r,f)}else defineProperty(o,r,t);return!0},set(e,r,t,o)}function _set(e,r,t,o,f){if(!set(e,r,t,o||e)&&f)throw new TypeError("failed to set property");return t}',{globals:["Reflect","Object","TypeError"],locals:{set:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.0.test.left.argument.callee","body.0.body.body.0.argument.expressions.0.left"],_set:["body.1.id"]},exportBindingAssignments:[],exportName:"_set",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.1.init.callee"],defineProperty:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.2.alternate.expression.callee"]}}),setFunctionName:u("7.23.6",'function setFunctionName(e,t,n){"symbol"==typeof t&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}',{globals:["Object"],locals:{setFunctionName:["body.0.id"]},exportBindingAssignments:[],exportName:"setFunctionName",dependencies:{}}),setPrototypeOf:u("7.0.0-beta.0","function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}",{globals:["Object"],locals:{_setPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_setPrototypeOf",dependencies:{}}),skipFirstGeneratorNext:u("7.0.0-beta.0","function _skipFirstGeneratorNext(t){return function(){var r=t.apply(this,arguments);return r.next(),r}}",{globals:[],locals:{_skipFirstGeneratorNext:["body.0.id"]},exportBindingAssignments:[],exportName:"_skipFirstGeneratorNext",dependencies:{}}),slicedToArray:u("7.0.0-beta.0","function _slicedToArray(r,e){return arrayWithHoles(r)||iterableToArrayLimit(r,e)||unsupportedIterableToArray(r,e)||nonIterableRest()}",{globals:[],locals:{_slicedToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_slicedToArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArrayLimit:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]}}),superPropBase:u("7.0.0-beta.0","function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=getPrototypeOf(t)););return t}",{globals:[],locals:{_superPropBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropBase",dependencies:{getPrototypeOf:["body.0.body.body.0.test.right.right.right.callee"]}}),taggedTemplateLiteral:u("7.0.0-beta.0","function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}",{globals:["Object"],locals:{_taggedTemplateLiteral:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteral",dependencies:{}}),taggedTemplateLiteralLoose:u("7.0.0-beta.0","function _taggedTemplateLiteralLoose(e,t){return t||(t=e.slice(0)),e.raw=t,e}",{globals:[],locals:{_taggedTemplateLiteralLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteralLoose",dependencies:{}}),tdz:u("7.5.5",'function _tdzError(e){throw new ReferenceError(e+" is not defined - temporal dead zone")}',{globals:["ReferenceError"],locals:{_tdzError:["body.0.id"]},exportBindingAssignments:[],exportName:"_tdzError",dependencies:{}}),temporalRef:u("7.0.0-beta.0","function _temporalRef(r,e){return r===undef?err(e):r}",{globals:[],locals:{_temporalRef:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalRef",dependencies:{temporalUndefined:["body.0.body.body.0.argument.test.right"],tdz:["body.0.body.body.0.argument.consequent.callee"]}}),temporalUndefined:u("7.0.0-beta.0","function _temporalUndefined(){}",{globals:[],locals:{_temporalUndefined:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalUndefined",dependencies:{}}),toArray:u("7.0.0-beta.0","function _toArray(r){return arrayWithHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableRest()}",{globals:[],locals:{_toArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]}}),toConsumableArray:u("7.0.0-beta.0","function _toConsumableArray(r){return arrayWithoutHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableSpread()}",{globals:[],locals:{_toConsumableArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toConsumableArray",dependencies:{arrayWithoutHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableSpread:["body.0.body.body.0.argument.right.callee"]}}),toPrimitive:u("7.1.5",'function toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}',{globals:["Symbol","TypeError","String","Number"],locals:{toPrimitive:["body.0.id"]},exportBindingAssignments:[],exportName:"toPrimitive",dependencies:{}}),toPropertyKey:u("7.1.5",'function toPropertyKey(t){var i=toPrimitive(t,"string");return"symbol"==typeof i?i:i+""}',{globals:[],locals:{toPropertyKey:["body.0.id"]},exportBindingAssignments:[],exportName:"toPropertyKey",dependencies:{toPrimitive:["body.0.body.body.0.declarations.0.init.callee"]}}),toSetter:u("7.24.0",'function _toSetter(t,e,n){e||(e=[]);var r=e.length++;return Object.defineProperty({},"_",{set:function(o){e[r]=o,t.apply(n,e)}})}',{globals:["Object"],locals:{_toSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_toSetter",dependencies:{}}),typeof:u("7.0.0-beta.0",'function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}',{globals:["Symbol"],locals:{_typeof:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_typeof",dependencies:{}}),unsupportedIterableToArray:u("7.9.0",'function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?arrayLikeToArray(r,a):void 0}}',{globals:["Array"],locals:{_unsupportedIterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_unsupportedIterableToArray",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.0.consequent.argument.callee","body.0.body.body.0.consequent.body.2.argument.expressions.1.alternate.consequent.callee"]}}),usingCtx:u("7.23.9",'function _usingCtx(){var r="function"==typeof SuppressedError?SuppressedError:function(r,n){var e=Error();return e.name="SuppressedError",e.error=r,e.suppressed=n,e},n={},e=[];function using(r,n){if(null!=n){if(Object(n)!==n)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(r)var o=n[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(null==o&&(o=n[Symbol.dispose||Symbol.for("Symbol.dispose")]),"function"!=typeof o)throw new TypeError("Property [Symbol.dispose] is not a function.");e.push({v:n,d:o,a:r})}else r&&e.push({d:n,a:r});return n}return{e:n,u:using.bind(null,!1),a:using.bind(null,!0),d:function(){var o=this.e;function next(){for(;r=e.pop();)try{var r,t=r.d&&r.d.call(r.v);if(r.a)return Promise.resolve(t).then(next,err)}catch(r){return err(r)}if(o!==n)throw o}function err(e){return o=o!==n?new r(e,o):e,next()}return next()}}}',{globals:["SuppressedError","Error","Object","TypeError","Symbol","Promise"],locals:{_usingCtx:["body.0.id"]},exportBindingAssignments:[],exportName:"_usingCtx",dependencies:{}}),wrapAsyncGenerator:u("7.0.0-beta.0",'function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments))}}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof OverloadYield;Promise.resolve(u?o.v:o).then((function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value}settle(n.done?"return":"normal",t)}),(function(e){resume("throw",e)}))}catch(e){settle("throw",e)}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1})}(r=r.next)?resume(r.key,r.arg):t=null}this._invoke=function(e,n){return new Promise((function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};',{globals:["Promise","Symbol"],locals:{_wrapAsyncGenerator:["body.0.id"],AsyncGenerator:["body.1.id","body.0.body.body.0.argument.body.body.0.argument.callee","body.2.expression.expressions.0.left.object.object","body.2.expression.expressions.1.left.object.object","body.2.expression.expressions.2.left.object.object","body.2.expression.expressions.3.left.object.object"]},exportBindingAssignments:[],exportName:"_wrapAsyncGenerator",dependencies:{OverloadYield:["body.1.body.body.1.body.body.0.block.body.0.declarations.2.init.right"]}}),wrapNativeSuper:u("7.0.0-beta.0",'function _wrapNativeSuper(t){var r="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(t){if(null===t||!isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper)}function Wrapper(){return construct(t,arguments,getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),setPrototypeOf(Wrapper,t)},_wrapNativeSuper(t)}',{globals:["Map","TypeError","Object"],locals:{_wrapNativeSuper:["body.0.id","body.0.body.body.1.argument.expressions.1.callee","body.0.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.1.argument.expressions.0"],exportName:"_wrapNativeSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.arguments.2.object.callee"],setPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.4.argument.expressions.1.callee"],isNativeFunction:["body.0.body.body.1.argument.expressions.0.right.body.body.0.test.right.argument.callee"],construct:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.callee"]}}),wrapRegExp:u("7.19.0",'function _wrapRegExp(){_wrapRegExp=function(e,r){return new BabelRegExp(e,void 0,r)};var e=RegExp.prototype,r=new WeakMap;function BabelRegExp(e,t,p){var o=RegExp(e,t);return r.set(o,p||r.get(e)),setPrototypeOf(o,BabelRegExp.prototype)}function buildGroups(e,t){var p=r.get(t);return Object.keys(p).reduce((function(r,t){var o=p[t];if("number"==typeof o)r[t]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1<o.length;)i++;r[t]=e[o[i]]}return r}),Object.create(null))}return inherits(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(r){var t=e.exec.call(this,r);if(t){t.groups=buildGroups(t,this);var p=t.indices;p&&(p.groups=buildGroups(p,this))}return t},BabelRegExp.prototype[Symbol.replace]=function(t,p){if("string"==typeof p){var o=r.get(this);return e[Symbol.replace].call(this,t,p.replace(/\\$<([^>]+)>/g,(function(e,r){var t=o[r];return"$"+(Array.isArray(t)?t.join("$"):t)})))}if("function"==typeof p){var i=this;return e[Symbol.replace].call(this,t,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(buildGroups(e,i)),p.apply(this,e)}))}return e[Symbol.replace].call(this,t,p)},_wrapRegExp.apply(this,arguments)}',{globals:["RegExp","WeakMap","Object","Symbol","Array"],locals:{_wrapRegExp:["body.0.id","body.0.body.body.4.argument.expressions.3.callee.object","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_wrapRegExp",dependencies:{setPrototypeOf:["body.0.body.body.2.body.body.1.argument.expressions.1.callee"],inherits:["body.0.body.body.4.argument.expressions.0.callee"]}}),writeOnlyError:u("7.12.13",`function _writeOnlyError(r){throw new TypeError('"'+r+'" is write-only')}`,{globals:["TypeError"],locals:{_writeOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_writeOnlyError",dependencies:{}})};Object.assign(H,{AwaitValue:u("7.0.0-beta.0","function _AwaitValue(t){this.wrapped=t}",{globals:[],locals:{_AwaitValue:["body.0.id"]},exportBindingAssignments:[],exportName:"_AwaitValue",dependencies:{}}),applyDecs:u("7.17.8",'function old_createMetadataMethodsForProperty(e,t,a,r){return{getMetadata:function(o){old_assertNotFinished(r,"getMetadata"),old_assertMetadataKey(o);var i=e[o];if(void 0!==i)if(1===t){var n=i.public;if(void 0!==n)return n[a]}else if(2===t){var l=i.private;if(void 0!==l)return l.get(a)}else if(Object.hasOwnProperty.call(i,"constructor"))return i.constructor},setMetadata:function(o,i){old_assertNotFinished(r,"setMetadata"),old_assertMetadataKey(o);var n=e[o];if(void 0===n&&(n=e[o]={}),1===t){var l=n.public;void 0===l&&(l=n.public={}),l[a]=i}else if(2===t){var s=n.priv;void 0===s&&(s=n.private=new Map),s.set(a,i)}else n.constructor=i}}}function old_convertMetadataMapToFinal(e,t){var a=e[Symbol.metadata||Symbol.for("Symbol.metadata")],r=Object.getOwnPropertySymbols(t);if(0!==r.length){for(var o=0;o<r.length;o++){var i=r[o],n=t[i],l=a?a[i]:null,s=n.public,c=l?l.public:null;s&&c&&Object.setPrototypeOf(s,c);var d=n.private;if(d){var u=Array.from(d.values()),f=l?l.private:null;f&&(u=u.concat(f)),n.private=u}l&&Object.setPrototypeOf(n,l)}a&&Object.setPrototypeOf(t,a),e[Symbol.metadata||Symbol.for("Symbol.metadata")]=t}}function old_createAddInitializerMethod(e,t){return function(a){old_assertNotFinished(t,"addInitializer"),old_assertCallable(a,"An initializer"),e.push(a)}}function old_memberDec(e,t,a,r,o,i,n,l,s){var c;switch(i){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var d,u,f={kind:c,name:l?"#"+t:toPropertyKey(t),isStatic:n,isPrivate:l},p={v:!1};if(0!==i&&(f.addInitializer=old_createAddInitializerMethod(o,p)),l){d=2,u=Symbol(t);var v={};0===i?(v.get=a.get,v.set=a.set):2===i?v.get=function(){return a.value}:(1!==i&&3!==i||(v.get=function(){return a.get.call(this)}),1!==i&&4!==i||(v.set=function(e){a.set.call(this,e)})),f.access=v}else d=1,u=t;try{return e(s,Object.assign(f,old_createMetadataMethodsForProperty(r,d,u,p)))}finally{p.v=!0}}function old_assertNotFinished(e,t){if(e.v)throw Error("attempted to call "+t+" after decoration was finished")}function old_assertMetadataKey(e){if("symbol"!=typeof e)throw new TypeError("Metadata keys must be symbols, received: "+e)}function old_assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function old_assertValidReturnValue(e,t){var a=typeof t;if(1===e){if("object"!==a||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&old_assertCallable(t.get,"accessor.get"),void 0!==t.set&&old_assertCallable(t.set,"accessor.set"),void 0!==t.init&&old_assertCallable(t.init,"accessor.init"),void 0!==t.initializer&&old_assertCallable(t.initializer,"accessor.initializer")}else if("function"!==a)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function old_getInit(e){var t;return null==(t=e.init)&&(t=e.initializer)&&void 0!==console&&console.warn(".initializer has been renamed to .init as of March 2022"),t}function old_applyMemberDec(e,t,a,r,o,i,n,l,s){var c,d,u,f,p,v,y,h=a[0];if(n?(0===o||1===o?(c={get:a[3],set:a[4]},u="get"):3===o?(c={get:a[3]},u="get"):4===o?(c={set:a[3]},u="set"):c={value:a[3]},0!==o&&(1===o&&setFunctionName(a[4],"#"+r,"set"),setFunctionName(a[3],"#"+r,u))):0!==o&&(c=Object.getOwnPropertyDescriptor(t,r)),1===o?f={get:c.get,set:c.set}:2===o?f=c.value:3===o?f=c.get:4===o&&(f=c.set),"function"==typeof h)void 0!==(p=old_memberDec(h,r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?d=p:1===o?(d=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p);else for(var m=h.length-1;m>=0;m--){var b;void 0!==(p=old_memberDec(h[m],r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?b=p:1===o?(b=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b)))}if(0===o||1===o){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var g=d;d=function(e,t){for(var a=t,r=0;r<g.length;r++)a=g[r].call(e,a);return a}}else{var _=d;d=function(e,t){return _.call(e,t)}}e.push(d)}0!==o&&(1===o?(c.get=f.get,c.set=f.set):2===o?c.value=f:3===o?c.get=f:4===o&&(c.set=f),n?1===o?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===o?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,r,c))}function old_applyMemberDecs(e,t,a,r,o){for(var i,n,l=new Map,s=new Map,c=0;c<o.length;c++){var d=o[c];if(Array.isArray(d)){var u,f,p,v=d[1],y=d[2],h=d.length>3,m=v>=5;if(m?(u=t,f=r,0!=(v-=5)&&(p=n=n||[])):(u=t.prototype,f=a,0!==v&&(p=i=i||[])),0!==v&&!h){var b=m?s:l,g=b.get(y)||0;if(!0===g||3===g&&4!==v||4===g&&3!==v)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+y);!g&&v>2?b.set(y,v):b.set(y,!0)}old_applyMemberDec(e,u,d,y,v,m,h,f,p)}}old_pushInitializers(e,i),old_pushInitializers(e,n)}function old_pushInitializers(e,t){t&&e.push((function(e){for(var a=0;a<t.length;a++)t[a].call(e);return e}))}function old_applyClassDecs(e,t,a,r){if(r.length>0){for(var o=[],i=t,n=t.name,l=r.length-1;l>=0;l--){var s={v:!1};try{var c=Object.assign({kind:"class",name:n,addInitializer:old_createAddInitializerMethod(o,s)},old_createMetadataMethodsForProperty(a,0,n,s)),d=r[l](i,c)}finally{s.v=!0}void 0!==d&&(old_assertValidReturnValue(10,d),i=d)}e.push(i,(function(){for(var e=0;e<o.length;e++)o[e].call(i)}))}}function applyDecs(e,t,a){var r=[],o={},i={};return old_applyMemberDecs(r,e,i,o,t),old_convertMetadataMapToFinal(e.prototype,i),old_applyClassDecs(r,e,o,a),old_convertMetadataMapToFinal(e,o),r}',{globals:["Object","Map","Symbol","Array","Error","TypeError","console"],locals:{old_createMetadataMethodsForProperty:["body.0.id","body.3.body.body.4.block.body.0.argument.arguments.1.arguments.1.callee","body.12.body.body.0.consequent.body.0.body.body.1.block.body.0.declarations.0.init.arguments.1.callee"],old_convertMetadataMapToFinal:["body.1.id","body.13.body.body.1.argument.expressions.1.callee","body.13.body.body.1.argument.expressions.3.callee"],old_createAddInitializerMethod:["body.2.id","body.3.body.body.3.test.expressions.0.right.right.callee","body.12.body.body.0.consequent.body.0.body.body.1.block.body.0.declarations.0.init.arguments.0.properties.2.value.callee"],old_memberDec:["body.3.id","body.9.body.body.1.consequent.expression.left.right.right.callee","body.9.body.body.1.alternate.body.body.1.expression.left.right.right.callee"],old_assertNotFinished:["body.4.id","body.0.body.body.0.argument.properties.0.value.body.body.0.expression.expressions.0.callee","body.0.body.body.0.argument.properties.1.value.body.body.0.expression.expressions.0.callee","body.2.body.body.0.argument.body.body.0.expression.expressions.0.callee"],old_assertMetadataKey:["body.5.id","body.0.body.body.0.argument.properties.0.value.body.body.0.expression.expressions.1.callee","body.0.body.body.0.argument.properties.1.value.body.body.0.expression.expressions.1.callee"],old_assertCallable:["body.6.id","body.2.body.body.0.argument.body.body.0.expression.expressions.1.callee","body.7.body.body.1.consequent.body.1.expression.expressions.0.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.1.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.2.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.3.right.callee"],old_assertValidReturnValue:["body.7.id","body.9.body.body.1.consequent.expression.right.expressions.0.callee","body.9.body.body.1.alternate.body.body.1.expression.right.expressions.0.callee","body.12.body.body.0.consequent.body.0.body.body.2.expression.right.expressions.0.callee"],old_getInit:["body.8.id","body.9.body.body.1.consequent.expression.right.expressions.1.alternate.consequent.expressions.0.right.callee","body.9.body.body.1.alternate.body.body.1.expression.right.expressions.1.alternate.consequent.expressions.0.right.callee"],old_applyMemberDec:["body.9.id","body.10.body.body.0.body.body.1.consequent.body.2.expression.callee"],old_applyMemberDecs:["body.10.id","body.13.body.body.1.argument.expressions.0.callee"],old_pushInitializers:["body.11.id","body.10.body.body.1.expression.expressions.0.callee","body.10.body.body.1.expression.expressions.1.callee"],old_applyClassDecs:["body.12.id","body.13.body.body.1.argument.expressions.2.callee"],applyDecs:["body.13.id"]},exportBindingAssignments:[],exportName:"applyDecs",dependencies:{setFunctionName:["body.9.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.9.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.3.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]}}),applyDecs2203:u("7.19.0",'function applyDecs2203Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,a,n,i,s,o){var c;switch(n){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:s?"#"+t:t,static:i,private:s},p={v:!1};0!==n&&(f.addInitializer=createAddInitializerMethod(a,p)),0===n?s?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===n?l=function(){return r.value}:(1!==n&&3!==n||(l=function(){return r.get.call(this)}),1!==n&&4!==n||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(o,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function applyMemberDec(e,t,r,a,n,i,s,o){var c,l,u,f,p,d,h=r[0];if(s?c=0===n||1===n?{get:r[3],set:r[4]}:3===n?{get:r[3]}:4===n?{set:r[3]}:{value:r[3]}:0!==n&&(c=Object.getOwnPropertyDescriptor(t,a)),1===n?u={get:c.get,set:c.set}:2===n?u=c.value:3===n?u=c.get:4===n&&(u=c.set),"function"==typeof h)void 0!==(f=memberDec(h,a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?l=f:1===n?(l=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f);else for(var v=h.length-1;v>=0;v--){var g;void 0!==(f=memberDec(h[v],a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?g=f:1===n?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g)))}if(0===n||1===n){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,a=0;a<y.length;a++)r=y[a].call(e,r);return r}}else{var m=l;l=function(e,t){return m.call(e,t)}}e.push(l)}0!==n&&(1===n?(c.get=u.get,c.set=u.set):2===n?c.value=u:3===n?c.get=u:4===n&&(c.set=u),s?1===n?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===n?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,a,c))}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){var a=[];return function(e,t,r){for(var a,n,i=new Map,s=new Map,o=0;o<r.length;o++){var c=r[o];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=t,0!=(f-=5)&&(u=n=n||[])):(l=t.prototype,0!==f&&(u=a=a||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(e,l,c,p,f,h,d,u)}}pushInitializers(e,a),pushInitializers(e,n)}(a,e,t),function(e,t,r){if(r.length>0){for(var a=[],n=t,i=t.name,s=r.length-1;s>=0;s--){var o={v:!1};try{var c=r[s](n,{kind:"class",name:i,addInitializer:createAddInitializerMethod(a,o)})}finally{o.v=!0}void 0!==c&&(assertValidReturnValue(10,c),n=c)}e.push(n,(function(){for(var e=0;e<a.length;e++)a[e].call(n)}))}}(a,e,r),a}}var applyDecs2203Impl;function applyDecs2203(e,t,r){return(applyDecs2203Impl=applyDecs2203Impl||applyDecs2203Factory())(e,t,r)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2203Factory:["body.0.id","body.2.body.body.0.argument.callee.right.right.callee"],applyDecs2203Impl:["body.1.declarations.0.id","body.2.body.body.0.argument.callee.right.left","body.2.body.body.0.argument.callee.left"],applyDecs2203:["body.2.id"]},exportBindingAssignments:[],exportName:"applyDecs2203",dependencies:{}}),applyDecs2203R:u("7.20.0",'function applyDecs2203RFactory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,n,a,i,o,s){var c;switch(a){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:o?"#"+t:toPropertyKey(t),static:i,private:o},p={v:!1};0!==a&&(f.addInitializer=createAddInitializerMethod(n,p)),0===a?o?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===a?l=function(){return r.value}:(1!==a&&3!==a||(l=function(){return r.get.call(this)}),1!==a&&4!==a||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(s,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function applyMemberDec(e,t,r,n,a,i,o,s){var c,l,u,f,p,d,h,v=r[0];if(o?(0===a||1===a?(c={get:r[3],set:r[4]},u="get"):3===a?(c={get:r[3]},u="get"):4===a?(c={set:r[3]},u="set"):c={value:r[3]},0!==a&&(1===a&&setFunctionName(r[4],"#"+n,"set"),setFunctionName(r[3],"#"+n,u))):0!==a&&(c=Object.getOwnPropertyDescriptor(t,n)),1===a?f={get:c.get,set:c.set}:2===a?f=c.value:3===a?f=c.get:4===a&&(f=c.set),"function"==typeof v)void 0!==(p=memberDec(v,n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?l=p:1===a?(l=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p);else for(var g=v.length-1;g>=0;g--){var y;void 0!==(p=memberDec(v[g],n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?y=p:1===a?(y=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p,void 0!==y&&(void 0===l?l=y:"function"==typeof l?l=[l,y]:l.push(y)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var m=l;l=function(e,t){for(var r=t,n=0;n<m.length;n++)r=m[n].call(e,r);return r}}else{var b=l;l=function(e,t){return b.call(e,t)}}e.push(l)}0!==a&&(1===a?(c.get=f.get,c.set=f.set):2===a?c.value=f:3===a?c.get=f:4===a&&(c.set=f),o?1===a?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===a?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,n,c))}function applyMemberDecs(e,t){for(var r,n,a=[],i=new Map,o=new Map,s=0;s<t.length;s++){var c=t[s];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=e,0!=(f-=5)&&(u=n=n||[])):(l=e.prototype,0!==f&&(u=r=r||[])),0!==f&&!d){var v=h?o:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(a,l,c,p,f,h,d,u)}}return pushInitializers(a,r),pushInitializers(a,n),a}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){return{e:applyMemberDecs(e,t),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var o={v:!1};try{var s=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,o)})}finally{o.v=!0}void 0!==s&&(assertValidReturnValue(10,s),n=s)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}function applyDecs2203R(e,t,r){return(applyDecs2203R=applyDecs2203RFactory())(e,t,r)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2203RFactory:["body.0.id","body.1.body.body.0.argument.callee.right.callee"],applyDecs2203R:["body.1.id","body.1.body.body.0.argument.callee.left"]},exportBindingAssignments:["body.1.body.body.0.argument.callee"],exportName:"applyDecs2203R",dependencies:{setFunctionName:["body.0.body.body.4.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.0.body.body.4.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.0.body.body.1.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]}}),applyDecs2301:u("7.21.0",'function applyDecs2301Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function assertInstanceIfPrivate(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(e,t,r,n,a,i,s,o,c){var u;switch(a){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var l,f,p={kind:u,name:s?"#"+t:toPropertyKey(t),static:i,private:s},d={v:!1};if(0!==a&&(p.addInitializer=createAddInitializerMethod(n,d)),s||0!==a&&2!==a)if(2===a)l=function(e){return assertInstanceIfPrivate(c,e),r.value};else{var h=0===a||1===a;(h||3===a)&&(l=s?function(e){return assertInstanceIfPrivate(c,e),r.get.call(e)}:function(e){return r.get.call(e)}),(h||4===a)&&(f=s?function(e,t){assertInstanceIfPrivate(c,e),r.set.call(e,t)}:function(e,t){r.set.call(e,t)})}else l=function(e){return e[t]},0===a&&(f=function(e,r){e[t]=r});var v=s?c.bind():function(e){return t in e};p.access=l&&f?{get:l,set:f,has:v}:l?{get:l,has:v}:{set:f,has:v};try{return e(o,p)}finally{d.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function curryThis2(e){return function(t){e(this,t)}}function applyMemberDec(e,t,r,n,a,i,s,o,c){var u,l,f,p,d,h,v,y,g=r[0];if(s?(0===a||1===a?(u={get:(d=r[3],function(){return d(this)}),set:curryThis2(r[4])},f="get"):3===a?(u={get:r[3]},f="get"):4===a?(u={set:r[3]},f="set"):u={value:r[3]},0!==a&&(1===a&&setFunctionName(u.set,"#"+n,"set"),setFunctionName(u[f||"value"],"#"+n,f))):0!==a&&(u=Object.getOwnPropertyDescriptor(t,n)),1===a?p={get:u.get,set:u.set}:2===a?p=u.value:3===a?p=u.get:4===a&&(p=u.set),"function"==typeof g)void 0!==(h=memberDec(g,n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?l=h:1===a?(l=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h);else for(var m=g.length-1;m>=0;m--){var b;void 0!==(h=memberDec(g[m],n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?b=h:1===a?(b=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h,void 0!==b&&(void 0===l?l=b:"function"==typeof l?l=[l,b]:l.push(b)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var I=l;l=function(e,t){for(var r=t,n=0;n<I.length;n++)r=I[n].call(e,r);return r}}else{var w=l;l=function(e,t){return w.call(e,t)}}e.push(l)}0!==a&&(1===a?(u.get=p.get,u.set=p.set):2===a?u.value=p:3===a?u.get=p:4===a&&(u.set=p),s?1===a?(e.push((function(e,t){return p.get.call(e,t)})),e.push((function(e,t){return p.set.call(e,t)}))):2===a?e.push(p):e.push((function(e,t){return p.call(e,t)})):Object.defineProperty(t,n,u))}function applyMemberDecs(e,t,r){for(var n,a,i,s=[],o=new Map,c=new Map,u=0;u<t.length;u++){var l=t[u];if(Array.isArray(l)){var f,p,d=l[1],h=l[2],v=l.length>3,y=d>=5,g=r;if(y?(f=e,0!=(d-=5)&&(p=a=a||[]),v&&!i&&(i=function(t){return checkInRHS(t)===e}),g=i):(f=e.prototype,0!==d&&(p=n=n||[])),0!==d&&!v){var m=y?c:o,b=m.get(h)||0;if(!0===b||3===b&&4!==d||4===b&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&d>2?m.set(h,d):m.set(h,!0)}applyMemberDec(s,f,l,h,d,y,v,p,g)}}return pushInitializers(s,n),pushInitializers(s,a),s}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r,n){return{e:applyMemberDecs(e,t,n),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}function applyDecs2301(e,t,r,n){return(applyDecs2301=applyDecs2301Factory())(e,t,r,n)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2301Factory:["body.0.id","body.1.body.body.0.argument.callee.right.callee"],applyDecs2301:["body.1.id","body.1.body.body.0.argument.callee.left"]},exportBindingAssignments:["body.1.body.body.0.argument.callee"],exportName:"applyDecs2301",dependencies:{checkInRHS:["body.0.body.body.7.body.body.0.body.body.1.consequent.body.1.test.expressions.0.consequent.expressions.2.right.right.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.6.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.0.body.body.6.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.0.body.body.2.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]}}),applyDecs2305:u("7.21.0",'function applyDecs2305(e,t,r,n,o,a){function i(e,t,r){return function(n,o){return r&&r(n),e[t].call(n,o)}}function c(e,t){for(var r=0;r<e.length;r++)e[r].call(t);return t}function s(e,t,r,n){if("function"!=typeof e&&(n||void 0!==e))throw new TypeError(t+" must "+(r||"be")+" a function"+(n?"":" or undefined"));return e}function applyDec(e,t,r,n,o,a,c,u,l,f,p,d,h){function m(e){if(!h(e))throw new TypeError("Attempted to access private element on non-instance")}var y,v=t[0],g=t[3],b=!u;if(!b){r||Array.isArray(v)||(v=[v]);var w={},S=[],A=3===o?"get":4===o||d?"set":"value";f?(p||d?w={get:setFunctionName((function(){return g(this)}),n,"get"),set:function(e){t[4](this,e)}}:w[A]=g,p||setFunctionName(w[A],n,2===o?"":A)):p||(w=Object.getOwnPropertyDescriptor(e,n))}for(var P=e,j=v.length-1;j>=0;j-=r?2:1){var D=v[j],E=r?v[j-1]:void 0,I={},O={kind:["field","accessor","method","getter","setter","class"][o],name:n,metadata:a,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");s(t,"An initializer","be",!0),c.push(t)}.bind(null,I)};try{if(b)(y=s(D.call(E,P,O),"class decorators","return"))&&(P=y);else{var k,F;O.static=l,O.private=f,f?2===o?k=function(e){return m(e),w.value}:(o<4&&(k=i(w,"get",m)),3!==o&&(F=i(w,"set",m))):(k=function(e){return e[n]},(o<2||4===o)&&(F=function(e,t){e[n]=t}));var N=O.access={has:f?h.bind():function(e){return n in e}};if(k&&(N.get=k),F&&(N.set=F),P=D.call(E,d?{get:w.get,set:w.set}:w[A],O),d){if("object"==typeof P&&P)(y=s(P.get,"accessor.get"))&&(w.get=y),(y=s(P.set,"accessor.set"))&&(w.set=y),(y=s(P.init,"accessor.init"))&&S.push(y);else if(void 0!==P)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0")}else s(P,(p?"field":"method")+" decorators","return")&&(p?S.push(P):w[A]=P)}}finally{I.v=!0}}return(p||d)&&u.push((function(e,t){for(var r=S.length-1;r>=0;r--)t=S[r].call(e,t);return t})),p||b||(f?d?u.push(i(w,"get"),i(w,"set")):u.push(2===o?w[A]:i.call.bind(w[A])):Object.defineProperty(e,n,w)),P}function u(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var l=a[Symbol.metadata||Symbol.for("Symbol.metadata")];var f=Object.create(null==l?null:l),p=function(e,t,r,n){var o,a,i=[],s=function(t){return checkInRHS(t)===e},u=new Map;function l(e){e&&i.push(c.bind(null,e))}for(var f=0;f<t.length;f++){var p=t[f];if(Array.isArray(p)){var d=p[1],h=p[2],m=p.length>3,y=16&d,v=!!(8&d),g=0==(d&=7),b=h+"/"+v;if(!g&&!m){var w=u.get(b);if(!0===w||3===w&&4!==d||4===w&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);u.set(b,!(d>2)||d)}applyDec(v?e:e.prototype,p,y,m?"#"+h:toPropertyKey(h),d,n,v?a=a||[]:o=o||[],i,v,m,g,1===d,v&&m?s:r)}}return l(o),l(a),i}(e,t,o,f);return r.length||u(e,f),{e:p,get c(){var t=[];return r.length&&[u(applyDec(e,[r],n,e.name,5,f,t),f),c.bind(null,t,e)]}}}',{globals:["TypeError","Array","Object","Error","Symbol","Map"],locals:{applyDecs2305:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2305",dependencies:{checkInRHS:["body.0.body.body.6.declarations.1.init.callee.body.body.0.declarations.3.init.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.6.declarations.1.init.callee.body.body.2.body.body.1.consequent.body.2.expression.arguments.3.alternate.callee"]}}),classApplyDescriptorDestructureSet:u("7.13.10",'function _classApplyDescriptorDestructureSet(e,t){if(t.set)return"__destrObj"in t||(t.__destrObj={set value(r){t.set.call(e,r)}}),t.__destrObj;if(!t.writable)throw new TypeError("attempted to set read only private field");return t}',{globals:["TypeError"],locals:{_classApplyDescriptorDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorDestructureSet",dependencies:{}}),classApplyDescriptorGet:u("7.13.10","function _classApplyDescriptorGet(e,t){return t.get?t.get.call(e):t.value}",{globals:[],locals:{_classApplyDescriptorGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorGet",dependencies:{}}),classApplyDescriptorSet:u("7.13.10",'function _classApplyDescriptorSet(e,t,l){if(t.set)t.set.call(e,l);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=l}}',{globals:["TypeError"],locals:{_classApplyDescriptorSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorSet",dependencies:{}}),classCheckPrivateStaticAccess:u("7.13.10","function _classCheckPrivateStaticAccess(s,a,r){return assertClassBrand(a,s,r)}",{globals:[],locals:{_classCheckPrivateStaticAccess:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticAccess",dependencies:{assertClassBrand:["body.0.body.body.0.argument.callee"]}}),classCheckPrivateStaticFieldDescriptor:u("7.13.10",'function _classCheckPrivateStaticFieldDescriptor(t,e){if(void 0===t)throw new TypeError("attempted to "+e+" private static field before its declaration")}',{globals:["TypeError"],locals:{_classCheckPrivateStaticFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticFieldDescriptor",dependencies:{}}),classExtractFieldDescriptor:u("7.13.10","function _classExtractFieldDescriptor(e,t){return classPrivateFieldGet2(t,e)}",{globals:[],locals:{_classExtractFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classExtractFieldDescriptor",dependencies:{classPrivateFieldGet2:["body.0.body.body.0.argument.callee"]}}),classPrivateFieldDestructureSet:u("7.4.4","function _classPrivateFieldDestructureSet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorDestructureSet(e,r)}",{globals:[],locals:{_classPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateFieldGet:u("7.0.0-beta.0","function _classPrivateFieldGet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorGet(e,r)}",{globals:[],locals:{_classPrivateFieldGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateFieldSet:u("7.0.0-beta.0","function _classPrivateFieldSet(e,t,r){var s=classPrivateFieldGet2(t,e);return classApplyDescriptorSet(e,s,r),r}",{globals:[],locals:{_classPrivateFieldSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.1.argument.expressions.0.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateMethodGet:u("7.1.6","function _classPrivateMethodGet(s,a,r){return assertClassBrand(a,s),r}",{globals:[],locals:{_classPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]}}),classPrivateMethodSet:u("7.1.6",'function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}',{globals:["TypeError"],locals:{_classPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodSet",dependencies:{}}),classStaticPrivateFieldDestructureSet:u("7.13.10",'function _classStaticPrivateFieldDestructureSet(t,r,s){return assertClassBrand(r,t),classCheckPrivateStaticFieldDescriptor(s,"set"),classApplyDescriptorDestructureSet(t,s)}',{globals:[],locals:{_classStaticPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateFieldSpecGet:u("7.0.2",'function _classStaticPrivateFieldSpecGet(t,s,r){return assertClassBrand(s,t),classCheckPrivateStaticFieldDescriptor(r,"get"),classApplyDescriptorGet(t,r)}',{globals:[],locals:{_classStaticPrivateFieldSpecGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateFieldSpecSet:u("7.0.2",'function _classStaticPrivateFieldSpecSet(s,t,r,e){return assertClassBrand(t,s),classCheckPrivateStaticFieldDescriptor(r,"set"),classApplyDescriptorSet(s,r,e),e}',{globals:[],locals:{_classStaticPrivateFieldSpecSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateMethodSet:u("7.3.2",'function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static private field")}',{globals:["TypeError"],locals:{_classStaticPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodSet",dependencies:{}}),defineEnumerableProperties:u("7.0.0-beta.0",'function _defineEnumerableProperties(e,r){for(var t in r){var n=r[t];n.configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,t,n)}if(Object.getOwnPropertySymbols)for(var a=Object.getOwnPropertySymbols(r),b=0;b<a.length;b++){var i=a[b];(n=r[i]).configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i,n)}return e}',{globals:["Object"],locals:{_defineEnumerableProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineEnumerableProperties",dependencies:{}}),dispose:u("7.22.0",'function dispose_SuppressedError(r,e){return"undefined"!=typeof SuppressedError?dispose_SuppressedError=SuppressedError:(dispose_SuppressedError=function(r,e){this.suppressed=e,this.error=r,this.stack=Error().stack},dispose_SuppressedError.prototype=Object.create(Error.prototype,{constructor:{value:dispose_SuppressedError,writable:!0,configurable:!0}})),new dispose_SuppressedError(r,e)}function _dispose(r,e,s){function next(){for(;r.length>0;)try{var o=r.pop(),p=o.d.call(o.v);if(o.a)return Promise.resolve(p).then(next,err)}catch(r){return err(r)}if(s)throw e}function err(r){return e=s?new dispose_SuppressedError(e,r):r,s=!0,next()}return next()}',{globals:["SuppressedError","Error","Object","Promise"],locals:{dispose_SuppressedError:["body.0.id","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.left.object","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.right.arguments.1.properties.0.value.properties.0.value","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.1.body.body.0.argument.expressions.0.right.consequent.callee","body.0.body.body.0.argument.expressions.0.consequent.left","body.0.body.body.0.argument.expressions.0.alternate.expressions.0.left"],_dispose:["body.1.id"]},exportBindingAssignments:[],exportName:"_dispose",dependencies:{}}),objectSpread:u("7.0.0-beta.0",'function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?Object(arguments[r]):{},o=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&o.push.apply(o,Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.forEach((function(r){defineProperty(e,r,t[r])}))}return e}',{globals:["Object"],locals:{_objectSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectSpread",dependencies:{defineProperty:["body.0.body.body.0.body.body.1.expression.expressions.1.arguments.0.body.body.0.expression.callee"]}}),using:u("7.22.0",'function _using(o,n,e){if(null==n)return n;if(Object(n)!==n)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(e)var r=n[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(null==r&&(r=n[Symbol.dispose||Symbol.for("Symbol.dispose")]),"function"!=typeof r)throw new TypeError("Property [Symbol.dispose] is not a function.");return o.push({v:n,d:r,a:e}),n}',{globals:["Object","TypeError","Symbol"],locals:{_using:["body.0.id"]},exportBindingAssignments:[],exportName:"_using",dependencies:{}})})},"./node_modules/.pnpm/@babel+helpers@7.24.7/node_modules/@babel/helpers/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.get=h,r.getDependencies=function(m){return d(m).getDependencies()},r.list=void 0,r.minVersion=function(m){return d(m).minVersion};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helpers@7.24.7/node_modules/@babel/helpers/lib/helpers-generated.js");let{cloneNode:H,identifier:a}=s;function l(m,g,y){try{let _=g.split("."),E=_.shift();for(;_.length>0;)m=m[E],E=_.shift();if(!(arguments.length>2))return m[E];m[E]=y}catch(_){throw _.message+=` (when accessing ${g})`,_}}let p=Object.create(null);function d(m){if(!p[m]){let g=u.default[m];if(!g)throw Object.assign(new ReferenceError(`Unknown helper ${m}`),{code:"BABEL_HELPER_UNKNOWN",helper:m});p[m]={minVersion:g.minVersion,build(y,_,E,A){let S=g.ast();return function(T,I,L,x,C,D){let{locals:O,dependencies:j,exportBindingAssignments:k,exportName:$}=I,U=new Set(x||[]);L&&U.add(L);for(let[F,P]of(Object.entries||(W=>Object.keys(W).map(Z=>[Z,W[Z]])))(O)){let W=F;if(L&&F===$)W=L;else for(;U.has(W);)W="_"+W;if(W!==F)for(let Z of P)l(T,Z,a(W))}for(let[F,P]of(Object.entries||(W=>Object.keys(W).map(Z=>[Z,W[Z]])))(j)){let W=typeof C=="function"&&C(F)||a(F);for(let Z of P)l(T,Z,H(W))}D?.(T,$,F=>{k.forEach(P=>l(T,P,F(l(T,P))))})}(S,g.metadata,_,E,y,A),{nodes:S.body,globals:g.metadata.globals}},getDependencies:()=>Object.keys(g.metadata.dependencies)}}return p[m]}function h(m,g,y,_,E){if(typeof y=="object"){let A=y;y=A?.type==="Identifier"?A.name:void 0}return d(m).build(g,y,_,E)}r.ensure=m=>{d(m)},r.list=Object.keys(u.default).map(m=>m.replace(/^_/,"")),r.default=h},"./node_modules/.pnpm/@babel+parser@7.24.7/node_modules/@babel/parser/lib/index.js":(o,r)=>{"use strict";function c(V,f){if(V==null)return{};var v,B,X={},ae=Object.keys(V);for(B=0;B<ae.length;B++)v=ae[B],f.indexOf(v)>=0||(X[v]=V[v]);return X}Object.defineProperty(r,"__esModule",{value:!0});class s{constructor(f,v,B){this.line=void 0,this.column=void 0,this.index=void 0,this.line=f,this.column=v,this.index=B}}class u{constructor(f,v){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=f,this.end=v}}function H(V,f){let{line:v,column:B,index:X}=V;return new s(v,B+f,X+f)}let a="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var l={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:a},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:a}};let p={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"},d=V=>V.type==="UpdateExpression"?p.UpdateExpression[`${V.prefix}`]:p[V.type];var h={AccessorIsGenerator:({kind:V})=>`A ${V}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.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",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:V})=>`Missing initializer in ${V} 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.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',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:V})=>`\`${V}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:V})=>`'import.${V}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:V,exportName:f})=>`A string literal cannot be used as an exported binding without \`from\`.
|
|
- Did you mean \`export { '${V}' as '${f}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:V})=>`'${V==="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:V})=>`Unsyntactic ${V==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:V})=>`A string literal cannot be used as an imported binding.
|
|
- Did you mean \`import { "${V}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:V})=>`\`import()\` requires exactly ${V===1?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:V})=>`Expected number in radix ${V}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:V})=>`Escape sequence in keyword ${V}.`,InvalidIdentifier:({identifierName:V})=>`Invalid identifier ${V}.`,InvalidLhs:({ancestor:V})=>`Invalid left-hand side in ${d(V)}.`,InvalidLhsBinding:({ancestor:V})=>`Binding invalid left-hand side in ${d(V)}.`,InvalidLhsOptionalChaining:({ancestor:V})=>`Invalid optional chaining in the left-hand side of ${d(V)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:V})=>`Unexpected character '${V}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:V})=>`Private name #${V} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:V})=>`Label '${V}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:V})=>`This experimental syntax requires enabling the parser plugin: ${V.map(f=>JSON.stringify(f)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:V})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${V.map(f=>JSON.stringify(f)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:V})=>`Duplicate key "${V}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:V})=>`An export name cannot include a lone surrogate, found '\\u${V.toString(16)}'.`,ModuleExportUndefined:({localName:V})=>`Export '${V}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:V})=>`Private names are only allowed in property accesses (\`obj.#${V}\`) or in \`in\` expressions (\`#${V} in obj\`).`,PrivateNameRedeclaration:({identifierName:V})=>`Duplicate private name #${V}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:V})=>`Unexpected keyword '${V}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:V})=>`Unexpected reserved word '${V}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:V,unexpected:f})=>`Unexpected token${f?` '${f}'.`:""}${V?`, expected "${V}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:V,onlyValidPropertyName:f})=>`The only valid meta property for ${V} is ${V}.${f}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:V})=>`Identifier '${V}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."};let m=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var g={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:V})=>`Invalid topic token ${V}. In order to use ${V} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${V}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:V})=>`Hack-style pipe body cannot be an unparenthesized ${d({type:V})}; please wrap it in parentheses.`,PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'};let y=["toMessage"],_=["message"];function E(V,f,v){Object.defineProperty(V,f,{enumerable:!1,configurable:!0,value:v})}function A(V){let{toMessage:f}=V,v=c(V,y);return function B(X,ae){let Te=new SyntaxError;return Object.assign(Te,v,{loc:X,pos:X.index}),"missingPlugin"in ae&&Object.assign(Te,{missingPlugin:ae.missingPlugin}),E(Te,"clone",function(Ke={}){var rt;let{line:at,column:St,index:Kt}=(rt=Ke.loc)!=null?rt:X;return B(new s(at,St,Kt),Object.assign({},ae,Ke.details))}),E(Te,"details",ae),Object.defineProperty(Te,"message",{configurable:!0,get(){let Ke=`${f(ae)} (${X.line}:${X.column})`;return this.message=Ke,Ke},set(Ke){Object.defineProperty(this,"message",{value:Ke,writable:!0})}}),Te}}function S(V,f){if(Array.isArray(V))return B=>S(B,V[0]);let v={};for(let B of Object.keys(V)){let X=V[B],ae=typeof X=="string"?{message:()=>X}:typeof X=="function"?{message:X}:X,{message:Te}=ae,Ke=c(ae,_),rt=typeof Te=="string"?()=>Te:Te;v[B]=A(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:B,toMessage:rt},f?{syntaxPlugin:f}:{},Ke))}return v}let T=Object.assign({},S(l),S(h),S({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:V})=>`Assigning to '${V}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:V})=>`Binding '${V}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."}),S`pipelineOperator`(g)),{defineProperty:I}=Object,L=(V,f)=>I(V,f,{enumerable:!1,value:V[f]});function x(V){return V.loc.start&&L(V.loc.start,"index"),V.loc.end&&L(V.loc.end,"index"),V}class C{constructor(f,v){this.token=void 0,this.preserveSpace=void 0,this.token=f,this.preserveSpace=!!v}}let D={brace:new C("{"),j_oTag:new C("<tag"),j_cTag:new C("</tag"),j_expr:new C("<tag>...</tag>",!0)};D.template=new C("`",!0);class O{constructor(f,v={}){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=f,this.keyword=v.keyword,this.beforeExpr=!!v.beforeExpr,this.startsExpr=!!v.startsExpr,this.rightAssociative=!!v.rightAssociative,this.isLoop=!!v.isLoop,this.isAssign=!!v.isAssign,this.prefix=!!v.prefix,this.postfix=!!v.postfix,this.binop=v.binop!=null?v.binop:null,this.updateContext=null}}let j=new Map;function k(V,f={}){f.keyword=V;let v=ne(V,f);return j.set(V,v),v}function $(V,f){return ne(V,{beforeExpr:!0,binop:f})}let U=-1,F=[],P=[],W=[],Z=[],ee=[],J=[];function ne(V,f={}){var v,B,X,ae;return++U,P.push(V),W.push((v=f.binop)!=null?v:-1),Z.push((B=f.beforeExpr)!=null&&B),ee.push((X=f.startsExpr)!=null&&X),J.push((ae=f.prefix)!=null&&ae),F.push(new O(V,f)),U}function K(V,f={}){var v,B,X,ae;return++U,j.set(V,U),P.push(V),W.push((v=f.binop)!=null?v:-1),Z.push((B=f.beforeExpr)!=null&&B),ee.push((X=f.startsExpr)!=null&&X),J.push((ae=f.prefix)!=null&&ae),F.push(new O("name",f)),U}let q={bracketL:ne("[",{beforeExpr:!0,startsExpr:!0}),bracketHashL:ne("#[",{beforeExpr:!0,startsExpr:!0}),bracketBarL:ne("[|",{beforeExpr:!0,startsExpr:!0}),bracketR:ne("]"),bracketBarR:ne("|]"),braceL:ne("{",{beforeExpr:!0,startsExpr:!0}),braceBarL:ne("{|",{beforeExpr:!0,startsExpr:!0}),braceHashL:ne("#{",{beforeExpr:!0,startsExpr:!0}),braceR:ne("}"),braceBarR:ne("|}"),parenL:ne("(",{beforeExpr:!0,startsExpr:!0}),parenR:ne(")"),comma:ne(",",{beforeExpr:!0}),semi:ne(";",{beforeExpr:!0}),colon:ne(":",{beforeExpr:!0}),doubleColon:ne("::",{beforeExpr:!0}),dot:ne("."),question:ne("?",{beforeExpr:!0}),questionDot:ne("?."),arrow:ne("=>",{beforeExpr:!0}),template:ne("template"),ellipsis:ne("...",{beforeExpr:!0}),backQuote:ne("`",{startsExpr:!0}),dollarBraceL:ne("${",{beforeExpr:!0,startsExpr:!0}),templateTail:ne("...`",{startsExpr:!0}),templateNonTail:ne("...${",{beforeExpr:!0,startsExpr:!0}),at:ne("@"),hash:ne("#",{startsExpr:!0}),interpreterDirective:ne("#!..."),eq:ne("=",{beforeExpr:!0,isAssign:!0}),assign:ne("_=",{beforeExpr:!0,isAssign:!0}),slashAssign:ne("_=",{beforeExpr:!0,isAssign:!0}),xorAssign:ne("_=",{beforeExpr:!0,isAssign:!0}),moduloAssign:ne("_=",{beforeExpr:!0,isAssign:!0}),incDec:ne("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:ne("!",{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:ne("~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),doubleCaret:ne("^^",{startsExpr:!0}),doubleAt:ne("@@",{startsExpr:!0}),pipeline:$("|>",0),nullishCoalescing:$("??",1),logicalOR:$("||",1),logicalAND:$("&&",2),bitwiseOR:$("|",3),bitwiseXOR:$("^",4),bitwiseAND:$("&",5),equality:$("==/!=/===/!==",6),lt:$("</>/<=/>=",7),gt:$("</>/<=/>=",7),relational:$("</>/<=/>=",7),bitShift:$("<</>>/>>>",8),bitShiftL:$("<</>>/>>>",8),bitShiftR:$("<</>>/>>>",8),plusMin:ne("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:ne("%",{binop:10,startsExpr:!0}),star:ne("*",{binop:10}),slash:$("/",10),exponent:ne("**",{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:k("in",{beforeExpr:!0,binop:7}),_instanceof:k("instanceof",{beforeExpr:!0,binop:7}),_break:k("break"),_case:k("case",{beforeExpr:!0}),_catch:k("catch"),_continue:k("continue"),_debugger:k("debugger"),_default:k("default",{beforeExpr:!0}),_else:k("else",{beforeExpr:!0}),_finally:k("finally"),_function:k("function",{startsExpr:!0}),_if:k("if"),_return:k("return",{beforeExpr:!0}),_switch:k("switch"),_throw:k("throw",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:k("try"),_var:k("var"),_const:k("const"),_with:k("with"),_new:k("new",{beforeExpr:!0,startsExpr:!0}),_this:k("this",{startsExpr:!0}),_super:k("super",{startsExpr:!0}),_class:k("class",{startsExpr:!0}),_extends:k("extends",{beforeExpr:!0}),_export:k("export"),_import:k("import",{startsExpr:!0}),_null:k("null",{startsExpr:!0}),_true:k("true",{startsExpr:!0}),_false:k("false",{startsExpr:!0}),_typeof:k("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:k("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:k("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:k("do",{isLoop:!0,beforeExpr:!0}),_for:k("for",{isLoop:!0}),_while:k("while",{isLoop:!0}),_as:K("as",{startsExpr:!0}),_assert:K("assert",{startsExpr:!0}),_async:K("async",{startsExpr:!0}),_await:K("await",{startsExpr:!0}),_defer:K("defer",{startsExpr:!0}),_from:K("from",{startsExpr:!0}),_get:K("get",{startsExpr:!0}),_let:K("let",{startsExpr:!0}),_meta:K("meta",{startsExpr:!0}),_of:K("of",{startsExpr:!0}),_sent:K("sent",{startsExpr:!0}),_set:K("set",{startsExpr:!0}),_source:K("source",{startsExpr:!0}),_static:K("static",{startsExpr:!0}),_using:K("using",{startsExpr:!0}),_yield:K("yield",{startsExpr:!0}),_asserts:K("asserts",{startsExpr:!0}),_checks:K("checks",{startsExpr:!0}),_exports:K("exports",{startsExpr:!0}),_global:K("global",{startsExpr:!0}),_implements:K("implements",{startsExpr:!0}),_intrinsic:K("intrinsic",{startsExpr:!0}),_infer:K("infer",{startsExpr:!0}),_is:K("is",{startsExpr:!0}),_mixins:K("mixins",{startsExpr:!0}),_proto:K("proto",{startsExpr:!0}),_require:K("require",{startsExpr:!0}),_satisfies:K("satisfies",{startsExpr:!0}),_keyof:K("keyof",{startsExpr:!0}),_readonly:K("readonly",{startsExpr:!0}),_unique:K("unique",{startsExpr:!0}),_abstract:K("abstract",{startsExpr:!0}),_declare:K("declare",{startsExpr:!0}),_enum:K("enum",{startsExpr:!0}),_module:K("module",{startsExpr:!0}),_namespace:K("namespace",{startsExpr:!0}),_interface:K("interface",{startsExpr:!0}),_type:K("type",{startsExpr:!0}),_opaque:K("opaque",{startsExpr:!0}),name:ne("name",{startsExpr:!0}),string:ne("string",{startsExpr:!0}),num:ne("num",{startsExpr:!0}),bigint:ne("bigint",{startsExpr:!0}),decimal:ne("decimal",{startsExpr:!0}),regexp:ne("regexp",{startsExpr:!0}),privateName:ne("#name",{startsExpr:!0}),eof:ne("eof"),jsxName:ne("jsxName"),jsxText:ne("jsxText",{beforeExpr:!0}),jsxTagStart:ne("jsxTagStart",{startsExpr:!0}),jsxTagEnd:ne("jsxTagEnd"),placeholder:ne("%%",{startsExpr:!0})};function Q(V){return V>=93&&V<=132}function z(V){return V>=58&&V<=132}function ie(V){return V>=58&&V<=136}function _e(V){return ee[V]}function He(V){return V>=129&&V<=131}function be(V){return V>=58&&V<=92}function Ve(V){return P[V]}function Fe(V){return W[V]}function me(V){return V>=24&&V<=25}function ce(V){return F[V]}F[8].updateContext=V=>{V.pop()},F[5].updateContext=F[7].updateContext=F[23].updateContext=V=>{V.push(D.brace)},F[22].updateContext=V=>{V[V.length-1]===D.template?V.pop():V.push(D.template)},F[142].updateContext=V=>{V.push(D.j_expr,D.j_oTag)};let ke="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",je="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",Oe=new RegExp("["+ke+"]"),re=new RegExp("["+ke+je+"]");ke=je=null;let fe=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],he=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function se(V,f){let v=65536;for(let B=0,X=f.length;B<X;B+=2){if(v+=f[B],v>V)return!1;if(v+=f[B+1],v>=V)return!0}return!1}function Ie(V){return V<65?V===36:V<=90||(V<97?V===95:V<=122||(V<=65535?V>=170&&Oe.test(String.fromCharCode(V)):se(V,fe)))}function ye(V){return V<48?V===36:V<58||!(V<65)&&(V<=90||(V<97?V===95:V<=122||(V<=65535?V>=170&&re.test(String.fromCharCode(V)):se(V,fe)||se(V,he))))}let $e=["implements","interface","let","package","private","protected","public","static","yield"],nt=["eval","arguments"],et=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),xe=new Set($e),pe=new Set(nt);function ue(V,f){return f&&V==="await"||V==="enum"}function Se(V,f){return ue(V,f)||xe.has(V)}function Ae(V){return pe.has(V)}function de(V,f){return Se(V,f)||Ae(V)}let We=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);class tt{constructor(f){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=f}}class mt{constructor(f,v){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=f,this.inModule=v}get inTopLevel(){return(1&this.currentScope().flags)>0}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){let f=this.currentThisScopeFlags();return(64&f)>0&&!(2&f)}get inStaticBlock(){for(let f=this.scopeStack.length-1;;f--){let{flags:v}=this.scopeStack[f];if(128&v)return!0;if(451&v)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(f){return new tt(f)}enter(f){this.scopeStack.push(this.createScope(f))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(f){return!!(130&f.flags||!this.parser.inModule&&1&f.flags)}declareName(f,v,B){let X=this.currentScope();if(8&v||16&v){this.checkRedeclarationInScope(X,f,v,B);let ae=X.names.get(f)||0;16&v?ae|=4:(X.firstLexicalName||(X.firstLexicalName=f),ae|=2),X.names.set(f,ae),8&v&&this.maybeExportDefined(X,f)}else if(4&v)for(let ae=this.scopeStack.length-1;ae>=0&&(X=this.scopeStack[ae],this.checkRedeclarationInScope(X,f,v,B),X.names.set(f,1|(X.names.get(f)||0)),this.maybeExportDefined(X,f),!(387&X.flags));--ae);this.parser.inModule&&1&X.flags&&this.undefinedExports.delete(f)}maybeExportDefined(f,v){this.parser.inModule&&1&f.flags&&this.undefinedExports.delete(v)}checkRedeclarationInScope(f,v,B,X){this.isRedeclaredInScope(f,v,B)&&this.parser.raise(T.VarRedeclaration,X,{identifierName:v})}isRedeclaredInScope(f,v,B){if(!(1&B))return!1;if(8&B)return f.names.has(v);let X=f.names.get(v);return 16&B?(2&X)>0||!this.treatFunctionsAsVarInScope(f)&&(1&X)>0:(2&X)>0&&!(8&f.flags&&f.firstLexicalName===v)||!this.treatFunctionsAsVarInScope(f)&&(4&X)>0}checkLocalExport(f){let{name:v}=f;this.scopeStack[0].names.has(v)||this.undefinedExports.set(v,f.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let f=this.scopeStack.length-1;;f--){let{flags:v}=this.scopeStack[f];if(387&v)return v}}currentThisScopeFlags(){for(let f=this.scopeStack.length-1;;f--){let{flags:v}=this.scopeStack[f];if(451&v&&!(4&v))return v}}}class At extends tt{constructor(...f){super(...f),this.declareFunctions=new Set}}class pt extends mt{createScope(f){return new At(f)}declareName(f,v,B){let X=this.currentScope();if(2048&v)return this.checkRedeclarationInScope(X,f,v,B),this.maybeExportDefined(X,f),void X.declareFunctions.add(f);super.declareName(f,v,B)}isRedeclaredInScope(f,v,B){if(super.isRedeclaredInScope(f,v,B))return!0;if(2048&B&&!f.declareFunctions.has(v)){let X=f.names.get(v);return(4&X)>0||(2&X)>0}return!1}checkLocalExport(f){this.scopeStack[0].declareFunctions.has(f.name)||super.checkLocalExport(f)}}class Nt{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(f){if(typeof f=="string")return this.plugins.has(f);{let[v,B]=f;if(!this.hasPlugin(v))return!1;let X=this.plugins.get(v);for(let ae of Object.keys(B))if(X?.[ae]!==B[ae])return!1;return!0}}getPluginOption(f,v){var B;return(B=this.plugins.get(f))==null?void 0:B[v]}}function Ce(V,f){V.trailingComments===void 0?V.trailingComments=f:V.trailingComments.unshift(...f)}function qe(V,f){V.innerComments===void 0?V.innerComments=f:V.innerComments.unshift(...f)}function ot(V,f,v){let B=null,X=f.length;for(;B===null&&X>0;)B=f[--X];B===null||B.start>v.start?qe(V,v.comments):Ce(B,v.comments)}class Ze extends Nt{addComment(f){this.filename&&(f.loc.filename=this.filename);let{commentsLen:v}=this.state;this.comments.length!==v&&(this.comments.length=v),this.comments.push(f),this.state.commentsLen++}processComment(f){let{commentStack:v}=this.state,B=v.length;if(B===0)return;let X=B-1,ae=v[X];ae.start===f.end&&(ae.leadingNode=f,X--);let{start:Te}=f;for(;X>=0;X--){let Ke=v[X],rt=Ke.end;if(!(rt>Te)){rt===Te&&(Ke.trailingNode=f);break}Ke.containingNode=f,this.finalizeComment(Ke),v.splice(X,1)}}finalizeComment(f){let{comments:v}=f;if(f.leadingNode!==null||f.trailingNode!==null)f.leadingNode!==null&&Ce(f.leadingNode,v),f.trailingNode!==null&&function(B,X){B.leadingComments===void 0?B.leadingComments=X:B.leadingComments.unshift(...X)}(f.trailingNode,v);else{let{containingNode:B,start:X}=f;if(this.input.charCodeAt(X-1)===44)switch(B.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":ot(B,B.properties,f);break;case"CallExpression":case"OptionalCallExpression":ot(B,B.arguments,f);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":ot(B,B.params,f);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":ot(B,B.elements,f);break;case"ExportNamedDeclaration":case"ImportDeclaration":ot(B,B.specifiers,f);break;default:qe(B,v)}else qe(B,v)}}finalizeRemainingComments(){let{commentStack:f}=this.state;for(let v=f.length-1;v>=0;v--)this.finalizeComment(f[v]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(f){let{commentStack:v}=this.state,{length:B}=v;if(B===0)return;let X=v[B-1];X.leadingNode===f&&(X.leadingNode=null)}resetPreviousIdentifierLeadingComments(f){let{commentStack:v}=this.state,{length:B}=v;B!==0&&(v[B-1].trailingNode===f?v[B-1].trailingNode=null:B>=2&&v[B-2].trailingNode===f&&(v[B-2].trailingNode=null))}takeSurroundingComments(f,v,B){let{commentStack:X}=this.state,ae=X.length;if(ae===0)return;let Te=ae-1;for(;Te>=0;Te--){let Ke=X[Te],rt=Ke.end;if(Ke.start===B)Ke.leadingNode=f;else if(rt===v)Ke.trailingNode=f;else if(rt<v)break}}}let Pe=/\r\n?|[\n\u2028\u2029]/,Qe=new RegExp(Pe.source,"g");function Ge(V){switch(V){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}let we=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Ne=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g,ht=new RegExp("(?=("+Ne.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function it(V){switch(V){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}class Tt{constructor(){this.flags=1024,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=139,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[D.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(1&this.flags)>0}set strict(f){f?this.flags|=1:this.flags&=-2}init({strictMode:f,sourceType:v,startLine:B,startColumn:X}){this.strict=f!==!1&&(f===!0||v==="module"),this.curLine=B,this.lineStart=-X,this.startLoc=this.endLoc=new s(B,X,0)}get maybeInArrowParameters(){return(2&this.flags)>0}set maybeInArrowParameters(f){f?this.flags|=2:this.flags&=-3}get inType(){return(4&this.flags)>0}set inType(f){f?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(8&this.flags)>0}set noAnonFunctionType(f){f?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(16&this.flags)>0}set hasFlowComment(f){f?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(32&this.flags)>0}set isAmbientContext(f){f?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(64&this.flags)>0}set inAbstractClass(f){f?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(128&this.flags)>0}set inDisallowConditionalTypesContext(f){f?this.flags|=128:this.flags&=-129}get soloAwait(){return(256&this.flags)>0}set soloAwait(f){f?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(512&this.flags)>0}set inFSharpPipelineDirectBody(f){f?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(1024&this.flags)>0}set canStartJSXElement(f){f?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(2048&this.flags)>0}set containsEsc(f){f?this.flags|=2048:this.flags&=-2049}curPosition(){return new s(this.curLine,this.pos-this.lineStart,this.pos)}clone(){let f=new Tt;return f.flags=this.flags,f.curLine=this.curLine,f.lineStart=this.lineStart,f.startLoc=this.startLoc,f.endLoc=this.endLoc,f.errors=this.errors.slice(),f.potentialArrowAt=this.potentialArrowAt,f.noArrowAt=this.noArrowAt.slice(),f.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),f.topicContext=this.topicContext,f.labels=this.labels.slice(),f.commentsLen=this.commentsLen,f.commentStack=this.commentStack.slice(),f.pos=this.pos,f.type=this.type,f.value=this.value,f.start=this.start,f.end=this.end,f.lastTokEndLoc=this.lastTokEndLoc,f.lastTokStartLoc=this.lastTokStartLoc,f.context=this.context.slice(),f.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,f.strictErrors=this.strictErrors,f.tokensLength=this.tokensLength,f}}var Ot=function(V){return V>=48&&V<=57};let Pt={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Ir={bin:V=>V===48||V===49,oct:V=>V>=48&&V<=55,dec:V=>V>=48&&V<=57,hex:V=>V>=48&&V<=57||V>=65&&V<=70||V>=97&&V<=102};function Lr(V,f,v,B,X,ae){let Te=v,Ke=B,rt=X,at="",St=null,Kt=v,{length:gr}=f;for(;;){if(v>=gr){ae.unterminated(Te,Ke,rt),at+=f.slice(Kt,v);break}let lr=f.charCodeAt(v);if(_n(V,lr,f,v)){at+=f.slice(Kt,v);break}if(lr===92){at+=f.slice(Kt,v);let Ur=_r(f,v,B,X,V==="template",ae);Ur.ch!==null||St?at+=Ur.ch:St={pos:v,lineStart:B,curLine:X},{pos:v,lineStart:B,curLine:X}=Ur,Kt=v}else lr===8232||lr===8233?(++X,B=++v):lr===10||lr===13?V==="template"?(at+=f.slice(Kt,v)+`
|
|
`,++v,lr===13&&f.charCodeAt(v)===10&&++v,++X,Kt=B=v):ae.unterminated(Te,Ke,rt):++v}return{pos:v,str:at,firstInvalidLoc:St,lineStart:B,curLine:X,containsInvalid:!!St}}function _n(V,f,v,B){return V==="template"?f===96||f===36&&v.charCodeAt(B+1)===123:f===(V==="double"?34:39)}function _r(V,f,v,B,X,ae){let Te=!X;f++;let Ke=at=>({pos:f,ch:at,lineStart:v,curLine:B}),rt=V.charCodeAt(f++);switch(rt){case 110:return Ke(`
|
|
`);case 114:return Ke("\r");case 120:{let at;return{code:at,pos:f}=bn(V,f,v,B,2,!1,Te,ae),Ke(at===null?null:String.fromCharCode(at))}case 117:{let at;return{code:at,pos:f}=on(V,f,v,B,Te,ae),Ke(at===null?null:String.fromCodePoint(at))}case 116:return Ke(" ");case 98:return Ke("\b");case 118:return Ke("\v");case 102:return Ke("\f");case 13:V.charCodeAt(f)===10&&++f;case 10:v=f,++B;case 8232:case 8233:return Ke("");case 56:case 57:if(X)return Ke(null);ae.strictNumericEscape(f-1,v,B);default:if(rt>=48&&rt<=55){let at=f-1,St=V.slice(at,f+2).match(/^[0-7]+/)[0],Kt=parseInt(St,8);Kt>255&&(St=St.slice(0,-1),Kt=parseInt(St,8)),f+=St.length-1;let gr=V.charCodeAt(f);if(St!=="0"||gr===56||gr===57){if(X)return Ke(null);ae.strictNumericEscape(at,v,B)}return Ke(String.fromCharCode(Kt))}return Ke(String.fromCharCode(rt))}}function bn(V,f,v,B,X,ae,Te,Ke){let rt=f,at;return{n:at,pos:f}=wr(V,f,v,B,16,X,ae,!1,Ke,!Te),at===null&&(Te?Ke.invalidEscapeSequence(rt,v,B):f=rt-1),{code:at,pos:f}}function wr(V,f,v,B,X,ae,Te,Ke,rt,at){let St=f,Kt=X===16?Pt.hex:Pt.decBinOct,gr=X===16?Ir.hex:X===10?Ir.dec:X===8?Ir.oct:Ir.bin,lr=!1,Ur=0;for(let pi=0,bi=ae??1/0;pi<bi;++pi){let jn=V.charCodeAt(f),Hs;if(jn!==95||Ke==="bail"){if(Hs=jn>=97?jn-97+10:jn>=65?jn-65+10:Ot(jn)?jn-48:1/0,Hs>=X){if(Hs<=9&&at)return{n:null,pos:f};if(Hs<=9&&rt.invalidDigit(f,v,B,X))Hs=0;else{if(!Te)break;Hs=0,lr=!0}}++f,Ur=Ur*X+Hs}else{let M=V.charCodeAt(f-1),oe=V.charCodeAt(f+1);if(Ke){if(Number.isNaN(oe)||!gr(oe)||Kt.has(M)||Kt.has(oe)){if(at)return{n:null,pos:f};rt.unexpectedNumericSeparator(f,v,B)}}else{if(at)return{n:null,pos:f};rt.numericSeparatorInEscapeSequence(f,v,B)}++f}}return f===St||ae!=null&&f-St!==ae||lr?{n:null,pos:f}:{n:Ur,pos:f}}function on(V,f,v,B,X,ae){let Te;if(V.charCodeAt(f)===123){if(++f,{code:Te,pos:f}=bn(V,f,v,B,V.indexOf("}",f)-f,!0,X,ae),++f,Te!==null&&Te>1114111){if(!X)return{code:null,pos:f};ae.invalidCodePoint(f,v,B)}}else({code:Te,pos:f}=bn(V,f,v,B,4,!1,X,ae));return{code:Te,pos:f}}function Cn(V,f,v){return new s(v,V-f,V)}let Jr=new Set([103,109,115,105,121,117,100,118]);class Di{constructor(f){this.type=f.type,this.value=f.value,this.start=f.start,this.end=f.end,this.loc=new u(f.startLoc,f.endLoc)}}class Gi extends Ze{constructor(f,v){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(B,X,ae,Te)=>!!this.options.errorRecovery&&(this.raise(T.InvalidDigit,Cn(B,X,ae),{radix:Te}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(T.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(T.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(T.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(T.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(B,X,ae)=>{this.recordStrictModeErrors(T.StrictNumericEscape,Cn(B,X,ae))},unterminated:(B,X,ae)=>{throw this.raise(T.UnterminatedString,Cn(B-1,X,ae))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(T.StrictNumericEscape),unterminated:(B,X,ae)=>{throw this.raise(T.UnterminatedTemplate,Cn(B,X,ae))}}),this.state=new Tt,this.state.init(f),this.input=v,this.length=v.length,this.comments=[],this.isLookahead=!1}pushToken(f){this.tokens.length=this.state.tokensLength,this.tokens.push(f),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Di(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(f){return!!this.match(f)&&(this.next(),!0)}match(f){return this.state.type===f}createLookaheadState(f){return{pos:f.pos,value:null,type:f.type,start:f.start,end:f.end,context:[this.curContext()],inType:f.inType,startLoc:f.startLoc,lastTokEndLoc:f.lastTokEndLoc,curLine:f.curLine,lineStart:f.lineStart,curPosition:f.curPosition}}lookahead(){let f=this.state;this.state=this.createLookaheadState(f),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let v=this.state;return this.state=f,v}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(f){return we.lastIndex=f,we.test(this.input)?we.lastIndex:f}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(f){return Ne.lastIndex=f,Ne.test(this.input)?Ne.lastIndex:f}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(f){let v=this.input.charCodeAt(f);if((64512&v)==55296&&++f<this.input.length){let B=this.input.charCodeAt(f);(64512&B)==56320&&(v=65536+((1023&v)<<10)+(1023&B))}return v}setStrict(f){this.state.strict=f,f&&(this.state.strictErrors.forEach(([v,B])=>this.raise(v,B)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(139):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(f){let v;this.isLookahead||(v=this.state.curPosition());let B=this.state.pos,X=this.input.indexOf(f,B+2);if(X===-1)throw this.raise(T.UnterminatedComment,this.state.curPosition());for(this.state.pos=X+f.length,Qe.lastIndex=B+2;Qe.test(this.input)&&Qe.lastIndex<=X;)++this.state.curLine,this.state.lineStart=Qe.lastIndex;if(this.isLookahead)return;let ae={type:"CommentBlock",value:this.input.slice(B+2,X),start:B,end:X+f.length,loc:new u(v,this.state.curPosition())};return this.options.tokens&&this.pushToken(ae),ae}skipLineComment(f){let v=this.state.pos,B;this.isLookahead||(B=this.state.curPosition());let X=this.input.charCodeAt(this.state.pos+=f);if(this.state.pos<this.length)for(;!Ge(X)&&++this.state.pos<this.length;)X=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let ae=this.state.pos,Te={type:"CommentLine",value:this.input.slice(v+f,ae),start:v,end:ae,loc:new u(B,this.state.curPosition())};return this.options.tokens&&this.pushToken(Te),Te}skipSpace(){let f=this.state.pos,v=[];e:for(;this.state.pos<this.length;){let B=this.input.charCodeAt(this.state.pos);switch(B){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let X=this.skipBlockComment("*/");X!==void 0&&(this.addComment(X),this.options.attachComment&&v.push(X));break}case 47:{let X=this.skipLineComment(2);X!==void 0&&(this.addComment(X),this.options.attachComment&&v.push(X));break}default:break e}break;default:if(it(B))++this.state.pos;else if(B===45&&!this.inModule&&this.options.annexB){let X=this.state.pos;if(this.input.charCodeAt(X+1)!==45||this.input.charCodeAt(X+2)!==62||!(f===0||this.state.lineStart>f))break e;{let ae=this.skipLineComment(3);ae!==void 0&&(this.addComment(ae),this.options.attachComment&&v.push(ae))}}else{if(B!==60||this.inModule||!this.options.annexB)break e;{let X=this.state.pos;if(this.input.charCodeAt(X+1)!==33||this.input.charCodeAt(X+2)!==45||this.input.charCodeAt(X+3)!==45)break e;{let ae=this.skipLineComment(4);ae!==void 0&&(this.addComment(ae),this.options.attachComment&&v.push(ae))}}}}}if(v.length>0){let B={start:f,end:this.state.pos,comments:v,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(B)}}finishToken(f,v){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let B=this.state.type;this.state.type=f,this.state.value=v,this.isLookahead||this.updateContext(B)}replaceToken(f){this.state.type=f,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let f=this.state.pos+1,v=this.codePointAtPos(f);if(v>=48&&v<=57)throw this.raise(T.UnexpectedDigitAfterHash,this.state.curPosition());if(v===123||v===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(v===123?T.RecordExpressionHashIncorrectStartSyntaxType:T.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,v===123?this.finishToken(7):this.finishToken(1)}else Ie(v)?(++this.state.pos,this.finishToken(138,this.readWord1(v))):v===92?(++this.state.pos,this.finishToken(138,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let f=this.input.charCodeAt(this.state.pos+1);f>=48&&f<=57?this.readNumber(!0):f===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let f=this.input.charCodeAt(this.state.pos+1);if(f!==33)return!1;let v=this.state.pos;for(this.state.pos+=1;!Ge(f)&&++this.state.pos<this.length;)f=this.input.charCodeAt(this.state.pos);let B=this.input.slice(v+2,this.state.pos);return this.finishToken(28,B),!0}readToken_mult_modulo(f){let v=f===42?55:54,B=1,X=this.input.charCodeAt(this.state.pos+1);f===42&&X===42&&(B++,X=this.input.charCodeAt(this.state.pos+2),v=57),X!==61||this.state.inType||(B++,v=f===37?33:30),this.finishOp(v,B)}readToken_pipe_amp(f){let v=this.input.charCodeAt(this.state.pos+1);if(v!==f){if(f===124){if(v===62)return void this.finishOp(39,2);if(this.hasPlugin("recordAndTuple")&&v===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(T.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&v===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(T.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(4)}}v!==61?this.finishOp(f===124?43:45,1):this.finishOp(30,2)}else this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(f===124?41:42,2)}readToken_caret(){let f=this.input.charCodeAt(this.state.pos+1);f!==61||this.state.inType?f===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1):this.finishOp(32,2)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(f){let v=this.input.charCodeAt(this.state.pos+1);v!==f?v===61?this.finishOp(30,2):this.finishOp(53,1):this.finishOp(34,2)}readToken_lt(){let{pos:f}=this.state,v=this.input.charCodeAt(f+1);if(v===60)return this.input.charCodeAt(f+2)===61?void this.finishOp(30,3):void this.finishOp(51,2);v!==61?this.finishOp(47,1):this.finishOp(49,2)}readToken_gt(){let{pos:f}=this.state,v=this.input.charCodeAt(f+1);if(v===62){let B=this.input.charCodeAt(f+2)===62?3:2;return this.input.charCodeAt(f+B)===61?void this.finishOp(30,B+1):void this.finishOp(52,B)}v!==61?this.finishOp(48,1):this.finishOp(49,2)}readToken_eq_excl(f){let v=this.input.charCodeAt(this.state.pos+1);if(v!==61)return f===61&&v===62?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(f===61?29:35,1);this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2)}readToken_question(){let f=this.input.charCodeAt(this.state.pos+1),v=this.input.charCodeAt(this.state.pos+2);f===63?v===61?this.finishOp(30,3):this.finishOp(40,2):f!==46||v>=48&&v<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(f){switch(f){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(T.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(T.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:{let v=this.input.charCodeAt(this.state.pos+1);if(v===120||v===88)return void this.readRadixNumber(16);if(v===111||v===79)return void this.readRadixNumber(8);if(v===98||v===66)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(f);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(f);case 124:case 38:return void this.readToken_pipe_amp(f);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(f);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(f);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(Ie(f))return void this.readWord(f)}throw this.raise(T.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(f)})}finishOp(f,v){let B=this.input.slice(this.state.pos,this.state.pos+v);this.state.pos+=v,this.finishToken(f,B)}readRegexp(){let f=this.state.startLoc,v=this.state.start+1,B,X,{pos:ae}=this.state;for(;;++ae){if(ae>=this.length)throw this.raise(T.UnterminatedRegExp,H(f,1));let at=this.input.charCodeAt(ae);if(Ge(at))throw this.raise(T.UnterminatedRegExp,H(f,1));if(B)B=!1;else{if(at===91)X=!0;else if(at===93&&X)X=!1;else if(at===47&&!X)break;B=at===92}}let Te=this.input.slice(v,ae);++ae;let Ke="",rt=()=>H(f,ae+2-v);for(;ae<this.length;){let at=this.codePointAtPos(ae),St=String.fromCharCode(at);if(Jr.has(at))at===118?Ke.includes("u")&&this.raise(T.IncompatibleRegExpUVFlags,rt()):at===117&&Ke.includes("v")&&this.raise(T.IncompatibleRegExpUVFlags,rt()),Ke.includes(St)&&this.raise(T.DuplicateRegExpFlags,rt());else{if(!ye(at)&&at!==92)break;this.raise(T.MalformedRegExpFlags,rt())}++ae,Ke+=St}this.state.pos=ae,this.finishToken(137,{pattern:Te,flags:Ke})}readInt(f,v,B=!1,X=!0){let{n:ae,pos:Te}=wr(this.input,this.state.pos,this.state.lineStart,this.state.curLine,f,v,B,X,this.errorHandlers_readInt,!1);return this.state.pos=Te,ae}readRadixNumber(f){let v=this.state.curPosition(),B=!1;this.state.pos+=2;let X=this.readInt(f);X==null&&this.raise(T.InvalidDigit,H(v,2),{radix:f});let ae=this.input.charCodeAt(this.state.pos);if(ae===110)++this.state.pos,B=!0;else if(ae===109)throw this.raise(T.InvalidDecimal,v);if(Ie(this.codePointAtPos(this.state.pos)))throw this.raise(T.NumberIdentifier,this.state.curPosition());if(B){let Te=this.input.slice(v.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,Te)}else this.finishToken(134,X)}readNumber(f){let v=this.state.pos,B=this.state.curPosition(),X=!1,ae=!1,Te=!1,Ke=!1,rt=!1;f||this.readInt(10)!==null||this.raise(T.InvalidNumber,this.state.curPosition());let at=this.state.pos-v>=2&&this.input.charCodeAt(v)===48;if(at){let lr=this.input.slice(v,this.state.pos);if(this.recordStrictModeErrors(T.StrictOctalLiteral,B),!this.state.strict){let Ur=lr.indexOf("_");Ur>0&&this.raise(T.ZeroDigitNumericSeparator,H(B,Ur))}rt=at&&!/[89]/.test(lr)}let St=this.input.charCodeAt(this.state.pos);if(St!==46||rt||(++this.state.pos,this.readInt(10),X=!0,St=this.input.charCodeAt(this.state.pos)),St!==69&&St!==101||rt||(St=this.input.charCodeAt(++this.state.pos),St!==43&&St!==45||++this.state.pos,this.readInt(10)===null&&this.raise(T.InvalidOrMissingExponent,B),X=!0,Ke=!0,St=this.input.charCodeAt(this.state.pos)),St===110&&((X||at)&&this.raise(T.InvalidBigIntLiteral,B),++this.state.pos,ae=!0),St===109&&(this.expectPlugin("decimal",this.state.curPosition()),(Ke||at)&&this.raise(T.InvalidDecimal,B),++this.state.pos,Te=!0),Ie(this.codePointAtPos(this.state.pos)))throw this.raise(T.NumberIdentifier,this.state.curPosition());let Kt=this.input.slice(v,this.state.pos).replace(/[_mn]/g,"");if(ae)return void this.finishToken(135,Kt);if(Te)return void this.finishToken(136,Kt);let gr=rt?parseInt(Kt,8):parseFloat(Kt);this.finishToken(134,gr)}readCodePoint(f){let{code:v,pos:B}=on(this.input,this.state.pos,this.state.lineStart,this.state.curLine,f,this.errorHandlers_readCodePoint);return this.state.pos=B,v}readString(f){let{str:v,pos:B,curLine:X,lineStart:ae}=Lr(f===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=B+1,this.state.lineStart=ae,this.state.curLine=X,this.finishToken(133,v)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let f=this.input[this.state.pos],{str:v,firstInvalidLoc:B,pos:X,curLine:ae,lineStart:Te}=Lr("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=X+1,this.state.lineStart=Te,this.state.curLine=ae,B&&(this.state.firstInvalidTemplateEscapePos=new s(B.curLine,B.pos-B.lineStart,B.pos)),this.input.codePointAt(X)===96?this.finishToken(24,B?null:f+v+"`"):(this.state.pos++,this.finishToken(25,B?null:f+v+"${"))}recordStrictModeErrors(f,v){let B=v.index;this.state.strict&&!this.state.strictErrors.has(B)?this.raise(f,v):this.state.strictErrors.set(B,[f,v])}readWord1(f){this.state.containsEsc=!1;let v="",B=this.state.pos,X=this.state.pos;for(f!==void 0&&(this.state.pos+=f<=65535?1:2);this.state.pos<this.length;){let ae=this.codePointAtPos(this.state.pos);if(ye(ae))this.state.pos+=ae<=65535?1:2;else{if(ae!==92)break;{this.state.containsEsc=!0,v+=this.input.slice(X,this.state.pos);let Te=this.state.curPosition(),Ke=this.state.pos===B?Ie:ye;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(T.MissingUnicodeEscape,this.state.curPosition()),X=this.state.pos-1;continue}++this.state.pos;let rt=this.readCodePoint(!0);rt!==null&&(Ke(rt)||this.raise(T.EscapedCharNotAnIdentifier,Te),v+=String.fromCodePoint(rt)),X=this.state.pos}}}return v+this.input.slice(X,this.state.pos)}readWord(f){let v=this.readWord1(f),B=j.get(v);B!==void 0?this.finishToken(B,Ve(B)):this.finishToken(132,v)}checkKeywordEscapes(){let{type:f}=this.state;be(f)&&this.state.containsEsc&&this.raise(T.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:Ve(f)})}raise(f,v,B={}){let X=f(v instanceof s?v:v.loc.start,B);if(!this.options.errorRecovery)throw X;return this.isLookahead||this.state.errors.push(X),X}raiseOverwrite(f,v,B={}){let X=v instanceof s?v:v.loc.start,ae=X.index,Te=this.state.errors;for(let Ke=Te.length-1;Ke>=0;Ke--){let rt=Te[Ke];if(rt.loc.index===ae)return Te[Ke]=f(X,B);if(rt.loc.index<ae)break}return this.raise(f,v,B)}updateContext(f){}unexpected(f,v){throw this.raise(T.UnexpectedToken,f??this.state.startLoc,{expected:v?Ve(v):null})}expectPlugin(f,v){if(this.hasPlugin(f))return!0;throw this.raise(T.MissingPlugin,v??this.state.startLoc,{missingPlugin:[f]})}expectOnePlugin(f){if(!f.some(v=>this.hasPlugin(v)))throw this.raise(T.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:f})}errorBuilder(f){return(v,B,X)=>{this.raise(f,Cn(v,B,X))}}}class mn{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Li{constructor(f){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=f}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new mn)}exit(){let f=this.stack.pop(),v=this.current();for(let[B,X]of Array.from(f.undefinedPrivateNames))v?v.undefinedPrivateNames.has(B)||v.undefinedPrivateNames.set(B,X):this.parser.raise(T.InvalidPrivateFieldResolution,X,{identifierName:B})}declarePrivateName(f,v,B){let{privateNames:X,loneAccessors:ae,undefinedPrivateNames:Te}=this.current(),Ke=X.has(f);if(3&v){let rt=Ke&&ae.get(f);rt?(Ke=(3&rt)===(3&v)||(4&rt)!==(4&v),Ke||ae.delete(f)):Ke||ae.set(f,v)}Ke&&this.parser.raise(T.PrivateNameRedeclaration,B,{identifierName:f}),X.add(f),Te.delete(f)}usePrivateName(f,v){let B;for(B of this.stack)if(B.privateNames.has(f))return;B?B.undefinedPrivateNames.set(f,v):this.parser.raise(T.InvalidPrivateFieldResolution,v,{identifierName:f})}}class us{constructor(f=0){this.type=f}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class Ni extends us{constructor(f){super(f),this.declarationErrors=new Map}recordDeclarationError(f,v){let B=v.index;this.declarationErrors.set(B,[f,v])}clearDeclarationError(f){this.declarationErrors.delete(f)}iterateErrors(f){this.declarationErrors.forEach(f)}}class xn{constructor(f){this.parser=void 0,this.stack=[new us],this.parser=f}enter(f){this.stack.push(f)}exit(){this.stack.pop()}recordParameterInitializerError(f,v){let B=v.loc.start,{stack:X}=this,ae=X.length-1,Te=X[ae];for(;!Te.isCertainlyParameterDeclaration();){if(!Te.canBeArrowParameterDeclaration())return;Te.recordDeclarationError(f,B),Te=X[--ae]}this.parser.raise(f,B)}recordArrowParameterBindingError(f,v){let{stack:B}=this,X=B[B.length-1],ae=v.loc.start;if(X.isCertainlyParameterDeclaration())this.parser.raise(f,ae);else{if(!X.canBeArrowParameterDeclaration())return;X.recordDeclarationError(f,ae)}}recordAsyncArrowParametersError(f){let{stack:v}=this,B=v.length-1,X=v[B];for(;X.canBeArrowParameterDeclaration();)X.type===2&&X.recordDeclarationError(T.AwaitBindingIdentifier,f),X=v[--B]}validateAsPattern(){let{stack:f}=this,v=f[f.length-1];v.canBeArrowParameterDeclaration()&&v.iterateErrors(([B,X])=>{this.parser.raise(B,X);let ae=f.length-2,Te=f[ae];for(;Te.canBeArrowParameterDeclaration();)Te.clearDeclarationError(X.index),Te=f[--ae]})}}function ii(){return new us}class ts{constructor(){this.stacks=[]}enter(f){this.stacks.push(f)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}}function Pn(V,f){return(V?2:0)|(f?1:0)}class si extends Gi{addExtra(f,v,B,X=!0){if(!f)return;let ae=f.extra=f.extra||{};X?ae[v]=B:Object.defineProperty(ae,v,{enumerable:X,value:B})}isContextual(f){return this.state.type===f&&!this.state.containsEsc}isUnparsedContextual(f,v){let B=f+v.length;if(this.input.slice(f,B)===v){let X=this.input.charCodeAt(B);return!(ye(X)||(64512&X)==55296)}return!1}isLookaheadContextual(f){let v=this.nextTokenStart();return this.isUnparsedContextual(v,f)}eatContextual(f){return!!this.isContextual(f)&&(this.next(),!0)}expectContextual(f,v){if(!this.eatContextual(f)){if(v!=null)throw this.raise(v,this.state.startLoc);this.unexpected(null,f)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Pe.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return ht.lastIndex=this.state.end,ht.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(f=!0){(f?this.isLineTerminator():this.eat(13))||this.raise(T.MissingSemicolon,this.state.lastTokEndLoc)}expect(f,v){this.eat(f)||this.unexpected(v,f)}tryParse(f,v=this.state.clone()){let B={node:null};try{let X=f((ae=null)=>{throw B.node=ae,B});if(this.state.errors.length>v.errors.length){let ae=this.state;return this.state=v,this.state.tokensLength=ae.tokensLength,{node:X,error:ae.errors[v.errors.length],thrown:!1,aborted:!1,failState:ae}}return{node:X,error:null,thrown:!1,aborted:!1,failState:null}}catch(X){let ae=this.state;if(this.state=v,X instanceof SyntaxError)return{node:null,error:X,thrown:!0,aborted:!1,failState:ae};if(X===B)return{node:B.node,error:null,thrown:!1,aborted:!0,failState:ae};throw X}}checkExpressionErrors(f,v){if(!f)return!1;let{shorthandAssignLoc:B,doubleProtoLoc:X,privateKeyLoc:ae,optionalParametersLoc:Te}=f;if(!v)return!!(B||X||Te||ae);B!=null&&this.raise(T.InvalidCoverInitializedName,B),X!=null&&this.raise(T.DuplicateProto,X),ae!=null&&this.raise(T.UnexpectedPrivateField,ae),Te!=null&&this.unexpected(Te)}isLiteralPropertyName(){return ie(this.state.type)}isPrivateName(f){return f.type==="PrivateName"}getPrivateNameSV(f){return f.id.name}hasPropertyAsPrivateName(f){return(f.type==="MemberExpression"||f.type==="OptionalMemberExpression")&&this.isPrivateName(f.property)}isObjectProperty(f){return f.type==="ObjectProperty"}isObjectMethod(f){return f.type==="ObjectMethod"}initializeScopes(f=this.options.sourceType==="module"){let v=this.state.labels;this.state.labels=[];let B=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let X=this.inModule;this.inModule=f;let ae=this.scope,Te=this.getScopeHandler();this.scope=new Te(this,f);let Ke=this.prodParam;this.prodParam=new ts;let rt=this.classScope;this.classScope=new Li(this);let at=this.expressionScope;return this.expressionScope=new xn(this),()=>{this.state.labels=v,this.exportedIdentifiers=B,this.inModule=X,this.scope=ae,this.prodParam=Ke,this.classScope=rt,this.expressionScope=at}}enterInitialScopes(){let f=0;this.inModule&&(f|=2),this.scope.enter(1),this.prodParam.enter(f)}checkDestructuringPrivate(f){let{privateKeyLoc:v}=f;v!==null&&this.expectPlugin("destructuringPrivate",v)}}class Vs{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class Oi{constructor(f,v,B){this.type="",this.start=v,this.end=0,this.loc=new u(B),f!=null&&f.options.ranges&&(this.range=[v,0]),f!=null&&f.filename&&(this.loc.filename=f.filename)}}let Ls=Oi.prototype;function Fi(V){let{type:f,start:v,end:B,loc:X,range:ae,extra:Te,name:Ke}=V,rt=Object.create(Ls);return rt.type=f,rt.start=v,rt.end=B,rt.loc=X,rt.range=ae,rt.extra=Te,rt.name=Ke,f==="Placeholder"&&(rt.expectedNode=V.expectedNode),rt}function qr(V){let{type:f,start:v,end:B,loc:X,range:ae,extra:Te}=V;if(f==="Placeholder")return function(rt){return Fi(rt)}(V);let Ke=Object.create(Ls);return Ke.type=f,Ke.start=v,Ke.end=B,Ke.loc=X,Ke.range=ae,V.raw!==void 0?Ke.raw=V.raw:Ke.extra=Te,Ke.value=V.value,Ke}Ls.__clone=function(){let V=new Oi(void 0,this.start,this.loc.start),f=Object.keys(this);for(let v=0,B=f.length;v<B;v++){let X=f[v];X!=="leadingComments"&&X!=="trailingComments"&&X!=="innerComments"&&(V[X]=this[X])}return V};class Mr extends si{startNode(){let f=this.state.startLoc;return new Oi(this,f.index,f)}startNodeAt(f){return new Oi(this,f.index,f)}startNodeAtNode(f){return this.startNodeAt(f.loc.start)}finishNode(f,v){return this.finishNodeAt(f,v,this.state.lastTokEndLoc)}finishNodeAt(f,v,B){return f.type=v,f.end=B.index,f.loc.end=B,this.options.ranges&&(f.range[1]=B.index),this.options.attachComment&&this.processComment(f),f}resetStartLocation(f,v){f.start=v.index,f.loc.start=v,this.options.ranges&&(f.range[0]=v.index)}resetEndLocation(f,v=this.state.lastTokEndLoc){f.end=v.index,f.loc.end=v,this.options.ranges&&(f.range[1]=v.index)}resetStartLocationFromNode(f,v){this.resetStartLocation(f,v.loc.start)}}let rs=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Br=S`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:V})=>`Cannot overwrite reserved type ${V}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:V,enumName:f})=>`Boolean enum members need to be initialized. Use either \`${V} = true,\` or \`${V} = false,\` in enum \`${f}\`.`,EnumDuplicateMemberName:({memberName:V,enumName:f})=>`Enum member names need to be unique, but the name \`${V}\` has already been used before in enum \`${f}\`.`,EnumInconsistentMemberValues:({enumName:V})=>`Enum \`${V}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:V,enumName:f})=>`Enum type \`${V}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${f}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:V})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${V}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:V,memberName:f,explicitType:v})=>`Enum \`${V}\` has type \`${v}\`, so the initializer of \`${f}\` needs to be a ${v} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:V,memberName:f})=>`Symbol enum members cannot be initialized. Use \`${f},\` in enum \`${V}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:V,memberName:f})=>`The enum member initializer for \`${f}\` needs to be a literal (either a boolean, number, or string) in enum \`${V}\`.`,EnumInvalidMemberName:({enumName:V,memberName:f,suggestion:v})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${f}\`, consider using \`${v}\`, in enum \`${V}\`.`,EnumNumberMemberNotInitialized:({enumName:V,memberName:f})=>`Number enum members need to be initialized, e.g. \`${f} = 1\` in enum \`${V}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:V})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${V}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:V})=>`Unexpected reserved type ${V}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:V,suggestion:f})=>`\`declare export ${V}\` is not supported. Use \`${f}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Rs(V){return V.importKind==="type"||V.importKind==="typeof"}let Xi={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},ns=/\*?\s*@((?:no)?flow)\b/,vr={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},Yt=S`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:V})=>`Expected corresponding JSX closing tag for <${V}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:V,HTMLEntity:f})=>`Unexpected token \`${V}\`. Did you mean \`${f}\` or \`{'${V}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function ft(V){return!!V&&(V.type==="JSXOpeningFragment"||V.type==="JSXClosingFragment")}function wt(V){if(V.type==="JSXIdentifier")return V.name;if(V.type==="JSXNamespacedName")return V.namespace.name+":"+V.name.name;if(V.type==="JSXMemberExpression")return wt(V.object)+"."+wt(V.property);throw new Error("Node had unexpected type: "+V.type)}class Vt extends tt{constructor(...f){super(...f),this.tsNames=new Map}}class nr extends mt{constructor(...f){super(...f),this.importsStack=[]}createScope(f){return this.importsStack.push(new Set),new Vt(f)}enter(f){f===256&&this.importsStack.push(new Set),super.enter(f)}exit(){let f=super.exit();return f===256&&this.importsStack.pop(),f}hasImport(f,v){let B=this.importsStack.length;if(this.importsStack[B-1].has(f))return!0;if(!v&&B>1){for(let X=0;X<B-1;X++)if(this.importsStack[X].has(f))return!0}return!1}declareName(f,v,B){if(4096&v)return this.hasImport(f,!0)&&this.parser.raise(T.VarRedeclaration,B,{identifierName:f}),void this.importsStack[this.importsStack.length-1].add(f);let X=this.currentScope(),ae=X.tsNames.get(f)||0;if(1024&v)return this.maybeExportDefined(X,f),void X.tsNames.set(f,16|ae);super.declareName(f,v,B),2&v&&(1&v||(this.checkRedeclarationInScope(X,f,v,B),this.maybeExportDefined(X,f)),ae|=1),256&v&&(ae|=2),512&v&&(ae|=4),128&v&&(ae|=8),ae&&X.tsNames.set(f,ae)}isRedeclaredInScope(f,v,B){let X=f.tsNames.get(v);return(2&X)>0?256&B?!!(512&B)!=(4&X)>0:!0:128&B&&(8&X)>0?!!(2&f.names.get(v))&&!!(1&B):!!(2&B&&(1&X)>0)||super.isRedeclaredInScope(f,v,B)}checkLocalExport(f){let{name:v}=f;if(!this.hasImport(v)){for(let B=this.scopeStack.length-1;B>=0;B--){let X=this.scopeStack[B].tsNames.get(v);if((1&X)>0||(16&X)>0)return}super.checkLocalExport(f)}}}let Hr=V=>V.type==="ParenthesizedExpression"?Hr(V.expression):V;class Bt extends Mr{toAssignable(f,v=!1){var B,X;let ae;switch((f.type==="ParenthesizedExpression"||(B=f.extra)!=null&&B.parenthesized)&&(ae=Hr(f),v?ae.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(T.InvalidParenthesizedAssignment,f):ae.type==="MemberExpression"||this.isOptionalMemberExpression(ae)||this.raise(T.InvalidParenthesizedAssignment,f):this.raise(T.InvalidParenthesizedAssignment,f)),f.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":f.type="ObjectPattern";for(let Ke=0,rt=f.properties.length,at=rt-1;Ke<rt;Ke++){var Te;let St=f.properties[Ke],Kt=Ke===at;this.toAssignableObjectExpressionProp(St,Kt,v),Kt&&St.type==="RestElement"&&(Te=f.extra)!=null&&Te.trailingCommaLoc&&this.raise(T.RestTrailingComma,f.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:Ke,value:rt}=f;this.isPrivateName(Ke)&&this.classScope.usePrivateName(this.getPrivateNameSV(Ke),Ke.loc.start),this.toAssignable(rt,v);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":f.type="ArrayPattern",this.toAssignableList(f.elements,(X=f.extra)==null?void 0:X.trailingCommaLoc,v);break;case"AssignmentExpression":f.operator!=="="&&this.raise(T.MissingEqInAssignment,f.left.loc.end),f.type="AssignmentPattern",delete f.operator,this.toAssignable(f.left,v);break;case"ParenthesizedExpression":this.toAssignable(ae,v)}}toAssignableObjectExpressionProp(f,v,B){if(f.type==="ObjectMethod")this.raise(f.kind==="get"||f.kind==="set"?T.PatternHasAccessor:T.PatternHasMethod,f.key);else if(f.type==="SpreadElement"){f.type="RestElement";let X=f.argument;this.checkToRestConversion(X,!1),this.toAssignable(X,B),v||this.raise(T.RestTrailingComma,f)}else this.toAssignable(f,B)}toAssignableList(f,v,B){let X=f.length-1;for(let ae=0;ae<=X;ae++){let Te=f[ae];if(Te){if(Te.type==="SpreadElement"){Te.type="RestElement";let Ke=Te.argument;this.checkToRestConversion(Ke,!0),this.toAssignable(Ke,B)}else this.toAssignable(Te,B);Te.type==="RestElement"&&(ae<X?this.raise(T.RestTrailingComma,Te):v&&this.raise(T.RestTrailingComma,v))}}}isAssignable(f,v){switch(f.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let B=f.properties.length-1;return f.properties.every((X,ae)=>X.type!=="ObjectMethod"&&(ae===B||X.type!=="SpreadElement")&&this.isAssignable(X))}case"ObjectProperty":return this.isAssignable(f.value);case"SpreadElement":return this.isAssignable(f.argument);case"ArrayExpression":return f.elements.every(B=>B===null||this.isAssignable(B));case"AssignmentExpression":return f.operator==="=";case"ParenthesizedExpression":return this.isAssignable(f.expression);case"MemberExpression":case"OptionalMemberExpression":return!v;default:return!1}}toReferencedList(f,v){return f}toReferencedListDeep(f,v){this.toReferencedList(f,v);for(let B of f)B?.type==="ArrayExpression"&&this.toReferencedListDeep(B.elements)}parseSpread(f){let v=this.startNode();return this.next(),v.argument=this.parseMaybeAssignAllowIn(f,void 0),this.finishNode(v,"SpreadElement")}parseRestBinding(){let f=this.startNode();return this.next(),f.argument=this.parseBindingAtom(),this.finishNode(f,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let f=this.startNode();return this.next(),f.elements=this.parseBindingList(3,93,1),this.finishNode(f,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(f,v,B){let X=1&B,ae=[],Te=!0;for(;!this.eat(f);)if(Te?Te=!1:this.expect(12),X&&this.match(12))ae.push(null);else{if(this.eat(f))break;if(this.match(21)){if(ae.push(this.parseAssignableListItemTypes(this.parseRestBinding(),B)),!this.checkCommaAfterRest(v)){this.expect(f);break}}else{let Ke=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(T.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)Ke.push(this.parseDecorator());ae.push(this.parseAssignableListItem(B,Ke))}}return ae}parseBindingRestProperty(f){return this.next(),f.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(f,"RestElement")}parseBindingProperty(){let{type:f,startLoc:v}=this.state;if(f===21)return this.parseBindingRestProperty(this.startNode());let B=this.startNode();return f===138?(this.expectPlugin("destructuringPrivate",v),this.classScope.usePrivateName(this.state.value,v),B.key=this.parsePrivateName()):this.parsePropertyName(B),B.method=!1,this.parseObjPropValue(B,v,!1,!1,!0,!1)}parseAssignableListItem(f,v){let B=this.parseMaybeDefault();this.parseAssignableListItemTypes(B,f);let X=this.parseMaybeDefault(B.loc.start,B);return v.length&&(B.decorators=v),X}parseAssignableListItemTypes(f,v){return f}parseMaybeDefault(f,v){var B;if(f!=null||(f=this.state.startLoc),v=(B=v)!=null?B:this.parseBindingAtom(),!this.eat(29))return v;let X=this.startNodeAt(f);return X.left=v,X.right=this.parseMaybeAssignAllowIn(),this.finishNode(X,"AssignmentPattern")}isValidLVal(f,v,B){return X={AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},ae=f,hasOwnProperty.call(X,ae)&&X[ae];var X,ae}isOptionalMemberExpression(f){return f.type==="OptionalMemberExpression"}checkLVal(f,{in:v,binding:B=64,checkClashes:X=!1,strictModeChanged:ae=!1,hasParenthesizedAncestor:Te=!1}){var Ke;let rt=f.type;if(this.isObjectMethod(f))return;let at=this.isOptionalMemberExpression(f);if(at||rt==="MemberExpression")return at&&(this.expectPlugin("optionalChainingAssign",f.loc.start),v.type!=="AssignmentExpression"&&this.raise(T.InvalidLhsOptionalChaining,f,{ancestor:v})),void(B!==64&&this.raise(T.InvalidPropertyBindingPattern,f));if(rt==="Identifier"){this.checkIdentifier(f,B,ae);let{name:Ur}=f;return void(X&&(X.has(Ur)?this.raise(T.ParamDupe,f):X.add(Ur)))}let St=this.isValidLVal(rt,!(Te||(Ke=f.extra)!=null&&Ke.parenthesized)&&v.type==="AssignmentExpression",B);if(St===!0)return;if(St===!1){let Ur=B===64?T.InvalidLhs:T.InvalidLhsBinding;return void this.raise(Ur,f,{ancestor:v})}let[Kt,gr]=Array.isArray(St)?St:[St,rt==="ParenthesizedExpression"],lr=rt==="ArrayPattern"||rt==="ObjectPattern"?{type:rt}:v;for(let Ur of[].concat(f[Kt]))Ur&&this.checkLVal(Ur,{in:lr,binding:B,checkClashes:X,strictModeChanged:ae,hasParenthesizedAncestor:gr})}checkIdentifier(f,v,B=!1){this.state.strict&&(B?de(f.name,this.inModule):Ae(f.name))&&(v===64?this.raise(T.StrictEvalArguments,f,{referenceName:f.name}):this.raise(T.StrictEvalArgumentsBinding,f,{bindingName:f.name})),8192&v&&f.name==="let"&&this.raise(T.LetInLexicalBinding,f),64&v||this.declareNameFromIdentifier(f,v)}declareNameFromIdentifier(f,v){this.scope.declareName(f.name,v,f.loc.start)}checkToRestConversion(f,v){switch(f.type){case"ParenthesizedExpression":this.checkToRestConversion(f.expression,v);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(v)break;default:this.raise(T.InvalidRestAssignmentPattern,f)}}checkCommaAfterRest(f){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===f?T.RestTrailingComma:T.ElementAfterRest,this.state.startLoc),!0)}}function zt(V){if(!V)throw new Error("Assert fail")}let jt=S`typescript`({AbstractMethodHasImplementation:({methodName:V})=>`Method '${V}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:V})=>`Property '${V}' cannot have an initializer because it is marked abstract.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:V})=>`'declare' is not allowed in ${V}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:V})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:V})=>`Duplicate modifier: '${V}'.`,EmptyHeritageClauseType:({token:V})=>`'${V}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:V})=>`'${V[0]}' modifier cannot be used with '${V[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:V})=>`Index signatures cannot have an accessibility modifier ('${V}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:V})=>`'${V}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:V})=>`'${V}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:V})=>`'${V}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:V})=>`'${V[0]}' modifier must precede '${V[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:V})=>`Private elements cannot have an accessibility modifier ('${V}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:V})=>`Single type parameter ${V} should have a trailing comma. Example usage: <${V},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:V})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${V}.`});function xr(V){return V==="private"||V==="public"||V==="protected"}function Or(V){return V==="in"||V==="out"}function hr(V){if(V.type!=="MemberExpression")return!1;let{computed:f,property:v}=V;return(!f||v.type==="StringLiteral"||!(v.type!=="TemplateLiteral"||v.expressions.length>0))&&Xn(V.object)}function dr(V,f){var v;let{type:B}=V;if((v=V.extra)!=null&&v.parenthesized)return!1;if(f){if(B==="Literal"){let{value:X}=V;if(typeof X=="string"||typeof X=="boolean")return!0}}else if(B==="StringLiteral"||B==="BooleanLiteral")return!0;return!(!Sn(V,f)&&!function(X,ae){if(X.type==="UnaryExpression"){let{operator:Te,argument:Ke}=X;if(Te==="-"&&Sn(Ke,ae))return!0}return!1}(V,f))||B==="TemplateLiteral"&&V.expressions.length===0||!!hr(V)}function Sn(V,f){return f?V.type==="Literal"&&(typeof V.value=="number"||"bigint"in V):V.type==="NumericLiteral"||V.type==="BigIntLiteral"}function Xn(V){return V.type==="Identifier"||V.type==="MemberExpression"&&!V.computed&&Xn(V.object)}let zn=S`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});function en(V,f){let[v,B]=typeof f=="string"?[f,{}]:f,X=Object.keys(B),ae=X.length===0;return V.some(Te=>{if(typeof Te=="string")return ae&&Te===v;{let[Ke,rt]=Te;if(Ke!==v)return!1;for(let at of X)if(rt[at]!==B[at])return!1;return!0}})}function ai(V,f,v){let B=V.find(X=>Array.isArray(X)?X[0]===f:X===f);return B&&Array.isArray(B)&&B.length>1?B[1][v]:null}let Ri=["minimal","fsharp","hack","smart"],Oa=["^^","@@","^","%","#"],Fa={estree:V=>class extends V{parse(){let f=x(super.parse());return this.options.tokens&&(f.tokens=f.tokens.map(x)),f}parseRegExpLiteral({pattern:f,flags:v}){let B=null;try{B=new RegExp(f,v)}catch{}let X=this.estreeParseLiteral(B);return X.regex={pattern:f,flags:v},X}parseBigIntLiteral(f){let v;try{v=BigInt(f)}catch{v=null}let B=this.estreeParseLiteral(v);return B.bigint=String(B.value||f),B}parseDecimalLiteral(f){let v=this.estreeParseLiteral(null);return v.decimal=String(v.value||f),v}estreeParseLiteral(f){return this.parseLiteral(f,"Literal")}parseStringLiteral(f){return this.estreeParseLiteral(f)}parseNumericLiteral(f){return this.estreeParseLiteral(f)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(f){return this.estreeParseLiteral(f)}directiveToStmt(f){let v=f.value;delete f.value,v.type="Literal",v.raw=v.extra.raw,v.value=v.extra.expressionValue;let B=f;return B.type="ExpressionStatement",B.expression=v,B.directive=v.extra.rawValue,delete v.extra,B}initFunction(f,v){super.initFunction(f,v),f.expression=!1}checkDeclaration(f){f!=null&&this.isObjectProperty(f)?this.checkDeclaration(f.value):super.checkDeclaration(f)}getObjectOrClassMethodParams(f){return f.value.params}isValidDirective(f){var v;return f.type==="ExpressionStatement"&&f.expression.type==="Literal"&&typeof f.expression.value=="string"&&!((v=f.expression.extra)!=null&&v.parenthesized)}parseBlockBody(f,v,B,X,ae){super.parseBlockBody(f,v,B,X,ae);let Te=f.directives.map(Ke=>this.directiveToStmt(Ke));f.body=Te.concat(f.body),delete f.directives}pushClassMethod(f,v,B,X,ae,Te){this.parseMethod(v,B,X,ae,Te,"ClassMethod",!0),v.typeParameters&&(v.value.typeParameters=v.typeParameters,delete v.typeParameters),f.body.push(v)}parsePrivateName(){let f=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(f):f}convertPrivateNameToPrivateIdentifier(f){let v=super.getPrivateNameSV(f);return delete f.id,f.name=v,f.type="PrivateIdentifier",f}isPrivateName(f){return this.getPluginOption("estree","classFeatures")?f.type==="PrivateIdentifier":super.isPrivateName(f)}getPrivateNameSV(f){return this.getPluginOption("estree","classFeatures")?f.name:super.getPrivateNameSV(f)}parseLiteral(f,v){let B=super.parseLiteral(f,v);return B.raw=B.extra.raw,delete B.extra,B}parseFunctionBody(f,v,B=!1){super.parseFunctionBody(f,v,B),f.expression=f.body.type!=="BlockStatement"}parseMethod(f,v,B,X,ae,Te,Ke=!1){let rt=this.startNode();return rt.kind=f.kind,rt=super.parseMethod(rt,v,B,X,ae,Te,Ke),rt.type="FunctionExpression",delete rt.kind,f.value=rt,Te==="ClassPrivateMethod"&&(f.computed=!1),this.finishNode(f,"MethodDefinition")}nameIsConstructor(f){return f.type==="Literal"?f.value==="constructor":super.nameIsConstructor(f)}parseClassProperty(...f){let v=super.parseClassProperty(...f);return this.getPluginOption("estree","classFeatures")&&(v.type="PropertyDefinition"),v}parseClassPrivateProperty(...f){let v=super.parseClassPrivateProperty(...f);return this.getPluginOption("estree","classFeatures")&&(v.type="PropertyDefinition",v.computed=!1),v}parseObjectMethod(f,v,B,X,ae){let Te=super.parseObjectMethod(f,v,B,X,ae);return Te&&(Te.type="Property",Te.kind==="method"&&(Te.kind="init"),Te.shorthand=!1),Te}parseObjectProperty(f,v,B,X){let ae=super.parseObjectProperty(f,v,B,X);return ae&&(ae.kind="init",ae.type="Property"),ae}isValidLVal(f,v,B){return f==="Property"?"value":super.isValidLVal(f,v,B)}isAssignable(f,v){return f!=null&&this.isObjectProperty(f)?this.isAssignable(f.value,v):super.isAssignable(f,v)}toAssignable(f,v=!1){if(f!=null&&this.isObjectProperty(f)){let{key:B,value:X}=f;this.isPrivateName(B)&&this.classScope.usePrivateName(this.getPrivateNameSV(B),B.loc.start),this.toAssignable(X,v)}else super.toAssignable(f,v)}toAssignableObjectExpressionProp(f,v,B){f.type!=="Property"||f.kind!=="get"&&f.kind!=="set"?f.type==="Property"&&f.method?this.raise(T.PatternHasMethod,f.key):super.toAssignableObjectExpressionProp(f,v,B):this.raise(T.PatternHasAccessor,f.key)}finishCallExpression(f,v){let B=super.finishCallExpression(f,v);if(B.callee.type==="Import"){var X,ae;B.type="ImportExpression",B.source=B.arguments[0],(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(B.options=(X=B.arguments[1])!=null?X:null,B.attributes=(ae=B.arguments[1])!=null?ae:null),delete B.arguments,delete B.callee}return B}toReferencedArguments(f){f.type!=="ImportExpression"&&super.toReferencedArguments(f)}parseExport(f,v){let B=this.state.lastTokStartLoc,X=super.parseExport(f,v);switch(X.type){case"ExportAllDeclaration":X.exported=null;break;case"ExportNamedDeclaration":X.specifiers.length===1&&X.specifiers[0].type==="ExportNamespaceSpecifier"&&(X.type="ExportAllDeclaration",X.exported=X.specifiers[0].exported,delete X.specifiers);case"ExportDefaultDeclaration":{var ae;let{declaration:Te}=X;Te?.type==="ClassDeclaration"&&((ae=Te.decorators)==null?void 0:ae.length)>0&&Te.start===X.start&&this.resetStartLocation(X,B)}}return X}parseSubscript(f,v,B,X){let ae=super.parseSubscript(f,v,B,X);if(X.optionalChainMember){if(ae.type!=="OptionalMemberExpression"&&ae.type!=="OptionalCallExpression"||(ae.type=ae.type.substring(8)),X.stop){let Te=this.startNodeAtNode(ae);return Te.expression=ae,this.finishNode(Te,"ChainExpression")}}else ae.type!=="MemberExpression"&&ae.type!=="CallExpression"||(ae.optional=!1);return ae}isOptionalMemberExpression(f){return f.type==="ChainExpression"?f.expression.type==="MemberExpression":super.isOptionalMemberExpression(f)}hasPropertyAsPrivateName(f){return f.type==="ChainExpression"&&(f=f.expression),super.hasPropertyAsPrivateName(f)}isObjectProperty(f){return f.type==="Property"&&f.kind==="init"&&!f.method}isObjectMethod(f){return f.type==="Property"&&(f.method||f.kind==="get"||f.kind==="set")}finishNodeAt(f,v,B){return x(super.finishNodeAt(f,v,B))}resetStartLocation(f,v){super.resetStartLocation(f,v),x(f)}resetEndLocation(f,v=this.state.lastTokEndLoc){super.resetEndLocation(f,v),x(f)}},jsx:V=>class extends V{jsxReadToken(){let f="",v=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Yt.UnterminatedJsxContent,this.state.startLoc);let B=this.input.charCodeAt(this.state.pos);switch(B){case 60:case 123:return this.state.pos===this.state.start?void(B===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(B)):(f+=this.input.slice(v,this.state.pos),void this.finishToken(141,f));case 38:f+=this.input.slice(v,this.state.pos),f+=this.jsxReadEntity(),v=this.state.pos;break;default:Ge(B)?(f+=this.input.slice(v,this.state.pos),f+=this.jsxReadNewLine(!0),v=this.state.pos):++this.state.pos}}}jsxReadNewLine(f){let v=this.input.charCodeAt(this.state.pos),B;return++this.state.pos,v===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,B=f?`
|
|
`:`\r
|
|
`):B=String.fromCharCode(v),++this.state.curLine,this.state.lineStart=this.state.pos,B}jsxReadString(f){let v="",B=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(T.UnterminatedString,this.state.startLoc);let X=this.input.charCodeAt(this.state.pos);if(X===f)break;X===38?(v+=this.input.slice(B,this.state.pos),v+=this.jsxReadEntity(),B=this.state.pos):Ge(X)?(v+=this.input.slice(B,this.state.pos),v+=this.jsxReadNewLine(!1),B=this.state.pos):++this.state.pos}v+=this.input.slice(B,this.state.pos++),this.finishToken(133,v)}jsxReadEntity(){let f=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let v=10;this.codePointAtPos(this.state.pos)===120&&(v=16,++this.state.pos);let B=this.readInt(v,void 0,!1,"bail");if(B!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(B)}else{let v=0,B=!1;for(;v++<10&&this.state.pos<this.length&&!(B=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(B){let X=this.input.slice(f,this.state.pos),ae=vr[X];if(++this.state.pos,ae)return ae}}return this.state.pos=f,"&"}jsxReadWord(){let f,v=this.state.pos;do f=this.input.charCodeAt(++this.state.pos);while(ye(f)||f===45);this.finishToken(140,this.input.slice(v,this.state.pos))}jsxParseIdentifier(){let f=this.startNode();return this.match(140)?f.name=this.state.value:be(this.state.type)?f.name=Ve(this.state.type):this.unexpected(),this.next(),this.finishNode(f,"JSXIdentifier")}jsxParseNamespacedName(){let f=this.state.startLoc,v=this.jsxParseIdentifier();if(!this.eat(14))return v;let B=this.startNodeAt(f);return B.namespace=v,B.name=this.jsxParseIdentifier(),this.finishNode(B,"JSXNamespacedName")}jsxParseElementName(){let f=this.state.startLoc,v=this.jsxParseNamespacedName();if(v.type==="JSXNamespacedName")return v;for(;this.eat(16);){let B=this.startNodeAt(f);B.object=v,B.property=this.jsxParseIdentifier(),v=this.finishNode(B,"JSXMemberExpression")}return v}jsxParseAttributeValue(){let f;switch(this.state.type){case 5:return f=this.startNode(),this.setContext(D.brace),this.next(),f=this.jsxParseExpressionContainer(f,D.j_oTag),f.expression.type==="JSXEmptyExpression"&&this.raise(Yt.AttributeIsEmpty,f),f;case 142:case 133:return this.parseExprAtom();default:throw this.raise(Yt.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let f=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(f,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(f){return this.next(),f.expression=this.parseExpression(),this.setContext(D.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(f,"JSXSpreadChild")}jsxParseExpressionContainer(f,v){if(this.match(8))f.expression=this.jsxParseEmptyExpression();else{let B=this.parseExpression();f.expression=B}return this.setContext(v),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(f,"JSXExpressionContainer")}jsxParseAttribute(){let f=this.startNode();return this.match(5)?(this.setContext(D.brace),this.next(),this.expect(21),f.argument=this.parseMaybeAssignAllowIn(),this.setContext(D.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(f,"JSXSpreadAttribute")):(f.name=this.jsxParseNamespacedName(),f.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(f,"JSXAttribute"))}jsxParseOpeningElementAt(f){let v=this.startNodeAt(f);return this.eat(143)?this.finishNode(v,"JSXOpeningFragment"):(v.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(v))}jsxParseOpeningElementAfterName(f){let v=[];for(;!this.match(56)&&!this.match(143);)v.push(this.jsxParseAttribute());return f.attributes=v,f.selfClosing=this.eat(56),this.expect(143),this.finishNode(f,"JSXOpeningElement")}jsxParseClosingElementAt(f){let v=this.startNodeAt(f);return this.eat(143)?this.finishNode(v,"JSXClosingFragment"):(v.name=this.jsxParseElementName(),this.expect(143),this.finishNode(v,"JSXClosingElement"))}jsxParseElementAt(f){let v=this.startNodeAt(f),B=[],X=this.jsxParseOpeningElementAt(f),ae=null;if(!X.selfClosing){e:for(;;)switch(this.state.type){case 142:if(f=this.state.startLoc,this.next(),this.eat(56)){ae=this.jsxParseClosingElementAt(f);break e}B.push(this.jsxParseElementAt(f));break;case 141:B.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let Te=this.startNode();this.setContext(D.brace),this.next(),this.match(21)?B.push(this.jsxParseSpreadChild(Te)):B.push(this.jsxParseExpressionContainer(Te,D.j_expr));break}default:this.unexpected()}ft(X)&&!ft(ae)&&ae!==null?this.raise(Yt.MissingClosingTagFragment,ae):!ft(X)&&ft(ae)?this.raise(Yt.MissingClosingTagElement,ae,{openingTagName:wt(X.name)}):ft(X)||ft(ae)||wt(ae.name)!==wt(X.name)&&this.raise(Yt.MissingClosingTagElement,ae,{openingTagName:wt(X.name)})}if(ft(X)?(v.openingFragment=X,v.closingFragment=ae):(v.openingElement=X,v.closingElement=ae),v.children=B,this.match(47))throw this.raise(Yt.UnwrappedAdjacentJSXElements,this.state.startLoc);return ft(X)?this.finishNode(v,"JSXFragment"):this.finishNode(v,"JSXElement")}jsxParseElement(){let f=this.state.startLoc;return this.next(),this.jsxParseElementAt(f)}setContext(f){let{context:v}=this.state;v[v.length-1]=f}parseExprAtom(f){return this.match(142)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(142),this.jsxParseElement()):super.parseExprAtom(f)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(f){let v=this.curContext();if(v!==D.j_expr){if(v===D.j_oTag||v===D.j_cTag){if(Ie(f))return void this.jsxReadWord();if(f===62)return++this.state.pos,void this.finishToken(143);if((f===34||f===39)&&v===D.j_oTag)return void this.jsxReadString(f)}if(f===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33)return++this.state.pos,void this.finishToken(142);super.getTokenFromCode(f)}else this.jsxReadToken()}updateContext(f){let{context:v,type:B}=this.state;if(B===56&&f===142)v.splice(-2,2,D.j_cTag),this.state.canStartJSXElement=!1;else if(B===142)v.push(D.j_oTag);else if(B===143){let X=v[v.length-1];X===D.j_oTag&&f===56||X===D.j_cTag?(v.pop(),this.state.canStartJSXElement=v[v.length-1]===D.j_expr):(this.setContext(D.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=Z[B]}},flow:V=>class extends V{constructor(...f){super(...f),this.flowPragma=void 0}getScopeHandler(){return pt}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(f,v){f!==133&&f!==13&&f!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(f,v)}addComment(f){if(this.flowPragma===void 0){let v=ns.exec(f.value);if(v)if(v[1]==="flow")this.flowPragma="flow";else{if(v[1]!=="noflow")throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}super.addComment(f)}flowParseTypeInitialiser(f){let v=this.state.inType;this.state.inType=!0,this.expect(f||14);let B=this.flowParseType();return this.state.inType=v,B}flowParsePredicate(){let f=this.startNode(),v=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>v.index+1&&this.raise(Br.UnexpectedSpaceBetweenModuloChecks,v),this.eat(10)?(f.value=super.parseExpression(),this.expect(11),this.finishNode(f,"DeclaredPredicate")):this.finishNode(f,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let f=this.state.inType;this.state.inType=!0,this.expect(14);let v=null,B=null;return this.match(54)?(this.state.inType=f,B=this.flowParsePredicate()):(v=this.flowParseType(),this.state.inType=f,this.match(54)&&(B=this.flowParsePredicate())),[v,B]}flowParseDeclareClass(f){return this.next(),this.flowParseInterfaceish(f,!0),this.finishNode(f,"DeclareClass")}flowParseDeclareFunction(f){this.next();let v=f.id=this.parseIdentifier(),B=this.startNode(),X=this.startNode();this.match(47)?B.typeParameters=this.flowParseTypeParameterDeclaration():B.typeParameters=null,this.expect(10);let ae=this.flowParseFunctionTypeParams();return B.params=ae.params,B.rest=ae.rest,B.this=ae._this,this.expect(11),[B.returnType,f.predicate]=this.flowParseTypeAndPredicateInitialiser(),X.typeAnnotation=this.finishNode(B,"FunctionTypeAnnotation"),v.typeAnnotation=this.finishNode(X,"TypeAnnotation"),this.resetEndLocation(v),this.semicolon(),this.scope.declareName(f.id.name,2048,f.id.loc.start),this.finishNode(f,"DeclareFunction")}flowParseDeclare(f,v){return this.match(80)?this.flowParseDeclareClass(f):this.match(68)?this.flowParseDeclareFunction(f):this.match(74)?this.flowParseDeclareVariable(f):this.eatContextual(127)?this.match(16)?this.flowParseDeclareModuleExports(f):(v&&this.raise(Br.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(f)):this.isContextual(130)?this.flowParseDeclareTypeAlias(f):this.isContextual(131)?this.flowParseDeclareOpaqueType(f):this.isContextual(129)?this.flowParseDeclareInterface(f):this.match(82)?this.flowParseDeclareExportDeclaration(f,v):void this.unexpected()}flowParseDeclareVariable(f){return this.next(),f.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(f.id.name,5,f.id.loc.start),this.semicolon(),this.finishNode(f,"DeclareVariable")}flowParseDeclareModule(f){this.scope.enter(0),this.match(133)?f.id=super.parseExprAtom():f.id=this.parseIdentifier();let v=f.body=this.startNode(),B=v.body=[];for(this.expect(5);!this.match(8);){let Te=this.startNode();this.match(83)?(this.next(),this.isContextual(130)||this.match(87)||this.raise(Br.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(Te)):(this.expectContextual(125,Br.UnsupportedStatementInDeclareModule),Te=this.flowParseDeclare(Te,!0)),B.push(Te)}this.scope.exit(),this.expect(8),this.finishNode(v,"BlockStatement");let X=null,ae=!1;return B.forEach(Te=>{(function(Ke){return Ke.type==="DeclareExportAllDeclaration"||Ke.type==="DeclareExportDeclaration"&&(!Ke.declaration||Ke.declaration.type!=="TypeAlias"&&Ke.declaration.type!=="InterfaceDeclaration")})(Te)?(X==="CommonJS"&&this.raise(Br.AmbiguousDeclareModuleKind,Te),X="ES"):Te.type==="DeclareModuleExports"&&(ae&&this.raise(Br.DuplicateDeclareModuleExports,Te),X==="ES"&&this.raise(Br.AmbiguousDeclareModuleKind,Te),X="CommonJS",ae=!0)}),f.kind=X||"CommonJS",this.finishNode(f,"DeclareModule")}flowParseDeclareExportDeclaration(f,v){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?f.declaration=this.flowParseDeclare(this.startNode()):(f.declaration=this.flowParseType(),this.semicolon()),f.default=!0,this.finishNode(f,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!v){let B=this.state.value;throw this.raise(Br.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:B,suggestion:Xi[B]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(131)?(f.declaration=this.flowParseDeclare(this.startNode()),f.default=!1,this.finishNode(f,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)?((f=this.parseExport(f,null)).type==="ExportNamedDeclaration"&&(f.type="ExportDeclaration",f.default=!1,delete f.exportKind),f.type="Declare"+f.type,f):void this.unexpected()}flowParseDeclareModuleExports(f){return this.next(),this.expectContextual(111),f.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(f,"DeclareModuleExports")}flowParseDeclareTypeAlias(f){this.next();let v=this.flowParseTypeAlias(f);return v.type="DeclareTypeAlias",v}flowParseDeclareOpaqueType(f){this.next();let v=this.flowParseOpaqueType(f,!0);return v.type="DeclareOpaqueType",v}flowParseDeclareInterface(f){return this.next(),this.flowParseInterfaceish(f,!1),this.finishNode(f,"DeclareInterface")}flowParseInterfaceish(f,v){if(f.id=this.flowParseRestrictedIdentifier(!v,!0),this.scope.declareName(f.id.name,v?17:8201,f.id.loc.start),this.match(47)?f.typeParameters=this.flowParseTypeParameterDeclaration():f.typeParameters=null,f.extends=[],this.eat(81))do f.extends.push(this.flowParseInterfaceExtends());while(!v&&this.eat(12));if(v){if(f.implements=[],f.mixins=[],this.eatContextual(117))do f.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do f.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}f.body=this.flowParseObjectType({allowStatic:v,allowExact:!1,allowSpread:!1,allowProto:v,allowInexact:!1})}flowParseInterfaceExtends(){let f=this.startNode();return f.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?f.typeParameters=this.flowParseTypeParameterInstantiation():f.typeParameters=null,this.finishNode(f,"InterfaceExtends")}flowParseInterface(f){return this.flowParseInterfaceish(f,!1),this.finishNode(f,"InterfaceDeclaration")}checkNotUnderscore(f){f==="_"&&this.raise(Br.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(f,v,B){rs.has(f)&&this.raise(B?Br.AssignReservedType:Br.UnexpectedReservedType,v,{reservedType:f})}flowParseRestrictedIdentifier(f,v){return this.checkReservedType(this.state.value,this.state.startLoc,v),this.parseIdentifier(f)}flowParseTypeAlias(f){return f.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(f.id.name,8201,f.id.loc.start),this.match(47)?f.typeParameters=this.flowParseTypeParameterDeclaration():f.typeParameters=null,f.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(f,"TypeAlias")}flowParseOpaqueType(f,v){return this.expectContextual(130),f.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(f.id.name,8201,f.id.loc.start),this.match(47)?f.typeParameters=this.flowParseTypeParameterDeclaration():f.typeParameters=null,f.supertype=null,this.match(14)&&(f.supertype=this.flowParseTypeInitialiser(14)),f.impltype=null,v||(f.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(f,"OpaqueType")}flowParseTypeParameter(f=!1){let v=this.state.startLoc,B=this.startNode(),X=this.flowParseVariance(),ae=this.flowParseTypeAnnotatableIdentifier();return B.name=ae.name,B.variance=X,B.bound=ae.typeAnnotation,this.match(29)?(this.eat(29),B.default=this.flowParseType()):f&&this.raise(Br.MissingTypeParamDefault,v),this.finishNode(B,"TypeParameter")}flowParseTypeParameterDeclaration(){let f=this.state.inType,v=this.startNode();v.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();let B=!1;do{let X=this.flowParseTypeParameter(B);v.params.push(X),X.default&&(B=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=f,this.finishNode(v,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let f=this.startNode(),v=this.state.inType;f.params=[],this.state.inType=!0,this.expect(47);let B=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)f.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=B,this.expect(48),this.state.inType=v,this.finishNode(f,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let f=this.startNode(),v=this.state.inType;for(f.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)f.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=v,this.finishNode(f,"TypeParameterInstantiation")}flowParseInterfaceType(){let f=this.startNode();if(this.expectContextual(129),f.extends=[],this.eat(81))do f.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return f.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(f,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(134)||this.match(133)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(f,v,B){return f.static=v,this.lookahead().type===14?(f.id=this.flowParseObjectPropertyKey(),f.key=this.flowParseTypeInitialiser()):(f.id=null,f.key=this.flowParseType()),this.expect(3),f.value=this.flowParseTypeInitialiser(),f.variance=B,this.finishNode(f,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(f,v){return f.static=v,f.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(f.method=!0,f.optional=!1,f.value=this.flowParseObjectTypeMethodish(this.startNodeAt(f.loc.start))):(f.method=!1,this.eat(17)&&(f.optional=!0),f.value=this.flowParseTypeInitialiser()),this.finishNode(f,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(f){for(f.params=[],f.rest=null,f.typeParameters=null,f.this=null,this.match(47)&&(f.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(f.this=this.flowParseFunctionTypeParam(!0),f.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)f.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(f.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),f.returnType=this.flowParseTypeInitialiser(),this.finishNode(f,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(f,v){let B=this.startNode();return f.static=v,f.value=this.flowParseObjectTypeMethodish(B),this.finishNode(f,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:f,allowExact:v,allowSpread:B,allowProto:X,allowInexact:ae}){let Te=this.state.inType;this.state.inType=!0;let Ke=this.startNode(),rt,at;Ke.callProperties=[],Ke.properties=[],Ke.indexers=[],Ke.internalSlots=[];let St=!1;for(v&&this.match(6)?(this.expect(6),rt=9,at=!0):(this.expect(5),rt=8,at=!1),Ke.exact=at;!this.match(rt);){let gr=!1,lr=null,Ur=null,pi=this.startNode();if(X&&this.isContextual(118)){let jn=this.lookahead();jn.type!==14&&jn.type!==17&&(this.next(),lr=this.state.startLoc,f=!1)}if(f&&this.isContextual(106)){let jn=this.lookahead();jn.type!==14&&jn.type!==17&&(this.next(),gr=!0)}let bi=this.flowParseVariance();if(this.eat(0))lr!=null&&this.unexpected(lr),this.eat(0)?(bi&&this.unexpected(bi.loc.start),Ke.internalSlots.push(this.flowParseObjectTypeInternalSlot(pi,gr))):Ke.indexers.push(this.flowParseObjectTypeIndexer(pi,gr,bi));else if(this.match(10)||this.match(47))lr!=null&&this.unexpected(lr),bi&&this.unexpected(bi.loc.start),Ke.callProperties.push(this.flowParseObjectTypeCallProperty(pi,gr));else{let jn="init";(this.isContextual(99)||this.isContextual(104))&&ie(this.lookahead().type)&&(jn=this.state.value,this.next());let Hs=this.flowParseObjectTypeProperty(pi,gr,lr,bi,jn,B,ae??!at);Hs===null?(St=!0,Ur=this.state.lastTokStartLoc):Ke.properties.push(Hs)}this.flowObjectTypeSemicolon(),!Ur||this.match(8)||this.match(9)||this.raise(Br.UnexpectedExplicitInexactInObject,Ur)}this.expect(rt),B&&(Ke.inexact=St);let Kt=this.finishNode(Ke,"ObjectTypeAnnotation");return this.state.inType=Te,Kt}flowParseObjectTypeProperty(f,v,B,X,ae,Te,Ke){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(Te?Ke||this.raise(Br.InexactInsideExact,this.state.lastTokStartLoc):this.raise(Br.InexactInsideNonObject,this.state.lastTokStartLoc),X&&this.raise(Br.InexactVariance,X),null):(Te||this.raise(Br.UnexpectedSpreadType,this.state.lastTokStartLoc),B!=null&&this.unexpected(B),X&&this.raise(Br.SpreadVariance,X),f.argument=this.flowParseType(),this.finishNode(f,"ObjectTypeSpreadProperty"));{f.key=this.flowParseObjectPropertyKey(),f.static=v,f.proto=B!=null,f.kind=ae;let rt=!1;return this.match(47)||this.match(10)?(f.method=!0,B!=null&&this.unexpected(B),X&&this.unexpected(X.loc.start),f.value=this.flowParseObjectTypeMethodish(this.startNodeAt(f.loc.start)),ae!=="get"&&ae!=="set"||this.flowCheckGetterSetterParams(f),!Te&&f.key.name==="constructor"&&f.value.this&&this.raise(Br.ThisParamBannedInConstructor,f.value.this)):(ae!=="init"&&this.unexpected(),f.method=!1,this.eat(17)&&(rt=!0),f.value=this.flowParseTypeInitialiser(),f.variance=X),f.optional=rt,this.finishNode(f,"ObjectTypeProperty")}}flowCheckGetterSetterParams(f){let v=f.kind==="get"?0:1,B=f.value.params.length+(f.value.rest?1:0);f.value.this&&this.raise(f.kind==="get"?Br.GetterMayNotHaveThisParam:Br.SetterMayNotHaveThisParam,f.value.this),B!==v&&this.raise(f.kind==="get"?T.BadGetterArity:T.BadSetterArity,f),f.kind==="set"&&f.value.rest&&this.raise(T.BadSetterRestParameter,f)}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(f,v){f!=null||(f=this.state.startLoc);let B=v||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let X=this.startNodeAt(f);X.qualification=B,X.id=this.flowParseRestrictedIdentifier(!0),B=this.finishNode(X,"QualifiedTypeIdentifier")}return B}flowParseGenericType(f,v){let B=this.startNodeAt(f);return B.typeParameters=null,B.id=this.flowParseQualifiedTypeIdentifier(f,v),this.match(47)&&(B.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(B,"GenericTypeAnnotation")}flowParseTypeofType(){let f=this.startNode();return this.expect(87),f.argument=this.flowParsePrimaryType(),this.finishNode(f,"TypeofTypeAnnotation")}flowParseTupleType(){let f=this.startNode();for(f.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(f.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(f,"TupleTypeAnnotation")}flowParseFunctionTypeParam(f){let v=null,B=!1,X=null,ae=this.startNode(),Te=this.lookahead(),Ke=this.state.type===78;return Te.type===14||Te.type===17?(Ke&&!f&&this.raise(Br.ThisParamMustBeFirst,ae),v=this.parseIdentifier(Ke),this.eat(17)&&(B=!0,Ke&&this.raise(Br.ThisParamMayNotBeOptional,ae)),X=this.flowParseTypeInitialiser()):X=this.flowParseType(),ae.name=v,ae.optional=B,ae.typeAnnotation=X,this.finishNode(ae,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(f){let v=this.startNodeAt(f.loc.start);return v.name=null,v.optional=!1,v.typeAnnotation=f,this.finishNode(v,"FunctionTypeParam")}flowParseFunctionTypeParams(f=[]){let v=null,B=null;for(this.match(78)&&(B=this.flowParseFunctionTypeParam(!0),B.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)f.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(v=this.flowParseFunctionTypeParam(!1)),{params:f,rest:v,_this:B}}flowIdentToTypeAnnotation(f,v,B){switch(B.name){case"any":return this.finishNode(v,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(v,"BooleanTypeAnnotation");case"mixed":return this.finishNode(v,"MixedTypeAnnotation");case"empty":return this.finishNode(v,"EmptyTypeAnnotation");case"number":return this.finishNode(v,"NumberTypeAnnotation");case"string":return this.finishNode(v,"StringTypeAnnotation");case"symbol":return this.finishNode(v,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(B.name),this.flowParseGenericType(f,B)}}flowParsePrimaryType(){let f=this.state.startLoc,v=this.startNode(),B,X,ae=!1,Te=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,X=this.flowParseTupleType(),this.state.noAnonFunctionType=Te,X;case 47:{let Ke=this.startNode();return Ke.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),B=this.flowParseFunctionTypeParams(),Ke.params=B.params,Ke.rest=B.rest,Ke.this=B._this,this.expect(11),this.expect(19),Ke.returnType=this.flowParseType(),this.finishNode(Ke,"FunctionTypeAnnotation")}case 10:{let Ke=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(Q(this.state.type)||this.match(78)){let rt=this.lookahead().type;ae=rt!==17&&rt!==14}else ae=!0;if(ae){if(this.state.noAnonFunctionType=!1,X=this.flowParseType(),this.state.noAnonFunctionType=Te,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),X;this.eat(12)}return B=X?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(X)]):this.flowParseFunctionTypeParams(),Ke.params=B.params,Ke.rest=B.rest,Ke.this=B._this,this.expect(11),this.expect(19),Ke.returnType=this.flowParseType(),Ke.typeParameters=null,this.finishNode(Ke,"FunctionTypeAnnotation")}case 133:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return v.value=this.match(85),this.next(),this.finishNode(v,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(134))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",v);if(this.match(135))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",v);throw this.raise(Br.UnexpectedSubtractionOperand,this.state.startLoc)}return void this.unexpected();case 134:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 135:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(v,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(v,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(v,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(v,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(be(this.state.type)){let Ke=Ve(this.state.type);return this.next(),super.createIdentifier(v,Ke)}if(Q(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(f,v,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let f=this.state.startLoc,v=this.flowParsePrimaryType(),B=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let X=this.startNodeAt(f),ae=this.eat(18);B=B||ae,this.expect(0),!ae&&this.match(3)?(X.elementType=v,this.next(),v=this.finishNode(X,"ArrayTypeAnnotation")):(X.objectType=v,X.indexType=this.flowParseType(),this.expect(3),B?(X.optional=ae,v=this.finishNode(X,"OptionalIndexedAccessType")):v=this.finishNode(X,"IndexedAccessType"))}return v}flowParsePrefixType(){let f=this.startNode();return this.eat(17)?(f.typeAnnotation=this.flowParsePrefixType(),this.finishNode(f,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let f=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let v=this.startNodeAt(f.loc.start);return v.params=[this.reinterpretTypeAsFunctionTypeParam(f)],v.rest=null,v.this=null,v.returnType=this.flowParseType(),v.typeParameters=null,this.finishNode(v,"FunctionTypeAnnotation")}return f}flowParseIntersectionType(){let f=this.startNode();this.eat(45);let v=this.flowParseAnonFunctionWithoutParens();for(f.types=[v];this.eat(45);)f.types.push(this.flowParseAnonFunctionWithoutParens());return f.types.length===1?v:this.finishNode(f,"IntersectionTypeAnnotation")}flowParseUnionType(){let f=this.startNode();this.eat(43);let v=this.flowParseIntersectionType();for(f.types=[v];this.eat(43);)f.types.push(this.flowParseIntersectionType());return f.types.length===1?v:this.finishNode(f,"UnionTypeAnnotation")}flowParseType(){let f=this.state.inType;this.state.inType=!0;let v=this.flowParseUnionType();return this.state.inType=f,v}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let f=this.state.startLoc,v=this.parseIdentifier();return this.flowParseGenericType(f,v)}return this.flowParseType()}flowParseTypeAnnotation(){let f=this.startNode();return f.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(f,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(f){let v=f?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(v.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(v)),v}typeCastToParameter(f){return f.expression.typeAnnotation=f.typeAnnotation,this.resetEndLocation(f.expression,f.typeAnnotation.loc.end),f.expression}flowParseVariance(){let f=null;return this.match(53)?(f=this.startNode(),this.state.value==="+"?f.kind="plus":f.kind="minus",this.next(),this.finishNode(f,"Variance")):f}parseFunctionBody(f,v,B=!1){v?this.forwardNoArrowParamsConversionAt(f,()=>super.parseFunctionBody(f,!0,B)):super.parseFunctionBody(f,!1,B)}parseFunctionBodyAndFinish(f,v,B=!1){if(this.match(14)){let X=this.startNode();[X.typeAnnotation,f.predicate]=this.flowParseTypeAndPredicateInitialiser(),f.returnType=X.typeAnnotation?this.finishNode(X,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(f,v,B)}parseStatementLike(f){if(this.state.strict&&this.isContextual(129)){if(z(this.lookahead().type)){let B=this.startNode();return this.next(),this.flowParseInterface(B)}}else if(this.shouldParseEnums()&&this.isContextual(126)){let B=this.startNode();return this.next(),this.flowParseEnumDeclaration(B)}let v=super.parseStatementLike(f);return this.flowPragma!==void 0||this.isValidDirective(v)||(this.flowPragma=null),v}parseExpressionStatement(f,v,B){if(v.type==="Identifier"){if(v.name==="declare"){if(this.match(80)||Q(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(f)}else if(Q(this.state.type)){if(v.name==="interface")return this.flowParseInterface(f);if(v.name==="type")return this.flowParseTypeAlias(f);if(v.name==="opaque")return this.flowParseOpaqueType(f,!1)}}return super.parseExpressionStatement(f,v,B)}shouldParseExportDeclaration(){let{type:f}=this.state;return He(f)||this.shouldParseEnums()&&f===126?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:f}=this.state;return He(f)||this.shouldParseEnums()&&f===126?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(126)){let f=this.startNode();return this.next(),this.flowParseEnumDeclaration(f)}return super.parseExportDefaultExpression()}parseConditional(f,v,B){if(!this.match(17))return f;if(this.state.maybeInArrowParameters){let Kt=this.lookaheadCharCode();if(Kt===44||Kt===61||Kt===58||Kt===41)return this.setOptionalParametersError(B),f}this.expect(17);let X=this.state.clone(),ae=this.state.noArrowAt,Te=this.startNodeAt(v),{consequent:Ke,failed:rt}=this.tryParseConditionalConsequent(),[at,St]=this.getArrowLikeExpressions(Ke);if(rt||St.length>0){let Kt=[...ae];if(St.length>0){this.state=X,this.state.noArrowAt=Kt;for(let gr=0;gr<St.length;gr++)Kt.push(St[gr].start);({consequent:Ke,failed:rt}=this.tryParseConditionalConsequent()),[at,St]=this.getArrowLikeExpressions(Ke)}rt&&at.length>1&&this.raise(Br.AmbiguousConditionalArrow,X.startLoc),rt&&at.length===1&&(this.state=X,Kt.push(at[0].start),this.state.noArrowAt=Kt,{consequent:Ke,failed:rt}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(Ke,!0),this.state.noArrowAt=ae,this.expect(14),Te.test=f,Te.consequent=Ke,Te.alternate=this.forwardNoArrowParamsConversionAt(Te,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(Te,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let f=this.parseMaybeAssignAllowIn(),v=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:f,failed:v}}getArrowLikeExpressions(f,v){let B=[f],X=[];for(;B.length!==0;){let ae=B.pop();ae.type==="ArrowFunctionExpression"&&ae.body.type!=="BlockStatement"?(ae.typeParameters||!ae.returnType?this.finishArrowValidation(ae):X.push(ae),B.push(ae.body)):ae.type==="ConditionalExpression"&&(B.push(ae.consequent),B.push(ae.alternate))}return v?(X.forEach(ae=>this.finishArrowValidation(ae)),[X,[]]):function(ae,Te){let Ke=[],rt=[];for(let at=0;at<ae.length;at++)(Te(ae[at],at,ae)?Ke:rt).push(ae[at]);return[Ke,rt]}(X,ae=>ae.params.every(Te=>this.isAssignable(Te,!0)))}finishArrowValidation(f){var v;this.toAssignableList(f.params,(v=f.extra)==null?void 0:v.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(f,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(f,v){let B;return this.state.noArrowParamsConversionAt.indexOf(f.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),B=v(),this.state.noArrowParamsConversionAt.pop()):B=v(),B}parseParenItem(f,v){let B=super.parseParenItem(f,v);if(this.eat(17)&&(B.optional=!0,this.resetEndLocation(f)),this.match(14)){let X=this.startNodeAt(v);return X.expression=B,X.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(X,"TypeCastExpression")}return B}assertModuleNodeAllowed(f){f.type==="ImportDeclaration"&&(f.importKind==="type"||f.importKind==="typeof")||f.type==="ExportNamedDeclaration"&&f.exportKind==="type"||f.type==="ExportAllDeclaration"&&f.exportKind==="type"||super.assertModuleNodeAllowed(f)}parseExportDeclaration(f){if(this.isContextual(130)){f.exportKind="type";let v=this.startNode();return this.next(),this.match(5)?(f.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(f),null):this.flowParseTypeAlias(v)}if(this.isContextual(131)){f.exportKind="type";let v=this.startNode();return this.next(),this.flowParseOpaqueType(v,!1)}if(this.isContextual(129)){f.exportKind="type";let v=this.startNode();return this.next(),this.flowParseInterface(v)}if(this.shouldParseEnums()&&this.isContextual(126)){f.exportKind="value";let v=this.startNode();return this.next(),this.flowParseEnumDeclaration(v)}return super.parseExportDeclaration(f)}eatExportStar(f){return!!super.eatExportStar(f)||!(!this.isContextual(130)||this.lookahead().type!==55)&&(f.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(f){let{startLoc:v}=this.state,B=super.maybeParseExportNamespaceSpecifier(f);return B&&f.exportKind==="type"&&this.unexpected(v),B}parseClassId(f,v,B){super.parseClassId(f,v,B),this.match(47)&&(f.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(f,v,B){let{startLoc:X}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(f,v))return;v.declare=!0}super.parseClassMember(f,v,B),v.declare&&(v.type!=="ClassProperty"&&v.type!=="ClassPrivateProperty"&&v.type!=="PropertyDefinition"?this.raise(Br.DeclareClassElement,X):v.value&&this.raise(Br.DeclareClassFieldInitializer,v.value))}isIterator(f){return f==="iterator"||f==="asyncIterator"}readIterator(){let f=super.readWord1(),v="@@"+f;this.isIterator(f)&&this.state.inType||this.raise(T.InvalidIdentifier,this.state.curPosition(),{identifierName:v}),this.finishToken(132,v)}getTokenFromCode(f){let v=this.input.charCodeAt(this.state.pos+1);f===123&&v===124?this.finishOp(6,2):!this.state.inType||f!==62&&f!==60?this.state.inType&&f===63?v===46?this.finishOp(18,2):this.finishOp(17,1):function(B,X,ae){return B===64&&X===64&&Ie(ae)}(f,v,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(f):this.finishOp(f===62?48:47,1)}isAssignable(f,v){return f.type==="TypeCastExpression"?this.isAssignable(f.expression,v):super.isAssignable(f,v)}toAssignable(f,v=!1){v||f.type!=="AssignmentExpression"||f.left.type!=="TypeCastExpression"||(f.left=this.typeCastToParameter(f.left)),super.toAssignable(f,v)}toAssignableList(f,v,B){for(let X=0;X<f.length;X++){let ae=f[X];ae?.type==="TypeCastExpression"&&(f[X]=this.typeCastToParameter(ae))}super.toAssignableList(f,v,B)}toReferencedList(f,v){for(let X=0;X<f.length;X++){var B;let ae=f[X];!ae||ae.type!=="TypeCastExpression"||(B=ae.extra)!=null&&B.parenthesized||!(f.length>1)&&v||this.raise(Br.TypeCastInPattern,ae.typeAnnotation)}return f}parseArrayLike(f,v,B,X){let ae=super.parseArrayLike(f,v,B,X);return v&&!this.state.maybeInArrowParameters&&this.toReferencedList(ae.elements),ae}isValidLVal(f,v,B){return f==="TypeCastExpression"||super.isValidLVal(f,v,B)}parseClassProperty(f){return this.match(14)&&(f.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(f)}parseClassPrivateProperty(f){return this.match(14)&&(f.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(f)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(f){return!this.match(14)&&super.isNonstaticConstructor(f)}pushClassMethod(f,v,B,X,ae,Te){if(v.variance&&this.unexpected(v.variance.loc.start),delete v.variance,this.match(47)&&(v.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(f,v,B,X,ae,Te),v.params&&ae){let Ke=v.params;Ke.length>0&&this.isThisParam(Ke[0])&&this.raise(Br.ThisParamBannedInConstructor,v)}else if(v.type==="MethodDefinition"&&ae&&v.value.params){let Ke=v.value.params;Ke.length>0&&this.isThisParam(Ke[0])&&this.raise(Br.ThisParamBannedInConstructor,v)}}pushClassPrivateMethod(f,v,B,X){v.variance&&this.unexpected(v.variance.loc.start),delete v.variance,this.match(47)&&(v.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(f,v,B,X)}parseClassSuper(f){if(super.parseClassSuper(f),f.superClass&&this.match(47)&&(f.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();let v=f.implements=[];do{let B=this.startNode();B.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?B.typeParameters=this.flowParseTypeParameterInstantiation():B.typeParameters=null,v.push(this.finishNode(B,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(f){super.checkGetterSetterParams(f);let v=this.getObjectOrClassMethodParams(f);if(v.length>0){let B=v[0];this.isThisParam(B)&&f.kind==="get"?this.raise(Br.GetterMayNotHaveThisParam,B):this.isThisParam(B)&&this.raise(Br.SetterMayNotHaveThisParam,B)}}parsePropertyNamePrefixOperator(f){f.variance=this.flowParseVariance()}parseObjPropValue(f,v,B,X,ae,Te,Ke){let rt;f.variance&&this.unexpected(f.variance.loc.start),delete f.variance,this.match(47)&&!Te&&(rt=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let at=super.parseObjPropValue(f,v,B,X,ae,Te,Ke);return rt&&((at.value||at).typeParameters=rt),at}parseAssignableListItemTypes(f){return this.eat(17)&&(f.type!=="Identifier"&&this.raise(Br.PatternIsOptional,f),this.isThisParam(f)&&this.raise(Br.ThisParamMayNotBeOptional,f),f.optional=!0),this.match(14)?f.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(f)&&this.raise(Br.ThisParamAnnotationRequired,f),this.match(29)&&this.isThisParam(f)&&this.raise(Br.ThisParamNoDefault,f),this.resetEndLocation(f),f}parseMaybeDefault(f,v){let B=super.parseMaybeDefault(f,v);return B.type==="AssignmentPattern"&&B.typeAnnotation&&B.right.start<B.typeAnnotation.start&&this.raise(Br.TypeBeforeInitializer,B.typeAnnotation),B}checkImportReflection(f){super.checkImportReflection(f),f.module&&f.importKind!=="value"&&this.raise(Br.ImportReflectionHasImportType,f.specifiers[0].loc.start)}parseImportSpecifierLocal(f,v,B){v.local=Rs(f)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),f.specifiers.push(this.finishImportSpecifier(v,B))}isPotentialImportPhase(f){if(super.isPotentialImportPhase(f))return!0;if(this.isContextual(130)){if(!f)return!0;let v=this.lookaheadCharCode();return v===123||v===42}return!f&&this.isContextual(87)}applyImportPhase(f,v,B,X){if(super.applyImportPhase(f,v,B,X),v){if(!B&&this.match(65))return;f.exportKind=B==="type"?B:"value"}else B==="type"&&this.match(55)&&this.unexpected(),f.importKind=B==="type"||B==="typeof"?B:"value"}parseImportSpecifier(f,v,B,X,ae){let Te=f.imported,Ke=null;Te.type==="Identifier"&&(Te.name==="type"?Ke="type":Te.name==="typeof"&&(Ke="typeof"));let rt=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let St=this.parseIdentifier(!0);Ke===null||z(this.state.type)?(f.imported=Te,f.importKind=null,f.local=this.parseIdentifier()):(f.imported=St,f.importKind=Ke,f.local=Fi(St))}else{if(Ke!==null&&z(this.state.type))f.imported=this.parseIdentifier(!0),f.importKind=Ke;else{if(v)throw this.raise(T.ImportBindingIsString,f,{importName:Te.value});f.imported=Te,f.importKind=null}this.eatContextual(93)?f.local=this.parseIdentifier():(rt=!0,f.local=Fi(f.imported))}let at=Rs(f);return B&&at&&this.raise(Br.ImportTypeShorthandOnlyInPureImport,f),(B||at)&&this.checkReservedType(f.local.name,f.local.loc.start,!0),!rt||B||at||this.checkReservedWord(f.local.name,f.loc.start,!0,!0),this.finishImportSpecifier(f,"ImportSpecifier")}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(f,v){let B=f.kind;B!=="get"&&B!=="set"&&this.match(47)&&(f.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(f,v)}parseVarId(f,v){super.parseVarId(f,v),this.match(14)&&(f.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(f.id))}parseAsyncArrowFromCallExpression(f,v){if(this.match(14)){let B=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,f.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=B}return super.parseAsyncArrowFromCallExpression(f,v)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(f,v){var B;let X,ae=null;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(ae=this.state.clone(),X=this.tryParse(()=>super.parseMaybeAssign(f,v),ae),!X.error)return X.node;let{context:rt}=this.state,at=rt[rt.length-1];at!==D.j_oTag&&at!==D.j_expr||rt.pop()}if((B=X)!=null&&B.error||this.match(47)){var Te,Ke;let rt;ae=ae||this.state.clone();let at=this.tryParse(Kt=>{var gr;rt=this.flowParseTypeParameterDeclaration();let lr=this.forwardNoArrowParamsConversionAt(rt,()=>{let pi=super.parseMaybeAssign(f,v);return this.resetStartLocationFromNode(pi,rt),pi});(gr=lr.extra)!=null&&gr.parenthesized&&Kt();let Ur=this.maybeUnwrapTypeCastExpression(lr);return Ur.type!=="ArrowFunctionExpression"&&Kt(),Ur.typeParameters=rt,this.resetStartLocationFromNode(Ur,rt),lr},ae),St=null;if(at.node&&this.maybeUnwrapTypeCastExpression(at.node).type==="ArrowFunctionExpression"){if(!at.error&&!at.aborted)return at.node.async&&this.raise(Br.UnexpectedTypeParameterBeforeAsyncArrowFunction,rt),at.node;St=at.node}if((Te=X)!=null&&Te.node)return this.state=X.failState,X.node;if(St)return this.state=at.failState,St;throw(Ke=X)!=null&&Ke.thrown?X.error:at.thrown?at.error:this.raise(Br.UnexpectedTokenAfterTypeParameter,rt)}return super.parseMaybeAssign(f,v)}parseArrow(f){if(this.match(14)){let v=this.tryParse(()=>{let B=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let X=this.startNode();return[X.typeAnnotation,f.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=B,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),X});if(v.thrown)return null;v.error&&(this.state=v.failState),f.returnType=v.node.typeAnnotation?this.finishNode(v.node,"TypeAnnotation"):null}return super.parseArrow(f)}shouldParseArrow(f){return this.match(14)||super.shouldParseArrow(f)}setArrowFunctionParameters(f,v){this.state.noArrowParamsConversionAt.indexOf(f.start)!==-1?f.params=v:super.setArrowFunctionParameters(f,v)}checkParams(f,v,B,X=!0){if(!B||this.state.noArrowParamsConversionAt.indexOf(f.start)===-1){for(let ae=0;ae<f.params.length;ae++)this.isThisParam(f.params[ae])&&ae>0&&this.raise(Br.ThisParamMustBeFirst,f.params[ae]);super.checkParams(f,v,B,X)}}parseParenAndDistinguishExpression(f){return super.parseParenAndDistinguishExpression(f&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(f,v,B){if(f.type==="Identifier"&&f.name==="async"&&this.state.noArrowAt.indexOf(v.index)!==-1){this.next();let X=this.startNodeAt(v);X.callee=f,X.arguments=super.parseCallExpressionArguments(11,!1),f=this.finishNode(X,"CallExpression")}else if(f.type==="Identifier"&&f.name==="async"&&this.match(47)){let X=this.state.clone(),ae=this.tryParse(Ke=>this.parseAsyncArrowWithTypeParameters(v)||Ke(),X);if(!ae.error&&!ae.aborted)return ae.node;let Te=this.tryParse(()=>super.parseSubscripts(f,v,B),X);if(Te.node&&!Te.error)return Te.node;if(ae.node)return this.state=ae.failState,ae.node;if(Te.node)return this.state=Te.failState,Te.node;throw ae.error||Te.error}return super.parseSubscripts(f,v,B)}parseSubscript(f,v,B,X){if(this.match(18)&&this.isLookaheadToken_lt()){if(X.optionalChainMember=!0,B)return X.stop=!0,f;this.next();let ae=this.startNodeAt(v);return ae.callee=f,ae.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),ae.arguments=this.parseCallExpressionArguments(11,!1),ae.optional=!0,this.finishCallExpression(ae,!0)}if(!B&&this.shouldParseTypes()&&this.match(47)){let ae=this.startNodeAt(v);ae.callee=f;let Te=this.tryParse(()=>(ae.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),ae.arguments=super.parseCallExpressionArguments(11,!1),X.optionalChainMember&&(ae.optional=!1),this.finishCallExpression(ae,X.optionalChainMember)));if(Te.node)return Te.error&&(this.state=Te.failState),Te.node}return super.parseSubscript(f,v,B,X)}parseNewCallee(f){super.parseNewCallee(f);let v=null;this.shouldParseTypes()&&this.match(47)&&(v=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),f.typeArguments=v}parseAsyncArrowWithTypeParameters(f){let v=this.startNodeAt(f);if(this.parseFunctionParams(v,!1),this.parseArrow(v))return super.parseArrowExpression(v,void 0,!0)}readToken_mult_modulo(f){let v=this.input.charCodeAt(this.state.pos+1);if(f===42&&v===47&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(f)}readToken_pipe_amp(f){let v=this.input.charCodeAt(this.state.pos+1);f!==124||v!==125?super.readToken_pipe_amp(f):this.finishOp(9,2)}parseTopLevel(f,v){let B=super.parseTopLevel(f,v);return this.state.hasFlowComment&&this.raise(Br.UnterminatedFlowComment,this.state.curPosition()),B}skipBlockComment(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/");{if(this.state.hasFlowComment)throw this.raise(Br.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let f=this.skipFlowComment();f&&(this.state.pos+=f,this.state.hasFlowComment=!0)}}skipFlowComment(){let{pos:f}=this.state,v=2;for(;[32,9].includes(this.input.charCodeAt(f+v));)v++;let B=this.input.charCodeAt(v+f),X=this.input.charCodeAt(v+f+1);return B===58&&X===58?v+2:this.input.slice(v+f,v+f+12)==="flow-include"?v+12:B===58&&X!==58&&v}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(T.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(f,{enumName:v,memberName:B}){this.raise(Br.EnumBooleanMemberNotInitialized,f,{memberName:B,enumName:v})}flowEnumErrorInvalidMemberInitializer(f,v){return this.raise(v.explicitType?v.explicitType==="symbol"?Br.EnumInvalidMemberInitializerSymbolType:Br.EnumInvalidMemberInitializerPrimaryType:Br.EnumInvalidMemberInitializerUnknownType,f,v)}flowEnumErrorNumberMemberNotInitialized(f,v){this.raise(Br.EnumNumberMemberNotInitialized,f,v)}flowEnumErrorStringMemberInconsistentlyInitialized(f,v){this.raise(Br.EnumStringMemberInconsistentlyInitialized,f,v)}flowEnumMemberInit(){let f=this.state.startLoc,v=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{let B=this.parseNumericLiteral(this.state.value);return v()?{type:"number",loc:B.loc.start,value:B}:{type:"invalid",loc:f}}case 133:{let B=this.parseStringLiteral(this.state.value);return v()?{type:"string",loc:B.loc.start,value:B}:{type:"invalid",loc:f}}case 85:case 86:{let B=this.parseBooleanLiteral(this.match(85));return v()?{type:"boolean",loc:B.loc.start,value:B}:{type:"invalid",loc:f}}default:return{type:"invalid",loc:f}}}flowEnumMemberRaw(){let f=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:f}}}flowEnumCheckExplicitTypeMismatch(f,v,B){let{explicitType:X}=v;X!==null&&X!==B&&this.flowEnumErrorInvalidMemberInitializer(f,v)}flowEnumMembers({enumName:f,explicitType:v}){let B=new Set,X={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},ae=!1;for(;!this.match(8);){if(this.eat(21)){ae=!0;break}let Te=this.startNode(),{id:Ke,init:rt}=this.flowEnumMemberRaw(),at=Ke.name;if(at==="")continue;/^[a-z]/.test(at)&&this.raise(Br.EnumInvalidMemberName,Ke,{memberName:at,suggestion:at[0].toUpperCase()+at.slice(1),enumName:f}),B.has(at)&&this.raise(Br.EnumDuplicateMemberName,Ke,{memberName:at,enumName:f}),B.add(at);let St={enumName:f,explicitType:v,memberName:at};switch(Te.id=Ke,rt.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(rt.loc,St,"boolean"),Te.init=rt.value,X.booleanMembers.push(this.finishNode(Te,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(rt.loc,St,"number"),Te.init=rt.value,X.numberMembers.push(this.finishNode(Te,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(rt.loc,St,"string"),Te.init=rt.value,X.stringMembers.push(this.finishNode(Te,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(rt.loc,St);case"none":switch(v){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(rt.loc,St);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(rt.loc,St);break;default:X.defaultedMembers.push(this.finishNode(Te,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:X,hasUnknownMembers:ae}}flowEnumStringMembers(f,v,{enumName:B}){if(f.length===0)return v;if(v.length===0)return f;if(v.length>f.length){for(let X of f)this.flowEnumErrorStringMemberInconsistentlyInitialized(X,{enumName:B});return v}for(let X of v)this.flowEnumErrorStringMemberInconsistentlyInitialized(X,{enumName:B});return f}flowEnumParseExplicitType({enumName:f}){if(!this.eatContextual(102))return null;if(!Q(this.state.type))throw this.raise(Br.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:f});let{value:v}=this.state;return this.next(),v!=="boolean"&&v!=="number"&&v!=="string"&&v!=="symbol"&&this.raise(Br.EnumInvalidExplicitType,this.state.startLoc,{enumName:f,invalidEnumType:v}),v}flowEnumBody(f,v){let B=v.name,X=v.loc.start,ae=this.flowEnumParseExplicitType({enumName:B});this.expect(5);let{members:Te,hasUnknownMembers:Ke}=this.flowEnumMembers({enumName:B,explicitType:ae});switch(f.hasUnknownMembers=Ke,ae){case"boolean":return f.explicitType=!0,f.members=Te.booleanMembers,this.expect(8),this.finishNode(f,"EnumBooleanBody");case"number":return f.explicitType=!0,f.members=Te.numberMembers,this.expect(8),this.finishNode(f,"EnumNumberBody");case"string":return f.explicitType=!0,f.members=this.flowEnumStringMembers(Te.stringMembers,Te.defaultedMembers,{enumName:B}),this.expect(8),this.finishNode(f,"EnumStringBody");case"symbol":return f.members=Te.defaultedMembers,this.expect(8),this.finishNode(f,"EnumSymbolBody");default:{let rt=()=>(f.members=[],this.expect(8),this.finishNode(f,"EnumStringBody"));f.explicitType=!1;let at=Te.booleanMembers.length,St=Te.numberMembers.length,Kt=Te.stringMembers.length,gr=Te.defaultedMembers.length;if(at||St||Kt||gr){if(at||St){if(!St&&!Kt&&at>=gr){for(let lr of Te.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(lr.loc.start,{enumName:B,memberName:lr.id.name});return f.members=Te.booleanMembers,this.expect(8),this.finishNode(f,"EnumBooleanBody")}if(!at&&!Kt&&St>=gr){for(let lr of Te.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(lr.loc.start,{enumName:B,memberName:lr.id.name});return f.members=Te.numberMembers,this.expect(8),this.finishNode(f,"EnumNumberBody")}return this.raise(Br.EnumInconsistentMemberValues,X,{enumName:B}),rt()}return f.members=this.flowEnumStringMembers(Te.stringMembers,Te.defaultedMembers,{enumName:B}),this.expect(8),this.finishNode(f,"EnumStringBody")}return rt()}}}flowParseEnumDeclaration(f){let v=this.parseIdentifier();return f.id=v,f.body=this.flowEnumBody(this.startNode(),v),this.finishNode(f,"EnumDeclaration")}isLookaheadToken_lt(){let f=this.nextTokenStart();if(this.input.charCodeAt(f)===60){let v=this.input.charCodeAt(f+1);return v!==60&&v!==61}return!1}maybeUnwrapTypeCastExpression(f){return f.type==="TypeCastExpression"?f.expression:f}},typescript:V=>class extends V{constructor(...f){super(...f),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:jt.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:jt.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:jt.InvalidModifierOnTypeParameter})}getScopeHandler(){return nr}tsIsIdentifier(){return Q(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(f,v){if(!Q(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let B=this.state.value;if(f.indexOf(B)!==-1){if(v&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return B}}tsParseModifiers({allowedModifiers:f,disallowedModifiers:v,stopOnStartOfClassStaticBlock:B,errorTemplate:X=jt.InvalidModifierOnTypeMember},ae){let Te=(rt,at,St,Kt)=>{at===St&&ae[Kt]&&this.raise(jt.InvalidModifiersOrder,rt,{orderedModifiers:[St,Kt]})},Ke=(rt,at,St,Kt)=>{(ae[St]&&at===Kt||ae[Kt]&&at===St)&&this.raise(jt.IncompatibleModifiers,rt,{modifiers:[St,Kt]})};for(;;){let{startLoc:rt}=this.state,at=this.tsParseModifier(f.concat(v??[]),B);if(!at)break;xr(at)?ae.accessibility?this.raise(jt.DuplicateAccessibilityModifier,rt,{modifier:at}):(Te(rt,at,at,"override"),Te(rt,at,at,"static"),Te(rt,at,at,"readonly"),ae.accessibility=at):Or(at)?(ae[at]&&this.raise(jt.DuplicateModifier,rt,{modifier:at}),ae[at]=!0,Te(rt,at,"in","out")):(hasOwnProperty.call(ae,at)?this.raise(jt.DuplicateModifier,rt,{modifier:at}):(Te(rt,at,"static","readonly"),Te(rt,at,"static","override"),Te(rt,at,"override","readonly"),Te(rt,at,"abstract","override"),Ke(rt,at,"declare","override"),Ke(rt,at,"static","abstract")),ae[at]=!0),v!=null&&v.includes(at)&&this.raise(X,rt,{modifier:at})}}tsIsListTerminator(f){switch(f){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(f,v){let B=[];for(;!this.tsIsListTerminator(f);)B.push(v());return B}tsParseDelimitedList(f,v,B){return function(X){if(X==null)throw new Error(`Unexpected ${X} value.`);return X}(this.tsParseDelimitedListWorker(f,v,!0,B))}tsParseDelimitedListWorker(f,v,B,X){let ae=[],Te=-1;for(;!this.tsIsListTerminator(f);){Te=-1;let Ke=v();if(Ke==null)return;if(ae.push(Ke),!this.eat(12)){if(this.tsIsListTerminator(f))break;return void(B&&this.expect(12))}Te=this.state.lastTokStartLoc.index}return X&&(X.value=Te),ae}tsParseBracketedList(f,v,B,X,ae){X||(B?this.expect(0):this.expect(47));let Te=this.tsParseDelimitedList(f,v,ae);return B?this.expect(3):this.expect(48),Te}tsParseImportType(){let f=this.startNode();return this.expect(83),this.expect(10),this.match(133)||this.raise(jt.UnsupportedImportTypeArgument,this.state.startLoc),f.argument=super.parseExprAtom(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(f.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(f.options=super.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.eat(16)&&(f.qualifier=this.tsParseEntityName()),this.match(47)&&(f.typeParameters=this.tsParseTypeArguments()),this.finishNode(f,"TSImportType")}tsParseEntityName(f=!0){let v=this.parseIdentifier(f);for(;this.eat(16);){let B=this.startNodeAtNode(v);B.left=v,B.right=this.parseIdentifier(f),v=this.finishNode(B,"TSQualifiedName")}return v}tsParseTypeReference(){let f=this.startNode();return f.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(f.typeParameters=this.tsParseTypeArguments()),this.finishNode(f,"TSTypeReference")}tsParseThisTypePredicate(f){this.next();let v=this.startNodeAtNode(f);return v.parameterName=f,v.typeAnnotation=this.tsParseTypeAnnotation(!1),v.asserts=!1,this.finishNode(v,"TSTypePredicate")}tsParseThisTypeNode(){let f=this.startNode();return this.next(),this.finishNode(f,"TSThisType")}tsParseTypeQuery(){let f=this.startNode();return this.expect(87),this.match(83)?f.exprName=this.tsParseImportType():f.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(f.typeParameters=this.tsParseTypeArguments()),this.finishNode(f,"TSTypeQuery")}tsParseTypeParameter(f){let v=this.startNode();return f(v),v.name=this.tsParseTypeParameterName(),v.constraint=this.tsEatThenParseType(81),v.default=this.tsEatThenParseType(29),this.finishNode(v,"TSTypeParameter")}tsTryParseTypeParameters(f){if(this.match(47))return this.tsParseTypeParameters(f)}tsParseTypeParameters(f){let v=this.startNode();this.match(47)||this.match(142)?this.next():this.unexpected();let B={value:-1};return v.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,f),!1,!0,B),v.params.length===0&&this.raise(jt.EmptyTypeParameters,v),B.value!==-1&&this.addExtra(v,"trailingComma",B.value),this.finishNode(v,"TSTypeParameterDeclaration")}tsFillSignature(f,v){let B=f===19;v.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),v.parameters=this.tsParseBindingListForSignature(),(B||this.match(f))&&(v.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(f))}tsParseBindingListForSignature(){let f=super.parseBindingList(11,41,2);for(let v of f){let{type:B}=v;B!=="AssignmentPattern"&&B!=="TSParameterProperty"||this.raise(jt.UnsupportedSignatureParameterKind,v,{type:B})}return f}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(f,v){return this.tsFillSignature(14,v),this.tsParseTypeMemberSemicolon(),this.finishNode(v,f)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!Q(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(f){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);let v=this.parseIdentifier();v.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(v),this.expect(3),f.parameters=[v];let B=this.tsTryParseTypeAnnotation();return B&&(f.typeAnnotation=B),this.tsParseTypeMemberSemicolon(),this.finishNode(f,"TSIndexSignature")}tsParsePropertyOrMethodSignature(f,v){this.eat(17)&&(f.optional=!0);let B=f;if(this.match(10)||this.match(47)){v&&this.raise(jt.ReadonlyForMethodSignature,f);let X=B;X.kind&&this.match(47)&&this.raise(jt.AccesorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,X),this.tsParseTypeMemberSemicolon();let ae="parameters",Te="typeAnnotation";if(X.kind==="get")X[ae].length>0&&(this.raise(T.BadGetterArity,this.state.curPosition()),this.isThisParam(X[ae][0])&&this.raise(jt.AccesorCannotDeclareThisParameter,this.state.curPosition()));else if(X.kind==="set"){if(X[ae].length!==1)this.raise(T.BadSetterArity,this.state.curPosition());else{let Ke=X[ae][0];this.isThisParam(Ke)&&this.raise(jt.AccesorCannotDeclareThisParameter,this.state.curPosition()),Ke.type==="Identifier"&&Ke.optional&&this.raise(jt.SetAccesorCannotHaveOptionalParameter,this.state.curPosition()),Ke.type==="RestElement"&&this.raise(jt.SetAccesorCannotHaveRestParameter,this.state.curPosition())}X[Te]&&this.raise(jt.SetAccesorCannotHaveReturnType,X[Te])}else X.kind="method";return this.finishNode(X,"TSMethodSignature")}{let X=B;v&&(X.readonly=!0);let ae=this.tsTryParseTypeAnnotation();return ae&&(X.typeAnnotation=ae),this.tsParseTypeMemberSemicolon(),this.finishNode(X,"TSPropertySignature")}}tsParseTypeMember(){let f=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",f);if(this.match(77)){let B=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",f):(f.key=this.createIdentifier(B,"new"),this.tsParsePropertyOrMethodSignature(f,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},f),this.tsTryParseIndexSignature(f)||(super.parsePropertyName(f),f.computed||f.key.type!=="Identifier"||f.key.name!=="get"&&f.key.name!=="set"||!this.tsTokenCanFollowModifier()||(f.kind=f.key.name,super.parsePropertyName(f)),this.tsParsePropertyOrMethodSignature(f,!!f.readonly))}tsParseTypeLiteral(){let f=this.startNode();return f.members=this.tsParseObjectTypeMembers(),this.finishNode(f,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let f=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),f}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(58))))}tsParseMappedTypeParameter(){let f=this.startNode();return f.name=this.tsParseTypeParameterName(),f.constraint=this.tsExpectThenParseType(58),this.finishNode(f,"TSTypeParameter")}tsParseMappedType(){let f=this.startNode();return this.expect(5),this.match(53)?(f.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(f.readonly=!0),this.expect(0),f.typeParameter=this.tsParseMappedTypeParameter(),f.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(f.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(f.optional=!0),f.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(f,"TSMappedType")}tsParseTupleType(){let f=this.startNode();f.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let v=!1;return f.elementTypes.forEach(B=>{let{type:X}=B;!v||X==="TSRestType"||X==="TSOptionalType"||X==="TSNamedTupleMember"&&B.optional||this.raise(jt.OptionalTypeBeforeRequired,B),v||(v=X==="TSNamedTupleMember"&&B.optional||X==="TSOptionalType")}),this.finishNode(f,"TSTupleType")}tsParseTupleElementType(){let{startLoc:f}=this.state,v=this.eat(21),B,X,ae,Te,Ke=z(this.state.type)?this.lookaheadCharCode():null;if(Ke===58)B=!0,ae=!1,X=this.parseIdentifier(!0),this.expect(14),Te=this.tsParseType();else if(Ke===63){ae=!0;let rt=this.state.startLoc,at=this.state.value,St=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(B=!0,X=this.createIdentifier(this.startNodeAt(rt),at),this.expect(17),this.expect(14),Te=this.tsParseType()):(B=!1,Te=St,this.expect(17))}else Te=this.tsParseType(),ae=this.eat(17),B=this.eat(14);if(B){let rt;X?(rt=this.startNodeAtNode(X),rt.optional=ae,rt.label=X,rt.elementType=Te,this.eat(17)&&(rt.optional=!0,this.raise(jt.TupleOptionalAfterType,this.state.lastTokStartLoc))):(rt=this.startNodeAtNode(Te),rt.optional=ae,this.raise(jt.InvalidTupleMemberLabel,Te),rt.label=Te,rt.elementType=this.tsParseType()),Te=this.finishNode(rt,"TSNamedTupleMember")}else if(ae){let rt=this.startNodeAtNode(Te);rt.typeAnnotation=Te,Te=this.finishNode(rt,"TSOptionalType")}if(v){let rt=this.startNodeAt(f);rt.typeAnnotation=Te,Te=this.finishNode(rt,"TSRestType")}return Te}tsParseParenthesizedType(){let f=this.startNode();return this.expect(10),f.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(f,"TSParenthesizedType")}tsParseFunctionOrConstructorType(f,v){let B=this.startNode();return f==="TSConstructorType"&&(B.abstract=!!v,v&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,B)),this.finishNode(B,f)}tsParseLiteralTypeNode(){let f=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:f.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(f,"TSLiteralType")}tsParseTemplateLiteralType(){let f=this.startNode();return f.literal=super.parseTemplate(!1),this.finishNode(f,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let f=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(f):f}tsParseNonArrayType(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let f=this.startNode(),v=this.lookahead();return v.type!==134&&v.type!==135&&this.unexpected(),f.literal=this.parseMaybeUnary(),this.finishNode(f,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:f}=this.state;if(Q(f)||f===88||f===84){let v=f===88?"TSVoidKeyword":f===84?"TSNullKeyword":function(B){switch(B){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}(this.state.value);if(v!==void 0&&this.lookaheadCharCode()!==46){let B=this.startNode();return this.next(),this.finishNode(B,v)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let f=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let v=this.startNodeAtNode(f);v.elementType=f,this.expect(3),f=this.finishNode(v,"TSArrayType")}else{let v=this.startNodeAtNode(f);v.objectType=f,v.indexType=this.tsParseType(),this.expect(3),f=this.finishNode(v,"TSIndexedAccessType")}return f}tsParseTypeOperator(){let f=this.startNode(),v=this.state.value;return this.next(),f.operator=v,f.typeAnnotation=this.tsParseTypeOperatorOrHigher(),v==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(f),this.finishNode(f,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(f){switch(f.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(jt.UnexpectedReadonly,f)}}tsParseInferType(){let f=this.startNode();this.expectContextual(115);let v=this.startNode();return v.name=this.tsParseTypeParameterName(),v.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),f.typeParameter=this.finishNode(v,"TSTypeParameter"),this.finishNode(f,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let f=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return f}}tsParseTypeOperatorOrHigher(){var f;return(f=this.state.type)>=121&&f<=123&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(f,v,B){let X=this.startNode(),ae=this.eat(B),Te=[];do Te.push(v());while(this.eat(B));return Te.length!==1||ae?(X.types=Te,this.finishNode(X,f)):Te[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(Q(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:f}=this.state,v=f.length;try{return this.parseObjectLike(8,!0),f.length===v}catch{return!1}}if(this.match(0)){this.next();let{errors:f}=this.state,v=f.length;try{return super.parseBindingList(3,93,1),f.length===v}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(f){return this.tsInType(()=>{let v=this.startNode();this.expect(f);let B=this.startNode(),X=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(X&&this.match(78)){let Ke=this.tsParseThisTypeOrThisTypePredicate();return Ke.type==="TSThisType"?(B.parameterName=Ke,B.asserts=!0,B.typeAnnotation=null,Ke=this.finishNode(B,"TSTypePredicate")):(this.resetStartLocationFromNode(Ke,B),Ke.asserts=!0),v.typeAnnotation=Ke,this.finishNode(v,"TSTypeAnnotation")}let ae=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!ae)return X?(B.parameterName=this.parseIdentifier(),B.asserts=X,B.typeAnnotation=null,v.typeAnnotation=this.finishNode(B,"TSTypePredicate"),this.finishNode(v,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,v);let Te=this.tsParseTypeAnnotation(!1);return B.parameterName=ae,B.typeAnnotation=Te,B.asserts=X,v.typeAnnotation=this.finishNode(B,"TSTypePredicate"),this.finishNode(v,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let f=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),f}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let f=this.state.containsEsc;return this.next(),!(!Q(this.state.type)&&!this.match(78))&&(f&&this.raise(T.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(f=!0,v=this.startNode()){return this.tsInType(()=>{f&&this.expect(14),v.typeAnnotation=this.tsParseType()}),this.finishNode(v,"TSTypeAnnotation")}tsParseType(){zt(this.state.inType);let f=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return f;let v=this.startNodeAtNode(f);return v.checkType=f,v.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),v.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),v.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(v,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(jt.ReservedTypeAssertion,this.state.startLoc);let f=this.startNode();return f.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),f.expression=this.parseMaybeUnary(),this.finishNode(f,"TSTypeAssertion")}tsParseHeritageClause(f){let v=this.state.startLoc,B=this.tsParseDelimitedList("HeritageClauseElement",()=>{let X=this.startNode();return X.expression=this.tsParseEntityName(),this.match(47)&&(X.typeParameters=this.tsParseTypeArguments()),this.finishNode(X,"TSExpressionWithTypeArguments")});return B.length||this.raise(jt.EmptyHeritageClauseType,v,{token:f}),B}tsParseInterfaceDeclaration(f,v={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),v.declare&&(f.declare=!0),Q(this.state.type)?(f.id=this.parseIdentifier(),this.checkIdentifier(f.id,130)):(f.id=null,this.raise(jt.MissingInterfaceName,this.state.startLoc)),f.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(f.extends=this.tsParseHeritageClause("extends"));let B=this.startNode();return B.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),f.body=this.finishNode(B,"TSInterfaceBody"),this.finishNode(f,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(f){return f.id=this.parseIdentifier(),this.checkIdentifier(f.id,2),f.typeAnnotation=this.tsInType(()=>{if(f.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){let v=this.startNode();return this.next(),this.finishNode(v,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(f,"TSTypeAliasDeclaration")}tsInNoContext(f){let v=this.state.context;this.state.context=[v[0]];try{return f()}finally{this.state.context=v}}tsInType(f){let v=this.state.inType;this.state.inType=!0;try{return f()}finally{this.state.inType=v}}tsInDisallowConditionalTypesContext(f){let v=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return f()}finally{this.state.inDisallowConditionalTypesContext=v}}tsInAllowConditionalTypesContext(f){let v=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return f()}finally{this.state.inDisallowConditionalTypesContext=v}}tsEatThenParseType(f){if(this.match(f))return this.tsNextThenParseType()}tsExpectThenParseType(f){return this.tsInType(()=>(this.expect(f),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let f=this.startNode();return f.id=this.match(133)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(f.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(f,"TSEnumMember")}tsParseEnumDeclaration(f,v={}){return v.const&&(f.const=!0),v.declare&&(f.declare=!0),this.expectContextual(126),f.id=this.parseIdentifier(),this.checkIdentifier(f.id,f.const?8971:8459),this.expect(5),f.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(f,"TSEnumDeclaration")}tsParseModuleBlock(){let f=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(f.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(f,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(f,v=!1){if(f.id=this.parseIdentifier(),v||this.checkIdentifier(f.id,1024),this.eat(16)){let B=this.startNode();this.tsParseModuleOrNamespaceDeclaration(B,!0),f.body=B}else this.scope.enter(256),this.prodParam.enter(0),f.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(f,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(f){return this.isContextual(112)?(f.global=!0,f.id=this.parseIdentifier()):this.match(133)?f.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),f.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(f,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(f,v,B){f.isExport=B||!1,f.id=v||this.parseIdentifier(),this.checkIdentifier(f.id,4096),this.expect(29);let X=this.tsParseModuleReference();return f.importKind==="type"&&X.type!=="TSExternalModuleReference"&&this.raise(jt.ImportAliasHasImportType,X),f.moduleReference=X,this.semicolon(),this.finishNode(f,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let f=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),f.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(f,"TSExternalModuleReference")}tsLookAhead(f){let v=this.state.clone(),B=f();return this.state=v,B}tsTryParseAndCatch(f){let v=this.tryParse(B=>f()||B());if(!v.aborted&&v.node)return v.error&&(this.state=v.failState),v.node}tsTryParse(f){let v=this.state.clone(),B=f();if(B!==void 0&&B!==!1)return B;this.state=v}tsTryParseDeclare(f){if(this.isLineTerminator())return;let v,B=this.state.type;return this.isContextual(100)&&(B=74,v="let"),this.tsInAmbientContext(()=>{switch(B){case 68:return f.declare=!0,super.parseFunctionStatement(f,!1,!1);case 80:return f.declare=!0,this.parseClass(f,!0,!1);case 126:return this.tsParseEnumDeclaration(f,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(f);case 75:case 74:return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(f,{const:!0,declare:!0})):(f.declare=!0,this.parseVarStatement(f,v||this.state.value,!0));case 129:{let X=this.tsParseInterfaceDeclaration(f,{declare:!0});if(X)return X}default:if(Q(B))return this.tsParseDeclaration(f,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(f,v,B){switch(v.name){case"declare":{let X=this.tsTryParseDeclare(f);return X&&(X.declare=!0),X}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let X=f;return X.global=!0,X.id=v,X.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(X,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(f,v.name,!1,B)}}tsParseDeclaration(f,v,B,X){switch(v){case"abstract":if(this.tsCheckLineTerminator(B)&&(this.match(80)||Q(this.state.type)))return this.tsParseAbstractDeclaration(f,X);break;case"module":if(this.tsCheckLineTerminator(B)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(f);if(Q(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(f)}break;case"namespace":if(this.tsCheckLineTerminator(B)&&Q(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(f);break;case"type":if(this.tsCheckLineTerminator(B)&&Q(this.state.type))return this.tsParseTypeAliasDeclaration(f)}}tsCheckLineTerminator(f){return f?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(f){if(!this.match(47))return;let v=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let B=this.tsTryParseAndCatch(()=>{let X=this.startNodeAt(f);return X.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(X),X.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),X});return this.state.maybeInArrowParameters=v,B?super.parseArrowExpression(B,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let f=this.startNode();return f.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),f.params.length===0?this.raise(jt.EmptyTypeArguments,f):this.state.inType||this.curContext()!==D.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(f,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(f=this.state.type)>=124&&f<=130;var f}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(f,v){let B=this.state.startLoc,X={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},X);let ae=X.accessibility,Te=X.override,Ke=X.readonly;4&f||!(ae||Ke||Te)||this.raise(jt.UnexpectedParameterModifier,B);let rt=this.parseMaybeDefault();this.parseAssignableListItemTypes(rt,f);let at=this.parseMaybeDefault(rt.loc.start,rt);if(ae||Ke||Te){let St=this.startNodeAt(B);return v.length&&(St.decorators=v),ae&&(St.accessibility=ae),Ke&&(St.readonly=Ke),Te&&(St.override=Te),at.type!=="Identifier"&&at.type!=="AssignmentPattern"&&this.raise(jt.UnsupportedParameterPropertyKind,St),St.parameter=at,this.finishNode(St,"TSParameterProperty")}return v.length&&(rt.decorators=v),at}isSimpleParameter(f){return f.type==="TSParameterProperty"&&super.isSimpleParameter(f.parameter)||super.isSimpleParameter(f)}tsDisallowOptionalPattern(f){for(let v of f.params)v.type!=="Identifier"&&v.optional&&!this.state.isAmbientContext&&this.raise(jt.PatternIsOptional,v)}setArrowFunctionParameters(f,v,B){super.setArrowFunctionParameters(f,v,B),this.tsDisallowOptionalPattern(f)}parseFunctionBodyAndFinish(f,v,B=!1){this.match(14)&&(f.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let X=v==="FunctionDeclaration"?"TSDeclareFunction":v==="ClassMethod"||v==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return X&&!this.match(5)&&this.isLineTerminator()?this.finishNode(f,X):X==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(jt.DeclareFunctionHasImplementation,f),f.declare)?super.parseFunctionBodyAndFinish(f,X,B):(this.tsDisallowOptionalPattern(f),super.parseFunctionBodyAndFinish(f,v,B))}registerFunctionStatementId(f){!f.body&&f.id?this.checkIdentifier(f.id,1024):super.registerFunctionStatementId(f)}tsCheckForInvalidTypeCasts(f){f.forEach(v=>{v?.type==="TSTypeCastExpression"&&this.raise(jt.UnexpectedTypeAnnotation,v.typeAnnotation)})}toReferencedList(f,v){return this.tsCheckForInvalidTypeCasts(f),f}parseArrayLike(f,v,B,X){let ae=super.parseArrayLike(f,v,B,X);return ae.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(ae.elements),ae}parseSubscript(f,v,B,X){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let Te=this.startNodeAt(v);return Te.expression=f,this.finishNode(Te,"TSNonNullExpression")}let ae=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(B)return X.stop=!0,f;X.optionalChainMember=ae=!0,this.next()}if(this.match(47)||this.match(51)){let Te,Ke=this.tsTryParseAndCatch(()=>{if(!B&&this.atPossibleAsyncArrow(f)){let Kt=this.tsTryParseGenericAsyncArrowFunction(v);if(Kt)return Kt}let rt=this.tsParseTypeArgumentsInExpression();if(!rt)return;if(ae&&!this.match(10))return void(Te=this.state.curPosition());if(me(this.state.type)){let Kt=super.parseTaggedTemplateExpression(f,v,X);return Kt.typeParameters=rt,Kt}if(!B&&this.eat(10)){let Kt=this.startNodeAt(v);return Kt.callee=f,Kt.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(Kt.arguments),Kt.typeParameters=rt,X.optionalChainMember&&(Kt.optional=ae),this.finishCallExpression(Kt,X.optionalChainMember)}let at=this.state.type;if(at===48||at===52||at!==10&&_e(at)&&!this.hasPrecedingLineBreak())return;let St=this.startNodeAt(v);return St.expression=f,St.typeParameters=rt,this.finishNode(St,"TSInstantiationExpression")});if(Te&&this.unexpected(Te,10),Ke)return Ke.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(jt.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),Ke}return super.parseSubscript(f,v,B,X)}parseNewCallee(f){var v;super.parseNewCallee(f);let{callee:B}=f;B.type!=="TSInstantiationExpression"||(v=B.extra)!=null&&v.parenthesized||(f.typeParameters=B.typeParameters,f.callee=B.expression)}parseExprOp(f,v,B){let X;if(Fe(58)>B&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(X=this.isContextual(120)))){let ae=this.startNodeAt(v);return ae.expression=f,ae.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(X&&this.raise(T.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(ae,X?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(ae,v,B)}return super.parseExprOp(f,v,B)}checkReservedWord(f,v,B,X){this.state.isAmbientContext||super.checkReservedWord(f,v,B,X)}checkImportReflection(f){super.checkImportReflection(f),f.module&&f.importKind!=="value"&&this.raise(jt.ImportReflectionHasImportType,f.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(f){if(super.isPotentialImportPhase(f))return!0;if(this.isContextual(130)){let v=this.lookaheadCharCode();return f?v===123||v===42:v!==61}return!f&&this.isContextual(87)}applyImportPhase(f,v,B,X){super.applyImportPhase(f,v,B,X),v?f.exportKind=B==="type"?"type":"value":f.importKind=B==="type"||B==="typeof"?B:"value"}parseImport(f){if(this.match(133))return f.importKind="value",super.parseImport(f);let v;if(Q(this.state.type)&&this.lookaheadCharCode()===61)return f.importKind="value",this.tsParseImportEqualsDeclaration(f);if(this.isContextual(130)){let B=this.parseMaybeImportPhase(f,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(f,B);v=super.parseImportSpecifiersAndAfter(f,B)}else v=super.parseImport(f);return v.importKind==="type"&&v.specifiers.length>1&&v.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(jt.TypeImportCannotSpecifyDefaultAndNamed,v),v}parseExport(f,v){if(this.match(83)){this.next();let B=f,X=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?X=this.parseMaybeImportPhase(B,!1):B.importKind="value",this.tsParseImportEqualsDeclaration(B,X,!0)}if(this.eat(29)){let B=f;return B.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(B,"TSExportAssignment")}if(this.eatContextual(93)){let B=f;return this.expectContextual(128),B.id=this.parseIdentifier(),this.semicolon(),this.finishNode(B,"TSNamespaceExportDeclaration")}return super.parseExport(f,v)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let f=this.startNode();return this.next(),f.abstract=!0,this.parseClass(f,!0,!0)}if(this.match(129)){let f=this.tsParseInterfaceDeclaration(this.startNode());if(f)return f}return super.parseExportDefaultExpression()}parseVarStatement(f,v,B=!1){let{isAmbientContext:X}=this.state,ae=super.parseVarStatement(f,v,B||X);if(!X)return ae;for(let{id:Te,init:Ke}of ae.declarations)Ke&&(v!=="const"||Te.typeAnnotation?this.raise(jt.InitializerNotAllowedInAmbientContext,Ke):dr(Ke,this.hasPlugin("estree"))||this.raise(jt.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,Ke));return ae}parseStatementContent(f,v){if(this.match(75)&&this.isLookaheadContextual("enum")){let B=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(B,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let B=this.tsParseInterfaceDeclaration(this.startNode());if(B)return B}return super.parseStatementContent(f,v)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(f,v){return v.some(B=>xr(B)?f.accessibility===B:!!f[B])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(f,v,B){let X=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:X,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:jt.InvalidModifierOnTypeParameterPositions},v);let ae=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(v,X)&&this.raise(jt.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(f,v)):this.parseClassMemberWithIsStatic(f,v,B,!!v.static)};v.declare?this.tsInAmbientContext(ae):ae()}parseClassMemberWithIsStatic(f,v,B,X){let ae=this.tsTryParseIndexSignature(v);if(ae)return f.body.push(ae),v.abstract&&this.raise(jt.IndexSignatureHasAbstract,v),v.accessibility&&this.raise(jt.IndexSignatureHasAccessibility,v,{modifier:v.accessibility}),v.declare&&this.raise(jt.IndexSignatureHasDeclare,v),void(v.override&&this.raise(jt.IndexSignatureHasOverride,v));!this.state.inAbstractClass&&v.abstract&&this.raise(jt.NonAbstractClassHasAbstractMethod,v),v.override&&(B.hadSuperClass||this.raise(jt.OverrideNotInSubClass,v)),super.parseClassMemberWithIsStatic(f,v,B,X)}parsePostMemberNameModifiers(f){this.eat(17)&&(f.optional=!0),f.readonly&&this.match(10)&&this.raise(jt.ClassMethodHasReadonly,f),f.declare&&this.match(10)&&this.raise(jt.ClassMethodHasDeclare,f)}parseExpressionStatement(f,v,B){return(v.type==="Identifier"?this.tsParseExpressionStatement(f,v,B):void 0)||super.parseExpressionStatement(f,v,B)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(f,v,B){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(f,v,B);let X=this.tryParse(()=>super.parseConditional(f,v));return X.node?(X.error&&(this.state=X.failState),X.node):(X.error&&super.setOptionalParametersError(B,X.error),f)}parseParenItem(f,v){let B=super.parseParenItem(f,v);if(this.eat(17)&&(B.optional=!0,this.resetEndLocation(f)),this.match(14)){let X=this.startNodeAt(v);return X.expression=f,X.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(X,"TSTypeCastExpression")}return f}parseExportDeclaration(f){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(f));let v=this.state.startLoc,B=this.eatContextual(125);if(B&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(jt.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let X=Q(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(f);return X?((X.type==="TSInterfaceDeclaration"||X.type==="TSTypeAliasDeclaration"||B)&&(f.exportKind="type"),B&&(this.resetStartLocation(X,v),X.declare=!0),X):null}parseClassId(f,v,B,X){if((!v||B)&&this.isContextual(113))return;super.parseClassId(f,v,B,f.declare?1024:8331);let ae=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);ae&&(f.typeParameters=ae)}parseClassPropertyAnnotation(f){f.optional||(this.eat(35)?f.definite=!0:this.eat(17)&&(f.optional=!0));let v=this.tsTryParseTypeAnnotation();v&&(f.typeAnnotation=v)}parseClassProperty(f){if(this.parseClassPropertyAnnotation(f),this.state.isAmbientContext&&(!f.readonly||f.typeAnnotation)&&this.match(29)&&this.raise(jt.DeclareClassFieldHasInitializer,this.state.startLoc),f.abstract&&this.match(29)){let{key:v}=f;this.raise(jt.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:v.type!=="Identifier"||f.computed?`[${this.input.slice(v.start,v.end)}]`:v.name})}return super.parseClassProperty(f)}parseClassPrivateProperty(f){return f.abstract&&this.raise(jt.PrivateElementHasAbstract,f),f.accessibility&&this.raise(jt.PrivateElementHasAccessibility,f,{modifier:f.accessibility}),this.parseClassPropertyAnnotation(f),super.parseClassPrivateProperty(f)}parseClassAccessorProperty(f){return this.parseClassPropertyAnnotation(f),f.optional&&this.raise(jt.AccessorCannotBeOptional,f),super.parseClassAccessorProperty(f)}pushClassMethod(f,v,B,X,ae,Te){let Ke=this.tsTryParseTypeParameters(this.tsParseConstModifier);Ke&&ae&&this.raise(jt.ConstructorHasTypeParameters,Ke);let{declare:rt=!1,kind:at}=v;!rt||at!=="get"&&at!=="set"||this.raise(jt.DeclareAccessor,v,{kind:at}),Ke&&(v.typeParameters=Ke),super.pushClassMethod(f,v,B,X,ae,Te)}pushClassPrivateMethod(f,v,B,X){let ae=this.tsTryParseTypeParameters(this.tsParseConstModifier);ae&&(v.typeParameters=ae),super.pushClassPrivateMethod(f,v,B,X)}declareClassPrivateMethodInScope(f,v){f.type!=="TSDeclareMethod"&&(f.type!=="MethodDefinition"||hasOwnProperty.call(f.value,"body"))&&super.declareClassPrivateMethodInScope(f,v)}parseClassSuper(f){super.parseClassSuper(f),f.superClass&&(this.match(47)||this.match(51))&&(f.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(f.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(f,v,B,X,ae,Te,Ke){let rt=this.tsTryParseTypeParameters(this.tsParseConstModifier);return rt&&(f.typeParameters=rt),super.parseObjPropValue(f,v,B,X,ae,Te,Ke)}parseFunctionParams(f,v){let B=this.tsTryParseTypeParameters(this.tsParseConstModifier);B&&(f.typeParameters=B),super.parseFunctionParams(f,v)}parseVarId(f,v){super.parseVarId(f,v),f.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(f.definite=!0);let B=this.tsTryParseTypeAnnotation();B&&(f.id.typeAnnotation=B,this.resetEndLocation(f.id))}parseAsyncArrowFromCallExpression(f,v){return this.match(14)&&(f.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(f,v)}parseMaybeAssign(f,v){var B,X,ae,Te,Ke;let rt,at,St,Kt;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(rt=this.state.clone(),at=this.tryParse(()=>super.parseMaybeAssign(f,v),rt),!at.error)return at.node;let{context:lr}=this.state,Ur=lr[lr.length-1];Ur!==D.j_oTag&&Ur!==D.j_expr||lr.pop()}if(!((B=at)!=null&&B.error||this.match(47)))return super.parseMaybeAssign(f,v);rt&&rt!==this.state||(rt=this.state.clone());let gr=this.tryParse(lr=>{var Ur,pi;Kt=this.tsParseTypeParameters(this.tsParseConstModifier);let bi=super.parseMaybeAssign(f,v);return(bi.type!=="ArrowFunctionExpression"||(Ur=bi.extra)!=null&&Ur.parenthesized)&&lr(),((pi=Kt)==null?void 0:pi.params.length)!==0&&this.resetStartLocationFromNode(bi,Kt),bi.typeParameters=Kt,bi},rt);if(!gr.error&&!gr.aborted)return Kt&&this.reportReservedArrowTypeParam(Kt),gr.node;if(!at&&(zt(!this.hasPlugin("jsx")),St=this.tryParse(()=>super.parseMaybeAssign(f,v),rt),!St.error))return St.node;if((X=at)!=null&&X.node)return this.state=at.failState,at.node;if(gr.node)return this.state=gr.failState,Kt&&this.reportReservedArrowTypeParam(Kt),gr.node;if((ae=St)!=null&&ae.node)return this.state=St.failState,St.node;throw((Te=at)==null?void 0:Te.error)||gr.error||((Ke=St)==null?void 0:Ke.error)}reportReservedArrowTypeParam(f){var v;f.params.length!==1||f.params[0].constraint||(v=f.extra)!=null&&v.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(jt.ReservedArrowTypeParam,f)}parseMaybeUnary(f,v){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(f,v)}parseArrow(f){if(this.match(14)){let v=this.tryParse(B=>{let X=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||B(),X});if(v.aborted)return;v.thrown||(v.error&&(this.state=v.failState),f.returnType=v.node)}return super.parseArrow(f)}parseAssignableListItemTypes(f,v){if(!(2&v))return f;this.eat(17)&&(f.optional=!0);let B=this.tsTryParseTypeAnnotation();return B&&(f.typeAnnotation=B),this.resetEndLocation(f),f}isAssignable(f,v){switch(f.type){case"TSTypeCastExpression":return this.isAssignable(f.expression,v);case"TSParameterProperty":return!0;default:return super.isAssignable(f,v)}}toAssignable(f,v=!1){switch(f.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(f,v);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":v?this.expressionScope.recordArrowParameterBindingError(jt.UnexpectedTypeCastInParameter,f):this.raise(jt.UnexpectedTypeCastInParameter,f),this.toAssignable(f.expression,v);break;case"AssignmentExpression":v||f.left.type!=="TSTypeCastExpression"||(f.left=this.typeCastToParameter(f.left));default:super.toAssignable(f,v)}}toAssignableParenthesizedExpression(f,v){switch(f.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(f.expression,v);break;default:super.toAssignable(f,v)}}checkToRestConversion(f,v){switch(f.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(f.expression,!1);break;default:super.checkToRestConversion(f,v)}}isValidLVal(f,v,B){return X={TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSInstantiationExpression:"expression",TSAsExpression:(B!==64||!v)&&["expression",!0],TSSatisfiesExpression:(B!==64||!v)&&["expression",!0],TSTypeAssertion:(B!==64||!v)&&["expression",!0]},ae=f,hasOwnProperty.call(X,ae)&&X[ae]||super.isValidLVal(f,v,B);var X,ae}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(f){if(this.match(47)||this.match(51)){let v=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let B=super.parseMaybeDecoratorArguments(f);return B.typeParameters=v,B}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(f)}checkCommaAfterRest(f){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===f?(this.next(),!1):super.checkCommaAfterRest(f)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(f,v){let B=super.parseMaybeDefault(f,v);return B.type==="AssignmentPattern"&&B.typeAnnotation&&B.right.start<B.typeAnnotation.start&&this.raise(jt.TypeAnnotationAfterAssign,B.typeAnnotation),B}getTokenFromCode(f){if(this.state.inType){if(f===62)return void this.finishOp(48,1);if(f===60)return void this.finishOp(47,1)}super.getTokenFromCode(f)}reScan_lt_gt(){let{type:f}=this.state;f===47?(this.state.pos-=1,this.readToken_lt()):f===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:f}=this.state;return f===51?(this.state.pos-=2,this.finishOp(47,1),47):f}toAssignableList(f,v,B){for(let X=0;X<f.length;X++){let ae=f[X];ae?.type==="TSTypeCastExpression"&&(f[X]=this.typeCastToParameter(ae))}super.toAssignableList(f,v,B)}typeCastToParameter(f){return f.expression.typeAnnotation=f.typeAnnotation,this.resetEndLocation(f.expression,f.typeAnnotation.loc.end),f.expression}shouldParseArrow(f){return this.match(14)?f.every(v=>this.isAssignable(v,!0)):super.shouldParseArrow(f)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(f){if(this.match(47)||this.match(51)){let v=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());v&&(f.typeParameters=v)}return super.jsxParseOpeningElementAfterName(f)}getGetterSetterExpectedParamCount(f){let v=super.getGetterSetterExpectedParamCount(f),B=this.getObjectOrClassMethodParams(f)[0];return B&&this.isThisParam(B)?v+1:v}parseCatchClauseParam(){let f=super.parseCatchClauseParam(),v=this.tsTryParseTypeAnnotation();return v&&(f.typeAnnotation=v,this.resetEndLocation(f)),f}tsInAmbientContext(f){let v=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return f()}finally{this.state.isAmbientContext=v}}parseClass(f,v,B){let X=this.state.inAbstractClass;this.state.inAbstractClass=!!f.abstract;try{return super.parseClass(f,v,B)}finally{this.state.inAbstractClass=X}}tsParseAbstractDeclaration(f,v){if(this.match(80))return f.abstract=!0,this.maybeTakeDecorators(v,this.parseClass(f,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return f.abstract=!0,this.raise(jt.NonClassMethodPropertyHasAbstractModifer,f),this.tsParseInterfaceDeclaration(f)}else this.unexpected(null,80)}parseMethod(f,v,B,X,ae,Te,Ke){let rt=super.parseMethod(f,v,B,X,ae,Te,Ke);if(rt.abstract&&(this.hasPlugin("estree")?rt.value.body:rt.body)){let{key:at}=rt;this.raise(jt.AbstractMethodHasImplementation,rt,{methodName:at.type!=="Identifier"||rt.computed?`[${this.input.slice(at.start,at.end)}]`:at.name})}return rt}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(f,v,B,X){return!v&&X?(this.parseTypeOnlyImportExportSpecifier(f,!1,B),this.finishNode(f,"ExportSpecifier")):(f.exportKind="value",super.parseExportSpecifier(f,v,B,X))}parseImportSpecifier(f,v,B,X,ae){return!v&&X?(this.parseTypeOnlyImportExportSpecifier(f,!0,B),this.finishNode(f,"ImportSpecifier")):(f.importKind="value",super.parseImportSpecifier(f,v,B,X,B?4098:4096))}parseTypeOnlyImportExportSpecifier(f,v,B){let X=v?"imported":"local",ae=v?"local":"exported",Te,Ke=f[X],rt=!1,at=!0,St=Ke.loc.start;if(this.isContextual(93)){let Kt=this.parseIdentifier();if(this.isContextual(93)){let gr=this.parseIdentifier();z(this.state.type)?(rt=!0,Ke=Kt,Te=v?this.parseIdentifier():this.parseModuleExportName(),at=!1):(Te=gr,at=!1)}else z(this.state.type)?(at=!1,Te=v?this.parseIdentifier():this.parseModuleExportName()):(rt=!0,Ke=Kt)}else z(this.state.type)&&(rt=!0,v?(Ke=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(Ke.name,Ke.loc.start,!0,!0)):Ke=this.parseModuleExportName());rt&&B&&this.raise(v?jt.TypeModifierIsUsedInTypeImports:jt.TypeModifierIsUsedInTypeExports,St),f[X]=Ke,f[ae]=Te,f[v?"importKind":"exportKind"]=rt?"type":"value",at&&this.eatContextual(93)&&(f[ae]=v?this.parseIdentifier():this.parseModuleExportName()),f[ae]||(f[ae]=Fi(f[X])),v&&this.checkIdentifier(f[ae],rt?4098:4096)}},v8intrinsic:V=>class extends V{parseV8Intrinsic(){if(this.match(54)){let f=this.state.startLoc,v=this.startNode();if(this.next(),Q(this.state.type)){let B=this.parseIdentifierName(),X=this.createIdentifier(v,B);if(X.type="V8IntrinsicIdentifier",this.match(10))return X}this.unexpected(f)}}parseExprAtom(f){return this.parseV8Intrinsic()||super.parseExprAtom(f)}},placeholders:V=>class extends V{parsePlaceholder(f){if(this.match(144)){let v=this.startNode();return this.next(),this.assertNoSpace(),v.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(v,f)}}finishPlaceholder(f,v){let B=f;return B.expectedNode&&B.type||(B=this.finishNode(B,"Placeholder")),B.expectedNode=v,B}getTokenFromCode(f){f===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(144,2):super.getTokenFromCode(f)}parseExprAtom(f){return this.parsePlaceholder("Expression")||super.parseExprAtom(f)}parseIdentifier(f){return this.parsePlaceholder("Identifier")||super.parseIdentifier(f)}checkReservedWord(f,v,B,X){f!==void 0&&super.checkReservedWord(f,v,B,X)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(f,v,B){return f==="Placeholder"||super.isValidLVal(f,v,B)}toAssignable(f,v){f&&f.type==="Placeholder"&&f.expectedNode==="Expression"?f.expectedNode="Pattern":super.toAssignable(f,v)}chStartsBindingIdentifier(f,v){return super.chStartsBindingIdentifier(f,v)?!0:this.lookahead().type===144}verifyBreakContinue(f,v){f.label&&f.label.type==="Placeholder"||super.verifyBreakContinue(f,v)}parseExpressionStatement(f,v){var B;if(v.type!=="Placeholder"||(B=v.extra)!=null&&B.parenthesized)return super.parseExpressionStatement(f,v);if(this.match(14)){let ae=f;return ae.label=this.finishPlaceholder(v,"Identifier"),this.next(),ae.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(ae,"LabeledStatement")}this.semicolon();let X=f;return X.name=v.name,this.finishPlaceholder(X,"Statement")}parseBlock(f,v,B){return this.parsePlaceholder("BlockStatement")||super.parseBlock(f,v,B)}parseFunctionId(f){return this.parsePlaceholder("Identifier")||super.parseFunctionId(f)}parseClass(f,v,B){let X=v?"ClassDeclaration":"ClassExpression";this.next();let ae=this.state.strict,Te=this.parsePlaceholder("Identifier");if(Te){if(!(this.match(81)||this.match(144)||this.match(5))){if(B||!v)return f.id=null,f.body=this.finishPlaceholder(Te,"ClassBody"),this.finishNode(f,X);throw this.raise(zn.ClassNameIsRequired,this.state.startLoc)}f.id=Te}else this.parseClassId(f,v,B);return super.parseClassSuper(f),f.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!f.superClass,ae),this.finishNode(f,X)}parseExport(f,v){let B=this.parsePlaceholder("Identifier");if(!B)return super.parseExport(f,v);let X=f;if(!this.isContextual(98)&&!this.match(12))return X.specifiers=[],X.source=null,X.declaration=this.finishPlaceholder(B,"Declaration"),this.finishNode(X,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let ae=this.startNode();return ae.exported=B,X.specifiers=[this.finishNode(ae,"ExportDefaultSpecifier")],super.parseExport(X,v)}isExportDefaultSpecifier(){if(this.match(65)){let f=this.nextTokenStart();if(this.isUnparsedContextual(f,"from")&&this.input.startsWith(Ve(144),this.nextTokenStartSince(f+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(f,v){var B;return!((B=f.specifiers)==null||!B.length)||super.maybeParseExportDefaultSpecifier(f,v)}checkExport(f){let{specifiers:v}=f;v!=null&&v.length&&(f.specifiers=v.filter(B=>B.exported.type==="Placeholder")),super.checkExport(f),f.specifiers=v}parseImport(f){let v=this.parsePlaceholder("Identifier");if(!v)return super.parseImport(f);if(f.specifiers=[],!this.isContextual(98)&&!this.match(12))return f.source=this.finishPlaceholder(v,"StringLiteral"),this.semicolon(),this.finishNode(f,"ImportDeclaration");let B=this.startNodeAtNode(v);return B.local=v,f.specifiers.push(this.finishNode(B,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(f)||this.parseNamedImportSpecifiers(f)),this.expectContextual(98),f.source=this.parseImportSource(),this.semicolon(),this.finishNode(f,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(zn.UnexpectedSpace,this.state.lastTokEndLoc)}}},ja=Object.keys(Fa),ao={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,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};class Rr extends Bt{checkProto(f,v,B,X){if(f.type==="SpreadElement"||this.isObjectMethod(f)||f.computed||f.shorthand)return;let ae=f.key;if((ae.type==="Identifier"?ae.name:ae.value)==="__proto__"){if(v)return void this.raise(T.RecordNoProto,ae);B.used&&(X?X.doubleProtoLoc===null&&(X.doubleProtoLoc=ae.loc.start):this.raise(T.DuplicateProto,ae)),B.used=!0}}shouldExitDescending(f,v){return f.type==="ArrowFunctionExpression"&&f.start===v}getExpression(){this.enterInitialScopes(),this.nextToken();let f=this.parseExpression();return this.match(139)||this.unexpected(),this.finalizeRemainingComments(),f.comments=this.comments,f.errors=this.state.errors,this.options.tokens&&(f.tokens=this.tokens),f}parseExpression(f,v){return f?this.disallowInAnd(()=>this.parseExpressionBase(v)):this.allowInAnd(()=>this.parseExpressionBase(v))}parseExpressionBase(f){let v=this.state.startLoc,B=this.parseMaybeAssign(f);if(this.match(12)){let X=this.startNodeAt(v);for(X.expressions=[B];this.eat(12);)X.expressions.push(this.parseMaybeAssign(f));return this.toReferencedList(X.expressions),this.finishNode(X,"SequenceExpression")}return B}parseMaybeAssignDisallowIn(f,v){return this.disallowInAnd(()=>this.parseMaybeAssign(f,v))}parseMaybeAssignAllowIn(f,v){return this.allowInAnd(()=>this.parseMaybeAssign(f,v))}setOptionalParametersError(f,v){var B;f.optionalParametersLoc=(B=v?.loc)!=null?B:this.state.startLoc}parseMaybeAssign(f,v){let B=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let rt=this.parseYield();return v&&(rt=v.call(this,rt,B)),rt}let X;f?X=!1:(f=new Vs,X=!0);let{type:ae}=this.state;(ae===10||Q(ae))&&(this.state.potentialArrowAt=this.state.start);let Te=this.parseMaybeConditional(f);if(v&&(Te=v.call(this,Te,B)),(Ke=this.state.type)>=29&&Ke<=33){let rt=this.startNodeAt(B),at=this.state.value;if(rt.operator=at,this.match(29)){this.toAssignable(Te,!0),rt.left=Te;let St=B.index;f.doubleProtoLoc!=null&&f.doubleProtoLoc.index>=St&&(f.doubleProtoLoc=null),f.shorthandAssignLoc!=null&&f.shorthandAssignLoc.index>=St&&(f.shorthandAssignLoc=null),f.privateKeyLoc!=null&&f.privateKeyLoc.index>=St&&(this.checkDestructuringPrivate(f),f.privateKeyLoc=null)}else rt.left=Te;return this.next(),rt.right=this.parseMaybeAssign(),this.checkLVal(Te,{in:this.finishNode(rt,"AssignmentExpression")}),rt}var Ke;return X&&this.checkExpressionErrors(f,!0),Te}parseMaybeConditional(f){let v=this.state.startLoc,B=this.state.potentialArrowAt,X=this.parseExprOps(f);return this.shouldExitDescending(X,B)?X:this.parseConditional(X,v,f)}parseConditional(f,v,B){if(this.eat(17)){let X=this.startNodeAt(v);return X.test=f,X.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),X.alternate=this.parseMaybeAssign(),this.finishNode(X,"ConditionalExpression")}return f}parseMaybeUnaryOrPrivate(f){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(f)}parseExprOps(f){let v=this.state.startLoc,B=this.state.potentialArrowAt,X=this.parseMaybeUnaryOrPrivate(f);return this.shouldExitDescending(X,B)?X:this.parseExprOp(X,v,-1)}parseExprOp(f,v,B){if(this.isPrivateName(f)){let Te=this.getPrivateNameSV(f);(B>=Fe(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(T.PrivateInExpectedIn,f,{identifierName:Te}),this.classScope.usePrivateName(Te,f.loc.start)}let X=this.state.type;if((ae=X)>=39&&ae<=59&&(this.prodParam.hasIn||!this.match(58))){let Te=Fe(X);if(Te>B){if(X===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return f;this.checkPipelineAtInfixOperator(f,v)}let Ke=this.startNodeAt(v);Ke.left=f,Ke.operator=this.state.value;let rt=X===41||X===42,at=X===40;if(at&&(Te=Fe(42)),this.next(),X===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(T.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);Ke.right=this.parseExprOpRightExpr(X,Te);let St=this.finishNode(Ke,rt||at?"LogicalExpression":"BinaryExpression"),Kt=this.state.type;if(at&&(Kt===41||Kt===42)||rt&&Kt===40)throw this.raise(T.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(St,v,B)}}var ae;return f}parseExprOpRightExpr(f,v){let B=this.state.startLoc;if(f===39)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(T.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(f,v),B)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(v))}return this.parseExprOpBaseRightExpr(f,v)}parseExprOpBaseRightExpr(f,v){let B=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),B,f===57?v-1:v)}parseHackPipeBody(){var f;let{startLoc:v}=this.state,B=this.parseMaybeAssign();return!m.has(B.type)||(f=B.extra)!=null&&f.parenthesized||this.raise(T.PipeUnparenthesizedBody,v,{type:B.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(T.PipeTopicUnused,v),B}checkExponentialAfterUnary(f){this.match(57)&&this.raise(T.UnexpectedTokenUnaryExponentiation,f.argument)}parseMaybeUnary(f,v){let B=this.state.startLoc,X=this.isContextual(96);if(X&&this.isAwaitAllowed()){this.next();let at=this.parseAwait(B);return v||this.checkExponentialAfterUnary(at),at}let ae=this.match(34),Te=this.startNode();if(Ke=this.state.type,J[Ke]){Te.operator=this.state.value,Te.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let at=this.match(89);if(this.next(),Te.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(f,!0),this.state.strict&&at){let St=Te.argument;St.type==="Identifier"?this.raise(T.StrictDelete,Te):this.hasPropertyAsPrivateName(St)&&this.raise(T.DeletePrivateField,Te)}if(!ae)return v||this.checkExponentialAfterUnary(Te),this.finishNode(Te,"UnaryExpression")}var Ke;let rt=this.parseUpdate(Te,ae,f);if(X){let{type:at}=this.state;if((this.hasPlugin("v8intrinsic")?_e(at):_e(at)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(T.AwaitNotInAsyncContext,B),this.parseAwait(B)}return rt}parseUpdate(f,v,B){if(v){let Te=f;return this.checkLVal(Te.argument,{in:this.finishNode(Te,"UpdateExpression")}),f}let X=this.state.startLoc,ae=this.parseExprSubscripts(B);if(this.checkExpressionErrors(B,!1))return ae;for(;this.state.type===34&&!this.canInsertSemicolon();){let Te=this.startNodeAt(X);Te.operator=this.state.value,Te.prefix=!1,Te.argument=ae,this.next(),this.checkLVal(ae,{in:ae=this.finishNode(Te,"UpdateExpression")})}return ae}parseExprSubscripts(f){let v=this.state.startLoc,B=this.state.potentialArrowAt,X=this.parseExprAtom(f);return this.shouldExitDescending(X,B)?X:this.parseSubscripts(X,v)}parseSubscripts(f,v,B){let X={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(f),stop:!1};do f=this.parseSubscript(f,v,B,X),X.maybeAsyncArrow=!1;while(!X.stop);return f}parseSubscript(f,v,B,X){let{type:ae}=this.state;if(!B&&ae===15)return this.parseBind(f,v,B,X);if(me(ae))return this.parseTaggedTemplateExpression(f,v,X);let Te=!1;if(ae===18){if(B&&(this.raise(T.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return X.stop=!0,f;X.optionalChainMember=Te=!0,this.next()}if(!B&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(f,v,X,Te);{let Ke=this.eat(0);return Ke||Te||this.eat(16)?this.parseMember(f,v,X,Ke,Te):(X.stop=!0,f)}}parseMember(f,v,B,X,ae){let Te=this.startNodeAt(v);return Te.object=f,Te.computed=X,X?(Te.property=this.parseExpression(),this.expect(3)):this.match(138)?(f.type==="Super"&&this.raise(T.SuperPrivateField,v),this.classScope.usePrivateName(this.state.value,this.state.startLoc),Te.property=this.parsePrivateName()):Te.property=this.parseIdentifier(!0),B.optionalChainMember?(Te.optional=ae,this.finishNode(Te,"OptionalMemberExpression")):this.finishNode(Te,"MemberExpression")}parseBind(f,v,B,X){let ae=this.startNodeAt(v);return ae.object=f,this.next(),ae.callee=this.parseNoCallExpr(),X.stop=!0,this.parseSubscripts(this.finishNode(ae,"BindExpression"),v,B)}parseCoverCallAndAsyncArrowHead(f,v,B,X){let ae=this.state.maybeInArrowParameters,Te=null;this.state.maybeInArrowParameters=!0,this.next();let Ke=this.startNodeAt(v);Ke.callee=f;let{maybeAsyncArrow:rt,optionalChainMember:at}=B;rt&&(this.expressionScope.enter(new Ni(2)),Te=new Vs),at&&(Ke.optional=X),Ke.arguments=X?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,f.type==="Import",f.type!=="Super",Ke,Te);let St=this.finishCallExpression(Ke,at);return rt&&this.shouldParseAsyncArrow()&&!X?(B.stop=!0,this.checkDestructuringPrivate(Te),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),St=this.parseAsyncArrowFromCallExpression(this.startNodeAt(v),St)):(rt&&(this.checkExpressionErrors(Te,!0),this.expressionScope.exit()),this.toReferencedArguments(St)),this.state.maybeInArrowParameters=ae,St}toReferencedArguments(f,v){this.toReferencedListDeep(f.arguments,v)}parseTaggedTemplateExpression(f,v,B){let X=this.startNodeAt(v);return X.tag=f,X.quasi=this.parseTemplate(!0),B.optionalChainMember&&this.raise(T.OptionalChainingNoTemplate,v),this.finishNode(X,"TaggedTemplateExpression")}atPossibleAsyncArrow(f){return f.type==="Identifier"&&f.name==="async"&&this.state.lastTokEndLoc.index===f.end&&!this.canInsertSemicolon()&&f.end-f.start==5&&f.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(f,v){if(f.callee.type==="Import")if(f.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),f.arguments.length===0||f.arguments.length>2)this.raise(T.ImportCallArity,f,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let B of f.arguments)B.type==="SpreadElement"&&this.raise(T.ImportCallSpreadArgument,B);return this.finishNode(f,v?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(f,v,B,X,ae){let Te=[],Ke=!0,rt=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(f);){if(Ke)Ke=!1;else if(this.expect(12),this.match(f)){!v||this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(T.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc),X&&this.addTrailingCommaExtraToNode(X),this.next();break}Te.push(this.parseExprListItem(!1,ae,B))}return this.state.inFSharpPipelineDirectBody=rt,Te}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(f,v){var B;return this.resetPreviousNodeTrailingComments(v),this.expect(19),this.parseArrowExpression(f,v.arguments,!0,(B=v.extra)==null?void 0:B.trailingCommaLoc),v.innerComments&&qe(f,v.innerComments),v.callee.trailingComments&&qe(f,v.callee.trailingComments),f}parseNoCallExpr(){let f=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),f,!0)}parseExprAtom(f){let v,B=null,{type:X}=this.state;switch(X){case 79:return this.parseSuper();case 83:return v=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(v):this.match(10)?this.options.createImportExpressions?this.parseImportCall(v):this.finishNode(v,"Import"):(this.raise(T.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(v,"Import"));case 78:return v=this.startNode(),this.next(),this.finishNode(v,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 136:return this.parseDecimalLiteral(this.state.value);case 133:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let ae=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(ae)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,f);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,f);case 68:return this.parseFunctionOrFunctionSent();case 26:B=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(B,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{v=this.startNode(),this.next(),v.object=null;let ae=v.callee=this.parseNoCallExpr();if(ae.type==="MemberExpression")return this.finishNode(v,"BindExpression");throw this.raise(T.UnsupportedBind,ae)}case 138:return this.raise(T.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let ae=this.getPluginOption("pipelineOperator","proposal");if(ae)return this.parseTopicReference(ae);this.unexpected();break}case 47:{let ae=this.input.codePointAt(this.nextTokenStart());Ie(ae)||ae===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(Q(X)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let ae=this.state.potentialArrowAt===this.state.start,Te=this.state.containsEsc,Ke=this.parseIdentifier();if(!Te&&Ke.name==="async"&&!this.canInsertSemicolon()){let{type:rt}=this.state;if(rt===68)return this.resetPreviousNodeTrailingComments(Ke),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(Ke));if(Q(rt))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(Ke)):Ke;if(rt===90)return this.resetPreviousNodeTrailingComments(Ke),this.parseDo(this.startNodeAtNode(Ke),!0)}return ae&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(Ke),[Ke],!1)):Ke}this.unexpected()}}parseTopicReferenceThenEqualsSign(f,v){let B=this.getPluginOption("pipelineOperator","proposal");if(B)return this.state.type=f,this.state.value=v,this.state.pos--,this.state.end--,this.state.endLoc=H(this.state.endLoc,-1),this.parseTopicReference(B);this.unexpected()}parseTopicReference(f){let v=this.startNode(),B=this.state.startLoc,X=this.state.type;return this.next(),this.finishTopicReference(v,B,f,X)}finishTopicReference(f,v,B,X){if(this.testTopicReferenceConfiguration(B,v,X)){let ae=B==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(B==="smart"?T.PrimaryTopicNotAllowed:T.PipeTopicUnbound,v),this.registerTopicReference(),this.finishNode(f,ae)}throw this.raise(T.PipeTopicUnconfiguredToken,v,{token:Ve(X)})}testTopicReferenceConfiguration(f,v,B){switch(f){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Ve(B)}]);case"smart":return B===27;default:throw this.raise(T.PipeTopicRequiresHackPipes,v)}}parseAsyncArrowUnaryFunction(f){this.prodParam.enter(Pn(!0,this.prodParam.hasYield));let v=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(T.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(f,v,!0)}parseDo(f,v){this.expectPlugin("doExpressions"),v&&this.expectPlugin("asyncDoExpressions"),f.async=v,this.next();let B=this.state.labels;return this.state.labels=[],v?(this.prodParam.enter(2),f.body=this.parseBlock(),this.prodParam.exit()):f.body=this.parseBlock(),this.state.labels=B,this.finishNode(f,"DoExpression")}parseSuper(){let f=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(T.UnexpectedSuper,f):this.raise(T.SuperNotAllowed,f),this.match(10)||this.match(0)||this.match(16)||this.raise(T.UnsupportedSuper,f),this.finishNode(f,"Super")}parsePrivateName(){let f=this.startNode(),v=this.startNodeAt(H(this.state.startLoc,1)),B=this.state.value;return this.next(),f.id=this.createIdentifier(v,B),this.finishNode(f,"PrivateName")}parseFunctionOrFunctionSent(){let f=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let v=this.createIdentifier(this.startNodeAtNode(f),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(f,v,"sent")}return this.parseFunction(f)}parseMetaProperty(f,v,B){f.meta=v;let X=this.state.containsEsc;return f.property=this.parseIdentifier(!0),(f.property.name!==B||X)&&this.raise(T.UnsupportedMetaProperty,f.property,{target:v.name,onlyValidPropertyName:B}),this.finishNode(f,"MetaProperty")}parseImportMetaProperty(f){let v=this.createIdentifier(this.startNodeAtNode(f),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(T.ImportMetaOutsideModule,v),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){let B=this.isContextual(105);if(B||this.unexpected(),this.expectPlugin(B?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(T.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),f.phase=B?"source":"defer",this.parseImportCall(f)}return this.parseMetaProperty(f,v,"meta")}parseLiteralAtNode(f,v,B){return this.addExtra(B,"rawValue",f),this.addExtra(B,"raw",this.input.slice(B.start,this.state.end)),B.value=f,this.next(),this.finishNode(B,v)}parseLiteral(f,v){let B=this.startNode();return this.parseLiteralAtNode(f,v,B)}parseStringLiteral(f){return this.parseLiteral(f,"StringLiteral")}parseNumericLiteral(f){return this.parseLiteral(f,"NumericLiteral")}parseBigIntLiteral(f){return this.parseLiteral(f,"BigIntLiteral")}parseDecimalLiteral(f){return this.parseLiteral(f,"DecimalLiteral")}parseRegExpLiteral(f){let v=this.parseLiteral(f.value,"RegExpLiteral");return v.pattern=f.pattern,v.flags=f.flags,v}parseBooleanLiteral(f){let v=this.startNode();return v.value=f,this.next(),this.finishNode(v,"BooleanLiteral")}parseNullLiteral(){let f=this.startNode();return this.next(),this.finishNode(f,"NullLiteral")}parseParenAndDistinguishExpression(f){let v=this.state.startLoc,B;this.next(),this.expressionScope.enter(new Ni(1));let X=this.state.maybeInArrowParameters,ae=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let Te=this.state.startLoc,Ke=[],rt=new Vs,at,St,Kt=!0;for(;!this.match(11);){if(Kt)Kt=!1;else if(this.expect(12,rt.optionalParametersLoc===null?null:rt.optionalParametersLoc),this.match(11)){St=this.state.startLoc;break}if(this.match(21)){let Ur=this.state.startLoc;if(at=this.state.startLoc,Ke.push(this.parseParenItem(this.parseRestBinding(),Ur)),!this.checkCommaAfterRest(41))break}else Ke.push(this.parseMaybeAssignAllowIn(rt,this.parseParenItem))}let gr=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=X,this.state.inFSharpPipelineDirectBody=ae;let lr=this.startNodeAt(v);return f&&this.shouldParseArrow(Ke)&&(lr=this.parseArrow(lr))?(this.checkDestructuringPrivate(rt),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(lr,Ke,!1),lr):(this.expressionScope.exit(),Ke.length||this.unexpected(this.state.lastTokStartLoc),St&&this.unexpected(St),at&&this.unexpected(at),this.checkExpressionErrors(rt,!0),this.toReferencedListDeep(Ke,!0),Ke.length>1?(B=this.startNodeAt(Te),B.expressions=Ke,this.finishNode(B,"SequenceExpression"),this.resetEndLocation(B,gr)):B=Ke[0],this.wrapParenthesis(v,B))}wrapParenthesis(f,v){if(!this.options.createParenthesizedExpressions)return this.addExtra(v,"parenthesized",!0),this.addExtra(v,"parenStart",f.index),this.takeSurroundingComments(v,f.index,this.state.lastTokEndLoc.index),v;let B=this.startNodeAt(f);return B.expression=v,this.finishNode(B,"ParenthesizedExpression")}shouldParseArrow(f){return!this.canInsertSemicolon()}parseArrow(f){if(this.eat(19))return f}parseParenItem(f,v){return f}parseNewOrNewTarget(){let f=this.startNode();if(this.next(),this.match(16)){let v=this.createIdentifier(this.startNodeAtNode(f),"new");this.next();let B=this.parseMetaProperty(f,v,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.options.allowNewTargetOutsideFunction||this.raise(T.UnexpectedNewTarget,B),B}return this.parseNew(f)}parseNew(f){if(this.parseNewCallee(f),this.eat(10)){let v=this.parseExprList(11);this.toReferencedList(v),f.arguments=v}else f.arguments=[];return this.finishNode(f,"NewExpression")}parseNewCallee(f){let v=this.match(83),B=this.parseNoCallExpr();f.callee=B,!v||B.type!=="Import"&&B.type!=="ImportExpression"||this.raise(T.ImportCallNotNewExpression,B)}parseTemplateElement(f){let{start:v,startLoc:B,end:X,value:ae}=this.state,Te=v+1,Ke=this.startNodeAt(H(B,1));ae===null&&(f||this.raise(T.InvalidEscapeSequenceTemplate,H(this.state.firstInvalidTemplateEscapePos,1)));let rt=this.match(24),at=rt?-1:-2,St=X+at;Ke.value={raw:this.input.slice(Te,St).replace(/\r\n?/g,`
|
|
`),cooked:ae===null?null:ae.slice(1,at)},Ke.tail=rt,this.next();let Kt=this.finishNode(Ke,"TemplateElement");return this.resetEndLocation(Kt,H(this.state.lastTokEndLoc,at)),Kt}parseTemplate(f){let v=this.startNode(),B=this.parseTemplateElement(f),X=[B],ae=[];for(;!B.tail;)ae.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),X.push(B=this.parseTemplateElement(f));return v.expressions=ae,v.quasis=X,this.finishNode(v,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(f,v,B,X){B&&this.expectPlugin("recordAndTuple");let ae=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let Te=Object.create(null),Ke=!0,rt=this.startNode();for(rt.properties=[],this.next();!this.match(f);){if(Ke)Ke=!1;else if(this.expect(12),this.match(f)){this.addTrailingCommaExtraToNode(rt);break}let St;v?St=this.parseBindingProperty():(St=this.parsePropertyDefinition(X),this.checkProto(St,B,Te,X)),B&&!this.isObjectProperty(St)&&St.type!=="SpreadElement"&&this.raise(T.InvalidRecordProperty,St),St.shorthand&&this.addExtra(St,"shorthand",!0),rt.properties.push(St)}this.next(),this.state.inFSharpPipelineDirectBody=ae;let at="ObjectExpression";return v?at="ObjectPattern":B&&(at="RecordExpression"),this.finishNode(rt,at)}addTrailingCommaExtraToNode(f){this.addExtra(f,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(f,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(f){return!f.computed&&f.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(f){let v=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(T.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)v.push(this.parseDecorator());let B=this.startNode(),X,ae=!1,Te=!1;if(this.match(21))return v.length&&this.unexpected(),this.parseSpread();v.length&&(B.decorators=v,v=[]),B.method=!1,f&&(X=this.state.startLoc);let Ke=this.eat(55);this.parsePropertyNamePrefixOperator(B);let rt=this.state.containsEsc;if(this.parsePropertyName(B,f),!Ke&&!rt&&this.maybeAsyncOrAccessorProp(B)){let{key:at}=B,St=at.name;St!=="async"||this.hasPrecedingLineBreak()||(ae=!0,this.resetPreviousNodeTrailingComments(at),Ke=this.eat(55),this.parsePropertyName(B)),St!=="get"&&St!=="set"||(Te=!0,this.resetPreviousNodeTrailingComments(at),B.kind=St,this.match(55)&&(Ke=!0,this.raise(T.AccessorIsGenerator,this.state.curPosition(),{kind:St}),this.next()),this.parsePropertyName(B))}return this.parseObjPropValue(B,X,Ke,ae,!1,Te,f)}getGetterSetterExpectedParamCount(f){return f.kind==="get"?0:1}getObjectOrClassMethodParams(f){return f.params}checkGetterSetterParams(f){var v;let B=this.getGetterSetterExpectedParamCount(f),X=this.getObjectOrClassMethodParams(f);X.length!==B&&this.raise(f.kind==="get"?T.BadGetterArity:T.BadSetterArity,f),f.kind==="set"&&((v=X[X.length-1])==null?void 0:v.type)==="RestElement"&&this.raise(T.BadSetterRestParameter,f)}parseObjectMethod(f,v,B,X,ae){if(ae){let Te=this.parseMethod(f,v,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(Te),Te}if(B||v||this.match(10))return X&&this.unexpected(),f.kind="method",f.method=!0,this.parseMethod(f,v,B,!1,!1,"ObjectMethod")}parseObjectProperty(f,v,B,X){if(f.shorthand=!1,this.eat(14))return f.value=B?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(X),this.finishNode(f,"ObjectProperty");if(!f.computed&&f.key.type==="Identifier"){if(this.checkReservedWord(f.key.name,f.key.loc.start,!0,!1),B)f.value=this.parseMaybeDefault(v,Fi(f.key));else if(this.match(29)){let ae=this.state.startLoc;X!=null?X.shorthandAssignLoc===null&&(X.shorthandAssignLoc=ae):this.raise(T.InvalidCoverInitializedName,ae),f.value=this.parseMaybeDefault(v,Fi(f.key))}else f.value=Fi(f.key);return f.shorthand=!0,this.finishNode(f,"ObjectProperty")}}parseObjPropValue(f,v,B,X,ae,Te,Ke){let rt=this.parseObjectMethod(f,B,X,ae,Te)||this.parseObjectProperty(f,v,ae,Ke);return rt||this.unexpected(),rt}parsePropertyName(f,v){if(this.eat(0))f.computed=!0,f.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:B,value:X}=this.state,ae;if(z(B))ae=this.parseIdentifier(!0);else switch(B){case 134:ae=this.parseNumericLiteral(X);break;case 133:ae=this.parseStringLiteral(X);break;case 135:ae=this.parseBigIntLiteral(X);break;case 136:ae=this.parseDecimalLiteral(X);break;case 138:{let Te=this.state.startLoc;v!=null?v.privateKeyLoc===null&&(v.privateKeyLoc=Te):this.raise(T.UnexpectedPrivateField,Te),ae=this.parsePrivateName();break}default:this.unexpected()}f.key=ae,B!==138&&(f.computed=!1)}}initFunction(f,v){f.id=null,f.generator=!1,f.async=v}parseMethod(f,v,B,X,ae,Te,Ke=!1){this.initFunction(f,B),f.generator=v,this.scope.enter(18|(Ke?64:0)|(ae?32:0)),this.prodParam.enter(Pn(B,f.generator)),this.parseFunctionParams(f,X);let rt=this.parseFunctionBodyAndFinish(f,Te,!0);return this.prodParam.exit(),this.scope.exit(),rt}parseArrayLike(f,v,B,X){B&&this.expectPlugin("recordAndTuple");let ae=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let Te=this.startNode();return this.next(),Te.elements=this.parseExprList(f,!B,X,Te),this.state.inFSharpPipelineDirectBody=ae,this.finishNode(Te,B?"TupleExpression":"ArrayExpression")}parseArrowExpression(f,v,B,X){this.scope.enter(6);let ae=Pn(B,!1);!this.match(5)&&this.prodParam.hasIn&&(ae|=8),this.prodParam.enter(ae),this.initFunction(f,B);let Te=this.state.maybeInArrowParameters;return v&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(f,v,X)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(f,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=Te,this.finishNode(f,"ArrowFunctionExpression")}setArrowFunctionParameters(f,v,B){this.toAssignableList(v,B,!1),f.params=v}parseFunctionBodyAndFinish(f,v,B=!1){return this.parseFunctionBody(f,!1,B),this.finishNode(f,v)}parseFunctionBody(f,v,B=!1){let X=v&&!this.match(5);if(this.expressionScope.enter(ii()),X)f.body=this.parseMaybeAssign(),this.checkParams(f,!1,v,!1);else{let ae=this.state.strict,Te=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),f.body=this.parseBlock(!0,!1,Ke=>{let rt=!this.isSimpleParamList(f.params);Ke&&rt&&this.raise(T.IllegalLanguageModeDirective,f.kind!=="method"&&f.kind!=="constructor"||!f.key?f:f.key.loc.end);let at=!ae&&this.state.strict;this.checkParams(f,!(this.state.strict||v||B||rt),v,at),this.state.strict&&f.id&&this.checkIdentifier(f.id,65,at)}),this.prodParam.exit(),this.state.labels=Te}this.expressionScope.exit()}isSimpleParameter(f){return f.type==="Identifier"}isSimpleParamList(f){for(let v=0,B=f.length;v<B;v++)if(!this.isSimpleParameter(f[v]))return!1;return!0}checkParams(f,v,B,X=!0){let ae=!v&&new Set,Te={type:"FormalParameters"};for(let Ke of f.params)this.checkLVal(Ke,{in:Te,binding:5,checkClashes:ae,strictModeChanged:X})}parseExprList(f,v,B,X){let ae=[],Te=!0;for(;!this.eat(f);){if(Te)Te=!1;else if(this.expect(12),this.match(f)){X&&this.addTrailingCommaExtraToNode(X),this.next();break}ae.push(this.parseExprListItem(v,B))}return ae}parseExprListItem(f,v,B){let X;if(this.match(12))f||this.raise(T.UnexpectedToken,this.state.curPosition(),{unexpected:","}),X=null;else if(this.match(21)){let ae=this.state.startLoc;X=this.parseParenItem(this.parseSpread(v),ae)}else if(this.match(17)){this.expectPlugin("partialApplication"),B||this.raise(T.UnexpectedArgumentPlaceholder,this.state.startLoc);let ae=this.startNode();this.next(),X=this.finishNode(ae,"ArgumentPlaceholder")}else X=this.parseMaybeAssignAllowIn(v,this.parseParenItem);return X}parseIdentifier(f){let v=this.startNode(),B=this.parseIdentifierName(f);return this.createIdentifier(v,B)}createIdentifier(f,v){return f.name=v,f.loc.identifierName=v,this.finishNode(f,"Identifier")}parseIdentifierName(f){let v,{startLoc:B,type:X}=this.state;z(X)?v=this.state.value:this.unexpected();let ae=X<=92;return f?ae&&this.replaceToken(132):this.checkReservedWord(v,B,ae,!1),this.next(),v}checkReservedWord(f,v,B,X){if(!(f.length>10)&&function(ae){return We.has(ae)}(f)){if(B&&function(ae){return et.has(ae)}(f))return void this.raise(T.UnexpectedKeyword,v,{keyword:f});if((this.state.strict?X?de:Se:ue)(f,this.inModule))this.raise(T.UnexpectedReservedWord,v,{reservedWord:f});else if(f==="yield"){if(this.prodParam.hasYield)return void this.raise(T.YieldBindingIdentifier,v)}else if(f==="await"){if(this.prodParam.hasAwait)return void this.raise(T.AwaitBindingIdentifier,v);if(this.scope.inStaticBlock)return void this.raise(T.AwaitBindingIdentifierInStaticBlock,v);this.expressionScope.recordAsyncArrowParametersError(v)}else if(f==="arguments"&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(T.ArgumentsInClass,v)}}isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}parseAwait(f){let v=this.startNodeAt(f);return this.expressionScope.recordParameterInitializerError(T.AwaitExpressionFormalParameter,v),this.eat(55)&&this.raise(T.ObsoleteAwaitStar,v),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(v.argument=this.parseMaybeUnary(null,!0)),this.finishNode(v,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:f}=this.state;return f===53||f===10||f===0||me(f)||f===102&&!this.state.containsEsc||f===137||f===56||this.hasPlugin("v8intrinsic")&&f===54}parseYield(){let f=this.startNode();this.expressionScope.recordParameterInitializerError(T.YieldInParameter,f),this.next();let v=!1,B=null;if(!this.hasPrecedingLineBreak())switch(v=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!v)break;default:B=this.parseMaybeAssign()}return f.delegate=v,f.argument=B,this.finishNode(f,"YieldExpression")}parseImportCall(f){return this.next(),f.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(f.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(f.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(f,"ImportExpression")}checkPipelineAtInfixOperator(f,v){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&f.type==="SequenceExpression"&&this.raise(T.PipelineHeadSequenceExpression,v)}parseSmartPipelineBodyInStyle(f,v){if(this.isSimpleReference(f)){let B=this.startNodeAt(v);return B.callee=f,this.finishNode(B,"PipelineBareFunction")}{let B=this.startNodeAt(v);return this.checkSmartPipeTopicBodyEarlyErrors(v),B.expression=f,this.finishNode(B,"PipelineTopicExpression")}}isSimpleReference(f){switch(f.type){case"MemberExpression":return!f.computed&&this.isSimpleReference(f.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(f){if(this.match(19))throw this.raise(T.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(T.PipelineTopicUnused,f)}withTopicBindingContext(f){let v=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return f()}finally{this.state.topicContext=v}}withSmartMixTopicForbiddingContext(f){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return f();{let v=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return f()}finally{this.state.topicContext=v}}}withSoloAwaitPermittingContext(f){let v=this.state.soloAwait;this.state.soloAwait=!0;try{return f()}finally{this.state.soloAwait=v}}allowInAnd(f){let v=this.prodParam.currentFlags();if(8&~v){this.prodParam.enter(8|v);try{return f()}finally{this.prodParam.exit()}}return f()}disallowInAnd(f){let v=this.prodParam.currentFlags();if(8&v){this.prodParam.enter(-9&v);try{return f()}finally{this.prodParam.exit()}}return f()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(f){let v=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let B=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let X=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),v,f);return this.state.inFSharpPipelineDirectBody=B,X}parseModuleExpression(){this.expectPlugin("moduleBlocks");let f=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let v=this.startNodeAt(this.state.endLoc);this.next();let B=this.initializeScopes(!0);this.enterInitialScopes();try{f.body=this.parseProgram(v,8,"module")}finally{B()}return this.finishNode(f,"ModuleExpression")}parsePropertyNamePrefixOperator(f){}}let Ks={kind:1},Qa={kind:2},Ro=/[\uD800-\uDFFF]/u,gs=/in(?:stanceof)?/y;class Ua extends Rr{parseTopLevel(f,v){return f.program=this.parseProgram(v),f.comments=this.comments,this.options.tokens&&(f.tokens=function(B,X){for(let ae=0;ae<B.length;ae++){let Te=B[ae],{type:Ke}=Te;if(typeof Ke=="number"){if(Ke===138){let{loc:rt,start:at,value:St,end:Kt}=Te,gr=at+1,lr=H(rt.start,1);B.splice(ae,1,new Di({type:ce(27),value:"#",start:at,end:gr,startLoc:rt.start,endLoc:lr}),new Di({type:ce(132),value:St,start:gr,end:Kt,startLoc:lr,endLoc:rt.end})),ae++;continue}if(me(Ke)){let{loc:rt,start:at,value:St,end:Kt}=Te,gr=at+1,lr=H(rt.start,1),Ur,pi,bi,jn,Hs;Ur=X.charCodeAt(at)===96?new Di({type:ce(22),value:"`",start:at,end:gr,startLoc:rt.start,endLoc:lr}):new Di({type:ce(8),value:"}",start:at,end:gr,startLoc:rt.start,endLoc:lr}),Ke===24?(bi=Kt-1,jn=H(rt.end,-1),pi=St===null?null:St.slice(1,-1),Hs=new Di({type:ce(22),value:"`",start:bi,end:Kt,startLoc:jn,endLoc:rt.end})):(bi=Kt-2,jn=H(rt.end,-2),pi=St===null?null:St.slice(1,-2),Hs=new Di({type:ce(23),value:"${",start:bi,end:Kt,startLoc:jn,endLoc:rt.end})),B.splice(ae,1,Ur,new Di({type:ce(20),value:pi,start:gr,end:bi,startLoc:lr,endLoc:jn}),Hs),ae+=2;continue}Te.type=ce(Ke)}}return B}(this.tokens,this.input)),this.finishNode(f,"File")}parseProgram(f,v=139,B=this.options.sourceType){if(f.sourceType=B,f.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(f,!0,!0,v),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[ae,Te]of Array.from(this.scope.undefinedExports))this.raise(T.ModuleExportUndefined,Te,{localName:ae});let X;return X=v===139?this.finishNode(f,"Program"):this.finishNodeAt(f,"Program",H(this.state.startLoc,-1)),X}stmtToDirective(f){let v=f;v.type="Directive",v.value=v.expression,delete v.expression;let B=v.value,X=B.value,ae=this.input.slice(B.start,B.end),Te=B.value=ae.slice(1,-1);return this.addExtra(B,"raw",ae),this.addExtra(B,"rawValue",Te),this.addExtra(B,"expressionValue",X),B.type="DirectiveLiteral",v}parseInterpreterDirective(){if(!this.match(28))return null;let f=this.startNode();return f.value=this.state.value,this.next(),this.finishNode(f,"InterpreterDirective")}isLet(){return!!this.isContextual(100)&&this.hasFollowingBindingAtom()}chStartsBindingIdentifier(f,v){if(Ie(f)){if(gs.lastIndex=v,gs.test(this.input)){let B=this.codePointAtPos(gs.lastIndex);if(!ye(B)&&B!==92)return!1}return!0}return f===92}chStartsBindingPattern(f){return f===91||f===123}hasFollowingBindingAtom(){let f=this.nextTokenStart(),v=this.codePointAtPos(f);return this.chStartsBindingPattern(v)||this.chStartsBindingIdentifier(v,f)}hasInLineFollowingBindingIdentifier(){let f=this.nextTokenInLineStart(),v=this.codePointAtPos(f);return this.chStartsBindingIdentifier(v,f)}startsUsingForOf(){let{type:f,containsEsc:v}=this.lookahead();return!(f===102&&!v)&&(Q(f)&&!this.hasFollowingLineBreak()?(this.expectPlugin("explicitResourceManagement"),!0):void 0)}startsAwaitUsing(){let f=this.nextTokenInLineStart();if(this.isUnparsedContextual(f,"using")){f=this.nextTokenInLineStartSince(f+5);let v=this.codePointAtPos(f);if(this.chStartsBindingIdentifier(v,f))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(f=!1){let v=0;return this.options.annexB&&!this.state.strict&&(v|=4,f&&(v|=8)),this.parseStatementLike(v)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(f){let v=null;return this.match(26)&&(v=this.parseDecorators(!0)),this.parseStatementContent(f,v)}parseStatementContent(f,v){let B=this.state.type,X=this.startNode(),ae=!!(2&f),Te=!!(4&f),Ke=1&f;switch(B){case 60:return this.parseBreakContinueStatement(X,!0);case 63:return this.parseBreakContinueStatement(X,!1);case 64:return this.parseDebuggerStatement(X);case 90:return this.parseDoWhileStatement(X);case 91:return this.parseForStatement(X);case 68:if(this.lookaheadCharCode()===46)break;return Te||this.raise(this.state.strict?T.StrictFunction:this.options.annexB?T.SloppyFunctionAnnexB:T.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(X,!1,!ae&&Te);case 80:return ae||this.unexpected(),this.parseClass(this.maybeTakeDecorators(v,X),!0);case 69:return this.parseIfStatement(X);case 70:return this.parseReturnStatement(X);case 71:return this.parseSwitchStatement(X);case 72:return this.parseThrowStatement(X);case 73:return this.parseTryStatement(X);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?ae||this.raise(T.UnexpectedLexicalDeclaration,X):this.raise(T.AwaitUsingNotInAsyncContext,X),this.next(),this.parseVarStatement(X,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(T.UnexpectedUsingDeclaration,this.state.startLoc):ae||this.raise(T.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(X,"using");case 100:{if(this.state.containsEsc)break;let St=this.nextTokenStart(),Kt=this.codePointAtPos(St);if(Kt!==91&&(!ae&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(Kt,St)&&Kt!==123))break}case 75:ae||this.raise(T.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let St=this.state.value;return this.parseVarStatement(X,St)}case 92:return this.parseWhileStatement(X);case 76:return this.parseWithStatement(X);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(X);case 83:{let St=this.lookaheadCharCode();if(St===40||St===46)break}case 82:{let St;return this.options.allowImportExportEverywhere||Ke||this.raise(T.UnexpectedImportExport,this.state.startLoc),this.next(),B===83?(St=this.parseImport(X),St.type!=="ImportDeclaration"||St.importKind&&St.importKind!=="value"||(this.sawUnambiguousESM=!0)):(St=this.parseExport(X,v),(St.type!=="ExportNamedDeclaration"||St.exportKind&&St.exportKind!=="value")&&(St.type!=="ExportAllDeclaration"||St.exportKind&&St.exportKind!=="value")&&St.type!=="ExportDefaultDeclaration"||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(St),St}default:if(this.isAsyncFunction())return ae||this.raise(T.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(X,!0,!ae&&Te)}let rt=this.state.value,at=this.parseExpression();return Q(B)&&at.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(X,rt,at,f):this.parseExpressionStatement(X,at,v)}assertModuleNodeAllowed(f){this.options.allowImportExportEverywhere||this.inModule||this.raise(T.ImportOutsideModule,f)}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(f,v,B){return f&&(v.decorators&&v.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(T.DecoratorsBeforeAfterExport,v.decorators[0]),v.decorators.unshift(...f)):v.decorators=f,this.resetStartLocationFromNode(v,f[0]),B&&this.resetStartLocationFromNode(B,v)),v}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(f){let v=[];do v.push(this.parseDecorator());while(this.match(26));if(this.match(82))f||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(T.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(T.UnexpectedLeadingDecorator,this.state.startLoc);return v}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let f=this.startNode();if(this.next(),this.hasPlugin("decorators")){let v=this.state.startLoc,B;if(this.match(10)){let X=this.state.startLoc;this.next(),B=this.parseExpression(),this.expect(11),B=this.wrapParenthesis(X,B);let ae=this.state.startLoc;f.expression=this.parseMaybeDecoratorArguments(B),this.getPluginOption("decorators","allowCallParenthesized")===!1&&f.expression!==B&&this.raise(T.DecoratorArgumentsOutsideParentheses,ae)}else{for(B=this.parseIdentifier(!1);this.eat(16);){let X=this.startNodeAt(v);X.object=B,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),X.property=this.parsePrivateName()):X.property=this.parseIdentifier(!0),X.computed=!1,B=this.finishNode(X,"MemberExpression")}f.expression=this.parseMaybeDecoratorArguments(B)}}else f.expression=this.parseExprSubscripts();return this.finishNode(f,"Decorator")}parseMaybeDecoratorArguments(f){if(this.eat(10)){let v=this.startNodeAtNode(f);return v.callee=f,v.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(v.arguments),this.finishNode(v,"CallExpression")}return f}parseBreakContinueStatement(f,v){return this.next(),this.isLineTerminator()?f.label=null:(f.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(f,v),this.finishNode(f,v?"BreakStatement":"ContinueStatement")}verifyBreakContinue(f,v){let B;for(B=0;B<this.state.labels.length;++B){let X=this.state.labels[B];if((f.label==null||X.name===f.label.name)&&(X.kind!=null&&(v||X.kind===1)||f.label&&v))break}if(B===this.state.labels.length){let X=v?"BreakStatement":"ContinueStatement";this.raise(T.IllegalBreakContinue,f,{type:X})}}parseDebuggerStatement(f){return this.next(),this.semicolon(),this.finishNode(f,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let f=this.parseExpression();return this.expect(11),f}parseDoWhileStatement(f){return this.next(),this.state.labels.push(Ks),f.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),f.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(f,"DoWhileStatement")}parseForStatement(f){this.next(),this.state.labels.push(Ks);let v=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(v=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return v!==null&&this.unexpected(v),this.parseFor(f,null);let B=this.isContextual(100);{let rt=this.isContextual(96)&&this.startsAwaitUsing(),at=rt||this.isContextual(107)&&this.startsUsingForOf(),St=B&&this.hasFollowingBindingAtom()||at;if(this.match(74)||this.match(75)||St){let Kt=this.startNode(),gr;rt?(gr="await using",this.isAwaitAllowed()||this.raise(T.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):gr=this.state.value,this.next(),this.parseVar(Kt,!0,gr);let lr=this.finishNode(Kt,"VariableDeclaration"),Ur=this.match(58);return Ur&&at&&this.raise(T.ForInUsing,lr),(Ur||this.isContextual(102))&&lr.declarations.length===1?this.parseForIn(f,lr,v):(v!==null&&this.unexpected(v),this.parseFor(f,lr))}}let X=this.isContextual(95),ae=new Vs,Te=this.parseExpression(!0,ae),Ke=this.isContextual(102);if(Ke&&(B&&this.raise(T.ForOfLet,Te),v===null&&X&&Te.type==="Identifier"&&this.raise(T.ForOfAsync,Te)),Ke||this.match(58)){this.checkDestructuringPrivate(ae),this.toAssignable(Te,!0);let rt=Ke?"ForOfStatement":"ForInStatement";return this.checkLVal(Te,{in:{type:rt}}),this.parseForIn(f,Te,v)}return this.checkExpressionErrors(ae,!0),v!==null&&this.unexpected(v),this.parseFor(f,Te)}parseFunctionStatement(f,v,B){return this.next(),this.parseFunction(f,1|(B?2:0)|(v?8:0))}parseIfStatement(f){return this.next(),f.test=this.parseHeaderExpression(),f.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),f.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(f,"IfStatement")}parseReturnStatement(f){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(T.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?f.argument=null:(f.argument=this.parseExpression(),this.semicolon()),this.finishNode(f,"ReturnStatement")}parseSwitchStatement(f){this.next(),f.discriminant=this.parseHeaderExpression();let v=f.cases=[],B;this.expect(5),this.state.labels.push(Qa),this.scope.enter(0);for(let X;!this.match(8);)if(this.match(61)||this.match(65)){let ae=this.match(61);B&&this.finishNode(B,"SwitchCase"),v.push(B=this.startNode()),B.consequent=[],this.next(),ae?B.test=this.parseExpression():(X&&this.raise(T.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),X=!0,B.test=null),this.expect(14)}else B?B.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),B&&this.finishNode(B,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(f,"SwitchStatement")}parseThrowStatement(f){return this.next(),this.hasPrecedingLineBreak()&&this.raise(T.NewlineAfterThrow,this.state.lastTokEndLoc),f.argument=this.parseExpression(),this.semicolon(),this.finishNode(f,"ThrowStatement")}parseCatchClauseParam(){let f=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&f.type==="Identifier"?8:0),this.checkLVal(f,{in:{type:"CatchClause"},binding:9}),f}parseTryStatement(f){if(this.next(),f.block=this.parseBlock(),f.handler=null,this.match(62)){let v=this.startNode();this.next(),this.match(10)?(this.expect(10),v.param=this.parseCatchClauseParam(),this.expect(11)):(v.param=null,this.scope.enter(0)),v.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),f.handler=this.finishNode(v,"CatchClause")}return f.finalizer=this.eat(67)?this.parseBlock():null,f.handler||f.finalizer||this.raise(T.NoCatchOrFinally,f),this.finishNode(f,"TryStatement")}parseVarStatement(f,v,B=!1){return this.next(),this.parseVar(f,!1,v,B),this.semicolon(),this.finishNode(f,"VariableDeclaration")}parseWhileStatement(f){return this.next(),f.test=this.parseHeaderExpression(),this.state.labels.push(Ks),f.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(f,"WhileStatement")}parseWithStatement(f){return this.state.strict&&this.raise(T.StrictWith,this.state.startLoc),this.next(),f.object=this.parseHeaderExpression(),f.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(f,"WithStatement")}parseEmptyStatement(f){return this.next(),this.finishNode(f,"EmptyStatement")}parseLabeledStatement(f,v,B,X){for(let Ke of this.state.labels)Ke.name===v&&this.raise(T.LabelRedeclaration,B,{labelName:v});let ae=(Te=this.state.type)>=90&&Te<=92?1:this.match(71)?2:null;var Te;for(let Ke=this.state.labels.length-1;Ke>=0;Ke--){let rt=this.state.labels[Ke];if(rt.statementStart!==f.start)break;rt.statementStart=this.state.start,rt.kind=ae}return this.state.labels.push({name:v,kind:ae,statementStart:this.state.start}),f.body=8&X?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),f.label=B,this.finishNode(f,"LabeledStatement")}parseExpressionStatement(f,v,B){return f.expression=v,this.semicolon(),this.finishNode(f,"ExpressionStatement")}parseBlock(f=!1,v=!0,B){let X=this.startNode();return f&&this.state.strictErrors.clear(),this.expect(5),v&&this.scope.enter(0),this.parseBlockBody(X,f,!1,8,B),v&&this.scope.exit(),this.finishNode(X,"BlockStatement")}isValidDirective(f){return f.type==="ExpressionStatement"&&f.expression.type==="StringLiteral"&&!f.expression.extra.parenthesized}parseBlockBody(f,v,B,X,ae){let Te=f.body=[],Ke=f.directives=[];this.parseBlockOrModuleBlockBody(Te,v?Ke:void 0,B,X,ae)}parseBlockOrModuleBlockBody(f,v,B,X,ae){let Te=this.state.strict,Ke=!1,rt=!1;for(;!this.match(X);){let at=B?this.parseModuleItem():this.parseStatementListItem();if(v&&!rt){if(this.isValidDirective(at)){let St=this.stmtToDirective(at);v.push(St),Ke||St.value.value!=="use strict"||(Ke=!0,this.setStrict(!0));continue}rt=!0,this.state.strictErrors.clear()}f.push(at)}ae?.call(this,Ke),Te||this.setStrict(!1),this.next()}parseFor(f,v){return f.init=v,this.semicolon(!1),f.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),f.update=this.match(11)?null:this.parseExpression(),this.expect(11),f.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(f,"ForStatement")}parseForIn(f,v,B){let X=this.match(58);return this.next(),X?B!==null&&this.unexpected(B):f.await=B!==null,v.type!=="VariableDeclaration"||v.declarations[0].init==null||X&&this.options.annexB&&!this.state.strict&&v.kind==="var"&&v.declarations[0].id.type==="Identifier"||this.raise(T.ForInOfLoopInitializer,v,{type:X?"ForInStatement":"ForOfStatement"}),v.type==="AssignmentPattern"&&this.raise(T.InvalidLhs,v,{ancestor:{type:"ForStatement"}}),f.left=v,f.right=X?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),f.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(f,X?"ForInStatement":"ForOfStatement")}parseVar(f,v,B,X=!1){let ae=f.declarations=[];for(f.kind=B;;){let Te=this.startNode();if(this.parseVarId(Te,B),Te.init=this.eat(29)?v?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,Te.init!==null||X||(Te.id.type==="Identifier"||v&&(this.match(58)||this.isContextual(102))?B!=="const"&&B!=="using"&&B!=="await using"||this.match(58)||this.isContextual(102)||this.raise(T.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:B}):this.raise(T.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"})),ae.push(this.finishNode(Te,"VariableDeclarator")),!this.eat(12))break}return f}parseVarId(f,v){let B=this.parseBindingAtom();this.checkLVal(B,{in:{type:"VariableDeclarator"},binding:v==="var"?5:8201}),f.id=B}parseAsyncFunctionExpression(f){return this.parseFunction(f,8)}parseFunction(f,v=0){let B=2&v,X=!!(1&v),ae=X&&!(4&v),Te=!!(8&v);this.initFunction(f,Te),this.match(55)&&(B&&this.raise(T.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),f.generator=!0),X&&(f.id=this.parseFunctionId(ae));let Ke=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(Pn(Te,f.generator)),X||(f.id=this.parseFunctionId()),this.parseFunctionParams(f,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(f,X?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),X&&!B&&this.registerFunctionStatementId(f),this.state.maybeInArrowParameters=Ke,f}parseFunctionId(f){return f||Q(this.state.type)?this.parseIdentifier():null}parseFunctionParams(f,v){this.expect(10),this.expressionScope.enter(new us(3)),f.params=this.parseBindingList(11,41,2|(v?4:0)),this.expressionScope.exit()}registerFunctionStatementId(f){f.id&&this.scope.declareName(f.id.name,!this.options.annexB||this.state.strict||f.generator||f.async?this.scope.treatFunctionsAsVar?5:8201:17,f.id.loc.start)}parseClass(f,v,B){this.next();let X=this.state.strict;return this.state.strict=!0,this.parseClassId(f,v,B),this.parseClassSuper(f),f.body=this.parseClassBody(!!f.superClass,X),this.finishNode(f,v?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(f){return f.type==="Identifier"&&f.name==="constructor"||f.type==="StringLiteral"&&f.value==="constructor"}isNonstaticConstructor(f){return!f.computed&&!f.static&&this.nameIsConstructor(f.key)}parseClassBody(f,v){this.classScope.enter();let B={hadConstructor:!1,hadSuperClass:f},X=[],ae=this.startNode();if(ae.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(X.length>0)throw this.raise(T.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){X.push(this.parseDecorator());continue}let Te=this.startNode();X.length&&(Te.decorators=X,this.resetStartLocationFromNode(Te,X[0]),X=[]),this.parseClassMember(ae,Te,B),Te.kind==="constructor"&&Te.decorators&&Te.decorators.length>0&&this.raise(T.DecoratorConstructor,Te)}}),this.state.strict=v,this.next(),X.length)throw this.raise(T.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(ae,"ClassBody")}parseClassMemberFromModifier(f,v){let B=this.parseIdentifier(!0);if(this.isClassMethod()){let X=v;return X.kind="method",X.computed=!1,X.key=B,X.static=!1,this.pushClassMethod(f,X,!1,!1,!1,!1),!0}if(this.isClassProperty()){let X=v;return X.computed=!1,X.key=B,X.static=!1,f.body.push(this.parseClassProperty(X)),!0}return this.resetPreviousNodeTrailingComments(B),!1}parseClassMember(f,v,B){let X=this.isContextual(106);if(X){if(this.parseClassMemberFromModifier(f,v))return;if(this.eat(5))return void this.parseClassStaticBlock(f,v)}this.parseClassMemberWithIsStatic(f,v,B,X)}parseClassMemberWithIsStatic(f,v,B,X){let ae=v,Te=v,Ke=v,rt=v,at=v,St=ae,Kt=ae;if(v.static=X,this.parsePropertyNamePrefixOperator(v),this.eat(55)){St.kind="method";let jn=this.match(138);return this.parseClassElementName(St),jn?void this.pushClassPrivateMethod(f,Te,!0,!1):(this.isNonstaticConstructor(ae)&&this.raise(T.ConstructorIsGenerator,ae.key),void this.pushClassMethod(f,ae,!0,!1,!1,!1))}let gr=!this.state.containsEsc&&Q(this.state.type),lr=this.parseClassElementName(v),Ur=gr?lr.name:null,pi=this.isPrivateName(lr),bi=this.state.startLoc;if(this.parsePostMemberNameModifiers(Kt),this.isClassMethod()){if(St.kind="method",pi)return void this.pushClassPrivateMethod(f,Te,!1,!1);let jn=this.isNonstaticConstructor(ae),Hs=!1;jn&&(ae.kind="constructor",B.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(T.DuplicateConstructor,lr),jn&&this.hasPlugin("typescript")&&v.override&&this.raise(T.OverrideOnConstructor,lr),B.hadConstructor=!0,Hs=B.hadSuperClass),this.pushClassMethod(f,ae,!1,!1,jn,Hs)}else if(this.isClassProperty())pi?this.pushClassPrivateProperty(f,rt):this.pushClassProperty(f,Ke);else if(Ur!=="async"||this.isLineTerminator())if(Ur!=="get"&&Ur!=="set"||this.match(55)&&this.isLineTerminator())if(Ur!=="accessor"||this.isLineTerminator())this.isLineTerminator()?pi?this.pushClassPrivateProperty(f,rt):this.pushClassProperty(f,Ke):this.unexpected();else{this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(lr);let jn=this.match(138);this.parseClassElementName(Ke),this.pushClassAccessorProperty(f,at,jn)}else{this.resetPreviousNodeTrailingComments(lr),St.kind=Ur;let jn=this.match(138);this.parseClassElementName(ae),jn?this.pushClassPrivateMethod(f,Te,!1,!1):(this.isNonstaticConstructor(ae)&&this.raise(T.ConstructorIsAccessor,ae.key),this.pushClassMethod(f,ae,!1,!1,!1,!1)),this.checkGetterSetterParams(ae)}else{this.resetPreviousNodeTrailingComments(lr);let jn=this.eat(55);Kt.optional&&this.unexpected(bi),St.kind="method";let Hs=this.match(138);this.parseClassElementName(St),this.parsePostMemberNameModifiers(Kt),Hs?this.pushClassPrivateMethod(f,Te,jn,!0):(this.isNonstaticConstructor(ae)&&this.raise(T.ConstructorIsAsync,ae.key),this.pushClassMethod(f,ae,jn,!0,!1,!1))}}parseClassElementName(f){let{type:v,value:B}=this.state;if(v!==132&&v!==133||!f.static||B!=="prototype"||this.raise(T.StaticPrototype,this.state.startLoc),v===138){B==="constructor"&&this.raise(T.ConstructorClassPrivateField,this.state.startLoc);let X=this.parsePrivateName();return f.key=X,X}return this.parsePropertyName(f),f.key}parseClassStaticBlock(f,v){var B;this.scope.enter(208);let X=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let ae=v.body=[];this.parseBlockOrModuleBlockBody(ae,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=X,f.body.push(this.finishNode(v,"StaticBlock")),(B=v.decorators)!=null&&B.length&&this.raise(T.DecoratorStaticBlock,v)}pushClassProperty(f,v){!v.computed&&this.nameIsConstructor(v.key)&&this.raise(T.ConstructorClassField,v.key),f.body.push(this.parseClassProperty(v))}pushClassPrivateProperty(f,v){let B=this.parseClassPrivateProperty(v);f.body.push(B),this.classScope.declarePrivateName(this.getPrivateNameSV(B.key),0,B.key.loc.start)}pushClassAccessorProperty(f,v,B){B||v.computed||!this.nameIsConstructor(v.key)||this.raise(T.ConstructorClassField,v.key);let X=this.parseClassAccessorProperty(v);f.body.push(X),B&&this.classScope.declarePrivateName(this.getPrivateNameSV(X.key),0,X.key.loc.start)}pushClassMethod(f,v,B,X,ae,Te){f.body.push(this.parseMethod(v,B,X,ae,Te,"ClassMethod",!0))}pushClassPrivateMethod(f,v,B,X){let ae=this.parseMethod(v,B,X,!1,!1,"ClassPrivateMethod",!0);f.body.push(ae);let Te=ae.kind==="get"?ae.static?6:2:ae.kind==="set"?ae.static?5:1:0;this.declareClassPrivateMethodInScope(ae,Te)}declareClassPrivateMethodInScope(f,v){this.classScope.declarePrivateName(this.getPrivateNameSV(f.key),v,f.key.loc.start)}parsePostMemberNameModifiers(f){}parseClassPrivateProperty(f){return this.parseInitializer(f),this.semicolon(),this.finishNode(f,"ClassPrivateProperty")}parseClassProperty(f){return this.parseInitializer(f),this.semicolon(),this.finishNode(f,"ClassProperty")}parseClassAccessorProperty(f){return this.parseInitializer(f),this.semicolon(),this.finishNode(f,"ClassAccessorProperty")}parseInitializer(f){this.scope.enter(80),this.expressionScope.enter(ii()),this.prodParam.enter(0),f.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(f,v,B,X=8331){if(Q(this.state.type))f.id=this.parseIdentifier(),v&&this.declareNameFromIdentifier(f.id,X);else{if(!B&&v)throw this.raise(T.MissingClassName,this.state.startLoc);f.id=null}}parseClassSuper(f){f.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(f,v){let B=this.parseMaybeImportPhase(f,!0),X=this.maybeParseExportDefaultSpecifier(f,B),ae=!X||this.eat(12),Te=ae&&this.eatExportStar(f),Ke=Te&&this.maybeParseExportNamespaceSpecifier(f),rt=ae&&(!Ke||this.eat(12)),at=X||Te;if(Te&&!Ke){if(X&&this.unexpected(),v)throw this.raise(T.UnsupportedDecoratorExport,f);return this.parseExportFrom(f,!0),this.finishNode(f,"ExportAllDeclaration")}let St=this.maybeParseExportNamedSpecifiers(f),Kt;if(X&&ae&&!Te&&!St&&this.unexpected(null,5),Ke&&rt&&this.unexpected(null,98),at||St){if(Kt=!1,v)throw this.raise(T.UnsupportedDecoratorExport,f);this.parseExportFrom(f,at)}else Kt=this.maybeParseExportDeclaration(f);if(at||St||Kt){var gr;let lr=f;if(this.checkExport(lr,!0,!1,!!lr.source),((gr=lr.declaration)==null?void 0:gr.type)==="ClassDeclaration")this.maybeTakeDecorators(v,lr.declaration,lr);else if(v)throw this.raise(T.UnsupportedDecoratorExport,f);return this.finishNode(lr,"ExportNamedDeclaration")}if(this.eat(65)){let lr=f,Ur=this.parseExportDefaultExpression();if(lr.declaration=Ur,Ur.type==="ClassDeclaration")this.maybeTakeDecorators(v,Ur,lr);else if(v)throw this.raise(T.UnsupportedDecoratorExport,f);return this.checkExport(lr,!0,!0),this.finishNode(lr,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(f){return this.eat(55)}maybeParseExportDefaultSpecifier(f,v){if(v||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",v?.loc.start);let B=v||this.parseIdentifier(!0),X=this.startNodeAtNode(B);return X.exported=B,f.specifiers=[this.finishNode(X,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(f){if(this.isContextual(93)){var v;(v=f).specifiers!=null||(v.specifiers=[]);let B=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),B.exported=this.parseModuleExportName(),f.specifiers.push(this.finishNode(B,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(f){if(this.match(5)){let v=f;v.specifiers||(v.specifiers=[]);let B=v.exportKind==="type";return v.specifiers.push(...this.parseExportSpecifiers(B)),v.source=null,v.declaration=null,this.hasPlugin("importAssertions")&&(v.assertions=[]),!0}return!1}maybeParseExportDeclaration(f){return!!this.shouldParseExportDeclaration()&&(f.specifiers=[],f.source=null,this.hasPlugin("importAssertions")&&(f.assertions=[]),f.declaration=this.parseExportDeclaration(f),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;let f=this.nextTokenInLineStart();return this.isUnparsedContextual(f,"function")}parseExportDefaultExpression(){let f=this.startNode();if(this.match(68))return this.next(),this.parseFunction(f,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(f,13);if(this.match(80))return this.parseClass(f,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(T.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(T.UnsupportedDefaultExport,this.state.startLoc);let v=this.parseMaybeAssignAllowIn();return this.semicolon(),v}parseExportDeclaration(f){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:f}=this.state;if(Q(f)){if(f===95&&!this.state.containsEsc||f===100)return!1;if((f===130||f===129)&&!this.state.containsEsc){let{type:X}=this.lookahead();if(Q(X)&&X!==98||X===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let v=this.nextTokenStart(),B=this.isUnparsedContextual(v,"from");if(this.input.charCodeAt(v)===44||Q(this.state.type)&&B)return!0;if(this.match(65)&&B){let X=this.input.charCodeAt(this.nextTokenStartSince(v+4));return X===34||X===39}return!1}parseExportFrom(f,v){this.eatContextual(98)?(f.source=this.parseImportSource(),this.checkExport(f),this.maybeParseImportAttributes(f),this.checkJSONModuleImport(f)):v&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:f}=this.state;return f===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(T.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)||this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(T.UsingDeclarationExport,this.state.startLoc),!0):f===74||f===75||f===68||f===80||this.isLet()||this.isAsyncFunction()}checkExport(f,v,B,X){var ae;if(v){if(B){if(this.checkDuplicateExports(f,"default"),this.hasPlugin("exportDefaultFrom")){var Te;let Ke=f.declaration;Ke.type!=="Identifier"||Ke.name!=="from"||Ke.end-Ke.start!=4||(Te=Ke.extra)!=null&&Te.parenthesized||this.raise(T.ExportDefaultFromAsIdentifier,Ke)}}else if((ae=f.specifiers)!=null&&ae.length)for(let Ke of f.specifiers){let{exported:rt}=Ke,at=rt.type==="Identifier"?rt.name:rt.value;if(this.checkDuplicateExports(Ke,at),!X&&Ke.local){let{local:St}=Ke;St.type!=="Identifier"?this.raise(T.ExportBindingIsString,Ke,{localName:St.value,exportName:at}):(this.checkReservedWord(St.name,St.loc.start,!0,!1),this.scope.checkLocalExport(St))}}else if(f.declaration){let Ke=f.declaration;if(Ke.type==="FunctionDeclaration"||Ke.type==="ClassDeclaration"){let{id:rt}=Ke;if(!rt)throw new Error("Assertion failure");this.checkDuplicateExports(f,rt.name)}else if(Ke.type==="VariableDeclaration")for(let rt of Ke.declarations)this.checkDeclaration(rt.id)}}}checkDeclaration(f){if(f.type==="Identifier")this.checkDuplicateExports(f,f.name);else if(f.type==="ObjectPattern")for(let v of f.properties)this.checkDeclaration(v);else if(f.type==="ArrayPattern")for(let v of f.elements)v&&this.checkDeclaration(v);else f.type==="ObjectProperty"?this.checkDeclaration(f.value):f.type==="RestElement"?this.checkDeclaration(f.argument):f.type==="AssignmentPattern"&&this.checkDeclaration(f.left)}checkDuplicateExports(f,v){this.exportedIdentifiers.has(v)&&(v==="default"?this.raise(T.DuplicateDefaultExport,f):this.raise(T.DuplicateExport,f,{exportName:v})),this.exportedIdentifiers.add(v)}parseExportSpecifiers(f){let v=[],B=!0;for(this.expect(5);!this.eat(8);){if(B)B=!1;else if(this.expect(12),this.eat(8))break;let X=this.isContextual(130),ae=this.match(133),Te=this.startNode();Te.local=this.parseModuleExportName(),v.push(this.parseExportSpecifier(Te,ae,f,X))}return v}parseExportSpecifier(f,v,B,X){return this.eatContextual(93)?f.exported=this.parseModuleExportName():v?f.exported=qr(f.local):f.exported||(f.exported=Fi(f.local)),this.finishNode(f,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){let f=this.parseStringLiteral(this.state.value),v=f.value.match(Ro);return v&&this.raise(T.ModuleExportNameHasLoneSurrogate,f,{surrogateCharCode:v[0].charCodeAt(0)}),f}return this.parseIdentifier(!0)}isJSONModuleImport(f){return f.assertions!=null&&f.assertions.some(({key:v,value:B})=>B.value==="json"&&(v.type==="Identifier"?v.name==="type":v.value==="type"))}checkImportReflection(f){let{specifiers:v}=f,B=v.length===1?v[0].type:null;if(f.phase==="source")B!=="ImportDefaultSpecifier"&&this.raise(T.SourcePhaseImportRequiresDefault,v[0].loc.start);else if(f.phase==="defer")B!=="ImportNamespaceSpecifier"&&this.raise(T.DeferImportRequiresNamespace,v[0].loc.start);else if(f.module){var X;B!=="ImportDefaultSpecifier"&&this.raise(T.ImportReflectionNotBinding,v[0].loc.start),((X=f.assertions)==null?void 0:X.length)>0&&this.raise(T.ImportReflectionHasAssertion,v[0].loc.start)}}checkJSONModuleImport(f){if(this.isJSONModuleImport(f)&&f.type!=="ExportAllDeclaration"){let{specifiers:v}=f;if(v!=null){let B=v.find(X=>{let ae;if(X.type==="ExportSpecifier"?ae=X.local:X.type==="ImportSpecifier"&&(ae=X.imported),ae!==void 0)return ae.type==="Identifier"?ae.name!=="default":ae.value!=="default"});B!==void 0&&this.raise(T.ImportJSONBindingNotDefault,B.loc.start)}}}isPotentialImportPhase(f){return!f&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))}applyImportPhase(f,v,B,X){v||(B==="module"?(this.expectPlugin("importReflection",X),f.module=!0):this.hasPlugin("importReflection")&&(f.module=!1),B==="source"?(this.expectPlugin("sourcePhaseImports",X),f.phase="source"):B==="defer"?(this.expectPlugin("deferredImportEvaluation",X),f.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(f.phase=null))}parseMaybeImportPhase(f,v){if(!this.isPotentialImportPhase(v))return this.applyImportPhase(f,v,null),null;let B=this.parseIdentifier(!0),{type:X}=this.state;return(z(X)?X!==98||this.lookaheadCharCode()===102:X!==12)?(this.resetPreviousIdentifierLeadingComments(B),this.applyImportPhase(f,v,B.name,B.loc.start),null):(this.applyImportPhase(f,v,null),B)}isPrecedingIdImportPhase(f){let{type:v}=this.state;return Q(v)?v!==98||this.lookaheadCharCode()===102:v!==12}parseImport(f){return this.match(133)?this.parseImportSourceAndAttributes(f):this.parseImportSpecifiersAndAfter(f,this.parseMaybeImportPhase(f,!1))}parseImportSpecifiersAndAfter(f,v){f.specifiers=[];let B=!this.maybeParseDefaultImportSpecifier(f,v)||this.eat(12),X=B&&this.maybeParseStarImportSpecifier(f);return B&&!X&&this.parseNamedImportSpecifiers(f),this.expectContextual(98),this.parseImportSourceAndAttributes(f)}parseImportSourceAndAttributes(f){return f.specifiers!=null||(f.specifiers=[]),f.source=this.parseImportSource(),this.maybeParseImportAttributes(f),this.checkImportReflection(f),this.checkJSONModuleImport(f),this.semicolon(),this.finishNode(f,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(f,v,B){v.local=this.parseIdentifier(),f.specifiers.push(this.finishImportSpecifier(v,B))}finishImportSpecifier(f,v,B=8201){return this.checkLVal(f.local,{in:{type:v},binding:B}),this.finishNode(f,v)}parseImportAttributes(){this.expect(5);let f=[],v=new Set;do{if(this.match(8))break;let B=this.startNode(),X=this.state.value;if(v.has(X)&&this.raise(T.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:X}),v.add(X),this.match(133)?B.key=this.parseStringLiteral(X):B.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(T.ModuleAttributeInvalidValue,this.state.startLoc);B.value=this.parseStringLiteral(this.state.value),f.push(this.finishNode(B,"ImportAttribute"))}while(this.eat(12));return this.expect(8),f}parseModuleAttributes(){let f=[],v=new Set;do{let B=this.startNode();if(B.key=this.parseIdentifier(!0),B.key.name!=="type"&&this.raise(T.ModuleAttributeDifferentFromType,B.key),v.has(B.key.name)&&this.raise(T.ModuleAttributesWithDuplicateKeys,B.key,{key:B.key.name}),v.add(B.key.name),this.expect(14),!this.match(133))throw this.raise(T.ModuleAttributeInvalidValue,this.state.startLoc);B.value=this.parseStringLiteral(this.state.value),f.push(this.finishNode(B,"ImportAttribute"))}while(this.eat(12));return f}maybeParseImportAttributes(f){let v,B=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?v=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),v=this.parseImportAttributes()),B=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(T.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(f,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),v=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))v=[];else{if(!this.hasPlugin("moduleAttributes"))return;v=[]}!B&&this.hasPlugin("importAssertions")?f.assertions=v:f.attributes=v}maybeParseDefaultImportSpecifier(f,v){if(v){let B=this.startNodeAtNode(v);return B.local=v,f.specifiers.push(this.finishImportSpecifier(B,"ImportDefaultSpecifier")),!0}return!!z(this.state.type)&&(this.parseImportSpecifierLocal(f,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(f){if(this.match(55)){let v=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(f,v,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(f){let v=!0;for(this.expect(5);!this.eat(8);){if(v)v=!1;else{if(this.eat(14))throw this.raise(T.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let B=this.startNode(),X=this.match(133),ae=this.isContextual(130);B.imported=this.parseModuleExportName();let Te=this.parseImportSpecifier(B,X,f.importKind==="type"||f.importKind==="typeof",ae,void 0);f.specifiers.push(Te)}}parseImportSpecifier(f,v,B,X,ae){if(this.eatContextual(93))f.local=this.parseIdentifier();else{let{imported:Te}=f;if(v)throw this.raise(T.ImportBindingIsString,f,{importName:Te.value});this.checkReservedWord(Te.name,f.loc.start,!0,!0),f.local||(f.local=Fi(Te))}return this.finishImportSpecifier(f,"ImportSpecifier",ae)}isThisParam(f){return f.type==="Identifier"&&f.name==="this"}}class ze extends Ua{constructor(f,v){super(f=function(B){if(B==null)return Object.assign({},ao);if(B.annexB!=null&&B.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let X={};for(let Te of Object.keys(ao)){var ae;X[Te]=(ae=B[Te])!=null?ae:ao[Te]}return X}(f),v),this.options=f,this.initializeScopes(),this.plugins=function(B){let X=new Map;for(let ae of B){let[Te,Ke]=Array.isArray(ae)?ae:[ae,{}];X.has(Te)||X.set(Te,Ke||{})}return X}(this.options.plugins),this.filename=f.sourceFilename}getScopeHandler(){return mt}parse(){this.enterInitialScopes();let f=this.startNode(),v=this.startNode();return this.nextToken(),f.errors=null,this.parseTopLevel(f,v),f.errors=this.state.errors,f.comments.length=this.state.commentsLen,f}}let b=function(V){let f={};for(let v of Object.keys(V))f[v]=ce(V[v]);return f}(q);function N(V,f){let v=ze;return V!=null&&V.plugins&&(function(B){if(en(B,"decorators")){if(en(B,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let X=ai(B,"decorators","decoratorsBeforeExport");if(X!=null&&typeof X!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let ae=ai(B,"decorators","allowCallParenthesized");if(ae!=null&&typeof ae!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(en(B,"flow")&&en(B,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(en(B,"placeholders")&&en(B,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(en(B,"pipelineOperator")){let X=ai(B,"pipelineOperator","proposal");if(!Ri.includes(X)){let Ke=Ri.map(rt=>`"${rt}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${Ke}.`)}let ae=["recordAndTuple",{syntaxType:"hash"}],Te=en(B,ae);if(X==="hack"){if(en(B,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(en(B,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let Ke=ai(B,"pipelineOperator","topicToken");if(!Oa.includes(Ke)){let rt=Oa.map(at=>`"${at}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${rt}.`)}if(Ke==="#"&&Te)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(ae)}\`.`)}else if(X==="smart"&&Te)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(ae)}\`.`)}if(en(B,"moduleAttributes")){if(en(B,"importAssertions")||en(B,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(ai(B,"moduleAttributes","version")!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(en(B,"importAssertions")&&en(B,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(en(B,"recordAndTuple")){let X=ai(B,"recordAndTuple","syntaxType");if(X!=null){let ae=["hash","bar"];if(!ae.includes(X))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+ae.map(Te=>`'${Te}'`).join(", "))}}if(en(B,"asyncDoExpressions")&&!en(B,"doExpressions")){let X=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw X.missingPlugins="doExpressions",X}if(en(B,"optionalChainingAssign")&&ai(B,"optionalChainingAssign","version")!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}(V.plugins),v=function(B){let X=ja.filter(Ke=>en(B,Ke)),ae=X.join("/"),Te=G[ae];if(!Te){Te=ze;for(let Ke of X)Te=Fa[Ke](Te);G[ae]=Te}return Te}(V.plugins)),new v(V,f)}let G={};r.parse=function(V,f){var v;if(((v=f)==null?void 0:v.sourceType)!=="unambiguous")return N(f,V).parse();f=Object.assign({},f);try{f.sourceType="module";let B=N(f,V),X=B.parse();if(B.sawUnambiguousESM)return X;if(B.ambiguousScriptDifferentAst)try{return f.sourceType="script",N(f,V).parse()}catch{}else X.program.sourceType="script";return X}catch(B){try{return f.sourceType="script",N(f,V).parse()}catch{}throw B}},r.parseExpression=function(V,f){let v=N(f,V);return v.options.strictMode&&(v.state.strict=!0),v.getExpression()},r.tokTypes=b},"./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-proposal-decorators/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),u=c("./node_modules/.pnpm/@babel+plugin-syntax-decorators@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-decorators/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/index.js"),a=c("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js");r.default=(0,s.declare)((l,p)=>{l.assertVersion(7);var{legacy:d}=p;let{version:h}=p;if(d||h==="legacy")return{name:"proposal-decorators",inherits:u.default,visitor:a.default};if(h&&h!=="2018-09"&&h!=="2021-12"&&h!=="2022-03"&&h!=="2023-01"&&h!=="2023-05"&&h!=="2023-11")throw new Error("The '.version' option must be one of 'legacy', '2023-11', '2023-05', '2023-01', '2022-03', or '2021-12'.");return l.assertVersion("^7.0.2"),(0,H.createClassFeaturePlugin)({name:"proposal-decorators",api:l,feature:H.FEATURES.decorators,inherits:u.default,decoratorVersion:h})})},"./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js");let u=s.template.statement(`
|
|
DECORATOR(CLASS_REF = INNER) || CLASS_REF;
|
|
`),H=(0,s.template)(`
|
|
CLASS_REF.prototype;
|
|
`),a=(0,s.template)(`
|
|
Object.getOwnPropertyDescriptor(TARGET, PROPERTY);
|
|
`),l=(0,s.template)(`
|
|
(TEMP = Object.getOwnPropertyDescriptor(TARGET, PROPERTY), (TEMP = TEMP ? TEMP.value : undefined), {
|
|
enumerable: true,
|
|
configurable: true,
|
|
writable: true,
|
|
initializer: function(){
|
|
return TEMP;
|
|
}
|
|
})
|
|
`),p=new WeakSet;function d(E){let A=(E.isClass()?[E,...E.get("body.body")]:E.get("properties")).reduce((S,T)=>S.concat(T.node.decorators||[]),[]).filter(S=>!s.types.isIdentifier(S.expression));if(A.length!==0)return s.types.sequenceExpression(A.map(S=>{let T=S.expression,I=S.expression=E.scope.generateDeclaredUidIdentifier("dec");return s.types.assignmentExpression("=",I,T)}).concat([E.node]))}function h(E){var A;return!((A=E.decorators)==null||!A.length)}function m(E){return E.some(A=>{var S;return(S=A.decorators)==null?void 0:S.length})}function g(E,A,S){let T=E.scope.generateDeclaredUidIdentifier(E.isClass()?"class":"obj"),I=S.reduce(function(L,x){let C=[];if(x.decorators!=null&&(C=x.decorators,x.decorators=null),C.length===0)return L;if(x.computed)throw E.buildCodeFrameError("Computed method/property decorators are not yet supported.");let D=s.types.isLiteral(x.key)?x.key:s.types.stringLiteral(x.key.name),O=E.isClass()&&!x.static?H({CLASS_REF:T}).expression:T;if(s.types.isClassProperty(x,{static:!1})){let j=E.scope.generateDeclaredUidIdentifier("descriptor"),k=x.value?s.types.functionExpression(null,[],s.types.blockStatement([s.types.returnStatement(x.value)])):s.types.nullLiteral();x.value=s.types.callExpression(A.addHelper("initializerWarningHelper"),[j,s.types.thisExpression()]),p.add(x.value),L.push(s.types.assignmentExpression("=",s.types.cloneNode(j),s.types.callExpression(A.addHelper("applyDecoratedDescriptor"),[s.types.cloneNode(O),s.types.cloneNode(D),s.types.arrayExpression(C.map($=>s.types.cloneNode($.expression))),s.types.objectExpression([s.types.objectProperty(s.types.identifier("configurable"),s.types.booleanLiteral(!0)),s.types.objectProperty(s.types.identifier("enumerable"),s.types.booleanLiteral(!0)),s.types.objectProperty(s.types.identifier("writable"),s.types.booleanLiteral(!0)),s.types.objectProperty(s.types.identifier("initializer"),k)])])))}else L.push(s.types.callExpression(A.addHelper("applyDecoratedDescriptor"),[s.types.cloneNode(O),s.types.cloneNode(D),s.types.arrayExpression(C.map(j=>s.types.cloneNode(j.expression))),s.types.isObjectProperty(x)||s.types.isClassProperty(x,{static:!0})?l({TEMP:E.scope.generateDeclaredUidIdentifier("init"),TARGET:s.types.cloneNode(O),PROPERTY:s.types.cloneNode(D)}).expression:a({TARGET:s.types.cloneNode(O),PROPERTY:s.types.cloneNode(D)}).expression,s.types.cloneNode(O)]));return L},[]);return s.types.sequenceExpression([s.types.assignmentExpression("=",s.types.cloneNode(T),E.node),s.types.sequenceExpression(I),s.types.cloneNode(T)])}function y({node:E,scope:A}){if(!h(E)&&!m(E.body.body))return;let S=E.id?s.types.cloneNode(E.id):A.generateUidIdentifier("class");return s.types.variableDeclaration("let",[s.types.variableDeclarator(S,s.types.toExpression(E))])}let _={ExportDefaultDeclaration(E){let A=E.get("declaration");if(!A.isClassDeclaration())return;let S=y(A);if(S){let[T]=E.replaceWithMultiple([S,s.types.exportNamedDeclaration(null,[s.types.exportSpecifier(s.types.cloneNode(S.declarations[0].id),s.types.identifier("default"))])]);A.node.id||E.scope.registerDeclaration(T)}},ClassDeclaration(E){let A=y(E);if(A){let[S]=E.replaceWith(A),T=S.get("declarations.0"),I=T.node.id,L=E.scope.getOwnBinding(I.name);L.identifier=I,L.path=T}},ClassExpression(E,A){let S=d(E)||function(T){if(!h(T.node))return;let I=T.node.decorators||[];T.node.decorators=null;let L=T.scope.generateDeclaredUidIdentifier("class");return I.map(x=>x.expression).reverse().reduce(function(x,C){return u({CLASS_REF:s.types.cloneNode(L),DECORATOR:s.types.cloneNode(C),INNER:x}).expression},T.node)}(E)||function(T,I){if(m(T.node.body.body))return g(T,I,T.node.body.body)}(E,A);S&&E.replaceWith(S)},ObjectExpression(E,A){let S=d(E)||function(T,I){if(m(T.node.properties))return g(T,I,T.node.properties.filter(L=>L.type!=="SpreadElement"))}(E,A);S&&E.replaceWith(S)},AssignmentExpression(E,A){p.has(E.node.right)&&E.replaceWith(s.types.callExpression(A.addHelper("initializerDefineProperty"),[s.types.cloneNode(E.get("left.object").node),s.types.stringLiteral(E.get("left.property").node.name||E.get("left.property").node.value),s.types.cloneNode(E.get("right.arguments")[0].node),s.types.cloneNode(E.get("right.arguments")[1].node)]))},CallExpression(E,A){E.node.arguments.length===3&&p.has(E.node.arguments[2])&&E.node.callee.name===A.addHelper("defineProperty").name&&E.replaceWith(s.types.callExpression(A.addHelper("initializerDefineProperty"),[s.types.cloneNode(E.get("arguments")[0].node),s.types.cloneNode(E.get("arguments")[1].node),s.types.cloneNode(E.get("arguments.2.arguments")[0].node),s.types.cloneNode(E.get("arguments.2.arguments")[1].node)]))}};r.default=_},"./node_modules/.pnpm/@babel+plugin-syntax-decorators@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-decorators/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js");r.default=(0,s.declare)((u,H)=>{u.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");let{version:a}=H;{let{legacy:p}=H;if(p!==void 0){if(typeof p!="boolean")throw new Error(".legacy must be a boolean.");if(a!==void 0)throw new Error("You can either use the .legacy or the .version option, not both.")}if(a===void 0)a=p?"legacy":"2018-09";else if(a!=="2023-11"&&a!=="2023-05"&&a!=="2023-01"&&a!=="2022-03"&&a!=="2021-12"&&a!=="2018-09"&&a!=="legacy")throw new Error("Unsupported decorators version: "+a);var{decoratorsBeforeExport:l}=H;if(l===void 0){if(a==="2021-12"||a==="2022-03")l=!1;else if(a==="2018-09")throw new Error("The decorators plugin, when .version is '2018-09' or not specified, requires a 'decoratorsBeforeExport' option, whose value must be a boolean.")}else{if(a==="legacy"||a==="2022-03"||a==="2023-01")throw new Error(`'decoratorsBeforeExport' can't be used with ${a} decorators.`);if(typeof l!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean.")}}return{name:"syntax-decorators",manipulateOptions({generatorOpts:p},d){a==="legacy"?d.plugins.push("decorators-legacy"):a==="2023-01"||a==="2023-05"||a==="2023-11"?d.plugins.push(["decorators",{allowCallParenthesized:!1}],"decoratorAutoAccessors"):a==="2022-03"?d.plugins.push(["decorators",{decoratorsBeforeExport:!1,allowCallParenthesized:!1}],"decoratorAutoAccessors"):a==="2021-12"?(d.plugins.push(["decorators",{decoratorsBeforeExport:l}],"decoratorAutoAccessors"),p.decoratorsBeforeExport=l):a==="2018-09"&&(d.plugins.push(["decorators",{decoratorsBeforeExport:l}]),p.decoratorsBeforeExport=l)}}})},"./node_modules/.pnpm/@babel+plugin-syntax-import-assertions@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js");r.default=(0,s.declare)(u=>(u.assertVersion(7),{name:"syntax-import-assertions",manipulateOptions(H,a){a.plugins.push("importAssertions")}}))},"./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-jsx/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js");r.default=(0,s.declare)(u=>(u.assertVersion(7),{name:"syntax-jsx",manipulateOptions(H,a){a.plugins.some(l=>(Array.isArray(l)?l[0]:l)==="typescript")||a.plugins.push("jsx")}}))},"./node_modules/.pnpm/@babel+plugin-syntax-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-typescript/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),u=function(H,a){let l=[];H.forEach((p,d)=>{(Array.isArray(p)?p[0]:p)===a&&l.unshift(d)});for(let p of l)H.splice(p,1)};r.default=(0,s.declare)((H,a)=>{H.assertVersion(7);let{disallowAmbiguousJSXLike:l,dts:p}=a;var{isTSX:d}=a;return{name:"syntax-typescript",manipulateOptions(h,m){{let{plugins:g}=m;u(g,"flow"),u(g,"jsx"),g.push("objectRestSpread","classProperties"),d&&g.push("jsx")}m.plugins.push(["typescript",{disallowAmbiguousJSXLike:l,dts:p}])}}})},"./node_modules/.pnpm/@babel+plugin-transform-export-namespace-from@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-export-namespace-from/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js");r.default=(0,s.declare)(H=>(H.assertVersion(7),{name:"transform-export-namespace-from",inherits:H.version[0]==="8"?void 0:c("./node_modules/.pnpm/@babel+plugin-syntax-export-namespace-from@7.8.3_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-export-namespace-from/lib/index.js").A,visitor:{ExportNamedDeclaration(a){var l;let{node:p,scope:d}=a,{specifiers:h}=p,m=u.types.isExportDefaultSpecifier(h[0])?1:0;if(!u.types.isExportNamespaceSpecifier(h[m]))return;let g=[];m===1&&g.push(u.types.exportNamedDeclaration(null,[h.shift()],p.source));let y=h.shift(),{exported:_}=y,E=d.generateUidIdentifier((l=_.name)!=null?l:_.value);g.push(u.types.importDeclaration([u.types.importNamespaceSpecifier(E)],u.types.cloneNode(p.source)),u.types.exportNamedDeclaration(null,[u.types.exportSpecifier(u.types.cloneNode(E),_)])),p.specifiers.length>=1&&g.push(p);let[A]=a.replaceWithMultiple(g);a.scope.registerDeclaration(A)}}}))},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/dynamic-import.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.transformDynamicImport=function(l,p,d){let h=p?H:a;l.replaceWith((0,u.buildDynamicImport)(l.node,!0,!1,m=>h(m,d)))};var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/index.js");let H=l=>s.template.expression.ast`require(${l})`,a=(l,p)=>s.types.callExpression(p.addHelper("interopRequireWildcard"),[H(l)])},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/hooks.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.defineCommonJSHook=function(u,H){let a=u.get(c);a||u.set(c,a=[]),a.push(H)},r.makeInvokers=function(u){let H=u.get(c);return{getWrapperPayload:(...a)=>s(H,l=>l.getWrapperPayload==null?void 0:l.getWrapperPayload(...a)),wrapReference:(...a)=>s(H,l=>l.wrapReference==null?void 0:l.wrapReference(...a)),buildRequireWrapper:(...a)=>s(H,l=>l.buildRequireWrapper==null?void 0:l.buildRequireWrapper(...a))}};let c="@babel/plugin-transform-modules-commonjs/customWrapperPlugin";function s(u,H){if(u)for(let a of u){let l=H(a);if(l!=null)return l}}},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,Object.defineProperty(r,"defineCommonJSHook",{enumerable:!0,get:function(){return d.defineCommonJSHook}});var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-simple-access@7.24.7/node_modules/@babel/helper-simple-access/lib/index.js"),a=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),l=c("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/dynamic-import.js"),p=c("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/lazy.js"),d=c("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/hooks.js");r.default=(0,s.declare)((h,m)=>{var g,y,_;h.assertVersion(7);let{strictNamespace:E=!1,mjsStrictNamespace:A=E,allowTopLevelThis:S,strict:T,strictMode:I,noInterop:L,importInterop:x,lazy:C=!1,allowCommonJSExports:D=!0,loose:O=!1}=m,j=(g=h.assumption("constantReexports"))!=null?g:O,k=(y=h.assumption("enumerableModuleMeta"))!=null?y:O,$=(_=h.assumption("noIncompleteNsImportDetection"))!=null&&_;if(!(typeof C=="boolean"||typeof C=="function"||Array.isArray(C)&&C.every(P=>typeof P=="string")))throw new Error(".lazy must be a boolean, array of strings, or a function");if(typeof E!="boolean")throw new Error(".strictNamespace must be a boolean, or undefined");if(typeof A!="boolean")throw new Error(".mjsStrictNamespace must be a boolean, or undefined");let U=P=>a.template.expression.ast`
|
|
(function(){
|
|
throw new Error(
|
|
"The CommonJS '" + "${P}" + "' variable is not available in ES6 modules." +
|
|
"Consider setting setting sourceType:script or sourceType:unambiguous in your " +
|
|
"Babel config for this file.");
|
|
})()
|
|
`,F={ReferencedIdentifier(P){let W=P.node.name;if(W!=="module"&&W!=="exports")return;let Z=P.scope.getBinding(W);this.scope.getBinding(W)!==Z||P.parentPath.isObjectProperty({value:P.node})&&P.parentPath.parentPath.isObjectPattern()||P.parentPath.isAssignmentExpression({left:P.node})||P.isAssignmentExpression({left:P.node})||P.replaceWith(U(W))},UpdateExpression(P){let W=P.get("argument");if(!W.isIdentifier())return;let Z=W.node.name;if(Z!=="module"&&Z!=="exports")return;let ee=P.scope.getBinding(Z);this.scope.getBinding(Z)===ee&&P.replaceWith(a.types.assignmentExpression(P.node.operator[0]+"=",W.node,U(Z)))},AssignmentExpression(P){let W=P.get("left");if(W.isIdentifier()){let Z=W.node.name;if(Z!=="module"&&Z!=="exports")return;let ee=P.scope.getBinding(Z);if(this.scope.getBinding(Z)!==ee)return;let J=P.get("right");J.replaceWith(a.types.sequenceExpression([J.node,U(Z)]))}else if(W.isPattern()){let Z=W.getOuterBindingIdentifiers(),ee=Object.keys(Z).filter(J=>(J==="module"||J==="exports")&&this.scope.getBinding(J)===P.scope.getBinding(J))[0];if(ee){let J=P.get("right");J.replaceWith(a.types.sequenceExpression([J.node,U(ee)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs"),C&&(0,d.defineCommonJSHook)(this.file,(0,p.lazyImportsHook)(C))},visitor:{["CallExpression"+(h.types.importExpression?"|ImportExpression":"")](P){if(!this.file.has("@babel/plugin-proposal-dynamic-import")||P.isCallExpression()&&!a.types.isImport(P.node.callee))return;let{scope:W}=P;do W.rename("require");while(W=W.parent);(0,l.transformDynamicImport)(P,L,this.file)},Program:{exit(P,W){if(!(0,u.isModule)(P))return;P.scope.rename("exports"),P.scope.rename("module"),P.scope.rename("require"),P.scope.rename("__filename"),P.scope.rename("__dirname"),D||((0,H.default)(P,new Set(["module","exports"]),!1),P.traverse(F,{scope:P.scope}));let Z=(0,u.getModuleName)(this.file.opts,m);Z&&(Z=a.types.stringLiteral(Z));let ee=(0,d.makeInvokers)(this.file),{meta:J,headers:ne}=(0,u.rewriteModuleStatementsAndPrepareHeader)(P,{exportName:"exports",constantReexports:j,enumerableModuleMeta:k,strict:T,strictMode:I,allowTopLevelThis:S,noInterop:L,importInterop:x,wrapReference:ee.wrapReference,getWrapperPayload:ee.getWrapperPayload,esNamespaceOnly:typeof W.filename=="string"&&/\.mjs$/.test(W.filename)?A:E,noIncompleteNsImportDetection:$,filename:this.file.opts.filename});for(let[K,q]of J.source){let Q=a.types.callExpression(a.types.identifier("require"),[a.types.stringLiteral(K)]),z;if((0,u.isSideEffectImport)(q)){if(C&&q.wrap==="function")throw new Error("Assertion failure");z=a.types.expressionStatement(Q)}else{let ie=(0,u.wrapInterop)(P,Q,q.interop)||Q;if(q.wrap){let _e=ee.buildRequireWrapper(q.name,ie,q.wrap,q.referenced);if(_e===!1)continue;z=_e}z!=null||(z=a.template.statement.ast`
|
|
var ${q.name} = ${ie};
|
|
`)}z.loc=q.loc,ne.push(z),ne.push(...(0,u.buildNamespaceInitStatements)(J,q,j,ee.wrapReference))}(0,u.ensureStatementsHoisted)(ne),P.unshiftContainer("body",ne),P.get("body").forEach(K=>{ne.indexOf(K.node)!==-1&&K.isVariableDeclaration()&&K.scope.registerDeclaration(K)})}}}}})},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/lazy.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.lazyImportsHook=void 0;var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/index.js");r.lazyImportsHook=H=>({name:"@babel/plugin-transform-modules-commonjs/lazy",version:"7.24.7",getWrapperPayload:(a,l)=>(0,u.isSideEffectImport)(l)||l.reexportAll?null:H===!0?/\./.test(a)?null:"lazy/function":Array.isArray(H)?H.indexOf(a)===-1?null:"lazy/function":typeof H=="function"?H(a)?"lazy/function":null:void 0,buildRequireWrapper(a,l,p,d){if(p==="lazy/function")return!!d&&s.template.statement.ast`
|
|
function ${a}() {
|
|
const data = ${l};
|
|
${a} = function(){ return data; };
|
|
return data;
|
|
}
|
|
`},wrapReference(a,l){if(l==="lazy/function")return s.types.callExpression(a,[])}})},"./node_modules/.pnpm/@babel+plugin-transform-nullish-coalescing-operator@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js");r.default=(0,s.declare)((H,{loose:a=!1})=>{var l;H.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");let p=(l=H.assumption("noDocumentAll"))!=null?l:a;return{name:"transform-nullish-coalescing-operator",inherits:H.version[0]==="8"?void 0:c("./node_modules/.pnpm/@babel+plugin-syntax-nullish-coalescing-operator@7.8.3_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/lib/index.js").A,visitor:{LogicalExpression(d){let{node:h,scope:m}=d;if(h.operator!=="??")return;let g,y;if(m.isStatic(h.left))g=h.left,y=u.types.cloneNode(h.left);else{if(m.path.isPattern())return void d.replaceWith(u.template.statement.ast`(() => ${d.node})()`);g=m.generateUidIdentifierBasedOnNode(h.left),m.push({id:u.types.cloneNode(g)}),y=u.types.assignmentExpression("=",g,h.left)}d.replaceWith(u.types.conditionalExpression(p?u.types.binaryExpression("!=",y,u.types.nullLiteral()):u.types.logicalExpression("&&",u.types.binaryExpression("!==",y,u.types.nullLiteral()),u.types.binaryExpression("!==",u.types.cloneNode(g),m.buildUndefinedNode())),u.types.cloneNode(g),h.right))}}}})},"./node_modules/.pnpm/@babel+plugin-transform-optional-chaining@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-optional-chaining/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),u=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.24.7/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js");function a(S){let T=l(S),{node:I,parentPath:L}=T;if(L.isLogicalExpression()){let{operator:x,right:C}=L.node;if(x==="&&"||x==="||"||x==="??"&&I===C)return a(L)}if(L.isSequenceExpression()){let{expressions:x}=L.node;return x[x.length-1]!==I||a(L)}return L.isConditional({test:I})||L.isUnaryExpression({operator:"!"})||L.isLoop({test:I})}function l(S){let T=S;return S.findParent(I=>{if(!H.isTransparentExprWrapper(I.node))return!0;T=I}),T}let p=S=>S[S.length-1];function d(S){return S=H.skipTransparentExprWrapperNodes(S),u.types.isIdentifier(S)||u.types.isSuper(S)||u.types.isMemberExpression(S)&&!S.computed&&d(S.object)}let h=u.template.expression("%%check%% === null || %%ref%% === void 0"),m=u.template.expression("%%check%% == null"),g=u.template.expression("%%check%% !== null && %%ref%% !== void 0"),y=u.template.expression("%%check%% != null");function _(S,{pureGetters:T,noDocumentAll:I},L,x,C){let{scope:D}=S;if(D.path.isPattern()&&function(K){let q=K,{scope:Q}=K;for(;q.isOptionalMemberExpression()||q.isOptionalCallExpression();){let{node:z}=q,ie=H.skipTransparentExprWrappers(q.isOptionalMemberExpression()?q.get("object"):q.get("callee"));if(z.optional)return!Q.isStatic(ie.node);q=ie}}(S))return void L.replaceWith(u.template.expression.ast`(() => ${L.node})()`);let O=[],j=S;for(;j.isOptionalMemberExpression()||j.isOptionalCallExpression();){let{node:K}=j;K.optional&&O.push(K),j.isOptionalMemberExpression()?(j.node.type="MemberExpression",j=H.skipTransparentExprWrappers(j.get("object"))):j.isOptionalCallExpression()&&(j.node.type="CallExpression",j=H.skipTransparentExprWrappers(j.get("callee")))}if(O.length===0)return;let k=[],$;for(let K=O.length-1;K>=0;K--){let q=O[K],Q=u.types.isCallExpression(q),z=Q?q.callee:q.object,ie=H.skipTransparentExprWrapperNodes(z),_e,He;if(Q&&u.types.isIdentifier(ie,{name:"eval"})?(He=_e=ie,q.callee=u.types.sequenceExpression([u.types.numericLiteral(0),_e])):T&&Q&&d(ie)?He=_e=q.callee:D.isStatic(ie)?He=_e=z:($&&!Q||($=D.generateUidIdentifierBasedOnNode(ie),D.push({id:u.types.cloneNode($)})),_e=$,He=u.types.assignmentExpression("=",u.types.cloneNode($),z),Q?q.callee=_e:q.object=_e),Q&&u.types.isMemberExpression(ie))if(T&&d(ie))q.callee=z;else{let{object:Ve}=ie,Fe;if(u.types.isSuper(Ve))Fe=u.types.thisExpression();else{let me=D.maybeGenerateMemoised(Ve);me?(Fe=me,ie.object=u.types.assignmentExpression("=",me,Ve)):Fe=Ve}q.arguments.unshift(u.types.cloneNode(Fe)),q.callee=u.types.memberExpression(q.callee,u.types.identifier("call"))}let be={check:u.types.cloneNode(He),ref:u.types.cloneNode(_e)};Object.defineProperty(be,"ref",{enumerable:!1}),k.push(be)}let U=L.node;C&&(U=C(U));let F=u.types.isBooleanLiteral(x),P=F&&x.value===!1,W=!F&&u.types.isUnaryExpression(x,{operator:"void"}),Z=u.types.isExpressionStatement(L.parent)&&!L.isCompletionRecord()||u.types.isSequenceExpression(L.parent)&&p(L.parent.expressions)!==L.node,ee=P?I?y:g:I?m:h,J=P?"&&":"||",ne=k.map(ee).reduce((K,q)=>u.types.logicalExpression(J,K,q));L.replaceWith(F||W&&Z?u.types.logicalExpression(J,ne,U):u.types.conditionalExpression(ne,x,U))}function E(S,T){let{scope:I}=S,L=l(S),{parentPath:x}=L;if(x.isUnaryExpression({operator:"delete"}))_(S,T,x,u.types.booleanLiteral(!0));else{let C;x.isCallExpression({callee:L.node})&&S.isOptionalMemberExpression()&&(C=D=>{var O;let j=H.skipTransparentExprWrapperNodes(D.object),k;return T.pureGetters&&d(j)||(k=I.maybeGenerateMemoised(j),k&&(D.object=u.types.assignmentExpression("=",k,j))),u.types.callExpression(u.types.memberExpression(D,u.types.identifier("bind")),[u.types.cloneNode((O=k)!=null?O:j)])}),_(S,T,S,a(L)?u.types.booleanLiteral(!1):I.buildUndefinedNode(),C)}}var A=s.declare((S,T)=>{var I,L;S.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");let{loose:x=!1}=T,C=(I=S.assumption("noDocumentAll"))!=null?I:x,D=(L=S.assumption("pureGetters"))!=null?L:x;return{name:"transform-optional-chaining",inherits:S.version[0]==="8"?void 0:c("./node_modules/.pnpm/@babel+plugin-syntax-optional-chaining@7.8.3_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-optional-chaining/lib/index.js").A,visitor:{"OptionalCallExpression|OptionalMemberExpression"(O){E(O,{noDocumentAll:C,pureGetters:D})}}}});r.default=A,r.transform=E,r.transformOptionalChain=_},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H){let{name:a}=u.node.id,l=u.parentPath.isExportNamedDeclaration(),p=l;!p&&H.isProgram(u.parent)&&(p=u.parent.body.some(m=>H.isExportNamedDeclaration(m)&&m.exportKind!=="type"&&!m.source&&m.specifiers.some(g=>H.isExportSpecifier(g)&&g.exportKind!=="type"&&g.local.name===a)));let{enumValues:d}=(0,s.translateEnumValues)(u,H);if(p){let m=H.objectExpression(d.map(([g,y])=>H.objectProperty(H.isValidIdentifier(g)?H.identifier(g):H.stringLiteral(g),y)));return void(u.scope.hasOwnBinding(a)?(l?u.parentPath:u).replaceWith(H.expressionStatement(H.callExpression(H.memberExpression(H.identifier("Object"),H.identifier("assign")),[u.node.id,m]))):(u.replaceWith(H.variableDeclaration("var",[H.variableDeclarator(u.node.id,m)])),u.scope.registerDeclaration(u)))}let h=new Map(d);u.scope.path.traverse({Scope(m){m.scope.hasOwnBinding(a)&&m.skip()},MemberExpression(m){if(!H.isIdentifier(m.node.object,{name:a}))return;let g;if(m.node.computed){if(!H.isStringLiteral(m.node.property))return;g=m.node.property.value}else{if(!H.isIdentifier(m.node.property))return;g=m.node.property.name}h.has(g)&&m.replaceWith(H.cloneNode(h.get(g)))}}),u.remove()};var s=c("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/enum.js")},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/enum.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(E,A){let{node:S,parentPath:T}=E;if(S.declare)return void E.remove();let I=S.id.name,{fill:L,data:x,isPure:C}=function(D,O,j){let{enumValues:k,data:$,isPure:U}=y(D,O),F=k.map(([P,W])=>h(O.isStringLiteral(W),{ENUM:O.cloneNode(j),NAME:P,VALUE:W}));return{fill:{ID:O.cloneNode(j),ASSIGNMENTS:F},data:$,isPure:U}}(E,A,S.id);switch(T.type){case"BlockStatement":case"ExportNamedDeclaration":case"Program":{let D=A.isProgram(E.parent),O=function $(U){return U.isExportDeclaration()?$(U.parentPath):!!U.getData(I)||(U.setData(I,!0),!1)}(T),j=A.objectExpression([]);(O||D)&&(j=A.logicalExpression("||",A.cloneNode(L.ID),j));let k=l(Object.assign({},L,{INIT:j}));C&&(0,H.default)(k),O?(T.isExportDeclaration()?T:E).replaceWith(A.expressionStatement(A.assignmentExpression("=",A.cloneNode(S.id),k))):E.scope.registerDeclaration(E.replaceWith(A.variableDeclaration(D?"var":"let",[A.variableDeclarator(S.id,k)]))[0]),a.set(E.scope.getBindingIdentifier(I),x);break}default:throw new Error(`Unexpected enum parent '${E.parent.type}`)}},r.translateEnumValues=y;var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),u=c("assert"),H=c("./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.24.7/node_modules/@babel/helper-annotate-as-pure/lib/index.js");let a=new WeakMap,l=s.template.expression(`
|
|
(function (ID) {
|
|
ASSIGNMENTS;
|
|
return ID;
|
|
})(INIT)
|
|
`),p=(0,s.template)(`
|
|
ENUM["NAME"] = VALUE;
|
|
`),d=(0,s.template)(`
|
|
ENUM[ENUM["NAME"] = VALUE] = "NAME";
|
|
`),h=(E,A)=>(E?p:d)(A);function m(E,A){let{seen:S,path:T,t:I}=A,L=E.node.name;S.has(L)&&!E.scope.hasOwnBinding(L)&&(E.replaceWith(I.memberExpression(I.cloneNode(T.node.id),I.cloneNode(E.node))),E.skip())}let g={ReferencedIdentifier:m};function y(E,A){var S;let T=E.scope.getBindingIdentifier(E.node.id.name),I=(S=a.get(T))!=null?S:new Map,L,x=-1,C=!0,D=E.get("members").map(O=>{let j=O.node,k=A.isIdentifier(j.id)?j.id.name:j.id.value,$=O.get("initializer"),U;if(j.initializer)x=_($,I),x!==void 0?(I.set(k,x),u(typeof x=="number"||typeof x=="string"),U=x===1/0||Number.isNaN(x)?A.identifier(String(x)):x===-1/0?A.unaryExpression("-",A.identifier("Infinity")):A.valueToNode(x)):(C&&(C=$.isPure()),$.isReferencedIdentifier()?m($,{t:A,seen:I,path:E}):$.traverse(g,{t:A,seen:I,path:E}),U=$.node,I.set(k,void 0));else if(typeof x=="number")x+=1,U=A.numericLiteral(x),I.set(k,x);else{if(typeof x=="string")throw E.buildCodeFrameError("Enum member must have initializer.");{let F=A.memberExpression(A.cloneNode(E.node.id),A.stringLiteral(L),!0);U=A.binaryExpression("+",A.numericLiteral(1),F),I.set(k,void 0)}}return L=k,[k,U]});return{isPure:C,data:I,enumValues:D}}function _(E,A,S=new Set){return T(E);function T(L){let x=L.node;switch(x.type){case"MemberExpression":case"Identifier":return I(L,A,S);case"StringLiteral":case"NumericLiteral":return x.value;case"UnaryExpression":return function(C){let D=T(C.get("argument"));if(D!==void 0)switch(C.node.operator){case"+":return D;case"-":return-D;case"~":return~D;default:return}}(L);case"BinaryExpression":return function(C){let D=T(C.get("left"));if(D===void 0)return;let O=T(C.get("right"));if(O!==void 0)switch(C.node.operator){case"|":return D|O;case"&":return D&O;case">>":return D>>O;case">>>":return D>>>O;case"<<":return D<<O;case"^":return D^O;case"*":return D*O;case"/":return D/O;case"+":return D+O;case"-":return D-O;case"%":return D%O;case"**":return Math.pow(D,O);default:return}}(L);case"ParenthesizedExpression":return T(L.get("expression"));case"TemplateLiteral":{if(x.quasis.length===1)return x.quasis[0].value.cooked;let C=L.get("expressions"),D=x.quasis,O="";for(let j=0;j<D.length;j++)if(O+=D[j].value.cooked,j+1<D.length){let k=I(C[j],A,S);if(k===void 0)return;O+=k}return O}default:return}}function I(L,x,C){if(L.isMemberExpression()){let D=L.node,O=D.object,j=D.property;if(!s.types.isIdentifier(O)||(D.computed?!s.types.isStringLiteral(j):!s.types.isIdentifier(j)))return;let k=L.scope.getBindingIdentifier(O.name),$=a.get(k);return $?$.get(j.computed?j.value:j.name):void 0}if(L.isIdentifier()){let D=L.node.name;if(["Infinity","NaN"].includes(D))return Number(D);let O=x?.get(D);return O!==void 0?O:C.has(L.node)?void 0:(C.add(L.node),O=_(L.resolve(),x,C),x?.set(D,O),O)}}}},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/global-types.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.GLOBAL_TYPES=void 0,r.isGlobalType=function({scope:s},u){return!s.hasBinding(u)&&(!!c.get(s).has(u)||(console.warn(`The exported identifier "${u}" is not declared in Babel's scope tracker
|
|
as a JavaScript value binding, and "@babel/plugin-transform-typescript"
|
|
never encountered it as a TypeScript type declaration.
|
|
It will be treated as a JavaScript value.
|
|
|
|
This problem is likely caused by another plugin injecting
|
|
"${u}" without registering it in the scope tracker. If you are the author
|
|
of that plugin, please use "scope.registerDeclaration(declarationPath)".`),!1))},r.registerGlobalType=function(s,u){c.get(s).add(u)};let c=r.GLOBAL_TYPES=new WeakMap},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),u=c("./node_modules/.pnpm/@babel+plugin-syntax-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-typescript/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/index.js"),a=c("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js"),l=c("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/enum.js"),p=c("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/global-types.js"),d=c("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/namespace.js");function h(E){switch(E.parent.type){case"TSTypeReference":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;case"TSQualifiedName":return E.parentPath.findParent(A=>A.type!=="TSQualifiedName").type!=="TSImportEqualsDeclaration";case"ExportSpecifier":return E.parent.exportKind==="type"||E.parentPath.parent.exportKind==="type";default:return!1}}let m=new WeakMap,g=new WeakSet;function y(E){let A=E.getBindingIdentifiers();for(let S of Object.keys(A)){let T=E.scope.getBinding(S);T&&T.identifier===A[S]&&T.scope.removeBinding(S)}E.opts.noScope=!0,E.remove(),E.opts.noScope=!1}function _(E,A,S,T,I=""){if(A.file.get("@babel/plugin-transform-modules-*")!=="commonjs")throw E.buildCodeFrameError(`\`${S}\` is only supported when compiling modules to CommonJS.
|
|
Please consider using \`${T}\`${I}, or add @babel/plugin-transform-modules-commonjs to your Babel config.`)}r.default=(0,s.declare)((E,A)=>{let{types:S,template:T}=E;E.assertVersion(7);let I=/\*?\s*@jsx((?:Frag)?)\s+([^\s]+)/,{allowNamespaces:L=!0,jsxPragma:x="React.createElement",jsxPragmaFrag:C="React.Fragment",onlyRemoveTypeImports:D=!1,optimizeConstEnums:O=!1}=A;var{allowDeclareFields:j=!1}=A;let k={field(P){let{node:W}=P;if(!j&&W.declare)throw P.buildCodeFrameError("The 'declare' modifier is only allowed when the 'allowDeclareFields' option of @babel/plugin-transform-typescript or @babel/preset-typescript is enabled.");if(W.declare){if(W.value)throw P.buildCodeFrameError("Fields with the 'declare' modifier cannot be initialized here, but only in the constructor");W.decorators||P.remove()}else if(W.definite){if(W.value)throw P.buildCodeFrameError("Definitely assigned fields cannot be initialized here, but only in the constructor");j||W.decorators||S.isClassPrivateProperty(W)||P.remove()}else W.abstract?P.remove():j||W.value||W.decorators||S.isClassPrivateProperty(W)||P.remove();W.accessibility&&(W.accessibility=null),W.abstract&&(W.abstract=null),W.readonly&&(W.readonly=null),W.optional&&(W.optional=null),W.typeAnnotation&&(W.typeAnnotation=null),W.definite&&(W.definite=null),W.declare&&(W.declare=null),W.override&&(W.override=null)},method({node:P}){P.accessibility&&(P.accessibility=null),P.abstract&&(P.abstract=null),P.optional&&(P.optional=null),P.override&&(P.override=null)},constructor(P,W){P.node.accessibility&&(P.node.accessibility=null);let Z=[],{scope:ee}=P;for(let J of P.get("params")){let ne=J.node;if(ne.type==="TSParameterProperty"){let K=ne.parameter;if(g.has(K))continue;let q;if(g.add(K),S.isIdentifier(K))q=K;else{if(!S.isAssignmentPattern(K)||!S.isIdentifier(K.left))throw J.buildCodeFrameError("Parameter properties can not be destructuring patterns.");q=K.left}Z.push(T.statement.ast`
|
|
this.${S.cloneNode(q)} = ${S.cloneNode(q)}
|
|
`),J.replaceWith(J.get("parameter")),ee.registerBinding("param",J)}}(0,H.injectInitialization)(W,P,Z)}};return{name:"transform-typescript",inherits:u.default,visitor:{Pattern:U,Identifier:U,RestElement:U,Program:{enter(P,W){let{file:Z}=W,ee=null,J=null,ne=P.scope;if(p.GLOBAL_TYPES.has(ne)||p.GLOBAL_TYPES.set(ne,new Set),Z.ast.comments)for(let Q of Z.ast.comments){let z=I.exec(Q.value);z&&(z[1]?J=z[2]:ee=z[2])}let K=ee||x;K&&([K]=K.split("."));let q=J||C;q&&([q]=q.split("."));for(let Q of P.get("body"))if(Q.isImportDeclaration()){if(m.has(W.file.ast.program)||m.set(W.file.ast.program,!0),Q.node.importKind==="type"){for(let He of Q.node.specifiers)(0,p.registerGlobalType)(ne,He.local.name);Q.remove();continue}let z=new Set,ie=Q.node.specifiers.length,_e=()=>ie>0&&ie===z.size;for(let He of Q.node.specifiers)if(He.type==="ImportSpecifier"&&He.importKind==="type"){(0,p.registerGlobalType)(ne,He.local.name);let be=Q.scope.getBinding(He.local.name);be&&z.add(be.path)}if(D)m.set(P.node,!1);else{if(Q.node.specifiers.length===0){m.set(P.node,!1);continue}for(let He of Q.node.specifiers){let be=Q.scope.getBinding(He.local.name);be&&!z.has(be.path)&&(F({binding:be,programPath:P,pragmaImportName:K,pragmaFragImportName:q})?z.add(be.path):m.set(P.node,!1))}}if(_e()&&!D)Q.remove();else for(let He of z)He.remove()}else if(Q.isExportDeclaration()&&(Q=Q.get("declaration")),Q.isVariableDeclaration({declare:!0}))for(let z of Object.keys(Q.getBindingIdentifiers()))(0,p.registerGlobalType)(ne,z);else(Q.isTSTypeAliasDeclaration()||Q.isTSDeclareFunction()&&Q.get("id").isIdentifier()||Q.isTSInterfaceDeclaration()||Q.isClassDeclaration({declare:!0})||Q.isTSEnumDeclaration({declare:!0})||Q.isTSModuleDeclaration({declare:!0})&&Q.get("id").isIdentifier())&&(0,p.registerGlobalType)(ne,Q.node.id.name)},exit(P){P.node.sourceType==="module"&&m.get(P.node)&&P.pushContainer("body",S.exportNamedDeclaration())}},ExportNamedDeclaration(P,W){if(m.has(W.file.ast.program)||m.set(W.file.ast.program,!0),P.node.exportKind!=="type")if(P.node.source&&P.node.specifiers.length>0&&P.node.specifiers.every(Z=>Z.type==="ExportSpecifier"&&Z.exportKind==="type"))P.remove();else if(!P.node.source&&P.node.specifiers.length>0&&P.node.specifiers.every(Z=>S.isExportSpecifier(Z)&&(0,p.isGlobalType)(P,Z.local.name)))P.remove();else{if(S.isTSModuleDeclaration(P.node.declaration)){let Z=P.node.declaration,{id:ee}=Z;if(S.isIdentifier(ee))if(P.scope.hasOwnBinding(ee.name))P.replaceWith(Z);else{let[J]=P.replaceWithMultiple([S.exportNamedDeclaration(S.variableDeclaration("let",[S.variableDeclarator(S.cloneNode(ee))])),Z]);P.scope.registerDeclaration(J)}}m.set(W.file.ast.program,!1)}else P.remove()},ExportAllDeclaration(P){P.node.exportKind==="type"&&P.remove()},ExportSpecifier(P){(!P.parent.source&&(0,p.isGlobalType)(P,P.node.local.name)||P.node.exportKind==="type")&&P.remove()},ExportDefaultDeclaration(P,W){m.has(W.file.ast.program)||m.set(W.file.ast.program,!0),S.isIdentifier(P.node.declaration)&&(0,p.isGlobalType)(P,P.node.declaration.name)?P.remove():m.set(W.file.ast.program,!1)},TSDeclareFunction(P){y(P)},TSDeclareMethod(P){y(P)},VariableDeclaration(P){P.node.declare&&y(P)},VariableDeclarator({node:P}){P.definite&&(P.definite=null)},TSIndexSignature(P){P.remove()},ClassDeclaration(P){let{node:W}=P;W.declare&&y(P)},Class(P){let{node:W}=P;W.typeParameters&&(W.typeParameters=null),W.superTypeParameters&&(W.superTypeParameters=null),W.implements&&(W.implements=null),W.abstract&&(W.abstract=null),P.get("body.body").forEach(Z=>{Z.isClassMethod()||Z.isClassPrivateMethod()?Z.node.kind==="constructor"?k.constructor(Z,P):k.method(Z):(Z.isClassProperty()||Z.isClassPrivateProperty()||Z.isClassAccessorProperty())&&k.field(Z)})},Function(P){let{node:W}=P;W.typeParameters&&(W.typeParameters=null),W.returnType&&(W.returnType=null);let Z=W.params;Z.length>0&&S.isIdentifier(Z[0],{name:"this"})&&Z.shift()},TSModuleDeclaration(P){(0,d.default)(P,L)},TSInterfaceDeclaration(P){P.remove()},TSTypeAliasDeclaration(P){P.remove()},TSEnumDeclaration(P){O&&P.node.const?(0,a.default)(P,S):(0,l.default)(P,S)},TSImportEqualsDeclaration(P,W){let{id:Z,moduleReference:ee}=P.node,J,ne;S.isTSExternalModuleReference(ee)?(_(P,W,`import ${Z.name} = require(...);`,`import ${Z.name} from '...';`," alongside Typescript's --allowSyntheticDefaultImports option"),J=S.callExpression(S.identifier("require"),[ee.expression]),ne="const"):(J=$(ee),ne="var"),P.replaceWith(S.variableDeclaration(ne,[S.variableDeclarator(Z,J)])),P.scope.registerDeclaration(P)},TSExportAssignment(P,W){_(P,W,"export = <value>;","export default <value>;"),P.replaceWith(T.statement.ast`module.exports = ${P.node.expression}`)},TSTypeAssertion(P){P.replaceWith(P.node.expression)},["TSAsExpression"+(S.tsSatisfiesExpression?"|TSSatisfiesExpression":"")](P){let{node:W}=P;do W=W.expression;while(S.isTSAsExpression(W)||S.isTSSatisfiesExpression!=null&&S.isTSSatisfiesExpression(W));P.replaceWith(W)},[E.types.tsInstantiationExpression?"TSNonNullExpression|TSInstantiationExpression":"TSNonNullExpression"](P){P.replaceWith(P.node.expression)},CallExpression(P){P.node.typeParameters=null},OptionalCallExpression(P){P.node.typeParameters=null},NewExpression(P){P.node.typeParameters=null},JSXOpeningElement(P){P.node.typeParameters=null},TaggedTemplateExpression(P){P.node.typeParameters=null}}};function $(P){return S.isTSQualifiedName(P)?S.memberExpression($(P.left),P.right):P}function U({node:P}){P.typeAnnotation&&(P.typeAnnotation=null),S.isIdentifier(P)&&P.optional&&(P.optional=null)}function F({binding:P,programPath:W,pragmaImportName:Z,pragmaFragImportName:ee}){for(let ne of P.referencePaths)if(!h(ne))return!1;if(P.identifier.name!==Z&&P.identifier.name!==ee)return!0;let J=!1;return W.traverse({"JSXElement|JSXFragment"(ne){J=!0,ne.stop()}}),!J}})},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/namespace.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(h,m){if(h.node.declare||h.node.id.type==="StringLiteral")return void h.remove();if(!m)throw h.get("id").buildCodeFrameError("Namespace not marked type-only declare. Non-declarative namespaces are only supported experimentally in Babel. To enable and review caveats see: https://babeljs.io/docs/en/babel-plugin-transform-typescript");let g=h.node.id.name,y=d(h,s.types.cloneNode(h.node,!0));if(y===null){let _=h.findParent(E=>E.isProgram());(0,u.registerGlobalType)(_.scope,g),h.remove()}else h.scope.hasOwnBinding(g)?h.replaceWith(y):h.scope.registerDeclaration(h.replaceWithMultiple([H(g),y])[0])};var s=c("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),u=c("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/global-types.js");function H(h){return s.types.variableDeclaration("let",[s.types.variableDeclarator(s.types.identifier(h))])}function a(h,m){return s.types.memberExpression(s.types.identifier(h),s.types.identifier(m))}function l(h,m,g){if(h.kind!=="const")throw g.file.buildCodeFrameError(h,"Namespaces exporting non-const are not supported by Babel. Change to const or see: https://babeljs.io/docs/en/babel-plugin-transform-typescript");let{declarations:y}=h;if(y.every(A=>s.types.isIdentifier(A.id))){for(let A of y)A.init=s.types.assignmentExpression("=",a(m,A.id.name),A.init);return[h]}let _=s.types.getBindingIdentifiers(h),E=[];for(let A in _)E.push(s.types.assignmentExpression("=",a(m,A),s.types.cloneNode(_[A])));return[h,s.types.expressionStatement(s.types.sequenceExpression(E))]}function p(h,m){return h.hub.buildError(m,"Ambient modules cannot be nested in other modules or namespaces.",Error)}function d(h,m,g){let y=new Set,_=m.id;s.types.assertIdentifier(_);let E=h.scope.generateUid(_.name),A=s.types.isTSModuleBlock(m.body)?m.body.body:[s.types.exportNamedDeclaration(m.body)],S=!0;for(let I=0;I<A.length;I++){let L=A[I];switch(L.type){case"TSModuleDeclaration":{if(!s.types.isIdentifier(L.id))throw p(h,L);let x=d(h,L);if(x!==null){S=!1;let C=L.id.name;y.has(C)?A[I]=x:(y.add(C),A.splice(I++,1,H(C),x))}continue}case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":S=!1,y.add(L.id.name);continue;case"VariableDeclaration":S=!1;for(let x in s.types.getBindingIdentifiers(L))y.add(x);continue;default:S&&(S=s.types.isTypeScript(L));continue;case"ExportNamedDeclaration":}if(!("declare"in L.declaration)||!L.declaration.declare)switch(L.declaration.type){case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":{S=!1;let x=L.declaration.id.name;y.add(x),A.splice(I++,1,L.declaration,s.types.expressionStatement(s.types.assignmentExpression("=",a(E,x),s.types.identifier(x))));break}case"VariableDeclaration":{S=!1;let x=l(L.declaration,E,h.hub);A.splice(I,x.length,...x),I+=x.length-1;break}case"TSModuleDeclaration":{if(!s.types.isIdentifier(L.declaration.id))throw p(h,L.declaration);let x=d(h,L.declaration,s.types.identifier(E));if(x!==null){S=!1;let C=L.declaration.id.name;y.has(C)?A[I]=x:(y.add(C),A.splice(I++,1,H(C),x))}else A.splice(I,1),I--}}}if(S)return null;let T=s.types.objectExpression([]);if(g){let I=s.types.memberExpression(g,_);T=s.template.expression.ast`
|
|
${s.types.cloneNode(I)} ||
|
|
(${s.types.cloneNode(I)} = ${T})
|
|
`}return s.template.statement.ast`
|
|
(function (${s.types.identifier(E)}) {
|
|
${A}
|
|
})(${_} || (${s.types.cloneNode(_)} = ${T}));
|
|
`}},"./node_modules/.pnpm/@babel+preset-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/preset-typescript/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),u=c("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/index.js");c("./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-jsx/lib/index.js");var H=c("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js"),a=c("./node_modules/.pnpm/@babel+helper-validator-option@7.24.7/node_modules/@babel/helper-validator-option/lib/index.js");function l(y){return y&&y.__esModule?y:{default:y}}var p=l(u),d=l(H);let h=new a.OptionValidator("@babel/preset-typescript");var m=s.declare(function({types:y}){return{name:"preset-typescript/plugin-rewrite-ts-imports",visitor:{"ImportDeclaration|ExportAllDeclaration|ExportNamedDeclaration"({node:_}){let{source:E}=_;(y.isImportDeclaration(_)?_.importKind:_.exportKind)==="value"&&E&&/[\\/]/.test(E.value)&&(E.value=E.value.replace(/(\.[mc]?)ts$/,"$1js").replace(/\.tsx$/,".js"))}}}}),g=s.declarePreset((y,_)=>{y.assertVersion(7);let{allExtensions:E,ignoreExtensions:A,allowNamespaces:S,disallowAmbiguousJSXLike:T,isTSX:I,jsxPragma:L,jsxPragmaFrag:x,onlyRemoveTypeImports:C,optimizeConstEnums:D,rewriteImportExtensions:O}=function($={}){let{allowNamespaces:U=!0,jsxPragma:F,onlyRemoveTypeImports:P}=$,W="ignoreExtensions",Z="disallowAmbiguousJSXLike",ee="jsxPragmaFrag",J="optimizeConstEnums",ne="rewriteImportExtensions",K="allExtensions",q="isTSX",Q=h.validateStringOption(ee,$.jsxPragmaFrag,"React.Fragment");var z=h.validateBooleanOption(K,$.allExtensions,!1),ie=h.validateBooleanOption(q,$.isTSX,!1);ie&&h.invariant(z,"isTSX:true requires allExtensions:true");let _e=h.validateBooleanOption(W,$.ignoreExtensions,!1),He=h.validateBooleanOption(Z,$.disallowAmbiguousJSXLike,!1);He&&h.invariant(z,"disallowAmbiguousJSXLike:true requires allExtensions:true");let be={ignoreExtensions:_e,allowNamespaces:U,disallowAmbiguousJSXLike:He,jsxPragma:F,jsxPragmaFrag:Q,onlyRemoveTypeImports:P,optimizeConstEnums:h.validateBooleanOption(J,$.optimizeConstEnums,!1),rewriteImportExtensions:h.validateBooleanOption(ne,$.rewriteImportExtensions,!1)};return be.allExtensions=z,be.isTSX=ie,be}(_),j=$=>({allowDeclareFields:_.allowDeclareFields,allowNamespaces:S,disallowAmbiguousJSXLike:$,jsxPragma:L,jsxPragmaFrag:x,onlyRemoveTypeImports:C,optimizeConstEnums:D}),k=($,U)=>[[p.default,Object.assign({isTSX:$},j(U))]];return{plugins:O?[m]:[],overrides:E||A?[{plugins:k(I,T)}]:[{test:/\.ts$/,plugins:k(!1,!1)},{test:/\.mts$/,sourceType:"module",plugins:k(!1,!0)},{test:/\.cts$/,sourceType:"unambiguous",plugins:[[d.default,{allowTopLevelThis:!0}],[p.default,j(!0)]]},{test:/\.tsx$/,plugins:k(!0,!1)}]}});r.default=g},"./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/builder.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function p(d,h){let m=new WeakMap,g=new WeakMap,y=h||(0,s.validate)(null);return Object.assign((_,...E)=>{if(typeof _=="string"){if(E.length>1)throw new Error("Unexpected extra params.");return l((0,u.default)(d,_,(0,s.merge)(y,(0,s.validate)(E[0]))))}if(Array.isArray(_)){let A=m.get(_);return A||(A=(0,H.default)(d,_,y),m.set(_,A)),l(A(E))}if(typeof _=="object"&&_){if(E.length>0)throw new Error("Unexpected extra params.");return p(d,(0,s.merge)(y,(0,s.validate)(_)))}throw new Error("Unexpected template param "+typeof _)},{ast:(_,...E)=>{if(typeof _=="string"){if(E.length>1)throw new Error("Unexpected extra params.");return(0,u.default)(d,_,(0,s.merge)((0,s.merge)(y,(0,s.validate)(E[0])),a))()}if(Array.isArray(_)){let A=g.get(_);return A||(A=(0,H.default)(d,_,(0,s.merge)(y,a)),g.set(_,A)),A(E)()}throw new Error("Unexpected template param "+typeof _)}})};var s=c("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/options.js"),u=c("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/string.js"),H=c("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/literal.js");let a=(0,s.validate)({placeholderPattern:!1});function l(p){let d="";try{throw new Error}catch(h){h.stack&&(d=h.stack.split(`
|
|
`).slice(3).join(`
|
|
`))}return h=>{try{return p(h)}catch(m){throw m.stack+=`
|
|
=============
|
|
${d}`,m}}}},"./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/formatters.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.statements=r.statement=r.smart=r.program=r.expression=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{assertExpressionStatement:u}=s;function H(l){return{code:p=>`/* @babel/template */;
|
|
${p}`,validate:()=>{},unwrap:p=>l(p.program.body.slice(1))}}r.smart=H(l=>l.length>1?l:l[0]),r.statements=H(l=>l),r.statement=H(l=>{if(l.length===0)throw new Error("Found nothing to return.");if(l.length>1)throw new Error("Found multiple statements but wanted one");return l[0]});let a=r.expression={code:l=>`(
|
|
${l}
|
|
)`,validate:l=>{if(l.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(a.unwrap(l).start===0)throw new Error("Parse result included parens.")},unwrap:({program:l})=>{let[p]=l.body;return u(p),p.expression}};r.program={code:l=>l,validate:()=>{},unwrap:l=>l.program}},"./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.statements=r.statement=r.smart=r.program=r.expression=r.default=void 0;var s=c("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/formatters.js"),u=c("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/builder.js");let H=r.smart=(0,u.default)(s.smart),a=r.statement=(0,u.default)(s.statement),l=r.statements=(0,u.default)(s.statements),p=r.expression=(0,u.default)(s.expression),d=r.program=(0,u.default)(s.program);r.default=Object.assign(H.bind(void 0),{smart:H,statement:a,statements:l,expression:p,program:d,ast:H.ast})},"./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/literal.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(a,l,p){let{metadata:d,names:h}=function(m,g,y){let _="BABEL_TPL$",E=g.join("");do _="$$"+_;while(E.includes(_));let{names:A,code:S}=function(I,L){let x=[],C=I[0];for(let D=1;D<I.length;D++){let O=`${L}${D-1}`;x.push(O),C+=O+I[D]}return{names:x,code:C}}(g,_);return{metadata:(0,u.default)(m,m.code(S),{parser:y.parser,placeholderWhitelist:new Set(A.concat(y.placeholderWhitelist?Array.from(y.placeholderWhitelist):[])),placeholderPattern:y.placeholderPattern,preserveComments:y.preserveComments,syntacticPlaceholders:y.syntacticPlaceholders}),names:A}}(a,l,p);return m=>{let g={};return m.forEach((y,_)=>{g[h[_]]=y}),y=>{let _=(0,s.normalizeReplacements)(y);return _&&Object.keys(_).forEach(E=>{if(hasOwnProperty.call(g,E))throw new Error("Unexpected replacement overlap.")}),a.unwrap((0,H.default)(d,_?Object.assign(_,g):g))}}};var s=c("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/options.js"),u=c("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/parse.js"),H=c("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/populate.js")},"./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/options.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.merge=function(s,u){let{placeholderWhitelist:H=s.placeholderWhitelist,placeholderPattern:a=s.placeholderPattern,preserveComments:l=s.preserveComments,syntacticPlaceholders:p=s.syntacticPlaceholders}=u;return{parser:Object.assign({},s.parser,u.parser),placeholderWhitelist:H,placeholderPattern:a,preserveComments:l,syntacticPlaceholders:p}},r.normalizeReplacements=function(s){if(Array.isArray(s))return s.reduce((u,H,a)=>(u["$"+a]=H,u),{});if(typeof s=="object"||s==null)return s||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")},r.validate=function(s){if(s!=null&&typeof s!="object")throw new Error("Unknown template options.");let u=s||{},{placeholderWhitelist:H,placeholderPattern:a,preserveComments:l,syntacticPlaceholders:p}=u,d=function(h,m){if(h==null)return{};var g,y,_={},E=Object.keys(h);for(y=0;y<E.length;y++)g=E[y],m.indexOf(g)>=0||(_[g]=h[g]);return _}(u,c);if(H!=null&&!(H instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(a!=null&&!(a instanceof RegExp)&&a!==!1)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(l!=null&&typeof l!="boolean")throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(p!=null&&typeof p!="boolean")throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(p===!0&&(H!=null||a!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:d,placeholderWhitelist:H||void 0,placeholderPattern:a??void 0,preserveComments:l??void 0,syntacticPlaceholders:p??void 0}};let c=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]},"./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/parse.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(I,L,x){let{placeholderWhitelist:C,placeholderPattern:D,preserveComments:O,syntacticPlaceholders:j}=x,k=function(U,F,P){let W=(F.plugins||[]).slice();P!==!1&&W.push("placeholders"),F=Object.assign({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,sourceType:"module"},F,{plugins:W});try{return(0,u.parse)(U,F)}catch(Z){let ee=Z.loc;throw ee&&(Z.message+=`
|
|
`+(0,H.codeFrameColumns)(U,{start:ee}),Z.code="BABEL_TEMPLATE_PARSE_ERROR"),Z}}(L,x.parser,j);E(k,{preserveComments:O}),I.validate(k);let $={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:C,placeholderPattern:D,syntacticPlaceholders:j};return A(k,T,$),Object.assign({ast:k},$.syntactic.placeholders.length?$.syntactic:$.legacy)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/@babel+parser@7.24.7/node_modules/@babel/parser/lib/index.js"),H=c("./stubs/babel-codeframe.js");let{isCallExpression:a,isExpressionStatement:l,isFunction:p,isIdentifier:d,isJSXIdentifier:h,isNewExpression:m,isPlaceholder:g,isStatement:y,isStringLiteral:_,removePropertiesDeep:E,traverse:A}=s,S=/^[_$A-Z0-9]+$/;function T(I,L,x){var C;let D,O=x.syntactic.placeholders.length>0;if(g(I)){if(x.syntacticPlaceholders===!1)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");D=I.name.name,O=!0}else{if(O||x.syntacticPlaceholders)return;if(d(I)||h(I))D=I.name;else{if(!_(I))return;D=I.value}}if(O&&(x.placeholderPattern!=null||x.placeholderWhitelist!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!(O||x.placeholderPattern!==!1&&(x.placeholderPattern||S).test(D)||(C=x.placeholderWhitelist)!=null&&C.has(D)))return;L=L.slice();let{node:j,key:k}=L[L.length-1],$;_(I)||g(I,{expectedNode:"StringLiteral"})?$="string":m(j)&&k==="arguments"||a(j)&&k==="arguments"||p(j)&&k==="params"?$="param":l(j)&&!g(I)?($="statement",L=L.slice(0,-1)):$=y(I)&&g(I)?"statement":"other";let{placeholders:U,placeholderNames:F}=O?x.syntactic:x.legacy;U.push({name:D,type:$,resolve:P=>function(W,Z){let ee=W;for(let K=0;K<Z.length-1;K++){let{key:q,index:Q}=Z[K];ee=Q===void 0?ee[q]:ee[q][Q]}let{key:J,index:ne}=Z[Z.length-1];return{parent:ee,key:J,index:ne}}(P,L),isDuplicate:F.has(D)}),F.add(D)}},"./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/populate.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(y,_){let E=H(y.ast);return _&&(y.placeholders.forEach(A=>{if(!hasOwnProperty.call(_,A.name)){let S=A.name;throw new Error(`Error: No substitution given for "${S}". If this is not meant to be a
|
|
placeholder you may want to consider passing one of the following options to @babel/template:
|
|
- { placeholderPattern: false, placeholderWhitelist: new Set(['${S}'])}
|
|
- { placeholderPattern: /^${S}$/ }`)}}),Object.keys(_).forEach(A=>{if(!y.placeholderNames.has(A))throw new Error(`Unknown substitution "${A}" given`)})),y.placeholders.slice().reverse().forEach(A=>{try{(function(S,T,I){S.isDuplicate&&(Array.isArray(I)?I=I.map(D=>H(D)):typeof I=="object"&&(I=H(I)));let{parent:L,key:x,index:C}=S.resolve(T);if(S.type==="string"){if(typeof I=="string"&&(I=m(I)),!I||!h(I))throw new Error("Expected string substitution")}else if(S.type==="statement")C===void 0?I?Array.isArray(I)?I=u(I):typeof I=="string"?I=l(p(I)):d(I)||(I=l(I)):I=a():I&&!Array.isArray(I)&&(typeof I=="string"&&(I=p(I)),d(I)||(I=l(I)));else if(S.type==="param"){if(typeof I=="string"&&(I=p(I)),C===void 0)throw new Error("Assertion failure.")}else if(typeof I=="string"&&(I=p(I)),Array.isArray(I))throw new Error("Cannot replace single expression with an array.");if(C===void 0)g(L,x,I),L[x]=I;else{let D=L[x].slice();S.type==="statement"||S.type==="param"?I==null?D.splice(C,1):Array.isArray(I)?D.splice(C,1,...I):D[C]=I:D[C]=I,g(L,x,D),L[x]=D}})(A,E,_&&_[A.name]||null)}catch(S){throw S.message=`@babel/template placeholder "${A.name}": ${S.message}`,S}}),E};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{blockStatement:u,cloneNode:H,emptyStatement:a,expressionStatement:l,identifier:p,isStatement:d,isStringLiteral:h,stringLiteral:m,validate:g}=s},"./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/string.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(a,l,p){let d;return l=a.code(l),h=>{let m=(0,s.normalizeReplacements)(h);return d||(d=(0,u.default)(a,l,p)),a.unwrap((0,H.default)(d,m))}};var s=c("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/options.js"),u=c("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/parse.js"),H=c("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/populate.js")},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/cache.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.clear=function(){u(),H()},r.clearPath=u,r.clearScope=H,r.getCachedPaths=function(l,p){var d;return(d=c.get(a))==null?void 0:d.get(p)},r.getOrCreateCachedPaths=function(l,p){let d=c.get(a);d||c.set(a,d=new WeakMap);let h=d.get(p);return h||d.set(p,h=new Map),h},r.scope=r.path=void 0;let c=r.path=new WeakMap,s=r.scope=new WeakMap;function u(){r.path=c=new WeakMap}function H(){r.scope=s=new WeakMap}let a=Object.freeze({})},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/context.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{VISITOR_KEYS:H}=u;r.default=class{constructor(a,l,p,d){this.queue=null,this.priorityQueue=null,this.parentPath=d,this.scope=a,this.state=p,this.opts=l}shouldVisit(a){let l=this.opts;if(l.enter||l.exit||l[a.type])return!0;let p=H[a.type];if(p==null||!p.length)return!1;for(let d of p)if(a[d])return!0;return!1}create(a,l,p,d){return s.default.get({parentPath:this.parentPath,parent:a,container:l,key:p,listKey:d})}maybeQueue(a,l){this.queue&&(l?this.queue.push(a):this.priorityQueue.push(a))}visitMultiple(a,l,p){if(a.length===0)return!1;let d=[];for(let h=0;h<a.length;h++){let m=a[h];m&&this.shouldVisit(m)&&d.push(this.create(l,a,h,p))}return this.visitQueue(d)}visitSingle(a,l){return!!this.shouldVisit(a[l])&&this.visitQueue([this.create(a,a,l)])}visitQueue(a){this.queue=a,this.priorityQueue=[];let l=new WeakSet,p=!1,d=0;for(;d<a.length;){let h=a[d];if(d++,h.resync(),h.contexts.length!==0&&h.contexts[h.contexts.length-1]===this||h.pushContext(this),h.key===null)continue;let{node:m}=h;if(!l.has(m)){if(m&&l.add(m),h.visit()){p=!0;break}if(this.priorityQueue.length&&(p=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=a,p))break}}for(let h=0;h<d;h++)a[h].popContext();return this.queue=null,p}visit(a,l){let p=a[l];return!!p&&(Array.isArray(p)?this.visitMultiple(p,a,l):this.visitSingle(a,l))}}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/hub.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(c,s,u=TypeError){return new u(s)}}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Hub",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(r,"NodePath",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"Scope",{enumerable:!0,get:function(){return p.default}}),r.visitors=r.default=void 0;var s=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/visitors.js");r.visitors=s;var u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),H=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/cache.js"),a=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/traverse-node.js"),l=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/index.js"),p=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/scope/index.js"),d=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/hub.js");let{VISITOR_KEYS:h,removeProperties:m,traverseFast:g}=u;function y(E,A={},S,T,I,L){if(E){if(!A.noScope&&!S&&E.type!=="Program"&&E.type!=="File")throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${E.type} node without passing scope and parentPath.`);if(!I&&L)throw new Error("visitSelf can only be used when providing a NodePath.");h[E.type]&&(s.explode(A),(0,a.traverseNode)(E,A,S,T,I,null,L))}}r.default=y;function _(E,A){E.node.type===A.type&&(A.has=!0,E.stop())}y.visitors=s,y.verify=s.verify,y.explode=s.explode,y.cheap=function(E,A){g(E,A)},y.node=function(E,A,S,T,I,L){(0,a.traverseNode)(E,A,S,T,I,L)},y.clearNode=function(E,A){m(E,A)},y.removeProperties=function(E,A){return g(E,y.clearNode,A),E},y.hasType=function(E,A,S){if(S!=null&&S.includes(E.type))return!1;if(E.type===A)return!0;let T={has:!1,type:A};return y(E,{noScope:!0,denylist:S,enter:_},null,T),T.has},y.cache=H},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/ancestry.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.find=function(H){let a=this;do if(H(a))return a;while(a=a.parentPath);return null},r.findParent=function(H){let a=this;for(;a=a.parentPath;)if(H(a))return a;return null},r.getAncestry=function(){let H=this,a=[];do a.push(H);while(H=H.parentPath);return a},r.getDeepestCommonAncestorFrom=function(H,a){if(!H.length)return this;if(H.length===1)return H[0];let l,p,d=1/0,h=H.map(g=>{let y=[];do y.unshift(g);while((g=g.parentPath)&&g!==this);return y.length<d&&(d=y.length),y}),m=h[0];e:for(let g=0;g<d;g++){let y=m[g];for(let _ of h)if(_[g]!==y)break e;l=g,p=y}if(p)return a?a(p,l,h):p;throw new Error("Couldn't find intersection")},r.getEarliestCommonAncestorFrom=function(H){return this.getDeepestCommonAncestorFrom(H,function(a,l,p){let d,h=u[a.type];for(let m of p){let g=m[l+1];if(!d){d=g;continue}if(g.listKey&&d.listKey===g.listKey&&g.key<d.key){d=g;continue}h.indexOf(d.parentKey)>h.indexOf(g.parentKey)&&(d=g)}return d})},r.getFunctionParent=function(){return this.findParent(H=>H.isFunction())},r.getStatementParent=function(){let H=this;do{if(!H.parentPath||Array.isArray(H.container)&&H.isStatement())break;H=H.parentPath}while(H);if(H&&(H.isProgram()||H.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return H},r.inType=function(...H){let a=this;for(;a;){for(let l of H)if(a.node.type===l)return!0;a=a.parentPath}return!1},r.isAncestor=function(H){return H.isDescendant(this)},r.isDescendant=function(H){return!!this.findParent(a=>a===H)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{VISITOR_KEYS:u}=s},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/comments.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.addComment=function(l,p,d){u(this.node,l,p,d)},r.addComments=function(l,p){H(this.node,l,p)},r.shareCommentsWithSiblings=function(){if(typeof this.key=="string")return;let l=this.node;if(!l)return;let p=l.trailingComments,d=l.leadingComments;if(!p&&!d)return;let h=this.getSibling(this.key-1),m=this.getSibling(this.key+1),g=!!h.node,y=!!m.node;g&&(d&&h.addComments("trailing",a(d,h.node.trailingComments)),p&&!y&&h.addComments("trailing",p)),y&&(p&&m.addComments("leading",a(p,m.node.leadingComments)),d&&!g&&m.addComments("leading",d))};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{addComment:u,addComments:H}=s;function a(l,p){if(p==null||!p.length)return l;let d=new Set(p);return l.filter(h=>!d.has(h))}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/context.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._call=function(a){if(!a)return!1;for(let l of a){if(!l)continue;let p=this.node;if(!p)return!0;let d=l.call(this.state,this,this.state);if(d&&typeof d=="object"&&typeof d.then=="function")throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(d)throw new Error(`Unexpected return value from visitor method ${l}`);if(this.node!==p||this._traverseFlags>0)return!0}return!1},r._getQueueContexts=function(){let a=this,l=this.contexts;for(;!l.length&&(a=a.parentPath,a);)l=a.contexts;return l},r._resyncKey=function(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(let a=0;a<this.container.length;a++)if(this.container[a]===this.node)return void this.setKey(a)}else for(let a of Object.keys(this.container))if(this.container[a]===this.node)return void this.setKey(a);this.key=null}},r._resyncList=function(){if(!this.parent||!this.inList)return;let a=this.parent[this.listKey];this.container!==a&&(this.container=a||null)},r._resyncParent=function(){this.parentPath&&(this.parent=this.parentPath.node)},r._resyncRemoved=function(){this.key!=null&&this.container&&this.container[this.key]===this.node||this._markRemoved()},r.call=function(a){let l=this.opts;if(this.debug(a),this.node&&this._call(l[a]))return!0;var p;return!!this.node&&this._call((p=l[this.node.type])==null?void 0:p[a])},r.isBlacklisted=r.isDenylisted=function(){var a;let l=(a=this.opts.denylist)!=null?a:this.opts.blacklist;return l&&l.indexOf(this.node.type)>-1},r.popContext=function(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)},r.pushContext=function(a){this.contexts.push(a),this.setContext(a)},r.requeue=function(a=this){if(a.removed)return;let l=this.contexts;for(let p of l)p.maybeQueue(a)},r.resync=function(){this.removed||(this._resyncParent(),this._resyncList(),this._resyncKey())},r.setContext=function(a){return this.skipKeys!=null&&(this.skipKeys={}),this._traverseFlags=0,a&&(this.context=a,this.state=a.state,this.opts=a.opts),this.setScope(),this},r.setKey=function(a){var l;this.key=a,this.node=this.container[this.key],this.type=(l=this.node)==null?void 0:l.type},r.setScope=function(){var a,l;if((a=this.opts)!=null&&a.noScope)return;let p,d=this.parentPath;for(((this.key==="key"||this.listKey==="decorators")&&d.isMethod()||this.key==="discriminant"&&d.isSwitchStatement())&&(d=d.parentPath);d&&!p;){var h;if((h=d.opts)!=null&&h.noScope)return;p=d.scope,d=d.parentPath}this.scope=this.getScope(p),(l=this.scope)==null||l.init()},r.setup=function(a,l,p,d){this.listKey=p,this.container=l,this.parentPath=a||this.parentPath,this.setKey(d)},r.skip=function(){this.shouldSkip=!0},r.skipKey=function(a){this.skipKeys==null&&(this.skipKeys={}),this.skipKeys[a]=!0},r.stop=function(){this._traverseFlags|=u.SHOULD_SKIP|u.SHOULD_STOP},r.visit=function(){var a,l;if(!this.node||this.isDenylisted()||(a=(l=this.opts).shouldSkip)!=null&&a.call(l,this))return!1;let p=this.context;return this.shouldSkip||this.call("enter")?(this.debug("Skip..."),this.shouldStop):(H(this,p),this.debug("Recursing into..."),this.shouldStop=(0,s.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),H(this,p),this.call("exit"),this.shouldStop)};var s=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/traverse-node.js"),u=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/index.js");function H(a,l){a.context!==l&&(a.context=l,a.state=l.state,a.opts=l.opts)}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/conversion.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.arrowFunctionToExpression=function({allowInsertArrow:Q=!0,allowInsertArrowWithRest:z=Q,noNewArrows:ie=!(_e=>(_e=arguments[0])==null?void 0:_e.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let{thisBinding:_e,fnPath:He}=ee(this,ie,Q,z);if(He.ensureBlock(),function(be,Ve){be.node.type=Ve}(He,"FunctionExpression"),!ie){let be=_e?null:He.scope.generateUidIdentifier("arrowCheckId");return be&&He.parentPath.scope.push({id:be,init:C([])}),He.get("body").unshiftContainer("body",y(m(this.hub.addHelper("newArrowCheck"),[F(),_(be?be.name:_e)]))),He.replaceWith(m(I((0,H.default)(this,!0)||He.node,_("bind")),[be?_(be.name):F()])),He.get("callee.object")}return He},r.ensureBlock=function(){let Q=this.get("body"),z=Q.node;if(Array.isArray(Q))throw new Error("Can't convert array path to a block statement");if(!z)throw new Error("Can't convert node without a body");if(Q.isBlockStatement())return z;let ie=[],_e,He,be="body";Q.isStatement()?(He="body",_e=0,ie.push(Q.node)):(be+=".body.0",this.isFunction()?(_e="argument",ie.push(O(Q.node))):(_e="expression",ie.push(y(Q.node)))),this.node.body=h(ie);let Ve=this.get(be);return Q.setup(Ve,He?Ve.node[He]:Ve.node,He,_e),this.node},r.toComputedKey=function(){let Q;if(this.isMemberExpression())Q=this.node.property;else{if(!this.isProperty()&&!this.isMethod())throw new ReferenceError("todo");Q=this.node.key}return this.node.computed||E(Q)&&(Q=$(Q.name)),Q},r.unwrapFunctionEnvironment=function(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");ee(this)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-environment-visitor@7.24.7/node_modules/@babel/helper-environment-visitor/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-function-name@7.24.7/node_modules/@babel/helper-function-name/lib/index.js"),a=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/visitors.js");let{arrowFunctionExpression:l,assignmentExpression:p,binaryExpression:d,blockStatement:h,callExpression:m,conditionalExpression:g,expressionStatement:y,identifier:_,isIdentifier:E,jsxIdentifier:A,logicalExpression:S,LOGICAL_OPERATORS:T,memberExpression:I,metaProperty:L,numericLiteral:x,objectExpression:C,restElement:D,returnStatement:O,sequenceExpression:j,spreadElement:k,stringLiteral:$,super:U,thisExpression:F,toExpression:P,unaryExpression:W}=s;r.arrowFunctionToShadowed=function(){this.isArrowFunctionExpression()&&this.arrowFunctionToExpression()};let Z=(0,a.merge)([{CallExpression(Q,{allSuperCalls:z}){Q.get("callee").isSuper()&&z.push(Q)}},u.default]);function ee(Q,z=!0,ie=!0,_e=!0){let He,be=Q.findParent(re=>re.isArrowFunctionExpression()?(He!=null||(He=re),!1):re.isFunction()||re.isProgram()||re.isClassProperty({static:!1})||re.isClassPrivateProperty({static:!1})),Ve=be.isClassMethod({kind:"constructor"});if(be.isClassProperty()||be.isClassPrivateProperty())if(He)be=He;else{if(!ie)throw Q.buildCodeFrameError("Unable to transform arrow inside class property");Q.replaceWith(m(l([],P(Q.node)),[])),be=Q.get("callee"),Q=be.get("body")}let{thisPaths:Fe,argumentsPaths:me,newTargetPaths:ce,superProps:ke,superCalls:je}=function(re){let fe=[],he=[],se=[],Ie=[],ye=[];return re.traverse(q,{thisPaths:fe,argumentsPaths:he,newTargetPaths:se,superProps:Ie,superCalls:ye}),{thisPaths:fe,argumentsPaths:he,newTargetPaths:se,superProps:Ie,superCalls:ye}}(Q);if(Ve&&je.length>0){if(!ie)throw je[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super()` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");if(!_e)throw je[0].buildCodeFrameError("When using '@babel/plugin-transform-parameters', it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");let re=[];be.traverse(Z,{allSuperCalls:re});let fe=function(he){return K(he,"supercall",()=>{let se=he.scope.generateUidIdentifier("args");return l([D(se)],m(U(),[k(_(se.name))]))})}(be);re.forEach(he=>{let se=_(fe);se.loc=he.node.callee.loc,he.get("callee").replaceWith(se)})}if(me.length>0){let re=K(be,"arguments",()=>{let fe=()=>_("arguments");return be.scope.path.isProgram()?g(d("===",W("typeof",fe()),$("undefined")),be.scope.buildUndefinedNode(),fe()):fe()});me.forEach(fe=>{let he=_(re);he.loc=fe.node.loc,fe.replaceWith(he)})}if(ce.length>0){let re=K(be,"newtarget",()=>L(_("new"),_("target")));ce.forEach(fe=>{let he=_(re);he.loc=fe.node.loc,fe.replaceWith(he)})}if(ke.length>0){if(!ie)throw ke[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super.prop` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");ke.reduce((re,fe)=>re.concat(function(he){if(he.parentPath.isAssignmentExpression()&&he.parentPath.node.operator!=="="){let Ie=he.parentPath,ye=Ie.node.operator.slice(0,-1),$e=Ie.node.right,nt=function(et){return T.includes(et)}(ye);if(he.node.computed){let et=he.scope.generateDeclaredUidIdentifier("tmp"),xe=he.node.object,pe=he.node.property;Ie.get("left").replaceWith(I(xe,p("=",et,pe),!0)),Ie.get("right").replaceWith(se(nt?"=":ye,I(xe,_(et.name),!0),$e))}else{let et=he.node.object,xe=he.node.property;Ie.get("left").replaceWith(I(et,xe)),Ie.get("right").replaceWith(se(nt?"=":ye,I(et,_(xe.name)),$e))}return nt?Ie.replaceWith(S(ye,Ie.node.left,Ie.node.right)):Ie.node.operator="=",[Ie.get("left"),Ie.get("right").get("left")]}if(he.parentPath.isUpdateExpression()){let Ie=he.parentPath,ye=he.scope.generateDeclaredUidIdentifier("tmp"),$e=he.node.computed?he.scope.generateDeclaredUidIdentifier("prop"):null,nt=[p("=",ye,I(he.node.object,$e?p("=",$e,he.node.property):he.node.property,he.node.computed)),p("=",I(he.node.object,$e?_($e.name):he.node.property,he.node.computed),d(he.parentPath.node.operator[0],_(ye.name),x(1)))];return he.parentPath.node.prefix||nt.push(_(ye.name)),Ie.replaceWith(j(nt)),[Ie.get("expressions.0.right"),Ie.get("expressions.1.left")]}return[he];function se(Ie,ye,$e){return Ie==="="?p("=",ye,$e):d(Ie,ye,$e)}}(fe)),[]).forEach(re=>{let fe=re.node.computed?"":re.get("property").node.name,he=re.parentPath,se=he.isAssignmentExpression({left:re.node}),Ie=he.isCallExpression({callee:re.node}),ye=he.isTaggedTemplateExpression({tag:re.node}),$e=function(xe,pe,ue){return K(xe,`superprop_${pe?"set":"get"}:${ue||""}`,()=>{let Ae=[],de;if(ue)de=I(U(),_(ue));else{let We=xe.scope.generateUidIdentifier("prop");Ae.unshift(We),de=I(U(),_(We.name),!0)}if(pe){let We=xe.scope.generateUidIdentifier("value");Ae.push(We),de=p("=",de,_(We.name))}return l(Ae,de)})}(be,se,fe),nt=[];if(re.node.computed&&nt.push(re.get("property").node),se){let xe=he.node.right;nt.push(xe)}let et=m(_($e),nt);Ie?(he.unshiftContainer("arguments",F()),re.replaceWith(I(et,_("call"))),Fe.push(he.get("arguments.0"))):se?he.replaceWith(et):ye?(re.replaceWith(m(I(et,_("bind"),!1),[F()])),Fe.push(re.get("arguments.0"))):re.replaceWith(et)})}let Oe;return(Fe.length>0||!z)&&(Oe=function(re,fe){return K(re,"this",he=>{if(!fe||!J(re))return F();re.traverse(ne,{supers:new WeakSet,thisBinding:he})})}(be,Ve),(z||Ve&&J(be))&&(Fe.forEach(re=>{let fe=re.isJSX()?A(Oe):_(Oe);fe.loc=re.node.loc,re.replaceWith(fe)}),z||(Oe=null))),{thisBinding:Oe,fnPath:Q}}function J(Q){return Q.isClassMethod()&&!!Q.parentPath.parentPath.node.superClass}let ne=(0,a.merge)([{CallExpression(Q,{supers:z,thisBinding:ie}){Q.get("callee").isSuper()&&(z.has(Q.node)||(z.add(Q.node),Q.replaceWithMultiple([Q.node,p("=",_(ie),_("this"))])))}},u.default]);function K(Q,z,ie){let _e="binding:"+z,He=Q.getData(_e);if(!He){let be=Q.scope.generateUidIdentifier(z);He=be.name,Q.setData(_e,He),Q.scope.push({id:be,init:ie(He)})}return He}let q=(0,a.merge)([{ThisExpression(Q,{thisPaths:z}){z.push(Q)},JSXIdentifier(Q,{thisPaths:z}){Q.node.name==="this"&&(Q.parentPath.isJSXMemberExpression({object:Q.node})||Q.parentPath.isJSXOpeningElement({name:Q.node}))&&z.push(Q)},CallExpression(Q,{superCalls:z}){Q.get("callee").isSuper()&&z.push(Q)},MemberExpression(Q,{superProps:z}){Q.get("object").isSuper()&&z.push(Q)},Identifier(Q,{argumentsPaths:z}){if(!Q.isReferencedIdentifier({name:"arguments"}))return;let ie=Q.scope;do{if(ie.hasOwnBinding("arguments"))return void ie.rename("arguments");if(ie.path.isFunction()&&!ie.path.isArrowFunctionExpression())break}while(ie=ie.parent);z.push(Q)},MetaProperty(Q,{newTargetPaths:z}){Q.get("meta").isIdentifier({name:"new"})&&Q.get("property").isIdentifier({name:"target"})&&z.push(Q)}},u.default])},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/evaluation.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.evaluate=function(){let h={confident:!0,deoptPath:null,seen:new Map},m=p(this,h);return h.confident||(m=void 0),{confident:h.confident,deopt:h.deoptPath,value:m}},r.evaluateTruthy=function(){let h=this.evaluate();if(h.confident)return!!h.value};let c=["Number","String","Math"],s=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],u=["random"];function H(h){return c.includes(h)}function a(h,m){m.confident&&(m.deoptPath=h,m.confident=!1)}let l=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function p(h,m){let{node:g}=h,{seen:y}=m;if(y.has(g)){let _=y.get(g);return _.resolved?_.value:void a(h,m)}{let _={resolved:!1};y.set(g,_);let E=function(A,S){if(S.confident){if(A.isSequenceExpression()){let T=A.get("expressions");return p(T[T.length-1],S)}if(A.isStringLiteral()||A.isNumericLiteral()||A.isBooleanLiteral())return A.node.value;if(A.isNullLiteral())return null;if(A.isTemplateLiteral())return d(A,A.node.quasis,S);if(A.isTaggedTemplateExpression()&&A.get("tag").isMemberExpression()){let T=A.get("tag.object"),{node:{name:I}}=T,L=A.get("tag.property");if(T.isIdentifier()&&I==="String"&&!A.scope.getBinding(I)&&L.isIdentifier()&&L.node.name==="raw")return d(A,A.node.quasi.quasis,S,!0)}if(A.isConditionalExpression()){let T=p(A.get("test"),S);return S.confident?p(T?A.get("consequent"):A.get("alternate"),S):void 0}if(A.isExpressionWrapper())return p(A.get("expression"),S);if(A.isMemberExpression()&&!A.parentPath.isCallExpression({callee:A.node})){let T=A.get("property"),I=A.get("object");if(I.isLiteral()){let L=I.node.value,x=typeof L,C=null;if(A.node.computed){if(C=p(T,S),!S.confident)return}else T.isIdentifier()&&(C=T.node.name);if(!(x!=="number"&&x!=="string"||C==null||typeof C!="number"&&typeof C!="string"))return L[C]}}if(A.isReferencedIdentifier()){let T=A.scope.getBinding(A.node.name);if(T){if(T.constantViolations.length>0||A.node.start<T.path.node.end)return void a(T.path,S);if(T.hasValue)return T.value}let I=A.node.name;if(l.has(I))return T?void a(T.path,S):l.get(I);let L=A.resolve();return L===A?void a(A,S):p(L,S)}if(A.isUnaryExpression({prefix:!0})){if(A.node.operator==="void")return;let T=A.get("argument");if(A.node.operator==="typeof"&&(T.isFunction()||T.isClass()))return"function";let I=p(T,S);if(!S.confident)return;switch(A.node.operator){case"!":return!I;case"+":return+I;case"-":return-I;case"~":return~I;case"typeof":return typeof I}}if(A.isArrayExpression()){let T=[],I=A.get("elements");for(let L of I){let x=L.evaluate();if(!x.confident)return void a(x.deopt,S);T.push(x.value)}return T}if(A.isObjectExpression()){let T={},I=A.get("properties");for(let L of I){if(L.isObjectMethod()||L.isSpreadElement())return void a(L,S);let x=L.get("key"),C;if(L.node.computed){if(C=x.evaluate(),!C.confident)return void a(C.deopt,S);C=C.value}else C=x.isIdentifier()?x.node.name:x.node.value;let D=L.get("value").evaluate();if(!D.confident)return void a(D.deopt,S);D=D.value,T[C]=D}return T}if(A.isLogicalExpression()){let T=S.confident,I=p(A.get("left"),S),L=S.confident;S.confident=T;let x=p(A.get("right"),S),C=S.confident;switch(A.node.operator){case"||":return S.confident=L&&(!!I||C),S.confident?I||x:void 0;case"&&":return S.confident=L&&(!I||C),S.confident?I&&x:void 0;case"??":return S.confident=L&&(I!=null||C),S.confident?I??x:void 0}}if(A.isBinaryExpression()){let T=p(A.get("left"),S);if(!S.confident)return;let I=p(A.get("right"),S);if(!S.confident)return;switch(A.node.operator){case"-":return T-I;case"+":return T+I;case"/":return T/I;case"*":return T*I;case"%":return T%I;case"**":return Math.pow(T,I);case"<":return T<I;case">":return T>I;case"<=":return T<=I;case">=":return T>=I;case"==":return T==I;case"!=":return T!=I;case"===":return T===I;case"!==":return T!==I;case"|":return T|I;case"&":return T&I;case"^":return T^I;case"<<":return T<<I;case">>":return T>>I;case">>>":return T>>>I}}if(A.isCallExpression()){let T=A.get("callee"),I,L;if(T.isIdentifier()&&!A.scope.getBinding(T.node.name)&&(H(T.node.name)||function(x){return s.includes(x)}(T.node.name))&&(L=global[T.node.name]),T.isMemberExpression()){let x=T.get("object"),C=T.get("property");if(x.isIdentifier()&&C.isIdentifier()&&H(x.node.name)&&!function(D){return u.includes(D)}(C.node.name)){I=global[x.node.name];let D=C.node.name;hasOwnProperty.call(I,D)&&(L=I[D])}if(x.isLiteral()&&C.isIdentifier()){let D=typeof x.node.value;D!=="string"&&D!=="number"||(I=x.node.value,L=I[C.node.name])}}if(L){let x=A.get("arguments").map(C=>p(C,S));return S.confident?L.apply(I,x):void 0}}a(A,S)}}(h,m);return m.confident&&(_.resolved=!0,_.value=E),E}}function d(h,m,g,y=!1){let _="",E=0,A=h.isTemplateLiteral()?h.get("expressions"):h.get("quasi.expressions");for(let S of m){if(!g.confident)break;_+=y?S.value.raw:S.value.cooked;let T=A[E++];T&&(_+=String(p(T,g)))}if(g.confident)return _}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/family.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._getKey=function(A,S){let T=this.node,I=T[A];return Array.isArray(I)?I.map((L,x)=>s.default.get({listKey:A,parentPath:this,parent:T,container:I,key:x}).setContext(S)):s.default.get({parentPath:this,parent:T,container:T,key:A}).setContext(S)},r._getPattern=function(A,S){let T=this;for(let I of A)T=I==="."?T.parentPath:Array.isArray(T)?T[I]:T.get(I,S);return T},r.get=function(A,S=!0){S===!0&&(S=this.context);let T=A.split(".");return T.length===1?this._getKey(A,S):this._getPattern(T,S)},r.getAllNextSiblings=function(){let A=this.key,S=this.getSibling(++A),T=[];for(;S.node;)T.push(S),S=this.getSibling(++A);return T},r.getAllPrevSiblings=function(){let A=this.key,S=this.getSibling(--A),T=[];for(;S.node;)T.push(S),S=this.getSibling(--A);return T},r.getBindingIdentifierPaths=function(A=!1,S=!1){let T=[this],I=Object.create(null);for(;T.length;){let L=T.shift();if(!L||!L.node)continue;let x=H.keys[L.node.type];if(L.isIdentifier())A?(I[L.node.name]=I[L.node.name]||[]).push(L):I[L.node.name]=L;else if(L.isExportDeclaration()){let C=L.get("declaration");C.isDeclaration()&&T.push(C)}else{if(S){if(L.isFunctionDeclaration()){T.push(L.get("id"));continue}if(L.isFunctionExpression())continue}if(x)for(let C=0;C<x.length;C++){let D=x[C],O=L.get(D);Array.isArray(O)?T.push(...O):O.node&&T.push(O)}}}return I},r.getBindingIdentifiers=function(A){return H(this.node,A)},r.getCompletionRecords=function(){return E(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map(A=>A.path)},r.getNextSibling=function(){return this.getSibling(this.key+1)},r.getOpposite=function(){return this.key==="left"?this.getSibling("right"):this.key==="right"?this.getSibling("left"):null},r.getOuterBindingIdentifierPaths=function(A=!1){return this.getBindingIdentifierPaths(A,!0)},r.getOuterBindingIdentifiers=function(A){return a(this.node,A)},r.getPrevSibling=function(){return this.getSibling(this.key-1)},r.getSibling=function(A){return s.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:A}).setContext(this.context)};var s=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{getBindingIdentifiers:H,getOuterBindingIdentifiers:a,numericLiteral:l,unaryExpression:p}=u,d=0,h=1;function m(A,S,T){return A&&S.push(...E(A,T)),S}function g(A){A.forEach(S=>{S.type=h})}function y(A,S){A.forEach(T=>{T.path.isBreakStatement({label:null})&&(S?T.path.replaceWith(p("void",l(0))):T.path.remove())})}function _(A,S){let T=[];if(S.canHaveBreak){let I=[];for(let L=0;L<A.length;L++){let x=A[L],C=Object.assign({},S,{inCaseClause:!1});x.isBlockStatement()&&(S.inCaseClause||S.shouldPopulateBreak)?C.shouldPopulateBreak=!0:C.shouldPopulateBreak=!1;let D=E(x,C);if(D.length>0&&D.every(O=>O.type===h)){I.length>0&&D.every(O=>O.path.isBreakStatement({label:null}))?(g(I),T.push(...I),I.some(O=>O.path.isDeclaration())&&(T.push(...D),y(D,!0)),y(D,!1)):(T.push(...D),S.shouldPopulateBreak||y(D,!0));break}if(L===A.length-1)T.push(...D);else{I=[];for(let O=0;O<D.length;O++){let j=D[O];j.type===h&&T.push(j),j.type===d&&I.push(j)}}}}else if(A.length)for(let I=A.length-1;I>=0;I--){let L=E(A[I],S);if(L.length>1||L.length===1&&!L[0].path.isVariableDeclaration()){T.push(...L);break}}return T}function E(A,S){let T=[];if(A.isIfStatement())T=m(A.get("consequent"),T,S),T=m(A.get("alternate"),T,S);else{if(A.isDoExpression()||A.isFor()||A.isWhile()||A.isLabeledStatement())return m(A.get("body"),T,S);if(A.isProgram()||A.isBlockStatement())return _(A.get("body"),S);if(A.isFunction())return E(A.get("body"),S);if(A.isTryStatement())T=m(A.get("block"),T,S),T=m(A.get("handler"),T,S);else{if(A.isCatchClause())return m(A.get("body"),T,S);if(A.isSwitchStatement())return function(I,L,x){let C=[];for(let D=0;D<I.length;D++){let O=E(I[D],x),j=[],k=[];for(let $ of O)$.type===d&&j.push($),$.type===h&&k.push($);j.length&&(C=j),L.push(...k)}return L.push(...C),L}(A.get("cases"),T,S);if(A.isSwitchCase())return _(A.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});A.isBreakStatement()?T.push(function(I){return{type:h,path:I}}(A)):T.push(function(I){return{type:d,path:I}}(A))}}return T}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.SHOULD_STOP=r.SHOULD_SKIP=r.REMOVED=void 0;var s=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/virtual-types.js"),u=c("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/index.js"),H=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js"),a=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/scope/index.js"),l=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),p=l,d=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/cache.js"),h=c("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/index.js"),m=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/ancestry.js"),g=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/inference/index.js"),y=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/replacement.js"),_=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/evaluation.js"),E=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/conversion.js"),A=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/introspection.js"),S=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/context.js"),T=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/removal.js"),I=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/modification.js"),L=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/family.js"),x=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/comments.js"),C=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js");let{validate:D}=l,O=u("babel"),j=(r.REMOVED=1,r.SHOULD_STOP=2,r.SHOULD_SKIP=4,r.default=class Qpe{constructor(U,F){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this.parent=F,this.hub=U,this.data=null,this.context=null,this.scope=null}get removed(){return(1&this._traverseFlags)>0}set removed(U){U?this._traverseFlags|=1:this._traverseFlags&=-2}get shouldStop(){return(2&this._traverseFlags)>0}set shouldStop(U){U?this._traverseFlags|=2:this._traverseFlags&=-3}get shouldSkip(){return(4&this._traverseFlags)>0}set shouldSkip(U){U?this._traverseFlags|=4:this._traverseFlags&=-5}static get({hub:U,parentPath:F,parent:P,container:W,listKey:Z,key:ee}){if(!U&&F&&(U=F.hub),!P)throw new Error("To get a node path the parent needs to exist");let J=W[ee],ne=d.getOrCreateCachedPaths(U,P),K=ne.get(J);return K||(K=new Qpe(U,P),J&&ne.set(J,K)),K.setup(F,W,Z,ee),K}getScope(U){return this.isScope()?new a.default(this):U}setData(U,F){return this.data==null&&(this.data=Object.create(null)),this.data[U]=F}getData(U,F){this.data==null&&(this.data=Object.create(null));let P=this.data[U];return P===void 0&&F!==void 0&&(P=this.data[U]=F),P}hasNode(){return this.node!=null}buildCodeFrameError(U,F=SyntaxError){return this.hub.buildError(this.node,U,F)}traverse(U,F){(0,H.default)(this.node,U,this.scope,F,this)}set(U,F){D(this.node,U,F),this.node[U]=F}getPathLocation(){let U=[],F=this;do{let P=F.key;F.inList&&(P=`${F.listKey}[${P}]`),U.unshift(P)}while(F=F.parentPath);return U.join(".")}debug(U){O.enabled&&O(`${this.getPathLocation()} ${this.type}: ${U}`)}toString(){return(0,h.default)(this.node).code}get inList(){return!!this.listKey}set inList(U){U||(this.listKey=null)}get parentKey(){return this.listKey||this.key}}),k={findParent:m.findParent,find:m.find,getFunctionParent:m.getFunctionParent,getStatementParent:m.getStatementParent,getEarliestCommonAncestorFrom:m.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:m.getDeepestCommonAncestorFrom,getAncestry:m.getAncestry,isAncestor:m.isAncestor,isDescendant:m.isDescendant,inType:m.inType,getTypeAnnotation:g.getTypeAnnotation,_getTypeAnnotation:g._getTypeAnnotation,isBaseType:g.isBaseType,couldBeBaseType:g.couldBeBaseType,baseTypeStrictlyMatches:g.baseTypeStrictlyMatches,isGenericType:g.isGenericType,replaceWithMultiple:y.replaceWithMultiple,replaceWithSourceString:y.replaceWithSourceString,replaceWith:y.replaceWith,_replaceWith:y._replaceWith,replaceExpressionWithStatements:y.replaceExpressionWithStatements,replaceInline:y.replaceInline,evaluateTruthy:_.evaluateTruthy,evaluate:_.evaluate,toComputedKey:E.toComputedKey,ensureBlock:E.ensureBlock,unwrapFunctionEnvironment:E.unwrapFunctionEnvironment,arrowFunctionToExpression:E.arrowFunctionToExpression,matchesPattern:A.matchesPattern,has:A.has,isStatic:A.isStatic,is:A.is,isnt:A.isnt,equals:A.equals,isNodeType:A.isNodeType,canHaveVariableDeclarationOrExpression:A.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:A.canSwapBetweenExpressionAndStatement,isCompletionRecord:A.isCompletionRecord,isStatementOrBlock:A.isStatementOrBlock,referencesImport:A.referencesImport,getSource:A.getSource,willIMaybeExecuteBefore:A.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:A._guessExecutionStatusRelativeTo,resolve:A.resolve,_resolve:A._resolve,isConstantExpression:A.isConstantExpression,isInStrictMode:A.isInStrictMode,call:S.call,_call:S._call,isDenylisted:S.isDenylisted,isBlacklisted:S.isBlacklisted,visit:S.visit,skip:S.skip,skipKey:S.skipKey,stop:S.stop,setScope:S.setScope,setContext:S.setContext,resync:S.resync,_resyncParent:S._resyncParent,_resyncKey:S._resyncKey,_resyncList:S._resyncList,_resyncRemoved:S._resyncRemoved,popContext:S.popContext,pushContext:S.pushContext,setup:S.setup,setKey:S.setKey,requeue:S.requeue,_getQueueContexts:S._getQueueContexts,remove:T.remove,_removeFromScope:T._removeFromScope,_callRemovalHooks:T._callRemovalHooks,_remove:T._remove,_markRemoved:T._markRemoved,_assertUnremoved:T._assertUnremoved,insertBefore:I.insertBefore,_containerInsert:I._containerInsert,_containerInsertBefore:I._containerInsertBefore,_containerInsertAfter:I._containerInsertAfter,insertAfter:I.insertAfter,updateSiblingKeys:I.updateSiblingKeys,_verifyNodeList:I._verifyNodeList,unshiftContainer:I.unshiftContainer,pushContainer:I.pushContainer,hoist:I.hoist,getOpposite:L.getOpposite,getCompletionRecords:L.getCompletionRecords,getSibling:L.getSibling,getPrevSibling:L.getPrevSibling,getNextSibling:L.getNextSibling,getAllNextSiblings:L.getAllNextSiblings,getAllPrevSiblings:L.getAllPrevSiblings,get:L.get,_getKey:L._getKey,_getPattern:L._getPattern,getBindingIdentifiers:L.getBindingIdentifiers,getOuterBindingIdentifiers:L.getOuterBindingIdentifiers,getBindingIdentifierPaths:L.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:L.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:x.shareCommentsWithSiblings,addComment:x.addComment,addComments:x.addComments};Object.assign(j.prototype,k),j.prototype.arrowFunctionToShadowed=E.arrowFunctionToShadowed,j.prototype._guessExecutionStatusRelativeToDifferentFunctions=A._guessExecutionStatusRelativeTo;for(let $ of p.TYPES){let U=`is${$}`,F=p[U];j.prototype[U]=function(P){return F(this.node,P)},j.prototype[`assert${$}`]=function(P){if(!F(this.node,P))throw new TypeError(`Expected node path of type ${$}`)}}Object.assign(j.prototype,C);for(let $ of Object.keys(s))$[0]!=="_"&&(p.TYPES.includes($)||p.TYPES.push($))},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/inference/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._getTypeAnnotation=function(){let $=this.node;if(!$){if(this.key==="init"&&this.parentPath.isVariableDeclarator()){let F=this.parentPath.parentPath,P=F.parentPath;return F.key==="left"&&P.isForInStatement()?D():F.key==="left"&&P.isForOfStatement()?H():O()}return}if($.typeAnnotation)return $.typeAnnotation;if(!j.has($)){j.add($);try{var U;let F=s[$.type];if(F)return F.call(this,$);if(F=s[this.parentPath.type],(U=F)!=null&&U.validParent)return this.parentPath.getTypeAnnotation()}finally{j.delete($)}}},r.baseTypeStrictlyMatches=function($){let U=this.getTypeAnnotation(),F=$.getTypeAnnotation();return!a(U)&&h(U)?F.type===U.type:!1},r.couldBeBaseType=function($){let U=this.getTypeAnnotation();if(a(U))return!0;if(x(U)){for(let F of U.types)if(a(F)||k($,F,!0))return!0;return!1}return k($,U,!0)},r.getTypeAnnotation=function(){let $=this.getData("typeAnnotation");return $??($=this._getTypeAnnotation()||H(),(L($)||S($))&&($=$.typeAnnotation),this.setData("typeAnnotation",$),$)},r.isBaseType=function($,U){return k($,this.getTypeAnnotation(),U)},r.isGenericType=function($){let U=this.getTypeAnnotation();return $==="Array"&&(A(U)||l(U)||I(U))?!0:m(U)&&g(U.id,{name:$})||T(U)&&g(U.typeName,{name:$})};var s=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/inference/inferers.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{anyTypeAnnotation:H,isAnyTypeAnnotation:a,isArrayTypeAnnotation:l,isBooleanTypeAnnotation:p,isEmptyTypeAnnotation:d,isFlowBaseAnnotation:h,isGenericTypeAnnotation:m,isIdentifier:g,isMixedTypeAnnotation:y,isNumberTypeAnnotation:_,isStringTypeAnnotation:E,isTSArrayType:A,isTSTypeAnnotation:S,isTSTypeReference:T,isTupleTypeAnnotation:I,isTypeAnnotation:L,isUnionTypeAnnotation:x,isVoidTypeAnnotation:C,stringTypeAnnotation:D,voidTypeAnnotation:O}=u,j=new WeakSet;function k($,U,F){if($==="string")return E(U);if($==="number")return _(U);if($==="boolean")return p(U);if($==="any")return a(U);if($==="mixed")return y(U);if($==="empty")return d(U);if($==="void")return C(U);if(F)return!1;throw new Error(`Unknown base type ${$}`)}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(g){if(!this.isReferenced())return;let y=this.scope.getBinding(g.name);if(y)return y.identifier.typeAnnotation?y.identifier.typeAnnotation:function(_,E,A){let S=[],T=[],I=d(_,E,T),L=m(_,E,A);if(L){let x=d(_,L.ifStatement);I=I.filter(C=>x.indexOf(C)<0),S.push(L.typeAnnotation)}if(I.length){I.push(...T);for(let x of I)S.push(x.getTypeAnnotation())}if(S.length)return(0,u.createUnionType)(S)}(y,this,g.name);if(g.name==="undefined")return p();if(g.name==="NaN"||g.name==="Infinity")return l();g.name};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/inference/util.js");let{BOOLEAN_NUMBER_BINARY_OPERATORS:H,createTypeAnnotationBasedOnTypeof:a,numberTypeAnnotation:l,voidTypeAnnotation:p}=s;function d(g,y,_){let E=g.constantViolations.slice();return E.unshift(g.path),E.filter(A=>{let S=(A=A.resolve())._guessExecutionStatusRelativeTo(y);return _&&S==="unknown"&&_.push(A),S==="before"})}function h(g,y){let _=y.node.operator,E=y.get("right").resolve(),A=y.get("left").resolve(),S,T,I;if(A.isIdentifier({name:g})?S=E:E.isIdentifier({name:g})&&(S=A),S)return _==="==="?S.getTypeAnnotation():H.indexOf(_)>=0?l():void 0;if(_!=="==="&&_!=="=="||(A.isUnaryExpression({operator:"typeof"})?(T=A,I=E):E.isUnaryExpression({operator:"typeof"})&&(T=E,I=A),!T)||!T.get("argument").isIdentifier({name:g})||(I=I.resolve(),!I.isLiteral()))return;let L=I.node.value;return typeof L=="string"?a(L):void 0}function m(g,y,_){let E=function(T,I,L){let x;for(;x=I.parentPath;){if(x.isIfStatement()||x.isConditionalExpression())return I.key==="test"?void 0:x;if(x.isFunction()&&x.parentPath.scope.getBinding(L)!==T)return;I=x}}(g,y,_);if(!E)return;let A=[E.get("test")],S=[];for(let T=0;T<A.length;T++){let I=A[T];if(I.isLogicalExpression())I.node.operator==="&&"&&(A.push(I.get("left")),A.push(I.get("right")));else if(I.isBinaryExpression()){let L=h(_,I);L&&S.push(L)}}return S.length?{typeAnnotation:(0,u.createUnionType)(S),ifStatement:E}:m(g,E,_)}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/inference/inferers.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ArrayExpression=k,r.AssignmentExpression=function(){return this.get("right").getTypeAnnotation()},r.BinaryExpression=function(ee){let J=ee.operator;if(p.indexOf(J)>=0)return T();if(a.indexOf(J)>=0)return y();if(J==="+"){let ne=this.get("right"),K=this.get("left");return K.isBaseType("number")&&ne.isBaseType("number")?T():K.isBaseType("string")||ne.isBaseType("string")?I():x([I(),T()])}},r.BooleanLiteral=function(){return y()},r.CallExpression=function(){let{callee:ee}=this.node;return F(ee)?g(I()):U(ee)||P(ee)||D(ee,{name:"Array"})?g(m()):W(ee)?g(L([I(),m()])):Z(this.get("callee"))},r.ConditionalExpression=function(){let ee=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,H.createUnionType)(ee)},r.ClassDeclaration=r.ClassExpression=r.FunctionDeclaration=r.ArrowFunctionExpression=r.FunctionExpression=function(){return E(A("Function"))},Object.defineProperty(r,"Identifier",{enumerable:!0,get:function(){return u.default}}),r.LogicalExpression=function(){let ee=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,H.createUnionType)(ee)},r.NewExpression=function(ee){if(ee.callee.type==="Identifier")return E(ee.callee)},r.NullLiteral=function(){return S()},r.NumericLiteral=function(){return T()},r.ObjectExpression=function(){return E(A("Object"))},r.ParenthesizedExpression=function(){return this.get("expression").getTypeAnnotation()},r.RegExpLiteral=function(){return E(A("RegExp"))},r.RestElement=$,r.SequenceExpression=function(){return this.get("expressions").pop().getTypeAnnotation()},r.StringLiteral=function(){return I()},r.TSAsExpression=j,r.TSNonNullExpression=function(){return this.get("expression").getTypeAnnotation()},r.TaggedTemplateExpression=function(){return Z(this.get("tag"))},r.TemplateLiteral=function(){return I()},r.TypeCastExpression=O,r.UnaryExpression=function(ee){let J=ee.operator;if(J==="void")return C();if(d.indexOf(J)>=0)return T();if(h.indexOf(J)>=0)return I();if(l.indexOf(J)>=0)return y()},r.UpdateExpression=function(ee){let J=ee.operator;if(J==="++"||J==="--")return T()},r.VariableDeclarator=function(){if(this.get("id").isIdentifier())return this.get("init").getTypeAnnotation()};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js"),H=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/inference/util.js");let{BOOLEAN_BINARY_OPERATORS:a,BOOLEAN_UNARY_OPERATORS:l,NUMBER_BINARY_OPERATORS:p,NUMBER_UNARY_OPERATORS:d,STRING_UNARY_OPERATORS:h,anyTypeAnnotation:m,arrayTypeAnnotation:g,booleanTypeAnnotation:y,buildMatchMemberExpression:_,genericTypeAnnotation:E,identifier:A,nullLiteralTypeAnnotation:S,numberTypeAnnotation:T,stringTypeAnnotation:I,tupleTypeAnnotation:L,unionTypeAnnotation:x,voidTypeAnnotation:C,isIdentifier:D}=s;function O(ee){return ee.typeAnnotation}function j(ee){return ee.typeAnnotation}function k(){return E(A("Array"))}function $(){return k()}O.validParent=!0,j.validParent=!0,$.validParent=!0;let U=_("Array.from"),F=_("Object.keys"),P=_("Object.values"),W=_("Object.entries");function Z(ee){if((ee=ee.resolve()).isFunction()){let{node:J}=ee;if(J.async)return J.generator?E(A("AsyncIterator")):E(A("Promise"));if(J.generator)return E(A("Iterator"));if(ee.node.returnType)return ee.node.returnType}}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/inference/util.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createUnionType=function(d){if(d.every(h=>l(h)))return u?u(d):a(d);if(d.every(h=>p(h))&&H)return H(d)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{createFlowUnionType:u,createTSUnionType:H,createUnionTypeAnnotation:a,isFlowType:l,isTSType:p}=s},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/introspection.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._guessExecutionStatusRelativeTo=function(I){return T(this,I,new Map)},r._resolve=function(I,L){if(!(L&&L.indexOf(this)>=0))if((L=L||[]).push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(I,L)}else if(this.isReferencedIdentifier()){let x=this.scope.getBinding(this.node.name);if(!x||!x.constant||x.kind==="module")return;if(x.path!==this){let C=x.path.resolve(I,L);return this.find(D=>D.node===C.node)?void 0:C}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(I,L);if(I&&this.isMemberExpression()){let x=this.toComputedKey();if(!d(x))return;let C=x.value,D=this.get("object").resolve(I,L);if(D.isObjectExpression()){let O=D.get("properties");for(let j of O){if(!j.isProperty())continue;let k=j.get("key"),$=j.isnt("computed")&&k.isIdentifier({name:C});if($=$||k.isLiteral({value:C}),$)return j.get("value").resolve(I,L)}}else if(D.isArrayExpression()&&!isNaN(+C)){let O=D.get("elements")[C];if(O)return O.resolve(I,L)}}}},r.canHaveVariableDeclarationOrExpression=function(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()},r.canSwapBetweenExpressionAndStatement=function(I){return this.key!=="body"||!this.parentPath.isArrowFunctionExpression()?!1:this.isExpression()?a(I):this.isBlockStatement()?l(I):!1},r.equals=function(I,L){return this.node[I]===L},r.getSource=function(){let I=this.node;if(I.end){let L=this.hub.getCode();if(L)return L.slice(I.start,I.end)}return""},r.has=y,r.is=void 0,r.isCompletionRecord=function(I){let L=this,x=!0;do{let{type:C,container:D}=L;if(!x&&(L.isFunction()||C==="StaticBlock"))return!!I;if(x=!1,Array.isArray(D)&&L.key!==D.length-1)return!1}while((L=L.parentPath)&&!L.isProgram()&&!L.isDoExpression());return!0},r.isConstantExpression=function(){if(this.isIdentifier()){let I=this.scope.getBinding(this.node.name);return!!I&&I.constant}if(this.isLiteral())return!this.isRegExpLiteral()&&(!this.isTemplateLiteral()||this.get("expressions").every(I=>I.isConstantExpression()));if(this.isUnaryExpression())return this.node.operator==="void"&&this.get("argument").isConstantExpression();if(this.isBinaryExpression()){let{operator:I}=this.node;return I!=="in"&&I!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return this.isMemberExpression()?!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0}):this.isCallExpression()?this.node.arguments.length===1&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral():!1},r.isInStrictMode=function(){return!!(this.isProgram()?this:this.parentPath).find(L=>{if(L.isProgram({sourceType:"module"})||L.isClass())return!0;if(L.isArrowFunctionExpression()&&!L.get("body").isBlockStatement())return!1;let x;if(L.isFunction())x=L.node.body;else{if(!L.isProgram())return!1;x=L.node}for(let C of x.directives)if(C.value.value==="use strict")return!0})},r.isNodeType=function(I){return m(this.type,I)},r.isStatementOrBlock=function(){return!this.parentPath.isLabeledStatement()&&!a(this.container)&&u.includes(this.key)},r.isStatic=function(){return this.scope.isStatic(this.node)},r.isnt=function(I){return!this.has(I)},r.matchesPattern=function(I,L){return g(this.node,I,L)},r.referencesImport=function(I,L){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===L||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?h(this.node.property,{value:L}):this.node.property.name===L)){let O=this.get("object");return O.isReferencedIdentifier()&&O.referencesImport(I,"*")}return!1}let x=this.scope.getBinding(this.node.name);if(!x||x.kind!=="module")return!1;let C=x.path,D=C.parentPath;return!D.isImportDeclaration()||D.node.source.value!==I?!1:!!(!L||C.isImportDefaultSpecifier()&&L==="default"||C.isImportNamespaceSpecifier()&&L==="*"||C.isImportSpecifier()&&p(C.node.imported,{name:L}))},r.resolve=function(I,L){return this._resolve(I,L)||this},r.willIMaybeExecuteBefore=function(I){return this._guessExecutionStatusRelativeTo(I)!=="after"};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{STATEMENT_OR_BLOCK_KEYS:u,VISITOR_KEYS:H,isBlockStatement:a,isExpression:l,isIdentifier:p,isLiteral:d,isStringLiteral:h,isType:m,matchesPattern:g}=s;function y(I){var L;let x=(L=this.node)==null?void 0:L[I];return x&&Array.isArray(x)?!!x.length:!!x}r.is=y;function _(I){return I.isProgram()?I:(I.parentPath.scope.getFunctionParent()||I.parentPath.scope.getProgramParent()).path}function E(I,L){switch(I){case"LogicalExpression":case"AssignmentPattern":return L==="right";case"ConditionalExpression":case"IfStatement":return L==="consequent"||L==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return L==="body";case"ForStatement":return L==="body"||L==="update";case"SwitchStatement":return L==="cases";case"TryStatement":return L==="handler";case"OptionalMemberExpression":return L==="property";case"OptionalCallExpression":return L==="arguments";default:return!1}}function A(I,L){for(let x=0;x<L;x++){let C=I[x];if(E(C.parent.type,C.parentKey))return!0}return!1}let S=Symbol();function T(I,L,x){let C={this:_(I),target:_(L)};if(C.target.node!==C.this.node)return function(F,P,W){let Z,ee=W.get(F.node);if(ee){if(Z=ee.get(P.node))return Z===S?"unknown":Z}else W.set(F.node,ee=new Map);ee.set(P.node,S);let J=function(ne,K,q){if(!K.isFunctionDeclaration())return T(ne,K,q)==="before"?"before":"unknown";if(K.parentPath.isExportDeclaration())return"unknown";let Q=K.scope.getBinding(K.node.id.name);if(!Q.references)return"before";let z=Q.referencePaths,ie;for(let _e of z){if(_e.find(be=>be.node===K.node))continue;if(_e.key!=="callee"||!_e.parentPath.isCallExpression())return"unknown";let He=T(ne,_e,q);if(ie&&ie!==He)return"unknown";ie=He}return ie}(F,P,W);return ee.set(P.node,J),J}(I,C.target,x);let D={target:L.getAncestry(),this:I.getAncestry()};if(D.target.indexOf(I)>=0)return"after";if(D.this.indexOf(L)>=0)return"before";let O,j={target:0,this:0};for(;!O&&j.this<D.this.length;){let F=D.this[j.this];j.target=D.target.indexOf(F),j.target>=0?O=F:j.this++}if(!O)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(A(D.this,j.this-1)||A(D.target,j.target-1))return"unknown";let k={this:D.this[j.this-1],target:D.target[j.target-1]};if(k.target.listKey&&k.this.listKey&&k.target.container===k.this.container)return k.target.key>k.this.key?"before":"after";let $=H[O.type],U=$.indexOf(k.this.parentKey);return $.indexOf(k.target.parentKey)>U?"before":"after"}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/hoister.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),u=s;let{react:H}=s,{cloneNode:a,jsxExpressionContainer:l,variableDeclaration:p,variableDeclarator:d}=u,h={ReferencedIdentifier(m,g){if(m.isJSXIdentifier()&&H.isCompatTag(m.node.name)&&!m.parentPath.isJSXMemberExpression())return;if(m.node.name==="this"){let _=m.scope;do if(_.path.isFunction()&&!_.path.isArrowFunctionExpression())break;while(_=_.parent);_&&g.breakOnScopePaths.push(_.path)}let y=m.scope.getBinding(m.node.name);if(y){for(let _ of y.constantViolations)if(_.scope!==y.path.scope)return g.mutableBinding=!0,void m.stop();y===g.scope.getBinding(m.node.name)&&(g.bindings[m.node.name]=y)}}};r.default=class{constructor(m,g){this.breakOnScopePaths=void 0,this.bindings=void 0,this.mutableBinding=void 0,this.scopes=void 0,this.scope=void 0,this.path=void 0,this.attachAfter=void 0,this.breakOnScopePaths=[],this.bindings={},this.mutableBinding=!1,this.scopes=[],this.scope=g,this.path=m,this.attachAfter=!1}isCompatibleScope(m){for(let g of Object.keys(this.bindings)){let y=this.bindings[g];if(!m.bindingIdentifierEquals(g,y.identifier))return!1}return!0}getCompatibleScopes(){let m=this.path.scope;do if(!this.isCompatibleScope(m)||(this.scopes.push(m),this.breakOnScopePaths.indexOf(m.path)>=0))break;while(m=m.parent)}getAttachmentPath(){let m=this._getAttachmentPath();if(!m)return;let g=m.scope;if(g.path===m&&(g=m.scope.parent),g.path.isProgram()||g.path.isFunction())for(let y of Object.keys(this.bindings)){if(!g.hasOwnBinding(y))continue;let _=this.bindings[y];if(!(_.kind==="param"||_.path.parentKey==="params")&&this.getAttachmentParentForPath(_.path).key>=m.key){this.attachAfter=!0,m=_.path;for(let E of _.constantViolations)this.getAttachmentParentForPath(E).key>m.key&&(m=E)}}return m}_getAttachmentPath(){let m=this.scopes.pop();if(m){if(m.path.isFunction()){if(!this.hasOwnParamBindings(m))return this.getNextScopeAttachmentParent();{if(this.scope===m)return;let g=m.path.get("body").get("body");for(let y=0;y<g.length;y++)if(!g[y].node._blockHoist)return g[y]}}else if(m.path.isProgram())return this.getNextScopeAttachmentParent()}}getNextScopeAttachmentParent(){let m=this.scopes.pop();if(m)return this.getAttachmentParentForPath(m.path)}getAttachmentParentForPath(m){do if(!m.parentPath||Array.isArray(m.container)&&m.isStatement())return m;while(m=m.parentPath)}hasOwnParamBindings(m){for(let g of Object.keys(this.bindings)){if(!m.hasOwnBinding(g))continue;let y=this.bindings[g];if(y.kind==="param"&&y.constant)return!0}return!1}run(){if(this.path.traverse(h,this),this.mutableBinding)return;this.getCompatibleScopes();let m=this.getAttachmentPath();if(!m||m.getFunctionParent()===this.path.getFunctionParent())return;let g=m.scope.generateUidIdentifier("ref"),y=d(g,this.path.node),_=this.attachAfter?"insertAfter":"insertBefore",[E]=m[_]([m.isVariableDeclarator()?y:p("var",[y])]),A=this.path.parentPath;return A.isJSXElement()&&this.path.container===A.node.children&&(g=l(g)),this.path.replaceWith(a(g)),m.isVariableDeclarator()?E.get("init"):E.get("declarations.0.init")}}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.hooks=void 0,r.hooks=[function(c,s){if(c.key==="test"&&(s.isWhile()||s.isSwitchCase())||c.key==="declaration"&&s.isExportDeclaration()||c.key==="body"&&s.isLabeledStatement()||c.listKey==="declarations"&&s.isVariableDeclaration()&&s.node.declarations.length===1||c.key==="expression"&&s.isExpressionStatement())return s.remove(),!0},function(c,s){if(s.isSequenceExpression()&&s.node.expressions.length===1)return s.replaceWith(s.node.expressions[0]),!0},function(c,s){if(s.isBinary())return c.key==="left"?s.replaceWith(s.node.right):s.replaceWith(s.node.left),!0},function(c,s){if(s.isIfStatement()&&c.key==="consequent"||c.key==="body"&&(s.isLoop()||s.isArrowFunctionExpression()))return c.replaceWith({type:"BlockStatement",body:[]}),!0}]},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isBindingIdentifier=function(){let{node:k,parent:$}=this,U=this.parentPath.parent;return m(k)&&u(k,$,U)},r.isBlockScoped=function(){return H(this.node)},r.isExpression=function(){return this.isIdentifier()?this.isReferencedIdentifier():l(this.node)},r.isFlow=function(){let{node:k}=this;return!!p(k)||(g(k)?k.importKind==="type"||k.importKind==="typeof":a(k)?k.exportKind==="type":!!y(k)&&(k.importKind==="type"||k.importKind==="typeof"))},r.isForAwaitStatement=function(){return O(this.node,{await:!0})},r.isGenerated=function(){return!this.isUser()},r.isPure=function(k){return this.scope.isPure(this.node,k)},r.isReferenced=function(){return T(this.node,this.parent)},r.isReferencedIdentifier=function(k){let{node:$,parent:U}=this;return!m($,k)&&!E(U,k)&&(!_($,k)||j($.name))?!1:T($,U,this.parentPath.parent)},r.isReferencedMemberExpression=function(){let{node:k,parent:$}=this;return A(k)&&T(k,$)},r.isRestProperty=function(){var k;return S(this.node)&&((k=this.parentPath)==null?void 0:k.isObjectPattern())},r.isScope=function(){return I(this.node,this.parent)},r.isSpreadProperty=function(){var k;return S(this.node)&&((k=this.parentPath)==null?void 0:k.isObjectExpression())},r.isStatement=function(){let{node:k,parent:$}=this;return L(k)?!(C(k)&&(h($,{left:k})||d($,{init:k}))):!1},r.isUser=function(){return this.node&&!!this.node.loc},r.isVar=function(){return x(this.node)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{isBinding:u,isBlockScoped:H,isExportDeclaration:a,isExpression:l,isFlow:p,isForStatement:d,isForXStatement:h,isIdentifier:m,isImportDeclaration:g,isImportSpecifier:y,isJSXIdentifier:_,isJSXMemberExpression:E,isMemberExpression:A,isRestElement:S,isReferenced:T,isScope:I,isStatement:L,isVar:x,isVariableDeclaration:C,react:D,isForOfStatement:O}=s,{isCompatTag:j}=D;r.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},r.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/virtual-types.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Var=r.User=r.Statement=r.SpreadProperty=r.Scope=r.RestProperty=r.ReferencedMemberExpression=r.ReferencedIdentifier=r.Referenced=r.Pure=r.NumericLiteralTypeAnnotation=r.Generated=r.ForAwaitStatement=r.Flow=r.Expression=r.ExistentialTypeParam=r.BlockScoped=r.BindingIdentifier=void 0,r.ReferencedIdentifier=["Identifier","JSXIdentifier"],r.ReferencedMemberExpression=["MemberExpression"],r.BindingIdentifier=["Identifier"],r.Statement=["Statement"],r.Expression=["Expression"],r.Scope=["Scopable","Pattern"],r.Referenced=null,r.BlockScoped=null,r.Var=["VariableDeclaration"],r.User=null,r.Generated=null,r.Pure=null,r.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],r.RestProperty=["RestElement"],r.SpreadProperty=["RestElement"],r.ExistentialTypeParam=["ExistsTypeAnnotation"],r.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],r.ForAwaitStatement=["ForOfStatement"]},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/modification.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._containerInsert=function(O,j){this.updateSiblingKeys(O,j.length);let k=[];this.container.splice(O,0,...j);for(let F=0;F<j.length;F++){var $;let P=O+F,W=this.getSibling(P);k.push(W),($=this.context)!=null&&$.queue&&W.pushContext(this.context)}let U=this._getQueueContexts();for(let F of k){F.setScope(),F.debug("Inserted.");for(let P of U)P.maybeQueue(F,!0)}return k},r._containerInsertAfter=function(O){return this._containerInsert(this.key+1,O)},r._containerInsertBefore=function(O){return this._containerInsert(this.key,O)},r._verifyNodeList=function(O){if(!O)return[];Array.isArray(O)||(O=[O]);for(let j=0;j<O.length;j++){let k=O[j],$;if(k?typeof k!="object"?$="contains a non-object node":k.type?k instanceof H.default&&($="has a NodePath when it expected a raw object"):$="without a type":$="has falsy node",$){let U=Array.isArray(k)?"array":typeof k;throw new Error(`Node list ${$} with the index of ${j} and type of ${U}`)}}return O},r.hoist=function(O=this.scope){return new u.default(this,O).run()},r.insertAfter=function(O){if(this._assertUnremoved(),this.isSequenceExpression())return C(this.get("expressions")).insertAfter(O);let j=this._verifyNodeList(O),{parentPath:k,parent:$}=this;if(k.isExpressionStatement()||k.isLabeledStatement()||A($)||k.isExportDefaultDeclaration()&&this.isDeclaration())return k.insertAfter(j.map(U=>S(U)?y(U):U));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!k.isJSXElement()||k.isForStatement()&&this.key==="init"){let U=this;if(U.node){let F=U.node,{scope:P}=this;if(P.path.isPattern())return p(F),U.replaceWith(m(l([],F),[])),U.get("callee.body").insertAfter(j),[U];if(D(U))j.unshift(F);else if(E(F)&&L(F.callee))j.unshift(F),j.push(x());else if(function(W,Z){if(!_(W)||!T(W.left))return!1;let ee=Z.getBlockParent();return ee.hasOwnBinding(W.left.name)&&ee.getOwnBinding(W.left.name).constantViolations.length<=1}(F,P))j.unshift(F),j.push(g(F.left));else if(P.isPure(F,!0))j.push(F);else{k.isMethod({computed:!0,key:F})&&(P=P.parent);let W=P.generateDeclaredUidIdentifier();j.unshift(y(d("=",g(W),F))),j.push(y(g(W)))}}return this.replaceExpressionWithStatements(j)}if(Array.isArray(this.container))return this._containerInsertAfter(j);if(this.isStatementOrBlock()){let U=this.node,F=U&&(!this.isExpressionStatement()||U.expression!=null);return this.replaceWith(h(F?[U]:[])),this.pushContainer("body",j)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},r.insertBefore=function(O){this._assertUnremoved();let j=this._verifyNodeList(O),{parentPath:k,parent:$}=this;if(k.isExpressionStatement()||k.isLabeledStatement()||A($)||k.isExportDefaultDeclaration()&&this.isDeclaration())return k.insertBefore(j);if(this.isNodeType("Expression")&&!this.isJSXElement()||k.isForStatement()&&this.key==="init")return this.node&&j.push(this.node),this.replaceExpressionWithStatements(j);if(Array.isArray(this.container))return this._containerInsertBefore(j);if(this.isStatementOrBlock()){let U=this.node,F=U&&(!this.isExpressionStatement()||U.expression!=null);return this.replaceWith(h(F?[U]:[])),this.unshiftContainer("body",j)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},r.pushContainer=function(O,j){this._assertUnremoved();let k=this._verifyNodeList(j),$=this.node[O];return H.default.get({parentPath:this,parent:this.node,container:$,listKey:O,key:$.length}).setContext(this.context).replaceWithMultiple(k)},r.unshiftContainer=function(O,j){return this._assertUnremoved(),j=this._verifyNodeList(j),H.default.get({parentPath:this,parent:this.node,container:this.node[O],listKey:O,key:0}).setContext(this.context)._containerInsertBefore(j)},r.updateSiblingKeys=function(O,j){if(!this.parent)return;let k=(0,s.getCachedPaths)(this.hub,this.parent)||[];for(let[,$]of k)typeof $.key=="number"&&$.key>=O&&($.key+=j)};var s=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/cache.js"),u=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/hoister.js"),H=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/index.js"),a=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{arrowFunctionExpression:l,assertExpression:p,assignmentExpression:d,blockStatement:h,callExpression:m,cloneNode:g,expressionStatement:y,isAssignmentExpression:_,isCallExpression:E,isExportNamedDeclaration:A,isExpression:S,isIdentifier:T,isSequenceExpression:I,isSuper:L,thisExpression:x}=a,C=O=>O[O.length-1];function D(O){return I(O.parent)&&(C(O.parent.expressions)!==O.node||D(O.parentPath))}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/removal.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._assertUnremoved=function(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")},r._callRemovalHooks=function(){if(this.parentPath){for(let p of s.hooks)if(p(this,this.parentPath))return!0}},r._markRemoved=function(){this._traverseFlags|=H.SHOULD_SKIP|H.REMOVED,this.parent&&(0,u.getCachedPaths)(this.hub,this.parent).delete(this.node),this.node=null},r._remove=function(){Array.isArray(this.container)?(this.container.splice(this.key,1),this.updateSiblingKeys(this.key,-1)):this._replaceWith(null)},r._removeFromScope=function(){let p=l(this.node,!1,!1,!0);Object.keys(p).forEach(d=>this.scope.removeBinding(d))},r.remove=function(){var p;if(this._assertUnremoved(),this.resync(),(p=this.opts)!=null&&p.noScope||this._removeFromScope(),this._callRemovalHooks())return void this._markRemoved();this.shareCommentsWithSiblings(),this._remove(),this._markRemoved()};var s=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js"),u=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/cache.js"),H=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/index.js"),a=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{getBindingIdentifiers:l}=a},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/replacement.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._replaceWith=function(z){var ie;if(!this.container)throw new ReferenceError("Container is falsy");this.inList?K(this.parent,this.key,[z]):K(this.parent,this.key,z),this.debug(`Replace with ${z?.type}`),(ie=(0,a.getCachedPaths)(this.hub,this.parent))==null||ie.set(z,this).delete(this.node),this.node=this.container[this.key]=z},r.replaceExpressionWithStatements=function(z){this.resync();let ie=[],_e=Q(z,ie);if(_e){for(let re of ie)this.scope.push({id:re});return this.replaceWith(_e)[0].get("expressions")}let He=this.getFunctionParent(),be=He?.is("async"),Ve=He?.is("generator"),Fe=m([],_(z));this.replaceWith(A(Fe,[]));let me=this.get("callee");(0,d.default)(me.get("body"),re=>{this.scope.push({id:re})},"var");let ce=this.get("callee").getCompletionRecords();for(let re of ce){if(!re.isExpressionStatement())continue;let fe=re.findParent(he=>he.isLoop());if(fe){let he=fe.getData("expressionReplacementReturnUid");he?he=x(he.name):(he=me.scope.generateDeclaredUidIdentifier("ret"),me.get("body").pushContainer("body",J(S(he))),fe.setData("expressionReplacementReturnUid",he)),re.get("expression").replaceWith(g("=",S(he),re.node.expression))}else re.replaceWith(J(re.node.expression))}me.arrowFunctionToExpression();let ke=me,je=be&&u.default.hasType(this.get("callee.body").node,"AwaitExpression",h),Oe=Ve&&u.default.hasType(this.get("callee.body").node,"YieldExpression",h);return je&&(ke.set("async",!0),Oe||this.replaceWith(y(this.node))),Oe&&(ke.set("generator",!0),this.replaceWith(q(this.node,!0))),ke.get("body.body")},r.replaceInline=function(z){if(this.resync(),Array.isArray(z)){if(Array.isArray(this.container)){z=this._verifyNodeList(z);let ie=this._containerInsertAfter(z);return this.remove(),ie}return this.replaceWithMultiple(z)}return this.replaceWith(z)},r.replaceWith=function(z){if(this.resync(),this.removed)throw new Error("You can't replace this node, we've already removed it");let ie=z instanceof H.default?z.node:z;if(!ie)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===ie)return[this];if(this.isProgram()&&!P(ie))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(ie))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if(typeof ie=="string")throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let _e="";if(this.isNodeType("Statement")&&$(ie)&&(this.canHaveVariableDeclarationOrExpression()||this.canSwapBetweenExpressionAndStatement(ie)||this.parentPath.isExportDefaultDeclaration()||(ie=I(ie),_e="expression")),this.isNodeType("Expression")&&W(ie)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(ie))return this.replaceExpressionWithStatements([ie]);let He=this.node;return He&&(O(ie,He),ee(He)),this._replaceWith(ie),this.type=ie.type,this.setScope(),this.requeue(),[_e?this.get(_e):this]},r.replaceWithMultiple=function(z){var ie;this.resync(),z=this._verifyNodeList(z),C(z[0],this.node),D(z[z.length-1],this.node),(ie=(0,a.getCachedPaths)(this.hub,this.parent))==null||ie.delete(this.node),this.node=this.container[this.key]=null;let _e=this.insertAfter(z);return this.node?this.requeue():this.remove(),_e},r.replaceWithSourceString=function(z){let ie;this.resync();try{z=`(${z})`,ie=(0,l.parse)(z)}catch(He){let be=He.loc;throw be&&(He.message+=` - make sure this is an expression.
|
|
`+(0,s.codeFrameColumns)(z,{start:{line:be.line,column:be.column+1}}),He.code="BABEL_REPLACE_SOURCE_ERROR"),He}let _e=ie.program.body[0].expression;return u.default.removeProperties(_e),this.replaceWith(_e)};var s=c("./stubs/babel-codeframe.js"),u=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js"),H=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/index.js"),a=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/cache.js"),l=c("./node_modules/.pnpm/@babel+parser@7.24.7/node_modules/@babel/parser/lib/index.js"),p=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),d=c("./node_modules/.pnpm/@babel+helper-hoist-variables@7.24.7/node_modules/@babel/helper-hoist-variables/lib/index.js");let{FUNCTION_TYPES:h,arrowFunctionExpression:m,assignmentExpression:g,awaitExpression:y,blockStatement:_,buildUndefinedNode:E,callExpression:A,cloneNode:S,conditionalExpression:T,expressionStatement:I,getBindingIdentifiers:L,identifier:x,inheritLeadingComments:C,inheritTrailingComments:D,inheritsComments:O,isBlockStatement:j,isEmptyStatement:k,isExpression:$,isExpressionStatement:U,isIfStatement:F,isProgram:P,isStatement:W,isVariableDeclaration:Z,removeComments:ee,returnStatement:J,sequenceExpression:ne,validate:K,yieldExpression:q}=p;function Q(z,ie){let _e=[],He=!0;for(let be of z)if(k(be)||(He=!1),$(be))_e.push(be);else if(U(be))_e.push(be.expression);else if(Z(be)){if(be.kind!=="var")return;for(let Ve of be.declarations){let Fe=L(Ve);for(let me of Object.keys(Fe))ie.push(S(Fe[me]));Ve.init&&_e.push(g("=",Ve.id,Ve.init))}He=!0}else if(F(be)){let Ve=be.consequent?Q([be.consequent],ie):E(),Fe=be.alternate?Q([be.alternate],ie):E();if(!Ve||!Fe)return;_e.push(T(be.test,Ve,Fe))}else if(j(be)){let Ve=Q(be.body,ie);if(!Ve)return;_e.push(Ve)}else{if(!k(be))return;z.indexOf(be)===0&&(He=!0)}return He&&_e.push(E()),_e.length===1?_e[0]:ne(_e)}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/scope/binding.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=class{constructor({identifier:c,scope:s,path:u,kind:H}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=c,this.scope=s,this.path=u,this.kind=H,H!=="var"&&H!=="hoisted"||!function(a){for(let{parentPath:l,key:p}=a;l;{parentPath:l,key:p}=l){if(l.isFunctionParent())return!1;if(l.isWhile()||l.isForXStatement()||l.isForStatement()&&p==="body")return!0}return!1}(u)||this.reassign(u),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(c){this.hasDeoptedValue||(this.hasValue=!0,this.value=c)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(c){this.constant=!1,this.constantViolations.indexOf(c)===-1&&this.constantViolations.push(c)}reference(c){this.referencePaths.indexOf(c)===-1&&(this.referenced=!0,this.references++,this.referencePaths.push(c))}dereference(){this.references--,this.referenced=!!this.references}}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/scope/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/scope/lib/renamer.js"),u=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js"),H=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/scope/binding.js"),a=c("./node_modules/.pnpm/globals@11.12.0/node_modules/globals/index.js"),l=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),p=l,d=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/cache.js"),h=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/visitors.js");let{NOT_LOCAL_BINDING:m,callExpression:g,cloneNode:y,getBindingIdentifiers:_,identifier:E,isArrayExpression:A,isBinary:S,isCallExpression:T,isClass:I,isClassBody:L,isClassDeclaration:x,isExportAllDeclaration:C,isExportDefaultDeclaration:D,isExportNamedDeclaration:O,isFunctionDeclaration:j,isIdentifier:k,isImportDeclaration:$,isLiteral:U,isMemberExpression:F,isMethod:P,isModuleSpecifier:W,isNullLiteral:Z,isObjectExpression:ee,isProperty:J,isPureish:ne,isRegExpLiteral:K,isSuper:q,isTaggedTemplateExpression:Q,isTemplateLiteral:z,isThisExpression:ie,isUnaryExpression:_e,isVariableDeclaration:He,matchesPattern:be,memberExpression:Ve,numericLiteral:Fe,toIdentifier:me,variableDeclaration:ce,variableDeclarator:ke,isRecordExpression:je,isTupleExpression:Oe,isObjectProperty:re,isTopicReference:fe,isMetaProperty:he,isPrivateName:se,isExportDeclaration:Ie,buildUndefinedNode:ye}=l;function $e(pe,ue){switch(pe?.type){default:var Se;if($(pe)||Ie(pe))if((C(pe)||O(pe)||$(pe))&&pe.source)$e(pe.source,ue);else if((O(pe)||$(pe))&&(Se=pe.specifiers)!=null&&Se.length)for(let Ae of pe.specifiers)$e(Ae,ue);else(D(pe)||O(pe))&&pe.declaration&&$e(pe.declaration,ue);else W(pe)?$e(pe.local,ue):!U(pe)||Z(pe)||K(pe)||z(pe)||ue.push(pe.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":$e(pe.object,ue),$e(pe.property,ue);break;case"Identifier":case"JSXIdentifier":ue.push(pe.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":$e(pe.callee,ue);break;case"ObjectExpression":case"ObjectPattern":for(let Ae of pe.properties)$e(Ae,ue);break;case"SpreadElement":case"RestElement":case"UnaryExpression":case"UpdateExpression":$e(pe.argument,ue);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":$e(pe.key,ue);break;case"ThisExpression":ue.push("this");break;case"Super":ue.push("super");break;case"Import":ue.push("import");break;case"DoExpression":ue.push("do");break;case"YieldExpression":ue.push("yield"),$e(pe.argument,ue);break;case"AwaitExpression":ue.push("await"),$e(pe.argument,ue);break;case"AssignmentExpression":$e(pe.left,ue);break;case"VariableDeclarator":case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":$e(pe.id,ue);break;case"ParenthesizedExpression":$e(pe.expression,ue);break;case"MetaProperty":$e(pe.meta,ue),$e(pe.property,ue);break;case"JSXElement":$e(pe.openingElement,ue);break;case"JSXOpeningElement":$e(pe.name,ue);break;case"JSXFragment":$e(pe.openingFragment,ue);break;case"JSXOpeningFragment":ue.push("Fragment");break;case"JSXNamespacedName":$e(pe.namespace,ue),$e(pe.name,ue)}}let nt={ForStatement(pe){let ue=pe.get("init");if(ue.isVar()){let{scope:Se}=pe;(Se.getFunctionParent()||Se.getProgramParent()).registerBinding("var",ue)}},Declaration(pe){pe.isBlockScoped()||pe.isImportDeclaration()||pe.isExportDeclaration()||(pe.scope.getFunctionParent()||pe.scope.getProgramParent()).registerDeclaration(pe)},ImportDeclaration(pe){pe.scope.getBlockParent().registerDeclaration(pe)},ReferencedIdentifier(pe,ue){ue.references.push(pe)},ForXStatement(pe,ue){let Se=pe.get("left");if(Se.isPattern()||Se.isIdentifier())ue.constantViolations.push(pe);else if(Se.isVar()){let{scope:Ae}=pe;(Ae.getFunctionParent()||Ae.getProgramParent()).registerBinding("var",Se)}},ExportDeclaration:{exit(pe){let{node:ue,scope:Se}=pe;if(C(ue))return;let Ae=ue.declaration;if(x(Ae)||j(Ae)){let de=Ae.id;if(!de)return;let We=Se.getBinding(de.name);We?.reference(pe)}else if(He(Ae))for(let de of Ae.declarations)for(let We of Object.keys(_(de))){let tt=Se.getBinding(We);tt?.reference(pe)}}},LabeledStatement(pe){pe.scope.getBlockParent().registerDeclaration(pe)},AssignmentExpression(pe,ue){ue.assignments.push(pe)},UpdateExpression(pe,ue){ue.constantViolations.push(pe)},UnaryExpression(pe,ue){pe.node.operator==="delete"&&ue.constantViolations.push(pe)},BlockScoped(pe){let ue=pe.scope;if(ue.path===pe&&(ue=ue.parent),ue.getBlockParent().registerDeclaration(pe),pe.isClassDeclaration()&&pe.node.id){let Se=pe.node.id.name;pe.scope.bindings[Se]=pe.scope.parent.getBinding(Se)}},CatchClause(pe){pe.scope.registerBinding("let",pe)},Function(pe){let ue=pe.get("params");for(let Se of ue)pe.scope.registerBinding("param",Se);pe.isFunctionExpression()&&pe.has("id")&&!pe.get("id").node[m]&&pe.scope.registerBinding("local",pe.get("id"),pe)},ClassExpression(pe){pe.has("id")&&!pe.get("id").node[m]&&pe.scope.registerBinding("local",pe.get("id"),pe)},TSTypeAnnotation(pe){pe.skip()}},et=0;class xe{constructor(ue){this.uid=void 0,this.path=void 0,this.block=void 0,this.labels=void 0,this.inited=void 0,this.bindings=void 0,this.references=void 0,this.globals=void 0,this.uids=void 0,this.data=void 0,this.crawling=void 0;let{node:Se}=ue,Ae=d.scope.get(Se);if(Ae?.path===ue)return Ae;d.scope.set(Se,this),this.uid=et++,this.block=Se,this.path=ue,this.labels=new Map,this.inited=!1}get parent(){var ue;let Se,Ae=this.path;do{var de;let We=Ae.key==="key"||Ae.listKey==="decorators";Ae=Ae.parentPath,We&&Ae.isMethod()&&(Ae=Ae.parentPath),(de=Ae)!=null&&de.isScope()&&(Se=Ae)}while(Ae&&!Se);return(ue=Se)==null?void 0:ue.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(ue,Se,Ae){(0,u.default)(ue,Se,this,Ae,this.path)}generateDeclaredUidIdentifier(ue){let Se=this.generateUidIdentifier(ue);return this.push({id:Se}),y(Se)}generateUidIdentifier(ue){return E(this.generateUid(ue))}generateUid(ue="temp"){let Se;ue=me(ue).replace(/^_+/,"").replace(/[0-9]+$/g,"");let Ae=1;do Se=this._generateUid(ue,Ae),Ae++;while(this.hasLabel(Se)||this.hasBinding(Se)||this.hasGlobal(Se)||this.hasReference(Se));let de=this.getProgramParent();return de.references[Se]=!0,de.uids[Se]=!0,Se}_generateUid(ue,Se){let Ae=ue;return Se>1&&(Ae+=Se),`_${Ae}`}generateUidBasedOnNode(ue,Se){let Ae=[];$e(ue,Ae);let de=Ae.join("$");return de=de.replace(/^_/,"")||Se||"ref",this.generateUid(de.slice(0,20))}generateUidIdentifierBasedOnNode(ue,Se){return E(this.generateUidBasedOnNode(ue,Se))}isStatic(ue){if(ie(ue)||q(ue)||fe(ue))return!0;if(k(ue)){let Se=this.getBinding(ue.name);return Se?Se.constant:this.hasBinding(ue.name)}return!1}maybeGenerateMemoised(ue,Se){if(this.isStatic(ue))return null;{let Ae=this.generateUidIdentifierBasedOnNode(ue);return Se?Ae:(this.push({id:Ae}),y(Ae))}}checkBlockScopedCollisions(ue,Se,Ae,de){if(Se!=="param"&&ue.kind!=="local"&&(Se==="let"||ue.kind==="let"||ue.kind==="const"||ue.kind==="module"||ue.kind==="param"&&Se==="const"))throw this.hub.buildError(de,`Duplicate declaration "${Ae}"`,TypeError)}rename(ue,Se){let Ae=this.getBinding(ue);Ae&&(Se||(Se=this.generateUidIdentifier(ue).name),new s.default(Ae,ue,Se).rename(arguments[2]))}_renameFromMap(ue,Se,Ae,de){ue[Se]&&(ue[Ae]=de,ue[Se]=null)}dump(){let ue="-".repeat(60);console.log(ue);let Se=this;do{console.log("#",Se.block.type);for(let Ae of Object.keys(Se.bindings)){let de=Se.bindings[Ae];console.log(" -",Ae,{constant:de.constant,references:de.references,violations:de.constantViolations.length,kind:de.kind})}}while(Se=Se.parent);console.log(ue)}toArray(ue,Se,Ae){if(k(ue)){let tt=this.getBinding(ue.name);if(tt!=null&&tt.constant&&tt.path.isGenericType("Array"))return ue}if(A(ue))return ue;if(k(ue,{name:"arguments"}))return g(Ve(Ve(Ve(E("Array"),E("prototype")),E("slice")),E("call")),[ue]);let de,We=[ue];return Se===!0?de="toConsumableArray":typeof Se=="number"?(We.push(Fe(Se)),de="slicedToArray"):de="toArray",Ae&&(We.unshift(this.hub.addHelper(de)),de="maybeArrayLike"),g(this.hub.addHelper(de),We)}hasLabel(ue){return!!this.getLabel(ue)}getLabel(ue){return this.labels.get(ue)}registerLabel(ue){this.labels.set(ue.node.label.name,ue)}registerDeclaration(ue){if(ue.isLabeledStatement())this.registerLabel(ue);else if(ue.isFunctionDeclaration())this.registerBinding("hoisted",ue.get("id"),ue);else if(ue.isVariableDeclaration()){let Se=ue.get("declarations"),{kind:Ae}=ue.node;for(let de of Se)this.registerBinding(Ae==="using"||Ae==="await using"?"const":Ae,de)}else if(ue.isClassDeclaration()){if(ue.node.declare)return;this.registerBinding("let",ue)}else if(ue.isImportDeclaration()){let Se=ue.node.importKind==="type"||ue.node.importKind==="typeof",Ae=ue.get("specifiers");for(let de of Ae){let We=Se||de.isImportSpecifier()&&(de.node.importKind==="type"||de.node.importKind==="typeof");this.registerBinding(We?"unknown":"module",de)}}else if(ue.isExportDeclaration()){let Se=ue.get("declaration");(Se.isClassDeclaration()||Se.isFunctionDeclaration()||Se.isVariableDeclaration())&&this.registerDeclaration(Se)}else this.registerBinding("unknown",ue)}buildUndefinedNode(){return ye()}registerConstantViolation(ue){let Se=ue.getBindingIdentifiers();for(let de of Object.keys(Se)){var Ae;(Ae=this.getBinding(de))==null||Ae.reassign(ue)}}registerBinding(ue,Se,Ae=Se){if(!ue)throw new ReferenceError("no `kind`");if(Se.isVariableDeclaration()){let tt=Se.get("declarations");for(let mt of tt)this.registerBinding(ue,mt);return}let de=this.getProgramParent(),We=Se.getOuterBindingIdentifiers(!0);for(let tt of Object.keys(We)){de.references[tt]=!0;for(let mt of We[tt]){let At=this.getOwnBinding(tt);if(At){if(At.identifier===mt)continue;this.checkBlockScopedCollisions(At,ue,tt,mt)}At?At.reassign(Ae):this.bindings[tt]=new H.default({identifier:mt,scope:this,path:Ae,kind:ue})}}}addGlobal(ue){this.globals[ue.name]=ue}hasUid(ue){let Se=this;do if(Se.uids[ue])return!0;while(Se=Se.parent);return!1}hasGlobal(ue){let Se=this;do if(Se.globals[ue])return!0;while(Se=Se.parent);return!1}hasReference(ue){return!!this.getProgramParent().references[ue]}isPure(ue,Se){if(k(ue)){let tt=this.getBinding(ue.name);return!!tt&&(!Se||tt.constant)}if(ie(ue)||he(ue)||fe(ue)||se(ue))return!0;var Ae,de,We;if(I(ue))return!(ue.superClass&&!this.isPure(ue.superClass,Se))&&!(((Ae=ue.decorators)==null?void 0:Ae.length)>0)&&this.isPure(ue.body,Se);if(L(ue)){for(let tt of ue.body)if(!this.isPure(tt,Se))return!1;return!0}if(S(ue))return this.isPure(ue.left,Se)&&this.isPure(ue.right,Se);if(A(ue)||Oe(ue)){for(let tt of ue.elements)if(tt!==null&&!this.isPure(tt,Se))return!1;return!0}if(ee(ue)||je(ue)){for(let tt of ue.properties)if(!this.isPure(tt,Se))return!1;return!0}if(P(ue))return!(ue.computed&&!this.isPure(ue.key,Se))&&!(((de=ue.decorators)==null?void 0:de.length)>0);if(J(ue))return!(ue.computed&&!this.isPure(ue.key,Se))&&!(((We=ue.decorators)==null?void 0:We.length)>0)&&!((re(ue)||ue.static)&&ue.value!==null&&!this.isPure(ue.value,Se));if(_e(ue))return this.isPure(ue.argument,Se);if(z(ue)){for(let tt of ue.expressions)if(!this.isPure(tt,Se))return!1;return!0}return Q(ue)?be(ue.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(ue.quasi,Se):F(ue)?!ue.computed&&k(ue.object)&&ue.object.name==="Symbol"&&k(ue.property)&&ue.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:!0}):T(ue)?be(ue.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&ue.arguments.length===1&&p.isStringLiteral(ue.arguments[0]):ne(ue)}setData(ue,Se){return this.data[ue]=Se}getData(ue){let Se=this;do{let Ae=Se.data[ue];if(Ae!=null)return Ae}while(Se=Se.parent)}removeData(ue){let Se=this;do Se.data[ue]!=null&&(Se.data[ue]=null);while(Se=Se.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){let ue=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);let Se=this.getProgramParent();if(Se.crawling)return;let Ae={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,ue.type!=="Program"&&(0,h.isExplodedVisitor)(nt)){for(let We of nt.enter)We.call(Ae,ue,Ae);let de=nt[ue.type];if(de)for(let We of de.enter)We.call(Ae,ue,Ae)}ue.traverse(nt,Ae),this.crawling=!1;for(let de of Ae.assignments){let We=de.getBindingIdentifiers();for(let tt of Object.keys(We))de.scope.getBinding(tt)||Se.addGlobal(We[tt]);de.scope.registerConstantViolation(de)}for(let de of Ae.references){let We=de.scope.getBinding(de.node.name);We?We.reference(de):Se.addGlobal(de.node)}for(let de of Ae.constantViolations)de.scope.registerConstantViolation(de)}push(ue){let Se=this.path;Se.isPattern()?Se=this.getPatternParent().path:Se.isBlockStatement()||Se.isProgram()||(Se=this.getBlockParent().path),Se.isSwitchStatement()&&(Se=(this.getFunctionParent()||this.getProgramParent()).path);let{init:Ae,unique:de,kind:We="var",id:tt}=ue;if(!Ae&&!de&&(We==="var"||We==="let")&&Se.isFunction()&&!Se.node.name&&T(Se.parent,{callee:Se.node})&&Se.parent.arguments.length<=Se.node.params.length&&k(tt))return Se.pushContainer("params",tt),void Se.scope.registerBinding("param",Se.get("params")[Se.node.params.length-1]);(Se.isLoop()||Se.isCatchClause()||Se.isFunction())&&(Se.ensureBlock(),Se=Se.get("body"));let mt=ue._blockHoist==null?2:ue._blockHoist,At=`declaration:${We}:${mt}`,pt=!de&&Se.getData(At);if(!pt){let qe=ce(We,[]);qe._blockHoist=mt,[pt]=Se.unshiftContainer("body",[qe]),de||Se.setData(At,pt)}let Nt=ke(tt,Ae),Ce=pt.node.declarations.push(Nt);Se.scope.registerBinding(We,pt.get("declarations")[Ce-1])}getProgramParent(){let ue=this;do if(ue.path.isProgram())return ue;while(ue=ue.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let ue=this;do if(ue.path.isFunctionParent())return ue;while(ue=ue.parent);return null}getBlockParent(){let ue=this;do if(ue.path.isBlockParent())return ue;while(ue=ue.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let ue=this;do if(!ue.path.isPattern())return ue.getBlockParent();while(ue=ue.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){let ue=Object.create(null),Se=this;do{for(let Ae of Object.keys(Se.bindings))!(Ae in ue)&&(ue[Ae]=Se.bindings[Ae]);Se=Se.parent}while(Se);return ue}getAllBindingsOfKind(...ue){let Se=Object.create(null);for(let Ae of ue){let de=this;do{for(let We of Object.keys(de.bindings)){let tt=de.bindings[We];tt.kind===Ae&&(Se[We]=tt)}de=de.parent}while(de)}return Se}bindingIdentifierEquals(ue,Se){return this.getBindingIdentifier(ue)===Se}getBinding(ue){let Se,Ae=this;do{let We=Ae.getOwnBinding(ue);var de;if(We){if((de=Se)==null||!de.isPattern()||We.kind==="param"||We.kind==="local")return We}else if(!We&&ue==="arguments"&&Ae.path.isFunction()&&!Ae.path.isArrowFunctionExpression())break;Se=Ae.path}while(Ae=Ae.parent)}getOwnBinding(ue){return this.bindings[ue]}getBindingIdentifier(ue){var Se;return(Se=this.getBinding(ue))==null?void 0:Se.identifier}getOwnBindingIdentifier(ue){let Se=this.bindings[ue];return Se?.identifier}hasOwnBinding(ue){return!!this.getOwnBinding(ue)}hasBinding(ue,Se){var Ae,de,We;return!!ue&&(!!this.hasOwnBinding(ue)||(typeof Se=="boolean"&&(Se={noGlobals:Se}),!!this.parentHasBinding(ue,Se)||!((Ae=Se)!=null&&Ae.noUids||!this.hasUid(ue))||!((de=Se)!=null&&de.noGlobals||!xe.globals.includes(ue))||!((We=Se)!=null&&We.noGlobals||!xe.contextVariables.includes(ue))))}parentHasBinding(ue,Se){var Ae;return(Ae=this.parent)==null?void 0:Ae.hasBinding(ue,Se)}moveBindingTo(ue,Se){let Ae=this.getBinding(ue);Ae&&(Ae.scope.removeOwnBinding(ue),Ae.scope=Se,Se.bindings[ue]=Ae)}removeOwnBinding(ue){delete this.bindings[ue]}removeBinding(ue){var Se;(Se=this.getBinding(ue))==null||Se.scope.removeOwnBinding(ue);let Ae=this;do Ae.uids[ue]&&(Ae.uids[ue]=!1);while(Ae=Ae.parent)}}r.default=xe,xe.globals=Object.keys(a.builtin),xe.contextVariables=["arguments","undefined","Infinity","NaN"]},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/scope/lib/renamer.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+helper-split-export-declaration@7.24.7/node_modules/@babel/helper-split-export-declaration/lib/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-environment-visitor@7.24.7/node_modules/@babel/helper-environment-visitor/lib/index.js"),a=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/traverse-node.js"),l=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/visitors.js");let p={ReferencedIdentifier({node:d},h){d.name===h.oldName&&(d.name=h.newName)},Scope(d,h){d.scope.bindingIdentifierEquals(h.oldName,h.binding.identifier)||(d.skip(),d.isMethod()&&(0,H.requeueComputedKeyAndDecorators)(d))},ObjectProperty({node:d,scope:h},m){let{name:g}=d.key;var y;!d.shorthand||g!==m.oldName&&g!==m.newName||h.getBindingIdentifier(g)!==m.binding.identifier||(d.shorthand=!1,(y=d.extra)!=null&&y.shorthand&&(d.extra.shorthand=!1))},"AssignmentExpression|Declaration|VariableDeclarator"(d,h){if(d.isVariableDeclaration())return;let m=d.getOuterBindingIdentifiers();for(let g in m)g===h.oldName&&(m[g].name=h.newName)}};r.default=class{constructor(d,h,m){this.newName=m,this.oldName=h,this.binding=d}maybeConvertFromExportDeclaration(d){let h=d.parentPath;if(h.isExportDeclaration()){if(h.isExportDefaultDeclaration()){let{declaration:m}=h.node;if(u.isDeclaration(m)&&!m.id)return}h.isExportAllDeclaration()||(0,s.default)(h)}}maybeConvertFromClassFunctionDeclaration(d){return d}maybeConvertFromClassFunctionExpression(d){return d}rename(){let{binding:d,oldName:h,newName:m}=this,{scope:g,path:y}=d,_=y.find(A=>A.isDeclaration()||A.isFunctionExpression()||A.isClassExpression());_&&_.getOuterBindingIdentifiers()[h]===d.identifier&&this.maybeConvertFromExportDeclaration(_);let E=arguments[0]||g.block;(0,a.traverseNode)(E,(0,l.explode)(p),g,this,g.path,{discriminant:!0}),arguments[0]||(g.removeOwnBinding(h),g.bindings[m]=d,this.binding.identifier.name=m),_&&(this.maybeConvertFromClassFunctionDeclaration(y),this.maybeConvertFromClassFunctionExpression(y))}}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/traverse-node.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.traverseNode=function(a,l,p,d,h,m,g){let y=H[a.type];if(!y)return!1;let _=new s.default(p,l,d,h);if(g)return(m==null||!m[h.parentKey])&&_.visitQueue([h]);for(let E of y)if((m==null||!m[E])&&_.visit(a,E))return!0;return!1};var s=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/context.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{VISITOR_KEYS:H}=u},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/visitors.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.explode=g,r.isExplodedVisitor=m,r.merge=function(L,x=[],C){let D={};for(let O=0;O<L.length;O++){let j=g(L[O]),k=x[O],$=j;(k||C)&&($=E($,k,C)),I(D,$);for(let U of Object.keys(j)){if(T(U))continue;let F=j[U];(k||C)&&(F=E(F,k,C)),I(D[U]||(D[U]={}),F)}}return D},r.verify=y;var s=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/virtual-types.js"),u=c("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js"),H=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");let{DEPRECATED_KEYS:a,DEPRECATED_ALIASES:l,FLIPPED_ALIAS_KEYS:p,TYPES:d,__internal__deprecationWarning:h}=H;function m(L){return L?._exploded}function g(L){if(m(L))return L;L._exploded=!0;for(let x of Object.keys(L)){if(T(x))continue;let C=x.split("|");if(C.length===1)continue;let D=L[x];delete L[x];for(let O of C)L[O]=D}y(L),delete L.__esModule,function(x){for(let C of Object.keys(x)){if(T(C))continue;let D=x[C];typeof D=="function"&&(x[C]={enter:D})}}(L),A(L);for(let x of Object.keys(L)){if(T(x)||!(x in s))continue;let C=L[x];for(let O of Object.keys(C))C[O]=S(x,C[O]);delete L[x];let D=s[x];if(D!==null)for(let O of D)L[O]?I(L[O],C):L[O]=C;else I(L,C)}for(let x of Object.keys(L)){if(T(x))continue;let C=p[x];if(x in a){let O=a[x];h(x,O,"Visitor "),C=[O]}else if(x in l){let O=l[x];h(x,O,"Visitor "),C=p[O]}if(!C)continue;let D=L[x];delete L[x];for(let O of C){let j=L[O];j?I(j,D):L[O]=Object.assign({},D)}}for(let x of Object.keys(L))T(x)||A(L[x]);return L}function y(L){if(!L._verified){if(typeof L=="function")throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(let x of Object.keys(L)){if(x!=="enter"&&x!=="exit"||_(x,L[x]),T(x))continue;if(d.indexOf(x)<0)throw new Error(`You gave us a visitor for the node type ${x} but it's not a valid type`);let C=L[x];if(typeof C=="object")for(let D of Object.keys(C)){if(D!=="enter"&&D!=="exit")throw new Error(`You passed \`traverse()\` a visitor object with the property ${x} that has the invalid property ${D}`);_(`${x}.${D}`,C[D])}}L._verified=!0}}function _(L,x){let C=[].concat(x);for(let D of C)if(typeof D!="function")throw new TypeError(`Non-function found defined in ${L} with type ${typeof D}`)}function E(L,x,C){let D={};for(let O of["enter","exit"]){let j=L[O];Array.isArray(j)&&(j=j.map(function(k){let $=k;return x&&($=function(U){k.call(x,U,x)}),C&&($=C(x?.key,O,$)),$!==k&&($.toString=()=>k.toString()),$}),D[O]=j)}return D}function A(L){L.enter&&!Array.isArray(L.enter)&&(L.enter=[L.enter]),L.exit&&!Array.isArray(L.exit)&&(L.exit=[L.exit])}function S(L,x){let C=u[`is${L}`],D=function(O){if(C.call(O))return x.apply(this,arguments)};return D.toString=()=>x.toString(),D}function T(L){return L[0]==="_"||L==="enter"||L==="exit"||L==="shouldSkip"||L==="denylist"||L==="noScope"||L==="skipKeys"||L==="blacklist"}function I(L,x){for(let C of["enter","exit"])x[C]&&(L[C]=[].concat(L[C]||[],x[C]))}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/asserts/assertNode.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){if(!(0,s.default)(u)){var H;let a=(H=u?.type)!=null?H:JSON.stringify(u);throw new TypeError(`Not a valid node of type "${a}"`)}};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isNode.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/asserts/generated/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.assertAccessor=function(a,l){H("Accessor",a,l)},r.assertAnyTypeAnnotation=function(a,l){H("AnyTypeAnnotation",a,l)},r.assertArgumentPlaceholder=function(a,l){H("ArgumentPlaceholder",a,l)},r.assertArrayExpression=function(a,l){H("ArrayExpression",a,l)},r.assertArrayPattern=function(a,l){H("ArrayPattern",a,l)},r.assertArrayTypeAnnotation=function(a,l){H("ArrayTypeAnnotation",a,l)},r.assertArrowFunctionExpression=function(a,l){H("ArrowFunctionExpression",a,l)},r.assertAssignmentExpression=function(a,l){H("AssignmentExpression",a,l)},r.assertAssignmentPattern=function(a,l){H("AssignmentPattern",a,l)},r.assertAwaitExpression=function(a,l){H("AwaitExpression",a,l)},r.assertBigIntLiteral=function(a,l){H("BigIntLiteral",a,l)},r.assertBinary=function(a,l){H("Binary",a,l)},r.assertBinaryExpression=function(a,l){H("BinaryExpression",a,l)},r.assertBindExpression=function(a,l){H("BindExpression",a,l)},r.assertBlock=function(a,l){H("Block",a,l)},r.assertBlockParent=function(a,l){H("BlockParent",a,l)},r.assertBlockStatement=function(a,l){H("BlockStatement",a,l)},r.assertBooleanLiteral=function(a,l){H("BooleanLiteral",a,l)},r.assertBooleanLiteralTypeAnnotation=function(a,l){H("BooleanLiteralTypeAnnotation",a,l)},r.assertBooleanTypeAnnotation=function(a,l){H("BooleanTypeAnnotation",a,l)},r.assertBreakStatement=function(a,l){H("BreakStatement",a,l)},r.assertCallExpression=function(a,l){H("CallExpression",a,l)},r.assertCatchClause=function(a,l){H("CatchClause",a,l)},r.assertClass=function(a,l){H("Class",a,l)},r.assertClassAccessorProperty=function(a,l){H("ClassAccessorProperty",a,l)},r.assertClassBody=function(a,l){H("ClassBody",a,l)},r.assertClassDeclaration=function(a,l){H("ClassDeclaration",a,l)},r.assertClassExpression=function(a,l){H("ClassExpression",a,l)},r.assertClassImplements=function(a,l){H("ClassImplements",a,l)},r.assertClassMethod=function(a,l){H("ClassMethod",a,l)},r.assertClassPrivateMethod=function(a,l){H("ClassPrivateMethod",a,l)},r.assertClassPrivateProperty=function(a,l){H("ClassPrivateProperty",a,l)},r.assertClassProperty=function(a,l){H("ClassProperty",a,l)},r.assertCompletionStatement=function(a,l){H("CompletionStatement",a,l)},r.assertConditional=function(a,l){H("Conditional",a,l)},r.assertConditionalExpression=function(a,l){H("ConditionalExpression",a,l)},r.assertContinueStatement=function(a,l){H("ContinueStatement",a,l)},r.assertDebuggerStatement=function(a,l){H("DebuggerStatement",a,l)},r.assertDecimalLiteral=function(a,l){H("DecimalLiteral",a,l)},r.assertDeclaration=function(a,l){H("Declaration",a,l)},r.assertDeclareClass=function(a,l){H("DeclareClass",a,l)},r.assertDeclareExportAllDeclaration=function(a,l){H("DeclareExportAllDeclaration",a,l)},r.assertDeclareExportDeclaration=function(a,l){H("DeclareExportDeclaration",a,l)},r.assertDeclareFunction=function(a,l){H("DeclareFunction",a,l)},r.assertDeclareInterface=function(a,l){H("DeclareInterface",a,l)},r.assertDeclareModule=function(a,l){H("DeclareModule",a,l)},r.assertDeclareModuleExports=function(a,l){H("DeclareModuleExports",a,l)},r.assertDeclareOpaqueType=function(a,l){H("DeclareOpaqueType",a,l)},r.assertDeclareTypeAlias=function(a,l){H("DeclareTypeAlias",a,l)},r.assertDeclareVariable=function(a,l){H("DeclareVariable",a,l)},r.assertDeclaredPredicate=function(a,l){H("DeclaredPredicate",a,l)},r.assertDecorator=function(a,l){H("Decorator",a,l)},r.assertDirective=function(a,l){H("Directive",a,l)},r.assertDirectiveLiteral=function(a,l){H("DirectiveLiteral",a,l)},r.assertDoExpression=function(a,l){H("DoExpression",a,l)},r.assertDoWhileStatement=function(a,l){H("DoWhileStatement",a,l)},r.assertEmptyStatement=function(a,l){H("EmptyStatement",a,l)},r.assertEmptyTypeAnnotation=function(a,l){H("EmptyTypeAnnotation",a,l)},r.assertEnumBody=function(a,l){H("EnumBody",a,l)},r.assertEnumBooleanBody=function(a,l){H("EnumBooleanBody",a,l)},r.assertEnumBooleanMember=function(a,l){H("EnumBooleanMember",a,l)},r.assertEnumDeclaration=function(a,l){H("EnumDeclaration",a,l)},r.assertEnumDefaultedMember=function(a,l){H("EnumDefaultedMember",a,l)},r.assertEnumMember=function(a,l){H("EnumMember",a,l)},r.assertEnumNumberBody=function(a,l){H("EnumNumberBody",a,l)},r.assertEnumNumberMember=function(a,l){H("EnumNumberMember",a,l)},r.assertEnumStringBody=function(a,l){H("EnumStringBody",a,l)},r.assertEnumStringMember=function(a,l){H("EnumStringMember",a,l)},r.assertEnumSymbolBody=function(a,l){H("EnumSymbolBody",a,l)},r.assertExistsTypeAnnotation=function(a,l){H("ExistsTypeAnnotation",a,l)},r.assertExportAllDeclaration=function(a,l){H("ExportAllDeclaration",a,l)},r.assertExportDeclaration=function(a,l){H("ExportDeclaration",a,l)},r.assertExportDefaultDeclaration=function(a,l){H("ExportDefaultDeclaration",a,l)},r.assertExportDefaultSpecifier=function(a,l){H("ExportDefaultSpecifier",a,l)},r.assertExportNamedDeclaration=function(a,l){H("ExportNamedDeclaration",a,l)},r.assertExportNamespaceSpecifier=function(a,l){H("ExportNamespaceSpecifier",a,l)},r.assertExportSpecifier=function(a,l){H("ExportSpecifier",a,l)},r.assertExpression=function(a,l){H("Expression",a,l)},r.assertExpressionStatement=function(a,l){H("ExpressionStatement",a,l)},r.assertExpressionWrapper=function(a,l){H("ExpressionWrapper",a,l)},r.assertFile=function(a,l){H("File",a,l)},r.assertFlow=function(a,l){H("Flow",a,l)},r.assertFlowBaseAnnotation=function(a,l){H("FlowBaseAnnotation",a,l)},r.assertFlowDeclaration=function(a,l){H("FlowDeclaration",a,l)},r.assertFlowPredicate=function(a,l){H("FlowPredicate",a,l)},r.assertFlowType=function(a,l){H("FlowType",a,l)},r.assertFor=function(a,l){H("For",a,l)},r.assertForInStatement=function(a,l){H("ForInStatement",a,l)},r.assertForOfStatement=function(a,l){H("ForOfStatement",a,l)},r.assertForStatement=function(a,l){H("ForStatement",a,l)},r.assertForXStatement=function(a,l){H("ForXStatement",a,l)},r.assertFunction=function(a,l){H("Function",a,l)},r.assertFunctionDeclaration=function(a,l){H("FunctionDeclaration",a,l)},r.assertFunctionExpression=function(a,l){H("FunctionExpression",a,l)},r.assertFunctionParent=function(a,l){H("FunctionParent",a,l)},r.assertFunctionTypeAnnotation=function(a,l){H("FunctionTypeAnnotation",a,l)},r.assertFunctionTypeParam=function(a,l){H("FunctionTypeParam",a,l)},r.assertGenericTypeAnnotation=function(a,l){H("GenericTypeAnnotation",a,l)},r.assertIdentifier=function(a,l){H("Identifier",a,l)},r.assertIfStatement=function(a,l){H("IfStatement",a,l)},r.assertImmutable=function(a,l){H("Immutable",a,l)},r.assertImport=function(a,l){H("Import",a,l)},r.assertImportAttribute=function(a,l){H("ImportAttribute",a,l)},r.assertImportDeclaration=function(a,l){H("ImportDeclaration",a,l)},r.assertImportDefaultSpecifier=function(a,l){H("ImportDefaultSpecifier",a,l)},r.assertImportExpression=function(a,l){H("ImportExpression",a,l)},r.assertImportNamespaceSpecifier=function(a,l){H("ImportNamespaceSpecifier",a,l)},r.assertImportOrExportDeclaration=function(a,l){H("ImportOrExportDeclaration",a,l)},r.assertImportSpecifier=function(a,l){H("ImportSpecifier",a,l)},r.assertIndexedAccessType=function(a,l){H("IndexedAccessType",a,l)},r.assertInferredPredicate=function(a,l){H("InferredPredicate",a,l)},r.assertInterfaceDeclaration=function(a,l){H("InterfaceDeclaration",a,l)},r.assertInterfaceExtends=function(a,l){H("InterfaceExtends",a,l)},r.assertInterfaceTypeAnnotation=function(a,l){H("InterfaceTypeAnnotation",a,l)},r.assertInterpreterDirective=function(a,l){H("InterpreterDirective",a,l)},r.assertIntersectionTypeAnnotation=function(a,l){H("IntersectionTypeAnnotation",a,l)},r.assertJSX=function(a,l){H("JSX",a,l)},r.assertJSXAttribute=function(a,l){H("JSXAttribute",a,l)},r.assertJSXClosingElement=function(a,l){H("JSXClosingElement",a,l)},r.assertJSXClosingFragment=function(a,l){H("JSXClosingFragment",a,l)},r.assertJSXElement=function(a,l){H("JSXElement",a,l)},r.assertJSXEmptyExpression=function(a,l){H("JSXEmptyExpression",a,l)},r.assertJSXExpressionContainer=function(a,l){H("JSXExpressionContainer",a,l)},r.assertJSXFragment=function(a,l){H("JSXFragment",a,l)},r.assertJSXIdentifier=function(a,l){H("JSXIdentifier",a,l)},r.assertJSXMemberExpression=function(a,l){H("JSXMemberExpression",a,l)},r.assertJSXNamespacedName=function(a,l){H("JSXNamespacedName",a,l)},r.assertJSXOpeningElement=function(a,l){H("JSXOpeningElement",a,l)},r.assertJSXOpeningFragment=function(a,l){H("JSXOpeningFragment",a,l)},r.assertJSXSpreadAttribute=function(a,l){H("JSXSpreadAttribute",a,l)},r.assertJSXSpreadChild=function(a,l){H("JSXSpreadChild",a,l)},r.assertJSXText=function(a,l){H("JSXText",a,l)},r.assertLVal=function(a,l){H("LVal",a,l)},r.assertLabeledStatement=function(a,l){H("LabeledStatement",a,l)},r.assertLiteral=function(a,l){H("Literal",a,l)},r.assertLogicalExpression=function(a,l){H("LogicalExpression",a,l)},r.assertLoop=function(a,l){H("Loop",a,l)},r.assertMemberExpression=function(a,l){H("MemberExpression",a,l)},r.assertMetaProperty=function(a,l){H("MetaProperty",a,l)},r.assertMethod=function(a,l){H("Method",a,l)},r.assertMiscellaneous=function(a,l){H("Miscellaneous",a,l)},r.assertMixedTypeAnnotation=function(a,l){H("MixedTypeAnnotation",a,l)},r.assertModuleDeclaration=function(a,l){(0,u.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),H("ModuleDeclaration",a,l)},r.assertModuleExpression=function(a,l){H("ModuleExpression",a,l)},r.assertModuleSpecifier=function(a,l){H("ModuleSpecifier",a,l)},r.assertNewExpression=function(a,l){H("NewExpression",a,l)},r.assertNoop=function(a,l){H("Noop",a,l)},r.assertNullLiteral=function(a,l){H("NullLiteral",a,l)},r.assertNullLiteralTypeAnnotation=function(a,l){H("NullLiteralTypeAnnotation",a,l)},r.assertNullableTypeAnnotation=function(a,l){H("NullableTypeAnnotation",a,l)},r.assertNumberLiteral=function(a,l){(0,u.default)("assertNumberLiteral","assertNumericLiteral"),H("NumberLiteral",a,l)},r.assertNumberLiteralTypeAnnotation=function(a,l){H("NumberLiteralTypeAnnotation",a,l)},r.assertNumberTypeAnnotation=function(a,l){H("NumberTypeAnnotation",a,l)},r.assertNumericLiteral=function(a,l){H("NumericLiteral",a,l)},r.assertObjectExpression=function(a,l){H("ObjectExpression",a,l)},r.assertObjectMember=function(a,l){H("ObjectMember",a,l)},r.assertObjectMethod=function(a,l){H("ObjectMethod",a,l)},r.assertObjectPattern=function(a,l){H("ObjectPattern",a,l)},r.assertObjectProperty=function(a,l){H("ObjectProperty",a,l)},r.assertObjectTypeAnnotation=function(a,l){H("ObjectTypeAnnotation",a,l)},r.assertObjectTypeCallProperty=function(a,l){H("ObjectTypeCallProperty",a,l)},r.assertObjectTypeIndexer=function(a,l){H("ObjectTypeIndexer",a,l)},r.assertObjectTypeInternalSlot=function(a,l){H("ObjectTypeInternalSlot",a,l)},r.assertObjectTypeProperty=function(a,l){H("ObjectTypeProperty",a,l)},r.assertObjectTypeSpreadProperty=function(a,l){H("ObjectTypeSpreadProperty",a,l)},r.assertOpaqueType=function(a,l){H("OpaqueType",a,l)},r.assertOptionalCallExpression=function(a,l){H("OptionalCallExpression",a,l)},r.assertOptionalIndexedAccessType=function(a,l){H("OptionalIndexedAccessType",a,l)},r.assertOptionalMemberExpression=function(a,l){H("OptionalMemberExpression",a,l)},r.assertParenthesizedExpression=function(a,l){H("ParenthesizedExpression",a,l)},r.assertPattern=function(a,l){H("Pattern",a,l)},r.assertPatternLike=function(a,l){H("PatternLike",a,l)},r.assertPipelineBareFunction=function(a,l){H("PipelineBareFunction",a,l)},r.assertPipelinePrimaryTopicReference=function(a,l){H("PipelinePrimaryTopicReference",a,l)},r.assertPipelineTopicExpression=function(a,l){H("PipelineTopicExpression",a,l)},r.assertPlaceholder=function(a,l){H("Placeholder",a,l)},r.assertPrivate=function(a,l){H("Private",a,l)},r.assertPrivateName=function(a,l){H("PrivateName",a,l)},r.assertProgram=function(a,l){H("Program",a,l)},r.assertProperty=function(a,l){H("Property",a,l)},r.assertPureish=function(a,l){H("Pureish",a,l)},r.assertQualifiedTypeIdentifier=function(a,l){H("QualifiedTypeIdentifier",a,l)},r.assertRecordExpression=function(a,l){H("RecordExpression",a,l)},r.assertRegExpLiteral=function(a,l){H("RegExpLiteral",a,l)},r.assertRegexLiteral=function(a,l){(0,u.default)("assertRegexLiteral","assertRegExpLiteral"),H("RegexLiteral",a,l)},r.assertRestElement=function(a,l){H("RestElement",a,l)},r.assertRestProperty=function(a,l){(0,u.default)("assertRestProperty","assertRestElement"),H("RestProperty",a,l)},r.assertReturnStatement=function(a,l){H("ReturnStatement",a,l)},r.assertScopable=function(a,l){H("Scopable",a,l)},r.assertSequenceExpression=function(a,l){H("SequenceExpression",a,l)},r.assertSpreadElement=function(a,l){H("SpreadElement",a,l)},r.assertSpreadProperty=function(a,l){(0,u.default)("assertSpreadProperty","assertSpreadElement"),H("SpreadProperty",a,l)},r.assertStandardized=function(a,l){H("Standardized",a,l)},r.assertStatement=function(a,l){H("Statement",a,l)},r.assertStaticBlock=function(a,l){H("StaticBlock",a,l)},r.assertStringLiteral=function(a,l){H("StringLiteral",a,l)},r.assertStringLiteralTypeAnnotation=function(a,l){H("StringLiteralTypeAnnotation",a,l)},r.assertStringTypeAnnotation=function(a,l){H("StringTypeAnnotation",a,l)},r.assertSuper=function(a,l){H("Super",a,l)},r.assertSwitchCase=function(a,l){H("SwitchCase",a,l)},r.assertSwitchStatement=function(a,l){H("SwitchStatement",a,l)},r.assertSymbolTypeAnnotation=function(a,l){H("SymbolTypeAnnotation",a,l)},r.assertTSAnyKeyword=function(a,l){H("TSAnyKeyword",a,l)},r.assertTSArrayType=function(a,l){H("TSArrayType",a,l)},r.assertTSAsExpression=function(a,l){H("TSAsExpression",a,l)},r.assertTSBaseType=function(a,l){H("TSBaseType",a,l)},r.assertTSBigIntKeyword=function(a,l){H("TSBigIntKeyword",a,l)},r.assertTSBooleanKeyword=function(a,l){H("TSBooleanKeyword",a,l)},r.assertTSCallSignatureDeclaration=function(a,l){H("TSCallSignatureDeclaration",a,l)},r.assertTSConditionalType=function(a,l){H("TSConditionalType",a,l)},r.assertTSConstructSignatureDeclaration=function(a,l){H("TSConstructSignatureDeclaration",a,l)},r.assertTSConstructorType=function(a,l){H("TSConstructorType",a,l)},r.assertTSDeclareFunction=function(a,l){H("TSDeclareFunction",a,l)},r.assertTSDeclareMethod=function(a,l){H("TSDeclareMethod",a,l)},r.assertTSEntityName=function(a,l){H("TSEntityName",a,l)},r.assertTSEnumDeclaration=function(a,l){H("TSEnumDeclaration",a,l)},r.assertTSEnumMember=function(a,l){H("TSEnumMember",a,l)},r.assertTSExportAssignment=function(a,l){H("TSExportAssignment",a,l)},r.assertTSExpressionWithTypeArguments=function(a,l){H("TSExpressionWithTypeArguments",a,l)},r.assertTSExternalModuleReference=function(a,l){H("TSExternalModuleReference",a,l)},r.assertTSFunctionType=function(a,l){H("TSFunctionType",a,l)},r.assertTSImportEqualsDeclaration=function(a,l){H("TSImportEqualsDeclaration",a,l)},r.assertTSImportType=function(a,l){H("TSImportType",a,l)},r.assertTSIndexSignature=function(a,l){H("TSIndexSignature",a,l)},r.assertTSIndexedAccessType=function(a,l){H("TSIndexedAccessType",a,l)},r.assertTSInferType=function(a,l){H("TSInferType",a,l)},r.assertTSInstantiationExpression=function(a,l){H("TSInstantiationExpression",a,l)},r.assertTSInterfaceBody=function(a,l){H("TSInterfaceBody",a,l)},r.assertTSInterfaceDeclaration=function(a,l){H("TSInterfaceDeclaration",a,l)},r.assertTSIntersectionType=function(a,l){H("TSIntersectionType",a,l)},r.assertTSIntrinsicKeyword=function(a,l){H("TSIntrinsicKeyword",a,l)},r.assertTSLiteralType=function(a,l){H("TSLiteralType",a,l)},r.assertTSMappedType=function(a,l){H("TSMappedType",a,l)},r.assertTSMethodSignature=function(a,l){H("TSMethodSignature",a,l)},r.assertTSModuleBlock=function(a,l){H("TSModuleBlock",a,l)},r.assertTSModuleDeclaration=function(a,l){H("TSModuleDeclaration",a,l)},r.assertTSNamedTupleMember=function(a,l){H("TSNamedTupleMember",a,l)},r.assertTSNamespaceExportDeclaration=function(a,l){H("TSNamespaceExportDeclaration",a,l)},r.assertTSNeverKeyword=function(a,l){H("TSNeverKeyword",a,l)},r.assertTSNonNullExpression=function(a,l){H("TSNonNullExpression",a,l)},r.assertTSNullKeyword=function(a,l){H("TSNullKeyword",a,l)},r.assertTSNumberKeyword=function(a,l){H("TSNumberKeyword",a,l)},r.assertTSObjectKeyword=function(a,l){H("TSObjectKeyword",a,l)},r.assertTSOptionalType=function(a,l){H("TSOptionalType",a,l)},r.assertTSParameterProperty=function(a,l){H("TSParameterProperty",a,l)},r.assertTSParenthesizedType=function(a,l){H("TSParenthesizedType",a,l)},r.assertTSPropertySignature=function(a,l){H("TSPropertySignature",a,l)},r.assertTSQualifiedName=function(a,l){H("TSQualifiedName",a,l)},r.assertTSRestType=function(a,l){H("TSRestType",a,l)},r.assertTSSatisfiesExpression=function(a,l){H("TSSatisfiesExpression",a,l)},r.assertTSStringKeyword=function(a,l){H("TSStringKeyword",a,l)},r.assertTSSymbolKeyword=function(a,l){H("TSSymbolKeyword",a,l)},r.assertTSThisType=function(a,l){H("TSThisType",a,l)},r.assertTSTupleType=function(a,l){H("TSTupleType",a,l)},r.assertTSType=function(a,l){H("TSType",a,l)},r.assertTSTypeAliasDeclaration=function(a,l){H("TSTypeAliasDeclaration",a,l)},r.assertTSTypeAnnotation=function(a,l){H("TSTypeAnnotation",a,l)},r.assertTSTypeAssertion=function(a,l){H("TSTypeAssertion",a,l)},r.assertTSTypeElement=function(a,l){H("TSTypeElement",a,l)},r.assertTSTypeLiteral=function(a,l){H("TSTypeLiteral",a,l)},r.assertTSTypeOperator=function(a,l){H("TSTypeOperator",a,l)},r.assertTSTypeParameter=function(a,l){H("TSTypeParameter",a,l)},r.assertTSTypeParameterDeclaration=function(a,l){H("TSTypeParameterDeclaration",a,l)},r.assertTSTypeParameterInstantiation=function(a,l){H("TSTypeParameterInstantiation",a,l)},r.assertTSTypePredicate=function(a,l){H("TSTypePredicate",a,l)},r.assertTSTypeQuery=function(a,l){H("TSTypeQuery",a,l)},r.assertTSTypeReference=function(a,l){H("TSTypeReference",a,l)},r.assertTSUndefinedKeyword=function(a,l){H("TSUndefinedKeyword",a,l)},r.assertTSUnionType=function(a,l){H("TSUnionType",a,l)},r.assertTSUnknownKeyword=function(a,l){H("TSUnknownKeyword",a,l)},r.assertTSVoidKeyword=function(a,l){H("TSVoidKeyword",a,l)},r.assertTaggedTemplateExpression=function(a,l){H("TaggedTemplateExpression",a,l)},r.assertTemplateElement=function(a,l){H("TemplateElement",a,l)},r.assertTemplateLiteral=function(a,l){H("TemplateLiteral",a,l)},r.assertTerminatorless=function(a,l){H("Terminatorless",a,l)},r.assertThisExpression=function(a,l){H("ThisExpression",a,l)},r.assertThisTypeAnnotation=function(a,l){H("ThisTypeAnnotation",a,l)},r.assertThrowStatement=function(a,l){H("ThrowStatement",a,l)},r.assertTopicReference=function(a,l){H("TopicReference",a,l)},r.assertTryStatement=function(a,l){H("TryStatement",a,l)},r.assertTupleExpression=function(a,l){H("TupleExpression",a,l)},r.assertTupleTypeAnnotation=function(a,l){H("TupleTypeAnnotation",a,l)},r.assertTypeAlias=function(a,l){H("TypeAlias",a,l)},r.assertTypeAnnotation=function(a,l){H("TypeAnnotation",a,l)},r.assertTypeCastExpression=function(a,l){H("TypeCastExpression",a,l)},r.assertTypeParameter=function(a,l){H("TypeParameter",a,l)},r.assertTypeParameterDeclaration=function(a,l){H("TypeParameterDeclaration",a,l)},r.assertTypeParameterInstantiation=function(a,l){H("TypeParameterInstantiation",a,l)},r.assertTypeScript=function(a,l){H("TypeScript",a,l)},r.assertTypeofTypeAnnotation=function(a,l){H("TypeofTypeAnnotation",a,l)},r.assertUnaryExpression=function(a,l){H("UnaryExpression",a,l)},r.assertUnaryLike=function(a,l){H("UnaryLike",a,l)},r.assertUnionTypeAnnotation=function(a,l){H("UnionTypeAnnotation",a,l)},r.assertUpdateExpression=function(a,l){H("UpdateExpression",a,l)},r.assertUserWhitespacable=function(a,l){H("UserWhitespacable",a,l)},r.assertV8IntrinsicIdentifier=function(a,l){H("V8IntrinsicIdentifier",a,l)},r.assertVariableDeclaration=function(a,l){H("VariableDeclaration",a,l)},r.assertVariableDeclarator=function(a,l){H("VariableDeclarator",a,l)},r.assertVariance=function(a,l){H("Variance",a,l)},r.assertVoidTypeAnnotation=function(a,l){H("VoidTypeAnnotation",a,l)},r.assertWhile=function(a,l){H("While",a,l)},r.assertWhileStatement=function(a,l){H("WhileStatement",a,l)},r.assertWithStatement=function(a,l){H("WithStatement",a,l)},r.assertYieldExpression=function(a,l){H("YieldExpression",a,l)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/is.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/deprecationWarning.js");function H(a,l,p){if(!(0,s.default)(a,l,p))throw new Error(`Expected type "${a}" with option ${JSON.stringify(p)}, but instead got "${l.type}".`)}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H){let a=(0,u.default)(H);return a.length===1?a[0]:(0,s.unionTypeAnnotation)(a)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js");r.default=function(u){switch(u){case"string":return(0,s.stringTypeAnnotation)();case"number":return(0,s.numberTypeAnnotation)();case"undefined":return(0,s.voidTypeAnnotation)();case"boolean":return(0,s.booleanTypeAnnotation)();case"function":return(0,s.genericTypeAnnotation)((0,s.identifier)("Function"));case"object":return(0,s.genericTypeAnnotation)((0,s.identifier)("Object"));case"symbol":return(0,s.genericTypeAnnotation)((0,s.identifier)("Symbol"));case"bigint":return(0,s.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+u)}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.anyTypeAnnotation=function(){return{type:"AnyTypeAnnotation"}},r.argumentPlaceholder=function(){return{type:"ArgumentPlaceholder"}},r.arrayExpression=function(d=[]){return(0,s.default)({type:"ArrayExpression",elements:d})},r.arrayPattern=function(d){return(0,s.default)({type:"ArrayPattern",elements:d})},r.arrayTypeAnnotation=function(d){return(0,s.default)({type:"ArrayTypeAnnotation",elementType:d})},r.arrowFunctionExpression=function(d,h,m=!1){return(0,s.default)({type:"ArrowFunctionExpression",params:d,body:h,async:m,expression:null})},r.assignmentExpression=function(d,h,m){return(0,s.default)({type:"AssignmentExpression",operator:d,left:h,right:m})},r.assignmentPattern=function(d,h){return(0,s.default)({type:"AssignmentPattern",left:d,right:h})},r.awaitExpression=function(d){return(0,s.default)({type:"AwaitExpression",argument:d})},r.bigIntLiteral=function(d){return(0,s.default)({type:"BigIntLiteral",value:d})},r.binaryExpression=function(d,h,m){return(0,s.default)({type:"BinaryExpression",operator:d,left:h,right:m})},r.bindExpression=function(d,h){return(0,s.default)({type:"BindExpression",object:d,callee:h})},r.blockStatement=function(d,h=[]){return(0,s.default)({type:"BlockStatement",body:d,directives:h})},r.booleanLiteral=function(d){return(0,s.default)({type:"BooleanLiteral",value:d})},r.booleanLiteralTypeAnnotation=function(d){return(0,s.default)({type:"BooleanLiteralTypeAnnotation",value:d})},r.booleanTypeAnnotation=function(){return{type:"BooleanTypeAnnotation"}},r.breakStatement=function(d=null){return(0,s.default)({type:"BreakStatement",label:d})},r.callExpression=function(d,h){return(0,s.default)({type:"CallExpression",callee:d,arguments:h})},r.catchClause=function(d=null,h){return(0,s.default)({type:"CatchClause",param:d,body:h})},r.classAccessorProperty=function(d,h=null,m=null,g=null,y=!1,_=!1){return(0,s.default)({type:"ClassAccessorProperty",key:d,value:h,typeAnnotation:m,decorators:g,computed:y,static:_})},r.classBody=function(d){return(0,s.default)({type:"ClassBody",body:d})},r.classDeclaration=function(d=null,h=null,m,g=null){return(0,s.default)({type:"ClassDeclaration",id:d,superClass:h,body:m,decorators:g})},r.classExpression=function(d=null,h=null,m,g=null){return(0,s.default)({type:"ClassExpression",id:d,superClass:h,body:m,decorators:g})},r.classImplements=function(d,h=null){return(0,s.default)({type:"ClassImplements",id:d,typeParameters:h})},r.classMethod=function(d="method",h,m,g,y=!1,_=!1,E=!1,A=!1){return(0,s.default)({type:"ClassMethod",kind:d,key:h,params:m,body:g,computed:y,static:_,generator:E,async:A})},r.classPrivateMethod=function(d="method",h,m,g,y=!1){return(0,s.default)({type:"ClassPrivateMethod",kind:d,key:h,params:m,body:g,static:y})},r.classPrivateProperty=function(d,h=null,m=null,g=!1){return(0,s.default)({type:"ClassPrivateProperty",key:d,value:h,decorators:m,static:g})},r.classProperty=function(d,h=null,m=null,g=null,y=!1,_=!1){return(0,s.default)({type:"ClassProperty",key:d,value:h,typeAnnotation:m,decorators:g,computed:y,static:_})},r.conditionalExpression=function(d,h,m){return(0,s.default)({type:"ConditionalExpression",test:d,consequent:h,alternate:m})},r.continueStatement=function(d=null){return(0,s.default)({type:"ContinueStatement",label:d})},r.debuggerStatement=function(){return{type:"DebuggerStatement"}},r.decimalLiteral=function(d){return(0,s.default)({type:"DecimalLiteral",value:d})},r.declareClass=function(d,h=null,m=null,g){return(0,s.default)({type:"DeclareClass",id:d,typeParameters:h,extends:m,body:g})},r.declareExportAllDeclaration=function(d){return(0,s.default)({type:"DeclareExportAllDeclaration",source:d})},r.declareExportDeclaration=function(d=null,h=null,m=null){return(0,s.default)({type:"DeclareExportDeclaration",declaration:d,specifiers:h,source:m})},r.declareFunction=function(d){return(0,s.default)({type:"DeclareFunction",id:d})},r.declareInterface=function(d,h=null,m=null,g){return(0,s.default)({type:"DeclareInterface",id:d,typeParameters:h,extends:m,body:g})},r.declareModule=function(d,h,m=null){return(0,s.default)({type:"DeclareModule",id:d,body:h,kind:m})},r.declareModuleExports=function(d){return(0,s.default)({type:"DeclareModuleExports",typeAnnotation:d})},r.declareOpaqueType=function(d,h=null,m=null){return(0,s.default)({type:"DeclareOpaqueType",id:d,typeParameters:h,supertype:m})},r.declareTypeAlias=function(d,h=null,m){return(0,s.default)({type:"DeclareTypeAlias",id:d,typeParameters:h,right:m})},r.declareVariable=function(d){return(0,s.default)({type:"DeclareVariable",id:d})},r.declaredPredicate=function(d){return(0,s.default)({type:"DeclaredPredicate",value:d})},r.decorator=function(d){return(0,s.default)({type:"Decorator",expression:d})},r.directive=function(d){return(0,s.default)({type:"Directive",value:d})},r.directiveLiteral=function(d){return(0,s.default)({type:"DirectiveLiteral",value:d})},r.doExpression=function(d,h=!1){return(0,s.default)({type:"DoExpression",body:d,async:h})},r.doWhileStatement=function(d,h){return(0,s.default)({type:"DoWhileStatement",test:d,body:h})},r.emptyStatement=function(){return{type:"EmptyStatement"}},r.emptyTypeAnnotation=function(){return{type:"EmptyTypeAnnotation"}},r.enumBooleanBody=function(d){return(0,s.default)({type:"EnumBooleanBody",members:d,explicitType:null,hasUnknownMembers:null})},r.enumBooleanMember=function(d){return(0,s.default)({type:"EnumBooleanMember",id:d,init:null})},r.enumDeclaration=function(d,h){return(0,s.default)({type:"EnumDeclaration",id:d,body:h})},r.enumDefaultedMember=function(d){return(0,s.default)({type:"EnumDefaultedMember",id:d})},r.enumNumberBody=function(d){return(0,s.default)({type:"EnumNumberBody",members:d,explicitType:null,hasUnknownMembers:null})},r.enumNumberMember=function(d,h){return(0,s.default)({type:"EnumNumberMember",id:d,init:h})},r.enumStringBody=function(d){return(0,s.default)({type:"EnumStringBody",members:d,explicitType:null,hasUnknownMembers:null})},r.enumStringMember=function(d,h){return(0,s.default)({type:"EnumStringMember",id:d,init:h})},r.enumSymbolBody=function(d){return(0,s.default)({type:"EnumSymbolBody",members:d,hasUnknownMembers:null})},r.existsTypeAnnotation=function(){return{type:"ExistsTypeAnnotation"}},r.exportAllDeclaration=function(d){return(0,s.default)({type:"ExportAllDeclaration",source:d})},r.exportDefaultDeclaration=function(d){return(0,s.default)({type:"ExportDefaultDeclaration",declaration:d})},r.exportDefaultSpecifier=function(d){return(0,s.default)({type:"ExportDefaultSpecifier",exported:d})},r.exportNamedDeclaration=function(d=null,h=[],m=null){return(0,s.default)({type:"ExportNamedDeclaration",declaration:d,specifiers:h,source:m})},r.exportNamespaceSpecifier=function(d){return(0,s.default)({type:"ExportNamespaceSpecifier",exported:d})},r.exportSpecifier=function(d,h){return(0,s.default)({type:"ExportSpecifier",local:d,exported:h})},r.expressionStatement=function(d){return(0,s.default)({type:"ExpressionStatement",expression:d})},r.file=function(d,h=null,m=null){return(0,s.default)({type:"File",program:d,comments:h,tokens:m})},r.forInStatement=function(d,h,m){return(0,s.default)({type:"ForInStatement",left:d,right:h,body:m})},r.forOfStatement=function(d,h,m,g=!1){return(0,s.default)({type:"ForOfStatement",left:d,right:h,body:m,await:g})},r.forStatement=function(d=null,h=null,m=null,g){return(0,s.default)({type:"ForStatement",init:d,test:h,update:m,body:g})},r.functionDeclaration=function(d=null,h,m,g=!1,y=!1){return(0,s.default)({type:"FunctionDeclaration",id:d,params:h,body:m,generator:g,async:y})},r.functionExpression=function(d=null,h,m,g=!1,y=!1){return(0,s.default)({type:"FunctionExpression",id:d,params:h,body:m,generator:g,async:y})},r.functionTypeAnnotation=function(d=null,h,m=null,g){return(0,s.default)({type:"FunctionTypeAnnotation",typeParameters:d,params:h,rest:m,returnType:g})},r.functionTypeParam=function(d=null,h){return(0,s.default)({type:"FunctionTypeParam",name:d,typeAnnotation:h})},r.genericTypeAnnotation=function(d,h=null){return(0,s.default)({type:"GenericTypeAnnotation",id:d,typeParameters:h})},r.identifier=function(d){return(0,s.default)({type:"Identifier",name:d})},r.ifStatement=function(d,h,m=null){return(0,s.default)({type:"IfStatement",test:d,consequent:h,alternate:m})},r.import=function(){return{type:"Import"}},r.importAttribute=function(d,h){return(0,s.default)({type:"ImportAttribute",key:d,value:h})},r.importDeclaration=function(d,h){return(0,s.default)({type:"ImportDeclaration",specifiers:d,source:h})},r.importDefaultSpecifier=function(d){return(0,s.default)({type:"ImportDefaultSpecifier",local:d})},r.importExpression=function(d,h=null){return(0,s.default)({type:"ImportExpression",source:d,options:h})},r.importNamespaceSpecifier=function(d){return(0,s.default)({type:"ImportNamespaceSpecifier",local:d})},r.importSpecifier=function(d,h){return(0,s.default)({type:"ImportSpecifier",local:d,imported:h})},r.indexedAccessType=function(d,h){return(0,s.default)({type:"IndexedAccessType",objectType:d,indexType:h})},r.inferredPredicate=function(){return{type:"InferredPredicate"}},r.interfaceDeclaration=function(d,h=null,m=null,g){return(0,s.default)({type:"InterfaceDeclaration",id:d,typeParameters:h,extends:m,body:g})},r.interfaceExtends=function(d,h=null){return(0,s.default)({type:"InterfaceExtends",id:d,typeParameters:h})},r.interfaceTypeAnnotation=function(d=null,h){return(0,s.default)({type:"InterfaceTypeAnnotation",extends:d,body:h})},r.interpreterDirective=function(d){return(0,s.default)({type:"InterpreterDirective",value:d})},r.intersectionTypeAnnotation=function(d){return(0,s.default)({type:"IntersectionTypeAnnotation",types:d})},r.jSXAttribute=r.jsxAttribute=function(d,h=null){return(0,s.default)({type:"JSXAttribute",name:d,value:h})},r.jSXClosingElement=r.jsxClosingElement=function(d){return(0,s.default)({type:"JSXClosingElement",name:d})},r.jSXClosingFragment=r.jsxClosingFragment=function(){return{type:"JSXClosingFragment"}},r.jSXElement=r.jsxElement=function(d,h=null,m,g=null){return(0,s.default)({type:"JSXElement",openingElement:d,closingElement:h,children:m,selfClosing:g})},r.jSXEmptyExpression=r.jsxEmptyExpression=function(){return{type:"JSXEmptyExpression"}},r.jSXExpressionContainer=r.jsxExpressionContainer=function(d){return(0,s.default)({type:"JSXExpressionContainer",expression:d})},r.jSXFragment=r.jsxFragment=function(d,h,m){return(0,s.default)({type:"JSXFragment",openingFragment:d,closingFragment:h,children:m})},r.jSXIdentifier=r.jsxIdentifier=function(d){return(0,s.default)({type:"JSXIdentifier",name:d})},r.jSXMemberExpression=r.jsxMemberExpression=function(d,h){return(0,s.default)({type:"JSXMemberExpression",object:d,property:h})},r.jSXNamespacedName=r.jsxNamespacedName=function(d,h){return(0,s.default)({type:"JSXNamespacedName",namespace:d,name:h})},r.jSXOpeningElement=r.jsxOpeningElement=function(d,h,m=!1){return(0,s.default)({type:"JSXOpeningElement",name:d,attributes:h,selfClosing:m})},r.jSXOpeningFragment=r.jsxOpeningFragment=function(){return{type:"JSXOpeningFragment"}},r.jSXSpreadAttribute=r.jsxSpreadAttribute=function(d){return(0,s.default)({type:"JSXSpreadAttribute",argument:d})},r.jSXSpreadChild=r.jsxSpreadChild=function(d){return(0,s.default)({type:"JSXSpreadChild",expression:d})},r.jSXText=r.jsxText=function(d){return(0,s.default)({type:"JSXText",value:d})},r.labeledStatement=function(d,h){return(0,s.default)({type:"LabeledStatement",label:d,body:h})},r.logicalExpression=function(d,h,m){return(0,s.default)({type:"LogicalExpression",operator:d,left:h,right:m})},r.memberExpression=function(d,h,m=!1,g=null){return(0,s.default)({type:"MemberExpression",object:d,property:h,computed:m,optional:g})},r.metaProperty=function(d,h){return(0,s.default)({type:"MetaProperty",meta:d,property:h})},r.mixedTypeAnnotation=function(){return{type:"MixedTypeAnnotation"}},r.moduleExpression=function(d){return(0,s.default)({type:"ModuleExpression",body:d})},r.newExpression=function(d,h){return(0,s.default)({type:"NewExpression",callee:d,arguments:h})},r.noop=function(){return{type:"Noop"}},r.nullLiteral=function(){return{type:"NullLiteral"}},r.nullLiteralTypeAnnotation=function(){return{type:"NullLiteralTypeAnnotation"}},r.nullableTypeAnnotation=function(d){return(0,s.default)({type:"NullableTypeAnnotation",typeAnnotation:d})},r.numberLiteral=function(d){return(0,u.default)("NumberLiteral","NumericLiteral","The node type "),H(d)},r.numberLiteralTypeAnnotation=function(d){return(0,s.default)({type:"NumberLiteralTypeAnnotation",value:d})},r.numberTypeAnnotation=function(){return{type:"NumberTypeAnnotation"}},r.numericLiteral=H,r.objectExpression=function(d){return(0,s.default)({type:"ObjectExpression",properties:d})},r.objectMethod=function(d="method",h,m,g,y=!1,_=!1,E=!1){return(0,s.default)({type:"ObjectMethod",kind:d,key:h,params:m,body:g,computed:y,generator:_,async:E})},r.objectPattern=function(d){return(0,s.default)({type:"ObjectPattern",properties:d})},r.objectProperty=function(d,h,m=!1,g=!1,y=null){return(0,s.default)({type:"ObjectProperty",key:d,value:h,computed:m,shorthand:g,decorators:y})},r.objectTypeAnnotation=function(d,h=[],m=[],g=[],y=!1){return(0,s.default)({type:"ObjectTypeAnnotation",properties:d,indexers:h,callProperties:m,internalSlots:g,exact:y})},r.objectTypeCallProperty=function(d){return(0,s.default)({type:"ObjectTypeCallProperty",value:d,static:null})},r.objectTypeIndexer=function(d=null,h,m,g=null){return(0,s.default)({type:"ObjectTypeIndexer",id:d,key:h,value:m,variance:g,static:null})},r.objectTypeInternalSlot=function(d,h,m,g,y){return(0,s.default)({type:"ObjectTypeInternalSlot",id:d,value:h,optional:m,static:g,method:y})},r.objectTypeProperty=function(d,h,m=null){return(0,s.default)({type:"ObjectTypeProperty",key:d,value:h,variance:m,kind:null,method:null,optional:null,proto:null,static:null})},r.objectTypeSpreadProperty=function(d){return(0,s.default)({type:"ObjectTypeSpreadProperty",argument:d})},r.opaqueType=function(d,h=null,m=null,g){return(0,s.default)({type:"OpaqueType",id:d,typeParameters:h,supertype:m,impltype:g})},r.optionalCallExpression=function(d,h,m){return(0,s.default)({type:"OptionalCallExpression",callee:d,arguments:h,optional:m})},r.optionalIndexedAccessType=function(d,h){return(0,s.default)({type:"OptionalIndexedAccessType",objectType:d,indexType:h,optional:null})},r.optionalMemberExpression=function(d,h,m=!1,g){return(0,s.default)({type:"OptionalMemberExpression",object:d,property:h,computed:m,optional:g})},r.parenthesizedExpression=function(d){return(0,s.default)({type:"ParenthesizedExpression",expression:d})},r.pipelineBareFunction=function(d){return(0,s.default)({type:"PipelineBareFunction",callee:d})},r.pipelinePrimaryTopicReference=function(){return{type:"PipelinePrimaryTopicReference"}},r.pipelineTopicExpression=function(d){return(0,s.default)({type:"PipelineTopicExpression",expression:d})},r.placeholder=function(d,h){return(0,s.default)({type:"Placeholder",expectedNode:d,name:h})},r.privateName=function(d){return(0,s.default)({type:"PrivateName",id:d})},r.program=function(d,h=[],m="script",g=null){return(0,s.default)({type:"Program",body:d,directives:h,sourceType:m,interpreter:g})},r.qualifiedTypeIdentifier=function(d,h){return(0,s.default)({type:"QualifiedTypeIdentifier",id:d,qualification:h})},r.recordExpression=function(d){return(0,s.default)({type:"RecordExpression",properties:d})},r.regExpLiteral=a,r.regexLiteral=function(d,h=""){return(0,u.default)("RegexLiteral","RegExpLiteral","The node type "),a(d,h)},r.restElement=l,r.restProperty=function(d){return(0,u.default)("RestProperty","RestElement","The node type "),l(d)},r.returnStatement=function(d=null){return(0,s.default)({type:"ReturnStatement",argument:d})},r.sequenceExpression=function(d){return(0,s.default)({type:"SequenceExpression",expressions:d})},r.spreadElement=p,r.spreadProperty=function(d){return(0,u.default)("SpreadProperty","SpreadElement","The node type "),p(d)},r.staticBlock=function(d){return(0,s.default)({type:"StaticBlock",body:d})},r.stringLiteral=function(d){return(0,s.default)({type:"StringLiteral",value:d})},r.stringLiteralTypeAnnotation=function(d){return(0,s.default)({type:"StringLiteralTypeAnnotation",value:d})},r.stringTypeAnnotation=function(){return{type:"StringTypeAnnotation"}},r.super=function(){return{type:"Super"}},r.switchCase=function(d=null,h){return(0,s.default)({type:"SwitchCase",test:d,consequent:h})},r.switchStatement=function(d,h){return(0,s.default)({type:"SwitchStatement",discriminant:d,cases:h})},r.symbolTypeAnnotation=function(){return{type:"SymbolTypeAnnotation"}},r.taggedTemplateExpression=function(d,h){return(0,s.default)({type:"TaggedTemplateExpression",tag:d,quasi:h})},r.templateElement=function(d,h=!1){return(0,s.default)({type:"TemplateElement",value:d,tail:h})},r.templateLiteral=function(d,h){return(0,s.default)({type:"TemplateLiteral",quasis:d,expressions:h})},r.thisExpression=function(){return{type:"ThisExpression"}},r.thisTypeAnnotation=function(){return{type:"ThisTypeAnnotation"}},r.throwStatement=function(d){return(0,s.default)({type:"ThrowStatement",argument:d})},r.topicReference=function(){return{type:"TopicReference"}},r.tryStatement=function(d,h=null,m=null){return(0,s.default)({type:"TryStatement",block:d,handler:h,finalizer:m})},r.tSAnyKeyword=r.tsAnyKeyword=function(){return{type:"TSAnyKeyword"}},r.tSArrayType=r.tsArrayType=function(d){return(0,s.default)({type:"TSArrayType",elementType:d})},r.tSAsExpression=r.tsAsExpression=function(d,h){return(0,s.default)({type:"TSAsExpression",expression:d,typeAnnotation:h})},r.tSBigIntKeyword=r.tsBigIntKeyword=function(){return{type:"TSBigIntKeyword"}},r.tSBooleanKeyword=r.tsBooleanKeyword=function(){return{type:"TSBooleanKeyword"}},r.tSCallSignatureDeclaration=r.tsCallSignatureDeclaration=function(d=null,h,m=null){return(0,s.default)({type:"TSCallSignatureDeclaration",typeParameters:d,parameters:h,typeAnnotation:m})},r.tSConditionalType=r.tsConditionalType=function(d,h,m,g){return(0,s.default)({type:"TSConditionalType",checkType:d,extendsType:h,trueType:m,falseType:g})},r.tSConstructSignatureDeclaration=r.tsConstructSignatureDeclaration=function(d=null,h,m=null){return(0,s.default)({type:"TSConstructSignatureDeclaration",typeParameters:d,parameters:h,typeAnnotation:m})},r.tSConstructorType=r.tsConstructorType=function(d=null,h,m=null){return(0,s.default)({type:"TSConstructorType",typeParameters:d,parameters:h,typeAnnotation:m})},r.tSDeclareFunction=r.tsDeclareFunction=function(d=null,h=null,m,g=null){return(0,s.default)({type:"TSDeclareFunction",id:d,typeParameters:h,params:m,returnType:g})},r.tSDeclareMethod=r.tsDeclareMethod=function(d=null,h,m=null,g,y=null){return(0,s.default)({type:"TSDeclareMethod",decorators:d,key:h,typeParameters:m,params:g,returnType:y})},r.tSEnumDeclaration=r.tsEnumDeclaration=function(d,h){return(0,s.default)({type:"TSEnumDeclaration",id:d,members:h})},r.tSEnumMember=r.tsEnumMember=function(d,h=null){return(0,s.default)({type:"TSEnumMember",id:d,initializer:h})},r.tSExportAssignment=r.tsExportAssignment=function(d){return(0,s.default)({type:"TSExportAssignment",expression:d})},r.tSExpressionWithTypeArguments=r.tsExpressionWithTypeArguments=function(d,h=null){return(0,s.default)({type:"TSExpressionWithTypeArguments",expression:d,typeParameters:h})},r.tSExternalModuleReference=r.tsExternalModuleReference=function(d){return(0,s.default)({type:"TSExternalModuleReference",expression:d})},r.tSFunctionType=r.tsFunctionType=function(d=null,h,m=null){return(0,s.default)({type:"TSFunctionType",typeParameters:d,parameters:h,typeAnnotation:m})},r.tSImportEqualsDeclaration=r.tsImportEqualsDeclaration=function(d,h){return(0,s.default)({type:"TSImportEqualsDeclaration",id:d,moduleReference:h,isExport:null})},r.tSImportType=r.tsImportType=function(d,h=null,m=null){return(0,s.default)({type:"TSImportType",argument:d,qualifier:h,typeParameters:m})},r.tSIndexSignature=r.tsIndexSignature=function(d,h=null){return(0,s.default)({type:"TSIndexSignature",parameters:d,typeAnnotation:h})},r.tSIndexedAccessType=r.tsIndexedAccessType=function(d,h){return(0,s.default)({type:"TSIndexedAccessType",objectType:d,indexType:h})},r.tSInferType=r.tsInferType=function(d){return(0,s.default)({type:"TSInferType",typeParameter:d})},r.tSInstantiationExpression=r.tsInstantiationExpression=function(d,h=null){return(0,s.default)({type:"TSInstantiationExpression",expression:d,typeParameters:h})},r.tSInterfaceBody=r.tsInterfaceBody=function(d){return(0,s.default)({type:"TSInterfaceBody",body:d})},r.tSInterfaceDeclaration=r.tsInterfaceDeclaration=function(d,h=null,m=null,g){return(0,s.default)({type:"TSInterfaceDeclaration",id:d,typeParameters:h,extends:m,body:g})},r.tSIntersectionType=r.tsIntersectionType=function(d){return(0,s.default)({type:"TSIntersectionType",types:d})},r.tSIntrinsicKeyword=r.tsIntrinsicKeyword=function(){return{type:"TSIntrinsicKeyword"}},r.tSLiteralType=r.tsLiteralType=function(d){return(0,s.default)({type:"TSLiteralType",literal:d})},r.tSMappedType=r.tsMappedType=function(d,h=null,m=null){return(0,s.default)({type:"TSMappedType",typeParameter:d,typeAnnotation:h,nameType:m})},r.tSMethodSignature=r.tsMethodSignature=function(d,h=null,m,g=null){return(0,s.default)({type:"TSMethodSignature",key:d,typeParameters:h,parameters:m,typeAnnotation:g,kind:null})},r.tSModuleBlock=r.tsModuleBlock=function(d){return(0,s.default)({type:"TSModuleBlock",body:d})},r.tSModuleDeclaration=r.tsModuleDeclaration=function(d,h){return(0,s.default)({type:"TSModuleDeclaration",id:d,body:h})},r.tSNamedTupleMember=r.tsNamedTupleMember=function(d,h,m=!1){return(0,s.default)({type:"TSNamedTupleMember",label:d,elementType:h,optional:m})},r.tSNamespaceExportDeclaration=r.tsNamespaceExportDeclaration=function(d){return(0,s.default)({type:"TSNamespaceExportDeclaration",id:d})},r.tSNeverKeyword=r.tsNeverKeyword=function(){return{type:"TSNeverKeyword"}},r.tSNonNullExpression=r.tsNonNullExpression=function(d){return(0,s.default)({type:"TSNonNullExpression",expression:d})},r.tSNullKeyword=r.tsNullKeyword=function(){return{type:"TSNullKeyword"}},r.tSNumberKeyword=r.tsNumberKeyword=function(){return{type:"TSNumberKeyword"}},r.tSObjectKeyword=r.tsObjectKeyword=function(){return{type:"TSObjectKeyword"}},r.tSOptionalType=r.tsOptionalType=function(d){return(0,s.default)({type:"TSOptionalType",typeAnnotation:d})},r.tSParameterProperty=r.tsParameterProperty=function(d){return(0,s.default)({type:"TSParameterProperty",parameter:d})},r.tSParenthesizedType=r.tsParenthesizedType=function(d){return(0,s.default)({type:"TSParenthesizedType",typeAnnotation:d})},r.tSPropertySignature=r.tsPropertySignature=function(d,h=null){return(0,s.default)({type:"TSPropertySignature",key:d,typeAnnotation:h,kind:null})},r.tSQualifiedName=r.tsQualifiedName=function(d,h){return(0,s.default)({type:"TSQualifiedName",left:d,right:h})},r.tSRestType=r.tsRestType=function(d){return(0,s.default)({type:"TSRestType",typeAnnotation:d})},r.tSSatisfiesExpression=r.tsSatisfiesExpression=function(d,h){return(0,s.default)({type:"TSSatisfiesExpression",expression:d,typeAnnotation:h})},r.tSStringKeyword=r.tsStringKeyword=function(){return{type:"TSStringKeyword"}},r.tSSymbolKeyword=r.tsSymbolKeyword=function(){return{type:"TSSymbolKeyword"}},r.tSThisType=r.tsThisType=function(){return{type:"TSThisType"}},r.tSTupleType=r.tsTupleType=function(d){return(0,s.default)({type:"TSTupleType",elementTypes:d})},r.tSTypeAliasDeclaration=r.tsTypeAliasDeclaration=function(d,h=null,m){return(0,s.default)({type:"TSTypeAliasDeclaration",id:d,typeParameters:h,typeAnnotation:m})},r.tSTypeAnnotation=r.tsTypeAnnotation=function(d){return(0,s.default)({type:"TSTypeAnnotation",typeAnnotation:d})},r.tSTypeAssertion=r.tsTypeAssertion=function(d,h){return(0,s.default)({type:"TSTypeAssertion",typeAnnotation:d,expression:h})},r.tSTypeLiteral=r.tsTypeLiteral=function(d){return(0,s.default)({type:"TSTypeLiteral",members:d})},r.tSTypeOperator=r.tsTypeOperator=function(d){return(0,s.default)({type:"TSTypeOperator",typeAnnotation:d,operator:null})},r.tSTypeParameter=r.tsTypeParameter=function(d=null,h=null,m){return(0,s.default)({type:"TSTypeParameter",constraint:d,default:h,name:m})},r.tSTypeParameterDeclaration=r.tsTypeParameterDeclaration=function(d){return(0,s.default)({type:"TSTypeParameterDeclaration",params:d})},r.tSTypeParameterInstantiation=r.tsTypeParameterInstantiation=function(d){return(0,s.default)({type:"TSTypeParameterInstantiation",params:d})},r.tSTypePredicate=r.tsTypePredicate=function(d,h=null,m=null){return(0,s.default)({type:"TSTypePredicate",parameterName:d,typeAnnotation:h,asserts:m})},r.tSTypeQuery=r.tsTypeQuery=function(d,h=null){return(0,s.default)({type:"TSTypeQuery",exprName:d,typeParameters:h})},r.tSTypeReference=r.tsTypeReference=function(d,h=null){return(0,s.default)({type:"TSTypeReference",typeName:d,typeParameters:h})},r.tSUndefinedKeyword=r.tsUndefinedKeyword=function(){return{type:"TSUndefinedKeyword"}},r.tSUnionType=r.tsUnionType=function(d){return(0,s.default)({type:"TSUnionType",types:d})},r.tSUnknownKeyword=r.tsUnknownKeyword=function(){return{type:"TSUnknownKeyword"}},r.tSVoidKeyword=r.tsVoidKeyword=function(){return{type:"TSVoidKeyword"}},r.tupleExpression=function(d=[]){return(0,s.default)({type:"TupleExpression",elements:d})},r.tupleTypeAnnotation=function(d){return(0,s.default)({type:"TupleTypeAnnotation",types:d})},r.typeAlias=function(d,h=null,m){return(0,s.default)({type:"TypeAlias",id:d,typeParameters:h,right:m})},r.typeAnnotation=function(d){return(0,s.default)({type:"TypeAnnotation",typeAnnotation:d})},r.typeCastExpression=function(d,h){return(0,s.default)({type:"TypeCastExpression",expression:d,typeAnnotation:h})},r.typeParameter=function(d=null,h=null,m=null){return(0,s.default)({type:"TypeParameter",bound:d,default:h,variance:m,name:null})},r.typeParameterDeclaration=function(d){return(0,s.default)({type:"TypeParameterDeclaration",params:d})},r.typeParameterInstantiation=function(d){return(0,s.default)({type:"TypeParameterInstantiation",params:d})},r.typeofTypeAnnotation=function(d){return(0,s.default)({type:"TypeofTypeAnnotation",argument:d})},r.unaryExpression=function(d,h,m=!0){return(0,s.default)({type:"UnaryExpression",operator:d,argument:h,prefix:m})},r.unionTypeAnnotation=function(d){return(0,s.default)({type:"UnionTypeAnnotation",types:d})},r.updateExpression=function(d,h,m=!1){return(0,s.default)({type:"UpdateExpression",operator:d,argument:h,prefix:m})},r.v8IntrinsicIdentifier=function(d){return(0,s.default)({type:"V8IntrinsicIdentifier",name:d})},r.variableDeclaration=function(d,h){return(0,s.default)({type:"VariableDeclaration",kind:d,declarations:h})},r.variableDeclarator=function(d,h=null){return(0,s.default)({type:"VariableDeclarator",id:d,init:h})},r.variance=function(d){return(0,s.default)({type:"Variance",kind:d})},r.voidTypeAnnotation=function(){return{type:"VoidTypeAnnotation"}},r.whileStatement=function(d,h){return(0,s.default)({type:"WhileStatement",test:d,body:h})},r.withStatement=function(d,h){return(0,s.default)({type:"WithStatement",object:d,body:h})},r.yieldExpression=function(d=null,h=!1){return(0,s.default)({type:"YieldExpression",argument:d,delegate:h})};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/validateNode.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/deprecationWarning.js");function H(d){return(0,s.default)({type:"NumericLiteral",value:d})}function a(d,h=""){return(0,s.default)({type:"RegExpLiteral",pattern:d,flags:h})}function l(d){return(0,s.default)({type:"RestElement",argument:d})}function p(d){return(0,s.default)({type:"SpreadElement",argument:d})}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/uppercase.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AnyTypeAnnotation",{enumerable:!0,get:function(){return s.anyTypeAnnotation}}),Object.defineProperty(r,"ArgumentPlaceholder",{enumerable:!0,get:function(){return s.argumentPlaceholder}}),Object.defineProperty(r,"ArrayExpression",{enumerable:!0,get:function(){return s.arrayExpression}}),Object.defineProperty(r,"ArrayPattern",{enumerable:!0,get:function(){return s.arrayPattern}}),Object.defineProperty(r,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return s.arrayTypeAnnotation}}),Object.defineProperty(r,"ArrowFunctionExpression",{enumerable:!0,get:function(){return s.arrowFunctionExpression}}),Object.defineProperty(r,"AssignmentExpression",{enumerable:!0,get:function(){return s.assignmentExpression}}),Object.defineProperty(r,"AssignmentPattern",{enumerable:!0,get:function(){return s.assignmentPattern}}),Object.defineProperty(r,"AwaitExpression",{enumerable:!0,get:function(){return s.awaitExpression}}),Object.defineProperty(r,"BigIntLiteral",{enumerable:!0,get:function(){return s.bigIntLiteral}}),Object.defineProperty(r,"BinaryExpression",{enumerable:!0,get:function(){return s.binaryExpression}}),Object.defineProperty(r,"BindExpression",{enumerable:!0,get:function(){return s.bindExpression}}),Object.defineProperty(r,"BlockStatement",{enumerable:!0,get:function(){return s.blockStatement}}),Object.defineProperty(r,"BooleanLiteral",{enumerable:!0,get:function(){return s.booleanLiteral}}),Object.defineProperty(r,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return s.booleanLiteralTypeAnnotation}}),Object.defineProperty(r,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return s.booleanTypeAnnotation}}),Object.defineProperty(r,"BreakStatement",{enumerable:!0,get:function(){return s.breakStatement}}),Object.defineProperty(r,"CallExpression",{enumerable:!0,get:function(){return s.callExpression}}),Object.defineProperty(r,"CatchClause",{enumerable:!0,get:function(){return s.catchClause}}),Object.defineProperty(r,"ClassAccessorProperty",{enumerable:!0,get:function(){return s.classAccessorProperty}}),Object.defineProperty(r,"ClassBody",{enumerable:!0,get:function(){return s.classBody}}),Object.defineProperty(r,"ClassDeclaration",{enumerable:!0,get:function(){return s.classDeclaration}}),Object.defineProperty(r,"ClassExpression",{enumerable:!0,get:function(){return s.classExpression}}),Object.defineProperty(r,"ClassImplements",{enumerable:!0,get:function(){return s.classImplements}}),Object.defineProperty(r,"ClassMethod",{enumerable:!0,get:function(){return s.classMethod}}),Object.defineProperty(r,"ClassPrivateMethod",{enumerable:!0,get:function(){return s.classPrivateMethod}}),Object.defineProperty(r,"ClassPrivateProperty",{enumerable:!0,get:function(){return s.classPrivateProperty}}),Object.defineProperty(r,"ClassProperty",{enumerable:!0,get:function(){return s.classProperty}}),Object.defineProperty(r,"ConditionalExpression",{enumerable:!0,get:function(){return s.conditionalExpression}}),Object.defineProperty(r,"ContinueStatement",{enumerable:!0,get:function(){return s.continueStatement}}),Object.defineProperty(r,"DebuggerStatement",{enumerable:!0,get:function(){return s.debuggerStatement}}),Object.defineProperty(r,"DecimalLiteral",{enumerable:!0,get:function(){return s.decimalLiteral}}),Object.defineProperty(r,"DeclareClass",{enumerable:!0,get:function(){return s.declareClass}}),Object.defineProperty(r,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return s.declareExportAllDeclaration}}),Object.defineProperty(r,"DeclareExportDeclaration",{enumerable:!0,get:function(){return s.declareExportDeclaration}}),Object.defineProperty(r,"DeclareFunction",{enumerable:!0,get:function(){return s.declareFunction}}),Object.defineProperty(r,"DeclareInterface",{enumerable:!0,get:function(){return s.declareInterface}}),Object.defineProperty(r,"DeclareModule",{enumerable:!0,get:function(){return s.declareModule}}),Object.defineProperty(r,"DeclareModuleExports",{enumerable:!0,get:function(){return s.declareModuleExports}}),Object.defineProperty(r,"DeclareOpaqueType",{enumerable:!0,get:function(){return s.declareOpaqueType}}),Object.defineProperty(r,"DeclareTypeAlias",{enumerable:!0,get:function(){return s.declareTypeAlias}}),Object.defineProperty(r,"DeclareVariable",{enumerable:!0,get:function(){return s.declareVariable}}),Object.defineProperty(r,"DeclaredPredicate",{enumerable:!0,get:function(){return s.declaredPredicate}}),Object.defineProperty(r,"Decorator",{enumerable:!0,get:function(){return s.decorator}}),Object.defineProperty(r,"Directive",{enumerable:!0,get:function(){return s.directive}}),Object.defineProperty(r,"DirectiveLiteral",{enumerable:!0,get:function(){return s.directiveLiteral}}),Object.defineProperty(r,"DoExpression",{enumerable:!0,get:function(){return s.doExpression}}),Object.defineProperty(r,"DoWhileStatement",{enumerable:!0,get:function(){return s.doWhileStatement}}),Object.defineProperty(r,"EmptyStatement",{enumerable:!0,get:function(){return s.emptyStatement}}),Object.defineProperty(r,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return s.emptyTypeAnnotation}}),Object.defineProperty(r,"EnumBooleanBody",{enumerable:!0,get:function(){return s.enumBooleanBody}}),Object.defineProperty(r,"EnumBooleanMember",{enumerable:!0,get:function(){return s.enumBooleanMember}}),Object.defineProperty(r,"EnumDeclaration",{enumerable:!0,get:function(){return s.enumDeclaration}}),Object.defineProperty(r,"EnumDefaultedMember",{enumerable:!0,get:function(){return s.enumDefaultedMember}}),Object.defineProperty(r,"EnumNumberBody",{enumerable:!0,get:function(){return s.enumNumberBody}}),Object.defineProperty(r,"EnumNumberMember",{enumerable:!0,get:function(){return s.enumNumberMember}}),Object.defineProperty(r,"EnumStringBody",{enumerable:!0,get:function(){return s.enumStringBody}}),Object.defineProperty(r,"EnumStringMember",{enumerable:!0,get:function(){return s.enumStringMember}}),Object.defineProperty(r,"EnumSymbolBody",{enumerable:!0,get:function(){return s.enumSymbolBody}}),Object.defineProperty(r,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return s.existsTypeAnnotation}}),Object.defineProperty(r,"ExportAllDeclaration",{enumerable:!0,get:function(){return s.exportAllDeclaration}}),Object.defineProperty(r,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return s.exportDefaultDeclaration}}),Object.defineProperty(r,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return s.exportDefaultSpecifier}}),Object.defineProperty(r,"ExportNamedDeclaration",{enumerable:!0,get:function(){return s.exportNamedDeclaration}}),Object.defineProperty(r,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return s.exportNamespaceSpecifier}}),Object.defineProperty(r,"ExportSpecifier",{enumerable:!0,get:function(){return s.exportSpecifier}}),Object.defineProperty(r,"ExpressionStatement",{enumerable:!0,get:function(){return s.expressionStatement}}),Object.defineProperty(r,"File",{enumerable:!0,get:function(){return s.file}}),Object.defineProperty(r,"ForInStatement",{enumerable:!0,get:function(){return s.forInStatement}}),Object.defineProperty(r,"ForOfStatement",{enumerable:!0,get:function(){return s.forOfStatement}}),Object.defineProperty(r,"ForStatement",{enumerable:!0,get:function(){return s.forStatement}}),Object.defineProperty(r,"FunctionDeclaration",{enumerable:!0,get:function(){return s.functionDeclaration}}),Object.defineProperty(r,"FunctionExpression",{enumerable:!0,get:function(){return s.functionExpression}}),Object.defineProperty(r,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return s.functionTypeAnnotation}}),Object.defineProperty(r,"FunctionTypeParam",{enumerable:!0,get:function(){return s.functionTypeParam}}),Object.defineProperty(r,"GenericTypeAnnotation",{enumerable:!0,get:function(){return s.genericTypeAnnotation}}),Object.defineProperty(r,"Identifier",{enumerable:!0,get:function(){return s.identifier}}),Object.defineProperty(r,"IfStatement",{enumerable:!0,get:function(){return s.ifStatement}}),Object.defineProperty(r,"Import",{enumerable:!0,get:function(){return s.import}}),Object.defineProperty(r,"ImportAttribute",{enumerable:!0,get:function(){return s.importAttribute}}),Object.defineProperty(r,"ImportDeclaration",{enumerable:!0,get:function(){return s.importDeclaration}}),Object.defineProperty(r,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return s.importDefaultSpecifier}}),Object.defineProperty(r,"ImportExpression",{enumerable:!0,get:function(){return s.importExpression}}),Object.defineProperty(r,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return s.importNamespaceSpecifier}}),Object.defineProperty(r,"ImportSpecifier",{enumerable:!0,get:function(){return s.importSpecifier}}),Object.defineProperty(r,"IndexedAccessType",{enumerable:!0,get:function(){return s.indexedAccessType}}),Object.defineProperty(r,"InferredPredicate",{enumerable:!0,get:function(){return s.inferredPredicate}}),Object.defineProperty(r,"InterfaceDeclaration",{enumerable:!0,get:function(){return s.interfaceDeclaration}}),Object.defineProperty(r,"InterfaceExtends",{enumerable:!0,get:function(){return s.interfaceExtends}}),Object.defineProperty(r,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return s.interfaceTypeAnnotation}}),Object.defineProperty(r,"InterpreterDirective",{enumerable:!0,get:function(){return s.interpreterDirective}}),Object.defineProperty(r,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return s.intersectionTypeAnnotation}}),Object.defineProperty(r,"JSXAttribute",{enumerable:!0,get:function(){return s.jsxAttribute}}),Object.defineProperty(r,"JSXClosingElement",{enumerable:!0,get:function(){return s.jsxClosingElement}}),Object.defineProperty(r,"JSXClosingFragment",{enumerable:!0,get:function(){return s.jsxClosingFragment}}),Object.defineProperty(r,"JSXElement",{enumerable:!0,get:function(){return s.jsxElement}}),Object.defineProperty(r,"JSXEmptyExpression",{enumerable:!0,get:function(){return s.jsxEmptyExpression}}),Object.defineProperty(r,"JSXExpressionContainer",{enumerable:!0,get:function(){return s.jsxExpressionContainer}}),Object.defineProperty(r,"JSXFragment",{enumerable:!0,get:function(){return s.jsxFragment}}),Object.defineProperty(r,"JSXIdentifier",{enumerable:!0,get:function(){return s.jsxIdentifier}}),Object.defineProperty(r,"JSXMemberExpression",{enumerable:!0,get:function(){return s.jsxMemberExpression}}),Object.defineProperty(r,"JSXNamespacedName",{enumerable:!0,get:function(){return s.jsxNamespacedName}}),Object.defineProperty(r,"JSXOpeningElement",{enumerable:!0,get:function(){return s.jsxOpeningElement}}),Object.defineProperty(r,"JSXOpeningFragment",{enumerable:!0,get:function(){return s.jsxOpeningFragment}}),Object.defineProperty(r,"JSXSpreadAttribute",{enumerable:!0,get:function(){return s.jsxSpreadAttribute}}),Object.defineProperty(r,"JSXSpreadChild",{enumerable:!0,get:function(){return s.jsxSpreadChild}}),Object.defineProperty(r,"JSXText",{enumerable:!0,get:function(){return s.jsxText}}),Object.defineProperty(r,"LabeledStatement",{enumerable:!0,get:function(){return s.labeledStatement}}),Object.defineProperty(r,"LogicalExpression",{enumerable:!0,get:function(){return s.logicalExpression}}),Object.defineProperty(r,"MemberExpression",{enumerable:!0,get:function(){return s.memberExpression}}),Object.defineProperty(r,"MetaProperty",{enumerable:!0,get:function(){return s.metaProperty}}),Object.defineProperty(r,"MixedTypeAnnotation",{enumerable:!0,get:function(){return s.mixedTypeAnnotation}}),Object.defineProperty(r,"ModuleExpression",{enumerable:!0,get:function(){return s.moduleExpression}}),Object.defineProperty(r,"NewExpression",{enumerable:!0,get:function(){return s.newExpression}}),Object.defineProperty(r,"Noop",{enumerable:!0,get:function(){return s.noop}}),Object.defineProperty(r,"NullLiteral",{enumerable:!0,get:function(){return s.nullLiteral}}),Object.defineProperty(r,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return s.nullLiteralTypeAnnotation}}),Object.defineProperty(r,"NullableTypeAnnotation",{enumerable:!0,get:function(){return s.nullableTypeAnnotation}}),Object.defineProperty(r,"NumberLiteral",{enumerable:!0,get:function(){return s.numberLiteral}}),Object.defineProperty(r,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return s.numberLiteralTypeAnnotation}}),Object.defineProperty(r,"NumberTypeAnnotation",{enumerable:!0,get:function(){return s.numberTypeAnnotation}}),Object.defineProperty(r,"NumericLiteral",{enumerable:!0,get:function(){return s.numericLiteral}}),Object.defineProperty(r,"ObjectExpression",{enumerable:!0,get:function(){return s.objectExpression}}),Object.defineProperty(r,"ObjectMethod",{enumerable:!0,get:function(){return s.objectMethod}}),Object.defineProperty(r,"ObjectPattern",{enumerable:!0,get:function(){return s.objectPattern}}),Object.defineProperty(r,"ObjectProperty",{enumerable:!0,get:function(){return s.objectProperty}}),Object.defineProperty(r,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return s.objectTypeAnnotation}}),Object.defineProperty(r,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return s.objectTypeCallProperty}}),Object.defineProperty(r,"ObjectTypeIndexer",{enumerable:!0,get:function(){return s.objectTypeIndexer}}),Object.defineProperty(r,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return s.objectTypeInternalSlot}}),Object.defineProperty(r,"ObjectTypeProperty",{enumerable:!0,get:function(){return s.objectTypeProperty}}),Object.defineProperty(r,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return s.objectTypeSpreadProperty}}),Object.defineProperty(r,"OpaqueType",{enumerable:!0,get:function(){return s.opaqueType}}),Object.defineProperty(r,"OptionalCallExpression",{enumerable:!0,get:function(){return s.optionalCallExpression}}),Object.defineProperty(r,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return s.optionalIndexedAccessType}}),Object.defineProperty(r,"OptionalMemberExpression",{enumerable:!0,get:function(){return s.optionalMemberExpression}}),Object.defineProperty(r,"ParenthesizedExpression",{enumerable:!0,get:function(){return s.parenthesizedExpression}}),Object.defineProperty(r,"PipelineBareFunction",{enumerable:!0,get:function(){return s.pipelineBareFunction}}),Object.defineProperty(r,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return s.pipelinePrimaryTopicReference}}),Object.defineProperty(r,"PipelineTopicExpression",{enumerable:!0,get:function(){return s.pipelineTopicExpression}}),Object.defineProperty(r,"Placeholder",{enumerable:!0,get:function(){return s.placeholder}}),Object.defineProperty(r,"PrivateName",{enumerable:!0,get:function(){return s.privateName}}),Object.defineProperty(r,"Program",{enumerable:!0,get:function(){return s.program}}),Object.defineProperty(r,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return s.qualifiedTypeIdentifier}}),Object.defineProperty(r,"RecordExpression",{enumerable:!0,get:function(){return s.recordExpression}}),Object.defineProperty(r,"RegExpLiteral",{enumerable:!0,get:function(){return s.regExpLiteral}}),Object.defineProperty(r,"RegexLiteral",{enumerable:!0,get:function(){return s.regexLiteral}}),Object.defineProperty(r,"RestElement",{enumerable:!0,get:function(){return s.restElement}}),Object.defineProperty(r,"RestProperty",{enumerable:!0,get:function(){return s.restProperty}}),Object.defineProperty(r,"ReturnStatement",{enumerable:!0,get:function(){return s.returnStatement}}),Object.defineProperty(r,"SequenceExpression",{enumerable:!0,get:function(){return s.sequenceExpression}}),Object.defineProperty(r,"SpreadElement",{enumerable:!0,get:function(){return s.spreadElement}}),Object.defineProperty(r,"SpreadProperty",{enumerable:!0,get:function(){return s.spreadProperty}}),Object.defineProperty(r,"StaticBlock",{enumerable:!0,get:function(){return s.staticBlock}}),Object.defineProperty(r,"StringLiteral",{enumerable:!0,get:function(){return s.stringLiteral}}),Object.defineProperty(r,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return s.stringLiteralTypeAnnotation}}),Object.defineProperty(r,"StringTypeAnnotation",{enumerable:!0,get:function(){return s.stringTypeAnnotation}}),Object.defineProperty(r,"Super",{enumerable:!0,get:function(){return s.super}}),Object.defineProperty(r,"SwitchCase",{enumerable:!0,get:function(){return s.switchCase}}),Object.defineProperty(r,"SwitchStatement",{enumerable:!0,get:function(){return s.switchStatement}}),Object.defineProperty(r,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return s.symbolTypeAnnotation}}),Object.defineProperty(r,"TSAnyKeyword",{enumerable:!0,get:function(){return s.tsAnyKeyword}}),Object.defineProperty(r,"TSArrayType",{enumerable:!0,get:function(){return s.tsArrayType}}),Object.defineProperty(r,"TSAsExpression",{enumerable:!0,get:function(){return s.tsAsExpression}}),Object.defineProperty(r,"TSBigIntKeyword",{enumerable:!0,get:function(){return s.tsBigIntKeyword}}),Object.defineProperty(r,"TSBooleanKeyword",{enumerable:!0,get:function(){return s.tsBooleanKeyword}}),Object.defineProperty(r,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return s.tsCallSignatureDeclaration}}),Object.defineProperty(r,"TSConditionalType",{enumerable:!0,get:function(){return s.tsConditionalType}}),Object.defineProperty(r,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return s.tsConstructSignatureDeclaration}}),Object.defineProperty(r,"TSConstructorType",{enumerable:!0,get:function(){return s.tsConstructorType}}),Object.defineProperty(r,"TSDeclareFunction",{enumerable:!0,get:function(){return s.tsDeclareFunction}}),Object.defineProperty(r,"TSDeclareMethod",{enumerable:!0,get:function(){return s.tsDeclareMethod}}),Object.defineProperty(r,"TSEnumDeclaration",{enumerable:!0,get:function(){return s.tsEnumDeclaration}}),Object.defineProperty(r,"TSEnumMember",{enumerable:!0,get:function(){return s.tsEnumMember}}),Object.defineProperty(r,"TSExportAssignment",{enumerable:!0,get:function(){return s.tsExportAssignment}}),Object.defineProperty(r,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return s.tsExpressionWithTypeArguments}}),Object.defineProperty(r,"TSExternalModuleReference",{enumerable:!0,get:function(){return s.tsExternalModuleReference}}),Object.defineProperty(r,"TSFunctionType",{enumerable:!0,get:function(){return s.tsFunctionType}}),Object.defineProperty(r,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return s.tsImportEqualsDeclaration}}),Object.defineProperty(r,"TSImportType",{enumerable:!0,get:function(){return s.tsImportType}}),Object.defineProperty(r,"TSIndexSignature",{enumerable:!0,get:function(){return s.tsIndexSignature}}),Object.defineProperty(r,"TSIndexedAccessType",{enumerable:!0,get:function(){return s.tsIndexedAccessType}}),Object.defineProperty(r,"TSInferType",{enumerable:!0,get:function(){return s.tsInferType}}),Object.defineProperty(r,"TSInstantiationExpression",{enumerable:!0,get:function(){return s.tsInstantiationExpression}}),Object.defineProperty(r,"TSInterfaceBody",{enumerable:!0,get:function(){return s.tsInterfaceBody}}),Object.defineProperty(r,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return s.tsInterfaceDeclaration}}),Object.defineProperty(r,"TSIntersectionType",{enumerable:!0,get:function(){return s.tsIntersectionType}}),Object.defineProperty(r,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return s.tsIntrinsicKeyword}}),Object.defineProperty(r,"TSLiteralType",{enumerable:!0,get:function(){return s.tsLiteralType}}),Object.defineProperty(r,"TSMappedType",{enumerable:!0,get:function(){return s.tsMappedType}}),Object.defineProperty(r,"TSMethodSignature",{enumerable:!0,get:function(){return s.tsMethodSignature}}),Object.defineProperty(r,"TSModuleBlock",{enumerable:!0,get:function(){return s.tsModuleBlock}}),Object.defineProperty(r,"TSModuleDeclaration",{enumerable:!0,get:function(){return s.tsModuleDeclaration}}),Object.defineProperty(r,"TSNamedTupleMember",{enumerable:!0,get:function(){return s.tsNamedTupleMember}}),Object.defineProperty(r,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return s.tsNamespaceExportDeclaration}}),Object.defineProperty(r,"TSNeverKeyword",{enumerable:!0,get:function(){return s.tsNeverKeyword}}),Object.defineProperty(r,"TSNonNullExpression",{enumerable:!0,get:function(){return s.tsNonNullExpression}}),Object.defineProperty(r,"TSNullKeyword",{enumerable:!0,get:function(){return s.tsNullKeyword}}),Object.defineProperty(r,"TSNumberKeyword",{enumerable:!0,get:function(){return s.tsNumberKeyword}}),Object.defineProperty(r,"TSObjectKeyword",{enumerable:!0,get:function(){return s.tsObjectKeyword}}),Object.defineProperty(r,"TSOptionalType",{enumerable:!0,get:function(){return s.tsOptionalType}}),Object.defineProperty(r,"TSParameterProperty",{enumerable:!0,get:function(){return s.tsParameterProperty}}),Object.defineProperty(r,"TSParenthesizedType",{enumerable:!0,get:function(){return s.tsParenthesizedType}}),Object.defineProperty(r,"TSPropertySignature",{enumerable:!0,get:function(){return s.tsPropertySignature}}),Object.defineProperty(r,"TSQualifiedName",{enumerable:!0,get:function(){return s.tsQualifiedName}}),Object.defineProperty(r,"TSRestType",{enumerable:!0,get:function(){return s.tsRestType}}),Object.defineProperty(r,"TSSatisfiesExpression",{enumerable:!0,get:function(){return s.tsSatisfiesExpression}}),Object.defineProperty(r,"TSStringKeyword",{enumerable:!0,get:function(){return s.tsStringKeyword}}),Object.defineProperty(r,"TSSymbolKeyword",{enumerable:!0,get:function(){return s.tsSymbolKeyword}}),Object.defineProperty(r,"TSThisType",{enumerable:!0,get:function(){return s.tsThisType}}),Object.defineProperty(r,"TSTupleType",{enumerable:!0,get:function(){return s.tsTupleType}}),Object.defineProperty(r,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return s.tsTypeAliasDeclaration}}),Object.defineProperty(r,"TSTypeAnnotation",{enumerable:!0,get:function(){return s.tsTypeAnnotation}}),Object.defineProperty(r,"TSTypeAssertion",{enumerable:!0,get:function(){return s.tsTypeAssertion}}),Object.defineProperty(r,"TSTypeLiteral",{enumerable:!0,get:function(){return s.tsTypeLiteral}}),Object.defineProperty(r,"TSTypeOperator",{enumerable:!0,get:function(){return s.tsTypeOperator}}),Object.defineProperty(r,"TSTypeParameter",{enumerable:!0,get:function(){return s.tsTypeParameter}}),Object.defineProperty(r,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return s.tsTypeParameterDeclaration}}),Object.defineProperty(r,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return s.tsTypeParameterInstantiation}}),Object.defineProperty(r,"TSTypePredicate",{enumerable:!0,get:function(){return s.tsTypePredicate}}),Object.defineProperty(r,"TSTypeQuery",{enumerable:!0,get:function(){return s.tsTypeQuery}}),Object.defineProperty(r,"TSTypeReference",{enumerable:!0,get:function(){return s.tsTypeReference}}),Object.defineProperty(r,"TSUndefinedKeyword",{enumerable:!0,get:function(){return s.tsUndefinedKeyword}}),Object.defineProperty(r,"TSUnionType",{enumerable:!0,get:function(){return s.tsUnionType}}),Object.defineProperty(r,"TSUnknownKeyword",{enumerable:!0,get:function(){return s.tsUnknownKeyword}}),Object.defineProperty(r,"TSVoidKeyword",{enumerable:!0,get:function(){return s.tsVoidKeyword}}),Object.defineProperty(r,"TaggedTemplateExpression",{enumerable:!0,get:function(){return s.taggedTemplateExpression}}),Object.defineProperty(r,"TemplateElement",{enumerable:!0,get:function(){return s.templateElement}}),Object.defineProperty(r,"TemplateLiteral",{enumerable:!0,get:function(){return s.templateLiteral}}),Object.defineProperty(r,"ThisExpression",{enumerable:!0,get:function(){return s.thisExpression}}),Object.defineProperty(r,"ThisTypeAnnotation",{enumerable:!0,get:function(){return s.thisTypeAnnotation}}),Object.defineProperty(r,"ThrowStatement",{enumerable:!0,get:function(){return s.throwStatement}}),Object.defineProperty(r,"TopicReference",{enumerable:!0,get:function(){return s.topicReference}}),Object.defineProperty(r,"TryStatement",{enumerable:!0,get:function(){return s.tryStatement}}),Object.defineProperty(r,"TupleExpression",{enumerable:!0,get:function(){return s.tupleExpression}}),Object.defineProperty(r,"TupleTypeAnnotation",{enumerable:!0,get:function(){return s.tupleTypeAnnotation}}),Object.defineProperty(r,"TypeAlias",{enumerable:!0,get:function(){return s.typeAlias}}),Object.defineProperty(r,"TypeAnnotation",{enumerable:!0,get:function(){return s.typeAnnotation}}),Object.defineProperty(r,"TypeCastExpression",{enumerable:!0,get:function(){return s.typeCastExpression}}),Object.defineProperty(r,"TypeParameter",{enumerable:!0,get:function(){return s.typeParameter}}),Object.defineProperty(r,"TypeParameterDeclaration",{enumerable:!0,get:function(){return s.typeParameterDeclaration}}),Object.defineProperty(r,"TypeParameterInstantiation",{enumerable:!0,get:function(){return s.typeParameterInstantiation}}),Object.defineProperty(r,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return s.typeofTypeAnnotation}}),Object.defineProperty(r,"UnaryExpression",{enumerable:!0,get:function(){return s.unaryExpression}}),Object.defineProperty(r,"UnionTypeAnnotation",{enumerable:!0,get:function(){return s.unionTypeAnnotation}}),Object.defineProperty(r,"UpdateExpression",{enumerable:!0,get:function(){return s.updateExpression}}),Object.defineProperty(r,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return s.v8IntrinsicIdentifier}}),Object.defineProperty(r,"VariableDeclaration",{enumerable:!0,get:function(){return s.variableDeclaration}}),Object.defineProperty(r,"VariableDeclarator",{enumerable:!0,get:function(){return s.variableDeclarator}}),Object.defineProperty(r,"Variance",{enumerable:!0,get:function(){return s.variance}}),Object.defineProperty(r,"VoidTypeAnnotation",{enumerable:!0,get:function(){return s.voidTypeAnnotation}}),Object.defineProperty(r,"WhileStatement",{enumerable:!0,get:function(){return s.whileStatement}}),Object.defineProperty(r,"WithStatement",{enumerable:!0,get:function(){return s.withStatement}}),Object.defineProperty(r,"YieldExpression",{enumerable:!0,get:function(){return s.yieldExpression}});var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/productions.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.buildUndefinedNode=function(){return(0,s.unaryExpression)("void",(0,s.numericLiteral)(0),!0)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/react/buildChildren.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H){let a=[];for(let l=0;l<H.children.length;l++){let p=H.children[l];(0,s.isJSXText)(p)?(0,u.default)(p,a):((0,s.isJSXExpressionContainer)(p)&&(p=p.expression),(0,s.isJSXEmptyExpression)(p)||a.push(p))}return a};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(a){let l=a.map(d=>(0,H.isTSTypeAnnotation)(d)?d.typeAnnotation:d),p=(0,u.default)(l);return p.length===1?p[0]:(0,s.tsUnionType)(p)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js"),H=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/validateNode.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H){let a=u.BUILDER_KEYS[H.type];for(let l of a)(0,s.default)(H,l,H[l]);return H};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/validate.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/clone.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){return(0,s.default)(u,!1)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneDeep.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){return(0,s.default)(u)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){return(0,s.default)(u,!0,!0)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneNode.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(h,m=!0,g=!1){return p(h,m,g,new Map)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js");let{hasOwn:H}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function a(h,m,g,y){return h&&typeof h.type=="string"?p(h,m,g,y):h}function l(h,m,g,y){return Array.isArray(h)?h.map(_=>a(_,m,g,y)):a(h,m,g,y)}function p(h,m=!0,g=!1,y){if(!h)return h;let{type:_}=h,E={type:h.type};if((0,u.isIdentifier)(h))E.name=h.name,H(h,"optional")&&typeof h.optional=="boolean"&&(E.optional=h.optional),H(h,"typeAnnotation")&&(E.typeAnnotation=m?l(h.typeAnnotation,!0,g,y):h.typeAnnotation);else{if(!H(s.NODE_FIELDS,_))throw new Error(`Unknown node type: "${_}"`);for(let A of Object.keys(s.NODE_FIELDS[_]))H(h,A)&&(E[A]=m?(0,u.isFile)(h)&&A==="comments"?d(h.comments,m,g,y):l(h[A],!0,g,y):h[A])}return H(h,"loc")&&(E.loc=g?null:h.loc),H(h,"leadingComments")&&(E.leadingComments=d(h.leadingComments,m,g,y)),H(h,"innerComments")&&(E.innerComments=d(h.innerComments,m,g,y)),H(h,"trailingComments")&&(E.trailingComments=d(h.trailingComments,m,g,y)),H(h,"extra")&&(E.extra=Object.assign({},h.extra)),E}function d(h,m,g,y){return h&&m?h.map(_=>{let E=y.get(_);if(E)return E;let{type:A,value:S,loc:T}=_,I={type:A,value:S,loc:T};return g&&(I.loc=null),y.set(_,I),I}):h}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){return(0,s.default)(u,!1,!0)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/addComment.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H,a,l){return(0,s.default)(u,H,[{type:l?"CommentLine":"CommentBlock",value:a}])};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/addComments.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/addComments.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(c,s,u){if(!u||!c)return c;let H=`${s}Comments`;return c[H]?s==="leading"?c[H]=u.concat(c[H]):c[H].push(...u):c[H]=u,c}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritInnerComments.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H){(0,s.default)("innerComments",u,H)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/inherit.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritLeadingComments.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H){(0,s.default)("leadingComments",u,H)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/inherit.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritTrailingComments.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H){(0,s.default)("trailingComments",u,H)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/inherit.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritsComments.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(a,l){return(0,s.default)(a,l),(0,u.default)(a,l),(0,H.default)(a,l),a};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritTrailingComments.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritLeadingComments.js"),H=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritInnerComments.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/removeComments.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){return s.COMMENT_KEYS.forEach(H=>{u[H]=null}),u};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/generated/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.WHILE_TYPES=r.USERWHITESPACABLE_TYPES=r.UNARYLIKE_TYPES=r.TYPESCRIPT_TYPES=r.TSTYPE_TYPES=r.TSTYPEELEMENT_TYPES=r.TSENTITYNAME_TYPES=r.TSBASETYPE_TYPES=r.TERMINATORLESS_TYPES=r.STATEMENT_TYPES=r.STANDARDIZED_TYPES=r.SCOPABLE_TYPES=r.PUREISH_TYPES=r.PROPERTY_TYPES=r.PRIVATE_TYPES=r.PATTERN_TYPES=r.PATTERNLIKE_TYPES=r.OBJECTMEMBER_TYPES=r.MODULESPECIFIER_TYPES=r.MODULEDECLARATION_TYPES=r.MISCELLANEOUS_TYPES=r.METHOD_TYPES=r.LVAL_TYPES=r.LOOP_TYPES=r.LITERAL_TYPES=r.JSX_TYPES=r.IMPORTOREXPORTDECLARATION_TYPES=r.IMMUTABLE_TYPES=r.FUNCTION_TYPES=r.FUNCTIONPARENT_TYPES=r.FOR_TYPES=r.FORXSTATEMENT_TYPES=r.FLOW_TYPES=r.FLOWTYPE_TYPES=r.FLOWPREDICATE_TYPES=r.FLOWDECLARATION_TYPES=r.FLOWBASEANNOTATION_TYPES=r.EXPRESSION_TYPES=r.EXPRESSIONWRAPPER_TYPES=r.EXPORTDECLARATION_TYPES=r.ENUMMEMBER_TYPES=r.ENUMBODY_TYPES=r.DECLARATION_TYPES=r.CONDITIONAL_TYPES=r.COMPLETIONSTATEMENT_TYPES=r.CLASS_TYPES=r.BLOCK_TYPES=r.BLOCKPARENT_TYPES=r.BINARY_TYPES=r.ACCESSOR_TYPES=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js");r.STANDARDIZED_TYPES=s.FLIPPED_ALIAS_KEYS.Standardized,r.EXPRESSION_TYPES=s.FLIPPED_ALIAS_KEYS.Expression,r.BINARY_TYPES=s.FLIPPED_ALIAS_KEYS.Binary,r.SCOPABLE_TYPES=s.FLIPPED_ALIAS_KEYS.Scopable,r.BLOCKPARENT_TYPES=s.FLIPPED_ALIAS_KEYS.BlockParent,r.BLOCK_TYPES=s.FLIPPED_ALIAS_KEYS.Block,r.STATEMENT_TYPES=s.FLIPPED_ALIAS_KEYS.Statement,r.TERMINATORLESS_TYPES=s.FLIPPED_ALIAS_KEYS.Terminatorless,r.COMPLETIONSTATEMENT_TYPES=s.FLIPPED_ALIAS_KEYS.CompletionStatement,r.CONDITIONAL_TYPES=s.FLIPPED_ALIAS_KEYS.Conditional,r.LOOP_TYPES=s.FLIPPED_ALIAS_KEYS.Loop,r.WHILE_TYPES=s.FLIPPED_ALIAS_KEYS.While,r.EXPRESSIONWRAPPER_TYPES=s.FLIPPED_ALIAS_KEYS.ExpressionWrapper,r.FOR_TYPES=s.FLIPPED_ALIAS_KEYS.For,r.FORXSTATEMENT_TYPES=s.FLIPPED_ALIAS_KEYS.ForXStatement,r.FUNCTION_TYPES=s.FLIPPED_ALIAS_KEYS.Function,r.FUNCTIONPARENT_TYPES=s.FLIPPED_ALIAS_KEYS.FunctionParent,r.PUREISH_TYPES=s.FLIPPED_ALIAS_KEYS.Pureish,r.DECLARATION_TYPES=s.FLIPPED_ALIAS_KEYS.Declaration,r.PATTERNLIKE_TYPES=s.FLIPPED_ALIAS_KEYS.PatternLike,r.LVAL_TYPES=s.FLIPPED_ALIAS_KEYS.LVal,r.TSENTITYNAME_TYPES=s.FLIPPED_ALIAS_KEYS.TSEntityName,r.LITERAL_TYPES=s.FLIPPED_ALIAS_KEYS.Literal,r.IMMUTABLE_TYPES=s.FLIPPED_ALIAS_KEYS.Immutable,r.USERWHITESPACABLE_TYPES=s.FLIPPED_ALIAS_KEYS.UserWhitespacable,r.METHOD_TYPES=s.FLIPPED_ALIAS_KEYS.Method,r.OBJECTMEMBER_TYPES=s.FLIPPED_ALIAS_KEYS.ObjectMember,r.PROPERTY_TYPES=s.FLIPPED_ALIAS_KEYS.Property,r.UNARYLIKE_TYPES=s.FLIPPED_ALIAS_KEYS.UnaryLike,r.PATTERN_TYPES=s.FLIPPED_ALIAS_KEYS.Pattern,r.CLASS_TYPES=s.FLIPPED_ALIAS_KEYS.Class;let u=r.IMPORTOREXPORTDECLARATION_TYPES=s.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration;r.EXPORTDECLARATION_TYPES=s.FLIPPED_ALIAS_KEYS.ExportDeclaration,r.MODULESPECIFIER_TYPES=s.FLIPPED_ALIAS_KEYS.ModuleSpecifier,r.ACCESSOR_TYPES=s.FLIPPED_ALIAS_KEYS.Accessor,r.PRIVATE_TYPES=s.FLIPPED_ALIAS_KEYS.Private,r.FLOW_TYPES=s.FLIPPED_ALIAS_KEYS.Flow,r.FLOWTYPE_TYPES=s.FLIPPED_ALIAS_KEYS.FlowType,r.FLOWBASEANNOTATION_TYPES=s.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,r.FLOWDECLARATION_TYPES=s.FLIPPED_ALIAS_KEYS.FlowDeclaration,r.FLOWPREDICATE_TYPES=s.FLIPPED_ALIAS_KEYS.FlowPredicate,r.ENUMBODY_TYPES=s.FLIPPED_ALIAS_KEYS.EnumBody,r.ENUMMEMBER_TYPES=s.FLIPPED_ALIAS_KEYS.EnumMember,r.JSX_TYPES=s.FLIPPED_ALIAS_KEYS.JSX,r.MISCELLANEOUS_TYPES=s.FLIPPED_ALIAS_KEYS.Miscellaneous,r.TYPESCRIPT_TYPES=s.FLIPPED_ALIAS_KEYS.TypeScript,r.TSTYPEELEMENT_TYPES=s.FLIPPED_ALIAS_KEYS.TSTypeElement,r.TSTYPE_TYPES=s.FLIPPED_ALIAS_KEYS.TSType,r.TSBASETYPE_TYPES=s.FLIPPED_ALIAS_KEYS.TSBaseType,r.MODULEDECLARATION_TYPES=u},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/index.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.UPDATE_OPERATORS=r.UNARY_OPERATORS=r.STRING_UNARY_OPERATORS=r.STATEMENT_OR_BLOCK_KEYS=r.NUMBER_UNARY_OPERATORS=r.NUMBER_BINARY_OPERATORS=r.NOT_LOCAL_BINDING=r.LOGICAL_OPERATORS=r.INHERIT_KEYS=r.FOR_INIT_KEYS=r.FLATTENABLE_KEYS=r.EQUALITY_BINARY_OPERATORS=r.COMPARISON_BINARY_OPERATORS=r.COMMENT_KEYS=r.BOOLEAN_UNARY_OPERATORS=r.BOOLEAN_NUMBER_BINARY_OPERATORS=r.BOOLEAN_BINARY_OPERATORS=r.BLOCK_SCOPED_SYMBOL=r.BINARY_OPERATORS=r.ASSIGNMENT_OPERATORS=void 0,r.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],r.FLATTENABLE_KEYS=["body","expressions"],r.FOR_INIT_KEYS=["left","init"],r.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];let c=r.LOGICAL_OPERATORS=["||","&&","??"],s=(r.UPDATE_OPERATORS=["++","--"],r.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="]),u=r.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],H=r.COMPARISON_BINARY_OPERATORS=[...u,"in","instanceof"],a=r.BOOLEAN_BINARY_OPERATORS=[...H,...s],l=r.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],p=(r.BINARY_OPERATORS=["+",...l,...a,"|>"],r.ASSIGNMENT_OPERATORS=["=","+=",...l.map(m=>m+"="),...c.map(m=>m+"=")],r.BOOLEAN_UNARY_OPERATORS=["delete","!"]),d=r.NUMBER_UNARY_OPERATORS=["+","-","~"],h=r.STRING_UNARY_OPERATORS=["typeof"];r.UNARY_OPERATORS=["void","throw",...p,...d,...h],r.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},r.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),r.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/ensureBlock.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H="body"){let a=(0,s.default)(u[H],u);return u[H]=a,a};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toBlock.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function p(d,h){let m=[],g=!0;for(let y of d)if((0,u.isEmptyStatement)(y)||(g=!1),(0,u.isExpression)(y))m.push(y);else if((0,u.isExpressionStatement)(y))m.push(y.expression);else if((0,u.isVariableDeclaration)(y)){if(y.kind!=="var")return;for(let _ of y.declarations){let E=(0,s.default)(_);for(let A of Object.keys(E))h.push({kind:y.kind,id:(0,l.default)(E[A])});_.init&&m.push((0,H.assignmentExpression)("=",_.id,_.init))}g=!0}else if((0,u.isIfStatement)(y)){let _=y.consequent?p([y.consequent],h):(0,a.buildUndefinedNode)(),E=y.alternate?p([y.alternate],h):(0,a.buildUndefinedNode)();if(!_||!E)return;m.push((0,H.conditionalExpression)(y.test,_,E))}else if((0,u.isBlockStatement)(y)){let _=p(y.body,h);if(!_)return;m.push(_)}else{if(!(0,u.isEmptyStatement)(y))return;d.indexOf(y)===0&&(g=!0)}return g&&m.push((0,a.buildUndefinedNode)()),m.length===1?m[0]:(0,H.sequenceExpression)(m)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js"),H=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js"),a=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/productions.js"),l=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){return(u=(0,s.default)(u))!=="eval"&&u!=="arguments"||(u="_"+u),u};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toIdentifier.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toBlock.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H,a){if((0,s.isBlockStatement)(H))return H;let l=[];return(0,s.isEmptyStatement)(H)?l=[]:((0,s.isStatement)(H)||(H=(0,s.isFunction)(a)?(0,u.returnStatement)(H):(0,u.expressionStatement)(H)),l=[H]),(0,u.blockStatement)(l)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toComputedKey.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H,a=H.key||H.property){return!H.computed&&(0,s.isIdentifier)(a)&&(a=(0,u.stringLiteral)(a.name)),a};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toExpression.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js");r.default=function(u){if((0,s.isExpressionStatement)(u)&&(u=u.expression),(0,s.isExpression)(u))return u;if((0,s.isClass)(u)?u.type="ClassExpression":(0,s.isFunction)(u)&&(u.type="FunctionExpression"),!(0,s.isExpression)(u))throw new Error(`cannot turn ${u.type} to an expression`);return u}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toIdentifier.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H){H+="";let a="";for(let l of H)a+=(0,u.isIdentifierChar)(l.codePointAt(0))?l:"-";return a=a.replace(/^[-0-9]+/,""),a=a.replace(/[-\s]+(.)?/g,function(l,p){return p?p.toUpperCase():""}),(0,s.default)(a)||(a=`_${a}`),a||"_"};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),u=c("./node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toKeyAlias.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=a;var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneNode.js"),H=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js");function a(l,p=l.key){let d;return l.kind==="method"?a.increment()+"":(d=(0,s.isIdentifier)(p)?p.name:(0,s.isStringLiteral)(p)?JSON.stringify(p.value):JSON.stringify((0,H.default)((0,u.default)(p))),l.computed&&(d=`[${d}]`),l.static&&(d=`static:${d}`),d)}a.uid=0,a.increment=function(){return a.uid>=Number.MAX_SAFE_INTEGER?a.uid=0:a.uid++}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toSequenceExpression.js":(o,r,c)=>{"use strict";r.default=function(u,H){if(u==null||!u.length)return;let a=[],l=(0,s.default)(u,a);if(l){for(let p of a)H.push(p);return l}};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toStatement.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js");r.default=function(H,a){if((0,s.isStatement)(H))return H;let l,p=!1;if((0,s.isClass)(H))p=!0,l="ClassDeclaration";else if((0,s.isFunction)(H))p=!0,l="FunctionDeclaration";else if((0,s.isAssignmentExpression)(H))return(0,u.expressionStatement)(H);if(p&&!H.id&&(l=!1),!l){if(a)return!1;throw new Error(`cannot turn ${H.type} to a statement`)}return H.type=l,H}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/valueToNode.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js");r.default=function a(l){if(l===void 0)return(0,u.identifier)("undefined");if(l===!0||l===!1)return(0,u.booleanLiteral)(l);if(l===null)return(0,u.nullLiteral)();if(typeof l=="string")return(0,u.stringLiteral)(l);if(typeof l=="number"){let p;if(Number.isFinite(l))p=(0,u.numericLiteral)(Math.abs(l));else{let d;d=Number.isNaN(l)?(0,u.numericLiteral)(0):(0,u.numericLiteral)(1),p=(0,u.binaryExpression)("/",d,(0,u.numericLiteral)(0))}return(l<0||Object.is(l,-0))&&(p=(0,u.unaryExpression)("-",p)),p}if(function(p){return H(p)==="[object RegExp]"}(l)){let p=l.source,d=l.toString().match(/\/([a-z]+|)$/)[1];return(0,u.regExpLiteral)(p,d)}if(Array.isArray(l))return(0,u.arrayExpression)(l.map(a));if(function(p){if(typeof p!="object"||p===null||Object.prototype.toString.call(p)!=="[object Object]")return!1;let d=Object.getPrototypeOf(p);return d===null||Object.getPrototypeOf(d)===null}(l)){let p=[];for(let d of Object.keys(l)){let h;h=(0,s.default)(d)?(0,u.identifier)(d):(0,u.stringLiteral)(d),p.push((0,u.objectProperty)(h,a(l[d])))}return(0,u.objectExpression)(p)}throw new Error("don't know how to turn this value into a node")};let H=Function.call.bind(Object.prototype.toString)},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/core.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.patternLikeCommon=r.functionTypeAnnotationCommon=r.functionDeclarationCommon=r.functionCommon=r.classMethodOrPropertyCommon=r.classMethodOrDeclareMethodCommon=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/is.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),H=c("./node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/index.js"),a=c("./node_modules/.pnpm/@babel+helper-string-parser@7.24.7/node_modules/@babel/helper-string-parser/lib/index.js"),l=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/index.js"),p=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/utils.js");let d=(0,p.defineAliasedType)("Standardized");d("ArrayExpression",{fields:{elements:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]}),d("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,p.assertValueType)("string");let A=(0,p.assertOneOf)(...l.ASSIGNMENT_OPERATORS),S=(0,p.assertOneOf)("=");return function(T,I,L){((0,s.default)("Pattern",T.left)?S:A)(T,I,L)}}()},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,p.assertNodeType)("LVal","OptionalMemberExpression")},right:{validate:(0,p.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),d("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,p.assertOneOf)(...l.BINARY_OPERATORS)},left:{validate:function(){let A=(0,p.assertNodeType)("Expression"),S=(0,p.assertNodeType)("Expression","PrivateName");return Object.assign(function(T,I,L){(T.operator==="in"?S:A)(T,I,L)},{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:(0,p.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),d("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,p.assertValueType)("string")}}}),d("Directive",{visitor:["value"],fields:{value:{validate:(0,p.assertNodeType)("DirectiveLiteral")}}}),d("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,p.assertValueType)("string")}}}),d("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Directive"))),default:[]},body:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]}),d("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,p.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),d("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,p.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Expression","SpreadElement","ArgumentPlaceholder")))}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,p.assertOneOf)(!0,!1),optional:!0}},{typeArguments:{validate:(0,p.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,p.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),d("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,p.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,p.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),d("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,p.assertNodeType)("Expression")},consequent:{validate:(0,p.assertNodeType)("Expression")},alternate:{validate:(0,p.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),d("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,p.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),d("DebuggerStatement",{aliases:["Statement"]}),d("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,p.assertNodeType)("Expression")},body:{validate:(0,p.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),d("EmptyStatement",{aliases:["Statement"]}),d("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,p.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),d("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,p.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.assertEach)((0,p.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,p.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}}),d("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,p.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,p.assertNodeType)("Expression")},body:{validate:(0,p.assertNodeType)("Statement")}}}),d("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,p.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,p.assertNodeType)("Expression"),optional:!0},update:{validate:(0,p.assertNodeType)("Expression"),optional:!0},body:{validate:(0,p.assertNodeType)("Statement")}}});let h=()=>({params:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:!1},async:{default:!1}});r.functionCommon=h;let m=()=>({returnType:{validate:(0,p.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,p.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});r.functionTypeAnnotationCommon=m;let g=()=>Object.assign({},h(),{declare:{validate:(0,p.assertValueType)("boolean"),optional:!0},id:{validate:(0,p.assertNodeType)("Identifier"),optional:!0}});r.functionDeclarationCommon=g,d("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},g(),m(),{body:{validate:(0,p.assertNodeType)("BlockStatement")},predicate:{validate:(0,p.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};let A=(0,p.assertNodeType)("Identifier");return function(S,T,I){(0,s.default)("ExportDefaultDeclaration",S)||A(I,"id",I.id)}}()}),d("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},h(),m(),{id:{validate:(0,p.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,p.assertNodeType)("BlockStatement")},predicate:{validate:(0,p.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});let y=()=>({typeAnnotation:{validate:(0,p.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,p.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator"))),optional:!0}});r.patternLikeCommon=y,d("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},y(),{name:{validate:(0,p.chain)((0,p.assertValueType)("string"),Object.assign(function(A,S,T){if(process.env.BABEL_TYPES_8_BREAKING&&!(0,u.default)(T,!1))throw new TypeError(`"${T}" is not a valid identifier name`)},{type:"string"}))}}),validate(A,S,T){if(!process.env.BABEL_TYPES_8_BREAKING)return;let I=/\.(\w+)$/.exec(S);if(!I)return;let[,L]=I,x={computed:!1};if(L==="property"){if((0,s.default)("MemberExpression",A,x)||(0,s.default)("OptionalMemberExpression",A,x))return}else if(L==="key"){if((0,s.default)("Property",A,x)||(0,s.default)("Method",A,x))return}else if(L==="exported"){if((0,s.default)("ExportSpecifier",A))return}else if(L==="imported"){if((0,s.default)("ImportSpecifier",A,{imported:T}))return}else if(L==="meta"&&(0,s.default)("MetaProperty",A,{meta:T}))return;if(((0,H.isKeyword)(T.name)||(0,H.isReservedWord)(T.name,!1))&&T.name!=="this")throw new TypeError(`"${T.name}" is not a valid identifier`)}}),d("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,p.assertNodeType)("Expression")},consequent:{validate:(0,p.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,p.assertNodeType)("Statement")}}}),d("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,p.assertNodeType)("Identifier")},body:{validate:(0,p.assertNodeType)("Statement")}}}),d("StringLiteral",{builder:["value"],fields:{value:{validate:(0,p.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),d("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,p.chain)((0,p.assertValueType)("number"),Object.assign(function(A,S,T){(1/T<0||!Number.isFinite(T))&&new Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${T}) instead.`)},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]}),d("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),d("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,p.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),d("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,p.assertValueType)("string")},flags:{validate:(0,p.chain)((0,p.assertValueType)("string"),Object.assign(function(A,S,T){if(!process.env.BABEL_TYPES_8_BREAKING)return;let I=/[^gimsuy]/.exec(T);if(I)throw new TypeError(`"${I[0]}" is not a valid RegExp flag`)},{type:"string"})),default:""}}}),d("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,p.assertOneOf)(...l.LOGICAL_OPERATORS)},left:{validate:(0,p.assertNodeType)("Expression")},right:{validate:(0,p.assertNodeType)("Expression")}}}),d("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,p.assertNodeType)("Expression","Super")},property:{validate:function(){let A=(0,p.assertNodeType)("Identifier","PrivateName"),S=(0,p.assertNodeType)("Expression"),T=function(I,L,x){(I.computed?S:A)(I,L,x)};return T.oneOfNodeTypes=["Expression","Identifier","PrivateName"],T}()},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,p.assertOneOf)(!0,!1),optional:!0}})}),d("NewExpression",{inherits:"CallExpression"}),d("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,p.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,p.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Directive"))),default:[]},body:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]}),d("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}}),d("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},h(),m(),{kind:Object.assign({validate:(0,p.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:function(){let A=(0,p.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),S=(0,p.assertNodeType)("Expression"),T=function(I,L,x){(I.computed?S:A)(I,L,x)};return T.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],T}()},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator"))),optional:!0},body:{validate:(0,p.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),d("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:function(){let A=(0,p.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),S=(0,p.assertNodeType)("Expression");return Object.assign(function(T,I,L){(T.computed?S:A)(T,I,L)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})}()},value:{validate:(0,p.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,p.chain)((0,p.assertValueType)("boolean"),Object.assign(function(A,S,T){if(process.env.BABEL_TYPES_8_BREAKING&&T&&A.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")},{type:"boolean"}),function(A,S,T){if(process.env.BABEL_TYPES_8_BREAKING&&T&&!(0,s.default)("Identifier",A.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}),default:!1},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){let A=(0,p.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),S=(0,p.assertNodeType)("Expression");return function(T,I,L){process.env.BABEL_TYPES_8_BREAKING&&((0,s.default)("ObjectPattern",T)?A:S)(L,"value",L.value)}}()}),d("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},y(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,p.assertNodeType)("LVal")}}),validate(A,S){if(!process.env.BABEL_TYPES_8_BREAKING)return;let T=/(\w+)\[(\d+)\]/.exec(S);if(!T)throw new Error("Internal Babel error: malformed key.");let[,I,L]=T;if(A[I].length>+L+1)throw new TypeError(`RestElement must be last element of ${I}`)}}),d("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,p.assertNodeType)("Expression"),optional:!0}}}),d("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Expression")))}},aliases:["Expression"]}),d("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,p.assertNodeType)("Expression")}}}),d("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,p.assertNodeType)("Expression"),optional:!0},consequent:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Statement")))}}}),d("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,p.assertNodeType)("Expression")},cases:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("SwitchCase")))}}}),d("ThisExpression",{aliases:["Expression"]}),d("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,p.assertNodeType)("Expression")}}}),d("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,p.chain)((0,p.assertNodeType)("BlockStatement"),Object.assign(function(A){if(process.env.BABEL_TYPES_8_BREAKING&&!A.handler&&!A.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:!0,validate:(0,p.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,p.assertNodeType)("BlockStatement")}}}),d("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,p.assertNodeType)("Expression")},operator:{validate:(0,p.assertOneOf)(...l.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),d("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.assertNodeType)("Identifier","MemberExpression"):(0,p.assertNodeType)("Expression")},operator:{validate:(0,p.assertOneOf)(...l.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),d("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,p.assertValueType)("boolean"),optional:!0},kind:{validate:(0,p.assertOneOf)("var","let","const","using","await using")},declarations:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("VariableDeclarator")))}},validate(A,S,T){if(process.env.BABEL_TYPES_8_BREAKING&&(0,s.default)("ForXStatement",A,{left:T})&&T.declarations.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${A.type}`)}}),d("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,p.assertNodeType)("LVal");let A=(0,p.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),S=(0,p.assertNodeType)("Identifier");return function(T,I,L){(T.init?A:S)(T,I,L)}}()},definite:{optional:!0,validate:(0,p.assertValueType)("boolean")},init:{optional:!0,validate:(0,p.assertNodeType)("Expression")}}}),d("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,p.assertNodeType)("Expression")},body:{validate:(0,p.assertNodeType)("Statement")}}}),d("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,p.assertNodeType)("Expression")},body:{validate:(0,p.assertNodeType)("Statement")}}}),d("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},y(),{left:{validate:(0,p.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,p.assertNodeType)("Expression")},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator"))),optional:!0}})}),d("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},y(),{elements:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeOrValueType)("null","PatternLike","LVal")))}})}),d("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},h(),m(),{expression:{validate:(0,p.assertValueType)("boolean")},body:{validate:(0,p.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,p.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})}),d("ClassBody",{visitor:["body"],fields:{body:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}}),d("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,p.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,p.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,p.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,p.assertNodeType)("Expression")},superTypeParameters:{validate:(0,p.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,p.assertNodeType)("InterfaceExtends"),optional:!0}}}),d("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,p.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,p.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,p.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,p.assertNodeType)("Expression")},superTypeParameters:{validate:(0,p.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,p.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,p.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,p.assertValueType)("boolean"),optional:!0}},validate:function(){let A=(0,p.assertNodeType)("Identifier");return function(S,T,I){process.env.BABEL_TYPES_8_BREAKING&&((0,s.default)("ExportDefaultDeclaration",S)||A(I,"id",I.id))}}()}),d("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{source:{validate:(0,p.assertNodeType)("StringLiteral")},exportKind:(0,p.validateOptional)((0,p.assertOneOf)("type","value")),attributes:{optional:!0,validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("ImportAttribute")))}}}),d("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,p.assertNodeType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression")},exportKind:(0,p.validateOptional)((0,p.assertOneOf)("value"))}}),d("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:(0,p.chain)((0,p.assertNodeType)("Declaration"),Object.assign(function(A,S,T){if(process.env.BABEL_TYPES_8_BREAKING&&T&&A.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")},{oneOfNodeTypes:["Declaration"]}),function(A,S,T){if(process.env.BABEL_TYPES_8_BREAKING&&T&&A.source)throw new TypeError("Cannot export a declaration from a source")})},attributes:{optional:!0,validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)(function(){let A=(0,p.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),S=(0,p.assertNodeType)("ExportSpecifier");return process.env.BABEL_TYPES_8_BREAKING?function(T,I,L){(T.source?A:S)(T,I,L)}:A}()))},source:{validate:(0,p.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,p.validateOptional)((0,p.assertOneOf)("type","value"))}}),d("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,p.assertNodeType)("Identifier")},exported:{validate:(0,p.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,p.assertOneOf)("type","value"),optional:!0}}}),d("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,p.assertNodeType)("VariableDeclaration","LVal");let A=(0,p.assertNodeType)("VariableDeclaration"),S=(0,p.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return function(T,I,L){(0,s.default)("VariableDeclaration",L)?A(T,I,L):S(T,I,L)}}()},right:{validate:(0,p.assertNodeType)("Expression")},body:{validate:(0,p.assertNodeType)("Statement")},await:{default:!1}}}),d("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:{attributes:{optional:!0,validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("ImportAttribute")))},module:{optional:!0,validate:(0,p.assertValueType)("boolean")},phase:{default:null,validate:(0,p.assertOneOf)("source","defer")},specifiers:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,p.assertNodeType)("StringLiteral")},importKind:{validate:(0,p.assertOneOf)("type","typeof","value"),optional:!0}}}),d("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,p.assertNodeType)("Identifier")}}}),d("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,p.assertNodeType)("Identifier")}}}),d("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,p.assertNodeType)("Identifier")},imported:{validate:(0,p.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,p.assertOneOf)("type","typeof","value"),optional:!0}}}),d("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,p.assertOneOf)("source","defer")},source:{validate:(0,p.assertNodeType)("Expression")},options:{validate:(0,p.assertNodeType)("Expression"),optional:!0}}}),d("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,p.chain)((0,p.assertNodeType)("Identifier"),Object.assign(function(A,S,T){if(!process.env.BABEL_TYPES_8_BREAKING)return;let I;switch(T.name){case"function":I="sent";break;case"new":I="target";break;case"import":I="meta"}if(!(0,s.default)("Identifier",A.property,{name:I}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,p.assertNodeType)("Identifier")}}});let _=()=>({abstract:{validate:(0,p.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,p.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,p.assertValueType)("boolean"),optional:!0},key:{validate:(0,p.chain)(function(){let A=(0,p.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),S=(0,p.assertNodeType)("Expression");return function(T,I,L){(T.computed?S:A)(T,I,L)}}(),(0,p.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});r.classMethodOrPropertyCommon=_;let E=()=>Object.assign({},h(),_(),{params:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,p.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,p.chain)((0,p.assertValueType)("string"),(0,p.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator"))),optional:!0}});r.classMethodOrDeclareMethodCommon=E,d("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},E(),m(),{body:{validate:(0,p.assertNodeType)("BlockStatement")}})}),d("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},y(),{properties:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("RestElement","ObjectProperty")))}})}),d("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,p.assertNodeType)("Expression")}}}),d("Super",{aliases:["Expression"]}),d("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,p.assertNodeType)("Expression")},quasi:{validate:(0,p.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,p.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),d("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,p.chain)((0,p.assertShape)({raw:{validate:(0,p.assertValueType)("string")},cooked:{validate:(0,p.assertValueType)("string"),optional:!0}}),function(A){let S=A.value.raw,T=!1,I=()=>{throw new Error("Internal @babel/types error.")},{str:L,firstInvalidLoc:x}=(0,a.readStringContents)("template",S,0,0,0,{unterminated(){T=!0},strictNumericEscape:I,invalidEscapeSequence:I,numericSeparatorInEscapeSequence:I,unexpectedNumericSeparator:I,invalidDigit:I,invalidCodePoint:I});if(!T)throw new Error("Invalid raw");A.value.cooked=x?null:L})},tail:{default:!1}}}),d("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("TemplateElement")))},expressions:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Expression","TSType")),function(A,S,T){if(A.quasis.length!==T.length+1)throw new TypeError(`Number of ${A.type} quasis should be exactly one more than the number of expressions.
|
|
Expected ${T.length+1} quasis but got ${A.quasis.length}`)})}}}),d("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,p.chain)((0,p.assertValueType)("boolean"),Object.assign(function(A,S,T){if(process.env.BABEL_TYPES_8_BREAKING&&T&&!A.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})),default:!1},argument:{optional:!0,validate:(0,p.assertNodeType)("Expression")}}}),d("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,p.assertNodeType)("Expression")}}}),d("Import",{aliases:["Expression"]}),d("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,p.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),d("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,p.assertNodeType)("Identifier")}}}),d("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,p.assertNodeType)("Expression")},property:{validate:function(){let A=(0,p.assertNodeType)("Identifier"),S=(0,p.assertNodeType)("Expression");return Object.assign(function(T,I,L){(T.computed?S:A)(T,I,L)},{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.chain)((0,p.assertValueType)("boolean"),(0,p.assertOptionalChainStart)()):(0,p.assertValueType)("boolean")}}}),d("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,p.assertNodeType)("Expression")},arguments:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Expression","SpreadElement","ArgumentPlaceholder")))},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.chain)((0,p.assertValueType)("boolean"),(0,p.assertOptionalChainStart)()):(0,p.assertValueType)("boolean")},typeArguments:{validate:(0,p.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,p.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}}),d("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},_(),{value:{validate:(0,p.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,p.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,p.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,p.assertValueType)("boolean"),optional:!0},declare:{validate:(0,p.assertValueType)("boolean"),optional:!0},variance:{validate:(0,p.assertNodeType)("Variance"),optional:!0}})}),d("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},_(),{key:{validate:(0,p.chain)(function(){let A=(0,p.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),S=(0,p.assertNodeType)("Expression");return function(T,I,L){(T.computed?S:A)(T,I,L)}}(),(0,p.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,p.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,p.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,p.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,p.assertValueType)("boolean"),optional:!0},declare:{validate:(0,p.assertValueType)("boolean"),optional:!0},variance:{validate:(0,p.assertNodeType)("Variance"),optional:!0}})}),d("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,p.assertNodeType)("PrivateName")},value:{validate:(0,p.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,p.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator"))),optional:!0},static:{validate:(0,p.assertValueType)("boolean"),default:!1},readonly:{validate:(0,p.assertValueType)("boolean"),optional:!0},definite:{validate:(0,p.assertValueType)("boolean"),optional:!0},variance:{validate:(0,p.assertNodeType)("Variance"),optional:!0}}}),d("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},E(),m(),{kind:{validate:(0,p.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,p.assertNodeType)("PrivateName")},body:{validate:(0,p.assertNodeType)("BlockStatement")}})}),d("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,p.assertNodeType)("Identifier")}}}),d("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]})},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/deprecated-aliases.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.DEPRECATED_ALIASES=void 0,r.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/experimental.js":(o,r,c)=>{"use strict";var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/utils.js");(0,s.default)("ArgumentPlaceholder",{}),(0,s.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,s.assertNodeType)("Expression")},callee:{validate:(0,s.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}}),(0,s.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,s.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,s.assertNodeType)("StringLiteral")}}}),(0,s.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,s.assertNodeType)("Expression")}}}),(0,s.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,s.assertNodeType)("BlockStatement")},async:{validate:(0,s.assertValueType)("boolean"),default:!1}}}),(0,s.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,s.assertNodeType)("Identifier")}}}),(0,s.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("ObjectProperty","SpreadElement")))}}}),(0,s.default)("TupleExpression",{fields:{elements:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,s.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,s.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,s.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,s.assertNodeType)("Program")}},aliases:["Expression"]}),(0,s.default)("TopicReference",{aliases:["Expression"]}),(0,s.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,s.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,s.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,s.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,s.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/flow.js":(o,r,c)=>{"use strict";var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/utils.js");let u=(0,s.defineAliasedType)("Flow"),H=a=>{let l=a==="DeclareClass";u(a,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...l?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),extends:(0,s.validateOptional)((0,s.arrayOfType)("InterfaceExtends"))},l?{mixins:(0,s.validateOptional)((0,s.arrayOfType)("InterfaceExtends")),implements:(0,s.validateOptional)((0,s.arrayOfType)("ClassImplements"))}:{},{body:(0,s.validateType)("ObjectTypeAnnotation")})})};u("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,s.validateType)("FlowType")}}),u("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,s.validate)((0,s.assertValueType)("boolean"))}}),u("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterInstantiation")}}),H("DeclareClass"),u("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),predicate:(0,s.validateOptionalType)("DeclaredPredicate")}}),H("DeclareInterface"),u("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)(["Identifier","StringLiteral"]),body:(0,s.validateType)("BlockStatement"),kind:(0,s.validateOptional)((0,s.assertOneOf)("CommonJS","ES"))}}),u("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,s.validateType)("TypeAnnotation")}}),u("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),right:(0,s.validateType)("FlowType")}}),u("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,s.validateOptionalType)("FlowType"),impltype:(0,s.validateOptionalType)("FlowType")}}),u("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier")}}),u("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,s.validateOptionalType)("Flow"),specifiers:(0,s.validateOptional)((0,s.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,s.validateOptionalType)("StringLiteral"),default:(0,s.validateOptional)((0,s.assertValueType)("boolean"))}}),u("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:(0,s.validateType)("StringLiteral"),exportKind:(0,s.validateOptional)((0,s.assertOneOf)("type","value"))}}),u("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,s.validateType)("Flow")}}),u("ExistsTypeAnnotation",{aliases:["FlowType"]}),u("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),params:(0,s.validate)((0,s.arrayOfType)("FunctionTypeParam")),rest:(0,s.validateOptionalType)("FunctionTypeParam"),this:(0,s.validateOptionalType)("FunctionTypeParam"),returnType:(0,s.validateType)("FlowType")}}),u("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,s.validateOptionalType)("Identifier"),typeAnnotation:(0,s.validateType)("FlowType"),optional:(0,s.validateOptional)((0,s.assertValueType)("boolean"))}}),u("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,s.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,s.validateOptionalType)("TypeParameterInstantiation")}}),u("InferredPredicate",{aliases:["FlowPredicate"]}),u("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,s.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,s.validateOptionalType)("TypeParameterInstantiation")}}),H("InterfaceDeclaration"),u("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,s.validateOptional)((0,s.arrayOfType)("InterfaceExtends")),body:(0,s.validateType)("ObjectTypeAnnotation")}}),u("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,s.validate)((0,s.arrayOfType)("FlowType"))}}),u("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,s.validateType)("FlowType")}}),u("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,s.validate)((0,s.assertValueType)("number"))}}),u("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,s.validate)((0,s.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:{validate:(0,s.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,s.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,s.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,s.assertValueType)("boolean"),default:!1},inexact:(0,s.validateOptional)((0,s.assertValueType)("boolean"))}}),u("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,s.validateType)("Identifier"),value:(0,s.validateType)("FlowType"),optional:(0,s.validate)((0,s.assertValueType)("boolean")),static:(0,s.validate)((0,s.assertValueType)("boolean")),method:(0,s.validate)((0,s.assertValueType)("boolean"))}}),u("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,s.validateType)("FlowType"),static:(0,s.validate)((0,s.assertValueType)("boolean"))}}),u("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,s.validateOptionalType)("Identifier"),key:(0,s.validateType)("FlowType"),value:(0,s.validateType)("FlowType"),static:(0,s.validate)((0,s.assertValueType)("boolean")),variance:(0,s.validateOptionalType)("Variance")}}),u("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,s.validateType)(["Identifier","StringLiteral"]),value:(0,s.validateType)("FlowType"),kind:(0,s.validate)((0,s.assertOneOf)("init","get","set")),static:(0,s.validate)((0,s.assertValueType)("boolean")),proto:(0,s.validate)((0,s.assertValueType)("boolean")),optional:(0,s.validate)((0,s.assertValueType)("boolean")),variance:(0,s.validateOptionalType)("Variance"),method:(0,s.validate)((0,s.assertValueType)("boolean"))}}),u("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,s.validateType)("FlowType")}}),u("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,s.validateOptionalType)("FlowType"),impltype:(0,s.validateType)("FlowType")}}),u("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:(0,s.validateType)("Identifier"),qualification:(0,s.validateType)(["Identifier","QualifiedTypeIdentifier"])}}),u("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,s.validate)((0,s.assertValueType)("string"))}}),u("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,s.validate)((0,s.arrayOfType)("FlowType"))}}),u("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,s.validateType)("FlowType")}}),u("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),right:(0,s.validateType)("FlowType")}}),u("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,s.validateType)("FlowType")}}),u("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,s.validateType)("Expression"),typeAnnotation:(0,s.validateType)("TypeAnnotation")}}),u("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,s.validate)((0,s.assertValueType)("string")),bound:(0,s.validateOptionalType)("TypeAnnotation"),default:(0,s.validateOptionalType)("FlowType"),variance:(0,s.validateOptionalType)("Variance")}}),u("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,s.validate)((0,s.arrayOfType)("TypeParameter"))}}),u("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,s.validate)((0,s.arrayOfType)("FlowType"))}}),u("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,s.validate)((0,s.arrayOfType)("FlowType"))}}),u("Variance",{builder:["kind"],fields:{kind:(0,s.validate)((0,s.assertOneOf)("minus","plus"))}}),u("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,s.validateType)("Identifier"),body:(0,s.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}}),u("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,s.validate)((0,s.assertValueType)("boolean")),members:(0,s.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,s.validate)((0,s.assertValueType)("boolean"))}}),u("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,s.validate)((0,s.assertValueType)("boolean")),members:(0,s.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,s.validate)((0,s.assertValueType)("boolean"))}}),u("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,s.validate)((0,s.assertValueType)("boolean")),members:(0,s.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,s.validate)((0,s.assertValueType)("boolean"))}}),u("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,s.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,s.validate)((0,s.assertValueType)("boolean"))}}),u("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,s.validateType)("Identifier"),init:(0,s.validateType)("BooleanLiteral")}}),u("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,s.validateType)("Identifier"),init:(0,s.validateType)("NumericLiteral")}}),u("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,s.validateType)("Identifier"),init:(0,s.validateType)("StringLiteral")}}),u("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,s.validateType)("Identifier")}}),u("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,s.validateType)("FlowType"),indexType:(0,s.validateType)("FlowType")}}),u("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,s.validateType)("FlowType"),indexType:(0,s.validateType)("FlowType"),optional:(0,s.validate)((0,s.assertValueType)("boolean"))}})},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ALIAS_KEYS",{enumerable:!0,get:function(){return u.ALIAS_KEYS}}),Object.defineProperty(r,"BUILDER_KEYS",{enumerable:!0,get:function(){return u.BUILDER_KEYS}}),Object.defineProperty(r,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return a.DEPRECATED_ALIASES}}),Object.defineProperty(r,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return u.DEPRECATED_KEYS}}),Object.defineProperty(r,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return u.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(r,"NODE_FIELDS",{enumerable:!0,get:function(){return u.NODE_FIELDS}}),Object.defineProperty(r,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return u.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(r,"PLACEHOLDERS",{enumerable:!0,get:function(){return H.PLACEHOLDERS}}),Object.defineProperty(r,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return H.PLACEHOLDERS_ALIAS}}),Object.defineProperty(r,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return H.PLACEHOLDERS_FLIPPED_ALIAS}}),r.TYPES=void 0,Object.defineProperty(r,"VISITOR_KEYS",{enumerable:!0,get:function(){return u.VISITOR_KEYS}});var s=c("./node_modules/.pnpm/to-fast-properties@2.0.0/node_modules/to-fast-properties/index.js");c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/core.js"),c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/flow.js"),c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/jsx.js"),c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/misc.js"),c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/experimental.js"),c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/typescript.js");var u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/utils.js"),H=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/placeholders.js"),a=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/deprecated-aliases.js");Object.keys(a.DEPRECATED_ALIASES).forEach(l=>{u.FLIPPED_ALIAS_KEYS[l]=u.FLIPPED_ALIAS_KEYS[a.DEPRECATED_ALIASES[l]]}),s(u.VISITOR_KEYS),s(u.ALIAS_KEYS),s(u.FLIPPED_ALIAS_KEYS),s(u.NODE_FIELDS),s(u.BUILDER_KEYS),s(u.DEPRECATED_KEYS),s(H.PLACEHOLDERS_ALIAS),s(H.PLACEHOLDERS_FLIPPED_ALIAS),r.TYPES=[].concat(Object.keys(u.VISITOR_KEYS),Object.keys(u.FLIPPED_ALIAS_KEYS),Object.keys(u.DEPRECATED_KEYS))},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/jsx.js":(o,r,c)=>{"use strict";var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/utils.js");let u=(0,s.defineAliasedType)("JSX");u("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,s.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,s.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),u("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,s.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),u("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,s.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,s.assertNodeType)("JSXClosingElement")},children:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:(0,s.assertValueType)("boolean"),optional:!0}})}),u("JSXEmptyExpression",{}),u("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,s.assertNodeType)("Expression","JSXEmptyExpression")}}}),u("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,s.assertNodeType)("Expression")}}}),u("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,s.assertValueType)("string")}}}),u("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,s.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,s.assertNodeType)("JSXIdentifier")}}}),u("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,s.assertNodeType)("JSXIdentifier")},name:{validate:(0,s.assertNodeType)("JSXIdentifier")}}}),u("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:(0,s.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,s.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),u("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,s.assertNodeType)("Expression")}}}),u("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,s.assertValueType)("string")}}}),u("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,s.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,s.assertNodeType)("JSXClosingFragment")},children:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),u("JSXOpeningFragment",{aliases:["Immutable"]}),u("JSXClosingFragment",{aliases:["Immutable"]})},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/misc.js":(o,r,c)=>{"use strict";var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/utils.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/placeholders.js");let H=(0,s.defineAliasedType)("Miscellaneous");H("Noop",{visitor:[]}),H("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,s.assertNodeType)("Identifier")},expectedNode:{validate:(0,s.assertOneOf)(...u.PLACEHOLDERS)}}}),H("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,s.assertValueType)("string")}}})},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/placeholders.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PLACEHOLDERS_FLIPPED_ALIAS=r.PLACEHOLDERS_ALIAS=r.PLACEHOLDERS=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/utils.js");let u=r.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],H=r.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let l of u){let p=s.ALIAS_KEYS[l];p!=null&&p.length&&(H[l]=p)}let a=r.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(H).forEach(l=>{H[l].forEach(p=>{hasOwnProperty.call(a,p)||(a[p]=[]),a[p].push(l)})})},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/typescript.js":(o,r,c)=>{"use strict";var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/utils.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/core.js"),H=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/is.js");let a=(0,s.defineAliasedType)("TypeScript"),l=(0,s.assertValueType)("boolean"),p=()=>({returnType:{validate:(0,s.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,s.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});a("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,s.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,s.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,s.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,s.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Decorator"))),optional:!0}}}),a("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,u.functionDeclarationCommon)(),p())}),a("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,u.classMethodOrDeclareMethodCommon)(),p())}),a("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,s.validateType)("TSEntityName"),right:(0,s.validateType)("Identifier")}});let d=()=>({typeParameters:(0,s.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,s.validateArrayOfType)(["ArrayPattern","Identifier","ObjectPattern","RestElement"]),typeAnnotation:(0,s.validateOptionalType)("TSTypeAnnotation")}),h={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:d()};a("TSCallSignatureDeclaration",h),a("TSConstructSignatureDeclaration",h);let m=()=>({key:(0,s.validateType)("Expression"),computed:{default:!1},optional:(0,s.validateOptional)(l)});a("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},m(),{readonly:(0,s.validateOptional)(l),typeAnnotation:(0,s.validateOptionalType)("TSTypeAnnotation"),kind:{validate:(0,s.assertOneOf)("get","set")}})}),a("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},d(),m(),{kind:{validate:(0,s.assertOneOf)("method","get","set")}})}),a("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,s.validateOptional)(l),static:(0,s.validateOptional)(l),parameters:(0,s.validateArrayOfType)("Identifier"),typeAnnotation:(0,s.validateOptionalType)("TSTypeAnnotation")}});let g=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let A of g)a(A,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});a("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});let y={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};a("TSFunctionType",Object.assign({},y,{fields:d()})),a("TSConstructorType",Object.assign({},y,{fields:Object.assign({},d(),{abstract:(0,s.validateOptional)(l)})})),a("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,s.validateType)("TSEntityName"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation")}}),a("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,s.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,s.validateOptionalType)("TSTypeAnnotation"),asserts:(0,s.validateOptional)(l)}}),a("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,s.validateType)(["TSEntityName","TSImportType"]),typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation")}}),a("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,s.validateArrayOfType)("TSTypeElement")}}),a("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,s.validateType)("TSType")}}),a("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,s.validateArrayOfType)(["TSType","TSNamedTupleMember"])}}),a("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,s.validateType)("TSType")}}),a("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,s.validateType)("TSType")}}),a("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,s.validateType)("Identifier"),optional:{validate:l,default:!1},elementType:(0,s.validateType)("TSType")}});let _={aliases:["TSType"],visitor:["types"],fields:{types:(0,s.validateArrayOfType)("TSType")}};a("TSUnionType",_),a("TSIntersectionType",_),a("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,s.validateType)("TSType"),extendsType:(0,s.validateType)("TSType"),trueType:(0,s.validateType)("TSType"),falseType:(0,s.validateType)("TSType")}}),a("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,s.validateType)("TSTypeParameter")}}),a("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,s.validateType)("TSType")}}),a("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,s.validate)((0,s.assertValueType)("string")),typeAnnotation:(0,s.validateType)("TSType")}}),a("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,s.validateType)("TSType"),indexType:(0,s.validateType)("TSType")}}),a("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,s.validateOptional)((0,s.assertOneOf)(!0,!1,"+","-")),typeParameter:(0,s.validateType)("TSTypeParameter"),optional:(0,s.validateOptional)((0,s.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,s.validateOptionalType)("TSType"),nameType:(0,s.validateOptionalType)("TSType")}}),a("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){let A=(0,s.assertNodeType)("NumericLiteral","BigIntLiteral"),S=(0,s.assertOneOf)("-"),T=(0,s.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function I(L,x,C){(0,H.default)("UnaryExpression",C)?(S(C,"operator",C.operator),A(C,"argument",C.argument)):T(L,x,C)}return I.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],I}()}}}),a("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,s.validateType)("TSEntityName"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation")}}),a("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,s.validateOptional)(l),id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,s.validateOptional)((0,s.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,s.validateType)("TSInterfaceBody")}}),a("TSInterfaceBody",{visitor:["body"],fields:{body:(0,s.validateArrayOfType)("TSTypeElement")}}),a("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,s.validateOptional)(l),id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,s.validateType)("TSType")}}),a("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,s.validateType)("Expression"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation")}});let E={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,s.validateType)("Expression"),typeAnnotation:(0,s.validateType)("TSType")}};a("TSAsExpression",E),a("TSSatisfiesExpression",E),a("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,s.validateType)("TSType"),expression:(0,s.validateType)("Expression")}}),a("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,s.validateOptional)(l),const:(0,s.validateOptional)(l),id:(0,s.validateType)("Identifier"),members:(0,s.validateArrayOfType)("TSEnumMember"),initializer:(0,s.validateOptionalType)("Expression")}}),a("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,s.validateType)(["Identifier","StringLiteral"]),initializer:(0,s.validateOptionalType)("Expression")}}),a("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,s.validateOptional)(l),global:(0,s.validateOptional)(l),id:(0,s.validateType)(["Identifier","StringLiteral"]),body:(0,s.validateType)(["TSModuleBlock","TSModuleDeclaration"])}}),a("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,s.validateArrayOfType)("Statement")}}),a("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,s.validateType)("StringLiteral"),qualifier:(0,s.validateOptionalType)("TSEntityName"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation"),options:{validate:(0,s.assertNodeType)("Expression"),optional:!0}}}),a("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,s.validate)(l),id:(0,s.validateType)("Identifier"),moduleReference:(0,s.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,s.assertOneOf)("type","value"),optional:!0}}}),a("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,s.validateType)("StringLiteral")}}),a("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,s.validateType)("Expression")}}),a("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,s.validateType)("Expression")}}),a("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,s.validateType)("Identifier")}}),a("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,s.assertNodeType)("TSType")}}}),a("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("TSType")))}}}),a("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("TSTypeParameter")))}}}),a("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,s.assertValueType)("string")},in:{validate:(0,s.assertValueType)("boolean"),optional:!0},out:{validate:(0,s.assertValueType)("boolean"),optional:!0},const:{validate:(0,s.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,s.assertNodeType)("TSType"),optional:!0},default:{validate:(0,s.assertNodeType)("TSType"),optional:!0}}})},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/utils.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.VISITOR_KEYS=r.NODE_PARENT_VALIDATIONS=r.NODE_FIELDS=r.FLIPPED_ALIAS_KEYS=r.DEPRECATED_KEYS=r.BUILDER_KEYS=r.ALIAS_KEYS=void 0,r.arrayOf=E,r.arrayOfType=A,r.assertEach=S,r.assertNodeOrValueType=function(...j){function k($,U,F){for(let P of j)if(g(F)===P||(0,s.default)(P,F))return void(0,u.validateChild)($,U,F);throw new TypeError(`Property ${U} of ${$.type} expected node to be of a type ${JSON.stringify(j)} but instead got ${JSON.stringify(F?.type)}`)}return k.oneOfNodeOrValueTypes=j,k},r.assertNodeType=T,r.assertOneOf=function(...j){function k($,U,F){if(j.indexOf(F)<0)throw new TypeError(`Property ${U} expected value to be one of ${JSON.stringify(j)} but got ${JSON.stringify(F)}`)}return k.oneOf=j,k},r.assertOptionalChainStart=function(){return function(j){var k;let $=j;for(;j;){let{type:U}=$;if(U!=="OptionalCallExpression"){if(U!=="OptionalMemberExpression")break;if($.optional)return;$=$.object}else{if($.optional)return;$=$.callee}}throw new TypeError(`Non-optional ${j.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(k=$)==null?void 0:k.type}`)}},r.assertShape=function(j){function k($,U,F){let P=[];for(let W of Object.keys(j))try{(0,u.validateField)($,W,F[W],j[W])}catch(Z){if(Z instanceof TypeError){P.push(Z.message);continue}throw Z}if(P.length)throw new TypeError(`Property ${U} of ${$.type} expected to have the following:
|
|
${P.join(`
|
|
`)}`)}return k.shapeOf=j,k},r.assertValueType=I,r.chain=L,r.default=O,r.defineAliasedType=function(...j){return(k,$={})=>{let U=$.aliases;var F;U||($.inherits&&(U=(F=D[$.inherits].aliases)==null?void 0:F.slice()),U!=null||(U=[]),$.aliases=U);let P=j.filter(W=>!U.includes(W));U.unshift(...P),O(k,$)}},r.typeIs=_,r.validate=y,r.validateArrayOfType=function(j){return y(A(j))},r.validateOptional=function(j){return{validate:j,optional:!0}},r.validateOptionalType=function(j){return{validate:_(j),optional:!0}},r.validateType=function(j){return y(_(j))};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/is.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/validate.js");let H=r.VISITOR_KEYS={},a=r.ALIAS_KEYS={},l=r.FLIPPED_ALIAS_KEYS={},p=r.NODE_FIELDS={},d=r.BUILDER_KEYS={},h=r.DEPRECATED_KEYS={},m=r.NODE_PARENT_VALIDATIONS={};function g(j){return Array.isArray(j)?"array":j===null?"null":typeof j}function y(j){return{validate:j}}function _(j){return typeof j=="string"?T(j):T(...j)}function E(j){return L(I("array"),S(j))}function A(j){return E(_(j))}function S(j){function k($,U,F){if(Array.isArray(F))for(let P=0;P<F.length;P++){let W=`${U}[${P}]`,Z=F[P];j($,W,Z),process.env.BABEL_TYPES_8_BREAKING&&(0,u.validateChild)($,W,Z)}}return k.each=j,k}function T(...j){function k($,U,F){for(let P of j)if((0,s.default)(P,F))return void(0,u.validateChild)($,U,F);throw new TypeError(`Property ${U} of ${$.type} expected node to be of a type ${JSON.stringify(j)} but instead got ${JSON.stringify(F?.type)}`)}return k.oneOfNodeTypes=j,k}function I(j){function k($,U,F){if(g(F)!==j)throw new TypeError(`Property ${U} expected type of ${j} but got ${g(F)}`)}return k.type=j,k}function L(...j){function k(...$){for(let U of j)U(...$)}if(k.chainOf=j,j.length>=2&&"type"in j[0]&&j[0].type==="array"&&!("each"in j[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return k}let x=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],C=["default","optional","deprecated","validate"],D={};function O(j,k={}){let $=k.inherits&&D[k.inherits]||{},U=k.fields;if(!U&&(U={},$.fields)){let Z=Object.getOwnPropertyNames($.fields);for(let ee of Z){let J=$.fields[ee],ne=J.default;if(Array.isArray(ne)?ne.length>0:ne&&typeof ne=="object")throw new Error("field defaults can only be primitives or empty arrays currently");U[ee]={default:Array.isArray(ne)?[]:ne,optional:J.optional,deprecated:J.deprecated,validate:J.validate}}}let F=k.visitor||$.visitor||[],P=k.aliases||$.aliases||[],W=k.builder||$.builder||k.visitor||[];for(let Z of Object.keys(k))if(x.indexOf(Z)===-1)throw new Error(`Unknown type option "${Z}" on ${j}`);k.deprecatedAlias&&(h[k.deprecatedAlias]=j);for(let Z of F.concat(W))U[Z]=U[Z]||{};for(let Z of Object.keys(U)){let ee=U[Z];ee.default!==void 0&&W.indexOf(Z)===-1&&(ee.optional=!0),ee.default===void 0?ee.default=null:ee.validate||ee.default==null||(ee.validate=I(g(ee.default)));for(let J of Object.keys(ee))if(C.indexOf(J)===-1)throw new Error(`Unknown field key "${J}" on ${j}.${Z}`)}H[j]=k.visitor=F,d[j]=k.builder=W,p[j]=k.fields=U,a[j]=k.aliases=P,P.forEach(Z=>{l[Z]=l[Z]||[],l[Z].push(j)}),k.validate&&(m[j]=k.validate),D[j]=k}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(r,"__internal__deprecationWarning",{enumerable:!0,get:function(){return At.default}}),Object.defineProperty(r,"addComment",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(r,"addComments",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(r,"appendToMemberExpression",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(r,"assertNode",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"buildMatchMemberExpression",{enumerable:!0,get:function(){return tt.default}}),Object.defineProperty(r,"clone",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(r,"cloneDeep",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(r,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(r,"cloneNode",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(r,"cloneWithoutLoc",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(r,"createFlowUnionType",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(r,"createTSUnionType",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(r,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(r,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(r,"ensureBlock",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(r,"getBindingIdentifiers",{enumerable:!0,get:function(){return Fe.default}}),Object.defineProperty(r,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return me.default}}),Object.defineProperty(r,"inheritInnerComments",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(r,"inheritLeadingComments",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(r,"inheritTrailingComments",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(r,"inherits",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(r,"inheritsComments",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(r,"is",{enumerable:!0,get:function(){return Oe.default}}),Object.defineProperty(r,"isBinding",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(r,"isBlockScoped",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(r,"isImmutable",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(r,"isLet",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(r,"isNode",{enumerable:!0,get:function(){return Ie.default}}),Object.defineProperty(r,"isNodesEquivalent",{enumerable:!0,get:function(){return ye.default}}),Object.defineProperty(r,"isPlaceholderType",{enumerable:!0,get:function(){return $e.default}}),Object.defineProperty(r,"isReferenced",{enumerable:!0,get:function(){return nt.default}}),Object.defineProperty(r,"isScope",{enumerable:!0,get:function(){return et.default}}),Object.defineProperty(r,"isSpecifierDefault",{enumerable:!0,get:function(){return xe.default}}),Object.defineProperty(r,"isType",{enumerable:!0,get:function(){return pe.default}}),Object.defineProperty(r,"isValidES3Identifier",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(r,"isValidIdentifier",{enumerable:!0,get:function(){return Se.default}}),Object.defineProperty(r,"isVar",{enumerable:!0,get:function(){return Ae.default}}),Object.defineProperty(r,"matchesPattern",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(r,"prependToMemberExpression",{enumerable:!0,get:function(){return _e.default}}),r.react=void 0,Object.defineProperty(r,"removeComments",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(r,"removeProperties",{enumerable:!0,get:function(){return He.default}}),Object.defineProperty(r,"removePropertiesDeep",{enumerable:!0,get:function(){return be.default}}),Object.defineProperty(r,"removeTypeDuplicates",{enumerable:!0,get:function(){return Ve.default}}),Object.defineProperty(r,"shallowEqual",{enumerable:!0,get:function(){return je.default}}),Object.defineProperty(r,"toBindingIdentifierName",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(r,"toBlock",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(r,"toComputedKey",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(r,"toExpression",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(r,"toIdentifier",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(r,"toKeyAlias",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(r,"toStatement",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(r,"traverse",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(r,"traverseFast",{enumerable:!0,get:function(){return ke.default}}),Object.defineProperty(r,"validate",{enumerable:!0,get:function(){return We.default}}),Object.defineProperty(r,"valueToNode",{enumerable:!0,get:function(){return q.default}});var u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/react/isReactComponent.js"),H=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/react/isCompatTag.js"),a=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/react/buildChildren.js"),l=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/asserts/assertNode.js"),p=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/asserts/generated/index.js");Object.keys(p).forEach(function(pt){pt!=="default"&&pt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(s,pt)||pt in r&&r[pt]===p[pt]||Object.defineProperty(r,pt,{enumerable:!0,get:function(){return p[pt]}}))});var d=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js"),h=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js"),m=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js"),g=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js");Object.keys(g).forEach(function(pt){pt!=="default"&&pt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(s,pt)||pt in r&&r[pt]===g[pt]||Object.defineProperty(r,pt,{enumerable:!0,get:function(){return g[pt]}}))});var y=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/uppercase.js");Object.keys(y).forEach(function(pt){pt!=="default"&&pt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(s,pt)||pt in r&&r[pt]===y[pt]||Object.defineProperty(r,pt,{enumerable:!0,get:function(){return y[pt]}}))});var _=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/productions.js");Object.keys(_).forEach(function(pt){pt!=="default"&&pt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(s,pt)||pt in r&&r[pt]===_[pt]||Object.defineProperty(r,pt,{enumerable:!0,get:function(){return _[pt]}}))});var E=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneNode.js"),A=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/clone.js"),S=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneDeep.js"),T=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js"),I=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js"),L=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/addComment.js"),x=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/addComments.js"),C=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritInnerComments.js"),D=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritLeadingComments.js"),O=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritsComments.js"),j=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritTrailingComments.js"),k=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/removeComments.js"),$=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/generated/index.js");Object.keys($).forEach(function(pt){pt!=="default"&&pt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(s,pt)||pt in r&&r[pt]===$[pt]||Object.defineProperty(r,pt,{enumerable:!0,get:function(){return $[pt]}}))});var U=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/index.js");Object.keys(U).forEach(function(pt){pt!=="default"&&pt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(s,pt)||pt in r&&r[pt]===U[pt]||Object.defineProperty(r,pt,{enumerable:!0,get:function(){return U[pt]}}))});var F=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/ensureBlock.js"),P=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js"),W=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toBlock.js"),Z=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toComputedKey.js"),ee=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toExpression.js"),J=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toIdentifier.js"),ne=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toKeyAlias.js"),K=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toStatement.js"),q=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/valueToNode.js"),Q=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js");Object.keys(Q).forEach(function(pt){pt!=="default"&&pt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(s,pt)||pt in r&&r[pt]===Q[pt]||Object.defineProperty(r,pt,{enumerable:!0,get:function(){return Q[pt]}}))});var z=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js"),ie=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/inherits.js"),_e=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js"),He=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/removeProperties.js"),be=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js"),Ve=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js"),Fe=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js"),me=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js"),ce=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/traverse/traverse.js");Object.keys(ce).forEach(function(pt){pt!=="default"&&pt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(s,pt)||pt in r&&r[pt]===ce[pt]||Object.defineProperty(r,pt,{enumerable:!0,get:function(){return ce[pt]}}))});var ke=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/traverse/traverseFast.js"),je=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/shallowEqual.js"),Oe=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/is.js"),re=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isBinding.js"),fe=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isBlockScoped.js"),he=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isImmutable.js"),se=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isLet.js"),Ie=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isNode.js"),ye=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isNodesEquivalent.js"),$e=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isPlaceholderType.js"),nt=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isReferenced.js"),et=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isScope.js"),xe=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isSpecifierDefault.js"),pe=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isType.js"),ue=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isValidES3Identifier.js"),Se=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),Ae=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isVar.js"),de=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/matchesPattern.js"),We=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/validate.js"),tt=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js"),mt=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js");Object.keys(mt).forEach(function(pt){pt!=="default"&&pt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(s,pt)||pt in r&&r[pt]===mt[pt]||Object.defineProperty(r,pt,{enumerable:!0,get:function(){return mt[pt]}}))});var At=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/deprecationWarning.js");r.react={isReactComponent:u.default,isCompatTag:H.default,buildChildren:a.default},r.toSequenceExpression=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toSequenceExpression.js").default},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H,a=!1){return u.object=(0,s.memberExpression)(u.object,u.property,u.computed),u.property=H,u.computed=!!a,u};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function H(a){let l=Array.from(a),p=new Map,d=new Map,h=new Set,m=[];for(let g=0;g<l.length;g++){let y=l[g];if(y&&!(m.indexOf(y)>=0)){if((0,s.isAnyTypeAnnotation)(y))return[y];if((0,s.isFlowBaseAnnotation)(y))d.set(y.type,y);else if((0,s.isUnionTypeAnnotation)(y))h.has(y.types)||(l.push(...y.types),h.add(y.types));else if((0,s.isGenericTypeAnnotation)(y)){let _=u(y.id);if(p.has(_)){let E=p.get(_);E.typeParameters?y.typeParameters&&(E.typeParameters.params.push(...y.typeParameters.params),E.typeParameters.params=H(E.typeParameters.params)):E=y.typeParameters}else p.set(_,y)}else m.push(y)}}for(let[,g]of d)m.push(g);for(let[,g]of p)m.push(g);return m};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js");function u(H){return(0,s.isIdentifier)(H)?H.name:`${H.id.name}.${u(H.qualification)}`}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/inherits.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H,a){if(!H||!a)return H;for(let l of s.INHERIT_KEYS.optional)H[l]==null&&(H[l]=a[l]);for(let l of Object.keys(a))l[0]==="_"&&l!=="__clone"&&(H[l]=a[l]);for(let l of s.INHERIT_KEYS.force)H[l]=a[l];return(0,u.default)(H,a),H};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritsComments.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H,a){if((0,u.isSuper)(H.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return H.object=(0,s.memberExpression)(a,H.object),H};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/removeProperties.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(a,l={}){let p=l.preserveComments?u:H;for(let h of p)a[h]!=null&&(a[h]=void 0);for(let h of Object.keys(a))h[0]==="_"&&a[h]!=null&&(a[h]=void 0);let d=Object.getOwnPropertySymbols(a);for(let h of d)a[h]=null};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/index.js");let u=["tokens","start","end","loc","raw","rawValue"],H=[...s.COMMENT_KEYS,"comments",...u]},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H,a){return(0,s.default)(H,u.default,a),H};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/traverse/traverseFast.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/removeProperties.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function H(a){let l=Array.from(a),p=new Map,d=new Map,h=new Set,m=[];for(let g=0;g<l.length;g++){let y=l[g];if(y&&!(m.indexOf(y)>=0)){if((0,s.isTSAnyKeyword)(y))return[y];if((0,s.isTSBaseType)(y))d.set(y.type,y);else if((0,s.isTSUnionType)(y))h.has(y.types)||(l.push(...y.types),h.add(y.types));else if((0,s.isTSTypeReference)(y)&&y.typeParameters){let _=u(y.typeName);if(p.has(_)){let E=p.get(_);E.typeParameters?y.typeParameters&&(E.typeParameters.params.push(...y.typeParameters.params),E.typeParameters.params=H(E.typeParameters.params)):E=y.typeParameters}else p.set(_,y)}else m.push(y)}}for(let[,g]of d)m.push(g);for(let[,g]of p)m.push(g);return m};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js");function u(H){return(0,s.isIdentifier)(H)?H.name:`${H.right.name}.${u(H.left)}`}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=u;var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js");function u(H,a,l,p){let d=[].concat(H),h=Object.create(null);for(;d.length;){let m=d.shift();if(!m||p&&((0,s.isAssignmentExpression)(m)||(0,s.isUnaryExpression)(m)||(0,s.isUpdateExpression)(m)))continue;if((0,s.isIdentifier)(m)){a?(h[m.name]=h[m.name]||[]).push(m):h[m.name]=m;continue}if((0,s.isExportDeclaration)(m)&&!(0,s.isExportAllDeclaration)(m)){(0,s.isDeclaration)(m.declaration)&&d.push(m.declaration);continue}if(l){if((0,s.isFunctionDeclaration)(m)){d.push(m.id);continue}if((0,s.isFunctionExpression)(m))continue}let g=u.keys[m.type];if(g)for(let y=0;y<g.length;y++){let _=m[g[y]];_&&(Array.isArray(_)?d.push(..._):d.push(_))}}return h}u.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js");r.default=function(u,H){return(0,s.default)(u,H,!0)}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/traverse/traverse.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H,a,l){typeof a=="function"&&(a={enter:a});let{enter:p,exit:d}=a;u(H,p,d,l,[])};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js");function u(H,a,l,p,d){let h=s.VISITOR_KEYS[H.type];if(h){a&&a(H,d,p);for(let m of h){let g=H[m];if(Array.isArray(g))for(let y=0;y<g.length;y++){let _=g[y];_&&(d.push({node:H,key:m,index:y}),u(_,a,l,p,d),d.pop())}else g&&(d.push({node:H,key:m}),u(g,a,l,p,d),d.pop())}l&&l(H,d,p)}}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/traverse/traverseFast.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function u(H,a,l){if(!H)return;let p=s.VISITOR_KEYS[H.type];if(p){a(H,l=l||{});for(let d of p){let h=H[d];if(Array.isArray(h))for(let m of h)u(m,a,l);else u(h,a,l)}}};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/deprecationWarning.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(s,u,H=""){if(c.has(s))return;c.add(s);let{internal:a,trace:l}=function(p,d){let{stackTraceLimit:h,prepareStackTrace:m}=Error,g;if(Error.stackTraceLimit=1+p+d,Error.prepareStackTrace=function(_,E){g=E},new Error().stack,Error.stackTraceLimit=h,Error.prepareStackTrace=m,!g)return{internal:!1,trace:""};let y=g.slice(1+p,1+p+d);return{internal:/[\\/]@babel[\\/]/.test(y[1].getFileName()),trace:y.map(_=>` at ${_}`).join(`
|
|
`)}}(1,2);a||console.warn(`${H}\`${s}\` has been deprecated, please migrate to \`${u}\`
|
|
${l}`)};let c=new Set},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/inherit.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(c,s,u){s&&u&&(s[c]=Array.from(new Set([].concat(s[c],u[c]).filter(Boolean))))}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H,a){let l=H.value.split(/\r\n|\n|\r/),p=0;for(let h=0;h<l.length;h++)l[h].match(/[^ \t]/)&&(p=h);let d="";for(let h=0;h<l.length;h++){let m=l[h],g=h===0,y=h===l.length-1,_=h===p,E=m.replace(/\t/g," ");g||(E=E.replace(/^[ ]+/,"")),y||(E=E.replace(/[ ]+$/,"")),E&&(_||(E+=" "),d+=E)}d&&a.push((0,u.inherits)((0,s.stringLiteral)(d),H))};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/shallowEqual.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(c,s){let u=Object.keys(s);for(let H of u)if(c[H]!==s[H])return!1;return!0}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H){let a=u.split(".");return l=>(0,s.default)(l,a,H)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/matchesPattern.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isAccessor=function(a,l){return!a||a.type!=="ClassAccessorProperty"?!1:l==null||(0,s.default)(a,l)},r.isAnyTypeAnnotation=function(a,l){return!!a&&a.type==="AnyTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isArgumentPlaceholder=function(a,l){return!!a&&a.type==="ArgumentPlaceholder"&&(l==null||(0,s.default)(a,l))},r.isArrayExpression=function(a,l){return!!a&&a.type==="ArrayExpression"&&(l==null||(0,s.default)(a,l))},r.isArrayPattern=function(a,l){return!!a&&a.type==="ArrayPattern"&&(l==null||(0,s.default)(a,l))},r.isArrayTypeAnnotation=function(a,l){return!!a&&a.type==="ArrayTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isArrowFunctionExpression=function(a,l){return!!a&&a.type==="ArrowFunctionExpression"&&(l==null||(0,s.default)(a,l))},r.isAssignmentExpression=function(a,l){return!!a&&a.type==="AssignmentExpression"&&(l==null||(0,s.default)(a,l))},r.isAssignmentPattern=function(a,l){return!!a&&a.type==="AssignmentPattern"&&(l==null||(0,s.default)(a,l))},r.isAwaitExpression=function(a,l){return!!a&&a.type==="AwaitExpression"&&(l==null||(0,s.default)(a,l))},r.isBigIntLiteral=function(a,l){return!!a&&a.type==="BigIntLiteral"&&(l==null||(0,s.default)(a,l))},r.isBinary=function(a,l){if(!a)return!1;switch(a.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isBinaryExpression=function(a,l){return!!a&&a.type==="BinaryExpression"&&(l==null||(0,s.default)(a,l))},r.isBindExpression=function(a,l){return!!a&&a.type==="BindExpression"&&(l==null||(0,s.default)(a,l))},r.isBlock=function(a,l){if(!a)return!1;switch(a.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(a.expectedNode==="BlockStatement")break;default:return!1}return l==null||(0,s.default)(a,l)},r.isBlockParent=function(a,l){if(!a)return!1;switch(a.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(a.expectedNode==="BlockStatement")break;default:return!1}return l==null||(0,s.default)(a,l)},r.isBlockStatement=function(a,l){return!!a&&a.type==="BlockStatement"&&(l==null||(0,s.default)(a,l))},r.isBooleanLiteral=function(a,l){return!!a&&a.type==="BooleanLiteral"&&(l==null||(0,s.default)(a,l))},r.isBooleanLiteralTypeAnnotation=function(a,l){return!!a&&a.type==="BooleanLiteralTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isBooleanTypeAnnotation=function(a,l){return!!a&&a.type==="BooleanTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isBreakStatement=function(a,l){return!!a&&a.type==="BreakStatement"&&(l==null||(0,s.default)(a,l))},r.isCallExpression=function(a,l){return!!a&&a.type==="CallExpression"&&(l==null||(0,s.default)(a,l))},r.isCatchClause=function(a,l){return!!a&&a.type==="CatchClause"&&(l==null||(0,s.default)(a,l))},r.isClass=function(a,l){if(!a)return!1;switch(a.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isClassAccessorProperty=function(a,l){return!!a&&a.type==="ClassAccessorProperty"&&(l==null||(0,s.default)(a,l))},r.isClassBody=function(a,l){return!!a&&a.type==="ClassBody"&&(l==null||(0,s.default)(a,l))},r.isClassDeclaration=function(a,l){return!!a&&a.type==="ClassDeclaration"&&(l==null||(0,s.default)(a,l))},r.isClassExpression=function(a,l){return!!a&&a.type==="ClassExpression"&&(l==null||(0,s.default)(a,l))},r.isClassImplements=function(a,l){return!!a&&a.type==="ClassImplements"&&(l==null||(0,s.default)(a,l))},r.isClassMethod=function(a,l){return!!a&&a.type==="ClassMethod"&&(l==null||(0,s.default)(a,l))},r.isClassPrivateMethod=function(a,l){return!!a&&a.type==="ClassPrivateMethod"&&(l==null||(0,s.default)(a,l))},r.isClassPrivateProperty=function(a,l){return!!a&&a.type==="ClassPrivateProperty"&&(l==null||(0,s.default)(a,l))},r.isClassProperty=function(a,l){return!!a&&a.type==="ClassProperty"&&(l==null||(0,s.default)(a,l))},r.isCompletionStatement=function(a,l){if(!a)return!1;switch(a.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isConditional=function(a,l){if(!a)return!1;switch(a.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isConditionalExpression=function(a,l){return!!a&&a.type==="ConditionalExpression"&&(l==null||(0,s.default)(a,l))},r.isContinueStatement=function(a,l){return!!a&&a.type==="ContinueStatement"&&(l==null||(0,s.default)(a,l))},r.isDebuggerStatement=function(a,l){return!!a&&a.type==="DebuggerStatement"&&(l==null||(0,s.default)(a,l))},r.isDecimalLiteral=function(a,l){return!!a&&a.type==="DecimalLiteral"&&(l==null||(0,s.default)(a,l))},r.isDeclaration=function(a,l){if(!a)return!1;switch(a.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":break;case"Placeholder":if(a.expectedNode==="Declaration")break;default:return!1}return l==null||(0,s.default)(a,l)},r.isDeclareClass=function(a,l){return!!a&&a.type==="DeclareClass"&&(l==null||(0,s.default)(a,l))},r.isDeclareExportAllDeclaration=function(a,l){return!!a&&a.type==="DeclareExportAllDeclaration"&&(l==null||(0,s.default)(a,l))},r.isDeclareExportDeclaration=function(a,l){return!!a&&a.type==="DeclareExportDeclaration"&&(l==null||(0,s.default)(a,l))},r.isDeclareFunction=function(a,l){return!!a&&a.type==="DeclareFunction"&&(l==null||(0,s.default)(a,l))},r.isDeclareInterface=function(a,l){return!!a&&a.type==="DeclareInterface"&&(l==null||(0,s.default)(a,l))},r.isDeclareModule=function(a,l){return!!a&&a.type==="DeclareModule"&&(l==null||(0,s.default)(a,l))},r.isDeclareModuleExports=function(a,l){return!!a&&a.type==="DeclareModuleExports"&&(l==null||(0,s.default)(a,l))},r.isDeclareOpaqueType=function(a,l){return!!a&&a.type==="DeclareOpaqueType"&&(l==null||(0,s.default)(a,l))},r.isDeclareTypeAlias=function(a,l){return!!a&&a.type==="DeclareTypeAlias"&&(l==null||(0,s.default)(a,l))},r.isDeclareVariable=function(a,l){return!!a&&a.type==="DeclareVariable"&&(l==null||(0,s.default)(a,l))},r.isDeclaredPredicate=function(a,l){return!!a&&a.type==="DeclaredPredicate"&&(l==null||(0,s.default)(a,l))},r.isDecorator=function(a,l){return!!a&&a.type==="Decorator"&&(l==null||(0,s.default)(a,l))},r.isDirective=function(a,l){return!!a&&a.type==="Directive"&&(l==null||(0,s.default)(a,l))},r.isDirectiveLiteral=function(a,l){return!!a&&a.type==="DirectiveLiteral"&&(l==null||(0,s.default)(a,l))},r.isDoExpression=function(a,l){return!!a&&a.type==="DoExpression"&&(l==null||(0,s.default)(a,l))},r.isDoWhileStatement=function(a,l){return!!a&&a.type==="DoWhileStatement"&&(l==null||(0,s.default)(a,l))},r.isEmptyStatement=function(a,l){return!!a&&a.type==="EmptyStatement"&&(l==null||(0,s.default)(a,l))},r.isEmptyTypeAnnotation=function(a,l){return!!a&&a.type==="EmptyTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isEnumBody=function(a,l){if(!a)return!1;switch(a.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isEnumBooleanBody=function(a,l){return!!a&&a.type==="EnumBooleanBody"&&(l==null||(0,s.default)(a,l))},r.isEnumBooleanMember=function(a,l){return!!a&&a.type==="EnumBooleanMember"&&(l==null||(0,s.default)(a,l))},r.isEnumDeclaration=function(a,l){return!!a&&a.type==="EnumDeclaration"&&(l==null||(0,s.default)(a,l))},r.isEnumDefaultedMember=function(a,l){return!!a&&a.type==="EnumDefaultedMember"&&(l==null||(0,s.default)(a,l))},r.isEnumMember=function(a,l){if(!a)return!1;switch(a.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isEnumNumberBody=function(a,l){return!!a&&a.type==="EnumNumberBody"&&(l==null||(0,s.default)(a,l))},r.isEnumNumberMember=function(a,l){return!!a&&a.type==="EnumNumberMember"&&(l==null||(0,s.default)(a,l))},r.isEnumStringBody=function(a,l){return!!a&&a.type==="EnumStringBody"&&(l==null||(0,s.default)(a,l))},r.isEnumStringMember=function(a,l){return!!a&&a.type==="EnumStringMember"&&(l==null||(0,s.default)(a,l))},r.isEnumSymbolBody=function(a,l){return!!a&&a.type==="EnumSymbolBody"&&(l==null||(0,s.default)(a,l))},r.isExistsTypeAnnotation=function(a,l){return!!a&&a.type==="ExistsTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isExportAllDeclaration=function(a,l){return!!a&&a.type==="ExportAllDeclaration"&&(l==null||(0,s.default)(a,l))},r.isExportDeclaration=function(a,l){if(!a)return!1;switch(a.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isExportDefaultDeclaration=function(a,l){return!!a&&a.type==="ExportDefaultDeclaration"&&(l==null||(0,s.default)(a,l))},r.isExportDefaultSpecifier=function(a,l){return!!a&&a.type==="ExportDefaultSpecifier"&&(l==null||(0,s.default)(a,l))},r.isExportNamedDeclaration=function(a,l){return!!a&&a.type==="ExportNamedDeclaration"&&(l==null||(0,s.default)(a,l))},r.isExportNamespaceSpecifier=function(a,l){return!!a&&a.type==="ExportNamespaceSpecifier"&&(l==null||(0,s.default)(a,l))},r.isExportSpecifier=function(a,l){return!!a&&a.type==="ExportSpecifier"&&(l==null||(0,s.default)(a,l))},r.isExpression=function(a,l){if(!a)return!1;switch(a.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"ImportExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(a.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return l==null||(0,s.default)(a,l)},r.isExpressionStatement=function(a,l){return!!a&&a.type==="ExpressionStatement"&&(l==null||(0,s.default)(a,l))},r.isExpressionWrapper=function(a,l){if(!a)return!1;switch(a.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isFile=function(a,l){return!!a&&a.type==="File"&&(l==null||(0,s.default)(a,l))},r.isFlow=function(a,l){if(!a)return!1;switch(a.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ClassImplements":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"DeclaredPredicate":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"FunctionTypeParam":case"GenericTypeAnnotation":case"InferredPredicate":case"InterfaceExtends":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":case"OpaqueType":case"QualifiedTypeIdentifier":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"TypeAlias":case"TypeAnnotation":case"TypeCastExpression":case"TypeParameter":case"TypeParameterDeclaration":case"TypeParameterInstantiation":case"UnionTypeAnnotation":case"Variance":case"VoidTypeAnnotation":case"EnumDeclaration":case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isFlowBaseAnnotation=function(a,l){if(!a)return!1;switch(a.type){case"AnyTypeAnnotation":case"BooleanTypeAnnotation":case"NullLiteralTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NumberTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"VoidTypeAnnotation":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isFlowDeclaration=function(a,l){if(!a)return!1;switch(a.type){case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isFlowPredicate=function(a,l){if(!a)return!1;switch(a.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isFlowType=function(a,l){if(!a)return!1;switch(a.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"UnionTypeAnnotation":case"VoidTypeAnnotation":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isFor=function(a,l){if(!a)return!1;switch(a.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isForInStatement=function(a,l){return!!a&&a.type==="ForInStatement"&&(l==null||(0,s.default)(a,l))},r.isForOfStatement=function(a,l){return!!a&&a.type==="ForOfStatement"&&(l==null||(0,s.default)(a,l))},r.isForStatement=function(a,l){return!!a&&a.type==="ForStatement"&&(l==null||(0,s.default)(a,l))},r.isForXStatement=function(a,l){if(!a)return!1;switch(a.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isFunction=function(a,l){if(!a)return!1;switch(a.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isFunctionDeclaration=function(a,l){return!!a&&a.type==="FunctionDeclaration"&&(l==null||(0,s.default)(a,l))},r.isFunctionExpression=function(a,l){return!!a&&a.type==="FunctionExpression"&&(l==null||(0,s.default)(a,l))},r.isFunctionParent=function(a,l){if(!a)return!1;switch(a.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isFunctionTypeAnnotation=function(a,l){return!!a&&a.type==="FunctionTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isFunctionTypeParam=function(a,l){return!!a&&a.type==="FunctionTypeParam"&&(l==null||(0,s.default)(a,l))},r.isGenericTypeAnnotation=function(a,l){return!!a&&a.type==="GenericTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isIdentifier=function(a,l){return!!a&&a.type==="Identifier"&&(l==null||(0,s.default)(a,l))},r.isIfStatement=function(a,l){return!!a&&a.type==="IfStatement"&&(l==null||(0,s.default)(a,l))},r.isImmutable=function(a,l){if(!a)return!1;switch(a.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"BigIntLiteral":case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXOpeningElement":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":case"DecimalLiteral":break;case"Placeholder":if(a.expectedNode==="StringLiteral")break;default:return!1}return l==null||(0,s.default)(a,l)},r.isImport=function(a,l){return!!a&&a.type==="Import"&&(l==null||(0,s.default)(a,l))},r.isImportAttribute=function(a,l){return!!a&&a.type==="ImportAttribute"&&(l==null||(0,s.default)(a,l))},r.isImportDeclaration=function(a,l){return!!a&&a.type==="ImportDeclaration"&&(l==null||(0,s.default)(a,l))},r.isImportDefaultSpecifier=function(a,l){return!!a&&a.type==="ImportDefaultSpecifier"&&(l==null||(0,s.default)(a,l))},r.isImportExpression=function(a,l){return!!a&&a.type==="ImportExpression"&&(l==null||(0,s.default)(a,l))},r.isImportNamespaceSpecifier=function(a,l){return!!a&&a.type==="ImportNamespaceSpecifier"&&(l==null||(0,s.default)(a,l))},r.isImportOrExportDeclaration=H,r.isImportSpecifier=function(a,l){return!!a&&a.type==="ImportSpecifier"&&(l==null||(0,s.default)(a,l))},r.isIndexedAccessType=function(a,l){return!!a&&a.type==="IndexedAccessType"&&(l==null||(0,s.default)(a,l))},r.isInferredPredicate=function(a,l){return!!a&&a.type==="InferredPredicate"&&(l==null||(0,s.default)(a,l))},r.isInterfaceDeclaration=function(a,l){return!!a&&a.type==="InterfaceDeclaration"&&(l==null||(0,s.default)(a,l))},r.isInterfaceExtends=function(a,l){return!!a&&a.type==="InterfaceExtends"&&(l==null||(0,s.default)(a,l))},r.isInterfaceTypeAnnotation=function(a,l){return!!a&&a.type==="InterfaceTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isInterpreterDirective=function(a,l){return!!a&&a.type==="InterpreterDirective"&&(l==null||(0,s.default)(a,l))},r.isIntersectionTypeAnnotation=function(a,l){return!!a&&a.type==="IntersectionTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isJSX=function(a,l){if(!a)return!1;switch(a.type){case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXEmptyExpression":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXIdentifier":case"JSXMemberExpression":case"JSXNamespacedName":case"JSXOpeningElement":case"JSXSpreadAttribute":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isJSXAttribute=function(a,l){return!!a&&a.type==="JSXAttribute"&&(l==null||(0,s.default)(a,l))},r.isJSXClosingElement=function(a,l){return!!a&&a.type==="JSXClosingElement"&&(l==null||(0,s.default)(a,l))},r.isJSXClosingFragment=function(a,l){return!!a&&a.type==="JSXClosingFragment"&&(l==null||(0,s.default)(a,l))},r.isJSXElement=function(a,l){return!!a&&a.type==="JSXElement"&&(l==null||(0,s.default)(a,l))},r.isJSXEmptyExpression=function(a,l){return!!a&&a.type==="JSXEmptyExpression"&&(l==null||(0,s.default)(a,l))},r.isJSXExpressionContainer=function(a,l){return!!a&&a.type==="JSXExpressionContainer"&&(l==null||(0,s.default)(a,l))},r.isJSXFragment=function(a,l){return!!a&&a.type==="JSXFragment"&&(l==null||(0,s.default)(a,l))},r.isJSXIdentifier=function(a,l){return!!a&&a.type==="JSXIdentifier"&&(l==null||(0,s.default)(a,l))},r.isJSXMemberExpression=function(a,l){return!!a&&a.type==="JSXMemberExpression"&&(l==null||(0,s.default)(a,l))},r.isJSXNamespacedName=function(a,l){return!!a&&a.type==="JSXNamespacedName"&&(l==null||(0,s.default)(a,l))},r.isJSXOpeningElement=function(a,l){return!!a&&a.type==="JSXOpeningElement"&&(l==null||(0,s.default)(a,l))},r.isJSXOpeningFragment=function(a,l){return!!a&&a.type==="JSXOpeningFragment"&&(l==null||(0,s.default)(a,l))},r.isJSXSpreadAttribute=function(a,l){return!!a&&a.type==="JSXSpreadAttribute"&&(l==null||(0,s.default)(a,l))},r.isJSXSpreadChild=function(a,l){return!!a&&a.type==="JSXSpreadChild"&&(l==null||(0,s.default)(a,l))},r.isJSXText=function(a,l){return!!a&&a.type==="JSXText"&&(l==null||(0,s.default)(a,l))},r.isLVal=function(a,l){if(!a)return!1;switch(a.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSParameterProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(a.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return l==null||(0,s.default)(a,l)},r.isLabeledStatement=function(a,l){return!!a&&a.type==="LabeledStatement"&&(l==null||(0,s.default)(a,l))},r.isLiteral=function(a,l){if(!a)return!1;switch(a.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(a.expectedNode==="StringLiteral")break;default:return!1}return l==null||(0,s.default)(a,l)},r.isLogicalExpression=function(a,l){return!!a&&a.type==="LogicalExpression"&&(l==null||(0,s.default)(a,l))},r.isLoop=function(a,l){if(!a)return!1;switch(a.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isMemberExpression=function(a,l){return!!a&&a.type==="MemberExpression"&&(l==null||(0,s.default)(a,l))},r.isMetaProperty=function(a,l){return!!a&&a.type==="MetaProperty"&&(l==null||(0,s.default)(a,l))},r.isMethod=function(a,l){if(!a)return!1;switch(a.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isMiscellaneous=function(a,l){if(!a)return!1;switch(a.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isMixedTypeAnnotation=function(a,l){return!!a&&a.type==="MixedTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isModuleDeclaration=function(a,l){return(0,u.default)("isModuleDeclaration","isImportOrExportDeclaration"),H(a,l)},r.isModuleExpression=function(a,l){return!!a&&a.type==="ModuleExpression"&&(l==null||(0,s.default)(a,l))},r.isModuleSpecifier=function(a,l){if(!a)return!1;switch(a.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isNewExpression=function(a,l){return!!a&&a.type==="NewExpression"&&(l==null||(0,s.default)(a,l))},r.isNoop=function(a,l){return!!a&&a.type==="Noop"&&(l==null||(0,s.default)(a,l))},r.isNullLiteral=function(a,l){return!!a&&a.type==="NullLiteral"&&(l==null||(0,s.default)(a,l))},r.isNullLiteralTypeAnnotation=function(a,l){return!!a&&a.type==="NullLiteralTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isNullableTypeAnnotation=function(a,l){return!!a&&a.type==="NullableTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isNumberLiteral=function(a,l){return(0,u.default)("isNumberLiteral","isNumericLiteral"),!!a&&a.type==="NumberLiteral"&&(l==null||(0,s.default)(a,l))},r.isNumberLiteralTypeAnnotation=function(a,l){return!!a&&a.type==="NumberLiteralTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isNumberTypeAnnotation=function(a,l){return!!a&&a.type==="NumberTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isNumericLiteral=function(a,l){return!!a&&a.type==="NumericLiteral"&&(l==null||(0,s.default)(a,l))},r.isObjectExpression=function(a,l){return!!a&&a.type==="ObjectExpression"&&(l==null||(0,s.default)(a,l))},r.isObjectMember=function(a,l){if(!a)return!1;switch(a.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isObjectMethod=function(a,l){return!!a&&a.type==="ObjectMethod"&&(l==null||(0,s.default)(a,l))},r.isObjectPattern=function(a,l){return!!a&&a.type==="ObjectPattern"&&(l==null||(0,s.default)(a,l))},r.isObjectProperty=function(a,l){return!!a&&a.type==="ObjectProperty"&&(l==null||(0,s.default)(a,l))},r.isObjectTypeAnnotation=function(a,l){return!!a&&a.type==="ObjectTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isObjectTypeCallProperty=function(a,l){return!!a&&a.type==="ObjectTypeCallProperty"&&(l==null||(0,s.default)(a,l))},r.isObjectTypeIndexer=function(a,l){return!!a&&a.type==="ObjectTypeIndexer"&&(l==null||(0,s.default)(a,l))},r.isObjectTypeInternalSlot=function(a,l){return!!a&&a.type==="ObjectTypeInternalSlot"&&(l==null||(0,s.default)(a,l))},r.isObjectTypeProperty=function(a,l){return!!a&&a.type==="ObjectTypeProperty"&&(l==null||(0,s.default)(a,l))},r.isObjectTypeSpreadProperty=function(a,l){return!!a&&a.type==="ObjectTypeSpreadProperty"&&(l==null||(0,s.default)(a,l))},r.isOpaqueType=function(a,l){return!!a&&a.type==="OpaqueType"&&(l==null||(0,s.default)(a,l))},r.isOptionalCallExpression=function(a,l){return!!a&&a.type==="OptionalCallExpression"&&(l==null||(0,s.default)(a,l))},r.isOptionalIndexedAccessType=function(a,l){return!!a&&a.type==="OptionalIndexedAccessType"&&(l==null||(0,s.default)(a,l))},r.isOptionalMemberExpression=function(a,l){return!!a&&a.type==="OptionalMemberExpression"&&(l==null||(0,s.default)(a,l))},r.isParenthesizedExpression=function(a,l){return!!a&&a.type==="ParenthesizedExpression"&&(l==null||(0,s.default)(a,l))},r.isPattern=function(a,l){if(!a)return!1;switch(a.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if(a.expectedNode==="Pattern")break;default:return!1}return l==null||(0,s.default)(a,l)},r.isPatternLike=function(a,l){if(!a)return!1;switch(a.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(a.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return l==null||(0,s.default)(a,l)},r.isPipelineBareFunction=function(a,l){return!!a&&a.type==="PipelineBareFunction"&&(l==null||(0,s.default)(a,l))},r.isPipelinePrimaryTopicReference=function(a,l){return!!a&&a.type==="PipelinePrimaryTopicReference"&&(l==null||(0,s.default)(a,l))},r.isPipelineTopicExpression=function(a,l){return!!a&&a.type==="PipelineTopicExpression"&&(l==null||(0,s.default)(a,l))},r.isPlaceholder=function(a,l){return!!a&&a.type==="Placeholder"&&(l==null||(0,s.default)(a,l))},r.isPrivate=function(a,l){if(!a)return!1;switch(a.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isPrivateName=function(a,l){return!!a&&a.type==="PrivateName"&&(l==null||(0,s.default)(a,l))},r.isProgram=function(a,l){return!!a&&a.type==="Program"&&(l==null||(0,s.default)(a,l))},r.isProperty=function(a,l){if(!a)return!1;switch(a.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isPureish=function(a,l){if(!a)return!1;switch(a.type){case"FunctionDeclaration":case"FunctionExpression":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"ArrowFunctionExpression":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(a.expectedNode==="StringLiteral")break;default:return!1}return l==null||(0,s.default)(a,l)},r.isQualifiedTypeIdentifier=function(a,l){return!!a&&a.type==="QualifiedTypeIdentifier"&&(l==null||(0,s.default)(a,l))},r.isRecordExpression=function(a,l){return!!a&&a.type==="RecordExpression"&&(l==null||(0,s.default)(a,l))},r.isRegExpLiteral=function(a,l){return!!a&&a.type==="RegExpLiteral"&&(l==null||(0,s.default)(a,l))},r.isRegexLiteral=function(a,l){return(0,u.default)("isRegexLiteral","isRegExpLiteral"),!!a&&a.type==="RegexLiteral"&&(l==null||(0,s.default)(a,l))},r.isRestElement=function(a,l){return!!a&&a.type==="RestElement"&&(l==null||(0,s.default)(a,l))},r.isRestProperty=function(a,l){return(0,u.default)("isRestProperty","isRestElement"),!!a&&a.type==="RestProperty"&&(l==null||(0,s.default)(a,l))},r.isReturnStatement=function(a,l){return!!a&&a.type==="ReturnStatement"&&(l==null||(0,s.default)(a,l))},r.isScopable=function(a,l){if(!a)return!1;switch(a.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ClassExpression":case"ClassDeclaration":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(a.expectedNode==="BlockStatement")break;default:return!1}return l==null||(0,s.default)(a,l)},r.isSequenceExpression=function(a,l){return!!a&&a.type==="SequenceExpression"&&(l==null||(0,s.default)(a,l))},r.isSpreadElement=function(a,l){return!!a&&a.type==="SpreadElement"&&(l==null||(0,s.default)(a,l))},r.isSpreadProperty=function(a,l){return(0,u.default)("isSpreadProperty","isSpreadElement"),!!a&&a.type==="SpreadProperty"&&(l==null||(0,s.default)(a,l))},r.isStandardized=function(a,l){if(!a)return!1;switch(a.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportExpression":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":break;case"Placeholder":switch(a.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return l==null||(0,s.default)(a,l)},r.isStatement=function(a,l){if(!a)return!1;switch(a.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ForOfStatement":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":case"TSExportAssignment":case"TSNamespaceExportDeclaration":break;case"Placeholder":switch(a.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return l==null||(0,s.default)(a,l)},r.isStaticBlock=function(a,l){return!!a&&a.type==="StaticBlock"&&(l==null||(0,s.default)(a,l))},r.isStringLiteral=function(a,l){return!!a&&a.type==="StringLiteral"&&(l==null||(0,s.default)(a,l))},r.isStringLiteralTypeAnnotation=function(a,l){return!!a&&a.type==="StringLiteralTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isStringTypeAnnotation=function(a,l){return!!a&&a.type==="StringTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isSuper=function(a,l){return!!a&&a.type==="Super"&&(l==null||(0,s.default)(a,l))},r.isSwitchCase=function(a,l){return!!a&&a.type==="SwitchCase"&&(l==null||(0,s.default)(a,l))},r.isSwitchStatement=function(a,l){return!!a&&a.type==="SwitchStatement"&&(l==null||(0,s.default)(a,l))},r.isSymbolTypeAnnotation=function(a,l){return!!a&&a.type==="SymbolTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isTSAnyKeyword=function(a,l){return!!a&&a.type==="TSAnyKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSArrayType=function(a,l){return!!a&&a.type==="TSArrayType"&&(l==null||(0,s.default)(a,l))},r.isTSAsExpression=function(a,l){return!!a&&a.type==="TSAsExpression"&&(l==null||(0,s.default)(a,l))},r.isTSBaseType=function(a,l){if(!a)return!1;switch(a.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSLiteralType":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isTSBigIntKeyword=function(a,l){return!!a&&a.type==="TSBigIntKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSBooleanKeyword=function(a,l){return!!a&&a.type==="TSBooleanKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSCallSignatureDeclaration=function(a,l){return!!a&&a.type==="TSCallSignatureDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTSConditionalType=function(a,l){return!!a&&a.type==="TSConditionalType"&&(l==null||(0,s.default)(a,l))},r.isTSConstructSignatureDeclaration=function(a,l){return!!a&&a.type==="TSConstructSignatureDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTSConstructorType=function(a,l){return!!a&&a.type==="TSConstructorType"&&(l==null||(0,s.default)(a,l))},r.isTSDeclareFunction=function(a,l){return!!a&&a.type==="TSDeclareFunction"&&(l==null||(0,s.default)(a,l))},r.isTSDeclareMethod=function(a,l){return!!a&&a.type==="TSDeclareMethod"&&(l==null||(0,s.default)(a,l))},r.isTSEntityName=function(a,l){if(!a)return!1;switch(a.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(a.expectedNode==="Identifier")break;default:return!1}return l==null||(0,s.default)(a,l)},r.isTSEnumDeclaration=function(a,l){return!!a&&a.type==="TSEnumDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTSEnumMember=function(a,l){return!!a&&a.type==="TSEnumMember"&&(l==null||(0,s.default)(a,l))},r.isTSExportAssignment=function(a,l){return!!a&&a.type==="TSExportAssignment"&&(l==null||(0,s.default)(a,l))},r.isTSExpressionWithTypeArguments=function(a,l){return!!a&&a.type==="TSExpressionWithTypeArguments"&&(l==null||(0,s.default)(a,l))},r.isTSExternalModuleReference=function(a,l){return!!a&&a.type==="TSExternalModuleReference"&&(l==null||(0,s.default)(a,l))},r.isTSFunctionType=function(a,l){return!!a&&a.type==="TSFunctionType"&&(l==null||(0,s.default)(a,l))},r.isTSImportEqualsDeclaration=function(a,l){return!!a&&a.type==="TSImportEqualsDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTSImportType=function(a,l){return!!a&&a.type==="TSImportType"&&(l==null||(0,s.default)(a,l))},r.isTSIndexSignature=function(a,l){return!!a&&a.type==="TSIndexSignature"&&(l==null||(0,s.default)(a,l))},r.isTSIndexedAccessType=function(a,l){return!!a&&a.type==="TSIndexedAccessType"&&(l==null||(0,s.default)(a,l))},r.isTSInferType=function(a,l){return!!a&&a.type==="TSInferType"&&(l==null||(0,s.default)(a,l))},r.isTSInstantiationExpression=function(a,l){return!!a&&a.type==="TSInstantiationExpression"&&(l==null||(0,s.default)(a,l))},r.isTSInterfaceBody=function(a,l){return!!a&&a.type==="TSInterfaceBody"&&(l==null||(0,s.default)(a,l))},r.isTSInterfaceDeclaration=function(a,l){return!!a&&a.type==="TSInterfaceDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTSIntersectionType=function(a,l){return!!a&&a.type==="TSIntersectionType"&&(l==null||(0,s.default)(a,l))},r.isTSIntrinsicKeyword=function(a,l){return!!a&&a.type==="TSIntrinsicKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSLiteralType=function(a,l){return!!a&&a.type==="TSLiteralType"&&(l==null||(0,s.default)(a,l))},r.isTSMappedType=function(a,l){return!!a&&a.type==="TSMappedType"&&(l==null||(0,s.default)(a,l))},r.isTSMethodSignature=function(a,l){return!!a&&a.type==="TSMethodSignature"&&(l==null||(0,s.default)(a,l))},r.isTSModuleBlock=function(a,l){return!!a&&a.type==="TSModuleBlock"&&(l==null||(0,s.default)(a,l))},r.isTSModuleDeclaration=function(a,l){return!!a&&a.type==="TSModuleDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTSNamedTupleMember=function(a,l){return!!a&&a.type==="TSNamedTupleMember"&&(l==null||(0,s.default)(a,l))},r.isTSNamespaceExportDeclaration=function(a,l){return!!a&&a.type==="TSNamespaceExportDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTSNeverKeyword=function(a,l){return!!a&&a.type==="TSNeverKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSNonNullExpression=function(a,l){return!!a&&a.type==="TSNonNullExpression"&&(l==null||(0,s.default)(a,l))},r.isTSNullKeyword=function(a,l){return!!a&&a.type==="TSNullKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSNumberKeyword=function(a,l){return!!a&&a.type==="TSNumberKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSObjectKeyword=function(a,l){return!!a&&a.type==="TSObjectKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSOptionalType=function(a,l){return!!a&&a.type==="TSOptionalType"&&(l==null||(0,s.default)(a,l))},r.isTSParameterProperty=function(a,l){return!!a&&a.type==="TSParameterProperty"&&(l==null||(0,s.default)(a,l))},r.isTSParenthesizedType=function(a,l){return!!a&&a.type==="TSParenthesizedType"&&(l==null||(0,s.default)(a,l))},r.isTSPropertySignature=function(a,l){return!!a&&a.type==="TSPropertySignature"&&(l==null||(0,s.default)(a,l))},r.isTSQualifiedName=function(a,l){return!!a&&a.type==="TSQualifiedName"&&(l==null||(0,s.default)(a,l))},r.isTSRestType=function(a,l){return!!a&&a.type==="TSRestType"&&(l==null||(0,s.default)(a,l))},r.isTSSatisfiesExpression=function(a,l){return!!a&&a.type==="TSSatisfiesExpression"&&(l==null||(0,s.default)(a,l))},r.isTSStringKeyword=function(a,l){return!!a&&a.type==="TSStringKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSSymbolKeyword=function(a,l){return!!a&&a.type==="TSSymbolKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSThisType=function(a,l){return!!a&&a.type==="TSThisType"&&(l==null||(0,s.default)(a,l))},r.isTSTupleType=function(a,l){return!!a&&a.type==="TSTupleType"&&(l==null||(0,s.default)(a,l))},r.isTSType=function(a,l){if(!a)return!1;switch(a.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isTSTypeAliasDeclaration=function(a,l){return!!a&&a.type==="TSTypeAliasDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTSTypeAnnotation=function(a,l){return!!a&&a.type==="TSTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isTSTypeAssertion=function(a,l){return!!a&&a.type==="TSTypeAssertion"&&(l==null||(0,s.default)(a,l))},r.isTSTypeElement=function(a,l){if(!a)return!1;switch(a.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isTSTypeLiteral=function(a,l){return!!a&&a.type==="TSTypeLiteral"&&(l==null||(0,s.default)(a,l))},r.isTSTypeOperator=function(a,l){return!!a&&a.type==="TSTypeOperator"&&(l==null||(0,s.default)(a,l))},r.isTSTypeParameter=function(a,l){return!!a&&a.type==="TSTypeParameter"&&(l==null||(0,s.default)(a,l))},r.isTSTypeParameterDeclaration=function(a,l){return!!a&&a.type==="TSTypeParameterDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTSTypeParameterInstantiation=function(a,l){return!!a&&a.type==="TSTypeParameterInstantiation"&&(l==null||(0,s.default)(a,l))},r.isTSTypePredicate=function(a,l){return!!a&&a.type==="TSTypePredicate"&&(l==null||(0,s.default)(a,l))},r.isTSTypeQuery=function(a,l){return!!a&&a.type==="TSTypeQuery"&&(l==null||(0,s.default)(a,l))},r.isTSTypeReference=function(a,l){return!!a&&a.type==="TSTypeReference"&&(l==null||(0,s.default)(a,l))},r.isTSUndefinedKeyword=function(a,l){return!!a&&a.type==="TSUndefinedKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSUnionType=function(a,l){return!!a&&a.type==="TSUnionType"&&(l==null||(0,s.default)(a,l))},r.isTSUnknownKeyword=function(a,l){return!!a&&a.type==="TSUnknownKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSVoidKeyword=function(a,l){return!!a&&a.type==="TSVoidKeyword"&&(l==null||(0,s.default)(a,l))},r.isTaggedTemplateExpression=function(a,l){return!!a&&a.type==="TaggedTemplateExpression"&&(l==null||(0,s.default)(a,l))},r.isTemplateElement=function(a,l){return!!a&&a.type==="TemplateElement"&&(l==null||(0,s.default)(a,l))},r.isTemplateLiteral=function(a,l){return!!a&&a.type==="TemplateLiteral"&&(l==null||(0,s.default)(a,l))},r.isTerminatorless=function(a,l){if(!a)return!1;switch(a.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isThisExpression=function(a,l){return!!a&&a.type==="ThisExpression"&&(l==null||(0,s.default)(a,l))},r.isThisTypeAnnotation=function(a,l){return!!a&&a.type==="ThisTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isThrowStatement=function(a,l){return!!a&&a.type==="ThrowStatement"&&(l==null||(0,s.default)(a,l))},r.isTopicReference=function(a,l){return!!a&&a.type==="TopicReference"&&(l==null||(0,s.default)(a,l))},r.isTryStatement=function(a,l){return!!a&&a.type==="TryStatement"&&(l==null||(0,s.default)(a,l))},r.isTupleExpression=function(a,l){return!!a&&a.type==="TupleExpression"&&(l==null||(0,s.default)(a,l))},r.isTupleTypeAnnotation=function(a,l){return!!a&&a.type==="TupleTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isTypeAlias=function(a,l){return!!a&&a.type==="TypeAlias"&&(l==null||(0,s.default)(a,l))},r.isTypeAnnotation=function(a,l){return!!a&&a.type==="TypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isTypeCastExpression=function(a,l){return!!a&&a.type==="TypeCastExpression"&&(l==null||(0,s.default)(a,l))},r.isTypeParameter=function(a,l){return!!a&&a.type==="TypeParameter"&&(l==null||(0,s.default)(a,l))},r.isTypeParameterDeclaration=function(a,l){return!!a&&a.type==="TypeParameterDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTypeParameterInstantiation=function(a,l){return!!a&&a.type==="TypeParameterInstantiation"&&(l==null||(0,s.default)(a,l))},r.isTypeScript=function(a,l){if(!a)return!1;switch(a.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isTypeofTypeAnnotation=function(a,l){return!!a&&a.type==="TypeofTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isUnaryExpression=function(a,l){return!!a&&a.type==="UnaryExpression"&&(l==null||(0,s.default)(a,l))},r.isUnaryLike=function(a,l){if(!a)return!1;switch(a.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isUnionTypeAnnotation=function(a,l){return!!a&&a.type==="UnionTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isUpdateExpression=function(a,l){return!!a&&a.type==="UpdateExpression"&&(l==null||(0,s.default)(a,l))},r.isUserWhitespacable=function(a,l){if(!a)return!1;switch(a.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isV8IntrinsicIdentifier=function(a,l){return!!a&&a.type==="V8IntrinsicIdentifier"&&(l==null||(0,s.default)(a,l))},r.isVariableDeclaration=function(a,l){return!!a&&a.type==="VariableDeclaration"&&(l==null||(0,s.default)(a,l))},r.isVariableDeclarator=function(a,l){return!!a&&a.type==="VariableDeclarator"&&(l==null||(0,s.default)(a,l))},r.isVariance=function(a,l){return!!a&&a.type==="Variance"&&(l==null||(0,s.default)(a,l))},r.isVoidTypeAnnotation=function(a,l){return!!a&&a.type==="VoidTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isWhile=function(a,l){if(!a)return!1;switch(a.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isWhileStatement=function(a,l){return!!a&&a.type==="WhileStatement"&&(l==null||(0,s.default)(a,l))},r.isWithStatement=function(a,l){return!!a&&a.type==="WithStatement"&&(l==null||(0,s.default)(a,l))},r.isYieldExpression=function(a,l){return!!a&&a.type==="YieldExpression"&&(l==null||(0,s.default)(a,l))};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/shallowEqual.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/deprecationWarning.js");function H(a,l){if(!a)return!1;switch(a.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return l==null||(0,s.default)(a,l)}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/is.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(l,p,d){return p?(0,u.default)(p.type,l)?d===void 0||(0,s.default)(p,d):!d&&p.type==="Placeholder"&&l in a.FLIPPED_ALIAS_KEYS&&(0,H.default)(p.expectedNode,l):!1};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/shallowEqual.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isType.js"),H=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isPlaceholderType.js"),a=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isBinding.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H,a){if(a&&u.type==="Identifier"&&H.type==="ObjectProperty"&&a.type==="ObjectExpression")return!1;let l=s.default.keys[H.type];if(l)for(let p=0;p<l.length;p++){let d=H[l[p]];if(Array.isArray(d)){if(d.indexOf(u)>=0)return!0}else if(d===u)return!0}return!1};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isBlockScoped.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H){return(0,s.isFunctionDeclaration)(H)||(0,s.isClassDeclaration)(H)||(0,u.default)(H)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isLet.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isImmutable.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H){return(0,s.default)(H.type,"Immutable")?!0:(0,u.isIdentifier)(H)?H.name==="undefined":!1};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isType.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isLet.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H){return(0,s.isVariableDeclaration)(H)&&(H.kind!=="var"||H[u.BLOCK_SCOPED_SYMBOL])};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isNode.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){return!(!u||!s.VISITOR_KEYS[u.type])};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isNodesEquivalent.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function u(H,a){if(typeof H!="object"||typeof a!="object"||H==null||a==null)return H===a;if(H.type!==a.type)return!1;let l=Object.keys(s.NODE_FIELDS[H.type]||H.type),p=s.VISITOR_KEYS[H.type];for(let d of l){let h=H[d],m=a[d];if(typeof h!=typeof m)return!1;if(h!=null||m!=null){if(h==null||m==null)return!1;if(Array.isArray(h)){if(!Array.isArray(m)||h.length!==m.length)return!1;for(let g=0;g<h.length;g++)if(!u(h[g],m[g]))return!1}else if(typeof h!="object"||p!=null&&p.includes(d)){if(!u(h,m))return!1}else for(let g of Object.keys(h))if(h[g]!==m[g])return!1}}return!0};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isPlaceholderType.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H){if(u===H)return!0;let a=s.PLACEHOLDERS_ALIAS[u];if(a){for(let l of a)if(H===l)return!0}return!1};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isReferenced.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(c,s,u){switch(s.type){case"MemberExpression":case"OptionalMemberExpression":return s.property===c?!!s.computed:s.object===c;case"JSXMemberExpression":return s.object===c;case"VariableDeclarator":return s.init===c;case"ArrowFunctionExpression":return s.body===c;case"PrivateName":case"LabeledStatement":case"CatchClause":case"RestElement":case"BreakStatement":case"ContinueStatement":case"FunctionDeclaration":case"FunctionExpression":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportAttribute":case"JSXAttribute":case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return s.key===c&&!!s.computed;case"ObjectProperty":return s.key===c?!!s.computed:!u||u.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":case"TSPropertySignature":return s.key!==c||!!s.computed;case"ClassPrivateProperty":case"ObjectTypeProperty":return s.key!==c;case"ClassDeclaration":case"ClassExpression":return s.superClass===c;case"AssignmentExpression":case"AssignmentPattern":return s.right===c;case"ExportSpecifier":return(u==null||!u.source)&&s.local===c;case"TSEnumMember":return s.id!==c}return!0}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isScope.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H){return(0,s.isBlockStatement)(u)&&((0,s.isFunction)(H)||(0,s.isCatchClause)(H))?!1:(0,s.isPattern)(u)&&((0,s.isFunction)(H)||(0,s.isCatchClause)(H))?!0:(0,s.isScopable)(u)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isSpecifierDefault.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){return(0,s.isImportDefaultSpecifier)(u)||(0,s.isIdentifier)(u.imported||u.exported,{name:"default"})};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isType.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H){if(u===H)return!0;if(u==null||s.ALIAS_KEYS[H])return!1;let a=s.FLIPPED_ALIAS_KEYS[H];if(a){if(a[0]===u)return!0;for(let l of a)if(u===l)return!0}return!1};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isValidES3Identifier.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H){return(0,s.default)(H)&&!u.has(H)};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isValidIdentifier.js");let u=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"])},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isValidIdentifier.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H=!0){return typeof u!="string"||H&&((0,s.isKeyword)(u)||(0,s.isStrictReservedWord)(u,!0))?!1:(0,s.isIdentifierName)(u)};var s=c("./node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isVar.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H){return(0,s.isVariableDeclaration)(H,{kind:"var"})&&!H[u.BLOCK_SCOPED_SYMBOL]};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/matchesPattern.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H,a){if(!(0,s.isMemberExpression)(u))return!1;let l=Array.isArray(H)?H:H.split("."),p=[],d;for(d=u;(0,s.isMemberExpression)(d);d=d.object)p.push(d.property);if(p.push(d),p.length<l.length||!a&&p.length>l.length)return!1;for(let h=0,m=p.length-1;h<l.length;h++,m--){let g=p[m],y;if((0,s.isIdentifier)(g))y=g.name;else if((0,s.isStringLiteral)(g))y=g.value;else{if(!(0,s.isThisExpression)(g))return!1;y="this"}if(l[h]!==y)return!1}return!0};var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/react/isCompatTag.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(c){return!!c&&/^[a-z]/.test(c)}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/react/isReactComponent.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;let s=(0,c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js").default)("React.Component");r.default=s},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/validate.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(a,l,p){if(!a)return;let d=s.NODE_FIELDS[a.type];if(!d)return;let h=d[l];u(a,l,p,h),H(a,l,p)},r.validateChild=H,r.validateField=u;var s=c("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js");function u(a,l,p,d){d!=null&&d.validate&&(d.optional&&p==null||d.validate(a,l,p))}function H(a,l,p){if(p==null)return;let d=s.NODE_PARENT_VALIDATIONS[p.type];d&&d(a,l,p)}},"./node_modules/.pnpm/json5@2.2.3/node_modules/json5/dist/index.mjs":(o,r,c)=>{"use strict";c.r(r),c.d(r,{default:()=>K});var s={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},u={isSpaceSeparator:q=>typeof q=="string"&&s.Space_Separator.test(q),isIdStartChar:q=>typeof q=="string"&&(q>="a"&&q<="z"||q>="A"&&q<="Z"||q==="$"||q==="_"||s.ID_Start.test(q)),isIdContinueChar:q=>typeof q=="string"&&(q>="a"&&q<="z"||q>="A"&&q<="Z"||q>="0"&&q<="9"||q==="$"||q==="_"||q==="\u200C"||q==="\u200D"||s.ID_Continue.test(q)),isDigit:q=>typeof q=="string"&&/[0-9]/.test(q),isHexDigit:q=>typeof q=="string"&&/[0-9A-Fa-f]/.test(q)};let H,a,l,p,d,h,m,g,y;function _(q,Q,z){let ie=q[Q];if(ie!=null&&typeof ie=="object")if(Array.isArray(ie))for(let _e=0;_e<ie.length;_e++){let He=String(_e),be=_(ie,He,z);be===void 0?delete ie[He]:Object.defineProperty(ie,He,{value:be,writable:!0,enumerable:!0,configurable:!0})}else for(let _e in ie){let He=_(ie,_e,z);He===void 0?delete ie[_e]:Object.defineProperty(ie,_e,{value:He,writable:!0,enumerable:!0,configurable:!0})}return z.call(q,Q,ie)}let E,A,S,T,I;function L(){for(E="default",A="",S=!1,T=1;;){I=x();let q=D[E]();if(q)return q}}function x(){if(H[p])return String.fromCodePoint(H.codePointAt(p))}function C(){let q=x();return q===`
|
|
`?(d++,h=0):q?h+=q.length:h++,q&&(p+=q.length),q}let D={default(){switch(I){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
|
|
`:case"\r":case"\u2028":case"\u2029":return void C();case"/":return C(),void(E="comment");case void 0:return C(),O("eof")}if(!u.isSpaceSeparator(I))return D[a]();C()},comment(){switch(I){case"*":return C(),void(E="multiLineComment");case"/":return C(),void(E="singleLineComment")}throw P(C())},multiLineComment(){switch(I){case"*":return C(),void(E="multiLineCommentAsterisk");case void 0:throw P(C())}C()},multiLineCommentAsterisk(){switch(I){case"*":return void C();case"/":return C(),void(E="default");case void 0:throw P(C())}C(),E="multiLineComment"},singleLineComment(){switch(I){case`
|
|
`:case"\r":case"\u2028":case"\u2029":return C(),void(E="default");case void 0:return C(),O("eof")}C()},value(){switch(I){case"{":case"[":return O("punctuator",C());case"n":return C(),j("ull"),O("null",null);case"t":return C(),j("rue"),O("boolean",!0);case"f":return C(),j("alse"),O("boolean",!1);case"-":case"+":return C()==="-"&&(T=-1),void(E="sign");case".":return A=C(),void(E="decimalPointLeading");case"0":return A=C(),void(E="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return A=C(),void(E="decimalInteger");case"I":return C(),j("nfinity"),O("numeric",1/0);case"N":return C(),j("aN"),O("numeric",NaN);case'"':case"'":return S=C()==='"',A="",void(E="string")}throw P(C())},identifierNameStartEscape(){if(I!=="u")throw P(C());C();let q=k();switch(q){case"$":case"_":break;default:if(!u.isIdStartChar(q))throw Z()}A+=q,E="identifierName"},identifierName(){switch(I){case"$":case"_":case"\u200C":case"\u200D":return void(A+=C());case"\\":return C(),void(E="identifierNameEscape")}if(!u.isIdContinueChar(I))return O("identifier",A);A+=C()},identifierNameEscape(){if(I!=="u")throw P(C());C();let q=k();switch(q){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!u.isIdContinueChar(q))throw Z()}A+=q,E="identifierName"},sign(){switch(I){case".":return A=C(),void(E="decimalPointLeading");case"0":return A=C(),void(E="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return A=C(),void(E="decimalInteger");case"I":return C(),j("nfinity"),O("numeric",T*(1/0));case"N":return C(),j("aN"),O("numeric",NaN)}throw P(C())},zero(){switch(I){case".":return A+=C(),void(E="decimalPoint");case"e":case"E":return A+=C(),void(E="decimalExponent");case"x":case"X":return A+=C(),void(E="hexadecimal")}return O("numeric",0*T)},decimalInteger(){switch(I){case".":return A+=C(),void(E="decimalPoint");case"e":case"E":return A+=C(),void(E="decimalExponent")}if(!u.isDigit(I))return O("numeric",T*Number(A));A+=C()},decimalPointLeading(){if(u.isDigit(I))return A+=C(),void(E="decimalFraction");throw P(C())},decimalPoint(){switch(I){case"e":case"E":return A+=C(),void(E="decimalExponent")}return u.isDigit(I)?(A+=C(),void(E="decimalFraction")):O("numeric",T*Number(A))},decimalFraction(){switch(I){case"e":case"E":return A+=C(),void(E="decimalExponent")}if(!u.isDigit(I))return O("numeric",T*Number(A));A+=C()},decimalExponent(){switch(I){case"+":case"-":return A+=C(),void(E="decimalExponentSign")}if(u.isDigit(I))return A+=C(),void(E="decimalExponentInteger");throw P(C())},decimalExponentSign(){if(u.isDigit(I))return A+=C(),void(E="decimalExponentInteger");throw P(C())},decimalExponentInteger(){if(!u.isDigit(I))return O("numeric",T*Number(A));A+=C()},hexadecimal(){if(u.isHexDigit(I))return A+=C(),void(E="hexadecimalInteger");throw P(C())},hexadecimalInteger(){if(!u.isHexDigit(I))return O("numeric",T*Number(A));A+=C()},string(){switch(I){case"\\":return C(),void(A+=function(){switch(x()){case"b":return C(),"\b";case"f":return C(),"\f";case"n":return C(),`
|
|
`;case"r":return C(),"\r";case"t":return C()," ";case"v":return C(),"\v";case"0":if(C(),u.isDigit(x()))throw P(C());return"\0";case"x":return C(),function(){let q="",Q=x();if(!u.isHexDigit(Q)||(q+=C(),Q=x(),!u.isHexDigit(Q)))throw P(C());return q+=C(),String.fromCodePoint(parseInt(q,16))}();case"u":return C(),k();case`
|
|
`:case"\u2028":case"\u2029":return C(),"";case"\r":return C(),x()===`
|
|
`&&C(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case void 0:throw P(C())}return C()}());case'"':return S?(C(),O("string",A)):void(A+=C());case"'":return S?void(A+=C()):(C(),O("string",A));case`
|
|
`:case"\r":throw P(C());case"\u2028":case"\u2029":(function(q){console.warn(`JSON5: '${ee(q)}' in strings is not valid ECMAScript; consider escaping`)})(I);break;case void 0:throw P(C())}A+=C()},start(){switch(I){case"{":case"[":return O("punctuator",C())}E="value"},beforePropertyName(){switch(I){case"$":case"_":return A=C(),void(E="identifierName");case"\\":return C(),void(E="identifierNameStartEscape");case"}":return O("punctuator",C());case'"':case"'":return S=C()==='"',void(E="string")}if(u.isIdStartChar(I))return A+=C(),void(E="identifierName");throw P(C())},afterPropertyName(){if(I===":")return O("punctuator",C());throw P(C())},beforePropertyValue(){E="value"},afterPropertyValue(){switch(I){case",":case"}":return O("punctuator",C())}throw P(C())},beforeArrayValue(){if(I==="]")return O("punctuator",C());E="value"},afterArrayValue(){switch(I){case",":case"]":return O("punctuator",C())}throw P(C())},end(){throw P(C())}};function O(q,Q){return{type:q,value:Q,line:d,column:h}}function j(q){for(let Q of q){if(x()!==Q)throw P(C());C()}}function k(){let q="",Q=4;for(;Q-- >0;){let z=x();if(!u.isHexDigit(z))throw P(C());q+=C()}return String.fromCodePoint(parseInt(q,16))}let $={start(){if(m.type==="eof")throw W();U()},beforePropertyName(){switch(m.type){case"identifier":case"string":return g=m.value,void(a="afterPropertyName");case"punctuator":return void F();case"eof":throw W()}},afterPropertyName(){if(m.type==="eof")throw W();a="beforePropertyValue"},beforePropertyValue(){if(m.type==="eof")throw W();U()},beforeArrayValue(){if(m.type==="eof")throw W();m.type!=="punctuator"||m.value!=="]"?U():F()},afterPropertyValue(){if(m.type==="eof")throw W();switch(m.value){case",":return void(a="beforePropertyName");case"}":F()}},afterArrayValue(){if(m.type==="eof")throw W();switch(m.value){case",":return void(a="beforeArrayValue");case"]":F()}},end(){}};function U(){let q;switch(m.type){case"punctuator":switch(m.value){case"{":q={};break;case"[":q=[]}break;case"null":case"boolean":case"numeric":case"string":q=m.value}if(y===void 0)y=q;else{let Q=l[l.length-1];Array.isArray(Q)?Q.push(q):Object.defineProperty(Q,g,{value:q,writable:!0,enumerable:!0,configurable:!0})}if(q!==null&&typeof q=="object")l.push(q),a=Array.isArray(q)?"beforeArrayValue":"beforePropertyName";else{let Q=l[l.length-1];a=Q==null?"end":Array.isArray(Q)?"afterArrayValue":"afterPropertyValue"}}function F(){l.pop();let q=l[l.length-1];a=q==null?"end":Array.isArray(q)?"afterArrayValue":"afterPropertyValue"}function P(q){return J(q===void 0?`JSON5: invalid end of input at ${d}:${h}`:`JSON5: invalid character '${ee(q)}' at ${d}:${h}`)}function W(){return J(`JSON5: invalid end of input at ${d}:${h}`)}function Z(){return h-=5,J(`JSON5: invalid identifier character at ${d}:${h}`)}function ee(q){let Q={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(Q[q])return Q[q];if(q<" "){let z=q.charCodeAt(0).toString(16);return"\\x"+("00"+z).substring(z.length)}return q}function J(q){let Q=new SyntaxError(q);return Q.lineNumber=d,Q.columnNumber=h,Q}let K={parse:function(q,Q){H=String(q),a="start",l=[],p=0,d=1,h=0,m=void 0,g=void 0,y=void 0;do m=L(),$[a]();while(m.type!=="eof");return typeof Q=="function"?_({"":y},"",Q):y},stringify:function(q,Q,z){let ie=[],_e,He,be,Ve="",Fe="";if(Q==null||typeof Q!="object"||Array.isArray(Q)||(z=Q.space,be=Q.quote,Q=Q.replacer),typeof Q=="function")He=Q;else if(Array.isArray(Q)){_e=[];for(let je of Q){let Oe;typeof je=="string"?Oe=je:(typeof je=="number"||je instanceof String||je instanceof Number)&&(Oe=String(je)),Oe!==void 0&&_e.indexOf(Oe)<0&&_e.push(Oe)}}return z instanceof Number?z=Number(z):z instanceof String&&(z=String(z)),typeof z=="number"?z>0&&(z=Math.min(10,Math.floor(z)),Fe=" ".substr(0,z)):typeof z=="string"&&(Fe=z.substr(0,10)),me("",{"":q});function me(je,Oe){let re=Oe[je];switch(re!=null&&(typeof re.toJSON5=="function"?re=re.toJSON5(je):typeof re.toJSON=="function"&&(re=re.toJSON(je))),He&&(re=He.call(Oe,je,re)),re instanceof Number?re=Number(re):re instanceof String?re=String(re):re instanceof Boolean&&(re=re.valueOf()),re){case null:return"null";case!0:return"true";case!1:return"false"}return typeof re=="string"?ce(re):typeof re=="number"?String(re):typeof re=="object"?Array.isArray(re)?function(fe){if(ie.indexOf(fe)>=0)throw TypeError("Converting circular structure to JSON5");ie.push(fe);let he=Ve;Ve+=Fe;let se,Ie=[];for(let ye=0;ye<fe.length;ye++){let $e=me(String(ye),fe);Ie.push($e!==void 0?$e:"null")}if(Ie.length===0)se="[]";else if(Fe==="")se="["+Ie.join(",")+"]";else{let ye=`,
|
|
`+Ve,$e=Ie.join(ye);se=`[
|
|
`+Ve+$e+`,
|
|
`+he+"]"}return ie.pop(),Ve=he,se}(re):function(fe){if(ie.indexOf(fe)>=0)throw TypeError("Converting circular structure to JSON5");ie.push(fe);let he=Ve;Ve+=Fe;let se,Ie=_e||Object.keys(fe),ye=[];for(let $e of Ie){let nt=me($e,fe);if(nt!==void 0){let et=ke($e)+":";Fe!==""&&(et+=" "),et+=nt,ye.push(et)}}if(ye.length===0)se="{}";else{let $e;if(Fe==="")$e=ye.join(","),se="{"+$e+"}";else{let nt=`,
|
|
`+Ve;$e=ye.join(nt),se=`{
|
|
`+Ve+$e+`,
|
|
`+he+"}"}}return ie.pop(),Ve=he,se}(re):void 0}function ce(je){let Oe={"'":.1,'"':.2},re={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},fe="";for(let se=0;se<je.length;se++){let Ie=je[se];switch(Ie){case"'":case'"':Oe[Ie]++,fe+=Ie;continue;case"\0":if(u.isDigit(je[se+1])){fe+="\\x00";continue}}if(re[Ie])fe+=re[Ie];else if(Ie<" "){let ye=Ie.charCodeAt(0).toString(16);fe+="\\x"+("00"+ye).substring(ye.length)}else fe+=Ie}let he=be||Object.keys(Oe).reduce((se,Ie)=>Oe[se]<Oe[Ie]?se:Ie);return fe=fe.replace(new RegExp(he,"g"),re[he]),he+fe+he}function ke(je){if(je.length===0)return ce(je);let Oe=String.fromCodePoint(je.codePointAt(0));if(!u.isIdStartChar(Oe))return ce(je);for(let re=Oe.length;re<je.length;re++)if(!u.isIdContinueChar(String.fromCodePoint(je.codePointAt(re))))return ce(je);return je}}}},"./node_modules/.pnpm/@babel+preset-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/preset-typescript/package.json":o=>{"use strict";o.exports=JSON.parse('{"name":"@babel/preset-typescript","version":"7.24.7","description":"Babel preset for TypeScript.","repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-preset-typescript"},"license":"MIT","publishConfig":{"access":"public"},"main":"./lib/index.js","keywords":["babel-preset","typescript"],"dependencies":{"@babel/helper-plugin-utils":"^7.24.7","@babel/helper-validator-option":"^7.24.7","@babel/plugin-syntax-jsx":"^7.24.7","@babel/plugin-transform-modules-commonjs":"^7.24.7","@babel/plugin-transform-typescript":"^7.24.7"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.24.7","@babel/helper-plugin-test-runner":"^7.24.7"},"homepage":"https://babel.dev/docs/en/next/babel-preset-typescript","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20typescript%22+is%3Aopen","engines":{"node":">=6.9.0"},"author":"The Babel Team (https://babel.dev/team)","type":"commonjs"}')},"./node_modules/.pnpm/globals@11.12.0/node_modules/globals/globals.json":o=>{"use strict";o.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')}},t={};function n(o){var r=t[o];if(r!==void 0)return r.exports;var c=t[o]={exports:{}};return e[o].call(c.exports,c,c.exports,n),c.exports}n.d=(o,r)=>{for(var c in r)n.o(r,c)&&!n.o(o,c)&&Object.defineProperty(o,c,{enumerable:!0,get:r[c]})},n.o=(o,r)=>Object.prototype.hasOwnProperty.call(o,r),n.r=o=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.d(i,{default:()=>H});var o=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),r=n("url"),c=n("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/index.js");function s(a,l){return{name:"transform-import-meta",visitor:{Program(p){let d=[];if(p.traverse({MemberExpression(h){let{node:m}=h;m.object.type==="MetaProperty"&&m.object.meta.name==="import"&&m.object.property.name==="meta"&&m.property.type==="Identifier"&&m.property.name==="url"&&d.push(h)}}),d.length!==0)for(let h of d)h.replaceWith(c.smart.ast`${l.filename?JSON.stringify((0,r.pathToFileURL)(l.filename)):"require('url').pathToFileURL(__filename).toString()"}`)}}}}function u({template:a,types:l}){return{name:"@import-meta-env/babel",visitor:{Identifier(p){if(!l.isIdentifier(p)||!l.isMemberExpression(p.parentPath)&&!l.isOptionalMemberExpression(p.parentPath)||!l.isMemberExpression(p.parentPath.node))return;let d=p.parentPath.node;if(!l.isMetaProperty(d.object))return;let h=d.object;h.meta.name==="import"&&h.property.name==="meta"&&d.property.name==="env"&&p.parentPath.replaceWith(a.expression.ast("process.env"))}}}}function H(a){var l,p,d,h,m,g;let y=Object.assign(Object.assign({babelrc:!1,configFile:!1,compact:!1,retainLines:typeof a.retainLines!="boolean"||a.retainLines,filename:"",cwd:"/"},a.babel),{plugins:[[n("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js"),{allowTopLevelThis:!0}],[n("./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/index.js"),{noInterop:!0}],[s,{filename:a.filename}],[n("./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-class-properties/lib/index.js")],[n("./node_modules/.pnpm/@babel+plugin-transform-export-namespace-from@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-export-namespace-from/lib/index.js")],[u]]});a.ts&&(y.plugins.push([n("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/index.js"),{allowDeclareFields:!0}]),y.plugins.unshift([n("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/plugin.js")],[n("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-proposal-decorators/lib/index.js"),{legacy:!0}]),y.plugins.push(n("./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js")),y.plugins.push(n("./node_modules/.pnpm/@babel+plugin-syntax-import-assertions@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js"))),a.legacy&&(y.plugins.push(n("./node_modules/.pnpm/@babel+plugin-transform-nullish-coalescing-operator@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js")),y.plugins.push(n("./node_modules/.pnpm/@babel+plugin-transform-optional-chaining@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-optional-chaining/lib/index.js"))),a.babel&&Array.isArray(a.babel.plugins)&&((l=y.plugins)===null||l===void 0||l.push(...a.babel.plugins));try{return{code:((p=(0,o.transformSync)(a.source,y))===null||p===void 0?void 0:p.code)||""}}catch(_){return{error:_,code:"exports.__JITI_ERROR__ = "+JSON.stringify({filename:a.filename,line:((d=_.loc)===null||d===void 0?void 0:d.line)||0,column:((h=_.loc)===null||h===void 0?void 0:h.column)||0,code:(m=_.code)===null||m===void 0?void 0:m.replace("BABEL_","").replace("PARSE_ERROR","ParseError"),message:(g=_.message)===null||g===void 0?void 0:g.replace("/: ","").replace(/\(.+\)\s*$/,"")})}}}})(),Ype.exports=i.default})()});var tde=Le((CBt,ede)=>{function urt(e){throw e}ede.exports=function(t,n){let i=Jpe();return n={onError:urt,...n},n.transform||(n.transform=r3()),i(t,n)}});var _o=Le(n3=>{"use strict";Object.defineProperty(n3,"__esModule",{value:!0});var rde;(function(e){e[e.NONE=0]="NONE";let n=1;e[e._abstract=n]="_abstract";let i=n+1;e[e._accessor=i]="_accessor";let o=i+1;e[e._as=o]="_as";let r=o+1;e[e._assert=r]="_assert";let c=r+1;e[e._asserts=c]="_asserts";let s=c+1;e[e._async=s]="_async";let u=s+1;e[e._await=u]="_await";let H=u+1;e[e._checks=H]="_checks";let a=H+1;e[e._constructor=a]="_constructor";let l=a+1;e[e._declare=l]="_declare";let p=l+1;e[e._enum=p]="_enum";let d=p+1;e[e._exports=d]="_exports";let h=d+1;e[e._from=h]="_from";let m=h+1;e[e._get=m]="_get";let g=m+1;e[e._global=g]="_global";let y=g+1;e[e._implements=y]="_implements";let _=y+1;e[e._infer=_]="_infer";let E=_+1;e[e._interface=E]="_interface";let A=E+1;e[e._is=A]="_is";let S=A+1;e[e._keyof=S]="_keyof";let T=S+1;e[e._mixins=T]="_mixins";let I=T+1;e[e._module=I]="_module";let L=I+1;e[e._namespace=L]="_namespace";let x=L+1;e[e._of=x]="_of";let C=x+1;e[e._opaque=C]="_opaque";let D=C+1;e[e._out=D]="_out";let O=D+1;e[e._override=O]="_override";let j=O+1;e[e._private=j]="_private";let k=j+1;e[e._protected=k]="_protected";let $=k+1;e[e._proto=$]="_proto";let U=$+1;e[e._public=U]="_public";let F=U+1;e[e._readonly=F]="_readonly";let P=F+1;e[e._require=P]="_require";let W=P+1;e[e._satisfies=W]="_satisfies";let Z=W+1;e[e._set=Z]="_set";let ee=Z+1;e[e._static=ee]="_static";let J=ee+1;e[e._symbol=J]="_symbol";let ne=J+1;e[e._type=ne]="_type";let K=ne+1;e[e._unique=K]="_unique";let q=K+1;e[e._using=q]="_using"})(rde||(n3.ContextualKeyword=rde={}))});var _i=Le(Av=>{"use strict";Object.defineProperty(Av,"__esModule",{value:!0});var ur;(function(e){e[e.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";let n=16;e[e.IS_KEYWORD=n]="IS_KEYWORD";let i=32;e[e.IS_ASSIGN=i]="IS_ASSIGN";let o=64;e[e.IS_RIGHT_ASSOCIATIVE=o]="IS_RIGHT_ASSOCIATIVE";let r=128;e[e.IS_PREFIX=r]="IS_PREFIX";let c=256;e[e.IS_POSTFIX=c]="IS_POSTFIX";let s=512;e[e.IS_EXPRESSION_START=s]="IS_EXPRESSION_START";let u=512;e[e.num=u]="num";let H=1536;e[e.bigint=H]="bigint";let a=2560;e[e.decimal=a]="decimal";let l=3584;e[e.regexp=l]="regexp";let p=4608;e[e.string=p]="string";let d=5632;e[e.name=d]="name";let h=6144;e[e.eof=h]="eof";let m=7680;e[e.bracketL=m]="bracketL";let g=8192;e[e.bracketR=g]="bracketR";let y=9728;e[e.braceL=y]="braceL";let _=10752;e[e.braceBarL=_]="braceBarL";let E=11264;e[e.braceR=E]="braceR";let A=12288;e[e.braceBarR=A]="braceBarR";let S=13824;e[e.parenL=S]="parenL";let T=14336;e[e.parenR=T]="parenR";let I=15360;e[e.comma=I]="comma";let L=16384;e[e.semi=L]="semi";let x=17408;e[e.colon=x]="colon";let C=18432;e[e.doubleColon=C]="doubleColon";let D=19456;e[e.dot=D]="dot";let O=20480;e[e.question=O]="question";let j=21504;e[e.questionDot=j]="questionDot";let k=22528;e[e.arrow=k]="arrow";let $=23552;e[e.template=$]="template";let U=24576;e[e.ellipsis=U]="ellipsis";let F=25600;e[e.backQuote=F]="backQuote";let P=27136;e[e.dollarBraceL=P]="dollarBraceL";let W=27648;e[e.at=W]="at";let Z=29184;e[e.hash=Z]="hash";let ee=29728;e[e.eq=ee]="eq";let J=30752;e[e.assign=J]="assign";let ne=32640;e[e.preIncDec=ne]="preIncDec";let K=33664;e[e.postIncDec=K]="postIncDec";let q=34432;e[e.bang=q]="bang";let Q=35456;e[e.tilde=Q]="tilde";let z=35841;e[e.pipeline=z]="pipeline";let ie=36866;e[e.nullishCoalescing=ie]="nullishCoalescing";let _e=37890;e[e.logicalOR=_e]="logicalOR";let He=38915;e[e.logicalAND=He]="logicalAND";let be=39940;e[e.bitwiseOR=be]="bitwiseOR";let Ve=40965;e[e.bitwiseXOR=Ve]="bitwiseXOR";let Fe=41990;e[e.bitwiseAND=Fe]="bitwiseAND";let me=43015;e[e.equality=me]="equality";let ce=44040;e[e.lessThan=ce]="lessThan";let ke=45064;e[e.greaterThan=ke]="greaterThan";let je=46088;e[e.relationalOrEqual=je]="relationalOrEqual";let Oe=47113;e[e.bitShiftL=Oe]="bitShiftL";let re=48137;e[e.bitShiftR=re]="bitShiftR";let fe=49802;e[e.plus=fe]="plus";let he=50826;e[e.minus=he]="minus";let se=51723;e[e.modulo=se]="modulo";let Ie=52235;e[e.star=Ie]="star";let ye=53259;e[e.slash=ye]="slash";let $e=54348;e[e.exponent=$e]="exponent";let nt=55296;e[e.jsxName=nt]="jsxName";let et=56320;e[e.jsxText=et]="jsxText";let xe=57344;e[e.jsxEmptyText=xe]="jsxEmptyText";let pe=58880;e[e.jsxTagStart=pe]="jsxTagStart";let ue=59392;e[e.jsxTagEnd=ue]="jsxTagEnd";let Se=60928;e[e.typeParameterStart=Se]="typeParameterStart";let Ae=61440;e[e.nonNullAssertion=Ae]="nonNullAssertion";let de=62480;e[e._break=de]="_break";let We=63504;e[e._case=We]="_case";let tt=64528;e[e._catch=tt]="_catch";let mt=65552;e[e._continue=mt]="_continue";let At=66576;e[e._debugger=At]="_debugger";let pt=67600;e[e._default=pt]="_default";let Nt=68624;e[e._do=Nt]="_do";let Ce=69648;e[e._else=Ce]="_else";let qe=70672;e[e._finally=qe]="_finally";let ot=71696;e[e._for=ot]="_for";let Ze=73232;e[e._function=Ze]="_function";let Pe=73744;e[e._if=Pe]="_if";let Qe=74768;e[e._return=Qe]="_return";let Ge=75792;e[e._switch=Ge]="_switch";let we=77456;e[e._throw=we]="_throw";let Ne=77840;e[e._try=Ne]="_try";let ht=78864;e[e._var=ht]="_var";let it=79888;e[e._let=it]="_let";let Tt=80912;e[e._const=Tt]="_const";let Ot=81936;e[e._while=Ot]="_while";let Pt=82960;e[e._with=Pt]="_with";let Ir=84496;e[e._new=Ir]="_new";let Lr=85520;e[e._this=Lr]="_this";let _n=86544;e[e._super=_n]="_super";let _r=87568;e[e._class=_r]="_class";let bn=88080;e[e._extends=bn]="_extends";let wr=89104;e[e._export=wr]="_export";let on=90640;e[e._import=on]="_import";let Cn=91664;e[e._yield=Cn]="_yield";let Jr=92688;e[e._null=Jr]="_null";let Di=93712;e[e._true=Di]="_true";let Gi=94736;e[e._false=Gi]="_false";let mn=95256;e[e._in=mn]="_in";let Li=96280;e[e._instanceof=Li]="_instanceof";let us=97936;e[e._typeof=us]="_typeof";let Ni=98960;e[e._void=Ni]="_void";let xn=99984;e[e._delete=xn]="_delete";let ii=100880;e[e._async=ii]="_async";let ts=101904;e[e._get=ts]="_get";let Pn=102928;e[e._set=Pn]="_set";let si=103952;e[e._declare=si]="_declare";let Vs=104976;e[e._readonly=Vs]="_readonly";let Oi=106e3;e[e._abstract=Oi]="_abstract";let Ls=107024;e[e._static=Ls]="_static";let Fi=107536;e[e._public=Fi]="_public";let qr=108560;e[e._private=qr]="_private";let Mr=109584;e[e._protected=Mr]="_protected";let rs=110608;e[e._override=rs]="_override";let Br=112144;e[e._as=Br]="_as";let Rs=113168;e[e._enum=Rs]="_enum";let Xi=114192;e[e._type=Xi]="_type";let ns=115216;e[e._implements=ns]="_implements"})(ur||(Av.TokenType=ur={}));function Hrt(e){switch(e){case ur.num:return"num";case ur.bigint:return"bigint";case ur.decimal:return"decimal";case ur.regexp:return"regexp";case ur.string:return"string";case ur.name:return"name";case ur.eof:return"eof";case ur.bracketL:return"[";case ur.bracketR:return"]";case ur.braceL:return"{";case ur.braceBarL:return"{|";case ur.braceR:return"}";case ur.braceBarR:return"|}";case ur.parenL:return"(";case ur.parenR:return")";case ur.comma:return",";case ur.semi:return";";case ur.colon:return":";case ur.doubleColon:return"::";case ur.dot:return".";case ur.question:return"?";case ur.questionDot:return"?.";case ur.arrow:return"=>";case ur.template:return"template";case ur.ellipsis:return"...";case ur.backQuote:return"`";case ur.dollarBraceL:return"${";case ur.at:return"@";case ur.hash:return"#";case ur.eq:return"=";case ur.assign:return"_=";case ur.preIncDec:return"++/--";case ur.postIncDec:return"++/--";case ur.bang:return"!";case ur.tilde:return"~";case ur.pipeline:return"|>";case ur.nullishCoalescing:return"??";case ur.logicalOR:return"||";case ur.logicalAND:return"&&";case ur.bitwiseOR:return"|";case ur.bitwiseXOR:return"^";case ur.bitwiseAND:return"&";case ur.equality:return"==/!=";case ur.lessThan:return"<";case ur.greaterThan:return">";case ur.relationalOrEqual:return"<=/>=";case ur.bitShiftL:return"<<";case ur.bitShiftR:return">>/>>>";case ur.plus:return"+";case ur.minus:return"-";case ur.modulo:return"%";case ur.star:return"*";case ur.slash:return"/";case ur.exponent:return"**";case ur.jsxName:return"jsxName";case ur.jsxText:return"jsxText";case ur.jsxEmptyText:return"jsxEmptyText";case ur.jsxTagStart:return"jsxTagStart";case ur.jsxTagEnd:return"jsxTagEnd";case ur.typeParameterStart:return"typeParameterStart";case ur.nonNullAssertion:return"nonNullAssertion";case ur._break:return"break";case ur._case:return"case";case ur._catch:return"catch";case ur._continue:return"continue";case ur._debugger:return"debugger";case ur._default:return"default";case ur._do:return"do";case ur._else:return"else";case ur._finally:return"finally";case ur._for:return"for";case ur._function:return"function";case ur._if:return"if";case ur._return:return"return";case ur._switch:return"switch";case ur._throw:return"throw";case ur._try:return"try";case ur._var:return"var";case ur._let:return"let";case ur._const:return"const";case ur._while:return"while";case ur._with:return"with";case ur._new:return"new";case ur._this:return"this";case ur._super:return"super";case ur._class:return"class";case ur._extends:return"extends";case ur._export:return"export";case ur._import:return"import";case ur._yield:return"yield";case ur._null:return"null";case ur._true:return"true";case ur._false:return"false";case ur._in:return"in";case ur._instanceof:return"instanceof";case ur._typeof:return"typeof";case ur._void:return"void";case ur._delete:return"delete";case ur._async:return"async";case ur._get:return"get";case ur._set:return"set";case ur._declare:return"declare";case ur._readonly:return"readonly";case ur._abstract:return"abstract";case ur._static:return"static";case ur._public:return"public";case ur._private:return"private";case ur._protected:return"protected";case ur._override:return"override";case ur._as:return"as";case ur._enum:return"enum";case ur._type:return"type";case ur._implements:return"implements";default:return""}}Av.formatTokenType=Hrt});var Sv=Le(fg=>{"use strict";Object.defineProperty(fg,"__esModule",{value:!0});var prt=_o(),drt=_i(),i3=class{constructor(t,n,i){this.startTokenIndex=t,this.endTokenIndex=n,this.isFunctionScope=i}};fg.Scope=i3;var Iv=class{constructor(t,n,i,o,r,c,s,u,H,a,l,p,d){this.potentialArrowAt=t,this.noAnonFunctionType=n,this.inDisallowConditionalTypesContext=i,this.tokensLength=o,this.scopesLength=r,this.pos=c,this.type=s,this.contextualKeyword=u,this.start=H,this.end=a,this.isType=l,this.scopeDepth=p,this.error=d}};fg.StateSnapshot=Iv;var s3=class e{constructor(){e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),e.prototype.__init6.call(this),e.prototype.__init7.call(this),e.prototype.__init8.call(this),e.prototype.__init9.call(this),e.prototype.__init10.call(this),e.prototype.__init11.call(this),e.prototype.__init12.call(this),e.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=drt.TokenType.eof}__init8(){this.contextualKeyword=prt.ContextualKeyword.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new Iv(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(t){this.potentialArrowAt=t.potentialArrowAt,this.noAnonFunctionType=t.noAnonFunctionType,this.inDisallowConditionalTypesContext=t.inDisallowConditionalTypesContext,this.tokens.length=t.tokensLength,this.scopes.length=t.scopesLength,this.pos=t.pos,this.type=t.type,this.contextualKeyword=t.contextualKeyword,this.start=t.start,this.end=t.end,this.isType=t.isType,this.scopeDepth=t.scopeDepth,this.error=t.error}};fg.default=s3});var Xl=Le(Lv=>{"use strict";Object.defineProperty(Lv,"__esModule",{value:!0});var bd;(function(e){e[e.backSpace=8]="backSpace";let n=10;e[e.lineFeed=n]="lineFeed";let i=9;e[e.tab=i]="tab";let o=13;e[e.carriageReturn=o]="carriageReturn";let r=14;e[e.shiftOut=r]="shiftOut";let c=32;e[e.space=c]="space";let s=33;e[e.exclamationMark=s]="exclamationMark";let u=34;e[e.quotationMark=u]="quotationMark";let H=35;e[e.numberSign=H]="numberSign";let a=36;e[e.dollarSign=a]="dollarSign";let l=37;e[e.percentSign=l]="percentSign";let p=38;e[e.ampersand=p]="ampersand";let d=39;e[e.apostrophe=d]="apostrophe";let h=40;e[e.leftParenthesis=h]="leftParenthesis";let m=41;e[e.rightParenthesis=m]="rightParenthesis";let g=42;e[e.asterisk=g]="asterisk";let y=43;e[e.plusSign=y]="plusSign";let _=44;e[e.comma=_]="comma";let E=45;e[e.dash=E]="dash";let A=46;e[e.dot=A]="dot";let S=47;e[e.slash=S]="slash";let T=48;e[e.digit0=T]="digit0";let I=49;e[e.digit1=I]="digit1";let L=50;e[e.digit2=L]="digit2";let x=51;e[e.digit3=x]="digit3";let C=52;e[e.digit4=C]="digit4";let D=53;e[e.digit5=D]="digit5";let O=54;e[e.digit6=O]="digit6";let j=55;e[e.digit7=j]="digit7";let k=56;e[e.digit8=k]="digit8";let $=57;e[e.digit9=$]="digit9";let U=58;e[e.colon=U]="colon";let F=59;e[e.semicolon=F]="semicolon";let P=60;e[e.lessThan=P]="lessThan";let W=61;e[e.equalsTo=W]="equalsTo";let Z=62;e[e.greaterThan=Z]="greaterThan";let ee=63;e[e.questionMark=ee]="questionMark";let J=64;e[e.atSign=J]="atSign";let ne=65;e[e.uppercaseA=ne]="uppercaseA";let K=66;e[e.uppercaseB=K]="uppercaseB";let q=67;e[e.uppercaseC=q]="uppercaseC";let Q=68;e[e.uppercaseD=Q]="uppercaseD";let z=69;e[e.uppercaseE=z]="uppercaseE";let ie=70;e[e.uppercaseF=ie]="uppercaseF";let _e=71;e[e.uppercaseG=_e]="uppercaseG";let He=72;e[e.uppercaseH=He]="uppercaseH";let be=73;e[e.uppercaseI=be]="uppercaseI";let Ve=74;e[e.uppercaseJ=Ve]="uppercaseJ";let Fe=75;e[e.uppercaseK=Fe]="uppercaseK";let me=76;e[e.uppercaseL=me]="uppercaseL";let ce=77;e[e.uppercaseM=ce]="uppercaseM";let ke=78;e[e.uppercaseN=ke]="uppercaseN";let je=79;e[e.uppercaseO=je]="uppercaseO";let Oe=80;e[e.uppercaseP=Oe]="uppercaseP";let re=81;e[e.uppercaseQ=re]="uppercaseQ";let fe=82;e[e.uppercaseR=fe]="uppercaseR";let he=83;e[e.uppercaseS=he]="uppercaseS";let se=84;e[e.uppercaseT=se]="uppercaseT";let Ie=85;e[e.uppercaseU=Ie]="uppercaseU";let ye=86;e[e.uppercaseV=ye]="uppercaseV";let $e=87;e[e.uppercaseW=$e]="uppercaseW";let nt=88;e[e.uppercaseX=nt]="uppercaseX";let et=89;e[e.uppercaseY=et]="uppercaseY";let xe=90;e[e.uppercaseZ=xe]="uppercaseZ";let pe=91;e[e.leftSquareBracket=pe]="leftSquareBracket";let ue=92;e[e.backslash=ue]="backslash";let Se=93;e[e.rightSquareBracket=Se]="rightSquareBracket";let Ae=94;e[e.caret=Ae]="caret";let de=95;e[e.underscore=de]="underscore";let We=96;e[e.graveAccent=We]="graveAccent";let tt=97;e[e.lowercaseA=tt]="lowercaseA";let mt=98;e[e.lowercaseB=mt]="lowercaseB";let At=99;e[e.lowercaseC=At]="lowercaseC";let pt=100;e[e.lowercaseD=pt]="lowercaseD";let Nt=101;e[e.lowercaseE=Nt]="lowercaseE";let Ce=102;e[e.lowercaseF=Ce]="lowercaseF";let qe=103;e[e.lowercaseG=qe]="lowercaseG";let ot=104;e[e.lowercaseH=ot]="lowercaseH";let Ze=105;e[e.lowercaseI=Ze]="lowercaseI";let Pe=106;e[e.lowercaseJ=Pe]="lowercaseJ";let Qe=107;e[e.lowercaseK=Qe]="lowercaseK";let Ge=108;e[e.lowercaseL=Ge]="lowercaseL";let we=109;e[e.lowercaseM=we]="lowercaseM";let Ne=110;e[e.lowercaseN=Ne]="lowercaseN";let ht=111;e[e.lowercaseO=ht]="lowercaseO";let it=112;e[e.lowercaseP=it]="lowercaseP";let Tt=113;e[e.lowercaseQ=Tt]="lowercaseQ";let Ot=114;e[e.lowercaseR=Ot]="lowercaseR";let Pt=115;e[e.lowercaseS=Pt]="lowercaseS";let Ir=116;e[e.lowercaseT=Ir]="lowercaseT";let Lr=117;e[e.lowercaseU=Lr]="lowercaseU";let _n=118;e[e.lowercaseV=_n]="lowercaseV";let _r=119;e[e.lowercaseW=_r]="lowercaseW";let bn=120;e[e.lowercaseX=bn]="lowercaseX";let wr=121;e[e.lowercaseY=wr]="lowercaseY";let on=122;e[e.lowercaseZ=on]="lowercaseZ";let Cn=123;e[e.leftCurlyBrace=Cn]="leftCurlyBrace";let Jr=124;e[e.verticalBar=Jr]="verticalBar";let Di=125;e[e.rightCurlyBrace=Di]="rightCurlyBrace";let Gi=126;e[e.tilde=Gi]="tilde";let mn=160;e[e.nonBreakingSpace=mn]="nonBreakingSpace";let Li=5760;e[e.oghamSpaceMark=Li]="oghamSpaceMark";let us=8232;e[e.lineSeparator=us]="lineSeparator";let Ni=8233;e[e.paragraphSeparator=Ni]="paragraphSeparator"})(bd||(Lv.charCodes=bd={}));function frt(e){return e>=bd.digit0&&e<=bd.digit9||e>=bd.lowercaseA&&e<=bd.lowercaseF||e>=bd.uppercaseA&&e<=bd.uppercaseF}Lv.isDigit=frt});var Zl=Le(Ma=>{"use strict";Object.defineProperty(Ma,"__esModule",{value:!0});function hrt(e){return e&&e.__esModule?e:{default:e}}var _rt=Sv(),mrt=hrt(_rt),Ert=Xl();Ma.isJSXEnabled;Ma.isTypeScriptEnabled;Ma.isFlowEnabled;Ma.state;Ma.input;Ma.nextContextId;function yrt(){return Ma.nextContextId++}Ma.getNextContextId=yrt;function grt(e){if("pos"in e){let t=nde(e.pos);e.message+=` (${t.line}:${t.column})`,e.loc=t}return e}Ma.augmentError=grt;var Tv=class{constructor(t,n){this.line=t,this.column=n}};Ma.Loc=Tv;function nde(e){let t=1,n=1;for(let i=0;i<e;i++)Ma.input.charCodeAt(i)===Ert.charCodes.lineFeed?(t++,n=1):n++;return new Tv(t,n)}Ma.locationForIndex=nde;function brt(e,t,n,i){Ma.input=e,Ma.state=new mrt.default,Ma.nextContextId=1,Ma.isJSXEnabled=t,Ma.isTypeScriptEnabled=n,Ma.isFlowEnabled=i}Ma.initParser=brt});var Id=Le(Jl=>{"use strict";Object.defineProperty(Jl,"__esModule",{value:!0});var Ad=io(),Qf=_i(),vv=Xl(),zl=Zl();function Art(e){return zl.state.contextualKeyword===e}Jl.isContextual=Art;function Irt(e){let t=Ad.lookaheadTypeAndKeyword.call(void 0);return t.type===Qf.TokenType.name&&t.contextualKeyword===e}Jl.isLookaheadContextual=Irt;function ide(e){return zl.state.contextualKeyword===e&&Ad.eat.call(void 0,Qf.TokenType.name)}Jl.eatContextual=ide;function Srt(e){ide(e)||Cv()}Jl.expectContextual=Srt;function sde(){return Ad.match.call(void 0,Qf.TokenType.eof)||Ad.match.call(void 0,Qf.TokenType.braceR)||ade()}Jl.canInsertSemicolon=sde;function ade(){let e=zl.state.tokens[zl.state.tokens.length-1],t=e?e.end:0;for(let n=t;n<zl.state.start;n++){let i=zl.input.charCodeAt(n);if(i===vv.charCodes.lineFeed||i===vv.charCodes.carriageReturn||i===8232||i===8233)return!0}return!1}Jl.hasPrecedingLineBreak=ade;function Lrt(){let e=Ad.nextTokenStart.call(void 0);for(let t=zl.state.end;t<e;t++){let n=zl.input.charCodeAt(t);if(n===vv.charCodes.lineFeed||n===vv.charCodes.carriageReturn||n===8232||n===8233)return!0}return!1}Jl.hasFollowingLineBreak=Lrt;function ode(){return Ad.eat.call(void 0,Qf.TokenType.semi)||sde()}Jl.isLineTerminator=ode;function Trt(){ode()||Cv('Unexpected token, expected ";"')}Jl.semicolon=Trt;function vrt(e){Ad.eat.call(void 0,e)||Cv(`Unexpected token, expected "${Qf.formatTokenType.call(void 0,e)}"`)}Jl.expect=vrt;function Cv(e="Unexpected token",t=zl.state.start){if(zl.state.error)return;let n=new SyntaxError(e);n.pos=t,zl.state.error=n,zl.state.pos=zl.input.length,Ad.finishToken.call(void 0,Qf.TokenType.eof)}Jl.unexpected=Cv});var o3=Le(Yf=>{"use strict";Object.defineProperty(Yf,"__esModule",{value:!0});var a3=Xl(),Crt=[9,11,12,a3.charCodes.space,a3.charCodes.nonBreakingSpace,a3.charCodes.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];Yf.WHITESPACE_CHARS=Crt;var xrt=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;Yf.skipWhiteSpace=xrt;var Drt=new Uint8Array(65536);Yf.IS_WHITESPACE=Drt;for(let e of Yf.WHITESPACE_CHARS)Yf.IS_WHITESPACE[e]=1});var wm=Le(pu=>{"use strict";Object.defineProperty(pu,"__esModule",{value:!0});var lde=Xl(),Prt=o3();function wrt(e){if(e<48)return e===36;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return e===95;if(e<123)return!0;if(e<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}var krt=new Uint8Array(65536);pu.IS_IDENTIFIER_CHAR=krt;for(let e=0;e<128;e++)pu.IS_IDENTIFIER_CHAR[e]=wrt(e)?1:0;for(let e=128;e<65536;e++)pu.IS_IDENTIFIER_CHAR[e]=1;for(let e of Prt.WHITESPACE_CHARS)pu.IS_IDENTIFIER_CHAR[e]=0;pu.IS_IDENTIFIER_CHAR[8232]=0;pu.IS_IDENTIFIER_CHAR[8233]=0;var Nrt=pu.IS_IDENTIFIER_CHAR.slice();pu.IS_IDENTIFIER_START=Nrt;for(let e=lde.charCodes.digit0;e<=lde.charCodes.digit9;e++)pu.IS_IDENTIFIER_START[e]=0});var cde=Le(l3=>{"use strict";Object.defineProperty(l3,"__esModule",{value:!0});var li=_o(),Ei=_i(),Rrt=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._break<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._case<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._catch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._class<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,(Ei.TokenType._const<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._continue<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._debugger<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,(Ei.TokenType._default<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._delete<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._do<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._else<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,(Ei.TokenType._export<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._extends<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._false<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,(Ei.TokenType._finally<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._for<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._function<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._if<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,(Ei.TokenType._import<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._in<<1)+1,-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._instanceof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,(Ei.TokenType._let<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,(Ei.TokenType._new<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._null<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,li.ContextualKeyword._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,li.ContextualKeyword._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._return<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,7371,-1,7479,-1,7614,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7155,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._satisfies<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7263,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._super<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7533,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._switch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._this<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,(Ei.TokenType._throw<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7965,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._true<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._try<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8127,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._typeof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8289,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,li.ContextualKeyword._using<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8505,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._var<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._void<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8640,8748,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8667,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8694,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8721,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._while<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._with<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Ei.TokenType._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);l3.READ_WORD_TREE=Rrt});var dde=Le(u3=>{"use strict";Object.defineProperty(u3,"__esModule",{value:!0});var du=Zl(),Sd=Xl(),ude=wm(),c3=io(),Hde=cde(),pde=_i();function $rt(){let e=0,t=0,n=du.state.pos;for(;n<du.input.length&&(t=du.input.charCodeAt(n),!(t<Sd.charCodes.lowercaseA||t>Sd.charCodes.lowercaseZ));){let o=Hde.READ_WORD_TREE[e+(t-Sd.charCodes.lowercaseA)+1];if(o===-1)break;e=o,n++}let i=Hde.READ_WORD_TREE[e];if(i>-1&&!ude.IS_IDENTIFIER_CHAR[t]){du.state.pos=n,i&1?c3.finishToken.call(void 0,i>>>1):c3.finishToken.call(void 0,pde.TokenType.name,i>>>1);return}for(;n<du.input.length;){let o=du.input.charCodeAt(n);if(ude.IS_IDENTIFIER_CHAR[o])n++;else if(o===Sd.charCodes.backslash){if(n+=2,du.input.charCodeAt(n)===Sd.charCodes.leftCurlyBrace){for(;n<du.input.length&&du.input.charCodeAt(n)!==Sd.charCodes.rightCurlyBrace;)n++;n++}}else if(o===Sd.charCodes.atSign&&du.input.charCodeAt(n+1)===Sd.charCodes.atSign)n+=2;else break}du.state.pos=n,c3.finishToken.call(void 0,pde.TokenType.name)}u3.default=$rt});var io=Le(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});function Mrt(e){return e&&e.__esModule?e:{default:e}}var Ct=Zl(),km=Id(),er=Xl(),hde=wm(),p3=o3(),Brt=_o(),Ort=dde(),Frt=Mrt(Ort),Yr=_i(),ha;(function(e){e[e.Access=0]="Access";let n=1;e[e.ExportAccess=n]="ExportAccess";let i=n+1;e[e.TopLevelDeclaration=i]="TopLevelDeclaration";let o=i+1;e[e.FunctionScopedDeclaration=o]="FunctionScopedDeclaration";let r=o+1;e[e.BlockScopedDeclaration=r]="BlockScopedDeclaration";let c=r+1;e[e.ObjectShorthandTopLevelDeclaration=c]="ObjectShorthandTopLevelDeclaration";let s=c+1;e[e.ObjectShorthandFunctionScopedDeclaration=s]="ObjectShorthandFunctionScopedDeclaration";let u=s+1;e[e.ObjectShorthandBlockScopedDeclaration=u]="ObjectShorthandBlockScopedDeclaration";let H=u+1;e[e.ObjectShorthand=H]="ObjectShorthand";let a=H+1;e[e.ImportDeclaration=a]="ImportDeclaration";let l=a+1;e[e.ObjectKey=l]="ObjectKey";let p=l+1;e[e.ImportAccess=p]="ImportAccess"})(ha||(Vi.IdentifierRole=ha={}));var fde;(function(e){e[e.NoChildren=0]="NoChildren";let n=1;e[e.OneChild=n]="OneChild";let i=n+1;e[e.StaticChildren=i]="StaticChildren";let o=i+1;e[e.KeyAfterPropSpread=o]="KeyAfterPropSpread"})(fde||(Vi.JSXRole=fde={}));function jrt(e){let t=e.identifierRole;return t===ha.TopLevelDeclaration||t===ha.FunctionScopedDeclaration||t===ha.BlockScopedDeclaration||t===ha.ObjectShorthandTopLevelDeclaration||t===ha.ObjectShorthandFunctionScopedDeclaration||t===ha.ObjectShorthandBlockScopedDeclaration}Vi.isDeclaration=jrt;function Urt(e){let t=e.identifierRole;return t===ha.FunctionScopedDeclaration||t===ha.BlockScopedDeclaration||t===ha.ObjectShorthandFunctionScopedDeclaration||t===ha.ObjectShorthandBlockScopedDeclaration}Vi.isNonTopLevelDeclaration=Urt;function qrt(e){let t=e.identifierRole;return t===ha.TopLevelDeclaration||t===ha.ObjectShorthandTopLevelDeclaration||t===ha.ImportDeclaration}Vi.isTopLevelDeclaration=qrt;function Wrt(e){let t=e.identifierRole;return t===ha.TopLevelDeclaration||t===ha.BlockScopedDeclaration||t===ha.ObjectShorthandTopLevelDeclaration||t===ha.ObjectShorthandBlockScopedDeclaration}Vi.isBlockScopedDeclaration=Wrt;function Vrt(e){let t=e.identifierRole;return t===ha.FunctionScopedDeclaration||t===ha.ObjectShorthandFunctionScopedDeclaration}Vi.isFunctionScopedDeclaration=Vrt;function Krt(e){return e.identifierRole===ha.ObjectShorthandTopLevelDeclaration||e.identifierRole===ha.ObjectShorthandBlockScopedDeclaration||e.identifierRole===ha.ObjectShorthandFunctionScopedDeclaration}Vi.isObjectShorthandDeclaration=Krt;var hg=class{constructor(){this.type=Ct.state.type,this.contextualKeyword=Ct.state.contextualKeyword,this.start=Ct.state.start,this.end=Ct.state.end,this.scopeDepth=Ct.state.scopeDepth,this.isType=Ct.state.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}};Vi.Token=hg;function Dv(){Ct.state.tokens.push(new hg),yde()}Vi.next=Dv;function Grt(){Ct.state.tokens.push(new hg),Ct.state.start=Ct.state.pos,_nt()}Vi.nextTemplateToken=Grt;function Xrt(){Ct.state.type===Yr.TokenType.assign&&--Ct.state.pos,dnt()}Vi.retokenizeSlashAsRegex=Xrt;function Zrt(e){for(let n=Ct.state.tokens.length-e;n<Ct.state.tokens.length;n++)Ct.state.tokens[n].isType=!0;let t=Ct.state.isType;return Ct.state.isType=!0,t}Vi.pushTypeContext=Zrt;function zrt(e){Ct.state.isType=e}Vi.popTypeContext=zrt;function _de(e){return d3(e)?(Dv(),!0):!1}Vi.eat=_de;function Jrt(e){let t=Ct.state.isType;Ct.state.isType=!0,_de(e),Ct.state.isType=t}Vi.eatTypeToken=Jrt;function d3(e){return Ct.state.type===e}Vi.match=d3;function Qrt(){let e=Ct.state.snapshot();Dv();let t=Ct.state.type;return Ct.state.restoreFromSnapshot(e),t}Vi.lookaheadType=Qrt;var xv=class{constructor(t,n){this.type=t,this.contextualKeyword=n}};Vi.TypeAndKeyword=xv;function Yrt(){let e=Ct.state.snapshot();Dv();let t=Ct.state.type,n=Ct.state.contextualKeyword;return Ct.state.restoreFromSnapshot(e),new xv(t,n)}Vi.lookaheadTypeAndKeyword=Yrt;function mde(){return Ede(Ct.state.pos)}Vi.nextTokenStart=mde;function Ede(e){p3.skipWhiteSpace.lastIndex=e;let t=p3.skipWhiteSpace.exec(Ct.input);return e+t[0].length}Vi.nextTokenStartSince=Ede;function ent(){return Ct.input.charCodeAt(mde())}Vi.lookaheadCharCode=ent;function yde(){if(bde(),Ct.state.start=Ct.state.pos,Ct.state.pos>=Ct.input.length){let e=Ct.state.tokens;e.length>=2&&e[e.length-1].start>=Ct.input.length&&e[e.length-2].start>=Ct.input.length&&km.unexpected.call(void 0,"Unexpectedly reached the end of input."),os(Yr.TokenType.eof);return}tnt(Ct.input.charCodeAt(Ct.state.pos))}Vi.nextToken=yde;function tnt(e){hde.IS_IDENTIFIER_START[e]||e===er.charCodes.backslash||e===er.charCodes.atSign&&Ct.input.charCodeAt(Ct.state.pos+1)===er.charCodes.atSign?Frt.default.call(void 0):Ide(e)}function rnt(){for(;Ct.input.charCodeAt(Ct.state.pos)!==er.charCodes.asterisk||Ct.input.charCodeAt(Ct.state.pos+1)!==er.charCodes.slash;)if(Ct.state.pos++,Ct.state.pos>Ct.input.length){km.unexpected.call(void 0,"Unterminated comment",Ct.state.pos-2);return}Ct.state.pos+=2}function gde(e){let t=Ct.input.charCodeAt(Ct.state.pos+=e);if(Ct.state.pos<Ct.input.length)for(;t!==er.charCodes.lineFeed&&t!==er.charCodes.carriageReturn&&t!==er.charCodes.lineSeparator&&t!==er.charCodes.paragraphSeparator&&++Ct.state.pos<Ct.input.length;)t=Ct.input.charCodeAt(Ct.state.pos)}Vi.skipLineComment=gde;function bde(){for(;Ct.state.pos<Ct.input.length;){let e=Ct.input.charCodeAt(Ct.state.pos);switch(e){case er.charCodes.carriageReturn:Ct.input.charCodeAt(Ct.state.pos+1)===er.charCodes.lineFeed&&++Ct.state.pos;case er.charCodes.lineFeed:case er.charCodes.lineSeparator:case er.charCodes.paragraphSeparator:++Ct.state.pos;break;case er.charCodes.slash:switch(Ct.input.charCodeAt(Ct.state.pos+1)){case er.charCodes.asterisk:Ct.state.pos+=2,rnt();break;case er.charCodes.slash:gde(2);break;default:return}break;default:if(p3.IS_WHITESPACE[e])++Ct.state.pos;else return}}}Vi.skipSpace=bde;function os(e,t=Brt.ContextualKeyword.NONE){Ct.state.end=Ct.state.pos,Ct.state.type=e,Ct.state.contextualKeyword=t}Vi.finishToken=os;function nnt(){let e=Ct.input.charCodeAt(Ct.state.pos+1);if(e>=er.charCodes.digit0&&e<=er.charCodes.digit9){Sde(!0);return}e===er.charCodes.dot&&Ct.input.charCodeAt(Ct.state.pos+2)===er.charCodes.dot?(Ct.state.pos+=3,os(Yr.TokenType.ellipsis)):(++Ct.state.pos,os(Yr.TokenType.dot))}function int(){Ct.input.charCodeAt(Ct.state.pos+1)===er.charCodes.equalsTo?Wi(Yr.TokenType.assign,2):Wi(Yr.TokenType.slash,1)}function snt(e){let t=e===er.charCodes.asterisk?Yr.TokenType.star:Yr.TokenType.modulo,n=1,i=Ct.input.charCodeAt(Ct.state.pos+1);e===er.charCodes.asterisk&&i===er.charCodes.asterisk&&(n++,i=Ct.input.charCodeAt(Ct.state.pos+2),t=Yr.TokenType.exponent),i===er.charCodes.equalsTo&&Ct.input.charCodeAt(Ct.state.pos+2)!==er.charCodes.greaterThan&&(n++,t=Yr.TokenType.assign),Wi(t,n)}function ant(e){let t=Ct.input.charCodeAt(Ct.state.pos+1);if(t===e){Ct.input.charCodeAt(Ct.state.pos+2)===er.charCodes.equalsTo?Wi(Yr.TokenType.assign,3):Wi(e===er.charCodes.verticalBar?Yr.TokenType.logicalOR:Yr.TokenType.logicalAND,2);return}if(e===er.charCodes.verticalBar){if(t===er.charCodes.greaterThan){Wi(Yr.TokenType.pipeline,2);return}else if(t===er.charCodes.rightCurlyBrace&&Ct.isFlowEnabled){Wi(Yr.TokenType.braceBarR,2);return}}if(t===er.charCodes.equalsTo){Wi(Yr.TokenType.assign,2);return}Wi(e===er.charCodes.verticalBar?Yr.TokenType.bitwiseOR:Yr.TokenType.bitwiseAND,1)}function ont(){Ct.input.charCodeAt(Ct.state.pos+1)===er.charCodes.equalsTo?Wi(Yr.TokenType.assign,2):Wi(Yr.TokenType.bitwiseXOR,1)}function lnt(e){let t=Ct.input.charCodeAt(Ct.state.pos+1);if(t===e){Wi(Yr.TokenType.preIncDec,2);return}t===er.charCodes.equalsTo?Wi(Yr.TokenType.assign,2):e===er.charCodes.plusSign?Wi(Yr.TokenType.plus,1):Wi(Yr.TokenType.minus,1)}function cnt(){let e=Ct.input.charCodeAt(Ct.state.pos+1);if(e===er.charCodes.lessThan){if(Ct.input.charCodeAt(Ct.state.pos+2)===er.charCodes.equalsTo){Wi(Yr.TokenType.assign,3);return}Ct.state.isType?Wi(Yr.TokenType.lessThan,1):Wi(Yr.TokenType.bitShiftL,2);return}e===er.charCodes.equalsTo?Wi(Yr.TokenType.relationalOrEqual,2):Wi(Yr.TokenType.lessThan,1)}function Ade(){if(Ct.state.isType){Wi(Yr.TokenType.greaterThan,1);return}let e=Ct.input.charCodeAt(Ct.state.pos+1);if(e===er.charCodes.greaterThan){let t=Ct.input.charCodeAt(Ct.state.pos+2)===er.charCodes.greaterThan?3:2;if(Ct.input.charCodeAt(Ct.state.pos+t)===er.charCodes.equalsTo){Wi(Yr.TokenType.assign,t+1);return}Wi(Yr.TokenType.bitShiftR,t);return}e===er.charCodes.equalsTo?Wi(Yr.TokenType.relationalOrEqual,2):Wi(Yr.TokenType.greaterThan,1)}function unt(){Ct.state.type===Yr.TokenType.greaterThan&&(Ct.state.pos-=1,Ade())}Vi.rescan_gt=unt;function Hnt(e){let t=Ct.input.charCodeAt(Ct.state.pos+1);if(t===er.charCodes.equalsTo){Wi(Yr.TokenType.equality,Ct.input.charCodeAt(Ct.state.pos+2)===er.charCodes.equalsTo?3:2);return}if(e===er.charCodes.equalsTo&&t===er.charCodes.greaterThan){Ct.state.pos+=2,os(Yr.TokenType.arrow);return}Wi(e===er.charCodes.equalsTo?Yr.TokenType.eq:Yr.TokenType.bang,1)}function pnt(){let e=Ct.input.charCodeAt(Ct.state.pos+1),t=Ct.input.charCodeAt(Ct.state.pos+2);e===er.charCodes.questionMark&&!(Ct.isFlowEnabled&&Ct.state.isType)?t===er.charCodes.equalsTo?Wi(Yr.TokenType.assign,3):Wi(Yr.TokenType.nullishCoalescing,2):e===er.charCodes.dot&&!(t>=er.charCodes.digit0&&t<=er.charCodes.digit9)?(Ct.state.pos+=2,os(Yr.TokenType.questionDot)):(++Ct.state.pos,os(Yr.TokenType.question))}function Ide(e){switch(e){case er.charCodes.numberSign:++Ct.state.pos,os(Yr.TokenType.hash);return;case er.charCodes.dot:nnt();return;case er.charCodes.leftParenthesis:++Ct.state.pos,os(Yr.TokenType.parenL);return;case er.charCodes.rightParenthesis:++Ct.state.pos,os(Yr.TokenType.parenR);return;case er.charCodes.semicolon:++Ct.state.pos,os(Yr.TokenType.semi);return;case er.charCodes.comma:++Ct.state.pos,os(Yr.TokenType.comma);return;case er.charCodes.leftSquareBracket:++Ct.state.pos,os(Yr.TokenType.bracketL);return;case er.charCodes.rightSquareBracket:++Ct.state.pos,os(Yr.TokenType.bracketR);return;case er.charCodes.leftCurlyBrace:Ct.isFlowEnabled&&Ct.input.charCodeAt(Ct.state.pos+1)===er.charCodes.verticalBar?Wi(Yr.TokenType.braceBarL,2):(++Ct.state.pos,os(Yr.TokenType.braceL));return;case er.charCodes.rightCurlyBrace:++Ct.state.pos,os(Yr.TokenType.braceR);return;case er.charCodes.colon:Ct.input.charCodeAt(Ct.state.pos+1)===er.charCodes.colon?Wi(Yr.TokenType.doubleColon,2):(++Ct.state.pos,os(Yr.TokenType.colon));return;case er.charCodes.questionMark:pnt();return;case er.charCodes.atSign:++Ct.state.pos,os(Yr.TokenType.at);return;case er.charCodes.graveAccent:++Ct.state.pos,os(Yr.TokenType.backQuote);return;case er.charCodes.digit0:{let t=Ct.input.charCodeAt(Ct.state.pos+1);if(t===er.charCodes.lowercaseX||t===er.charCodes.uppercaseX||t===er.charCodes.lowercaseO||t===er.charCodes.uppercaseO||t===er.charCodes.lowercaseB||t===er.charCodes.uppercaseB){fnt();return}}case er.charCodes.digit1:case er.charCodes.digit2:case er.charCodes.digit3:case er.charCodes.digit4:case er.charCodes.digit5:case er.charCodes.digit6:case er.charCodes.digit7:case er.charCodes.digit8:case er.charCodes.digit9:Sde(!1);return;case er.charCodes.quotationMark:case er.charCodes.apostrophe:hnt(e);return;case er.charCodes.slash:int();return;case er.charCodes.percentSign:case er.charCodes.asterisk:snt(e);return;case er.charCodes.verticalBar:case er.charCodes.ampersand:ant(e);return;case er.charCodes.caret:ont();return;case er.charCodes.plusSign:case er.charCodes.dash:lnt(e);return;case er.charCodes.lessThan:cnt();return;case er.charCodes.greaterThan:Ade();return;case er.charCodes.equalsTo:case er.charCodes.exclamationMark:Hnt(e);return;case er.charCodes.tilde:Wi(Yr.TokenType.tilde,1);return;default:break}km.unexpected.call(void 0,`Unexpected character '${String.fromCharCode(e)}'`,Ct.state.pos)}Vi.getTokenFromCode=Ide;function Wi(e,t){Ct.state.pos+=t,os(e)}function dnt(){let e=Ct.state.pos,t=!1,n=!1;for(;;){if(Ct.state.pos>=Ct.input.length){km.unexpected.call(void 0,"Unterminated regular expression",e);return}let i=Ct.input.charCodeAt(Ct.state.pos);if(t)t=!1;else{if(i===er.charCodes.leftSquareBracket)n=!0;else if(i===er.charCodes.rightSquareBracket&&n)n=!1;else if(i===er.charCodes.slash&&!n)break;t=i===er.charCodes.backslash}++Ct.state.pos}++Ct.state.pos,Lde(),os(Yr.TokenType.regexp)}function H3(){for(;;){let e=Ct.input.charCodeAt(Ct.state.pos);if(e>=er.charCodes.digit0&&e<=er.charCodes.digit9||e===er.charCodes.underscore)Ct.state.pos++;else break}}function fnt(){for(Ct.state.pos+=2;;){let t=Ct.input.charCodeAt(Ct.state.pos);if(t>=er.charCodes.digit0&&t<=er.charCodes.digit9||t>=er.charCodes.lowercaseA&&t<=er.charCodes.lowercaseF||t>=er.charCodes.uppercaseA&&t<=er.charCodes.uppercaseF||t===er.charCodes.underscore)Ct.state.pos++;else break}Ct.input.charCodeAt(Ct.state.pos)===er.charCodes.lowercaseN?(++Ct.state.pos,os(Yr.TokenType.bigint)):os(Yr.TokenType.num)}function Sde(e){let t=!1,n=!1;e||H3();let i=Ct.input.charCodeAt(Ct.state.pos);if(i===er.charCodes.dot&&(++Ct.state.pos,H3(),i=Ct.input.charCodeAt(Ct.state.pos)),(i===er.charCodes.uppercaseE||i===er.charCodes.lowercaseE)&&(i=Ct.input.charCodeAt(++Ct.state.pos),(i===er.charCodes.plusSign||i===er.charCodes.dash)&&++Ct.state.pos,H3(),i=Ct.input.charCodeAt(Ct.state.pos)),i===er.charCodes.lowercaseN?(++Ct.state.pos,t=!0):i===er.charCodes.lowercaseM&&(++Ct.state.pos,n=!0),t){os(Yr.TokenType.bigint);return}if(n){os(Yr.TokenType.decimal);return}os(Yr.TokenType.num)}function hnt(e){for(Ct.state.pos++;;){if(Ct.state.pos>=Ct.input.length){km.unexpected.call(void 0,"Unterminated string constant");return}let t=Ct.input.charCodeAt(Ct.state.pos);if(t===er.charCodes.backslash)Ct.state.pos++;else if(t===e)break;Ct.state.pos++}Ct.state.pos++,os(Yr.TokenType.string)}function _nt(){for(;;){if(Ct.state.pos>=Ct.input.length){km.unexpected.call(void 0,"Unterminated template");return}let e=Ct.input.charCodeAt(Ct.state.pos);if(e===er.charCodes.graveAccent||e===er.charCodes.dollarSign&&Ct.input.charCodeAt(Ct.state.pos+1)===er.charCodes.leftCurlyBrace){if(Ct.state.pos===Ct.state.start&&d3(Yr.TokenType.template))if(e===er.charCodes.dollarSign){Ct.state.pos+=2,os(Yr.TokenType.dollarBraceL);return}else{++Ct.state.pos,os(Yr.TokenType.backQuote);return}os(Yr.TokenType.template);return}e===er.charCodes.backslash&&Ct.state.pos++,Ct.state.pos++}}function Lde(){for(;Ct.state.pos<Ct.input.length;){let e=Ct.input.charCodeAt(Ct.state.pos);if(hde.IS_IDENTIFIER_CHAR[e])Ct.state.pos++;else if(e===er.charCodes.backslash){if(Ct.state.pos+=2,Ct.input.charCodeAt(Ct.state.pos)===er.charCodes.leftCurlyBrace){for(;Ct.state.pos<Ct.input.length&&Ct.input.charCodeAt(Ct.state.pos)!==er.charCodes.rightCurlyBrace;)Ct.state.pos++;Ct.state.pos++}}else break}}Vi.skipWord=Lde});var _g=Le(f3=>{"use strict";Object.defineProperty(f3,"__esModule",{value:!0});var Tde=_i();function mnt(e,t=e.currentIndex()){let n=t+1;if(Pv(e,n)){let i=e.identifierNameAtIndex(t);return{isType:!1,leftName:i,rightName:i,endIndex:n}}if(n++,Pv(e,n))return{isType:!0,leftName:null,rightName:null,endIndex:n};if(n++,Pv(e,n))return{isType:!1,leftName:e.identifierNameAtIndex(t),rightName:e.identifierNameAtIndex(t+2),endIndex:n};if(n++,Pv(e,n))return{isType:!0,leftName:null,rightName:null,endIndex:n};throw new Error(`Unexpected import/export specifier at ${t}`)}f3.default=mnt;function Pv(e,t){let n=e.tokens[t];return n.type===Tde.TokenType.braceR||n.type===Tde.TokenType.comma}});var vde=Le(h3=>{"use strict";Object.defineProperty(h3,"__esModule",{value:!0});h3.default=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp","\xA0"],["iexcl","\xA1"],["cent","\xA2"],["pound","\xA3"],["curren","\xA4"],["yen","\xA5"],["brvbar","\xA6"],["sect","\xA7"],["uml","\xA8"],["copy","\xA9"],["ordf","\xAA"],["laquo","\xAB"],["not","\xAC"],["shy","\xAD"],["reg","\xAE"],["macr","\xAF"],["deg","\xB0"],["plusmn","\xB1"],["sup2","\xB2"],["sup3","\xB3"],["acute","\xB4"],["micro","\xB5"],["para","\xB6"],["middot","\xB7"],["cedil","\xB8"],["sup1","\xB9"],["ordm","\xBA"],["raquo","\xBB"],["frac14","\xBC"],["frac12","\xBD"],["frac34","\xBE"],["iquest","\xBF"],["Agrave","\xC0"],["Aacute","\xC1"],["Acirc","\xC2"],["Atilde","\xC3"],["Auml","\xC4"],["Aring","\xC5"],["AElig","\xC6"],["Ccedil","\xC7"],["Egrave","\xC8"],["Eacute","\xC9"],["Ecirc","\xCA"],["Euml","\xCB"],["Igrave","\xCC"],["Iacute","\xCD"],["Icirc","\xCE"],["Iuml","\xCF"],["ETH","\xD0"],["Ntilde","\xD1"],["Ograve","\xD2"],["Oacute","\xD3"],["Ocirc","\xD4"],["Otilde","\xD5"],["Ouml","\xD6"],["times","\xD7"],["Oslash","\xD8"],["Ugrave","\xD9"],["Uacute","\xDA"],["Ucirc","\xDB"],["Uuml","\xDC"],["Yacute","\xDD"],["THORN","\xDE"],["szlig","\xDF"],["agrave","\xE0"],["aacute","\xE1"],["acirc","\xE2"],["atilde","\xE3"],["auml","\xE4"],["aring","\xE5"],["aelig","\xE6"],["ccedil","\xE7"],["egrave","\xE8"],["eacute","\xE9"],["ecirc","\xEA"],["euml","\xEB"],["igrave","\xEC"],["iacute","\xED"],["icirc","\xEE"],["iuml","\xEF"],["eth","\xF0"],["ntilde","\xF1"],["ograve","\xF2"],["oacute","\xF3"],["ocirc","\xF4"],["otilde","\xF5"],["ouml","\xF6"],["divide","\xF7"],["oslash","\xF8"],["ugrave","\xF9"],["uacute","\xFA"],["ucirc","\xFB"],["uuml","\xFC"],["yacute","\xFD"],["thorn","\xFE"],["yuml","\xFF"],["OElig","\u0152"],["oelig","\u0153"],["Scaron","\u0160"],["scaron","\u0161"],["Yuml","\u0178"],["fnof","\u0192"],["circ","\u02C6"],["tilde","\u02DC"],["Alpha","\u0391"],["Beta","\u0392"],["Gamma","\u0393"],["Delta","\u0394"],["Epsilon","\u0395"],["Zeta","\u0396"],["Eta","\u0397"],["Theta","\u0398"],["Iota","\u0399"],["Kappa","\u039A"],["Lambda","\u039B"],["Mu","\u039C"],["Nu","\u039D"],["Xi","\u039E"],["Omicron","\u039F"],["Pi","\u03A0"],["Rho","\u03A1"],["Sigma","\u03A3"],["Tau","\u03A4"],["Upsilon","\u03A5"],["Phi","\u03A6"],["Chi","\u03A7"],["Psi","\u03A8"],["Omega","\u03A9"],["alpha","\u03B1"],["beta","\u03B2"],["gamma","\u03B3"],["delta","\u03B4"],["epsilon","\u03B5"],["zeta","\u03B6"],["eta","\u03B7"],["theta","\u03B8"],["iota","\u03B9"],["kappa","\u03BA"],["lambda","\u03BB"],["mu","\u03BC"],["nu","\u03BD"],["xi","\u03BE"],["omicron","\u03BF"],["pi","\u03C0"],["rho","\u03C1"],["sigmaf","\u03C2"],["sigma","\u03C3"],["tau","\u03C4"],["upsilon","\u03C5"],["phi","\u03C6"],["chi","\u03C7"],["psi","\u03C8"],["omega","\u03C9"],["thetasym","\u03D1"],["upsih","\u03D2"],["piv","\u03D6"],["ensp","\u2002"],["emsp","\u2003"],["thinsp","\u2009"],["zwnj","\u200C"],["zwj","\u200D"],["lrm","\u200E"],["rlm","\u200F"],["ndash","\u2013"],["mdash","\u2014"],["lsquo","\u2018"],["rsquo","\u2019"],["sbquo","\u201A"],["ldquo","\u201C"],["rdquo","\u201D"],["bdquo","\u201E"],["dagger","\u2020"],["Dagger","\u2021"],["bull","\u2022"],["hellip","\u2026"],["permil","\u2030"],["prime","\u2032"],["Prime","\u2033"],["lsaquo","\u2039"],["rsaquo","\u203A"],["oline","\u203E"],["frasl","\u2044"],["euro","\u20AC"],["image","\u2111"],["weierp","\u2118"],["real","\u211C"],["trade","\u2122"],["alefsym","\u2135"],["larr","\u2190"],["uarr","\u2191"],["rarr","\u2192"],["darr","\u2193"],["harr","\u2194"],["crarr","\u21B5"],["lArr","\u21D0"],["uArr","\u21D1"],["rArr","\u21D2"],["dArr","\u21D3"],["hArr","\u21D4"],["forall","\u2200"],["part","\u2202"],["exist","\u2203"],["empty","\u2205"],["nabla","\u2207"],["isin","\u2208"],["notin","\u2209"],["ni","\u220B"],["prod","\u220F"],["sum","\u2211"],["minus","\u2212"],["lowast","\u2217"],["radic","\u221A"],["prop","\u221D"],["infin","\u221E"],["ang","\u2220"],["and","\u2227"],["or","\u2228"],["cap","\u2229"],["cup","\u222A"],["int","\u222B"],["there4","\u2234"],["sim","\u223C"],["cong","\u2245"],["asymp","\u2248"],["ne","\u2260"],["equiv","\u2261"],["le","\u2264"],["ge","\u2265"],["sub","\u2282"],["sup","\u2283"],["nsub","\u2284"],["sube","\u2286"],["supe","\u2287"],["oplus","\u2295"],["otimes","\u2297"],["perp","\u22A5"],["sdot","\u22C5"],["lceil","\u2308"],["rceil","\u2309"],["lfloor","\u230A"],["rfloor","\u230B"],["lang","\u2329"],["rang","\u232A"],["loz","\u25CA"],["spades","\u2660"],["clubs","\u2663"],["hearts","\u2665"],["diams","\u2666"]])});var m3=Le(_3=>{"use strict";Object.defineProperty(_3,"__esModule",{value:!0});function Ent(e){let[t,n]=Cde(e.jsxPragma||"React.createElement"),[i,o]=Cde(e.jsxFragmentPragma||"React.Fragment");return{base:t,suffix:n,fragmentBase:i,fragmentSuffix:o}}_3.default=Ent;function Cde(e){let t=e.indexOf(".");return t===-1&&(t=e.length),[e.slice(0,t),e.slice(t)]}});var xc=Le(y3=>{"use strict";Object.defineProperty(y3,"__esModule",{value:!0});var E3=class{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}};y3.default=E3});var A3=Le(kv=>{"use strict";Object.defineProperty(kv,"__esModule",{value:!0});function b3(e){return e&&e.__esModule?e:{default:e}}var ynt=vde(),gnt=b3(ynt),wv=io(),xi=_i(),sH=Xl(),bnt=m3(),Ant=b3(bnt),Int=xc(),Snt=b3(Int),g3=class e extends Snt.default{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(t,n,i,o,r){super(),this.rootTransformer=t,this.tokens=n,this.importProcessor=i,this.nameManager=o,this.options=r,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),this.jsxPragmaInfo=Ant.default.call(void 0,r),this.isAutomaticRuntime=r.jsxRuntime==="automatic",this.jsxImportSource=r.jsxImportSource||"react"}process(){return this.tokens.matches1(xi.TokenType.jsxTagStart)?(this.processJSXTag(),!0):!1}getPrefixCode(){let t="";if(this.filenameVarName&&(t+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(let[n,i]of Object.entries(this.cjsAutomaticModuleNameResolutions))t+=`var ${i} = require("${n}");`;else{let{createElement:n,...i}=this.esmAutomaticImportNameResolutions;n&&(t+=`import {createElement as ${n}} from "${this.jsxImportSource}";`);let o=Object.entries(i).map(([r,c])=>`${r} as ${c}`).join(", ");if(o){let r=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");t+=`import {${o}} from "${r}";`}}return t}processJSXTag(){let{jsxRole:t,start:n}=this.tokens.currentToken(),i=this.options.production?null:this.getElementLocationCode(n);this.isAutomaticRuntime&&t!==wv.JSXRole.KeyAfterPropSpread?this.transformTagToJSXFunc(i,t):this.transformTagToCreateElement(i)}getElementLocationCode(t){return`lineNumber: ${this.getLineNumberForIndex(t)}`}getLineNumberForIndex(t){let n=this.tokens.code;for(;this.lastIndex<t&&this.lastIndex<n.length;)n[this.lastIndex]===`
|
|
`&&this.lastLineNumber++,this.lastIndex++;return this.lastLineNumber}transformTagToJSXFunc(t,n){let i=n===wv.JSXRole.StaticChildren;this.tokens.replaceToken(this.getJSXFuncInvocationCode(i));let o=null;if(this.tokens.matches1(xi.TokenType.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, {`),this.processAutomaticChildrenAndEndProps(n);else{if(this.processTagIntro(),this.tokens.appendCode(", {"),o=this.processProps(!0),this.tokens.matches2(xi.TokenType.slash,xi.TokenType.jsxTagEnd))this.tokens.appendCode("}");else if(this.tokens.matches1(xi.TokenType.jsxTagEnd))this.tokens.removeToken(),this.processAutomaticChildrenAndEndProps(n);else throw new Error("Expected either /> or > at the end of the tag.");o&&this.tokens.appendCode(`, ${o}`)}for(this.options.production||(o===null&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${i}, ${this.getDevSource(t)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(xi.TokenType.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(t){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(xi.TokenType.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(t),!this.tokens.matches2(xi.TokenType.slash,xi.TokenType.jsxTagEnd))if(this.tokens.matches1(xi.TokenType.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw new Error("Expected either /> or > at the end of the tag.");for(this.tokens.removeInitialToken();!this.tokens.matches1(xi.TokenType.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(t){return this.options.production?t?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{let{jsxPragmaInfo:t}=this;return`${this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.base)||t.base}${t.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{let{jsxPragmaInfo:t}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.fragmentBase)||t.fragmentBase)+t.fragmentSuffix}}claimAutoImportedFuncInvocation(t,n){let i=this.claimAutoImportedName(t,n);return this.importProcessor?`${i}.call(void 0, `:`${i}(`}claimAutoImportedName(t,n){if(this.importProcessor){let i=this.jsxImportSource+n;return this.cjsAutomaticModuleNameResolutions[i]||(this.cjsAutomaticModuleNameResolutions[i]=this.importProcessor.getFreeIdentifierForPath(i)),`${this.cjsAutomaticModuleNameResolutions[i]}.${t}`}else return this.esmAutomaticImportNameResolutions[t]||(this.esmAutomaticImportNameResolutions[t]=this.nameManager.claimFreeName(`_${t}`)),this.esmAutomaticImportNameResolutions[t]}processTagIntro(){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType||!this.tokens.matches2AtIndex(t-1,xi.TokenType.jsxName,xi.TokenType.jsxName)&&!this.tokens.matches2AtIndex(t-1,xi.TokenType.greaterThan,xi.TokenType.jsxName)&&!this.tokens.matches1AtIndex(t,xi.TokenType.braceL)&&!this.tokens.matches1AtIndex(t,xi.TokenType.jsxTagEnd)&&!this.tokens.matches2AtIndex(t,xi.TokenType.slash,xi.TokenType.jsxTagEnd);)t++;if(t===this.tokens.currentIndex()+1){let n=this.tokens.identifierName();Dde(n)&&this.tokens.replaceToken(`'${n}'`)}for(;this.tokens.currentIndex()<t;)this.rootTransformer.processToken()}processPropsObjectWithDevInfo(t){let n=this.options.production?"":`__self: this, __source: ${this.getDevSource(t)}`;if(!this.tokens.matches1(xi.TokenType.jsxName)&&!this.tokens.matches1(xi.TokenType.braceL)){n?this.tokens.appendCode(`, {${n}}`):this.tokens.appendCode(", null");return}this.tokens.appendCode(", {"),this.processProps(!1),n?this.tokens.appendCode(` ${n}}`):this.tokens.appendCode("}")}processProps(t){let n=null;for(;;){if(this.tokens.matches2(xi.TokenType.jsxName,xi.TokenType.eq)){let i=this.tokens.identifierName();if(t&&i==="key"){n!==null&&this.tokens.appendCode(n.replace(/[^\n]/g,"")),this.tokens.removeToken(),this.tokens.removeToken();let o=this.tokens.snapshot();this.processPropValue(),n=this.tokens.dangerouslyGetAndRemoveCodeSinceSnapshot(o);continue}else this.processPropName(i),this.tokens.replaceToken(": "),this.processPropValue()}else if(this.tokens.matches1(xi.TokenType.jsxName)){let i=this.tokens.identifierName();this.processPropName(i),this.tokens.appendCode(": true")}else if(this.tokens.matches1(xi.TokenType.braceL))this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("");else break;this.tokens.appendCode(",")}return n}processPropName(t){t.includes("-")?this.tokens.replaceToken(`'${t}'`):this.tokens.copyToken()}processPropValue(){this.tokens.matches1(xi.TokenType.braceL)?(this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("")):this.tokens.matches1(xi.TokenType.jsxTagStart)?this.processJSXTag():this.processStringPropValue()}processStringPropValue(){let t=this.tokens.currentToken(),n=this.tokens.code.slice(t.start+1,t.end-1),i=xde(n),o=Tnt(n);this.tokens.replaceToken(o+i)}processAutomaticChildrenAndEndProps(t){t===wv.JSXRole.StaticChildren?(this.tokens.appendCode(" children: ["),this.processChildren(!1),this.tokens.appendCode("]}")):(t===wv.JSXRole.OneChild&&this.tokens.appendCode(" children: "),this.processChildren(!1),this.tokens.appendCode("}"))}processChildren(t){let n=t;for(;;){if(this.tokens.matches2(xi.TokenType.jsxTagStart,xi.TokenType.slash))return;let i=!1;if(this.tokens.matches1(xi.TokenType.braceL))this.tokens.matches2(xi.TokenType.braceL,xi.TokenType.braceR)?(this.tokens.replaceToken(""),this.tokens.replaceToken("")):(this.tokens.replaceToken(n?", ":""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken(""),i=!0);else if(this.tokens.matches1(xi.TokenType.jsxTagStart))this.tokens.appendCode(n?", ":""),this.processJSXTag(),i=!0;else if(this.tokens.matches1(xi.TokenType.jsxText)||this.tokens.matches1(xi.TokenType.jsxEmptyText))i=this.processChildTextElement(n);else throw new Error("Unexpected token when processing JSX children.");i&&(n=!0)}}processChildTextElement(t){let n=this.tokens.currentToken(),i=this.tokens.code.slice(n.start,n.end),o=xde(i),r=Lnt(i);return r==='""'?(this.tokens.replaceToken(o),!1):(this.tokens.replaceToken(`${t?", ":""}${r}${o}`),!0)}getDevSource(t){return`{fileName: ${this.getFilenameVarName()}, ${t}}`}getFilenameVarName(){return this.filenameVarName||(this.filenameVarName=this.nameManager.claimFreeName("_jsxFileName")),this.filenameVarName}};kv.default=g3;function Dde(e){let t=e.charCodeAt(0);return t>=sH.charCodes.lowercaseA&&t<=sH.charCodes.lowercaseZ}kv.startsWithLowerCase=Dde;function Lnt(e){let t="",n="",i=!1,o=!1;for(let r=0;r<e.length;r++){let c=e[r];if(c===" "||c===" "||c==="\r")i||(n+=c);else if(c===`
|
|
`)n="",i=!0;else{if(o&&i&&(t+=" "),t+=n,n="",c==="&"){let{entity:s,newI:u}=Pde(e,r+1);r=u-1,t+=s}else t+=c;o=!0,i=!1}}return i||(t+=n),JSON.stringify(t)}function xde(e){let t=0,n=0;for(let i of e)i===`
|
|
`?(t++,n=0):i===" "&&n++;return`
|
|
`.repeat(t)+" ".repeat(n)}function Tnt(e){let t="";for(let n=0;n<e.length;n++){let i=e[n];if(i===`
|
|
`)if(/\s/.test(e[n+1]))for(t+=" ";n<e.length&&/\s/.test(e[n+1]);)n++;else t+=`
|
|
`;else if(i==="&"){let{entity:o,newI:r}=Pde(e,n+1);t+=o,n=r-1}else t+=i}return JSON.stringify(t)}function Pde(e,t){let n="",i=0,o,r=t;if(e[r]==="#"){let c=10;r++;let s;if(e[r]==="x")for(c=16,r++,s=r;r<e.length&&Cnt(e.charCodeAt(r));)r++;else for(s=r;r<e.length&&vnt(e.charCodeAt(r));)r++;if(e[r]===";"){let u=e.slice(s,r);u&&(r++,o=String.fromCodePoint(parseInt(u,c)))}}else for(;r<e.length&&i++<10;){let c=e[r];if(r++,c===";"){o=gnt.default.get(n);break}n+=c}return o?{entity:o,newI:r}:{entity:"&",newI:t}}function vnt(e){return e>=sH.charCodes.digit0&&e<=sH.charCodes.digit9}function Cnt(e){return e>=sH.charCodes.digit0&&e<=sH.charCodes.digit9||e>=sH.charCodes.lowercaseA&&e<=sH.charCodes.lowercaseF||e>=sH.charCodes.uppercaseA&&e<=sH.charCodes.uppercaseF}});var S3=Le(I3=>{"use strict";Object.defineProperty(I3,"__esModule",{value:!0});function xnt(e){return e&&e.__esModule?e:{default:e}}var Nv=io(),Nm=_i(),Dnt=A3(),Pnt=m3(),wnt=xnt(Pnt);function knt(e,t){let n=wnt.default.call(void 0,t),i=new Set;for(let o=0;o<e.tokens.length;o++){let r=e.tokens[o];if(r.type===Nm.TokenType.name&&!r.isType&&(r.identifierRole===Nv.IdentifierRole.Access||r.identifierRole===Nv.IdentifierRole.ObjectShorthand||r.identifierRole===Nv.IdentifierRole.ExportAccess)&&!r.shadowsGlobal&&i.add(e.identifierNameForToken(r)),r.type===Nm.TokenType.jsxTagStart&&i.add(n.base),r.type===Nm.TokenType.jsxTagStart&&o+1<e.tokens.length&&e.tokens[o+1].type===Nm.TokenType.jsxTagEnd&&(i.add(n.base),i.add(n.fragmentBase)),r.type===Nm.TokenType.jsxName&&r.identifierRole===Nv.IdentifierRole.Access){let c=e.identifierNameForToken(r);(!Dnt.startsWithLowerCase.call(void 0,c)||e.tokens[o+1].type===Nm.TokenType.dot)&&i.add(e.identifierNameForToken(r))}}return i}I3.getNonTypeIdentifiers=knt});var wde=Le(T3=>{"use strict";Object.defineProperty(T3,"__esModule",{value:!0});function Nnt(e){return e&&e.__esModule?e:{default:e}}var Rnt=io(),Rv=_o(),$n=_i(),$nt=_g(),Mnt=Nnt($nt),Bnt=S3(),L3=class e{__init(){this.nonTypeIdentifiers=new Set}__init2(){this.importInfoByPath=new Map}__init3(){this.importsToReplace=new Map}__init4(){this.identifierReplacements=new Map}__init5(){this.exportBindingsByLocalName=new Map}constructor(t,n,i,o,r,c,s){this.nameManager=t,this.tokens=n,this.enableLegacyTypeScriptModuleInterop=i,this.options=o,this.isTypeScriptTransformEnabled=r,this.keepUnusedImports=c,this.helperManager=s,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this)}preprocessTokens(){for(let t=0;t<this.tokens.tokens.length;t++)this.tokens.matches1AtIndex(t,$n.TokenType._import)&&!this.tokens.matches3AtIndex(t,$n.TokenType._import,$n.TokenType.name,$n.TokenType.eq)&&this.preprocessImportAtIndex(t),this.tokens.matches1AtIndex(t,$n.TokenType._export)&&!this.tokens.matches2AtIndex(t,$n.TokenType._export,$n.TokenType.eq)&&this.preprocessExportAtIndex(t);this.generateImportReplacements()}pruneTypeOnlyImports(){this.nonTypeIdentifiers=Bnt.getNonTypeIdentifiers.call(void 0,this.tokens,this.options);for(let[t,n]of this.importInfoByPath.entries()){if(n.hasBareImport||n.hasStarExport||n.exportStarNames.length>0||n.namedExports.length>0)continue;[...n.defaultNames,...n.wildcardNames,...n.namedImports.map(({localName:o})=>o)].every(o=>this.shouldAutomaticallyElideImportedName(o))&&this.importsToReplace.set(t,"")}}shouldAutomaticallyElideImportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(t)}generateImportReplacements(){for(let[t,n]of this.importInfoByPath.entries()){let{defaultNames:i,wildcardNames:o,namedImports:r,namedExports:c,exportStarNames:s,hasStarExport:u}=n;if(i.length===0&&o.length===0&&r.length===0&&c.length===0&&s.length===0&&!u){this.importsToReplace.set(t,`require('${t}');`);continue}let H=this.getFreeIdentifierForPath(t),a;this.enableLegacyTypeScriptModuleInterop?a=H:a=o.length>0?o[0]:this.getFreeIdentifierForPath(t);let l=`var ${H} = require('${t}');`;if(o.length>0)for(let p of o){let d=this.enableLegacyTypeScriptModuleInterop?H:`${this.helperManager.getHelperName("interopRequireWildcard")}(${H})`;l+=` var ${p} = ${d};`}else s.length>0&&a!==H?l+=` var ${a} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${H});`:i.length>0&&a!==H&&(l+=` var ${a} = ${this.helperManager.getHelperName("interopRequireDefault")}(${H});`);for(let{importedName:p,localName:d}of c)l+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${H}, '${d}', '${p}');`;for(let p of s)l+=` exports.${p} = ${a};`;u&&(l+=` ${this.helperManager.getHelperName("createStarExport")}(${H});`),this.importsToReplace.set(t,l);for(let p of i)this.identifierReplacements.set(p,`${a}.default`);for(let{importedName:p,localName:d}of r)this.identifierReplacements.set(d,`${H}.${p}`)}}getFreeIdentifierForPath(t){let n=t.split("/"),o=n[n.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${o}`)}preprocessImportAtIndex(t){let n=[],i=[],o=[];if(t++,(this.tokens.matchesContextualAtIndex(t,Rv.ContextualKeyword._type)||this.tokens.matches1AtIndex(t,$n.TokenType._typeof))&&!this.tokens.matches1AtIndex(t+1,$n.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(t+1,Rv.ContextualKeyword._from)||this.tokens.matches1AtIndex(t,$n.TokenType.parenL))return;if(this.tokens.matches1AtIndex(t,$n.TokenType.name)&&(n.push(this.tokens.identifierNameAtIndex(t)),t++,this.tokens.matches1AtIndex(t,$n.TokenType.comma)&&t++),this.tokens.matches1AtIndex(t,$n.TokenType.star)&&(t+=2,i.push(this.tokens.identifierNameAtIndex(t)),t++),this.tokens.matches1AtIndex(t,$n.TokenType.braceL)){let s=this.getNamedImports(t+1);t=s.newIndex;for(let u of s.namedImports)u.importedName==="default"?n.push(u.localName):o.push(u)}if(this.tokens.matchesContextualAtIndex(t,Rv.ContextualKeyword._from)&&t++,!this.tokens.matches1AtIndex(t,$n.TokenType.string))throw new Error("Expected string token at the end of import statement.");let r=this.tokens.stringValueAtIndex(t),c=this.getImportInfo(r);c.defaultNames.push(...n),c.wildcardNames.push(...i),c.namedImports.push(...o),n.length===0&&i.length===0&&o.length===0&&(c.hasBareImport=!0)}preprocessExportAtIndex(t){if(this.tokens.matches2AtIndex(t,$n.TokenType._export,$n.TokenType._var)||this.tokens.matches2AtIndex(t,$n.TokenType._export,$n.TokenType._let)||this.tokens.matches2AtIndex(t,$n.TokenType._export,$n.TokenType._const))this.preprocessVarExportAtIndex(t);else if(this.tokens.matches2AtIndex(t,$n.TokenType._export,$n.TokenType._function)||this.tokens.matches2AtIndex(t,$n.TokenType._export,$n.TokenType._class)){let n=this.tokens.identifierNameAtIndex(t+2);this.addExportBinding(n,n)}else if(this.tokens.matches3AtIndex(t,$n.TokenType._export,$n.TokenType.name,$n.TokenType._function)){let n=this.tokens.identifierNameAtIndex(t+3);this.addExportBinding(n,n)}else this.tokens.matches2AtIndex(t,$n.TokenType._export,$n.TokenType.braceL)?this.preprocessNamedExportAtIndex(t):this.tokens.matches2AtIndex(t,$n.TokenType._export,$n.TokenType.star)&&this.preprocessExportStarAtIndex(t)}preprocessVarExportAtIndex(t){let n=0;for(let i=t+2;;i++)if(this.tokens.matches1AtIndex(i,$n.TokenType.braceL)||this.tokens.matches1AtIndex(i,$n.TokenType.dollarBraceL)||this.tokens.matches1AtIndex(i,$n.TokenType.bracketL))n++;else if(this.tokens.matches1AtIndex(i,$n.TokenType.braceR)||this.tokens.matches1AtIndex(i,$n.TokenType.bracketR))n--;else{if(n===0&&!this.tokens.matches1AtIndex(i,$n.TokenType.name))break;if(this.tokens.matches1AtIndex(1,$n.TokenType.eq)){let o=this.tokens.currentToken().rhsEndIndex;if(o==null)throw new Error("Expected = token with an end index.");i=o-1}else{let o=this.tokens.tokens[i];if(Rnt.isDeclaration.call(void 0,o)){let r=this.tokens.identifierNameAtIndex(i);this.identifierReplacements.set(r,`exports.${r}`)}}}}preprocessNamedExportAtIndex(t){t+=2;let{newIndex:n,namedImports:i}=this.getNamedImports(t);if(t=n,this.tokens.matchesContextualAtIndex(t,Rv.ContextualKeyword._from))t++;else{for(let{importedName:c,localName:s}of i)this.addExportBinding(c,s);return}if(!this.tokens.matches1AtIndex(t,$n.TokenType.string))throw new Error("Expected string token at the end of import statement.");let o=this.tokens.stringValueAtIndex(t);this.getImportInfo(o).namedExports.push(...i)}preprocessExportStarAtIndex(t){let n=null;if(this.tokens.matches3AtIndex(t,$n.TokenType._export,$n.TokenType.star,$n.TokenType._as)?(t+=3,n=this.tokens.identifierNameAtIndex(t),t+=2):t+=3,!this.tokens.matches1AtIndex(t,$n.TokenType.string))throw new Error("Expected string token at the end of star export statement.");let i=this.tokens.stringValueAtIndex(t),o=this.getImportInfo(i);n!==null?o.exportStarNames.push(n):o.hasStarExport=!0}getNamedImports(t){let n=[];for(;;){if(this.tokens.matches1AtIndex(t,$n.TokenType.braceR)){t++;break}let i=Mnt.default.call(void 0,this.tokens,t);if(t=i.endIndex,i.isType||n.push({importedName:i.leftName,localName:i.rightName}),this.tokens.matches2AtIndex(t,$n.TokenType.comma,$n.TokenType.braceR)){t+=2;break}else if(this.tokens.matches1AtIndex(t,$n.TokenType.braceR)){t++;break}else if(this.tokens.matches1AtIndex(t,$n.TokenType.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[t])}`)}return{newIndex:t,namedImports:n}}getImportInfo(t){let n=this.importInfoByPath.get(t);if(n)return n;let i={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(t,i),i}addExportBinding(t,n){this.exportBindingsByLocalName.has(t)||this.exportBindingsByLocalName.set(t,[]),this.exportBindingsByLocalName.get(t).push(n)}claimImportCode(t){let n=this.importsToReplace.get(t);return this.importsToReplace.set(t,""),n||""}getIdentifierReplacement(t){return this.identifierReplacements.get(t)||null}resolveExportBinding(t){let n=this.exportBindingsByLocalName.get(t);return!n||n.length===0?null:n.map(i=>`exports.${i}`).join(" = ")}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}};T3.default=L3});var Nde=Le(($v,kde)=>{(function(e,t){typeof $v=="object"&&typeof kde<"u"?t($v):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.setArray={}))})($v,function(e){"use strict";class t{constructor(){this._indexes={__proto__:null},this.array=[]}}function n(s){return s}function i(s,u){return s._indexes[u]}function o(s,u){let H=i(s,u);if(H!==void 0)return H;let{array:a,_indexes:l}=s,p=a.push(u);return l[u]=p-1}function r(s){let{array:u,_indexes:H}=s;if(u.length===0)return;let a=u.pop();H[a]=void 0}function c(s,u){let H=i(s,u);if(H===void 0)return;let{array:a,_indexes:l}=s;for(let p=H+1;p<a.length;p++){let d=a[p];a[p-1]=d,l[d]--}l[u]=void 0,a.pop()}e.SetArray=t,e.get=i,e.pop=r,e.put=o,e.remove=c,Object.defineProperty(e,"__esModule",{value:!0})})});var v3=Le((Mv,Rde)=>{(function(e,t){typeof Mv=="object"&&typeof Rde<"u"?t(Mv):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.sourcemapCodec={}))})(Mv,function(e){"use strict";let i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=new Uint8Array(64),r=new Uint8Array(128);for(let x=0;x<i.length;x++){let C=i.charCodeAt(x);o[x]=C,r[C]=x}function c(x,C){let D=0,O=0,j=0;do{let $=x.next();j=r[$],D|=(j&31)<<O,O+=5}while(j&32);let k=D&1;return D>>>=1,k&&(D=-2147483648|-D),C+D}function s(x,C,D){let O=C-D;O=O<0?-O<<1|1:O<<1;do{let j=O&31;O>>>=5,O>0&&(j|=32),x.write(o[j])}while(O>0);return C}function u(x,C){return x.pos>=C?!1:x.peek()!==44}let H=1024*16,a=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(x){return Buffer.from(x.buffer,x.byteOffset,x.byteLength).toString()}}:{decode(x){let C="";for(let D=0;D<x.length;D++)C+=String.fromCharCode(x[D]);return C}};class l{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(H)}write(C){let{buffer:D}=this;D[this.pos++]=C,this.pos===H&&(this.out+=a.decode(D),this.pos=0)}flush(){let{buffer:C,out:D,pos:O}=this;return O>0?D+a.decode(C.subarray(0,O)):D}}class p{constructor(C){this.pos=0,this.buffer=C}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(C){let{buffer:D,pos:O}=this,j=D.indexOf(C,O);return j===-1?D.length:j}}let d=[];function h(x){let{length:C}=x,D=new p(x),O=[],j=[],k=0;for(;D.pos<C;D.pos++){k=c(D,k);let $=c(D,0);if(!u(D,C)){let ee=j.pop();ee[2]=k,ee[3]=$;continue}let U=c(D,0),W=c(D,0)&1?[k,$,0,0,U,c(D,0)]:[k,$,0,0,U],Z=d;if(u(D,C)){Z=[];do{let ee=c(D,0);Z.push(ee)}while(u(D,C))}W.vars=Z,O.push(W),j.push(W)}return O}function m(x){let C=new l;for(let D=0;D<x.length;)D=g(x,D,C,[0]);return C.flush()}function g(x,C,D,O){let j=x[C],{0:k,1:$,2:U,3:F,4:P,vars:W}=j;C>0&&D.write(44),O[0]=s(D,k,O[0]),s(D,$,0),s(D,P,0);let Z=j.length===6?1:0;s(D,Z,0),j.length===6&&s(D,j[5],0);for(let ee of W)s(D,ee,0);for(C++;C<x.length;){let ee=x[C],{0:J,1:ne}=ee;if(J>U||J===U&&ne>=F)break;C=g(x,C,D,O)}return D.write(44),O[0]=s(D,U,O[0]),s(D,F,0),C}function y(x){let{length:C}=x,D=new p(x),O=[],j=[],k=0,$=0,U=0,F=0,P=0,W=0,Z=0,ee=0;do{let J=D.indexOf(";"),ne=0;for(;D.pos<J;D.pos++){if(ne=c(D,ne),!u(D,J)){let be=j.pop();be[2]=k,be[3]=ne;continue}let K=c(D,0),q=K&1,Q=K&2,z=K&4,ie=null,_e=d,He;if(q){let be=c(D,$);U=c(D,$===be?U:0),$=be,He=[k,ne,0,0,be,U]}else He=[k,ne,0,0];if(He.isScope=!!z,Q){let be=F,Ve=P;F=c(D,F);let Fe=be===F;P=c(D,Fe?P:0),W=c(D,Fe&&Ve===P?W:0),ie=[F,P,W]}if(He.callsite=ie,u(D,J)){_e=[];do{Z=k,ee=ne;let be=c(D,0),Ve;if(be<-1){Ve=[[c(D,0)]];for(let Fe=-1;Fe>be;Fe--){let me=Z;Z=c(D,Z),ee=c(D,Z===me?ee:0);let ce=c(D,0);Ve.push([ce,Z,ee])}}else Ve=[[be]];_e.push(Ve)}while(u(D,J))}He.bindings=_e,O.push(He),j.push(He)}k++,D.pos=J+1}while(D.pos<C);return O}function _(x){if(x.length===0)return"";let C=new l;for(let D=0;D<x.length;)D=E(x,D,C,[0,0,0,0,0,0,0]);return C.flush()}function E(x,C,D,O){let j=x[C],{0:k,1:$,2:U,3:F,isScope:P,callsite:W,bindings:Z}=j;O[0]<k?(A(D,O[0],k),O[0]=k,O[1]=0):C>0&&D.write(44),O[1]=s(D,j[1],O[1]);let ee=(j.length===6?1:0)|(W?2:0)|(P?4:0);if(s(D,ee,0),j.length===6){let{4:J,5:ne}=j;J!==O[2]&&(O[3]=0),O[2]=s(D,J,O[2]),O[3]=s(D,ne,O[3])}if(W){let{0:J,1:ne,2:K}=j.callsite;J!==O[4]?(O[5]=0,O[6]=0):ne!==O[5]&&(O[6]=0),O[4]=s(D,J,O[4]),O[5]=s(D,ne,O[5]),O[6]=s(D,K,O[6])}if(Z)for(let J of Z){J.length>1&&s(D,-J.length,0);let ne=J[0][0];s(D,ne,0);let K=k,q=$;for(let Q=1;Q<J.length;Q++){let z=J[Q];K=s(D,z[1],K),q=s(D,z[2],q),s(D,z[0],0)}}for(C++;C<x.length;){let J=x[C],{0:ne,1:K}=J;if(ne>U||ne===U&&K>=F)break;C=E(x,C,D,O)}return O[0]<U?(A(D,O[0],U),O[0]=U,O[1]=0):D.write(44),O[1]=s(D,F,O[1]),C}function A(x,C,D){do x.write(59);while(++C<D)}function S(x){let{length:C}=x,D=new p(x),O=[],j=0,k=0,$=0,U=0,F=0;do{let P=D.indexOf(";"),W=[],Z=!0,ee=0;for(j=0;D.pos<P;){let J;j=c(D,j),j<ee&&(Z=!1),ee=j,u(D,P)?(k=c(D,k),$=c(D,$),U=c(D,U),u(D,P)?(F=c(D,F),J=[j,k,$,U,F]):J=[j,k,$,U]):J=[j],W.push(J),D.pos++}Z||T(W),O.push(W),D.pos=P+1}while(D.pos<=C);return O}function T(x){x.sort(I)}function I(x,C){return x[0]-C[0]}function L(x){let C=new l,D=0,O=0,j=0,k=0;for(let $=0;$<x.length;$++){let U=x[$];if($>0&&C.write(59),U.length===0)continue;let F=0;for(let P=0;P<U.length;P++){let W=U[P];P>0&&C.write(44),F=s(C,W[0],F),W.length!==1&&(D=s(C,W[1],D),O=s(C,W[2],O),j=s(C,W[3],j),W.length!==4&&(k=s(C,W[4],k)))}}return C.flush()}e.decode=S,e.decodeGeneratedRanges=y,e.decodeOriginalScopes=h,e.encode=L,e.encodeGeneratedRanges=_,e.encodeOriginalScopes=m,Object.defineProperty(e,"__esModule",{value:!0})})});var $de=Le((C3,x3)=>{(function(e,t){typeof C3=="object"&&typeof x3<"u"?x3.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self,e.resolveURI=t())})(C3,function(){"use strict";let e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,n=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function i(g){return e.test(g)}function o(g){return g.startsWith("//")}function r(g){return g.startsWith("/")}function c(g){return g.startsWith("file:")}function s(g){return/^[.?#]/.test(g)}function u(g){let y=t.exec(g);return a(y[1],y[2]||"",y[3],y[4]||"",y[5]||"/",y[6]||"",y[7]||"")}function H(g){let y=n.exec(g),_=y[2];return a("file:","",y[1]||"","",r(_)?_:"/"+_,y[3]||"",y[4]||"")}function a(g,y,_,E,A,S,T){return{scheme:g,user:y,host:_,port:E,path:A,query:S,hash:T,type:7}}function l(g){if(o(g)){let _=u("http:"+g);return _.scheme="",_.type=6,_}if(r(g)){let _=u("http://foo.com"+g);return _.scheme="",_.host="",_.type=5,_}if(c(g))return H(g);if(i(g))return u(g);let y=u("http://foo.com/"+g);return y.scheme="",y.host="",y.type=g?g.startsWith("?")?3:g.startsWith("#")?2:4:1,y}function p(g){if(g.endsWith("/.."))return g;let y=g.lastIndexOf("/");return g.slice(0,y+1)}function d(g,y){h(y,y.type),g.path==="/"?g.path=y.path:g.path=p(y.path)+g.path}function h(g,y){let _=y<=4,E=g.path.split("/"),A=1,S=0,T=!1;for(let L=1;L<E.length;L++){let x=E[L];if(!x){T=!0;continue}if(T=!1,x!=="."){if(x===".."){S?(T=!0,S--,A--):_&&(E[A++]=x);continue}E[A++]=x,S++}}let I="";for(let L=1;L<A;L++)I+="/"+E[L];(!I||T&&!I.endsWith("/.."))&&(I+="/"),g.path=I}function m(g,y){if(!g&&!y)return"";let _=l(g),E=_.type;if(y&&E!==7){let S=l(y),T=S.type;switch(E){case 1:_.hash=S.hash;case 2:_.query=S.query;case 3:case 4:d(_,S);case 5:_.user=S.user,_.host=S.host,_.port=S.port;case 6:_.scheme=S.scheme}T>E&&(E=T)}h(_,E);let A=_.query+_.hash;switch(E){case 2:case 3:return A;case 4:{let S=_.path.slice(1);return S?s(y||g)&&!s(S)?"./"+S+A:S+A:A||"."}case 5:return _.path+A;default:return _.scheme+"//"+_.user+_.host+_.port+_.path+A}}return m})});var Bde=Le((Bv,Mde)=>{(function(e,t){typeof Bv=="object"&&typeof Mde<"u"?t(Bv,v3(),$de()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/sourcemap-codec","@jridgewell/resolve-uri"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.traceMapping={},e.sourcemapCodec,e.resolveURI))})(Bv,function(e,t,n){"use strict";function i(he,se){return se&&!se.endsWith("/")&&(se+="/"),n(he,se)}function o(he){if(!he)return"";let se=he.lastIndexOf("/");return he.slice(0,se+1)}let r=0,c=1,s=2,u=3,H=4,a=1,l=2;function p(he,se){let Ie=d(he,0);if(Ie===he.length)return he;se||(he=he.slice());for(let ye=Ie;ye<he.length;ye=d(he,ye+1))he[ye]=m(he[ye],se);return he}function d(he,se){for(let Ie=se;Ie<he.length;Ie++)if(!h(he[Ie]))return Ie;return he.length}function h(he){for(let se=1;se<he.length;se++)if(he[se][r]<he[se-1][r])return!1;return!0}function m(he,se){return se||(he=he.slice()),he.sort(g)}function g(he,se){return he[r]-se[r]}let y=!1;function _(he,se,Ie,ye){for(;Ie<=ye;){let $e=Ie+(ye-Ie>>1),nt=he[$e][r]-se;if(nt===0)return y=!0,$e;nt<0?Ie=$e+1:ye=$e-1}return y=!1,Ie-1}function E(he,se,Ie){for(let ye=Ie+1;ye<he.length&&he[ye][r]===se;Ie=ye++);return Ie}function A(he,se,Ie){for(let ye=Ie-1;ye>=0&&he[ye][r]===se;Ie=ye--);return Ie}function S(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function T(he,se,Ie,ye){let{lastKey:$e,lastNeedle:nt,lastIndex:et}=Ie,xe=0,pe=he.length-1;if(ye===$e){if(se===nt)return y=et!==-1&&he[et][r]===se,et;se>=nt?xe=et===-1?0:et:pe=et}return Ie.lastKey=ye,Ie.lastNeedle=se,Ie.lastIndex=_(he,se,xe,pe)}function I(he,se){let Ie=se.map(x);for(let ye=0;ye<he.length;ye++){let $e=he[ye];for(let nt=0;nt<$e.length;nt++){let et=$e[nt];if(et.length===1)continue;let xe=et[c],pe=et[s],ue=et[u],Se=Ie[xe],Ae=Se[pe]||(Se[pe]=[]),de=se[xe],We=E(Ae,ue,T(Ae,ue,de,pe));de.lastIndex=++We,L(Ae,We,[ue,ye,et[r]])}}return Ie}function L(he,se,Ie){for(let ye=he.length;ye>se;ye--)he[ye]=he[ye-1];he[se]=Ie}function x(){return{__proto__:null}}let C=function(he,se){let Ie=D(he);if(!("sections"in Ie))return new Z(Ie,se);let ye=[],$e=[],nt=[],et=[],xe=[];O(Ie,se,ye,$e,nt,et,xe,0,0,1/0,1/0);let pe={version:3,file:Ie.file,names:et,sources:$e,sourcesContent:nt,mappings:ye,ignoreList:xe};return Ve(pe)};function D(he){return typeof he=="string"?JSON.parse(he):he}function O(he,se,Ie,ye,$e,nt,et,xe,pe,ue,Se){let{sections:Ae}=he;for(let de=0;de<Ae.length;de++){let{map:We,offset:tt}=Ae[de],mt=ue,At=Se;if(de+1<Ae.length){let pt=Ae[de+1].offset;mt=Math.min(ue,xe+pt.line),mt===ue?At=Math.min(Se,pe+pt.column):mt<ue&&(At=pe+pt.column)}j(We,se,Ie,ye,$e,nt,et,xe+tt.line,pe+tt.column,mt,At)}}function j(he,se,Ie,ye,$e,nt,et,xe,pe,ue,Se){let Ae=D(he);if("sections"in Ae)return O(...arguments);let de=new Z(Ae,se),We=ye.length,tt=nt.length,mt=ne(de),{resolvedSources:At,sourcesContent:pt,ignoreList:Nt}=de;if(k(ye,At),k(nt,de.names),pt)k($e,pt);else for(let Ce=0;Ce<At.length;Ce++)$e.push(null);if(Nt)for(let Ce=0;Ce<Nt.length;Ce++)et.push(Nt[Ce]+We);for(let Ce=0;Ce<mt.length;Ce++){let qe=xe+Ce;if(qe>ue)return;let ot=$(Ie,qe),Ze=Ce===0?pe:0,Pe=mt[Ce];for(let Qe=0;Qe<Pe.length;Qe++){let Ge=Pe[Qe],we=Ze+Ge[r];if(qe===ue&&we>=Se)return;if(Ge.length===1){ot.push([we]);continue}let Ne=We+Ge[c],ht=Ge[s],it=Ge[u];ot.push(Ge.length===4?[we,Ne,ht,it]:[we,Ne,ht,it,tt+Ge[H]])}}}function k(he,se){for(let Ie=0;Ie<se.length;Ie++)he.push(se[Ie])}function $(he,se){for(let Ie=he.length;Ie<=se;Ie++)he[Ie]=[];return he[se]}let U="`line` must be greater than 0 (lines start at line 1)",F="`column` must be greater than or equal to 0 (columns start at column 0)",P=-1,W=1;class Z{constructor(se,Ie){let ye=typeof se=="string";if(!ye&&se._decodedMemo)return se;let $e=ye?JSON.parse(se):se,{version:nt,file:et,names:xe,sourceRoot:pe,sources:ue,sourcesContent:Se}=$e;this.version=nt,this.file=et,this.names=xe||[],this.sourceRoot=pe,this.sources=ue,this.sourcesContent=Se,this.ignoreList=$e.ignoreList||$e.x_google_ignoreList||void 0;let Ae=i(pe||"",o(Ie));this.resolvedSources=ue.map(We=>i(We||"",Ae));let{mappings:de}=$e;typeof de=="string"?(this._encoded=de,this._decoded=void 0):(this._encoded=void 0,this._decoded=p(de,ye)),this._decodedMemo=S(),this._bySources=void 0,this._bySourceMemos=void 0}}function ee(he){return he}function J(he){var se,Ie;return(se=(Ie=he)._encoded)!==null&&se!==void 0?se:Ie._encoded=t.encode(he._decoded)}function ne(he){var se;return(se=he)._decoded||(se._decoded=t.decode(he._encoded))}function K(he,se,Ie){let ye=ne(he);if(se>=ye.length)return null;let $e=ye[se],nt=Oe($e,he._decodedMemo,se,Ie,W);return nt===-1?null:$e[nt]}function q(he,se){let{line:Ie,column:ye,bias:$e}=se;if(Ie--,Ie<0)throw new Error(U);if(ye<0)throw new Error(F);let nt=ne(he);if(Ie>=nt.length)return ke(null,null,null,null);let et=nt[Ie],xe=Oe(et,he._decodedMemo,Ie,ye,$e||W);if(xe===-1)return ke(null,null,null,null);let pe=et[xe];if(pe.length===1)return ke(null,null,null,null);let{names:ue,resolvedSources:Se}=he;return ke(Se[pe[c]],pe[s]+1,pe[u],pe.length===5?ue[pe[H]]:null)}function Q(he,se){let{source:Ie,line:ye,column:$e,bias:nt}=se;return fe(he,Ie,ye,$e,nt||W,!1)}function z(he,se){let{source:Ie,line:ye,column:$e,bias:nt}=se;return fe(he,Ie,ye,$e,nt||P,!0)}function ie(he,se){let Ie=ne(he),{names:ye,resolvedSources:$e}=he;for(let nt=0;nt<Ie.length;nt++){let et=Ie[nt];for(let xe=0;xe<et.length;xe++){let pe=et[xe],ue=nt+1,Se=pe[0],Ae=null,de=null,We=null,tt=null;pe.length!==1&&(Ae=$e[pe[1]],de=pe[2]+1,We=pe[3]),pe.length===5&&(tt=ye[pe[4]]),se({generatedLine:ue,generatedColumn:Se,source:Ae,originalLine:de,originalColumn:We,name:tt})}}}function _e(he,se){let{sources:Ie,resolvedSources:ye}=he,$e=Ie.indexOf(se);return $e===-1&&($e=ye.indexOf(se)),$e}function He(he,se){let{sourcesContent:Ie}=he;if(Ie==null)return null;let ye=_e(he,se);return ye===-1?null:Ie[ye]}function be(he,se){let{ignoreList:Ie}=he;if(Ie==null)return!1;let ye=_e(he,se);return ye===-1?!1:Ie.includes(ye)}function Ve(he,se){let Ie=new Z(ce(he,[]),se);return Ie._decoded=he.mappings,Ie}function Fe(he){return ce(he,ne(he))}function me(he){return ce(he,J(he))}function ce(he,se){return{version:he.version,file:he.file,names:he.names,sourceRoot:he.sourceRoot,sources:he.sources,sourcesContent:he.sourcesContent,mappings:se,ignoreList:he.ignoreList||he.x_google_ignoreList}}function ke(he,se,Ie,ye){return{source:he,line:se,column:Ie,name:ye}}function je(he,se){return{line:he,column:se}}function Oe(he,se,Ie,ye,$e){let nt=T(he,ye,se,Ie);return y?nt=($e===P?E:A)(he,ye,nt):$e===P&&nt++,nt===-1||nt===he.length?-1:nt}function re(he,se,Ie,ye,$e){let nt=Oe(he,se,Ie,ye,W);if(!y&&$e===P&&nt++,nt===-1||nt===he.length)return[];let et=y?ye:he[nt][r];y||(nt=A(he,et,nt));let xe=E(he,et,nt),pe=[];for(;nt<=xe;nt++){let ue=he[nt];pe.push(je(ue[a]+1,ue[l]))}return pe}function fe(he,se,Ie,ye,$e,nt){var et;if(Ie--,Ie<0)throw new Error(U);if(ye<0)throw new Error(F);let{sources:xe,resolvedSources:pe}=he,ue=xe.indexOf(se);if(ue===-1&&(ue=pe.indexOf(se)),ue===-1)return nt?[]:je(null,null);let Ae=((et=he)._bySources||(et._bySources=I(ne(he),he._bySourceMemos=xe.map(S))))[ue][Ie];if(Ae==null)return nt?[]:je(null,null);let de=he._bySourceMemos[ue];if(nt)return re(Ae,de,Ie,ye,$e);let We=Oe(Ae,de,Ie,ye,$e);if(We===-1)return je(null,null);let tt=Ae[We];return je(tt[a]+1,tt[l])}e.AnyMap=C,e.GREATEST_LOWER_BOUND=W,e.LEAST_UPPER_BOUND=P,e.TraceMap=Z,e.allGeneratedPositionsFor=z,e.decodedMap=Fe,e.decodedMappings=ne,e.eachMapping=ie,e.encodedMap=me,e.encodedMappings=J,e.generatedPositionFor=Q,e.isIgnored=be,e.originalPositionFor=q,e.presortedDecodedMap=Ve,e.sourceContentFor=He,e.traceSegment=K})});var Fde=Le((Ov,Ode)=>{(function(e,t){typeof Ov=="object"&&typeof Ode<"u"?t(Ov,Nde(),v3(),Bde()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/set-array","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.genMapping={},e.setArray,e.sourcemapCodec,e.traceMapping))})(Ov,function(e,t,n,i){"use strict";class a{constructor({file:U,sourceRoot:F}={}){this._names=new t.SetArray,this._sources=new t.SetArray,this._sourcesContent=[],this._mappings=[],this.file=U,this.sourceRoot=F,this._ignoreList=new t.SetArray}}function l($){return $}function p($,U,F,P,W,Z,ee,J){return T(!1,$,U,F,P,W,Z,ee,J)}function d($,U){return k(!1,$,U)}let h=($,U,F,P,W,Z,ee,J)=>T(!0,$,U,F,P,W,Z,ee,J),m=($,U)=>k(!0,$,U);function g($,U,F){let{_sources:P,_sourcesContent:W}=$,Z=t.put(P,U);W[Z]=F}function y($,U,F=!0){let{_sources:P,_sourcesContent:W,_ignoreList:Z}=$,ee=t.put(P,U);ee===W.length&&(W[ee]=null),F?t.put(Z,ee):t.remove(Z,ee)}function _($){let{_mappings:U,_sources:F,_sourcesContent:P,_names:W,_ignoreList:Z}=$;return C(U),{version:3,file:$.file||void 0,names:W.array,sourceRoot:$.sourceRoot||void 0,sources:F.array,sourcesContent:P,mappings:U,ignoreList:Z.array}}function E($){let U=_($);return Object.assign(Object.assign({},U),{mappings:n.encode(U.mappings)})}function A($){let U=new i.TraceMap($),F=new a({file:U.file,sourceRoot:U.sourceRoot});return D(F._names,U.names),D(F._sources,U.sources),F._sourcesContent=U.sourcesContent||U.sources.map(()=>null),F._mappings=i.decodedMappings(U),U.ignoreList&&D(F._ignoreList,U.ignoreList),F}function S($){let U=[],{_mappings:F,_sources:P,_names:W}=$;for(let Z=0;Z<F.length;Z++){let ee=F[Z];for(let J=0;J<ee.length;J++){let ne=ee[J],K={line:Z+1,column:ne[0]},q,Q,z;ne.length!==1&&(q=P.array[ne[1]],Q={line:ne[2]+1,column:ne[3]},ne.length===5&&(z=W.array[ne[4]])),U.push({generated:K,source:q,original:Q,name:z})}}return U}function T($,U,F,P,W,Z,ee,J,ne){let{_mappings:K,_sources:q,_sourcesContent:Q,_names:z}=U,ie=I(K,F),_e=L(ie,P);if(!W)return $&&O(ie,_e)?void 0:x(ie,_e,[P]);let He=t.put(q,W),be=J?t.put(z,J):-1;if(He===Q.length&&(Q[He]=ne??null),!($&&j(ie,_e,He,Z,ee,be)))return x(ie,_e,J?[P,He,Z,ee,be]:[P,He,Z,ee])}function I($,U){for(let F=$.length;F<=U;F++)$[F]=[];return $[U]}function L($,U){let F=$.length;for(let P=F-1;P>=0;F=P--){let W=$[P];if(U>=W[0])break}return F}function x($,U,F){for(let P=$.length;P>U;P--)$[P]=$[P-1];$[U]=F}function C($){let{length:U}=$,F=U;for(let P=F-1;P>=0&&!($[P].length>0);F=P,P--);F<U&&($.length=F)}function D($,U){for(let F=0;F<U.length;F++)t.put($,U[F])}function O($,U){return U===0?!0:$[U-1].length===1}function j($,U,F,P,W,Z){if(U===0)return!1;let ee=$[U-1];return ee.length===1?!1:F===ee[1]&&P===ee[2]&&W===ee[3]&&Z===(ee.length===5?ee[4]:-1)}function k($,U,F){let{generated:P,source:W,original:Z,name:ee,content:J}=F;return W?T($,U,P.line-1,P.column,W,Z.line-1,Z.column,ee,J):T($,U,P.line-1,P.column,null,null,null,null,null)}e.GenMapping=a,e.addMapping=d,e.addSegment=p,e.allMappings=S,e.fromMap=A,e.maybeAddMapping=m,e.maybeAddSegment=h,e.setIgnore=y,e.setSourceContent=g,e.toDecodedMap=_,e.toEncodedMap=E,Object.defineProperty(e,"__esModule",{value:!0})})});var Ude=Le(D3=>{"use strict";Object.defineProperty(D3,"__esModule",{value:!0});var mg=Fde(),jde=Xl();function Ont({code:e,mappings:t},n,i,o,r){let c=Fnt(o,r),s=new mg.GenMapping({file:i.compiledFilename}),u=0,H=t[0];for(;H===void 0&&u<t.length-1;)u++,H=t[u];let a=0,l=0;H!==l&&mg.maybeAddSegment.call(void 0,s,a,0,n,a,0);for(let m=0;m<e.length;m++){if(m===H){let g=H-l,y=c[u];for(mg.maybeAddSegment.call(void 0,s,a,g,n,a,y);(H===m||H===void 0)&&u<t.length-1;)u++,H=t[u]}e.charCodeAt(m)===jde.charCodes.lineFeed&&(a++,l=m+1,H!==l&&mg.maybeAddSegment.call(void 0,s,a,0,n,a,0))}let{sourceRoot:p,sourcesContent:d,...h}=mg.toEncodedMap.call(void 0,s);return h}D3.default=Ont;function Fnt(e,t){let n=new Array(t.length),i=0,o=t[i].start,r=0;for(let c=0;c<e.length;c++)c===o&&(n[i]=o-r,i++,o=t[i].start),e.charCodeAt(c)===jde.charCodes.lineFeed&&(r=c+1);return n}});var qde=Le(w3=>{"use strict";Object.defineProperty(w3,"__esModule",{value:!0});var jnt={require:`
|
|
import {createRequire as CREATE_REQUIRE_NAME} from "module";
|
|
const require = CREATE_REQUIRE_NAME(import.meta.url);
|
|
`,interopRequireWildcard:`
|
|
function interopRequireWildcard(obj) {
|
|
if (obj && obj.__esModule) {
|
|
return obj;
|
|
} else {
|
|
var newObj = {};
|
|
if (obj != null) {
|
|
for (var key in obj) {
|
|
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
newObj[key] = obj[key];
|
|
}
|
|
}
|
|
}
|
|
newObj.default = obj;
|
|
return newObj;
|
|
}
|
|
}
|
|
`,interopRequireDefault:`
|
|
function interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
`,createNamedExportFrom:`
|
|
function createNamedExportFrom(obj, localName, importedName) {
|
|
Object.defineProperty(exports, localName, {enumerable: true, configurable: true, get: () => obj[importedName]});
|
|
}
|
|
`,createStarExport:`
|
|
function createStarExport(obj) {
|
|
Object.keys(obj)
|
|
.filter((key) => key !== "default" && key !== "__esModule")
|
|
.forEach((key) => {
|
|
if (exports.hasOwnProperty(key)) {
|
|
return;
|
|
}
|
|
Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]});
|
|
});
|
|
}
|
|
`,nullishCoalesce:`
|
|
function nullishCoalesce(lhs, rhsFn) {
|
|
if (lhs != null) {
|
|
return lhs;
|
|
} else {
|
|
return rhsFn();
|
|
}
|
|
}
|
|
`,asyncNullishCoalesce:`
|
|
async function asyncNullishCoalesce(lhs, rhsFn) {
|
|
if (lhs != null) {
|
|
return lhs;
|
|
} else {
|
|
return await rhsFn();
|
|
}
|
|
}
|
|
`,optionalChain:`
|
|
function optionalChain(ops) {
|
|
let lastAccessLHS = undefined;
|
|
let value = ops[0];
|
|
let i = 1;
|
|
while (i < ops.length) {
|
|
const op = ops[i];
|
|
const fn = ops[i + 1];
|
|
i += 2;
|
|
if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
|
|
return undefined;
|
|
}
|
|
if (op === 'access' || op === 'optionalAccess') {
|
|
lastAccessLHS = value;
|
|
value = fn(value);
|
|
} else if (op === 'call' || op === 'optionalCall') {
|
|
value = fn((...args) => value.call(lastAccessLHS, ...args));
|
|
lastAccessLHS = undefined;
|
|
}
|
|
}
|
|
return value;
|
|
}
|
|
`,asyncOptionalChain:`
|
|
async function asyncOptionalChain(ops) {
|
|
let lastAccessLHS = undefined;
|
|
let value = ops[0];
|
|
let i = 1;
|
|
while (i < ops.length) {
|
|
const op = ops[i];
|
|
const fn = ops[i + 1];
|
|
i += 2;
|
|
if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
|
|
return undefined;
|
|
}
|
|
if (op === 'access' || op === 'optionalAccess') {
|
|
lastAccessLHS = value;
|
|
value = await fn(value);
|
|
} else if (op === 'call' || op === 'optionalCall') {
|
|
value = await fn((...args) => value.call(lastAccessLHS, ...args));
|
|
lastAccessLHS = undefined;
|
|
}
|
|
}
|
|
return value;
|
|
}
|
|
`,optionalChainDelete:`
|
|
function optionalChainDelete(ops) {
|
|
const result = OPTIONAL_CHAIN_NAME(ops);
|
|
return result == null ? true : result;
|
|
}
|
|
`,asyncOptionalChainDelete:`
|
|
async function asyncOptionalChainDelete(ops) {
|
|
const result = await ASYNC_OPTIONAL_CHAIN_NAME(ops);
|
|
return result == null ? true : result;
|
|
}
|
|
`},P3=class e{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(t){this.nameManager=t,e.prototype.__init.call(this),e.prototype.__init2.call(this)}getHelperName(t){let n=this.helperNames[t];return n||(n=this.nameManager.claimFreeName(`_${t}`),this.helperNames[t]=n,n)}emitHelpers(){let t="";this.helperNames.optionalChainDelete&&this.getHelperName("optionalChain"),this.helperNames.asyncOptionalChainDelete&&this.getHelperName("asyncOptionalChain");for(let[n,i]of Object.entries(jnt)){let o=this.helperNames[n],r=i;n==="optionalChainDelete"?r=r.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain):n==="asyncOptionalChainDelete"?r=r.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain):n==="require"&&(this.createRequireName===null&&(this.createRequireName=this.nameManager.claimFreeName("_createRequire")),r=r.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)),o&&(t+=" ",t+=r.replace(n,o).replace(/\s+/g," ").trim())}return t}};w3.HelperManager=P3});var Kde=Le(jv=>{"use strict";Object.defineProperty(jv,"__esModule",{value:!0});var k3=io(),Fv=_i();function Unt(e,t,n){Vde(e,n)&&qnt(e,t,n)}jv.default=Unt;function Vde(e,t){for(let n of e.tokens)if(n.type===Fv.TokenType.name&&!n.isType&&k3.isNonTopLevelDeclaration.call(void 0,n)&&t.has(e.identifierNameForToken(n)))return!0;return!1}jv.hasShadowedGlobals=Vde;function qnt(e,t,n){let i=[],o=t.length-1;for(let r=e.tokens.length-1;;r--){for(;i.length>0&&i[i.length-1].startTokenIndex===r+1;)i.pop();for(;o>=0&&t[o].endTokenIndex===r+1;)i.push(t[o]),o--;if(r<0)break;let c=e.tokens[r],s=e.identifierNameForToken(c);if(i.length>1&&!c.isType&&c.type===Fv.TokenType.name&&n.has(s)){if(k3.isBlockScopedDeclaration.call(void 0,c))Wde(i[i.length-1],e,s);else if(k3.isFunctionScopedDeclaration.call(void 0,c)){let u=i.length-1;for(;u>0&&!i[u].isFunctionScope;)u--;if(u<0)throw new Error("Did not find parent function scope.");Wde(i[u],e,s)}}}if(i.length>0)throw new Error("Expected empty scope stack after processing file.")}function Wde(e,t,n){for(let i=e.startTokenIndex;i<e.endTokenIndex;i++){let o=t.tokens[i];(o.type===Fv.TokenType.name||o.type===Fv.TokenType.jsxName)&&t.identifierNameForToken(o)===n&&(o.shadowsGlobal=!0)}}});var Gde=Le(N3=>{"use strict";Object.defineProperty(N3,"__esModule",{value:!0});var Wnt=_i();function Vnt(e,t){let n=[];for(let i of t)i.type===Wnt.TokenType.name&&n.push(e.slice(i.start,i.end));return n}N3.default=Vnt});var Xde=Le($3=>{"use strict";Object.defineProperty($3,"__esModule",{value:!0});function Knt(e){return e&&e.__esModule?e:{default:e}}var Gnt=Gde(),Xnt=Knt(Gnt),R3=class e{__init(){this.usedNames=new Set}constructor(t,n){e.prototype.__init.call(this),this.usedNames=new Set(Xnt.default.call(void 0,t,n))}claimFreeName(t){let n=this.findFreeName(t);return this.usedNames.add(n),n}findFreeName(t){if(!this.usedNames.has(t))return t;let n=2;for(;this.usedNames.has(t+String(n));)n++;return t+String(n)}};$3.default=R3});var Uv=Le(aH=>{"use strict";var Znt=aH&&aH.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var r in o)o.hasOwnProperty(r)&&(i[r]=o[r])},e(t,n)};return function(t,n){e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(aH,"__esModule",{value:!0});aH.DetailContext=aH.NoopContext=aH.VError=void 0;var Zde=function(e){Znt(t,e);function t(n,i){var o=e.call(this,i)||this;return o.path=n,Object.setPrototypeOf(o,t.prototype),o}return t}(Error);aH.VError=Zde;var znt=function(){function e(){}return e.prototype.fail=function(t,n,i){return!1},e.prototype.unionResolver=function(){return this},e.prototype.createContext=function(){return this},e.prototype.resolveUnion=function(t){},e}();aH.NoopContext=znt;var zde=function(){function e(){this._propNames=[""],this._messages=[null],this._score=0}return e.prototype.fail=function(t,n,i){return this._propNames.push(t),this._messages.push(n),this._score+=i,!1},e.prototype.unionResolver=function(){return new Jnt},e.prototype.resolveUnion=function(t){for(var n,i,o=t,r=null,c=0,s=o.contexts;c<s.length;c++){var u=s[c];(!r||u._score>=r._score)&&(r=u)}r&&r._score>0&&((n=this._propNames).push.apply(n,r._propNames),(i=this._messages).push.apply(i,r._messages))},e.prototype.getError=function(t){for(var n=[],i=this._propNames.length-1;i>=0;i--){var o=this._propNames[i];t+=typeof o=="number"?"["+o+"]":o?"."+o:"";var r=this._messages[i];r&&n.push(t+" "+r)}return new Zde(t,n.join("; "))},e.prototype.getErrorDetail=function(t){for(var n=[],i=this._propNames.length-1;i>=0;i--){var o=this._propNames[i];t+=typeof o=="number"?"["+o+"]":o?"."+o:"";var r=this._messages[i];r&&n.push({path:t,message:r})}for(var c=null,i=n.length-1;i>=0;i--)c&&(n[i].nested=[c]),c=n[i];return c},e}();aH.DetailContext=zde;var Jnt=function(){function e(){this.contexts=[]}return e.prototype.createContext=function(){var t=new zde;return this.contexts.push(t),t},e}()});var W3=Le(hn=>{"use strict";var Ql=hn&&hn.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var r in o)o.hasOwnProperty(r)&&(i[r]=o[r])},e(t,n)};return function(t,n){e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(hn,"__esModule",{value:!0});hn.basicTypes=hn.BasicType=hn.TParamList=hn.TParam=hn.param=hn.TFunc=hn.func=hn.TProp=hn.TOptional=hn.opt=hn.TIface=hn.iface=hn.TEnumLiteral=hn.enumlit=hn.TEnumType=hn.enumtype=hn.TIntersection=hn.intersection=hn.TUnion=hn.union=hn.TTuple=hn.tuple=hn.TArray=hn.array=hn.TLiteral=hn.lit=hn.TName=hn.name=hn.TType=void 0;var Yde=Uv(),Tl=function(){function e(){}return e}();hn.TType=Tl;function Ld(e){return typeof e=="string"?efe(e):e}function O3(e,t){var n=e[t];if(!n)throw new Error("Unknown type "+t);return n}function efe(e){return new F3(e)}hn.name=efe;var F3=function(e){Ql(t,e);function t(n){var i=e.call(this)||this;return i.name=n,i._failMsg="is not a "+n,i}return t.prototype.getChecker=function(n,i,o){var r=this,c=O3(n,this.name),s=c.getChecker(n,i,o);return c instanceof Ko||c instanceof t?s:function(u,H){return s(u,H)?!0:H.fail(null,r._failMsg,0)}},t}(Tl);hn.TName=F3;function Qnt(e){return new j3(e)}hn.lit=Qnt;var j3=function(e){Ql(t,e);function t(n){var i=e.call(this)||this;return i.value=n,i.name=JSON.stringify(n),i._failMsg="is not "+i.name,i}return t.prototype.getChecker=function(n,i){var o=this;return function(r,c){return r===o.value?!0:c.fail(null,o._failMsg,-1)}},t}(Tl);hn.TLiteral=j3;function Ynt(e){return new tfe(Ld(e))}hn.array=Ynt;var tfe=function(e){Ql(t,e);function t(n){var i=e.call(this)||this;return i.ttype=n,i}return t.prototype.getChecker=function(n,i){var o=this.ttype.getChecker(n,i);return function(r,c){if(!Array.isArray(r))return c.fail(null,"is not an array",0);for(var s=0;s<r.length;s++){var u=o(r[s],c);if(!u)return c.fail(s,null,1)}return!0}},t}(Tl);hn.TArray=tfe;function eit(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new rfe(e.map(function(n){return Ld(n)}))}hn.tuple=eit;var rfe=function(e){Ql(t,e);function t(n){var i=e.call(this)||this;return i.ttypes=n,i}return t.prototype.getChecker=function(n,i){var o=this.ttypes.map(function(c){return c.getChecker(n,i)}),r=function(c,s){if(!Array.isArray(c))return s.fail(null,"is not an array",0);for(var u=0;u<o.length;u++){var H=o[u](c[u],s);if(!H)return s.fail(u,null,1)}return!0};return i?function(c,s){return r(c,s)?c.length<=o.length?!0:s.fail(o.length,"is extraneous",2):!1}:r},t}(Tl);hn.TTuple=rfe;function tit(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new nfe(e.map(function(n){return Ld(n)}))}hn.union=tit;var nfe=function(e){Ql(t,e);function t(n){var i=e.call(this)||this;i.ttypes=n;var o=n.map(function(c){return c instanceof F3||c instanceof j3?c.name:null}).filter(function(c){return c}),r=n.length-o.length;return o.length?(r>0&&o.push(r+" more"),i._failMsg="is none of "+o.join(", ")):i._failMsg="is none of "+r+" types",i}return t.prototype.getChecker=function(n,i){var o=this,r=this.ttypes.map(function(c){return c.getChecker(n,i)});return function(c,s){for(var u=s.unionResolver(),H=0;H<r.length;H++){var a=r[H](c,u.createContext());if(a)return!0}return s.resolveUnion(u),s.fail(null,o._failMsg,0)}},t}(Tl);hn.TUnion=nfe;function rit(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new ife(e.map(function(n){return Ld(n)}))}hn.intersection=rit;var ife=function(e){Ql(t,e);function t(n){var i=e.call(this)||this;return i.ttypes=n,i}return t.prototype.getChecker=function(n,i){var o=new Set,r=this.ttypes.map(function(c){return c.getChecker(n,i,o)});return function(c,s){var u=r.every(function(H){return H(c,s)});return u?!0:s.fail(null,null,0)}},t}(Tl);hn.TIntersection=ife;function nit(e){return new U3(e)}hn.enumtype=nit;var U3=function(e){Ql(t,e);function t(n){var i=e.call(this)||this;return i.members=n,i.validValues=new Set,i._failMsg="is not a valid enum value",i.validValues=new Set(Object.keys(n).map(function(o){return n[o]})),i}return t.prototype.getChecker=function(n,i){var o=this;return function(r,c){return o.validValues.has(r)?!0:c.fail(null,o._failMsg,0)}},t}(Tl);hn.TEnumType=U3;function iit(e,t){return new sfe(e,t)}hn.enumlit=iit;var sfe=function(e){Ql(t,e);function t(n,i){var o=e.call(this)||this;return o.enumName=n,o.prop=i,o._failMsg="is not "+n+"."+i,o}return t.prototype.getChecker=function(n,i){var o=this,r=O3(n,this.enumName);if(!(r instanceof U3))throw new Error("Type "+this.enumName+" used in enumlit is not an enum type");var c=r.members[this.prop];if(!r.members.hasOwnProperty(this.prop))throw new Error("Unknown value "+this.enumName+"."+this.prop+" used in enumlit");return function(s,u){return s===c?!0:u.fail(null,o._failMsg,-1)}},t}(Tl);hn.TEnumLiteral=sfe;function sit(e){return Object.keys(e).map(function(t){return ait(t,e[t])})}function ait(e,t){return t instanceof q3?new B3(e,t.ttype,!0):new B3(e,Ld(t),!1)}function oit(e,t){return new afe(e,sit(t))}hn.iface=oit;var afe=function(e){Ql(t,e);function t(n,i){var o=e.call(this)||this;return o.bases=n,o.props=i,o.propSet=new Set(i.map(function(r){return r.name})),o}return t.prototype.getChecker=function(n,i,o){var r=this,c=this.bases.map(function(p){return O3(n,p).getChecker(n,i)}),s=this.props.map(function(p){return p.ttype.getChecker(n,i)}),u=new Yde.NoopContext,H=this.props.map(function(p,d){return!p.isOpt&&!s[d](void 0,u)}),a=function(p,d){if(typeof p!="object"||p===null)return d.fail(null,"is not an object",0);for(var h=0;h<c.length;h++)if(!c[h](p,d))return!1;for(var h=0;h<s.length;h++){var m=r.props[h].name,g=p[m];if(g===void 0){if(H[h])return d.fail(m,"is missing",1)}else{var y=s[h](g,d);if(!y)return d.fail(m,null,1)}}return!0};if(!i)return a;var l=this.propSet;return o&&(this.propSet.forEach(function(p){return o.add(p)}),l=o),function(p,d){if(!a(p,d))return!1;for(var h in p)if(!l.has(h))return d.fail(h,"is extraneous",2);return!0}},t}(Tl);hn.TIface=afe;function lit(e){return new q3(Ld(e))}hn.opt=lit;var q3=function(e){Ql(t,e);function t(n){var i=e.call(this)||this;return i.ttype=n,i}return t.prototype.getChecker=function(n,i){var o=this.ttype.getChecker(n,i);return function(r,c){return r===void 0||o(r,c)}},t}(Tl);hn.TOptional=q3;var B3=function(){function e(t,n,i){this.name=t,this.ttype=n,this.isOpt=i}return e}();hn.TProp=B3;function cit(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new ofe(new cfe(t),Ld(e))}hn.func=cit;var ofe=function(e){Ql(t,e);function t(n,i){var o=e.call(this)||this;return o.paramList=n,o.result=i,o}return t.prototype.getChecker=function(n,i){return function(o,r){return typeof o=="function"?!0:r.fail(null,"is not a function",0)}},t}(Tl);hn.TFunc=ofe;function uit(e,t,n){return new lfe(e,Ld(t),!!n)}hn.param=uit;var lfe=function(){function e(t,n,i){this.name=t,this.ttype=n,this.isOpt=i}return e}();hn.TParam=lfe;var cfe=function(e){Ql(t,e);function t(n){var i=e.call(this)||this;return i.params=n,i}return t.prototype.getChecker=function(n,i){var o=this,r=this.params.map(function(H){return H.ttype.getChecker(n,i)}),c=new Yde.NoopContext,s=this.params.map(function(H,a){return!H.isOpt&&!r[a](void 0,c)}),u=function(H,a){if(!Array.isArray(H))return a.fail(null,"is not an array",0);for(var l=0;l<r.length;l++){var p=o.params[l];if(H[l]===void 0){if(s[l])return a.fail(p.name,"is missing",1)}else{var d=r[l](H[l],a);if(!d)return a.fail(p.name,null,1)}}return!0};return i?function(H,a){return u(H,a)?H.length<=r.length?!0:a.fail(r.length,"is extraneous",2):!1}:u},t}(Tl);hn.TParamList=cfe;var Ko=function(e){Ql(t,e);function t(n,i){var o=e.call(this)||this;return o.validator=n,o.message=i,o}return t.prototype.getChecker=function(n,i){var o=this;return function(r,c){return o.validator(r)?!0:c.fail(null,o.message,0)}},t}(Tl);hn.BasicType=Ko;hn.basicTypes={any:new Ko(function(e){return!0},"is invalid"),number:new Ko(function(e){return typeof e=="number"},"is not a number"),object:new Ko(function(e){return typeof e=="object"&&e},"is not an object"),boolean:new Ko(function(e){return typeof e=="boolean"},"is not a boolean"),string:new Ko(function(e){return typeof e=="string"},"is not a string"),symbol:new Ko(function(e){return typeof e=="symbol"},"is not a symbol"),void:new Ko(function(e){return e==null},"is not void"),undefined:new Ko(function(e){return e===void 0},"is not undefined"),null:new Ko(function(e){return e===null},"is not null"),never:new Ko(function(e){return!1},"is unexpected"),Date:new Ko(Jde("[object Date]"),"is not a Date"),RegExp:new Ko(Jde("[object RegExp]"),"is not a RegExp")};var Hit=Object.prototype.toString;function Jde(e){return function(t){return typeof t=="object"&&t&&Hit.call(t)===e}}typeof Buffer<"u"&&(hn.basicTypes.Buffer=new Ko(function(e){return Buffer.isBuffer(e)},"is not a Buffer"));var pit=function(e){hn.basicTypes[e.name]=new Ko(function(t){return t instanceof e},"is not a "+e.name)};for(qv=0,M3=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];qv<M3.length;qv++)Qde=M3[qv],pit(Qde);var Qde,qv,M3});var V3=Le(yi=>{"use strict";var dit=yi&&yi.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var i=Array(e),o=0,t=0;t<n;t++)for(var r=arguments[t],c=0,s=r.length;c<s;c++,o++)i[o]=r[c];return i};Object.defineProperty(yi,"__esModule",{value:!0});yi.Checker=yi.createCheckers=void 0;var Eg=W3(),Rm=Uv(),Ss=W3();Object.defineProperty(yi,"TArray",{enumerable:!0,get:function(){return Ss.TArray}});Object.defineProperty(yi,"TEnumType",{enumerable:!0,get:function(){return Ss.TEnumType}});Object.defineProperty(yi,"TEnumLiteral",{enumerable:!0,get:function(){return Ss.TEnumLiteral}});Object.defineProperty(yi,"TFunc",{enumerable:!0,get:function(){return Ss.TFunc}});Object.defineProperty(yi,"TIface",{enumerable:!0,get:function(){return Ss.TIface}});Object.defineProperty(yi,"TLiteral",{enumerable:!0,get:function(){return Ss.TLiteral}});Object.defineProperty(yi,"TName",{enumerable:!0,get:function(){return Ss.TName}});Object.defineProperty(yi,"TOptional",{enumerable:!0,get:function(){return Ss.TOptional}});Object.defineProperty(yi,"TParam",{enumerable:!0,get:function(){return Ss.TParam}});Object.defineProperty(yi,"TParamList",{enumerable:!0,get:function(){return Ss.TParamList}});Object.defineProperty(yi,"TProp",{enumerable:!0,get:function(){return Ss.TProp}});Object.defineProperty(yi,"TTuple",{enumerable:!0,get:function(){return Ss.TTuple}});Object.defineProperty(yi,"TType",{enumerable:!0,get:function(){return Ss.TType}});Object.defineProperty(yi,"TUnion",{enumerable:!0,get:function(){return Ss.TUnion}});Object.defineProperty(yi,"TIntersection",{enumerable:!0,get:function(){return Ss.TIntersection}});Object.defineProperty(yi,"array",{enumerable:!0,get:function(){return Ss.array}});Object.defineProperty(yi,"enumlit",{enumerable:!0,get:function(){return Ss.enumlit}});Object.defineProperty(yi,"enumtype",{enumerable:!0,get:function(){return Ss.enumtype}});Object.defineProperty(yi,"func",{enumerable:!0,get:function(){return Ss.func}});Object.defineProperty(yi,"iface",{enumerable:!0,get:function(){return Ss.iface}});Object.defineProperty(yi,"lit",{enumerable:!0,get:function(){return Ss.lit}});Object.defineProperty(yi,"name",{enumerable:!0,get:function(){return Ss.name}});Object.defineProperty(yi,"opt",{enumerable:!0,get:function(){return Ss.opt}});Object.defineProperty(yi,"param",{enumerable:!0,get:function(){return Ss.param}});Object.defineProperty(yi,"tuple",{enumerable:!0,get:function(){return Ss.tuple}});Object.defineProperty(yi,"union",{enumerable:!0,get:function(){return Ss.union}});Object.defineProperty(yi,"intersection",{enumerable:!0,get:function(){return Ss.intersection}});Object.defineProperty(yi,"BasicType",{enumerable:!0,get:function(){return Ss.BasicType}});var fit=Uv();Object.defineProperty(yi,"VError",{enumerable:!0,get:function(){return fit.VError}});function hit(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=Object.assign.apply(Object,dit([{},Eg.basicTypes],e)),i={},o=0,r=e;o<r.length;o++)for(var c=r[o],s=0,u=Object.keys(c);s<u.length;s++){var H=u[s];i[H]=new ufe(n,c[H])}return i}yi.createCheckers=hit;var ufe=function(){function e(t,n,i){if(i===void 0&&(i="value"),this.suite=t,this.ttype=n,this._path=i,this.props=new Map,n instanceof Eg.TIface)for(var o=0,r=n.props;o<r.length;o++){var c=r[o];this.props.set(c.name,c.ttype)}this.checkerPlain=this.ttype.getChecker(t,!1),this.checkerStrict=this.ttype.getChecker(t,!0)}return e.prototype.setReportedPath=function(t){this._path=t},e.prototype.check=function(t){return this._doCheck(this.checkerPlain,t)},e.prototype.test=function(t){return this.checkerPlain(t,new Rm.NoopContext)},e.prototype.validate=function(t){return this._doValidate(this.checkerPlain,t)},e.prototype.strictCheck=function(t){return this._doCheck(this.checkerStrict,t)},e.prototype.strictTest=function(t){return this.checkerStrict(t,new Rm.NoopContext)},e.prototype.strictValidate=function(t){return this._doValidate(this.checkerStrict,t)},e.prototype.getProp=function(t){var n=this.props.get(t);if(!n)throw new Error("Type has no property "+t);return new e(this.suite,n,this._path+"."+t)},e.prototype.methodArgs=function(t){var n=this._getMethod(t);return new e(this.suite,n.paramList)},e.prototype.methodResult=function(t){var n=this._getMethod(t);return new e(this.suite,n.result)},e.prototype.getArgs=function(){if(!(this.ttype instanceof Eg.TFunc))throw new Error("getArgs() applied to non-function");return new e(this.suite,this.ttype.paramList)},e.prototype.getResult=function(){if(!(this.ttype instanceof Eg.TFunc))throw new Error("getResult() applied to non-function");return new e(this.suite,this.ttype.result)},e.prototype.getType=function(){return this.ttype},e.prototype._doCheck=function(t,n){var i=new Rm.NoopContext;if(!t(n,i)){var o=new Rm.DetailContext;throw t(n,o),o.getError(this._path)}},e.prototype._doValidate=function(t,n){var i=new Rm.NoopContext;if(t(n,i))return null;var o=new Rm.DetailContext;return t(n,o),o.getErrorDetail(this._path)},e.prototype._getMethod=function(t){var n=this.props.get(t);if(!n)throw new Error("Type has no property "+t);if(!(n instanceof Eg.TFunc))throw new Error("Property "+t+" is not a method");return n},e}();yi.Checker=ufe});var Hfe=Le(np=>{"use strict";Object.defineProperty(np,"__esModule",{value:!0});function _it(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var mit=V3(),ks=_it(mit),Eit=ks.union(ks.lit("jsx"),ks.lit("typescript"),ks.lit("flow"),ks.lit("imports"),ks.lit("react-hot-loader"),ks.lit("jest"));np.Transform=Eit;var yit=ks.iface([],{compiledFilename:"string"});np.SourceMapOptions=yit;var git=ks.iface([],{transforms:ks.array("Transform"),disableESTransforms:ks.opt("boolean"),jsxRuntime:ks.opt(ks.union(ks.lit("classic"),ks.lit("automatic"),ks.lit("preserve"))),production:ks.opt("boolean"),jsxImportSource:ks.opt("string"),jsxPragma:ks.opt("string"),jsxFragmentPragma:ks.opt("string"),keepUnusedImports:ks.opt("boolean"),preserveDynamicImport:ks.opt("boolean"),injectCreateRequireForImportRequire:ks.opt("boolean"),enableLegacyTypeScriptModuleInterop:ks.opt("boolean"),enableLegacyBabel5ModuleInterop:ks.opt("boolean"),sourceMapOptions:ks.opt("SourceMapOptions"),filePath:ks.opt("string")});np.Options=git;var bit={Transform:np.Transform,SourceMapOptions:np.SourceMapOptions,Options:np.Options};np.default=bit});var pfe=Le(K3=>{"use strict";Object.defineProperty(K3,"__esModule",{value:!0});function Ait(e){return e&&e.__esModule?e:{default:e}}var Iit=V3(),Sit=Hfe(),Lit=Ait(Sit),{Options:Tit}=Iit.createCheckers.call(void 0,Lit.default);function vit(e){Tit.strictCheck(e)}K3.validateOptions=vit});var Wv=Le(oH=>{"use strict";Object.defineProperty(oH,"__esModule",{value:!0});var Cit=bg(),dfe=$m(),Go=io(),yg=_o(),Dc=_i(),so=Zl(),gg=eh(),G3=Id();function xit(){Go.next.call(void 0),gg.parseMaybeAssign.call(void 0,!1)}oH.parseSpread=xit;function ffe(e){Go.next.call(void 0),Z3(e)}oH.parseRest=ffe;function hfe(e){gg.parseIdentifier.call(void 0),_fe(e)}oH.parseBindingIdentifier=hfe;function Dit(){gg.parseIdentifier.call(void 0),so.state.tokens[so.state.tokens.length-1].identifierRole=Go.IdentifierRole.ImportDeclaration}oH.parseImportedIdentifier=Dit;function _fe(e){let t;so.state.scopeDepth===0?t=Go.IdentifierRole.TopLevelDeclaration:e?t=Go.IdentifierRole.BlockScopedDeclaration:t=Go.IdentifierRole.FunctionScopedDeclaration,so.state.tokens[so.state.tokens.length-1].identifierRole=t}oH.markPriorBindingIdentifier=_fe;function Z3(e){switch(so.state.type){case Dc.TokenType._this:{let t=Go.pushTypeContext.call(void 0,0);Go.next.call(void 0),Go.popTypeContext.call(void 0,t);return}case Dc.TokenType._yield:case Dc.TokenType.name:{so.state.type=Dc.TokenType.name,hfe(e);return}case Dc.TokenType.bracketL:{Go.next.call(void 0),mfe(Dc.TokenType.bracketR,e,!0);return}case Dc.TokenType.braceL:gg.parseObj.call(void 0,!0,e);return;default:G3.unexpected.call(void 0)}}oH.parseBindingAtom=Z3;function mfe(e,t,n=!1,i=!1,o=0){let r=!0,c=!1,s=so.state.tokens.length;for(;!Go.eat.call(void 0,e)&&!so.state.error;)if(r?r=!1:(G3.expect.call(void 0,Dc.TokenType.comma),so.state.tokens[so.state.tokens.length-1].contextId=o,!c&&so.state.tokens[s].isType&&(so.state.tokens[so.state.tokens.length-1].isType=!0,c=!0)),!(n&&Go.match.call(void 0,Dc.TokenType.comma))){if(Go.eat.call(void 0,e))break;if(Go.match.call(void 0,Dc.TokenType.ellipsis)){ffe(t),Efe(),Go.eat.call(void 0,Dc.TokenType.comma),G3.expect.call(void 0,e);break}else Pit(i,t)}}oH.parseBindingList=mfe;function Pit(e,t){e&&dfe.tsParseModifiers.call(void 0,[yg.ContextualKeyword._public,yg.ContextualKeyword._protected,yg.ContextualKeyword._private,yg.ContextualKeyword._readonly,yg.ContextualKeyword._override]),X3(t),Efe(),X3(t,!0)}function Efe(){so.isFlowEnabled?Cit.flowParseAssignableListItemTypes.call(void 0):so.isTypeScriptEnabled&&dfe.tsParseAssignableListItemTypes.call(void 0)}function X3(e,t=!1){if(t||Z3(e),!Go.eat.call(void 0,Dc.TokenType.eq))return;let n=so.state.tokens.length-1;gg.parseMaybeAssign.call(void 0),so.state.tokens[n].rhsEndIndex=so.state.tokens.length}oH.parseMaybeDefault=X3});var $m=Le(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});var bt=io(),ln=_o(),gt=_i(),Ft=Zl(),Hi=eh(),Bm=Wv(),lH=Tg(),Er=Id(),wit=a8();function J3(){return bt.match.call(void 0,gt.TokenType.name)}function kit(){return bt.match.call(void 0,gt.TokenType.name)||!!(Ft.state.type>.TokenType.IS_KEYWORD)||bt.match.call(void 0,gt.TokenType.string)||bt.match.call(void 0,gt.TokenType.num)||bt.match.call(void 0,gt.TokenType.bigint)||bt.match.call(void 0,gt.TokenType.decimal)}function Ife(){let e=Ft.state.snapshot();return bt.next.call(void 0),(bt.match.call(void 0,gt.TokenType.bracketL)||bt.match.call(void 0,gt.TokenType.braceL)||bt.match.call(void 0,gt.TokenType.star)||bt.match.call(void 0,gt.TokenType.ellipsis)||bt.match.call(void 0,gt.TokenType.hash)||kit())&&!Er.hasPrecedingLineBreak.call(void 0)?!0:(Ft.state.restoreFromSnapshot(e),!1)}function Sfe(e){for(;t8(e)!==null;);}wi.tsParseModifiers=Sfe;function t8(e){if(!bt.match.call(void 0,gt.TokenType.name))return null;let t=Ft.state.contextualKeyword;if(e.indexOf(t)!==-1&&Ife()){switch(t){case ln.ContextualKeyword._readonly:Ft.state.tokens[Ft.state.tokens.length-1].type=gt.TokenType._readonly;break;case ln.ContextualKeyword._abstract:Ft.state.tokens[Ft.state.tokens.length-1].type=gt.TokenType._abstract;break;case ln.ContextualKeyword._static:Ft.state.tokens[Ft.state.tokens.length-1].type=gt.TokenType._static;break;case ln.ContextualKeyword._public:Ft.state.tokens[Ft.state.tokens.length-1].type=gt.TokenType._public;break;case ln.ContextualKeyword._private:Ft.state.tokens[Ft.state.tokens.length-1].type=gt.TokenType._private;break;case ln.ContextualKeyword._protected:Ft.state.tokens[Ft.state.tokens.length-1].type=gt.TokenType._protected;break;case ln.ContextualKeyword._override:Ft.state.tokens[Ft.state.tokens.length-1].type=gt.TokenType._override;break;case ln.ContextualKeyword._declare:Ft.state.tokens[Ft.state.tokens.length-1].type=gt.TokenType._declare;break;default:break}return t}return null}wi.tsParseModifier=t8;function Ig(){for(Hi.parseIdentifier.call(void 0);bt.eat.call(void 0,gt.TokenType.dot);)Hi.parseIdentifier.call(void 0)}function Nit(){Ig(),!Er.hasPrecedingLineBreak.call(void 0)&&bt.match.call(void 0,gt.TokenType.lessThan)&&Fm()}function Rit(){bt.next.call(void 0),Lg()}function $it(){bt.next.call(void 0)}function Mit(){Er.expect.call(void 0,gt.TokenType._typeof),bt.match.call(void 0,gt.TokenType._import)?Lfe():Ig(),!Er.hasPrecedingLineBreak.call(void 0)&&bt.match.call(void 0,gt.TokenType.lessThan)&&Fm()}function Lfe(){Er.expect.call(void 0,gt.TokenType._import),Er.expect.call(void 0,gt.TokenType.parenL),Er.expect.call(void 0,gt.TokenType.string),Er.expect.call(void 0,gt.TokenType.parenR),bt.eat.call(void 0,gt.TokenType.dot)&&Ig(),bt.match.call(void 0,gt.TokenType.lessThan)&&Fm()}function Bit(){bt.eat.call(void 0,gt.TokenType._const);let e=bt.eat.call(void 0,gt.TokenType._in),t=Er.eatContextual.call(void 0,ln.ContextualKeyword._out);bt.eat.call(void 0,gt.TokenType._const),(e||t)&&!bt.match.call(void 0,gt.TokenType.name)?Ft.state.tokens[Ft.state.tokens.length-1].type=gt.TokenType.name:Hi.parseIdentifier.call(void 0),bt.eat.call(void 0,gt.TokenType._extends)&&_a(),bt.eat.call(void 0,gt.TokenType.eq)&&_a()}function Om(){bt.match.call(void 0,gt.TokenType.lessThan)&&Kv()}wi.tsTryParseTypeParameters=Om;function Kv(){let e=bt.pushTypeContext.call(void 0,0);for(bt.match.call(void 0,gt.TokenType.lessThan)||bt.match.call(void 0,gt.TokenType.typeParameterStart)?bt.next.call(void 0):Er.unexpected.call(void 0);!bt.eat.call(void 0,gt.TokenType.greaterThan)&&!Ft.state.error;)Bit(),bt.eat.call(void 0,gt.TokenType.comma);bt.popTypeContext.call(void 0,e)}function r8(e){let t=e===gt.TokenType.arrow;Om(),Er.expect.call(void 0,gt.TokenType.parenL),Ft.state.scopeDepth++,Oit(!1),Ft.state.scopeDepth--,(t||bt.match.call(void 0,e))&&Ag(e)}function Oit(e){Bm.parseBindingList.call(void 0,gt.TokenType.parenR,e)}function Vv(){bt.eat.call(void 0,gt.TokenType.comma)||Er.semicolon.call(void 0)}function yfe(){r8(gt.TokenType.colon),Vv()}function Fit(){let e=Ft.state.snapshot();bt.next.call(void 0);let t=bt.eat.call(void 0,gt.TokenType.name)&&bt.match.call(void 0,gt.TokenType.colon);return Ft.state.restoreFromSnapshot(e),t}function Tfe(){if(!(bt.match.call(void 0,gt.TokenType.bracketL)&&Fit()))return!1;let e=bt.pushTypeContext.call(void 0,0);return Er.expect.call(void 0,gt.TokenType.bracketL),Hi.parseIdentifier.call(void 0),Lg(),Er.expect.call(void 0,gt.TokenType.bracketR),Sg(),Vv(),bt.popTypeContext.call(void 0,e),!0}function gfe(e){bt.eat.call(void 0,gt.TokenType.question),!e&&(bt.match.call(void 0,gt.TokenType.parenL)||bt.match.call(void 0,gt.TokenType.lessThan))?(r8(gt.TokenType.colon),Vv()):(Sg(),Vv())}function jit(){if(bt.match.call(void 0,gt.TokenType.parenL)||bt.match.call(void 0,gt.TokenType.lessThan)){yfe();return}if(bt.match.call(void 0,gt.TokenType._new)){bt.next.call(void 0),bt.match.call(void 0,gt.TokenType.parenL)||bt.match.call(void 0,gt.TokenType.lessThan)?yfe():gfe(!1);return}let e=!!t8([ln.ContextualKeyword._readonly]);Tfe()||((Er.isContextual.call(void 0,ln.ContextualKeyword._get)||Er.isContextual.call(void 0,ln.ContextualKeyword._set))&&Ife(),Hi.parsePropertyName.call(void 0,-1),gfe(e))}function Uit(){vfe()}function vfe(){for(Er.expect.call(void 0,gt.TokenType.braceL);!bt.eat.call(void 0,gt.TokenType.braceR)&&!Ft.state.error;)jit()}function qit(){let e=Ft.state.snapshot(),t=Wit();return Ft.state.restoreFromSnapshot(e),t}function Wit(){return bt.next.call(void 0),bt.eat.call(void 0,gt.TokenType.plus)||bt.eat.call(void 0,gt.TokenType.minus)?Er.isContextual.call(void 0,ln.ContextualKeyword._readonly):(Er.isContextual.call(void 0,ln.ContextualKeyword._readonly)&&bt.next.call(void 0),!bt.match.call(void 0,gt.TokenType.bracketL)||(bt.next.call(void 0),!J3())?!1:(bt.next.call(void 0),bt.match.call(void 0,gt.TokenType._in)))}function Vit(){Hi.parseIdentifier.call(void 0),Er.expect.call(void 0,gt.TokenType._in),_a()}function Kit(){Er.expect.call(void 0,gt.TokenType.braceL),bt.match.call(void 0,gt.TokenType.plus)||bt.match.call(void 0,gt.TokenType.minus)?(bt.next.call(void 0),Er.expectContextual.call(void 0,ln.ContextualKeyword._readonly)):Er.eatContextual.call(void 0,ln.ContextualKeyword._readonly),Er.expect.call(void 0,gt.TokenType.bracketL),Vit(),Er.eatContextual.call(void 0,ln.ContextualKeyword._as)&&_a(),Er.expect.call(void 0,gt.TokenType.bracketR),bt.match.call(void 0,gt.TokenType.plus)||bt.match.call(void 0,gt.TokenType.minus)?(bt.next.call(void 0),Er.expect.call(void 0,gt.TokenType.question)):bt.eat.call(void 0,gt.TokenType.question),ast(),Er.semicolon.call(void 0),Er.expect.call(void 0,gt.TokenType.braceR)}function Git(){for(Er.expect.call(void 0,gt.TokenType.bracketL);!bt.eat.call(void 0,gt.TokenType.bracketR)&&!Ft.state.error;)Xit(),bt.eat.call(void 0,gt.TokenType.comma)}function Xit(){bt.eat.call(void 0,gt.TokenType.ellipsis)?_a():(_a(),bt.eat.call(void 0,gt.TokenType.question)),bt.eat.call(void 0,gt.TokenType.colon)&&_a()}function Zit(){Er.expect.call(void 0,gt.TokenType.parenL),_a(),Er.expect.call(void 0,gt.TokenType.parenR)}function zit(){for(bt.nextTemplateToken.call(void 0),bt.nextTemplateToken.call(void 0);!bt.match.call(void 0,gt.TokenType.backQuote)&&!Ft.state.error;)Er.expect.call(void 0,gt.TokenType.dollarBraceL),_a(),bt.nextTemplateToken.call(void 0),bt.nextTemplateToken.call(void 0);bt.next.call(void 0)}var Td;(function(e){e[e.TSFunctionType=0]="TSFunctionType";let n=1;e[e.TSConstructorType=n]="TSConstructorType";let i=n+1;e[e.TSAbstractConstructorType=i]="TSAbstractConstructorType"})(Td||(Td={}));function z3(e){e===Td.TSAbstractConstructorType&&Er.expectContextual.call(void 0,ln.ContextualKeyword._abstract),(e===Td.TSConstructorType||e===Td.TSAbstractConstructorType)&&Er.expect.call(void 0,gt.TokenType._new);let t=Ft.state.inDisallowConditionalTypesContext;Ft.state.inDisallowConditionalTypesContext=!1,r8(gt.TokenType.arrow),Ft.state.inDisallowConditionalTypesContext=t}function Jit(){switch(Ft.state.type){case gt.TokenType.name:Nit();return;case gt.TokenType._void:case gt.TokenType._null:bt.next.call(void 0);return;case gt.TokenType.string:case gt.TokenType.num:case gt.TokenType.bigint:case gt.TokenType.decimal:case gt.TokenType._true:case gt.TokenType._false:Hi.parseLiteral.call(void 0);return;case gt.TokenType.minus:bt.next.call(void 0),Hi.parseLiteral.call(void 0);return;case gt.TokenType._this:{$it(),Er.isContextual.call(void 0,ln.ContextualKeyword._is)&&!Er.hasPrecedingLineBreak.call(void 0)&&Rit();return}case gt.TokenType._typeof:Mit();return;case gt.TokenType._import:Lfe();return;case gt.TokenType.braceL:qit()?Kit():Uit();return;case gt.TokenType.bracketL:Git();return;case gt.TokenType.parenL:Zit();return;case gt.TokenType.backQuote:zit();return;default:if(Ft.state.type>.TokenType.IS_KEYWORD){bt.next.call(void 0),Ft.state.tokens[Ft.state.tokens.length-1].type=gt.TokenType.name;return}break}Er.unexpected.call(void 0)}function Qit(){for(Jit();!Er.hasPrecedingLineBreak.call(void 0)&&bt.eat.call(void 0,gt.TokenType.bracketL);)bt.eat.call(void 0,gt.TokenType.bracketR)||(_a(),Er.expect.call(void 0,gt.TokenType.bracketR))}function Yit(){if(Er.expectContextual.call(void 0,ln.ContextualKeyword._infer),Hi.parseIdentifier.call(void 0),bt.match.call(void 0,gt.TokenType._extends)){let e=Ft.state.snapshot();Er.expect.call(void 0,gt.TokenType._extends);let t=Ft.state.inDisallowConditionalTypesContext;Ft.state.inDisallowConditionalTypesContext=!0,_a(),Ft.state.inDisallowConditionalTypesContext=t,(Ft.state.error||!Ft.state.inDisallowConditionalTypesContext&&bt.match.call(void 0,gt.TokenType.question))&&Ft.state.restoreFromSnapshot(e)}}function Q3(){if(Er.isContextual.call(void 0,ln.ContextualKeyword._keyof)||Er.isContextual.call(void 0,ln.ContextualKeyword._unique)||Er.isContextual.call(void 0,ln.ContextualKeyword._readonly))bt.next.call(void 0),Q3();else if(Er.isContextual.call(void 0,ln.ContextualKeyword._infer))Yit();else{let e=Ft.state.inDisallowConditionalTypesContext;Ft.state.inDisallowConditionalTypesContext=!1,Qit(),Ft.state.inDisallowConditionalTypesContext=e}}function bfe(){if(bt.eat.call(void 0,gt.TokenType.bitwiseAND),Q3(),bt.match.call(void 0,gt.TokenType.bitwiseAND))for(;bt.eat.call(void 0,gt.TokenType.bitwiseAND);)Q3()}function est(){if(bt.eat.call(void 0,gt.TokenType.bitwiseOR),bfe(),bt.match.call(void 0,gt.TokenType.bitwiseOR))for(;bt.eat.call(void 0,gt.TokenType.bitwiseOR);)bfe()}function tst(){return bt.match.call(void 0,gt.TokenType.lessThan)?!0:bt.match.call(void 0,gt.TokenType.parenL)&&nst()}function rst(){if(bt.match.call(void 0,gt.TokenType.name)||bt.match.call(void 0,gt.TokenType._this))return bt.next.call(void 0),!0;if(bt.match.call(void 0,gt.TokenType.braceL)||bt.match.call(void 0,gt.TokenType.bracketL)){let e=1;for(bt.next.call(void 0);e>0&&!Ft.state.error;)bt.match.call(void 0,gt.TokenType.braceL)||bt.match.call(void 0,gt.TokenType.bracketL)?e++:(bt.match.call(void 0,gt.TokenType.braceR)||bt.match.call(void 0,gt.TokenType.bracketR))&&e--,bt.next.call(void 0);return!0}return!1}function nst(){let e=Ft.state.snapshot(),t=ist();return Ft.state.restoreFromSnapshot(e),t}function ist(){return bt.next.call(void 0),!!(bt.match.call(void 0,gt.TokenType.parenR)||bt.match.call(void 0,gt.TokenType.ellipsis)||rst()&&(bt.match.call(void 0,gt.TokenType.colon)||bt.match.call(void 0,gt.TokenType.comma)||bt.match.call(void 0,gt.TokenType.question)||bt.match.call(void 0,gt.TokenType.eq)||bt.match.call(void 0,gt.TokenType.parenR)&&(bt.next.call(void 0),bt.match.call(void 0,gt.TokenType.arrow))))}function Ag(e){let t=bt.pushTypeContext.call(void 0,0);Er.expect.call(void 0,e),ost()||_a(),bt.popTypeContext.call(void 0,t)}function sst(){bt.match.call(void 0,gt.TokenType.colon)&&Ag(gt.TokenType.colon)}function Sg(){bt.match.call(void 0,gt.TokenType.colon)&&Lg()}wi.tsTryParseTypeAnnotation=Sg;function ast(){bt.eat.call(void 0,gt.TokenType.colon)&&_a()}function ost(){let e=Ft.state.snapshot();return Er.isContextual.call(void 0,ln.ContextualKeyword._asserts)?(bt.next.call(void 0),Er.eatContextual.call(void 0,ln.ContextualKeyword._is)?(_a(),!0):J3()||bt.match.call(void 0,gt.TokenType._this)?(bt.next.call(void 0),Er.eatContextual.call(void 0,ln.ContextualKeyword._is)&&_a(),!0):(Ft.state.restoreFromSnapshot(e),!1)):J3()||bt.match.call(void 0,gt.TokenType._this)?(bt.next.call(void 0),Er.isContextual.call(void 0,ln.ContextualKeyword._is)&&!Er.hasPrecedingLineBreak.call(void 0)?(bt.next.call(void 0),_a(),!0):(Ft.state.restoreFromSnapshot(e),!1)):!1}function Lg(){let e=bt.pushTypeContext.call(void 0,0);Er.expect.call(void 0,gt.TokenType.colon),_a(),bt.popTypeContext.call(void 0,e)}wi.tsParseTypeAnnotation=Lg;function _a(){if(Y3(),Ft.state.inDisallowConditionalTypesContext||Er.hasPrecedingLineBreak.call(void 0)||!bt.eat.call(void 0,gt.TokenType._extends))return;let e=Ft.state.inDisallowConditionalTypesContext;Ft.state.inDisallowConditionalTypesContext=!0,Y3(),Ft.state.inDisallowConditionalTypesContext=e,Er.expect.call(void 0,gt.TokenType.question),_a(),Er.expect.call(void 0,gt.TokenType.colon),_a()}wi.tsParseType=_a;function lst(){return Er.isContextual.call(void 0,ln.ContextualKeyword._abstract)&&bt.lookaheadType.call(void 0)===gt.TokenType._new}function Y3(){if(tst()){z3(Td.TSFunctionType);return}if(bt.match.call(void 0,gt.TokenType._new)){z3(Td.TSConstructorType);return}else if(lst()){z3(Td.TSAbstractConstructorType);return}est()}wi.tsParseNonConditionalType=Y3;function cst(){let e=bt.pushTypeContext.call(void 0,1);_a(),Er.expect.call(void 0,gt.TokenType.greaterThan),bt.popTypeContext.call(void 0,e),Hi.parseMaybeUnary.call(void 0)}wi.tsParseTypeAssertion=cst;function ust(){if(bt.eat.call(void 0,gt.TokenType.jsxTagStart)){Ft.state.tokens[Ft.state.tokens.length-1].type=gt.TokenType.typeParameterStart;let e=bt.pushTypeContext.call(void 0,1);for(;!bt.match.call(void 0,gt.TokenType.greaterThan)&&!Ft.state.error;)_a(),bt.eat.call(void 0,gt.TokenType.comma);wit.nextJSXTagToken.call(void 0),bt.popTypeContext.call(void 0,e)}}wi.tsTryParseJSXTypeArgument=ust;function Cfe(){for(;!bt.match.call(void 0,gt.TokenType.braceL)&&!Ft.state.error;)Hst(),bt.eat.call(void 0,gt.TokenType.comma)}function Hst(){Ig(),bt.match.call(void 0,gt.TokenType.lessThan)&&Fm()}function pst(){Bm.parseBindingIdentifier.call(void 0,!1),Om(),bt.eat.call(void 0,gt.TokenType._extends)&&Cfe(),vfe()}function dst(){Bm.parseBindingIdentifier.call(void 0,!1),Om(),Er.expect.call(void 0,gt.TokenType.eq),_a(),Er.semicolon.call(void 0)}function fst(){if(bt.match.call(void 0,gt.TokenType.string)?Hi.parseLiteral.call(void 0):Hi.parseIdentifier.call(void 0),bt.eat.call(void 0,gt.TokenType.eq)){let e=Ft.state.tokens.length-1;Hi.parseMaybeAssign.call(void 0),Ft.state.tokens[e].rhsEndIndex=Ft.state.tokens.length}}function n8(){for(Bm.parseBindingIdentifier.call(void 0,!1),Er.expect.call(void 0,gt.TokenType.braceL);!bt.eat.call(void 0,gt.TokenType.braceR)&&!Ft.state.error;)fst(),bt.eat.call(void 0,gt.TokenType.comma)}function i8(){Er.expect.call(void 0,gt.TokenType.braceL),lH.parseBlockBody.call(void 0,gt.TokenType.braceR)}function e8(){Bm.parseBindingIdentifier.call(void 0,!1),bt.eat.call(void 0,gt.TokenType.dot)?e8():i8()}function xfe(){Er.isContextual.call(void 0,ln.ContextualKeyword._global)?Hi.parseIdentifier.call(void 0):bt.match.call(void 0,gt.TokenType.string)?Hi.parseExprAtom.call(void 0):Er.unexpected.call(void 0),bt.match.call(void 0,gt.TokenType.braceL)?i8():Er.semicolon.call(void 0)}function Dfe(){Bm.parseImportedIdentifier.call(void 0),Er.expect.call(void 0,gt.TokenType.eq),_st(),Er.semicolon.call(void 0)}wi.tsParseImportEqualsDeclaration=Dfe;function hst(){return Er.isContextual.call(void 0,ln.ContextualKeyword._require)&&bt.lookaheadType.call(void 0)===gt.TokenType.parenL}function _st(){hst()?mst():Ig()}function mst(){Er.expectContextual.call(void 0,ln.ContextualKeyword._require),Er.expect.call(void 0,gt.TokenType.parenL),bt.match.call(void 0,gt.TokenType.string)||Er.unexpected.call(void 0),Hi.parseLiteral.call(void 0),Er.expect.call(void 0,gt.TokenType.parenR)}function Est(){if(Er.isLineTerminator.call(void 0))return!1;switch(Ft.state.type){case gt.TokenType._function:{let e=bt.pushTypeContext.call(void 0,1);bt.next.call(void 0);let t=Ft.state.start;return lH.parseFunction.call(void 0,t,!0),bt.popTypeContext.call(void 0,e),!0}case gt.TokenType._class:{let e=bt.pushTypeContext.call(void 0,1);return lH.parseClass.call(void 0,!0,!1),bt.popTypeContext.call(void 0,e),!0}case gt.TokenType._const:if(bt.match.call(void 0,gt.TokenType._const)&&Er.isLookaheadContextual.call(void 0,ln.ContextualKeyword._enum)){let e=bt.pushTypeContext.call(void 0,1);return Er.expect.call(void 0,gt.TokenType._const),Er.expectContextual.call(void 0,ln.ContextualKeyword._enum),Ft.state.tokens[Ft.state.tokens.length-1].type=gt.TokenType._enum,n8(),bt.popTypeContext.call(void 0,e),!0}case gt.TokenType._var:case gt.TokenType._let:{let e=bt.pushTypeContext.call(void 0,1);return lH.parseVarStatement.call(void 0,Ft.state.type!==gt.TokenType._var),bt.popTypeContext.call(void 0,e),!0}case gt.TokenType.name:{let e=bt.pushTypeContext.call(void 0,1),t=Ft.state.contextualKeyword,n=!1;return t===ln.ContextualKeyword._global?(xfe(),n=!0):n=Gv(t,!0),bt.popTypeContext.call(void 0,e),n}default:return!1}}function Afe(){return Gv(Ft.state.contextualKeyword,!0)}function yst(e){switch(e){case ln.ContextualKeyword._declare:{let t=Ft.state.tokens.length-1;if(Est())return Ft.state.tokens[t].type=gt.TokenType._declare,!0;break}case ln.ContextualKeyword._global:if(bt.match.call(void 0,gt.TokenType.braceL))return i8(),!0;break;default:return Gv(e,!1)}return!1}function Gv(e,t){switch(e){case ln.ContextualKeyword._abstract:if(Mm(t)&&bt.match.call(void 0,gt.TokenType._class))return Ft.state.tokens[Ft.state.tokens.length-1].type=gt.TokenType._abstract,lH.parseClass.call(void 0,!0,!1),!0;break;case ln.ContextualKeyword._enum:if(Mm(t)&&bt.match.call(void 0,gt.TokenType.name))return Ft.state.tokens[Ft.state.tokens.length-1].type=gt.TokenType._enum,n8(),!0;break;case ln.ContextualKeyword._interface:if(Mm(t)&&bt.match.call(void 0,gt.TokenType.name)){let n=bt.pushTypeContext.call(void 0,t?2:1);return pst(),bt.popTypeContext.call(void 0,n),!0}break;case ln.ContextualKeyword._module:if(Mm(t)){if(bt.match.call(void 0,gt.TokenType.string)){let n=bt.pushTypeContext.call(void 0,t?2:1);return xfe(),bt.popTypeContext.call(void 0,n),!0}else if(bt.match.call(void 0,gt.TokenType.name)){let n=bt.pushTypeContext.call(void 0,t?2:1);return e8(),bt.popTypeContext.call(void 0,n),!0}}break;case ln.ContextualKeyword._namespace:if(Mm(t)&&bt.match.call(void 0,gt.TokenType.name)){let n=bt.pushTypeContext.call(void 0,t?2:1);return e8(),bt.popTypeContext.call(void 0,n),!0}break;case ln.ContextualKeyword._type:if(Mm(t)&&bt.match.call(void 0,gt.TokenType.name)){let n=bt.pushTypeContext.call(void 0,t?2:1);return dst(),bt.popTypeContext.call(void 0,n),!0}break;default:break}return!1}function Mm(e){return e?(bt.next.call(void 0),!0):!Er.isLineTerminator.call(void 0)}function gst(){let e=Ft.state.snapshot();return Kv(),lH.parseFunctionParams.call(void 0),sst(),Er.expect.call(void 0,gt.TokenType.arrow),Ft.state.error?(Ft.state.restoreFromSnapshot(e),!1):(Hi.parseFunctionBody.call(void 0,!0),!0)}function s8(){Ft.state.type===gt.TokenType.bitShiftL&&(Ft.state.pos-=1,bt.finishToken.call(void 0,gt.TokenType.lessThan)),Fm()}function Fm(){let e=bt.pushTypeContext.call(void 0,0);for(Er.expect.call(void 0,gt.TokenType.lessThan);!bt.match.call(void 0,gt.TokenType.greaterThan)&&!Ft.state.error;)_a(),bt.eat.call(void 0,gt.TokenType.comma);e?(Er.expect.call(void 0,gt.TokenType.greaterThan),bt.popTypeContext.call(void 0,e)):(bt.popTypeContext.call(void 0,e),bt.rescan_gt.call(void 0),Er.expect.call(void 0,gt.TokenType.greaterThan),Ft.state.tokens[Ft.state.tokens.length-1].isType=!0)}function bst(){if(bt.match.call(void 0,gt.TokenType.name))switch(Ft.state.contextualKeyword){case ln.ContextualKeyword._abstract:case ln.ContextualKeyword._declare:case ln.ContextualKeyword._enum:case ln.ContextualKeyword._interface:case ln.ContextualKeyword._module:case ln.ContextualKeyword._namespace:case ln.ContextualKeyword._type:return!0;default:break}return!1}wi.tsIsDeclarationStart=bst;function Ast(e,t){if(bt.match.call(void 0,gt.TokenType.colon)&&Ag(gt.TokenType.colon),!bt.match.call(void 0,gt.TokenType.braceL)&&Er.isLineTerminator.call(void 0)){let n=Ft.state.tokens.length-1;for(;n>=0&&(Ft.state.tokens[n].start>=e||Ft.state.tokens[n].type===gt.TokenType._default||Ft.state.tokens[n].type===gt.TokenType._export);)Ft.state.tokens[n].isType=!0,n--;return}Hi.parseFunctionBody.call(void 0,!1,t)}wi.tsParseFunctionBodyAndFinish=Ast;function Ist(e,t,n){if(!Er.hasPrecedingLineBreak.call(void 0)&&bt.eat.call(void 0,gt.TokenType.bang)){Ft.state.tokens[Ft.state.tokens.length-1].type=gt.TokenType.nonNullAssertion;return}if(bt.match.call(void 0,gt.TokenType.lessThan)||bt.match.call(void 0,gt.TokenType.bitShiftL)){let i=Ft.state.snapshot();if(!t&&Hi.atPossibleAsync.call(void 0)&&gst())return;if(s8(),!t&&bt.eat.call(void 0,gt.TokenType.parenL)?(Ft.state.tokens[Ft.state.tokens.length-1].subscriptStartIndex=e,Hi.parseCallExpressionArguments.call(void 0)):bt.match.call(void 0,gt.TokenType.backQuote)?Hi.parseTemplate.call(void 0):(Ft.state.type===gt.TokenType.greaterThan||Ft.state.type!==gt.TokenType.parenL&&Ft.state.type>.TokenType.IS_EXPRESSION_START&&!Er.hasPrecedingLineBreak.call(void 0))&&Er.unexpected.call(void 0),Ft.state.error)Ft.state.restoreFromSnapshot(i);else return}else!t&&bt.match.call(void 0,gt.TokenType.questionDot)&&bt.lookaheadType.call(void 0)===gt.TokenType.lessThan&&(bt.next.call(void 0),Ft.state.tokens[e].isOptionalChainStart=!0,Ft.state.tokens[Ft.state.tokens.length-1].subscriptStartIndex=e,Fm(),Er.expect.call(void 0,gt.TokenType.parenL),Hi.parseCallExpressionArguments.call(void 0));Hi.baseParseSubscript.call(void 0,e,t,n)}wi.tsParseSubscript=Ist;function Sst(){if(bt.eat.call(void 0,gt.TokenType._import))return Er.isContextual.call(void 0,ln.ContextualKeyword._type)&&bt.lookaheadType.call(void 0)!==gt.TokenType.eq&&Er.expectContextual.call(void 0,ln.ContextualKeyword._type),Dfe(),!0;if(bt.eat.call(void 0,gt.TokenType.eq))return Hi.parseExpression.call(void 0),Er.semicolon.call(void 0),!0;if(Er.eatContextual.call(void 0,ln.ContextualKeyword._as))return Er.expectContextual.call(void 0,ln.ContextualKeyword._namespace),Hi.parseIdentifier.call(void 0),Er.semicolon.call(void 0),!0;if(Er.isContextual.call(void 0,ln.ContextualKeyword._type)){let e=bt.lookaheadType.call(void 0);(e===gt.TokenType.braceL||e===gt.TokenType.star)&&bt.next.call(void 0)}return!1}wi.tsTryParseExport=Sst;function Lst(){if(Hi.parseIdentifier.call(void 0),bt.match.call(void 0,gt.TokenType.comma)||bt.match.call(void 0,gt.TokenType.braceR)){Ft.state.tokens[Ft.state.tokens.length-1].identifierRole=bt.IdentifierRole.ImportDeclaration;return}if(Hi.parseIdentifier.call(void 0),bt.match.call(void 0,gt.TokenType.comma)||bt.match.call(void 0,gt.TokenType.braceR)){Ft.state.tokens[Ft.state.tokens.length-1].identifierRole=bt.IdentifierRole.ImportDeclaration,Ft.state.tokens[Ft.state.tokens.length-2].isType=!0,Ft.state.tokens[Ft.state.tokens.length-1].isType=!0;return}if(Hi.parseIdentifier.call(void 0),bt.match.call(void 0,gt.TokenType.comma)||bt.match.call(void 0,gt.TokenType.braceR)){Ft.state.tokens[Ft.state.tokens.length-3].identifierRole=bt.IdentifierRole.ImportAccess,Ft.state.tokens[Ft.state.tokens.length-1].identifierRole=bt.IdentifierRole.ImportDeclaration;return}Hi.parseIdentifier.call(void 0),Ft.state.tokens[Ft.state.tokens.length-3].identifierRole=bt.IdentifierRole.ImportAccess,Ft.state.tokens[Ft.state.tokens.length-1].identifierRole=bt.IdentifierRole.ImportDeclaration,Ft.state.tokens[Ft.state.tokens.length-4].isType=!0,Ft.state.tokens[Ft.state.tokens.length-3].isType=!0,Ft.state.tokens[Ft.state.tokens.length-2].isType=!0,Ft.state.tokens[Ft.state.tokens.length-1].isType=!0}wi.tsParseImportSpecifier=Lst;function Tst(){if(Hi.parseIdentifier.call(void 0),bt.match.call(void 0,gt.TokenType.comma)||bt.match.call(void 0,gt.TokenType.braceR)){Ft.state.tokens[Ft.state.tokens.length-1].identifierRole=bt.IdentifierRole.ExportAccess;return}if(Hi.parseIdentifier.call(void 0),bt.match.call(void 0,gt.TokenType.comma)||bt.match.call(void 0,gt.TokenType.braceR)){Ft.state.tokens[Ft.state.tokens.length-1].identifierRole=bt.IdentifierRole.ExportAccess,Ft.state.tokens[Ft.state.tokens.length-2].isType=!0,Ft.state.tokens[Ft.state.tokens.length-1].isType=!0;return}if(Hi.parseIdentifier.call(void 0),bt.match.call(void 0,gt.TokenType.comma)||bt.match.call(void 0,gt.TokenType.braceR)){Ft.state.tokens[Ft.state.tokens.length-3].identifierRole=bt.IdentifierRole.ExportAccess;return}Hi.parseIdentifier.call(void 0),Ft.state.tokens[Ft.state.tokens.length-3].identifierRole=bt.IdentifierRole.ExportAccess,Ft.state.tokens[Ft.state.tokens.length-4].isType=!0,Ft.state.tokens[Ft.state.tokens.length-3].isType=!0,Ft.state.tokens[Ft.state.tokens.length-2].isType=!0,Ft.state.tokens[Ft.state.tokens.length-1].isType=!0}wi.tsParseExportSpecifier=Tst;function vst(){if(Er.isContextual.call(void 0,ln.ContextualKeyword._abstract)&&bt.lookaheadType.call(void 0)===gt.TokenType._class)return Ft.state.type=gt.TokenType._abstract,bt.next.call(void 0),lH.parseClass.call(void 0,!0,!0),!0;if(Er.isContextual.call(void 0,ln.ContextualKeyword._interface)){let e=bt.pushTypeContext.call(void 0,2);return Gv(ln.ContextualKeyword._interface,!0),bt.popTypeContext.call(void 0,e),!0}return!1}wi.tsTryParseExportDefaultExpression=vst;function Cst(){if(Ft.state.type===gt.TokenType._const){let e=bt.lookaheadTypeAndKeyword.call(void 0);if(e.type===gt.TokenType.name&&e.contextualKeyword===ln.ContextualKeyword._enum)return Er.expect.call(void 0,gt.TokenType._const),Er.expectContextual.call(void 0,ln.ContextualKeyword._enum),Ft.state.tokens[Ft.state.tokens.length-1].type=gt.TokenType._enum,n8(),!0}return!1}wi.tsTryParseStatementContent=Cst;function xst(e){let t=Ft.state.tokens.length;Sfe([ln.ContextualKeyword._abstract,ln.ContextualKeyword._readonly,ln.ContextualKeyword._declare,ln.ContextualKeyword._static,ln.ContextualKeyword._override]);let n=Ft.state.tokens.length;if(Tfe()){let o=e?t-1:t;for(let r=o;r<n;r++)Ft.state.tokens[r].isType=!0;return!0}return!1}wi.tsTryParseClassMemberWithIsStatic=xst;function Dst(e){yst(e)||Er.semicolon.call(void 0)}wi.tsParseIdentifierStatement=Dst;function Pst(){let e=Er.eatContextual.call(void 0,ln.ContextualKeyword._declare);e&&(Ft.state.tokens[Ft.state.tokens.length-1].type=gt.TokenType._declare);let t=!1;if(bt.match.call(void 0,gt.TokenType.name))if(e){let n=bt.pushTypeContext.call(void 0,2);t=Afe(),bt.popTypeContext.call(void 0,n)}else t=Afe();if(!t)if(e){let n=bt.pushTypeContext.call(void 0,2);lH.parseStatement.call(void 0,!0),bt.popTypeContext.call(void 0,n)}else lH.parseStatement.call(void 0,!0)}wi.tsParseExportDeclaration=Pst;function wst(e){if(e&&(bt.match.call(void 0,gt.TokenType.lessThan)||bt.match.call(void 0,gt.TokenType.bitShiftL))&&s8(),Er.eatContextual.call(void 0,ln.ContextualKeyword._implements)){Ft.state.tokens[Ft.state.tokens.length-1].type=gt.TokenType._implements;let t=bt.pushTypeContext.call(void 0,1);Cfe(),bt.popTypeContext.call(void 0,t)}}wi.tsAfterParseClassSuper=wst;function kst(){Om()}wi.tsStartParseObjPropValue=kst;function Nst(){Om()}wi.tsStartParseFunctionParams=Nst;function Rst(){let e=bt.pushTypeContext.call(void 0,0);Er.hasPrecedingLineBreak.call(void 0)||bt.eat.call(void 0,gt.TokenType.bang),Sg(),bt.popTypeContext.call(void 0,e)}wi.tsAfterParseVarHead=Rst;function $st(){bt.match.call(void 0,gt.TokenType.colon)&&Lg()}wi.tsStartParseAsyncArrowFromCallExpression=$st;function Mst(e,t){return Ft.isJSXEnabled?Pfe(e,t):wfe(e,t)}wi.tsParseMaybeAssign=Mst;function Pfe(e,t){if(!bt.match.call(void 0,gt.TokenType.lessThan))return Hi.baseParseMaybeAssign.call(void 0,e,t);let n=Ft.state.snapshot(),i=Hi.baseParseMaybeAssign.call(void 0,e,t);if(Ft.state.error)Ft.state.restoreFromSnapshot(n);else return i;return Ft.state.type=gt.TokenType.typeParameterStart,Kv(),i=Hi.baseParseMaybeAssign.call(void 0,e,t),i||Er.unexpected.call(void 0),i}wi.tsParseMaybeAssignWithJSX=Pfe;function wfe(e,t){if(!bt.match.call(void 0,gt.TokenType.lessThan))return Hi.baseParseMaybeAssign.call(void 0,e,t);let n=Ft.state.snapshot();Kv();let i=Hi.baseParseMaybeAssign.call(void 0,e,t);if(i||Er.unexpected.call(void 0),Ft.state.error)Ft.state.restoreFromSnapshot(n);else return i;return Hi.baseParseMaybeAssign.call(void 0,e,t)}wi.tsParseMaybeAssignWithoutJSX=wfe;function Bst(){if(bt.match.call(void 0,gt.TokenType.colon)){let e=Ft.state.snapshot();Ag(gt.TokenType.colon),Er.canInsertSemicolon.call(void 0)&&Er.unexpected.call(void 0),bt.match.call(void 0,gt.TokenType.arrow)||Er.unexpected.call(void 0),Ft.state.error&&Ft.state.restoreFromSnapshot(e)}return bt.eat.call(void 0,gt.TokenType.arrow)}wi.tsParseArrow=Bst;function Ost(){let e=bt.pushTypeContext.call(void 0,0);bt.eat.call(void 0,gt.TokenType.question),Sg(),bt.popTypeContext.call(void 0,e)}wi.tsParseAssignableListItemTypes=Ost;function Fst(){(bt.match.call(void 0,gt.TokenType.lessThan)||bt.match.call(void 0,gt.TokenType.bitShiftL))&&s8(),lH.baseParseMaybeDecoratorArguments.call(void 0)}wi.tsParseMaybeDecoratorArguments=Fst});var a8=Le(Zv=>{"use strict";Object.defineProperty(Zv,"__esModule",{value:!0});var gi=io(),Bi=_i(),wn=Zl(),Xv=eh(),vd=Id(),Ca=Xl(),kfe=wm(),jst=$m();function Ust(){let e=!1,t=!1;for(;;){if(wn.state.pos>=wn.input.length){vd.unexpected.call(void 0,"Unterminated JSX contents");return}let n=wn.input.charCodeAt(wn.state.pos);if(n===Ca.charCodes.lessThan||n===Ca.charCodes.leftCurlyBrace){if(wn.state.pos===wn.state.start){if(n===Ca.charCodes.lessThan){wn.state.pos++,gi.finishToken.call(void 0,Bi.TokenType.jsxTagStart);return}gi.getTokenFromCode.call(void 0,n);return}e&&!t?gi.finishToken.call(void 0,Bi.TokenType.jsxEmptyText):gi.finishToken.call(void 0,Bi.TokenType.jsxText);return}n===Ca.charCodes.lineFeed?e=!0:n!==Ca.charCodes.space&&n!==Ca.charCodes.carriageReturn&&n!==Ca.charCodes.tab&&(t=!0),wn.state.pos++}}function qst(e){for(wn.state.pos++;;){if(wn.state.pos>=wn.input.length){vd.unexpected.call(void 0,"Unterminated string constant");return}if(wn.input.charCodeAt(wn.state.pos)===e){wn.state.pos++;break}wn.state.pos++}gi.finishToken.call(void 0,Bi.TokenType.string)}function Wst(){let e;do{if(wn.state.pos>wn.input.length){vd.unexpected.call(void 0,"Unexpectedly reached the end of input.");return}e=wn.input.charCodeAt(++wn.state.pos)}while(kfe.IS_IDENTIFIER_CHAR[e]||e===Ca.charCodes.dash);gi.finishToken.call(void 0,Bi.TokenType.jsxName)}function o8(){Pc()}function Nfe(e){if(o8(),!gi.eat.call(void 0,Bi.TokenType.colon)){wn.state.tokens[wn.state.tokens.length-1].identifierRole=e;return}o8()}function Rfe(){let e=wn.state.tokens.length;Nfe(gi.IdentifierRole.Access);let t=!1;for(;gi.match.call(void 0,Bi.TokenType.dot);)t=!0,Pc(),o8();if(!t){let n=wn.state.tokens[e],i=wn.input.charCodeAt(n.start);i>=Ca.charCodes.lowercaseA&&i<=Ca.charCodes.lowercaseZ&&(n.identifierRole=null)}}function Vst(){switch(wn.state.type){case Bi.TokenType.braceL:gi.next.call(void 0),Xv.parseExpression.call(void 0),Pc();return;case Bi.TokenType.jsxTagStart:Mfe(),Pc();return;case Bi.TokenType.string:Pc();return;default:vd.unexpected.call(void 0,"JSX value should be either an expression or a quoted JSX text")}}function Kst(){vd.expect.call(void 0,Bi.TokenType.ellipsis),Xv.parseExpression.call(void 0)}function Gst(e){if(gi.match.call(void 0,Bi.TokenType.jsxTagEnd))return!1;Rfe(),wn.isTypeScriptEnabled&&jst.tsTryParseJSXTypeArgument.call(void 0);let t=!1;for(;!gi.match.call(void 0,Bi.TokenType.slash)&&!gi.match.call(void 0,Bi.TokenType.jsxTagEnd)&&!wn.state.error;){if(gi.eat.call(void 0,Bi.TokenType.braceL)){t=!0,vd.expect.call(void 0,Bi.TokenType.ellipsis),Xv.parseMaybeAssign.call(void 0),Pc();continue}t&&wn.state.end-wn.state.start===3&&wn.input.charCodeAt(wn.state.start)===Ca.charCodes.lowercaseK&&wn.input.charCodeAt(wn.state.start+1)===Ca.charCodes.lowercaseE&&wn.input.charCodeAt(wn.state.start+2)===Ca.charCodes.lowercaseY&&(wn.state.tokens[e].jsxRole=gi.JSXRole.KeyAfterPropSpread),Nfe(gi.IdentifierRole.ObjectKey),gi.match.call(void 0,Bi.TokenType.eq)&&(Pc(),Vst())}let n=gi.match.call(void 0,Bi.TokenType.slash);return n&&Pc(),n}function Xst(){gi.match.call(void 0,Bi.TokenType.jsxTagEnd)||Rfe()}function $fe(){let e=wn.state.tokens.length-1;wn.state.tokens[e].jsxRole=gi.JSXRole.NoChildren;let t=0;if(!Gst(e))for(jm();;)switch(wn.state.type){case Bi.TokenType.jsxTagStart:if(Pc(),gi.match.call(void 0,Bi.TokenType.slash)){Pc(),Xst(),wn.state.tokens[e].jsxRole!==gi.JSXRole.KeyAfterPropSpread&&(t===1?wn.state.tokens[e].jsxRole=gi.JSXRole.OneChild:t>1&&(wn.state.tokens[e].jsxRole=gi.JSXRole.StaticChildren));return}t++,$fe(),jm();break;case Bi.TokenType.jsxText:t++,jm();break;case Bi.TokenType.jsxEmptyText:jm();break;case Bi.TokenType.braceL:gi.next.call(void 0),gi.match.call(void 0,Bi.TokenType.ellipsis)?(Kst(),jm(),t+=2):(gi.match.call(void 0,Bi.TokenType.braceR)||(t++,Xv.parseExpression.call(void 0)),jm());break;default:vd.unexpected.call(void 0);return}}function Mfe(){Pc(),$fe()}Zv.jsxParseElement=Mfe;function Pc(){wn.state.tokens.push(new gi.Token),gi.skipSpace.call(void 0),wn.state.start=wn.state.pos;let e=wn.input.charCodeAt(wn.state.pos);if(kfe.IS_IDENTIFIER_START[e])Wst();else if(e===Ca.charCodes.quotationMark||e===Ca.charCodes.apostrophe)qst(e);else switch(++wn.state.pos,e){case Ca.charCodes.greaterThan:gi.finishToken.call(void 0,Bi.TokenType.jsxTagEnd);break;case Ca.charCodes.lessThan:gi.finishToken.call(void 0,Bi.TokenType.jsxTagStart);break;case Ca.charCodes.slash:gi.finishToken.call(void 0,Bi.TokenType.slash);break;case Ca.charCodes.equalsTo:gi.finishToken.call(void 0,Bi.TokenType.eq);break;case Ca.charCodes.leftCurlyBrace:gi.finishToken.call(void 0,Bi.TokenType.braceL);break;case Ca.charCodes.dot:gi.finishToken.call(void 0,Bi.TokenType.dot);break;case Ca.charCodes.colon:gi.finishToken.call(void 0,Bi.TokenType.colon);break;default:vd.unexpected.call(void 0)}}Zv.nextJSXTagToken=Pc;function jm(){wn.state.tokens.push(new gi.Token),wn.state.start=wn.state.pos,Ust()}});var Ofe=Le(Jv=>{"use strict";Object.defineProperty(Jv,"__esModule",{value:!0});var zv=io(),Um=_i(),Bfe=Zl(),Zst=eh(),zst=bg(),Jst=$m();function Qst(e){if(zv.match.call(void 0,Um.TokenType.question)){let t=zv.lookaheadType.call(void 0);if(t===Um.TokenType.colon||t===Um.TokenType.comma||t===Um.TokenType.parenR)return}Zst.baseParseConditional.call(void 0,e)}Jv.typedParseConditional=Qst;function Yst(){zv.eatTypeToken.call(void 0,Um.TokenType.question),zv.match.call(void 0,Um.TokenType.colon)&&(Bfe.isTypeScriptEnabled?Jst.tsParseTypeAnnotation.call(void 0):Bfe.isFlowEnabled&&zst.flowParseTypeAnnotation.call(void 0))}Jv.typedParseParenItem=Yst});var eh=Le(ta=>{"use strict";Object.defineProperty(ta,"__esModule",{value:!0});var ap=bg(),eat=a8(),Ffe=Ofe(),xd=$m(),pr=io(),ip=_o(),jfe=Sv(),tr=_i(),Ufe=Xl(),tat=wm(),rr=Zl(),Cd=Wv(),fu=Tg(),Ai=Id(),eC=class{constructor(t){this.stop=t}};ta.StopState=eC;function vg(e=!1){if(wc(e),pr.match.call(void 0,tr.TokenType.comma))for(;pr.eat.call(void 0,tr.TokenType.comma);)wc(e)}ta.parseExpression=vg;function wc(e=!1,t=!1){return rr.isTypeScriptEnabled?xd.tsParseMaybeAssign.call(void 0,e,t):rr.isFlowEnabled?ap.flowParseMaybeAssign.call(void 0,e,t):qfe(e,t)}ta.parseMaybeAssign=wc;function qfe(e,t){if(pr.match.call(void 0,tr.TokenType._yield))return Eat(),!1;(pr.match.call(void 0,tr.TokenType.parenL)||pr.match.call(void 0,tr.TokenType.name)||pr.match.call(void 0,tr.TokenType._yield))&&(rr.state.potentialArrowAt=rr.state.start);let n=rat(e);return t&&p8(),rr.state.type&tr.TokenType.IS_ASSIGN?(pr.next.call(void 0),wc(e),!1):n}ta.baseParseMaybeAssign=qfe;function rat(e){return iat(e)?!0:(nat(e),!1)}function nat(e){rr.isTypeScriptEnabled||rr.isFlowEnabled?Ffe.typedParseConditional.call(void 0,e):Wfe(e)}function Wfe(e){pr.eat.call(void 0,tr.TokenType.question)&&(wc(),Ai.expect.call(void 0,tr.TokenType.colon),wc(e))}ta.baseParseConditional=Wfe;function iat(e){let t=rr.state.tokens.length;return xg()?!0:(Qv(t,-1,e),!1)}function Qv(e,t,n){if(rr.isTypeScriptEnabled&&(tr.TokenType._in&tr.TokenType.PRECEDENCE_MASK)>t&&!Ai.hasPrecedingLineBreak.call(void 0)&&(Ai.eatContextual.call(void 0,ip.ContextualKeyword._as)||Ai.eatContextual.call(void 0,ip.ContextualKeyword._satisfies))){let o=pr.pushTypeContext.call(void 0,1);xd.tsParseType.call(void 0),pr.popTypeContext.call(void 0,o),pr.rescan_gt.call(void 0),Qv(e,t,n);return}let i=rr.state.type&tr.TokenType.PRECEDENCE_MASK;if(i>0&&(!n||!pr.match.call(void 0,tr.TokenType._in))&&i>t){let o=rr.state.type;pr.next.call(void 0),o===tr.TokenType.nullishCoalescing&&(rr.state.tokens[rr.state.tokens.length-1].nullishStartIndex=e);let r=rr.state.tokens.length;xg(),Qv(r,o&tr.TokenType.IS_RIGHT_ASSOCIATIVE?i-1:i,n),o===tr.TokenType.nullishCoalescing&&(rr.state.tokens[e].numNullishCoalesceStarts++,rr.state.tokens[rr.state.tokens.length-1].numNullishCoalesceEnds++),Qv(e,t,n)}}function xg(){if(rr.isTypeScriptEnabled&&!rr.isJSXEnabled&&pr.eat.call(void 0,tr.TokenType.lessThan))return xd.tsParseTypeAssertion.call(void 0),!1;if(Ai.isContextual.call(void 0,ip.ContextualKeyword._module)&&pr.lookaheadCharCode.call(void 0)===Ufe.charCodes.leftCurlyBrace&&!Ai.hasFollowingLineBreak.call(void 0))return yat(),!1;if(rr.state.type&tr.TokenType.IS_PREFIX)return pr.next.call(void 0),xg(),!1;if(Vfe())return!0;for(;rr.state.type&tr.TokenType.IS_POSTFIX&&!Ai.canInsertSemicolon.call(void 0);)rr.state.type===tr.TokenType.preIncDec&&(rr.state.type=tr.TokenType.postIncDec),pr.next.call(void 0);return!1}ta.parseMaybeUnary=xg;function Vfe(){let e=rr.state.tokens.length;return nC()?!0:(u8(e),rr.state.tokens.length>e&&rr.state.tokens[e].isOptionalChainStart&&(rr.state.tokens[rr.state.tokens.length-1].isOptionalChainEnd=!0),!1)}ta.parseExprSubscripts=Vfe;function u8(e,t=!1){rr.isFlowEnabled?ap.flowParseSubscripts.call(void 0,e,t):Kfe(e,t)}function Kfe(e,t=!1){let n=new eC(!1);do sat(e,t,n);while(!n.stop&&!rr.state.error)}ta.baseParseSubscripts=Kfe;function sat(e,t,n){rr.isTypeScriptEnabled?xd.tsParseSubscript.call(void 0,e,t,n):rr.isFlowEnabled?ap.flowParseSubscript.call(void 0,e,t,n):Gfe(e,t,n)}function Gfe(e,t,n){if(!t&&pr.eat.call(void 0,tr.TokenType.doubleColon))H8(),n.stop=!0,u8(e,t);else if(pr.match.call(void 0,tr.TokenType.questionDot)){if(rr.state.tokens[e].isOptionalChainStart=!0,t&&pr.lookaheadType.call(void 0)===tr.TokenType.parenL){n.stop=!0;return}pr.next.call(void 0),rr.state.tokens[rr.state.tokens.length-1].subscriptStartIndex=e,pr.eat.call(void 0,tr.TokenType.bracketL)?(vg(),Ai.expect.call(void 0,tr.TokenType.bracketR)):pr.eat.call(void 0,tr.TokenType.parenL)?Yv():tC()}else if(pr.eat.call(void 0,tr.TokenType.dot))rr.state.tokens[rr.state.tokens.length-1].subscriptStartIndex=e,tC();else if(pr.eat.call(void 0,tr.TokenType.bracketL))rr.state.tokens[rr.state.tokens.length-1].subscriptStartIndex=e,vg(),Ai.expect.call(void 0,tr.TokenType.bracketR);else if(!t&&pr.match.call(void 0,tr.TokenType.parenL))if(Xfe()){let i=rr.state.snapshot(),o=rr.state.tokens.length;pr.next.call(void 0),rr.state.tokens[rr.state.tokens.length-1].subscriptStartIndex=e;let r=rr.getNextContextId.call(void 0);rr.state.tokens[rr.state.tokens.length-1].contextId=r,Yv(),rr.state.tokens[rr.state.tokens.length-1].contextId=r,aat()&&(rr.state.restoreFromSnapshot(i),n.stop=!0,rr.state.scopeDepth++,fu.parseFunctionParams.call(void 0),oat(o))}else{pr.next.call(void 0),rr.state.tokens[rr.state.tokens.length-1].subscriptStartIndex=e;let i=rr.getNextContextId.call(void 0);rr.state.tokens[rr.state.tokens.length-1].contextId=i,Yv(),rr.state.tokens[rr.state.tokens.length-1].contextId=i}else pr.match.call(void 0,tr.TokenType.backQuote)?d8():n.stop=!0}ta.baseParseSubscript=Gfe;function Xfe(){return rr.state.tokens[rr.state.tokens.length-1].contextualKeyword===ip.ContextualKeyword._async&&!Ai.canInsertSemicolon.call(void 0)}ta.atPossibleAsync=Xfe;function Yv(){let e=!0;for(;!pr.eat.call(void 0,tr.TokenType.parenR)&&!rr.state.error;){if(e)e=!1;else if(Ai.expect.call(void 0,tr.TokenType.comma),pr.eat.call(void 0,tr.TokenType.parenR))break;ehe(!1)}}ta.parseCallExpressionArguments=Yv;function aat(){return pr.match.call(void 0,tr.TokenType.colon)||pr.match.call(void 0,tr.TokenType.arrow)}function oat(e){rr.isTypeScriptEnabled?xd.tsStartParseAsyncArrowFromCallExpression.call(void 0):rr.isFlowEnabled&&ap.flowStartParseAsyncArrowFromCallExpression.call(void 0),Ai.expect.call(void 0,tr.TokenType.arrow),Cg(e)}function H8(){let e=rr.state.tokens.length;nC(),u8(e,!0)}function nC(){if(pr.eat.call(void 0,tr.TokenType.modulo))return sp(),!1;if(pr.match.call(void 0,tr.TokenType.jsxText)||pr.match.call(void 0,tr.TokenType.jsxEmptyText))return Zfe(),!1;if(pr.match.call(void 0,tr.TokenType.lessThan)&&rr.isJSXEnabled)return rr.state.type=tr.TokenType.jsxTagStart,eat.jsxParseElement.call(void 0),pr.next.call(void 0),!1;let e=rr.state.potentialArrowAt===rr.state.start;switch(rr.state.type){case tr.TokenType.slash:case tr.TokenType.assign:pr.retokenizeSlashAsRegex.call(void 0);case tr.TokenType._super:case tr.TokenType._this:case tr.TokenType.regexp:case tr.TokenType.num:case tr.TokenType.bigint:case tr.TokenType.decimal:case tr.TokenType.string:case tr.TokenType._null:case tr.TokenType._true:case tr.TokenType._false:return pr.next.call(void 0),!1;case tr.TokenType._import:return pr.next.call(void 0),pr.match.call(void 0,tr.TokenType.dot)&&(rr.state.tokens[rr.state.tokens.length-1].type=tr.TokenType.name,pr.next.call(void 0),sp()),!1;case tr.TokenType.name:{let t=rr.state.tokens.length,n=rr.state.start,i=rr.state.contextualKeyword;return sp(),i===ip.ContextualKeyword._await?(mat(),!1):i===ip.ContextualKeyword._async&&pr.match.call(void 0,tr.TokenType._function)&&!Ai.canInsertSemicolon.call(void 0)?(pr.next.call(void 0),fu.parseFunction.call(void 0,n,!1),!1):e&&i===ip.ContextualKeyword._async&&!Ai.canInsertSemicolon.call(void 0)&&pr.match.call(void 0,tr.TokenType.name)?(rr.state.scopeDepth++,Cd.parseBindingIdentifier.call(void 0,!1),Ai.expect.call(void 0,tr.TokenType.arrow),Cg(t),!0):pr.match.call(void 0,tr.TokenType._do)&&!Ai.canInsertSemicolon.call(void 0)?(pr.next.call(void 0),fu.parseBlock.call(void 0),!1):e&&!Ai.canInsertSemicolon.call(void 0)&&pr.match.call(void 0,tr.TokenType.arrow)?(rr.state.scopeDepth++,Cd.markPriorBindingIdentifier.call(void 0,!1),Ai.expect.call(void 0,tr.TokenType.arrow),Cg(t),!0):(rr.state.tokens[rr.state.tokens.length-1].identifierRole=pr.IdentifierRole.Access,!1)}case tr.TokenType._do:return pr.next.call(void 0),fu.parseBlock.call(void 0),!1;case tr.TokenType.parenL:return zfe(e);case tr.TokenType.bracketL:return pr.next.call(void 0),Yfe(tr.TokenType.bracketR,!0),!1;case tr.TokenType.braceL:return Jfe(!1,!1),!1;case tr.TokenType._function:return lat(),!1;case tr.TokenType.at:fu.parseDecorators.call(void 0);case tr.TokenType._class:return fu.parseClass.call(void 0,!1),!1;case tr.TokenType._new:return Hat(),!1;case tr.TokenType.backQuote:return d8(),!1;case tr.TokenType.doubleColon:return pr.next.call(void 0),H8(),!1;case tr.TokenType.hash:{let t=pr.lookaheadCharCode.call(void 0);return tat.IS_IDENTIFIER_START[t]||t===Ufe.charCodes.backslash?tC():pr.next.call(void 0),!1}default:return Ai.unexpected.call(void 0),!1}}ta.parseExprAtom=nC;function tC(){pr.eat.call(void 0,tr.TokenType.hash),sp()}function lat(){let e=rr.state.start;sp(),pr.eat.call(void 0,tr.TokenType.dot)&&sp(),fu.parseFunction.call(void 0,e,!1)}function Zfe(){pr.next.call(void 0)}ta.parseLiteral=Zfe;function cat(){Ai.expect.call(void 0,tr.TokenType.parenL),vg(),Ai.expect.call(void 0,tr.TokenType.parenR)}ta.parseParenExpression=cat;function zfe(e){let t=rr.state.snapshot(),n=rr.state.tokens.length;Ai.expect.call(void 0,tr.TokenType.parenL);let i=!0;for(;!pr.match.call(void 0,tr.TokenType.parenR)&&!rr.state.error;){if(i)i=!1;else if(Ai.expect.call(void 0,tr.TokenType.comma),pr.match.call(void 0,tr.TokenType.parenR))break;if(pr.match.call(void 0,tr.TokenType.ellipsis)){Cd.parseRest.call(void 0,!1),p8();break}else wc(!1,!0)}return Ai.expect.call(void 0,tr.TokenType.parenR),e&&uat()&&l8()?(rr.state.restoreFromSnapshot(t),rr.state.scopeDepth++,fu.parseFunctionParams.call(void 0),l8(),Cg(n),rr.state.error?(rr.state.restoreFromSnapshot(t),zfe(!1),!1):!0):!1}function uat(){return pr.match.call(void 0,tr.TokenType.colon)||!Ai.canInsertSemicolon.call(void 0)}function l8(){return rr.isTypeScriptEnabled?xd.tsParseArrow.call(void 0):rr.isFlowEnabled?ap.flowParseArrow.call(void 0):pr.eat.call(void 0,tr.TokenType.arrow)}ta.parseArrow=l8;function p8(){(rr.isTypeScriptEnabled||rr.isFlowEnabled)&&Ffe.typedParseParenItem.call(void 0)}function Hat(){if(Ai.expect.call(void 0,tr.TokenType._new),pr.eat.call(void 0,tr.TokenType.dot)){sp();return}pat(),rr.isFlowEnabled&&ap.flowStartParseNewArguments.call(void 0),pr.eat.call(void 0,tr.TokenType.parenL)&&Yfe(tr.TokenType.parenR)}function pat(){H8(),pr.eat.call(void 0,tr.TokenType.questionDot)}function d8(){for(pr.nextTemplateToken.call(void 0),pr.nextTemplateToken.call(void 0);!pr.match.call(void 0,tr.TokenType.backQuote)&&!rr.state.error;)Ai.expect.call(void 0,tr.TokenType.dollarBraceL),vg(),pr.nextTemplateToken.call(void 0),pr.nextTemplateToken.call(void 0);pr.next.call(void 0)}ta.parseTemplate=d8;function Jfe(e,t){let n=rr.getNextContextId.call(void 0),i=!0;for(pr.next.call(void 0),rr.state.tokens[rr.state.tokens.length-1].contextId=n;!pr.eat.call(void 0,tr.TokenType.braceR)&&!rr.state.error;){if(i)i=!1;else if(Ai.expect.call(void 0,tr.TokenType.comma),pr.eat.call(void 0,tr.TokenType.braceR))break;let o=!1;if(pr.match.call(void 0,tr.TokenType.ellipsis)){let r=rr.state.tokens.length;if(Cd.parseSpread.call(void 0),e&&(rr.state.tokens.length===r+2&&Cd.markPriorBindingIdentifier.call(void 0,t),pr.eat.call(void 0,tr.TokenType.braceR)))break;continue}e||(o=pr.eat.call(void 0,tr.TokenType.star)),!e&&Ai.isContextual.call(void 0,ip.ContextualKeyword._async)?(o&&Ai.unexpected.call(void 0),sp(),pr.match.call(void 0,tr.TokenType.colon)||pr.match.call(void 0,tr.TokenType.parenL)||pr.match.call(void 0,tr.TokenType.braceR)||pr.match.call(void 0,tr.TokenType.eq)||pr.match.call(void 0,tr.TokenType.comma)||(pr.match.call(void 0,tr.TokenType.star)&&(pr.next.call(void 0),o=!0),rC(n))):rC(n),_at(e,t,n)}rr.state.tokens[rr.state.tokens.length-1].contextId=n}ta.parseObj=Jfe;function dat(e){return!e&&(pr.match.call(void 0,tr.TokenType.string)||pr.match.call(void 0,tr.TokenType.num)||pr.match.call(void 0,tr.TokenType.bracketL)||pr.match.call(void 0,tr.TokenType.name)||!!(rr.state.type&tr.TokenType.IS_KEYWORD))}function fat(e,t){let n=rr.state.start;return pr.match.call(void 0,tr.TokenType.parenL)?(e&&Ai.unexpected.call(void 0),c8(n,!1),!0):dat(e)?(rC(t),c8(n,!1),!0):!1}function hat(e,t){if(pr.eat.call(void 0,tr.TokenType.colon)){e?Cd.parseMaybeDefault.call(void 0,t):wc(!1);return}let n;e?rr.state.scopeDepth===0?n=pr.IdentifierRole.ObjectShorthandTopLevelDeclaration:t?n=pr.IdentifierRole.ObjectShorthandBlockScopedDeclaration:n=pr.IdentifierRole.ObjectShorthandFunctionScopedDeclaration:n=pr.IdentifierRole.ObjectShorthand,rr.state.tokens[rr.state.tokens.length-1].identifierRole=n,Cd.parseMaybeDefault.call(void 0,t,!0)}function _at(e,t,n){rr.isTypeScriptEnabled?xd.tsStartParseObjPropValue.call(void 0):rr.isFlowEnabled&&ap.flowStartParseObjPropValue.call(void 0),fat(e,n)||hat(e,t)}function rC(e){rr.isFlowEnabled&&ap.flowParseVariance.call(void 0),pr.eat.call(void 0,tr.TokenType.bracketL)?(rr.state.tokens[rr.state.tokens.length-1].contextId=e,wc(),Ai.expect.call(void 0,tr.TokenType.bracketR),rr.state.tokens[rr.state.tokens.length-1].contextId=e):(pr.match.call(void 0,tr.TokenType.num)||pr.match.call(void 0,tr.TokenType.string)||pr.match.call(void 0,tr.TokenType.bigint)||pr.match.call(void 0,tr.TokenType.decimal)?nC():tC(),rr.state.tokens[rr.state.tokens.length-1].identifierRole=pr.IdentifierRole.ObjectKey,rr.state.tokens[rr.state.tokens.length-1].contextId=e)}ta.parsePropertyName=rC;function c8(e,t){let n=rr.getNextContextId.call(void 0);rr.state.scopeDepth++;let i=rr.state.tokens.length,o=t;fu.parseFunctionParams.call(void 0,o,n),Qfe(e,n);let r=rr.state.tokens.length;rr.state.scopes.push(new jfe.Scope(i,r,!0)),rr.state.scopeDepth--}ta.parseMethod=c8;function Cg(e){f8(!0);let t=rr.state.tokens.length;rr.state.scopes.push(new jfe.Scope(e,t,!0)),rr.state.scopeDepth--}ta.parseArrowExpression=Cg;function Qfe(e,t=0){rr.isTypeScriptEnabled?xd.tsParseFunctionBodyAndFinish.call(void 0,e,t):rr.isFlowEnabled?ap.flowParseFunctionBodyAndFinish.call(void 0,t):f8(!1,t)}ta.parseFunctionBodyAndFinish=Qfe;function f8(e,t=0){e&&!pr.match.call(void 0,tr.TokenType.braceL)?wc():fu.parseBlock.call(void 0,!0,t)}ta.parseFunctionBody=f8;function Yfe(e,t=!1){let n=!0;for(;!pr.eat.call(void 0,e)&&!rr.state.error;){if(n)n=!1;else if(Ai.expect.call(void 0,tr.TokenType.comma),pr.eat.call(void 0,e))break;ehe(t)}}function ehe(e){e&&pr.match.call(void 0,tr.TokenType.comma)||(pr.match.call(void 0,tr.TokenType.ellipsis)?(Cd.parseSpread.call(void 0),p8()):pr.match.call(void 0,tr.TokenType.question)?pr.next.call(void 0):wc(!1,!0))}function sp(){pr.next.call(void 0),rr.state.tokens[rr.state.tokens.length-1].type=tr.TokenType.name}ta.parseIdentifier=sp;function mat(){xg()}function Eat(){pr.next.call(void 0),!pr.match.call(void 0,tr.TokenType.semi)&&!Ai.canInsertSemicolon.call(void 0)&&(pr.eat.call(void 0,tr.TokenType.star),wc())}function yat(){Ai.expectContextual.call(void 0,ip.ContextualKeyword._module),Ai.expect.call(void 0,tr.TokenType.braceL),fu.parseBlockBody.call(void 0,tr.TokenType.braceR)}});var bg=Le(Ns=>{"use strict";Object.defineProperty(Ns,"__esModule",{value:!0});var Dt=io(),Mn=_o(),Lt=_i(),In=Zl(),ls=eh(),Dd=Tg(),Ar=Id();function gat(e){return(e.type===Lt.TokenType.name||!!(e.type&Lt.TokenType.IS_KEYWORD))&&e.contextualKeyword!==Mn.ContextualKeyword._from}function cH(e){let t=Dt.pushTypeContext.call(void 0,0);Ar.expect.call(void 0,e||Lt.TokenType.colon),vl(),Dt.popTypeContext.call(void 0,t)}function the(){Ar.expect.call(void 0,Lt.TokenType.modulo),Ar.expectContextual.call(void 0,Mn.ContextualKeyword._checks),Dt.eat.call(void 0,Lt.TokenType.parenL)&&(ls.parseExpression.call(void 0),Ar.expect.call(void 0,Lt.TokenType.parenR))}function m8(){let e=Dt.pushTypeContext.call(void 0,0);Ar.expect.call(void 0,Lt.TokenType.colon),Dt.match.call(void 0,Lt.TokenType.modulo)?the():(vl(),Dt.match.call(void 0,Lt.TokenType.modulo)&&the()),Dt.popTypeContext.call(void 0,e)}function bat(){Dt.next.call(void 0),E8(!0)}function Aat(){Dt.next.call(void 0),ls.parseIdentifier.call(void 0),Dt.match.call(void 0,Lt.TokenType.lessThan)&&uH(),Ar.expect.call(void 0,Lt.TokenType.parenL),_8(),Ar.expect.call(void 0,Lt.TokenType.parenR),m8(),Ar.semicolon.call(void 0)}function h8(){Dt.match.call(void 0,Lt.TokenType._class)?bat():Dt.match.call(void 0,Lt.TokenType._function)?Aat():Dt.match.call(void 0,Lt.TokenType._var)?Iat():Ar.eatContextual.call(void 0,Mn.ContextualKeyword._module)?Dt.eat.call(void 0,Lt.TokenType.dot)?Tat():Sat():Ar.isContextual.call(void 0,Mn.ContextualKeyword._type)?vat():Ar.isContextual.call(void 0,Mn.ContextualKeyword._opaque)?Cat():Ar.isContextual.call(void 0,Mn.ContextualKeyword._interface)?xat():Dt.match.call(void 0,Lt.TokenType._export)?Lat():Ar.unexpected.call(void 0)}function Iat(){Dt.next.call(void 0),ohe(),Ar.semicolon.call(void 0)}function Sat(){for(Dt.match.call(void 0,Lt.TokenType.string)?ls.parseExprAtom.call(void 0):ls.parseIdentifier.call(void 0),Ar.expect.call(void 0,Lt.TokenType.braceL);!Dt.match.call(void 0,Lt.TokenType.braceR)&&!In.state.error;)Dt.match.call(void 0,Lt.TokenType._import)?(Dt.next.call(void 0),Dd.parseImport.call(void 0)):Ar.unexpected.call(void 0);Ar.expect.call(void 0,Lt.TokenType.braceR)}function Lat(){Ar.expect.call(void 0,Lt.TokenType._export),Dt.eat.call(void 0,Lt.TokenType._default)?Dt.match.call(void 0,Lt.TokenType._function)||Dt.match.call(void 0,Lt.TokenType._class)?h8():(vl(),Ar.semicolon.call(void 0)):Dt.match.call(void 0,Lt.TokenType._var)||Dt.match.call(void 0,Lt.TokenType._function)||Dt.match.call(void 0,Lt.TokenType._class)||Ar.isContextual.call(void 0,Mn.ContextualKeyword._opaque)?h8():Dt.match.call(void 0,Lt.TokenType.star)||Dt.match.call(void 0,Lt.TokenType.braceL)||Ar.isContextual.call(void 0,Mn.ContextualKeyword._interface)||Ar.isContextual.call(void 0,Mn.ContextualKeyword._type)||Ar.isContextual.call(void 0,Mn.ContextualKeyword._opaque)?Dd.parseExport.call(void 0):Ar.unexpected.call(void 0)}function Tat(){Ar.expectContextual.call(void 0,Mn.ContextualKeyword._exports),qm(),Ar.semicolon.call(void 0)}function vat(){Dt.next.call(void 0),g8()}function Cat(){Dt.next.call(void 0),b8(!0)}function xat(){Dt.next.call(void 0),E8()}function E8(e=!1){if(oC(),Dt.match.call(void 0,Lt.TokenType.lessThan)&&uH(),Dt.eat.call(void 0,Lt.TokenType._extends))do iC();while(!e&&Dt.eat.call(void 0,Lt.TokenType.comma));if(Ar.isContextual.call(void 0,Mn.ContextualKeyword._mixins)){Dt.next.call(void 0);do iC();while(Dt.eat.call(void 0,Lt.TokenType.comma))}if(Ar.isContextual.call(void 0,Mn.ContextualKeyword._implements)){Dt.next.call(void 0);do iC();while(Dt.eat.call(void 0,Lt.TokenType.comma))}sC(e,!1,e)}function iC(){ihe(!1),Dt.match.call(void 0,Lt.TokenType.lessThan)&&th()}function y8(){E8()}function oC(){ls.parseIdentifier.call(void 0)}function g8(){oC(),Dt.match.call(void 0,Lt.TokenType.lessThan)&&uH(),cH(Lt.TokenType.eq),Ar.semicolon.call(void 0)}function b8(e){Ar.expectContextual.call(void 0,Mn.ContextualKeyword._type),oC(),Dt.match.call(void 0,Lt.TokenType.lessThan)&&uH(),Dt.match.call(void 0,Lt.TokenType.colon)&&cH(Lt.TokenType.colon),e||cH(Lt.TokenType.eq),Ar.semicolon.call(void 0)}function Dat(){S8(),ohe(),Dt.eat.call(void 0,Lt.TokenType.eq)&&vl()}function uH(){let e=Dt.pushTypeContext.call(void 0,0);Dt.match.call(void 0,Lt.TokenType.lessThan)||Dt.match.call(void 0,Lt.TokenType.typeParameterStart)?Dt.next.call(void 0):Ar.unexpected.call(void 0);do Dat(),Dt.match.call(void 0,Lt.TokenType.greaterThan)||Ar.expect.call(void 0,Lt.TokenType.comma);while(!Dt.match.call(void 0,Lt.TokenType.greaterThan)&&!In.state.error);Ar.expect.call(void 0,Lt.TokenType.greaterThan),Dt.popTypeContext.call(void 0,e)}Ns.flowParseTypeParameterDeclaration=uH;function th(){let e=Dt.pushTypeContext.call(void 0,0);for(Ar.expect.call(void 0,Lt.TokenType.lessThan);!Dt.match.call(void 0,Lt.TokenType.greaterThan)&&!In.state.error;)vl(),Dt.match.call(void 0,Lt.TokenType.greaterThan)||Ar.expect.call(void 0,Lt.TokenType.comma);Ar.expect.call(void 0,Lt.TokenType.greaterThan),Dt.popTypeContext.call(void 0,e)}function Pat(){if(Ar.expectContextual.call(void 0,Mn.ContextualKeyword._interface),Dt.eat.call(void 0,Lt.TokenType._extends))do iC();while(Dt.eat.call(void 0,Lt.TokenType.comma));sC(!1,!1,!1)}function A8(){Dt.match.call(void 0,Lt.TokenType.num)||Dt.match.call(void 0,Lt.TokenType.string)?ls.parseExprAtom.call(void 0):ls.parseIdentifier.call(void 0)}function wat(){Dt.lookaheadType.call(void 0)===Lt.TokenType.colon?(A8(),cH()):vl(),Ar.expect.call(void 0,Lt.TokenType.bracketR),cH()}function kat(){A8(),Ar.expect.call(void 0,Lt.TokenType.bracketR),Ar.expect.call(void 0,Lt.TokenType.bracketR),Dt.match.call(void 0,Lt.TokenType.lessThan)||Dt.match.call(void 0,Lt.TokenType.parenL)?I8():(Dt.eat.call(void 0,Lt.TokenType.question),cH())}function I8(){for(Dt.match.call(void 0,Lt.TokenType.lessThan)&&uH(),Ar.expect.call(void 0,Lt.TokenType.parenL);!Dt.match.call(void 0,Lt.TokenType.parenR)&&!Dt.match.call(void 0,Lt.TokenType.ellipsis)&&!In.state.error;)aC(),Dt.match.call(void 0,Lt.TokenType.parenR)||Ar.expect.call(void 0,Lt.TokenType.comma);Dt.eat.call(void 0,Lt.TokenType.ellipsis)&&aC(),Ar.expect.call(void 0,Lt.TokenType.parenR),cH()}function Nat(){I8()}function sC(e,t,n){let i;for(t&&Dt.match.call(void 0,Lt.TokenType.braceBarL)?(Ar.expect.call(void 0,Lt.TokenType.braceBarL),i=Lt.TokenType.braceBarR):(Ar.expect.call(void 0,Lt.TokenType.braceL),i=Lt.TokenType.braceR);!Dt.match.call(void 0,i)&&!In.state.error;){if(n&&Ar.isContextual.call(void 0,Mn.ContextualKeyword._proto)){let o=Dt.lookaheadType.call(void 0);o!==Lt.TokenType.colon&&o!==Lt.TokenType.question&&(Dt.next.call(void 0),e=!1)}if(e&&Ar.isContextual.call(void 0,Mn.ContextualKeyword._static)){let o=Dt.lookaheadType.call(void 0);o!==Lt.TokenType.colon&&o!==Lt.TokenType.question&&Dt.next.call(void 0)}if(S8(),Dt.eat.call(void 0,Lt.TokenType.bracketL))Dt.eat.call(void 0,Lt.TokenType.bracketL)?kat():wat();else if(Dt.match.call(void 0,Lt.TokenType.parenL)||Dt.match.call(void 0,Lt.TokenType.lessThan))Nat();else{if(Ar.isContextual.call(void 0,Mn.ContextualKeyword._get)||Ar.isContextual.call(void 0,Mn.ContextualKeyword._set)){let o=Dt.lookaheadType.call(void 0);(o===Lt.TokenType.name||o===Lt.TokenType.string||o===Lt.TokenType.num)&&Dt.next.call(void 0)}Rat()}$at()}Ar.expect.call(void 0,i)}function Rat(){if(Dt.match.call(void 0,Lt.TokenType.ellipsis)){if(Ar.expect.call(void 0,Lt.TokenType.ellipsis),Dt.eat.call(void 0,Lt.TokenType.comma)||Dt.eat.call(void 0,Lt.TokenType.semi),Dt.match.call(void 0,Lt.TokenType.braceR))return;vl()}else A8(),Dt.match.call(void 0,Lt.TokenType.lessThan)||Dt.match.call(void 0,Lt.TokenType.parenL)?I8():(Dt.eat.call(void 0,Lt.TokenType.question),cH())}function $at(){!Dt.eat.call(void 0,Lt.TokenType.semi)&&!Dt.eat.call(void 0,Lt.TokenType.comma)&&!Dt.match.call(void 0,Lt.TokenType.braceR)&&!Dt.match.call(void 0,Lt.TokenType.braceBarR)&&Ar.unexpected.call(void 0)}function ihe(e){for(e||ls.parseIdentifier.call(void 0);Dt.eat.call(void 0,Lt.TokenType.dot);)ls.parseIdentifier.call(void 0)}function Mat(){ihe(!0),Dt.match.call(void 0,Lt.TokenType.lessThan)&&th()}function Bat(){Ar.expect.call(void 0,Lt.TokenType._typeof),she()}function Oat(){for(Ar.expect.call(void 0,Lt.TokenType.bracketL);In.state.pos<In.input.length&&!Dt.match.call(void 0,Lt.TokenType.bracketR)&&(vl(),!Dt.match.call(void 0,Lt.TokenType.bracketR));)Ar.expect.call(void 0,Lt.TokenType.comma);Ar.expect.call(void 0,Lt.TokenType.bracketR)}function aC(){let e=Dt.lookaheadType.call(void 0);e===Lt.TokenType.colon||e===Lt.TokenType.question?(ls.parseIdentifier.call(void 0),Dt.eat.call(void 0,Lt.TokenType.question),cH()):vl()}function _8(){for(;!Dt.match.call(void 0,Lt.TokenType.parenR)&&!Dt.match.call(void 0,Lt.TokenType.ellipsis)&&!In.state.error;)aC(),Dt.match.call(void 0,Lt.TokenType.parenR)||Ar.expect.call(void 0,Lt.TokenType.comma);Dt.eat.call(void 0,Lt.TokenType.ellipsis)&&aC()}function she(){let e=!1,t=In.state.noAnonFunctionType;switch(In.state.type){case Lt.TokenType.name:{if(Ar.isContextual.call(void 0,Mn.ContextualKeyword._interface)){Pat();return}ls.parseIdentifier.call(void 0),Mat();return}case Lt.TokenType.braceL:sC(!1,!1,!1);return;case Lt.TokenType.braceBarL:sC(!1,!0,!1);return;case Lt.TokenType.bracketL:Oat();return;case Lt.TokenType.lessThan:uH(),Ar.expect.call(void 0,Lt.TokenType.parenL),_8(),Ar.expect.call(void 0,Lt.TokenType.parenR),Ar.expect.call(void 0,Lt.TokenType.arrow),vl();return;case Lt.TokenType.parenL:if(Dt.next.call(void 0),!Dt.match.call(void 0,Lt.TokenType.parenR)&&!Dt.match.call(void 0,Lt.TokenType.ellipsis))if(Dt.match.call(void 0,Lt.TokenType.name)){let n=Dt.lookaheadType.call(void 0);e=n!==Lt.TokenType.question&&n!==Lt.TokenType.colon}else e=!0;if(e)if(In.state.noAnonFunctionType=!1,vl(),In.state.noAnonFunctionType=t,In.state.noAnonFunctionType||!(Dt.match.call(void 0,Lt.TokenType.comma)||Dt.match.call(void 0,Lt.TokenType.parenR)&&Dt.lookaheadType.call(void 0)===Lt.TokenType.arrow)){Ar.expect.call(void 0,Lt.TokenType.parenR);return}else Dt.eat.call(void 0,Lt.TokenType.comma);_8(),Ar.expect.call(void 0,Lt.TokenType.parenR),Ar.expect.call(void 0,Lt.TokenType.arrow),vl();return;case Lt.TokenType.minus:Dt.next.call(void 0),ls.parseLiteral.call(void 0);return;case Lt.TokenType.string:case Lt.TokenType.num:case Lt.TokenType._true:case Lt.TokenType._false:case Lt.TokenType._null:case Lt.TokenType._this:case Lt.TokenType._void:case Lt.TokenType.star:Dt.next.call(void 0);return;default:if(In.state.type===Lt.TokenType._typeof){Bat();return}else if(In.state.type&Lt.TokenType.IS_KEYWORD){Dt.next.call(void 0),In.state.tokens[In.state.tokens.length-1].type=Lt.TokenType.name;return}}Ar.unexpected.call(void 0)}function Fat(){for(she();!Ar.canInsertSemicolon.call(void 0)&&(Dt.match.call(void 0,Lt.TokenType.bracketL)||Dt.match.call(void 0,Lt.TokenType.questionDot));)Dt.eat.call(void 0,Lt.TokenType.questionDot),Ar.expect.call(void 0,Lt.TokenType.bracketL),Dt.eat.call(void 0,Lt.TokenType.bracketR)||(vl(),Ar.expect.call(void 0,Lt.TokenType.bracketR))}function ahe(){Dt.eat.call(void 0,Lt.TokenType.question)?ahe():Fat()}function rhe(){ahe(),!In.state.noAnonFunctionType&&Dt.eat.call(void 0,Lt.TokenType.arrow)&&vl()}function nhe(){for(Dt.eat.call(void 0,Lt.TokenType.bitwiseAND),rhe();Dt.eat.call(void 0,Lt.TokenType.bitwiseAND);)rhe()}function jat(){for(Dt.eat.call(void 0,Lt.TokenType.bitwiseOR),nhe();Dt.eat.call(void 0,Lt.TokenType.bitwiseOR);)nhe()}function vl(){jat()}function qm(){cH()}Ns.flowParseTypeAnnotation=qm;function ohe(){ls.parseIdentifier.call(void 0),Dt.match.call(void 0,Lt.TokenType.colon)&&qm()}function S8(){(Dt.match.call(void 0,Lt.TokenType.plus)||Dt.match.call(void 0,Lt.TokenType.minus))&&(Dt.next.call(void 0),In.state.tokens[In.state.tokens.length-1].isType=!0)}Ns.flowParseVariance=S8;function Uat(e){Dt.match.call(void 0,Lt.TokenType.colon)&&m8(),ls.parseFunctionBody.call(void 0,!1,e)}Ns.flowParseFunctionBodyAndFinish=Uat;function qat(e,t,n){if(Dt.match.call(void 0,Lt.TokenType.questionDot)&&Dt.lookaheadType.call(void 0)===Lt.TokenType.lessThan){if(t){n.stop=!0;return}Dt.next.call(void 0),th(),Ar.expect.call(void 0,Lt.TokenType.parenL),ls.parseCallExpressionArguments.call(void 0);return}else if(!t&&Dt.match.call(void 0,Lt.TokenType.lessThan)){let i=In.state.snapshot();if(th(),Ar.expect.call(void 0,Lt.TokenType.parenL),ls.parseCallExpressionArguments.call(void 0),In.state.error)In.state.restoreFromSnapshot(i);else return}ls.baseParseSubscript.call(void 0,e,t,n)}Ns.flowParseSubscript=qat;function Wat(){if(Dt.match.call(void 0,Lt.TokenType.lessThan)){let e=In.state.snapshot();th(),In.state.error&&In.state.restoreFromSnapshot(e)}}Ns.flowStartParseNewArguments=Wat;function Vat(){if(Dt.match.call(void 0,Lt.TokenType.name)&&In.state.contextualKeyword===Mn.ContextualKeyword._interface){let e=Dt.pushTypeContext.call(void 0,0);return Dt.next.call(void 0),y8(),Dt.popTypeContext.call(void 0,e),!0}else if(Ar.isContextual.call(void 0,Mn.ContextualKeyword._enum))return lhe(),!0;return!1}Ns.flowTryParseStatement=Vat;function Kat(){return Ar.isContextual.call(void 0,Mn.ContextualKeyword._enum)?(lhe(),!0):!1}Ns.flowTryParseExportDefaultExpression=Kat;function Gat(e){if(e===Mn.ContextualKeyword._declare){if(Dt.match.call(void 0,Lt.TokenType._class)||Dt.match.call(void 0,Lt.TokenType.name)||Dt.match.call(void 0,Lt.TokenType._function)||Dt.match.call(void 0,Lt.TokenType._var)||Dt.match.call(void 0,Lt.TokenType._export)){let t=Dt.pushTypeContext.call(void 0,1);h8(),Dt.popTypeContext.call(void 0,t)}}else if(Dt.match.call(void 0,Lt.TokenType.name)){if(e===Mn.ContextualKeyword._interface){let t=Dt.pushTypeContext.call(void 0,1);y8(),Dt.popTypeContext.call(void 0,t)}else if(e===Mn.ContextualKeyword._type){let t=Dt.pushTypeContext.call(void 0,1);g8(),Dt.popTypeContext.call(void 0,t)}else if(e===Mn.ContextualKeyword._opaque){let t=Dt.pushTypeContext.call(void 0,1);b8(!1),Dt.popTypeContext.call(void 0,t)}}Ar.semicolon.call(void 0)}Ns.flowParseIdentifierStatement=Gat;function Xat(){return Ar.isContextual.call(void 0,Mn.ContextualKeyword._type)||Ar.isContextual.call(void 0,Mn.ContextualKeyword._interface)||Ar.isContextual.call(void 0,Mn.ContextualKeyword._opaque)||Ar.isContextual.call(void 0,Mn.ContextualKeyword._enum)}Ns.flowShouldParseExportDeclaration=Xat;function Zat(){return Dt.match.call(void 0,Lt.TokenType.name)&&(In.state.contextualKeyword===Mn.ContextualKeyword._type||In.state.contextualKeyword===Mn.ContextualKeyword._interface||In.state.contextualKeyword===Mn.ContextualKeyword._opaque||In.state.contextualKeyword===Mn.ContextualKeyword._enum)}Ns.flowShouldDisallowExportDefaultSpecifier=Zat;function zat(){if(Ar.isContextual.call(void 0,Mn.ContextualKeyword._type)){let e=Dt.pushTypeContext.call(void 0,1);Dt.next.call(void 0),Dt.match.call(void 0,Lt.TokenType.braceL)?(Dd.parseExportSpecifiers.call(void 0),Dd.parseExportFrom.call(void 0)):g8(),Dt.popTypeContext.call(void 0,e)}else if(Ar.isContextual.call(void 0,Mn.ContextualKeyword._opaque)){let e=Dt.pushTypeContext.call(void 0,1);Dt.next.call(void 0),b8(!1),Dt.popTypeContext.call(void 0,e)}else if(Ar.isContextual.call(void 0,Mn.ContextualKeyword._interface)){let e=Dt.pushTypeContext.call(void 0,1);Dt.next.call(void 0),y8(),Dt.popTypeContext.call(void 0,e)}else Dd.parseStatement.call(void 0,!0)}Ns.flowParseExportDeclaration=zat;function Jat(){return Dt.match.call(void 0,Lt.TokenType.star)||Ar.isContextual.call(void 0,Mn.ContextualKeyword._type)&&Dt.lookaheadType.call(void 0)===Lt.TokenType.star}Ns.flowShouldParseExportStar=Jat;function Qat(){if(Ar.eatContextual.call(void 0,Mn.ContextualKeyword._type)){let e=Dt.pushTypeContext.call(void 0,2);Dd.baseParseExportStar.call(void 0),Dt.popTypeContext.call(void 0,e)}else Dd.baseParseExportStar.call(void 0)}Ns.flowParseExportStar=Qat;function Yat(e){if(e&&Dt.match.call(void 0,Lt.TokenType.lessThan)&&th(),Ar.isContextual.call(void 0,Mn.ContextualKeyword._implements)){let t=Dt.pushTypeContext.call(void 0,0);Dt.next.call(void 0),In.state.tokens[In.state.tokens.length-1].type=Lt.TokenType._implements;do oC(),Dt.match.call(void 0,Lt.TokenType.lessThan)&&th();while(Dt.eat.call(void 0,Lt.TokenType.comma));Dt.popTypeContext.call(void 0,t)}}Ns.flowAfterParseClassSuper=Yat;function eot(){Dt.match.call(void 0,Lt.TokenType.lessThan)&&(uH(),Dt.match.call(void 0,Lt.TokenType.parenL)||Ar.unexpected.call(void 0))}Ns.flowStartParseObjPropValue=eot;function tot(){let e=Dt.pushTypeContext.call(void 0,0);Dt.eat.call(void 0,Lt.TokenType.question),Dt.match.call(void 0,Lt.TokenType.colon)&&qm(),Dt.popTypeContext.call(void 0,e)}Ns.flowParseAssignableListItemTypes=tot;function rot(){if(Dt.match.call(void 0,Lt.TokenType._typeof)||Ar.isContextual.call(void 0,Mn.ContextualKeyword._type)){let e=Dt.lookaheadTypeAndKeyword.call(void 0);(gat(e)||e.type===Lt.TokenType.braceL||e.type===Lt.TokenType.star)&&Dt.next.call(void 0)}}Ns.flowStartParseImportSpecifiers=rot;function not(){let e=In.state.contextualKeyword===Mn.ContextualKeyword._type||In.state.type===Lt.TokenType._typeof;e?Dt.next.call(void 0):ls.parseIdentifier.call(void 0),Ar.isContextual.call(void 0,Mn.ContextualKeyword._as)&&!Ar.isLookaheadContextual.call(void 0,Mn.ContextualKeyword._as)?(ls.parseIdentifier.call(void 0),e&&!Dt.match.call(void 0,Lt.TokenType.name)&&!(In.state.type&Lt.TokenType.IS_KEYWORD)||ls.parseIdentifier.call(void 0)):(e&&(Dt.match.call(void 0,Lt.TokenType.name)||In.state.type&Lt.TokenType.IS_KEYWORD)&&ls.parseIdentifier.call(void 0),Ar.eatContextual.call(void 0,Mn.ContextualKeyword._as)&&ls.parseIdentifier.call(void 0))}Ns.flowParseImportSpecifier=not;function iot(){if(Dt.match.call(void 0,Lt.TokenType.lessThan)){let e=Dt.pushTypeContext.call(void 0,0);uH(),Dt.popTypeContext.call(void 0,e)}}Ns.flowStartParseFunctionParams=iot;function sot(){Dt.match.call(void 0,Lt.TokenType.colon)&&qm()}Ns.flowAfterParseVarHead=sot;function aot(){if(Dt.match.call(void 0,Lt.TokenType.colon)){let e=In.state.noAnonFunctionType;In.state.noAnonFunctionType=!0,qm(),In.state.noAnonFunctionType=e}}Ns.flowStartParseAsyncArrowFromCallExpression=aot;function oot(e,t){if(Dt.match.call(void 0,Lt.TokenType.lessThan)){let n=In.state.snapshot(),i=ls.baseParseMaybeAssign.call(void 0,e,t);if(In.state.error)In.state.restoreFromSnapshot(n),In.state.type=Lt.TokenType.typeParameterStart;else return i;let o=Dt.pushTypeContext.call(void 0,0);if(uH(),Dt.popTypeContext.call(void 0,o),i=ls.baseParseMaybeAssign.call(void 0,e,t),i)return!0;Ar.unexpected.call(void 0)}return ls.baseParseMaybeAssign.call(void 0,e,t)}Ns.flowParseMaybeAssign=oot;function lot(){if(Dt.match.call(void 0,Lt.TokenType.colon)){let e=Dt.pushTypeContext.call(void 0,0),t=In.state.snapshot(),n=In.state.noAnonFunctionType;In.state.noAnonFunctionType=!0,m8(),In.state.noAnonFunctionType=n,Ar.canInsertSemicolon.call(void 0)&&Ar.unexpected.call(void 0),Dt.match.call(void 0,Lt.TokenType.arrow)||Ar.unexpected.call(void 0),In.state.error&&In.state.restoreFromSnapshot(t),Dt.popTypeContext.call(void 0,e)}return Dt.eat.call(void 0,Lt.TokenType.arrow)}Ns.flowParseArrow=lot;function cot(e,t=!1){if(In.state.tokens[In.state.tokens.length-1].contextualKeyword===Mn.ContextualKeyword._async&&Dt.match.call(void 0,Lt.TokenType.lessThan)){let n=In.state.snapshot();if(uot()&&!In.state.error)return;In.state.restoreFromSnapshot(n)}ls.baseParseSubscripts.call(void 0,e,t)}Ns.flowParseSubscripts=cot;function uot(){In.state.scopeDepth++;let e=In.state.tokens.length;return Dd.parseFunctionParams.call(void 0),ls.parseArrow.call(void 0)?(ls.parseArrowExpression.call(void 0,e),!0):!1}function lhe(){Ar.expectContextual.call(void 0,Mn.ContextualKeyword._enum),In.state.tokens[In.state.tokens.length-1].type=Lt.TokenType._enum,ls.parseIdentifier.call(void 0),Hot()}function Hot(){Ar.eatContextual.call(void 0,Mn.ContextualKeyword._of)&&Dt.next.call(void 0),Ar.expect.call(void 0,Lt.TokenType.braceL),pot(),Ar.expect.call(void 0,Lt.TokenType.braceR)}function pot(){for(;!Dt.match.call(void 0,Lt.TokenType.braceR)&&!In.state.error&&!Dt.eat.call(void 0,Lt.TokenType.ellipsis);)dot(),Dt.match.call(void 0,Lt.TokenType.braceR)||Ar.expect.call(void 0,Lt.TokenType.comma)}function dot(){ls.parseIdentifier.call(void 0),Dt.eat.call(void 0,Lt.TokenType.eq)&&Dt.next.call(void 0)}});var Tg=Le(Ja=>{"use strict";Object.defineProperty(Ja,"__esModule",{value:!0});var fot=D8(),Xo=bg(),Ba=$m(),sr=io(),Wn=_o(),Pd=Sv(),Gt=_i(),che=Xl(),qt=Zl(),ki=eh(),wd=Wv(),Fr=Id();function hot(){if(C8(Gt.TokenType.eof),qt.state.scopes.push(new Pd.Scope(0,qt.state.tokens.length,!0)),qt.state.scopeDepth!==0)throw new Error(`Invalid scope depth at end of file: ${qt.state.scopeDepth}`);return new fot.File(qt.state.tokens,qt.state.scopes)}Ja.parseTopLevel=hot;function hu(e){qt.isFlowEnabled&&Xo.flowTryParseStatement.call(void 0)||(sr.match.call(void 0,Gt.TokenType.at)&&v8(),_ot(e))}Ja.parseStatement=hu;function _ot(e){if(qt.isTypeScriptEnabled&&Ba.tsTryParseStatementContent.call(void 0))return;let t=qt.state.type;switch(t){case Gt.TokenType._break:case Gt.TokenType._continue:Eot();return;case Gt.TokenType._debugger:yot();return;case Gt.TokenType._do:got();return;case Gt.TokenType._for:bot();return;case Gt.TokenType._function:if(sr.lookaheadType.call(void 0)===Gt.TokenType.dot)break;e||Fr.unexpected.call(void 0),Sot();return;case Gt.TokenType._class:e||Fr.unexpected.call(void 0),cC(!0);return;case Gt.TokenType._if:Lot();return;case Gt.TokenType._return:Tot();return;case Gt.TokenType._switch:vot();return;case Gt.TokenType._throw:Cot();return;case Gt.TokenType._try:Dot();return;case Gt.TokenType._let:case Gt.TokenType._const:e||Fr.unexpected.call(void 0);case Gt.TokenType._var:lC(t!==Gt.TokenType._var);return;case Gt.TokenType._while:Pot();return;case Gt.TokenType.braceL:Vm();return;case Gt.TokenType.semi:wot();return;case Gt.TokenType._export:case Gt.TokenType._import:{let o=sr.lookaheadType.call(void 0);if(o===Gt.TokenType.parenL||o===Gt.TokenType.dot)break;sr.next.call(void 0),t===Gt.TokenType._import?Ahe():yhe();return}case Gt.TokenType.name:if(qt.state.contextualKeyword===Wn.ContextualKeyword._async){let o=qt.state.start,r=qt.state.snapshot();if(sr.next.call(void 0),sr.match.call(void 0,Gt.TokenType._function)&&!Fr.canInsertSemicolon.call(void 0)){Fr.expect.call(void 0,Gt.TokenType._function),wg(o,!0);return}else qt.state.restoreFromSnapshot(r)}else if(qt.state.contextualKeyword===Wn.ContextualKeyword._using&&!Fr.hasFollowingLineBreak.call(void 0)&&sr.lookaheadType.call(void 0)===Gt.TokenType.name){lC(!0);return}else if(phe()){Fr.expectContextual.call(void 0,Wn.ContextualKeyword._await),lC(!0);return}default:break}let n=qt.state.tokens.length;ki.parseExpression.call(void 0);let i=null;if(qt.state.tokens.length===n+1){let o=qt.state.tokens[qt.state.tokens.length-1];o.type===Gt.TokenType.name&&(i=o.contextualKeyword)}if(i==null){Fr.semicolon.call(void 0);return}sr.eat.call(void 0,Gt.TokenType.colon)?kot():Not(i)}function phe(){if(!Fr.isContextual.call(void 0,Wn.ContextualKeyword._await))return!1;let e=qt.state.snapshot();return sr.next.call(void 0),!Fr.isContextual.call(void 0,Wn.ContextualKeyword._using)||Fr.hasPrecedingLineBreak.call(void 0)||(sr.next.call(void 0),!sr.match.call(void 0,Gt.TokenType.name)||Fr.hasPrecedingLineBreak.call(void 0))?(qt.state.restoreFromSnapshot(e),!1):(qt.state.restoreFromSnapshot(e),!0)}function v8(){for(;sr.match.call(void 0,Gt.TokenType.at);)dhe()}Ja.parseDecorators=v8;function dhe(){if(sr.next.call(void 0),sr.eat.call(void 0,Gt.TokenType.parenL))ki.parseExpression.call(void 0),Fr.expect.call(void 0,Gt.TokenType.parenR);else{for(ki.parseIdentifier.call(void 0);sr.eat.call(void 0,Gt.TokenType.dot);)ki.parseIdentifier.call(void 0);mot()}}function mot(){qt.isTypeScriptEnabled?Ba.tsParseMaybeDecoratorArguments.call(void 0):fhe()}function fhe(){sr.eat.call(void 0,Gt.TokenType.parenL)&&ki.parseCallExpressionArguments.call(void 0)}Ja.baseParseMaybeDecoratorArguments=fhe;function Eot(){sr.next.call(void 0),Fr.isLineTerminator.call(void 0)||(ki.parseIdentifier.call(void 0),Fr.semicolon.call(void 0))}function yot(){sr.next.call(void 0),Fr.semicolon.call(void 0)}function got(){sr.next.call(void 0),hu(!1),Fr.expect.call(void 0,Gt.TokenType._while),ki.parseParenExpression.call(void 0),sr.eat.call(void 0,Gt.TokenType.semi)}function bot(){qt.state.scopeDepth++;let e=qt.state.tokens.length;Iot();let t=qt.state.tokens.length;qt.state.scopes.push(new Pd.Scope(e,t,!1)),qt.state.scopeDepth--}function Aot(){return!(!Fr.isContextual.call(void 0,Wn.ContextualKeyword._using)||Fr.isLookaheadContextual.call(void 0,Wn.ContextualKeyword._of))}function Iot(){sr.next.call(void 0);let e=!1;if(Fr.isContextual.call(void 0,Wn.ContextualKeyword._await)&&(e=!0,sr.next.call(void 0)),Fr.expect.call(void 0,Gt.TokenType.parenL),sr.match.call(void 0,Gt.TokenType.semi)){e&&Fr.unexpected.call(void 0),L8();return}let t=phe();if(t||sr.match.call(void 0,Gt.TokenType._var)||sr.match.call(void 0,Gt.TokenType._let)||sr.match.call(void 0,Gt.TokenType._const)||Aot()){if(t&&Fr.expectContextual.call(void 0,Wn.ContextualKeyword._await),sr.next.call(void 0),hhe(!0,qt.state.type!==Gt.TokenType._var),sr.match.call(void 0,Gt.TokenType._in)||Fr.isContextual.call(void 0,Wn.ContextualKeyword._of)){uhe(e);return}L8();return}if(ki.parseExpression.call(void 0,!0),sr.match.call(void 0,Gt.TokenType._in)||Fr.isContextual.call(void 0,Wn.ContextualKeyword._of)){uhe(e);return}e&&Fr.unexpected.call(void 0),L8()}function Sot(){let e=qt.state.start;sr.next.call(void 0),wg(e,!0)}function Lot(){sr.next.call(void 0),ki.parseParenExpression.call(void 0),hu(!1),sr.eat.call(void 0,Gt.TokenType._else)&&hu(!1)}function Tot(){sr.next.call(void 0),Fr.isLineTerminator.call(void 0)||(ki.parseExpression.call(void 0),Fr.semicolon.call(void 0))}function vot(){sr.next.call(void 0),ki.parseParenExpression.call(void 0),qt.state.scopeDepth++;let e=qt.state.tokens.length;for(Fr.expect.call(void 0,Gt.TokenType.braceL);!sr.match.call(void 0,Gt.TokenType.braceR)&&!qt.state.error;)if(sr.match.call(void 0,Gt.TokenType._case)||sr.match.call(void 0,Gt.TokenType._default)){let n=sr.match.call(void 0,Gt.TokenType._case);sr.next.call(void 0),n&&ki.parseExpression.call(void 0),Fr.expect.call(void 0,Gt.TokenType.colon)}else hu(!0);sr.next.call(void 0);let t=qt.state.tokens.length;qt.state.scopes.push(new Pd.Scope(e,t,!1)),qt.state.scopeDepth--}function Cot(){sr.next.call(void 0),ki.parseExpression.call(void 0),Fr.semicolon.call(void 0)}function xot(){wd.parseBindingAtom.call(void 0,!0),qt.isTypeScriptEnabled&&Ba.tsTryParseTypeAnnotation.call(void 0)}function Dot(){if(sr.next.call(void 0),Vm(),sr.match.call(void 0,Gt.TokenType._catch)){sr.next.call(void 0);let e=null;if(sr.match.call(void 0,Gt.TokenType.parenL)&&(qt.state.scopeDepth++,e=qt.state.tokens.length,Fr.expect.call(void 0,Gt.TokenType.parenL),xot(),Fr.expect.call(void 0,Gt.TokenType.parenR)),Vm(),e!=null){let t=qt.state.tokens.length;qt.state.scopes.push(new Pd.Scope(e,t,!1)),qt.state.scopeDepth--}}sr.eat.call(void 0,Gt.TokenType._finally)&&Vm()}function lC(e){sr.next.call(void 0),hhe(!1,e),Fr.semicolon.call(void 0)}Ja.parseVarStatement=lC;function Pot(){sr.next.call(void 0),ki.parseParenExpression.call(void 0),hu(!1)}function wot(){sr.next.call(void 0)}function kot(){hu(!0)}function Not(e){qt.isTypeScriptEnabled?Ba.tsParseIdentifierStatement.call(void 0,e):qt.isFlowEnabled?Xo.flowParseIdentifierStatement.call(void 0,e):Fr.semicolon.call(void 0)}function Vm(e=!1,t=0){let n=qt.state.tokens.length;qt.state.scopeDepth++,Fr.expect.call(void 0,Gt.TokenType.braceL),t&&(qt.state.tokens[qt.state.tokens.length-1].contextId=t),C8(Gt.TokenType.braceR),t&&(qt.state.tokens[qt.state.tokens.length-1].contextId=t);let i=qt.state.tokens.length;qt.state.scopes.push(new Pd.Scope(n,i,e)),qt.state.scopeDepth--}Ja.parseBlock=Vm;function C8(e){for(;!sr.eat.call(void 0,e)&&!qt.state.error;)hu(!0)}Ja.parseBlockBody=C8;function L8(){Fr.expect.call(void 0,Gt.TokenType.semi),sr.match.call(void 0,Gt.TokenType.semi)||ki.parseExpression.call(void 0),Fr.expect.call(void 0,Gt.TokenType.semi),sr.match.call(void 0,Gt.TokenType.parenR)||ki.parseExpression.call(void 0),Fr.expect.call(void 0,Gt.TokenType.parenR),hu(!1)}function uhe(e){e?Fr.eatContextual.call(void 0,Wn.ContextualKeyword._of):sr.next.call(void 0),ki.parseExpression.call(void 0),Fr.expect.call(void 0,Gt.TokenType.parenR),hu(!1)}function hhe(e,t){for(;;){if(Rot(t),sr.eat.call(void 0,Gt.TokenType.eq)){let n=qt.state.tokens.length-1;ki.parseMaybeAssign.call(void 0,e),qt.state.tokens[n].rhsEndIndex=qt.state.tokens.length}if(!sr.eat.call(void 0,Gt.TokenType.comma))break}}function Rot(e){wd.parseBindingAtom.call(void 0,e),qt.isTypeScriptEnabled?Ba.tsAfterParseVarHead.call(void 0):qt.isFlowEnabled&&Xo.flowAfterParseVarHead.call(void 0)}function wg(e,t,n=!1){sr.match.call(void 0,Gt.TokenType.star)&&sr.next.call(void 0),t&&!n&&!sr.match.call(void 0,Gt.TokenType.name)&&!sr.match.call(void 0,Gt.TokenType._yield)&&Fr.unexpected.call(void 0);let i=null;sr.match.call(void 0,Gt.TokenType.name)&&(t||(i=qt.state.tokens.length,qt.state.scopeDepth++),wd.parseBindingIdentifier.call(void 0,!1));let o=qt.state.tokens.length;qt.state.scopeDepth++,_he(),ki.parseFunctionBodyAndFinish.call(void 0,e);let r=qt.state.tokens.length;qt.state.scopes.push(new Pd.Scope(o,r,!0)),qt.state.scopeDepth--,i!==null&&(qt.state.scopes.push(new Pd.Scope(i,r,!0)),qt.state.scopeDepth--)}Ja.parseFunction=wg;function _he(e=!1,t=0){qt.isTypeScriptEnabled?Ba.tsStartParseFunctionParams.call(void 0):qt.isFlowEnabled&&Xo.flowStartParseFunctionParams.call(void 0),Fr.expect.call(void 0,Gt.TokenType.parenL),t&&(qt.state.tokens[qt.state.tokens.length-1].contextId=t),wd.parseBindingList.call(void 0,Gt.TokenType.parenR,!1,!1,e,t),t&&(qt.state.tokens[qt.state.tokens.length-1].contextId=t)}Ja.parseFunctionParams=_he;function cC(e,t=!1){let n=qt.getNextContextId.call(void 0);sr.next.call(void 0),qt.state.tokens[qt.state.tokens.length-1].contextId=n,qt.state.tokens[qt.state.tokens.length-1].isExpression=!e;let i=null;e||(i=qt.state.tokens.length,qt.state.scopeDepth++),Oot(e,t),Fot();let o=qt.state.tokens.length;if($ot(n),!qt.state.error&&(qt.state.tokens[o].contextId=n,qt.state.tokens[qt.state.tokens.length-1].contextId=n,i!==null)){let r=qt.state.tokens.length;qt.state.scopes.push(new Pd.Scope(i,r,!1)),qt.state.scopeDepth--}}Ja.parseClass=cC;function mhe(){return sr.match.call(void 0,Gt.TokenType.eq)||sr.match.call(void 0,Gt.TokenType.semi)||sr.match.call(void 0,Gt.TokenType.braceR)||sr.match.call(void 0,Gt.TokenType.bang)||sr.match.call(void 0,Gt.TokenType.colon)}function Ehe(){return sr.match.call(void 0,Gt.TokenType.parenL)||sr.match.call(void 0,Gt.TokenType.lessThan)}function $ot(e){for(Fr.expect.call(void 0,Gt.TokenType.braceL);!sr.eat.call(void 0,Gt.TokenType.braceR)&&!qt.state.error;){if(sr.eat.call(void 0,Gt.TokenType.semi))continue;if(sr.match.call(void 0,Gt.TokenType.at)){dhe();continue}let t=qt.state.start;Mot(t,e)}}function Mot(e,t){qt.isTypeScriptEnabled&&Ba.tsParseModifiers.call(void 0,[Wn.ContextualKeyword._declare,Wn.ContextualKeyword._public,Wn.ContextualKeyword._protected,Wn.ContextualKeyword._private,Wn.ContextualKeyword._override]);let n=!1;if(sr.match.call(void 0,Gt.TokenType.name)&&qt.state.contextualKeyword===Wn.ContextualKeyword._static){if(ki.parseIdentifier.call(void 0),Ehe()){Dg(e,!1);return}else if(mhe()){Pg();return}if(qt.state.tokens[qt.state.tokens.length-1].type=Gt.TokenType._static,n=!0,sr.match.call(void 0,Gt.TokenType.braceL)){qt.state.tokens[qt.state.tokens.length-1].contextId=t,Vm();return}}Bot(e,n,t)}function Bot(e,t,n){if(qt.isTypeScriptEnabled&&Ba.tsTryParseClassMemberWithIsStatic.call(void 0,t))return;if(sr.eat.call(void 0,Gt.TokenType.star)){Wm(n),Dg(e,!1);return}Wm(n);let i=!1,o=qt.state.tokens[qt.state.tokens.length-1];o.contextualKeyword===Wn.ContextualKeyword._constructor&&(i=!0),T8(),Ehe()?Dg(e,i):mhe()?Pg():o.contextualKeyword===Wn.ContextualKeyword._async&&!Fr.isLineTerminator.call(void 0)?(qt.state.tokens[qt.state.tokens.length-1].type=Gt.TokenType._async,sr.match.call(void 0,Gt.TokenType.star)&&sr.next.call(void 0),Wm(n),T8(),Dg(e,!1)):(o.contextualKeyword===Wn.ContextualKeyword._get||o.contextualKeyword===Wn.ContextualKeyword._set)&&!(Fr.isLineTerminator.call(void 0)&&sr.match.call(void 0,Gt.TokenType.star))?(o.contextualKeyword===Wn.ContextualKeyword._get?qt.state.tokens[qt.state.tokens.length-1].type=Gt.TokenType._get:qt.state.tokens[qt.state.tokens.length-1].type=Gt.TokenType._set,Wm(n),Dg(e,!1)):o.contextualKeyword===Wn.ContextualKeyword._accessor&&!Fr.isLineTerminator.call(void 0)?(Wm(n),Pg()):Fr.isLineTerminator.call(void 0)?Pg():Fr.unexpected.call(void 0)}function Dg(e,t){qt.isTypeScriptEnabled?Ba.tsTryParseTypeParameters.call(void 0):qt.isFlowEnabled&&sr.match.call(void 0,Gt.TokenType.lessThan)&&Xo.flowParseTypeParameterDeclaration.call(void 0),ki.parseMethod.call(void 0,e,t)}function Wm(e){ki.parsePropertyName.call(void 0,e)}Ja.parseClassPropertyName=Wm;function T8(){if(qt.isTypeScriptEnabled){let e=sr.pushTypeContext.call(void 0,0);sr.eat.call(void 0,Gt.TokenType.question),sr.popTypeContext.call(void 0,e)}}Ja.parsePostMemberNameModifiers=T8;function Pg(){if(qt.isTypeScriptEnabled?(sr.eatTypeToken.call(void 0,Gt.TokenType.bang),Ba.tsTryParseTypeAnnotation.call(void 0)):qt.isFlowEnabled&&sr.match.call(void 0,Gt.TokenType.colon)&&Xo.flowParseTypeAnnotation.call(void 0),sr.match.call(void 0,Gt.TokenType.eq)){let e=qt.state.tokens.length;sr.next.call(void 0),ki.parseMaybeAssign.call(void 0),qt.state.tokens[e].rhsEndIndex=qt.state.tokens.length}Fr.semicolon.call(void 0)}Ja.parseClassProperty=Pg;function Oot(e,t=!1){qt.isTypeScriptEnabled&&(!e||t)&&Fr.isContextual.call(void 0,Wn.ContextualKeyword._implements)||(sr.match.call(void 0,Gt.TokenType.name)&&wd.parseBindingIdentifier.call(void 0,!0),qt.isTypeScriptEnabled?Ba.tsTryParseTypeParameters.call(void 0):qt.isFlowEnabled&&sr.match.call(void 0,Gt.TokenType.lessThan)&&Xo.flowParseTypeParameterDeclaration.call(void 0))}function Fot(){let e=!1;sr.eat.call(void 0,Gt.TokenType._extends)?(ki.parseExprSubscripts.call(void 0),e=!0):e=!1,qt.isTypeScriptEnabled?Ba.tsAfterParseClassSuper.call(void 0,e):qt.isFlowEnabled&&Xo.flowAfterParseClassSuper.call(void 0,e)}function yhe(){let e=qt.state.tokens.length-1;qt.isTypeScriptEnabled&&Ba.tsTryParseExport.call(void 0)||(Wot()?Vot():qot()?(ki.parseIdentifier.call(void 0),sr.match.call(void 0,Gt.TokenType.comma)&&sr.lookaheadType.call(void 0)===Gt.TokenType.star?(Fr.expect.call(void 0,Gt.TokenType.comma),Fr.expect.call(void 0,Gt.TokenType.star),Fr.expectContextual.call(void 0,Wn.ContextualKeyword._as),ki.parseIdentifier.call(void 0)):ghe(),kg()):sr.eat.call(void 0,Gt.TokenType._default)?jot():Got()?Uot():(x8(),kg()),qt.state.tokens[e].rhsEndIndex=qt.state.tokens.length)}Ja.parseExport=yhe;function jot(){if(qt.isTypeScriptEnabled&&Ba.tsTryParseExportDefaultExpression.call(void 0)||qt.isFlowEnabled&&Xo.flowTryParseExportDefaultExpression.call(void 0))return;let e=qt.state.start;sr.eat.call(void 0,Gt.TokenType._function)?wg(e,!0,!0):Fr.isContextual.call(void 0,Wn.ContextualKeyword._async)&&sr.lookaheadType.call(void 0)===Gt.TokenType._function?(Fr.eatContextual.call(void 0,Wn.ContextualKeyword._async),sr.eat.call(void 0,Gt.TokenType._function),wg(e,!0,!0)):sr.match.call(void 0,Gt.TokenType._class)?cC(!0,!0):sr.match.call(void 0,Gt.TokenType.at)?(v8(),cC(!0,!0)):(ki.parseMaybeAssign.call(void 0),Fr.semicolon.call(void 0))}function Uot(){qt.isTypeScriptEnabled?Ba.tsParseExportDeclaration.call(void 0):qt.isFlowEnabled?Xo.flowParseExportDeclaration.call(void 0):hu(!0)}function qot(){if(qt.isTypeScriptEnabled&&Ba.tsIsDeclarationStart.call(void 0))return!1;if(qt.isFlowEnabled&&Xo.flowShouldDisallowExportDefaultSpecifier.call(void 0))return!1;if(sr.match.call(void 0,Gt.TokenType.name))return qt.state.contextualKeyword!==Wn.ContextualKeyword._async;if(!sr.match.call(void 0,Gt.TokenType._default))return!1;let e=sr.nextTokenStart.call(void 0),t=sr.lookaheadTypeAndKeyword.call(void 0),n=t.type===Gt.TokenType.name&&t.contextualKeyword===Wn.ContextualKeyword._from;if(t.type===Gt.TokenType.comma)return!0;if(n){let i=qt.input.charCodeAt(sr.nextTokenStartSince.call(void 0,e+4));return i===che.charCodes.quotationMark||i===che.charCodes.apostrophe}return!1}function ghe(){sr.eat.call(void 0,Gt.TokenType.comma)&&x8()}function kg(){Fr.eatContextual.call(void 0,Wn.ContextualKeyword._from)&&(ki.parseExprAtom.call(void 0),Ihe()),Fr.semicolon.call(void 0)}Ja.parseExportFrom=kg;function Wot(){return qt.isFlowEnabled?Xo.flowShouldParseExportStar.call(void 0):sr.match.call(void 0,Gt.TokenType.star)}function Vot(){qt.isFlowEnabled?Xo.flowParseExportStar.call(void 0):bhe()}function bhe(){Fr.expect.call(void 0,Gt.TokenType.star),Fr.isContextual.call(void 0,Wn.ContextualKeyword._as)?Kot():kg()}Ja.baseParseExportStar=bhe;function Kot(){sr.next.call(void 0),qt.state.tokens[qt.state.tokens.length-1].type=Gt.TokenType._as,ki.parseIdentifier.call(void 0),ghe(),kg()}function Got(){return qt.isTypeScriptEnabled&&Ba.tsIsDeclarationStart.call(void 0)||qt.isFlowEnabled&&Xo.flowShouldParseExportDeclaration.call(void 0)||qt.state.type===Gt.TokenType._var||qt.state.type===Gt.TokenType._const||qt.state.type===Gt.TokenType._let||qt.state.type===Gt.TokenType._function||qt.state.type===Gt.TokenType._class||Fr.isContextual.call(void 0,Wn.ContextualKeyword._async)||sr.match.call(void 0,Gt.TokenType.at)}function x8(){let e=!0;for(Fr.expect.call(void 0,Gt.TokenType.braceL);!sr.eat.call(void 0,Gt.TokenType.braceR)&&!qt.state.error;){if(e)e=!1;else if(Fr.expect.call(void 0,Gt.TokenType.comma),sr.eat.call(void 0,Gt.TokenType.braceR))break;Xot()}}Ja.parseExportSpecifiers=x8;function Xot(){if(qt.isTypeScriptEnabled){Ba.tsParseExportSpecifier.call(void 0);return}ki.parseIdentifier.call(void 0),qt.state.tokens[qt.state.tokens.length-1].identifierRole=sr.IdentifierRole.ExportAccess,Fr.eatContextual.call(void 0,Wn.ContextualKeyword._as)&&ki.parseIdentifier.call(void 0)}function Zot(){let e=qt.state.snapshot();return Fr.expectContextual.call(void 0,Wn.ContextualKeyword._module),Fr.eatContextual.call(void 0,Wn.ContextualKeyword._from)?Fr.isContextual.call(void 0,Wn.ContextualKeyword._from)?(qt.state.restoreFromSnapshot(e),!0):(qt.state.restoreFromSnapshot(e),!1):sr.match.call(void 0,Gt.TokenType.comma)?(qt.state.restoreFromSnapshot(e),!1):(qt.state.restoreFromSnapshot(e),!0)}function zot(){Fr.isContextual.call(void 0,Wn.ContextualKeyword._module)&&Zot()&&sr.next.call(void 0)}function Ahe(){if(qt.isTypeScriptEnabled&&sr.match.call(void 0,Gt.TokenType.name)&&sr.lookaheadType.call(void 0)===Gt.TokenType.eq){Ba.tsParseImportEqualsDeclaration.call(void 0);return}if(qt.isTypeScriptEnabled&&Fr.isContextual.call(void 0,Wn.ContextualKeyword._type)){let e=sr.lookaheadTypeAndKeyword.call(void 0);if(e.type===Gt.TokenType.name&&e.contextualKeyword!==Wn.ContextualKeyword._from){if(Fr.expectContextual.call(void 0,Wn.ContextualKeyword._type),sr.lookaheadType.call(void 0)===Gt.TokenType.eq){Ba.tsParseImportEqualsDeclaration.call(void 0);return}}else(e.type===Gt.TokenType.star||e.type===Gt.TokenType.braceL)&&Fr.expectContextual.call(void 0,Wn.ContextualKeyword._type)}sr.match.call(void 0,Gt.TokenType.string)||(zot(),Qot(),Fr.expectContextual.call(void 0,Wn.ContextualKeyword._from)),ki.parseExprAtom.call(void 0),Ihe(),Fr.semicolon.call(void 0)}Ja.parseImport=Ahe;function Jot(){return sr.match.call(void 0,Gt.TokenType.name)}function Hhe(){wd.parseImportedIdentifier.call(void 0)}function Qot(){qt.isFlowEnabled&&Xo.flowStartParseImportSpecifiers.call(void 0);let e=!0;if(!(Jot()&&(Hhe(),!sr.eat.call(void 0,Gt.TokenType.comma)))){if(sr.match.call(void 0,Gt.TokenType.star)){sr.next.call(void 0),Fr.expectContextual.call(void 0,Wn.ContextualKeyword._as),Hhe();return}for(Fr.expect.call(void 0,Gt.TokenType.braceL);!sr.eat.call(void 0,Gt.TokenType.braceR)&&!qt.state.error;){if(e)e=!1;else if(sr.eat.call(void 0,Gt.TokenType.colon)&&Fr.unexpected.call(void 0,"ES2015 named imports do not destructure. Use another statement for destructuring after the import."),Fr.expect.call(void 0,Gt.TokenType.comma),sr.eat.call(void 0,Gt.TokenType.braceR))break;Yot()}}}function Yot(){if(qt.isTypeScriptEnabled){Ba.tsParseImportSpecifier.call(void 0);return}if(qt.isFlowEnabled){Xo.flowParseImportSpecifier.call(void 0);return}wd.parseImportedIdentifier.call(void 0),Fr.isContextual.call(void 0,Wn.ContextualKeyword._as)&&(qt.state.tokens[qt.state.tokens.length-1].identifierRole=sr.IdentifierRole.ImportAccess,sr.next.call(void 0),wd.parseImportedIdentifier.call(void 0))}function Ihe(){(sr.match.call(void 0,Gt.TokenType._with)||Fr.isContextual.call(void 0,Wn.ContextualKeyword._assert)&&!Fr.hasPrecedingLineBreak.call(void 0))&&(sr.next.call(void 0),ki.parseObj.call(void 0,!1,!1))}});var The=Le(w8=>{"use strict";Object.defineProperty(w8,"__esModule",{value:!0});var She=io(),Lhe=Xl(),P8=Zl(),elt=Tg();function tlt(){return P8.state.pos===0&&P8.input.charCodeAt(0)===Lhe.charCodes.numberSign&&P8.input.charCodeAt(1)===Lhe.charCodes.exclamationMark&&She.skipLineComment.call(void 0,2),She.nextToken.call(void 0),elt.parseTopLevel.call(void 0)}w8.parseFile=tlt});var D8=Le(HC=>{"use strict";Object.defineProperty(HC,"__esModule",{value:!0});var uC=Zl(),rlt=The(),k8=class{constructor(t,n){this.tokens=t,this.scopes=n}};HC.File=k8;function nlt(e,t,n,i){if(i&&n)throw new Error("Cannot combine flow and typescript plugins.");uC.initParser.call(void 0,e,t,n,i);let o=rlt.parseFile.call(void 0);if(uC.state.error)throw uC.augmentError.call(void 0,uC.state.error);return o}HC.parse=nlt});var vhe=Le(N8=>{"use strict";Object.defineProperty(N8,"__esModule",{value:!0});var ilt=_o();function slt(e){let t=e.currentIndex(),n=0,i=e.currentToken();do{let o=e.tokens[t];if(o.isOptionalChainStart&&n++,o.isOptionalChainEnd&&n--,n+=o.numNullishCoalesceStarts,n-=o.numNullishCoalesceEnds,o.contextualKeyword===ilt.ContextualKeyword._await&&o.identifierRole==null&&o.scopeDepth===i.scopeDepth)return!0;t+=1}while(n>0&&t<e.tokens.length);return!1}N8.default=slt});var Che=Le($8=>{"use strict";Object.defineProperty($8,"__esModule",{value:!0});function alt(e){return e&&e.__esModule?e:{default:e}}var pC=_i(),olt=vhe(),llt=alt(olt),R8=class e{__init(){this.resultCode=""}__init2(){this.resultMappings=new Array(this.tokens.length)}__init3(){this.tokenIndex=0}constructor(t,n,i,o,r){this.code=t,this.tokens=n,this.isFlowEnabled=i,this.disableESTransforms=o,this.helperManager=r,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this)}snapshot(){return{resultCode:this.resultCode,tokenIndex:this.tokenIndex}}restoreToSnapshot(t){this.resultCode=t.resultCode,this.tokenIndex=t.tokenIndex}dangerouslyGetAndRemoveCodeSinceSnapshot(t){let n=this.resultCode.slice(t.resultCode.length);return this.resultCode=t.resultCode,n}reset(){this.resultCode="",this.resultMappings=new Array(this.tokens.length),this.tokenIndex=0}matchesContextualAtIndex(t,n){return this.matches1AtIndex(t,pC.TokenType.name)&&this.tokens[t].contextualKeyword===n}identifierNameAtIndex(t){return this.identifierNameForToken(this.tokens[t])}identifierNameAtRelativeIndex(t){return this.identifierNameForToken(this.tokenAtRelativeIndex(t))}identifierName(){return this.identifierNameForToken(this.currentToken())}identifierNameForToken(t){return this.code.slice(t.start,t.end)}rawCodeForToken(t){return this.code.slice(t.start,t.end)}stringValueAtIndex(t){return this.stringValueForToken(this.tokens[t])}stringValue(){return this.stringValueForToken(this.currentToken())}stringValueForToken(t){return this.code.slice(t.start+1,t.end-1)}matches1AtIndex(t,n){return this.tokens[t].type===n}matches2AtIndex(t,n,i){return this.tokens[t].type===n&&this.tokens[t+1].type===i}matches3AtIndex(t,n,i,o){return this.tokens[t].type===n&&this.tokens[t+1].type===i&&this.tokens[t+2].type===o}matches1(t){return this.tokens[this.tokenIndex].type===t}matches2(t,n){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===n}matches3(t,n,i){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===n&&this.tokens[this.tokenIndex+2].type===i}matches4(t,n,i,o){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===n&&this.tokens[this.tokenIndex+2].type===i&&this.tokens[this.tokenIndex+3].type===o}matches5(t,n,i,o,r){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===n&&this.tokens[this.tokenIndex+2].type===i&&this.tokens[this.tokenIndex+3].type===o&&this.tokens[this.tokenIndex+4].type===r}matchesContextual(t){return this.matchesContextualAtIndex(this.tokenIndex,t)}matchesContextIdAndLabel(t,n){return this.matches1(t)&&this.currentToken().contextId===n}previousWhitespaceAndComments(){let t=this.code.slice(this.tokenIndex>0?this.tokens[this.tokenIndex-1].end:0,this.tokenIndex<this.tokens.length?this.tokens[this.tokenIndex].start:this.code.length);return this.isFlowEnabled&&(t=t.replace(/@flow/g,"")),t}replaceToken(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}replaceTokenTrimmingLeftWhitespace(t){this.resultCode+=this.previousWhitespaceAndComments().replace(/[^\r\n]/g,""),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}removeInitialToken(){this.replaceToken("")}removeToken(){this.replaceTokenTrimmingLeftWhitespace("")}removeBalancedCode(){let t=0;for(;!this.isAtEnd();){if(this.matches1(pC.TokenType.braceL))t++;else if(this.matches1(pC.TokenType.braceR)){if(t===0)return;t--}this.removeToken()}}copyExpectedToken(t){if(this.tokens[this.tokenIndex].type!==t)throw new Error(`Expected token ${t}`);this.copyToken()}copyToken(){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}copyTokenWithPrefix(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultCode+=t,this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}appendTokenPrefix(){let t=this.currentToken();if((t.numNullishCoalesceStarts||t.isOptionalChainStart)&&(t.isAsyncOperation=llt.default.call(void 0,this)),!this.disableESTransforms){if(t.numNullishCoalesceStarts)for(let n=0;n<t.numNullishCoalesceStarts;n++)t.isAsyncOperation?(this.resultCode+="await ",this.resultCode+=this.helperManager.getHelperName("asyncNullishCoalesce")):this.resultCode+=this.helperManager.getHelperName("nullishCoalesce"),this.resultCode+="(";t.isOptionalChainStart&&(t.isAsyncOperation&&(this.resultCode+="await "),this.tokenIndex>0&&this.tokenAtRelativeIndex(-1).type===pC.TokenType._delete?t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete"):this.resultCode+=this.helperManager.getHelperName("optionalChainDelete"):t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain"):this.resultCode+=this.helperManager.getHelperName("optionalChain"),this.resultCode+="([")}}appendTokenSuffix(){let t=this.currentToken();if(t.isOptionalChainEnd&&!this.disableESTransforms&&(this.resultCode+="])"),t.numNullishCoalesceEnds&&!this.disableESTransforms)for(let n=0;n<t.numNullishCoalesceEnds;n++)this.resultCode+="))"}appendCode(t){this.resultCode+=t}currentToken(){return this.tokens[this.tokenIndex]}currentTokenCode(){let t=this.currentToken();return this.code.slice(t.start,t.end)}tokenAtRelativeIndex(t){return this.tokens[this.tokenIndex+t]}currentIndex(){return this.tokenIndex}nextToken(){if(this.tokenIndex===this.tokens.length)throw new Error("Unexpectedly reached end of input.");this.tokenIndex++}previousToken(){this.tokenIndex--}finish(){if(this.tokenIndex!==this.tokens.length)throw new Error("Tried to finish processing tokens before reaching the end.");return this.resultCode+=this.previousWhitespaceAndComments(),{code:this.resultCode,mappings:this.resultMappings}}isAtEnd(){return this.tokenIndex===this.tokens.length}};$8.default=R8});var Phe=Le(B8=>{"use strict";Object.defineProperty(B8,"__esModule",{value:!0});var xhe=_o(),Ii=_i();function clt(e,t,n,i){let o=t.snapshot(),r=ult(t),c=[],s=[],u=[],H=null,a=[],l=[],p=t.currentToken().contextId;if(p==null)throw new Error("Expected non-null class context ID on class open-brace.");for(t.nextToken();!t.matchesContextIdAndLabel(Ii.TokenType.braceR,p);)if(t.matchesContextual(xhe.ContextualKeyword._constructor)&&!t.currentToken().isType)({constructorInitializerStatements:c,constructorInsertPos:H}=Dhe(t));else if(t.matches1(Ii.TokenType.semi))i||l.push({start:t.currentIndex(),end:t.currentIndex()+1}),t.nextToken();else if(t.currentToken().isType)t.nextToken();else{let d=t.currentIndex(),h=!1,m=!1,g=!1;for(;dC(t.currentToken());)t.matches1(Ii.TokenType._static)&&(h=!0),t.matches1(Ii.TokenType.hash)&&(m=!0),(t.matches1(Ii.TokenType._declare)||t.matches1(Ii.TokenType._abstract))&&(g=!0),t.nextToken();if(h&&t.matches1(Ii.TokenType.braceL)){M8(t,p);continue}if(m){M8(t,p);continue}if(t.matchesContextual(xhe.ContextualKeyword._constructor)&&!t.currentToken().isType){({constructorInitializerStatements:c,constructorInsertPos:H}=Dhe(t));continue}let y=t.currentIndex();if(Hlt(t),t.matches1(Ii.TokenType.lessThan)||t.matches1(Ii.TokenType.parenL)){M8(t,p);continue}for(;t.currentToken().isType;)t.nextToken();if(t.matches1(Ii.TokenType.eq)){let _=t.currentIndex(),E=t.currentToken().rhsEndIndex;if(E==null)throw new Error("Expected rhsEndIndex on class field assignment.");for(t.nextToken();t.currentIndex()<E;)e.processToken();let A;h?(A=n.claimFreeName("__initStatic"),u.push(A)):(A=n.claimFreeName("__init"),s.push(A)),a.push({initializerName:A,equalsIndex:_,start:y,end:t.currentIndex()})}else(!i||g)&&l.push({start:d,end:t.currentIndex()})}return t.restoreToSnapshot(o),i?{headerInfo:r,constructorInitializerStatements:c,instanceInitializerNames:[],staticInitializerNames:[],constructorInsertPos:H,fields:[],rangesToRemove:l}:{headerInfo:r,constructorInitializerStatements:c,instanceInitializerNames:s,staticInitializerNames:u,constructorInsertPos:H,fields:a,rangesToRemove:l}}B8.default=clt;function M8(e,t){for(e.nextToken();e.currentToken().contextId!==t;)e.nextToken();for(;dC(e.tokenAtRelativeIndex(-1));)e.previousToken()}function ult(e){let t=e.currentToken(),n=t.contextId;if(n==null)throw new Error("Expected context ID on class token.");let i=t.isExpression;if(i==null)throw new Error("Expected isExpression on class token.");let o=null,r=!1;for(e.nextToken(),e.matches1(Ii.TokenType.name)&&(o=e.identifierName());!e.matchesContextIdAndLabel(Ii.TokenType.braceL,n);)e.matches1(Ii.TokenType._extends)&&!e.currentToken().isType&&(r=!0),e.nextToken();return{isExpression:i,className:o,hasSuperclass:r}}function Dhe(e){let t=[];e.nextToken();let n=e.currentToken().contextId;if(n==null)throw new Error("Expected context ID on open-paren starting constructor params.");for(;!e.matchesContextIdAndLabel(Ii.TokenType.parenR,n);)if(e.currentToken().contextId===n){if(e.nextToken(),dC(e.currentToken())){for(e.nextToken();dC(e.currentToken());)e.nextToken();let r=e.currentToken();if(r.type!==Ii.TokenType.name)throw new Error("Expected identifier after access modifiers in constructor arg.");let c=e.identifierNameForToken(r);t.push(`this.${c} = ${c}`)}}else e.nextToken();for(e.nextToken();e.currentToken().isType;)e.nextToken();let i=e.currentIndex(),o=!1;for(;!e.matchesContextIdAndLabel(Ii.TokenType.braceR,n);){if(!o&&e.matches2(Ii.TokenType._super,Ii.TokenType.parenL)){e.nextToken();let r=e.currentToken().contextId;if(r==null)throw new Error("Expected a context ID on the super call");for(;!e.matchesContextIdAndLabel(Ii.TokenType.parenR,r);)e.nextToken();i=e.currentIndex(),o=!0}e.nextToken()}return e.nextToken(),{constructorInitializerStatements:t,constructorInsertPos:i}}function dC(e){return[Ii.TokenType._async,Ii.TokenType._get,Ii.TokenType._set,Ii.TokenType.plus,Ii.TokenType.minus,Ii.TokenType._readonly,Ii.TokenType._static,Ii.TokenType._public,Ii.TokenType._private,Ii.TokenType._protected,Ii.TokenType._override,Ii.TokenType._abstract,Ii.TokenType.star,Ii.TokenType._declare,Ii.TokenType.hash].includes(e.type)}function Hlt(e){if(e.matches1(Ii.TokenType.bracketL)){let n=e.currentToken().contextId;if(n==null)throw new Error("Expected class context ID on computed name open bracket.");for(;!e.matchesContextIdAndLabel(Ii.TokenType.bracketR,n);)e.nextToken();e.nextToken()}else e.nextToken()}});var F8=Le(O8=>{"use strict";Object.defineProperty(O8,"__esModule",{value:!0});var whe=_i();function plt(e){if(e.removeInitialToken(),e.removeToken(),e.removeToken(),e.removeToken(),e.matches1(whe.TokenType.parenL))e.removeToken(),e.removeToken(),e.removeToken();else for(;e.matches1(whe.TokenType.dot);)e.removeToken(),e.removeToken()}O8.default=plt});var j8=Le(fC=>{"use strict";Object.defineProperty(fC,"__esModule",{value:!0});var dlt=io(),flt=_i(),hlt={typeDeclarations:new Set,valueDeclarations:new Set};fC.EMPTY_DECLARATION_INFO=hlt;function _lt(e){let t=new Set,n=new Set;for(let i=0;i<e.tokens.length;i++){let o=e.tokens[i];o.type===flt.TokenType.name&&dlt.isTopLevelDeclaration.call(void 0,o)&&(o.isType?t.add(e.identifierNameForToken(o)):n.add(e.identifierNameForToken(o)))}return{typeDeclarations:t,valueDeclarations:n}}fC.default=_lt});var q8=Le(U8=>{"use strict";Object.defineProperty(U8,"__esModule",{value:!0});var mlt=_o(),khe=_i();function Elt(e){let t=e.currentIndex();for(;!e.matches1AtIndex(t,khe.TokenType.braceR);)t++;return e.matchesContextualAtIndex(t+1,mlt.ContextualKeyword._from)&&e.matches1AtIndex(t+2,khe.TokenType.string)}U8.default=Elt});var V8=Le(W8=>{"use strict";Object.defineProperty(W8,"__esModule",{value:!0});var ylt=_o(),hC=_i();function glt(e){(e.matches2(hC.TokenType._with,hC.TokenType.braceL)||e.matches2(hC.TokenType.name,hC.TokenType.braceL)&&e.matchesContextual(ylt.ContextualKeyword._assert))&&(e.removeToken(),e.removeToken(),e.removeBalancedCode(),e.removeToken())}W8.removeMaybeImportAttributes=glt});var G8=Le(K8=>{"use strict";Object.defineProperty(K8,"__esModule",{value:!0});var Nhe=_i();function blt(e,t,n,i){if(!e||t)return!1;let o=n.currentToken();if(o.rhsEndIndex==null)throw new Error("Expected non-null rhsEndIndex on export token.");let r=o.rhsEndIndex-n.currentIndex();if(r!==3&&!(r===4&&n.matches1AtIndex(o.rhsEndIndex-1,Nhe.TokenType.semi)))return!1;let c=n.tokenAtRelativeIndex(2);if(c.type!==Nhe.TokenType.name)return!1;let s=n.identifierNameForToken(c);return i.typeDeclarations.has(s)&&!i.valueDeclarations.has(s)}K8.default=blt});var $he=Le(Z8=>{"use strict";Object.defineProperty(Z8,"__esModule",{value:!0});function Km(e){return e&&e.__esModule?e:{default:e}}var _C=io(),rh=_o(),Wt=_i(),Alt=F8(),Ilt=Km(Alt),Rhe=j8(),Slt=Km(Rhe),Llt=_g(),Tlt=Km(Llt),vlt=q8(),Clt=Km(vlt),mC=V8(),xlt=G8(),Dlt=Km(xlt),Plt=xc(),wlt=Km(Plt),X8=class e extends wlt.default{__init(){this.hadExport=!1}__init2(){this.hadNamedExport=!1}__init3(){this.hadDefaultExport=!1}constructor(t,n,i,o,r,c,s,u,H,a,l,p){super(),this.rootTransformer=t,this.tokens=n,this.importProcessor=i,this.nameManager=o,this.helperManager=r,this.reactHotLoaderTransformer=c,this.enableLegacyBabel5ModuleInterop=s,this.enableLegacyTypeScriptModuleInterop=u,this.isTypeScriptTransformEnabled=H,this.isFlowTransformEnabled=a,this.preserveDynamicImport=l,this.keepUnusedImports=p,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),this.declarationInfo=H?Slt.default.call(void 0,n):Rhe.EMPTY_DECLARATION_INFO}getPrefixCode(){let t="";return this.hadExport&&(t+='Object.defineProperty(exports, "__esModule", {value: true});'),t}getSuffixCode(){return this.enableLegacyBabel5ModuleInterop&&this.hadDefaultExport&&!this.hadNamedExport?`
|
|
module.exports = exports.default;
|
|
`:""}process(){return this.tokens.matches3(Wt.TokenType._import,Wt.TokenType.name,Wt.TokenType.eq)?this.processImportEquals():this.tokens.matches1(Wt.TokenType._import)?(this.processImport(),!0):this.tokens.matches2(Wt.TokenType._export,Wt.TokenType.eq)?(this.tokens.replaceToken("module.exports"),!0):this.tokens.matches1(Wt.TokenType._export)&&!this.tokens.currentToken().isType?(this.hadExport=!0,this.processExport()):this.tokens.matches2(Wt.TokenType.name,Wt.TokenType.postIncDec)&&this.processPostIncDec()?!0:this.tokens.matches1(Wt.TokenType.name)||this.tokens.matches1(Wt.TokenType.jsxName)?this.processIdentifier():this.tokens.matches1(Wt.TokenType.eq)?this.processAssignment():this.tokens.matches1(Wt.TokenType.assign)?this.processComplexAssignment():this.tokens.matches1(Wt.TokenType.preIncDec)?this.processPreIncDec():!1}processImportEquals(){let t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.importProcessor.shouldAutomaticallyElideImportedName(t)?Ilt.default.call(void 0,this.tokens):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(Wt.TokenType._import,Wt.TokenType.parenL)){if(this.preserveDynamicImport){this.tokens.copyToken();return}let n=this.enableLegacyTypeScriptModuleInterop?"":`${this.helperManager.getHelperName("interopRequireWildcard")}(`;this.tokens.replaceToken(`Promise.resolve().then(() => ${n}require`);let i=this.tokens.currentToken().contextId;if(i==null)throw new Error("Expected context ID on dynamic import invocation.");for(this.tokens.copyToken();!this.tokens.matchesContextIdAndLabel(Wt.TokenType.parenR,i);)this.rootTransformer.processToken();this.tokens.replaceToken(n?")))":"))");return}if(this.removeImportAndDetectIfShouldElide())this.tokens.removeToken();else{let n=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(n)),this.tokens.appendCode(this.importProcessor.claimImportCode(n))}mC.removeMaybeImportAttributes.call(void 0,this.tokens),this.tokens.matches1(Wt.TokenType.semi)&&this.tokens.removeToken()}removeImportAndDetectIfShouldElide(){if(this.tokens.removeInitialToken(),this.tokens.matchesContextual(rh.ContextualKeyword._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,Wt.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,rh.ContextualKeyword._from))return this.removeRemainingImport(),!0;if(this.tokens.matches1(Wt.TokenType.name)||this.tokens.matches1(Wt.TokenType.star))return this.removeRemainingImport(),!1;if(this.tokens.matches1(Wt.TokenType.string))return!1;let t=!1,n=!1;for(;!this.tokens.matches1(Wt.TokenType.string);)(!t&&this.tokens.matches1(Wt.TokenType.braceL)||this.tokens.matches1(Wt.TokenType.comma))&&(this.tokens.removeToken(),this.tokens.matches1(Wt.TokenType.braceR)||(n=!0),(this.tokens.matches2(Wt.TokenType.name,Wt.TokenType.comma)||this.tokens.matches2(Wt.TokenType.name,Wt.TokenType.braceR)||this.tokens.matches4(Wt.TokenType.name,Wt.TokenType.name,Wt.TokenType.name,Wt.TokenType.comma)||this.tokens.matches4(Wt.TokenType.name,Wt.TokenType.name,Wt.TokenType.name,Wt.TokenType.braceR))&&(t=!0)),this.tokens.removeToken();return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!t:this.isFlowTransformEnabled?n&&!t:!1}removeRemainingImport(){for(;!this.tokens.matches1(Wt.TokenType.string);)this.tokens.removeToken()}processIdentifier(){let t=this.tokens.currentToken();if(t.shadowsGlobal)return!1;if(t.identifierRole===_C.IdentifierRole.ObjectShorthand)return this.processObjectShorthand();if(t.identifierRole!==_C.IdentifierRole.Access)return!1;let n=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(t));if(!n)return!1;let i=this.tokens.currentIndex()+1;for(;i<this.tokens.tokens.length&&this.tokens.tokens[i].type===Wt.TokenType.parenR;)i++;return this.tokens.tokens[i].type===Wt.TokenType.parenL?this.tokens.tokenAtRelativeIndex(1).type===Wt.TokenType.parenL&&this.tokens.tokenAtRelativeIndex(-1).type!==Wt.TokenType._new?(this.tokens.replaceToken(`${n}.call(void 0, `),this.tokens.removeToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(Wt.TokenType.parenR)):this.tokens.replaceToken(`(0, ${n})`):this.tokens.replaceToken(n),!0}processObjectShorthand(){let t=this.tokens.identifierName(),n=this.importProcessor.getIdentifierReplacement(t);return n?(this.tokens.replaceToken(`${t}: ${n}`),!0):!1}processExport(){if(this.tokens.matches2(Wt.TokenType._export,Wt.TokenType._enum)||this.tokens.matches3(Wt.TokenType._export,Wt.TokenType._const,Wt.TokenType._enum))return this.hadNamedExport=!0,!1;if(this.tokens.matches2(Wt.TokenType._export,Wt.TokenType._default))return this.tokens.matches3(Wt.TokenType._export,Wt.TokenType._default,Wt.TokenType._enum)?(this.hadDefaultExport=!0,!1):(this.processExportDefault(),!0);if(this.tokens.matches2(Wt.TokenType._export,Wt.TokenType.braceL))return this.processExportBindings(),!0;if(this.tokens.matches2(Wt.TokenType._export,Wt.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,rh.ContextualKeyword._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(Wt.TokenType.braceL)){for(;!this.tokens.matches1(Wt.TokenType.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(Wt.TokenType._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(rh.ContextualKeyword._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,Wt.TokenType.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),mC.removeMaybeImportAttributes.call(void 0,this.tokens)),!0}if(this.hadNamedExport=!0,this.tokens.matches2(Wt.TokenType._export,Wt.TokenType._var)||this.tokens.matches2(Wt.TokenType._export,Wt.TokenType._let)||this.tokens.matches2(Wt.TokenType._export,Wt.TokenType._const))return this.processExportVar(),!0;if(this.tokens.matches2(Wt.TokenType._export,Wt.TokenType._function)||this.tokens.matches3(Wt.TokenType._export,Wt.TokenType.name,Wt.TokenType._function))return this.processExportFunction(),!0;if(this.tokens.matches2(Wt.TokenType._export,Wt.TokenType._class)||this.tokens.matches3(Wt.TokenType._export,Wt.TokenType._abstract,Wt.TokenType._class)||this.tokens.matches2(Wt.TokenType._export,Wt.TokenType.at))return this.processExportClass(),!0;if(this.tokens.matches2(Wt.TokenType._export,Wt.TokenType.star))return this.processExportStar(),!0;throw new Error("Unrecognized export syntax.")}processAssignment(){let t=this.tokens.currentIndex(),n=this.tokens.tokens[t-1];if(n.isType||n.type!==Wt.TokenType.name||n.shadowsGlobal||t>=2&&this.tokens.matches1AtIndex(t-2,Wt.TokenType.dot)||t>=2&&[Wt.TokenType._var,Wt.TokenType._let,Wt.TokenType._const].includes(this.tokens.tokens[t-2].type))return!1;let i=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(n));return i?(this.tokens.copyToken(),this.tokens.appendCode(` ${i} =`),!0):!1}processComplexAssignment(){let t=this.tokens.currentIndex(),n=this.tokens.tokens[t-1];if(n.type!==Wt.TokenType.name||n.shadowsGlobal||t>=2&&this.tokens.matches1AtIndex(t-2,Wt.TokenType.dot))return!1;let i=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(n));return i?(this.tokens.appendCode(` = ${i}`),this.tokens.copyToken(),!0):!1}processPreIncDec(){let t=this.tokens.currentIndex(),n=this.tokens.tokens[t+1];if(n.type!==Wt.TokenType.name||n.shadowsGlobal||t+2<this.tokens.tokens.length&&(this.tokens.matches1AtIndex(t+2,Wt.TokenType.dot)||this.tokens.matches1AtIndex(t+2,Wt.TokenType.bracketL)||this.tokens.matches1AtIndex(t+2,Wt.TokenType.parenL)))return!1;let i=this.tokens.identifierNameForToken(n),o=this.importProcessor.resolveExportBinding(i);return o?(this.tokens.appendCode(`${o} = `),this.tokens.copyToken(),!0):!1}processPostIncDec(){let t=this.tokens.currentIndex(),n=this.tokens.tokens[t],i=this.tokens.tokens[t+1];if(n.type!==Wt.TokenType.name||n.shadowsGlobal||t>=1&&this.tokens.matches1AtIndex(t-1,Wt.TokenType.dot))return!1;let o=this.tokens.identifierNameForToken(n),r=this.importProcessor.resolveExportBinding(o);if(!r)return!1;let c=this.tokens.rawCodeForToken(i),s=this.importProcessor.getIdentifierReplacement(o)||o;if(c==="++")this.tokens.replaceToken(`(${s} = ${r} = ${s} + 1, ${s} - 1)`);else if(c==="--")this.tokens.replaceToken(`(${s} = ${r} = ${s} - 1, ${s} + 1)`);else throw new Error(`Unexpected operator: ${c}`);return this.tokens.removeToken(),!0}processExportDefault(){let t=!0;if(this.tokens.matches4(Wt.TokenType._export,Wt.TokenType._default,Wt.TokenType._function,Wt.TokenType.name)||this.tokens.matches5(Wt.TokenType._export,Wt.TokenType._default,Wt.TokenType.name,Wt.TokenType._function,Wt.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,rh.ContextualKeyword._async)){this.tokens.removeInitialToken(),this.tokens.removeToken();let n=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${n};`)}else if(this.tokens.matches4(Wt.TokenType._export,Wt.TokenType._default,Wt.TokenType._class,Wt.TokenType.name)||this.tokens.matches5(Wt.TokenType._export,Wt.TokenType._default,Wt.TokenType._abstract,Wt.TokenType._class,Wt.TokenType.name)||this.tokens.matches3(Wt.TokenType._export,Wt.TokenType._default,Wt.TokenType.at)){this.tokens.removeInitialToken(),this.tokens.removeToken(),this.copyDecorators(),this.tokens.matches1(Wt.TokenType._abstract)&&this.tokens.removeToken();let n=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${n};`)}else if(Dlt.default.call(void 0,this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))t=!1,this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){let n=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${n}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${n} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(n)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =");t&&(this.hadDefaultExport=!0)}copyDecorators(){for(;this.tokens.matches1(Wt.TokenType.at);)if(this.tokens.copyToken(),this.tokens.matches1(Wt.TokenType.parenL))this.tokens.copyExpectedToken(Wt.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(Wt.TokenType.parenR);else{for(this.tokens.copyExpectedToken(Wt.TokenType.name);this.tokens.matches1(Wt.TokenType.dot);)this.tokens.copyExpectedToken(Wt.TokenType.dot),this.tokens.copyExpectedToken(Wt.TokenType.name);this.tokens.matches1(Wt.TokenType.parenL)&&(this.tokens.copyExpectedToken(Wt.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(Wt.TokenType.parenR))}}processExportVar(){this.isSimpleExportVar()?this.processSimpleExportVar():this.processComplexExportVar()}isSimpleExportVar(){let t=this.tokens.currentIndex();if(t++,t++,!this.tokens.matches1AtIndex(t,Wt.TokenType.name))return!1;for(t++;t<this.tokens.tokens.length&&this.tokens.tokens[t].isType;)t++;return!!this.tokens.matches1AtIndex(t,Wt.TokenType.eq)}processSimpleExportVar(){this.tokens.removeInitialToken(),this.tokens.copyToken();let t=this.tokens.identifierName();for(;!this.tokens.matches1(Wt.TokenType.eq);)this.rootTransformer.processToken();let n=this.tokens.currentToken().rhsEndIndex;if(n==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<n;)this.rootTransformer.processToken();this.tokens.appendCode(`; exports.${t} = ${t}`)}processComplexExportVar(){this.tokens.removeInitialToken(),this.tokens.removeToken();let t=this.tokens.matches1(Wt.TokenType.braceL);t&&this.tokens.appendCode("(");let n=0;for(;;)if(this.tokens.matches1(Wt.TokenType.braceL)||this.tokens.matches1(Wt.TokenType.dollarBraceL)||this.tokens.matches1(Wt.TokenType.bracketL))n++,this.tokens.copyToken();else if(this.tokens.matches1(Wt.TokenType.braceR)||this.tokens.matches1(Wt.TokenType.bracketR))n--,this.tokens.copyToken();else{if(n===0&&!this.tokens.matches1(Wt.TokenType.name)&&!this.tokens.currentToken().isType)break;if(this.tokens.matches1(Wt.TokenType.eq)){let i=this.tokens.currentToken().rhsEndIndex;if(i==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<i;)this.rootTransformer.processToken()}else{let i=this.tokens.currentToken();if(_C.isDeclaration.call(void 0,i)){let o=this.tokens.identifierName(),r=this.importProcessor.getIdentifierReplacement(o);if(r===null)throw new Error(`Expected a replacement for ${o} in \`export var\` syntax.`);_C.isObjectShorthandDeclaration.call(void 0,i)&&(r=`${o}: ${r}`),this.tokens.replaceToken(r)}else this.rootTransformer.processToken()}}if(t){let i=this.tokens.currentToken().rhsEndIndex;if(i==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<i;)this.rootTransformer.processToken();this.tokens.appendCode(")")}}processExportFunction(){this.tokens.replaceToken("");let t=this.processNamedFunction();this.tokens.appendCode(` exports.${t} = ${t};`)}processNamedFunction(){if(this.tokens.matches1(Wt.TokenType._function))this.tokens.copyToken();else if(this.tokens.matches2(Wt.TokenType.name,Wt.TokenType._function)){if(!this.tokens.matchesContextual(rh.ContextualKeyword._async))throw new Error("Expected async keyword in function export.");this.tokens.copyToken(),this.tokens.copyToken()}if(this.tokens.matches1(Wt.TokenType.star)&&this.tokens.copyToken(),!this.tokens.matches1(Wt.TokenType.name))throw new Error("Expected identifier for exported function name.");let t=this.tokens.identifierName();if(this.tokens.copyToken(),this.tokens.currentToken().isType)for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return this.tokens.copyExpectedToken(Wt.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(Wt.TokenType.parenR),this.rootTransformer.processPossibleTypeRange(),this.tokens.copyExpectedToken(Wt.TokenType.braceL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(Wt.TokenType.braceR),t}processExportClass(){this.tokens.removeInitialToken(),this.copyDecorators(),this.tokens.matches1(Wt.TokenType._abstract)&&this.tokens.removeToken();let t=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.${t} = ${t};`)}processExportBindings(){this.tokens.removeInitialToken(),this.tokens.removeToken();let t=Clt.default.call(void 0,this.tokens),n=[];for(;;){if(this.tokens.matches1(Wt.TokenType.braceR)){this.tokens.removeToken();break}let i=Tlt.default.call(void 0,this.tokens);for(;this.tokens.currentIndex()<i.endIndex;)this.tokens.removeToken();if(!(i.isType||!t&&this.shouldElideExportedIdentifier(i.leftName))){let r=i.rightName;r==="default"?this.hadDefaultExport=!0:this.hadNamedExport=!0;let c=i.leftName,s=this.importProcessor.getIdentifierReplacement(c);n.push(`exports.${r} = ${s||c};`)}if(this.tokens.matches1(Wt.TokenType.braceR)){this.tokens.removeToken();break}if(this.tokens.matches2(Wt.TokenType.comma,Wt.TokenType.braceR)){this.tokens.removeToken(),this.tokens.removeToken();break}else if(this.tokens.matches1(Wt.TokenType.comma))this.tokens.removeToken();else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.currentToken())}`)}if(this.tokens.matchesContextual(rh.ContextualKeyword._from)){this.tokens.removeToken();let i=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(i)),mC.removeMaybeImportAttributes.call(void 0,this.tokens)}else this.tokens.appendCode(n.join(" "));this.tokens.matches1(Wt.TokenType.semi)&&this.tokens.removeToken()}processExportStar(){for(this.tokens.removeInitialToken();!this.tokens.matches1(Wt.TokenType.string);)this.tokens.removeToken();let t=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(t)),mC.removeMaybeImportAttributes.call(void 0,this.tokens),this.tokens.matches1(Wt.TokenType.semi)&&this.tokens.removeToken()}shouldElideExportedIdentifier(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.declarationInfo.valueDeclarations.has(t)}};Z8.default=X8});var Ohe=Le(Q8=>{"use strict";Object.defineProperty(Q8,"__esModule",{value:!0});function Gm(e){return e&&e.__esModule?e:{default:e}}var op=_o(),an=_i(),klt=F8(),Nlt=Gm(klt),Bhe=j8(),Rlt=Gm(Bhe),$lt=_g(),Mhe=Gm($lt),Mlt=S3(),Blt=q8(),Olt=Gm(Blt),z8=V8(),Flt=G8(),jlt=Gm(Flt),Ult=xc(),qlt=Gm(Ult),J8=class extends qlt.default{constructor(t,n,i,o,r,c,s,u){super(),this.tokens=t,this.nameManager=n,this.helperManager=i,this.reactHotLoaderTransformer=o,this.isTypeScriptTransformEnabled=r,this.isFlowTransformEnabled=c,this.keepUnusedImports=s,this.nonTypeIdentifiers=r&&!s?Mlt.getNonTypeIdentifiers.call(void 0,t,u):new Set,this.declarationInfo=r&&!s?Rlt.default.call(void 0,t):Bhe.EMPTY_DECLARATION_INFO,this.injectCreateRequireForImportRequire=!!u.injectCreateRequireForImportRequire}process(){if(this.tokens.matches3(an.TokenType._import,an.TokenType.name,an.TokenType.eq))return this.processImportEquals();if(this.tokens.matches4(an.TokenType._import,an.TokenType.name,an.TokenType.name,an.TokenType.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,op.ContextualKeyword._type)){this.tokens.removeInitialToken();for(let t=0;t<7;t++)this.tokens.removeToken();return!0}if(this.tokens.matches2(an.TokenType._export,an.TokenType.eq))return this.tokens.replaceToken("module.exports"),!0;if(this.tokens.matches5(an.TokenType._export,an.TokenType._import,an.TokenType.name,an.TokenType.name,an.TokenType.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,op.ContextualKeyword._type)){this.tokens.removeInitialToken();for(let t=0;t<8;t++)this.tokens.removeToken();return!0}if(this.tokens.matches1(an.TokenType._import))return this.processImport();if(this.tokens.matches2(an.TokenType._export,an.TokenType._default))return this.processExportDefault();if(this.tokens.matches2(an.TokenType._export,an.TokenType.braceL))return this.processNamedExports();if(this.tokens.matches2(an.TokenType._export,an.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,op.ContextualKeyword._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(an.TokenType.braceL)){for(;!this.tokens.matches1(an.TokenType.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(an.TokenType._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(op.ContextualKeyword._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,an.TokenType.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),z8.removeMaybeImportAttributes.call(void 0,this.tokens)),!0}return!1}processImportEquals(){let t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.shouldAutomaticallyElideImportedName(t)?Nlt.default.call(void 0,this.tokens):this.injectCreateRequireForImportRequire?(this.tokens.replaceToken("const"),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.replaceToken(this.helperManager.getHelperName("require"))):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(an.TokenType._import,an.TokenType.parenL))return!1;let t=this.tokens.snapshot();if(this.removeImportTypeBindings()){for(this.tokens.restoreToSnapshot(t);!this.tokens.matches1(an.TokenType.string);)this.tokens.removeToken();this.tokens.removeToken(),z8.removeMaybeImportAttributes.call(void 0,this.tokens),this.tokens.matches1(an.TokenType.semi)&&this.tokens.removeToken()}return!0}removeImportTypeBindings(){if(this.tokens.copyExpectedToken(an.TokenType._import),this.tokens.matchesContextual(op.ContextualKeyword._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,an.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,op.ContextualKeyword._from))return!0;if(this.tokens.matches1(an.TokenType.string))return this.tokens.copyToken(),!1;this.tokens.matchesContextual(op.ContextualKeyword._module)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,op.ContextualKeyword._from)&&this.tokens.copyToken();let t=!1,n=!1,i=!1;if(this.tokens.matches1(an.TokenType.name)&&(this.shouldAutomaticallyElideImportedName(this.tokens.identifierName())?(this.tokens.removeToken(),this.tokens.matches1(an.TokenType.comma)&&this.tokens.removeToken()):(t=!0,this.tokens.copyToken(),this.tokens.matches1(an.TokenType.comma)&&(i=!0,this.tokens.removeToken()))),this.tokens.matches1(an.TokenType.star))this.shouldAutomaticallyElideImportedName(this.tokens.identifierNameAtRelativeIndex(2))?(this.tokens.removeToken(),this.tokens.removeToken(),this.tokens.removeToken()):(i&&this.tokens.appendCode(","),t=!0,this.tokens.copyExpectedToken(an.TokenType.star),this.tokens.copyExpectedToken(an.TokenType.name),this.tokens.copyExpectedToken(an.TokenType.name));else if(this.tokens.matches1(an.TokenType.braceL)){for(i&&this.tokens.appendCode(","),this.tokens.copyToken();!this.tokens.matches1(an.TokenType.braceR);){n=!0;let o=Mhe.default.call(void 0,this.tokens);if(o.isType||this.shouldAutomaticallyElideImportedName(o.rightName)){for(;this.tokens.currentIndex()<o.endIndex;)this.tokens.removeToken();this.tokens.matches1(an.TokenType.comma)&&this.tokens.removeToken()}else{for(t=!0;this.tokens.currentIndex()<o.endIndex;)this.tokens.copyToken();this.tokens.matches1(an.TokenType.comma)&&this.tokens.copyToken()}}this.tokens.copyExpectedToken(an.TokenType.braceR)}return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!t:this.isFlowTransformEnabled?n&&!t:!1}shouldAutomaticallyElideImportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(t)}processExportDefault(){if(jlt.default.call(void 0,this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))return this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken(),!0;if(!(this.tokens.matches4(an.TokenType._export,an.TokenType._default,an.TokenType._function,an.TokenType.name)||this.tokens.matches5(an.TokenType._export,an.TokenType._default,an.TokenType.name,an.TokenType._function,an.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,op.ContextualKeyword._async)||this.tokens.matches4(an.TokenType._export,an.TokenType._default,an.TokenType._class,an.TokenType.name)||this.tokens.matches5(an.TokenType._export,an.TokenType._default,an.TokenType._abstract,an.TokenType._class,an.TokenType.name))&&this.reactHotLoaderTransformer){let n=this.nameManager.claimFreeName("_default");return this.tokens.replaceToken(`let ${n}; export`),this.tokens.copyToken(),this.tokens.appendCode(` ${n} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(n),!0}return!1}processNamedExports(){if(!this.isTypeScriptTransformEnabled)return!1;this.tokens.copyExpectedToken(an.TokenType._export),this.tokens.copyExpectedToken(an.TokenType.braceL);let t=Olt.default.call(void 0,this.tokens),n=!1;for(;!this.tokens.matches1(an.TokenType.braceR);){let i=Mhe.default.call(void 0,this.tokens);if(i.isType||!t&&this.shouldElideExportedName(i.leftName)){for(;this.tokens.currentIndex()<i.endIndex;)this.tokens.removeToken();this.tokens.matches1(an.TokenType.comma)&&this.tokens.removeToken()}else{for(n=!0;this.tokens.currentIndex()<i.endIndex;)this.tokens.copyToken();this.tokens.matches1(an.TokenType.comma)&&this.tokens.copyToken()}}return this.tokens.copyExpectedToken(an.TokenType.braceR),!this.keepUnusedImports&&t&&!n&&(this.tokens.removeToken(),this.tokens.removeToken(),z8.removeMaybeImportAttributes.call(void 0,this.tokens)),!0}shouldElideExportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&this.declarationInfo.typeDeclarations.has(t)&&!this.declarationInfo.valueDeclarations.has(t)}};Q8.default=J8});var jhe=Le(eF=>{"use strict";Object.defineProperty(eF,"__esModule",{value:!0});function Wlt(e){return e&&e.__esModule?e:{default:e}}var Fhe=_o(),Yl=_i(),Vlt=xc(),Klt=Wlt(Vlt),Y8=class extends Klt.default{constructor(t,n,i){super(),this.rootTransformer=t,this.tokens=n,this.isImportsTransformEnabled=i}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(Yl.TokenType._enum)?(this.processEnum(),!0):this.tokens.matches2(Yl.TokenType._export,Yl.TokenType._enum)?(this.processNamedExportEnum(),!0):this.tokens.matches3(Yl.TokenType._export,Yl.TokenType._default,Yl.TokenType._enum)?(this.processDefaultExportEnum(),!0):!1}processNamedExportEnum(){if(this.isImportsTransformEnabled){this.tokens.removeInitialToken();let t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.tokens.appendCode(` exports.${t} = ${t};`)}else this.tokens.copyToken(),this.processEnum()}processDefaultExportEnum(){this.tokens.removeInitialToken(),this.tokens.removeToken();let t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.isImportsTransformEnabled?this.tokens.appendCode(` exports.default = ${t};`):this.tokens.appendCode(` export default ${t};`)}processEnum(){this.tokens.replaceToken("const"),this.tokens.copyExpectedToken(Yl.TokenType.name);let t=!1;this.tokens.matchesContextual(Fhe.ContextualKeyword._of)&&(this.tokens.removeToken(),t=this.tokens.matchesContextual(Fhe.ContextualKeyword._symbol),this.tokens.removeToken());let n=this.tokens.matches3(Yl.TokenType.braceL,Yl.TokenType.name,Yl.TokenType.eq);this.tokens.appendCode(' = require("flow-enums-runtime")');let i=!t&&!n;for(this.tokens.replaceTokenTrimmingLeftWhitespace(i?".Mirrored([":"({");!this.tokens.matches1(Yl.TokenType.braceR);){if(this.tokens.matches1(Yl.TokenType.ellipsis)){this.tokens.removeToken();break}this.processEnumElement(t,n),this.tokens.matches1(Yl.TokenType.comma)&&this.tokens.copyToken()}this.tokens.replaceToken(i?"]);":"});")}processEnumElement(t,n){if(t){let i=this.tokens.identifierName();this.tokens.copyToken(),this.tokens.appendCode(`: Symbol("${i}")`)}else n?(this.tokens.copyToken(),this.tokens.replaceTokenTrimmingLeftWhitespace(":"),this.tokens.copyToken()):this.tokens.replaceToken(`"${this.tokens.identifierName()}"`)}};eF.default=Y8});var Uhe=Le(rF=>{"use strict";Object.defineProperty(rF,"__esModule",{value:!0});function Glt(e){return e&&e.__esModule?e:{default:e}}function Xlt(e){let t,n=e[0],i=1;for(;i<e.length;){let o=e[i],r=e[i+1];if(i+=2,(o==="optionalAccess"||o==="optionalCall")&&n==null)return;o==="access"||o==="optionalAccess"?(t=n,n=r(n)):(o==="call"||o==="optionalCall")&&(n=r((...c)=>n.call(t,...c)),t=void 0)}return n}var lp=_i(),Zlt=xc(),zlt=Glt(Zlt),EC="jest",Jlt=["mock","unmock","enableAutomock","disableAutomock"],tF=class e extends zlt.default{__init(){this.hoistedFunctionNames=[]}constructor(t,n,i,o){super(),this.rootTransformer=t,this.tokens=n,this.nameManager=i,this.importProcessor=o,e.prototype.__init.call(this)}process(){return this.tokens.currentToken().scopeDepth===0&&this.tokens.matches4(lp.TokenType.name,lp.TokenType.dot,lp.TokenType.name,lp.TokenType.parenL)&&this.tokens.identifierName()===EC?Xlt([this,"access",t=>t.importProcessor,"optionalAccess",t=>t.getGlobalNames,"call",t=>t(),"optionalAccess",t=>t.has,"call",t=>t(EC)])?!1:this.extractHoistedCalls():!1}getHoistedCode(){return this.hoistedFunctionNames.length>0?this.hoistedFunctionNames.map(t=>`${t}();`).join(""):""}extractHoistedCalls(){this.tokens.removeToken();let t=!1;for(;this.tokens.matches3(lp.TokenType.dot,lp.TokenType.name,lp.TokenType.parenL);){let n=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(Jlt.includes(n)){let o=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(o),this.tokens.replaceToken(`function ${o}(){${EC}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(lp.TokenType.parenR),this.tokens.appendCode(";}"),t=!1}else t?this.tokens.copyToken():this.tokens.replaceToken(`${EC}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(lp.TokenType.parenR),t=!0}return!0}};rF.default=tF});var qhe=Le(iF=>{"use strict";Object.defineProperty(iF,"__esModule",{value:!0});function Qlt(e){return e&&e.__esModule?e:{default:e}}var Ylt=_i(),ect=xc(),tct=Qlt(ect),nF=class extends tct.default{constructor(t){super(),this.tokens=t}process(){if(this.tokens.matches1(Ylt.TokenType.num)){let t=this.tokens.currentTokenCode();if(t.includes("_"))return this.tokens.replaceToken(t.replace(/_/g,"")),!0}return!1}};iF.default=nF});var Vhe=Le(aF=>{"use strict";Object.defineProperty(aF,"__esModule",{value:!0});function rct(e){return e&&e.__esModule?e:{default:e}}var Whe=_i(),nct=xc(),ict=rct(nct),sF=class extends ict.default{constructor(t,n){super(),this.tokens=t,this.nameManager=n}process(){return this.tokens.matches2(Whe.TokenType._catch,Whe.TokenType.braceL)?(this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0):!1}};aF.default=sF});var Khe=Le(lF=>{"use strict";Object.defineProperty(lF,"__esModule",{value:!0});function sct(e){return e&&e.__esModule?e:{default:e}}var sl=_i(),act=xc(),oct=sct(act),oF=class extends oct.default{constructor(t,n){super(),this.tokens=t,this.nameManager=n}process(){if(this.tokens.matches1(sl.TokenType.nullishCoalescing)){let i=this.tokens.currentToken();return this.tokens.tokens[i.nullishStartIndex].isAsyncOperation?this.tokens.replaceTokenTrimmingLeftWhitespace(", async () => ("):this.tokens.replaceTokenTrimmingLeftWhitespace(", () => ("),!0}if(this.tokens.matches1(sl.TokenType._delete)&&this.tokens.tokenAtRelativeIndex(1).isOptionalChainStart)return this.tokens.removeInitialToken(),!0;let n=this.tokens.currentToken().subscriptStartIndex;if(n!=null&&this.tokens.tokens[n].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==sl.TokenType._super){let i=this.nameManager.claimFreeName("_"),o;if(n>0&&this.tokens.matches1AtIndex(n-1,sl.TokenType._delete)&&this.isLastSubscriptInChain()?o=`${i} => delete ${i}`:o=`${i} => ${i}`,this.tokens.tokens[n].isAsyncOperation&&(o=`async ${o}`),this.tokens.matches2(sl.TokenType.questionDot,sl.TokenType.parenL)||this.tokens.matches2(sl.TokenType.questionDot,sl.TokenType.lessThan))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalCall', ${o}`);else if(this.tokens.matches2(sl.TokenType.questionDot,sl.TokenType.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${o}`);else if(this.tokens.matches1(sl.TokenType.questionDot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${o}.`);else if(this.tokens.matches1(sl.TokenType.dot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${o}.`);else if(this.tokens.matches1(sl.TokenType.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${o}[`);else if(this.tokens.matches1(sl.TokenType.parenL))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'call', ${o}(`);else throw new Error("Unexpected subscript operator in optional chain.");return!0}return!1}isLastSubscriptInChain(){let t=0;for(let n=this.tokens.currentIndex()+1;;n++){if(n>=this.tokens.tokens.length)throw new Error("Reached the end of the code while finding the end of the access chain.");if(this.tokens.tokens[n].isOptionalChainStart?t++:this.tokens.tokens[n].isOptionalChainEnd&&t--,t<0)return!0;if(t===0&&this.tokens.tokens[n].subscriptStartIndex!=null)return!1}}justSkippedSuper(){let t=0,n=this.tokens.currentIndex()-1;for(;;){if(n<0)throw new Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[n].isOptionalChainStart?t--:this.tokens.tokens[n].isOptionalChainEnd&&t++,t<0)return!1;if(t===0&&this.tokens.tokens[n].subscriptStartIndex!=null)return this.tokens.tokens[n-1].type===sl.TokenType._super;n--}}};lF.default=oF});var Xhe=Le(uF=>{"use strict";Object.defineProperty(uF,"__esModule",{value:!0});function lct(e){return e&&e.__esModule?e:{default:e}}var Ghe=io(),No=_i(),cct=xc(),uct=lct(cct),cF=class extends uct.default{constructor(t,n,i,o){super(),this.rootTransformer=t,this.tokens=n,this.importProcessor=i,this.options=o}process(){let t=this.tokens.currentIndex();if(this.tokens.identifierName()==="createReactClass"){let n=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");return n?this.tokens.replaceToken(`(0, ${n})`):this.tokens.copyToken(),this.tryProcessCreateClassCall(t),!0}if(this.tokens.matches3(No.TokenType.name,No.TokenType.dot,No.TokenType.name)&&this.tokens.identifierName()==="React"&&this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+2)==="createClass"){let n=this.importProcessor&&this.importProcessor.getIdentifierReplacement("React")||"React";return n?(this.tokens.replaceToken(n),this.tokens.copyToken(),this.tokens.copyToken()):(this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.copyToken()),this.tryProcessCreateClassCall(t),!0}return!1}tryProcessCreateClassCall(t){let n=this.findDisplayName(t);n&&this.classNeedsDisplayName()&&(this.tokens.copyExpectedToken(No.TokenType.parenL),this.tokens.copyExpectedToken(No.TokenType.braceL),this.tokens.appendCode(`displayName: '${n}',`),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(No.TokenType.braceR),this.tokens.copyExpectedToken(No.TokenType.parenR))}findDisplayName(t){return t<2?null:this.tokens.matches2AtIndex(t-2,No.TokenType.name,No.TokenType.eq)?this.tokens.identifierNameAtIndex(t-2):t>=2&&this.tokens.tokens[t-2].identifierRole===Ghe.IdentifierRole.ObjectKey?this.tokens.identifierNameAtIndex(t-2):this.tokens.matches2AtIndex(t-2,No.TokenType._export,No.TokenType._default)?this.getDisplayNameFromFilename():null}getDisplayNameFromFilename(){let n=(this.options.filePath||"unknown").split("/"),i=n[n.length-1],o=i.lastIndexOf("."),r=o===-1?i:i.slice(0,o);return r==="index"&&n[n.length-2]?n[n.length-2]:r}classNeedsDisplayName(){let t=this.tokens.currentIndex();if(!this.tokens.matches2(No.TokenType.parenL,No.TokenType.braceL))return!1;let n=t+1,i=this.tokens.tokens[n].contextId;if(i==null)throw new Error("Expected non-null context ID on object open-brace.");for(;t<this.tokens.tokens.length;t++){let o=this.tokens.tokens[t];if(o.type===No.TokenType.braceR&&o.contextId===i){t++;break}if(this.tokens.identifierNameAtIndex(t)==="displayName"&&this.tokens.tokens[t].identifierRole===Ghe.IdentifierRole.ObjectKey&&o.contextId===i)return!1}if(t===this.tokens.tokens.length)throw new Error("Unexpected end of input when processing React class.");return this.tokens.matches1AtIndex(t,No.TokenType.parenR)||this.tokens.matches2AtIndex(t,No.TokenType.comma,No.TokenType.parenR)}};uF.default=cF});var zhe=Le(pF=>{"use strict";Object.defineProperty(pF,"__esModule",{value:!0});function Hct(e){return e&&e.__esModule?e:{default:e}}var Zhe=io(),pct=xc(),dct=Hct(pct),HF=class e extends dct.default{__init(){this.extractedDefaultExportName=null}constructor(t,n){super(),this.tokens=t,this.filePath=n,e.prototype.__init.call(this)}setExtractedDefaultExportName(t){this.extractedDefaultExportName=t}getPrefixCode(){return`
|
|
(function () {
|
|
var enterModule = require('react-hot-loader').enterModule;
|
|
enterModule && enterModule(module);
|
|
})();`.replace(/\s+/g," ").trim()}getSuffixCode(){let t=new Set;for(let i of this.tokens.tokens)!i.isType&&Zhe.isTopLevelDeclaration.call(void 0,i)&&i.identifierRole!==Zhe.IdentifierRole.ImportDeclaration&&t.add(this.tokens.identifierNameForToken(i));let n=Array.from(t).map(i=>({variableName:i,uniqueLocalName:i}));return this.extractedDefaultExportName&&n.push({variableName:this.extractedDefaultExportName,uniqueLocalName:"default"}),`
|
|
;(function () {
|
|
var reactHotLoader = require('react-hot-loader').default;
|
|
var leaveModule = require('react-hot-loader').leaveModule;
|
|
if (!reactHotLoader) {
|
|
return;
|
|
}
|
|
${n.map(({variableName:i,uniqueLocalName:o})=>` reactHotLoader.register(${i}, "${o}", ${JSON.stringify(this.filePath||"")});`).join(`
|
|
`)}
|
|
leaveModule(module);
|
|
})();`}process(){return!1}};pF.default=HF});var Qhe=Le(dF=>{"use strict";Object.defineProperty(dF,"__esModule",{value:!0});var Jhe=wm(),fct=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield","enum","implements","interface","let","package","private","protected","public","static","await","false","null","true"]);function hct(e){if(e.length===0||!Jhe.IS_IDENTIFIER_START[e.charCodeAt(0)])return!1;for(let t=1;t<e.length;t++)if(!Jhe.IS_IDENTIFIER_CHAR[e.charCodeAt(t)])return!1;return!fct.has(e)}dF.default=hct});var t_e=Le(hF=>{"use strict";Object.defineProperty(hF,"__esModule",{value:!0});function e_e(e){return e&&e.__esModule?e:{default:e}}var cs=_i(),_ct=Qhe(),Yhe=e_e(_ct),mct=xc(),Ect=e_e(mct),fF=class extends Ect.default{constructor(t,n,i){super(),this.rootTransformer=t,this.tokens=n,this.isImportsTransformEnabled=i}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(cs.TokenType._public)||this.tokens.matches1(cs.TokenType._protected)||this.tokens.matches1(cs.TokenType._private)||this.tokens.matches1(cs.TokenType._abstract)||this.tokens.matches1(cs.TokenType._readonly)||this.tokens.matches1(cs.TokenType._override)||this.tokens.matches1(cs.TokenType.nonNullAssertion)?(this.tokens.removeInitialToken(),!0):this.tokens.matches1(cs.TokenType._enum)||this.tokens.matches2(cs.TokenType._const,cs.TokenType._enum)?(this.processEnum(),!0):this.tokens.matches2(cs.TokenType._export,cs.TokenType._enum)||this.tokens.matches3(cs.TokenType._export,cs.TokenType._const,cs.TokenType._enum)?(this.processEnum(!0),!0):!1}processEnum(t=!1){for(this.tokens.removeInitialToken();this.tokens.matches1(cs.TokenType._const)||this.tokens.matches1(cs.TokenType._enum);)this.tokens.removeToken();let n=this.tokens.identifierName();this.tokens.removeToken(),t&&!this.isImportsTransformEnabled&&this.tokens.appendCode("export "),this.tokens.appendCode(`var ${n}; (function (${n})`),this.tokens.copyExpectedToken(cs.TokenType.braceL),this.processEnumBody(n),this.tokens.copyExpectedToken(cs.TokenType.braceR),t&&this.isImportsTransformEnabled?this.tokens.appendCode(`)(${n} || (exports.${n} = ${n} = {}));`):this.tokens.appendCode(`)(${n} || (${n} = {}));`)}processEnumBody(t){let n=null;for(;!this.tokens.matches1(cs.TokenType.braceR);){let{nameStringCode:i,variableName:o}=this.extractEnumKeyInfo(this.tokens.currentToken());this.tokens.removeInitialToken(),this.tokens.matches3(cs.TokenType.eq,cs.TokenType.string,cs.TokenType.comma)||this.tokens.matches3(cs.TokenType.eq,cs.TokenType.string,cs.TokenType.braceR)?this.processStringLiteralEnumMember(t,i,o):this.tokens.matches1(cs.TokenType.eq)?this.processExplicitValueEnumMember(t,i,o):this.processImplicitValueEnumMember(t,i,o,n),this.tokens.matches1(cs.TokenType.comma)&&this.tokens.removeToken(),o!=null?n=o:n=`${t}[${i}]`}}extractEnumKeyInfo(t){if(t.type===cs.TokenType.name){let n=this.tokens.identifierNameForToken(t);return{nameStringCode:`"${n}"`,variableName:Yhe.default.call(void 0,n)?n:null}}else if(t.type===cs.TokenType.string){let n=this.tokens.stringValueForToken(t);return{nameStringCode:this.tokens.code.slice(t.start,t.end),variableName:Yhe.default.call(void 0,n)?n:null}}else throw new Error("Expected name or string at beginning of enum element.")}processStringLiteralEnumMember(t,n,i){i!=null?(this.tokens.appendCode(`const ${i}`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(`; ${t}[${n}] = ${i};`)):(this.tokens.appendCode(`${t}[${n}]`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(";"))}processExplicitValueEnumMember(t,n,i){let o=this.tokens.currentToken().rhsEndIndex;if(o==null)throw new Error("Expected rhsEndIndex on enum assign.");if(i!=null){for(this.tokens.appendCode(`const ${i}`),this.tokens.copyToken();this.tokens.currentIndex()<o;)this.rootTransformer.processToken();this.tokens.appendCode(`; ${t}[${t}[${n}] = ${i}] = ${n};`)}else{for(this.tokens.appendCode(`${t}[${t}[${n}]`),this.tokens.copyToken();this.tokens.currentIndex()<o;)this.rootTransformer.processToken();this.tokens.appendCode(`] = ${n};`)}}processImplicitValueEnumMember(t,n,i,o){let r=o!=null?`${o} + 1`:"0";i!=null&&(this.tokens.appendCode(`const ${i} = ${r}; `),r=i),this.tokens.appendCode(`${t}[${t}[${n}] = ${r}] = ${n};`)}};hF.default=fF});var r_e=Le(mF=>{"use strict";Object.defineProperty(mF,"__esModule",{value:!0});function kc(e){return e&&e.__esModule?e:{default:e}}var yct=_o(),xa=_i(),gct=Phe(),bct=kc(gct),Act=$he(),Ict=kc(Act),Sct=Ohe(),Lct=kc(Sct),Tct=jhe(),vct=kc(Tct),Cct=Uhe(),xct=kc(Cct),Dct=A3(),Pct=kc(Dct),wct=qhe(),kct=kc(wct),Nct=Vhe(),Rct=kc(Nct),$ct=Khe(),Mct=kc($ct),Bct=Xhe(),Oct=kc(Bct),Fct=zhe(),jct=kc(Fct),Uct=t_e(),qct=kc(Uct),_F=class e{__init(){this.transformers=[]}__init2(){this.generatedVariables=[]}constructor(t,n,i,o){e.prototype.__init.call(this),e.prototype.__init2.call(this),this.nameManager=t.nameManager,this.helperManager=t.helperManager;let{tokenProcessor:r,importProcessor:c}=t;this.tokens=r,this.isImportsTransformEnabled=n.includes("imports"),this.isReactHotLoaderTransformEnabled=n.includes("react-hot-loader"),this.disableESTransforms=!!o.disableESTransforms,o.disableESTransforms||(this.transformers.push(new Mct.default(r,this.nameManager)),this.transformers.push(new kct.default(r)),this.transformers.push(new Rct.default(r,this.nameManager))),n.includes("jsx")&&(o.jsxRuntime!=="preserve"&&this.transformers.push(new Pct.default(this,r,c,this.nameManager,o)),this.transformers.push(new Oct.default(this,r,c,o)));let s=null;if(n.includes("react-hot-loader")){if(!o.filePath)throw new Error("filePath is required when using the react-hot-loader transform.");s=new jct.default(r,o.filePath),this.transformers.push(s)}if(n.includes("imports")){if(c===null)throw new Error("Expected non-null importProcessor with imports transform enabled.");this.transformers.push(new Ict.default(this,r,c,this.nameManager,this.helperManager,s,i,!!o.enableLegacyTypeScriptModuleInterop,n.includes("typescript"),n.includes("flow"),!!o.preserveDynamicImport,!!o.keepUnusedImports))}else this.transformers.push(new Lct.default(r,this.nameManager,this.helperManager,s,n.includes("typescript"),n.includes("flow"),!!o.keepUnusedImports,o));n.includes("flow")&&this.transformers.push(new vct.default(this,r,n.includes("imports"))),n.includes("typescript")&&this.transformers.push(new qct.default(this,r,n.includes("imports"))),n.includes("jest")&&this.transformers.push(new xct.default(this,r,this.nameManager,c))}transform(){this.tokens.reset(),this.processBalancedCode();let n=this.isImportsTransformEnabled?'"use strict";':"";for(let c of this.transformers)n+=c.getPrefixCode();n+=this.helperManager.emitHelpers(),n+=this.generatedVariables.map(c=>` var ${c};`).join("");for(let c of this.transformers)n+=c.getHoistedCode();let i="";for(let c of this.transformers)i+=c.getSuffixCode();let o=this.tokens.finish(),{code:r}=o;if(r.startsWith("#!")){let c=r.indexOf(`
|
|
`);return c===-1&&(c=r.length,r+=`
|
|
`),{code:r.slice(0,c+1)+n+r.slice(c+1)+i,mappings:this.shiftMappings(o.mappings,n.length)}}else return{code:n+r+i,mappings:this.shiftMappings(o.mappings,n.length)}}processBalancedCode(){let t=0,n=0;for(;!this.tokens.isAtEnd();){if(this.tokens.matches1(xa.TokenType.braceL)||this.tokens.matches1(xa.TokenType.dollarBraceL))t++;else if(this.tokens.matches1(xa.TokenType.braceR)){if(t===0)return;t--}if(this.tokens.matches1(xa.TokenType.parenL))n++;else if(this.tokens.matches1(xa.TokenType.parenR)){if(n===0)return;n--}this.processToken()}}processToken(){if(this.tokens.matches1(xa.TokenType._class)){this.processClass();return}for(let t of this.transformers)if(t.process())return;this.tokens.copyToken()}processNamedClass(){if(!this.tokens.matches2(xa.TokenType._class,xa.TokenType.name))throw new Error("Expected identifier for exported class name.");let t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.processClass(),t}processClass(){let t=bct.default.call(void 0,this,this.tokens,this.nameManager,this.disableESTransforms),n=(t.headerInfo.isExpression||!t.headerInfo.className)&&t.staticInitializerNames.length+t.instanceInitializerNames.length>0,i=t.headerInfo.className;n&&(i=this.nameManager.claimFreeName("_class"),this.generatedVariables.push(i),this.tokens.appendCode(` (${i} =`));let r=this.tokens.currentToken().contextId;if(r==null)throw new Error("Expected class to have a context ID.");for(this.tokens.copyExpectedToken(xa.TokenType._class);!this.tokens.matchesContextIdAndLabel(xa.TokenType.braceL,r);)this.processToken();this.processClassBody(t,i);let c=t.staticInitializerNames.map(s=>`${i}.${s}()`);n?this.tokens.appendCode(`, ${c.map(s=>`${s}, `).join("")}${i})`):t.staticInitializerNames.length>0&&this.tokens.appendCode(` ${c.map(s=>`${s};`).join(" ")}`)}processClassBody(t,n){let{headerInfo:i,constructorInsertPos:o,constructorInitializerStatements:r,fields:c,instanceInitializerNames:s,rangesToRemove:u}=t,H=0,a=0,l=this.tokens.currentToken().contextId;if(l==null)throw new Error("Expected non-null context ID on class.");this.tokens.copyExpectedToken(xa.TokenType.braceL),this.isReactHotLoaderTransformEnabled&&this.tokens.appendCode("__reactstandin__regenerateByEval(key, code) {this[key] = eval(code);}");let p=r.length+s.length>0;if(o===null&&p){let d=this.makeConstructorInitCode(r,s,n);if(i.hasSuperclass){let h=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${h}) { super(...${h}); ${d}; }`)}else this.tokens.appendCode(`constructor() { ${d}; }`)}for(;!this.tokens.matchesContextIdAndLabel(xa.TokenType.braceR,l);)if(H<c.length&&this.tokens.currentIndex()===c[H].start){let d=!1;for(this.tokens.matches1(xa.TokenType.bracketL)?this.tokens.copyTokenWithPrefix(`${c[H].initializerName}() {this`):this.tokens.matches1(xa.TokenType.string)||this.tokens.matches1(xa.TokenType.num)?(this.tokens.copyTokenWithPrefix(`${c[H].initializerName}() {this[`),d=!0):this.tokens.copyTokenWithPrefix(`${c[H].initializerName}() {this.`);this.tokens.currentIndex()<c[H].end;)d&&this.tokens.currentIndex()===c[H].equalsIndex&&this.tokens.appendCode("]"),this.processToken();this.tokens.appendCode("}"),H++}else if(a<u.length&&this.tokens.currentIndex()>=u[a].start){for(this.tokens.currentIndex()<u[a].end&&this.tokens.removeInitialToken();this.tokens.currentIndex()<u[a].end;)this.tokens.removeToken();a++}else this.tokens.currentIndex()===o?(this.tokens.copyToken(),p&&this.tokens.appendCode(`;${this.makeConstructorInitCode(r,s,n)};`),this.processToken()):this.processToken();this.tokens.copyExpectedToken(xa.TokenType.braceR)}makeConstructorInitCode(t,n,i){return[...t,...n.map(o=>`${i}.prototype.${o}.call(this)`)].join(";")}processPossibleArrowParamEnd(){if(this.tokens.matches2(xa.TokenType.parenR,xa.TokenType.colon)&&this.tokens.tokenAtRelativeIndex(1).isType){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType;)t++;if(this.tokens.matches1AtIndex(t,xa.TokenType.arrow)){for(this.tokens.removeInitialToken();this.tokens.currentIndex()<t;)this.tokens.removeToken();return this.tokens.replaceTokenTrimmingLeftWhitespace(") =>"),!0}}return!1}processPossibleAsyncArrowWithTypeParams(){if(!this.tokens.matchesContextual(yct.ContextualKeyword._async)&&!this.tokens.matches1(xa.TokenType._async))return!1;let t=this.tokens.tokenAtRelativeIndex(1);if(t.type!==xa.TokenType.lessThan||!t.isType)return!1;let n=this.tokens.currentIndex()+1;for(;this.tokens.tokens[n].isType;)n++;if(this.tokens.matches1AtIndex(n,xa.TokenType.parenL)){for(this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();this.tokens.currentIndex()<n;)this.tokens.removeToken();return this.tokens.removeToken(),this.processBalancedCode(),this.processToken(),!0}return!1}processPossibleTypeRange(){if(this.tokens.currentToken().isType){for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return!0}return!1}shiftMappings(t,n){for(let i=0;i<t.length;i++){let o=t[i];o!==void 0&&(t[i]=o+n)}return t}};mF.default=_F});var s_e=Le(Ng=>{"use strict";Ng.__esModule=!0;Ng.LinesAndColumns=void 0;var yC=`
|
|
`,n_e="\r",i_e=function(){function e(t){this.string=t;for(var n=[0],i=0;i<t.length;)switch(t[i]){case yC:i+=yC.length,n.push(i);break;case n_e:i+=n_e.length,t[i]===yC&&(i+=yC.length),n.push(i);break;default:i++;break}this.offsets=n}return e.prototype.locationForIndex=function(t){if(t<0||t>this.string.length)return null;for(var n=0,i=this.offsets;i[n+1]<=t;)n++;var o=t-i[n];return{line:n,column:o}},e.prototype.indexForLocation=function(t){var n=t.line,i=t.column;return n<0||n>=this.offsets.length||i<0||i>this.lengthOfLine(n)?null:this.offsets[n]+i},e.prototype.lengthOfLine=function(t){var n=this.offsets[t],i=t===this.offsets.length-1?this.string.length:this.offsets[t+1];return i-n},e}();Ng.LinesAndColumns=i_e;Ng.default=i_e});var a_e=Le(EF=>{"use strict";Object.defineProperty(EF,"__esModule",{value:!0});function Wct(e){return e&&e.__esModule?e:{default:e}}var Vct=s_e(),Kct=Wct(Vct),Gct=_i();function Xct(e,t){if(t.length===0)return"";let n=Object.keys(t[0]).filter(p=>p!=="type"&&p!=="value"&&p!=="start"&&p!=="end"&&p!=="loc"),i=Object.keys(t[0].type).filter(p=>p!=="label"&&p!=="keyword"),o=["Location","Label","Raw",...n,...i],r=new Kct.default(e),c=[o,...t.map(u)],s=o.map(()=>0);for(let p of c)for(let d=0;d<p.length;d++)s[d]=Math.max(s[d],p[d].length);return c.map(p=>p.map((d,h)=>d.padEnd(s[h])).join(" ")).join(`
|
|
`);function u(p){let d=e.slice(p.start,p.end);return[a(p.start,p.end),Gct.formatTokenType.call(void 0,p.type),Zct(String(d),14),...n.map(h=>H(p[h],h)),...i.map(h=>H(p.type[h],h))]}function H(p,d){return p===!0?d:p===!1||p===null?"":String(p)}function a(p,d){return`${l(p)}-${l(d)}`}function l(p){let d=r.locationForIndex(p);return d?`${d.line+1}:${d.column+1}`:"Unknown"}}EF.default=Xct;function Zct(e,t){return e.length>t?`${e.slice(0,t-3)}...`:e}});var o_e=Le(yF=>{"use strict";Object.defineProperty(yF,"__esModule",{value:!0});function zct(e){return e&&e.__esModule?e:{default:e}}var Cl=_i(),Jct=_g(),Qct=zct(Jct);function Yct(e){let t=new Set;for(let n=0;n<e.tokens.length;n++)e.matches1AtIndex(n,Cl.TokenType._import)&&!e.matches3AtIndex(n,Cl.TokenType._import,Cl.TokenType.name,Cl.TokenType.eq)&&eut(e,n,t);return t}yF.default=Yct;function eut(e,t,n){t++,!e.matches1AtIndex(t,Cl.TokenType.parenL)&&(e.matches1AtIndex(t,Cl.TokenType.name)&&(n.add(e.identifierNameAtIndex(t)),t++,e.matches1AtIndex(t,Cl.TokenType.comma)&&t++),e.matches1AtIndex(t,Cl.TokenType.star)&&(t+=2,n.add(e.identifierNameAtIndex(t)),t++),e.matches1AtIndex(t,Cl.TokenType.braceL)&&(t++,tut(e,t,n)))}function tut(e,t,n){for(;;){if(e.matches1AtIndex(t,Cl.TokenType.braceR))return;let i=Qct.default.call(void 0,e,t);if(t=i.endIndex,i.isType||n.add(i.rightName),e.matches2AtIndex(t,Cl.TokenType.comma,Cl.TokenType.braceR))return;if(e.matches1AtIndex(t,Cl.TokenType.braceR))return;if(e.matches1AtIndex(t,Cl.TokenType.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(e.tokens[t])}`)}}});var u_e=Le(Rg=>{"use strict";Object.defineProperty(Rg,"__esModule",{value:!0});function kd(e){return e&&e.__esModule?e:{default:e}}var rut=wde(),nut=kd(rut),iut=Ude(),sut=kd(iut),aut=qde(),out=Kde(),l_e=kd(out),lut=Xde(),cut=kd(lut),uut=pfe(),Hut=D8(),put=Che(),dut=kd(put),fut=r_e(),hut=kd(fut),_ut=a_e(),mut=kd(_ut),Eut=o_e(),yut=kd(Eut);function gut(){return"3.35.0"}Rg.getVersion=gut;function but(e,t){uut.validateOptions.call(void 0,t);try{let n=c_e(e,t),o=new hut.default(n,t.transforms,!!t.enableLegacyBabel5ModuleInterop,t).transform(),r={code:o.code};if(t.sourceMapOptions){if(!t.filePath)throw new Error("filePath must be specified when generating a source map.");r={...r,sourceMap:sut.default.call(void 0,o,t.filePath,t.sourceMapOptions,e,n.tokenProcessor.tokens)}}return r}catch(n){throw t.filePath&&(n.message=`Error transforming ${t.filePath}: ${n.message}`),n}}Rg.transform=but;function Aut(e,t){let n=c_e(e,t).tokenProcessor.tokens;return mut.default.call(void 0,e,n)}Rg.getFormattedTokens=Aut;function c_e(e,t){let n=t.transforms.includes("jsx"),i=t.transforms.includes("typescript"),o=t.transforms.includes("flow"),r=t.disableESTransforms===!0,c=Hut.parse.call(void 0,e,n,i,o),s=c.tokens,u=c.scopes,H=new cut.default(e,s),a=new aut.HelperManager(H),l=new dut.default(e,s,o,r,a),p=!!t.enableLegacyTypeScriptModuleInterop,d=null;return t.transforms.includes("imports")?(d=new nut.default(H,l,p,t,t.transforms.includes("typescript"),!!t.keepUnusedImports,a),d.preprocessTokens(),l_e.default.call(void 0,l,u,d.getGlobalNames()),t.transforms.includes("typescript")&&!t.keepUnusedImports&&d.pruneTypeOnlyImports()):t.transforms.includes("typescript")&&!t.keepUnusedImports&&l_e.default.call(void 0,l,u,yut.default.call(void 0,l)),{tokenProcessor:l,scopes:u,nameManager:H,importProcessor:d,helperManager:a}}});var AF=Le(bF=>{"use strict";Object.defineProperty(bF,"__esModule",{value:!0});function Iut(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Iut(bF,{useCustomJiti:function(){return vut},loadConfig:function(){return Cut}});var Sut=Tut(tde()),Lut=u_e();function Tut(e){return e&&e.__esModule?e:{default:e}}var $g=null;function vut(e){$g=e()}function gF(){return $g??($g=(0,Sut.default)(__filename,{interopDefault:!0,transform:e=>e.source.includes("import.meta")?r3()(e):(0,Lut.transform)(e.source,{transforms:["typescript","imports"]})}))}function Cut(e){let t=function(){if(!e)return{};return gF()(e);try{return e?require(e):{}}catch{return gF()(e)}}();var n;return(n=t.default)!==null&&n!==void 0?n:t}});var d_e=Le(IF=>{"use strict";Object.defineProperty(IF,"__esModule",{value:!0});Object.defineProperty(IF,"default",{enumerable:!0,get:function(){return kut}});var gC=H_e(require("fs")),Mg=H_e(require("path"));function H_e(e){return e&&e.__esModule?e:{default:e}}var xut=[".js",".cjs",".mjs"],Dut=["",".js",".cjs",".mjs",".ts",".cts",".mts",".jsx",".tsx"],Put=["",".ts",".cts",".mts",".tsx",".js",".cjs",".mjs",".jsx"];function wut(e,t){for(let n of t){let i=`${e}${n}`;if(gC.default.existsSync(i)&&gC.default.statSync(i).isFile())return i}for(let n of t){let i=`${e}/index${n}`;if(gC.default.existsSync(i))return i}return null}function*p_e(e,t,n,i=Mg.default.extname(e)){let o=wut(Mg.default.resolve(t,e),xut.includes(i)?Dut:Put);if(o===null||n.has(o))return;n.add(o),yield o,t=Mg.default.dirname(o),i=Mg.default.extname(o);let r=gC.default.readFileSync(o,"utf-8");for(let c of[...r.matchAll(/import[\s\S]*?['"](.{3,}?)['"]/gi),...r.matchAll(/import[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi),...r.matchAll(/require\(['"`](.+)['"`]\)/gi)])c[1].startsWith(".")&&(yield*p_e(c[1],t,n,i))}function kut(e){return e===null?new Set:new Set(p_e(e,Mg.default.dirname(e),new Set))}});var g_e=Le(LF=>{"use strict";Object.defineProperty(LF,"__esModule",{value:!0});Object.defineProperty(LF,"default",{enumerable:!0,get:function(){return Uut}});var Nut=nh(require("fs")),Rut=nh(HM()),f_e=nh(Qoe()),h_e=nh(LN()),$ut=nh(rle()),__e=Am(),Mut=nh(Nue()),m_e=$ue(),y_e=Zpe(),But=AF(),Out=nh(d_e());function nh(e){return e&&e.__esModule?e:{default:e}}var E_e=new Rut.default({maxSize:100}),SF=new WeakMap;function Fut(e,t){if(SF.has(e))return SF.get(e);let n=(0,y_e.parseCandidateFiles)(e,t);return SF.set(e,n).get(e)}function jut(e){let t=(0,$ut.default)(e);if(t!==null){let[r,c,s,u]=E_e.get(t)||[],H=(0,Out.default)(t),a=!1,l=new Map;for(let h of H){let m=Nut.default.statSync(h).mtimeMs;l.set(h,m),(!u||!u.has(h)||m>u.get(h))&&(a=!0)}if(!a)return[r,t,c,s];for(let h of H)delete require.cache[h];let p=(0,m_e.validateConfig)((0,h_e.default)((0,But.loadConfig)(t))),d=(0,f_e.default)(p);return E_e.set(t,[p,d,H,l]),[p,t,d,H]}var n,i;let o=(0,h_e.default)((i=(n=e?.config)!==null&&n!==void 0?n:e)!==null&&i!==void 0?i:{});return o=(0,m_e.validateConfig)(o),[o,null,(0,f_e.default)(o),[]]}function Uut(e){return({tailwindDirectives:t,registerDependency:n})=>(i,o)=>{let[r,c,s,u]=jut(e),H=new Set(u);if(t.size>0){H.add(o.opts.from);for(let h of o.messages)h.type==="dependency"&&H.add(h.file)}let[a,,l]=(0,__e.getContext)(i,o,r,c,s,H),p=(0,__e.getFileModifiedMap)(a),d=Fut(a,r);if(t.size>0){for(let g of d)for(let y of(0,Mut.default)(g))n(y);let[h,m]=(0,y_e.resolvedChangedContent)(a,d,p);for(let g of h)a.changedContent.push(g);for(let[g,y]of m.entries())l.set(g,y)}for(let h of u)n({type:"dependency",file:h});for(let[h,m]of l.entries())p.set(h,m);return a}}});var b_e=Le(TF=>{"use strict";Object.defineProperty(TF,"__esModule",{value:!0});Object.defineProperty(TF,"default",{enumerable:!0,get:function(){return Vut}});var qut=Wut(ac());function Wut(e){return e&&e.__esModule?e:{default:e}}function Vut(e){let t=new Set,n=new Set,i=new Set;if(e.walkAtRules(o=>{o.name==="apply"&&i.add(o),o.name==="import"&&(o.params==='"tailwindcss/base"'||o.params==="'tailwindcss/base'"?(o.name="tailwind",o.params="base"):o.params==='"tailwindcss/components"'||o.params==="'tailwindcss/components'"?(o.name="tailwind",o.params="components"):o.params==='"tailwindcss/utilities"'||o.params==="'tailwindcss/utilities'"?(o.name="tailwind",o.params="utilities"):(o.params==='"tailwindcss/screens"'||o.params==="'tailwindcss/screens'"||o.params==='"tailwindcss/variants"'||o.params==="'tailwindcss/variants'")&&(o.name="tailwind",o.params="variants")),o.name==="tailwind"&&(o.params==="screens"&&(o.params="variants"),t.add(o.params)),["layer","responsive","variants"].includes(o.name)&&(["responsive","variants"].includes(o.name)&&qut.default.warn(`${o.name}-at-rule-deprecated`,[`The \`@${o.name}\` directive has been deprecated in Tailwind CSS v3.0.`,"Use `@layer utilities` or `@layer components` instead.","https://tailwindcss.com/docs/upgrade-guide#replace-variants-with-layer"]),n.add(o))}),!t.has("base")||!t.has("components")||!t.has("utilities")){for(let o of n)if(o.name==="layer"&&["base","components","utilities"].includes(o.params)){if(!t.has(o.params))throw o.error(`\`@layer ${o.params}\` is used but no matching \`@tailwind ${o.params}\` directive is present.`)}else if(o.name==="responsive"){if(!t.has("utilities"))throw o.error("`@responsive` is used but `@tailwind utilities` is missing.")}else if(o.name==="variants"&&!t.has("utilities"))throw o.error("`@variants` is used but `@tailwind utilities` is missing.")}return{tailwindDirectives:t,applyDirectives:i}}});var I_e=Le(vF=>{"use strict";Object.defineProperty(vF,"__esModule",{value:!0});Object.defineProperty(vF,"default",{enumerable:!0,get:function(){return Kut}});function Kut(e,t=void 0,n=void 0){return e.map(i=>{let o=i.clone();return n!==void 0&&(o.raws.tailwind={...o.raws.tailwind,...n}),t!==void 0&&A_e(o,r=>{var c;if(((c=r.raws.tailwind)===null||c===void 0?void 0:c.preserveSource)===!0&&r.source)return!1;r.source=t}),o})}function A_e(e,t){if(t(e)!==!1){var n;(n=e.each)===null||n===void 0||n.call(e,i=>A_e(i,t))}}});var C_e=Le(CF=>{"use strict";Object.defineProperty(CF,"__esModule",{value:!0});function Gut(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}Gut(CF,{pattern:function(){return Zut},withoutCapturing:function(){return L_e},any:function(){return T_e},optional:function(){return zut},zeroOrMore:function(){return Jut},nestedBrackets:function(){return v_e},escape:function(){return ih}});var S_e=/[\\^$.*+?()[\]{}|]/g,Xut=RegExp(S_e.source);function Bg(e){return e=Array.isArray(e)?e:[e],e=e.map(t=>t instanceof RegExp?t.source:t),e.join("")}function Zut(e){return new RegExp(Bg(e),"g")}function L_e(e){return new RegExp(`(?:${Bg(e)})`,"g")}function T_e(e){return`(?:${e.map(Bg).join("|")})`}function zut(e){return`(?:${Bg(e)})?`}function Jut(e){return`(?:${Bg(e)})*`}function v_e(e,t,n=1){return L_e([ih(e),/[^\s]*/,n===1?`[^${ih(e)}${ih(t)}s]*`:T_e([`[^${ih(e)}${ih(t)}s]*`,v_e(e,t,n-1)]),/[^\s]*/,ih(t)])}function ih(e){return e&&Xut.test(e)?e.replace(S_e,"\\$&"):e||""}});var D_e=Le(xF=>{"use strict";Object.defineProperty(xF,"__esModule",{value:!0});Object.defineProperty(xF,"defaultExtractor",{enumerable:!0,get:function(){return eHt}});var Da=Yut(C_e()),Qut=hf();function x_e(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(x_e=function(i){return i?n:t})(e)}function Yut(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=x_e(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var c=o?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(i,r,c):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}function eHt(e){let t=Array.from(tHt(e));return n=>{let i=[];for(let r of t){var o;for(let c of(o=n.match(r))!==null&&o!==void 0?o:[])i.push(iHt(c))}for(let r of i.slice()){let c=(0,Qut.splitAtTopLevelOnly)(r,".");for(let s=0;s<c.length;s++){let u=c[s];if(s>=c.length-1){i.push(u);continue}let H=Number(c[s+1]);isNaN(H)?i.push(u):s++}}return i}}function*tHt(e){let t=e.tailwindConfig.separator,n=e.tailwindConfig.prefix!==""?Da.optional(Da.pattern([/-?/,Da.escape(e.tailwindConfig.prefix)])):"",i=Da.any([/\[[^\s:'"`]+:[^\s\[\]]+\]/,/\[[^\s:'"`\]]+:[^\s]+?\[[^\s]+\][^\s]+?\]/,Da.pattern([Da.any([/-?(?:\w+)/,/@(?:\w+)/]),Da.optional(Da.any([Da.pattern([Da.any([/-(?:\w+-)*\['[^\s]+'\]/,/-(?:\w+-)*\["[^\s]+"\]/,/-(?:\w+-)*\[`[^\s]+`\]/,/-(?:\w+-)*\[(?:[^\s\[\]]+\[[^\s\[\]]+\])*[^\s:\[\]]+\]/]),/(?![{([]])/,/(?:\/[^\s'"`\\><$]*)?/]),Da.pattern([Da.any([/-(?:\w+-)*\['[^\s]+'\]/,/-(?:\w+-)*\["[^\s]+"\]/,/-(?:\w+-)*\[`[^\s]+`\]/,/-(?:\w+-)*\[(?:[^\s\[\]]+\[[^\s\[\]]+\])*[^\s\[\]]+\]/]),/(?![{([]])/,/(?:\/[^\s'"`\\$]*)?/]),/[-\/][^\s'"`\\$={><]*/]))])]),o=[Da.any([Da.pattern([/@\[[^\s"'`]+\](\/[^\s"'`]+)?/,t]),Da.pattern([/([^\s"'`\[\\]+-)?\[[^\s"'`]+\]\/[\w_-]+/,t]),Da.pattern([/([^\s"'`\[\\]+-)?\[[^\s"'`]+\]/,t]),Da.pattern([/[^\s"'`\[\\]+/,t])]),Da.any([Da.pattern([/([^\s"'`\[\\]+-)?\[[^\s`]+\]\/[\w_-]+/,t]),Da.pattern([/([^\s"'`\[\\]+-)?\[[^\s`]+\]/,t]),Da.pattern([/[^\s`\[\\]+/,t])])];for(let r of o)yield Da.pattern(["((?=((",r,")+))\\2)?",/!?/,n,i]);yield/[^<>"'`\s.(){}[\]#=%$][^<>"'`\s(){}[\]#=%$]*[^<>"'`\s.(){}[\]#=%:$]/g}var rHt=/([\[\]'"`])([^\[\]'"`])?/g,nHt=/[^"'`\s<>\]]+/;function iHt(e){if(!e.includes("-["))return e;let t=0,n=[],i=e.matchAll(rHt);i=Array.from(i).flatMap(o=>{let[,...r]=o;return r.map((c,s)=>Object.assign([],o,{index:o.index+s,0:c}))});for(let o of i){let r=o[0],c=n[n.length-1];if(r===c?n.pop():(r==="'"||r==='"'||r==="`")&&n.push(r),!c){if(r==="["){t++;continue}else if(r==="]"){t--;continue}if(t<0)return e.substring(0,o.index-1);if(t===0&&!nHt.test(r))return e.substring(0,o.index)}}return e}});var N_e=Le(PF=>{"use strict";Object.defineProperty(PF,"__esModule",{value:!0});Object.defineProperty(PF,"default",{enumerable:!0,get:function(){return hHt}});var sHt=bC(require("fs")),aHt=bC(HM()),DF=uHt(Gf()),oHt=sg(),lHt=bC(ac()),Og=bC(I_e()),cHt=D_e();function bC(e){return e&&e.__esModule?e:{default:e}}function k_e(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(k_e=function(i){return i?n:t})(e)}function uHt(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=k_e(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var c=o?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(i,r,c):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}var cp=DF.env,P_e={DEFAULT:cHt.defaultExtractor},w_e={DEFAULT:e=>e,svelte:e=>e.replace(/(?:^|\s)class:/g," ")};function HHt(e,t){let n=e.tailwindConfig.content.extract;return n[t]||n.DEFAULT||P_e[t]||P_e.DEFAULT(e)}function pHt(e,t){let n=e.content.transform;return n[t]||n.DEFAULT||w_e[t]||w_e.DEFAULT}var Fg=new WeakMap;function dHt(e,t,n,i){Fg.has(t)||Fg.set(t,new aHt.default({maxSize:25e3}));for(let o of e.split(`
|
|
`))if(o=o.trim(),!i.has(o))if(i.add(o),Fg.get(t).has(o))for(let r of Fg.get(t).get(o))n.add(r);else{let r=t(o).filter(s=>s!=="!*"),c=new Set(r);for(let s of c)n.add(s);Fg.get(t).set(o,c)}}function fHt(e,t){let n=t.offsets.sort(e),i={base:new Set,defaults:new Set,components:new Set,utilities:new Set,variants:new Set};for(let[o,r]of n)i[o.layer].add(r);return i}function hHt(e){return async t=>{let n={base:null,components:null,utilities:null,variants:null};if(t.walkAtRules(_=>{_.name==="tailwind"&&Object.keys(n).includes(_.params)&&(n[_.params]=_)}),Object.values(n).every(_=>_===null))return t;var i;let o=new Set([...(i=e.candidates)!==null&&i!==void 0?i:[],DF.NOT_ON_DEMAND]),r=new Set;cp.DEBUG&&console.time("Reading changed files");let c=[];for(let _ of e.changedContent){let E=pHt(e.tailwindConfig,_.extension),A=HHt(e,_.extension);c.push([_,{transformer:E,extractor:A}])}let s=500;for(let _=0;_<c.length;_+=s){let E=c.slice(_,_+s);await Promise.all(E.map(async([{file:A,content:S},{transformer:T,extractor:I}])=>{S=A?await sHt.default.promises.readFile(A,"utf8"):S,dHt(T(S),I,o,r)}))}cp.DEBUG&&console.timeEnd("Reading changed files");let u=e.classCache.size;cp.DEBUG&&console.time("Generate rules"),cp.DEBUG&&console.time("Sorting candidates");let H=new Set([...o].sort((_,E)=>_===E?0:_<E?-1:1));cp.DEBUG&&console.timeEnd("Sorting candidates"),(0,oHt.generateRules)(H,e),cp.DEBUG&&console.timeEnd("Generate rules"),cp.DEBUG&&console.time("Build stylesheet"),(e.stylesheetCache===null||e.classCache.size!==u)&&(e.stylesheetCache=fHt([...e.ruleCache],e)),cp.DEBUG&&console.timeEnd("Build stylesheet");let{defaults:a,base:l,components:p,utilities:d,variants:h}=e.stylesheetCache;n.base&&(n.base.before((0,Og.default)([...a,...l],n.base.source,{layer:"base"})),n.base.remove()),n.components&&(n.components.before((0,Og.default)([...p],n.components.source,{layer:"components"})),n.components.remove()),n.utilities&&(n.utilities.before((0,Og.default)([...d],n.utilities.source,{layer:"utilities"})),n.utilities.remove());let m=Array.from(h).filter(_=>{var E;let A=(E=_.raws.tailwind)===null||E===void 0?void 0:E.parentLayer;return A==="components"?n.components!==null:A==="utilities"?n.utilities!==null:!0});n.variants?(n.variants.before((0,Og.default)(m,n.variants.source,{layer:"variants"})),n.variants.remove()):m.length>0&&t.append((0,Og.default)(m,t.source,{layer:"variants"}));var g;t.source.end=(g=t.source.end)!==null&&g!==void 0?g:t.source.start;let y=m.some(_=>{var E;return((E=_.raws.tailwind)===null||E===void 0?void 0:E.parentLayer)==="utilities"});n.utilities&&d.size===0&&!y&&lHt.default.warn("content-problems",["No utility classes were detected in your source files. If this is unexpected, double-check the `content` option in your Tailwind CSS configuration.","https://tailwindcss.com/docs/content-configuration"]),cp.DEBUG&&(console.log("Potential classes: ",o.size),console.log("Active contexts: ",DF.contextSourcesMap.size)),e.changedContent=[],t.walkAtRules("layer",_=>{Object.keys(n).includes(_.params)&&_.remove()})}}});var $F=Le(RF=>{"use strict";Object.defineProperty(RF,"__esModule",{value:!0});Object.defineProperty(RF,"default",{enumerable:!0,get:function(){return vHt}});var B_e=NF(gl()),kF=NF(Qu()),_Ht=sg(),mHt=NF(gm()),EHt=XB(),yHt=qT();function NF(e){return e&&e.__esModule?e:{default:e}}function AC(e){let t=new Map;B_e.default.root({nodes:[e.clone()]}).walkRules(r=>{(0,kF.default)(c=>{c.walkClasses(s=>{let u=s.parent.toString(),H=t.get(u);H||t.set(u,H=new Set),H.add(s.value)})}).processSync(r.selector)});let i=Array.from(t.values(),r=>Array.from(r)),o=i.flat();return Object.assign(o,{groups:i})}var gHt=(0,kF.default)();function wF(e){return gHt.astSync(e)}function R_e(e,t){let n=new Set;for(let i of e)n.add(i.split(t).pop());return Array.from(n)}function $_e(e,t){let n=e.tailwindConfig.prefix;return typeof n=="function"?n(t):n+t}function*O_e(e){for(yield e;e.parent;)yield e.parent,e=e.parent}function bHt(e,t={}){let n=e.nodes;e.nodes=[];let i=e.clone(t);return e.nodes=n,i}function AHt(e){for(let t of O_e(e))if(e!==t){if(t.type==="root")break;e=bHt(t,{nodes:[e]})}return e}function IHt(e,t){let n=new Map;return e.walkRules(i=>{for(let s of O_e(i)){var o;if(((o=s.raws.tailwind)===null||o===void 0?void 0:o.layer)!==void 0)return}let r=AHt(i),c=t.offsets.create("user");for(let s of AC(i)){let u=n.get(s)||[];n.set(s,u),u.push([{layer:"user",sort:c,important:!1},r])}}),n}function SHt(e,t){for(let n of e){if(t.notClassCache.has(n)||t.applyClassCache.has(n))continue;if(t.classCache.has(n)){t.applyClassCache.set(n,t.classCache.get(n).map(([o,r])=>[o,r.clone()]));continue}let i=Array.from((0,_Ht.resolveMatches)(n,t));if(i.length===0){t.notClassCache.add(n);continue}t.applyClassCache.set(n,i)}return t.applyClassCache}function LHt(e){let t=null;return{get:n=>(t=t||e(),t.get(n)),has:n=>(t=t||e(),t.has(n))}}function THt(e){return{get:t=>e.flatMap(n=>n.get(t)||[]),has:t=>e.some(n=>n.has(t))}}function M_e(e){let t=e.split(/[\s\t\n]+/g);return t[t.length-1]==="!important"?[t.slice(0,-1),!0]:[t,!1]}function F_e(e,t,n){let i=new Set,o=[];if(e.walkAtRules("apply",u=>{let[H]=M_e(u.params);for(let a of H)i.add(a);o.push(u)}),o.length===0)return;let r=THt([n,SHt(i,t)]);function c(u,H,a){let l=wF(u),p=wF(H),h=wF(`.${(0,mHt.default)(a)}`).nodes[0].nodes[0];return l.each(m=>{let g=new Set;p.each(y=>{let _=!1;y=y.clone(),y.walkClasses(E=>{E.value===h.value&&(_||(E.replaceWith(...m.nodes.map(A=>A.clone())),g.add(y),_=!0))})});for(let y of g){let _=[[]];for(let E of y.nodes)E.type==="combinator"?(_.push(E),_.push([])):_[_.length-1].push(E);y.nodes=[];for(let E of _)Array.isArray(E)&&E.sort((A,S)=>A.type==="tag"&&S.type==="class"?-1:A.type==="class"&&S.type==="tag"?1:A.type==="class"&&S.type==="pseudo"&&S.value.startsWith("::")?-1:A.type==="pseudo"&&A.value.startsWith("::")&&S.type==="class"?1:0),y.nodes=y.nodes.concat(E)}m.replaceWith(...g)}),l.toString()}let s=new Map;for(let u of o){let[H]=s.get(u.parent)||[[],u.source];s.set(u.parent,[H,u.source]);let[a,l]=M_e(u.params);if(u.parent.type==="atrule"){if(u.parent.name==="screen"){let p=u.parent.params;throw u.error(`@apply is not supported within nested at-rules like @screen. We suggest you write this as @apply ${a.map(d=>`${p}:${d}`).join(" ")} instead.`)}throw u.error(`@apply is not supported within nested at-rules like @${u.parent.name}. You can fix this by un-nesting @${u.parent.name}.`)}for(let p of a){if([$_e(t,"group"),$_e(t,"peer")].includes(p))throw u.error(`@apply should not be used with the '${p}' utility`);if(!r.has(p))throw u.error(`The \`${p}\` class does not exist. If \`${p}\` is a custom class, make sure it is defined within a \`@layer\` directive.`);let d=r.get(p);for(let[,h]of d)h.type!=="atrule"&&h.walkRules(()=>{throw u.error([`The \`${p}\` class cannot be used with \`@apply\` because \`@apply\` does not currently support nested CSS.`,"Rewrite the selector without nesting or configure the `tailwindcss/nesting` plugin:","https://tailwindcss.com/docs/using-with-preprocessors#nesting"].join(`
|
|
`))});H.push([p,l,d])}}for(let[u,[H,a]]of s){let l=[];for(let[d,h,m]of H){let g=[d,...R_e([d],t.tailwindConfig.separator)];for(let[y,_]of m){let E=AC(u),A=AC(_);if(A=A.groups.filter(L=>L.some(x=>g.includes(x))).flat(),A=A.concat(R_e(A,t.tailwindConfig.separator)),E.some(L=>A.includes(L)))throw _.error(`You cannot \`@apply\` the \`${d}\` utility here because it creates a circular dependency.`);let T=B_e.default.root({nodes:[_.clone()]});T.walk(L=>{L.source=a}),(_.type!=="atrule"||_.type==="atrule"&&_.name!=="keyframes")&&T.walkRules(L=>{if(!AC(L).some(j=>j===d)){L.remove();return}let x=typeof t.tailwindConfig.important=="string"?t.tailwindConfig.important:null,D=u.raws.tailwind!==void 0&&x&&u.selector.indexOf(x)===0?u.selector.slice(x.length):u.selector;D===""&&(D=u.selector),L.selector=c(D,L.selector,d),x&&D!==u.selector&&(L.selector=(0,EHt.applyImportantSelector)(L.selector,x)),L.walkDecls(j=>{j.important=y.important||h});let O=(0,kF.default)().astSync(L.selector);O.each(j=>(0,yHt.movePseudos)(j)),L.selector=O.toString()}),T.nodes[0]&&l.push([y.sort,T.nodes[0]])}}let p=t.offsets.sort(l).map(d=>d[1]);u.after(p)}for(let u of o)u.parent.nodes.length>1?u.remove():u.parent.remove();F_e(e,t,n)}function vHt(e){return t=>{let n=LHt(()=>IHt(t,e));F_e(t,e,n)}}});var j_e=Le((VOt,IC)=>{(function(){"use strict";function e(i,o,r){if(!i)return null;e.caseSensitive||(i=i.toLowerCase());var c=e.threshold===null?null:e.threshold*i.length,s=e.thresholdAbsolute,u;c!==null&&s!==null?u=Math.min(c,s):c!==null?u=c:s!==null?u=s:u=null;var H,a,l,p,d,h=o.length;for(d=0;d<h;d++)if(a=o[d],r&&(a=a[r]),!!a&&(e.caseSensitive?l=a:l=a.toLowerCase(),p=n(i,l,u),(u===null||p<u)&&(u=p,r&&e.returnWinningObject?H=o[d]:H=a,e.returnFirstMatch)))return H;return H||e.nullResultValue}e.threshold=.4,e.thresholdAbsolute=20,e.caseSensitive=!1,e.nullResultValue=null,e.returnWinningObject=null,e.returnFirstMatch=!1,typeof IC<"u"&&IC.exports?IC.exports=e:window.didYouMean=e;var t=Math.pow(2,32)-1;function n(i,o,r){r=r||r===0?r:t;var c=i.length,s=o.length;if(c===0)return Math.min(r+1,s);if(s===0)return Math.min(r+1,c);if(Math.abs(c-s)>r)return r+1;var u=[],H,a,l,p,d;for(H=0;H<=s;H++)u[H]=[H];for(a=0;a<=c;a++)u[0][a]=a;for(H=1;H<=s;H++){for(l=t,p=1,H>r&&(p=H-r),d=s+1,d>r+H&&(d=r+H),a=1;a<=c;a++)a<p||a>d?u[H][a]=r+1:o.charAt(H-1)===i.charAt(a-1)?u[H][a]=u[H-1][a-1]:u[H][a]=Math.min(u[H-1][a-1]+1,Math.min(u[H][a-1]+1,u[H-1][a]+1)),u[H][a]<l&&(l=u[H][a]);if(l>r)return r+1}return u[s][c]}})()});var q_e=Le((KOt,U_e)=>{"use strict";var MF=40,BF=41,SC=39,OF=34,FF=92,Xm=47,jF=44,UF=58,LC=42,CHt=117,xHt=85,DHt=43,PHt=/^[a-f0-9?-]+$/i;U_e.exports=function(e){for(var t=[],n=e,i,o,r,c,s,u,H,a,l=0,p=n.charCodeAt(l),d=n.length,h=[{nodes:t}],m=0,g,y="",_="",E="";l<d;)if(p<=32){i=l;do i+=1,p=n.charCodeAt(i);while(p<=32);c=n.slice(l,i),r=t[t.length-1],p===BF&&m?E=c:r&&r.type==="div"?(r.after=c,r.sourceEndIndex+=c.length):p===jF||p===UF||p===Xm&&n.charCodeAt(i+1)!==LC&&(!g||g&&g.type==="function"&&!1)?_=c:t.push({type:"space",sourceIndex:l,sourceEndIndex:i,value:c}),l=i}else if(p===SC||p===OF){i=l,o=p===SC?"'":'"',c={type:"string",sourceIndex:l,quote:o};do if(s=!1,i=n.indexOf(o,i+1),~i)for(u=i;n.charCodeAt(u-1)===FF;)u-=1,s=!s;else n+=o,i=n.length-1,c.unclosed=!0;while(s);c.value=n.slice(l+1,i),c.sourceEndIndex=c.unclosed?i:i+1,t.push(c),l=i+1,p=n.charCodeAt(l)}else if(p===Xm&&n.charCodeAt(l+1)===LC)i=n.indexOf("*/",l),c={type:"comment",sourceIndex:l,sourceEndIndex:i+2},i===-1&&(c.unclosed=!0,i=n.length,c.sourceEndIndex=i),c.value=n.slice(l+2,i),t.push(c),l=i+2,p=n.charCodeAt(l);else if((p===Xm||p===LC)&&g&&g.type==="function")c=n[l],t.push({type:"word",sourceIndex:l-_.length,sourceEndIndex:l+c.length,value:c}),l+=1,p=n.charCodeAt(l);else if(p===Xm||p===jF||p===UF)c=n[l],t.push({type:"div",sourceIndex:l-_.length,sourceEndIndex:l+c.length,value:c,before:_,after:""}),_="",l+=1,p=n.charCodeAt(l);else if(MF===p){i=l;do i+=1,p=n.charCodeAt(i);while(p<=32);if(a=l,c={type:"function",sourceIndex:l-y.length,value:y,before:n.slice(a+1,i)},l=i,y==="url"&&p!==SC&&p!==OF){i-=1;do if(s=!1,i=n.indexOf(")",i+1),~i)for(u=i;n.charCodeAt(u-1)===FF;)u-=1,s=!s;else n+=")",i=n.length-1,c.unclosed=!0;while(s);H=i;do H-=1,p=n.charCodeAt(H);while(p<=32);a<H?(l!==H+1?c.nodes=[{type:"word",sourceIndex:l,sourceEndIndex:H+1,value:n.slice(l,H+1)}]:c.nodes=[],c.unclosed&&H+1!==i?(c.after="",c.nodes.push({type:"space",sourceIndex:H+1,sourceEndIndex:i,value:n.slice(H+1,i)})):(c.after=n.slice(H+1,i),c.sourceEndIndex=i)):(c.after="",c.nodes=[]),l=i+1,c.sourceEndIndex=c.unclosed?i:l,p=n.charCodeAt(l),t.push(c)}else m+=1,c.after="",c.sourceEndIndex=l+1,t.push(c),h.push(c),t=c.nodes=[],g=c;y=""}else if(BF===p&&m)l+=1,p=n.charCodeAt(l),g.after=E,g.sourceEndIndex+=E.length,E="",m-=1,h[h.length-1].sourceEndIndex=l,h.pop(),g=h[m],t=g.nodes;else{i=l;do p===FF&&(i+=1),i+=1,p=n.charCodeAt(i);while(i<d&&!(p<=32||p===SC||p===OF||p===jF||p===UF||p===Xm||p===MF||p===LC&&g&&g.type==="function"||p===Xm&&g.type==="function"||p===BF&&m));c=n.slice(l,i),MF===p?y=c:(CHt===c.charCodeAt(0)||xHt===c.charCodeAt(0))&&DHt===c.charCodeAt(1)&&PHt.test(c.slice(2))?t.push({type:"unicode-range",sourceIndex:l,sourceEndIndex:i,value:c}):t.push({type:"word",sourceIndex:l,sourceEndIndex:i,value:c}),l=i}for(l=h.length-1;l;l-=1)h[l].unclosed=!0,h[l].sourceEndIndex=n.length;return h[0].nodes}});var V_e=Le((GOt,W_e)=>{"use strict";W_e.exports=function e(t,n,i){var o,r,c,s;for(o=0,r=t.length;o<r;o+=1)c=t[o],i||(s=n(c,o,t)),s!==!1&&c.type==="function"&&Array.isArray(c.nodes)&&e(c.nodes,n,i),i&&n(c,o,t)}});var Z_e=Le((XOt,X_e)=>{"use strict";function K_e(e,t){var n=e.type,i=e.value,o,r;return t&&(r=t(e))!==void 0?r:n==="word"||n==="space"?i:n==="string"?(o=e.quote||"",o+i+(e.unclosed?"":o)):n==="comment"?"/*"+i+(e.unclosed?"":"*/"):n==="div"?(e.before||"")+i+(e.after||""):Array.isArray(e.nodes)?(o=G_e(e.nodes,t),n!=="function"?o:i+"("+(e.before||"")+o+(e.after||"")+(e.unclosed?"":")")):i}function G_e(e,t){var n,i;if(Array.isArray(e)){for(n="",i=e.length-1;~i;i-=1)n=K_e(e[i],t)+n;return n}return K_e(e,t)}X_e.exports=G_e});var J_e=Le((ZOt,z_e)=>{"use strict";var TC=45,vC=43,qF=46,wHt=101,kHt=69;function NHt(e){var t=e.charCodeAt(0),n;if(t===vC||t===TC){if(n=e.charCodeAt(1),n>=48&&n<=57)return!0;var i=e.charCodeAt(2);return n===qF&&i>=48&&i<=57}return t===qF?(n=e.charCodeAt(1),n>=48&&n<=57):t>=48&&t<=57}z_e.exports=function(e){var t=0,n=e.length,i,o,r;if(n===0||!NHt(e))return!1;for(i=e.charCodeAt(t),(i===vC||i===TC)&&t++;t<n&&(i=e.charCodeAt(t),!(i<48||i>57));)t+=1;if(i=e.charCodeAt(t),o=e.charCodeAt(t+1),i===qF&&o>=48&&o<=57)for(t+=2;t<n&&(i=e.charCodeAt(t),!(i<48||i>57));)t+=1;if(i=e.charCodeAt(t),o=e.charCodeAt(t+1),r=e.charCodeAt(t+2),(i===wHt||i===kHt)&&(o>=48&&o<=57||(o===vC||o===TC)&&r>=48&&r<=57))for(t+=o===vC||o===TC?3:2;t<n&&(i=e.charCodeAt(t),!(i<48||i>57));)t+=1;return{number:e.slice(0,t),unit:e.slice(t)}}});var tme=Le((zOt,eme)=>{"use strict";var RHt=q_e(),Q_e=V_e(),Y_e=Z_e();function Nd(e){return this instanceof Nd?(this.nodes=RHt(e),this):new Nd(e)}Nd.prototype.toString=function(){return Array.isArray(this.nodes)?Y_e(this.nodes):""};Nd.prototype.walk=function(e,t){return Q_e(this.nodes,e,t),this};Nd.unit=J_e();Nd.walk=Q_e;Nd.stringify=Y_e;eme.exports=Nd});var ome=Le(KF=>{"use strict";Object.defineProperty(KF,"__esModule",{value:!0});Object.defineProperty(KF,"default",{enumerable:!0,get:function(){return ZHt}});var CC=zm(Fo()),$Ht=zm(j_e()),MHt=zm(ym()),nme=zm(tme()),BHt=FT(),OHt=zm(OT()),ime=aI(),FHt=By(),jHt=jy(),UHt=zm(ac());function zm(e){return e&&e.__esModule?e:{default:e}}function WF(e){return typeof e=="object"&&e!==null}function qHt(e,t){let n=(0,ime.toPath)(t);do if(n.pop(),(0,CC.default)(e,n)!==void 0)break;while(n.length);return n.length?n:void 0}function Zm(e){return typeof e=="string"?e:e.reduce((t,n,i)=>n.includes(".")?`${t}[${n}]`:i===0?n:`${t}.${n}`,"")}function sme(e){return e.map(t=>`'${t}'`).join(", ")}function rme(e){return sme(Object.keys(e))}function VF(e,t,n,i={}){let o=Array.isArray(t)?Zm(t):t.replace(/^['"]+|['"]+$/g,""),r=Array.isArray(t)?t:(0,ime.toPath)(o),c=(0,CC.default)(e.theme,r,n);if(c===void 0){let u=`'${o}' does not exist in your theme config.`,H=r.slice(0,-1),a=(0,CC.default)(e.theme,H);if(WF(a)){let l=Object.keys(a).filter(d=>VF(e,[...H,d]).isValid),p=(0,$Ht.default)(r[r.length-1],l);p?u+=` Did you mean '${Zm([...H,p])}'?`:l.length>0&&(u+=` '${Zm(H)}' has the following valid keys: ${sme(l)}`)}else{let l=qHt(e.theme,o);if(l){let p=(0,CC.default)(e.theme,l);WF(p)?u+=` '${Zm(l)}' has the following keys: ${rme(p)}`:u+=` '${Zm(l)}' is not an object.`}else u+=` Your theme has the following top-level keys: ${rme(e.theme)}`}return{isValid:!1,error:u}}if(!(typeof c=="string"||typeof c=="number"||typeof c=="function"||c instanceof String||c instanceof Number||Array.isArray(c))){let u=`'${o}' was found but does not resolve to a string.`;if(WF(c)){let H=Object.keys(c).filter(a=>VF(e,[...r,a]).isValid);H.length&&(u+=` Did you mean something like '${Zm([...r,H[0]])}'?`)}return{isValid:!1,error:u}}let[s]=r;return{isValid:!0,value:(0,MHt.default)(s)(c,i)}}function WHt(e,t,n){t=t.map(o=>ame(e,o,n));let i=[""];for(let o of t)o.type==="div"&&o.value===","?i.push(""):i[i.length-1]+=nme.default.stringify(o);return i}function ame(e,t,n){if(t.type==="function"&&n[t.value]!==void 0){let i=WHt(e,t.nodes,n);t.type="word",t.value=n[t.value](e,...i)}return t}function VHt(e,t,n){return Object.keys(n).some(o=>t.includes(`${o}(`))?(0,nme.default)(t).walk(o=>{ame(e,o,n)}).toString():t}var KHt={atrule:"params",decl:"value"};function*GHt(e){e=e.replace(/^['"]+|['"]+$/g,"");let t=e.match(/^([^\s]+)(?![^\[]*\])(?:\s*\/\s*([^\/\s]+))$/),n;yield[e,void 0],t&&(e=t[1],n=t[2],yield[e,n])}function XHt(e,t,n){let i=Array.from(GHt(t)).map(([r,c])=>Object.assign(VF(e,r,n,{opacityValue:c}),{resolvedPath:r,alpha:c}));var o;return(o=i.find(r=>r.isValid))!==null&&o!==void 0?o:i[0]}function ZHt(e){let t=e.tailwindConfig,n={theme:(i,o,...r)=>{let{isValid:c,value:s,error:u,alpha:H}=XHt(t,o,r.length?r:void 0);if(!c){var a;let d=i.parent,h=(a=d?.raws.tailwind)===null||a===void 0?void 0:a.candidate;if(d&&h!==void 0){e.markInvalidUtilityNode(d),d.remove(),UHt.default.warn("invalid-theme-key-in-class",[`The utility \`${h}\` contains an invalid theme value and was not generated.`]);return}throw i.error(u)}let l=(0,jHt.parseColorFormat)(s);return(H!==void 0||l!==void 0&&typeof l=="function")&&(H===void 0&&(H=1),s=(0,FHt.withAlphaValue)(l,H,l)),s},screen:(i,o)=>{o=o.replace(/^['"]+/g,"").replace(/['"]+$/g,"");let c=(0,BHt.normalizeScreens)(t.theme.screens).find(({name:s})=>s===o);if(!c)throw i.error(`The '${o}' screen does not exist in your theme.`);return(0,OHt.default)(c)}};return i=>{i.walk(o=>{let r=KHt[o.type];r!==void 0&&(o[r]=VHt(o,o[r],n))})}}});var lme=Le(GF=>{"use strict";Object.defineProperty(GF,"__esModule",{value:!0});Object.defineProperty(GF,"default",{enumerable:!0,get:function(){return YHt}});var zHt=FT(),JHt=QHt(OT());function QHt(e){return e&&e.__esModule?e:{default:e}}function YHt({tailwindConfig:{theme:e}}){return function(t){t.walkAtRules("screen",n=>{let i=n.params,r=(0,zHt.normalizeScreens)(e.screens).find(({name:c})=>c===i);if(!r)throw n.error(`No \`${i}\` screen found.`);n.name="media",n.params=(0,JHt.default)(r)})}}});var dme=Le(zF=>{"use strict";Object.defineProperty(zF,"__esModule",{value:!0});function ept(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}ept(zF,{elementSelectorParser:function(){return pme},default:function(){return ipt}});var cme=Hme(gl()),ZF=Hme(Qu()),tpt=CH();function Hme(e){return e&&e.__esModule?e:{default:e}}var ume={id(e){return ZF.default.attribute({attribute:"id",operator:"=",value:e.value,quoteMark:'"'})}};function rpt(e){let t=e.filter(s=>s.type!=="pseudo"||s.nodes.length>0?!0:s.value.startsWith("::")||[":before",":after",":first-line",":first-letter"].includes(s.value)).reverse(),n=new Set(["tag","class","id","attribute"]),i=t.findIndex(s=>n.has(s.type));if(i===-1)return t.reverse().join("").trim();let o=t[i],r=ume[o.type]?ume[o.type](o):o;t=t.slice(0,i);let c=t.findIndex(s=>s.type==="combinator"&&s.value===">");return c!==-1&&(t.splice(0,c),t.unshift(ZF.default.universal())),[r,...t.reverse()].join("").trim()}var pme=(0,ZF.default)(e=>e.map(t=>{let n=t.split(i=>i.type==="combinator"&&i.value===" ").pop();return rpt(n)})),XF=new Map;function npt(e){return XF.has(e)||XF.set(e,pme.transformSync(e)),XF.get(e)}function ipt({tailwindConfig:e}){return t=>{let n=new Map,i=new Set;if(t.walkAtRules("defaults",c=>{if(c.nodes&&c.nodes.length>0){i.add(c);return}let s=c.params;n.has(s)||n.set(s,new Set),n.get(s).add(c.parent),c.remove()}),(0,tpt.flagEnabled)(e,"optimizeUniversalDefaults"))for(let c of i){let s=new Map;var o;let u=(o=n.get(c.params))!==null&&o!==void 0?o:[];for(let H of u)for(let a of npt(H.selector)){let l=a.includes(":-")||a.includes("::-")||a.includes(":has")?a:"__DEFAULT__";var r;let p=(r=s.get(l))!==null&&r!==void 0?r:new Set;s.set(l,p),p.add(a)}if(s.size===0){c.remove();continue}for(let[,H]of s){let a=cme.default.rule({source:c.source});a.selectors=[...H],a.append(c.nodes.map(l=>l.clone())),c.before(a)}c.remove()}else if(i.size){let c=cme.default.rule({selectors:["*","::before","::after"]});for(let u of i)c.append(u.nodes),c.parent||u.before(c),c.source||(c.source=u.source),u.remove();let s=c.clone({selectors:["::backdrop"]});c.after(s)}}}});var hme=Le(JF=>{"use strict";Object.defineProperty(JF,"__esModule",{value:!0});Object.defineProperty(JF,"default",{enumerable:!0,get:function(){return apt}});var fme={atrule:["name","params"],rule:["selector"]},spt=new Set(Object.keys(fme));function apt(){function e(t){let n=null;t.each(i=>{if(!spt.has(i.type)){n=null;return}if(n===null){n=i;return}let o=fme[i.type];var r,c;i.type==="atrule"&&i.name==="font-face"?n=i:o.every(s=>((r=i[s])!==null&&r!==void 0?r:"").replace(/\s+/g," ")===((c=n[s])!==null&&c!==void 0?c:"").replace(/\s+/g," "))?(i.nodes&&n.append(i.nodes),i.remove()):n=i}),t.each(i=>{i.type==="atrule"&&e(i)})}return t=>{e(t)}}});var _me=Le(QF=>{"use strict";Object.defineProperty(QF,"__esModule",{value:!0});Object.defineProperty(QF,"default",{enumerable:!0,get:function(){return opt}});function opt(){return e=>{e.walkRules(t=>{let n=new Map,i=new Set([]),o=new Map;t.walkDecls(r=>{if(r.parent===t){if(n.has(r.prop)){if(n.get(r.prop).value===r.value){i.add(n.get(r.prop)),n.set(r.prop,r);return}o.has(r.prop)||o.set(r.prop,new Set),o.get(r.prop).add(n.get(r.prop)),o.get(r.prop).add(r)}n.set(r.prop,r)}});for(let r of i)r.remove();for(let r of o.values()){let c=new Map;for(let s of r){let u=cpt(s.value);u!==null&&(c.has(u)||c.set(u,new Set),c.get(u).add(s))}for(let s of c.values()){let u=Array.from(s).slice(0,-1);for(let H of u)H.remove()}}})}}var lpt=Symbol("unitless-number");function cpt(e){let t=/^-?\d*.?\d+([\w%]+)?$/g.exec(e);if(t){var n;return(n=t[1])!==null&&n!==void 0?n:lpt}return null}});var mme=Le(YF=>{"use strict";Object.defineProperty(YF,"__esModule",{value:!0});Object.defineProperty(YF,"default",{enumerable:!0,get:function(){return Hpt}});function upt(e){if(!e.walkAtRules)return;let t=new Set;if(e.walkAtRules("apply",n=>{t.add(n.parent)}),t.size!==0)for(let n of t){let i=[],o=[];for(let r of n.nodes)r.type==="atrule"&&r.name==="apply"?(o.length>0&&(i.push(o),o=[]),i.push([r])):o.push(r);if(o.length>0&&i.push(o),i.length!==1){for(let r of[...i].reverse()){let c=n.clone({nodes:[]});c.append(r),n.after(c)}n.remove()}}}function Hpt(){return e=>{upt(e)}}});var yme=Le(e4=>{"use strict";Object.defineProperty(e4,"__esModule",{value:!0});Object.defineProperty(e4,"default",{enumerable:!0,get:function(){return Apt}});var ppt=up(b_e()),dpt=up(N_e()),fpt=up($F()),hpt=up(ome()),_pt=up(lme()),mpt=up(dme()),Ept=up(hme()),ypt=up(_me()),Eme=up(mme()),gpt=Am(),bpt=CH();function up(e){return e&&e.__esModule?e:{default:e}}function Apt(e){return async function(t,n){let{tailwindDirectives:i,applyDirectives:o}=(0,ppt.default)(t);(0,Eme.default)()(t,n);let r=e({tailwindDirectives:i,applyDirectives:o,registerDependency(c){n.messages.push({plugin:"tailwindcss",parent:n.opts.from,...c})},createContext(c,s){return(0,gpt.createContext)(c,s,t)}})(t,n);if(r.tailwindConfig.separator==="-")throw new Error("The '-' character cannot be used as a custom separator in JIT mode due to parsing ambiguity. Please use another character like '_' instead.");(0,bpt.issueFlagNotices)(r.tailwindConfig),await(0,dpt.default)(r)(t,n),(0,Eme.default)()(t,n),(0,fpt.default)(r)(t,n),(0,hpt.default)(r)(t,n),(0,_pt.default)(r)(t,n),(0,mpt.default)(r)(t,n),(0,Ept.default)(r)(t,n),(0,ypt.default)(r)(t,n)}}});var bme=Le(r4=>{"use strict";Object.defineProperty(r4,"__esModule",{value:!0});Object.defineProperty(r4,"findAtConfigPath",{enumerable:!0,get:function(){return Spt}});var Ipt=gme(require("fs")),t4=gme(require("path"));function gme(e){return e&&e.__esModule?e:{default:e}}function Spt(e,t){let n=null,i=null;return e.walkAtRules("config",o=>{var r,c,s;if(i=(s=(c=(r=o.source)===null||r===void 0?void 0:r.input.file)!==null&&c!==void 0?c:t.opts.from)!==null&&s!==void 0?s:null,i===null)throw o.error("The `@config` directive cannot be used without setting `from` in your PostCSS config.");if(n)throw o.error("Only one `@config` directive is allowed per file.");let u=o.params.match(/(['"])(.*?)\1/);if(!u)throw o.error("A path is required when using the `@config` directive.");let H=u[2];if(t4.default.isAbsolute(H))throw o.error("The `@config` directive cannot be used with an absolute path.");if(n=t4.default.resolve(t4.default.dirname(i),H),!Ipt.default.existsSync(n))throw o.error(`The config file at "${H}" does not exist. Make sure the path is correct and the file exists.`);o.remove()}),n||null}});var Tme=Le((Lme,n4)=>{"use strict";Object.defineProperty(Lme,"__esModule",{value:!0});var Lpt=Sme(g_e()),Ame=Sme(yme()),Ime=Gf(),Tpt=bme();function Sme(e){return e&&e.__esModule?e:{default:e}}n4.exports=function(t){return{postcssPlugin:"tailwindcss",plugins:[Ime.env.DEBUG&&function(n){return console.log(`
|
|
`),console.time("JIT TOTAL"),n},async function(n,i){var o;t=(o=(0,Tpt.findAtConfigPath)(n,i))!==null&&o!==void 0?o:t;let r=(0,Lpt.default)(t);if(n.type==="document"){let c=n.nodes.filter(s=>s.type==="root");for(let s of c)s.type==="root"&&await(0,Ame.default)(r)(s,i);return}await(0,Ame.default)(r)(n,i)},Ime.env.DEBUG&&function(n){return console.timeEnd("JIT TOTAL"),console.log(`
|
|
`),n}].filter(Boolean)}};n4.exports.postcss=!0});var i4=Le((s5t,vme)=>{"use strict";vme.exports=Tme()});var Pme=Le((b5t,Dme)=>{(()=>{var e={"./node_modules/.deno/mlly@1.7.2/node_modules/mlly/dist lazy recursive":o=>{function r(c){return Promise.resolve().then(()=>{var s=new Error("Cannot find module '"+c+"'");throw s.code="MODULE_NOT_FOUND",s})}r.keys=()=>[],r.resolve=r,r.id="./node_modules/.deno/mlly@1.7.2/node_modules/mlly/dist lazy recursive",o.exports=r}},t={};function n(o){var r=t[o];if(r!==void 0)return r.exports;var c=t[o]={exports:{}};return e[o](c,c.exports,n),c.exports}n.n=o=>{var r=o&&o.__esModule?()=>o.default:()=>o;return n.d(r,{a:r}),r},n.d=(o,r)=>{for(var c in r)n.o(r,c)&&!n.o(o,c)&&Object.defineProperty(o,c,{enumerable:!0,get:r[c]})},n.o=(o,r)=>Object.prototype.hasOwnProperty.call(o,r);var i={};(()=>{"use strict";n.d(i,{default:()=>Ts});let o=require("node:os");var r=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],c=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],s="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",u={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},H="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",a={5:H,"5module":H+" export import",6:H+" const class extends export import super"},l=/^in(stanceof)?$/,p=new RegExp("["+s+"]"),d=new RegExp("["+s+"\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65]");function h(w,Y){for(var ge=65536,De=0;De<Y.length;De+=2){if((ge+=Y[De])>w)return!1;if((ge+=Y[De+1])>=w)return!0}return!1}function m(w,Y){return w<65?w===36:w<91||(w<97?w===95:w<123||(w<=65535?w>=170&&p.test(String.fromCharCode(w)):Y!==!1&&h(w,c)))}function g(w,Y){return w<48?w===36:w<58||!(w<65)&&(w<91||(w<97?w===95:w<123||(w<=65535?w>=170&&d.test(String.fromCharCode(w)):Y!==!1&&(h(w,c)||h(w,r)))))}var y=function(w,Y){Y===void 0&&(Y={}),this.label=w,this.keyword=Y.keyword,this.beforeExpr=!!Y.beforeExpr,this.startsExpr=!!Y.startsExpr,this.isLoop=!!Y.isLoop,this.isAssign=!!Y.isAssign,this.prefix=!!Y.prefix,this.postfix=!!Y.postfix,this.binop=Y.binop||null,this.updateContext=null};function _(w,Y){return new y(w,{beforeExpr:!0,binop:Y})}var E={beforeExpr:!0},A={startsExpr:!0},S={};function T(w,Y){return Y===void 0&&(Y={}),Y.keyword=w,S[w]=new y(w,Y)}var I={num:new y("num",A),regexp:new y("regexp",A),string:new y("string",A),name:new y("name",A),privateId:new y("privateId",A),eof:new y("eof"),bracketL:new y("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new y("]"),braceL:new y("{",{beforeExpr:!0,startsExpr:!0}),braceR:new y("}"),parenL:new y("(",{beforeExpr:!0,startsExpr:!0}),parenR:new y(")"),comma:new y(",",E),semi:new y(";",E),colon:new y(":",E),dot:new y("."),question:new y("?",E),questionDot:new y("?."),arrow:new y("=>",E),template:new y("template"),invalidTemplate:new y("invalidTemplate"),ellipsis:new y("...",E),backQuote:new y("`",A),dollarBraceL:new y("${",{beforeExpr:!0,startsExpr:!0}),eq:new y("=",{beforeExpr:!0,isAssign:!0}),assign:new y("_=",{beforeExpr:!0,isAssign:!0}),incDec:new y("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new y("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:_("||",1),logicalAND:_("&&",2),bitwiseOR:_("|",3),bitwiseXOR:_("^",4),bitwiseAND:_("&",5),equality:_("==/!=/===/!==",6),relational:_("</>/<=/>=",7),bitShift:_("<</>>/>>>",8),plusMin:new y("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:_("%",10),star:_("*",10),slash:_("/",10),starstar:new y("**",{beforeExpr:!0}),coalesce:_("??",1),_break:T("break"),_case:T("case",E),_catch:T("catch"),_continue:T("continue"),_debugger:T("debugger"),_default:T("default",E),_do:T("do",{isLoop:!0,beforeExpr:!0}),_else:T("else",E),_finally:T("finally"),_for:T("for",{isLoop:!0}),_function:T("function",A),_if:T("if"),_return:T("return",E),_switch:T("switch"),_throw:T("throw",E),_try:T("try"),_var:T("var"),_const:T("const"),_while:T("while",{isLoop:!0}),_with:T("with"),_new:T("new",{beforeExpr:!0,startsExpr:!0}),_this:T("this",A),_super:T("super",A),_class:T("class",A),_extends:T("extends",E),_export:T("export"),_import:T("import",A),_null:T("null",A),_true:T("true",A),_false:T("false",A),_in:T("in",{beforeExpr:!0,binop:7}),_instanceof:T("instanceof",{beforeExpr:!0,binop:7}),_typeof:T("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:T("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:T("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},L=/\r\n?|\n|\u2028|\u2029/,x=new RegExp(L.source,"g");function C(w){return w===10||w===13||w===8232||w===8233}function D(w,Y,ge){ge===void 0&&(ge=w.length);for(var De=Y;De<ge;De++){var Je=w.charCodeAt(De);if(C(Je))return De<ge-1&&Je===13&&w.charCodeAt(De+1)===10?De+2:De+1}return-1}var O=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,j=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,k=Object.prototype,$=k.hasOwnProperty,U=k.toString,F=Object.hasOwn||function(w,Y){return $.call(w,Y)},P=Array.isArray||function(w){return U.call(w)==="[object Array]"},W=Object.create(null);function Z(w){return W[w]||(W[w]=new RegExp("^(?:"+w.replace(/ /g,"|")+")$"))}function ee(w){return w<=65535?String.fromCharCode(w):(w-=65536,String.fromCharCode(55296+(w>>10),56320+(1023&w)))}var J=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ne=function(w,Y){this.line=w,this.column=Y};ne.prototype.offset=function(w){return new ne(this.line,this.column+w)};var K=function(w,Y,ge){this.start=Y,this.end=ge,w.sourceFile!==null&&(this.source=w.sourceFile)};function q(w,Y){for(var ge=1,De=0;;){var Je=D(w,De,Y);if(Je<0)return new ne(ge,Y-De);++ge,De=Je}}var Q={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},z=!1;function ie(w){var Y={};for(var ge in Q)Y[ge]=w&&F(w,ge)?w[ge]:Q[ge];if(Y.ecmaVersion==="latest"?Y.ecmaVersion=1e8:Y.ecmaVersion==null?(!z&&typeof console=="object"&&console.warn&&(z=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
Defaulting to 2020, but this will stop working in the future.`)),Y.ecmaVersion=11):Y.ecmaVersion>=2015&&(Y.ecmaVersion-=2009),Y.allowReserved==null&&(Y.allowReserved=Y.ecmaVersion<5),w&&w.allowHashBang!=null||(Y.allowHashBang=Y.ecmaVersion>=14),P(Y.onToken)){var De=Y.onToken;Y.onToken=function(Je){return De.push(Je)}}return P(Y.onComment)&&(Y.onComment=function(Je,dt){return function(ut,It,Ut,yr,Jt,zr){var Cr={type:ut?"Block":"Line",value:It,start:Ut,end:yr};Je.locations&&(Cr.loc=new K(this,Jt,zr)),Je.ranges&&(Cr.range=[Ut,yr]),dt.push(Cr)}}(Y,Y.onComment)),Y}function _e(w,Y){return 2|(w?4:0)|(Y?8:0)}var He=function(w,Y,ge){this.options=w=ie(w),this.sourceFile=w.sourceFile,this.keywords=Z(a[w.ecmaVersion>=6?6:w.sourceType==="module"?"5module":5]);var De="";w.allowReserved!==!0&&(De=u[w.ecmaVersion>=6?6:w.ecmaVersion===5?5:3],w.sourceType==="module"&&(De+=" await")),this.reservedWords=Z(De);var Je=(De?De+" ":"")+u.strict;this.reservedWordsStrict=Z(Je),this.reservedWordsStrictBind=Z(Je+" "+u.strictBind),this.input=String(Y),this.containsEsc=!1,ge?(this.pos=ge,this.lineStart=this.input.lastIndexOf(`
|
|
`,ge-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(L).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=I.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=w.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&w.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},be={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};He.prototype.parse=function(){var w=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(w)},be.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},be.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},be.inAsync.get=function(){return(4&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},be.canAwait.get=function(){for(var w=this.scopeStack.length-1;w>=0;w--){var Y=this.scopeStack[w];if(Y.inClassFieldInit||256&Y.flags)return!1;if(2&Y.flags)return(4&Y.flags)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},be.allowSuper.get=function(){var w=this.currentThisScope(),Y=w.flags,ge=w.inClassFieldInit;return(64&Y)>0||ge||this.options.allowSuperOutsideMethod},be.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},be.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},be.allowNewDotTarget.get=function(){var w=this.currentThisScope(),Y=w.flags,ge=w.inClassFieldInit;return(258&Y)>0||ge},be.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},He.extend=function(){for(var w=[],Y=arguments.length;Y--;)w[Y]=arguments[Y];for(var ge=this,De=0;De<w.length;De++)ge=w[De](ge);return ge},He.parse=function(w,Y){return new this(Y,w).parse()},He.parseExpressionAt=function(w,Y,ge){var De=new this(ge,w,Y);return De.nextToken(),De.parseExpression()},He.tokenizer=function(w,Y){return new this(Y,w)},Object.defineProperties(He.prototype,be);var Ve=He.prototype,Fe=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Ve.strictDirective=function(w){if(this.options.ecmaVersion<5)return!1;for(;;){j.lastIndex=w,w+=j.exec(this.input)[0].length;var Y=Fe.exec(this.input.slice(w));if(!Y)return!1;if((Y[1]||Y[2])==="use strict"){j.lastIndex=w+Y[0].length;var ge=j.exec(this.input),De=ge.index+ge[0].length,Je=this.input.charAt(De);return Je===";"||Je==="}"||L.test(ge[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(Je)||Je==="!"&&this.input.charAt(De+1)==="=")}w+=Y[0].length,j.lastIndex=w,w+=j.exec(this.input)[0].length,this.input[w]===";"&&w++}},Ve.eat=function(w){return this.type===w&&(this.next(),!0)},Ve.isContextual=function(w){return this.type===I.name&&this.value===w&&!this.containsEsc},Ve.eatContextual=function(w){return!!this.isContextual(w)&&(this.next(),!0)},Ve.expectContextual=function(w){this.eatContextual(w)||this.unexpected()},Ve.canInsertSemicolon=function(){return this.type===I.eof||this.type===I.braceR||L.test(this.input.slice(this.lastTokEnd,this.start))},Ve.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Ve.semicolon=function(){this.eat(I.semi)||this.insertSemicolon()||this.unexpected()},Ve.afterTrailingComma=function(w,Y){if(this.type===w)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),Y||this.next(),!0},Ve.expect=function(w){this.eat(w)||this.unexpected()},Ve.unexpected=function(w){this.raise(w??this.start,"Unexpected token")};var me=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Ve.checkPatternErrors=function(w,Y){if(w){w.trailingComma>-1&&this.raiseRecoverable(w.trailingComma,"Comma is not permitted after the rest element");var ge=Y?w.parenthesizedAssign:w.parenthesizedBind;ge>-1&&this.raiseRecoverable(ge,Y?"Assigning to rvalue":"Parenthesized pattern")}},Ve.checkExpressionErrors=function(w,Y){if(!w)return!1;var ge=w.shorthandAssign,De=w.doubleProto;if(!Y)return ge>=0||De>=0;ge>=0&&this.raise(ge,"Shorthand property assignments are valid only in destructuring patterns"),De>=0&&this.raiseRecoverable(De,"Redefinition of __proto__ property")},Ve.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Ve.isSimpleAssignTarget=function(w){return w.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(w.expression):w.type==="Identifier"||w.type==="MemberExpression"};var ce=He.prototype;ce.parseTopLevel=function(w){var Y=Object.create(null);for(w.body||(w.body=[]);this.type!==I.eof;){var ge=this.parseStatement(null,!0,Y);w.body.push(ge)}if(this.inModule)for(var De=0,Je=Object.keys(this.undefinedExports);De<Je.length;De+=1){var dt=Je[De];this.raiseRecoverable(this.undefinedExports[dt].start,"Export '"+dt+"' is not defined")}return this.adaptDirectivePrologue(w.body),this.next(),w.sourceType=this.options.sourceType,this.finishNode(w,"Program")};var ke={kind:"loop"},je={kind:"switch"};ce.isLet=function(w){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;j.lastIndex=this.pos;var Y=j.exec(this.input),ge=this.pos+Y[0].length,De=this.input.charCodeAt(ge);if(De===91||De===92)return!0;if(w)return!1;if(De===123||De>55295&&De<56320)return!0;if(m(De,!0)){for(var Je=ge+1;g(De=this.input.charCodeAt(Je),!0);)++Je;if(De===92||De>55295&&De<56320)return!0;var dt=this.input.slice(ge,Je);if(!l.test(dt))return!0}return!1},ce.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;j.lastIndex=this.pos;var w,Y=j.exec(this.input),ge=this.pos+Y[0].length;return!(L.test(this.input.slice(this.pos,ge))||this.input.slice(ge,ge+8)!=="function"||ge+8!==this.input.length&&(g(w=this.input.charCodeAt(ge+8))||w>55295&&w<56320))},ce.parseStatement=function(w,Y,ge){var De,Je=this.type,dt=this.startNode();switch(this.isLet(w)&&(Je=I._var,De="let"),Je){case I._break:case I._continue:return this.parseBreakContinueStatement(dt,Je.keyword);case I._debugger:return this.parseDebuggerStatement(dt);case I._do:return this.parseDoStatement(dt);case I._for:return this.parseForStatement(dt);case I._function:return w&&(this.strict||w!=="if"&&w!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(dt,!1,!w);case I._class:return w&&this.unexpected(),this.parseClass(dt,!0);case I._if:return this.parseIfStatement(dt);case I._return:return this.parseReturnStatement(dt);case I._switch:return this.parseSwitchStatement(dt);case I._throw:return this.parseThrowStatement(dt);case I._try:return this.parseTryStatement(dt);case I._const:case I._var:return De=De||this.value,w&&De!=="var"&&this.unexpected(),this.parseVarStatement(dt,De);case I._while:return this.parseWhileStatement(dt);case I._with:return this.parseWithStatement(dt);case I.braceL:return this.parseBlock(!0,dt);case I.semi:return this.parseEmptyStatement(dt);case I._export:case I._import:if(this.options.ecmaVersion>10&&Je===I._import){j.lastIndex=this.pos;var ut=j.exec(this.input),It=this.pos+ut[0].length,Ut=this.input.charCodeAt(It);if(Ut===40||Ut===46)return this.parseExpressionStatement(dt,this.parseExpression())}return this.options.allowImportExportEverywhere||(Y||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),Je===I._import?this.parseImport(dt):this.parseExport(dt,ge);default:if(this.isAsyncFunction())return w&&this.unexpected(),this.next(),this.parseFunctionStatement(dt,!0,!w);var yr=this.value,Jt=this.parseExpression();return Je===I.name&&Jt.type==="Identifier"&&this.eat(I.colon)?this.parseLabeledStatement(dt,yr,Jt,w):this.parseExpressionStatement(dt,Jt)}},ce.parseBreakContinueStatement=function(w,Y){var ge=Y==="break";this.next(),this.eat(I.semi)||this.insertSemicolon()?w.label=null:this.type!==I.name?this.unexpected():(w.label=this.parseIdent(),this.semicolon());for(var De=0;De<this.labels.length;++De){var Je=this.labels[De];if((w.label==null||Je.name===w.label.name)&&(Je.kind!=null&&(ge||Je.kind==="loop")||w.label&&ge))break}return De===this.labels.length&&this.raise(w.start,"Unsyntactic "+Y),this.finishNode(w,ge?"BreakStatement":"ContinueStatement")},ce.parseDebuggerStatement=function(w){return this.next(),this.semicolon(),this.finishNode(w,"DebuggerStatement")},ce.parseDoStatement=function(w){return this.next(),this.labels.push(ke),w.body=this.parseStatement("do"),this.labels.pop(),this.expect(I._while),w.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(I.semi):this.semicolon(),this.finishNode(w,"DoWhileStatement")},ce.parseForStatement=function(w){this.next();var Y=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(ke),this.enterScope(0),this.expect(I.parenL),this.type===I.semi)return Y>-1&&this.unexpected(Y),this.parseFor(w,null);var ge=this.isLet();if(this.type===I._var||this.type===I._const||ge){var De=this.startNode(),Je=ge?"let":this.value;return this.next(),this.parseVar(De,!0,Je),this.finishNode(De,"VariableDeclaration"),(this.type===I._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&De.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===I._in?Y>-1&&this.unexpected(Y):w.await=Y>-1),this.parseForIn(w,De)):(Y>-1&&this.unexpected(Y),this.parseFor(w,De))}var dt=this.isContextual("let"),ut=!1,It=this.containsEsc,Ut=new me,yr=this.start,Jt=Y>-1?this.parseExprSubscripts(Ut,"await"):this.parseExpression(!0,Ut);return this.type===I._in||(ut=this.options.ecmaVersion>=6&&this.isContextual("of"))?(Y>-1?(this.type===I._in&&this.unexpected(Y),w.await=!0):ut&&this.options.ecmaVersion>=8&&(Jt.start!==yr||It||Jt.type!=="Identifier"||Jt.name!=="async"?this.options.ecmaVersion>=9&&(w.await=!1):this.unexpected()),dt&&ut&&this.raise(Jt.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(Jt,!1,Ut),this.checkLValPattern(Jt),this.parseForIn(w,Jt)):(this.checkExpressionErrors(Ut,!0),Y>-1&&this.unexpected(Y),this.parseFor(w,Jt))},ce.parseFunctionStatement=function(w,Y,ge){return this.next(),this.parseFunction(w,re|(ge?0:fe),!1,Y)},ce.parseIfStatement=function(w){return this.next(),w.test=this.parseParenExpression(),w.consequent=this.parseStatement("if"),w.alternate=this.eat(I._else)?this.parseStatement("if"):null,this.finishNode(w,"IfStatement")},ce.parseReturnStatement=function(w){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(I.semi)||this.insertSemicolon()?w.argument=null:(w.argument=this.parseExpression(),this.semicolon()),this.finishNode(w,"ReturnStatement")},ce.parseSwitchStatement=function(w){var Y;this.next(),w.discriminant=this.parseParenExpression(),w.cases=[],this.expect(I.braceL),this.labels.push(je),this.enterScope(0);for(var ge=!1;this.type!==I.braceR;)if(this.type===I._case||this.type===I._default){var De=this.type===I._case;Y&&this.finishNode(Y,"SwitchCase"),w.cases.push(Y=this.startNode()),Y.consequent=[],this.next(),De?Y.test=this.parseExpression():(ge&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),ge=!0,Y.test=null),this.expect(I.colon)}else Y||this.unexpected(),Y.consequent.push(this.parseStatement(null));return this.exitScope(),Y&&this.finishNode(Y,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(w,"SwitchStatement")},ce.parseThrowStatement=function(w){return this.next(),L.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),w.argument=this.parseExpression(),this.semicolon(),this.finishNode(w,"ThrowStatement")};var Oe=[];ce.parseCatchClauseParam=function(){var w=this.parseBindingAtom(),Y=w.type==="Identifier";return this.enterScope(Y?32:0),this.checkLValPattern(w,Y?4:2),this.expect(I.parenR),w},ce.parseTryStatement=function(w){if(this.next(),w.block=this.parseBlock(),w.handler=null,this.type===I._catch){var Y=this.startNode();this.next(),this.eat(I.parenL)?Y.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),Y.param=null,this.enterScope(0)),Y.body=this.parseBlock(!1),this.exitScope(),w.handler=this.finishNode(Y,"CatchClause")}return w.finalizer=this.eat(I._finally)?this.parseBlock():null,w.handler||w.finalizer||this.raise(w.start,"Missing catch or finally clause"),this.finishNode(w,"TryStatement")},ce.parseVarStatement=function(w,Y,ge){return this.next(),this.parseVar(w,!1,Y,ge),this.semicolon(),this.finishNode(w,"VariableDeclaration")},ce.parseWhileStatement=function(w){return this.next(),w.test=this.parseParenExpression(),this.labels.push(ke),w.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(w,"WhileStatement")},ce.parseWithStatement=function(w){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),w.object=this.parseParenExpression(),w.body=this.parseStatement("with"),this.finishNode(w,"WithStatement")},ce.parseEmptyStatement=function(w){return this.next(),this.finishNode(w,"EmptyStatement")},ce.parseLabeledStatement=function(w,Y,ge,De){for(var Je=0,dt=this.labels;Je<dt.length;Je+=1)dt[Je].name===Y&&this.raise(ge.start,"Label '"+Y+"' is already declared");for(var ut=this.type.isLoop?"loop":this.type===I._switch?"switch":null,It=this.labels.length-1;It>=0;It--){var Ut=this.labels[It];if(Ut.statementStart!==w.start)break;Ut.statementStart=this.start,Ut.kind=ut}return this.labels.push({name:Y,kind:ut,statementStart:this.start}),w.body=this.parseStatement(De?De.indexOf("label")===-1?De+"label":De:"label"),this.labels.pop(),w.label=ge,this.finishNode(w,"LabeledStatement")},ce.parseExpressionStatement=function(w,Y){return w.expression=Y,this.semicolon(),this.finishNode(w,"ExpressionStatement")},ce.parseBlock=function(w,Y,ge){for(w===void 0&&(w=!0),Y===void 0&&(Y=this.startNode()),Y.body=[],this.expect(I.braceL),w&&this.enterScope(0);this.type!==I.braceR;){var De=this.parseStatement(null);Y.body.push(De)}return ge&&(this.strict=!1),this.next(),w&&this.exitScope(),this.finishNode(Y,"BlockStatement")},ce.parseFor=function(w,Y){return w.init=Y,this.expect(I.semi),w.test=this.type===I.semi?null:this.parseExpression(),this.expect(I.semi),w.update=this.type===I.parenR?null:this.parseExpression(),this.expect(I.parenR),w.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(w,"ForStatement")},ce.parseForIn=function(w,Y){var ge=this.type===I._in;return this.next(),Y.type==="VariableDeclaration"&&Y.declarations[0].init!=null&&(!ge||this.options.ecmaVersion<8||this.strict||Y.kind!=="var"||Y.declarations[0].id.type!=="Identifier")&&this.raise(Y.start,(ge?"for-in":"for-of")+" loop variable declaration may not have an initializer"),w.left=Y,w.right=ge?this.parseExpression():this.parseMaybeAssign(),this.expect(I.parenR),w.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(w,ge?"ForInStatement":"ForOfStatement")},ce.parseVar=function(w,Y,ge,De){for(w.declarations=[],w.kind=ge;;){var Je=this.startNode();if(this.parseVarId(Je,ge),this.eat(I.eq)?Je.init=this.parseMaybeAssign(Y):De||ge!=="const"||this.type===I._in||this.options.ecmaVersion>=6&&this.isContextual("of")?De||Je.id.type==="Identifier"||Y&&(this.type===I._in||this.isContextual("of"))?Je.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),w.declarations.push(this.finishNode(Je,"VariableDeclarator")),!this.eat(I.comma))break}return w},ce.parseVarId=function(w,Y){w.id=this.parseBindingAtom(),this.checkLValPattern(w.id,Y==="var"?1:2,!1)};var re=1,fe=2;function he(w,Y){var ge=Y.key.name,De=w[ge],Je="true";return Y.type!=="MethodDefinition"||Y.kind!=="get"&&Y.kind!=="set"||(Je=(Y.static?"s":"i")+Y.kind),De==="iget"&&Je==="iset"||De==="iset"&&Je==="iget"||De==="sget"&&Je==="sset"||De==="sset"&&Je==="sget"?(w[ge]="true",!1):!!De||(w[ge]=Je,!1)}function se(w,Y){var ge=w.computed,De=w.key;return!ge&&(De.type==="Identifier"&&De.name===Y||De.type==="Literal"&&De.value===Y)}ce.parseFunction=function(w,Y,ge,De,Je){this.initFunction(w),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!De)&&(this.type===I.star&&Y&fe&&this.unexpected(),w.generator=this.eat(I.star)),this.options.ecmaVersion>=8&&(w.async=!!De),Y&re&&(w.id=4&Y&&this.type!==I.name?null:this.parseIdent(),!w.id||Y&fe||this.checkLValSimple(w.id,this.strict||w.generator||w.async?this.treatFunctionsAsVar?1:2:3));var dt=this.yieldPos,ut=this.awaitPos,It=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(_e(w.async,w.generator)),Y&re||(w.id=this.type===I.name?this.parseIdent():null),this.parseFunctionParams(w),this.parseFunctionBody(w,ge,!1,Je),this.yieldPos=dt,this.awaitPos=ut,this.awaitIdentPos=It,this.finishNode(w,Y&re?"FunctionDeclaration":"FunctionExpression")},ce.parseFunctionParams=function(w){this.expect(I.parenL),w.params=this.parseBindingList(I.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},ce.parseClass=function(w,Y){this.next();var ge=this.strict;this.strict=!0,this.parseClassId(w,Y),this.parseClassSuper(w);var De=this.enterClassBody(),Je=this.startNode(),dt=!1;for(Je.body=[],this.expect(I.braceL);this.type!==I.braceR;){var ut=this.parseClassElement(w.superClass!==null);ut&&(Je.body.push(ut),ut.type==="MethodDefinition"&&ut.kind==="constructor"?(dt&&this.raiseRecoverable(ut.start,"Duplicate constructor in the same class"),dt=!0):ut.key&&ut.key.type==="PrivateIdentifier"&&he(De,ut)&&this.raiseRecoverable(ut.key.start,"Identifier '#"+ut.key.name+"' has already been declared"))}return this.strict=ge,this.next(),w.body=this.finishNode(Je,"ClassBody"),this.exitClassBody(),this.finishNode(w,Y?"ClassDeclaration":"ClassExpression")},ce.parseClassElement=function(w){if(this.eat(I.semi))return null;var Y=this.options.ecmaVersion,ge=this.startNode(),De="",Je=!1,dt=!1,ut="method",It=!1;if(this.eatContextual("static")){if(Y>=13&&this.eat(I.braceL))return this.parseClassStaticBlock(ge),ge;this.isClassElementNameStart()||this.type===I.star?It=!0:De="static"}if(ge.static=It,!De&&Y>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==I.star||this.canInsertSemicolon()?De="async":dt=!0),!De&&(Y>=9||!dt)&&this.eat(I.star)&&(Je=!0),!De&&!dt&&!Je){var Ut=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?ut=Ut:De=Ut)}if(De?(ge.computed=!1,ge.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),ge.key.name=De,this.finishNode(ge.key,"Identifier")):this.parseClassElementName(ge),Y<13||this.type===I.parenL||ut!=="method"||Je||dt){var yr=!ge.static&&se(ge,"constructor"),Jt=yr&&w;yr&&ut!=="method"&&this.raise(ge.key.start,"Constructor can't have get/set modifier"),ge.kind=yr?"constructor":ut,this.parseClassMethod(ge,Je,dt,Jt)}else this.parseClassField(ge);return ge},ce.isClassElementNameStart=function(){return this.type===I.name||this.type===I.privateId||this.type===I.num||this.type===I.string||this.type===I.bracketL||this.type.keyword},ce.parseClassElementName=function(w){this.type===I.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),w.computed=!1,w.key=this.parsePrivateIdent()):this.parsePropertyName(w)},ce.parseClassMethod=function(w,Y,ge,De){var Je=w.key;w.kind==="constructor"?(Y&&this.raise(Je.start,"Constructor can't be a generator"),ge&&this.raise(Je.start,"Constructor can't be an async method")):w.static&&se(w,"prototype")&&this.raise(Je.start,"Classes may not have a static property named prototype");var dt=w.value=this.parseMethod(Y,ge,De);return w.kind==="get"&&dt.params.length!==0&&this.raiseRecoverable(dt.start,"getter should have no params"),w.kind==="set"&&dt.params.length!==1&&this.raiseRecoverable(dt.start,"setter should have exactly one param"),w.kind==="set"&&dt.params[0].type==="RestElement"&&this.raiseRecoverable(dt.params[0].start,"Setter cannot use rest params"),this.finishNode(w,"MethodDefinition")},ce.parseClassField=function(w){if(se(w,"constructor")?this.raise(w.key.start,"Classes can't have a field named 'constructor'"):w.static&&se(w,"prototype")&&this.raise(w.key.start,"Classes can't have a static field named 'prototype'"),this.eat(I.eq)){var Y=this.currentThisScope(),ge=Y.inClassFieldInit;Y.inClassFieldInit=!0,w.value=this.parseMaybeAssign(),Y.inClassFieldInit=ge}else w.value=null;return this.semicolon(),this.finishNode(w,"PropertyDefinition")},ce.parseClassStaticBlock=function(w){w.body=[];var Y=this.labels;for(this.labels=[],this.enterScope(320);this.type!==I.braceR;){var ge=this.parseStatement(null);w.body.push(ge)}return this.next(),this.exitScope(),this.labels=Y,this.finishNode(w,"StaticBlock")},ce.parseClassId=function(w,Y){this.type===I.name?(w.id=this.parseIdent(),Y&&this.checkLValSimple(w.id,2,!1)):(Y===!0&&this.unexpected(),w.id=null)},ce.parseClassSuper=function(w){w.superClass=this.eat(I._extends)?this.parseExprSubscripts(null,!1):null},ce.enterClassBody=function(){var w={declared:Object.create(null),used:[]};return this.privateNameStack.push(w),w.declared},ce.exitClassBody=function(){var w=this.privateNameStack.pop(),Y=w.declared,ge=w.used;if(this.options.checkPrivateFields)for(var De=this.privateNameStack.length,Je=De===0?null:this.privateNameStack[De-1],dt=0;dt<ge.length;++dt){var ut=ge[dt];F(Y,ut.name)||(Je?Je.used.push(ut):this.raiseRecoverable(ut.start,"Private field '#"+ut.name+"' must be declared in an enclosing class"))}},ce.parseExportAllDeclaration=function(w,Y){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(w.exported=this.parseModuleExportName(),this.checkExport(Y,w.exported,this.lastTokStart)):w.exported=null),this.expectContextual("from"),this.type!==I.string&&this.unexpected(),w.source=this.parseExprAtom(),this.semicolon(),this.finishNode(w,"ExportAllDeclaration")},ce.parseExport=function(w,Y){if(this.next(),this.eat(I.star))return this.parseExportAllDeclaration(w,Y);if(this.eat(I._default))return this.checkExport(Y,"default",this.lastTokStart),w.declaration=this.parseExportDefaultDeclaration(),this.finishNode(w,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())w.declaration=this.parseExportDeclaration(w),w.declaration.type==="VariableDeclaration"?this.checkVariableExport(Y,w.declaration.declarations):this.checkExport(Y,w.declaration.id,w.declaration.id.start),w.specifiers=[],w.source=null;else{if(w.declaration=null,w.specifiers=this.parseExportSpecifiers(Y),this.eatContextual("from"))this.type!==I.string&&this.unexpected(),w.source=this.parseExprAtom();else{for(var ge=0,De=w.specifiers;ge<De.length;ge+=1){var Je=De[ge];this.checkUnreserved(Je.local),this.checkLocalExport(Je.local),Je.local.type==="Literal"&&this.raise(Je.local.start,"A string literal cannot be used as an exported binding without `from`.")}w.source=null}this.semicolon()}return this.finishNode(w,"ExportNamedDeclaration")},ce.parseExportDeclaration=function(w){return this.parseStatement(null)},ce.parseExportDefaultDeclaration=function(){var w;if(this.type===I._function||(w=this.isAsyncFunction())){var Y=this.startNode();return this.next(),w&&this.next(),this.parseFunction(Y,4|re,!1,w)}if(this.type===I._class){var ge=this.startNode();return this.parseClass(ge,"nullableID")}var De=this.parseMaybeAssign();return this.semicolon(),De},ce.checkExport=function(w,Y,ge){w&&(typeof Y!="string"&&(Y=Y.type==="Identifier"?Y.name:Y.value),F(w,Y)&&this.raiseRecoverable(ge,"Duplicate export '"+Y+"'"),w[Y]=!0)},ce.checkPatternExport=function(w,Y){var ge=Y.type;if(ge==="Identifier")this.checkExport(w,Y,Y.start);else if(ge==="ObjectPattern")for(var De=0,Je=Y.properties;De<Je.length;De+=1){var dt=Je[De];this.checkPatternExport(w,dt)}else if(ge==="ArrayPattern")for(var ut=0,It=Y.elements;ut<It.length;ut+=1){var Ut=It[ut];Ut&&this.checkPatternExport(w,Ut)}else ge==="Property"?this.checkPatternExport(w,Y.value):ge==="AssignmentPattern"?this.checkPatternExport(w,Y.left):ge==="RestElement"&&this.checkPatternExport(w,Y.argument)},ce.checkVariableExport=function(w,Y){if(w)for(var ge=0,De=Y;ge<De.length;ge+=1){var Je=De[ge];this.checkPatternExport(w,Je.id)}},ce.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},ce.parseExportSpecifier=function(w){var Y=this.startNode();return Y.local=this.parseModuleExportName(),Y.exported=this.eatContextual("as")?this.parseModuleExportName():Y.local,this.checkExport(w,Y.exported,Y.exported.start),this.finishNode(Y,"ExportSpecifier")},ce.parseExportSpecifiers=function(w){var Y=[],ge=!0;for(this.expect(I.braceL);!this.eat(I.braceR);){if(ge)ge=!1;else if(this.expect(I.comma),this.afterTrailingComma(I.braceR))break;Y.push(this.parseExportSpecifier(w))}return Y},ce.parseImport=function(w){return this.next(),this.type===I.string?(w.specifiers=Oe,w.source=this.parseExprAtom()):(w.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),w.source=this.type===I.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(w,"ImportDeclaration")},ce.parseImportSpecifier=function(){var w=this.startNode();return w.imported=this.parseModuleExportName(),this.eatContextual("as")?w.local=this.parseIdent():(this.checkUnreserved(w.imported),w.local=w.imported),this.checkLValSimple(w.local,2),this.finishNode(w,"ImportSpecifier")},ce.parseImportDefaultSpecifier=function(){var w=this.startNode();return w.local=this.parseIdent(),this.checkLValSimple(w.local,2),this.finishNode(w,"ImportDefaultSpecifier")},ce.parseImportNamespaceSpecifier=function(){var w=this.startNode();return this.next(),this.expectContextual("as"),w.local=this.parseIdent(),this.checkLValSimple(w.local,2),this.finishNode(w,"ImportNamespaceSpecifier")},ce.parseImportSpecifiers=function(){var w=[],Y=!0;if(this.type===I.name&&(w.push(this.parseImportDefaultSpecifier()),!this.eat(I.comma)))return w;if(this.type===I.star)return w.push(this.parseImportNamespaceSpecifier()),w;for(this.expect(I.braceL);!this.eat(I.braceR);){if(Y)Y=!1;else if(this.expect(I.comma),this.afterTrailingComma(I.braceR))break;w.push(this.parseImportSpecifier())}return w},ce.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===I.string){var w=this.parseLiteral(this.value);return J.test(w.value)&&this.raise(w.start,"An export name cannot include a lone surrogate."),w}return this.parseIdent(!0)},ce.adaptDirectivePrologue=function(w){for(var Y=0;Y<w.length&&this.isDirectiveCandidate(w[Y]);++Y)w[Y].directive=w[Y].expression.raw.slice(1,-1)},ce.isDirectiveCandidate=function(w){return this.options.ecmaVersion>=5&&w.type==="ExpressionStatement"&&w.expression.type==="Literal"&&typeof w.expression.value=="string"&&(this.input[w.start]==='"'||this.input[w.start]==="'")};var Ie=He.prototype;Ie.toAssignable=function(w,Y,ge){if(this.options.ecmaVersion>=6&&w)switch(w.type){case"Identifier":this.inAsync&&w.name==="await"&&this.raise(w.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":w.type="ObjectPattern",ge&&this.checkPatternErrors(ge,!0);for(var De=0,Je=w.properties;De<Je.length;De+=1){var dt=Je[De];this.toAssignable(dt,Y),dt.type!=="RestElement"||dt.argument.type!=="ArrayPattern"&&dt.argument.type!=="ObjectPattern"||this.raise(dt.argument.start,"Unexpected token")}break;case"Property":w.kind!=="init"&&this.raise(w.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(w.value,Y);break;case"ArrayExpression":w.type="ArrayPattern",ge&&this.checkPatternErrors(ge,!0),this.toAssignableList(w.elements,Y);break;case"SpreadElement":w.type="RestElement",this.toAssignable(w.argument,Y),w.argument.type==="AssignmentPattern"&&this.raise(w.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":w.operator!=="="&&this.raise(w.left.end,"Only '=' operator can be used for specifying default value."),w.type="AssignmentPattern",delete w.operator,this.toAssignable(w.left,Y);break;case"ParenthesizedExpression":this.toAssignable(w.expression,Y,ge);break;case"ChainExpression":this.raiseRecoverable(w.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!Y)break;default:this.raise(w.start,"Assigning to rvalue")}else ge&&this.checkPatternErrors(ge,!0);return w},Ie.toAssignableList=function(w,Y){for(var ge=w.length,De=0;De<ge;De++){var Je=w[De];Je&&this.toAssignable(Je,Y)}if(ge){var dt=w[ge-1];this.options.ecmaVersion===6&&Y&&dt&&dt.type==="RestElement"&&dt.argument.type!=="Identifier"&&this.unexpected(dt.argument.start)}return w},Ie.parseSpread=function(w){var Y=this.startNode();return this.next(),Y.argument=this.parseMaybeAssign(!1,w),this.finishNode(Y,"SpreadElement")},Ie.parseRestBinding=function(){var w=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==I.name&&this.unexpected(),w.argument=this.parseBindingAtom(),this.finishNode(w,"RestElement")},Ie.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case I.bracketL:var w=this.startNode();return this.next(),w.elements=this.parseBindingList(I.bracketR,!0,!0),this.finishNode(w,"ArrayPattern");case I.braceL:return this.parseObj(!0)}return this.parseIdent()},Ie.parseBindingList=function(w,Y,ge,De){for(var Je=[],dt=!0;!this.eat(w);)if(dt?dt=!1:this.expect(I.comma),Y&&this.type===I.comma)Je.push(null);else{if(ge&&this.afterTrailingComma(w))break;if(this.type===I.ellipsis){var ut=this.parseRestBinding();this.parseBindingListItem(ut),Je.push(ut),this.type===I.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(w);break}Je.push(this.parseAssignableListItem(De))}return Je},Ie.parseAssignableListItem=function(w){var Y=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(Y),Y},Ie.parseBindingListItem=function(w){return w},Ie.parseMaybeDefault=function(w,Y,ge){if(ge=ge||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(I.eq))return ge;var De=this.startNodeAt(w,Y);return De.left=ge,De.right=this.parseMaybeAssign(),this.finishNode(De,"AssignmentPattern")},Ie.checkLValSimple=function(w,Y,ge){Y===void 0&&(Y=0);var De=Y!==0;switch(w.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(w.name)&&this.raiseRecoverable(w.start,(De?"Binding ":"Assigning to ")+w.name+" in strict mode"),De&&(Y===2&&w.name==="let"&&this.raiseRecoverable(w.start,"let is disallowed as a lexically bound name"),ge&&(F(ge,w.name)&&this.raiseRecoverable(w.start,"Argument name clash"),ge[w.name]=!0),Y!==5&&this.declareName(w.name,Y,w.start));break;case"ChainExpression":this.raiseRecoverable(w.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":De&&this.raiseRecoverable(w.start,"Binding member expression");break;case"ParenthesizedExpression":return De&&this.raiseRecoverable(w.start,"Binding parenthesized expression"),this.checkLValSimple(w.expression,Y,ge);default:this.raise(w.start,(De?"Binding":"Assigning to")+" rvalue")}},Ie.checkLValPattern=function(w,Y,ge){switch(Y===void 0&&(Y=0),w.type){case"ObjectPattern":for(var De=0,Je=w.properties;De<Je.length;De+=1){var dt=Je[De];this.checkLValInnerPattern(dt,Y,ge)}break;case"ArrayPattern":for(var ut=0,It=w.elements;ut<It.length;ut+=1){var Ut=It[ut];Ut&&this.checkLValInnerPattern(Ut,Y,ge)}break;default:this.checkLValSimple(w,Y,ge)}},Ie.checkLValInnerPattern=function(w,Y,ge){switch(Y===void 0&&(Y=0),w.type){case"Property":this.checkLValInnerPattern(w.value,Y,ge);break;case"AssignmentPattern":this.checkLValPattern(w.left,Y,ge);break;case"RestElement":this.checkLValPattern(w.argument,Y,ge);break;default:this.checkLValPattern(w,Y,ge)}};var ye=function(w,Y,ge,De,Je){this.token=w,this.isExpr=!!Y,this.preserveSpace=!!ge,this.override=De,this.generator=!!Je},$e={b_stat:new ye("{",!1),b_expr:new ye("{",!0),b_tmpl:new ye("${",!1),p_stat:new ye("(",!1),p_expr:new ye("(",!0),q_tmpl:new ye("`",!0,!0,function(w){return w.tryReadTemplateToken()}),f_stat:new ye("function",!1),f_expr:new ye("function",!0),f_expr_gen:new ye("function",!0,!1,null,!0),f_gen:new ye("function",!1,!1,null,!0)},nt=He.prototype;nt.initialContext=function(){return[$e.b_stat]},nt.curContext=function(){return this.context[this.context.length-1]},nt.braceIsBlock=function(w){var Y=this.curContext();return Y===$e.f_expr||Y===$e.f_stat||(w!==I.colon||Y!==$e.b_stat&&Y!==$e.b_expr?w===I._return||w===I.name&&this.exprAllowed?L.test(this.input.slice(this.lastTokEnd,this.start)):w===I._else||w===I.semi||w===I.eof||w===I.parenR||w===I.arrow||(w===I.braceL?Y===$e.b_stat:w!==I._var&&w!==I._const&&w!==I.name&&!this.exprAllowed):!Y.isExpr)},nt.inGeneratorContext=function(){for(var w=this.context.length-1;w>=1;w--){var Y=this.context[w];if(Y.token==="function")return Y.generator}return!1},nt.updateContext=function(w){var Y,ge=this.type;ge.keyword&&w===I.dot?this.exprAllowed=!1:(Y=ge.updateContext)?Y.call(this,w):this.exprAllowed=ge.beforeExpr},nt.overrideContext=function(w){this.curContext()!==w&&(this.context[this.context.length-1]=w)},I.parenR.updateContext=I.braceR.updateContext=function(){if(this.context.length!==1){var w=this.context.pop();w===$e.b_stat&&this.curContext().token==="function"&&(w=this.context.pop()),this.exprAllowed=!w.isExpr}else this.exprAllowed=!0},I.braceL.updateContext=function(w){this.context.push(this.braceIsBlock(w)?$e.b_stat:$e.b_expr),this.exprAllowed=!0},I.dollarBraceL.updateContext=function(){this.context.push($e.b_tmpl),this.exprAllowed=!0},I.parenL.updateContext=function(w){var Y=w===I._if||w===I._for||w===I._with||w===I._while;this.context.push(Y?$e.p_stat:$e.p_expr),this.exprAllowed=!0},I.incDec.updateContext=function(){},I._function.updateContext=I._class.updateContext=function(w){!w.beforeExpr||w===I._else||w===I.semi&&this.curContext()!==$e.p_stat||w===I._return&&L.test(this.input.slice(this.lastTokEnd,this.start))||(w===I.colon||w===I.braceL)&&this.curContext()===$e.b_stat?this.context.push($e.f_stat):this.context.push($e.f_expr),this.exprAllowed=!1},I.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},I.backQuote.updateContext=function(){this.curContext()===$e.q_tmpl?this.context.pop():this.context.push($e.q_tmpl),this.exprAllowed=!1},I.star.updateContext=function(w){if(w===I._function){var Y=this.context.length-1;this.context[Y]===$e.f_expr?this.context[Y]=$e.f_expr_gen:this.context[Y]=$e.f_gen}this.exprAllowed=!0},I.name.updateContext=function(w){var Y=!1;this.options.ecmaVersion>=6&&w!==I.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(Y=!0),this.exprAllowed=Y};var et=He.prototype;function xe(w){return w.type==="Identifier"||w.type==="ParenthesizedExpression"&&xe(w.expression)}function pe(w){return w.type==="MemberExpression"&&w.property.type==="PrivateIdentifier"||w.type==="ChainExpression"&&pe(w.expression)||w.type==="ParenthesizedExpression"&&pe(w.expression)}et.checkPropClash=function(w,Y,ge){if(!(this.options.ecmaVersion>=9&&w.type==="SpreadElement"||this.options.ecmaVersion>=6&&(w.computed||w.method||w.shorthand))){var De,Je=w.key;switch(Je.type){case"Identifier":De=Je.name;break;case"Literal":De=String(Je.value);break;default:return}var dt=w.kind;if(this.options.ecmaVersion>=6)De==="__proto__"&&dt==="init"&&(Y.proto&&(ge?ge.doubleProto<0&&(ge.doubleProto=Je.start):this.raiseRecoverable(Je.start,"Redefinition of __proto__ property")),Y.proto=!0);else{var ut=Y[De="$"+De];ut?(dt==="init"?this.strict&&ut.init||ut.get||ut.set:ut.init||ut[dt])&&this.raiseRecoverable(Je.start,"Redefinition of property"):ut=Y[De]={init:!1,get:!1,set:!1},ut[dt]=!0}}},et.parseExpression=function(w,Y){var ge=this.start,De=this.startLoc,Je=this.parseMaybeAssign(w,Y);if(this.type===I.comma){var dt=this.startNodeAt(ge,De);for(dt.expressions=[Je];this.eat(I.comma);)dt.expressions.push(this.parseMaybeAssign(w,Y));return this.finishNode(dt,"SequenceExpression")}return Je},et.parseMaybeAssign=function(w,Y,ge){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(w);this.exprAllowed=!1}var De=!1,Je=-1,dt=-1,ut=-1;Y?(Je=Y.parenthesizedAssign,dt=Y.trailingComma,ut=Y.doubleProto,Y.parenthesizedAssign=Y.trailingComma=-1):(Y=new me,De=!0);var It=this.start,Ut=this.startLoc;this.type!==I.parenL&&this.type!==I.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=w==="await");var yr=this.parseMaybeConditional(w,Y);if(ge&&(yr=ge.call(this,yr,It,Ut)),this.type.isAssign){var Jt=this.startNodeAt(It,Ut);return Jt.operator=this.value,this.type===I.eq&&(yr=this.toAssignable(yr,!1,Y)),De||(Y.parenthesizedAssign=Y.trailingComma=Y.doubleProto=-1),Y.shorthandAssign>=yr.start&&(Y.shorthandAssign=-1),this.type===I.eq?this.checkLValPattern(yr):this.checkLValSimple(yr),Jt.left=yr,this.next(),Jt.right=this.parseMaybeAssign(w),ut>-1&&(Y.doubleProto=ut),this.finishNode(Jt,"AssignmentExpression")}return De&&this.checkExpressionErrors(Y,!0),Je>-1&&(Y.parenthesizedAssign=Je),dt>-1&&(Y.trailingComma=dt),yr},et.parseMaybeConditional=function(w,Y){var ge=this.start,De=this.startLoc,Je=this.parseExprOps(w,Y);if(this.checkExpressionErrors(Y))return Je;if(this.eat(I.question)){var dt=this.startNodeAt(ge,De);return dt.test=Je,dt.consequent=this.parseMaybeAssign(),this.expect(I.colon),dt.alternate=this.parseMaybeAssign(w),this.finishNode(dt,"ConditionalExpression")}return Je},et.parseExprOps=function(w,Y){var ge=this.start,De=this.startLoc,Je=this.parseMaybeUnary(Y,!1,!1,w);return this.checkExpressionErrors(Y)||Je.start===ge&&Je.type==="ArrowFunctionExpression"?Je:this.parseExprOp(Je,ge,De,-1,w)},et.parseExprOp=function(w,Y,ge,De,Je){var dt=this.type.binop;if(dt!=null&&(!Je||this.type!==I._in)&&dt>De){var ut=this.type===I.logicalOR||this.type===I.logicalAND,It=this.type===I.coalesce;It&&(dt=I.logicalAND.binop);var Ut=this.value;this.next();var yr=this.start,Jt=this.startLoc,zr=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,Je),yr,Jt,dt,Je),Cr=this.buildBinary(Y,ge,w,zr,Ut,ut||It);return(ut&&this.type===I.coalesce||It&&(this.type===I.logicalOR||this.type===I.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(Cr,Y,ge,De,Je)}return w},et.buildBinary=function(w,Y,ge,De,Je,dt){De.type==="PrivateIdentifier"&&this.raise(De.start,"Private identifier can only be left side of binary expression");var ut=this.startNodeAt(w,Y);return ut.left=ge,ut.operator=Je,ut.right=De,this.finishNode(ut,dt?"LogicalExpression":"BinaryExpression")},et.parseMaybeUnary=function(w,Y,ge,De){var Je,dt=this.start,ut=this.startLoc;if(this.isContextual("await")&&this.canAwait)Je=this.parseAwait(De),Y=!0;else if(this.type.prefix){var It=this.startNode(),Ut=this.type===I.incDec;It.operator=this.value,It.prefix=!0,this.next(),It.argument=this.parseMaybeUnary(null,!0,Ut,De),this.checkExpressionErrors(w,!0),Ut?this.checkLValSimple(It.argument):this.strict&&It.operator==="delete"&&xe(It.argument)?this.raiseRecoverable(It.start,"Deleting local variable in strict mode"):It.operator==="delete"&&pe(It.argument)?this.raiseRecoverable(It.start,"Private fields can not be deleted"):Y=!0,Je=this.finishNode(It,Ut?"UpdateExpression":"UnaryExpression")}else if(Y||this.type!==I.privateId){if(Je=this.parseExprSubscripts(w,De),this.checkExpressionErrors(w))return Je;for(;this.type.postfix&&!this.canInsertSemicolon();){var yr=this.startNodeAt(dt,ut);yr.operator=this.value,yr.prefix=!1,yr.argument=Je,this.checkLValSimple(Je),this.next(),Je=this.finishNode(yr,"UpdateExpression")}}else(De||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),Je=this.parsePrivateIdent(),this.type!==I._in&&this.unexpected();return ge||!this.eat(I.starstar)?Je:Y?void this.unexpected(this.lastTokStart):this.buildBinary(dt,ut,Je,this.parseMaybeUnary(null,!1,!1,De),"**",!1)},et.parseExprSubscripts=function(w,Y){var ge=this.start,De=this.startLoc,Je=this.parseExprAtom(w,Y);if(Je.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return Je;var dt=this.parseSubscripts(Je,ge,De,!1,Y);return w&&dt.type==="MemberExpression"&&(w.parenthesizedAssign>=dt.start&&(w.parenthesizedAssign=-1),w.parenthesizedBind>=dt.start&&(w.parenthesizedBind=-1),w.trailingComma>=dt.start&&(w.trailingComma=-1)),dt},et.parseSubscripts=function(w,Y,ge,De,Je){for(var dt=this.options.ecmaVersion>=8&&w.type==="Identifier"&&w.name==="async"&&this.lastTokEnd===w.end&&!this.canInsertSemicolon()&&w.end-w.start==5&&this.potentialArrowAt===w.start,ut=!1;;){var It=this.parseSubscript(w,Y,ge,De,dt,ut,Je);if(It.optional&&(ut=!0),It===w||It.type==="ArrowFunctionExpression"){if(ut){var Ut=this.startNodeAt(Y,ge);Ut.expression=It,It=this.finishNode(Ut,"ChainExpression")}return It}w=It}},et.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(I.arrow)},et.parseSubscriptAsyncArrow=function(w,Y,ge,De){return this.parseArrowExpression(this.startNodeAt(w,Y),ge,!0,De)},et.parseSubscript=function(w,Y,ge,De,Je,dt,ut){var It=this.options.ecmaVersion>=11,Ut=It&&this.eat(I.questionDot);De&&Ut&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var yr=this.eat(I.bracketL);if(yr||Ut&&this.type!==I.parenL&&this.type!==I.backQuote||this.eat(I.dot)){var Jt=this.startNodeAt(Y,ge);Jt.object=w,yr?(Jt.property=this.parseExpression(),this.expect(I.bracketR)):this.type===I.privateId&&w.type!=="Super"?Jt.property=this.parsePrivateIdent():Jt.property=this.parseIdent(this.options.allowReserved!=="never"),Jt.computed=!!yr,It&&(Jt.optional=Ut),w=this.finishNode(Jt,"MemberExpression")}else if(!De&&this.eat(I.parenL)){var zr=new me,Cr=this.yieldPos,kn=this.awaitPos,ps=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Kn=this.parseExprList(I.parenR,this.options.ecmaVersion>=8,!1,zr);if(Je&&!Ut&&this.shouldParseAsyncArrow())return this.checkPatternErrors(zr,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Cr,this.awaitPos=kn,this.awaitIdentPos=ps,this.parseSubscriptAsyncArrow(Y,ge,Kn,ut);this.checkExpressionErrors(zr,!0),this.yieldPos=Cr||this.yieldPos,this.awaitPos=kn||this.awaitPos,this.awaitIdentPos=ps||this.awaitIdentPos;var is=this.startNodeAt(Y,ge);is.callee=w,is.arguments=Kn,It&&(is.optional=Ut),w=this.finishNode(is,"CallExpression")}else if(this.type===I.backQuote){(Ut||dt)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Ui=this.startNodeAt(Y,ge);Ui.tag=w,Ui.quasi=this.parseTemplate({isTagged:!0}),w=this.finishNode(Ui,"TaggedTemplateExpression")}return w},et.parseExprAtom=function(w,Y,ge){this.type===I.slash&&this.readRegexp();var De,Je=this.potentialArrowAt===this.start;switch(this.type){case I._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),De=this.startNode(),this.next(),this.type!==I.parenL||this.allowDirectSuper||this.raise(De.start,"super() call outside constructor of a subclass"),this.type!==I.dot&&this.type!==I.bracketL&&this.type!==I.parenL&&this.unexpected(),this.finishNode(De,"Super");case I._this:return De=this.startNode(),this.next(),this.finishNode(De,"ThisExpression");case I.name:var dt=this.start,ut=this.startLoc,It=this.containsEsc,Ut=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!It&&Ut.name==="async"&&!this.canInsertSemicolon()&&this.eat(I._function))return this.overrideContext($e.f_expr),this.parseFunction(this.startNodeAt(dt,ut),0,!1,!0,Y);if(Je&&!this.canInsertSemicolon()){if(this.eat(I.arrow))return this.parseArrowExpression(this.startNodeAt(dt,ut),[Ut],!1,Y);if(this.options.ecmaVersion>=8&&Ut.name==="async"&&this.type===I.name&&!It&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return Ut=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(I.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(dt,ut),[Ut],!0,Y)}return Ut;case I.regexp:var yr=this.value;return(De=this.parseLiteral(yr.value)).regex={pattern:yr.pattern,flags:yr.flags},De;case I.num:case I.string:return this.parseLiteral(this.value);case I._null:case I._true:case I._false:return(De=this.startNode()).value=this.type===I._null?null:this.type===I._true,De.raw=this.type.keyword,this.next(),this.finishNode(De,"Literal");case I.parenL:var Jt=this.start,zr=this.parseParenAndDistinguishExpression(Je,Y);return w&&(w.parenthesizedAssign<0&&!this.isSimpleAssignTarget(zr)&&(w.parenthesizedAssign=Jt),w.parenthesizedBind<0&&(w.parenthesizedBind=Jt)),zr;case I.bracketL:return De=this.startNode(),this.next(),De.elements=this.parseExprList(I.bracketR,!0,!0,w),this.finishNode(De,"ArrayExpression");case I.braceL:return this.overrideContext($e.b_expr),this.parseObj(!1,w);case I._function:return De=this.startNode(),this.next(),this.parseFunction(De,0);case I._class:return this.parseClass(this.startNode(),!1);case I._new:return this.parseNew();case I.backQuote:return this.parseTemplate();case I._import:return this.options.ecmaVersion>=11?this.parseExprImport(ge):this.unexpected();default:return this.parseExprAtomDefault()}},et.parseExprAtomDefault=function(){this.unexpected()},et.parseExprImport=function(w){var Y=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===I.parenL&&!w)return this.parseDynamicImport(Y);if(this.type===I.dot){var ge=this.startNodeAt(Y.start,Y.loc&&Y.loc.start);return ge.name="import",Y.meta=this.finishNode(ge,"Identifier"),this.parseImportMeta(Y)}this.unexpected()},et.parseDynamicImport=function(w){if(this.next(),w.source=this.parseMaybeAssign(),!this.eat(I.parenR)){var Y=this.start;this.eat(I.comma)&&this.eat(I.parenR)?this.raiseRecoverable(Y,"Trailing comma is not allowed in import()"):this.unexpected(Y)}return this.finishNode(w,"ImportExpression")},et.parseImportMeta=function(w){this.next();var Y=this.containsEsc;return w.property=this.parseIdent(!0),w.property.name!=="meta"&&this.raiseRecoverable(w.property.start,"The only valid meta property for import is 'import.meta'"),Y&&this.raiseRecoverable(w.start,"'import.meta' must not contain escaped characters"),this.options.sourceType==="module"||this.options.allowImportExportEverywhere||this.raiseRecoverable(w.start,"Cannot use 'import.meta' outside a module"),this.finishNode(w,"MetaProperty")},et.parseLiteral=function(w){var Y=this.startNode();return Y.value=w,Y.raw=this.input.slice(this.start,this.end),Y.raw.charCodeAt(Y.raw.length-1)===110&&(Y.bigint=Y.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(Y,"Literal")},et.parseParenExpression=function(){this.expect(I.parenL);var w=this.parseExpression();return this.expect(I.parenR),w},et.shouldParseArrow=function(w){return!this.canInsertSemicolon()},et.parseParenAndDistinguishExpression=function(w,Y){var ge,De=this.start,Je=this.startLoc,dt=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var ut,It=this.start,Ut=this.startLoc,yr=[],Jt=!0,zr=!1,Cr=new me,kn=this.yieldPos,ps=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==I.parenR;){if(Jt?Jt=!1:this.expect(I.comma),dt&&this.afterTrailingComma(I.parenR,!0)){zr=!0;break}if(this.type===I.ellipsis){ut=this.start,yr.push(this.parseParenItem(this.parseRestBinding())),this.type===I.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}yr.push(this.parseMaybeAssign(!1,Cr,this.parseParenItem))}var Kn=this.lastTokEnd,is=this.lastTokEndLoc;if(this.expect(I.parenR),w&&this.shouldParseArrow(yr)&&this.eat(I.arrow))return this.checkPatternErrors(Cr,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=kn,this.awaitPos=ps,this.parseParenArrowList(De,Je,yr,Y);yr.length&&!zr||this.unexpected(this.lastTokStart),ut&&this.unexpected(ut),this.checkExpressionErrors(Cr,!0),this.yieldPos=kn||this.yieldPos,this.awaitPos=ps||this.awaitPos,yr.length>1?((ge=this.startNodeAt(It,Ut)).expressions=yr,this.finishNodeAt(ge,"SequenceExpression",Kn,is)):ge=yr[0]}else ge=this.parseParenExpression();if(this.options.preserveParens){var Ui=this.startNodeAt(De,Je);return Ui.expression=ge,this.finishNode(Ui,"ParenthesizedExpression")}return ge},et.parseParenItem=function(w){return w},et.parseParenArrowList=function(w,Y,ge,De){return this.parseArrowExpression(this.startNodeAt(w,Y),ge,!1,De)};var ue=[];et.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var w=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===I.dot){var Y=this.startNodeAt(w.start,w.loc&&w.loc.start);Y.name="new",w.meta=this.finishNode(Y,"Identifier"),this.next();var ge=this.containsEsc;return w.property=this.parseIdent(!0),w.property.name!=="target"&&this.raiseRecoverable(w.property.start,"The only valid meta property for new is 'new.target'"),ge&&this.raiseRecoverable(w.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(w.start,"'new.target' can only be used in functions and class static block"),this.finishNode(w,"MetaProperty")}var De=this.start,Je=this.startLoc;return w.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),De,Je,!0,!1),this.eat(I.parenL)?w.arguments=this.parseExprList(I.parenR,this.options.ecmaVersion>=8,!1):w.arguments=ue,this.finishNode(w,"NewExpression")},et.parseTemplateElement=function(w){var Y=w.isTagged,ge=this.startNode();return this.type===I.invalidTemplate?(Y||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),ge.value={raw:this.value.replace(/\r\n?/g,`
|
|
`),cooked:null}):ge.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
`),cooked:this.value},this.next(),ge.tail=this.type===I.backQuote,this.finishNode(ge,"TemplateElement")},et.parseTemplate=function(w){w===void 0&&(w={});var Y=w.isTagged;Y===void 0&&(Y=!1);var ge=this.startNode();this.next(),ge.expressions=[];var De=this.parseTemplateElement({isTagged:Y});for(ge.quasis=[De];!De.tail;)this.type===I.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(I.dollarBraceL),ge.expressions.push(this.parseExpression()),this.expect(I.braceR),ge.quasis.push(De=this.parseTemplateElement({isTagged:Y}));return this.next(),this.finishNode(ge,"TemplateLiteral")},et.isAsyncProp=function(w){return!w.computed&&w.key.type==="Identifier"&&w.key.name==="async"&&(this.type===I.name||this.type===I.num||this.type===I.string||this.type===I.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===I.star)&&!L.test(this.input.slice(this.lastTokEnd,this.start))},et.parseObj=function(w,Y){var ge=this.startNode(),De=!0,Je={};for(ge.properties=[],this.next();!this.eat(I.braceR);){if(De)De=!1;else if(this.expect(I.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(I.braceR))break;var dt=this.parseProperty(w,Y);w||this.checkPropClash(dt,Je,Y),ge.properties.push(dt)}return this.finishNode(ge,w?"ObjectPattern":"ObjectExpression")},et.parseProperty=function(w,Y){var ge,De,Je,dt,ut=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(I.ellipsis))return w?(ut.argument=this.parseIdent(!1),this.type===I.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(ut,"RestElement")):(ut.argument=this.parseMaybeAssign(!1,Y),this.type===I.comma&&Y&&Y.trailingComma<0&&(Y.trailingComma=this.start),this.finishNode(ut,"SpreadElement"));this.options.ecmaVersion>=6&&(ut.method=!1,ut.shorthand=!1,(w||Y)&&(Je=this.start,dt=this.startLoc),w||(ge=this.eat(I.star)));var It=this.containsEsc;return this.parsePropertyName(ut),!w&&!It&&this.options.ecmaVersion>=8&&!ge&&this.isAsyncProp(ut)?(De=!0,ge=this.options.ecmaVersion>=9&&this.eat(I.star),this.parsePropertyName(ut)):De=!1,this.parsePropertyValue(ut,w,ge,De,Je,dt,Y,It),this.finishNode(ut,"Property")},et.parseGetterSetter=function(w){w.kind=w.key.name,this.parsePropertyName(w),w.value=this.parseMethod(!1);var Y=w.kind==="get"?0:1;if(w.value.params.length!==Y){var ge=w.value.start;w.kind==="get"?this.raiseRecoverable(ge,"getter should have no params"):this.raiseRecoverable(ge,"setter should have exactly one param")}else w.kind==="set"&&w.value.params[0].type==="RestElement"&&this.raiseRecoverable(w.value.params[0].start,"Setter cannot use rest params")},et.parsePropertyValue=function(w,Y,ge,De,Je,dt,ut,It){(ge||De)&&this.type===I.colon&&this.unexpected(),this.eat(I.colon)?(w.value=Y?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,ut),w.kind="init"):this.options.ecmaVersion>=6&&this.type===I.parenL?(Y&&this.unexpected(),w.kind="init",w.method=!0,w.value=this.parseMethod(ge,De)):Y||It||!(this.options.ecmaVersion>=5)||w.computed||w.key.type!=="Identifier"||w.key.name!=="get"&&w.key.name!=="set"||this.type===I.comma||this.type===I.braceR||this.type===I.eq?this.options.ecmaVersion>=6&&!w.computed&&w.key.type==="Identifier"?((ge||De)&&this.unexpected(),this.checkUnreserved(w.key),w.key.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=Je),w.kind="init",Y?w.value=this.parseMaybeDefault(Je,dt,this.copyNode(w.key)):this.type===I.eq&&ut?(ut.shorthandAssign<0&&(ut.shorthandAssign=this.start),w.value=this.parseMaybeDefault(Je,dt,this.copyNode(w.key))):w.value=this.copyNode(w.key),w.shorthand=!0):this.unexpected():((ge||De)&&this.unexpected(),this.parseGetterSetter(w))},et.parsePropertyName=function(w){if(this.options.ecmaVersion>=6){if(this.eat(I.bracketL))return w.computed=!0,w.key=this.parseMaybeAssign(),this.expect(I.bracketR),w.key;w.computed=!1}return w.key=this.type===I.num||this.type===I.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},et.initFunction=function(w){w.id=null,this.options.ecmaVersion>=6&&(w.generator=w.expression=!1),this.options.ecmaVersion>=8&&(w.async=!1)},et.parseMethod=function(w,Y,ge){var De=this.startNode(),Je=this.yieldPos,dt=this.awaitPos,ut=this.awaitIdentPos;return this.initFunction(De),this.options.ecmaVersion>=6&&(De.generator=w),this.options.ecmaVersion>=8&&(De.async=!!Y),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|_e(Y,De.generator)|(ge?128:0)),this.expect(I.parenL),De.params=this.parseBindingList(I.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(De,!1,!0,!1),this.yieldPos=Je,this.awaitPos=dt,this.awaitIdentPos=ut,this.finishNode(De,"FunctionExpression")},et.parseArrowExpression=function(w,Y,ge,De){var Je=this.yieldPos,dt=this.awaitPos,ut=this.awaitIdentPos;return this.enterScope(16|_e(ge,!1)),this.initFunction(w),this.options.ecmaVersion>=8&&(w.async=!!ge),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,w.params=this.toAssignableList(Y,!0),this.parseFunctionBody(w,!0,!1,De),this.yieldPos=Je,this.awaitPos=dt,this.awaitIdentPos=ut,this.finishNode(w,"ArrowFunctionExpression")},et.parseFunctionBody=function(w,Y,ge,De){var Je=Y&&this.type!==I.braceL,dt=this.strict,ut=!1;if(Je)w.body=this.parseMaybeAssign(De),w.expression=!0,this.checkParams(w,!1);else{var It=this.options.ecmaVersion>=7&&!this.isSimpleParamList(w.params);dt&&!It||(ut=this.strictDirective(this.end))&&It&&this.raiseRecoverable(w.start,"Illegal 'use strict' directive in function with non-simple parameter list");var Ut=this.labels;this.labels=[],ut&&(this.strict=!0),this.checkParams(w,!dt&&!ut&&!Y&&!ge&&this.isSimpleParamList(w.params)),this.strict&&w.id&&this.checkLValSimple(w.id,5),w.body=this.parseBlock(!1,void 0,ut&&!dt),w.expression=!1,this.adaptDirectivePrologue(w.body.body),this.labels=Ut}this.exitScope()},et.isSimpleParamList=function(w){for(var Y=0,ge=w;Y<ge.length;Y+=1)if(ge[Y].type!=="Identifier")return!1;return!0},et.checkParams=function(w,Y){for(var ge=Object.create(null),De=0,Je=w.params;De<Je.length;De+=1){var dt=Je[De];this.checkLValInnerPattern(dt,1,Y?null:ge)}},et.parseExprList=function(w,Y,ge,De){for(var Je=[],dt=!0;!this.eat(w);){if(dt)dt=!1;else if(this.expect(I.comma),Y&&this.afterTrailingComma(w))break;var ut=void 0;ge&&this.type===I.comma?ut=null:this.type===I.ellipsis?(ut=this.parseSpread(De),De&&this.type===I.comma&&De.trailingComma<0&&(De.trailingComma=this.start)):ut=this.parseMaybeAssign(!1,De),Je.push(ut)}return Je},et.checkUnreserved=function(w){var Y=w.start,ge=w.end,De=w.name;this.inGenerator&&De==="yield"&&this.raiseRecoverable(Y,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&De==="await"&&this.raiseRecoverable(Y,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&De==="arguments"&&this.raiseRecoverable(Y,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||De!=="arguments"&&De!=="await"||this.raise(Y,"Cannot use "+De+" in class static initialization block"),this.keywords.test(De)&&this.raise(Y,"Unexpected keyword '"+De+"'"),this.options.ecmaVersion<6&&this.input.slice(Y,ge).indexOf("\\")!==-1||(this.strict?this.reservedWordsStrict:this.reservedWords).test(De)&&(this.inAsync||De!=="await"||this.raiseRecoverable(Y,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(Y,"The keyword '"+De+"' is reserved"))},et.parseIdent=function(w){var Y=this.parseIdentNode();return this.next(!!w),this.finishNode(Y,"Identifier"),w||(this.checkUnreserved(Y),Y.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=Y.start)),Y},et.parseIdentNode=function(){var w=this.startNode();return this.type===I.name?w.name=this.value:this.type.keyword?(w.name=this.type.keyword,w.name!=="class"&&w.name!=="function"||this.lastTokEnd===this.lastTokStart+1&&this.input.charCodeAt(this.lastTokStart)===46||this.context.pop(),this.type=I.name):this.unexpected(),w},et.parsePrivateIdent=function(){var w=this.startNode();return this.type===I.privateId?w.name=this.value:this.unexpected(),this.next(),this.finishNode(w,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(w.start,"Private field '#"+w.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(w)),w},et.parseYield=function(w){this.yieldPos||(this.yieldPos=this.start);var Y=this.startNode();return this.next(),this.type===I.semi||this.canInsertSemicolon()||this.type!==I.star&&!this.type.startsExpr?(Y.delegate=!1,Y.argument=null):(Y.delegate=this.eat(I.star),Y.argument=this.parseMaybeAssign(w)),this.finishNode(Y,"YieldExpression")},et.parseAwait=function(w){this.awaitPos||(this.awaitPos=this.start);var Y=this.startNode();return this.next(),Y.argument=this.parseMaybeUnary(null,!0,!1,w),this.finishNode(Y,"AwaitExpression")};var Se=He.prototype;Se.raise=function(w,Y){var ge=q(this.input,w);Y+=" ("+ge.line+":"+ge.column+")";var De=new SyntaxError(Y);throw De.pos=w,De.loc=ge,De.raisedAt=this.pos,De},Se.raiseRecoverable=Se.raise,Se.curPosition=function(){if(this.options.locations)return new ne(this.curLine,this.pos-this.lineStart)};var Ae=He.prototype,de=function(w){this.flags=w,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};Ae.enterScope=function(w){this.scopeStack.push(new de(w))},Ae.exitScope=function(){this.scopeStack.pop()},Ae.treatFunctionsAsVarInScope=function(w){return 2&w.flags||!this.inModule&&1&w.flags},Ae.declareName=function(w,Y,ge){var De=!1;if(Y===2){var Je=this.currentScope();De=Je.lexical.indexOf(w)>-1||Je.functions.indexOf(w)>-1||Je.var.indexOf(w)>-1,Je.lexical.push(w),this.inModule&&1&Je.flags&&delete this.undefinedExports[w]}else if(Y===4)this.currentScope().lexical.push(w);else if(Y===3){var dt=this.currentScope();De=this.treatFunctionsAsVar?dt.lexical.indexOf(w)>-1:dt.lexical.indexOf(w)>-1||dt.var.indexOf(w)>-1,dt.functions.push(w)}else for(var ut=this.scopeStack.length-1;ut>=0;--ut){var It=this.scopeStack[ut];if(It.lexical.indexOf(w)>-1&&!(32&It.flags&&It.lexical[0]===w)||!this.treatFunctionsAsVarInScope(It)&&It.functions.indexOf(w)>-1){De=!0;break}if(It.var.push(w),this.inModule&&1&It.flags&&delete this.undefinedExports[w],259&It.flags)break}De&&this.raiseRecoverable(ge,"Identifier '"+w+"' has already been declared")},Ae.checkLocalExport=function(w){this.scopeStack[0].lexical.indexOf(w.name)===-1&&this.scopeStack[0].var.indexOf(w.name)===-1&&(this.undefinedExports[w.name]=w)},Ae.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Ae.currentVarScope=function(){for(var w=this.scopeStack.length-1;;w--){var Y=this.scopeStack[w];if(259&Y.flags)return Y}},Ae.currentThisScope=function(){for(var w=this.scopeStack.length-1;;w--){var Y=this.scopeStack[w];if(259&Y.flags&&!(16&Y.flags))return Y}};var We=function(w,Y,ge){this.type="",this.start=Y,this.end=0,w.options.locations&&(this.loc=new K(w,ge)),w.options.directSourceFile&&(this.sourceFile=w.options.directSourceFile),w.options.ranges&&(this.range=[Y,0])},tt=He.prototype;function mt(w,Y,ge,De){return w.type=Y,w.end=ge,this.options.locations&&(w.loc.end=De),this.options.ranges&&(w.range[1]=ge),w}tt.startNode=function(){return new We(this,this.start,this.startLoc)},tt.startNodeAt=function(w,Y){return new We(this,w,Y)},tt.finishNode=function(w,Y){return mt.call(this,w,Y,this.lastTokEnd,this.lastTokEndLoc)},tt.finishNodeAt=function(w,Y,ge,De){return mt.call(this,w,Y,ge,De)},tt.copyNode=function(w){var Y=new We(this,w.start,this.startLoc);for(var ge in w)Y[ge]=w[ge];return Y};var At="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",pt=At+" Extended_Pictographic",Nt=pt+" EBase EComp EMod EPres ExtPict",Ce={9:At,10:pt,11:pt,12:Nt,13:Nt,14:Nt},qe={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},ot="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Ze="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Pe=Ze+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Qe=Pe+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Ge=Qe+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",we=Ge+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Ne={9:Ze,10:Pe,11:Qe,12:Ge,13:we,14:we+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz"},ht={};function it(w){var Y=ht[w]={binary:Z(Ce[w]+" "+ot),binaryOfStrings:Z(qe[w]),nonBinary:{General_Category:Z(ot),Script:Z(Ne[w])}};Y.nonBinary.Script_Extensions=Y.nonBinary.Script,Y.nonBinary.gc=Y.nonBinary.General_Category,Y.nonBinary.sc=Y.nonBinary.Script,Y.nonBinary.scx=Y.nonBinary.Script_Extensions}for(var Tt=0,Ot=[9,10,11,12,13,14];Tt<Ot.length;Tt+=1)it(Ot[Tt]);var Pt=He.prototype,Ir=function(w,Y){this.parent=w,this.base=Y||this};Ir.prototype.separatedFrom=function(w){for(var Y=this;Y;Y=Y.parent)for(var ge=w;ge;ge=ge.parent)if(Y.base===ge.base&&Y!==ge)return!0;return!1},Ir.prototype.sibling=function(){return new Ir(this.parent,this.base)};var Lr=function(w){this.parser=w,this.validFlags="gim"+(w.options.ecmaVersion>=6?"uy":"")+(w.options.ecmaVersion>=9?"s":"")+(w.options.ecmaVersion>=13?"d":"")+(w.options.ecmaVersion>=15?"v":""),this.unicodeProperties=ht[w.options.ecmaVersion>=14?14:w.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};function _n(w){return w===36||w>=40&&w<=43||w===46||w===63||w>=91&&w<=94||w>=123&&w<=125}function _r(w){return w>=65&&w<=90||w>=97&&w<=122}Lr.prototype.reset=function(w,Y,ge){var De=ge.indexOf("v")!==-1,Je=ge.indexOf("u")!==-1;this.start=0|w,this.source=Y+"",this.flags=ge,De&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=Je&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=Je&&this.parser.options.ecmaVersion>=9)},Lr.prototype.raise=function(w){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+w)},Lr.prototype.at=function(w,Y){Y===void 0&&(Y=!1);var ge=this.source,De=ge.length;if(w>=De)return-1;var Je=ge.charCodeAt(w);if(!Y&&!this.switchU||Je<=55295||Je>=57344||w+1>=De)return Je;var dt=ge.charCodeAt(w+1);return dt>=56320&&dt<=57343?(Je<<10)+dt-56613888:Je},Lr.prototype.nextIndex=function(w,Y){Y===void 0&&(Y=!1);var ge=this.source,De=ge.length;if(w>=De)return De;var Je,dt=ge.charCodeAt(w);return!Y&&!this.switchU||dt<=55295||dt>=57344||w+1>=De||(Je=ge.charCodeAt(w+1))<56320||Je>57343?w+1:w+2},Lr.prototype.current=function(w){return w===void 0&&(w=!1),this.at(this.pos,w)},Lr.prototype.lookahead=function(w){return w===void 0&&(w=!1),this.at(this.nextIndex(this.pos,w),w)},Lr.prototype.advance=function(w){w===void 0&&(w=!1),this.pos=this.nextIndex(this.pos,w)},Lr.prototype.eat=function(w,Y){return Y===void 0&&(Y=!1),this.current(Y)===w&&(this.advance(Y),!0)},Lr.prototype.eatChars=function(w,Y){Y===void 0&&(Y=!1);for(var ge=this.pos,De=0,Je=w;De<Je.length;De+=1){var dt=Je[De],ut=this.at(ge,Y);if(ut===-1||ut!==dt)return!1;ge=this.nextIndex(ge,Y)}return this.pos=ge,!0},Pt.validateRegExpFlags=function(w){for(var Y=w.validFlags,ge=w.flags,De=!1,Je=!1,dt=0;dt<ge.length;dt++){var ut=ge.charAt(dt);Y.indexOf(ut)===-1&&this.raise(w.start,"Invalid regular expression flag"),ge.indexOf(ut,dt+1)>-1&&this.raise(w.start,"Duplicate regular expression flag"),ut==="u"&&(De=!0),ut==="v"&&(Je=!0)}this.options.ecmaVersion>=15&&De&&Je&&this.raise(w.start,"Invalid regular expression flag")},Pt.validateRegExpPattern=function(w){this.regexp_pattern(w),!w.switchN&&this.options.ecmaVersion>=9&&function(Y){for(var ge in Y)return!0;return!1}(w.groupNames)&&(w.switchN=!0,this.regexp_pattern(w))},Pt.regexp_pattern=function(w){w.pos=0,w.lastIntValue=0,w.lastStringValue="",w.lastAssertionIsQuantifiable=!1,w.numCapturingParens=0,w.maxBackReference=0,w.groupNames=Object.create(null),w.backReferenceNames.length=0,w.branchID=null,this.regexp_disjunction(w),w.pos!==w.source.length&&(w.eat(41)&&w.raise("Unmatched ')'"),(w.eat(93)||w.eat(125))&&w.raise("Lone quantifier brackets")),w.maxBackReference>w.numCapturingParens&&w.raise("Invalid escape");for(var Y=0,ge=w.backReferenceNames;Y<ge.length;Y+=1){var De=ge[Y];w.groupNames[De]||w.raise("Invalid named capture referenced")}},Pt.regexp_disjunction=function(w){var Y=this.options.ecmaVersion>=16;for(Y&&(w.branchID=new Ir(w.branchID,null)),this.regexp_alternative(w);w.eat(124);)Y&&(w.branchID=w.branchID.sibling()),this.regexp_alternative(w);Y&&(w.branchID=w.branchID.parent),this.regexp_eatQuantifier(w,!0)&&w.raise("Nothing to repeat"),w.eat(123)&&w.raise("Lone quantifier brackets")},Pt.regexp_alternative=function(w){for(;w.pos<w.source.length&&this.regexp_eatTerm(w););},Pt.regexp_eatTerm=function(w){return this.regexp_eatAssertion(w)?(w.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(w)&&w.switchU&&w.raise("Invalid quantifier"),!0):!!(w.switchU?this.regexp_eatAtom(w):this.regexp_eatExtendedAtom(w))&&(this.regexp_eatQuantifier(w),!0)},Pt.regexp_eatAssertion=function(w){var Y=w.pos;if(w.lastAssertionIsQuantifiable=!1,w.eat(94)||w.eat(36))return!0;if(w.eat(92)){if(w.eat(66)||w.eat(98))return!0;w.pos=Y}if(w.eat(40)&&w.eat(63)){var ge=!1;if(this.options.ecmaVersion>=9&&(ge=w.eat(60)),w.eat(61)||w.eat(33))return this.regexp_disjunction(w),w.eat(41)||w.raise("Unterminated group"),w.lastAssertionIsQuantifiable=!ge,!0}return w.pos=Y,!1},Pt.regexp_eatQuantifier=function(w,Y){return Y===void 0&&(Y=!1),!!this.regexp_eatQuantifierPrefix(w,Y)&&(w.eat(63),!0)},Pt.regexp_eatQuantifierPrefix=function(w,Y){return w.eat(42)||w.eat(43)||w.eat(63)||this.regexp_eatBracedQuantifier(w,Y)},Pt.regexp_eatBracedQuantifier=function(w,Y){var ge=w.pos;if(w.eat(123)){var De=0,Je=-1;if(this.regexp_eatDecimalDigits(w)&&(De=w.lastIntValue,w.eat(44)&&this.regexp_eatDecimalDigits(w)&&(Je=w.lastIntValue),w.eat(125)))return Je!==-1&&Je<De&&!Y&&w.raise("numbers out of order in {} quantifier"),!0;w.switchU&&!Y&&w.raise("Incomplete quantifier"),w.pos=ge}return!1},Pt.regexp_eatAtom=function(w){return this.regexp_eatPatternCharacters(w)||w.eat(46)||this.regexp_eatReverseSolidusAtomEscape(w)||this.regexp_eatCharacterClass(w)||this.regexp_eatUncapturingGroup(w)||this.regexp_eatCapturingGroup(w)},Pt.regexp_eatReverseSolidusAtomEscape=function(w){var Y=w.pos;if(w.eat(92)){if(this.regexp_eatAtomEscape(w))return!0;w.pos=Y}return!1},Pt.regexp_eatUncapturingGroup=function(w){var Y=w.pos;if(w.eat(40)){if(w.eat(63)&&w.eat(58)){if(this.regexp_disjunction(w),w.eat(41))return!0;w.raise("Unterminated group")}w.pos=Y}return!1},Pt.regexp_eatCapturingGroup=function(w){if(w.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(w):w.current()===63&&w.raise("Invalid group"),this.regexp_disjunction(w),w.eat(41))return w.numCapturingParens+=1,!0;w.raise("Unterminated group")}return!1},Pt.regexp_eatExtendedAtom=function(w){return w.eat(46)||this.regexp_eatReverseSolidusAtomEscape(w)||this.regexp_eatCharacterClass(w)||this.regexp_eatUncapturingGroup(w)||this.regexp_eatCapturingGroup(w)||this.regexp_eatInvalidBracedQuantifier(w)||this.regexp_eatExtendedPatternCharacter(w)},Pt.regexp_eatInvalidBracedQuantifier=function(w){return this.regexp_eatBracedQuantifier(w,!0)&&w.raise("Nothing to repeat"),!1},Pt.regexp_eatSyntaxCharacter=function(w){var Y=w.current();return!!_n(Y)&&(w.lastIntValue=Y,w.advance(),!0)},Pt.regexp_eatPatternCharacters=function(w){for(var Y=w.pos,ge=0;(ge=w.current())!==-1&&!_n(ge);)w.advance();return w.pos!==Y},Pt.regexp_eatExtendedPatternCharacter=function(w){var Y=w.current();return!(Y===-1||Y===36||Y>=40&&Y<=43||Y===46||Y===63||Y===91||Y===94||Y===124)&&(w.advance(),!0)},Pt.regexp_groupSpecifier=function(w){if(w.eat(63)){this.regexp_eatGroupName(w)||w.raise("Invalid group");var Y=this.options.ecmaVersion>=16,ge=w.groupNames[w.lastStringValue];if(ge)if(Y)for(var De=0,Je=ge;De<Je.length;De+=1)Je[De].separatedFrom(w.branchID)||w.raise("Duplicate capture group name");else w.raise("Duplicate capture group name");Y?(ge||(w.groupNames[w.lastStringValue]=[])).push(w.branchID):w.groupNames[w.lastStringValue]=!0}},Pt.regexp_eatGroupName=function(w){if(w.lastStringValue="",w.eat(60)){if(this.regexp_eatRegExpIdentifierName(w)&&w.eat(62))return!0;w.raise("Invalid capture group name")}return!1},Pt.regexp_eatRegExpIdentifierName=function(w){if(w.lastStringValue="",this.regexp_eatRegExpIdentifierStart(w)){for(w.lastStringValue+=ee(w.lastIntValue);this.regexp_eatRegExpIdentifierPart(w);)w.lastStringValue+=ee(w.lastIntValue);return!0}return!1},Pt.regexp_eatRegExpIdentifierStart=function(w){var Y=w.pos,ge=this.options.ecmaVersion>=11,De=w.current(ge);return w.advance(ge),De===92&&this.regexp_eatRegExpUnicodeEscapeSequence(w,ge)&&(De=w.lastIntValue),function(Je){return m(Je,!0)||Je===36||Je===95}(De)?(w.lastIntValue=De,!0):(w.pos=Y,!1)},Pt.regexp_eatRegExpIdentifierPart=function(w){var Y=w.pos,ge=this.options.ecmaVersion>=11,De=w.current(ge);return w.advance(ge),De===92&&this.regexp_eatRegExpUnicodeEscapeSequence(w,ge)&&(De=w.lastIntValue),function(Je){return g(Je,!0)||Je===36||Je===95||Je===8204||Je===8205}(De)?(w.lastIntValue=De,!0):(w.pos=Y,!1)},Pt.regexp_eatAtomEscape=function(w){return!!(this.regexp_eatBackReference(w)||this.regexp_eatCharacterClassEscape(w)||this.regexp_eatCharacterEscape(w)||w.switchN&&this.regexp_eatKGroupName(w))||(w.switchU&&(w.current()===99&&w.raise("Invalid unicode escape"),w.raise("Invalid escape")),!1)},Pt.regexp_eatBackReference=function(w){var Y=w.pos;if(this.regexp_eatDecimalEscape(w)){var ge=w.lastIntValue;if(w.switchU)return ge>w.maxBackReference&&(w.maxBackReference=ge),!0;if(ge<=w.numCapturingParens)return!0;w.pos=Y}return!1},Pt.regexp_eatKGroupName=function(w){if(w.eat(107)){if(this.regexp_eatGroupName(w))return w.backReferenceNames.push(w.lastStringValue),!0;w.raise("Invalid named reference")}return!1},Pt.regexp_eatCharacterEscape=function(w){return this.regexp_eatControlEscape(w)||this.regexp_eatCControlLetter(w)||this.regexp_eatZero(w)||this.regexp_eatHexEscapeSequence(w)||this.regexp_eatRegExpUnicodeEscapeSequence(w,!1)||!w.switchU&&this.regexp_eatLegacyOctalEscapeSequence(w)||this.regexp_eatIdentityEscape(w)},Pt.regexp_eatCControlLetter=function(w){var Y=w.pos;if(w.eat(99)){if(this.regexp_eatControlLetter(w))return!0;w.pos=Y}return!1},Pt.regexp_eatZero=function(w){return w.current()===48&&!on(w.lookahead())&&(w.lastIntValue=0,w.advance(),!0)},Pt.regexp_eatControlEscape=function(w){var Y=w.current();return Y===116?(w.lastIntValue=9,w.advance(),!0):Y===110?(w.lastIntValue=10,w.advance(),!0):Y===118?(w.lastIntValue=11,w.advance(),!0):Y===102?(w.lastIntValue=12,w.advance(),!0):Y===114&&(w.lastIntValue=13,w.advance(),!0)},Pt.regexp_eatControlLetter=function(w){var Y=w.current();return!!_r(Y)&&(w.lastIntValue=Y%32,w.advance(),!0)},Pt.regexp_eatRegExpUnicodeEscapeSequence=function(w,Y){Y===void 0&&(Y=!1);var ge,De=w.pos,Je=Y||w.switchU;if(w.eat(117)){if(this.regexp_eatFixedHexDigits(w,4)){var dt=w.lastIntValue;if(Je&&dt>=55296&&dt<=56319){var ut=w.pos;if(w.eat(92)&&w.eat(117)&&this.regexp_eatFixedHexDigits(w,4)){var It=w.lastIntValue;if(It>=56320&&It<=57343)return w.lastIntValue=1024*(dt-55296)+(It-56320)+65536,!0}w.pos=ut,w.lastIntValue=dt}return!0}if(Je&&w.eat(123)&&this.regexp_eatHexDigits(w)&&w.eat(125)&&(ge=w.lastIntValue)>=0&&ge<=1114111)return!0;Je&&w.raise("Invalid unicode escape"),w.pos=De}return!1},Pt.regexp_eatIdentityEscape=function(w){if(w.switchU)return!!this.regexp_eatSyntaxCharacter(w)||!!w.eat(47)&&(w.lastIntValue=47,!0);var Y=w.current();return!(Y===99||w.switchN&&Y===107)&&(w.lastIntValue=Y,w.advance(),!0)},Pt.regexp_eatDecimalEscape=function(w){w.lastIntValue=0;var Y=w.current();if(Y>=49&&Y<=57){do w.lastIntValue=10*w.lastIntValue+(Y-48),w.advance();while((Y=w.current())>=48&&Y<=57);return!0}return!1};function bn(w){return _r(w)||w===95}function wr(w){return bn(w)||on(w)}function on(w){return w>=48&&w<=57}function Cn(w){return w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102}function Jr(w){return w>=65&&w<=70?w-65+10:w>=97&&w<=102?w-97+10:w-48}function Di(w){return w>=48&&w<=55}Pt.regexp_eatCharacterClassEscape=function(w){var Y=w.current();if(function(Je){return Je===100||Je===68||Je===115||Je===83||Je===119||Je===87}(Y))return w.lastIntValue=-1,w.advance(),1;var ge=!1;if(w.switchU&&this.options.ecmaVersion>=9&&((ge=Y===80)||Y===112)){var De;if(w.lastIntValue=-1,w.advance(),w.eat(123)&&(De=this.regexp_eatUnicodePropertyValueExpression(w))&&w.eat(125))return ge&&De===2&&w.raise("Invalid property name"),De;w.raise("Invalid property name")}return 0},Pt.regexp_eatUnicodePropertyValueExpression=function(w){var Y=w.pos;if(this.regexp_eatUnicodePropertyName(w)&&w.eat(61)){var ge=w.lastStringValue;if(this.regexp_eatUnicodePropertyValue(w)){var De=w.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(w,ge,De),1}}if(w.pos=Y,this.regexp_eatLoneUnicodePropertyNameOrValue(w)){var Je=w.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(w,Je)}return 0},Pt.regexp_validateUnicodePropertyNameAndValue=function(w,Y,ge){F(w.unicodeProperties.nonBinary,Y)||w.raise("Invalid property name"),w.unicodeProperties.nonBinary[Y].test(ge)||w.raise("Invalid property value")},Pt.regexp_validateUnicodePropertyNameOrValue=function(w,Y){return w.unicodeProperties.binary.test(Y)?1:w.switchV&&w.unicodeProperties.binaryOfStrings.test(Y)?2:void w.raise("Invalid property name")},Pt.regexp_eatUnicodePropertyName=function(w){var Y=0;for(w.lastStringValue="";bn(Y=w.current());)w.lastStringValue+=ee(Y),w.advance();return w.lastStringValue!==""},Pt.regexp_eatUnicodePropertyValue=function(w){var Y=0;for(w.lastStringValue="";wr(Y=w.current());)w.lastStringValue+=ee(Y),w.advance();return w.lastStringValue!==""},Pt.regexp_eatLoneUnicodePropertyNameOrValue=function(w){return this.regexp_eatUnicodePropertyValue(w)},Pt.regexp_eatCharacterClass=function(w){if(w.eat(91)){var Y=w.eat(94),ge=this.regexp_classContents(w);return w.eat(93)||w.raise("Unterminated character class"),Y&&ge===2&&w.raise("Negated character class may contain strings"),!0}return!1},Pt.regexp_classContents=function(w){return w.current()===93?1:w.switchV?this.regexp_classSetExpression(w):(this.regexp_nonEmptyClassRanges(w),1)},Pt.regexp_nonEmptyClassRanges=function(w){for(;this.regexp_eatClassAtom(w);){var Y=w.lastIntValue;if(w.eat(45)&&this.regexp_eatClassAtom(w)){var ge=w.lastIntValue;!w.switchU||Y!==-1&&ge!==-1||w.raise("Invalid character class"),Y!==-1&&ge!==-1&&Y>ge&&w.raise("Range out of order in character class")}}},Pt.regexp_eatClassAtom=function(w){var Y=w.pos;if(w.eat(92)){if(this.regexp_eatClassEscape(w))return!0;if(w.switchU){var ge=w.current();(ge===99||Di(ge))&&w.raise("Invalid class escape"),w.raise("Invalid escape")}w.pos=Y}var De=w.current();return De!==93&&(w.lastIntValue=De,w.advance(),!0)},Pt.regexp_eatClassEscape=function(w){var Y=w.pos;if(w.eat(98))return w.lastIntValue=8,!0;if(w.switchU&&w.eat(45))return w.lastIntValue=45,!0;if(!w.switchU&&w.eat(99)){if(this.regexp_eatClassControlLetter(w))return!0;w.pos=Y}return this.regexp_eatCharacterClassEscape(w)||this.regexp_eatCharacterEscape(w)},Pt.regexp_classSetExpression=function(w){var Y,ge=1;if(!this.regexp_eatClassSetRange(w))if(Y=this.regexp_eatClassSetOperand(w)){Y===2&&(ge=2);for(var De=w.pos;w.eatChars([38,38]);)w.current()!==38&&(Y=this.regexp_eatClassSetOperand(w))?Y!==2&&(ge=1):w.raise("Invalid character in character class");if(De!==w.pos)return ge;for(;w.eatChars([45,45]);)this.regexp_eatClassSetOperand(w)||w.raise("Invalid character in character class");if(De!==w.pos)return ge}else w.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(w)){if(!(Y=this.regexp_eatClassSetOperand(w)))return ge;Y===2&&(ge=2)}},Pt.regexp_eatClassSetRange=function(w){var Y=w.pos;if(this.regexp_eatClassSetCharacter(w)){var ge=w.lastIntValue;if(w.eat(45)&&this.regexp_eatClassSetCharacter(w)){var De=w.lastIntValue;return ge!==-1&&De!==-1&&ge>De&&w.raise("Range out of order in character class"),!0}w.pos=Y}return!1},Pt.regexp_eatClassSetOperand=function(w){return this.regexp_eatClassSetCharacter(w)?1:this.regexp_eatClassStringDisjunction(w)||this.regexp_eatNestedClass(w)},Pt.regexp_eatNestedClass=function(w){var Y=w.pos;if(w.eat(91)){var ge=w.eat(94),De=this.regexp_classContents(w);if(w.eat(93))return ge&&De===2&&w.raise("Negated character class may contain strings"),De;w.pos=Y}if(w.eat(92)){var Je=this.regexp_eatCharacterClassEscape(w);if(Je)return Je;w.pos=Y}return null},Pt.regexp_eatClassStringDisjunction=function(w){var Y=w.pos;if(w.eatChars([92,113])){if(w.eat(123)){var ge=this.regexp_classStringDisjunctionContents(w);if(w.eat(125))return ge}else w.raise("Invalid escape");w.pos=Y}return null},Pt.regexp_classStringDisjunctionContents=function(w){for(var Y=this.regexp_classString(w);w.eat(124);)this.regexp_classString(w)===2&&(Y=2);return Y},Pt.regexp_classString=function(w){for(var Y=0;this.regexp_eatClassSetCharacter(w);)Y++;return Y===1?1:2},Pt.regexp_eatClassSetCharacter=function(w){var Y=w.pos;if(w.eat(92))return!(!this.regexp_eatCharacterEscape(w)&&!this.regexp_eatClassSetReservedPunctuator(w))||(w.eat(98)?(w.lastIntValue=8,!0):(w.pos=Y,!1));var ge=w.current();return!(ge<0||ge===w.lookahead()&&function(De){return De===33||De>=35&&De<=38||De>=42&&De<=44||De===46||De>=58&&De<=64||De===94||De===96||De===126}(ge))&&!function(De){return De===40||De===41||De===45||De===47||De>=91&&De<=93||De>=123&&De<=125}(ge)&&(w.advance(),w.lastIntValue=ge,!0)},Pt.regexp_eatClassSetReservedPunctuator=function(w){var Y=w.current();return!!function(ge){return ge===33||ge===35||ge===37||ge===38||ge===44||ge===45||ge>=58&&ge<=62||ge===64||ge===96||ge===126}(Y)&&(w.lastIntValue=Y,w.advance(),!0)},Pt.regexp_eatClassControlLetter=function(w){var Y=w.current();return!(!on(Y)&&Y!==95)&&(w.lastIntValue=Y%32,w.advance(),!0)},Pt.regexp_eatHexEscapeSequence=function(w){var Y=w.pos;if(w.eat(120)){if(this.regexp_eatFixedHexDigits(w,2))return!0;w.switchU&&w.raise("Invalid escape"),w.pos=Y}return!1},Pt.regexp_eatDecimalDigits=function(w){var Y=w.pos,ge=0;for(w.lastIntValue=0;on(ge=w.current());)w.lastIntValue=10*w.lastIntValue+(ge-48),w.advance();return w.pos!==Y},Pt.regexp_eatHexDigits=function(w){var Y=w.pos,ge=0;for(w.lastIntValue=0;Cn(ge=w.current());)w.lastIntValue=16*w.lastIntValue+Jr(ge),w.advance();return w.pos!==Y},Pt.regexp_eatLegacyOctalEscapeSequence=function(w){if(this.regexp_eatOctalDigit(w)){var Y=w.lastIntValue;if(this.regexp_eatOctalDigit(w)){var ge=w.lastIntValue;Y<=3&&this.regexp_eatOctalDigit(w)?w.lastIntValue=64*Y+8*ge+w.lastIntValue:w.lastIntValue=8*Y+ge}else w.lastIntValue=Y;return!0}return!1},Pt.regexp_eatOctalDigit=function(w){var Y=w.current();return Di(Y)?(w.lastIntValue=Y-48,w.advance(),!0):(w.lastIntValue=0,!1)},Pt.regexp_eatFixedHexDigits=function(w,Y){var ge=w.pos;w.lastIntValue=0;for(var De=0;De<Y;++De){var Je=w.current();if(!Cn(Je))return w.pos=ge,!1;w.lastIntValue=16*w.lastIntValue+Jr(Je),w.advance()}return!0};var Gi=function(w){this.type=w.type,this.value=w.value,this.start=w.start,this.end=w.end,w.options.locations&&(this.loc=new K(w,w.startLoc,w.endLoc)),w.options.ranges&&(this.range=[w.start,w.end])},mn=He.prototype;function Li(w){return typeof BigInt!="function"?null:BigInt(w.replace(/_/g,""))}mn.next=function(w){!w&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Gi(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},mn.getToken=function(){return this.next(),new Gi(this)},typeof Symbol<"u"&&(mn[Symbol.iterator]=function(){var w=this;return{next:function(){var Y=w.getToken();return{done:Y.type===I.eof,value:Y}}}}),mn.nextToken=function(){var w=this.curContext();return w&&w.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(I.eof):w.override?w.override(this):void this.readToken(this.fullCharCodeAtPos())},mn.readToken=function(w){return m(w,this.options.ecmaVersion>=6)||w===92?this.readWord():this.getTokenFromCode(w)},mn.fullCharCodeAtPos=function(){var w=this.input.charCodeAt(this.pos);if(w<=55295||w>=56320)return w;var Y=this.input.charCodeAt(this.pos+1);return Y<=56319||Y>=57344?w:(w<<10)+Y-56613888},mn.skipBlockComment=function(){var w=this.options.onComment&&this.curPosition(),Y=this.pos,ge=this.input.indexOf("*/",this.pos+=2);if(ge===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=ge+2,this.options.locations)for(var De=void 0,Je=Y;(De=D(this.input,Je,this.pos))>-1;)++this.curLine,Je=this.lineStart=De;this.options.onComment&&this.options.onComment(!0,this.input.slice(Y+2,ge),Y,this.pos,w,this.curPosition())},mn.skipLineComment=function(w){for(var Y=this.pos,ge=this.options.onComment&&this.curPosition(),De=this.input.charCodeAt(this.pos+=w);this.pos<this.input.length&&!C(De);)De=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(Y+w,this.pos),Y,this.pos,ge,this.curPosition())},mn.skipSpace=function(){e:for(;this.pos<this.input.length;){var w=this.input.charCodeAt(this.pos);switch(w){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(!(w>8&&w<14||w>=5760&&O.test(String.fromCharCode(w))))break e;++this.pos}}},mn.finishToken=function(w,Y){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var ge=this.type;this.type=w,this.value=Y,this.updateContext(ge)},mn.readToken_dot=function(){var w=this.input.charCodeAt(this.pos+1);if(w>=48&&w<=57)return this.readNumber(!0);var Y=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&w===46&&Y===46?(this.pos+=3,this.finishToken(I.ellipsis)):(++this.pos,this.finishToken(I.dot))},mn.readToken_slash=function(){var w=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):w===61?this.finishOp(I.assign,2):this.finishOp(I.slash,1)},mn.readToken_mult_modulo_exp=function(w){var Y=this.input.charCodeAt(this.pos+1),ge=1,De=w===42?I.star:I.modulo;return this.options.ecmaVersion>=7&&w===42&&Y===42&&(++ge,De=I.starstar,Y=this.input.charCodeAt(this.pos+2)),Y===61?this.finishOp(I.assign,ge+1):this.finishOp(De,ge)},mn.readToken_pipe_amp=function(w){var Y=this.input.charCodeAt(this.pos+1);return Y===w?this.options.ecmaVersion>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(I.assign,3):this.finishOp(w===124?I.logicalOR:I.logicalAND,2):Y===61?this.finishOp(I.assign,2):this.finishOp(w===124?I.bitwiseOR:I.bitwiseAND,1)},mn.readToken_caret=function(){return this.input.charCodeAt(this.pos+1)===61?this.finishOp(I.assign,2):this.finishOp(I.bitwiseXOR,1)},mn.readToken_plus_min=function(w){var Y=this.input.charCodeAt(this.pos+1);return Y===w?Y!==45||this.inModule||this.input.charCodeAt(this.pos+2)!==62||this.lastTokEnd!==0&&!L.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(I.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):Y===61?this.finishOp(I.assign,2):this.finishOp(I.plusMin,1)},mn.readToken_lt_gt=function(w){var Y=this.input.charCodeAt(this.pos+1),ge=1;return Y===w?(ge=w===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+ge)===61?this.finishOp(I.assign,ge+1):this.finishOp(I.bitShift,ge)):Y!==33||w!==60||this.inModule||this.input.charCodeAt(this.pos+2)!==45||this.input.charCodeAt(this.pos+3)!==45?(Y===61&&(ge=2),this.finishOp(I.relational,ge)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},mn.readToken_eq_excl=function(w){var Y=this.input.charCodeAt(this.pos+1);return Y===61?this.finishOp(I.equality,this.input.charCodeAt(this.pos+2)===61?3:2):w===61&&Y===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(I.arrow)):this.finishOp(w===61?I.eq:I.prefix,1)},mn.readToken_question=function(){var w=this.options.ecmaVersion;if(w>=11){var Y=this.input.charCodeAt(this.pos+1);if(Y===46){var ge=this.input.charCodeAt(this.pos+2);if(ge<48||ge>57)return this.finishOp(I.questionDot,2)}if(Y===63)return w>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(I.assign,3):this.finishOp(I.coalesce,2)}return this.finishOp(I.question,1)},mn.readToken_numberSign=function(){var w=35;if(this.options.ecmaVersion>=13&&(++this.pos,m(w=this.fullCharCodeAtPos(),!0)||w===92))return this.finishToken(I.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+ee(w)+"'")},mn.getTokenFromCode=function(w){switch(w){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(I.parenL);case 41:return++this.pos,this.finishToken(I.parenR);case 59:return++this.pos,this.finishToken(I.semi);case 44:return++this.pos,this.finishToken(I.comma);case 91:return++this.pos,this.finishToken(I.bracketL);case 93:return++this.pos,this.finishToken(I.bracketR);case 123:return++this.pos,this.finishToken(I.braceL);case 125:return++this.pos,this.finishToken(I.braceR);case 58:return++this.pos,this.finishToken(I.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(I.backQuote);case 48:var Y=this.input.charCodeAt(this.pos+1);if(Y===120||Y===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(Y===111||Y===79)return this.readRadixNumber(8);if(Y===98||Y===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(w);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(w);case 124:case 38:return this.readToken_pipe_amp(w);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(w);case 60:case 62:return this.readToken_lt_gt(w);case 61:case 33:return this.readToken_eq_excl(w);case 63:return this.readToken_question();case 126:return this.finishOp(I.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+ee(w)+"'")},mn.finishOp=function(w,Y){var ge=this.input.slice(this.pos,this.pos+Y);return this.pos+=Y,this.finishToken(w,ge)},mn.readRegexp=function(){for(var w,Y,ge=this.pos;;){this.pos>=this.input.length&&this.raise(ge,"Unterminated regular expression");var De=this.input.charAt(this.pos);if(L.test(De)&&this.raise(ge,"Unterminated regular expression"),w)w=!1;else{if(De==="[")Y=!0;else if(De==="]"&&Y)Y=!1;else if(De==="/"&&!Y)break;w=De==="\\"}++this.pos}var Je=this.input.slice(ge,this.pos);++this.pos;var dt=this.pos,ut=this.readWord1();this.containsEsc&&this.unexpected(dt);var It=this.regexpState||(this.regexpState=new Lr(this));It.reset(ge,Je,ut),this.validateRegExpFlags(It),this.validateRegExpPattern(It);var Ut=null;try{Ut=new RegExp(Je,ut)}catch{}return this.finishToken(I.regexp,{pattern:Je,flags:ut,value:Ut})},mn.readInt=function(w,Y,ge){for(var De=this.options.ecmaVersion>=12&&Y===void 0,Je=ge&&this.input.charCodeAt(this.pos)===48,dt=this.pos,ut=0,It=0,Ut=0,yr=Y??1/0;Ut<yr;++Ut,++this.pos){var Jt=this.input.charCodeAt(this.pos),zr=void 0;if(De&&Jt===95)Je&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),It===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),Ut===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),It=Jt;else{if((zr=Jt>=97?Jt-97+10:Jt>=65?Jt-65+10:Jt>=48&&Jt<=57?Jt-48:1/0)>=w)break;It=Jt,ut=ut*w+zr}}return De&&It===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===dt||Y!=null&&this.pos-dt!==Y?null:ut},mn.readRadixNumber=function(w){var Y=this.pos;this.pos+=2;var ge=this.readInt(w);return ge==null&&this.raise(this.start+2,"Expected number in radix "+w),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(ge=Li(this.input.slice(Y,this.pos)),++this.pos):m(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(I.num,ge)},mn.readNumber=function(w){var Y=this.pos;w||this.readInt(10,void 0,!0)!==null||this.raise(Y,"Invalid number");var ge=this.pos-Y>=2&&this.input.charCodeAt(Y)===48;ge&&this.strict&&this.raise(Y,"Invalid number");var De=this.input.charCodeAt(this.pos);if(!ge&&!w&&this.options.ecmaVersion>=11&&De===110){var Je=Li(this.input.slice(Y,this.pos));return++this.pos,m(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(I.num,Je)}ge&&/[89]/.test(this.input.slice(Y,this.pos))&&(ge=!1),De!==46||ge||(++this.pos,this.readInt(10),De=this.input.charCodeAt(this.pos)),De!==69&&De!==101||ge||((De=this.input.charCodeAt(++this.pos))!==43&&De!==45||++this.pos,this.readInt(10)===null&&this.raise(Y,"Invalid number")),m(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var dt,ut=(dt=this.input.slice(Y,this.pos),ge?parseInt(dt,8):parseFloat(dt.replace(/_/g,"")));return this.finishToken(I.num,ut)},mn.readCodePoint=function(){var w;if(this.input.charCodeAt(this.pos)===123){this.options.ecmaVersion<6&&this.unexpected();var Y=++this.pos;w=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,w>1114111&&this.invalidStringToken(Y,"Code point out of bounds")}else w=this.readHexChar(4);return w},mn.readString=function(w){for(var Y="",ge=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var De=this.input.charCodeAt(this.pos);if(De===w)break;De===92?(Y+=this.input.slice(ge,this.pos),Y+=this.readEscapedChar(!1),ge=this.pos):De===8232||De===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(C(De)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return Y+=this.input.slice(ge,this.pos++),this.finishToken(I.string,Y)};var us={};mn.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(w){if(w!==us)throw w;this.readInvalidTemplateToken()}this.inTemplateElement=!1},mn.invalidStringToken=function(w,Y){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw us;this.raise(w,Y)},mn.readTmplToken=function(){for(var w="",Y=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var ge=this.input.charCodeAt(this.pos);if(ge===96||ge===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos!==this.start||this.type!==I.template&&this.type!==I.invalidTemplate?(w+=this.input.slice(Y,this.pos),this.finishToken(I.template,w)):ge===36?(this.pos+=2,this.finishToken(I.dollarBraceL)):(++this.pos,this.finishToken(I.backQuote));if(ge===92)w+=this.input.slice(Y,this.pos),w+=this.readEscapedChar(!0),Y=this.pos;else if(C(ge)){switch(w+=this.input.slice(Y,this.pos),++this.pos,ge){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:w+=`
|
|
`;break;default:w+=String.fromCharCode(ge)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),Y=this.pos}else++this.pos}},mn.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(I.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
|
|
`&&++this.pos;case`
|
|
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},mn.readEscapedChar=function(w){var Y=this.input.charCodeAt(++this.pos);switch(++this.pos,Y){case 110:return`
|
|
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return ee(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),w){var ge=this.pos-1;this.invalidStringToken(ge,"Invalid escape sequence in template string")}default:if(Y>=48&&Y<=55){var De=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],Je=parseInt(De,8);return Je>255&&(De=De.slice(0,-1),Je=parseInt(De,8)),this.pos+=De.length-1,Y=this.input.charCodeAt(this.pos),De==="0"&&Y!==56&&Y!==57||!this.strict&&!w||this.invalidStringToken(this.pos-1-De.length,w?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(Je)}return C(Y)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(Y)}},mn.readHexChar=function(w){var Y=this.pos,ge=this.readInt(16,w);return ge===null&&this.invalidStringToken(Y,"Bad character escape sequence"),ge},mn.readWord1=function(){this.containsEsc=!1;for(var w="",Y=!0,ge=this.pos,De=this.options.ecmaVersion>=6;this.pos<this.input.length;){var Je=this.fullCharCodeAtPos();if(g(Je,De))this.pos+=Je<=65535?1:2;else{if(Je!==92)break;this.containsEsc=!0,w+=this.input.slice(ge,this.pos);var dt=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var ut=this.readCodePoint();(Y?m:g)(ut,De)||this.invalidStringToken(dt,"Invalid Unicode escape"),w+=ee(ut),ge=this.pos}Y=!1}return w+this.input.slice(ge,this.pos)},mn.readWord=function(){var w=this.readWord1(),Y=I.name;return this.keywords.test(w)&&(Y=S[w]),this.finishToken(Y,w)},He.acorn={Parser:He,version:"8.12.1",defaultOptions:Q,Position:ne,SourceLocation:K,getLineInfo:q,Node:We,TokenType:y,tokTypes:I,keywordTypes:S,TokContext:ye,tokContexts:$e,isIdentifierChar:g,isIdentifierStart:m,Token:Gi,isNewLine:C,lineBreak:L,lineBreakG:x,nonASCIIwhitespace:O};let Ni=require("node:module"),xn=require("node:fs");String.fromCharCode;let ii=/\/$|\/\?|\/#/,ts=/^\.?\//;function Pn(w="",Y){return Y?ii.test(w):w.endsWith("/")}function si(w="",Y){if(!Y)return w.endsWith("/")?w:w+"/";if(Pn(w,!0))return w||"/";let ge=w,De="",Je=w.indexOf("#");if(Je>=0&&(ge=w.slice(0,Je),De=w.slice(Je),!ge))return De;let[dt,...ut]=ge.split("?");return dt+"/"+(ut.length>0?`?${ut.join("?")}`:"")+De}function Vs(w){return w&&w!=="/"}function Oi(w,...Y){let ge=w||"";for(let De of Y.filter(Je=>Vs(Je)))if(ge){let Je=De.replace(ts,"");ge=si(ge)+Je}else ge=De;return ge}Symbol.for("ufo:protocolRelative");let Ls=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,Fi=function(w){return Ls.test(w)},qr=require("node:url"),Mr=require("node:assert"),rs=require("node:process"),Br=require("node:path"),Rs=require("node:v8"),Xi=require("node:util"),ns=new Set(Ni.builtinModules);function vr(w){return w.replace(/\\/g,"/")}let Yt={}.hasOwnProperty,ft=/^([A-Z][a-z\d]*)+$/,wt=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),Vt={};function nr(w,Y="and"){return w.length<3?w.join(` ${Y} `):`${w.slice(0,-1).join(", ")}, ${Y} ${w[w.length-1]}`}let Hr=new Map,Bt;function zt(w,Y,ge){return Hr.set(w,Y),function(De,Je){return dt;function dt(...ut){let It=Error.stackTraceLimit;jt()&&(Error.stackTraceLimit=0);let Ut=new De;jt()&&(Error.stackTraceLimit=It);let yr=function(Jt,zr,Cr){let kn=Hr.get(Jt);if(Mr(kn!==void 0,"expected `message` to be found"),typeof kn=="function")return Mr(kn.length<=zr.length,`Code: ${Jt}; The provided arguments length (${zr.length}) does not match the required ones (${kn.length}).`),Reflect.apply(kn,Cr,zr);let ps=/%[dfijoOs]/g,Kn=0;for(;ps.exec(kn)!==null;)Kn++;return Mr(Kn===zr.length,`Code: ${Jt}; The provided arguments length (${zr.length}) does not match the required ones (${Kn}).`),zr.length===0?kn:(zr.unshift(kn),Reflect.apply(Xi.format,null,zr))}(Je,ut,Ut);return Object.defineProperties(Ut,{message:{value:yr,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${Je}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),xr(Ut),Ut.code=Je,Ut}}(ge,w)}function jt(){try{if(Rs.startupSnapshot.isBuildingSnapshot())return!1}catch{}let w=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return w===void 0?Object.isExtensible(Error):Yt.call(w,"writable")&&w.writable!==void 0?w.writable:w.set!==void 0}Vt.ERR_INVALID_ARG_TYPE=zt("ERR_INVALID_ARG_TYPE",(w,Y,ge)=>{Mr(typeof w=="string","'name' must be a string"),Array.isArray(Y)||(Y=[Y]);let De="The ";if(w.endsWith(" argument"))De+=`${w} `;else{let It=w.includes(".")?"property":"argument";De+=`"${w}" ${It} `}De+="must be ";let Je=[],dt=[],ut=[];for(let It of Y)Mr(typeof It=="string","All expected entries have to be of type string"),wt.has(It)?Je.push(It.toLowerCase()):ft.exec(It)===null?(Mr(It!=="object",'The value "object" should be written as "Object"'),ut.push(It)):dt.push(It);if(dt.length>0){let It=Je.indexOf("object");It!==-1&&(Je.slice(It,1),dt.push("Object"))}return Je.length>0&&(De+=`${Je.length>1?"one of type":"of type"} ${nr(Je,"or")}`,(dt.length>0||ut.length>0)&&(De+=" or ")),dt.length>0&&(De+=`an instance of ${nr(dt,"or")}`,ut.length>0&&(De+=" or ")),ut.length>0&&(ut.length>1?De+=`one of ${nr(ut,"or")}`:(ut[0].toLowerCase()!==ut[0]&&(De+="an "),De+=`${ut[0]}`)),De+=`. Received ${function(It){if(It==null)return String(It);if(typeof It=="function"&&It.name)return`function ${It.name}`;if(typeof It=="object")return It.constructor&&It.constructor.name?`an instance of ${It.constructor.name}`:`${(0,Xi.inspect)(It,{depth:-1})}`;let Ut=(0,Xi.inspect)(It,{colors:!1});return Ut.length>28&&(Ut=`${Ut.slice(0,25)}...`),`type ${typeof It} (${Ut})`}(ge)}`,De},TypeError),Vt.ERR_INVALID_MODULE_SPECIFIER=zt("ERR_INVALID_MODULE_SPECIFIER",(w,Y,ge=void 0)=>`Invalid module "${w}" ${Y}${ge?` imported from ${ge}`:""}`,TypeError),Vt.ERR_INVALID_PACKAGE_CONFIG=zt("ERR_INVALID_PACKAGE_CONFIG",(w,Y,ge)=>`Invalid package config ${w}${Y?` while importing ${Y}`:""}${ge?`. ${ge}`:""}`,Error),Vt.ERR_INVALID_PACKAGE_TARGET=zt("ERR_INVALID_PACKAGE_TARGET",(w,Y,ge,De=!1,Je=void 0)=>{let dt=typeof ge=="string"&&!De&&ge.length>0&&!ge.startsWith("./");return Y==="."?(Mr(De===!1),`Invalid "exports" main target ${JSON.stringify(ge)} defined in the package config ${w}package.json${Je?` imported from ${Je}`:""}${dt?'; targets must start with "./"':""}`):`Invalid "${De?"imports":"exports"}" target ${JSON.stringify(ge)} defined for '${Y}' in the package config ${w}package.json${Je?` imported from ${Je}`:""}${dt?'; targets must start with "./"':""}`},Error),Vt.ERR_MODULE_NOT_FOUND=zt("ERR_MODULE_NOT_FOUND",(w,Y,ge=!1)=>`Cannot find ${ge?"module":"package"} '${w}' imported from ${Y}`,Error),Vt.ERR_NETWORK_IMPORT_DISALLOWED=zt("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),Vt.ERR_PACKAGE_IMPORT_NOT_DEFINED=zt("ERR_PACKAGE_IMPORT_NOT_DEFINED",(w,Y,ge)=>`Package import specifier "${w}" is not defined${Y?` in package ${Y}package.json`:""} imported from ${ge}`,TypeError),Vt.ERR_PACKAGE_PATH_NOT_EXPORTED=zt("ERR_PACKAGE_PATH_NOT_EXPORTED",(w,Y,ge=void 0)=>Y==="."?`No "exports" main defined in ${w}package.json${ge?` imported from ${ge}`:""}`:`Package subpath '${Y}' is not defined by "exports" in ${w}package.json${ge?` imported from ${ge}`:""}`,Error),Vt.ERR_UNSUPPORTED_DIR_IMPORT=zt("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),Vt.ERR_UNSUPPORTED_RESOLVE_REQUEST=zt("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),Vt.ERR_UNKNOWN_FILE_EXTENSION=zt("ERR_UNKNOWN_FILE_EXTENSION",(w,Y)=>`Unknown file extension "${w}" for ${Y}`,TypeError),Vt.ERR_INVALID_ARG_VALUE=zt("ERR_INVALID_ARG_VALUE",(w,Y,ge="is invalid")=>{let De=(0,Xi.inspect)(Y);return De.length>128&&(De=`${De.slice(0,128)}...`),`The ${w.includes(".")?"property":"argument"} '${w}' ${ge}. Received ${De}`},TypeError);let xr=function(w){let Y="__node_internal_"+w.name;return Object.defineProperty(w,"name",{value:Y}),w}(function(w){let Y=jt();return Y&&(Bt=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(w),Y&&(Error.stackTraceLimit=Bt),w}),Or={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:hr}=Vt,dr=new Map;function Sn(w,{base:Y,specifier:ge}){let De=dr.get(w);if(De)return De;let Je;try{Je=xn.readFileSync(Br.toNamespacedPath(w),"utf8")}catch(ut){let It=ut;if(It.code!=="ENOENT")throw It}let dt={exists:!1,pjsonPath:w,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(Je!==void 0){let ut;try{ut=JSON.parse(Je)}catch(It){let Ut=It,yr=new hr(w,(Y?`"${ge}" from `:"")+(0,qr.fileURLToPath)(Y||ge),Ut.message);throw yr.cause=Ut,yr}dt.exists=!0,Or.call(ut,"name")&&typeof ut.name=="string"&&(dt.name=ut.name),Or.call(ut,"main")&&typeof ut.main=="string"&&(dt.main=ut.main),Or.call(ut,"exports")&&(dt.exports=ut.exports),Or.call(ut,"imports")&&(dt.imports=ut.imports),!Or.call(ut,"type")||ut.type!=="commonjs"&&ut.type!=="module"||(dt.type=ut.type)}return dr.set(w,dt),dt}function Xn(w){let Y=new URL("package.json",w);for(;!Y.pathname.endsWith("node_modules/package.json");){let ge=Sn((0,qr.fileURLToPath)(Y),{specifier:w});if(ge.exists)return ge;let De=Y;if(Y=new URL("../package.json",Y),Y.pathname===De.pathname)break}return{pjsonPath:(0,qr.fileURLToPath)(Y),exists:!1,type:"none"}}function zn(w){return Xn(w).type}let{ERR_UNKNOWN_FILE_EXTENSION:en}=Vt,ai={}.hasOwnProperty,Ri={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"},Oa={__proto__:null,"data:":function(w){let{1:Y}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(w.pathname)||[null,null,null];return function(ge){return ge&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(ge)?"module":ge==="application/json"?"json":null}(Y)},"file:":function(w,Y,ge){let De=function(ut){let It=ut.pathname,Ut=It.length;for(;Ut--;){let yr=It.codePointAt(Ut);if(yr===47)return"";if(yr===46)return It.codePointAt(Ut-1)===47?"":It.slice(Ut)}return""}(w);if(De===".js"){let ut=zn(w);return ut!=="none"?ut:"commonjs"}if(De===""){let ut=zn(w);return ut==="none"||ut==="commonjs"?"commonjs":"module"}let Je=Ri[De];if(Je)return Je;if(ge)return;let dt=(0,qr.fileURLToPath)(w);throw new en(De,dt)},"http:":Fa,"https:":Fa,"node:":()=>"builtin"};function Fa(){}let ja=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:ao,ERR_INVALID_MODULE_SPECIFIER:Rr,ERR_INVALID_PACKAGE_CONFIG:Ks,ERR_INVALID_PACKAGE_TARGET:Qa,ERR_MODULE_NOT_FOUND:Ro,ERR_PACKAGE_IMPORT_NOT_DEFINED:gs,ERR_PACKAGE_PATH_NOT_EXPORTED:Ua,ERR_UNSUPPORTED_DIR_IMPORT:ze,ERR_UNSUPPORTED_RESOLVE_REQUEST:b}=Vt,N={}.hasOwnProperty,G=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,V=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,f=/^\.|%|\\/,v=/\*/g,B=/%2f|%5c/i,X=new Set,ae=/[/\\]{2}/;function Te(w,Y,ge,De,Je,dt,ut){if(rs.noDeprecation)return;let It=(0,qr.fileURLToPath)(De),Ut=ae.exec(ut?w:Y)!==null;rs.emitWarning(`Use of deprecated ${Ut?"double slash":"leading or trailing slash matching"} resolving "${w}" for module request "${Y}" ${Y===ge?"":`matched to "${ge}" `}in the "${Je?"imports":"exports"}" field module resolution of the package at ${It}${dt?` imported from ${(0,qr.fileURLToPath)(dt)}`:""}.`,"DeprecationWarning","DEP0166")}function Ke(w,Y,ge,De){if(rs.noDeprecation||function(Ut,yr){let Jt=Ut.protocol;return ai.call(Oa,Jt)&&Oa[Jt](Ut,yr,!0)||null}(w,{parentURL:ge.href})!=="module")return;let dt=(0,qr.fileURLToPath)(w.href),ut=(0,qr.fileURLToPath)(new qr.URL(".",Y)),It=(0,qr.fileURLToPath)(ge);De?Br.resolve(ut,De)!==dt&&rs.emitWarning(`Package ${ut} has a "main" field set to "${De}", excluding the full filename and extension to the resolved file at "${dt.slice(ut.length)}", imported from ${It}.
|
|
Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):rs.emitWarning(`No "main" or "exports" field defined in the package.json for ${ut} resolving the main entry point "${dt.slice(ut.length)}", imported from ${It}.
|
|
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function rt(w){try{return(0,xn.statSync)(w)}catch{}}function at(w){let Y=(0,xn.statSync)(w,{throwIfNoEntry:!1}),ge=Y?Y.isFile():void 0;return ge!=null&&ge}function St(w,Y,ge){let De;if(Y.main!==void 0){if(De=new qr.URL(Y.main,w),at(De))return De;let ut=[`./${Y.main}.js`,`./${Y.main}.json`,`./${Y.main}.node`,`./${Y.main}/index.js`,`./${Y.main}/index.json`,`./${Y.main}/index.node`],It=-1;for(;++It<ut.length&&(De=new qr.URL(ut[It],w),!at(De));)De=void 0;if(De)return Ke(De,w,ge,Y.main),De}let Je=["./index.js","./index.json","./index.node"],dt=-1;for(;++dt<Je.length&&(De=new qr.URL(Je[dt],w),!at(De));)De=void 0;if(De)return Ke(De,w,ge,Y.main),De;throw new Ro((0,qr.fileURLToPath)(new qr.URL(".",w)),(0,qr.fileURLToPath)(ge))}function Kt(w,Y,ge){return new Ua((0,qr.fileURLToPath)(new qr.URL(".",Y)),w,ge&&(0,qr.fileURLToPath)(ge))}function gr(w,Y,ge,De,Je){return Y=typeof Y=="object"&&Y!==null?JSON.stringify(Y,null,""):`${Y}`,new Qa((0,qr.fileURLToPath)(new qr.URL(".",ge)),w,Y,De,Je&&(0,qr.fileURLToPath)(Je))}function lr(w,Y,ge,De,Je,dt,ut,It,Ut){if(Y!==""&&!dt&&w[w.length-1]!=="/")throw gr(ge,w,De,ut,Je);if(!w.startsWith("./")){if(ut&&!w.startsWith("../")&&!w.startsWith("/")){let Cr=!1;try{new qr.URL(w),Cr=!0}catch{}if(!Cr)return oe(dt?ja.call(v,w,()=>Y):w+Y,De,Ut)}throw gr(ge,w,De,ut,Je)}if(G.exec(w.slice(2))!==null){if(V.exec(w.slice(2))!==null)throw gr(ge,w,De,ut,Je);if(!It){let Cr=dt?ge.replace("*",()=>Y):ge+Y;Te(dt?ja.call(v,w,()=>Y):w,Cr,ge,De,ut,Je,!0)}}let yr=new qr.URL(w,De),Jt=yr.pathname,zr=new qr.URL(".",De).pathname;if(!Jt.startsWith(zr))throw gr(ge,w,De,ut,Je);if(Y==="")return yr;if(G.exec(Y)!==null){let Cr=dt?ge.replace("*",()=>Y):ge+Y;V.exec(Y)===null?It||Te(dt?ja.call(v,w,()=>Y):w,Cr,ge,De,ut,Je,!1):function(kn,ps,Kn,is,Ui){let ds=`request is not a valid match in pattern "${ps}" for the "${is?"imports":"exports"}" resolution of ${(0,qr.fileURLToPath)(Kn)}`;throw new Rr(kn,ds,Ui&&(0,qr.fileURLToPath)(Ui))}(Cr,ge,De,ut,Je)}return dt?new qr.URL(ja.call(v,yr.href,()=>Y)):new qr.URL(Y,yr)}function Ur(w){let Y=Number(w);return`${Y}`===w&&Y>=0&&Y<4294967295}function pi(w,Y,ge,De,Je,dt,ut,It,Ut){if(typeof Y=="string")return lr(Y,ge,De,w,Je,dt,ut,It,Ut);if(Array.isArray(Y)){let yr=Y;if(yr.length===0)return null;let Jt,zr=-1;for(;++zr<yr.length;){let Cr=yr[zr],kn;try{kn=pi(w,Cr,ge,De,Je,dt,ut,It,Ut)}catch(ps){if(Jt=ps,ps.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw ps}if(kn!==void 0){if(kn!==null)return kn;Jt=null}}if(Jt==null)return null;throw Jt}if(typeof Y=="object"&&Y!==null){let yr=Object.getOwnPropertyNames(Y),Jt=-1;for(;++Jt<yr.length;)if(Ur(yr[Jt]))throw new Ks((0,qr.fileURLToPath)(w),Je,'"exports" cannot contain numeric property keys.');for(Jt=-1;++Jt<yr.length;){let zr=yr[Jt];if(zr==="default"||Ut&&Ut.has(zr)){let Cr=pi(w,Y[zr],ge,De,Je,dt,ut,It,Ut);if(Cr===void 0)continue;return Cr}}return null}if(Y===null)return null;throw gr(De,Y,w,ut,Je)}function bi(w,Y,ge){if(rs.noDeprecation)return;let De=(0,qr.fileURLToPath)(Y);X.has(De+"|"+w)||(X.add(De+"|"+w),rs.emitWarning(`Use of deprecated trailing slash pattern mapping "${w}" in the "exports" field module resolution of the package at ${De}${ge?` imported from ${(0,qr.fileURLToPath)(ge)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function jn(w,Y,ge,De,Je){let dt=ge.exports;if(function(Jt,zr,Cr){if(typeof Jt=="string"||Array.isArray(Jt))return!0;if(typeof Jt!="object"||Jt===null)return!1;let kn=Object.getOwnPropertyNames(Jt),ps=!1,Kn=0,is=-1;for(;++is<kn.length;){let Ui=kn[is],ds=Ui===""||Ui[0]!==".";if(Kn++==0)ps=ds;else if(ps!==ds)throw new Ks((0,qr.fileURLToPath)(zr),Cr,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return ps}(dt,w,De)&&(dt={".":dt}),N.call(dt,Y)&&!Y.includes("*")&&!Y.endsWith("/")){let Jt=pi(w,dt[Y],"",Y,De,!1,!1,!1,Je);if(Jt==null)throw Kt(Y,w,De);return Jt}let ut="",It="",Ut=Object.getOwnPropertyNames(dt),yr=-1;for(;++yr<Ut.length;){let Jt=Ut[yr],zr=Jt.indexOf("*");if(zr!==-1&&Y.startsWith(Jt.slice(0,zr))){Y.endsWith("/")&&bi(Y,w,De);let Cr=Jt.slice(zr+1);Y.length>=Jt.length&&Y.endsWith(Cr)&&Hs(ut,Jt)===1&&Jt.lastIndexOf("*")===zr&&(ut=Jt,It=Y.slice(zr,Y.length-Cr.length))}}if(ut){let Jt=pi(w,dt[ut],It,ut,De,!0,!1,Y.endsWith("/"),Je);if(Jt==null)throw Kt(Y,w,De);return Jt}throw Kt(Y,w,De)}function Hs(w,Y){let ge=w.indexOf("*"),De=Y.indexOf("*"),Je=ge===-1?w.length:ge+1,dt=De===-1?Y.length:De+1;return Je>dt?-1:dt>Je||ge===-1?1:De===-1||w.length>Y.length?-1:Y.length>w.length?1:0}function M(w,Y,ge){if(w==="#"||w.startsWith("#/")||w.endsWith("/"))throw new Rr(w,"is not a valid internal imports specifier name",(0,qr.fileURLToPath)(Y));let De,Je=Xn(Y);if(Je.exists){De=(0,qr.pathToFileURL)(Je.pjsonPath);let dt=Je.imports;if(dt)if(N.call(dt,w)&&!w.includes("*")){let ut=pi(De,dt[w],"",w,Y,!1,!0,!1,ge);if(ut!=null)return ut}else{let ut="",It="",Ut=Object.getOwnPropertyNames(dt),yr=-1;for(;++yr<Ut.length;){let Jt=Ut[yr],zr=Jt.indexOf("*");if(zr!==-1&&w.startsWith(Jt.slice(0,-1))){let Cr=Jt.slice(zr+1);w.length>=Jt.length&&w.endsWith(Cr)&&Hs(ut,Jt)===1&&Jt.lastIndexOf("*")===zr&&(ut=Jt,It=w.slice(zr,w.length-Cr.length))}}if(ut){let Jt=pi(De,dt[ut],It,ut,Y,!0,!0,!1,ge);if(Jt!=null)return Jt}}}throw function(dt,ut,It){return new gs(dt,ut&&(0,qr.fileURLToPath)(new qr.URL(".",ut)),(0,qr.fileURLToPath)(It))}(w,De,Y)}function oe(w,Y,ge){if(Ni.builtinModules.includes(w))return new qr.URL("node:"+w);let{packageName:De,packageSubpath:Je,isScoped:dt}=function(Jt,zr){let Cr=Jt.indexOf("/"),kn=!0,ps=!1;Jt[0]==="@"&&(ps=!0,Cr===-1||Jt.length===0?kn=!1:Cr=Jt.indexOf("/",Cr+1));let Kn=Cr===-1?Jt:Jt.slice(0,Cr);if(f.exec(Kn)!==null&&(kn=!1),!kn)throw new Rr(Jt,"is not a valid package name",(0,qr.fileURLToPath)(zr));return{packageName:Kn,packageSubpath:"."+(Cr===-1?"":Jt.slice(Cr)),isScoped:ps}}(w,Y),ut=Xn(Y);if(ut.exists){let Jt=(0,qr.pathToFileURL)(ut.pjsonPath);if(ut.name===De&&ut.exports!==void 0&&ut.exports!==null)return jn(Jt,Je,ut,Y,ge)}let It,Ut=new qr.URL("./node_modules/"+De+"/package.json",Y),yr=(0,qr.fileURLToPath)(Ut);do{let Jt=rt(yr.slice(0,-13));if(!Jt||!Jt.isDirectory()){It=yr,Ut=new qr.URL((dt?"../../../../node_modules/":"../../../node_modules/")+De+"/package.json",Ut),yr=(0,qr.fileURLToPath)(Ut);continue}let zr=Sn(yr,{base:Y,specifier:w});return zr.exports!==void 0&&zr.exports!==null?jn(Ut,Je,zr,Y,ge):Je==="."?St(Ut,zr,Y):new qr.URL(Je,Ut)}while(yr.length!==It.length);throw new Ro(De,(0,qr.fileURLToPath)(Y),!1)}function Re(w,Y,ge,De){let Je=Y.protocol,dt=Je==="data:"||Je==="http:"||Je==="https:",ut;if(function(It){return It!==""&&(It[0]==="/"||function(Ut){return Ut[0]==="."&&(Ut.length===1||Ut[1]==="/"||Ut[1]==="."&&(Ut.length===2||Ut[2]==="/"))}(It))}(w))try{ut=new qr.URL(w,Y)}catch(It){let Ut=new b(w,Y);throw Ut.cause=It,Ut}else if(Je==="file:"&&w[0]==="#")ut=M(w,Y,ge);else try{ut=new qr.URL(w)}catch(It){if(dt&&!Ni.builtinModules.includes(w)){let Ut=new b(w,Y);throw Ut.cause=It,Ut}ut=oe(w,Y,ge)}return Mr(ut!==void 0,"expected to be defined"),ut.protocol!=="file:"?ut:function(It,Ut,yr){if(B.exec(It.pathname)!==null)throw new Rr(It.pathname,'must not include encoded "/" or "\\" characters',(0,qr.fileURLToPath)(Ut));let Jt;try{Jt=(0,qr.fileURLToPath)(It)}catch(Cr){let kn=Cr;throw Object.defineProperty(kn,"input",{value:String(It)}),Object.defineProperty(kn,"module",{value:String(Ut)}),kn}let zr=rt(Jt.endsWith("/")?Jt.slice(-1):Jt);if(zr&&zr.isDirectory()){let Cr=new ze(Jt,(0,qr.fileURLToPath)(Ut));throw Cr.url=String(It),Cr}if(!zr||!zr.isFile()){let Cr=new Ro(Jt||It.pathname,Ut&&(0,qr.fileURLToPath)(Ut),!0);throw Cr.url=String(It),Cr}if(!yr){let Cr=(0,xn.realpathSync)(Jt),{search:kn,hash:ps}=It;(It=(0,qr.pathToFileURL)(Cr+(Jt.endsWith(Br.sep)?"/":""))).search=kn,It.hash=ps}return It}(ut,Y,De)}function Xe(w){return typeof w!="string"||w.startsWith("file://")?vr((0,qr.fileURLToPath)(w)):vr(w)}function lt(w){return(0,qr.pathToFileURL)(Xe(w)).toString()}let vt=new Set(["node","import"]),Mt=[".mjs",".cjs",".js",".json"],Qt=new Set(["ERR_MODULE_NOT_FOUND","ERR_UNSUPPORTED_DIR_IMPORT","MODULE_NOT_FOUND","ERR_PACKAGE_PATH_NOT_EXPORTED"]);function jr(w,Y,ge){try{return Re(w,Y,ge)}catch(De){if(!Qt.has(De?.code))throw De}}function un(w,Y={}){if(typeof w!="string"){if(!(w instanceof URL))throw new TypeError("input must be a `string` or `URL`");w=Xe(w)}if(/(node|data|http|https):/.test(w))return w;if(ns.has(w))return"node:"+w;if(w.startsWith("file://")&&(w=Xe(w)),Fi(w))try{if((0,xn.statSync)(w).isFile())return lt(w)}catch(ut){if(ut?.code!=="ENOENT")throw ut}let ge=Y.conditions?new Set(Y.conditions):vt,De=(Array.isArray(Y.url)?Y.url:[Y.url]).filter(Boolean).map(ut=>new URL(function(It){return typeof It!="string"&&(It=It.toString()),/(node|data|http|https|file):/.test(It)?It:ns.has(It)?"node:"+It:"file://"+encodeURI(vr(It))}(ut.toString())));De.length===0&&De.push(new URL(lt(process.cwd())));let Je=[...De];for(let ut of De)ut.protocol==="file:"&&Je.push(new URL("./",ut),new URL(Oi(ut.pathname,"_index.js"),ut),new URL("node_modules",ut));let dt;for(let ut of Je){if(dt=jr(w,ut,ge),dt)break;for(let It of["","/index"]){for(let Ut of Y.extensions||Mt)if(dt=jr(Oi(w,It)+Ut,ut,ge),dt)break;if(dt)break}if(dt)break}if(!dt){let ut=new Error(`Cannot find module ${w} imported from ${Je.join(", ")}`);throw ut.code="ERR_MODULE_NOT_FOUND",ut}return lt(dt)}function gn(w,Y){return un(w,Y)}function Ti(w,Y){return Xe(gn(w,Y))}let ma=/([\s;]|^)(import[\s\w*,{}]*from|import\s*["'*{]|export\b\s*(?:[*{]|default|class|type|function|const|var|let|async function)|import\.meta\b)/m,Gs=/\/\*.+?\*\/|\/\/.*(?=[nr])/g;function oo(w,Y={}){return Y.stripComments&&(w=w.replace(Gs,"")),ma.test(w)}let $o=/^[A-Za-z]:\//;function Ea(w=""){return w&&w.replace(/\\/g,"/").replace($o,Y=>Y.toUpperCase())}let zo=/^[/\\]{2}/,Hn=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,oi=/^[A-Za-z]:$/,di=function(w){if(w.length===0)return".";let Y=(w=Ea(w)).match(zo),ge=ia(w),De=w[w.length-1]==="/";return(w=ll(w,!ge)).length===0?ge?"/":De?"./":".":(De&&(w+="/"),oi.test(w)&&(w+="/"),Y?ge?`//${w}`:`//./${w}`:ge&&!ia(w)?`/${w}`:w)},bs=function(...w){if(w.length===0)return".";let Y;for(let ge of w)ge&&ge.length>0&&(Y===void 0?Y=ge:Y+=`/${ge}`);return Y===void 0?".":di(Y.replace(/\/\/+/g,"/"))},La=function(...w){let Y="",ge=!1;for(let De=(w=w.map(Je=>Ea(Je))).length-1;De>=-1&&!ge;De--){let Je=De>=0?w[De]:typeof process<"u"&&typeof process.cwd=="function"?process.cwd().replace(/\\/g,"/"):"/";Je&&Je.length!==0&&(Y=`${Je}/${Y}`,ge=ia(Je))}return Y=ll(Y,!ge),ge&&!ia(Y)?`/${Y}`:Y.length>0?Y:"."};function ll(w,Y){let ge="",De=0,Je=-1,dt=0,ut=null;for(let It=0;It<=w.length;++It){if(It<w.length)ut=w[It];else{if(ut==="/")break;ut="/"}if(ut==="/"){if(!(Je===It-1||dt===1))if(dt===2){if(ge.length<2||De!==2||ge[ge.length-1]!=="."||ge[ge.length-2]!=="."){if(ge.length>2){let Ut=ge.lastIndexOf("/");Ut===-1?(ge="",De=0):(ge=ge.slice(0,Ut),De=ge.length-1-ge.lastIndexOf("/")),Je=It,dt=0;continue}if(ge.length>0){ge="",De=0,Je=It,dt=0;continue}}Y&&(ge+=ge.length>0?"/..":"..",De=2)}else ge.length>0?ge+=`/${w.slice(Je+1,It)}`:ge=w.slice(Je+1,It),De=It-Je-1;Je=It,dt=0}else ut==="."&&dt!==-1?++dt:dt=-1}return ge}let ia=function(w){return Hn.test(w)},qa=/.(\.[^./]+)$/,Mo=function(w){let Y=qa.exec(Ea(w));return Y&&Y[1]||""},Xs=function(w){let Y=Ea(w).replace(/\/$/,"").split("/").slice(0,-1);return Y.length===1&&oi.test(Y[0])&&(Y[0]+="/"),Y.join("/")||(ia(w)?"/":".")},gu=function(w,Y){let ge=Ea(w).split("/").pop();return Y&&ge.endsWith(Y)?ge.slice(0,-Y.length):ge};function bu(w){if(typeof w!="string")throw new TypeError("Expected a string");return w.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}let dh=new Set(["/","\\",void 0]),fh=Symbol.for("pathe:normalizedAlias");function Md(w){if(w[fh])return w;let Y=Object.fromEntries(Object.entries(w).sort(([ge],[De])=>function(Je,dt){return dt.split("/").length-Je.split("/").length}(ge,De)));for(let ge in Y)for(let De in Y)De===ge||ge.startsWith(De)||Y[ge].startsWith(De)&&dh.has(Y[ge][De.length])&&(Y[ge]=Y[De]+Y[ge].slice(De.length));return Object.defineProperty(Y,fh,{value:!0,enumerable:!1}),Y}let pE=/(^|[/\\])([^/\\]+?)(?=(\.[^.]+)?$)/;function pH(w="/"){let Y=w[w.length-1];return Y==="/"||Y==="\\"}let Bd={rE:"2.3.3"},dE=require("node:crypto"),_p=Object.create(null),Au=w=>globalThis.process?.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(w?_p:globalThis),Dl=new Proxy(_p,{get:(w,Y)=>Au()[Y]??_p[Y],has:(w,Y)=>Y in Au()||Y in _p,set:(w,Y,ge)=>(Au(!0)[Y]=ge,!0),deleteProperty(w,Y){return Y?(delete Au(!0)[Y],!0):!1},ownKeys(){let w=Au(!0);return Object.keys(w)}}),fE=typeof process<"u"&&process.env&&process.env.NODE_ENV||"",hE=[["APPVEYOR"],["AWS_AMPLIFY","AWS_APP_ID",{ci:!0}],["AZURE_PIPELINES","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"],["AZURE_STATIC","INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"],["APPCIRCLE","AC_APPCIRCLE"],["BAMBOO","bamboo_planKey"],["BITBUCKET","BITBUCKET_COMMIT"],["BITRISE","BITRISE_IO"],["BUDDY","BUDDY_WORKSPACE_ID"],["BUILDKITE"],["CIRCLE","CIRCLECI"],["CIRRUS","CIRRUS_CI"],["CLOUDFLARE_PAGES","CF_PAGES",{ci:!0}],["CODEBUILD","CODEBUILD_BUILD_ARN"],["CODEFRESH","CF_BUILD_ID"],["DRONE"],["DRONE","DRONE_BUILD_EVENT"],["DSARI"],["GITHUB_ACTIONS"],["GITLAB","GITLAB_CI"],["GITLAB","CI_MERGE_REQUEST_ID"],["GOCD","GO_PIPELINE_LABEL"],["LAYERCI"],["HUDSON","HUDSON_URL"],["JENKINS","JENKINS_URL"],["MAGNUM"],["NETLIFY"],["NETLIFY","NETLIFY_LOCAL",{ci:!1}],["NEVERCODE"],["RENDER"],["SAIL","SAILCI"],["SEMAPHORE"],["SCREWDRIVER"],["SHIPPABLE"],["SOLANO","TDDIUM"],["STRIDER"],["TEAMCITY","TEAMCITY_VERSION"],["TRAVIS"],["VERCEL","NOW_BUILDER"],["VERCEL","VERCEL",{ci:!1}],["VERCEL","VERCEL_ENV",{ci:!1}],["APPCENTER","APPCENTER_BUILD_ID"],["CODESANDBOX","CODESANDBOX_SSE",{ci:!1}],["STACKBLITZ"],["STORMKIT"],["CLEAVR"],["ZEABUR"],["CODESPHERE","CODESPHERE_APP_ID",{ci:!0}],["RAILWAY","RAILWAY_PROJECT_ID"],["RAILWAY","RAILWAY_SERVICE_ID"]],Od=function(){if(globalThis.process?.env)for(let w of hE){let Y=w[1]||w[0];if(globalThis.process?.env[Y])return{name:w[0].toLowerCase(),...w[2]}}return globalThis.process?.env?.SHELL==="/bin/jsh"&&globalThis.process?.versions?.webcontainer?{name:"stackblitz",ci:!1}:{name:"",ci:!1}}();Od.name;function Mc(w){return!!w&&w!=="false"}let Fd=globalThis.process?.platform||"",_E=Mc(Dl.CI)||Od.ci!==!1,mE=Mc(globalThis.process?.stdout&&globalThis.process?.stdout.isTTY),EE=(Mc(Dl.DEBUG),fE==="test"||Mc(Dl.TEST)),hh=(Mc(Dl.MINIMAL),/^win/i.test(Fd)),yE=(/^linux/i.test(Fd),/^darwin/i.test(Fd),!Mc(Dl.NO_COLOR)&&(Mc(Dl.FORCE_COLOR)||(mE||hh)&&Dl.TERM),(globalThis.process?.versions?.node||"").replace(/^v/,"")||null),_h=(Number(yE?.split(".")[0]),globalThis.process||Object.create(null)),mh={versions:{}},Eh=(new Proxy(_h,{get:(w,Y)=>Y==="env"?Dl:Y in w?w[Y]:Y in mh?mh[Y]:void 0}),globalThis.process?.release?.name==="node"),yh=!!globalThis.Bun||!!globalThis.process?.versions?.bun,gE=!!globalThis.Deno,bE=!!globalThis.fastly,AE=[[!!globalThis.Netlify,"netlify"],[!!globalThis.EdgeRuntime,"edge-light"],[globalThis.navigator?.userAgent==="Cloudflare-Workers","workerd"],[bE,"fastly"],[gE,"deno"],[yh,"bun"],[Eh,"node"],[!!globalThis.__lagon__,"lagon"]];(function(){let w=AE.find(Y=>Y[0]);w&&w[1]})();let gh=require("node:tty"),IE=gh?.WriteStream?.prototype?.hasColors?.()??!1,Vn=(w,Y)=>{if(!IE)return Je=>Je;let ge=`\x1B[${w}m`,De=`\x1B[${Y}m`;return Je=>{let dt=Je+"",ut=dt.indexOf(De);if(ut===-1)return ge+dt+De;let It=ge,Ut=0;for(;ut!==-1;)It+=dt.slice(Ut,ut)+ge,Ut=ut+De.length,ut=dt.indexOf(De,Ut);return It+=dt.slice(Ut)+De,It}},bh=(Vn(0,0),Vn(1,22),Vn(2,22),Vn(3,23),Vn(4,24),Vn(53,55),Vn(7,27),Vn(8,28),Vn(9,29),Vn(30,39),Vn(31,39)),Iu=Vn(32,39),mp=Vn(33,39),R=Vn(34,39),te=(Vn(35,39),Vn(36,39)),ve=(Vn(37,39),Vn(90,39));Vn(40,49),Vn(41,49),Vn(42,49),Vn(43,49),Vn(44,49),Vn(45,49),Vn(46,49),Vn(47,49),Vn(100,49),Vn(91,39),Vn(92,39),Vn(93,39),Vn(94,39),Vn(95,39),Vn(96,39),Vn(97,39),Vn(101,49),Vn(102,49),Vn(103,49),Vn(104,49),Vn(105,49),Vn(106,49),Vn(107,49);function Me(w){if(typeof w!="string"||w.startsWith("file://"))return!1;try{return(0,xn.lstatSync)(w).isDirectory()}catch{return!1}}function st(w,Y=8){return(0,dE.createHash)("md5").update(w).digest("hex").slice(0,Y)}let yt={true:Iu("true"),false:mp("false"),"[esm]":R("[esm]"),"[cjs]":Iu("[cjs]"),"[import]":R("[import]"),"[require]":Iu("[require]"),"[native]":te("[native]"),"[transpile]":mp("[transpile]"),"[fallback]":bh("[fallback]"),"[unknown]":bh("[unknown]"),"[hit]":Iu("[hit]"),"[miss]":mp("[miss]"),"[json]":Iu("[json]"),"[data]":Iu("[data]")};function _t(w,...Y){if(!w.opts.debug)return;let ge=process.cwd();console.log(ve(["[jiti]",...Y.map(De=>De in yt?yt[De]:typeof De!="string"?JSON.stringify(De):De.replace(ge,"."))].join(" ")))}function xt(w,Y){return w.opts.interopDefault?function(ge){let De=typeof ge;if(ge===null||De!=="object"&&De!=="function")return ge;let Je=ge.default,dt=typeof Je;return Je===null||dt!=="object"&&dt!=="function"?ge:new Proxy(ge,{get(ut,It,Ut){if(It==="__esModule")return!0;if(It==="default")return Je;if(Reflect.has(ut,It))return Reflect.get(ut,It,Ut);let yr=Reflect.get(Je,It,Ut);return typeof yr=="function"&&(yr=yr.bind(Je)),yr},apply:(ut,It,Ut)=>typeof ut=="function"?Reflect.apply(ut,It,Ut):dt==="function"?Reflect.apply(Je,It,Ut):void 0})}(Y):Y}function Xt(w,Y){return!!cr(w,Y)}function cr(w,Y){let ge=process.env[w];if(!(w in process.env))return Y;try{return JSON.parse(ge)}catch{return Y}}let Zt=/\.(c|m)?j(sx?)$/,Xr=/\.(c|m)?t(sx?)$/;function En(w,Y,ge){let De,Je;if(w.isNativeRe.test(Y))return Y;w.alias&&(Y=function(It,Ut){let yr=Ea(It);Ut=Md(Ut);for(let[Jt,zr]of Object.entries(Ut)){if(!yr.startsWith(Jt))continue;let Cr=pH(Jt)?Jt.slice(0,-1):Jt;if(pH(yr[Cr.length]))return bs(zr,yr.slice(Jt.length))}return yr}(Y,w.alias));let dt=ge?.parentURL||w.url;Me(dt)&&(dt=bs(dt,"_index.js"));let ut=(ge?.async?[ge?.conditions,["node","import"],["node","require"]]:[ge?.conditions,["node","require"],["node","import"]]).filter(Boolean);for(let It of ut){try{De=Ti(Y,{url:dt,conditions:It,extensions:w.opts.extensions})}catch(Ut){Je=Ut}if(De)return De}try{return w.nativeRequire.resolve(Y,{paths:ge.paths})}catch(It){Je=It}for(let It of w.additionalExts)if(De=Yn(w,Y+It,dt,ge)||Yn(w,Y+"/index"+It,dt,ge),De||(Xr.test(w.filename)||Xr.test(w.parentModule?.filename||""))&&(De=Yn(w,Y.replace(Zt,".$1t$2"),dt,ge),De))return De;if(!ge?.try)throw Je}function Yn(w,Y,ge,De){try{return w.nativeRequire.resolve(Y,{...De,paths:[Xs(Xe(ge)),...De?.paths||[]]})}catch{}}let ji=require("node:perf_hooks"),sa=require("node:vm");var ka=n.n(sa);function Zi(w,Y,ge){let De=w.parentCache||{};if(Y.startsWith("node:"))Y=Y.slice(5);else if(Y.startsWith("file:"))Y=(0,qr.fileURLToPath)(Y);else if(Y.startsWith("data:")){if(!ge.async)throw new Error("`data:` URLs are only supported in ESM context. Use `import` or `jiti.import` instead.");return _t(w,"[native]","[data]","[import]",Y),Bo(w,Y,!0)}if(Ni.builtinModules.includes(Y)||Y===".pnp.js")return Bo(w,Y,ge.async);if(w.opts.tryNative&&!w.opts.transformOptions)try{if(!(Y=En(w,Y,ge))&&ge.try)return;if(_t(w,"[try-native]",ge.async&&w.nativeImport?"[import]":"[require]",Y),ge.async&&w.nativeImport)return w.nativeImport(Y).then(It=>(w.opts.moduleCache===!1&&delete w.nativeRequire.cache[Y],xt(w,It)));{let It=w.nativeRequire(Y);return w.opts.moduleCache===!1&&delete w.nativeRequire.cache[Y],xt(w,It)}}catch(It){_t(w,`[try-native] Using fallback for ${Y} because of an error:`,It)}let Je=En(w,Y,ge);if(!Je&&ge.try)return;let dt=Mo(Je);if(dt===".json"){_t(w,"[json]",Je);let It=w.nativeRequire(Je);return It&&!("default"in It)&&Object.defineProperty(It,"default",{value:It,enumerable:!1}),It}if(dt&&!w.opts.extensions.includes(dt))return _t(w,"[native]","[unknown]",ge.async?"[import]":"[require]",Je),Bo(w,Je,ge.async);if(w.isNativeRe.test(Je))return _t(w,"[native]",ge.async?"[import]":"[require]",Je),Bo(w,Je,ge.async);if(De[Je])return xt(w,De[Je]?.exports);if(w.opts.moduleCache&&w.nativeRequire.cache[Je])return xt(w,w.nativeRequire.cache[Je]?.exports);let ut=(0,xn.readFileSync)(Je,"utf8");return On(w,ut,{id:Y,filename:Je,ext:dt,cache:De,async:ge.async})}function Bo(w,Y,ge){return ge&&w.nativeImport?w.nativeImport(function(De){return hh&&ia(De)?lt(De):De}(Y)).then(De=>xt(w,De)):xt(w,w.nativeRequire(Y))}let Zr="9";function ri(w,Y,ge){if(!w.opts.fsCache||!Y.filename)return ge();let De=` /* v${Zr}-${st(Y.source,16)} */
|
|
`,Je=`${gu(Xs(Y.filename))}-${function(Ut){return Ut.match(pE)?.[2]}(Y.filename)}`+(Y.interopDefault?".i":"")+`.${st(Y.filename)}`+(Y.async?".mjs":".cjs");Y.jsx&&Y.filename.endsWith("x")&&(Je+="x");let dt=w.opts.fsCache,ut=bs(dt,Je);if((0,xn.existsSync)(ut)){let Ut=(0,xn.readFileSync)(ut,"utf8");if(Ut.endsWith(De))return _t(w,"[cache]","[hit]",Y.filename,"~>",ut),Ut}_t(w,"[cache]","[miss]",Y.filename);let It=ge();return It.includes("__JITI_ERROR__")||((0,xn.writeFileSync)(ut,It+De,"utf8"),_t(w,"[cache]","[store]",Y.filename,"~>",ut)),It}function fi(w){if(w.opts.fsCache===!0&&(w.opts.fsCache=function(Y){let ge=Y.filename&&La(Y.filename,"../node_modules");if(ge&&(0,xn.existsSync)(ge))return bs(ge,".cache/jiti");let De=(0,o.tmpdir)();if(process.env.TMPDIR&&De===process.cwd()&&!process.env.JITI_RESPECT_TMPDIR_ENV){let Je=process.env.TMPDIR;delete process.env.TMPDIR,De=(0,o.tmpdir)(),process.env.TMPDIR=Je}return bs(De,"jiti")}(w)),w.opts.fsCache)try{if((0,xn.mkdirSync)(w.opts.fsCache,{recursive:!0}),!function(Y){try{return(0,xn.accessSync)(Y,xn.constants.W_OK),!0}catch{return!1}}(w.opts.fsCache))throw new Error("directory is not writable!")}catch(Y){_t(w,"Error creating cache directory at ",w.opts.fsCache,Y),w.opts.fsCache=!1}}function Zs(w,Y){let ge=ri(w,Y,()=>{let De=w.opts.transform({...w.opts.transformOptions,babel:{...w.opts.sourceMaps?{sourceFileName:Y.filename,sourceMaps:"inline"}:{},...w.opts.transformOptions?.babel},interopDefault:w.opts.interopDefault,...Y});return De.error&&w.opts.debug&&_t(w,De.error),De.code});return ge.startsWith("#!")&&(ge="// "+ge),ge}function On(w,Y,ge={}){let De=ge.id||(ge.filename?gu(ge.filename):`_jitiEval.${ge.ext||(ge.async?"mjs":"js")}`),Je=ge.filename||En(w,De,{async:ge.async}),dt=ge.ext||Mo(Je),ut=ge.cache||w.parentCache||{},It=/\.[cm]?tsx?$/.test(dt),Ut=dt===".mjs"||dt===".js"&&function(ds){for(;ds&&ds!=="."&&ds!=="/";){ds=bs(ds,"..");try{let dH=(0,xn.readFileSync)(bs(ds,"package.json"),"utf8");try{return JSON.parse(dH)}catch{}break}catch{}}}(Je)?.type==="module",yr=dt===".cjs",Jt=ge.forceTranspile??(!yr&&!(Ut&&ge.async)&&(It||Ut||w.isTransformRe.test(Je)||oo(Y))),zr=ji.performance.now();if(Jt){Y=Zs(w,{filename:Je,source:Y,ts:It,async:ge.async??!1,jsx:w.opts.jsx});let ds=Math.round(1e3*(ji.performance.now()-zr))/1e3;_t(w,"[transpile]",ge.async?"[esm]":"[cjs]",Je,`(${ds}ms)`)}else{if(_t(w,"[native]",ge.async?"[import]":"[require]",Je),ge.async)return Promise.resolve(Bo(w,Je,ge.async)).catch(ds=>(_t(w,"Native import error:",ds),_t(w,"[fallback]",Je),On(w,Y,{...ge,forceTranspile:!0})));try{return Bo(w,Je,ge.async)}catch(ds){_t(w,"Native require error:",ds),_t(w,"[fallback]",Je),Y=Zs(w,{filename:Je,source:Y,ts:It,async:ge.async??!1,jsx:w.opts.jsx})}}let Cr=new Ni.Module(Je);Cr.filename=Je,w.parentModule&&(Cr.parent=w.parentModule,Array.isArray(w.parentModule.children)&&!w.parentModule.children.includes(Cr)&&w.parentModule.children.push(Cr));let kn=Ts(Je,w.opts,{parentModule:Cr,parentCache:ut,nativeImport:w.nativeImport,onError:w.onError,createRequire:w.createRequire},!0),ps;Cr.require=kn,Cr.path=Xs(Je),Cr.paths=Ni.Module._nodeModulePaths(Cr.path),ut[Je]=Cr,w.opts.moduleCache&&(w.nativeRequire.cache[Je]=Cr);let Kn=function(ds,dH){return`(${dH?.async?"async ":""}function (exports, require, module, __filename, __dirname, jitiImport, jitiESMResolve) { ${ds}
|
|
});`}(Y,{async:ge.async});try{ps=ka().runInThisContext(Kn,{filename:Je,lineOffset:0,displayErrors:!1})}catch(ds){ds.name==="SyntaxError"&&ge.async&&w.nativeImport?(_t(w,"[esm]","[import]","[fallback]",Je),ps=function(dH,Ah){let SE=`data:text/javascript;base64,${Buffer.from(`export default ${dH}`).toString("base64")}`;return(...LE)=>Ah(SE).then(Ih=>Ih.default(...LE))}(Kn,w.nativeImport)):(w.opts.moduleCache&&delete w.nativeRequire.cache[Je],w.onError(ds))}let is;try{is=ps(Cr.exports,Cr.require,Cr,Cr.filename,Xs(Cr.filename),kn.import,kn.esmResolve)}catch(ds){w.opts.moduleCache&&delete w.nativeRequire.cache[Je],w.onError(ds)}function Ui(){if(Cr.exports&&Cr.exports.__JITI_ERROR__){let{filename:ds,line:dH,column:Ah,code:SE,message:LE}=Cr.exports.__JITI_ERROR__,Ih=new Error(`${SE}: ${LE}
|
|
${`${ds}:${dH}:${Ah}`}`);Error.captureStackTrace(Ih,Zi),w.onError(Ih)}return Cr.loaded=!0,xt(w,Cr.exports)}return ge.async?Promise.resolve(is).then(Ui):Ui()}let vi=(0,o.platform)()==="win32";function Ts(w,Y={},ge,De=!1){let Je=De?Y:function(Kn){let is={fsCache:Xt("JITI_FS_CACHE",Xt("JITI_CACHE",!0)),moduleCache:Xt("JITI_MODULE_CACHE",Xt("JITI_REQUIRE_CACHE",!0)),debug:Xt("JITI_DEBUG",!1),sourceMaps:Xt("JITI_SOURCE_MAPS",!1),interopDefault:Xt("JITI_INTEROP_DEFAULT",!0),extensions:cr("JITI_EXTENSIONS",[".js",".mjs",".cjs",".ts",".tsx",".mts",".cts",".mtsx",".ctsx"]),alias:cr("JITI_ALIAS",{}),nativeModules:cr("JITI_NATIVE_MODULES",[]),transformModules:cr("JITI_TRANSFORM_MODULES",[]),tryNative:cr("JITI_TRY_NATIVE","Bun"in globalThis),jsx:Xt("JITI_JSX",!1)};is.jsx&&is.extensions.push(".jsx",".tsx");let Ui={};return Kn.cache!==void 0&&(Ui.fsCache=Kn.cache),Kn.requireCache!==void 0&&(Ui.moduleCache=Kn.requireCache),{...is,...Ui,...Kn}}(Y),dt=Je.alias&&Object.keys(Je.alias).length>0?Md(Je.alias||{}):void 0,ut=["typescript","jiti",...Je.nativeModules||[]],It=new RegExp(`node_modules/(${ut.map(Kn=>bu(Kn)).join("|")})/`),Ut=[...Je.transformModules||[]],yr=new RegExp(`node_modules/(${Ut.map(Kn=>bu(Kn)).join("|")})/`);w||(w=process.cwd()),!De&&Me(w)&&(w=bs(w,"_index.js"));let Jt=lt(w),zr=[...Je.extensions].filter(Kn=>Kn!==".js"),Cr=ge.createRequire(vi?w.replace(/\//g,"\\"):w),kn={filename:w,url:Jt,opts:Je,alias:dt,nativeModules:ut,transformModules:Ut,isNativeRe:It,isTransformRe:yr,additionalExts:zr,nativeRequire:Cr,onError:ge.onError,parentModule:ge.parentModule,parentCache:ge.parentCache,nativeImport:ge.nativeImport,createRequire:ge.createRequire};return De||_t(kn,"[init]",...[["version:",Bd.rE],["module-cache:",Je.moduleCache],["fs-cache:",Je.fsCache],["interop-defaults:",Je.interopDefault]].flat()),De||fi(kn),Object.assign(function(Kn){return Zi(kn,Kn,{async:!1})},{cache:Je.moduleCache?Cr.cache:Object.create(null),extensions:Cr.extensions,main:Cr.main,options:Je,resolve:Object.assign(function(Kn){return En(kn,Kn,{async:!1})},{paths:Cr.resolve.paths}),transform:Kn=>Zs(kn,Kn),evalModule:(Kn,is)=>On(kn,Kn,is),async import(Kn,is){let Ui=await Zi(kn,Kn,{...is,async:!0});return is?.default?Ui?.default??Ui:Ui},esmResolve(Kn,is){typeof is=="string"&&(is={parentURL:is});let Ui=En(kn,Kn,{parentURL:Jt,...is,async:!0});return!Ui||typeof Ui!="string"||Ui.startsWith("file://")?Ui:lt(Ui)}})}})(),Dme.exports=i.default})()});var Nme=Le((A5t,kme)=>{(()=>{var e={"./node_modules/.deno/mlly@1.7.2/node_modules/mlly/dist lazy recursive":o=>{function r(c){return Promise.resolve().then(()=>{var s=new Error("Cannot find module '"+c+"'");throw s.code="MODULE_NOT_FOUND",s})}r.keys=()=>[],r.resolve=r,r.id="./node_modules/.deno/mlly@1.7.2/node_modules/mlly/dist lazy recursive",o.exports=r},"./node_modules/.pnpm/@ampproject+remapping@2.3.0/node_modules/@ampproject/remapping/dist/remapping.umd.js":function(o,r,c){o.exports=function(s,u){"use strict";let H=l("",-1,-1,"",null,!1),a=[];function l(T,I,L,x,C,D){return{source:T,line:I,column:L,name:x,content:C,ignore:D}}function p(T,I,L,x,C){return{map:T,sources:I,source:L,content:x,ignore:C}}function d(T,I){return p(T,I,"",null,!1)}function h(T,I,L){return p(null,a,T,I,L)}function m(T){let I=new u.GenMapping({file:T.map.file}),{sources:L,map:x}=T,C=x.names,D=s.decodedMappings(x);for(let O=0;O<D.length;O++){let j=D[O];for(let k=0;k<j.length;k++){let $=j[k],U=$[0],F=H;if($.length!==1&&(F=g(L[$[1]],$[2],$[3],$.length===5?C[$[4]]:""),F==null))continue;let{column:P,line:W,name:Z,content:ee,source:J,ignore:ne}=F;u.maybeAddSegment(I,O,U,J,W,P,Z),J&&ee!=null&&u.setSourceContent(I,J,ee),ne&&u.setIgnore(I,J,!0)}}return I}function g(T,I,L,x){if(!T.map)return l(T.source,I,L,x,T.content,T.ignore);let C=s.traceSegment(T.map,I,L);return C==null?null:C.length===1?H:g(T.sources[C[1]],C[2],C[3],C.length===5?T.map.names[C[4]]:x)}function y(T){return Array.isArray(T)?T:[T]}function _(T,I){let L=y(T).map(D=>new s.TraceMap(D,"")),x=L.pop();for(let D=0;D<L.length;D++)if(L[D].sources.length>1)throw new Error(`Transformation map ${D} must have exactly one source file.
|
|
Did you specify these with the most recent transformation maps first?`);let C=E(x,I,"",0);for(let D=L.length-1;D>=0;D--)C=d(L[D],[C]);return C}function E(T,I,L,x){let{resolvedSources:C,sourcesContent:D,ignoreList:O}=T,j=x+1;return d(T,C.map((k,$)=>{let U={importer:L,depth:j,source:k||"",content:void 0,ignore:void 0},F=I(U.source,U),{source:P,content:W,ignore:Z}=U;return F?E(new s.TraceMap(F,P),I,P,j):h(P,W!==void 0?W:D?D[$]:null,Z!==void 0?Z:!!O&&O.includes($))}))}class A{constructor(I,L){let x=L.decodedMappings?u.toDecodedMap(I):u.toEncodedMap(I);this.version=x.version,this.file=x.file,this.mappings=x.mappings,this.names=x.names,this.ignoreList=x.ignoreList,this.sourceRoot=x.sourceRoot,this.sources=x.sources,L.excludeContent||(this.sourcesContent=x.sourcesContent)}toString(){return JSON.stringify(this)}}function S(T,I,L){let x=typeof L=="object"?L:{excludeContent:!!L,decodedMappings:!1},C=_(T,I);return new A(m(C),x)}return S}(c("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"),c("./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.5/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"))},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files lazy recursive":o=>{function r(c){return Promise.resolve().then(()=>{var s=new Error("Cannot find module '"+c+"'");throw s.code="MODULE_NOT_FOUND",s})}r.keys=()=>[],r.resolve=r,r.id="./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files lazy recursive",o.exports=r},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files sync recursive":o=>{function r(c){var s=new Error("Cannot find module '"+c+"'");throw s.code="MODULE_NOT_FOUND",s}r.keys=()=>[],r.resolve=r,r.id="./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files sync recursive",o.exports=r},"./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.25.7/node_modules/@babel/plugin-syntax-class-properties/lib/index.js":(o,r,c)=>{"use strict";r.A=void 0;var s=(0,c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.7/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(u=>(u.assertVersion(7),{name:"syntax-class-properties",manipulateOptions(H,a){a.plugins.push("classProperties","classPrivateProperties","classPrivateMethods")}}));r.A=s},"./node_modules/.pnpm/@babel+plugin-syntax-export-namespace-from@7.8.3_@babel+core@7.25.7/node_modules/@babel/plugin-syntax-export-namespace-from/lib/index.js":(o,r,c)=>{"use strict";r.A=void 0;var s=(0,c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.7/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(u=>(u.assertVersion(7),{name:"syntax-export-namespace-from",manipulateOptions(H,a){a.plugins.push("exportNamespaceFrom")}}));r.A=s},"./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.5/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js":function(o,r,c){(function(s,u,H,a){"use strict";class y{constructor({file:ne,sourceRoot:K}={}){this._names=new u.SetArray,this._sources=new u.SetArray,this._sourcesContent=[],this._mappings=[],this.file=ne,this.sourceRoot=K,this._ignoreList=new u.SetArray}}function _(J){return J}function E(J,ne,K,q,Q,z,ie,_e){return j(!1,J,ne,K,q,Q,z,ie,_e)}function A(J,ne){return ee(!1,J,ne)}let S=(J,ne,K,q,Q,z,ie,_e)=>j(!0,J,ne,K,q,Q,z,ie,_e),T=(J,ne)=>ee(!0,J,ne);function I(J,ne,K){let{_sources:q,_sourcesContent:Q}=J;Q[u.put(q,ne)]=K}function L(J,ne,K=!0){let{_sources:q,_sourcesContent:Q,_ignoreList:z}=J,ie=u.put(q,ne);ie===Q.length&&(Q[ie]=null),K?u.put(z,ie):u.remove(z,ie)}function x(J){let{_mappings:ne,_sources:K,_sourcesContent:q,_names:Q,_ignoreList:z}=J;return F(ne),{version:3,file:J.file||void 0,names:Q.array,sourceRoot:J.sourceRoot||void 0,sources:K.array,sourcesContent:q,mappings:ne,ignoreList:z.array}}function C(J){let ne=x(J);return Object.assign(Object.assign({},ne),{mappings:H.encode(ne.mappings)})}function D(J){let ne=new a.TraceMap(J),K=new y({file:ne.file,sourceRoot:ne.sourceRoot});return P(K._names,ne.names),P(K._sources,ne.sources),K._sourcesContent=ne.sourcesContent||ne.sources.map(()=>null),K._mappings=a.decodedMappings(ne),ne.ignoreList&&P(K._ignoreList,ne.ignoreList),K}function O(J){let ne=[],{_mappings:K,_sources:q,_names:Q}=J;for(let z=0;z<K.length;z++){let ie=K[z];for(let _e=0;_e<ie.length;_e++){let He=ie[_e],be={line:z+1,column:He[0]},Ve,Fe,me;He.length!==1&&(Ve=q.array[He[1]],Fe={line:He[2]+1,column:He[3]},He.length===5&&(me=Q.array[He[4]])),ne.push({generated:be,source:Ve,original:Fe,name:me})}}return ne}function j(J,ne,K,q,Q,z,ie,_e,He){let{_mappings:be,_sources:Ve,_sourcesContent:Fe,_names:me}=ne,ce=k(be,K),ke=$(ce,q);if(!Q)return J&&W(ce,ke)?void 0:U(ce,ke,[q]);let je=u.put(Ve,Q),Oe=_e?u.put(me,_e):-1;if(je===Fe.length&&(Fe[je]=He??null),!J||!Z(ce,ke,je,z,ie,Oe))return U(ce,ke,_e?[q,je,z,ie,Oe]:[q,je,z,ie])}function k(J,ne){for(let K=J.length;K<=ne;K++)J[K]=[];return J[ne]}function $(J,ne){let K=J.length;for(let q=K-1;q>=0&&!(ne>=J[q][0]);K=q--);return K}function U(J,ne,K){for(let q=J.length;q>ne;q--)J[q]=J[q-1];J[ne]=K}function F(J){let{length:ne}=J,K=ne;for(let q=K-1;q>=0&&!(J[q].length>0);K=q,q--);K<ne&&(J.length=K)}function P(J,ne){for(let K=0;K<ne.length;K++)u.put(J,ne[K])}function W(J,ne){return ne===0||J[ne-1].length===1}function Z(J,ne,K,q,Q,z){if(ne===0)return!1;let ie=J[ne-1];return ie.length!==1&&K===ie[1]&&q===ie[2]&&Q===ie[3]&&z===(ie.length===5?ie[4]:-1)}function ee(J,ne,K){let{generated:q,source:Q,original:z,name:ie,content:_e}=K;return Q?j(J,ne,q.line-1,q.column,Q,z.line-1,z.column,ie,_e):j(J,ne,q.line-1,q.column,null,null,null,null,null)}s.GenMapping=y,s.addMapping=A,s.addSegment=E,s.allMappings=O,s.fromMap=D,s.maybeAddMapping=T,s.maybeAddSegment=S,s.setIgnore=L,s.setSourceContent=I,s.toDecodedMap=x,s.toEncodedMap=C,Object.defineProperty(s,"__esModule",{value:!0})})(r,c("./node_modules/.pnpm/@jridgewell+set-array@1.2.1/node_modules/@jridgewell/set-array/dist/set-array.umd.js"),c("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"),c("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"))},"./node_modules/.pnpm/@jridgewell+resolve-uri@3.1.2/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js":function(o){o.exports=function(){"use strict";let r=/^[\w+.-]+:\/\//,c=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,s=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function u(S){return r.test(S)}function H(S){return S.startsWith("//")}function a(S){return S.startsWith("/")}function l(S){return S.startsWith("file:")}function p(S){return/^[.?#]/.test(S)}function d(S){let T=c.exec(S);return m(T[1],T[2]||"",T[3],T[4]||"",T[5]||"/",T[6]||"",T[7]||"")}function h(S){let T=s.exec(S),I=T[2];return m("file:","",T[1]||"","",a(I)?I:"/"+I,T[3]||"",T[4]||"")}function m(S,T,I,L,x,C,D){return{scheme:S,user:T,host:I,port:L,path:x,query:C,hash:D,type:7}}function g(S){if(H(S)){let I=d("http:"+S);return I.scheme="",I.type=6,I}if(a(S)){let I=d("http://foo.com"+S);return I.scheme="",I.host="",I.type=5,I}if(l(S))return h(S);if(u(S))return d(S);let T=d("http://foo.com/"+S);return T.scheme="",T.host="",T.type=S?S.startsWith("?")?3:S.startsWith("#")?2:4:1,T}function y(S){if(S.endsWith("/.."))return S;let T=S.lastIndexOf("/");return S.slice(0,T+1)}function _(S,T){E(T,T.type),S.path==="/"?S.path=T.path:S.path=y(T.path)+S.path}function E(S,T){let I=T<=4,L=S.path.split("/"),x=1,C=0,D=!1;for(let j=1;j<L.length;j++){let k=L[j];k?(D=!1,k!=="."&&(k!==".."?(L[x++]=k,C++):C?(D=!0,C--,x--):I&&(L[x++]=k))):D=!0}let O="";for(let j=1;j<x;j++)O+="/"+L[j];(!O||D&&!O.endsWith("/.."))&&(O+="/"),S.path=O}function A(S,T){if(!S&&!T)return"";let I=g(S),L=I.type;if(T&&L!==7){let C=g(T),D=C.type;switch(L){case 1:I.hash=C.hash;case 2:I.query=C.query;case 3:case 4:_(I,C);case 5:I.user=C.user,I.host=C.host,I.port=C.port;case 6:I.scheme=C.scheme}D>L&&(L=D)}E(I,L);let x=I.query+I.hash;switch(L){case 2:case 3:return x;case 4:{let C=I.path.slice(1);return C?p(T||S)&&!p(C)?"./"+C+x:C+x:x||"."}case 5:return I.path+x;default:return I.scheme+"//"+I.user+I.host+I.port+I.path+x}}return A}()},"./node_modules/.pnpm/@jridgewell+set-array@1.2.1/node_modules/@jridgewell/set-array/dist/set-array.umd.js":function(o,r){(function(c){"use strict";class s{constructor(){this._indexes={__proto__:null},this.array=[]}}function u(d){return d}function H(d,h){return d._indexes[h]}function a(d,h){let m=H(d,h);if(m!==void 0)return m;let{array:g,_indexes:y}=d,_=g.push(h);return y[h]=_-1}function l(d){let{array:h,_indexes:m}=d;h.length!==0&&(m[h.pop()]=void 0)}function p(d,h){let m=H(d,h);if(m===void 0)return;let{array:g,_indexes:y}=d;for(let _=m+1;_<g.length;_++){let E=g[_];g[_-1]=E,y[E]--}y[h]=void 0,g.pop()}c.SetArray=s,c.get=H,c.pop=l,c.put=a,c.remove=p,Object.defineProperty(c,"__esModule",{value:!0})})(r)},"./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js":function(o,r){(function(c){"use strict";let H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Uint8Array(64),l=new Uint8Array(128);for(let $=0;$<H.length;$++){let U=H.charCodeAt($);a[$]=U,l[U]=$}function p($,U){let F=0,P=0,W=0;do{let ee=$.next();W=l[ee],F|=(31&W)<<P,P+=5}while(32&W);let Z=1&F;return F>>>=1,Z&&(F=-2147483648|-F),U+F}function d($,U,F){let P=U-F;P=P<0?-P<<1|1:P<<1;do{let W=31&P;P>>>=5,P>0&&(W|=32),$.write(a[W])}while(P>0);return U}function h($,U){return!($.pos>=U)&&$.peek()!==44}let m=16384,g=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode:$=>Buffer.from($.buffer,$.byteOffset,$.byteLength).toString()}:{decode($){let U="";for(let F=0;F<$.length;F++)U+=String.fromCharCode($[F]);return U}};class y{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(m)}write(U){let{buffer:F}=this;F[this.pos++]=U,this.pos===m&&(this.out+=g.decode(F),this.pos=0)}flush(){let{buffer:U,out:F,pos:P}=this;return P>0?F+g.decode(U.subarray(0,P)):F}}class _{constructor(U){this.pos=0,this.buffer=U}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(U){let{buffer:F,pos:P}=this,W=F.indexOf(U,P);return W===-1?F.length:W}}let E=[];function A($){let{length:U}=$,F=new _($),P=[],W=[],Z=0;for(;F.pos<U;F.pos++){Z=p(F,Z);let ee=p(F,0);if(!h(F,U)){let q=W.pop();q[2]=Z,q[3]=ee;continue}let J=p(F,0),ne=1&p(F,0)?[Z,ee,0,0,J,p(F,0)]:[Z,ee,0,0,J],K=E;if(h(F,U)){K=[];do{let q=p(F,0);K.push(q)}while(h(F,U))}ne.vars=K,P.push(ne),W.push(ne)}return P}function S($){let U=new y;for(let F=0;F<$.length;)F=T($,F,U,[0]);return U.flush()}function T($,U,F,P){let W=$[U],{0:Z,1:ee,2:J,3:ne,4:K,vars:q}=W;U>0&&F.write(44),P[0]=d(F,Z,P[0]),d(F,ee,0),d(F,K,0),d(F,W.length===6?1:0,0),W.length===6&&d(F,W[5],0);for(let Q of q)d(F,Q,0);for(U++;U<$.length;){let Q=$[U],{0:z,1:ie}=Q;if(z>J||z===J&&ie>=ne)break;U=T($,U,F,P)}return F.write(44),P[0]=d(F,J,P[0]),d(F,ne,0),U}function I($){let{length:U}=$,F=new _($),P=[],W=[],Z=0,ee=0,J=0,ne=0,K=0,q=0,Q=0,z=0;do{let ie=F.indexOf(";"),_e=0;for(;F.pos<ie;F.pos++){if(_e=p(F,_e),!h(F,ie)){let ke=W.pop();ke[2]=Z,ke[3]=_e;continue}let He=p(F,0),be=2&He,Ve=4&He,Fe,me=null,ce=E;if(1&He){let ke=p(F,ee);J=p(F,ee===ke?J:0),ee=ke,Fe=[Z,_e,0,0,ke,J]}else Fe=[Z,_e,0,0];if(Fe.isScope=!!Ve,be){let ke=ne,je=K;ne=p(F,ne);let Oe=ke===ne;K=p(F,Oe?K:0),q=p(F,Oe&&je===K?q:0),me=[ne,K,q]}if(Fe.callsite=me,h(F,ie)){ce=[];do{Q=Z,z=_e;let ke=p(F,0),je;if(ke<-1){je=[[p(F,0)]];for(let Oe=-1;Oe>ke;Oe--){let re=Q;Q=p(F,Q),z=p(F,Q===re?z:0);let fe=p(F,0);je.push([fe,Q,z])}}else je=[[ke]];ce.push(je)}while(h(F,ie))}Fe.bindings=ce,P.push(Fe),W.push(Fe)}Z++,F.pos=ie+1}while(F.pos<U);return P}function L($){if($.length===0)return"";let U=new y;for(let F=0;F<$.length;)F=x($,F,U,[0,0,0,0,0,0,0]);return U.flush()}function x($,U,F,P){let W=$[U],{0:Z,1:ee,2:J,3:ne,isScope:K,callsite:q,bindings:Q}=W;if(P[0]<Z?(C(F,P[0],Z),P[0]=Z,P[1]=0):U>0&&F.write(44),P[1]=d(F,W[1],P[1]),d(F,(W.length===6?1:0)|(q?2:0)|(K?4:0),0),W.length===6){let{4:z,5:ie}=W;z!==P[2]&&(P[3]=0),P[2]=d(F,z,P[2]),P[3]=d(F,ie,P[3])}if(q){let{0:z,1:ie,2:_e}=W.callsite;z!==P[4]?(P[5]=0,P[6]=0):ie!==P[5]&&(P[6]=0),P[4]=d(F,z,P[4]),P[5]=d(F,ie,P[5]),P[6]=d(F,_e,P[6])}if(Q)for(let z of Q){z.length>1&&d(F,-z.length,0),d(F,z[0][0],0);let ie=Z,_e=ee;for(let He=1;He<z.length;He++){let be=z[He];ie=d(F,be[1],ie),_e=d(F,be[2],_e),d(F,be[0],0)}}for(U++;U<$.length;){let z=$[U],{0:ie,1:_e}=z;if(ie>J||ie===J&&_e>=ne)break;U=x($,U,F,P)}return P[0]<J?(C(F,P[0],J),P[0]=J,P[1]=0):F.write(44),P[1]=d(F,ne,P[1]),U}function C($,U,F){do $.write(59);while(++U<F)}function D($){let{length:U}=$,F=new _($),P=[],W=0,Z=0,ee=0,J=0,ne=0;do{let K=F.indexOf(";"),q=[],Q=!0,z=0;for(W=0;F.pos<K;){let ie;W=p(F,W),W<z&&(Q=!1),z=W,h(F,K)?(Z=p(F,Z),ee=p(F,ee),J=p(F,J),h(F,K)?(ne=p(F,ne),ie=[W,Z,ee,J,ne]):ie=[W,Z,ee,J]):ie=[W],q.push(ie),F.pos++}Q||O(q),P.push(q),F.pos=K+1}while(F.pos<=U);return P}function O($){$.sort(j)}function j($,U){return $[0]-U[0]}function k($){let U=new y,F=0,P=0,W=0,Z=0;for(let ee=0;ee<$.length;ee++){let J=$[ee];if(ee>0&&U.write(59),J.length===0)continue;let ne=0;for(let K=0;K<J.length;K++){let q=J[K];K>0&&U.write(44),ne=d(U,q[0],ne),q.length!==1&&(F=d(U,q[1],F),P=d(U,q[2],P),W=d(U,q[3],W),q.length!==4&&(Z=d(U,q[4],Z)))}}return U.flush()}c.decode=D,c.decodeGeneratedRanges=I,c.decodeOriginalScopes=A,c.encode=k,c.encodeGeneratedRanges=L,c.encodeOriginalScopes=S,Object.defineProperty(c,"__esModule",{value:!0})})(r)},"./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js":function(o,r,c){(function(s,u,H){"use strict";function a(xe,pe){return pe&&!pe.endsWith("/")&&(pe+="/"),H(xe,pe)}function l(xe){if(!xe)return"";let pe=xe.lastIndexOf("/");return xe.slice(0,pe+1)}let p=0,d=1,h=2,m=3,g=4,y=1,_=2;function E(xe,pe){let ue=A(xe,0);if(ue===xe.length)return xe;pe||(xe=xe.slice());for(let Se=ue;Se<xe.length;Se=A(xe,Se+1))xe[Se]=T(xe[Se],pe);return xe}function A(xe,pe){for(let ue=pe;ue<xe.length;ue++)if(!S(xe[ue]))return ue;return xe.length}function S(xe){for(let pe=1;pe<xe.length;pe++)if(xe[pe][p]<xe[pe-1][p])return!1;return!0}function T(xe,pe){return pe||(xe=xe.slice()),xe.sort(I)}function I(xe,pe){return xe[p]-pe[p]}let L=!1;function x(xe,pe,ue,Se){for(;ue<=Se;){let Ae=ue+(Se-ue>>1),de=xe[Ae][p]-pe;if(de===0)return L=!0,Ae;de<0?ue=Ae+1:Se=Ae-1}return L=!1,ue-1}function C(xe,pe,ue){for(let Se=ue+1;Se<xe.length&&xe[Se][p]===pe;ue=Se++);return ue}function D(xe,pe,ue){for(let Se=ue-1;Se>=0&&xe[Se][p]===pe;ue=Se--);return ue}function O(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function j(xe,pe,ue,Se){let{lastKey:Ae,lastNeedle:de,lastIndex:We}=ue,tt=0,mt=xe.length-1;if(Se===Ae){if(pe===de)return L=We!==-1&&xe[We][p]===pe,We;pe>=de?tt=We===-1?0:We:mt=We}return ue.lastKey=Se,ue.lastNeedle=pe,ue.lastIndex=x(xe,pe,tt,mt)}function k(xe,pe){let ue=pe.map(U);for(let Se=0;Se<xe.length;Se++){let Ae=xe[Se];for(let de=0;de<Ae.length;de++){let We=Ae[de];if(We.length===1)continue;let tt=We[d],mt=We[h],At=We[m],pt=ue[tt],Nt=pt[mt]||(pt[mt]=[]),Ce=pe[tt],qe=C(Nt,At,j(Nt,At,Ce,mt));Ce.lastIndex=++qe,$(Nt,qe,[At,Se,We[p]])}}return ue}function $(xe,pe,ue){for(let Se=xe.length;Se>pe;Se--)xe[Se]=xe[Se-1];xe[pe]=ue}function U(){return{__proto__:null}}let F=function(xe,pe){let ue=P(xe);if(!("sections"in ue))return new z(ue,pe);let Se=[],Ae=[],de=[],We=[],tt=[];return W(ue,pe,Se,Ae,de,We,tt,0,0,1/0,1/0),re({version:3,file:ue.file,names:We,sources:Ae,sourcesContent:de,mappings:Se,ignoreList:tt})};function P(xe){return typeof xe=="string"?JSON.parse(xe):xe}function W(xe,pe,ue,Se,Ae,de,We,tt,mt,At,pt){let{sections:Nt}=xe;for(let Ce=0;Ce<Nt.length;Ce++){let{map:qe,offset:ot}=Nt[Ce],Ze=At,Pe=pt;if(Ce+1<Nt.length){let Qe=Nt[Ce+1].offset;Ze=Math.min(At,tt+Qe.line),Ze===At?Pe=Math.min(pt,mt+Qe.column):Ze<At&&(Pe=mt+Qe.column)}Z(qe,pe,ue,Se,Ae,de,We,tt+ot.line,mt+ot.column,Ze,Pe)}}function Z(xe,pe,ue,Se,Ae,de,We,tt,mt,At,pt){let Nt=P(xe);if("sections"in Nt)return W(...arguments);let Ce=new z(Nt,pe),qe=Se.length,ot=de.length,Ze=He(Ce),{resolvedSources:Pe,sourcesContent:Qe,ignoreList:Ge}=Ce;if(ee(Se,Pe),ee(de,Ce.names),Qe)ee(Ae,Qe);else for(let we=0;we<Pe.length;we++)Ae.push(null);if(Ge)for(let we=0;we<Ge.length;we++)We.push(Ge[we]+qe);for(let we=0;we<Ze.length;we++){let Ne=tt+we;if(Ne>At)return;let ht=J(ue,Ne),it=we===0?mt:0,Tt=Ze[we];for(let Ot=0;Ot<Tt.length;Ot++){let Pt=Tt[Ot],Ir=it+Pt[p];if(Ne===At&&Ir>=pt)return;if(Pt.length===1){ht.push([Ir]);continue}let Lr=qe+Pt[d],_n=Pt[h],_r=Pt[m];ht.push(Pt.length===4?[Ir,Lr,_n,_r]:[Ir,Lr,_n,_r,ot+Pt[g]])}}}function ee(xe,pe){for(let ue=0;ue<pe.length;ue++)xe.push(pe[ue])}function J(xe,pe){for(let ue=xe.length;ue<=pe;ue++)xe[ue]=[];return xe[pe]}let ne="`line` must be greater than 0 (lines start at line 1)",K="`column` must be greater than or equal to 0 (columns start at column 0)",q=-1,Q=1;class z{constructor(pe,ue){let Se=typeof pe=="string";if(!Se&&pe._decodedMemo)return pe;let Ae=Se?JSON.parse(pe):pe,{version:de,file:We,names:tt,sourceRoot:mt,sources:At,sourcesContent:pt}=Ae;this.version=de,this.file=We,this.names=tt||[],this.sourceRoot=mt,this.sources=At,this.sourcesContent=pt,this.ignoreList=Ae.ignoreList||Ae.x_google_ignoreList||void 0;let Nt=a(mt||"",l(ue));this.resolvedSources=At.map(qe=>a(qe||"",Nt));let{mappings:Ce}=Ae;typeof Ce=="string"?(this._encoded=Ce,this._decoded=void 0):(this._encoded=void 0,this._decoded=E(Ce,Se)),this._decodedMemo=O(),this._bySources=void 0,this._bySourceMemos=void 0}}function ie(xe){return xe}function _e(xe){var pe,ue;return(pe=(ue=xe)._encoded)!==null&&pe!==void 0?pe:ue._encoded=u.encode(xe._decoded)}function He(xe){var pe;return(pe=xe)._decoded||(pe._decoded=u.decode(xe._encoded))}function be(xe,pe,ue){let Se=He(xe);if(pe>=Se.length)return null;let Ae=Se[pe],de=$e(Ae,xe._decodedMemo,pe,ue,Q);return de===-1?null:Ae[de]}function Ve(xe,pe){let{line:ue,column:Se,bias:Ae}=pe;if(ue--,ue<0)throw new Error(ne);if(Se<0)throw new Error(K);let de=He(xe);if(ue>=de.length)return Ie(null,null,null,null);let We=de[ue],tt=$e(We,xe._decodedMemo,ue,Se,Ae||Q);if(tt===-1)return Ie(null,null,null,null);let mt=We[tt];if(mt.length===1)return Ie(null,null,null,null);let{names:At,resolvedSources:pt}=xe;return Ie(pt[mt[d]],mt[h]+1,mt[m],mt.length===5?At[mt[g]]:null)}function Fe(xe,pe){let{source:ue,line:Se,column:Ae,bias:de}=pe;return et(xe,ue,Se,Ae,de||Q,!1)}function me(xe,pe){let{source:ue,line:Se,column:Ae,bias:de}=pe;return et(xe,ue,Se,Ae,de||q,!0)}function ce(xe,pe){let ue=He(xe),{names:Se,resolvedSources:Ae}=xe;for(let de=0;de<ue.length;de++){let We=ue[de];for(let tt=0;tt<We.length;tt++){let mt=We[tt],At=de+1,pt=mt[0],Nt=null,Ce=null,qe=null,ot=null;mt.length!==1&&(Nt=Ae[mt[1]],Ce=mt[2]+1,qe=mt[3]),mt.length===5&&(ot=Se[mt[4]]),pe({generatedLine:At,generatedColumn:pt,source:Nt,originalLine:Ce,originalColumn:qe,name:ot})}}}function ke(xe,pe){let{sources:ue,resolvedSources:Se}=xe,Ae=ue.indexOf(pe);return Ae===-1&&(Ae=Se.indexOf(pe)),Ae}function je(xe,pe){let{sourcesContent:ue}=xe;if(ue==null)return null;let Se=ke(xe,pe);return Se===-1?null:ue[Se]}function Oe(xe,pe){let{ignoreList:ue}=xe;if(ue==null)return!1;let Se=ke(xe,pe);return Se!==-1&&ue.includes(Se)}function re(xe,pe){let ue=new z(se(xe,[]),pe);return ue._decoded=xe.mappings,ue}function fe(xe){return se(xe,He(xe))}function he(xe){return se(xe,_e(xe))}function se(xe,pe){return{version:xe.version,file:xe.file,names:xe.names,sourceRoot:xe.sourceRoot,sources:xe.sources,sourcesContent:xe.sourcesContent,mappings:pe,ignoreList:xe.ignoreList||xe.x_google_ignoreList}}function Ie(xe,pe,ue,Se){return{source:xe,line:pe,column:ue,name:Se}}function ye(xe,pe){return{line:xe,column:pe}}function $e(xe,pe,ue,Se,Ae){let de=j(xe,Se,pe,ue);return L?de=(Ae===q?C:D)(xe,Se,de):Ae===q&&de++,de===-1||de===xe.length?-1:de}function nt(xe,pe,ue,Se,Ae){let de=$e(xe,pe,ue,Se,Q);if(L||Ae!==q||de++,de===-1||de===xe.length)return[];let We=L?Se:xe[de][p];L||(de=D(xe,We,de));let tt=C(xe,We,de),mt=[];for(;de<=tt;de++){let At=xe[de];mt.push(ye(At[y]+1,At[_]))}return mt}function et(xe,pe,ue,Se,Ae,de){var We;if(--ue<0)throw new Error(ne);if(Se<0)throw new Error(K);let{sources:tt,resolvedSources:mt}=xe,At=tt.indexOf(pe);if(At===-1&&(At=mt.indexOf(pe)),At===-1)return de?[]:ye(null,null);let pt=((We=xe)._bySources||(We._bySources=k(He(xe),xe._bySourceMemos=tt.map(O))))[At][ue];if(pt==null)return de?[]:ye(null,null);let Nt=xe._bySourceMemos[At];if(de)return nt(pt,Nt,ue,Se,Ae);let Ce=$e(pt,Nt,ue,Se,Ae);if(Ce===-1)return ye(null,null);let qe=pt[Ce];return ye(qe[y]+1,qe[_])}s.AnyMap=F,s.GREATEST_LOWER_BOUND=Q,s.LEAST_UPPER_BOUND=q,s.TraceMap=z,s.allGeneratedPositionsFor=me,s.decodedMap=fe,s.decodedMappings=He,s.eachMapping=ce,s.encodedMap=he,s.encodedMappings=_e,s.generatedPositionFor=Fe,s.isIgnored=Oe,s.originalPositionFor=Ve,s.presortedDecodedMap=re,s.sourceContentFor=je,s.traceSegment=be})(r,c("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"),c("./node_modules/.pnpm/@jridgewell+resolve-uri@3.1.2/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js"))},"./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js":(o,r,c)=>{"use strict";var s=c("path");function u(H){switch(H.parent.type){case"TSTypeReference":case"TSQualifiedName":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;default:return!1}}o.exports=function(H){var a=H.types,l=function(d,h){return function(m){var g=a.callExpression(d.expression,[a.Identifier(m),a.Identifier("undefined"),a.NumericLiteral(h.key)]),y=a.logicalExpression("||",g,a.Identifier(m)),_=a.assignmentExpression("=",a.Identifier(m),y);return a.expressionStatement(_)}},p=function(d,h){return function(m,g){var y=a.callExpression(d.expression,[a.Identifier("".concat(m,".prototype")),a.StringLiteral(g),a.NumericLiteral(h.key)]);return a.expressionStatement(y)}};return{visitor:{Program:function(d,h){var m=(0,s.extname)(h.file.opts.filename);m!==".ts"&&m!==".tsx"||function(){var g=Object.create(null);d.node.body.filter(function(j){var k=j.type,$=j.declaration;switch(k){case"ClassDeclaration":return!0;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":return $&&$.type==="ClassDeclaration";default:return!1}}).map(function(j){return j.type==="ClassDeclaration"?j:j.declaration}).forEach(function(j){j.body.body.forEach(function(k){(k.params||[]).forEach(function($){($.decorators||[]).forEach(function(U){U.expression.callee?g[U.expression.callee.name]=U:g[U.expression.name]=U})})})});var y=!0,_=!1,E=void 0;try{for(var A,S=d.get("body")[Symbol.iterator]();!(y=(A=S.next()).done);y=!0){var T=A.value;if(T.node.type==="ImportDeclaration"){if(T.node.specifiers.length===0)continue;var I=!0,L=!1,x=void 0;try{for(var C,D=function(){var j=C.value,k=T.scope.getBinding(j.local.name);k.referencePaths.length?k.referencePaths.reduce(function($,U){return $||u(U)},!1)&&Object.keys(g).forEach(function($){var U=g[$];(U.expression.arguments||[]).forEach(function(F){F.name===j.local.name&&k.referencePaths.push({parent:U.expression})})}):g[j.local.name]&&k.referencePaths.push({parent:g[j.local.name]})},O=T.node.specifiers[Symbol.iterator]();!(I=(C=O.next()).done);I=!0)D()}catch(j){L=!0,x=j}finally{try{I||O.return==null||O.return()}finally{if(L)throw x}}}}}catch(j){_=!0,E=j}finally{try{y||S.return==null||S.return()}finally{if(_)throw E}}}()},Function:function(d){var h="";d.node.id?h=d.node.id.name:d.node.key&&(h=d.node.key.name),(d.get("params")||[]).slice().forEach(function(m){var g=m.node.decorators||[],y=g.length;if(g.slice().forEach(function(E){if(d.type==="ClassMethod"){var A,S=d.parentPath.parentPath,T=d.findParent(function(j){return j.type==="ClassDeclaration"});if(T?A=T.node.id.name:(S.insertAfter(null),A=function(j){var k=j.findParent(function($){return $.node.type==="AssignmentExpression"});return k.node.right.type==="SequenceExpression"?k.node.right.expressions[1].name:k.node.right.type==="ClassExpression"?k.node.left.name:null}(d)),h==="constructor"){var I=l(E,m)(A);S.insertAfter(I)}else{var L=p(E,m)(A,h);S.insertAfter(L)}}else{var x=d.findParent(function(j){return j.node.type==="VariableDeclarator"}).node.id.name;if(h===x){var C=l(E,m)(x);d.parentKey==="body"?d.insertAfter(C):d.findParent(function(j){return j.parentKey==="body"}).insertAfter(C)}else{var D=d.findParent(function(j){return j.node.type==="CallExpression"}),O=p(E,m)(x,h);D.insertAfter(O)}}}),y){var _=function(E){switch(E.node.type){case"ObjectPattern":return a.ObjectPattern(E.node.properties);case"AssignmentPattern":return a.AssignmentPattern(E.node.left,E.node.right);case"TSParameterProperty":return a.Identifier(E.node.parameter.name);default:return a.Identifier(E.node.name)}}(m);m.replaceWith(_)}})}}}}},"./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js":(o,r)=>{"use strict";var c;function s(H,a){(a=a||{}).hasComment&&(H=function(l){return l.split(",").pop()}(H)),a.encoding==="base64"?H=c(H):a.encoding==="uri"&&(H=decodeURIComponent(H)),(a.isJSON||a.encoding)&&(H=JSON.parse(H)),this.sourcemap=H}function u(H){return new s(H,{isJSON:!0})}Object.defineProperty(r,"commentRegex",{get:function(){return/^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/gm}}),Object.defineProperty(r,"mapFileCommentRegex",{get:function(){return/(?:\/\/[@#][ \t]+?sourceMappingURL=([^\s'"`]+?)[ \t]*?$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*?(?:\*\/){1}[ \t]*?$)/gm}}),c=typeof Buffer<"u"?typeof Buffer.from=="function"?function(H){return Buffer.from(H,"base64").toString()}:function(H){if(typeof value=="number")throw new TypeError("The value to decode must not be of type number.");return new Buffer(H,"base64").toString()}:function(H){return decodeURIComponent(escape(atob(H)))},s.prototype.toJSON=function(H){return JSON.stringify(this.sourcemap,null,H)},typeof Buffer<"u"?typeof Buffer.from=="function"?s.prototype.toBase64=function(){var H=this.toJSON();return Buffer.from(H,"utf8").toString("base64")}:s.prototype.toBase64=function(){var H=this.toJSON();if(typeof H=="number")throw new TypeError("The json to encode must not be of type number.");return new Buffer(H,"utf8").toString("base64")}:s.prototype.toBase64=function(){var H=this.toJSON();return btoa(unescape(encodeURIComponent(H)))},s.prototype.toURI=function(){var H=this.toJSON();return encodeURIComponent(H)},s.prototype.toComment=function(H){var a,l,p;return H!=null&&H.encoding==="uri"?(a="",l=this.toURI()):(a=";base64",l=this.toBase64()),p="sourceMappingURL=data:application/json;charset=utf-8"+a+","+l,H!=null&&H.multiline?"/*# "+p+" */":"//# "+p},s.prototype.toObject=function(){return JSON.parse(this.toJSON())},s.prototype.addProperty=function(H,a){if(this.sourcemap.hasOwnProperty(H))throw new Error('property "'+H+'" already exists on the sourcemap, use set property instead');return this.setProperty(H,a)},s.prototype.setProperty=function(H,a){return this.sourcemap[H]=a,this},s.prototype.getProperty=function(H){return this.sourcemap[H]},r.fromObject=function(H){return new s(H)},r.fromJSON=function(H){return new s(H,{isJSON:!0})},r.fromURI=function(H){return new s(H,{encoding:"uri"})},r.fromBase64=function(H){return new s(H,{encoding:"base64"})},r.fromComment=function(H){var a;return new s(H=H.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),{encoding:(a=r.commentRegex.exec(H))&&a[4]||"uri",hasComment:!0})},r.fromMapFileComment=function(H,a){if(typeof a=="string")throw new Error("String directory paths are no longer supported with `fromMapFileComment`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var l=function(p,d){var h=r.mapFileCommentRegex.exec(p),m=h[1]||h[2];try{return(p=d(m))!=null&&typeof p.catch=="function"?p.catch(g):p}catch(y){g(y)}function g(y){throw new Error("An error occurred while trying to read the map file at "+m+`
|
|
`+y.stack)}}(H,a);return l!=null&&typeof l.then=="function"?l.then(u):u(l)},r.fromSource=function(H){var a=H.match(r.commentRegex);return a?r.fromComment(a.pop()):null},r.fromMapFileSource=function(H,a){if(typeof a=="string")throw new Error("String directory paths are no longer supported with `fromMapFileSource`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var l=H.match(r.mapFileCommentRegex);return l?r.fromMapFileComment(l.pop(),a):null},r.removeComments=function(H){return H.replace(r.commentRegex,"")},r.removeMapFileComments=function(H){return H.replace(r.mapFileCommentRegex,"")},r.generateMapFileComment=function(H,a){var l="sourceMappingURL="+H;return a&&a.multiline?"/*# "+l+" */":"//# "+l}},"./node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/browser.js":(o,r,c)=>{r.formatArgs=function(u){if(u[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+u[0]+(this.useColors?"%c ":" ")+"+"+o.exports.humanize(this.diff),!this.useColors)return;let H="color: "+this.color;u.splice(1,0,H,"color: inherit");let a=0,l=0;u[0].replace(/%[a-zA-Z%]/g,p=>{p!=="%%"&&(a++,p==="%c"&&(l=a))}),u.splice(l,0,H)},r.save=function(u){try{u?r.storage.setItem("debug",u):r.storage.removeItem("debug")}catch{}},r.load=function(){let u;try{u=r.storage.getItem("debug")}catch{}return!u&&typeof process<"u"&&"env"in process&&(u=process.env.DEBUG),u},r.useColors=function(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let u;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(u=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(u[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},r.storage=function(){try{return localStorage}catch{}}(),r.destroy=(()=>{let u=!1;return()=>{u||(u=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),r.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],r.log=console.debug||console.log||(()=>{}),o.exports=c("./node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/common.js")(r);let{formatters:s}=o.exports;s.j=function(u){try{return JSON.stringify(u)}catch(H){return"[UnexpectedJSONParseError]: "+H.message}}},"./node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/common.js":(o,r,c)=>{o.exports=function(s){function u(l){let p,d,h,m=null;function g(...y){if(!g.enabled)return;let _=g,E=Number(new Date),A=E-(p||E);_.diff=A,_.prev=p,_.curr=E,p=E,y[0]=u.coerce(y[0]),typeof y[0]!="string"&&y.unshift("%O");let S=0;y[0]=y[0].replace(/%([a-zA-Z%])/g,(T,I)=>{if(T==="%%")return"%";S++;let L=u.formatters[I];if(typeof L=="function"){let x=y[S];T=L.call(_,x),y.splice(S,1),S--}return T}),u.formatArgs.call(_,y),(_.log||u.log).apply(_,y)}return g.namespace=l,g.useColors=u.useColors(),g.color=u.selectColor(l),g.extend=H,g.destroy=u.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:()=>m!==null?m:(d!==u.namespaces&&(d=u.namespaces,h=u.enabled(l)),h),set:y=>{m=y}}),typeof u.init=="function"&&u.init(g),g}function H(l,p){let d=u(this.namespace+(p===void 0?":":p)+l);return d.log=this.log,d}function a(l){return l.toString().substring(2,l.toString().length-2).replace(/\.\*\?$/,"*")}return u.debug=u,u.default=u,u.coerce=function(l){return l instanceof Error?l.stack||l.message:l},u.disable=function(){let l=[...u.names.map(a),...u.skips.map(a).map(p=>"-"+p)].join(",");return u.enable(""),l},u.enable=function(l){let p;u.save(l),u.namespaces=l,u.names=[],u.skips=[];let d=(typeof l=="string"?l:"").split(/[\s,]+/),h=d.length;for(p=0;p<h;p++)d[p]&&((l=d[p].replace(/\*/g,".*?"))[0]==="-"?u.skips.push(new RegExp("^"+l.slice(1)+"$")):u.names.push(new RegExp("^"+l+"$")))},u.enabled=function(l){if(l[l.length-1]==="*")return!0;let p,d;for(p=0,d=u.skips.length;p<d;p++)if(u.skips[p].test(l))return!1;for(p=0,d=u.names.length;p<d;p++)if(u.names[p].test(l))return!0;return!1},u.humanize=c("./node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js"),u.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(s).forEach(l=>{u[l]=s[l]}),u.names=[],u.skips=[],u.formatters={},u.selectColor=function(l){let p=0;for(let d=0;d<l.length;d++)p=(p<<5)-p+l.charCodeAt(d),p|=0;return u.colors[Math.abs(p)%u.colors.length]},u.enable(u.load()),u}},"./node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/index.js":(o,r,c)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?o.exports=c("./node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/browser.js"):o.exports=c("./node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/node.js")},"./node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/node.js":(o,r,c)=>{let s=c("tty"),u=c("util");r.init=function(a){a.inspectOpts={};let l=Object.keys(r.inspectOpts);for(let p=0;p<l.length;p++)a.inspectOpts[l[p]]=r.inspectOpts[l[p]]},r.log=function(...a){return process.stderr.write(u.formatWithOptions(r.inspectOpts,...a)+`
|
|
`)},r.formatArgs=function(a){let{namespace:l,useColors:p}=this;if(p){let d=this.color,h="\x1B[3"+(d<8?d:"8;5;"+d),m=` ${h};1m${l} \x1B[0m`;a[0]=m+a[0].split(`
|
|
`).join(`
|
|
`+m),a.push(h+"m+"+o.exports.humanize(this.diff)+"\x1B[0m")}else a[0]=function(){return r.inspectOpts.hideDate?"":new Date().toISOString()+" "}()+l+" "+a[0]},r.save=function(a){a?process.env.DEBUG=a:delete process.env.DEBUG},r.load=function(){return process.env.DEBUG},r.useColors=function(){return"colors"in r.inspectOpts?!!r.inspectOpts.colors:s.isatty(process.stderr.fd)},r.destroy=u.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),r.colors=[6,2,3,4,5,1];try{let a=c("./node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js");a&&(a.stderr||a).level>=2&&(r.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}r.inspectOpts=Object.keys(process.env).filter(a=>/^debug_/i.test(a)).reduce((a,l)=>{let p=l.substring(6).toLowerCase().replace(/_([a-z])/g,(h,m)=>m.toUpperCase()),d=process.env[l];return d=!!/^(yes|on|true|enabled)$/i.test(d)||!/^(no|off|false|disabled)$/i.test(d)&&(d==="null"?null:Number(d)),a[p]=d,a},{}),o.exports=c("./node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/common.js")(r);let{formatters:H}=o.exports;H.o=function(a){return this.inspectOpts.colors=this.useColors,u.inspect(a,this.inspectOpts).split(`
|
|
`).map(l=>l.trim()).join(" ")},H.O=function(a){return this.inspectOpts.colors=this.useColors,u.inspect(a,this.inspectOpts)}},"./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js":o=>{"use strict";let r=Symbol.for("gensync:v1:start"),c=Symbol.for("gensync:v1:suspend");function s(g,y,_,E){if(typeof _===g||E&&_===void 0)return;let A;throw A=E?`Expected opts.${y} to be either a ${g}, or undefined.`:`Expected opts.${y} to be a ${g}.`,u(A,"GENSYNC_OPTIONS_ERROR")}function u(g,y){return Object.assign(new Error(g),{code:y})}function H({name:g,arity:y,sync:_,async:E}){return m(g,y,function*(...A){let S=yield r;if(!S)return _.call(this,A);let T;try{E.call(this,A,I=>{T||(T={value:I},S())},I=>{T||(T={err:I},S())})}catch(I){T={err:I},S()}if(yield c,T.hasOwnProperty("err"))throw T.err;return T.value})}function a(g){let y;for(;!({value:y}=g.next()).done;)p(y,g);return y}function l(g,y,_){(function E(){try{let A;for(;!({value:A}=g.next()).done;){p(A,g);let S=!0,T=!1,I=g.next(()=>{S?T=!0:E()});if(S=!1,d(I,g),!T)return}return y(A)}catch(A){return _(A)}})()}function p(g,y){g!==r&&h(y,u(`Got unexpected yielded value in gensync generator: ${JSON.stringify(g)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,"GENSYNC_EXPECTED_START"))}function d({value:g,done:y},_){(y||g!==c)&&h(_,u(y?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(g)}. If you get this, it is probably a gensync bug.`,"GENSYNC_EXPECTED_SUSPEND"))}function h(g,y){throw g.throw&&g.throw(y),y}function m(g,y,_){if(typeof g=="string"){let E=Object.getOwnPropertyDescriptor(_,"name");E&&!E.configurable||Object.defineProperty(_,"name",Object.assign(E||{},{configurable:!0,value:g}))}if(typeof y=="number"){let E=Object.getOwnPropertyDescriptor(_,"length");E&&!E.configurable||Object.defineProperty(_,"length",Object.assign(E||{},{configurable:!0,value:y}))}return _}o.exports=Object.assign(function(g){let y=g;return y=typeof g!="function"?function({name:_,arity:E,sync:A,async:S,errback:T}){if(s("string","name",_,!0),s("number","arity",E,!0),s("function","sync",A),s("function","async",S,!0),s("function","errback",T,!0),S&&T)throw u("Expected one of either opts.async or opts.errback, but got _both_.","GENSYNC_OPTIONS_ERROR");if(typeof _!="string"){let I;T&&T.name&&T.name!=="errback"&&(I=T.name),S&&S.name&&S.name!=="async"&&(I=S.name.replace(/Async$/,"")),A&&A.name&&A.name!=="sync"&&(I=A.name.replace(/Sync$/,"")),typeof I=="string"&&(_=I)}return typeof E!="number"&&(E=A.length),H({name:_,arity:E,sync:function(I){return A.apply(this,I)},async:function(I,L,x){S?S.apply(this,I).then(L,x):T?T.call(this,...I,(C,D)=>{C==null?L(D):x(C)}):L(A.apply(this,I))}})}(g):function(_){return m(_.name,_.length,function(...E){return _.apply(this,E)})}(g),Object.assign(y,function(_){return{sync:function(...A){return a(_.apply(this,A))},async:function(...A){return new Promise((S,T)=>{l(_.apply(this,A),S,T)})},errback:function(...A){let S=A.pop();if(typeof S!="function")throw u("Asynchronous function called without callback","GENSYNC_ERRBACK_NO_CALLBACK");let T;try{T=_.apply(this,A)}catch(I){return void S(I)}l(T,I=>S(void 0,I),I=>S(I))}}}(y))},{all:H({name:"all",arity:1,sync:function(g){return Array.from(g[0]).map(y=>a(y))},async:function(g,y,_){let E=Array.from(g[0]);if(E.length===0)return void Promise.resolve().then(()=>y([]));let A=0,S=E.map(()=>{});E.forEach((T,I)=>{l(T,L=>{S[I]=L,A+=1,A===S.length&&y(S)},_)})}}),race:H({name:"race",arity:1,sync:function(g){let y=Array.from(g[0]);if(y.length===0)throw u("Must race at least 1 item","GENSYNC_RACE_NONEMPTY");return a(y[0])},async:function(g,y,_){let E=Array.from(g[0]);if(E.length===0)throw u("Must race at least 1 item","GENSYNC_RACE_NONEMPTY");for(let A of E)l(A,y,_)}})})},"./node_modules/.pnpm/globals@11.12.0/node_modules/globals/index.js":(o,r,c)=>{"use strict";o.exports=c("./node_modules/.pnpm/globals@11.12.0/node_modules/globals/globals.json")},"./node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js":o=>{"use strict";o.exports=(r,c=process.argv)=>{let s=r.startsWith("-")?"":r.length===1?"-":"--",u=c.indexOf(s+r),H=c.indexOf("--");return u!==-1&&(H===-1||u<H)}},"./node_modules/.pnpm/jsesc@3.0.2/node_modules/jsesc/jsesc.js":o=>{"use strict";let r={},c=r.hasOwnProperty,s=(E,A)=>{for(let S in E)c.call(E,S)&&A(S,E[S])},u=E=>"\\u"+("0000"+E).slice(-4),H=(E,A)=>{let S=E.toString(16);return A?S:S.toUpperCase()},a=r.toString,l=Array.isArray,p={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},d=/[\\\b\f\n\r\t]/,h=/[0-9]/,m=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,g=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,y=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,_=(E,A)=>{let S=()=>{k=j,++A.indentLevel,j=A.indent.repeat(A.indentLevel)},T={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},I=A&&A.json;var L,x;I&&(T.quotes="double",T.wrap=!0),L=T,(A=((x=A)&&s(x,(q,Q)=>{L[q]=Q}),L)).quotes!="single"&&A.quotes!="double"&&A.quotes!="backtick"&&(A.quotes="single");let C=A.quotes=="double"?'"':A.quotes=="backtick"?"`":"'",D=A.compact,O=A.lowercaseHex,j=A.indent.repeat(A.indentLevel),k="",$=A.__inline1__,U=A.__inline2__,F=D?"":`
|
|
`,P,W=!0,Z=A.numbers=="binary",ee=A.numbers=="octal",J=A.numbers=="decimal",ne=A.numbers=="hexadecimal";if(I&&E&&(q=>typeof q=="function")(E.toJSON)&&(E=E.toJSON()),!(q=>typeof q=="string"||a.call(q)=="[object String]")(E)){if((q=>a.call(q)=="[object Map]")(E))return E.size==0?"new Map()":(D||(A.__inline1__=!0,A.__inline2__=!1),"new Map("+_(Array.from(E),A)+")");if((q=>a.call(q)=="[object Set]")(E))return E.size==0?"new Set()":"new Set("+_(Array.from(E),A)+")";if((q=>typeof Buffer=="function"&&Buffer.isBuffer(q))(E))return E.length==0?"Buffer.from([])":"Buffer.from("+_(Array.from(E),A)+")";if(l(E))return P=[],A.wrap=!0,$&&(A.__inline1__=!1,A.__inline2__=!0),U||S(),((q,Q)=>{let z=q.length,ie=-1;for(;++ie<z;)Q(q[ie])})(E,q=>{W=!1,U&&(A.__inline2__=!1),P.push((D||U?"":j)+_(q,A))}),W?"[]":U?"["+P.join(", ")+"]":"["+F+P.join(","+F)+F+(D?"":k)+"]";if(!(q=>typeof q=="number"||a.call(q)=="[object Number]")(E))return(q=>a.call(q)=="[object Object]")(E)?(P=[],A.wrap=!0,S(),s(E,(q,Q)=>{W=!1,P.push((D?"":j)+_(q,A)+":"+(D?"":" ")+_(Q,A))}),W?"{}":"{"+F+P.join(","+F)+F+(D?"":k)+"}"):I?JSON.stringify(E)||"null":String(E);if(I)return JSON.stringify(E);if(J)return String(E);if(ne){let q=E.toString(16);return O||(q=q.toUpperCase()),"0x"+q}if(Z)return"0b"+E.toString(2);if(ee)return"0o"+E.toString(8)}let K=A.escapeEverything?g:y;return P=E.replace(K,(q,Q,z,ie,_e,He)=>{if(Q){if(A.minimal)return Q;let Ve=Q.charCodeAt(0),Fe=Q.charCodeAt(1);return A.es6?"\\u{"+H(1024*(Ve-55296)+Fe-56320+65536,O)+"}":u(H(Ve,O))+u(H(Fe,O))}if(z)return u(H(z.charCodeAt(0),O));if(q=="\0"&&!I&&!h.test(He.charAt(_e+1)))return"\\0";if(ie)return ie==C||A.escapeEverything?"\\"+ie:ie;if(d.test(q))return p[q];if(A.minimal&&!m.test(q))return q;let be=H(q.charCodeAt(0),O);return I||be.length>2?u(be):"\\x"+("00"+be).slice(-2)}),C=="`"&&(P=P.replace(/\$\{/g,"\\${")),A.isScriptContext&&(P=P.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,I?"\\u003C!--":"\\x3C!--")),A.wrap&&(P=C+P+C),P};_.version="3.0.2",o.exports=_},"./node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js":o=>{var r=1e3,c=60*r,s=60*c,u=24*s,H=7*u,a=365.25*u;function l(p,d,h,m){var g=d>=1.5*h;return Math.round(p/h)+" "+m+(g?"s":"")}o.exports=function(p,d){d=d||{};var h=typeof p;if(h==="string"&&p.length>0)return function(m){if(!((m=String(m)).length>100)){var g=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(m);if(g){var y=parseFloat(g[1]);switch((g[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return y*a;case"weeks":case"week":case"w":return y*H;case"days":case"day":case"d":return y*u;case"hours":case"hour":case"hrs":case"hr":case"h":return y*s;case"minutes":case"minute":case"mins":case"min":case"m":return y*c;case"seconds":case"second":case"secs":case"sec":case"s":return y*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return y;default:return}}}}(p);if(h==="number"&&isFinite(p))return d.long?function(m){var g=Math.abs(m);return g>=u?l(m,g,u,"day"):g>=s?l(m,g,s,"hour"):g>=c?l(m,g,c,"minute"):g>=r?l(m,g,r,"second"):m+" ms"}(p):function(m){var g=Math.abs(m);return g>=u?Math.round(m/u)+"d":g>=s?Math.round(m/s)+"h":g>=c?Math.round(m/c)+"m":g>=r?Math.round(m/r)+"s":m+"ms"}(p);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(p))}},"./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js":(o,r)=>{var c;r=o.exports=A,c=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var K=Array.prototype.slice.call(arguments,0);K.unshift("SEMVER"),console.log.apply(console,K)}:function(){},r.SEMVER_SPEC_VERSION="2.0.0";var s=256,u=Number.MAX_SAFE_INTEGER||9007199254740991,H=s-6,a=r.re=[],l=r.safeRe=[],p=r.src=[],d=r.tokens={},h=0;function m(K){d[K]=h++}var g=[["\\s",1],["\\d",s],["[a-zA-Z0-9-]",H]];function y(K){for(var q=0;q<g.length;q++){var Q=g[q][0],z=g[q][1];K=K.split(Q+"*").join(Q+"{0,"+z+"}").split(Q+"+").join(Q+"{1,"+z+"}")}return K}m("NUMERICIDENTIFIER"),p[d.NUMERICIDENTIFIER]="0|[1-9]\\d*",m("NUMERICIDENTIFIERLOOSE"),p[d.NUMERICIDENTIFIERLOOSE]="\\d+",m("NONNUMERICIDENTIFIER"),p[d.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",m("MAINVERSION"),p[d.MAINVERSION]="("+p[d.NUMERICIDENTIFIER]+")\\.("+p[d.NUMERICIDENTIFIER]+")\\.("+p[d.NUMERICIDENTIFIER]+")",m("MAINVERSIONLOOSE"),p[d.MAINVERSIONLOOSE]="("+p[d.NUMERICIDENTIFIERLOOSE]+")\\.("+p[d.NUMERICIDENTIFIERLOOSE]+")\\.("+p[d.NUMERICIDENTIFIERLOOSE]+")",m("PRERELEASEIDENTIFIER"),p[d.PRERELEASEIDENTIFIER]="(?:"+p[d.NUMERICIDENTIFIER]+"|"+p[d.NONNUMERICIDENTIFIER]+")",m("PRERELEASEIDENTIFIERLOOSE"),p[d.PRERELEASEIDENTIFIERLOOSE]="(?:"+p[d.NUMERICIDENTIFIERLOOSE]+"|"+p[d.NONNUMERICIDENTIFIER]+")",m("PRERELEASE"),p[d.PRERELEASE]="(?:-("+p[d.PRERELEASEIDENTIFIER]+"(?:\\."+p[d.PRERELEASEIDENTIFIER]+")*))",m("PRERELEASELOOSE"),p[d.PRERELEASELOOSE]="(?:-?("+p[d.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+p[d.PRERELEASEIDENTIFIERLOOSE]+")*))",m("BUILDIDENTIFIER"),p[d.BUILDIDENTIFIER]="[a-zA-Z0-9-]+",m("BUILD"),p[d.BUILD]="(?:\\+("+p[d.BUILDIDENTIFIER]+"(?:\\."+p[d.BUILDIDENTIFIER]+")*))",m("FULL"),m("FULLPLAIN"),p[d.FULLPLAIN]="v?"+p[d.MAINVERSION]+p[d.PRERELEASE]+"?"+p[d.BUILD]+"?",p[d.FULL]="^"+p[d.FULLPLAIN]+"$",m("LOOSEPLAIN"),p[d.LOOSEPLAIN]="[v=\\s]*"+p[d.MAINVERSIONLOOSE]+p[d.PRERELEASELOOSE]+"?"+p[d.BUILD]+"?",m("LOOSE"),p[d.LOOSE]="^"+p[d.LOOSEPLAIN]+"$",m("GTLT"),p[d.GTLT]="((?:<|>)?=?)",m("XRANGEIDENTIFIERLOOSE"),p[d.XRANGEIDENTIFIERLOOSE]=p[d.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",m("XRANGEIDENTIFIER"),p[d.XRANGEIDENTIFIER]=p[d.NUMERICIDENTIFIER]+"|x|X|\\*",m("XRANGEPLAIN"),p[d.XRANGEPLAIN]="[v=\\s]*("+p[d.XRANGEIDENTIFIER]+")(?:\\.("+p[d.XRANGEIDENTIFIER]+")(?:\\.("+p[d.XRANGEIDENTIFIER]+")(?:"+p[d.PRERELEASE]+")?"+p[d.BUILD]+"?)?)?",m("XRANGEPLAINLOOSE"),p[d.XRANGEPLAINLOOSE]="[v=\\s]*("+p[d.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+p[d.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+p[d.XRANGEIDENTIFIERLOOSE]+")(?:"+p[d.PRERELEASELOOSE]+")?"+p[d.BUILD]+"?)?)?",m("XRANGE"),p[d.XRANGE]="^"+p[d.GTLT]+"\\s*"+p[d.XRANGEPLAIN]+"$",m("XRANGELOOSE"),p[d.XRANGELOOSE]="^"+p[d.GTLT]+"\\s*"+p[d.XRANGEPLAINLOOSE]+"$",m("COERCE"),p[d.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",m("COERCERTL"),a[d.COERCERTL]=new RegExp(p[d.COERCE],"g"),l[d.COERCERTL]=new RegExp(y(p[d.COERCE]),"g"),m("LONETILDE"),p[d.LONETILDE]="(?:~>?)",m("TILDETRIM"),p[d.TILDETRIM]="(\\s*)"+p[d.LONETILDE]+"\\s+",a[d.TILDETRIM]=new RegExp(p[d.TILDETRIM],"g"),l[d.TILDETRIM]=new RegExp(y(p[d.TILDETRIM]),"g"),m("TILDE"),p[d.TILDE]="^"+p[d.LONETILDE]+p[d.XRANGEPLAIN]+"$",m("TILDELOOSE"),p[d.TILDELOOSE]="^"+p[d.LONETILDE]+p[d.XRANGEPLAINLOOSE]+"$",m("LONECARET"),p[d.LONECARET]="(?:\\^)",m("CARETTRIM"),p[d.CARETTRIM]="(\\s*)"+p[d.LONECARET]+"\\s+",a[d.CARETTRIM]=new RegExp(p[d.CARETTRIM],"g"),l[d.CARETTRIM]=new RegExp(y(p[d.CARETTRIM]),"g"),m("CARET"),p[d.CARET]="^"+p[d.LONECARET]+p[d.XRANGEPLAIN]+"$",m("CARETLOOSE"),p[d.CARETLOOSE]="^"+p[d.LONECARET]+p[d.XRANGEPLAINLOOSE]+"$",m("COMPARATORLOOSE"),p[d.COMPARATORLOOSE]="^"+p[d.GTLT]+"\\s*("+p[d.LOOSEPLAIN]+")$|^$",m("COMPARATOR"),p[d.COMPARATOR]="^"+p[d.GTLT]+"\\s*("+p[d.FULLPLAIN]+")$|^$",m("COMPARATORTRIM"),p[d.COMPARATORTRIM]="(\\s*)"+p[d.GTLT]+"\\s*("+p[d.LOOSEPLAIN]+"|"+p[d.XRANGEPLAIN]+")",a[d.COMPARATORTRIM]=new RegExp(p[d.COMPARATORTRIM],"g"),l[d.COMPARATORTRIM]=new RegExp(y(p[d.COMPARATORTRIM]),"g"),m("HYPHENRANGE"),p[d.HYPHENRANGE]="^\\s*("+p[d.XRANGEPLAIN]+")\\s+-\\s+("+p[d.XRANGEPLAIN]+")\\s*$",m("HYPHENRANGELOOSE"),p[d.HYPHENRANGELOOSE]="^\\s*("+p[d.XRANGEPLAINLOOSE]+")\\s+-\\s+("+p[d.XRANGEPLAINLOOSE]+")\\s*$",m("STAR"),p[d.STAR]="(<|>)?=?\\s*\\*";for(var _=0;_<h;_++)c(_,p[_]),a[_]||(a[_]=new RegExp(p[_]),l[_]=new RegExp(y(p[_])));function E(K,q){if(q&&typeof q=="object"||(q={loose:!!q,includePrerelease:!1}),K instanceof A)return K;if(typeof K!="string"||K.length>s||!(q.loose?l[d.LOOSE]:l[d.FULL]).test(K))return null;try{return new A(K,q)}catch{return null}}function A(K,q){if(q&&typeof q=="object"||(q={loose:!!q,includePrerelease:!1}),K instanceof A){if(K.loose===q.loose)return K;K=K.version}else if(typeof K!="string")throw new TypeError("Invalid Version: "+K);if(K.length>s)throw new TypeError("version is longer than "+s+" characters");if(!(this instanceof A))return new A(K,q);c("SemVer",K,q),this.options=q,this.loose=!!q.loose;var Q=K.trim().match(q.loose?l[d.LOOSE]:l[d.FULL]);if(!Q)throw new TypeError("Invalid Version: "+K);if(this.raw=K,this.major=+Q[1],this.minor=+Q[2],this.patch=+Q[3],this.major>u||this.major<0)throw new TypeError("Invalid major version");if(this.minor>u||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>u||this.patch<0)throw new TypeError("Invalid patch version");Q[4]?this.prerelease=Q[4].split(".").map(function(z){if(/^[0-9]+$/.test(z)){var ie=+z;if(ie>=0&&ie<u)return ie}return z}):this.prerelease=[],this.build=Q[5]?Q[5].split("."):[],this.format()}r.parse=E,r.valid=function(K,q){var Q=E(K,q);return Q?Q.version:null},r.clean=function(K,q){var Q=E(K.trim().replace(/^[=v]+/,""),q);return Q?Q.version:null},r.SemVer=A,A.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},A.prototype.toString=function(){return this.version},A.prototype.compare=function(K){return c("SemVer.compare",this.version,this.options,K),K instanceof A||(K=new A(K,this.options)),this.compareMain(K)||this.comparePre(K)},A.prototype.compareMain=function(K){return K instanceof A||(K=new A(K,this.options)),T(this.major,K.major)||T(this.minor,K.minor)||T(this.patch,K.patch)},A.prototype.comparePre=function(K){if(K instanceof A||(K=new A(K,this.options)),this.prerelease.length&&!K.prerelease.length)return-1;if(!this.prerelease.length&&K.prerelease.length)return 1;if(!this.prerelease.length&&!K.prerelease.length)return 0;var q=0;do{var Q=this.prerelease[q],z=K.prerelease[q];if(c("prerelease compare",q,Q,z),Q===void 0&&z===void 0)return 0;if(z===void 0)return 1;if(Q===void 0)return-1;if(Q!==z)return T(Q,z)}while(++q)},A.prototype.compareBuild=function(K){K instanceof A||(K=new A(K,this.options));var q=0;do{var Q=this.build[q],z=K.build[q];if(c("prerelease compare",q,Q,z),Q===void 0&&z===void 0)return 0;if(z===void 0)return 1;if(Q===void 0)return-1;if(Q!==z)return T(Q,z)}while(++q)},A.prototype.inc=function(K,q){switch(K){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",q);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",q);break;case"prepatch":this.prerelease.length=0,this.inc("patch",q),this.inc("pre",q);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",q),this.inc("pre",q);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var Q=this.prerelease.length;--Q>=0;)typeof this.prerelease[Q]=="number"&&(this.prerelease[Q]++,Q=-2);Q===-1&&this.prerelease.push(0)}q&&(this.prerelease[0]===q?isNaN(this.prerelease[1])&&(this.prerelease=[q,0]):this.prerelease=[q,0]);break;default:throw new Error("invalid increment argument: "+K)}return this.format(),this.raw=this.version,this},r.inc=function(K,q,Q,z){typeof Q=="string"&&(z=Q,Q=void 0);try{return new A(K,Q).inc(q,z).version}catch{return null}},r.diff=function(K,q){if(C(K,q))return null;var Q=E(K),z=E(q),ie="";if(Q.prerelease.length||z.prerelease.length){ie="pre";var _e="prerelease"}for(var He in Q)if((He==="major"||He==="minor"||He==="patch")&&Q[He]!==z[He])return ie+He;return _e},r.compareIdentifiers=T;var S=/^[0-9]+$/;function T(K,q){var Q=S.test(K),z=S.test(q);return Q&&z&&(K=+K,q=+q),K===q?0:Q&&!z?-1:z&&!Q?1:K<q?-1:1}function I(K,q,Q){return new A(K,Q).compare(new A(q,Q))}function L(K,q,Q){return I(K,q,Q)>0}function x(K,q,Q){return I(K,q,Q)<0}function C(K,q,Q){return I(K,q,Q)===0}function D(K,q,Q){return I(K,q,Q)!==0}function O(K,q,Q){return I(K,q,Q)>=0}function j(K,q,Q){return I(K,q,Q)<=0}function k(K,q,Q,z){switch(q){case"===":return typeof K=="object"&&(K=K.version),typeof Q=="object"&&(Q=Q.version),K===Q;case"!==":return typeof K=="object"&&(K=K.version),typeof Q=="object"&&(Q=Q.version),K!==Q;case"":case"=":case"==":return C(K,Q,z);case"!=":return D(K,Q,z);case">":return L(K,Q,z);case">=":return O(K,Q,z);case"<":return x(K,Q,z);case"<=":return j(K,Q,z);default:throw new TypeError("Invalid operator: "+q)}}function $(K,q){if(q&&typeof q=="object"||(q={loose:!!q,includePrerelease:!1}),K instanceof $){if(K.loose===!!q.loose)return K;K=K.value}if(!(this instanceof $))return new $(K,q);K=K.trim().split(/\s+/).join(" "),c("comparator",K,q),this.options=q,this.loose=!!q.loose,this.parse(K),this.semver===U?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}r.rcompareIdentifiers=function(K,q){return T(q,K)},r.major=function(K,q){return new A(K,q).major},r.minor=function(K,q){return new A(K,q).minor},r.patch=function(K,q){return new A(K,q).patch},r.compare=I,r.compareLoose=function(K,q){return I(K,q,!0)},r.compareBuild=function(K,q,Q){var z=new A(K,Q),ie=new A(q,Q);return z.compare(ie)||z.compareBuild(ie)},r.rcompare=function(K,q,Q){return I(q,K,Q)},r.sort=function(K,q){return K.sort(function(Q,z){return r.compareBuild(Q,z,q)})},r.rsort=function(K,q){return K.sort(function(Q,z){return r.compareBuild(z,Q,q)})},r.gt=L,r.lt=x,r.eq=C,r.neq=D,r.gte=O,r.lte=j,r.cmp=k,r.Comparator=$;var U={};function F(K,q){if(q&&typeof q=="object"||(q={loose:!!q,includePrerelease:!1}),K instanceof F)return K.loose===!!q.loose&&K.includePrerelease===!!q.includePrerelease?K:new F(K.raw,q);if(K instanceof $)return new F(K.value,q);if(!(this instanceof F))return new F(K,q);if(this.options=q,this.loose=!!q.loose,this.includePrerelease=!!q.includePrerelease,this.raw=K.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(Q){return this.parseRange(Q.trim())},this).filter(function(Q){return Q.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}function P(K,q){for(var Q=!0,z=K.slice(),ie=z.pop();Q&&z.length;)Q=z.every(function(_e){return ie.intersects(_e,q)}),ie=z.pop();return Q}function W(K){return!K||K.toLowerCase()==="x"||K==="*"}function Z(K,q,Q,z,ie,_e,He,be,Ve,Fe,me,ce,ke){return((q=W(Q)?"":W(z)?">="+Q+".0.0":W(ie)?">="+Q+"."+z+".0":">="+q)+" "+(be=W(Ve)?"":W(Fe)?"<"+(+Ve+1)+".0.0":W(me)?"<"+Ve+"."+(+Fe+1)+".0":ce?"<="+Ve+"."+Fe+"."+me+"-"+ce:"<="+be)).trim()}function ee(K,q,Q){for(var z=0;z<K.length;z++)if(!K[z].test(q))return!1;if(q.prerelease.length&&!Q.includePrerelease){for(z=0;z<K.length;z++)if(c(K[z].semver),K[z].semver!==U&&K[z].semver.prerelease.length>0){var ie=K[z].semver;if(ie.major===q.major&&ie.minor===q.minor&&ie.patch===q.patch)return!0}return!1}return!0}function J(K,q,Q){try{q=new F(q,Q)}catch{return!1}return q.test(K)}function ne(K,q,Q,z){var ie,_e,He,be,Ve;switch(K=new A(K,z),q=new F(q,z),Q){case">":ie=L,_e=j,He=x,be=">",Ve=">=";break;case"<":ie=x,_e=O,He=L,be="<",Ve="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(J(K,q,z))return!1;for(var Fe=0;Fe<q.set.length;++Fe){var me=q.set[Fe],ce=null,ke=null;if(me.forEach(function(je){je.semver===U&&(je=new $(">=0.0.0")),ce=ce||je,ke=ke||je,ie(je.semver,ce.semver,z)?ce=je:He(je.semver,ke.semver,z)&&(ke=je)}),ce.operator===be||ce.operator===Ve||(!ke.operator||ke.operator===be)&&_e(K,ke.semver)||ke.operator===Ve&&He(K,ke.semver))return!1}return!0}$.prototype.parse=function(K){var q=this.options.loose?l[d.COMPARATORLOOSE]:l[d.COMPARATOR],Q=K.match(q);if(!Q)throw new TypeError("Invalid comparator: "+K);this.operator=Q[1]!==void 0?Q[1]:"",this.operator==="="&&(this.operator=""),Q[2]?this.semver=new A(Q[2],this.options.loose):this.semver=U},$.prototype.toString=function(){return this.value},$.prototype.test=function(K){if(c("Comparator.test",K,this.options.loose),this.semver===U||K===U)return!0;if(typeof K=="string")try{K=new A(K,this.options)}catch{return!1}return k(K,this.operator,this.semver,this.options)},$.prototype.intersects=function(K,q){if(!(K instanceof $))throw new TypeError("a Comparator is required");var Q;if(q&&typeof q=="object"||(q={loose:!!q,includePrerelease:!1}),this.operator==="")return this.value===""||(Q=new F(K.value,q),J(this.value,Q,q));if(K.operator==="")return K.value===""||(Q=new F(this.value,q),J(K.semver,Q,q));var z=!(this.operator!==">="&&this.operator!==">"||K.operator!==">="&&K.operator!==">"),ie=!(this.operator!=="<="&&this.operator!=="<"||K.operator!=="<="&&K.operator!=="<"),_e=this.semver.version===K.semver.version,He=!(this.operator!==">="&&this.operator!=="<="||K.operator!==">="&&K.operator!=="<="),be=k(this.semver,"<",K.semver,q)&&(this.operator===">="||this.operator===">")&&(K.operator==="<="||K.operator==="<"),Ve=k(this.semver,">",K.semver,q)&&(this.operator==="<="||this.operator==="<")&&(K.operator===">="||K.operator===">");return z||ie||_e&&He||be||Ve},r.Range=F,F.prototype.format=function(){return this.range=this.set.map(function(K){return K.join(" ").trim()}).join("||").trim(),this.range},F.prototype.toString=function(){return this.range},F.prototype.parseRange=function(K){var q=this.options.loose,Q=q?l[d.HYPHENRANGELOOSE]:l[d.HYPHENRANGE];K=K.replace(Q,Z),c("hyphen replace",K),K=K.replace(l[d.COMPARATORTRIM],"$1$2$3"),c("comparator trim",K,l[d.COMPARATORTRIM]),K=(K=(K=K.replace(l[d.TILDETRIM],"$1~")).replace(l[d.CARETTRIM],"$1^")).split(/\s+/).join(" ");var z=q?l[d.COMPARATORLOOSE]:l[d.COMPARATOR],ie=K.split(" ").map(function(_e){return function(He,be){return c("comp",He,be),He=function(Ve,Fe){return Ve.trim().split(/\s+/).map(function(me){return function(ce,ke){c("caret",ce,ke);var je=ke.loose?l[d.CARETLOOSE]:l[d.CARET];return ce.replace(je,function(Oe,re,fe,he,se){var Ie;return c("caret",ce,Oe,re,fe,he,se),W(re)?Ie="":W(fe)?Ie=">="+re+".0.0 <"+(+re+1)+".0.0":W(he)?Ie=re==="0"?">="+re+"."+fe+".0 <"+re+"."+(+fe+1)+".0":">="+re+"."+fe+".0 <"+(+re+1)+".0.0":se?(c("replaceCaret pr",se),Ie=re==="0"?fe==="0"?">="+re+"."+fe+"."+he+"-"+se+" <"+re+"."+fe+"."+(+he+1):">="+re+"."+fe+"."+he+"-"+se+" <"+re+"."+(+fe+1)+".0":">="+re+"."+fe+"."+he+"-"+se+" <"+(+re+1)+".0.0"):(c("no pr"),Ie=re==="0"?fe==="0"?">="+re+"."+fe+"."+he+" <"+re+"."+fe+"."+(+he+1):">="+re+"."+fe+"."+he+" <"+re+"."+(+fe+1)+".0":">="+re+"."+fe+"."+he+" <"+(+re+1)+".0.0"),c("caret return",Ie),Ie})}(me,Fe)}).join(" ")}(He,be),c("caret",He),He=function(Ve,Fe){return Ve.trim().split(/\s+/).map(function(me){return function(ce,ke){var je=ke.loose?l[d.TILDELOOSE]:l[d.TILDE];return ce.replace(je,function(Oe,re,fe,he,se){var Ie;return c("tilde",ce,Oe,re,fe,he,se),W(re)?Ie="":W(fe)?Ie=">="+re+".0.0 <"+(+re+1)+".0.0":W(he)?Ie=">="+re+"."+fe+".0 <"+re+"."+(+fe+1)+".0":se?(c("replaceTilde pr",se),Ie=">="+re+"."+fe+"."+he+"-"+se+" <"+re+"."+(+fe+1)+".0"):Ie=">="+re+"."+fe+"."+he+" <"+re+"."+(+fe+1)+".0",c("tilde return",Ie),Ie})}(me,Fe)}).join(" ")}(He,be),c("tildes",He),He=function(Ve,Fe){return c("replaceXRanges",Ve,Fe),Ve.split(/\s+/).map(function(me){return function(ce,ke){ce=ce.trim();var je=ke.loose?l[d.XRANGELOOSE]:l[d.XRANGE];return ce.replace(je,function(Oe,re,fe,he,se,Ie){c("xRange",ce,Oe,re,fe,he,se,Ie);var ye=W(fe),$e=ye||W(he),nt=$e||W(se),et=nt;return re==="="&&et&&(re=""),Ie=ke.includePrerelease?"-0":"",ye?Oe=re===">"||re==="<"?"<0.0.0-0":"*":re&&et?($e&&(he=0),se=0,re===">"?(re=">=",$e?(fe=+fe+1,he=0,se=0):(he=+he+1,se=0)):re==="<="&&(re="<",$e?fe=+fe+1:he=+he+1),Oe=re+fe+"."+he+"."+se+Ie):$e?Oe=">="+fe+".0.0"+Ie+" <"+(+fe+1)+".0.0"+Ie:nt&&(Oe=">="+fe+"."+he+".0"+Ie+" <"+fe+"."+(+he+1)+".0"+Ie),c("xRange return",Oe),Oe})}(me,Fe)}).join(" ")}(He,be),c("xrange",He),He=function(Ve,Fe){return c("replaceStars",Ve,Fe),Ve.trim().replace(l[d.STAR],"")}(He,be),c("stars",He),He}(_e,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(ie=ie.filter(function(_e){return!!_e.match(z)})),ie=ie.map(function(_e){return new $(_e,this.options)},this)},F.prototype.intersects=function(K,q){if(!(K instanceof F))throw new TypeError("a Range is required");return this.set.some(function(Q){return P(Q,q)&&K.set.some(function(z){return P(z,q)&&Q.every(function(ie){return z.every(function(_e){return ie.intersects(_e,q)})})})})},r.toComparators=function(K,q){return new F(K,q).set.map(function(Q){return Q.map(function(z){return z.value}).join(" ").trim().split(" ")})},F.prototype.test=function(K){if(!K)return!1;if(typeof K=="string")try{K=new A(K,this.options)}catch{return!1}for(var q=0;q<this.set.length;q++)if(ee(this.set[q],K,this.options))return!0;return!1},r.satisfies=J,r.maxSatisfying=function(K,q,Q){var z=null,ie=null;try{var _e=new F(q,Q)}catch{return null}return K.forEach(function(He){_e.test(He)&&(z&&ie.compare(He)!==-1||(ie=new A(z=He,Q)))}),z},r.minSatisfying=function(K,q,Q){var z=null,ie=null;try{var _e=new F(q,Q)}catch{return null}return K.forEach(function(He){_e.test(He)&&(z&&ie.compare(He)!==1||(ie=new A(z=He,Q)))}),z},r.minVersion=function(K,q){K=new F(K,q);var Q=new A("0.0.0");if(K.test(Q)||(Q=new A("0.0.0-0"),K.test(Q)))return Q;Q=null;for(var z=0;z<K.set.length;++z)K.set[z].forEach(function(ie){var _e=new A(ie.semver.version);switch(ie.operator){case">":_e.prerelease.length===0?_e.patch++:_e.prerelease.push(0),_e.raw=_e.format();case"":case">=":Q&&!L(Q,_e)||(Q=_e);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+ie.operator)}});return Q&&K.test(Q)?Q:null},r.validRange=function(K,q){try{return new F(K,q).range||"*"}catch{return null}},r.ltr=function(K,q,Q){return ne(K,q,"<",Q)},r.gtr=function(K,q,Q){return ne(K,q,">",Q)},r.outside=ne,r.prerelease=function(K,q){var Q=E(K,q);return Q&&Q.prerelease.length?Q.prerelease:null},r.intersects=function(K,q,Q){return K=new F(K,Q),q=new F(q,Q),K.intersects(q)},r.coerce=function(K,q){if(K instanceof A)return K;if(typeof K=="number"&&(K=String(K)),typeof K!="string")return null;var Q=null;if((q=q||{}).rtl){for(var z;(z=l[d.COERCERTL].exec(K))&&(!Q||Q.index+Q[0].length!==K.length);)Q&&z.index+z[0].length===Q.index+Q[0].length||(Q=z),l[d.COERCERTL].lastIndex=z.index+z[1].length+z[2].length;l[d.COERCERTL].lastIndex=-1}else Q=K.match(l[d.COERCE]);return Q===null?null:E(Q[2]+"."+(Q[3]||"0")+"."+(Q[4]||"0"),q)}},"./node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js":(o,r,c)=>{"use strict";let s=c("os"),u=c("tty"),H=c("./node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"),{env:a}=process,l;function p(h){return h!==0&&{level:h,hasBasic:!0,has256:h>=2,has16m:h>=3}}function d(h,m){if(l===0)return 0;if(H("color=16m")||H("color=full")||H("color=truecolor"))return 3;if(H("color=256"))return 2;if(h&&!m&&l===void 0)return 0;let g=l||0;if(a.TERM==="dumb")return g;if(process.platform==="win32"){let y=s.release().split(".");return Number(y[0])>=10&&Number(y[2])>=10586?Number(y[2])>=14931?3:2:1}if("CI"in a)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(y=>y in a)||a.CI_NAME==="codeship"?1:g;if("TEAMCITY_VERSION"in a)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION)?1:0;if(a.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in a){let y=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return y>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||"COLORTERM"in a?1:g}H("no-color")||H("no-colors")||H("color=false")||H("color=never")?l=0:(H("color")||H("colors")||H("color=true")||H("color=always"))&&(l=1),"FORCE_COLOR"in a&&(l=a.FORCE_COLOR==="true"?1:a.FORCE_COLOR==="false"?0:a.FORCE_COLOR.length===0?1:Math.min(parseInt(a.FORCE_COLOR,10),3)),o.exports={supportsColor:function(h){return p(d(h,h&&h.isTTY))},stdout:p(d(!0,u.isatty(1))),stderr:p(d(!0,u.isatty(2)))}},"./node_modules/.pnpm/to-fast-properties@2.0.0/node_modules/to-fast-properties/index.js":o=>{"use strict";let r=null;function c(s){if(r!==null&&(r.property,1)){let u=r;return r=c.prototype=null,u}return r=c.prototype=s??Object.create(null),new c}c(),o.exports=function(s){return c(s)}},assert:o=>{"use strict";o.exports=require("assert")},fs:o=>{"use strict";o.exports=require("fs")},module:o=>{"use strict";o.exports=require("module")},os:o=>{"use strict";o.exports=require("os")},path:o=>{"use strict";o.exports=require("path")},process:o=>{"use strict";o.exports=require("process")},tty:o=>{"use strict";o.exports=require("tty")},url:o=>{"use strict";o.exports=require("url")},util:o=>{"use strict";o.exports=require("util")},v8:o=>{"use strict";o.exports=require("v8")},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/caching.js":(o,r,c)=>{"use strict";function s(){let A=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return A},A}Object.defineProperty(r,"__esModule",{value:!0}),r.assertSimpleType=_,r.makeStrongCache=d,r.makeStrongCacheSync=function(A){return a(d(A))},r.makeWeakCache=p,r.makeWeakCacheSync=function(A){return a(p(A))};var u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/gensync-utils/async.js"),H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/util.js");let a=A=>s()(A).sync;function*l(){return!0}function p(A){return h(WeakMap,A)}function d(A){return h(Map,A)}function h(A,S){let T=new A,I=new A,L=new A;return function*(x,C){let D=yield*(0,u.isAsync)(),O=D?I:T,j=yield*function*(P,W,Z,ee,J){let ne=yield*m(W,ee,J);if(ne.valid)return ne;if(P){let K=yield*m(Z,ee,J);if(K.valid)return{valid:!0,value:yield*(0,u.waitFor)(K.value.promise)}}return{valid:!1,value:null}}(D,O,L,x,C);if(j.valid)return j.value;let k=new y(C),$=S(x,k),U,F;return F=(0,H.isIterableIterator)($)?yield*(0,u.onFirstPause)($,()=>{U=function(P,W,Z){let ee=new E;return g(W,P,Z,ee),ee}(k,L,x)}):$,g(O,k,x,F),U&&(L.delete(x),U.release(F)),F}}function*m(A,S,T){let I=A.get(S);if(I){for(let{value:L,valid:x}of I)if(yield*x(T))return{valid:!0,value:L}}return{valid:!1,value:null}}function g(A,S,T,I){S.configured()||S.forever();let L=A.get(T);switch(S.deactivate(),S.mode()){case"forever":L=[{value:I,valid:l}],A.set(T,L);break;case"invalidate":L=[{value:I,valid:S.validator()}],A.set(T,L);break;case"valid":L?L.push({value:I,valid:S.validator()}):(L=[{value:I,valid:S.validator()}],A.set(T,L))}}class y{constructor(S){this._active=!0,this._never=!1,this._forever=!1,this._invalidate=!1,this._configured=!1,this._pairs=[],this._data=void 0,this._data=S}simple(){return function(S){function T(I){if(typeof I!="boolean")return S.using(()=>_(I()));I?S.forever():S.never()}return T.forever=()=>S.forever(),T.never=()=>S.never(),T.using=I=>S.using(()=>_(I())),T.invalidate=I=>S.invalidate(()=>_(I())),T}(this)}mode(){return this._never?"never":this._forever?"forever":this._invalidate?"invalidate":"valid"}forever(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never)throw new Error("Caching has already been configured with .never()");this._forever=!0,this._configured=!0}never(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._forever)throw new Error("Caching has already been configured with .forever()");this._never=!0,this._configured=!0}using(S){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never||this._forever)throw new Error("Caching has already been configured with .never or .forever()");this._configured=!0;let T=S(this._data),I=(0,u.maybeAsync)(S,"You appear to be using an async cache handler, but Babel has been called synchronously");return(0,u.isThenable)(T)?T.then(L=>(this._pairs.push([L,I]),L)):(this._pairs.push([T,I]),T)}invalidate(S){return this._invalidate=!0,this.using(S)}validator(){let S=this._pairs;return function*(T){for(let[I,L]of S)if(I!==(yield*L(T)))return!1;return!0}}deactivate(){this._active=!1}configured(){return this._configured}}function _(A){if((0,u.isThenable)(A))throw new Error("You appear to be using an async cache handler, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously handle your caching logic.");if(A!=null&&typeof A!="string"&&typeof A!="boolean"&&typeof A!="number")throw new Error("Cache keys must be either string, boolean, number, null, or undefined.");return A}class E{constructor(){this.released=!1,this.promise=void 0,this._resolve=void 0,this.promise=new Promise(S=>{this._resolve=S})}release(S){this.released=!0,this._resolve(S)}}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/config-chain.js":(o,r,c)=>{"use strict";function s(){let me=c("path");return s=function(){return me},me}function u(){let me=c("./node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/index.js");return u=function(){return me},me}Object.defineProperty(r,"__esModule",{value:!0}),r.buildPresetChain=function*(me,ce){let ke=yield*_(me,ce);return ke?{plugins:z(ke.plugins),presets:z(ke.presets),options:ke.options.map(je=>Q(je)),files:new Set}:null},r.buildPresetChainWalker=void 0,r.buildRootChain=function*(me,ce){let ke,je,Oe=new l.ConfigPrinter,re=yield*C({options:me,dirname:ce.cwd},ce,void 0,Oe);if(!re)return null;let fe=yield*Oe.output(),he;typeof me.configFile=="string"?he=yield*(0,h.loadConfig)(me.configFile,ce.cwd,ce.envName,ce.caller):me.configFile!==!1&&(he=yield*(0,h.findRootConfig)(ce.root,ce.envName,ce.caller));let{babelrc:se,babelrcRoots:Ie}=me,ye=ce.cwd,$e=q(),nt=new l.ConfigPrinter;if(he){let Ae=I(he),de=yield*O(Ae,ce,void 0,nt);if(!de)return null;ke=yield*nt.output(),se===void 0&&(se=Ae.options.babelrc),Ie===void 0&&(ye=Ae.dirname,Ie=Ae.options.babelrcRoots),ne($e,de)}let et,xe,pe=!1,ue=q();if((se===!0||se===void 0)&&typeof ce.filename=="string"){let Ae=yield*(0,h.findPackageData)(ce.filename);if(Ae&&function(de,We,tt,mt){if(typeof tt=="boolean")return tt;let At=de.root;if(tt===void 0)return We.directories.includes(At);let pt=tt;return Array.isArray(pt)||(pt=[pt]),pt=pt.map(Nt=>typeof Nt=="string"?s().resolve(mt,Nt):Nt),pt.length===1&&pt[0]===At?We.directories.includes(At):pt.some(Nt=>(typeof Nt=="string"&&(Nt=(0,a.default)(Nt,mt)),We.directories.some(Ce=>Fe(Nt,mt,Ce,de))))}(ce,Ae,Ie,ye)){if({ignore:et,config:xe}=yield*(0,h.findRelativeConfig)(Ae,ce.envName,ce.caller),et&&ue.files.add(et.filepath),et&&be(ce,et.ignore,null,et.dirname)&&(pe=!0),xe&&!pe){let de=L(xe),We=new l.ConfigPrinter,tt=yield*O(de,ce,void 0,We);tt?(je=yield*We.output(),ne(ue,tt)):pe=!0}xe&&pe&&ue.files.add(xe.filepath)}}ce.showConfig&&console.log(`Babel configs on "${ce.filename}" (ascending priority):
|
|
`+[ke,je,fe].filter(Ae=>!!Ae).join(`
|
|
|
|
`)+`
|
|
-----End Babel configs-----`);let Se=ne(ne(ne(q(),$e),ue),re);return{plugins:pe?[]:z(Se.plugins),presets:pe?[]:z(Se.presets),options:pe?[]:Se.options.map(Ae=>Q(Ae)),fileHandling:pe?"ignored":"transpile",ignore:et||void 0,babelrc:xe||void 0,config:he||void 0,files:Se.files}};var H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/validation/options.js"),a=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/pattern-to-regex.js"),l=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/printer.js"),p=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"),d=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/errors/config-error.js"),h=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files/index.js"),m=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/caching.js"),g=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/config-descriptors.js");let y=u()("babel:config:config-chain"),_=r.buildPresetChainWalker=ee({root:me=>E(me),env:(me,ce)=>A(me)(ce),overrides:(me,ce)=>S(me)(ce),overridesEnv:(me,ce,ke)=>T(me)(ce)(ke),createLogger:()=>()=>{}}),E=(0,m.makeWeakCacheSync)(me=>F(me,me.alias,g.createUncachedDescriptors)),A=(0,m.makeWeakCacheSync)(me=>(0,m.makeStrongCacheSync)(ce=>P(me,me.alias,g.createUncachedDescriptors,ce))),S=(0,m.makeWeakCacheSync)(me=>(0,m.makeStrongCacheSync)(ce=>W(me,me.alias,g.createUncachedDescriptors,ce))),T=(0,m.makeWeakCacheSync)(me=>(0,m.makeStrongCacheSync)(ce=>(0,m.makeStrongCacheSync)(ke=>Z(me,me.alias,g.createUncachedDescriptors,ce,ke)))),I=(0,m.makeWeakCacheSync)(me=>({filepath:me.filepath,dirname:me.dirname,options:(0,H.validate)("configfile",me.options,me.filepath)})),L=(0,m.makeWeakCacheSync)(me=>({filepath:me.filepath,dirname:me.dirname,options:(0,H.validate)("babelrcfile",me.options,me.filepath)})),x=(0,m.makeWeakCacheSync)(me=>({filepath:me.filepath,dirname:me.dirname,options:(0,H.validate)("extendsfile",me.options,me.filepath)})),C=ee({root:me=>F(me,"base",g.createCachedDescriptors),env:(me,ce)=>P(me,"base",g.createCachedDescriptors,ce),overrides:(me,ce)=>W(me,"base",g.createCachedDescriptors,ce),overridesEnv:(me,ce,ke)=>Z(me,"base",g.createCachedDescriptors,ce,ke),createLogger:(me,ce,ke)=>function(je,Oe,re){var fe;return re?re.configure(Oe.showConfig,l.ChainFormatter.Programmatic,{callerName:(fe=Oe.caller)==null?void 0:fe.name}):()=>{}}(0,ce,ke)}),D=ee({root:me=>j(me),env:(me,ce)=>k(me)(ce),overrides:(me,ce)=>$(me)(ce),overridesEnv:(me,ce,ke)=>U(me)(ce)(ke),createLogger:(me,ce,ke)=>function(je,Oe,re){return re?re.configure(Oe.showConfig,l.ChainFormatter.Config,{filepath:je}):()=>{}}(me.filepath,ce,ke)});function*O(me,ce,ke,je){let Oe=yield*D(me,ce,ke,je);return Oe?.files.add(me.filepath),Oe}let j=(0,m.makeWeakCacheSync)(me=>F(me,me.filepath,g.createUncachedDescriptors)),k=(0,m.makeWeakCacheSync)(me=>(0,m.makeStrongCacheSync)(ce=>P(me,me.filepath,g.createUncachedDescriptors,ce))),$=(0,m.makeWeakCacheSync)(me=>(0,m.makeStrongCacheSync)(ce=>W(me,me.filepath,g.createUncachedDescriptors,ce))),U=(0,m.makeWeakCacheSync)(me=>(0,m.makeStrongCacheSync)(ce=>(0,m.makeStrongCacheSync)(ke=>Z(me,me.filepath,g.createUncachedDescriptors,ce,ke))));function F({dirname:me,options:ce},ke,je){return je(me,ce,ke)}function P({dirname:me,options:ce},ke,je,Oe){var re;let fe=(re=ce.env)==null?void 0:re[Oe];return fe?je(me,fe,`${ke}.env["${Oe}"]`):null}function W({dirname:me,options:ce},ke,je,Oe){var re;let fe=(re=ce.overrides)==null?void 0:re[Oe];if(!fe)throw new Error("Assertion failure - missing override");return je(me,fe,`${ke}.overrides[${Oe}]`)}function Z({dirname:me,options:ce},ke,je,Oe,re){var fe,he;let se=(fe=ce.overrides)==null?void 0:fe[Oe];if(!se)throw new Error("Assertion failure - missing override");let Ie=(he=se.env)==null?void 0:he[re];return Ie?je(me,Ie,`${ke}.overrides[${Oe}].env["${re}"]`):null}function ee({root:me,env:ce,overrides:ke,overridesEnv:je,createLogger:Oe}){return function*(re,fe,he=new Set,se){let{dirname:Ie}=re,ye=[],$e=me(re);if(ie($e,Ie,fe,re.filepath)){ye.push({config:$e,envName:void 0,index:void 0});let xe=ce(re,fe.envName);xe&&ie(xe,Ie,fe,re.filepath)&&ye.push({config:xe,envName:fe.envName,index:void 0}),($e.options.overrides||[]).forEach((pe,ue)=>{let Se=ke(re,ue);if(ie(Se,Ie,fe,re.filepath)){ye.push({config:Se,index:ue,envName:void 0});let Ae=je(re,ue,fe.envName);Ae&&ie(Ae,Ie,fe,re.filepath)&&ye.push({config:Ae,index:ue,envName:fe.envName})}})}if(ye.some(({config:{options:{ignore:xe,only:pe}}})=>be(fe,xe,pe,Ie)))return null;let nt=q(),et=Oe(re,fe,se);for(let{config:xe,index:pe,envName:ue}of ye){if(!(yield*J(nt,xe.options,Ie,fe,he,se)))return null;et(xe,pe,ue),yield*K(nt,xe)}return nt}}function*J(me,ce,ke,je,Oe,re){if(ce.extends===void 0)return!0;let fe=yield*(0,h.loadConfig)(ce.extends,ke,je.envName,je.caller);if(Oe.has(fe))throw new Error(`Configuration cycle detected loading ${fe.filepath}.
|
|
File already loaded following the config chain:
|
|
`+Array.from(Oe,se=>` - ${se.filepath}`).join(`
|
|
`));Oe.add(fe);let he=yield*O(x(fe),je,Oe,re);return Oe.delete(fe),!!he&&(ne(me,he),!0)}function ne(me,ce){me.options.push(...ce.options),me.plugins.push(...ce.plugins),me.presets.push(...ce.presets);for(let ke of ce.files)me.files.add(ke);return me}function*K(me,{options:ce,plugins:ke,presets:je}){return me.options.push(ce),me.plugins.push(...yield*ke()),me.presets.push(...yield*je()),me}function q(){return{options:[],presets:[],plugins:[],files:new Set}}function Q(me){let ce=Object.assign({},me);return delete ce.extends,delete ce.env,delete ce.overrides,delete ce.plugins,delete ce.presets,delete ce.passPerPreset,delete ce.ignore,delete ce.only,delete ce.test,delete ce.include,delete ce.exclude,hasOwnProperty.call(ce,"sourceMap")&&(ce.sourceMaps=ce.sourceMap,delete ce.sourceMap),ce}function z(me){let ce=new Map,ke=[];for(let je of me)if(typeof je.value=="function"){let Oe=je.value,re=ce.get(Oe);re||(re=new Map,ce.set(Oe,re));let fe=re.get(je.name);fe?fe.value=je:(fe={value:je},ke.push(fe),je.ownPass||re.set(je.name,fe))}else ke.push({value:je});return ke.reduce((je,Oe)=>(je.push(Oe.value),je),[])}function ie({options:me},ce,ke,je){return(me.test===void 0||_e(ke,me.test,ce,je))&&(me.include===void 0||_e(ke,me.include,ce,je))&&(me.exclude===void 0||!_e(ke,me.exclude,ce,je))}function _e(me,ce,ke,je){return Ve(me,Array.isArray(ce)?ce:[ce],ke,je)}function He(me,ce){return ce instanceof RegExp?String(ce):ce}function be(me,ce,ke,je){if(ce&&Ve(me,ce,je)){var Oe;let fe=`No config is applied to "${(Oe=me.filename)!=null?Oe:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(ce,He)}\` from "${je}"`;return y(fe),me.showConfig&&console.log(fe),!0}if(ke&&!Ve(me,ke,je)){var re;let fe=`No config is applied to "${(re=me.filename)!=null?re:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(ke,He)}\` from "${je}"`;return y(fe),me.showConfig&&console.log(fe),!0}return!1}function Ve(me,ce,ke,je){return ce.some(Oe=>Fe(Oe,ke,me.filename,me,je))}function Fe(me,ce,ke,je,Oe){if(typeof me=="function")return!!(0,p.endHiddenCallStack)(me)(ke,{dirname:ce,envName:je.envName,caller:je.caller});if(typeof ke!="string")throw new d.default("Configuration contains string/RegExp pattern, but no filename was passed to Babel",Oe);return typeof me=="string"&&(me=(0,a.default)(me,ce)),me.test(ke)}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/config-descriptors.js":(o,r,c)=>{"use strict";function s(){let x=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return x},x}Object.defineProperty(r,"__esModule",{value:!0}),r.createCachedDescriptors=function(x,C,D){let{plugins:O,presets:j,passPerPreset:k}=C;return{options:h(C,x),plugins:O?()=>_(O,x)(D):()=>d([]),presets:j?()=>g(j,x)(D)(!!k):()=>d([])}},r.createDescriptor=L,r.createUncachedDescriptors=function(x,C,D){return{options:h(C,x),plugins:(0,u.once)(()=>T(C.plugins||[],x,D)),presets:(0,u.once)(()=>S(C.presets||[],x,D,!!C.passPerPreset))}};var u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/gensync-utils/functional.js"),H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files/index.js"),a=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/item.js"),l=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/caching.js"),p=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/resolve-targets.js");function*d(x){return x}function h(x,C){return typeof x.browserslistConfigFile=="string"&&(x.browserslistConfigFile=(0,p.resolveBrowserslistConfigFile)(x.browserslistConfigFile,C)),x}let m=new WeakMap,g=(0,l.makeWeakCacheSync)((x,C)=>{let D=C.using(O=>O);return(0,l.makeStrongCacheSync)(O=>(0,l.makeStrongCache)(function*(j){return(yield*S(x,D,O,j)).map(k=>A(m,k))}))}),y=new WeakMap,_=(0,l.makeWeakCacheSync)((x,C)=>{let D=C.using(O=>O);return(0,l.makeStrongCache)(function*(O){return(yield*T(x,D,O)).map(j=>A(y,j))})}),E={};function A(x,C){let{value:D,options:O=E}=C;if(O===!1)return C;let j=x.get(D);j||(j=new WeakMap,x.set(D,j));let k=j.get(O);if(k||(k=[],j.set(O,k)),!k.includes(C)){let $=k.filter(U=>{return P=C,(F=U).name===P.name&&F.value===P.value&&F.options===P.options&&F.dirname===P.dirname&&F.alias===P.alias&&F.ownPass===P.ownPass&&((W=F.file)==null?void 0:W.request)===((Z=P.file)==null?void 0:Z.request)&&((ee=F.file)==null?void 0:ee.resolved)===((J=P.file)==null?void 0:J.resolved);var F,P,W,Z,ee,J});if($.length>0)return $[0];k.push(C)}return C}function*S(x,C,D,O){return yield*I("preset",x,C,D,O)}function*T(x,C,D){return yield*I("plugin",x,C,D)}function*I(x,C,D,O,j){let k=yield*s().all(C.map(($,U)=>L($,D,{type:x,alias:`${O}$${U}`,ownPass:!!j})));return function($){let U=new Map;for(let F of $){if(typeof F.value!="function")continue;let P=U.get(F.value);if(P||(P=new Set,U.set(F.value,P)),P.has(F.name)){let W=$.filter(Z=>Z.value===F.value);throw new Error(["Duplicate plugin/preset detected.","If you'd like to use two separate instances of a plugin,","they need separate names, e.g.",""," plugins: ["," ['some-plugin', {}],"," ['some-plugin', {}, 'some unique name'],"," ]","","Duplicates detected are:",`${JSON.stringify(W,null,2)}`].join(`
|
|
`))}P.add(F.name)}}(k),k}function*L(x,C,{type:D,alias:O,ownPass:j}){let k=(0,a.getItemDescriptor)(x);if(k)return k;let $,U,F,P=x;Array.isArray(P)&&(P.length===3?[P,U,$]=P:[P,U]=P);let W=null;if(typeof P=="string"){if(typeof D!="string")throw new Error("To resolve a string-based item, the type of item must be given");let Z=D==="plugin"?H.loadPlugin:H.loadPreset,ee=P;({filepath:W,value:P}=yield*Z(P,C)),F={request:ee,resolved:W}}if(!P)throw new Error(`Unexpected falsy value: ${String(P)}`);if(typeof P=="object"&&P.__esModule){if(!P.default)throw new Error("Must export a default export when using ES6 modules.");P=P.default}if(typeof P!="object"&&typeof P!="function")throw new Error(`Unsupported format: ${typeof P}. Expected an object or a function.`);if(W!==null&&typeof P=="object"&&P)throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${W}`);return{name:$,alias:W||O,value:P,options:U,dirname:C,ownPass:j,file:F}}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files/configuration.js":(o,r,c)=>{"use strict";function s(){let F=c("./node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/index.js");return s=function(){return F},F}function u(){let F=c("fs");return u=function(){return F},F}function H(){let F=c("path");return H=function(){return F},F}function a(){let F=c("./node_modules/.pnpm/json5@2.2.3/node_modules/json5/dist/index.mjs");return a=function(){return F},F}function l(){let F=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return l=function(){return F},F}Object.defineProperty(r,"__esModule",{value:!0}),r.ROOT_CONFIG_FILENAMES=void 0,r.findConfigUpwards=function(F){let P=F;for(;;){for(let Z of T)if(u().existsSync(H().join(P,Z)))return P;let W=H().dirname(P);if(P===W)break;P=W}return null},r.findRelativeConfig=function*(F,P,W){let Z=null,ee=null,J=H().dirname(F.filepath);for(let K of F.directories){var ne;if(Z||(Z=yield*$(I,K,P,W,((ne=F.pkg)==null?void 0:ne.dirname)===K?O(F.pkg):null)),!ee){let q=H().join(K,L);ee=yield*k(q),ee&&S("Found ignore %o from %o.",ee.filepath,J)}}return{config:Z,ignore:ee}},r.findRootConfig=function(F,P,W){return $(T,F,P,W)},r.loadConfig=function*(F,P,W,Z){let ee=(ne=process.versions.node,K="8.9",ne=ne.split("."),K=K.split("."),+ne[0]>+K[0]||ne[0]==K[0]&&+ne[1]>=+K[1]?c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files sync recursive").resolve:(q,{paths:[Q]},z=c("module"))=>{let ie=z._findPath(q,z._nodeModulePaths(Q).concat(Q));if(ie)return ie;throw ie=new Error(`Cannot resolve module '${q}'`),ie.code="MODULE_NOT_FOUND",ie})(F,{paths:[P]}),J=yield*U(ee,W,Z);var ne,K;if(!J)throw new y.default("Config file contains no configuration data",ee);return S("Loaded config %o from %o.",F,P),J},r.resolveShowConfigPath=function*(F){let P=process.env.BABEL_SHOW_CONFIG_FOR;if(P!=null){let W=H().resolve(F,P);if(!(yield*_.stat(W)).isFile())throw new Error(`${W}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`);return W}return null};var p=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/caching.js"),d=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/helpers/config-api.js"),h=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files/utils.js"),m=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files/module-types.js"),g=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/pattern-to-regex.js"),y=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/errors/config-error.js"),_=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/gensync-utils/fs.js"),E=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"),A=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/gensync-utils/async.js");let S=s()("babel:config:loading:files:configuration"),T=r.ROOT_CONFIG_FILENAMES=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json","babel.config.cts"],I=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json",".babelrc.cts"],L=".babelignore",x=(0,p.makeWeakCache)(function*(F,P){return yield*[],{options:(0,E.endHiddenCallStack)(F)((0,d.makeConfigAPI)(P)),cacheNeedsConfiguration:!P.configured()}});function*C(F,P){if(!u().existsSync(F))return null;let W=yield*(0,m.default)(F,(yield*(0,A.isAsync)())?"auto":"require","You appear to be using a native ECMAScript module configuration file, which is only supported when running Babel asynchronously or when using the Node.js `--experimental-require-module` flag.","You appear to be using a configuration file that contains top-level await, which is only supported when running Babel asynchronously."),Z=!1;if(typeof W=="function"&&({options:W,cacheNeedsConfiguration:Z}=yield*x(W,P)),!W||typeof W!="object"||Array.isArray(W))throw new y.default("Configuration should be an exported JavaScript object.",F);if(typeof W.then=="function")throw W.catch==null||W.catch(()=>{}),new y.default("You appear to be using an async configuration, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously return your config.",F);return Z&&function(ee){throw new y.default(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured
|
|
for various types of caching, using the first param of their handler functions:
|
|
|
|
module.exports = function(api) {
|
|
// The API exposes the following:
|
|
|
|
// Cache the returned value forever and don't call this function again.
|
|
api.cache(true);
|
|
|
|
// Don't cache at all. Not recommended because it will be very slow.
|
|
api.cache(false);
|
|
|
|
// Cached based on the value of some function. If this function returns a value different from
|
|
// a previously-encountered value, the plugins will re-evaluate.
|
|
var env = api.cache(() => process.env.NODE_ENV);
|
|
|
|
// If testing for a specific env, we recommend specifics to avoid instantiating a plugin for
|
|
// any possible NODE_ENV value that might come up during plugin execution.
|
|
var isProd = api.cache(() => process.env.NODE_ENV === "production");
|
|
|
|
// .cache(fn) will perform a linear search though instances to find the matching plugin based
|
|
// based on previous instantiated plugins. If you want to recreate the plugin and discard the
|
|
// previous instance whenever something changes, you may use:
|
|
var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");
|
|
|
|
// Note, we also expose the following more-verbose versions of the above examples:
|
|
api.cache.forever(); // api.cache(true)
|
|
api.cache.never(); // api.cache(false)
|
|
api.cache.using(fn); // api.cache(fn)
|
|
|
|
// Return the value that will be cached.
|
|
return { };
|
|
};`,ee)}(F),function(ee,J){let ne=D.get(ee);ne||D.set(ee,ne=new Map);let K=ne.get(J);return K||(K={filepath:J,dirname:H().dirname(J),options:ee},ne.set(J,K)),K}(W,F)}let D=new WeakMap,O=(0,p.makeWeakCacheSync)(F=>{let P=F.options.babel;if(P===void 0)return null;if(typeof P!="object"||Array.isArray(P)||P===null)throw new y.default(".babel property must be an object",F.filepath);return{filepath:F.filepath,dirname:F.dirname,options:P}}),j=(0,h.makeStaticFileCache)((F,P)=>{let W;try{W=a().parse(P)}catch(Z){throw new y.default(`Error while parsing config - ${Z.message}`,F)}if(!W)throw new y.default("No config detected",F);if(typeof W!="object")throw new y.default("Config returned typeof "+typeof W,F);if(Array.isArray(W))throw new y.default("Expected config object but found array",F);return delete W.$schema,{filepath:F,dirname:H().dirname(F),options:W}}),k=(0,h.makeStaticFileCache)((F,P)=>{let W=H().dirname(F),Z=P.split(`
|
|
`).map(ee=>ee.replace(/#.*$/,"").trim()).filter(ee=>!!ee);for(let ee of Z)if(ee[0]==="!")throw new y.default("Negation of file paths is not supported.",F);return{filepath:F,dirname:H().dirname(F),ignore:Z.map(ee=>(0,g.default)(ee,W))}});function*$(F,P,W,Z,ee=null){let J=(yield*l().all(F.map(ne=>U(H().join(P,ne),W,Z)))).reduce((ne,K)=>{if(K&&ne)throw new y.default(`Multiple configuration files found. Please remove one:
|
|
- ${H().basename(ne.filepath)}
|
|
- ${K.filepath}
|
|
from ${P}`);return K||ne},ee);return J&&S("Found configuration %o from %o.",J.filepath,P),J}function U(F,P,W){switch(H().extname(F)){case".js":case".cjs":case".mjs":case".cts":return C(F,{envName:P,caller:W});default:return j(F)}}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files/import.cjs":(o,r,c)=>{o.exports=function(s){return c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files lazy recursive")(s)}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ROOT_CONFIG_FILENAMES",{enumerable:!0,get:function(){return u.ROOT_CONFIG_FILENAMES}}),Object.defineProperty(r,"findConfigUpwards",{enumerable:!0,get:function(){return u.findConfigUpwards}}),Object.defineProperty(r,"findPackageData",{enumerable:!0,get:function(){return s.findPackageData}}),Object.defineProperty(r,"findRelativeConfig",{enumerable:!0,get:function(){return u.findRelativeConfig}}),Object.defineProperty(r,"findRootConfig",{enumerable:!0,get:function(){return u.findRootConfig}}),Object.defineProperty(r,"loadConfig",{enumerable:!0,get:function(){return u.loadConfig}}),Object.defineProperty(r,"loadPlugin",{enumerable:!0,get:function(){return H.loadPlugin}}),Object.defineProperty(r,"loadPreset",{enumerable:!0,get:function(){return H.loadPreset}}),Object.defineProperty(r,"resolvePlugin",{enumerable:!0,get:function(){return H.resolvePlugin}}),Object.defineProperty(r,"resolvePreset",{enumerable:!0,get:function(){return H.resolvePreset}}),Object.defineProperty(r,"resolveShowConfigPath",{enumerable:!0,get:function(){return u.resolveShowConfigPath}});var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files/package.js"),u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files/configuration.js"),H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files/plugins.js")},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files/module-types.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function*(x,C,D,O){var j;let k,$=u().extname(x);switch(I.has($)||($=".js"),`${C} ${$}`){case"require .cjs":case"auto .cjs":return E(x,arguments[2]);case"require .cts":case"auto .cts":return function(F){let P=".cts",W=!!(c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[".ts"]||c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[".cts"]||c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[".mts"]),Z;if(!W){let ee={babelrc:!1,configFile:!1,sourceType:"unambiguous",sourceMaps:"inline",sourceFileName:u().basename(F),presets:[[L(F),Object.assign({onlyRemoveTypeImports:!0,optimizeConstEnums:!0},{allowDeclareFields:!0})]]};Z=function(J,ne){if(Z&&ne.endsWith(P))try{return J._compile((0,h.transformFileSync)(ne,Object.assign({},ee,{filename:ne})).code,ne)}catch(K){if(!W){let q=c("./node_modules/.pnpm/@babel+preset-typescript@7.25.7_@babel+core@7.25.7/node_modules/@babel/preset-typescript/package.json");a().lt(q.version,"7.21.4")&&console.error("`.cts` configuration file failed to load, please try to update `@babel/preset-typescript`.")}throw K}return c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[".js"](J,ne)},c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[P]=Z}try{return E(F)}finally{W||(c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[P]===Z&&delete c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[P],Z=void 0)}}(x);case"auto .js":case"require .js":case"require .mjs":try{return E(x,arguments[2])}catch(F){var U;if(F.code==="ERR_REQUIRE_ASYNC_MODULE"&&!((U=k)!=null?U:k=yield*(0,s.isAsync)()))throw new d.default(O,x);if(F.code!=="ERR_REQUIRE_ESM"&&$!==".mjs")throw F}case"auto .mjs":if((j=k)!=null?j:k=yield*(0,s.isAsync)())return(yield*(0,s.waitFor)(A(x))).default;throw new d.default(D,x);default:throw new Error("Internal Babel error: unreachable code.")}},r.supportsESM=void 0;var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/gensync-utils/async.js");function u(){let x=c("path");return u=function(){return x},x}function H(){let x=c("url");return H=function(){return x},x}function a(){let x=c("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return a=function(){return x},x}function l(){let x=c("./node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/index.js");return l=function(){return x},x}var p=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"),d=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/errors/config-error.js"),h=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transform-file.js");function m(x,C,D,O,j,k,$){try{var U=x[k]($),F=U.value}catch(P){return void D(P)}U.done?C(F):Promise.resolve(F).then(O,j)}let g=l()("babel:config:loading:files:module-types");try{var y=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files/import.cjs")}catch{}r.supportsESM=a().satisfies(process.versions.node,"^12.17 || >=13.2");let _=new Set;function E(x){if(_.has(x))return g("Auto-ignoring usage of config %o.",x),{};let C;try{_.add(x),C=(0,p.endHiddenCallStack)(c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files sync recursive"))(x)}finally{_.delete(x)}return C==null||!C.__esModule&&C[Symbol.toStringTag]!=="Module"?C:C.default||(arguments[1]?C:void 0)}let A=(0,p.endHiddenCallStack)((S=function*(x){let C=(0,H().pathToFileURL)(x).toString();if(!y)throw new d.default(`Internal error: Native ECMAScript modules aren't supported by this platform.
|
|
`,x);return yield y(C)},T=function(){var x=this,C=arguments;return new Promise(function(D,O){var j=S.apply(x,C);function k(U){m(j,D,O,k,$,"next",U)}function $(U){m(j,D,O,k,$,"throw",U)}k(void 0)})},function(x){return T.apply(this,arguments)}));var S,T;let I=new Set([".js",".mjs",".cjs",".cts"]);function L(x){try{return c("./node_modules/.pnpm/@babel+preset-typescript@7.25.7_@babel+core@7.25.7/node_modules/@babel/preset-typescript/lib/index.js")}catch(C){if(C.code!=="MODULE_NOT_FOUND")throw C;let D="You appear to be using a .cts file as Babel configuration, but the `@babel/preset-typescript` package was not found: please install it!";throw process.versions.pnp&&(D+=`
|
|
If you are using Yarn Plug'n'Play, you may also need to add the following configuration to your .yarnrc.yml file:
|
|
|
|
packageExtensions:
|
|
"@babel/core@*":
|
|
peerDependencies:
|
|
"@babel/preset-typescript": "*"
|
|
`),new d.default(D,x)}}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files/package.js":(o,r,c)=>{"use strict";function s(){let p=c("path");return s=function(){return p},p}Object.defineProperty(r,"__esModule",{value:!0}),r.findPackageData=function*(p){let d=null,h=[],m=!0,g=s().dirname(p);for(;!d&&s().basename(g)!=="node_modules";){h.push(g),d=yield*l(s().join(g,a));let y=s().dirname(g);if(g===y){m=!1;break}g=y}return{filepath:p,directories:h,pkg:d,isPackage:m}};var u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files/utils.js"),H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/errors/config-error.js");let a="package.json",l=(0,u.makeStaticFileCache)((p,d)=>{let h;try{h=JSON.parse(d)}catch(m){throw new H.default(`Error while parsing JSON - ${m.message}`,p)}if(!h)throw new Error(`${p}: No config detected`);if(typeof h!="object")throw new H.default("Config returned typeof "+typeof h,p);if(Array.isArray(h))throw new H.default("Expected config object but found array",p);return{filepath:p,dirname:s().dirname(p),options:h}})},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files/plugins.js":(o,r,c)=>{"use strict";function s(){let F=c("./node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/index.js");return s=function(){return F},F}function u(){let F=c("path");return u=function(){return F},F}Object.defineProperty(r,"__esModule",{value:!0}),r.loadPlugin=function*(F,P){let{filepath:W,loader:Z}=I(F,P,yield*(0,H.isAsync)()),ee=yield*U("plugin",Z,W);return h("Loaded plugin %o from %o.",F,P),{filepath:W,value:ee}},r.loadPreset=function*(F,P){let{filepath:W,loader:Z}=L(F,P,yield*(0,H.isAsync)()),ee=yield*U("preset",Z,W);return h("Loaded preset %o from %o.",F,P),{filepath:W,value:ee}},r.resolvePreset=r.resolvePlugin=void 0;var H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/gensync-utils/async.js"),a=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files/module-types.js");function l(){let F=c("url");return l=function(){return F},F}var p=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/vendor/import-meta-resolve.js");function d(){let F=c("fs");return d=function(){return F},F}let h=s()("babel:config:loading:files:plugins"),m=/^module:/,g=/^(?!@|module:|[^/]+\/|babel-plugin-)/,y=/^(?!@|module:|[^/]+\/|babel-preset-)/,_=/^(@babel\/)(?!plugin-|[^/]+\/)/,E=/^(@babel\/)(?!preset-|[^/]+\/)/,A=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/,S=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/,T=/^(@(?!babel$)[^/]+)$/,I=r.resolvePlugin=k.bind(null,"plugin"),L=r.resolvePreset=k.bind(null,"preset");function x(F,P){if(u().isAbsolute(P))return P;let W=F==="preset";return P.replace(W?y:g,`babel-${F}-`).replace(W?E:_,`$1${F}-`).replace(W?S:A,`$1babel-${F}-`).replace(T,`$1/babel-${F}`).replace(m,"")}function*C(F,P){let W=x(F,P),{error:Z,value:ee}=yield W;if(!Z)return ee;if(Z.code!=="MODULE_NOT_FOUND")throw Z;W===P||(yield P).error||(Z.message+=`
|
|
- If you want to resolve "${P}", use "module:${P}"`),(yield x(F,"@babel/"+P)).error||(Z.message+=`
|
|
- Did you mean "@babel/${P}"?`);let J=F==="preset"?"plugin":"preset";if((yield x(J,P)).error||(Z.message+=`
|
|
- Did you accidentally pass a ${J} as a ${F}?`),F==="plugin"){let ne=W.replace("-proposal-","-transform-");ne===W||(yield ne).error||(Z.message+=`
|
|
- Did you mean "${ne}"?`)}throw Z.message+=`
|
|
|
|
Make sure that all the Babel plugins and presets you are using
|
|
are defined as dependencies or devDependencies in your package.json
|
|
file. It's possible that the missing plugin is loaded by a preset
|
|
you are using that forgot to add the plugin to its dependencies: you
|
|
can workaround this problem by explicitly adding the missing package
|
|
to your top-level package.json.
|
|
`,Z}function D(F,P){try{return P?{error:null,value:(W=process.versions.node,Z="8.9",W=W.split("."),Z=Z.split("."),+W[0]>+Z[0]||W[0]==Z[0]&&+W[1]>=+Z[1]?c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files sync recursive").resolve:(ee,{paths:[J]},ne=c("module"))=>{let K=ne._findPath(ee,ne._nodeModulePaths(J).concat(J));if(K)return K;throw K=new Error(`Cannot resolve module '${ee}'`),K.code="MODULE_NOT_FOUND",K})(F,{paths:[P]})}:{error:null,value:c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files sync recursive").resolve(F)}}catch(ee){return{error:ee,value:null}}var W,Z}function O(F,P){try{return{error:null,value:(0,p.resolve)(F,P)}}catch(W){return{error:W,value:null}}}function j(F,P,W){let Z=C(F,P),ee=Z.next();for(;!ee.done;)ee=Z.next(D(ee.value,W));return{loader:"require",filepath:ee.value}}function k(F,P,W,Z){if(!a.supportsESM||!Z)return j(F,P,W);try{let ee=function(J,ne,K){let q=(0,l().pathToFileURL)(u().join(K,"./babel-virtual-resolve-base.js")).href,Q=C(J,ne),z=Q.next();for(;!z.done;)z=Q.next(O(z.value,q));return{loader:"auto",filepath:(0,l().fileURLToPath)(z.value)}}(F,P,W);if(!(0,d().existsSync)(ee.filepath))throw Object.assign(new Error(`Could not resolve "${P}" in file ${W}.`),{type:"MODULE_NOT_FOUND"});return ee}catch(ee){try{return j(F,P,W)}catch(J){throw ee.type==="MODULE_NOT_FOUND"?ee:J.type==="MODULE_NOT_FOUND"?J:ee}}}var $=new Set;function*U(F,P,W){if(!(yield*(0,H.isAsync)())&&$.has(W))throw new Error(`Reentrant ${F} detected trying to load "${W}". This module is not ignored and is trying to load itself while compiling itself, leading to a dependency cycle. We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.`);try{return $.add(W),yield*(0,a.default)(W,P,`You appear to be using a native ECMAScript module ${F}, which is only supported when running Babel asynchronously or when using the Node.js \`--experimental-require-module\` flag.`,`You appear to be using a ${F} that contains top-level await, which is only supported when running Babel asynchronously.`,!0)}catch(Z){throw Z.message=`[BABEL]: ${Z.message} (While processing: ${W})`,Z}finally{$.delete(W)}}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files/utils.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.makeStaticFileCache=function(a){return(0,s.makeStrongCache)(function*(l,p){return p.invalidate(()=>function(h){if(!H().existsSync(h))return null;try{return+H().statSync(h).mtime}catch(m){if(m.code!=="ENOENT"&&m.code!=="ENOTDIR")throw m}return null}(l))===null?null:a(l,yield*u.readFile(l,"utf8"))})};var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/caching.js"),u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/gensync-utils/fs.js");function H(){let a=c("fs");return H=function(){return a},a}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/full.js":(o,r,c)=>{"use strict";function s(){let P=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return P},P}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/gensync-utils/async.js"),H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/util.js"),a=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js"),l=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/plugin.js"),p=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/item.js"),d=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/config-chain.js"),h=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/helpers/deep-array.js");function m(){let P=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/index.js");return m=function(){return P},P}var g=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/caching.js"),y=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/validation/options.js"),_=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/validation/plugins.js"),E=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/helpers/config-api.js"),A=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/partial.js"),S=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/errors/config-error.js");r.default=s()(function*(P){var W;let Z=yield*(0,A.default)(P);if(!Z)return null;let{options:ee,context:J,fileHandling:ne}=Z;if(ne==="ignored")return null;let K={},{plugins:q,presets:Q}=ee;if(!q||!Q)throw new Error("Assertion failure - plugins and presets exist");let z=Object.assign({},J,{targets:ee.targets}),ie=je=>{let Oe=(0,p.getItemDescriptor)(je);if(!Oe)throw new Error("Assertion failure - must be config item");return Oe},_e=Q.map(ie),He=q.map(ie),be=[[]],Ve=[],Fe=[];if(yield*T(J,function*je(Oe,re){let fe=[];for(let se=0;se<Oe.length;se++){let Ie=Oe[se];if(Ie.options!==!1){try{var he=yield*U(Ie,z)}catch(ye){throw ye.code==="BABEL_UNKNOWN_OPTION"&&(0,y.checkNoUnwrappedItemOptionPairs)(Oe,se,"preset",ye),ye}Fe.push(he.externalDependencies),Ie.ownPass?fe.push({preset:he.chain,pass:[]}):fe.unshift({preset:he.chain,pass:re})}}if(fe.length>0){be.splice(1,0,...fe.map(se=>se.pass).filter(se=>se!==re));for(let{preset:se,pass:Ie}of fe){if(!se||(Ie.push(...se.plugins),yield*je(se.presets,Ie)))return!0;se.options.forEach(ye=>{(0,H.mergeOptions)(K,ye)})}}})(_e,be[0]))return null;let ce=K;(0,H.mergeOptions)(ce,ee);let ke=Object.assign({},z,{assumptions:(W=ce.assumptions)!=null?W:{}});return yield*T(J,function*(){be[0].unshift(...He);for(let Oe of be){let re=[];Ve.push(re);for(let fe=0;fe<Oe.length;fe++){let he=Oe[fe];if(he.options!==!1){try{var je=yield*D(he,ke)}catch(se){throw se.code==="BABEL_UNKNOWN_PLUGIN_PROPERTY"&&(0,y.checkNoUnwrappedItemOptionPairs)(Oe,fe,"plugin",se),se}re.push(je),Fe.push(je.externalDependencies)}}}})(),ce.plugins=Ve[0],ce.presets=Ve.slice(1).filter(je=>je.length>0).map(je=>({plugins:je})),ce.passPerPreset=ce.presets.length>0,{options:ce,passes:Ve,externalDependencies:(0,h.finalize)(Fe)}});function T(P,W){return function*(Z,ee){try{return yield*W(Z,ee)}catch(ne){var J;throw/^\[BABEL\]/.test(ne.message)||(ne.message=`[BABEL] ${(J=P.filename)!=null?J:"unknown file"}: ${ne.message}`),ne}}}let I=P=>(0,g.makeWeakCache)(function*({value:W,options:Z,dirname:ee,alias:J},ne){if(Z===!1)throw new Error("Assertion failure");Z=Z||{};let K=[],q=W;if(typeof W=="function"){let Q=(0,u.maybeAsync)(W,"You appear to be using an async plugin/preset, but Babel has been called synchronously"),z=Object.assign({},a,P(ne,K));try{q=yield*Q(z,Z,ee)}catch(ie){throw J&&(ie.message+=` (While processing: ${JSON.stringify(J)})`),ie}}if(!q||typeof q!="object")throw new Error("Plugin/Preset did not return an object.");if((0,u.isThenable)(q))throw yield*[],new Error(`You appear to be using a promise as a plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version. As an alternative, you can prefix the promise with "await". (While processing: ${JSON.stringify(J)})`);if(K.length>0&&(!ne.configured()||ne.mode()==="forever")){let Q=`A plugin/preset has external untracked dependencies (${K[0]}), but the cache `;throw ne.configured()?Q+=" has been configured to never be invalidated. ":Q+="has not been configured to be invalidated when the external dependencies change. ",Q+=`Plugins/presets should configure their cache to be invalidated when the external dependencies change, for example using \`api.cache.invalidate(() => statSync(filepath).mtimeMs)\` or \`api.cache.never()\`
|
|
(While processing: ${JSON.stringify(J)})`,new Error(Q)}return{value:q,options:Z,dirname:ee,alias:J,externalDependencies:(0,h.finalize)(K)}}),L=I(E.makePluginAPI),x=I(E.makePresetAPI),C=(0,g.makeWeakCache)(function*({value:P,options:W,dirname:Z,alias:ee,externalDependencies:J},ne){let K=(0,_.validatePluginObject)(P),q=Object.assign({},K);if(q.visitor&&(q.visitor=m().default.explode(Object.assign({},q.visitor))),q.inherits){let Q={name:void 0,alias:`${ee}$inherits`,value:q.inherits,options:W,dirname:Z},z=yield*(0,u.forwardAsync)(D,ie=>ne.invalidate(_e=>ie(Q,_e)));q.pre=F(z.pre,q.pre),q.post=F(z.post,q.post),q.manipulateOptions=F(z.manipulateOptions,q.manipulateOptions),q.visitor=m().default.visitors.merge([z.visitor||{},q.visitor||{}]),z.externalDependencies.length>0&&(J=J.length===0?z.externalDependencies:(0,h.finalize)([J,z.externalDependencies]))}return new l.default(q,W,ee,J)});function*D(P,W){if(P.value instanceof l.default){if(P.options)throw new Error("Passed options to an existing Plugin instance will not work.");return P.value}return yield*C(yield*L(P,W),W)}let O=P=>P&&typeof P!="function",j=(P,W)=>{if(O(P.test)||O(P.include)||O(P.exclude)){let Z=W.name?`"${W.name}"`:"/* your preset */";throw new S.default([`Preset ${Z} requires a filename to be set when babel is called directly,`,"```",`babel.transformSync(code, { filename: 'file.ts', presets: [${Z}] });`,"```","See https://babeljs.io/docs/en/options#filename for more information."].join(`
|
|
`))}},k=(P,W,Z)=>{if(!W.filename){var ee;let{options:J}=P;j(J,Z),(ee=J.overrides)==null||ee.forEach(ne=>j(ne,Z))}},$=(0,g.makeWeakCacheSync)(({value:P,dirname:W,alias:Z,externalDependencies:ee})=>({options:(0,y.validate)("preset",P),alias:Z,dirname:W,externalDependencies:ee}));function*U(P,W){let Z=$(yield*x(P,W));return k(Z,W,P),{chain:yield*(0,d.buildPresetChain)(Z,W),externalDependencies:Z.externalDependencies}}function F(P,W){let Z=[P,W].filter(Boolean);return Z.length<=1?Z[0]:function(...ee){for(let J of Z)J.apply(this,ee)}}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/helpers/config-api.js":(o,r,c)=>{"use strict";function s(){let d=c("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return s=function(){return d},d}Object.defineProperty(r,"__esModule",{value:!0}),r.makeConfigAPI=a,r.makePluginAPI=function(d,h){return Object.assign({},l(d,h),{assumption:m=>d.using(g=>g.assumptions[m])})},r.makePresetAPI=l;var u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js"),H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/caching.js");function a(d){return{version:u.version,cache:d.simple(),env:h=>d.using(m=>h===void 0?m.envName:typeof h=="function"?(0,H.assertSimpleType)(h(m.envName)):(Array.isArray(h)?h:[h]).some(g=>{if(typeof g!="string")throw new Error("Unexpected non-string value");return g===m.envName})),async:()=>!1,caller:h=>d.using(m=>(0,H.assertSimpleType)(h(m.caller))),assertVersion:p}}function l(d,h){return Object.assign({},a(d),{targets:()=>JSON.parse(d.using(m=>JSON.stringify(m.targets))),addExternalDependency:m=>{h.push(m)}})}function p(d){if(typeof d=="number"){if(!Number.isInteger(d))throw new Error("Expected string or integer value.");d=`^${d}.0.0-0`}if(typeof d!="string")throw new Error("Expected string or integer value.");if(d==="*"||s().satisfies(u.version,d))return;let h=Error.stackTraceLimit;typeof h=="number"&&h<25&&(Error.stackTraceLimit=25);let m=new Error(`Requires Babel "${d}", but was loaded with "${u.version}". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.`);throw typeof h=="number"&&(Error.stackTraceLimit=h),Object.assign(m,{code:"BABEL_VERSION_UNSUPPORTED",version:u.version,range:d})}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/helpers/deep-array.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.finalize=function(c){return Object.freeze(c)},r.flattenToSet=function(c){let s=new Set,u=[c];for(;u.length>0;)for(let H of u.pop())Array.isArray(H)?u.push(H):s.add(H);return s}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/helpers/environment.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getEnv=function(c="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||c}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/index.js":(o,r,c)=>{"use strict";function s(){let _=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return _},_}Object.defineProperty(r,"__esModule",{value:!0}),r.createConfigItem=function(_,E,A){if(A!==void 0)(0,l.beginHiddenCallStack)(g.errback)(_,E,A);else{if(typeof E!="function")return y(_,E);(0,l.beginHiddenCallStack)(g.errback)(_,void 0,A)}},r.createConfigItemAsync=function(..._){return(0,l.beginHiddenCallStack)(g.async)(..._)},r.createConfigItemSync=y,Object.defineProperty(r,"default",{enumerable:!0,get:function(){return u.default}}),r.loadOptions=function(_,E){if(E!==void 0)(0,l.beginHiddenCallStack)(h.errback)(_,E);else{if(typeof _!="function")return m(_);(0,l.beginHiddenCallStack)(h.errback)(void 0,_)}},r.loadOptionsAsync=function(..._){return(0,l.beginHiddenCallStack)(h.async)(..._)},r.loadOptionsSync=m,r.loadPartialConfig=function(_,E){if(E!==void 0)(0,l.beginHiddenCallStack)(p.errback)(_,E);else{if(typeof _!="function")return d(_);(0,l.beginHiddenCallStack)(p.errback)(void 0,_)}},r.loadPartialConfigAsync=function(..._){return(0,l.beginHiddenCallStack)(p.async)(..._)},r.loadPartialConfigSync=d;var u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/full.js"),H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/partial.js"),a=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/item.js"),l=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let p=s()(H.loadPartialConfig);function d(..._){return(0,l.beginHiddenCallStack)(p.sync)(..._)}let h=s()(function*(_){var E;let A=yield*(0,u.default)(_);return(E=A?.options)!=null?E:null});function m(..._){return(0,l.beginHiddenCallStack)(h.sync)(..._)}let g=s()(a.createConfigItem);function y(..._){return(0,l.beginHiddenCallStack)(g.sync)(..._)}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/item.js":(o,r,c)=>{"use strict";function s(){let p=c("path");return s=function(){return p},p}Object.defineProperty(r,"__esModule",{value:!0}),r.createConfigItem=function*(p,{dirname:d=".",type:h}={}){return H(yield*(0,u.createDescriptor)(p,s().resolve(d),{type:h,alias:"programmatic item"}))},r.createItemFromDescriptor=H,r.getItemDescriptor=function(p){if(p!=null&&p[a])return p._descriptor};var u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/config-descriptors.js");function H(p){return new l(p)}let a=Symbol.for("@babel/core@7 - ConfigItem");class l{constructor(d){this._descriptor=void 0,this[a]=!0,this.value=void 0,this.options=void 0,this.dirname=void 0,this.name=void 0,this.file=void 0,this._descriptor=d,Object.defineProperty(this,"_descriptor",{enumerable:!1}),Object.defineProperty(this,a,{enumerable:!1}),this.value=this._descriptor.value,this.options=this._descriptor.options,this.dirname=this._descriptor.dirname,this.name=this._descriptor.name,this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:void 0,Object.freeze(this)}}Object.freeze(l.prototype)},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/partial.js":(o,r,c)=>{"use strict";function s(){let E=c("path");return s=function(){return E},E}Object.defineProperty(r,"__esModule",{value:!0}),r.default=y,r.loadPartialConfig=function*(E){let A=!1;if(typeof E=="object"&&E!==null&&!Array.isArray(E)){var S=E;({showIgnoredFiles:A}=S),E=function(j,k){if(j==null)return{};var $={};for(var U in j)if({}.hasOwnProperty.call(j,U)){if(k.includes(U))continue;$[U]=j[U]}return $}(S,g)}let T=yield*y(E);if(!T)return null;let{options:I,babelrc:L,ignore:x,config:C,fileHandling:D,files:O}=T;return D==="ignored"&&!A?null:((I.plugins||[]).forEach(j=>{if(j.value instanceof u.default)throw new Error("Passing cached plugin instances is not supported in babel.loadPartialConfig()")}),new _(I,L?L.filepath:void 0,x?x.filepath:void 0,C?C.filepath:void 0,D,O))};var u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/plugin.js"),H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/util.js"),a=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/item.js"),l=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/config-chain.js"),p=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/helpers/environment.js"),d=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/validation/options.js"),h=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files/index.js"),m=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/resolve-targets.js");let g=["showIgnoredFiles"];function*y(E){if(E!=null&&(typeof E!="object"||Array.isArray(E)))throw new Error("Babel options must be an object, null, or undefined");let A=E?(0,d.validate)("arguments",E):{},{envName:S=(0,p.getEnv)(),cwd:T=".",root:I=".",rootMode:L="root",caller:x,cloneInputAst:C=!0}=A,D=s().resolve(T),O=function(F,P){switch(P){case"root":return F;case"upward-optional":{let W=(0,h.findConfigUpwards)(F);return W===null?F:W}case"upward":{let W=(0,h.findConfigUpwards)(F);if(W!==null)return W;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not be found when searching upward from "${F}".
|
|
One of the following config files must be in the directory tree: "${h.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:F})}default:throw new Error("Assertion failure - unknown rootMode value.")}}(s().resolve(D,I),L),j=typeof A.filename=="string"?s().resolve(T,A.filename):void 0,k={filename:j,cwd:D,root:O,envName:S,caller:x,showConfig:(yield*(0,h.resolveShowConfigPath)(D))===j},$=yield*(0,l.buildRootChain)(A,k);if(!$)return null;let U={assumptions:{}};return $.options.forEach(F=>{(0,H.mergeOptions)(U,F)}),{options:Object.assign({},U,{targets:(0,m.resolveTargets)(U,O),cloneInputAst:C,babelrc:!1,configFile:!1,browserslistConfigFile:!1,passPerPreset:!1,envName:k.envName,cwd:k.cwd,root:k.root,rootMode:"root",filename:typeof k.filename=="string"?k.filename:void 0,plugins:$.plugins.map(F=>(0,a.createItemFromDescriptor)(F)),presets:$.presets.map(F=>(0,a.createItemFromDescriptor)(F))}),context:k,fileHandling:$.fileHandling,ignore:$.ignore,babelrc:$.babelrc,config:$.config,files:$.files}}class _{constructor(A,S,T,I,L,x){this.options=void 0,this.babelrc=void 0,this.babelignore=void 0,this.config=void 0,this.fileHandling=void 0,this.files=void 0,this.options=A,this.babelignore=T,this.babelrc=S,this.config=I,this.fileHandling=L,this.files=x,Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==void 0||this.config!==void 0}}Object.freeze(_.prototype)},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/pattern-to-regex.js":(o,r,c)=>{"use strict";function s(){let g=c("path");return s=function(){return g},g}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(g,y){let _=s().resolve(y,g).split(s().sep);return new RegExp(["^",..._.map((E,A)=>{let S=A===_.length-1;return E==="**"?S?h:d:E==="*"?S?p:l:E.indexOf("*.")===0?a+m(E.slice(1))+(S?H:u):m(E)+(S?H:u)})].join(""))};let u=`\\${s().sep}`,H=`(?:${u}|$)`,a=`[^${u}]+`,l=`(?:${a}${u})`,p=`(?:${a}${H})`,d=`${l}*?`,h=`${l}*?${p}?`;function m(g){return g.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/plugin.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/helpers/deep-array.js");r.default=class{constructor(u,H,a,l=(0,s.finalize)([])){this.key=void 0,this.manipulateOptions=void 0,this.post=void 0,this.pre=void 0,this.visitor=void 0,this.parserOverride=void 0,this.generatorOverride=void 0,this.options=void 0,this.externalDependencies=void 0,this.key=u.name||a,this.manipulateOptions=u.manipulateOptions,this.post=u.post,this.pre=u.pre,this.visitor=u.visitor||{},this.parserOverride=u.parserOverride,this.generatorOverride=u.generatorOverride,this.options=H,this.externalDependencies=l}}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/printer.js":(o,r,c)=>{"use strict";function s(){let p=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return p},p}Object.defineProperty(r,"__esModule",{value:!0}),r.ConfigPrinter=r.ChainFormatter=void 0;let u=r.ChainFormatter={Programmatic:0,Config:1},H={title(p,d,h){let m="";return p===u.Programmatic?(m="programmatic options",d&&(m+=" from "+d)):m="config "+h,m},loc(p,d){let h="";return p!=null&&(h+=`.overrides[${p}]`),d!=null&&(h+=`.env["${d}"]`),h},*optionsAndDescriptors(p){let d=Object.assign({},p.options);delete d.overrides,delete d.env;let h=[...yield*p.plugins()];h.length&&(d.plugins=h.map(g=>a(g)));let m=[...yield*p.presets()];return m.length&&(d.presets=[...m].map(g=>a(g))),JSON.stringify(d,void 0,2)}};function a(p){var d;let h=(d=p.file)==null?void 0:d.request;return h==null&&(typeof p.value=="object"?h=p.value:typeof p.value=="function"&&(h=`[Function: ${p.value.toString().slice(0,50)} ... ]`)),h==null&&(h="[Unknown]"),p.options===void 0?h:p.name==null?[h,p.options]:[h,p.options,p.name]}class l{constructor(){this._stack=[]}configure(d,h,{callerName:m,filepath:g}){return d?(y,_,E)=>{this._stack.push({type:h,callerName:m,filepath:g,content:y,index:_,envName:E})}:()=>{}}static*format(d){let h=H.title(d.type,d.callerName,d.filepath),m=H.loc(d.index,d.envName);return m&&(h+=` ${m}`),`${h}
|
|
${yield*H.optionsAndDescriptors(d.content)}`}*output(){return this._stack.length===0?"":(yield*s().all(this._stack.map(d=>l.format(d)))).join(`
|
|
|
|
`)}}r.ConfigPrinter=l},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/resolve-targets.js":(o,r,c)=>{"use strict";function s(){let H=c("path");return s=function(){return H},H}function u(){let H=c("./stubs/helper-compilation-targets.mjs");return u=function(){return H},H}Object.defineProperty(r,"__esModule",{value:!0}),r.resolveBrowserslistConfigFile=function(H,a){return s().resolve(a,H)},r.resolveTargets=function(H,a){let l=H.targets,p;typeof l=="string"||Array.isArray(l)?p={browsers:l}:l&&(p="esmodules"in l?Object.assign({},l,{esmodules:"intersect"}):l);let{browserslistConfigFile:d}=H,h,m=!1;return typeof d=="string"?h=d:m=d===!1,(0,u().default)(p,{ignoreBrowserslistConfig:m,configFile:h,configPath:a,browserslistEnv:H.browserslistEnv})}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/util.js":(o,r)=>{"use strict";function c(s,u){for(let H of Object.keys(u)){let a=u[H];a!==void 0&&(s[H]=a)}}Object.defineProperty(r,"__esModule",{value:!0}),r.isIterableIterator=function(s){return!!s&&typeof s.next=="function"&&typeof s[Symbol.iterator]=="function"},r.mergeOptions=function(s,u){for(let H of Object.keys(u))if(H!=="parserOpts"&&H!=="generatorOpts"&&H!=="assumptions"||!u[H]){let a=u[H];a!==void 0&&(s[H]=a)}else{let a=u[H];c(s[H]||(s[H]={}),a)}}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/validation/option-assertions.js":(o,r,c)=>{"use strict";function s(){let _=c("./stubs/helper-compilation-targets.mjs");return s=function(){return _},_}Object.defineProperty(r,"__esModule",{value:!0}),r.access=a,r.assertArray=d,r.assertAssumptions=function(_,E){if(E===void 0)return;if(typeof E!="object"||E===null)throw new Error(`${H(_)} must be an object or undefined.`);let A=_;do A=A.parent;while(A.type!=="root");let S=A.source==="preset";for(let T of Object.keys(E)){let I=a(_,T);if(!u.assumptionsNames.has(T))throw new Error(`${H(I)} is not a supported assumption.`);if(typeof E[T]!="boolean")throw new Error(`${H(I)} must be a boolean.`);if(S&&E[T]===!1)throw new Error(`${H(I)} cannot be set to 'false' inside presets.`)}return E},r.assertBabelrcSearch=function(_,E){if(E===void 0||typeof E=="boolean")return E;if(Array.isArray(E))E.forEach((A,S)=>{if(!h(A))throw new Error(`${H(a(_,S))} must be a string/Function/RegExp.`)});else if(!h(E))throw new Error(`${H(_)} must be a undefined, a boolean, a string/Function/RegExp or an array of those, got ${JSON.stringify(E)}`);return E},r.assertBoolean=l,r.assertCallerMetadata=function(_,E){let A=p(_,E);if(A){if(typeof A.name!="string")throw new Error(`${H(_)} set but does not contain "name" property string`);for(let S of Object.keys(A)){let T=a(_,S),I=A[S];if(I!=null&&typeof I!="boolean"&&typeof I!="string"&&typeof I!="number")throw new Error(`${H(T)} must be null, undefined, a boolean, a string, or a number.`)}}return E},r.assertCompact=function(_,E){if(E!==void 0&&typeof E!="boolean"&&E!=="auto")throw new Error(`${H(_)} must be a boolean, "auto", or undefined`);return E},r.assertConfigApplicableTest=function(_,E){if(E===void 0)return E;if(Array.isArray(E))E.forEach((A,S)=>{if(!h(A))throw new Error(`${H(a(_,S))} must be a string/Function/RegExp.`)});else if(!h(E))throw new Error(`${H(_)} must be a string/Function/RegExp, or an array of those`);return E},r.assertConfigFileSearch=function(_,E){if(E!==void 0&&typeof E!="boolean"&&typeof E!="string")throw new Error(`${H(_)} must be a undefined, a boolean, a string, got ${JSON.stringify(E)}`);return E},r.assertFunction=function(_,E){if(E!==void 0&&typeof E!="function")throw new Error(`${H(_)} must be a function, or undefined`);return E},r.assertIgnoreList=function(_,E){let A=d(_,E);return A?.forEach((S,T)=>function(I,L){if(typeof L!="string"&&typeof L!="function"&&!(L instanceof RegExp))throw new Error(`${H(I)} must be an array of string/Function/RegExp values, or undefined`);return L}(a(_,T),S)),A},r.assertInputSourceMap=function(_,E){if(E!==void 0&&typeof E!="boolean"&&(typeof E!="object"||!E))throw new Error(`${H(_)} must be a boolean, object, or undefined`);return E},r.assertObject=p,r.assertPluginList=function(_,E){let A=d(_,E);return A&&A.forEach((S,T)=>function(I,L){if(Array.isArray(L)){if(L.length===0)throw new Error(`${H(I)} must include an object`);if(L.length>3)throw new Error(`${H(I)} may only be a two-tuple or three-tuple`);if(m(a(I,0),L[0]),L.length>1){let x=L[1];if(x!==void 0&&x!==!1&&(typeof x!="object"||Array.isArray(x)||x===null))throw new Error(`${H(a(I,1))} must be an object, false, or undefined`)}if(L.length===3){let x=L[2];if(x!==void 0&&typeof x!="string")throw new Error(`${H(a(I,2))} must be a string, or undefined`)}}else m(I,L);return L}(a(_,T),S)),A},r.assertRootMode=function(_,E){if(E!==void 0&&E!=="root"&&E!=="upward"&&E!=="upward-optional")throw new Error(`${H(_)} must be a "root", "upward", "upward-optional" or undefined`);return E},r.assertSourceMaps=function(_,E){if(E!==void 0&&typeof E!="boolean"&&E!=="inline"&&E!=="both")throw new Error(`${H(_)} must be a boolean, "inline", "both", or undefined`);return E},r.assertSourceType=function(_,E){if(E!==void 0&&E!=="module"&&E!=="script"&&E!=="unambiguous")throw new Error(`${H(_)} must be "module", "script", "unambiguous", or undefined`);return E},r.assertString=function(_,E){if(E!==void 0&&typeof E!="string")throw new Error(`${H(_)} must be a string, or undefined`);return E},r.assertTargets=function(_,E){if((0,s().isBrowsersQueryValid)(E))return E;if(typeof E!="object"||!E||Array.isArray(E))throw new Error(`${H(_)} must be a string, an array of strings or an object`);let A=a(_,"browsers"),S=a(_,"esmodules");g(A,E.browsers),l(S,E.esmodules);for(let T of Object.keys(E)){let I=E[T],L=a(_,T);if(T==="esmodules")l(L,I);else if(T==="browsers")g(L,I);else{if(!hasOwnProperty.call(s().TargetNames,T)){let x=Object.keys(s().TargetNames).join(", ");throw new Error(`${H(L)} is not a valid target. Supported targets are ${x}`)}y(L,I)}}return E},r.msg=H;var u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/validation/options.js");function H(_){switch(_.type){case"root":return"";case"env":return`${H(_.parent)}.env["${_.name}"]`;case"overrides":return`${H(_.parent)}.overrides[${_.index}]`;case"option":return`${H(_.parent)}.${_.name}`;case"access":return`${H(_.parent)}[${JSON.stringify(_.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${_.type}`)}}function a(_,E){return{type:"access",name:E,parent:_}}function l(_,E){if(E!==void 0&&typeof E!="boolean")throw new Error(`${H(_)} must be a boolean, or undefined`);return E}function p(_,E){if(E!==void 0&&(typeof E!="object"||Array.isArray(E)||!E))throw new Error(`${H(_)} must be an object, or undefined`);return E}function d(_,E){if(E!=null&&!Array.isArray(E))throw new Error(`${H(_)} must be an array, or undefined`);return E}function h(_){return typeof _=="string"||typeof _=="function"||_ instanceof RegExp}function m(_,E){if((typeof E!="object"||!E)&&typeof E!="string"&&typeof E!="function")throw new Error(`${H(_)} must be a string, object, function`);return E}function g(_,E){if(E!==void 0&&!(0,s().isBrowsersQueryValid)(E))throw new Error(`${H(_)} must be undefined, a string or an array of strings`)}function y(_,E){if((typeof E!="number"||Math.round(E)!==E)&&typeof E!="string")throw new Error(`${H(_)} must be a string or an integer number`)}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/validation/options.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.assumptionsNames=void 0,r.checkNoUnwrappedItemOptionPairs=function(y,_,E,A){if(_===0)return;let S=y[_-1],T=y[_];S.file&&S.options===void 0&&typeof T.value=="object"&&(A.message+=`
|
|
- Maybe you meant to use
|
|
"${E}s": [
|
|
["${S.file.request}", ${JSON.stringify(T.value,void 0,2)}]
|
|
]
|
|
To be a valid ${E}, its name and options should be wrapped in a pair of brackets`)},r.validate=function(y,_,E){try{return m({type:"root",source:y},_)}catch(A){let S=new H.default(A.message,E);throw A.code&&(S.code=A.code),S}};var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/validation/removed.js"),u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/validation/option-assertions.js"),H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/errors/config-error.js");let a={cwd:u.assertString,root:u.assertString,rootMode:u.assertRootMode,configFile:u.assertConfigFileSearch,caller:u.assertCallerMetadata,filename:u.assertString,filenameRelative:u.assertString,code:u.assertBoolean,ast:u.assertBoolean,cloneInputAst:u.assertBoolean,envName:u.assertString},l={babelrc:u.assertBoolean,babelrcRoots:u.assertBabelrcSearch},p={extends:u.assertString,ignore:u.assertIgnoreList,only:u.assertIgnoreList,targets:u.assertTargets,browserslistConfigFile:u.assertConfigFileSearch,browserslistEnv:u.assertString},d={inputSourceMap:u.assertInputSourceMap,presets:u.assertPluginList,plugins:u.assertPluginList,passPerPreset:u.assertBoolean,assumptions:u.assertAssumptions,env:function(y,_){if(y.parent.type==="env")throw new Error(`${(0,u.msg)(y)} is not allowed inside of another .env block`);let E=y.parent,A=(0,u.assertObject)(y,_);if(A)for(let S of Object.keys(A)){let T=(0,u.assertObject)((0,u.access)(y,S),A[S]);T&&m({type:"env",name:S,parent:E},T)}return A},overrides:function(y,_){if(y.parent.type==="env")throw new Error(`${(0,u.msg)(y)} is not allowed inside an .env block`);if(y.parent.type==="overrides")throw new Error(`${(0,u.msg)(y)} is not allowed inside an .overrides block`);let E=y.parent,A=(0,u.assertArray)(y,_);if(A)for(let[S,T]of A.entries()){let I=(0,u.access)(y,S),L=(0,u.assertObject)(I,T);if(!L)throw new Error(`${(0,u.msg)(I)} must be an object`);m({type:"overrides",index:S,parent:E},L)}return A},test:u.assertConfigApplicableTest,include:u.assertConfigApplicableTest,exclude:u.assertConfigApplicableTest,retainLines:u.assertBoolean,comments:u.assertBoolean,shouldPrintComment:u.assertFunction,compact:u.assertCompact,minified:u.assertBoolean,auxiliaryCommentBefore:u.assertString,auxiliaryCommentAfter:u.assertString,sourceType:u.assertSourceType,wrapPluginVisitorMethod:u.assertFunction,highlightCode:u.assertBoolean,sourceMaps:u.assertSourceMaps,sourceMap:u.assertSourceMaps,sourceFileName:u.assertString,sourceRoot:u.assertString,parserOpts:u.assertObject,generatorOpts:u.assertObject};Object.assign(d,{getModuleId:u.assertFunction,moduleRoot:u.assertString,moduleIds:u.assertBoolean,moduleId:u.assertString}),r.assumptionsNames=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","noUninitializedPrivateFieldAccess","objectRestNoSymbols","privateFieldsAsSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);function h(y){return y.type==="root"?y.source:h(y.parent)}function m(y,_){let E=h(y);return function(A){if(hasOwnProperty.call(A,"sourceMap")&&hasOwnProperty.call(A,"sourceMaps"))throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}(_),Object.keys(_).forEach(A=>{let S={type:"option",name:A,parent:y};if(E==="preset"&&p[A])throw new Error(`${(0,u.msg)(S)} is not allowed in preset options`);if(E!=="arguments"&&a[A])throw new Error(`${(0,u.msg)(S)} is only allowed in root programmatic options`);if(E!=="arguments"&&E!=="configfile"&&l[A])throw E==="babelrcfile"||E==="extendsfile"?new Error(`${(0,u.msg)(S)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, or babel.config.js/config file options`):new Error(`${(0,u.msg)(S)} is only allowed in root programmatic options, or babel.config.js/config file options`);(d[A]||p[A]||l[A]||a[A]||g)(S,_[A])}),_}function g(y){let _=y.name;if(s.default[_]){let{message:E,version:A=5}=s.default[_];throw new Error(`Using removed Babel ${A} option: ${(0,u.msg)(y)} - ${E}`)}{let E=new Error(`Unknown option: ${(0,u.msg)(y)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);throw E.code="BABEL_UNKNOWN_OPTION",E}}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/validation/plugins.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.validatePluginObject=function(H){let a={type:"root",source:"plugin"};return Object.keys(H).forEach(l=>{let p=u[l];if(!p){let d=new Error(`.${l} is not a valid Plugin property`);throw d.code="BABEL_UNKNOWN_PLUGIN_PROPERTY",d}p({type:"option",name:l,parent:a},H[l])}),H};var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/validation/option-assertions.js");let u={name:s.assertString,manipulateOptions:s.assertFunction,pre:s.assertFunction,post:s.assertFunction,inherits:s.assertFunction,visitor:function(H,a){let l=(0,s.assertObject)(H,a);if(l&&(Object.keys(l).forEach(p=>{p!=="_exploded"&&p!=="_verified"&&function(d,h){if(h&&typeof h=="object")Object.keys(h).forEach(m=>{if(m!=="enter"&&m!=="exit")throw new Error(`.visitor["${d}"] may only have .enter and/or .exit handlers.`)});else if(typeof h!="function")throw new Error(`.visitor["${d}"] must be a function`)}(p,l[p])}),l.enter||l.exit))throw new Error(`${(0,s.msg)(H)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`);return l},parserOverride:s.assertFunction,generatorOverride:s.assertFunction}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/validation/removed.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."}}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/errors/config-error.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");class u extends Error{constructor(a,l){super(a),(0,s.expectedError)(this),l&&(0,s.injectVirtualStackFrame)(this,l)}}r.default=u},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js":(o,r)=>{"use strict";var c;Object.defineProperty(r,"__esModule",{value:!0}),r.beginHiddenCallStack=function(m){return u?Object.defineProperty(function(...g){return d(),m(...g)},"name",{value:a}):m},r.endHiddenCallStack=function(m){return u?Object.defineProperty(function(...g){return m(...g)},"name",{value:H}):m},r.expectedError=function(m){if(u)return l.add(m),m},r.injectVirtualStackFrame=function(m,g){if(!u)return;let y=p.get(m);return y||p.set(m,y=[]),y.push(function(_){return Object.create({isNative:()=>!1,isConstructor:()=>!1,isToplevel:()=>!0,getFileName:()=>_,getLineNumber:()=>{},getColumnNumber:()=>{},getFunctionName:()=>{},getMethodName:()=>{},getTypeName:()=>{},toString:()=>_})}(g)),m};let s=Function.call.bind(Error.prototype.toString),u=!!Error.captureStackTrace&&((c=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit"))==null?void 0:c.writable)===!0,H="startHiding - secret - don't use this - v1",a="stopHiding - secret - don't use this - v1",l=new WeakSet,p=new WeakMap;function d(){d=()=>{};let{prepareStackTrace:m=h}=Error;Error.stackTraceLimit&&(Error.stackTraceLimit=Math.max(Error.stackTraceLimit,50)),Error.prepareStackTrace=function(g,y){let _=[],E=l.has(g)?"hiding":"unknown";for(let A=0;A<y.length;A++){let S=y[A].getFunctionName();if(S===H)E="hiding";else if(S===a){if(E==="hiding")E="showing",p.has(g)&&_.unshift(...p.get(g));else if(E==="unknown"){_=y;break}}else E!=="hiding"&&_.push(y[A])}return m(g,_)}}function h(m,g){return g.length===0?s(m):`${s(m)}
|
|
at ${g.join(`
|
|
at `)}`}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/gensync-utils/async.js":(o,r,c)=>{"use strict";function s(){let m=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return m},m}function u(m,g,y,_,E,A,S){try{var T=m[A](S),I=T.value}catch(L){return void y(L)}T.done?g(I):Promise.resolve(I).then(_,E)}function H(m){return function(){var g=this,y=arguments;return new Promise(function(_,E){var A=m.apply(g,y);function S(I){u(A,_,E,S,T,"next",I)}function T(I){u(A,_,E,S,T,"throw",I)}S(void 0)})}}Object.defineProperty(r,"__esModule",{value:!0}),r.forwardAsync=function(m,g){let y=s()(m);return l(_=>{let E=y[_];return g(E)})},r.isAsync=void 0,r.isThenable=h,r.maybeAsync=function(m,g){return s()({sync(...y){let _=m.apply(this,y);if(h(_))throw new Error(g);return _},async(...y){return Promise.resolve(m.apply(this,y))}})},r.waitFor=r.onFirstPause=void 0;let a=s()(function*(m){return yield*m});r.isAsync=s()({sync:()=>!1,errback:m=>m(null,!0)});let l=s()({sync:m=>m("sync"),async:(p=H(function*(m){return m("async")}),function(m){return p.apply(this,arguments)})});var p;r.onFirstPause=s()({name:"onFirstPause",arity:2,sync:function(m){return a.sync(m)},errback:function(m,g,y){let _=!1;a.errback(m,(E,A)=>{_=!0,y(E,A)}),_||g()}}),r.waitFor=s()({sync:m=>m,async:(d=H(function*(m){return m}),function(m){return d.apply(this,arguments)})});var d;function h(m){return!(!m||typeof m!="object"&&typeof m!="function"||!m.then||typeof m.then!="function")}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/gensync-utils/fs.js":(o,r,c)=>{"use strict";function s(){let H=c("fs");return s=function(){return H},H}function u(){let H=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return u=function(){return H},H}Object.defineProperty(r,"__esModule",{value:!0}),r.stat=r.readFile=void 0,r.readFile=u()({sync:s().readFileSync,errback:s().readFile}),r.stat=u()({sync:s().statSync,errback:s().stat})},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/gensync-utils/functional.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.once=function(u){let H,a,l=!1;return function*(){if(!H){if(a)return l=!0,yield*(0,s.waitFor)(a);if(yield*(0,s.isAsync)()){let p,d;a=new Promise((h,m)=>{p=h,d=m});try{H={ok:!0,value:yield*u()},a=null,l&&p(H.value)}catch(h){H={ok:!1,value:h},a=null,l&&d(h)}}else try{H={ok:!0,value:yield*u()}}catch(p){H={ok:!1,value:p}}}if(H.ok)return H.value;throw H.value}};var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/gensync-utils/async.js")},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.DEFAULT_EXTENSIONS=void 0,Object.defineProperty(r,"File",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"buildExternalHelpers",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"createConfigItem",{enumerable:!0,get:function(){return m.createConfigItem}}),Object.defineProperty(r,"createConfigItemAsync",{enumerable:!0,get:function(){return m.createConfigItemAsync}}),Object.defineProperty(r,"createConfigItemSync",{enumerable:!0,get:function(){return m.createConfigItemSync}}),Object.defineProperty(r,"getEnv",{enumerable:!0,get:function(){return a.getEnv}}),Object.defineProperty(r,"loadOptions",{enumerable:!0,get:function(){return m.loadOptions}}),Object.defineProperty(r,"loadOptionsAsync",{enumerable:!0,get:function(){return m.loadOptionsAsync}}),Object.defineProperty(r,"loadOptionsSync",{enumerable:!0,get:function(){return m.loadOptionsSync}}),Object.defineProperty(r,"loadPartialConfig",{enumerable:!0,get:function(){return m.loadPartialConfig}}),Object.defineProperty(r,"loadPartialConfigAsync",{enumerable:!0,get:function(){return m.loadPartialConfigAsync}}),Object.defineProperty(r,"loadPartialConfigSync",{enumerable:!0,get:function(){return m.loadPartialConfigSync}}),Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return E.parse}}),Object.defineProperty(r,"parseAsync",{enumerable:!0,get:function(){return E.parseAsync}}),Object.defineProperty(r,"parseSync",{enumerable:!0,get:function(){return E.parseSync}}),Object.defineProperty(r,"resolvePlugin",{enumerable:!0,get:function(){return H.resolvePlugin}}),Object.defineProperty(r,"resolvePreset",{enumerable:!0,get:function(){return H.resolvePreset}}),Object.defineProperty(r,"template",{enumerable:!0,get:function(){return h().default}}),Object.defineProperty(r,"tokTypes",{enumerable:!0,get:function(){return p().tokTypes}}),Object.defineProperty(r,"transform",{enumerable:!0,get:function(){return g.transform}}),Object.defineProperty(r,"transformAsync",{enumerable:!0,get:function(){return g.transformAsync}}),Object.defineProperty(r,"transformFile",{enumerable:!0,get:function(){return y.transformFile}}),Object.defineProperty(r,"transformFileAsync",{enumerable:!0,get:function(){return y.transformFileAsync}}),Object.defineProperty(r,"transformFileSync",{enumerable:!0,get:function(){return y.transformFileSync}}),Object.defineProperty(r,"transformFromAst",{enumerable:!0,get:function(){return _.transformFromAst}}),Object.defineProperty(r,"transformFromAstAsync",{enumerable:!0,get:function(){return _.transformFromAstAsync}}),Object.defineProperty(r,"transformFromAstSync",{enumerable:!0,get:function(){return _.transformFromAstSync}}),Object.defineProperty(r,"transformSync",{enumerable:!0,get:function(){return g.transformSync}}),Object.defineProperty(r,"traverse",{enumerable:!0,get:function(){return d().default}}),r.version=r.types=void 0;var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/file/file.js"),u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/tools/build-external-helpers.js"),H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/files/index.js"),a=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/helpers/environment.js");function l(){let A=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");return l=function(){return A},A}function p(){let A=c("./node_modules/.pnpm/@babel+parser@7.25.7/node_modules/@babel/parser/lib/index.js");return p=function(){return A},A}function d(){let A=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/index.js");return d=function(){return A},A}function h(){let A=c("./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/index.js");return h=function(){return A},A}Object.defineProperty(r,"types",{enumerable:!0,get:function(){return l()}});var m=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/index.js"),g=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transform.js"),y=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transform-file.js"),_=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transform-ast.js"),E=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/parse.js");c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js"),r.version="7.25.7",r.DEFAULT_EXTENSIONS=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]),r.OptionManager=class{init(A){return(0,m.loadOptionsSync)(A)}},r.Plugin=function(A){throw new Error(`The (${A}) Babel 5 plugin is being run with an unsupported Babel version.`)}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/parse.js":(o,r,c)=>{"use strict";function s(){let d=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return d},d}Object.defineProperty(r,"__esModule",{value:!0}),r.parse=void 0,r.parseAsync=function(...d){return(0,l.beginHiddenCallStack)(p.async)(...d)},r.parseSync=function(...d){return(0,l.beginHiddenCallStack)(p.sync)(...d)};var u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/index.js"),H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/parser/index.js"),a=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/normalize-opts.js"),l=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let p=s()(function*(d,h){let m=yield*(0,u.default)(h);return m===null?null:yield*(0,H.default)(m.passes,(0,a.default)(m),d)});r.parse=function(d,h,m){if(typeof h=="function"&&(m=h,h=void 0),m===void 0)return(0,l.beginHiddenCallStack)(p.sync)(d,h);(0,l.beginHiddenCallStack)(p.errback)(d,h,m)}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/parser/index.js":(o,r,c)=>{"use strict";function s(){let a=c("./node_modules/.pnpm/@babel+parser@7.25.7/node_modules/@babel/parser/lib/index.js");return s=function(){return a},a}function u(){let a=c("./stubs/babel-codeframe.mjs");return u=function(){return a},a}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function*(a,{parserOpts:l,highlightCode:p=!0,filename:d="unknown"},h){try{let m=[];for(let g of a)for(let y of g){let{parserOverride:_}=y;if(_){let E=_(h,l,s().parse);E!==void 0&&m.push(E)}}if(m.length===0)return(0,s().parse)(h,l);if(m.length===1){if(yield*[],typeof m[0].then=="function")throw new Error("You appear to be using an async parser plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");return m[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(m){m.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"&&(m.message+=`
|
|
Consider renaming the file to '.mjs', or setting sourceType:module or sourceType:unambiguous in your Babel config for this file.`);let{loc:g,missingPlugin:y}=m;if(g){let _=(0,u().codeFrameColumns)(h,{start:{line:g.line,column:g.column+1}},{highlightCode:p});m.message=y?`${d}: `+(0,H.default)(y[0],g,_,d):`${d}: ${m.message}
|
|
|
|
`+_,m.code="BABEL_PARSE_ERROR"}throw m}};var H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js")},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H,a,l){let p=`Support for the experimental syntax '${u}' isn't currently enabled (${H.line}:${H.column+1}):
|
|
|
|
`+a,d=c[u];if(d){let{syntax:h,transform:m}=d;if(h){let g=s(h);m?p+=`
|
|
|
|
Add ${s(m)} to the '${m.name.startsWith("@babel/plugin")?"plugins":"presets"}' section of your Babel config to enable transformation.
|
|
If you want to leave it as-is, add ${g} to the 'plugins' section to enable parsing.`:p+=`
|
|
|
|
Add ${g} to the 'plugins' section of your Babel config to enable parsing.`}}return p+=`
|
|
|
|
If you already added the plugin for this syntax to your config, it's possible that your config isn't being loaded.
|
|
You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:
|
|
npx cross-env BABEL_SHOW_CONFIG_FOR=${l==="unknown"?"<name of the input file>":l} <your build command>
|
|
See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
`,p};let c={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-do-expressions"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decimal"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decorators"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-decorators"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-do-expressions"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-do-expressions"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-default-from"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-export-default-from"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-flow"},transform:{name:"@babel/preset-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-flow"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-bind"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-bind"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-sent"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-sent"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx"},transform:{name:"@babel/preset-react",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-react"}},importAttributes:{syntax:{name:"@babel/plugin-syntax-import-attributes",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-pipeline-operator"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-pipeline-operator"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-record-and-tuple"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-throw-expressions"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-throw-expressions"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-typescript"},transform:{name:"@babel/preset-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-typescript"}}};Object.assign(c,{asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-generators"},transform:{name:"@babel/plugin-transform-async-generator-functions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-async-generator-functions"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-private-methods",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-methods"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-syntax-class-static-block"},transform:{name:"@babel/plugin-transform-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-static-block"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-dynamic-import"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-namespace-from"},transform:{name:"@babel/plugin-transform-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-export-namespace-from"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-assertions"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-meta"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-logical-assignment-operators"},transform:{name:"@babel/plugin-transform-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-logical-assignment-operators"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-module-string-names"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-numeric-separator"},transform:{name:"@babel/plugin-transform-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-numeric-separator"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-nullish-coalescing-operator"},transform:{name:"@babel/plugin-transform-nullish-coalescing-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-nullish-coalescing-opearator"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-object-rest-spread"},transform:{name:"@babel/plugin-transform-object-rest-spread",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-object-rest-spread"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-catch-binding"},transform:{name:"@babel/plugin-transform-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-catch-binding"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-chaining"},transform:{name:"@babel/plugin-transform-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-chaining"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-private-property-in-object"},transform:{name:"@babel/plugin-transform-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-property-in-object"}},regexpUnicodeSets:{syntax:{name:"@babel/plugin-syntax-unicode-sets-regex",url:"https://github.com/babel/babel/blob/main/packages/babel-plugin-syntax-unicode-sets-regex/README.md"},transform:{name:"@babel/plugin-transform-unicode-sets-regex",url:"https://github.com/babel/babel/blob/main/packages/babel-plugin-proposalunicode-sets-regex/README.md"}}});let s=({name:u,url:H})=>`${u} (${H})`},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/tools/build-external-helpers.js":(o,r,c)=>{"use strict";function s(){let Z=c("./node_modules/.pnpm/@babel+helpers@7.25.7/node_modules/@babel/helpers/lib/index.js");return s=function(){return Z},Z}function u(){let Z=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/index.js");return u=function(){return Z},Z}function H(){let Z=c("./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/index.js");return H=function(){return Z},Z}function a(){let Z=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");return a=function(){return Z},Z}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(Z,ee="global"){let J,ne={global:$,module:U,umd:F,var:P}[ee];if(!ne)throw new Error(`Unsupported output type ${ee}`);return J=ne(Z),(0,u().default)(J).code};let{arrayExpression:l,assignmentExpression:p,binaryExpression:d,blockStatement:h,callExpression:m,cloneNode:g,conditionalExpression:y,exportNamedDeclaration:_,exportSpecifier:E,expressionStatement:A,functionExpression:S,identifier:T,memberExpression:I,objectExpression:L,program:x,stringLiteral:C,unaryExpression:D,variableDeclaration:O,variableDeclarator:j}=a(),k=Z=>H().default.statement`
|
|
(function (root, factory) {
|
|
if (typeof define === "function" && define.amd) {
|
|
define(AMD_ARGUMENTS, factory);
|
|
} else if (typeof exports === "object") {
|
|
factory(COMMON_ARGUMENTS);
|
|
} else {
|
|
factory(BROWSER_ARGUMENTS);
|
|
}
|
|
})(UMD_ROOT, function (FACTORY_PARAMETERS) {
|
|
FACTORY_BODY
|
|
});
|
|
`(Z);function $(Z){let ee=T("babelHelpers"),J=[],ne=S(null,[T("global")],h(J)),K=x([A(m(ne,[y(d("===",D("typeof",T("global")),C("undefined")),T("self"),T("global"))]))]);return J.push(O("var",[j(ee,p("=",I(T("global"),ee),L([])))])),W(J,ee,Z),K}function U(Z){let ee=[],J=W(ee,null,Z);return ee.unshift(_(null,Object.keys(J).map(ne=>E(g(J[ne]),T(ne))))),x(ee,[],"module")}function F(Z){let ee=T("babelHelpers"),J=[];return J.push(O("var",[j(ee,T("global"))])),W(J,ee,Z),x([k({FACTORY_PARAMETERS:T("global"),BROWSER_ARGUMENTS:p("=",I(T("root"),ee),L([])),COMMON_ARGUMENTS:T("exports"),AMD_ARGUMENTS:l([C("exports")]),FACTORY_BODY:J,UMD_ROOT:T("this")})])}function P(Z){let ee=T("babelHelpers"),J=[];J.push(O("var",[j(ee,L([]))]));let ne=x(J);return W(J,ee,Z),J.push(A(ee)),ne}function W(Z,ee,J){let ne=q=>ee?I(ee,T(q)):T(`_${q}`),K={};return s().list.forEach(function(q){if(J&&!J.includes(q))return;let Q=K[q]=ne(q),{nodes:z}=s().get(q,ne,ee?null:`_${q}`,[],ee?(ie,_e,He)=>{He(be=>p("=",Q,be)),ie.body.push(A(p("=",Q,T(_e))))}:null);Z.push(...z)}),K}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transform-ast.js":(o,r,c)=>{"use strict";function s(){let p=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return p},p}Object.defineProperty(r,"__esModule",{value:!0}),r.transformFromAst=void 0,r.transformFromAstAsync=function(...p){return(0,a.beginHiddenCallStack)(l.async)(...p)},r.transformFromAstSync=function(...p){return(0,a.beginHiddenCallStack)(l.sync)(...p)};var u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/index.js"),H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/index.js"),a=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let l=s()(function*(p,d,h){let m=yield*(0,u.default)(h);if(m===null)return null;if(!p)throw new Error("No AST given");return yield*(0,H.run)(m,d,p)});r.transformFromAst=function(p,d,h,m){let g,y;if(typeof h=="function"?(y=h,g=void 0):(g=h,y=m),y===void 0)return(0,a.beginHiddenCallStack)(l.sync)(p,d,g);(0,a.beginHiddenCallStack)(l.errback)(p,d,g,y)}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transform-file.js":(o,r,c)=>{"use strict";function s(){let p=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return p},p}Object.defineProperty(r,"__esModule",{value:!0}),r.transformFile=function(...p){l.errback(...p)},r.transformFileAsync=function(...p){return l.async(...p)},r.transformFileSync=function(...p){return l.sync(...p)};var u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/index.js"),H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/index.js"),a=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/gensync-utils/fs.js");let l=s()(function*(p,d){let h=Object.assign({},d,{filename:p}),m=yield*(0,u.default)(h);if(m===null)return null;let g=yield*a.readFile(p,"utf8");return yield*(0,H.run)(m,g)})},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transform.js":(o,r,c)=>{"use strict";function s(){let p=c("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return p},p}Object.defineProperty(r,"__esModule",{value:!0}),r.transform=void 0,r.transformAsync=function(...p){return(0,a.beginHiddenCallStack)(l.async)(...p)},r.transformSync=function(...p){return(0,a.beginHiddenCallStack)(l.sync)(...p)};var u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/index.js"),H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/index.js"),a=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let l=s()(function*(p,d){let h=yield*(0,u.default)(d);return h===null?null:yield*(0,H.run)(h,p)});r.transform=function(p,d,h){let m,g;if(typeof d=="function"?(g=d,m=void 0):(m=d,g=h),g===void 0)return(0,a.beginHiddenCallStack)(l.sync)(p,m);(0,a.beginHiddenCallStack)(l.errback)(p,m,g)}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js":(o,r,c)=>{"use strict";function s(){let d=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/index.js");return s=function(){return d},d}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){return H||(H=new u.default(Object.assign({},a,{visitor:s().default.explode(a.visitor)}),{})),H};var u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/plugin.js");let H,a={name:"internal.blockHoist",visitor:{Block:{exit({node:d}){d.body=l(d.body)}},SwitchCase:{exit({node:d}){d.consequent=l(d.consequent)}}}};function l(d){let h=Math.pow(2,30)-1,m=!1;for(let g=0;g<d.length;g++){let y=p(d[g]);if(y>h){m=!0;break}h=y}return m?function(g){let y=Object.create(null);for(let A=0;A<g.length;A++){let S=g[A],T=p(S);(y[T]||(y[T]=[])).push(S)}let _=Object.keys(y).map(A=>+A).sort((A,S)=>S-A),E=0;for(let A of _){let S=y[A];for(let T of S)g[E++]=T}return g}(d.slice()):d}function p(d){let h=d?._blockHoist;return h==null?1:h===!0?2:h}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs":(o,r,c)=>{r.getModuleName=()=>c("./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/index.js").getModuleName},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/file/file.js":(o,r,c)=>{"use strict";function s(){let _=c("./node_modules/.pnpm/@babel+helpers@7.25.7/node_modules/@babel/helpers/lib/index.js");return s=function(){return _},_}function u(){let _=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/index.js");return u=function(){return _},_}function H(){let _=c("./stubs/babel-codeframe.mjs");return H=function(){return _},_}function a(){let _=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");return a=function(){return _},_}function l(){let _=c("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return l=function(){return _},_}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var p=function(_,E){if(!E&&_&&_.__esModule)return _;if(_===null||typeof _!="object"&&typeof _!="function")return{default:_};var A=d(E);if(A&&A.has(_))return A.get(_);var S={__proto__:null},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var I in _)if(I!=="default"&&{}.hasOwnProperty.call(_,I)){var L=T?Object.getOwnPropertyDescriptor(_,I):null;L&&(L.get||L.set)?Object.defineProperty(S,I,L):S[I]=_[I]}return S.default=_,A&&A.set(_,S),S}(c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs"),!0);function d(_){if(typeof WeakMap!="function")return null;var E=new WeakMap,A=new WeakMap;return(d=function(S){return S?A:E})(_)}let{cloneNode:h,interpreterDirective:m}=a(),g={enter(_,E){let A=_.node.loc;A&&(E.loc=A,_.stop())}};class y{constructor(E,{code:A,ast:S,inputMap:T}){this._map=new Map,this.opts=void 0,this.declarations={},this.path=void 0,this.ast=void 0,this.scope=void 0,this.metadata={},this.code="",this.inputMap=void 0,this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)},this.opts=E,this.code=A,this.ast=S,this.inputMap=T,this.path=u().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext(),this.scope=this.path.scope}get shebang(){let{interpreter:E}=this.path.node;return E?E.value:""}set shebang(E){E?this.path.get("interpreter").replaceWith(m(E)):this.path.get("interpreter").remove()}set(E,A){if(E==="helpersNamespace")throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility.If you are using @babel/plugin-external-helpers you will need to use a newer version than the one you currently have installed. If you have your own implementation, you'll want to explore using 'helperGenerator' alongside 'file.availableHelper()'.");this._map.set(E,A)}get(E){return this._map.get(E)}has(E){return this._map.has(E)}availableHelper(E,A){let S;try{S=s().minVersion(E)}catch(T){if(T.code!=="BABEL_HELPER_UNKNOWN")throw T;return!1}return typeof A!="string"||(l().valid(A)&&(A=`^${A}`),!l().intersects(`<${S}`,A)&&!l().intersects(">=8.0.0",A))}addHelper(E){let A=this.declarations[E];if(A)return h(A);let S=this.get("helperGenerator");if(S){let D=S(E);if(D)return D}s().minVersion(E);let T=this.declarations[E]=this.scope.generateUidIdentifier(E),I={};for(let D of s().getDependencies(E))I[D]=this.addHelper(D);let{nodes:L,globals:x}=s().get(E,D=>I[D],T.name,Object.keys(this.scope.getAllBindings()));x.forEach(D=>{this.path.scope.hasBinding(D,!0)&&this.path.scope.rename(D)}),L.forEach(D=>{D._compact=!0});let C=this.path.unshiftContainer("body",L);for(let D of C)D.isVariableDeclaration()&&this.scope.registerDeclaration(D);return T}buildCodeFrameError(E,A,S=SyntaxError){let T=E?.loc;if(!T&&E){let I={loc:null};(0,u().default)(E,g,this.scope,I),T=I.loc;let L="This is an error on an internal node. Probably an internal error.";T&&(L+=" Location has been estimated."),A+=` (${L})`}if(T){let{highlightCode:I=!0}=this.opts;A+=`
|
|
`+(0,H().codeFrameColumns)(this.code,{start:{line:T.start.line,column:T.start.column+1},end:T.end&&T.start.line===T.end.line?{line:T.end.line,column:T.end.column+1}:void 0},{highlightCode:I})}return new S(A)}}r.default=y,y.prototype.addImport=function(){throw new Error("This API has been removed. If you're looking for this functionality in Babel 7, you should import the '@babel/helper-module-imports' module and use the functions exposed from that module, such as 'addNamed' or 'addDefault'.")},y.prototype.addTemplateObject=function(){throw new Error("This function has been moved into the template literal transform itself.")},y.prototype.getModuleName=function(){return p.getModuleName()(this.opts,this.opts)}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/file/generate.js":(o,r,c)=>{"use strict";function s(){let a=c("./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js");return s=function(){return a},a}function u(){let a=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/index.js");return u=function(){return a},a}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(a,l){let{opts:p,ast:d,code:h,inputMap:m}=l,{generatorOpts:g}=p;g.inputSourceMap=m?.toObject();let y=[];for(let S of a)for(let T of S){let{generatorOverride:I}=T;if(I){let L=I(d,g,h,u().default);L!==void 0&&y.push(L)}}let _;if(y.length===0)_=(0,u().default)(d,g,h);else{if(y.length!==1)throw new Error("More than one plugin attempted to override codegen.");if(_=y[0],typeof _.then=="function")throw new Error("You appear to be using an async codegen plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}let{code:E,decodedMap:A=_.map}=_;return _.__mergedMap?A=Object.assign({},_.map):A&&(A=m?(0,H.default)(m.toObject(),A,g.sourceFileName):_.map),p.sourceMaps!=="inline"&&p.sourceMaps!=="both"||(E+=`
|
|
`+s().fromObject(A).toComment()),p.sourceMaps==="inline"&&(A=null),{outputCode:E,outputMap:A}};var H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/file/merge-map.js")},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/file/merge-map.js":(o,r,c)=>{"use strict";function s(){let H=c("./node_modules/.pnpm/@ampproject+remapping@2.3.0/node_modules/@ampproject/remapping/dist/remapping.umd.js");return s=function(){return H},H}function u(H){return Object.assign({},H,{sourceRoot:null})}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H,a,l){let p=l.replace(/\\/g,"/"),d=!1,h=s()(u(a),(m,g)=>m!==p||d?null:(d=!0,g.source="",u(H)));return typeof H.sourceRoot=="string"&&(h.sourceRoot=H.sourceRoot),Object.assign({},h)}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/index.js":(o,r,c)=>{"use strict";function s(){let m=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/index.js");return s=function(){return m},m}Object.defineProperty(r,"__esModule",{value:!0}),r.run=function*(m,g,y){let _=yield*(0,l.default)(m.passes,(0,a.default)(m),g,y),E=_.opts;try{yield*function*(L,x){for(let C of x){let D=[],O=[],j=[];for(let $ of C.concat([(0,H.default)()])){let U=new u.default(L,$.key,$.options);D.push([$,U]),O.push(U),j.push($.visitor)}for(let[$,U]of D){let F=$.pre;if(F){let P=F.call(U,L);if(yield*[],h(P))throw new Error("You appear to be using an plugin with an async .pre, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}}let k=s().default.visitors.merge(j,O,L.opts.wrapPluginVisitorMethod);(0,s().default)(L.ast,k,L.scope);for(let[$,U]of D){let F=$.post;if(F){let P=F.call(U,L);if(yield*[],h(P))throw new Error("You appear to be using an plugin with an async .post, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}}}}(_,m.passes)}catch(L){var A;throw L.message=`${(A=E.filename)!=null?A:"unknown file"}: ${L.message}`,L.code||(L.code="BABEL_TRANSFORM_ERROR"),L}let S,T;try{E.code!==!1&&({outputCode:S,outputMap:T}=(0,p.default)(m.passes,_))}catch(L){var I;throw L.message=`${(I=E.filename)!=null?I:"unknown file"}: ${L.message}`,L.code||(L.code="BABEL_GENERATE_ERROR"),L}return{metadata:_.metadata,options:E,ast:E.ast===!0?_.ast:null,code:S===void 0?null:S,map:T===void 0?null:T,sourceType:_.ast.program.sourceType,externalDependencies:(0,d.flattenToSet)(m.externalDependencies)}};var u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/plugin-pass.js"),H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js"),a=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/normalize-opts.js"),l=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/normalize-file.js"),p=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/file/generate.js"),d=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/config/helpers/deep-array.js");function h(m){return!(!m||typeof m!="object"&&typeof m!="function"||!m.then||typeof m.then!="function")}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/normalize-file.js":(o,r,c)=>{"use strict";function s(){let T=c("fs");return s=function(){return T},T}function u(){let T=c("path");return u=function(){return T},T}function H(){let T=c("./node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/index.js");return H=function(){return T},T}function a(){let T=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");return a=function(){return T},T}function l(){let T=c("./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js");return l=function(){return T},T}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function*(T,I,L,x){if(L=`${L||""}`,x){if(x.type==="Program")x=m(x,[],[]);else if(x.type!=="File")throw new Error("AST root must be a Program or File node");I.cloneInputAst&&(x=(0,h.default)(x))}else x=yield*(0,d.default)(T,I,L);let C=null;if(I.inputSourceMap!==!1){if(typeof I.inputSourceMap=="object"&&(C=l().fromObject(I.inputSourceMap)),!C){let D=S(_,x);if(D)try{C=l().fromComment("//"+D)}catch{y("discarding unknown inline input sourcemap")}}if(!C){let D=S(E,x);if(typeof I.filename=="string"&&D)try{let O=E.exec(D),j=s().readFileSync(u().resolve(u().dirname(I.filename),O[1]),"utf8");C=l().fromJSON(j)}catch(O){y("discarding unknown file input sourcemap",O)}else D&&y("discarding un-loadable file input sourcemap")}}return new p.default(I,{code:L,ast:x,inputMap:C})};var p=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/file/file.js"),d=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/parser/index.js"),h=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/util/clone-deep.js");let{file:m,traverseFast:g}=a(),y=H()("babel:transform:file"),_=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,.*$/,E=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function A(T,I,L){return I&&(I=I.filter(({value:x})=>!T.test(x)||(L=x,!1))),[I,L]}function S(T,I){let L=null;return g(I,x=>{[x.leadingComments,L]=A(T,x.leadingComments,L),[x.innerComments,L]=A(T,x.innerComments,L),[x.trailingComments,L]=A(T,x.trailingComments,L)}),L}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/normalize-opts.js":(o,r,c)=>{"use strict";function s(){let u=c("path");return s=function(){return u},u}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){let{filename:H,cwd:a,filenameRelative:l=typeof H=="string"?s().relative(a,H):"unknown",sourceType:p="module",inputSourceMap:d,sourceMaps:h=!!d,sourceRoot:m=u.options.moduleRoot,sourceFileName:g=s().basename(l),comments:y=!0,compact:_="auto"}=u.options,E=u.options,A=Object.assign({},E,{parserOpts:Object.assign({sourceType:s().extname(l)===".mjs"?"module":p,sourceFileName:H,plugins:[]},E.parserOpts),generatorOpts:Object.assign({filename:H,auxiliaryCommentBefore:E.auxiliaryCommentBefore,auxiliaryCommentAfter:E.auxiliaryCommentAfter,retainLines:E.retainLines,comments:y,shouldPrintComment:E.shouldPrintComment,compact:_,minified:E.minified,sourceMaps:h,sourceRoot:m,sourceFileName:g},E.generatorOpts)});for(let S of u.passes)for(let T of S)T.manipulateOptions&&T.manipulateOptions(A,A.parserOpts);return A}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/plugin-pass.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;class c{constructor(u,H,a){this._map=new Map,this.key=void 0,this.file=void 0,this.opts=void 0,this.cwd=void 0,this.filename=void 0,this.key=H,this.file=u,this.opts=a||{},this.cwd=u.opts.cwd,this.filename=u.opts.filename}set(u,H){this._map.set(u,H)}get(u){return this._map.get(u)}availableHelper(u,H){return this.file.availableHelper(u,H)}addHelper(u){return this.file.addHelper(u)}buildCodeFrameError(u,H,a){return this.file.buildCodeFrameError(u,H,a)}}r.default=c,c.prototype.getModuleName=function(){return this.file.getModuleName()},c.prototype.addImport=function(){this.file.addImport()}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/transformation/util/clone-deep.js":(o,r)=>{"use strict";function c(s,u){if(s!==null){if(u.has(s))return u.get(s);let H;if(Array.isArray(s)){H=new Array(s.length),u.set(s,H);for(let a=0;a<s.length;a++)H[a]=typeof s[a]!="object"?s[a]:c(s[a],u)}else{H={},u.set(s,H);let a=Object.keys(s);for(let l=0;l<a.length;l++){let p=a[l];H[p]=typeof s[p]!="object"?s[p]:c(s[p],u)}}return H}return s}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(s){return typeof s!="object"?s:c(s,new Map)}},"./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/vendor/import-meta-resolve.js":(o,r,c)=>{"use strict";function s(){let Ce=c("assert");return s=function(){return Ce},Ce}function u(){let Ce=function(qe,ot){if(!ot&&qe&&qe.__esModule)return qe;if(qe===null||typeof qe!="object"&&typeof qe!="function")return{default:qe};var Ze=m(ot);if(Ze&&Ze.has(qe))return Ze.get(qe);var Pe={__proto__:null},Qe=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ge in qe)if(Ge!=="default"&&{}.hasOwnProperty.call(qe,Ge)){var we=Qe?Object.getOwnPropertyDescriptor(qe,Ge):null;we&&(we.get||we.set)?Object.defineProperty(Pe,Ge,we):Pe[Ge]=qe[Ge]}return Pe.default=qe,Ze&&Ze.set(qe,Pe),Pe}(c("fs"),!0);return u=function(){return Ce},Ce}function H(){let Ce=c("process");return H=function(){return Ce},Ce}function a(){let Ce=c("url");return a=function(){return Ce},Ce}function l(){let Ce=c("path");return l=function(){return Ce},Ce}function p(){let Ce=c("module");return p=function(){return Ce},Ce}function d(){let Ce=c("v8");return d=function(){return Ce},Ce}function h(){let Ce=c("util");return h=function(){return Ce},Ce}function m(Ce){if(typeof WeakMap!="function")return null;var qe=new WeakMap,ot=new WeakMap;return(m=function(Ze){return Ze?ot:qe})(Ce)}Object.defineProperty(r,"__esModule",{value:!0}),r.moduleResolve=Nt,r.resolve=function(Ce,qe){if(!qe)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return function(ot,Ze={}){let{parentURL:Pe}=Ze,Qe,Ge,we;if(s()(Pe!==void 0,"expected `parentURL` to be defined"),function(Tt){if(Tt!==void 0){if(typeof Tt!="string"&&(Ot=Tt,!(Ot&&typeof Ot=="object"&&"href"in Ot&&typeof Ot.href=="string"&&"protocol"in Ot&&typeof Ot.protocol=="string"&&Ot.href&&Ot.protocol)))throw new E.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],Tt);var Ot}}(Pe),Pe)try{Qe=new(a()).URL(Pe)}catch{}try{if(Ge=pt(ot)?new(a()).URL(ot,Qe):new(a()).URL(ot),we=Ge.protocol,we==="data:")return{url:Ge.href,format:null}}catch{}let Ne=function(Tt,Ot,Pt){if(Pt){let Ir=Pt.protocol;if(Ir==="http:"||Ir==="https:"){if(pt(Tt)){let Lr=Ot?.protocol;if(Lr&&Lr!=="https:"&&Lr!=="http:")throw new Q(Tt,Pt,"remote imports cannot import from a local location.");return{url:Ot?.href||""}}throw p().builtinModules.includes(Tt)?new Q(Tt,Pt,"remote imports cannot import from a local location."):new Q(Tt,Pt,"only relative and absolute specifiers are supported.")}}}(ot,Ge,Qe);if(Ne)return Ne;if(we===void 0&&Ge&&(we=Ge.protocol),we==="node:")return{url:ot};if(Ge&&Ge.protocol==="node:")return{url:ot};let ht=function(Tt){if(Tt!==void 0&&Tt!==ne){if(!Array.isArray(Tt))throw new J("conditions",Tt,"expected an array");return new Set(Tt)}return K}(Ze.conditions),it=Nt(ot,new(a()).URL(Pe),ht,!1);return{url:it.href,format:ee(it,{parentURL:Pe})}}(Ce,{parentURL:qe}).url}catch(ot){let Ze=ot;if((Ze.code==="ERR_UNSUPPORTED_DIR_IMPORT"||Ze.code==="ERR_MODULE_NOT_FOUND")&&typeof Ze.url=="string")return Ze.url;throw ot}};let g={}.hasOwnProperty,y=/^([A-Z][a-z\d]*)+$/,_=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),E={};function A(Ce,qe="and"){return Ce.length<3?Ce.join(` ${qe} `):`${Ce.slice(0,-1).join(", ")}, ${qe} ${Ce[Ce.length-1]}`}let S=new Map,T;function I(Ce,qe,ot){return S.set(Ce,qe),function(Ze,Pe){return Qe;function Qe(...Ge){let we=Error.stackTraceLimit;L()&&(Error.stackTraceLimit=0);let Ne=new Ze;L()&&(Error.stackTraceLimit=we);let ht=function(it,Tt,Ot){let Pt=S.get(it);if(s()(Pt!==void 0,"expected `message` to be found"),typeof Pt=="function")return s()(Pt.length<=Tt.length,`Code: ${it}; The provided arguments length (${Tt.length}) does not match the required ones (${Pt.length}).`),Reflect.apply(Pt,Ot,Tt);let Ir=/%[dfijoOs]/g,Lr=0;for(;Ir.exec(Pt)!==null;)Lr++;return s()(Lr===Tt.length,`Code: ${it}; The provided arguments length (${Tt.length}) does not match the required ones (${Lr}).`),Tt.length===0?Pt:(Tt.unshift(Pt),Reflect.apply(h().format,null,Tt))}(Pe,Ge,Ne);return Object.defineProperties(Ne,{message:{value:ht,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${Pe}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),x(Ne),Ne.code=Pe,Ne}}(ot,Ce)}function L(){try{if(d().startupSnapshot.isBuildingSnapshot())return!1}catch{}let Ce=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return Ce===void 0?Object.isExtensible(Error):g.call(Ce,"writable")&&Ce.writable!==void 0?Ce.writable:Ce.set!==void 0}E.ERR_INVALID_ARG_TYPE=I("ERR_INVALID_ARG_TYPE",(Ce,qe,ot)=>{s()(typeof Ce=="string","'name' must be a string"),Array.isArray(qe)||(qe=[qe]);let Ze="The ";if(Ce.endsWith(" argument"))Ze+=`${Ce} `;else{let we=Ce.includes(".")?"property":"argument";Ze+=`"${Ce}" ${we} `}Ze+="must be ";let Pe=[],Qe=[],Ge=[];for(let we of qe)s()(typeof we=="string","All expected entries have to be of type string"),_.has(we)?Pe.push(we.toLowerCase()):y.exec(we)===null?(s()(we!=="object",'The value "object" should be written as "Object"'),Ge.push(we)):Qe.push(we);if(Qe.length>0){let we=Pe.indexOf("object");we!==-1&&(Pe.slice(we,1),Qe.push("Object"))}return Pe.length>0&&(Ze+=`${Pe.length>1?"one of type":"of type"} ${A(Pe,"or")}`,(Qe.length>0||Ge.length>0)&&(Ze+=" or ")),Qe.length>0&&(Ze+=`an instance of ${A(Qe,"or")}`,Ge.length>0&&(Ze+=" or ")),Ge.length>0&&(Ge.length>1?Ze+=`one of ${A(Ge,"or")}`:(Ge[0].toLowerCase()!==Ge[0]&&(Ze+="an "),Ze+=`${Ge[0]}`)),Ze+=`. Received ${function(we){if(we==null)return String(we);if(typeof we=="function"&&we.name)return`function ${we.name}`;if(typeof we=="object")return we.constructor&&we.constructor.name?`an instance of ${we.constructor.name}`:`${(0,h().inspect)(we,{depth:-1})}`;let Ne=(0,h().inspect)(we,{colors:!1});return Ne.length>28&&(Ne=`${Ne.slice(0,25)}...`),`type ${typeof we} (${Ne})`}(ot)}`,Ze},TypeError),E.ERR_INVALID_MODULE_SPECIFIER=I("ERR_INVALID_MODULE_SPECIFIER",(Ce,qe,ot=void 0)=>`Invalid module "${Ce}" ${qe}${ot?` imported from ${ot}`:""}`,TypeError),E.ERR_INVALID_PACKAGE_CONFIG=I("ERR_INVALID_PACKAGE_CONFIG",(Ce,qe,ot)=>`Invalid package config ${Ce}${qe?` while importing ${qe}`:""}${ot?`. ${ot}`:""}`,Error),E.ERR_INVALID_PACKAGE_TARGET=I("ERR_INVALID_PACKAGE_TARGET",(Ce,qe,ot,Ze=!1,Pe=void 0)=>{let Qe=typeof ot=="string"&&!Ze&&ot.length>0&&!ot.startsWith("./");return qe==="."?(s()(Ze===!1),`Invalid "exports" main target ${JSON.stringify(ot)} defined in the package config ${Ce}package.json${Pe?` imported from ${Pe}`:""}${Qe?'; targets must start with "./"':""}`):`Invalid "${Ze?"imports":"exports"}" target ${JSON.stringify(ot)} defined for '${qe}' in the package config ${Ce}package.json${Pe?` imported from ${Pe}`:""}${Qe?'; targets must start with "./"':""}`},Error),E.ERR_MODULE_NOT_FOUND=I("ERR_MODULE_NOT_FOUND",(Ce,qe,ot=!1)=>`Cannot find ${ot?"module":"package"} '${Ce}' imported from ${qe}`,Error),E.ERR_NETWORK_IMPORT_DISALLOWED=I("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),E.ERR_PACKAGE_IMPORT_NOT_DEFINED=I("ERR_PACKAGE_IMPORT_NOT_DEFINED",(Ce,qe,ot)=>`Package import specifier "${Ce}" is not defined${qe?` in package ${qe}package.json`:""} imported from ${ot}`,TypeError),E.ERR_PACKAGE_PATH_NOT_EXPORTED=I("ERR_PACKAGE_PATH_NOT_EXPORTED",(Ce,qe,ot=void 0)=>qe==="."?`No "exports" main defined in ${Ce}package.json${ot?` imported from ${ot}`:""}`:`Package subpath '${qe}' is not defined by "exports" in ${Ce}package.json${ot?` imported from ${ot}`:""}`,Error),E.ERR_UNSUPPORTED_DIR_IMPORT=I("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),E.ERR_UNSUPPORTED_RESOLVE_REQUEST=I("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),E.ERR_UNKNOWN_FILE_EXTENSION=I("ERR_UNKNOWN_FILE_EXTENSION",(Ce,qe)=>`Unknown file extension "${Ce}" for ${qe}`,TypeError),E.ERR_INVALID_ARG_VALUE=I("ERR_INVALID_ARG_VALUE",(Ce,qe,ot="is invalid")=>{let Ze=(0,h().inspect)(qe);return Ze.length>128&&(Ze=`${Ze.slice(0,128)}...`),`The ${Ce.includes(".")?"property":"argument"} '${Ce}' ${ot}. Received ${Ze}`},TypeError);let x=function(Ce){let qe="__node_internal_"+Ce.name;return Object.defineProperty(Ce,"name",{value:qe}),Ce}(function(Ce){let qe=L();return qe&&(T=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(Ce),qe&&(Error.stackTraceLimit=T),Ce}),C={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:D}=E,O=new Map;function j(Ce,{base:qe,specifier:ot}){let Ze=O.get(Ce);if(Ze)return Ze;let Pe;try{Pe=u().default.readFileSync(l().toNamespacedPath(Ce),"utf8")}catch(Ge){let we=Ge;if(we.code!=="ENOENT")throw we}let Qe={exists:!1,pjsonPath:Ce,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(Pe!==void 0){let Ge;try{Ge=JSON.parse(Pe)}catch(we){let Ne=we,ht=new D(Ce,(qe?`"${ot}" from `:"")+(0,a().fileURLToPath)(qe||ot),Ne.message);throw ht.cause=Ne,ht}Qe.exists=!0,C.call(Ge,"name")&&typeof Ge.name=="string"&&(Qe.name=Ge.name),C.call(Ge,"main")&&typeof Ge.main=="string"&&(Qe.main=Ge.main),C.call(Ge,"exports")&&(Qe.exports=Ge.exports),C.call(Ge,"imports")&&(Qe.imports=Ge.imports),!C.call(Ge,"type")||Ge.type!=="commonjs"&&Ge.type!=="module"||(Qe.type=Ge.type)}return O.set(Ce,Qe),Qe}function k(Ce){let qe=new URL("package.json",Ce);for(;!qe.pathname.endsWith("node_modules/package.json");){let ot=j((0,a().fileURLToPath)(qe),{specifier:Ce});if(ot.exists)return ot;let Ze=qe;if(qe=new URL("../package.json",qe),qe.pathname===Ze.pathname)break}return{pjsonPath:(0,a().fileURLToPath)(qe),exists:!1,type:"none"}}function $(Ce){return k(Ce).type}let{ERR_UNKNOWN_FILE_EXTENSION:U}=E,F={}.hasOwnProperty,P={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"},W={__proto__:null,"data:":function(Ce){let{1:qe}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(Ce.pathname)||[null,null,null];return function(ot){return ot&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(ot)?"module":ot==="application/json"?"json":null}(qe)},"file:":function(Ce,qe,ot){let Ze=function(Ge){let we=Ge.pathname,Ne=we.length;for(;Ne--;){let ht=we.codePointAt(Ne);if(ht===47)return"";if(ht===46)return we.codePointAt(Ne-1)===47?"":we.slice(Ne)}return""}(Ce);if(Ze===".js"){let Ge=$(Ce);return Ge!=="none"?Ge:"commonjs"}if(Ze===""){let Ge=$(Ce);return Ge==="none"||Ge==="commonjs"?"commonjs":"module"}let Pe=P[Ze];if(Pe)return Pe;if(ot)return;let Qe=(0,a().fileURLToPath)(Ce);throw new U(Ze,Qe)},"http:":Z,"https:":Z,"node:":()=>"builtin"};function Z(){}function ee(Ce,qe){let ot=Ce.protocol;return F.call(W,ot)&&W[ot](Ce,qe,!0)||null}let{ERR_INVALID_ARG_VALUE:J}=E,ne=Object.freeze(["node","import"]),K=new Set(ne),q=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:Q,ERR_INVALID_MODULE_SPECIFIER:z,ERR_INVALID_PACKAGE_CONFIG:ie,ERR_INVALID_PACKAGE_TARGET:_e,ERR_MODULE_NOT_FOUND:He,ERR_PACKAGE_IMPORT_NOT_DEFINED:be,ERR_PACKAGE_PATH_NOT_EXPORTED:Ve,ERR_UNSUPPORTED_DIR_IMPORT:Fe,ERR_UNSUPPORTED_RESOLVE_REQUEST:me}=E,ce={}.hasOwnProperty,ke=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,je=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,Oe=/^\.|%|\\/,re=/\*/g,fe=/%2f|%5c/i,he=new Set,se=/[/\\]{2}/;function Ie(Ce,qe,ot,Ze,Pe,Qe,Ge){if(H().noDeprecation)return;let we=(0,a().fileURLToPath)(Ze),Ne=se.exec(Ge?Ce:qe)!==null;H().emitWarning(`Use of deprecated ${Ne?"double slash":"leading or trailing slash matching"} resolving "${Ce}" for module request "${qe}" ${qe===ot?"":`matched to "${ot}" `}in the "${Pe?"imports":"exports"}" field module resolution of the package at ${we}${Qe?` imported from ${(0,a().fileURLToPath)(Qe)}`:""}.`,"DeprecationWarning","DEP0166")}function ye(Ce,qe,ot,Ze){if(H().noDeprecation||ee(Ce,{parentURL:ot.href})!=="module")return;let Pe=(0,a().fileURLToPath)(Ce.href),Qe=(0,a().fileURLToPath)(new(a()).URL(".",qe)),Ge=(0,a().fileURLToPath)(ot);Ze?l().resolve(Qe,Ze)!==Pe&&H().emitWarning(`Package ${Qe} has a "main" field set to "${Ze}", excluding the full filename and extension to the resolved file at "${Pe.slice(Qe.length)}", imported from ${Ge}.
|
|
Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):H().emitWarning(`No "main" or "exports" field defined in the package.json for ${Qe} resolving the main entry point "${Pe.slice(Qe.length)}", imported from ${Ge}.
|
|
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function $e(Ce){try{return(0,u().statSync)(Ce)}catch{}}function nt(Ce){let qe=(0,u().statSync)(Ce,{throwIfNoEntry:!1}),ot=qe?qe.isFile():void 0;return ot!=null&&ot}function et(Ce,qe,ot){let Ze;if(qe.main!==void 0){if(Ze=new(a()).URL(qe.main,Ce),nt(Ze))return Ze;let Ge=[`./${qe.main}.js`,`./${qe.main}.json`,`./${qe.main}.node`,`./${qe.main}/index.js`,`./${qe.main}/index.json`,`./${qe.main}/index.node`],we=-1;for(;++we<Ge.length&&(Ze=new(a()).URL(Ge[we],Ce),!nt(Ze));)Ze=void 0;if(Ze)return ye(Ze,Ce,ot,qe.main),Ze}let Pe=["./index.js","./index.json","./index.node"],Qe=-1;for(;++Qe<Pe.length&&(Ze=new(a()).URL(Pe[Qe],Ce),!nt(Ze));)Ze=void 0;if(Ze)return ye(Ze,Ce,ot,qe.main),Ze;throw new He((0,a().fileURLToPath)(new(a()).URL(".",Ce)),(0,a().fileURLToPath)(ot))}function xe(Ce,qe,ot){return new Ve((0,a().fileURLToPath)(new(a()).URL(".",qe)),Ce,ot&&(0,a().fileURLToPath)(ot))}function pe(Ce,qe,ot,Ze,Pe){return qe=typeof qe=="object"&&qe!==null?JSON.stringify(qe,null,""):`${qe}`,new _e((0,a().fileURLToPath)(new(a()).URL(".",ot)),Ce,qe,Ze,Pe&&(0,a().fileURLToPath)(Pe))}function ue(Ce,qe,ot,Ze,Pe,Qe,Ge,we,Ne){if(qe!==""&&!Qe&&Ce[Ce.length-1]!=="/")throw pe(ot,Ce,Ze,Ge,Pe);if(!Ce.startsWith("./")){if(Ge&&!Ce.startsWith("../")&&!Ce.startsWith("/")){let Ot=!1;try{new(a()).URL(Ce),Ot=!0}catch{}if(!Ot)return At(Qe?q.call(re,Ce,()=>qe):Ce+qe,Ze,Ne)}throw pe(ot,Ce,Ze,Ge,Pe)}if(ke.exec(Ce.slice(2))!==null){if(je.exec(Ce.slice(2))!==null)throw pe(ot,Ce,Ze,Ge,Pe);if(!we){let Ot=Qe?ot.replace("*",()=>qe):ot+qe;Ie(Qe?q.call(re,Ce,()=>qe):Ce,Ot,ot,Ze,Ge,Pe,!0)}}let ht=new(a()).URL(Ce,Ze),it=ht.pathname,Tt=new(a()).URL(".",Ze).pathname;if(!it.startsWith(Tt))throw pe(ot,Ce,Ze,Ge,Pe);if(qe==="")return ht;if(ke.exec(qe)!==null){let Ot=Qe?ot.replace("*",()=>qe):ot+qe;je.exec(qe)===null?we||Ie(Qe?q.call(re,Ce,()=>qe):Ce,Ot,ot,Ze,Ge,Pe,!1):function(Pt,Ir,Lr,_n,_r){let bn=`request is not a valid match in pattern "${Ir}" for the "${_n?"imports":"exports"}" resolution of ${(0,a().fileURLToPath)(Lr)}`;throw new z(Pt,bn,_r&&(0,a().fileURLToPath)(_r))}(Ot,ot,Ze,Ge,Pe)}return Qe?new(a()).URL(q.call(re,ht.href,()=>qe)):new(a()).URL(qe,ht)}function Se(Ce){let qe=Number(Ce);return`${qe}`===Ce&&qe>=0&&qe<4294967295}function Ae(Ce,qe,ot,Ze,Pe,Qe,Ge,we,Ne){if(typeof qe=="string")return ue(qe,ot,Ze,Ce,Pe,Qe,Ge,we,Ne);if(Array.isArray(qe)){let ht=qe;if(ht.length===0)return null;let it,Tt=-1;for(;++Tt<ht.length;){let Ot=ht[Tt],Pt;try{Pt=Ae(Ce,Ot,ot,Ze,Pe,Qe,Ge,we,Ne)}catch(Ir){if(it=Ir,Ir.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw Ir}if(Pt!==void 0){if(Pt!==null)return Pt;it=null}}if(it==null)return null;throw it}if(typeof qe=="object"&&qe!==null){let ht=Object.getOwnPropertyNames(qe),it=-1;for(;++it<ht.length;)if(Se(ht[it]))throw new ie((0,a().fileURLToPath)(Ce),Pe,'"exports" cannot contain numeric property keys.');for(it=-1;++it<ht.length;){let Tt=ht[it];if(Tt==="default"||Ne&&Ne.has(Tt)){let Ot=Ae(Ce,qe[Tt],ot,Ze,Pe,Qe,Ge,we,Ne);if(Ot===void 0)continue;return Ot}}return null}if(qe===null)return null;throw pe(Ze,qe,Ce,Ge,Pe)}function de(Ce,qe,ot){if(H().noDeprecation)return;let Ze=(0,a().fileURLToPath)(qe);he.has(Ze+"|"+Ce)||(he.add(Ze+"|"+Ce),H().emitWarning(`Use of deprecated trailing slash pattern mapping "${Ce}" in the "exports" field module resolution of the package at ${Ze}${ot?` imported from ${(0,a().fileURLToPath)(ot)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function We(Ce,qe,ot,Ze,Pe){let Qe=ot.exports;if(function(it,Tt,Ot){if(typeof it=="string"||Array.isArray(it))return!0;if(typeof it!="object"||it===null)return!1;let Pt=Object.getOwnPropertyNames(it),Ir=!1,Lr=0,_n=-1;for(;++_n<Pt.length;){let _r=Pt[_n],bn=_r===""||_r[0]!==".";if(Lr++==0)Ir=bn;else if(Ir!==bn)throw new ie((0,a().fileURLToPath)(Tt),Ot,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return Ir}(Qe,Ce,Ze)&&(Qe={".":Qe}),ce.call(Qe,qe)&&!qe.includes("*")&&!qe.endsWith("/")){let it=Ae(Ce,Qe[qe],"",qe,Ze,!1,!1,!1,Pe);if(it==null)throw xe(qe,Ce,Ze);return it}let Ge="",we="",Ne=Object.getOwnPropertyNames(Qe),ht=-1;for(;++ht<Ne.length;){let it=Ne[ht],Tt=it.indexOf("*");if(Tt!==-1&&qe.startsWith(it.slice(0,Tt))){qe.endsWith("/")&&de(qe,Ce,Ze);let Ot=it.slice(Tt+1);qe.length>=it.length&&qe.endsWith(Ot)&&tt(Ge,it)===1&&it.lastIndexOf("*")===Tt&&(Ge=it,we=qe.slice(Tt,qe.length-Ot.length))}}if(Ge){let it=Ae(Ce,Qe[Ge],we,Ge,Ze,!0,!1,qe.endsWith("/"),Pe);if(it==null)throw xe(qe,Ce,Ze);return it}throw xe(qe,Ce,Ze)}function tt(Ce,qe){let ot=Ce.indexOf("*"),Ze=qe.indexOf("*"),Pe=ot===-1?Ce.length:ot+1,Qe=Ze===-1?qe.length:Ze+1;return Pe>Qe?-1:Qe>Pe||ot===-1?1:Ze===-1||Ce.length>qe.length?-1:qe.length>Ce.length?1:0}function mt(Ce,qe,ot){if(Ce==="#"||Ce.startsWith("#/")||Ce.endsWith("/"))throw new z(Ce,"is not a valid internal imports specifier name",(0,a().fileURLToPath)(qe));let Ze,Pe=k(qe);if(Pe.exists){Ze=(0,a().pathToFileURL)(Pe.pjsonPath);let Qe=Pe.imports;if(Qe)if(ce.call(Qe,Ce)&&!Ce.includes("*")){let Ge=Ae(Ze,Qe[Ce],"",Ce,qe,!1,!0,!1,ot);if(Ge!=null)return Ge}else{let Ge="",we="",Ne=Object.getOwnPropertyNames(Qe),ht=-1;for(;++ht<Ne.length;){let it=Ne[ht],Tt=it.indexOf("*");if(Tt!==-1&&Ce.startsWith(it.slice(0,-1))){let Ot=it.slice(Tt+1);Ce.length>=it.length&&Ce.endsWith(Ot)&&tt(Ge,it)===1&&it.lastIndexOf("*")===Tt&&(Ge=it,we=Ce.slice(Tt,Ce.length-Ot.length))}}if(Ge){let it=Ae(Ze,Qe[Ge],we,Ge,qe,!0,!0,!1,ot);if(it!=null)return it}}}throw function(Qe,Ge,we){return new be(Qe,Ge&&(0,a().fileURLToPath)(new(a()).URL(".",Ge)),(0,a().fileURLToPath)(we))}(Ce,Ze,qe)}function At(Ce,qe,ot){if(p().builtinModules.includes(Ce))return new(a()).URL("node:"+Ce);let{packageName:Ze,packageSubpath:Pe,isScoped:Qe}=function(it,Tt){let Ot=it.indexOf("/"),Pt=!0,Ir=!1;it[0]==="@"&&(Ir=!0,Ot===-1||it.length===0?Pt=!1:Ot=it.indexOf("/",Ot+1));let Lr=Ot===-1?it:it.slice(0,Ot);if(Oe.exec(Lr)!==null&&(Pt=!1),!Pt)throw new z(it,"is not a valid package name",(0,a().fileURLToPath)(Tt));return{packageName:Lr,packageSubpath:"."+(Ot===-1?"":it.slice(Ot)),isScoped:Ir}}(Ce,qe),Ge=k(qe);if(Ge.exists){let it=(0,a().pathToFileURL)(Ge.pjsonPath);if(Ge.name===Ze&&Ge.exports!==void 0&&Ge.exports!==null)return We(it,Pe,Ge,qe,ot)}let we,Ne=new(a()).URL("./node_modules/"+Ze+"/package.json",qe),ht=(0,a().fileURLToPath)(Ne);do{let it=$e(ht.slice(0,-13));if(!it||!it.isDirectory()){we=ht,Ne=new(a()).URL((Qe?"../../../../node_modules/":"../../../node_modules/")+Ze+"/package.json",Ne),ht=(0,a().fileURLToPath)(Ne);continue}let Tt=j(ht,{base:qe,specifier:Ce});return Tt.exports!==void 0&&Tt.exports!==null?We(Ne,Pe,Tt,qe,ot):Pe==="."?et(Ne,Tt,qe):new(a()).URL(Pe,Ne)}while(ht.length!==we.length);throw new He(Ze,(0,a().fileURLToPath)(qe),!1)}function pt(Ce){return Ce!==""&&(Ce[0]==="/"||function(qe){return qe[0]==="."&&(qe.length===1||qe[1]==="/"||qe[1]==="."&&(qe.length===2||qe[2]==="/"))}(Ce))}function Nt(Ce,qe,ot,Ze){let Pe=qe.protocol,Qe=Pe==="data:"||Pe==="http:"||Pe==="https:",Ge;if(pt(Ce))try{Ge=new(a()).URL(Ce,qe)}catch(we){let Ne=new me(Ce,qe);throw Ne.cause=we,Ne}else if(Pe==="file:"&&Ce[0]==="#")Ge=mt(Ce,qe,ot);else try{Ge=new(a()).URL(Ce)}catch(we){if(Qe&&!p().builtinModules.includes(Ce)){let Ne=new me(Ce,qe);throw Ne.cause=we,Ne}Ge=At(Ce,qe,ot)}return s()(Ge!==void 0,"expected to be defined"),Ge.protocol!=="file:"?Ge:function(we,Ne,ht){if(fe.exec(we.pathname)!==null)throw new z(we.pathname,'must not include encoded "/" or "\\" characters',(0,a().fileURLToPath)(Ne));let it;try{it=(0,a().fileURLToPath)(we)}catch(Ot){let Pt=Ot;throw Object.defineProperty(Pt,"input",{value:String(we)}),Object.defineProperty(Pt,"module",{value:String(Ne)}),Pt}let Tt=$e(it.endsWith("/")?it.slice(-1):it);if(Tt&&Tt.isDirectory()){let Ot=new Fe(it,(0,a().fileURLToPath)(Ne));throw Ot.url=String(we),Ot}if(!Tt||!Tt.isFile()){let Ot=new He(it||we.pathname,Ne&&(0,a().fileURLToPath)(Ne),!0);throw Ot.url=String(we),Ot}if(!ht){let Ot=(0,u().realpathSync)(it),{search:Pt,hash:Ir}=we;(we=(0,a().pathToFileURL)(Ot+(it.endsWith(l().sep)?"/":""))).search=Pt,we.hash=Ir}return we}(Ge,qe,Ze)}},"./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/buffer.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=class{constructor(c,s){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=c,this._indentChar=s;for(let u=0;u<64;u++)this._fastIndentations.push(s.repeat(u));this._allocQueue()}_allocQueue(){let c=this._queue;for(let s=0;s<16;s++)c.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(c,s,u,H,a){let l=this._queueCursor;l===this._queue.length&&this._allocQueue();let p=this._queue[l];p.char=c,p.repeat=s,p.line=u,p.column=H,p.filename=a,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let c=this._map,s={code:(this._buf+this._str).trimRight(),decodedMap:c?.getDecoded(),get __mergedMap(){return this.map},get map(){let u=c?c.get():null;return s.map=u,u},set map(u){Object.defineProperty(s,"map",{value:u,writable:!0})},get rawMappings(){let u=c?.getRawMappings();return s.rawMappings=u,u},set rawMappings(u){Object.defineProperty(s,"rawMappings",{value:u,writable:!0})}};return s}append(c,s){this._flush(),this._append(c,this._sourcePosition,s)}appendChar(c){this._flush(),this._appendChar(c,1,this._sourcePosition)}queue(c){if(c===10)for(;this._queueCursor!==0;){let u=this._queue[this._queueCursor-1].char;if(u!==32&&u!==9)break;this._queueCursor--}let s=this._sourcePosition;this._pushQueue(c,1,s.line,s.column,s.filename)}queueIndentation(c){c!==0&&this._pushQueue(-1,c,void 0,void 0,void 0)}_flush(){let c=this._queueCursor,s=this._queue;for(let u=0;u<c;u++){let H=s[u];this._appendChar(H.char,H.repeat,H)}this._queueCursor=0}_appendChar(c,s,u){if(this._last=c,c===-1){let H=this._fastIndentations[s];this._str+=H!==void 0?H:s>1?this._indentChar.repeat(s):this._indentChar}else this._str+=s>1?String.fromCharCode(c).repeat(s):String.fromCharCode(c);c!==10?(this._mark(u.line,u.column,u.identifierName,u.identifierNamePos,u.filename),this._position.column+=s):(this._position.line++,this._position.column=0),this._canMarkIdName&&(u.identifierName=void 0,u.identifierNamePos=void 0)}_append(c,s,u){let H=c.length,a=this._position;if(this._last=c.charCodeAt(H-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=c,this._appendCount=0):this._str+=c,!u&&!this._map)return void(a.column+=H);let{column:l,identifierName:p,identifierNamePos:d,filename:h}=s,m=s.line;p==null&&d==null||!this._canMarkIdName||(s.identifierName=void 0,s.identifierNamePos=void 0);let g=c.indexOf(`
|
|
`),y=0;for(g!==0&&this._mark(m,l,p,d,h);g!==-1;)a.line++,a.column=0,y=g+1,y<H&&m!==void 0&&this._mark(++m,0,null,null,h),g=c.indexOf(`
|
|
`,y);a.column+=H-y}_mark(c,s,u,H,a){var l;(l=this._map)==null||l.mark(this._position,c,s,u,H,a)}removeTrailingNewline(){let c=this._queueCursor;c!==0&&this._queue[c-1].char===10&&this._queueCursor--}removeLastSemicolon(){let c=this._queueCursor;c!==0&&this._queue[c-1].char===59&&this._queueCursor--}getLastChar(){let c=this._queueCursor;return c!==0?this._queue[c-1].char:this._last}getNewlineCount(){let c=this._queueCursor,s=0;if(c===0)return this._last===10?1:0;for(let u=c-1;u>=0&&this._queue[u].char===10;u--)s++;return s===c&&this._last===10?s+1:s}endsWithCharAndNewline(){let c=this._queue,s=this._queueCursor;if(s!==0)return c[s-1].char!==10?void 0:s>1?c[s-2].char:this._last}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(c,s){if(!this._map)return void s();this.source("start",c);let u=c.identifierName,H=this._sourcePosition;u&&(this._canMarkIdName=!1,H.identifierName=u),s(),u&&(this._canMarkIdName=!0,H.identifierName=void 0,H.identifierNamePos=void 0),this.source("end",c)}source(c,s){this._map&&this._normalizePosition(c,s,0)}sourceWithOffset(c,s,u){this._map&&this._normalizePosition(c,s,u)}_normalizePosition(c,s,u){let H=s[c],a=this._sourcePosition;H&&(a.line=H.line,a.column=Math.max(H.column+u,0),a.filename=s.filename)}getCurrentColumn(){let c=this._queue,s=this._queueCursor,u=-1,H=0;for(let a=0;a<s;a++){let l=c[a];l.char===10&&(u=H),H+=l.repeat}return u===-1?this._position.column+H:H-1-u}getCurrentLine(){let c=0,s=this._queue;for(let u=0;u<this._queueCursor;u++)s[u].char===10&&c++;return this._position.line+c}}},"./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/base.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.BlockStatement=function(u){var H;this.tokenChar(123);let a=this.enterDelimited(),l=(H=u.directives)==null?void 0:H.length;if(l){var p;let d=u.body.length?2:1;this.printSequence(u.directives,{indent:!0,trailingCommentsLineOffset:d}),(p=u.directives[l-1].trailingComments)!=null&&p.length||this.newline(d)}this.printSequence(u.body,{indent:!0}),a(),this.rightBrace(u)},r.Directive=function(u){this.print(u.value),this.semicolon()},r.DirectiveLiteral=function(u){let H=this.getPossibleRaw(u);if(!this.format.minified&&H!==void 0)return void this.token(H);let{value:a}=u;if(s.test(a)){if(c.test(a))throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.");this.token(`'${a}'`)}else this.token(`"${a}"`)},r.File=function(u){u.program&&this.print(u.program.interpreter),this.print(u.program)},r.InterpreterDirective=function(u){this.token(`#!${u.value}`),this.newline(1,!0)},r.Placeholder=function(u){this.token("%%"),this.print(u.name),this.token("%%"),u.expectedNode==="Statement"&&this.semicolon()},r.Program=function(u){var H;this.noIndentInnerCommentsHere(),this.printInnerComments();let a=(H=u.directives)==null?void 0:H.length;if(a){var l;let p=u.body.length?2:1;this.printSequence(u.directives,{trailingCommentsLineOffset:p}),(l=u.directives[a-1].trailingComments)!=null&&l.length||this.newline(p)}this.printSequence(u.body)};let c=/(?:^|[^\\])(?:\\\\)*'/,s=/(?:^|[^\\])(?:\\\\)*"/},"./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/classes.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ClassAccessorProperty=function(a){var l;this.printJoin(a.decorators);let p=(l=a.key.loc)==null||(l=l.end)==null?void 0:l.line;p&&this.catchUp(p),this.tsPrintClassMemberModifiers(a),this.word("accessor",!0),this.space(),a.computed?(this.tokenChar(91),this.print(a.key),this.tokenChar(93)):(this._variance(a),this.print(a.key)),a.optional&&this.tokenChar(63),a.definite&&this.tokenChar(33),this.print(a.typeAnnotation),a.value&&(this.space(),this.tokenChar(61),this.space(),this.print(a.value)),this.semicolon()},r.ClassBody=function(a){if(this.tokenChar(123),a.body.length===0)this.tokenChar(125);else{this.newline();let l=this.enterDelimited();this.printSequence(a.body,{indent:!0}),l(),this.endsWith(10)||this.newline(),this.rightBrace(a)}},r.ClassExpression=r.ClassDeclaration=function(a,l){(u(l)||H(l))&&this._shouldPrintDecoratorsBeforeExport(l)||this.printJoin(a.decorators),a.declare&&(this.word("declare"),this.space()),a.abstract&&(this.word("abstract"),this.space()),this.word("class"),a.id&&(this.space(),this.print(a.id)),this.print(a.typeParameters),a.superClass&&(this.space(),this.word("extends"),this.space(),this.print(a.superClass),this.print(a.superTypeParameters)),a.implements&&(this.space(),this.word("implements"),this.space(),this.printList(a.implements)),this.space(),this.print(a.body)},r.ClassMethod=function(a){this._classMethodHead(a),this.space(),this.print(a.body)},r.ClassPrivateMethod=function(a){this._classMethodHead(a),this.space(),this.print(a.body)},r.ClassPrivateProperty=function(a){this.printJoin(a.decorators),a.static&&(this.word("static"),this.space()),this.print(a.key),this.print(a.typeAnnotation),a.value&&(this.space(),this.tokenChar(61),this.space(),this.print(a.value)),this.semicolon()},r.ClassProperty=function(a){var l;this.printJoin(a.decorators);let p=(l=a.key.loc)==null||(l=l.end)==null?void 0:l.line;p&&this.catchUp(p),this.tsPrintClassMemberModifiers(a),a.computed?(this.tokenChar(91),this.print(a.key),this.tokenChar(93)):(this._variance(a),this.print(a.key)),a.optional&&this.tokenChar(63),a.definite&&this.tokenChar(33),this.print(a.typeAnnotation),a.value&&(this.space(),this.tokenChar(61),this.space(),this.print(a.value)),this.semicolon()},r.StaticBlock=function(a){this.word("static"),this.space(),this.tokenChar(123),a.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(a.body,{indent:!0}),this.rightBrace(a))},r._classMethodHead=function(a){var l;this.printJoin(a.decorators);let p=(l=a.key.loc)==null||(l=l.end)==null?void 0:l.line;p&&this.catchUp(p),this.tsPrintClassMemberModifiers(a),this._methodHead(a)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");let{isExportDefaultDeclaration:u,isExportNamedDeclaration:H}=s},"./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/expressions.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.LogicalExpression=r.BinaryExpression=r.AssignmentExpression=function(h){this.print(h.left),this.space(),h.operator==="in"||h.operator==="instanceof"?this.word(h.operator):(this.token(h.operator),this._endsWithDiv=h.operator==="/"),this.space(),this.print(h.right)},r.AssignmentPattern=function(h){this.print(h.left),(h.left.type==="Identifier"||d(h.left))&&(h.left.optional&&this.tokenChar(63),this.print(h.left.typeAnnotation)),this.space(),this.tokenChar(61),this.space(),this.print(h.right)},r.AwaitExpression=function(h){this.word("await"),h.argument&&(this.space(),this.printTerminatorless(h.argument))},r.BindExpression=function(h){this.print(h.object),this.token("::"),this.print(h.callee)},r.CallExpression=function(h){this.print(h.callee),this.print(h.typeArguments),this.print(h.typeParameters),this.tokenChar(40);let m=this.enterDelimited();this.printList(h.arguments),m(),this.rightParens(h)},r.ConditionalExpression=function(h){this.print(h.test),this.space(),this.tokenChar(63),this.space(),this.print(h.consequent),this.space(),this.tokenChar(58),this.space(),this.print(h.alternate)},r.Decorator=function(h){this.tokenChar(64),this.print(h.expression),this.newline()},r.DoExpression=function(h){h.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(h.body)},r.EmptyStatement=function(){this.semicolon(!0)},r.ExpressionStatement=function(h){this.tokenContext|=u.TokenContext.expressionStatement,this.print(h.expression),this.semicolon()},r.Import=function(){this.word("import")},r.MemberExpression=function(h){if(this.print(h.object),!h.computed&&l(h.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let m=h.computed;if(a(h.property)&&typeof h.property.value=="number"&&(m=!0),m){let g=this.enterDelimited();this.tokenChar(91),this.print(h.property),this.tokenChar(93),g()}else this.tokenChar(46),this.print(h.property)},r.MetaProperty=function(h){this.print(h.meta),this.tokenChar(46),this.print(h.property)},r.ModuleExpression=function(h){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:m}=h;(m.body.length||m.directives.length)&&this.newline(),this.print(m),this.dedent(),this.rightBrace(h)},r.NewExpression=function(h,m){if(this.word("new"),this.space(),this.print(h.callee),this.format.minified&&h.arguments.length===0&&!h.optional&&!H(m,{callee:h})&&!l(m)&&!p(m))return;this.print(h.typeArguments),this.print(h.typeParameters),h.optional&&this.token("?."),this.tokenChar(40);let g=this.enterDelimited();this.printList(h.arguments),g(),this.rightParens(h)},r.OptionalCallExpression=function(h){this.print(h.callee),this.print(h.typeParameters),h.optional&&this.token("?."),this.print(h.typeArguments),this.tokenChar(40);let m=this.enterDelimited();this.printList(h.arguments),m(),this.rightParens(h)},r.OptionalMemberExpression=function(h){let{computed:m}=h,{optional:g,property:y}=h;if(this.print(h.object),!m&&l(y))throw new TypeError("Got a MemberExpression for MemberExpression property");a(y)&&typeof y.value=="number"&&(m=!0),g&&this.token("?."),m?(this.tokenChar(91),this.print(y),this.tokenChar(93)):(g||this.tokenChar(46),this.print(y))},r.ParenthesizedExpression=function(h){this.tokenChar(40);let m=this.enterDelimited();this.print(h.expression),m(),this.rightParens(h)},r.PrivateName=function(h){this.tokenChar(35),this.print(h.id)},r.SequenceExpression=function(h){this.printList(h.expressions)},r.Super=function(){this.word("super")},r.ThisExpression=function(){this.word("this")},r.UnaryExpression=function(h){let{operator:m}=h;m==="void"||m==="delete"||m==="typeof"||m==="throw"?(this.word(m),this.space()):this.token(m),this.print(h.argument)},r.UpdateExpression=function(h){h.prefix?(this.token(h.operator),this.print(h.argument)):(this.print(h.argument,!0),this.token(h.operator))},r.V8IntrinsicIdentifier=function(h){this.tokenChar(37),this.word(h.name)},r.YieldExpression=function(h){this.word("yield",!0),h.delegate?(this.tokenChar(42),h.argument&&(this.space(),this.print(h.argument))):h.argument&&(this.space(),this.printTerminatorless(h.argument))},r._shouldPrintDecoratorsBeforeExport=function(h){return typeof this.format.decoratorsBeforeExport=="boolean"?this.format.decoratorsBeforeExport:typeof h.start=="number"&&h.start===h.declaration.start};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/node/index.js");let{isCallExpression:H,isLiteral:a,isMemberExpression:l,isNewExpression:p,isPattern:d}=s},"./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/flow.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AnyTypeAnnotation=function(){this.word("any")},r.ArrayTypeAnnotation=function(E){this.print(E.elementType,!0),this.tokenChar(91),this.tokenChar(93)},r.BooleanLiteralTypeAnnotation=function(E){this.word(E.value?"true":"false")},r.BooleanTypeAnnotation=function(){this.word("boolean")},r.DeclareClass=function(E,A){l(A)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(E)},r.DeclareExportAllDeclaration=function(E){this.word("declare"),this.space(),u.ExportAllDeclaration.call(this,E)},r.DeclareExportDeclaration=function(E){this.word("declare"),this.space(),this.word("export"),this.space(),E.default&&(this.word("default"),this.space()),g.call(this,E)},r.DeclareFunction=function(E,A){l(A)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(E.id),this.print(E.id.typeAnnotation.typeAnnotation),E.predicate&&(this.space(),this.print(E.predicate)),this.semicolon()},r.DeclareInterface=function(E){this.word("declare"),this.space(),this.InterfaceDeclaration(E)},r.DeclareModule=function(E){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(E.id),this.space(),this.print(E.body)},r.DeclareModuleExports=function(E){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(E.typeAnnotation)},r.DeclareOpaqueType=function(E,A){l(A)||(this.word("declare"),this.space()),this.OpaqueType(E)},r.DeclareTypeAlias=function(E){this.word("declare"),this.space(),this.TypeAlias(E)},r.DeclareVariable=function(E,A){l(A)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(E.id),this.print(E.id.typeAnnotation),this.semicolon()},r.DeclaredPredicate=function(E){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(E.value),this.tokenChar(41)},r.EmptyTypeAnnotation=function(){this.word("empty")},r.EnumBooleanBody=function(E){let{explicitType:A}=E;d(this,"boolean",A),h(this,E)},r.EnumBooleanMember=function(E){m(this,E)},r.EnumDeclaration=function(E){let{id:A,body:S}=E;this.word("enum"),this.space(),this.print(A),this.print(S)},r.EnumDefaultedMember=function(E){let{id:A}=E;this.print(A),this.tokenChar(44)},r.EnumNumberBody=function(E){let{explicitType:A}=E;d(this,"number",A),h(this,E)},r.EnumNumberMember=function(E){m(this,E)},r.EnumStringBody=function(E){let{explicitType:A}=E;d(this,"string",A),h(this,E)},r.EnumStringMember=function(E){m(this,E)},r.EnumSymbolBody=function(E){d(this,"symbol",!0),h(this,E)},r.ExistsTypeAnnotation=function(){this.tokenChar(42)},r.FunctionTypeAnnotation=function(E,A){this.print(E.typeParameters),this.tokenChar(40),E.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(E.this.typeAnnotation),(E.params.length||E.rest)&&(this.tokenChar(44),this.space())),this.printList(E.params),E.rest&&(E.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(E.rest)),this.tokenChar(41);let S=A?.type;S!=null&&(S==="ObjectTypeCallProperty"||S==="ObjectTypeInternalSlot"||S==="DeclareFunction"||S==="ObjectTypeProperty"&&A.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(E.returnType)},r.FunctionTypeParam=function(E){this.print(E.name),E.optional&&this.tokenChar(63),E.name&&(this.tokenChar(58),this.space()),this.print(E.typeAnnotation)},r.IndexedAccessType=function(E){this.print(E.objectType,!0),this.tokenChar(91),this.print(E.indexType),this.tokenChar(93)},r.InferredPredicate=function(){this.tokenChar(37),this.word("checks")},r.InterfaceDeclaration=function(E){this.word("interface"),this.space(),this._interfaceish(E)},r.GenericTypeAnnotation=r.ClassImplements=r.InterfaceExtends=function(E){this.print(E.id),this.print(E.typeParameters,!0)},r.InterfaceTypeAnnotation=function(E){var A;this.word("interface"),(A=E.extends)!=null&&A.length&&(this.space(),this.word("extends"),this.space(),this.printList(E.extends)),this.space(),this.print(E.body)},r.IntersectionTypeAnnotation=function(E){this.printJoin(E.types,{separator:y})},r.MixedTypeAnnotation=function(){this.word("mixed")},r.NullLiteralTypeAnnotation=function(){this.word("null")},r.NullableTypeAnnotation=function(E){this.tokenChar(63),this.print(E.typeAnnotation)},Object.defineProperty(r,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return a.NumericLiteral}}),r.NumberTypeAnnotation=function(){this.word("number")},r.ObjectTypeAnnotation=function(E){E.exact?this.token("{|"):this.tokenChar(123);let A=[...E.properties,...E.callProperties||[],...E.indexers||[],...E.internalSlots||[]];A.length&&(this.newline(),this.space(),this.printJoin(A,{addNewlines(S){if(S&&!A[0])return 1},indent:!0,statement:!0,iterator:()=>{(A.length!==1||E.inexact)&&(this.tokenChar(44),this.space())}}),this.space()),E.inexact&&(this.indent(),this.token("..."),A.length&&this.newline(),this.dedent()),E.exact?this.token("|}"):this.tokenChar(125)},r.ObjectTypeCallProperty=function(E){E.static&&(this.word("static"),this.space()),this.print(E.value)},r.ObjectTypeIndexer=function(E){E.static&&(this.word("static"),this.space()),this._variance(E),this.tokenChar(91),E.id&&(this.print(E.id),this.tokenChar(58),this.space()),this.print(E.key),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(E.value)},r.ObjectTypeInternalSlot=function(E){E.static&&(this.word("static"),this.space()),this.tokenChar(91),this.tokenChar(91),this.print(E.id),this.tokenChar(93),this.tokenChar(93),E.optional&&this.tokenChar(63),E.method||(this.tokenChar(58),this.space()),this.print(E.value)},r.ObjectTypeProperty=function(E){E.proto&&(this.word("proto"),this.space()),E.static&&(this.word("static"),this.space()),E.kind!=="get"&&E.kind!=="set"||(this.word(E.kind),this.space()),this._variance(E),this.print(E.key),E.optional&&this.tokenChar(63),E.method||(this.tokenChar(58),this.space()),this.print(E.value)},r.ObjectTypeSpreadProperty=function(E){this.token("..."),this.print(E.argument)},r.OpaqueType=function(E){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(E.id),this.print(E.typeParameters),E.supertype&&(this.tokenChar(58),this.space(),this.print(E.supertype)),E.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(E.impltype)),this.semicolon()},r.OptionalIndexedAccessType=function(E){this.print(E.objectType),E.optional&&this.token("?."),this.tokenChar(91),this.print(E.indexType),this.tokenChar(93)},r.QualifiedTypeIdentifier=function(E){this.print(E.qualification),this.tokenChar(46),this.print(E.id)},Object.defineProperty(r,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return a.StringLiteral}}),r.StringTypeAnnotation=function(){this.word("string")},r.SymbolTypeAnnotation=function(){this.word("symbol")},r.ThisTypeAnnotation=function(){this.word("this")},r.TupleTypeAnnotation=function(E){this.tokenChar(91),this.printList(E.types),this.tokenChar(93)},r.TypeAlias=function(E){this.word("type"),this.space(),this.print(E.id),this.print(E.typeParameters),this.space(),this.tokenChar(61),this.space(),this.print(E.right),this.semicolon()},r.TypeAnnotation=function(E,A){this.tokenChar(58),this.space(),A.type==="ArrowFunctionExpression"?this.tokenContext|=H.TokenContext.arrowFlowReturnType:E.optional&&this.tokenChar(63),this.print(E.typeAnnotation)},r.TypeCastExpression=function(E){this.tokenChar(40),this.print(E.expression),this.print(E.typeAnnotation),this.tokenChar(41)},r.TypeParameter=function(E){this._variance(E),this.word(E.name),E.bound&&this.print(E.bound),E.default&&(this.space(),this.tokenChar(61),this.space(),this.print(E.default))},r.TypeParameterDeclaration=r.TypeParameterInstantiation=function(E){this.tokenChar(60),this.printList(E.params,{}),this.tokenChar(62)},r.TypeofTypeAnnotation=function(E){this.word("typeof"),this.space(),this.print(E.argument)},r.UnionTypeAnnotation=function(E){this.printJoin(E.types,{separator:_})},r.Variance=function(E){E.kind==="plus"?this.tokenChar(43):this.tokenChar(45)},r.VoidTypeAnnotation=function(){this.word("void")},r._interfaceish=function(E){var A;if(this.print(E.id),this.print(E.typeParameters),(A=E.extends)!=null&&A.length&&(this.space(),this.word("extends"),this.space(),this.printList(E.extends)),E.type==="DeclareClass"){var S,T;(S=E.mixins)!=null&&S.length&&(this.space(),this.word("mixins"),this.space(),this.printList(E.mixins)),(T=E.implements)!=null&&T.length&&(this.space(),this.word("implements"),this.space(),this.printList(E.implements))}this.space(),this.print(E.body)},r._variance=function(E){var A;let S=(A=E.variance)==null?void 0:A.kind;S!=null&&(S==="plus"?this.tokenChar(43):S==="minus"&&this.tokenChar(45))};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/modules.js"),H=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/node/index.js"),a=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/types.js");let{isDeclareExportDeclaration:l,isStatement:p}=s;function d(E,A,S){S&&(E.space(),E.word("of"),E.space(),E.word(A)),E.space()}function h(E,A){let{members:S}=A;E.token("{"),E.indent(),E.newline();for(let T of S)E.print(T),E.newline();A.hasUnknownMembers&&(E.token("..."),E.newline()),E.dedent(),E.token("}")}function m(E,A){E.print(A.id),E.space(),E.token("="),E.space(),E.print(A.init),E.token(",")}function g(E){if(E.declaration){let A=E.declaration;this.print(A),p(A)||this.semicolon()}else this.tokenChar(123),E.specifiers.length&&(this.space(),this.printList(E.specifiers),this.space()),this.tokenChar(125),E.source&&(this.space(),this.word("from"),this.space(),this.print(E.source)),this.semicolon()}function y(){this.space(),this.tokenChar(38),this.space()}function _(){this.space(),this.tokenChar(124),this.space()}},"./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/template-literals.js");Object.keys(s).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===s[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return s[_]}}))});var u=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/expressions.js");Object.keys(u).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===u[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return u[_]}}))});var H=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/statements.js");Object.keys(H).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===H[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return H[_]}}))});var a=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/classes.js");Object.keys(a).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===a[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return a[_]}}))});var l=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/methods.js");Object.keys(l).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===l[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return l[_]}}))});var p=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/modules.js");Object.keys(p).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===p[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return p[_]}}))});var d=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/types.js");Object.keys(d).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===d[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return d[_]}}))});var h=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/flow.js");Object.keys(h).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===h[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return h[_]}}))});var m=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/base.js");Object.keys(m).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===m[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return m[_]}}))});var g=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/jsx.js");Object.keys(g).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===g[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return g[_]}}))});var y=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/typescript.js");Object.keys(y).forEach(function(_){_!=="default"&&_!=="__esModule"&&(_ in r&&r[_]===y[_]||Object.defineProperty(r,_,{enumerable:!0,get:function(){return y[_]}}))})},"./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/jsx.js":(o,r)=>{"use strict";function c(){this.space()}Object.defineProperty(r,"__esModule",{value:!0}),r.JSXAttribute=function(s){this.print(s.name),s.value&&(this.tokenChar(61),this.print(s.value))},r.JSXClosingElement=function(s){this.token("</"),this.print(s.name),this.tokenChar(62)},r.JSXClosingFragment=function(){this.token("</"),this.tokenChar(62)},r.JSXElement=function(s){let u=s.openingElement;if(this.print(u),!u.selfClosing){this.indent();for(let H of s.children)this.print(H);this.dedent(),this.print(s.closingElement)}},r.JSXEmptyExpression=function(){this.printInnerComments()},r.JSXExpressionContainer=function(s){this.tokenChar(123),this.print(s.expression),this.rightBrace(s)},r.JSXFragment=function(s){this.print(s.openingFragment),this.indent();for(let u of s.children)this.print(u);this.dedent(),this.print(s.closingFragment)},r.JSXIdentifier=function(s){this.word(s.name)},r.JSXMemberExpression=function(s){this.print(s.object),this.tokenChar(46),this.print(s.property)},r.JSXNamespacedName=function(s){this.print(s.namespace),this.tokenChar(58),this.print(s.name)},r.JSXOpeningElement=function(s){this.tokenChar(60),this.print(s.name),this.print(s.typeParameters),s.attributes.length>0&&(this.space(),this.printJoin(s.attributes,{separator:c})),s.selfClosing?(this.space(),this.token("/>")):this.tokenChar(62)},r.JSXOpeningFragment=function(){this.tokenChar(60),this.tokenChar(62)},r.JSXSpreadAttribute=function(s){this.tokenChar(123),this.token("..."),this.print(s.argument),this.rightBrace(s)},r.JSXSpreadChild=function(s){this.tokenChar(123),this.token("..."),this.print(s.expression),this.rightBrace(s)},r.JSXText=function(s){let u=this.getPossibleRaw(s);u!==void 0?this.token(u,!0):this.token(s.value,!0)}},"./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/methods.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ArrowFunctionExpression=function(l,p){l.async&&(this.word("async",!0),this.space());let d;this.format.retainLines||l.params.length!==1||!H(d=l.params[0])||function(h,m){var g,y;return!!(h.typeParameters||h.returnType||h.predicate||m.typeAnnotation||m.optional||(g=m.leadingComments)!=null&&g.length||(y=m.trailingComments)!=null&&y.length)}(l,d)?this._params(l,void 0,p):this.print(d,!0),this._predicate(l,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=u.TokenContext.arrowBody,this.print(l.body)},r.FunctionDeclaration=r.FunctionExpression=function(l,p){this._functionHead(l,p),this.space(),this.print(l.body)},r._functionHead=function(l,p){l.async&&(this.word("async"),this._endsWithInnerRaw=!1,this.space()),this.word("function"),l.generator&&(this._endsWithInnerRaw=!1,this.tokenChar(42)),this.space(),l.id&&this.print(l.id),this._params(l,l.id,p),l.type!=="TSDeclareFunction"&&this._predicate(l)},r._methodHead=function(l){let p=l.kind,d=l.key;p!=="get"&&p!=="set"||(this.word(p),this.space()),l.async&&(this.word("async",!0),this.space()),p!=="method"&&p!=="init"||l.generator&&this.tokenChar(42),l.computed?(this.tokenChar(91),this.print(d),this.tokenChar(93)):this.print(d),l.optional&&this.tokenChar(63),this._params(l,l.computed&&l.key.type!=="StringLiteral"?void 0:l.key,void 0)},r._param=function(l){this.printJoin(l.decorators),this.print(l),l.optional&&this.tokenChar(63),this.print(l.typeAnnotation)},r._parameters=function(l){let p=this.enterDelimited(),d=l.length;for(let h=0;h<d;h++)this._param(l[h]),h<l.length-1&&(this.tokenChar(44),this.space());p()},r._params=function(l,p,d){this.print(l.typeParameters);let h=a.call(this,p,d);h&&this.sourceIdentifierName(h.name,h.pos),this.tokenChar(40),this._parameters(l.params),this.tokenChar(41);let m=l.type==="ArrowFunctionExpression";this.print(l.returnType,m),this._noLineTerminator=m},r._predicate=function(l,p){l.predicate&&(l.returnType||this.tokenChar(58),this.space(),this.print(l.predicate,p))};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/node/index.js");let{isIdentifier:H}=s;function a(l,p){let d,h=l;if(!h&&p){let E=p.type;E==="VariableDeclarator"?h=p.id:E==="AssignmentExpression"||E==="AssignmentPattern"?h=p.left:E==="ObjectProperty"||E==="ClassProperty"?p.computed&&p.key.type!=="StringLiteral"||(h=p.key):E!=="ClassPrivateProperty"&&E!=="ClassAccessorProperty"||(h=p.key)}if(h){var m,g;if(h.type==="Identifier")d={pos:(m=h.loc)==null?void 0:m.start,name:((g=h.loc)==null?void 0:g.identifierName)||h.name};else if(h.type==="PrivateName"){var y;d={pos:(y=h.loc)==null?void 0:y.start,name:"#"+h.id.name}}else if(h.type==="StringLiteral"){var _;d={pos:(_=h.loc)==null?void 0:_.start,name:h.value}}return d}}},"./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/modules.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ExportAllDeclaration=function(y){var _,E;this.word("export"),this.space(),y.exportKind==="type"&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),(_=y.attributes)!=null&&_.length||(E=y.assertions)!=null&&E.length?(this.print(y.source,!0),this.space(),this._printAttributes(y)):this.print(y.source),this.semicolon()},r.ExportDefaultDeclaration=function(y){g(this,y),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=u.TokenContext.exportDefault;let _=y.declaration;this.print(_),h(_)||this.semicolon()},r.ExportDefaultSpecifier=function(y){this.print(y.exported)},r.ExportNamedDeclaration=function(y){if(g(this,y),this.word("export"),this.space(),y.declaration){let A=y.declaration;this.print(A),h(A)||this.semicolon()}else{y.exportKind==="type"&&(this.word("type"),this.space());let A=y.specifiers.slice(0),S=!1;for(;;){let T=A[0];if(!a(T)&&!l(T))break;S=!0,this.print(A.shift()),A.length&&(this.tokenChar(44),this.space())}var _,E;(A.length||!A.length&&!S)&&(this.tokenChar(123),A.length&&(this.space(),this.printList(A),this.space()),this.tokenChar(125)),y.source&&(this.space(),this.word("from"),this.space(),(_=y.attributes)!=null&&_.length||(E=y.assertions)!=null&&E.length?(this.print(y.source,!0),this.space(),this._printAttributes(y)):this.print(y.source)),this.semicolon()}},r.ExportNamespaceSpecifier=function(y){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(y.exported)},r.ExportSpecifier=function(y){y.exportKind==="type"&&(this.word("type"),this.space()),this.print(y.local),y.exported&&y.local.name!==y.exported.name&&(this.space(),this.word("as"),this.space(),this.print(y.exported))},r.ImportAttribute=function(y){this.print(y.key),this.tokenChar(58),this.space(),this.print(y.value)},r.ImportDeclaration=function(y){var _,E;this.word("import"),this.space();let A=y.importKind==="type"||y.importKind==="typeof";A?(this.noIndentInnerCommentsHere(),this.word(y.importKind),this.space()):y.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):y.phase&&(this.noIndentInnerCommentsHere(),this.word(y.phase),this.space());let S=y.specifiers.slice(0),T=!!S.length;for(;T;){let I=S[0];if(!p(I)&&!d(I))break;this.print(S.shift()),S.length&&(this.tokenChar(44),this.space())}S.length?(this.tokenChar(123),this.space(),this.printList(S),this.space(),this.tokenChar(125)):A&&!T&&(this.tokenChar(123),this.tokenChar(125)),(T||A)&&(this.space(),this.word("from"),this.space()),(_=y.attributes)!=null&&_.length||(E=y.assertions)!=null&&E.length?(this.print(y.source,!0),this.space(),this._printAttributes(y)):this.print(y.source),this.semicolon()},r.ImportDefaultSpecifier=function(y){this.print(y.local)},r.ImportExpression=function(y){this.word("import"),y.phase&&(this.tokenChar(46),this.word(y.phase)),this.tokenChar(40),this.print(y.source),y.options!=null&&(this.tokenChar(44),this.space(),this.print(y.options)),this.tokenChar(41)},r.ImportNamespaceSpecifier=function(y){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(y.local)},r.ImportSpecifier=function(y){y.importKind!=="type"&&y.importKind!=="typeof"||(this.word(y.importKind),this.space()),this.print(y.imported),y.local&&y.local.name!==y.imported.name&&(this.space(),this.word("as"),this.space(),this.print(y.local))},r._printAttributes=function(y){let{importAttributesKeyword:_}=this.format,{attributes:E,assertions:A}=y;!E||_||m||(m=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));let S=_==="assert"||!_&&A;if(this.word(S?"assert":"with"),this.space(),!S&&_!=="with")return void this.printList(E||A);this.tokenChar(123),this.space(),this.printList(E||A),this.space(),this.tokenChar(125)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/node/index.js");let{isClassDeclaration:H,isExportDefaultSpecifier:a,isExportNamespaceSpecifier:l,isImportDefaultSpecifier:p,isImportNamespaceSpecifier:d,isStatement:h}=s,m=!1;function g(y,_){H(_.declaration)&&y._shouldPrintDecoratorsBeforeExport(_)&&y.printJoin(_.declaration.decorators)}},"./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/statements.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.BreakStatement=function(g){this.word("break"),m(this,g.label)},r.CatchClause=function(g){this.word("catch"),this.space(),g.param&&(this.tokenChar(40),this.print(g.param),this.print(g.param.typeAnnotation),this.tokenChar(41),this.space()),this.print(g.body)},r.ContinueStatement=function(g){this.word("continue"),m(this,g.label)},r.DebuggerStatement=function(){this.word("debugger"),this.semicolon()},r.DoWhileStatement=function(g){this.word("do"),this.space(),this.print(g.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(g.test),this.tokenChar(41),this.semicolon()},r.ForOfStatement=r.ForInStatement=void 0,r.ForStatement=function(g){this.word("for"),this.space(),this.tokenChar(40);{let y=this.enterForStatementInit();this.tokenContext|=u.TokenContext.forHead,this.print(g.init),y()}this.tokenChar(59),g.test&&(this.space(),this.print(g.test)),this.tokenChar(59),g.update&&(this.space(),this.print(g.update)),this.tokenChar(41),this.printBlock(g)},r.IfStatement=function(g){this.word("if"),this.space(),this.tokenChar(40),this.print(g.test),this.tokenChar(41),this.space();let y=g.alternate&&l(d(g.consequent));y&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(g.consequent),y&&(this.dedent(),this.newline(),this.tokenChar(125)),g.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(g.alternate))},r.LabeledStatement=function(g){this.print(g.label),this.tokenChar(58),this.space(),this.print(g.body)},r.ReturnStatement=function(g){this.word("return"),m(this,g.argument)},r.SwitchCase=function(g){g.test?(this.word("case"),this.space(),this.print(g.test),this.tokenChar(58)):(this.word("default"),this.tokenChar(58)),g.consequent.length&&(this.newline(),this.printSequence(g.consequent,{indent:!0}))},r.SwitchStatement=function(g){this.word("switch"),this.space(),this.tokenChar(40),this.print(g.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(g.cases,{indent:!0,addNewlines(y,_){if(!y&&g.cases[g.cases.length-1]===_)return-1}}),this.rightBrace(g)},r.ThrowStatement=function(g){this.word("throw"),m(this,g.argument)},r.TryStatement=function(g){this.word("try"),this.space(),this.print(g.block),this.space(),g.handlers?this.print(g.handlers[0]):this.print(g.handler),g.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(g.finalizer))},r.VariableDeclaration=function(g,y){g.declare&&(this.word("declare"),this.space());let{kind:_}=g;_==="await using"?(this.word("await"),this.space(),this.word("using",!0)):this.word(_,_==="using"),this.space();let E=!1;if(!H(y))for(let A of g.declarations)A.init&&(E=!0);if(this.printList(g.declarations,{separator:E?function(){this.tokenChar(44),this.newline()}:void 0,indent:g.declarations.length>1}),H(y)){if(a(y)){if(y.init===g)return}else if(y.left===g)return}this.semicolon()},r.VariableDeclarator=function(g){this.print(g.id),g.definite&&this.tokenChar(33),this.print(g.id.typeAnnotation),g.init&&(this.space(),this.tokenChar(61),this.space(),this.print(g.init))},r.WhileStatement=function(g){this.word("while"),this.space(),this.tokenChar(40),this.print(g.test),this.tokenChar(41),this.printBlock(g)},r.WithStatement=function(g){this.word("with"),this.space(),this.tokenChar(40),this.print(g.object),this.tokenChar(41),this.printBlock(g)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/node/index.js");let{isFor:H,isForStatement:a,isIfStatement:l,isStatement:p}=s;function d(g){let{body:y}=g;return p(y)===!1?g:d(y)}function h(g){this.word("for"),this.space();let y=g.type==="ForOfStatement";y&&g.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40);{let _=y?null:this.enterForStatementInit();this.tokenContext|=y?u.TokenContext.forOfHead:u.TokenContext.forInHead,this.print(g.left),_?.()}this.space(),this.word(y?"of":"in"),this.space(),this.print(g.right),this.tokenChar(41),this.printBlock(g)}r.ForInStatement=h,r.ForOfStatement=h;function m(g,y){y&&(g.space(),g.printTerminatorless(y)),g.semicolon()}},"./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/template-literals.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.TaggedTemplateExpression=function(c){this.print(c.tag),this.print(c.typeParameters),this.print(c.quasi)},r.TemplateElement=function(){throw new Error("TemplateElement printing is handled in TemplateLiteral")},r.TemplateLiteral=function(c){let s=c.quasis,u="`";for(let H=0;H<s.length;H++)u+=s[H].value.raw,H+1<s.length&&(this.token(u+"${",!0),this.print(c.expressions[H]),u="}");this.token(u+"`",!0)}},"./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/types.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ArgumentPlaceholder=function(){this.tokenChar(63)},r.ArrayPattern=r.ArrayExpression=function(p){let d=p.elements,h=d.length;this.tokenChar(91);let m=this.enterDelimited();for(let g=0;g<d.length;g++){let y=d[g];y?(g>0&&this.space(),this.print(y),g<h-1&&this.tokenChar(44)):this.tokenChar(44)}m(),this.tokenChar(93)},r.BigIntLiteral=function(p){let d=this.getPossibleRaw(p);if(!this.format.minified&&d!==void 0)return void this.word(d);this.word(p.value+"n")},r.BooleanLiteral=function(p){this.word(p.value?"true":"false")},r.DecimalLiteral=function(p){let d=this.getPossibleRaw(p);if(!this.format.minified&&d!==void 0)return void this.word(d);this.word(p.value+"m")},r.Identifier=function(p){var d;this.sourceIdentifierName(((d=p.loc)==null?void 0:d.identifierName)||p.name),this.word(p.name)},r.NullLiteral=function(){this.word("null")},r.NumericLiteral=function(p){let d=this.getPossibleRaw(p),h=this.format.jsescOption,m=p.value,g=m+"";h.numbers?this.number(u(m,h),m):d==null?this.number(g,m):this.format.minified?this.number(d.length<g.length?d:g,m):this.number(d,m)},r.ObjectPattern=r.ObjectExpression=function(p){let d=p.properties;if(this.tokenChar(123),d.length){let h=this.enterDelimited();this.space(),this.printList(d,{indent:!0,statement:!0}),this.space(),h()}this.sourceWithOffset("end",p.loc,-1),this.tokenChar(125)},r.ObjectMethod=function(p){this.printJoin(p.decorators),this._methodHead(p),this.space(),this.print(p.body)},r.ObjectProperty=function(p){if(this.printJoin(p.decorators),p.computed)this.tokenChar(91),this.print(p.key),this.tokenChar(93);else{if(H(p.value)&&a(p.key)&&p.key.name===p.value.left.name)return void this.print(p.value);if(this.print(p.key),p.shorthand&&a(p.key)&&a(p.value)&&p.key.name===p.value.name)return}this.tokenChar(58),this.space(),this.print(p.value)},r.PipelineBareFunction=function(p){this.print(p.callee)},r.PipelinePrimaryTopicReference=function(){this.tokenChar(35)},r.PipelineTopicExpression=function(p){this.print(p.expression)},r.RecordExpression=function(p){let d=p.properties,h,m;if(this.format.recordAndTupleSyntaxType==="bar")h="{|",m="|}";else{if(this.format.recordAndTupleSyntaxType!=="hash"&&this.format.recordAndTupleSyntaxType!=null)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);h="#{",m="}"}this.token(h),d.length&&(this.space(),this.printList(d,{indent:!0,statement:!0}),this.space()),this.token(m)},r.RegExpLiteral=function(p){this.word(`/${p.pattern}/${p.flags}`)},r.SpreadElement=r.RestElement=function(p){this.token("..."),this.print(p.argument)},r.StringLiteral=function(p){let d=this.getPossibleRaw(p);if(!this.format.minified&&d!==void 0)return void this.token(d);let h=u(p.value,this.format.jsescOption);this.token(h)},r.TopicReference=function(){let{topicToken:p}=this.format;if(!l.has(p)){let d=JSON.stringify(p),h=Array.from(l,m=>JSON.stringify(m));throw new Error(`The "topicToken" generator option must be one of ${h.join(", ")} (${d} received instead).`)}this.token(p)},r.TupleExpression=function(p){let d=p.elements,h=d.length,m,g;if(this.format.recordAndTupleSyntaxType==="bar")m="[|",g="|]";else{if(this.format.recordAndTupleSyntaxType!=="hash")throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);m="#[",g="]"}this.token(m);for(let y=0;y<d.length;y++){let _=d[y];_&&(y>0&&this.space(),this.print(_),y<h-1&&this.tokenChar(44))}this.token(g)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/jsesc@3.0.2/node_modules/jsesc/jsesc.js");let{isAssignmentPattern:H,isIdentifier:a}=s,l=new Set(["^^","@@","^","%","#"])},"./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/typescript.js":(o,r)=>{"use strict";function c(H,a,l){if(H.token("{"),a.length){H.indent(),H.newline();for(let p of a)H.print(p),H.newline();H.dedent()}H.rightBrace(l)}function s(H,a,l){H.printJoin(a.types,{separator(){this.space(),this.token(l),this.space()}})}function u(H,a){a!==!0&&H.token(a)}Object.defineProperty(r,"__esModule",{value:!0}),r.TSAnyKeyword=function(){this.word("any")},r.TSArrayType=function(H){this.print(H.elementType,!0),this.tokenChar(91),this.tokenChar(93)},r.TSSatisfiesExpression=r.TSAsExpression=function(H){let{type:a,expression:l,typeAnnotation:p}=H;this.print(l,!0),this.space(),this.word(a==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(p)},r.TSBigIntKeyword=function(){this.word("bigint")},r.TSBooleanKeyword=function(){this.word("boolean")},r.TSCallSignatureDeclaration=function(H){this.tsPrintSignatureDeclarationBase(H),this.semicolon()},r.TSInterfaceHeritage=r.TSExpressionWithTypeArguments=r.TSClassImplements=function(H){this.print(H.expression),this.print(H.typeParameters)},r.TSConditionalType=function(H){this.print(H.checkType),this.space(),this.word("extends"),this.space(),this.print(H.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(H.trueType),this.space(),this.tokenChar(58),this.space(),this.print(H.falseType)},r.TSConstructSignatureDeclaration=function(H){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(H),this.semicolon()},r.TSConstructorType=function(H){H.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(H)},r.TSDeclareFunction=function(H,a){H.declare&&(this.word("declare"),this.space()),this._functionHead(H,a),this.semicolon()},r.TSDeclareMethod=function(H){this._classMethodHead(H),this.semicolon()},r.TSEnumDeclaration=function(H){let{declare:a,const:l,id:p,members:d}=H;a&&(this.word("declare"),this.space()),l&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(p),this.space(),c(this,d,H)},r.TSEnumMember=function(H){let{id:a,initializer:l}=H;this.print(a),l&&(this.space(),this.tokenChar(61),this.space(),this.print(l)),this.tokenChar(44)},r.TSExportAssignment=function(H){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(H.expression),this.semicolon()},r.TSExternalModuleReference=function(H){this.token("require("),this.print(H.expression),this.tokenChar(41)},r.TSFunctionType=function(H){this.tsPrintFunctionOrConstructorType(H)},r.TSImportEqualsDeclaration=function(H){let{isExport:a,id:l,moduleReference:p}=H;a&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(l),this.space(),this.tokenChar(61),this.space(),this.print(p),this.semicolon()},r.TSImportType=function(H){let{argument:a,qualifier:l,typeParameters:p}=H;this.word("import"),this.tokenChar(40),this.print(a),this.tokenChar(41),l&&(this.tokenChar(46),this.print(l)),p&&this.print(p)},r.TSIndexSignature=function(H){let{readonly:a,static:l}=H;l&&(this.word("static"),this.space()),a&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(H.parameters),this.tokenChar(93),this.print(H.typeAnnotation),this.semicolon()},r.TSIndexedAccessType=function(H){this.print(H.objectType,!0),this.tokenChar(91),this.print(H.indexType),this.tokenChar(93)},r.TSInferType=function(H){this.word("infer"),this.print(H.typeParameter)},r.TSInstantiationExpression=function(H){this.print(H.expression),this.print(H.typeParameters)},r.TSInterfaceBody=function(H){this.tsPrintTypeLiteralOrInterfaceBody(H.body,H)},r.TSInterfaceDeclaration=function(H){let{declare:a,id:l,typeParameters:p,extends:d,body:h}=H;a&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(l),this.print(p),d!=null&&d.length&&(this.space(),this.word("extends"),this.space(),this.printList(d)),this.space(),this.print(h)},r.TSIntersectionType=function(H){s(this,H,"&")},r.TSIntrinsicKeyword=function(){this.word("intrinsic")},r.TSLiteralType=function(H){this.print(H.literal)},r.TSMappedType=function(H){let{nameType:a,optional:l,readonly:p,typeAnnotation:d}=H;this.tokenChar(123),this.space(),p&&(u(this,p),this.word("readonly"),this.space()),this.tokenChar(91),this.word(H.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(H.typeParameter.constraint),a&&(this.space(),this.word("as"),this.space(),this.print(a)),this.tokenChar(93),l&&(u(this,l),this.tokenChar(63)),d&&(this.tokenChar(58),this.space(),this.print(d)),this.space(),this.tokenChar(125)},r.TSMethodSignature=function(H){let{kind:a}=H;a!=="set"&&a!=="get"||(this.word(a),this.space()),this.tsPrintPropertyOrMethodName(H),this.tsPrintSignatureDeclarationBase(H),this.semicolon()},r.TSModuleBlock=function(H){c(this,H.body,H)},r.TSModuleDeclaration=function(H){let{declare:a,id:l}=H;if(a&&(this.word("declare"),this.space()),H.global||(this.word(l.type==="Identifier"?"namespace":"module"),this.space()),this.print(l),!H.body)return void this.semicolon();let p=H.body;for(;p.type==="TSModuleDeclaration";)this.tokenChar(46),this.print(p.id),p=p.body;this.space(),this.print(p)},r.TSNamedTupleMember=function(H){this.print(H.label),H.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(H.elementType)},r.TSNamespaceExportDeclaration=function(H){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(H.id),this.semicolon()},r.TSNeverKeyword=function(){this.word("never")},r.TSNonNullExpression=function(H){this.print(H.expression),this.tokenChar(33)},r.TSNullKeyword=function(){this.word("null")},r.TSNumberKeyword=function(){this.word("number")},r.TSObjectKeyword=function(){this.word("object")},r.TSOptionalType=function(H){this.print(H.typeAnnotation),this.tokenChar(63)},r.TSParameterProperty=function(H){H.accessibility&&(this.word(H.accessibility),this.space()),H.readonly&&(this.word("readonly"),this.space()),this._param(H.parameter)},r.TSParenthesizedType=function(H){this.tokenChar(40),this.print(H.typeAnnotation),this.tokenChar(41)},r.TSPropertySignature=function(H){let{readonly:a}=H;a&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(H),this.print(H.typeAnnotation),this.semicolon()},r.TSQualifiedName=function(H){this.print(H.left),this.tokenChar(46),this.print(H.right)},r.TSRestType=function(H){this.token("..."),this.print(H.typeAnnotation)},r.TSStringKeyword=function(){this.word("string")},r.TSSymbolKeyword=function(){this.word("symbol")},r.TSThisType=function(){this.word("this")},r.TSTupleType=function(H){this.tokenChar(91),this.printList(H.elementTypes),this.tokenChar(93)},r.TSTypeAliasDeclaration=function(H){let{declare:a,id:l,typeParameters:p,typeAnnotation:d}=H;a&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(l),this.print(p),this.space(),this.tokenChar(61),this.space(),this.print(d),this.semicolon()},r.TSTypeAnnotation=function(H){this.tokenChar(58),this.space(),H.optional&&this.tokenChar(63),this.print(H.typeAnnotation)},r.TSTypeAssertion=function(H){let{typeAnnotation:a,expression:l}=H;this.tokenChar(60),this.print(a),this.tokenChar(62),this.space(),this.print(l)},r.TSTypeLiteral=function(H){this.tsPrintTypeLiteralOrInterfaceBody(H.members,H)},r.TSTypeOperator=function(H){this.word(H.operator),this.space(),this.print(H.typeAnnotation)},r.TSTypeParameter=function(H){H.in&&(this.word("in"),this.space()),H.out&&(this.word("out"),this.space()),this.word(H.name),H.constraint&&(this.space(),this.word("extends"),this.space(),this.print(H.constraint)),H.default&&(this.space(),this.tokenChar(61),this.space(),this.print(H.default))},r.TSTypeParameterDeclaration=r.TSTypeParameterInstantiation=function(H,a){this.tokenChar(60),this.printList(H.params,{}),a.type==="ArrowFunctionExpression"&&H.params.length===1&&this.tokenChar(44),this.tokenChar(62)},r.TSTypePredicate=function(H){H.asserts&&(this.word("asserts"),this.space()),this.print(H.parameterName),H.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(H.typeAnnotation.typeAnnotation))},r.TSTypeQuery=function(H){this.word("typeof"),this.space(),this.print(H.exprName),H.typeParameters&&this.print(H.typeParameters)},r.TSTypeReference=function(H){this.print(H.typeName,!0),this.print(H.typeParameters,!0)},r.TSUndefinedKeyword=function(){this.word("undefined")},r.TSUnionType=function(H){s(this,H,"|")},r.TSUnknownKeyword=function(){this.word("unknown")},r.TSVoidKeyword=function(){this.word("void")},r.tsPrintClassMemberModifiers=function(H){let a=H.type==="ClassAccessorProperty"||H.type==="ClassProperty";a&&H.declare&&(this.word("declare"),this.space()),H.accessibility&&(this.word(H.accessibility),this.space()),H.static&&(this.word("static"),this.space()),H.override&&(this.word("override"),this.space()),H.abstract&&(this.word("abstract"),this.space()),a&&H.readonly&&(this.word("readonly"),this.space())},r.tsPrintFunctionOrConstructorType=function(H){let{typeParameters:a}=H,l=H.parameters;this.print(a),this.tokenChar(40),this._parameters(l),this.tokenChar(41),this.space(),this.token("=>"),this.space();let p=H.typeAnnotation;this.print(p.typeAnnotation)},r.tsPrintPropertyOrMethodName=function(H){H.computed&&this.tokenChar(91),this.print(H.key),H.computed&&this.tokenChar(93),H.optional&&this.tokenChar(63)},r.tsPrintSignatureDeclarationBase=function(H){let{typeParameters:a}=H,l=H.parameters;this.print(a),this.tokenChar(40),this._parameters(l),this.tokenChar(41);let p=H.typeAnnotation;this.print(p)},r.tsPrintTypeLiteralOrInterfaceBody=function(H,a){c(this,H,a)}},"./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(a,l={},p){let d=H(p,l),h=l.sourceMaps?new s.default(l,p):null;return new u.default(d,h).generate(a)};var s=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/source-map.js"),u=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/printer.js");function H(a,l){let p={auxiliaryCommentBefore:l.auxiliaryCommentBefore,auxiliaryCommentAfter:l.auxiliaryCommentAfter,shouldPrintComment:l.shouldPrintComment,retainLines:l.retainLines,retainFunctionParens:l.retainFunctionParens,comments:l.comments==null||l.comments,compact:l.compact,minified:l.minified,concise:l.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},l.jsescOption),topicToken:l.topicToken,importAttributesKeyword:l.importAttributesKeyword};var d;p.decoratorsBeforeExport=l.decoratorsBeforeExport,p.jsescOption.json=l.jsonCompatibleStrings,p.recordAndTupleSyntaxType=(d=l.recordAndTupleSyntaxType)!=null?d:"hash",p.minified?(p.compact=!0,p.shouldPrintComment=p.shouldPrintComment||(()=>p.comments)):p.shouldPrintComment=p.shouldPrintComment||(y=>p.comments||y.includes("@license")||y.includes("@preserve")),p.compact==="auto"&&(p.compact=typeof a=="string"&&a.length>5e5,p.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${l.filename} as it exceeds the max of 500KB.`)),p.compact&&(p.indent.adjustMultilineComment=!1);let{auxiliaryCommentBefore:h,auxiliaryCommentAfter:m,shouldPrintComment:g}=p;return h&&!g(h)&&(p.auxiliaryCommentBefore=void 0),m&&!g(m)&&(p.auxiliaryCommentAfter=void 0),p}r.CodeGenerator=class{constructor(a,l={},p){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=a,this._format=H(p,l),this._map=l.sourceMaps?new s.default(l,p):null}generate(){return new u.default(this._format,this._map).generate(this._ast)}}},"./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/node/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.TokenContext=void 0,r.isLastChild=function(L,x){let C=l[L.type];for(let D=C.length-1;D>=0;D--){let O=L[C[D]];if(O===x)return!0;if(Array.isArray(O)){let j=O.length-1;for(;j>=0&&O[j]===null;)j--;return j>=0&&O[j]===x}if(O)return!1}return!1},r.needsParens=function(L,x,C,D){var O;return x?g(x)&&x.callee===L&&S(L)?!0:d(x)?!(I(L)||p(L)&&I(L.callee)||y(L)):(O=E.get(L.type))==null?void 0:O(L,x,C,D):!1},r.needsWhitespace=T,r.needsWhitespaceAfter=function(L,x){return T(L,x,2)},r.needsWhitespaceBefore=function(L,x){return T(L,x,1)};var s=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/node/whitespace.js"),u=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/node/parentheses.js"),H=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");let{FLIPPED_ALIAS_KEYS:a,VISITOR_KEYS:l,isCallExpression:p,isDecorator:d,isExpressionStatement:h,isMemberExpression:m,isNewExpression:g,isParenthesizedExpression:y}=H;r.TokenContext={expressionStatement:1,arrowBody:2,exportDefault:4,forHead:8,forInHead:16,forOfHead:32,arrowFlowReturnType:64};function _(L){let x=new Map;function C(D,O){let j=x.get(D);x.set(D,j?function(k,$,U,F){var P;return(P=j(k,$,U,F))!=null?P:O(k,$,U,F)}:O)}for(let D of Object.keys(L)){let O=a[D];if(O)for(let j of O)C(j,L[D]);else C(D,L[D])}return x}let E=_(u),A=_(s.nodes);function S(L){return!!p(L)||m(L)&&S(L.object)}function T(L,x,C){var D;if(!L)return!1;h(L)&&(L=L.expression);let O=(D=A.get(L.type))==null?void 0:D(L,x);return typeof O=="number"&&!!(O&C)}function I(L){switch(L.type){case"Identifier":return!0;case"MemberExpression":return!L.computed&&L.property.type==="Identifier"&&I(L.object);default:return!1}}},"./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/node/parentheses.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AssignmentExpression=function(O,j,k){return!(!L(k)||!m(O.left))||D(O,j)},r.Binary=x,r.BinaryExpression=function(O,j,k,$){return O.operator==="in"&&$},r.ClassExpression=function(O,j,k){return!!(k&(u.TokenContext.expressionStatement|u.TokenContext.exportDefault))},r.ArrowFunctionExpression=r.ConditionalExpression=D,r.DoExpression=function(O,j,k){return!O.async&&!!(k&u.TokenContext.expressionStatement)},r.FunctionExpression=function(O,j,k){return!!(k&(u.TokenContext.expressionStatement|u.TokenContext.exportDefault))},r.FunctionTypeAnnotation=function(O,j,k){let $=j.type;return $==="UnionTypeAnnotation"||$==="IntersectionTypeAnnotation"||$==="ArrayTypeAnnotation"||!!(k&u.TokenContext.arrowFlowReturnType)},r.Identifier=function(O,j,k){var $;let U=j.type;if(($=O.extra)!=null&&$.parenthesized&&U==="AssignmentExpression"&&j.left===O){let F=j.right.type;if((F==="FunctionExpression"||F==="ClassExpression")&&j.right.id==null)return!0}return O.name==="let"?!!((h(j,{object:O,computed:!0})||g(j,{object:O,computed:!0,optional:!1}))&&k&(u.TokenContext.expressionStatement|u.TokenContext.forHead|u.TokenContext.forInHead))||!!(k&u.TokenContext.forOfHead):O.name==="async"&&p(j,{left:O,await:!1})},r.LogicalExpression=function(O,j){let k=j.type;if(S(k))return!0;if(k!=="LogicalExpression")return!1;switch(O.operator){case"||":return j.operator==="??"||j.operator==="&&";case"&&":return j.operator==="??";case"??":return j.operator!=="??"}},r.NullableTypeAnnotation=function(O,j){return H(j)},r.ObjectExpression=function(O,j,k){return L(k)},r.OptionalIndexedAccessType=function(O,j){return d(j)&&j.objectType===O},r.OptionalCallExpression=r.OptionalMemberExpression=function(O,j){return l(j)&&j.callee===O||h(j)&&j.object===O},r.SequenceExpression=function(O,j){let k=j.type;return k==="SequenceExpression"||k==="ParenthesizedExpression"||k==="MemberExpression"&&j.property===O||k==="OptionalMemberExpression"&&j.property===O||k==="TemplateLiteral"?!1:k==="ClassDeclaration"?!0:k==="ForOfStatement"?j.right===O:k==="ExportDefaultDeclaration"?!0:!_(j)},r.TSSatisfiesExpression=r.TSAsExpression=function(O,j){return(j.type==="AssignmentExpression"||j.type==="AssignmentPattern")&&j.left===O||j.type==="BinaryExpression"&&(j.operator==="|"||j.operator==="&")&&O===j.left?!0:x(O,j)},r.TSInferType=function(O,j){let k=j.type;return k==="TSArrayType"||k==="TSOptionalType"},r.TSInstantiationExpression=function(O,j){let k=j.type;return(k==="CallExpression"||k==="OptionalCallExpression"||k==="NewExpression"||k==="TSInstantiationExpression")&&!!j.typeParameters},r.UnaryLike=r.TSTypeAssertion=C,r.TSIntersectionType=r.TSUnionType=function(O,j){let k=j.type;return k==="TSArrayType"||k==="TSOptionalType"||k==="TSIntersectionType"||k==="TSRestType"},r.IntersectionTypeAnnotation=r.UnionTypeAnnotation=function(O,j){let k=j.type;return k==="ArrayTypeAnnotation"||k==="NullableTypeAnnotation"||k==="IntersectionTypeAnnotation"||k==="UnionTypeAnnotation"},r.UpdateExpression=function(O,j){return I(O,j)||T(O,j)},r.AwaitExpression=r.YieldExpression=function(O,j){let k=j.type;return k==="BinaryExpression"||k==="LogicalExpression"||k==="UnaryExpression"||k==="SpreadElement"||I(O,j)||k==="AwaitExpression"&&y(O)||k==="ConditionalExpression"&&O===j.test||T(O,j)||S(k)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/node/index.js");let{isArrayTypeAnnotation:H,isBinaryExpression:a,isCallExpression:l,isForOfStatement:p,isIndexedAccessType:d,isMemberExpression:h,isObjectPattern:m,isOptionalMemberExpression:g,isYieldExpression:y,isStatement:_}=s,E=new Map([["||",0],["??",0],["|>",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function A(O,j){return j==="BinaryExpression"||j==="LogicalExpression"?E.get(O.operator):j==="TSAsExpression"||j==="TSSatisfiesExpression"?E.get("in"):void 0}function S(O){return O==="TSAsExpression"||O==="TSSatisfiesExpression"||O==="TSTypeAssertion"}let T=(O,j)=>{let k=j.type;return(k==="ClassDeclaration"||k==="ClassExpression")&&j.superClass===O},I=(O,j)=>{let k=j.type;return(k==="MemberExpression"||k==="OptionalMemberExpression")&&j.object===O||(k==="CallExpression"||k==="OptionalCallExpression"||k==="NewExpression")&&j.callee===O||k==="TaggedTemplateExpression"&&j.tag===O||k==="TSNonNullExpression"};function L(O){return!!(O&(u.TokenContext.expressionStatement|u.TokenContext.arrowBody))}function x(O,j){let k=j.type;if(O.type==="BinaryExpression"&&O.operator==="**"&&k==="BinaryExpression"&&j.operator==="**")return j.left===O;if(T(O,j)||I(O,j)||k==="UnaryExpression"||k==="SpreadElement"||k==="AwaitExpression")return!0;let $=A(j,k);if($!=null){let U=A(O,O.type);if($===U&&k==="BinaryExpression"&&j.right===O||$>U)return!0}}function C(O,j){return I(O,j)||a(j)&&j.operator==="**"&&j.left===O||T(O,j)}function D(O,j){let k=j.type;return!!(k==="UnaryExpression"||k==="SpreadElement"||k==="BinaryExpression"||k==="LogicalExpression"||k==="ConditionalExpression"&&j.test===O||k==="AwaitExpression"||S(k))||C(O,j)}},"./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/node/whitespace.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.nodes=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");let{FLIPPED_ALIAS_KEYS:u,isArrayExpression:H,isAssignmentExpression:a,isBinary:l,isBlockStatement:p,isCallExpression:d,isFunction:h,isIdentifier:m,isLiteral:g,isMemberExpression:y,isObjectExpression:_,isOptionalCallExpression:E,isOptionalMemberExpression:A,isStringLiteral:S}=s;function T(D,O){return D&&(y(D)||A(D)?(T(D.object,O),D.computed&&T(D.property,O)):l(D)||a(D)?(T(D.left,O),T(D.right,O)):d(D)||E(D)?(O.hasCall=!0,T(D.callee,O)):h(D)?O.hasFunction=!0:m(D)&&(O.hasHelper=O.hasHelper||D.callee&&L(D.callee))),O}function I(D){return T(D,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function L(D){return!!D&&(y(D)?L(D.object)||L(D.property):m(D)?D.name==="require"||D.name.charCodeAt(0)===95:d(D)?L(D.callee):!(!l(D)&&!a(D))&&(m(D.left)&&L(D.left)||L(D.right)))}function x(D){return g(D)||_(D)||H(D)||m(D)||y(D)}let C=r.nodes={AssignmentExpression(D){let O=I(D.right);if(O.hasCall&&O.hasHelper||O.hasFunction)return O.hasFunction?3:2},SwitchCase:(D,O)=>(D.consequent.length||O.cases[0]===D?1:0)|(D.consequent.length||O.cases[O.cases.length-1]!==D?0:2),LogicalExpression(D){if(h(D.left)||h(D.right))return 2},Literal(D){if(S(D)&&D.value==="use strict")return 2},CallExpression(D){if(h(D.callee)||L(D))return 3},OptionalCallExpression(D){if(h(D.callee))return 3},VariableDeclaration(D){for(let O=0;O<D.declarations.length;O++){let j=D.declarations[O],k=L(j.id)&&!x(j.init);if(!k&&j.init){let $=I(j.init);k=L(j.init)&&$.hasCall||$.hasFunction}if(k)return 3}},IfStatement(D){if(p(D.consequent))return 3}};C.ObjectProperty=C.ObjectTypeProperty=C.ObjectMethod=function(D,O){if(O.properties[0]===D)return 1},C.ObjectTypeCallProperty=function(D,O){var j;if(O.callProperties[0]===D&&((j=O.properties)==null||!j.length))return 1},C.ObjectTypeIndexer=function(D,O){var j,k;if(!(O.indexers[0]!==D||(j=O.properties)!=null&&j.length||(k=O.callProperties)!=null&&k.length))return 1},C.ObjectTypeInternalSlot=function(D,O){var j,k,$;if(!(O.internalSlots[0]!==D||(j=O.properties)!=null&&j.length||(k=O.callProperties)!=null&&k.length||($=O.indexers)!=null&&$.length))return 1},[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([D,O]){[D].concat(u[D]||[]).forEach(function(j){let k=O?3:0;C[j]=()=>k})})},"./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/printer.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/buffer.js"),u=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/node/index.js"),H=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),a=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/generators/index.js");let{isExpression:l,isFunction:p,isStatement:d,isClassBody:h,isTSInterfaceBody:m,isTSEnumDeclaration:g}=H,y=/e/i,_=/\.0+$/,E=/[\n\r\u2028\u2029]/,A=/[\n\r\u2028\u2029]|\*\//;function S(x){return x.type==="CommentLine"||E.test(x.value)}let{needsParens:T}=u;class I{constructor(C,D){this.inForStatementInit=!1,this.tokenContext=0,this._currentNode=null,this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._noLineTerminator=!1,this._noLineTerminatorAfterNode=null,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._endsWithDiv=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.format=C,this._indentRepeat=C.indent.style.length,this._inputMap=D?._inputMap,this._buf=new s.default(D,C.indent.style[0])}enterForStatementInit(){return this.inForStatementInit?()=>{}:(this.inForStatementInit=!0,()=>{this.inForStatementInit=!1})}enterDelimited(){let C=this.inForStatementInit,D=this._noLineTerminatorAfterNode;return C===!1&&D===null?()=>{}:(this.inForStatementInit=!1,this._noLineTerminatorAfterNode=null,()=>{this.inForStatementInit=C,this._noLineTerminatorAfterNode=D})}generate(C){return this.print(C),this._maybeAddAuxComment(),this._buf.get()}indent(){this.format.compact||this.format.concise||this._indent++}dedent(){this.format.compact||this.format.concise||this._indent--}semicolon(C=!1){this._maybeAddAuxComment(),C?this._appendChar(59):this._queue(59),this._noLineTerminator=!1}rightBrace(C){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",C.loc,-1),this.tokenChar(125)}rightParens(C){this.sourceWithOffset("end",C.loc,-1),this.tokenChar(41)}space(C=!1){if(!this.format.compact){if(C)this._space();else if(this._buf.hasContent()){let D=this.getLastChar();D!==32&&D!==10&&this._space()}}}word(C,D=!1){this.tokenContext=0,this._maybePrintInnerComments(),(this._endsWithWord||this._endsWithDiv&&C.charCodeAt(0)===47)&&this._space(),this._maybeAddAuxComment(),this._append(C,!1),this._endsWithWord=!0,this._noLineTerminator=D}number(C,D){this.word(C),this._endsWithInteger=Number.isInteger(D)&&!function(O){if(O.length>2&&O.charCodeAt(0)===48){let j=O.charCodeAt(1);return j===98||j===111||j===120}return!1}(C)&&!y.test(C)&&!_.test(C)&&C.charCodeAt(C.length-1)!==46}token(C,D=!1){this.tokenContext=0,this._maybePrintInnerComments();let O=this.getLastChar(),j=C.charCodeAt(0);(O===33&&(C==="--"||j===61)||j===43&&O===43||j===45&&O===45||j===46&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._append(C,D),this._noLineTerminator=!1}tokenChar(C){this.tokenContext=0,this._maybePrintInnerComments();let D=this.getLastChar();(C===43&&D===43||C===45&&D===45||C===46&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._appendChar(C),this._noLineTerminator=!1}newline(C=1,D){if(!(C<=0)){if(!D){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space()}C>2&&(C=2),C-=this._buf.getNewlineCount();for(let O=0;O<C;O++)this._newline()}}endsWith(C){return this.getLastChar()===C}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(C,D){C?(this._catchUp("start",C),this._buf.exactSource(C,D)):D()}source(C,D){D&&(this._catchUp(C,D),this._buf.source(C,D))}sourceWithOffset(C,D,O){D&&(this._catchUp(C,D),this._buf.sourceWithOffset(C,D,O))}sourceIdentifierName(C,D){if(!this._buf._canMarkIdName)return;let O=this._buf._sourcePosition;O.identifierNamePos=D,O.identifierName=C}_space(){this._queue(32)}_newline(){this._queue(10)}_append(C,D){this._maybeIndent(C.charCodeAt(0)),this._buf.append(C,D),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_appendChar(C){this._maybeIndent(C),this._buf.appendChar(C),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_queue(C){this._maybeIndent(C),this._buf.queue(C),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(C){this._indent&&C!==10&&this.endsWith(10)&&this._buf.queueIndentation(this._getIndent())}_shouldIndent(C){if(this._indent&&C!==10&&this.endsWith(10))return!0}catchUp(C){if(!this.format.retainLines)return;let D=C-this._buf.getCurrentLine();for(let O=0;O<D;O++)this._newline()}_catchUp(C,D){var O;if(!this.format.retainLines)return;let j=D==null||(O=D[C])==null?void 0:O.line;if(j!=null){let k=j-this._buf.getCurrentLine();for(let $=0;$<k;$++)this._newline()}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(C){this._noLineTerminator=!0,this.print(C)}print(C,D,O){var j,k,$;if(!C)return;this._endsWithInnerRaw=!1;let U=C.type,F=this.format,P=F.concise;C._compact&&(F.concise=!0);let W=this[U];if(W===void 0)throw new ReferenceError(`unknown node of type ${JSON.stringify(U)} with constructor ${JSON.stringify(C.constructor.name)}`);let Z=this._currentNode;this._currentNode=C;let ee=this._insideAux;this._insideAux=C.loc==null,this._maybeAddAuxComment(this._insideAux&&!ee);let J=(j=C.extra)==null?void 0:j.parenthesized,ne=J&&F.retainFunctionParens&&U==="FunctionExpression"||T(C,Z,this.tokenContext,this.inForStatementInit);if(!ne&&J&&(k=C.leadingComments)!=null&&k.length&&C.leadingComments[0].type==="CommentBlock")switch(Z?.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(Z.callee!==C)break;default:ne=!0}let K,q,Q=!1;var z;!ne&&this._noLineTerminator&&(($=C.leadingComments)!=null&&$.some(S)||this.format.retainLines&&C.loc&&C.loc.start.line>this._buf.getCurrentLine())&&(ne=!0,Q=!0),ne||(D||(D=Z&&this._noLineTerminatorAfterNode===Z&&u.isLastChild(Z,C)),D&&((z=C.trailingComments)!=null&&z.some(S)?l(C)&&(ne=!0):(K=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=C))),ne&&(this.tokenChar(40),Q&&this.indent(),this._endsWithInnerRaw=!1,this.inForStatementInit&&(q=!0,this.inForStatementInit=!1),K=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null),this._lastCommentLine=0,this._printLeadingComments(C,Z);let ie=U==="Program"||U==="File"?null:C.loc;this.exactSource(ie,W.bind(this,C,Z)),ne?(this._printTrailingComments(C,Z),Q&&(this.dedent(),this.newline()),this.tokenChar(41),this._noLineTerminator=D,q&&(this.inForStatementInit=!0)):D&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(C,Z)):this._printTrailingComments(C,Z,O),this._currentNode=Z,F.concise=P,this._insideAux=ee,K!==void 0&&(this._noLineTerminatorAfterNode=K),this._endsWithInnerRaw=!1}_maybeAddAuxComment(C){C&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;let C=this.format.auxiliaryCommentBefore;C&&this._printComment({type:"CommentBlock",value:C},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;let C=this.format.auxiliaryCommentAfter;C&&this._printComment({type:"CommentBlock",value:C},0)}getPossibleRaw(C){let D=C.extra;if(D?.raw!=null&&D.rawValue!=null&&C.value===D.rawValue)return D.raw}printJoin(C,D={}){if(C==null||!C.length)return;let{indent:O}=D;if(O==null&&this.format.retainLines){var j;let W=(j=C[0].loc)==null?void 0:j.start.line;W!=null&&W!==this._buf.getCurrentLine()&&(O=!0)}O&&this.indent();let k={addNewlines:D.addNewlines,nextNodeStartLine:0},$=D.separator?D.separator.bind(this):null,U=C.length;for(let W=0;W<U;W++){let Z=C[W];var F;if(Z&&(D.statement&&this._printNewline(W===0,k),this.print(Z,void 0,D.trailingCommentsLineOffset||0),D.iterator==null||D.iterator(Z,W),W<U-1&&$?.(),D.statement))if((F=Z.trailingComments)!=null&&F.length||(this._lastCommentLine=0),W+1===U)this.newline(1);else{var P;let ee=C[W+1];k.nextNodeStartLine=((P=ee.loc)==null?void 0:P.start.line)||0,this._printNewline(!0,k)}}O&&this.dedent()}printAndIndentOnComments(C){let D=C.leadingComments&&C.leadingComments.length>0;D&&this.indent(),this.print(C),D&&this.dedent()}printBlock(C){let D=C.body;D.type!=="EmptyStatement"&&this.space(),this.print(D)}_printTrailingComments(C,D,O){let{innerComments:j,trailingComments:k}=C;j!=null&&j.length&&this._printComments(2,j,C,D,O),k!=null&&k.length&&this._printComments(2,k,C,D,O)}_printLeadingComments(C,D){let O=C.leadingComments;O!=null&&O.length&&this._printComments(0,O,C,D)}_maybePrintInnerComments(){this._endsWithInnerRaw&&this.printInnerComments(),this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(){let C=this._currentNode,D=C.innerComments;if(D==null||!D.length)return;let O=this.endsWith(32),j=this._indentInnerComments,k=this._printedComments.size;j&&this.indent(),this._printComments(1,D,C),O&&k!==this._printedComments.size&&this.space(),j&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(C,D={}){D.statement=!0,D.indent!=null||(D.indent=!1),this.printJoin(C,D)}printList(C,D={}){D.separator==null&&(D.separator=L),this.printJoin(C,D)}_printNewline(C,D){let O=this.format;if(O.retainLines||O.compact)return;if(O.concise)return void this.space();if(!C)return;let j=D.nextNodeStartLine,k=this._lastCommentLine;if(j>0&&k>0){let $=j-k;if($>=0)return void this.newline($||1)}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(C){return C.ignore||this._printedComments.has(C)?0:this._noLineTerminator&&A.test(C.value)?2:(this._printedComments.add(C),this.format.shouldPrintComment(C.value)?1:0)}_printComment(C,D){let O=this._noLineTerminator,j=C.type==="CommentBlock",k=j&&D!==1&&!this._noLineTerminator;k&&this._buf.hasContent()&&D!==2&&this.newline(1);let $=this.getLastChar(),U;if($!==91&&$!==123&&$!==40&&this.space(),j){if(U=`/*${C.value}*/`,this.format.indent.adjustMultilineComment){var F;let P=(F=C.loc)==null?void 0:F.start.column;if(P){let W=new RegExp("\\n\\s{1,"+P+"}","g");U=U.replace(W,`
|
|
`)}if(this.format.concise)U=U.replace(/\n(?!$)/g,`
|
|
`);else{let W=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(W+=this._getIndent()),U=U.replace(/\n(?!$)/g,`
|
|
${" ".repeat(W)}`)}}}else U=O?`/*${C.value}*/`:`//${C.value}`;this._endsWithDiv&&this._space(),this.source("start",C.loc),this._append(U,j),j||O||this.newline(1,!0),k&&D!==3&&this.newline(1)}_printComments(C,D,O,j,k=0){let $=O.loc,U=D.length,F=!!$,P=F?$.start.line:0,W=F?$.end.line:0,Z=0,ee=0,J=this._noLineTerminator?function(){}:this.newline.bind(this);for(let ne=0;ne<U;ne++){let K=D[ne],q=this._shouldPrintComment(K);if(q===2){F=!1;break}if(F&&K.loc&&q===1){let Q=K.loc.start.line,z=K.loc.end.line;if(C===0){let ie=0;ne===0?!this._buf.hasContent()||K.type!=="CommentLine"&&Q===z||(ie=ee=1):ie=Q-Z,Z=z,J(ie),this._printComment(K,1),ne+1===U&&(J(Math.max(P-Z,ee)),Z=P)}else if(C===1){let ie=Q-(ne===0?P:Z);Z=z,J(ie),this._printComment(K,1),ne+1===U&&(J(Math.min(1,W-Z)),Z=W)}else{let ie=Q-(ne===0?W-k:Z);Z=z,J(ie),this._printComment(K,1)}}else{if(F=!1,q!==1)continue;if(U===1){let Q=K.loc?K.loc.start.line===K.loc.end.line:!E.test(K.value),z=Q&&!d(O)&&!h(j)&&!m(j)&&!g(j);C===0?this._printComment(K,z&&O.type!=="ObjectExpression"||Q&&p(j,{body:O})?1:0):z&&C===2?this._printComment(K,1):this._printComment(K,0)}else C!==1||O.type==="ObjectExpression"&&O.properties.length>1||O.type==="ClassBody"||O.type==="TSInterfaceBody"?this._printComment(K,0):this._printComment(K,ne===0?2:ne===U-1?3:0)}}C===2&&F&&Z&&(this._lastCommentLine=Z)}}Object.assign(I.prototype,a),I.prototype.Noop=function(){},r.default=I;function L(){this.tokenChar(44),this.space()}},"./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/source-map.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.5/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"),u=c("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js");r.default=class{constructor(H,a){var l;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=void 0;let p=this._map=new s.GenMapping({sourceRoot:H.sourceRoot});if(this._sourceFileName=(l=H.sourceFileName)==null?void 0:l.replace(/\\/g,"/"),this._rawMappings=void 0,H.inputSourceMap){this._inputMap=new u.TraceMap(H.inputSourceMap);let h=this._inputMap.resolvedSources;if(h.length)for(let m=0;m<h.length;m++){var d;(0,s.setSourceContent)(p,h[m],(d=this._inputMap.sourcesContent)==null?void 0:d[m])}}if(typeof a!="string"||H.inputSourceMap){if(typeof a=="object")for(let h of Object.keys(a))(0,s.setSourceContent)(p,h.replace(/\\/g,"/"),a[h])}else(0,s.setSourceContent)(p,this._sourceFileName,a)}get(){return(0,s.toEncodedMap)(this._map)}getDecoded(){return(0,s.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,s.allMappings)(this._map))}mark(H,a,l,p,d,h){var m;let g;if(this._rawMappings=void 0,a!=null)if(this._inputMap){if(g=(0,u.originalPositionFor)(this._inputMap,{line:a,column:l}),!g.name&&d){let y=(0,u.originalPositionFor)(this._inputMap,d);y.name&&(p=y.name)}}else g={source:h?.replace(/\\/g,"/")||this._sourceFileName,line:a,column:l};(0,s.maybeAddMapping)(this._map,{name:p,generated:H,source:(m=g)==null?void 0:m.source,original:g})}}},"./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.25.7/node_modules/@babel/helper-annotate-as-pure/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(l){let p=l.node||l;a(p)||u(p,"leading",H)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");let{addComment:u}=s,H="#__PURE__",a=({leadingComments:l})=>!!l&&l.some(p=>/[@#]__PURE__/.test(p.value))},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.buildDecoratedClass=function(d,h,m,g){let{node:y,scope:_}=h,E=_.generateUidIdentifier("initialize"),A=y.id&&h.isDeclaration(),S=h.isInStrictMode(),{superClass:T}=y;y.type="ClassDeclaration",y.id||(y.id=s.types.cloneNode(d));let I;T&&(I=_.generateUidIdentifierBasedOnNode(y.superClass,"super"),y.superClass=I);let L=l(y),x=s.types.arrayExpression(m.filter(j=>!j.node.abstract&&j.node.type!=="TSIndexSignature").map(j=>function(k,$,U,F){let P=F.isClassMethod();if(F.isPrivate())throw F.buildCodeFrameError(`Private ${P?"methods":"fields"} in decorated classes are not supported yet.`);if(F.node.type==="ClassAccessorProperty")throw F.buildCodeFrameError('Accessor properties are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.');if(F.node.type==="StaticBlock")throw F.buildCodeFrameError('Static blocks are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.');let{node:W,scope:Z}=F;F.isTSDeclareMethod()||new u.default({methodPath:F,objectRef:$,superRef:U,file:k,refToPreserve:$}).replace();let ee=[a("kind",s.types.stringLiteral(s.types.isClassMethod(W)?W.kind:"field")),a("decorators",l(W)),a("static",W.static&&s.types.booleanLiteral(!0)),a("key",p(W))].filter(Boolean);P?(F.ensureFunctionName!=null||(F.ensureFunctionName=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.ensureFunctionName),F.ensureFunctionName(!1),ee.push(a("value",s.types.toExpression(F.node)))):s.types.isClassProperty(W)&&W.value?ee.push((J="value",ne=s.template.statements.ast`return ${W.value}`,s.types.objectMethod("method",s.types.identifier(J),[],s.types.blockStatement(ne)))):ee.push(a("value",Z.buildUndefinedNode()));var J,ne;return F.remove(),s.types.objectExpression(ee)}(g,y.id,I,j))),C=s.template.expression.ast`
|
|
${function(j){return j.addHelper("decorate")}(g)}(
|
|
${L||s.types.nullLiteral()},
|
|
function (${E}, ${T?s.types.cloneNode(I):null}) {
|
|
${y}
|
|
return { F: ${s.types.cloneNode(y.id)}, d: ${x} };
|
|
},
|
|
${T}
|
|
)
|
|
`;S||C.arguments[1].body.directives.push(s.types.directive(s.types.directiveLiteral("use strict")));let D=C,O="arguments.1.body.body.0";return A&&(D=s.template.statement.ast`let ${d} = ${C}`,O="declarations.0.init."+O),{instanceNodes:[s.template.statement.ast`
|
|
${s.types.cloneNode(E)}(this)
|
|
`],wrapClass:j=>(j.replaceWith(D),j.get(O))}},r.hasDecorators=function(d){return H(d)||d.body.body.some(H)},r.hasOwnDecorators=H;var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-replace-supers@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-replace-supers/lib/index.js");function H(d){var h;return!((h=d.decorators)==null||!h.length)}function a(d,h){return h?s.types.objectProperty(s.types.identifier(d),h):null}function l(d){let h;return d.decorators&&d.decorators.length>0&&(h=s.types.arrayExpression(d.decorators.map(m=>m.expression))),d.decorators=void 0,h}function p(d){return d.computed?d.key:s.types.isIdentifier(d.key)?s.types.stringLiteral(d.key.name):s.types.stringLiteral(String(d.key.value))}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function({assertVersion:me,assumption:ce},{loose:ke},je,Oe){var re,fe;me(je==="2023-11"||je==="2023-05"||je==="2023-01"?"^7.21.0":je==="2021-12"?"^7.16.0":"^7.19.0");let he=new WeakSet,se=(re=ce("constantSuper"))!=null?re:ke,Ie=(fe=ce("ignoreFunctionLength"))!=null?fe:ke,ye=function(nt,et){function xe(pe,ue,Se){switch(ue.type){case"StringLiteral":return s.types.stringLiteral(ue.value);case"NumericLiteral":case"BigIntLiteral":{let Ae=ue.value+"";return pe.get("key").replaceWith(s.types.stringLiteral(Ae)),s.types.stringLiteral(Ae)}default:{let Ae=pe.scope.maybeGenerateMemoised(ue);return pe.get("key").replaceWith(s.types.assignmentExpression("=",Ae,q(Se,ue))),s.types.cloneNode(Ae)}}}return{VariableDeclarator(pe,ue){let Se=pe.node.id;if(Se.type==="Identifier"){let Ae=(0,H.skipTransparentExprWrappers)(pe.get("init"));if(nt(Ae)){let de=Se.name;et(Ae,ue,de)}}},AssignmentExpression(pe,ue){let Se=pe.node.left;if(Se.type==="Identifier"){let Ae=(0,H.skipTransparentExprWrappers)(pe.get("right"));if(nt(Ae))switch(pe.node.operator){case"=":case"&&=":case"||=":case"??=":et(Ae,ue,Se.name)}}},AssignmentPattern(pe,ue){let Se=pe.node.left;if(Se.type==="Identifier"){let Ae=(0,H.skipTransparentExprWrappers)(pe.get("right"));if(nt(Ae)){let de=Se.name;et(Ae,ue,de)}}},ObjectExpression(pe,ue){for(let Se of pe.get("properties")){if(!Se.isObjectProperty())continue;let{node:Ae}=Se,de=Ae.key,We=(0,H.skipTransparentExprWrappers)(Se.get("value"));if(nt(We)){if(Ae.computed){let tt=xe(Se,de,ue);et(We,ue,tt)}else if(!_e(de))if(de.type==="Identifier")et(We,ue,de.name);else{let tt=s.types.stringLiteral(de.value+"");et(We,ue,tt)}}}},ClassPrivateProperty(pe,ue){let{node:Se}=pe,Ae=(0,H.skipTransparentExprWrappers)(pe.get("value"));if(nt(Ae)){let de=s.types.stringLiteral("#"+Se.key.id.name);et(Ae,ue,de)}},ClassAccessorProperty(pe,ue){let{node:Se}=pe,Ae=Se.key,de=(0,H.skipTransparentExprWrappers)(pe.get("value"));if(nt(de))if(Se.computed){let We=xe(pe,Ae,ue);et(de,ue,We)}else if(Ae.type==="Identifier")et(de,ue,Ae.name);else if(Ae.type==="PrivateName"){let We=s.types.stringLiteral("#"+Ae.id.name);et(de,ue,We)}else{let We=s.types.stringLiteral(Ae.value+"");et(de,ue,We)}},ClassProperty(pe,ue){let{node:Se}=pe,Ae=Se.key,de=(0,H.skipTransparentExprWrappers)(pe.get("value"));if(nt(de))if(Se.computed){let We=xe(pe,Ae,ue);et(de,ue,We)}else if(Ae.type==="Identifier")et(de,ue,Ae.name);else{let We=s.types.stringLiteral(Ae.value+"");et(de,ue,We)}}}}(Ve,$e);function $e(nt,et,xe){var pe;if(he.has(nt))return;let{node:ue}=nt;xe!=null||(xe=(pe=ue.id)==null?void 0:pe.name);let Se=function(Ae,de,We,tt,mt,At,pt){var Nt,Ce;let qe=Ae.get("body.body"),ot=Ae.node.decorators,Ze=!1,Pe=!1,Qe=!1,Ge=function(Yt){let ft;return()=>(ft||(ft=function(wt){let Vt=[],nr=new Set;return wt.traverse({PrivateName(Hr){nr.add(Hr.node.id.name)}}),()=>{let Hr;do p(Vt),Hr=String.fromCharCode(...Vt);while(nr.has(Hr));return s.types.privateName(s.types.identifier(Hr))}}(Yt)),ft())}(Ae),we=[],Ne=Ae.scope.parent,ht=(Yt,ft,wt)=>{let Vt=Fe(Ne,ft);return wt.push(s.types.assignmentExpression("=",Vt,Yt)),s.types.cloneNode(Vt)},it,Tt,Ot=(Nt=Ae.node.id)==null?void 0:Nt.name,Pt=typeof mt=="object"?mt:void 0,Ir=Yt=>{try{return s.types.traverseFast(Yt,ft=>{if(s.types.isThisExpression(ft)||s.types.isSuper(ft)||s.types.isYieldExpression(ft)||s.types.isAwaitExpression(ft)||s.types.isIdentifier(ft,{name:"arguments"})||Ot&&s.types.isIdentifier(ft,{name:Ot})||s.types.isMetaProperty(ft)&&ft.meta.name!=="import")throw null}),!1}catch{return!0}},Lr=[];for(let Yt of qe){if(!ee(Yt))continue;let ft=Yt.node;if(!ft.static&&s.types.isPrivateName(ft.key)&&Lr.push(ft.key.id.name),He(ft)){switch(ft.type){case"ClassProperty":At.ClassProperty(Yt,de);break;case"ClassPrivateProperty":At.ClassPrivateProperty(Yt,de);break;case"ClassAccessorProperty":if(At.ClassAccessorProperty(Yt,de),pt==="2023-11")break;default:ft.static?Tt!=null||(Tt=Fe(Ne,"initStatic")):it!=null||(it=Fe(Ne,"initProto"))}Ze=!0,Qe||(Qe=ft.decorators.some(Ir))}else if(ft.type==="ClassAccessorProperty"){At.ClassAccessorProperty(Yt,de);let{key:wt,value:Vt,static:nr,computed:Hr}=ft,Bt=Ge(),zt=d(Bt,Vt,nr),jt=Yt.get("key"),[xr]=Yt.replaceWith(zt),Or,hr;Hr&&!jt.isConstantExpression()?(Or=(0,l.memoiseComputedKey)(q(de,wt),Ne,Ne.generateUid("computedKey")),hr=s.types.cloneNode(Or.left)):(Or=s.types.cloneNode(wt),hr=s.types.cloneNode(wt)),h(Ae,mt),m(Ae.node.id,xr,Or,hr,Bt,Hr,nr,pt)}"computed"in Yt.node&&Yt.node.computed&&(Pe||(Pe=!Ne.isStatic(Yt.node.key)))}if(!ot&&!Ze)return Ae.node.id||typeof mt!="string"||(Ae.node.id=s.types.identifier(mt)),void(Pt&&Ae.node.body.body.unshift(L([K(de,Pt)])));let _n=[],_r,bn=new Set,wr,on,Cn=null;function Jr(Yt){let ft=!1,wt=!1,Vt=[];for(let nr of Yt){let{expression:Hr}=nr,Bt;(pt==="2023-11"||pt==="2023-05")&&s.types.isMemberExpression(Hr)&&(s.types.isSuper(Hr.object)?Bt=s.types.thisExpression():Ne.isStatic(Hr.object)?Bt=s.types.cloneNode(Hr.object):(Cn!=null||(Cn=Fe(Ne,"obj")),Bt=s.types.assignmentExpression("=",s.types.cloneNode(Cn),Hr.object),Hr.object=s.types.cloneNode(Cn))),Vt.push(Bt),ft||(ft=!Ne.isStatic(Hr)),wt||(wt=Ir(nr))}return{hasSideEffects:ft,usesFnContext:wt,decoratorsThis:Vt}}let Di=Pe||Qe||pt!=="2023-11",Gi,mn,Li=!1,us=0,Ni=[],xn=[];if(ot){wr=Fe(Ne,"initClass"),Li=Ae.isClassDeclaration(),{id:on,path:Ae}=function(Bt,zt){let jt=Bt.node.id,xr=Bt.scope;if(Bt.type==="ClassDeclaration"){let Or=jt.name,hr=xr.generateUidIdentifierBasedOnNode(jt),dr=s.types.identifier(Or);return xr.rename(Or,hr.name),Bt.get("id").replaceWith(dr),{id:s.types.cloneNode(hr),path:Bt}}{let Or;jt?(zt=jt.name,Or=Fe(xr.parent,zt),xr.rename(zt,Or.name)):Or=Fe(xr.parent,typeof zt=="string"?zt:"decorated_class");let hr=s.types.classExpression(typeof zt=="string"?s.types.identifier(zt):null,Bt.node.superClass,Bt.node.body),[dr]=Bt.replaceWith(s.types.sequenceExpression([hr,Or]));return{id:s.types.cloneNode(Or),path:dr.get("expressions.0")}}}(Ae,mt),Ae.node.decorators=null;let Yt=ot.some(z),{hasSideEffects:ft,usesFnContext:wt,decoratorsThis:Vt}=Jr(ot),{haveThis:nr,decs:Hr}=P(ot,Vt,pt);if(us=nr?1:0,Ni=Hr,(wt||ft&&Di||Yt)&&(Gi=ht(s.types.arrayExpression(Ni),"classDecs",we)),!Ze)for(let Bt of Ae.get("body.body")){let{node:zt}=Bt;if("computed"in zt&&zt.computed)if(Bt.isClassProperty({static:!0})){if(!Bt.get("key").isConstantExpression()){let jt=zt.key,xr=(0,l.memoiseComputedKey)(jt,Ne,Ne.generateUid("computedKey"));xr!=null&&(zt.key=s.types.cloneNode(xr.left),xn.push(xr))}}else xn.length>0&&(E(xn,Bt),xn=[])}}else h(Ae,mt),on=s.types.cloneNode(Ae.node.id);let ii=!1,ts=[],Pn=[];if(Ze){if(it){let Yt=s.types.callExpression(s.types.cloneNode(it),[s.types.thisExpression()]);ts.push(Yt)}for(let Yt of qe){if(!ee(Yt)){Pn.length>0&&Yt.isStaticBlock()&&(S(Pn,Yt),Pn=[]);continue}let{node:ft}=Yt,wt=ft.decorators,Vt=!(wt==null||!wt.length),nr="computed"in ft&&ft.computed,Hr,Bt,zt="computedKey";if(ft.key.type==="PrivateName"?zt=ft.key.id.name:nr||ft.key.type!=="Identifier"||(zt=ft.key.name),Vt){let{hasSideEffects:Sn,usesFnContext:Xn,decoratorsThis:zn}=Jr(wt),{decs:en,haveThis:ai}=P(wt,zn,pt);Bt=ai,Hr=en.length===1?en[0]:s.types.arrayExpression(en),(Xn||Sn&&Di)&&(Hr=ht(Hr,zt+"Decs",xn))}if(nr&&!Yt.get("key").isConstantExpression()){let Sn=ft.key,Xn=(0,l.memoiseComputedKey)(Vt?q(de,Sn):Sn,Ne,Ne.generateUid("computedKey"));Xn!=null&&(ot&&Yt.isClassProperty({static:!0})?(ft.key=s.types.cloneNode(Xn.left),xn.push(Xn)):ft.key=Xn)}let{key:jt,static:xr}=ft,Or=jt.type==="PrivateName",hr=F(Yt),dr;if(Or&&!xr&&(Vt&&(ii=!0),!s.types.isClassPrivateProperty(ft)&&mn||(mn=jt)),Yt.isClassMethod({kind:"constructor"})&&(_r=Yt),Vt){let Sn,Xn;if(Xn=nr?_(Yt.get("key")):jt.type==="PrivateName"?s.types.stringLiteral(jt.id.name):jt.type==="Identifier"?s.types.stringLiteral(jt.name):s.types.cloneNode(jt),hr===C){let{value:zn}=Yt.node,en=pt==="2023-11"&&xr?[]:[s.types.thisExpression()];zn&&en.push(s.types.cloneNode(zn));let ai=Ge(),Ri=Fe(Ne,`init_${zt}`),Oa=d(ai,s.types.callExpression(s.types.cloneNode(Ri),en),xr),[Fa]=Yt.replaceWith(Oa);if(Or){Sn=g(ai,pt);let ja=Fe(Ne,`get_${zt}`),ao=Fe(Ne,`set_${zt}`);W(pt,Fa,jt,ja,ao,xr),dr=[Ri,ja,ao]}else h(Ae,mt),m(Ae.node.id,Fa,s.types.cloneNode(jt),s.types.isAssignmentExpression(jt)?s.types.cloneNode(jt.left):s.types.cloneNode(jt),ai,nr,xr,pt),dr=[Ri]}else if(hr===x){let zn=Fe(Ne,`init_${zt}`),en=Yt.get("value"),ai=pt==="2023-11"&&xr?[]:[s.types.thisExpression()];en.node&&ai.push(en.node),en.replaceWith(s.types.callExpression(s.types.cloneNode(zn),ai)),dr=[zn],Or&&(Sn=g(jt,pt))}else if(Or){let zn=Fe(Ne,`call_${zt}`);if(dr=[zn],new u.default({constantSuper:We,methodPath:Yt,objectRef:on,superRef:Ae.node.superClass,file:de.file,refToPreserve:on}).replace(),Sn=[ne(Yt.node)],hr===O||hr===j)Z(Yt,s.types.cloneNode(jt),s.types.cloneNode(zn),xr);else{let en=Yt.node;Ae.node.body.body.unshift(s.types.classPrivateProperty(jt,s.types.cloneNode(zn),[],en.static)),bn.add(jt.id.name),Yt.remove()}}_n.push({kind:hr,decoratorsArray:Hr,decoratorsHaveThis:Bt,name:Xn,isStatic:xr,privateMethods:Sn,locals:dr}),Yt.node&&(Yt.node.decorators=null)}if(nr&&xn.length>0&&(ot&&Yt.isClassProperty({static:!0})||(E(xn,hr===C?Yt.getNextSibling():Yt),xn=[])),ts.length>0&&!xr&&(hr===x||hr===C)&&(A(ts,Yt),ts=[]),Pn.length>0&&xr&&(hr===x||hr===C)&&(A(Pn,Yt),Pn=[]),Vt&&pt==="2023-11"&&(hr===x||hr===C)){let Sn=Fe(Ne,`init_extra_${zt}`);dr.push(Sn);let Xn=s.types.callExpression(s.types.cloneNode(Sn),xr?[]:[s.types.thisExpression()]);xr?Pn.push(Xn):ts.push(Xn)}}}if(xn.length>0){let Yt=Ae.get("body.body"),ft;for(let wt=Yt.length-1;wt>=0;wt--){let Vt=Yt[wt],nr=Vt.node;if(nr.computed){if(ot&&s.types.isClassProperty(nr,{static:!0}))continue;ft=Vt;break}}ft!=null&&(function(wt,Vt){let nr=Vt.get("key"),Hr=y(nr);if(Hr.isConstantExpression())E(wt,Vt);else{let Bt=nr.scope.parent,zt=(0,l.memoiseComputedKey)(Hr.node,Bt,Bt.generateUid("computedKey"));if(zt){let jt=[...wt,s.types.cloneNode(zt.left)],xr=Hr.parentPath;xr.isSequenceExpression()?xr.pushContainer("expressions",jt):Hr.replaceWith(J([s.types.cloneNode(zt),...jt]))}else E(wt,Vt)}}(xn,ft),xn=[])}if(ts.length>0){let Yt=!!Ae.node.superClass;_r?Yt?function(ft,wt,Vt){wt.traverse({CallExpression:{exit(nr){if(!nr.get("callee").isSuper())return;let Hr=[nr.node,...ft.map(Bt=>s.types.cloneNode(Bt))];nr.isCompletionRecord()&&Hr.push(s.types.thisExpression()),nr.replaceWith(function(Bt,zt){if(zt){if(Bt.length>=2&&T(Bt[1],zt)){let jt=s.types.callExpression(s.types.cloneNode(zt),[Bt[0]]);Bt.splice(0,2,jt)}Bt.length>=2&&s.types.isThisExpression(Bt[Bt.length-1])&&T(Bt[Bt.length-2],zt)&&Bt.splice(Bt.length-1,1)}return J(Bt)}(Hr,Vt)),nr.skip()}},ClassMethod(nr){nr.node.kind==="constructor"&&nr.skip()}})}(ts,_r,it):function(ft,wt){wt.node.body.body.unshift(s.types.expressionStatement(J(ft)))}(ts,_r):Ae.node.body.body.unshift(I(ts,Yt)),ts=[]}Pn.length>0&&(Ae.node.body.body.push(L(Pn)),Pn=[]);let si=(Ls=_n,[...Ls.filter(Yt=>Yt.isStatic&&Yt.kind>=C&&Yt.kind<=j),...Ls.filter(Yt=>!Yt.isStatic&&Yt.kind>=C&&Yt.kind<=j),...Ls.filter(Yt=>Yt.isStatic&&Yt.kind===x),...Ls.filter(Yt=>!Yt.isStatic&&Yt.kind===x)]),Vs=function(Yt,ft){return s.types.arrayExpression(Yt.map(wt=>{let Vt=wt.kind;return wt.isStatic&&(Vt+=ft==="2023-11"||ft==="2023-05"?$:k),wt.decoratorsHaveThis&&(Vt+=U),s.types.arrayExpression([wt.decoratorsArray,s.types.numericLiteral(Vt),wt.name,...wt.privateMethods||[]])}))}(pt==="2023-11"?_n:si,pt),Oi=function(Yt){let ft=[];for(let wt of Yt){let{locals:Vt}=wt;Array.isArray(Vt)?ft.push(...Vt):Vt!==void 0&&ft.push(Vt)}return ft}(si);var Ls;it&&Oi.push(it),Tt&&Oi.push(Tt);let Fi=[],qr=!1,Mr=wr&&s.types.callExpression(s.types.cloneNode(wr),[]),rs=Ae,Br=Ae.node,Rs=[];if(ot){Fi.push(on,wr);let Yt=[];if(Ae.get("body.body").forEach(ft=>{if(ft.isStaticBlock()){if(ie(ft,Lr)){let Vt=ht((wt=ft.node,s.types.functionExpression(null,[],s.types.blockStatement(wt.body))),"staticBlock",Rs);Pn.push(s.types.callExpression(s.types.memberExpression(Vt,s.types.identifier("call")),[s.types.thisExpression()]))}else Pn.push(function(Vt){return s.types.callExpression(s.types.arrowFunctionExpression([],s.types.blockStatement(Vt.body)),[])}(ft.node));ft.remove()}else{var wt;if((ft.isClassProperty()||ft.isClassPrivateProperty())&&ft.node.static){let Vt=ft.get("value");if(ie(Vt,Lr)){let nr=ht(function(Hr){return s.types.functionExpression(null,[],s.types.blockStatement([s.types.returnStatement(Hr)]))}(Vt.node),"fieldValue",Rs);Vt.replaceWith(s.types.callExpression(s.types.memberExpression(nr,s.types.identifier("call")),[s.types.thisExpression()]))}Pn.length>0&&(A(Pn,ft),Pn=[]),ft.node.static=!1,Yt.push(ft.node),ft.remove()}else if(ft.isClassPrivateMethod({static:!0})){if(ie(ft,Lr)){new u.default({constantSuper:We,methodPath:ft,objectRef:on,superRef:Ae.node.superClass,file:de.file,refToPreserve:on}).replace();let Vt=ht(ne(ft.node),ft.get("key.id").node.name,Rs);tt?(ft.node.params=[s.types.restElement(s.types.identifier("arg"))],ft.node.body=s.types.blockStatement([s.types.returnStatement(s.types.callExpression(s.types.memberExpression(Vt,s.types.identifier("apply")),[s.types.thisExpression(),s.types.identifier("arg")]))])):(ft.node.params=ft.node.params.map((nr,Hr)=>s.types.isRestElement(nr)?s.types.restElement(s.types.identifier("arg")):s.types.identifier("_"+Hr)),ft.node.body=s.types.blockStatement([s.types.returnStatement(s.types.callExpression(s.types.memberExpression(Vt,s.types.identifier("apply")),[s.types.thisExpression(),s.types.identifier("arguments")]))]))}ft.node.static=!1,Yt.push(ft.node),ft.remove()}}}),Yt.length>0||Pn.length>0){let ft=s.template.expression.ast`
|
|
class extends ${de.addHelper("identity")} {}
|
|
`;ft.body.body=[s.types.classProperty(s.types.toExpression(Br),void 0,void 0,void 0,!0,!0),...Yt];let wt=[],Vt=s.types.newExpression(ft,[]);Pn.length>0&&wt.push(...Pn),Mr&&(qr=!0,wt.push(Mr)),wt.length>0?(wt.unshift(s.types.callExpression(s.types.super(),[s.types.cloneNode(on)])),ft.body.body.push(I(wt,!1))):Vt.arguments.push(s.types.cloneNode(on));let[nr]=Ae.replaceWith(Vt);rs=nr.get("callee").get("body").get("body.0.key")}}!qr&&Mr&&Ae.node.body.body.push(s.types.staticBlock([s.types.expressionStatement(Mr)]));let{superClass:Xi}=Br;if(Xi&&(pt==="2023-11"||pt==="2023-05")){let Yt=Ae.scope.maybeGenerateMemoised(Xi);Yt&&(Br.superClass=s.types.assignmentExpression("=",Yt,Xi),Xi=Yt)}let ns=s.types.staticBlock([]);Br.body.body.unshift(ns);let vr=ns.body;if(xn.length>0){let Yt=rs.get("body.body"),ft;for(let wt of Yt)if((wt.isClassProperty()||wt.isClassMethod())&&wt.node.kind!=="constructor"){ft=wt;break}ft!=null?(function(wt){let{node:Vt}=wt;Vt.computed=!0,s.types.isIdentifier(Vt.key)&&(Vt.key=s.types.stringLiteral(Vt.key.name))}(ft),E(xn,ft)):(Br.body.body.unshift(s.types.classProperty(s.types.sequenceExpression([...xn,s.types.stringLiteral("_")]),void 0,void 0,void 0,!0,!0)),vr.push(s.types.expressionStatement(s.types.unaryExpression("delete",s.types.memberExpression(s.types.thisExpression(),s.types.identifier("_")))))),xn=[]}if(vr.push(s.types.expressionStatement(function(Yt,ft,wt,Vt,nr,Hr,Bt,zt,jt,xr){let Or,hr,dr=[Bt?K(jt,Bt):s.types.thisExpression(),Vt,wt];return xr!=="2023-11"&&dr.splice(1,2,wt,Vt),xr==="2021-12"||xr==="2022-03"&&!jt.availableHelper("applyDecs2203R")?(Or=s.types.arrayPattern([...Yt,...ft]),hr=s.types.callExpression(jt.addHelper(xr==="2021-12"?"applyDecs":"applyDecs2203"),dr),s.types.assignmentExpression("=",Or,hr)):(xr==="2022-03"?hr=s.types.callExpression(jt.addHelper("applyDecs2203R"),dr):xr==="2023-01"?(Hr&&dr.push(Q(Hr)),hr=s.types.callExpression(jt.addHelper("applyDecs2301"),dr)):xr==="2023-05"&&((Hr||zt||nr.value!==0)&&dr.push(nr),Hr?dr.push(Q(Hr)):zt&&dr.push(s.types.unaryExpression("void",s.types.numericLiteral(0))),zt&&dr.push(zt),hr=s.types.callExpression(jt.addHelper("applyDecs2305"),dr)),xr==="2023-11"&&((Hr||zt||nr.value!==0)&&dr.push(nr),Hr?dr.push(Q(Hr)):zt&&dr.push(s.types.unaryExpression("void",s.types.numericLiteral(0))),zt&&dr.push(zt),hr=s.types.callExpression(jt.addHelper("applyDecs2311"),dr)),Yt.length>0?ft.length>0?Or=s.types.objectPattern([s.types.objectProperty(s.types.identifier("e"),s.types.arrayPattern(Yt)),s.types.objectProperty(s.types.identifier("c"),s.types.arrayPattern(ft))]):(Or=s.types.arrayPattern(Yt),hr=s.types.memberExpression(hr,s.types.identifier("e"),!1,!1)):(Or=s.types.arrayPattern(ft),hr=s.types.memberExpression(hr,s.types.identifier("c"),!1,!1)),s.types.assignmentExpression("=",Or,hr))}(Oi,Fi,Vs,(Ce=Gi)!=null?Ce:s.types.arrayExpression(Ni),s.types.numericLiteral(us),ii?mn:null,Pt,s.types.cloneNode(Xi),de,pt))),Tt&&vr.push(s.types.expressionStatement(s.types.callExpression(s.types.cloneNode(Tt),[s.types.thisExpression()]))),Rs.length>0&&vr.push(...Rs.map(Yt=>s.types.expressionStatement(Yt))),Ae.insertBefore(we.map(Yt=>s.types.expressionStatement(Yt))),Li)if(Ne.getBinding(on.name).constantViolations.length){let Yt=Ne.generateUidIdentifier("t"+on.name),ft=on;Ae.replaceWithMultiple([s.types.variableDeclaration("let",[s.types.variableDeclarator(s.types.cloneNode(ft)),s.types.variableDeclarator(Yt)]),s.types.blockStatement([s.types.variableDeclaration("let",[s.types.variableDeclarator(s.types.cloneNode(on))]),Ae.node,s.types.expressionStatement(s.types.assignmentExpression("=",s.types.cloneNode(Yt),s.types.cloneNode(on)))]),s.types.expressionStatement(s.types.assignmentExpression("=",s.types.cloneNode(ft),s.types.cloneNode(Yt)))])}else Ae.insertBefore(s.types.variableDeclaration("let",[s.types.variableDeclarator(s.types.cloneNode(on))]));return bn.size>0&&function(Yt,ft){let wt=(0,a.privateNameVisitorFactory)({PrivateName(nr,Hr){if(!Hr.privateNamesMap.has(nr.node.id.name))return;let Bt=nr.parentPath,zt=Bt.parentPath;if(zt.node.type==="AssignmentExpression"&&zt.node.left===Bt.node||zt.node.type==="UpdateExpression"||zt.node.type==="RestElement"||zt.node.type==="ArrayPattern"||zt.node.type==="ObjectProperty"&&zt.node.value===Bt.node&&zt.parentPath.type==="ObjectPattern"||zt.node.type==="ForOfStatement"&&zt.node.left===Bt.node)throw nr.buildCodeFrameError(`Decorated private methods are read-only, but "#${nr.node.id.name}" is updated via this expression.`)}}),Vt=new Map;for(let nr of ft)Vt.set(nr,null);Yt.traverse(wt,{privateNamesMap:Vt})}(Ae,bn),Ae.scope.crawl(),Ae}(nt,et,se,Ie,xe,ye,je);Se?he.add(Se):he.add(nt)}return{name:"proposal-decorators",inherits:Oe,visitor:Object.assign({ExportDefaultDeclaration(nt,et){let{declaration:xe}=nt.node;if(xe?.type==="ClassDeclaration"&&He(xe)){let pe=!xe.id;nt.splitExportDeclaration!=null||(nt.splitExportDeclaration=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.splitExportDeclaration);let ue=nt.splitExportDeclaration();pe&&$e(ue,et,s.types.stringLiteral("default"))}},ExportNamedDeclaration(nt){let{declaration:et}=nt.node;et?.type==="ClassDeclaration"&&He(et)&&(nt.splitExportDeclaration!=null||(nt.splitExportDeclaration=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.splitExportDeclaration),nt.splitExportDeclaration())},Class(nt,et){$e(nt,et,void 0)}},ye)}};var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-replace-supers@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-replace-supers/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.25.7/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js"),a=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js"),l=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js");function p(me,ce=me.length-1){if(ce===-1)return void me.unshift(65);let ke=me[ce];ke===90?me[ce]=97:ke===122?(me[ce]=65,p(me,ce-1)):me[ce]=ke+1}function d(me,ce,ke){return me.type==="PrivateName"?s.types.classPrivateProperty(me,ce,void 0,ke):s.types.classProperty(me,ce,void 0,void 0,ke)}function h(me,ce){me.node.id||(me.node.id=typeof ce=="string"?s.types.identifier(ce):me.scope.generateUidIdentifier("Class"))}function m(me,ce,ke,je,Oe,re,fe,he){let se=he!=="2023-11"&&he!=="2023-05"||!fe?s.types.thisExpression():me,Ie=s.types.blockStatement([s.types.returnStatement(s.types.memberExpression(s.types.cloneNode(se),s.types.cloneNode(Oe)))]),ye=s.types.blockStatement([s.types.expressionStatement(s.types.assignmentExpression("=",s.types.memberExpression(s.types.cloneNode(se),s.types.cloneNode(Oe)),s.types.identifier("v")))]),$e,nt;ke.type==="PrivateName"?($e=s.types.classPrivateMethod("get",ke,[],Ie,fe),nt=s.types.classPrivateMethod("set",je,[s.types.identifier("v")],ye,fe)):($e=s.types.classMethod("get",ke,[],Ie,re,fe),nt=s.types.classMethod("set",je,[s.types.identifier("v")],ye,re,fe)),ce.insertAfter(nt),ce.insertAfter($e)}function g(me,ce){return ce!=="2023-11"&&ce!=="2023-05"&&ce!=="2023-01"?[s.template.expression.ast`
|
|
function () {
|
|
return this.${s.types.cloneNode(me)};
|
|
}
|
|
`,s.template.expression.ast`
|
|
function (value) {
|
|
this.${s.types.cloneNode(me)} = value;
|
|
}
|
|
`]:[s.template.expression.ast`
|
|
o => o.${s.types.cloneNode(me)}
|
|
`,s.template.expression.ast`
|
|
(o, v) => o.${s.types.cloneNode(me)} = v
|
|
`]}function y(me){if((me=(0,H.skipTransparentExprWrappers)(me)).isSequenceExpression()){let ce=me.get("expressions");return y(ce[ce.length-1])}return me}function _(me){let ce=y(me);if(ce.isConstantExpression()||ce.isIdentifier()&&me.scope.hasUid(ce.node.name))return s.types.cloneNode(me.node);if(ce.isAssignmentExpression()&&ce.get("left").isIdentifier())return s.types.cloneNode(ce.node.left);throw new Error(`Internal Error: the computed key ${me.toString()} has not yet been memoised.`)}function E(me,ce){let ke=ce.get("key");ke.isSequenceExpression()?me.push(...ke.node.expressions):me.push(ke.node),ke.replaceWith(J(me))}function A(me,ce){let ke=ce.get("value");ke.node?me.push(ke.node):me.length>0&&(me[me.length-1]=s.types.unaryExpression("void",me[me.length-1])),ke.replaceWith(J(me))}function S(me,ce){ce.unshiftContainer("body",s.types.expressionStatement(J(me)))}function T(me,ce){return s.types.isCallExpression(me)&&s.types.isIdentifier(me.callee,{name:ce.name})}function I(me,ce){let ke=[s.types.expressionStatement(J(me))];return ce&&ke.unshift(s.types.expressionStatement(s.types.callExpression(s.types.super(),[s.types.spreadElement(s.types.identifier("args"))]))),s.types.classMethod("constructor",s.types.identifier("constructor"),ce?[s.types.restElement(s.types.identifier("args"))]:[],s.types.blockStatement(ke))}function L(me){return s.types.staticBlock([s.types.expressionStatement(J(me))])}let x=0,C=1,D=2,O=3,j=4,k=5,$=8,U=16;function F(me){switch(me.node.type){case"ClassProperty":case"ClassPrivateProperty":return x;case"ClassAccessorProperty":return C;case"ClassMethod":case"ClassPrivateMethod":return me.node.kind==="get"?O:me.node.kind==="set"?j:D}}function P(me,ce,ke){let je=me.length,Oe=ce.some(Boolean),re=[];for(let fe=0;fe<je;fe++)ke!=="2023-11"&&ke!=="2023-05"||!Oe||re.push(ce[fe]||s.types.unaryExpression("void",s.types.numericLiteral(0))),re.push(me[fe].expression);return{haveThis:Oe,decs:re}}function W(me,ce,ke,je,Oe,re){ce.insertAfter(s.types.classPrivateMethod("get",s.types.cloneNode(ke),[],s.types.blockStatement([s.types.returnStatement(s.types.callExpression(s.types.cloneNode(je),me==="2023-11"&&re?[]:[s.types.thisExpression()]))]),re)),ce.insertAfter(s.types.classPrivateMethod("set",s.types.cloneNode(ke),[s.types.identifier("v")],s.types.blockStatement([s.types.expressionStatement(s.types.callExpression(s.types.cloneNode(Oe),me==="2023-11"&&re?[s.types.identifier("v")]:[s.types.thisExpression(),s.types.identifier("v")]))]),re))}function Z(me,ce,ke,je){let Oe,re;me.node.kind==="set"?(Oe=[s.types.identifier("v")],re=[s.types.expressionStatement(s.types.callExpression(ke,[s.types.thisExpression(),s.types.identifier("v")]))]):(Oe=[],re=[s.types.returnStatement(s.types.callExpression(ke,[s.types.thisExpression()]))]),me.replaceWith(s.types.classPrivateMethod(me.node.kind,s.types.cloneNode(ce),Oe,s.types.blockStatement(re),je))}function ee(me){let{type:ce}=me;return ce!=="TSDeclareMethod"&&ce!=="TSIndexSignature"&&ce!=="StaticBlock"}function J(me){return me.length===0?s.types.unaryExpression("void",s.types.numericLiteral(0)):me.length===1?me[0]:s.types.sequenceExpression(me)}function ne(me){let{params:ce,body:ke,generator:je,async:Oe}=me;return s.types.functionExpression(void 0,ce,ke,je,Oe)}function K(me,ce){return s.types.callExpression(me.addHelper("setFunctionName"),[s.types.thisExpression(),ce])}function q(me,ce){return s.types.callExpression(me.addHelper("toPropertyKey"),[ce])}function Q(me){return s.types.arrowFunctionExpression([s.types.identifier("_")],s.types.binaryExpression("in",s.types.cloneNode(me),s.types.identifier("_")))}function z(me){try{return s.types.traverseFast(me,ce=>{if(s.types.isPrivateName(ce))throw null}),!1}catch{return!0}}function ie(me,ce){let ke=!1;if(ce.length>0){let je=(0,a.privateNameVisitorFactory)({PrivateName(re,fe){fe.privateNamesMap.has(re.node.id.name)&&(ke=!0,re.stop())}}),Oe=new Map;for(let re of ce)Oe.set(re,null);me.traverse(je,{privateNamesMap:Oe})}return ke}function _e(me){return me.type==="Identifier"?me.name==="__proto__":me.value==="__proto__"}function He(me){return me.decorators&&me.decorators.length>0}function be(me){switch(me.type){case"ClassAccessorProperty":return!0;case"ClassMethod":case"ClassProperty":case"ClassPrivateMethod":case"ClassPrivateProperty":return He(me);default:return!1}}function Ve(me){return me.isClassExpression({id:null})&&(He(ce=me.node)||ce.body.body.some(be));var ce}function Fe(me,ce){let ke=me.generateUidIdentifier(ce);return me.push({id:ke,kind:"let"}),s.types.cloneNode(ke)}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-create-class-features-plugin/lib/features.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.FEATURES=void 0,r.enableFeature=function(_,E,A){m(_,E)&&!d(_,E)||(_.set(a,_.get(a)|E),A==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"?(y(_,E,!0),_.set(p,_.get(p)|E)):A==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"?(y(_,E,!1),_.set(p,_.get(p)|E)):y(_,E,A));let S;for(let[I,L]of H){if(!m(_,I)||d(_,I))continue;let x=g(_,I);if(S===!x)throw new Error(`'loose' mode configuration must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled).
|
|
|
|
`+h(_));S=x;var T=L}if(S!==void 0)for(let[I,L]of H)m(_,I)&&g(_,I)!==S&&(y(_,I,S),console.warn(`Though the "loose" option was set to "${!S}" in your @babel/preset-env config, it will not be used for ${L} since the "loose" mode option was set to "${S}" for ${T}.
|
|
The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding
|
|
["${L}", { "loose": ${S} }]
|
|
to the "plugins" section of your Babel config.
|
|
|
|
`+h(_)))},r.isLoose=g,r.shouldTransform=function(_,E){let A=null,S=null,T=null,I=null,L=null;(0,s.hasOwnDecorators)(_.node)&&(A=_.get("decorators.0"));for(let x of _.get("body.body"))!A&&(0,s.hasOwnDecorators)(x.node)&&(A=x.get("decorators.0")),!S&&x.isClassProperty()&&(S=x),!T&&x.isClassPrivateProperty()&&(T=x),!I&&x.isClassPrivateMethod!=null&&x.isClassPrivateMethod()&&(I=x),!L&&x.isStaticBlock!=null&&x.isStaticBlock()&&(L=x);if(A&&T)throw T.buildCodeFrameError("Private fields in decorated classes are not supported yet.");if(A&&I)throw I.buildCodeFrameError("Private methods in decorated classes are not supported yet.");if(A&&!m(E,u.decorators))throw _.buildCodeFrameError(`Decorators are not enabled.
|
|
If you are using ["@babel/plugin-proposal-decorators", { "version": "legacy" }], make sure it comes *before* "@babel/plugin-transform-class-properties" and enable loose mode, like so:
|
|
["@babel/plugin-proposal-decorators", { "version": "legacy" }]
|
|
["@babel/plugin-transform-class-properties", { "loose": true }]`);if(I&&!m(E,u.privateMethods))throw I.buildCodeFrameError("Class private methods are not enabled. Please add `@babel/plugin-transform-private-methods` to your configuration.");if((S||T)&&!m(E,u.fields)&&!m(E,u.privateMethods))throw _.buildCodeFrameError("Class fields are not enabled. Please add `@babel/plugin-transform-class-properties` to your configuration.");if(L&&!m(E,u.staticBlocks))throw _.buildCodeFrameError("Static class blocks are not enabled. Please add `@babel/plugin-transform-class-static-block` to your configuration.");return!!(A||I||L||(S||T)&&m(E,u.fields))};var s=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js");let u=r.FEATURES=Object.freeze({fields:2,privateMethods:4,decorators:8,privateIn:16,staticBlocks:32}),H=new Map([[u.fields,"@babel/plugin-transform-class-properties"],[u.privateMethods,"@babel/plugin-transform-private-methods"],[u.privateIn,"@babel/plugin-transform-private-property-in-object"]]),a="@babel/plugin-class-features/featuresKey",l="@babel/plugin-class-features/looseKey";var p="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing",d=function(_,E){return!!(_.get(p)&E)};function h(_){let{filename:E}=_.opts;return E&&E!=="unknown"||(E="[name of the input file]"),`If you already set the same 'loose' mode for these plugins in your config, it's possible that they are enabled multiple times with different options.
|
|
You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:
|
|
npx cross-env BABEL_SHOW_CONFIG_FOR=${E} <your build command>
|
|
See https://babeljs.io/docs/configuration#print-effective-configs for more info.`}function m(_,E){return!!(_.get(a)&E)}function g(_,E){return!!(_.get(l)&E)}function y(_,E,A){A?_.set(l,_.get(l)|E):_.set(l,_.get(l)&~E),_.set(p,_.get(p)&~E)}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.buildCheckInRHS=E,r.buildFieldsInitNodes=function(z,ie,_e,He,be,Ve,Fe,me,ce,ke){var je;let Oe,re=0,fe=[],he=[],se=!1,Ie=[],ye=null,$e=s.types.isIdentifier(ie)?()=>ie:()=>(Oe!=null||(Oe=_e[0].scope.generateUidIdentifierBasedOnNode(ie)),Oe),nt=(je=z)!=null?je:_e[0].scope.generateUidIdentifier(ke?.name||"Class");z!=null||(z=s.types.cloneNode(ke));for(let et of _e){et.isClassProperty()&&h.assertFieldTransformed(et);let xe=!(s.types.isStaticBlock!=null&&s.types.isStaticBlock(et.node))&&et.node.static,pe=!xe,ue=et.isPrivate(),Se=!ue,Ae=et.isProperty(),de=!Ae,We=et.isStaticBlock==null?void 0:et.isStaticBlock();switch(xe&&(re|=1),(xe||de&&ue||We)&&(new H.default({methodPath:et,constantSuper:ce,file:be,refToPreserve:ke,getSuperRef:$e,getObjectRef:()=>(re|=2,xe||We?nt:s.types.memberExpression(nt,s.types.identifier("prototype")))}).replace(),ne(et,nt,ke)&&(re|=2)),se=!1,!0){case We:{let tt=et.node.body;tt.length===1&&s.types.isExpressionStatement(tt[0])?fe.push(q(tt[0],et)):fe.push(s.types.inheritsComments(s.template.statement.ast`(() => { ${tt} })()`,et.node));break}case(xe&&ue&&Ae&&Fe):fe.push(D(s.types.cloneNode(z),et,He));break;case(xe&&ue&&Ae&&!Fe):m(be)?fe.push(j(et,He,me)):fe.push(k(et,He));break;case(xe&&Se&&Ae&&Ve):if(!K(et.node)){fe.push(F(s.types.cloneNode(z),et));break}case(xe&&Se&&Ae&&!Ve):fe.push(P(s.types.cloneNode(z),et,be));break;case(pe&&ue&&Ae&&Fe):he.push(D(s.types.thisExpression(),et,He));break;case(pe&&ue&&Ae&&!Fe):he.push(O(s.types.thisExpression(),et,He,be));break;case(pe&&ue&&de&&Fe):he.unshift($(s.types.thisExpression(),et,He)),Ie.push(Z(be,et,He,Fe));break;case(pe&&ue&&de&&!Fe):he.unshift(U(s.types.thisExpression(),et,He,be)),Ie.push(Z(be,et,He,Fe));break;case(xe&&ue&&de&&!Fe):m(be)||fe.unshift(k(et,He)),Ie.push(Z(be,et,He,Fe));break;case(xe&&ue&&de&&Fe):fe.unshift(W(s.types.cloneNode(z),et,be,He)),Ie.push(Z(be,et,He,Fe));break;case(pe&&Se&&Ae&&Ve):he.push(F(s.types.thisExpression(),et));break;case(pe&&Se&&Ae&&!Ve):se=!0,he.push(P(s.types.thisExpression(),et,be));break;default:throw new Error("Unreachable.")}}return 2&re&&ke!=null&&(ye=s.types.expressionStatement(s.types.assignmentExpression("=",s.types.cloneNode(nt),s.types.cloneNode(ke)))),{staticNodes:fe.filter(Boolean),instanceNodes:he.filter(Boolean),lastInstanceNodeReturnsThis:se,pureStaticNodes:Ie.filter(Boolean),classBindingNode:ye,wrapClass(et){for(let xe of _e)xe.node.leadingComments=null,xe.remove();return Oe&&(et.scope.push({id:s.types.cloneNode(Oe)}),et.set("superClass",s.types.assignmentExpression("=",Oe,et.node.superClass))),re!==0&&(et.isClassExpression()?(et.scope.push({id:z}),et.replaceWith(s.types.assignmentExpression("=",s.types.cloneNode(z),et.node))):(ke==null&&(et.node.id=z),ye!=null&&et.scope.push({id:nt}))),et}}},r.buildPrivateNamesMap=function(z,ie,_e,He){let be=new Map,Ve;for(let Fe of _e)if(Fe.isPrivate()){let{name:me}=Fe.node.key.id,ce=be.get(me);if(!ce){let ke=!Fe.isProperty(),je=Fe.node.static,Oe,re=!1;!ie&&m(He)&&ke&&!je?(re=!!Ve,Ve!=null||(Ve=Fe.scope.generateUidIdentifier(`${z}_brand`)),Oe=Ve):Oe=Fe.scope.generateUidIdentifier(me),ce={id:Oe,static:je,method:ke,initAdded:re},be.set(me,ce)}if(Fe.isClassPrivateMethod())if(Fe.node.kind==="get"){let{body:ke}=Fe.node.body,je;ke.length===1&&s.types.isReturnStatement(je=ke[0])&&s.types.isCallExpression(je=je.argument)&&je.arguments.length===1&&s.types.isThisExpression(je.arguments[0])&&s.types.isIdentifier(je=je.callee)?(ce.getId=s.types.cloneNode(je),ce.getterDeclared=!0):ce.getId=Fe.scope.generateUidIdentifier(`get_${me}`)}else if(Fe.node.kind==="set"){let{params:ke}=Fe.node,{body:je}=Fe.node.body,Oe;je.length===1&&s.types.isExpressionStatement(Oe=je[0])&&s.types.isCallExpression(Oe=Oe.expression)&&Oe.arguments.length===2&&s.types.isThisExpression(Oe.arguments[0])&&s.types.isIdentifier(Oe.arguments[1],{name:ke[0].name})&&s.types.isIdentifier(Oe=Oe.callee)?(ce.setId=s.types.cloneNode(Oe),ce.setterDeclared=!0):ce.setId=Fe.scope.generateUidIdentifier(`set_${me}`)}else Fe.node.kind==="method"&&(ce.methodId=Fe.scope.generateUidIdentifier(me));be.set(me,ce)}return be},r.buildPrivateNamesNodes=function(z,ie,_e,He){let be=[],Ve=new Set;for(let[Fe,me]of z){let{static:ce,method:ke,getId:je,setId:Oe}=me,re=je||Oe,fe=s.types.cloneNode(me.id),he;if(ie)he=s.types.callExpression(He.addHelper("classPrivateFieldLooseKey"),[s.types.stringLiteral(Fe)]);else if(_e)he=s.types.callExpression(s.types.identifier("Symbol"),[s.types.stringLiteral(Fe)]);else if(!ce){if(Ve.has(fe.name))continue;Ve.add(fe.name),he=s.types.newExpression(s.types.identifier(!ke||re&&!m(He)?"WeakMap":"WeakSet"),[])}he&&(_e||(0,p.default)(he),be.push(s.template.statement.ast`var ${fe} = ${he}`))}return be},r.privateNameVisitorFactory=g,r.transformPrivateNamesUsage=function(z,ie,_e,{privateFieldsAsProperties:He,noUninitializedPrivateFieldAccess:be,noDocumentAll:Ve,innerBinding:Fe},me){if(!_e.size)return;let ce=ie.get("body"),ke=He?C:x;(0,a.default)(ce,y,Object.assign({privateNamesMap:_e,classRef:z,file:me},ke,{noDocumentAll:Ve,noUninitializedPrivateFieldAccess:be,innerBinding:Fe})),ce.traverse(A,{privateNamesMap:_e,classRef:z,file:me,privateFieldsAsProperties:He,innerBinding:Fe})};var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js"),u=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-replace-supers@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-replace-supers/lib/index.js"),a=c("./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.25.7/node_modules/@babel/helper-member-expression-to-functions/lib/index.js"),l=c("./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.25.7/node_modules/@babel/helper-optimise-call-expression/lib/index.js"),p=c("./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.25.7/node_modules/@babel/helper-annotate-as-pure/lib/index.js"),d=c("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.25.7/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js"),h=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js"),m=z=>z.availableHelper("classPrivateFieldGet2");function g(z){let ie=u.visitors.environmentVisitor(Object.assign({},z)),_e=Object.assign({},z,{Class(He){let{privateNamesMap:be}=this,Ve=He.get("body.body"),Fe=new Map(be),me=[];for(let ce of Ve){if(!ce.isPrivate())continue;let{name:ke}=ce.node.key.id;Fe.delete(ke),me.push(ke)}me.length&&(He.get("body").traverse(ie,Object.assign({},this,{redeclared:me})),He.traverse(_e,Object.assign({},this,{privateNamesMap:Fe})),He.skipKey("body"))}});return _e}let y=g({PrivateName(z,{noDocumentAll:ie}){let{privateNamesMap:_e,redeclared:He}=this,{node:be,parentPath:Ve}=z;if(!Ve.isMemberExpression({property:be})&&!Ve.isOptionalMemberExpression({property:be}))return;let{name:Fe}=be.id;_e.has(Fe)&&(He!=null&&He.includes(Fe)||this.handle(Ve,ie))}});function _(z,ie,_e){for(;(He=ie)!=null&&He.hasBinding(z)&&!ie.bindingIdentifierEquals(z,_e);){var He;ie.rename(z),ie=ie.parent}}function E(z,ie,_e){return _e||ie.availableHelper==null||!ie.availableHelper("checkInRHS")?z:s.types.callExpression(ie.addHelper("checkInRHS"),[z])}let A=g({BinaryExpression(z,{file:ie}){let{operator:_e,left:He,right:be}=z.node;if(_e!=="in"||!s.types.isPrivateName(He))return;let{privateFieldsAsProperties:Ve,privateNamesMap:Fe,redeclared:me}=this,{name:ce}=He.id;if(!Fe.has(ce)||me!=null&&me.includes(ce))return;if(_(this.classRef.name,z.scope,this.innerBinding),Ve){let{id:Oe}=Fe.get(ce);return void z.replaceWith(s.template.expression.ast`
|
|
Object.prototype.hasOwnProperty.call(${E(be,ie)}, ${s.types.cloneNode(Oe)})
|
|
`)}let{id:ke,static:je}=Fe.get(ce);je?z.replaceWith(s.template.expression.ast`${E(be,ie)} === ${s.types.cloneNode(this.classRef)}`):z.replaceWith(s.template.expression.ast`${s.types.cloneNode(ke)}.has(${E(be,ie)})`)}});function S(z,ie){return s.types.callExpression(z.addHelper("readOnlyError"),[s.types.stringLiteral(`#${ie}`)])}function T(z,ie){return z.availableHelper("writeOnlyError")?s.types.callExpression(z.addHelper("writeOnlyError"),[s.types.stringLiteral(`#${ie}`)]):(console.warn("@babel/helpers is outdated, update it to silence this warning."),s.types.buildUndefinedNode())}function I(z,ie){return ie?z:s.types.memberExpression(z,s.types.identifier("_"))}function L(z){return function(ie){return s.types.inherits(z.apply(this,arguments),ie.node)}}let x={memoise(z,ie){let{scope:_e}=z,{object:He}=z.node,be=_e.maybeGenerateMemoised(He);be&&this.memoiser.set(He,be,ie)},receiver(z){let{object:ie}=z.node;return this.memoiser.has(ie)?s.types.cloneNode(this.memoiser.get(ie)):s.types.cloneNode(ie)},get:L(function(z){let{classRef:ie,privateNamesMap:_e,file:He,innerBinding:be,noUninitializedPrivateFieldAccess:Ve}=this,Fe=z.node.property,{name:me}=Fe.id,{id:ce,static:ke,method:je,methodId:Oe,getId:re,setId:fe}=_e.get(me),he=re||fe,se=Ie=>s.types.inherits(s.types.cloneNode(Ie),Fe);if(ke){if(_(ie.name,z.scope,be),!m(He)){let $e=je&&!he?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";return s.types.callExpression(He.addHelper($e),[this.receiver(z),s.types.cloneNode(ie),se(ce)])}let Ie=this.receiver(z),ye=s.types.isIdentifier(Ie)&&Ie.name===ie.name;if(!je)return I(ye?se(ce):s.types.callExpression(He.addHelper("assertClassBrand"),[s.types.cloneNode(ie),Ie,se(ce)]),Ve);if(re)return ye?s.types.callExpression(se(re),[Ie]):s.types.callExpression(He.addHelper("classPrivateGetter"),[s.types.cloneNode(ie),Ie,se(re)]);if(fe){let $e=s.types.buildUndefinedNode();return ye?$e:s.types.sequenceExpression([s.types.callExpression(He.addHelper("assertClassBrand"),[s.types.cloneNode(ie),Ie]),$e])}return ye?se(ce):s.types.callExpression(He.addHelper("assertClassBrand"),[s.types.cloneNode(ie),Ie,se(ce)])}return je?he?re?m(He)?s.types.callExpression(He.addHelper("classPrivateGetter"),[s.types.cloneNode(ce),this.receiver(z),se(re)]):s.types.callExpression(He.addHelper("classPrivateFieldGet"),[this.receiver(z),se(ce)]):s.types.sequenceExpression([this.receiver(z),T(He,me)]):m(He)?s.types.callExpression(He.addHelper("assertClassBrand"),[s.types.cloneNode(ce),this.receiver(z),se(Oe)]):s.types.callExpression(He.addHelper("classPrivateMethodGet"),[this.receiver(z),s.types.cloneNode(ce),se(Oe)]):m(He)?s.types.callExpression(He.addHelper("classPrivateFieldGet2"),[se(ce),this.receiver(z)]):s.types.callExpression(He.addHelper("classPrivateFieldGet"),[this.receiver(z),se(ce)])}),boundGet(z){return this.memoise(z,1),s.types.callExpression(s.types.memberExpression(this.get(z),s.types.identifier("bind")),[this.receiver(z)])},set:L(function(z,ie){let{classRef:_e,privateNamesMap:He,file:be,noUninitializedPrivateFieldAccess:Ve}=this,Fe=z.node.property,{name:me}=Fe.id,{id:ce,static:ke,method:je,setId:Oe,getId:re}=He.get(me),fe=re||Oe,he=se=>s.types.inherits(s.types.cloneNode(se),Fe);if(ke){if(!m(be)){let ye=je&&!fe?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return s.types.callExpression(be.addHelper(ye),[this.receiver(z),s.types.cloneNode(_e),he(ce),ie])}let se=this.receiver(z),Ie=s.types.isIdentifier(se)&&se.name===_e.name;if(je&&!Oe){let ye=S(be,me);return Ie?s.types.sequenceExpression([ie,ye]):s.types.sequenceExpression([ie,s.types.callExpression(be.addHelper("assertClassBrand"),[s.types.cloneNode(_e),se]),S(be,me)])}return Oe?Ie?s.types.callExpression(s.types.cloneNode(Oe),[se,ie]):s.types.callExpression(be.addHelper("classPrivateSetter"),[s.types.cloneNode(_e),he(Oe),se,ie]):s.types.assignmentExpression("=",I(he(ce),Ve),Ie?ie:s.types.callExpression(be.addHelper("assertClassBrand"),[s.types.cloneNode(_e),se,ie]))}return je?Oe?m(be)?s.types.callExpression(be.addHelper("classPrivateSetter"),[s.types.cloneNode(ce),he(Oe),this.receiver(z),ie]):s.types.callExpression(be.addHelper("classPrivateFieldSet"),[this.receiver(z),he(ce),ie]):s.types.sequenceExpression([this.receiver(z),ie,S(be,me)]):m(be)?s.types.callExpression(be.addHelper("classPrivateFieldSet2"),[he(ce),this.receiver(z),ie]):s.types.callExpression(be.addHelper("classPrivateFieldSet"),[this.receiver(z),he(ce),ie])}),destructureSet(z){let{classRef:ie,privateNamesMap:_e,file:He,noUninitializedPrivateFieldAccess:be}=this,Ve=z.node.property,{name:Fe}=Ve.id,{id:me,static:ce,method:ke,setId:je}=_e.get(Fe),Oe=se=>s.types.inherits(s.types.cloneNode(se),Ve);if(!m(He)){if(ce){try{var re=He.addHelper("classStaticPrivateFieldDestructureSet")}catch{throw new Error("Babel can not transpile `[C.#p] = [0]` with @babel/helpers < 7.13.10, \nplease update @babel/helpers to the latest version.")}return s.types.memberExpression(s.types.callExpression(re,[this.receiver(z),s.types.cloneNode(ie),Oe(me)]),s.types.identifier("value"))}return s.types.memberExpression(s.types.callExpression(He.addHelper("classPrivateFieldDestructureSet"),[this.receiver(z),Oe(me)]),s.types.identifier("value"))}if(ke&&!je)return s.types.memberExpression(s.types.sequenceExpression([z.node.object,S(He,Fe)]),s.types.identifier("_"));if(ce&&!ke){let se=this.get(z);if(!be||!s.types.isCallExpression(se))return se;let Ie=se.arguments.pop();return se.arguments.push(s.template.expression.ast`(_) => ${Ie} = _`),s.types.memberExpression(s.types.callExpression(He.addHelper("toSetter"),[se]),s.types.identifier("_"))}let fe=this.set(z,s.types.identifier("_"));if(!s.types.isCallExpression(fe)||!s.types.isIdentifier(fe.arguments[fe.arguments.length-1],{name:"_"}))throw z.buildCodeFrameError("Internal Babel error while compiling this code. This is a Babel bug. Please report it at https://github.com/babel/babel/issues.");let he;return he=s.types.isMemberExpression(fe.callee,{computed:!1})&&s.types.isIdentifier(fe.callee.property)&&fe.callee.property.name==="call"?[fe.callee.object,s.types.arrayExpression(fe.arguments.slice(1,-1)),fe.arguments[0]]:[fe.callee,s.types.arrayExpression(fe.arguments.slice(0,-1))],s.types.memberExpression(s.types.callExpression(He.addHelper("toSetter"),he),s.types.identifier("_"))},call(z,ie){return this.memoise(z,1),(0,l.default)(this.get(z),this.receiver(z),ie,!1)},optionalCall(z,ie){return this.memoise(z,1),(0,l.default)(this.get(z),this.receiver(z),ie,!0)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}},C={get(z){let{privateNamesMap:ie,file:_e}=this,{object:He}=z.node,{name:be}=z.node.property.id;return s.template.expression`BASE(REF, PROP)[PROP]`({BASE:_e.addHelper("classPrivateFieldLooseBase"),REF:s.types.cloneNode(He),PROP:s.types.cloneNode(ie.get(be).id)})},set(){throw new Error("private name handler with loose = true don't need set()")},boundGet(z){return s.types.callExpression(s.types.memberExpression(this.get(z),s.types.identifier("bind")),[s.types.cloneNode(z.node.object)])},simpleSet(z){return this.get(z)},destructureSet(z){return this.get(z)},call(z,ie){return s.types.callExpression(this.get(z),ie)},optionalCall(z,ie){return s.types.optionalCallExpression(this.get(z),ie,!0)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}};function D(z,ie,_e){let{id:He}=_e.get(ie.node.key.id.name),be=ie.node.value||ie.scope.buildUndefinedNode();return q(s.template.statement.ast`
|
|
Object.defineProperty(${z}, ${s.types.cloneNode(He)}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
writable: true,
|
|
value: ${be}
|
|
});
|
|
`,ie)}function O(z,ie,_e,He){let{id:be}=_e.get(ie.node.key.id.name),Ve=ie.node.value||ie.scope.buildUndefinedNode();if(!He.availableHelper("classPrivateFieldInitSpec"))return q(s.template.statement.ast`${s.types.cloneNode(be)}.set(${z}, {
|
|
// configurable is always false for private elements
|
|
// enumerable is always false for private elements
|
|
writable: true,
|
|
value: ${Ve},
|
|
})`,ie);let Fe=He.addHelper("classPrivateFieldInitSpec");return Q(q(s.types.expressionStatement(s.types.callExpression(Fe,[s.types.thisExpression(),Q(s.types.cloneNode(be),ie.node.key),m(He)?Ve:s.template.expression.ast`{ writable: true, value: ${Ve} }`])),ie),ie.node)}function j(z,ie,_e){let He=ie.get(z.node.key.id.name),be=_e?z.node.value:s.template.expression.ast`{
|
|
_: ${z.node.value||s.types.buildUndefinedNode()}
|
|
}`;return q(s.types.variableDeclaration("var",[s.types.variableDeclarator(s.types.cloneNode(He.id),be)]),z)}var k=function(z,ie){let _e=ie.get(z.node.key.id.name),{id:He,getId:be,setId:Ve,initAdded:Fe}=_e,me=be||Ve;if(!z.isProperty()&&(Fe||!me))return;if(me)return ie.set(z.node.key.id.name,Object.assign({},_e,{initAdded:!0})),q(s.template.statement.ast`
|
|
var ${s.types.cloneNode(He)} = {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
get: ${be?be.name:z.scope.buildUndefinedNode()},
|
|
set: ${Ve?Ve.name:z.scope.buildUndefinedNode()}
|
|
}
|
|
`,z);let ce=z.node.value||z.scope.buildUndefinedNode();return q(s.template.statement.ast`
|
|
var ${s.types.cloneNode(He)} = {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
writable: true,
|
|
value: ${ce}
|
|
};
|
|
`,z)};function $(z,ie,_e){let He=_e.get(ie.node.key.id.name),{methodId:be,id:Ve,getId:Fe,setId:me,initAdded:ce}=He;if(!ce)return be?q(s.template.statement.ast`
|
|
Object.defineProperty(${z}, ${Ve}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
value: ${be.name}
|
|
});
|
|
`,ie):Fe||me?(_e.set(ie.node.key.id.name,Object.assign({},He,{initAdded:!0})),q(s.template.statement.ast`
|
|
Object.defineProperty(${z}, ${Ve}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
get: ${Fe?Fe.name:ie.scope.buildUndefinedNode()},
|
|
set: ${me?me.name:ie.scope.buildUndefinedNode()}
|
|
});
|
|
`,ie)):void 0}function U(z,ie,_e,He){let be=_e.get(ie.node.key.id.name);if(!be.initAdded)return!m(He)&&(be.getId||be.setId)?function(Ve,Fe,me,ce){let ke=me.get(Fe.node.key.id.name),{id:je,getId:Oe,setId:re}=ke;if(me.set(Fe.node.key.id.name,Object.assign({},ke,{initAdded:!0})),!ce.availableHelper("classPrivateFieldInitSpec"))return q(s.template.statement.ast`
|
|
${je}.set(${Ve}, {
|
|
get: ${Oe?Oe.name:Fe.scope.buildUndefinedNode()},
|
|
set: ${re?re.name:Fe.scope.buildUndefinedNode()}
|
|
});
|
|
`,Fe);let fe=ce.addHelper("classPrivateFieldInitSpec");return Q(q(s.template.statement.ast`${fe}(
|
|
${s.types.thisExpression()},
|
|
${s.types.cloneNode(je)},
|
|
{
|
|
get: ${Oe?Oe.name:Fe.scope.buildUndefinedNode()},
|
|
set: ${re?re.name:Fe.scope.buildUndefinedNode()}
|
|
},
|
|
)`,Fe),Fe.node)}(z,ie,_e,He):function(Ve,Fe,me,ce){let ke=me.get(Fe.node.key.id.name),{id:je}=ke;if(!ce.availableHelper("classPrivateMethodInitSpec"))return q(s.template.statement.ast`${je}.add(${Ve})`,Fe);let Oe=ce.addHelper("classPrivateMethodInitSpec");return q(s.template.statement.ast`${Oe}(
|
|
${s.types.thisExpression()},
|
|
${s.types.cloneNode(je)}
|
|
)`,Fe)}(z,ie,_e,He)}function F(z,ie){let{key:_e,computed:He}=ie.node,be=ie.node.value||ie.scope.buildUndefinedNode();return q(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.memberExpression(z,_e,He||s.types.isLiteral(_e)),be)),ie)}function P(z,ie,_e){let{key:He,computed:be}=ie.node,Ve=ie.node.value||ie.scope.buildUndefinedNode();return q(s.types.expressionStatement(s.types.callExpression(_e.addHelper("defineProperty"),[z,be||s.types.isLiteral(He)?He:s.types.stringLiteral(He.name),Ve])),ie)}function W(z,ie,_e,He){let be=He.get(ie.node.key.id.name),{id:Ve,methodId:Fe,getId:me,setId:ce,initAdded:ke}=be;if(!ke)return me||ce?(He.set(ie.node.key.id.name,Object.assign({},be,{initAdded:!0})),q(s.template.statement.ast`
|
|
Object.defineProperty(${z}, ${Ve}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
get: ${me?me.name:ie.scope.buildUndefinedNode()},
|
|
set: ${ce?ce.name:ie.scope.buildUndefinedNode()}
|
|
})
|
|
`,ie)):q(s.template.statement.ast`
|
|
Object.defineProperty(${z}, ${Ve}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
value: ${Fe.name}
|
|
});
|
|
`,ie)}function Z(z,ie,_e,He=!1){let be=_e.get(ie.node.key.id.name),{id:Ve,methodId:Fe,getId:me,setId:ce,getterDeclared:ke,setterDeclared:je,static:Oe}=be,{params:re,body:fe,generator:he,async:se}=ie.node,Ie=me&&re.length===0,ye=ce&&re.length>0;if(Ie&&ke||ye&&je)return _e.set(ie.node.key.id.name,Object.assign({},be,{initAdded:!0})),null;if(m(z)&&(Ie||ye)&&!He){let nt=ie.get("body").scope,et=nt.generateUidIdentifier("this"),xe={thisRef:et,argumentsPath:[]};if(ie.traverse(ee,xe),xe.argumentsPath.length){let pe=nt.generateUidIdentifier("arguments");nt.push({id:pe,init:s.template.expression.ast`[].slice.call(arguments, 1)`});for(let ue of xe.argumentsPath)ue.replaceWith(s.types.cloneNode(pe))}re.unshift(s.types.cloneNode(et))}let $e=Fe;return Ie?(_e.set(ie.node.key.id.name,Object.assign({},be,{getterDeclared:!0,initAdded:!0})),$e=me):ye?(_e.set(ie.node.key.id.name,Object.assign({},be,{setterDeclared:!0,initAdded:!0})),$e=ce):Oe&&!He&&($e=Ve),q(s.types.functionDeclaration(s.types.cloneNode($e),re,fe,he,se),ie)}let ee=u.visitors.environmentVisitor({Identifier(z,ie){ie.argumentsPath&&z.node.name==="arguments"&&ie.argumentsPath.push(z)},UnaryExpression(z){let{node:ie}=z;if(ie.operator==="delete"){let _e=(0,d.skipTransparentExprWrapperNodes)(ie.argument);s.types.isThisExpression(_e)&&z.replaceWith(s.types.booleanLiteral(!0))}},ThisExpression(z,ie){ie.needsClassRef=!0,z.replaceWith(s.types.cloneNode(ie.thisRef))},MetaProperty(z){let{node:ie,scope:_e}=z;ie.meta.name==="new"&&ie.property.name==="target"&&z.replaceWith(_e.buildUndefinedNode())}}),J={ReferencedIdentifier(z,ie){z.scope.bindingIdentifierEquals(z.node.name,ie.innerBinding)&&(ie.needsClassRef=!0,z.node.name=ie.thisRef.name)}};function ne(z,ie,_e){var He;let be={thisRef:ie,needsClassRef:!1,innerBinding:_e};return z.isMethod()||z.traverse(ee,be),_e!=null&&(He=be.thisRef)!=null&&He.name&&be.thisRef.name!==_e.name&&z.traverse(J,be),be.needsClassRef}function K({key:z,computed:ie}){return z.type==="Identifier"?!ie&&(z.name==="name"||z.name==="length"):z.type==="StringLiteral"&&(z.value==="name"||z.value==="length")}function q(z,ie){return s.types.inheritLeadingComments(z,ie.node),s.types.inheritInnerComments(z,ie.node),z}function Q(z,ie){return z.start=ie.start,z.end=ie.end,z.loc=ie.loc,z}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-create-class-features-plugin/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"FEATURES",{enumerable:!0,get:function(){return d.FEATURES}}),Object.defineProperty(r,"buildCheckInRHS",{enumerable:!0,get:function(){return a.buildCheckInRHS}}),r.createClassFeaturePlugin=function({name:g,feature:y,loose:_,manipulateOptions:E,api:A,inherits:S,decoratorVersion:T}){var I;if(y&d.FEATURES.decorators&&(T==="2023-11"||T==="2023-05"||T==="2023-01"||T==="2022-03"||T==="2021-12"))return(0,u.default)(A,{loose:_},T,S);A!=null||(A={assumption:()=>{}});let L=A.assumption("setPublicClassFields"),x=A.assumption("privateFieldsAsSymbols"),C=A.assumption("privateFieldsAsProperties"),D=(I=A.assumption("noUninitializedPrivateFieldAccess"))!=null&&I,O=A.assumption("constantSuper"),j=A.assumption("noDocumentAll");if(C&&x)throw new Error('Cannot enable both the "privateFieldsAsProperties" and "privateFieldsAsSymbols" assumptions as the same time.');let k=C||x;if(_===!0){let $=[];L!==void 0&&$.push('"setPublicClassFields"'),C!==void 0&&$.push('"privateFieldsAsProperties"'),x!==void 0&&$.push('"privateFieldsAsSymbols"'),$.length!==0&&console.warn(`[${g}]: You are using the "loose: true" option and you are explicitly setting a value for the ${$.join(" and ")} assumption${$.length>1?"s":""}. The "loose" option can cause incompatibilities with the other class features plugins, so it's recommended that you replace it with the following top-level option:
|
|
"assumptions": {
|
|
"setPublicClassFields": true,
|
|
"privateFieldsAsSymbols": true
|
|
}`)}return{name:g,manipulateOptions:E,inherits:S,pre($){(0,d.enableFeature)($,y,_),typeof $.get(m)!="number"&&$.get(m)&&!H.lt($.get(m),"7.25.7")||$.set(m,"7.25.7")},visitor:{Class($,{file:U}){var F;if(U.get(m)!=="7.25.7"||!(0,d.shouldTransform)($,U))return;let P=$.isClassDeclaration();P&&(0,h.assertFieldTransformed)($);let W=(0,d.isLoose)(U,y),Z,ee=(0,l.hasDecorators)($.node),J=[],ne=[],K=[],q=new Set,Q=$.get("body");for(let fe of Q.get("body")){if((fe.isClassProperty()||fe.isClassMethod())&&fe.node.computed&&K.push(fe),fe.isPrivate()){let{name:he}=fe.node.key.id,se=`get ${he}`,Ie=`set ${he}`;if(fe.isClassPrivateMethod()){if(fe.node.kind==="get"){if(q.has(se)||q.has(he)&&!q.has(Ie))throw fe.buildCodeFrameError("Duplicate private field");q.add(se).add(he)}else if(fe.node.kind==="set"){if(q.has(Ie)||q.has(he)&&!q.has(se))throw fe.buildCodeFrameError("Duplicate private field");q.add(Ie).add(he)}}else{if(q.has(he)&&!q.has(se)&&!q.has(Ie)||q.has(he)&&(q.has(se)||q.has(Ie)))throw fe.buildCodeFrameError("Duplicate private field");q.add(he)}}fe.isClassMethod({kind:"constructor"})?Z=fe:(ne.push(fe),(fe.isProperty()||fe.isPrivate()||fe.isStaticBlock!=null&&fe.isStaticBlock())&&J.push(fe))}if(!J.length&&!ee)return;let z=$.node.id,ie;z&&P||($.ensureFunctionName!=null||($.ensureFunctionName=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.ensureFunctionName),$.ensureFunctionName(!1),ie=$.scope.generateUidIdentifier(z?.name||"Class"));let _e=(F=ie)!=null?F:s.types.cloneNode(z),He=(0,a.buildPrivateNamesMap)(_e.name,k??W,J,U),be=(0,a.buildPrivateNamesNodes)(He,C??W,x!=null&&x,U),Ve,Fe,me,ce,ke,je,Oe;(0,a.transformPrivateNamesUsage)(_e,$,He,{privateFieldsAsProperties:k??W,noUninitializedPrivateFieldAccess:D,noDocumentAll:j,innerBinding:z},U),ee?(Fe=ke=Ve=[],{instanceNodes:me,wrapClass:Oe}=(0,l.buildDecoratedClass)(_e,$,ne,U)):(Ve=(0,p.extractComputedKeys)($,K,U),{staticNodes:Fe,pureStaticNodes:ke,instanceNodes:me,lastInstanceNodeReturnsThis:ce,classBindingNode:je,wrapClass:Oe}=(0,a.buildFieldsInitNodes)(ie,$.node.superClass,J,He,U,L??W,k??W,D,O??W,z)),me.length>0&&(0,p.injectInitialization)($,Z,me,(fe,he)=>{if(!ee)for(let se of J)s.types.isStaticBlock!=null&&s.types.isStaticBlock(se.node)||se.node.static||se.traverse(fe,he)},ce);let re=Oe($);re.insertBefore([...be,...Ve]),Fe.length>0&&re.insertAfter(Fe),ke.length>0&&re.find(fe=>fe.isStatement()||fe.isDeclaration()).insertAfter(ke),je!=null&&P&&re.insertAfter(je)},ExportDefaultDeclaration($,{file:U}){{if(U.get(m)!=="7.25.7")return;let F=$.get("declaration");F.isClassDeclaration()&&(0,l.hasDecorators)(F.node)&&(F.node.id?($.splitExportDeclaration!=null||($.splitExportDeclaration=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.splitExportDeclaration),$.splitExportDeclaration()):F.node.type="ClassExpression")}}}}},Object.defineProperty(r,"enableFeature",{enumerable:!0,get:function(){return d.enableFeature}}),Object.defineProperty(r,"injectInitialization",{enumerable:!0,get:function(){return p.injectInitialization}});var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js"),H=c("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js"),a=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js"),l=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js"),p=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js"),d=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-create-class-features-plugin/lib/features.js"),h=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js");let m="@babel/plugin-class-features/version"},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.extractComputedKeys=function(d,h,m){let{scope:g}=d,y=[],_={classBinding:d.node.id&&g.getBinding(d.node.id.name),file:m};for(let E of h){let A=E.get("key");A.isReferencedIdentifier()?a(A,_):A.traverse(l,_);let S=E.node;if(!A.isConstantExpression()){let T=p(A.node,g,g.generateUidBasedOnNode(A.node));T&&(y.push(s.types.expressionStatement(T)),S.key=s.types.cloneNode(T.left))}}return y},r.injectInitialization=function(d,h,m,g,y){if(!m.length)return;let _=!!d.node.superClass;if(!h){let E=s.types.classMethod("constructor",s.types.identifier("constructor"),[],s.types.blockStatement([]));_&&(E.params=[s.types.restElement(s.types.identifier("args"))],E.body.body.push(s.template.statement.ast`super(...args)`)),[h]=d.get("body").unshiftContainer("body",E)}if(g&&g(H,{scope:h.scope}),_){let E=[];h.traverse(u,E);let A=!0;for(let S of E)if(A?A=!1:m=m.map(T=>s.types.cloneNode(T)),S.parentPath.isExpressionStatement())S.insertAfter(m);else{let T=[S.node,...m.map(I=>s.types.toExpression(I))];y||T.push(s.types.thisExpression()),S.replaceWith(s.types.sequenceExpression(T))}}else h.get("body").unshiftContainer("body",m)},r.memoiseComputedKey=p;var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js");let u=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/index.js").visitors.environmentVisitor({Super(d){let{node:h,parentPath:m}=d;m.isCallExpression({callee:h})&&this.push(m)}}),H={"TSTypeAnnotation|TypeAnnotation"(d){d.skip()},ReferencedIdentifier(d,{scope:h}){h.hasOwnBinding(d.node.name)&&(h.rename(d.node.name),d.skip())}};function a(d,h){if(h.classBinding&&h.classBinding===d.scope.getBinding(d.node.name)){let m=h.file.addHelper("classNameTDZError"),g=s.types.callExpression(m,[s.types.stringLiteral(d.node.name)]);d.replaceWith(s.types.sequenceExpression([g,d.node])),d.skip()}}let l={ReferencedIdentifier:a};function p(d,h,m){if(!(s.types.isIdentifier(d)&&h.hasUid(d.name))){if(s.types.isAssignmentExpression(d,{operator:"="})&&s.types.isIdentifier(d.left)&&h.hasUid(d.left.name))return s.types.cloneNode(d);{let g=s.types.identifier(m);return h.push({id:g,kind:"let"}),s.types.assignmentExpression("=",s.types.cloneNode(g),d)}}}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.assertFieldTransformed=function(c){if(c.node.declare)throw c.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by @babel/plugin-transform-typescript.
|
|
If you have already enabled that plugin (or '@babel/preset-typescript'), make sure that it runs before any plugin related to additional class features:
|
|
- @babel/plugin-transform-class-properties
|
|
- @babel/plugin-transform-private-methods
|
|
- @babel/plugin-proposal-decorators`)}},"./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.25.7/node_modules/@babel/helper-member-expression-to-functions/lib/index.js":(o,r,c)=>{"use strict";function s(P){if(P&&P.__esModule)return P;var W=Object.create(null);return P&&Object.keys(P).forEach(function(Z){if(Z!=="default"){var ee=Object.getOwnPropertyDescriptor(P,Z);Object.defineProperty(W,Z,ee.get?ee:{enumerable:!0,get:function(){return P[Z]}})}}),W.default=P,Object.freeze(W)}Object.defineProperty(r,"__esModule",{value:!0});var u=s(c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"));function H(P){let W=P,{node:Z,parentPath:ee}=W;if(ee.isLogicalExpression()){let{operator:J,right:ne}=ee.node;if(J==="&&"||J==="||"||J==="??"&&Z===ne)return H(ee)}if(ee.isSequenceExpression()){let{expressions:J}=ee.node;return J[J.length-1]!==Z||H(ee)}return ee.isConditional({test:Z})||ee.isUnaryExpression({operator:"!"})||ee.isLoop({test:Z})}let{LOGICAL_OPERATORS:a,arrowFunctionExpression:l,assignmentExpression:p,binaryExpression:d,booleanLiteral:h,callExpression:m,cloneNode:g,conditionalExpression:y,identifier:_,isMemberExpression:E,isOptionalCallExpression:A,isOptionalMemberExpression:S,isUpdateExpression:T,logicalExpression:I,memberExpression:L,nullLiteral:x,optionalCallExpression:C,optionalMemberExpression:D,sequenceExpression:O,updateExpression:j}=u;class k{constructor(){this._map=void 0,this._map=new WeakMap}has(W){return this._map.has(W)}get(W){if(!this.has(W))return;let Z=this._map.get(W),{value:ee}=Z;return Z.count--,Z.count===0?p("=",ee,W):ee}set(W,Z,ee){return this._map.set(W,{count:ee,value:Z})}}function $(P,W){let{node:Z}=P;if(S(Z))return L(W,Z.property,Z.computed);if(P.isOptionalCallExpression()){let ee=P.get("callee");if(P.node.optional&&ee.isOptionalMemberExpression()){let J=ee.node.object,ne=P.scope.maybeGenerateMemoised(J);return ee.get("object").replaceWith(p("=",ne,J)),m(L(W,_("call")),[ne,...P.node.arguments])}return m(W,P.node.arguments)}return P.node}let U={memoise(){},handle(P,W){let{node:Z,parent:ee,parentPath:J,scope:ne}=P;if(P.isOptionalMemberExpression()){if(function(he){for(;he&&!he.isProgram();){let{parentPath:se,container:Ie,listKey:ye}=he,$e=se.node;if(ye){if(Ie!==$e[ye])return!0}else if(Ie!==$e)return!0;he=se}return!1}(P))return;let K=P.find(({node:he,parent:se})=>S(se)?se.optional||se.object!==he:!A(se)||he!==P.node&&se.optional||se.callee!==he);if(ne.path.isPattern())return void K.replaceWith(m(l([],K.node),[]));let q=H(K),Q=K.parentPath;if(Q.isUpdateExpression({argument:Z}))throw P.buildCodeFrameError("can't handle update expression");let z=Q.isAssignmentExpression({left:K.node}),ie=Q.isUnaryExpression({operator:"delete"});if(ie&&K.isOptionalMemberExpression()&&K.get("property").isPrivateName())throw P.buildCodeFrameError("can't delete a private class element");let _e=P;for(;;)if(_e.isOptionalMemberExpression()){if(_e.node.optional)break;_e=_e.get("object")}else{if(!_e.isOptionalCallExpression())throw new Error(`Internal error: unexpected ${_e.node.type}`);if(_e.node.optional)break;_e=_e.get("callee")}let He=_e.isOptionalMemberExpression()?_e.node.object:_e.node.callee,be=ne.maybeGenerateMemoised(He),Ve=be??He,Fe=J.isOptionalCallExpression({callee:Z}),me=he=>Fe,ce=J.isCallExpression({callee:Z});_e.replaceWith($(_e,Ve)),me()?ee.optional?J.replaceWith(this.optionalCall(P,ee.arguments)):J.replaceWith(this.call(P,ee.arguments)):ce?P.replaceWith(this.boundGet(P)):this.delete&&J.isUnaryExpression({operator:"delete"})?J.replaceWith(this.delete(P)):J.isAssignmentExpression()?F(this,P,J):P.replaceWith(this.get(P));let ke,je=P.node;for(let he=P;he!==K;){let se=he.parentPath;if(se===K&&me()&&ee.optional){je=se.node;break}je=$(se,je),he=se}let Oe=K.parentPath;if(E(je)&&Oe.isOptionalCallExpression({callee:K.node,optional:!0})){let{object:he}=je;ke=P.scope.maybeGenerateMemoised(he),ke&&(je.object=p("=",ke,he))}let re=K;(ie||z)&&(re=Oe,je=Oe.node);let fe=be?p("=",g(Ve),g(He)):g(Ve);if(q){let he;he=W?d("!=",fe,x()):I("&&",d("!==",fe,x()),d("!==",g(Ve),ne.buildUndefinedNode())),re.replaceWith(I("&&",he,je))}else{let he;he=W?d("==",fe,x()):I("||",d("===",fe,x()),d("===",g(Ve),ne.buildUndefinedNode())),re.replaceWith(y(he,ie?h(!0):ne.buildUndefinedNode(),je))}if(ke){let he=Oe.node;Oe.replaceWith(C(D(he.callee,_("call"),!1,!0),[g(ke),...he.arguments],!1))}}else{if(T(ee,{argument:Z})){if(this.simpleSet)return void P.replaceWith(this.simpleSet(P));let{operator:K,prefix:q}=ee;this.memoise(P,2);let Q=ne.generateUidIdentifierBasedOnNode(Z);ne.push({id:Q});let z=[p("=",g(Q),this.get(P))];if(q){z.push(j(K,g(Q),q));let ie=O(z);return void J.replaceWith(this.set(P,ie))}{let ie=ne.generateUidIdentifierBasedOnNode(Z);ne.push({id:ie}),z.push(p("=",g(ie),j(K,g(Q),q)),g(Q));let _e=O(z);return void J.replaceWith(O([this.set(P,_e),g(ie)]))}}if(J.isAssignmentExpression({left:Z}))F(this,P,J);else{if(!J.isCallExpression({callee:Z}))return J.isOptionalCallExpression({callee:Z})?ne.path.isPattern()?void J.replaceWith(m(l([],J.node),[])):void J.replaceWith(this.optionalCall(P,J.node.arguments)):void(this.delete&&J.isUnaryExpression({operator:"delete"})?J.replaceWith(this.delete(P)):J.isForXStatement({left:Z})||J.isObjectProperty({value:Z})&&J.parentPath.isObjectPattern()||J.isAssignmentPattern({left:Z})&&J.parentPath.isObjectProperty({value:ee})&&J.parentPath.parentPath.isObjectPattern()||J.isArrayPattern()||J.isAssignmentPattern({left:Z})&&J.parentPath.isArrayPattern()||J.isRestElement()?P.replaceWith(this.destructureSet(P)):J.isTaggedTemplateExpression()?P.replaceWith(this.boundGet(P)):P.replaceWith(this.get(P)));J.replaceWith(this.call(P,J.node.arguments))}}}};function F(P,W,Z){if(P.simpleSet)return void W.replaceWith(P.simpleSet(W));let{operator:ee,right:J}=Z.node;if(ee==="=")Z.replaceWith(P.set(W,J));else{let ne=ee.slice(0,-1);a.includes(ne)?(P.memoise(W,1),Z.replaceWith(I(ne,P.get(W),P.set(W,J)))):(P.memoise(W,2),Z.replaceWith(P.set(W,d(ne,P.get(W),J))))}}r.default=function(P,W,Z){P.traverse(W,Object.assign({},U,Z,{memoiser:new k}))}},"./node_modules/.pnpm/@babel+helper-module-imports@7.25.7/node_modules/@babel/helper-module-imports/lib/import-builder.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("assert"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");let{callExpression:H,cloneNode:a,expressionStatement:l,identifier:p,importDeclaration:d,importDefaultSpecifier:h,importNamespaceSpecifier:m,importSpecifier:g,memberExpression:y,stringLiteral:_,variableDeclaration:E,variableDeclarator:A}=u;r.default=class{constructor(S,T,I){this._statements=[],this._resultName=null,this._importedSource=void 0,this._scope=T,this._hub=I,this._importedSource=S}done(){return{statements:this._statements,resultName:this._resultName}}import(){return this._statements.push(d([],_(this._importedSource))),this}require(){return this._statements.push(l(H(p("require"),[_(this._importedSource)]))),this}namespace(S="namespace"){let T=this._scope.generateUidIdentifier(S),I=this._statements[this._statements.length-1];return s(I.type==="ImportDeclaration"),s(I.specifiers.length===0),I.specifiers=[m(T)],this._resultName=a(T),this}default(S){let T=this._scope.generateUidIdentifier(S),I=this._statements[this._statements.length-1];return s(I.type==="ImportDeclaration"),s(I.specifiers.length===0),I.specifiers=[h(T)],this._resultName=a(T),this}named(S,T){if(T==="default")return this.default(S);let I=this._scope.generateUidIdentifier(S),L=this._statements[this._statements.length-1];return s(L.type==="ImportDeclaration"),s(L.specifiers.length===0),L.specifiers=[g(I,p(T))],this._resultName=a(I),this}var(S){let T=this._scope.generateUidIdentifier(S),I=this._statements[this._statements.length-1];return I.type!=="ExpressionStatement"&&(s(this._resultName),I=l(this._resultName),this._statements.push(I)),this._statements[this._statements.length-1]=E("var",[A(T,I.expression)]),this._resultName=a(T),this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(S){let T=this._statements[this._statements.length-1];return T.type==="ExpressionStatement"?T.expression=H(S,[T.expression]):T.type==="VariableDeclaration"?(s(T.declarations.length===1),T.declarations[0].init=H(S,[T.declarations[0].init])):s.fail("Unexpected type."),this}prop(S){let T=this._statements[this._statements.length-1];return T.type==="ExpressionStatement"?T.expression=y(T.expression,p(S)):T.type==="VariableDeclaration"?(s(T.declarations.length===1),T.declarations[0].init=y(T.declarations[0].init,p(S))):s.fail("Unexpected type:"+T.type),this}read(S){this._resultName=y(this._resultName,p(S))}}},"./node_modules/.pnpm/@babel+helper-module-imports@7.25.7/node_modules/@babel/helper-module-imports/lib/import-injector.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("assert"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-module-imports@7.25.7/node_modules/@babel/helper-module-imports/lib/import-builder.js"),a=c("./node_modules/.pnpm/@babel+helper-module-imports@7.25.7/node_modules/@babel/helper-module-imports/lib/is-module.js");let{identifier:l,importSpecifier:p,numericLiteral:d,sequenceExpression:h,isImportDeclaration:m}=u;function g(A){return A.importKind!=="type"&&A.importKind!=="typeof"}function y(A){return A.specifiers.length===1&&A.specifiers[0].type==="ImportNamespaceSpecifier"||A.specifiers.length===2&&A.specifiers[1].type==="ImportNamespaceSpecifier"}function _(A){return A.specifiers.length>0&&A.specifiers[0].type==="ImportDefaultSpecifier"}function E(A,S){return A.specifiers.length?!S.specifiers.length||!y(A)&&!y(S)&&(_(S)&&(_(A)?S.specifiers[0]=p(S.specifiers[0].local,l("default")):A.specifiers.unshift(S.specifiers.shift())),A.specifiers.push(...S.specifiers),!0):(A.specifiers=S.specifiers,!0)}r.default=class{constructor(A,S,T){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:!1,ensureNoContext:!1,importPosition:"before"};let I=A.find(L=>L.isProgram());this._programPath=I,this._programScope=I.scope,this._hub=I.hub,this._defaultOpts=this._applyDefaults(S,T,!0)}addDefault(A,S){return this.addNamed("default",A,S)}addNamed(A,S,T){return s(typeof A=="string"),this._generateImport(this._applyDefaults(S,T),A)}addNamespace(A,S){return this._generateImport(this._applyDefaults(A,S),null)}addSideEffect(A,S){return this._generateImport(this._applyDefaults(A,S),void 0)}_applyDefaults(A,S,T=!1){let I;return typeof A=="string"?I=Object.assign({},this._defaultOpts,{importedSource:A},S):(s(!S,"Unexpected secondary arguments."),I=Object.assign({},this._defaultOpts,A)),!T&&S&&(S.nameHint!==void 0&&(I.nameHint=S.nameHint),S.blockHoist!==void 0&&(I.blockHoist=S.blockHoist)),I}_generateImport(A,S){let T=S==="default",I=!!S&&!T,L=S===null,{importedSource:x,importedType:C,importedInterop:D,importingInterop:O,ensureLiveReference:j,ensureNoContext:k,nameHint:$,importPosition:U,blockHoist:F}=A,P=$||S,W=(0,a.default)(this._programPath),Z=W&&O==="node",ee=W&&O==="babel";if(U==="after"&&!W)throw new Error('"importPosition": "after" is only supported in modules');let J=new H.default(x,this._programScope,this._hub);if(C==="es6"){if(!Z&&!ee)throw new Error("Cannot import an ES6 module from CommonJS");J.import(),L?J.namespace($||x):(T||I)&&J.named(P,S)}else{if(C!=="commonjs")throw new Error(`Unexpected interopType "${C}"`);if(D==="babel")if(Z){P=P!=="default"?P:x;let q=`${x}$es6Default`;J.import(),L?J.default(q).var(P||x).wildcardInterop():T?j?J.default(q).var(P||x).defaultInterop().read("default"):J.default(q).var(P).defaultInterop().prop(S):I&&J.default(q).read(S)}else ee?(J.import(),L?J.namespace(P||x):(T||I)&&J.named(P,S)):(J.require(),L?J.var(P||x).wildcardInterop():(T||I)&&j?T?(P=P!=="default"?P:x,J.var(P).read(S),J.defaultInterop()):J.var(x).read(S):T?J.var(P).defaultInterop().prop(S):I&&J.var(P).prop(S));else if(D==="compiled")Z?(J.import(),L?J.default(P||x):(T||I)&&J.default(x).read(P)):ee?(J.import(),L?J.namespace(P||x):(T||I)&&J.named(P,S)):(J.require(),L?J.var(P||x):(T||I)&&(j?J.var(x).read(P):J.prop(S).var(P)));else{if(D!=="uncompiled")throw new Error(`Unknown importedInterop "${D}".`);if(T&&j)throw new Error("No live reference for commonjs default");Z?(J.import(),L?J.default(P||x):T?J.default(P):I&&J.default(x).read(P)):ee?(J.import(),L?J.default(P||x):T?J.default(P):I&&J.named(P,S)):(J.require(),L?J.var(P||x):T?J.var(P):I&&(j?J.var(x).read(P):J.var(P).prop(S)))}}let{statements:ne,resultName:K}=J.done();return this._insertStatements(ne,U,F),(T||I)&&k&&K.type!=="Identifier"?h([d(0),K]):K}_insertStatements(A,S="before",T=3){if(S==="after"){if(this._insertStatementsAfter(A))return}else if(this._insertStatementsBefore(A,T))return;this._programPath.unshiftContainer("body",A)}_insertStatementsBefore(A,S){if(A.length===1&&m(A[0])&&g(A[0])){let I=this._programPath.get("body").find(L=>L.isImportDeclaration()&&g(L.node));if(I?.node.source.value===A[0].source.value&&E(I.node,A[0]))return!0}A.forEach(I=>{I._blockHoist=S});let T=this._programPath.get("body").find(I=>{let L=I.node._blockHoist;return Number.isFinite(L)&&L<4});return!!T&&(T.insertBefore(A),!0)}_insertStatementsAfter(A){let S=new Set(A),T=new Map;for(let L of A)if(m(L)&&g(L)){let x=L.source.value;T.has(x)||T.set(x,[]),T.get(x).push(L)}let I=null;for(let L of this._programPath.get("body"))if(L.isImportDeclaration()&&g(L.node)){I=L;let x=L.node.source.value,C=T.get(x);if(!C)continue;for(let D of C)S.has(D)&&E(L.node,D)&&S.delete(D)}return S.size===0||(I&&I.insertAfter(Array.from(S)),!!I)}}},"./node_modules/.pnpm/@babel+helper-module-imports@7.25.7/node_modules/@babel/helper-module-imports/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImportInjector",{enumerable:!0,get:function(){return s.default}}),r.addDefault=function(H,a,l){return new s.default(H).addDefault(a,l)},r.addNamed=function(H,a,l,p){return new s.default(H).addNamed(a,l,p)},r.addNamespace=function(H,a,l){return new s.default(H).addNamespace(a,l)},r.addSideEffect=function(H,a,l){return new s.default(H).addSideEffect(a,l)},Object.defineProperty(r,"isModule",{enumerable:!0,get:function(){return u.default}});var s=c("./node_modules/.pnpm/@babel+helper-module-imports@7.25.7/node_modules/@babel/helper-module-imports/lib/import-injector.js"),u=c("./node_modules/.pnpm/@babel+helper-module-imports@7.25.7/node_modules/@babel/helper-module-imports/lib/is-module.js")},"./node_modules/.pnpm/@babel+helper-module-imports@7.25.7/node_modules/@babel/helper-module-imports/lib/is-module.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(c){return c.node.sourceType==="module"}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.buildDynamicImport=function(u,H,a,l){let p=s.types.isCallExpression(u)?u.arguments[0]:u.source;if(s.types.isStringLiteral(p)||s.types.isTemplateLiteral(p)&&p.quasis.length===0)return H?s.template.expression.ast`
|
|
Promise.resolve().then(() => ${l(p)})
|
|
`:l(p);let d=s.types.isTemplateLiteral(p)?s.types.identifier("specifier"):s.types.templateLiteral([s.types.templateElement({raw:""}),s.types.templateElement({raw:""})],[s.types.identifier("specifier")]);return H?s.template.expression.ast`
|
|
(specifier =>
|
|
new Promise(r => r(${d}))
|
|
.then(s => ${l(s.types.identifier("s"))})
|
|
)(${p})
|
|
`:a?s.template.expression.ast`
|
|
(specifier =>
|
|
new Promise(r => r(${l(d)}))
|
|
)(${p})
|
|
`:s.template.expression.ast`
|
|
(specifier => ${l(d)})(${p})
|
|
`};var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js");r.getDynamicImportSource=function(u){let[H]=u.arguments;return s.types.isStringLiteral(H)||s.types.isTemplateLiteral(H)?H:s.template.expression.ast`\`\${${H}}\``}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/get-module-name.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=c;{let s=c;r.default=c=function(u,H){var a,l,p,d;return s(u,{moduleId:(a=H.moduleId)!=null?a:u.moduleId,moduleIds:(l=H.moduleIds)!=null?l:u.moduleIds,getModuleId:(p=H.getModuleId)!=null?p:u.getModuleId,moduleRoot:(d=H.moduleRoot)!=null?d:u.moduleRoot})}}function c(s,u){let{filename:H,filenameRelative:a=H,sourceRoot:l=u.moduleRoot}=s,{moduleId:p,moduleIds:d=!!p,getModuleId:h,moduleRoot:m=l}=u;if(!d)return null;if(p!=null&&!h)return p;let g=m!=null?m+"/":"";if(a){let y=l!=null?new RegExp("^"+l+"/?"):"";g+=a.replace(y,"").replace(/\.\w*$/,"")}return g=g.replace(/\\/g,"/"),h&&h(g)||g}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"buildDynamicImport",{enumerable:!0,get:function(){return h.buildDynamicImport}}),r.buildNamespaceInitStatements=function(A,S,T=!1,I=d.wrapReference){var L;let x=[],C=u.types.identifier(S.name);for(let O of S.importsNamespace)O!==S.name&&x.push(u.template.statement`var NAME = SOURCE;`({NAME:O,SOURCE:u.types.cloneNode(C)}));let D=(L=I(C,S.wrap))!=null?L:C;T&&x.push(...y(A,S,!0,I));for(let O of S.reexportNamespace)x.push((u.types.isIdentifier(D)?u.template.statement`EXPORTS.NAME = NAMESPACE;`:u.template.statement`
|
|
Object.defineProperty(EXPORTS, "NAME", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return NAMESPACE;
|
|
}
|
|
});
|
|
`)({EXPORTS:A.exportName,NAME:O,NAMESPACE:u.types.cloneNode(D)}));if(S.reexportAll){let O=function(j,k,$){return($?u.template.statement`
|
|
Object.keys(NAMESPACE).forEach(function(key) {
|
|
if (key === "default" || key === "__esModule") return;
|
|
VERIFY_NAME_LIST;
|
|
if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
|
|
|
|
EXPORTS[key] = NAMESPACE[key];
|
|
});
|
|
`:u.template.statement`
|
|
Object.keys(NAMESPACE).forEach(function(key) {
|
|
if (key === "default" || key === "__esModule") return;
|
|
VERIFY_NAME_LIST;
|
|
if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
|
|
|
|
Object.defineProperty(EXPORTS, key, {
|
|
enumerable: true,
|
|
get: function() {
|
|
return NAMESPACE[key];
|
|
},
|
|
});
|
|
});
|
|
`)({NAMESPACE:k,EXPORTS:j.exportName,VERIFY_NAME_LIST:j.exportNameListName?u.template`
|
|
if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return;
|
|
`({EXPORTS_LIST:j.exportNameListName}):null})}(A,u.types.cloneNode(D),T);O.loc=S.reexportAll.loc,x.push(O)}return x},r.ensureStatementsHoisted=function(A){A.forEach(S=>{S._blockHoist=3})},Object.defineProperty(r,"getModuleName",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(r,"hasExports",{enumerable:!0,get:function(){return p.hasExports}}),Object.defineProperty(r,"isModule",{enumerable:!0,get:function(){return H.isModule}}),Object.defineProperty(r,"isSideEffectImport",{enumerable:!0,get:function(){return p.isSideEffectImport}}),r.rewriteModuleStatementsAndPrepareHeader=function(A,{exportName:S,strict:T,allowTopLevelThis:I,strictMode:L,noInterop:x,importInterop:C=x?"none":"babel",lazy:D,getWrapperPayload:O=d.toGetWrapperPayload(D!=null&&D),wrapReference:j=d.wrapReference,esNamespaceOnly:k,filename:$,constantReexports:U=arguments[1].loose,enumerableModuleMeta:F=arguments[1].loose,noIncompleteNsImportDetection:P}){(0,p.validateImportInteropOption)(C),s((0,H.isModule)(A),"Cannot process module statements in a script"),A.node.sourceType="script";let W=(0,p.default)(A,S,{importInterop:C,initializeReexports:U,getWrapperPayload:O,esNamespaceOnly:k,filename:$});I||(0,a.default)(A),(0,l.default)(A,W,j),L!==!1&&(A.node.directives.some(J=>J.value.value==="use strict")||A.unshiftContainer("directives",u.types.directive(u.types.directiveLiteral("use strict"))));let Z=[];(0,p.hasExports)(W)&&!T&&Z.push(function(J,ne=!1){return(ne?u.template.statement`
|
|
EXPORTS.__esModule = true;
|
|
`:u.template.statement`
|
|
Object.defineProperty(EXPORTS, "__esModule", {
|
|
value: true,
|
|
});
|
|
`)({EXPORTS:J.exportName})}(W,F));let ee=function(J,ne){let K=Object.create(null);for(let z of ne.local.values())for(let ie of z.names)K[ie]=!0;let q=!1;for(let z of ne.source.values()){for(let ie of z.reexports.keys())K[ie]=!0;for(let ie of z.reexportNamespace)K[ie]=!0;q=q||!!z.reexportAll}if(!q||Object.keys(K).length===0)return null;let Q=J.scope.generateUidIdentifier("exportNames");return delete K.default,{name:Q.name,statement:u.types.variableDeclaration("var",[u.types.variableDeclarator(Q,u.types.valueToNode(K))])}}(A,W);return ee&&(W.exportNameListName=ee.name,Z.push(ee.statement)),Z.push(...function(J,ne,K,q=!1,Q=!1){let z=[];for(let[_e,He]of ne.local)if(He.kind!=="import"){if(He.kind==="hoisted")z.push([He.names[0],E(ne,He.names,u.types.identifier(_e))]);else if(!Q)for(let be of He.names)z.push([be,null])}for(let _e of ne.source.values()){if(!q){let He=y(ne,_e,!1,K),be=[..._e.reexports.keys()];for(let Ve=0;Ve<He.length;Ve++)z.push([be[Ve],He[Ve]])}if(!Q)for(let He of _e.reexportNamespace)z.push([He,null])}z.sort(([_e],[He])=>_e<He?-1:He<_e?1:0);let ie=[];if(Q)for(let[,_e]of z)ie.push(_e);else for(let He=0;He<z.length;He+=100){let be=[];for(let Ve=0;Ve<100&&He+Ve<z.length;Ve++){let[Fe,me]=z[He+Ve];me!==null?(be.length>0&&(ie.push(E(ne,be,J.scope.buildUndefinedNode())),be=[]),ie.push(me)):be.push(Fe)}be.length>0&&ie.push(E(ne,be,J.scope.buildUndefinedNode()))}return ie}(A,W,j,U,P)),{meta:W,headers:Z}},Object.defineProperty(r,"rewriteThis",{enumerable:!0,get:function(){return a.default}}),r.wrapInterop=function(A,S,T){if(T==="none")return null;if(T==="node-namespace")return u.types.callExpression(A.hub.addHelper("interopRequireWildcard"),[S,u.types.booleanLiteral(!0)]);if(T==="node-default")return null;let I;if(T==="default")I="interopRequireDefault";else{if(T!=="namespace")throw new Error(`Unknown interop: ${T}`);I="interopRequireWildcard"}return u.types.callExpression(A.hub.addHelper(I),[S])};var s=c("assert"),u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-module-imports@7.25.7/node_modules/@babel/helper-module-imports/lib/index.js"),a=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js"),l=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js"),p=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js"),d=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js"),h=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js"),m=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/get-module-name.js");r.getDynamicImportSource=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js").getDynamicImportSource;let g={constant:({exports:A,exportName:S,namespaceImport:T})=>u.template.statement.ast`
|
|
${A}.${S} = ${T};
|
|
`,constantComputed:({exports:A,exportName:S,namespaceImport:T})=>u.template.statement.ast`
|
|
${A}["${S}"] = ${T};
|
|
`,spec:({exports:A,exportName:S,namespaceImport:T})=>u.template.statement.ast`
|
|
Object.defineProperty(${A}, "${S}", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return ${T};
|
|
},
|
|
});
|
|
`};function y(A,S,T,I){var L;let x=u.types.identifier(S.name);x=(L=I(x,S.wrap))!=null?L:x;let{stringSpecifiers:C}=A;return Array.from(S.reexports,([D,O])=>{let j=u.types.cloneNode(x);O==="default"&&S.interop==="node-default"||(j=C.has(O)?u.types.memberExpression(j,u.types.stringLiteral(O),!0):u.types.memberExpression(j,u.types.identifier(O)));let k={exports:A.exportName,exportName:D,namespaceImport:j};return T||u.types.isIdentifier(j)?C.has(D)?g.constantComputed(k):g.constant(k):g.spec(k)})}let _={computed:({exports:A,name:S,value:T})=>u.template.expression.ast`${A}["${S}"] = ${T}`,default:({exports:A,name:S,value:T})=>u.template.expression.ast`${A}.${S} = ${T}`,define:({exports:A,name:S,value:T})=>u.template.expression.ast`
|
|
Object.defineProperty(${A}, "${S}", {
|
|
enumerable: true,
|
|
value: void 0,
|
|
writable: true
|
|
})["${S}"] = ${T}`};function E(A,S,T){let{stringSpecifiers:I,exportName:L}=A;return u.types.expressionStatement(S.reduce((x,C)=>{let D={exports:L,name:C,value:x};return C==="__proto__"?_.define(D):I.has(C)?_.computed(D):_.default(D)},T))}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.toGetWrapperPayload=function(H){return(a,l)=>{if(H===!1||(0,u.isSideEffectImport)(l)||l.reexportAll)return null;if(H===!0)return a.includes(".")?null:"lazy";if(Array.isArray(H))return H.includes(a)?"lazy":null;if(typeof H=="function")return H(a)?"lazy":null;throw new Error(".lazy must be a boolean, string array, or function")}},r.wrapReference=function(H,a){return a==="lazy"?s.types.callExpression(H,[]):null};var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js")},"./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d,h,{importInterop:m,initializeReexports:g=!1,getWrapperPayload:y,esNamespaceOnly:_=!1,filename:E}){h||(h=d.scope.generateUidIdentifier("exports").name);let A=new Set;(function(L){L.get("body").forEach(x=>{x.isExportDefaultDeclaration()&&(x.splitExportDeclaration!=null||(x.splitExportDeclaration=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.splitExportDeclaration),x.splitExportDeclaration())})})(d);let{local:S,sources:T,hasExports:I}=function(L,{getWrapperPayload:x,initializeReexports:C},D){let O=function(F,P,W){let Z=new Map;F.get("body").forEach(ne=>{let K;if(ne.isImportDeclaration())K="import";else{if(ne.isExportDefaultDeclaration()&&(ne=ne.get("declaration")),ne.isExportNamedDeclaration()){if(ne.node.declaration)ne=ne.get("declaration");else if(P&&ne.node.source&&ne.get("source").isStringLiteral())return void ne.get("specifiers").forEach(q=>{p(q),Z.set(q.get("local").node.name,"block")})}if(ne.isFunctionDeclaration())K="hoisted";else if(ne.isClassDeclaration())K="block";else if(ne.isVariableDeclaration({kind:"var"}))K="var";else{if(!ne.isVariableDeclaration())return;K="block"}}Object.keys(ne.getOuterBindingIdentifiers()).forEach(q=>{Z.set(q,K)})});let ee=new Map,J=ne=>{let K=ne.node.name,q=ee.get(K);if(!q){let Q=Z.get(K);if(Q===void 0)throw ne.buildCodeFrameError(`Exporting local "${K}", which is not declared.`);q={names:[],kind:Q},ee.set(K,q)}return q};return F.get("body").forEach(ne=>{if(!ne.isExportNamedDeclaration()||!P&&ne.node.source){if(ne.isExportDefaultDeclaration()){let K=ne.get("declaration");if(!K.isFunctionDeclaration()&&!K.isClassDeclaration())throw K.buildCodeFrameError("Unexpected default expression export.");J(K.get("id")).names.push("default")}}else if(ne.node.declaration){let K=ne.get("declaration"),q=K.getOuterBindingIdentifierPaths();Object.keys(q).forEach(Q=>{if(Q==="__esModule")throw K.buildCodeFrameError('Illegal export "__esModule".');J(q[Q]).names.push(Q)})}else ne.get("specifiers").forEach(K=>{let q=K.get("local"),Q=K.get("exported"),z=J(q),ie=l(Q,W);if(ie==="__esModule")throw Q.buildCodeFrameError('Illegal export "__esModule".');z.names.push(ie)})}),ee}(L,C,D),j=new Map,k=new Map,$=(F,P)=>{let W=F.value,Z=k.get(W);return Z?j.get(W).push(P):(Z={name:L.scope.generateUidIdentifier((0,s.basename)(W,(0,s.extname)(W))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,wrap:null,get lazy(){return this.wrap==="lazy"},referenced:!1},k.set(W,Z),j.set(W,[P])),Z},U=!1;L.get("body").forEach(F=>{if(F.isImportDeclaration()){let P=$(F.node.source,F.node);P.loc||(P.loc=F.node.loc),F.get("specifiers").forEach(W=>{if(W.isImportDefaultSpecifier()){let Z=W.get("local").node.name;P.imports.set(Z,"default");let ee=O.get(Z);ee&&(O.delete(Z),ee.names.forEach(J=>{P.reexports.set(J,"default")}),P.referenced=!0)}else if(W.isImportNamespaceSpecifier()){let Z=W.get("local").node.name;P.importsNamespace.add(Z);let ee=O.get(Z);ee&&(O.delete(Z),ee.names.forEach(J=>{P.reexportNamespace.add(J)}),P.referenced=!0)}else if(W.isImportSpecifier()){let Z=l(W.get("imported"),D),ee=W.get("local").node.name;P.imports.set(ee,Z);let J=O.get(ee);J&&(O.delete(ee),J.names.forEach(ne=>{P.reexports.set(ne,Z)}),P.referenced=!0)}})}else if(F.isExportAllDeclaration()){U=!0;let P=$(F.node.source,F.node);P.loc||(P.loc=F.node.loc),P.reexportAll={loc:F.node.loc},P.referenced=!0}else if(F.isExportNamedDeclaration()&&F.node.source){U=!0;let P=$(F.node.source,F.node);P.loc||(P.loc=F.node.loc),F.get("specifiers").forEach(W=>{p(W);let Z=l(W.get("local"),D),ee=l(W.get("exported"),D);if(P.reexports.set(ee,Z),P.referenced=!0,ee==="__esModule")throw W.get("exported").buildCodeFrameError('Illegal export "__esModule".')})}else(F.isExportNamedDeclaration()||F.isExportDefaultDeclaration())&&(U=!0)});for(let F of k.values()){let P=!1,W=!1;F.importsNamespace.size>0&&(P=!0,W=!0),F.reexportAll&&(W=!0);for(let Z of F.imports.values())Z==="default"?P=!0:W=!0;for(let Z of F.reexports.values())Z==="default"?P=!0:W=!0;P&&W?F.interop="namespace":P&&(F.interop="default")}if(x)for(let[F,P]of k)P.wrap=x(F,P,j.get(F));return{hasExports:U,local:O,sources:k}}(d,{initializeReexports:g,getWrapperPayload:y},A);(function(L){L.get("body").forEach(x=>{if(x.isImportDeclaration())x.remove();else if(x.isExportNamedDeclaration())x.node.declaration?(x.node.declaration._blockHoist=x.node._blockHoist,x.replaceWith(x.node.declaration)):x.remove();else if(x.isExportDefaultDeclaration()){let C=x.get("declaration");if(!C.isFunctionDeclaration()&&!C.isClassDeclaration())throw C.buildCodeFrameError("Unexpected default expression export.");C._blockHoist=x.node._blockHoist,x.replaceWith(C)}else x.isExportAllDeclaration()&&x.remove()})})(d);for(let[L,x]of T){let{importsNamespace:C,imports:D}=x;if(C.size>0&&D.size===0){let[j]=C;x.name=j}let O=a(m,L,E);O==="none"?x.interop="none":O==="node"&&x.interop==="namespace"?x.interop="node-namespace":O==="node"&&x.interop==="default"?x.interop="node-default":_&&x.interop==="namespace"&&(x.interop="default")}return{exportName:h,exportNameListName:null,hasExports:I,local:S,source:T,stringSpecifiers:A}},r.hasExports=function(d){return d.hasExports},r.isSideEffectImport=function(d){return d.imports.size===0&&d.importsNamespace.size===0&&d.reexports.size===0&&d.reexportNamespace.size===0&&!d.reexportAll},r.validateImportInteropOption=H;var s=c("path"),u=c("./node_modules/.pnpm/@babel+helper-validator-identifier@7.25.7/node_modules/@babel/helper-validator-identifier/lib/index.js");function H(d){if(typeof d!="function"&&d!=="none"&&d!=="babel"&&d!=="node")throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${d}).`);return d}function a(d,h,m){return typeof d=="function"?H(d(h,m)):d}function l(d,h){if(d.isIdentifier())return d.node.name;if(d.isStringLiteral()){let m=d.node.value;return(0,u.isIdentifierName)(m)||h.add(m),m}throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${d.node.type}`)}function p(d){if(!d.isExportSpecifier())throw d.isExportNamespaceSpecifier()?d.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-transform-export-namespace-from`."):d.buildCodeFrameError("Unexpected export specifier type")}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(h,m,g){let y=new Map,_=new Map,E=I=>{h.requeue(I)};for(let[I,L]of m.source){for(let[x,C]of L.imports)y.set(x,[I,C,null]);for(let x of L.importsNamespace)y.set(x,[I,null,x])}for(let[I,L]of m.local){let x=_.get(I);x||(x=[],_.set(I,x)),x.push(...L.names)}let A={metadata:m,requeueInParent:E,scope:h.scope,exported:_};h.traverse(a,A);let S=new Set([...Array.from(y.keys()),...Array.from(_.keys())]);(0,H.default)(h,S,!1);let T={seen:new WeakSet,metadata:m,requeueInParent:E,scope:h.scope,imported:y,exported:_,buildImportReference([I,L,x],C){let D=m.source.get(I);if(D.referenced=!0,x){var O;return D.wrap&&(C=(O=g(C,D.wrap))!=null?O:C),C}let j=u.types.identifier(D.name);var k;if(D.wrap&&(j=(k=g(j,D.wrap))!=null?k:j),L==="default"&&D.interop==="node-default")return j;let $=m.stringSpecifiers.has(L);return u.types.memberExpression(j,$?u.types.stringLiteral(L):u.types.identifier(L),$)}};h.traverse(d,T)};var s=c("assert"),u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-simple-access@7.25.7/node_modules/@babel/helper-simple-access/lib/index.js");let a={Scope(h){h.skip()},ClassDeclaration(h){let{requeueInParent:m,exported:g,metadata:y}=this,{id:_}=h.node;if(!_)throw new Error("Expected class to have a name");let E=_.name,A=g.get(E)||[];if(A.length>0){let S=u.types.expressionStatement(l(y,A,u.types.identifier(E),h.scope));S._blockHoist=h.node._blockHoist,m(h.insertAfter(S)[0])}},VariableDeclaration(h){let{requeueInParent:m,exported:g,metadata:y}=this,_=h.node.kind==="var";for(let E of h.get("declarations")){let{id:A}=E.node,{init:S}=E.node;if(!u.types.isIdentifier(A)||!g.has(A.name)||u.types.isArrowFunctionExpression(S)||u.types.isFunctionExpression(S)&&!S.id||u.types.isClassExpression(S)&&!S.id){for(let T of Object.keys(E.getOuterBindingIdentifiers()))if(g.has(T)){let I=u.types.expressionStatement(l(y,g.get(T),u.types.identifier(T),h.scope));I._blockHoist=h.node._blockHoist,m(h.insertAfter(I)[0])}}else{if(!S){if(_)continue;S=h.scope.buildUndefinedNode()}E.node.init=l(y,g.get(A.name),S,h.scope),m(E.get("init"))}}}},l=(h,m,g,y)=>{let _=h.exportName;for(let E=y;E!=null;E=E.parent)E.hasOwnBinding(_)&&E.rename(_);return(m||[]).reduce((E,A)=>{let{stringSpecifiers:S}=h,T=S.has(A);return u.types.assignmentExpression("=",u.types.memberExpression(u.types.identifier(_),T?u.types.stringLiteral(A):u.types.identifier(A),T),E)},g)},p=h=>u.template.expression.ast`
|
|
(function() {
|
|
throw new Error('"' + '${h}' + '" is read-only.');
|
|
})()
|
|
`,d={ReferencedIdentifier(h){let{seen:m,buildImportReference:g,scope:y,imported:_,requeueInParent:E}=this;if(m.has(h.node))return;m.add(h.node);let A=h.node.name,S=_.get(A);if(S){if(function(L){do switch(L.parent.type){case"TSTypeAnnotation":case"TSTypeAliasDeclaration":case"TSTypeReference":case"TypeAnnotation":case"TypeAlias":return!0;case"ExportSpecifier":return L.parentPath.parent.exportKind==="type";default:if(L.parentPath.isStatement()||L.parentPath.isExpression())return!1}while(L=L.parentPath)}(h))throw h.buildCodeFrameError(`Cannot transform the imported binding "${A}" since it's also used in a type annotation. Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`);let T=h.scope.getBinding(A);if(y.getBinding(A)!==T)return;let I=g(S,h.node);if(I.loc=h.node.loc,(h.parentPath.isCallExpression({callee:h.node})||h.parentPath.isOptionalCallExpression({callee:h.node})||h.parentPath.isTaggedTemplateExpression({tag:h.node}))&&u.types.isMemberExpression(I))h.replaceWith(u.types.sequenceExpression([u.types.numericLiteral(0),I]));else if(h.isJSXIdentifier()&&u.types.isMemberExpression(I)){let{object:L,property:x}=I;h.replaceWith(u.types.jsxMemberExpression(u.types.jsxIdentifier(L.name),u.types.jsxIdentifier(x.name)))}else h.replaceWith(I);E(h),h.skip()}},UpdateExpression(h){let{scope:m,seen:g,imported:y,exported:_,requeueInParent:E,buildImportReference:A}=this;if(g.has(h.node))return;g.add(h.node);let S=h.get("argument");if(S.isMemberExpression())return;let T=h.node;if(S.isIdentifier()){let I=S.node.name;if(m.getBinding(I)!==h.scope.getBinding(I))return;let L=_.get(I),x=y.get(I);if(L?.length>0||x)if(x)h.replaceWith(u.types.assignmentExpression(T.operator[0]+"=",A(x,S.node),p(I)));else if(T.prefix)h.replaceWith(l(this.metadata,L,u.types.cloneNode(T),h.scope));else{let C=m.generateDeclaredUidIdentifier(I);h.replaceWith(u.types.sequenceExpression([u.types.assignmentExpression("=",u.types.cloneNode(C),u.types.cloneNode(T)),l(this.metadata,L,u.types.identifier(I),h.scope),u.types.cloneNode(C)]))}}E(h),h.skip()},AssignmentExpression:{exit(h){let{scope:m,seen:g,imported:y,exported:_,requeueInParent:E,buildImportReference:A}=this;if(g.has(h.node))return;g.add(h.node);let S=h.get("left");if(!S.isMemberExpression())if(S.isIdentifier()){let T=S.node.name;if(m.getBinding(T)!==h.scope.getBinding(T))return;let I=_.get(T),L=y.get(T);if(I?.length>0||L){s(h.node.operator==="=","Path was not simplified");let x=h.node;L&&(x.left=A(L,S.node),x.right=u.types.sequenceExpression([x.right,p(T)])),h.replaceWith(l(this.metadata,I,x,h.scope)),E(h)}}else{let T=S.getOuterBindingIdentifiers(),I=Object.keys(T).filter(C=>m.getBinding(C)===h.scope.getBinding(C)),L=I.find(C=>y.has(C));L&&(h.node.right=u.types.sequenceExpression([h.node.right,p(L)]));let x=[];if(I.forEach(C=>{let D=_.get(C)||[];D.length>0&&x.push(l(this.metadata,D,u.types.identifier(C),h.scope))}),x.length>0){let C=u.types.sequenceExpression(x);h.parentPath.isExpressionStatement()&&(C=u.types.expressionStatement(C),C._blockHoist=h.parentPath.node._blockHoist),E(h.insertAfter(C)[0])}}}},"ForOfStatement|ForInStatement"(h){let{scope:m,node:g}=h,{left:y}=g,{exported:_,imported:E,scope:A}=this;if(!u.types.isVariableDeclaration(y)){let S,T=!1,I=h.get("body").scope;for(let C of Object.keys(u.types.getOuterBindingIdentifiers(y)))A.getBinding(C)===m.getBinding(C)&&(_.has(C)&&(T=!0,I.hasOwnBinding(C)&&I.rename(C)),E.has(C)&&!S&&(S=C));if(!T&&!S)return;h.ensureBlock();let L=h.get("body"),x=m.generateUidIdentifierBasedOnNode(y);h.get("left").replaceWith(u.types.variableDeclaration("let",[u.types.variableDeclarator(u.types.cloneNode(x))])),m.registerDeclaration(h.get("left")),T&&L.unshiftContainer("body",u.types.expressionStatement(u.types.assignmentExpression("=",y,x))),S&&L.unshiftContainer("body",u.types.expressionStatement(p(S)))}}}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(a){H||(H=u.visitors.environmentVisitor({ThisExpression(l){l.replaceWith(s.types.unaryExpression("void",s.types.numericLiteral(0),!0))}}),H.noScope=!0),(0,u.default)(a.node,H)};var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js"),u=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/index.js");let H},"./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.25.7/node_modules/@babel/helper-optimise-call-expression/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m,g,y,_){return y.length===1&&l(y[0])&&a(y[0].argument,{name:"arguments"})?_?d(h(m,H("apply"),!1,!0),[g,y[0].argument],!1):u(p(m,H("apply")),[g,y[0].argument]):_?d(h(m,H("call"),!1,!0),[g,...y],!1):u(p(m,H("call")),[g,...y])};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");let{callExpression:u,identifier:H,isIdentifier:a,isSpreadElement:l,memberExpression:p,optionalCallExpression:d,optionalMemberExpression:h}=s},"./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.7/node_modules/@babel/helper-plugin-utils/lib/index.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.declare=s,r.declarePreset=void 0;let c={assertVersion:H=>a=>{(function(l,p){if(typeof l=="number"){if(!Number.isInteger(l))throw new Error("Expected string or integer value.");l=`^${l}.0.0-0`}if(typeof l!="string")throw new Error("Expected string or integer value.");let d=Error.stackTraceLimit;typeof d=="number"&&d<25&&(Error.stackTraceLimit=25);let h;throw h=p.slice(0,2)==="7."?new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${p}". You'll need to update your @babel/core version.`):new Error(`Requires Babel "${l}", but was loaded with "${p}". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.`),typeof d=="number"&&(Error.stackTraceLimit=d),Object.assign(h,{code:"BABEL_VERSION_UNSUPPORTED",version:p,range:l})})(a,H.version)}};function s(H){return(a,l,p)=>{var d;let h;for(let m of Object.keys(c))a[m]||(h!=null||(h=u(a)),h[m]=c[m](h));return H((d=h)!=null?d:a,l||{},p)}}Object.assign(c,{targets:()=>()=>({}),assumption:()=>()=>{},addExternalDependency:()=>()=>{}}),r.declarePreset=s;function u(H){let a=null;return typeof H.version=="string"&&/^7\./.test(H.version)&&(a=Object.getPrototypeOf(H),!a||hasOwnProperty.call(a,"version")&&hasOwnProperty.call(a,"transform")&&hasOwnProperty.call(a,"template")&&hasOwnProperty.call(a,"types")||(a=null)),Object.assign({},a,H)}},"./node_modules/.pnpm/@babel+helper-replace-supers@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-replace-supers/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.25.7/node_modules/@babel/helper-member-expression-to-functions/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.25.7/node_modules/@babel/helper-optimise-call-expression/lib/index.js"),H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js"),a=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/index.js");let{assignmentExpression:l,callExpression:p,cloneNode:d,identifier:h,memberExpression:m,sequenceExpression:g,stringLiteral:y,thisExpression:_}=H.types;r.environmentVisitor=a.visitors.environmentVisitor({}),r.skipAllButComputedKey=function(L){L.skip(),L.node.computed&&L.context.maybeQueue(L.get("key"))};let E=a.visitors.environmentVisitor({Super(L,x){let{node:C,parentPath:D}=L;D.isMemberExpression({object:C})&&x.handle(D)}}),A=a.visitors.environmentVisitor({Scopable(L,{refName:x}){let C=L.scope.getOwnBinding(x);C&&C.identifier.name===x&&L.scope.rename(x)}}),S={memoise(L,x){let{scope:C,node:D}=L,{computed:O,property:j}=D;if(!O)return;let k=C.maybeGenerateMemoised(j);k&&this.memoiser.set(j,k,x)},prop(L){let{computed:x,property:C}=L.node;return this.memoiser.has(C)?d(this.memoiser.get(C)):x?d(C):y(C.name)},_getPrototypeOfExpression(){let L=d(this.getObjectRef()),x=this.isStatic||this.isPrivateMethod?L:m(L,h("prototype"));return p(this.file.addHelper("getPrototypeOf"),[x])},get(L){let x=d(this.getObjectRef());return p(this.file.addHelper("superPropGet"),[this.isDerivedConstructor?g([_(),x]):x,this.prop(L),_(),...this.isStatic||this.isPrivateMethod?[]:[H.types.numericLiteral(1)]])},_call(L,x,C){let D=d(this.getObjectRef()),O;O=x.length===1&&H.types.isSpreadElement(x[0])&&(H.types.isIdentifier(x[0].argument)||H.types.isArrayExpression(x[0].argument))?x[0].argument:H.types.arrayExpression(x);let j=H.types.callExpression(this.file.addHelper("superPropGet"),[this.isDerivedConstructor?g([_(),D]):D,this.prop(L),_(),H.types.numericLiteral(2|(this.isStatic||this.isPrivateMethod?0:1))]);return C?H.types.optionalCallExpression(j,[O],!0):p(j,[O])},set(L,x){let C=d(this.getObjectRef());return p(this.file.addHelper("superPropSet"),[this.isDerivedConstructor?g([_(),C]):C,this.prop(L),x,_(),H.types.numericLiteral(L.isInStrictMode()?1:0),...this.isStatic||this.isPrivateMethod?[]:[H.types.numericLiteral(1)]])},destructureSet(L){throw L.buildCodeFrameError("Destructuring to a super field is not supported yet.")},call(L,x){return this._call(L,x,!1)},optionalCall(L,x){return this._call(L,x,!0)},delete(L){return L.node.computed?g([p(this.file.addHelper("toPropertyKey"),[d(L.node.property)]),H.template.expression.ast`
|
|
function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
|
|
`]):H.template.expression.ast`
|
|
function () { throw new ReferenceError("'delete super.prop' is invalid"); }()
|
|
`}},T={memoise(L,x){let{scope:C,node:D}=L,{computed:O,property:j}=D;if(!O)return;let k=C.maybeGenerateMemoised(j);k&&this.memoiser.set(j,k,x)},prop(L){let{computed:x,property:C}=L.node;return this.memoiser.has(C)?d(this.memoiser.get(C)):x?d(C):y(C.name)},_getPrototypeOfExpression(){let L=d(this.getObjectRef()),x=this.isStatic||this.isPrivateMethod?L:m(L,h("prototype"));return p(this.file.addHelper("getPrototypeOf"),[x])},get(L){return this._get(L)},_get(L){let x=this._getPrototypeOfExpression();return p(this.file.addHelper("get"),[this.isDerivedConstructor?g([_(),x]):x,this.prop(L),_()])},set(L,x){let C=this._getPrototypeOfExpression();return p(this.file.addHelper("set"),[this.isDerivedConstructor?g([_(),C]):C,this.prop(L),x,_(),H.types.booleanLiteral(L.isInStrictMode())])},destructureSet(L){throw L.buildCodeFrameError("Destructuring to a super field is not supported yet.")},call(L,x){return(0,u.default)(this._get(L),_(),x,!1)},optionalCall(L,x){return(0,u.default)(this._get(L),d(_()),x,!0)},delete(L){return L.node.computed?g([p(this.file.addHelper("toPropertyKey"),[d(L.node.property)]),H.template.expression.ast`
|
|
function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
|
|
`]):H.template.expression.ast`
|
|
function () { throw new ReferenceError("'delete super.prop' is invalid"); }()
|
|
`}},I=Object.assign({},S,{prop(L){let{property:x}=L.node;return this.memoiser.has(x)?d(this.memoiser.get(x)):d(x)},get(L){let{isStatic:x,getSuperRef:C}=this,{computed:D}=L.node,O=this.prop(L),j;var k,$;return x?j=(k=C())!=null?k:m(h("Function"),h("prototype")):j=m(($=C())!=null?$:h("Object"),h("prototype")),m(j,O,D)},set(L,x){let{computed:C}=L.node,D=this.prop(L);return l("=",m(_(),D,C),x)},destructureSet(L){let{computed:x}=L.node,C=this.prop(L);return m(_(),C,x)},call(L,x){return(0,u.default)(this.get(L),_(),x,!1)},optionalCall(L,x){return(0,u.default)(this.get(L),_(),x,!0)}});r.default=class{constructor(L){var x;let C=L.methodPath;this.methodPath=C,this.isDerivedConstructor=C.isClassMethod({kind:"constructor"})&&!!L.superRef,this.isStatic=C.isObjectMethod()||C.node.static||(C.isStaticBlock==null?void 0:C.isStaticBlock()),this.isPrivateMethod=C.isPrivate()&&C.isMethod(),this.file=L.file,this.constantSuper=(x=L.constantSuper)!=null?x:L.isLoose,this.opts=L}getObjectRef(){return d(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){return this.opts.superRef?d(this.opts.superRef):this.opts.getSuperRef?d(this.opts.getSuperRef()):void 0}replace(){let{methodPath:L}=this;this.opts.refToPreserve&&L.traverse(A,{refName:this.opts.refToPreserve.name});let x=this.constantSuper?I:this.file.availableHelper("superPropSet")?S:T;E.shouldSkip=C=>{if(C.parentPath===L&&(C.parentKey==="decorators"||C.parentKey==="key"))return!0},(0,s.default)(L,E,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:x.get},x))}}},"./node_modules/.pnpm/@babel+helper-simple-access@7.25.7/node_modules/@babel/helper-simple-access/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(_,E){var A;_.traverse(y,{scope:_.scope,bindingNames:E,seen:new WeakSet,includeUpdateExpression:(A=arguments[2])==null||A})};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");let{LOGICAL_OPERATORS:u,assignmentExpression:H,binaryExpression:a,cloneNode:l,identifier:p,logicalExpression:d,numericLiteral:h,sequenceExpression:m,unaryExpression:g}=s,y={AssignmentExpression:{exit(_){let{scope:E,seen:A,bindingNames:S}=this;if(_.node.operator==="="||A.has(_.node))return;A.add(_.node);let T=_.get("left");if(!T.isIdentifier())return;let I=T.node.name;if(!S.has(I)||E.getBinding(I)!==_.scope.getBinding(I))return;let L=_.node.operator.slice(0,-1);u.includes(L)?_.replaceWith(d(L,_.node.left,H("=",l(_.node.left),_.node.right))):(_.node.right=a(L,l(_.node.left),_.node.right),_.node.operator="=")}}};y.UpdateExpression={exit(_){if(!this.includeUpdateExpression)return;let{scope:E,bindingNames:A}=this,S=_.get("argument");if(!S.isIdentifier())return;let T=S.node.name;if(A.has(T)&&E.getBinding(T)===_.scope.getBinding(T))if(_.parentPath.isExpressionStatement()&&!_.isCompletionRecord()){let I=_.node.operator==="++"?"+=":"-=";_.replaceWith(H(I,S.node,h(1)))}else if(_.node.prefix)_.replaceWith(H("=",p(T),a(_.node.operator[0],g("+",S.node),h(1))));else{let I=_.scope.generateUidIdentifierBasedOnNode(S.node,"old"),L=I.name;_.scope.push({id:I});let x=a(_.node.operator[0],p(L),h(1));_.replaceWith(m([H("=",p(L),g("+",S.node)),H("=",l(S.node),x),p(L)]))}}}},"./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.25.7/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isTransparentExprWrapper=h,r.skipTransparentExprWrapperNodes=function(m){for(;h(m);)m=m.expression;return m},r.skipTransparentExprWrappers=function(m){for(;h(m.node);)m=m.get("expression");return m};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");let{isParenthesizedExpression:u,isTSAsExpression:H,isTSNonNullExpression:a,isTSSatisfiesExpression:l,isTSTypeAssertion:p,isTypeCastExpression:d}=s;function h(m){return H(m)||l(m)||p(m)||a(m)||d(m)||u(m)}},"./node_modules/.pnpm/@babel+helper-string-parser@7.25.7/node_modules/@babel/helper-string-parser/lib/index.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.readCodePoint=d,r.readInt=p,r.readStringContents=function(h,m,g,y,_,E){let A=g,S=y,T=_,I="",L=null,x=g,{length:C}=m;for(;;){if(g>=C){E.unterminated(A,S,T),I+=m.slice(x,g);break}let D=m.charCodeAt(g);if(H(h,D,m,g)){I+=m.slice(x,g);break}if(D===92){I+=m.slice(x,g);let O=a(m,g,y,_,h==="template",E);O.ch!==null||L?I+=O.ch:L={pos:g,lineStart:y,curLine:_},{pos:g,lineStart:y,curLine:_}=O,x=g}else D===8232||D===8233?(++_,y=++g):D===10||D===13?h==="template"?(I+=m.slice(x,g)+`
|
|
`,++g,D===13&&m.charCodeAt(g)===10&&++g,++_,x=y=g):E.unterminated(A,S,T):++g}return{pos:g,str:I,firstInvalidLoc:L,lineStart:y,curLine:_,containsInvalid:!!L}};var c=function(h){return h>=48&&h<=57};let s={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},u={bin:h=>h===48||h===49,oct:h=>h>=48&&h<=55,dec:h=>h>=48&&h<=57,hex:h=>h>=48&&h<=57||h>=65&&h<=70||h>=97&&h<=102};function H(h,m,g,y){return h==="template"?m===96||m===36&&g.charCodeAt(y+1)===123:m===(h==="double"?34:39)}function a(h,m,g,y,_,E){let A=!_;m++;let S=I=>({pos:m,ch:I,lineStart:g,curLine:y}),T=h.charCodeAt(m++);switch(T){case 110:return S(`
|
|
`);case 114:return S("\r");case 120:{let I;return{code:I,pos:m}=l(h,m,g,y,2,!1,A,E),S(I===null?null:String.fromCharCode(I))}case 117:{let I;return{code:I,pos:m}=d(h,m,g,y,A,E),S(I===null?null:String.fromCodePoint(I))}case 116:return S(" ");case 98:return S("\b");case 118:return S("\v");case 102:return S("\f");case 13:h.charCodeAt(m)===10&&++m;case 10:g=m,++y;case 8232:case 8233:return S("");case 56:case 57:if(_)return S(null);E.strictNumericEscape(m-1,g,y);default:if(T>=48&&T<=55){let I=m-1,L=/^[0-7]+/.exec(h.slice(I,m+2))[0],x=parseInt(L,8);x>255&&(L=L.slice(0,-1),x=parseInt(L,8)),m+=L.length-1;let C=h.charCodeAt(m);if(L!=="0"||C===56||C===57){if(_)return S(null);E.strictNumericEscape(I,g,y)}return S(String.fromCharCode(x))}return S(String.fromCharCode(T))}}function l(h,m,g,y,_,E,A,S){let T=m,I;return{n:I,pos:m}=p(h,m,g,y,16,_,E,!1,S,!A),I===null&&(A?S.invalidEscapeSequence(T,g,y):m=T-1),{code:I,pos:m}}function p(h,m,g,y,_,E,A,S,T,I){let L=m,x=_===16?s.hex:s.decBinOct,C=_===16?u.hex:_===10?u.dec:_===8?u.oct:u.bin,D=!1,O=0;for(let j=0,k=E??1/0;j<k;++j){let $=h.charCodeAt(m),U;if($!==95||S==="bail"){if(U=$>=97?$-97+10:$>=65?$-65+10:c($)?$-48:1/0,U>=_){if(U<=9&&I)return{n:null,pos:m};if(U<=9&&T.invalidDigit(m,g,y,_))U=0;else{if(!A)break;U=0,D=!0}}++m,O=O*_+U}else{let F=h.charCodeAt(m-1),P=h.charCodeAt(m+1);if(S){if(Number.isNaN(P)||!C(P)||x.has(F)||x.has(P)){if(I)return{n:null,pos:m};T.unexpectedNumericSeparator(m,g,y)}}else{if(I)return{n:null,pos:m};T.numericSeparatorInEscapeSequence(m,g,y)}++m}}return m===L||E!=null&&m-L!==E||D?{n:null,pos:m}:{n:O,pos:m}}function d(h,m,g,y,_,E){let A;if(h.charCodeAt(m)===123){if(++m,{code:A,pos:m}=l(h,m,g,y,h.indexOf("}",m)-m,!0,_,E),++m,A!==null&&A>1114111){if(!_)return{code:null,pos:m};E.invalidCodePoint(m,g,y)}}else({code:A,pos:m}=l(h,m,g,y,4,!1,_,E));return{code:A,pos:m}}},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.25.7/node_modules/@babel/helper-validator-identifier/lib/identifier.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isIdentifierChar=h,r.isIdentifierName=function(m){let g=!0;for(let y=0;y<m.length;y++){let _=m.charCodeAt(y);if((64512&_)==55296&&y+1<m.length){let E=m.charCodeAt(++y);(64512&E)==56320&&(_=65536+((1023&_)<<10)+(1023&E))}if(g){if(g=!1,!d(_))return!1}else if(!h(_))return!1}return!g},r.isIdentifierStart=d;let c="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",s="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",u=new RegExp("["+c+"]"),H=new RegExp("["+c+s+"]");c=s=null;let a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],l=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function p(m,g){let y=65536;for(let _=0,E=g.length;_<E;_+=2){if(y+=g[_],y>m)return!1;if(y+=g[_+1],y>=m)return!0}return!1}function d(m){return m<65?m===36:m<=90||(m<97?m===95:m<=122||(m<=65535?m>=170&&u.test(String.fromCharCode(m)):p(m,a)))}function h(m){return m<48?m===36:m<58||!(m<65)&&(m<=90||(m<97?m===95:m<=122||(m<=65535?m>=170&&H.test(String.fromCharCode(m)):p(m,a)||p(m,l))))}},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.25.7/node_modules/@babel/helper-validator-identifier/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isIdentifierChar",{enumerable:!0,get:function(){return s.isIdentifierChar}}),Object.defineProperty(r,"isIdentifierName",{enumerable:!0,get:function(){return s.isIdentifierName}}),Object.defineProperty(r,"isIdentifierStart",{enumerable:!0,get:function(){return s.isIdentifierStart}}),Object.defineProperty(r,"isKeyword",{enumerable:!0,get:function(){return u.isKeyword}}),Object.defineProperty(r,"isReservedWord",{enumerable:!0,get:function(){return u.isReservedWord}}),Object.defineProperty(r,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return u.isStrictBindOnlyReservedWord}}),Object.defineProperty(r,"isStrictBindReservedWord",{enumerable:!0,get:function(){return u.isStrictBindReservedWord}}),Object.defineProperty(r,"isStrictReservedWord",{enumerable:!0,get:function(){return u.isStrictReservedWord}});var s=c("./node_modules/.pnpm/@babel+helper-validator-identifier@7.25.7/node_modules/@babel/helper-validator-identifier/lib/identifier.js"),u=c("./node_modules/.pnpm/@babel+helper-validator-identifier@7.25.7/node_modules/@babel/helper-validator-identifier/lib/keyword.js")},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.25.7/node_modules/@babel/helper-validator-identifier/lib/keyword.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isKeyword=function(h){return u.has(h)},r.isReservedWord=l,r.isStrictBindOnlyReservedWord=d,r.isStrictBindReservedWord=function(h,m){return p(h,m)||d(h)},r.isStrictReservedWord=p;let c=["implements","interface","let","package","private","protected","public","static","yield"],s=["eval","arguments"],u=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),H=new Set(c),a=new Set(s);function l(h,m){return m&&h==="await"||h==="enum"}function p(h,m){return l(h,m)||H.has(h)}function d(h){return a.has(h)}},"./node_modules/.pnpm/@babel+helper-validator-option@7.25.7/node_modules/@babel/helper-validator-option/lib/find-suggestion.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.findSuggestion=function(s,u){let H=u.map(a=>function(l,p){let d,h,m=[],g=[],y=l.length,_=p.length;if(!y)return _;if(!_)return y;for(h=0;h<=_;h++)m[h]=h;for(d=1;d<=y;d++){for(g=[d],h=1;h<=_;h++)g[h]=l[d-1]===p[h-1]?m[h-1]:c(m[h-1],m[h],g[h-1])+1;m=g}return g[_]}(a,s));return u[H.indexOf(c(...H))]};let{min:c}=Math},"./node_modules/.pnpm/@babel+helper-validator-option@7.25.7/node_modules/@babel/helper-validator-option/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"OptionValidator",{enumerable:!0,get:function(){return s.OptionValidator}}),Object.defineProperty(r,"findSuggestion",{enumerable:!0,get:function(){return u.findSuggestion}});var s=c("./node_modules/.pnpm/@babel+helper-validator-option@7.25.7/node_modules/@babel/helper-validator-option/lib/validator.js"),u=c("./node_modules/.pnpm/@babel+helper-validator-option@7.25.7/node_modules/@babel/helper-validator-option/lib/find-suggestion.js")},"./node_modules/.pnpm/@babel+helper-validator-option@7.25.7/node_modules/@babel/helper-validator-option/lib/validator.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.OptionValidator=void 0;var s=c("./node_modules/.pnpm/@babel+helper-validator-option@7.25.7/node_modules/@babel/helper-validator-option/lib/find-suggestion.js");r.OptionValidator=class{constructor(u){this.descriptor=u}validateTopLevelOptions(u,H){let a=Object.keys(H);for(let l of Object.keys(u))if(!a.includes(l))throw new Error(this.formatMessage(`'${l}' is not a valid top-level option.
|
|
- Did you mean '${(0,s.findSuggestion)(l,a)}'?`))}validateBooleanOption(u,H,a){return H===void 0?a:(this.invariant(typeof H=="boolean",`'${u}' option must be a boolean.`),H)}validateStringOption(u,H,a){return H===void 0?a:(this.invariant(typeof H=="string",`'${u}' option must be a string.`),H)}invariant(u,H){if(!u)throw new Error(this.formatMessage(H))}formatMessage(u){return`${this.descriptor}: ${u}`}}},"./node_modules/.pnpm/@babel+helpers@7.25.7/node_modules/@babel/helpers/lib/helpers-generated.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/index.js");function u(a,l,p){return Object.freeze({minVersion:a,ast:()=>s.default.program.ast(l,{preserveComments:!0}),metadata:p})}let H=r.default={__proto__:null,OverloadYield:u("7.18.14","function _OverloadYield(e,d){this.v=e,this.k=d}",{globals:[],locals:{_OverloadYield:["body.0.id"]},exportBindingAssignments:[],exportName:"_OverloadYield",dependencies:{}}),applyDecoratedDescriptor:u("7.0.0-beta.0",'function _applyDecoratedDescriptor(i,e,r,n,l){var a={};return Object.keys(n).forEach((function(i){a[i]=n[i]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce((function(r,n){return n(i,e,r)||r}),a),l&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(l):void 0,a.initializer=void 0),void 0===a.initializer?(Object.defineProperty(i,e,a),null):a}',{globals:["Object"],locals:{_applyDecoratedDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_applyDecoratedDescriptor",dependencies:{}}),applyDecs2311:u("7.24.0",'function applyDecs2311(e,t,n,r,o,i){var a,c,u,s,f,l,p,d=Symbol.metadata||Symbol.for("Symbol.metadata"),m=Object.defineProperty,h=Object.create,y=[h(null),h(null)],v=t.length;function g(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function b(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function applyDec(e,t,n,r,o,i,u,s,f,l,p){function d(e){if(!p(e))throw new TypeError("Attempted to access private element on non-instance")}var h=[].concat(t[0]),v=t[3],w=!u,D=1===o,S=3===o,j=4===o,E=2===o;function I(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),P[t].call(o,i)}}if(!w){var P={},k=[],F=S?"get":j||D?"set":"value";if(f?(l||D?P={get:setFunctionName((function(){return v(this)}),r,"get"),set:function(e){t[4](this,e)}}:P[F]=v,l||setFunctionName(P[F],r,E?"":F)):l||(P=Object.getOwnPropertyDescriptor(e,r)),!l&&!f){if((c=y[+s][r])&&7!=(c^o))throw Error("Decorating two elements with the same name ("+P[F].name+") is not supported yet");y[+s][r]=o<3?1:o}}for(var N=e,O=h.length-1;O>=0;O-=n?2:1){var T=b(h[O],"A decorator","be",!0),z=n?h[O-1]:void 0,A={},H={kind:["field","accessor","method","getter","setter","class"][o],name:r,metadata:a,addInitializer:function(e,t){if(e.v)throw new TypeError("attempted to call addInitializer after decoration was finished");b(t,"An initializer","be",!0),i.push(t)}.bind(null,A)};if(w)c=T.call(z,N,H),A.v=1,b(c,"class decorators","return")&&(N=c);else if(H.static=s,H.private=f,c=H.access={has:f?p.bind():function(e){return r in e}},j||(c.get=f?E?function(e){return d(e),P.value}:I("get",0,d):function(e){return e[r]}),E||S||(c.set=f?I("set",0,d):function(e,t){e[r]=t}),N=T.call(z,D?{get:P.get,set:P.set}:P[F],H),A.v=1,D){if("object"==typeof N&&N)(c=b(N.get,"accessor.get"))&&(P.get=c),(c=b(N.set,"accessor.set"))&&(P.set=c),(c=b(N.init,"accessor.init"))&&k.unshift(c);else if(void 0!==N)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else b(N,(l?"field":"method")+" decorators","return")&&(l?k.unshift(N):P[F]=N)}return o<2&&u.push(g(k,s,1),g(i,s,0)),l||w||(f?D?u.splice(-1,0,I("get",s),I("set",s)):u.push(E?P[F]:b.call.bind(P[F])):m(e,r,P)),N}function w(e){return m(e,d,{configurable:!0,enumerable:!0,value:a})}return void 0!==i&&(a=i[d]),a=h(null==a?null:a),f=[],l=function(e){e&&f.push(g(e))},p=function(t,r){for(var i=0;i<n.length;i++){var a=n[i],c=a[1],l=7&c;if((8&c)==t&&!l==r){var p=a[2],d=!!a[3],m=16&c;applyDec(t?e:e.prototype,a,m,d?"#"+p:toPropertyKey(p),l,l<2?[]:t?s=s||[]:u=u||[],f,!!t,d,r,t&&d?function(t){return checkInRHS(t)===e}:o)}}},p(8,0),p(0,0),p(8,1),p(0,1),l(u),l(s),c=f,v||w(e),{e:c,get c(){var n=[];return v&&[w(e=applyDec(e,[t],r,e.name,5,n)),g(n,1)]}}}',{globals:["Symbol","Object","TypeError","Error"],locals:{applyDecs2311:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2311",dependencies:{checkInRHS:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.10.consequent.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.3.alternate.callee"]}}),arrayLikeToArray:u("7.9.0","function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}",{globals:["Array"],locals:{_arrayLikeToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayLikeToArray",dependencies:{}}),arrayWithHoles:u("7.0.0-beta.0","function _arrayWithHoles(r){if(Array.isArray(r))return r}",{globals:["Array"],locals:{_arrayWithHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithHoles",dependencies:{}}),arrayWithoutHoles:u("7.0.0-beta.0","function _arrayWithoutHoles(r){if(Array.isArray(r))return arrayLikeToArray(r)}",{globals:["Array"],locals:{_arrayWithoutHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithoutHoles",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.argument.callee"]}}),assertClassBrand:u("7.24.0",'function _assertClassBrand(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}',{globals:["TypeError"],locals:{_assertClassBrand:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertClassBrand",dependencies:{}}),assertThisInitialized:u("7.0.0-beta.0",`function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}`,{globals:["ReferenceError"],locals:{_assertThisInitialized:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertThisInitialized",dependencies:{}}),asyncGeneratorDelegate:u("7.0.0-beta.0",'function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise((function(n){n(t[e](r))})),{done:!1,value:new OverloadYield(r,1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(t){return n?(n=!1,t):pump("next",t)},"function"==typeof t.throw&&(e.throw=function(t){if(n)throw n=!1,t;return pump("throw",t)}),"function"==typeof t.return&&(e.return=function(t){return n?(n=!1,t):pump("return",t)}),e}',{globals:["Promise","Symbol"],locals:{_asyncGeneratorDelegate:["body.0.id"]},exportBindingAssignments:[],exportName:"_asyncGeneratorDelegate",dependencies:{OverloadYield:["body.0.body.body.1.body.body.0.argument.expressions.2.properties.1.value.callee"]}}),asyncIterator:u("7.15.9",'function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then((function(r){return{value:r,done:n}}))}return AsyncFromSyncIterator=function(r){this.s=r,this.n=r.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments))},return:function(r){var n=this.s.return;return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))},throw:function(r){var n=this.s.return;return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))}},new AsyncFromSyncIterator(r)}',{globals:["Symbol","TypeError","Object","Promise"],locals:{_asyncIterator:["body.0.id"],AsyncFromSyncIterator:["body.1.id","body.0.body.body.1.body.body.1.consequent.argument.callee","body.1.body.body.1.argument.expressions.1.left.object","body.1.body.body.1.argument.expressions.2.callee","body.1.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:[],exportName:"_asyncIterator",dependencies:{}}),asyncToGenerator:u("7.0.0-beta.0",'function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise((function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)}))}}',{globals:["Promise"],locals:{asyncGeneratorStep:["body.0.id","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.1.body.body.0.expression.callee","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.2.body.body.0.expression.callee"],_asyncToGenerator:["body.1.id"]},exportBindingAssignments:[],exportName:"_asyncToGenerator",dependencies:{}}),awaitAsyncGenerator:u("7.0.0-beta.0","function _awaitAsyncGenerator(e){return new OverloadYield(e,0)}",{globals:[],locals:{_awaitAsyncGenerator:["body.0.id"]},exportBindingAssignments:[],exportName:"_awaitAsyncGenerator",dependencies:{OverloadYield:["body.0.body.body.0.argument.callee"]}}),callSuper:u("7.23.8","function _callSuper(t,o,e){return o=getPrototypeOf(o),possibleConstructorReturn(t,isNativeReflectConstruct()?Reflect.construct(o,e||[],getPrototypeOf(t).constructor):o.apply(t,e))}",{globals:["Reflect"],locals:{_callSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_callSuper",dependencies:{getPrototypeOf:["body.0.body.body.0.argument.expressions.0.right.callee","body.0.body.body.0.argument.expressions.1.arguments.1.consequent.arguments.2.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.argument.expressions.1.arguments.1.test.callee"],possibleConstructorReturn:["body.0.body.body.0.argument.expressions.1.callee"]}}),checkInRHS:u("7.20.5",`function _checkInRHS(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?typeof e:"null"));return e}`,{globals:["Object","TypeError"],locals:{_checkInRHS:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkInRHS",dependencies:{}}),checkPrivateRedeclaration:u("7.14.1",'function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}',{globals:["TypeError"],locals:{_checkPrivateRedeclaration:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkPrivateRedeclaration",dependencies:{}}),classCallCheck:u("7.0.0-beta.0",'function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}',{globals:["TypeError"],locals:{_classCallCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCallCheck",dependencies:{}}),classNameTDZError:u("7.0.0-beta.0",`function _classNameTDZError(e){throw new ReferenceError('Class "'+e+'" cannot be referenced in computed property keys.')}`,{globals:["ReferenceError"],locals:{_classNameTDZError:["body.0.id"]},exportBindingAssignments:[],exportName:"_classNameTDZError",dependencies:{}}),classPrivateFieldGet2:u("7.24.0","function _classPrivateFieldGet2(s,a){return s.get(assertClassBrand(s,a))}",{globals:[],locals:{_classPrivateFieldGet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]}}),classPrivateFieldInitSpec:u("7.14.1","function _classPrivateFieldInitSpec(e,t,a){checkPrivateRedeclaration(e,t),t.set(e,a)}",{globals:[],locals:{_classPrivateFieldInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]}}),classPrivateFieldLooseBase:u("7.0.0-beta.0",'function _classPrivateFieldBase(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}',{globals:["TypeError"],locals:{_classPrivateFieldBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldBase",dependencies:{}}),classPrivateFieldLooseKey:u("7.0.0-beta.0",'var id=0;function _classPrivateFieldKey(e){return"__private_"+id+++"_"+e}',{globals:[],locals:{id:["body.0.declarations.0.id","body.1.body.body.0.argument.left.left.right.argument","body.1.body.body.0.argument.left.left.right.argument"],_classPrivateFieldKey:["body.1.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldKey",dependencies:{}}),classPrivateFieldSet2:u("7.24.0","function _classPrivateFieldSet2(s,a,r){return s.set(assertClassBrand(s,a),r),r}",{globals:[],locals:{_classPrivateFieldSet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]}}),classPrivateGetter:u("7.24.0","function _classPrivateGetter(s,r,a){return a(assertClassBrand(s,r))}",{globals:[],locals:{_classPrivateGetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateGetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]}}),classPrivateMethodInitSpec:u("7.14.1","function _classPrivateMethodInitSpec(e,a){checkPrivateRedeclaration(e,a),a.add(e)}",{globals:[],locals:{_classPrivateMethodInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]}}),classPrivateSetter:u("7.24.0","function _classPrivateSetter(s,r,a,t){return r(assertClassBrand(s,a),t),t}",{globals:[],locals:{_classPrivateSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateSetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]}}),classStaticPrivateMethodGet:u("7.3.2","function _classStaticPrivateMethodGet(s,a,t){return assertClassBrand(a,s),t}",{globals:[],locals:{_classStaticPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]}}),construct:u("7.0.0-beta.0","function _construct(t,e,r){if(isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o));return r&&setPrototypeOf(p,r.prototype),p}",{globals:["Reflect"],locals:{_construct:["body.0.id"]},exportBindingAssignments:[],exportName:"_construct",dependencies:{isNativeReflectConstruct:["body.0.body.body.0.test.callee"],setPrototypeOf:["body.0.body.body.4.argument.expressions.0.right.callee"]}}),createClass:u("7.0.0-beta.0",'function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,toPropertyKey(o.key),o)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}',{globals:["Object"],locals:{_defineProperties:["body.0.id","body.1.body.body.0.argument.expressions.0.right.callee","body.1.body.body.0.argument.expressions.1.right.callee"],_createClass:["body.1.id"]},exportBindingAssignments:[],exportName:"_createClass",dependencies:{toPropertyKey:["body.0.body.body.0.body.body.1.expression.expressions.3.arguments.1.callee"]}}),createForOfIteratorHelper:u("7.9.0",'function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var n=0,F=function(){};return{s:F,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){t=t.call(r)},n:function(){var r=t.next();return a=r.done,r},e:function(r){u=!0,o=r},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelper",dependencies:{unsupportedIterableToArray:["body.0.body.body.1.consequent.body.0.test.left.right.right.callee"]}}),createForOfIteratorHelperLoose:u("7.9.0",'function _createForOfIteratorHelperLoose(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(t)return(t=t.call(r)).next.bind(t);if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var o=0;return function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelperLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelperLoose",dependencies:{unsupportedIterableToArray:["body.0.body.body.2.test.left.right.right.callee"]}}),createSuper:u("7.9.0","function _createSuper(t){var r=isNativeReflectConstruct();return function(){var e,o=getPrototypeOf(t);if(r){var s=getPrototypeOf(this).constructor;e=Reflect.construct(o,arguments,s)}else e=o.apply(this,arguments);return possibleConstructorReturn(this,e)}}",{globals:["Reflect"],locals:{_createSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.body.body.0.declarations.1.init.callee","body.0.body.body.1.argument.body.body.1.consequent.body.0.declarations.0.init.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.declarations.0.init.callee"],possibleConstructorReturn:["body.0.body.body.1.argument.body.body.2.argument.callee"]}}),decorate:u("7.1.5",`function _decorate(e,r,t,i){var o=_getDecoratorsApi();if(i)for(var n=0;n<i.length;n++)o=i[n](o);var s=r((function(e){o.initializeInstanceElements(e,a.elements)}),t),a=o.decorateClass(_coalesceClassElements(s.d.map(_createElementDescriptor)),e);return o.initializeClassElements(s.F,a.elements),o.runClassFinishers(s.F,a.finishers)}function _getDecoratorsApi(){_getDecoratorsApi=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)}),this)}),this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach((function(i){r.forEach((function(r){var o=r.placement;if(r.kind===i&&("static"===o||"prototype"===o)){var n="static"===o?e:t;this.defineClassElement(n,r)}}),this)}),this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],o={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,o)}),this),e.forEach((function(e){if(!_hasDecorators(e))return t.push(e);var r=this.decorateElement(e,o);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)}),this),!r)return{elements:t,finishers:i};var n=this.decorateConstructor(t,r);return i.push.apply(i,n.finishers),n.finishers=i,n},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],o=e.decorators,n=o.length-1;n>=0;n--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,o[n])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var p=0;p<c.length;p++)this.addElementPlacement(c[p],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var o=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,r[i])(o)||o);if(void 0!==n.finisher&&t.push(n.finisher),void 0!==n.elements){e=n.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){if(void 0!==e)return toArray(e).map((function(e){var r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r}),this)},toElementDescriptor:function(e){var r=e.kind+"";if("method"!==r&&"field"!==r)throw new TypeError('An element descriptor\\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+r+'"');var t=toPropertyKey(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var o=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:r,key:t,placement:i,descriptor:Object.assign({},o)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(o,"get","The property descriptor of a field descriptor"),this.disallowProperty(o,"set","The property descriptor of a field descriptor"),this.disallowProperty(o,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:_optionalCallableProperty(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=e.kind+"";if("class"!==r)throw new TypeError('A class descriptor\\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+r+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var t=_optionalCallableProperty(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can't have a ."+r+" property.")}};return e}function _createElementDescriptor(e){var r,t=toPropertyKey(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function _coalesceGetterSetter(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function _coalesceClassElements(e){for(var r=[],isSameElement=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},t=0;t<e.length;t++){var i,o=e[t];if("method"===o.kind&&(i=r.find(isSameElement)))if(_isDataDescriptor(o.descriptor)||_isDataDescriptor(i.descriptor)){if(_hasDecorators(o)||_hasDecorators(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(_hasDecorators(o)){if(_hasDecorators(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}_coalesceGetterSetter(o,i)}else r.push(o)}return r}function _hasDecorators(e){return e.decorators&&e.decorators.length}function _isDataDescriptor(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function _optionalCallableProperty(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected '"+r+"' to be a function");return t}`,{globals:["Object","TypeError","Symbol","ReferenceError"],locals:{_decorate:["body.0.id"],_getDecoratorsApi:["body.1.id","body.0.body.body.0.declarations.0.init.callee","body.1.body.body.0.expression.left"],_createElementDescriptor:["body.2.id","body.0.body.body.2.declarations.1.init.arguments.0.arguments.0.arguments.0"],_coalesceGetterSetter:["body.3.id","body.4.body.body.0.body.body.1.consequent.alternate.body.1.expression.callee"],_coalesceClassElements:["body.4.id","body.0.body.body.2.declarations.1.init.arguments.0.callee"],_hasDecorators:["body.5.id","body.1.body.body.1.declarations.0.init.properties.4.value.body.body.1.test.expressions.1.arguments.0.body.body.0.test.argument.callee","body.4.body.body.0.body.body.1.consequent.consequent.body.0.test.left.callee","body.4.body.body.0.body.body.1.consequent.consequent.body.0.test.right.callee","body.4.body.body.0.body.body.1.consequent.alternate.body.0.test.callee","body.4.body.body.0.body.body.1.consequent.alternate.body.0.consequent.body.0.test.callee"],_isDataDescriptor:["body.6.id","body.4.body.body.0.body.body.1.consequent.test.left.callee","body.4.body.body.0.body.body.1.consequent.test.right.callee"],_optionalCallableProperty:["body.7.id","body.1.body.body.1.declarations.0.init.properties.11.value.body.body.0.argument.properties.1.value.callee","body.1.body.body.1.declarations.0.init.properties.13.value.body.body.3.declarations.0.init.callee"]},exportBindingAssignments:[],exportName:"_decorate",dependencies:{toArray:["body.1.body.body.1.declarations.0.init.properties.9.value.body.body.0.consequent.argument.callee.object.callee"],toPropertyKey:["body.1.body.body.1.declarations.0.init.properties.10.value.body.body.2.declarations.0.init.callee","body.2.body.body.0.declarations.1.init.callee"]}}),defaults:u("7.0.0-beta.0","function _defaults(e,r){for(var t=Object.getOwnPropertyNames(r),o=0;o<t.length;o++){var n=t[o],a=Object.getOwnPropertyDescriptor(r,n);a&&a.configurable&&void 0===e[n]&&Object.defineProperty(e,n,a)}return e}",{globals:["Object"],locals:{_defaults:["body.0.id"]},exportBindingAssignments:[],exportName:"_defaults",dependencies:{}}),defineAccessor:u("7.20.7","function _defineAccessor(e,r,n,t){var c={configurable:!0,enumerable:!0};return c[e]=t,Object.defineProperty(r,n,c)}",{globals:["Object"],locals:{_defineAccessor:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineAccessor",dependencies:{}}),defineProperty:u("7.0.0-beta.0","function _defineProperty(e,r,t){return(r=toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}",{globals:["Object"],locals:{_defineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineProperty",dependencies:{toPropertyKey:["body.0.body.body.0.argument.expressions.0.test.left.right.callee"]}}),extends:u("7.0.0-beta.0","function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}",{globals:["Object"],locals:{_extends:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_extends",dependencies:{}}),get:u("7.0.0-beta.0",'function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},_get.apply(null,arguments)}',{globals:["Reflect","Object"],locals:{_get:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_get",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.0.init.callee"]}}),getPrototypeOf:u("7.0.0-beta.0","function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}",{globals:["Object"],locals:{_getPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_getPrototypeOf",dependencies:{}}),identity:u("7.17.0","function _identity(t){return t}",{globals:[],locals:{_identity:["body.0.id"]},exportBindingAssignments:[],exportName:"_identity",dependencies:{}}),importDeferProxy:u("7.23.0","function _importDeferProxy(e){var t=null,constValue=function(e){return function(){return e}},proxy=function(r){return function(n,o,f){return null===t&&(t=e()),r(t,o,f)}};return new Proxy({},{defineProperty:constValue(!1),deleteProperty:constValue(!1),get:proxy(Reflect.get),getOwnPropertyDescriptor:proxy(Reflect.getOwnPropertyDescriptor),getPrototypeOf:constValue(null),isExtensible:constValue(!1),has:proxy(Reflect.has),ownKeys:proxy(Reflect.ownKeys),preventExtensions:constValue(!0),set:constValue(!1),setPrototypeOf:constValue(!1)})}",{globals:["Proxy","Reflect"],locals:{_importDeferProxy:["body.0.id"]},exportBindingAssignments:[],exportName:"_importDeferProxy",dependencies:{}}),inherits:u("7.0.0-beta.0",'function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&setPrototypeOf(t,e)}',{globals:["TypeError","Object"],locals:{_inherits:["body.0.id"]},exportBindingAssignments:[],exportName:"_inherits",dependencies:{setPrototypeOf:["body.0.body.body.1.expression.expressions.2.right.callee"]}}),inheritsLoose:u("7.0.0-beta.0","function _inheritsLoose(t,o){t.prototype=Object.create(o.prototype),t.prototype.constructor=t,setPrototypeOf(t,o)}",{globals:["Object"],locals:{_inheritsLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_inheritsLoose",dependencies:{setPrototypeOf:["body.0.body.body.0.expression.expressions.2.callee"]}}),initializerDefineProperty:u("7.0.0-beta.0","function _initializerDefineProperty(e,i,r,l){r&&Object.defineProperty(e,i,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(l):void 0})}",{globals:["Object"],locals:{_initializerDefineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerDefineProperty",dependencies:{}}),initializerWarningHelper:u("7.0.0-beta.0",'function _initializerWarningHelper(r,e){throw Error("Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.")}',{globals:["Error"],locals:{_initializerWarningHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerWarningHelper",dependencies:{}}),instanceof:u("7.0.0-beta.0",'function _instanceof(n,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](n):n instanceof e}',{globals:["Symbol"],locals:{_instanceof:["body.0.id"]},exportBindingAssignments:[],exportName:"_instanceof",dependencies:{}}),interopRequireDefault:u("7.0.0-beta.0","function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}",{globals:[],locals:{_interopRequireDefault:["body.0.id"]},exportBindingAssignments:[],exportName:"_interopRequireDefault",dependencies:{}}),interopRequireWildcard:u("7.14.0",'function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}',{globals:["WeakMap","Object"],locals:{_getRequireWildcardCache:["body.0.id","body.1.body.body.2.declarations.0.init.callee","body.0.body.body.2.argument.callee.left"],_interopRequireWildcard:["body.1.id"]},exportBindingAssignments:[],exportName:"_interopRequireWildcard",dependencies:{}}),isNativeFunction:u("7.0.0-beta.0",'function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(n){return"function"==typeof t}}',{globals:["Function"],locals:{_isNativeFunction:["body.0.id"]},exportBindingAssignments:[],exportName:"_isNativeFunction",dependencies:{}}),isNativeReflectConstruct:u("7.9.0","function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function(){return!!t})()}",{globals:["Boolean","Reflect"],locals:{_isNativeReflectConstruct:["body.0.id","body.0.body.body.1.argument.callee.left"]},exportBindingAssignments:["body.0.body.body.1.argument.callee"],exportName:"_isNativeReflectConstruct",dependencies:{}}),iterableToArray:u("7.0.0-beta.0",'function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}',{globals:["Symbol","Array"],locals:{_iterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArray",dependencies:{}}),iterableToArrayLimit:u("7.0.0-beta.0",'function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}',{globals:["Symbol","Object"],locals:{_iterableToArrayLimit:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArrayLimit",dependencies:{}}),jsx:u("7.0.0-beta.0",'var REACT_ELEMENT_TYPE;function _createRawReactElement(e,r,E,l){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,n=arguments.length-3;if(r||0===n||(r={children:void 0}),1===n)r.children=l;else if(n>1){for(var t=Array(n),f=0;f<n;f++)t[f]=arguments[f+3];r.children=t}if(r&&o)for(var i in o)void 0===r[i]&&(r[i]=o[i]);else r||(r=o||{});return{$$typeof:REACT_ELEMENT_TYPE,type:e,key:void 0===E?null:""+E,ref:null,props:r,_owner:null}}',{globals:["Symbol","Array"],locals:{REACT_ELEMENT_TYPE:["body.0.declarations.0.id","body.1.body.body.0.expression.left","body.1.body.body.4.argument.properties.0.value","body.1.body.body.0.expression.right.left"],_createRawReactElement:["body.1.id"]},exportBindingAssignments:[],exportName:"_createRawReactElement",dependencies:{}}),maybeArrayLike:u("7.9.0",'function _maybeArrayLike(r,a,e){if(a&&!Array.isArray(a)&&"number"==typeof a.length){var y=a.length;return arrayLikeToArray(a,void 0!==e&&e<y?e:y)}return r(a,e)}',{globals:["Array"],locals:{_maybeArrayLike:["body.0.id"]},exportBindingAssignments:[],exportName:"_maybeArrayLike",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.1.argument.callee"]}}),newArrowCheck:u("7.0.0-beta.0",'function _newArrowCheck(n,r){if(n!==r)throw new TypeError("Cannot instantiate an arrow function")}',{globals:["TypeError"],locals:{_newArrowCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_newArrowCheck",dependencies:{}}),nonIterableRest:u("7.0.0-beta.0",'function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["TypeError"],locals:{_nonIterableRest:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableRest",dependencies:{}}),nonIterableSpread:u("7.0.0-beta.0",'function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["TypeError"],locals:{_nonIterableSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableSpread",dependencies:{}}),nullishReceiverError:u("7.22.6",'function _nullishReceiverError(r){throw new TypeError("Cannot set property of null or undefined.")}',{globals:["TypeError"],locals:{_nullishReceiverError:["body.0.id"]},exportBindingAssignments:[],exportName:"_nullishReceiverError",dependencies:{}}),objectDestructuringEmpty:u("7.0.0-beta.0",'function _objectDestructuringEmpty(t){if(null==t)throw new TypeError("Cannot destructure "+t)}',{globals:["TypeError"],locals:{_objectDestructuringEmpty:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectDestructuringEmpty",dependencies:{}}),objectSpread2:u("7.5.0","function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread2(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){defineProperty(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}",{globals:["Object"],locals:{ownKeys:["body.0.id","body.1.body.body.0.body.body.1.expression.consequent.callee.object.callee","body.1.body.body.0.body.body.1.expression.alternate.alternate.callee.object.callee"],_objectSpread2:["body.1.id"]},exportBindingAssignments:[],exportName:"_objectSpread2",dependencies:{defineProperty:["body.1.body.body.0.body.body.1.expression.consequent.arguments.0.body.body.0.expression.callee"]}}),objectWithoutProperties:u("7.0.0-beta.0","function _objectWithoutProperties(e,t){if(null==e)return{};var o,r,i=objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)o=s[r],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}",{globals:["Object"],locals:{_objectWithoutProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutProperties",dependencies:{objectWithoutPropertiesLoose:["body.0.body.body.1.declarations.2.init.callee"]}}),objectWithoutPropertiesLoose:u("7.0.0-beta.0","function _objectWithoutPropertiesLoose(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.includes(n))continue;t[n]=r[n]}return t}",{globals:[],locals:{_objectWithoutPropertiesLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutPropertiesLoose",dependencies:{}}),possibleConstructorReturn:u("7.0.0-beta.0",'function _possibleConstructorReturn(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return assertThisInitialized(t)}',{globals:["TypeError"],locals:{_possibleConstructorReturn:["body.0.id"]},exportBindingAssignments:[],exportName:"_possibleConstructorReturn",dependencies:{assertThisInitialized:["body.0.body.body.2.argument.callee"]}}),readOnlyError:u("7.0.0-beta.0",`function _readOnlyError(r){throw new TypeError('"'+r+'" is read-only')}`,{globals:["TypeError"],locals:{_readOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_readOnlyError",dependencies:{}}),regeneratorRuntime:u("7.18.0",`function _regeneratorRuntime(){"use strict";
|
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},e.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,(function(){return this})),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,(function(){return this})),define(g,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next}return next.done=!0,next}},e.values=values,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}`,{globals:["Object","Symbol","Error","TypeError","isNaN","Promise"],locals:{_regeneratorRuntime:["body.0.id","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_regeneratorRuntime",dependencies:{}}),set:u("7.0.0-beta.0",'function set(e,r,t,o){return set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,r,t,o){var f,i=superPropBase(e,r);if(i){if((f=Object.getOwnPropertyDescriptor(i,r)).set)return f.set.call(o,t),!0;if(!f.writable)return!1}if(f=Object.getOwnPropertyDescriptor(o,r)){if(!f.writable)return!1;f.value=t,Object.defineProperty(o,r,f)}else defineProperty(o,r,t);return!0},set(e,r,t,o)}function _set(e,r,t,o,f){if(!set(e,r,t,o||e)&&f)throw new TypeError("failed to set property");return t}',{globals:["Reflect","Object","TypeError"],locals:{set:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.0.test.left.argument.callee","body.0.body.body.0.argument.expressions.0.left"],_set:["body.1.id"]},exportBindingAssignments:[],exportName:"_set",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.1.init.callee"],defineProperty:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.2.alternate.expression.callee"]}}),setFunctionName:u("7.23.6",'function setFunctionName(e,t,n){"symbol"==typeof t&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}',{globals:["Object"],locals:{setFunctionName:["body.0.id"]},exportBindingAssignments:[],exportName:"setFunctionName",dependencies:{}}),setPrototypeOf:u("7.0.0-beta.0","function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}",{globals:["Object"],locals:{_setPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_setPrototypeOf",dependencies:{}}),skipFirstGeneratorNext:u("7.0.0-beta.0","function _skipFirstGeneratorNext(t){return function(){var r=t.apply(this,arguments);return r.next(),r}}",{globals:[],locals:{_skipFirstGeneratorNext:["body.0.id"]},exportBindingAssignments:[],exportName:"_skipFirstGeneratorNext",dependencies:{}}),slicedToArray:u("7.0.0-beta.0","function _slicedToArray(r,e){return arrayWithHoles(r)||iterableToArrayLimit(r,e)||unsupportedIterableToArray(r,e)||nonIterableRest()}",{globals:[],locals:{_slicedToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_slicedToArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArrayLimit:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]}}),superPropBase:u("7.0.0-beta.0","function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=getPrototypeOf(t)););return t}",{globals:[],locals:{_superPropBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropBase",dependencies:{getPrototypeOf:["body.0.body.body.0.test.right.right.right.callee"]}}),superPropGet:u("7.25.0",'function _superPropertyGet(t,e,o,r){var p=get(getPrototypeOf(1&r?t.prototype:t),e,o);return 2&r&&"function"==typeof p?function(t){return p.apply(o,t)}:p}',{globals:[],locals:{_superPropertyGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropertyGet",dependencies:{get:["body.0.body.body.0.declarations.0.init.callee"],getPrototypeOf:["body.0.body.body.0.declarations.0.init.arguments.0.callee"]}}),superPropSet:u("7.25.0","function _superPropertySet(t,e,o,r,p,f){return set(getPrototypeOf(f?t.prototype:t),e,o,r,p)}",{globals:[],locals:{_superPropertySet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropertySet",dependencies:{set:["body.0.body.body.0.argument.callee"],getPrototypeOf:["body.0.body.body.0.argument.arguments.0.callee"]}}),taggedTemplateLiteral:u("7.0.0-beta.0","function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}",{globals:["Object"],locals:{_taggedTemplateLiteral:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteral",dependencies:{}}),taggedTemplateLiteralLoose:u("7.0.0-beta.0","function _taggedTemplateLiteralLoose(e,t){return t||(t=e.slice(0)),e.raw=t,e}",{globals:[],locals:{_taggedTemplateLiteralLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteralLoose",dependencies:{}}),tdz:u("7.5.5",'function _tdzError(e){throw new ReferenceError(e+" is not defined - temporal dead zone")}',{globals:["ReferenceError"],locals:{_tdzError:["body.0.id"]},exportBindingAssignments:[],exportName:"_tdzError",dependencies:{}}),temporalRef:u("7.0.0-beta.0","function _temporalRef(r,e){return r===undef?err(e):r}",{globals:[],locals:{_temporalRef:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalRef",dependencies:{temporalUndefined:["body.0.body.body.0.argument.test.right"],tdz:["body.0.body.body.0.argument.consequent.callee"]}}),temporalUndefined:u("7.0.0-beta.0","function _temporalUndefined(){}",{globals:[],locals:{_temporalUndefined:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalUndefined",dependencies:{}}),toArray:u("7.0.0-beta.0","function _toArray(r){return arrayWithHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableRest()}",{globals:[],locals:{_toArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]}}),toConsumableArray:u("7.0.0-beta.0","function _toConsumableArray(r){return arrayWithoutHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableSpread()}",{globals:[],locals:{_toConsumableArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toConsumableArray",dependencies:{arrayWithoutHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableSpread:["body.0.body.body.0.argument.right.callee"]}}),toPrimitive:u("7.1.5",'function toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}',{globals:["Symbol","TypeError","String","Number"],locals:{toPrimitive:["body.0.id"]},exportBindingAssignments:[],exportName:"toPrimitive",dependencies:{}}),toPropertyKey:u("7.1.5",'function toPropertyKey(t){var i=toPrimitive(t,"string");return"symbol"==typeof i?i:i+""}',{globals:[],locals:{toPropertyKey:["body.0.id"]},exportBindingAssignments:[],exportName:"toPropertyKey",dependencies:{toPrimitive:["body.0.body.body.0.declarations.0.init.callee"]}}),toSetter:u("7.24.0",'function _toSetter(t,e,n){e||(e=[]);var r=e.length++;return Object.defineProperty({},"_",{set:function(o){e[r]=o,t.apply(n,e)}})}',{globals:["Object"],locals:{_toSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_toSetter",dependencies:{}}),typeof:u("7.0.0-beta.0",'function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}',{globals:["Symbol"],locals:{_typeof:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_typeof",dependencies:{}}),unsupportedIterableToArray:u("7.9.0",'function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?arrayLikeToArray(r,a):void 0}}',{globals:["Array"],locals:{_unsupportedIterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_unsupportedIterableToArray",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.0.consequent.argument.callee","body.0.body.body.0.consequent.body.2.argument.expressions.1.alternate.consequent.callee"]}}),usingCtx:u("7.23.9",'function _usingCtx(){var r="function"==typeof SuppressedError?SuppressedError:function(r,e){var n=Error();return n.name="SuppressedError",n.error=r,n.suppressed=e,n},e={},n=[];function using(r,e){if(null!=e){if(Object(e)!==e)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(r)var o=e[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(void 0===o&&(o=e[Symbol.dispose||Symbol.for("Symbol.dispose")],r))var t=o;if("function"!=typeof o)throw new TypeError("Object is not disposable.");t&&(o=function(){try{t.call(e)}catch(r){return Promise.reject(r)}}),n.push({v:e,d:o,a:r})}else r&&n.push({d:e,a:r});return e}return{e:e,u:using.bind(null,!1),a:using.bind(null,!0),d:function(){var o,t=this.e,s=0;function next(){for(;o=n.pop();)try{if(!o.a&&1===s)return s=0,n.push(o),Promise.resolve().then(next);if(o.d){var r=o.d.call(o.v);if(o.a)return s|=2,Promise.resolve(r).then(next,err)}else s|=1}catch(r){return err(r)}if(1===s)return t!==e?Promise.reject(t):Promise.resolve();if(t!==e)throw t}function err(n){return t=t!==e?new r(n,t):n,next()}return next()}}}',{globals:["SuppressedError","Error","Object","TypeError","Symbol","Promise"],locals:{_usingCtx:["body.0.id"]},exportBindingAssignments:[],exportName:"_usingCtx",dependencies:{}}),wrapAsyncGenerator:u("7.0.0-beta.0",'function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments))}}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof OverloadYield;Promise.resolve(u?o.v:o).then((function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value}settle(n.done?"return":"normal",t)}),(function(e){resume("throw",e)}))}catch(e){settle("throw",e)}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1})}(r=r.next)?resume(r.key,r.arg):t=null}this._invoke=function(e,n){return new Promise((function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};',{globals:["Promise","Symbol"],locals:{_wrapAsyncGenerator:["body.0.id"],AsyncGenerator:["body.1.id","body.0.body.body.0.argument.body.body.0.argument.callee","body.2.expression.expressions.0.left.object.object","body.2.expression.expressions.1.left.object.object","body.2.expression.expressions.2.left.object.object","body.2.expression.expressions.3.left.object.object"]},exportBindingAssignments:[],exportName:"_wrapAsyncGenerator",dependencies:{OverloadYield:["body.1.body.body.1.body.body.0.block.body.0.declarations.2.init.right"]}}),wrapNativeSuper:u("7.0.0-beta.0",'function _wrapNativeSuper(t){var r="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(t){if(null===t||!isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper)}function Wrapper(){return construct(t,arguments,getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),setPrototypeOf(Wrapper,t)},_wrapNativeSuper(t)}',{globals:["Map","TypeError","Object"],locals:{_wrapNativeSuper:["body.0.id","body.0.body.body.1.argument.expressions.1.callee","body.0.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.1.argument.expressions.0"],exportName:"_wrapNativeSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.arguments.2.object.callee"],setPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.4.argument.expressions.1.callee"],isNativeFunction:["body.0.body.body.1.argument.expressions.0.right.body.body.0.test.right.argument.callee"],construct:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.callee"]}}),wrapRegExp:u("7.19.0",'function _wrapRegExp(){_wrapRegExp=function(e,r){return new BabelRegExp(e,void 0,r)};var e=RegExp.prototype,r=new WeakMap;function BabelRegExp(e,t,p){var o=RegExp(e,t);return r.set(o,p||r.get(e)),setPrototypeOf(o,BabelRegExp.prototype)}function buildGroups(e,t){var p=r.get(t);return Object.keys(p).reduce((function(r,t){var o=p[t];if("number"==typeof o)r[t]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1<o.length;)i++;r[t]=e[o[i]]}return r}),Object.create(null))}return inherits(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(r){var t=e.exec.call(this,r);if(t){t.groups=buildGroups(t,this);var p=t.indices;p&&(p.groups=buildGroups(p,this))}return t},BabelRegExp.prototype[Symbol.replace]=function(t,p){if("string"==typeof p){var o=r.get(this);return e[Symbol.replace].call(this,t,p.replace(/\\$<([^>]+)>/g,(function(e,r){var t=o[r];return"$"+(Array.isArray(t)?t.join("$"):t)})))}if("function"==typeof p){var i=this;return e[Symbol.replace].call(this,t,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(buildGroups(e,i)),p.apply(this,e)}))}return e[Symbol.replace].call(this,t,p)},_wrapRegExp.apply(this,arguments)}',{globals:["RegExp","WeakMap","Object","Symbol","Array"],locals:{_wrapRegExp:["body.0.id","body.0.body.body.4.argument.expressions.3.callee.object","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_wrapRegExp",dependencies:{setPrototypeOf:["body.0.body.body.2.body.body.1.argument.expressions.1.callee"],inherits:["body.0.body.body.4.argument.expressions.0.callee"]}}),writeOnlyError:u("7.12.13",`function _writeOnlyError(r){throw new TypeError('"'+r+'" is write-only')}`,{globals:["TypeError"],locals:{_writeOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_writeOnlyError",dependencies:{}})};Object.assign(H,{AwaitValue:u("7.0.0-beta.0","function _AwaitValue(t){this.wrapped=t}",{globals:[],locals:{_AwaitValue:["body.0.id"]},exportBindingAssignments:[],exportName:"_AwaitValue",dependencies:{}}),applyDecs:u("7.17.8",'function old_createMetadataMethodsForProperty(e,t,a,r){return{getMetadata:function(o){old_assertNotFinished(r,"getMetadata"),old_assertMetadataKey(o);var i=e[o];if(void 0!==i)if(1===t){var n=i.public;if(void 0!==n)return n[a]}else if(2===t){var l=i.private;if(void 0!==l)return l.get(a)}else if(Object.hasOwnProperty.call(i,"constructor"))return i.constructor},setMetadata:function(o,i){old_assertNotFinished(r,"setMetadata"),old_assertMetadataKey(o);var n=e[o];if(void 0===n&&(n=e[o]={}),1===t){var l=n.public;void 0===l&&(l=n.public={}),l[a]=i}else if(2===t){var s=n.priv;void 0===s&&(s=n.private=new Map),s.set(a,i)}else n.constructor=i}}}function old_convertMetadataMapToFinal(e,t){var a=e[Symbol.metadata||Symbol.for("Symbol.metadata")],r=Object.getOwnPropertySymbols(t);if(0!==r.length){for(var o=0;o<r.length;o++){var i=r[o],n=t[i],l=a?a[i]:null,s=n.public,c=l?l.public:null;s&&c&&Object.setPrototypeOf(s,c);var d=n.private;if(d){var u=Array.from(d.values()),f=l?l.private:null;f&&(u=u.concat(f)),n.private=u}l&&Object.setPrototypeOf(n,l)}a&&Object.setPrototypeOf(t,a),e[Symbol.metadata||Symbol.for("Symbol.metadata")]=t}}function old_createAddInitializerMethod(e,t){return function(a){old_assertNotFinished(t,"addInitializer"),old_assertCallable(a,"An initializer"),e.push(a)}}function old_memberDec(e,t,a,r,o,i,n,l,s){var c;switch(i){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var d,u,f={kind:c,name:l?"#"+t:toPropertyKey(t),isStatic:n,isPrivate:l},p={v:!1};if(0!==i&&(f.addInitializer=old_createAddInitializerMethod(o,p)),l){d=2,u=Symbol(t);var v={};0===i?(v.get=a.get,v.set=a.set):2===i?v.get=function(){return a.value}:(1!==i&&3!==i||(v.get=function(){return a.get.call(this)}),1!==i&&4!==i||(v.set=function(e){a.set.call(this,e)})),f.access=v}else d=1,u=t;try{return e(s,Object.assign(f,old_createMetadataMethodsForProperty(r,d,u,p)))}finally{p.v=!0}}function old_assertNotFinished(e,t){if(e.v)throw Error("attempted to call "+t+" after decoration was finished")}function old_assertMetadataKey(e){if("symbol"!=typeof e)throw new TypeError("Metadata keys must be symbols, received: "+e)}function old_assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function old_assertValidReturnValue(e,t){var a=typeof t;if(1===e){if("object"!==a||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&old_assertCallable(t.get,"accessor.get"),void 0!==t.set&&old_assertCallable(t.set,"accessor.set"),void 0!==t.init&&old_assertCallable(t.init,"accessor.init"),void 0!==t.initializer&&old_assertCallable(t.initializer,"accessor.initializer")}else if("function"!==a)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function old_getInit(e){var t;return null==(t=e.init)&&(t=e.initializer)&&void 0!==console&&console.warn(".initializer has been renamed to .init as of March 2022"),t}function old_applyMemberDec(e,t,a,r,o,i,n,l,s){var c,d,u,f,p,v,y,h=a[0];if(n?(0===o||1===o?(c={get:a[3],set:a[4]},u="get"):3===o?(c={get:a[3]},u="get"):4===o?(c={set:a[3]},u="set"):c={value:a[3]},0!==o&&(1===o&&setFunctionName(a[4],"#"+r,"set"),setFunctionName(a[3],"#"+r,u))):0!==o&&(c=Object.getOwnPropertyDescriptor(t,r)),1===o?f={get:c.get,set:c.set}:2===o?f=c.value:3===o?f=c.get:4===o&&(f=c.set),"function"==typeof h)void 0!==(p=old_memberDec(h,r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?d=p:1===o?(d=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p);else for(var m=h.length-1;m>=0;m--){var b;void 0!==(p=old_memberDec(h[m],r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?b=p:1===o?(b=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b)))}if(0===o||1===o){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var g=d;d=function(e,t){for(var a=t,r=0;r<g.length;r++)a=g[r].call(e,a);return a}}else{var _=d;d=function(e,t){return _.call(e,t)}}e.push(d)}0!==o&&(1===o?(c.get=f.get,c.set=f.set):2===o?c.value=f:3===o?c.get=f:4===o&&(c.set=f),n?1===o?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===o?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,r,c))}function old_applyMemberDecs(e,t,a,r,o){for(var i,n,l=new Map,s=new Map,c=0;c<o.length;c++){var d=o[c];if(Array.isArray(d)){var u,f,p,v=d[1],y=d[2],h=d.length>3,m=v>=5;if(m?(u=t,f=r,0!=(v-=5)&&(p=n=n||[])):(u=t.prototype,f=a,0!==v&&(p=i=i||[])),0!==v&&!h){var b=m?s:l,g=b.get(y)||0;if(!0===g||3===g&&4!==v||4===g&&3!==v)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+y);!g&&v>2?b.set(y,v):b.set(y,!0)}old_applyMemberDec(e,u,d,y,v,m,h,f,p)}}old_pushInitializers(e,i),old_pushInitializers(e,n)}function old_pushInitializers(e,t){t&&e.push((function(e){for(var a=0;a<t.length;a++)t[a].call(e);return e}))}function old_applyClassDecs(e,t,a,r){if(r.length>0){for(var o=[],i=t,n=t.name,l=r.length-1;l>=0;l--){var s={v:!1};try{var c=Object.assign({kind:"class",name:n,addInitializer:old_createAddInitializerMethod(o,s)},old_createMetadataMethodsForProperty(a,0,n,s)),d=r[l](i,c)}finally{s.v=!0}void 0!==d&&(old_assertValidReturnValue(10,d),i=d)}e.push(i,(function(){for(var e=0;e<o.length;e++)o[e].call(i)}))}}function applyDecs(e,t,a){var r=[],o={},i={};return old_applyMemberDecs(r,e,i,o,t),old_convertMetadataMapToFinal(e.prototype,i),old_applyClassDecs(r,e,o,a),old_convertMetadataMapToFinal(e,o),r}',{globals:["Object","Map","Symbol","Array","Error","TypeError","console"],locals:{old_createMetadataMethodsForProperty:["body.0.id","body.3.body.body.4.block.body.0.argument.arguments.1.arguments.1.callee","body.12.body.body.0.consequent.body.0.body.body.1.block.body.0.declarations.0.init.arguments.1.callee"],old_convertMetadataMapToFinal:["body.1.id","body.13.body.body.1.argument.expressions.1.callee","body.13.body.body.1.argument.expressions.3.callee"],old_createAddInitializerMethod:["body.2.id","body.3.body.body.3.test.expressions.0.right.right.callee","body.12.body.body.0.consequent.body.0.body.body.1.block.body.0.declarations.0.init.arguments.0.properties.2.value.callee"],old_memberDec:["body.3.id","body.9.body.body.1.consequent.expression.left.right.right.callee","body.9.body.body.1.alternate.body.body.1.expression.left.right.right.callee"],old_assertNotFinished:["body.4.id","body.0.body.body.0.argument.properties.0.value.body.body.0.expression.expressions.0.callee","body.0.body.body.0.argument.properties.1.value.body.body.0.expression.expressions.0.callee","body.2.body.body.0.argument.body.body.0.expression.expressions.0.callee"],old_assertMetadataKey:["body.5.id","body.0.body.body.0.argument.properties.0.value.body.body.0.expression.expressions.1.callee","body.0.body.body.0.argument.properties.1.value.body.body.0.expression.expressions.1.callee"],old_assertCallable:["body.6.id","body.2.body.body.0.argument.body.body.0.expression.expressions.1.callee","body.7.body.body.1.consequent.body.1.expression.expressions.0.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.1.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.2.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.3.right.callee"],old_assertValidReturnValue:["body.7.id","body.9.body.body.1.consequent.expression.right.expressions.0.callee","body.9.body.body.1.alternate.body.body.1.expression.right.expressions.0.callee","body.12.body.body.0.consequent.body.0.body.body.2.expression.right.expressions.0.callee"],old_getInit:["body.8.id","body.9.body.body.1.consequent.expression.right.expressions.1.alternate.consequent.expressions.0.right.callee","body.9.body.body.1.alternate.body.body.1.expression.right.expressions.1.alternate.consequent.expressions.0.right.callee"],old_applyMemberDec:["body.9.id","body.10.body.body.0.body.body.1.consequent.body.2.expression.callee"],old_applyMemberDecs:["body.10.id","body.13.body.body.1.argument.expressions.0.callee"],old_pushInitializers:["body.11.id","body.10.body.body.1.expression.expressions.0.callee","body.10.body.body.1.expression.expressions.1.callee"],old_applyClassDecs:["body.12.id","body.13.body.body.1.argument.expressions.2.callee"],applyDecs:["body.13.id"]},exportBindingAssignments:[],exportName:"applyDecs",dependencies:{setFunctionName:["body.9.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.9.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.3.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]}}),applyDecs2203:u("7.19.0",'function applyDecs2203Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,a,n,i,s,o){var c;switch(n){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:s?"#"+t:t,static:i,private:s},p={v:!1};0!==n&&(f.addInitializer=createAddInitializerMethod(a,p)),0===n?s?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===n?l=function(){return r.value}:(1!==n&&3!==n||(l=function(){return r.get.call(this)}),1!==n&&4!==n||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(o,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function applyMemberDec(e,t,r,a,n,i,s,o){var c,l,u,f,p,d,h=r[0];if(s?c=0===n||1===n?{get:r[3],set:r[4]}:3===n?{get:r[3]}:4===n?{set:r[3]}:{value:r[3]}:0!==n&&(c=Object.getOwnPropertyDescriptor(t,a)),1===n?u={get:c.get,set:c.set}:2===n?u=c.value:3===n?u=c.get:4===n&&(u=c.set),"function"==typeof h)void 0!==(f=memberDec(h,a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?l=f:1===n?(l=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f);else for(var v=h.length-1;v>=0;v--){var g;void 0!==(f=memberDec(h[v],a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?g=f:1===n?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g)))}if(0===n||1===n){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,a=0;a<y.length;a++)r=y[a].call(e,r);return r}}else{var m=l;l=function(e,t){return m.call(e,t)}}e.push(l)}0!==n&&(1===n?(c.get=u.get,c.set=u.set):2===n?c.value=u:3===n?c.get=u:4===n&&(c.set=u),s?1===n?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===n?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,a,c))}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){var a=[];return function(e,t,r){for(var a,n,i=new Map,s=new Map,o=0;o<r.length;o++){var c=r[o];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=t,0!=(f-=5)&&(u=n=n||[])):(l=t.prototype,0!==f&&(u=a=a||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(e,l,c,p,f,h,d,u)}}pushInitializers(e,a),pushInitializers(e,n)}(a,e,t),function(e,t,r){if(r.length>0){for(var a=[],n=t,i=t.name,s=r.length-1;s>=0;s--){var o={v:!1};try{var c=r[s](n,{kind:"class",name:i,addInitializer:createAddInitializerMethod(a,o)})}finally{o.v=!0}void 0!==c&&(assertValidReturnValue(10,c),n=c)}e.push(n,(function(){for(var e=0;e<a.length;e++)a[e].call(n)}))}}(a,e,r),a}}var applyDecs2203Impl;function applyDecs2203(e,t,r){return(applyDecs2203Impl=applyDecs2203Impl||applyDecs2203Factory())(e,t,r)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2203Factory:["body.0.id","body.2.body.body.0.argument.callee.right.right.callee"],applyDecs2203Impl:["body.1.declarations.0.id","body.2.body.body.0.argument.callee.right.left","body.2.body.body.0.argument.callee.left"],applyDecs2203:["body.2.id"]},exportBindingAssignments:[],exportName:"applyDecs2203",dependencies:{}}),applyDecs2203R:u("7.20.0",'function applyDecs2203RFactory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,n,a,i,o,s){var c;switch(a){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:o?"#"+t:toPropertyKey(t),static:i,private:o},p={v:!1};0!==a&&(f.addInitializer=createAddInitializerMethod(n,p)),0===a?o?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===a?l=function(){return r.value}:(1!==a&&3!==a||(l=function(){return r.get.call(this)}),1!==a&&4!==a||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(s,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function applyMemberDec(e,t,r,n,a,i,o,s){var c,l,u,f,p,d,h,v=r[0];if(o?(0===a||1===a?(c={get:r[3],set:r[4]},u="get"):3===a?(c={get:r[3]},u="get"):4===a?(c={set:r[3]},u="set"):c={value:r[3]},0!==a&&(1===a&&setFunctionName(r[4],"#"+n,"set"),setFunctionName(r[3],"#"+n,u))):0!==a&&(c=Object.getOwnPropertyDescriptor(t,n)),1===a?f={get:c.get,set:c.set}:2===a?f=c.value:3===a?f=c.get:4===a&&(f=c.set),"function"==typeof v)void 0!==(p=memberDec(v,n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?l=p:1===a?(l=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p);else for(var g=v.length-1;g>=0;g--){var y;void 0!==(p=memberDec(v[g],n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?y=p:1===a?(y=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p,void 0!==y&&(void 0===l?l=y:"function"==typeof l?l=[l,y]:l.push(y)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var m=l;l=function(e,t){for(var r=t,n=0;n<m.length;n++)r=m[n].call(e,r);return r}}else{var b=l;l=function(e,t){return b.call(e,t)}}e.push(l)}0!==a&&(1===a?(c.get=f.get,c.set=f.set):2===a?c.value=f:3===a?c.get=f:4===a&&(c.set=f),o?1===a?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===a?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,n,c))}function applyMemberDecs(e,t){for(var r,n,a=[],i=new Map,o=new Map,s=0;s<t.length;s++){var c=t[s];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=e,0!=(f-=5)&&(u=n=n||[])):(l=e.prototype,0!==f&&(u=r=r||[])),0!==f&&!d){var v=h?o:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(a,l,c,p,f,h,d,u)}}return pushInitializers(a,r),pushInitializers(a,n),a}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){return{e:applyMemberDecs(e,t),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var o={v:!1};try{var s=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,o)})}finally{o.v=!0}void 0!==s&&(assertValidReturnValue(10,s),n=s)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}function applyDecs2203R(e,t,r){return(applyDecs2203R=applyDecs2203RFactory())(e,t,r)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2203RFactory:["body.0.id","body.1.body.body.0.argument.callee.right.callee"],applyDecs2203R:["body.1.id","body.1.body.body.0.argument.callee.left"]},exportBindingAssignments:["body.1.body.body.0.argument.callee"],exportName:"applyDecs2203R",dependencies:{setFunctionName:["body.0.body.body.4.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.0.body.body.4.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.0.body.body.1.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]}}),applyDecs2301:u("7.21.0",'function applyDecs2301Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function assertInstanceIfPrivate(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(e,t,r,n,a,i,s,o,c){var u;switch(a){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var l,f,p={kind:u,name:s?"#"+t:toPropertyKey(t),static:i,private:s},d={v:!1};if(0!==a&&(p.addInitializer=createAddInitializerMethod(n,d)),s||0!==a&&2!==a)if(2===a)l=function(e){return assertInstanceIfPrivate(c,e),r.value};else{var h=0===a||1===a;(h||3===a)&&(l=s?function(e){return assertInstanceIfPrivate(c,e),r.get.call(e)}:function(e){return r.get.call(e)}),(h||4===a)&&(f=s?function(e,t){assertInstanceIfPrivate(c,e),r.set.call(e,t)}:function(e,t){r.set.call(e,t)})}else l=function(e){return e[t]},0===a&&(f=function(e,r){e[t]=r});var v=s?c.bind():function(e){return t in e};p.access=l&&f?{get:l,set:f,has:v}:l?{get:l,has:v}:{set:f,has:v};try{return e(o,p)}finally{d.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function curryThis2(e){return function(t){e(this,t)}}function applyMemberDec(e,t,r,n,a,i,s,o,c){var u,l,f,p,d,h,v,y,g=r[0];if(s?(0===a||1===a?(u={get:(d=r[3],function(){return d(this)}),set:curryThis2(r[4])},f="get"):3===a?(u={get:r[3]},f="get"):4===a?(u={set:r[3]},f="set"):u={value:r[3]},0!==a&&(1===a&&setFunctionName(u.set,"#"+n,"set"),setFunctionName(u[f||"value"],"#"+n,f))):0!==a&&(u=Object.getOwnPropertyDescriptor(t,n)),1===a?p={get:u.get,set:u.set}:2===a?p=u.value:3===a?p=u.get:4===a&&(p=u.set),"function"==typeof g)void 0!==(h=memberDec(g,n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?l=h:1===a?(l=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h);else for(var m=g.length-1;m>=0;m--){var b;void 0!==(h=memberDec(g[m],n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?b=h:1===a?(b=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h,void 0!==b&&(void 0===l?l=b:"function"==typeof l?l=[l,b]:l.push(b)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var I=l;l=function(e,t){for(var r=t,n=0;n<I.length;n++)r=I[n].call(e,r);return r}}else{var w=l;l=function(e,t){return w.call(e,t)}}e.push(l)}0!==a&&(1===a?(u.get=p.get,u.set=p.set):2===a?u.value=p:3===a?u.get=p:4===a&&(u.set=p),s?1===a?(e.push((function(e,t){return p.get.call(e,t)})),e.push((function(e,t){return p.set.call(e,t)}))):2===a?e.push(p):e.push((function(e,t){return p.call(e,t)})):Object.defineProperty(t,n,u))}function applyMemberDecs(e,t,r){for(var n,a,i,s=[],o=new Map,c=new Map,u=0;u<t.length;u++){var l=t[u];if(Array.isArray(l)){var f,p,d=l[1],h=l[2],v=l.length>3,y=d>=5,g=r;if(y?(f=e,0!=(d-=5)&&(p=a=a||[]),v&&!i&&(i=function(t){return checkInRHS(t)===e}),g=i):(f=e.prototype,0!==d&&(p=n=n||[])),0!==d&&!v){var m=y?c:o,b=m.get(h)||0;if(!0===b||3===b&&4!==d||4===b&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&d>2?m.set(h,d):m.set(h,!0)}applyMemberDec(s,f,l,h,d,y,v,p,g)}}return pushInitializers(s,n),pushInitializers(s,a),s}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r,n){return{e:applyMemberDecs(e,t,n),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}function applyDecs2301(e,t,r,n){return(applyDecs2301=applyDecs2301Factory())(e,t,r,n)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2301Factory:["body.0.id","body.1.body.body.0.argument.callee.right.callee"],applyDecs2301:["body.1.id","body.1.body.body.0.argument.callee.left"]},exportBindingAssignments:["body.1.body.body.0.argument.callee"],exportName:"applyDecs2301",dependencies:{checkInRHS:["body.0.body.body.7.body.body.0.body.body.1.consequent.body.1.test.expressions.0.consequent.expressions.2.right.right.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.6.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.0.body.body.6.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.0.body.body.2.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]}}),applyDecs2305:u("7.21.0",'function applyDecs2305(e,t,r,n,o,a){function i(e,t,r){return function(n,o){return r&&r(n),e[t].call(n,o)}}function c(e,t){for(var r=0;r<e.length;r++)e[r].call(t);return t}function s(e,t,r,n){if("function"!=typeof e&&(n||void 0!==e))throw new TypeError(t+" must "+(r||"be")+" a function"+(n?"":" or undefined"));return e}function applyDec(e,t,r,n,o,a,c,u,l,f,p,d,h){function m(e){if(!h(e))throw new TypeError("Attempted to access private element on non-instance")}var y,v=t[0],g=t[3],b=!u;if(!b){r||Array.isArray(v)||(v=[v]);var w={},S=[],A=3===o?"get":4===o||d?"set":"value";f?(p||d?w={get:setFunctionName((function(){return g(this)}),n,"get"),set:function(e){t[4](this,e)}}:w[A]=g,p||setFunctionName(w[A],n,2===o?"":A)):p||(w=Object.getOwnPropertyDescriptor(e,n))}for(var P=e,j=v.length-1;j>=0;j-=r?2:1){var D=v[j],E=r?v[j-1]:void 0,I={},O={kind:["field","accessor","method","getter","setter","class"][o],name:n,metadata:a,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");s(t,"An initializer","be",!0),c.push(t)}.bind(null,I)};try{if(b)(y=s(D.call(E,P,O),"class decorators","return"))&&(P=y);else{var k,F;O.static=l,O.private=f,f?2===o?k=function(e){return m(e),w.value}:(o<4&&(k=i(w,"get",m)),3!==o&&(F=i(w,"set",m))):(k=function(e){return e[n]},(o<2||4===o)&&(F=function(e,t){e[n]=t}));var N=O.access={has:f?h.bind():function(e){return n in e}};if(k&&(N.get=k),F&&(N.set=F),P=D.call(E,d?{get:w.get,set:w.set}:w[A],O),d){if("object"==typeof P&&P)(y=s(P.get,"accessor.get"))&&(w.get=y),(y=s(P.set,"accessor.set"))&&(w.set=y),(y=s(P.init,"accessor.init"))&&S.push(y);else if(void 0!==P)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0")}else s(P,(p?"field":"method")+" decorators","return")&&(p?S.push(P):w[A]=P)}}finally{I.v=!0}}return(p||d)&&u.push((function(e,t){for(var r=S.length-1;r>=0;r--)t=S[r].call(e,t);return t})),p||b||(f?d?u.push(i(w,"get"),i(w,"set")):u.push(2===o?w[A]:i.call.bind(w[A])):Object.defineProperty(e,n,w)),P}function u(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var l=a[Symbol.metadata||Symbol.for("Symbol.metadata")];var f=Object.create(null==l?null:l),p=function(e,t,r,n){var o,a,i=[],s=function(t){return checkInRHS(t)===e},u=new Map;function l(e){e&&i.push(c.bind(null,e))}for(var f=0;f<t.length;f++){var p=t[f];if(Array.isArray(p)){var d=p[1],h=p[2],m=p.length>3,y=16&d,v=!!(8&d),g=0==(d&=7),b=h+"/"+v;if(!g&&!m){var w=u.get(b);if(!0===w||3===w&&4!==d||4===w&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);u.set(b,!(d>2)||d)}applyDec(v?e:e.prototype,p,y,m?"#"+h:toPropertyKey(h),d,n,v?a=a||[]:o=o||[],i,v,m,g,1===d,v&&m?s:r)}}return l(o),l(a),i}(e,t,o,f);return r.length||u(e,f),{e:p,get c(){var t=[];return r.length&&[u(applyDec(e,[r],n,e.name,5,f,t),f),c.bind(null,t,e)]}}}',{globals:["TypeError","Array","Object","Error","Symbol","Map"],locals:{applyDecs2305:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2305",dependencies:{checkInRHS:["body.0.body.body.6.declarations.1.init.callee.body.body.0.declarations.3.init.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.6.declarations.1.init.callee.body.body.2.body.body.1.consequent.body.2.expression.arguments.3.alternate.callee"]}}),classApplyDescriptorDestructureSet:u("7.13.10",'function _classApplyDescriptorDestructureSet(e,t){if(t.set)return"__destrObj"in t||(t.__destrObj={set value(r){t.set.call(e,r)}}),t.__destrObj;if(!t.writable)throw new TypeError("attempted to set read only private field");return t}',{globals:["TypeError"],locals:{_classApplyDescriptorDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorDestructureSet",dependencies:{}}),classApplyDescriptorGet:u("7.13.10","function _classApplyDescriptorGet(e,t){return t.get?t.get.call(e):t.value}",{globals:[],locals:{_classApplyDescriptorGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorGet",dependencies:{}}),classApplyDescriptorSet:u("7.13.10",'function _classApplyDescriptorSet(e,t,l){if(t.set)t.set.call(e,l);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=l}}',{globals:["TypeError"],locals:{_classApplyDescriptorSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorSet",dependencies:{}}),classCheckPrivateStaticAccess:u("7.13.10","function _classCheckPrivateStaticAccess(s,a,r){return assertClassBrand(a,s,r)}",{globals:[],locals:{_classCheckPrivateStaticAccess:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticAccess",dependencies:{assertClassBrand:["body.0.body.body.0.argument.callee"]}}),classCheckPrivateStaticFieldDescriptor:u("7.13.10",'function _classCheckPrivateStaticFieldDescriptor(t,e){if(void 0===t)throw new TypeError("attempted to "+e+" private static field before its declaration")}',{globals:["TypeError"],locals:{_classCheckPrivateStaticFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticFieldDescriptor",dependencies:{}}),classExtractFieldDescriptor:u("7.13.10","function _classExtractFieldDescriptor(e,t){return classPrivateFieldGet2(t,e)}",{globals:[],locals:{_classExtractFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classExtractFieldDescriptor",dependencies:{classPrivateFieldGet2:["body.0.body.body.0.argument.callee"]}}),classPrivateFieldDestructureSet:u("7.4.4","function _classPrivateFieldDestructureSet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorDestructureSet(e,r)}",{globals:[],locals:{_classPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateFieldGet:u("7.0.0-beta.0","function _classPrivateFieldGet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorGet(e,r)}",{globals:[],locals:{_classPrivateFieldGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateFieldSet:u("7.0.0-beta.0","function _classPrivateFieldSet(e,t,r){var s=classPrivateFieldGet2(t,e);return classApplyDescriptorSet(e,s,r),r}",{globals:[],locals:{_classPrivateFieldSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.1.argument.expressions.0.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateMethodGet:u("7.1.6","function _classPrivateMethodGet(s,a,r){return assertClassBrand(a,s),r}",{globals:[],locals:{_classPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]}}),classPrivateMethodSet:u("7.1.6",'function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}',{globals:["TypeError"],locals:{_classPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodSet",dependencies:{}}),classStaticPrivateFieldDestructureSet:u("7.13.10",'function _classStaticPrivateFieldDestructureSet(t,r,s){return assertClassBrand(r,t),classCheckPrivateStaticFieldDescriptor(s,"set"),classApplyDescriptorDestructureSet(t,s)}',{globals:[],locals:{_classStaticPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateFieldSpecGet:u("7.0.2",'function _classStaticPrivateFieldSpecGet(t,s,r){return assertClassBrand(s,t),classCheckPrivateStaticFieldDescriptor(r,"get"),classApplyDescriptorGet(t,r)}',{globals:[],locals:{_classStaticPrivateFieldSpecGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateFieldSpecSet:u("7.0.2",'function _classStaticPrivateFieldSpecSet(s,t,r,e){return assertClassBrand(t,s),classCheckPrivateStaticFieldDescriptor(r,"set"),classApplyDescriptorSet(s,r,e),e}',{globals:[],locals:{_classStaticPrivateFieldSpecSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateMethodSet:u("7.3.2",'function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static private field")}',{globals:["TypeError"],locals:{_classStaticPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodSet",dependencies:{}}),defineEnumerableProperties:u("7.0.0-beta.0",'function _defineEnumerableProperties(e,r){for(var t in r){var n=r[t];n.configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,t,n)}if(Object.getOwnPropertySymbols)for(var a=Object.getOwnPropertySymbols(r),b=0;b<a.length;b++){var i=a[b];(n=r[i]).configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i,n)}return e}',{globals:["Object"],locals:{_defineEnumerableProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineEnumerableProperties",dependencies:{}}),dispose:u("7.22.0",'function dispose_SuppressedError(r,e){return"undefined"!=typeof SuppressedError?dispose_SuppressedError=SuppressedError:(dispose_SuppressedError=function(r,e){this.suppressed=e,this.error=r,this.stack=Error().stack},dispose_SuppressedError.prototype=Object.create(Error.prototype,{constructor:{value:dispose_SuppressedError,writable:!0,configurable:!0}})),new dispose_SuppressedError(r,e)}function _dispose(r,e,s){function next(){for(;r.length>0;)try{var o=r.pop(),p=o.d.call(o.v);if(o.a)return Promise.resolve(p).then(next,err)}catch(r){return err(r)}if(s)throw e}function err(r){return e=s?new dispose_SuppressedError(e,r):r,s=!0,next()}return next()}',{globals:["SuppressedError","Error","Object","Promise"],locals:{dispose_SuppressedError:["body.0.id","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.left.object","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.right.arguments.1.properties.0.value.properties.0.value","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.1.body.body.0.argument.expressions.0.right.consequent.callee","body.0.body.body.0.argument.expressions.0.consequent.left","body.0.body.body.0.argument.expressions.0.alternate.expressions.0.left"],_dispose:["body.1.id"]},exportBindingAssignments:[],exportName:"_dispose",dependencies:{}}),objectSpread:u("7.0.0-beta.0",'function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?Object(arguments[r]):{},o=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&o.push.apply(o,Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.forEach((function(r){defineProperty(e,r,t[r])}))}return e}',{globals:["Object"],locals:{_objectSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectSpread",dependencies:{defineProperty:["body.0.body.body.0.body.body.1.expression.expressions.1.arguments.0.body.body.0.expression.callee"]}}),using:u("7.22.0",'function _using(o,n,e){if(null==n)return n;if(Object(n)!==n)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(e)var r=n[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(null==r&&(r=n[Symbol.dispose||Symbol.for("Symbol.dispose")]),"function"!=typeof r)throw new TypeError("Property [Symbol.dispose] is not a function.");return o.push({v:n,d:r,a:e}),n}',{globals:["Object","TypeError","Symbol"],locals:{_using:["body.0.id"]},exportBindingAssignments:[],exportName:"_using",dependencies:{}})})},"./node_modules/.pnpm/@babel+helpers@7.25.7/node_modules/@babel/helpers/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.get=h,r.getDependencies=function(m){return d(m).getDependencies()},r.list=void 0,r.minVersion=function(m){return d(m).minVersion};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helpers@7.25.7/node_modules/@babel/helpers/lib/helpers-generated.js");let{cloneNode:H,identifier:a}=s;function l(m,g,y){try{let _=g.split("."),E=_.shift();for(;_.length>0;)m=m[E],E=_.shift();if(!(arguments.length>2))return m[E];m[E]=y}catch(_){throw _.message+=` (when accessing ${g})`,_}}let p=Object.create(null);function d(m){if(!p[m]){let g=u.default[m];if(!g)throw Object.assign(new ReferenceError(`Unknown helper ${m}`),{code:"BABEL_HELPER_UNKNOWN",helper:m});p[m]={minVersion:g.minVersion,build(y,_,E,A){let S=g.ast();return function(T,I,L,x,C,D){let{locals:O,dependencies:j,exportBindingAssignments:k,exportName:$}=I,U=new Set(x||[]);L&&U.add(L);for(let[F,P]of(Object.entries||(W=>Object.keys(W).map(Z=>[Z,W[Z]])))(O)){let W=F;if(L&&F===$)W=L;else for(;U.has(W);)W="_"+W;if(W!==F)for(let Z of P)l(T,Z,a(W))}for(let[F,P]of(Object.entries||(W=>Object.keys(W).map(Z=>[Z,W[Z]])))(j)){let W=typeof C=="function"&&C(F)||a(F);for(let Z of P)l(T,Z,H(W))}D?.(T,$,F=>{k.forEach(P=>l(T,P,F(l(T,P))))})}(S,g.metadata,_,E,y,A),{nodes:S.body,globals:g.metadata.globals}},getDependencies:()=>Object.keys(g.metadata.dependencies)}}return p[m]}function h(m,g,y,_,E){if(typeof y=="object"){let A=y;y=A?.type==="Identifier"?A.name:void 0}return d(m).build(g,y,_,E)}r.ensure=m=>{d(m)},r.list=Object.keys(u.default).map(m=>m.replace(/^_/,"")),r.default=h},"./node_modules/.pnpm/@babel+parser@7.25.7/node_modules/@babel/parser/lib/index.js":(o,r)=>{"use strict";function c(ze,b){if(ze==null)return{};var N={};for(var G in ze)if({}.hasOwnProperty.call(ze,G)){if(b.includes(G))continue;N[G]=ze[G]}return N}Object.defineProperty(r,"__esModule",{value:!0});class s{constructor(b,N,G){this.line=void 0,this.column=void 0,this.index=void 0,this.line=b,this.column=N,this.index=G}}class u{constructor(b,N){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=b,this.end=N}}function H(ze,b){let{line:N,column:G,index:V}=ze;return new s(N,G+b,V+b)}let a="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var l={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:a},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:a}};let p={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"},d=ze=>ze.type==="UpdateExpression"?p.UpdateExpression[`${ze.prefix}`]:p[ze.type];var h={AccessorIsGenerator:({kind:ze})=>`A ${ze}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.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",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:ze})=>`Missing initializer in ${ze} 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.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',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:ze})=>`\`${ze}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:ze})=>`'import.${ze}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:ze,exportName:b})=>`A string literal cannot be used as an exported binding without \`from\`.
|
|
- Did you mean \`export { '${ze}' as '${b}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:ze})=>`'${ze==="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:ze})=>`Unsyntactic ${ze==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:ze})=>`A string literal cannot be used as an imported binding.
|
|
- Did you mean \`import { "${ze}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:ze})=>`\`import()\` requires exactly ${ze===1?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:ze})=>`Expected number in radix ${ze}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:ze})=>`Escape sequence in keyword ${ze}.`,InvalidIdentifier:({identifierName:ze})=>`Invalid identifier ${ze}.`,InvalidLhs:({ancestor:ze})=>`Invalid left-hand side in ${d(ze)}.`,InvalidLhsBinding:({ancestor:ze})=>`Binding invalid left-hand side in ${d(ze)}.`,InvalidLhsOptionalChaining:({ancestor:ze})=>`Invalid optional chaining in the left-hand side of ${d(ze)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:ze})=>`Unexpected character '${ze}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:ze})=>`Private name #${ze} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:ze})=>`Label '${ze}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:ze})=>`This experimental syntax requires enabling the parser plugin: ${ze.map(b=>JSON.stringify(b)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:ze})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${ze.map(b=>JSON.stringify(b)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:ze})=>`Duplicate key "${ze}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:ze})=>`An export name cannot include a lone surrogate, found '\\u${ze.toString(16)}'.`,ModuleExportUndefined:({localName:ze})=>`Export '${ze}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:ze})=>`Private names are only allowed in property accesses (\`obj.#${ze}\`) or in \`in\` expressions (\`#${ze} in obj\`).`,PrivateNameRedeclaration:({identifierName:ze})=>`Duplicate private name #${ze}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:ze})=>`Unexpected keyword '${ze}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:ze})=>`Unexpected reserved word '${ze}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:ze,unexpected:b})=>`Unexpected token${b?` '${b}'.`:""}${ze?`, expected "${ze}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:ze,onlyValidPropertyName:b})=>`The only valid meta property for ${ze} is ${ze}.${b}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:ze})=>`Identifier '${ze}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."};let m=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var g={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:ze})=>`Invalid topic token ${ze}. In order to use ${ze} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${ze}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:ze})=>`Hack-style pipe body cannot be an unparenthesized ${d({type:ze})}; please wrap it in parentheses.`,PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'};let y=["message"];function _(ze,b,N){Object.defineProperty(ze,b,{enumerable:!1,configurable:!0,value:N})}function E({toMessage:ze,code:b,reasonCode:N,syntaxPlugin:G}){let V=N==="MissingPlugin"||N==="MissingOneOfPlugins";{let f={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};f[N]&&(N=f[N])}return function f(v,B){let X=new SyntaxError;return X.code=b,X.reasonCode=N,X.loc=v,X.pos=v.index,X.syntaxPlugin=G,V&&(X.missingPlugin=B.missingPlugin),_(X,"clone",function(ae={}){var Te;let{line:Ke,column:rt,index:at}=(Te=ae.loc)!=null?Te:v;return f(new s(Ke,rt,at),Object.assign({},B,ae.details))}),_(X,"details",B),Object.defineProperty(X,"message",{configurable:!0,get(){let ae=`${ze(B)} (${v.line}:${v.column})`;return this.message=ae,ae},set(ae){Object.defineProperty(this,"message",{value:ae,writable:!0})}}),X}}function A(ze,b){if(Array.isArray(ze))return G=>A(G,ze[0]);let N={};for(let G of Object.keys(ze)){let V=ze[G],f=typeof V=="string"?{message:()=>V}:typeof V=="function"?{message:V}:V,{message:v}=f,B=c(f,y),X=typeof v=="string"?()=>v:v;N[G]=E(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:G,toMessage:X},b?{syntaxPlugin:b}:{},B))}return N}let S=Object.assign({},A(l),A(h),A({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:ze})=>`Assigning to '${ze}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:ze})=>`Binding '${ze}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."}),A`pipelineOperator`(g)),{defineProperty:T}=Object,I=(ze,b)=>{ze&&T(ze,b,{enumerable:!1,value:ze[b]})};function L(ze){return I(ze.loc.start,"index"),I(ze.loc.end,"index"),ze}class x{constructor(b,N){this.token=void 0,this.preserveSpace=void 0,this.token=b,this.preserveSpace=!!N}}let C={brace:new x("{"),j_oTag:new x("<tag"),j_cTag:new x("</tag"),j_expr:new x("<tag>...</tag>",!0)};C.template=new x("`",!0);class D{constructor(b,N={}){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=b,this.keyword=N.keyword,this.beforeExpr=!!N.beforeExpr,this.startsExpr=!!N.startsExpr,this.rightAssociative=!!N.rightAssociative,this.isLoop=!!N.isLoop,this.isAssign=!!N.isAssign,this.prefix=!!N.prefix,this.postfix=!!N.postfix,this.binop=N.binop!=null?N.binop:null,this.updateContext=null}}let O=new Map;function j(ze,b={}){b.keyword=ze;let N=J(ze,b);return O.set(ze,N),N}function k(ze,b){return J(ze,{beforeExpr:!0,binop:b})}let $=-1,U=[],F=[],P=[],W=[],Z=[],ee=[];function J(ze,b={}){var N,G,V,f;return++$,F.push(ze),P.push((N=b.binop)!=null?N:-1),W.push((G=b.beforeExpr)!=null&&G),Z.push((V=b.startsExpr)!=null&&V),ee.push((f=b.prefix)!=null&&f),U.push(new D(ze,b)),$}function ne(ze,b={}){var N,G,V,f;return++$,O.set(ze,$),F.push(ze),P.push((N=b.binop)!=null?N:-1),W.push((G=b.beforeExpr)!=null&&G),Z.push((V=b.startsExpr)!=null&&V),ee.push((f=b.prefix)!=null&&f),U.push(new D("name",b)),$}let K={bracketL:J("[",{beforeExpr:!0,startsExpr:!0}),bracketHashL:J("#[",{beforeExpr:!0,startsExpr:!0}),bracketBarL:J("[|",{beforeExpr:!0,startsExpr:!0}),bracketR:J("]"),bracketBarR:J("|]"),braceL:J("{",{beforeExpr:!0,startsExpr:!0}),braceBarL:J("{|",{beforeExpr:!0,startsExpr:!0}),braceHashL:J("#{",{beforeExpr:!0,startsExpr:!0}),braceR:J("}"),braceBarR:J("|}"),parenL:J("(",{beforeExpr:!0,startsExpr:!0}),parenR:J(")"),comma:J(",",{beforeExpr:!0}),semi:J(";",{beforeExpr:!0}),colon:J(":",{beforeExpr:!0}),doubleColon:J("::",{beforeExpr:!0}),dot:J("."),question:J("?",{beforeExpr:!0}),questionDot:J("?."),arrow:J("=>",{beforeExpr:!0}),template:J("template"),ellipsis:J("...",{beforeExpr:!0}),backQuote:J("`",{startsExpr:!0}),dollarBraceL:J("${",{beforeExpr:!0,startsExpr:!0}),templateTail:J("...`",{startsExpr:!0}),templateNonTail:J("...${",{beforeExpr:!0,startsExpr:!0}),at:J("@"),hash:J("#",{startsExpr:!0}),interpreterDirective:J("#!..."),eq:J("=",{beforeExpr:!0,isAssign:!0}),assign:J("_=",{beforeExpr:!0,isAssign:!0}),slashAssign:J("_=",{beforeExpr:!0,isAssign:!0}),xorAssign:J("_=",{beforeExpr:!0,isAssign:!0}),moduloAssign:J("_=",{beforeExpr:!0,isAssign:!0}),incDec:J("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:J("!",{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:J("~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),doubleCaret:J("^^",{startsExpr:!0}),doubleAt:J("@@",{startsExpr:!0}),pipeline:k("|>",0),nullishCoalescing:k("??",1),logicalOR:k("||",1),logicalAND:k("&&",2),bitwiseOR:k("|",3),bitwiseXOR:k("^",4),bitwiseAND:k("&",5),equality:k("==/!=/===/!==",6),lt:k("</>/<=/>=",7),gt:k("</>/<=/>=",7),relational:k("</>/<=/>=",7),bitShift:k("<</>>/>>>",8),bitShiftL:k("<</>>/>>>",8),bitShiftR:k("<</>>/>>>",8),plusMin:J("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:J("%",{binop:10,startsExpr:!0}),star:J("*",{binop:10}),slash:k("/",10),exponent:J("**",{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:j("in",{beforeExpr:!0,binop:7}),_instanceof:j("instanceof",{beforeExpr:!0,binop:7}),_break:j("break"),_case:j("case",{beforeExpr:!0}),_catch:j("catch"),_continue:j("continue"),_debugger:j("debugger"),_default:j("default",{beforeExpr:!0}),_else:j("else",{beforeExpr:!0}),_finally:j("finally"),_function:j("function",{startsExpr:!0}),_if:j("if"),_return:j("return",{beforeExpr:!0}),_switch:j("switch"),_throw:j("throw",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:j("try"),_var:j("var"),_const:j("const"),_with:j("with"),_new:j("new",{beforeExpr:!0,startsExpr:!0}),_this:j("this",{startsExpr:!0}),_super:j("super",{startsExpr:!0}),_class:j("class",{startsExpr:!0}),_extends:j("extends",{beforeExpr:!0}),_export:j("export"),_import:j("import",{startsExpr:!0}),_null:j("null",{startsExpr:!0}),_true:j("true",{startsExpr:!0}),_false:j("false",{startsExpr:!0}),_typeof:j("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:j("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:j("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:j("do",{isLoop:!0,beforeExpr:!0}),_for:j("for",{isLoop:!0}),_while:j("while",{isLoop:!0}),_as:ne("as",{startsExpr:!0}),_assert:ne("assert",{startsExpr:!0}),_async:ne("async",{startsExpr:!0}),_await:ne("await",{startsExpr:!0}),_defer:ne("defer",{startsExpr:!0}),_from:ne("from",{startsExpr:!0}),_get:ne("get",{startsExpr:!0}),_let:ne("let",{startsExpr:!0}),_meta:ne("meta",{startsExpr:!0}),_of:ne("of",{startsExpr:!0}),_sent:ne("sent",{startsExpr:!0}),_set:ne("set",{startsExpr:!0}),_source:ne("source",{startsExpr:!0}),_static:ne("static",{startsExpr:!0}),_using:ne("using",{startsExpr:!0}),_yield:ne("yield",{startsExpr:!0}),_asserts:ne("asserts",{startsExpr:!0}),_checks:ne("checks",{startsExpr:!0}),_exports:ne("exports",{startsExpr:!0}),_global:ne("global",{startsExpr:!0}),_implements:ne("implements",{startsExpr:!0}),_intrinsic:ne("intrinsic",{startsExpr:!0}),_infer:ne("infer",{startsExpr:!0}),_is:ne("is",{startsExpr:!0}),_mixins:ne("mixins",{startsExpr:!0}),_proto:ne("proto",{startsExpr:!0}),_require:ne("require",{startsExpr:!0}),_satisfies:ne("satisfies",{startsExpr:!0}),_keyof:ne("keyof",{startsExpr:!0}),_readonly:ne("readonly",{startsExpr:!0}),_unique:ne("unique",{startsExpr:!0}),_abstract:ne("abstract",{startsExpr:!0}),_declare:ne("declare",{startsExpr:!0}),_enum:ne("enum",{startsExpr:!0}),_module:ne("module",{startsExpr:!0}),_namespace:ne("namespace",{startsExpr:!0}),_interface:ne("interface",{startsExpr:!0}),_type:ne("type",{startsExpr:!0}),_opaque:ne("opaque",{startsExpr:!0}),name:J("name",{startsExpr:!0}),string:J("string",{startsExpr:!0}),num:J("num",{startsExpr:!0}),bigint:J("bigint",{startsExpr:!0}),decimal:J("decimal",{startsExpr:!0}),regexp:J("regexp",{startsExpr:!0}),privateName:J("#name",{startsExpr:!0}),eof:J("eof"),jsxName:J("jsxName"),jsxText:J("jsxText",{beforeExpr:!0}),jsxTagStart:J("jsxTagStart",{startsExpr:!0}),jsxTagEnd:J("jsxTagEnd"),placeholder:J("%%",{startsExpr:!0})};function q(ze){return ze>=93&&ze<=132}function Q(ze){return ze>=58&&ze<=132}function z(ze){return ze>=58&&ze<=136}function ie(ze){return Z[ze]}function _e(ze){return ze>=129&&ze<=131}function He(ze){return ze>=58&&ze<=92}function be(ze){return F[ze]}function Ve(ze){return P[ze]}function Fe(ze){return ze>=24&&ze<=25}function me(ze){return U[ze]}U[8].updateContext=ze=>{ze.pop()},U[5].updateContext=U[7].updateContext=U[23].updateContext=ze=>{ze.push(C.brace)},U[22].updateContext=ze=>{ze[ze.length-1]===C.template?ze.pop():ze.push(C.template)},U[142].updateContext=ze=>{ze.push(C.j_expr,C.j_oTag)};let ce="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",ke="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",je=new RegExp("["+ce+"]"),Oe=new RegExp("["+ce+ke+"]");ce=ke=null;let re=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],fe=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function he(ze,b){let N=65536;for(let G=0,V=b.length;G<V;G+=2){if(N+=b[G],N>ze)return!1;if(N+=b[G+1],N>=ze)return!0}return!1}function se(ze){return ze<65?ze===36:ze<=90||(ze<97?ze===95:ze<=122||(ze<=65535?ze>=170&&je.test(String.fromCharCode(ze)):he(ze,re)))}function Ie(ze){return ze<48?ze===36:ze<58||!(ze<65)&&(ze<=90||(ze<97?ze===95:ze<=122||(ze<=65535?ze>=170&&Oe.test(String.fromCharCode(ze)):he(ze,re)||he(ze,fe))))}let ye=["implements","interface","let","package","private","protected","public","static","yield"],$e=["eval","arguments"],nt=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),et=new Set(ye),xe=new Set($e);function pe(ze,b){return b&&ze==="await"||ze==="enum"}function ue(ze,b){return pe(ze,b)||et.has(ze)}function Se(ze){return xe.has(ze)}function Ae(ze,b){return ue(ze,b)||Se(ze)}let de=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);class We{constructor(b){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=b}}class tt{constructor(b,N){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=b,this.inModule=N}get inTopLevel(){return(1&this.currentScope().flags)>0}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){let b=this.currentThisScopeFlags();return(64&b)>0&&!(2&b)}get inStaticBlock(){for(let b=this.scopeStack.length-1;;b--){let{flags:N}=this.scopeStack[b];if(128&N)return!0;if(451&N)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(b){return new We(b)}enter(b){this.scopeStack.push(this.createScope(b))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(b){return!!(130&b.flags||!this.parser.inModule&&1&b.flags)}declareName(b,N,G){let V=this.currentScope();if(8&N||16&N){this.checkRedeclarationInScope(V,b,N,G);let f=V.names.get(b)||0;16&N?f|=4:(V.firstLexicalName||(V.firstLexicalName=b),f|=2),V.names.set(b,f),8&N&&this.maybeExportDefined(V,b)}else if(4&N)for(let f=this.scopeStack.length-1;f>=0&&(V=this.scopeStack[f],this.checkRedeclarationInScope(V,b,N,G),V.names.set(b,1|(V.names.get(b)||0)),this.maybeExportDefined(V,b),!(387&V.flags));--f);this.parser.inModule&&1&V.flags&&this.undefinedExports.delete(b)}maybeExportDefined(b,N){this.parser.inModule&&1&b.flags&&this.undefinedExports.delete(N)}checkRedeclarationInScope(b,N,G,V){this.isRedeclaredInScope(b,N,G)&&this.parser.raise(S.VarRedeclaration,V,{identifierName:N})}isRedeclaredInScope(b,N,G){if(!(1&G))return!1;if(8&G)return b.names.has(N);let V=b.names.get(N);return 16&G?(2&V)>0||!this.treatFunctionsAsVarInScope(b)&&(1&V)>0:(2&V)>0&&!(8&b.flags&&b.firstLexicalName===N)||!this.treatFunctionsAsVarInScope(b)&&(4&V)>0}checkLocalExport(b){let{name:N}=b;this.scopeStack[0].names.has(N)||this.undefinedExports.set(N,b.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let b=this.scopeStack.length-1;;b--){let{flags:N}=this.scopeStack[b];if(387&N)return N}}currentThisScopeFlags(){for(let b=this.scopeStack.length-1;;b--){let{flags:N}=this.scopeStack[b];if(451&N&&!(4&N))return N}}}class mt extends We{constructor(...b){super(...b),this.declareFunctions=new Set}}class At extends tt{createScope(b){return new mt(b)}declareName(b,N,G){let V=this.currentScope();if(2048&N)return this.checkRedeclarationInScope(V,b,N,G),this.maybeExportDefined(V,b),void V.declareFunctions.add(b);super.declareName(b,N,G)}isRedeclaredInScope(b,N,G){if(super.isRedeclaredInScope(b,N,G))return!0;if(2048&G&&!b.declareFunctions.has(N)){let V=b.names.get(N);return(4&V)>0||(2&V)>0}return!1}checkLocalExport(b){this.scopeStack[0].declareFunctions.has(b.name)||super.checkLocalExport(b)}}class pt{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(b){if(typeof b=="string")return this.plugins.has(b);{let[N,G]=b;if(!this.hasPlugin(N))return!1;let V=this.plugins.get(N);for(let f of Object.keys(G))if(V?.[f]!==G[f])return!1;return!0}}getPluginOption(b,N){var G;return(G=this.plugins.get(b))==null?void 0:G[N]}}function Nt(ze,b){ze.trailingComments===void 0?ze.trailingComments=b:ze.trailingComments.unshift(...b)}function Ce(ze,b){ze.innerComments===void 0?ze.innerComments=b:ze.innerComments.unshift(...b)}function qe(ze,b,N){let G=null,V=b.length;for(;G===null&&V>0;)G=b[--V];G===null||G.start>N.start?Ce(ze,N.comments):Nt(G,N.comments)}class ot extends pt{addComment(b){this.filename&&(b.loc.filename=this.filename);let{commentsLen:N}=this.state;this.comments.length!==N&&(this.comments.length=N),this.comments.push(b),this.state.commentsLen++}processComment(b){let{commentStack:N}=this.state,G=N.length;if(G===0)return;let V=G-1,f=N[V];f.start===b.end&&(f.leadingNode=b,V--);let{start:v}=b;for(;V>=0;V--){let B=N[V],X=B.end;if(!(X>v)){X===v&&(B.trailingNode=b);break}B.containingNode=b,this.finalizeComment(B),N.splice(V,1)}}finalizeComment(b){let{comments:N}=b;if(b.leadingNode!==null||b.trailingNode!==null)b.leadingNode!==null&&Nt(b.leadingNode,N),b.trailingNode!==null&&function(G,V){G.leadingComments===void 0?G.leadingComments=V:G.leadingComments.unshift(...V)}(b.trailingNode,N);else{let{containingNode:G,start:V}=b;if(this.input.charCodeAt(V-1)===44)switch(G.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":qe(G,G.properties,b);break;case"CallExpression":case"OptionalCallExpression":qe(G,G.arguments,b);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":qe(G,G.params,b);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":qe(G,G.elements,b);break;case"ExportNamedDeclaration":case"ImportDeclaration":qe(G,G.specifiers,b);break;default:Ce(G,N)}else Ce(G,N)}}finalizeRemainingComments(){let{commentStack:b}=this.state;for(let N=b.length-1;N>=0;N--)this.finalizeComment(b[N]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(b){let{commentStack:N}=this.state,{length:G}=N;if(G===0)return;let V=N[G-1];V.leadingNode===b&&(V.leadingNode=null)}resetPreviousIdentifierLeadingComments(b){let{commentStack:N}=this.state,{length:G}=N;G!==0&&(N[G-1].trailingNode===b?N[G-1].trailingNode=null:G>=2&&N[G-2].trailingNode===b&&(N[G-2].trailingNode=null))}takeSurroundingComments(b,N,G){let{commentStack:V}=this.state,f=V.length;if(f===0)return;let v=f-1;for(;v>=0;v--){let B=V[v],X=B.end;if(B.start===G)B.leadingNode=b;else if(X===N)B.trailingNode=b;else if(X<N)break}}}let Ze=new RegExp(/\r\n|[\r\n\u2028\u2029]/.source,"g");function Pe(ze){switch(ze){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function Qe(ze,b,N){for(let G=b;G<N;G++)if(Pe(ze.charCodeAt(G)))return!0;return!1}let Ge=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,we=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function Ne(ze){switch(ze){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}class ht{constructor(){this.flags=1024,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=139,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[C.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(1&this.flags)>0}set strict(b){b?this.flags|=1:this.flags&=-2}init({strictMode:b,sourceType:N,startLine:G,startColumn:V}){this.strict=b!==!1&&(b===!0||N==="module"),this.curLine=G,this.lineStart=-V,this.startLoc=this.endLoc=new s(G,V,0)}get maybeInArrowParameters(){return(2&this.flags)>0}set maybeInArrowParameters(b){b?this.flags|=2:this.flags&=-3}get inType(){return(4&this.flags)>0}set inType(b){b?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(8&this.flags)>0}set noAnonFunctionType(b){b?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(16&this.flags)>0}set hasFlowComment(b){b?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(32&this.flags)>0}set isAmbientContext(b){b?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(64&this.flags)>0}set inAbstractClass(b){b?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(128&this.flags)>0}set inDisallowConditionalTypesContext(b){b?this.flags|=128:this.flags&=-129}get soloAwait(){return(256&this.flags)>0}set soloAwait(b){b?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(512&this.flags)>0}set inFSharpPipelineDirectBody(b){b?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(1024&this.flags)>0}set canStartJSXElement(b){b?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(2048&this.flags)>0}set containsEsc(b){b?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(4096&this.flags)>0}set hasTopLevelAwait(b){b?this.flags|=4096:this.flags&=-4097}curPosition(){return new s(this.curLine,this.pos-this.lineStart,this.pos)}clone(){let b=new ht;return b.flags=this.flags,b.curLine=this.curLine,b.lineStart=this.lineStart,b.startLoc=this.startLoc,b.endLoc=this.endLoc,b.errors=this.errors.slice(),b.potentialArrowAt=this.potentialArrowAt,b.noArrowAt=this.noArrowAt.slice(),b.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),b.topicContext=this.topicContext,b.labels=this.labels.slice(),b.commentsLen=this.commentsLen,b.commentStack=this.commentStack.slice(),b.pos=this.pos,b.type=this.type,b.value=this.value,b.start=this.start,b.end=this.end,b.lastTokEndLoc=this.lastTokEndLoc,b.lastTokStartLoc=this.lastTokStartLoc,b.context=this.context.slice(),b.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,b.strictErrors=this.strictErrors,b.tokensLength=this.tokensLength,b}}var it=function(ze){return ze>=48&&ze<=57};let Tt={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Ot={bin:ze=>ze===48||ze===49,oct:ze=>ze>=48&&ze<=55,dec:ze=>ze>=48&&ze<=57,hex:ze=>ze>=48&&ze<=57||ze>=65&&ze<=70||ze>=97&&ze<=102};function Pt(ze,b,N,G,V,f){let v=N,B=G,X=V,ae="",Te=null,Ke=N,{length:rt}=b;for(;;){if(N>=rt){f.unterminated(v,B,X),ae+=b.slice(Ke,N);break}let at=b.charCodeAt(N);if(Ir(ze,at,b,N)){ae+=b.slice(Ke,N);break}if(at===92){ae+=b.slice(Ke,N);let St=Lr(b,N,G,V,ze==="template",f);St.ch!==null||Te?ae+=St.ch:Te={pos:N,lineStart:G,curLine:V},{pos:N,lineStart:G,curLine:V}=St,Ke=N}else at===8232||at===8233?(++V,G=++N):at===10||at===13?ze==="template"?(ae+=b.slice(Ke,N)+`
|
|
`,++N,at===13&&b.charCodeAt(N)===10&&++N,++V,Ke=G=N):f.unterminated(v,B,X):++N}return{pos:N,str:ae,firstInvalidLoc:Te,lineStart:G,curLine:V,containsInvalid:!!Te}}function Ir(ze,b,N,G){return ze==="template"?b===96||b===36&&N.charCodeAt(G+1)===123:b===(ze==="double"?34:39)}function Lr(ze,b,N,G,V,f){let v=!V;b++;let B=ae=>({pos:b,ch:ae,lineStart:N,curLine:G}),X=ze.charCodeAt(b++);switch(X){case 110:return B(`
|
|
`);case 114:return B("\r");case 120:{let ae;return{code:ae,pos:b}=_n(ze,b,N,G,2,!1,v,f),B(ae===null?null:String.fromCharCode(ae))}case 117:{let ae;return{code:ae,pos:b}=bn(ze,b,N,G,v,f),B(ae===null?null:String.fromCodePoint(ae))}case 116:return B(" ");case 98:return B("\b");case 118:return B("\v");case 102:return B("\f");case 13:ze.charCodeAt(b)===10&&++b;case 10:N=b,++G;case 8232:case 8233:return B("");case 56:case 57:if(V)return B(null);f.strictNumericEscape(b-1,N,G);default:if(X>=48&&X<=55){let ae=b-1,Te=/^[0-7]+/.exec(ze.slice(ae,b+2))[0],Ke=parseInt(Te,8);Ke>255&&(Te=Te.slice(0,-1),Ke=parseInt(Te,8)),b+=Te.length-1;let rt=ze.charCodeAt(b);if(Te!=="0"||rt===56||rt===57){if(V)return B(null);f.strictNumericEscape(ae,N,G)}return B(String.fromCharCode(Ke))}return B(String.fromCharCode(X))}}function _n(ze,b,N,G,V,f,v,B){let X=b,ae;return{n:ae,pos:b}=_r(ze,b,N,G,16,V,f,!1,B,!v),ae===null&&(v?B.invalidEscapeSequence(X,N,G):b=X-1),{code:ae,pos:b}}function _r(ze,b,N,G,V,f,v,B,X,ae){let Te=b,Ke=V===16?Tt.hex:Tt.decBinOct,rt=V===16?Ot.hex:V===10?Ot.dec:V===8?Ot.oct:Ot.bin,at=!1,St=0;for(let Kt=0,gr=f??1/0;Kt<gr;++Kt){let lr=ze.charCodeAt(b),Ur;if(lr!==95||B==="bail"){if(Ur=lr>=97?lr-97+10:lr>=65?lr-65+10:it(lr)?lr-48:1/0,Ur>=V){if(Ur<=9&&ae)return{n:null,pos:b};if(Ur<=9&&X.invalidDigit(b,N,G,V))Ur=0;else{if(!v)break;Ur=0,at=!0}}++b,St=St*V+Ur}else{let pi=ze.charCodeAt(b-1),bi=ze.charCodeAt(b+1);if(B){if(Number.isNaN(bi)||!rt(bi)||Ke.has(pi)||Ke.has(bi)){if(ae)return{n:null,pos:b};X.unexpectedNumericSeparator(b,N,G)}}else{if(ae)return{n:null,pos:b};X.numericSeparatorInEscapeSequence(b,N,G)}++b}}return b===Te||f!=null&&b-Te!==f||at?{n:null,pos:b}:{n:St,pos:b}}function bn(ze,b,N,G,V,f){let v;if(ze.charCodeAt(b)===123){if(++b,{code:v,pos:b}=_n(ze,b,N,G,ze.indexOf("}",b)-b,!0,V,f),++b,v!==null&&v>1114111){if(!V)return{code:null,pos:b};f.invalidCodePoint(b,N,G)}}else({code:v,pos:b}=_n(ze,b,N,G,4,!1,V,f));return{code:v,pos:b}}function wr(ze,b,N){return new s(N,ze-b,ze)}let on=new Set([103,109,115,105,121,117,100,118]);class Cn{constructor(b){this.type=b.type,this.value=b.value,this.start=b.start,this.end=b.end,this.loc=new u(b.startLoc,b.endLoc)}}class Jr extends ot{constructor(b,N){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(G,V,f,v)=>!!this.options.errorRecovery&&(this.raise(S.InvalidDigit,wr(G,V,f),{radix:v}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(S.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(S.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(S.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(S.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(G,V,f)=>{this.recordStrictModeErrors(S.StrictNumericEscape,wr(G,V,f))},unterminated:(G,V,f)=>{throw this.raise(S.UnterminatedString,wr(G-1,V,f))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(S.StrictNumericEscape),unterminated:(G,V,f)=>{throw this.raise(S.UnterminatedTemplate,wr(G,V,f))}}),this.state=new ht,this.state.init(b),this.input=N,this.length=N.length,this.comments=[],this.isLookahead=!1}pushToken(b){this.tokens.length=this.state.tokensLength,this.tokens.push(b),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Cn(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(b){return!!this.match(b)&&(this.next(),!0)}match(b){return this.state.type===b}createLookaheadState(b){return{pos:b.pos,value:null,type:b.type,start:b.start,end:b.end,context:[this.curContext()],inType:b.inType,startLoc:b.startLoc,lastTokEndLoc:b.lastTokEndLoc,curLine:b.curLine,lineStart:b.lineStart,curPosition:b.curPosition}}lookahead(){let b=this.state;this.state=this.createLookaheadState(b),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let N=this.state;return this.state=b,N}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(b){return Ge.lastIndex=b,Ge.test(this.input)?Ge.lastIndex:b}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(b){return we.lastIndex=b,we.test(this.input)?we.lastIndex:b}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(b){let N=this.input.charCodeAt(b);if((64512&N)==55296&&++b<this.input.length){let G=this.input.charCodeAt(b);(64512&G)==56320&&(N=65536+((1023&N)<<10)+(1023&G))}return N}setStrict(b){this.state.strict=b,b&&(this.state.strictErrors.forEach(([N,G])=>this.raise(N,G)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(139):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(b){let N;this.isLookahead||(N=this.state.curPosition());let G=this.state.pos,V=this.input.indexOf(b,G+2);if(V===-1)throw this.raise(S.UnterminatedComment,this.state.curPosition());for(this.state.pos=V+b.length,Ze.lastIndex=G+2;Ze.test(this.input)&&Ze.lastIndex<=V;)++this.state.curLine,this.state.lineStart=Ze.lastIndex;if(this.isLookahead)return;let f={type:"CommentBlock",value:this.input.slice(G+2,V),start:G,end:V+b.length,loc:new u(N,this.state.curPosition())};return this.options.tokens&&this.pushToken(f),f}skipLineComment(b){let N=this.state.pos,G;this.isLookahead||(G=this.state.curPosition());let V=this.input.charCodeAt(this.state.pos+=b);if(this.state.pos<this.length)for(;!Pe(V)&&++this.state.pos<this.length;)V=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let f=this.state.pos,v={type:"CommentLine",value:this.input.slice(N+b,f),start:N,end:f,loc:new u(G,this.state.curPosition())};return this.options.tokens&&this.pushToken(v),v}skipSpace(){let b=this.state.pos,N=[];e:for(;this.state.pos<this.length;){let G=this.input.charCodeAt(this.state.pos);switch(G){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let V=this.skipBlockComment("*/");V!==void 0&&(this.addComment(V),this.options.attachComment&&N.push(V));break}case 47:{let V=this.skipLineComment(2);V!==void 0&&(this.addComment(V),this.options.attachComment&&N.push(V));break}default:break e}break;default:if(Ne(G))++this.state.pos;else if(G===45&&!this.inModule&&this.options.annexB){let V=this.state.pos;if(this.input.charCodeAt(V+1)!==45||this.input.charCodeAt(V+2)!==62||!(b===0||this.state.lineStart>b))break e;{let f=this.skipLineComment(3);f!==void 0&&(this.addComment(f),this.options.attachComment&&N.push(f))}}else{if(G!==60||this.inModule||!this.options.annexB)break e;{let V=this.state.pos;if(this.input.charCodeAt(V+1)!==33||this.input.charCodeAt(V+2)!==45||this.input.charCodeAt(V+3)!==45)break e;{let f=this.skipLineComment(4);f!==void 0&&(this.addComment(f),this.options.attachComment&&N.push(f))}}}}}if(N.length>0){let G={start:b,end:this.state.pos,comments:N,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(G)}}finishToken(b,N){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let G=this.state.type;this.state.type=b,this.state.value=N,this.isLookahead||this.updateContext(G)}replaceToken(b){this.state.type=b,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let b=this.state.pos+1,N=this.codePointAtPos(b);if(N>=48&&N<=57)throw this.raise(S.UnexpectedDigitAfterHash,this.state.curPosition());if(N===123||N===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(N===123?S.RecordExpressionHashIncorrectStartSyntaxType:S.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,N===123?this.finishToken(7):this.finishToken(1)}else se(N)?(++this.state.pos,this.finishToken(138,this.readWord1(N))):N===92?(++this.state.pos,this.finishToken(138,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let b=this.input.charCodeAt(this.state.pos+1);b>=48&&b<=57?this.readNumber(!0):b===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let b=this.input.charCodeAt(this.state.pos+1);if(b!==33)return!1;let N=this.state.pos;for(this.state.pos+=1;!Pe(b)&&++this.state.pos<this.length;)b=this.input.charCodeAt(this.state.pos);let G=this.input.slice(N+2,this.state.pos);return this.finishToken(28,G),!0}readToken_mult_modulo(b){let N=b===42?55:54,G=1,V=this.input.charCodeAt(this.state.pos+1);b===42&&V===42&&(G++,V=this.input.charCodeAt(this.state.pos+2),N=57),V!==61||this.state.inType||(G++,N=b===37?33:30),this.finishOp(N,G)}readToken_pipe_amp(b){let N=this.input.charCodeAt(this.state.pos+1);if(N!==b){if(b===124){if(N===62)return void this.finishOp(39,2);if(this.hasPlugin("recordAndTuple")&&N===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(S.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&N===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(S.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(4)}}N!==61?this.finishOp(b===124?43:45,1):this.finishOp(30,2)}else this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(b===124?41:42,2)}readToken_caret(){let b=this.input.charCodeAt(this.state.pos+1);b!==61||this.state.inType?b===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1):this.finishOp(32,2)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(b){let N=this.input.charCodeAt(this.state.pos+1);N!==b?N===61?this.finishOp(30,2):this.finishOp(53,1):this.finishOp(34,2)}readToken_lt(){let{pos:b}=this.state,N=this.input.charCodeAt(b+1);if(N===60)return this.input.charCodeAt(b+2)===61?void this.finishOp(30,3):void this.finishOp(51,2);N!==61?this.finishOp(47,1):this.finishOp(49,2)}readToken_gt(){let{pos:b}=this.state,N=this.input.charCodeAt(b+1);if(N===62){let G=this.input.charCodeAt(b+2)===62?3:2;return this.input.charCodeAt(b+G)===61?void this.finishOp(30,G+1):void this.finishOp(52,G)}N!==61?this.finishOp(48,1):this.finishOp(49,2)}readToken_eq_excl(b){let N=this.input.charCodeAt(this.state.pos+1);if(N!==61)return b===61&&N===62?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(b===61?29:35,1);this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2)}readToken_question(){let b=this.input.charCodeAt(this.state.pos+1),N=this.input.charCodeAt(this.state.pos+2);b===63?N===61?this.finishOp(30,3):this.finishOp(40,2):b!==46||N>=48&&N<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(b){switch(b){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(S.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(S.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:{let N=this.input.charCodeAt(this.state.pos+1);if(N===120||N===88)return void this.readRadixNumber(16);if(N===111||N===79)return void this.readRadixNumber(8);if(N===98||N===66)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(b);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(b);case 124:case 38:return void this.readToken_pipe_amp(b);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(b);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(b);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(se(b))return void this.readWord(b)}throw this.raise(S.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(b)})}finishOp(b,N){let G=this.input.slice(this.state.pos,this.state.pos+N);this.state.pos+=N,this.finishToken(b,G)}readRegexp(){let b=this.state.startLoc,N=this.state.start+1,G,V,{pos:f}=this.state;for(;;++f){if(f>=this.length)throw this.raise(S.UnterminatedRegExp,H(b,1));let ae=this.input.charCodeAt(f);if(Pe(ae))throw this.raise(S.UnterminatedRegExp,H(b,1));if(G)G=!1;else{if(ae===91)V=!0;else if(ae===93&&V)V=!1;else if(ae===47&&!V)break;G=ae===92}}let v=this.input.slice(N,f);++f;let B="",X=()=>H(b,f+2-N);for(;f<this.length;){let ae=this.codePointAtPos(f),Te=String.fromCharCode(ae);if(on.has(ae))ae===118?B.includes("u")&&this.raise(S.IncompatibleRegExpUVFlags,X()):ae===117&&B.includes("v")&&this.raise(S.IncompatibleRegExpUVFlags,X()),B.includes(Te)&&this.raise(S.DuplicateRegExpFlags,X());else{if(!Ie(ae)&&ae!==92)break;this.raise(S.MalformedRegExpFlags,X())}++f,B+=Te}this.state.pos=f,this.finishToken(137,{pattern:v,flags:B})}readInt(b,N,G=!1,V=!0){let{n:f,pos:v}=_r(this.input,this.state.pos,this.state.lineStart,this.state.curLine,b,N,G,V,this.errorHandlers_readInt,!1);return this.state.pos=v,f}readRadixNumber(b){let N=this.state.curPosition(),G=!1;this.state.pos+=2;let V=this.readInt(b);V==null&&this.raise(S.InvalidDigit,H(N,2),{radix:b});let f=this.input.charCodeAt(this.state.pos);if(f===110)++this.state.pos,G=!0;else if(f===109)throw this.raise(S.InvalidDecimal,N);if(se(this.codePointAtPos(this.state.pos)))throw this.raise(S.NumberIdentifier,this.state.curPosition());if(G){let v=this.input.slice(N.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,v)}else this.finishToken(134,V)}readNumber(b){let N=this.state.pos,G=this.state.curPosition(),V=!1,f=!1,v=!1,B=!1;b||this.readInt(10)!==null||this.raise(S.InvalidNumber,this.state.curPosition());let X=this.state.pos-N>=2&&this.input.charCodeAt(N)===48;if(X){let at=this.input.slice(N,this.state.pos);if(this.recordStrictModeErrors(S.StrictOctalLiteral,G),!this.state.strict){let St=at.indexOf("_");St>0&&this.raise(S.ZeroDigitNumericSeparator,H(G,St))}B=X&&!/[89]/.test(at)}let ae=this.input.charCodeAt(this.state.pos);if(ae!==46||B||(++this.state.pos,this.readInt(10),V=!0,ae=this.input.charCodeAt(this.state.pos)),ae!==69&&ae!==101||B||(ae=this.input.charCodeAt(++this.state.pos),ae!==43&&ae!==45||++this.state.pos,this.readInt(10)===null&&this.raise(S.InvalidOrMissingExponent,G),V=!0,v=!0,ae=this.input.charCodeAt(this.state.pos)),ae===110&&((V||X)&&this.raise(S.InvalidBigIntLiteral,G),++this.state.pos,f=!0),ae===109){this.expectPlugin("decimal",this.state.curPosition()),(v||X)&&this.raise(S.InvalidDecimal,G),++this.state.pos;var Te=!0}if(se(this.codePointAtPos(this.state.pos)))throw this.raise(S.NumberIdentifier,this.state.curPosition());let Ke=this.input.slice(N,this.state.pos).replace(/[_mn]/g,"");if(f)return void this.finishToken(135,Ke);if(Te)return void this.finishToken(136,Ke);let rt=B?parseInt(Ke,8):parseFloat(Ke);this.finishToken(134,rt)}readCodePoint(b){let{code:N,pos:G}=bn(this.input,this.state.pos,this.state.lineStart,this.state.curLine,b,this.errorHandlers_readCodePoint);return this.state.pos=G,N}readString(b){let{str:N,pos:G,curLine:V,lineStart:f}=Pt(b===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=G+1,this.state.lineStart=f,this.state.curLine=V,this.finishToken(133,N)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let b=this.input[this.state.pos],{str:N,firstInvalidLoc:G,pos:V,curLine:f,lineStart:v}=Pt("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=V+1,this.state.lineStart=v,this.state.curLine=f,G&&(this.state.firstInvalidTemplateEscapePos=new s(G.curLine,G.pos-G.lineStart,G.pos)),this.input.codePointAt(V)===96?this.finishToken(24,G?null:b+N+"`"):(this.state.pos++,this.finishToken(25,G?null:b+N+"${"))}recordStrictModeErrors(b,N){let G=N.index;this.state.strict&&!this.state.strictErrors.has(G)?this.raise(b,N):this.state.strictErrors.set(G,[b,N])}readWord1(b){this.state.containsEsc=!1;let N="",G=this.state.pos,V=this.state.pos;for(b!==void 0&&(this.state.pos+=b<=65535?1:2);this.state.pos<this.length;){let f=this.codePointAtPos(this.state.pos);if(Ie(f))this.state.pos+=f<=65535?1:2;else{if(f!==92)break;{this.state.containsEsc=!0,N+=this.input.slice(V,this.state.pos);let v=this.state.curPosition(),B=this.state.pos===G?se:Ie;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(S.MissingUnicodeEscape,this.state.curPosition()),V=this.state.pos-1;continue}++this.state.pos;let X=this.readCodePoint(!0);X!==null&&(B(X)||this.raise(S.EscapedCharNotAnIdentifier,v),N+=String.fromCodePoint(X)),V=this.state.pos}}}return N+this.input.slice(V,this.state.pos)}readWord(b){let N=this.readWord1(b),G=O.get(N);G!==void 0?this.finishToken(G,be(G)):this.finishToken(132,N)}checkKeywordEscapes(){let{type:b}=this.state;He(b)&&this.state.containsEsc&&this.raise(S.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:be(b)})}raise(b,N,G={}){let V=b(N instanceof s?N:N.loc.start,G);if(!this.options.errorRecovery)throw V;return this.isLookahead||this.state.errors.push(V),V}raiseOverwrite(b,N,G={}){let V=N instanceof s?N:N.loc.start,f=V.index,v=this.state.errors;for(let B=v.length-1;B>=0;B--){let X=v[B];if(X.loc.index===f)return v[B]=b(V,G);if(X.loc.index<f)break}return this.raise(b,N,G)}updateContext(b){}unexpected(b,N){throw this.raise(S.UnexpectedToken,b??this.state.startLoc,{expected:N?be(N):null})}expectPlugin(b,N){if(this.hasPlugin(b))return!0;throw this.raise(S.MissingPlugin,N??this.state.startLoc,{missingPlugin:[b]})}expectOnePlugin(b){if(!b.some(N=>this.hasPlugin(N)))throw this.raise(S.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:b})}errorBuilder(b){return(N,G,V)=>{this.raise(b,wr(N,G,V))}}}class Di{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Gi{constructor(b){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=b}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Di)}exit(){let b=this.stack.pop(),N=this.current();for(let[G,V]of Array.from(b.undefinedPrivateNames))N?N.undefinedPrivateNames.has(G)||N.undefinedPrivateNames.set(G,V):this.parser.raise(S.InvalidPrivateFieldResolution,V,{identifierName:G})}declarePrivateName(b,N,G){let{privateNames:V,loneAccessors:f,undefinedPrivateNames:v}=this.current(),B=V.has(b);if(3&N){let X=B&&f.get(b);X?(B=(3&X)===(3&N)||(4&X)!==(4&N),B||f.delete(b)):B||f.set(b,N)}B&&this.parser.raise(S.PrivateNameRedeclaration,G,{identifierName:b}),V.add(b),v.delete(b)}usePrivateName(b,N){let G;for(G of this.stack)if(G.privateNames.has(b))return;G?G.undefinedPrivateNames.set(b,N):this.parser.raise(S.InvalidPrivateFieldResolution,N,{identifierName:b})}}class mn{constructor(b=0){this.type=b}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class Li extends mn{constructor(b){super(b),this.declarationErrors=new Map}recordDeclarationError(b,N){let G=N.index;this.declarationErrors.set(G,[b,N])}clearDeclarationError(b){this.declarationErrors.delete(b)}iterateErrors(b){this.declarationErrors.forEach(b)}}class us{constructor(b){this.parser=void 0,this.stack=[new mn],this.parser=b}enter(b){this.stack.push(b)}exit(){this.stack.pop()}recordParameterInitializerError(b,N){let G=N.loc.start,{stack:V}=this,f=V.length-1,v=V[f];for(;!v.isCertainlyParameterDeclaration();){if(!v.canBeArrowParameterDeclaration())return;v.recordDeclarationError(b,G),v=V[--f]}this.parser.raise(b,G)}recordArrowParameterBindingError(b,N){let{stack:G}=this,V=G[G.length-1],f=N.loc.start;if(V.isCertainlyParameterDeclaration())this.parser.raise(b,f);else{if(!V.canBeArrowParameterDeclaration())return;V.recordDeclarationError(b,f)}}recordAsyncArrowParametersError(b){let{stack:N}=this,G=N.length-1,V=N[G];for(;V.canBeArrowParameterDeclaration();)V.type===2&&V.recordDeclarationError(S.AwaitBindingIdentifier,b),V=N[--G]}validateAsPattern(){let{stack:b}=this,N=b[b.length-1];N.canBeArrowParameterDeclaration()&&N.iterateErrors(([G,V])=>{this.parser.raise(G,V);let f=b.length-2,v=b[f];for(;v.canBeArrowParameterDeclaration();)v.clearDeclarationError(V.index),v=b[--f]})}}function Ni(){return new mn}class xn{constructor(){this.stacks=[]}enter(b){this.stacks.push(b)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}}function ii(ze,b){return(ze?2:0)|(b?1:0)}class ts extends Jr{addExtra(b,N,G,V=!0){if(!b)return;let{extra:f}=b;f==null&&(f={},b.extra=f),V?f[N]=G:Object.defineProperty(f,N,{enumerable:V,value:G})}isContextual(b){return this.state.type===b&&!this.state.containsEsc}isUnparsedContextual(b,N){let G=b+N.length;if(this.input.slice(b,G)===N){let V=this.input.charCodeAt(G);return!(Ie(V)||(64512&V)==55296)}return!1}isLookaheadContextual(b){let N=this.nextTokenStart();return this.isUnparsedContextual(N,b)}eatContextual(b){return!!this.isContextual(b)&&(this.next(),!0)}expectContextual(b,N){if(!this.eatContextual(b)){if(N!=null)throw this.raise(N,this.state.startLoc);this.unexpected(null,b)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Qe(this.input,this.state.lastTokEndLoc.index,this.state.start)}hasFollowingLineBreak(){return Qe(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(b=!0){(b?this.isLineTerminator():this.eat(13))||this.raise(S.MissingSemicolon,this.state.lastTokEndLoc)}expect(b,N){this.eat(b)||this.unexpected(N,b)}tryParse(b,N=this.state.clone()){let G={node:null};try{let V=b((f=null)=>{throw G.node=f,G});if(this.state.errors.length>N.errors.length){let f=this.state;return this.state=N,this.state.tokensLength=f.tokensLength,{node:V,error:f.errors[N.errors.length],thrown:!1,aborted:!1,failState:f}}return{node:V,error:null,thrown:!1,aborted:!1,failState:null}}catch(V){let f=this.state;if(this.state=N,V instanceof SyntaxError)return{node:null,error:V,thrown:!0,aborted:!1,failState:f};if(V===G)return{node:G.node,error:null,thrown:!1,aborted:!0,failState:f};throw V}}checkExpressionErrors(b,N){if(!b)return!1;let{shorthandAssignLoc:G,doubleProtoLoc:V,privateKeyLoc:f,optionalParametersLoc:v}=b;if(!N)return!!(G||V||v||f);G!=null&&this.raise(S.InvalidCoverInitializedName,G),V!=null&&this.raise(S.DuplicateProto,V),f!=null&&this.raise(S.UnexpectedPrivateField,f),v!=null&&this.unexpected(v)}isLiteralPropertyName(){return z(this.state.type)}isPrivateName(b){return b.type==="PrivateName"}getPrivateNameSV(b){return b.id.name}hasPropertyAsPrivateName(b){return(b.type==="MemberExpression"||b.type==="OptionalMemberExpression")&&this.isPrivateName(b.property)}isObjectProperty(b){return b.type==="ObjectProperty"}isObjectMethod(b){return b.type==="ObjectMethod"}initializeScopes(b=this.options.sourceType==="module"){let N=this.state.labels;this.state.labels=[];let G=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let V=this.inModule;this.inModule=b;let f=this.scope,v=this.getScopeHandler();this.scope=new v(this,b);let B=this.prodParam;this.prodParam=new xn;let X=this.classScope;this.classScope=new Gi(this);let ae=this.expressionScope;return this.expressionScope=new us(this),()=>{this.state.labels=N,this.exportedIdentifiers=G,this.inModule=V,this.scope=f,this.prodParam=B,this.classScope=X,this.expressionScope=ae}}enterInitialScopes(){let b=0;this.inModule&&(b|=2),this.scope.enter(1),this.prodParam.enter(b)}checkDestructuringPrivate(b){let{privateKeyLoc:N}=b;N!==null&&this.expectPlugin("destructuringPrivate",N)}}class Pn{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class si{constructor(b,N,G){this.type="",this.start=N,this.end=0,this.loc=new u(G),b!=null&&b.options.ranges&&(this.range=[N,0]),b!=null&&b.filename&&(this.loc.filename=b.filename)}}let Vs=si.prototype;function Oi(ze){let{type:b,start:N,end:G,loc:V,range:f,extra:v,name:B}=ze,X=Object.create(Vs);return X.type=b,X.start=N,X.end=G,X.loc=V,X.range=f,X.extra=v,X.name=B,b==="Placeholder"&&(X.expectedNode=ze.expectedNode),X}function Ls(ze){let{type:b,start:N,end:G,loc:V,range:f,extra:v}=ze;if(b==="Placeholder")return function(X){return Oi(X)}(ze);let B=Object.create(Vs);return B.type=b,B.start=N,B.end=G,B.loc=V,B.range=f,ze.raw!==void 0?B.raw=ze.raw:B.extra=v,B.value=ze.value,B}Vs.__clone=function(){let ze=new si(void 0,this.start,this.loc.start),b=Object.keys(this);for(let N=0,G=b.length;N<G;N++){let V=b[N];V!=="leadingComments"&&V!=="trailingComments"&&V!=="innerComments"&&(ze[V]=this[V])}return ze};class Fi extends ts{startNode(){let b=this.state.startLoc;return new si(this,b.index,b)}startNodeAt(b){return new si(this,b.index,b)}startNodeAtNode(b){return this.startNodeAt(b.loc.start)}finishNode(b,N){return this.finishNodeAt(b,N,this.state.lastTokEndLoc)}finishNodeAt(b,N,G){return b.type=N,b.end=G.index,b.loc.end=G,this.options.ranges&&(b.range[1]=G.index),this.options.attachComment&&this.processComment(b),b}resetStartLocation(b,N){b.start=N.index,b.loc.start=N,this.options.ranges&&(b.range[0]=N.index)}resetEndLocation(b,N=this.state.lastTokEndLoc){b.end=N.index,b.loc.end=N,this.options.ranges&&(b.range[1]=N.index)}resetStartLocationFromNode(b,N){this.resetStartLocation(b,N.loc.start)}}let qr=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Mr=A`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:ze})=>`Cannot overwrite reserved type ${ze}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:ze,enumName:b})=>`Boolean enum members need to be initialized. Use either \`${ze} = true,\` or \`${ze} = false,\` in enum \`${b}\`.`,EnumDuplicateMemberName:({memberName:ze,enumName:b})=>`Enum member names need to be unique, but the name \`${ze}\` has already been used before in enum \`${b}\`.`,EnumInconsistentMemberValues:({enumName:ze})=>`Enum \`${ze}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:ze,enumName:b})=>`Enum type \`${ze}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${b}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:ze})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${ze}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:ze,memberName:b,explicitType:N})=>`Enum \`${ze}\` has type \`${N}\`, so the initializer of \`${b}\` needs to be a ${N} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:ze,memberName:b})=>`Symbol enum members cannot be initialized. Use \`${b},\` in enum \`${ze}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:ze,memberName:b})=>`The enum member initializer for \`${b}\` needs to be a literal (either a boolean, number, or string) in enum \`${ze}\`.`,EnumInvalidMemberName:({enumName:ze,memberName:b,suggestion:N})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${b}\`, consider using \`${N}\`, in enum \`${ze}\`.`,EnumNumberMemberNotInitialized:({enumName:ze,memberName:b})=>`Number enum members need to be initialized, e.g. \`${b} = 1\` in enum \`${ze}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:ze})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${ze}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:ze})=>`Unexpected reserved type ${ze}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:ze,suggestion:b})=>`\`declare export ${ze}\` is not supported. Use \`${b}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function rs(ze){return ze.importKind==="type"||ze.importKind==="typeof"}let Br={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},Rs=/\*?\s*@((?:no)?flow)\b/,Xi={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},ns=A`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:ze})=>`Expected corresponding JSX closing tag for <${ze}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:ze,HTMLEntity:b})=>`Unexpected token \`${ze}\`. Did you mean \`${b}\` or \`{'${ze}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function vr(ze){return!!ze&&(ze.type==="JSXOpeningFragment"||ze.type==="JSXClosingFragment")}function Yt(ze){if(ze.type==="JSXIdentifier")return ze.name;if(ze.type==="JSXNamespacedName")return ze.namespace.name+":"+ze.name.name;if(ze.type==="JSXMemberExpression")return Yt(ze.object)+"."+Yt(ze.property);throw new Error("Node had unexpected type: "+ze.type)}class ft extends We{constructor(...b){super(...b),this.tsNames=new Map}}class wt extends tt{constructor(...b){super(...b),this.importsStack=[]}createScope(b){return this.importsStack.push(new Set),new ft(b)}enter(b){b===256&&this.importsStack.push(new Set),super.enter(b)}exit(){let b=super.exit();return b===256&&this.importsStack.pop(),b}hasImport(b,N){let G=this.importsStack.length;if(this.importsStack[G-1].has(b))return!0;if(!N&&G>1){for(let V=0;V<G-1;V++)if(this.importsStack[V].has(b))return!0}return!1}declareName(b,N,G){if(4096&N)return this.hasImport(b,!0)&&this.parser.raise(S.VarRedeclaration,G,{identifierName:b}),void this.importsStack[this.importsStack.length-1].add(b);let V=this.currentScope(),f=V.tsNames.get(b)||0;if(1024&N)return this.maybeExportDefined(V,b),void V.tsNames.set(b,16|f);super.declareName(b,N,G),2&N&&(1&N||(this.checkRedeclarationInScope(V,b,N,G),this.maybeExportDefined(V,b)),f|=1),256&N&&(f|=2),512&N&&(f|=4),128&N&&(f|=8),f&&V.tsNames.set(b,f)}isRedeclaredInScope(b,N,G){let V=b.tsNames.get(N);return(2&V)>0?256&G?!!(512&G)!=(4&V)>0:!0:128&G&&(8&V)>0?!!(2&b.names.get(N))&&!!(1&G):!!(2&G&&(1&V)>0)||super.isRedeclaredInScope(b,N,G)}checkLocalExport(b){let{name:N}=b;if(!this.hasImport(N)){for(let G=this.scopeStack.length-1;G>=0;G--){let V=this.scopeStack[G].tsNames.get(N);if((1&V)>0||(16&V)>0)return}super.checkLocalExport(b)}}}let Vt=ze=>ze.type==="ParenthesizedExpression"?Vt(ze.expression):ze;class nr extends Fi{toAssignable(b,N=!1){var G,V;let f;switch((b.type==="ParenthesizedExpression"||(G=b.extra)!=null&&G.parenthesized)&&(f=Vt(b),N?f.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(S.InvalidParenthesizedAssignment,b):f.type==="MemberExpression"||this.isOptionalMemberExpression(f)||this.raise(S.InvalidParenthesizedAssignment,b):this.raise(S.InvalidParenthesizedAssignment,b)),b.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":b.type="ObjectPattern";for(let B=0,X=b.properties.length,ae=X-1;B<X;B++){var v;let Te=b.properties[B],Ke=B===ae;this.toAssignableObjectExpressionProp(Te,Ke,N),Ke&&Te.type==="RestElement"&&(v=b.extra)!=null&&v.trailingCommaLoc&&this.raise(S.RestTrailingComma,b.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:B,value:X}=b;this.isPrivateName(B)&&this.classScope.usePrivateName(this.getPrivateNameSV(B),B.loc.start),this.toAssignable(X,N);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":b.type="ArrayPattern",this.toAssignableList(b.elements,(V=b.extra)==null?void 0:V.trailingCommaLoc,N);break;case"AssignmentExpression":b.operator!=="="&&this.raise(S.MissingEqInAssignment,b.left.loc.end),b.type="AssignmentPattern",delete b.operator,this.toAssignable(b.left,N);break;case"ParenthesizedExpression":this.toAssignable(f,N)}}toAssignableObjectExpressionProp(b,N,G){if(b.type==="ObjectMethod")this.raise(b.kind==="get"||b.kind==="set"?S.PatternHasAccessor:S.PatternHasMethod,b.key);else if(b.type==="SpreadElement"){b.type="RestElement";let V=b.argument;this.checkToRestConversion(V,!1),this.toAssignable(V,G),N||this.raise(S.RestTrailingComma,b)}else this.toAssignable(b,G)}toAssignableList(b,N,G){let V=b.length-1;for(let f=0;f<=V;f++){let v=b[f];if(v){if(v.type==="SpreadElement"){v.type="RestElement";let B=v.argument;this.checkToRestConversion(B,!0),this.toAssignable(B,G)}else this.toAssignable(v,G);v.type==="RestElement"&&(f<V?this.raise(S.RestTrailingComma,v):N&&this.raise(S.RestTrailingComma,N))}}}isAssignable(b,N){switch(b.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let G=b.properties.length-1;return b.properties.every((V,f)=>V.type!=="ObjectMethod"&&(f===G||V.type!=="SpreadElement")&&this.isAssignable(V))}case"ObjectProperty":return this.isAssignable(b.value);case"SpreadElement":return this.isAssignable(b.argument);case"ArrayExpression":return b.elements.every(G=>G===null||this.isAssignable(G));case"AssignmentExpression":return b.operator==="=";case"ParenthesizedExpression":return this.isAssignable(b.expression);case"MemberExpression":case"OptionalMemberExpression":return!N;default:return!1}}toReferencedList(b,N){return b}toReferencedListDeep(b,N){this.toReferencedList(b,N);for(let G of b)G?.type==="ArrayExpression"&&this.toReferencedListDeep(G.elements)}parseSpread(b){let N=this.startNode();return this.next(),N.argument=this.parseMaybeAssignAllowIn(b,void 0),this.finishNode(N,"SpreadElement")}parseRestBinding(){let b=this.startNode();return this.next(),b.argument=this.parseBindingAtom(),this.finishNode(b,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let b=this.startNode();return this.next(),b.elements=this.parseBindingList(3,93,1),this.finishNode(b,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(b,N,G){let V=1&G,f=[],v=!0;for(;!this.eat(b);)if(v?v=!1:this.expect(12),V&&this.match(12))f.push(null);else{if(this.eat(b))break;if(this.match(21)){let B=this.parseRestBinding();if((this.hasPlugin("flow")||2&G)&&(B=this.parseFunctionParamType(B)),f.push(B),!this.checkCommaAfterRest(N)){this.expect(b);break}}else{let B=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(S.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)B.push(this.parseDecorator());f.push(this.parseAssignableListItem(G,B))}}return f}parseBindingRestProperty(b){return this.next(),b.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(b,"RestElement")}parseBindingProperty(){let{type:b,startLoc:N}=this.state;if(b===21)return this.parseBindingRestProperty(this.startNode());let G=this.startNode();return b===138?(this.expectPlugin("destructuringPrivate",N),this.classScope.usePrivateName(this.state.value,N),G.key=this.parsePrivateName()):this.parsePropertyName(G),G.method=!1,this.parseObjPropValue(G,N,!1,!1,!0,!1)}parseAssignableListItem(b,N){let G=this.parseMaybeDefault();(this.hasPlugin("flow")||2&b)&&this.parseFunctionParamType(G);let V=this.parseMaybeDefault(G.loc.start,G);return N.length&&(G.decorators=N),V}parseFunctionParamType(b){return b}parseMaybeDefault(b,N){var G;if(b!=null||(b=this.state.startLoc),N=(G=N)!=null?G:this.parseBindingAtom(),!this.eat(29))return N;let V=this.startNodeAt(b);return V.left=N,V.right=this.parseMaybeAssignAllowIn(),this.finishNode(V,"AssignmentPattern")}isValidLVal(b,N,G){switch(b){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties"}return!1}isOptionalMemberExpression(b){return b.type==="OptionalMemberExpression"}checkLVal(b,N,G=64,V=!1,f=!1,v=!1){var B;let X=b.type;if(this.isObjectMethod(b))return;let ae=this.isOptionalMemberExpression(b);if(ae||X==="MemberExpression")return ae&&(this.expectPlugin("optionalChainingAssign",b.loc.start),N.type!=="AssignmentExpression"&&this.raise(S.InvalidLhsOptionalChaining,b,{ancestor:N})),void(G!==64&&this.raise(S.InvalidPropertyBindingPattern,b));if(X==="Identifier"){this.checkIdentifier(b,G,f);let{name:Kt}=b;return void(V&&(V.has(Kt)?this.raise(S.ParamDupe,b):V.add(Kt)))}let Te=this.isValidLVal(X,!(v||(B=b.extra)!=null&&B.parenthesized)&&N.type==="AssignmentExpression",G);if(Te===!0)return;if(Te===!1){let Kt=G===64?S.InvalidLhs:S.InvalidLhsBinding;return void this.raise(Kt,b,{ancestor:N})}let Ke,rt;typeof Te=="string"?(Ke=Te,rt=X==="ParenthesizedExpression"):[Ke,rt]=Te;let at=X==="ArrayPattern"||X==="ObjectPattern"?{type:X}:N,St=b[Ke];if(Array.isArray(St))for(let Kt of St)Kt&&this.checkLVal(Kt,at,G,V,f,rt);else St&&this.checkLVal(St,at,G,V,f,rt)}checkIdentifier(b,N,G=!1){this.state.strict&&(G?Ae(b.name,this.inModule):Se(b.name))&&(N===64?this.raise(S.StrictEvalArguments,b,{referenceName:b.name}):this.raise(S.StrictEvalArgumentsBinding,b,{bindingName:b.name})),8192&N&&b.name==="let"&&this.raise(S.LetInLexicalBinding,b),64&N||this.declareNameFromIdentifier(b,N)}declareNameFromIdentifier(b,N){this.scope.declareName(b.name,N,b.loc.start)}checkToRestConversion(b,N){switch(b.type){case"ParenthesizedExpression":this.checkToRestConversion(b.expression,N);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(N)break;default:this.raise(S.InvalidRestAssignmentPattern,b)}}checkCommaAfterRest(b){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===b?S.RestTrailingComma:S.ElementAfterRest,this.state.startLoc),!0)}}function Hr(ze){if(!ze)throw new Error("Assert fail")}let Bt=A`typescript`({AbstractMethodHasImplementation:({methodName:ze})=>`Method '${ze}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:ze})=>`Property '${ze}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:ze})=>`'declare' is not allowed in ${ze}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:ze})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:ze})=>`Duplicate modifier: '${ze}'.`,EmptyHeritageClauseType:({token:ze})=>`'${ze}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:ze})=>`'${ze[0]}' modifier cannot be used with '${ze[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:ze})=>`Index signatures cannot have an accessibility modifier ('${ze}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:ze})=>`'${ze}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:ze})=>`'${ze}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:ze})=>`'${ze}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:ze})=>`'${ze[0]}' modifier must precede '${ze[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:ze})=>`Private elements cannot have an accessibility modifier ('${ze}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:ze})=>`Single type parameter ${ze} should have a trailing comma. Example usage: <${ze},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:ze})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${ze}.`});function zt(ze){return ze==="private"||ze==="public"||ze==="protected"}function jt(ze){return ze==="in"||ze==="out"}function xr(ze){if(ze.type!=="MemberExpression")return!1;let{computed:b,property:N}=ze;return(!b||N.type==="StringLiteral"||!(N.type!=="TemplateLiteral"||N.expressions.length>0))&&dr(ze.object)}function Or(ze,b){var N;let{type:G}=ze;if((N=ze.extra)!=null&&N.parenthesized)return!1;if(b){if(G==="Literal"){let{value:V}=ze;if(typeof V=="string"||typeof V=="boolean")return!0}}else if(G==="StringLiteral"||G==="BooleanLiteral")return!0;return!(!hr(ze,b)&&!function(V,f){if(V.type==="UnaryExpression"){let{operator:v,argument:B}=V;if(v==="-"&&hr(B,f))return!0}return!1}(ze,b))||G==="TemplateLiteral"&&ze.expressions.length===0||!!xr(ze)}function hr(ze,b){return b?ze.type==="Literal"&&(typeof ze.value=="number"||"bigint"in ze):ze.type==="NumericLiteral"||ze.type==="BigIntLiteral"}function dr(ze){return ze.type==="Identifier"||ze.type==="MemberExpression"&&!ze.computed&&dr(ze.object)}let Sn=A`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),Xn=["minimal","fsharp","hack","smart"],zn=["^^","@@","^","%","#"],en={estree:ze=>class extends ze{parse(){let b=L(super.parse());return this.options.tokens&&(b.tokens=b.tokens.map(L)),b}parseRegExpLiteral({pattern:b,flags:N}){let G=null;try{G=new RegExp(b,N)}catch{}let V=this.estreeParseLiteral(G);return V.regex={pattern:b,flags:N},V}parseBigIntLiteral(b){let N;try{N=BigInt(b)}catch{N=null}let G=this.estreeParseLiteral(N);return G.bigint=String(G.value||b),G}parseDecimalLiteral(b){let N=this.estreeParseLiteral(null);return N.decimal=String(N.value||b),N}estreeParseLiteral(b){return this.parseLiteral(b,"Literal")}parseStringLiteral(b){return this.estreeParseLiteral(b)}parseNumericLiteral(b){return this.estreeParseLiteral(b)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(b){return this.estreeParseLiteral(b)}directiveToStmt(b){let N=b.value;delete b.value,N.type="Literal",N.raw=N.extra.raw,N.value=N.extra.expressionValue;let G=b;return G.type="ExpressionStatement",G.expression=N,G.directive=N.extra.rawValue,delete N.extra,G}initFunction(b,N){super.initFunction(b,N),b.expression=!1}checkDeclaration(b){b!=null&&this.isObjectProperty(b)?this.checkDeclaration(b.value):super.checkDeclaration(b)}getObjectOrClassMethodParams(b){return b.value.params}isValidDirective(b){var N;return b.type==="ExpressionStatement"&&b.expression.type==="Literal"&&typeof b.expression.value=="string"&&!((N=b.expression.extra)!=null&&N.parenthesized)}parseBlockBody(b,N,G,V,f){super.parseBlockBody(b,N,G,V,f);let v=b.directives.map(B=>this.directiveToStmt(B));b.body=v.concat(b.body),delete b.directives}pushClassMethod(b,N,G,V,f,v){this.parseMethod(N,G,V,f,v,"ClassMethod",!0),N.typeParameters&&(N.value.typeParameters=N.typeParameters,delete N.typeParameters),b.body.push(N)}parsePrivateName(){let b=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(b):b}convertPrivateNameToPrivateIdentifier(b){let N=super.getPrivateNameSV(b);return delete b.id,b.name=N,b.type="PrivateIdentifier",b}isPrivateName(b){return this.getPluginOption("estree","classFeatures")?b.type==="PrivateIdentifier":super.isPrivateName(b)}getPrivateNameSV(b){return this.getPluginOption("estree","classFeatures")?b.name:super.getPrivateNameSV(b)}parseLiteral(b,N){let G=super.parseLiteral(b,N);return G.raw=G.extra.raw,delete G.extra,G}parseFunctionBody(b,N,G=!1){super.parseFunctionBody(b,N,G),b.expression=b.body.type!=="BlockStatement"}parseMethod(b,N,G,V,f,v,B=!1){let X=this.startNode();return X.kind=b.kind,X=super.parseMethod(X,N,G,V,f,v,B),X.type="FunctionExpression",delete X.kind,b.value=X,v==="ClassPrivateMethod"&&(b.computed=!1),this.finishNode(b,"MethodDefinition")}nameIsConstructor(b){return b.type==="Literal"?b.value==="constructor":super.nameIsConstructor(b)}parseClassProperty(...b){let N=super.parseClassProperty(...b);return this.getPluginOption("estree","classFeatures")&&(N.type="PropertyDefinition"),N}parseClassPrivateProperty(...b){let N=super.parseClassPrivateProperty(...b);return this.getPluginOption("estree","classFeatures")&&(N.type="PropertyDefinition",N.computed=!1),N}parseObjectMethod(b,N,G,V,f){let v=super.parseObjectMethod(b,N,G,V,f);return v&&(v.type="Property",v.kind==="method"&&(v.kind="init"),v.shorthand=!1),v}parseObjectProperty(b,N,G,V){let f=super.parseObjectProperty(b,N,G,V);return f&&(f.kind="init",f.type="Property"),f}isValidLVal(b,N,G){return b==="Property"?"value":super.isValidLVal(b,N,G)}isAssignable(b,N){return b!=null&&this.isObjectProperty(b)?this.isAssignable(b.value,N):super.isAssignable(b,N)}toAssignable(b,N=!1){if(b!=null&&this.isObjectProperty(b)){let{key:G,value:V}=b;this.isPrivateName(G)&&this.classScope.usePrivateName(this.getPrivateNameSV(G),G.loc.start),this.toAssignable(V,N)}else super.toAssignable(b,N)}toAssignableObjectExpressionProp(b,N,G){b.type!=="Property"||b.kind!=="get"&&b.kind!=="set"?b.type==="Property"&&b.method?this.raise(S.PatternHasMethod,b.key):super.toAssignableObjectExpressionProp(b,N,G):this.raise(S.PatternHasAccessor,b.key)}finishCallExpression(b,N){let G=super.finishCallExpression(b,N);if(G.callee.type==="Import"){var V,f;G.type="ImportExpression",G.source=G.arguments[0],(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(G.options=(V=G.arguments[1])!=null?V:null,G.attributes=(f=G.arguments[1])!=null?f:null),delete G.arguments,delete G.callee}return G}toReferencedArguments(b){b.type!=="ImportExpression"&&super.toReferencedArguments(b)}parseExport(b,N){let G=this.state.lastTokStartLoc,V=super.parseExport(b,N);switch(V.type){case"ExportAllDeclaration":V.exported=null;break;case"ExportNamedDeclaration":V.specifiers.length===1&&V.specifiers[0].type==="ExportNamespaceSpecifier"&&(V.type="ExportAllDeclaration",V.exported=V.specifiers[0].exported,delete V.specifiers);case"ExportDefaultDeclaration":{var f;let{declaration:v}=V;v?.type==="ClassDeclaration"&&((f=v.decorators)==null?void 0:f.length)>0&&v.start===V.start&&this.resetStartLocation(V,G)}}return V}parseSubscript(b,N,G,V){let f=super.parseSubscript(b,N,G,V);if(V.optionalChainMember){if(f.type!=="OptionalMemberExpression"&&f.type!=="OptionalCallExpression"||(f.type=f.type.substring(8)),V.stop){let v=this.startNodeAtNode(f);return v.expression=f,this.finishNode(v,"ChainExpression")}}else f.type!=="MemberExpression"&&f.type!=="CallExpression"||(f.optional=!1);return f}isOptionalMemberExpression(b){return b.type==="ChainExpression"?b.expression.type==="MemberExpression":super.isOptionalMemberExpression(b)}hasPropertyAsPrivateName(b){return b.type==="ChainExpression"&&(b=b.expression),super.hasPropertyAsPrivateName(b)}isObjectProperty(b){return b.type==="Property"&&b.kind==="init"&&!b.method}isObjectMethod(b){return b.type==="Property"&&(b.method||b.kind==="get"||b.kind==="set")}finishNodeAt(b,N,G){return L(super.finishNodeAt(b,N,G))}resetStartLocation(b,N){super.resetStartLocation(b,N),L(b)}resetEndLocation(b,N=this.state.lastTokEndLoc){super.resetEndLocation(b,N),L(b)}},jsx:ze=>class extends ze{jsxReadToken(){let b="",N=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(ns.UnterminatedJsxContent,this.state.startLoc);let G=this.input.charCodeAt(this.state.pos);switch(G){case 60:case 123:return this.state.pos===this.state.start?void(G===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(G)):(b+=this.input.slice(N,this.state.pos),void this.finishToken(141,b));case 38:b+=this.input.slice(N,this.state.pos),b+=this.jsxReadEntity(),N=this.state.pos;break;default:Pe(G)?(b+=this.input.slice(N,this.state.pos),b+=this.jsxReadNewLine(!0),N=this.state.pos):++this.state.pos}}}jsxReadNewLine(b){let N=this.input.charCodeAt(this.state.pos),G;return++this.state.pos,N===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,G=b?`
|
|
`:`\r
|
|
`):G=String.fromCharCode(N),++this.state.curLine,this.state.lineStart=this.state.pos,G}jsxReadString(b){let N="",G=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(S.UnterminatedString,this.state.startLoc);let V=this.input.charCodeAt(this.state.pos);if(V===b)break;V===38?(N+=this.input.slice(G,this.state.pos),N+=this.jsxReadEntity(),G=this.state.pos):Pe(V)?(N+=this.input.slice(G,this.state.pos),N+=this.jsxReadNewLine(!1),G=this.state.pos):++this.state.pos}N+=this.input.slice(G,this.state.pos++),this.finishToken(133,N)}jsxReadEntity(){let b=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let N=10;this.codePointAtPos(this.state.pos)===120&&(N=16,++this.state.pos);let G=this.readInt(N,void 0,!1,"bail");if(G!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(G)}else{let N=0,G=!1;for(;N++<10&&this.state.pos<this.length&&!(G=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(G){let V=this.input.slice(b,this.state.pos),f=Xi[V];if(++this.state.pos,f)return f}}return this.state.pos=b,"&"}jsxReadWord(){let b,N=this.state.pos;do b=this.input.charCodeAt(++this.state.pos);while(Ie(b)||b===45);this.finishToken(140,this.input.slice(N,this.state.pos))}jsxParseIdentifier(){let b=this.startNode();return this.match(140)?b.name=this.state.value:He(this.state.type)?b.name=be(this.state.type):this.unexpected(),this.next(),this.finishNode(b,"JSXIdentifier")}jsxParseNamespacedName(){let b=this.state.startLoc,N=this.jsxParseIdentifier();if(!this.eat(14))return N;let G=this.startNodeAt(b);return G.namespace=N,G.name=this.jsxParseIdentifier(),this.finishNode(G,"JSXNamespacedName")}jsxParseElementName(){let b=this.state.startLoc,N=this.jsxParseNamespacedName();if(N.type==="JSXNamespacedName")return N;for(;this.eat(16);){let G=this.startNodeAt(b);G.object=N,G.property=this.jsxParseIdentifier(),N=this.finishNode(G,"JSXMemberExpression")}return N}jsxParseAttributeValue(){let b;switch(this.state.type){case 5:return b=this.startNode(),this.setContext(C.brace),this.next(),b=this.jsxParseExpressionContainer(b,C.j_oTag),b.expression.type==="JSXEmptyExpression"&&this.raise(ns.AttributeIsEmpty,b),b;case 142:case 133:return this.parseExprAtom();default:throw this.raise(ns.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let b=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(b,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(b){return this.next(),b.expression=this.parseExpression(),this.setContext(C.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(b,"JSXSpreadChild")}jsxParseExpressionContainer(b,N){if(this.match(8))b.expression=this.jsxParseEmptyExpression();else{let G=this.parseExpression();b.expression=G}return this.setContext(N),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(b,"JSXExpressionContainer")}jsxParseAttribute(){let b=this.startNode();return this.match(5)?(this.setContext(C.brace),this.next(),this.expect(21),b.argument=this.parseMaybeAssignAllowIn(),this.setContext(C.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(b,"JSXSpreadAttribute")):(b.name=this.jsxParseNamespacedName(),b.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(b,"JSXAttribute"))}jsxParseOpeningElementAt(b){let N=this.startNodeAt(b);return this.eat(143)?this.finishNode(N,"JSXOpeningFragment"):(N.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(N))}jsxParseOpeningElementAfterName(b){let N=[];for(;!this.match(56)&&!this.match(143);)N.push(this.jsxParseAttribute());return b.attributes=N,b.selfClosing=this.eat(56),this.expect(143),this.finishNode(b,"JSXOpeningElement")}jsxParseClosingElementAt(b){let N=this.startNodeAt(b);return this.eat(143)?this.finishNode(N,"JSXClosingFragment"):(N.name=this.jsxParseElementName(),this.expect(143),this.finishNode(N,"JSXClosingElement"))}jsxParseElementAt(b){let N=this.startNodeAt(b),G=[],V=this.jsxParseOpeningElementAt(b),f=null;if(!V.selfClosing){e:for(;;)switch(this.state.type){case 142:if(b=this.state.startLoc,this.next(),this.eat(56)){f=this.jsxParseClosingElementAt(b);break e}G.push(this.jsxParseElementAt(b));break;case 141:G.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let v=this.startNode();this.setContext(C.brace),this.next(),this.match(21)?G.push(this.jsxParseSpreadChild(v)):G.push(this.jsxParseExpressionContainer(v,C.j_expr));break}default:this.unexpected()}vr(V)&&!vr(f)&&f!==null?this.raise(ns.MissingClosingTagFragment,f):!vr(V)&&vr(f)?this.raise(ns.MissingClosingTagElement,f,{openingTagName:Yt(V.name)}):vr(V)||vr(f)||Yt(f.name)!==Yt(V.name)&&this.raise(ns.MissingClosingTagElement,f,{openingTagName:Yt(V.name)})}if(vr(V)?(N.openingFragment=V,N.closingFragment=f):(N.openingElement=V,N.closingElement=f),N.children=G,this.match(47))throw this.raise(ns.UnwrappedAdjacentJSXElements,this.state.startLoc);return vr(V)?this.finishNode(N,"JSXFragment"):this.finishNode(N,"JSXElement")}jsxParseElement(){let b=this.state.startLoc;return this.next(),this.jsxParseElementAt(b)}setContext(b){let{context:N}=this.state;N[N.length-1]=b}parseExprAtom(b){return this.match(142)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(142),this.jsxParseElement()):super.parseExprAtom(b)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(b){let N=this.curContext();if(N!==C.j_expr){if(N===C.j_oTag||N===C.j_cTag){if(se(b))return void this.jsxReadWord();if(b===62)return++this.state.pos,void this.finishToken(143);if((b===34||b===39)&&N===C.j_oTag)return void this.jsxReadString(b)}if(b===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33)return++this.state.pos,void this.finishToken(142);super.getTokenFromCode(b)}else this.jsxReadToken()}updateContext(b){let{context:N,type:G}=this.state;if(G===56&&b===142)N.splice(-2,2,C.j_cTag),this.state.canStartJSXElement=!1;else if(G===142)N.push(C.j_oTag);else if(G===143){let V=N[N.length-1];V===C.j_oTag&&b===56||V===C.j_cTag?(N.pop(),this.state.canStartJSXElement=N[N.length-1]===C.j_expr):(this.setContext(C.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=W[G]}},flow:ze=>class extends ze{constructor(...b){super(...b),this.flowPragma=void 0}getScopeHandler(){return At}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(b,N){b!==133&&b!==13&&b!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(b,N)}addComment(b){if(this.flowPragma===void 0){let N=Rs.exec(b.value);if(N)if(N[1]==="flow")this.flowPragma="flow";else{if(N[1]!=="noflow")throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}super.addComment(b)}flowParseTypeInitialiser(b){let N=this.state.inType;this.state.inType=!0,this.expect(b||14);let G=this.flowParseType();return this.state.inType=N,G}flowParsePredicate(){let b=this.startNode(),N=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>N.index+1&&this.raise(Mr.UnexpectedSpaceBetweenModuloChecks,N),this.eat(10)?(b.value=super.parseExpression(),this.expect(11),this.finishNode(b,"DeclaredPredicate")):this.finishNode(b,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let b=this.state.inType;this.state.inType=!0,this.expect(14);let N=null,G=null;return this.match(54)?(this.state.inType=b,G=this.flowParsePredicate()):(N=this.flowParseType(),this.state.inType=b,this.match(54)&&(G=this.flowParsePredicate())),[N,G]}flowParseDeclareClass(b){return this.next(),this.flowParseInterfaceish(b,!0),this.finishNode(b,"DeclareClass")}flowParseDeclareFunction(b){this.next();let N=b.id=this.parseIdentifier(),G=this.startNode(),V=this.startNode();this.match(47)?G.typeParameters=this.flowParseTypeParameterDeclaration():G.typeParameters=null,this.expect(10);let f=this.flowParseFunctionTypeParams();return G.params=f.params,G.rest=f.rest,G.this=f._this,this.expect(11),[G.returnType,b.predicate]=this.flowParseTypeAndPredicateInitialiser(),V.typeAnnotation=this.finishNode(G,"FunctionTypeAnnotation"),N.typeAnnotation=this.finishNode(V,"TypeAnnotation"),this.resetEndLocation(N),this.semicolon(),this.scope.declareName(b.id.name,2048,b.id.loc.start),this.finishNode(b,"DeclareFunction")}flowParseDeclare(b,N){return this.match(80)?this.flowParseDeclareClass(b):this.match(68)?this.flowParseDeclareFunction(b):this.match(74)?this.flowParseDeclareVariable(b):this.eatContextual(127)?this.match(16)?this.flowParseDeclareModuleExports(b):(N&&this.raise(Mr.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(b)):this.isContextual(130)?this.flowParseDeclareTypeAlias(b):this.isContextual(131)?this.flowParseDeclareOpaqueType(b):this.isContextual(129)?this.flowParseDeclareInterface(b):this.match(82)?this.flowParseDeclareExportDeclaration(b,N):void this.unexpected()}flowParseDeclareVariable(b){return this.next(),b.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(b.id.name,5,b.id.loc.start),this.semicolon(),this.finishNode(b,"DeclareVariable")}flowParseDeclareModule(b){this.scope.enter(0),this.match(133)?b.id=super.parseExprAtom():b.id=this.parseIdentifier();let N=b.body=this.startNode(),G=N.body=[];for(this.expect(5);!this.match(8);){let v=this.startNode();this.match(83)?(this.next(),this.isContextual(130)||this.match(87)||this.raise(Mr.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(v)):(this.expectContextual(125,Mr.UnsupportedStatementInDeclareModule),v=this.flowParseDeclare(v,!0)),G.push(v)}this.scope.exit(),this.expect(8),this.finishNode(N,"BlockStatement");let V=null,f=!1;return G.forEach(v=>{(function(B){return B.type==="DeclareExportAllDeclaration"||B.type==="DeclareExportDeclaration"&&(!B.declaration||B.declaration.type!=="TypeAlias"&&B.declaration.type!=="InterfaceDeclaration")})(v)?(V==="CommonJS"&&this.raise(Mr.AmbiguousDeclareModuleKind,v),V="ES"):v.type==="DeclareModuleExports"&&(f&&this.raise(Mr.DuplicateDeclareModuleExports,v),V==="ES"&&this.raise(Mr.AmbiguousDeclareModuleKind,v),V="CommonJS",f=!0)}),b.kind=V||"CommonJS",this.finishNode(b,"DeclareModule")}flowParseDeclareExportDeclaration(b,N){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?b.declaration=this.flowParseDeclare(this.startNode()):(b.declaration=this.flowParseType(),this.semicolon()),b.default=!0,this.finishNode(b,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!N){let G=this.state.value;throw this.raise(Mr.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:G,suggestion:Br[G]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(131)?(b.declaration=this.flowParseDeclare(this.startNode()),b.default=!1,this.finishNode(b,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)?((b=this.parseExport(b,null)).type==="ExportNamedDeclaration"&&(b.type="ExportDeclaration",b.default=!1,delete b.exportKind),b.type="Declare"+b.type,b):void this.unexpected()}flowParseDeclareModuleExports(b){return this.next(),this.expectContextual(111),b.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(b,"DeclareModuleExports")}flowParseDeclareTypeAlias(b){this.next();let N=this.flowParseTypeAlias(b);return N.type="DeclareTypeAlias",N}flowParseDeclareOpaqueType(b){this.next();let N=this.flowParseOpaqueType(b,!0);return N.type="DeclareOpaqueType",N}flowParseDeclareInterface(b){return this.next(),this.flowParseInterfaceish(b,!1),this.finishNode(b,"DeclareInterface")}flowParseInterfaceish(b,N){if(b.id=this.flowParseRestrictedIdentifier(!N,!0),this.scope.declareName(b.id.name,N?17:8201,b.id.loc.start),this.match(47)?b.typeParameters=this.flowParseTypeParameterDeclaration():b.typeParameters=null,b.extends=[],this.eat(81))do b.extends.push(this.flowParseInterfaceExtends());while(!N&&this.eat(12));if(N){if(b.implements=[],b.mixins=[],this.eatContextual(117))do b.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do b.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}b.body=this.flowParseObjectType({allowStatic:N,allowExact:!1,allowSpread:!1,allowProto:N,allowInexact:!1})}flowParseInterfaceExtends(){let b=this.startNode();return b.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?b.typeParameters=this.flowParseTypeParameterInstantiation():b.typeParameters=null,this.finishNode(b,"InterfaceExtends")}flowParseInterface(b){return this.flowParseInterfaceish(b,!1),this.finishNode(b,"InterfaceDeclaration")}checkNotUnderscore(b){b==="_"&&this.raise(Mr.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(b,N,G){qr.has(b)&&this.raise(G?Mr.AssignReservedType:Mr.UnexpectedReservedType,N,{reservedType:b})}flowParseRestrictedIdentifier(b,N){return this.checkReservedType(this.state.value,this.state.startLoc,N),this.parseIdentifier(b)}flowParseTypeAlias(b){return b.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(b.id.name,8201,b.id.loc.start),this.match(47)?b.typeParameters=this.flowParseTypeParameterDeclaration():b.typeParameters=null,b.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(b,"TypeAlias")}flowParseOpaqueType(b,N){return this.expectContextual(130),b.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(b.id.name,8201,b.id.loc.start),this.match(47)?b.typeParameters=this.flowParseTypeParameterDeclaration():b.typeParameters=null,b.supertype=null,this.match(14)&&(b.supertype=this.flowParseTypeInitialiser(14)),b.impltype=null,N||(b.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(b,"OpaqueType")}flowParseTypeParameter(b=!1){let N=this.state.startLoc,G=this.startNode(),V=this.flowParseVariance(),f=this.flowParseTypeAnnotatableIdentifier();return G.name=f.name,G.variance=V,G.bound=f.typeAnnotation,this.match(29)?(this.eat(29),G.default=this.flowParseType()):b&&this.raise(Mr.MissingTypeParamDefault,N),this.finishNode(G,"TypeParameter")}flowParseTypeParameterDeclaration(){let b=this.state.inType,N=this.startNode();N.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();let G=!1;do{let V=this.flowParseTypeParameter(G);N.params.push(V),V.default&&(G=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=b,this.finishNode(N,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let b=this.startNode(),N=this.state.inType;b.params=[],this.state.inType=!0,this.expect(47);let G=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)b.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=G,this.expect(48),this.state.inType=N,this.finishNode(b,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let b=this.startNode(),N=this.state.inType;for(b.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)b.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=N,this.finishNode(b,"TypeParameterInstantiation")}flowParseInterfaceType(){let b=this.startNode();if(this.expectContextual(129),b.extends=[],this.eat(81))do b.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return b.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(b,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(134)||this.match(133)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(b,N,G){return b.static=N,this.lookahead().type===14?(b.id=this.flowParseObjectPropertyKey(),b.key=this.flowParseTypeInitialiser()):(b.id=null,b.key=this.flowParseType()),this.expect(3),b.value=this.flowParseTypeInitialiser(),b.variance=G,this.finishNode(b,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(b,N){return b.static=N,b.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(b.method=!0,b.optional=!1,b.value=this.flowParseObjectTypeMethodish(this.startNodeAt(b.loc.start))):(b.method=!1,this.eat(17)&&(b.optional=!0),b.value=this.flowParseTypeInitialiser()),this.finishNode(b,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(b){for(b.params=[],b.rest=null,b.typeParameters=null,b.this=null,this.match(47)&&(b.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(b.this=this.flowParseFunctionTypeParam(!0),b.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)b.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(b.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),b.returnType=this.flowParseTypeInitialiser(),this.finishNode(b,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(b,N){let G=this.startNode();return b.static=N,b.value=this.flowParseObjectTypeMethodish(G),this.finishNode(b,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:b,allowExact:N,allowSpread:G,allowProto:V,allowInexact:f}){let v=this.state.inType;this.state.inType=!0;let B=this.startNode(),X,ae;B.callProperties=[],B.properties=[],B.indexers=[],B.internalSlots=[];let Te=!1;for(N&&this.match(6)?(this.expect(6),X=9,ae=!0):(this.expect(5),X=8,ae=!1),B.exact=ae;!this.match(X);){let rt=!1,at=null,St=null,Kt=this.startNode();if(V&&this.isContextual(118)){let lr=this.lookahead();lr.type!==14&&lr.type!==17&&(this.next(),at=this.state.startLoc,b=!1)}if(b&&this.isContextual(106)){let lr=this.lookahead();lr.type!==14&&lr.type!==17&&(this.next(),rt=!0)}let gr=this.flowParseVariance();if(this.eat(0))at!=null&&this.unexpected(at),this.eat(0)?(gr&&this.unexpected(gr.loc.start),B.internalSlots.push(this.flowParseObjectTypeInternalSlot(Kt,rt))):B.indexers.push(this.flowParseObjectTypeIndexer(Kt,rt,gr));else if(this.match(10)||this.match(47))at!=null&&this.unexpected(at),gr&&this.unexpected(gr.loc.start),B.callProperties.push(this.flowParseObjectTypeCallProperty(Kt,rt));else{let lr="init";(this.isContextual(99)||this.isContextual(104))&&z(this.lookahead().type)&&(lr=this.state.value,this.next());let Ur=this.flowParseObjectTypeProperty(Kt,rt,at,gr,lr,G,f??!ae);Ur===null?(Te=!0,St=this.state.lastTokStartLoc):B.properties.push(Ur)}this.flowObjectTypeSemicolon(),!St||this.match(8)||this.match(9)||this.raise(Mr.UnexpectedExplicitInexactInObject,St)}this.expect(X),G&&(B.inexact=Te);let Ke=this.finishNode(B,"ObjectTypeAnnotation");return this.state.inType=v,Ke}flowParseObjectTypeProperty(b,N,G,V,f,v,B){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(v?B||this.raise(Mr.InexactInsideExact,this.state.lastTokStartLoc):this.raise(Mr.InexactInsideNonObject,this.state.lastTokStartLoc),V&&this.raise(Mr.InexactVariance,V),null):(v||this.raise(Mr.UnexpectedSpreadType,this.state.lastTokStartLoc),G!=null&&this.unexpected(G),V&&this.raise(Mr.SpreadVariance,V),b.argument=this.flowParseType(),this.finishNode(b,"ObjectTypeSpreadProperty"));{b.key=this.flowParseObjectPropertyKey(),b.static=N,b.proto=G!=null,b.kind=f;let X=!1;return this.match(47)||this.match(10)?(b.method=!0,G!=null&&this.unexpected(G),V&&this.unexpected(V.loc.start),b.value=this.flowParseObjectTypeMethodish(this.startNodeAt(b.loc.start)),f!=="get"&&f!=="set"||this.flowCheckGetterSetterParams(b),!v&&b.key.name==="constructor"&&b.value.this&&this.raise(Mr.ThisParamBannedInConstructor,b.value.this)):(f!=="init"&&this.unexpected(),b.method=!1,this.eat(17)&&(X=!0),b.value=this.flowParseTypeInitialiser(),b.variance=V),b.optional=X,this.finishNode(b,"ObjectTypeProperty")}}flowCheckGetterSetterParams(b){let N=b.kind==="get"?0:1,G=b.value.params.length+(b.value.rest?1:0);b.value.this&&this.raise(b.kind==="get"?Mr.GetterMayNotHaveThisParam:Mr.SetterMayNotHaveThisParam,b.value.this),G!==N&&this.raise(b.kind==="get"?S.BadGetterArity:S.BadSetterArity,b),b.kind==="set"&&b.value.rest&&this.raise(S.BadSetterRestParameter,b)}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(b,N){b!=null||(b=this.state.startLoc);let G=N||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let V=this.startNodeAt(b);V.qualification=G,V.id=this.flowParseRestrictedIdentifier(!0),G=this.finishNode(V,"QualifiedTypeIdentifier")}return G}flowParseGenericType(b,N){let G=this.startNodeAt(b);return G.typeParameters=null,G.id=this.flowParseQualifiedTypeIdentifier(b,N),this.match(47)&&(G.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(G,"GenericTypeAnnotation")}flowParseTypeofType(){let b=this.startNode();return this.expect(87),b.argument=this.flowParsePrimaryType(),this.finishNode(b,"TypeofTypeAnnotation")}flowParseTupleType(){let b=this.startNode();for(b.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(b.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(b,"TupleTypeAnnotation")}flowParseFunctionTypeParam(b){let N=null,G=!1,V=null,f=this.startNode(),v=this.lookahead(),B=this.state.type===78;return v.type===14||v.type===17?(B&&!b&&this.raise(Mr.ThisParamMustBeFirst,f),N=this.parseIdentifier(B),this.eat(17)&&(G=!0,B&&this.raise(Mr.ThisParamMayNotBeOptional,f)),V=this.flowParseTypeInitialiser()):V=this.flowParseType(),f.name=N,f.optional=G,f.typeAnnotation=V,this.finishNode(f,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(b){let N=this.startNodeAt(b.loc.start);return N.name=null,N.optional=!1,N.typeAnnotation=b,this.finishNode(N,"FunctionTypeParam")}flowParseFunctionTypeParams(b=[]){let N=null,G=null;for(this.match(78)&&(G=this.flowParseFunctionTypeParam(!0),G.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)b.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(N=this.flowParseFunctionTypeParam(!1)),{params:b,rest:N,_this:G}}flowIdentToTypeAnnotation(b,N,G){switch(G.name){case"any":return this.finishNode(N,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(N,"BooleanTypeAnnotation");case"mixed":return this.finishNode(N,"MixedTypeAnnotation");case"empty":return this.finishNode(N,"EmptyTypeAnnotation");case"number":return this.finishNode(N,"NumberTypeAnnotation");case"string":return this.finishNode(N,"StringTypeAnnotation");case"symbol":return this.finishNode(N,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(G.name),this.flowParseGenericType(b,G)}}flowParsePrimaryType(){let b=this.state.startLoc,N=this.startNode(),G,V,f=!1,v=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,V=this.flowParseTupleType(),this.state.noAnonFunctionType=v,V;case 47:{let B=this.startNode();return B.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),G=this.flowParseFunctionTypeParams(),B.params=G.params,B.rest=G.rest,B.this=G._this,this.expect(11),this.expect(19),B.returnType=this.flowParseType(),this.finishNode(B,"FunctionTypeAnnotation")}case 10:{let B=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(q(this.state.type)||this.match(78)){let X=this.lookahead().type;f=X!==17&&X!==14}else f=!0;if(f){if(this.state.noAnonFunctionType=!1,V=this.flowParseType(),this.state.noAnonFunctionType=v,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),V;this.eat(12)}return G=V?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(V)]):this.flowParseFunctionTypeParams(),B.params=G.params,B.rest=G.rest,B.this=G._this,this.expect(11),this.expect(19),B.returnType=this.flowParseType(),B.typeParameters=null,this.finishNode(B,"FunctionTypeAnnotation")}case 133:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return N.value=this.match(85),this.next(),this.finishNode(N,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(134))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",N);if(this.match(135))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",N);throw this.raise(Mr.UnexpectedSubtractionOperand,this.state.startLoc)}return void this.unexpected();case 134:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 135:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(N,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(N,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(N,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(N,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(He(this.state.type)){let B=be(this.state.type);return this.next(),super.createIdentifier(N,B)}if(q(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(b,N,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let b=this.state.startLoc,N=this.flowParsePrimaryType(),G=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let V=this.startNodeAt(b),f=this.eat(18);G=G||f,this.expect(0),!f&&this.match(3)?(V.elementType=N,this.next(),N=this.finishNode(V,"ArrayTypeAnnotation")):(V.objectType=N,V.indexType=this.flowParseType(),this.expect(3),G?(V.optional=f,N=this.finishNode(V,"OptionalIndexedAccessType")):N=this.finishNode(V,"IndexedAccessType"))}return N}flowParsePrefixType(){let b=this.startNode();return this.eat(17)?(b.typeAnnotation=this.flowParsePrefixType(),this.finishNode(b,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let b=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let N=this.startNodeAt(b.loc.start);return N.params=[this.reinterpretTypeAsFunctionTypeParam(b)],N.rest=null,N.this=null,N.returnType=this.flowParseType(),N.typeParameters=null,this.finishNode(N,"FunctionTypeAnnotation")}return b}flowParseIntersectionType(){let b=this.startNode();this.eat(45);let N=this.flowParseAnonFunctionWithoutParens();for(b.types=[N];this.eat(45);)b.types.push(this.flowParseAnonFunctionWithoutParens());return b.types.length===1?N:this.finishNode(b,"IntersectionTypeAnnotation")}flowParseUnionType(){let b=this.startNode();this.eat(43);let N=this.flowParseIntersectionType();for(b.types=[N];this.eat(43);)b.types.push(this.flowParseIntersectionType());return b.types.length===1?N:this.finishNode(b,"UnionTypeAnnotation")}flowParseType(){let b=this.state.inType;this.state.inType=!0;let N=this.flowParseUnionType();return this.state.inType=b,N}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let b=this.state.startLoc,N=this.parseIdentifier();return this.flowParseGenericType(b,N)}return this.flowParseType()}flowParseTypeAnnotation(){let b=this.startNode();return b.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(b,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(b){let N=b?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(N.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(N)),N}typeCastToParameter(b){return b.expression.typeAnnotation=b.typeAnnotation,this.resetEndLocation(b.expression,b.typeAnnotation.loc.end),b.expression}flowParseVariance(){let b=null;return this.match(53)?(b=this.startNode(),this.state.value==="+"?b.kind="plus":b.kind="minus",this.next(),this.finishNode(b,"Variance")):b}parseFunctionBody(b,N,G=!1){N?this.forwardNoArrowParamsConversionAt(b,()=>super.parseFunctionBody(b,!0,G)):super.parseFunctionBody(b,!1,G)}parseFunctionBodyAndFinish(b,N,G=!1){if(this.match(14)){let V=this.startNode();[V.typeAnnotation,b.predicate]=this.flowParseTypeAndPredicateInitialiser(),b.returnType=V.typeAnnotation?this.finishNode(V,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(b,N,G)}parseStatementLike(b){if(this.state.strict&&this.isContextual(129)){if(Q(this.lookahead().type)){let G=this.startNode();return this.next(),this.flowParseInterface(G)}}else if(this.plugins.get("flow").enums&&this.isContextual(126)){let G=this.startNode();return this.next(),this.flowParseEnumDeclaration(G)}let N=super.parseStatementLike(b);return this.flowPragma!==void 0||this.isValidDirective(N)||(this.flowPragma=null),N}parseExpressionStatement(b,N,G){if(N.type==="Identifier"){if(N.name==="declare"){if(this.match(80)||q(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(b)}else if(q(this.state.type)){if(N.name==="interface")return this.flowParseInterface(b);if(N.name==="type")return this.flowParseTypeAlias(b);if(N.name==="opaque")return this.flowParseOpaqueType(b,!1)}}return super.parseExpressionStatement(b,N,G)}shouldParseExportDeclaration(){let{type:b}=this.state;return _e(b)||this.plugins.get("flow").enums&&b===126?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:b}=this.state;return _e(b)||this.plugins.get("flow").enums&&b===126?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.plugins.get("flow").enums&&this.isContextual(126)){let b=this.startNode();return this.next(),this.flowParseEnumDeclaration(b)}return super.parseExportDefaultExpression()}parseConditional(b,N,G){if(!this.match(17))return b;if(this.state.maybeInArrowParameters){let Ke=this.lookaheadCharCode();if(Ke===44||Ke===61||Ke===58||Ke===41)return this.setOptionalParametersError(G),b}this.expect(17);let V=this.state.clone(),f=this.state.noArrowAt,v=this.startNodeAt(N),{consequent:B,failed:X}=this.tryParseConditionalConsequent(),[ae,Te]=this.getArrowLikeExpressions(B);if(X||Te.length>0){let Ke=[...f];if(Te.length>0){this.state=V,this.state.noArrowAt=Ke;for(let rt=0;rt<Te.length;rt++)Ke.push(Te[rt].start);({consequent:B,failed:X}=this.tryParseConditionalConsequent()),[ae,Te]=this.getArrowLikeExpressions(B)}X&&ae.length>1&&this.raise(Mr.AmbiguousConditionalArrow,V.startLoc),X&&ae.length===1&&(this.state=V,Ke.push(ae[0].start),this.state.noArrowAt=Ke,{consequent:B,failed:X}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(B,!0),this.state.noArrowAt=f,this.expect(14),v.test=b,v.consequent=B,v.alternate=this.forwardNoArrowParamsConversionAt(v,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(v,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let b=this.parseMaybeAssignAllowIn(),N=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:b,failed:N}}getArrowLikeExpressions(b,N){let G=[b],V=[];for(;G.length!==0;){let f=G.pop();f.type==="ArrowFunctionExpression"&&f.body.type!=="BlockStatement"?(f.typeParameters||!f.returnType?this.finishArrowValidation(f):V.push(f),G.push(f.body)):f.type==="ConditionalExpression"&&(G.push(f.consequent),G.push(f.alternate))}return N?(V.forEach(f=>this.finishArrowValidation(f)),[V,[]]):function(f,v){let B=[],X=[];for(let ae=0;ae<f.length;ae++)(v(f[ae],ae,f)?B:X).push(f[ae]);return[B,X]}(V,f=>f.params.every(v=>this.isAssignable(v,!0)))}finishArrowValidation(b){var N;this.toAssignableList(b.params,(N=b.extra)==null?void 0:N.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(b,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(b,N){let G;return this.state.noArrowParamsConversionAt.includes(b.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),G=N(),this.state.noArrowParamsConversionAt.pop()):G=N(),G}parseParenItem(b,N){let G=super.parseParenItem(b,N);if(this.eat(17)&&(G.optional=!0,this.resetEndLocation(b)),this.match(14)){let V=this.startNodeAt(N);return V.expression=G,V.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(V,"TypeCastExpression")}return G}assertModuleNodeAllowed(b){b.type==="ImportDeclaration"&&(b.importKind==="type"||b.importKind==="typeof")||b.type==="ExportNamedDeclaration"&&b.exportKind==="type"||b.type==="ExportAllDeclaration"&&b.exportKind==="type"||super.assertModuleNodeAllowed(b)}parseExportDeclaration(b){if(this.isContextual(130)){b.exportKind="type";let N=this.startNode();return this.next(),this.match(5)?(b.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(b),null):this.flowParseTypeAlias(N)}if(this.isContextual(131)){b.exportKind="type";let N=this.startNode();return this.next(),this.flowParseOpaqueType(N,!1)}if(this.isContextual(129)){b.exportKind="type";let N=this.startNode();return this.next(),this.flowParseInterface(N)}if(this.plugins.get("flow").enums&&this.isContextual(126)){b.exportKind="value";let N=this.startNode();return this.next(),this.flowParseEnumDeclaration(N)}return super.parseExportDeclaration(b)}eatExportStar(b){return!!super.eatExportStar(b)||!(!this.isContextual(130)||this.lookahead().type!==55)&&(b.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(b){let{startLoc:N}=this.state,G=super.maybeParseExportNamespaceSpecifier(b);return G&&b.exportKind==="type"&&this.unexpected(N),G}parseClassId(b,N,G){super.parseClassId(b,N,G),this.match(47)&&(b.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(b,N,G){let{startLoc:V}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(b,N))return;N.declare=!0}super.parseClassMember(b,N,G),N.declare&&(N.type!=="ClassProperty"&&N.type!=="ClassPrivateProperty"&&N.type!=="PropertyDefinition"?this.raise(Mr.DeclareClassElement,V):N.value&&this.raise(Mr.DeclareClassFieldInitializer,N.value))}isIterator(b){return b==="iterator"||b==="asyncIterator"}readIterator(){let b=super.readWord1(),N="@@"+b;this.isIterator(b)&&this.state.inType||this.raise(S.InvalidIdentifier,this.state.curPosition(),{identifierName:N}),this.finishToken(132,N)}getTokenFromCode(b){let N=this.input.charCodeAt(this.state.pos+1);b===123&&N===124?this.finishOp(6,2):!this.state.inType||b!==62&&b!==60?this.state.inType&&b===63?N===46?this.finishOp(18,2):this.finishOp(17,1):function(G,V,f){return G===64&&V===64&&se(f)}(b,N,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(b):this.finishOp(b===62?48:47,1)}isAssignable(b,N){return b.type==="TypeCastExpression"?this.isAssignable(b.expression,N):super.isAssignable(b,N)}toAssignable(b,N=!1){N||b.type!=="AssignmentExpression"||b.left.type!=="TypeCastExpression"||(b.left=this.typeCastToParameter(b.left)),super.toAssignable(b,N)}toAssignableList(b,N,G){for(let V=0;V<b.length;V++){let f=b[V];f?.type==="TypeCastExpression"&&(b[V]=this.typeCastToParameter(f))}super.toAssignableList(b,N,G)}toReferencedList(b,N){for(let V=0;V<b.length;V++){var G;let f=b[V];!f||f.type!=="TypeCastExpression"||(G=f.extra)!=null&&G.parenthesized||!(b.length>1)&&N||this.raise(Mr.TypeCastInPattern,f.typeAnnotation)}return b}parseArrayLike(b,N,G,V){let f=super.parseArrayLike(b,N,G,V);return N&&!this.state.maybeInArrowParameters&&this.toReferencedList(f.elements),f}isValidLVal(b,N,G){return b==="TypeCastExpression"||super.isValidLVal(b,N,G)}parseClassProperty(b){return this.match(14)&&(b.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(b)}parseClassPrivateProperty(b){return this.match(14)&&(b.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(b)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(b){return!this.match(14)&&super.isNonstaticConstructor(b)}pushClassMethod(b,N,G,V,f,v){if(N.variance&&this.unexpected(N.variance.loc.start),delete N.variance,this.match(47)&&(N.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(b,N,G,V,f,v),N.params&&f){let B=N.params;B.length>0&&this.isThisParam(B[0])&&this.raise(Mr.ThisParamBannedInConstructor,N)}else if(N.type==="MethodDefinition"&&f&&N.value.params){let B=N.value.params;B.length>0&&this.isThisParam(B[0])&&this.raise(Mr.ThisParamBannedInConstructor,N)}}pushClassPrivateMethod(b,N,G,V){N.variance&&this.unexpected(N.variance.loc.start),delete N.variance,this.match(47)&&(N.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(b,N,G,V)}parseClassSuper(b){if(super.parseClassSuper(b),b.superClass&&this.match(47)&&(b.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();let N=b.implements=[];do{let G=this.startNode();G.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?G.typeParameters=this.flowParseTypeParameterInstantiation():G.typeParameters=null,N.push(this.finishNode(G,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(b){super.checkGetterSetterParams(b);let N=this.getObjectOrClassMethodParams(b);if(N.length>0){let G=N[0];this.isThisParam(G)&&b.kind==="get"?this.raise(Mr.GetterMayNotHaveThisParam,G):this.isThisParam(G)&&this.raise(Mr.SetterMayNotHaveThisParam,G)}}parsePropertyNamePrefixOperator(b){b.variance=this.flowParseVariance()}parseObjPropValue(b,N,G,V,f,v,B){let X;b.variance&&this.unexpected(b.variance.loc.start),delete b.variance,this.match(47)&&!v&&(X=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let ae=super.parseObjPropValue(b,N,G,V,f,v,B);return X&&((ae.value||ae).typeParameters=X),ae}parseFunctionParamType(b){return this.eat(17)&&(b.type!=="Identifier"&&this.raise(Mr.PatternIsOptional,b),this.isThisParam(b)&&this.raise(Mr.ThisParamMayNotBeOptional,b),b.optional=!0),this.match(14)?b.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(b)&&this.raise(Mr.ThisParamAnnotationRequired,b),this.match(29)&&this.isThisParam(b)&&this.raise(Mr.ThisParamNoDefault,b),this.resetEndLocation(b),b}parseMaybeDefault(b,N){let G=super.parseMaybeDefault(b,N);return G.type==="AssignmentPattern"&&G.typeAnnotation&&G.right.start<G.typeAnnotation.start&&this.raise(Mr.TypeBeforeInitializer,G.typeAnnotation),G}checkImportReflection(b){super.checkImportReflection(b),b.module&&b.importKind!=="value"&&this.raise(Mr.ImportReflectionHasImportType,b.specifiers[0].loc.start)}parseImportSpecifierLocal(b,N,G){N.local=rs(b)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),b.specifiers.push(this.finishImportSpecifier(N,G))}isPotentialImportPhase(b){if(super.isPotentialImportPhase(b))return!0;if(this.isContextual(130)){if(!b)return!0;let N=this.lookaheadCharCode();return N===123||N===42}return!b&&this.isContextual(87)}applyImportPhase(b,N,G,V){if(super.applyImportPhase(b,N,G,V),N){if(!G&&this.match(65))return;b.exportKind=G==="type"?G:"value"}else G==="type"&&this.match(55)&&this.unexpected(),b.importKind=G==="type"||G==="typeof"?G:"value"}parseImportSpecifier(b,N,G,V,f){let v=b.imported,B=null;v.type==="Identifier"&&(v.name==="type"?B="type":v.name==="typeof"&&(B="typeof"));let X=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let Te=this.parseIdentifier(!0);B===null||Q(this.state.type)?(b.imported=v,b.importKind=null,b.local=this.parseIdentifier()):(b.imported=Te,b.importKind=B,b.local=Oi(Te))}else{if(B!==null&&Q(this.state.type))b.imported=this.parseIdentifier(!0),b.importKind=B;else{if(N)throw this.raise(S.ImportBindingIsString,b,{importName:v.value});b.imported=v,b.importKind=null}this.eatContextual(93)?b.local=this.parseIdentifier():(X=!0,b.local=Oi(b.imported))}let ae=rs(b);return G&&ae&&this.raise(Mr.ImportTypeShorthandOnlyInPureImport,b),(G||ae)&&this.checkReservedType(b.local.name,b.local.loc.start,!0),!X||G||ae||this.checkReservedWord(b.local.name,b.loc.start,!0,!0),this.finishImportSpecifier(b,"ImportSpecifier")}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(b,N){let G=b.kind;G!=="get"&&G!=="set"&&this.match(47)&&(b.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(b,N)}parseVarId(b,N){super.parseVarId(b,N),this.match(14)&&(b.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(b.id))}parseAsyncArrowFromCallExpression(b,N){if(this.match(14)){let G=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,b.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=G}return super.parseAsyncArrowFromCallExpression(b,N)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(b,N){var G;let V,f=null;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(f=this.state.clone(),V=this.tryParse(()=>super.parseMaybeAssign(b,N),f),!V.error)return V.node;let{context:X}=this.state,ae=X[X.length-1];ae!==C.j_oTag&&ae!==C.j_expr||X.pop()}if((G=V)!=null&&G.error||this.match(47)){var v,B;let X;f=f||this.state.clone();let ae=this.tryParse(Ke=>{var rt;X=this.flowParseTypeParameterDeclaration();let at=this.forwardNoArrowParamsConversionAt(X,()=>{let Kt=super.parseMaybeAssign(b,N);return this.resetStartLocationFromNode(Kt,X),Kt});(rt=at.extra)!=null&&rt.parenthesized&&Ke();let St=this.maybeUnwrapTypeCastExpression(at);return St.type!=="ArrowFunctionExpression"&&Ke(),St.typeParameters=X,this.resetStartLocationFromNode(St,X),at},f),Te=null;if(ae.node&&this.maybeUnwrapTypeCastExpression(ae.node).type==="ArrowFunctionExpression"){if(!ae.error&&!ae.aborted)return ae.node.async&&this.raise(Mr.UnexpectedTypeParameterBeforeAsyncArrowFunction,X),ae.node;Te=ae.node}if((v=V)!=null&&v.node)return this.state=V.failState,V.node;if(Te)return this.state=ae.failState,Te;throw(B=V)!=null&&B.thrown?V.error:ae.thrown?ae.error:this.raise(Mr.UnexpectedTokenAfterTypeParameter,X)}return super.parseMaybeAssign(b,N)}parseArrow(b){if(this.match(14)){let N=this.tryParse(()=>{let G=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let V=this.startNode();return[V.typeAnnotation,b.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=G,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),V});if(N.thrown)return null;N.error&&(this.state=N.failState),b.returnType=N.node.typeAnnotation?this.finishNode(N.node,"TypeAnnotation"):null}return super.parseArrow(b)}shouldParseArrow(b){return this.match(14)||super.shouldParseArrow(b)}setArrowFunctionParameters(b,N){this.state.noArrowParamsConversionAt.includes(b.start)?b.params=N:super.setArrowFunctionParameters(b,N)}checkParams(b,N,G,V=!0){if(!G||!this.state.noArrowParamsConversionAt.includes(b.start)){for(let f=0;f<b.params.length;f++)this.isThisParam(b.params[f])&&f>0&&this.raise(Mr.ThisParamMustBeFirst,b.params[f]);super.checkParams(b,N,G,V)}}parseParenAndDistinguishExpression(b){return super.parseParenAndDistinguishExpression(b&&!this.state.noArrowAt.includes(this.state.start))}parseSubscripts(b,N,G){if(b.type==="Identifier"&&b.name==="async"&&this.state.noArrowAt.includes(N.index)){this.next();let V=this.startNodeAt(N);V.callee=b,V.arguments=super.parseCallExpressionArguments(11,!1),b=this.finishNode(V,"CallExpression")}else if(b.type==="Identifier"&&b.name==="async"&&this.match(47)){let V=this.state.clone(),f=this.tryParse(B=>this.parseAsyncArrowWithTypeParameters(N)||B(),V);if(!f.error&&!f.aborted)return f.node;let v=this.tryParse(()=>super.parseSubscripts(b,N,G),V);if(v.node&&!v.error)return v.node;if(f.node)return this.state=f.failState,f.node;if(v.node)return this.state=v.failState,v.node;throw f.error||v.error}return super.parseSubscripts(b,N,G)}parseSubscript(b,N,G,V){if(this.match(18)&&this.isLookaheadToken_lt()){if(V.optionalChainMember=!0,G)return V.stop=!0,b;this.next();let f=this.startNodeAt(N);return f.callee=b,f.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),f.arguments=this.parseCallExpressionArguments(11,!1),f.optional=!0,this.finishCallExpression(f,!0)}if(!G&&this.shouldParseTypes()&&this.match(47)){let f=this.startNodeAt(N);f.callee=b;let v=this.tryParse(()=>(f.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),f.arguments=super.parseCallExpressionArguments(11,!1),V.optionalChainMember&&(f.optional=!1),this.finishCallExpression(f,V.optionalChainMember)));if(v.node)return v.error&&(this.state=v.failState),v.node}return super.parseSubscript(b,N,G,V)}parseNewCallee(b){super.parseNewCallee(b);let N=null;this.shouldParseTypes()&&this.match(47)&&(N=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),b.typeArguments=N}parseAsyncArrowWithTypeParameters(b){let N=this.startNodeAt(b);if(this.parseFunctionParams(N,!1),this.parseArrow(N))return super.parseArrowExpression(N,void 0,!0)}readToken_mult_modulo(b){let N=this.input.charCodeAt(this.state.pos+1);if(b===42&&N===47&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(b)}readToken_pipe_amp(b){let N=this.input.charCodeAt(this.state.pos+1);b!==124||N!==125?super.readToken_pipe_amp(b):this.finishOp(9,2)}parseTopLevel(b,N){let G=super.parseTopLevel(b,N);return this.state.hasFlowComment&&this.raise(Mr.UnterminatedFlowComment,this.state.curPosition()),G}skipBlockComment(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/");{if(this.state.hasFlowComment)throw this.raise(Mr.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let b=this.skipFlowComment();b&&(this.state.pos+=b,this.state.hasFlowComment=!0)}}skipFlowComment(){let{pos:b}=this.state,N=2;for(;[32,9].includes(this.input.charCodeAt(b+N));)N++;let G=this.input.charCodeAt(N+b),V=this.input.charCodeAt(N+b+1);return G===58&&V===58?N+2:this.input.slice(N+b,N+b+12)==="flow-include"?N+12:G===58&&V!==58&&N}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(S.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(b,{enumName:N,memberName:G}){this.raise(Mr.EnumBooleanMemberNotInitialized,b,{memberName:G,enumName:N})}flowEnumErrorInvalidMemberInitializer(b,N){return this.raise(N.explicitType?N.explicitType==="symbol"?Mr.EnumInvalidMemberInitializerSymbolType:Mr.EnumInvalidMemberInitializerPrimaryType:Mr.EnumInvalidMemberInitializerUnknownType,b,N)}flowEnumErrorNumberMemberNotInitialized(b,N){this.raise(Mr.EnumNumberMemberNotInitialized,b,N)}flowEnumErrorStringMemberInconsistentlyInitialized(b,N){this.raise(Mr.EnumStringMemberInconsistentlyInitialized,b,N)}flowEnumMemberInit(){let b=this.state.startLoc,N=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{let G=this.parseNumericLiteral(this.state.value);return N()?{type:"number",loc:G.loc.start,value:G}:{type:"invalid",loc:b}}case 133:{let G=this.parseStringLiteral(this.state.value);return N()?{type:"string",loc:G.loc.start,value:G}:{type:"invalid",loc:b}}case 85:case 86:{let G=this.parseBooleanLiteral(this.match(85));return N()?{type:"boolean",loc:G.loc.start,value:G}:{type:"invalid",loc:b}}default:return{type:"invalid",loc:b}}}flowEnumMemberRaw(){let b=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:b}}}flowEnumCheckExplicitTypeMismatch(b,N,G){let{explicitType:V}=N;V!==null&&V!==G&&this.flowEnumErrorInvalidMemberInitializer(b,N)}flowEnumMembers({enumName:b,explicitType:N}){let G=new Set,V={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},f=!1;for(;!this.match(8);){if(this.eat(21)){f=!0;break}let v=this.startNode(),{id:B,init:X}=this.flowEnumMemberRaw(),ae=B.name;if(ae==="")continue;/^[a-z]/.test(ae)&&this.raise(Mr.EnumInvalidMemberName,B,{memberName:ae,suggestion:ae[0].toUpperCase()+ae.slice(1),enumName:b}),G.has(ae)&&this.raise(Mr.EnumDuplicateMemberName,B,{memberName:ae,enumName:b}),G.add(ae);let Te={enumName:b,explicitType:N,memberName:ae};switch(v.id=B,X.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(X.loc,Te,"boolean"),v.init=X.value,V.booleanMembers.push(this.finishNode(v,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(X.loc,Te,"number"),v.init=X.value,V.numberMembers.push(this.finishNode(v,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(X.loc,Te,"string"),v.init=X.value,V.stringMembers.push(this.finishNode(v,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(X.loc,Te);case"none":switch(N){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(X.loc,Te);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(X.loc,Te);break;default:V.defaultedMembers.push(this.finishNode(v,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:V,hasUnknownMembers:f}}flowEnumStringMembers(b,N,{enumName:G}){if(b.length===0)return N;if(N.length===0)return b;if(N.length>b.length){for(let V of b)this.flowEnumErrorStringMemberInconsistentlyInitialized(V,{enumName:G});return N}for(let V of N)this.flowEnumErrorStringMemberInconsistentlyInitialized(V,{enumName:G});return b}flowEnumParseExplicitType({enumName:b}){if(!this.eatContextual(102))return null;if(!q(this.state.type))throw this.raise(Mr.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:b});let{value:N}=this.state;return this.next(),N!=="boolean"&&N!=="number"&&N!=="string"&&N!=="symbol"&&this.raise(Mr.EnumInvalidExplicitType,this.state.startLoc,{enumName:b,invalidEnumType:N}),N}flowEnumBody(b,N){let G=N.name,V=N.loc.start,f=this.flowEnumParseExplicitType({enumName:G});this.expect(5);let{members:v,hasUnknownMembers:B}=this.flowEnumMembers({enumName:G,explicitType:f});switch(b.hasUnknownMembers=B,f){case"boolean":return b.explicitType=!0,b.members=v.booleanMembers,this.expect(8),this.finishNode(b,"EnumBooleanBody");case"number":return b.explicitType=!0,b.members=v.numberMembers,this.expect(8),this.finishNode(b,"EnumNumberBody");case"string":return b.explicitType=!0,b.members=this.flowEnumStringMembers(v.stringMembers,v.defaultedMembers,{enumName:G}),this.expect(8),this.finishNode(b,"EnumStringBody");case"symbol":return b.members=v.defaultedMembers,this.expect(8),this.finishNode(b,"EnumSymbolBody");default:{let X=()=>(b.members=[],this.expect(8),this.finishNode(b,"EnumStringBody"));b.explicitType=!1;let ae=v.booleanMembers.length,Te=v.numberMembers.length,Ke=v.stringMembers.length,rt=v.defaultedMembers.length;if(ae||Te||Ke||rt){if(ae||Te){if(!Te&&!Ke&&ae>=rt){for(let at of v.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(at.loc.start,{enumName:G,memberName:at.id.name});return b.members=v.booleanMembers,this.expect(8),this.finishNode(b,"EnumBooleanBody")}if(!ae&&!Ke&&Te>=rt){for(let at of v.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(at.loc.start,{enumName:G,memberName:at.id.name});return b.members=v.numberMembers,this.expect(8),this.finishNode(b,"EnumNumberBody")}return this.raise(Mr.EnumInconsistentMemberValues,V,{enumName:G}),X()}return b.members=this.flowEnumStringMembers(v.stringMembers,v.defaultedMembers,{enumName:G}),this.expect(8),this.finishNode(b,"EnumStringBody")}return X()}}}flowParseEnumDeclaration(b){let N=this.parseIdentifier();return b.id=N,b.body=this.flowEnumBody(this.startNode(),N),this.finishNode(b,"EnumDeclaration")}isLookaheadToken_lt(){let b=this.nextTokenStart();if(this.input.charCodeAt(b)===60){let N=this.input.charCodeAt(b+1);return N!==60&&N!==61}return!1}maybeUnwrapTypeCastExpression(b){return b.type==="TypeCastExpression"?b.expression:b}},typescript:ze=>class extends ze{constructor(...b){super(...b),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:Bt.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Bt.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Bt.InvalidModifierOnTypeParameter})}getScopeHandler(){return wt}tsIsIdentifier(){return q(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),!this.hasPrecedingLineBreak()&&this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(b,N){if(!q(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let G=this.state.value;if(b.includes(G)){if(N&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return G}}tsParseModifiers({allowedModifiers:b,disallowedModifiers:N,stopOnStartOfClassStaticBlock:G,errorTemplate:V=Bt.InvalidModifierOnTypeMember},f){let v=(X,ae,Te,Ke)=>{ae===Te&&f[Ke]&&this.raise(Bt.InvalidModifiersOrder,X,{orderedModifiers:[Te,Ke]})},B=(X,ae,Te,Ke)=>{(f[Te]&&ae===Ke||f[Ke]&&ae===Te)&&this.raise(Bt.IncompatibleModifiers,X,{modifiers:[Te,Ke]})};for(;;){let{startLoc:X}=this.state,ae=this.tsParseModifier(b.concat(N??[]),G);if(!ae)break;zt(ae)?f.accessibility?this.raise(Bt.DuplicateAccessibilityModifier,X,{modifier:ae}):(v(X,ae,ae,"override"),v(X,ae,ae,"static"),v(X,ae,ae,"readonly"),f.accessibility=ae):jt(ae)?(f[ae]&&this.raise(Bt.DuplicateModifier,X,{modifier:ae}),f[ae]=!0,v(X,ae,"in","out")):(hasOwnProperty.call(f,ae)?this.raise(Bt.DuplicateModifier,X,{modifier:ae}):(v(X,ae,"static","readonly"),v(X,ae,"static","override"),v(X,ae,"override","readonly"),v(X,ae,"abstract","override"),B(X,ae,"declare","override"),B(X,ae,"static","abstract")),f[ae]=!0),N!=null&&N.includes(ae)&&this.raise(V,X,{modifier:ae})}}tsIsListTerminator(b){switch(b){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(b,N){let G=[];for(;!this.tsIsListTerminator(b);)G.push(N());return G}tsParseDelimitedList(b,N,G){return function(V){if(V==null)throw new Error(`Unexpected ${V} value.`);return V}(this.tsParseDelimitedListWorker(b,N,!0,G))}tsParseDelimitedListWorker(b,N,G,V){let f=[],v=-1;for(;!this.tsIsListTerminator(b);){v=-1;let B=N();if(B==null)return;if(f.push(B),!this.eat(12)){if(this.tsIsListTerminator(b))break;return void(G&&this.expect(12))}v=this.state.lastTokStartLoc.index}return V&&(V.value=v),f}tsParseBracketedList(b,N,G,V,f){V||(G?this.expect(0):this.expect(47));let v=this.tsParseDelimitedList(b,N,f);return G?this.expect(3):this.expect(48),v}tsParseImportType(){let b=this.startNode();return this.expect(83),this.expect(10),this.match(133)||this.raise(Bt.UnsupportedImportTypeArgument,this.state.startLoc),b.argument=super.parseExprAtom(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(b.options=null),this.eat(12)&&(this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes"),this.match(11)||(b.options=super.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.eat(16)&&(b.qualifier=this.tsParseEntityName()),this.match(47)&&(b.typeParameters=this.tsParseTypeArguments()),this.finishNode(b,"TSImportType")}tsParseEntityName(b=!0){let N=this.parseIdentifier(b);for(;this.eat(16);){let G=this.startNodeAtNode(N);G.left=N,G.right=this.parseIdentifier(b),N=this.finishNode(G,"TSQualifiedName")}return N}tsParseTypeReference(){let b=this.startNode();return b.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(b.typeParameters=this.tsParseTypeArguments()),this.finishNode(b,"TSTypeReference")}tsParseThisTypePredicate(b){this.next();let N=this.startNodeAtNode(b);return N.parameterName=b,N.typeAnnotation=this.tsParseTypeAnnotation(!1),N.asserts=!1,this.finishNode(N,"TSTypePredicate")}tsParseThisTypeNode(){let b=this.startNode();return this.next(),this.finishNode(b,"TSThisType")}tsParseTypeQuery(){let b=this.startNode();return this.expect(87),this.match(83)?b.exprName=this.tsParseImportType():b.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(b.typeParameters=this.tsParseTypeArguments()),this.finishNode(b,"TSTypeQuery")}tsParseTypeParameter(b){let N=this.startNode();return b(N),N.name=this.tsParseTypeParameterName(),N.constraint=this.tsEatThenParseType(81),N.default=this.tsEatThenParseType(29),this.finishNode(N,"TSTypeParameter")}tsTryParseTypeParameters(b){if(this.match(47))return this.tsParseTypeParameters(b)}tsParseTypeParameters(b){let N=this.startNode();this.match(47)||this.match(142)?this.next():this.unexpected();let G={value:-1};return N.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,b),!1,!0,G),N.params.length===0&&this.raise(Bt.EmptyTypeParameters,N),G.value!==-1&&this.addExtra(N,"trailingComma",G.value),this.finishNode(N,"TSTypeParameterDeclaration")}tsFillSignature(b,N){let G=b===19;N.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),N.parameters=this.tsParseBindingListForSignature(),(G||this.match(b))&&(N.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(b))}tsParseBindingListForSignature(){let b=super.parseBindingList(11,41,2);for(let N of b){let{type:G}=N;G!=="AssignmentPattern"&&G!=="TSParameterProperty"||this.raise(Bt.UnsupportedSignatureParameterKind,N,{type:G})}return b}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(b,N){return this.tsFillSignature(14,N),this.tsParseTypeMemberSemicolon(),this.finishNode(N,b)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!q(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(b){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);let N=this.parseIdentifier();N.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(N),this.expect(3),b.parameters=[N];let G=this.tsTryParseTypeAnnotation();return G&&(b.typeAnnotation=G),this.tsParseTypeMemberSemicolon(),this.finishNode(b,"TSIndexSignature")}tsParsePropertyOrMethodSignature(b,N){this.eat(17)&&(b.optional=!0);let G=b;if(this.match(10)||this.match(47)){N&&this.raise(Bt.ReadonlyForMethodSignature,b);let V=G;V.kind&&this.match(47)&&this.raise(Bt.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,V),this.tsParseTypeMemberSemicolon();let f="parameters",v="typeAnnotation";if(V.kind==="get")V[f].length>0&&(this.raise(S.BadGetterArity,this.state.curPosition()),this.isThisParam(V[f][0])&&this.raise(Bt.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(V.kind==="set"){if(V[f].length!==1)this.raise(S.BadSetterArity,this.state.curPosition());else{let B=V[f][0];this.isThisParam(B)&&this.raise(Bt.AccessorCannotDeclareThisParameter,this.state.curPosition()),B.type==="Identifier"&&B.optional&&this.raise(Bt.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),B.type==="RestElement"&&this.raise(Bt.SetAccessorCannotHaveRestParameter,this.state.curPosition())}V[v]&&this.raise(Bt.SetAccessorCannotHaveReturnType,V[v])}else V.kind="method";return this.finishNode(V,"TSMethodSignature")}{let V=G;N&&(V.readonly=!0);let f=this.tsTryParseTypeAnnotation();return f&&(V.typeAnnotation=f),this.tsParseTypeMemberSemicolon(),this.finishNode(V,"TSPropertySignature")}}tsParseTypeMember(){let b=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",b);if(this.match(77)){let G=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",b):(b.key=this.createIdentifier(G,"new"),this.tsParsePropertyOrMethodSignature(b,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},b),this.tsTryParseIndexSignature(b)||(super.parsePropertyName(b),b.computed||b.key.type!=="Identifier"||b.key.name!=="get"&&b.key.name!=="set"||!this.tsTokenCanFollowModifier()||(b.kind=b.key.name,super.parsePropertyName(b)),this.tsParsePropertyOrMethodSignature(b,!!b.readonly))}tsParseTypeLiteral(){let b=this.startNode();return b.members=this.tsParseObjectTypeMembers(),this.finishNode(b,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let b=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),b}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(58))))}tsParseMappedType(){let b=this.startNode();this.expect(5),this.match(53)?(b.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(b.readonly=!0),this.expect(0);{let N=this.startNode();N.name=this.tsParseTypeParameterName(),N.constraint=this.tsExpectThenParseType(58),b.typeParameter=this.finishNode(N,"TSTypeParameter")}return b.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(b.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(b.optional=!0),b.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(b,"TSMappedType")}tsParseTupleType(){let b=this.startNode();b.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let N=!1;return b.elementTypes.forEach(G=>{let{type:V}=G;!N||V==="TSRestType"||V==="TSOptionalType"||V==="TSNamedTupleMember"&&G.optional||this.raise(Bt.OptionalTypeBeforeRequired,G),N||(N=V==="TSNamedTupleMember"&&G.optional||V==="TSOptionalType")}),this.finishNode(b,"TSTupleType")}tsParseTupleElementType(){let{startLoc:b}=this.state,N=this.eat(21),G,V,f,v,B=Q(this.state.type)?this.lookaheadCharCode():null;if(B===58)G=!0,f=!1,V=this.parseIdentifier(!0),this.expect(14),v=this.tsParseType();else if(B===63){f=!0;let X=this.state.startLoc,ae=this.state.value,Te=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(G=!0,V=this.createIdentifier(this.startNodeAt(X),ae),this.expect(17),this.expect(14),v=this.tsParseType()):(G=!1,v=Te,this.expect(17))}else v=this.tsParseType(),f=this.eat(17),G=this.eat(14);if(G){let X;V?(X=this.startNodeAtNode(V),X.optional=f,X.label=V,X.elementType=v,this.eat(17)&&(X.optional=!0,this.raise(Bt.TupleOptionalAfterType,this.state.lastTokStartLoc))):(X=this.startNodeAtNode(v),X.optional=f,this.raise(Bt.InvalidTupleMemberLabel,v),X.label=v,X.elementType=this.tsParseType()),v=this.finishNode(X,"TSNamedTupleMember")}else if(f){let X=this.startNodeAtNode(v);X.typeAnnotation=v,v=this.finishNode(X,"TSOptionalType")}if(N){let X=this.startNodeAt(b);X.typeAnnotation=v,v=this.finishNode(X,"TSRestType")}return v}tsParseParenthesizedType(){let b=this.startNode();return this.expect(10),b.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(b,"TSParenthesizedType")}tsParseFunctionOrConstructorType(b,N){let G=this.startNode();return b==="TSConstructorType"&&(G.abstract=!!N,N&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,G)),this.finishNode(G,b)}tsParseLiteralTypeNode(){let b=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:b.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(b,"TSLiteralType")}tsParseTemplateLiteralType(){let b=this.startNode();return b.literal=super.parseTemplate(!1),this.finishNode(b,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let b=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(b):b}tsParseNonArrayType(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let b=this.startNode(),N=this.lookahead();return N.type!==134&&N.type!==135&&this.unexpected(),b.literal=this.parseMaybeUnary(),this.finishNode(b,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:b}=this.state;if(q(b)||b===88||b===84){let N=b===88?"TSVoidKeyword":b===84?"TSNullKeyword":function(G){switch(G){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}(this.state.value);if(N!==void 0&&this.lookaheadCharCode()!==46){let G=this.startNode();return this.next(),this.finishNode(G,N)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let b=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let N=this.startNodeAtNode(b);N.elementType=b,this.expect(3),b=this.finishNode(N,"TSArrayType")}else{let N=this.startNodeAtNode(b);N.objectType=b,N.indexType=this.tsParseType(),this.expect(3),b=this.finishNode(N,"TSIndexedAccessType")}return b}tsParseTypeOperator(){let b=this.startNode(),N=this.state.value;return this.next(),b.operator=N,b.typeAnnotation=this.tsParseTypeOperatorOrHigher(),N==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(b),this.finishNode(b,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(b){switch(b.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Bt.UnexpectedReadonly,b)}}tsParseInferType(){let b=this.startNode();this.expectContextual(115);let N=this.startNode();return N.name=this.tsParseTypeParameterName(),N.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),b.typeParameter=this.finishNode(N,"TSTypeParameter"),this.finishNode(b,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let b=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return b}}tsParseTypeOperatorOrHigher(){var b;return(b=this.state.type)>=121&&b<=123&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(b,N,G){let V=this.startNode(),f=this.eat(G),v=[];do v.push(N());while(this.eat(G));return v.length!==1||f?(V.types=v,this.finishNode(V,b)):v[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(q(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:b}=this.state,N=b.length;try{return this.parseObjectLike(8,!0),b.length===N}catch{return!1}}if(this.match(0)){this.next();let{errors:b}=this.state,N=b.length;try{return super.parseBindingList(3,93,1),b.length===N}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(b){return this.tsInType(()=>{let N=this.startNode();this.expect(b);let G=this.startNode(),V=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(V&&this.match(78)){let B=this.tsParseThisTypeOrThisTypePredicate();return B.type==="TSThisType"?(G.parameterName=B,G.asserts=!0,G.typeAnnotation=null,B=this.finishNode(G,"TSTypePredicate")):(this.resetStartLocationFromNode(B,G),B.asserts=!0),N.typeAnnotation=B,this.finishNode(N,"TSTypeAnnotation")}let f=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!f)return V?(G.parameterName=this.parseIdentifier(),G.asserts=V,G.typeAnnotation=null,N.typeAnnotation=this.finishNode(G,"TSTypePredicate"),this.finishNode(N,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,N);let v=this.tsParseTypeAnnotation(!1);return G.parameterName=f,G.typeAnnotation=v,G.asserts=V,N.typeAnnotation=this.finishNode(G,"TSTypePredicate"),this.finishNode(N,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let b=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),b}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let b=this.state.containsEsc;return this.next(),!(!q(this.state.type)&&!this.match(78))&&(b&&this.raise(S.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(b=!0,N=this.startNode()){return this.tsInType(()=>{b&&this.expect(14),N.typeAnnotation=this.tsParseType()}),this.finishNode(N,"TSTypeAnnotation")}tsParseType(){Hr(this.state.inType);let b=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return b;let N=this.startNodeAtNode(b);return N.checkType=b,N.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),N.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),N.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(N,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Bt.ReservedTypeAssertion,this.state.startLoc);let b=this.startNode();return b.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),b.expression=this.parseMaybeUnary(),this.finishNode(b,"TSTypeAssertion")}tsParseHeritageClause(b){let N=this.state.startLoc,G=this.tsParseDelimitedList("HeritageClauseElement",()=>{let V=this.startNode();return V.expression=this.tsParseEntityName(),this.match(47)&&(V.typeParameters=this.tsParseTypeArguments()),this.finishNode(V,"TSExpressionWithTypeArguments")});return G.length||this.raise(Bt.EmptyHeritageClauseType,N,{token:b}),G}tsParseInterfaceDeclaration(b,N={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),N.declare&&(b.declare=!0),q(this.state.type)?(b.id=this.parseIdentifier(),this.checkIdentifier(b.id,130)):(b.id=null,this.raise(Bt.MissingInterfaceName,this.state.startLoc)),b.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(b.extends=this.tsParseHeritageClause("extends"));let G=this.startNode();return G.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),b.body=this.finishNode(G,"TSInterfaceBody"),this.finishNode(b,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(b){return b.id=this.parseIdentifier(),this.checkIdentifier(b.id,2),b.typeAnnotation=this.tsInType(()=>{if(b.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){let N=this.startNode();return this.next(),this.finishNode(N,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(b,"TSTypeAliasDeclaration")}tsInNoContext(b){let N=this.state.context;this.state.context=[N[0]];try{return b()}finally{this.state.context=N}}tsInType(b){let N=this.state.inType;this.state.inType=!0;try{return b()}finally{this.state.inType=N}}tsInDisallowConditionalTypesContext(b){let N=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return b()}finally{this.state.inDisallowConditionalTypesContext=N}}tsInAllowConditionalTypesContext(b){let N=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return b()}finally{this.state.inDisallowConditionalTypesContext=N}}tsEatThenParseType(b){if(this.match(b))return this.tsNextThenParseType()}tsExpectThenParseType(b){return this.tsInType(()=>(this.expect(b),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let b=this.startNode();return b.id=this.match(133)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(b.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(b,"TSEnumMember")}tsParseEnumDeclaration(b,N={}){return N.const&&(b.const=!0),N.declare&&(b.declare=!0),this.expectContextual(126),b.id=this.parseIdentifier(),this.checkIdentifier(b.id,b.const?8971:8459),this.expect(5),b.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(b,"TSEnumDeclaration")}tsParseModuleBlock(){let b=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(b.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(b,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(b,N=!1){if(b.id=this.parseIdentifier(),N||this.checkIdentifier(b.id,1024),this.eat(16)){let G=this.startNode();this.tsParseModuleOrNamespaceDeclaration(G,!0),b.body=G}else this.scope.enter(256),this.prodParam.enter(0),b.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(b,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(b){return this.isContextual(112)?(b.global=!0,b.id=this.parseIdentifier()):this.match(133)?b.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),b.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(b,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(b,N,G){b.isExport=G||!1,b.id=N||this.parseIdentifier(),this.checkIdentifier(b.id,4096),this.expect(29);let V=this.tsParseModuleReference();return b.importKind==="type"&&V.type!=="TSExternalModuleReference"&&this.raise(Bt.ImportAliasHasImportType,V),b.moduleReference=V,this.semicolon(),this.finishNode(b,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let b=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),b.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(b,"TSExternalModuleReference")}tsLookAhead(b){let N=this.state.clone(),G=b();return this.state=N,G}tsTryParseAndCatch(b){let N=this.tryParse(G=>b()||G());if(!N.aborted&&N.node)return N.error&&(this.state=N.failState),N.node}tsTryParse(b){let N=this.state.clone(),G=b();if(G!==void 0&&G!==!1)return G;this.state=N}tsTryParseDeclare(b){if(this.isLineTerminator())return;let N,G=this.state.type;return this.isContextual(100)&&(G=74,N="let"),this.tsInAmbientContext(()=>{switch(G){case 68:return b.declare=!0,super.parseFunctionStatement(b,!1,!1);case 80:return b.declare=!0,this.parseClass(b,!0,!1);case 126:return this.tsParseEnumDeclaration(b,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(b);case 75:case 74:return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(b,{const:!0,declare:!0})):(b.declare=!0,this.parseVarStatement(b,N||this.state.value,!0));case 129:{let V=this.tsParseInterfaceDeclaration(b,{declare:!0});if(V)return V}default:if(q(G))return this.tsParseDeclaration(b,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(b,N,G){switch(N.name){case"declare":{let V=this.tsTryParseDeclare(b);return V&&(V.declare=!0),V}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let V=b;return V.global=!0,V.id=N,V.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(V,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(b,N.name,!1,G)}}tsParseDeclaration(b,N,G,V){switch(N){case"abstract":if(this.tsCheckLineTerminator(G)&&(this.match(80)||q(this.state.type)))return this.tsParseAbstractDeclaration(b,V);break;case"module":if(this.tsCheckLineTerminator(G)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(b);if(q(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(b)}break;case"namespace":if(this.tsCheckLineTerminator(G)&&q(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(b);break;case"type":if(this.tsCheckLineTerminator(G)&&q(this.state.type))return this.tsParseTypeAliasDeclaration(b)}}tsCheckLineTerminator(b){return b?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(b){if(!this.match(47))return;let N=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let G=this.tsTryParseAndCatch(()=>{let V=this.startNodeAt(b);return V.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(V),V.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),V});return this.state.maybeInArrowParameters=N,G?super.parseArrowExpression(G,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let b=this.startNode();return b.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),b.params.length===0?this.raise(Bt.EmptyTypeArguments,b):this.state.inType||this.curContext()!==C.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(b,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(b=this.state.type)>=124&&b<=130;var b}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(b,N){let G=this.state.startLoc,V={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},V);let f=V.accessibility,v=V.override,B=V.readonly;4&b||!(f||B||v)||this.raise(Bt.UnexpectedParameterModifier,G);let X=this.parseMaybeDefault();2&b&&this.parseFunctionParamType(X);let ae=this.parseMaybeDefault(X.loc.start,X);if(f||B||v){let Te=this.startNodeAt(G);return N.length&&(Te.decorators=N),f&&(Te.accessibility=f),B&&(Te.readonly=B),v&&(Te.override=v),ae.type!=="Identifier"&&ae.type!=="AssignmentPattern"&&this.raise(Bt.UnsupportedParameterPropertyKind,Te),Te.parameter=ae,this.finishNode(Te,"TSParameterProperty")}return N.length&&(X.decorators=N),ae}isSimpleParameter(b){return b.type==="TSParameterProperty"&&super.isSimpleParameter(b.parameter)||super.isSimpleParameter(b)}tsDisallowOptionalPattern(b){for(let N of b.params)N.type!=="Identifier"&&N.optional&&!this.state.isAmbientContext&&this.raise(Bt.PatternIsOptional,N)}setArrowFunctionParameters(b,N,G){super.setArrowFunctionParameters(b,N,G),this.tsDisallowOptionalPattern(b)}parseFunctionBodyAndFinish(b,N,G=!1){this.match(14)&&(b.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let V=N==="FunctionDeclaration"?"TSDeclareFunction":N==="ClassMethod"||N==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return V&&!this.match(5)&&this.isLineTerminator()?this.finishNode(b,V):V==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(Bt.DeclareFunctionHasImplementation,b),b.declare)?super.parseFunctionBodyAndFinish(b,V,G):(this.tsDisallowOptionalPattern(b),super.parseFunctionBodyAndFinish(b,N,G))}registerFunctionStatementId(b){!b.body&&b.id?this.checkIdentifier(b.id,1024):super.registerFunctionStatementId(b)}tsCheckForInvalidTypeCasts(b){b.forEach(N=>{N?.type==="TSTypeCastExpression"&&this.raise(Bt.UnexpectedTypeAnnotation,N.typeAnnotation)})}toReferencedList(b,N){return this.tsCheckForInvalidTypeCasts(b),b}parseArrayLike(b,N,G,V){let f=super.parseArrayLike(b,N,G,V);return f.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(f.elements),f}parseSubscript(b,N,G,V){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let v=this.startNodeAt(N);return v.expression=b,this.finishNode(v,"TSNonNullExpression")}let f=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(G)return V.stop=!0,b;V.optionalChainMember=f=!0,this.next()}if(this.match(47)||this.match(51)){let v,B=this.tsTryParseAndCatch(()=>{if(!G&&this.atPossibleAsyncArrow(b)){let Ke=this.tsTryParseGenericAsyncArrowFunction(N);if(Ke)return Ke}let X=this.tsParseTypeArgumentsInExpression();if(!X)return;if(f&&!this.match(10))return void(v=this.state.curPosition());if(Fe(this.state.type)){let Ke=super.parseTaggedTemplateExpression(b,N,V);return Ke.typeParameters=X,Ke}if(!G&&this.eat(10)){let Ke=this.startNodeAt(N);return Ke.callee=b,Ke.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(Ke.arguments),Ke.typeParameters=X,V.optionalChainMember&&(Ke.optional=f),this.finishCallExpression(Ke,V.optionalChainMember)}let ae=this.state.type;if(ae===48||ae===52||ae!==10&&ie(ae)&&!this.hasPrecedingLineBreak())return;let Te=this.startNodeAt(N);return Te.expression=b,Te.typeParameters=X,this.finishNode(Te,"TSInstantiationExpression")});if(v&&this.unexpected(v,10),B)return B.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(Bt.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),B}return super.parseSubscript(b,N,G,V)}parseNewCallee(b){var N;super.parseNewCallee(b);let{callee:G}=b;G.type!=="TSInstantiationExpression"||(N=G.extra)!=null&&N.parenthesized||(b.typeParameters=G.typeParameters,b.callee=G.expression)}parseExprOp(b,N,G){let V;if(Ve(58)>G&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(V=this.isContextual(120)))){let f=this.startNodeAt(N);return f.expression=b,f.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(V&&this.raise(S.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(f,V?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(f,N,G)}return super.parseExprOp(b,N,G)}checkReservedWord(b,N,G,V){this.state.isAmbientContext||super.checkReservedWord(b,N,G,V)}checkImportReflection(b){super.checkImportReflection(b),b.module&&b.importKind!=="value"&&this.raise(Bt.ImportReflectionHasImportType,b.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(b){if(super.isPotentialImportPhase(b))return!0;if(this.isContextual(130)){let N=this.lookaheadCharCode();return b?N===123||N===42:N!==61}return!b&&this.isContextual(87)}applyImportPhase(b,N,G,V){super.applyImportPhase(b,N,G,V),N?b.exportKind=G==="type"?"type":"value":b.importKind=G==="type"||G==="typeof"?G:"value"}parseImport(b){if(this.match(133))return b.importKind="value",super.parseImport(b);let N;if(q(this.state.type)&&this.lookaheadCharCode()===61)return b.importKind="value",this.tsParseImportEqualsDeclaration(b);if(this.isContextual(130)){let G=this.parseMaybeImportPhase(b,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(b,G);N=super.parseImportSpecifiersAndAfter(b,G)}else N=super.parseImport(b);return N.importKind==="type"&&N.specifiers.length>1&&N.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(Bt.TypeImportCannotSpecifyDefaultAndNamed,N),N}parseExport(b,N){if(this.match(83)){this.next();let G=b,V=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?V=this.parseMaybeImportPhase(G,!1):G.importKind="value",this.tsParseImportEqualsDeclaration(G,V,!0)}if(this.eat(29)){let G=b;return G.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(G,"TSExportAssignment")}if(this.eatContextual(93)){let G=b;return this.expectContextual(128),G.id=this.parseIdentifier(),this.semicolon(),this.finishNode(G,"TSNamespaceExportDeclaration")}return super.parseExport(b,N)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let b=this.startNode();return this.next(),b.abstract=!0,this.parseClass(b,!0,!0)}if(this.match(129)){let b=this.tsParseInterfaceDeclaration(this.startNode());if(b)return b}return super.parseExportDefaultExpression()}parseVarStatement(b,N,G=!1){let{isAmbientContext:V}=this.state,f=super.parseVarStatement(b,N,G||V);if(!V)return f;for(let{id:v,init:B}of f.declarations)B&&(N!=="const"||v.typeAnnotation?this.raise(Bt.InitializerNotAllowedInAmbientContext,B):Or(B,this.hasPlugin("estree"))||this.raise(Bt.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,B));return f}parseStatementContent(b,N){if(this.match(75)&&this.isLookaheadContextual("enum")){let G=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(G,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let G=this.tsParseInterfaceDeclaration(this.startNode());if(G)return G}return super.parseStatementContent(b,N)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(b,N){return N.some(G=>zt(G)?b.accessibility===G:!!b[G])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(b,N,G){let V=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:V,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Bt.InvalidModifierOnTypeParameterPositions},N);let f=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(N,V)&&this.raise(Bt.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(b,N)):this.parseClassMemberWithIsStatic(b,N,G,!!N.static)};N.declare?this.tsInAmbientContext(f):f()}parseClassMemberWithIsStatic(b,N,G,V){let f=this.tsTryParseIndexSignature(N);if(f)return b.body.push(f),N.abstract&&this.raise(Bt.IndexSignatureHasAbstract,N),N.accessibility&&this.raise(Bt.IndexSignatureHasAccessibility,N,{modifier:N.accessibility}),N.declare&&this.raise(Bt.IndexSignatureHasDeclare,N),void(N.override&&this.raise(Bt.IndexSignatureHasOverride,N));!this.state.inAbstractClass&&N.abstract&&this.raise(Bt.NonAbstractClassHasAbstractMethod,N),N.override&&(G.hadSuperClass||this.raise(Bt.OverrideNotInSubClass,N)),super.parseClassMemberWithIsStatic(b,N,G,V)}parsePostMemberNameModifiers(b){this.eat(17)&&(b.optional=!0),b.readonly&&this.match(10)&&this.raise(Bt.ClassMethodHasReadonly,b),b.declare&&this.match(10)&&this.raise(Bt.ClassMethodHasDeclare,b)}parseExpressionStatement(b,N,G){return(N.type==="Identifier"?this.tsParseExpressionStatement(b,N,G):void 0)||super.parseExpressionStatement(b,N,G)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(b,N,G){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(b,N,G);let V=this.tryParse(()=>super.parseConditional(b,N));return V.node?(V.error&&(this.state=V.failState),V.node):(V.error&&super.setOptionalParametersError(G,V.error),b)}parseParenItem(b,N){let G=super.parseParenItem(b,N);if(this.eat(17)&&(G.optional=!0,this.resetEndLocation(b)),this.match(14)){let V=this.startNodeAt(N);return V.expression=b,V.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(V,"TSTypeCastExpression")}return b}parseExportDeclaration(b){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(b));let N=this.state.startLoc,G=this.eatContextual(125);if(G&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(Bt.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let V=q(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(b);return V?((V.type==="TSInterfaceDeclaration"||V.type==="TSTypeAliasDeclaration"||G)&&(b.exportKind="type"),G&&(this.resetStartLocation(V,N),V.declare=!0),V):null}parseClassId(b,N,G,V){if((!N||G)&&this.isContextual(113))return;super.parseClassId(b,N,G,b.declare?1024:8331);let f=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);f&&(b.typeParameters=f)}parseClassPropertyAnnotation(b){b.optional||(this.eat(35)?b.definite=!0:this.eat(17)&&(b.optional=!0));let N=this.tsTryParseTypeAnnotation();N&&(b.typeAnnotation=N)}parseClassProperty(b){if(this.parseClassPropertyAnnotation(b),this.state.isAmbientContext&&(!b.readonly||b.typeAnnotation)&&this.match(29)&&this.raise(Bt.DeclareClassFieldHasInitializer,this.state.startLoc),b.abstract&&this.match(29)){let{key:N}=b;this.raise(Bt.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:N.type!=="Identifier"||b.computed?`[${this.input.slice(N.start,N.end)}]`:N.name})}return super.parseClassProperty(b)}parseClassPrivateProperty(b){return b.abstract&&this.raise(Bt.PrivateElementHasAbstract,b),b.accessibility&&this.raise(Bt.PrivateElementHasAccessibility,b,{modifier:b.accessibility}),this.parseClassPropertyAnnotation(b),super.parseClassPrivateProperty(b)}parseClassAccessorProperty(b){return this.parseClassPropertyAnnotation(b),b.optional&&this.raise(Bt.AccessorCannotBeOptional,b),super.parseClassAccessorProperty(b)}pushClassMethod(b,N,G,V,f,v){let B=this.tsTryParseTypeParameters(this.tsParseConstModifier);B&&f&&this.raise(Bt.ConstructorHasTypeParameters,B);let{declare:X=!1,kind:ae}=N;!X||ae!=="get"&&ae!=="set"||this.raise(Bt.DeclareAccessor,N,{kind:ae}),B&&(N.typeParameters=B),super.pushClassMethod(b,N,G,V,f,v)}pushClassPrivateMethod(b,N,G,V){let f=this.tsTryParseTypeParameters(this.tsParseConstModifier);f&&(N.typeParameters=f),super.pushClassPrivateMethod(b,N,G,V)}declareClassPrivateMethodInScope(b,N){b.type!=="TSDeclareMethod"&&(b.type!=="MethodDefinition"||hasOwnProperty.call(b.value,"body"))&&super.declareClassPrivateMethodInScope(b,N)}parseClassSuper(b){super.parseClassSuper(b),b.superClass&&(this.match(47)||this.match(51))&&(b.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(b.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(b,N,G,V,f,v,B){let X=this.tsTryParseTypeParameters(this.tsParseConstModifier);return X&&(b.typeParameters=X),super.parseObjPropValue(b,N,G,V,f,v,B)}parseFunctionParams(b,N){let G=this.tsTryParseTypeParameters(this.tsParseConstModifier);G&&(b.typeParameters=G),super.parseFunctionParams(b,N)}parseVarId(b,N){super.parseVarId(b,N),b.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(b.definite=!0);let G=this.tsTryParseTypeAnnotation();G&&(b.id.typeAnnotation=G,this.resetEndLocation(b.id))}parseAsyncArrowFromCallExpression(b,N){return this.match(14)&&(b.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(b,N)}parseMaybeAssign(b,N){var G,V,f,v,B;let X,ae,Te,Ke;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(X=this.state.clone(),ae=this.tryParse(()=>super.parseMaybeAssign(b,N),X),!ae.error)return ae.node;let{context:at}=this.state,St=at[at.length-1];St!==C.j_oTag&&St!==C.j_expr||at.pop()}if(!((G=ae)!=null&&G.error||this.match(47)))return super.parseMaybeAssign(b,N);X&&X!==this.state||(X=this.state.clone());let rt=this.tryParse(at=>{var St,Kt;Ke=this.tsParseTypeParameters(this.tsParseConstModifier);let gr=super.parseMaybeAssign(b,N);return(gr.type!=="ArrowFunctionExpression"||(St=gr.extra)!=null&&St.parenthesized)&&at(),((Kt=Ke)==null?void 0:Kt.params.length)!==0&&this.resetStartLocationFromNode(gr,Ke),gr.typeParameters=Ke,gr},X);if(!rt.error&&!rt.aborted)return Ke&&this.reportReservedArrowTypeParam(Ke),rt.node;if(!ae&&(Hr(!this.hasPlugin("jsx")),Te=this.tryParse(()=>super.parseMaybeAssign(b,N),X),!Te.error))return Te.node;if((V=ae)!=null&&V.node)return this.state=ae.failState,ae.node;if(rt.node)return this.state=rt.failState,Ke&&this.reportReservedArrowTypeParam(Ke),rt.node;if((f=Te)!=null&&f.node)return this.state=Te.failState,Te.node;throw((v=ae)==null?void 0:v.error)||rt.error||((B=Te)==null?void 0:B.error)}reportReservedArrowTypeParam(b){var N;b.params.length!==1||b.params[0].constraint||(N=b.extra)!=null&&N.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(Bt.ReservedArrowTypeParam,b)}parseMaybeUnary(b,N){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(b,N)}parseArrow(b){if(this.match(14)){let N=this.tryParse(G=>{let V=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||G(),V});if(N.aborted)return;N.thrown||(N.error&&(this.state=N.failState),b.returnType=N.node)}return super.parseArrow(b)}parseFunctionParamType(b){this.eat(17)&&(b.optional=!0);let N=this.tsTryParseTypeAnnotation();return N&&(b.typeAnnotation=N),this.resetEndLocation(b),b}isAssignable(b,N){switch(b.type){case"TSTypeCastExpression":return this.isAssignable(b.expression,N);case"TSParameterProperty":return!0;default:return super.isAssignable(b,N)}}toAssignable(b,N=!1){switch(b.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(b,N);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":N?this.expressionScope.recordArrowParameterBindingError(Bt.UnexpectedTypeCastInParameter,b):this.raise(Bt.UnexpectedTypeCastInParameter,b),this.toAssignable(b.expression,N);break;case"AssignmentExpression":N||b.left.type!=="TSTypeCastExpression"||(b.left=this.typeCastToParameter(b.left));default:super.toAssignable(b,N)}}toAssignableParenthesizedExpression(b,N){switch(b.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(b.expression,N);break;default:super.toAssignable(b,N)}}checkToRestConversion(b,N){switch(b.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(b.expression,!1);break;default:super.checkToRestConversion(b,N)}}isValidLVal(b,N,G){switch(b){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":case"TSInstantiationExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(G!==64||!N)&&["expression",!0];default:return super.isValidLVal(b,N,G)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(b){if(this.match(47)||this.match(51)){let N=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let G=super.parseMaybeDecoratorArguments(b);return G.typeParameters=N,G}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(b)}checkCommaAfterRest(b){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===b?(this.next(),!1):super.checkCommaAfterRest(b)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(b,N){let G=super.parseMaybeDefault(b,N);return G.type==="AssignmentPattern"&&G.typeAnnotation&&G.right.start<G.typeAnnotation.start&&this.raise(Bt.TypeAnnotationAfterAssign,G.typeAnnotation),G}getTokenFromCode(b){if(this.state.inType){if(b===62)return void this.finishOp(48,1);if(b===60)return void this.finishOp(47,1)}super.getTokenFromCode(b)}reScan_lt_gt(){let{type:b}=this.state;b===47?(this.state.pos-=1,this.readToken_lt()):b===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:b}=this.state;return b===51?(this.state.pos-=2,this.finishOp(47,1),47):b}toAssignableList(b,N,G){for(let V=0;V<b.length;V++){let f=b[V];f?.type==="TSTypeCastExpression"&&(b[V]=this.typeCastToParameter(f))}super.toAssignableList(b,N,G)}typeCastToParameter(b){return b.expression.typeAnnotation=b.typeAnnotation,this.resetEndLocation(b.expression,b.typeAnnotation.loc.end),b.expression}shouldParseArrow(b){return this.match(14)?b.every(N=>this.isAssignable(N,!0)):super.shouldParseArrow(b)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(b){if(this.match(47)||this.match(51)){let N=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());N&&(b.typeParameters=N)}return super.jsxParseOpeningElementAfterName(b)}getGetterSetterExpectedParamCount(b){let N=super.getGetterSetterExpectedParamCount(b),G=this.getObjectOrClassMethodParams(b)[0];return G&&this.isThisParam(G)?N+1:N}parseCatchClauseParam(){let b=super.parseCatchClauseParam(),N=this.tsTryParseTypeAnnotation();return N&&(b.typeAnnotation=N,this.resetEndLocation(b)),b}tsInAmbientContext(b){let{isAmbientContext:N,strict:G}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return b()}finally{this.state.isAmbientContext=N,this.state.strict=G}}parseClass(b,N,G){let V=this.state.inAbstractClass;this.state.inAbstractClass=!!b.abstract;try{return super.parseClass(b,N,G)}finally{this.state.inAbstractClass=V}}tsParseAbstractDeclaration(b,N){if(this.match(80))return b.abstract=!0,this.maybeTakeDecorators(N,this.parseClass(b,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return b.abstract=!0,this.raise(Bt.NonClassMethodPropertyHasAbstractModifer,b),this.tsParseInterfaceDeclaration(b)}else this.unexpected(null,80)}parseMethod(b,N,G,V,f,v,B){let X=super.parseMethod(b,N,G,V,f,v,B);if(X.abstract&&(this.hasPlugin("estree")?X.value.body:X.body)){let{key:ae}=X;this.raise(Bt.AbstractMethodHasImplementation,X,{methodName:ae.type!=="Identifier"||X.computed?`[${this.input.slice(ae.start,ae.end)}]`:ae.name})}return X}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(b,N,G,V){return!N&&V?(this.parseTypeOnlyImportExportSpecifier(b,!1,G),this.finishNode(b,"ExportSpecifier")):(b.exportKind="value",super.parseExportSpecifier(b,N,G,V))}parseImportSpecifier(b,N,G,V,f){return!N&&V?(this.parseTypeOnlyImportExportSpecifier(b,!0,G),this.finishNode(b,"ImportSpecifier")):(b.importKind="value",super.parseImportSpecifier(b,N,G,V,G?4098:4096))}parseTypeOnlyImportExportSpecifier(b,N,G){let V=N?"imported":"local",f=N?"local":"exported",v,B=b[V],X=!1,ae=!0,Te=B.loc.start;if(this.isContextual(93)){let Ke=this.parseIdentifier();if(this.isContextual(93)){let rt=this.parseIdentifier();Q(this.state.type)?(X=!0,B=Ke,v=N?this.parseIdentifier():this.parseModuleExportName(),ae=!1):(v=rt,ae=!1)}else Q(this.state.type)?(ae=!1,v=N?this.parseIdentifier():this.parseModuleExportName()):(X=!0,B=Ke)}else Q(this.state.type)&&(X=!0,N?(B=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(B.name,B.loc.start,!0,!0)):B=this.parseModuleExportName());X&&G&&this.raise(N?Bt.TypeModifierIsUsedInTypeImports:Bt.TypeModifierIsUsedInTypeExports,Te),b[V]=B,b[f]=v,b[N?"importKind":"exportKind"]=X?"type":"value",ae&&this.eatContextual(93)&&(b[f]=N?this.parseIdentifier():this.parseModuleExportName()),b[f]||(b[f]=Oi(b[V])),N&&this.checkIdentifier(b[f],X?4098:4096)}},v8intrinsic:ze=>class extends ze{parseV8Intrinsic(){if(this.match(54)){let b=this.state.startLoc,N=this.startNode();if(this.next(),q(this.state.type)){let G=this.parseIdentifierName(),V=this.createIdentifier(N,G);if(V.type="V8IntrinsicIdentifier",this.match(10))return V}this.unexpected(b)}}parseExprAtom(b){return this.parseV8Intrinsic()||super.parseExprAtom(b)}},placeholders:ze=>class extends ze{parsePlaceholder(b){if(this.match(144)){let N=this.startNode();return this.next(),this.assertNoSpace(),N.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(N,b)}}finishPlaceholder(b,N){let G=b;return G.expectedNode&&G.type||(G=this.finishNode(G,"Placeholder")),G.expectedNode=N,G}getTokenFromCode(b){b===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(144,2):super.getTokenFromCode(b)}parseExprAtom(b){return this.parsePlaceholder("Expression")||super.parseExprAtom(b)}parseIdentifier(b){return this.parsePlaceholder("Identifier")||super.parseIdentifier(b)}checkReservedWord(b,N,G,V){b!==void 0&&super.checkReservedWord(b,N,G,V)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(b,N,G){return b==="Placeholder"||super.isValidLVal(b,N,G)}toAssignable(b,N){b&&b.type==="Placeholder"&&b.expectedNode==="Expression"?b.expectedNode="Pattern":super.toAssignable(b,N)}chStartsBindingIdentifier(b,N){return super.chStartsBindingIdentifier(b,N)?!0:this.lookahead().type===144}verifyBreakContinue(b,N){b.label&&b.label.type==="Placeholder"||super.verifyBreakContinue(b,N)}parseExpressionStatement(b,N){var G;if(N.type!=="Placeholder"||(G=N.extra)!=null&&G.parenthesized)return super.parseExpressionStatement(b,N);if(this.match(14)){let f=b;return f.label=this.finishPlaceholder(N,"Identifier"),this.next(),f.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(f,"LabeledStatement")}this.semicolon();let V=b;return V.name=N.name,this.finishPlaceholder(V,"Statement")}parseBlock(b,N,G){return this.parsePlaceholder("BlockStatement")||super.parseBlock(b,N,G)}parseFunctionId(b){return this.parsePlaceholder("Identifier")||super.parseFunctionId(b)}parseClass(b,N,G){let V=N?"ClassDeclaration":"ClassExpression";this.next();let f=this.state.strict,v=this.parsePlaceholder("Identifier");if(v){if(!(this.match(81)||this.match(144)||this.match(5))){if(G||!N)return b.id=null,b.body=this.finishPlaceholder(v,"ClassBody"),this.finishNode(b,V);throw this.raise(Sn.ClassNameIsRequired,this.state.startLoc)}b.id=v}else this.parseClassId(b,N,G);return super.parseClassSuper(b),b.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!b.superClass,f),this.finishNode(b,V)}parseExport(b,N){let G=this.parsePlaceholder("Identifier");if(!G)return super.parseExport(b,N);let V=b;if(!this.isContextual(98)&&!this.match(12))return V.specifiers=[],V.source=null,V.declaration=this.finishPlaceholder(G,"Declaration"),this.finishNode(V,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let f=this.startNode();return f.exported=G,V.specifiers=[this.finishNode(f,"ExportDefaultSpecifier")],super.parseExport(V,N)}isExportDefaultSpecifier(){if(this.match(65)){let b=this.nextTokenStart();if(this.isUnparsedContextual(b,"from")&&this.input.startsWith(be(144),this.nextTokenStartSince(b+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(b,N){var G;return!((G=b.specifiers)==null||!G.length)||super.maybeParseExportDefaultSpecifier(b,N)}checkExport(b){let{specifiers:N}=b;N!=null&&N.length&&(b.specifiers=N.filter(G=>G.exported.type==="Placeholder")),super.checkExport(b),b.specifiers=N}parseImport(b){let N=this.parsePlaceholder("Identifier");if(!N)return super.parseImport(b);if(b.specifiers=[],!this.isContextual(98)&&!this.match(12))return b.source=this.finishPlaceholder(N,"StringLiteral"),this.semicolon(),this.finishNode(b,"ImportDeclaration");let G=this.startNodeAtNode(N);return G.local=N,b.specifiers.push(this.finishNode(G,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(b)||this.parseNamedImportSpecifiers(b)),this.expectContextual(98),b.source=this.parseImportSource(),this.semicolon(),this.finishNode(b,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(Sn.UnexpectedSpace,this.state.lastTokEndLoc)}}},ai=Object.keys(en),Ri={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,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};class Oa extends nr{checkProto(b,N,G,V){if(b.type==="SpreadElement"||this.isObjectMethod(b)||b.computed||b.shorthand)return;let f=b.key;if((f.type==="Identifier"?f.name:f.value)==="__proto__"){if(N)return void this.raise(S.RecordNoProto,f);G.used&&(V?V.doubleProtoLoc===null&&(V.doubleProtoLoc=f.loc.start):this.raise(S.DuplicateProto,f)),G.used=!0}}shouldExitDescending(b,N){return b.type==="ArrowFunctionExpression"&&b.start===N}getExpression(){this.enterInitialScopes(),this.nextToken();let b=this.parseExpression();return this.match(139)||this.unexpected(),this.finalizeRemainingComments(),b.comments=this.comments,b.errors=this.state.errors,this.options.tokens&&(b.tokens=this.tokens),b}parseExpression(b,N){return b?this.disallowInAnd(()=>this.parseExpressionBase(N)):this.allowInAnd(()=>this.parseExpressionBase(N))}parseExpressionBase(b){let N=this.state.startLoc,G=this.parseMaybeAssign(b);if(this.match(12)){let V=this.startNodeAt(N);for(V.expressions=[G];this.eat(12);)V.expressions.push(this.parseMaybeAssign(b));return this.toReferencedList(V.expressions),this.finishNode(V,"SequenceExpression")}return G}parseMaybeAssignDisallowIn(b,N){return this.disallowInAnd(()=>this.parseMaybeAssign(b,N))}parseMaybeAssignAllowIn(b,N){return this.allowInAnd(()=>this.parseMaybeAssign(b,N))}setOptionalParametersError(b,N){var G;b.optionalParametersLoc=(G=N?.loc)!=null?G:this.state.startLoc}parseMaybeAssign(b,N){let G=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let X=this.parseYield();return N&&(X=N.call(this,X,G)),X}let V;b?V=!1:(b=new Pn,V=!0);let{type:f}=this.state;(f===10||q(f))&&(this.state.potentialArrowAt=this.state.start);let v=this.parseMaybeConditional(b);if(N&&(v=N.call(this,v,G)),(B=this.state.type)>=29&&B<=33){let X=this.startNodeAt(G),ae=this.state.value;if(X.operator=ae,this.match(29)){this.toAssignable(v,!0),X.left=v;let Te=G.index;b.doubleProtoLoc!=null&&b.doubleProtoLoc.index>=Te&&(b.doubleProtoLoc=null),b.shorthandAssignLoc!=null&&b.shorthandAssignLoc.index>=Te&&(b.shorthandAssignLoc=null),b.privateKeyLoc!=null&&b.privateKeyLoc.index>=Te&&(this.checkDestructuringPrivate(b),b.privateKeyLoc=null)}else X.left=v;return this.next(),X.right=this.parseMaybeAssign(),this.checkLVal(v,this.finishNode(X,"AssignmentExpression")),X}var B;return V&&this.checkExpressionErrors(b,!0),v}parseMaybeConditional(b){let N=this.state.startLoc,G=this.state.potentialArrowAt,V=this.parseExprOps(b);return this.shouldExitDescending(V,G)?V:this.parseConditional(V,N,b)}parseConditional(b,N,G){if(this.eat(17)){let V=this.startNodeAt(N);return V.test=b,V.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),V.alternate=this.parseMaybeAssign(),this.finishNode(V,"ConditionalExpression")}return b}parseMaybeUnaryOrPrivate(b){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(b)}parseExprOps(b){let N=this.state.startLoc,G=this.state.potentialArrowAt,V=this.parseMaybeUnaryOrPrivate(b);return this.shouldExitDescending(V,G)?V:this.parseExprOp(V,N,-1)}parseExprOp(b,N,G){if(this.isPrivateName(b)){let v=this.getPrivateNameSV(b);(G>=Ve(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(S.PrivateInExpectedIn,b,{identifierName:v}),this.classScope.usePrivateName(v,b.loc.start)}let V=this.state.type;if((f=V)>=39&&f<=59&&(this.prodParam.hasIn||!this.match(58))){let v=Ve(V);if(v>G){if(V===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return b;this.checkPipelineAtInfixOperator(b,N)}let B=this.startNodeAt(N);B.left=b,B.operator=this.state.value;let X=V===41||V===42,ae=V===40;if(ae&&(v=Ve(42)),this.next(),V===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(S.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);B.right=this.parseExprOpRightExpr(V,v);let Te=this.finishNode(B,X||ae?"LogicalExpression":"BinaryExpression"),Ke=this.state.type;if(ae&&(Ke===41||Ke===42)||X&&Ke===40)throw this.raise(S.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(Te,N,G)}}var f;return b}parseExprOpRightExpr(b,N){let G=this.state.startLoc;if(b===39)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(S.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(b,N),G)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(N))}return this.parseExprOpBaseRightExpr(b,N)}parseExprOpBaseRightExpr(b,N){let G=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),G,b===57?N-1:N)}parseHackPipeBody(){var b;let{startLoc:N}=this.state,G=this.parseMaybeAssign();return!m.has(G.type)||(b=G.extra)!=null&&b.parenthesized||this.raise(S.PipeUnparenthesizedBody,N,{type:G.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(S.PipeTopicUnused,N),G}checkExponentialAfterUnary(b){this.match(57)&&this.raise(S.UnexpectedTokenUnaryExponentiation,b.argument)}parseMaybeUnary(b,N){let G=this.state.startLoc,V=this.isContextual(96);if(V&&this.recordAwaitIfAllowed()){this.next();let ae=this.parseAwait(G);return N||this.checkExponentialAfterUnary(ae),ae}let f=this.match(34),v=this.startNode();if(B=this.state.type,ee[B]){v.operator=this.state.value,v.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let ae=this.match(89);if(this.next(),v.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(b,!0),this.state.strict&&ae){let Te=v.argument;Te.type==="Identifier"?this.raise(S.StrictDelete,v):this.hasPropertyAsPrivateName(Te)&&this.raise(S.DeletePrivateField,v)}if(!f)return N||this.checkExponentialAfterUnary(v),this.finishNode(v,"UnaryExpression")}var B;let X=this.parseUpdate(v,f,b);if(V){let{type:ae}=this.state;if((this.hasPlugin("v8intrinsic")?ie(ae):ie(ae)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(S.AwaitNotInAsyncContext,G),this.parseAwait(G)}return X}parseUpdate(b,N,G){if(N){let v=b;return this.checkLVal(v.argument,this.finishNode(v,"UpdateExpression")),b}let V=this.state.startLoc,f=this.parseExprSubscripts(G);if(this.checkExpressionErrors(G,!1))return f;for(;this.state.type===34&&!this.canInsertSemicolon();){let v=this.startNodeAt(V);v.operator=this.state.value,v.prefix=!1,v.argument=f,this.next(),this.checkLVal(f,f=this.finishNode(v,"UpdateExpression"))}return f}parseExprSubscripts(b){let N=this.state.startLoc,G=this.state.potentialArrowAt,V=this.parseExprAtom(b);return this.shouldExitDescending(V,G)?V:this.parseSubscripts(V,N)}parseSubscripts(b,N,G){let V={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(b),stop:!1};do b=this.parseSubscript(b,N,G,V),V.maybeAsyncArrow=!1;while(!V.stop);return b}parseSubscript(b,N,G,V){let{type:f}=this.state;if(!G&&f===15)return this.parseBind(b,N,G,V);if(Fe(f))return this.parseTaggedTemplateExpression(b,N,V);let v=!1;if(f===18){if(G&&(this.raise(S.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return V.stop=!0,b;V.optionalChainMember=v=!0,this.next()}if(!G&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(b,N,V,v);{let B=this.eat(0);return B||v||this.eat(16)?this.parseMember(b,N,V,B,v):(V.stop=!0,b)}}parseMember(b,N,G,V,f){let v=this.startNodeAt(N);return v.object=b,v.computed=V,V?(v.property=this.parseExpression(),this.expect(3)):this.match(138)?(b.type==="Super"&&this.raise(S.SuperPrivateField,N),this.classScope.usePrivateName(this.state.value,this.state.startLoc),v.property=this.parsePrivateName()):v.property=this.parseIdentifier(!0),G.optionalChainMember?(v.optional=f,this.finishNode(v,"OptionalMemberExpression")):this.finishNode(v,"MemberExpression")}parseBind(b,N,G,V){let f=this.startNodeAt(N);return f.object=b,this.next(),f.callee=this.parseNoCallExpr(),V.stop=!0,this.parseSubscripts(this.finishNode(f,"BindExpression"),N,G)}parseCoverCallAndAsyncArrowHead(b,N,G,V){let f=this.state.maybeInArrowParameters,v=null;this.state.maybeInArrowParameters=!0,this.next();let B=this.startNodeAt(N);B.callee=b;let{maybeAsyncArrow:X,optionalChainMember:ae}=G;X&&(this.expressionScope.enter(new Li(2)),v=new Pn),ae&&(B.optional=V),B.arguments=V?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,b.type==="Import",b.type!=="Super",B,v);let Te=this.finishCallExpression(B,ae);return X&&this.shouldParseAsyncArrow()&&!V?(G.stop=!0,this.checkDestructuringPrivate(v),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),Te=this.parseAsyncArrowFromCallExpression(this.startNodeAt(N),Te)):(X&&(this.checkExpressionErrors(v,!0),this.expressionScope.exit()),this.toReferencedArguments(Te)),this.state.maybeInArrowParameters=f,Te}toReferencedArguments(b,N){this.toReferencedListDeep(b.arguments,N)}parseTaggedTemplateExpression(b,N,G){let V=this.startNodeAt(N);return V.tag=b,V.quasi=this.parseTemplate(!0),G.optionalChainMember&&this.raise(S.OptionalChainingNoTemplate,N),this.finishNode(V,"TaggedTemplateExpression")}atPossibleAsyncArrow(b){return b.type==="Identifier"&&b.name==="async"&&this.state.lastTokEndLoc.index===b.end&&!this.canInsertSemicolon()&&b.end-b.start==5&&b.start===this.state.potentialArrowAt}finishCallExpression(b,N){if(b.callee.type==="Import")if(b.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")),b.arguments.length===0||b.arguments.length>2)this.raise(S.ImportCallArity,b,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let G of b.arguments)G.type==="SpreadElement"&&this.raise(S.ImportCallSpreadArgument,G);return this.finishNode(b,N?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(b,N,G,V,f){let v=[],B=!0,X=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(b);){if(B)B=!1;else if(this.expect(12),this.match(b)){!N||this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(S.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc),V&&this.addTrailingCommaExtraToNode(V),this.next();break}v.push(this.parseExprListItem(!1,f,G))}return this.state.inFSharpPipelineDirectBody=X,v}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(b,N){var G;return this.resetPreviousNodeTrailingComments(N),this.expect(19),this.parseArrowExpression(b,N.arguments,!0,(G=N.extra)==null?void 0:G.trailingCommaLoc),N.innerComments&&Ce(b,N.innerComments),N.callee.trailingComments&&Ce(b,N.callee.trailingComments),b}parseNoCallExpr(){let b=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),b,!0)}parseExprAtom(b){let N,G=null,{type:V}=this.state;switch(V){case 79:return this.parseSuper();case 83:return N=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(N):this.match(10)?this.options.createImportExpressions?this.parseImportCall(N):this.finishNode(N,"Import"):(this.raise(S.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(N,"Import"));case 78:return N=this.startNode(),this.next(),this.finishNode(N,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 133:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let f=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(f)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,b);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,b);case 68:return this.parseFunctionOrFunctionSent();case 26:G=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(G,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{N=this.startNode(),this.next(),N.object=null;let f=N.callee=this.parseNoCallExpr();if(f.type==="MemberExpression")return this.finishNode(N,"BindExpression");throw this.raise(S.UnsupportedBind,f)}case 138:return this.raise(S.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let f=this.getPluginOption("pipelineOperator","proposal");if(f)return this.parseTopicReference(f);this.unexpected();break}case 47:{let f=this.input.codePointAt(this.nextTokenStart());se(f)||f===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(V===136)return this.parseDecimalLiteral(this.state.value);if(q(V)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let f=this.state.potentialArrowAt===this.state.start,v=this.state.containsEsc,B=this.parseIdentifier();if(!v&&B.name==="async"&&!this.canInsertSemicolon()){let{type:X}=this.state;if(X===68)return this.resetPreviousNodeTrailingComments(B),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(B));if(q(X))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(B)):B;if(X===90)return this.resetPreviousNodeTrailingComments(B),this.parseDo(this.startNodeAtNode(B),!0)}return f&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(B),[B],!1)):B}this.unexpected()}}parseTopicReferenceThenEqualsSign(b,N){let G=this.getPluginOption("pipelineOperator","proposal");if(G)return this.state.type=b,this.state.value=N,this.state.pos--,this.state.end--,this.state.endLoc=H(this.state.endLoc,-1),this.parseTopicReference(G);this.unexpected()}parseTopicReference(b){let N=this.startNode(),G=this.state.startLoc,V=this.state.type;return this.next(),this.finishTopicReference(N,G,b,V)}finishTopicReference(b,N,G,V){if(this.testTopicReferenceConfiguration(G,N,V)){let f=G==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(G==="smart"?S.PrimaryTopicNotAllowed:S.PipeTopicUnbound,N),this.registerTopicReference(),this.finishNode(b,f)}throw this.raise(S.PipeTopicUnconfiguredToken,N,{token:be(V)})}testTopicReferenceConfiguration(b,N,G){switch(b){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:be(G)}]);case"smart":return G===27;default:throw this.raise(S.PipeTopicRequiresHackPipes,N)}}parseAsyncArrowUnaryFunction(b){this.prodParam.enter(ii(!0,this.prodParam.hasYield));let N=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(S.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(b,N,!0)}parseDo(b,N){this.expectPlugin("doExpressions"),N&&this.expectPlugin("asyncDoExpressions"),b.async=N,this.next();let G=this.state.labels;return this.state.labels=[],N?(this.prodParam.enter(2),b.body=this.parseBlock(),this.prodParam.exit()):b.body=this.parseBlock(),this.state.labels=G,this.finishNode(b,"DoExpression")}parseSuper(){let b=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(S.UnexpectedSuper,b):this.raise(S.SuperNotAllowed,b),this.match(10)||this.match(0)||this.match(16)||this.raise(S.UnsupportedSuper,b),this.finishNode(b,"Super")}parsePrivateName(){let b=this.startNode(),N=this.startNodeAt(H(this.state.startLoc,1)),G=this.state.value;return this.next(),b.id=this.createIdentifier(N,G),this.finishNode(b,"PrivateName")}parseFunctionOrFunctionSent(){let b=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let N=this.createIdentifier(this.startNodeAtNode(b),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(b,N,"sent")}return this.parseFunction(b)}parseMetaProperty(b,N,G){b.meta=N;let V=this.state.containsEsc;return b.property=this.parseIdentifier(!0),(b.property.name!==G||V)&&this.raise(S.UnsupportedMetaProperty,b.property,{target:N.name,onlyValidPropertyName:G}),this.finishNode(b,"MetaProperty")}parseImportMetaProperty(b){let N=this.createIdentifier(this.startNodeAtNode(b),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(S.ImportMetaOutsideModule,N),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){let G=this.isContextual(105);if(G||this.unexpected(),this.expectPlugin(G?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(S.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),b.phase=G?"source":"defer",this.parseImportCall(b)}return this.parseMetaProperty(b,N,"meta")}parseLiteralAtNode(b,N,G){return this.addExtra(G,"rawValue",b),this.addExtra(G,"raw",this.input.slice(G.start,this.state.end)),G.value=b,this.next(),this.finishNode(G,N)}parseLiteral(b,N){let G=this.startNode();return this.parseLiteralAtNode(b,N,G)}parseStringLiteral(b){return this.parseLiteral(b,"StringLiteral")}parseNumericLiteral(b){return this.parseLiteral(b,"NumericLiteral")}parseBigIntLiteral(b){return this.parseLiteral(b,"BigIntLiteral")}parseDecimalLiteral(b){return this.parseLiteral(b,"DecimalLiteral")}parseRegExpLiteral(b){let N=this.startNode();return this.addExtra(N,"raw",this.input.slice(N.start,this.state.end)),N.pattern=b.pattern,N.flags=b.flags,this.next(),this.finishNode(N,"RegExpLiteral")}parseBooleanLiteral(b){let N=this.startNode();return N.value=b,this.next(),this.finishNode(N,"BooleanLiteral")}parseNullLiteral(){let b=this.startNode();return this.next(),this.finishNode(b,"NullLiteral")}parseParenAndDistinguishExpression(b){let N=this.state.startLoc,G;this.next(),this.expressionScope.enter(new Li(1));let V=this.state.maybeInArrowParameters,f=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let v=this.state.startLoc,B=[],X=new Pn,ae,Te,Ke=!0;for(;!this.match(11);){if(Ke)Ke=!1;else if(this.expect(12,X.optionalParametersLoc===null?null:X.optionalParametersLoc),this.match(11)){Te=this.state.startLoc;break}if(this.match(21)){let St=this.state.startLoc;if(ae=this.state.startLoc,B.push(this.parseParenItem(this.parseRestBinding(),St)),!this.checkCommaAfterRest(41))break}else B.push(this.parseMaybeAssignAllowIn(X,this.parseParenItem))}let rt=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=V,this.state.inFSharpPipelineDirectBody=f;let at=this.startNodeAt(N);return b&&this.shouldParseArrow(B)&&(at=this.parseArrow(at))?(this.checkDestructuringPrivate(X),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(at,B,!1),at):(this.expressionScope.exit(),B.length||this.unexpected(this.state.lastTokStartLoc),Te&&this.unexpected(Te),ae&&this.unexpected(ae),this.checkExpressionErrors(X,!0),this.toReferencedListDeep(B,!0),B.length>1?(G=this.startNodeAt(v),G.expressions=B,this.finishNode(G,"SequenceExpression"),this.resetEndLocation(G,rt)):G=B[0],this.wrapParenthesis(N,G))}wrapParenthesis(b,N){if(!this.options.createParenthesizedExpressions)return this.addExtra(N,"parenthesized",!0),this.addExtra(N,"parenStart",b.index),this.takeSurroundingComments(N,b.index,this.state.lastTokEndLoc.index),N;let G=this.startNodeAt(b);return G.expression=N,this.finishNode(G,"ParenthesizedExpression")}shouldParseArrow(b){return!this.canInsertSemicolon()}parseArrow(b){if(this.eat(19))return b}parseParenItem(b,N){return b}parseNewOrNewTarget(){let b=this.startNode();if(this.next(),this.match(16)){let N=this.createIdentifier(this.startNodeAtNode(b),"new");this.next();let G=this.parseMetaProperty(b,N,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.options.allowNewTargetOutsideFunction||this.raise(S.UnexpectedNewTarget,G),G}return this.parseNew(b)}parseNew(b){if(this.parseNewCallee(b),this.eat(10)){let N=this.parseExprList(11);this.toReferencedList(N),b.arguments=N}else b.arguments=[];return this.finishNode(b,"NewExpression")}parseNewCallee(b){let N=this.match(83),G=this.parseNoCallExpr();b.callee=G,!N||G.type!=="Import"&&G.type!=="ImportExpression"||this.raise(S.ImportCallNotNewExpression,G)}parseTemplateElement(b){let{start:N,startLoc:G,end:V,value:f}=this.state,v=N+1,B=this.startNodeAt(H(G,1));f===null&&(b||this.raise(S.InvalidEscapeSequenceTemplate,H(this.state.firstInvalidTemplateEscapePos,1)));let X=this.match(24),ae=X?-1:-2,Te=V+ae;B.value={raw:this.input.slice(v,Te).replace(/\r\n?/g,`
|
|
`),cooked:f===null?null:f.slice(1,ae)},B.tail=X,this.next();let Ke=this.finishNode(B,"TemplateElement");return this.resetEndLocation(Ke,H(this.state.lastTokEndLoc,ae)),Ke}parseTemplate(b){let N=this.startNode(),G=this.parseTemplateElement(b),V=[G],f=[];for(;!G.tail;)f.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),V.push(G=this.parseTemplateElement(b));return N.expressions=f,N.quasis=V,this.finishNode(N,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(b,N,G,V){G&&this.expectPlugin("recordAndTuple");let f=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let v=Object.create(null),B=!0,X=this.startNode();for(X.properties=[],this.next();!this.match(b);){if(B)B=!1;else if(this.expect(12),this.match(b)){this.addTrailingCommaExtraToNode(X);break}let Te;N?Te=this.parseBindingProperty():(Te=this.parsePropertyDefinition(V),this.checkProto(Te,G,v,V)),G&&!this.isObjectProperty(Te)&&Te.type!=="SpreadElement"&&this.raise(S.InvalidRecordProperty,Te),Te.shorthand&&this.addExtra(Te,"shorthand",!0),X.properties.push(Te)}this.next(),this.state.inFSharpPipelineDirectBody=f;let ae="ObjectExpression";return N?ae="ObjectPattern":G&&(ae="RecordExpression"),this.finishNode(X,ae)}addTrailingCommaExtraToNode(b){this.addExtra(b,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(b,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(b){return!b.computed&&b.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(b){let N=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(S.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)N.push(this.parseDecorator());let G=this.startNode(),V,f=!1,v=!1;if(this.match(21))return N.length&&this.unexpected(),this.parseSpread();N.length&&(G.decorators=N,N=[]),G.method=!1,b&&(V=this.state.startLoc);let B=this.eat(55);this.parsePropertyNamePrefixOperator(G);let X=this.state.containsEsc;if(this.parsePropertyName(G,b),!B&&!X&&this.maybeAsyncOrAccessorProp(G)){let{key:ae}=G,Te=ae.name;Te!=="async"||this.hasPrecedingLineBreak()||(f=!0,this.resetPreviousNodeTrailingComments(ae),B=this.eat(55),this.parsePropertyName(G)),Te!=="get"&&Te!=="set"||(v=!0,this.resetPreviousNodeTrailingComments(ae),G.kind=Te,this.match(55)&&(B=!0,this.raise(S.AccessorIsGenerator,this.state.curPosition(),{kind:Te}),this.next()),this.parsePropertyName(G))}return this.parseObjPropValue(G,V,B,f,!1,v,b)}getGetterSetterExpectedParamCount(b){return b.kind==="get"?0:1}getObjectOrClassMethodParams(b){return b.params}checkGetterSetterParams(b){var N;let G=this.getGetterSetterExpectedParamCount(b),V=this.getObjectOrClassMethodParams(b);V.length!==G&&this.raise(b.kind==="get"?S.BadGetterArity:S.BadSetterArity,b),b.kind==="set"&&((N=V[V.length-1])==null?void 0:N.type)==="RestElement"&&this.raise(S.BadSetterRestParameter,b)}parseObjectMethod(b,N,G,V,f){if(f){let v=this.parseMethod(b,N,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(v),v}if(G||N||this.match(10))return V&&this.unexpected(),b.kind="method",b.method=!0,this.parseMethod(b,N,G,!1,!1,"ObjectMethod")}parseObjectProperty(b,N,G,V){if(b.shorthand=!1,this.eat(14))return b.value=G?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(V),this.finishNode(b,"ObjectProperty");if(!b.computed&&b.key.type==="Identifier"){if(this.checkReservedWord(b.key.name,b.key.loc.start,!0,!1),G)b.value=this.parseMaybeDefault(N,Oi(b.key));else if(this.match(29)){let f=this.state.startLoc;V!=null?V.shorthandAssignLoc===null&&(V.shorthandAssignLoc=f):this.raise(S.InvalidCoverInitializedName,f),b.value=this.parseMaybeDefault(N,Oi(b.key))}else b.value=Oi(b.key);return b.shorthand=!0,this.finishNode(b,"ObjectProperty")}}parseObjPropValue(b,N,G,V,f,v,B){let X=this.parseObjectMethod(b,G,V,f,v)||this.parseObjectProperty(b,N,f,B);return X||this.unexpected(),X}parsePropertyName(b,N){if(this.eat(0))b.computed=!0,b.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:G,value:V}=this.state,f;if(Q(G))f=this.parseIdentifier(!0);else switch(G){case 134:f=this.parseNumericLiteral(V);break;case 133:f=this.parseStringLiteral(V);break;case 135:f=this.parseBigIntLiteral(V);break;case 138:{let v=this.state.startLoc;N!=null?N.privateKeyLoc===null&&(N.privateKeyLoc=v):this.raise(S.UnexpectedPrivateField,v),f=this.parsePrivateName();break}default:if(G===136){f=this.parseDecimalLiteral(V);break}this.unexpected()}b.key=f,G!==138&&(b.computed=!1)}}initFunction(b,N){b.id=null,b.generator=!1,b.async=N}parseMethod(b,N,G,V,f,v,B=!1){this.initFunction(b,G),b.generator=N,this.scope.enter(18|(B?64:0)|(f?32:0)),this.prodParam.enter(ii(G,b.generator)),this.parseFunctionParams(b,V);let X=this.parseFunctionBodyAndFinish(b,v,!0);return this.prodParam.exit(),this.scope.exit(),X}parseArrayLike(b,N,G,V){G&&this.expectPlugin("recordAndTuple");let f=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let v=this.startNode();return this.next(),v.elements=this.parseExprList(b,!G,V,v),this.state.inFSharpPipelineDirectBody=f,this.finishNode(v,G?"TupleExpression":"ArrayExpression")}parseArrowExpression(b,N,G,V){this.scope.enter(6);let f=ii(G,!1);!this.match(5)&&this.prodParam.hasIn&&(f|=8),this.prodParam.enter(f),this.initFunction(b,G);let v=this.state.maybeInArrowParameters;return N&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(b,N,V)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(b,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=v,this.finishNode(b,"ArrowFunctionExpression")}setArrowFunctionParameters(b,N,G){this.toAssignableList(N,G,!1),b.params=N}parseFunctionBodyAndFinish(b,N,G=!1){return this.parseFunctionBody(b,!1,G),this.finishNode(b,N)}parseFunctionBody(b,N,G=!1){let V=N&&!this.match(5);if(this.expressionScope.enter(Ni()),V)b.body=this.parseMaybeAssign(),this.checkParams(b,!1,N,!1);else{let f=this.state.strict,v=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),b.body=this.parseBlock(!0,!1,B=>{let X=!this.isSimpleParamList(b.params);B&&X&&this.raise(S.IllegalLanguageModeDirective,b.kind!=="method"&&b.kind!=="constructor"||!b.key?b:b.key.loc.end);let ae=!f&&this.state.strict;this.checkParams(b,!(this.state.strict||N||G||X),N,ae),this.state.strict&&b.id&&this.checkIdentifier(b.id,65,ae)}),this.prodParam.exit(),this.state.labels=v}this.expressionScope.exit()}isSimpleParameter(b){return b.type==="Identifier"}isSimpleParamList(b){for(let N=0,G=b.length;N<G;N++)if(!this.isSimpleParameter(b[N]))return!1;return!0}checkParams(b,N,G,V=!0){let f=!N&&new Set,v={type:"FormalParameters"};for(let B of b.params)this.checkLVal(B,v,5,f,V)}parseExprList(b,N,G,V){let f=[],v=!0;for(;!this.eat(b);){if(v)v=!1;else if(this.expect(12),this.match(b)){V&&this.addTrailingCommaExtraToNode(V),this.next();break}f.push(this.parseExprListItem(N,G))}return f}parseExprListItem(b,N,G){let V;if(this.match(12))b||this.raise(S.UnexpectedToken,this.state.curPosition(),{unexpected:","}),V=null;else if(this.match(21)){let f=this.state.startLoc;V=this.parseParenItem(this.parseSpread(N),f)}else if(this.match(17)){this.expectPlugin("partialApplication"),G||this.raise(S.UnexpectedArgumentPlaceholder,this.state.startLoc);let f=this.startNode();this.next(),V=this.finishNode(f,"ArgumentPlaceholder")}else V=this.parseMaybeAssignAllowIn(N,this.parseParenItem);return V}parseIdentifier(b){let N=this.startNode(),G=this.parseIdentifierName(b);return this.createIdentifier(N,G)}createIdentifier(b,N){return b.name=N,b.loc.identifierName=N,this.finishNode(b,"Identifier")}parseIdentifierName(b){let N,{startLoc:G,type:V}=this.state;Q(V)?N=this.state.value:this.unexpected();let f=V<=92;return b?f&&this.replaceToken(132):this.checkReservedWord(N,G,f,!1),this.next(),N}checkReservedWord(b,N,G,V){if(!(b.length>10)&&function(f){return de.has(f)}(b)){if(G&&function(f){return nt.has(f)}(b))return void this.raise(S.UnexpectedKeyword,N,{keyword:b});if((this.state.strict?V?Ae:ue:pe)(b,this.inModule))this.raise(S.UnexpectedReservedWord,N,{reservedWord:b});else if(b==="yield"){if(this.prodParam.hasYield)return void this.raise(S.YieldBindingIdentifier,N)}else if(b==="await"){if(this.prodParam.hasAwait)return void this.raise(S.AwaitBindingIdentifier,N);if(this.scope.inStaticBlock)return void this.raise(S.AwaitBindingIdentifierInStaticBlock,N);this.expressionScope.recordAsyncArrowParametersError(N)}else if(b==="arguments"&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(S.ArgumentsInClass,N)}}recordAwaitIfAllowed(){let b=this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction;return b&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),b}parseAwait(b){let N=this.startNodeAt(b);return this.expressionScope.recordParameterInitializerError(S.AwaitExpressionFormalParameter,N),this.eat(55)&&this.raise(S.ObsoleteAwaitStar,N),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(N.argument=this.parseMaybeUnary(null,!0)),this.finishNode(N,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:b}=this.state;return b===53||b===10||b===0||Fe(b)||b===102&&!this.state.containsEsc||b===137||b===56||this.hasPlugin("v8intrinsic")&&b===54}parseYield(){let b=this.startNode();this.expressionScope.recordParameterInitializerError(S.YieldInParameter,b),this.next();let N=!1,G=null;if(!this.hasPrecedingLineBreak())switch(N=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!N)break;default:G=this.parseMaybeAssign()}return b.delegate=N,b.argument=G,this.finishNode(b,"YieldExpression")}parseImportCall(b){return this.next(),b.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(b.options=null),this.eat(12)&&(this.hasPlugin("moduleAttributes")||this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes"),this.match(11)||(b.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(b,"ImportExpression")}checkPipelineAtInfixOperator(b,N){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&b.type==="SequenceExpression"&&this.raise(S.PipelineHeadSequenceExpression,N)}parseSmartPipelineBodyInStyle(b,N){if(this.isSimpleReference(b)){let G=this.startNodeAt(N);return G.callee=b,this.finishNode(G,"PipelineBareFunction")}{let G=this.startNodeAt(N);return this.checkSmartPipeTopicBodyEarlyErrors(N),G.expression=b,this.finishNode(G,"PipelineTopicExpression")}}isSimpleReference(b){switch(b.type){case"MemberExpression":return!b.computed&&this.isSimpleReference(b.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(b){if(this.match(19))throw this.raise(S.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(S.PipelineTopicUnused,b)}withTopicBindingContext(b){let N=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return b()}finally{this.state.topicContext=N}}withSmartMixTopicForbiddingContext(b){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return b();{let N=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return b()}finally{this.state.topicContext=N}}}withSoloAwaitPermittingContext(b){let N=this.state.soloAwait;this.state.soloAwait=!0;try{return b()}finally{this.state.soloAwait=N}}allowInAnd(b){let N=this.prodParam.currentFlags();if(8&~N){this.prodParam.enter(8|N);try{return b()}finally{this.prodParam.exit()}}return b()}disallowInAnd(b){let N=this.prodParam.currentFlags();if(8&N){this.prodParam.enter(-9&N);try{return b()}finally{this.prodParam.exit()}}return b()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(b){let N=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let G=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let V=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),N,b);return this.state.inFSharpPipelineDirectBody=G,V}parseModuleExpression(){this.expectPlugin("moduleBlocks");let b=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let N=this.startNodeAt(this.state.endLoc);this.next();let G=this.initializeScopes(!0);this.enterInitialScopes();try{b.body=this.parseProgram(N,8,"module")}finally{G()}return this.finishNode(b,"ModuleExpression")}parsePropertyNamePrefixOperator(b){}}let Fa={kind:1},ja={kind:2},ao=/[\uD800-\uDFFF]/u,Rr=/in(?:stanceof)?/y;class Ks extends Oa{parseTopLevel(b,N){return b.program=this.parseProgram(N),b.comments=this.comments,this.options.tokens&&(b.tokens=function(G,V){for(let f=0;f<G.length;f++){let v=G[f],{type:B}=v;if(typeof B=="number"){if(B===138){let{loc:X,start:ae,value:Te,end:Ke}=v,rt=ae+1,at=H(X.start,1);G.splice(f,1,new Cn({type:me(27),value:"#",start:ae,end:rt,startLoc:X.start,endLoc:at}),new Cn({type:me(132),value:Te,start:rt,end:Ke,startLoc:at,endLoc:X.end})),f++;continue}if(Fe(B)){let{loc:X,start:ae,value:Te,end:Ke}=v,rt=ae+1,at=H(X.start,1),St,Kt,gr,lr,Ur;St=V.charCodeAt(ae)===96?new Cn({type:me(22),value:"`",start:ae,end:rt,startLoc:X.start,endLoc:at}):new Cn({type:me(8),value:"}",start:ae,end:rt,startLoc:X.start,endLoc:at}),B===24?(gr=Ke-1,lr=H(X.end,-1),Kt=Te===null?null:Te.slice(1,-1),Ur=new Cn({type:me(22),value:"`",start:gr,end:Ke,startLoc:lr,endLoc:X.end})):(gr=Ke-2,lr=H(X.end,-2),Kt=Te===null?null:Te.slice(1,-2),Ur=new Cn({type:me(23),value:"${",start:gr,end:Ke,startLoc:lr,endLoc:X.end})),G.splice(f,1,St,new Cn({type:me(20),value:Kt,start:rt,end:gr,startLoc:at,endLoc:lr}),Ur),f+=2;continue}v.type=me(B)}}return G}(this.tokens,this.input)),this.finishNode(b,"File")}parseProgram(b,N=139,G=this.options.sourceType){if(b.sourceType=G,b.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(b,!0,!0,N),this.inModule){if(!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[f,v]of Array.from(this.scope.undefinedExports))this.raise(S.ModuleExportUndefined,v,{localName:f});this.addExtra(b,"topLevelAwait",this.state.hasTopLevelAwait)}let V;return V=N===139?this.finishNode(b,"Program"):this.finishNodeAt(b,"Program",H(this.state.startLoc,-1)),V}stmtToDirective(b){let N=b;N.type="Directive",N.value=N.expression,delete N.expression;let G=N.value,V=G.value,f=this.input.slice(G.start,G.end),v=G.value=f.slice(1,-1);return this.addExtra(G,"raw",f),this.addExtra(G,"rawValue",v),this.addExtra(G,"expressionValue",V),G.type="DirectiveLiteral",N}parseInterpreterDirective(){if(!this.match(28))return null;let b=this.startNode();return b.value=this.state.value,this.next(),this.finishNode(b,"InterpreterDirective")}isLet(){return!!this.isContextual(100)&&this.hasFollowingBindingAtom()}chStartsBindingIdentifier(b,N){if(se(b)){if(Rr.lastIndex=N,Rr.test(this.input)){let G=this.codePointAtPos(Rr.lastIndex);if(!Ie(G)&&G!==92)return!1}return!0}return b===92}chStartsBindingPattern(b){return b===91||b===123}hasFollowingBindingAtom(){let b=this.nextTokenStart(),N=this.codePointAtPos(b);return this.chStartsBindingPattern(N)||this.chStartsBindingIdentifier(N,b)}hasInLineFollowingBindingIdentifierOrBrace(){let b=this.nextTokenInLineStart(),N=this.codePointAtPos(b);return N===123||this.chStartsBindingIdentifier(N,b)}startsUsingForOf(){let{type:b,containsEsc:N}=this.lookahead();return!(b===102&&!N)&&(q(b)&&!this.hasFollowingLineBreak()?(this.expectPlugin("explicitResourceManagement"),!0):void 0)}startsAwaitUsing(){let b=this.nextTokenInLineStart();if(this.isUnparsedContextual(b,"using")){b=this.nextTokenInLineStartSince(b+5);let N=this.codePointAtPos(b);if(this.chStartsBindingIdentifier(N,b))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(b=!1){let N=0;return this.options.annexB&&!this.state.strict&&(N|=4,b&&(N|=8)),this.parseStatementLike(N)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(b){let N=null;return this.match(26)&&(N=this.parseDecorators(!0)),this.parseStatementContent(b,N)}parseStatementContent(b,N){let G=this.state.type,V=this.startNode(),f=!!(2&b),v=!!(4&b),B=1&b;switch(G){case 60:return this.parseBreakContinueStatement(V,!0);case 63:return this.parseBreakContinueStatement(V,!1);case 64:return this.parseDebuggerStatement(V);case 90:return this.parseDoWhileStatement(V);case 91:return this.parseForStatement(V);case 68:if(this.lookaheadCharCode()===46)break;return v||this.raise(this.state.strict?S.StrictFunction:this.options.annexB?S.SloppyFunctionAnnexB:S.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(V,!1,!f&&v);case 80:return f||this.unexpected(),this.parseClass(this.maybeTakeDecorators(N,V),!0);case 69:return this.parseIfStatement(V);case 70:return this.parseReturnStatement(V);case 71:return this.parseSwitchStatement(V);case 72:return this.parseThrowStatement(V);case 73:return this.parseTryStatement(V);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.recordAwaitIfAllowed()?f||this.raise(S.UnexpectedLexicalDeclaration,V):this.raise(S.AwaitUsingNotInAsyncContext,V),this.next(),this.parseVarStatement(V,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(S.UnexpectedUsingDeclaration,this.state.startLoc):f||this.raise(S.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(V,"using");case 100:{if(this.state.containsEsc)break;let Te=this.nextTokenStart(),Ke=this.codePointAtPos(Te);if(Ke!==91&&(!f&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(Ke,Te)&&Ke!==123))break}case 75:f||this.raise(S.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let Te=this.state.value;return this.parseVarStatement(V,Te)}case 92:return this.parseWhileStatement(V);case 76:return this.parseWithStatement(V);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(V);case 83:{let Te=this.lookaheadCharCode();if(Te===40||Te===46)break}case 82:{let Te;return this.options.allowImportExportEverywhere||B||this.raise(S.UnexpectedImportExport,this.state.startLoc),this.next(),G===83?(Te=this.parseImport(V),Te.type!=="ImportDeclaration"||Te.importKind&&Te.importKind!=="value"||(this.sawUnambiguousESM=!0)):(Te=this.parseExport(V,N),(Te.type!=="ExportNamedDeclaration"||Te.exportKind&&Te.exportKind!=="value")&&(Te.type!=="ExportAllDeclaration"||Te.exportKind&&Te.exportKind!=="value")&&Te.type!=="ExportDefaultDeclaration"||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(Te),Te}default:if(this.isAsyncFunction())return f||this.raise(S.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(V,!0,!f&&v)}let X=this.state.value,ae=this.parseExpression();return q(G)&&ae.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(V,X,ae,b):this.parseExpressionStatement(V,ae,N)}assertModuleNodeAllowed(b){this.options.allowImportExportEverywhere||this.inModule||this.raise(S.ImportOutsideModule,b)}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(b,N,G){return b&&(N.decorators&&N.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(S.DecoratorsBeforeAfterExport,N.decorators[0]),N.decorators.unshift(...b)):N.decorators=b,this.resetStartLocationFromNode(N,b[0]),G&&this.resetStartLocationFromNode(G,N)),N}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(b){let N=[];do N.push(this.parseDecorator());while(this.match(26));if(this.match(82))b||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(S.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(S.UnexpectedLeadingDecorator,this.state.startLoc);return N}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let b=this.startNode();if(this.next(),this.hasPlugin("decorators")){let N=this.state.startLoc,G;if(this.match(10)){let V=this.state.startLoc;this.next(),G=this.parseExpression(),this.expect(11),G=this.wrapParenthesis(V,G);let f=this.state.startLoc;b.expression=this.parseMaybeDecoratorArguments(G),this.getPluginOption("decorators","allowCallParenthesized")===!1&&b.expression!==G&&this.raise(S.DecoratorArgumentsOutsideParentheses,f)}else{for(G=this.parseIdentifier(!1);this.eat(16);){let V=this.startNodeAt(N);V.object=G,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),V.property=this.parsePrivateName()):V.property=this.parseIdentifier(!0),V.computed=!1,G=this.finishNode(V,"MemberExpression")}b.expression=this.parseMaybeDecoratorArguments(G)}}else b.expression=this.parseExprSubscripts();return this.finishNode(b,"Decorator")}parseMaybeDecoratorArguments(b){if(this.eat(10)){let N=this.startNodeAtNode(b);return N.callee=b,N.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(N.arguments),this.finishNode(N,"CallExpression")}return b}parseBreakContinueStatement(b,N){return this.next(),this.isLineTerminator()?b.label=null:(b.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(b,N),this.finishNode(b,N?"BreakStatement":"ContinueStatement")}verifyBreakContinue(b,N){let G;for(G=0;G<this.state.labels.length;++G){let V=this.state.labels[G];if((b.label==null||V.name===b.label.name)&&(V.kind!=null&&(N||V.kind===1)||b.label&&N))break}if(G===this.state.labels.length){let V=N?"BreakStatement":"ContinueStatement";this.raise(S.IllegalBreakContinue,b,{type:V})}}parseDebuggerStatement(b){return this.next(),this.semicolon(),this.finishNode(b,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let b=this.parseExpression();return this.expect(11),b}parseDoWhileStatement(b){return this.next(),this.state.labels.push(Fa),b.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),b.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(b,"DoWhileStatement")}parseForStatement(b){this.next(),this.state.labels.push(Fa);let N=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(N=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return N!==null&&this.unexpected(N),this.parseFor(b,null);let G=this.isContextual(100);{let X=this.isContextual(96)&&this.startsAwaitUsing(),ae=X||this.isContextual(107)&&this.startsUsingForOf(),Te=G&&this.hasFollowingBindingAtom()||ae;if(this.match(74)||this.match(75)||Te){let Ke=this.startNode(),rt;X?(rt="await using",this.recordAwaitIfAllowed()||this.raise(S.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):rt=this.state.value,this.next(),this.parseVar(Ke,!0,rt);let at=this.finishNode(Ke,"VariableDeclaration"),St=this.match(58);return St&&ae&&this.raise(S.ForInUsing,at),(St||this.isContextual(102))&&at.declarations.length===1?this.parseForIn(b,at,N):(N!==null&&this.unexpected(N),this.parseFor(b,at))}}let V=this.isContextual(95),f=new Pn,v=this.parseExpression(!0,f),B=this.isContextual(102);if(B&&(G&&this.raise(S.ForOfLet,v),N===null&&V&&v.type==="Identifier"&&this.raise(S.ForOfAsync,v)),B||this.match(58)){this.checkDestructuringPrivate(f),this.toAssignable(v,!0);let X=B?"ForOfStatement":"ForInStatement";return this.checkLVal(v,{type:X}),this.parseForIn(b,v,N)}return this.checkExpressionErrors(f,!0),N!==null&&this.unexpected(N),this.parseFor(b,v)}parseFunctionStatement(b,N,G){return this.next(),this.parseFunction(b,1|(G?2:0)|(N?8:0))}parseIfStatement(b){return this.next(),b.test=this.parseHeaderExpression(),b.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),b.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(b,"IfStatement")}parseReturnStatement(b){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(S.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?b.argument=null:(b.argument=this.parseExpression(),this.semicolon()),this.finishNode(b,"ReturnStatement")}parseSwitchStatement(b){this.next(),b.discriminant=this.parseHeaderExpression();let N=b.cases=[],G;this.expect(5),this.state.labels.push(ja),this.scope.enter(0);for(let V;!this.match(8);)if(this.match(61)||this.match(65)){let f=this.match(61);G&&this.finishNode(G,"SwitchCase"),N.push(G=this.startNode()),G.consequent=[],this.next(),f?G.test=this.parseExpression():(V&&this.raise(S.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),V=!0,G.test=null),this.expect(14)}else G?G.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),G&&this.finishNode(G,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(b,"SwitchStatement")}parseThrowStatement(b){return this.next(),this.hasPrecedingLineBreak()&&this.raise(S.NewlineAfterThrow,this.state.lastTokEndLoc),b.argument=this.parseExpression(),this.semicolon(),this.finishNode(b,"ThrowStatement")}parseCatchClauseParam(){let b=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&b.type==="Identifier"?8:0),this.checkLVal(b,{type:"CatchClause"},9),b}parseTryStatement(b){if(this.next(),b.block=this.parseBlock(),b.handler=null,this.match(62)){let N=this.startNode();this.next(),this.match(10)?(this.expect(10),N.param=this.parseCatchClauseParam(),this.expect(11)):(N.param=null,this.scope.enter(0)),N.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),b.handler=this.finishNode(N,"CatchClause")}return b.finalizer=this.eat(67)?this.parseBlock():null,b.handler||b.finalizer||this.raise(S.NoCatchOrFinally,b),this.finishNode(b,"TryStatement")}parseVarStatement(b,N,G=!1){return this.next(),this.parseVar(b,!1,N,G),this.semicolon(),this.finishNode(b,"VariableDeclaration")}parseWhileStatement(b){return this.next(),b.test=this.parseHeaderExpression(),this.state.labels.push(Fa),b.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(b,"WhileStatement")}parseWithStatement(b){return this.state.strict&&this.raise(S.StrictWith,this.state.startLoc),this.next(),b.object=this.parseHeaderExpression(),b.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(b,"WithStatement")}parseEmptyStatement(b){return this.next(),this.finishNode(b,"EmptyStatement")}parseLabeledStatement(b,N,G,V){for(let B of this.state.labels)B.name===N&&this.raise(S.LabelRedeclaration,G,{labelName:N});let f=(v=this.state.type)>=90&&v<=92?1:this.match(71)?2:null;var v;for(let B=this.state.labels.length-1;B>=0;B--){let X=this.state.labels[B];if(X.statementStart!==b.start)break;X.statementStart=this.state.start,X.kind=f}return this.state.labels.push({name:N,kind:f,statementStart:this.state.start}),b.body=8&V?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),b.label=G,this.finishNode(b,"LabeledStatement")}parseExpressionStatement(b,N,G){return b.expression=N,this.semicolon(),this.finishNode(b,"ExpressionStatement")}parseBlock(b=!1,N=!0,G){let V=this.startNode();return b&&this.state.strictErrors.clear(),this.expect(5),N&&this.scope.enter(0),this.parseBlockBody(V,b,!1,8,G),N&&this.scope.exit(),this.finishNode(V,"BlockStatement")}isValidDirective(b){return b.type==="ExpressionStatement"&&b.expression.type==="StringLiteral"&&!b.expression.extra.parenthesized}parseBlockBody(b,N,G,V,f){let v=b.body=[],B=b.directives=[];this.parseBlockOrModuleBlockBody(v,N?B:void 0,G,V,f)}parseBlockOrModuleBlockBody(b,N,G,V,f){let v=this.state.strict,B=!1,X=!1;for(;!this.match(V);){let ae=G?this.parseModuleItem():this.parseStatementListItem();if(N&&!X){if(this.isValidDirective(ae)){let Te=this.stmtToDirective(ae);N.push(Te),B||Te.value.value!=="use strict"||(B=!0,this.setStrict(!0));continue}X=!0,this.state.strictErrors.clear()}b.push(ae)}f?.call(this,B),v||this.setStrict(!1),this.next()}parseFor(b,N){return b.init=N,this.semicolon(!1),b.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),b.update=this.match(11)?null:this.parseExpression(),this.expect(11),b.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(b,"ForStatement")}parseForIn(b,N,G){let V=this.match(58);return this.next(),V?G!==null&&this.unexpected(G):b.await=G!==null,N.type!=="VariableDeclaration"||N.declarations[0].init==null||V&&this.options.annexB&&!this.state.strict&&N.kind==="var"&&N.declarations[0].id.type==="Identifier"||this.raise(S.ForInOfLoopInitializer,N,{type:V?"ForInStatement":"ForOfStatement"}),N.type==="AssignmentPattern"&&this.raise(S.InvalidLhs,N,{ancestor:{type:"ForStatement"}}),b.left=N,b.right=V?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),b.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(b,V?"ForInStatement":"ForOfStatement")}parseVar(b,N,G,V=!1){let f=b.declarations=[];for(b.kind=G;;){let v=this.startNode();if(this.parseVarId(v,G),v.init=this.eat(29)?N?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,v.init!==null||V||(v.id.type==="Identifier"||N&&(this.match(58)||this.isContextual(102))?G!=="const"&&G!=="using"&&G!=="await using"||this.match(58)||this.isContextual(102)||this.raise(S.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:G}):this.raise(S.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"})),f.push(this.finishNode(v,"VariableDeclarator")),!this.eat(12))break}return b}parseVarId(b,N){let G=this.parseBindingAtom();N!=="using"&&N!=="await using"||G.type!=="ArrayPattern"&&G.type!=="ObjectPattern"||this.raise(S.UsingDeclarationHasBindingPattern,G.loc.start),this.checkLVal(G,{type:"VariableDeclarator"},N==="var"?5:8201),b.id=G}parseAsyncFunctionExpression(b){return this.parseFunction(b,8)}parseFunction(b,N=0){let G=2&N,V=!!(1&N),f=V&&!(4&N),v=!!(8&N);this.initFunction(b,v),this.match(55)&&(G&&this.raise(S.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),b.generator=!0),V&&(b.id=this.parseFunctionId(f));let B=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(ii(v,b.generator)),V||(b.id=this.parseFunctionId()),this.parseFunctionParams(b,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(b,V?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),V&&!G&&this.registerFunctionStatementId(b),this.state.maybeInArrowParameters=B,b}parseFunctionId(b){return b||q(this.state.type)?this.parseIdentifier():null}parseFunctionParams(b,N){this.expect(10),this.expressionScope.enter(new mn(3)),b.params=this.parseBindingList(11,41,2|(N?4:0)),this.expressionScope.exit()}registerFunctionStatementId(b){b.id&&this.scope.declareName(b.id.name,!this.options.annexB||this.state.strict||b.generator||b.async?this.scope.treatFunctionsAsVar?5:8201:17,b.id.loc.start)}parseClass(b,N,G){this.next();let V=this.state.strict;return this.state.strict=!0,this.parseClassId(b,N,G),this.parseClassSuper(b),b.body=this.parseClassBody(!!b.superClass,V),this.finishNode(b,N?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(b){return b.type==="Identifier"&&b.name==="constructor"||b.type==="StringLiteral"&&b.value==="constructor"}isNonstaticConstructor(b){return!b.computed&&!b.static&&this.nameIsConstructor(b.key)}parseClassBody(b,N){this.classScope.enter();let G={hadConstructor:!1,hadSuperClass:b},V=[],f=this.startNode();if(f.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(V.length>0)throw this.raise(S.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){V.push(this.parseDecorator());continue}let v=this.startNode();V.length&&(v.decorators=V,this.resetStartLocationFromNode(v,V[0]),V=[]),this.parseClassMember(f,v,G),v.kind==="constructor"&&v.decorators&&v.decorators.length>0&&this.raise(S.DecoratorConstructor,v)}}),this.state.strict=N,this.next(),V.length)throw this.raise(S.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(f,"ClassBody")}parseClassMemberFromModifier(b,N){let G=this.parseIdentifier(!0);if(this.isClassMethod()){let V=N;return V.kind="method",V.computed=!1,V.key=G,V.static=!1,this.pushClassMethod(b,V,!1,!1,!1,!1),!0}if(this.isClassProperty()){let V=N;return V.computed=!1,V.key=G,V.static=!1,b.body.push(this.parseClassProperty(V)),!0}return this.resetPreviousNodeTrailingComments(G),!1}parseClassMember(b,N,G){let V=this.isContextual(106);if(V){if(this.parseClassMemberFromModifier(b,N))return;if(this.eat(5))return void this.parseClassStaticBlock(b,N)}this.parseClassMemberWithIsStatic(b,N,G,V)}parseClassMemberWithIsStatic(b,N,G,V){let f=N,v=N,B=N,X=N,ae=N,Te=f,Ke=f;if(N.static=V,this.parsePropertyNamePrefixOperator(N),this.eat(55)){Te.kind="method";let lr=this.match(138);return this.parseClassElementName(Te),lr?void this.pushClassPrivateMethod(b,v,!0,!1):(this.isNonstaticConstructor(f)&&this.raise(S.ConstructorIsGenerator,f.key),void this.pushClassMethod(b,f,!0,!1,!1,!1))}let rt=!this.state.containsEsc&&q(this.state.type),at=this.parseClassElementName(N),St=rt?at.name:null,Kt=this.isPrivateName(at),gr=this.state.startLoc;if(this.parsePostMemberNameModifiers(Ke),this.isClassMethod()){if(Te.kind="method",Kt)return void this.pushClassPrivateMethod(b,v,!1,!1);let lr=this.isNonstaticConstructor(f),Ur=!1;lr&&(f.kind="constructor",G.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(S.DuplicateConstructor,at),lr&&this.hasPlugin("typescript")&&N.override&&this.raise(S.OverrideOnConstructor,at),G.hadConstructor=!0,Ur=G.hadSuperClass),this.pushClassMethod(b,f,!1,!1,lr,Ur)}else if(this.isClassProperty())Kt?this.pushClassPrivateProperty(b,X):this.pushClassProperty(b,B);else if(St!=="async"||this.isLineTerminator())if(St!=="get"&&St!=="set"||this.match(55)&&this.isLineTerminator())if(St!=="accessor"||this.isLineTerminator())this.isLineTerminator()?Kt?this.pushClassPrivateProperty(b,X):this.pushClassProperty(b,B):this.unexpected();else{this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(at);let lr=this.match(138);this.parseClassElementName(B),this.pushClassAccessorProperty(b,ae,lr)}else{this.resetPreviousNodeTrailingComments(at),Te.kind=St;let lr=this.match(138);this.parseClassElementName(f),lr?this.pushClassPrivateMethod(b,v,!1,!1):(this.isNonstaticConstructor(f)&&this.raise(S.ConstructorIsAccessor,f.key),this.pushClassMethod(b,f,!1,!1,!1,!1)),this.checkGetterSetterParams(f)}else{this.resetPreviousNodeTrailingComments(at);let lr=this.eat(55);Ke.optional&&this.unexpected(gr),Te.kind="method";let Ur=this.match(138);this.parseClassElementName(Te),this.parsePostMemberNameModifiers(Ke),Ur?this.pushClassPrivateMethod(b,v,lr,!0):(this.isNonstaticConstructor(f)&&this.raise(S.ConstructorIsAsync,f.key),this.pushClassMethod(b,f,lr,!0,!1,!1))}}parseClassElementName(b){let{type:N,value:G}=this.state;if(N!==132&&N!==133||!b.static||G!=="prototype"||this.raise(S.StaticPrototype,this.state.startLoc),N===138){G==="constructor"&&this.raise(S.ConstructorClassPrivateField,this.state.startLoc);let V=this.parsePrivateName();return b.key=V,V}return this.parsePropertyName(b),b.key}parseClassStaticBlock(b,N){var G;this.scope.enter(208);let V=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let f=N.body=[];this.parseBlockOrModuleBlockBody(f,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=V,b.body.push(this.finishNode(N,"StaticBlock")),(G=N.decorators)!=null&&G.length&&this.raise(S.DecoratorStaticBlock,N)}pushClassProperty(b,N){!N.computed&&this.nameIsConstructor(N.key)&&this.raise(S.ConstructorClassField,N.key),b.body.push(this.parseClassProperty(N))}pushClassPrivateProperty(b,N){let G=this.parseClassPrivateProperty(N);b.body.push(G),this.classScope.declarePrivateName(this.getPrivateNameSV(G.key),0,G.key.loc.start)}pushClassAccessorProperty(b,N,G){G||N.computed||!this.nameIsConstructor(N.key)||this.raise(S.ConstructorClassField,N.key);let V=this.parseClassAccessorProperty(N);b.body.push(V),G&&this.classScope.declarePrivateName(this.getPrivateNameSV(V.key),0,V.key.loc.start)}pushClassMethod(b,N,G,V,f,v){b.body.push(this.parseMethod(N,G,V,f,v,"ClassMethod",!0))}pushClassPrivateMethod(b,N,G,V){let f=this.parseMethod(N,G,V,!1,!1,"ClassPrivateMethod",!0);b.body.push(f);let v=f.kind==="get"?f.static?6:2:f.kind==="set"?f.static?5:1:0;this.declareClassPrivateMethodInScope(f,v)}declareClassPrivateMethodInScope(b,N){this.classScope.declarePrivateName(this.getPrivateNameSV(b.key),N,b.key.loc.start)}parsePostMemberNameModifiers(b){}parseClassPrivateProperty(b){return this.parseInitializer(b),this.semicolon(),this.finishNode(b,"ClassPrivateProperty")}parseClassProperty(b){return this.parseInitializer(b),this.semicolon(),this.finishNode(b,"ClassProperty")}parseClassAccessorProperty(b){return this.parseInitializer(b),this.semicolon(),this.finishNode(b,"ClassAccessorProperty")}parseInitializer(b){this.scope.enter(80),this.expressionScope.enter(Ni()),this.prodParam.enter(0),b.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(b,N,G,V=8331){if(q(this.state.type))b.id=this.parseIdentifier(),N&&this.declareNameFromIdentifier(b.id,V);else{if(!G&&N)throw this.raise(S.MissingClassName,this.state.startLoc);b.id=null}}parseClassSuper(b){b.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(b,N){let G=this.parseMaybeImportPhase(b,!0),V=this.maybeParseExportDefaultSpecifier(b,G),f=!V||this.eat(12),v=f&&this.eatExportStar(b),B=v&&this.maybeParseExportNamespaceSpecifier(b),X=f&&(!B||this.eat(12)),ae=V||v;if(v&&!B){if(V&&this.unexpected(),N)throw this.raise(S.UnsupportedDecoratorExport,b);return this.parseExportFrom(b,!0),this.finishNode(b,"ExportAllDeclaration")}let Te=this.maybeParseExportNamedSpecifiers(b),Ke;if(V&&f&&!v&&!Te&&this.unexpected(null,5),B&&X&&this.unexpected(null,98),ae||Te){if(Ke=!1,N)throw this.raise(S.UnsupportedDecoratorExport,b);this.parseExportFrom(b,ae)}else Ke=this.maybeParseExportDeclaration(b);if(ae||Te||Ke){var rt;let at=b;if(this.checkExport(at,!0,!1,!!at.source),((rt=at.declaration)==null?void 0:rt.type)==="ClassDeclaration")this.maybeTakeDecorators(N,at.declaration,at);else if(N)throw this.raise(S.UnsupportedDecoratorExport,b);return this.finishNode(at,"ExportNamedDeclaration")}if(this.eat(65)){let at=b,St=this.parseExportDefaultExpression();if(at.declaration=St,St.type==="ClassDeclaration")this.maybeTakeDecorators(N,St,at);else if(N)throw this.raise(S.UnsupportedDecoratorExport,b);return this.checkExport(at,!0,!0),this.finishNode(at,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(b){return this.eat(55)}maybeParseExportDefaultSpecifier(b,N){if(N||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",N?.loc.start);let G=N||this.parseIdentifier(!0),V=this.startNodeAtNode(G);return V.exported=G,b.specifiers=[this.finishNode(V,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(b){if(this.isContextual(93)){var N;(N=b).specifiers!=null||(N.specifiers=[]);let G=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),G.exported=this.parseModuleExportName(),b.specifiers.push(this.finishNode(G,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(b){if(this.match(5)){let N=b;N.specifiers||(N.specifiers=[]);let G=N.exportKind==="type";return N.specifiers.push(...this.parseExportSpecifiers(G)),N.source=null,N.declaration=null,this.hasPlugin("importAssertions")&&(N.assertions=[]),!0}return!1}maybeParseExportDeclaration(b){return!!this.shouldParseExportDeclaration()&&(b.specifiers=[],b.source=null,this.hasPlugin("importAssertions")&&(b.assertions=[]),b.declaration=this.parseExportDeclaration(b),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;let b=this.nextTokenInLineStart();return this.isUnparsedContextual(b,"function")}parseExportDefaultExpression(){let b=this.startNode();if(this.match(68))return this.next(),this.parseFunction(b,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(b,13);if(this.match(80))return this.parseClass(b,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(S.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(S.UnsupportedDefaultExport,this.state.startLoc);let N=this.parseMaybeAssignAllowIn();return this.semicolon(),N}parseExportDeclaration(b){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:b}=this.state;if(q(b)){if(b===95&&!this.state.containsEsc||b===100)return!1;if((b===130||b===129)&&!this.state.containsEsc){let{type:V}=this.lookahead();if(q(V)&&V!==98||V===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let N=this.nextTokenStart(),G=this.isUnparsedContextual(N,"from");if(this.input.charCodeAt(N)===44||q(this.state.type)&&G)return!0;if(this.match(65)&&G){let V=this.input.charCodeAt(this.nextTokenStartSince(N+4));return V===34||V===39}return!1}parseExportFrom(b,N){this.eatContextual(98)?(b.source=this.parseImportSource(),this.checkExport(b),this.maybeParseImportAttributes(b),this.checkJSONModuleImport(b)):N&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:b}=this.state;return b===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(S.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)||this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(S.UsingDeclarationExport,this.state.startLoc),!0):b===74||b===75||b===68||b===80||this.isLet()||this.isAsyncFunction()}checkExport(b,N,G,V){var f;if(N){if(G){if(this.checkDuplicateExports(b,"default"),this.hasPlugin("exportDefaultFrom")){var v;let B=b.declaration;B.type!=="Identifier"||B.name!=="from"||B.end-B.start!=4||(v=B.extra)!=null&&v.parenthesized||this.raise(S.ExportDefaultFromAsIdentifier,B)}}else if((f=b.specifiers)!=null&&f.length)for(let B of b.specifiers){let{exported:X}=B,ae=X.type==="Identifier"?X.name:X.value;if(this.checkDuplicateExports(B,ae),!V&&B.local){let{local:Te}=B;Te.type!=="Identifier"?this.raise(S.ExportBindingIsString,B,{localName:Te.value,exportName:ae}):(this.checkReservedWord(Te.name,Te.loc.start,!0,!1),this.scope.checkLocalExport(Te))}}else if(b.declaration){let B=b.declaration;if(B.type==="FunctionDeclaration"||B.type==="ClassDeclaration"){let{id:X}=B;if(!X)throw new Error("Assertion failure");this.checkDuplicateExports(b,X.name)}else if(B.type==="VariableDeclaration")for(let X of B.declarations)this.checkDeclaration(X.id)}}}checkDeclaration(b){if(b.type==="Identifier")this.checkDuplicateExports(b,b.name);else if(b.type==="ObjectPattern")for(let N of b.properties)this.checkDeclaration(N);else if(b.type==="ArrayPattern")for(let N of b.elements)N&&this.checkDeclaration(N);else b.type==="ObjectProperty"?this.checkDeclaration(b.value):b.type==="RestElement"?this.checkDeclaration(b.argument):b.type==="AssignmentPattern"&&this.checkDeclaration(b.left)}checkDuplicateExports(b,N){this.exportedIdentifiers.has(N)&&(N==="default"?this.raise(S.DuplicateDefaultExport,b):this.raise(S.DuplicateExport,b,{exportName:N})),this.exportedIdentifiers.add(N)}parseExportSpecifiers(b){let N=[],G=!0;for(this.expect(5);!this.eat(8);){if(G)G=!1;else if(this.expect(12),this.eat(8))break;let V=this.isContextual(130),f=this.match(133),v=this.startNode();v.local=this.parseModuleExportName(),N.push(this.parseExportSpecifier(v,f,b,V))}return N}parseExportSpecifier(b,N,G,V){return this.eatContextual(93)?b.exported=this.parseModuleExportName():N?b.exported=Ls(b.local):b.exported||(b.exported=Oi(b.local)),this.finishNode(b,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){let b=this.parseStringLiteral(this.state.value),N=ao.exec(b.value);return N&&this.raise(S.ModuleExportNameHasLoneSurrogate,b,{surrogateCharCode:N[0].charCodeAt(0)}),b}return this.parseIdentifier(!0)}isJSONModuleImport(b){return b.assertions!=null&&b.assertions.some(({key:N,value:G})=>G.value==="json"&&(N.type==="Identifier"?N.name==="type":N.value==="type"))}checkImportReflection(b){let{specifiers:N}=b,G=N.length===1?N[0].type:null;if(b.phase==="source")G!=="ImportDefaultSpecifier"&&this.raise(S.SourcePhaseImportRequiresDefault,N[0].loc.start);else if(b.phase==="defer")G!=="ImportNamespaceSpecifier"&&this.raise(S.DeferImportRequiresNamespace,N[0].loc.start);else if(b.module){var V;G!=="ImportDefaultSpecifier"&&this.raise(S.ImportReflectionNotBinding,N[0].loc.start),((V=b.assertions)==null?void 0:V.length)>0&&this.raise(S.ImportReflectionHasAssertion,N[0].loc.start)}}checkJSONModuleImport(b){if(this.isJSONModuleImport(b)&&b.type!=="ExportAllDeclaration"){let{specifiers:N}=b;if(N!=null){let G=N.find(V=>{let f;if(V.type==="ExportSpecifier"?f=V.local:V.type==="ImportSpecifier"&&(f=V.imported),f!==void 0)return f.type==="Identifier"?f.name!=="default":f.value!=="default"});G!==void 0&&this.raise(S.ImportJSONBindingNotDefault,G.loc.start)}}}isPotentialImportPhase(b){return!b&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))}applyImportPhase(b,N,G,V){N||(G==="module"?(this.expectPlugin("importReflection",V),b.module=!0):this.hasPlugin("importReflection")&&(b.module=!1),G==="source"?(this.expectPlugin("sourcePhaseImports",V),b.phase="source"):G==="defer"?(this.expectPlugin("deferredImportEvaluation",V),b.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(b.phase=null))}parseMaybeImportPhase(b,N){if(!this.isPotentialImportPhase(N))return this.applyImportPhase(b,N,null),null;let G=this.parseIdentifier(!0),{type:V}=this.state;return(Q(V)?V!==98||this.lookaheadCharCode()===102:V!==12)?(this.resetPreviousIdentifierLeadingComments(G),this.applyImportPhase(b,N,G.name,G.loc.start),null):(this.applyImportPhase(b,N,null),G)}isPrecedingIdImportPhase(b){let{type:N}=this.state;return q(N)?N!==98||this.lookaheadCharCode()===102:N!==12}parseImport(b){return this.match(133)?this.parseImportSourceAndAttributes(b):this.parseImportSpecifiersAndAfter(b,this.parseMaybeImportPhase(b,!1))}parseImportSpecifiersAndAfter(b,N){b.specifiers=[];let G=!this.maybeParseDefaultImportSpecifier(b,N)||this.eat(12),V=G&&this.maybeParseStarImportSpecifier(b);return G&&!V&&this.parseNamedImportSpecifiers(b),this.expectContextual(98),this.parseImportSourceAndAttributes(b)}parseImportSourceAndAttributes(b){return b.specifiers!=null||(b.specifiers=[]),b.source=this.parseImportSource(),this.maybeParseImportAttributes(b),this.checkImportReflection(b),this.checkJSONModuleImport(b),this.semicolon(),this.finishNode(b,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(b,N,G){N.local=this.parseIdentifier(),b.specifiers.push(this.finishImportSpecifier(N,G))}finishImportSpecifier(b,N,G=8201){return this.checkLVal(b.local,{type:N},G),this.finishNode(b,N)}parseImportAttributes(){this.expect(5);let b=[],N=new Set;do{if(this.match(8))break;let G=this.startNode(),V=this.state.value;if(N.has(V)&&this.raise(S.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:V}),N.add(V),this.match(133)?G.key=this.parseStringLiteral(V):G.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(S.ModuleAttributeInvalidValue,this.state.startLoc);G.value=this.parseStringLiteral(this.state.value),b.push(this.finishNode(G,"ImportAttribute"))}while(this.eat(12));return this.expect(8),b}parseModuleAttributes(){let b=[],N=new Set;do{let G=this.startNode();if(G.key=this.parseIdentifier(!0),G.key.name!=="type"&&this.raise(S.ModuleAttributeDifferentFromType,G.key),N.has(G.key.name)&&this.raise(S.ModuleAttributesWithDuplicateKeys,G.key,{key:G.key.name}),N.add(G.key.name),this.expect(14),!this.match(133))throw this.raise(S.ModuleAttributeInvalidValue,this.state.startLoc);G.value=this.parseStringLiteral(this.state.value),b.push(this.finishNode(G,"ImportAttribute"))}while(this.eat(12));return b}maybeParseImportAttributes(b){let N;var G=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?N=this.parseModuleAttributes():(this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes"),N=this.parseImportAttributes()),G=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(S.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(b,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),N=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))N=[];else{if(!this.hasPlugin("moduleAttributes"))return;N=[]}!G&&this.hasPlugin("importAssertions")?b.assertions=N:b.attributes=N}maybeParseDefaultImportSpecifier(b,N){if(N){let G=this.startNodeAtNode(N);return G.local=N,b.specifiers.push(this.finishImportSpecifier(G,"ImportDefaultSpecifier")),!0}return!!Q(this.state.type)&&(this.parseImportSpecifierLocal(b,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(b){if(this.match(55)){let N=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(b,N,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(b){let N=!0;for(this.expect(5);!this.eat(8);){if(N)N=!1;else{if(this.eat(14))throw this.raise(S.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let G=this.startNode(),V=this.match(133),f=this.isContextual(130);G.imported=this.parseModuleExportName();let v=this.parseImportSpecifier(G,V,b.importKind==="type"||b.importKind==="typeof",f,void 0);b.specifiers.push(v)}}parseImportSpecifier(b,N,G,V,f){if(this.eatContextual(93))b.local=this.parseIdentifier();else{let{imported:v}=b;if(N)throw this.raise(S.ImportBindingIsString,b,{importName:v.value});this.checkReservedWord(v.name,b.loc.start,!0,!0),b.local||(b.local=Oi(v))}return this.finishImportSpecifier(b,"ImportSpecifier",f)}isThisParam(b){return b.type==="Identifier"&&b.name==="this"}}class Qa extends Ks{constructor(b,N,G){super(b=function(V){if(V==null)return Object.assign({},Ri);if(V.annexB!=null&&V.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let f={};for(let B of Object.keys(Ri)){var v;f[B]=(v=V[B])!=null?v:Ri[B]}return f}(b),N),this.options=b,this.initializeScopes(),this.plugins=G,this.filename=b.sourceFilename}getScopeHandler(){return tt}parse(){this.enterInitialScopes();let b=this.startNode(),N=this.startNode();return this.nextToken(),b.errors=null,this.parseTopLevel(b,N),b.errors=this.state.errors,b.comments.length=this.state.commentsLen,b}}let Ro=function(ze){let b={};for(let N of Object.keys(ze))b[N]=me(ze[N]);return b}(K);function gs(ze,b){let N=Qa,G=new Map;if(ze!=null&&ze.plugins){for(let V of ze.plugins){let f,v;typeof V=="string"?f=V:[f,v]=V,G.has(f)||G.set(f,v||{})}(function(V){if(V.has("decorators")){if(V.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let v=V.get("decorators").decoratorsBeforeExport;if(v!=null&&typeof v!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let B=V.get("decorators").allowCallParenthesized;if(B!=null&&typeof B!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(V.has("flow")&&V.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(V.has("placeholders")&&V.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(V.has("pipelineOperator")){var f;let v=V.get("pipelineOperator").proposal;if(!Xn.includes(v)){let X=Xn.map(ae=>`"${ae}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${X}.`)}let B=((f=V.get("recordAndTuple"))==null?void 0:f.syntaxType)==="hash";if(v==="hack"){if(V.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(V.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let X=V.get("pipelineOperator").topicToken;if(!zn.includes(X)){let ae=zn.map(Te=>`"${Te}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${ae}.`)}if(X==="#"&&B)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",V.get("recordAndTuple")])}\`.`)}else if(v==="smart"&&B)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",V.get("recordAndTuple")])}\`.`)}if(V.has("moduleAttributes")){if(V.has("importAttributes")||V.has("importAssertions"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(V.get("moduleAttributes").version!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(V.has("importAssertions")&&V.has("importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(V.has("recordAndTuple")){let v=V.get("recordAndTuple").syntaxType;if(v!=null){let B=["hash","bar"];if(!B.includes(v))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+B.map(X=>`'${X}'`).join(", "))}}if(V.has("asyncDoExpressions")&&!V.has("doExpressions")){let v=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw v.missingPlugins="doExpressions",v}if(V.has("optionalChainingAssign")&&V.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")})(G),N=function(V){let f=[];for(let X of ai)V.has(X)&&f.push(X);let v=f.join("|"),B=Ua.get(v);if(!B){B=Qa;for(let X of f)B=en[X](B);Ua.set(v,B)}return B}(G)}return new N(ze,b,G)}let Ua=new Map;r.parse=function(ze,b){var N;if(((N=b)==null?void 0:N.sourceType)!=="unambiguous")return gs(b,ze).parse();b=Object.assign({},b);try{b.sourceType="module";let G=gs(b,ze),V=G.parse();if(G.sawUnambiguousESM)return V;if(G.ambiguousScriptDifferentAst)try{return b.sourceType="script",gs(b,ze).parse()}catch{}else V.program.sourceType="script";return V}catch(G){try{return b.sourceType="script",gs(b,ze).parse()}catch{}throw G}},r.parseExpression=function(ze,b){let N=gs(b,ze);return N.options.strictMode&&(N.state.strict=!0),N.getExpression()},r.tokTypes=Ro},"./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-proposal-decorators/lib/index.js":(o,r,c)=>{"use strict";r.A=void 0;var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),u=c("./node_modules/.pnpm/@babel+plugin-syntax-decorators@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-syntax-decorators/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-create-class-features-plugin/lib/index.js"),a=c("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js");r.A=(0,s.declare)((l,p)=>{l.assertVersion(7);var{legacy:d}=p;let{version:h}=p;if(d||h==="legacy")return{name:"proposal-decorators",inherits:u.default,visitor:a.default};if(h&&h!=="2018-09"&&h!=="2021-12"&&h!=="2022-03"&&h!=="2023-01"&&h!=="2023-05"&&h!=="2023-11")throw new Error("The '.version' option must be one of 'legacy', '2023-11', '2023-05', '2023-01', '2022-03', or '2021-12'.");return l.assertVersion("^7.0.2"),(0,H.createClassFeaturePlugin)({name:"proposal-decorators",api:l,feature:H.FEATURES.decorators,inherits:u.default,decoratorVersion:h})})},"./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js");let u=s.template.statement(`
|
|
DECORATOR(CLASS_REF = INNER) || CLASS_REF;
|
|
`),H=(0,s.template)(`
|
|
CLASS_REF.prototype;
|
|
`),a=(0,s.template)(`
|
|
Object.getOwnPropertyDescriptor(TARGET, PROPERTY);
|
|
`),l=(0,s.template)(`
|
|
(TEMP = Object.getOwnPropertyDescriptor(TARGET, PROPERTY), (TEMP = TEMP ? TEMP.value : undefined), {
|
|
enumerable: true,
|
|
configurable: true,
|
|
writable: true,
|
|
initializer: function(){
|
|
return TEMP;
|
|
}
|
|
})
|
|
`),p=new WeakSet;function d(E){let A=(E.isClass()?[E,...E.get("body.body")]:E.get("properties")).reduce((S,T)=>S.concat(T.node.decorators||[]),[]).filter(S=>!s.types.isIdentifier(S.expression));if(A.length!==0)return s.types.sequenceExpression(A.map(S=>{let T=S.expression,I=S.expression=E.scope.generateDeclaredUidIdentifier("dec");return s.types.assignmentExpression("=",I,T)}).concat([E.node]))}function h(E){var A;return!((A=E.decorators)==null||!A.length)}function m(E){return E.some(A=>{var S;return(S=A.decorators)==null?void 0:S.length})}function g(E,A,S){let T=E.scope.generateDeclaredUidIdentifier(E.isClass()?"class":"obj"),I=S.reduce(function(L,x){let C=[];if(x.decorators!=null&&(C=x.decorators,x.decorators=null),C.length===0)return L;if(x.computed)throw E.buildCodeFrameError("Computed method/property decorators are not yet supported.");let D=s.types.isLiteral(x.key)?x.key:s.types.stringLiteral(x.key.name),O=E.isClass()&&!x.static?H({CLASS_REF:T}).expression:T;if(s.types.isClassProperty(x,{static:!1})){let j=E.scope.generateDeclaredUidIdentifier("descriptor"),k=x.value?s.types.functionExpression(null,[],s.types.blockStatement([s.types.returnStatement(x.value)])):s.types.nullLiteral();x.value=s.types.callExpression(A.addHelper("initializerWarningHelper"),[j,s.types.thisExpression()]),p.add(x.value),L.push(s.types.assignmentExpression("=",s.types.cloneNode(j),s.types.callExpression(A.addHelper("applyDecoratedDescriptor"),[s.types.cloneNode(O),s.types.cloneNode(D),s.types.arrayExpression(C.map($=>s.types.cloneNode($.expression))),s.types.objectExpression([s.types.objectProperty(s.types.identifier("configurable"),s.types.booleanLiteral(!0)),s.types.objectProperty(s.types.identifier("enumerable"),s.types.booleanLiteral(!0)),s.types.objectProperty(s.types.identifier("writable"),s.types.booleanLiteral(!0)),s.types.objectProperty(s.types.identifier("initializer"),k)])])))}else L.push(s.types.callExpression(A.addHelper("applyDecoratedDescriptor"),[s.types.cloneNode(O),s.types.cloneNode(D),s.types.arrayExpression(C.map(j=>s.types.cloneNode(j.expression))),s.types.isObjectProperty(x)||s.types.isClassProperty(x,{static:!0})?l({TEMP:E.scope.generateDeclaredUidIdentifier("init"),TARGET:s.types.cloneNode(O),PROPERTY:s.types.cloneNode(D)}).expression:a({TARGET:s.types.cloneNode(O),PROPERTY:s.types.cloneNode(D)}).expression,s.types.cloneNode(O)]));return L},[]);return s.types.sequenceExpression([s.types.assignmentExpression("=",s.types.cloneNode(T),E.node),s.types.sequenceExpression(I),s.types.cloneNode(T)])}function y({node:E,scope:A}){if(!h(E)&&!m(E.body.body))return;let S=E.id?s.types.cloneNode(E.id):A.generateUidIdentifier("class");return s.types.variableDeclaration("let",[s.types.variableDeclarator(S,s.types.toExpression(E))])}let _={ExportDefaultDeclaration(E){let A=E.get("declaration");if(!A.isClassDeclaration())return;let S=y(A);if(S){let[T]=E.replaceWithMultiple([S,s.types.exportNamedDeclaration(null,[s.types.exportSpecifier(s.types.cloneNode(S.declarations[0].id),s.types.identifier("default"))])]);A.node.id||E.scope.registerDeclaration(T)}},ClassDeclaration(E){let A=y(E);if(A){let[S]=E.replaceWith(A),T=S.get("declarations.0"),I=T.node.id,L=E.scope.getOwnBinding(I.name);L.identifier=I,L.path=T}},ClassExpression(E,A){let S=d(E)||function(T){if(!h(T.node))return;let I=T.node.decorators||[];T.node.decorators=null;let L=T.scope.generateDeclaredUidIdentifier("class");return I.map(x=>x.expression).reverse().reduce(function(x,C){return u({CLASS_REF:s.types.cloneNode(L),DECORATOR:s.types.cloneNode(C),INNER:x}).expression},T.node)}(E)||function(T,I){if(m(T.node.body.body))return g(T,I,T.node.body.body)}(E,A);S&&E.replaceWith(S)},ObjectExpression(E,A){let S=d(E)||function(T,I){if(m(T.node.properties))return g(T,I,T.node.properties.filter(L=>L.type!=="SpreadElement"))}(E,A);S&&E.replaceWith(S)},AssignmentExpression(E,A){p.has(E.node.right)&&E.replaceWith(s.types.callExpression(A.addHelper("initializerDefineProperty"),[s.types.cloneNode(E.get("left.object").node),s.types.stringLiteral(E.get("left.property").node.name||E.get("left.property").node.value),s.types.cloneNode(E.get("right.arguments")[0].node),s.types.cloneNode(E.get("right.arguments")[1].node)]))},CallExpression(E,A){E.node.arguments.length===3&&p.has(E.node.arguments[2])&&E.node.callee.name===A.addHelper("defineProperty").name&&E.replaceWith(s.types.callExpression(A.addHelper("initializerDefineProperty"),[s.types.cloneNode(E.get("arguments")[0].node),s.types.cloneNode(E.get("arguments")[1].node),s.types.cloneNode(E.get("arguments.2.arguments")[0].node),s.types.cloneNode(E.get("arguments.2.arguments")[1].node)]))}};r.default=_},"./node_modules/.pnpm/@babel+plugin-syntax-decorators@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-syntax-decorators/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.7/node_modules/@babel/helper-plugin-utils/lib/index.js");r.default=(0,s.declare)((u,H)=>{u.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");let{version:a}=H;{let{legacy:p}=H;if(p!==void 0){if(typeof p!="boolean")throw new Error(".legacy must be a boolean.");if(a!==void 0)throw new Error("You can either use the .legacy or the .version option, not both.")}if(a===void 0)a=p?"legacy":"2018-09";else if(a!=="2023-11"&&a!=="2023-05"&&a!=="2023-01"&&a!=="2022-03"&&a!=="2021-12"&&a!=="2018-09"&&a!=="legacy")throw new Error("Unsupported decorators version: "+a);var{decoratorsBeforeExport:l}=H;if(l===void 0){if(a==="2021-12"||a==="2022-03")l=!1;else if(a==="2018-09")throw new Error("The decorators plugin, when .version is '2018-09' or not specified, requires a 'decoratorsBeforeExport' option, whose value must be a boolean.")}else{if(a==="legacy"||a==="2022-03"||a==="2023-01")throw new Error(`'decoratorsBeforeExport' can't be used with ${a} decorators.`);if(typeof l!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean.")}}return{name:"syntax-decorators",manipulateOptions({generatorOpts:p},d){a==="legacy"?d.plugins.push("decorators-legacy"):a==="2023-01"||a==="2023-05"||a==="2023-11"?d.plugins.push(["decorators",{allowCallParenthesized:!1}],"decoratorAutoAccessors"):a==="2022-03"?d.plugins.push(["decorators",{decoratorsBeforeExport:!1,allowCallParenthesized:!1}],"decoratorAutoAccessors"):a==="2021-12"?(d.plugins.push(["decorators",{decoratorsBeforeExport:l}],"decoratorAutoAccessors"),p.decoratorsBeforeExport=l):a==="2018-09"&&(d.plugins.push(["decorators",{decoratorsBeforeExport:l}]),p.decoratorsBeforeExport=l)}}})},"./node_modules/.pnpm/@babel+plugin-syntax-import-assertions@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js":(o,r,c)=>{"use strict";r.A=void 0;var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.7/node_modules/@babel/helper-plugin-utils/lib/index.js");r.A=(0,s.declare)(u=>(u.assertVersion(7),{name:"syntax-import-assertions",manipulateOptions(H,{plugins:a}){for(let l=0;l<a.length;l++){let p=a[l];if(p==="importAttributes")return void(a[l]=["importAttributes",{deprecatedAssertSyntax:!0}]);if(Array.isArray(p)&&p[0]==="importAttributes")return p.length<2&&a[l].push({}),void(p[1].deprecatedAssertSyntax=!0)}a.push("importAssertions")}}))},"./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-syntax-jsx/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.7/node_modules/@babel/helper-plugin-utils/lib/index.js");r.default=(0,s.declare)(u=>(u.assertVersion(7),{name:"syntax-jsx",manipulateOptions(H,a){a.plugins.some(l=>(Array.isArray(l)?l[0]:l)==="typescript")||a.plugins.push("jsx")}}))},"./node_modules/.pnpm/@babel+plugin-syntax-typescript@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-syntax-typescript/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),u=function(H,a){let l=[];H.forEach((p,d)=>{(Array.isArray(p)?p[0]:p)===a&&l.unshift(d)});for(let p of l)H.splice(p,1)};r.default=(0,s.declare)((H,a)=>{H.assertVersion(7);let{disallowAmbiguousJSXLike:l,dts:p}=a;var{isTSX:d}=a;return{name:"syntax-typescript",manipulateOptions(h,m){{let{plugins:g}=m;u(g,"flow"),u(g,"jsx"),g.push("objectRestSpread","classProperties"),d&&g.push("jsx")}m.plugins.push(["typescript",{disallowAmbiguousJSXLike:l,dts:p}])}}})},"./node_modules/.pnpm/@babel+plugin-transform-export-namespace-from@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-export-namespace-from/lib/index.js":(o,r,c)=>{"use strict";r.A=void 0;var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),u=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js");r.A=(0,s.declare)(H=>(H.assertVersion(7),{name:"transform-export-namespace-from",inherits:H.version[0]==="8"?void 0:c("./node_modules/.pnpm/@babel+plugin-syntax-export-namespace-from@7.8.3_@babel+core@7.25.7/node_modules/@babel/plugin-syntax-export-namespace-from/lib/index.js").A,visitor:{ExportNamedDeclaration(a){var l;let{node:p,scope:d}=a,{specifiers:h}=p,m=u.types.isExportDefaultSpecifier(h[0])?1:0;if(!u.types.isExportNamespaceSpecifier(h[m]))return;let g=[];m===1&&g.push(u.types.exportNamedDeclaration(null,[h.shift()],p.source));let y=h.shift(),{exported:_}=y,E=d.generateUidIdentifier((l=_.name)!=null?l:_.value);g.push(u.types.importDeclaration([u.types.importNamespaceSpecifier(E)],u.types.cloneNode(p.source)),u.types.exportNamedDeclaration(null,[u.types.exportSpecifier(u.types.cloneNode(E),_)])),p.specifiers.length>=1&&g.push(p);let[A]=a.replaceWithMultiple(g);a.scope.registerDeclaration(A)}}}))},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/dynamic-import.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.transformDynamicImport=function(l,p,d){let h=p?H:a;l.replaceWith((0,u.buildDynamicImport)(l.node,!0,!1,m=>h(m,d)))};var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/index.js");let H=l=>s.template.expression.ast`require(${l})`,a=(l,p)=>s.types.callExpression(p.addHelper("interopRequireWildcard"),[H(l)])},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/hooks.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.defineCommonJSHook=function(u,H){let a=u.get(c);a||u.set(c,a=[]),a.push(H)},r.makeInvokers=function(u){let H=u.get(c);return{getWrapperPayload:(...a)=>s(H,l=>l.getWrapperPayload==null?void 0:l.getWrapperPayload(...a)),wrapReference:(...a)=>s(H,l=>l.wrapReference==null?void 0:l.wrapReference(...a)),buildRequireWrapper:(...a)=>s(H,l=>l.buildRequireWrapper==null?void 0:l.buildRequireWrapper(...a))}};let c="@babel/plugin-transform-modules-commonjs/customWrapperPlugin";function s(u,H){if(u)for(let a of u){let l=H(a);if(l!=null)return l}}},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,Object.defineProperty(r,"defineCommonJSHook",{enumerable:!0,get:function(){return d.defineCommonJSHook}});var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-simple-access@7.25.7/node_modules/@babel/helper-simple-access/lib/index.js"),a=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js"),l=c("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/dynamic-import.js"),p=c("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/lazy.js"),d=c("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/hooks.js");r.default=(0,s.declare)((h,m)=>{var g,y,_;h.assertVersion(7);let{strictNamespace:E=!1,mjsStrictNamespace:A=E,allowTopLevelThis:S,strict:T,strictMode:I,noInterop:L,importInterop:x,lazy:C=!1,allowCommonJSExports:D=!0,loose:O=!1}=m,j=(g=h.assumption("constantReexports"))!=null?g:O,k=(y=h.assumption("enumerableModuleMeta"))!=null?y:O,$=(_=h.assumption("noIncompleteNsImportDetection"))!=null&&_;if(!(typeof C=="boolean"||typeof C=="function"||Array.isArray(C)&&C.every(P=>typeof P=="string")))throw new Error(".lazy must be a boolean, array of strings, or a function");if(typeof E!="boolean")throw new Error(".strictNamespace must be a boolean, or undefined");if(typeof A!="boolean")throw new Error(".mjsStrictNamespace must be a boolean, or undefined");let U=P=>a.template.expression.ast`
|
|
(function(){
|
|
throw new Error(
|
|
"The CommonJS '" + "${P}" + "' variable is not available in ES6 modules." +
|
|
"Consider setting setting sourceType:script or sourceType:unambiguous in your " +
|
|
"Babel config for this file.");
|
|
})()
|
|
`,F={ReferencedIdentifier(P){let W=P.node.name;if(W!=="module"&&W!=="exports")return;let Z=P.scope.getBinding(W);this.scope.getBinding(W)!==Z||P.parentPath.isObjectProperty({value:P.node})&&P.parentPath.parentPath.isObjectPattern()||P.parentPath.isAssignmentExpression({left:P.node})||P.isAssignmentExpression({left:P.node})||P.replaceWith(U(W))},UpdateExpression(P){let W=P.get("argument");if(!W.isIdentifier())return;let Z=W.node.name;if(Z!=="module"&&Z!=="exports")return;let ee=P.scope.getBinding(Z);this.scope.getBinding(Z)===ee&&P.replaceWith(a.types.assignmentExpression(P.node.operator[0]+"=",W.node,U(Z)))},AssignmentExpression(P){let W=P.get("left");if(W.isIdentifier()){let Z=W.node.name;if(Z!=="module"&&Z!=="exports")return;let ee=P.scope.getBinding(Z);if(this.scope.getBinding(Z)!==ee)return;let J=P.get("right");J.replaceWith(a.types.sequenceExpression([J.node,U(Z)]))}else if(W.isPattern()){let Z=W.getOuterBindingIdentifiers(),ee=Object.keys(Z).find(J=>(J==="module"||J==="exports")&&this.scope.getBinding(J)===P.scope.getBinding(J));if(ee){let J=P.get("right");J.replaceWith(a.types.sequenceExpression([J.node,U(ee)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs"),C&&(0,d.defineCommonJSHook)(this.file,(0,p.lazyImportsHook)(C))},visitor:{["CallExpression"+(h.types.importExpression?"|ImportExpression":"")](P){if(!this.file.has("@babel/plugin-proposal-dynamic-import")||P.isCallExpression()&&!a.types.isImport(P.node.callee))return;let{scope:W}=P;do W.rename("require");while(W=W.parent);(0,l.transformDynamicImport)(P,L,this.file)},Program:{exit(P,W){if(!(0,u.isModule)(P))return;P.scope.rename("exports"),P.scope.rename("module"),P.scope.rename("require"),P.scope.rename("__filename"),P.scope.rename("__dirname"),D||((0,H.default)(P,new Set(["module","exports"]),!1),P.traverse(F,{scope:P.scope}));let Z=(0,u.getModuleName)(this.file.opts,m);Z&&(Z=a.types.stringLiteral(Z));let ee=(0,d.makeInvokers)(this.file),{meta:J,headers:ne}=(0,u.rewriteModuleStatementsAndPrepareHeader)(P,{exportName:"exports",constantReexports:j,enumerableModuleMeta:k,strict:T,strictMode:I,allowTopLevelThis:S,noInterop:L,importInterop:x,wrapReference:ee.wrapReference,getWrapperPayload:ee.getWrapperPayload,esNamespaceOnly:typeof W.filename=="string"&&/\.mjs$/.test(W.filename)?A:E,noIncompleteNsImportDetection:$,filename:this.file.opts.filename});for(let[K,q]of J.source){let Q=a.types.callExpression(a.types.identifier("require"),[a.types.stringLiteral(K)]),z;if((0,u.isSideEffectImport)(q)){if(C&&q.wrap==="function")throw new Error("Assertion failure");z=a.types.expressionStatement(Q)}else{let ie=(0,u.wrapInterop)(P,Q,q.interop)||Q;if(q.wrap){let _e=ee.buildRequireWrapper(q.name,ie,q.wrap,q.referenced);if(_e===!1)continue;z=_e}z!=null||(z=a.template.statement.ast`
|
|
var ${q.name} = ${ie};
|
|
`)}z.loc=q.loc,ne.push(z),ne.push(...(0,u.buildNamespaceInitStatements)(J,q,j,ee.wrapReference))}(0,u.ensureStatementsHoisted)(ne),P.unshiftContainer("body",ne),P.get("body").forEach(K=>{ne.includes(K.node)&&K.isVariableDeclaration()&&K.scope.registerDeclaration(K)})}}}}})},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/lazy.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.lazyImportsHook=void 0;var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/index.js");r.lazyImportsHook=H=>({name:"@babel/plugin-transform-modules-commonjs/lazy",version:"7.25.7",getWrapperPayload:(a,l)=>(0,u.isSideEffectImport)(l)||l.reexportAll?null:H===!0?a.includes(".")?null:"lazy/function":Array.isArray(H)?H.includes(a)?"lazy/function":null:typeof H=="function"?H(a)?"lazy/function":null:void 0,buildRequireWrapper(a,l,p,d){if(p==="lazy/function")return!!d&&s.template.statement.ast`
|
|
function ${a}() {
|
|
const data = ${l};
|
|
${a} = function(){ return data; };
|
|
return data;
|
|
}
|
|
`},wrapReference(a,l){if(l==="lazy/function")return s.types.callExpression(a,[])}})},"./node_modules/.pnpm/@babel+plugin-transform-react-jsx@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-react-jsx/lib/create-plugin.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function({name:S,development:T}){return(0,u.declare)((I,L)=>{let{pure:x,throwIfNamespace:C=!0,filter:D,runtime:O=T?"automatic":"classic",importSource:j=p.importSource,pragma:k=p.pragma,pragmaFrag:$=p.pragmaFrag}=L;var{useSpread:U=!1,useBuiltIns:F=!1}=L;if(O==="classic"){if(typeof U!="boolean")throw new Error("transform-react-jsx currently only accepts a boolean option for useSpread (defaults to false)");if(typeof F!="boolean")throw new Error("transform-react-jsx currently only accepts a boolean option for useBuiltIns (defaults to false)");if(U&&F)throw new Error("transform-react-jsx currently only accepts useBuiltIns or useSpread but not both")}let P={JSXOpeningElement(z,ie){let _e=[];(function(He){do{let{path:be}=He;if(be.isFunctionParent()&&!be.isArrowFunctionExpression())return!be.isMethod()||be.node.kind!=="constructor"||!W(be.parentPath.parentPath);if(be.isTSModuleBlock())return!1}while(He=He.parent);return!0})(z.scope)&&_e.push(H.types.jsxAttribute(H.types.jsxIdentifier("__self"),H.types.jsxExpressionContainer(H.types.thisExpression()))),_e.push(H.types.jsxAttribute(H.types.jsxIdentifier("__source"),H.types.jsxExpressionContainer(function(He,be){let Ve=He.node.loc;if(!Ve)return He.scope.buildUndefinedNode();if(!be.fileNameIdentifier){let{filename:Fe=""}=be,me=He.scope.generateUidIdentifier("_jsxFileName");He.scope.getProgramParent().push({id:me,init:H.types.stringLiteral(Fe)}),be.fileNameIdentifier=me}return function(Fe,me,ce){let ke=me!=null?H.types.numericLiteral(me):H.types.nullLiteral(),je=ce!=null?H.types.numericLiteral(ce+1):H.types.nullLiteral();return H.template.expression.ast`{
|
|
fileName: ${Fe},
|
|
lineNumber: ${ke},
|
|
columnNumber: ${je},
|
|
}`}(H.types.cloneNode(be.fileNameIdentifier),Ve.start.line,Ve.start.column)}(z,ie)))),z.pushContainer("attributes",_e)}};return{name:S,inherits:s.default,visitor:{JSXNamespacedName(z){if(C)throw z.buildCodeFrameError("Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can set `throwIfNamespace: false` to bypass this warning.")},JSXSpreadChild(z){throw z.buildCodeFrameError("Spread children are not supported in React.")},Program:{enter(z,ie){let{file:_e}=ie,He=O,be=j,Ve=k,Fe=$,me=!!L.importSource,ce=!!L.pragma,ke=!!L.pragmaFrag;if(_e.ast.comments)for(let je of _e.ast.comments){let Oe=d.exec(je.value);Oe&&(be=Oe[1],me=!0);let re=h.exec(je.value);re&&(He=re[1]);let fe=m.exec(je.value);fe&&(Ve=fe[1],ce=!0);let he=g.exec(je.value);he&&(Fe=he[1],ke=!0)}if(_(ie,"runtime",He),He==="classic"){if(me)throw z.buildCodeFrameError("importSource cannot be set when runtime is classic.");let je=E(Ve),Oe=E(Fe);_(ie,"id/createElement",()=>H.types.cloneNode(je)),_(ie,"id/fragment",()=>H.types.cloneNode(Oe)),_(ie,"defaultPure",Ve===p.pragma)}else{if(He!=="automatic")throw z.buildCodeFrameError('Runtime must be either "classic" or "automatic".');{if(ce||ke)throw z.buildCodeFrameError("pragma and pragmaFrag cannot be set when runtime is automatic.");let je=(Oe,re)=>_(ie,Oe,function(fe,he,se,Ie){return()=>{let ye=function($e,nt){switch(nt){case"Fragment":return`${$e}/${T?"jsx-dev-runtime":"jsx-runtime"}`;case"jsxDEV":return`${$e}/jsx-dev-runtime`;case"jsx":case"jsxs":return`${$e}/jsx-runtime`;case"createElement":return $e}}(Ie,se);if((0,a.isModule)(he)){let $e=y(fe,`imports/${se}`);return $e?H.types.cloneNode($e):($e=(0,a.addNamed)(he,se,ye,{importedInterop:"uncompiled",importPosition:"after"}),_(fe,`imports/${se}`,$e),$e)}{let $e=y(fe,`requires/${ye}`);return $e?$e=H.types.cloneNode($e):($e=(0,a.addNamespace)(he,ye,{importedInterop:"uncompiled"}),_(fe,`requires/${ye}`,$e)),H.types.memberExpression($e,H.types.identifier(se))}}}(ie,z,re,be));je("id/jsx",T?"jsxDEV":"jsx"),je("id/jsxs",T?"jsxDEV":"jsxs"),je("id/createElement","createElement"),je("id/fragment","Fragment"),_(ie,"defaultPure",be===p.importSource)}}T&&z.traverse(P,ie)}},JSXFragment:{exit(z,ie){let _e;_e=y(ie,"runtime")==="classic"?function(He,be){if(!(D&&!D(He.node,be)))return Z(be,"createElement",[y(be,"id/fragment")(),H.types.nullLiteral(),...H.types.react.buildChildren(He.node)])}(z,ie):function(He,be){let Ve=[y(be,"id/fragment")()],Fe=H.types.react.buildChildren(He.node);return Ve.push(H.types.objectExpression(Fe.length>0?[K(Fe)]:[])),T&&Ve.push(He.scope.buildUndefinedNode(),H.types.booleanLiteral(Fe.length>1)),Z(be,Fe.length>1?"jsxs":"jsx",Ve)}(z,ie),z.replaceWith(H.types.inherits(_e,z.node))}},JSXElement:{exit(z,ie){let _e;_e=y(ie,"runtime")==="classic"||function(He){let be=He.get("openingElement"),Ve=be.node.attributes,Fe=!1;for(let me=0;me<Ve.length;me++){let ce=Ve[me];if(Fe&&H.types.isJSXAttribute(ce)&&ce.name.name==="key")return!0;H.types.isJSXSpreadAttribute(ce)&&(Fe=!0)}return!1}(z)?function(He,be){let Ve=He.get("openingElement");return Z(be,"createElement",[q(Ve),Q(be,He,Ve.get("attributes")),...H.types.react.buildChildren(He.node)])}(z,ie):function(He,be){let Ve=He.get("openingElement"),Fe=[q(Ve)],me=[],ce=Object.create(null);for(let re of Ve.get("attributes"))if(re.isJSXAttribute()&&H.types.isJSXIdentifier(re.node.name)){let{name:fe}=re.node.name;switch(fe){case"__source":case"__self":if(ce[fe])throw A(He,fe);case"key":{let he=J(re.node.value);if(he===null)throw re.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.');ce[fe]=he;break}default:me.push(re)}}else me.push(re);let ke=H.types.react.buildChildren(He.node),je;if(je=me.length||ke.length?function(re,fe){let he=re.reduce(ne,[]);return fe?.length>0&&he.push(K(fe)),H.types.objectExpression(he)}(me,ke):H.types.objectExpression([]),Fe.push(je),T){var Oe;Fe.push((Oe=ce.key)!=null?Oe:He.scope.buildUndefinedNode(),H.types.booleanLiteral(ke.length>1)),ce.__source?(Fe.push(ce.__source),ce.__self&&Fe.push(ce.__self)):ce.__self&&Fe.push(He.scope.buildUndefinedNode(),ce.__self)}else ce.key!==void 0&&Fe.push(ce.key);return Z(be,ke.length>1?"jsxs":"jsx",Fe)}(z,ie),z.replaceWith(H.types.inherits(_e,z.node))}},JSXAttribute(z){H.types.isJSXElement(z.node.value)&&(z.node.value=H.types.jsxExpressionContainer(z.node.value))}}};function W(z){return z.node.superClass!==null}function Z(z,ie,_e){let He=H.types.callExpression(y(z,`id/${ie}`)(),_e);return(x??y(z,"defaultPure"))&&(0,l.default)(He),He}function ee(z,ie){return H.types.isJSXIdentifier(z)?z.name==="this"&&H.types.isReferenced(z,ie)?H.types.thisExpression():H.types.isValidIdentifier(z.name,!1)?(z.type="Identifier",z):H.types.stringLiteral(z.name):H.types.isJSXMemberExpression(z)?H.types.memberExpression(ee(z.object,z),ee(z.property,z)):H.types.isJSXNamespacedName(z)?H.types.stringLiteral(`${z.namespace.name}:${z.name.name}`):z}function J(z){return H.types.isJSXExpressionContainer(z)?z.expression:z}function ne(z,ie){if(H.types.isJSXSpreadAttribute(ie.node)){let be=ie.node.argument;return H.types.isObjectExpression(be)&&!be.properties.some(Ve=>H.types.isObjectProperty(Ve,{computed:!1,shorthand:!1})&&(H.types.isIdentifier(Ve.key,{name:"__proto__"})||H.types.isStringLiteral(Ve.key,{value:"__proto__"})))?z.push(...be.properties):z.push(H.types.spreadElement(be)),z}let _e=J(ie.node.name.name!=="key"?ie.node.value||H.types.booleanLiteral(!0):ie.node.value);if(ie.node.name.name==="key"&&_e===null)throw ie.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.');var He;return H.types.isStringLiteral(_e)&&!H.types.isJSXExpressionContainer(ie.node.value)&&(_e.value=_e.value.replace(/\n\s+/g," "),(He=_e.extra)==null||delete He.raw),H.types.isJSXNamespacedName(ie.node.name)?ie.node.name=H.types.stringLiteral(ie.node.name.namespace.name+":"+ie.node.name.name.name):H.types.isValidIdentifier(ie.node.name.name,!1)?ie.node.name.type="Identifier":ie.node.name=H.types.stringLiteral(ie.node.name.name),z.push(H.types.inherits(H.types.objectProperty(ie.node.name,_e),ie.node)),z}function K(z){let ie;if(z.length===1)ie=z[0];else{if(!(z.length>1))return;ie=H.types.arrayExpression(z)}return H.types.objectProperty(H.types.identifier("children"),ie)}function q(z){let ie=ee(z.node.name,z.node),_e;return H.types.isIdentifier(ie)?_e=ie.name:H.types.isStringLiteral(ie)&&(_e=ie.value),H.types.react.isCompatTag(_e)?H.types.stringLiteral(_e):ie}function Q(z,ie,_e){let He=y(z,"runtime");if(He!=="automatic"){let Fe=[],me=_e.reduce(ne,[]);if(U)me.length&&Fe.push(H.types.objectExpression(me));else{let ke=0;me.forEach((je,Oe)=>{H.types.isSpreadElement(je)&&(Oe>ke&&Fe.push(H.types.objectExpression(me.slice(ke,Oe))),Fe.push(je.argument),ke=Oe+1)}),me.length>ke&&Fe.push(H.types.objectExpression(me.slice(ke)))}if(!Fe.length)return H.types.nullLiteral();if(!(Fe.length!==1||H.types.isSpreadElement(me[0])&&H.types.isObjectExpression(me[0].argument)))return Fe[0];H.types.isObjectExpression(Fe[0])||Fe.unshift(H.types.objectExpression([]));let ce=F?H.types.memberExpression(H.types.identifier("Object"),H.types.identifier("assign")):z.addHelper("extends");return H.types.callExpression(ce,Fe)}let be=[],Ve=Object.create(null);for(let Fe of _e){let{node:me}=Fe,ce=H.types.isJSXAttribute(me)&&H.types.isJSXIdentifier(me.name)&&me.name.name;if(He==="automatic"&&(ce==="__source"||ce==="__self")){if(Ve[ce])throw A(ie,ce);Ve[ce]=!0}ne(be,Fe)}return be.length===1&&H.types.isSpreadElement(be[0])&&!H.types.isObjectExpression(be[0].argument)?be[0].argument:be.length>0?H.types.objectExpression(be):H.types.nullLiteral()}})};var s=c("./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-syntax-jsx/lib/index.js"),u=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),H=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js"),a=c("./node_modules/.pnpm/@babel+helper-module-imports@7.25.7/node_modules/@babel/helper-module-imports/lib/index.js"),l=c("./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.25.7/node_modules/@babel/helper-annotate-as-pure/lib/index.js");let p={importSource:"react",runtime:"automatic",pragma:"React.createElement",pragmaFrag:"React.Fragment"},d=/^\s*(?:\*\s*)?@jsxImportSource\s+(\S+)\s*$/m,h=/^\s*(?:\*\s*)?@jsxRuntime\s+(\S+)\s*$/m,m=/^\s*(?:\*\s*)?@jsx\s+(\S+)\s*$/m,g=/^\s*(?:\*\s*)?@jsxFrag\s+(\S+)\s*$/m,y=(S,T)=>S.get(`@babel/plugin-react-jsx/${T}`),_=(S,T,I)=>S.set(`@babel/plugin-react-jsx/${T}`,I);function E(S){return S.split(".").map(T=>H.types.identifier(T)).reduce((T,I)=>H.types.memberExpression(T,I))}function A(S,T){let I=`transform-react-jsx-${T.slice(2)}`;return S.buildCodeFrameError(`Duplicate ${T} prop found. You are most likely using the deprecated ${I} Babel plugin. Both __source and __self are automatically set when using the automatic runtime. Please remove transform-react-jsx-source and transform-react-jsx-self from your Babel config.`)}},"./node_modules/.pnpm/@babel+plugin-transform-react-jsx@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-react-jsx/lib/index.js":(o,r,c)=>{"use strict";r.A=void 0;var s=c("./node_modules/.pnpm/@babel+plugin-transform-react-jsx@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-react-jsx/lib/create-plugin.js");r.A=(0,s.default)({name:"transform-react-jsx",development:!1})},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H){let{name:a}=u.node.id,l=u.parentPath.isExportNamedDeclaration(),p=l;!p&&H.isProgram(u.parent)&&(p=u.parent.body.some(m=>H.isExportNamedDeclaration(m)&&m.exportKind!=="type"&&!m.source&&m.specifiers.some(g=>H.isExportSpecifier(g)&&g.exportKind!=="type"&&g.local.name===a)));let{enumValues:d}=(0,s.translateEnumValues)(u,H);if(p){let m=H.objectExpression(d.map(([g,y])=>H.objectProperty(H.isValidIdentifier(g)?H.identifier(g):H.stringLiteral(g),y)));return void(u.scope.hasOwnBinding(a)?(l?u.parentPath:u).replaceWith(H.expressionStatement(H.callExpression(H.memberExpression(H.identifier("Object"),H.identifier("assign")),[u.node.id,m]))):(u.replaceWith(H.variableDeclaration("var",[H.variableDeclarator(u.node.id,m)])),u.scope.registerDeclaration(u)))}let h=new Map(d);u.scope.path.traverse({Scope(m){m.scope.hasOwnBinding(a)&&m.skip()},MemberExpression(m){if(!H.isIdentifier(m.node.object,{name:a}))return;let g;if(m.node.computed){if(!H.isStringLiteral(m.node.property))return;g=m.node.property.value}else{if(!H.isIdentifier(m.node.property))return;g=m.node.property.name}h.has(g)&&m.replaceWith(H.cloneNode(h.get(g)))}}),u.remove()};var s=c("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-typescript/lib/enum.js")},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-typescript/lib/enum.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(S,T){let{node:I,parentPath:L}=S;if(I.declare)return void S.remove();let x=I.id.name,{fill:C,data:D,isPure:O}=function(j,k,$){let{enumValues:U,data:F,isPure:P}=E(j,k),W=U.map(([Z,ee])=>m(g(ee),{ENUM:k.cloneNode($),NAME:Z,VALUE:ee}));return{fill:{ID:k.cloneNode($),ASSIGNMENTS:W},data:F,isPure:P}}(S,T,I.id);switch(L.type){case"BlockStatement":case"ExportNamedDeclaration":case"Program":{let j=T.isProgram(S.parent),k=function F(P){return P.isExportDeclaration()?F(P.parentPath):!!P.getData(x)||(P.setData(x,!0),!1)}(L),$=T.objectExpression([]);(k||j)&&($=T.logicalExpression("||",T.cloneNode(C.ID),$));let U=p(Object.assign({},C,{INIT:$}));O&&(0,H.default)(U),k?(L.isExportDeclaration()?L:S).replaceWith(T.expressionStatement(T.assignmentExpression("=",T.cloneNode(I.id),U))):S.scope.registerDeclaration(S.replaceWith(T.variableDeclaration(j?"var":"let",[T.variableDeclarator(I.id,U)]))[0]),l.set(S.scope.getBindingIdentifier(x),D);break}default:throw new Error(`Unexpected enum parent '${S.parent.type}`)}},r.isSyntacticallyString=g,r.translateEnumValues=E;var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js"),u=c("assert"),H=c("./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.25.7/node_modules/@babel/helper-annotate-as-pure/lib/index.js"),a=c("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.25.7/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js");let l=new WeakMap,p=s.template.expression(`
|
|
(function (ID) {
|
|
ASSIGNMENTS;
|
|
return ID;
|
|
})(INIT)
|
|
`),d=(0,s.template)(`
|
|
ENUM["NAME"] = VALUE;
|
|
`),h=(0,s.template)(`
|
|
ENUM[ENUM["NAME"] = VALUE] = "NAME";
|
|
`),m=(S,T)=>(S?d:h)(T);function g(S){switch((S=(0,a.skipTransparentExprWrapperNodes)(S)).type){case"BinaryExpression":{let T=S.left,I=S.right;return S.operator==="+"&&(g(T)||g(I))}case"TemplateLiteral":case"StringLiteral":return!0}return!1}function y(S,T){let{seen:I,path:L,t:x}=T,C=S.node.name;I.has(C)&&!S.scope.hasOwnBinding(C)&&(S.replaceWith(x.memberExpression(x.cloneNode(L.node.id),x.cloneNode(S.node))),S.skip())}let _={ReferencedIdentifier:y};function E(S,T){var I;let L=S.scope.getBindingIdentifier(S.node.id.name),x=(I=l.get(L))!=null?I:new Map,C,D=-1,O=!0,j=S.get("members").map(k=>{let $=k.node,U=T.isIdentifier($.id)?$.id.name:$.id.value,F=k.get("initializer"),P;if($.initializer)D=A(F,x),D!==void 0?(x.set(U,D),u(typeof D=="number"||typeof D=="string"),P=D===1/0||Number.isNaN(D)?T.identifier(String(D)):D===-1/0?T.unaryExpression("-",T.identifier("Infinity")):T.valueToNode(D)):(O&&(O=F.isPure()),F.isReferencedIdentifier()?y(F,{t:T,seen:x,path:S}):F.traverse(_,{t:T,seen:x,path:S}),P=F.node,x.set(U,void 0));else if(typeof D=="number")D+=1,P=T.numericLiteral(D),x.set(U,D);else{if(typeof D=="string")throw S.buildCodeFrameError("Enum member must have initializer.");{let W=T.memberExpression(T.cloneNode(S.node.id),T.stringLiteral(C),!0);P=T.binaryExpression("+",T.numericLiteral(1),W),x.set(U,void 0)}}return C=U,[U,P]});return{isPure:O,data:x,enumValues:j}}function A(S,T,I=new Set){return L(S);function L(C){let D=C.node;switch(D.type){case"MemberExpression":case"Identifier":return x(C,T,I);case"StringLiteral":case"NumericLiteral":return D.value;case"UnaryExpression":return function(O){let j=L(O.get("argument"));if(j!==void 0)switch(O.node.operator){case"+":return j;case"-":return-j;case"~":return~j;default:return}}(C);case"BinaryExpression":return function(O){let j=L(O.get("left"));if(j===void 0)return;let k=L(O.get("right"));if(k!==void 0)switch(O.node.operator){case"|":return j|k;case"&":return j&k;case">>":return j>>k;case">>>":return j>>>k;case"<<":return j<<k;case"^":return j^k;case"*":return j*k;case"/":return j/k;case"+":return j+k;case"-":return j-k;case"%":return j%k;case"**":return Math.pow(j,k);default:return}}(C);case"ParenthesizedExpression":return L(C.get("expression"));case"TemplateLiteral":{if(D.quasis.length===1)return D.quasis[0].value.cooked;let O=C.get("expressions"),j=D.quasis,k="";for(let $=0;$<j.length;$++)if(k+=j[$].value.cooked,$+1<j.length){let U=x(O[$],T,I);if(U===void 0)return;k+=U}return k}default:return}}function x(C,D,O){if(C.isMemberExpression()){let j=C.node,k=j.object,$=j.property;if(!s.types.isIdentifier(k)||(j.computed?!s.types.isStringLiteral($):!s.types.isIdentifier($)))return;let U=C.scope.getBindingIdentifier(k.name),F=l.get(U);return F?F.get($.computed?$.value:$.name):void 0}if(C.isIdentifier()){let j=C.node.name;if(["Infinity","NaN"].includes(j))return Number(j);let k=D?.get(j);return k!==void 0?k:O.has(C.node)?void 0:(O.add(C.node),k=A(C.resolve(),D,O),D?.set(j,k),k)}}}},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-typescript/lib/global-types.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.GLOBAL_TYPES=void 0,r.isGlobalType=function({scope:s},u){return!s.hasBinding(u)&&(!!c.get(s).has(u)||(console.warn(`The exported identifier "${u}" is not declared in Babel's scope tracker
|
|
as a JavaScript value binding, and "@babel/plugin-transform-typescript"
|
|
never encountered it as a TypeScript type declaration.
|
|
It will be treated as a JavaScript value.
|
|
|
|
This problem is likely caused by another plugin injecting
|
|
"${u}" without registering it in the scope tracker. If you are the author
|
|
of that plugin, please use "scope.registerDeclaration(declarationPath)".`),!1))},r.registerGlobalType=function(s,u){c.get(s).add(u)};let c=r.GLOBAL_TYPES=new WeakMap},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-typescript/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),u=c("./node_modules/.pnpm/@babel+plugin-syntax-typescript@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-syntax-typescript/lib/index.js"),H=c("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-create-class-features-plugin/lib/index.js"),a=c("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js"),l=c("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-typescript/lib/enum.js"),p=c("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-typescript/lib/global-types.js"),d=c("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-typescript/lib/namespace.js");function h(E){switch(E.parent.type){case"TSTypeReference":case"TSExpressionWithTypeArguments":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;case"TSQualifiedName":return E.parentPath.findParent(A=>A.type!=="TSQualifiedName").type!=="TSImportEqualsDeclaration";case"ExportSpecifier":return E.parent.exportKind==="type"||E.parentPath.parent.exportKind==="type";default:return!1}}let m=new WeakMap,g=new WeakSet;function y(E){let A=E.getBindingIdentifiers();for(let S of Object.keys(A)){let T=E.scope.getBinding(S);T&&T.identifier===A[S]&&T.scope.removeBinding(S)}E.opts.noScope=!0,E.remove(),E.opts.noScope=!1}function _(E,A,S,T,I=""){if(A.file.get("@babel/plugin-transform-modules-*")!=="commonjs")throw E.buildCodeFrameError(`\`${S}\` is only supported when compiling modules to CommonJS.
|
|
Please consider using \`${T}\`${I}, or add @babel/plugin-transform-modules-commonjs to your Babel config.`)}r.default=(0,s.declare)((E,A)=>{let{types:S,template:T}=E;E.assertVersion(7);let I=/\*?\s*@jsx((?:Frag)?)\s+(\S+)/,{allowNamespaces:L=!0,jsxPragma:x="React.createElement",jsxPragmaFrag:C="React.Fragment",onlyRemoveTypeImports:D=!1,optimizeConstEnums:O=!1}=A;var{allowDeclareFields:j=!1}=A;let k={field(P){let{node:W}=P;if(!j&&W.declare)throw P.buildCodeFrameError("The 'declare' modifier is only allowed when the 'allowDeclareFields' option of @babel/plugin-transform-typescript or @babel/preset-typescript is enabled.");if(W.declare){if(W.value)throw P.buildCodeFrameError("Fields with the 'declare' modifier cannot be initialized here, but only in the constructor");W.decorators||P.remove()}else if(W.definite){if(W.value)throw P.buildCodeFrameError("Definitely assigned fields cannot be initialized here, but only in the constructor");j||W.decorators||S.isClassPrivateProperty(W)||P.remove()}else W.abstract?P.remove():j||W.value||W.decorators||S.isClassPrivateProperty(W)||P.remove();W.accessibility&&(W.accessibility=null),W.abstract&&(W.abstract=null),W.readonly&&(W.readonly=null),W.optional&&(W.optional=null),W.typeAnnotation&&(W.typeAnnotation=null),W.definite&&(W.definite=null),W.declare&&(W.declare=null),W.override&&(W.override=null)},method({node:P}){P.accessibility&&(P.accessibility=null),P.abstract&&(P.abstract=null),P.optional&&(P.optional=null),P.override&&(P.override=null)},constructor(P,W){P.node.accessibility&&(P.node.accessibility=null);let Z=[],{scope:ee}=P;for(let J of P.get("params")){let ne=J.node;if(ne.type==="TSParameterProperty"){let K=ne.parameter;if(g.has(K))continue;let q;if(g.add(K),S.isIdentifier(K))q=K;else{if(!S.isAssignmentPattern(K)||!S.isIdentifier(K.left))throw J.buildCodeFrameError("Parameter properties can not be destructuring patterns.");q=K.left}Z.push(T.statement.ast`
|
|
this.${S.cloneNode(q)} = ${S.cloneNode(q)}
|
|
`),J.replaceWith(J.get("parameter")),ee.registerBinding("param",J)}}(0,H.injectInitialization)(W,P,Z)}};return{name:"transform-typescript",inherits:u.default,visitor:{Pattern:U,Identifier:U,RestElement:U,Program:{enter(P,W){let{file:Z}=W,ee=null,J=null,ne=P.scope;if(p.GLOBAL_TYPES.has(ne)||p.GLOBAL_TYPES.set(ne,new Set),Z.ast.comments)for(let Q of Z.ast.comments){let z=I.exec(Q.value);z&&(z[1]?J=z[2]:ee=z[2])}let K=ee||x;K&&([K]=K.split("."));let q=J||C;q&&([q]=q.split("."));for(let Q of P.get("body"))if(Q.isImportDeclaration()){if(m.has(W.file.ast.program)||m.set(W.file.ast.program,!0),Q.node.importKind==="type"){for(let He of Q.node.specifiers)(0,p.registerGlobalType)(ne,He.local.name);Q.remove();continue}let z=new Set,ie=Q.node.specifiers.length,_e=()=>ie>0&&ie===z.size;for(let He of Q.node.specifiers)if(He.type==="ImportSpecifier"&&He.importKind==="type"){(0,p.registerGlobalType)(ne,He.local.name);let be=Q.scope.getBinding(He.local.name);be&&z.add(be.path)}if(D)m.set(P.node,!1);else{if(Q.node.specifiers.length===0){m.set(P.node,!1);continue}for(let He of Q.node.specifiers){let be=Q.scope.getBinding(He.local.name);be&&!z.has(be.path)&&(F({binding:be,programPath:P,pragmaImportName:K,pragmaFragImportName:q})?z.add(be.path):m.set(P.node,!1))}}if(_e()&&!D)Q.remove();else for(let He of z)He.remove()}else if(Q.isExportDeclaration()&&(Q=Q.get("declaration")),Q.isVariableDeclaration({declare:!0}))for(let z of Object.keys(Q.getBindingIdentifiers()))(0,p.registerGlobalType)(ne,z);else(Q.isTSTypeAliasDeclaration()||Q.isTSDeclareFunction()&&Q.get("id").isIdentifier()||Q.isTSInterfaceDeclaration()||Q.isClassDeclaration({declare:!0})||Q.isTSEnumDeclaration({declare:!0})||Q.isTSModuleDeclaration({declare:!0})&&Q.get("id").isIdentifier())&&(0,p.registerGlobalType)(ne,Q.node.id.name)},exit(P){P.node.sourceType==="module"&&m.get(P.node)&&P.pushContainer("body",S.exportNamedDeclaration())}},ExportNamedDeclaration(P,W){if(m.has(W.file.ast.program)||m.set(W.file.ast.program,!0),P.node.exportKind!=="type")if(P.node.source&&P.node.specifiers.length>0&&P.node.specifiers.every(Z=>Z.type==="ExportSpecifier"&&Z.exportKind==="type"))P.remove();else if(!P.node.source&&P.node.specifiers.length>0&&P.node.specifiers.every(Z=>S.isExportSpecifier(Z)&&(0,p.isGlobalType)(P,Z.local.name)))P.remove();else{if(S.isTSModuleDeclaration(P.node.declaration)){let Z=P.node.declaration,{id:ee}=Z;if(S.isIdentifier(ee))if(P.scope.hasOwnBinding(ee.name))P.replaceWith(Z);else{let[J]=P.replaceWithMultiple([S.exportNamedDeclaration(S.variableDeclaration("let",[S.variableDeclarator(S.cloneNode(ee))])),Z]);P.scope.registerDeclaration(J)}}m.set(W.file.ast.program,!1)}else P.remove()},ExportAllDeclaration(P){P.node.exportKind==="type"&&P.remove()},ExportSpecifier(P){(!P.parent.source&&(0,p.isGlobalType)(P,P.node.local.name)||P.node.exportKind==="type")&&P.remove()},ExportDefaultDeclaration(P,W){m.has(W.file.ast.program)||m.set(W.file.ast.program,!0),S.isIdentifier(P.node.declaration)&&(0,p.isGlobalType)(P,P.node.declaration.name)?P.remove():m.set(W.file.ast.program,!1)},TSDeclareFunction(P){y(P)},TSDeclareMethod(P){y(P)},VariableDeclaration(P){P.node.declare&&y(P)},VariableDeclarator({node:P}){P.definite&&(P.definite=null)},TSIndexSignature(P){P.remove()},ClassDeclaration(P){let{node:W}=P;W.declare&&y(P)},Class(P){let{node:W}=P;W.typeParameters&&(W.typeParameters=null),W.superTypeParameters&&(W.superTypeParameters=null),W.implements&&(W.implements=null),W.abstract&&(W.abstract=null),P.get("body.body").forEach(Z=>{Z.isClassMethod()||Z.isClassPrivateMethod()?Z.node.kind==="constructor"?k.constructor(Z,P):k.method(Z):(Z.isClassProperty()||Z.isClassPrivateProperty()||Z.isClassAccessorProperty())&&k.field(Z)})},Function(P){let{node:W}=P;W.typeParameters&&(W.typeParameters=null),W.returnType&&(W.returnType=null);let Z=W.params;Z.length>0&&S.isIdentifier(Z[0],{name:"this"})&&Z.shift()},TSModuleDeclaration(P){(0,d.default)(P,L)},TSInterfaceDeclaration(P){P.remove()},TSTypeAliasDeclaration(P){P.remove()},TSEnumDeclaration(P){O&&P.node.const?(0,a.default)(P,S):(0,l.default)(P,S)},TSImportEqualsDeclaration(P,W){let{id:Z,moduleReference:ee,isExport:J}=P.node,ne,K;S.isTSExternalModuleReference(ee)?(_(P,W,`import ${Z.name} = require(...);`,`import ${Z.name} from '...';`," alongside Typescript's --allowSyntheticDefaultImports option"),ne=S.callExpression(S.identifier("require"),[ee.expression]),K="const"):(ne=$(ee),K="var");let q=S.variableDeclaration(K,[S.variableDeclarator(Z,ne)]);P.replaceWith(J?S.exportNamedDeclaration(q):q),P.scope.registerDeclaration(P)},TSExportAssignment(P,W){_(P,W,"export = <value>;","export default <value>;"),P.replaceWith(T.statement.ast`module.exports = ${P.node.expression}`)},TSTypeAssertion(P){P.replaceWith(P.node.expression)},["TSAsExpression"+(S.tsSatisfiesExpression?"|TSSatisfiesExpression":"")](P){let{node:W}=P;do W=W.expression;while(S.isTSAsExpression(W)||S.isTSSatisfiesExpression!=null&&S.isTSSatisfiesExpression(W));P.replaceWith(W)},[E.types.tsInstantiationExpression?"TSNonNullExpression|TSInstantiationExpression":"TSNonNullExpression"](P){P.replaceWith(P.node.expression)},CallExpression(P){P.node.typeParameters=null},OptionalCallExpression(P){P.node.typeParameters=null},NewExpression(P){P.node.typeParameters=null},JSXOpeningElement(P){P.node.typeParameters=null},TaggedTemplateExpression(P){P.node.typeParameters=null}}};function $(P){return S.isTSQualifiedName(P)?S.memberExpression($(P.left),P.right):P}function U({node:P}){P.typeAnnotation&&(P.typeAnnotation=null),S.isIdentifier(P)&&P.optional&&(P.optional=null)}function F({binding:P,programPath:W,pragmaImportName:Z,pragmaFragImportName:ee}){for(let ne of P.referencePaths)if(!h(ne))return!1;if(P.identifier.name!==Z&&P.identifier.name!==ee)return!0;let J=!1;return W.traverse({"JSXElement|JSXFragment"(ne){J=!0,ne.stop()}}),!J}})},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-typescript/lib/namespace.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(h,m){if(h.node.declare||h.node.id.type==="StringLiteral")return void h.remove();if(!m)throw h.get("id").buildCodeFrameError("Namespace not marked type-only declare. Non-declarative namespaces are only supported experimentally in Babel. To enable and review caveats see: https://babeljs.io/docs/en/babel-plugin-transform-typescript");let g=h.node.id.name,y=d(h,h.node);if(y===null){let _=h.findParent(E=>E.isProgram());(0,u.registerGlobalType)(_.scope,g),h.remove()}else h.scope.hasOwnBinding(g)?h.replaceWith(y):h.scope.registerDeclaration(h.replaceWithMultiple([H(g),y])[0])};var s=c("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js"),u=c("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-typescript/lib/global-types.js");function H(h){return s.types.variableDeclaration("let",[s.types.variableDeclarator(s.types.identifier(h))])}function a(h,m){return s.types.memberExpression(s.types.identifier(h),s.types.identifier(m))}function l(h,m,g){if(h.kind!=="const")throw g.file.buildCodeFrameError(h,"Namespaces exporting non-const are not supported by Babel. Change to const or see: https://babeljs.io/docs/en/babel-plugin-transform-typescript");let{declarations:y}=h;if(y.every(A=>s.types.isIdentifier(A.id))){for(let A of y)A.init=s.types.assignmentExpression("=",a(m,A.id.name),A.init);return[h]}let _=s.types.getBindingIdentifiers(h),E=[];for(let A in _)E.push(s.types.assignmentExpression("=",a(m,A),s.types.cloneNode(_[A])));return[h,s.types.expressionStatement(s.types.sequenceExpression(E))]}function p(h,m){return h.hub.buildError(m,"Ambient modules cannot be nested in other modules or namespaces.",Error)}function d(h,m,g){let y=new Set,_=m.id;s.types.assertIdentifier(_);let E=h.scope.generateUid(_.name),A=s.types.isTSModuleBlock(m.body)?m.body.body:[s.types.exportNamedDeclaration(m.body)],S=!0;for(let I=0;I<A.length;I++){let L=A[I];switch(L.type){case"TSModuleDeclaration":{if(!s.types.isIdentifier(L.id))throw p(h,L);let x=d(h,L);if(x!==null){S=!1;let C=L.id.name;y.has(C)?A[I]=x:(y.add(C),A.splice(I++,1,H(C),x))}continue}case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":S=!1,y.add(L.id.name);continue;case"VariableDeclaration":S=!1;for(let x in s.types.getBindingIdentifiers(L))y.add(x);continue;default:S&&(S=s.types.isTypeScript(L));continue;case"ExportNamedDeclaration":}if(!("declare"in L.declaration)||!L.declaration.declare)switch(L.declaration.type){case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":{S=!1;let x=L.declaration.id.name;y.add(x),A.splice(I++,1,L.declaration,s.types.expressionStatement(s.types.assignmentExpression("=",a(E,x),s.types.identifier(x))));break}case"VariableDeclaration":{S=!1;let x=l(L.declaration,E,h.hub);A.splice(I,x.length,...x),I+=x.length-1;break}case"TSModuleDeclaration":{if(!s.types.isIdentifier(L.declaration.id))throw p(h,L.declaration);let x=d(h,L.declaration,s.types.identifier(E));if(x!==null){S=!1;let C=L.declaration.id.name;y.has(C)?A[I]=x:(y.add(C),A.splice(I++,1,H(C),x))}else A.splice(I,1),I--}}}if(S)return null;let T=s.types.objectExpression([]);if(g){let I=s.types.memberExpression(g,_);T=s.template.expression.ast`
|
|
${s.types.cloneNode(I)} ||
|
|
(${s.types.cloneNode(I)} = ${T})
|
|
`}return s.template.statement.ast`
|
|
(function (${s.types.identifier(E)}) {
|
|
${A}
|
|
})(${_} || (${s.types.cloneNode(_)} = ${T}));
|
|
`}},"./node_modules/.pnpm/@babel+preset-typescript@7.25.7_@babel+core@7.25.7/node_modules/@babel/preset-typescript/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s=c("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),u=c("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-typescript/lib/index.js");c("./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-syntax-jsx/lib/index.js");var H=c("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js"),a=c("./node_modules/.pnpm/@babel+helper-validator-option@7.25.7/node_modules/@babel/helper-validator-option/lib/index.js");function l(y){return y&&y.__esModule?y:{default:y}}var p=l(u),d=l(H);let h=new a.OptionValidator("@babel/preset-typescript");var m=s.declare(function({types:y}){return{name:"preset-typescript/plugin-rewrite-ts-imports",visitor:{"ImportDeclaration|ExportAllDeclaration|ExportNamedDeclaration"({node:_}){let{source:E}=_;(y.isImportDeclaration(_)?_.importKind:_.exportKind)==="value"&&E&&/[\\/]/.test(E.value)&&(E.value=E.value.replace(/(\.[mc]?)ts$/,"$1js").replace(/\.tsx$/,".js"))}}}}),g=s.declarePreset((y,_)=>{y.assertVersion(7);let{allExtensions:E,ignoreExtensions:A,allowNamespaces:S,disallowAmbiguousJSXLike:T,isTSX:I,jsxPragma:L,jsxPragmaFrag:x,onlyRemoveTypeImports:C,optimizeConstEnums:D,rewriteImportExtensions:O}=function($={}){let{allowNamespaces:U=!0,jsxPragma:F,onlyRemoveTypeImports:P}=$,W="ignoreExtensions",Z="disallowAmbiguousJSXLike",ee="jsxPragmaFrag",J="optimizeConstEnums",ne="rewriteImportExtensions",K="allExtensions",q="isTSX",Q=h.validateStringOption(ee,$.jsxPragmaFrag,"React.Fragment");var z=h.validateBooleanOption(K,$.allExtensions,!1),ie=h.validateBooleanOption(q,$.isTSX,!1);ie&&h.invariant(z,"isTSX:true requires allExtensions:true");let _e=h.validateBooleanOption(W,$.ignoreExtensions,!1),He=h.validateBooleanOption(Z,$.disallowAmbiguousJSXLike,!1);He&&h.invariant(z,"disallowAmbiguousJSXLike:true requires allExtensions:true");let be={ignoreExtensions:_e,allowNamespaces:U,disallowAmbiguousJSXLike:He,jsxPragma:F,jsxPragmaFrag:Q,onlyRemoveTypeImports:P,optimizeConstEnums:h.validateBooleanOption(J,$.optimizeConstEnums,!1),rewriteImportExtensions:h.validateBooleanOption(ne,$.rewriteImportExtensions,!1)};return be.allExtensions=z,be.isTSX=ie,be}(_),j=$=>({allowDeclareFields:_.allowDeclareFields,allowNamespaces:S,disallowAmbiguousJSXLike:$,jsxPragma:L,jsxPragmaFrag:x,onlyRemoveTypeImports:C,optimizeConstEnums:D}),k=($,U)=>[[p.default,Object.assign({isTSX:$},j(U))]];return{plugins:O?[m]:[],overrides:E||A?[{plugins:k(I,T)}]:[{test:/\.ts$/,plugins:k(!1,!1)},{test:/\.mts$/,sourceType:"module",plugins:k(!1,!0)},{test:/\.cts$/,sourceType:"unambiguous",plugins:[[d.default,{allowTopLevelThis:!0}],[p.default,j(!0)]]},{test:/\.tsx$/,plugins:k(!0,!1)}]}});r.default=g},"./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/builder.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function p(d,h){let m=new WeakMap,g=new WeakMap,y=h||(0,s.validate)(null);return Object.assign((_,...E)=>{if(typeof _=="string"){if(E.length>1)throw new Error("Unexpected extra params.");return l((0,u.default)(d,_,(0,s.merge)(y,(0,s.validate)(E[0]))))}if(Array.isArray(_)){let A=m.get(_);return A||(A=(0,H.default)(d,_,y),m.set(_,A)),l(A(E))}if(typeof _=="object"&&_){if(E.length>0)throw new Error("Unexpected extra params.");return p(d,(0,s.merge)(y,(0,s.validate)(_)))}throw new Error("Unexpected template param "+typeof _)},{ast:(_,...E)=>{if(typeof _=="string"){if(E.length>1)throw new Error("Unexpected extra params.");return(0,u.default)(d,_,(0,s.merge)((0,s.merge)(y,(0,s.validate)(E[0])),a))()}if(Array.isArray(_)){let A=g.get(_);return A||(A=(0,H.default)(d,_,(0,s.merge)(y,a)),g.set(_,A)),A(E)()}throw new Error("Unexpected template param "+typeof _)}})};var s=c("./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/options.js"),u=c("./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/string.js"),H=c("./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/literal.js");let a=(0,s.validate)({placeholderPattern:!1});function l(p){let d="";try{throw new Error}catch(h){h.stack&&(d=h.stack.split(`
|
|
`).slice(3).join(`
|
|
`))}return h=>{try{return p(h)}catch(m){throw m.stack+=`
|
|
=============
|
|
${d}`,m}}}},"./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/formatters.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.statements=r.statement=r.smart=r.program=r.expression=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");let{assertExpressionStatement:u}=s;function H(l){return{code:p=>`/* @babel/template */;
|
|
${p}`,validate:()=>{},unwrap:p=>l(p.program.body.slice(1))}}r.smart=H(l=>l.length>1?l:l[0]),r.statements=H(l=>l),r.statement=H(l=>{if(l.length===0)throw new Error("Found nothing to return.");if(l.length>1)throw new Error("Found multiple statements but wanted one");return l[0]});let a=r.expression={code:l=>`(
|
|
${l}
|
|
)`,validate:l=>{if(l.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(a.unwrap(l).start===0)throw new Error("Parse result included parens.")},unwrap:({program:l})=>{let[p]=l.body;return u(p),p.expression}};r.program={code:l=>l,validate:()=>{},unwrap:l=>l.program}},"./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.statements=r.statement=r.smart=r.program=r.expression=r.default=void 0;var s=c("./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/formatters.js"),u=c("./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/builder.js");let H=r.smart=(0,u.default)(s.smart),a=r.statement=(0,u.default)(s.statement),l=r.statements=(0,u.default)(s.statements),p=r.expression=(0,u.default)(s.expression),d=r.program=(0,u.default)(s.program);r.default=Object.assign(H.bind(void 0),{smart:H,statement:a,statements:l,expression:p,program:d,ast:H.ast})},"./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/literal.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(a,l,p){let{metadata:d,names:h}=function(m,g,y){let _="BABEL_TPL$",E=g.join("");do _="$$"+_;while(E.includes(_));let{names:A,code:S}=function(I,L){let x=[],C=I[0];for(let D=1;D<I.length;D++){let O=`${L}${D-1}`;x.push(O),C+=O+I[D]}return{names:x,code:C}}(g,_);return{metadata:(0,u.default)(m,m.code(S),{parser:y.parser,placeholderWhitelist:new Set(A.concat(y.placeholderWhitelist?Array.from(y.placeholderWhitelist):[])),placeholderPattern:y.placeholderPattern,preserveComments:y.preserveComments,syntacticPlaceholders:y.syntacticPlaceholders}),names:A}}(a,l,p);return m=>{let g={};return m.forEach((y,_)=>{g[h[_]]=y}),y=>{let _=(0,s.normalizeReplacements)(y);return _&&Object.keys(_).forEach(E=>{if(hasOwnProperty.call(g,E))throw new Error("Unexpected replacement overlap.")}),a.unwrap((0,H.default)(d,_?Object.assign(_,g):g))}}};var s=c("./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/options.js"),u=c("./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/parse.js"),H=c("./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/populate.js")},"./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/options.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.merge=function(s,u){let{placeholderWhitelist:H=s.placeholderWhitelist,placeholderPattern:a=s.placeholderPattern,preserveComments:l=s.preserveComments,syntacticPlaceholders:p=s.syntacticPlaceholders}=u;return{parser:Object.assign({},s.parser,u.parser),placeholderWhitelist:H,placeholderPattern:a,preserveComments:l,syntacticPlaceholders:p}},r.normalizeReplacements=function(s){if(Array.isArray(s))return s.reduce((u,H,a)=>(u["$"+a]=H,u),{});if(typeof s=="object"||s==null)return s||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")},r.validate=function(s){if(s!=null&&typeof s!="object")throw new Error("Unknown template options.");let u=s||{},{placeholderWhitelist:H,placeholderPattern:a,preserveComments:l,syntacticPlaceholders:p}=u,d=function(h,m){if(h==null)return{};var g={};for(var y in h)if({}.hasOwnProperty.call(h,y)){if(m.includes(y))continue;g[y]=h[y]}return g}(u,c);if(H!=null&&!(H instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(a!=null&&!(a instanceof RegExp)&&a!==!1)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(l!=null&&typeof l!="boolean")throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(p!=null&&typeof p!="boolean")throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(p===!0&&(H!=null||a!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:d,placeholderWhitelist:H||void 0,placeholderPattern:a??void 0,preserveComments:l??void 0,syntacticPlaceholders:p??void 0}};let c=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]},"./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/parse.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(I,L,x){let{placeholderWhitelist:C,placeholderPattern:D,preserveComments:O,syntacticPlaceholders:j}=x,k=function(U,F,P){let W=(F.plugins||[]).slice();P!==!1&&W.push("placeholders"),F=Object.assign({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,sourceType:"module"},F,{plugins:W});try{return(0,u.parse)(U,F)}catch(Z){let ee=Z.loc;throw ee&&(Z.message+=`
|
|
`+(0,H.codeFrameColumns)(U,{start:ee}),Z.code="BABEL_TEMPLATE_PARSE_ERROR"),Z}}(L,x.parser,j);E(k,{preserveComments:O}),I.validate(k);let $={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:C,placeholderPattern:D,syntacticPlaceholders:j};return A(k,T,$),Object.assign({ast:k},$.syntactic.placeholders.length?$.syntactic:$.legacy)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/@babel+parser@7.25.7/node_modules/@babel/parser/lib/index.js"),H=c("./stubs/babel-codeframe.mjs");let{isCallExpression:a,isExpressionStatement:l,isFunction:p,isIdentifier:d,isJSXIdentifier:h,isNewExpression:m,isPlaceholder:g,isStatement:y,isStringLiteral:_,removePropertiesDeep:E,traverse:A}=s,S=/^[_$A-Z0-9]+$/;function T(I,L,x){var C;let D,O=x.syntactic.placeholders.length>0;if(g(I)){if(x.syntacticPlaceholders===!1)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");D=I.name.name,O=!0}else{if(O||x.syntacticPlaceholders)return;if(d(I)||h(I))D=I.name;else{if(!_(I))return;D=I.value}}if(O&&(x.placeholderPattern!=null||x.placeholderWhitelist!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!(O||x.placeholderPattern!==!1&&(x.placeholderPattern||S).test(D)||(C=x.placeholderWhitelist)!=null&&C.has(D)))return;L=L.slice();let{node:j,key:k}=L[L.length-1],$;_(I)||g(I,{expectedNode:"StringLiteral"})?$="string":m(j)&&k==="arguments"||a(j)&&k==="arguments"||p(j)&&k==="params"?$="param":l(j)&&!g(I)?($="statement",L=L.slice(0,-1)):$=y(I)&&g(I)?"statement":"other";let{placeholders:U,placeholderNames:F}=O?x.syntactic:x.legacy;U.push({name:D,type:$,resolve:P=>function(W,Z){let ee=W;for(let K=0;K<Z.length-1;K++){let{key:q,index:Q}=Z[K];ee=Q===void 0?ee[q]:ee[q][Q]}let{key:J,index:ne}=Z[Z.length-1];return{parent:ee,key:J,index:ne}}(P,L),isDuplicate:F.has(D)}),F.add(D)}},"./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/populate.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(y,_){let E=H(y.ast);return _&&(y.placeholders.forEach(A=>{if(!hasOwnProperty.call(_,A.name)){let S=A.name;throw new Error(`Error: No substitution given for "${S}". If this is not meant to be a
|
|
placeholder you may want to consider passing one of the following options to @babel/template:
|
|
- { placeholderPattern: false, placeholderWhitelist: new Set(['${S}'])}
|
|
- { placeholderPattern: /^${S}$/ }`)}}),Object.keys(_).forEach(A=>{if(!y.placeholderNames.has(A))throw new Error(`Unknown substitution "${A}" given`)})),y.placeholders.slice().reverse().forEach(A=>{try{(function(S,T,I){S.isDuplicate&&(Array.isArray(I)?I=I.map(O=>H(O)):typeof I=="object"&&(I=H(I)));let{parent:L,key:x,index:C}=S.resolve(T);if(S.type==="string"){if(typeof I=="string"&&(I=m(I)),!I||!h(I))throw new Error("Expected string substitution")}else if(S.type==="statement")C===void 0?I?Array.isArray(I)?I=u(I):typeof I=="string"?I=l(p(I)):d(I)||(I=l(I)):I=a():I&&!Array.isArray(I)&&(typeof I=="string"&&(I=p(I)),d(I)||(I=l(I)));else if(S.type==="param"){if(typeof I=="string"&&(I=p(I)),C===void 0)throw new Error("Assertion failure.")}else if(typeof I=="string"&&(I=p(I)),Array.isArray(I))throw new Error("Cannot replace single expression with an array.");function D(O,j,k){let $=O[j];O[j]=k,$.type==="Identifier"&&($.typeAnnotation&&(k.typeAnnotation=$.typeAnnotation),$.optional&&(k.optional=$.optional),$.decorators&&(k.decorators=$.decorators))}if(C===void 0)g(L,x,I),D(L,x,I);else{let O=L[x].slice();S.type==="statement"||S.type==="param"?I==null?O.splice(C,1):Array.isArray(I)?O.splice(C,1,...I):D(O,C,I):D(O,C,I),g(L,x,O),L[x]=O}})(A,E,_&&_[A.name]||null)}catch(S){throw S.message=`@babel/template placeholder "${A.name}": ${S.message}`,S}}),E};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");let{blockStatement:u,cloneNode:H,emptyStatement:a,expressionStatement:l,identifier:p,isStatement:d,isStringLiteral:h,stringLiteral:m,validate:g}=s},"./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/string.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(a,l,p){let d;return l=a.code(l),h=>{let m=(0,s.normalizeReplacements)(h);return d||(d=(0,u.default)(a,l,p)),a.unwrap((0,H.default)(d,m))}};var s=c("./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/options.js"),u=c("./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/parse.js"),H=c("./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/populate.js")},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/cache.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.clear=function(){u(),H()},r.clearPath=u,r.clearScope=H,r.getCachedPaths=function(l,p){var d;return(d=c.get(a))==null?void 0:d.get(p)},r.getOrCreateCachedPaths=function(l,p){let d=c.get(a);d||c.set(a,d=new WeakMap);let h=d.get(p);return h||d.set(p,h=new Map),h},r.scope=r.path=void 0;let c=r.path=new WeakMap,s=r.scope=new WeakMap;function u(){r.path=c=new WeakMap}function H(){r.scope=s=new WeakMap}let a=Object.freeze({})},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/context.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),H=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/context.js");let{VISITOR_KEYS:a}=u;r.default=class{constructor(l,p,d,h){this.queue=null,this.priorityQueue=null,this.parentPath=h,this.scope=l,this.state=d,this.opts=p}shouldVisit(l){let p=this.opts;if(p.enter||p.exit||p[l.type])return!0;let d=a[l.type];if(d==null||!d.length)return!1;for(let h of d)if(l[h])return!0;return!1}create(l,p,d,h){return s.default.get({parentPath:this.parentPath,parent:l,container:p,key:d,listKey:h})}maybeQueue(l,p){this.queue&&(p?this.queue.push(l):this.priorityQueue.push(l))}visitMultiple(l,p,d){if(l.length===0)return!1;let h=[];for(let m=0;m<l.length;m++){let g=l[m];g&&this.shouldVisit(g)&&h.push(this.create(p,l,m,d))}return this.visitQueue(h)}visitSingle(l,p){return!!this.shouldVisit(l[p])&&this.visitQueue([this.create(l,l,p)])}visitQueue(l){this.queue=l,this.priorityQueue=[];let p=new WeakSet,d=!1,h=0;for(;h<l.length;){let m=l[h];if(h++,H.resync.call(m),m.contexts.length!==0&&m.contexts[m.contexts.length-1]===this||H.pushContext.call(m,this),m.key===null)continue;let{node:g}=m;if(!p.has(g)){if(g&&p.add(g),m.visit()){d=!0;break}if(this.priorityQueue.length&&(d=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=l,d))break}}for(let m=0;m<h;m++)H.popContext.call(l[m]);return this.queue=null,d}visit(l,p){let d=l[p];return!!d&&(Array.isArray(d)?this.visitMultiple(d,l,p):this.visitSingle(l,p))}}},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/hub.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(c,s,u=TypeError){return new u(s)}}},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Hub",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(r,"NodePath",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"Scope",{enumerable:!0,get:function(){return p.default}}),r.visitors=r.default=void 0,c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/context.js");var s=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/visitors.js");r.visitors=s;var u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),H=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/cache.js"),a=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/traverse-node.js"),l=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/index.js"),p=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/scope/index.js"),d=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/hub.js");let{VISITOR_KEYS:h,removeProperties:m,traverseFast:g}=u;function y(E,A={},S,T,I,L){if(E){if(!A.noScope&&!S&&E.type!=="Program"&&E.type!=="File")throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${E.type} node without passing scope and parentPath.`);if(!I&&L)throw new Error("visitSelf can only be used when providing a NodePath.");h[E.type]&&(s.explode(A),(0,a.traverseNode)(E,A,S,T,I,null,L))}}r.default=y;function _(E,A){E.node.type===A.type&&(A.has=!0,E.stop())}y.visitors=s,y.verify=s.verify,y.explode=s.explode,y.cheap=function(E,A){g(E,A)},y.node=function(E,A,S,T,I,L){(0,a.traverseNode)(E,A,S,T,I,L)},y.clearNode=function(E,A){m(E,A)},y.removeProperties=function(E,A){return g(E,y.clearNode,A),E},y.hasType=function(E,A,S){if(S!=null&&S.includes(E.type))return!1;if(E.type===A)return!0;let T={has:!1,type:A};return y(E,{noScope:!0,denylist:S,enter:_},null,T),T.has},y.cache=H},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/ancestry.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.find=function(H){let a=this;do if(H(a))return a;while(a=a.parentPath);return null},r.findParent=function(H){let a=this;for(;a=a.parentPath;)if(H(a))return a;return null},r.getAncestry=function(){let H=this,a=[];do a.push(H);while(H=H.parentPath);return a},r.getDeepestCommonAncestorFrom=function(H,a){if(!H.length)return this;if(H.length===1)return H[0];let l,p,d=1/0,h=H.map(g=>{let y=[];do y.unshift(g);while((g=g.parentPath)&&g!==this);return y.length<d&&(d=y.length),y}),m=h[0];e:for(let g=0;g<d;g++){let y=m[g];for(let _ of h)if(_[g]!==y)break e;l=g,p=y}if(p)return a?a(p,l,h):p;throw new Error("Couldn't find intersection")},r.getEarliestCommonAncestorFrom=function(H){return this.getDeepestCommonAncestorFrom(H,function(a,l,p){let d,h=u[a.type];for(let m of p){let g=m[l+1];if(!d){d=g;continue}if(g.listKey&&d.listKey===g.listKey&&g.key<d.key){d=g;continue}h.indexOf(d.parentKey)>h.indexOf(g.parentKey)&&(d=g)}return d})},r.getFunctionParent=function(){return this.findParent(H=>H.isFunction())},r.getStatementParent=function(){let H=this;do{if(!H.parentPath||Array.isArray(H.container)&&H.isStatement())break;H=H.parentPath}while(H);if(H&&(H.isProgram()||H.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return H},r.inType=function(...H){let a=this;for(;a;){for(let l of H)if(a.node.type===l)return!0;a=a.parentPath}return!1},r.isAncestor=function(H){return H.isDescendant(this)},r.isDescendant=function(H){return!!this.findParent(a=>a===H)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");let{VISITOR_KEYS:u}=s},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/comments.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.addComment=function(l,p,d){u(this.node,l,p,d)},r.addComments=function(l,p){H(this.node,l,p)},r.shareCommentsWithSiblings=function(){if(typeof this.key=="string")return;let l=this.node;if(!l)return;let p=l.trailingComments,d=l.leadingComments;if(!p&&!d)return;let h=this.getSibling(this.key-1),m=this.getSibling(this.key+1),g=!!h.node,y=!!m.node;g&&(d&&h.addComments("trailing",a(d,h.node.trailingComments)),p&&!y&&h.addComments("trailing",p)),y&&(p&&m.addComments("leading",a(p,m.node.leadingComments)),d&&!g&&m.addComments("leading",d))};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");let{addComment:u,addComments:H}=s;function a(l,p){if(p==null||!p.length)return l;let d=new Set(p);return l.filter(h=>!d.has(h))}},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/context.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._call=p,r._getQueueContexts=function(){let A=this,S=this.contexts;for(;!S.length&&(A=A.parentPath,A);)S=A.contexts;return S},r._resyncKey=y,r._resyncList=_,r._resyncParent=g,r._resyncRemoved=function(){this.key!=null&&this.container&&this.container[this.key]===this.node||H._markRemoved.call(this)},r.call=l,r.isDenylisted=d,r.popContext=function(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)},r.pushContext=function(A){this.contexts.push(A),this.setContext(A)},r.requeue=function(A=this){if(A.removed)return;let S=this.contexts;for(let T of S)T.maybeQueue(A)},r.requeueComputedKeyAndDecorators=function(){let{context:A,node:S}=this;if(!a.isPrivate(S)&&S.computed&&A.maybeQueue(this.get("key")),S.decorators)for(let T of this.get("decorators"))A.maybeQueue(T)},r.resync=function(){this.removed||(g.call(this),_.call(this),y.call(this))},r.setContext=function(A){return this.skipKeys!=null&&(this.skipKeys={}),this._traverseFlags=0,A&&(this.context=A,this.state=A.state,this.opts=A.opts),m.call(this),this},r.setKey=E,r.setScope=m,r.setup=function(A,S,T,I){this.listKey=T,this.container=S,this.parentPath=A||this.parentPath,E.call(this,I)},r.skip=function(){this.shouldSkip=!0},r.skipKey=function(A){this.skipKeys==null&&(this.skipKeys={}),this.skipKeys[A]=!0},r.stop=function(){this._traverseFlags|=u.SHOULD_SKIP|u.SHOULD_STOP},r.visit=function(){var A,S;if(!this.node||this.isDenylisted()||(A=(S=this.opts).shouldSkip)!=null&&A.call(S,this))return!1;let T=this.context;return this.shouldSkip||l.call(this,"enter")?(this.debug("Skip..."),this.shouldStop):(h(this,T),this.debug("Recursing into..."),this.shouldStop=(0,s.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),h(this,T),l.call(this,"exit"),this.shouldStop)};var s=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/traverse-node.js"),u=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/index.js"),H=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/removal.js"),a=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");function l(A){let S=this.opts;return this.debug(A),!(!this.node||!p.call(this,S[A]))||!!this.node&&p.call(this,(T=S[this.node.type])==null?void 0:T[A]);var T}function p(A){if(!A)return!1;for(let S of A){if(!S)continue;let T=this.node;if(!T)return!0;let I=S.call(this.state,this,this.state);if(I&&typeof I=="object"&&typeof I.then=="function")throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(I)throw new Error(`Unexpected return value from visitor method ${S}`);if(this.node!==T||this._traverseFlags>0)return!0}return!1}function d(){var A;let S=(A=this.opts.denylist)!=null?A:this.opts.blacklist;return S?.includes(this.node.type)}function h(A,S){A.context!==S&&(A.context=S,A.state=S.state,A.opts=S.opts)}function m(){var A,S;if((A=this.opts)!=null&&A.noScope)return;let T,I=this.parentPath;for(((this.key==="key"||this.listKey==="decorators")&&I.isMethod()||this.key==="discriminant"&&I.isSwitchStatement())&&(I=I.parentPath);I&&!T;){var L;if((L=I.opts)!=null&&L.noScope)return;T=I.scope,I=I.parentPath}this.scope=this.getScope(T),(S=this.scope)==null||S.init()}function g(){this.parentPath&&(this.parent=this.parentPath.node)}function y(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(let A=0;A<this.container.length;A++)if(this.container[A]===this.node)return void E.call(this,A)}else for(let A of Object.keys(this.container))if(this.container[A]===this.node)return void E.call(this,A);this.key=null}}function _(){if(!this.parent||!this.inList)return;let A=this.parent[this.listKey];this.container!==A&&(this.container=A||null)}function E(A){var S;this.key=A,this.node=this.container[this.key],this.type=(S=this.node)==null?void 0:S.type}r.isBlacklisted=d},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/conversion.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.arrowFunctionToExpression=function({allowInsertArrow:Oe=!0,allowInsertArrowWithRest:re=Oe,noNewArrows:fe=!(he=>(he=arguments[0])==null?void 0:he.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let he=this;var se;fe||(he=(se=he.ensureFunctionName(!1))!=null?se:he);let{thisBinding:Ie,fnPath:ye}=Ve(he,fe,Oe,re);if(ye.ensureBlock(),function($e,nt){$e.node.type=nt}(ye,"FunctionExpression"),!fe){let $e=Ie?null:ye.scope.generateUidIdentifier("arrowCheckId");return $e&&ye.parentPath.scope.push({id:$e,init:C([])}),ye.get("body").unshiftContainer("body",y(m(this.hub.addHelper("newArrowCheck"),[F(),_($e?$e.name:Ie)]))),ye.replaceWith(m(I(ye.node,_("bind")),[$e?_($e.name):F()])),ye.get("callee.object")}return ye},r.ensureBlock=function(){let Oe=this.get("body"),re=Oe.node;if(Array.isArray(Oe))throw new Error("Can't convert array path to a block statement");if(!re)throw new Error("Can't convert node without a body");if(Oe.isBlockStatement())return re;let fe=[],he,se,Ie="body";Oe.isStatement()?(se="body",he=0,fe.push(Oe.node)):(Ie+=".body.0",this.isFunction()?(he="argument",fe.push(O(Oe.node))):(he="expression",fe.push(y(Oe.node)))),this.node.body=h(fe);let ye=this.get(Ie);return a.setup.call(Oe,ye,se?ye.node[se]:ye.node,se,he),this.node},r.ensureFunctionName=function(Oe){if(this.node.id)return this;let re=K(this.node,this.parent);if(re==null)return this;let{name:fe}=re;if(!Oe&&/[\uD800-\uDFFF]/.test(fe)||fe.startsWith("get ")||fe.startsWith("set "))return null;fe=Z(fe.replace(/[/ ]/g,"_"));let he=_(fe);He(he,re.originalNode);let se={needsRename:!1,name:fe},{scope:Ie}=this,ye=Ie.getOwnBinding(fe);if(ye?ye.kind==="param"&&(se.needsRename=!0):(Ie.parent.hasBinding(fe)||Ie.hasGlobal(fe))&&this.traverse(je,se),!se.needsRename)return this.node.id=he,Ie.getProgramParent().references[he.name]=!0,this;if(Ie.hasBinding(he.name)&&!Ie.hasGlobal(he.name))return Ie.rename(he.name),this.node.id=he,Ie.getProgramParent().references[he.name]=!0,this;if(!ee(this.node))return null;let $e=Ie.generateUidIdentifier(he.name),nt=[];for(let xe=0,pe=function(ue){let Se=ue.params.findIndex(Ae=>J(Ae)||ne(Ae));return Se===-1?ue.params.length:Se}(this.node);xe<pe;xe++)nt.push(Ie.generateUidIdentifier("x"));let et=u.default.expression.ast`
|
|
(function (${$e}) {
|
|
function ${he}(${nt}) {
|
|
return ${q($e)}.apply(this, arguments);
|
|
}
|
|
|
|
${q(he)}.toString = function () {
|
|
return ${q($e)}.toString();
|
|
}
|
|
|
|
return ${q(he)};
|
|
})(${P(this.node)})
|
|
`;return this.replaceWith(et)[0].get("arguments.0")},r.splitExportDeclaration=function(){if(!this.isExportDeclaration()||this.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(this.isExportNamedDeclaration()&&this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let Oe=this.get("declaration");if(this.isExportDefaultDeclaration()){let se=Oe.isFunctionDeclaration()||Oe.isClassDeclaration(),Ie=Oe.isFunctionExpression()||Oe.isClassExpression(),ye=Oe.isScope()?Oe.scope.parent:Oe.scope,$e=Oe.node.id,nt=!1;$e?Ie&&ye.hasBinding($e.name)&&(nt=!0,$e=ye.generateUidIdentifier($e.name)):(nt=!0,$e=ye.generateUidIdentifier("default"),(se||Ie)&&(Oe.node.id=q($e)));let et=se?Oe.node:Q("var",[z(q($e),Oe.node)]),xe=ie(null,[_e(q($e),_("default"))]);return this.insertAfter(xe),this.replaceWith(et),nt&&ye.registerDeclaration(this),this}if(this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let re=Oe.getOuterBindingIdentifiers(),fe=Object.keys(re).map(se=>_e(_(se),_(se))),he=ie(null,fe);return this.insertAfter(he),this.replaceWith(Oe.node),this},r.toComputedKey=function(){let Oe;if(this.isMemberExpression())Oe=this.node.property;else{if(!this.isProperty()&&!this.isMethod())throw new ReferenceError("todo");Oe=this.node.key}return this.node.computed||E(Oe)&&(Oe=$(Oe.name)),Oe},r.unwrapFunctionEnvironment=function(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");Ve(this)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/index.js"),H=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/visitors.js"),a=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/context.js");let{arrowFunctionExpression:l,assignmentExpression:p,binaryExpression:d,blockStatement:h,callExpression:m,conditionalExpression:g,expressionStatement:y,identifier:_,isIdentifier:E,jsxIdentifier:A,logicalExpression:S,LOGICAL_OPERATORS:T,memberExpression:I,metaProperty:L,numericLiteral:x,objectExpression:C,restElement:D,returnStatement:O,sequenceExpression:j,spreadElement:k,stringLiteral:$,super:U,thisExpression:F,toExpression:P,unaryExpression:W,toBindingIdentifierName:Z,isFunction:ee,isAssignmentPattern:J,isRestElement:ne,getFunctionName:K,cloneNode:q,variableDeclaration:Q,variableDeclarator:z,exportNamedDeclaration:ie,exportSpecifier:_e,inherits:He}=s;r.arrowFunctionToShadowed=function(){this.isArrowFunctionExpression()&&this.arrowFunctionToExpression()};let be=(0,H.environmentVisitor)({CallExpression(Oe,{allSuperCalls:re}){Oe.get("callee").isSuper()&&re.push(Oe)}});function Ve(Oe,re=!0,fe=!0,he=!0){let se,Ie=Oe.findParent(Se=>Se.isArrowFunctionExpression()?(se!=null||(se=Se),!1):Se.isFunction()||Se.isProgram()||Se.isClassProperty({static:!1})||Se.isClassPrivateProperty({static:!1})),ye=Ie.isClassMethod({kind:"constructor"});if(Ie.isClassProperty()||Ie.isClassPrivateProperty())if(se)Ie=se;else{if(!fe)throw Oe.buildCodeFrameError("Unable to transform arrow inside class property");Oe.replaceWith(m(l([],P(Oe.node)),[])),Ie=Oe.get("callee"),Oe=Ie.get("body")}let{thisPaths:$e,argumentsPaths:nt,newTargetPaths:et,superProps:xe,superCalls:pe}=function(Se){let Ae=[],de=[],We=[],tt=[],mt=[];return Se.traverse(ke,{thisPaths:Ae,argumentsPaths:de,newTargetPaths:We,superProps:tt,superCalls:mt}),{thisPaths:Ae,argumentsPaths:de,newTargetPaths:We,superProps:tt,superCalls:mt}}(Oe);if(ye&&pe.length>0){if(!fe)throw pe[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super()` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");if(!he)throw pe[0].buildCodeFrameError("When using '@babel/plugin-transform-parameters', it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");let Se=[];Ie.traverse(be,{allSuperCalls:Se});let Ae=function(de){return ce(de,"supercall",()=>{let We=de.scope.generateUidIdentifier("args");return l([D(We)],m(U(),[k(_(We.name))]))})}(Ie);Se.forEach(de=>{let We=_(Ae);We.loc=de.node.callee.loc,de.get("callee").replaceWith(We)})}if(nt.length>0){let Se=ce(Ie,"arguments",()=>{let Ae=()=>_("arguments");return Ie.scope.path.isProgram()?g(d("===",W("typeof",Ae()),$("undefined")),Ie.scope.buildUndefinedNode(),Ae()):Ae()});nt.forEach(Ae=>{let de=_(Se);de.loc=Ae.node.loc,Ae.replaceWith(de)})}if(et.length>0){let Se=ce(Ie,"newtarget",()=>L(_("new"),_("target")));et.forEach(Ae=>{let de=_(Se);de.loc=Ae.node.loc,Ae.replaceWith(de)})}if(xe.length>0){if(!fe)throw xe[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super.prop` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");xe.reduce((Se,Ae)=>Se.concat(function(de){if(de.parentPath.isAssignmentExpression()&&de.parentPath.node.operator!=="="){let tt=de.parentPath,mt=tt.node.operator.slice(0,-1),At=tt.node.right,pt=function(Nt){return T.includes(Nt)}(mt);if(de.node.computed){let Nt=de.scope.generateDeclaredUidIdentifier("tmp"),Ce=de.node.object,qe=de.node.property;tt.get("left").replaceWith(I(Ce,p("=",Nt,qe),!0)),tt.get("right").replaceWith(We(pt?"=":mt,I(Ce,_(Nt.name),!0),At))}else{let Nt=de.node.object,Ce=de.node.property;tt.get("left").replaceWith(I(Nt,Ce)),tt.get("right").replaceWith(We(pt?"=":mt,I(Nt,_(Ce.name)),At))}return pt?tt.replaceWith(S(mt,tt.node.left,tt.node.right)):tt.node.operator="=",[tt.get("left"),tt.get("right").get("left")]}if(de.parentPath.isUpdateExpression()){let tt=de.parentPath,mt=de.scope.generateDeclaredUidIdentifier("tmp"),At=de.node.computed?de.scope.generateDeclaredUidIdentifier("prop"):null,pt=[p("=",mt,I(de.node.object,At?p("=",At,de.node.property):de.node.property,de.node.computed)),p("=",I(de.node.object,At?_(At.name):de.node.property,de.node.computed),d(de.parentPath.node.operator[0],_(mt.name),x(1)))];return de.parentPath.node.prefix||pt.push(_(mt.name)),tt.replaceWith(j(pt)),[tt.get("expressions.0.right"),tt.get("expressions.1.left")]}return[de];function We(tt,mt,At){return tt==="="?p("=",mt,At):d(tt,mt,At)}}(Ae)),[]).forEach(Se=>{let Ae=Se.node.computed?"":Se.get("property").node.name,de=Se.parentPath,We=de.isAssignmentExpression({left:Se.node}),tt=de.isCallExpression({callee:Se.node}),mt=de.isTaggedTemplateExpression({tag:Se.node}),At=function(Ce,qe,ot){return ce(Ce,`superprop_${qe?"set":"get"}:${ot||""}`,()=>{let Pe=[],Qe;if(ot)Qe=I(U(),_(ot));else{let Ge=Ce.scope.generateUidIdentifier("prop");Pe.unshift(Ge),Qe=I(U(),_(Ge.name),!0)}if(qe){let Ge=Ce.scope.generateUidIdentifier("value");Pe.push(Ge),Qe=p("=",Qe,_(Ge.name))}return l(Pe,Qe)})}(Ie,We,Ae),pt=[];if(Se.node.computed&&pt.push(Se.get("property").node),We){let Ce=de.node.right;pt.push(Ce)}let Nt=m(_(At),pt);tt?(de.unshiftContainer("arguments",F()),Se.replaceWith(I(Nt,_("call"))),$e.push(de.get("arguments.0"))):We?de.replaceWith(Nt):mt?(Se.replaceWith(m(I(Nt,_("bind"),!1),[F()])),$e.push(Se.get("arguments.0"))):Se.replaceWith(Nt)})}let ue;return($e.length>0||!re)&&(ue=function(Se,Ae){return ce(Se,"this",de=>{if(!Ae||!Fe(Se))return F();Se.traverse(me,{supers:new WeakSet,thisBinding:de})})}(Ie,ye),(re||ye&&Fe(Ie))&&($e.forEach(Se=>{let Ae=Se.isJSX()?A(ue):_(ue);Ae.loc=Se.node.loc,Se.replaceWith(Ae)}),re||(ue=null))),{thisBinding:ue,fnPath:Oe}}function Fe(Oe){return Oe.isClassMethod()&&!!Oe.parentPath.parentPath.node.superClass}let me=(0,H.environmentVisitor)({CallExpression(Oe,{supers:re,thisBinding:fe}){Oe.get("callee").isSuper()&&(re.has(Oe.node)||(re.add(Oe.node),Oe.replaceWithMultiple([Oe.node,p("=",_(fe),_("this"))])))}});function ce(Oe,re,fe){let he="binding:"+re,se=Oe.getData(he);if(!se){let Ie=Oe.scope.generateUidIdentifier(re);se=Ie.name,Oe.setData(he,se),Oe.scope.push({id:Ie,init:fe(se)})}return se}let ke=(0,H.environmentVisitor)({ThisExpression(Oe,{thisPaths:re}){re.push(Oe)},JSXIdentifier(Oe,{thisPaths:re}){Oe.node.name==="this"&&(Oe.parentPath.isJSXMemberExpression({object:Oe.node})||Oe.parentPath.isJSXOpeningElement({name:Oe.node}))&&re.push(Oe)},CallExpression(Oe,{superCalls:re}){Oe.get("callee").isSuper()&&re.push(Oe)},MemberExpression(Oe,{superProps:re}){Oe.get("object").isSuper()&&re.push(Oe)},Identifier(Oe,{argumentsPaths:re}){if(!Oe.isReferencedIdentifier({name:"arguments"}))return;let fe=Oe.scope;do{if(fe.hasOwnBinding("arguments"))return void fe.rename("arguments");if(fe.path.isFunction()&&!fe.path.isArrowFunctionExpression())break}while(fe=fe.parent);re.push(Oe)},MetaProperty(Oe,{newTargetPaths:re}){Oe.get("meta").isIdentifier({name:"new"})&&Oe.get("property").isIdentifier({name:"target"})&&re.push(Oe)}}),je={"ReferencedIdentifier|BindingIdentifier"(Oe,re){Oe.node.name===re.name&&(re.needsRename=!0,Oe.stop())},Scope(Oe,re){Oe.scope.hasOwnBinding(re.name)&&Oe.skip()}}},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/evaluation.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.evaluate=function(){let h={confident:!0,deoptPath:null,seen:new Map},m=p(this,h);return h.confident||(m=void 0),{confident:h.confident,deopt:h.deoptPath,value:m}},r.evaluateTruthy=function(){let h=this.evaluate();if(h.confident)return!!h.value};let c=["Number","String","Math"],s=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],u=["random"];function H(h){return c.includes(h)}function a(h,m){m.confident&&(m.deoptPath=h,m.confident=!1)}let l=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function p(h,m){let{node:g}=h,{seen:y}=m;if(y.has(g)){let _=y.get(g);return _.resolved?_.value:void a(h,m)}{let _={resolved:!1};y.set(g,_);let E=function(A,S){if(S.confident){if(A.isSequenceExpression()){let T=A.get("expressions");return p(T[T.length-1],S)}if(A.isStringLiteral()||A.isNumericLiteral()||A.isBooleanLiteral())return A.node.value;if(A.isNullLiteral())return null;if(A.isTemplateLiteral())return d(A,A.node.quasis,S);if(A.isTaggedTemplateExpression()&&A.get("tag").isMemberExpression()){let T=A.get("tag.object"),{node:{name:I}}=T,L=A.get("tag.property");if(T.isIdentifier()&&I==="String"&&!A.scope.getBinding(I)&&L.isIdentifier()&&L.node.name==="raw")return d(A,A.node.quasi.quasis,S,!0)}if(A.isConditionalExpression()){let T=p(A.get("test"),S);return S.confident?p(T?A.get("consequent"):A.get("alternate"),S):void 0}if(A.isExpressionWrapper())return p(A.get("expression"),S);if(A.isMemberExpression()&&!A.parentPath.isCallExpression({callee:A.node})){let T=A.get("property"),I=A.get("object");if(I.isLiteral()){let L=I.node.value,x=typeof L,C=null;if(A.node.computed){if(C=p(T,S),!S.confident)return}else T.isIdentifier()&&(C=T.node.name);if(!(x!=="number"&&x!=="string"||C==null||typeof C!="number"&&typeof C!="string"))return L[C]}}if(A.isReferencedIdentifier()){let T=A.scope.getBinding(A.node.name);if(T){if(T.constantViolations.length>0||A.node.start<T.path.node.end)return void a(T.path,S);if(T.hasValue)return T.value}let I=A.node.name;if(l.has(I))return T?void a(T.path,S):l.get(I);let L=A.resolve();return L===A?void a(A,S):p(L,S)}if(A.isUnaryExpression({prefix:!0})){if(A.node.operator==="void")return;let T=A.get("argument");if(A.node.operator==="typeof"&&(T.isFunction()||T.isClass()))return"function";let I=p(T,S);if(!S.confident)return;switch(A.node.operator){case"!":return!I;case"+":return+I;case"-":return-I;case"~":return~I;case"typeof":return typeof I}}if(A.isArrayExpression()){let T=[],I=A.get("elements");for(let L of I){let x=L.evaluate();if(!x.confident)return void a(x.deopt,S);T.push(x.value)}return T}if(A.isObjectExpression()){let T={},I=A.get("properties");for(let L of I){if(L.isObjectMethod()||L.isSpreadElement())return void a(L,S);let x=L.get("key"),C;if(L.node.computed){if(C=x.evaluate(),!C.confident)return void a(C.deopt,S);C=C.value}else C=x.isIdentifier()?x.node.name:x.node.value;let D=L.get("value").evaluate();if(!D.confident)return void a(D.deopt,S);D=D.value,T[C]=D}return T}if(A.isLogicalExpression()){let T=S.confident,I=p(A.get("left"),S),L=S.confident;S.confident=T;let x=p(A.get("right"),S),C=S.confident;switch(A.node.operator){case"||":return S.confident=L&&(!!I||C),S.confident?I||x:void 0;case"&&":return S.confident=L&&(!I||C),S.confident?I&&x:void 0;case"??":return S.confident=L&&(I!=null||C),S.confident?I??x:void 0}}if(A.isBinaryExpression()){let T=p(A.get("left"),S);if(!S.confident)return;let I=p(A.get("right"),S);if(!S.confident)return;switch(A.node.operator){case"-":return T-I;case"+":return T+I;case"/":return T/I;case"*":return T*I;case"%":return T%I;case"**":return Math.pow(T,I);case"<":return T<I;case">":return T>I;case"<=":return T<=I;case">=":return T>=I;case"==":return T==I;case"!=":return T!=I;case"===":return T===I;case"!==":return T!==I;case"|":return T|I;case"&":return T&I;case"^":return T^I;case"<<":return T<<I;case">>":return T>>I;case">>>":return T>>>I}}if(A.isCallExpression()){let T=A.get("callee"),I,L;if(T.isIdentifier()&&!A.scope.getBinding(T.node.name)&&(H(T.node.name)||function(x){return s.includes(x)}(T.node.name))&&(L=global[T.node.name]),T.isMemberExpression()){let x=T.get("object"),C=T.get("property");if(x.isIdentifier()&&C.isIdentifier()&&H(x.node.name)&&!function(D){return u.includes(D)}(C.node.name)){I=global[x.node.name];let D=C.node.name;hasOwnProperty.call(I,D)&&(L=I[D])}if(x.isLiteral()&&C.isIdentifier()){let D=typeof x.node.value;D!=="string"&&D!=="number"||(I=x.node.value,L=I[C.node.name])}}if(L){let x=A.get("arguments").map(C=>p(C,S));return S.confident?L.apply(I,x):void 0}}a(A,S)}}(h,m);return m.confident&&(_.resolved=!0,_.value=E),E}}function d(h,m,g,y=!1){let _="",E=0,A=h.isTemplateLiteral()?h.get("expressions"):h.get("quasi.expressions");for(let S of m){if(!g.confident)break;_+=y?S.value.raw:S.value.cooked;let T=A[E++];T&&(_+=String(p(T,g)))}if(g.confident)return _}},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/family.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._getKey=S,r._getPattern=T,r.get=function(I,L=!0){L===!0&&(L=this.context);let x=I.split(".");return x.length===1?S.call(this,I,L):T.call(this,x,L)},r.getAllNextSiblings=function(){let I=this.key,L=this.getSibling(++I),x=[];for(;L.node;)x.push(L),L=this.getSibling(++I);return x},r.getAllPrevSiblings=function(){let I=this.key,L=this.getSibling(--I),x=[];for(;L.node;)x.push(L),L=this.getSibling(--I);return x},r.getAssignmentIdentifiers=function(){return H(this.node)},r.getBindingIdentifierPaths=function(I=!1,L=!1){let x=[this],C=Object.create(null);for(;x.length;){let D=x.shift();if(!D||!D.node)continue;let O=a.keys[D.node.type];if(D.isIdentifier())I?(C[D.node.name]=C[D.node.name]||[]).push(D):C[D.node.name]=D;else if(D.isExportDeclaration()){let j=D.get("declaration");j.isDeclaration()&&x.push(j)}else{if(L){if(D.isFunctionDeclaration()){x.push(D.get("id"));continue}if(D.isFunctionExpression())continue}if(O)for(let j=0;j<O.length;j++){let k=O[j],$=D.get(k);Array.isArray($)?x.push(...$):$.node&&x.push($)}}}return C},r.getBindingIdentifiers=function(I){return a(this.node,I)},r.getCompletionRecords=function(){return A(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map(I=>I.path)},r.getNextSibling=function(){return this.getSibling(this.key+1)},r.getOpposite=function(){return this.key==="left"?this.getSibling("right"):this.key==="right"?this.getSibling("left"):null},r.getOuterBindingIdentifierPaths=function(I=!1){return this.getBindingIdentifierPaths(I,!0)},r.getOuterBindingIdentifiers=function(I){return l(this.node,I)},r.getPrevSibling=function(){return this.getSibling(this.key-1)},r.getSibling=function(I){return s.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:I}).setContext(this.context)};var s=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");let{getAssignmentIdentifiers:H,getBindingIdentifiers:a,getOuterBindingIdentifiers:l,numericLiteral:p,unaryExpression:d}=u,h=0,m=1;function g(I,L,x){return I&&L.push(...A(I,x)),L}function y(I){I.forEach(L=>{L.type=m})}function _(I,L){I.forEach(x=>{x.path.isBreakStatement({label:null})&&(L?x.path.replaceWith(d("void",p(0))):x.path.remove())})}function E(I,L){let x=[];if(L.canHaveBreak){let C=[];for(let D=0;D<I.length;D++){let O=I[D],j=Object.assign({},L,{inCaseClause:!1});O.isBlockStatement()&&(L.inCaseClause||L.shouldPopulateBreak)?j.shouldPopulateBreak=!0:j.shouldPopulateBreak=!1;let k=A(O,j);if(k.length>0&&k.every($=>$.type===m)){C.length>0&&k.every($=>$.path.isBreakStatement({label:null}))?(y(C),x.push(...C),C.some($=>$.path.isDeclaration())&&(x.push(...k),_(k,!0)),_(k,!1)):(x.push(...k),L.shouldPopulateBreak||_(k,!0));break}if(D===I.length-1)x.push(...k);else{C=[];for(let $=0;$<k.length;$++){let U=k[$];U.type===m&&x.push(U),U.type===h&&C.push(U)}}}}else if(I.length)for(let C=I.length-1;C>=0;C--){let D=A(I[C],L);if(D.length>1||D.length===1&&!D[0].path.isVariableDeclaration()){x.push(...D);break}}return x}function A(I,L){let x=[];if(I.isIfStatement())x=g(I.get("consequent"),x,L),x=g(I.get("alternate"),x,L);else{if(I.isDoExpression()||I.isFor()||I.isWhile()||I.isLabeledStatement())return g(I.get("body"),x,L);if(I.isProgram()||I.isBlockStatement())return E(I.get("body"),L);if(I.isFunction())return A(I.get("body"),L);if(I.isTryStatement())x=g(I.get("block"),x,L),x=g(I.get("handler"),x,L);else{if(I.isCatchClause())return g(I.get("body"),x,L);if(I.isSwitchStatement())return function(C,D,O){let j=[];for(let k=0;k<C.length;k++){let $=A(C[k],O),U=[],F=[];for(let P of $)P.type===h&&U.push(P),P.type===m&&F.push(P);U.length&&(j=U),D.push(...F)}return D.push(...j),D}(I.get("cases"),x,L);if(I.isSwitchCase())return E(I.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});I.isBreakStatement()?x.push(function(C){return{type:m,path:C}}(I)):x.push(function(C){return{type:h,path:C}}(I))}}return x}function S(I,L){let x=this.node,C=x[I];return Array.isArray(C)?C.map((D,O)=>s.default.get({listKey:I,parentPath:this,parent:x,container:C,key:O}).setContext(L)):s.default.get({parentPath:this,parent:x,container:x,key:I}).setContext(L)}function T(I,L){let x=this;for(let C of I)x=C==="."?x.parentPath:Array.isArray(x)?x[C]:x.get(C,L);return x}},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.SHOULD_STOP=r.SHOULD_SKIP=r.REMOVED=void 0;var s=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/lib/virtual-types.js"),u=c("./node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/index.js"),H=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/index.js"),a=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/scope/index.js"),l=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),p=l,d=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/cache.js"),h=c("./node_modules/.pnpm/@babel+generator@7.25.7/node_modules/@babel/generator/lib/index.js"),m=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/ancestry.js"),g=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/inference/index.js"),y=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/replacement.js"),_=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/evaluation.js"),E=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/conversion.js"),A=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/introspection.js"),S=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/context.js"),T=S,I=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/removal.js"),L=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/modification.js"),x=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/family.js"),C=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/comments.js"),D=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js");let{validate:O}=l,j=u("babel"),k=(r.REMOVED=1,r.SHOULD_STOP=2,r.SHOULD_SKIP=4,r.default=class wme{constructor(F,P){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this.parent=P,this.hub=F,this.data=null,this.context=null,this.scope=null}get removed(){return(1&this._traverseFlags)>0}set removed(F){F?this._traverseFlags|=1:this._traverseFlags&=-2}get shouldStop(){return(2&this._traverseFlags)>0}set shouldStop(F){F?this._traverseFlags|=2:this._traverseFlags&=-3}get shouldSkip(){return(4&this._traverseFlags)>0}set shouldSkip(F){F?this._traverseFlags|=4:this._traverseFlags&=-5}static get({hub:F,parentPath:P,parent:W,container:Z,listKey:ee,key:J}){if(!F&&P&&(F=P.hub),!W)throw new Error("To get a node path the parent needs to exist");let ne=Z[J],K=d.getOrCreateCachedPaths(F,W),q=K.get(ne);return q||(q=new wme(F,W),ne&&K.set(ne,q)),S.setup.call(q,P,Z,ee,J),q}getScope(F){return this.isScope()?new a.default(this):F}setData(F,P){return this.data==null&&(this.data=Object.create(null)),this.data[F]=P}getData(F,P){this.data==null&&(this.data=Object.create(null));let W=this.data[F];return W===void 0&&P!==void 0&&(W=this.data[F]=P),W}hasNode(){return this.node!=null}buildCodeFrameError(F,P=SyntaxError){return this.hub.buildError(this.node,F,P)}traverse(F,P){(0,H.default)(this.node,F,this.scope,P,this)}set(F,P){O(this.node,F,P),this.node[F]=P}getPathLocation(){let F=[],P=this;do{let W=P.key;P.inList&&(W=`${P.listKey}[${W}]`),F.unshift(W)}while(P=P.parentPath);return F.join(".")}debug(F){j.enabled&&j(`${this.getPathLocation()} ${this.type}: ${F}`)}toString(){return(0,h.default)(this.node).code}get inList(){return!!this.listKey}set inList(F){F||(this.listKey=null)}get parentKey(){return this.listKey||this.key}}),$={findParent:m.findParent,find:m.find,getFunctionParent:m.getFunctionParent,getStatementParent:m.getStatementParent,getEarliestCommonAncestorFrom:m.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:m.getDeepestCommonAncestorFrom,getAncestry:m.getAncestry,isAncestor:m.isAncestor,isDescendant:m.isDescendant,inType:m.inType,getTypeAnnotation:g.getTypeAnnotation,isBaseType:g.isBaseType,couldBeBaseType:g.couldBeBaseType,baseTypeStrictlyMatches:g.baseTypeStrictlyMatches,isGenericType:g.isGenericType,replaceWithMultiple:y.replaceWithMultiple,replaceWithSourceString:y.replaceWithSourceString,replaceWith:y.replaceWith,replaceExpressionWithStatements:y.replaceExpressionWithStatements,replaceInline:y.replaceInline,evaluateTruthy:_.evaluateTruthy,evaluate:_.evaluate,toComputedKey:E.toComputedKey,ensureBlock:E.ensureBlock,unwrapFunctionEnvironment:E.unwrapFunctionEnvironment,arrowFunctionToExpression:E.arrowFunctionToExpression,splitExportDeclaration:E.splitExportDeclaration,ensureFunctionName:E.ensureFunctionName,matchesPattern:A.matchesPattern,isStatic:A.isStatic,isNodeType:A.isNodeType,canHaveVariableDeclarationOrExpression:A.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:A.canSwapBetweenExpressionAndStatement,isCompletionRecord:A.isCompletionRecord,isStatementOrBlock:A.isStatementOrBlock,referencesImport:A.referencesImport,getSource:A.getSource,willIMaybeExecuteBefore:A.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:A._guessExecutionStatusRelativeTo,resolve:A.resolve,isConstantExpression:A.isConstantExpression,isInStrictMode:A.isInStrictMode,isDenylisted:T.isDenylisted,visit:T.visit,skip:T.skip,skipKey:T.skipKey,stop:T.stop,setContext:T.setContext,requeue:T.requeue,requeueComputedKeyAndDecorators:T.requeueComputedKeyAndDecorators,remove:I.remove,insertBefore:L.insertBefore,insertAfter:L.insertAfter,unshiftContainer:L.unshiftContainer,pushContainer:L.pushContainer,getOpposite:x.getOpposite,getCompletionRecords:x.getCompletionRecords,getSibling:x.getSibling,getPrevSibling:x.getPrevSibling,getNextSibling:x.getNextSibling,getAllNextSiblings:x.getAllNextSiblings,getAllPrevSiblings:x.getAllPrevSiblings,get:x.get,getAssignmentIdentifiers:x.getAssignmentIdentifiers,getBindingIdentifiers:x.getBindingIdentifiers,getOuterBindingIdentifiers:x.getOuterBindingIdentifiers,getBindingIdentifierPaths:x.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:x.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:C.shareCommentsWithSiblings,addComment:C.addComment,addComments:C.addComments};Object.assign(k.prototype,$),k.prototype.arrowFunctionToShadowed=E.arrowFunctionToShadowed,Object.assign(k.prototype,{has:A.has,is:A.is,isnt:A.isnt,equals:A.equals,hoist:L.hoist,updateSiblingKeys:L.updateSiblingKeys,call:T.call,isBlacklisted:T.isBlacklisted,setScope:T.setScope,resync:T.resync,popContext:T.popContext,pushContext:T.pushContext,setup:T.setup,setKey:T.setKey}),k.prototype._guessExecutionStatusRelativeToDifferentFunctions=A._guessExecutionStatusRelativeTo,k.prototype._guessExecutionStatusRelativeToDifferentFunctions=A._guessExecutionStatusRelativeTo,Object.assign(k.prototype,{_getTypeAnnotation:g._getTypeAnnotation,_replaceWith:y._replaceWith,_resolve:A._resolve,_call:T._call,_resyncParent:T._resyncParent,_resyncKey:T._resyncKey,_resyncList:T._resyncList,_resyncRemoved:T._resyncRemoved,_getQueueContexts:T._getQueueContexts,_removeFromScope:I._removeFromScope,_callRemovalHooks:I._callRemovalHooks,_remove:I._remove,_markRemoved:I._markRemoved,_assertUnremoved:I._assertUnremoved,_containerInsert:L._containerInsert,_containerInsertBefore:L._containerInsertBefore,_containerInsertAfter:L._containerInsertAfter,_verifyNodeList:L._verifyNodeList,_getKey:x._getKey,_getPattern:x._getPattern});for(let U of p.TYPES){let F=`is${U}`,P=p[F];k.prototype[F]=function(W){return P(this.node,W)},k.prototype[`assert${U}`]=function(W){if(!P(this.node,W))throw new TypeError(`Expected node path of type ${U}`)}}Object.assign(k.prototype,D);for(let U of Object.keys(s))U[0]!=="_"&&(p.TYPES.includes(U)||p.TYPES.push(U))},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/inference/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._getTypeAnnotation=k,r.baseTypeStrictlyMatches=function(U){let F=this.getTypeAnnotation(),P=U.getTypeAnnotation();return!a(F)&&h(F)?P.type===F.type:!1},r.couldBeBaseType=function(U){let F=this.getTypeAnnotation();if(a(F))return!0;if(x(F)){for(let P of F.types)if(a(P)||$(U,P,!0))return!0;return!1}return $(U,F,!0)},r.getTypeAnnotation=function(){let U=this.getData("typeAnnotation");return U??(U=k.call(this)||H(),(L(U)||S(U))&&(U=U.typeAnnotation),this.setData("typeAnnotation",U),U)},r.isBaseType=function(U,F){return $(U,this.getTypeAnnotation(),F)},r.isGenericType=function(U){let F=this.getTypeAnnotation();return U==="Array"&&(A(F)||l(F)||I(F))?!0:m(F)&&g(F.id,{name:U})||T(F)&&g(F.typeName,{name:U})};var s=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/inference/inferers.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");let{anyTypeAnnotation:H,isAnyTypeAnnotation:a,isArrayTypeAnnotation:l,isBooleanTypeAnnotation:p,isEmptyTypeAnnotation:d,isFlowBaseAnnotation:h,isGenericTypeAnnotation:m,isIdentifier:g,isMixedTypeAnnotation:y,isNumberTypeAnnotation:_,isStringTypeAnnotation:E,isTSArrayType:A,isTSTypeAnnotation:S,isTSTypeReference:T,isTupleTypeAnnotation:I,isTypeAnnotation:L,isUnionTypeAnnotation:x,isVoidTypeAnnotation:C,stringTypeAnnotation:D,voidTypeAnnotation:O}=u,j=new WeakSet;function k(){let U=this.node;if(U){if(U.typeAnnotation)return U.typeAnnotation;if(!j.has(U)){j.add(U);try{var F;let P=s[U.type];if(P)return P.call(this,U);if(P=s[this.parentPath.type],(F=P)!=null&&F.validParent)return this.parentPath.getTypeAnnotation()}finally{j.delete(U)}}}else if(this.key==="init"&&this.parentPath.isVariableDeclarator()){let P=this.parentPath.parentPath,W=P.parentPath;return P.key==="left"&&W.isForInStatement()?D():P.key==="left"&&W.isForOfStatement()?H():O()}}function $(U,F,P){if(U==="string")return E(F);if(U==="number")return _(F);if(U==="boolean")return p(F);if(U==="any")return a(F);if(U==="mixed")return y(F);if(U==="empty")return d(F);if(U==="void")return C(F);if(P)return!1;throw new Error(`Unknown base type ${U}`)}},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(g){if(!this.isReferenced())return;let y=this.scope.getBinding(g.name);if(y)return y.identifier.typeAnnotation?y.identifier.typeAnnotation:function(_,E,A){let S=[],T=[],I=d(_,E,T),L=m(_,E,A);if(L){let x=d(_,L.ifStatement);I=I.filter(C=>!x.includes(C)),S.push(L.typeAnnotation)}if(I.length){I.push(...T);for(let x of I)S.push(x.getTypeAnnotation())}if(S.length)return(0,u.createUnionType)(S)}(y,this,g.name);if(g.name==="undefined")return p();if(g.name==="NaN"||g.name==="Infinity")return l();g.name};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/inference/util.js");let{BOOLEAN_NUMBER_BINARY_OPERATORS:H,createTypeAnnotationBasedOnTypeof:a,numberTypeAnnotation:l,voidTypeAnnotation:p}=s;function d(g,y,_){let E=g.constantViolations.slice();return E.unshift(g.path),E.filter(A=>{let S=(A=A.resolve())._guessExecutionStatusRelativeTo(y);return _&&S==="unknown"&&_.push(A),S==="before"})}function h(g,y){let _=y.node.operator,E=y.get("right").resolve(),A=y.get("left").resolve(),S,T,I;if(A.isIdentifier({name:g})?S=E:E.isIdentifier({name:g})&&(S=A),S)return _==="==="?S.getTypeAnnotation():H.includes(_)?l():void 0;if(_!=="==="&&_!=="=="||(A.isUnaryExpression({operator:"typeof"})?(T=A,I=E):E.isUnaryExpression({operator:"typeof"})&&(T=E,I=A),!T)||!T.get("argument").isIdentifier({name:g})||(I=I.resolve(),!I.isLiteral()))return;let L=I.node.value;return typeof L=="string"?a(L):void 0}function m(g,y,_){let E=function(T,I,L){let x;for(;x=I.parentPath;){if(x.isIfStatement()||x.isConditionalExpression())return I.key==="test"?void 0:x;if(x.isFunction()&&x.parentPath.scope.getBinding(L)!==T)return;I=x}}(g,y,_);if(!E)return;let A=[E.get("test")],S=[];for(let T=0;T<A.length;T++){let I=A[T];if(I.isLogicalExpression())I.node.operator==="&&"&&(A.push(I.get("left")),A.push(I.get("right")));else if(I.isBinaryExpression()){let L=h(_,I);L&&S.push(L)}}return S.length?{typeAnnotation:(0,u.createUnionType)(S),ifStatement:E}:m(g,E,_)}},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/inference/inferers.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ArrayExpression=k,r.AssignmentExpression=function(){return this.get("right").getTypeAnnotation()},r.BinaryExpression=function(ee){let J=ee.operator;if(p.includes(J))return T();if(a.includes(J))return y();if(J==="+"){let ne=this.get("right"),K=this.get("left");return K.isBaseType("number")&&ne.isBaseType("number")?T():K.isBaseType("string")||ne.isBaseType("string")?I():x([I(),T()])}},r.BooleanLiteral=function(){return y()},r.CallExpression=function(){let{callee:ee}=this.node;return F(ee)?g(I()):U(ee)||P(ee)||D(ee,{name:"Array"})?g(m()):W(ee)?g(L([I(),m()])):Z(this.get("callee"))},r.ConditionalExpression=function(){let ee=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,H.createUnionType)(ee)},r.ClassDeclaration=r.ClassExpression=r.FunctionDeclaration=r.ArrowFunctionExpression=r.FunctionExpression=function(){return E(A("Function"))},Object.defineProperty(r,"Identifier",{enumerable:!0,get:function(){return u.default}}),r.LogicalExpression=function(){let ee=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,H.createUnionType)(ee)},r.NewExpression=function(ee){if(ee.callee.type==="Identifier")return E(ee.callee)},r.NullLiteral=function(){return S()},r.NumericLiteral=function(){return T()},r.ObjectExpression=function(){return E(A("Object"))},r.ParenthesizedExpression=function(){return this.get("expression").getTypeAnnotation()},r.RegExpLiteral=function(){return E(A("RegExp"))},r.RestElement=$,r.SequenceExpression=function(){return this.get("expressions").pop().getTypeAnnotation()},r.StringLiteral=function(){return I()},r.TSAsExpression=j,r.TSNonNullExpression=function(){return this.get("expression").getTypeAnnotation()},r.TaggedTemplateExpression=function(){return Z(this.get("tag"))},r.TemplateLiteral=function(){return I()},r.TypeCastExpression=O,r.UnaryExpression=function(ee){let J=ee.operator;if(J==="void")return C();if(d.includes(J))return T();if(h.includes(J))return I();if(l.includes(J))return y()},r.UpdateExpression=function(ee){let J=ee.operator;if(J==="++"||J==="--")return T()},r.VariableDeclarator=function(){if(this.get("id").isIdentifier())return this.get("init").getTypeAnnotation()};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),u=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js"),H=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/inference/util.js");let{BOOLEAN_BINARY_OPERATORS:a,BOOLEAN_UNARY_OPERATORS:l,NUMBER_BINARY_OPERATORS:p,NUMBER_UNARY_OPERATORS:d,STRING_UNARY_OPERATORS:h,anyTypeAnnotation:m,arrayTypeAnnotation:g,booleanTypeAnnotation:y,buildMatchMemberExpression:_,genericTypeAnnotation:E,identifier:A,nullLiteralTypeAnnotation:S,numberTypeAnnotation:T,stringTypeAnnotation:I,tupleTypeAnnotation:L,unionTypeAnnotation:x,voidTypeAnnotation:C,isIdentifier:D}=s;function O(ee){return ee.typeAnnotation}function j(ee){return ee.typeAnnotation}function k(){return E(A("Array"))}function $(){return k()}O.validParent=!0,j.validParent=!0,$.validParent=!0;let U=_("Array.from"),F=_("Object.keys"),P=_("Object.values"),W=_("Object.entries");function Z(ee){if((ee=ee.resolve()).isFunction()){let{node:J}=ee;if(J.async)return J.generator?E(A("AsyncIterator")):E(A("Promise"));if(J.generator)return E(A("Iterator"));if(ee.node.returnType)return ee.node.returnType}}},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/inference/util.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createUnionType=function(d){if(d.every(h=>l(h)))return u?u(d):a(d);if(d.every(h=>p(h))&&H)return H(d)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");let{createFlowUnionType:u,createTSUnionType:H,createUnionTypeAnnotation:a,isFlowType:l,isTSType:p}=s},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/introspection.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._guessExecutionStatusRelativeTo=function(I){return S(this,I,new Map)},r._resolve=T,r.canHaveVariableDeclarationOrExpression=function(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()},r.canSwapBetweenExpressionAndStatement=function(I){return this.key!=="body"||!this.parentPath.isArrowFunctionExpression()?!1:this.isExpression()?a(I):this.isBlockStatement()?l(I):!1},r.getSource=function(){let I=this.node;if(I.end){let L=this.hub.getCode();if(L)return L.slice(I.start,I.end)}return""},r.isCompletionRecord=function(I){let L=this,x=!0;do{let{type:C,container:D}=L;if(!x&&(L.isFunction()||C==="StaticBlock"))return!!I;if(x=!1,Array.isArray(D)&&L.key!==D.length-1)return!1}while((L=L.parentPath)&&!L.isProgram()&&!L.isDoExpression());return!0},r.isConstantExpression=function(){if(this.isIdentifier()){let I=this.scope.getBinding(this.node.name);return!!I&&I.constant}if(this.isLiteral())return!this.isRegExpLiteral()&&(!this.isTemplateLiteral()||this.get("expressions").every(I=>I.isConstantExpression()));if(this.isUnaryExpression())return this.node.operator==="void"&&this.get("argument").isConstantExpression();if(this.isBinaryExpression()){let{operator:I}=this.node;return I!=="in"&&I!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return this.isMemberExpression()?!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0}):this.isCallExpression()?this.node.arguments.length===1&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral():!1},r.isInStrictMode=function(){return!!(this.isProgram()?this:this.parentPath).find(L=>{if(L.isProgram({sourceType:"module"})||L.isClass())return!0;if(L.isArrowFunctionExpression()&&!L.get("body").isBlockStatement())return!1;let x;if(L.isFunction())x=L.node.body;else{if(!L.isProgram())return!1;x=L.node}for(let C of x.directives)if(C.value.value==="use strict")return!0})},r.isNodeType=function(I){return m(this.type,I)},r.isStatementOrBlock=function(){return!this.parentPath.isLabeledStatement()&&!a(this.container)&&u.includes(this.key)},r.isStatic=function(){return this.scope.isStatic(this.node)},r.matchesPattern=function(I,L){return g(this.node,I,L)},r.referencesImport=function(I,L){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===L||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?h(this.node.property,{value:L}):this.node.property.name===L)){let O=this.get("object");return O.isReferencedIdentifier()&&O.referencesImport(I,"*")}return!1}let x=this.scope.getBinding(this.node.name);if(!x||x.kind!=="module")return!1;let C=x.path,D=C.parentPath;return!D.isImportDeclaration()||D.node.source.value!==I?!1:!!(!L||C.isImportDefaultSpecifier()&&L==="default"||C.isImportNamespaceSpecifier()&&L==="*"||C.isImportSpecifier()&&p(C.node.imported,{name:L}))},r.resolve=function(I,L){return T.call(this,I,L)||this},r.willIMaybeExecuteBefore=function(I){return this._guessExecutionStatusRelativeTo(I)!=="after"};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");let{STATEMENT_OR_BLOCK_KEYS:u,VISITOR_KEYS:H,isBlockStatement:a,isExpression:l,isIdentifier:p,isLiteral:d,isStringLiteral:h,isType:m,matchesPattern:g}=s;function y(I){return I.isProgram()?I:(I.parentPath.scope.getFunctionParent()||I.parentPath.scope.getProgramParent()).path}function _(I,L){switch(I){case"LogicalExpression":case"AssignmentPattern":return L==="right";case"ConditionalExpression":case"IfStatement":return L==="consequent"||L==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return L==="body";case"ForStatement":return L==="body"||L==="update";case"SwitchStatement":return L==="cases";case"TryStatement":return L==="handler";case"OptionalMemberExpression":return L==="property";case"OptionalCallExpression":return L==="arguments";default:return!1}}function E(I,L){for(let x=0;x<L;x++){let C=I[x];if(_(C.parent.type,C.parentKey))return!0}return!1}r.has=function(I){var L;let x=(L=this.node)==null?void 0:L[I];return x&&Array.isArray(x)?!!x.length:!!x},r.is=r.has,r.isnt=function(I){return!this.has(I)},r.equals=function(I,L){return this.node[I]===L};let A=Symbol();function S(I,L,x){let C={this:y(I),target:y(L)};if(C.target.node!==C.this.node)return function(F,P,W){let Z,ee=W.get(F.node);if(ee){if(Z=ee.get(P.node))return Z===A?"unknown":Z}else W.set(F.node,ee=new Map);ee.set(P.node,A);let J=function(ne,K,q){if(!K.isFunctionDeclaration())return S(ne,K,q)==="before"?"before":"unknown";if(K.parentPath.isExportDeclaration())return"unknown";let Q=K.scope.getBinding(K.node.id.name);if(!Q.references)return"before";let z=Q.referencePaths,ie;for(let _e of z){if(_e.find(be=>be.node===K.node))continue;if(_e.key!=="callee"||!_e.parentPath.isCallExpression())return"unknown";let He=S(ne,_e,q);if(ie&&ie!==He)return"unknown";ie=He}return ie}(F,P,W);return ee.set(P.node,J),J}(I,C.target,x);let D={target:L.getAncestry(),this:I.getAncestry()};if(D.target.includes(I))return"after";if(D.this.includes(L))return"before";let O,j={target:0,this:0};for(;!O&&j.this<D.this.length;){let F=D.this[j.this];j.target=D.target.indexOf(F),j.target>=0?O=F:j.this++}if(!O)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(E(D.this,j.this-1)||E(D.target,j.target-1))return"unknown";let k={this:D.this[j.this-1],target:D.target[j.target-1]};if(k.target.listKey&&k.this.listKey&&k.target.container===k.this.container)return k.target.key>k.this.key?"before":"after";let $=H[O.type],U=$.indexOf(k.this.parentKey);return $.indexOf(k.target.parentKey)>U?"before":"after"}function T(I,L){var x;if((x=L)==null||!x.includes(this))if((L=L||[]).push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(I,L)}else if(this.isReferencedIdentifier()){let C=this.scope.getBinding(this.node.name);if(!C||!C.constant||C.kind==="module")return;if(C.path!==this){let D=C.path.resolve(I,L);return this.find(O=>O.node===D.node)?void 0:D}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(I,L);if(I&&this.isMemberExpression()){let C=this.toComputedKey();if(!d(C))return;let D=C.value,O=this.get("object").resolve(I,L);if(O.isObjectExpression()){let j=O.get("properties");for(let k of j){if(!k.isProperty())continue;let $=k.get("key"),U=k.isnt("computed")&&$.isIdentifier({name:D});if(U=U||$.isLiteral({value:D}),U)return k.get("value").resolve(I,L)}}else if(O.isArrayExpression()&&!isNaN(+D)){let j=O.get("elements")[D];if(j)return j.resolve(I,L)}}}}},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/lib/hoister.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),u=s;let{react:H}=s,{cloneNode:a,jsxExpressionContainer:l,variableDeclaration:p,variableDeclarator:d}=u,h={ReferencedIdentifier(m,g){if(m.isJSXIdentifier()&&H.isCompatTag(m.node.name)&&!m.parentPath.isJSXMemberExpression())return;if(m.node.name==="this"){let _=m.scope;do if(_.path.isFunction()&&!_.path.isArrowFunctionExpression())break;while(_=_.parent);_&&g.breakOnScopePaths.push(_.path)}let y=m.scope.getBinding(m.node.name);if(y){for(let _ of y.constantViolations)if(_.scope!==y.path.scope)return g.mutableBinding=!0,void m.stop();y===g.scope.getBinding(m.node.name)&&(g.bindings[m.node.name]=y)}}};r.default=class{constructor(m,g){this.breakOnScopePaths=void 0,this.bindings=void 0,this.mutableBinding=void 0,this.scopes=void 0,this.scope=void 0,this.path=void 0,this.attachAfter=void 0,this.breakOnScopePaths=[],this.bindings={},this.mutableBinding=!1,this.scopes=[],this.scope=g,this.path=m,this.attachAfter=!1}isCompatibleScope(m){for(let g of Object.keys(this.bindings)){let y=this.bindings[g];if(!m.bindingIdentifierEquals(g,y.identifier))return!1}return!0}getCompatibleScopes(){let m=this.path.scope;do if(!this.isCompatibleScope(m)||(this.scopes.push(m),this.breakOnScopePaths.includes(m.path)))break;while(m=m.parent)}getAttachmentPath(){let m=this._getAttachmentPath();if(!m)return;let g=m.scope;if(g.path===m&&(g=m.scope.parent),g.path.isProgram()||g.path.isFunction())for(let y of Object.keys(this.bindings)){if(!g.hasOwnBinding(y))continue;let _=this.bindings[y];if(!(_.kind==="param"||_.path.parentKey==="params")&&this.getAttachmentParentForPath(_.path).key>=m.key){this.attachAfter=!0,m=_.path;for(let E of _.constantViolations)this.getAttachmentParentForPath(E).key>m.key&&(m=E)}}return m}_getAttachmentPath(){let m=this.scopes.pop();if(m){if(m.path.isFunction()){if(!this.hasOwnParamBindings(m))return this.getNextScopeAttachmentParent();{if(this.scope===m)return;let g=m.path.get("body").get("body");for(let y=0;y<g.length;y++)if(!g[y].node._blockHoist)return g[y]}}else if(m.path.isProgram())return this.getNextScopeAttachmentParent()}}getNextScopeAttachmentParent(){let m=this.scopes.pop();if(m)return this.getAttachmentParentForPath(m.path)}getAttachmentParentForPath(m){do if(!m.parentPath||Array.isArray(m.container)&&m.isStatement())return m;while(m=m.parentPath)}hasOwnParamBindings(m){for(let g of Object.keys(this.bindings)){if(!m.hasOwnBinding(g))continue;let y=this.bindings[g];if(y.kind==="param"&&y.constant)return!0}return!1}run(){if(this.path.traverse(h,this),this.mutableBinding)return;this.getCompatibleScopes();let m=this.getAttachmentPath();if(!m||m.getFunctionParent()===this.path.getFunctionParent())return;let g=m.scope.generateUidIdentifier("ref"),y=d(g,this.path.node),_=this.attachAfter?"insertAfter":"insertBefore",[E]=m[_]([m.isVariableDeclarator()?y:p("var",[y])]),A=this.path.parentPath;return A.isJSXElement()&&this.path.container===A.node.children&&(g=l(g)),this.path.replaceWith(a(g)),m.isVariableDeclarator()?E.get("init"):E.get("declarations.0.init")}}},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.hooks=void 0,r.hooks=[function(c,s){if(c.key==="test"&&(s.isWhile()||s.isSwitchCase())||c.key==="declaration"&&s.isExportDeclaration()||c.key==="body"&&s.isLabeledStatement()||c.listKey==="declarations"&&s.isVariableDeclaration()&&s.node.declarations.length===1||c.key==="expression"&&s.isExpressionStatement())return s.remove(),!0},function(c,s){if(s.isSequenceExpression()&&s.node.expressions.length===1)return s.replaceWith(s.node.expressions[0]),!0},function(c,s){if(s.isBinary())return c.key==="left"?s.replaceWith(s.node.right):s.replaceWith(s.node.left),!0},function(c,s){if(s.isIfStatement()&&c.key==="consequent"||c.key==="body"&&(s.isLoop()||s.isArrowFunctionExpression()))return c.replaceWith({type:"BlockStatement",body:[]}),!0}]},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isBindingIdentifier=function(){let{node:k,parent:$}=this,U=this.parentPath.parent;return m(k)&&u(k,$,U)},r.isBlockScoped=function(){return H(this.node)},r.isExpression=function(){return this.isIdentifier()?this.isReferencedIdentifier():l(this.node)},r.isFlow=function(){let{node:k}=this;return!!p(k)||(g(k)?k.importKind==="type"||k.importKind==="typeof":a(k)?k.exportKind==="type":!!y(k)&&(k.importKind==="type"||k.importKind==="typeof"))},r.isForAwaitStatement=function(){return O(this.node,{await:!0})},r.isGenerated=function(){return!this.isUser()},r.isPure=function(k){return this.scope.isPure(this.node,k)},r.isReferenced=function(){return T(this.node,this.parent)},r.isReferencedIdentifier=function(k){let{node:$,parent:U}=this;return!m($,k)&&!E(U,k)&&(!_($,k)||j($.name))?!1:T($,U,this.parentPath.parent)},r.isReferencedMemberExpression=function(){let{node:k,parent:$}=this;return A(k)&&T(k,$)},r.isRestProperty=function(){var k;return S(this.node)&&((k=this.parentPath)==null?void 0:k.isObjectPattern())},r.isScope=function(){return I(this.node,this.parent)},r.isSpreadProperty=function(){var k;return S(this.node)&&((k=this.parentPath)==null?void 0:k.isObjectExpression())},r.isStatement=function(){let{node:k,parent:$}=this;return L(k)?!(C(k)&&(h($,{left:k})||d($,{init:k}))):!1},r.isUser=function(){return this.node&&!!this.node.loc},r.isVar=function(){return x(this.node)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");let{isBinding:u,isBlockScoped:H,isExportDeclaration:a,isExpression:l,isFlow:p,isForStatement:d,isForXStatement:h,isIdentifier:m,isImportDeclaration:g,isImportSpecifier:y,isJSXIdentifier:_,isJSXMemberExpression:E,isMemberExpression:A,isRestElement:S,isReferenced:T,isScope:I,isStatement:L,isVar:x,isVariableDeclaration:C,react:D,isForOfStatement:O}=s,{isCompatTag:j}=D;r.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},r.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/lib/virtual-types.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Var=r.User=r.Statement=r.SpreadProperty=r.Scope=r.RestProperty=r.ReferencedMemberExpression=r.ReferencedIdentifier=r.Referenced=r.Pure=r.NumericLiteralTypeAnnotation=r.Generated=r.ForAwaitStatement=r.Flow=r.Expression=r.ExistentialTypeParam=r.BlockScoped=r.BindingIdentifier=void 0,r.ReferencedIdentifier=["Identifier","JSXIdentifier"],r.ReferencedMemberExpression=["MemberExpression"],r.BindingIdentifier=["Identifier"],r.Statement=["Statement"],r.Expression=["Expression"],r.Scope=["Scopable","Pattern"],r.Referenced=null,r.BlockScoped=null,r.Var=["VariableDeclaration"],r.User=null,r.Generated=null,r.Pure=null,r.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],r.RestProperty=["RestElement"],r.SpreadProperty=["RestElement"],r.ExistentialTypeParam=["ExistsTypeAnnotation"],r.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],r.ForAwaitStatement=["ForOfStatement"]},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/modification.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._containerInsert=O,r._containerInsertAfter=k,r._containerInsertBefore=j,r._verifyNodeList=P,r.insertAfter=function(W){if(l._assertUnremoved.call(this),this.isSequenceExpression())return $(this.get("expressions")).insertAfter(W);let Z=P.call(this,W),{parentPath:ee,parent:J}=this;if(ee.isExpressionStatement()||ee.isLabeledStatement()||T(J)||ee.isExportDefaultDeclaration()&&this.isDeclaration())return ee.insertAfter(Z.map(ne=>I(ne)?E(ne):ne));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!ee.isJSXElement()||ee.isForStatement()&&this.key==="init"){let ne=this;if(ne.node){let K=ne.node,{scope:q}=this;if(q.path.isPattern())return h(K),ne.replaceWith(y(d([],K),[])),ne.get("callee.body").insertAfter(Z),[ne];if(U(ne))Z.unshift(K);else if(S(K)&&C(K.callee))Z.unshift(K),Z.push(D());else if(function(Q,z){if(!A(Q)||!L(Q.left))return!1;let ie=z.getBlockParent();return ie.hasOwnBinding(Q.left.name)&&ie.getOwnBinding(Q.left.name).constantViolations.length<=1}(K,q))Z.unshift(K),Z.push(_(K.left));else if(q.isPure(K,!0))Z.push(K);else{ee.isMethod({computed:!0,key:K})&&(q=q.parent);let Q=q.generateDeclaredUidIdentifier();Z.unshift(E(m("=",_(Q),K))),Z.push(E(_(Q)))}}return this.replaceExpressionWithStatements(Z)}if(Array.isArray(this.container))return k.call(this,Z);if(this.isStatementOrBlock()){let ne=this.node,K=ne&&(!this.isExpressionStatement()||ne.expression!=null);return this.replaceWith(g(K?[ne]:[])),this.pushContainer("body",Z)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},r.insertBefore=function(W){l._assertUnremoved.call(this);let Z=P.call(this,W),{parentPath:ee,parent:J}=this;if(ee.isExpressionStatement()||ee.isLabeledStatement()||T(J)||ee.isExportDefaultDeclaration()&&this.isDeclaration())return ee.insertBefore(Z);if(this.isNodeType("Expression")&&!this.isJSXElement()||ee.isForStatement()&&this.key==="init")return this.node&&Z.push(this.node),this.replaceExpressionWithStatements(Z);if(Array.isArray(this.container))return j.call(this,Z);if(this.isStatementOrBlock()){let ne=this.node,K=ne&&(!this.isExpressionStatement()||ne.expression!=null);return this.replaceWith(g(K?[ne]:[])),this.unshiftContainer("body",Z)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},r.pushContainer=function(W,Z){l._assertUnremoved.call(this);let ee=P.call(this,Z),J=this.node[W];return H.default.get({parentPath:this,parent:this.node,container:J,listKey:W,key:J.length}).setContext(this.context).replaceWithMultiple(ee)},r.unshiftContainer=function(W,Z){l._assertUnremoved.call(this),Z=P.call(this,Z);let ee=H.default.get({parentPath:this,parent:this.node,container:this.node[W],listKey:W,key:0}).setContext(this.context);return j.call(ee,Z)},r.updateSiblingKeys=F;var s=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/cache.js"),u=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/lib/hoister.js"),H=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/index.js"),a=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/context.js"),l=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/removal.js"),p=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");let{arrowFunctionExpression:d,assertExpression:h,assignmentExpression:m,blockStatement:g,callExpression:y,cloneNode:_,expressionStatement:E,isAssignmentExpression:A,isCallExpression:S,isExportNamedDeclaration:T,isExpression:I,isIdentifier:L,isSequenceExpression:x,isSuper:C,thisExpression:D}=p;function O(W,Z){F.call(this,W,Z.length);let ee=[];this.container.splice(W,0,...Z);for(let K=0;K<Z.length;K++){var J;let q=W+K,Q=this.getSibling(q);ee.push(Q),(J=this.context)!=null&&J.queue&&a.pushContext.call(Q,this.context)}let ne=a._getQueueContexts.call(this);for(let K of ee){a.setScope.call(K),K.debug("Inserted.");for(let q of ne)q.maybeQueue(K,!0)}return ee}function j(W){return O.call(this,this.key,W)}function k(W){return O.call(this,this.key+1,W)}let $=W=>W[W.length-1];function U(W){return x(W.parent)&&($(W.parent.expressions)!==W.node||U(W.parentPath))}function F(W,Z){if(!this.parent)return;let ee=(0,s.getCachedPaths)(this.hub,this.parent)||[];for(let[,J]of ee)typeof J.key=="number"&&J.container===this.container&&J.key>=W&&(J.key+=Z)}function P(W){if(!W)return[];Array.isArray(W)||(W=[W]);for(let Z=0;Z<W.length;Z++){let ee=W[Z],J;if(ee?typeof ee!="object"?J="contains a non-object node":ee.type?ee instanceof H.default&&(J="has a NodePath when it expected a raw object"):J="without a type":J="has falsy node",J){let ne=Array.isArray(ee)?"array":typeof ee;throw new Error(`Node list ${J} with the index of ${Z} and type of ${ne}`)}}return W}r.hoist=function(W=this.scope){return new u.default(this,W).run()}},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/removal.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._assertUnremoved=E,r._callRemovalHooks=g,r._markRemoved=_,r._remove=y,r._removeFromScope=m,r.remove=function(){var A;if(E.call(this),d.resync.call(this),g.call(this))return void _.call(this);(A=this.opts)!=null&&A.noScope||m.call(this),this.shareCommentsWithSiblings(),y.call(this),_.call(this)};var s=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js"),u=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/cache.js"),H=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/replacement.js"),a=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/index.js"),l=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),p=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/modification.js"),d=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/context.js");let{getBindingIdentifiers:h}=l;function m(){let A=h(this.node,!1,!1,!0);Object.keys(A).forEach(S=>this.scope.removeBinding(S))}function g(){if(this.parentPath){for(let A of s.hooks)if(A(this,this.parentPath))return!0}}function y(){Array.isArray(this.container)?(this.container.splice(this.key,1),p.updateSiblingKeys.call(this,this.key,-1)):H._replaceWith.call(this,null)}function _(){this._traverseFlags|=a.SHOULD_SKIP|a.REMOVED,this.parent&&(0,u.getCachedPaths)(this.hub,this.parent).delete(this.node),this.node=null}function E(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/replacement.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._replaceWith=z,r.replaceExpressionWithStatements=function(_e){h.resync.call(this);let He=[],be=ie(_e,He);if(be){for(let he of He)this.scope.push({id:he});return this.replaceWith(be)[0].get("expressions")}let Ve=this.getFunctionParent(),Fe=Ve?.node.async,me=Ve?.node.generator,ce=g([],E(_e));this.replaceWith(S(ce,[]));let ke=this.get("callee");ke.get("body").scope.hoistVariables(he=>this.scope.push({id:he}));let je=ke.getCompletionRecords();for(let he of je){if(!he.isExpressionStatement())continue;let se=he.findParent(Ie=>Ie.isLoop());if(se){let Ie=se.getData("expressionReplacementReturnUid");Ie?Ie=C(Ie.name):(Ie=ke.scope.generateDeclaredUidIdentifier("ret"),ke.get("body").pushContainer("body",ne(T(Ie))),se.setData("expressionReplacementReturnUid",Ie)),he.get("expression").replaceWith(y("=",T(Ie),he.node.expression))}else he.replaceWith(ne(he.node.expression))}ke.arrowFunctionToExpression();let Oe=ke,re=Fe&&u.default.hasType(this.get("callee.body").node,"AwaitExpression",m),fe=me&&u.default.hasType(this.get("callee.body").node,"YieldExpression",m);return re&&(Oe.set("async",!0),fe||this.replaceWith(_(this.node))),fe&&(Oe.set("generator",!0),this.replaceWith(Q(this.node,!0))),Oe.get("body.body")},r.replaceInline=function(_e){if(h.resync.call(this),Array.isArray(_e)){if(Array.isArray(this.container)){_e=l._verifyNodeList.call(this,_e);let He=l._containerInsertAfter.call(this,_e);return this.remove(),He}return this.replaceWithMultiple(_e)}return this.replaceWith(_e)},r.replaceWith=function(_e){if(h.resync.call(this),this.removed)throw new Error("You can't replace this node, we've already removed it");let He=_e instanceof H.default?_e.node:_e;if(!He)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===He)return[this];if(this.isProgram()&&!W(He))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(He))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if(typeof He=="string")throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let be="";if(this.isNodeType("Statement")&&U(He)&&(this.canHaveVariableDeclarationOrExpression()||this.canSwapBetweenExpressionAndStatement(He)||this.parentPath.isExportDefaultDeclaration()||(He=L(He),be="expression")),this.isNodeType("Expression")&&Z(He)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(He))return this.replaceExpressionWithStatements([He]);let Ve=this.node;return Ve&&(j(He,Ve),J(Ve)),z.call(this,He),this.type=He.type,h.setScope.call(this),this.requeue(),[be?this.get(be):this]},r.replaceWithMultiple=function(_e){var He;h.resync.call(this),_e=l._verifyNodeList.call(this,_e),D(_e[0],this.node),O(_e[_e.length-1],this.node),(He=(0,a.getCachedPaths)(this.hub,this.parent))==null||He.delete(this.node),this.node=this.container[this.key]=null;let be=this.insertAfter(_e);return this.node?this.requeue():this.remove(),be},r.replaceWithSourceString=function(_e){let He;h.resync.call(this);try{_e=`(${_e})`,He=(0,p.parse)(_e)}catch(Ve){let Fe=Ve.loc;throw Fe&&(Ve.message+=` - make sure this is an expression.
|
|
`+(0,s.codeFrameColumns)(_e,{start:{line:Fe.line,column:Fe.column+1}}),Ve.code="BABEL_REPLACE_SOURCE_ERROR"),Ve}let be=He.program.body[0].expression;return u.default.removeProperties(be),this.replaceWith(be)};var s=c("./stubs/babel-codeframe.mjs"),u=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/index.js"),H=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/index.js"),a=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/cache.js"),l=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/modification.js"),p=c("./node_modules/.pnpm/@babel+parser@7.25.7/node_modules/@babel/parser/lib/index.js"),d=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),h=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/context.js");let{FUNCTION_TYPES:m,arrowFunctionExpression:g,assignmentExpression:y,awaitExpression:_,blockStatement:E,buildUndefinedNode:A,callExpression:S,cloneNode:T,conditionalExpression:I,expressionStatement:L,getBindingIdentifiers:x,identifier:C,inheritLeadingComments:D,inheritTrailingComments:O,inheritsComments:j,isBlockStatement:k,isEmptyStatement:$,isExpression:U,isExpressionStatement:F,isIfStatement:P,isProgram:W,isStatement:Z,isVariableDeclaration:ee,removeComments:J,returnStatement:ne,sequenceExpression:K,validate:q,yieldExpression:Q}=d;function z(_e){var He;if(!this.container)throw new ReferenceError("Container is falsy");this.inList?q(this.parent,this.key,[_e]):q(this.parent,this.key,_e),this.debug(`Replace with ${_e?.type}`),(He=(0,a.getCachedPaths)(this.hub,this.parent))==null||He.set(_e,this).delete(this.node),this.node=this.container[this.key]=_e}function ie(_e,He){let be=[],Ve=!0;for(let Fe of _e)if($(Fe)||(Ve=!1),U(Fe))be.push(Fe);else if(F(Fe))be.push(Fe.expression);else if(ee(Fe)){if(Fe.kind!=="var")return;for(let me of Fe.declarations){let ce=x(me);for(let ke of Object.keys(ce))He.push(T(ce[ke]));me.init&&be.push(y("=",me.id,me.init))}Ve=!0}else if(P(Fe)){let me=Fe.consequent?ie([Fe.consequent],He):A(),ce=Fe.alternate?ie([Fe.alternate],He):A();if(!me||!ce)return;be.push(I(Fe.test,me,ce))}else if(k(Fe)){let me=ie(Fe.body,He);if(!me)return;be.push(me)}else{if(!$(Fe))return;_e.indexOf(Fe)===0&&(Ve=!0)}return Ve&&be.push(A()),be.length===1?be[0]:K(be)}},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/scope/binding.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=class{constructor({identifier:c,scope:s,path:u,kind:H}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=c,this.scope=s,this.path=u,this.kind=H,H!=="var"&&H!=="hoisted"||!function(a){for(let{parentPath:l,key:p}=a;l;{parentPath:l,key:p}=l){if(l.isFunctionParent())return!1;if(l.isWhile()||l.isForXStatement()||l.isForStatement()&&p==="body")return!0}return!1}(u)||this.reassign(u),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(c){this.hasDeoptedValue||(this.hasValue=!0,this.value=c)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(c){this.constant=!1,this.constantViolations.includes(c)||this.constantViolations.push(c)}reference(c){this.referencePaths.includes(c)||(this.referenced=!0,this.references++,this.referencePaths.push(c))}dereference(){this.references--,this.referenced=!!this.references}}},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/scope/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/scope/lib/renamer.js"),u=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/index.js"),H=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/scope/binding.js"),a=c("./node_modules/.pnpm/globals@11.12.0/node_modules/globals/index.js"),l=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),p=l,d=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/cache.js"),h=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/visitors.js");let{NOT_LOCAL_BINDING:m,assignmentExpression:g,callExpression:y,cloneNode:_,getBindingIdentifiers:E,identifier:A,isArrayExpression:S,isBinary:T,isCallExpression:I,isClass:L,isClassBody:x,isClassDeclaration:C,isExportAllDeclaration:D,isExportDefaultDeclaration:O,isExportNamedDeclaration:j,isFunctionDeclaration:k,isIdentifier:$,isImportDeclaration:U,isLiteral:F,isMemberExpression:P,isMethod:W,isModuleSpecifier:Z,isNullLiteral:ee,isObjectExpression:J,isProperty:ne,isPureish:K,isRegExpLiteral:q,isSuper:Q,isTaggedTemplateExpression:z,isTemplateLiteral:ie,isThisExpression:_e,isUnaryExpression:He,isVariableDeclaration:be,expressionStatement:Ve,matchesPattern:Fe,memberExpression:me,numericLiteral:ce,toIdentifier:ke,variableDeclaration:je,variableDeclarator:Oe,isRecordExpression:re,isTupleExpression:fe,isObjectProperty:he,isTopicReference:se,isMetaProperty:Ie,isPrivateName:ye,isExportDeclaration:$e,buildUndefinedNode:nt,sequenceExpression:et}=l;function xe(Ae,de){switch(Ae?.type){default:var We;if(U(Ae)||$e(Ae))if((D(Ae)||j(Ae)||U(Ae))&&Ae.source)xe(Ae.source,de);else if((j(Ae)||U(Ae))&&(We=Ae.specifiers)!=null&&We.length)for(let tt of Ae.specifiers)xe(tt,de);else(O(Ae)||j(Ae))&&Ae.declaration&&xe(Ae.declaration,de);else Z(Ae)?xe(Ae.local,de):!F(Ae)||ee(Ae)||q(Ae)||ie(Ae)||de.push(Ae.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":xe(Ae.object,de),xe(Ae.property,de);break;case"Identifier":case"JSXIdentifier":de.push(Ae.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":xe(Ae.callee,de);break;case"ObjectExpression":case"ObjectPattern":for(let tt of Ae.properties)xe(tt,de);break;case"SpreadElement":case"RestElement":case"UnaryExpression":case"UpdateExpression":xe(Ae.argument,de);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":xe(Ae.key,de);break;case"ThisExpression":de.push("this");break;case"Super":de.push("super");break;case"Import":de.push("import");break;case"DoExpression":de.push("do");break;case"YieldExpression":de.push("yield"),xe(Ae.argument,de);break;case"AwaitExpression":de.push("await"),xe(Ae.argument,de);break;case"AssignmentExpression":xe(Ae.left,de);break;case"VariableDeclarator":case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":xe(Ae.id,de);break;case"ParenthesizedExpression":xe(Ae.expression,de);break;case"MetaProperty":xe(Ae.meta,de),xe(Ae.property,de);break;case"JSXElement":xe(Ae.openingElement,de);break;case"JSXOpeningElement":xe(Ae.name,de);break;case"JSXFragment":xe(Ae.openingFragment,de);break;case"JSXOpeningFragment":de.push("Fragment");break;case"JSXNamespacedName":xe(Ae.namespace,de),xe(Ae.name,de)}}let pe={ForStatement(Ae){let de=Ae.get("init");if(de.isVar()){let{scope:We}=Ae;(We.getFunctionParent()||We.getProgramParent()).registerBinding("var",de)}},Declaration(Ae){Ae.isBlockScoped()||Ae.isImportDeclaration()||Ae.isExportDeclaration()||(Ae.scope.getFunctionParent()||Ae.scope.getProgramParent()).registerDeclaration(Ae)},ImportDeclaration(Ae){Ae.scope.getBlockParent().registerDeclaration(Ae)},ReferencedIdentifier(Ae,de){de.references.push(Ae)},ForXStatement(Ae,de){let We=Ae.get("left");if(We.isPattern()||We.isIdentifier())de.constantViolations.push(Ae);else if(We.isVar()){let{scope:tt}=Ae;(tt.getFunctionParent()||tt.getProgramParent()).registerBinding("var",We)}},ExportDeclaration:{exit(Ae){let{node:de,scope:We}=Ae;if(D(de))return;let tt=de.declaration;if(C(tt)||k(tt)){let mt=tt.id;if(!mt)return;let At=We.getBinding(mt.name);At?.reference(Ae)}else if(be(tt))for(let mt of tt.declarations)for(let At of Object.keys(E(mt))){let pt=We.getBinding(At);pt?.reference(Ae)}}},LabeledStatement(Ae){Ae.scope.getBlockParent().registerDeclaration(Ae)},AssignmentExpression(Ae,de){de.assignments.push(Ae)},UpdateExpression(Ae,de){de.constantViolations.push(Ae)},UnaryExpression(Ae,de){Ae.node.operator==="delete"&&de.constantViolations.push(Ae)},BlockScoped(Ae){let de=Ae.scope;if(de.path===Ae&&(de=de.parent),de.getBlockParent().registerDeclaration(Ae),Ae.isClassDeclaration()&&Ae.node.id){let We=Ae.node.id.name;Ae.scope.bindings[We]=Ae.scope.parent.getBinding(We)}},CatchClause(Ae){Ae.scope.registerBinding("let",Ae)},Function(Ae){let de=Ae.get("params");for(let We of de)Ae.scope.registerBinding("param",We);Ae.isFunctionExpression()&&Ae.node.id&&!Ae.node.id[m]&&Ae.scope.registerBinding("local",Ae.get("id"),Ae)},ClassExpression(Ae){Ae.node.id&&!Ae.node.id[m]&&Ae.scope.registerBinding("local",Ae.get("id"),Ae)},TSTypeAnnotation(Ae){Ae.skip()}},ue=0;class Se{constructor(de){this.uid=void 0,this.path=void 0,this.block=void 0,this.inited=void 0,this.labels=void 0,this.bindings=void 0,this.references=void 0,this.globals=void 0,this.uids=void 0,this.data=void 0,this.crawling=void 0;let{node:We}=de,tt=d.scope.get(We);if(tt?.path===de)return tt;d.scope.set(We,this),this.uid=ue++,this.block=We,this.path=de,this.labels=new Map,this.inited=!1}get parent(){var de;let We,tt=this.path;do{var mt;let At=tt.key==="key"||tt.listKey==="decorators";tt=tt.parentPath,At&&tt.isMethod()&&(tt=tt.parentPath),(mt=tt)!=null&&mt.isScope()&&(We=tt)}while(tt&&!We);return(de=We)==null?void 0:de.scope}generateDeclaredUidIdentifier(de){let We=this.generateUidIdentifier(de);return this.push({id:We}),_(We)}generateUidIdentifier(de){return A(this.generateUid(de))}generateUid(de="temp"){let We;de=ke(de).replace(/^_+/,"").replace(/\d+$/g,"");let tt=1;do We=`_${de}`,tt>1&&(We+=tt),tt++;while(this.hasLabel(We)||this.hasBinding(We)||this.hasGlobal(We)||this.hasReference(We));let mt=this.getProgramParent();return mt.references[We]=!0,mt.uids[We]=!0,We}generateUidBasedOnNode(de,We){let tt=[];xe(de,tt);let mt=tt.join("$");return mt=mt.replace(/^_/,"")||We||"ref",this.generateUid(mt.slice(0,20))}generateUidIdentifierBasedOnNode(de,We){return A(this.generateUidBasedOnNode(de,We))}isStatic(de){if(_e(de)||Q(de)||se(de))return!0;if($(de)){let We=this.getBinding(de.name);return We?We.constant:this.hasBinding(de.name)}return!1}maybeGenerateMemoised(de,We){if(this.isStatic(de))return null;{let tt=this.generateUidIdentifierBasedOnNode(de);return We?tt:(this.push({id:tt}),_(tt))}}checkBlockScopedCollisions(de,We,tt,mt){if(We!=="param"&&de.kind!=="local"&&(We==="let"||de.kind==="let"||de.kind==="const"||de.kind==="module"||de.kind==="param"&&We==="const"))throw this.path.hub.buildError(mt,`Duplicate declaration "${tt}"`,TypeError)}rename(de,We){let tt=this.getBinding(de);tt&&(We||(We=this.generateUidIdentifier(de).name),new s.default(tt,de,We).rename(arguments[2]))}dump(){let de="-".repeat(60);console.log(de);let We=this;do{console.log("#",We.block.type);for(let tt of Object.keys(We.bindings)){let mt=We.bindings[tt];console.log(" -",tt,{constant:mt.constant,references:mt.references,violations:mt.constantViolations.length,kind:mt.kind})}}while(We=We.parent);console.log(de)}hasLabel(de){return!!this.getLabel(de)}getLabel(de){return this.labels.get(de)}registerLabel(de){this.labels.set(de.node.label.name,de)}registerDeclaration(de){if(de.isLabeledStatement())this.registerLabel(de);else if(de.isFunctionDeclaration())this.registerBinding("hoisted",de.get("id"),de);else if(de.isVariableDeclaration()){let We=de.get("declarations"),{kind:tt}=de.node;for(let mt of We)this.registerBinding(tt==="using"||tt==="await using"?"const":tt,mt)}else if(de.isClassDeclaration()){if(de.node.declare)return;this.registerBinding("let",de)}else if(de.isImportDeclaration()){let We=de.node.importKind==="type"||de.node.importKind==="typeof",tt=de.get("specifiers");for(let mt of tt){let At=We||mt.isImportSpecifier()&&(mt.node.importKind==="type"||mt.node.importKind==="typeof");this.registerBinding(At?"unknown":"module",mt)}}else if(de.isExportDeclaration()){let We=de.get("declaration");(We.isClassDeclaration()||We.isFunctionDeclaration()||We.isVariableDeclaration())&&this.registerDeclaration(We)}else this.registerBinding("unknown",de)}buildUndefinedNode(){return nt()}registerConstantViolation(de){let We=de.getAssignmentIdentifiers();for(let mt of Object.keys(We)){var tt;(tt=this.getBinding(mt))==null||tt.reassign(de)}}registerBinding(de,We,tt=We){if(!de)throw new ReferenceError("no `kind`");if(We.isVariableDeclaration()){let pt=We.get("declarations");for(let Nt of pt)this.registerBinding(de,Nt);return}let mt=this.getProgramParent(),At=We.getOuterBindingIdentifiers(!0);for(let pt of Object.keys(At)){mt.references[pt]=!0;for(let Nt of At[pt]){let Ce=this.getOwnBinding(pt);if(Ce){if(Ce.identifier===Nt)continue;this.checkBlockScopedCollisions(Ce,de,pt,Nt)}Ce?Ce.reassign(tt):this.bindings[pt]=new H.default({identifier:Nt,scope:this,path:tt,kind:de})}}}addGlobal(de){this.globals[de.name]=de}hasUid(de){let We=this;do if(We.uids[de])return!0;while(We=We.parent);return!1}hasGlobal(de){let We=this;do if(We.globals[de])return!0;while(We=We.parent);return!1}hasReference(de){return!!this.getProgramParent().references[de]}isPure(de,We){if($(de)){let pt=this.getBinding(de.name);return!!pt&&(!We||pt.constant)}if(_e(de)||Ie(de)||se(de)||ye(de))return!0;var tt,mt,At;if(L(de))return!(de.superClass&&!this.isPure(de.superClass,We))&&!(((tt=de.decorators)==null?void 0:tt.length)>0)&&this.isPure(de.body,We);if(x(de)){for(let pt of de.body)if(!this.isPure(pt,We))return!1;return!0}if(T(de))return this.isPure(de.left,We)&&this.isPure(de.right,We);if(S(de)||fe(de)){for(let pt of de.elements)if(pt!==null&&!this.isPure(pt,We))return!1;return!0}if(J(de)||re(de)){for(let pt of de.properties)if(!this.isPure(pt,We))return!1;return!0}if(W(de))return!(de.computed&&!this.isPure(de.key,We))&&!(((mt=de.decorators)==null?void 0:mt.length)>0);if(ne(de))return!(de.computed&&!this.isPure(de.key,We))&&!(((At=de.decorators)==null?void 0:At.length)>0)&&!((he(de)||de.static)&&de.value!==null&&!this.isPure(de.value,We));if(He(de))return this.isPure(de.argument,We);if(ie(de)){for(let pt of de.expressions)if(!this.isPure(pt,We))return!1;return!0}return z(de)?Fe(de.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(de.quasi,We):P(de)?!de.computed&&$(de.object)&&de.object.name==="Symbol"&&$(de.property)&&de.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:!0}):I(de)?Fe(de.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&de.arguments.length===1&&p.isStringLiteral(de.arguments[0]):K(de)}setData(de,We){return this.data[de]=We}getData(de){let We=this;do{let tt=We.data[de];if(tt!=null)return tt}while(We=We.parent)}removeData(de){let We=this;do We.data[de]!=null&&(We.data[de]=null);while(We=We.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){let de=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);let We=this.getProgramParent();if(We.crawling)return;let tt={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,de.type!=="Program"&&(0,h.isExplodedVisitor)(pe)){for(let At of pe.enter)At.call(tt,de,tt);let mt=pe[de.type];if(mt)for(let At of mt.enter)At.call(tt,de,tt)}de.traverse(pe,tt),this.crawling=!1;for(let mt of tt.assignments){let At=mt.getAssignmentIdentifiers();for(let pt of Object.keys(At))mt.scope.getBinding(pt)||We.addGlobal(At[pt]);mt.scope.registerConstantViolation(mt)}for(let mt of tt.references){let At=mt.scope.getBinding(mt.node.name);At?At.reference(mt):We.addGlobal(mt.node)}for(let mt of tt.constantViolations)mt.scope.registerConstantViolation(mt)}push(de){let We=this.path;We.isPattern()?We=this.getPatternParent().path:We.isBlockStatement()||We.isProgram()||(We=this.getBlockParent().path),We.isSwitchStatement()&&(We=(this.getFunctionParent()||this.getProgramParent()).path);let{init:tt,unique:mt,kind:At="var",id:pt}=de;if(!tt&&!mt&&(At==="var"||At==="let")&&We.isFunction()&&!We.node.name&&I(We.parent,{callee:We.node})&&We.parent.arguments.length<=We.node.params.length&&$(pt))return We.pushContainer("params",pt),void We.scope.registerBinding("param",We.get("params")[We.node.params.length-1]);(We.isLoop()||We.isCatchClause()||We.isFunction())&&(We.ensureBlock(),We=We.get("body"));let Nt=de._blockHoist==null?2:de._blockHoist,Ce=`declaration:${At}:${Nt}`,qe=!mt&&We.getData(Ce);if(!qe){let Pe=je(At,[]);Pe._blockHoist=Nt,[qe]=We.unshiftContainer("body",[Pe]),mt||We.setData(Ce,qe)}let ot=Oe(pt,tt),Ze=qe.node.declarations.push(ot);We.scope.registerBinding(At,qe.get("declarations")[Ze-1])}getProgramParent(){let de=this;do if(de.path.isProgram())return de;while(de=de.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let de=this;do if(de.path.isFunctionParent())return de;while(de=de.parent);return null}getBlockParent(){let de=this;do if(de.path.isBlockParent())return de;while(de=de.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let de=this;do if(!de.path.isPattern())return de.getBlockParent();while(de=de.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){let de=Object.create(null),We=this;do{for(let tt of Object.keys(We.bindings))!(tt in de)&&(de[tt]=We.bindings[tt]);We=We.parent}while(We);return de}bindingIdentifierEquals(de,We){return this.getBindingIdentifier(de)===We}getBinding(de){let We,tt=this;do{let At=tt.getOwnBinding(de);var mt;if(At){if((mt=We)==null||!mt.isPattern()||At.kind==="param"||At.kind==="local")return At}else if(!At&&de==="arguments"&&tt.path.isFunction()&&!tt.path.isArrowFunctionExpression())break;We=tt.path}while(tt=tt.parent)}getOwnBinding(de){return this.bindings[de]}getBindingIdentifier(de){var We;return(We=this.getBinding(de))==null?void 0:We.identifier}getOwnBindingIdentifier(de){let We=this.bindings[de];return We?.identifier}hasOwnBinding(de){return!!this.getOwnBinding(de)}hasBinding(de,We){if(!de)return!1;let tt,mt,At=this;do if(At.hasOwnBinding(de))return!0;while(At=At.parent);return typeof We=="object"?(tt=We.noGlobals,mt=We.noUids):typeof We=="boolean"&&(tt=We),!(mt||!this.hasUid(de))||!(tt||!Se.globals.includes(de))||!(tt||!Se.contextVariables.includes(de))}parentHasBinding(de,We){var tt;return(tt=this.parent)==null?void 0:tt.hasBinding(de,We)}moveBindingTo(de,We){let tt=this.getBinding(de);tt&&(tt.scope.removeOwnBinding(de),tt.scope=We,We.bindings[de]=tt)}removeOwnBinding(de){delete this.bindings[de]}removeBinding(de){var We;(We=this.getBinding(de))==null||We.scope.removeOwnBinding(de);let tt=this;do tt.uids[de]&&(tt.uids[de]=!1);while(tt=tt.parent)}hoistVariables(de=We=>this.push({id:We})){this.crawl();let We=new Set;for(let tt of Object.keys(this.bindings)){let mt=this.bindings[tt];if(!mt)continue;let{path:At}=mt;if(!At.isVariableDeclarator())continue;let{parent:pt,parentPath:Nt}=At;if(pt.kind!=="var"||We.has(pt))continue;let Ce;We.add(At.parent);let qe=[];for(let ot of pt.declarations){Ce!=null||(Ce=ot.id),ot.init&&qe.push(g("=",ot.id,ot.init));let Ze=Object.keys(E(ot,!1,!0,!0));for(let Pe of Ze)de(A(Pe),ot.init!=null)}if(Nt.parentPath.isFor({left:pt}))Nt.replaceWith(Ce);else if(qe.length===0)Nt.remove();else{let ot=qe.length===1?qe[0]:et(qe);Nt.parentPath.isForStatement({init:pt})?Nt.replaceWith(ot):Nt.replaceWith(Ve(ot))}}}}r.default=Se,Se.globals=Object.keys(a.builtin),Se.contextVariables=["arguments","undefined","Infinity","NaN"],Se.prototype._renameFromMap=function(Ae,de,We,tt){Ae[de]&&(Ae[We]=tt,Ae[de]=null)},Se.prototype.traverse=function(Ae,de,We){(0,u.default)(Ae,de,this,We,this.path)},Se.prototype._generateUid=function(Ae,de){let We=Ae;return de>1&&(We+=de),`_${We}`},Se.prototype.toArray=function(Ae,de,We){if($(Ae)){let At=this.getBinding(Ae.name);if(At!=null&&At.constant&&At.path.isGenericType("Array"))return Ae}if(S(Ae))return Ae;if($(Ae,{name:"arguments"}))return y(me(me(me(A("Array"),A("prototype")),A("slice")),A("call")),[Ae]);let tt,mt=[Ae];return de===!0?tt="toConsumableArray":typeof de=="number"?(mt.push(ce(de)),tt="slicedToArray"):tt="toArray",We&&(mt.unshift(this.path.hub.addHelper(tt)),tt="maybeArrayLike"),y(this.path.hub.addHelper(tt),mt)},Se.prototype.getAllBindingsOfKind=function(...Ae){let de=Object.create(null);for(let We of Ae){let tt=this;do{for(let mt of Object.keys(tt.bindings)){let At=tt.bindings[mt];At.kind===We&&(de[mt]=At)}tt=tt.parent}while(tt)}return de},Object.defineProperties(Se.prototype,{parentBlock:{configurable:!0,enumerable:!0,get(){return this.path.parent}},hub:{configurable:!0,enumerable:!0,get(){return this.path.hub}}})},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/scope/lib/renamer.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),u=s,H=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/traverse-node.js"),a=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/visitors.js"),l=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/context.js");let{getAssignmentIdentifiers:p}=u,d={ReferencedIdentifier({node:h},m){h.name===m.oldName&&(h.name=m.newName)},Scope(h,m){h.scope.bindingIdentifierEquals(m.oldName,m.binding.identifier)||(h.skip(),h.isMethod()&&(h.requeueComputedKeyAndDecorators?h.requeueComputedKeyAndDecorators():l.requeueComputedKeyAndDecorators.call(h)))},ObjectProperty({node:h,scope:m},g){let{name:y}=h.key;var _;!h.shorthand||y!==g.oldName&&y!==g.newName||m.getBindingIdentifier(y)!==g.binding.identifier||(h.shorthand=!1,(_=h.extra)!=null&&_.shorthand&&(h.extra.shorthand=!1))},"AssignmentExpression|Declaration|VariableDeclarator"(h,m){if(h.isVariableDeclaration())return;let g=h.isAssignmentExpression()?p(h.node):h.getOuterBindingIdentifiers();for(let y in g)y===m.oldName&&(g[y].name=m.newName)}};r.default=class{constructor(h,m,g){this.newName=g,this.oldName=m,this.binding=h}maybeConvertFromExportDeclaration(h){let m=h.parentPath;if(m.isExportDeclaration()){if(m.isExportDefaultDeclaration()){let{declaration:g}=m.node;if(s.isDeclaration(g)&&!g.id)return}m.isExportAllDeclaration()||m.splitExportDeclaration()}}maybeConvertFromClassFunctionDeclaration(h){return h}maybeConvertFromClassFunctionExpression(h){return h}rename(){let{binding:h,oldName:m,newName:g}=this,{scope:y,path:_}=h,E=_.find(T=>T.isDeclaration()||T.isFunctionExpression()||T.isClassExpression());E&&E.getOuterBindingIdentifiers()[m]===h.identifier&&this.maybeConvertFromExportDeclaration(E);let A=arguments[0]||y.block,S={discriminant:!0};s.isMethod(A)&&(A.computed&&(S.key=!0),s.isObjectMethod(A)||(S.decorators=!0)),(0,H.traverseNode)(A,(0,a.explode)(d),y,this,y.path,S),arguments[0]||(y.removeOwnBinding(m),y.bindings[g]=h,this.binding.identifier.name=g),E&&(this.maybeConvertFromClassFunctionDeclaration(_),this.maybeConvertFromClassFunctionExpression(_))}}},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/traverse-node.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.traverseNode=function(a,l,p,d,h,m,g){let y=H[a.type];if(!y)return!1;let _=new s.default(p,l,d,h);if(g)return(m==null||!m[h.parentKey])&&_.visitQueue([h]);for(let E of y)if((m==null||!m[E])&&_.visit(a,E))return!0;return!1};var s=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/context.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js");let{VISITOR_KEYS:H}=u},"./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/visitors.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.environmentVisitor=function(D){return A([C,D])},r.explode=y,r.isExplodedVisitor=g,r.merge=A,r.verify=_;var s=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/lib/virtual-types.js"),u=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js"),H=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js"),a=c("./node_modules/.pnpm/@babel+traverse@7.25.7/node_modules/@babel/traverse/lib/path/context.js");let{DEPRECATED_KEYS:l,DEPRECATED_ALIASES:p,FLIPPED_ALIAS_KEYS:d,TYPES:h,__internal__deprecationWarning:m}=H;function g(D){return D?._exploded}function y(D){if(g(D))return D;D._exploded=!0;for(let O of Object.keys(D)){if(L(O))continue;let j=O.split("|");if(j.length===1)continue;let k=D[O];delete D[O];for(let $ of j)D[$]=k}_(D),delete D.__esModule,function(O){for(let j of Object.keys(O)){if(L(j))continue;let k=O[j];typeof k=="function"&&(O[j]={enter:k})}}(D),T(D);for(let O of Object.keys(D)){if(L(O)||!(O in s))continue;let j=D[O];for(let $ of Object.keys(j))j[$]=I(O,j[$]);delete D[O];let k=s[O];if(k!==null)for(let $ of k)D[$]?x(D[$],j):D[$]=j;else x(D,j)}for(let O of Object.keys(D)){if(L(O))continue;let j=d[O];if(O in l){let $=l[O];m(O,$,"Visitor "),j=[$]}else if(O in p){let $=p[O];m(O,$,"Visitor "),j=d[$]}if(!j)continue;let k=D[O];delete D[O];for(let $ of j){let U=D[$];U?x(U,k):D[$]=Object.assign({},k)}}for(let O of Object.keys(D))L(O)||T(D[O]);return D}function _(D){if(!D._verified){if(typeof D=="function")throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(let O of Object.keys(D)){if(O!=="enter"&&O!=="exit"||E(O,D[O]),L(O))continue;if(!h.includes(O))throw new Error(`You gave us a visitor for the node type ${O} but it's not a valid type in @babel/traverse 7.25.7`);let j=D[O];if(typeof j=="object")for(let k of Object.keys(j)){if(k!=="enter"&&k!=="exit")throw new Error(`You passed \`traverse()\` a visitor object with the property ${O} that has the invalid property ${k}`);E(`${O}.${k}`,j[k])}}D._verified=!0}}function E(D,O){let j=[].concat(O);for(let k of j)if(typeof k!="function")throw new TypeError(`Non-function found defined in ${D} with type ${typeof k}`)}function A(D,O=[],j){let k={_verified:!0,_exploded:!0};Object.defineProperty(k,"_exploded",{enumerable:!1}),Object.defineProperty(k,"_verified",{enumerable:!1});for(let $=0;$<D.length;$++){let U=y(D[$]),F=O[$],P=U;(F||j)&&(P=S(P,F,j)),x(k,P);for(let W of Object.keys(U)){if(L(W))continue;let Z=U[W];(F||j)&&(Z=S(Z,F,j)),x(k[W]||(k[W]={}),Z)}}return k}function S(D,O,j){let k={};for(let $ of["enter","exit"]){let U=D[$];Array.isArray(U)&&(U=U.map(function(F){let P=F;return O&&(P=function(W){F.call(O,W,O)}),j&&(P=j(O?.key,$,P)),P!==F&&(P.toString=()=>F.toString()),P}),k[$]=U)}return k}function T(D){D.enter&&!Array.isArray(D.enter)&&(D.enter=[D.enter]),D.exit&&!Array.isArray(D.exit)&&(D.exit=[D.exit])}function I(D,O){let j=u[`is${D}`],k=function($){if(j.call($))return O.apply(this,arguments)};return k.toString=()=>O.toString(),k}function L(D){return D[0]==="_"||D==="enter"||D==="exit"||D==="shouldSkip"||D==="denylist"||D==="noScope"||D==="skipKeys"||D==="blacklist"}function x(D,O){for(let j of["enter","exit"])O[j]&&(D[j]=[].concat(D[j]||[],O[j]))}let C={FunctionParent(D){D.isArrowFunctionExpression()||(D.skip(),D.isMethod()&&(D.requeueComputedKeyAndDecorators?D.requeueComputedKeyAndDecorators():a.requeueComputedKeyAndDecorators.call(D)))},Property(D){D.isObjectProperty()||(D.skip(),D.requeueComputedKeyAndDecorators?D.requeueComputedKeyAndDecorators():a.requeueComputedKeyAndDecorators.call(D))}}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/asserts/assertNode.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){if(!(0,s.default)(u)){var H;let a=(H=u?.type)!=null?H:JSON.stringify(u);throw new TypeError(`Not a valid node of type "${a}"`)}};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isNode.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/asserts/generated/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.assertAccessor=function(a,l){H("Accessor",a,l)},r.assertAnyTypeAnnotation=function(a,l){H("AnyTypeAnnotation",a,l)},r.assertArgumentPlaceholder=function(a,l){H("ArgumentPlaceholder",a,l)},r.assertArrayExpression=function(a,l){H("ArrayExpression",a,l)},r.assertArrayPattern=function(a,l){H("ArrayPattern",a,l)},r.assertArrayTypeAnnotation=function(a,l){H("ArrayTypeAnnotation",a,l)},r.assertArrowFunctionExpression=function(a,l){H("ArrowFunctionExpression",a,l)},r.assertAssignmentExpression=function(a,l){H("AssignmentExpression",a,l)},r.assertAssignmentPattern=function(a,l){H("AssignmentPattern",a,l)},r.assertAwaitExpression=function(a,l){H("AwaitExpression",a,l)},r.assertBigIntLiteral=function(a,l){H("BigIntLiteral",a,l)},r.assertBinary=function(a,l){H("Binary",a,l)},r.assertBinaryExpression=function(a,l){H("BinaryExpression",a,l)},r.assertBindExpression=function(a,l){H("BindExpression",a,l)},r.assertBlock=function(a,l){H("Block",a,l)},r.assertBlockParent=function(a,l){H("BlockParent",a,l)},r.assertBlockStatement=function(a,l){H("BlockStatement",a,l)},r.assertBooleanLiteral=function(a,l){H("BooleanLiteral",a,l)},r.assertBooleanLiteralTypeAnnotation=function(a,l){H("BooleanLiteralTypeAnnotation",a,l)},r.assertBooleanTypeAnnotation=function(a,l){H("BooleanTypeAnnotation",a,l)},r.assertBreakStatement=function(a,l){H("BreakStatement",a,l)},r.assertCallExpression=function(a,l){H("CallExpression",a,l)},r.assertCatchClause=function(a,l){H("CatchClause",a,l)},r.assertClass=function(a,l){H("Class",a,l)},r.assertClassAccessorProperty=function(a,l){H("ClassAccessorProperty",a,l)},r.assertClassBody=function(a,l){H("ClassBody",a,l)},r.assertClassDeclaration=function(a,l){H("ClassDeclaration",a,l)},r.assertClassExpression=function(a,l){H("ClassExpression",a,l)},r.assertClassImplements=function(a,l){H("ClassImplements",a,l)},r.assertClassMethod=function(a,l){H("ClassMethod",a,l)},r.assertClassPrivateMethod=function(a,l){H("ClassPrivateMethod",a,l)},r.assertClassPrivateProperty=function(a,l){H("ClassPrivateProperty",a,l)},r.assertClassProperty=function(a,l){H("ClassProperty",a,l)},r.assertCompletionStatement=function(a,l){H("CompletionStatement",a,l)},r.assertConditional=function(a,l){H("Conditional",a,l)},r.assertConditionalExpression=function(a,l){H("ConditionalExpression",a,l)},r.assertContinueStatement=function(a,l){H("ContinueStatement",a,l)},r.assertDebuggerStatement=function(a,l){H("DebuggerStatement",a,l)},r.assertDecimalLiteral=function(a,l){H("DecimalLiteral",a,l)},r.assertDeclaration=function(a,l){H("Declaration",a,l)},r.assertDeclareClass=function(a,l){H("DeclareClass",a,l)},r.assertDeclareExportAllDeclaration=function(a,l){H("DeclareExportAllDeclaration",a,l)},r.assertDeclareExportDeclaration=function(a,l){H("DeclareExportDeclaration",a,l)},r.assertDeclareFunction=function(a,l){H("DeclareFunction",a,l)},r.assertDeclareInterface=function(a,l){H("DeclareInterface",a,l)},r.assertDeclareModule=function(a,l){H("DeclareModule",a,l)},r.assertDeclareModuleExports=function(a,l){H("DeclareModuleExports",a,l)},r.assertDeclareOpaqueType=function(a,l){H("DeclareOpaqueType",a,l)},r.assertDeclareTypeAlias=function(a,l){H("DeclareTypeAlias",a,l)},r.assertDeclareVariable=function(a,l){H("DeclareVariable",a,l)},r.assertDeclaredPredicate=function(a,l){H("DeclaredPredicate",a,l)},r.assertDecorator=function(a,l){H("Decorator",a,l)},r.assertDirective=function(a,l){H("Directive",a,l)},r.assertDirectiveLiteral=function(a,l){H("DirectiveLiteral",a,l)},r.assertDoExpression=function(a,l){H("DoExpression",a,l)},r.assertDoWhileStatement=function(a,l){H("DoWhileStatement",a,l)},r.assertEmptyStatement=function(a,l){H("EmptyStatement",a,l)},r.assertEmptyTypeAnnotation=function(a,l){H("EmptyTypeAnnotation",a,l)},r.assertEnumBody=function(a,l){H("EnumBody",a,l)},r.assertEnumBooleanBody=function(a,l){H("EnumBooleanBody",a,l)},r.assertEnumBooleanMember=function(a,l){H("EnumBooleanMember",a,l)},r.assertEnumDeclaration=function(a,l){H("EnumDeclaration",a,l)},r.assertEnumDefaultedMember=function(a,l){H("EnumDefaultedMember",a,l)},r.assertEnumMember=function(a,l){H("EnumMember",a,l)},r.assertEnumNumberBody=function(a,l){H("EnumNumberBody",a,l)},r.assertEnumNumberMember=function(a,l){H("EnumNumberMember",a,l)},r.assertEnumStringBody=function(a,l){H("EnumStringBody",a,l)},r.assertEnumStringMember=function(a,l){H("EnumStringMember",a,l)},r.assertEnumSymbolBody=function(a,l){H("EnumSymbolBody",a,l)},r.assertExistsTypeAnnotation=function(a,l){H("ExistsTypeAnnotation",a,l)},r.assertExportAllDeclaration=function(a,l){H("ExportAllDeclaration",a,l)},r.assertExportDeclaration=function(a,l){H("ExportDeclaration",a,l)},r.assertExportDefaultDeclaration=function(a,l){H("ExportDefaultDeclaration",a,l)},r.assertExportDefaultSpecifier=function(a,l){H("ExportDefaultSpecifier",a,l)},r.assertExportNamedDeclaration=function(a,l){H("ExportNamedDeclaration",a,l)},r.assertExportNamespaceSpecifier=function(a,l){H("ExportNamespaceSpecifier",a,l)},r.assertExportSpecifier=function(a,l){H("ExportSpecifier",a,l)},r.assertExpression=function(a,l){H("Expression",a,l)},r.assertExpressionStatement=function(a,l){H("ExpressionStatement",a,l)},r.assertExpressionWrapper=function(a,l){H("ExpressionWrapper",a,l)},r.assertFile=function(a,l){H("File",a,l)},r.assertFlow=function(a,l){H("Flow",a,l)},r.assertFlowBaseAnnotation=function(a,l){H("FlowBaseAnnotation",a,l)},r.assertFlowDeclaration=function(a,l){H("FlowDeclaration",a,l)},r.assertFlowPredicate=function(a,l){H("FlowPredicate",a,l)},r.assertFlowType=function(a,l){H("FlowType",a,l)},r.assertFor=function(a,l){H("For",a,l)},r.assertForInStatement=function(a,l){H("ForInStatement",a,l)},r.assertForOfStatement=function(a,l){H("ForOfStatement",a,l)},r.assertForStatement=function(a,l){H("ForStatement",a,l)},r.assertForXStatement=function(a,l){H("ForXStatement",a,l)},r.assertFunction=function(a,l){H("Function",a,l)},r.assertFunctionDeclaration=function(a,l){H("FunctionDeclaration",a,l)},r.assertFunctionExpression=function(a,l){H("FunctionExpression",a,l)},r.assertFunctionParent=function(a,l){H("FunctionParent",a,l)},r.assertFunctionTypeAnnotation=function(a,l){H("FunctionTypeAnnotation",a,l)},r.assertFunctionTypeParam=function(a,l){H("FunctionTypeParam",a,l)},r.assertGenericTypeAnnotation=function(a,l){H("GenericTypeAnnotation",a,l)},r.assertIdentifier=function(a,l){H("Identifier",a,l)},r.assertIfStatement=function(a,l){H("IfStatement",a,l)},r.assertImmutable=function(a,l){H("Immutable",a,l)},r.assertImport=function(a,l){H("Import",a,l)},r.assertImportAttribute=function(a,l){H("ImportAttribute",a,l)},r.assertImportDeclaration=function(a,l){H("ImportDeclaration",a,l)},r.assertImportDefaultSpecifier=function(a,l){H("ImportDefaultSpecifier",a,l)},r.assertImportExpression=function(a,l){H("ImportExpression",a,l)},r.assertImportNamespaceSpecifier=function(a,l){H("ImportNamespaceSpecifier",a,l)},r.assertImportOrExportDeclaration=function(a,l){H("ImportOrExportDeclaration",a,l)},r.assertImportSpecifier=function(a,l){H("ImportSpecifier",a,l)},r.assertIndexedAccessType=function(a,l){H("IndexedAccessType",a,l)},r.assertInferredPredicate=function(a,l){H("InferredPredicate",a,l)},r.assertInterfaceDeclaration=function(a,l){H("InterfaceDeclaration",a,l)},r.assertInterfaceExtends=function(a,l){H("InterfaceExtends",a,l)},r.assertInterfaceTypeAnnotation=function(a,l){H("InterfaceTypeAnnotation",a,l)},r.assertInterpreterDirective=function(a,l){H("InterpreterDirective",a,l)},r.assertIntersectionTypeAnnotation=function(a,l){H("IntersectionTypeAnnotation",a,l)},r.assertJSX=function(a,l){H("JSX",a,l)},r.assertJSXAttribute=function(a,l){H("JSXAttribute",a,l)},r.assertJSXClosingElement=function(a,l){H("JSXClosingElement",a,l)},r.assertJSXClosingFragment=function(a,l){H("JSXClosingFragment",a,l)},r.assertJSXElement=function(a,l){H("JSXElement",a,l)},r.assertJSXEmptyExpression=function(a,l){H("JSXEmptyExpression",a,l)},r.assertJSXExpressionContainer=function(a,l){H("JSXExpressionContainer",a,l)},r.assertJSXFragment=function(a,l){H("JSXFragment",a,l)},r.assertJSXIdentifier=function(a,l){H("JSXIdentifier",a,l)},r.assertJSXMemberExpression=function(a,l){H("JSXMemberExpression",a,l)},r.assertJSXNamespacedName=function(a,l){H("JSXNamespacedName",a,l)},r.assertJSXOpeningElement=function(a,l){H("JSXOpeningElement",a,l)},r.assertJSXOpeningFragment=function(a,l){H("JSXOpeningFragment",a,l)},r.assertJSXSpreadAttribute=function(a,l){H("JSXSpreadAttribute",a,l)},r.assertJSXSpreadChild=function(a,l){H("JSXSpreadChild",a,l)},r.assertJSXText=function(a,l){H("JSXText",a,l)},r.assertLVal=function(a,l){H("LVal",a,l)},r.assertLabeledStatement=function(a,l){H("LabeledStatement",a,l)},r.assertLiteral=function(a,l){H("Literal",a,l)},r.assertLogicalExpression=function(a,l){H("LogicalExpression",a,l)},r.assertLoop=function(a,l){H("Loop",a,l)},r.assertMemberExpression=function(a,l){H("MemberExpression",a,l)},r.assertMetaProperty=function(a,l){H("MetaProperty",a,l)},r.assertMethod=function(a,l){H("Method",a,l)},r.assertMiscellaneous=function(a,l){H("Miscellaneous",a,l)},r.assertMixedTypeAnnotation=function(a,l){H("MixedTypeAnnotation",a,l)},r.assertModuleDeclaration=function(a,l){(0,u.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),H("ModuleDeclaration",a,l)},r.assertModuleExpression=function(a,l){H("ModuleExpression",a,l)},r.assertModuleSpecifier=function(a,l){H("ModuleSpecifier",a,l)},r.assertNewExpression=function(a,l){H("NewExpression",a,l)},r.assertNoop=function(a,l){H("Noop",a,l)},r.assertNullLiteral=function(a,l){H("NullLiteral",a,l)},r.assertNullLiteralTypeAnnotation=function(a,l){H("NullLiteralTypeAnnotation",a,l)},r.assertNullableTypeAnnotation=function(a,l){H("NullableTypeAnnotation",a,l)},r.assertNumberLiteral=function(a,l){(0,u.default)("assertNumberLiteral","assertNumericLiteral"),H("NumberLiteral",a,l)},r.assertNumberLiteralTypeAnnotation=function(a,l){H("NumberLiteralTypeAnnotation",a,l)},r.assertNumberTypeAnnotation=function(a,l){H("NumberTypeAnnotation",a,l)},r.assertNumericLiteral=function(a,l){H("NumericLiteral",a,l)},r.assertObjectExpression=function(a,l){H("ObjectExpression",a,l)},r.assertObjectMember=function(a,l){H("ObjectMember",a,l)},r.assertObjectMethod=function(a,l){H("ObjectMethod",a,l)},r.assertObjectPattern=function(a,l){H("ObjectPattern",a,l)},r.assertObjectProperty=function(a,l){H("ObjectProperty",a,l)},r.assertObjectTypeAnnotation=function(a,l){H("ObjectTypeAnnotation",a,l)},r.assertObjectTypeCallProperty=function(a,l){H("ObjectTypeCallProperty",a,l)},r.assertObjectTypeIndexer=function(a,l){H("ObjectTypeIndexer",a,l)},r.assertObjectTypeInternalSlot=function(a,l){H("ObjectTypeInternalSlot",a,l)},r.assertObjectTypeProperty=function(a,l){H("ObjectTypeProperty",a,l)},r.assertObjectTypeSpreadProperty=function(a,l){H("ObjectTypeSpreadProperty",a,l)},r.assertOpaqueType=function(a,l){H("OpaqueType",a,l)},r.assertOptionalCallExpression=function(a,l){H("OptionalCallExpression",a,l)},r.assertOptionalIndexedAccessType=function(a,l){H("OptionalIndexedAccessType",a,l)},r.assertOptionalMemberExpression=function(a,l){H("OptionalMemberExpression",a,l)},r.assertParenthesizedExpression=function(a,l){H("ParenthesizedExpression",a,l)},r.assertPattern=function(a,l){H("Pattern",a,l)},r.assertPatternLike=function(a,l){H("PatternLike",a,l)},r.assertPipelineBareFunction=function(a,l){H("PipelineBareFunction",a,l)},r.assertPipelinePrimaryTopicReference=function(a,l){H("PipelinePrimaryTopicReference",a,l)},r.assertPipelineTopicExpression=function(a,l){H("PipelineTopicExpression",a,l)},r.assertPlaceholder=function(a,l){H("Placeholder",a,l)},r.assertPrivate=function(a,l){H("Private",a,l)},r.assertPrivateName=function(a,l){H("PrivateName",a,l)},r.assertProgram=function(a,l){H("Program",a,l)},r.assertProperty=function(a,l){H("Property",a,l)},r.assertPureish=function(a,l){H("Pureish",a,l)},r.assertQualifiedTypeIdentifier=function(a,l){H("QualifiedTypeIdentifier",a,l)},r.assertRecordExpression=function(a,l){H("RecordExpression",a,l)},r.assertRegExpLiteral=function(a,l){H("RegExpLiteral",a,l)},r.assertRegexLiteral=function(a,l){(0,u.default)("assertRegexLiteral","assertRegExpLiteral"),H("RegexLiteral",a,l)},r.assertRestElement=function(a,l){H("RestElement",a,l)},r.assertRestProperty=function(a,l){(0,u.default)("assertRestProperty","assertRestElement"),H("RestProperty",a,l)},r.assertReturnStatement=function(a,l){H("ReturnStatement",a,l)},r.assertScopable=function(a,l){H("Scopable",a,l)},r.assertSequenceExpression=function(a,l){H("SequenceExpression",a,l)},r.assertSpreadElement=function(a,l){H("SpreadElement",a,l)},r.assertSpreadProperty=function(a,l){(0,u.default)("assertSpreadProperty","assertSpreadElement"),H("SpreadProperty",a,l)},r.assertStandardized=function(a,l){H("Standardized",a,l)},r.assertStatement=function(a,l){H("Statement",a,l)},r.assertStaticBlock=function(a,l){H("StaticBlock",a,l)},r.assertStringLiteral=function(a,l){H("StringLiteral",a,l)},r.assertStringLiteralTypeAnnotation=function(a,l){H("StringLiteralTypeAnnotation",a,l)},r.assertStringTypeAnnotation=function(a,l){H("StringTypeAnnotation",a,l)},r.assertSuper=function(a,l){H("Super",a,l)},r.assertSwitchCase=function(a,l){H("SwitchCase",a,l)},r.assertSwitchStatement=function(a,l){H("SwitchStatement",a,l)},r.assertSymbolTypeAnnotation=function(a,l){H("SymbolTypeAnnotation",a,l)},r.assertTSAnyKeyword=function(a,l){H("TSAnyKeyword",a,l)},r.assertTSArrayType=function(a,l){H("TSArrayType",a,l)},r.assertTSAsExpression=function(a,l){H("TSAsExpression",a,l)},r.assertTSBaseType=function(a,l){H("TSBaseType",a,l)},r.assertTSBigIntKeyword=function(a,l){H("TSBigIntKeyword",a,l)},r.assertTSBooleanKeyword=function(a,l){H("TSBooleanKeyword",a,l)},r.assertTSCallSignatureDeclaration=function(a,l){H("TSCallSignatureDeclaration",a,l)},r.assertTSConditionalType=function(a,l){H("TSConditionalType",a,l)},r.assertTSConstructSignatureDeclaration=function(a,l){H("TSConstructSignatureDeclaration",a,l)},r.assertTSConstructorType=function(a,l){H("TSConstructorType",a,l)},r.assertTSDeclareFunction=function(a,l){H("TSDeclareFunction",a,l)},r.assertTSDeclareMethod=function(a,l){H("TSDeclareMethod",a,l)},r.assertTSEntityName=function(a,l){H("TSEntityName",a,l)},r.assertTSEnumDeclaration=function(a,l){H("TSEnumDeclaration",a,l)},r.assertTSEnumMember=function(a,l){H("TSEnumMember",a,l)},r.assertTSExportAssignment=function(a,l){H("TSExportAssignment",a,l)},r.assertTSExpressionWithTypeArguments=function(a,l){H("TSExpressionWithTypeArguments",a,l)},r.assertTSExternalModuleReference=function(a,l){H("TSExternalModuleReference",a,l)},r.assertTSFunctionType=function(a,l){H("TSFunctionType",a,l)},r.assertTSImportEqualsDeclaration=function(a,l){H("TSImportEqualsDeclaration",a,l)},r.assertTSImportType=function(a,l){H("TSImportType",a,l)},r.assertTSIndexSignature=function(a,l){H("TSIndexSignature",a,l)},r.assertTSIndexedAccessType=function(a,l){H("TSIndexedAccessType",a,l)},r.assertTSInferType=function(a,l){H("TSInferType",a,l)},r.assertTSInstantiationExpression=function(a,l){H("TSInstantiationExpression",a,l)},r.assertTSInterfaceBody=function(a,l){H("TSInterfaceBody",a,l)},r.assertTSInterfaceDeclaration=function(a,l){H("TSInterfaceDeclaration",a,l)},r.assertTSIntersectionType=function(a,l){H("TSIntersectionType",a,l)},r.assertTSIntrinsicKeyword=function(a,l){H("TSIntrinsicKeyword",a,l)},r.assertTSLiteralType=function(a,l){H("TSLiteralType",a,l)},r.assertTSMappedType=function(a,l){H("TSMappedType",a,l)},r.assertTSMethodSignature=function(a,l){H("TSMethodSignature",a,l)},r.assertTSModuleBlock=function(a,l){H("TSModuleBlock",a,l)},r.assertTSModuleDeclaration=function(a,l){H("TSModuleDeclaration",a,l)},r.assertTSNamedTupleMember=function(a,l){H("TSNamedTupleMember",a,l)},r.assertTSNamespaceExportDeclaration=function(a,l){H("TSNamespaceExportDeclaration",a,l)},r.assertTSNeverKeyword=function(a,l){H("TSNeverKeyword",a,l)},r.assertTSNonNullExpression=function(a,l){H("TSNonNullExpression",a,l)},r.assertTSNullKeyword=function(a,l){H("TSNullKeyword",a,l)},r.assertTSNumberKeyword=function(a,l){H("TSNumberKeyword",a,l)},r.assertTSObjectKeyword=function(a,l){H("TSObjectKeyword",a,l)},r.assertTSOptionalType=function(a,l){H("TSOptionalType",a,l)},r.assertTSParameterProperty=function(a,l){H("TSParameterProperty",a,l)},r.assertTSParenthesizedType=function(a,l){H("TSParenthesizedType",a,l)},r.assertTSPropertySignature=function(a,l){H("TSPropertySignature",a,l)},r.assertTSQualifiedName=function(a,l){H("TSQualifiedName",a,l)},r.assertTSRestType=function(a,l){H("TSRestType",a,l)},r.assertTSSatisfiesExpression=function(a,l){H("TSSatisfiesExpression",a,l)},r.assertTSStringKeyword=function(a,l){H("TSStringKeyword",a,l)},r.assertTSSymbolKeyword=function(a,l){H("TSSymbolKeyword",a,l)},r.assertTSThisType=function(a,l){H("TSThisType",a,l)},r.assertTSTupleType=function(a,l){H("TSTupleType",a,l)},r.assertTSType=function(a,l){H("TSType",a,l)},r.assertTSTypeAliasDeclaration=function(a,l){H("TSTypeAliasDeclaration",a,l)},r.assertTSTypeAnnotation=function(a,l){H("TSTypeAnnotation",a,l)},r.assertTSTypeAssertion=function(a,l){H("TSTypeAssertion",a,l)},r.assertTSTypeElement=function(a,l){H("TSTypeElement",a,l)},r.assertTSTypeLiteral=function(a,l){H("TSTypeLiteral",a,l)},r.assertTSTypeOperator=function(a,l){H("TSTypeOperator",a,l)},r.assertTSTypeParameter=function(a,l){H("TSTypeParameter",a,l)},r.assertTSTypeParameterDeclaration=function(a,l){H("TSTypeParameterDeclaration",a,l)},r.assertTSTypeParameterInstantiation=function(a,l){H("TSTypeParameterInstantiation",a,l)},r.assertTSTypePredicate=function(a,l){H("TSTypePredicate",a,l)},r.assertTSTypeQuery=function(a,l){H("TSTypeQuery",a,l)},r.assertTSTypeReference=function(a,l){H("TSTypeReference",a,l)},r.assertTSUndefinedKeyword=function(a,l){H("TSUndefinedKeyword",a,l)},r.assertTSUnionType=function(a,l){H("TSUnionType",a,l)},r.assertTSUnknownKeyword=function(a,l){H("TSUnknownKeyword",a,l)},r.assertTSVoidKeyword=function(a,l){H("TSVoidKeyword",a,l)},r.assertTaggedTemplateExpression=function(a,l){H("TaggedTemplateExpression",a,l)},r.assertTemplateElement=function(a,l){H("TemplateElement",a,l)},r.assertTemplateLiteral=function(a,l){H("TemplateLiteral",a,l)},r.assertTerminatorless=function(a,l){H("Terminatorless",a,l)},r.assertThisExpression=function(a,l){H("ThisExpression",a,l)},r.assertThisTypeAnnotation=function(a,l){H("ThisTypeAnnotation",a,l)},r.assertThrowStatement=function(a,l){H("ThrowStatement",a,l)},r.assertTopicReference=function(a,l){H("TopicReference",a,l)},r.assertTryStatement=function(a,l){H("TryStatement",a,l)},r.assertTupleExpression=function(a,l){H("TupleExpression",a,l)},r.assertTupleTypeAnnotation=function(a,l){H("TupleTypeAnnotation",a,l)},r.assertTypeAlias=function(a,l){H("TypeAlias",a,l)},r.assertTypeAnnotation=function(a,l){H("TypeAnnotation",a,l)},r.assertTypeCastExpression=function(a,l){H("TypeCastExpression",a,l)},r.assertTypeParameter=function(a,l){H("TypeParameter",a,l)},r.assertTypeParameterDeclaration=function(a,l){H("TypeParameterDeclaration",a,l)},r.assertTypeParameterInstantiation=function(a,l){H("TypeParameterInstantiation",a,l)},r.assertTypeScript=function(a,l){H("TypeScript",a,l)},r.assertTypeofTypeAnnotation=function(a,l){H("TypeofTypeAnnotation",a,l)},r.assertUnaryExpression=function(a,l){H("UnaryExpression",a,l)},r.assertUnaryLike=function(a,l){H("UnaryLike",a,l)},r.assertUnionTypeAnnotation=function(a,l){H("UnionTypeAnnotation",a,l)},r.assertUpdateExpression=function(a,l){H("UpdateExpression",a,l)},r.assertUserWhitespacable=function(a,l){H("UserWhitespacable",a,l)},r.assertV8IntrinsicIdentifier=function(a,l){H("V8IntrinsicIdentifier",a,l)},r.assertVariableDeclaration=function(a,l){H("VariableDeclaration",a,l)},r.assertVariableDeclarator=function(a,l){H("VariableDeclarator",a,l)},r.assertVariance=function(a,l){H("Variance",a,l)},r.assertVoidTypeAnnotation=function(a,l){H("VoidTypeAnnotation",a,l)},r.assertWhile=function(a,l){H("While",a,l)},r.assertWhileStatement=function(a,l){H("WhileStatement",a,l)},r.assertWithStatement=function(a,l){H("WithStatement",a,l)},r.assertYieldExpression=function(a,l){H("YieldExpression",a,l)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/is.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/utils/deprecationWarning.js");function H(a,l,p){if(!(0,s.default)(a,l,p))throw new Error(`Expected type "${a}" with option ${JSON.stringify(p)}, but instead got "${l.type}".`)}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H){let a=(0,u.default)(H);return a.length===1?a[0]:(0,s.unionTypeAnnotation)(a)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/generated/index.js");r.default=function(u){switch(u){case"string":return(0,s.stringTypeAnnotation)();case"number":return(0,s.numberTypeAnnotation)();case"undefined":return(0,s.voidTypeAnnotation)();case"boolean":return(0,s.booleanTypeAnnotation)();case"function":return(0,s.genericTypeAnnotation)((0,s.identifier)("Function"));case"object":return(0,s.genericTypeAnnotation)((0,s.identifier)("Object"));case"symbol":return(0,s.genericTypeAnnotation)((0,s.identifier)("Symbol"));case"bigint":return(0,s.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+u)}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/generated/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.anyTypeAnnotation=function(){return{type:"AnyTypeAnnotation"}},r.argumentPlaceholder=function(){return{type:"ArgumentPlaceholder"}},r.arrayExpression=function(g=[]){let y={type:"ArrayExpression",elements:g},_=l.ArrayExpression;return a(_.elements,y,"elements",g,1),y},r.arrayPattern=function(g){let y={type:"ArrayPattern",elements:g},_=l.ArrayPattern;return a(_.elements,y,"elements",g,1),y},r.arrayTypeAnnotation=function(g){let y={type:"ArrayTypeAnnotation",elementType:g},_=l.ArrayTypeAnnotation;return a(_.elementType,y,"elementType",g,1),y},r.arrowFunctionExpression=function(g,y,_=!1){let E={type:"ArrowFunctionExpression",params:g,body:y,async:_,expression:null},A=l.ArrowFunctionExpression;return a(A.params,E,"params",g,1),a(A.body,E,"body",y,1),a(A.async,E,"async",_),E},r.assignmentExpression=function(g,y,_){let E={type:"AssignmentExpression",operator:g,left:y,right:_},A=l.AssignmentExpression;return a(A.operator,E,"operator",g),a(A.left,E,"left",y,1),a(A.right,E,"right",_,1),E},r.assignmentPattern=function(g,y){let _={type:"AssignmentPattern",left:g,right:y},E=l.AssignmentPattern;return a(E.left,_,"left",g,1),a(E.right,_,"right",y,1),_},r.awaitExpression=function(g){let y={type:"AwaitExpression",argument:g},_=l.AwaitExpression;return a(_.argument,y,"argument",g,1),y},r.bigIntLiteral=function(g){let y={type:"BigIntLiteral",value:g},_=l.BigIntLiteral;return a(_.value,y,"value",g),y},r.binaryExpression=function(g,y,_){let E={type:"BinaryExpression",operator:g,left:y,right:_},A=l.BinaryExpression;return a(A.operator,E,"operator",g),a(A.left,E,"left",y,1),a(A.right,E,"right",_,1),E},r.bindExpression=function(g,y){let _={type:"BindExpression",object:g,callee:y},E=l.BindExpression;return a(E.object,_,"object",g,1),a(E.callee,_,"callee",y,1),_},r.blockStatement=function(g,y=[]){let _={type:"BlockStatement",body:g,directives:y},E=l.BlockStatement;return a(E.body,_,"body",g,1),a(E.directives,_,"directives",y,1),_},r.booleanLiteral=function(g){let y={type:"BooleanLiteral",value:g},_=l.BooleanLiteral;return a(_.value,y,"value",g),y},r.booleanLiteralTypeAnnotation=function(g){let y={type:"BooleanLiteralTypeAnnotation",value:g},_=l.BooleanLiteralTypeAnnotation;return a(_.value,y,"value",g),y},r.booleanTypeAnnotation=function(){return{type:"BooleanTypeAnnotation"}},r.breakStatement=function(g=null){let y={type:"BreakStatement",label:g},_=l.BreakStatement;return a(_.label,y,"label",g,1),y},r.callExpression=function(g,y){let _={type:"CallExpression",callee:g,arguments:y},E=l.CallExpression;return a(E.callee,_,"callee",g,1),a(E.arguments,_,"arguments",y,1),_},r.catchClause=function(g=null,y){let _={type:"CatchClause",param:g,body:y},E=l.CatchClause;return a(E.param,_,"param",g,1),a(E.body,_,"body",y,1),_},r.classAccessorProperty=function(g,y=null,_=null,E=null,A=!1,S=!1){let T={type:"ClassAccessorProperty",key:g,value:y,typeAnnotation:_,decorators:E,computed:A,static:S},I=l.ClassAccessorProperty;return a(I.key,T,"key",g,1),a(I.value,T,"value",y,1),a(I.typeAnnotation,T,"typeAnnotation",_,1),a(I.decorators,T,"decorators",E,1),a(I.computed,T,"computed",A),a(I.static,T,"static",S),T},r.classBody=function(g){let y={type:"ClassBody",body:g},_=l.ClassBody;return a(_.body,y,"body",g,1),y},r.classDeclaration=function(g=null,y=null,_,E=null){let A={type:"ClassDeclaration",id:g,superClass:y,body:_,decorators:E},S=l.ClassDeclaration;return a(S.id,A,"id",g,1),a(S.superClass,A,"superClass",y,1),a(S.body,A,"body",_,1),a(S.decorators,A,"decorators",E,1),A},r.classExpression=function(g=null,y=null,_,E=null){let A={type:"ClassExpression",id:g,superClass:y,body:_,decorators:E},S=l.ClassExpression;return a(S.id,A,"id",g,1),a(S.superClass,A,"superClass",y,1),a(S.body,A,"body",_,1),a(S.decorators,A,"decorators",E,1),A},r.classImplements=function(g,y=null){let _={type:"ClassImplements",id:g,typeParameters:y},E=l.ClassImplements;return a(E.id,_,"id",g,1),a(E.typeParameters,_,"typeParameters",y,1),_},r.classMethod=function(g="method",y,_,E,A=!1,S=!1,T=!1,I=!1){let L={type:"ClassMethod",kind:g,key:y,params:_,body:E,computed:A,static:S,generator:T,async:I},x=l.ClassMethod;return a(x.kind,L,"kind",g),a(x.key,L,"key",y,1),a(x.params,L,"params",_,1),a(x.body,L,"body",E,1),a(x.computed,L,"computed",A),a(x.static,L,"static",S),a(x.generator,L,"generator",T),a(x.async,L,"async",I),L},r.classPrivateMethod=function(g="method",y,_,E,A=!1){let S={type:"ClassPrivateMethod",kind:g,key:y,params:_,body:E,static:A},T=l.ClassPrivateMethod;return a(T.kind,S,"kind",g),a(T.key,S,"key",y,1),a(T.params,S,"params",_,1),a(T.body,S,"body",E,1),a(T.static,S,"static",A),S},r.classPrivateProperty=function(g,y=null,_=null,E=!1){let A={type:"ClassPrivateProperty",key:g,value:y,decorators:_,static:E},S=l.ClassPrivateProperty;return a(S.key,A,"key",g,1),a(S.value,A,"value",y,1),a(S.decorators,A,"decorators",_,1),a(S.static,A,"static",E),A},r.classProperty=function(g,y=null,_=null,E=null,A=!1,S=!1){let T={type:"ClassProperty",key:g,value:y,typeAnnotation:_,decorators:E,computed:A,static:S},I=l.ClassProperty;return a(I.key,T,"key",g,1),a(I.value,T,"value",y,1),a(I.typeAnnotation,T,"typeAnnotation",_,1),a(I.decorators,T,"decorators",E,1),a(I.computed,T,"computed",A),a(I.static,T,"static",S),T},r.conditionalExpression=function(g,y,_){let E={type:"ConditionalExpression",test:g,consequent:y,alternate:_},A=l.ConditionalExpression;return a(A.test,E,"test",g,1),a(A.consequent,E,"consequent",y,1),a(A.alternate,E,"alternate",_,1),E},r.continueStatement=function(g=null){let y={type:"ContinueStatement",label:g},_=l.ContinueStatement;return a(_.label,y,"label",g,1),y},r.debuggerStatement=function(){return{type:"DebuggerStatement"}},r.decimalLiteral=function(g){let y={type:"DecimalLiteral",value:g},_=l.DecimalLiteral;return a(_.value,y,"value",g),y},r.declareClass=function(g,y=null,_=null,E){let A={type:"DeclareClass",id:g,typeParameters:y,extends:_,body:E},S=l.DeclareClass;return a(S.id,A,"id",g,1),a(S.typeParameters,A,"typeParameters",y,1),a(S.extends,A,"extends",_,1),a(S.body,A,"body",E,1),A},r.declareExportAllDeclaration=function(g){let y={type:"DeclareExportAllDeclaration",source:g},_=l.DeclareExportAllDeclaration;return a(_.source,y,"source",g,1),y},r.declareExportDeclaration=function(g=null,y=null,_=null){let E={type:"DeclareExportDeclaration",declaration:g,specifiers:y,source:_},A=l.DeclareExportDeclaration;return a(A.declaration,E,"declaration",g,1),a(A.specifiers,E,"specifiers",y,1),a(A.source,E,"source",_,1),E},r.declareFunction=function(g){let y={type:"DeclareFunction",id:g},_=l.DeclareFunction;return a(_.id,y,"id",g,1),y},r.declareInterface=function(g,y=null,_=null,E){let A={type:"DeclareInterface",id:g,typeParameters:y,extends:_,body:E},S=l.DeclareInterface;return a(S.id,A,"id",g,1),a(S.typeParameters,A,"typeParameters",y,1),a(S.extends,A,"extends",_,1),a(S.body,A,"body",E,1),A},r.declareModule=function(g,y,_=null){let E={type:"DeclareModule",id:g,body:y,kind:_},A=l.DeclareModule;return a(A.id,E,"id",g,1),a(A.body,E,"body",y,1),a(A.kind,E,"kind",_),E},r.declareModuleExports=function(g){let y={type:"DeclareModuleExports",typeAnnotation:g},_=l.DeclareModuleExports;return a(_.typeAnnotation,y,"typeAnnotation",g,1),y},r.declareOpaqueType=function(g,y=null,_=null){let E={type:"DeclareOpaqueType",id:g,typeParameters:y,supertype:_},A=l.DeclareOpaqueType;return a(A.id,E,"id",g,1),a(A.typeParameters,E,"typeParameters",y,1),a(A.supertype,E,"supertype",_,1),E},r.declareTypeAlias=function(g,y=null,_){let E={type:"DeclareTypeAlias",id:g,typeParameters:y,right:_},A=l.DeclareTypeAlias;return a(A.id,E,"id",g,1),a(A.typeParameters,E,"typeParameters",y,1),a(A.right,E,"right",_,1),E},r.declareVariable=function(g){let y={type:"DeclareVariable",id:g},_=l.DeclareVariable;return a(_.id,y,"id",g,1),y},r.declaredPredicate=function(g){let y={type:"DeclaredPredicate",value:g},_=l.DeclaredPredicate;return a(_.value,y,"value",g,1),y},r.decorator=function(g){let y={type:"Decorator",expression:g},_=l.Decorator;return a(_.expression,y,"expression",g,1),y},r.directive=function(g){let y={type:"Directive",value:g},_=l.Directive;return a(_.value,y,"value",g,1),y},r.directiveLiteral=function(g){let y={type:"DirectiveLiteral",value:g},_=l.DirectiveLiteral;return a(_.value,y,"value",g),y},r.doExpression=function(g,y=!1){let _={type:"DoExpression",body:g,async:y},E=l.DoExpression;return a(E.body,_,"body",g,1),a(E.async,_,"async",y),_},r.doWhileStatement=function(g,y){let _={type:"DoWhileStatement",test:g,body:y},E=l.DoWhileStatement;return a(E.test,_,"test",g,1),a(E.body,_,"body",y,1),_},r.emptyStatement=function(){return{type:"EmptyStatement"}},r.emptyTypeAnnotation=function(){return{type:"EmptyTypeAnnotation"}},r.enumBooleanBody=function(g){let y={type:"EnumBooleanBody",members:g,explicitType:null,hasUnknownMembers:null},_=l.EnumBooleanBody;return a(_.members,y,"members",g,1),y},r.enumBooleanMember=function(g){let y={type:"EnumBooleanMember",id:g,init:null},_=l.EnumBooleanMember;return a(_.id,y,"id",g,1),y},r.enumDeclaration=function(g,y){let _={type:"EnumDeclaration",id:g,body:y},E=l.EnumDeclaration;return a(E.id,_,"id",g,1),a(E.body,_,"body",y,1),_},r.enumDefaultedMember=function(g){let y={type:"EnumDefaultedMember",id:g},_=l.EnumDefaultedMember;return a(_.id,y,"id",g,1),y},r.enumNumberBody=function(g){let y={type:"EnumNumberBody",members:g,explicitType:null,hasUnknownMembers:null},_=l.EnumNumberBody;return a(_.members,y,"members",g,1),y},r.enumNumberMember=function(g,y){let _={type:"EnumNumberMember",id:g,init:y},E=l.EnumNumberMember;return a(E.id,_,"id",g,1),a(E.init,_,"init",y,1),_},r.enumStringBody=function(g){let y={type:"EnumStringBody",members:g,explicitType:null,hasUnknownMembers:null},_=l.EnumStringBody;return a(_.members,y,"members",g,1),y},r.enumStringMember=function(g,y){let _={type:"EnumStringMember",id:g,init:y},E=l.EnumStringMember;return a(E.id,_,"id",g,1),a(E.init,_,"init",y,1),_},r.enumSymbolBody=function(g){let y={type:"EnumSymbolBody",members:g,hasUnknownMembers:null},_=l.EnumSymbolBody;return a(_.members,y,"members",g,1),y},r.existsTypeAnnotation=function(){return{type:"ExistsTypeAnnotation"}},r.exportAllDeclaration=function(g){let y={type:"ExportAllDeclaration",source:g},_=l.ExportAllDeclaration;return a(_.source,y,"source",g,1),y},r.exportDefaultDeclaration=function(g){let y={type:"ExportDefaultDeclaration",declaration:g},_=l.ExportDefaultDeclaration;return a(_.declaration,y,"declaration",g,1),y},r.exportDefaultSpecifier=function(g){let y={type:"ExportDefaultSpecifier",exported:g},_=l.ExportDefaultSpecifier;return a(_.exported,y,"exported",g,1),y},r.exportNamedDeclaration=function(g=null,y=[],_=null){let E={type:"ExportNamedDeclaration",declaration:g,specifiers:y,source:_},A=l.ExportNamedDeclaration;return a(A.declaration,E,"declaration",g,1),a(A.specifiers,E,"specifiers",y,1),a(A.source,E,"source",_,1),E},r.exportNamespaceSpecifier=function(g){let y={type:"ExportNamespaceSpecifier",exported:g},_=l.ExportNamespaceSpecifier;return a(_.exported,y,"exported",g,1),y},r.exportSpecifier=function(g,y){let _={type:"ExportSpecifier",local:g,exported:y},E=l.ExportSpecifier;return a(E.local,_,"local",g,1),a(E.exported,_,"exported",y,1),_},r.expressionStatement=function(g){let y={type:"ExpressionStatement",expression:g},_=l.ExpressionStatement;return a(_.expression,y,"expression",g,1),y},r.file=function(g,y=null,_=null){let E={type:"File",program:g,comments:y,tokens:_},A=l.File;return a(A.program,E,"program",g,1),a(A.comments,E,"comments",y,1),a(A.tokens,E,"tokens",_),E},r.forInStatement=function(g,y,_){let E={type:"ForInStatement",left:g,right:y,body:_},A=l.ForInStatement;return a(A.left,E,"left",g,1),a(A.right,E,"right",y,1),a(A.body,E,"body",_,1),E},r.forOfStatement=function(g,y,_,E=!1){let A={type:"ForOfStatement",left:g,right:y,body:_,await:E},S=l.ForOfStatement;return a(S.left,A,"left",g,1),a(S.right,A,"right",y,1),a(S.body,A,"body",_,1),a(S.await,A,"await",E),A},r.forStatement=function(g=null,y=null,_=null,E){let A={type:"ForStatement",init:g,test:y,update:_,body:E},S=l.ForStatement;return a(S.init,A,"init",g,1),a(S.test,A,"test",y,1),a(S.update,A,"update",_,1),a(S.body,A,"body",E,1),A},r.functionDeclaration=function(g=null,y,_,E=!1,A=!1){let S={type:"FunctionDeclaration",id:g,params:y,body:_,generator:E,async:A},T=l.FunctionDeclaration;return a(T.id,S,"id",g,1),a(T.params,S,"params",y,1),a(T.body,S,"body",_,1),a(T.generator,S,"generator",E),a(T.async,S,"async",A),S},r.functionExpression=function(g=null,y,_,E=!1,A=!1){let S={type:"FunctionExpression",id:g,params:y,body:_,generator:E,async:A},T=l.FunctionExpression;return a(T.id,S,"id",g,1),a(T.params,S,"params",y,1),a(T.body,S,"body",_,1),a(T.generator,S,"generator",E),a(T.async,S,"async",A),S},r.functionTypeAnnotation=function(g=null,y,_=null,E){let A={type:"FunctionTypeAnnotation",typeParameters:g,params:y,rest:_,returnType:E},S=l.FunctionTypeAnnotation;return a(S.typeParameters,A,"typeParameters",g,1),a(S.params,A,"params",y,1),a(S.rest,A,"rest",_,1),a(S.returnType,A,"returnType",E,1),A},r.functionTypeParam=function(g=null,y){let _={type:"FunctionTypeParam",name:g,typeAnnotation:y},E=l.FunctionTypeParam;return a(E.name,_,"name",g,1),a(E.typeAnnotation,_,"typeAnnotation",y,1),_},r.genericTypeAnnotation=function(g,y=null){let _={type:"GenericTypeAnnotation",id:g,typeParameters:y},E=l.GenericTypeAnnotation;return a(E.id,_,"id",g,1),a(E.typeParameters,_,"typeParameters",y,1),_},r.identifier=function(g){let y={type:"Identifier",name:g},_=l.Identifier;return a(_.name,y,"name",g),y},r.ifStatement=function(g,y,_=null){let E={type:"IfStatement",test:g,consequent:y,alternate:_},A=l.IfStatement;return a(A.test,E,"test",g,1),a(A.consequent,E,"consequent",y,1),a(A.alternate,E,"alternate",_,1),E},r.import=function(){return{type:"Import"}},r.importAttribute=function(g,y){let _={type:"ImportAttribute",key:g,value:y},E=l.ImportAttribute;return a(E.key,_,"key",g,1),a(E.value,_,"value",y,1),_},r.importDeclaration=function(g,y){let _={type:"ImportDeclaration",specifiers:g,source:y},E=l.ImportDeclaration;return a(E.specifiers,_,"specifiers",g,1),a(E.source,_,"source",y,1),_},r.importDefaultSpecifier=function(g){let y={type:"ImportDefaultSpecifier",local:g},_=l.ImportDefaultSpecifier;return a(_.local,y,"local",g,1),y},r.importExpression=function(g,y=null){let _={type:"ImportExpression",source:g,options:y},E=l.ImportExpression;return a(E.source,_,"source",g,1),a(E.options,_,"options",y,1),_},r.importNamespaceSpecifier=function(g){let y={type:"ImportNamespaceSpecifier",local:g},_=l.ImportNamespaceSpecifier;return a(_.local,y,"local",g,1),y},r.importSpecifier=function(g,y){let _={type:"ImportSpecifier",local:g,imported:y},E=l.ImportSpecifier;return a(E.local,_,"local",g,1),a(E.imported,_,"imported",y,1),_},r.indexedAccessType=function(g,y){let _={type:"IndexedAccessType",objectType:g,indexType:y},E=l.IndexedAccessType;return a(E.objectType,_,"objectType",g,1),a(E.indexType,_,"indexType",y,1),_},r.inferredPredicate=function(){return{type:"InferredPredicate"}},r.interfaceDeclaration=function(g,y=null,_=null,E){let A={type:"InterfaceDeclaration",id:g,typeParameters:y,extends:_,body:E},S=l.InterfaceDeclaration;return a(S.id,A,"id",g,1),a(S.typeParameters,A,"typeParameters",y,1),a(S.extends,A,"extends",_,1),a(S.body,A,"body",E,1),A},r.interfaceExtends=function(g,y=null){let _={type:"InterfaceExtends",id:g,typeParameters:y},E=l.InterfaceExtends;return a(E.id,_,"id",g,1),a(E.typeParameters,_,"typeParameters",y,1),_},r.interfaceTypeAnnotation=function(g=null,y){let _={type:"InterfaceTypeAnnotation",extends:g,body:y},E=l.InterfaceTypeAnnotation;return a(E.extends,_,"extends",g,1),a(E.body,_,"body",y,1),_},r.interpreterDirective=function(g){let y={type:"InterpreterDirective",value:g},_=l.InterpreterDirective;return a(_.value,y,"value",g),y},r.intersectionTypeAnnotation=function(g){let y={type:"IntersectionTypeAnnotation",types:g},_=l.IntersectionTypeAnnotation;return a(_.types,y,"types",g,1),y},r.jSXAttribute=r.jsxAttribute=function(g,y=null){let _={type:"JSXAttribute",name:g,value:y},E=l.JSXAttribute;return a(E.name,_,"name",g,1),a(E.value,_,"value",y,1),_},r.jSXClosingElement=r.jsxClosingElement=function(g){let y={type:"JSXClosingElement",name:g},_=l.JSXClosingElement;return a(_.name,y,"name",g,1),y},r.jSXClosingFragment=r.jsxClosingFragment=function(){return{type:"JSXClosingFragment"}},r.jSXElement=r.jsxElement=function(g,y=null,_,E=null){let A={type:"JSXElement",openingElement:g,closingElement:y,children:_,selfClosing:E},S=l.JSXElement;return a(S.openingElement,A,"openingElement",g,1),a(S.closingElement,A,"closingElement",y,1),a(S.children,A,"children",_,1),a(S.selfClosing,A,"selfClosing",E),A},r.jSXEmptyExpression=r.jsxEmptyExpression=function(){return{type:"JSXEmptyExpression"}},r.jSXExpressionContainer=r.jsxExpressionContainer=function(g){let y={type:"JSXExpressionContainer",expression:g},_=l.JSXExpressionContainer;return a(_.expression,y,"expression",g,1),y},r.jSXFragment=r.jsxFragment=function(g,y,_){let E={type:"JSXFragment",openingFragment:g,closingFragment:y,children:_},A=l.JSXFragment;return a(A.openingFragment,E,"openingFragment",g,1),a(A.closingFragment,E,"closingFragment",y,1),a(A.children,E,"children",_,1),E},r.jSXIdentifier=r.jsxIdentifier=function(g){let y={type:"JSXIdentifier",name:g},_=l.JSXIdentifier;return a(_.name,y,"name",g),y},r.jSXMemberExpression=r.jsxMemberExpression=function(g,y){let _={type:"JSXMemberExpression",object:g,property:y},E=l.JSXMemberExpression;return a(E.object,_,"object",g,1),a(E.property,_,"property",y,1),_},r.jSXNamespacedName=r.jsxNamespacedName=function(g,y){let _={type:"JSXNamespacedName",namespace:g,name:y},E=l.JSXNamespacedName;return a(E.namespace,_,"namespace",g,1),a(E.name,_,"name",y,1),_},r.jSXOpeningElement=r.jsxOpeningElement=function(g,y,_=!1){let E={type:"JSXOpeningElement",name:g,attributes:y,selfClosing:_},A=l.JSXOpeningElement;return a(A.name,E,"name",g,1),a(A.attributes,E,"attributes",y,1),a(A.selfClosing,E,"selfClosing",_),E},r.jSXOpeningFragment=r.jsxOpeningFragment=function(){return{type:"JSXOpeningFragment"}},r.jSXSpreadAttribute=r.jsxSpreadAttribute=function(g){let y={type:"JSXSpreadAttribute",argument:g},_=l.JSXSpreadAttribute;return a(_.argument,y,"argument",g,1),y},r.jSXSpreadChild=r.jsxSpreadChild=function(g){let y={type:"JSXSpreadChild",expression:g},_=l.JSXSpreadChild;return a(_.expression,y,"expression",g,1),y},r.jSXText=r.jsxText=function(g){let y={type:"JSXText",value:g},_=l.JSXText;return a(_.value,y,"value",g),y},r.labeledStatement=function(g,y){let _={type:"LabeledStatement",label:g,body:y},E=l.LabeledStatement;return a(E.label,_,"label",g,1),a(E.body,_,"body",y,1),_},r.logicalExpression=function(g,y,_){let E={type:"LogicalExpression",operator:g,left:y,right:_},A=l.LogicalExpression;return a(A.operator,E,"operator",g),a(A.left,E,"left",y,1),a(A.right,E,"right",_,1),E},r.memberExpression=function(g,y,_=!1,E=null){let A={type:"MemberExpression",object:g,property:y,computed:_,optional:E},S=l.MemberExpression;return a(S.object,A,"object",g,1),a(S.property,A,"property",y,1),a(S.computed,A,"computed",_),a(S.optional,A,"optional",E),A},r.metaProperty=function(g,y){let _={type:"MetaProperty",meta:g,property:y},E=l.MetaProperty;return a(E.meta,_,"meta",g,1),a(E.property,_,"property",y,1),_},r.mixedTypeAnnotation=function(){return{type:"MixedTypeAnnotation"}},r.moduleExpression=function(g){let y={type:"ModuleExpression",body:g},_=l.ModuleExpression;return a(_.body,y,"body",g,1),y},r.newExpression=function(g,y){let _={type:"NewExpression",callee:g,arguments:y},E=l.NewExpression;return a(E.callee,_,"callee",g,1),a(E.arguments,_,"arguments",y,1),_},r.noop=function(){return{type:"Noop"}},r.nullLiteral=function(){return{type:"NullLiteral"}},r.nullLiteralTypeAnnotation=function(){return{type:"NullLiteralTypeAnnotation"}},r.nullableTypeAnnotation=function(g){let y={type:"NullableTypeAnnotation",typeAnnotation:g},_=l.NullableTypeAnnotation;return a(_.typeAnnotation,y,"typeAnnotation",g,1),y},r.numberLiteral=function(g){return(0,u.default)("NumberLiteral","NumericLiteral","The node type "),p(g)},r.numberLiteralTypeAnnotation=function(g){let y={type:"NumberLiteralTypeAnnotation",value:g},_=l.NumberLiteralTypeAnnotation;return a(_.value,y,"value",g),y},r.numberTypeAnnotation=function(){return{type:"NumberTypeAnnotation"}},r.numericLiteral=p,r.objectExpression=function(g){let y={type:"ObjectExpression",properties:g},_=l.ObjectExpression;return a(_.properties,y,"properties",g,1),y},r.objectMethod=function(g="method",y,_,E,A=!1,S=!1,T=!1){let I={type:"ObjectMethod",kind:g,key:y,params:_,body:E,computed:A,generator:S,async:T},L=l.ObjectMethod;return a(L.kind,I,"kind",g),a(L.key,I,"key",y,1),a(L.params,I,"params",_,1),a(L.body,I,"body",E,1),a(L.computed,I,"computed",A),a(L.generator,I,"generator",S),a(L.async,I,"async",T),I},r.objectPattern=function(g){let y={type:"ObjectPattern",properties:g},_=l.ObjectPattern;return a(_.properties,y,"properties",g,1),y},r.objectProperty=function(g,y,_=!1,E=!1,A=null){let S={type:"ObjectProperty",key:g,value:y,computed:_,shorthand:E,decorators:A},T=l.ObjectProperty;return a(T.key,S,"key",g,1),a(T.value,S,"value",y,1),a(T.computed,S,"computed",_),a(T.shorthand,S,"shorthand",E),a(T.decorators,S,"decorators",A,1),S},r.objectTypeAnnotation=function(g,y=[],_=[],E=[],A=!1){let S={type:"ObjectTypeAnnotation",properties:g,indexers:y,callProperties:_,internalSlots:E,exact:A},T=l.ObjectTypeAnnotation;return a(T.properties,S,"properties",g,1),a(T.indexers,S,"indexers",y,1),a(T.callProperties,S,"callProperties",_,1),a(T.internalSlots,S,"internalSlots",E,1),a(T.exact,S,"exact",A),S},r.objectTypeCallProperty=function(g){let y={type:"ObjectTypeCallProperty",value:g,static:null},_=l.ObjectTypeCallProperty;return a(_.value,y,"value",g,1),y},r.objectTypeIndexer=function(g=null,y,_,E=null){let A={type:"ObjectTypeIndexer",id:g,key:y,value:_,variance:E,static:null},S=l.ObjectTypeIndexer;return a(S.id,A,"id",g,1),a(S.key,A,"key",y,1),a(S.value,A,"value",_,1),a(S.variance,A,"variance",E,1),A},r.objectTypeInternalSlot=function(g,y,_,E,A){let S={type:"ObjectTypeInternalSlot",id:g,value:y,optional:_,static:E,method:A},T=l.ObjectTypeInternalSlot;return a(T.id,S,"id",g,1),a(T.value,S,"value",y,1),a(T.optional,S,"optional",_),a(T.static,S,"static",E),a(T.method,S,"method",A),S},r.objectTypeProperty=function(g,y,_=null){let E={type:"ObjectTypeProperty",key:g,value:y,variance:_,kind:null,method:null,optional:null,proto:null,static:null},A=l.ObjectTypeProperty;return a(A.key,E,"key",g,1),a(A.value,E,"value",y,1),a(A.variance,E,"variance",_,1),E},r.objectTypeSpreadProperty=function(g){let y={type:"ObjectTypeSpreadProperty",argument:g},_=l.ObjectTypeSpreadProperty;return a(_.argument,y,"argument",g,1),y},r.opaqueType=function(g,y=null,_=null,E){let A={type:"OpaqueType",id:g,typeParameters:y,supertype:_,impltype:E},S=l.OpaqueType;return a(S.id,A,"id",g,1),a(S.typeParameters,A,"typeParameters",y,1),a(S.supertype,A,"supertype",_,1),a(S.impltype,A,"impltype",E,1),A},r.optionalCallExpression=function(g,y,_){let E={type:"OptionalCallExpression",callee:g,arguments:y,optional:_},A=l.OptionalCallExpression;return a(A.callee,E,"callee",g,1),a(A.arguments,E,"arguments",y,1),a(A.optional,E,"optional",_),E},r.optionalIndexedAccessType=function(g,y){let _={type:"OptionalIndexedAccessType",objectType:g,indexType:y,optional:null},E=l.OptionalIndexedAccessType;return a(E.objectType,_,"objectType",g,1),a(E.indexType,_,"indexType",y,1),_},r.optionalMemberExpression=function(g,y,_=!1,E){let A={type:"OptionalMemberExpression",object:g,property:y,computed:_,optional:E},S=l.OptionalMemberExpression;return a(S.object,A,"object",g,1),a(S.property,A,"property",y,1),a(S.computed,A,"computed",_),a(S.optional,A,"optional",E),A},r.parenthesizedExpression=function(g){let y={type:"ParenthesizedExpression",expression:g},_=l.ParenthesizedExpression;return a(_.expression,y,"expression",g,1),y},r.pipelineBareFunction=function(g){let y={type:"PipelineBareFunction",callee:g},_=l.PipelineBareFunction;return a(_.callee,y,"callee",g,1),y},r.pipelinePrimaryTopicReference=function(){return{type:"PipelinePrimaryTopicReference"}},r.pipelineTopicExpression=function(g){let y={type:"PipelineTopicExpression",expression:g},_=l.PipelineTopicExpression;return a(_.expression,y,"expression",g,1),y},r.placeholder=function(g,y){let _={type:"Placeholder",expectedNode:g,name:y},E=l.Placeholder;return a(E.expectedNode,_,"expectedNode",g),a(E.name,_,"name",y,1),_},r.privateName=function(g){let y={type:"PrivateName",id:g},_=l.PrivateName;return a(_.id,y,"id",g,1),y},r.program=function(g,y=[],_="script",E=null){let A={type:"Program",body:g,directives:y,sourceType:_,interpreter:E},S=l.Program;return a(S.body,A,"body",g,1),a(S.directives,A,"directives",y,1),a(S.sourceType,A,"sourceType",_),a(S.interpreter,A,"interpreter",E,1),A},r.qualifiedTypeIdentifier=function(g,y){let _={type:"QualifiedTypeIdentifier",id:g,qualification:y},E=l.QualifiedTypeIdentifier;return a(E.id,_,"id",g,1),a(E.qualification,_,"qualification",y,1),_},r.recordExpression=function(g){let y={type:"RecordExpression",properties:g},_=l.RecordExpression;return a(_.properties,y,"properties",g,1),y},r.regExpLiteral=d,r.regexLiteral=function(g,y=""){return(0,u.default)("RegexLiteral","RegExpLiteral","The node type "),d(g,y)},r.restElement=h,r.restProperty=function(g){return(0,u.default)("RestProperty","RestElement","The node type "),h(g)},r.returnStatement=function(g=null){let y={type:"ReturnStatement",argument:g},_=l.ReturnStatement;return a(_.argument,y,"argument",g,1),y},r.sequenceExpression=function(g){let y={type:"SequenceExpression",expressions:g},_=l.SequenceExpression;return a(_.expressions,y,"expressions",g,1),y},r.spreadElement=m,r.spreadProperty=function(g){return(0,u.default)("SpreadProperty","SpreadElement","The node type "),m(g)},r.staticBlock=function(g){let y={type:"StaticBlock",body:g},_=l.StaticBlock;return a(_.body,y,"body",g,1),y},r.stringLiteral=function(g){let y={type:"StringLiteral",value:g},_=l.StringLiteral;return a(_.value,y,"value",g),y},r.stringLiteralTypeAnnotation=function(g){let y={type:"StringLiteralTypeAnnotation",value:g},_=l.StringLiteralTypeAnnotation;return a(_.value,y,"value",g),y},r.stringTypeAnnotation=function(){return{type:"StringTypeAnnotation"}},r.super=function(){return{type:"Super"}},r.switchCase=function(g=null,y){let _={type:"SwitchCase",test:g,consequent:y},E=l.SwitchCase;return a(E.test,_,"test",g,1),a(E.consequent,_,"consequent",y,1),_},r.switchStatement=function(g,y){let _={type:"SwitchStatement",discriminant:g,cases:y},E=l.SwitchStatement;return a(E.discriminant,_,"discriminant",g,1),a(E.cases,_,"cases",y,1),_},r.symbolTypeAnnotation=function(){return{type:"SymbolTypeAnnotation"}},r.taggedTemplateExpression=function(g,y){let _={type:"TaggedTemplateExpression",tag:g,quasi:y},E=l.TaggedTemplateExpression;return a(E.tag,_,"tag",g,1),a(E.quasi,_,"quasi",y,1),_},r.templateElement=function(g,y=!1){let _={type:"TemplateElement",value:g,tail:y},E=l.TemplateElement;return a(E.value,_,"value",g),a(E.tail,_,"tail",y),_},r.templateLiteral=function(g,y){let _={type:"TemplateLiteral",quasis:g,expressions:y},E=l.TemplateLiteral;return a(E.quasis,_,"quasis",g,1),a(E.expressions,_,"expressions",y,1),_},r.thisExpression=function(){return{type:"ThisExpression"}},r.thisTypeAnnotation=function(){return{type:"ThisTypeAnnotation"}},r.throwStatement=function(g){let y={type:"ThrowStatement",argument:g},_=l.ThrowStatement;return a(_.argument,y,"argument",g,1),y},r.topicReference=function(){return{type:"TopicReference"}},r.tryStatement=function(g,y=null,_=null){let E={type:"TryStatement",block:g,handler:y,finalizer:_},A=l.TryStatement;return a(A.block,E,"block",g,1),a(A.handler,E,"handler",y,1),a(A.finalizer,E,"finalizer",_,1),E},r.tSAnyKeyword=r.tsAnyKeyword=function(){return{type:"TSAnyKeyword"}},r.tSArrayType=r.tsArrayType=function(g){let y={type:"TSArrayType",elementType:g},_=l.TSArrayType;return a(_.elementType,y,"elementType",g,1),y},r.tSAsExpression=r.tsAsExpression=function(g,y){let _={type:"TSAsExpression",expression:g,typeAnnotation:y},E=l.TSAsExpression;return a(E.expression,_,"expression",g,1),a(E.typeAnnotation,_,"typeAnnotation",y,1),_},r.tSBigIntKeyword=r.tsBigIntKeyword=function(){return{type:"TSBigIntKeyword"}},r.tSBooleanKeyword=r.tsBooleanKeyword=function(){return{type:"TSBooleanKeyword"}},r.tSCallSignatureDeclaration=r.tsCallSignatureDeclaration=function(g=null,y,_=null){let E={type:"TSCallSignatureDeclaration",typeParameters:g,parameters:y,typeAnnotation:_},A=l.TSCallSignatureDeclaration;return a(A.typeParameters,E,"typeParameters",g,1),a(A.parameters,E,"parameters",y,1),a(A.typeAnnotation,E,"typeAnnotation",_,1),E},r.tSConditionalType=r.tsConditionalType=function(g,y,_,E){let A={type:"TSConditionalType",checkType:g,extendsType:y,trueType:_,falseType:E},S=l.TSConditionalType;return a(S.checkType,A,"checkType",g,1),a(S.extendsType,A,"extendsType",y,1),a(S.trueType,A,"trueType",_,1),a(S.falseType,A,"falseType",E,1),A},r.tSConstructSignatureDeclaration=r.tsConstructSignatureDeclaration=function(g=null,y,_=null){let E={type:"TSConstructSignatureDeclaration",typeParameters:g,parameters:y,typeAnnotation:_},A=l.TSConstructSignatureDeclaration;return a(A.typeParameters,E,"typeParameters",g,1),a(A.parameters,E,"parameters",y,1),a(A.typeAnnotation,E,"typeAnnotation",_,1),E},r.tSConstructorType=r.tsConstructorType=function(g=null,y,_=null){let E={type:"TSConstructorType",typeParameters:g,parameters:y,typeAnnotation:_},A=l.TSConstructorType;return a(A.typeParameters,E,"typeParameters",g,1),a(A.parameters,E,"parameters",y,1),a(A.typeAnnotation,E,"typeAnnotation",_,1),E},r.tSDeclareFunction=r.tsDeclareFunction=function(g=null,y=null,_,E=null){let A={type:"TSDeclareFunction",id:g,typeParameters:y,params:_,returnType:E},S=l.TSDeclareFunction;return a(S.id,A,"id",g,1),a(S.typeParameters,A,"typeParameters",y,1),a(S.params,A,"params",_,1),a(S.returnType,A,"returnType",E,1),A},r.tSDeclareMethod=r.tsDeclareMethod=function(g=null,y,_=null,E,A=null){let S={type:"TSDeclareMethod",decorators:g,key:y,typeParameters:_,params:E,returnType:A},T=l.TSDeclareMethod;return a(T.decorators,S,"decorators",g,1),a(T.key,S,"key",y,1),a(T.typeParameters,S,"typeParameters",_,1),a(T.params,S,"params",E,1),a(T.returnType,S,"returnType",A,1),S},r.tSEnumDeclaration=r.tsEnumDeclaration=function(g,y){let _={type:"TSEnumDeclaration",id:g,members:y},E=l.TSEnumDeclaration;return a(E.id,_,"id",g,1),a(E.members,_,"members",y,1),_},r.tSEnumMember=r.tsEnumMember=function(g,y=null){let _={type:"TSEnumMember",id:g,initializer:y},E=l.TSEnumMember;return a(E.id,_,"id",g,1),a(E.initializer,_,"initializer",y,1),_},r.tSExportAssignment=r.tsExportAssignment=function(g){let y={type:"TSExportAssignment",expression:g},_=l.TSExportAssignment;return a(_.expression,y,"expression",g,1),y},r.tSExpressionWithTypeArguments=r.tsExpressionWithTypeArguments=function(g,y=null){let _={type:"TSExpressionWithTypeArguments",expression:g,typeParameters:y},E=l.TSExpressionWithTypeArguments;return a(E.expression,_,"expression",g,1),a(E.typeParameters,_,"typeParameters",y,1),_},r.tSExternalModuleReference=r.tsExternalModuleReference=function(g){let y={type:"TSExternalModuleReference",expression:g},_=l.TSExternalModuleReference;return a(_.expression,y,"expression",g,1),y},r.tSFunctionType=r.tsFunctionType=function(g=null,y,_=null){let E={type:"TSFunctionType",typeParameters:g,parameters:y,typeAnnotation:_},A=l.TSFunctionType;return a(A.typeParameters,E,"typeParameters",g,1),a(A.parameters,E,"parameters",y,1),a(A.typeAnnotation,E,"typeAnnotation",_,1),E},r.tSImportEqualsDeclaration=r.tsImportEqualsDeclaration=function(g,y){let _={type:"TSImportEqualsDeclaration",id:g,moduleReference:y,isExport:null},E=l.TSImportEqualsDeclaration;return a(E.id,_,"id",g,1),a(E.moduleReference,_,"moduleReference",y,1),_},r.tSImportType=r.tsImportType=function(g,y=null,_=null){let E={type:"TSImportType",argument:g,qualifier:y,typeParameters:_},A=l.TSImportType;return a(A.argument,E,"argument",g,1),a(A.qualifier,E,"qualifier",y,1),a(A.typeParameters,E,"typeParameters",_,1),E},r.tSIndexSignature=r.tsIndexSignature=function(g,y=null){let _={type:"TSIndexSignature",parameters:g,typeAnnotation:y},E=l.TSIndexSignature;return a(E.parameters,_,"parameters",g,1),a(E.typeAnnotation,_,"typeAnnotation",y,1),_},r.tSIndexedAccessType=r.tsIndexedAccessType=function(g,y){let _={type:"TSIndexedAccessType",objectType:g,indexType:y},E=l.TSIndexedAccessType;return a(E.objectType,_,"objectType",g,1),a(E.indexType,_,"indexType",y,1),_},r.tSInferType=r.tsInferType=function(g){let y={type:"TSInferType",typeParameter:g},_=l.TSInferType;return a(_.typeParameter,y,"typeParameter",g,1),y},r.tSInstantiationExpression=r.tsInstantiationExpression=function(g,y=null){let _={type:"TSInstantiationExpression",expression:g,typeParameters:y},E=l.TSInstantiationExpression;return a(E.expression,_,"expression",g,1),a(E.typeParameters,_,"typeParameters",y,1),_},r.tSInterfaceBody=r.tsInterfaceBody=function(g){let y={type:"TSInterfaceBody",body:g},_=l.TSInterfaceBody;return a(_.body,y,"body",g,1),y},r.tSInterfaceDeclaration=r.tsInterfaceDeclaration=function(g,y=null,_=null,E){let A={type:"TSInterfaceDeclaration",id:g,typeParameters:y,extends:_,body:E},S=l.TSInterfaceDeclaration;return a(S.id,A,"id",g,1),a(S.typeParameters,A,"typeParameters",y,1),a(S.extends,A,"extends",_,1),a(S.body,A,"body",E,1),A},r.tSIntersectionType=r.tsIntersectionType=function(g){let y={type:"TSIntersectionType",types:g},_=l.TSIntersectionType;return a(_.types,y,"types",g,1),y},r.tSIntrinsicKeyword=r.tsIntrinsicKeyword=function(){return{type:"TSIntrinsicKeyword"}},r.tSLiteralType=r.tsLiteralType=function(g){let y={type:"TSLiteralType",literal:g},_=l.TSLiteralType;return a(_.literal,y,"literal",g,1),y},r.tSMappedType=r.tsMappedType=function(g,y=null,_=null){let E={type:"TSMappedType",typeParameter:g,typeAnnotation:y,nameType:_},A=l.TSMappedType;return a(A.typeParameter,E,"typeParameter",g,1),a(A.typeAnnotation,E,"typeAnnotation",y,1),a(A.nameType,E,"nameType",_,1),E},r.tSMethodSignature=r.tsMethodSignature=function(g,y=null,_,E=null){let A={type:"TSMethodSignature",key:g,typeParameters:y,parameters:_,typeAnnotation:E,kind:null},S=l.TSMethodSignature;return a(S.key,A,"key",g,1),a(S.typeParameters,A,"typeParameters",y,1),a(S.parameters,A,"parameters",_,1),a(S.typeAnnotation,A,"typeAnnotation",E,1),A},r.tSModuleBlock=r.tsModuleBlock=function(g){let y={type:"TSModuleBlock",body:g},_=l.TSModuleBlock;return a(_.body,y,"body",g,1),y},r.tSModuleDeclaration=r.tsModuleDeclaration=function(g,y){let _={type:"TSModuleDeclaration",id:g,body:y},E=l.TSModuleDeclaration;return a(E.id,_,"id",g,1),a(E.body,_,"body",y,1),_},r.tSNamedTupleMember=r.tsNamedTupleMember=function(g,y,_=!1){let E={type:"TSNamedTupleMember",label:g,elementType:y,optional:_},A=l.TSNamedTupleMember;return a(A.label,E,"label",g,1),a(A.elementType,E,"elementType",y,1),a(A.optional,E,"optional",_),E},r.tSNamespaceExportDeclaration=r.tsNamespaceExportDeclaration=function(g){let y={type:"TSNamespaceExportDeclaration",id:g},_=l.TSNamespaceExportDeclaration;return a(_.id,y,"id",g,1),y},r.tSNeverKeyword=r.tsNeverKeyword=function(){return{type:"TSNeverKeyword"}},r.tSNonNullExpression=r.tsNonNullExpression=function(g){let y={type:"TSNonNullExpression",expression:g},_=l.TSNonNullExpression;return a(_.expression,y,"expression",g,1),y},r.tSNullKeyword=r.tsNullKeyword=function(){return{type:"TSNullKeyword"}},r.tSNumberKeyword=r.tsNumberKeyword=function(){return{type:"TSNumberKeyword"}},r.tSObjectKeyword=r.tsObjectKeyword=function(){return{type:"TSObjectKeyword"}},r.tSOptionalType=r.tsOptionalType=function(g){let y={type:"TSOptionalType",typeAnnotation:g},_=l.TSOptionalType;return a(_.typeAnnotation,y,"typeAnnotation",g,1),y},r.tSParameterProperty=r.tsParameterProperty=function(g){let y={type:"TSParameterProperty",parameter:g},_=l.TSParameterProperty;return a(_.parameter,y,"parameter",g,1),y},r.tSParenthesizedType=r.tsParenthesizedType=function(g){let y={type:"TSParenthesizedType",typeAnnotation:g},_=l.TSParenthesizedType;return a(_.typeAnnotation,y,"typeAnnotation",g,1),y},r.tSPropertySignature=r.tsPropertySignature=function(g,y=null){let _={type:"TSPropertySignature",key:g,typeAnnotation:y,kind:null},E=l.TSPropertySignature;return a(E.key,_,"key",g,1),a(E.typeAnnotation,_,"typeAnnotation",y,1),_},r.tSQualifiedName=r.tsQualifiedName=function(g,y){let _={type:"TSQualifiedName",left:g,right:y},E=l.TSQualifiedName;return a(E.left,_,"left",g,1),a(E.right,_,"right",y,1),_},r.tSRestType=r.tsRestType=function(g){let y={type:"TSRestType",typeAnnotation:g},_=l.TSRestType;return a(_.typeAnnotation,y,"typeAnnotation",g,1),y},r.tSSatisfiesExpression=r.tsSatisfiesExpression=function(g,y){let _={type:"TSSatisfiesExpression",expression:g,typeAnnotation:y},E=l.TSSatisfiesExpression;return a(E.expression,_,"expression",g,1),a(E.typeAnnotation,_,"typeAnnotation",y,1),_},r.tSStringKeyword=r.tsStringKeyword=function(){return{type:"TSStringKeyword"}},r.tSSymbolKeyword=r.tsSymbolKeyword=function(){return{type:"TSSymbolKeyword"}},r.tSThisType=r.tsThisType=function(){return{type:"TSThisType"}},r.tSTupleType=r.tsTupleType=function(g){let y={type:"TSTupleType",elementTypes:g},_=l.TSTupleType;return a(_.elementTypes,y,"elementTypes",g,1),y},r.tSTypeAliasDeclaration=r.tsTypeAliasDeclaration=function(g,y=null,_){let E={type:"TSTypeAliasDeclaration",id:g,typeParameters:y,typeAnnotation:_},A=l.TSTypeAliasDeclaration;return a(A.id,E,"id",g,1),a(A.typeParameters,E,"typeParameters",y,1),a(A.typeAnnotation,E,"typeAnnotation",_,1),E},r.tSTypeAnnotation=r.tsTypeAnnotation=function(g){let y={type:"TSTypeAnnotation",typeAnnotation:g},_=l.TSTypeAnnotation;return a(_.typeAnnotation,y,"typeAnnotation",g,1),y},r.tSTypeAssertion=r.tsTypeAssertion=function(g,y){let _={type:"TSTypeAssertion",typeAnnotation:g,expression:y},E=l.TSTypeAssertion;return a(E.typeAnnotation,_,"typeAnnotation",g,1),a(E.expression,_,"expression",y,1),_},r.tSTypeLiteral=r.tsTypeLiteral=function(g){let y={type:"TSTypeLiteral",members:g},_=l.TSTypeLiteral;return a(_.members,y,"members",g,1),y},r.tSTypeOperator=r.tsTypeOperator=function(g){let y={type:"TSTypeOperator",typeAnnotation:g,operator:null},_=l.TSTypeOperator;return a(_.typeAnnotation,y,"typeAnnotation",g,1),y},r.tSTypeParameter=r.tsTypeParameter=function(g=null,y=null,_){let E={type:"TSTypeParameter",constraint:g,default:y,name:_},A=l.TSTypeParameter;return a(A.constraint,E,"constraint",g,1),a(A.default,E,"default",y,1),a(A.name,E,"name",_),E},r.tSTypeParameterDeclaration=r.tsTypeParameterDeclaration=function(g){let y={type:"TSTypeParameterDeclaration",params:g},_=l.TSTypeParameterDeclaration;return a(_.params,y,"params",g,1),y},r.tSTypeParameterInstantiation=r.tsTypeParameterInstantiation=function(g){let y={type:"TSTypeParameterInstantiation",params:g},_=l.TSTypeParameterInstantiation;return a(_.params,y,"params",g,1),y},r.tSTypePredicate=r.tsTypePredicate=function(g,y=null,_=null){let E={type:"TSTypePredicate",parameterName:g,typeAnnotation:y,asserts:_},A=l.TSTypePredicate;return a(A.parameterName,E,"parameterName",g,1),a(A.typeAnnotation,E,"typeAnnotation",y,1),a(A.asserts,E,"asserts",_),E},r.tSTypeQuery=r.tsTypeQuery=function(g,y=null){let _={type:"TSTypeQuery",exprName:g,typeParameters:y},E=l.TSTypeQuery;return a(E.exprName,_,"exprName",g,1),a(E.typeParameters,_,"typeParameters",y,1),_},r.tSTypeReference=r.tsTypeReference=function(g,y=null){let _={type:"TSTypeReference",typeName:g,typeParameters:y},E=l.TSTypeReference;return a(E.typeName,_,"typeName",g,1),a(E.typeParameters,_,"typeParameters",y,1),_},r.tSUndefinedKeyword=r.tsUndefinedKeyword=function(){return{type:"TSUndefinedKeyword"}},r.tSUnionType=r.tsUnionType=function(g){let y={type:"TSUnionType",types:g},_=l.TSUnionType;return a(_.types,y,"types",g,1),y},r.tSUnknownKeyword=r.tsUnknownKeyword=function(){return{type:"TSUnknownKeyword"}},r.tSVoidKeyword=r.tsVoidKeyword=function(){return{type:"TSVoidKeyword"}},r.tupleExpression=function(g=[]){let y={type:"TupleExpression",elements:g},_=l.TupleExpression;return a(_.elements,y,"elements",g,1),y},r.tupleTypeAnnotation=function(g){let y={type:"TupleTypeAnnotation",types:g},_=l.TupleTypeAnnotation;return a(_.types,y,"types",g,1),y},r.typeAlias=function(g,y=null,_){let E={type:"TypeAlias",id:g,typeParameters:y,right:_},A=l.TypeAlias;return a(A.id,E,"id",g,1),a(A.typeParameters,E,"typeParameters",y,1),a(A.right,E,"right",_,1),E},r.typeAnnotation=function(g){let y={type:"TypeAnnotation",typeAnnotation:g},_=l.TypeAnnotation;return a(_.typeAnnotation,y,"typeAnnotation",g,1),y},r.typeCastExpression=function(g,y){let _={type:"TypeCastExpression",expression:g,typeAnnotation:y},E=l.TypeCastExpression;return a(E.expression,_,"expression",g,1),a(E.typeAnnotation,_,"typeAnnotation",y,1),_},r.typeParameter=function(g=null,y=null,_=null){let E={type:"TypeParameter",bound:g,default:y,variance:_,name:null},A=l.TypeParameter;return a(A.bound,E,"bound",g,1),a(A.default,E,"default",y,1),a(A.variance,E,"variance",_,1),E},r.typeParameterDeclaration=function(g){let y={type:"TypeParameterDeclaration",params:g},_=l.TypeParameterDeclaration;return a(_.params,y,"params",g,1),y},r.typeParameterInstantiation=function(g){let y={type:"TypeParameterInstantiation",params:g},_=l.TypeParameterInstantiation;return a(_.params,y,"params",g,1),y},r.typeofTypeAnnotation=function(g){let y={type:"TypeofTypeAnnotation",argument:g},_=l.TypeofTypeAnnotation;return a(_.argument,y,"argument",g,1),y},r.unaryExpression=function(g,y,_=!0){let E={type:"UnaryExpression",operator:g,argument:y,prefix:_},A=l.UnaryExpression;return a(A.operator,E,"operator",g),a(A.argument,E,"argument",y,1),a(A.prefix,E,"prefix",_),E},r.unionTypeAnnotation=function(g){let y={type:"UnionTypeAnnotation",types:g},_=l.UnionTypeAnnotation;return a(_.types,y,"types",g,1),y},r.updateExpression=function(g,y,_=!1){let E={type:"UpdateExpression",operator:g,argument:y,prefix:_},A=l.UpdateExpression;return a(A.operator,E,"operator",g),a(A.argument,E,"argument",y,1),a(A.prefix,E,"prefix",_),E},r.v8IntrinsicIdentifier=function(g){let y={type:"V8IntrinsicIdentifier",name:g},_=l.V8IntrinsicIdentifier;return a(_.name,y,"name",g),y},r.variableDeclaration=function(g,y){let _={type:"VariableDeclaration",kind:g,declarations:y},E=l.VariableDeclaration;return a(E.kind,_,"kind",g),a(E.declarations,_,"declarations",y,1),_},r.variableDeclarator=function(g,y=null){let _={type:"VariableDeclarator",id:g,init:y},E=l.VariableDeclarator;return a(E.id,_,"id",g,1),a(E.init,_,"init",y,1),_},r.variance=function(g){let y={type:"Variance",kind:g},_=l.Variance;return a(_.kind,y,"kind",g),y},r.voidTypeAnnotation=function(){return{type:"VoidTypeAnnotation"}},r.whileStatement=function(g,y){let _={type:"WhileStatement",test:g,body:y},E=l.WhileStatement;return a(E.test,_,"test",g,1),a(E.body,_,"body",y,1),_},r.withStatement=function(g,y){let _={type:"WithStatement",object:g,body:y},E=l.WithStatement;return a(E.object,_,"object",g,1),a(E.body,_,"body",y,1),_},r.yieldExpression=function(g=null,y=!1){let _={type:"YieldExpression",argument:g,delegate:y},E=l.YieldExpression;return a(E.argument,_,"argument",g,1),a(E.delegate,_,"delegate",y),_};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/validate.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/utils/deprecationWarning.js"),H=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/utils.js");let{validateInternal:a}=s,{NODE_FIELDS:l}=H;function p(g){let y={type:"NumericLiteral",value:g},_=l.NumericLiteral;return a(_.value,y,"value",g),y}function d(g,y=""){let _={type:"RegExpLiteral",pattern:g,flags:y},E=l.RegExpLiteral;return a(E.pattern,_,"pattern",g),a(E.flags,_,"flags",y),_}function h(g){let y={type:"RestElement",argument:g},_=l.RestElement;return a(_.argument,y,"argument",g,1),y}function m(g){let y={type:"SpreadElement",argument:g},_=l.SpreadElement;return a(_.argument,y,"argument",g,1),y}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/generated/uppercase.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AnyTypeAnnotation",{enumerable:!0,get:function(){return s.anyTypeAnnotation}}),Object.defineProperty(r,"ArgumentPlaceholder",{enumerable:!0,get:function(){return s.argumentPlaceholder}}),Object.defineProperty(r,"ArrayExpression",{enumerable:!0,get:function(){return s.arrayExpression}}),Object.defineProperty(r,"ArrayPattern",{enumerable:!0,get:function(){return s.arrayPattern}}),Object.defineProperty(r,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return s.arrayTypeAnnotation}}),Object.defineProperty(r,"ArrowFunctionExpression",{enumerable:!0,get:function(){return s.arrowFunctionExpression}}),Object.defineProperty(r,"AssignmentExpression",{enumerable:!0,get:function(){return s.assignmentExpression}}),Object.defineProperty(r,"AssignmentPattern",{enumerable:!0,get:function(){return s.assignmentPattern}}),Object.defineProperty(r,"AwaitExpression",{enumerable:!0,get:function(){return s.awaitExpression}}),Object.defineProperty(r,"BigIntLiteral",{enumerable:!0,get:function(){return s.bigIntLiteral}}),Object.defineProperty(r,"BinaryExpression",{enumerable:!0,get:function(){return s.binaryExpression}}),Object.defineProperty(r,"BindExpression",{enumerable:!0,get:function(){return s.bindExpression}}),Object.defineProperty(r,"BlockStatement",{enumerable:!0,get:function(){return s.blockStatement}}),Object.defineProperty(r,"BooleanLiteral",{enumerable:!0,get:function(){return s.booleanLiteral}}),Object.defineProperty(r,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return s.booleanLiteralTypeAnnotation}}),Object.defineProperty(r,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return s.booleanTypeAnnotation}}),Object.defineProperty(r,"BreakStatement",{enumerable:!0,get:function(){return s.breakStatement}}),Object.defineProperty(r,"CallExpression",{enumerable:!0,get:function(){return s.callExpression}}),Object.defineProperty(r,"CatchClause",{enumerable:!0,get:function(){return s.catchClause}}),Object.defineProperty(r,"ClassAccessorProperty",{enumerable:!0,get:function(){return s.classAccessorProperty}}),Object.defineProperty(r,"ClassBody",{enumerable:!0,get:function(){return s.classBody}}),Object.defineProperty(r,"ClassDeclaration",{enumerable:!0,get:function(){return s.classDeclaration}}),Object.defineProperty(r,"ClassExpression",{enumerable:!0,get:function(){return s.classExpression}}),Object.defineProperty(r,"ClassImplements",{enumerable:!0,get:function(){return s.classImplements}}),Object.defineProperty(r,"ClassMethod",{enumerable:!0,get:function(){return s.classMethod}}),Object.defineProperty(r,"ClassPrivateMethod",{enumerable:!0,get:function(){return s.classPrivateMethod}}),Object.defineProperty(r,"ClassPrivateProperty",{enumerable:!0,get:function(){return s.classPrivateProperty}}),Object.defineProperty(r,"ClassProperty",{enumerable:!0,get:function(){return s.classProperty}}),Object.defineProperty(r,"ConditionalExpression",{enumerable:!0,get:function(){return s.conditionalExpression}}),Object.defineProperty(r,"ContinueStatement",{enumerable:!0,get:function(){return s.continueStatement}}),Object.defineProperty(r,"DebuggerStatement",{enumerable:!0,get:function(){return s.debuggerStatement}}),Object.defineProperty(r,"DecimalLiteral",{enumerable:!0,get:function(){return s.decimalLiteral}}),Object.defineProperty(r,"DeclareClass",{enumerable:!0,get:function(){return s.declareClass}}),Object.defineProperty(r,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return s.declareExportAllDeclaration}}),Object.defineProperty(r,"DeclareExportDeclaration",{enumerable:!0,get:function(){return s.declareExportDeclaration}}),Object.defineProperty(r,"DeclareFunction",{enumerable:!0,get:function(){return s.declareFunction}}),Object.defineProperty(r,"DeclareInterface",{enumerable:!0,get:function(){return s.declareInterface}}),Object.defineProperty(r,"DeclareModule",{enumerable:!0,get:function(){return s.declareModule}}),Object.defineProperty(r,"DeclareModuleExports",{enumerable:!0,get:function(){return s.declareModuleExports}}),Object.defineProperty(r,"DeclareOpaqueType",{enumerable:!0,get:function(){return s.declareOpaqueType}}),Object.defineProperty(r,"DeclareTypeAlias",{enumerable:!0,get:function(){return s.declareTypeAlias}}),Object.defineProperty(r,"DeclareVariable",{enumerable:!0,get:function(){return s.declareVariable}}),Object.defineProperty(r,"DeclaredPredicate",{enumerable:!0,get:function(){return s.declaredPredicate}}),Object.defineProperty(r,"Decorator",{enumerable:!0,get:function(){return s.decorator}}),Object.defineProperty(r,"Directive",{enumerable:!0,get:function(){return s.directive}}),Object.defineProperty(r,"DirectiveLiteral",{enumerable:!0,get:function(){return s.directiveLiteral}}),Object.defineProperty(r,"DoExpression",{enumerable:!0,get:function(){return s.doExpression}}),Object.defineProperty(r,"DoWhileStatement",{enumerable:!0,get:function(){return s.doWhileStatement}}),Object.defineProperty(r,"EmptyStatement",{enumerable:!0,get:function(){return s.emptyStatement}}),Object.defineProperty(r,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return s.emptyTypeAnnotation}}),Object.defineProperty(r,"EnumBooleanBody",{enumerable:!0,get:function(){return s.enumBooleanBody}}),Object.defineProperty(r,"EnumBooleanMember",{enumerable:!0,get:function(){return s.enumBooleanMember}}),Object.defineProperty(r,"EnumDeclaration",{enumerable:!0,get:function(){return s.enumDeclaration}}),Object.defineProperty(r,"EnumDefaultedMember",{enumerable:!0,get:function(){return s.enumDefaultedMember}}),Object.defineProperty(r,"EnumNumberBody",{enumerable:!0,get:function(){return s.enumNumberBody}}),Object.defineProperty(r,"EnumNumberMember",{enumerable:!0,get:function(){return s.enumNumberMember}}),Object.defineProperty(r,"EnumStringBody",{enumerable:!0,get:function(){return s.enumStringBody}}),Object.defineProperty(r,"EnumStringMember",{enumerable:!0,get:function(){return s.enumStringMember}}),Object.defineProperty(r,"EnumSymbolBody",{enumerable:!0,get:function(){return s.enumSymbolBody}}),Object.defineProperty(r,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return s.existsTypeAnnotation}}),Object.defineProperty(r,"ExportAllDeclaration",{enumerable:!0,get:function(){return s.exportAllDeclaration}}),Object.defineProperty(r,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return s.exportDefaultDeclaration}}),Object.defineProperty(r,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return s.exportDefaultSpecifier}}),Object.defineProperty(r,"ExportNamedDeclaration",{enumerable:!0,get:function(){return s.exportNamedDeclaration}}),Object.defineProperty(r,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return s.exportNamespaceSpecifier}}),Object.defineProperty(r,"ExportSpecifier",{enumerable:!0,get:function(){return s.exportSpecifier}}),Object.defineProperty(r,"ExpressionStatement",{enumerable:!0,get:function(){return s.expressionStatement}}),Object.defineProperty(r,"File",{enumerable:!0,get:function(){return s.file}}),Object.defineProperty(r,"ForInStatement",{enumerable:!0,get:function(){return s.forInStatement}}),Object.defineProperty(r,"ForOfStatement",{enumerable:!0,get:function(){return s.forOfStatement}}),Object.defineProperty(r,"ForStatement",{enumerable:!0,get:function(){return s.forStatement}}),Object.defineProperty(r,"FunctionDeclaration",{enumerable:!0,get:function(){return s.functionDeclaration}}),Object.defineProperty(r,"FunctionExpression",{enumerable:!0,get:function(){return s.functionExpression}}),Object.defineProperty(r,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return s.functionTypeAnnotation}}),Object.defineProperty(r,"FunctionTypeParam",{enumerable:!0,get:function(){return s.functionTypeParam}}),Object.defineProperty(r,"GenericTypeAnnotation",{enumerable:!0,get:function(){return s.genericTypeAnnotation}}),Object.defineProperty(r,"Identifier",{enumerable:!0,get:function(){return s.identifier}}),Object.defineProperty(r,"IfStatement",{enumerable:!0,get:function(){return s.ifStatement}}),Object.defineProperty(r,"Import",{enumerable:!0,get:function(){return s.import}}),Object.defineProperty(r,"ImportAttribute",{enumerable:!0,get:function(){return s.importAttribute}}),Object.defineProperty(r,"ImportDeclaration",{enumerable:!0,get:function(){return s.importDeclaration}}),Object.defineProperty(r,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return s.importDefaultSpecifier}}),Object.defineProperty(r,"ImportExpression",{enumerable:!0,get:function(){return s.importExpression}}),Object.defineProperty(r,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return s.importNamespaceSpecifier}}),Object.defineProperty(r,"ImportSpecifier",{enumerable:!0,get:function(){return s.importSpecifier}}),Object.defineProperty(r,"IndexedAccessType",{enumerable:!0,get:function(){return s.indexedAccessType}}),Object.defineProperty(r,"InferredPredicate",{enumerable:!0,get:function(){return s.inferredPredicate}}),Object.defineProperty(r,"InterfaceDeclaration",{enumerable:!0,get:function(){return s.interfaceDeclaration}}),Object.defineProperty(r,"InterfaceExtends",{enumerable:!0,get:function(){return s.interfaceExtends}}),Object.defineProperty(r,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return s.interfaceTypeAnnotation}}),Object.defineProperty(r,"InterpreterDirective",{enumerable:!0,get:function(){return s.interpreterDirective}}),Object.defineProperty(r,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return s.intersectionTypeAnnotation}}),Object.defineProperty(r,"JSXAttribute",{enumerable:!0,get:function(){return s.jsxAttribute}}),Object.defineProperty(r,"JSXClosingElement",{enumerable:!0,get:function(){return s.jsxClosingElement}}),Object.defineProperty(r,"JSXClosingFragment",{enumerable:!0,get:function(){return s.jsxClosingFragment}}),Object.defineProperty(r,"JSXElement",{enumerable:!0,get:function(){return s.jsxElement}}),Object.defineProperty(r,"JSXEmptyExpression",{enumerable:!0,get:function(){return s.jsxEmptyExpression}}),Object.defineProperty(r,"JSXExpressionContainer",{enumerable:!0,get:function(){return s.jsxExpressionContainer}}),Object.defineProperty(r,"JSXFragment",{enumerable:!0,get:function(){return s.jsxFragment}}),Object.defineProperty(r,"JSXIdentifier",{enumerable:!0,get:function(){return s.jsxIdentifier}}),Object.defineProperty(r,"JSXMemberExpression",{enumerable:!0,get:function(){return s.jsxMemberExpression}}),Object.defineProperty(r,"JSXNamespacedName",{enumerable:!0,get:function(){return s.jsxNamespacedName}}),Object.defineProperty(r,"JSXOpeningElement",{enumerable:!0,get:function(){return s.jsxOpeningElement}}),Object.defineProperty(r,"JSXOpeningFragment",{enumerable:!0,get:function(){return s.jsxOpeningFragment}}),Object.defineProperty(r,"JSXSpreadAttribute",{enumerable:!0,get:function(){return s.jsxSpreadAttribute}}),Object.defineProperty(r,"JSXSpreadChild",{enumerable:!0,get:function(){return s.jsxSpreadChild}}),Object.defineProperty(r,"JSXText",{enumerable:!0,get:function(){return s.jsxText}}),Object.defineProperty(r,"LabeledStatement",{enumerable:!0,get:function(){return s.labeledStatement}}),Object.defineProperty(r,"LogicalExpression",{enumerable:!0,get:function(){return s.logicalExpression}}),Object.defineProperty(r,"MemberExpression",{enumerable:!0,get:function(){return s.memberExpression}}),Object.defineProperty(r,"MetaProperty",{enumerable:!0,get:function(){return s.metaProperty}}),Object.defineProperty(r,"MixedTypeAnnotation",{enumerable:!0,get:function(){return s.mixedTypeAnnotation}}),Object.defineProperty(r,"ModuleExpression",{enumerable:!0,get:function(){return s.moduleExpression}}),Object.defineProperty(r,"NewExpression",{enumerable:!0,get:function(){return s.newExpression}}),Object.defineProperty(r,"Noop",{enumerable:!0,get:function(){return s.noop}}),Object.defineProperty(r,"NullLiteral",{enumerable:!0,get:function(){return s.nullLiteral}}),Object.defineProperty(r,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return s.nullLiteralTypeAnnotation}}),Object.defineProperty(r,"NullableTypeAnnotation",{enumerable:!0,get:function(){return s.nullableTypeAnnotation}}),Object.defineProperty(r,"NumberLiteral",{enumerable:!0,get:function(){return s.numberLiteral}}),Object.defineProperty(r,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return s.numberLiteralTypeAnnotation}}),Object.defineProperty(r,"NumberTypeAnnotation",{enumerable:!0,get:function(){return s.numberTypeAnnotation}}),Object.defineProperty(r,"NumericLiteral",{enumerable:!0,get:function(){return s.numericLiteral}}),Object.defineProperty(r,"ObjectExpression",{enumerable:!0,get:function(){return s.objectExpression}}),Object.defineProperty(r,"ObjectMethod",{enumerable:!0,get:function(){return s.objectMethod}}),Object.defineProperty(r,"ObjectPattern",{enumerable:!0,get:function(){return s.objectPattern}}),Object.defineProperty(r,"ObjectProperty",{enumerable:!0,get:function(){return s.objectProperty}}),Object.defineProperty(r,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return s.objectTypeAnnotation}}),Object.defineProperty(r,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return s.objectTypeCallProperty}}),Object.defineProperty(r,"ObjectTypeIndexer",{enumerable:!0,get:function(){return s.objectTypeIndexer}}),Object.defineProperty(r,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return s.objectTypeInternalSlot}}),Object.defineProperty(r,"ObjectTypeProperty",{enumerable:!0,get:function(){return s.objectTypeProperty}}),Object.defineProperty(r,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return s.objectTypeSpreadProperty}}),Object.defineProperty(r,"OpaqueType",{enumerable:!0,get:function(){return s.opaqueType}}),Object.defineProperty(r,"OptionalCallExpression",{enumerable:!0,get:function(){return s.optionalCallExpression}}),Object.defineProperty(r,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return s.optionalIndexedAccessType}}),Object.defineProperty(r,"OptionalMemberExpression",{enumerable:!0,get:function(){return s.optionalMemberExpression}}),Object.defineProperty(r,"ParenthesizedExpression",{enumerable:!0,get:function(){return s.parenthesizedExpression}}),Object.defineProperty(r,"PipelineBareFunction",{enumerable:!0,get:function(){return s.pipelineBareFunction}}),Object.defineProperty(r,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return s.pipelinePrimaryTopicReference}}),Object.defineProperty(r,"PipelineTopicExpression",{enumerable:!0,get:function(){return s.pipelineTopicExpression}}),Object.defineProperty(r,"Placeholder",{enumerable:!0,get:function(){return s.placeholder}}),Object.defineProperty(r,"PrivateName",{enumerable:!0,get:function(){return s.privateName}}),Object.defineProperty(r,"Program",{enumerable:!0,get:function(){return s.program}}),Object.defineProperty(r,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return s.qualifiedTypeIdentifier}}),Object.defineProperty(r,"RecordExpression",{enumerable:!0,get:function(){return s.recordExpression}}),Object.defineProperty(r,"RegExpLiteral",{enumerable:!0,get:function(){return s.regExpLiteral}}),Object.defineProperty(r,"RegexLiteral",{enumerable:!0,get:function(){return s.regexLiteral}}),Object.defineProperty(r,"RestElement",{enumerable:!0,get:function(){return s.restElement}}),Object.defineProperty(r,"RestProperty",{enumerable:!0,get:function(){return s.restProperty}}),Object.defineProperty(r,"ReturnStatement",{enumerable:!0,get:function(){return s.returnStatement}}),Object.defineProperty(r,"SequenceExpression",{enumerable:!0,get:function(){return s.sequenceExpression}}),Object.defineProperty(r,"SpreadElement",{enumerable:!0,get:function(){return s.spreadElement}}),Object.defineProperty(r,"SpreadProperty",{enumerable:!0,get:function(){return s.spreadProperty}}),Object.defineProperty(r,"StaticBlock",{enumerable:!0,get:function(){return s.staticBlock}}),Object.defineProperty(r,"StringLiteral",{enumerable:!0,get:function(){return s.stringLiteral}}),Object.defineProperty(r,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return s.stringLiteralTypeAnnotation}}),Object.defineProperty(r,"StringTypeAnnotation",{enumerable:!0,get:function(){return s.stringTypeAnnotation}}),Object.defineProperty(r,"Super",{enumerable:!0,get:function(){return s.super}}),Object.defineProperty(r,"SwitchCase",{enumerable:!0,get:function(){return s.switchCase}}),Object.defineProperty(r,"SwitchStatement",{enumerable:!0,get:function(){return s.switchStatement}}),Object.defineProperty(r,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return s.symbolTypeAnnotation}}),Object.defineProperty(r,"TSAnyKeyword",{enumerable:!0,get:function(){return s.tsAnyKeyword}}),Object.defineProperty(r,"TSArrayType",{enumerable:!0,get:function(){return s.tsArrayType}}),Object.defineProperty(r,"TSAsExpression",{enumerable:!0,get:function(){return s.tsAsExpression}}),Object.defineProperty(r,"TSBigIntKeyword",{enumerable:!0,get:function(){return s.tsBigIntKeyword}}),Object.defineProperty(r,"TSBooleanKeyword",{enumerable:!0,get:function(){return s.tsBooleanKeyword}}),Object.defineProperty(r,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return s.tsCallSignatureDeclaration}}),Object.defineProperty(r,"TSConditionalType",{enumerable:!0,get:function(){return s.tsConditionalType}}),Object.defineProperty(r,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return s.tsConstructSignatureDeclaration}}),Object.defineProperty(r,"TSConstructorType",{enumerable:!0,get:function(){return s.tsConstructorType}}),Object.defineProperty(r,"TSDeclareFunction",{enumerable:!0,get:function(){return s.tsDeclareFunction}}),Object.defineProperty(r,"TSDeclareMethod",{enumerable:!0,get:function(){return s.tsDeclareMethod}}),Object.defineProperty(r,"TSEnumDeclaration",{enumerable:!0,get:function(){return s.tsEnumDeclaration}}),Object.defineProperty(r,"TSEnumMember",{enumerable:!0,get:function(){return s.tsEnumMember}}),Object.defineProperty(r,"TSExportAssignment",{enumerable:!0,get:function(){return s.tsExportAssignment}}),Object.defineProperty(r,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return s.tsExpressionWithTypeArguments}}),Object.defineProperty(r,"TSExternalModuleReference",{enumerable:!0,get:function(){return s.tsExternalModuleReference}}),Object.defineProperty(r,"TSFunctionType",{enumerable:!0,get:function(){return s.tsFunctionType}}),Object.defineProperty(r,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return s.tsImportEqualsDeclaration}}),Object.defineProperty(r,"TSImportType",{enumerable:!0,get:function(){return s.tsImportType}}),Object.defineProperty(r,"TSIndexSignature",{enumerable:!0,get:function(){return s.tsIndexSignature}}),Object.defineProperty(r,"TSIndexedAccessType",{enumerable:!0,get:function(){return s.tsIndexedAccessType}}),Object.defineProperty(r,"TSInferType",{enumerable:!0,get:function(){return s.tsInferType}}),Object.defineProperty(r,"TSInstantiationExpression",{enumerable:!0,get:function(){return s.tsInstantiationExpression}}),Object.defineProperty(r,"TSInterfaceBody",{enumerable:!0,get:function(){return s.tsInterfaceBody}}),Object.defineProperty(r,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return s.tsInterfaceDeclaration}}),Object.defineProperty(r,"TSIntersectionType",{enumerable:!0,get:function(){return s.tsIntersectionType}}),Object.defineProperty(r,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return s.tsIntrinsicKeyword}}),Object.defineProperty(r,"TSLiteralType",{enumerable:!0,get:function(){return s.tsLiteralType}}),Object.defineProperty(r,"TSMappedType",{enumerable:!0,get:function(){return s.tsMappedType}}),Object.defineProperty(r,"TSMethodSignature",{enumerable:!0,get:function(){return s.tsMethodSignature}}),Object.defineProperty(r,"TSModuleBlock",{enumerable:!0,get:function(){return s.tsModuleBlock}}),Object.defineProperty(r,"TSModuleDeclaration",{enumerable:!0,get:function(){return s.tsModuleDeclaration}}),Object.defineProperty(r,"TSNamedTupleMember",{enumerable:!0,get:function(){return s.tsNamedTupleMember}}),Object.defineProperty(r,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return s.tsNamespaceExportDeclaration}}),Object.defineProperty(r,"TSNeverKeyword",{enumerable:!0,get:function(){return s.tsNeverKeyword}}),Object.defineProperty(r,"TSNonNullExpression",{enumerable:!0,get:function(){return s.tsNonNullExpression}}),Object.defineProperty(r,"TSNullKeyword",{enumerable:!0,get:function(){return s.tsNullKeyword}}),Object.defineProperty(r,"TSNumberKeyword",{enumerable:!0,get:function(){return s.tsNumberKeyword}}),Object.defineProperty(r,"TSObjectKeyword",{enumerable:!0,get:function(){return s.tsObjectKeyword}}),Object.defineProperty(r,"TSOptionalType",{enumerable:!0,get:function(){return s.tsOptionalType}}),Object.defineProperty(r,"TSParameterProperty",{enumerable:!0,get:function(){return s.tsParameterProperty}}),Object.defineProperty(r,"TSParenthesizedType",{enumerable:!0,get:function(){return s.tsParenthesizedType}}),Object.defineProperty(r,"TSPropertySignature",{enumerable:!0,get:function(){return s.tsPropertySignature}}),Object.defineProperty(r,"TSQualifiedName",{enumerable:!0,get:function(){return s.tsQualifiedName}}),Object.defineProperty(r,"TSRestType",{enumerable:!0,get:function(){return s.tsRestType}}),Object.defineProperty(r,"TSSatisfiesExpression",{enumerable:!0,get:function(){return s.tsSatisfiesExpression}}),Object.defineProperty(r,"TSStringKeyword",{enumerable:!0,get:function(){return s.tsStringKeyword}}),Object.defineProperty(r,"TSSymbolKeyword",{enumerable:!0,get:function(){return s.tsSymbolKeyword}}),Object.defineProperty(r,"TSThisType",{enumerable:!0,get:function(){return s.tsThisType}}),Object.defineProperty(r,"TSTupleType",{enumerable:!0,get:function(){return s.tsTupleType}}),Object.defineProperty(r,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return s.tsTypeAliasDeclaration}}),Object.defineProperty(r,"TSTypeAnnotation",{enumerable:!0,get:function(){return s.tsTypeAnnotation}}),Object.defineProperty(r,"TSTypeAssertion",{enumerable:!0,get:function(){return s.tsTypeAssertion}}),Object.defineProperty(r,"TSTypeLiteral",{enumerable:!0,get:function(){return s.tsTypeLiteral}}),Object.defineProperty(r,"TSTypeOperator",{enumerable:!0,get:function(){return s.tsTypeOperator}}),Object.defineProperty(r,"TSTypeParameter",{enumerable:!0,get:function(){return s.tsTypeParameter}}),Object.defineProperty(r,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return s.tsTypeParameterDeclaration}}),Object.defineProperty(r,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return s.tsTypeParameterInstantiation}}),Object.defineProperty(r,"TSTypePredicate",{enumerable:!0,get:function(){return s.tsTypePredicate}}),Object.defineProperty(r,"TSTypeQuery",{enumerable:!0,get:function(){return s.tsTypeQuery}}),Object.defineProperty(r,"TSTypeReference",{enumerable:!0,get:function(){return s.tsTypeReference}}),Object.defineProperty(r,"TSUndefinedKeyword",{enumerable:!0,get:function(){return s.tsUndefinedKeyword}}),Object.defineProperty(r,"TSUnionType",{enumerable:!0,get:function(){return s.tsUnionType}}),Object.defineProperty(r,"TSUnknownKeyword",{enumerable:!0,get:function(){return s.tsUnknownKeyword}}),Object.defineProperty(r,"TSVoidKeyword",{enumerable:!0,get:function(){return s.tsVoidKeyword}}),Object.defineProperty(r,"TaggedTemplateExpression",{enumerable:!0,get:function(){return s.taggedTemplateExpression}}),Object.defineProperty(r,"TemplateElement",{enumerable:!0,get:function(){return s.templateElement}}),Object.defineProperty(r,"TemplateLiteral",{enumerable:!0,get:function(){return s.templateLiteral}}),Object.defineProperty(r,"ThisExpression",{enumerable:!0,get:function(){return s.thisExpression}}),Object.defineProperty(r,"ThisTypeAnnotation",{enumerable:!0,get:function(){return s.thisTypeAnnotation}}),Object.defineProperty(r,"ThrowStatement",{enumerable:!0,get:function(){return s.throwStatement}}),Object.defineProperty(r,"TopicReference",{enumerable:!0,get:function(){return s.topicReference}}),Object.defineProperty(r,"TryStatement",{enumerable:!0,get:function(){return s.tryStatement}}),Object.defineProperty(r,"TupleExpression",{enumerable:!0,get:function(){return s.tupleExpression}}),Object.defineProperty(r,"TupleTypeAnnotation",{enumerable:!0,get:function(){return s.tupleTypeAnnotation}}),Object.defineProperty(r,"TypeAlias",{enumerable:!0,get:function(){return s.typeAlias}}),Object.defineProperty(r,"TypeAnnotation",{enumerable:!0,get:function(){return s.typeAnnotation}}),Object.defineProperty(r,"TypeCastExpression",{enumerable:!0,get:function(){return s.typeCastExpression}}),Object.defineProperty(r,"TypeParameter",{enumerable:!0,get:function(){return s.typeParameter}}),Object.defineProperty(r,"TypeParameterDeclaration",{enumerable:!0,get:function(){return s.typeParameterDeclaration}}),Object.defineProperty(r,"TypeParameterInstantiation",{enumerable:!0,get:function(){return s.typeParameterInstantiation}}),Object.defineProperty(r,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return s.typeofTypeAnnotation}}),Object.defineProperty(r,"UnaryExpression",{enumerable:!0,get:function(){return s.unaryExpression}}),Object.defineProperty(r,"UnionTypeAnnotation",{enumerable:!0,get:function(){return s.unionTypeAnnotation}}),Object.defineProperty(r,"UpdateExpression",{enumerable:!0,get:function(){return s.updateExpression}}),Object.defineProperty(r,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return s.v8IntrinsicIdentifier}}),Object.defineProperty(r,"VariableDeclaration",{enumerable:!0,get:function(){return s.variableDeclaration}}),Object.defineProperty(r,"VariableDeclarator",{enumerable:!0,get:function(){return s.variableDeclarator}}),Object.defineProperty(r,"Variance",{enumerable:!0,get:function(){return s.variance}}),Object.defineProperty(r,"VoidTypeAnnotation",{enumerable:!0,get:function(){return s.voidTypeAnnotation}}),Object.defineProperty(r,"WhileStatement",{enumerable:!0,get:function(){return s.whileStatement}}),Object.defineProperty(r,"WithStatement",{enumerable:!0,get:function(){return s.withStatement}}),Object.defineProperty(r,"YieldExpression",{enumerable:!0,get:function(){return s.yieldExpression}});var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/productions.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.buildUndefinedNode=function(){return(0,s.unaryExpression)("void",(0,s.numericLiteral)(0),!0)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/react/buildChildren.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H){let a=[];for(let l=0;l<H.children.length;l++){let p=H.children[l];(0,s.isJSXText)(p)?(0,u.default)(p,a):((0,s.isJSXExpressionContainer)(p)&&(p=p.expression),(0,s.isJSXEmptyExpression)(p)||a.push(p))}return a};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(a){let l=a.map(d=>(0,H.isTSTypeAnnotation)(d)?d.typeAnnotation:d),p=(0,u.default)(l);return p.length===1?p[0]:(0,s.tsUnionType)(p)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js"),H=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/clone/clone.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){return(0,s.default)(u,!1)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/clone/cloneDeep.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){return(0,s.default)(u)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){return(0,s.default)(u,!0,!0)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/clone/cloneNode.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(h,m=!0,g=!1){return p(h,m,g,new Map)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js");let{hasOwn:H}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function a(h,m,g,y){return h&&typeof h.type=="string"?p(h,m,g,y):h}function l(h,m,g,y){return Array.isArray(h)?h.map(_=>a(_,m,g,y)):a(h,m,g,y)}function p(h,m=!0,g=!1,y){if(!h)return h;let{type:_}=h,E={type:h.type};if((0,u.isIdentifier)(h))E.name=h.name,H(h,"optional")&&typeof h.optional=="boolean"&&(E.optional=h.optional),H(h,"typeAnnotation")&&(E.typeAnnotation=m?l(h.typeAnnotation,!0,g,y):h.typeAnnotation),H(h,"decorators")&&(E.decorators=m?l(h.decorators,!0,g,y):h.decorators);else{if(!H(s.NODE_FIELDS,_))throw new Error(`Unknown node type: "${_}"`);for(let A of Object.keys(s.NODE_FIELDS[_]))H(h,A)&&(E[A]=m?(0,u.isFile)(h)&&A==="comments"?d(h.comments,m,g,y):l(h[A],!0,g,y):h[A])}return H(h,"loc")&&(E.loc=g?null:h.loc),H(h,"leadingComments")&&(E.leadingComments=d(h.leadingComments,m,g,y)),H(h,"innerComments")&&(E.innerComments=d(h.innerComments,m,g,y)),H(h,"trailingComments")&&(E.trailingComments=d(h.trailingComments,m,g,y)),H(h,"extra")&&(E.extra=Object.assign({},h.extra)),E}function d(h,m,g,y){return h&&m?h.map(_=>{let E=y.get(_);if(E)return E;let{type:A,value:S,loc:T}=_,I={type:A,value:S,loc:T};return g&&(I.loc=null),y.set(_,I),I}):h}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){return(0,s.default)(u,!1,!0)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/comments/addComment.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H,a,l){return(0,s.default)(u,H,[{type:l?"CommentLine":"CommentBlock",value:a}])};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/comments/addComments.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/comments/addComments.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(c,s,u){if(!u||!c)return c;let H=`${s}Comments`;return c[H]?s==="leading"?c[H]=u.concat(c[H]):c[H].push(...u):c[H]=u,c}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/comments/inheritInnerComments.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H){(0,s.default)("innerComments",u,H)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/utils/inherit.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/comments/inheritLeadingComments.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H){(0,s.default)("leadingComments",u,H)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/utils/inherit.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/comments/inheritTrailingComments.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H){(0,s.default)("trailingComments",u,H)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/utils/inherit.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/comments/inheritsComments.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(a,l){return(0,s.default)(a,l),(0,u.default)(a,l),(0,H.default)(a,l),a};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/comments/inheritTrailingComments.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/comments/inheritLeadingComments.js"),H=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/comments/inheritInnerComments.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/comments/removeComments.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){return s.COMMENT_KEYS.forEach(H=>{u[H]=null}),u};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/constants/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/constants/generated/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.WHILE_TYPES=r.USERWHITESPACABLE_TYPES=r.UNARYLIKE_TYPES=r.TYPESCRIPT_TYPES=r.TSTYPE_TYPES=r.TSTYPEELEMENT_TYPES=r.TSENTITYNAME_TYPES=r.TSBASETYPE_TYPES=r.TERMINATORLESS_TYPES=r.STATEMENT_TYPES=r.STANDARDIZED_TYPES=r.SCOPABLE_TYPES=r.PUREISH_TYPES=r.PROPERTY_TYPES=r.PRIVATE_TYPES=r.PATTERN_TYPES=r.PATTERNLIKE_TYPES=r.OBJECTMEMBER_TYPES=r.MODULESPECIFIER_TYPES=r.MODULEDECLARATION_TYPES=r.MISCELLANEOUS_TYPES=r.METHOD_TYPES=r.LVAL_TYPES=r.LOOP_TYPES=r.LITERAL_TYPES=r.JSX_TYPES=r.IMPORTOREXPORTDECLARATION_TYPES=r.IMMUTABLE_TYPES=r.FUNCTION_TYPES=r.FUNCTIONPARENT_TYPES=r.FOR_TYPES=r.FORXSTATEMENT_TYPES=r.FLOW_TYPES=r.FLOWTYPE_TYPES=r.FLOWPREDICATE_TYPES=r.FLOWDECLARATION_TYPES=r.FLOWBASEANNOTATION_TYPES=r.EXPRESSION_TYPES=r.EXPRESSIONWRAPPER_TYPES=r.EXPORTDECLARATION_TYPES=r.ENUMMEMBER_TYPES=r.ENUMBODY_TYPES=r.DECLARATION_TYPES=r.CONDITIONAL_TYPES=r.COMPLETIONSTATEMENT_TYPES=r.CLASS_TYPES=r.BLOCK_TYPES=r.BLOCKPARENT_TYPES=r.BINARY_TYPES=r.ACCESSOR_TYPES=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/index.js");r.STANDARDIZED_TYPES=s.FLIPPED_ALIAS_KEYS.Standardized,r.EXPRESSION_TYPES=s.FLIPPED_ALIAS_KEYS.Expression,r.BINARY_TYPES=s.FLIPPED_ALIAS_KEYS.Binary,r.SCOPABLE_TYPES=s.FLIPPED_ALIAS_KEYS.Scopable,r.BLOCKPARENT_TYPES=s.FLIPPED_ALIAS_KEYS.BlockParent,r.BLOCK_TYPES=s.FLIPPED_ALIAS_KEYS.Block,r.STATEMENT_TYPES=s.FLIPPED_ALIAS_KEYS.Statement,r.TERMINATORLESS_TYPES=s.FLIPPED_ALIAS_KEYS.Terminatorless,r.COMPLETIONSTATEMENT_TYPES=s.FLIPPED_ALIAS_KEYS.CompletionStatement,r.CONDITIONAL_TYPES=s.FLIPPED_ALIAS_KEYS.Conditional,r.LOOP_TYPES=s.FLIPPED_ALIAS_KEYS.Loop,r.WHILE_TYPES=s.FLIPPED_ALIAS_KEYS.While,r.EXPRESSIONWRAPPER_TYPES=s.FLIPPED_ALIAS_KEYS.ExpressionWrapper,r.FOR_TYPES=s.FLIPPED_ALIAS_KEYS.For,r.FORXSTATEMENT_TYPES=s.FLIPPED_ALIAS_KEYS.ForXStatement,r.FUNCTION_TYPES=s.FLIPPED_ALIAS_KEYS.Function,r.FUNCTIONPARENT_TYPES=s.FLIPPED_ALIAS_KEYS.FunctionParent,r.PUREISH_TYPES=s.FLIPPED_ALIAS_KEYS.Pureish,r.DECLARATION_TYPES=s.FLIPPED_ALIAS_KEYS.Declaration,r.PATTERNLIKE_TYPES=s.FLIPPED_ALIAS_KEYS.PatternLike,r.LVAL_TYPES=s.FLIPPED_ALIAS_KEYS.LVal,r.TSENTITYNAME_TYPES=s.FLIPPED_ALIAS_KEYS.TSEntityName,r.LITERAL_TYPES=s.FLIPPED_ALIAS_KEYS.Literal,r.IMMUTABLE_TYPES=s.FLIPPED_ALIAS_KEYS.Immutable,r.USERWHITESPACABLE_TYPES=s.FLIPPED_ALIAS_KEYS.UserWhitespacable,r.METHOD_TYPES=s.FLIPPED_ALIAS_KEYS.Method,r.OBJECTMEMBER_TYPES=s.FLIPPED_ALIAS_KEYS.ObjectMember,r.PROPERTY_TYPES=s.FLIPPED_ALIAS_KEYS.Property,r.UNARYLIKE_TYPES=s.FLIPPED_ALIAS_KEYS.UnaryLike,r.PATTERN_TYPES=s.FLIPPED_ALIAS_KEYS.Pattern,r.CLASS_TYPES=s.FLIPPED_ALIAS_KEYS.Class;let u=r.IMPORTOREXPORTDECLARATION_TYPES=s.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration;r.EXPORTDECLARATION_TYPES=s.FLIPPED_ALIAS_KEYS.ExportDeclaration,r.MODULESPECIFIER_TYPES=s.FLIPPED_ALIAS_KEYS.ModuleSpecifier,r.ACCESSOR_TYPES=s.FLIPPED_ALIAS_KEYS.Accessor,r.PRIVATE_TYPES=s.FLIPPED_ALIAS_KEYS.Private,r.FLOW_TYPES=s.FLIPPED_ALIAS_KEYS.Flow,r.FLOWTYPE_TYPES=s.FLIPPED_ALIAS_KEYS.FlowType,r.FLOWBASEANNOTATION_TYPES=s.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,r.FLOWDECLARATION_TYPES=s.FLIPPED_ALIAS_KEYS.FlowDeclaration,r.FLOWPREDICATE_TYPES=s.FLIPPED_ALIAS_KEYS.FlowPredicate,r.ENUMBODY_TYPES=s.FLIPPED_ALIAS_KEYS.EnumBody,r.ENUMMEMBER_TYPES=s.FLIPPED_ALIAS_KEYS.EnumMember,r.JSX_TYPES=s.FLIPPED_ALIAS_KEYS.JSX,r.MISCELLANEOUS_TYPES=s.FLIPPED_ALIAS_KEYS.Miscellaneous,r.TYPESCRIPT_TYPES=s.FLIPPED_ALIAS_KEYS.TypeScript,r.TSTYPEELEMENT_TYPES=s.FLIPPED_ALIAS_KEYS.TSTypeElement,r.TSTYPE_TYPES=s.FLIPPED_ALIAS_KEYS.TSType,r.TSBASETYPE_TYPES=s.FLIPPED_ALIAS_KEYS.TSBaseType,r.MODULEDECLARATION_TYPES=u},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/constants/index.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.UPDATE_OPERATORS=r.UNARY_OPERATORS=r.STRING_UNARY_OPERATORS=r.STATEMENT_OR_BLOCK_KEYS=r.NUMBER_UNARY_OPERATORS=r.NUMBER_BINARY_OPERATORS=r.NOT_LOCAL_BINDING=r.LOGICAL_OPERATORS=r.INHERIT_KEYS=r.FOR_INIT_KEYS=r.FLATTENABLE_KEYS=r.EQUALITY_BINARY_OPERATORS=r.COMPARISON_BINARY_OPERATORS=r.COMMENT_KEYS=r.BOOLEAN_UNARY_OPERATORS=r.BOOLEAN_NUMBER_BINARY_OPERATORS=r.BOOLEAN_BINARY_OPERATORS=r.BLOCK_SCOPED_SYMBOL=r.BINARY_OPERATORS=r.ASSIGNMENT_OPERATORS=void 0,r.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],r.FLATTENABLE_KEYS=["body","expressions"],r.FOR_INIT_KEYS=["left","init"],r.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];let c=r.LOGICAL_OPERATORS=["||","&&","??"],s=(r.UPDATE_OPERATORS=["++","--"],r.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="]),u=r.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],H=r.COMPARISON_BINARY_OPERATORS=[...u,"in","instanceof"],a=r.BOOLEAN_BINARY_OPERATORS=[...H,...s],l=r.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],p=(r.BINARY_OPERATORS=["+",...l,...a,"|>"],r.ASSIGNMENT_OPERATORS=["=","+=",...l.map(m=>m+"="),...c.map(m=>m+"=")],r.BOOLEAN_UNARY_OPERATORS=["delete","!"]),d=r.NUMBER_UNARY_OPERATORS=["+","-","~"],h=r.STRING_UNARY_OPERATORS=["typeof"];r.UNARY_OPERATORS=["void","throw",...p,...d,...h],r.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},r.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),r.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/ensureBlock.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H="body"){let a=(0,s.default)(u[H],u);return u[H]=a,a};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/toBlock.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function p(d,h){let m=[],g=!0;for(let y of d)if((0,u.isEmptyStatement)(y)||(g=!1),(0,u.isExpression)(y))m.push(y);else if((0,u.isExpressionStatement)(y))m.push(y.expression);else if((0,u.isVariableDeclaration)(y)){if(y.kind!=="var")return;for(let _ of y.declarations){let E=(0,s.default)(_);for(let A of Object.keys(E))h.push({kind:y.kind,id:(0,l.default)(E[A])});_.init&&m.push((0,H.assignmentExpression)("=",_.id,_.init))}g=!0}else if((0,u.isIfStatement)(y)){let _=y.consequent?p([y.consequent],h):(0,a.buildUndefinedNode)(),E=y.alternate?p([y.alternate],h):(0,a.buildUndefinedNode)();if(!_||!E)return;m.push((0,H.conditionalExpression)(y.test,_,E))}else if((0,u.isBlockStatement)(y)){let _=p(y.body,h);if(!_)return;m.push(_)}else{if(!(0,u.isEmptyStatement)(y))return;d.indexOf(y)===0&&(g=!0)}return g&&m.push((0,a.buildUndefinedNode)()),m.length===1?m[0]:(0,H.sequenceExpression)(m)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js"),H=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/generated/index.js"),a=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/productions.js"),l=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){return(u=(0,s.default)(u))!=="eval"&&u!=="arguments"||(u="_"+u),u};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/toIdentifier.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/toBlock.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H,a){if((0,s.isBlockStatement)(H))return H;let l=[];return(0,s.isEmptyStatement)(H)?l=[]:((0,s.isStatement)(H)||(H=(0,s.isFunction)(a)?(0,u.returnStatement)(H):(0,u.expressionStatement)(H)),l=[H]),(0,u.blockStatement)(l)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/toComputedKey.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H,a=H.key||H.property){return!H.computed&&(0,s.isIdentifier)(a)&&(a=(0,u.stringLiteral)(a.name)),a};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/toExpression.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js");r.default=function(u){if((0,s.isExpressionStatement)(u)&&(u=u.expression),(0,s.isExpression)(u))return u;if((0,s.isClass)(u)?u.type="ClassExpression":(0,s.isFunction)(u)&&(u.type="FunctionExpression"),!(0,s.isExpression)(u))throw new Error(`cannot turn ${u.type} to an expression`);return u}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/toIdentifier.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H){H+="";let a="";for(let l of H)a+=(0,u.isIdentifierChar)(l.codePointAt(0))?l:"-";return a=a.replace(/^[-0-9]+/,""),a=a.replace(/[-\s]+(.)?/g,function(l,p){return p?p.toUpperCase():""}),(0,s.default)(a)||(a=`_${a}`),a||"_"};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),u=c("./node_modules/.pnpm/@babel+helper-validator-identifier@7.25.7/node_modules/@babel/helper-validator-identifier/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/toKeyAlias.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=a;var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/clone/cloneNode.js"),H=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js");function a(l,p=l.key){let d;return l.kind==="method"?a.increment()+"":(d=(0,s.isIdentifier)(p)?p.name:(0,s.isStringLiteral)(p)?JSON.stringify(p.value):JSON.stringify((0,H.default)((0,u.default)(p))),l.computed&&(d=`[${d}]`),l.static&&(d=`static:${d}`),d)}a.uid=0,a.increment=function(){return a.uid>=Number.MAX_SAFE_INTEGER?a.uid=0:a.uid++}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/toSequenceExpression.js":(o,r,c)=>{"use strict";r.default=function(u,H){if(u==null||!u.length)return;let a=[],l=(0,s.default)(u,a);if(l){for(let p of a)H.push(p);return l}};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/toStatement.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/generated/index.js");r.default=function(H,a){if((0,s.isStatement)(H))return H;let l,p=!1;if((0,s.isClass)(H))p=!0,l="ClassDeclaration";else if((0,s.isFunction)(H))p=!0,l="FunctionDeclaration";else if((0,s.isAssignmentExpression)(H))return(0,u.expressionStatement)(H);if(p&&!H.id&&(l=!1),!l){if(a)return!1;throw new Error(`cannot turn ${H.type} to a statement`)}return H.type=l,H}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/valueToNode.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/generated/index.js");r.default=function a(l){if(l===void 0)return(0,u.identifier)("undefined");if(l===!0||l===!1)return(0,u.booleanLiteral)(l);if(l===null)return(0,u.nullLiteral)();if(typeof l=="string")return(0,u.stringLiteral)(l);if(typeof l=="number"){let p;if(Number.isFinite(l))p=(0,u.numericLiteral)(Math.abs(l));else{let d;d=Number.isNaN(l)?(0,u.numericLiteral)(0):(0,u.numericLiteral)(1),p=(0,u.binaryExpression)("/",d,(0,u.numericLiteral)(0))}return(l<0||Object.is(l,-0))&&(p=(0,u.unaryExpression)("-",p)),p}if(function(p){return H(p)==="[object RegExp]"}(l)){let p=l.source,d=/\/([a-z]*)$/.exec(l.toString())[1];return(0,u.regExpLiteral)(p,d)}if(Array.isArray(l))return(0,u.arrayExpression)(l.map(a));if(function(p){if(typeof p!="object"||p===null||Object.prototype.toString.call(p)!=="[object Object]")return!1;let d=Object.getPrototypeOf(p);return d===null||Object.getPrototypeOf(d)===null}(l)){let p=[];for(let d of Object.keys(l)){let h;h=(0,s.default)(d)?(0,u.identifier)(d):(0,u.stringLiteral)(d),p.push((0,u.objectProperty)(h,a(l[d])))}return(0,u.objectExpression)(p)}throw new Error("don't know how to turn this value into a node")};let H=Function.call.bind(Object.prototype.toString)},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/core.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.patternLikeCommon=r.functionTypeAnnotationCommon=r.functionDeclarationCommon=r.functionCommon=r.classMethodOrPropertyCommon=r.classMethodOrDeclareMethodCommon=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/is.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),H=c("./node_modules/.pnpm/@babel+helper-validator-identifier@7.25.7/node_modules/@babel/helper-validator-identifier/lib/index.js"),a=c("./node_modules/.pnpm/@babel+helper-string-parser@7.25.7/node_modules/@babel/helper-string-parser/lib/index.js"),l=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/constants/index.js"),p=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/utils.js");let d=(0,p.defineAliasedType)("Standardized");d("ArrayExpression",{fields:{elements:{validate:(0,p.arrayOf)((0,p.assertNodeOrValueType)("null","Expression","SpreadElement")),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]}),d("AssignmentExpression",{fields:{operator:{validate:process.env.BABEL_TYPES_8_BREAKING?Object.assign(function(){let A=(0,p.assertOneOf)(...l.ASSIGNMENT_OPERATORS),S=(0,p.assertOneOf)("=");return function(T,I,L){((0,s.default)("Pattern",T.left)?S:A)(T,I,L)}}(),{type:"string"}):(0,p.assertValueType)("string")},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,p.assertNodeType)("LVal","OptionalMemberExpression")},right:{validate:(0,p.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),d("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,p.assertOneOf)(...l.BINARY_OPERATORS)},left:{validate:function(){let A=(0,p.assertNodeType)("Expression"),S=(0,p.assertNodeType)("Expression","PrivateName");return Object.assign(function(T,I,L){(T.operator==="in"?S:A)(T,I,L)},{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:(0,p.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),d("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,p.assertValueType)("string")}}}),d("Directive",{visitor:["value"],fields:{value:{validate:(0,p.assertNodeType)("DirectiveLiteral")}}}),d("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,p.assertValueType)("string")}}}),d("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,p.arrayOfType)("Directive"),default:[]},body:(0,p.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]}),d("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,p.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),d("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,p.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:(0,p.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder")},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,p.assertValueType)("boolean"),optional:!0}},{typeArguments:{validate:(0,p.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,p.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),d("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,p.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,p.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),d("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,p.assertNodeType)("Expression")},consequent:{validate:(0,p.assertNodeType)("Expression")},alternate:{validate:(0,p.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),d("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,p.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),d("DebuggerStatement",{aliases:["Statement"]}),d("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:(0,p.assertNodeType)("Expression")},body:{validate:(0,p.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),d("EmptyStatement",{aliases:["Statement"]}),d("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,p.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),d("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,p.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.assertEach)((0,p.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,p.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}}),d("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,p.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,p.assertNodeType)("Expression")},body:{validate:(0,p.assertNodeType)("Statement")}}}),d("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,p.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,p.assertNodeType)("Expression"),optional:!0},update:{validate:(0,p.assertNodeType)("Expression"),optional:!0},body:{validate:(0,p.assertNodeType)("Statement")}}});let h=()=>({params:(0,p.validateArrayOfType)("Identifier","Pattern","RestElement"),generator:{default:!1},async:{default:!1}});r.functionCommon=h;let m=()=>({returnType:{validate:(0,p.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,p.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});r.functionTypeAnnotationCommon=m;let g=()=>Object.assign({},h(),{declare:{validate:(0,p.assertValueType)("boolean"),optional:!0},id:{validate:(0,p.assertNodeType)("Identifier"),optional:!0}});r.functionDeclarationCommon=g,d("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","returnType","body"],fields:Object.assign({},g(),m(),{body:{validate:(0,p.assertNodeType)("BlockStatement")},predicate:{validate:(0,p.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:process.env.BABEL_TYPES_8_BREAKING?function(){let A=(0,p.assertNodeType)("Identifier");return function(S,T,I){(0,s.default)("ExportDefaultDeclaration",S)||A(I,"id",I.id)}}():void 0}),d("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},h(),m(),{id:{validate:(0,p.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,p.assertNodeType)("BlockStatement")},predicate:{validate:(0,p.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});let y=()=>({typeAnnotation:{validate:(0,p.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,p.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,p.arrayOfType)("Decorator"),optional:!0}});r.patternLikeCommon=y,d("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},y(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.chain)((0,p.assertValueType)("string"),Object.assign(function(A,S,T){if(!(0,u.default)(T,!1))throw new TypeError(`"${T}" is not a valid identifier name`)},{type:"string"})):(0,p.assertValueType)("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(A,S,T){let I=/\.(\w+)$/.exec(S);if(!I)return;let[,L]=I,x={computed:!1};if(L==="property"){if((0,s.default)("MemberExpression",A,x)||(0,s.default)("OptionalMemberExpression",A,x))return}else if(L==="key"){if((0,s.default)("Property",A,x)||(0,s.default)("Method",A,x))return}else if(L==="exported"){if((0,s.default)("ExportSpecifier",A))return}else if(L==="imported"){if((0,s.default)("ImportSpecifier",A,{imported:T}))return}else if(L==="meta"&&(0,s.default)("MetaProperty",A,{meta:T}))return;if(((0,H.isKeyword)(T.name)||(0,H.isReservedWord)(T.name,!1))&&T.name!=="this")throw new TypeError(`"${T.name}" is not a valid identifier`)}:void 0}),d("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,p.assertNodeType)("Expression")},consequent:{validate:(0,p.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,p.assertNodeType)("Statement")}}}),d("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,p.assertNodeType)("Identifier")},body:{validate:(0,p.assertNodeType)("Statement")}}}),d("StringLiteral",{builder:["value"],fields:{value:{validate:(0,p.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),d("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,p.chain)((0,p.assertValueType)("number"),Object.assign(function(A,S,T){(1/T<0||!Number.isFinite(T))&&new Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${T}) instead.`)},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]}),d("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),d("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,p.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),d("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,p.assertValueType)("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.chain)((0,p.assertValueType)("string"),Object.assign(function(A,S,T){let I=/[^gimsuy]/.exec(T);if(I)throw new TypeError(`"${I[0]}" is not a valid RegExp flag`)},{type:"string"})):(0,p.assertValueType)("string"),default:""}}}),d("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,p.assertOneOf)(...l.LOGICAL_OPERATORS)},left:{validate:(0,p.assertNodeType)("Expression")},right:{validate:(0,p.assertNodeType)("Expression")}}}),d("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,p.assertNodeType)("Expression","Super")},property:{validate:function(){let A=(0,p.assertNodeType)("Identifier","PrivateName"),S=(0,p.assertNodeType)("Expression"),T=function(I,L,x){(I.computed?S:A)(I,L,x)};return T.oneOfNodeTypes=["Expression","Identifier","PrivateName"],T}()},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,p.assertValueType)("boolean"),optional:!0}})}),d("NewExpression",{inherits:"CallExpression"}),d("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,p.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,p.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,p.arrayOfType)("Directive"),default:[]},body:(0,p.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block"]}),d("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,p.validateArrayOfType)("ObjectMethod","ObjectProperty","SpreadElement")}}),d("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},h(),m(),{kind:Object.assign({validate:(0,p.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:function(){let A=(0,p.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),S=(0,p.assertNodeType)("Expression"),T=function(I,L,x){(I.computed?S:A)(I,L,x)};return T.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],T}()},decorators:{validate:(0,p.arrayOfType)("Decorator"),optional:!0},body:{validate:(0,p.assertNodeType)("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),d("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:function(){let A=(0,p.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),S=(0,p.assertNodeType)("Expression");return Object.assign(function(T,I,L){(T.computed?S:A)(T,I,L)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})}()},value:{validate:(0,p.assertNodeType)("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.chain)((0,p.assertValueType)("boolean"),Object.assign(function(A,S,T){if(T){if(A.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!(0,s.default)("Identifier",A.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}},{type:"boolean"})):(0,p.assertValueType)("boolean"),default:!1},decorators:{validate:(0,p.arrayOfType)("Decorator"),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:process.env.BABEL_TYPES_8_BREAKING?function(){let A=(0,p.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),S=(0,p.assertNodeType)("Expression");return function(T,I,L){((0,s.default)("ObjectPattern",T)?A:S)(L,"value",L.value)}}():void 0}),d("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},y(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,p.assertNodeType)("LVal")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(A,S){let T=/(\w+)\[(\d+)\]/.exec(S);if(!T)throw new Error("Internal Babel error: malformed key.");let[,I,L]=T;if(A[I].length>+L+1)throw new TypeError(`RestElement must be last element of ${I}`)}:void 0}),d("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,p.assertNodeType)("Expression"),optional:!0}}}),d("SequenceExpression",{visitor:["expressions"],fields:{expressions:(0,p.validateArrayOfType)("Expression")},aliases:["Expression"]}),d("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,p.assertNodeType)("Expression")}}}),d("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,p.assertNodeType)("Expression"),optional:!0},consequent:(0,p.validateArrayOfType)("Statement")}}),d("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,p.assertNodeType)("Expression")},cases:(0,p.validateArrayOfType)("SwitchCase")}}),d("ThisExpression",{aliases:["Expression"]}),d("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,p.assertNodeType)("Expression")}}}),d("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.chain)((0,p.assertNodeType)("BlockStatement"),Object.assign(function(A){if(!A.handler&&!A.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]})):(0,p.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,p.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,p.assertNodeType)("BlockStatement")}}}),d("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,p.assertNodeType)("Expression")},operator:{validate:(0,p.assertOneOf)(...l.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),d("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.assertNodeType)("Identifier","MemberExpression"):(0,p.assertNodeType)("Expression")},operator:{validate:(0,p.assertOneOf)(...l.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),d("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,p.assertValueType)("boolean"),optional:!0},kind:{validate:(0,p.assertOneOf)("var","let","const","using","await using")},declarations:(0,p.validateArrayOfType)("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(()=>{let A=(0,p.assertNodeType)("Identifier");return function(S,T,I){if((0,s.default)("ForXStatement",S,{left:I})){if(I.declarations.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${S.type}`)}else I.declarations.forEach(L=>{L.init||A(L,"id",L.id)})}})():void 0}),d("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"):(0,p.assertNodeType)("LVal")},definite:{optional:!0,validate:(0,p.assertValueType)("boolean")},init:{optional:!0,validate:(0,p.assertNodeType)("Expression")}}}),d("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,p.assertNodeType)("Expression")},body:{validate:(0,p.assertNodeType)("Statement")}}}),d("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,p.assertNodeType)("Expression")},body:{validate:(0,p.assertNodeType)("Statement")}}}),d("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},y(),{left:{validate:(0,p.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,p.assertNodeType)("Expression")},decorators:{validate:(0,p.arrayOfType)("Decorator"),optional:!0}})}),d("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},y(),{elements:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeOrValueType)("null","PatternLike","LVal")))}})}),d("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},h(),m(),{expression:{validate:(0,p.assertValueType)("boolean")},body:{validate:(0,p.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,p.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})}),d("ClassBody",{visitor:["body"],fields:{body:(0,p.validateArrayOfType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}}),d("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,p.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,p.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,p.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,p.assertNodeType)("Expression")},superTypeParameters:{validate:(0,p.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,p.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,p.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,p.assertNodeType)("InterfaceExtends"),optional:!0}}}),d("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,p.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,p.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,p.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,p.assertNodeType)("Expression")},superTypeParameters:{validate:(0,p.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,p.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,p.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,p.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,p.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,p.assertValueType)("boolean"),optional:!0}},validate:process.env.BABEL_TYPES_8_BREAKING?function(){let A=(0,p.assertNodeType)("Identifier");return function(S,T,I){(0,s.default)("ExportDefaultDeclaration",S)||A(I,"id",I.id)}}():void 0}),d("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{source:{validate:(0,p.assertNodeType)("StringLiteral")},exportKind:(0,p.validateOptional)((0,p.assertOneOf)("type","value")),attributes:{optional:!0,validate:(0,p.arrayOfType)("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:(0,p.arrayOfType)("ImportAttribute")}}}),d("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:(0,p.validateType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:(0,p.validateOptional)((0,p.assertOneOf)("value"))}}),d("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:process.env?["declaration","specifiers","source","attributes"]:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.chain)((0,p.assertNodeType)("Declaration"),Object.assign(function(A,S,T){if(T&&A.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(T&&A.source)throw new TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):(0,p.assertNodeType)("Declaration")},attributes:{optional:!0,validate:(0,p.arrayOfType)("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:(0,p.arrayOfType)("ImportAttribute")},specifiers:{default:[],validate:(0,p.arrayOf)(function(){let A=(0,p.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),S=(0,p.assertNodeType)("ExportSpecifier");return process.env.BABEL_TYPES_8_BREAKING?Object.assign(function(T,I,L){(T.source?A:S)(T,I,L)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]}):A}())},source:{validate:(0,p.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,p.validateOptional)((0,p.assertOneOf)("type","value"))}}),d("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,p.assertNodeType)("Identifier")},exported:{validate:(0,p.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,p.assertOneOf)("type","value"),optional:!0}}}),d("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,p.assertNodeType)("VariableDeclaration","LVal");let A=(0,p.assertNodeType)("VariableDeclaration"),S=(0,p.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(T,I,L){(0,s.default)("VariableDeclaration",L)?A(T,I,L):S(T,I,L)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})}()},right:{validate:(0,p.assertNodeType)("Expression")},body:{validate:(0,p.assertNodeType)("Statement")},await:{default:!1}}}),d("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:{attributes:{optional:!0,validate:(0,p.arrayOfType)("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:(0,p.arrayOfType)("ImportAttribute")},module:{optional:!0,validate:(0,p.assertValueType)("boolean")},phase:{default:null,validate:(0,p.assertOneOf)("source","defer")},specifiers:(0,p.validateArrayOfType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:(0,p.assertNodeType)("StringLiteral")},importKind:{validate:(0,p.assertOneOf)("type","typeof","value"),optional:!0}}}),d("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,p.assertNodeType)("Identifier")}}}),d("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,p.assertNodeType)("Identifier")}}}),d("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,p.assertNodeType)("Identifier")},imported:{validate:(0,p.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,p.assertOneOf)("type","typeof","value"),optional:!0}}}),d("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,p.assertOneOf)("source","defer")},source:{validate:(0,p.assertNodeType)("Expression")},options:{validate:(0,p.assertNodeType)("Expression"),optional:!0}}}),d("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.chain)((0,p.assertNodeType)("Identifier"),Object.assign(function(A,S,T){let I;switch(T.name){case"function":I="sent";break;case"new":I="target";break;case"import":I="meta"}if(!(0,s.default)("Identifier",A.property,{name:I}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):(0,p.assertNodeType)("Identifier")},property:{validate:(0,p.assertNodeType)("Identifier")}}});let _=()=>({abstract:{validate:(0,p.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,p.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,p.assertValueType)("boolean"),optional:!0},key:{validate:(0,p.chain)(function(){let A=(0,p.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),S=(0,p.assertNodeType)("Expression");return function(T,I,L){(T.computed?S:A)(T,I,L)}}(),(0,p.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});r.classMethodOrPropertyCommon=_;let E=()=>Object.assign({},h(),_(),{params:(0,p.validateArrayOfType)("Identifier","Pattern","RestElement","TSParameterProperty"),kind:{validate:(0,p.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,p.chain)((0,p.assertValueType)("string"),(0,p.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,p.arrayOfType)("Decorator"),optional:!0}});r.classMethodOrDeclareMethodCommon=E,d("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},E(),m(),{body:{validate:(0,p.assertNodeType)("BlockStatement")}})}),d("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},y(),{properties:(0,p.validateArrayOfType)("RestElement","ObjectProperty")})}),d("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,p.assertNodeType)("Expression")}}}),d("Super",{aliases:["Expression"]}),d("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,p.assertNodeType)("Expression")},quasi:{validate:(0,p.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,p.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),d("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,p.chain)((0,p.assertShape)({raw:{validate:(0,p.assertValueType)("string")},cooked:{validate:(0,p.assertValueType)("string"),optional:!0}}),function(A){let S=A.value.raw,T=!1,I=()=>{throw new Error("Internal @babel/types error.")},{str:L,firstInvalidLoc:x}=(0,a.readStringContents)("template",S,0,0,0,{unterminated(){T=!0},strictNumericEscape:I,invalidEscapeSequence:I,numericSeparatorInEscapeSequence:I,unexpectedNumericSeparator:I,invalidDigit:I,invalidCodePoint:I});if(!T)throw new Error("Invalid raw");A.value.cooked=x?null:L})},tail:{default:!1}}}),d("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:(0,p.validateArrayOfType)("TemplateElement"),expressions:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Expression","TSType")),function(A,S,T){if(A.quasis.length!==T.length+1)throw new TypeError(`Number of ${A.type} quasis should be exactly one more than the number of expressions.
|
|
Expected ${T.length+1} quasis but got ${A.quasis.length}`)})}}}),d("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.chain)((0,p.assertValueType)("boolean"),Object.assign(function(A,S,T){if(T&&!A.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})):(0,p.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,p.assertNodeType)("Expression")}}}),d("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,p.assertNodeType)("Expression")}}}),d("Import",{aliases:["Expression"]}),d("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,p.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),d("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,p.assertNodeType)("Identifier")}}}),d("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,p.assertNodeType)("Expression")},property:{validate:function(){let A=(0,p.assertNodeType)("Identifier"),S=(0,p.assertNodeType)("Expression");return Object.assign(function(T,I,L){(T.computed?S:A)(T,I,L)},{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.chain)((0,p.assertValueType)("boolean"),(0,p.assertOptionalChainStart)()):(0,p.assertValueType)("boolean")}}}),d("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,p.assertNodeType)("Expression")},arguments:(0,p.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,p.chain)((0,p.assertValueType)("boolean"),(0,p.assertOptionalChainStart)()):(0,p.assertValueType)("boolean")},typeArguments:{validate:(0,p.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,p.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}}),d("ClassProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},_(),{value:{validate:(0,p.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,p.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,p.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,p.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,p.assertValueType)("boolean"),optional:!0},declare:{validate:(0,p.assertValueType)("boolean"),optional:!0},variance:{validate:(0,p.assertNodeType)("Variance"),optional:!0}})}),d("ClassAccessorProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},_(),{key:{validate:(0,p.chain)(function(){let A=(0,p.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),S=(0,p.assertNodeType)("Expression");return function(T,I,L){(T.computed?S:A)(T,I,L)}}(),(0,p.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,p.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,p.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,p.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,p.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,p.assertValueType)("boolean"),optional:!0},declare:{validate:(0,p.assertValueType)("boolean"),optional:!0},variance:{validate:(0,p.assertNodeType)("Variance"),optional:!0}})}),d("ClassPrivateProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,p.assertNodeType)("PrivateName")},value:{validate:(0,p.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,p.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,p.arrayOfType)("Decorator"),optional:!0},static:{validate:(0,p.assertValueType)("boolean"),default:!1},readonly:{validate:(0,p.assertValueType)("boolean"),optional:!0},definite:{validate:(0,p.assertValueType)("boolean"),optional:!0},variance:{validate:(0,p.assertNodeType)("Variance"),optional:!0}}}),d("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},E(),m(),{kind:{validate:(0,p.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,p.assertNodeType)("PrivateName")},body:{validate:(0,p.assertNodeType)("BlockStatement")}})}),d("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,p.assertNodeType)("Identifier")}}}),d("StaticBlock",{visitor:["body"],fields:{body:(0,p.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]})},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/deprecated-aliases.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.DEPRECATED_ALIASES=void 0,r.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/experimental.js":(o,r,c)=>{"use strict";var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/utils.js");(0,s.default)("ArgumentPlaceholder",{}),(0,s.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,s.assertNodeType)("Expression")},callee:{validate:(0,s.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}}),(0,s.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,s.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,s.assertNodeType)("StringLiteral")}}}),(0,s.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,s.assertNodeType)("Expression")}}}),(0,s.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,s.assertNodeType)("BlockStatement")},async:{validate:(0,s.assertValueType)("boolean"),default:!1}}}),(0,s.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,s.assertNodeType)("Identifier")}}}),(0,s.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,s.validateArrayOfType)("ObjectProperty","SpreadElement")}}),(0,s.default)("TupleExpression",{fields:{elements:{validate:(0,s.arrayOfType)("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,s.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,s.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,s.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,s.assertNodeType)("Program")}},aliases:["Expression"]}),(0,s.default)("TopicReference",{aliases:["Expression"]}),(0,s.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,s.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,s.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,s.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,s.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/flow.js":(o,r,c)=>{"use strict";var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/utils.js");let u=(0,s.defineAliasedType)("Flow"),H=a=>{let l=a==="DeclareClass";u(a,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...l?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),extends:(0,s.validateOptional)((0,s.arrayOfType)("InterfaceExtends"))},l?{mixins:(0,s.validateOptional)((0,s.arrayOfType)("InterfaceExtends")),implements:(0,s.validateOptional)((0,s.arrayOfType)("ClassImplements"))}:{},{body:(0,s.validateType)("ObjectTypeAnnotation")})})};u("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,s.validateType)("FlowType")}}),u("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,s.validate)((0,s.assertValueType)("boolean"))}}),u("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterInstantiation")}}),H("DeclareClass"),u("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),predicate:(0,s.validateOptionalType)("DeclaredPredicate")}}),H("DeclareInterface"),u("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier","StringLiteral"),body:(0,s.validateType)("BlockStatement"),kind:(0,s.validateOptional)((0,s.assertOneOf)("CommonJS","ES"))}}),u("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,s.validateType)("TypeAnnotation")}}),u("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),right:(0,s.validateType)("FlowType")}}),u("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,s.validateOptionalType)("FlowType"),impltype:(0,s.validateOptionalType)("FlowType")}}),u("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier")}}),u("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,s.validateOptionalType)("Flow"),specifiers:(0,s.validateOptional)((0,s.arrayOfType)("ExportSpecifier","ExportNamespaceSpecifier")),source:(0,s.validateOptionalType)("StringLiteral"),default:(0,s.validateOptional)((0,s.assertValueType)("boolean"))}}),u("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:(0,s.validateType)("StringLiteral"),exportKind:(0,s.validateOptional)((0,s.assertOneOf)("type","value"))}}),u("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,s.validateType)("Flow")}}),u("ExistsTypeAnnotation",{aliases:["FlowType"]}),u("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),params:(0,s.validateArrayOfType)("FunctionTypeParam"),rest:(0,s.validateOptionalType)("FunctionTypeParam"),this:(0,s.validateOptionalType)("FunctionTypeParam"),returnType:(0,s.validateType)("FlowType")}}),u("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,s.validateOptionalType)("Identifier"),typeAnnotation:(0,s.validateType)("FlowType"),optional:(0,s.validateOptional)((0,s.assertValueType)("boolean"))}}),u("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,s.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterInstantiation")}}),u("InferredPredicate",{aliases:["FlowPredicate"]}),u("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,s.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterInstantiation")}}),H("InterfaceDeclaration"),u("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,s.validateOptional)((0,s.arrayOfType)("InterfaceExtends")),body:(0,s.validateType)("ObjectTypeAnnotation")}}),u("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,s.validate)((0,s.arrayOfType)("FlowType"))}}),u("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,s.validateType)("FlowType")}}),u("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,s.validate)((0,s.assertValueType)("number"))}}),u("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,s.validate)((0,s.arrayOfType)("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:(0,s.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,s.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,s.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,s.assertValueType)("boolean"),default:!1},inexact:(0,s.validateOptional)((0,s.assertValueType)("boolean"))}}),u("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,s.validateType)("Identifier"),value:(0,s.validateType)("FlowType"),optional:(0,s.validate)((0,s.assertValueType)("boolean")),static:(0,s.validate)((0,s.assertValueType)("boolean")),method:(0,s.validate)((0,s.assertValueType)("boolean"))}}),u("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,s.validateType)("FlowType"),static:(0,s.validate)((0,s.assertValueType)("boolean"))}}),u("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,s.validateOptionalType)("Identifier"),key:(0,s.validateType)("FlowType"),value:(0,s.validateType)("FlowType"),static:(0,s.validate)((0,s.assertValueType)("boolean")),variance:(0,s.validateOptionalType)("Variance")}}),u("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,s.validateType)("Identifier","StringLiteral"),value:(0,s.validateType)("FlowType"),kind:(0,s.validate)((0,s.assertOneOf)("init","get","set")),static:(0,s.validate)((0,s.assertValueType)("boolean")),proto:(0,s.validate)((0,s.assertValueType)("boolean")),optional:(0,s.validate)((0,s.assertValueType)("boolean")),variance:(0,s.validateOptionalType)("Variance"),method:(0,s.validate)((0,s.assertValueType)("boolean"))}}),u("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,s.validateType)("FlowType")}}),u("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,s.validateOptionalType)("FlowType"),impltype:(0,s.validateType)("FlowType")}}),u("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:(0,s.validateType)("Identifier"),qualification:(0,s.validateType)("Identifier","QualifiedTypeIdentifier")}}),u("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,s.validate)((0,s.assertValueType)("string"))}}),u("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,s.validate)((0,s.arrayOfType)("FlowType"))}}),u("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,s.validateType)("FlowType")}}),u("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),right:(0,s.validateType)("FlowType")}}),u("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,s.validateType)("FlowType")}}),u("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,s.validateType)("Expression"),typeAnnotation:(0,s.validateType)("TypeAnnotation")}}),u("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,s.validate)((0,s.assertValueType)("string")),bound:(0,s.validateOptionalType)("TypeAnnotation"),default:(0,s.validateOptionalType)("FlowType"),variance:(0,s.validateOptionalType)("Variance")}}),u("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,s.validate)((0,s.arrayOfType)("TypeParameter"))}}),u("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,s.validate)((0,s.arrayOfType)("FlowType"))}}),u("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,s.validate)((0,s.arrayOfType)("FlowType"))}}),u("Variance",{builder:["kind"],fields:{kind:(0,s.validate)((0,s.assertOneOf)("minus","plus"))}}),u("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),u("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,s.validateType)("Identifier"),body:(0,s.validateType)("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}}),u("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,s.validate)((0,s.assertValueType)("boolean")),members:(0,s.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,s.validate)((0,s.assertValueType)("boolean"))}}),u("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,s.validate)((0,s.assertValueType)("boolean")),members:(0,s.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,s.validate)((0,s.assertValueType)("boolean"))}}),u("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,s.validate)((0,s.assertValueType)("boolean")),members:(0,s.validateArrayOfType)("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:(0,s.validate)((0,s.assertValueType)("boolean"))}}),u("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,s.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,s.validate)((0,s.assertValueType)("boolean"))}}),u("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,s.validateType)("Identifier"),init:(0,s.validateType)("BooleanLiteral")}}),u("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,s.validateType)("Identifier"),init:(0,s.validateType)("NumericLiteral")}}),u("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,s.validateType)("Identifier"),init:(0,s.validateType)("StringLiteral")}}),u("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,s.validateType)("Identifier")}}),u("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,s.validateType)("FlowType"),indexType:(0,s.validateType)("FlowType")}}),u("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,s.validateType)("FlowType"),indexType:(0,s.validateType)("FlowType"),optional:(0,s.validate)((0,s.assertValueType)("boolean"))}})},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ALIAS_KEYS",{enumerable:!0,get:function(){return u.ALIAS_KEYS}}),Object.defineProperty(r,"BUILDER_KEYS",{enumerable:!0,get:function(){return u.BUILDER_KEYS}}),Object.defineProperty(r,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return a.DEPRECATED_ALIASES}}),Object.defineProperty(r,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return u.DEPRECATED_KEYS}}),Object.defineProperty(r,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return u.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(r,"NODE_FIELDS",{enumerable:!0,get:function(){return u.NODE_FIELDS}}),Object.defineProperty(r,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return u.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(r,"PLACEHOLDERS",{enumerable:!0,get:function(){return H.PLACEHOLDERS}}),Object.defineProperty(r,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return H.PLACEHOLDERS_ALIAS}}),Object.defineProperty(r,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return H.PLACEHOLDERS_FLIPPED_ALIAS}}),r.TYPES=void 0,Object.defineProperty(r,"VISITOR_KEYS",{enumerable:!0,get:function(){return u.VISITOR_KEYS}});var s=c("./node_modules/.pnpm/to-fast-properties@2.0.0/node_modules/to-fast-properties/index.js");c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/core.js"),c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/flow.js"),c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/jsx.js"),c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/misc.js"),c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/experimental.js"),c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/typescript.js");var u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/utils.js"),H=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/placeholders.js"),a=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/deprecated-aliases.js");Object.keys(a.DEPRECATED_ALIASES).forEach(l=>{u.FLIPPED_ALIAS_KEYS[l]=u.FLIPPED_ALIAS_KEYS[a.DEPRECATED_ALIASES[l]]}),s(u.VISITOR_KEYS),s(u.ALIAS_KEYS),s(u.FLIPPED_ALIAS_KEYS),s(u.NODE_FIELDS),s(u.BUILDER_KEYS),s(u.DEPRECATED_KEYS),s(H.PLACEHOLDERS_ALIAS),s(H.PLACEHOLDERS_FLIPPED_ALIAS),r.TYPES=[].concat(Object.keys(u.VISITOR_KEYS),Object.keys(u.FLIPPED_ALIAS_KEYS),Object.keys(u.DEPRECATED_KEYS))},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/jsx.js":(o,r,c)=>{"use strict";var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/utils.js");let u=(0,s.defineAliasedType)("JSX");u("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,s.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,s.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),u("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,s.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),u("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,s.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,s.assertNodeType)("JSXClosingElement")},children:(0,s.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:(0,s.assertValueType)("boolean"),optional:!0}})}),u("JSXEmptyExpression",{}),u("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,s.assertNodeType)("Expression","JSXEmptyExpression")}}}),u("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,s.assertNodeType)("Expression")}}}),u("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,s.assertValueType)("string")}}}),u("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,s.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,s.assertNodeType)("JSXIdentifier")}}}),u("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,s.assertNodeType)("JSXIdentifier")},name:{validate:(0,s.assertNodeType)("JSXIdentifier")}}}),u("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:(0,s.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:(0,s.validateArrayOfType)("JSXAttribute","JSXSpreadAttribute"),typeParameters:{validate:(0,s.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),u("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,s.assertNodeType)("Expression")}}}),u("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,s.assertValueType)("string")}}}),u("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,s.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,s.assertNodeType)("JSXClosingFragment")},children:(0,s.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}}),u("JSXOpeningFragment",{aliases:["Immutable"]}),u("JSXClosingFragment",{aliases:["Immutable"]})},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/misc.js":(o,r,c)=>{"use strict";var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/utils.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/placeholders.js");let H=(0,s.defineAliasedType)("Miscellaneous");H("Noop",{visitor:[]}),H("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,s.assertNodeType)("Identifier")},expectedNode:{validate:(0,s.assertOneOf)(...u.PLACEHOLDERS)}}}),H("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,s.assertValueType)("string")}}})},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/placeholders.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PLACEHOLDERS_FLIPPED_ALIAS=r.PLACEHOLDERS_ALIAS=r.PLACEHOLDERS=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/utils.js");let u=r.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],H=r.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let l of u){let p=s.ALIAS_KEYS[l];p!=null&&p.length&&(H[l]=p)}let a=r.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(H).forEach(l=>{H[l].forEach(p=>{hasOwnProperty.call(a,p)||(a[p]=[]),a[p].push(l)})})},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/typescript.js":(o,r,c)=>{"use strict";var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/utils.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/core.js"),H=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/is.js");let a=(0,s.defineAliasedType)("TypeScript"),l=(0,s.assertValueType)("boolean"),p=()=>({returnType:{validate:(0,s.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,s.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});a("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,s.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,s.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,s.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,s.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,s.arrayOfType)("Decorator"),optional:!0}}}),a("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,u.functionDeclarationCommon)(),p())}),a("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,u.classMethodOrDeclareMethodCommon)(),p())}),a("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,s.validateType)("TSEntityName"),right:(0,s.validateType)("Identifier")}});let d=()=>({typeParameters:(0,s.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,s.validateArrayOfType)("ArrayPattern","Identifier","ObjectPattern","RestElement"),typeAnnotation:(0,s.validateOptionalType)("TSTypeAnnotation")}),h={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:d()};a("TSCallSignatureDeclaration",h),a("TSConstructSignatureDeclaration",h);let m=()=>({key:(0,s.validateType)("Expression"),computed:{default:!1},optional:(0,s.validateOptional)(l)});a("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},m(),{readonly:(0,s.validateOptional)(l),typeAnnotation:(0,s.validateOptionalType)("TSTypeAnnotation"),kind:{validate:(0,s.assertOneOf)("get","set")}})}),a("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},d(),m(),{kind:{validate:(0,s.assertOneOf)("method","get","set")}})}),a("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,s.validateOptional)(l),static:(0,s.validateOptional)(l),parameters:(0,s.validateArrayOfType)("Identifier"),typeAnnotation:(0,s.validateOptionalType)("TSTypeAnnotation")}});let g=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let A of g)a(A,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});a("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});let y={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};a("TSFunctionType",Object.assign({},y,{fields:d()})),a("TSConstructorType",Object.assign({},y,{fields:Object.assign({},d(),{abstract:(0,s.validateOptional)(l)})})),a("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,s.validateType)("TSEntityName"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation")}}),a("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,s.validateType)("Identifier","TSThisType"),typeAnnotation:(0,s.validateOptionalType)("TSTypeAnnotation"),asserts:(0,s.validateOptional)(l)}}),a("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,s.validateType)("TSEntityName","TSImportType"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation")}}),a("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,s.validateArrayOfType)("TSTypeElement")}}),a("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,s.validateType)("TSType")}}),a("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,s.validateArrayOfType)("TSType","TSNamedTupleMember")}}),a("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,s.validateType)("TSType")}}),a("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,s.validateType)("TSType")}}),a("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,s.validateType)("Identifier"),optional:{validate:l,default:!1},elementType:(0,s.validateType)("TSType")}});let _={aliases:["TSType"],visitor:["types"],fields:{types:(0,s.validateArrayOfType)("TSType")}};a("TSUnionType",_),a("TSIntersectionType",_),a("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,s.validateType)("TSType"),extendsType:(0,s.validateType)("TSType"),trueType:(0,s.validateType)("TSType"),falseType:(0,s.validateType)("TSType")}}),a("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,s.validateType)("TSTypeParameter")}}),a("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,s.validateType)("TSType")}}),a("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,s.validate)((0,s.assertValueType)("string")),typeAnnotation:(0,s.validateType)("TSType")}}),a("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,s.validateType)("TSType"),indexType:(0,s.validateType)("TSType")}}),a("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:(0,s.validateType)("TSTypeParameter")},{readonly:(0,s.validateOptional)((0,s.assertOneOf)(!0,!1,"+","-")),optional:(0,s.validateOptional)((0,s.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,s.validateOptionalType)("TSType"),nameType:(0,s.validateOptionalType)("TSType")})}),a("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){let A=(0,s.assertNodeType)("NumericLiteral","BigIntLiteral"),S=(0,s.assertOneOf)("-"),T=(0,s.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function I(L,x,C){(0,H.default)("UnaryExpression",C)?(S(C,"operator",C.operator),A(C,"argument",C.argument)):T(L,x,C)}return I.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],I}()}}}),a("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,s.validateType)("TSEntityName"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation")}}),a("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,s.validateOptional)(l),id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,s.validateOptional)((0,s.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,s.validateType)("TSInterfaceBody")}}),a("TSInterfaceBody",{visitor:["body"],fields:{body:(0,s.validateArrayOfType)("TSTypeElement")}}),a("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,s.validateOptional)(l),id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,s.validateType)("TSType")}}),a("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,s.validateType)("Expression"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation")}});let E={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,s.validateType)("Expression"),typeAnnotation:(0,s.validateType)("TSType")}};a("TSAsExpression",E),a("TSSatisfiesExpression",E),a("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,s.validateType)("TSType"),expression:(0,s.validateType)("Expression")}}),a("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,s.validateOptional)(l),const:(0,s.validateOptional)(l),id:(0,s.validateType)("Identifier"),members:(0,s.validateArrayOfType)("TSEnumMember"),initializer:(0,s.validateOptionalType)("Expression")}}),a("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,s.validateType)("Identifier","StringLiteral"),initializer:(0,s.validateOptionalType)("Expression")}}),a("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,s.validateOptional)(l),global:(0,s.validateOptional)(l),id:(0,s.validateType)("Identifier","StringLiteral"),body:(0,s.validateType)("TSModuleBlock","TSModuleDeclaration")}}),a("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,s.validateArrayOfType)("Statement")}}),a("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,s.validateType)("StringLiteral"),qualifier:(0,s.validateOptionalType)("TSEntityName"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation"),options:{validate:(0,s.assertNodeType)("Expression"),optional:!0}}}),a("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,s.validate)(l),id:(0,s.validateType)("Identifier"),moduleReference:(0,s.validateType)("TSEntityName","TSExternalModuleReference"),importKind:{validate:(0,s.assertOneOf)("type","value"),optional:!0}}}),a("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,s.validateType)("StringLiteral")}}),a("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,s.validateType)("Expression")}}),a("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,s.validateType)("Expression")}}),a("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,s.validateType)("Identifier")}}),a("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,s.assertNodeType)("TSType")}}}),a("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:(0,s.validateArrayOfType)("TSType")}}),a("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:(0,s.validateArrayOfType)("TSTypeParameter")}}),a("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,s.assertValueType)("string")},in:{validate:(0,s.assertValueType)("boolean"),optional:!0},out:{validate:(0,s.assertValueType)("boolean"),optional:!0},const:{validate:(0,s.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,s.assertNodeType)("TSType"),optional:!0},default:{validate:(0,s.assertNodeType)("TSType"),optional:!0}}})},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/utils.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.VISITOR_KEYS=r.NODE_PARENT_VALIDATIONS=r.NODE_FIELDS=r.FLIPPED_ALIAS_KEYS=r.DEPRECATED_KEYS=r.BUILDER_KEYS=r.ALIAS_KEYS=void 0,r.arrayOf=_,r.arrayOfType=E,r.assertEach=A,r.assertNodeOrValueType=function(...O){function j(k,$,U){for(let F of O)if(g(U)===F||(0,s.default)(F,U))return void(0,u.validateChild)(k,$,U);throw new TypeError(`Property ${$} of ${k.type} expected node to be of a type ${JSON.stringify(O)} but instead got ${JSON.stringify(U?.type)}`)}return j.oneOfNodeOrValueTypes=O,j},r.assertNodeType=S,r.assertOneOf=function(...O){function j(k,$,U){if(!O.includes(U))throw new TypeError(`Property ${$} expected value to be one of ${JSON.stringify(O)} but got ${JSON.stringify(U)}`)}return j.oneOf=O,j},r.assertOptionalChainStart=function(){return function(O){var j;let k=O;for(;O;){let{type:$}=k;if($!=="OptionalCallExpression"){if($!=="OptionalMemberExpression")break;if(k.optional)return;k=k.object}else{if(k.optional)return;k=k.callee}}throw new TypeError(`Non-optional ${O.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(j=k)==null?void 0:j.type}`)}},r.assertShape=function(O){function j(k,$,U){let F=[];for(let P of Object.keys(O))try{(0,u.validateField)(k,P,U[P],O[P])}catch(W){if(W instanceof TypeError){F.push(W.message);continue}throw W}if(F.length)throw new TypeError(`Property ${$} of ${k.type} expected to have the following:
|
|
${F.join(`
|
|
`)}`)}return j.shapeOf=O,j},r.assertValueType=T,r.chain=I,r.default=D,r.defineAliasedType=function(...O){return(j,k={})=>{let $=k.aliases;var U;$||(k.inherits&&($=(U=C[k.inherits].aliases)==null?void 0:U.slice()),$!=null||($=[]),k.aliases=$);let F=O.filter(P=>!$.includes(P));$.unshift(...F),D(j,k)}},r.validate=y,r.validateArrayOfType=function(...O){return y(E(...O))},r.validateOptional=function(O){return{validate:O,optional:!0}},r.validateOptionalType=function(...O){return{validate:S(...O),optional:!0}},r.validateType=function(...O){return y(S(...O))};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/is.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/validate.js");let H=r.VISITOR_KEYS={},a=r.ALIAS_KEYS={},l=r.FLIPPED_ALIAS_KEYS={},p=r.NODE_FIELDS={},d=r.BUILDER_KEYS={},h=r.DEPRECATED_KEYS={},m=r.NODE_PARENT_VALIDATIONS={};function g(O){return Array.isArray(O)?"array":O===null?"null":typeof O}function y(O){return{validate:O}}function _(O){return I(T("array"),A(O))}function E(...O){return _(S(...O))}function A(O){let j=process.env.BABEL_TYPES_8_BREAKING?u.validateChild:()=>{};function k($,U,F){if(Array.isArray(F))for(let P=0;P<F.length;P++){let W=`${U}[${P}]`,Z=F[P];O($,W,Z),j($,W,Z)}}return k.each=O,k}function S(...O){function j(k,$,U){for(let F of O)if((0,s.default)(F,U))return void(0,u.validateChild)(k,$,U);throw new TypeError(`Property ${$} of ${k.type} expected node to be of a type ${JSON.stringify(O)} but instead got ${JSON.stringify(U?.type)}`)}return j.oneOfNodeTypes=O,j}function T(O){function j(k,$,U){if(g(U)!==O)throw new TypeError(`Property ${$} expected type of ${O} but got ${g(U)}`)}return j.type=O,j}function I(...O){function j(...k){for(let $ of O)$(...k)}if(j.chainOf=O,O.length>=2&&"type"in O[0]&&O[0].type==="array"&&!("each"in O[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return j}let L=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]),x=new Set(["default","optional","deprecated","validate"]),C={};function D(O,j={}){let k=j.inherits&&C[j.inherits]||{},$=j.fields;if(!$&&($={},k.fields)){let W=Object.getOwnPropertyNames(k.fields);for(let Z of W){let ee=k.fields[Z],J=ee.default;if(Array.isArray(J)?J.length>0:J&&typeof J=="object")throw new Error("field defaults can only be primitives or empty arrays currently");$[Z]={default:Array.isArray(J)?[]:J,optional:ee.optional,deprecated:ee.deprecated,validate:ee.validate}}}let U=j.visitor||k.visitor||[],F=j.aliases||k.aliases||[],P=j.builder||k.builder||j.visitor||[];for(let W of Object.keys(j))if(!L.has(W))throw new Error(`Unknown type option "${W}" on ${O}`);j.deprecatedAlias&&(h[j.deprecatedAlias]=O);for(let W of U.concat(P))$[W]=$[W]||{};for(let W of Object.keys($)){let Z=$[W];Z.default===void 0||P.includes(W)||(Z.optional=!0),Z.default===void 0?Z.default=null:Z.validate||Z.default==null||(Z.validate=T(g(Z.default)));for(let ee of Object.keys(Z))if(!x.has(ee))throw new Error(`Unknown field key "${ee}" on ${O}.${W}`)}H[O]=j.visitor=U,d[O]=j.builder=P,p[O]=j.fields=$,a[O]=j.aliases=F,F.forEach(W=>{l[W]=l[W]||[],l[W].push(O)}),j.validate&&(m[O]=j.validate),C[O]=j}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getAssignmentIdentifiers:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,getFunctionName:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(r,"__internal__deprecationWarning",{enumerable:!0,get:function(){return Nt.default}}),Object.defineProperty(r,"addComment",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(r,"addComments",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(r,"appendToMemberExpression",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(r,"assertNode",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"buildMatchMemberExpression",{enumerable:!0,get:function(){return At.default}}),Object.defineProperty(r,"clone",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(r,"cloneDeep",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(r,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(r,"cloneNode",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(r,"cloneWithoutLoc",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(r,"createFlowUnionType",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(r,"createTSUnionType",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(r,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(r,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(r,"ensureBlock",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(r,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return Fe.default}}),Object.defineProperty(r,"getBindingIdentifiers",{enumerable:!0,get:function(){return me.default}}),Object.defineProperty(r,"getFunctionName",{enumerable:!0,get:function(){return ke.default}}),Object.defineProperty(r,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(r,"inheritInnerComments",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(r,"inheritLeadingComments",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(r,"inheritTrailingComments",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(r,"inherits",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(r,"inheritsComments",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(r,"is",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(r,"isBinding",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(r,"isBlockScoped",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(r,"isImmutable",{enumerable:!0,get:function(){return Ie.default}}),Object.defineProperty(r,"isLet",{enumerable:!0,get:function(){return ye.default}}),Object.defineProperty(r,"isNode",{enumerable:!0,get:function(){return $e.default}}),Object.defineProperty(r,"isNodesEquivalent",{enumerable:!0,get:function(){return nt.default}}),Object.defineProperty(r,"isPlaceholderType",{enumerable:!0,get:function(){return et.default}}),Object.defineProperty(r,"isReferenced",{enumerable:!0,get:function(){return xe.default}}),Object.defineProperty(r,"isScope",{enumerable:!0,get:function(){return pe.default}}),Object.defineProperty(r,"isSpecifierDefault",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(r,"isType",{enumerable:!0,get:function(){return Se.default}}),Object.defineProperty(r,"isValidES3Identifier",{enumerable:!0,get:function(){return Ae.default}}),Object.defineProperty(r,"isValidIdentifier",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(r,"isVar",{enumerable:!0,get:function(){return We.default}}),Object.defineProperty(r,"matchesPattern",{enumerable:!0,get:function(){return tt.default}}),Object.defineProperty(r,"prependToMemberExpression",{enumerable:!0,get:function(){return _e.default}}),r.react=void 0,Object.defineProperty(r,"removeComments",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(r,"removeProperties",{enumerable:!0,get:function(){return He.default}}),Object.defineProperty(r,"removePropertiesDeep",{enumerable:!0,get:function(){return be.default}}),Object.defineProperty(r,"removeTypeDuplicates",{enumerable:!0,get:function(){return Ve.default}}),Object.defineProperty(r,"shallowEqual",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(r,"toBindingIdentifierName",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(r,"toBlock",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(r,"toComputedKey",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(r,"toExpression",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(r,"toIdentifier",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(r,"toKeyAlias",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(r,"toStatement",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(r,"traverse",{enumerable:!0,get:function(){return je.default}}),Object.defineProperty(r,"traverseFast",{enumerable:!0,get:function(){return Oe.default}}),Object.defineProperty(r,"validate",{enumerable:!0,get:function(){return mt.default}}),Object.defineProperty(r,"valueToNode",{enumerable:!0,get:function(){return q.default}});var u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/react/isReactComponent.js"),H=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/react/isCompatTag.js"),a=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/react/buildChildren.js"),l=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/asserts/assertNode.js"),p=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/asserts/generated/index.js");Object.keys(p).forEach(function(Ce){Ce!=="default"&&Ce!=="__esModule"&&(Object.prototype.hasOwnProperty.call(s,Ce)||Ce in r&&r[Ce]===p[Ce]||Object.defineProperty(r,Ce,{enumerable:!0,get:function(){return p[Ce]}}))});var d=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js"),h=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js"),m=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js"),g=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/generated/index.js");Object.keys(g).forEach(function(Ce){Ce!=="default"&&Ce!=="__esModule"&&(Object.prototype.hasOwnProperty.call(s,Ce)||Ce in r&&r[Ce]===g[Ce]||Object.defineProperty(r,Ce,{enumerable:!0,get:function(){return g[Ce]}}))});var y=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/generated/uppercase.js");Object.keys(y).forEach(function(Ce){Ce!=="default"&&Ce!=="__esModule"&&(Object.prototype.hasOwnProperty.call(s,Ce)||Ce in r&&r[Ce]===y[Ce]||Object.defineProperty(r,Ce,{enumerable:!0,get:function(){return y[Ce]}}))});var _=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/productions.js");Object.keys(_).forEach(function(Ce){Ce!=="default"&&Ce!=="__esModule"&&(Object.prototype.hasOwnProperty.call(s,Ce)||Ce in r&&r[Ce]===_[Ce]||Object.defineProperty(r,Ce,{enumerable:!0,get:function(){return _[Ce]}}))});var E=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/clone/cloneNode.js"),A=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/clone/clone.js"),S=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/clone/cloneDeep.js"),T=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js"),I=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js"),L=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/comments/addComment.js"),x=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/comments/addComments.js"),C=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/comments/inheritInnerComments.js"),D=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/comments/inheritLeadingComments.js"),O=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/comments/inheritsComments.js"),j=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/comments/inheritTrailingComments.js"),k=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/comments/removeComments.js"),$=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/constants/generated/index.js");Object.keys($).forEach(function(Ce){Ce!=="default"&&Ce!=="__esModule"&&(Object.prototype.hasOwnProperty.call(s,Ce)||Ce in r&&r[Ce]===$[Ce]||Object.defineProperty(r,Ce,{enumerable:!0,get:function(){return $[Ce]}}))});var U=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/constants/index.js");Object.keys(U).forEach(function(Ce){Ce!=="default"&&Ce!=="__esModule"&&(Object.prototype.hasOwnProperty.call(s,Ce)||Ce in r&&r[Ce]===U[Ce]||Object.defineProperty(r,Ce,{enumerable:!0,get:function(){return U[Ce]}}))});var F=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/ensureBlock.js"),P=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js"),W=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/toBlock.js"),Z=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/toComputedKey.js"),ee=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/toExpression.js"),J=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/toIdentifier.js"),ne=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/toKeyAlias.js"),K=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/toStatement.js"),q=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/valueToNode.js"),Q=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/index.js");Object.keys(Q).forEach(function(Ce){Ce!=="default"&&Ce!=="__esModule"&&(Object.prototype.hasOwnProperty.call(s,Ce)||Ce in r&&r[Ce]===Q[Ce]||Object.defineProperty(r,Ce,{enumerable:!0,get:function(){return Q[Ce]}}))});var z=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js"),ie=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/modifications/inherits.js"),_e=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js"),He=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/modifications/removeProperties.js"),be=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js"),Ve=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js"),Fe=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js"),me=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js"),ce=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js"),ke=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/retrievers/getFunctionName.js"),je=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/traverse/traverse.js");Object.keys(je).forEach(function(Ce){Ce!=="default"&&Ce!=="__esModule"&&(Object.prototype.hasOwnProperty.call(s,Ce)||Ce in r&&r[Ce]===je[Ce]||Object.defineProperty(r,Ce,{enumerable:!0,get:function(){return je[Ce]}}))});var Oe=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/traverse/traverseFast.js"),re=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/utils/shallowEqual.js"),fe=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/is.js"),he=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isBinding.js"),se=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isBlockScoped.js"),Ie=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isImmutable.js"),ye=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isLet.js"),$e=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isNode.js"),nt=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isNodesEquivalent.js"),et=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isPlaceholderType.js"),xe=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isReferenced.js"),pe=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isScope.js"),ue=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isSpecifierDefault.js"),Se=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isType.js"),Ae=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isValidES3Identifier.js"),de=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),We=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isVar.js"),tt=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/matchesPattern.js"),mt=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/validate.js"),At=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js"),pt=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js");Object.keys(pt).forEach(function(Ce){Ce!=="default"&&Ce!=="__esModule"&&(Object.prototype.hasOwnProperty.call(s,Ce)||Ce in r&&r[Ce]===pt[Ce]||Object.defineProperty(r,Ce,{enumerable:!0,get:function(){return pt[Ce]}}))});var Nt=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/utils/deprecationWarning.js");r.react={isReactComponent:u.default,isCompatTag:H.default,buildChildren:a.default},r.toSequenceExpression=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/converters/toSequenceExpression.js").default,process.env.BABEL_TYPES_8_BREAKING&&console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H,a=!1){return u.object=(0,s.memberExpression)(u.object,u.property,u.computed),u.property=H,u.computed=!!a,u};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function H(a){let l=Array.from(a),p=new Map,d=new Map,h=new Set,m=[];for(let g=0;g<l.length;g++){let y=l[g];if(y&&!m.includes(y)){if((0,s.isAnyTypeAnnotation)(y))return[y];if((0,s.isFlowBaseAnnotation)(y))d.set(y.type,y);else if((0,s.isUnionTypeAnnotation)(y))h.has(y.types)||(l.push(...y.types),h.add(y.types));else if((0,s.isGenericTypeAnnotation)(y)){let _=u(y.id);if(p.has(_)){let E=p.get(_);E.typeParameters?y.typeParameters&&(E.typeParameters.params.push(...y.typeParameters.params),E.typeParameters.params=H(E.typeParameters.params)):E=y.typeParameters}else p.set(_,y)}else m.push(y)}}for(let[,g]of d)m.push(g);for(let[,g]of p)m.push(g);return m};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js");function u(H){return(0,s.isIdentifier)(H)?H.name:`${H.id.name}.${u(H.qualification)}`}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/modifications/inherits.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H,a){if(!H||!a)return H;for(let l of s.INHERIT_KEYS.optional)H[l]==null&&(H[l]=a[l]);for(let l of Object.keys(a))l[0]==="_"&&l!=="__clone"&&(H[l]=a[l]);for(let l of s.INHERIT_KEYS.force)H[l]=a[l];return(0,u.default)(H,a),H};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/constants/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/comments/inheritsComments.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H,a){if((0,u.isSuper)(H.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return H.object=(0,s.memberExpression)(a,H.object),H};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/modifications/removeProperties.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(a,l={}){let p=l.preserveComments?u:H;for(let h of p)a[h]!=null&&(a[h]=void 0);for(let h of Object.keys(a))h[0]==="_"&&a[h]!=null&&(a[h]=void 0);let d=Object.getOwnPropertySymbols(a);for(let h of d)a[h]=null};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/constants/index.js");let u=["tokens","start","end","loc","raw","rawValue"],H=[...s.COMMENT_KEYS,"comments",...u]},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H,a){return(0,s.default)(H,u.default,a),H};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/traverse/traverseFast.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/modifications/removeProperties.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function H(a){let l=Array.from(a),p=new Map,d=new Map,h=new Set,m=[];for(let g=0;g<l.length;g++){let y=l[g];if(y&&!m.includes(y)){if((0,s.isTSAnyKeyword)(y))return[y];if((0,s.isTSBaseType)(y))d.set(y.type,y);else if((0,s.isTSUnionType)(y))h.has(y.types)||(l.push(...y.types),h.add(y.types));else if((0,s.isTSTypeReference)(y)&&y.typeParameters){let _=u(y.typeName);if(p.has(_)){let E=p.get(_);E.typeParameters?y.typeParameters&&(E.typeParameters.params.push(...y.typeParameters.params),E.typeParameters.params=H(E.typeParameters.params)):E=y.typeParameters}else p.set(_,y)}else m.push(y)}}for(let[,g]of d)m.push(g);for(let[,g]of p)m.push(g);return m};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js");function u(H){return(0,s.isIdentifier)(H)?H.name:`${H.right.name}.${u(H.left)}`}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(c){let s=[].concat(c),u=Object.create(null);for(;s.length;){let H=s.pop();if(H)switch(H.type){case"ArrayPattern":s.push(...H.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":s.push(H.left);break;case"ObjectPattern":s.push(...H.properties);break;case"ObjectProperty":s.push(H.value);break;case"RestElement":case"UpdateExpression":s.push(H.argument);break;case"UnaryExpression":H.operator==="delete"&&s.push(H.argument);break;case"Identifier":u[H.name]=H}}return u}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=u;var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js");function u(H,a,l,p){let d=[].concat(H),h=Object.create(null);for(;d.length;){let m=d.shift();if(!m||p&&((0,s.isAssignmentExpression)(m)||(0,s.isUnaryExpression)(m)||(0,s.isUpdateExpression)(m)))continue;if((0,s.isIdentifier)(m)){a?(h[m.name]=h[m.name]||[]).push(m):h[m.name]=m;continue}if((0,s.isExportDeclaration)(m)&&!(0,s.isExportAllDeclaration)(m)){(0,s.isDeclaration)(m.declaration)&&d.push(m.declaration);continue}if(l){if((0,s.isFunctionDeclaration)(m)){d.push(m.id);continue}if((0,s.isFunctionExpression)(m))continue}let g=u.keys[m.type];if(g)for(let y=0;y<g.length;y++){let _=m[g[y]];_&&(Array.isArray(_)?d.push(..._):d.push(_))}}return h}u.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/retrievers/getFunctionName.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H,a){if("id"in H&&H.id)return{name:H.id.name,originalNode:H.id};let l,p="";if((0,s.isObjectProperty)(a,{value:H})?l=u(a):(0,s.isObjectMethod)(H)||(0,s.isClassMethod)(H)?(l=u(H),H.kind==="get"?p="get ":H.kind==="set"&&(p="set ")):(0,s.isVariableDeclarator)(a,{init:H})?l=a.id:(0,s.isAssignmentExpression)(a,{operator:"=",right:H})&&(l=a.left),!l)return null;let d=(0,s.isLiteral)(l)?function(h){return(0,s.isNullLiteral)(h)?"null":(0,s.isRegExpLiteral)(h)?`/${h.pattern}/${h.flags}`:(0,s.isTemplateLiteral)(h)?h.quasis.map(m=>m.value.raw).join(""):h.value!==void 0?String(h.value):null}(l):(0,s.isIdentifier)(l)?l.name:(0,s.isPrivateName)(l)?l.id.name:null;return d==null?null:{name:p+d,originalNode:l}};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js");function u(H){if(!H.computed||(0,s.isLiteral)(H.key))return H.key}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js");r.default=function(u,H){return(0,s.default)(u,H,!0)}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/traverse/traverse.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H,a,l){typeof a=="function"&&(a={enter:a});let{enter:p,exit:d}=a;u(H,p,d,l,[])};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/index.js");function u(H,a,l,p,d){let h=s.VISITOR_KEYS[H.type];if(h){a&&a(H,d,p);for(let m of h){let g=H[m];if(Array.isArray(g))for(let y=0;y<g.length;y++){let _=g[y];_&&(d.push({node:H,key:m,index:y}),u(_,a,l,p,d),d.pop())}else g&&(d.push({node:H,key:m}),u(g,a,l,p,d),d.pop())}l&&l(H,d,p)}}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/traverse/traverseFast.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function u(H,a,l){if(!H)return;let p=s.VISITOR_KEYS[H.type];if(p){a(H,l=l||{});for(let d of p){let h=H[d];if(Array.isArray(h))for(let m of h)u(m,a,l);else u(h,a,l)}}};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/utils/deprecationWarning.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(s,u,H=""){if(c.has(s))return;c.add(s);let{internal:a,trace:l}=function(p,d){let{stackTraceLimit:h,prepareStackTrace:m}=Error,g;if(Error.stackTraceLimit=1+p+d,Error.prepareStackTrace=function(_,E){g=E},new Error().stack,Error.stackTraceLimit=h,Error.prepareStackTrace=m,!g)return{internal:!1,trace:""};let y=g.slice(1+p,1+p+d);return{internal:/[\\/]@babel[\\/]/.test(y[1].getFileName()),trace:y.map(_=>` at ${_}`).join(`
|
|
`)}}(1,2);a||console.warn(`${H}\`${s}\` has been deprecated, please migrate to \`${u}\`
|
|
${l}`)};let c=new Set},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/utils/inherit.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(c,s,u){s&&u&&(s[c]=Array.from(new Set([].concat(s[c],u[c]).filter(Boolean))))}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H,a){let l=H.value.split(/\r\n|\n|\r/),p=0;for(let h=0;h<l.length;h++)/[^ \t]/.exec(l[h])&&(p=h);let d="";for(let h=0;h<l.length;h++){let m=l[h],g=h===0,y=h===l.length-1,_=h===p,E=m.replace(/\t/g," ");g||(E=E.replace(/^ +/,"")),y||(E=E.replace(/ +$/,"")),E&&(_||(E+=" "),d+=E)}d&&a.push((0,u.inherits)((0,s.stringLiteral)(d),H))};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/builders/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/utils/shallowEqual.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(c,s){let u=Object.keys(s);for(let H of u)if(c[H]!==s[H])return!1;return!0}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H){let a=u.split(".");return l=>(0,s.default)(l,a,H)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/matchesPattern.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isAccessor=function(a,l){return!a||a.type!=="ClassAccessorProperty"?!1:l==null||(0,s.default)(a,l)},r.isAnyTypeAnnotation=function(a,l){return!!a&&a.type==="AnyTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isArgumentPlaceholder=function(a,l){return!!a&&a.type==="ArgumentPlaceholder"&&(l==null||(0,s.default)(a,l))},r.isArrayExpression=function(a,l){return!!a&&a.type==="ArrayExpression"&&(l==null||(0,s.default)(a,l))},r.isArrayPattern=function(a,l){return!!a&&a.type==="ArrayPattern"&&(l==null||(0,s.default)(a,l))},r.isArrayTypeAnnotation=function(a,l){return!!a&&a.type==="ArrayTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isArrowFunctionExpression=function(a,l){return!!a&&a.type==="ArrowFunctionExpression"&&(l==null||(0,s.default)(a,l))},r.isAssignmentExpression=function(a,l){return!!a&&a.type==="AssignmentExpression"&&(l==null||(0,s.default)(a,l))},r.isAssignmentPattern=function(a,l){return!!a&&a.type==="AssignmentPattern"&&(l==null||(0,s.default)(a,l))},r.isAwaitExpression=function(a,l){return!!a&&a.type==="AwaitExpression"&&(l==null||(0,s.default)(a,l))},r.isBigIntLiteral=function(a,l){return!!a&&a.type==="BigIntLiteral"&&(l==null||(0,s.default)(a,l))},r.isBinary=function(a,l){if(!a)return!1;switch(a.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isBinaryExpression=function(a,l){return!!a&&a.type==="BinaryExpression"&&(l==null||(0,s.default)(a,l))},r.isBindExpression=function(a,l){return!!a&&a.type==="BindExpression"&&(l==null||(0,s.default)(a,l))},r.isBlock=function(a,l){if(!a)return!1;switch(a.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(a.expectedNode==="BlockStatement")break;default:return!1}return l==null||(0,s.default)(a,l)},r.isBlockParent=function(a,l){if(!a)return!1;switch(a.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(a.expectedNode==="BlockStatement")break;default:return!1}return l==null||(0,s.default)(a,l)},r.isBlockStatement=function(a,l){return!!a&&a.type==="BlockStatement"&&(l==null||(0,s.default)(a,l))},r.isBooleanLiteral=function(a,l){return!!a&&a.type==="BooleanLiteral"&&(l==null||(0,s.default)(a,l))},r.isBooleanLiteralTypeAnnotation=function(a,l){return!!a&&a.type==="BooleanLiteralTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isBooleanTypeAnnotation=function(a,l){return!!a&&a.type==="BooleanTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isBreakStatement=function(a,l){return!!a&&a.type==="BreakStatement"&&(l==null||(0,s.default)(a,l))},r.isCallExpression=function(a,l){return!!a&&a.type==="CallExpression"&&(l==null||(0,s.default)(a,l))},r.isCatchClause=function(a,l){return!!a&&a.type==="CatchClause"&&(l==null||(0,s.default)(a,l))},r.isClass=function(a,l){if(!a)return!1;switch(a.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isClassAccessorProperty=function(a,l){return!!a&&a.type==="ClassAccessorProperty"&&(l==null||(0,s.default)(a,l))},r.isClassBody=function(a,l){return!!a&&a.type==="ClassBody"&&(l==null||(0,s.default)(a,l))},r.isClassDeclaration=function(a,l){return!!a&&a.type==="ClassDeclaration"&&(l==null||(0,s.default)(a,l))},r.isClassExpression=function(a,l){return!!a&&a.type==="ClassExpression"&&(l==null||(0,s.default)(a,l))},r.isClassImplements=function(a,l){return!!a&&a.type==="ClassImplements"&&(l==null||(0,s.default)(a,l))},r.isClassMethod=function(a,l){return!!a&&a.type==="ClassMethod"&&(l==null||(0,s.default)(a,l))},r.isClassPrivateMethod=function(a,l){return!!a&&a.type==="ClassPrivateMethod"&&(l==null||(0,s.default)(a,l))},r.isClassPrivateProperty=function(a,l){return!!a&&a.type==="ClassPrivateProperty"&&(l==null||(0,s.default)(a,l))},r.isClassProperty=function(a,l){return!!a&&a.type==="ClassProperty"&&(l==null||(0,s.default)(a,l))},r.isCompletionStatement=function(a,l){if(!a)return!1;switch(a.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isConditional=function(a,l){if(!a)return!1;switch(a.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isConditionalExpression=function(a,l){return!!a&&a.type==="ConditionalExpression"&&(l==null||(0,s.default)(a,l))},r.isContinueStatement=function(a,l){return!!a&&a.type==="ContinueStatement"&&(l==null||(0,s.default)(a,l))},r.isDebuggerStatement=function(a,l){return!!a&&a.type==="DebuggerStatement"&&(l==null||(0,s.default)(a,l))},r.isDecimalLiteral=function(a,l){return!!a&&a.type==="DecimalLiteral"&&(l==null||(0,s.default)(a,l))},r.isDeclaration=function(a,l){if(!a)return!1;switch(a.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":break;case"Placeholder":if(a.expectedNode==="Declaration")break;default:return!1}return l==null||(0,s.default)(a,l)},r.isDeclareClass=function(a,l){return!!a&&a.type==="DeclareClass"&&(l==null||(0,s.default)(a,l))},r.isDeclareExportAllDeclaration=function(a,l){return!!a&&a.type==="DeclareExportAllDeclaration"&&(l==null||(0,s.default)(a,l))},r.isDeclareExportDeclaration=function(a,l){return!!a&&a.type==="DeclareExportDeclaration"&&(l==null||(0,s.default)(a,l))},r.isDeclareFunction=function(a,l){return!!a&&a.type==="DeclareFunction"&&(l==null||(0,s.default)(a,l))},r.isDeclareInterface=function(a,l){return!!a&&a.type==="DeclareInterface"&&(l==null||(0,s.default)(a,l))},r.isDeclareModule=function(a,l){return!!a&&a.type==="DeclareModule"&&(l==null||(0,s.default)(a,l))},r.isDeclareModuleExports=function(a,l){return!!a&&a.type==="DeclareModuleExports"&&(l==null||(0,s.default)(a,l))},r.isDeclareOpaqueType=function(a,l){return!!a&&a.type==="DeclareOpaqueType"&&(l==null||(0,s.default)(a,l))},r.isDeclareTypeAlias=function(a,l){return!!a&&a.type==="DeclareTypeAlias"&&(l==null||(0,s.default)(a,l))},r.isDeclareVariable=function(a,l){return!!a&&a.type==="DeclareVariable"&&(l==null||(0,s.default)(a,l))},r.isDeclaredPredicate=function(a,l){return!!a&&a.type==="DeclaredPredicate"&&(l==null||(0,s.default)(a,l))},r.isDecorator=function(a,l){return!!a&&a.type==="Decorator"&&(l==null||(0,s.default)(a,l))},r.isDirective=function(a,l){return!!a&&a.type==="Directive"&&(l==null||(0,s.default)(a,l))},r.isDirectiveLiteral=function(a,l){return!!a&&a.type==="DirectiveLiteral"&&(l==null||(0,s.default)(a,l))},r.isDoExpression=function(a,l){return!!a&&a.type==="DoExpression"&&(l==null||(0,s.default)(a,l))},r.isDoWhileStatement=function(a,l){return!!a&&a.type==="DoWhileStatement"&&(l==null||(0,s.default)(a,l))},r.isEmptyStatement=function(a,l){return!!a&&a.type==="EmptyStatement"&&(l==null||(0,s.default)(a,l))},r.isEmptyTypeAnnotation=function(a,l){return!!a&&a.type==="EmptyTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isEnumBody=function(a,l){if(!a)return!1;switch(a.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isEnumBooleanBody=function(a,l){return!!a&&a.type==="EnumBooleanBody"&&(l==null||(0,s.default)(a,l))},r.isEnumBooleanMember=function(a,l){return!!a&&a.type==="EnumBooleanMember"&&(l==null||(0,s.default)(a,l))},r.isEnumDeclaration=function(a,l){return!!a&&a.type==="EnumDeclaration"&&(l==null||(0,s.default)(a,l))},r.isEnumDefaultedMember=function(a,l){return!!a&&a.type==="EnumDefaultedMember"&&(l==null||(0,s.default)(a,l))},r.isEnumMember=function(a,l){if(!a)return!1;switch(a.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isEnumNumberBody=function(a,l){return!!a&&a.type==="EnumNumberBody"&&(l==null||(0,s.default)(a,l))},r.isEnumNumberMember=function(a,l){return!!a&&a.type==="EnumNumberMember"&&(l==null||(0,s.default)(a,l))},r.isEnumStringBody=function(a,l){return!!a&&a.type==="EnumStringBody"&&(l==null||(0,s.default)(a,l))},r.isEnumStringMember=function(a,l){return!!a&&a.type==="EnumStringMember"&&(l==null||(0,s.default)(a,l))},r.isEnumSymbolBody=function(a,l){return!!a&&a.type==="EnumSymbolBody"&&(l==null||(0,s.default)(a,l))},r.isExistsTypeAnnotation=function(a,l){return!!a&&a.type==="ExistsTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isExportAllDeclaration=function(a,l){return!!a&&a.type==="ExportAllDeclaration"&&(l==null||(0,s.default)(a,l))},r.isExportDeclaration=function(a,l){if(!a)return!1;switch(a.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isExportDefaultDeclaration=function(a,l){return!!a&&a.type==="ExportDefaultDeclaration"&&(l==null||(0,s.default)(a,l))},r.isExportDefaultSpecifier=function(a,l){return!!a&&a.type==="ExportDefaultSpecifier"&&(l==null||(0,s.default)(a,l))},r.isExportNamedDeclaration=function(a,l){return!!a&&a.type==="ExportNamedDeclaration"&&(l==null||(0,s.default)(a,l))},r.isExportNamespaceSpecifier=function(a,l){return!!a&&a.type==="ExportNamespaceSpecifier"&&(l==null||(0,s.default)(a,l))},r.isExportSpecifier=function(a,l){return!!a&&a.type==="ExportSpecifier"&&(l==null||(0,s.default)(a,l))},r.isExpression=function(a,l){if(!a)return!1;switch(a.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"ImportExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(a.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return l==null||(0,s.default)(a,l)},r.isExpressionStatement=function(a,l){return!!a&&a.type==="ExpressionStatement"&&(l==null||(0,s.default)(a,l))},r.isExpressionWrapper=function(a,l){if(!a)return!1;switch(a.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isFile=function(a,l){return!!a&&a.type==="File"&&(l==null||(0,s.default)(a,l))},r.isFlow=function(a,l){if(!a)return!1;switch(a.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ClassImplements":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"DeclaredPredicate":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"FunctionTypeParam":case"GenericTypeAnnotation":case"InferredPredicate":case"InterfaceExtends":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":case"OpaqueType":case"QualifiedTypeIdentifier":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"TypeAlias":case"TypeAnnotation":case"TypeCastExpression":case"TypeParameter":case"TypeParameterDeclaration":case"TypeParameterInstantiation":case"UnionTypeAnnotation":case"Variance":case"VoidTypeAnnotation":case"EnumDeclaration":case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isFlowBaseAnnotation=function(a,l){if(!a)return!1;switch(a.type){case"AnyTypeAnnotation":case"BooleanTypeAnnotation":case"NullLiteralTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NumberTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"VoidTypeAnnotation":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isFlowDeclaration=function(a,l){if(!a)return!1;switch(a.type){case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isFlowPredicate=function(a,l){if(!a)return!1;switch(a.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isFlowType=function(a,l){if(!a)return!1;switch(a.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"UnionTypeAnnotation":case"VoidTypeAnnotation":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isFor=function(a,l){if(!a)return!1;switch(a.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isForInStatement=function(a,l){return!!a&&a.type==="ForInStatement"&&(l==null||(0,s.default)(a,l))},r.isForOfStatement=function(a,l){return!!a&&a.type==="ForOfStatement"&&(l==null||(0,s.default)(a,l))},r.isForStatement=function(a,l){return!!a&&a.type==="ForStatement"&&(l==null||(0,s.default)(a,l))},r.isForXStatement=function(a,l){if(!a)return!1;switch(a.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isFunction=function(a,l){if(!a)return!1;switch(a.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isFunctionDeclaration=function(a,l){return!!a&&a.type==="FunctionDeclaration"&&(l==null||(0,s.default)(a,l))},r.isFunctionExpression=function(a,l){return!!a&&a.type==="FunctionExpression"&&(l==null||(0,s.default)(a,l))},r.isFunctionParent=function(a,l){if(!a)return!1;switch(a.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isFunctionTypeAnnotation=function(a,l){return!!a&&a.type==="FunctionTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isFunctionTypeParam=function(a,l){return!!a&&a.type==="FunctionTypeParam"&&(l==null||(0,s.default)(a,l))},r.isGenericTypeAnnotation=function(a,l){return!!a&&a.type==="GenericTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isIdentifier=function(a,l){return!!a&&a.type==="Identifier"&&(l==null||(0,s.default)(a,l))},r.isIfStatement=function(a,l){return!!a&&a.type==="IfStatement"&&(l==null||(0,s.default)(a,l))},r.isImmutable=function(a,l){if(!a)return!1;switch(a.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"BigIntLiteral":case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXOpeningElement":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":case"DecimalLiteral":break;case"Placeholder":if(a.expectedNode==="StringLiteral")break;default:return!1}return l==null||(0,s.default)(a,l)},r.isImport=function(a,l){return!!a&&a.type==="Import"&&(l==null||(0,s.default)(a,l))},r.isImportAttribute=function(a,l){return!!a&&a.type==="ImportAttribute"&&(l==null||(0,s.default)(a,l))},r.isImportDeclaration=function(a,l){return!!a&&a.type==="ImportDeclaration"&&(l==null||(0,s.default)(a,l))},r.isImportDefaultSpecifier=function(a,l){return!!a&&a.type==="ImportDefaultSpecifier"&&(l==null||(0,s.default)(a,l))},r.isImportExpression=function(a,l){return!!a&&a.type==="ImportExpression"&&(l==null||(0,s.default)(a,l))},r.isImportNamespaceSpecifier=function(a,l){return!!a&&a.type==="ImportNamespaceSpecifier"&&(l==null||(0,s.default)(a,l))},r.isImportOrExportDeclaration=H,r.isImportSpecifier=function(a,l){return!!a&&a.type==="ImportSpecifier"&&(l==null||(0,s.default)(a,l))},r.isIndexedAccessType=function(a,l){return!!a&&a.type==="IndexedAccessType"&&(l==null||(0,s.default)(a,l))},r.isInferredPredicate=function(a,l){return!!a&&a.type==="InferredPredicate"&&(l==null||(0,s.default)(a,l))},r.isInterfaceDeclaration=function(a,l){return!!a&&a.type==="InterfaceDeclaration"&&(l==null||(0,s.default)(a,l))},r.isInterfaceExtends=function(a,l){return!!a&&a.type==="InterfaceExtends"&&(l==null||(0,s.default)(a,l))},r.isInterfaceTypeAnnotation=function(a,l){return!!a&&a.type==="InterfaceTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isInterpreterDirective=function(a,l){return!!a&&a.type==="InterpreterDirective"&&(l==null||(0,s.default)(a,l))},r.isIntersectionTypeAnnotation=function(a,l){return!!a&&a.type==="IntersectionTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isJSX=function(a,l){if(!a)return!1;switch(a.type){case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXEmptyExpression":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXIdentifier":case"JSXMemberExpression":case"JSXNamespacedName":case"JSXOpeningElement":case"JSXSpreadAttribute":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isJSXAttribute=function(a,l){return!!a&&a.type==="JSXAttribute"&&(l==null||(0,s.default)(a,l))},r.isJSXClosingElement=function(a,l){return!!a&&a.type==="JSXClosingElement"&&(l==null||(0,s.default)(a,l))},r.isJSXClosingFragment=function(a,l){return!!a&&a.type==="JSXClosingFragment"&&(l==null||(0,s.default)(a,l))},r.isJSXElement=function(a,l){return!!a&&a.type==="JSXElement"&&(l==null||(0,s.default)(a,l))},r.isJSXEmptyExpression=function(a,l){return!!a&&a.type==="JSXEmptyExpression"&&(l==null||(0,s.default)(a,l))},r.isJSXExpressionContainer=function(a,l){return!!a&&a.type==="JSXExpressionContainer"&&(l==null||(0,s.default)(a,l))},r.isJSXFragment=function(a,l){return!!a&&a.type==="JSXFragment"&&(l==null||(0,s.default)(a,l))},r.isJSXIdentifier=function(a,l){return!!a&&a.type==="JSXIdentifier"&&(l==null||(0,s.default)(a,l))},r.isJSXMemberExpression=function(a,l){return!!a&&a.type==="JSXMemberExpression"&&(l==null||(0,s.default)(a,l))},r.isJSXNamespacedName=function(a,l){return!!a&&a.type==="JSXNamespacedName"&&(l==null||(0,s.default)(a,l))},r.isJSXOpeningElement=function(a,l){return!!a&&a.type==="JSXOpeningElement"&&(l==null||(0,s.default)(a,l))},r.isJSXOpeningFragment=function(a,l){return!!a&&a.type==="JSXOpeningFragment"&&(l==null||(0,s.default)(a,l))},r.isJSXSpreadAttribute=function(a,l){return!!a&&a.type==="JSXSpreadAttribute"&&(l==null||(0,s.default)(a,l))},r.isJSXSpreadChild=function(a,l){return!!a&&a.type==="JSXSpreadChild"&&(l==null||(0,s.default)(a,l))},r.isJSXText=function(a,l){return!!a&&a.type==="JSXText"&&(l==null||(0,s.default)(a,l))},r.isLVal=function(a,l){if(!a)return!1;switch(a.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSParameterProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(a.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return l==null||(0,s.default)(a,l)},r.isLabeledStatement=function(a,l){return!!a&&a.type==="LabeledStatement"&&(l==null||(0,s.default)(a,l))},r.isLiteral=function(a,l){if(!a)return!1;switch(a.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(a.expectedNode==="StringLiteral")break;default:return!1}return l==null||(0,s.default)(a,l)},r.isLogicalExpression=function(a,l){return!!a&&a.type==="LogicalExpression"&&(l==null||(0,s.default)(a,l))},r.isLoop=function(a,l){if(!a)return!1;switch(a.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isMemberExpression=function(a,l){return!!a&&a.type==="MemberExpression"&&(l==null||(0,s.default)(a,l))},r.isMetaProperty=function(a,l){return!!a&&a.type==="MetaProperty"&&(l==null||(0,s.default)(a,l))},r.isMethod=function(a,l){if(!a)return!1;switch(a.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isMiscellaneous=function(a,l){if(!a)return!1;switch(a.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isMixedTypeAnnotation=function(a,l){return!!a&&a.type==="MixedTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isModuleDeclaration=function(a,l){return(0,u.default)("isModuleDeclaration","isImportOrExportDeclaration"),H(a,l)},r.isModuleExpression=function(a,l){return!!a&&a.type==="ModuleExpression"&&(l==null||(0,s.default)(a,l))},r.isModuleSpecifier=function(a,l){if(!a)return!1;switch(a.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isNewExpression=function(a,l){return!!a&&a.type==="NewExpression"&&(l==null||(0,s.default)(a,l))},r.isNoop=function(a,l){return!!a&&a.type==="Noop"&&(l==null||(0,s.default)(a,l))},r.isNullLiteral=function(a,l){return!!a&&a.type==="NullLiteral"&&(l==null||(0,s.default)(a,l))},r.isNullLiteralTypeAnnotation=function(a,l){return!!a&&a.type==="NullLiteralTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isNullableTypeAnnotation=function(a,l){return!!a&&a.type==="NullableTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isNumberLiteral=function(a,l){return(0,u.default)("isNumberLiteral","isNumericLiteral"),!!a&&a.type==="NumberLiteral"&&(l==null||(0,s.default)(a,l))},r.isNumberLiteralTypeAnnotation=function(a,l){return!!a&&a.type==="NumberLiteralTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isNumberTypeAnnotation=function(a,l){return!!a&&a.type==="NumberTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isNumericLiteral=function(a,l){return!!a&&a.type==="NumericLiteral"&&(l==null||(0,s.default)(a,l))},r.isObjectExpression=function(a,l){return!!a&&a.type==="ObjectExpression"&&(l==null||(0,s.default)(a,l))},r.isObjectMember=function(a,l){if(!a)return!1;switch(a.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isObjectMethod=function(a,l){return!!a&&a.type==="ObjectMethod"&&(l==null||(0,s.default)(a,l))},r.isObjectPattern=function(a,l){return!!a&&a.type==="ObjectPattern"&&(l==null||(0,s.default)(a,l))},r.isObjectProperty=function(a,l){return!!a&&a.type==="ObjectProperty"&&(l==null||(0,s.default)(a,l))},r.isObjectTypeAnnotation=function(a,l){return!!a&&a.type==="ObjectTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isObjectTypeCallProperty=function(a,l){return!!a&&a.type==="ObjectTypeCallProperty"&&(l==null||(0,s.default)(a,l))},r.isObjectTypeIndexer=function(a,l){return!!a&&a.type==="ObjectTypeIndexer"&&(l==null||(0,s.default)(a,l))},r.isObjectTypeInternalSlot=function(a,l){return!!a&&a.type==="ObjectTypeInternalSlot"&&(l==null||(0,s.default)(a,l))},r.isObjectTypeProperty=function(a,l){return!!a&&a.type==="ObjectTypeProperty"&&(l==null||(0,s.default)(a,l))},r.isObjectTypeSpreadProperty=function(a,l){return!!a&&a.type==="ObjectTypeSpreadProperty"&&(l==null||(0,s.default)(a,l))},r.isOpaqueType=function(a,l){return!!a&&a.type==="OpaqueType"&&(l==null||(0,s.default)(a,l))},r.isOptionalCallExpression=function(a,l){return!!a&&a.type==="OptionalCallExpression"&&(l==null||(0,s.default)(a,l))},r.isOptionalIndexedAccessType=function(a,l){return!!a&&a.type==="OptionalIndexedAccessType"&&(l==null||(0,s.default)(a,l))},r.isOptionalMemberExpression=function(a,l){return!!a&&a.type==="OptionalMemberExpression"&&(l==null||(0,s.default)(a,l))},r.isParenthesizedExpression=function(a,l){return!!a&&a.type==="ParenthesizedExpression"&&(l==null||(0,s.default)(a,l))},r.isPattern=function(a,l){if(!a)return!1;switch(a.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if(a.expectedNode==="Pattern")break;default:return!1}return l==null||(0,s.default)(a,l)},r.isPatternLike=function(a,l){if(!a)return!1;switch(a.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(a.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return l==null||(0,s.default)(a,l)},r.isPipelineBareFunction=function(a,l){return!!a&&a.type==="PipelineBareFunction"&&(l==null||(0,s.default)(a,l))},r.isPipelinePrimaryTopicReference=function(a,l){return!!a&&a.type==="PipelinePrimaryTopicReference"&&(l==null||(0,s.default)(a,l))},r.isPipelineTopicExpression=function(a,l){return!!a&&a.type==="PipelineTopicExpression"&&(l==null||(0,s.default)(a,l))},r.isPlaceholder=function(a,l){return!!a&&a.type==="Placeholder"&&(l==null||(0,s.default)(a,l))},r.isPrivate=function(a,l){if(!a)return!1;switch(a.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isPrivateName=function(a,l){return!!a&&a.type==="PrivateName"&&(l==null||(0,s.default)(a,l))},r.isProgram=function(a,l){return!!a&&a.type==="Program"&&(l==null||(0,s.default)(a,l))},r.isProperty=function(a,l){if(!a)return!1;switch(a.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isPureish=function(a,l){if(!a)return!1;switch(a.type){case"FunctionDeclaration":case"FunctionExpression":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"ArrowFunctionExpression":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(a.expectedNode==="StringLiteral")break;default:return!1}return l==null||(0,s.default)(a,l)},r.isQualifiedTypeIdentifier=function(a,l){return!!a&&a.type==="QualifiedTypeIdentifier"&&(l==null||(0,s.default)(a,l))},r.isRecordExpression=function(a,l){return!!a&&a.type==="RecordExpression"&&(l==null||(0,s.default)(a,l))},r.isRegExpLiteral=function(a,l){return!!a&&a.type==="RegExpLiteral"&&(l==null||(0,s.default)(a,l))},r.isRegexLiteral=function(a,l){return(0,u.default)("isRegexLiteral","isRegExpLiteral"),!!a&&a.type==="RegexLiteral"&&(l==null||(0,s.default)(a,l))},r.isRestElement=function(a,l){return!!a&&a.type==="RestElement"&&(l==null||(0,s.default)(a,l))},r.isRestProperty=function(a,l){return(0,u.default)("isRestProperty","isRestElement"),!!a&&a.type==="RestProperty"&&(l==null||(0,s.default)(a,l))},r.isReturnStatement=function(a,l){return!!a&&a.type==="ReturnStatement"&&(l==null||(0,s.default)(a,l))},r.isScopable=function(a,l){if(!a)return!1;switch(a.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ClassExpression":case"ClassDeclaration":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(a.expectedNode==="BlockStatement")break;default:return!1}return l==null||(0,s.default)(a,l)},r.isSequenceExpression=function(a,l){return!!a&&a.type==="SequenceExpression"&&(l==null||(0,s.default)(a,l))},r.isSpreadElement=function(a,l){return!!a&&a.type==="SpreadElement"&&(l==null||(0,s.default)(a,l))},r.isSpreadProperty=function(a,l){return(0,u.default)("isSpreadProperty","isSpreadElement"),!!a&&a.type==="SpreadProperty"&&(l==null||(0,s.default)(a,l))},r.isStandardized=function(a,l){if(!a)return!1;switch(a.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportExpression":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":break;case"Placeholder":switch(a.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return l==null||(0,s.default)(a,l)},r.isStatement=function(a,l){if(!a)return!1;switch(a.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ForOfStatement":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":case"TSExportAssignment":case"TSNamespaceExportDeclaration":break;case"Placeholder":switch(a.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return l==null||(0,s.default)(a,l)},r.isStaticBlock=function(a,l){return!!a&&a.type==="StaticBlock"&&(l==null||(0,s.default)(a,l))},r.isStringLiteral=function(a,l){return!!a&&a.type==="StringLiteral"&&(l==null||(0,s.default)(a,l))},r.isStringLiteralTypeAnnotation=function(a,l){return!!a&&a.type==="StringLiteralTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isStringTypeAnnotation=function(a,l){return!!a&&a.type==="StringTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isSuper=function(a,l){return!!a&&a.type==="Super"&&(l==null||(0,s.default)(a,l))},r.isSwitchCase=function(a,l){return!!a&&a.type==="SwitchCase"&&(l==null||(0,s.default)(a,l))},r.isSwitchStatement=function(a,l){return!!a&&a.type==="SwitchStatement"&&(l==null||(0,s.default)(a,l))},r.isSymbolTypeAnnotation=function(a,l){return!!a&&a.type==="SymbolTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isTSAnyKeyword=function(a,l){return!!a&&a.type==="TSAnyKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSArrayType=function(a,l){return!!a&&a.type==="TSArrayType"&&(l==null||(0,s.default)(a,l))},r.isTSAsExpression=function(a,l){return!!a&&a.type==="TSAsExpression"&&(l==null||(0,s.default)(a,l))},r.isTSBaseType=function(a,l){if(!a)return!1;switch(a.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSLiteralType":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isTSBigIntKeyword=function(a,l){return!!a&&a.type==="TSBigIntKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSBooleanKeyword=function(a,l){return!!a&&a.type==="TSBooleanKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSCallSignatureDeclaration=function(a,l){return!!a&&a.type==="TSCallSignatureDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTSConditionalType=function(a,l){return!!a&&a.type==="TSConditionalType"&&(l==null||(0,s.default)(a,l))},r.isTSConstructSignatureDeclaration=function(a,l){return!!a&&a.type==="TSConstructSignatureDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTSConstructorType=function(a,l){return!!a&&a.type==="TSConstructorType"&&(l==null||(0,s.default)(a,l))},r.isTSDeclareFunction=function(a,l){return!!a&&a.type==="TSDeclareFunction"&&(l==null||(0,s.default)(a,l))},r.isTSDeclareMethod=function(a,l){return!!a&&a.type==="TSDeclareMethod"&&(l==null||(0,s.default)(a,l))},r.isTSEntityName=function(a,l){if(!a)return!1;switch(a.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(a.expectedNode==="Identifier")break;default:return!1}return l==null||(0,s.default)(a,l)},r.isTSEnumDeclaration=function(a,l){return!!a&&a.type==="TSEnumDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTSEnumMember=function(a,l){return!!a&&a.type==="TSEnumMember"&&(l==null||(0,s.default)(a,l))},r.isTSExportAssignment=function(a,l){return!!a&&a.type==="TSExportAssignment"&&(l==null||(0,s.default)(a,l))},r.isTSExpressionWithTypeArguments=function(a,l){return!!a&&a.type==="TSExpressionWithTypeArguments"&&(l==null||(0,s.default)(a,l))},r.isTSExternalModuleReference=function(a,l){return!!a&&a.type==="TSExternalModuleReference"&&(l==null||(0,s.default)(a,l))},r.isTSFunctionType=function(a,l){return!!a&&a.type==="TSFunctionType"&&(l==null||(0,s.default)(a,l))},r.isTSImportEqualsDeclaration=function(a,l){return!!a&&a.type==="TSImportEqualsDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTSImportType=function(a,l){return!!a&&a.type==="TSImportType"&&(l==null||(0,s.default)(a,l))},r.isTSIndexSignature=function(a,l){return!!a&&a.type==="TSIndexSignature"&&(l==null||(0,s.default)(a,l))},r.isTSIndexedAccessType=function(a,l){return!!a&&a.type==="TSIndexedAccessType"&&(l==null||(0,s.default)(a,l))},r.isTSInferType=function(a,l){return!!a&&a.type==="TSInferType"&&(l==null||(0,s.default)(a,l))},r.isTSInstantiationExpression=function(a,l){return!!a&&a.type==="TSInstantiationExpression"&&(l==null||(0,s.default)(a,l))},r.isTSInterfaceBody=function(a,l){return!!a&&a.type==="TSInterfaceBody"&&(l==null||(0,s.default)(a,l))},r.isTSInterfaceDeclaration=function(a,l){return!!a&&a.type==="TSInterfaceDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTSIntersectionType=function(a,l){return!!a&&a.type==="TSIntersectionType"&&(l==null||(0,s.default)(a,l))},r.isTSIntrinsicKeyword=function(a,l){return!!a&&a.type==="TSIntrinsicKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSLiteralType=function(a,l){return!!a&&a.type==="TSLiteralType"&&(l==null||(0,s.default)(a,l))},r.isTSMappedType=function(a,l){return!!a&&a.type==="TSMappedType"&&(l==null||(0,s.default)(a,l))},r.isTSMethodSignature=function(a,l){return!!a&&a.type==="TSMethodSignature"&&(l==null||(0,s.default)(a,l))},r.isTSModuleBlock=function(a,l){return!!a&&a.type==="TSModuleBlock"&&(l==null||(0,s.default)(a,l))},r.isTSModuleDeclaration=function(a,l){return!!a&&a.type==="TSModuleDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTSNamedTupleMember=function(a,l){return!!a&&a.type==="TSNamedTupleMember"&&(l==null||(0,s.default)(a,l))},r.isTSNamespaceExportDeclaration=function(a,l){return!!a&&a.type==="TSNamespaceExportDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTSNeverKeyword=function(a,l){return!!a&&a.type==="TSNeverKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSNonNullExpression=function(a,l){return!!a&&a.type==="TSNonNullExpression"&&(l==null||(0,s.default)(a,l))},r.isTSNullKeyword=function(a,l){return!!a&&a.type==="TSNullKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSNumberKeyword=function(a,l){return!!a&&a.type==="TSNumberKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSObjectKeyword=function(a,l){return!!a&&a.type==="TSObjectKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSOptionalType=function(a,l){return!!a&&a.type==="TSOptionalType"&&(l==null||(0,s.default)(a,l))},r.isTSParameterProperty=function(a,l){return!!a&&a.type==="TSParameterProperty"&&(l==null||(0,s.default)(a,l))},r.isTSParenthesizedType=function(a,l){return!!a&&a.type==="TSParenthesizedType"&&(l==null||(0,s.default)(a,l))},r.isTSPropertySignature=function(a,l){return!!a&&a.type==="TSPropertySignature"&&(l==null||(0,s.default)(a,l))},r.isTSQualifiedName=function(a,l){return!!a&&a.type==="TSQualifiedName"&&(l==null||(0,s.default)(a,l))},r.isTSRestType=function(a,l){return!!a&&a.type==="TSRestType"&&(l==null||(0,s.default)(a,l))},r.isTSSatisfiesExpression=function(a,l){return!!a&&a.type==="TSSatisfiesExpression"&&(l==null||(0,s.default)(a,l))},r.isTSStringKeyword=function(a,l){return!!a&&a.type==="TSStringKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSSymbolKeyword=function(a,l){return!!a&&a.type==="TSSymbolKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSThisType=function(a,l){return!!a&&a.type==="TSThisType"&&(l==null||(0,s.default)(a,l))},r.isTSTupleType=function(a,l){return!!a&&a.type==="TSTupleType"&&(l==null||(0,s.default)(a,l))},r.isTSType=function(a,l){if(!a)return!1;switch(a.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isTSTypeAliasDeclaration=function(a,l){return!!a&&a.type==="TSTypeAliasDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTSTypeAnnotation=function(a,l){return!!a&&a.type==="TSTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isTSTypeAssertion=function(a,l){return!!a&&a.type==="TSTypeAssertion"&&(l==null||(0,s.default)(a,l))},r.isTSTypeElement=function(a,l){if(!a)return!1;switch(a.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isTSTypeLiteral=function(a,l){return!!a&&a.type==="TSTypeLiteral"&&(l==null||(0,s.default)(a,l))},r.isTSTypeOperator=function(a,l){return!!a&&a.type==="TSTypeOperator"&&(l==null||(0,s.default)(a,l))},r.isTSTypeParameter=function(a,l){return!!a&&a.type==="TSTypeParameter"&&(l==null||(0,s.default)(a,l))},r.isTSTypeParameterDeclaration=function(a,l){return!!a&&a.type==="TSTypeParameterDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTSTypeParameterInstantiation=function(a,l){return!!a&&a.type==="TSTypeParameterInstantiation"&&(l==null||(0,s.default)(a,l))},r.isTSTypePredicate=function(a,l){return!!a&&a.type==="TSTypePredicate"&&(l==null||(0,s.default)(a,l))},r.isTSTypeQuery=function(a,l){return!!a&&a.type==="TSTypeQuery"&&(l==null||(0,s.default)(a,l))},r.isTSTypeReference=function(a,l){return!!a&&a.type==="TSTypeReference"&&(l==null||(0,s.default)(a,l))},r.isTSUndefinedKeyword=function(a,l){return!!a&&a.type==="TSUndefinedKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSUnionType=function(a,l){return!!a&&a.type==="TSUnionType"&&(l==null||(0,s.default)(a,l))},r.isTSUnknownKeyword=function(a,l){return!!a&&a.type==="TSUnknownKeyword"&&(l==null||(0,s.default)(a,l))},r.isTSVoidKeyword=function(a,l){return!!a&&a.type==="TSVoidKeyword"&&(l==null||(0,s.default)(a,l))},r.isTaggedTemplateExpression=function(a,l){return!!a&&a.type==="TaggedTemplateExpression"&&(l==null||(0,s.default)(a,l))},r.isTemplateElement=function(a,l){return!!a&&a.type==="TemplateElement"&&(l==null||(0,s.default)(a,l))},r.isTemplateLiteral=function(a,l){return!!a&&a.type==="TemplateLiteral"&&(l==null||(0,s.default)(a,l))},r.isTerminatorless=function(a,l){if(!a)return!1;switch(a.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isThisExpression=function(a,l){return!!a&&a.type==="ThisExpression"&&(l==null||(0,s.default)(a,l))},r.isThisTypeAnnotation=function(a,l){return!!a&&a.type==="ThisTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isThrowStatement=function(a,l){return!!a&&a.type==="ThrowStatement"&&(l==null||(0,s.default)(a,l))},r.isTopicReference=function(a,l){return!!a&&a.type==="TopicReference"&&(l==null||(0,s.default)(a,l))},r.isTryStatement=function(a,l){return!!a&&a.type==="TryStatement"&&(l==null||(0,s.default)(a,l))},r.isTupleExpression=function(a,l){return!!a&&a.type==="TupleExpression"&&(l==null||(0,s.default)(a,l))},r.isTupleTypeAnnotation=function(a,l){return!!a&&a.type==="TupleTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isTypeAlias=function(a,l){return!!a&&a.type==="TypeAlias"&&(l==null||(0,s.default)(a,l))},r.isTypeAnnotation=function(a,l){return!!a&&a.type==="TypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isTypeCastExpression=function(a,l){return!!a&&a.type==="TypeCastExpression"&&(l==null||(0,s.default)(a,l))},r.isTypeParameter=function(a,l){return!!a&&a.type==="TypeParameter"&&(l==null||(0,s.default)(a,l))},r.isTypeParameterDeclaration=function(a,l){return!!a&&a.type==="TypeParameterDeclaration"&&(l==null||(0,s.default)(a,l))},r.isTypeParameterInstantiation=function(a,l){return!!a&&a.type==="TypeParameterInstantiation"&&(l==null||(0,s.default)(a,l))},r.isTypeScript=function(a,l){if(!a)return!1;switch(a.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isTypeofTypeAnnotation=function(a,l){return!!a&&a.type==="TypeofTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isUnaryExpression=function(a,l){return!!a&&a.type==="UnaryExpression"&&(l==null||(0,s.default)(a,l))},r.isUnaryLike=function(a,l){if(!a)return!1;switch(a.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isUnionTypeAnnotation=function(a,l){return!!a&&a.type==="UnionTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isUpdateExpression=function(a,l){return!!a&&a.type==="UpdateExpression"&&(l==null||(0,s.default)(a,l))},r.isUserWhitespacable=function(a,l){if(!a)return!1;switch(a.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isV8IntrinsicIdentifier=function(a,l){return!!a&&a.type==="V8IntrinsicIdentifier"&&(l==null||(0,s.default)(a,l))},r.isVariableDeclaration=function(a,l){return!!a&&a.type==="VariableDeclaration"&&(l==null||(0,s.default)(a,l))},r.isVariableDeclarator=function(a,l){return!!a&&a.type==="VariableDeclarator"&&(l==null||(0,s.default)(a,l))},r.isVariance=function(a,l){return!!a&&a.type==="Variance"&&(l==null||(0,s.default)(a,l))},r.isVoidTypeAnnotation=function(a,l){return!!a&&a.type==="VoidTypeAnnotation"&&(l==null||(0,s.default)(a,l))},r.isWhile=function(a,l){if(!a)return!1;switch(a.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return l==null||(0,s.default)(a,l)},r.isWhileStatement=function(a,l){return!!a&&a.type==="WhileStatement"&&(l==null||(0,s.default)(a,l))},r.isWithStatement=function(a,l){return!!a&&a.type==="WithStatement"&&(l==null||(0,s.default)(a,l))},r.isYieldExpression=function(a,l){return!!a&&a.type==="YieldExpression"&&(l==null||(0,s.default)(a,l))};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/utils/shallowEqual.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/utils/deprecationWarning.js");function H(a,l){if(!a)return!1;switch(a.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return l==null||(0,s.default)(a,l)}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/is.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(l,p,d){return p?(0,u.default)(p.type,l)?d===void 0||(0,s.default)(p,d):!d&&p.type==="Placeholder"&&l in a.FLIPPED_ALIAS_KEYS&&(0,H.default)(p.expectedNode,l):!1};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/utils/shallowEqual.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isType.js"),H=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isPlaceholderType.js"),a=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isBinding.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H,a){if(a&&u.type==="Identifier"&&H.type==="ObjectProperty"&&a.type==="ObjectExpression")return!1;let l=s.default.keys[H.type];if(l)for(let p=0;p<l.length;p++){let d=H[l[p]];if(Array.isArray(d)){if(d.includes(u))return!0}else if(d===u)return!0}return!1};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isBlockScoped.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H){return(0,s.isFunctionDeclaration)(H)||(0,s.isClassDeclaration)(H)||(0,u.default)(H)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isLet.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isImmutable.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H){return(0,s.default)(H.type,"Immutable")?!0:(0,u.isIdentifier)(H)?H.name==="undefined":!1};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isType.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isLet.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H){return(0,s.isVariableDeclaration)(H)&&(H.kind!=="var"||H[u.BLOCK_SCOPED_SYMBOL])};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/constants/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isNode.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){return!(!u||!s.VISITOR_KEYS[u.type])};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isNodesEquivalent.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function u(H,a){if(typeof H!="object"||typeof a!="object"||H==null||a==null)return H===a;if(H.type!==a.type)return!1;let l=Object.keys(s.NODE_FIELDS[H.type]||H.type),p=s.VISITOR_KEYS[H.type];for(let d of l){let h=H[d],m=a[d];if(typeof h!=typeof m)return!1;if(h!=null||m!=null){if(h==null||m==null)return!1;if(Array.isArray(h)){if(!Array.isArray(m)||h.length!==m.length)return!1;for(let g=0;g<h.length;g++)if(!u(h[g],m[g]))return!1}else if(typeof h!="object"||p!=null&&p.includes(d)){if(!u(h,m))return!1}else for(let g of Object.keys(h))if(h[g]!==m[g])return!1}}return!0};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isPlaceholderType.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H){if(u===H)return!0;let a=s.PLACEHOLDERS_ALIAS[u];if(a){for(let l of a)if(H===l)return!0}return!1};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isReferenced.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(c,s,u){switch(s.type){case"MemberExpression":case"OptionalMemberExpression":return s.property===c?!!s.computed:s.object===c;case"JSXMemberExpression":return s.object===c;case"VariableDeclarator":return s.init===c;case"ArrowFunctionExpression":return s.body===c;case"PrivateName":case"LabeledStatement":case"CatchClause":case"RestElement":case"BreakStatement":case"ContinueStatement":case"FunctionDeclaration":case"FunctionExpression":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportAttribute":case"JSXAttribute":case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return s.key===c&&!!s.computed;case"ObjectProperty":return s.key===c?!!s.computed:!u||u.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":case"TSPropertySignature":return s.key!==c||!!s.computed;case"ClassPrivateProperty":case"ObjectTypeProperty":return s.key!==c;case"ClassDeclaration":case"ClassExpression":return s.superClass===c;case"AssignmentExpression":case"AssignmentPattern":return s.right===c;case"ExportSpecifier":return(u==null||!u.source)&&s.local===c;case"TSEnumMember":return s.id!==c}return!0}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isScope.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H){return(0,s.isBlockStatement)(u)&&((0,s.isFunction)(H)||(0,s.isCatchClause)(H))?!1:(0,s.isPattern)(u)&&((0,s.isFunction)(H)||(0,s.isCatchClause)(H))?!0:(0,s.isScopable)(u)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isSpecifierDefault.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){return(0,s.isImportDefaultSpecifier)(u)||(0,s.isIdentifier)(u.imported||u.exported,{name:"default"})};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isType.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H){if(u===H)return!0;if(u==null||s.ALIAS_KEYS[H])return!1;let a=s.FLIPPED_ALIAS_KEYS[H];if(a){if(a[0]===u)return!0;for(let l of a)if(u===l)return!0}return!1};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isValidES3Identifier.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H){return(0,s.default)(H)&&!u.has(H)};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isValidIdentifier.js");let u=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"])},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isValidIdentifier.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H=!0){return typeof u!="string"||H&&((0,s.isKeyword)(u)||(0,s.isStrictReservedWord)(u,!0))?!1:(0,s.isIdentifierName)(u)};var s=c("./node_modules/.pnpm/@babel+helper-validator-identifier@7.25.7/node_modules/@babel/helper-validator-identifier/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/isVar.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(H){return(0,s.isVariableDeclaration)(H,{kind:"var"})&&!H[u.BLOCK_SCOPED_SYMBOL]};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js"),u=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/constants/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/matchesPattern.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,H,a){if(!(0,s.isMemberExpression)(u))return!1;let l=Array.isArray(H)?H:H.split("."),p=[],d;for(d=u;(0,s.isMemberExpression)(d);d=d.object)p.push(d.property);if(p.push(d),p.length<l.length||!a&&p.length>l.length)return!1;for(let h=0,m=p.length-1;h<l.length;h++,m--){let g=p[m],y;if((0,s.isIdentifier)(g))y=g.name;else if((0,s.isStringLiteral)(g))y=g.value;else{if(!(0,s.isThisExpression)(g))return!1;y="this"}if(l[h]!==y)return!1}return!0};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/react/isCompatTag.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(c){return!!c&&/^[a-z]/.test(c)}},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/react/isReactComponent.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;let s=(0,c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js").default)("React.Component");r.default=s},"./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/validators/validate.js":(o,r,c)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(a,l,p){if(!a)return;let d=s.NODE_FIELDS[a.type];if(!d)return;let h=d[l];u(a,l,p,h),H(a,l,p)},r.validateChild=H,r.validateField=u,r.validateInternal=function(a,l,p,d,h){if(!(a==null||!a.validate)&&!(a.optional&&d==null)&&(a.validate(l,p,d),h)){var m;let g=d.type;if(g==null)return;(m=s.NODE_PARENT_VALIDATIONS[g])==null||m.call(s.NODE_PARENT_VALIDATIONS,l,p,d)}};var s=c("./node_modules/.pnpm/@babel+types@7.25.7/node_modules/@babel/types/lib/definitions/index.js");function u(a,l,p,d){d!=null&&d.validate&&(d.optional&&p==null||d.validate(a,l,p))}function H(a,l,p){var d;let h=p?.type;h!=null&&((d=s.NODE_PARENT_VALIDATIONS[h])==null||d.call(s.NODE_PARENT_VALIDATIONS,a,l,p))}},"./node_modules/.pnpm/json5@2.2.3/node_modules/json5/dist/index.mjs":(o,r,c)=>{"use strict";c.r(r),c.d(r,{default:()=>K});var s={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},u={isSpaceSeparator:q=>typeof q=="string"&&s.Space_Separator.test(q),isIdStartChar:q=>typeof q=="string"&&(q>="a"&&q<="z"||q>="A"&&q<="Z"||q==="$"||q==="_"||s.ID_Start.test(q)),isIdContinueChar:q=>typeof q=="string"&&(q>="a"&&q<="z"||q>="A"&&q<="Z"||q>="0"&&q<="9"||q==="$"||q==="_"||q==="\u200C"||q==="\u200D"||s.ID_Continue.test(q)),isDigit:q=>typeof q=="string"&&/[0-9]/.test(q),isHexDigit:q=>typeof q=="string"&&/[0-9A-Fa-f]/.test(q)};let H,a,l,p,d,h,m,g,y;function _(q,Q,z){let ie=q[Q];if(ie!=null&&typeof ie=="object")if(Array.isArray(ie))for(let _e=0;_e<ie.length;_e++){let He=String(_e),be=_(ie,He,z);be===void 0?delete ie[He]:Object.defineProperty(ie,He,{value:be,writable:!0,enumerable:!0,configurable:!0})}else for(let _e in ie){let He=_(ie,_e,z);He===void 0?delete ie[_e]:Object.defineProperty(ie,_e,{value:He,writable:!0,enumerable:!0,configurable:!0})}return z.call(q,Q,ie)}let E,A,S,T,I;function L(){for(E="default",A="",S=!1,T=1;;){I=x();let q=D[E]();if(q)return q}}function x(){if(H[p])return String.fromCodePoint(H.codePointAt(p))}function C(){let q=x();return q===`
|
|
`?(d++,h=0):q?h+=q.length:h++,q&&(p+=q.length),q}let D={default(){switch(I){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
|
|
`:case"\r":case"\u2028":case"\u2029":return void C();case"/":return C(),void(E="comment");case void 0:return C(),O("eof")}if(!u.isSpaceSeparator(I))return D[a]();C()},comment(){switch(I){case"*":return C(),void(E="multiLineComment");case"/":return C(),void(E="singleLineComment")}throw P(C())},multiLineComment(){switch(I){case"*":return C(),void(E="multiLineCommentAsterisk");case void 0:throw P(C())}C()},multiLineCommentAsterisk(){switch(I){case"*":return void C();case"/":return C(),void(E="default");case void 0:throw P(C())}C(),E="multiLineComment"},singleLineComment(){switch(I){case`
|
|
`:case"\r":case"\u2028":case"\u2029":return C(),void(E="default");case void 0:return C(),O("eof")}C()},value(){switch(I){case"{":case"[":return O("punctuator",C());case"n":return C(),j("ull"),O("null",null);case"t":return C(),j("rue"),O("boolean",!0);case"f":return C(),j("alse"),O("boolean",!1);case"-":case"+":return C()==="-"&&(T=-1),void(E="sign");case".":return A=C(),void(E="decimalPointLeading");case"0":return A=C(),void(E="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return A=C(),void(E="decimalInteger");case"I":return C(),j("nfinity"),O("numeric",1/0);case"N":return C(),j("aN"),O("numeric",NaN);case'"':case"'":return S=C()==='"',A="",void(E="string")}throw P(C())},identifierNameStartEscape(){if(I!=="u")throw P(C());C();let q=k();switch(q){case"$":case"_":break;default:if(!u.isIdStartChar(q))throw Z()}A+=q,E="identifierName"},identifierName(){switch(I){case"$":case"_":case"\u200C":case"\u200D":return void(A+=C());case"\\":return C(),void(E="identifierNameEscape")}if(!u.isIdContinueChar(I))return O("identifier",A);A+=C()},identifierNameEscape(){if(I!=="u")throw P(C());C();let q=k();switch(q){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!u.isIdContinueChar(q))throw Z()}A+=q,E="identifierName"},sign(){switch(I){case".":return A=C(),void(E="decimalPointLeading");case"0":return A=C(),void(E="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return A=C(),void(E="decimalInteger");case"I":return C(),j("nfinity"),O("numeric",T*(1/0));case"N":return C(),j("aN"),O("numeric",NaN)}throw P(C())},zero(){switch(I){case".":return A+=C(),void(E="decimalPoint");case"e":case"E":return A+=C(),void(E="decimalExponent");case"x":case"X":return A+=C(),void(E="hexadecimal")}return O("numeric",0*T)},decimalInteger(){switch(I){case".":return A+=C(),void(E="decimalPoint");case"e":case"E":return A+=C(),void(E="decimalExponent")}if(!u.isDigit(I))return O("numeric",T*Number(A));A+=C()},decimalPointLeading(){if(u.isDigit(I))return A+=C(),void(E="decimalFraction");throw P(C())},decimalPoint(){switch(I){case"e":case"E":return A+=C(),void(E="decimalExponent")}return u.isDigit(I)?(A+=C(),void(E="decimalFraction")):O("numeric",T*Number(A))},decimalFraction(){switch(I){case"e":case"E":return A+=C(),void(E="decimalExponent")}if(!u.isDigit(I))return O("numeric",T*Number(A));A+=C()},decimalExponent(){switch(I){case"+":case"-":return A+=C(),void(E="decimalExponentSign")}if(u.isDigit(I))return A+=C(),void(E="decimalExponentInteger");throw P(C())},decimalExponentSign(){if(u.isDigit(I))return A+=C(),void(E="decimalExponentInteger");throw P(C())},decimalExponentInteger(){if(!u.isDigit(I))return O("numeric",T*Number(A));A+=C()},hexadecimal(){if(u.isHexDigit(I))return A+=C(),void(E="hexadecimalInteger");throw P(C())},hexadecimalInteger(){if(!u.isHexDigit(I))return O("numeric",T*Number(A));A+=C()},string(){switch(I){case"\\":return C(),void(A+=function(){switch(x()){case"b":return C(),"\b";case"f":return C(),"\f";case"n":return C(),`
|
|
`;case"r":return C(),"\r";case"t":return C()," ";case"v":return C(),"\v";case"0":if(C(),u.isDigit(x()))throw P(C());return"\0";case"x":return C(),function(){let q="",Q=x();if(!u.isHexDigit(Q)||(q+=C(),Q=x(),!u.isHexDigit(Q)))throw P(C());return q+=C(),String.fromCodePoint(parseInt(q,16))}();case"u":return C(),k();case`
|
|
`:case"\u2028":case"\u2029":return C(),"";case"\r":return C(),x()===`
|
|
`&&C(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case void 0:throw P(C())}return C()}());case'"':return S?(C(),O("string",A)):void(A+=C());case"'":return S?void(A+=C()):(C(),O("string",A));case`
|
|
`:case"\r":throw P(C());case"\u2028":case"\u2029":(function(q){console.warn(`JSON5: '${ee(q)}' in strings is not valid ECMAScript; consider escaping`)})(I);break;case void 0:throw P(C())}A+=C()},start(){switch(I){case"{":case"[":return O("punctuator",C())}E="value"},beforePropertyName(){switch(I){case"$":case"_":return A=C(),void(E="identifierName");case"\\":return C(),void(E="identifierNameStartEscape");case"}":return O("punctuator",C());case'"':case"'":return S=C()==='"',void(E="string")}if(u.isIdStartChar(I))return A+=C(),void(E="identifierName");throw P(C())},afterPropertyName(){if(I===":")return O("punctuator",C());throw P(C())},beforePropertyValue(){E="value"},afterPropertyValue(){switch(I){case",":case"}":return O("punctuator",C())}throw P(C())},beforeArrayValue(){if(I==="]")return O("punctuator",C());E="value"},afterArrayValue(){switch(I){case",":case"]":return O("punctuator",C())}throw P(C())},end(){throw P(C())}};function O(q,Q){return{type:q,value:Q,line:d,column:h}}function j(q){for(let Q of q){if(x()!==Q)throw P(C());C()}}function k(){let q="",Q=4;for(;Q-- >0;){let z=x();if(!u.isHexDigit(z))throw P(C());q+=C()}return String.fromCodePoint(parseInt(q,16))}let $={start(){if(m.type==="eof")throw W();U()},beforePropertyName(){switch(m.type){case"identifier":case"string":return g=m.value,void(a="afterPropertyName");case"punctuator":return void F();case"eof":throw W()}},afterPropertyName(){if(m.type==="eof")throw W();a="beforePropertyValue"},beforePropertyValue(){if(m.type==="eof")throw W();U()},beforeArrayValue(){if(m.type==="eof")throw W();m.type!=="punctuator"||m.value!=="]"?U():F()},afterPropertyValue(){if(m.type==="eof")throw W();switch(m.value){case",":return void(a="beforePropertyName");case"}":F()}},afterArrayValue(){if(m.type==="eof")throw W();switch(m.value){case",":return void(a="beforeArrayValue");case"]":F()}},end(){}};function U(){let q;switch(m.type){case"punctuator":switch(m.value){case"{":q={};break;case"[":q=[]}break;case"null":case"boolean":case"numeric":case"string":q=m.value}if(y===void 0)y=q;else{let Q=l[l.length-1];Array.isArray(Q)?Q.push(q):Object.defineProperty(Q,g,{value:q,writable:!0,enumerable:!0,configurable:!0})}if(q!==null&&typeof q=="object")l.push(q),a=Array.isArray(q)?"beforeArrayValue":"beforePropertyName";else{let Q=l[l.length-1];a=Q==null?"end":Array.isArray(Q)?"afterArrayValue":"afterPropertyValue"}}function F(){l.pop();let q=l[l.length-1];a=q==null?"end":Array.isArray(q)?"afterArrayValue":"afterPropertyValue"}function P(q){return J(q===void 0?`JSON5: invalid end of input at ${d}:${h}`:`JSON5: invalid character '${ee(q)}' at ${d}:${h}`)}function W(){return J(`JSON5: invalid end of input at ${d}:${h}`)}function Z(){return h-=5,J(`JSON5: invalid identifier character at ${d}:${h}`)}function ee(q){let Q={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(Q[q])return Q[q];if(q<" "){let z=q.charCodeAt(0).toString(16);return"\\x"+("00"+z).substring(z.length)}return q}function J(q){let Q=new SyntaxError(q);return Q.lineNumber=d,Q.columnNumber=h,Q}let K={parse:function(q,Q){H=String(q),a="start",l=[],p=0,d=1,h=0,m=void 0,g=void 0,y=void 0;do m=L(),$[a]();while(m.type!=="eof");return typeof Q=="function"?_({"":y},"",Q):y},stringify:function(q,Q,z){let ie=[],_e,He,be,Ve="",Fe="";if(Q==null||typeof Q!="object"||Array.isArray(Q)||(z=Q.space,be=Q.quote,Q=Q.replacer),typeof Q=="function")He=Q;else if(Array.isArray(Q)){_e=[];for(let je of Q){let Oe;typeof je=="string"?Oe=je:(typeof je=="number"||je instanceof String||je instanceof Number)&&(Oe=String(je)),Oe!==void 0&&_e.indexOf(Oe)<0&&_e.push(Oe)}}return z instanceof Number?z=Number(z):z instanceof String&&(z=String(z)),typeof z=="number"?z>0&&(z=Math.min(10,Math.floor(z)),Fe=" ".substr(0,z)):typeof z=="string"&&(Fe=z.substr(0,10)),me("",{"":q});function me(je,Oe){let re=Oe[je];switch(re!=null&&(typeof re.toJSON5=="function"?re=re.toJSON5(je):typeof re.toJSON=="function"&&(re=re.toJSON(je))),He&&(re=He.call(Oe,je,re)),re instanceof Number?re=Number(re):re instanceof String?re=String(re):re instanceof Boolean&&(re=re.valueOf()),re){case null:return"null";case!0:return"true";case!1:return"false"}return typeof re=="string"?ce(re):typeof re=="number"?String(re):typeof re=="object"?Array.isArray(re)?function(fe){if(ie.indexOf(fe)>=0)throw TypeError("Converting circular structure to JSON5");ie.push(fe);let he=Ve;Ve+=Fe;let se,Ie=[];for(let ye=0;ye<fe.length;ye++){let $e=me(String(ye),fe);Ie.push($e!==void 0?$e:"null")}if(Ie.length===0)se="[]";else if(Fe==="")se="["+Ie.join(",")+"]";else{let ye=`,
|
|
`+Ve,$e=Ie.join(ye);se=`[
|
|
`+Ve+$e+`,
|
|
`+he+"]"}return ie.pop(),Ve=he,se}(re):function(fe){if(ie.indexOf(fe)>=0)throw TypeError("Converting circular structure to JSON5");ie.push(fe);let he=Ve;Ve+=Fe;let se,Ie=_e||Object.keys(fe),ye=[];for(let $e of Ie){let nt=me($e,fe);if(nt!==void 0){let et=ke($e)+":";Fe!==""&&(et+=" "),et+=nt,ye.push(et)}}if(ye.length===0)se="{}";else{let $e;if(Fe==="")$e=ye.join(","),se="{"+$e+"}";else{let nt=`,
|
|
`+Ve;$e=ye.join(nt),se=`{
|
|
`+Ve+$e+`,
|
|
`+he+"}"}}return ie.pop(),Ve=he,se}(re):void 0}function ce(je){let Oe={"'":.1,'"':.2},re={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},fe="";for(let se=0;se<je.length;se++){let Ie=je[se];switch(Ie){case"'":case'"':Oe[Ie]++,fe+=Ie;continue;case"\0":if(u.isDigit(je[se+1])){fe+="\\x00";continue}}if(re[Ie])fe+=re[Ie];else if(Ie<" "){let ye=Ie.charCodeAt(0).toString(16);fe+="\\x"+("00"+ye).substring(ye.length)}else fe+=Ie}let he=be||Object.keys(Oe).reduce((se,Ie)=>Oe[se]<Oe[Ie]?se:Ie);return fe=fe.replace(new RegExp(he,"g"),re[he]),he+fe+he}function ke(je){if(je.length===0)return ce(je);let Oe=String.fromCodePoint(je.codePointAt(0));if(!u.isIdStartChar(Oe))return ce(je);for(let re=Oe.length;re<je.length;re++)if(!u.isIdContinueChar(String.fromCodePoint(je.codePointAt(re))))return ce(je);return je}}}},"./stubs/babel-codeframe.mjs":(o,r,c)=>{"use strict";function s(){return""}c.r(r),c.d(r,{codeFrameColumns:()=>s})},"./stubs/helper-compilation-targets.mjs":(o,r,c)=>{"use strict";function s(){return{}}c.r(r),c.d(r,{default:()=>s})},"./node_modules/.pnpm/@babel+preset-typescript@7.25.7_@babel+core@7.25.7/node_modules/@babel/preset-typescript/package.json":o=>{"use strict";o.exports=JSON.parse('{"name":"@babel/preset-typescript","version":"7.25.7","description":"Babel preset for TypeScript.","repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-preset-typescript"},"license":"MIT","publishConfig":{"access":"public"},"main":"./lib/index.js","keywords":["babel-preset","typescript"],"dependencies":{"@babel/helper-plugin-utils":"^7.25.7","@babel/helper-validator-option":"^7.25.7","@babel/plugin-syntax-jsx":"^7.25.7","@babel/plugin-transform-modules-commonjs":"^7.25.7","@babel/plugin-transform-typescript":"^7.25.7"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.25.7","@babel/helper-plugin-test-runner":"^7.25.7"},"homepage":"https://babel.dev/docs/en/next/babel-preset-typescript","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20typescript%22+is%3Aopen","engines":{"node":">=6.9.0"},"author":"The Babel Team (https://babel.dev/team)","type":"commonjs"}')},"./node_modules/.pnpm/globals@11.12.0/node_modules/globals/globals.json":o=>{"use strict";o.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')}},t={};function n(o){var r=t[o];if(r!==void 0)return r.exports;var c=t[o]={exports:{}};return e[o].call(c.exports,c,c.exports,n),c.exports}n.n=o=>{var r=o&&o.__esModule?()=>o.default:()=>o;return n.d(r,{a:r}),r},n.d=(o,r)=>{for(var c in r)n.o(r,c)&&!n.o(o,c)&&Object.defineProperty(o,c,{enumerable:!0,get:r[c]})},n.o=(o,r)=>Object.prototype.hasOwnProperty.call(o,r),n.r=o=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.d(i,{default:()=>Hs});var o=n("./node_modules/.pnpm/@babel+core@7.25.7/node_modules/@babel/core/lib/index.js"),r=n("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-proposal-decorators/lib/index.js"),c=n("./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.25.7/node_modules/@babel/plugin-syntax-class-properties/lib/index.js"),s=n("./node_modules/.pnpm/@babel+plugin-syntax-import-assertions@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js"),u=n("./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-syntax-jsx/lib/index.js"),H=n("./node_modules/.pnpm/@babel+plugin-transform-export-namespace-from@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-export-namespace-from/lib/index.js"),a=n("./node_modules/.pnpm/@babel+plugin-transform-react-jsx@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-react-jsx/lib/index.js"),l=n("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.25.7_@babel+core@7.25.7/node_modules/@babel/plugin-transform-typescript/lib/index.js"),p=n("./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js"),d=n.n(p),h=n("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.7/node_modules/@babel/helper-plugin-utils/lib/index.js");function m(M,oe,Re=!1){return o.types.decorator(o.types.functionExpression(null,[o.types.identifier("target"),o.types.identifier("key")],o.types.blockStatement([o.types.returnStatement(o.types.callExpression(oe,[o.types.identifier("target"),o.types.identifier(Re?"undefined":"key"),o.types.numericLiteral(M)]))])))}function g(M,oe){if(oe.type!=="ClassMethod"||oe.node.type!=="ClassMethod"||oe.node.key.type!=="Identifier")return;let Re=oe,Xe=Re.get("params")||[];for(let lt of Xe){if((lt.node.type==="Identifier"||lt.node.type==="ObjectPattern"?lt.node:lt.node.type==="TSParameterProperty"&<.node.parameter.type==="Identifier"?lt.node.parameter:null)==null)continue;let vt;for(let Mt of lt.node.decorators||[])Re.node.kind==="constructor"?(vt=m(lt.key,Mt.expression,!0),M.node.decorators||(M.node.decorators=[]),M.node.decorators.push(vt)):(vt=m(lt.key,Mt.expression,!1),Re.node.decorators||(Re.node.decorators=[]),Re.node.decorators.push(vt));vt&&(lt.node.decorators=null)}}function y(){return o.types.unaryExpression("void",o.types.numericLiteral(0))}function _(M){return M==null?null:M.type==="ClassProperty"||M.type==="Identifier"||M.type==="ObjectPattern"?M:M.type==="AssignmentPattern"&&M.left.type==="Identifier"?M.left:M.type==="TSParameterProperty"?_(M.parameter):null}function E(M,oe){let Re=_(oe);if(Re==null||!Re.typeAnnotation||Re.typeAnnotation.type!=="TSTypeAnnotation")return y();let Xe=Re.typeAnnotation.typeAnnotation;return I(M.node.id?M.node.id.name:"",Xe)}function A(M,oe){let Re=T(oe.typeName);return S(M,Re)?o.types.identifier("Object"):o.types.conditionalExpression(o.types.binaryExpression("===",o.types.unaryExpression("typeof",Re),o.types.stringLiteral("undefined")),o.types.identifier("Object"),o.types.cloneDeep(Re))}function S(M,oe){switch(oe.type){case"Identifier":return oe.name===M;case"MemberExpression":return S(M,oe.object);default:throw new Error(`The property expression at ${oe.start} is not valid as a Type to be used in Reflect.metadata`)}}function T(M){return M.type==="Identifier"?o.types.identifier(M.name):o.types.memberExpression(T(M.left),M.right)}function I(M,oe){if(oe===void 0)return o.types.identifier("Object");switch(oe.type){case"TSVoidKeyword":case"TSUndefinedKeyword":case"TSNullKeyword":case"TSNeverKeyword":return y();case"TSParenthesizedType":return I(M,oe.typeAnnotation);case"TSFunctionType":case"TSConstructorType":return o.types.identifier("Function");case"TSArrayType":case"TSTupleType":return o.types.identifier("Array");case"TSTypePredicate":case"TSBooleanKeyword":return o.types.identifier("Boolean");case"TSStringKeyword":return o.types.identifier("String");case"TSObjectKeyword":return o.types.identifier("Object");case"TSLiteralType":switch(oe.literal.type){case"StringLiteral":return o.types.identifier("String");case"NumericLiteral":return o.types.identifier("Number");case"BooleanLiteral":return o.types.identifier("Boolean");default:throw new Error("Bad type for decorator"+oe.literal)}case"TSNumberKeyword":case"TSBigIntKeyword":return o.types.identifier("Number");case"TSSymbolKeyword":return o.types.identifier("Symbol");case"TSTypeReference":return A(M,oe);case"TSIntersectionType":case"TSUnionType":return L(M,oe.types);case"TSConditionalType":return L(M,[oe.trueType,oe.falseType]);case"TSTypeQuery":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTypeLiteral":case"TSAnyKeyword":case"TSUnknownKeyword":case"TSThisType":break;default:throw new Error("Bad type for decorator")}return o.types.identifier("Object")}function L(M,oe){let Re;for(let Xe of oe){for(;Xe.type==="TSParenthesizedType";)Xe=Xe.typeAnnotation;if(Xe.type==="TSNeverKeyword"||Xe.type==="TSNullKeyword"||Xe.type==="TSUndefinedKeyword")continue;let lt=I(M,Xe);if(o.types.isIdentifier(lt)&<.name==="Object")return lt;if(Re){if(!o.types.isIdentifier(Re)||!o.types.isIdentifier(lt)||Re.name!==lt.name)return o.types.identifier("Object")}else Re=lt}return Re||y()}function x(M,oe){return o.types.decorator(o.types.logicalExpression("||",o.types.optionalCallExpression(o.types.memberExpression(o.types.identifier("Reflect"),o.types.identifier("metadata")),[o.types.stringLiteral(M),oe],!0),o.types.arrowFunctionExpression([o.types.identifier("t")],o.types.identifier("t"))))}function C(M,oe){let Re=oe.node,Xe=M.node;switch(Re.type){case"ClassMethod":{let lt=Re.kind==="constructor"?Xe.decorators:Re.decorators;if(!lt||lt.length===0)return;lt.push(x("design:type",o.types.identifier("Function"))),lt.push(x("design:paramtypes",o.types.arrayExpression(Re.params.map(vt=>E(M,vt)))));break}case"ClassProperty":if(!Re.decorators||Re.decorators.length===0||!Re.typeAnnotation||Re.typeAnnotation.type!=="TSTypeAnnotation")return;Re.decorators.push(x("design:type",E(M,Re)))}}let D=(0,h.declare)(M=>(M.assertVersion(7),{visitor:{Program(oe){oe.traverse({ClassDeclaration(Re){for(let Xe of Re.get("body").get("body"))Xe.type!=="ClassMethod"&&Xe.type!=="ClassProperty"||(g(Re,Xe),C(Re,Xe));Re.parentPath.scope.crawl()}})}}}));function O({template:M,types:oe}){return{name:"@import-meta-env/babel",visitor:{Identifier(Re){if(!oe.isIdentifier(Re)||!oe.isMemberExpression(Re.parentPath)&&!oe.isOptionalMemberExpression(Re.parentPath)||!oe.isMemberExpression(Re.parentPath.node))return;let Xe=Re.parentPath.node;if(!oe.isMetaProperty(Xe.object))return;let lt=Xe.object;lt.meta.name==="import"&<.property.name==="meta"&&Xe.property.name==="env"&&Re.parentPath.replaceWith(M.expression.ast("process.env"))}}}}function j(M){return{name:"import-meta-resolve",visitor:{Program(oe){let Re=[];if(oe.traverse({MemberExpression(Xe){let{node:lt}=Xe;lt.object.type==="MetaProperty"&<.object.meta.name==="import"&<.object.property.name==="meta"&<.property.type==="Identifier"&<.property.name==="resolve"&&Re.push(Xe)}}),Re.length!==0)for(let Xe of Re)Xe.replaceWith({type:"ExpressionStatement",expression:{type:"Identifier",name:"jitiESMResolve"}})}}}}var k=n("./node_modules/.pnpm/@babel+template@7.25.7/node_modules/@babel/template/lib/index.js");let $=/^[A-Za-z]:\//;function U(M=""){return M&&M.replace(/\\/g,"/").replace($,oe=>oe.toUpperCase())}let F=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,P=/^[A-Za-z]:$/,W=function(M){return F.test(M)},Z=function(M){let oe=U(M).replace(/\/$/,"").split("/").slice(0,-1);return oe.length===1&&P.test(oe[0])&&(oe[0]+="/"),oe.join("/")||(W(M)?"/":".")};var ee=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],J=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],ne="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",K={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},q="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",Q={5:q,"5module":q+" export import",6:q+" const class extends export import super"},z=/^in(stanceof)?$/,ie=new RegExp("["+ne+"]"),_e=new RegExp("["+ne+"\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65]");function He(M,oe){for(var Re=65536,Xe=0;Xe<oe.length;Xe+=2){if((Re+=oe[Xe])>M)return!1;if((Re+=oe[Xe+1])>=M)return!0}return!1}function be(M,oe){return M<65?M===36:M<91||(M<97?M===95:M<123||(M<=65535?M>=170&&ie.test(String.fromCharCode(M)):oe!==!1&&He(M,J)))}function Ve(M,oe){return M<48?M===36:M<58||!(M<65)&&(M<91||(M<97?M===95:M<123||(M<=65535?M>=170&&_e.test(String.fromCharCode(M)):oe!==!1&&(He(M,J)||He(M,ee)))))}var Fe=function(M,oe){oe===void 0&&(oe={}),this.label=M,this.keyword=oe.keyword,this.beforeExpr=!!oe.beforeExpr,this.startsExpr=!!oe.startsExpr,this.isLoop=!!oe.isLoop,this.isAssign=!!oe.isAssign,this.prefix=!!oe.prefix,this.postfix=!!oe.postfix,this.binop=oe.binop||null,this.updateContext=null};function me(M,oe){return new Fe(M,{beforeExpr:!0,binop:oe})}var ce={beforeExpr:!0},ke={startsExpr:!0},je={};function Oe(M,oe){return oe===void 0&&(oe={}),oe.keyword=M,je[M]=new Fe(M,oe)}var re={num:new Fe("num",ke),regexp:new Fe("regexp",ke),string:new Fe("string",ke),name:new Fe("name",ke),privateId:new Fe("privateId",ke),eof:new Fe("eof"),bracketL:new Fe("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Fe("]"),braceL:new Fe("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Fe("}"),parenL:new Fe("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Fe(")"),comma:new Fe(",",ce),semi:new Fe(";",ce),colon:new Fe(":",ce),dot:new Fe("."),question:new Fe("?",ce),questionDot:new Fe("?."),arrow:new Fe("=>",ce),template:new Fe("template"),invalidTemplate:new Fe("invalidTemplate"),ellipsis:new Fe("...",ce),backQuote:new Fe("`",ke),dollarBraceL:new Fe("${",{beforeExpr:!0,startsExpr:!0}),eq:new Fe("=",{beforeExpr:!0,isAssign:!0}),assign:new Fe("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Fe("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Fe("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:me("||",1),logicalAND:me("&&",2),bitwiseOR:me("|",3),bitwiseXOR:me("^",4),bitwiseAND:me("&",5),equality:me("==/!=/===/!==",6),relational:me("</>/<=/>=",7),bitShift:me("<</>>/>>>",8),plusMin:new Fe("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:me("%",10),star:me("*",10),slash:me("/",10),starstar:new Fe("**",{beforeExpr:!0}),coalesce:me("??",1),_break:Oe("break"),_case:Oe("case",ce),_catch:Oe("catch"),_continue:Oe("continue"),_debugger:Oe("debugger"),_default:Oe("default",ce),_do:Oe("do",{isLoop:!0,beforeExpr:!0}),_else:Oe("else",ce),_finally:Oe("finally"),_for:Oe("for",{isLoop:!0}),_function:Oe("function",ke),_if:Oe("if"),_return:Oe("return",ce),_switch:Oe("switch"),_throw:Oe("throw",ce),_try:Oe("try"),_var:Oe("var"),_const:Oe("const"),_while:Oe("while",{isLoop:!0}),_with:Oe("with"),_new:Oe("new",{beforeExpr:!0,startsExpr:!0}),_this:Oe("this",ke),_super:Oe("super",ke),_class:Oe("class",ke),_extends:Oe("extends",ce),_export:Oe("export"),_import:Oe("import",ke),_null:Oe("null",ke),_true:Oe("true",ke),_false:Oe("false",ke),_in:Oe("in",{beforeExpr:!0,binop:7}),_instanceof:Oe("instanceof",{beforeExpr:!0,binop:7}),_typeof:Oe("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:Oe("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:Oe("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},fe=/\r\n?|\n|\u2028|\u2029/,he=new RegExp(fe.source,"g");function se(M){return M===10||M===13||M===8232||M===8233}function Ie(M,oe,Re){Re===void 0&&(Re=M.length);for(var Xe=oe;Xe<Re;Xe++){var lt=M.charCodeAt(Xe);if(se(lt))return Xe<Re-1&<===13&&M.charCodeAt(Xe+1)===10?Xe+2:Xe+1}return-1}var ye=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,$e=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,nt=Object.prototype,et=nt.hasOwnProperty,xe=nt.toString,pe=Object.hasOwn||function(M,oe){return et.call(M,oe)},ue=Array.isArray||function(M){return xe.call(M)==="[object Array]"},Se=Object.create(null);function Ae(M){return Se[M]||(Se[M]=new RegExp("^(?:"+M.replace(/ /g,"|")+")$"))}function de(M){return M<=65535?String.fromCharCode(M):(M-=65536,String.fromCharCode(55296+(M>>10),56320+(1023&M)))}var We=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,tt=function(M,oe){this.line=M,this.column=oe};tt.prototype.offset=function(M){return new tt(this.line,this.column+M)};var mt=function(M,oe,Re){this.start=oe,this.end=Re,M.sourceFile!==null&&(this.source=M.sourceFile)};function At(M,oe){for(var Re=1,Xe=0;;){var lt=Ie(M,Xe,oe);if(lt<0)return new tt(Re,oe-Xe);++Re,Xe=lt}}var pt={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Nt=!1;function Ce(M){var oe={};for(var Re in pt)oe[Re]=M&&pe(M,Re)?M[Re]:pt[Re];if(oe.ecmaVersion==="latest"?oe.ecmaVersion=1e8:oe.ecmaVersion==null?(!Nt&&typeof console=="object"&&console.warn&&(Nt=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
Defaulting to 2020, but this will stop working in the future.`)),oe.ecmaVersion=11):oe.ecmaVersion>=2015&&(oe.ecmaVersion-=2009),oe.allowReserved==null&&(oe.allowReserved=oe.ecmaVersion<5),M&&M.allowHashBang!=null||(oe.allowHashBang=oe.ecmaVersion>=14),ue(oe.onToken)){var Xe=oe.onToken;oe.onToken=function(lt){return Xe.push(lt)}}return ue(oe.onComment)&&(oe.onComment=function(lt,vt){return function(Mt,Qt,jr,un,gn,Ti){var ma={type:Mt?"Block":"Line",value:Qt,start:jr,end:un};lt.locations&&(ma.loc=new mt(this,gn,Ti)),lt.ranges&&(ma.range=[jr,un]),vt.push(ma)}}(oe,oe.onComment)),oe}function qe(M,oe){return 2|(M?4:0)|(oe?8:0)}var ot=function(M,oe,Re){this.options=M=Ce(M),this.sourceFile=M.sourceFile,this.keywords=Ae(Q[M.ecmaVersion>=6?6:M.sourceType==="module"?"5module":5]);var Xe="";M.allowReserved!==!0&&(Xe=K[M.ecmaVersion>=6?6:M.ecmaVersion===5?5:3],M.sourceType==="module"&&(Xe+=" await")),this.reservedWords=Ae(Xe);var lt=(Xe?Xe+" ":"")+K.strict;this.reservedWordsStrict=Ae(lt),this.reservedWordsStrictBind=Ae(lt+" "+K.strictBind),this.input=String(oe),this.containsEsc=!1,Re?(this.pos=Re,this.lineStart=this.input.lastIndexOf(`
|
|
`,Re-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(fe).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=re.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=M.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&M.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},Ze={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};ot.prototype.parse=function(){var M=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(M)},Ze.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},Ze.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},Ze.inAsync.get=function(){return(4&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},Ze.canAwait.get=function(){for(var M=this.scopeStack.length-1;M>=0;M--){var oe=this.scopeStack[M];if(oe.inClassFieldInit||256&oe.flags)return!1;if(2&oe.flags)return(4&oe.flags)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},Ze.allowSuper.get=function(){var M=this.currentThisScope(),oe=M.flags,Re=M.inClassFieldInit;return(64&oe)>0||Re||this.options.allowSuperOutsideMethod},Ze.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},Ze.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Ze.allowNewDotTarget.get=function(){var M=this.currentThisScope(),oe=M.flags,Re=M.inClassFieldInit;return(258&oe)>0||Re},Ze.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},ot.extend=function(){for(var M=[],oe=arguments.length;oe--;)M[oe]=arguments[oe];for(var Re=this,Xe=0;Xe<M.length;Xe++)Re=M[Xe](Re);return Re},ot.parse=function(M,oe){return new this(oe,M).parse()},ot.parseExpressionAt=function(M,oe,Re){var Xe=new this(Re,M,oe);return Xe.nextToken(),Xe.parseExpression()},ot.tokenizer=function(M,oe){return new this(oe,M)},Object.defineProperties(ot.prototype,Ze);var Pe=ot.prototype,Qe=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Pe.strictDirective=function(M){if(this.options.ecmaVersion<5)return!1;for(;;){$e.lastIndex=M,M+=$e.exec(this.input)[0].length;var oe=Qe.exec(this.input.slice(M));if(!oe)return!1;if((oe[1]||oe[2])==="use strict"){$e.lastIndex=M+oe[0].length;var Re=$e.exec(this.input),Xe=Re.index+Re[0].length,lt=this.input.charAt(Xe);return lt===";"||lt==="}"||fe.test(Re[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(lt)||lt==="!"&&this.input.charAt(Xe+1)==="=")}M+=oe[0].length,$e.lastIndex=M,M+=$e.exec(this.input)[0].length,this.input[M]===";"&&M++}},Pe.eat=function(M){return this.type===M&&(this.next(),!0)},Pe.isContextual=function(M){return this.type===re.name&&this.value===M&&!this.containsEsc},Pe.eatContextual=function(M){return!!this.isContextual(M)&&(this.next(),!0)},Pe.expectContextual=function(M){this.eatContextual(M)||this.unexpected()},Pe.canInsertSemicolon=function(){return this.type===re.eof||this.type===re.braceR||fe.test(this.input.slice(this.lastTokEnd,this.start))},Pe.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Pe.semicolon=function(){this.eat(re.semi)||this.insertSemicolon()||this.unexpected()},Pe.afterTrailingComma=function(M,oe){if(this.type===M)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),oe||this.next(),!0},Pe.expect=function(M){this.eat(M)||this.unexpected()},Pe.unexpected=function(M){this.raise(M??this.start,"Unexpected token")};var Ge=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Pe.checkPatternErrors=function(M,oe){if(M){M.trailingComma>-1&&this.raiseRecoverable(M.trailingComma,"Comma is not permitted after the rest element");var Re=oe?M.parenthesizedAssign:M.parenthesizedBind;Re>-1&&this.raiseRecoverable(Re,oe?"Assigning to rvalue":"Parenthesized pattern")}},Pe.checkExpressionErrors=function(M,oe){if(!M)return!1;var Re=M.shorthandAssign,Xe=M.doubleProto;if(!oe)return Re>=0||Xe>=0;Re>=0&&this.raise(Re,"Shorthand property assignments are valid only in destructuring patterns"),Xe>=0&&this.raiseRecoverable(Xe,"Redefinition of __proto__ property")},Pe.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Pe.isSimpleAssignTarget=function(M){return M.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(M.expression):M.type==="Identifier"||M.type==="MemberExpression"};var we=ot.prototype;we.parseTopLevel=function(M){var oe=Object.create(null);for(M.body||(M.body=[]);this.type!==re.eof;){var Re=this.parseStatement(null,!0,oe);M.body.push(Re)}if(this.inModule)for(var Xe=0,lt=Object.keys(this.undefinedExports);Xe<lt.length;Xe+=1){var vt=lt[Xe];this.raiseRecoverable(this.undefinedExports[vt].start,"Export '"+vt+"' is not defined")}return this.adaptDirectivePrologue(M.body),this.next(),M.sourceType=this.options.sourceType,this.finishNode(M,"Program")};var Ne={kind:"loop"},ht={kind:"switch"};we.isLet=function(M){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;$e.lastIndex=this.pos;var oe=$e.exec(this.input),Re=this.pos+oe[0].length,Xe=this.input.charCodeAt(Re);if(Xe===91||Xe===92)return!0;if(M)return!1;if(Xe===123||Xe>55295&&Xe<56320)return!0;if(be(Xe,!0)){for(var lt=Re+1;Ve(Xe=this.input.charCodeAt(lt),!0);)++lt;if(Xe===92||Xe>55295&&Xe<56320)return!0;var vt=this.input.slice(Re,lt);if(!z.test(vt))return!0}return!1},we.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;$e.lastIndex=this.pos;var M,oe=$e.exec(this.input),Re=this.pos+oe[0].length;return!(fe.test(this.input.slice(this.pos,Re))||this.input.slice(Re,Re+8)!=="function"||Re+8!==this.input.length&&(Ve(M=this.input.charCodeAt(Re+8))||M>55295&&M<56320))},we.parseStatement=function(M,oe,Re){var Xe,lt=this.type,vt=this.startNode();switch(this.isLet(M)&&(lt=re._var,Xe="let"),lt){case re._break:case re._continue:return this.parseBreakContinueStatement(vt,lt.keyword);case re._debugger:return this.parseDebuggerStatement(vt);case re._do:return this.parseDoStatement(vt);case re._for:return this.parseForStatement(vt);case re._function:return M&&(this.strict||M!=="if"&&M!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(vt,!1,!M);case re._class:return M&&this.unexpected(),this.parseClass(vt,!0);case re._if:return this.parseIfStatement(vt);case re._return:return this.parseReturnStatement(vt);case re._switch:return this.parseSwitchStatement(vt);case re._throw:return this.parseThrowStatement(vt);case re._try:return this.parseTryStatement(vt);case re._const:case re._var:return Xe=Xe||this.value,M&&Xe!=="var"&&this.unexpected(),this.parseVarStatement(vt,Xe);case re._while:return this.parseWhileStatement(vt);case re._with:return this.parseWithStatement(vt);case re.braceL:return this.parseBlock(!0,vt);case re.semi:return this.parseEmptyStatement(vt);case re._export:case re._import:if(this.options.ecmaVersion>10&<===re._import){$e.lastIndex=this.pos;var Mt=$e.exec(this.input),Qt=this.pos+Mt[0].length,jr=this.input.charCodeAt(Qt);if(jr===40||jr===46)return this.parseExpressionStatement(vt,this.parseExpression())}return this.options.allowImportExportEverywhere||(oe||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),lt===re._import?this.parseImport(vt):this.parseExport(vt,Re);default:if(this.isAsyncFunction())return M&&this.unexpected(),this.next(),this.parseFunctionStatement(vt,!0,!M);var un=this.value,gn=this.parseExpression();return lt===re.name&&gn.type==="Identifier"&&this.eat(re.colon)?this.parseLabeledStatement(vt,un,gn,M):this.parseExpressionStatement(vt,gn)}},we.parseBreakContinueStatement=function(M,oe){var Re=oe==="break";this.next(),this.eat(re.semi)||this.insertSemicolon()?M.label=null:this.type!==re.name?this.unexpected():(M.label=this.parseIdent(),this.semicolon());for(var Xe=0;Xe<this.labels.length;++Xe){var lt=this.labels[Xe];if((M.label==null||lt.name===M.label.name)&&(lt.kind!=null&&(Re||lt.kind==="loop")||M.label&&Re))break}return Xe===this.labels.length&&this.raise(M.start,"Unsyntactic "+oe),this.finishNode(M,Re?"BreakStatement":"ContinueStatement")},we.parseDebuggerStatement=function(M){return this.next(),this.semicolon(),this.finishNode(M,"DebuggerStatement")},we.parseDoStatement=function(M){return this.next(),this.labels.push(Ne),M.body=this.parseStatement("do"),this.labels.pop(),this.expect(re._while),M.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(re.semi):this.semicolon(),this.finishNode(M,"DoWhileStatement")},we.parseForStatement=function(M){this.next();var oe=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Ne),this.enterScope(0),this.expect(re.parenL),this.type===re.semi)return oe>-1&&this.unexpected(oe),this.parseFor(M,null);var Re=this.isLet();if(this.type===re._var||this.type===re._const||Re){var Xe=this.startNode(),lt=Re?"let":this.value;return this.next(),this.parseVar(Xe,!0,lt),this.finishNode(Xe,"VariableDeclaration"),(this.type===re._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&Xe.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===re._in?oe>-1&&this.unexpected(oe):M.await=oe>-1),this.parseForIn(M,Xe)):(oe>-1&&this.unexpected(oe),this.parseFor(M,Xe))}var vt=this.isContextual("let"),Mt=!1,Qt=this.containsEsc,jr=new Ge,un=this.start,gn=oe>-1?this.parseExprSubscripts(jr,"await"):this.parseExpression(!0,jr);return this.type===re._in||(Mt=this.options.ecmaVersion>=6&&this.isContextual("of"))?(oe>-1?(this.type===re._in&&this.unexpected(oe),M.await=!0):Mt&&this.options.ecmaVersion>=8&&(gn.start!==un||Qt||gn.type!=="Identifier"||gn.name!=="async"?this.options.ecmaVersion>=9&&(M.await=!1):this.unexpected()),vt&&Mt&&this.raise(gn.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(gn,!1,jr),this.checkLValPattern(gn),this.parseForIn(M,gn)):(this.checkExpressionErrors(jr,!0),oe>-1&&this.unexpected(oe),this.parseFor(M,gn))},we.parseFunctionStatement=function(M,oe,Re){return this.next(),this.parseFunction(M,Tt|(Re?0:Ot),!1,oe)},we.parseIfStatement=function(M){return this.next(),M.test=this.parseParenExpression(),M.consequent=this.parseStatement("if"),M.alternate=this.eat(re._else)?this.parseStatement("if"):null,this.finishNode(M,"IfStatement")},we.parseReturnStatement=function(M){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(re.semi)||this.insertSemicolon()?M.argument=null:(M.argument=this.parseExpression(),this.semicolon()),this.finishNode(M,"ReturnStatement")},we.parseSwitchStatement=function(M){var oe;this.next(),M.discriminant=this.parseParenExpression(),M.cases=[],this.expect(re.braceL),this.labels.push(ht),this.enterScope(0);for(var Re=!1;this.type!==re.braceR;)if(this.type===re._case||this.type===re._default){var Xe=this.type===re._case;oe&&this.finishNode(oe,"SwitchCase"),M.cases.push(oe=this.startNode()),oe.consequent=[],this.next(),Xe?oe.test=this.parseExpression():(Re&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),Re=!0,oe.test=null),this.expect(re.colon)}else oe||this.unexpected(),oe.consequent.push(this.parseStatement(null));return this.exitScope(),oe&&this.finishNode(oe,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(M,"SwitchStatement")},we.parseThrowStatement=function(M){return this.next(),fe.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),M.argument=this.parseExpression(),this.semicolon(),this.finishNode(M,"ThrowStatement")};var it=[];we.parseCatchClauseParam=function(){var M=this.parseBindingAtom(),oe=M.type==="Identifier";return this.enterScope(oe?32:0),this.checkLValPattern(M,oe?4:2),this.expect(re.parenR),M},we.parseTryStatement=function(M){if(this.next(),M.block=this.parseBlock(),M.handler=null,this.type===re._catch){var oe=this.startNode();this.next(),this.eat(re.parenL)?oe.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),oe.param=null,this.enterScope(0)),oe.body=this.parseBlock(!1),this.exitScope(),M.handler=this.finishNode(oe,"CatchClause")}return M.finalizer=this.eat(re._finally)?this.parseBlock():null,M.handler||M.finalizer||this.raise(M.start,"Missing catch or finally clause"),this.finishNode(M,"TryStatement")},we.parseVarStatement=function(M,oe,Re){return this.next(),this.parseVar(M,!1,oe,Re),this.semicolon(),this.finishNode(M,"VariableDeclaration")},we.parseWhileStatement=function(M){return this.next(),M.test=this.parseParenExpression(),this.labels.push(Ne),M.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(M,"WhileStatement")},we.parseWithStatement=function(M){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),M.object=this.parseParenExpression(),M.body=this.parseStatement("with"),this.finishNode(M,"WithStatement")},we.parseEmptyStatement=function(M){return this.next(),this.finishNode(M,"EmptyStatement")},we.parseLabeledStatement=function(M,oe,Re,Xe){for(var lt=0,vt=this.labels;lt<vt.length;lt+=1)vt[lt].name===oe&&this.raise(Re.start,"Label '"+oe+"' is already declared");for(var Mt=this.type.isLoop?"loop":this.type===re._switch?"switch":null,Qt=this.labels.length-1;Qt>=0;Qt--){var jr=this.labels[Qt];if(jr.statementStart!==M.start)break;jr.statementStart=this.start,jr.kind=Mt}return this.labels.push({name:oe,kind:Mt,statementStart:this.start}),M.body=this.parseStatement(Xe?Xe.indexOf("label")===-1?Xe+"label":Xe:"label"),this.labels.pop(),M.label=Re,this.finishNode(M,"LabeledStatement")},we.parseExpressionStatement=function(M,oe){return M.expression=oe,this.semicolon(),this.finishNode(M,"ExpressionStatement")},we.parseBlock=function(M,oe,Re){for(M===void 0&&(M=!0),oe===void 0&&(oe=this.startNode()),oe.body=[],this.expect(re.braceL),M&&this.enterScope(0);this.type!==re.braceR;){var Xe=this.parseStatement(null);oe.body.push(Xe)}return Re&&(this.strict=!1),this.next(),M&&this.exitScope(),this.finishNode(oe,"BlockStatement")},we.parseFor=function(M,oe){return M.init=oe,this.expect(re.semi),M.test=this.type===re.semi?null:this.parseExpression(),this.expect(re.semi),M.update=this.type===re.parenR?null:this.parseExpression(),this.expect(re.parenR),M.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(M,"ForStatement")},we.parseForIn=function(M,oe){var Re=this.type===re._in;return this.next(),oe.type==="VariableDeclaration"&&oe.declarations[0].init!=null&&(!Re||this.options.ecmaVersion<8||this.strict||oe.kind!=="var"||oe.declarations[0].id.type!=="Identifier")&&this.raise(oe.start,(Re?"for-in":"for-of")+" loop variable declaration may not have an initializer"),M.left=oe,M.right=Re?this.parseExpression():this.parseMaybeAssign(),this.expect(re.parenR),M.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(M,Re?"ForInStatement":"ForOfStatement")},we.parseVar=function(M,oe,Re,Xe){for(M.declarations=[],M.kind=Re;;){var lt=this.startNode();if(this.parseVarId(lt,Re),this.eat(re.eq)?lt.init=this.parseMaybeAssign(oe):Xe||Re!=="const"||this.type===re._in||this.options.ecmaVersion>=6&&this.isContextual("of")?Xe||lt.id.type==="Identifier"||oe&&(this.type===re._in||this.isContextual("of"))?lt.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),M.declarations.push(this.finishNode(lt,"VariableDeclarator")),!this.eat(re.comma))break}return M},we.parseVarId=function(M,oe){M.id=this.parseBindingAtom(),this.checkLValPattern(M.id,oe==="var"?1:2,!1)};var Tt=1,Ot=2;function Pt(M,oe){var Re=oe.key.name,Xe=M[Re],lt="true";return oe.type!=="MethodDefinition"||oe.kind!=="get"&&oe.kind!=="set"||(lt=(oe.static?"s":"i")+oe.kind),Xe==="iget"&<==="iset"||Xe==="iset"&<==="iget"||Xe==="sget"&<==="sset"||Xe==="sset"&<==="sget"?(M[Re]="true",!1):!!Xe||(M[Re]=lt,!1)}function Ir(M,oe){var Re=M.computed,Xe=M.key;return!Re&&(Xe.type==="Identifier"&&Xe.name===oe||Xe.type==="Literal"&&Xe.value===oe)}we.parseFunction=function(M,oe,Re,Xe,lt){this.initFunction(M),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!Xe)&&(this.type===re.star&&oe&Ot&&this.unexpected(),M.generator=this.eat(re.star)),this.options.ecmaVersion>=8&&(M.async=!!Xe),oe&Tt&&(M.id=4&oe&&this.type!==re.name?null:this.parseIdent(),!M.id||oe&Ot||this.checkLValSimple(M.id,this.strict||M.generator||M.async?this.treatFunctionsAsVar?1:2:3));var vt=this.yieldPos,Mt=this.awaitPos,Qt=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(qe(M.async,M.generator)),oe&Tt||(M.id=this.type===re.name?this.parseIdent():null),this.parseFunctionParams(M),this.parseFunctionBody(M,Re,!1,lt),this.yieldPos=vt,this.awaitPos=Mt,this.awaitIdentPos=Qt,this.finishNode(M,oe&Tt?"FunctionDeclaration":"FunctionExpression")},we.parseFunctionParams=function(M){this.expect(re.parenL),M.params=this.parseBindingList(re.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},we.parseClass=function(M,oe){this.next();var Re=this.strict;this.strict=!0,this.parseClassId(M,oe),this.parseClassSuper(M);var Xe=this.enterClassBody(),lt=this.startNode(),vt=!1;for(lt.body=[],this.expect(re.braceL);this.type!==re.braceR;){var Mt=this.parseClassElement(M.superClass!==null);Mt&&(lt.body.push(Mt),Mt.type==="MethodDefinition"&&Mt.kind==="constructor"?(vt&&this.raiseRecoverable(Mt.start,"Duplicate constructor in the same class"),vt=!0):Mt.key&&Mt.key.type==="PrivateIdentifier"&&Pt(Xe,Mt)&&this.raiseRecoverable(Mt.key.start,"Identifier '#"+Mt.key.name+"' has already been declared"))}return this.strict=Re,this.next(),M.body=this.finishNode(lt,"ClassBody"),this.exitClassBody(),this.finishNode(M,oe?"ClassDeclaration":"ClassExpression")},we.parseClassElement=function(M){if(this.eat(re.semi))return null;var oe=this.options.ecmaVersion,Re=this.startNode(),Xe="",lt=!1,vt=!1,Mt="method",Qt=!1;if(this.eatContextual("static")){if(oe>=13&&this.eat(re.braceL))return this.parseClassStaticBlock(Re),Re;this.isClassElementNameStart()||this.type===re.star?Qt=!0:Xe="static"}if(Re.static=Qt,!Xe&&oe>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==re.star||this.canInsertSemicolon()?Xe="async":vt=!0),!Xe&&(oe>=9||!vt)&&this.eat(re.star)&&(lt=!0),!Xe&&!vt&&!lt){var jr=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?Mt=jr:Xe=jr)}if(Xe?(Re.computed=!1,Re.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),Re.key.name=Xe,this.finishNode(Re.key,"Identifier")):this.parseClassElementName(Re),oe<13||this.type===re.parenL||Mt!=="method"||lt||vt){var un=!Re.static&&Ir(Re,"constructor"),gn=un&&M;un&&Mt!=="method"&&this.raise(Re.key.start,"Constructor can't have get/set modifier"),Re.kind=un?"constructor":Mt,this.parseClassMethod(Re,lt,vt,gn)}else this.parseClassField(Re);return Re},we.isClassElementNameStart=function(){return this.type===re.name||this.type===re.privateId||this.type===re.num||this.type===re.string||this.type===re.bracketL||this.type.keyword},we.parseClassElementName=function(M){this.type===re.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),M.computed=!1,M.key=this.parsePrivateIdent()):this.parsePropertyName(M)},we.parseClassMethod=function(M,oe,Re,Xe){var lt=M.key;M.kind==="constructor"?(oe&&this.raise(lt.start,"Constructor can't be a generator"),Re&&this.raise(lt.start,"Constructor can't be an async method")):M.static&&Ir(M,"prototype")&&this.raise(lt.start,"Classes may not have a static property named prototype");var vt=M.value=this.parseMethod(oe,Re,Xe);return M.kind==="get"&&vt.params.length!==0&&this.raiseRecoverable(vt.start,"getter should have no params"),M.kind==="set"&&vt.params.length!==1&&this.raiseRecoverable(vt.start,"setter should have exactly one param"),M.kind==="set"&&vt.params[0].type==="RestElement"&&this.raiseRecoverable(vt.params[0].start,"Setter cannot use rest params"),this.finishNode(M,"MethodDefinition")},we.parseClassField=function(M){if(Ir(M,"constructor")?this.raise(M.key.start,"Classes can't have a field named 'constructor'"):M.static&&Ir(M,"prototype")&&this.raise(M.key.start,"Classes can't have a static field named 'prototype'"),this.eat(re.eq)){var oe=this.currentThisScope(),Re=oe.inClassFieldInit;oe.inClassFieldInit=!0,M.value=this.parseMaybeAssign(),oe.inClassFieldInit=Re}else M.value=null;return this.semicolon(),this.finishNode(M,"PropertyDefinition")},we.parseClassStaticBlock=function(M){M.body=[];var oe=this.labels;for(this.labels=[],this.enterScope(320);this.type!==re.braceR;){var Re=this.parseStatement(null);M.body.push(Re)}return this.next(),this.exitScope(),this.labels=oe,this.finishNode(M,"StaticBlock")},we.parseClassId=function(M,oe){this.type===re.name?(M.id=this.parseIdent(),oe&&this.checkLValSimple(M.id,2,!1)):(oe===!0&&this.unexpected(),M.id=null)},we.parseClassSuper=function(M){M.superClass=this.eat(re._extends)?this.parseExprSubscripts(null,!1):null},we.enterClassBody=function(){var M={declared:Object.create(null),used:[]};return this.privateNameStack.push(M),M.declared},we.exitClassBody=function(){var M=this.privateNameStack.pop(),oe=M.declared,Re=M.used;if(this.options.checkPrivateFields)for(var Xe=this.privateNameStack.length,lt=Xe===0?null:this.privateNameStack[Xe-1],vt=0;vt<Re.length;++vt){var Mt=Re[vt];pe(oe,Mt.name)||(lt?lt.used.push(Mt):this.raiseRecoverable(Mt.start,"Private field '#"+Mt.name+"' must be declared in an enclosing class"))}},we.parseExportAllDeclaration=function(M,oe){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(M.exported=this.parseModuleExportName(),this.checkExport(oe,M.exported,this.lastTokStart)):M.exported=null),this.expectContextual("from"),this.type!==re.string&&this.unexpected(),M.source=this.parseExprAtom(),this.semicolon(),this.finishNode(M,"ExportAllDeclaration")},we.parseExport=function(M,oe){if(this.next(),this.eat(re.star))return this.parseExportAllDeclaration(M,oe);if(this.eat(re._default))return this.checkExport(oe,"default",this.lastTokStart),M.declaration=this.parseExportDefaultDeclaration(),this.finishNode(M,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())M.declaration=this.parseExportDeclaration(M),M.declaration.type==="VariableDeclaration"?this.checkVariableExport(oe,M.declaration.declarations):this.checkExport(oe,M.declaration.id,M.declaration.id.start),M.specifiers=[],M.source=null;else{if(M.declaration=null,M.specifiers=this.parseExportSpecifiers(oe),this.eatContextual("from"))this.type!==re.string&&this.unexpected(),M.source=this.parseExprAtom();else{for(var Re=0,Xe=M.specifiers;Re<Xe.length;Re+=1){var lt=Xe[Re];this.checkUnreserved(lt.local),this.checkLocalExport(lt.local),lt.local.type==="Literal"&&this.raise(lt.local.start,"A string literal cannot be used as an exported binding without `from`.")}M.source=null}this.semicolon()}return this.finishNode(M,"ExportNamedDeclaration")},we.parseExportDeclaration=function(M){return this.parseStatement(null)},we.parseExportDefaultDeclaration=function(){var M;if(this.type===re._function||(M=this.isAsyncFunction())){var oe=this.startNode();return this.next(),M&&this.next(),this.parseFunction(oe,4|Tt,!1,M)}if(this.type===re._class){var Re=this.startNode();return this.parseClass(Re,"nullableID")}var Xe=this.parseMaybeAssign();return this.semicolon(),Xe},we.checkExport=function(M,oe,Re){M&&(typeof oe!="string"&&(oe=oe.type==="Identifier"?oe.name:oe.value),pe(M,oe)&&this.raiseRecoverable(Re,"Duplicate export '"+oe+"'"),M[oe]=!0)},we.checkPatternExport=function(M,oe){var Re=oe.type;if(Re==="Identifier")this.checkExport(M,oe,oe.start);else if(Re==="ObjectPattern")for(var Xe=0,lt=oe.properties;Xe<lt.length;Xe+=1){var vt=lt[Xe];this.checkPatternExport(M,vt)}else if(Re==="ArrayPattern")for(var Mt=0,Qt=oe.elements;Mt<Qt.length;Mt+=1){var jr=Qt[Mt];jr&&this.checkPatternExport(M,jr)}else Re==="Property"?this.checkPatternExport(M,oe.value):Re==="AssignmentPattern"?this.checkPatternExport(M,oe.left):Re==="RestElement"&&this.checkPatternExport(M,oe.argument)},we.checkVariableExport=function(M,oe){if(M)for(var Re=0,Xe=oe;Re<Xe.length;Re+=1){var lt=Xe[Re];this.checkPatternExport(M,lt.id)}},we.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},we.parseExportSpecifier=function(M){var oe=this.startNode();return oe.local=this.parseModuleExportName(),oe.exported=this.eatContextual("as")?this.parseModuleExportName():oe.local,this.checkExport(M,oe.exported,oe.exported.start),this.finishNode(oe,"ExportSpecifier")},we.parseExportSpecifiers=function(M){var oe=[],Re=!0;for(this.expect(re.braceL);!this.eat(re.braceR);){if(Re)Re=!1;else if(this.expect(re.comma),this.afterTrailingComma(re.braceR))break;oe.push(this.parseExportSpecifier(M))}return oe},we.parseImport=function(M){return this.next(),this.type===re.string?(M.specifiers=it,M.source=this.parseExprAtom()):(M.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),M.source=this.type===re.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(M,"ImportDeclaration")},we.parseImportSpecifier=function(){var M=this.startNode();return M.imported=this.parseModuleExportName(),this.eatContextual("as")?M.local=this.parseIdent():(this.checkUnreserved(M.imported),M.local=M.imported),this.checkLValSimple(M.local,2),this.finishNode(M,"ImportSpecifier")},we.parseImportDefaultSpecifier=function(){var M=this.startNode();return M.local=this.parseIdent(),this.checkLValSimple(M.local,2),this.finishNode(M,"ImportDefaultSpecifier")},we.parseImportNamespaceSpecifier=function(){var M=this.startNode();return this.next(),this.expectContextual("as"),M.local=this.parseIdent(),this.checkLValSimple(M.local,2),this.finishNode(M,"ImportNamespaceSpecifier")},we.parseImportSpecifiers=function(){var M=[],oe=!0;if(this.type===re.name&&(M.push(this.parseImportDefaultSpecifier()),!this.eat(re.comma)))return M;if(this.type===re.star)return M.push(this.parseImportNamespaceSpecifier()),M;for(this.expect(re.braceL);!this.eat(re.braceR);){if(oe)oe=!1;else if(this.expect(re.comma),this.afterTrailingComma(re.braceR))break;M.push(this.parseImportSpecifier())}return M},we.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===re.string){var M=this.parseLiteral(this.value);return We.test(M.value)&&this.raise(M.start,"An export name cannot include a lone surrogate."),M}return this.parseIdent(!0)},we.adaptDirectivePrologue=function(M){for(var oe=0;oe<M.length&&this.isDirectiveCandidate(M[oe]);++oe)M[oe].directive=M[oe].expression.raw.slice(1,-1)},we.isDirectiveCandidate=function(M){return this.options.ecmaVersion>=5&&M.type==="ExpressionStatement"&&M.expression.type==="Literal"&&typeof M.expression.value=="string"&&(this.input[M.start]==='"'||this.input[M.start]==="'")};var Lr=ot.prototype;Lr.toAssignable=function(M,oe,Re){if(this.options.ecmaVersion>=6&&M)switch(M.type){case"Identifier":this.inAsync&&M.name==="await"&&this.raise(M.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":M.type="ObjectPattern",Re&&this.checkPatternErrors(Re,!0);for(var Xe=0,lt=M.properties;Xe<lt.length;Xe+=1){var vt=lt[Xe];this.toAssignable(vt,oe),vt.type!=="RestElement"||vt.argument.type!=="ArrayPattern"&&vt.argument.type!=="ObjectPattern"||this.raise(vt.argument.start,"Unexpected token")}break;case"Property":M.kind!=="init"&&this.raise(M.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(M.value,oe);break;case"ArrayExpression":M.type="ArrayPattern",Re&&this.checkPatternErrors(Re,!0),this.toAssignableList(M.elements,oe);break;case"SpreadElement":M.type="RestElement",this.toAssignable(M.argument,oe),M.argument.type==="AssignmentPattern"&&this.raise(M.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":M.operator!=="="&&this.raise(M.left.end,"Only '=' operator can be used for specifying default value."),M.type="AssignmentPattern",delete M.operator,this.toAssignable(M.left,oe);break;case"ParenthesizedExpression":this.toAssignable(M.expression,oe,Re);break;case"ChainExpression":this.raiseRecoverable(M.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!oe)break;default:this.raise(M.start,"Assigning to rvalue")}else Re&&this.checkPatternErrors(Re,!0);return M},Lr.toAssignableList=function(M,oe){for(var Re=M.length,Xe=0;Xe<Re;Xe++){var lt=M[Xe];lt&&this.toAssignable(lt,oe)}if(Re){var vt=M[Re-1];this.options.ecmaVersion===6&&oe&&vt&&vt.type==="RestElement"&&vt.argument.type!=="Identifier"&&this.unexpected(vt.argument.start)}return M},Lr.parseSpread=function(M){var oe=this.startNode();return this.next(),oe.argument=this.parseMaybeAssign(!1,M),this.finishNode(oe,"SpreadElement")},Lr.parseRestBinding=function(){var M=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==re.name&&this.unexpected(),M.argument=this.parseBindingAtom(),this.finishNode(M,"RestElement")},Lr.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case re.bracketL:var M=this.startNode();return this.next(),M.elements=this.parseBindingList(re.bracketR,!0,!0),this.finishNode(M,"ArrayPattern");case re.braceL:return this.parseObj(!0)}return this.parseIdent()},Lr.parseBindingList=function(M,oe,Re,Xe){for(var lt=[],vt=!0;!this.eat(M);)if(vt?vt=!1:this.expect(re.comma),oe&&this.type===re.comma)lt.push(null);else{if(Re&&this.afterTrailingComma(M))break;if(this.type===re.ellipsis){var Mt=this.parseRestBinding();this.parseBindingListItem(Mt),lt.push(Mt),this.type===re.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(M);break}lt.push(this.parseAssignableListItem(Xe))}return lt},Lr.parseAssignableListItem=function(M){var oe=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(oe),oe},Lr.parseBindingListItem=function(M){return M},Lr.parseMaybeDefault=function(M,oe,Re){if(Re=Re||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(re.eq))return Re;var Xe=this.startNodeAt(M,oe);return Xe.left=Re,Xe.right=this.parseMaybeAssign(),this.finishNode(Xe,"AssignmentPattern")},Lr.checkLValSimple=function(M,oe,Re){oe===void 0&&(oe=0);var Xe=oe!==0;switch(M.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(M.name)&&this.raiseRecoverable(M.start,(Xe?"Binding ":"Assigning to ")+M.name+" in strict mode"),Xe&&(oe===2&&M.name==="let"&&this.raiseRecoverable(M.start,"let is disallowed as a lexically bound name"),Re&&(pe(Re,M.name)&&this.raiseRecoverable(M.start,"Argument name clash"),Re[M.name]=!0),oe!==5&&this.declareName(M.name,oe,M.start));break;case"ChainExpression":this.raiseRecoverable(M.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":Xe&&this.raiseRecoverable(M.start,"Binding member expression");break;case"ParenthesizedExpression":return Xe&&this.raiseRecoverable(M.start,"Binding parenthesized expression"),this.checkLValSimple(M.expression,oe,Re);default:this.raise(M.start,(Xe?"Binding":"Assigning to")+" rvalue")}},Lr.checkLValPattern=function(M,oe,Re){switch(oe===void 0&&(oe=0),M.type){case"ObjectPattern":for(var Xe=0,lt=M.properties;Xe<lt.length;Xe+=1){var vt=lt[Xe];this.checkLValInnerPattern(vt,oe,Re)}break;case"ArrayPattern":for(var Mt=0,Qt=M.elements;Mt<Qt.length;Mt+=1){var jr=Qt[Mt];jr&&this.checkLValInnerPattern(jr,oe,Re)}break;default:this.checkLValSimple(M,oe,Re)}},Lr.checkLValInnerPattern=function(M,oe,Re){switch(oe===void 0&&(oe=0),M.type){case"Property":this.checkLValInnerPattern(M.value,oe,Re);break;case"AssignmentPattern":this.checkLValPattern(M.left,oe,Re);break;case"RestElement":this.checkLValPattern(M.argument,oe,Re);break;default:this.checkLValPattern(M,oe,Re)}};var _n=function(M,oe,Re,Xe,lt){this.token=M,this.isExpr=!!oe,this.preserveSpace=!!Re,this.override=Xe,this.generator=!!lt},_r={b_stat:new _n("{",!1),b_expr:new _n("{",!0),b_tmpl:new _n("${",!1),p_stat:new _n("(",!1),p_expr:new _n("(",!0),q_tmpl:new _n("`",!0,!0,function(M){return M.tryReadTemplateToken()}),f_stat:new _n("function",!1),f_expr:new _n("function",!0),f_expr_gen:new _n("function",!0,!1,null,!0),f_gen:new _n("function",!1,!1,null,!0)},bn=ot.prototype;bn.initialContext=function(){return[_r.b_stat]},bn.curContext=function(){return this.context[this.context.length-1]},bn.braceIsBlock=function(M){var oe=this.curContext();return oe===_r.f_expr||oe===_r.f_stat||(M!==re.colon||oe!==_r.b_stat&&oe!==_r.b_expr?M===re._return||M===re.name&&this.exprAllowed?fe.test(this.input.slice(this.lastTokEnd,this.start)):M===re._else||M===re.semi||M===re.eof||M===re.parenR||M===re.arrow||(M===re.braceL?oe===_r.b_stat:M!==re._var&&M!==re._const&&M!==re.name&&!this.exprAllowed):!oe.isExpr)},bn.inGeneratorContext=function(){for(var M=this.context.length-1;M>=1;M--){var oe=this.context[M];if(oe.token==="function")return oe.generator}return!1},bn.updateContext=function(M){var oe,Re=this.type;Re.keyword&&M===re.dot?this.exprAllowed=!1:(oe=Re.updateContext)?oe.call(this,M):this.exprAllowed=Re.beforeExpr},bn.overrideContext=function(M){this.curContext()!==M&&(this.context[this.context.length-1]=M)},re.parenR.updateContext=re.braceR.updateContext=function(){if(this.context.length!==1){var M=this.context.pop();M===_r.b_stat&&this.curContext().token==="function"&&(M=this.context.pop()),this.exprAllowed=!M.isExpr}else this.exprAllowed=!0},re.braceL.updateContext=function(M){this.context.push(this.braceIsBlock(M)?_r.b_stat:_r.b_expr),this.exprAllowed=!0},re.dollarBraceL.updateContext=function(){this.context.push(_r.b_tmpl),this.exprAllowed=!0},re.parenL.updateContext=function(M){var oe=M===re._if||M===re._for||M===re._with||M===re._while;this.context.push(oe?_r.p_stat:_r.p_expr),this.exprAllowed=!0},re.incDec.updateContext=function(){},re._function.updateContext=re._class.updateContext=function(M){!M.beforeExpr||M===re._else||M===re.semi&&this.curContext()!==_r.p_stat||M===re._return&&fe.test(this.input.slice(this.lastTokEnd,this.start))||(M===re.colon||M===re.braceL)&&this.curContext()===_r.b_stat?this.context.push(_r.f_stat):this.context.push(_r.f_expr),this.exprAllowed=!1},re.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},re.backQuote.updateContext=function(){this.curContext()===_r.q_tmpl?this.context.pop():this.context.push(_r.q_tmpl),this.exprAllowed=!1},re.star.updateContext=function(M){if(M===re._function){var oe=this.context.length-1;this.context[oe]===_r.f_expr?this.context[oe]=_r.f_expr_gen:this.context[oe]=_r.f_gen}this.exprAllowed=!0},re.name.updateContext=function(M){var oe=!1;this.options.ecmaVersion>=6&&M!==re.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(oe=!0),this.exprAllowed=oe};var wr=ot.prototype;function on(M){return M.type==="Identifier"||M.type==="ParenthesizedExpression"&&on(M.expression)}function Cn(M){return M.type==="MemberExpression"&&M.property.type==="PrivateIdentifier"||M.type==="ChainExpression"&&Cn(M.expression)||M.type==="ParenthesizedExpression"&&Cn(M.expression)}wr.checkPropClash=function(M,oe,Re){if(!(this.options.ecmaVersion>=9&&M.type==="SpreadElement"||this.options.ecmaVersion>=6&&(M.computed||M.method||M.shorthand))){var Xe,lt=M.key;switch(lt.type){case"Identifier":Xe=lt.name;break;case"Literal":Xe=String(lt.value);break;default:return}var vt=M.kind;if(this.options.ecmaVersion>=6)Xe==="__proto__"&&vt==="init"&&(oe.proto&&(Re?Re.doubleProto<0&&(Re.doubleProto=lt.start):this.raiseRecoverable(lt.start,"Redefinition of __proto__ property")),oe.proto=!0);else{var Mt=oe[Xe="$"+Xe];Mt?(vt==="init"?this.strict&&Mt.init||Mt.get||Mt.set:Mt.init||Mt[vt])&&this.raiseRecoverable(lt.start,"Redefinition of property"):Mt=oe[Xe]={init:!1,get:!1,set:!1},Mt[vt]=!0}}},wr.parseExpression=function(M,oe){var Re=this.start,Xe=this.startLoc,lt=this.parseMaybeAssign(M,oe);if(this.type===re.comma){var vt=this.startNodeAt(Re,Xe);for(vt.expressions=[lt];this.eat(re.comma);)vt.expressions.push(this.parseMaybeAssign(M,oe));return this.finishNode(vt,"SequenceExpression")}return lt},wr.parseMaybeAssign=function(M,oe,Re){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(M);this.exprAllowed=!1}var Xe=!1,lt=-1,vt=-1,Mt=-1;oe?(lt=oe.parenthesizedAssign,vt=oe.trailingComma,Mt=oe.doubleProto,oe.parenthesizedAssign=oe.trailingComma=-1):(oe=new Ge,Xe=!0);var Qt=this.start,jr=this.startLoc;this.type!==re.parenL&&this.type!==re.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=M==="await");var un=this.parseMaybeConditional(M,oe);if(Re&&(un=Re.call(this,un,Qt,jr)),this.type.isAssign){var gn=this.startNodeAt(Qt,jr);return gn.operator=this.value,this.type===re.eq&&(un=this.toAssignable(un,!1,oe)),Xe||(oe.parenthesizedAssign=oe.trailingComma=oe.doubleProto=-1),oe.shorthandAssign>=un.start&&(oe.shorthandAssign=-1),this.type===re.eq?this.checkLValPattern(un):this.checkLValSimple(un),gn.left=un,this.next(),gn.right=this.parseMaybeAssign(M),Mt>-1&&(oe.doubleProto=Mt),this.finishNode(gn,"AssignmentExpression")}return Xe&&this.checkExpressionErrors(oe,!0),lt>-1&&(oe.parenthesizedAssign=lt),vt>-1&&(oe.trailingComma=vt),un},wr.parseMaybeConditional=function(M,oe){var Re=this.start,Xe=this.startLoc,lt=this.parseExprOps(M,oe);if(this.checkExpressionErrors(oe))return lt;if(this.eat(re.question)){var vt=this.startNodeAt(Re,Xe);return vt.test=lt,vt.consequent=this.parseMaybeAssign(),this.expect(re.colon),vt.alternate=this.parseMaybeAssign(M),this.finishNode(vt,"ConditionalExpression")}return lt},wr.parseExprOps=function(M,oe){var Re=this.start,Xe=this.startLoc,lt=this.parseMaybeUnary(oe,!1,!1,M);return this.checkExpressionErrors(oe)||lt.start===Re&<.type==="ArrowFunctionExpression"?lt:this.parseExprOp(lt,Re,Xe,-1,M)},wr.parseExprOp=function(M,oe,Re,Xe,lt){var vt=this.type.binop;if(vt!=null&&(!lt||this.type!==re._in)&&vt>Xe){var Mt=this.type===re.logicalOR||this.type===re.logicalAND,Qt=this.type===re.coalesce;Qt&&(vt=re.logicalAND.binop);var jr=this.value;this.next();var un=this.start,gn=this.startLoc,Ti=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,lt),un,gn,vt,lt),ma=this.buildBinary(oe,Re,M,Ti,jr,Mt||Qt);return(Mt&&this.type===re.coalesce||Qt&&(this.type===re.logicalOR||this.type===re.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(ma,oe,Re,Xe,lt)}return M},wr.buildBinary=function(M,oe,Re,Xe,lt,vt){Xe.type==="PrivateIdentifier"&&this.raise(Xe.start,"Private identifier can only be left side of binary expression");var Mt=this.startNodeAt(M,oe);return Mt.left=Re,Mt.operator=lt,Mt.right=Xe,this.finishNode(Mt,vt?"LogicalExpression":"BinaryExpression")},wr.parseMaybeUnary=function(M,oe,Re,Xe){var lt,vt=this.start,Mt=this.startLoc;if(this.isContextual("await")&&this.canAwait)lt=this.parseAwait(Xe),oe=!0;else if(this.type.prefix){var Qt=this.startNode(),jr=this.type===re.incDec;Qt.operator=this.value,Qt.prefix=!0,this.next(),Qt.argument=this.parseMaybeUnary(null,!0,jr,Xe),this.checkExpressionErrors(M,!0),jr?this.checkLValSimple(Qt.argument):this.strict&&Qt.operator==="delete"&&on(Qt.argument)?this.raiseRecoverable(Qt.start,"Deleting local variable in strict mode"):Qt.operator==="delete"&&Cn(Qt.argument)?this.raiseRecoverable(Qt.start,"Private fields can not be deleted"):oe=!0,lt=this.finishNode(Qt,jr?"UpdateExpression":"UnaryExpression")}else if(oe||this.type!==re.privateId){if(lt=this.parseExprSubscripts(M,Xe),this.checkExpressionErrors(M))return lt;for(;this.type.postfix&&!this.canInsertSemicolon();){var un=this.startNodeAt(vt,Mt);un.operator=this.value,un.prefix=!1,un.argument=lt,this.checkLValSimple(lt),this.next(),lt=this.finishNode(un,"UpdateExpression")}}else(Xe||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),lt=this.parsePrivateIdent(),this.type!==re._in&&this.unexpected();return Re||!this.eat(re.starstar)?lt:oe?void this.unexpected(this.lastTokStart):this.buildBinary(vt,Mt,lt,this.parseMaybeUnary(null,!1,!1,Xe),"**",!1)},wr.parseExprSubscripts=function(M,oe){var Re=this.start,Xe=this.startLoc,lt=this.parseExprAtom(M,oe);if(lt.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return lt;var vt=this.parseSubscripts(lt,Re,Xe,!1,oe);return M&&vt.type==="MemberExpression"&&(M.parenthesizedAssign>=vt.start&&(M.parenthesizedAssign=-1),M.parenthesizedBind>=vt.start&&(M.parenthesizedBind=-1),M.trailingComma>=vt.start&&(M.trailingComma=-1)),vt},wr.parseSubscripts=function(M,oe,Re,Xe,lt){for(var vt=this.options.ecmaVersion>=8&&M.type==="Identifier"&&M.name==="async"&&this.lastTokEnd===M.end&&!this.canInsertSemicolon()&&M.end-M.start==5&&this.potentialArrowAt===M.start,Mt=!1;;){var Qt=this.parseSubscript(M,oe,Re,Xe,vt,Mt,lt);if(Qt.optional&&(Mt=!0),Qt===M||Qt.type==="ArrowFunctionExpression"){if(Mt){var jr=this.startNodeAt(oe,Re);jr.expression=Qt,Qt=this.finishNode(jr,"ChainExpression")}return Qt}M=Qt}},wr.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(re.arrow)},wr.parseSubscriptAsyncArrow=function(M,oe,Re,Xe){return this.parseArrowExpression(this.startNodeAt(M,oe),Re,!0,Xe)},wr.parseSubscript=function(M,oe,Re,Xe,lt,vt,Mt){var Qt=this.options.ecmaVersion>=11,jr=Qt&&this.eat(re.questionDot);Xe&&jr&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var un=this.eat(re.bracketL);if(un||jr&&this.type!==re.parenL&&this.type!==re.backQuote||this.eat(re.dot)){var gn=this.startNodeAt(oe,Re);gn.object=M,un?(gn.property=this.parseExpression(),this.expect(re.bracketR)):this.type===re.privateId&&M.type!=="Super"?gn.property=this.parsePrivateIdent():gn.property=this.parseIdent(this.options.allowReserved!=="never"),gn.computed=!!un,Qt&&(gn.optional=jr),M=this.finishNode(gn,"MemberExpression")}else if(!Xe&&this.eat(re.parenL)){var Ti=new Ge,ma=this.yieldPos,Gs=this.awaitPos,oo=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var $o=this.parseExprList(re.parenR,this.options.ecmaVersion>=8,!1,Ti);if(lt&&!jr&&this.shouldParseAsyncArrow())return this.checkPatternErrors(Ti,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=ma,this.awaitPos=Gs,this.awaitIdentPos=oo,this.parseSubscriptAsyncArrow(oe,Re,$o,Mt);this.checkExpressionErrors(Ti,!0),this.yieldPos=ma||this.yieldPos,this.awaitPos=Gs||this.awaitPos,this.awaitIdentPos=oo||this.awaitIdentPos;var Ea=this.startNodeAt(oe,Re);Ea.callee=M,Ea.arguments=$o,Qt&&(Ea.optional=jr),M=this.finishNode(Ea,"CallExpression")}else if(this.type===re.backQuote){(jr||vt)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var zo=this.startNodeAt(oe,Re);zo.tag=M,zo.quasi=this.parseTemplate({isTagged:!0}),M=this.finishNode(zo,"TaggedTemplateExpression")}return M},wr.parseExprAtom=function(M,oe,Re){this.type===re.slash&&this.readRegexp();var Xe,lt=this.potentialArrowAt===this.start;switch(this.type){case re._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),Xe=this.startNode(),this.next(),this.type!==re.parenL||this.allowDirectSuper||this.raise(Xe.start,"super() call outside constructor of a subclass"),this.type!==re.dot&&this.type!==re.bracketL&&this.type!==re.parenL&&this.unexpected(),this.finishNode(Xe,"Super");case re._this:return Xe=this.startNode(),this.next(),this.finishNode(Xe,"ThisExpression");case re.name:var vt=this.start,Mt=this.startLoc,Qt=this.containsEsc,jr=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!Qt&&jr.name==="async"&&!this.canInsertSemicolon()&&this.eat(re._function))return this.overrideContext(_r.f_expr),this.parseFunction(this.startNodeAt(vt,Mt),0,!1,!0,oe);if(lt&&!this.canInsertSemicolon()){if(this.eat(re.arrow))return this.parseArrowExpression(this.startNodeAt(vt,Mt),[jr],!1,oe);if(this.options.ecmaVersion>=8&&jr.name==="async"&&this.type===re.name&&!Qt&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return jr=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(re.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(vt,Mt),[jr],!0,oe)}return jr;case re.regexp:var un=this.value;return(Xe=this.parseLiteral(un.value)).regex={pattern:un.pattern,flags:un.flags},Xe;case re.num:case re.string:return this.parseLiteral(this.value);case re._null:case re._true:case re._false:return(Xe=this.startNode()).value=this.type===re._null?null:this.type===re._true,Xe.raw=this.type.keyword,this.next(),this.finishNode(Xe,"Literal");case re.parenL:var gn=this.start,Ti=this.parseParenAndDistinguishExpression(lt,oe);return M&&(M.parenthesizedAssign<0&&!this.isSimpleAssignTarget(Ti)&&(M.parenthesizedAssign=gn),M.parenthesizedBind<0&&(M.parenthesizedBind=gn)),Ti;case re.bracketL:return Xe=this.startNode(),this.next(),Xe.elements=this.parseExprList(re.bracketR,!0,!0,M),this.finishNode(Xe,"ArrayExpression");case re.braceL:return this.overrideContext(_r.b_expr),this.parseObj(!1,M);case re._function:return Xe=this.startNode(),this.next(),this.parseFunction(Xe,0);case re._class:return this.parseClass(this.startNode(),!1);case re._new:return this.parseNew();case re.backQuote:return this.parseTemplate();case re._import:return this.options.ecmaVersion>=11?this.parseExprImport(Re):this.unexpected();default:return this.parseExprAtomDefault()}},wr.parseExprAtomDefault=function(){this.unexpected()},wr.parseExprImport=function(M){var oe=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===re.parenL&&!M)return this.parseDynamicImport(oe);if(this.type===re.dot){var Re=this.startNodeAt(oe.start,oe.loc&&oe.loc.start);return Re.name="import",oe.meta=this.finishNode(Re,"Identifier"),this.parseImportMeta(oe)}this.unexpected()},wr.parseDynamicImport=function(M){if(this.next(),M.source=this.parseMaybeAssign(),!this.eat(re.parenR)){var oe=this.start;this.eat(re.comma)&&this.eat(re.parenR)?this.raiseRecoverable(oe,"Trailing comma is not allowed in import()"):this.unexpected(oe)}return this.finishNode(M,"ImportExpression")},wr.parseImportMeta=function(M){this.next();var oe=this.containsEsc;return M.property=this.parseIdent(!0),M.property.name!=="meta"&&this.raiseRecoverable(M.property.start,"The only valid meta property for import is 'import.meta'"),oe&&this.raiseRecoverable(M.start,"'import.meta' must not contain escaped characters"),this.options.sourceType==="module"||this.options.allowImportExportEverywhere||this.raiseRecoverable(M.start,"Cannot use 'import.meta' outside a module"),this.finishNode(M,"MetaProperty")},wr.parseLiteral=function(M){var oe=this.startNode();return oe.value=M,oe.raw=this.input.slice(this.start,this.end),oe.raw.charCodeAt(oe.raw.length-1)===110&&(oe.bigint=oe.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(oe,"Literal")},wr.parseParenExpression=function(){this.expect(re.parenL);var M=this.parseExpression();return this.expect(re.parenR),M},wr.shouldParseArrow=function(M){return!this.canInsertSemicolon()},wr.parseParenAndDistinguishExpression=function(M,oe){var Re,Xe=this.start,lt=this.startLoc,vt=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var Mt,Qt=this.start,jr=this.startLoc,un=[],gn=!0,Ti=!1,ma=new Ge,Gs=this.yieldPos,oo=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==re.parenR;){if(gn?gn=!1:this.expect(re.comma),vt&&this.afterTrailingComma(re.parenR,!0)){Ti=!0;break}if(this.type===re.ellipsis){Mt=this.start,un.push(this.parseParenItem(this.parseRestBinding())),this.type===re.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}un.push(this.parseMaybeAssign(!1,ma,this.parseParenItem))}var $o=this.lastTokEnd,Ea=this.lastTokEndLoc;if(this.expect(re.parenR),M&&this.shouldParseArrow(un)&&this.eat(re.arrow))return this.checkPatternErrors(ma,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Gs,this.awaitPos=oo,this.parseParenArrowList(Xe,lt,un,oe);un.length&&!Ti||this.unexpected(this.lastTokStart),Mt&&this.unexpected(Mt),this.checkExpressionErrors(ma,!0),this.yieldPos=Gs||this.yieldPos,this.awaitPos=oo||this.awaitPos,un.length>1?((Re=this.startNodeAt(Qt,jr)).expressions=un,this.finishNodeAt(Re,"SequenceExpression",$o,Ea)):Re=un[0]}else Re=this.parseParenExpression();if(this.options.preserveParens){var zo=this.startNodeAt(Xe,lt);return zo.expression=Re,this.finishNode(zo,"ParenthesizedExpression")}return Re},wr.parseParenItem=function(M){return M},wr.parseParenArrowList=function(M,oe,Re,Xe){return this.parseArrowExpression(this.startNodeAt(M,oe),Re,!1,Xe)};var Jr=[];wr.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var M=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===re.dot){var oe=this.startNodeAt(M.start,M.loc&&M.loc.start);oe.name="new",M.meta=this.finishNode(oe,"Identifier"),this.next();var Re=this.containsEsc;return M.property=this.parseIdent(!0),M.property.name!=="target"&&this.raiseRecoverable(M.property.start,"The only valid meta property for new is 'new.target'"),Re&&this.raiseRecoverable(M.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(M.start,"'new.target' can only be used in functions and class static block"),this.finishNode(M,"MetaProperty")}var Xe=this.start,lt=this.startLoc;return M.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),Xe,lt,!0,!1),this.eat(re.parenL)?M.arguments=this.parseExprList(re.parenR,this.options.ecmaVersion>=8,!1):M.arguments=Jr,this.finishNode(M,"NewExpression")},wr.parseTemplateElement=function(M){var oe=M.isTagged,Re=this.startNode();return this.type===re.invalidTemplate?(oe||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),Re.value={raw:this.value.replace(/\r\n?/g,`
|
|
`),cooked:null}):Re.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
`),cooked:this.value},this.next(),Re.tail=this.type===re.backQuote,this.finishNode(Re,"TemplateElement")},wr.parseTemplate=function(M){M===void 0&&(M={});var oe=M.isTagged;oe===void 0&&(oe=!1);var Re=this.startNode();this.next(),Re.expressions=[];var Xe=this.parseTemplateElement({isTagged:oe});for(Re.quasis=[Xe];!Xe.tail;)this.type===re.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(re.dollarBraceL),Re.expressions.push(this.parseExpression()),this.expect(re.braceR),Re.quasis.push(Xe=this.parseTemplateElement({isTagged:oe}));return this.next(),this.finishNode(Re,"TemplateLiteral")},wr.isAsyncProp=function(M){return!M.computed&&M.key.type==="Identifier"&&M.key.name==="async"&&(this.type===re.name||this.type===re.num||this.type===re.string||this.type===re.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===re.star)&&!fe.test(this.input.slice(this.lastTokEnd,this.start))},wr.parseObj=function(M,oe){var Re=this.startNode(),Xe=!0,lt={};for(Re.properties=[],this.next();!this.eat(re.braceR);){if(Xe)Xe=!1;else if(this.expect(re.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(re.braceR))break;var vt=this.parseProperty(M,oe);M||this.checkPropClash(vt,lt,oe),Re.properties.push(vt)}return this.finishNode(Re,M?"ObjectPattern":"ObjectExpression")},wr.parseProperty=function(M,oe){var Re,Xe,lt,vt,Mt=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(re.ellipsis))return M?(Mt.argument=this.parseIdent(!1),this.type===re.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(Mt,"RestElement")):(Mt.argument=this.parseMaybeAssign(!1,oe),this.type===re.comma&&oe&&oe.trailingComma<0&&(oe.trailingComma=this.start),this.finishNode(Mt,"SpreadElement"));this.options.ecmaVersion>=6&&(Mt.method=!1,Mt.shorthand=!1,(M||oe)&&(lt=this.start,vt=this.startLoc),M||(Re=this.eat(re.star)));var Qt=this.containsEsc;return this.parsePropertyName(Mt),!M&&!Qt&&this.options.ecmaVersion>=8&&!Re&&this.isAsyncProp(Mt)?(Xe=!0,Re=this.options.ecmaVersion>=9&&this.eat(re.star),this.parsePropertyName(Mt)):Xe=!1,this.parsePropertyValue(Mt,M,Re,Xe,lt,vt,oe,Qt),this.finishNode(Mt,"Property")},wr.parseGetterSetter=function(M){M.kind=M.key.name,this.parsePropertyName(M),M.value=this.parseMethod(!1);var oe=M.kind==="get"?0:1;if(M.value.params.length!==oe){var Re=M.value.start;M.kind==="get"?this.raiseRecoverable(Re,"getter should have no params"):this.raiseRecoverable(Re,"setter should have exactly one param")}else M.kind==="set"&&M.value.params[0].type==="RestElement"&&this.raiseRecoverable(M.value.params[0].start,"Setter cannot use rest params")},wr.parsePropertyValue=function(M,oe,Re,Xe,lt,vt,Mt,Qt){(Re||Xe)&&this.type===re.colon&&this.unexpected(),this.eat(re.colon)?(M.value=oe?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,Mt),M.kind="init"):this.options.ecmaVersion>=6&&this.type===re.parenL?(oe&&this.unexpected(),M.kind="init",M.method=!0,M.value=this.parseMethod(Re,Xe)):oe||Qt||!(this.options.ecmaVersion>=5)||M.computed||M.key.type!=="Identifier"||M.key.name!=="get"&&M.key.name!=="set"||this.type===re.comma||this.type===re.braceR||this.type===re.eq?this.options.ecmaVersion>=6&&!M.computed&&M.key.type==="Identifier"?((Re||Xe)&&this.unexpected(),this.checkUnreserved(M.key),M.key.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=lt),M.kind="init",oe?M.value=this.parseMaybeDefault(lt,vt,this.copyNode(M.key)):this.type===re.eq&&Mt?(Mt.shorthandAssign<0&&(Mt.shorthandAssign=this.start),M.value=this.parseMaybeDefault(lt,vt,this.copyNode(M.key))):M.value=this.copyNode(M.key),M.shorthand=!0):this.unexpected():((Re||Xe)&&this.unexpected(),this.parseGetterSetter(M))},wr.parsePropertyName=function(M){if(this.options.ecmaVersion>=6){if(this.eat(re.bracketL))return M.computed=!0,M.key=this.parseMaybeAssign(),this.expect(re.bracketR),M.key;M.computed=!1}return M.key=this.type===re.num||this.type===re.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},wr.initFunction=function(M){M.id=null,this.options.ecmaVersion>=6&&(M.generator=M.expression=!1),this.options.ecmaVersion>=8&&(M.async=!1)},wr.parseMethod=function(M,oe,Re){var Xe=this.startNode(),lt=this.yieldPos,vt=this.awaitPos,Mt=this.awaitIdentPos;return this.initFunction(Xe),this.options.ecmaVersion>=6&&(Xe.generator=M),this.options.ecmaVersion>=8&&(Xe.async=!!oe),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|qe(oe,Xe.generator)|(Re?128:0)),this.expect(re.parenL),Xe.params=this.parseBindingList(re.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(Xe,!1,!0,!1),this.yieldPos=lt,this.awaitPos=vt,this.awaitIdentPos=Mt,this.finishNode(Xe,"FunctionExpression")},wr.parseArrowExpression=function(M,oe,Re,Xe){var lt=this.yieldPos,vt=this.awaitPos,Mt=this.awaitIdentPos;return this.enterScope(16|qe(Re,!1)),this.initFunction(M),this.options.ecmaVersion>=8&&(M.async=!!Re),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,M.params=this.toAssignableList(oe,!0),this.parseFunctionBody(M,!0,!1,Xe),this.yieldPos=lt,this.awaitPos=vt,this.awaitIdentPos=Mt,this.finishNode(M,"ArrowFunctionExpression")},wr.parseFunctionBody=function(M,oe,Re,Xe){var lt=oe&&this.type!==re.braceL,vt=this.strict,Mt=!1;if(lt)M.body=this.parseMaybeAssign(Xe),M.expression=!0,this.checkParams(M,!1);else{var Qt=this.options.ecmaVersion>=7&&!this.isSimpleParamList(M.params);vt&&!Qt||(Mt=this.strictDirective(this.end))&&Qt&&this.raiseRecoverable(M.start,"Illegal 'use strict' directive in function with non-simple parameter list");var jr=this.labels;this.labels=[],Mt&&(this.strict=!0),this.checkParams(M,!vt&&!Mt&&!oe&&!Re&&this.isSimpleParamList(M.params)),this.strict&&M.id&&this.checkLValSimple(M.id,5),M.body=this.parseBlock(!1,void 0,Mt&&!vt),M.expression=!1,this.adaptDirectivePrologue(M.body.body),this.labels=jr}this.exitScope()},wr.isSimpleParamList=function(M){for(var oe=0,Re=M;oe<Re.length;oe+=1)if(Re[oe].type!=="Identifier")return!1;return!0},wr.checkParams=function(M,oe){for(var Re=Object.create(null),Xe=0,lt=M.params;Xe<lt.length;Xe+=1){var vt=lt[Xe];this.checkLValInnerPattern(vt,1,oe?null:Re)}},wr.parseExprList=function(M,oe,Re,Xe){for(var lt=[],vt=!0;!this.eat(M);){if(vt)vt=!1;else if(this.expect(re.comma),oe&&this.afterTrailingComma(M))break;var Mt=void 0;Re&&this.type===re.comma?Mt=null:this.type===re.ellipsis?(Mt=this.parseSpread(Xe),Xe&&this.type===re.comma&&Xe.trailingComma<0&&(Xe.trailingComma=this.start)):Mt=this.parseMaybeAssign(!1,Xe),lt.push(Mt)}return lt},wr.checkUnreserved=function(M){var oe=M.start,Re=M.end,Xe=M.name;this.inGenerator&&Xe==="yield"&&this.raiseRecoverable(oe,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&Xe==="await"&&this.raiseRecoverable(oe,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&Xe==="arguments"&&this.raiseRecoverable(oe,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||Xe!=="arguments"&&Xe!=="await"||this.raise(oe,"Cannot use "+Xe+" in class static initialization block"),this.keywords.test(Xe)&&this.raise(oe,"Unexpected keyword '"+Xe+"'"),this.options.ecmaVersion<6&&this.input.slice(oe,Re).indexOf("\\")!==-1||(this.strict?this.reservedWordsStrict:this.reservedWords).test(Xe)&&(this.inAsync||Xe!=="await"||this.raiseRecoverable(oe,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(oe,"The keyword '"+Xe+"' is reserved"))},wr.parseIdent=function(M){var oe=this.parseIdentNode();return this.next(!!M),this.finishNode(oe,"Identifier"),M||(this.checkUnreserved(oe),oe.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=oe.start)),oe},wr.parseIdentNode=function(){var M=this.startNode();return this.type===re.name?M.name=this.value:this.type.keyword?(M.name=this.type.keyword,M.name!=="class"&&M.name!=="function"||this.lastTokEnd===this.lastTokStart+1&&this.input.charCodeAt(this.lastTokStart)===46||this.context.pop(),this.type=re.name):this.unexpected(),M},wr.parsePrivateIdent=function(){var M=this.startNode();return this.type===re.privateId?M.name=this.value:this.unexpected(),this.next(),this.finishNode(M,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(M.start,"Private field '#"+M.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(M)),M},wr.parseYield=function(M){this.yieldPos||(this.yieldPos=this.start);var oe=this.startNode();return this.next(),this.type===re.semi||this.canInsertSemicolon()||this.type!==re.star&&!this.type.startsExpr?(oe.delegate=!1,oe.argument=null):(oe.delegate=this.eat(re.star),oe.argument=this.parseMaybeAssign(M)),this.finishNode(oe,"YieldExpression")},wr.parseAwait=function(M){this.awaitPos||(this.awaitPos=this.start);var oe=this.startNode();return this.next(),oe.argument=this.parseMaybeUnary(null,!0,!1,M),this.finishNode(oe,"AwaitExpression")};var Di=ot.prototype;Di.raise=function(M,oe){var Re=At(this.input,M);oe+=" ("+Re.line+":"+Re.column+")";var Xe=new SyntaxError(oe);throw Xe.pos=M,Xe.loc=Re,Xe.raisedAt=this.pos,Xe},Di.raiseRecoverable=Di.raise,Di.curPosition=function(){if(this.options.locations)return new tt(this.curLine,this.pos-this.lineStart)};var Gi=ot.prototype,mn=function(M){this.flags=M,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};Gi.enterScope=function(M){this.scopeStack.push(new mn(M))},Gi.exitScope=function(){this.scopeStack.pop()},Gi.treatFunctionsAsVarInScope=function(M){return 2&M.flags||!this.inModule&&1&M.flags},Gi.declareName=function(M,oe,Re){var Xe=!1;if(oe===2){var lt=this.currentScope();Xe=lt.lexical.indexOf(M)>-1||lt.functions.indexOf(M)>-1||lt.var.indexOf(M)>-1,lt.lexical.push(M),this.inModule&&1<.flags&&delete this.undefinedExports[M]}else if(oe===4)this.currentScope().lexical.push(M);else if(oe===3){var vt=this.currentScope();Xe=this.treatFunctionsAsVar?vt.lexical.indexOf(M)>-1:vt.lexical.indexOf(M)>-1||vt.var.indexOf(M)>-1,vt.functions.push(M)}else for(var Mt=this.scopeStack.length-1;Mt>=0;--Mt){var Qt=this.scopeStack[Mt];if(Qt.lexical.indexOf(M)>-1&&!(32&Qt.flags&&Qt.lexical[0]===M)||!this.treatFunctionsAsVarInScope(Qt)&&Qt.functions.indexOf(M)>-1){Xe=!0;break}if(Qt.var.push(M),this.inModule&&1&Qt.flags&&delete this.undefinedExports[M],259&Qt.flags)break}Xe&&this.raiseRecoverable(Re,"Identifier '"+M+"' has already been declared")},Gi.checkLocalExport=function(M){this.scopeStack[0].lexical.indexOf(M.name)===-1&&this.scopeStack[0].var.indexOf(M.name)===-1&&(this.undefinedExports[M.name]=M)},Gi.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Gi.currentVarScope=function(){for(var M=this.scopeStack.length-1;;M--){var oe=this.scopeStack[M];if(259&oe.flags)return oe}},Gi.currentThisScope=function(){for(var M=this.scopeStack.length-1;;M--){var oe=this.scopeStack[M];if(259&oe.flags&&!(16&oe.flags))return oe}};var Li=function(M,oe,Re){this.type="",this.start=oe,this.end=0,M.options.locations&&(this.loc=new mt(M,Re)),M.options.directSourceFile&&(this.sourceFile=M.options.directSourceFile),M.options.ranges&&(this.range=[oe,0])},us=ot.prototype;function Ni(M,oe,Re,Xe){return M.type=oe,M.end=Re,this.options.locations&&(M.loc.end=Xe),this.options.ranges&&(M.range[1]=Re),M}us.startNode=function(){return new Li(this,this.start,this.startLoc)},us.startNodeAt=function(M,oe){return new Li(this,M,oe)},us.finishNode=function(M,oe){return Ni.call(this,M,oe,this.lastTokEnd,this.lastTokEndLoc)},us.finishNodeAt=function(M,oe,Re,Xe){return Ni.call(this,M,oe,Re,Xe)},us.copyNode=function(M){var oe=new Li(this,M.start,this.startLoc);for(var Re in M)oe[Re]=M[Re];return oe};var xn="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ii=xn+" Extended_Pictographic",ts=ii+" EBase EComp EMod EPres ExtPict",Pn={9:xn,10:ii,11:ii,12:ts,13:ts,14:ts},si={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},Vs="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Oi="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Ls=Oi+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Fi=Ls+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",qr=Fi+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Mr=qr+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",rs={9:Oi,10:Ls,11:Fi,12:qr,13:Mr,14:Mr+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz"},Br={};function Rs(M){var oe=Br[M]={binary:Ae(Pn[M]+" "+Vs),binaryOfStrings:Ae(si[M]),nonBinary:{General_Category:Ae(Vs),Script:Ae(rs[M])}};oe.nonBinary.Script_Extensions=oe.nonBinary.Script,oe.nonBinary.gc=oe.nonBinary.General_Category,oe.nonBinary.sc=oe.nonBinary.Script,oe.nonBinary.scx=oe.nonBinary.Script_Extensions}for(var Xi=0,ns=[9,10,11,12,13,14];Xi<ns.length;Xi+=1)Rs(ns[Xi]);var vr=ot.prototype,Yt=function(M,oe){this.parent=M,this.base=oe||this};Yt.prototype.separatedFrom=function(M){for(var oe=this;oe;oe=oe.parent)for(var Re=M;Re;Re=Re.parent)if(oe.base===Re.base&&oe!==Re)return!0;return!1},Yt.prototype.sibling=function(){return new Yt(this.parent,this.base)};var ft=function(M){this.parser=M,this.validFlags="gim"+(M.options.ecmaVersion>=6?"uy":"")+(M.options.ecmaVersion>=9?"s":"")+(M.options.ecmaVersion>=13?"d":"")+(M.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Br[M.options.ecmaVersion>=14?14:M.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};function wt(M){return M===36||M>=40&&M<=43||M===46||M===63||M>=91&&M<=94||M>=123&&M<=125}function Vt(M){return M>=65&&M<=90||M>=97&&M<=122}ft.prototype.reset=function(M,oe,Re){var Xe=Re.indexOf("v")!==-1,lt=Re.indexOf("u")!==-1;this.start=0|M,this.source=oe+"",this.flags=Re,Xe&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=lt&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=lt&&this.parser.options.ecmaVersion>=9)},ft.prototype.raise=function(M){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+M)},ft.prototype.at=function(M,oe){oe===void 0&&(oe=!1);var Re=this.source,Xe=Re.length;if(M>=Xe)return-1;var lt=Re.charCodeAt(M);if(!oe&&!this.switchU||lt<=55295||lt>=57344||M+1>=Xe)return lt;var vt=Re.charCodeAt(M+1);return vt>=56320&&vt<=57343?(lt<<10)+vt-56613888:lt},ft.prototype.nextIndex=function(M,oe){oe===void 0&&(oe=!1);var Re=this.source,Xe=Re.length;if(M>=Xe)return Xe;var lt,vt=Re.charCodeAt(M);return!oe&&!this.switchU||vt<=55295||vt>=57344||M+1>=Xe||(lt=Re.charCodeAt(M+1))<56320||lt>57343?M+1:M+2},ft.prototype.current=function(M){return M===void 0&&(M=!1),this.at(this.pos,M)},ft.prototype.lookahead=function(M){return M===void 0&&(M=!1),this.at(this.nextIndex(this.pos,M),M)},ft.prototype.advance=function(M){M===void 0&&(M=!1),this.pos=this.nextIndex(this.pos,M)},ft.prototype.eat=function(M,oe){return oe===void 0&&(oe=!1),this.current(oe)===M&&(this.advance(oe),!0)},ft.prototype.eatChars=function(M,oe){oe===void 0&&(oe=!1);for(var Re=this.pos,Xe=0,lt=M;Xe<lt.length;Xe+=1){var vt=lt[Xe],Mt=this.at(Re,oe);if(Mt===-1||Mt!==vt)return!1;Re=this.nextIndex(Re,oe)}return this.pos=Re,!0},vr.validateRegExpFlags=function(M){for(var oe=M.validFlags,Re=M.flags,Xe=!1,lt=!1,vt=0;vt<Re.length;vt++){var Mt=Re.charAt(vt);oe.indexOf(Mt)===-1&&this.raise(M.start,"Invalid regular expression flag"),Re.indexOf(Mt,vt+1)>-1&&this.raise(M.start,"Duplicate regular expression flag"),Mt==="u"&&(Xe=!0),Mt==="v"&&(lt=!0)}this.options.ecmaVersion>=15&&Xe&<&&this.raise(M.start,"Invalid regular expression flag")},vr.validateRegExpPattern=function(M){this.regexp_pattern(M),!M.switchN&&this.options.ecmaVersion>=9&&function(oe){for(var Re in oe)return!0;return!1}(M.groupNames)&&(M.switchN=!0,this.regexp_pattern(M))},vr.regexp_pattern=function(M){M.pos=0,M.lastIntValue=0,M.lastStringValue="",M.lastAssertionIsQuantifiable=!1,M.numCapturingParens=0,M.maxBackReference=0,M.groupNames=Object.create(null),M.backReferenceNames.length=0,M.branchID=null,this.regexp_disjunction(M),M.pos!==M.source.length&&(M.eat(41)&&M.raise("Unmatched ')'"),(M.eat(93)||M.eat(125))&&M.raise("Lone quantifier brackets")),M.maxBackReference>M.numCapturingParens&&M.raise("Invalid escape");for(var oe=0,Re=M.backReferenceNames;oe<Re.length;oe+=1){var Xe=Re[oe];M.groupNames[Xe]||M.raise("Invalid named capture referenced")}},vr.regexp_disjunction=function(M){var oe=this.options.ecmaVersion>=16;for(oe&&(M.branchID=new Yt(M.branchID,null)),this.regexp_alternative(M);M.eat(124);)oe&&(M.branchID=M.branchID.sibling()),this.regexp_alternative(M);oe&&(M.branchID=M.branchID.parent),this.regexp_eatQuantifier(M,!0)&&M.raise("Nothing to repeat"),M.eat(123)&&M.raise("Lone quantifier brackets")},vr.regexp_alternative=function(M){for(;M.pos<M.source.length&&this.regexp_eatTerm(M););},vr.regexp_eatTerm=function(M){return this.regexp_eatAssertion(M)?(M.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(M)&&M.switchU&&M.raise("Invalid quantifier"),!0):!!(M.switchU?this.regexp_eatAtom(M):this.regexp_eatExtendedAtom(M))&&(this.regexp_eatQuantifier(M),!0)},vr.regexp_eatAssertion=function(M){var oe=M.pos;if(M.lastAssertionIsQuantifiable=!1,M.eat(94)||M.eat(36))return!0;if(M.eat(92)){if(M.eat(66)||M.eat(98))return!0;M.pos=oe}if(M.eat(40)&&M.eat(63)){var Re=!1;if(this.options.ecmaVersion>=9&&(Re=M.eat(60)),M.eat(61)||M.eat(33))return this.regexp_disjunction(M),M.eat(41)||M.raise("Unterminated group"),M.lastAssertionIsQuantifiable=!Re,!0}return M.pos=oe,!1},vr.regexp_eatQuantifier=function(M,oe){return oe===void 0&&(oe=!1),!!this.regexp_eatQuantifierPrefix(M,oe)&&(M.eat(63),!0)},vr.regexp_eatQuantifierPrefix=function(M,oe){return M.eat(42)||M.eat(43)||M.eat(63)||this.regexp_eatBracedQuantifier(M,oe)},vr.regexp_eatBracedQuantifier=function(M,oe){var Re=M.pos;if(M.eat(123)){var Xe=0,lt=-1;if(this.regexp_eatDecimalDigits(M)&&(Xe=M.lastIntValue,M.eat(44)&&this.regexp_eatDecimalDigits(M)&&(lt=M.lastIntValue),M.eat(125)))return lt!==-1&<<Xe&&!oe&&M.raise("numbers out of order in {} quantifier"),!0;M.switchU&&!oe&&M.raise("Incomplete quantifier"),M.pos=Re}return!1},vr.regexp_eatAtom=function(M){return this.regexp_eatPatternCharacters(M)||M.eat(46)||this.regexp_eatReverseSolidusAtomEscape(M)||this.regexp_eatCharacterClass(M)||this.regexp_eatUncapturingGroup(M)||this.regexp_eatCapturingGroup(M)},vr.regexp_eatReverseSolidusAtomEscape=function(M){var oe=M.pos;if(M.eat(92)){if(this.regexp_eatAtomEscape(M))return!0;M.pos=oe}return!1},vr.regexp_eatUncapturingGroup=function(M){var oe=M.pos;if(M.eat(40)){if(M.eat(63)&&M.eat(58)){if(this.regexp_disjunction(M),M.eat(41))return!0;M.raise("Unterminated group")}M.pos=oe}return!1},vr.regexp_eatCapturingGroup=function(M){if(M.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(M):M.current()===63&&M.raise("Invalid group"),this.regexp_disjunction(M),M.eat(41))return M.numCapturingParens+=1,!0;M.raise("Unterminated group")}return!1},vr.regexp_eatExtendedAtom=function(M){return M.eat(46)||this.regexp_eatReverseSolidusAtomEscape(M)||this.regexp_eatCharacterClass(M)||this.regexp_eatUncapturingGroup(M)||this.regexp_eatCapturingGroup(M)||this.regexp_eatInvalidBracedQuantifier(M)||this.regexp_eatExtendedPatternCharacter(M)},vr.regexp_eatInvalidBracedQuantifier=function(M){return this.regexp_eatBracedQuantifier(M,!0)&&M.raise("Nothing to repeat"),!1},vr.regexp_eatSyntaxCharacter=function(M){var oe=M.current();return!!wt(oe)&&(M.lastIntValue=oe,M.advance(),!0)},vr.regexp_eatPatternCharacters=function(M){for(var oe=M.pos,Re=0;(Re=M.current())!==-1&&!wt(Re);)M.advance();return M.pos!==oe},vr.regexp_eatExtendedPatternCharacter=function(M){var oe=M.current();return!(oe===-1||oe===36||oe>=40&&oe<=43||oe===46||oe===63||oe===91||oe===94||oe===124)&&(M.advance(),!0)},vr.regexp_groupSpecifier=function(M){if(M.eat(63)){this.regexp_eatGroupName(M)||M.raise("Invalid group");var oe=this.options.ecmaVersion>=16,Re=M.groupNames[M.lastStringValue];if(Re)if(oe)for(var Xe=0,lt=Re;Xe<lt.length;Xe+=1)lt[Xe].separatedFrom(M.branchID)||M.raise("Duplicate capture group name");else M.raise("Duplicate capture group name");oe?(Re||(M.groupNames[M.lastStringValue]=[])).push(M.branchID):M.groupNames[M.lastStringValue]=!0}},vr.regexp_eatGroupName=function(M){if(M.lastStringValue="",M.eat(60)){if(this.regexp_eatRegExpIdentifierName(M)&&M.eat(62))return!0;M.raise("Invalid capture group name")}return!1},vr.regexp_eatRegExpIdentifierName=function(M){if(M.lastStringValue="",this.regexp_eatRegExpIdentifierStart(M)){for(M.lastStringValue+=de(M.lastIntValue);this.regexp_eatRegExpIdentifierPart(M);)M.lastStringValue+=de(M.lastIntValue);return!0}return!1},vr.regexp_eatRegExpIdentifierStart=function(M){var oe=M.pos,Re=this.options.ecmaVersion>=11,Xe=M.current(Re);return M.advance(Re),Xe===92&&this.regexp_eatRegExpUnicodeEscapeSequence(M,Re)&&(Xe=M.lastIntValue),function(lt){return be(lt,!0)||lt===36||lt===95}(Xe)?(M.lastIntValue=Xe,!0):(M.pos=oe,!1)},vr.regexp_eatRegExpIdentifierPart=function(M){var oe=M.pos,Re=this.options.ecmaVersion>=11,Xe=M.current(Re);return M.advance(Re),Xe===92&&this.regexp_eatRegExpUnicodeEscapeSequence(M,Re)&&(Xe=M.lastIntValue),function(lt){return Ve(lt,!0)||lt===36||lt===95||lt===8204||lt===8205}(Xe)?(M.lastIntValue=Xe,!0):(M.pos=oe,!1)},vr.regexp_eatAtomEscape=function(M){return!!(this.regexp_eatBackReference(M)||this.regexp_eatCharacterClassEscape(M)||this.regexp_eatCharacterEscape(M)||M.switchN&&this.regexp_eatKGroupName(M))||(M.switchU&&(M.current()===99&&M.raise("Invalid unicode escape"),M.raise("Invalid escape")),!1)},vr.regexp_eatBackReference=function(M){var oe=M.pos;if(this.regexp_eatDecimalEscape(M)){var Re=M.lastIntValue;if(M.switchU)return Re>M.maxBackReference&&(M.maxBackReference=Re),!0;if(Re<=M.numCapturingParens)return!0;M.pos=oe}return!1},vr.regexp_eatKGroupName=function(M){if(M.eat(107)){if(this.regexp_eatGroupName(M))return M.backReferenceNames.push(M.lastStringValue),!0;M.raise("Invalid named reference")}return!1},vr.regexp_eatCharacterEscape=function(M){return this.regexp_eatControlEscape(M)||this.regexp_eatCControlLetter(M)||this.regexp_eatZero(M)||this.regexp_eatHexEscapeSequence(M)||this.regexp_eatRegExpUnicodeEscapeSequence(M,!1)||!M.switchU&&this.regexp_eatLegacyOctalEscapeSequence(M)||this.regexp_eatIdentityEscape(M)},vr.regexp_eatCControlLetter=function(M){var oe=M.pos;if(M.eat(99)){if(this.regexp_eatControlLetter(M))return!0;M.pos=oe}return!1},vr.regexp_eatZero=function(M){return M.current()===48&&!Bt(M.lookahead())&&(M.lastIntValue=0,M.advance(),!0)},vr.regexp_eatControlEscape=function(M){var oe=M.current();return oe===116?(M.lastIntValue=9,M.advance(),!0):oe===110?(M.lastIntValue=10,M.advance(),!0):oe===118?(M.lastIntValue=11,M.advance(),!0):oe===102?(M.lastIntValue=12,M.advance(),!0):oe===114&&(M.lastIntValue=13,M.advance(),!0)},vr.regexp_eatControlLetter=function(M){var oe=M.current();return!!Vt(oe)&&(M.lastIntValue=oe%32,M.advance(),!0)},vr.regexp_eatRegExpUnicodeEscapeSequence=function(M,oe){oe===void 0&&(oe=!1);var Re,Xe=M.pos,lt=oe||M.switchU;if(M.eat(117)){if(this.regexp_eatFixedHexDigits(M,4)){var vt=M.lastIntValue;if(lt&&vt>=55296&&vt<=56319){var Mt=M.pos;if(M.eat(92)&&M.eat(117)&&this.regexp_eatFixedHexDigits(M,4)){var Qt=M.lastIntValue;if(Qt>=56320&&Qt<=57343)return M.lastIntValue=1024*(vt-55296)+(Qt-56320)+65536,!0}M.pos=Mt,M.lastIntValue=vt}return!0}if(lt&&M.eat(123)&&this.regexp_eatHexDigits(M)&&M.eat(125)&&(Re=M.lastIntValue)>=0&&Re<=1114111)return!0;lt&&M.raise("Invalid unicode escape"),M.pos=Xe}return!1},vr.regexp_eatIdentityEscape=function(M){if(M.switchU)return!!this.regexp_eatSyntaxCharacter(M)||!!M.eat(47)&&(M.lastIntValue=47,!0);var oe=M.current();return!(oe===99||M.switchN&&oe===107)&&(M.lastIntValue=oe,M.advance(),!0)},vr.regexp_eatDecimalEscape=function(M){M.lastIntValue=0;var oe=M.current();if(oe>=49&&oe<=57){do M.lastIntValue=10*M.lastIntValue+(oe-48),M.advance();while((oe=M.current())>=48&&oe<=57);return!0}return!1};function nr(M){return Vt(M)||M===95}function Hr(M){return nr(M)||Bt(M)}function Bt(M){return M>=48&&M<=57}function zt(M){return M>=48&&M<=57||M>=65&&M<=70||M>=97&&M<=102}function jt(M){return M>=65&&M<=70?M-65+10:M>=97&&M<=102?M-97+10:M-48}function xr(M){return M>=48&&M<=55}vr.regexp_eatCharacterClassEscape=function(M){var oe=M.current();if(function(lt){return lt===100||lt===68||lt===115||lt===83||lt===119||lt===87}(oe))return M.lastIntValue=-1,M.advance(),1;var Re=!1;if(M.switchU&&this.options.ecmaVersion>=9&&((Re=oe===80)||oe===112)){var Xe;if(M.lastIntValue=-1,M.advance(),M.eat(123)&&(Xe=this.regexp_eatUnicodePropertyValueExpression(M))&&M.eat(125))return Re&&Xe===2&&M.raise("Invalid property name"),Xe;M.raise("Invalid property name")}return 0},vr.regexp_eatUnicodePropertyValueExpression=function(M){var oe=M.pos;if(this.regexp_eatUnicodePropertyName(M)&&M.eat(61)){var Re=M.lastStringValue;if(this.regexp_eatUnicodePropertyValue(M)){var Xe=M.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(M,Re,Xe),1}}if(M.pos=oe,this.regexp_eatLoneUnicodePropertyNameOrValue(M)){var lt=M.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(M,lt)}return 0},vr.regexp_validateUnicodePropertyNameAndValue=function(M,oe,Re){pe(M.unicodeProperties.nonBinary,oe)||M.raise("Invalid property name"),M.unicodeProperties.nonBinary[oe].test(Re)||M.raise("Invalid property value")},vr.regexp_validateUnicodePropertyNameOrValue=function(M,oe){return M.unicodeProperties.binary.test(oe)?1:M.switchV&&M.unicodeProperties.binaryOfStrings.test(oe)?2:void M.raise("Invalid property name")},vr.regexp_eatUnicodePropertyName=function(M){var oe=0;for(M.lastStringValue="";nr(oe=M.current());)M.lastStringValue+=de(oe),M.advance();return M.lastStringValue!==""},vr.regexp_eatUnicodePropertyValue=function(M){var oe=0;for(M.lastStringValue="";Hr(oe=M.current());)M.lastStringValue+=de(oe),M.advance();return M.lastStringValue!==""},vr.regexp_eatLoneUnicodePropertyNameOrValue=function(M){return this.regexp_eatUnicodePropertyValue(M)},vr.regexp_eatCharacterClass=function(M){if(M.eat(91)){var oe=M.eat(94),Re=this.regexp_classContents(M);return M.eat(93)||M.raise("Unterminated character class"),oe&&Re===2&&M.raise("Negated character class may contain strings"),!0}return!1},vr.regexp_classContents=function(M){return M.current()===93?1:M.switchV?this.regexp_classSetExpression(M):(this.regexp_nonEmptyClassRanges(M),1)},vr.regexp_nonEmptyClassRanges=function(M){for(;this.regexp_eatClassAtom(M);){var oe=M.lastIntValue;if(M.eat(45)&&this.regexp_eatClassAtom(M)){var Re=M.lastIntValue;!M.switchU||oe!==-1&&Re!==-1||M.raise("Invalid character class"),oe!==-1&&Re!==-1&&oe>Re&&M.raise("Range out of order in character class")}}},vr.regexp_eatClassAtom=function(M){var oe=M.pos;if(M.eat(92)){if(this.regexp_eatClassEscape(M))return!0;if(M.switchU){var Re=M.current();(Re===99||xr(Re))&&M.raise("Invalid class escape"),M.raise("Invalid escape")}M.pos=oe}var Xe=M.current();return Xe!==93&&(M.lastIntValue=Xe,M.advance(),!0)},vr.regexp_eatClassEscape=function(M){var oe=M.pos;if(M.eat(98))return M.lastIntValue=8,!0;if(M.switchU&&M.eat(45))return M.lastIntValue=45,!0;if(!M.switchU&&M.eat(99)){if(this.regexp_eatClassControlLetter(M))return!0;M.pos=oe}return this.regexp_eatCharacterClassEscape(M)||this.regexp_eatCharacterEscape(M)},vr.regexp_classSetExpression=function(M){var oe,Re=1;if(!this.regexp_eatClassSetRange(M))if(oe=this.regexp_eatClassSetOperand(M)){oe===2&&(Re=2);for(var Xe=M.pos;M.eatChars([38,38]);)M.current()!==38&&(oe=this.regexp_eatClassSetOperand(M))?oe!==2&&(Re=1):M.raise("Invalid character in character class");if(Xe!==M.pos)return Re;for(;M.eatChars([45,45]);)this.regexp_eatClassSetOperand(M)||M.raise("Invalid character in character class");if(Xe!==M.pos)return Re}else M.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(M)){if(!(oe=this.regexp_eatClassSetOperand(M)))return Re;oe===2&&(Re=2)}},vr.regexp_eatClassSetRange=function(M){var oe=M.pos;if(this.regexp_eatClassSetCharacter(M)){var Re=M.lastIntValue;if(M.eat(45)&&this.regexp_eatClassSetCharacter(M)){var Xe=M.lastIntValue;return Re!==-1&&Xe!==-1&&Re>Xe&&M.raise("Range out of order in character class"),!0}M.pos=oe}return!1},vr.regexp_eatClassSetOperand=function(M){return this.regexp_eatClassSetCharacter(M)?1:this.regexp_eatClassStringDisjunction(M)||this.regexp_eatNestedClass(M)},vr.regexp_eatNestedClass=function(M){var oe=M.pos;if(M.eat(91)){var Re=M.eat(94),Xe=this.regexp_classContents(M);if(M.eat(93))return Re&&Xe===2&&M.raise("Negated character class may contain strings"),Xe;M.pos=oe}if(M.eat(92)){var lt=this.regexp_eatCharacterClassEscape(M);if(lt)return lt;M.pos=oe}return null},vr.regexp_eatClassStringDisjunction=function(M){var oe=M.pos;if(M.eatChars([92,113])){if(M.eat(123)){var Re=this.regexp_classStringDisjunctionContents(M);if(M.eat(125))return Re}else M.raise("Invalid escape");M.pos=oe}return null},vr.regexp_classStringDisjunctionContents=function(M){for(var oe=this.regexp_classString(M);M.eat(124);)this.regexp_classString(M)===2&&(oe=2);return oe},vr.regexp_classString=function(M){for(var oe=0;this.regexp_eatClassSetCharacter(M);)oe++;return oe===1?1:2},vr.regexp_eatClassSetCharacter=function(M){var oe=M.pos;if(M.eat(92))return!(!this.regexp_eatCharacterEscape(M)&&!this.regexp_eatClassSetReservedPunctuator(M))||(M.eat(98)?(M.lastIntValue=8,!0):(M.pos=oe,!1));var Re=M.current();return!(Re<0||Re===M.lookahead()&&function(Xe){return Xe===33||Xe>=35&&Xe<=38||Xe>=42&&Xe<=44||Xe===46||Xe>=58&&Xe<=64||Xe===94||Xe===96||Xe===126}(Re))&&!function(Xe){return Xe===40||Xe===41||Xe===45||Xe===47||Xe>=91&&Xe<=93||Xe>=123&&Xe<=125}(Re)&&(M.advance(),M.lastIntValue=Re,!0)},vr.regexp_eatClassSetReservedPunctuator=function(M){var oe=M.current();return!!function(Re){return Re===33||Re===35||Re===37||Re===38||Re===44||Re===45||Re>=58&&Re<=62||Re===64||Re===96||Re===126}(oe)&&(M.lastIntValue=oe,M.advance(),!0)},vr.regexp_eatClassControlLetter=function(M){var oe=M.current();return!(!Bt(oe)&&oe!==95)&&(M.lastIntValue=oe%32,M.advance(),!0)},vr.regexp_eatHexEscapeSequence=function(M){var oe=M.pos;if(M.eat(120)){if(this.regexp_eatFixedHexDigits(M,2))return!0;M.switchU&&M.raise("Invalid escape"),M.pos=oe}return!1},vr.regexp_eatDecimalDigits=function(M){var oe=M.pos,Re=0;for(M.lastIntValue=0;Bt(Re=M.current());)M.lastIntValue=10*M.lastIntValue+(Re-48),M.advance();return M.pos!==oe},vr.regexp_eatHexDigits=function(M){var oe=M.pos,Re=0;for(M.lastIntValue=0;zt(Re=M.current());)M.lastIntValue=16*M.lastIntValue+jt(Re),M.advance();return M.pos!==oe},vr.regexp_eatLegacyOctalEscapeSequence=function(M){if(this.regexp_eatOctalDigit(M)){var oe=M.lastIntValue;if(this.regexp_eatOctalDigit(M)){var Re=M.lastIntValue;oe<=3&&this.regexp_eatOctalDigit(M)?M.lastIntValue=64*oe+8*Re+M.lastIntValue:M.lastIntValue=8*oe+Re}else M.lastIntValue=oe;return!0}return!1},vr.regexp_eatOctalDigit=function(M){var oe=M.current();return xr(oe)?(M.lastIntValue=oe-48,M.advance(),!0):(M.lastIntValue=0,!1)},vr.regexp_eatFixedHexDigits=function(M,oe){var Re=M.pos;M.lastIntValue=0;for(var Xe=0;Xe<oe;++Xe){var lt=M.current();if(!zt(lt))return M.pos=Re,!1;M.lastIntValue=16*M.lastIntValue+jt(lt),M.advance()}return!0};var Or=function(M){this.type=M.type,this.value=M.value,this.start=M.start,this.end=M.end,M.options.locations&&(this.loc=new mt(M,M.startLoc,M.endLoc)),M.options.ranges&&(this.range=[M.start,M.end])},hr=ot.prototype;function dr(M){return typeof BigInt!="function"?null:BigInt(M.replace(/_/g,""))}hr.next=function(M){!M&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Or(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},hr.getToken=function(){return this.next(),new Or(this)},typeof Symbol<"u"&&(hr[Symbol.iterator]=function(){var M=this;return{next:function(){var oe=M.getToken();return{done:oe.type===re.eof,value:oe}}}}),hr.nextToken=function(){var M=this.curContext();return M&&M.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(re.eof):M.override?M.override(this):void this.readToken(this.fullCharCodeAtPos())},hr.readToken=function(M){return be(M,this.options.ecmaVersion>=6)||M===92?this.readWord():this.getTokenFromCode(M)},hr.fullCharCodeAtPos=function(){var M=this.input.charCodeAt(this.pos);if(M<=55295||M>=56320)return M;var oe=this.input.charCodeAt(this.pos+1);return oe<=56319||oe>=57344?M:(M<<10)+oe-56613888},hr.skipBlockComment=function(){var M=this.options.onComment&&this.curPosition(),oe=this.pos,Re=this.input.indexOf("*/",this.pos+=2);if(Re===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=Re+2,this.options.locations)for(var Xe=void 0,lt=oe;(Xe=Ie(this.input,lt,this.pos))>-1;)++this.curLine,lt=this.lineStart=Xe;this.options.onComment&&this.options.onComment(!0,this.input.slice(oe+2,Re),oe,this.pos,M,this.curPosition())},hr.skipLineComment=function(M){for(var oe=this.pos,Re=this.options.onComment&&this.curPosition(),Xe=this.input.charCodeAt(this.pos+=M);this.pos<this.input.length&&!se(Xe);)Xe=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(oe+M,this.pos),oe,this.pos,Re,this.curPosition())},hr.skipSpace=function(){e:for(;this.pos<this.input.length;){var M=this.input.charCodeAt(this.pos);switch(M){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(!(M>8&&M<14||M>=5760&&ye.test(String.fromCharCode(M))))break e;++this.pos}}},hr.finishToken=function(M,oe){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var Re=this.type;this.type=M,this.value=oe,this.updateContext(Re)},hr.readToken_dot=function(){var M=this.input.charCodeAt(this.pos+1);if(M>=48&&M<=57)return this.readNumber(!0);var oe=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&M===46&&oe===46?(this.pos+=3,this.finishToken(re.ellipsis)):(++this.pos,this.finishToken(re.dot))},hr.readToken_slash=function(){var M=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):M===61?this.finishOp(re.assign,2):this.finishOp(re.slash,1)},hr.readToken_mult_modulo_exp=function(M){var oe=this.input.charCodeAt(this.pos+1),Re=1,Xe=M===42?re.star:re.modulo;return this.options.ecmaVersion>=7&&M===42&&oe===42&&(++Re,Xe=re.starstar,oe=this.input.charCodeAt(this.pos+2)),oe===61?this.finishOp(re.assign,Re+1):this.finishOp(Xe,Re)},hr.readToken_pipe_amp=function(M){var oe=this.input.charCodeAt(this.pos+1);return oe===M?this.options.ecmaVersion>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(re.assign,3):this.finishOp(M===124?re.logicalOR:re.logicalAND,2):oe===61?this.finishOp(re.assign,2):this.finishOp(M===124?re.bitwiseOR:re.bitwiseAND,1)},hr.readToken_caret=function(){return this.input.charCodeAt(this.pos+1)===61?this.finishOp(re.assign,2):this.finishOp(re.bitwiseXOR,1)},hr.readToken_plus_min=function(M){var oe=this.input.charCodeAt(this.pos+1);return oe===M?oe!==45||this.inModule||this.input.charCodeAt(this.pos+2)!==62||this.lastTokEnd!==0&&!fe.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(re.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):oe===61?this.finishOp(re.assign,2):this.finishOp(re.plusMin,1)},hr.readToken_lt_gt=function(M){var oe=this.input.charCodeAt(this.pos+1),Re=1;return oe===M?(Re=M===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+Re)===61?this.finishOp(re.assign,Re+1):this.finishOp(re.bitShift,Re)):oe!==33||M!==60||this.inModule||this.input.charCodeAt(this.pos+2)!==45||this.input.charCodeAt(this.pos+3)!==45?(oe===61&&(Re=2),this.finishOp(re.relational,Re)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},hr.readToken_eq_excl=function(M){var oe=this.input.charCodeAt(this.pos+1);return oe===61?this.finishOp(re.equality,this.input.charCodeAt(this.pos+2)===61?3:2):M===61&&oe===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(re.arrow)):this.finishOp(M===61?re.eq:re.prefix,1)},hr.readToken_question=function(){var M=this.options.ecmaVersion;if(M>=11){var oe=this.input.charCodeAt(this.pos+1);if(oe===46){var Re=this.input.charCodeAt(this.pos+2);if(Re<48||Re>57)return this.finishOp(re.questionDot,2)}if(oe===63)return M>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(re.assign,3):this.finishOp(re.coalesce,2)}return this.finishOp(re.question,1)},hr.readToken_numberSign=function(){var M=35;if(this.options.ecmaVersion>=13&&(++this.pos,be(M=this.fullCharCodeAtPos(),!0)||M===92))return this.finishToken(re.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+de(M)+"'")},hr.getTokenFromCode=function(M){switch(M){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(re.parenL);case 41:return++this.pos,this.finishToken(re.parenR);case 59:return++this.pos,this.finishToken(re.semi);case 44:return++this.pos,this.finishToken(re.comma);case 91:return++this.pos,this.finishToken(re.bracketL);case 93:return++this.pos,this.finishToken(re.bracketR);case 123:return++this.pos,this.finishToken(re.braceL);case 125:return++this.pos,this.finishToken(re.braceR);case 58:return++this.pos,this.finishToken(re.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(re.backQuote);case 48:var oe=this.input.charCodeAt(this.pos+1);if(oe===120||oe===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(oe===111||oe===79)return this.readRadixNumber(8);if(oe===98||oe===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(M);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(M);case 124:case 38:return this.readToken_pipe_amp(M);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(M);case 60:case 62:return this.readToken_lt_gt(M);case 61:case 33:return this.readToken_eq_excl(M);case 63:return this.readToken_question();case 126:return this.finishOp(re.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+de(M)+"'")},hr.finishOp=function(M,oe){var Re=this.input.slice(this.pos,this.pos+oe);return this.pos+=oe,this.finishToken(M,Re)},hr.readRegexp=function(){for(var M,oe,Re=this.pos;;){this.pos>=this.input.length&&this.raise(Re,"Unterminated regular expression");var Xe=this.input.charAt(this.pos);if(fe.test(Xe)&&this.raise(Re,"Unterminated regular expression"),M)M=!1;else{if(Xe==="[")oe=!0;else if(Xe==="]"&&oe)oe=!1;else if(Xe==="/"&&!oe)break;M=Xe==="\\"}++this.pos}var lt=this.input.slice(Re,this.pos);++this.pos;var vt=this.pos,Mt=this.readWord1();this.containsEsc&&this.unexpected(vt);var Qt=this.regexpState||(this.regexpState=new ft(this));Qt.reset(Re,lt,Mt),this.validateRegExpFlags(Qt),this.validateRegExpPattern(Qt);var jr=null;try{jr=new RegExp(lt,Mt)}catch{}return this.finishToken(re.regexp,{pattern:lt,flags:Mt,value:jr})},hr.readInt=function(M,oe,Re){for(var Xe=this.options.ecmaVersion>=12&&oe===void 0,lt=Re&&this.input.charCodeAt(this.pos)===48,vt=this.pos,Mt=0,Qt=0,jr=0,un=oe??1/0;jr<un;++jr,++this.pos){var gn=this.input.charCodeAt(this.pos),Ti=void 0;if(Xe&&gn===95)lt&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),Qt===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),jr===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),Qt=gn;else{if((Ti=gn>=97?gn-97+10:gn>=65?gn-65+10:gn>=48&&gn<=57?gn-48:1/0)>=M)break;Qt=gn,Mt=Mt*M+Ti}}return Xe&&Qt===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===vt||oe!=null&&this.pos-vt!==oe?null:Mt},hr.readRadixNumber=function(M){var oe=this.pos;this.pos+=2;var Re=this.readInt(M);return Re==null&&this.raise(this.start+2,"Expected number in radix "+M),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(Re=dr(this.input.slice(oe,this.pos)),++this.pos):be(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(re.num,Re)},hr.readNumber=function(M){var oe=this.pos;M||this.readInt(10,void 0,!0)!==null||this.raise(oe,"Invalid number");var Re=this.pos-oe>=2&&this.input.charCodeAt(oe)===48;Re&&this.strict&&this.raise(oe,"Invalid number");var Xe=this.input.charCodeAt(this.pos);if(!Re&&!M&&this.options.ecmaVersion>=11&&Xe===110){var lt=dr(this.input.slice(oe,this.pos));return++this.pos,be(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(re.num,lt)}Re&&/[89]/.test(this.input.slice(oe,this.pos))&&(Re=!1),Xe!==46||Re||(++this.pos,this.readInt(10),Xe=this.input.charCodeAt(this.pos)),Xe!==69&&Xe!==101||Re||((Xe=this.input.charCodeAt(++this.pos))!==43&&Xe!==45||++this.pos,this.readInt(10)===null&&this.raise(oe,"Invalid number")),be(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var vt,Mt=(vt=this.input.slice(oe,this.pos),Re?parseInt(vt,8):parseFloat(vt.replace(/_/g,"")));return this.finishToken(re.num,Mt)},hr.readCodePoint=function(){var M;if(this.input.charCodeAt(this.pos)===123){this.options.ecmaVersion<6&&this.unexpected();var oe=++this.pos;M=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,M>1114111&&this.invalidStringToken(oe,"Code point out of bounds")}else M=this.readHexChar(4);return M},hr.readString=function(M){for(var oe="",Re=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var Xe=this.input.charCodeAt(this.pos);if(Xe===M)break;Xe===92?(oe+=this.input.slice(Re,this.pos),oe+=this.readEscapedChar(!1),Re=this.pos):Xe===8232||Xe===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(se(Xe)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return oe+=this.input.slice(Re,this.pos++),this.finishToken(re.string,oe)};var Sn={};hr.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(M){if(M!==Sn)throw M;this.readInvalidTemplateToken()}this.inTemplateElement=!1},hr.invalidStringToken=function(M,oe){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Sn;this.raise(M,oe)},hr.readTmplToken=function(){for(var M="",oe=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var Re=this.input.charCodeAt(this.pos);if(Re===96||Re===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos!==this.start||this.type!==re.template&&this.type!==re.invalidTemplate?(M+=this.input.slice(oe,this.pos),this.finishToken(re.template,M)):Re===36?(this.pos+=2,this.finishToken(re.dollarBraceL)):(++this.pos,this.finishToken(re.backQuote));if(Re===92)M+=this.input.slice(oe,this.pos),M+=this.readEscapedChar(!0),oe=this.pos;else if(se(Re)){switch(M+=this.input.slice(oe,this.pos),++this.pos,Re){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:M+=`
|
|
`;break;default:M+=String.fromCharCode(Re)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),oe=this.pos}else++this.pos}},hr.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(re.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
|
|
`&&++this.pos;case`
|
|
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},hr.readEscapedChar=function(M){var oe=this.input.charCodeAt(++this.pos);switch(++this.pos,oe){case 110:return`
|
|
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return de(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),M){var Re=this.pos-1;this.invalidStringToken(Re,"Invalid escape sequence in template string")}default:if(oe>=48&&oe<=55){var Xe=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],lt=parseInt(Xe,8);return lt>255&&(Xe=Xe.slice(0,-1),lt=parseInt(Xe,8)),this.pos+=Xe.length-1,oe=this.input.charCodeAt(this.pos),Xe==="0"&&oe!==56&&oe!==57||!this.strict&&!M||this.invalidStringToken(this.pos-1-Xe.length,M?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(lt)}return se(oe)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(oe)}},hr.readHexChar=function(M){var oe=this.pos,Re=this.readInt(16,M);return Re===null&&this.invalidStringToken(oe,"Bad character escape sequence"),Re},hr.readWord1=function(){this.containsEsc=!1;for(var M="",oe=!0,Re=this.pos,Xe=this.options.ecmaVersion>=6;this.pos<this.input.length;){var lt=this.fullCharCodeAtPos();if(Ve(lt,Xe))this.pos+=lt<=65535?1:2;else{if(lt!==92)break;this.containsEsc=!0,M+=this.input.slice(Re,this.pos);var vt=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var Mt=this.readCodePoint();(oe?be:Ve)(Mt,Xe)||this.invalidStringToken(vt,"Invalid Unicode escape"),M+=de(Mt),Re=this.pos}oe=!1}return M+this.input.slice(Re,this.pos)},hr.readWord=function(){var M=this.readWord1(),oe=re.name;return this.keywords.test(M)&&(oe=je[M]),this.finishToken(oe,M)},ot.acorn={Parser:ot,version:"8.12.1",defaultOptions:pt,Position:tt,SourceLocation:mt,getLineInfo:At,Node:Li,TokenType:Fe,tokTypes:re,keywordTypes:je,TokContext:_n,tokContexts:_r,isIdentifierChar:Ve,isIdentifierStart:be,Token:Or,isNewLine:se,lineBreak:fe,lineBreakG:he,nonASCIIwhitespace:ye};let Xn=require("node:module"),zn=(require("node:fs"),require("node:url")),en=require("node:assert"),ai=(require("node:process"),require("node:path"),require("node:v8")),Ri=require("node:util");new Set(Xn.builtinModules);function Oa(M){return M.replace(/\\/g,"/")}let Fa={}.hasOwnProperty,ja=/^([A-Z][a-z\d]*)+$/,ao=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),Rr={};function Ks(M,oe="and"){return M.length<3?M.join(` ${oe} `):`${M.slice(0,-1).join(", ")}, ${oe} ${M[M.length-1]}`}let Qa=new Map,Ro;function gs(M,oe,Re){return Qa.set(M,oe),function(Xe,lt){return vt;function vt(...Mt){let Qt=Error.stackTraceLimit;Ua()&&(Error.stackTraceLimit=0);let jr=new Xe;Ua()&&(Error.stackTraceLimit=Qt);let un=function(gn,Ti,ma){let Gs=Qa.get(gn);if(en(Gs!==void 0,"expected `message` to be found"),typeof Gs=="function")return en(Gs.length<=Ti.length,`Code: ${gn}; The provided arguments length (${Ti.length}) does not match the required ones (${Gs.length}).`),Reflect.apply(Gs,ma,Ti);let oo=/%[dfijoOs]/g,$o=0;for(;oo.exec(Gs)!==null;)$o++;return en($o===Ti.length,`Code: ${gn}; The provided arguments length (${Ti.length}) does not match the required ones (${$o}).`),Ti.length===0?Gs:(Ti.unshift(Gs),Reflect.apply(Ri.format,null,Ti))}(lt,Mt,jr);return Object.defineProperties(jr,{message:{value:un,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${lt}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),ze(jr),jr.code=lt,jr}}(Re,M)}function Ua(){try{if(ai.startupSnapshot.isBuildingSnapshot())return!1}catch{}let M=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return M===void 0?Object.isExtensible(Error):Fa.call(M,"writable")&&M.writable!==void 0?M.writable:M.set!==void 0}Rr.ERR_INVALID_ARG_TYPE=gs("ERR_INVALID_ARG_TYPE",(M,oe,Re)=>{en(typeof M=="string","'name' must be a string"),Array.isArray(oe)||(oe=[oe]);let Xe="The ";if(M.endsWith(" argument"))Xe+=`${M} `;else{let Qt=M.includes(".")?"property":"argument";Xe+=`"${M}" ${Qt} `}Xe+="must be ";let lt=[],vt=[],Mt=[];for(let Qt of oe)en(typeof Qt=="string","All expected entries have to be of type string"),ao.has(Qt)?lt.push(Qt.toLowerCase()):ja.exec(Qt)===null?(en(Qt!=="object",'The value "object" should be written as "Object"'),Mt.push(Qt)):vt.push(Qt);if(vt.length>0){let Qt=lt.indexOf("object");Qt!==-1&&(lt.slice(Qt,1),vt.push("Object"))}return lt.length>0&&(Xe+=`${lt.length>1?"one of type":"of type"} ${Ks(lt,"or")}`,(vt.length>0||Mt.length>0)&&(Xe+=" or ")),vt.length>0&&(Xe+=`an instance of ${Ks(vt,"or")}`,Mt.length>0&&(Xe+=" or ")),Mt.length>0&&(Mt.length>1?Xe+=`one of ${Ks(Mt,"or")}`:(Mt[0].toLowerCase()!==Mt[0]&&(Xe+="an "),Xe+=`${Mt[0]}`)),Xe+=`. Received ${function(Qt){if(Qt==null)return String(Qt);if(typeof Qt=="function"&&Qt.name)return`function ${Qt.name}`;if(typeof Qt=="object")return Qt.constructor&&Qt.constructor.name?`an instance of ${Qt.constructor.name}`:`${(0,Ri.inspect)(Qt,{depth:-1})}`;let jr=(0,Ri.inspect)(Qt,{colors:!1});return jr.length>28&&(jr=`${jr.slice(0,25)}...`),`type ${typeof Qt} (${jr})`}(Re)}`,Xe},TypeError),Rr.ERR_INVALID_MODULE_SPECIFIER=gs("ERR_INVALID_MODULE_SPECIFIER",(M,oe,Re=void 0)=>`Invalid module "${M}" ${oe}${Re?` imported from ${Re}`:""}`,TypeError),Rr.ERR_INVALID_PACKAGE_CONFIG=gs("ERR_INVALID_PACKAGE_CONFIG",(M,oe,Re)=>`Invalid package config ${M}${oe?` while importing ${oe}`:""}${Re?`. ${Re}`:""}`,Error),Rr.ERR_INVALID_PACKAGE_TARGET=gs("ERR_INVALID_PACKAGE_TARGET",(M,oe,Re,Xe=!1,lt=void 0)=>{let vt=typeof Re=="string"&&!Xe&&Re.length>0&&!Re.startsWith("./");return oe==="."?(en(Xe===!1),`Invalid "exports" main target ${JSON.stringify(Re)} defined in the package config ${M}package.json${lt?` imported from ${lt}`:""}${vt?'; targets must start with "./"':""}`):`Invalid "${Xe?"imports":"exports"}" target ${JSON.stringify(Re)} defined for '${oe}' in the package config ${M}package.json${lt?` imported from ${lt}`:""}${vt?'; targets must start with "./"':""}`},Error),Rr.ERR_MODULE_NOT_FOUND=gs("ERR_MODULE_NOT_FOUND",(M,oe,Re=!1)=>`Cannot find ${Re?"module":"package"} '${M}' imported from ${oe}`,Error),Rr.ERR_NETWORK_IMPORT_DISALLOWED=gs("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),Rr.ERR_PACKAGE_IMPORT_NOT_DEFINED=gs("ERR_PACKAGE_IMPORT_NOT_DEFINED",(M,oe,Re)=>`Package import specifier "${M}" is not defined${oe?` in package ${oe}package.json`:""} imported from ${Re}`,TypeError),Rr.ERR_PACKAGE_PATH_NOT_EXPORTED=gs("ERR_PACKAGE_PATH_NOT_EXPORTED",(M,oe,Re=void 0)=>oe==="."?`No "exports" main defined in ${M}package.json${Re?` imported from ${Re}`:""}`:`Package subpath '${oe}' is not defined by "exports" in ${M}package.json${Re?` imported from ${Re}`:""}`,Error),Rr.ERR_UNSUPPORTED_DIR_IMPORT=gs("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),Rr.ERR_UNSUPPORTED_RESOLVE_REQUEST=gs("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),Rr.ERR_UNKNOWN_FILE_EXTENSION=gs("ERR_UNKNOWN_FILE_EXTENSION",(M,oe)=>`Unknown file extension "${M}" for ${oe}`,TypeError),Rr.ERR_INVALID_ARG_VALUE=gs("ERR_INVALID_ARG_VALUE",(M,oe,Re="is invalid")=>{let Xe=(0,Ri.inspect)(oe);return Xe.length>128&&(Xe=`${Xe.slice(0,128)}...`),`The ${M.includes(".")?"property":"argument"} '${M}' ${Re}. Received ${Xe}`},TypeError);let ze=function(M){let oe="__node_internal_"+M.name;return Object.defineProperty(M,"name",{value:oe}),M}(function(M){let oe=Ua();return oe&&(Ro=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(M),oe&&(Error.stackTraceLimit=Ro),M}),{ERR_INVALID_PACKAGE_CONFIG:b}=Rr,{ERR_UNKNOWN_FILE_EXTENSION:N}=Rr;RegExp.prototype[Symbol.replace];let{ERR_NETWORK_IMPORT_DISALLOWED:G,ERR_INVALID_MODULE_SPECIFIER:V,ERR_INVALID_PACKAGE_CONFIG:f,ERR_INVALID_PACKAGE_TARGET:v,ERR_MODULE_NOT_FOUND:B,ERR_PACKAGE_IMPORT_NOT_DEFINED:X,ERR_PACKAGE_PATH_NOT_EXPORTED:ae,ERR_UNSUPPORTED_DIR_IMPORT:Te,ERR_UNSUPPORTED_RESOLVE_REQUEST:Ke}=Rr;function rt(M){return typeof M!="string"||M.startsWith("file://")?Oa((0,zn.fileURLToPath)(M)):Oa(M)}function at(M){return(0,zn.pathToFileURL)(rt(M)).toString()}function St(M,oe){return{name:"import-meta-paths",visitor:{Program(Re){let Xe=[],lt=[],vt=[];Re.traverse({MemberExpression(Mt){let{node:Qt}=Mt;if(Qt.object.type==="MetaProperty"&&Qt.object.meta.name==="import"&&Qt.object.property.name==="meta"&&Qt.property.type==="Identifier")switch(Qt.property.name){case"url":Xe.push(Mt);break;case"dirname":lt.push(Mt);break;case"filename":vt.push(Mt)}}});for(let Mt of Xe)Mt.replaceWith(k.smart.ast`${oe.filename?JSON.stringify(at(oe.filename)):"require('url').pathToFileURL(__filename).toString()"}`);for(let Mt of lt)Mt.replaceWith(k.smart.ast`${oe.filename?JSON.stringify(Z(rt(at(oe.filename)))):"__dirname"}`);for(let Mt of vt)Mt.replaceWith(k.smart.ast`${oe.filename?JSON.stringify(rt(at(oe.filename))):"__filename"}`)}}}}var Kt=n("./node_modules/.pnpm/@babel+helper-module-imports@7.25.7/node_modules/@babel/helper-module-imports/lib/index.js"),gr=n("./node_modules/.pnpm/@babel+helper-module-transforms@7.25.7_@babel+core@7.25.7/node_modules/@babel/helper-module-transforms/lib/index.js"),lr=n("./node_modules/.pnpm/@babel+helper-simple-access@7.25.7/node_modules/@babel/helper-simple-access/lib/index.js");function Ur(M,oe,Re){M.replaceWith((0,gr.buildDynamicImport)(M.node,!0,!1,Xe=>((lt,vt,Mt)=>{let Qt=o.template.expression.ast`jitiImport(${lt})`;return Mt?Qt:o.types.callExpression(o.types.memberExpression(Qt,o.types.identifier("then")),[o.types.arrowFunctionExpression([o.types.identifier("m")],o.types.callExpression(vt.addHelper("interopRequireWildcard"),[o.types.identifier("m")]))])})(Xe,Re,oe)))}let pi="@babel/plugin-transform-modules-commonjs/customWrapperPlugin";function bi(M,oe){if(M)for(let Re of M){let Xe=oe(Re);if(Xe!=null)return Xe}}let jn=(0,h.declare)((M,oe)=>{let{strictNamespace:Re=!1,mjsStrictNamespace:Xe=Re,allowTopLevelThis:lt,strict:vt,strictMode:Mt,noInterop:Qt,importInterop:jr,lazy:un=!1,allowCommonJSExports:gn=!0,loose:Ti=!1,async:ma=!1}=oe,Gs=M.assumption("constantReexports")??Ti,oo=M.assumption("enumerableModuleMeta")??Ti,$o=M.assumption("noIncompleteNsImportDetection")??!1;if(!(typeof un=="boolean"||typeof un=="function"||Array.isArray(un)&&un.every(Hn=>typeof Hn=="string")))throw new Error(".lazy must be a boolean, array of strings, or a function");if(typeof Re!="boolean")throw new TypeError(".strictNamespace must be a boolean, or undefined");if(typeof Xe!="boolean")throw new TypeError(".mjsStrictNamespace must be a boolean, or undefined");let Ea=Hn=>o.template.expression.ast`
|
|
(function(){
|
|
throw new Error(
|
|
"The CommonJS '" + "${Hn}" + "' variable is not available in ES6 modules." +
|
|
"Consider setting setting sourceType:script or sourceType:unambiguous in your " +
|
|
"Babel config for this file.");
|
|
})()
|
|
`,zo={ReferencedIdentifier(Hn){let oi=Hn.node.name;if(oi!=="module"&&oi!=="exports")return;let di=Hn.scope.getBinding(oi);this.scope.getBinding(oi)!==di||Hn.parentPath.isObjectProperty({value:Hn.node})&&Hn.parentPath.parentPath.isObjectPattern()||Hn.parentPath.isAssignmentExpression({left:Hn.node})||Hn.isAssignmentExpression({left:Hn.node})||Hn.replaceWith(Ea(oi))},UpdateExpression(Hn){let oi=Hn.get("argument");if(!oi.isIdentifier())return;let di=oi.node.name;if(di!=="module"&&di!=="exports")return;let bs=Hn.scope.getBinding(di);this.scope.getBinding(di)===bs&&Hn.replaceWith(o.types.assignmentExpression(Hn.node.operator[0]+"=",oi.node,Ea(di)))},AssignmentExpression(Hn){let oi=Hn.get("left");if(oi.isIdentifier()){let di=oi.node.name;if(di!=="module"&&di!=="exports")return;let bs=Hn.scope.getBinding(di);if(this.scope.getBinding(di)!==bs)return;let La=Hn.get("right");La.replaceWith(o.types.sequenceExpression([La.node,Ea(di)]))}else if(oi.isPattern()){let di=oi.getOuterBindingIdentifiers(),bs=Object.keys(di).find(La=>(La==="module"||La==="exports")&&this.scope.getBinding(La)===Hn.scope.getBinding(La));if(bs){let La=Hn.get("right");La.replaceWith(o.types.sequenceExpression([La.node,Ea(bs)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs"),un&&function(Hn,oi){let di=Hn.get(pi);di||Hn.set(pi,di=[]),di.push(oi)}(this.file,(Hn=>({name:"babel-plugin-transform-modules-commonjs/lazy",version:"7.24.7",getWrapperPayload:(oi,di)=>(0,gr.isSideEffectImport)(di)||di.reexportAll?null:Hn===!0?oi.includes(".")?null:"lazy/function":Array.isArray(Hn)?Hn.includes(oi)?"lazy/function":null:typeof Hn=="function"?Hn(oi)?"lazy/function":null:void 0,buildRequireWrapper(oi,di,bs,La){if(bs==="lazy/function")return!!La&&o.template.statement.ast`
|
|
function ${oi}() {
|
|
const data = ${di};
|
|
${oi} = function(){ return data; };
|
|
return data;
|
|
}
|
|
`},wrapReference(oi,di){if(di==="lazy/function")return o.types.callExpression(oi,[])}}))(un))},visitor:{["CallExpression"+(M.types.importExpression?"|ImportExpression":"")](Hn){if(Hn.isCallExpression()&&!o.types.isImport(Hn.node.callee))return;let{scope:oi}=Hn;do oi.rename("require");while(oi=oi.parent);Ur(Hn,Qt,this.file)},Program:{exit(Hn,oi){if(!(0,Kt.isModule)(Hn))return;Hn.scope.rename("exports"),Hn.scope.rename("module"),Hn.scope.rename("require"),Hn.scope.rename("__filename"),Hn.scope.rename("__dirname"),gn||(process.env.BABEL_8_BREAKING?(0,lr.default)(Hn,new Set(["module","exports"])):(0,lr.default)(Hn,new Set(["module","exports"]),!1),Hn.traverse(zo,{scope:Hn.scope}));let di=(0,gr.getModuleName)(this.file.opts,oe);di&&(di=o.types.stringLiteral(di));let bs=function(ia){let qa=ia.get(pi);return{getWrapperPayload:(...Mo)=>bi(qa,Xs=>Xs.getWrapperPayload?.(...Mo)),wrapReference:(...Mo)=>bi(qa,Xs=>Xs.wrapReference?.(...Mo)),buildRequireWrapper:(...Mo)=>bi(qa,Xs=>Xs.buildRequireWrapper?.(...Mo))}}(this.file),{meta:La,headers:ll}=(0,gr.rewriteModuleStatementsAndPrepareHeader)(Hn,{exportName:"exports",constantReexports:Gs,enumerableModuleMeta:oo,strict:vt,strictMode:Mt,allowTopLevelThis:lt,noInterop:Qt,importInterop:jr,wrapReference:bs.wrapReference,getWrapperPayload:bs.getWrapperPayload,esNamespaceOnly:typeof oi.filename=="string"&&/\.mjs$/.test(oi.filename)?Xe:Re,noIncompleteNsImportDetection:$o,filename:this.file.opts.filename});for(let[ia,qa]of La.source){let Mo=ma?o.types.awaitExpression(o.types.callExpression(o.types.identifier("jitiImport"),[o.types.stringLiteral(ia)])):o.types.callExpression(o.types.identifier("require"),[o.types.stringLiteral(ia)]),Xs;if((0,gr.isSideEffectImport)(qa)){if(un&&qa.wrap==="function")throw new Error("Assertion failure");Xs=o.types.expressionStatement(Mo)}else{let gu=(0,gr.wrapInterop)(Hn,Mo,qa.interop)||Mo;if(qa.wrap){let bu=bs.buildRequireWrapper(qa.name,gu,qa.wrap,qa.referenced);if(bu===!1)continue;Xs=bu}Xs??=o.template.statement.ast`
|
|
var ${qa.name} = ${gu};
|
|
`}Xs.loc=qa.loc,ll.push(Xs),ll.push(...(0,gr.buildNamespaceInitStatements)(La,qa,Gs,bs.wrapReference))}(0,gr.ensureStatementsHoisted)(ll),Hn.unshiftContainer("body",ll),Hn.get("body").forEach(ia=>{ll.includes(ia.node)&&ia.isVariableDeclaration()&&ia.scope.registerDeclaration(ia)})}}}}});function Hs(M){let oe={babelrc:!1,configFile:!1,compact:!1,retainLines:typeof M.retainLines!="boolean"||M.retainLines,filename:"",cwd:"/",...M.babel,plugins:[[jn,{allowTopLevelThis:!0,noInterop:!M.interopDefault,async:M.async}],[St,{filename:M.filename}],[O],[j],[c.A],[H.A]]};M.jsx&&oe.plugins.push([u.default],[a.A,Object.assign({},M.jsx)]),M.ts&&(oe.plugins.push([l.default,{allowDeclareFields:!0,isTSX:M.jsx&&/\.[cm]?tsx$/.test(M.filename||"")}]),oe.plugins.unshift([D],[r.A,{legacy:!0}]),oe.plugins.push(d()),oe.plugins.push(s.A)),M.babel&&Array.isArray(M.babel.plugins)&&oe.plugins?.push(...M.babel.plugins);try{return{code:(0,o.transformSync)(M.source,oe)?.code||""}}catch(Re){return{error:Re,code:"exports.__JITI_ERROR__ = "+JSON.stringify({filename:M.filename,line:Re.loc?.line||0,column:Re.loc?.column||0,code:Re.code?.replace("BABEL_","").replace("PARSE_ERROR","ParseError"),message:Re.message?.replace("/: ","").replace(/\(.+\)\s*$/,"")})}}}})(),kme.exports=i.default})()});var Fme=Le(H4=>{"use strict";Object.defineProperty(H4,"__esModule",{value:!0});Object.defineProperty(H4,"default",{enumerable:!0,get:function(){return Mpt}});var $pt=AF(),Mpt=$pt.loadConfig});var Ume=Le((u3t,jme)=>{var p4=Fme();jme.exports=(p4.__esModule?p4:{default:p4}).default});var qme=Le((H3t,Bpt)=>{Bpt.exports={name:"postcss",version:"8.5.4",description:"Tool for transforming styles with JS plugins",engines:{node:"^10 || ^12 || >=14"},exports:{".":{require:"./lib/postcss.js",import:"./lib/postcss.mjs"},"./lib/at-rule":"./lib/at-rule.js","./lib/comment":"./lib/comment.js","./lib/container":"./lib/container.js","./lib/css-syntax-error":"./lib/css-syntax-error.js","./lib/declaration":"./lib/declaration.js","./lib/fromJSON":"./lib/fromJSON.js","./lib/input":"./lib/input.js","./lib/lazy-result":"./lib/lazy-result.js","./lib/no-work-result":"./lib/no-work-result.js","./lib/list":"./lib/list.js","./lib/map-generator":"./lib/map-generator.js","./lib/node":"./lib/node.js","./lib/parse":"./lib/parse.js","./lib/parser":"./lib/parser.js","./lib/postcss":"./lib/postcss.js","./lib/previous-map":"./lib/previous-map.js","./lib/processor":"./lib/processor.js","./lib/result":"./lib/result.js","./lib/root":"./lib/root.js","./lib/rule":"./lib/rule.js","./lib/stringifier":"./lib/stringifier.js","./lib/stringify":"./lib/stringify.js","./lib/symbols":"./lib/symbols.js","./lib/terminal-highlight":"./lib/terminal-highlight.js","./lib/tokenize":"./lib/tokenize.js","./lib/warn-once":"./lib/warn-once.js","./lib/warning":"./lib/warning.js","./package.json":"./package.json"},main:"./lib/postcss.js",types:"./lib/postcss.d.ts",keywords:["css","postcss","rework","preprocessor","parser","source map","transform","manipulation","transpiler"],funding:[{type:"opencollective",url:"https://opencollective.com/postcss/"},{type:"tidelift",url:"https://tidelift.com/funding/github/npm/postcss"},{type:"github",url:"https://github.com/sponsors/ai"}],author:"Andrey Sitnik <andrey@sitnik.ru>",license:"MIT",homepage:"https://postcss.org/",repository:"postcss/postcss",bugs:{url:"https://github.com/postcss/postcss/issues"},dependencies:{nanoid:"^3.3.11",picocolors:"^1.1.1","source-map-js":"^1.2.1"},browser:{"./lib/terminal-highlight":!1,"source-map-js":!1,path:!1,url:!1,fs:!1}}});var sEe=Le((B3t,iEe)=>{"use strict";var qpt=function(t){return Wpt(t)&&!Vpt(t)};function Wpt(e){return!!e&&typeof e=="object"}function Vpt(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Xpt(e)}var Kpt=typeof Symbol=="function"&&Symbol.for,Gpt=Kpt?Symbol.for("react.element"):60103;function Xpt(e){return e.$$typeof===Gpt}function Zpt(e){return Array.isArray(e)?[]:{}}function Wg(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Jm(Zpt(e),e,t):e}function zpt(e,t,n){return e.concat(t).map(function(i){return Wg(i,n)})}function Jpt(e,t){if(!t.customMerge)return Jm;var n=t.customMerge(e);return typeof n=="function"?n:Jm}function Qpt(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]}function rEe(e){return Object.keys(e).concat(Qpt(e))}function nEe(e,t){try{return t in e}catch{return!1}}function Ypt(e,t){return nEe(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function edt(e,t,n){var i={};return n.isMergeableObject(e)&&rEe(e).forEach(function(o){i[o]=Wg(e[o],n)}),rEe(t).forEach(function(o){Ypt(e,o)||(nEe(e,o)&&n.isMergeableObject(t[o])?i[o]=Jpt(o,n)(e[o],t[o],n):i[o]=Wg(t[o],n))}),i}function Jm(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||zpt,n.isMergeableObject=n.isMergeableObject||qpt,n.cloneUnlessOtherwiseSpecified=Wg;var i=Array.isArray(t),o=Array.isArray(e),r=i===o;return r?i?n.arrayMerge(e,t,n):edt(e,t,n):Wg(t,n)}Jm.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(i,o){return Jm(i,o,n)},{})};var tdt=Jm;iEe.exports=tdt});var BC=Le(Nc=>{"use strict";Object.defineProperty(Nc,"__esModule",{value:!0});Nc.removeExtension=Nc.fileExistsAsync=Nc.readJsonFromDiskAsync=Nc.readJsonFromDiskSync=Nc.fileExistsSync=void 0;var Vg=require("fs");function ndt(e){if(!Vg.existsSync(e))return!1;try{var t=Vg.statSync(e);return t.isFile()}catch{return!1}}Nc.fileExistsSync=ndt;function idt(e){if(Vg.existsSync(e))return require(e)}Nc.readJsonFromDiskSync=idt;function sdt(e,t){Vg.readFile(e,"utf8",function(n,i){if(n||!i)return t();var o=JSON.parse(i);return t(void 0,o)})}Nc.readJsonFromDiskAsync=sdt;function adt(e,t){Vg.stat(e,function(n,i){if(n)return t(void 0,!1);t(void 0,i?i.isFile():!1)})}Nc.fileExistsAsync=adt;function odt(e){return e.substring(0,e.lastIndexOf("."))||e}Nc.removeExtension=odt});var h4=Le(OC=>{"use strict";Object.defineProperty(OC,"__esModule",{value:!0});OC.getAbsoluteMappingEntries=void 0;var ldt=require("path");function cdt(e,t,n){for(var i=udt(Object.keys(t)),o=[],r=0,c=i;r<c.length;r++){var s=c[r];o.push({pattern:s,paths:t[s].map(function(u){return ldt.resolve(e,u)})})}return!t["*"]&&n&&o.push({pattern:"*",paths:["".concat(e.replace(/\/$/,""),"/*")]}),o}OC.getAbsoluteMappingEntries=cdt;function udt(e){return e.concat().sort(function(t,n){return HEe(n)-HEe(t)})}function HEe(e){var t=e.indexOf("*");return e.substr(0,t).length}});var _4=Le(Rd=>{"use strict";Object.defineProperty(Rd,"__esModule",{value:!0});Rd.exhaustiveTypeException=Rd.getStrippedPath=Rd.getPathsToTry=void 0;var pEe=require("path"),Hdt=require("path"),pdt=BC();function ddt(e,t,n){if(!(!t||!n||n[0]===".")){for(var i=[],o=0,r=t;o<r.length;o++){var c=r[o],s=c.pattern===n?"":hdt(c.pattern,n);if(s!==void 0)for(var u=function(p){var d=p.replace("*",s);i.push({type:"file",path:d}),i.push.apply(i,e.map(function(m){return{type:"extension",path:d+m}})),i.push({type:"package",path:pEe.join(d,"/package.json")});var h=pEe.join(d,"/index");i.push.apply(i,e.map(function(m){return{type:"index",path:h+m}}))},H=0,a=c.paths;H<a.length;H++){var l=a[H];u(l)}}return i.length===0?void 0:i}}Rd.getPathsToTry=ddt;function fdt(e){return e.type==="index"?(0,Hdt.dirname)(e.path):e.type==="file"?e.path:e.type==="extension"?(0,pdt.removeExtension)(e.path):e.type==="package"?e.path:dEe(e.type)}Rd.getStrippedPath=fdt;function dEe(e){throw new Error("Unknown type ".concat(e))}Rd.exhaustiveTypeException=dEe;function hdt(e,t){if(!(t.length<e.length)){if(e==="*")return t;var n=e.indexOf("*");if(n!==-1){var i=e.substring(0,n),o=e.substring(n+1);if(t.substr(0,n)===i&&t.substr(t.length-o.length)===o)return t.substr(n,t.length-o.length)}}}});var y4=Le(Qm=>{"use strict";Object.defineProperty(Qm,"__esModule",{value:!0});Qm.matchFromAbsolutePaths=Qm.createMatchPath=void 0;var fEe=require("path"),m4=BC(),_dt=h4(),E4=_4();function mdt(e,t,n,i){n===void 0&&(n=["main"]),i===void 0&&(i=!0);var o=_dt.getAbsoluteMappingEntries(e,t,i);return function(r,c,s,u){return hEe(o,r,c,s,u,n)}}Qm.createMatchPath=mdt;function hEe(e,t,n,i,o,r){n===void 0&&(n=m4.readJsonFromDiskSync),i===void 0&&(i=m4.fileExistsSync),o===void 0&&(o=Object.keys(require.extensions)),r===void 0&&(r=["main"]);var c=E4.getPathsToTry(o,e,t);if(c)return ydt(c,n,i,r)}Qm.matchFromAbsolutePaths=hEe;function Edt(e,t,n,i){for(var o=0;o<t.length;o++){var r=t[o],c=typeof r=="string"?e[r]:r.reduce(function(u,H){return u[H]},e);if(c&&typeof c=="string"){var s=fEe.join(fEe.dirname(n),c);if(i(s))return s}}}function ydt(e,t,n,i){t===void 0&&(t=m4.readJsonFromDiskSync),i===void 0&&(i=["main"]);for(var o=0,r=e;o<r.length;o++){var c=r[o];if(c.type==="file"||c.type==="extension"||c.type==="index"){if(n(c.path))return E4.getStrippedPath(c)}else if(c.type==="package"){var s=t(c.path);if(s){var u=Edt(s,i,c.path,n);if(u)return u}}else E4.exhaustiveTypeException(c.type)}}});var gEe=Le(Ym=>{"use strict";Object.defineProperty(Ym,"__esModule",{value:!0});Ym.matchFromAbsolutePathsAsync=Ym.createMatchPathAsync=void 0;var _Ee=require("path"),g4=_4(),gdt=h4(),mEe=BC();function bdt(e,t,n,i){n===void 0&&(n=["main"]),i===void 0&&(i=!0);var o=gdt.getAbsoluteMappingEntries(e,t,i);return function(r,c,s,u,H){return EEe(o,r,c,s,u,H,n)}}Ym.createMatchPathAsync=bdt;function EEe(e,t,n,i,o,r,c){n===void 0&&(n=mEe.readJsonFromDiskAsync),i===void 0&&(i=mEe.fileExistsAsync),o===void 0&&(o=Object.keys(require.extensions)),c===void 0&&(c=["main"]);var s=g4.getPathsToTry(o,e,t);if(!s)return r();FC(s,n,i,r,0,c)}Ym.matchFromAbsolutePathsAsync=EEe;function yEe(e,t,n,i,o,r){if(r===void 0&&(r=0),r>=t.length)return o(void 0,void 0);var c=function(){return yEe(e,t,n,i,o,r+1)},s=t[r],u=typeof s=="string"?e[s]:s.reduce(function(a,l){return a[l]},e);if(typeof u!="string")return c();var H=_Ee.join(_Ee.dirname(n),u);i(H,function(a,l){return a?o(a):l?o(void 0,H):c()})}function FC(e,t,n,i,o,r){o===void 0&&(o=0),r===void 0&&(r=["main"]);var c=e[o];c.type==="file"||c.type==="extension"||c.type==="index"?n(c.path,function(s,u){return s?i(s):u?i(void 0,g4.getStrippedPath(c)):o===e.length-1?i():FC(e,t,n,i,o+1,r)}):c.type==="package"?t(c.path,function(s,u){return s?i(s):u?yEe(u,r,c.path,n,function(H,a){return H?i(H):a?i(void 0,a):FC(e,t,n,i,o+1,r)}):FC(e,t,n,i,o+1,r)}):g4.exhaustiveTypeException(c.type)}});var bEe=Le((z3t,jC)=>{jC.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;jC.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;jC.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/});var A4=Le((J3t,AEe)=>{var b4=bEe();AEe.exports={isSpaceSeparator(e){return typeof e=="string"&&b4.Space_Separator.test(e)},isIdStartChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||b4.ID_Start.test(e))},isIdContinueChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e==="\u200C"||e==="\u200D"||b4.ID_Continue.test(e))},isDigit(e){return typeof e=="string"&&/[0-9]/.test(e)},isHexDigit(e){return typeof e=="string"&&/[0-9A-Fa-f]/.test(e)}}});var vEe=Le((Q3t,TEe)=>{var mo=A4(),S4,al,pp,qC,$d,mu,Eo,v4,Gg;TEe.exports=function(t,n){S4=String(t),al="start",pp=[],qC=0,$d=1,mu=0,Eo=void 0,v4=void 0,Gg=void 0;do Eo=Adt(),Ldt[al]();while(Eo.type!=="eof");return typeof n=="function"?L4({"":Gg},"",n):Gg};function L4(e,t,n){let i=e[t];if(i!=null&&typeof i=="object")if(Array.isArray(i))for(let o=0;o<i.length;o++){let r=String(o),c=L4(i,r,n);c===void 0?delete i[r]:Object.defineProperty(i,r,{value:c,writable:!0,enumerable:!0,configurable:!0})}else for(let o in i){let r=L4(i,o,n);r===void 0?delete i[o]:Object.defineProperty(i,o,{value:r,writable:!0,enumerable:!0,configurable:!0})}return n.call(e,t,i)}var ci,Qn,Kg,Hp,Si;function Adt(){for(ci="default",Qn="",Kg=!1,Hp=1;;){Si=dp();let e=SEe[ci]();if(e)return e}}function dp(){if(S4[qC])return String.fromCodePoint(S4.codePointAt(qC))}function fr(){let e=dp();return e===`
|
|
`?($d++,mu=0):e?mu+=e.length:mu++,e&&(qC+=e.length),e}var SEe={default(){switch(Si){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
|
|
`:case"\r":case"\u2028":case"\u2029":fr();return;case"/":fr(),ci="comment";return;case void 0:return fr(),ra("eof")}if(mo.isSpaceSeparator(Si)){fr();return}return SEe[al]()},comment(){switch(Si){case"*":fr(),ci="multiLineComment";return;case"/":fr(),ci="singleLineComment";return}throw na(fr())},multiLineComment(){switch(Si){case"*":fr(),ci="multiLineCommentAsterisk";return;case void 0:throw na(fr())}fr()},multiLineCommentAsterisk(){switch(Si){case"*":fr();return;case"/":fr(),ci="default";return;case void 0:throw na(fr())}fr(),ci="multiLineComment"},singleLineComment(){switch(Si){case`
|
|
`:case"\r":case"\u2028":case"\u2029":fr(),ci="default";return;case void 0:return fr(),ra("eof")}fr()},value(){switch(Si){case"{":case"[":return ra("punctuator",fr());case"n":return fr(),ah("ull"),ra("null",null);case"t":return fr(),ah("rue"),ra("boolean",!0);case"f":return fr(),ah("alse"),ra("boolean",!1);case"-":case"+":fr()==="-"&&(Hp=-1),ci="sign";return;case".":Qn=fr(),ci="decimalPointLeading";return;case"0":Qn=fr(),ci="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Qn=fr(),ci="decimalInteger";return;case"I":return fr(),ah("nfinity"),ra("numeric",1/0);case"N":return fr(),ah("aN"),ra("numeric",NaN);case'"':case"'":Kg=fr()==='"',Qn="",ci="string";return}throw na(fr())},identifierNameStartEscape(){if(Si!=="u")throw na(fr());fr();let e=T4();switch(e){case"$":case"_":break;default:if(!mo.isIdStartChar(e))throw IEe();break}Qn+=e,ci="identifierName"},identifierName(){switch(Si){case"$":case"_":case"\u200C":case"\u200D":Qn+=fr();return;case"\\":fr(),ci="identifierNameEscape";return}if(mo.isIdContinueChar(Si)){Qn+=fr();return}return ra("identifier",Qn)},identifierNameEscape(){if(Si!=="u")throw na(fr());fr();let e=T4();switch(e){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!mo.isIdContinueChar(e))throw IEe();break}Qn+=e,ci="identifierName"},sign(){switch(Si){case".":Qn=fr(),ci="decimalPointLeading";return;case"0":Qn=fr(),ci="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Qn=fr(),ci="decimalInteger";return;case"I":return fr(),ah("nfinity"),ra("numeric",Hp*(1/0));case"N":return fr(),ah("aN"),ra("numeric",NaN)}throw na(fr())},zero(){switch(Si){case".":Qn+=fr(),ci="decimalPoint";return;case"e":case"E":Qn+=fr(),ci="decimalExponent";return;case"x":case"X":Qn+=fr(),ci="hexadecimal";return}return ra("numeric",Hp*0)},decimalInteger(){switch(Si){case".":Qn+=fr(),ci="decimalPoint";return;case"e":case"E":Qn+=fr(),ci="decimalExponent";return}if(mo.isDigit(Si)){Qn+=fr();return}return ra("numeric",Hp*Number(Qn))},decimalPointLeading(){if(mo.isDigit(Si)){Qn+=fr(),ci="decimalFraction";return}throw na(fr())},decimalPoint(){switch(Si){case"e":case"E":Qn+=fr(),ci="decimalExponent";return}if(mo.isDigit(Si)){Qn+=fr(),ci="decimalFraction";return}return ra("numeric",Hp*Number(Qn))},decimalFraction(){switch(Si){case"e":case"E":Qn+=fr(),ci="decimalExponent";return}if(mo.isDigit(Si)){Qn+=fr();return}return ra("numeric",Hp*Number(Qn))},decimalExponent(){switch(Si){case"+":case"-":Qn+=fr(),ci="decimalExponentSign";return}if(mo.isDigit(Si)){Qn+=fr(),ci="decimalExponentInteger";return}throw na(fr())},decimalExponentSign(){if(mo.isDigit(Si)){Qn+=fr(),ci="decimalExponentInteger";return}throw na(fr())},decimalExponentInteger(){if(mo.isDigit(Si)){Qn+=fr();return}return ra("numeric",Hp*Number(Qn))},hexadecimal(){if(mo.isHexDigit(Si)){Qn+=fr(),ci="hexadecimalInteger";return}throw na(fr())},hexadecimalInteger(){if(mo.isHexDigit(Si)){Qn+=fr();return}return ra("numeric",Hp*Number(Qn))},string(){switch(Si){case"\\":fr(),Qn+=Idt();return;case'"':if(Kg)return fr(),ra("string",Qn);Qn+=fr();return;case"'":if(!Kg)return fr(),ra("string",Qn);Qn+=fr();return;case`
|
|
`:case"\r":throw na(fr());case"\u2028":case"\u2029":Tdt(Si);break;case void 0:throw na(fr())}Qn+=fr()},start(){switch(Si){case"{":case"[":return ra("punctuator",fr())}ci="value"},beforePropertyName(){switch(Si){case"$":case"_":Qn=fr(),ci="identifierName";return;case"\\":fr(),ci="identifierNameStartEscape";return;case"}":return ra("punctuator",fr());case'"':case"'":Kg=fr()==='"',ci="string";return}if(mo.isIdStartChar(Si)){Qn+=fr(),ci="identifierName";return}throw na(fr())},afterPropertyName(){if(Si===":")return ra("punctuator",fr());throw na(fr())},beforePropertyValue(){ci="value"},afterPropertyValue(){switch(Si){case",":case"}":return ra("punctuator",fr())}throw na(fr())},beforeArrayValue(){if(Si==="]")return ra("punctuator",fr());ci="value"},afterArrayValue(){switch(Si){case",":case"]":return ra("punctuator",fr())}throw na(fr())},end(){throw na(fr())}};function ra(e,t){return{type:e,value:t,line:$d,column:mu}}function ah(e){for(let t of e){if(dp()!==t)throw na(fr());fr()}}function Idt(){switch(dp()){case"b":return fr(),"\b";case"f":return fr(),"\f";case"n":return fr(),`
|
|
`;case"r":return fr(),"\r";case"t":return fr()," ";case"v":return fr(),"\v";case"0":if(fr(),mo.isDigit(dp()))throw na(fr());return"\0";case"x":return fr(),Sdt();case"u":return fr(),T4();case`
|
|
`:case"\u2028":case"\u2029":return fr(),"";case"\r":return fr(),dp()===`
|
|
`&&fr(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw na(fr());case void 0:throw na(fr())}return fr()}function Sdt(){let e="",t=dp();if(!mo.isHexDigit(t)||(e+=fr(),t=dp(),!mo.isHexDigit(t)))throw na(fr());return e+=fr(),String.fromCodePoint(parseInt(e,16))}function T4(){let e="",t=4;for(;t-- >0;){let n=dp();if(!mo.isHexDigit(n))throw na(fr());e+=fr()}return String.fromCodePoint(parseInt(e,16))}var Ldt={start(){if(Eo.type==="eof")throw oh();I4()},beforePropertyName(){switch(Eo.type){case"identifier":case"string":v4=Eo.value,al="afterPropertyName";return;case"punctuator":UC();return;case"eof":throw oh()}},afterPropertyName(){if(Eo.type==="eof")throw oh();al="beforePropertyValue"},beforePropertyValue(){if(Eo.type==="eof")throw oh();I4()},beforeArrayValue(){if(Eo.type==="eof")throw oh();if(Eo.type==="punctuator"&&Eo.value==="]"){UC();return}I4()},afterPropertyValue(){if(Eo.type==="eof")throw oh();switch(Eo.value){case",":al="beforePropertyName";return;case"}":UC()}},afterArrayValue(){if(Eo.type==="eof")throw oh();switch(Eo.value){case",":al="beforeArrayValue";return;case"]":UC()}},end(){}};function I4(){let e;switch(Eo.type){case"punctuator":switch(Eo.value){case"{":e={};break;case"[":e=[];break}break;case"null":case"boolean":case"numeric":case"string":e=Eo.value;break}if(Gg===void 0)Gg=e;else{let t=pp[pp.length-1];Array.isArray(t)?t.push(e):Object.defineProperty(t,v4,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(e!==null&&typeof e=="object")pp.push(e),Array.isArray(e)?al="beforeArrayValue":al="beforePropertyName";else{let t=pp[pp.length-1];t==null?al="end":Array.isArray(t)?al="afterArrayValue":al="afterPropertyValue"}}function UC(){pp.pop();let e=pp[pp.length-1];e==null?al="end":Array.isArray(e)?al="afterArrayValue":al="afterPropertyValue"}function na(e){return WC(e===void 0?`JSON5: invalid end of input at ${$d}:${mu}`:`JSON5: invalid character '${LEe(e)}' at ${$d}:${mu}`)}function oh(){return WC(`JSON5: invalid end of input at ${$d}:${mu}`)}function IEe(){return mu-=5,WC(`JSON5: invalid identifier character at ${$d}:${mu}`)}function Tdt(e){console.warn(`JSON5: '${LEe(e)}' in strings is not valid ECMAScript; consider escaping`)}function LEe(e){let t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e])return t[e];if(e<" "){let n=e.charCodeAt(0).toString(16);return"\\x"+("00"+n).substring(n.length)}return e}function WC(e){let t=new SyntaxError(e);return t.lineNumber=$d,t.columnNumber=mu,t}});var xEe=Le((Y3t,CEe)=>{var C4=A4();CEe.exports=function(t,n,i){let o=[],r="",c,s,u="",H;if(n!=null&&typeof n=="object"&&!Array.isArray(n)&&(i=n.space,H=n.quote,n=n.replacer),typeof n=="function")s=n;else if(Array.isArray(n)){c=[];for(let m of n){let g;typeof m=="string"?g=m:(typeof m=="number"||m instanceof String||m instanceof Number)&&(g=String(m)),g!==void 0&&c.indexOf(g)<0&&c.push(g)}}return i instanceof Number?i=Number(i):i instanceof String&&(i=String(i)),typeof i=="number"?i>0&&(i=Math.min(10,Math.floor(i)),u=" ".substr(0,i)):typeof i=="string"&&(u=i.substr(0,10)),a("",{"":t});function a(m,g){let y=g[m];switch(y!=null&&(typeof y.toJSON5=="function"?y=y.toJSON5(m):typeof y.toJSON=="function"&&(y=y.toJSON(m))),s&&(y=s.call(g,m,y)),y instanceof Number?y=Number(y):y instanceof String?y=String(y):y instanceof Boolean&&(y=y.valueOf()),y){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof y=="string")return l(y,!1);if(typeof y=="number")return String(y);if(typeof y=="object")return Array.isArray(y)?h(y):p(y)}function l(m){let g={"'":.1,'"':.2},y={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},_="";for(let A=0;A<m.length;A++){let S=m[A];switch(S){case"'":case'"':g[S]++,_+=S;continue;case"\0":if(C4.isDigit(m[A+1])){_+="\\x00";continue}}if(y[S]){_+=y[S];continue}if(S<" "){let T=S.charCodeAt(0).toString(16);_+="\\x"+("00"+T).substring(T.length);continue}_+=S}let E=H||Object.keys(g).reduce((A,S)=>g[A]<g[S]?A:S);return _=_.replace(new RegExp(E,"g"),y[E]),E+_+E}function p(m){if(o.indexOf(m)>=0)throw TypeError("Converting circular structure to JSON5");o.push(m);let g=r;r=r+u;let y=c||Object.keys(m),_=[];for(let A of y){let S=a(A,m);if(S!==void 0){let T=d(A)+":";u!==""&&(T+=" "),T+=S,_.push(T)}}let E;if(_.length===0)E="{}";else{let A;if(u==="")A=_.join(","),E="{"+A+"}";else{let S=`,
|
|
`+r;A=_.join(S),E=`{
|
|
`+r+A+`,
|
|
`+g+"}"}}return o.pop(),r=g,E}function d(m){if(m.length===0)return l(m,!0);let g=String.fromCodePoint(m.codePointAt(0));if(!C4.isIdStartChar(g))return l(m,!0);for(let y=g.length;y<m.length;y++)if(!C4.isIdContinueChar(String.fromCodePoint(m.codePointAt(y))))return l(m,!0);return m}function h(m){if(o.indexOf(m)>=0)throw TypeError("Converting circular structure to JSON5");o.push(m);let g=r;r=r+u;let y=[];for(let E=0;E<m.length;E++){let A=a(String(E),m);y.push(A!==void 0?A:"null")}let _;if(y.length===0)_="[]";else if(u==="")_="["+y.join(",")+"]";else{let E=`,
|
|
`+r,A=y.join(E);_=`[
|
|
`+r+A+`,
|
|
`+g+"]"}return o.pop(),r=g,_}}});var PEe=Le((e8t,DEe)=>{var vdt=vEe(),Cdt=xEe(),xdt={parse:vdt,stringify:Cdt};DEe.exports=xdt});var kEe=Le((t8t,wEe)=>{"use strict";wEe.exports=e=>{if(typeof e!="string")throw new TypeError("Expected a string, got "+typeof e);return e.charCodeAt(0)===65279?e.slice(1):e}});var $Ee=Le(HH=>{"use strict";var lh=HH&&HH.__assign||function(){return lh=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},lh.apply(this,arguments)};Object.defineProperty(HH,"__esModule",{value:!0});HH.loadTsconfig=HH.walkForTsConfig=HH.tsConfigLoader=void 0;var Eu=require("path"),Xg=require("fs"),Ddt=PEe(),Pdt=kEe();function wdt(e){var t=e.getEnv,n=e.cwd,i=e.loadSync,o=i===void 0?kdt:i,r=t("TS_NODE_PROJECT"),c=t("TS_NODE_BASEURL"),s=o(n,r,c);return s}HH.tsConfigLoader=wdt;function kdt(e,t,n){var i=Ndt(e,t);if(!i)return{tsConfigPath:void 0,baseUrl:void 0,paths:void 0};var o=D4(i);return{tsConfigPath:i,baseUrl:n||o&&o.compilerOptions&&o.compilerOptions.baseUrl,paths:o&&o.compilerOptions&&o.compilerOptions.paths}}function Ndt(e,t){if(t){var n=Xg.lstatSync(t).isDirectory()?Eu.resolve(t,"./tsconfig.json"):Eu.resolve(e,t);return n}if(Xg.statSync(e).isFile())return Eu.resolve(e);var i=x4(e);return i?Eu.resolve(i):void 0}function x4(e,t){t===void 0&&(t=Xg.readdirSync);for(var n=t(e),i=["tsconfig.json","jsconfig.json"],o=0,r=i;o<r.length;o++){var c=r[o];if(n.indexOf(c)!==-1)return Eu.join(e,c)}var s=Eu.dirname(e);if(e!==s)return x4(s,t)}HH.walkForTsConfig=x4;function D4(e,t,n){if(t===void 0&&(t=Xg.existsSync),n===void 0&&(n=function(u){return Xg.readFileSync(u,"utf8")}),!!t(e)){var i=n(e),o=Pdt(i),r;try{r=Ddt.parse(o)}catch(u){throw new Error("".concat(e," is malformed ").concat(u.message))}var c=r.extends;if(c){var s=void 0;return Array.isArray(c)?s=c.reduce(function(u,H){return REe(u,NEe(e,H,t,n))},{}):s=NEe(e,c,t,n),REe(s,r)}return r}}HH.loadTsconfig=D4;function NEe(e,t,n,i){var o;typeof t=="string"&&t.indexOf(".json")===-1&&(t+=".json");var r=Eu.dirname(e),c=Eu.join(r,t);t.indexOf("/")!==-1&&t.indexOf(".")!==-1&&!n(c)&&(c=Eu.join(r,"node_modules",t));var s=D4(c,n,i)||{};if(!((o=s.compilerOptions)===null||o===void 0)&&o.baseUrl){var u=Eu.dirname(t);s.compilerOptions.baseUrl=Eu.join(u,s.compilerOptions.baseUrl)}return s}function REe(e,t){return e=e||{},t=t||{},lh(lh(lh({},e),t),{compilerOptions:lh(lh({},e.compilerOptions),t.compilerOptions)})}});var P4=Le(eE=>{"use strict";Object.defineProperty(eE,"__esModule",{value:!0});eE.configLoader=eE.loadConfig=void 0;var Rdt=$Ee(),VC=require("path");function $dt(e){return e===void 0&&(e=process.cwd()),MEe({cwd:e})}eE.loadConfig=$dt;function MEe(e){var t=e.cwd,n=e.explicitParams,i=e.tsConfigLoader,o=i===void 0?Rdt.tsConfigLoader:i;if(n){var r=VC.isAbsolute(n.baseUrl)?n.baseUrl:VC.join(t,n.baseUrl);return{resultType:"success",configFileAbsolutePath:"",baseUrl:n.baseUrl,absoluteBaseUrl:r,paths:n.paths,mainFields:n.mainFields,addMatchAll:n.addMatchAll}}var c=o({cwd:t,getEnv:function(s){return process.env[s]}});return c.tsConfigPath?{resultType:"success",configFileAbsolutePath:c.tsConfigPath,baseUrl:c.baseUrl,absoluteBaseUrl:VC.resolve(VC.dirname(c.tsConfigPath),c.baseUrl||""),paths:c.paths||{},addMatchAll:c.baseUrl!==void 0}:{resultType:"failed",message:"Couldn't find tsconfig.json"}}eE.configLoader=MEe});var jEe=Le((i8t,FEe)=>{"use strict";function Mdt(e,t){var n=e;t.slice(0,-1).forEach(function(o){n=n[o]||{}});var i=t[t.length-1];return i in n}function BEe(e){return typeof e=="number"||/^0x[0-9a-f]+$/i.test(e)?!0:/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(e)}function OEe(e,t){return t==="constructor"&&typeof e[t]=="function"||t==="__proto__"}FEe.exports=function(e,t){t||(t={});var n={bools:{},strings:{},unknownFn:null};typeof t.unknown=="function"&&(n.unknownFn=t.unknown),typeof t.boolean=="boolean"&&t.boolean?n.allBools=!0:[].concat(t.boolean).filter(Boolean).forEach(function(A){n.bools[A]=!0});var i={};function o(A){return i[A].some(function(S){return n.bools[S]})}Object.keys(t.alias||{}).forEach(function(A){i[A]=[].concat(t.alias[A]),i[A].forEach(function(S){i[S]=[A].concat(i[A].filter(function(T){return S!==T}))})}),[].concat(t.string).filter(Boolean).forEach(function(A){n.strings[A]=!0,i[A]&&[].concat(i[A]).forEach(function(S){n.strings[S]=!0})});var r=t.default||{},c={_:[]};function s(A,S){return n.allBools&&/^--[^=]+$/.test(S)||n.strings[A]||n.bools[A]||i[A]}function u(A,S,T){for(var I=A,L=0;L<S.length-1;L++){var x=S[L];if(OEe(I,x))return;I[x]===void 0&&(I[x]={}),(I[x]===Object.prototype||I[x]===Number.prototype||I[x]===String.prototype)&&(I[x]={}),I[x]===Array.prototype&&(I[x]=[]),I=I[x]}var C=S[S.length-1];OEe(I,C)||((I===Object.prototype||I===Number.prototype||I===String.prototype)&&(I={}),I===Array.prototype&&(I=[]),I[C]===void 0||n.bools[C]||typeof I[C]=="boolean"?I[C]=T:Array.isArray(I[C])?I[C].push(T):I[C]=[I[C],T])}function H(A,S,T){if(!(T&&n.unknownFn&&!s(A,T)&&n.unknownFn(T)===!1)){var I=!n.strings[A]&&BEe(S)?Number(S):S;u(c,A.split("."),I),(i[A]||[]).forEach(function(L){u(c,L.split("."),I)})}}Object.keys(n.bools).forEach(function(A){H(A,r[A]===void 0?!1:r[A])});var a=[];e.indexOf("--")!==-1&&(a=e.slice(e.indexOf("--")+1),e=e.slice(0,e.indexOf("--")));for(var l=0;l<e.length;l++){var p=e[l],d,h;if(/^--.+=/.test(p)){var m=p.match(/^--([^=]+)=([\s\S]*)$/);d=m[1];var g=m[2];n.bools[d]&&(g=g!=="false"),H(d,g,p)}else if(/^--no-.+/.test(p))d=p.match(/^--no-(.+)/)[1],H(d,!1,p);else if(/^--.+/.test(p))d=p.match(/^--(.+)/)[1],h=e[l+1],h!==void 0&&!/^(-|--)[^-]/.test(h)&&!n.bools[d]&&!n.allBools&&(!i[d]||!o(d))?(H(d,h,p),l+=1):/^(true|false)$/.test(h)?(H(d,h==="true",p),l+=1):H(d,n.strings[d]?"":!0,p);else if(/^-[^-]+/.test(p)){for(var y=p.slice(1,-1).split(""),_=!1,E=0;E<y.length;E++){if(h=p.slice(E+2),h==="-"){H(y[E],h,p);continue}if(/[A-Za-z]/.test(y[E])&&h[0]==="="){H(y[E],h.slice(1),p),_=!0;break}if(/[A-Za-z]/.test(y[E])&&/-?\d+(\.\d*)?(e-?\d+)?$/.test(h)){H(y[E],h,p),_=!0;break}if(y[E+1]&&y[E+1].match(/\W/)){H(y[E],p.slice(E+2),p),_=!0;break}else H(y[E],n.strings[y[E]]?"":!0,p)}d=p.slice(-1)[0],!_&&d!=="-"&&(e[l+1]&&!/^(-|--)[^-]/.test(e[l+1])&&!n.bools[d]&&(!i[d]||!o(d))?(H(d,e[l+1],p),l+=1):e[l+1]&&/^(true|false)$/.test(e[l+1])?(H(d,e[l+1]==="true",p),l+=1):H(d,n.strings[d]?"":!0,p))}else if((!n.unknownFn||n.unknownFn(p)!==!1)&&c._.push(n.strings._||!BEe(p)?p:Number(p)),t.stopEarly){c._.push.apply(c._,e.slice(l+1));break}}return Object.keys(r).forEach(function(A){Mdt(c,A.split("."))||(u(c,A.split("."),r[A]),(i[A]||[]).forEach(function(S){u(c,S.split("."),r[A])}))}),t["--"]?c["--"]=a.slice():a.forEach(function(A){c._.push(A)}),c}});var UEe=Le(tE=>{"use strict";var Bdt=tE&&tE.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,r;i<o;i++)(r||!(i in t))&&(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(tE,"__esModule",{value:!0});tE.register=void 0;var Odt=y4(),Fdt=P4(),jdt=function(){};function Udt(e){e=e||["assert","buffer","child_process","cluster","crypto","dgram","dns","domain","events","fs","http","https","net","os","path","punycode","querystring","readline","stream","string_decoder","tls","tty","url","util","v8","vm","zlib"];for(var t={},n=0,i=e;n<i.length;n++){var o=i[n];t[o]=!0}return t}function qdt(e){var t,n;if(e)t=e.cwd,(e.baseUrl||e.paths)&&(n=e);else{var i=jEe(),o=i(process.argv.slice(2),{string:["project"],alias:{project:["P"]}});t=o.project}var r=(0,Fdt.configLoader)({cwd:t??process.cwd(),explicitParams:n});if(r.resultType==="failed")return console.warn("".concat(r.message,". tsconfig-paths will be skipped")),jdt;var c=(0,Odt.createMatchPath)(r.absoluteBaseUrl,r.paths,r.mainFields,r.addMatchAll),s=require("module"),u=s._resolveFilename,H=Udt(s.builtinModules);return s._resolveFilename=function(a,l){var p=H.hasOwnProperty(a);if(!p){var d=c(a);if(d){var h=Bdt([d],[].slice.call(arguments,1),!0);return u.apply(this,h)}}return u.apply(this,arguments)},function(){s._resolveFilename=u}}tE.register=qdt});var VEe=Le(xl=>{"use strict";Object.defineProperty(xl,"__esModule",{value:!0});xl.loadConfig=xl.register=xl.matchFromAbsolutePathsAsync=xl.createMatchPathAsync=xl.matchFromAbsolutePaths=xl.createMatchPath=void 0;var qEe=y4();Object.defineProperty(xl,"createMatchPath",{enumerable:!0,get:function(){return qEe.createMatchPath}});Object.defineProperty(xl,"matchFromAbsolutePaths",{enumerable:!0,get:function(){return qEe.matchFromAbsolutePaths}});var WEe=gEe();Object.defineProperty(xl,"createMatchPathAsync",{enumerable:!0,get:function(){return WEe.createMatchPathAsync}});Object.defineProperty(xl,"matchFromAbsolutePathsAsync",{enumerable:!0,get:function(){return WEe.matchFromAbsolutePathsAsync}});var Wdt=UEe();Object.defineProperty(xl,"register",{enumerable:!0,get:function(){return Wdt.register}});var Vdt=P4();Object.defineProperty(xl,"loadConfig",{enumerable:!0,get:function(){return Vdt.loadConfig}})});var Aye=Le((q8t,bye)=>{"use strict";var Qg=require("fs"),{Readable:fft}=require("stream"),Jg=require("path"),{promisify:QC}=require("util"),J4=YT(),hft=QC(Qg.readdir),_ft=QC(Qg.stat),hye=QC(Qg.lstat),mft=QC(Qg.realpath),Eft="!",yye="READDIRP_RECURSIVE_ERROR",yft=new Set(["ENOENT","EPERM","EACCES","ELOOP",yye]),Q4="files",gye="directories",zC="files_directories",ZC="all",_ye=[Q4,gye,zC,ZC],gft=e=>yft.has(e.code),[mye,bft]=process.versions.node.split(".").slice(0,2).map(e=>Number.parseInt(e,10)),Aft=process.platform==="win32"&&(mye>10||mye===10&&bft>=5),Eye=e=>{if(e!==void 0){if(typeof e=="function")return e;if(typeof e=="string"){let t=J4(e.trim());return n=>t(n.basename)}if(Array.isArray(e)){let t=[],n=[];for(let i of e){let o=i.trim();o.charAt(0)===Eft?n.push(J4(o.slice(1))):t.push(J4(o))}return n.length>0?t.length>0?i=>t.some(o=>o(i.basename))&&!n.some(o=>o(i.basename)):i=>!n.some(o=>o(i.basename)):i=>t.some(o=>o(i.basename))}}},JC=class e extends fft{static get defaultOptions(){return{root:".",fileFilter:t=>!0,directoryFilter:t=>!0,type:Q4,lstat:!1,depth:2147483648,alwaysStat:!1}}constructor(t={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:t.highWaterMark||4096});let n={...e.defaultOptions,...t},{root:i,type:o}=n;this._fileFilter=Eye(n.fileFilter),this._directoryFilter=Eye(n.directoryFilter);let r=n.lstat?hye:_ft;Aft?this._stat=c=>r(c,{bigint:!0}):this._stat=r,this._maxDepth=n.depth,this._wantsDir=[gye,zC,ZC].includes(o),this._wantsFile=[Q4,zC,ZC].includes(o),this._wantsEverything=o===ZC,this._root=Jg.resolve(i),this._isDirent="Dirent"in Qg&&!n.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(i,1)],this.reading=!1,this.parent=void 0}async _read(t){if(!this.reading){this.reading=!0;try{for(;!this.destroyed&&t>0;){let{path:n,depth:i,files:o=[]}=this.parent||{};if(o.length>0){let r=o.splice(0,t).map(c=>this._formatEntry(c,n));for(let c of await Promise.all(r)){if(this.destroyed)return;let s=await this._getEntryType(c);s==="directory"&&this._directoryFilter(c)?(i<=this._maxDepth&&this.parents.push(this._exploreDir(c.fullPath,i+1)),this._wantsDir&&(this.push(c),t--)):(s==="file"||this._includeAsFile(c))&&this._fileFilter(c)&&this._wantsFile&&(this.push(c),t--)}}else{let r=this.parents.pop();if(!r){this.push(null);break}if(this.parent=await r,this.destroyed)return}}}catch(n){this.destroy(n)}finally{this.reading=!1}}}async _exploreDir(t,n){let i;try{i=await hft(t,this._rdOptions)}catch(o){this._onError(o)}return{files:i,depth:n,path:t}}async _formatEntry(t,n){let i;try{let o=this._isDirent?t.name:t,r=Jg.resolve(Jg.join(n,o));i={path:Jg.relative(this._root,r),fullPath:r,basename:o},i[this._statsProp]=this._isDirent?t:await this._stat(r)}catch(o){this._onError(o)}return i}_onError(t){gft(t)&&!this.destroyed?this.emit("warn",t):this.destroy(t)}async _getEntryType(t){let n=t&&t[this._statsProp];if(n){if(n.isFile())return"file";if(n.isDirectory())return"directory";if(n&&n.isSymbolicLink()){let i=t.fullPath;try{let o=await mft(i),r=await hye(o);if(r.isFile())return"file";if(r.isDirectory()){let c=o.length;if(i.startsWith(o)&&i.substr(c,1)===Jg.sep){let s=new Error(`Circular symlink detected: "${i}" points to "${o}"`);return s.code=yye,this._onError(s)}return"directory"}}catch(o){this._onError(o)}}}}_includeAsFile(t){let n=t&&t[this._statsProp];return n&&this._wantsEverything&&!n.isDirectory()}},oE=(e,t={})=>{let n=t.entryType||t.type;if(n==="both"&&(n=zC),n&&(t.type=n),e){if(typeof e!="string")throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");if(n&&!_ye.includes(n))throw new Error(`readdirp: Invalid type passed. Use one of ${_ye.join(", ")}`)}else throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");return t.root=e,new JC(t)},Ift=(e,t={})=>new Promise((n,i)=>{let o=[];oE(e,t).on("data",r=>o.push(r)).on("end",()=>n(o)).on("error",r=>i(r))});oE.promise=Ift;oE.ReaddirpStream=JC;oE.default=oE;bye.exports=oE});var Cye=Le((Tye,vye)=>{"use strict";Object.defineProperty(Tye,"__esModule",{value:!0});var Lye=YT(),Sft=Kh(),Iye="!",Lft={returnIndex:!1},Tft=e=>Array.isArray(e)?e:[e],vft=(e,t)=>{if(typeof e=="function")return e;if(typeof e=="string"){let n=Lye(e,t);return i=>e===i||n(i)}return e instanceof RegExp?n=>e.test(n):n=>!1},Sye=(e,t,n,i)=>{let o=Array.isArray(n),r=o?n[0]:n;if(!o&&typeof r!="string")throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(r));let c=Sft(r,!1);for(let u=0;u<t.length;u++){let H=t[u];if(H(c))return i?-1:!1}let s=o&&[c].concat(n.slice(1));for(let u=0;u<e.length;u++){let H=e[u];if(o?H(...s):H(c))return i?u:!0}return i?-1:!1},Y4=(e,t,n=Lft)=>{if(e==null)throw new TypeError("anymatch: specify first argument");let i=typeof n=="boolean"?{returnIndex:n}:n,o=i.returnIndex||!1,r=Tft(e),c=r.filter(u=>typeof u=="string"&&u.charAt(0)===Iye).map(u=>u.slice(1)).map(u=>Lye(u,i)),s=r.filter(u=>typeof u!="string"||typeof u=="string"&&u.charAt(0)!==Iye).map(u=>vft(u,i));return t==null?(u,H=!1)=>Sye(s,c,u,typeof H=="boolean"?H:!1):Sye(s,c,t,o)};Y4.default=Y4;vye.exports=Y4});var xye=Le((W8t,Cft)=>{Cft.exports=["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]});var Pye=Le((V8t,Dye)=>{Dye.exports=xye()});var kye=Le((K8t,wye)=>{"use strict";var xft=require("path"),Dft=Pye(),Pft=new Set(Dft);wye.exports=e=>Pft.has(xft.extname(e).slice(1).toLowerCase())});var YC=Le(vn=>{"use strict";var{sep:wft}=require("path"),{platform:e7}=process,kft=require("os");vn.EV_ALL="all";vn.EV_READY="ready";vn.EV_ADD="add";vn.EV_CHANGE="change";vn.EV_ADD_DIR="addDir";vn.EV_UNLINK="unlink";vn.EV_UNLINK_DIR="unlinkDir";vn.EV_RAW="raw";vn.EV_ERROR="error";vn.STR_DATA="data";vn.STR_END="end";vn.STR_CLOSE="close";vn.FSEVENT_CREATED="created";vn.FSEVENT_MODIFIED="modified";vn.FSEVENT_DELETED="deleted";vn.FSEVENT_MOVED="moved";vn.FSEVENT_CLONED="cloned";vn.FSEVENT_UNKNOWN="unknown";vn.FSEVENT_FLAG_MUST_SCAN_SUBDIRS=1;vn.FSEVENT_TYPE_FILE="file";vn.FSEVENT_TYPE_DIRECTORY="directory";vn.FSEVENT_TYPE_SYMLINK="symlink";vn.KEY_LISTENERS="listeners";vn.KEY_ERR="errHandlers";vn.KEY_RAW="rawEmitters";vn.HANDLER_KEYS=[vn.KEY_LISTENERS,vn.KEY_ERR,vn.KEY_RAW];vn.DOT_SLASH=`.${wft}`;vn.BACK_SLASH_RE=/\\/g;vn.DOUBLE_SLASH_RE=/\/\//;vn.SLASH_OR_BACK_SLASH_RE=/[/\\]/;vn.DOT_RE=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/;vn.REPLACER_RE=/^\.[/\\]/;vn.SLASH="/";vn.SLASH_SLASH="//";vn.BRACE_START="{";vn.BANG="!";vn.ONE_DOT=".";vn.TWO_DOTS="..";vn.STAR="*";vn.GLOBSTAR="**";vn.ROOT_GLOBSTAR="/**/*";vn.SLASH_GLOBSTAR="/**";vn.DIR_SUFFIX="Dir";vn.ANYMATCH_OPTS={dot:!0};vn.STRING_TYPE="string";vn.FUNCTION_TYPE="function";vn.EMPTY_STR="";vn.EMPTY_FN=()=>{};vn.IDENTITY_FN=e=>e;vn.isWindows=e7==="win32";vn.isMacos=e7==="darwin";vn.isLinux=e7==="linux";vn.isIBMi=kft.type()==="OS400"});var Oye=Le((X8t,Bye)=>{"use strict";var fp=require("fs"),yo=require("path"),{promisify:rb}=require("util"),Nft=kye(),{isWindows:Rft,isLinux:$ft,EMPTY_FN:Mft,EMPTY_STR:Bft,KEY_LISTENERS:lE,KEY_ERR:t7,KEY_RAW:Yg,HANDLER_KEYS:Oft,EV_CHANGE:tx,EV_ADD:ex,EV_ADD_DIR:Fft,EV_ERROR:Rye,STR_DATA:jft,STR_END:Uft,BRACE_START:qft,STAR:Wft}=YC(),Vft="watch",Kft=rb(fp.open),$ye=rb(fp.stat),Gft=rb(fp.lstat),Xft=rb(fp.close),r7=rb(fp.realpath),Zft={lstat:Gft,stat:$ye},i7=(e,t)=>{e instanceof Set?e.forEach(t):t(e)},eb=(e,t,n)=>{let i=e[t];i instanceof Set||(e[t]=i=new Set([i])),i.add(n)},zft=e=>t=>{let n=e[t];n instanceof Set?n.clear():delete e[t]},tb=(e,t,n)=>{let i=e[t];i instanceof Set?i.delete(n):i===n&&delete e[t]},Mye=e=>e instanceof Set?e.size===0:!e,rx=new Map;function Nye(e,t,n,i,o){let r=(c,s)=>{n(e),o(c,s,{watchedPath:e}),s&&e!==s&&nx(yo.resolve(e,s),lE,yo.join(e,s))};try{return fp.watch(e,t,r)}catch(c){i(c)}}var nx=(e,t,n,i,o)=>{let r=rx.get(e);r&&i7(r[t],c=>{c(n,i,o)})},Jft=(e,t,n,i)=>{let{listener:o,errHandler:r,rawEmitter:c}=i,s=rx.get(t),u;if(!n.persistent)return u=Nye(e,n,o,r,c),u.close.bind(u);if(s)eb(s,lE,o),eb(s,t7,r),eb(s,Yg,c);else{if(u=Nye(e,n,nx.bind(null,t,lE),r,nx.bind(null,t,Yg)),!u)return;u.on(Rye,async H=>{let a=nx.bind(null,t,t7);if(s.watcherUnusable=!0,Rft&&H.code==="EPERM")try{let l=await Kft(e,"r");await Xft(l),a(H)}catch{}else a(H)}),s={listeners:o,errHandlers:r,rawEmitters:c,watcher:u},rx.set(t,s)}return()=>{tb(s,lE,o),tb(s,t7,r),tb(s,Yg,c),Mye(s.listeners)&&(s.watcher.close(),rx.delete(t),Oft.forEach(zft(s)),s.watcher=void 0,Object.freeze(s))}},n7=new Map,Qft=(e,t,n,i)=>{let{listener:o,rawEmitter:r}=i,c=n7.get(t),s=new Set,u=new Set,H=c&&c.options;return H&&(H.persistent<n.persistent||H.interval>n.interval)&&(s=c.listeners,u=c.rawEmitters,fp.unwatchFile(t),c=void 0),c?(eb(c,lE,o),eb(c,Yg,r)):(c={listeners:o,rawEmitters:r,options:n,watcher:fp.watchFile(t,n,(a,l)=>{i7(c.rawEmitters,d=>{d(tx,t,{curr:a,prev:l})});let p=a.mtimeMs;(a.size!==l.size||p>l.mtimeMs||p===0)&&i7(c.listeners,d=>d(e,a))})},n7.set(t,c)),()=>{tb(c,lE,o),tb(c,Yg,r),Mye(c.listeners)&&(n7.delete(t),fp.unwatchFile(t),c.options=c.watcher=void 0,Object.freeze(c))}},s7=class{constructor(t){this.fsw=t,this._boundHandleError=n=>t._handleError(n)}_watchWithNodeFs(t,n){let i=this.fsw.options,o=yo.dirname(t),r=yo.basename(t);this.fsw._getWatchedDir(o).add(r);let s=yo.resolve(t),u={persistent:i.persistent};n||(n=Mft);let H;return i.usePolling?(u.interval=i.enableBinaryInterval&&Nft(r)?i.binaryInterval:i.interval,H=Qft(t,s,u,{listener:n,rawEmitter:this.fsw._emitRaw})):H=Jft(t,s,u,{listener:n,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw}),H}_handleFile(t,n,i){if(this.fsw.closed)return;let o=yo.dirname(t),r=yo.basename(t),c=this.fsw._getWatchedDir(o),s=n;if(c.has(r))return;let u=async(a,l)=>{if(this.fsw._throttle(Vft,t,5)){if(!l||l.mtimeMs===0)try{let p=await $ye(t);if(this.fsw.closed)return;let d=p.atimeMs,h=p.mtimeMs;(!d||d<=h||h!==s.mtimeMs)&&this.fsw._emit(tx,t,p),$ft&&s.ino!==p.ino?(this.fsw._closeFile(a),s=p,this.fsw._addPathCloser(a,this._watchWithNodeFs(t,u))):s=p}catch{this.fsw._remove(o,r)}else if(c.has(r)){let p=l.atimeMs,d=l.mtimeMs;(!p||p<=d||d!==s.mtimeMs)&&this.fsw._emit(tx,t,l),s=l}}},H=this._watchWithNodeFs(t,u);if(!(i&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(t)){if(!this.fsw._throttle(ex,t,0))return;this.fsw._emit(ex,t,n)}return H}async _handleSymlink(t,n,i,o){if(this.fsw.closed)return;let r=t.fullPath,c=this.fsw._getWatchedDir(n);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let s;try{s=await r7(i)}catch{return this.fsw._emitReady(),!0}return this.fsw.closed?void 0:(c.has(o)?this.fsw._symlinkPaths.get(r)!==s&&(this.fsw._symlinkPaths.set(r,s),this.fsw._emit(tx,i,t.stats)):(c.add(o),this.fsw._symlinkPaths.set(r,s),this.fsw._emit(ex,i,t.stats)),this.fsw._emitReady(),!0)}if(this.fsw._symlinkPaths.has(r))return!0;this.fsw._symlinkPaths.set(r,!0)}_handleRead(t,n,i,o,r,c,s){if(t=yo.join(t,Bft),!i.hasGlob&&(s=this.fsw._throttle("readdir",t,1e3),!s))return;let u=this.fsw._getWatchedDir(i.path),H=new Set,a=this.fsw._readdirp(t,{fileFilter:l=>i.filterPath(l),directoryFilter:l=>i.filterDir(l),depth:0}).on(jft,async l=>{if(this.fsw.closed){a=void 0;return}let p=l.path,d=yo.join(t,p);if(H.add(p),!(l.stats.isSymbolicLink()&&await this._handleSymlink(l,t,d,p))){if(this.fsw.closed){a=void 0;return}(p===o||!o&&!u.has(p))&&(this.fsw._incrReadyCount(),d=yo.join(r,yo.relative(r,d)),this._addToNodeFs(d,n,i,c+1))}}).on(Rye,this._boundHandleError);return new Promise(l=>a.once(Uft,()=>{if(this.fsw.closed){a=void 0;return}let p=s?s.clear():!1;l(),u.getChildren().filter(d=>d!==t&&!H.has(d)&&(!i.hasGlob||i.filterPath({fullPath:yo.resolve(t,d)}))).forEach(d=>{this.fsw._remove(t,d)}),a=void 0,p&&this._handleRead(t,!1,i,o,r,c,s)}))}async _handleDir(t,n,i,o,r,c,s){let u=this.fsw._getWatchedDir(yo.dirname(t)),H=u.has(yo.basename(t));!(i&&this.fsw.options.ignoreInitial)&&!r&&!H&&(!c.hasGlob||c.globFilter(t))&&this.fsw._emit(Fft,t,n),u.add(yo.basename(t)),this.fsw._getWatchedDir(t);let a,l,p=this.fsw.options.depth;if((p==null||o<=p)&&!this.fsw._symlinkPaths.has(s)){if(!r&&(await this._handleRead(t,i,c,r,t,o,a),this.fsw.closed))return;l=this._watchWithNodeFs(t,(d,h)=>{h&&h.mtimeMs===0||this._handleRead(d,!1,c,r,t,o,a)})}return l}async _addToNodeFs(t,n,i,o,r){let c=this.fsw._emitReady;if(this.fsw._isIgnored(t)||this.fsw.closed)return c(),!1;let s=this.fsw._getWatchHelpers(t,o);!s.hasGlob&&i&&(s.hasGlob=i.hasGlob,s.globFilter=i.globFilter,s.filterPath=u=>i.filterPath(u),s.filterDir=u=>i.filterDir(u));try{let u=await Zft[s.statMethod](s.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(s.watchPath,u))return c(),!1;let H=this.fsw.options.followSymlinks&&!t.includes(Wft)&&!t.includes(qft),a;if(u.isDirectory()){let l=yo.resolve(t),p=H?await r7(t):t;if(this.fsw.closed||(a=await this._handleDir(s.watchPath,u,n,o,r,s,p),this.fsw.closed))return;l!==p&&p!==void 0&&this.fsw._symlinkPaths.set(l,p)}else if(u.isSymbolicLink()){let l=H?await r7(t):t;if(this.fsw.closed)return;let p=yo.dirname(s.watchPath);if(this.fsw._getWatchedDir(p).add(s.watchPath),this.fsw._emit(ex,s.watchPath,u),a=await this._handleDir(p,u,n,o,t,s,l),this.fsw.closed)return;l!==void 0&&this.fsw._symlinkPaths.set(yo.resolve(t),l)}else a=this._handleFile(s.watchPath,u,n);return c(),this.fsw._addPathCloser(t,a),!1}catch(u){if(this.fsw._handleError(u))return c(),t}}};Bye.exports=s7});var jye,Fye=Pl(()=>{jye="./fsevents-X6WP4TKM.node"});var Wye=Le((J8t,qye)=>{Fye();var Uye=require("path");qye.exports=require((0,Uye.resolve)(__dirname,jye))});var Vye=Le(ix=>{"use strict";if(process.platform!=="darwin")throw new Error(`Module 'fsevents' is not compatible with platform '${process.platform}'`);var nb=Wye(),ol=nb.constants;function eht(e,t,n){if(typeof e!="string")throw new TypeError(`fsevents argument 1 must be a string and not a ${typeof e}`);if(typeof t=="function"&&typeof n>"u"&&(n=t,t=nb.flags.SinceNow),typeof t!="number")throw new TypeError(`fsevents argument 2 must be a number and not a ${typeof t}`);if(typeof n!="function")throw new TypeError(`fsevents argument 3 must be a function and not a ${typeof n}`);let i=nb.start(nb.global,e,t,n);if(!i)throw new Error(`could not watch: ${e}`);return()=>{let o=i?Promise.resolve(i).then(nb.stop):Promise.resolve(void 0);return i=void 0,o}}function tht(e,t){return{path:e,flags:t,event:iht(t),type:rht(t),changes:sht(t)}}function rht(e){if(ol.ItemIsFile&e)return"file";if(ol.ItemIsDir&e||ol.MustScanSubDirs&e)return"directory";if(ol.ItemIsSymlink&e)return"symlink"}function nht(e){for(let t in e)if(e[t])return!0;return!1}function iht(e){return ol.ItemRemoved&e?"deleted":ol.ItemRenamed&e?"moved":ol.ItemCreated&e?"created":ol.ItemModified&e?"modified":ol.RootChanged&e?"root-changed":ol.ItemCloned&e?"cloned":nht(e)?"modified":"unknown"}function sht(e){return{inode:!!(ol.ItemInodeMetaMod&e),finder:!!(ol.ItemFinderInfoMod&e),access:!!(ol.ItemChangeOwner&e),xattrs:!!(ol.ItemXattrMod&e)}}ix.watch=eht;ix.getInfo=tht;ix.constants=ol});var Qye=Le((Y8t,d7)=>{"use strict";var H7=require("fs"),go=require("path"),{promisify:p7}=require("util"),cE;try{cE=Vye()}catch(e){process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR&&console.error(e)}if(cE){let e=process.version.match(/v(\d+)\.(\d+)/);if(e&&e[1]&&e[2]){let t=Number.parseInt(e[1],10),n=Number.parseInt(e[2],10);t===8&&n<16&&(cE=void 0)}}var{EV_ADD:a7,EV_CHANGE:aht,EV_ADD_DIR:Kye,EV_UNLINK:sx,EV_ERROR:oht,STR_DATA:lht,STR_END:cht,FSEVENT_CREATED:uht,FSEVENT_MODIFIED:Hht,FSEVENT_DELETED:pht,FSEVENT_MOVED:dht,FSEVENT_UNKNOWN:fht,FSEVENT_FLAG_MUST_SCAN_SUBDIRS:hht,FSEVENT_TYPE_FILE:_ht,FSEVENT_TYPE_DIRECTORY:ib,FSEVENT_TYPE_SYMLINK:Jye,ROOT_GLOBSTAR:Gye,DIR_SUFFIX:mht,DOT_SLASH:Xye,FUNCTION_TYPE:o7,EMPTY_FN:Eht,IDENTITY_FN:yht}=YC(),ght=e=>isNaN(e)?{}:{depth:e},c7=p7(H7.stat),bht=p7(H7.lstat),Zye=p7(H7.realpath),Aht={stat:c7,lstat:bht},ph=new Map,Iht=10,Sht=new Set([69888,70400,71424,72704,73472,131328,131840,262912]),Lht=(e,t)=>({stop:cE.watch(e,t)});function Tht(e,t,n,i){let o=go.extname(t)?go.dirname(t):t,r=go.dirname(o),c=ph.get(o);vht(r)&&(o=r);let s=go.resolve(e),u=s!==t,H=(l,p,d)=>{u&&(l=l.replace(t,s)),(l===s||!l.indexOf(s+go.sep))&&n(l,p,d)},a=!1;for(let l of ph.keys())if(t.indexOf(go.resolve(l)+go.sep)===0){o=l,c=ph.get(o),a=!0;break}return c||a?c.listeners.add(H):(c={listeners:new Set([H]),rawEmitter:i,watcher:Lht(o,(l,p)=>{if(!c.listeners.size||p&hht)return;let d=cE.getInfo(l,p);c.listeners.forEach(h=>{h(l,p,d)}),c.rawEmitter(d.event,l,d)})},ph.set(o,c)),()=>{let l=c.listeners;if(l.delete(H),!l.size&&(ph.delete(o),c.watcher))return c.watcher.stop().then(()=>{c.rawEmitter=c.watcher=void 0,Object.freeze(c)})}}var vht=e=>{let t=0;for(let n of ph.keys())if(n.indexOf(e)===0&&(t++,t>=Iht))return!0;return!1},Cht=()=>cE&&ph.size<128,l7=(e,t)=>{let n=0;for(;!e.indexOf(t)&&(e=go.dirname(e))!==t;)n++;return n},zye=(e,t)=>e.type===ib&&t.isDirectory()||e.type===Jye&&t.isSymbolicLink()||e.type===_ht&&t.isFile(),u7=class{constructor(t){this.fsw=t}checkIgnored(t,n){let i=this.fsw._ignoredPaths;if(this.fsw._isIgnored(t,n))return i.add(t),n&&n.isDirectory()&&i.add(t+Gye),!0;i.delete(t),i.delete(t+Gye)}addOrChange(t,n,i,o,r,c,s,u){let H=r.has(c)?aht:a7;this.handleEvent(H,t,n,i,o,r,c,s,u)}async checkExists(t,n,i,o,r,c,s,u){try{let H=await c7(t);if(this.fsw.closed)return;zye(s,H)?this.addOrChange(t,n,i,o,r,c,s,u):this.handleEvent(sx,t,n,i,o,r,c,s,u)}catch(H){H.code==="EACCES"?this.addOrChange(t,n,i,o,r,c,s,u):this.handleEvent(sx,t,n,i,o,r,c,s,u)}}handleEvent(t,n,i,o,r,c,s,u,H){if(!(this.fsw.closed||this.checkIgnored(n)))if(t===sx){let a=u.type===ib;(a||c.has(s))&&this.fsw._remove(r,s,a)}else{if(t===a7){if(u.type===ib&&this.fsw._getWatchedDir(n),u.type===Jye&&H.followSymlinks){let l=H.depth===void 0?void 0:l7(i,o)+1;return this._addToFsEvents(n,!1,!0,l)}this.fsw._getWatchedDir(r).add(s)}let a=u.type===ib?t+mht:t;this.fsw._emit(a,n),a===Kye&&this._addToFsEvents(n,!1,!0)}}_watchWithFsEvents(t,n,i,o){if(this.fsw.closed||this.fsw._isIgnored(t))return;let r=this.fsw.options,s=Tht(t,n,async(u,H,a)=>{if(this.fsw.closed||r.depth!==void 0&&l7(u,n)>r.depth)return;let l=i(go.join(t,go.relative(t,u)));if(o&&!o(l))return;let p=go.dirname(l),d=go.basename(l),h=this.fsw._getWatchedDir(a.type===ib?l:p);if(Sht.has(H)||a.event===fht)if(typeof r.ignored===o7){let m;try{m=await c7(l)}catch{}if(this.fsw.closed||this.checkIgnored(l,m))return;zye(a,m)?this.addOrChange(l,u,n,p,h,d,a,r):this.handleEvent(sx,l,u,n,p,h,d,a,r)}else this.checkExists(l,u,n,p,h,d,a,r);else switch(a.event){case uht:case Hht:return this.addOrChange(l,u,n,p,h,d,a,r);case pht:case dht:return this.checkExists(l,u,n,p,h,d,a,r)}},this.fsw._emitRaw);return this.fsw._emitReady(),s}async _handleFsEventsSymlink(t,n,i,o){if(!(this.fsw.closed||this.fsw._symlinkPaths.has(n))){this.fsw._symlinkPaths.set(n,!0),this.fsw._incrReadyCount();try{let r=await Zye(t);if(this.fsw.closed)return;if(this.fsw._isIgnored(r))return this.fsw._emitReady();this.fsw._incrReadyCount(),this._addToFsEvents(r||t,c=>{let s=t;return r&&r!==Xye?s=c.replace(r,t):c!==Xye&&(s=go.join(t,c)),i(s)},!1,o)}catch(r){if(this.fsw._handleError(r))return this.fsw._emitReady()}}}emitAdd(t,n,i,o,r){let c=i(t),s=n.isDirectory(),u=this.fsw._getWatchedDir(go.dirname(c)),H=go.basename(c);s&&this.fsw._getWatchedDir(c),!u.has(H)&&(u.add(H),(!o.ignoreInitial||r===!0)&&this.fsw._emit(s?Kye:a7,c,n))}initWatch(t,n,i,o){if(this.fsw.closed)return;let r=this._watchWithFsEvents(i.watchPath,go.resolve(t||i.watchPath),o,i.globFilter);this.fsw._addPathCloser(n,r)}async _addToFsEvents(t,n,i,o){if(this.fsw.closed)return;let r=this.fsw.options,c=typeof n===o7?n:yht,s=this.fsw._getWatchHelpers(t);try{let u=await Aht[s.statMethod](s.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(s.watchPath,u))throw null;if(u.isDirectory()){if(s.globFilter||this.emitAdd(c(t),u,c,r,i),o&&o>r.depth)return;this.fsw._readdirp(s.watchPath,{fileFilter:H=>s.filterPath(H),directoryFilter:H=>s.filterDir(H),...ght(r.depth-(o||0))}).on(lht,H=>{if(this.fsw.closed||H.stats.isDirectory()&&!s.filterPath(H))return;let a=go.join(s.watchPath,H.path),{fullPath:l}=H;if(s.followSymlinks&&H.stats.isSymbolicLink()){let p=r.depth===void 0?void 0:l7(a,go.resolve(s.watchPath))+1;this._handleFsEventsSymlink(a,l,c,p)}else this.emitAdd(a,H.stats,c,r,i)}).on(oht,Eht).on(cht,()=>{this.fsw._emitReady()})}else this.emitAdd(s.watchPath,u,c,r,i),this.fsw._emitReady()}catch(u){(!u||this.fsw._handleError(u))&&(this.fsw._emitReady(),this.fsw._emitReady())}if(r.persistent&&i!==!0)if(typeof n===o7)this.initWatch(void 0,t,s,c);else{let u;try{u=await Zye(s.watchPath)}catch{}this.initWatch(u,t,s,c)}}};d7.exports=u7;d7.exports.canUse=Cht});var c1e=Le(C7=>{"use strict";var{EventEmitter:xht}=require("events"),T7=require("fs"),ys=require("path"),{promisify:s1e}=require("util"),Dht=Aye(),y7=Cye().default,Pht=IO(),f7=cg(),wht=E0(),kht=Kh(),Nht=Oye(),Yye=Qye(),{EV_ALL:h7,EV_READY:Rht,EV_ADD:ax,EV_CHANGE:sb,EV_UNLINK:e1e,EV_ADD_DIR:$ht,EV_UNLINK_DIR:Mht,EV_RAW:Bht,EV_ERROR:_7,STR_CLOSE:Oht,STR_END:Fht,BACK_SLASH_RE:jht,DOUBLE_SLASH_RE:t1e,SLASH_OR_BACK_SLASH_RE:Uht,DOT_RE:qht,REPLACER_RE:Wht,SLASH:m7,SLASH_SLASH:Vht,BRACE_START:Kht,BANG:g7,ONE_DOT:a1e,TWO_DOTS:Ght,GLOBSTAR:Xht,SLASH_GLOBSTAR:E7,ANYMATCH_OPTS:b7,STRING_TYPE:v7,FUNCTION_TYPE:Zht,EMPTY_STR:A7,EMPTY_FN:zht,isWindows:Jht,isMacos:Qht,isIBMi:Yht}=YC(),e_t=s1e(T7.stat),t_t=s1e(T7.readdir),I7=(e=[])=>Array.isArray(e)?e:[e],o1e=(e,t=[])=>(e.forEach(n=>{Array.isArray(n)?o1e(n,t):t.push(n)}),t),r1e=e=>{let t=o1e(I7(e));if(!t.every(n=>typeof n===v7))throw new TypeError(`Non-string provided as watch path: ${t}`);return t.map(l1e)},n1e=e=>{let t=e.replace(jht,m7),n=!1;for(t.startsWith(Vht)&&(n=!0);t.match(t1e);)t=t.replace(t1e,m7);return n&&(t=m7+t),t},l1e=e=>n1e(ys.normalize(n1e(e))),i1e=(e=A7)=>t=>typeof t!==v7?t:l1e(ys.isAbsolute(t)?t:ys.join(e,t)),r_t=(e,t)=>ys.isAbsolute(e)?e:e.startsWith(g7)?g7+ys.join(t,e.slice(1)):ys.join(t,e),yu=(e,t)=>e[t]===void 0,S7=class{constructor(t,n){this.path=t,this._removeWatcher=n,this.items=new Set}add(t){let{items:n}=this;n&&t!==a1e&&t!==Ght&&n.add(t)}async remove(t){let{items:n}=this;if(!n||(n.delete(t),n.size>0))return;let i=this.path;try{await t_t(i)}catch{this._removeWatcher&&this._removeWatcher(ys.dirname(i),ys.basename(i))}}has(t){let{items:n}=this;if(n)return n.has(t)}getChildren(){let{items:t}=this;if(t)return[...t.values()]}dispose(){this.items.clear(),delete this.path,delete this._removeWatcher,delete this.items,Object.freeze(this)}},n_t="stat",i_t="lstat",L7=class{constructor(t,n,i,o){this.fsw=o,this.path=t=t.replace(Wht,A7),this.watchPath=n,this.fullWatchPath=ys.resolve(n),this.hasGlob=n!==t,t===A7&&(this.hasGlob=!1),this.globSymlink=this.hasGlob&&i?void 0:!1,this.globFilter=this.hasGlob?y7(t,void 0,b7):!1,this.dirParts=this.getDirParts(t),this.dirParts.forEach(r=>{r.length>1&&r.pop()}),this.followSymlinks=i,this.statMethod=i?n_t:i_t}checkGlobSymlink(t){return this.globSymlink===void 0&&(this.globSymlink=t.fullParentDir===this.fullWatchPath?!1:{realPath:t.fullParentDir,linkPath:this.fullWatchPath}),this.globSymlink?t.fullPath.replace(this.globSymlink.realPath,this.globSymlink.linkPath):t.fullPath}entryPath(t){return ys.join(this.watchPath,ys.relative(this.watchPath,this.checkGlobSymlink(t)))}filterPath(t){let{stats:n}=t;if(n&&n.isSymbolicLink())return this.filterDir(t);let i=this.entryPath(t);return(this.hasGlob&&typeof this.globFilter===Zht?this.globFilter(i):!0)&&this.fsw._isntIgnored(i,n)&&this.fsw._hasReadPermissions(n)}getDirParts(t){if(!this.hasGlob)return[];let n=[];return(t.includes(Kht)?wht.expand(t):[t]).forEach(o=>{n.push(ys.relative(this.watchPath,o).split(Uht))}),n}filterDir(t){if(this.hasGlob){let n=this.getDirParts(this.checkGlobSymlink(t)),i=!1;this.unmatchedGlob=!this.dirParts.some(o=>o.every((r,c)=>(r===Xht&&(i=!0),i||!n[0][c]||y7(r,n[0][c],b7))))}return!this.unmatchedGlob&&this.fsw._isntIgnored(this.entryPath(t),t.stats)}},ox=class extends xht{constructor(t){super();let n={};t&&Object.assign(n,t),this._watched=new Map,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._symlinkPaths=new Map,this._streams=new Set,this.closed=!1,yu(n,"persistent")&&(n.persistent=!0),yu(n,"ignoreInitial")&&(n.ignoreInitial=!1),yu(n,"ignorePermissionErrors")&&(n.ignorePermissionErrors=!1),yu(n,"interval")&&(n.interval=100),yu(n,"binaryInterval")&&(n.binaryInterval=300),yu(n,"disableGlobbing")&&(n.disableGlobbing=!1),n.enableBinaryInterval=n.binaryInterval!==n.interval,yu(n,"useFsEvents")&&(n.useFsEvents=!n.usePolling),Yye.canUse()||(n.useFsEvents=!1),yu(n,"usePolling")&&!n.useFsEvents&&(n.usePolling=Qht),Yht&&(n.usePolling=!0);let o=process.env.CHOKIDAR_USEPOLLING;if(o!==void 0){let u=o.toLowerCase();u==="false"||u==="0"?n.usePolling=!1:u==="true"||u==="1"?n.usePolling=!0:n.usePolling=!!u}let r=process.env.CHOKIDAR_INTERVAL;r&&(n.interval=Number.parseInt(r,10)),yu(n,"atomic")&&(n.atomic=!n.usePolling&&!n.useFsEvents),n.atomic&&(this._pendingUnlinks=new Map),yu(n,"followSymlinks")&&(n.followSymlinks=!0),yu(n,"awaitWriteFinish")&&(n.awaitWriteFinish=!1),n.awaitWriteFinish===!0&&(n.awaitWriteFinish={});let c=n.awaitWriteFinish;c&&(c.stabilityThreshold||(c.stabilityThreshold=2e3),c.pollInterval||(c.pollInterval=100),this._pendingWrites=new Map),n.ignored&&(n.ignored=I7(n.ignored));let s=0;this._emitReady=()=>{s++,s>=this._readyCount&&(this._emitReady=zht,this._readyEmitted=!0,process.nextTick(()=>this.emit(Rht)))},this._emitRaw=(...u)=>this.emit(Bht,...u),this._readyEmitted=!1,this.options=n,n.useFsEvents?this._fsEventsHandler=new Yye(this):this._nodeFsHandler=new Nht(this),Object.freeze(n)}add(t,n,i){let{cwd:o,disableGlobbing:r}=this.options;this.closed=!1;let c=r1e(t);return o&&(c=c.map(s=>{let u=r_t(s,o);return r||!f7(s)?u:kht(u)})),c=c.filter(s=>s.startsWith(g7)?(this._ignoredPaths.add(s.slice(1)),!1):(this._ignoredPaths.delete(s),this._ignoredPaths.delete(s+E7),this._userIgnored=void 0,!0)),this.options.useFsEvents&&this._fsEventsHandler?(this._readyCount||(this._readyCount=c.length),this.options.persistent&&(this._readyCount+=c.length),c.forEach(s=>this._fsEventsHandler._addToFsEvents(s))):(this._readyCount||(this._readyCount=0),this._readyCount+=c.length,Promise.all(c.map(async s=>{let u=await this._nodeFsHandler._addToNodeFs(s,!i,0,0,n);return u&&this._emitReady(),u})).then(s=>{this.closed||s.filter(u=>u).forEach(u=>{this.add(ys.dirname(u),ys.basename(n||u))})})),this}unwatch(t){if(this.closed)return this;let n=r1e(t),{cwd:i}=this.options;return n.forEach(o=>{!ys.isAbsolute(o)&&!this._closers.has(o)&&(i&&(o=ys.join(i,o)),o=ys.resolve(o)),this._closePath(o),this._ignoredPaths.add(o),this._watched.has(o)&&this._ignoredPaths.add(o+E7),this._userIgnored=void 0}),this}close(){if(this.closed)return this._closePromise;this.closed=!0,this.removeAllListeners();let t=[];return this._closers.forEach(n=>n.forEach(i=>{let o=i();o instanceof Promise&&t.push(o)})),this._streams.forEach(n=>n.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach(n=>n.dispose()),["closers","watched","streams","symlinkPaths","throttled"].forEach(n=>{this[`_${n}`].clear()}),this._closePromise=t.length?Promise.all(t).then(()=>{}):Promise.resolve(),this._closePromise}getWatched(){let t={};return this._watched.forEach((n,i)=>{let o=this.options.cwd?ys.relative(this.options.cwd,i):i;t[o||a1e]=n.getChildren().sort()}),t}emitWithAll(t,n){this.emit(...n),t!==_7&&this.emit(h7,...n)}async _emit(t,n,i,o,r){if(this.closed)return;let c=this.options;Jht&&(n=ys.normalize(n)),c.cwd&&(n=ys.relative(c.cwd,n));let s=[t,n];r!==void 0?s.push(i,o,r):o!==void 0?s.push(i,o):i!==void 0&&s.push(i);let u=c.awaitWriteFinish,H;if(u&&(H=this._pendingWrites.get(n)))return H.lastChange=new Date,this;if(c.atomic){if(t===e1e)return this._pendingUnlinks.set(n,s),setTimeout(()=>{this._pendingUnlinks.forEach((a,l)=>{this.emit(...a),this.emit(h7,...a),this._pendingUnlinks.delete(l)})},typeof c.atomic=="number"?c.atomic:100),this;t===ax&&this._pendingUnlinks.has(n)&&(t=s[0]=sb,this._pendingUnlinks.delete(n))}if(u&&(t===ax||t===sb)&&this._readyEmitted){let a=(l,p)=>{l?(t=s[0]=_7,s[1]=l,this.emitWithAll(t,s)):p&&(s.length>2?s[2]=p:s.push(p),this.emitWithAll(t,s))};return this._awaitWriteFinish(n,u.stabilityThreshold,t,a),this}if(t===sb&&!this._throttle(sb,n,50))return this;if(c.alwaysStat&&i===void 0&&(t===ax||t===$ht||t===sb)){let a=c.cwd?ys.join(c.cwd,n):n,l;try{l=await e_t(a)}catch{}if(!l||this.closed)return;s.push(l)}return this.emitWithAll(t,s),this}_handleError(t){let n=t&&t.code;return t&&n!=="ENOENT"&&n!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||n!=="EPERM"&&n!=="EACCES")&&this.emit(_7,t),t||this.closed}_throttle(t,n,i){this._throttled.has(t)||this._throttled.set(t,new Map);let o=this._throttled.get(t),r=o.get(n);if(r)return r.count++,!1;let c,s=()=>{let H=o.get(n),a=H?H.count:0;return o.delete(n),clearTimeout(c),H&&clearTimeout(H.timeoutObject),a};c=setTimeout(s,i);let u={timeoutObject:c,clear:s,count:0};return o.set(n,u),u}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(t,n,i,o){let r,c=t;this.options.cwd&&!ys.isAbsolute(t)&&(c=ys.join(this.options.cwd,t));let s=new Date,u=H=>{T7.stat(c,(a,l)=>{if(a||!this._pendingWrites.has(t)){a&&a.code!=="ENOENT"&&o(a);return}let p=Number(new Date);H&&l.size!==H.size&&(this._pendingWrites.get(t).lastChange=p);let d=this._pendingWrites.get(t);p-d.lastChange>=n?(this._pendingWrites.delete(t),o(void 0,l)):r=setTimeout(u,this.options.awaitWriteFinish.pollInterval,l)})};this._pendingWrites.has(t)||(this._pendingWrites.set(t,{lastChange:s,cancelWait:()=>(this._pendingWrites.delete(t),clearTimeout(r),i)}),r=setTimeout(u,this.options.awaitWriteFinish.pollInterval))}_getGlobIgnored(){return[...this._ignoredPaths.values()]}_isIgnored(t,n){if(this.options.atomic&&qht.test(t))return!0;if(!this._userIgnored){let{cwd:i}=this.options,o=this.options.ignored,r=o&&o.map(i1e(i)),c=I7(r).filter(u=>typeof u===v7&&!f7(u)).map(u=>u+E7),s=this._getGlobIgnored().map(i1e(i)).concat(r,c);this._userIgnored=y7(s,void 0,b7)}return this._userIgnored([t,n])}_isntIgnored(t,n){return!this._isIgnored(t,n)}_getWatchHelpers(t,n){let i=n||this.options.disableGlobbing||!f7(t)?t:Pht(t),o=this.options.followSymlinks;return new L7(t,i,o,this)}_getWatchedDir(t){this._boundRemove||(this._boundRemove=this._remove.bind(this));let n=ys.resolve(t);return this._watched.has(n)||this._watched.set(n,new S7(n,this._boundRemove)),this._watched.get(n)}_hasReadPermissions(t){if(this.options.ignorePermissionErrors)return!0;let i=(t&&Number.parseInt(t.mode,10))&511;return!!(4&Number.parseInt(i.toString(8)[0],10))}_remove(t,n,i){let o=ys.join(t,n),r=ys.resolve(o);if(i=i??(this._watched.has(o)||this._watched.has(r)),!this._throttle("remove",o,100))return;!i&&!this.options.useFsEvents&&this._watched.size===1&&this.add(t,n,!0),this._getWatchedDir(o).getChildren().forEach(p=>this._remove(o,p));let u=this._getWatchedDir(t),H=u.has(n);u.remove(n),this._symlinkPaths.has(r)&&this._symlinkPaths.delete(r);let a=o;if(this.options.cwd&&(a=ys.relative(this.options.cwd,o)),this.options.awaitWriteFinish&&this._pendingWrites.has(a)&&this._pendingWrites.get(a).cancelWait()===ax)return;this._watched.delete(o),this._watched.delete(r);let l=i?Mht:e1e;H&&!this._isIgnored(o)&&this._emit(l,o),this.options.useFsEvents||this._closePath(o)}_closePath(t){this._closeFile(t);let n=ys.dirname(t);this._getWatchedDir(n).remove(ys.basename(t))}_closeFile(t){let n=this._closers.get(t);n&&(n.forEach(i=>i()),this._closers.delete(t))}_addPathCloser(t,n){if(!n)return;let i=this._closers.get(t);i||(i=[],this._closers.set(t,i)),i.push(n)}_readdirp(t,n){if(this.closed)return;let i={type:h7,alwaysStat:!0,lstat:!0,...n},o=Dht(t,i);return this._streams.add(o),o.once(Oht,()=>{o=void 0}),o.once(Fht,()=>{o&&(this._streams.delete(o),o=void 0)}),o}};C7.FSWatcher=ox;var s_t=(e,t)=>{let n=new ox(t);return n.add(e),n};C7.watch=s_t});var Dh=mr(require("node:module")),R6=mr(require("node:path"));var Yge=mr(require("node:fs")),rD=mr(require("node:path"));function ob(e,t){return e.start.line===t.start.line&&e.start.character===t.start.character&&e.end.line===t.end.line&&e.end.character===t.end.character}function fx(e){return e.filter((t,n,i)=>i.indexOf(t)===n)}function k7(e,t){return e.filter((n,i,o)=>o.map(t).indexOf(t(n))===i)}function Sh(e){return e.filter((t,n)=>n===e.findIndex(i=>ob(i.range,t.range)))}function yp(e){return Array.isArray(e)?e:[e]}function fH(e){return[].concat.apply([],e)}function wl(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;let n=e.concat().sort(),i=t.concat().sort();for(let o=0;o<n.length;++o)if(n[o]!==i[o])return!1;return!0}function N7(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0}var yb=mr(tD()),k6,nD=Object.keys(require.extensions);function sD(){let e=new yb.CachedInputFileSystem(Yge,4e3);return yb.ResolverFactory.createResolver({fileSystem:e,useSyncFileSystemCalls:!0,conditionNames:["node","require"],extensions:nD,pnpApi:k6})}var iD=sD();function N6(e){k6=e,iD=sD()}function fs(e,t){if(t.startsWith("\\\\")||t.startsWith("//")&&rD.sep==="\\")return t;e.startsWith("//")&&rD.sep==="\\"&&(e="\\\\"+e.slice(2));let n=Object.keys(require.extensions);wl(n,nD)||(nD=n,iD=sD());let i=iD.resolveSync({},e,t);if(i===!1)throw Error();return i=i.replace(/\0(.)/g,"$1"),i}process.env.TAILWIND_MODE="build";process.env.TAILWIND_DISABLE_TOUCH="true";var ebe=Dh.default._resolveFilename;function tbe(e){return"isBuiltin"in Dh.default?Dh.default.isBuiltin(e):Dh.default.builtinModules.includes(e.replace(/^node:/,""))}Dh.default._resolveFilename=(e,t)=>typeof e=="string"&&tbe(e)?ebe(e,t):t?fs(R6.dirname(t.id),e):fs(process.cwd(),e);var D7=mr(ty());var WW=`/*
|
|
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
|
*/
|
|
|
|
*,
|
|
::before,
|
|
::after {
|
|
box-sizing: border-box; /* 1 */
|
|
border-width: 0; /* 2 */
|
|
border-style: solid; /* 2 */
|
|
border-color: theme('borderColor.DEFAULT', currentColor); /* 2 */
|
|
}
|
|
|
|
::before,
|
|
::after {
|
|
--tw-content: '';
|
|
}
|
|
|
|
/*
|
|
1. Use a consistent sensible line-height in all browsers.
|
|
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
3. Use a more readable tab size.
|
|
4. Use the user's configured \`sans\` font-family by default.
|
|
5. Use the user's configured \`sans\` font-feature-settings by default.
|
|
6. Use the user's configured \`sans\` font-variation-settings by default.
|
|
7. Disable tap highlights on iOS
|
|
*/
|
|
|
|
html,
|
|
:host {
|
|
line-height: 1.5; /* 1 */
|
|
-webkit-text-size-adjust: 100%; /* 2 */
|
|
-moz-tab-size: 4; /* 3 */
|
|
tab-size: 4; /* 3 */
|
|
font-family: theme('fontFamily.sans', ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"); /* 4 */
|
|
font-feature-settings: theme('fontFamily.sans[1].fontFeatureSettings', normal); /* 5 */
|
|
font-variation-settings: theme('fontFamily.sans[1].fontVariationSettings', normal); /* 6 */
|
|
-webkit-tap-highlight-color: transparent; /* 7 */
|
|
}
|
|
|
|
/*
|
|
1. Remove the margin in all browsers.
|
|
2. Inherit line-height from \`html\` so users can set them as a class directly on the \`html\` element.
|
|
*/
|
|
|
|
body {
|
|
margin: 0; /* 1 */
|
|
line-height: inherit; /* 2 */
|
|
}
|
|
|
|
/*
|
|
1. Add the correct height in Firefox.
|
|
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
3. Ensure horizontal rules are visible by default.
|
|
*/
|
|
|
|
hr {
|
|
height: 0; /* 1 */
|
|
color: inherit; /* 2 */
|
|
border-top-width: 1px; /* 3 */
|
|
}
|
|
|
|
/*
|
|
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
*/
|
|
|
|
abbr:where([title]) {
|
|
text-decoration: underline dotted;
|
|
}
|
|
|
|
/*
|
|
Remove the default font size and weight for headings.
|
|
*/
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-size: inherit;
|
|
font-weight: inherit;
|
|
}
|
|
|
|
/*
|
|
Reset links to optimize for opt-in styling instead of opt-out.
|
|
*/
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: inherit;
|
|
}
|
|
|
|
/*
|
|
Add the correct font weight in Edge and Safari.
|
|
*/
|
|
|
|
b,
|
|
strong {
|
|
font-weight: bolder;
|
|
}
|
|
|
|
/*
|
|
1. Use the user's configured \`mono\` font-family by default.
|
|
2. Use the user's configured \`mono\` font-feature-settings by default.
|
|
3. Use the user's configured \`mono\` font-variation-settings by default.
|
|
4. Correct the odd \`em\` font sizing in all browsers.
|
|
*/
|
|
|
|
code,
|
|
kbd,
|
|
samp,
|
|
pre {
|
|
font-family: theme('fontFamily.mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace); /* 1 */
|
|
font-feature-settings: theme('fontFamily.mono[1].fontFeatureSettings', normal); /* 2 */
|
|
font-variation-settings: theme('fontFamily.mono[1].fontVariationSettings', normal); /* 3 */
|
|
font-size: 1em; /* 4 */
|
|
}
|
|
|
|
/*
|
|
Add the correct font size in all browsers.
|
|
*/
|
|
|
|
small {
|
|
font-size: 80%;
|
|
}
|
|
|
|
/*
|
|
Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers.
|
|
*/
|
|
|
|
sub,
|
|
sup {
|
|
font-size: 75%;
|
|
line-height: 0;
|
|
position: relative;
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
sub {
|
|
bottom: -0.25em;
|
|
}
|
|
|
|
sup {
|
|
top: -0.5em;
|
|
}
|
|
|
|
/*
|
|
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
3. Remove gaps between table borders by default.
|
|
*/
|
|
|
|
table {
|
|
text-indent: 0; /* 1 */
|
|
border-color: inherit; /* 2 */
|
|
border-collapse: collapse; /* 3 */
|
|
}
|
|
|
|
/*
|
|
1. Change the font styles in all browsers.
|
|
2. Remove the margin in Firefox and Safari.
|
|
3. Remove default padding in all browsers.
|
|
*/
|
|
|
|
button,
|
|
input,
|
|
optgroup,
|
|
select,
|
|
textarea {
|
|
font-family: inherit; /* 1 */
|
|
font-feature-settings: inherit; /* 1 */
|
|
font-variation-settings: inherit; /* 1 */
|
|
font-size: 100%; /* 1 */
|
|
font-weight: inherit; /* 1 */
|
|
line-height: inherit; /* 1 */
|
|
letter-spacing: inherit; /* 1 */
|
|
color: inherit; /* 1 */
|
|
margin: 0; /* 2 */
|
|
padding: 0; /* 3 */
|
|
}
|
|
|
|
/*
|
|
Remove the inheritance of text transform in Edge and Firefox.
|
|
*/
|
|
|
|
button,
|
|
select {
|
|
text-transform: none;
|
|
}
|
|
|
|
/*
|
|
1. Correct the inability to style clickable types in iOS and Safari.
|
|
2. Remove default button styles.
|
|
*/
|
|
|
|
button,
|
|
input:where([type='button']),
|
|
input:where([type='reset']),
|
|
input:where([type='submit']) {
|
|
-webkit-appearance: button; /* 1 */
|
|
background-color: transparent; /* 2 */
|
|
background-image: none; /* 2 */
|
|
}
|
|
|
|
/*
|
|
Use the modern Firefox focus style for all focusable elements.
|
|
*/
|
|
|
|
:-moz-focusring {
|
|
outline: auto;
|
|
}
|
|
|
|
/*
|
|
Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
*/
|
|
|
|
:-moz-ui-invalid {
|
|
box-shadow: none;
|
|
}
|
|
|
|
/*
|
|
Add the correct vertical alignment in Chrome and Firefox.
|
|
*/
|
|
|
|
progress {
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
/*
|
|
Correct the cursor style of increment and decrement buttons in Safari.
|
|
*/
|
|
|
|
::-webkit-inner-spin-button,
|
|
::-webkit-outer-spin-button {
|
|
height: auto;
|
|
}
|
|
|
|
/*
|
|
1. Correct the odd appearance in Chrome and Safari.
|
|
2. Correct the outline style in Safari.
|
|
*/
|
|
|
|
[type='search'] {
|
|
-webkit-appearance: textfield; /* 1 */
|
|
outline-offset: -2px; /* 2 */
|
|
}
|
|
|
|
/*
|
|
Remove the inner padding in Chrome and Safari on macOS.
|
|
*/
|
|
|
|
::-webkit-search-decoration {
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
/*
|
|
1. Correct the inability to style clickable types in iOS and Safari.
|
|
2. Change font properties to \`inherit\` in Safari.
|
|
*/
|
|
|
|
::-webkit-file-upload-button {
|
|
-webkit-appearance: button; /* 1 */
|
|
font: inherit; /* 2 */
|
|
}
|
|
|
|
/*
|
|
Add the correct display in Chrome and Safari.
|
|
*/
|
|
|
|
summary {
|
|
display: list-item;
|
|
}
|
|
|
|
/*
|
|
Removes the default spacing and border for appropriate elements.
|
|
*/
|
|
|
|
blockquote,
|
|
dl,
|
|
dd,
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6,
|
|
hr,
|
|
figure,
|
|
p,
|
|
pre {
|
|
margin: 0;
|
|
}
|
|
|
|
fieldset {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
legend {
|
|
padding: 0;
|
|
}
|
|
|
|
ol,
|
|
ul,
|
|
menu {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/*
|
|
Reset default styling for dialogs.
|
|
*/
|
|
dialog {
|
|
padding: 0;
|
|
}
|
|
|
|
/*
|
|
Prevent resizing textareas horizontally by default.
|
|
*/
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
/*
|
|
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
2. Set the default placeholder color to the user's configured gray 400 color.
|
|
*/
|
|
|
|
input::placeholder,
|
|
textarea::placeholder {
|
|
opacity: 1; /* 1 */
|
|
color: theme('colors.gray.400', #9ca3af); /* 2 */
|
|
}
|
|
|
|
/*
|
|
Set the default cursor for buttons.
|
|
*/
|
|
|
|
button,
|
|
[role="button"] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/*
|
|
Make sure disabled buttons don't get the pointer cursor.
|
|
*/
|
|
:disabled {
|
|
cursor: default;
|
|
}
|
|
|
|
/*
|
|
1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
*/
|
|
|
|
img,
|
|
svg,
|
|
video,
|
|
canvas,
|
|
audio,
|
|
iframe,
|
|
embed,
|
|
object {
|
|
display: block; /* 1 */
|
|
vertical-align: middle; /* 2 */
|
|
}
|
|
|
|
/*
|
|
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
*/
|
|
|
|
img,
|
|
video {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
/* Make elements with the HTML hidden attribute stay hidden by default */
|
|
[hidden]:where(:not([hidden="until-found"])) {
|
|
display: none;
|
|
}
|
|
`;var Ki=mr(ty()),hp=mr(ny()),HE=mr(Kh()),$c=mr(require("node:path")),p1e=mr(require("node:fs/promises")),x7=mr(require("node:fs")),uE=mr(bH()),cx=mr(sK());var Zh="{tailwind,tailwind.config,tailwind.*.config,tailwind.config.*}.{js,cjs,ts,mjs,mts,cts}",zh="{package-lock.json,yarn.lock,pnpm-lock.yaml}",Dp="*.{css,scss,sass,less,pcss}",AA="{tsconfig,tsconfig.*,jsconfig,jsconfig.*}.json";var Hw=mr(require("node:module")),IA=mr(require("node:path")),aK=mr(ny()),oK=mr(Kh()),pw=require("node:url");function lK(e){let t={log:console.log,warn:console.warn,error:console.error};for(let n in t)console[n]=()=>{};try{return e()}finally{for(let n in t)console[n]=t[n]}}function SA(...e){for(let t=0;t<e.length;t++){let n=e[t];if(t===e.length-1)return n();try{return n()}catch{}}}function fw(...e){for(let t=0;t<e.length;t++){let n=e[t];try{return n()}catch{}}}function oy(){Object.keys(require.cache).forEach(e=>{e.endsWith(".node")||delete require.cache[e]}),Object.keys(Hw.default._pathCache).forEach(e=>{delete Hw.default._pathCache[e]})}function af(e,t){try{return e()}catch{return t}}function Pu(e){return Object.prototype.toString.call(e)==="[object Object]"}function xTe(e,t){let n=IA.relative(e,t);return!!n&&!n.startsWith("..")&&!IA.isAbsolute(n)}var dw=/^([a-zA-Z]):/,cK=/^\/([a-zA-Z]):/;function zi(e){return e.replace(dw,(t,n)=>`${n.toUpperCase()}:`).replace(cK,(t,n)=>`/${n.toUpperCase()}:`)}function hw(e){let t=process.cwd().match(dw)?.[1];return e.replace(dw,(n,i)=>i.toUpperCase()===t.toUpperCase()?`${t}:`:`${i.toUpperCase()}:`).replace(cK,(n,i)=>i.toUpperCase()===t.toUpperCase()?`/${t}:`:`/${i.toUpperCase()}:`)}function of(e,t){for(let n of t)if(e===n||xTe(e,n))return!0;return!1}function As(e){let t=(0,oK.default)(e);return e.startsWith("\\\\")&&t.startsWith("/")&&!t.startsWith("//")?`/${t}`:t}function AH(e){try{return(0,pw.pathToFileURL)(e)}catch(t){if(process.platform!=="win32")throw t;return e=aK.URI.file(e).fsPath,(0,pw.pathToFileURL)(e)}}var dK=mr(ty());var LA=class e{constructor(t,n,i,o){this._uri=t,this._languageId=n,this._version=i,this._content=o,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(t){if(t){let n=this.offsetAt(t.start),i=this.offsetAt(t.end);return this._content.substring(n,i)}return this._content}update(t,n){for(let i of t)if(e.isIncremental(i)){let o=pK(i.range),r=this.offsetAt(o.start),c=this.offsetAt(o.end);this._content=this._content.substring(0,r)+i.text+this._content.substring(c,this._content.length);let s=Math.max(o.start.line,0),u=Math.max(o.end.line,0),H=this._lineOffsets,a=uK(i.text,!1,r);if(u-s===a.length)for(let p=0,d=a.length;p<d;p++)H[p+s+1]=a[p];else a.length<1e4?H.splice(s+1,u-s,...a):this._lineOffsets=H=H.slice(0,s+1).concat(a,H.slice(u+1));let l=i.text.length-(c-r);if(l!==0)for(let p=s+1+a.length,d=H.length;p<d;p++)H[p]=H[p]+l}else if(e.isFull(i))this._content=i.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received");this._version=n}getLineOffsets(){return this._lineOffsets===void 0&&(this._lineOffsets=uK(this._content,!0)),this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let n=this.getLineOffsets(),i=0,o=n.length;if(o===0)return{line:0,character:t};for(;i<o;){let c=Math.floor((i+o)/2);n[c]>t?o=c:i=c+1}let r=i-1;return t=this.ensureBeforeEOL(t,n[r]),{line:r,character:t-n[r]}}offsetAt(t){let n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;let i=n[t.line];if(t.character<=0)return i;let o=t.line+1<n.length?n[t.line+1]:this._content.length,r=Math.min(i+t.character,o);return this.ensureBeforeEOL(r,i)}ensureBeforeEOL(t,n){for(;t>n&&HK(this._content.charCodeAt(t-1));)t--;return t}get lineCount(){return this.getLineOffsets().length}static isIncremental(t){let n=t;return n!=null&&typeof n.text=="string"&&n.range!==void 0&&(n.rangeLength===void 0||typeof n.rangeLength=="number")}static isFull(t){let n=t;return n!=null&&typeof n.text=="string"&&n.range===void 0&&n.rangeLength===void 0}},TA;(function(e){function t(o,r,c,s){return new LA(o,r,c,s)}e.create=t;function n(o,r,c){if(o instanceof LA)return o.update(r,c),o;throw new Error("TextDocument.update: document must be created by TextDocument.create")}e.update=n;function i(o,r){let c=o.getText(),s=_w(r.map(DTe),(a,l)=>{let p=a.range.start.line-l.range.start.line;return p===0?a.range.start.character-l.range.start.character:p}),u=0,H=[];for(let a of s){let l=o.offsetAt(a.range.start);if(l<u)throw new Error("Overlapping edit");l>u&&H.push(c.substring(u,l)),a.newText.length&&H.push(a.newText),u=o.offsetAt(a.range.end)}return H.push(c.substr(u)),H.join("")}e.applyEdits=i})(TA||(TA={}));function _w(e,t){if(e.length<=1)return e;let n=e.length/2|0,i=e.slice(0,n),o=e.slice(n);_w(i,t),_w(o,t);let r=0,c=0,s=0;for(;r<i.length&&c<o.length;)t(i[r],o[c])<=0?e[s++]=i[r++]:e[s++]=o[c++];for(;r<i.length;)e[s++]=i[r++];for(;c<o.length;)e[s++]=o[c++];return e}function uK(e,t,n=0){let i=t?[n]:[];for(let o=0;o<e.length;o++){let r=e.charCodeAt(o);HK(r)&&(r===13&&o+1<e.length&&e.charCodeAt(o+1)===10&&o++,i.push(n+o+1))}return i}function HK(e){return e===13||e===10}function pK(e){let t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function DTe(e){let t=pK(e.range);return t!==e.range?{newText:e.newText,range:t}:e}var vA=class{constructor(t){this.documents=new dK.TextDocuments(TA),this.documents.listen(t)}getDocument(t){return this.documents.get(t)}getAllDocuments(){return this.documents.all()}get onDidChangeContent(){return this.documents.onDidChangeContent}get onDidClose(){return this.documents.onDidClose}get onDidOpen(){return this.documents.onDidOpen}};var $C=mr(ty()),d4=mr(ny());function PTe(e,t=!0){if(e instanceof Error){let n=e;return`${n.message}${t?`
|
|
${n.stack}`:""}`}else return typeof e=="string"?e:e.toString()}function fK(e,t,n=!0){return t?`${e}: ${PTe(t,n)}`:e}function mw(e,t,n="Tailwind CSS"){console.error(fK(n,t))}function hK(e,t="Tailwind CSS",n){e.sendNotification("@/tailwindCSS/warn",{message:fK(t,n,!1)})}function CA(e){this.name="SilentError",this.message=e,this.stack=new Error().stack}CA.prototype=new Error;var wa=mr(require("node:path")),sh=mr(require("node:fs")),Ug=mr(wA()),Xme=mr(bH());var xH=mr(require("node:module"));var iI={"@tailwindcss/aspect-ratio":{module:Tw(),version:FK().version},"@tailwindcss/container-queries":{module:UK(),version:qK().version},"@tailwindcss/forms":{module:jw(),version:sG().version},"@tailwindcss/line-clamp":{module:Uw(),version:oG().version},"@tailwindcss/typography":{module:Zk(),version:nZ().version}};var CN={...iI,"tailwindcss/colors":MA(),"tailwindcss/defaultConfig":aZ(),"tailwindcss/defaultTheme":Nw(),"tailwindcss/resolveConfig":vN(),"tailwindcss/plugin":lf()},c_=class{constructor(t,n=i=>i){this.cache={};this.deps=[];this._unhooked=!1;this._origRequire=xH.default.prototype.require;if(typeof xH.default._resolveFilename!="function")throw new Error(`Error: Expected Module._resolveFilename to be a function (was: ${typeof xH.default._resolveFilename}) - aborting!`);let i=this,o={};this._require=xH.default.prototype.require=function(r){if(i._unhooked)return i._origRequire.apply(this,arguments);let c;if(CN.hasOwnProperty(r))try{c=xH.default._resolveFilename(r,this)}catch{return CN[r].module||CN[r]}else c=xH.default._resolveFilename(r,this);if(i.cache.hasOwnProperty(c))return i.cache[c];let s=o[c];s||(o[c]=!0);let u=i._origRequire.apply(this,arguments);return c!==t||s?u:(delete o[c],i.cache.hasOwnProperty(c)||(i.cache[c]=u,i.cache[c]=n(u)),i.cache[c])}}unhook(){this._unhooked=!0,this._require===xH.default.prototype.require&&(xH.default.prototype.require=this._origRequire)}};var dz=mr(uz()),fz=mr(pz());function Tn(e,t){return e.startsWith("0.0.0-insiders")?!0:(0,dz.default)(e,t)}function DH(e,t){return e.startsWith("0.0.0-insiders")?!1:(0,fz.default)(e,t)}var _u=mr(Fo());function $l(e,t,n){t.split&&(t=t.split("."));for(var i=0,o=t.length,r=e,c,s;i<o&&(s=""+t[i++],!(s==="__proto__"||s==="constructor"||s==="prototype"));)r=r[s]=i===o?n:typeof(c=r[s])==typeof t?c:t[i]*0!==0||~(""+t[i]).indexOf(".")?{}:[]}var Zme=mr(Pz()),zme=mr(wz());var _9=mr(vI());var OJ=mr(Fo());function OMe(e){return e.type==="atrule"}function FMe(e){if(e.length===0)return null;let t=_9.default.selector({value:""});for(let n=0;n<e.length;n++)t.append(e[n]);return String(t).trim()}function jMe(e){let t=[],{nodes:n}=(0,_9.default)().astSync(e);for(let i=0;i<n.length;i++){let o=n[i];if(o.type!=="selector")continue;let r=[];for(let c=0;c<o.nodes.length;c++){let s=o.nodes[c],u=[];if(s.type==="class"){let H=o.nodes[c+1];for(;H&&H.type==="pseudo";)u.push(H),c++,H=o.nodes[c+1];t.push({className:s.value.trim(),scope:FMe(r),__rule:c===o.nodes.length-1,__pseudo:u.map(String)})}r.push(s,...u)}}return t}async function UMe(e){let t={},n={},i;return e.walk(o=>{if(o.type==="comment"){let a=o.text.trim().match(/^__tw_intellisense_layer_([a-z]+)__$/);if(a===null)return;i=a[1],o.remove();return}if(o.type!=="rule")return;let r=o,c=jMe(r.selector),s={};r.walkDecls(a=>{s[a.prop]?s[a.prop]=[...Array.isArray(s[a.prop])?s[a.prop]:[s[a.prop]],a.value]:s[a.prop]=a.value});let u=r,H=[];for(;u.parent.type!=="root";)u=u.parent,OMe(u)&&H.push(`@${u.name} ${u.params}`);for(let a=0;a<c.length;a++){let l=H.concat([]),p=c[a].className.split(/__TWSEP__.*?__TWSEP__/),d=p.slice(0,p.length-1),h=[],m=(0,OJ.default)(t,[...p,"__info"]);typeof m<"u"&&(Array.isArray(m)?h.push(m.length):($l(t,[...p,"__info"],[m]),h.push(1))),c[a].__rule&&($l(t,[...p,"__info",...h,"__rule"],!0),WMe(t,[...p,"__info",...h],s)),$l(t,[...p,"__info",...h,"__source"],i),$l(t,[...p,"__info",...h,"__pseudo"],c[a].__pseudo),$l(t,[...p,"__info",...h,"__scope"],c[a].scope),$l(t,[...p,"__info",...h,"__context"],l.concat([]).reverse()),l.push(...c[a].__pseudo.map(g=>`&${g}`));for(let g=0;g<d.length;g++)typeof n[d[g]]>"u"?n[d[g]]=l:n[d[g]]=qMe(n[d[g]],l)}}),{classNames:t,context:n}}function qMe(e,t){return e.filter(n=>t.indexOf(n)!==-1)}function WMe(e,t,n){let i=Object.keys(n);for(let o=0;o<i.length;o++)$l(e,[...t,i[o]],n[i[o]])}var FJ=UMe;function jJ(e,t,n){typeof n.value=="object"&&(n.value=Bp(n.value)),!n.enumerable||n.get||n.set||!n.configurable||!n.writable||t==="__proto__"?Object.defineProperty(e,t,n):e[t]=n.value}function Bp(e){if(typeof e!="object")return e;var t=0,n,i,o,r=Object.prototype.toString.call(e);if(r==="[object Object]"?o=Object.create(e.__proto__||null):r==="[object Array]"?o=Array(e.length):r==="[object Set]"?(o=new Set,e.forEach(function(c){o.add(Bp(c))})):r==="[object Map]"?(o=new Map,e.forEach(function(c,s){o.set(Bp(s),Bp(c))})):r==="[object Date]"?o=new Date(+e):r==="[object RegExp]"?o=new RegExp(e.source,e.flags):r==="[object DataView]"?o=new e.constructor(Bp(e.buffer)):r==="[object ArrayBuffer]"?o=e.slice(0):r.slice(-6)==="Array]"&&(o=new e.constructor(e)),o){for(i=Object.getOwnPropertySymbols(e);t<i.length;t++)jJ(o,i[t],Object.getOwnPropertyDescriptor(e,i[t]));for(t=0,i=Object.getOwnPropertyNames(e);t<i.length;t++)Object.hasOwnProperty.call(o,n=i[t])&&o[n]===e[n]||jJ(o,n,Object.getOwnPropertyDescriptor(e,n))}return o||e}function Ga(e){return Object.prototype.toString.call(e)==="[object Object]"}function pc(e){let t={};for(let n in e)n.substr(0,2)!=="__"&&(Ga(e[n])?t[n]=pc(e[n]):t[n]=e[n]);return t}var Hre=mr(Fo()),pre=mr(qJ());var dre=mr(zJ());var T1=mr(wI());var Fp=class extends Error{sourceStart;sourceEnd;parserState;constructor(t,n,i,o){super(t),this.name="ParseError",this.sourceStart=n,this.sourceEnd=i,this.parserState=o}},Mu=class extends Fp{token;constructor(t,n,i,o,r){super(t,n,i,o),this.token=r}},NH={UnexpectedNewLineInString:"Unexpected newline while consuming a string token.",UnexpectedEOFInString:"Unexpected EOF while consuming a string token.",UnexpectedEOFInComment:"Unexpected EOF while consuming a comment.",UnexpectedEOFInURL:"Unexpected EOF while consuming a url token.",UnexpectedEOFInEscapedCodePoint:"Unexpected EOF while consuming an escaped code point.",UnexpectedCharacterInURL:"Unexpected character while consuming a url token.",InvalidEscapeSequenceInURL:"Invalid escape sequence while consuming a url token.",InvalidEscapeSequenceAfterBackslash:'Invalid escape sequence after "\\"'},ugt=typeof globalThis<"u"&&"structuredClone"in globalThis;function ei(...e){let t="";for(let n=0;n<e.length;n++)t+=e[n][1];return t}var __=13,jo=45,m_=10,E_=43,h_=65533;function rBe(e){return e.source.codePointAt(e.cursor)===60&&e.source.codePointAt(e.cursor+1)===33&&e.source.codePointAt(e.cursor+2)===jo&&e.source.codePointAt(e.cursor+3)===jo}function dc(e){return e>=48&&e<=57}function nBe(e){return e>=65&&e<=90}function iBe(e){return e>=97&&e<=122}function Ef(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function sBe(e){return iBe(e)||nBe(e)}function y_(e){return sBe(e)||aBe(e)||e===95}function D9(e){return y_(e)||dc(e)||e===jo}function aBe(e){return e===183||e===8204||e===8205||e===8255||e===8256||e===8204||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||e===0||!!g_(e)||e>=65536}function NI(e){return e===m_||e===__||e===12}function yf(e){return e===32||e===m_||e===9||e===__||e===12}function g_(e){return e>=55296&&e<=57343}function b_(e){return e.source.codePointAt(e.cursor)===92&&!NI(e.source.codePointAt(e.cursor+1)??-1)}function RI(e,t){return t.source.codePointAt(t.cursor)===jo?t.source.codePointAt(t.cursor+1)===jo||!!y_(t.source.codePointAt(t.cursor+1)??-1)||t.source.codePointAt(t.cursor+1)===92&&!NI(t.source.codePointAt(t.cursor+2)??-1):!!y_(t.source.codePointAt(t.cursor)??-1)||b_(t)}function uQ(e){return e.source.codePointAt(e.cursor)===E_||e.source.codePointAt(e.cursor)===jo?!!dc(e.source.codePointAt(e.cursor+1)??-1)||e.source.codePointAt(e.cursor+1)===46&&dc(e.source.codePointAt(e.cursor+2)??-1):e.source.codePointAt(e.cursor)===46?dc(e.source.codePointAt(e.cursor+1)??-1):dc(e.source.codePointAt(e.cursor)??-1)}function oBe(e){return e.source.codePointAt(e.cursor)===47&&e.source.codePointAt(e.cursor+1)===42}function lBe(e){return e.source.codePointAt(e.cursor)===jo&&e.source.codePointAt(e.cursor+1)===jo&&e.source.codePointAt(e.cursor+2)===62}var Rt,Dn,$I;function HQ(e){switch(e){case Rt.OpenParen:return Rt.CloseParen;case Rt.CloseParen:return Rt.OpenParen;case Rt.OpenCurly:return Rt.CloseCurly;case Rt.CloseCurly:return Rt.OpenCurly;case Rt.OpenSquare:return Rt.CloseSquare;case Rt.CloseSquare:return Rt.OpenSquare;default:return null}}function pQ(e){switch(e[0]){case Rt.OpenParen:return[Rt.CloseParen,")",-1,-1,void 0];case Rt.CloseParen:return[Rt.OpenParen,"(",-1,-1,void 0];case Rt.OpenCurly:return[Rt.CloseCurly,"}",-1,-1,void 0];case Rt.CloseCurly:return[Rt.OpenCurly,"{",-1,-1,void 0];case Rt.OpenSquare:return[Rt.CloseSquare,"]",-1,-1,void 0];case Rt.CloseSquare:return[Rt.OpenSquare,"[",-1,-1,void 0];default:return null}}function cBe(e,t){for(t.advanceCodePoint(2);;){let n=t.readCodePoint();if(n===void 0){let i=[Rt.Comment,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new Mu(NH.UnexpectedEOFInComment,t.representationStart,t.representationEnd,["4.3.2. Consume comments","Unexpected EOF"],i)),i}if(n===42&&t.source.codePointAt(t.cursor)!==void 0&&t.source.codePointAt(t.cursor)===47){t.advanceCodePoint();break}}return[Rt.Comment,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0]}function MI(e,t){let n=t.readCodePoint();if(n===void 0)return e.onParseError(new Fp(NH.UnexpectedEOFInEscapedCodePoint,t.representationStart,t.representationEnd,["4.3.7. Consume an escaped code point","Unexpected EOF"])),h_;if(Ef(n)){let i=[n],o;for(;(o=t.source.codePointAt(t.cursor))!==void 0&&Ef(o)&&i.length<6;)i.push(o),t.advanceCodePoint();yf(t.source.codePointAt(t.cursor)??-1)&&(t.source.codePointAt(t.cursor)===__&&t.source.codePointAt(t.cursor+1)===m_&&t.advanceCodePoint(),t.advanceCodePoint());let r=parseInt(String.fromCodePoint(...i),16);return r===0||g_(r)||r>1114111?h_:r}return n===0||g_(n)?h_:n}function BI(e,t){let n=[];for(;;){let i=t.source.codePointAt(t.cursor)??-1;if(i===0||g_(i))n.push(h_),t.advanceCodePoint(+(i>65535)+1);else if(D9(i))n.push(i),t.advanceCodePoint(+(i>65535)+1);else{if(!b_(t))return n;t.advanceCodePoint(),n.push(MI(e,t))}}}function uBe(e,t){t.advanceCodePoint();let n=t.source.codePointAt(t.cursor);if(n!==void 0&&(D9(n)||b_(t))){let i=$I.Unrestricted;RI(0,t)&&(i=$I.ID);let o=BI(e,t);return[Rt.Hash,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...o),type:i}]}return[Rt.Delim,"#",t.representationStart,t.representationEnd,{value:"#"}]}function HBe(e,t){let n=Dn.Integer;for(t.source.codePointAt(t.cursor)!==E_&&t.source.codePointAt(t.cursor)!==jo||t.advanceCodePoint();dc(t.source.codePointAt(t.cursor)??-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===46&&dc(t.source.codePointAt(t.cursor+1)??-1))for(t.advanceCodePoint(2),n=Dn.Number;dc(t.source.codePointAt(t.cursor)??-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===101||t.source.codePointAt(t.cursor)===69){if(dc(t.source.codePointAt(t.cursor+1)??-1))t.advanceCodePoint(2);else{if(t.source.codePointAt(t.cursor+1)!==jo&&t.source.codePointAt(t.cursor+1)!==E_||!dc(t.source.codePointAt(t.cursor+2)??-1))return n;t.advanceCodePoint(3)}for(n=Dn.Number;dc(t.source.codePointAt(t.cursor)??-1);)t.advanceCodePoint()}return n}function T9(e,t){let n;{let r=t.source.codePointAt(t.cursor);r===jo?n="-":r===E_&&(n="+")}let i=HBe(0,t),o=parseFloat(t.source.slice(t.representationStart,t.representationEnd+1));if(RI(0,t)){let r=BI(e,t);return[Rt.Dimension,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:o,signCharacter:n,type:i,unit:String.fromCodePoint(...r)}]}return t.source.codePointAt(t.cursor)===37?(t.advanceCodePoint(),[Rt.Percentage,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:o,signCharacter:n}]):[Rt.Number,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:o,signCharacter:n,type:i}]}function pBe(e){for(;yf(e.source.codePointAt(e.cursor)??-1);)e.advanceCodePoint();return[Rt.Whitespace,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0]}(function(e){e.Comment="comment",e.AtKeyword="at-keyword-token",e.BadString="bad-string-token",e.BadURL="bad-url-token",e.CDC="CDC-token",e.CDO="CDO-token",e.Colon="colon-token",e.Comma="comma-token",e.Delim="delim-token",e.Dimension="dimension-token",e.EOF="EOF-token",e.Function="function-token",e.Hash="hash-token",e.Ident="ident-token",e.Number="number-token",e.Percentage="percentage-token",e.Semicolon="semicolon-token",e.String="string-token",e.URL="url-token",e.Whitespace="whitespace-token",e.OpenParen="(-token",e.CloseParen=")-token",e.OpenSquare="[-token",e.CloseSquare="]-token",e.OpenCurly="{-token",e.CloseCurly="}-token",e.UnicodeRange="unicode-range-token"})(Rt||(Rt={})),function(e){e.Integer="integer",e.Number="number"}(Dn||(Dn={})),function(e){e.Unrestricted="unrestricted",e.ID="id"}($I||($I={}));var x9=class{cursor=0;source="";representationStart=0;representationEnd=-1;constructor(t){this.source=t}advanceCodePoint(t=1){this.cursor=this.cursor+t,this.representationEnd=this.cursor-1}readCodePoint(){let t=this.source.codePointAt(this.cursor);if(t!==void 0)return this.cursor=this.cursor+1,this.representationEnd=this.cursor-1,t}unreadCodePoint(t=1){this.cursor=this.cursor-t,this.representationEnd=this.cursor-1}resetRepresentation(){this.representationStart=this.cursor,this.representationEnd=-1}};function dBe(e,t){let n="",i=t.readCodePoint();for(;;){let o=t.readCodePoint();if(o===void 0){let r=[Rt.String,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:n}];return e.onParseError(new Mu(NH.UnexpectedEOFInString,t.representationStart,t.representationEnd,["4.3.5. Consume a string token","Unexpected EOF"],r)),r}if(NI(o)){t.unreadCodePoint();let r=[Rt.BadString,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new Mu(NH.UnexpectedNewLineInString,t.representationStart,t.source.codePointAt(t.cursor)===__&&t.source.codePointAt(t.cursor+1)===m_?t.representationEnd+2:t.representationEnd+1,["4.3.5. Consume a string token","Unexpected newline"],r)),r}if(o===i)return[Rt.String,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:n}];if(o!==92)o===0||g_(o)?n+=String.fromCodePoint(h_):n+=String.fromCodePoint(o);else{if(t.source.codePointAt(t.cursor)===void 0)continue;if(NI(t.source.codePointAt(t.cursor)??-1)){t.source.codePointAt(t.cursor)===__&&t.source.codePointAt(t.cursor+1)===m_&&t.advanceCodePoint(),t.advanceCodePoint();continue}n+=String.fromCodePoint(MI(e,t))}}}function fBe(e){return!(e.length!==3||e[0]!==117&&e[0]!==85||e[1]!==114&&e[1]!==82||e[2]!==108&&e[2]!==76)}function v9(e,t){for(;;){let n=t.source.codePointAt(t.cursor);if(n===void 0)return;if(n===41)return void t.advanceCodePoint();b_(t)?(t.advanceCodePoint(),MI(e,t)):t.advanceCodePoint()}}function hBe(e,t){for(;yf(t.source.codePointAt(t.cursor)??-1);)t.advanceCodePoint();let n="";for(;;){if(t.source.codePointAt(t.cursor)===void 0){let r=[Rt.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:n}];return e.onParseError(new Mu(NH.UnexpectedEOFInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","Unexpected EOF"],r)),r}if(t.source.codePointAt(t.cursor)===41)return t.advanceCodePoint(),[Rt.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:n}];if(yf(t.source.codePointAt(t.cursor)??-1)){for(t.advanceCodePoint();yf(t.source.codePointAt(t.cursor)??-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===void 0){let r=[Rt.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:n}];return e.onParseError(new Mu(NH.UnexpectedEOFInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","Consume as much whitespace as possible","Unexpected EOF"],r)),r}return t.source.codePointAt(t.cursor)===41?(t.advanceCodePoint(),[Rt.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:n}]):(v9(e,t),[Rt.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0])}let o=t.source.codePointAt(t.cursor);if(o===34||o===39||o===40||(i=o??-1)===11||i===127||0<=i&&i<=8||14<=i&&i<=31){v9(e,t);let r=[Rt.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new Mu(NH.UnexpectedCharacterInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token",`Unexpected U+0022 QUOTATION MARK ("), U+0027 APOSTROPHE ('), U+0028 LEFT PARENTHESIS (() or non-printable code point`],r)),r}if(o===92){if(b_(t)){t.advanceCodePoint(),n+=String.fromCodePoint(MI(e,t));continue}v9(e,t);let r=[Rt.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new Mu(NH.InvalidEscapeSequenceInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],r)),r}t.source.codePointAt(t.cursor)===0||g_(t.source.codePointAt(t.cursor)??-1)?(n+=String.fromCodePoint(h_),t.advanceCodePoint()):(n+=t.source[t.cursor],t.advanceCodePoint())}var i}function C9(e,t){let n=BI(e,t);if(t.source.codePointAt(t.cursor)!==40)return[Rt.Ident,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...n)}];if(fBe(n)){t.advanceCodePoint();let i=0;for(;;){let o=yf(t.source.codePointAt(t.cursor)??-1),r=yf(t.source.codePointAt(t.cursor+1)??-1);if(o&&r){i+=1,t.advanceCodePoint(1);continue}let c=o?t.source.codePointAt(t.cursor+1):t.source.codePointAt(t.cursor);if(c===34||c===39)return i>0&&t.unreadCodePoint(i),[Rt.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...n)}];break}return hBe(e,t)}return t.advanceCodePoint(),[Rt.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...n)}]}function _Be(e){return!(e.source.codePointAt(e.cursor)!==117&&e.source.codePointAt(e.cursor)!==85||e.source.codePointAt(e.cursor+1)!==E_||e.source.codePointAt(e.cursor+2)!==63&&!Ef(e.source.codePointAt(e.cursor+2)??-1))}function mBe(e,t){t.advanceCodePoint(2);let n=[],i=[],o;for(;(o=t.source.codePointAt(t.cursor))!==void 0&&n.length<6&&Ef(o);)n.push(o),t.advanceCodePoint();for(;(o=t.source.codePointAt(t.cursor))!==void 0&&n.length<6&&o===63;)i.length===0&&i.push(...n),n.push(48),i.push(70),t.advanceCodePoint();if(!i.length&&t.source.codePointAt(t.cursor)===jo&&Ef(t.source.codePointAt(t.cursor+1)??-1))for(t.advanceCodePoint();(o=t.source.codePointAt(t.cursor))!==void 0&&i.length<6&&Ef(o);)i.push(o),t.advanceCodePoint();if(!i.length){let s=parseInt(String.fromCodePoint(...n),16);return[Rt.UnicodeRange,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{startOfRange:s,endOfRange:s}]}let r=parseInt(String.fromCodePoint(...n),16),c=parseInt(String.fromCodePoint(...i),16);return[Rt.UnicodeRange,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{startOfRange:r,endOfRange:c}]}function P9(e,t){let n=f1(e,t),i=[];for(;!n.endOfFile();)i.push(n.nextToken());return i.push(n.nextToken()),i}function f1(e,t){let n=e.css.valueOf(),i=e.unicodeRangesAllowed??!1,o=new x9(n),r={onParseError:t?.onParseError??EBe};return{nextToken:function(){o.resetRepresentation();let s=o.source.codePointAt(o.cursor);if(s===void 0)return[Rt.EOF,"",-1,-1,void 0];if(s===47&&oBe(o))return cBe(r,o);if(i&&(s===117||s===85)&&_Be(o))return mBe(0,o);if(y_(s))return C9(r,o);if(dc(s))return T9(r,o);switch(s){case 44:return o.advanceCodePoint(),[Rt.Comma,",",o.representationStart,o.representationEnd,void 0];case 58:return o.advanceCodePoint(),[Rt.Colon,":",o.representationStart,o.representationEnd,void 0];case 59:return o.advanceCodePoint(),[Rt.Semicolon,";",o.representationStart,o.representationEnd,void 0];case 40:return o.advanceCodePoint(),[Rt.OpenParen,"(",o.representationStart,o.representationEnd,void 0];case 41:return o.advanceCodePoint(),[Rt.CloseParen,")",o.representationStart,o.representationEnd,void 0];case 91:return o.advanceCodePoint(),[Rt.OpenSquare,"[",o.representationStart,o.representationEnd,void 0];case 93:return o.advanceCodePoint(),[Rt.CloseSquare,"]",o.representationStart,o.representationEnd,void 0];case 123:return o.advanceCodePoint(),[Rt.OpenCurly,"{",o.representationStart,o.representationEnd,void 0];case 125:return o.advanceCodePoint(),[Rt.CloseCurly,"}",o.representationStart,o.representationEnd,void 0];case 39:case 34:return dBe(r,o);case 35:return uBe(r,o);case E_:case 46:return uQ(o)?T9(r,o):(o.advanceCodePoint(),[Rt.Delim,o.source[o.representationStart],o.representationStart,o.representationEnd,{value:o.source[o.representationStart]}]);case m_:case __:case 12:case 9:case 32:return pBe(o);case jo:return uQ(o)?T9(r,o):lBe(o)?(o.advanceCodePoint(3),[Rt.CDC,"-->",o.representationStart,o.representationEnd,void 0]):RI(0,o)?C9(r,o):(o.advanceCodePoint(),[Rt.Delim,"-",o.representationStart,o.representationEnd,{value:"-"}]);case 60:return rBe(o)?(o.advanceCodePoint(4),[Rt.CDO,"<!--",o.representationStart,o.representationEnd,void 0]):(o.advanceCodePoint(),[Rt.Delim,"<",o.representationStart,o.representationEnd,{value:"<"}]);case 64:if(o.advanceCodePoint(),RI(0,o)){let u=BI(r,o);return[Rt.AtKeyword,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,{value:String.fromCodePoint(...u)}]}return[Rt.Delim,"@",o.representationStart,o.representationEnd,{value:"@"}];case 92:{if(b_(o))return C9(r,o);o.advanceCodePoint();let u=[Rt.Delim,"\\",o.representationStart,o.representationEnd,{value:"\\"}];return r.onParseError(new Mu(NH.InvalidEscapeSequenceAfterBackslash,o.representationStart,o.representationEnd,["4.3.1. Consume a token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],u)),u}}return o.advanceCodePoint(),[Rt.Delim,o.source[o.representationStart],o.representationStart,o.representationEnd,{value:o.source[o.representationStart]}]},endOfFile:function(){return o.source.codePointAt(o.cursor)===void 0}}}function EBe(){}function w9(e,t){let n=[];for(let s of t)n.push(s.codePointAt(0));let i=yBe(n);i[0]===101&&kI(i,0,i[0]);let o=String.fromCodePoint(...i),r=e[4].signCharacter==="+"?e[4].signCharacter:"",c=e[4].value.toString();e[1]=`${r}${c}${o}`,e[4].unit=t}function yBe(e){let t=0;e[0]===jo&&e[1]===jo?t=2:e[0]===jo&&e[1]?(t=2,y_(e[1])||(t+=kI(e,1,e[1]))):y_(e[0])?t=1:(t=1,t+=kI(e,0,e[0]));for(let n=t;n<e.length;n++)D9(e[n])||(n+=kI(e,n,e[n]));return e}function kI(e,t,n){let i=n.toString(16),o=[];for(let c of i)o.push(c.codePointAt(0));let r=e[t+1];return t===e.length-1||r&&Ef(r)?(e.splice(t,1,92,...o,32),1+o.length):(e.splice(t,1,92,...o),o.length)}var gBe=Object.values(Rt);function h1(e){return!!Array.isArray(e)&&!(e.length<4)&&!!gBe.includes(e[0])&&typeof e[1]=="string"&&typeof e[2]=="number"&&typeof e[3]=="number"}function eo(e){if(!e)return!1;switch(e[0]){case Rt.Dimension:case Rt.Number:case Rt.Percentage:return!0;default:return!1}}function k9(e){if(!e)return!1;switch(e[0]){case Rt.Whitespace:case Rt.Comment:return!0;default:return!1}}function RH(e){return!!e&&e[0]===Rt.Comma}function N9(e){return!!e&&e[0]===Rt.Comment}function R9(e){return!!e&&e[0]===Rt.Delim}function Ia(e){return!!e&&e[0]===Rt.Dimension}function zc(e){return!!e&&e[0]===Rt.EOF}function dQ(e){return!!e&&e[0]===Rt.Function}function A_(e){return!!e&&e[0]===Rt.Ident}function _s(e){return!!e&&e[0]===Rt.Number}function to(e){return!!e&&e[0]===Rt.Percentage}function OI(e){return!!e&&e[0]===Rt.Whitespace}function FI(e){return!!e&&e[0]===Rt.OpenParen}function fQ(e){return!!e&&e[0]===Rt.CloseParen}function hQ(e){return!!e&&e[0]===Rt.OpenSquare}function _Q(e){return!!e&&e[0]===Rt.OpenCurly}var mi;function mQ(e){let t=e.slice();return(n,i,o)=>{let r=-1;for(let c=t.indexOf(i);c<t.length&&(r=n.indexOf(t[c]),r===-1||r<o);c++);return r===-1||r===o&&i===n[o]&&(r++,r>=n.length)?-1:(t=n.slice(),r)}}function UI(e,t){let n=t[0];if(FI(n)||_Q(n)||hQ(n)){let i=ABe(e,t);return{advance:i.advance,node:i.node}}if(dQ(n)){let i=bBe(e,t);return{advance:i.advance,node:i.node}}if(OI(n)){let i=EQ(e,t);return{advance:i.advance,node:i.node}}if(N9(n)){let i=IBe(e,t);return{advance:i.advance,node:i.node}}return{advance:1,node:new Un(n)}}(function(e){e.Function="function",e.SimpleBlock="simple-block",e.Whitespace="whitespace",e.Comment="comment",e.Token="token"})(mi||(mi={}));var jI=class{value=[];indexOf(t){return this.value.indexOf(t)}at(t){if(typeof t=="number")return t<0&&(t=this.value.length+t),this.value[t]}forEach(t,n){if(this.value.length===0)return;let i=mQ(this.value),o=0;for(;o<this.value.length;){let r=this.value[o],c;if(n&&(c={...n}),t({node:r,parent:this,state:c},o)===!1)return!1;if(o=i(this.value,r,o),o===-1)break}}walk(t,n){this.value.length!==0&&this.forEach((i,o)=>t(i,o)!==!1&&(!("walk"in i.node)||!this.value.includes(i.node)||i.node.walk(t,i.state)!==!1)&&void 0,n)}},rl=class e extends jI{type=mi.Function;name;endToken;constructor(t,n,i){super(),this.name=t,this.endToken=n,this.value=i}getName(){return this.name[4].value}normalize(){zc(this.endToken)&&(this.endToken=[Rt.CloseParen,")",-1,-1,void 0])}tokens(){return zc(this.endToken)?[this.name,...this.value.flatMap(t=>t.tokens())]:[this.name,...this.value.flatMap(t=>t.tokens()),this.endToken]}toString(){let t=this.value.map(n=>h1(n)?ei(n):n.toString()).join("");return ei(this.name)+t+ei(this.endToken)}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens(),value:this.value.map(t=>t.toJSON())}}isFunctionNode(){return e.isFunctionNode(this)}static isFunctionNode(t){return!!t&&t instanceof e&&t.type===mi.Function}};function bBe(e,t){let n=[],i=1;for(;;){let o=t[i];if(!o||zc(o))return e.onParseError(new Fp("Unexpected EOF while consuming a function.",t[0][2],t[t.length-1][3],["5.4.9. Consume a function","Unexpected EOF"])),{advance:t.length,node:new rl(t[0],o,n)};if(fQ(o))return{advance:i+1,node:new rl(t[0],o,n)};if(k9(o)){let c=yQ(e,t.slice(i));i+=c.advance,n.push(...c.nodes);continue}let r=UI(e,t.slice(i));i+=r.advance,n.push(r.node)}}var _1=class e extends jI{type=mi.SimpleBlock;startToken;endToken;constructor(t,n,i){super(),this.startToken=t,this.endToken=n,this.value=i}normalize(){if(zc(this.endToken)){let t=pQ(this.startToken);t&&(this.endToken=t)}}tokens(){return zc(this.endToken)?[this.startToken,...this.value.flatMap(t=>t.tokens())]:[this.startToken,...this.value.flatMap(t=>t.tokens()),this.endToken]}toString(){let t=this.value.map(n=>h1(n)?ei(n):n.toString()).join("");return ei(this.startToken)+t+ei(this.endToken)}toJSON(){return{type:this.type,startToken:this.startToken,tokens:this.tokens(),value:this.value.map(t=>t.toJSON())}}isSimpleBlockNode(){return e.isSimpleBlockNode(this)}static isSimpleBlockNode(t){return!!t&&t instanceof e&&t.type===mi.SimpleBlock}};function ABe(e,t){let n=HQ(t[0][0]);if(!n)throw new Error("Failed to parse, a mirror variant must exist for all block open tokens.");let i=[],o=1;for(;;){let r=t[o];if(!r||zc(r))return e.onParseError(new Fp("Unexpected EOF while consuming a simple block.",t[0][2],t[t.length-1][3],["5.4.8. Consume a simple block","Unexpected EOF"])),{advance:t.length,node:new _1(t[0],r,i)};if(r[0]===n)return{advance:o+1,node:new _1(t[0],r,i)};if(k9(r)){let s=yQ(e,t.slice(o));o+=s.advance,i.push(...s.nodes);continue}let c=UI(e,t.slice(o));o+=c.advance,i.push(c.node)}}var Ml=class e{type=mi.Whitespace;value;constructor(t){this.value=t}tokens(){return this.value}toString(){return ei(...this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isWhitespaceNode(){return e.isWhitespaceNode(this)}static isWhitespaceNode(t){return!!t&&t instanceof e&&t.type===mi.Whitespace}};function EQ(e,t){let n=0;for(;;){let i=t[n];if(!OI(i))return{advance:n,node:new Ml(t.slice(0,n))};n++}}var m1=class e{type=mi.Comment;value;constructor(t){this.value=t}tokens(){return[this.value]}toString(){return ei(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isCommentNode(){return e.isCommentNode(this)}static isCommentNode(t){return!!t&&t instanceof e&&t.type===mi.Comment}};function IBe(e,t){return{advance:1,node:new m1(t[0])}}function yQ(e,t){let n=[],i=0;for(;;)if(OI(t[i])){let o=EQ(0,t.slice(i));i+=o.advance,n.push(o.node)}else{if(!N9(t[i]))return{advance:i,nodes:n};n.push(new m1(t[i])),i++}}var Un=class e{type=mi.Token;value;constructor(t){this.value=t}tokens(){return[this.value]}toString(){return this.value[1]}toJSON(){return{type:this.type,tokens:this.tokens()}}isTokenNode(){return e.isTokenNode(this)}static isTokenNode(t){return!!t&&t instanceof e&&t.type===mi.Token}};function gQ(e,t){let n={onParseError:t?.onParseError??(()=>{})},i=[...e];zc(i[i.length-1])&&i.push([Rt.EOF,"",i[i.length-1][2],i[i.length-1][3],void 0]);let o=UI(n,i);if(zc(i[Math.min(o.advance,i.length-1)]))return o.node;n.onParseError(new Fp("Expected EOF after parsing a component value.",e[0][2],e[e.length-1][3],["5.3.9. Parse a component value","Expected EOF"]))}function $9(e,t){let n={onParseError:t?.onParseError??(()=>{})},i=[...e];if(e.length===0)return[];zc(i[i.length-1])&&i.push([Rt.EOF,"",i[i.length-1][2],i[i.length-1][3],void 0]);let o=[],r=[],c=0;for(;;){if(!i[c]||zc(i[c]))return r.length&&o.push(r),o;if(RH(i[c])){o.push(r),r=[],c++;continue}let s=UI(n,e.slice(c));r.push(s.node),c+=s.advance}}function SBe(e,t,n){if(e.length===0)return;let i=mQ(e),o=0;for(;o<e.length;){let r=e[o],c;if(n&&(c={...n}),t({node:r,parent:{value:e},state:c},o)===!1)return!1;if(o=i(e,r,o),o===-1)break}}function LBe(e,t,n){e.length!==0&&SBe(e,(i,o)=>t(i,o)!==!1&&(!("walk"in i.node)||!e.includes(i.node)||i.node.walk(t,i.state)!==!1)&&void 0,n)}function bQ(e,t){for(let n=0;n<e.length;n++)LBe(e[n],(i,o)=>{if(typeof o!="number")return;let r=t(i.node);r&&(Array.isArray(r)?i.parent.value.splice(o,1,...r):i.parent.value.splice(o,1,r))});return e}function $H(e){return _1.isSimpleBlockNode(e)}function Bu(e){return rl.isFunctionNode(e)}function E1(e){return Ml.isWhitespaceNode(e)}function y1(e){return m1.isCommentNode(e)}function jp(e){return E1(e)||y1(e)}function Mi(e){return Un.isTokenNode(e)}var ti;(function(e){e.CustomMedia="custom-media",e.GeneralEnclosed="general-enclosed",e.MediaAnd="media-and",e.MediaCondition="media-condition",e.MediaConditionListWithAnd="media-condition-list-and",e.MediaConditionListWithOr="media-condition-list-or",e.MediaFeature="media-feature",e.MediaFeatureBoolean="mf-boolean",e.MediaFeatureName="mf-name",e.MediaFeaturePlain="mf-plain",e.MediaFeatureRangeNameValue="mf-range-name-value",e.MediaFeatureRangeValueName="mf-range-value-name",e.MediaFeatureRangeValueNameValue="mf-range-value-name-value",e.MediaFeatureValue="mf-value",e.MediaInParens="media-in-parens",e.MediaNot="media-not",e.MediaOr="media-or",e.MediaQueryWithType="media-query-with-type",e.MediaQueryWithoutType="media-query-without-type",e.MediaQueryInvalid="media-query-invalid"})(ti||(ti={}));var TBe=/[A-Z]/g;function eu(e){return e.replace(TBe,t=>String.fromCharCode(t.charCodeAt(0)+32))}var Jc=class e{type=ti.MediaCondition;media;constructor(t){this.media=t}tokens(){return this.media.tokens()}toString(){return this.media.toString()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t){return t({node:this.media,parent:this},"media")!==!1&&this.media.walk(t)}toJSON(){return{type:this.type,media:this.media.toJSON()}}isMediaCondition(){return e.isMediaCondition(this)}static isMediaCondition(t){return!!t&&t instanceof e&&t.type===ti.MediaCondition}},MH=class e{type=ti.MediaInParens;media;before;after;constructor(t,n=[],i=[]){this.media=t,this.before=n,this.after=i}tokens(){return[...this.before,...this.media.tokens(),...this.after]}toString(){return ei(...this.before)+this.media.toString()+ei(...this.after)}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t){return t({node:this.media,parent:this},"media")!==!1&&("walk"in this.media?this.media.walk(t):void 0)}toJSON(){return{type:this.type,media:this.media.toJSON(),before:this.before,after:this.after}}isMediaInParens(){return e.isMediaInParens(this)}static isMediaInParens(t){return!!t&&t instanceof e&&t.type===ti.MediaInParens}},I1=class e{type=ti.MediaQueryWithType;modifier;mediaType;and=void 0;media=void 0;constructor(t,n,i,o){this.modifier=t,this.mediaType=n,i&&o&&(this.and=i,this.media=o)}getModifier(){if(!this.modifier.length)return"";for(let t=0;t<this.modifier.length;t++){let n=this.modifier[t];if(n[0]===Rt.Ident)return n[4].value}return""}negateQuery(){let t=new e([...this.modifier],[...this.mediaType],this.and,this.media);if(t.modifier.length===0)return t.modifier=[[Rt.Ident,"not",-1,-1,{value:"not"}],[Rt.Whitespace," ",-1,-1,void 0]],t;for(let n=0;n<t.modifier.length;n++){let i=t.modifier[n];if(i[0]===Rt.Ident&&eu(i[4].value)==="not"){t.modifier.splice(n,1);break}if(i[0]===Rt.Ident&&eu(i[4].value)==="only"){i[1]="not",i[4].value="not";break}}return t}getMediaType(){if(!this.mediaType.length)return"";for(let t=0;t<this.mediaType.length;t++){let n=this.mediaType[t];if(n[0]===Rt.Ident)return n[4].value}return""}tokens(){return this.and&&this.media?[...this.modifier,...this.mediaType,...this.and,...this.media.tokens()]:[...this.modifier,...this.mediaType]}toString(){return this.and&&this.media?ei(...this.modifier)+ei(...this.mediaType)+ei(...this.and)+this.media.toString():ei(...this.modifier)+ei(...this.mediaType)}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t){if(this.media)return t({node:this.media,parent:this},"media")!==!1&&this.media.walk(t)}toJSON(){return{type:this.type,string:this.toString(),modifier:this.modifier,mediaType:this.mediaType,and:this.and,media:this.media}}isMediaQueryWithType(){return e.isMediaQueryWithType(this)}static isMediaQueryWithType(t){return!!t&&t instanceof e&&t.type===ti.MediaQueryWithType}},M9=class e{type=ti.MediaQueryWithoutType;media;constructor(t){this.media=t}negateQuery(){let t=this.media;return t.media.type===ti.MediaNot?new e(new Jc(t.media.media)):(t.media.type===ti.MediaConditionListWithOr&&(t=new Jc(new MH(t,[[Rt.Whitespace," ",0,0,void 0],[Rt.OpenParen,"(",0,0,void 0]],[[Rt.CloseParen,")",0,0,void 0]]))),new I1([[Rt.Ident,"not",0,0,{value:"not"}],[Rt.Whitespace," ",0,0,void 0]],[[Rt.Ident,"all",0,0,{value:"all"}],[Rt.Whitespace," ",0,0,void 0]],[[Rt.Ident,"and",0,0,{value:"and"}]],t))}tokens(){return this.media.tokens()}toString(){return this.media.toString()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t){return t({node:this.media,parent:this},"media")!==!1&&this.media.walk(t)}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryWithoutType(){return e.isMediaQueryWithoutType(this)}static isMediaQueryWithoutType(t){return!!t&&t instanceof e&&t.type===ti.MediaQueryWithoutType}},B9=class e{type=ti.MediaQueryInvalid;media;constructor(t){this.media=t}negateQuery(){return new e(this.media)}tokens(){return this.media.flatMap(t=>t.tokens())}toString(){return this.media.map(t=>t.toString()).join("")}walk(t){let n=!1;if(this.media.forEach((i,o)=>{n||(t({node:i,parent:this},o)!==!1?"walk"in i&&i.walk(t)===!1&&(n=!0):n=!0)}),n)return!1}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryInvalid(){return e.isMediaQueryInvalid(this)}static isMediaQueryInvalid(t){return!!t&&t instanceof e&&t.type===ti.MediaQueryInvalid}},qI=class e{type=ti.GeneralEnclosed;value;constructor(t){this.value=t}tokens(){return this.value.tokens()}toString(){return this.value.toString()}indexOf(t){return t===this.value?"value":-1}at(t){if(t==="value")return this.value}walk(t){return t({node:this.value,parent:this},"value")!==!1&&("walk"in this.value?this.value.walk(t):void 0)}toJSON(){return{type:this.type,tokens:this.tokens()}}isGeneralEnclosed(){return e.isGeneralEnclosed(this)}static isGeneralEnclosed(t){return!!t&&t instanceof e&&t.type===ti.GeneralEnclosed}},O9=class e{type=ti.MediaAnd;modifier;media;constructor(t,n){this.modifier=t,this.media=n}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ei(...this.modifier)+this.media.toString()}indexOf(t){return t===this.media?"media":-1}at(t){return t==="media"?this.media:null}walk(t){return t({node:this.media,parent:this},"media")!==!1&&this.media.walk(t)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaAnd(){return e.isMediaAnd(this)}static isMediaAnd(t){return!!t&&t instanceof e&&t.type===ti.MediaAnd}},F9=class e{type=ti.MediaConditionListWithAnd;leading;list;before;after;constructor(t,n,i=[],o=[]){this.leading=t,this.list=n,this.before=i,this.after=o}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(t=>t.tokens()),...this.after]}toString(){return ei(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+ei(...this.after)}indexOf(t){return t===this.leading?"leading":t.type==="media-and"?this.list.indexOf(t):-1}at(t){return t==="leading"?this.leading:typeof t=="number"?(t<0&&(t=this.list.length+t),this.list[t]):void 0}walk(t){if(t({node:this.leading,parent:this},"leading")===!1||"walk"in this.leading&&this.leading.walk(t)===!1)return!1;let n=!1;return this.list.forEach((i,o)=>{n||(t({node:i,parent:this},o)!==!1?"walk"in i&&i.walk(t)===!1&&(n=!0):n=!0)}),!n&&void 0}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(t=>t.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithAnd(){return e.isMediaConditionListWithAnd(this)}static isMediaConditionListWithAnd(t){return!!t&&t instanceof e&&t.type===ti.MediaConditionListWithAnd}},j9=class e{type=ti.MediaConditionListWithOr;leading;list;before;after;constructor(t,n,i=[],o=[]){this.leading=t,this.list=n,this.before=i,this.after=o}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(t=>t.tokens()),...this.after]}toString(){return ei(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+ei(...this.after)}indexOf(t){return t===this.leading?"leading":t.type==="media-or"?this.list.indexOf(t):-1}at(t){return t==="leading"?this.leading:typeof t=="number"?(t<0&&(t=this.list.length+t),this.list[t]):void 0}walk(t){if(t({node:this.leading,parent:this},"leading")===!1||"walk"in this.leading&&this.leading.walk(t)===!1)return!1;let n=!1;return this.list.forEach((i,o)=>{n||(t({node:i,parent:this},o)!==!1?"walk"in i&&i.walk(t)===!1&&(n=!0):n=!0)}),!n&&void 0}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(t=>t.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithOr(){return e.isMediaConditionListWithOr(this)}static isMediaConditionListWithOr(t){return!!t&&t instanceof e&&t.type===ti.MediaConditionListWithOr}};function TQ(e){return!!(e.type===mi.Token&&e.value[0]===Rt.Number||e.type===mi.Function&&vBe.has(eu(e.name[4].value)))}var vBe=new Set(["abs","acos","asin","atan","atan2","calc","clamp","cos","exp","hypot","log","max","min","mod","pow","rem","round","sign","sin","sqrt","tan"]);function CBe(e){return e.type===mi.Token&&e.value[0]===Rt.Dimension}function S1(e){return e.type===mi.Token&&e.value[0]===Rt.Ident}function xBe(e){return e.type===mi.Function&&eu(e.name[4].value)==="env"}var U9=class e{type=ti.MediaFeatureName;name;before;after;constructor(t,n=[],i=[]){this.name=t,this.before=n,this.after=i}getName(){return this.name.value[4].value}getNameToken(){return this.name.value}tokens(){return[...this.before,...this.name.tokens(),...this.after]}toString(){return ei(...this.before)+this.name.toString()+ei(...this.after)}indexOf(t){return t===this.name?"name":-1}at(t){if(t==="name")return this.name}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens()}}isMediaFeatureName(){return e.isMediaFeatureName(this)}static isMediaFeatureName(t){return!!t&&t instanceof e&&t.type===ti.MediaFeatureName}};function b1(e){let t=-1;for(let n=0;n<e.length;n++){let i=e[n];if(i.type!==mi.Whitespace&&i.type!==mi.Comment){if(!S1(i)||t!==-1)return!1;t=n}}return t!==-1&&new U9(e[t],e.slice(0,t).flatMap(n=>n.tokens()),e.slice(t+1).flatMap(n=>n.tokens()))}var q9=class e{type=ti.MediaFeatureBoolean;name;constructor(t){this.name=t}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return this.name.tokens()}toString(){return this.name.toString()}indexOf(t){return t===this.name?"name":-1}at(t){if(t==="name")return this.name}toJSON(){return{type:this.type,name:this.name.toJSON(),tokens:this.tokens()}}isMediaFeatureBoolean(){return e.isMediaFeatureBoolean(this)}static isMediaFeatureBoolean(t){return!!t&&t instanceof e&&t.type===ti.MediaFeatureBoolean}};function DBe(e){let t=b1(e);return t===!1?t:new q9(t)}var W9=class e{type=ti.MediaFeatureValue;value;before;after;constructor(t,n=[],i=[]){Array.isArray(t)&&t.length===1?this.value=t[0]:this.value=t,this.before=n,this.after=i}tokens(){return Array.isArray(this.value)?[...this.before,...this.value.flatMap(t=>t.tokens()),...this.after]:[...this.before,...this.value.tokens(),...this.after]}toString(){return Array.isArray(this.value)?ei(...this.before)+this.value.map(t=>t.toString()).join("")+ei(...this.after):ei(...this.before)+this.value.toString()+ei(...this.after)}indexOf(t){return t===this.value?"value":-1}at(t){if(t==="value")return this.value}walk(t){return t({node:this.value,parent:this},"value")!==!1&&("walk"in this.value?this.value.walk(t):void 0)}toJSON(){return Array.isArray(this.value)?{type:this.type,value:this.value.map(t=>t.toJSON()),tokens:this.tokens()}:{type:this.type,value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureValue(){return e.isMediaFeatureValue(this)}static isMediaFeatureValue(t){return!!t&&t instanceof e&&t.type===ti.MediaFeatureValue}};function g1(e){let t=-1,n=-1;for(let i=0;i<e.length;i++){let o=e[i];if(o.type!==mi.Whitespace&&o.type!==mi.Comment){if(t!==-1)return!1;if(TQ(o)){let r=PBe(e.slice(i));if(r!==-1){t=r[0]+i,n=r[1]+i,i+=r[1]-r[0];continue}t=i,n=i}else if(xBe(o))t=i,n=i;else if(CBe(o))t=i,n=i;else{if(!S1(o))return!1;t=i,n=i}}}return t!==-1&&new W9(e.slice(t,n+1),e.slice(0,t).flatMap(i=>i.tokens()),e.slice(n+1).flatMap(i=>i.tokens()))}function PBe(e){let t=-1,n=-1,i=wBe(e);if(i===-1)return-1;t=i[0],n=i[1];for(let o=n+1;o<e.length;o++){let r=e[o];if(r.type!=="whitespace"&&r.type!=="comment")return-1}return[t,n]}function wBe(e){let t=-1,n=-1;for(let i=0;i<e.length;i++){let o=e[i];if(o.type!=="whitespace"&&o.type!=="comment"){if(o.type==="token"){let r=o.value;if(r[0]===Rt.Delim&&r[4].value==="/"){if(t===-1||n!==-1)return-1;n=i;continue}}if(!TQ(o))return-1;if(n!==-1)return[t,i];if(t!==-1)return-1;t=i}}return-1}var V9=class e{type=ti.MediaFeaturePlain;name;colon;value;constructor(t,n,i){this.name=t,this.colon=n,this.value=i}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),this.colon,...this.value.tokens()]}toString(){return this.name.toString()+ei(this.colon)+this.value.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t){return t({node:this.value,parent:this},"value")!==!1&&this.value.walk(t)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeaturePlain(){return e.isMediaFeaturePlain(this)}static isMediaFeaturePlain(t){return!!t&&t instanceof e&&t.type===ti.MediaFeaturePlain}};function kBe(e){let t=[],n=[],i=null;for(let c=0;c<e.length;c++){let s=e[c];if(s.type===mi.Token){let u=s.value;if(u[0]===Rt.Colon){t=e.slice(0,c),n=e.slice(c+1),i=u;break}}}if(!t.length||!n.length||!i)return!1;let o=b1(t);if(o===!1)return!1;let r=g1(n);return r!==!1&&new V9(o,i,r)}var Qc,Yc,Up;function NBe(e){let t=-1;for(let n=0;n<e.length;n++){let i=e[n];if(i.type===mi.Token){let o=i.value;if(o[0]===Rt.Delim){if(o[4].value===Up.EQ){if(t!==-1)return[t,n];t=n;continue}if(o[4].value===Qc.LT){t=n;continue}if(o[4].value===Yc.GT){t=n;continue}}}break}return t!==-1&&[t,t]}function S_(e){if(e.length===0||e.length>2||e[0][0]!==Rt.Delim)return!1;if(e.length===1)switch(e[0][4].value){case Up.EQ:return Up.EQ;case Qc.LT:return Qc.LT;case Yc.GT:return Yc.GT;default:return!1}if(e[1][0]!==Rt.Delim||e[1][4].value!==Up.EQ)return!1;switch(e[0][4].value){case Qc.LT:return Qc.LT_OR_EQ;case Yc.GT:return Yc.GT_OR_EQ;default:return!1}}(function(e){e.LT="<",e.LT_OR_EQ="<="})(Qc||(Qc={})),function(e){e.GT=">",e.GT_OR_EQ=">="}(Yc||(Yc={})),function(e){e.EQ="="}(Up||(Up={}));var K9=class e{type=ti.MediaFeatureRangeNameValue;name;operator;value;constructor(t,n,i){this.name=t,this.operator=n,this.value=i}operatorKind(){return S_(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),...this.operator,...this.value.tokens()]}toString(){return this.name.toString()+ei(...this.operator)+this.value.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t){return t({node:this.value,parent:this},"value")!==!1&&("walk"in this.value?this.value.walk(t):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeNameValue(){return e.isMediaFeatureRangeNameValue(this)}static isMediaFeatureRangeNameValue(t){return!!t&&t instanceof e&&t.type===ti.MediaFeatureRangeNameValue}},G9=class e{type=ti.MediaFeatureRangeValueName;name;operator;value;constructor(t,n,i){this.name=t,this.operator=n,this.value=i}operatorKind(){return S_(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.value.tokens(),...this.operator,...this.name.tokens()]}toString(){return this.value.toString()+ei(...this.operator)+this.name.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t){return t({node:this.value,parent:this},"value")!==!1&&("walk"in this.value?this.value.walk(t):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueName(){return e.isMediaFeatureRangeValueName(this)}static isMediaFeatureRangeValueName(t){return!!t&&t instanceof e&&t.type===ti.MediaFeatureRangeValueName}},X9=class e{type=ti.MediaFeatureRangeValueNameValue;name;valueOne;valueOneOperator;valueTwo;valueTwoOperator;constructor(t,n,i,o,r){this.name=t,this.valueOne=n,this.valueOneOperator=i,this.valueTwo=o,this.valueTwoOperator=r}valueOneOperatorKind(){return S_(this.valueOneOperator)}valueTwoOperatorKind(){return S_(this.valueTwoOperator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.valueOne.tokens(),...this.valueOneOperator,...this.name.tokens(),...this.valueTwoOperator,...this.valueTwo.tokens()]}toString(){return this.valueOne.toString()+ei(...this.valueOneOperator)+this.name.toString()+ei(...this.valueTwoOperator)+this.valueTwo.toString()}indexOf(t){return t===this.name?"name":t===this.valueOne?"valueOne":t===this.valueTwo?"valueTwo":-1}at(t){return t==="name"?this.name:t==="valueOne"?this.valueOne:t==="valueTwo"?this.valueTwo:void 0}walk(t){return t({node:this.valueOne,parent:this},"valueOne")!==!1&&(!("walk"in this.valueOne)||this.valueOne.walk(t)!==!1)&&t({node:this.valueTwo,parent:this},"valueTwo")!==!1&&(!("walk"in this.valueTwo)||this.valueTwo.walk(t)!==!1)&&void 0}toJSON(){return{type:this.type,name:this.name.toJSON(),valueOne:this.valueOne.toJSON(),valueTwo:this.valueTwo.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueNameValue(){return e.isMediaFeatureRangeValueNameValue(this)}static isMediaFeatureRangeValueNameValue(t){return!!t&&t instanceof e&&t.type===ti.MediaFeatureRangeValueNameValue}};function RBe(e){let t=!1,n=!1;for(let l=0;l<e.length;l++){let p=e[l];if(p.type===mi.Token&&p.value[0]===Rt.Delim){let d=NBe(e.slice(l));if(d!==!1){if(t!==!1){n=[d[0]+l,d[1]+l];break}t=[d[0]+l,d[1]+l],l+=d[1]}}}if(t===!1)return!1;let i=[e[t[0]].value];if(t[0]!==t[1]&&i.push(e[t[1]].value),n===!1){let l=e.slice(0,t[0]),p=e.slice(t[1]+1),d=b1(l),h=b1(p);if(!d&&!h)return!1;if(d&&!h||d&&AQ.has(eu(d.getName()))){let m=g1(p);return!!m&&new K9(d,i,m)}if(!d&&h||h&&AQ.has(eu(h.getName()))){let m=g1(l);return!!m&&new G9(h,i,m)}return!1}let o=[e[n[0]].value];n[0]!==n[1]&&o.push(e[n[1]].value);let r=e.slice(0,t[0]),c=e.slice(t[1]+1,n[0]),s=e.slice(n[1]+1),u=g1(r),H=b1(c),a=g1(s);if(!u||!H||!a)return!1;{let l=S_(i);if(l===!1||l===Up.EQ)return!1;let p=S_(o);if(p===!1||p===Up.EQ||!(l!==Qc.LT&&l!==Qc.LT_OR_EQ||p!==Yc.GT&&p!==Yc.GT_OR_EQ)||!(l!==Yc.GT&&l!==Yc.GT_OR_EQ||p!==Qc.LT&&p!==Qc.LT_OR_EQ))return!1}return new X9(H,u,i,a,o)}var AQ=new Set(["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","dynamic-range","environment-blending","forced-colors","grid","height","horizontal-viewport-segments","hover","inverted-colors","monochrome","nav-controls","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-data","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","vertical-viewport-segments","video-color-gamut","video-dynamic-range","width"]),A1=class e{type=ti.MediaFeature;feature;before;after;constructor(t,n=[],i=[]){this.feature=t,this.before=n,this.after=i}getName(){return this.feature.getName()}getNameToken(){return this.feature.getNameToken()}tokens(){return[...this.before,...this.feature.tokens(),...this.after]}toString(){return ei(...this.before)+this.feature.toString()+ei(...this.after)}indexOf(t){return t===this.feature?"feature":-1}at(t){if(t==="feature")return this.feature}walk(t){return t({node:this.feature,parent:this},"feature")!==!1&&("walk"in this.feature?this.feature.walk(t):void 0)}toJSON(){return{type:this.type,feature:this.feature.toJSON(),before:this.before,after:this.after}}isMediaFeature(){return e.isMediaFeature(this)}static isMediaFeature(t){return!!t&&t instanceof e&&t.type===ti.MediaFeature}};function vQ(e,t=[],n=[]){if(e.startToken[0]!==Rt.OpenParen)return!1;let i=DBe(e.value);if(i!==!1)return new A1(i,t,n);let o=kBe(e.value);if(o!==!1)return new A1(o,t,n);let r=RBe(e.value);return r!==!1&&new A1(r,t,n)}var Z9=class e{type=ti.MediaNot;modifier;media;constructor(t,n){this.modifier=t,this.media=n}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ei(...this.modifier)+this.media.toString()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t){return t({node:this.media,parent:this},"media")!==!1&&this.media.walk(t)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaNot(){return e.isMediaNot(this)}static isMediaNot(t){return!!t&&t instanceof e&&t.type===ti.MediaNot}},z9=class e{type=ti.MediaOr;modifier;media;constructor(t,n){this.modifier=t,this.media=n}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ei(...this.modifier)+this.media.toString()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t){return t({node:this.media,parent:this},"media")!==!1&&this.media.walk(t)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaOr(){return e.isMediaOr(this)}static isMediaOr(t){return!!t&&t instanceof e&&t.type===ti.MediaOr}},I_,IQ;function SQ(e){if(e[0]!==Rt.Ident)return!1;switch(eu(e[4].value)){case I_.Not:return I_.Not;case I_.Only:return I_.Only;default:return!1}}function $Be(e){{let t=J9(e);if(t!==!1)return new M9(t)}{let t=-1,n=-1,i=-1;for(let s=0;s<e.length;s++){let u=e[s];if(!E1(u)&&!y1(u)){if(Mi(u)){let H=u.value;if(t===-1&&H[0]===Rt.Ident&&SQ(H)){t=s;continue}if(n===-1&&H[0]===Rt.Ident&&!SQ(H)){n=s;continue}if(i===-1&&H[0]===Rt.Ident&&eu(H[4].value)==="and"){if(i=s,LQ(e.slice(s+1))===!1)return!1;break}return!1}return!1}}let o=[],r=[];t!==-1?(o=e.slice(0,t+1).flatMap(s=>s.tokens()),n!==-1&&(r=e.slice(t+1,n+1).flatMap(s=>s.tokens()))):n!==-1&&(r=e.slice(0,n+1).flatMap(s=>s.tokens()));let c=LQ(e.slice(Math.max(t,n,i)+1));return c===!1?new I1(o,[...r,...e.slice(n+1).flatMap(s=>s.tokens())]):new I1(o,r,e.slice(n+1,i+1).flatMap(s=>s.tokens()),c)}}function MBe(e){let t=!1,n=[],i=-1,o=-1;for(let r=0;r<e.length;r++){if(t){let s=BBe(e.slice(r));if(s!==!1){r+=s.advance,n.push(s.node),o=r;continue}}let c=e[r];if(c.type!==mi.Whitespace&&c.type!==mi.Comment){if(t||t!==!1||!$H(c)||(c.normalize(),t=L1(c),t===!1))return!1;i=r}}return!(!t||!n.length)&&new j9(t,n,e.slice(0,i).flatMap(r=>r.tokens()),e.slice(o+1).flatMap(r=>r.tokens()))}function CQ(e){let t=!1,n=[],i=-1,o=-1;for(let r=0;r<e.length;r++){if(t){let s=OBe(e.slice(r));if(s!==!1){r+=s.advance,n.push(s.node),o=r;continue}}let c=e[r];if(c.type!==mi.Whitespace&&c.type!==mi.Comment){if(t||t!==!1||!$H(c)||(c.normalize(),t=L1(c),t===!1))return!1;i=r}}return!(!t||!n.length)&&new F9(t,n,e.slice(0,i).flatMap(r=>r.tokens()),e.slice(o+1).flatMap(r=>r.tokens()))}function J9(e){let t=DQ(e);if(t!==!1)return new Jc(t);let n=CQ(e);if(n!==!1)return new Jc(n);let i=MBe(e);if(i!==!1)return new Jc(i);let o=xQ(e);return o!==!1&&new Jc(o)}function LQ(e){let t=DQ(e);if(t!==!1)return new Jc(t);let n=CQ(e);if(n!==!1)return new Jc(n);let i=xQ(e);return i!==!1&&new Jc(i)}function xQ(e){let t=-1;for(let s=0;s<e.length;s++){let u=e[s];if(u.type!==mi.Whitespace&&u.type!==mi.Comment){if(!$H(u)||t!==-1)return!1;t=s}}if(t===-1)return!1;let n=e[t];if(n.startToken[0]!==Rt.OpenParen)return!1;n.normalize();let i=[...e.slice(0,t).flatMap(s=>s.tokens()),n.startToken],o=[n.endToken,...e.slice(t+1).flatMap(s=>s.tokens())],r=vQ(n,i,o);if(r!==!1)return new MH(r);let c=J9(n.value);return c!==!1?new MH(c,i,o):new MH(new qI(n),e.slice(0,t).flatMap(s=>s.tokens()),e.slice(t+1).flatMap(s=>s.tokens()))}function L1(e){if(e.startToken[0]!==Rt.OpenParen)return!1;let t=vQ(e,[e.startToken],[e.endToken]);if(t!==!1)return new MH(t);let n=J9(e.value);return n!==!1?new MH(n,[e.startToken],[e.endToken]):new MH(new qI(e))}function DQ(e){let t=!1,n=null;for(let i=0;i<e.length;i++){let o=e[i];if(o.type!==mi.Whitespace&&o.type!==mi.Comment){if(S1(o)){if(eu(o.value[4].value)==="not"){if(t)return!1;t=!0;continue}return!1}if(!t||!$H(o))return!1;{o.normalize();let r=L1(o);if(r===!1)return!1;n=new Z9(e.slice(0,i).flatMap(c=>c.tokens()),r)}}}return n||!1}function BBe(e){let t=!1;for(let n=0;n<e.length;n++){let i=e[n];if(i.type!==mi.Whitespace&&i.type!==mi.Comment){if(S1(i)){if(eu(i.value[4].value)==="or"){if(t)return!1;t=!0;continue}return!1}if(t&&$H(i)){i.normalize();let o=L1(i);return o!==!1&&{advance:n,node:new z9(e.slice(0,n).flatMap(r=>r.tokens()),o)}}return!1}}return!1}function OBe(e){let t=!1;for(let n=0;n<e.length;n++){let i=e[n];if(i.type!==mi.Whitespace&&i.type!==mi.Comment){if(S1(i)){if(eu(i.value[4].value)==="and"){if(t)return!1;t=!0;continue}return!1}if(t&&$H(i)){i.normalize();let o=L1(i);return o!==!1&&{advance:n,node:new O9(e.slice(0,n).flatMap(r=>r.tokens()),o)}}return!1}}return!1}function FBe(e,t){let n=$9(e,{onParseError:t?.onParseError});return n.map((i,o)=>{let r=$Be(i);return r==0&&t?.preserveInvalidMediaQueries===!0?new B9(n[o]):r}).filter(i=>!!i)}function PQ(e,t){let n=f1({css:e},{onParseError:t?.onParseError}),i=[];for(;!n.endOfFile();)i.push(n.nextToken());return i.push(n.nextToken()),FBe(i,t)}(function(e){e.Not="not",e.Only="only"})(I_||(I_={}));(function(e){e.All="all",e.Print="print",e.Screen="screen",e.Tty="tty",e.Tv="tv",e.Projection="projection",e.Handheld="handheld",e.Braille="braille",e.Embossed="embossed",e.Aural="aural",e.Speech="speech"})(IQ||(IQ={}));function WI(e,t){if(!t[0])return e;t.sort((o,r)=>o.end-r.end||o.start-r.start);let n="",i=t[0];n+=e.slice(0,i.start),n+=i.replacement;for(let o=1;o<t.length;++o){let r=t[o];n+=e.slice(i.end,r.start),n+=r.replacement,i=r}return n+=e.slice(i.end),n}function L_(e,t){return WI(e,t.map(n=>({start:n.index,end:n.index,replacement:` /* ${n.value} */`})))}function BH(e,t,n=!0){return e.includes("rem")&&(0,T1.default)(e).walk(i=>{if(i.type!=="word")return!0;let o=T1.default.unit(i.value);if(!o||o.unit!=="rem")return!1;if(n){let c=` /* ${parseFloat(o.number)*t}px */`;return e=e.slice(0,i.sourceEndIndex)+c+e.slice(i.sourceEndIndex),!1}let r=`${parseFloat(o.number)*t}px`;return e=e.slice(0,i.sourceIndex)+r+e.slice(i.sourceEndIndex),!1}),e}function wQ(e){let t=16,n=[];try{PQ(e).forEach(i=>{i.walk(({node:o})=>{Mi(o)&&o.type==="token"&&o.value[0]==="dimension-token"&&(o.value[4].type==="integer"||o.value[4].type==="number")&&(o.value[4].unit==="rem"||o.value[4].unit==="em")&&n.push({index:e.length-(e.length-o.value[3]-1),value:`${o.value[4].value*t}px`})})})}catch{}return n}function Q9(e){return e.replace(/(?<=^\s*@media\s*).*?$/,t=>{let n=wQ(t);return L_(t,n)})}var kQ=Object.assign(({comments:e,rootFontSize:t})=>({postcssPlugin:"plugin",AtRule:{media(n){n.params.includes("em")&&e.push(...wQ(n.params).map(({index:i,value:o})=>({index:i+n.source.start.offset+`@media${n.raws.afterName}`.length,value:o})))}},Declaration(n){n.value.includes("rem")&&(0,T1.default)(n.value).walk(i=>{if(i.type!=="word")return!0;let o=T1.default.unit(i.value);return!o||o.unit!=="rem"||e.push({index:n.source.start.offset+`${n.prop}${n.raws.between}`.length+i.sourceEndIndex,value:`${parseFloat(o.number)*t}px`}),!1})}}),{postcss:!0});var cre=mr(wI());var jBe=(e,t)=>{if(typeof e=="number"){if(t===3)return{mode:"rgb",r:(e>>8&15|e>>4&240)/255,g:(e>>4&15|e&240)/255,b:(e&15|e<<4&240)/255};if(t===4)return{mode:"rgb",r:(e>>12&15|e>>8&240)/255,g:(e>>8&15|e>>4&240)/255,b:(e>>4&15|e&240)/255,alpha:(e&15|e<<4&240)/255};if(t===6)return{mode:"rgb",r:(e>>16&255)/255,g:(e>>8&255)/255,b:(e&255)/255};if(t===8)return{mode:"rgb",r:(e>>24&255)/255,g:(e>>16&255)/255,b:(e>>8&255)/255,alpha:(e&255)/255}}},VI=jBe;var UBe={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},NQ=UBe;var qBe=e=>VI(NQ[e.toLowerCase()],6),RQ=qBe;var WBe=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i,VBe=e=>{let t;return(t=e.match(WBe))?VI(parseInt(t[1],16),t[1].length):void 0},$Q=VBe;var nl="([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)",Ngt=`(?:${nl}|none)`,gf=`${nl}%`,Rgt=`(?:${nl}%|none)`,v1=`(?:${nl}%|${nl})`,KBe=`(?:${nl}%|${nl}|none)`,MQ=`(?:${nl}(deg|grad|rad|turn)|${nl})`,$gt=`(?:${nl}(deg|grad|rad|turn)|${nl}|none)`,qp="\\s*,\\s*";var Mgt=new RegExp("^"+KBe+"$");var GBe=new RegExp(`^rgba?\\(\\s*${nl}${qp}${nl}${qp}${nl}\\s*(?:,\\s*${v1}\\s*)?\\)$`),XBe=new RegExp(`^rgba?\\(\\s*${gf}${qp}${gf}${qp}${gf}\\s*(?:,\\s*${v1}\\s*)?\\)$`),ZBe=e=>{let t={mode:"rgb"},n;if(n=e.match(GBe))n[1]!==void 0&&(t.r=n[1]/255),n[2]!==void 0&&(t.g=n[2]/255),n[3]!==void 0&&(t.b=n[3]/255);else if(n=e.match(XBe))n[1]!==void 0&&(t.r=n[1]/100),n[2]!==void 0&&(t.g=n[2]/100),n[3]!==void 0&&(t.b=n[3]/100);else return;return n[4]!==void 0?t.alpha=Math.max(0,Math.min(1,n[4]/100)):n[5]!==void 0&&(t.alpha=Math.max(0,Math.min(1,+n[5]))),t},BQ=ZBe;var zBe=(e,t)=>e===void 0?void 0:typeof e!="object"?C1(e):e.mode!==void 0?e:t?{...e,mode:t}:void 0,KI=zBe;var JBe=(e="rgb")=>t=>(t=KI(t,e))!==void 0?t.mode===e?t:tu[t.mode][e]?tu[t.mode][e](t):e==="rgb"?tu[t.mode].rgb(t):tu.rgb[e](tu[t.mode].rgb(t)):void 0,fc=JBe;var tu={},OQ={},x1=[],Y9={},QBe=e=>e,Yi=e=>(tu[e.mode]={...tu[e.mode],...e.toMode},Object.keys(e.fromMode||{}).forEach(t=>{tu[t]||(tu[t]={}),tu[t][e.mode]=e.fromMode[t]}),e.ranges||(e.ranges={}),e.difference||(e.difference={}),e.channels.forEach(t=>{if(e.ranges[t]===void 0&&(e.ranges[t]=[0,1]),!e.interpolate[t])throw new Error(`Missing interpolator for: ${t}`);typeof e.interpolate[t]=="function"&&(e.interpolate[t]={use:e.interpolate[t]}),e.interpolate[t].fixup||(e.interpolate[t].fixup=QBe)}),OQ[e.mode]=e,(e.parse||[]).forEach(t=>{YBe(t,e.mode)}),fc(e.mode)),GI=e=>OQ[e],YBe=(e,t)=>{if(typeof e=="string"){if(!t)throw new Error("'mode' required when 'parser' is a string");Y9[e]=t}else typeof e=="function"&&x1.indexOf(e)<0&&x1.push(e)};var e2=/[^\x00-\x7F]|[a-zA-Z_]/,eOe=/[^\x00-\x7F]|[-\w]/,br={Function:"function",Ident:"ident",Number:"number",Percentage:"percentage",ParenClose:")",None:"none",Hue:"hue",Alpha:"alpha"},Rn=0;function XI(e){let t=e[Rn],n=e[Rn+1];return t==="-"||t==="+"?/\d/.test(n)||n==="."&&/\d/.test(e[Rn+2]):t==="."?/\d/.test(n):/\d/.test(t)}function t2(e){if(Rn>=e.length)return!1;let t=e[Rn];if(e2.test(t))return!0;if(t==="-"){if(e.length-Rn<2)return!1;let n=e[Rn+1];return!!(n==="-"||e2.test(n))}return!1}var tOe={deg:1,rad:180/Math.PI,grad:9/10,turn:360};function D1(e){let t="";if((e[Rn]==="-"||e[Rn]==="+")&&(t+=e[Rn++]),t+=ZI(e),e[Rn]==="."&&/\d/.test(e[Rn+1])&&(t+=e[Rn++]+ZI(e)),(e[Rn]==="e"||e[Rn]==="E")&&((e[Rn+1]==="-"||e[Rn+1]==="+")&&/\d/.test(e[Rn+2])?t+=e[Rn++]+e[Rn++]+ZI(e):/\d/.test(e[Rn+1])&&(t+=e[Rn++]+ZI(e))),t2(e)){let n=zI(e);return n==="deg"||n==="rad"||n==="turn"||n==="grad"?{type:br.Hue,value:t*tOe[n]}:void 0}return e[Rn]==="%"?(Rn++,{type:br.Percentage,value:+t}):{type:br.Number,value:+t}}function ZI(e){let t="";for(;/\d/.test(e[Rn]);)t+=e[Rn++];return t}function zI(e){let t="";for(;Rn<e.length&&eOe.test(e[Rn]);)t+=e[Rn++];return t}function rOe(e){let t=zI(e);return e[Rn]==="("?(Rn++,{type:br.Function,value:t}):t==="none"?{type:br.None,value:void 0}:{type:br.Ident,value:t}}function nOe(e=""){let t=e.trim(),n=[],i;for(Rn=0;Rn<t.length;){if(i=t[Rn++],i===`
|
|
`||i===" "||i===" "){for(;Rn<t.length&&(t[Rn]===`
|
|
`||t[Rn]===" "||t[Rn]===" ");)Rn++;continue}if(i===",")return;if(i===")"){n.push({type:br.ParenClose});continue}if(i==="+"){if(Rn--,XI(t)){n.push(D1(t));continue}return}if(i==="-"){if(Rn--,XI(t)){n.push(D1(t));continue}if(t2(t)){n.push({type:br.Ident,value:zI(t)});continue}return}if(i==="."){if(Rn--,XI(t)){n.push(D1(t));continue}return}if(i==="/"){for(;Rn<t.length&&(t[Rn]===`
|
|
`||t[Rn]===" "||t[Rn]===" ");)Rn++;let o;if(XI(t)&&(o=D1(t),o.type!==br.Hue)){n.push({type:br.Alpha,value:o});continue}if(t2(t)&&zI(t)==="none"){n.push({type:br.Alpha,value:{type:br.None,value:void 0}});continue}return}if(/\d/.test(i)){Rn--,n.push(D1(t));continue}if(e2.test(i)){Rn--,n.push(rOe(t));continue}return}return n}function iOe(e){e._i=0;let t=e[e._i++];if(!t||t.type!==br.Function||t.value!=="color"||(t=e[e._i++],t.type!==br.Ident))return;let n=Y9[t.value];if(!n)return;let i={mode:n},o=FQ(e,!1);if(!o)return;let r=GI(n).channels;for(let c=0,s,u;c<r.length;c++)s=o[c],u=r[c],s.type!==br.None&&(i[u]=s.type===br.Number?s.value:s.value/100,u==="alpha"&&(i[u]=Math.max(0,Math.min(1,i[u]))));return i}function FQ(e,t){let n=[],i;for(;e._i<e.length;){if(i=e[e._i++],i.type===br.None||i.type===br.Number||i.type===br.Alpha||i.type===br.Percentage||t&&i.type===br.Hue){n.push(i);continue}if(i.type===br.ParenClose){if(e._i<e.length)return;continue}return}if(!(n.length<3||n.length>4)){if(n.length===4){if(n[3].type!==br.Alpha)return;n[3]=n[3].value}return n.length===3&&n.push({type:br.None,value:void 0}),n.every(o=>o.type!==br.Alpha)?n:void 0}}function sOe(e,t){e._i=0;let n=e[e._i++];if(!n||n.type!==br.Function)return;let i=FQ(e,t);if(i)return i.unshift(n.value),i}var aOe=e=>{if(typeof e!="string")return;let t=nOe(e),n=t?sOe(t,!0):void 0,i,o=0,r=x1.length;for(;o<r;)if((i=x1[o++](e,n))!==void 0)return i;return t?iOe(t):void 0},C1=aOe;function oOe(e,t){if(!t||t[0]!=="rgb"&&t[0]!=="rgba")return;let n={mode:"rgb"},[,i,o,r,c]=t;if(!(i.type===br.Hue||o.type===br.Hue||r.type===br.Hue))return i.type!==br.None&&(n.r=i.type===br.Number?i.value/255:i.value/100),o.type!==br.None&&(n.g=o.type===br.Number?o.value/255:o.value/100),r.type!==br.None&&(n.b=r.type===br.Number?r.value/255:r.value/100),c.type!==br.None&&(n.alpha=Math.min(1,Math.max(0,c.type===br.Number?c.value:c.value/100))),n}var jQ=oOe;var lOe=e=>e==="transparent"?{mode:"rgb",r:0,g:0,b:0,alpha:0}:void 0,UQ=lOe;var qQ=(e,t,n)=>e+n*(t-e);var cOe=e=>{let t=[];for(let n=0;n<e.length-1;n++){let i=e[n],o=e[n+1];i===void 0&&o===void 0?t.push(void 0):i!==void 0&&o!==void 0?t.push([i,o]):t.push(i!==void 0?[i,i]:[o,o])}return t},WQ=e=>t=>{let n=cOe(t);return i=>{let o=i*n.length,r=i>=1?n.length-1:Math.max(Math.floor(o),0),c=n[r];return c===void 0?void 0:e(c[0],c[1],o-r)}};var Sr=WQ(qQ);var hi=e=>{let t=!1,n=e.map(i=>i!==void 0?(t=!0,i):1);return t?n:e};var uOe={mode:"rgb",channels:["r","g","b","alpha"],parse:[jQ,$Q,BQ,RQ,UQ,"srgb"],serialize:"srgb",interpolate:{r:Sr,g:Sr,b:Sr,alpha:{use:Sr,fixup:hi}},gamut:!0,white:{r:1,g:1,b:1},black:{r:0,g:0,b:0}},hc=uOe;var r2=(e=0)=>Math.pow(Math.abs(e),2.19921875)*Math.sign(e),HOe=e=>{let t=r2(e.r),n=r2(e.g),i=r2(e.b),o={mode:"xyz65",x:.5766690429101305*t+.1855582379065463*n+.1882286462349947*i,y:.297344975250536*t+.6273635662554661*n+.0752914584939979*i,z:.0270313613864123*t+.0706888525358272*n+.9913375368376386*i};return e.alpha!==void 0&&(o.alpha=e.alpha),o},n2=HOe;var i2=e=>Math.pow(Math.abs(e),.4547069271758437)*Math.sign(e),pOe=({x:e,y:t,z:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o={mode:"a98",r:i2(e*2.0415879038107465-t*.5650069742788597-.3447313507783297*n),g:i2(e*-.9692436362808798+t*1.8759675015077206+.0415550574071756*n),b:i2(e*.0134442806320312-t*.1183623922310184+1.0151749943912058*n)};return i!==void 0&&(o.alpha=i),o},s2=pOe;var a2=(e=0)=>{let t=Math.abs(e);return t<=.04045?e/12.92:(Math.sign(e)||1)*Math.pow((t+.055)/1.055,2.4)},dOe=({r:e,g:t,b:n,alpha:i})=>{let o={mode:"lrgb",r:a2(e),g:a2(t),b:a2(n)};return i!==void 0&&(o.alpha=i),o},_c=dOe;var fOe=e=>{let{r:t,g:n,b:i,alpha:o}=_c(e),r={mode:"xyz65",x:.4123907992659593*t+.357584339383878*n+.1804807884018343*i,y:.2126390058715102*t+.715168678767756*n+.0721923153607337*i,z:.0193308187155918*t+.119194779794626*n+.9505321522496607*i};return o!==void 0&&(r.alpha=o),r},hl=fOe;var o2=(e=0)=>{let t=Math.abs(e);return t>.0031308?(Math.sign(e)||1)*(1.055*Math.pow(t,.4166666666666667)-.055):e*12.92},hOe=({r:e,g:t,b:n,alpha:i},o="rgb")=>{let r={mode:o,r:o2(e),g:o2(t),b:o2(n)};return i!==void 0&&(r.alpha=i),r},mc=hOe;var _Oe=({x:e,y:t,z:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o=mc({r:e*3.2409699419045226-t*1.537383177570094-.4986107602930034*n,g:e*-.9692436362808796+t*1.8759675015077204+.0415550574071756*n,b:e*.0556300796969936-t*.2039769588889765+1.0569715142428784*n});return i!==void 0&&(o.alpha=i),o},_l=_Oe;var mOe={...hc,mode:"a98",parse:["a98-rgb"],serialize:"a98-rgb",fromMode:{rgb:e=>s2(hl(e)),xyz65:s2},toMode:{rgb:e=>_l(n2(e)),xyz65:n2}},VQ=mOe;var EOe=e=>(e=e%360)<0?e+360:e,Is=EOe;var yOe=(e,t)=>e.map((n,i,o)=>{if(n===void 0)return n;let r=Is(n);return i===0||e[i-1]===void 0?r:t(r-Is(o[i-1]))}).reduce((n,i)=>!n.length||i===void 0||n[n.length-1]===void 0?(n.push(i),n):(n.push(i+n[n.length-1]),n),[]),lo=e=>yOe(e,t=>Math.abs(t)<=180?t:t-360*Math.sign(t));var Xa=[-.14861,1.78277,-.29227,-.90649,1.97294,0],KQ=Math.PI/180,GQ=180/Math.PI;var XQ=Xa[3]*Xa[4],ZQ=Xa[1]*Xa[4],zQ=Xa[1]*Xa[2]-Xa[0]*Xa[3],gOe=({r:e,g:t,b:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o=(zQ*n+e*XQ-t*ZQ)/(zQ+XQ-ZQ),r=n-o,c=(Xa[4]*(t-o)-Xa[2]*r)/Xa[3],s={mode:"cubehelix",l:o,s:o===0||o===1?void 0:Math.sqrt(r*r+c*c)/(Xa[4]*o*(1-o))};return s.s&&(s.h=Math.atan2(c,r)*GQ-120),i!==void 0&&(s.alpha=i),s},JQ=gOe;var bOe=({h:e,s:t,l:n,alpha:i})=>{let o={mode:"rgb"};e=(e===void 0?0:e+120)*KQ,n===void 0&&(n=0);let r=t===void 0?0:t*n*(1-n),c=Math.cos(e),s=Math.sin(e);return o.r=n+r*(Xa[0]*c+Xa[1]*s),o.g=n+r*(Xa[2]*c+Xa[3]*s),o.b=n+r*(Xa[4]*c+Xa[5]*s),i!==void 0&&(o.alpha=i),o},QQ=bOe;var Wp=(e,t)=>{if(e.h===void 0||t.h===void 0||!e.s||!t.s)return 0;let n=Is(e.h),i=Is(t.h),o=Math.sin((i-n+360)/2*Math.PI/180);return 2*Math.sqrt(e.s*t.s)*o},YQ=(e,t)=>{if(e.h===void 0||t.h===void 0)return 0;let n=Is(e.h),i=Is(t.h);return Math.abs(i-n)>180?n-(i-360*Math.sign(i-n)):i-n},Vp=(e,t)=>{if(e.h===void 0||t.h===void 0||!e.c||!t.c)return 0;let n=Is(e.h),i=Is(t.h),o=Math.sin((i-n+360)/2*Math.PI/180);return 2*Math.sqrt(e.c*t.c)*o};var co=e=>{let t=e.reduce((i,o)=>{if(o!==void 0){let r=o*Math.PI/180;i.sin+=Math.sin(r),i.cos+=Math.cos(r)}return i},{sin:0,cos:0}),n=Math.atan2(t.sin,t.cos)*180/Math.PI;return n<0?360+n:n};var AOe={mode:"cubehelix",channels:["h","s","l","alpha"],parse:["--cubehelix"],serialize:"--cubehelix",ranges:{h:[0,360],s:[0,4.614],l:[0,1]},fromMode:{rgb:JQ},toMode:{rgb:QQ},interpolate:{h:{use:Sr,fixup:lo},s:Sr,l:Sr,alpha:{use:Sr,fixup:hi}},difference:{h:Wp},average:{h:co}},eY=AOe;var IOe=({l:e,a:t,b:n,alpha:i},o="lch")=>{t===void 0&&(t=0),n===void 0&&(n=0);let r=Math.sqrt(t*t+n*n),c={mode:o,l:e,c:r};return r&&(c.h=Is(Math.atan2(n,t)*180/Math.PI)),i!==void 0&&(c.alpha=i),c},Bl=IOe;var SOe=({l:e,c:t,h:n,alpha:i},o="lab")=>{n===void 0&&(n=0);let r={mode:o,l:e,a:t?t*Math.cos(n/180*Math.PI):0,b:t?t*Math.sin(n/180*Math.PI):0};return i!==void 0&&(r.alpha=i),r},Ol=SOe;var JI=Math.pow(29,3)/Math.pow(3,3),QI=Math.pow(6,3)/Math.pow(29,3);var ua={X:.9642956764295677,Y:1,Z:.8251046025104602},Kp={X:.3127/.329,Y:1,Z:(1-.3127-.329)/.329},zbt=Math.pow(29,3)/Math.pow(3,3),Jbt=Math.pow(6,3)/Math.pow(29,3);var l2=e=>Math.pow(e,3)>QI?Math.pow(e,3):(116*e-16)/JI,LOe=({l:e,a:t,b:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o=(e+16)/116,r=t/500+o,c=o-n/200,s={mode:"xyz65",x:l2(r)*Kp.X,y:l2(o)*Kp.Y,z:l2(c)*Kp.Z};return i!==void 0&&(s.alpha=i),s},YI=LOe;var TOe=e=>_l(YI(e)),Gp=TOe;var c2=e=>e>QI?Math.cbrt(e):(JI*e+16)/116,vOe=({x:e,y:t,z:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o=c2(e/Kp.X),r=c2(t/Kp.Y),c=c2(n/Kp.Z),s={mode:"lab65",l:116*r-16,a:500*(o-r),b:200*(r-c)};return i!==void 0&&(s.alpha=i),s},eS=vOe;var COe=e=>{let t=eS(hl(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Xp=COe;var bf=.14444444444444443*Math.PI,T_=Math.cos(bf),v_=Math.sin(bf),tS=100/Math.log(139/100);var xOe=({l:e,c:t,h:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o={mode:"lab65",l:(Math.exp(e*1/tS)-1)/.0039},r=(Math.exp(.0435*t*1*1)-1)/.075,c=r*Math.cos(n/180*Math.PI-bf),s=r*Math.sin(n/180*Math.PI-bf);return o.a=c*T_-s/.83*v_,o.b=c*v_+s/.83*T_,i!==void 0&&(o.alpha=i),o},w1=xOe;var DOe=({l:e,a:t,b:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o=t*T_+n*v_,r=.83*(n*T_-t*v_),c=Math.sqrt(o*o+r*r),s={mode:"dlch",l:tS/1*Math.log(1+.0039*e),c:Math.log(1+.075*c)/(.0435*1*1)};return s.c&&(s.h=Is((Math.atan2(r,o)+bf)/Math.PI*180)),i!==void 0&&(s.alpha=i),s},k1=DOe;var tY=e=>w1(Bl(e,"dlch")),rY=e=>Ol(k1(e),"dlab"),POe={mode:"dlab",parse:["--din99o-lab"],serialize:"--din99o-lab",toMode:{lab65:tY,rgb:e=>Gp(tY(e))},fromMode:{lab65:rY,rgb:e=>rY(Xp(e))},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-40.09,45.501],b:[-40.469,44.344]},interpolate:{l:Sr,a:Sr,b:Sr,alpha:{use:Sr,fixup:hi}}},nY=POe;var wOe={mode:"dlch",parse:["--din99o-lch"],serialize:"--din99o-lch",toMode:{lab65:w1,dlab:e=>Ol(e,"dlab"),rgb:e=>Gp(w1(e))},fromMode:{lab65:k1,dlab:e=>Bl(e,"dlch"),rgb:e=>k1(Xp(e))},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,51.484],h:[0,360]},interpolate:{l:Sr,c:Sr,h:{use:Sr,fixup:lo},alpha:{use:Sr,fixup:hi}},difference:{h:Vp},average:{h:co}},iY=wOe;function H2({h:e,s:t,i:n,alpha:i}){e=Is(e!==void 0?e:0),t===void 0&&(t=0),n===void 0&&(n=0);let o=Math.abs(e/60%2-1),r;switch(Math.floor(e/60)){case 0:r={r:n*(1+t*(3/(2-o)-1)),g:n*(1+t*(3*(1-o)/(2-o)-1)),b:n*(1-t)};break;case 1:r={r:n*(1+t*(3*(1-o)/(2-o)-1)),g:n*(1+t*(3/(2-o)-1)),b:n*(1-t)};break;case 2:r={r:n*(1-t),g:n*(1+t*(3/(2-o)-1)),b:n*(1+t*(3*(1-o)/(2-o)-1))};break;case 3:r={r:n*(1-t),g:n*(1+t*(3*(1-o)/(2-o)-1)),b:n*(1+t*(3/(2-o)-1))};break;case 4:r={r:n*(1+t*(3*(1-o)/(2-o)-1)),g:n*(1-t),b:n*(1+t*(3/(2-o)-1))};break;case 5:r={r:n*(1+t*(3/(2-o)-1)),g:n*(1-t),b:n*(1+t*(3*(1-o)/(2-o)-1))};break;default:r={r:n*(1-t),g:n*(1-t),b:n*(1-t)}}return r.mode="rgb",i!==void 0&&(r.alpha=i),r}function p2({r:e,g:t,b:n,alpha:i}){e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o=Math.max(e,t,n),r=Math.min(e,t,n),c={mode:"hsi",s:e+t+n===0?0:1-3*r/(e+t+n),i:(e+t+n)/3};return o-r!==0&&(c.h=(o===e?(t-n)/(o-r)+(t<n)*6:o===t?(n-e)/(o-r)+2:(e-t)/(o-r)+4)*60),i!==void 0&&(c.alpha=i),c}var kOe={mode:"hsi",toMode:{rgb:H2},parse:["--hsi"],serialize:"--hsi",fromMode:{rgb:p2},channels:["h","s","i","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:Sr,fixup:lo},s:Sr,i:Sr,alpha:{use:Sr,fixup:hi}},difference:{h:Wp},average:{h:co}},sY=kOe;function d2({h:e,s:t,l:n,alpha:i}){e=Is(e!==void 0?e:0),t===void 0&&(t=0),n===void 0&&(n=0);let o=n+t*(n<.5?n:1-n),r=o-(o-n)*2*Math.abs(e/60%2-1),c;switch(Math.floor(e/60)){case 0:c={r:o,g:r,b:2*n-o};break;case 1:c={r,g:o,b:2*n-o};break;case 2:c={r:2*n-o,g:o,b:r};break;case 3:c={r:2*n-o,g:r,b:o};break;case 4:c={r,g:2*n-o,b:o};break;case 5:c={r:o,g:2*n-o,b:r};break;default:c={r:2*n-o,g:2*n-o,b:2*n-o}}return c.mode="rgb",i!==void 0&&(c.alpha=i),c}function f2({r:e,g:t,b:n,alpha:i}){e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o=Math.max(e,t,n),r=Math.min(e,t,n),c={mode:"hsl",s:o===r?0:(o-r)/(1-Math.abs(o+r-1)),l:.5*(o+r)};return o-r!==0&&(c.h=(o===e?(t-n)/(o-r)+(t<n)*6:o===t?(n-e)/(o-r)+2:(e-t)/(o-r)+4)*60),i!==void 0&&(c.alpha=i),c}var NOe=(e,t)=>{switch(t){case"deg":return+e;case"rad":return e/Math.PI*180;case"grad":return e/10*9;case"turn":return e*360}},aY=NOe;var ROe=new RegExp(`^hsla?\\(\\s*${MQ}${qp}${gf}${qp}${gf}\\s*(?:,\\s*${v1}\\s*)?\\)$`),$Oe=e=>{let t=e.match(ROe);if(!t)return;let n={mode:"hsl"};return t[3]!==void 0?n.h=+t[3]:t[1]!==void 0&&t[2]!==void 0&&(n.h=aY(t[1],t[2])),t[4]!==void 0&&(n.s=Math.min(Math.max(0,t[4]/100),1)),t[5]!==void 0&&(n.l=Math.min(Math.max(0,t[5]/100),1)),t[6]!==void 0?n.alpha=Math.max(0,Math.min(1,t[6]/100)):t[7]!==void 0&&(n.alpha=Math.max(0,Math.min(1,+t[7]))),n},oY=$Oe;function MOe(e,t){if(!t||t[0]!=="hsl"&&t[0]!=="hsla")return;let n={mode:"hsl"},[,i,o,r,c]=t;if(i.type!==br.None){if(i.type===br.Percentage)return;n.h=i.value}if(o.type!==br.None){if(o.type===br.Hue)return;n.s=o.value/100}if(r.type!==br.None){if(r.type===br.Hue)return;n.l=r.value/100}return c.type!==br.None&&(n.alpha=Math.min(1,Math.max(0,c.type===br.Number?c.value:c.value/100))),n}var lY=MOe;var BOe={mode:"hsl",toMode:{rgb:d2},fromMode:{rgb:f2},channels:["h","s","l","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[lY,oY],serialize:e=>`hsl(${e.h!==void 0?e.h:"none"} ${e.s!==void 0?e.s*100+"%":"none"} ${e.l!==void 0?e.l*100+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:Sr,fixup:lo},s:Sr,l:Sr,alpha:{use:Sr,fixup:hi}},difference:{h:Wp},average:{h:co}},rS=BOe;function N1({h:e,s:t,v:n,alpha:i}){e=Is(e!==void 0?e:0),t===void 0&&(t=0),n===void 0&&(n=0);let o=Math.abs(e/60%2-1),r;switch(Math.floor(e/60)){case 0:r={r:n,g:n*(1-t*o),b:n*(1-t)};break;case 1:r={r:n*(1-t*o),g:n,b:n*(1-t)};break;case 2:r={r:n*(1-t),g:n,b:n*(1-t*o)};break;case 3:r={r:n*(1-t),g:n*(1-t*o),b:n};break;case 4:r={r:n*(1-t*o),g:n*(1-t),b:n};break;case 5:r={r:n,g:n*(1-t),b:n*(1-t*o)};break;default:r={r:n*(1-t),g:n*(1-t),b:n*(1-t)}}return r.mode="rgb",i!==void 0&&(r.alpha=i),r}function R1({r:e,g:t,b:n,alpha:i}){e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o=Math.max(e,t,n),r=Math.min(e,t,n),c={mode:"hsv",s:o===0?0:1-r/o,v:o};return o-r!==0&&(c.h=(o===e?(t-n)/(o-r)+(t<n)*6:o===t?(n-e)/(o-r)+2:(e-t)/(o-r)+4)*60),i!==void 0&&(c.alpha=i),c}var OOe={mode:"hsv",toMode:{rgb:N1},parse:["--hsv"],serialize:"--hsv",fromMode:{rgb:R1},channels:["h","s","v","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:Sr,fixup:lo},s:Sr,v:Sr,alpha:{use:Sr,fixup:hi}},difference:{h:Wp},average:{h:co}},nS=OOe;function h2({h:e,w:t,b:n,alpha:i}){if(t===void 0&&(t=0),n===void 0&&(n=0),t+n>1){let o=t+n;t/=o,n/=o}return N1({h:e,s:n===1?1:1-t/(1-n),v:1-n,alpha:i})}function _2(e){let t=R1(e);if(t===void 0)return;let n=t.s!==void 0?t.s:0,i=t.v!==void 0?t.v:0,o={mode:"hwb",w:(1-n)*i,b:1-i};return t.h!==void 0&&(o.h=t.h),t.alpha!==void 0&&(o.alpha=t.alpha),o}function FOe(e,t){if(!t||t[0]!=="hwb")return;let n={mode:"hwb"},[,i,o,r,c]=t;if(i.type!==br.None){if(i.type===br.Percentage)return;n.h=i.value}if(o.type!==br.None){if(o.type===br.Hue)return;n.w=o.value/100}if(r.type!==br.None){if(r.type===br.Hue)return;n.b=r.value/100}return c.type!==br.None&&(n.alpha=Math.min(1,Math.max(0,c.type===br.Number?c.value:c.value/100))),n}var cY=FOe;var jOe={mode:"hwb",toMode:{rgb:h2},fromMode:{rgb:_2},channels:["h","w","b","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[cY],serialize:e=>`hwb(${e.h!==void 0?e.h:"none"} ${e.w!==void 0?e.w*100+"%":"none"} ${e.b!==void 0?e.b*100+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:Sr,fixup:lo},w:Sr,b:Sr,alpha:{use:Sr,fixup:hi}},difference:{h:YQ},average:{h:co}},uY=jOe;var C_=.1593017578125,HY=78.84375,x_=.8359375,D_=18.8515625,P_=18.6875;function iS(e){if(e<0)return 0;let t=Math.pow(e,1/HY);return 1e4*Math.pow(Math.max(0,t-x_)/(D_-P_*t),1/C_)}function sS(e){if(e<0)return 0;let t=Math.pow(e/1e4,C_);return Math.pow((x_+D_*t)/(1+P_*t),HY)}var m2=e=>Math.max(e/203,0),qOe=({i:e,t,p:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o=iS(e+.008609037037932761*t+.11102962500302593*n),r=iS(e-.00860903703793275*t-.11102962500302599*n),c=iS(e+.5600313357106791*t-.32062717498731885*n),s={mode:"xyz65",x:m2(2.070152218389422*o-1.3263473389671556*r+.2066510476294051*c),y:m2(.3647385209748074*o+.680566024947227*r-.0453045459220346*c),z:m2(-.049747207535812*o-.0492609666966138*r+1.1880659249923042*c)};return i!==void 0&&(s.alpha=i),s},E2=qOe;var y2=(e=0)=>Math.max(e*203,0),WOe=({x:e,y:t,z:n,alpha:i})=>{let o=y2(e),r=y2(t),c=y2(n),s=sS(.3592832590121217*o+.6976051147779502*r-.0358915932320289*c),u=sS(-.1920808463704995*o+1.1004767970374323*r+.0753748658519118*c),H=sS(.0070797844607477*o+.0748396662186366*r+.8433265453898765*c),a=.5*s+.5*u,l=1.61376953125*s-3.323486328125*u+1.709716796875*H,p=4.378173828125*s-4.24560546875*u-.132568359375*H,d={mode:"itp",i:a,t:l,p};return i!==void 0&&(d.alpha=i),d},g2=WOe;var VOe={mode:"itp",channels:["i","t","p","alpha"],parse:["--ictcp"],serialize:"--ictcp",toMode:{xyz65:E2,rgb:e=>_l(E2(e))},fromMode:{xyz65:g2,rgb:e=>g2(hl(e))},ranges:{i:[0,.581],t:[-.369,.272],p:[-.164,.331]},interpolate:{i:Sr,t:Sr,p:Sr,alpha:{use:Sr,fixup:hi}}},pY=VOe;var KOe=134.03437499999998,GOe=16295499532821565e-27,b2=e=>{if(e<0)return 0;let t=Math.pow(e/1e4,C_);return Math.pow((x_+D_*t)/(1+P_*t),KOe)},A2=(e=0)=>Math.max(e*203,0),XOe=({x:e,y:t,z:n,alpha:i})=>{e=A2(e),t=A2(t),n=A2(n);let o=1.15*e-.15*n,r=.66*t+.34*e,c=b2(.41478972*o+.579999*r+.014648*n),s=b2(-.20151*o+1.120649*r+.0531008*n),u=b2(-.0166008*o+.2648*r+.6684799*n),H=(c+s)/2,a={mode:"jab",j:.44*H/(1-.56*H)-GOe,a:3.524*c-4.066708*s+.542708*u,b:.199076*c+1.096799*s-1.295875*u};return i!==void 0&&(a.alpha=i),a},aS=XOe;var ZOe=134.03437499999998,dY=16295499532821565e-27,I2=e=>{if(e<0)return 0;let t=Math.pow(e,1/ZOe);return 1e4*Math.pow((x_-t)/(P_*t-D_),1/C_)},S2=e=>e/203,zOe=({j:e,a:t,b:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o=(e+dY)/(.44+.56*(e+dY)),r=I2(o+.13860504*t+.058047316*n),c=I2(o-.13860504*t-.058047316*n),s=I2(o-.096019242*t-.8118919*n),u={mode:"xyz65",x:S2(1.661373024652174*r-.914523081304348*c+.23136208173913045*s),y:S2(-.3250758611844533*r+1.571847026732543*c-.21825383453227928*s),z:S2(-.090982811*r-.31272829*c+1.5227666*s)};return i!==void 0&&(u.alpha=i),u},oS=zOe;var JOe=e=>{let t=aS(hl(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},lS=JOe;var QOe=e=>_l(oS(e)),cS=QOe;var YOe={mode:"jab",channels:["j","a","b","alpha"],parse:["--jzazbz"],serialize:"--jzazbz",fromMode:{rgb:lS,xyz65:aS},toMode:{rgb:cS,xyz65:oS},ranges:{j:[0,.222],a:[-.109,.129],b:[-.185,.134]},interpolate:{j:Sr,a:Sr,b:Sr,alpha:{use:Sr,fixup:hi}}},fY=YOe;var e5e=({j:e,a:t,b:n,alpha:i})=>{t===void 0&&(t=0),n===void 0&&(n=0);let o=Math.sqrt(t*t+n*n),r={mode:"jch",j:e,c:o};return o&&(r.h=Is(Math.atan2(n,t)*180/Math.PI)),i!==void 0&&(r.alpha=i),r},L2=e5e;var t5e=({j:e,c:t,h:n,alpha:i})=>{n===void 0&&(n=0);let o={mode:"jab",j:e,a:t?t*Math.cos(n/180*Math.PI):0,b:t?t*Math.sin(n/180*Math.PI):0};return i!==void 0&&(o.alpha=i),o},T2=t5e;var r5e={mode:"jch",parse:["--jzczhz"],serialize:"--jzczhz",toMode:{jab:T2,rgb:e=>cS(T2(e))},fromMode:{rgb:e=>L2(lS(e)),jab:L2},channels:["j","c","h","alpha"],ranges:{j:[0,.221],c:[0,.19],h:[0,360]},interpolate:{h:{use:Sr,fixup:lo},c:Sr,j:Sr,alpha:{use:Sr,fixup:hi}},difference:{h:Vp},average:{h:co}},hY=r5e;var Zp=Math.pow(29,3)/Math.pow(3,3),w_=Math.pow(6,3)/Math.pow(29,3);var v2=e=>Math.pow(e,3)>w_?Math.pow(e,3):(116*e-16)/Zp,n5e=({l:e,a:t,b:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o=(e+16)/116,r=t/500+o,c=o-n/200,s={mode:"xyz50",x:v2(r)*ua.X,y:v2(o)*ua.Y,z:v2(c)*ua.Z};return i!==void 0&&(s.alpha=i),s},k_=n5e;var i5e=({x:e,y:t,z:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o=mc({r:e*3.1341359569958707-t*1.6173863321612538-.4906619460083532*n,g:e*-.978795502912089+t*1.916254567259524+.03344273116131949*n,b:e*.07195537988411677-t*.2289768264158322+1.405386058324125*n});return i!==void 0&&(o.alpha=i),o},Ou=i5e;var s5e=e=>Ou(k_(e)),uS=s5e;var a5e=e=>{let{r:t,g:n,b:i,alpha:o}=_c(e),r={mode:"xyz50",x:.436065742824811*t+.3851514688337912*n+.14307845442264197*i,y:.22249319175623702*t+.7168870538238823*n+.06061979053616537*i,z:.013923904500943465*t+.09708128566574634*n+.7140993584005155*i};return o!==void 0&&(r.alpha=o),r},Fu=a5e;var C2=e=>e>w_?Math.cbrt(e):(Zp*e+16)/116,o5e=({x:e,y:t,z:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o=C2(e/ua.X),r=C2(t/ua.Y),c=C2(n/ua.Z),s={mode:"lab",l:116*r-16,a:500*(o-r),b:200*(r-c)};return i!==void 0&&(s.alpha=i),s},N_=o5e;var l5e=e=>{let t=N_(Fu(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},HS=l5e;function c5e(e,t){if(!t||t[0]!=="lab")return;let n={mode:"lab"},[,i,o,r,c]=t;if(!(i.type===br.Hue||o.type===br.Hue||r.type===br.Hue))return i.type!==br.None&&(n.l=Math.min(Math.max(0,i.value),100)),o.type!==br.None&&(n.a=o.type===br.Number?o.value:o.value*125/100),r.type!==br.None&&(n.b=r.type===br.Number?r.value:r.value*125/100),c.type!==br.None&&(n.alpha=Math.min(1,Math.max(0,c.type===br.Number?c.value:c.value/100))),n}var _Y=c5e;var u5e={mode:"lab",toMode:{xyz50:k_,rgb:uS},fromMode:{xyz50:N_,rgb:HS},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-100,100],b:[-100,100]},parse:[_Y],serialize:e=>`lab(${e.l!==void 0?e.l:"none"} ${e.a!==void 0?e.a:"none"} ${e.b!==void 0?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{l:Sr,a:Sr,b:Sr,alpha:{use:Sr,fixup:hi}}},R_=u5e;var H5e={...R_,mode:"lab65",parse:["--lab-d65"],serialize:"--lab-d65",toMode:{xyz65:YI,rgb:Gp},fromMode:{xyz65:eS,rgb:Xp},ranges:{l:[0,100],a:[-86.182,98.234],b:[-107.86,94.477]}},mY=H5e;function p5e(e,t){if(!t||t[0]!=="lch")return;let n={mode:"lch"},[,i,o,r,c]=t;if(i.type!==br.None){if(i.type===br.Hue)return;n.l=Math.min(Math.max(0,i.value),100)}if(o.type!==br.None&&(n.c=Math.max(0,o.type===br.Number?o.value:o.value*150/100)),r.type!==br.None){if(r.type===br.Percentage)return;n.h=r.value}return c.type!==br.None&&(n.alpha=Math.min(1,Math.max(0,c.type===br.Number?c.value:c.value/100))),n}var EY=p5e;var d5e={mode:"lch",toMode:{lab:Ol,rgb:e=>uS(Ol(e))},fromMode:{rgb:e=>Bl(HS(e)),lab:Bl},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,150],h:[0,360]},parse:[EY],serialize:e=>`lch(${e.l!==void 0?e.l:"none"} ${e.c!==void 0?e.c:"none"} ${e.h!==void 0?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:Sr,fixup:lo},c:Sr,l:Sr,alpha:{use:Sr,fixup:hi}},difference:{h:Vp},average:{h:co}},$_=d5e;var f5e={...$_,mode:"lch65",parse:["--lch-d65"],serialize:"--lch-d65",toMode:{lab65:e=>Ol(e,"lab65"),rgb:e=>Gp(Ol(e,"lab65"))},fromMode:{rgb:e=>Bl(Xp(e),"lch65"),lab65:e=>Bl(e,"lch65")},ranges:{l:[0,100],c:[0,133.807],h:[0,360]}},yY=f5e;var h5e=({l:e,u:t,v:n,alpha:i})=>{t===void 0&&(t=0),n===void 0&&(n=0);let o=Math.sqrt(t*t+n*n),r={mode:"lchuv",l:e,c:o};return o&&(r.h=Is(Math.atan2(n,t)*180/Math.PI)),i!==void 0&&(r.alpha=i),r},x2=h5e;var _5e=({l:e,c:t,h:n,alpha:i})=>{n===void 0&&(n=0);let o={mode:"luv",l:e,u:t?t*Math.cos(n/180*Math.PI):0,v:t?t*Math.sin(n/180*Math.PI):0};return i!==void 0&&(o.alpha=i),o},D2=_5e;var gY=(e,t,n)=>4*e/(e+15*t+3*n),bY=(e,t,n)=>9*t/(e+15*t+3*n),m5e=gY(ua.X,ua.Y,ua.Z),E5e=bY(ua.X,ua.Y,ua.Z),y5e=e=>e<=w_?Zp*e:116*Math.cbrt(e)-16,g5e=({x:e,y:t,z:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o=y5e(t/ua.Y),r=gY(e,t,n),c=bY(e,t,n);!isFinite(r)||!isFinite(c)?o=r=c=0:(r=13*o*(r-m5e),c=13*o*(c-E5e));let s={mode:"luv",l:o,u:r,v:c};return i!==void 0&&(s.alpha=i),s},$1=g5e;var b5e=(e,t,n)=>4*e/(e+15*t+3*n),A5e=(e,t,n)=>9*t/(e+15*t+3*n),I5e=b5e(ua.X,ua.Y,ua.Z),S5e=A5e(ua.X,ua.Y,ua.Z),L5e=({l:e,u:t,v:n,alpha:i})=>{if(e===void 0&&(e=0),e===0)return{mode:"xyz50",x:0,y:0,z:0};t===void 0&&(t=0),n===void 0&&(n=0);let o=t/(13*e)+I5e,r=n/(13*e)+S5e,c=ua.Y*(e<=8?e/Zp:Math.pow((e+16)/116,3)),s=c*(9*o)/(4*r),u=c*(12-3*o-20*r)/(4*r),H={mode:"xyz50",x:s,y:c,z:u};return i!==void 0&&(H.alpha=i),H},M1=L5e;var T5e=e=>x2($1(Fu(e))),v5e=e=>Ou(M1(D2(e))),C5e={mode:"lchuv",toMode:{luv:D2,rgb:v5e},fromMode:{rgb:T5e,luv:x2},channels:["l","c","h","alpha"],parse:["--lchuv"],serialize:"--lchuv",ranges:{l:[0,100],c:[0,176.956],h:[0,360]},interpolate:{h:{use:Sr,fixup:lo},c:Sr,l:Sr,alpha:{use:Sr,fixup:hi}},difference:{h:Vp},average:{h:co}},AY=C5e;var x5e={...hc,mode:"lrgb",toMode:{rgb:mc},fromMode:{rgb:_c},parse:["srgb-linear"],serialize:"srgb-linear"},IY=x5e;var D5e={mode:"luv",toMode:{xyz50:M1,rgb:e=>Ou(M1(e))},fromMode:{xyz50:$1,rgb:e=>$1(Fu(e))},channels:["l","u","v","alpha"],parse:["--luv"],serialize:"--luv",ranges:{l:[0,100],u:[-84.936,175.042],v:[-125.882,87.243]},interpolate:{l:Sr,u:Sr,v:Sr,alpha:{use:Sr,fixup:hi}}},SY=D5e;var P5e=({r:e,g:t,b:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o=Math.cbrt(.41222147079999993*e+.5363325363*t+.0514459929*n),r=Math.cbrt(.2119034981999999*e+.6806995450999999*t+.1073969566*n),c=Math.cbrt(.08830246189999998*e+.2817188376*t+.6299787005000002*n),s={mode:"oklab",l:.2104542553*o+.793617785*r-.0040720468*c,a:1.9779984951*o-2.428592205*r+.4505937099*c,b:.0259040371*o+.7827717662*r-.808675766*c};return i!==void 0&&(s.alpha=i),s},pS=P5e;var w5e=e=>{let t=pS(_c(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},zp=w5e;var k5e=({l:e,a:t,b:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o=Math.pow(e*.9999999984505198+.39633779217376786*t+.2158037580607588*n,3),r=Math.pow(e*1.0000000088817609-.10556134232365635*t-.06385417477170591*n,3),c=Math.pow(e*1.0000000546724108-.08948418209496575*t-1.2914855378640917*n,3),s={mode:"lrgb",r:4.076741661347994*o-3.307711590408193*r+.230969928729428*c,g:-1.2684380040921763*o+2.6097574006633715*r-.3413193963102197*c,b:-.004196086541837188*o-.7034186144594493*r+1.7076147009309444*c};return i!==void 0&&(s.alpha=i),s},ju=k5e;var N5e=e=>mc(ju(e)),Jp=N5e;function B1(e){let i=1.170873786407767;return .5*(i*e-.206+Math.sqrt((i*e-.206)*(i*e-.206)+4*.03*i*e))}function Af(e){return(e*e+.206*e)/(1.170873786407767*(e+.03))}function R5e(e,t){let n,i,o,r,c,s,u,H;-1.88170328*e-.80936493*t>1?(n=1.19086277,i=1.76576728,o=.59662641,r=.75515197,c=.56771245,s=4.0767416621,u=-3.3077115913,H=.2309699292):1.81444104*e-1.19445276*t>1?(n=.73956515,i=-.45954404,o=.08285427,r=.1254107,c=.14503204,s=-1.2684380046,u=2.6097574011,H=-.3413193965):(n=1.35733652,i=-.00915799,o=-1.1513021,r=-.50559606,c=.00692167,s=-.0041960863,u=-.7034186147,H=1.707614701);let a=n+i*e+o*t+r*e*e+c*e*t,l=.3963377774*e+.2158037573*t,p=-.1055613458*e-.0638541728*t,d=-.0894841775*e-1.291485548*t;{let h=1+a*l,m=1+a*p,g=1+a*d,y=h*h*h,_=m*m*m,E=g*g*g,A=3*l*h*h,S=3*p*m*m,T=3*d*g*g,I=6*l*l*h,L=6*p*p*m,x=6*d*d*g,C=s*y+u*_+H*E,D=s*A+u*S+H*T,O=s*I+u*L+H*x;a=a-C*D/(D*D-.5*C*O)}return a}function P2(e,t){let n=R5e(e,t),i=ju({l:1,a:n*e,b:n*t}),o=Math.cbrt(1/Math.max(i.r,i.g,i.b)),r=o*n;return[o,r]}function $5e(e,t,n,i,o,r=null){r||(r=P2(e,t));let c;if((n-o)*r[1]-(r[0]-o)*i<=0)c=r[1]*o/(i*r[0]+r[1]*(o-n));else{c=r[1]*(o-1)/(i*(r[0]-1)+r[1]*(o-n));{let s=n-o,u=i,H=.3963377774*e+.2158037573*t,a=-.1055613458*e-.0638541728*t,l=-.0894841775*e-1.291485548*t,p=s+u*H,d=s+u*a,h=s+u*l;{let m=o*(1-c)+c*n,g=c*i,y=m+g*H,_=m+g*a,E=m+g*l,A=y*y*y,S=_*_*_,T=E*E*E,I=3*p*y*y,L=3*d*_*_,x=3*h*E*E,C=6*p*p*y,D=6*d*d*_,O=6*h*h*E,j=4.0767416621*A-3.3077115913*S+.2309699292*T-1,k=4.0767416621*I-3.3077115913*L+.2309699292*x,$=4.0767416621*C-3.3077115913*D+.2309699292*O,U=k/(k*k-.5*j*$),F=-j*U,P=-1.2684380046*A+2.6097574011*S-.3413193965*T-1,W=-1.2684380046*I+2.6097574011*L-.3413193965*x,Z=-1.2684380046*C+2.6097574011*D-.3413193965*O,ee=W/(W*W-.5*P*Z),J=-P*ee,ne=-.0041960863*A-.7034186147*S+1.707614701*T-1,K=-.0041960863*I-.7034186147*L+1.707614701*x,q=-.0041960863*C-.7034186147*D+1.707614701*O,Q=K/(K*K-.5*ne*q),z=-ne*Q;F=U>=0?F:1e6,J=ee>=0?J:1e6,z=Q>=0?z:1e6,c+=Math.min(F,Math.min(J,z))}}}return c}function O1(e,t,n=null){n||(n=P2(e,t));let i=n[0],o=n[1];return[o/i,o/(1-i)]}function dS(e,t,n){let i=P2(t,n),o=$5e(t,n,e,1,e,i),r=O1(t,n,i),c=.11516993+1/(7.4477897+4.1590124*n+t*(-2.19557347+1.75198401*n+t*(-2.13704948-10.02301043*n+t*(-4.24894561+5.38770819*n+4.69891013*t)))),s=.11239642+1/(1.6132032-.68124379*n+t*(.40370612+.90148123*n+t*(-.27087943+.6122399*n+t*(.00299215-.45399568*n-.14661872*t)))),u=o/Math.min(e*r[0],(1-e)*r[1]),H=e*c,a=(1-e)*s,l=.9*u*Math.sqrt(Math.sqrt(1/(1/(H*H*H*H)+1/(a*a*a*a))));return H=e*.4,a=(1-e)*.8,[Math.sqrt(1/(1/(H*H)+1/(a*a))),l,o]}function fS(e){let t=e.l!==void 0?e.l:0,n=e.a!==void 0?e.a:0,i=e.b!==void 0?e.b:0,o={mode:"okhsl",l:B1(t)};e.alpha!==void 0&&(o.alpha=e.alpha);let r=Math.sqrt(n*n+i*i);if(!r)return o.s=0,o;let[c,s,u]=dS(t,n/r,i/r),H;if(r<s){let a=0,l=.8*c,p=1-l/s;H=(r-a)/(l+p*(r-a))*.8}else{let a=s,l=.2*s*s*1.25*1.25/c,p=1-l/(u-s);H=.8+.2*((r-a)/(l+p*(r-a)))}return H&&(o.s=H,o.h=Is(Math.atan2(i,n)*180/Math.PI)),o}function hS(e){let t=e.h!==void 0?e.h:0,n=e.s!==void 0?e.s:0,i=e.l!==void 0?e.l:0,o={mode:"oklab",l:Af(i)};if(e.alpha!==void 0&&(o.alpha=e.alpha),!n||i===1)return o.a=o.b=0,o;let r=Math.cos(t/180*Math.PI),c=Math.sin(t/180*Math.PI),[s,u,H]=dS(o.l,r,c),a,l,p,d;n<.8?(a=1.25*n,l=0,p=.8*s,d=1-p/u):(a=5*(n-.8),l=u,p=.2*u*u*1.25*1.25/s,d=1-p/(H-u));let h=l+a*p/(1-d*a);return o.a=h*r,o.b=h*c,o}var M5e={...rS,mode:"okhsl",channels:["h","s","l","alpha"],parse:["--okhsl"],serialize:"--okhsl",fromMode:{oklab:fS,rgb:e=>fS(zp(e))},toMode:{oklab:hS,rgb:e=>Jp(hS(e))}},LY=M5e;function _S(e){let t=e.l!==void 0?e.l:0,n=e.a!==void 0?e.a:0,i=e.b!==void 0?e.b:0,o=Math.sqrt(n*n+i*i),r=o?n/o:1,c=o?i/o:1,[s,u]=O1(r,c),H=.5,a=1-H/s,l=u/(o+t*u),p=l*t,d=l*o,h=Af(p),m=d*h/p,g=ju({l:h,a:r*m,b:c*m}),y=Math.cbrt(1/Math.max(g.r,g.g,g.b,0));t=t/y,o=o/y*B1(t)/t,t=B1(t);let _={mode:"okhsv",s:o?(H+u)*d/(u*H+u*a*d):0,v:t?t/p:0};return _.s&&(_.h=Is(Math.atan2(i,n)*180/Math.PI)),e.alpha!==void 0&&(_.alpha=e.alpha),_}function mS(e){let t={mode:"oklab"};e.alpha!==void 0&&(t.alpha=e.alpha);let n=e.h!==void 0?e.h:0,i=e.s!==void 0?e.s:0,o=e.v!==void 0?e.v:0,r=Math.cos(n/180*Math.PI),c=Math.sin(n/180*Math.PI),[s,u]=O1(r,c),H=.5,a=1-H/s,l=1-i*H/(H+u-u*a*i),p=i*u*H/(H+u-u*a*i),d=Af(l),h=p*d/l,m=ju({l:d,a:r*h,b:c*h}),g=Math.cbrt(1/Math.max(m.r,m.g,m.b,0)),y=Af(o*l),_=p*y/l;return t.l=y*g,t.a=_*r*g,t.b=_*c*g,t}var B5e={...nS,mode:"okhsv",channels:["h","s","v","alpha"],parse:["--okhsv"],serialize:"--okhsv",fromMode:{oklab:_S,rgb:e=>_S(zp(e))},toMode:{oklab:mS,rgb:e=>Jp(mS(e))}},TY=B5e;function O5e(e,t){if(!t||t[0]!=="oklab")return;let n={mode:"oklab"},[,i,o,r,c]=t;if(!(i.type===br.Hue||o.type===br.Hue||r.type===br.Hue))return i.type!==br.None&&(n.l=Math.min(Math.max(0,i.type===br.Number?i.value:i.value/100),1)),o.type!==br.None&&(n.a=o.type===br.Number?o.value:o.value*.4/100),r.type!==br.None&&(n.b=r.type===br.Number?r.value:r.value*.4/100),c.type!==br.None&&(n.alpha=Math.min(1,Math.max(0,c.type===br.Number?c.value:c.value/100))),n}var vY=O5e;var F5e={...R_,mode:"oklab",toMode:{lrgb:ju,rgb:Jp},fromMode:{lrgb:pS,rgb:zp},ranges:{l:[0,1],a:[-.4,.4],b:[-.4,.4]},parse:[vY],serialize:e=>`oklab(${e.l!==void 0?e.l:"none"} ${e.a!==void 0?e.a:"none"} ${e.b!==void 0?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`},CY=F5e;function j5e(e,t){if(!t||t[0]!=="oklch")return;let n={mode:"oklch"},[,i,o,r,c]=t;if(i.type!==br.None){if(i.type===br.Hue)return;n.l=Math.min(Math.max(0,i.type===br.Number?i.value:i.value/100),1)}if(o.type!==br.None&&(n.c=Math.max(0,o.type===br.Number?o.value:o.value*.4/100)),r.type!==br.None){if(r.type===br.Percentage)return;n.h=r.value}return c.type!==br.None&&(n.alpha=Math.min(1,Math.max(0,c.type===br.Number?c.value:c.value/100))),n}var xY=j5e;var U5e={...$_,mode:"oklch",toMode:{oklab:e=>Ol(e,"oklab"),rgb:e=>Jp(Ol(e,"oklab"))},fromMode:{rgb:e=>Bl(zp(e),"oklch"),oklab:e=>Bl(e,"oklch")},parse:[xY],serialize:e=>`oklch(${e.l!==void 0?e.l:"none"} ${e.c!==void 0?e.c:"none"} ${e.h!==void 0?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,ranges:{l:[0,1],c:[0,.4],h:[0,360]}},DY=U5e;var q5e=e=>{let{r:t,g:n,b:i,alpha:o}=_c(e),r={mode:"xyz65",x:.486570948648216*t+.265667693169093*n+.1982172852343625*i,y:.2289745640697487*t+.6917385218365062*n+.079286914093745*i,z:0*t+.0451133818589026*n+1.043944368900976*i};return o!==void 0&&(r.alpha=o),r},w2=q5e;var W5e=({x:e,y:t,z:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o=mc({r:e*2.4934969119414263-t*.9313836179191242-.402710784450717*n,g:e*-.8294889695615749+t*1.7626640603183465+.0236246858419436*n,b:e*.0358458302437845-t*.0761723892680418+.9568845240076871*n},"p3");return i!==void 0&&(o.alpha=i),o},k2=W5e;var V5e={...hc,mode:"p3",parse:["display-p3"],serialize:"display-p3",fromMode:{rgb:e=>k2(hl(e)),xyz65:k2},toMode:{rgb:e=>_l(w2(e)),xyz65:w2}},PY=V5e;var N2=e=>{let t=Math.abs(e);return t>=.001953125?Math.sign(e)*Math.pow(t,.5555555555555556):16*e},K5e=({x:e,y:t,z:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o={mode:"prophoto",r:N2(e*1.3457868816471585-t*.2555720873797946-.0511018649755453*n),g:N2(e*-.5446307051249019+t*1.5082477428451466+.0205274474364214*n),b:N2(e*0+t*0+1.2119675456389452*n)};return i!==void 0&&(o.alpha=i),o},R2=K5e;var $2=(e=0)=>{let t=Math.abs(e);return t>=.03125?Math.sign(e)*Math.pow(t,1.8):e/16},G5e=e=>{let t=$2(e.r),n=$2(e.g),i=$2(e.b),o={mode:"xyz50",x:.7977666449006423*t+.1351812974005331*n+.0313477341283922*i,y:.2880748288194013*t+.7118352342418731*n+899369387256e-16*i,z:0*t+0*n+.8251046025104602*i};return e.alpha!==void 0&&(o.alpha=e.alpha),o},M2=G5e;var X5e={...hc,mode:"prophoto",parse:["prophoto-rgb"],serialize:"prophoto-rgb",fromMode:{xyz50:R2,rgb:e=>R2(Fu(e))},toMode:{xyz50:M2,rgb:e=>Ou(M2(e))}},wY=X5e;var kY=1.09929682680944,Z5e=.018053968510807,B2=e=>{let t=Math.abs(e);return t>Z5e?(Math.sign(e)||1)*(kY*Math.pow(t,.45)-(kY-1)):4.5*e},z5e=({x:e,y:t,z:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o={mode:"rec2020",r:B2(e*1.7166511879712683-t*.3556707837763925-.2533662813736599*n),g:B2(e*-.6666843518324893+t*1.6164812366349395+.0157685458139111*n),b:B2(e*.0176398574453108-t*.0427706132578085+.9421031212354739*n)};return i!==void 0&&(o.alpha=i),o},O2=z5e;var NY=1.09929682680944,J5e=.018053968510807,F2=(e=0)=>{let t=Math.abs(e);return t<J5e*4.5?e/4.5:(Math.sign(e)||1)*Math.pow((t+NY-1)/NY,1/.45)},Q5e=e=>{let t=F2(e.r),n=F2(e.g),i=F2(e.b),o={mode:"xyz65",x:.6369580483012911*t+.1446169035862083*n+.1688809751641721*i,y:.262700212011267*t+.6779980715188708*n+.059301716469862*i,z:0*t+.0280726930490874*n+1.0609850577107909*i};return e.alpha!==void 0&&(o.alpha=e.alpha),o},j2=Q5e;var Y5e={...hc,mode:"rec2020",fromMode:{xyz65:O2,rgb:e=>O2(hl(e))},toMode:{xyz65:j2,rgb:e=>_l(j2(e))},parse:["rec2020"],serialize:"rec2020"},RY=Y5e;var OH=.0037930732552754493,ES=Math.cbrt(OH);var U2=e=>Math.cbrt(e)-ES,e3e=e=>{let{r:t,g:n,b:i,alpha:o}=_c(e),r=U2(.3*t+.622*n+.078*i+OH),c=U2(.23*t+.692*n+.078*i+OH),s=U2(.2434226892454782*t+.2047674442449682*n+.5518098665095535*i+OH),u={mode:"xyb",x:(r-c)/2,y:(r+c)/2,b:s-(r+c)/2};return o!==void 0&&(u.alpha=o),u},$Y=e3e;var q2=e=>Math.pow(e+ES,3),t3e=({x:e,y:t,b:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o=q2(e+t)-OH,r=q2(t-e)-OH,c=q2(n+t)-OH,s=mc({r:11.031566904639861*o-9.866943908131562*r-.16462299650829934*c,g:-3.2541473810744237*o+4.418770377582723*r-.16462299650829934*c,b:-3.6588512867136815*o+2.7129230459360922*r+1.9459282407775895*c});return i!==void 0&&(s.alpha=i),s},MY=t3e;var r3e={mode:"xyb",channels:["x","y","b","alpha"],parse:["--xyb"],serialize:"--xyb",toMode:{rgb:MY},fromMode:{rgb:$Y},ranges:{x:[-.0154,.0281],y:[0,.8453],b:[-.2778,.388]},interpolate:{x:Sr,y:Sr,b:Sr,alpha:{use:Sr,fixup:hi}}},BY=r3e;var n3e={mode:"xyz50",parse:["xyz-d50"],serialize:"xyz-d50",toMode:{rgb:Ou,lab:N_},fromMode:{rgb:Fu,lab:k_},channels:["x","y","z","alpha"],ranges:{x:[0,.964],y:[0,.999],z:[0,.825]},interpolate:{x:Sr,y:Sr,z:Sr,alpha:{use:Sr,fixup:hi}}},OY=n3e;var i3e=e=>{let{x:t,y:n,z:i,alpha:o}=e;t===void 0&&(t=0),n===void 0&&(n=0),i===void 0&&(i=0);let r={mode:"xyz50",x:1.0479298208405488*t+.0229467933410191*n-.0501922295431356*i,y:.0296278156881593*t+.990434484573249*n-.0170738250293851*i,z:-.0092430581525912*t+.0150551448965779*n+.7518742899580008*i};return o!==void 0&&(r.alpha=o),r},FY=i3e;var s3e=e=>{let{x:t,y:n,z:i,alpha:o}=e;t===void 0&&(t=0),n===void 0&&(n=0),i===void 0&&(i=0);let r={mode:"xyz65",x:.9554734527042182*t-.0230985368742614*n+.0632593086610217*i,y:-.0283697069632081*t+1.0099954580058226*n+.021041398966943*i,z:.0123140016883199*t-.0205076964334779*n+1.3303659366080753*i};return o!==void 0&&(r.alpha=o),r},jY=s3e;var a3e={mode:"xyz65",toMode:{rgb:_l,xyz50:FY},fromMode:{rgb:hl,xyz50:jY},ranges:{x:[0,.95],y:[0,1],z:[0,1.088]},channels:["x","y","z","alpha"],parse:["xyz","xyz-d65"],serialize:"xyz-d65",interpolate:{x:Sr,y:Sr,z:Sr,alpha:{use:Sr,fixup:hi}}},UY=a3e;var o3e=({r:e,g:t,b:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o={mode:"yiq",y:.29889531*e+.58662247*t+.11448223*n,i:.59597799*e-.2741761*t-.32180189*n,q:.21147017*e-.52261711*t+.31114694*n};return i!==void 0&&(o.alpha=i),o},qY=o3e;var l3e=({y:e,i:t,q:n,alpha:i})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let o={mode:"rgb",r:e+.95608445*t+.6208885*n,g:e-.27137664*t-.6486059*n,b:e-1.10561724*t+1.70250126*n};return i!==void 0&&(o.alpha=i),o},WY=l3e;var c3e={mode:"yiq",toMode:{rgb:WY},fromMode:{rgb:qY},channels:["y","i","q","alpha"],parse:["--yiq"],serialize:"--yiq",ranges:{i:[-.595,.595],q:[-.522,.522]},interpolate:{y:Sr,i:Sr,q:Sr,alpha:{use:Sr,fixup:hi}}},VY=c3e;var u3e=(e,t)=>Math.round(e*(t=Math.pow(10,t)))/t,H3e=(e=4)=>t=>typeof t=="number"?u3e(t,e):t,KY=H3e;var F1=KY(2),j1=e=>Math.max(0,Math.min(1,e||0)),If=e=>Math.round(j1(e)*255),W2=fc("rgb"),p3e=fc("hsl"),V2=e=>{if(e===void 0)return;let t=If(e.r),n=If(e.g),i=If(e.b);return"#"+(1<<24|t<<16|n<<8|i).toString(16).slice(1)},GY=e=>{if(e===void 0)return;let t=If(e.alpha!==void 0?e.alpha:1);return V2(e)+(256|t).toString(16).slice(1)},XY=e=>{if(e===void 0)return;let t=If(e.r),n=If(e.g),i=If(e.b);return e.alpha===void 0||e.alpha===1?`rgb(${t}, ${n}, ${i})`:`rgba(${t}, ${n}, ${i}, ${F1(j1(e.alpha))})`},ZY=e=>{if(e===void 0)return;let t=F1(e.h||0),n=F1(j1(e.s)*100)+"%",i=F1(j1(e.l)*100)+"%";return e.alpha===void 0||e.alpha===1?`hsl(${t}, ${n}, ${i})`:`hsla(${t}, ${n}, ${i}, ${F1(j1(e.alpha))})`};var K2=e=>V2(W2(e)),U1=e=>GY(W2(e)),M_=e=>XY(W2(e)),G2=e=>ZY(p3e(e));var zY=fc("rgb"),d3e=e=>{let t={mode:e.mode,r:Math.max(0,Math.min(e.r!==void 0?e.r:0,1)),g:Math.max(0,Math.min(e.g!==void 0?e.g:0,1)),b:Math.max(0,Math.min(e.b!==void 0?e.b:0,1))};return e.alpha!==void 0&&(t.alpha=e.alpha),t},f3e=e=>d3e(zY(e)),JY=e=>e!==void 0&&(e.r===void 0||e.r>=0&&e.r<=1)&&(e.g===void 0||e.g>=0&&e.g<=1)&&(e.b===void 0||e.b>=0&&e.b<=1);function QY(e){return JY(zY(e))}function X2(e="rgb"){let{gamut:t}=GI(e);if(!t)return i=>!0;let n=fc(typeof t=="string"?t:e);return i=>JY(n(i))}function Z2(e){return e=KI(e),e===void 0||QY(e)?e:fc(e.mode)(f3e(e))}var QCt=Yi(VQ),YCt=Yi(eY),ext=Yi(nY),txt=Yi(iY),rxt=Yi(sY),nxt=Yi(rS),ixt=Yi(nS),sxt=Yi(uY),axt=Yi(pY),oxt=Yi(fY),lxt=Yi(hY),cxt=Yi(R_),uxt=Yi(mY),Hxt=Yi($_),pxt=Yi(yY),dxt=Yi(AY),fxt=Yi(IY),hxt=Yi(SY),_xt=Yi(LY),mxt=Yi(TY),Ext=Yi(CY),yxt=Yi(DY),gxt=Yi(PY),bxt=Yi(wY),Axt=Yi(RY),Ixt=Yi(hc),Sxt=Yi(BY),Lxt=Yi(OY),Txt=Yi(UY),vxt=Yi(VY);var BR=mr(Fo());function yS(e){let t=function(n,i,o){if(!(!n&&!i))return i?(t(n+i[0],i.slice(1),o),t(n,i.slice(1),o)):o.push(n),o};return t("",e,[])}var q1=mr(Fo());function Uu(e,t){let n=e.separator;t=t.replace(/^\./,"");let i=t.split(n);if(i.length===1)return(0,q1.default)(e.classNames.classNames,[t,"__info","__rule"])===!0||Array.isArray((0,q1.default)(e.classNames.classNames,[t,"__info"]))?[t]:null;let o=yS("123456789".substr(0,i.length-1)).map(c=>c.split("").map(s=>parseInt(s,10)));return[[t],...o.map(c=>{let s=[],u=0;return c.forEach(H=>{s.push(i.slice(u,H).join("-")),u=H}),s.push(i.slice(u).join("-")),s})].find(c=>!!((0,q1.default)(e.classNames.classNames,[...c,"__info","__rule"])===!0||Array.isArray((0,q1.default)(e.classNames.classNames,[...c,"__info"]))))}function Qp(e,{replace:t,recursive:n=!0}){let i=new Set;for(let o=0;o<e.length;++o){if(!e.startsWith("var(",o))continue;let r=0,c=null;for(let s=o+4;o<e.length;++s)if(e[s]==="(")r++;else if(e[s]===")"&&r>0)r--;else if(e[s]==="\\")s++;else if(e[s]===","&&r===0&&c===null)c=s+1;else if(e[s]===")"&&r===0){let u,H;c===null?(u=e.slice(o+4,s),H=null):(u=e.slice(o+4,c-1),H=e.slice(c,s));let a=t({kind:"css-variable",name:u,fallback:H,range:{start:o,end:s}});if(a!==null&&(e=e.slice(0,o)+a+e.slice(s+1)),n){let l=`${o}:${a}`;i.has(l)||(i.add(l),o-=1)}break}}return e}function B_(e,t){for(let n=0;n<e.length;++n){if(!e.startsWith("calc(",n))continue;let i=0;for(let o=n+5;n<e.length;++o)if(e[o]==="(")i++;else if(e[o]===")"&&i>0)i--;else if(e[o]===")"&&i===0){let r=e.slice(n+5,o),c=t({kind:"calc-expression",value:r,range:{start:n,end:o}});c!==null&&(e=e.slice(0,n)+c+e.slice(o+1));break}}return e}function Yp(e,t){let n=e.theme.prefix??null;return n&&t.startsWith(`--${n}`)&&(t=`--${t.slice(n.length+3)}`),e.resolveThemeValue?.(t,!0)??null}function eee(e,t){let n=new Set;return Qp(t,{replace({name:i,fallback:o}){if(e.designSystem&&i.startsWith("--")){if(n.has(i))return null;let r=Yp(e.designSystem,i);if(r!==null)return r.includes("var(")&&n.add(i),r}return o||(i==="--tw-text-shadow-alpha"||i==="--tw-drop-shadow-alpha"||i==="--tw-shadow-alpha"?"100%":null)}})}var h3e=/[A-Z]/g;function El(e){return e.replace(h3e,t=>String.fromCharCode(t.charCodeAt(0)+32))}var _3e={cm:"px",in:"px",mm:"px",pc:"px",pt:"px",px:"px",q:"px",deg:"deg",grad:"deg",rad:"deg",turn:"deg",ms:"s",s:"s",hz:"hz",khz:"hz"},m3e=new Map([["cm",e=>e],["mm",e=>10*e],["q",e=>40*e],["in",e=>e/2.54],["pc",e=>e/2.54*6],["pt",e=>e/2.54*72],["px",e=>e/2.54*96]]),AS=new Map([["deg",e=>e],["grad",e=>e/.9],["rad",e=>e/180*Math.PI],["turn",e=>e/360]]),W1=new Map([["deg",e=>.9*e],["grad",e=>e],["rad",e=>.9*e/180*Math.PI],["turn",e=>.9*e/360]]),E3e=new Map([["hz",e=>e],["khz",e=>e/1e3]]),y3e=new Map([["cm",e=>2.54*e],["mm",e=>25.4*e],["q",e=>25.4*e*4],["in",e=>e],["pc",e=>6*e],["pt",e=>72*e],["px",e=>96*e]]),g3e=new Map([["hz",e=>1e3*e],["khz",e=>e]]),b3e=new Map([["cm",e=>e/10],["mm",e=>e],["q",e=>4*e],["in",e=>e/25.4],["pc",e=>e/25.4*6],["pt",e=>e/25.4*72],["px",e=>e/25.4*96]]),A3e=new Map([["ms",e=>e],["s",e=>e/1e3]]),I3e=new Map([["cm",e=>e/6*2.54],["mm",e=>e/6*25.4],["q",e=>e/6*25.4*4],["in",e=>e/6],["pc",e=>e],["pt",e=>e/6*72],["px",e=>e/6*96]]),S3e=new Map([["cm",e=>e/72*2.54],["mm",e=>e/72*25.4],["q",e=>e/72*25.4*4],["in",e=>e/72],["pc",e=>e/72*6],["pt",e=>e],["px",e=>e/72*96]]),L3e=new Map([["cm",e=>e/96*2.54],["mm",e=>e/96*25.4],["q",e=>e/96*25.4*4],["in",e=>e/96],["pc",e=>e/96*6],["pt",e=>e/96*72],["px",e=>e]]),T3e=new Map([["cm",e=>e/4/10],["mm",e=>e/4],["q",e=>e],["in",e=>e/4/25.4],["pc",e=>e/4/25.4*6],["pt",e=>e/4/25.4*72],["px",e=>e/4/25.4*96]]),nee=new Map([["deg",e=>180*e/Math.PI],["grad",e=>180*e/Math.PI/.9],["rad",e=>e],["turn",e=>180*e/Math.PI/360]]),v3e=new Map([["ms",e=>1e3*e],["s",e=>e]]),V1=new Map([["deg",e=>360*e],["grad",e=>360*e/.9],["rad",e=>360*e/180*Math.PI],["turn",e=>e]]),iee=new Map([["cm",m3e],["mm",b3e],["q",T3e],["in",y3e],["pc",I3e],["pt",S3e],["px",L3e],["ms",A3e],["s",v3e],["deg",AS],["grad",W1],["rad",nee],["turn",V1],["hz",E3e],["khz",g3e]]);function jl(e,t){if(!Ia(e)||!Ia(t))return t;let n=El(e[4].unit),i=El(t[4].unit);if(n===i)return t;let o=iee.get(i);if(!o)return t;let r=o.get(n);if(!r)return t;let c=r(t[4].value),s=[Rt.Dimension,"",t[2],t[3],{...t[4],signCharacter:c<0?"-":void 0,type:Number.isInteger(c)?Dn.Integer:Dn.Number,value:c}];return w9(s,e[4].unit),s}function C3e(e){if(!Ia(e))return e;let t=El(e[4].unit),n=_3e[t];if(t===n)return e;let i=iee.get(t);if(!i)return e;let o=i.get(n);if(!o)return e;let r=o(e[4].value),c=[Rt.Dimension,"",e[2],e[3],{...e[4],signCharacter:r<0?"-":void 0,type:Number.isInteger(r)?Dn.Integer:Dn.Number,value:r}];return w9(c,n),c}function x3e(e){if(e.length!==2)return-1;let t=e[0].value,n=e[1].value;if(_s(t)&&_s(n)){let i=t[4].value+n[4].value;return new Un([Rt.Number,i.toString(),t[2],n[3],{value:i,type:t[4].type===Dn.Integer&&n[4].type===Dn.Integer?Dn.Integer:Dn.Number}])}if(to(t)&&to(n)){let i=t[4].value+n[4].value;return new Un([Rt.Percentage,i.toString()+"%",t[2],n[3],{value:i}])}if(Ia(t)&&Ia(n)&&(n=jl(t,n),El(t[4].unit)===El(n[4].unit))){let i=t[4].value+n[4].value;return new Un([Rt.Dimension,i.toString()+t[4].unit,t[2],n[3],{value:i,type:t[4].type===Dn.Integer&&n[4].type===Dn.Integer?Dn.Integer:Dn.Number,unit:t[4].unit}])}return-1}function D3e(e){if(e.length!==2)return-1;let t=e[0].value,n=e[1].value;if(_s(t)&&_s(n)){let i=t[4].value/n[4].value;return new Un([Rt.Number,i.toString(),t[2],n[3],{value:i,type:Number.isInteger(i)?Dn.Integer:Dn.Number}])}if(to(t)&&_s(n)){let i=t[4].value/n[4].value;return new Un([Rt.Percentage,i.toString()+"%",t[2],n[3],{value:i}])}if(Ia(t)&&_s(n)){let i=t[4].value/n[4].value;return new Un([Rt.Dimension,i.toString()+t[4].unit,t[2],n[3],{value:i,type:Number.isInteger(i)?Dn.Integer:Dn.Number,unit:t[4].unit}])}return-1}function Sf(e){return!!e&&typeof e=="object"&&"inputs"in e&&Array.isArray(e.inputs)&&"operation"in e}function Fl(e){if(e===-1)return-1;let t=[];for(let n=0;n<e.inputs.length;n++){let i=e.inputs[n];if(Mi(i)){t.push(i);continue}let o=Fl(i);if(o===-1)return-1;t.push(o)}return e.operation(t)}function P3e(e){if(e.length!==2)return-1;let t=e[0].value,n=e[1].value;if(_s(t)&&_s(n)){let i=t[4].value*n[4].value;return new Un([Rt.Number,i.toString(),t[2],n[3],{value:i,type:t[4].type===Dn.Integer&&n[4].type===Dn.Integer?Dn.Integer:Dn.Number}])}if(to(t)&&_s(n)){let i=t[4].value*n[4].value;return new Un([Rt.Percentage,i.toString()+"%",t[2],n[3],{value:i}])}if(_s(t)&&to(n)){let i=t[4].value*n[4].value;return new Un([Rt.Percentage,i.toString()+"%",t[2],n[3],{value:i}])}if(Ia(t)&&_s(n)){let i=t[4].value*n[4].value;return new Un([Rt.Dimension,i.toString()+t[4].unit,t[2],n[3],{value:i,type:t[4].type===Dn.Integer&&n[4].type===Dn.Integer?Dn.Integer:Dn.Number,unit:t[4].unit}])}if(_s(t)&&Ia(n)){let i=t[4].value*n[4].value;return new Un([Rt.Dimension,i.toString()+n[4].unit,t[2],n[3],{value:i,type:t[4].type===Dn.Integer&&n[4].type===Dn.Integer?Dn.Integer:Dn.Number,unit:n[4].unit}])}return-1}function O_(e,t){for(let n=0;n<e.length;n++){let i=e[n];if(!Mi(i))continue;let o=i.value;if(!A_(o))continue;let r=El(o[4].value);switch(r){case"e":e.splice(n,1,new Un([Rt.Number,Math.E.toString(),o[2],o[3],{value:Math.E,type:Dn.Number}]));break;case"pi":e.splice(n,1,new Un([Rt.Number,Math.PI.toString(),o[2],o[3],{value:Math.PI,type:Dn.Number}]));break;case"infinity":e.splice(n,1,new Un([Rt.Number,"infinity",o[2],o[3],{value:1/0,type:Dn.Number}]));break;case"-infinity":e.splice(n,1,new Un([Rt.Number,"-infinity",o[2],o[3],{value:-1/0,type:Dn.Number}]));break;case"nan":e.splice(n,1,new Un([Rt.Number,"NaN",o[2],o[3],{value:Number.NaN,type:Dn.Number}]));break;default:if(t.has(r)){let c=t.get(r);e.splice(n,1,new Un(c))}}}return e}function IS(e){if(e.length!==1)return-1;let t=e[0].value;return eo(t)?e[0]:-1}function jH(e,t,n){return Ia(t)?K1(e,t[4].unit,n):to(t)?w3e(e,n):_s(t)?Wu(e,n):-1}function K1(e,t,n){let i=e.tokens();return{inputs:[new Un([Rt.Dimension,n.toString()+t,i[0][2],i[i.length-1][3],{value:n,type:Number.isInteger(n)?Dn.Integer:Dn.Number,unit:t}])],operation:IS}}function w3e(e,t){let n=e.tokens();return{inputs:[new Un([Rt.Percentage,t.toString()+"%",n[0][2],n[n.length-1][3],{value:t}])],operation:IS}}function Wu(e,t){let n=e.tokens();return{inputs:[new Un([Rt.Number,t.toString(),n[0][2],n[n.length-1][3],{value:t,type:Number.isInteger(t)?Dn.Integer:Dn.Number}])],operation:IS}}function k3e(e,t){let n=t.value;return _s(n)?K1(e,"rad",Math.acos(n[4].value)):-1}function N3e(e,t){let n=t.value;return _s(n)?K1(e,"rad",Math.asin(n[4].value)):-1}function R3e(e,t){let n=t.value;return _s(n)?K1(e,"rad",Math.atan(n[4].value)):-1}function SS(e){return Ia(e)||_s(e)}function J2(e){if(e.length===0)return!0;let t=e[0];if(!eo(t))return!1;if(e.length===1)return!0;if(Ia(t)){let n=El(t[4].unit);for(let i=1;i<e.length;i++){let o=e[i];if(t[0]!==o[0]||n!==El(o[4].unit))return!1}return!0}for(let n=1;n<e.length;n++){let i=e[n];if(t[0]!==i[0])return!1}return!0}function FH(e,t){return!!eo(e)&&(Ia(e)?e[0]===t[0]&&El(e[4].unit)===El(t[4].unit):e[0]===t[0])}function $3e(e,t,n){let i=t.value;if(!SS(i))return-1;let o=jl(i,n.value);return FH(i,o)?K1(e,"rad",Math.atan2(i[4].value,o[4].value)):-1}function M3e(e,t,n){let i=t.value;return!eo(i)||!n.rawPercentages&&to(i)?-1:jH(e,i,Math.abs(i[4].value))}function B3e(e,t,n,i,o){if(!Mi(t)||!Mi(n)||!Mi(i))return-1;let r=t.value;if(!eo(r)||!o.rawPercentages&&to(r))return-1;let c=jl(r,n.value);if(!FH(r,c))return-1;let s=jl(r,i.value);return FH(r,s)?jH(e,r,Math.max(r[4].value,Math.min(c[4].value,s[4].value))):-1}function O3e(e,t){let n=t.value;if(!SS(n))return-1;let i=n[4].value;if(Ia(n))switch(n[4].unit.toLowerCase()){case"rad":break;case"deg":i=AS.get("rad")(n[4].value);break;case"grad":i=W1.get("rad")(n[4].value);break;case"turn":i=V1.get("rad")(n[4].value);break;default:return-1}return i=Math.cos(i),Wu(e,i)}function F3e(e,t){let n=t.value;return _s(n)?Wu(e,Math.exp(n[4].value)):-1}function j3e(e,t,n){if(!t.every(Mi))return-1;let i=t[0].value;if(!eo(i)||!n.rawPercentages&&to(i))return-1;let o=t.map(s=>jl(i,s.value));if(!J2(o))return-1;let r=o.map(s=>s[4].value),c=Math.hypot(...r);return jH(e,i,c)}function tee(e,t,n){if(!t.every(Mi))return-1;let i=t[0].value;if(!eo(i)||!n.rawPercentages&&to(i))return-1;let o=t.map(s=>jl(i,s.value));if(!J2(o))return-1;let r=o.map(s=>s[4].value),c=Math.max(...r);return jH(e,i,c)}function ree(e,t,n){if(!t.every(Mi))return-1;let i=t[0].value;if(!eo(i)||!n.rawPercentages&&to(i))return-1;let o=t.map(s=>jl(i,s.value));if(!J2(o))return-1;let r=o.map(s=>s[4].value),c=Math.min(...r);return jH(e,i,c)}function U3e(e,t,n){let i=t.value;if(!eo(i))return-1;let o=jl(i,n.value);if(!FH(i,o))return-1;let r;return r=o[4].value===0?Number.NaN:Number.isFinite(i[4].value)&&(Number.isFinite(o[4].value)||(o[4].value!==Number.POSITIVE_INFINITY||i[4].value!==Number.NEGATIVE_INFINITY&&!Object.is(0*i[4].value,-0))&&(o[4].value!==Number.NEGATIVE_INFINITY||i[4].value!==Number.POSITIVE_INFINITY&&!Object.is(0*i[4].value,0)))?Number.isFinite(o[4].value)?(i[4].value%o[4].value+o[4].value)%o[4].value:i[4].value:Number.NaN,jH(e,i,r)}function q3e(e,t,n){let i=t.value,o=n.value;return!_s(i)||!FH(i,o)?-1:Wu(e,Math.pow(i[4].value,o[4].value))}function W3e(e,t,n){let i=t.value;if(!eo(i))return-1;let o=jl(i,n.value);if(!FH(i,o))return-1;let r;return r=o[4].value===0?Number.NaN:Number.isFinite(i[4].value)?Number.isFinite(o[4].value)?i[4].value%o[4].value:i[4].value:Number.NaN,jH(e,i,r)}function V3e(e,t,n,i,o){let r=n.value;if(!eo(r)||!o.rawPercentages&&to(r))return-1;let c=jl(r,i.value);if(!FH(r,c))return-1;let s;if(c[4].value===0)s=Number.NaN;else if(Number.isFinite(r[4].value)||Number.isFinite(c[4].value))if(!Number.isFinite(r[4].value)&&Number.isFinite(c[4].value))s=r[4].value;else if(Number.isFinite(r[4].value)&&!Number.isFinite(c[4].value))switch(t){case"down":s=r[4].value<0?-1/0:Object.is(-0,0*r[4].value)?-0:0;break;case"up":s=r[4].value>0?1/0:Object.is(0,0*r[4].value)?0:-0;break;default:s=Object.is(0,0*r[4].value)?0:-0}else if(Number.isFinite(c[4].value))switch(t){case"down":s=Math.floor(r[4].value/c[4].value)*c[4].value;break;case"up":s=Math.ceil(r[4].value/c[4].value)*c[4].value;break;case"to-zero":s=Math.trunc(r[4].value/c[4].value)*c[4].value;break;default:{let u=Math.floor(r[4].value/c[4].value)*c[4].value,H=Math.ceil(r[4].value/c[4].value)*c[4].value;if(u>H){let p=u;u=H,H=p}let a=Math.abs(r[4].value-u),l=Math.abs(r[4].value-H);s=a===l?H:a<l?u:H;break}}else s=r[4].value;else s=Number.NaN;return jH(e,r,s)}function K3e(e,t,n){let i=t.value;return!eo(i)||!n.rawPercentages&&to(i)?-1:Wu(e,Math.sign(i[4].value))}function G3e(e,t){let n=t.value;if(!SS(n))return-1;let i=n[4].value;if(Ia(n))switch(El(n[4].unit)){case"rad":break;case"deg":i=AS.get("rad")(n[4].value);break;case"grad":i=W1.get("rad")(n[4].value);break;case"turn":i=V1.get("rad")(n[4].value);break;default:return-1}return i=Math.sin(i),Wu(e,i)}function X3e(e,t){let n=t.value;return _s(n)?Wu(e,Math.sqrt(n[4].value)):-1}function Z3e(e,t){let n=t.value;if(!SS(n))return-1;let i=n[4].value,o=0,r=n[4].value;if(Ia(n))switch(El(n[4].unit)){case"rad":o=nee.get("deg")(i);break;case"deg":o=i,r=AS.get("rad")(i);break;case"grad":o=W1.get("deg")(i),r=W1.get("rad")(i);break;case"turn":o=V1.get("deg")(i),r=V1.get("rad")(i);break;default:return-1}let c=o/90;return r=o%90==0&&c%2!=0?c>0?1/0:-1/0:Math.tan(r),Wu(e,r)}function z3e(e){if(e.length!==2)return-1;let t=e[0].value,n=e[1].value;if(_s(t)&&_s(n)){let i=t[4].value-n[4].value;return new Un([Rt.Number,i.toString(),t[2],n[3],{value:i,type:t[4].type===Dn.Integer&&n[4].type===Dn.Integer?Dn.Integer:Dn.Number}])}if(to(t)&&to(n)){let i=t[4].value-n[4].value;return new Un([Rt.Percentage,i.toString()+"%",t[2],n[3],{value:i}])}if(Ia(t)&&Ia(n)&&(n=jl(t,n),El(t[4].unit)===El(n[4].unit))){let i=t[4].value-n[4].value;return new Un([Rt.Dimension,i.toString()+t[4].unit,t[2],n[3],{value:i,type:t[4].type===Dn.Integer&&n[4].type===Dn.Integer?Dn.Integer:Dn.Number,unit:t[4].unit}])}return-1}function J3e(e,t){if(t.length===1){let n=t[0];if(!n||!Mi(n))return-1;let i=n.value;return _s(i)?Wu(e,Math.log(i[4].value)):-1}if(t.length===2){let n=t[0];if(!n||!Mi(n))return-1;let i=n.value;if(!_s(i))return-1;let o=t[1];if(!o||!Mi(o))return-1;let r=o.value;return _s(r)?Wu(e,Math.log(i[4].value)/Math.log(r[4].value)):-1}return-1}var Q3e=/^none$/i;function z2(e){if(Array.isArray(e)){let n=e.filter(i=>!(E1(i)&&y1(i)));return n.length===1&&z2(n[0])}if(!Mi(e))return!1;let t=e.value;return!!A_(t)&&Q3e.test(t[4].value)}function Y3e(e,t,n,i,o,r){let c=n.value;if(!eo(c))return-1;let s=jl(c,i.value);if(!FH(c,s))return-1;let u,H=null;if(o&&(H=jl(c,o.value),!FH(c,H)))return-1;if(Number.isFinite(c[4].value))if(Number.isFinite(s[4].value))if(Number.isFinite(s[4].value-c[4].value))if(H&&!Number.isFinite(H[4].value))u=c[4].value;else{let a=e8e(t8e([t,ei(c),ei(s),o?`by ${o.toString()}`:""].join(",")),r.randomSeed),l=c[4].value,p=s[4].value;if(l>p&&([l,p]=[p,l]),H&&(H[4].value<=0||Math.abs(l-p)/H[4].value>1e10)&&(H=null),H){let d=Math.abs(l-p),h=a();u=l+Math.floor(d/H[4].value*h)*H[4].value}else{let d=a();u=Number((d*(p-l)+l).toFixed(5))}}else u=Number.NaN;else u=Number.NaN;else u=Number.NaN;return jH(e,c,u)}function e8e(e=.34944106645296036,t=.19228640875738723,n=.8784393832007205,i=.04850964319275053){return()=>{let o=((e|=0)+(t|=0)|0)+(i|=0)|0;return i=i+1|0,e=t^t>>>9,t=(n|=0)+(n<<3)|0,n=(n=n<<21|n>>>11)+o|0,(o>>>0)/4294967296}}function t8e(e){let t=0,n=0,i=0;t=~t;for(let o=0,r=e.length;o<r;o++)i=255&(t^e.charCodeAt(o)),n=+("0x"+"00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D".substring(9*i,9*i+8)),t=t>>>8^n;return~t>>>0}var Q2=new Map([["abs",function(t,n,i){return qu(t,n,i,M3e)}],["acos",function(t,n,i){return qu(t,n,i,k3e)}],["asin",function(t,n,i){return qu(t,n,i,N3e)}],["atan",function(t,n,i){return qu(t,n,i,R3e)}],["atan2",function(t,n,i){return gS(t,n,i,$3e)}],["calc",ml],["clamp",function(t,n,i){let o=O_([...t.value.filter(m=>!jp(m))],n),r=[],c=[],s=[];{let m=r;for(let g=0;g<o.length;g++){let y=o[g];if(Mi(y)&&RH(y.value)){if(m===s)return-1;if(m===c){m=s;continue}if(m===r){m=c;continue}return-1}m.push(y)}}let u=z2(r),H=z2(s);if(u&&H)return ml(Ec(c),n,i);let a=Fl(ml(Ec(c),n,i));if(a===-1)return-1;if(u){let m=Fl(ml(Ec(s),n,i));return m===-1?-1:ree((l=a,p=m,new rl([Rt.Function,"min(",-1,-1,{value:"min"}],[Rt.CloseParen,")",-1,-1,void 0],[l,new Un([Rt.Comma,",",-1,-1,void 0]),p])),[a,m],i)}if(H){let m=Fl(ml(Ec(r),n,i));return m===-1?-1:tee(i8e(m,a),[m,a],i)}var l,p;let d=Fl(ml(Ec(r),n,i));if(d===-1)return-1;let h=Fl(ml(Ec(s),n,i));return h===-1?-1:B3e(t,d,a,h,i)}],["cos",function(t,n,i){return qu(t,n,i,O3e)}],["exp",function(t,n,i){return qu(t,n,i,F3e)}],["hypot",function(t,n,i){return bS(t,t.value,n,i,j3e)}],["log",function(t,n,i){return bS(t,t.value,n,i,J3e)}],["max",function(t,n,i){return bS(t,t.value,n,i,tee)}],["min",function(t,n,i){return bS(t,t.value,n,i,ree)}],["mod",function(t,n,i){return gS(t,n,i,U3e)}],["pow",function(t,n,i){return gS(t,n,i,q3e)}],["random",function(t,n,i){let o=t.value.filter(p=>!jp(p)),r="",c=[],s=[];for(let p=0;p<o.length;p++){let d=o[p];if(!r&&s.length===0&&Mi(d)&&A_(d.value)){let h=d.value[4].value.toLowerCase();if(h==="per-element"||h.startsWith("--")){r=h;let m=o[p+1];if(!Mi(m)||!RH(m.value))return-1;p++;continue}}if(Mi(d)&&RH(d.value)){let h=o[p+1];if(s.length>0&&Mi(h)&&A_(h.value)){let m=h.value[4].value.toLowerCase();if(m==="by"||m.startsWith("--")){c.push(...o.slice(p+2));break}}}s.push(d)}let u=aee(s,n,i);if(u===-1)return-1;let[H,a]=u,l=null;return c.length&&(l=see(c,n,i),l===-1)?-1:Y3e(t,r,H,a,l,i)}],["rem",function(t,n,i){return gS(t,n,i,W3e)}],["round",function(t,n,i){let o=O_([...t.value.filter(l=>!jp(l))],n),r="",c=!1,s=[],u=[];{let l=s;for(let p=0;p<o.length;p++){let d=o[p];if(!r&&s.length===0&&u.length===0&&Mi(d)&&A_(d.value)){let h=d.value[4].value.toLowerCase();if(n8e.has(h)){r=h;continue}}if(Mi(d)&&RH(d.value)){if(l===u)return-1;if(l===s&&r&&s.length===0)continue;if(l===s){c=!0,l=u;continue}return-1}l.push(d)}}let H=Fl(ml(Ec(s),n,i));if(H===-1)return-1;c||u.length!==0||u.push(new Un([Rt.Number,"1",-1,-1,{value:1,type:Dn.Integer}]));let a=Fl(ml(Ec(u),n,i));return a===-1?-1:(r||(r="nearest"),V3e(t,r,H,a,i))}],["sign",function(t,n,i){return qu(t,n,i,K3e)}],["sin",function(t,n,i){return qu(t,n,i,G3e)}],["sqrt",function(t,n,i){return qu(t,n,i,X3e)}],["tan",function(t,n,i){return qu(t,n,i,Z3e)}]]);function ml(e,t,n){let i=O_([...e.value.filter(r=>!jp(r))],t);if(i.length===1&&Mi(i[0]))return{inputs:[i[0]],operation:IS};let o=0;for(;o<i.length;){let r=i[o];if($H(r)&&FI(r.startToken)){let c=ml(r,t,n);if(c===-1)return-1;i.splice(o,1,c)}else if(Bu(r)){let c=Q2.get(r.getName().toLowerCase());if(!c)return-1;let s=c(r,t,n);if(s===-1)return-1;i.splice(o,1,s)}else o++}if(o=0,i.length===1&&Sf(i[0]))return i[0];for(;o<i.length;){let r=i[o];if(!r||!Mi(r)&&!Sf(r)){o++;continue}let c=i[o+1];if(!c||!Mi(c)){o++;continue}let s=c.value;if(!R9(s)||s[4].value!=="*"&&s[4].value!=="/"){o++;continue}let u=i[o+2];if(!u||!Mi(u)&&!Sf(u))return-1;s[4].value!=="*"?s[4].value!=="/"?o++:i.splice(o,3,{inputs:[r,u],operation:D3e}):i.splice(o,3,{inputs:[r,u],operation:P3e})}if(o=0,i.length===1&&Sf(i[0]))return i[0];for(;o<i.length;){let r=i[o];if(!r||!Mi(r)&&!Sf(r)){o++;continue}let c=i[o+1];if(!c||!Mi(c)){o++;continue}let s=c.value;if(!R9(s)||s[4].value!=="+"&&s[4].value!=="-"){o++;continue}let u=i[o+2];if(!u||!Mi(u)&&!Sf(u))return-1;s[4].value!=="+"?s[4].value!=="-"?o++:i.splice(o,3,{inputs:[r,u],operation:z3e}):i.splice(o,3,{inputs:[r,u],operation:x3e})}return i.length===1&&Sf(i[0])?i[0]:-1}function qu(e,t,n,i){let o=see(e.value,t,n);return o===-1?-1:i(e,o,n)}function see(e,t,n){let i=Fl(ml(Ec(O_([...e.filter(o=>!jp(o))],t)),t,n));return i===-1?-1:i}function gS(e,t,n,i){let o=aee(e.value,t,n);if(o===-1)return-1;let[r,c]=o;return i(e,r,c,n)}function aee(e,t,n){let i=O_([...e.filter(u=>!jp(u))],t),o=[],r=[];{let u=o;for(let H=0;H<i.length;H++){let a=i[H];if(Mi(a)&&RH(a.value)){if(u===r)return-1;if(u===o){u=r;continue}return-1}u.push(a)}}let c=Fl(ml(Ec(o),t,n));if(c===-1)return-1;let s=Fl(ml(Ec(r),t,n));return s===-1?-1:[c,s]}function bS(e,t,n,i,o){let r=r8e(e.value,n,i);return r===-1?-1:o(e,r,i)}function r8e(e,t,n){let i=O_([...e.filter(r=>!jp(r))],t),o=[];{let r=[],c=[];for(let s=0;s<i.length;s++){let u=i[s];Mi(u)&&RH(u.value)?(r.push(c),c=[]):c.push(u)}r.push(c);for(let s=0;s<r.length;s++){if(r[s].length===0)return-1;let u=Fl(ml(Ec(r[s]),t,n));if(u===-1)return-1;o.push(u)}}return o}var n8e=new Set(["nearest","up","down","to-zero"]);function Ec(e){return new rl([Rt.Function,"calc(",-1,-1,{value:"calc"}],[Rt.CloseParen,")",-1,-1,void 0],e)}function i8e(e,t){return new rl([Rt.Function,"max(",-1,-1,{value:"max"}],[Rt.CloseParen,")",-1,-1,void 0],[e,new Un([Rt.Comma,",",-1,-1,void 0]),t])}function s8e(e){if(e===-1)return-1;if(Bu(e))return e;let t=e.value;return eo(t)&&Number.isNaN(t[4].value)?_s(t)?new rl([Rt.Function,"calc(",t[2],t[3],{value:"calc"}],[Rt.CloseParen,")",t[2],t[3],void 0],[new Un([Rt.Ident,"NaN",t[2],t[3],{value:"NaN"}])]):Ia(t)?new rl([Rt.Function,"calc(",t[2],t[3],{value:"calc"}],[Rt.CloseParen,")",t[2],t[3],void 0],[new Un([Rt.Ident,"NaN",t[2],t[3],{value:"NaN"}]),new Ml([[Rt.Whitespace," ",t[2],t[3],void 0]]),new Un([Rt.Delim,"*",t[2],t[3],{value:"*"}]),new Ml([[Rt.Whitespace," ",t[2],t[3],void 0]]),new Un([Rt.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:Dn.Integer,unit:t[4].unit}])]):to(t)?new rl([Rt.Function,"calc(",t[2],t[3],{value:"calc"}],[Rt.CloseParen,")",t[2],t[3],void 0],[new Un([Rt.Ident,"NaN",t[2],t[3],{value:"NaN"}]),new Ml([[Rt.Whitespace," ",t[2],t[3],void 0]]),new Un([Rt.Delim,"*",t[2],t[3],{value:"*"}]),new Ml([[Rt.Whitespace," ",t[2],t[3],void 0]]),new Un([Rt.Percentage,"1%",t[2],t[3],{value:1}])]):-1:e}function a8e(e){if(e===-1)return-1;if(Bu(e))return e;let t=e.value;if(!eo(t)||Number.isFinite(t[4].value)||Number.isNaN(t[4].value))return e;let n="";return Number.NEGATIVE_INFINITY===t[4].value&&(n="-"),_s(t)?new rl([Rt.Function,"calc(",t[2],t[3],{value:"calc"}],[Rt.CloseParen,")",t[2],t[3],void 0],[new Un([Rt.Ident,n+"infinity",t[2],t[3],{value:n+"infinity"}])]):Ia(t)?new rl([Rt.Function,"calc(",t[2],t[3],{value:"calc"}],[Rt.CloseParen,")",t[2],t[3],void 0],[new Un([Rt.Ident,n+"infinity",t[2],t[3],{value:n+"infinity"}]),new Ml([[Rt.Whitespace," ",t[2],t[3],void 0]]),new Un([Rt.Delim,"*",t[2],t[3],{value:"*"}]),new Ml([[Rt.Whitespace," ",t[2],t[3],void 0]]),new Un([Rt.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:Dn.Integer,unit:t[4].unit}])]):new rl([Rt.Function,"calc(",t[2],t[3],{value:"calc"}],[Rt.CloseParen,")",t[2],t[3],void 0],[new Un([Rt.Ident,n+"infinity",t[2],t[3],{value:n+"infinity"}]),new Ml([[Rt.Whitespace," ",t[2],t[3],void 0]]),new Un([Rt.Delim,"*",t[2],t[3],{value:"*"}]),new Ml([[Rt.Whitespace," ",t[2],t[3],void 0]]),new Un([Rt.Percentage,"1%",t[2],t[3],{value:1}])])}function o8e(e){if(e===-1)return-1;if(Bu(e))return e;let t=e.value;return eo(t)&&Object.is(-0,t[4].value)&&(t[1]==="-0"||(to(t)?t[1]="-0%":Ia(t)?t[1]="-0"+t[4].unit:t[1]="-0")),e}function l8e(e,t=13){if(e===-1)return-1;if(t<=0||Bu(e))return e;let n=e.value;if(!eo(n)||Number.isInteger(n[4].value))return e;let i=Number(n[4].value.toFixed(t)).toString();return _s(n)?n[1]=i:to(n)?n[1]=i+"%":Ia(n)&&(n[1]=i+n[4].unit),e}function c8e(e){return e===-1?-1:(Bu(e)||Ia(e.value)&&(e.value=C3e(e.value)),e)}function u8e(e,t){let n=e;return t?.toCanonicalUnits&&(n=c8e(n)),n=l8e(n,t?.precision),n=o8e(n),t?.censorIntoStandardRepresentableValues||(n=s8e(n),n=a8e(n)),n}function H8e(e){let t=new Map;if(!e)return t;for(let[n,i]of e)if(h1(i))t.set(n,i);else if(typeof i=="string"){let o=f1({css:i}),r=o.nextToken();if(o.nextToken(),!o.endOfFile()||!eo(r))continue;t.set(n,r)}return t}function oee(e,t){let n=H8e(t?.globals);return bQ(e,i=>{if(!Bu(i))return;let o=Q2.get(i.getName().toLowerCase());if(!o)return;let r=u8e(Fl(o(i,n,t??{})),t);return r!==-1?r:void 0})}var Uxt=new Set(Q2.keys());function F_(e){let t=P9({css:`calc(${e})`}),n=gQ(t,{});if(!n)return null;let o=oee([[n]],{randomSeed:1,precision:4})[0][0];return Bu(o)&&o.name[1]==="calc("?null:ei(...o.tokens())}function lee(e,t,n){if(!t.designSystem)return e;let i=[],o=[];return e=B_(e,r=>{let c=Qp(r.value,{replace({name:a}){if(!a.startsWith("--"))return null;let l=Yp(t.designSystem,a);return l===null?null:(l=B_(l,p=>F_(p.value)),l)}}),s=F_(c);if(r.value===s||!s)return null;o.push(r.range);let u=BH(s,n.rootFontSize,!1);if(u!==s)return i.push({index:r.range.end+1,value:`${s} = ${u}`}),null;let H=LS(s);return H!==s?(i.push({index:r.range.end+1,value:`${s} = ${H}`}),null):(i.push({index:r.range.end+1,value:s}),null)}),e=Qp(e,{recursive:!1,replace({name:r,range:c}){if(!r.startsWith("--"))return null;for(let a of o)if(a.start<=c.start&&a.end>=c.end)return null;let s=Yp(t.designSystem,r);if(s===null)return null;let u=BH(s,n.rootFontSize,!1);if(u!==s)return i.push({index:c.end+1,value:`${s} = ${u}`}),null;let H=LS(s);return H!==s?(i.push({index:c.end+1,value:`${s} = ${H}`}),null):(s=B_(s,a=>{let l=F_(a.value);return!l||l===a.value?null:`calc(${a.value}) \u2248 ${l}`}),i.push({index:c.end+1,value:s}),null)}}),L_(e,i)}function cee(e,t){if(!t.designSystem)return e;let n=new Set;return e=B_(e,i=>{let o=Qp(i.value,{replace({name:r,fallback:c}){if(!r.startsWith("--")||n.has(r))return null;let s=Yp(t.designSystem,r);return s===null?c:(s.includes("var(")&&n.add(r),s)}});return F_(o)}),e=Qp(e,{replace({name:i,fallback:o}){if(!i.startsWith("--")||n.has(i))return null;let r=Yp(t.designSystem,i);return r===null?o:(r.includes("var(")&&n.add(i),r)}}),e}function j_(e){return(e>0n)-(e<0n)}function yl(e,t,n=()=>!0){let i=e.modules.jit.generateRules.module(new Set(t),e.jitContext).sort(([c],[s])=>j_(c-s)),o=e.modules.postcss.module.root({nodes:i.map(([,c])=>c)});e.modules.jit.expandApplyAtRules.module(e.jitContext)(o),e.modules.jit.evaluateTailwindFunctions?.module?.(e.jitContext)(o);let r=[];return o.walkRules(c=>{n(c)&&r.push(c)}),{root:o,rules:r}}async function U_(e,t,n){let i=await e.editor.getConfiguration(n),o=t.clone();o.walkAtRules("defaults",u=>{u.remove()});let r=o.toString();r=lee(r,e,i.tailwindCSS),r=TS(r,i.tailwindCSS);let c=e.v4?2:4,s=e.v4?/^(?: )+/gm:/^(?: )+/gm;return r.replace(/([^;{}\s])(\n\s*})/g,(u,H,a)=>`${H};${a}`).replace(s,u=>" ".repeat(u.length/c*i.editor.tabSize))}async function Y2(e,t,n){let i=await e.editor.getConfiguration(n),o=[];return t.walkDecls(({prop:r,value:c})=>{c=cee(c,e).trim(),i.tailwindCSS.showPixelEquivalents&&(c=BH(c,i.tailwindCSS.rootFontSize)),o.push(`${r}: ${c};`)}),o.join(" ")}function p8e(e,t,n,i){let o=r=>{r.walkClasses(c=>{c.value===n&&(c.value=i)})};return e.modules.postcssSelectorParser.module(o).processSync(t)}function d8e(e){return e.type==="atrule"}function eR(e,t,n){let i=[p8e(e,t.selector,n,"__placeholder__")],o=t;for(;o.parent&&o.parent.type!=="root";)o=o.parent,d8e(o)&&i.unshift(`@${o.name} ${o.params}`);return i}var OR=mr(tR());var js=mr(gl(),1),ql=js.default,nPt=js.default.stringify,iPt=js.default.fromJSON,sPt=js.default.plugin,aPt=js.default.parse,oPt=js.default.list,lPt=js.default.document,cPt=js.default.comment,uPt=js.default.atRule,sre=js.default.rule,HPt=js.default.decl,are=js.default.root,pPt=js.default.CssSyntaxError,dPt=js.default.Declaration,fPt=js.default.Container,hPt=js.default.Processor,_Pt=js.default.Document,mPt=js.default.Comment,EPt=js.default.Warning,yPt=js.default.AtRule,gPt=js.default.Result,bPt=js.default.Input,APt=js.default.Rule,IPt=js.default.Root,SPt=js.default.Node;var u4e=["accent-color","caret-color","color","column-rule-color","background-color","border-color","border-top-color","border-right-color","border-bottom-color","border-left-color","border-inline-color","border-inline-start-color","border-inline-end-color","border-block-color","border-block-start-color","border-block-end-color","fill","outline-color","stop-color","stroke","text-decoration-color"];function ore(e){if(typeof e!="string")return null;let t=e.toLowerCase();return t==="transparent"?"transparent":t==="currentcolor"?"currentColor":null}var H4e=new RegExp(`(?:^|\\s|\\(|,)(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgba?|hsla?|(?:ok)?(?:lab|lch))\\(\\s*(-?[\\d.]+(%|deg|rad|grad|turn)?(\\s*[,/]\\s*|\\s+)+){2,3}\\s*([\\d.]+%?|var\\([^)]+\\))?\\)|transparent|currentColor|${Object.keys(OR.default).join("|")})(?:$|\\s|\\)|,)`,"gi");function p4e(e,t){if(/(?:box|drop)-shadow/.test(t)&&!/--tw-drop-shadow/.test(t))return[];function n(o){let r=o[1].replace(/var\([^)]+\)/,"1");return ore(r)??jR(r)}t=eee(e,t),t=g4e(t),t=A4e(t);let i=t.matchAll(H4e);return Array.from(i,n).filter(Boolean)}function KS(e,t){let n=Object.keys(t).filter(l=>{if(l==="content"){let p=t[l];if(Array.isArray(p)&&p.length===1&&(p=p[0]),p==='""'||p==="''"||p==="var(--tw-content)")return!1}return!(l==="mask-image"||l==="mask-composite"||l==="--tw-drop-shadow")});if(n.length===0)return null;let i=n.filter(l=>!l.startsWith("--")),o=i.length===0;if(!o&&i.some(l=>!u4e.includes(l)))return null;let c=(o?n:i).flatMap(l=>yp(t[l]).flatMap(p=>p4e(e,p))),s=fx(c.map(l=>typeof l=="string"?l:M_({...l,alpha:void 0})));if(s.length!==1)return null;let u=ore(s[0]);if(u)return u;let H=c.filter(l=>typeof l!="string"),a=fx(H.map(l=>l.alpha??1));return a.length===1?H[0]:a.length===2&&a.includes(0)?H.find(l=>(l.alpha??1)!==0):null}function d4e(e,t){t=t.clone(),t.walkAtRules(o=>{o.name==="property"&&o.remove(),o.name==="supports"&&o.params==="(-moz-orient: inline)"&&o.remove()});let n={},i=ql.rule({selector:".x",nodes:[]});return t.walkDecls(o=>{i.append(o.clone())}),t.walkDecls(o=>{n[o.prop]??=[],n[o.prop].push(o.value)}),KS(e,n)}var f4e=/^-/,h4e=/^-?((min-|max-)?[wh]|z|start|order|opacity|rounded|row|col|size|basis|end|duration|ease|font|top|left|bottom|right|inset|leading|cursor|(space|scale|skew|rotate)-[xyz]|gap(-[xy])?|(scroll-)?[pm][trblxyse]?)-/,_4e=/^-?mask-/;function m4e(e){return!!(f4e.test(e)||_4e.test(e)||h4e.test(e))}function gc(e,t){if(e.v4){if(m4e(t))return null;let o=e.designSystem.compile([t])[0];return d4e(e,o)}if(e.jit){if(e.classNames){let u=(0,BR.default)(e.classNames.classNames,[t,"__info"]);if(u&&u.__rule)return KS(e,pc(u))}let o;try{o=yl(e,[t])}catch(u){return console.error(`Error generating rules for className: ${t}`),console.error(u),null}let{root:r,rules:c}=o;if(c.length===0)return null;let s={};return r.walkDecls(u=>{let H=s[u.prop];H?Array.isArray(H)?H.push(u.value):s[u.prop]=[H,u.value]:s[u.prop]=u.value}),KS(e,s)}let n=Uu(e,t);if(!n)return null;let i=(0,BR.default)(e.classNames.classNames,[...n,"__info"]);return i.__rule?KS(e,pc(i)):null}function xf(e){if(typeof e!="string")return null;let t=e.trim();return t.toLowerCase()==="transparent"?"transparent":t.toLowerCase()==="currentcolor"?"currentColor":!/^\s*(?:rgba?|hsla?|(?:ok)?(?:lab|lch))\s*\([^)]+\)\s*$/.test(t)&&!/^\s*#[0-9a-f]+\s*$/i.test(t)&&!Object.keys(OR.default).includes(t)?null:jR(t)}var E4e=fc("rgb");function FR(e){let t=Z2(E4e(e));return{red:t.r,green:t.g,blue:t.b,alpha:t.alpha??1}}function iu(e){return e.alpha===void 0||e.alpha===1?K2(e):U1(e)}var y4e=/color-mix\(in [^,]+,\s*(.*?)\s*(\d+|\.\d+|\d+\.\d+)%,\s*transparent\)/g;function jR(e){try{return C1(e)??null}catch(t){return console.error("Error parsing color",e),console.error(t),null}}function g4e(e){return e.replace(y4e,(t,n,i)=>{if(n.startsWith("var("))return t;let o=jR(n);if(!o)return t;let r=Number(i)/100;return Number.isNaN(r)?t:M_({...o,alpha:r})})}var b4e=/light-dark\(\s*(.*?)\s*,\s*.*?\s*\)/g;function A4e(e){return e.replace(b4e,(t,n)=>n)}var lre=["rgb","rgba","hsl","hsla","lch","lab","oklch","oklab"];function LS(e){let t=xf(e);return!t||typeof t=="string"||!X2("rgb")(t)?e:iu(t)}var ure=Object.assign(({comments:e})=>({postcssPlugin:"plugin",Declaration(t){lre.some(n=>t.value.includes(n))&&(0,cre.default)(t.value).walk(n=>{if(n.type!=="function"||n.value==="var")return!0;if(!lre.includes(n.value))return!1;let i=n.nodes.filter(c=>c.type==="word").map(c=>c.value);if(i.length<3)return!1;let o=`${n.value}(${i.join(" ")})`,r=LS(o);return r===o||e.push({index:t.source.start.offset+`${t.prop}${t.raws.between}`.length+n.sourceEndIndex,value:r}),!1})}}),{postcss:!0});function TS(e,t){let n=[],i=[];t.showPixelEquivalents&&i.push(kQ({comments:n,rootFontSize:t.rootFontSize})),i.push(ure({comments:n}));try{ql(i).process(e,{from:void 0}).css}catch{return e}return L_(e,n)}function GS(e){return Ga(e)?`${Object.keys(e).length} values`:typeof e=="function"?"\u0192":typeof e=="string"?e:(0,dre.default)(e,{inlineCharacterLimit:1/0,singleQuotes:!1,transform:(t,n,i)=>typeof t[n]=="function"?"\u0192":i})}function f0(e,t,n){if(t.__rule!==!0&&!Array.isArray(t))return null;if(Array.isArray(t)){let H=t.map(a=>f0(e,a,n)).filter(Boolean);return H.length===0?null:H.join(`
|
|
|
|
`)}let i="",o=" ".repeat(n.editor.tabSize),r=(0,Hre.default)(t,"__context",[]),c=Object.keys(pc(t));if(c.length===0)return null;for(let H=0;H<r.length;H++)i+=`${o.repeat(H)}${r[H]} {
|
|
`;let s=o.repeat(r.length),u=c.reduce((H,a,l)=>{let p=yp(t[a]).map(d=>`${s+o}${a}: ${d};`).join(`
|
|
`);return`${H}${l===0?"":`
|
|
`}${p}`},"");i+=`${s}${I4e(e,t)} {
|
|
${u}
|
|
${s}}`;for(let H=r.length-1;H>=0;H--)i+=`${o.repeat(H)}
|
|
}`;return i=TS(i,n.tailwindCSS),i}function I4e(e,t){let n=t.__pseudo.join("");return`${t.__scope?`${t.__scope} `:""}.${(0,pre.default)(e)}${n}`}var Tne=mr(Fo());var XS=["aspnetcorerazor","astro","astro-markdown","blade","django-html","edge","ejs","erb","gohtml","GoHTML","gohtmltmpl","haml","handlebars","hbs","html","HTML (Eex)","HTML (EEx)","html-eex","htmldjango","jade","latte","leaf","liquid","markdown","mdx","mustache","njk","nunjucks","phoenix-heex","php","razor","slim","surface","twig"],ZS=["css","less","postcss","sass","scss","stylus","sugarss","tailwindcss"],zS=["javascript","javascriptreact","reason","rescript","typescript","typescriptreact","glimmer-js","glimmer-ts"],S4e=["vue","svelte"],WPt=[...ZS,...XS,...zS,...S4e],fre=["sass","sugarss","stylus"];function JS(e,t={}){return fre.includes(e)||fre.includes(t[e])}var Sre=mr(qR());function su(e,t){return e.line===t.start.line&&e.character>=t.start.character?!(e.line===t.end.line&&e.character>t.end.character):e.line===t.end.line&&e.character<=t.end.character?!(e.line===t.start.line&&e.character<t.end.character):e.line>t.start.line&&e.line<t.end.line}function nd(e,t){let n=Object.keys(e.editor.userLanguages).filter(i=>zS.includes(e.editor.userLanguages[i]));return[...zS,...n].indexOf(t.languageId)!==-1}function QS(e,t,n){let i=t.getText({start:{line:0,character:0},end:n}),o=Ha(e,t,i);return o?["js","ts","jsx","tsx"].includes(o[o.length-1].type):!1}function WR(e,t,n){let i=t.getText({start:{line:0,character:0},end:n}),o=Ha(e,t,i);return o?["jsx","tsx"].includes(o[o.length-1].type):!1}var h0=mr(eL());var VR=e=>{let t=!1,n=null,i=function(){return t||(n=e.apply(this,arguments),t=!0),n};return i.isLazy=!0,i};var gre=()=>({doubleClassList:{arb:{match:new RegExp("(?<!\\\\)\\["),push:"arbitrary"},lbrace:{match:new RegExp("(?<!\\\\)\\{"),push:"interpBrace"},rbrace:{match:new RegExp("(?<!\\\\)\\}"),pop:1},end:{match:new RegExp('(?<!\\\\)"'),pop:1},classlist:{match:new RegExp("[\\s\\S]"),lineBreaks:!0}},singleClassList:{lbrace:{match:new RegExp("(?<!\\\\)\\{"),push:"interpBrace"},rbrace:{match:new RegExp("(?<!\\\\)\\}"),pop:1},end:{match:new RegExp("(?<!\\\\)'"),pop:1},classlist:{match:new RegExp("[\\s\\S]"),lineBreaks:!0}},tickClassList:{lbrace:{match:new RegExp("(?<=(?<!\\\\)\\$)\\{"),push:"interpBrace"},rbrace:{match:new RegExp("(?<!\\\\)\\}"),pop:1},end:{match:new RegExp("(?<!\\\\)`"),pop:1},classlist:{match:new RegExp("[\\s\\S]"),lineBreaks:!0}},interpBrace:{startSingle:{match:new RegExp("(?<!\\\\)'"),push:"singleClassList"},startDouble:{match:new RegExp('(?<!\\\\)"'),push:"doubleClassList"},startTick:{match:new RegExp("(?<!\\\\)`"),push:"tickClassList"},lbrace:{match:new RegExp("(?<!\\\\)\\{"),push:"interpBrace"},rbrace:{match:new RegExp("(?<!\\\\)\\}"),pop:1},text:{match:new RegExp("[\\s\\S]"),lineBreaks:!0}},interpParen:{startSingle:{match:new RegExp("(?<!\\\\)'"),push:"singleClassList"},startDouble:{match:new RegExp('(?<!\\\\)"'),push:"doubleClassList"},startTick:{match:new RegExp("(?<!\\\\)`"),push:"tickClassList"},lbrace:{match:new RegExp("(?<!\\\\)\\("),push:"interpParen"},rbrace:{match:new RegExp("(?<!\\\\)\\)"),pop:1},text:{match:new RegExp("[\\s\\S]"),lineBreaks:!0}},interpSingle:{startDouble:{match:new RegExp('(?<!\\\\)"'),push:"doubleClassList"},startTick:{match:new RegExp("(?<!\\\\)`"),push:"tickClassList"},single:{match:new RegExp("(?<!\\\\)'"),pop:1},text:{match:new RegExp("[\\s\\S]"),lineBreaks:!0}},interpDouble:{startSingle:{match:new RegExp("(?<!\\\\)'"),push:"singleClassList"},startTick:{match:new RegExp("(?<!\\\\)`"),push:"tickClassList"},double:{match:new RegExp('(?<!\\\\)"'),pop:1},text:{match:new RegExp("[\\s\\S]"),lineBreaks:!0}},arbitrary:{arb:{match:new RegExp("(?<!\\\\)\\]"),pop:1},space:{match:/\s/,pop:1,lineBreaks:!0},arb2:{match:new RegExp("[\\s\\S]"),lineBreaks:!0}}}),bre={main:{start:{match:'"',push:"doubleClassList"}},doubleClassList:{end:{match:'"',pop:1},classlist:{match:/[\s\S]/,lineBreaks:!0}}},tL=VR(()=>{let e=!0;try{new RegExp("(?<!)")}catch{e=!1}return e?h0.default.states({main:{start1:{match:'"',push:"doubleClassList"},start2:{match:"'",push:"singleClassList"},start3:{match:"{",push:"interpBrace"},start4:{match:"`",push:"tickClassList"},start5:{match:"(",push:"interpParen"}},...gre()}):h0.default.states(bre)}),rL=VR(()=>{let e=!0;try{new RegExp("(?<!)")}catch{e=!1}return e?h0.default.states({main:{lbrace:{match:"{",push:"interpBrace"},single:{match:"'",push:"interpSingle"},double:{match:'"',push:"interpDouble"}},...gre()}):h0.default.states(bre)});function Ys(e,t){return{start:{line:(t?.start.line||0)+e.start.line,character:(e.end.line===0&&t?.start.character||0)+e.start.character},end:{line:(t?.start.line||0)+e.end.line,character:(e.end.line===0&&t?.start.character||0)+e.end.character}}}var Are=mr(eL());function xs(e,t,n){let i=typeof e=="string"?e:e.getText(n);return t==="js"||t==="jsx"?w4e(i):t==="css"?P4e(i):i.replace(/<!--.*?-->/gs,Ire)}function P4e(e){let s=[];for(let u=0;u<e.length;++u){let H=e.charCodeAt(u);if(H===92)u+=1;else if(H===39||H===34)for(let a=u+1;a<e.length;++a){let l=e.charCodeAt(a);if(l===92)a+=1;else if(l===H){u=a;break}else if(l===10){u=a;break}}else if(H===47&&e.charCodeAt(u+1)===42){let a=u;for(let l=u+2;l<e.length;l++){let p=e.charCodeAt(l);if(p===92)l+=1;else if(p===42&&e.charCodeAt(l+1)===47){u=l+1;break}}s.push({start:a,end:u+1,replacement:Ire(e.slice(a,u+1))})}}return WI(e,s)}function Ire(e){return e.replace(/./gs,t=>t===`
|
|
`?`
|
|
`:" ")}var nL;function w4e(e){nL||(nL=Are.default.states({main:{commentLine:/\/\/.*?$/,commentBlock:{match:/\/\*[^]*?\*\//,lineBreaks:!0},stringDouble:/"(?:[^"\\]|\\.)*"/,stringSingle:/'(?:[^'\\]|\\.)*'/,stringBacktick:/`(?:[^`\\]|\\.)*`/,other:{match:/[^]/,lineBreaks:!0}}}));let t="";nL.reset(e);for(let n of nL)n.type==="commentLine"?t+=" ".repeat(n.value.length):n.type==="commentBlock"?t+=n.value.replace(/./g," "):t+=n.value;return t=k4e(t),t}function k4e(e){let g=32,y=9,_=!1,E=!1,A=!1,S=-1,T=-1,I=null;for(let L=0;L<e.length;++L){let x=e.charCodeAt(L);if(_){if(x===10)break;if(E)E=!1;else if(x===47&&!A){_=!1,T=L;break}else x===91?A=!0:x===92?E=!0:x===93&&(A=!1);continue}if(x===39)for(let C=L;C<e.length;++C){let D=e.charCodeAt(C);if(D===92)C+=1;else if(D===39){L=C;break}else if(D===10){L=C;break}}else if(x===34)for(let C=L;C<e.length;++C){let D=e.charCodeAt(C);if(D===92)C+=1;else if(D===34){L=C;break}else if(D===10){L=C;break}}else if(x===96)for(let C=L;C<e.length;++C){let D=e.charCodeAt(C);if(D===92)C+=1;else if(D===96){L=C;break}else if(D===10){L=C;break}}else x===g||x===y||(x===47?(I===44||I===58||I===61||I===59||I===91||I===63||I===40||I===123||I===10)&&(_=!0,S=L):I=x)}return _||S===-1||T===-1?e:e.slice(0,S)+" ".repeat(T-S+1)+e.slice(T+1)}function*iL({text:e,filters:t,cursor:n=null}){for(let i of t){let[o,r]=Array.isArray(i)?i:[i],c=new RegExp(o,"gd"),s=r?new RegExp(r,"gd"):void 0;for(let u of N4e(e,c,s,n))yield u}}function*N4e(e,t,n,i){for(let o of e.matchAll(t)){if(o[1]===void 0){console.warn(`Regex /${t.source}/ must have exactly one capture group`);continue}let r=o.indices[1][0],c=r+o[1].length;if(!(i!==null&&(i<r||i>c))){if(!n){yield{classList:i!==null?o[1].slice(0,i-r):o[1],range:[r,c]};continue}for(let s of o[1].matchAll(n)){if(s[1]===void 0){console.warn(`Regex /${n.source}/ must have exactly one capture group`);continue}let u=r+s.indices[1][0],H=u+s[1].length;i!==null&&(i<u||i>H)||(yield{classList:i!==null?s[1].slice(0,i-u):s[1],range:[u,H]})}}}}function Sa(e,t){let n,i=[];for(;(n=e.exec(t))!==null;)i.push({...n});return i}function Lre(e,t){let n=Sa(e,t);return n.length===0?null:n[n.length-1]}function Ku({classList:e,range:t,important:n},i){let o=e.split(/(\s+)/),r=[],c=0;for(let s=0;s<o.length;s++){if(s%2===0&&!i.includes(o[s])){let u=Gn(e,c),H=Gn(e,c+o[s].length);r.push({className:o[s],classList:{classList:e,range:t,important:n},relativeRange:{start:u,end:H},range:{start:{line:t.start.line+u.line,character:(H.line===0?t.start.character:0)+u.character},end:{line:t.start.line+H.line,character:(H.line===0?t.start.character:0)+H.character}}})}c+=o[s].length}return r}async function em(e,t,n,i,o=!0){let r=await sL(e,t,n,i,o);return fH(r.map(c=>Ku(c,e.blocklist)))}function KR(e,t,n,i){let o=xs(t,"css",n),r=JS(i??t.languageId,e.editor?.userLanguages)?/(@apply\s+)(?<classList>[^}\r\n]+?)(?<important>\s*!important)?(?:\r|\n|}|$)/g:/(@apply\s+)(?<classList>[^;}]+?)(?<important>\s*!important)?\s*[;}]/g,c=Sa(r,o),s=n?n.start:{line:0,character:0};return c.map(u=>{let H=Gn(o,u.index+u[1].length),a=Gn(o,u.index+u[1].length+u.groups.classList.length);return{classList:u.groups.classList,important:!!u.groups.important,range:{start:{line:s.line+H.line,character:(a.line===0?s.character:0)+H.character},end:{line:s.line+a.line,character:(a.line===0?s.character:0)+a.character}}}})}async function Tre(e,t,n){let o=(await e.editor.getConfiguration(t.uri)).tailwindCSS.experimental.classRegex;if(!Array.isArray(o)||o.length===0)return[];let r=t.getText(n?{...n,start:t.positionAt(0)}:void 0),c=[];try{for(let s of iL({text:r,filters:o}))c.push({classList:s.classList,range:{start:t.positionAt(s.range[0]),end:t.positionAt(s.range[1])}})}catch(s){throw console.error(s),console.log({text:r,filters:o}),new Error("Failed to parse custom class regex")}return c}function GR(e,t){let n=t.filter(o=>typeof o=="string").flatMap(o=>[o,`\\[${o}\\]`]),i=/(?:\s|:|\()(ATTRS)\s*=\s*['"`{]/;return Sa(new RegExp(i.source.replace("ATTRS",n.join("|")),"gi"),e)}function XR(e,t){let n=t.filter(u=>typeof u=="string");if(n.length===0)return[];let o=Sa(/(?<=^|[:=,;\s{()])([\p{ID_Start}$_][\p{ID_Continue}$_.]*)[(`]/dgiu,e),r=/^(NAMES)$/,c=new RegExp(r.source.replace("NAMES",n.join("|")),"i");return o.filter(u=>c.test(u[1]))}async function vre(e,t,n,i){if(!e.editor)return[];let o=xs(t,n,i),r=(await e.editor.getConfiguration(t.uri)).tailwindCSS,c=GR(o,r.classAttributes),s=Ha(e,t);for(let a of s??[]){if(!(a.type==="js"||a.type==="jsx")||!r.classFunctions?.length)continue;let p=t.getText(a.range),d=t.offsetAt(a.range.start),h=XR(p,r.classFunctions);h.forEach(m=>{m.index&&(m.index+=d)}),c.push(...h)}let u=new Set,H=[];return c.forEach(a=>{let l=o.substr(a.index+a[0].length-1),p=a[0][0]===":"||a[1].startsWith("[")&&a[1].endsWith("]")?rL():tL();p.reset(l);let d=[],h,m;try{for(let g of p)g.type==="classlist"||g.type.startsWith("arb")?m?m.value+=g.value:m={value:g.value,offset:g.offset}:(m&&d.push({value:m.value,offset:m.offset}),m=void 0)}catch{}m&&d.push({value:m.value,offset:m.offset}),d.forEach(({value:g,offset:y})=>{if(g.trim()==="")return null;let _=g.match(/^\s*/),E=_===null?0:_[0].length,A=g.match(/\s*$/),S=A===null?0:-A[0].length,T=Gn(o,a.index+a[0].length-1+y+E),I=Gn(o,a.index+a[0].length-1+y+g.length+S),L={classList:g.substr(E,g.length+S),range:{start:{line:(i?.start.line||0)+T.line,character:(I.line===0&&i?.start.character||0)+T.character},end:{line:(i?.start.line||0)+I.line,character:(I.line===0&&i?.start.character||0)+I.character}}},x=[L.classList,L.range.start.line,L.range.start.character,L.range.end.line,L.range.end.character].join(":");u.has(x)||(u.add(x),H.push(L))})}),H}async function sL(e,t,n,i,o=!0,r){let c=[];return i==="css"?c=KR(e,t,n,r):(i==="html"||i==="jsx")&&(c=await vre(e,t,i,n)),Sh([...c,...o?await Tre(e,t,n):[]])}async function id(e,t){if(bl(e,t))return KR(e,t);let n=Ha(e,t);return n?Sh(fH([...await Promise.all(n.filter(i=>i.type==="html"||i.type==="jsx").map(({type:i,range:o})=>vre(e,t,i==="html"?"html":"jsx",o))),...n.filter(i=>i.type==="css").map(({range:i,lang:o})=>KR(e,t,i,o)),await Tre(e,t)])):[]}function lL(e,t){if(bl(e,t))return aL(t);let n=Ha(e,t);return n?fH(n.filter(i=>i.type==="css").map(({range:i})=>aL(t,i))):[]}function aL(e,t){let n=xs(e,"css",t),i=Sa(/\b(?<helper>config|theme|--theme|var)\(/g,n);i=i.filter(d=>{for(let h=d.index-1;h>=0;h--){let m=n[h];if(m===`
|
|
`||m===";"||m==="("||m===")")break;if(n.startsWith("@import",h))return!1}return!0});let o=[],r=44,c=47,s=92,u=40,H=41,a=34,l=39,p=n.length;for(let d of i){let h=d.index+d[0].length,m=null,g=h,y=null,_=1;for(let I=h;I<p;++I){let L=n.charCodeAt(I);if(L===s)I+=1;else if(L===l||L===a)for(;++I<p;){let x=n.charCodeAt(I);if(x===s){I+=1;continue}if(x===L)break}else if(L===u)_+=1;else if(L===H){if(_-=1,_===0){y??=I,m=I;break}}else L===r&&_===1&&(y??=I)}if(m===null)continue;let E;if(d.groups.helper==="theme"||d.groups.helper==="--theme")E="theme";else if(d.groups.helper==="var")E="var";else if(d.groups.helper==="config")E="config";else continue;let A=n.slice(g,y);g+=A.match(/^\s+/)?.length??0,y-=A.match(/\s+$/)?.length??0;let S=A.match(/^['"]+/)?.length??0,T=A.match(/['"]+$/)?.length??0;S&&T&&(g+=S,y-=T),_=1;for(let I=g;I<y;++I){let L=n.charCodeAt(I);L===s?I+=1:L===u?_+=1:L===H?_-=1:L===c&&_===1&&(y=I)}A=n.slice(g,y),g+=A.match(/^\s+/)?.length??0,y-=A.match(/\s+$/)?.length??0,A=n.slice(g,y),S=A.match(/^['"]+/)?.length??0,T=A.match(/['"]+$/)?.length??0,g+=S,y-=T,A=n.slice(g,y),o.push({helper:E,path:A,ranges:{full:Ys({start:Gn(n,h),end:Gn(n,m)},t),path:Ys({start:Gn(n,g),end:Gn(n,y)},t)}})}return o}function Gn(e,t){let{line:n,col:i}=(0,Sre.default)(e+`
|
|
`).fromIndex(t)??{line:1,col:1};return{line:n-1,character:i-1}}async function Cre(e,t,n){let i=[],o=t.offsetAt(n),r={start:t.positionAt(0),end:t.positionAt(o+15e3)};if(tm(t)){let s=Ha(e,t),u=await Promise.all(s.map(async({type:H,range:a,lang:l})=>H==="css"?await sL(e,t,a,"css",!0,l):H==="html"?await sL(e,t,a,"html"):H==="js"||H==="jsx"?await sL(e,t,a,"jsx"):[]));i=Sh(fH(u)).flatMap(H=>Ku(H,e.blocklist))}else Ho(e,t,n)?i=await em(e,t,r,"css"):_0(e,t,n)?i=await em(e,t,r,"html"):QS(e,t,n)?i=await em(e,t,r,"jsx"):i=await em(e,t,r);if(i.length===0)return null;let c=i.find(({range:s})=>su(n,s));return c||null}var zR=mr(eL()),Pre=mr(Dre());var R4e=["text/html","text/x-template","text/x-handlebars-template"],$4e=["text/babel"],bc={text:{match:/[^]/,lineBreaks:!0}},uL={main:{cssBlockStart:{match:/<style(?=[>\s])/,push:"cssBlock"},jsBlockStart:{match:"<script",push:"jsBlock"},...bc},cssBlock:{styleStart:{match:">",next:"style"},cssBlockEnd:{match:"/>",pop:1},attrStartDouble:{match:'"',push:"attrDouble"},attrStartSingle:{match:"'",push:"attrSingle"},interp:{match:"{",push:"interp"},...bc},jsBlock:{scriptStart:{match:">",next:"script"},jsBlockEnd:{match:"/>",pop:1},langAttrStartDouble:{match:'lang="',push:"langAttrDouble"},langAttrStartSingle:{match:"lang='",push:"langAttrSingle"},typeAttrStartDouble:{match:'type="',push:"typeAttrDouble"},typeAttrStartSingle:{match:"type='",push:"typeAttrSingle"},attrStartDouble:{match:'"',push:"attrDouble"},attrStartSingle:{match:"'",push:"attrSingle"},interp:{match:"{",push:"interp"},...bc},interp:{interp:{match:"{",push:"interp"},end:{match:"}",pop:1},...bc},langAttrDouble:{langAttrEnd:{match:'"',pop:1},lang:{match:/[^"]+/,lineBreaks:!0}},langAttrSingle:{langAttrEnd:{match:"'",pop:1},lang:{match:/[^']+/,lineBreaks:!0}},typeAttrDouble:{langAttrEnd:{match:'"',pop:1},type:{match:/[^"]+/,lineBreaks:!0}},typeAttrSingle:{langAttrEnd:{match:"'",pop:1},type:{match:/[^']+/,lineBreaks:!0}},attrDouble:{attrEnd:{match:'"',pop:1},...bc},attrSingle:{attrEnd:{match:"'",pop:1},...bc},style:{cssBlockEnd:{match:/<\/style\s*>/,pop:1},...bc},script:{jsBlockEnd:{match:/<\/script\s*>/,pop:1},...bc}},M4e={...uL,main:{htmlBlockStart:{match:"<template",push:"htmlBlock"},...uL.main},cssBlock:{langAttrStartDouble:{match:'lang="',push:"langAttrDouble"},langAttrStartSingle:{match:"lang='",push:"langAttrSingle"},...uL.cssBlock},htmlBlock:{htmlStart:{match:">",next:"html"},htmlBlockEnd:{match:"/>",pop:1},attrStartDouble:{match:'"',push:"attrDouble"},attrStartSingle:{match:"'",push:"attrSingle"},interp:{match:"{",push:"interp"},...bc},html:{htmlBlockEnd:{match:"</template>",pop:1},nestedBlockStart:{match:"<template",push:"nestedBlock"},...bc},nestedBlock:{nestedStart:{match:">",next:"nested"},nestedBlockEnd:{match:"/>",pop:1},...bc},nested:{nestedBlockEnd:{match:"</template>",pop:1},nestedBlockStart:{match:"<template",push:"nestedBlock"},...bc}},B4e=zR.default.states(uL),O4e=zR.default.states(M4e),cL=new Pre.default({max:25,maxAge:1e3});function Ha(e,t,n=t.getText()){let i=`${t.languageId}:${n}`,o=cL.get(i);if(o!==void 0)return o;let r=nd(e,t),c=tm(t)?"none":rm(e,t)||HL(t)?"html":r?"jsx":null;if(c===null)return cL.set(i,null),null;n=xs(n,r?"js":"html");let s=c==="none"?O4e:B4e;s.reset(n);let u=c,H=[{type:c,range:{start:{line:0,character:0},end:void 0}}],a=0;try{for(let l of s){if(!l.type.startsWith("nested"))if(l.type.endsWith("BlockStart")){let p=Gn(n,a);H[H.length-1].range.end||(H[H.length-1].range.end=p),u=l.type.replace(/BlockStart$/,""),H.push({type:u,range:{start:p,end:void 0}})}else if(l.type.endsWith("BlockEnd")){let p=Gn(n,a);H[H.length-1].range.end=p,H.push({type:c,range:{start:p,end:void 0}})}else l.type==="lang"?(H[H.length-1].type=l.text,l.text==="tsx"?(H[H.length-1].type="jsx",H[H.length-1].lang="tsx"):l.text==="ts"&&(H[H.length-1].type="js",H[H.length-1].lang="ts")):l.type==="type"&&R4e.includes(l.text)?H[H.length-1].type="html":l.type==="type"&&$4e.includes(l.text)&&(H[H.length-1].type="jsx");a+=l.text.length}}catch{return cL.set(i,null),null}H[H.length-1].range.end||(H[H.length-1].range.end=Gn(n,a)),cL.set(i,H);for(let l of H)l.type!=="css"&&JR(e,l.type)&&(l.lang=l.type,l.type="css");return H}function rm(e,t){let n=Object.keys(e.editor.userLanguages).filter(i=>XS.includes(e.editor.userLanguages[i]));return[...XS,...n].indexOf(t.languageId)!==-1}function tm(e){return e.languageId==="vue"}function HL(e){return e.languageId==="svelte"}function _0(e,t,n){let i=t.getText({start:{line:0,character:0},end:n}),o=Ha(e,t,i);return o?o[o.length-1].type==="html":!1}function F4e(e){let t=Object.keys(e.editor.userLanguages).filter(n=>ZS.includes(e.editor.userLanguages[n]));return[...ZS,...t]}function JR(e,t){return F4e(e).indexOf(t)!==-1}function bl(e,t){return JR(e,t.languageId)}function Ho(e,t,n){if(bl(e,t))return!0;if(rm(e,t)||tm(t)||HL(t)||nd(e,t)){let i=t.getText({start:{line:0,character:0},end:n}),o=Ha(e,t,i);return o?o[o.length-1].type==="css":!1}return!1}var wre=mr(Fo());function Df(e,t){let n=Array.isArray(t)?t:Uu(e,t);if(!n)return null;let i=(0,wre.default)(e.classNames.classNames,[...n,"__info"]);return Array.isArray(i)?i.map(o=>({source:o.__source,pseudo:o.__pseudo,scope:o.__scope,context:o.__context})):{source:i.__source,pseudo:i.__pseudo,scope:i.__scope,context:i.__context}}var QR=mr(Fo());function pL(e,t){return e.featureFlags.future.includes(t)?e.config.future==="all"||(0,QR.default)(e.config,["future",t],!1):e.featureFlags.experimental.includes(t)?e.config.experimental==="all"||(0,QR.default)(e.config,["experimental",t],!1):!1}function sd(e,t){if(e.jit)return{isApplyable:!0};let n=Df(e,t);if(!n)return null;if(Tn(e.version,"2.0.0-alpha.1")||pL(e,"applyComplexClasses"))return{isApplyable:!0};let i=Array.isArray(t)?t.join(e.separator):t,o;return Array.isArray(n)?o=`'@apply' cannot be used with '${i}' because it is included in multiple rulesets.`:n.source!=="utilities"?o=`'@apply' cannot be used with '${i}' because it is not a utility.`:n.context&&n.context.length>0?n.context.length===1?o=`'@apply' cannot be used with '${i}' because it is nested inside of an at-rule ('${n.context[0]}').`:o=`'@apply' cannot be used with '${i}' because it is nested inside of at-rules (${n.context.map(r=>`'${r}'`).join(", ")}).`:n.pseudo&&n.pseudo.length>0&&(n.pseudo.length===1?o=`'@apply' cannot be used with '${i}' because its definition includes a pseudo-selector ('${n.pseudo[0]}')`:o=`'@apply' cannot be used with '${i}' because its definition includes pseudo-selectors (${n.pseudo.map(r=>`'${r}'`).join(", ")}).`),o?{isApplyable:!1,reason:o}:{isApplyable:!0}}function kre(e){return e.code==="cssConflict"}function Nre(e){return e.code==="invalidApply"}function Rre(e){return e.code==="invalidScreen"}function $re(e){return e.code==="invalidVariant"}function Mre(e){return e.code==="invalidConfigPath"}function Bre(e){return e.code==="invalidTailwindDirective"}function Ore(e){return e.code==="recommendedVariantOrder"}var j4e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,U4e=/\\(\\)?/g;function dL(e){let t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(j4e,(n,i,o,r)=>{t.push(o?r.replace(U4e,"$1"):i||n)}),t}var fL=mr(jre());function Gu(e,t){return t.concat([]).sort((n,i)=>(0,fL.default)(e,n)-(0,fL.default)(e,i))[0]}function Ure(e,t){return(0,fL.default)(e,t)}function hL(e){let t=Array.from(e.theme.entries(),([i])=>i),n=e.theme.prefix?.length??0;return n>0?t.map(i=>`--${i.slice(n+3)}`):t}function qre(e){return["--breakpoint","--color","--animate","--blur","--radius","--shadow","--inset-shadow","--drop-shadow","--container","--font","--font-size","--tracking","--leading","--ease"]}var _L=mr(Fo());function Xu(e){return typeof e=="string"?e:e.reduce((t,n,i)=>i===0?n:n.includes(".")?`${t}[${n}]`:`${t}.${n}`,"")}function nm(e,t,n=[]){let i=Array.isArray(t)?t:dL(t);if(e.v4)return W4e(e,Xu(i));let o=[...n,...i],r=(0,_L.default)(e.config,o),c=[],s=e.modules?.transformThemeValue?.module??(a=>l=>l);o[0]==="theme"&&o[1]&&(r=s(o[1])(r));function u(){return yS("123456789".substr(0,i.length-1)).map(p=>p.split("").map(d=>parseInt(d,10))).map(p=>{let d=[],h=0;return p.forEach(m=>{d.push(i.slice(h,m).join(".")),h=m}),d.push(i.slice(h).join(".")),d}).slice(1).find(p=>nm(e,p,n).isValid)}if(typeof r>"u"){let a=`'${Xu(t)}' does not exist in your theme config.`,l=[...n,...i.slice(0,i.length-1)],p=(0,_L.default)(e.config,l);if(Ga(p)){let d=Gu(i[i.length-1],Object.keys(p).filter(h=>nm(e,[...l,h]).isValid));d&&(c.push(Xu([...i.slice(0,i.length-1),d])),a+=` Did you mean '${c[0]}'?`)}else{let d=u();if(d)return{isValid:!1,reason:`${a} Did you mean '${Xu(d)}'?`,suggestions:[Xu(d)]}}return{isValid:!1,reason:a,suggestions:c}}if(!(typeof r=="string"||typeof r=="number"||r instanceof String||r instanceof Number||Array.isArray(r)||typeof r=="function")){let a=`'${Xu(t)}' was found but does not resolve to a valid theme value.`;if(Ga(r)){let l=Object.keys(r).filter(p=>nm(e,[...i,p],n).isValid);l.length&&(c.push(...l.map(p=>Xu([...i,p]))),a+=` Did you mean something like '${c[0]}'?`)}return{isValid:!1,reason:a,suggestions:c}}let H=!0;for(let a=i.length-1;a>=0;a--){let l=i[a],p=(0,_L.default)(e.config,[...n,...i.slice(0,a)]);if(/^[0-9]+$/.test(l)){if(!Ga(p)&&!Array.isArray(p)){H=!1;break}}else if(!Ga(p)){H=!1;break}}if(!H){let a=`'${Xu(t)}' does not exist in your theme config.`,l=u();return l?{isValid:!1,reason:`${a} Did you mean '${Xu(l)}'?`,suggestions:[Xu(l)]}:{isValid:!1,reason:a,suggestions:[]}}return{isValid:!0,value:r}}function Wre(e,t,n){let i=n.tailwindCSS.lint.invalidConfigPath;if(i==="ignore")return[];let o=[];return lL(e,t).forEach(r=>{let c=r.helper==="theme"?["theme"]:[];if(r.helper==="var")return;let s=nm(e,r.path,c);s.isValid!==!0&&o.push({code:"invalidConfigPath",range:r.ranges.path,severity:i==="error"?1:2,message:s.reason,suggestions:s.suggestions})}),o}function q4e(e,t){let n=e.theme.prefix??null,i=n?`${n}:[--custom:theme(${t})]`:`[--custom:theme(${t})]`,[o]=e.compile([i]),r=null;return o.walkDecls(c=>{r=c.value}),r}function W4e(e,t){let n=e.designSystem.theme.prefix??null,i=q4e(e.designSystem,t);if(i!=null)return{isValid:!0,value:i};let o=t.startsWith("--")?`'${t}' does not exist in your theme.`:`'${t}' does not exist in your theme config.`,r=V4e(e,t);return r.length>0&&(o+=` Did you mean '${r[0]}'?`),{isValid:!1,reason:o,suggestions:r}}function V4e(e,t){if(!e.v4)return[];if(!t.startsWith("--"))return[];let n=t.slice(2).split("-");n[0]=`--${n[0]}`;let i=hL(e.designSystem),o=null;for(;n.length>1;){n.pop();let c=n.join("-"),s=i.filter(u=>u.startsWith(c));if(s.length!==0){o=Gu(t,s);break}}return o??=Gu(t,i),Ure(t,o)<=5?[o]:[]}var vne=mr(E0());var bL=new Uint8Array(256);function ad(e,t){let n=0,i=[],o=0,r=e.length,c=t.charCodeAt(0);for(let s=0;s<r;s++){let u=e.charCodeAt(s);if(n===0&&u===c){i.push(e.slice(o,s)),o=s+1;continue}switch(u){case 92:s+=1;break;case 39:case 34:for(;++s<r;){let H=e.charCodeAt(s);if(H===92){s+=1;continue}if(H===u)break}break;case 40:bL[n]=41,n++;break;case 91:bL[n]=93,n++;break;case 123:bL[n]=125,n++;break;case 93:case 125:case 41:n>0&&u===bL[n-1]&&n--;break}}return i.push(e.slice(o)),i}async function Cne(e,t,n){return await C7e(e,t,n)||await w7e(e,t,n)||await v7e(e,t,n)||await x7e(e,t,n)}async function v7e(e,t,n){if(!Ho(e,t,n))return null;let i=await e.editor.getConfiguration(t.uri),o=aL(t,{start:{line:n.line,character:0},end:{line:n.line+1,character:0}});for(let r of o){if(!su(n,r.ranges.path)||r.helper==="var"&&!e.v4)continue;let c=nm(e,r.path,r.helper==="theme"?["theme"]:[]),s=c.isValid?GS(c.value):null;if(s===null)return null;i.tailwindCSS.showPixelEquivalents&&(s=BH(s,i.tailwindCSS.rootFontSize));let u=["```plaintext",s,"```"];return e.v4&&r.path.startsWith("--")&&(u=["```css","@theme {",` ${r.path}: ${s};`,"}","```"]),{contents:{kind:"markdown",value:u.join(`
|
|
`)},range:r.ranges.path}}return null}async function C7e(e,t,n){let i=await Cre(e,t,n);if(i===null)return null;if(e.v4){let s=e.designSystem.compile([i.className])[0];return s.nodes.length===0?null:{contents:{language:"css",value:await U_(e,s,t.uri)},range:i.range}}if(e.jit){let{root:s,rules:u}=yl(e,[i.className]);return u.length===0?null:{contents:{language:"css",value:await U_(e,s,t.uri)},range:i.range}}let o=Uu(e,i.className);if(!o)return null;if(Ho(e,t,n)){let s=sd(e,o);if(s===null||s.isApplyable===!1)return null}let r=await e.editor.getConfiguration(t.uri),c=f0(i.className,(0,Tne.default)(e.classNames.classNames,[...o,"__info"]),r);return c?{contents:{language:"css",value:c},range:i.range}:null}function y0(e){return{kind:"markdown",value:e.join(`
|
|
`)}}async function x7e(e,t,n){if(!Ho(e,t,n))return null;let i={start:{line:n.line,character:0},end:{line:n.line+1,character:0}},o=xs(t,"css",i),c=[/@source(?:\s+not)?\s*(?<glob>'[^']+'|"[^"]+")/dg,/@source(?:\s+not)?\s*inline\((?<glob>'[^']+'|"[^"]+")/dg].flatMap(s=>Sa(s,o));for(let s of c){let u=s.groups.glob.slice(1,-1);if(!u.includes("{")||!u.includes("}"))continue;let H=Ys({start:Gn(o,s.indices.groups.glob[0]),end:Gn(o,s.indices.groups.glob[1])},i);if(!su(n,H))continue;let a=new Set(vne.default.expand(u));if(!(a.size<2))return{range:H,contents:y0(["**Expansion**","```plaintext",...Array.from(a,l=>`- ${l}`),"```"])}}return null}var D7e=/@(?<directive>theme)\s+(?<parts>[^{]+)\s*\{/dg,P7e=/@(?<directive>import)\s*[^;]+?theme\((?<parts>[^)]+)\)/dg;async function w7e(e,t,n){if(!e.v4)return null;let i={start:{line:n.line,character:0},end:{line:n.line+1,character:0}},o=xs(t,"css",i),r=[...Sa(P7e,o),...Sa(D7e,o)];for(let c of r){let s=c.groups.directive,u=c.groups.parts,H=[],a=c.indices.groups.parts[0];for(let d of ad(u," ")){let h=d.length;d=d.trim(),d!==""&&H.push({name:d,range:Ys({start:Gn(o,a),end:Gn(o,a+d.length)},i)}),a+=h+1}let l=H.find(d=>su(n,d.range));if(!l)return null;let p=k7e(s,l.name);return p?{range:l.range,contents:p}:null}return null}function k7e(e,t){return{reference:y0([e==="import"?"Don't emit CSS variables for imported theme values.":"Don't emit CSS variables for these theme values."]),inline:y0([e==="import"?"Inline imported theme values into generated utilities instead of using `var(\u2026)`.":"Inline these theme values into generated utilities instead of using `var(\u2026)`."]),static:y0([e==="import"?"Always emit imported theme values into the CSS file instead of only when used.":"Always emit these theme values into the CSS file instead of only when used."]),default:y0([e==="import"?"Allow imported theme values to be overridden by JS configs and plugins.":"Allow these theme values to be overridden by JS configs and plugins."])}[t]}var Pne=mr(E0());var N7e=["byte","kilobyte","megabyte","gigabyte","terabyte","petabyte"];function xne(e){let t=e==0?0:Math.floor(Math.log(e)/Math.log(1e3));return new Intl.NumberFormat("en",{notation:"compact",style:"unit",unit:N7e[t],unitDisplay:"narrow"}).format(e/1e3**t)}function Dne(e){let t=0;t+=1+e.length+3,t+=2;for(let[n,i]of ad(e,":").entries())t+=(n+1)*2+2+i.length+3,t+=(n+1)*2+2;return t*1.95}async function wne(e,t){return e.enabled?(await Promise.all([$7e(e,t)])).flat():[]}var R7e=/@source(?:\s+not)?\s*inline\((?<glob>'[^']+'|"[^"]+")/dg;async function $7e(e,t){if(!e.features.includes("source-inline"))return[];let n=t.getText(),i=new Intl.NumberFormat("en",{maximumFractionDigits:2}),o=[];for(let r of Sa(R7e,n)){let c=r.groups.glob.slice(1,-1),s=new Set(Pne.default.expand(c));if(s.size<2)continue;let u=Ys({start:Gn(n,r.indices.groups.glob[0]),end:Gn(n,r.indices.groups.glob[1])}),H=0;for(let a of s)H+=Dne(a);o.push({range:u,command:{title:`Generates ${i.format(s.size)} classes`,command:""}}),H>=1e6&&(o.push({range:u,command:{title:`At least ${xne(H)} of CSS`,command:""}}),o.push({range:u,command:{title:"This may slow down your bundler/browser",command:""}}))}return o}var va=mr(ew()),Vl=mr(Fo());function M7e(e){return Ga(e)&&e.raw!==void 0}function kne(e){if(!e)return;if(typeof e=="string")return`@media (min-width: ${e})`;if(M7e(e))return`@media ${e.raw}`;let t=(Array.isArray(e)?e:[e]).map(n=>[typeof n.min=="string"?`(min-width: ${n.min})`:null,typeof n.max=="string"?`(max-width: ${n.max})`:null].filter(Boolean).join(" and ")).join(", ");return t?`@media ${t}`:void 0}function AL(e){let t=0;for(let n=e.length-1;n>=0;n--){let i=e.charCodeAt(n);t+=+(i===123)-+(i===125)}return t}function Nne(e){let t=0;for(let n=e.length-1;n>=0;n--){let i=e.charCodeAt(n);t+=+(i===40)-+(i===41)}return t}var sm=mr($ne());function Mne(e,t){let n="<",i=">",o="\\",r="?",c={line:0,character:0},s=e.getText({start:{line:c.line,character:c.character},end:{line:t.start.line,character:t.start.character}});if(s.length>500&&(s=s.substr(s.length-500)),!s.trim())return!0;let u=!0,H=!1,a=s.length-1;if(s[a]===n)return!1;for(;a>=0;){let l=s[a];if(a--,!H&&/\s/.test(l)){H=!0;continue}if(l===r&&s[a]===n){a--;continue}if(/\s/.test(l)&&s[a]===n){a--;continue}if(!(l!==n&&l!==i)){if(a>=0&&s[a]===o){a--;continue}if(l===i){if(a>=0&&s[a]==="=")continue;break}if(l===n){u=!H;break}}}return u}function po(e,t){let n=typeof t=="number"?t.toString().length:8;return("0".repeat(n)+e).slice(-n)}function Ta(e,t){let n=0,i="https://tailwindcss-v0.netlify.app/docs/";Tn(e,"0.99.0")&&(n=1,i="https://v1.tailwindcss.com/docs/"),Tn(e,"1.99.0")&&(n=2,i="https://v2.tailwindcss.com/docs/"),Tn(e,"2.99.0")&&(n=3,i="https://v3.tailwindcss.com/docs/"),Tn(e,"3.99.0")&&(n=4,i="https://tailwindcss.com/docs/");let o=Array.isArray(t)?t[n]||t[t.length-1]:t;return`${i}${o}`}function g0(e,t){let n=e.variants.flatMap(s=>s.values.length?s.values.map(u=>u==="DEFAULT"?s.name:`${s.name}${s.hasDash?"-":""}${u}`):[s.name]),i=ad(t,e.separator);if(i.length<2)return{variants:[],offset:0};i=i.filter(Boolean);function o(s){if(n.includes(s))return!0;let u=`${s}${e.separator}[color:red]`;if(e.v4){if(!e.designSystem)return!1;let H=e.designSystem.theme.prefix??"";H!==""&&(u=`${H}:${u}`);let a=e.designSystem.candidatesToCss([u]);return a.length!==1?!1:a[0]!==null}return e.jit&&(s.includes("[")&&s.endsWith("]")||s.includes("/"))?yl(e,[u]).rules.length>0:!1}let r=0,c=new Set;for(let s of i){if(!o(s))break;c.add(s),r+=s.length+e.separator.length}return{variants:Array.from(c),offset:r}}var B7e=["js","cjs","mjs","(?<!d.)ts","(?<!d.)mts","(?<!d.)cts"],O7e=["html","pug","gjs","gts","astro","cjs","(?<!d.)cts","jade","js","jsx","mjs","(?<!d.)mts","svelte","(?<!d.)ts","tsx","vue","md","mdx","aspx","razor","handlebars","hbs","mustache","php","twig","erb","haml","liquid","rb","rhtml","slim","eex","heex","njk","nunjucks","py","tpl","rs"],Bne=new RegExp(`\\.(${B7e.join("|")})$`),One=new RegExp(`\\.(${O7e.join("|")})$`);var F7e=/@(?<directive>config|plugin|source)(?<not>\s+not)?\s*(?<partial>'[^']*|"[^"]*)$/,j7e=/@(?<directive>config)\s*(?<partial>'[^']*|"[^"]*)$/,U7e=/@(?<directive>(?:import|reference))\s*(?<path>'[^']*'|"[^"]*")\s*(layer\([^)]+\)\s*)?source\((?<partial>'[^']*|"[^"]*)$/,q7e=/@(?<directive>tailwind)\s+utilities\s+source\((?<partial>'[^']*|"[^"]*)?$/;async function Fne(e,t){if(e.v4){let c=t.match(F7e)??t.match(U7e)??t.match(q7e);if(!c)return null;let s=c.groups.not!==void 0&&c.groups.not.length>0,u=c.groups.directive,H=c.groups.partial?.slice(1)??"",a="script";if(u==="source")a="source";else if(u==="import"||u==="tailwind"){if(s)return null;a="directory"}return{directive:u,partial:H,suggest:a}}let n=t.match(j7e);if(!n||n.groups.not!==void 0&&n.groups.not.length>0)return null;let o=n.groups.directive,r=n.groups.partial.slice(1);return{directive:o,partial:r,suggest:"script"}}var W7e=e=>Array.isArray(e.__info)?e.__info.some(t=>t.__source==="utilities"):e.__info.__source==="utilities";function IL(e,t,n,i,o,r){let c=t.split(/[\s+]/),s=c[c.length-1],u=e.separator,H=s.split(u),a,l=[],p=!1,d={...n,start:{...n.start,character:n.end.character-s.length}};if(e.v4){let S=function(T){return{kind:9,data:{...e.completionItemData??{},_type:"variant"},command:T.insertTextFormat===2?void 0:{title:"",command:"editor.action.triggerSuggest"},sortText:"-"+po(A++),...T}},h=e.designSystem.theme.prefix??"",{variants:m,offset:g}=g0(e,s);if(r&&(r.triggerKind===1||r.triggerKind===2&&r.triggerCharacter==="/")&&s.includes("/")){let T,I=s.split("/").slice(0,-1).join("/"),L=I.slice(g);if(T=e.classList.find(x=>Array.isArray(x)&&x[0]===L)?.[1]?.modifiers??[],T.length>0)return ro({isIncomplete:!1,items:T.map((x,C)=>{let D=`${I}/${x}`,O=va.CompletionItemKind.Constant,j,k=gc(e,D);return k!==null&&(O=va.CompletionItemKind.Color,typeof k!="string"&&(k.alpha??1)!==0&&(j=iu(k))),{label:D,...j?{documentation:j}:{},kind:O,sortText:po(C)}})},{range:d,data:e.completionItemData},e.editor.capabilities.itemDefaults)}d.start.character+=g;let y=s.substr(g).endsWith("!");y&&(d.end.character-=1);let _=[],E=new Set,A=0;for(let T of e.variants)if(!m.includes(T.name)&&!E.has(T.name)){if(E.add(T.name),T.isArbitrary)_.push(S({label:`${T.name}${T.hasDash?"-":""}[]${u}`,insertTextFormat:2,textEditText:`${T.name}${T.hasDash?"-":""}[\${1}]${u}\${0}`}));else{let I=[...m,T.name],L=[];try{L=T.selectors()}catch(x){console.log("Error while trying to get selectors for variant"),console.log({variant:T,err:x});continue}_.push(S({label:`${T.name}${u}`,detail:L.map(x=>Q9(x)).join(", "),textEditText:I[I.length-1]+u}))}for(let I of T.values??[]){if(m.includes(`${T.name}-${I}`)||E.has(`${T.name}-${I}`))continue;E.add(`${T.name}-${I}`);let L=[];try{L=T.selectors({value:I})}catch(x){console.log("Error while trying to get selectors for variant"),console.log({variant:T,err:x})}L.length!==0&&_.push(S({label:I==="DEFAULT"?`${T.name}${u}`:`${T.name}${T.hasDash?"-":""}${I}${u}`,detail:L.join(", ")}))}}return h.length>0&&(m.length===0&&(_=_.map((T,I)=>(I===0||(T.label=`${h}:${T.label}`,T.textEditText&&(T.textEditText=`${h}:${T.textEditText}`)),T))),m.length>0&&m[0]!==h)?null:ro({isIncomplete:!1,items:_.concat(e.classList.reduce((T,[I,{color:L}],x)=>{if(e.blocklist?.includes([...m,I].join(e.separator)))return T;let C=L?va.CompletionItemKind.Color:va.CompletionItemKind.Constant,D;return L&&typeof L!="string"&&(D=iu(L)),h.length>0&&m.length===0&&(I=`${h}:${I}`),T.push({label:I,kind:C,...D?{documentation:D}:{},sortText:po(x,e.classList.length)}),T},[]))},{data:{...e.completionItemData??{},...y?{important:y}:{},variants:m},range:d},e.editor.capabilities.itemDefaults)}if(e.jit){let{variants:h,offset:m}=g0(e,s);if(r&&(r.triggerKind===1||r.triggerKind===2&&r.triggerCharacter==="/")&&s.includes("/")){let E,A=s.split("/").slice(0,-1).join("/");if(e.classListContainsMetadata){let S=A.slice(m);E=e.classList.find(T=>Array.isArray(T)&&T[0]===S)?.[1]?.modifiers}else{let S=A+"/[0]",{rules:T}=yl(e,[S]);if(T.length>0){let I=(0,Vl.default)(e.config,"theme.opacity",{});Ga(I)||(I={}),E=Object.keys(I)}}if(E)return ro({isIncomplete:!1,items:E.map((S,T)=>{let I=`${A}/${S}`,L=va.CompletionItemKind.Constant,x,C=gc(e,I);return C!==null&&(L=va.CompletionItemKind.Color,typeof C!="string"&&(C.alpha??1)!==0&&(x=iu(C))),{label:I,...x?{documentation:x}:{},kind:L,sortText:po(T)}})},{range:d,data:e.completionItemData},e.editor.capabilities.itemDefaults)}d.start.character+=m;let g=s.substr(m).startsWith("!");g&&(d.start.character+=1);let y=[],_=new Set;if(!g){let A=function(S){return{kind:9,data:{...e.completionItemData??{},_type:"variant"},command:S.insertTextFormat===2?void 0:{title:"",command:"editor.action.triggerSuggest"},sortText:"-"+po(E++),...S}},E=0;for(let S of e.variants)if(!h.includes(S.name)&&!_.has(S.name)){if(_.add(S.name),S.isArbitrary)y.push(A({label:`${S.name}${S.hasDash?"-":""}[]${u}`,insertTextFormat:2,textEditText:`${S.name}${S.hasDash?"-":""}[\${1}]${u}\${0}`}));else{let T=!Tn(e.version,"2.99.0"),I=[...h,S.name];if(T){let L=e.variants.map(({name:x})=>x);I=I.sort((x,C)=>L.indexOf(C)-L.indexOf(x))}y.push(A({label:`${S.name}${u}`,detail:S.selectors().map(L=>Q9(L)).join(", "),textEditText:I[I.length-1]+u,additionalTextEdits:T&&I.length>1?[{newText:I.slice(0,I.length-1).join(u)+u,range:{start:{...n.start,character:n.end.character-s.length},end:{...d.start,character:d.start.character}}}]:[]}))}for(let T of S.values??[])h.includes(`${S.name}-${T}`)||_.has(`${S.name}-${T}`)||(_.add(`${S.name}-${T}`),y.push(A({label:T==="DEFAULT"?`${S.name}${u}`:`${S.name}${S.hasDash?"-":""}${T}${u}`,detail:S.selectors({value:T}).join(", ")})))}}return e.classList?ro({isIncomplete:!1,items:y.concat(e.classList.reduce((E,[A,{color:S}],T)=>{if(e.blocklist?.includes([...h,A].join(e.separator)))return E;let I=S?va.CompletionItemKind.Color:va.CompletionItemKind.Constant,L;return S&&typeof S!="string"&&(L=iu(S)),E.push({label:A,kind:I,...L?{documentation:L}:{},sortText:po(T,e.classList.length)}),E},[]))},{data:{...e.completionItemData??{},...g?{important:g}:{},variants:h},range:d},e.editor.capabilities.itemDefaults):ro({isIncomplete:!1,items:y.concat(Object.keys(e.classNames.classNames).filter(E=>{let A=e.classNames.classNames[E];return h.length===0?A.__info:A.__info&&W7e(A)}).map((E,A,S)=>{let T=va.CompletionItemKind.Constant,I,L=gc(e,E);return L!==null&&(T=va.CompletionItemKind.Color,typeof L!="string"&&(L.alpha??1)!==0&&(I=iu(L))),{label:E,kind:T,...I?{documentation:I}:{},sortText:po(A,S.length)}})).filter(E=>!(E===null||o&&!o(E)))},{range:d,data:{...e.completionItemData??{},variants:h,...g?{important:g}:{}}},e.editor.capabilities.itemDefaults)}for(let h=H.length-1;h>0;h--){let m=H.slice(0,h).filter(Boolean);if(a=(0,Vl.default)(e.classNames.classNames,m),typeof a<"u"&&typeof(0,Vl.default)(a,["__info","__rule"])>"u"){p=!0,l=m,d={...d,start:{...d.start,character:d.start.character+m.join(u).length+u.length}};break}}return ro({isIncomplete:!1,items:Object.keys(p?a:e.classNames.classNames).filter(h=>h!=="__info").filter(h=>pje(e,[...l,h])).map((h,m,g)=>({label:h+u,kind:9,command:{title:"",command:"editor.action.triggerSuggest"},sortText:"-"+po(m,g.length),data:{...e.completionItemData??{},className:h,variants:l}})).concat(Object.keys(p?a:e.classNames.classNames).filter(h=>(0,Vl.default)(e.classNames.classNames,[...l,h,"__info"])).map((h,m,g)=>{let y=va.CompletionItemKind.Constant,_,E=gc(e,h);return E!==null&&(y=va.CompletionItemKind.Color,typeof E!="string"&&(E.alpha??1)!==0&&(_=iu(E))),{label:h,kind:y,..._?{documentation:_}:{},sortText:po(m,g.length)}})).filter(h=>!(h===null||o&&!o(h)))},{range:d,data:{...e.completionItemData??{},variants:l}},e.editor.capabilities.itemDefaults)}async function V7e(e,t,n,i){let o=t.offsetAt(n),r={start:t.positionAt(Math.max(0,o-15e3)),end:n},c;nd(e,t)?c=xs(t,"js",r):rm(e,t)?c=xs(t,"html",r):c=t.getText(r);let s=(await e.editor.getConfiguration(t.uri)).tailwindCSS,u=GR(c,s.classAttributes),H=Ha(e,t);for(let p of H??[]){if(!(p.type==="js"||p.type==="jsx")||!s.classFunctions?.length||!su(n,p.range))continue;let h=t.getText(p.range),m=t.offsetAt(p.range.start),g=XR(h,s.classFunctions);for(let y of g)y.index&&(y.index+=m),!(y.index>o)&&u.push(y)}if(u.sort((p,d)=>p.index-d.index),u.length===0)return null;let a=u[u.length-1],l=a[0][0]===":"||a[1].startsWith("[")&&a[1].endsWith("]")?rL():tL();l.reset(c.substr(a.index+a[0].length-1));try{let p=Array.from(l),d=p[p.length-1];if(d.type.startsWith("start")||d.type==="classlist"||d.type.startsWith("arb")){let h="";for(let m=p.length-1;m>=0&&(p[m].type==="classlist"||p[m].type.startsWith("arb"));m--)h=p[m].value+h;return IL(e,h,{start:{line:n.line,character:n.character-h.length},end:n},s.rootFontSize,void 0,i)}}catch{}return null}async function K7e(e,t,n,i){let o=await e.editor.getConfiguration(t.uri),r=o.tailwindCSS.experimental.classRegex;if(r.length===0)return null;let c=t.offsetAt(n),s=t.getText({start:t.positionAt(0),end:t.positionAt(c+15e3)});for(let u of iL({text:s,cursor:c,filters:r}))return IL(e,u.classList,{start:{line:n.line,character:n.character-u.classList.length},end:n},o.tailwindCSS.rootFontSize,void 0,i);return null}function G7e(e,t,n,i){if(!e.v4||!Ho(e,t,n))return null;let o=xs(t,"css",{start:{line:0,character:0},end:n});if(!o.endsWith("-"))return null;let r=o.lastIndexOf("@theme");if(r===-1||AL(o.slice(r))!==1)return null;let c=[{kind:"variable",name:"--default-transition-duration"},{kind:"variable",name:"--default-transition-timing-function"},{kind:"variable",name:"--default-font-family"},{kind:"variable",name:"--default-font-feature-settings"},{kind:"variable",name:"--default-font-variation-settings"},{kind:"variable",name:"--default-mono-font-family"},{kind:"variable",name:"--default-mono-font-feature-settings"},{kind:"variable",name:"--default-mono-font-variation-settings"},{kind:"namespace",name:"--breakpoint"},{kind:"namespace",name:"--color"},{kind:"namespace",name:"--animate"},{kind:"namespace",name:"--blur"},{kind:"namespace",name:"--radius"},{kind:"namespace",name:"--shadow"},{kind:"namespace",name:"--inset-shadow"},{kind:"namespace",name:"--drop-shadow"},{kind:"namespace",name:"--spacing"},{kind:"namespace",name:"--width"},{kind:"namespace",name:"--font-family"},{kind:"namespace",name:"--font-size"},{kind:"namespace",name:"--letter-spacing"},{kind:"namespace",name:"--line-height"},{kind:"namespace",name:"--transition-timing-function"}];Tn(e.version,"4.0.0-beta.1")&&(c=[{kind:"variable",name:"--default-transition-duration"},{kind:"variable",name:"--default-transition-timing-function"},{kind:"variable",name:"--default-font-family"},{kind:"variable",name:"--default-font-feature-settings"},{kind:"variable",name:"--default-font-variation-settings"},{kind:"variable",name:"--default-mono-font-family"},{kind:"variable",name:"--default-mono-font-feature-settings"},{kind:"variable",name:"--default-mono-font-variation-settings"},{kind:"namespace",name:"--breakpoint"},{kind:"namespace",name:"--color"},{kind:"namespace",name:"--animate"},{kind:"namespace",name:"--blur"},{kind:"namespace",name:"--radius"},{kind:"namespace",name:"--shadow"},{kind:"namespace",name:"--inset-shadow"},{kind:"namespace",name:"--drop-shadow"},{kind:"variable",name:"--spacing"},{kind:"namespace",name:"--container"},{kind:"namespace",name:"--font"},{kind:"namespace",name:"--text"},{kind:"namespace",name:"--tracking"},{kind:"namespace",name:"--leading"},{kind:"namespace",name:"--ease"}]);let s=[];for(let u of c)s.push({label:u.kind==="namespace"?`${u.name}-`:u.name,kind:va.CompletionItemKind.Variable});return ro({isIncomplete:!1,items:s},{data:{...e.completionItemData??{}}},e.editor.capabilities.itemDefaults)}async function X7e(e,t,n,i){let o=(await e.editor.getConfiguration(t.uri)).tailwindCSS,r=t.getText({start:{line:Math.max(n.line-30,0),character:0},end:n}),c=Lre(/@apply\s+(?<classList>[^;}]*)$/gi,r);if(c===null)return null;let s=c.groups.classList;return IL(e,s,{start:{line:n.line,character:n.character-s.length},end:n},o.rootFontSize,u=>{if(u.kind===9)return Tn(e.version,"2.0.0-alpha.1")||pL(e,"applyComplexClasses");let H=u.data?.variants??[],a=u.data?.className??u.label,l=sd(e,[...H,a]);return l!==null&&l.isApplyable===!0},i)}var Z7e=/^(\d+\.?|\d*\.\d+)$/;function jne(e){return Z7e.test(e)}async function z7e(e,t,n,i){return Ho(e,t,n)?X7e(e,t,n,i):_0(e,t,n)||QS(e,t,n)||WR(e,t,n)?V7e(e,t,n,i):null}function J7e(e,t,n){if(!Ho(e,t,n))return null;let i=t.getText({start:{line:n.line,character:0},end:{line:n.line,character:n.character+1}}),o=i.substr(0,i.length-1).match(/[\s:;/*(){}](?<helper>config|theme|--theme|var)\(\s*['"]?(?<path>[^)'"]*)$/d);if(o===null)return null;let r,c=o.groups.path.replace(/^['"]+/g,""),s=c.match(/^([^\s]+)(?![^\[]*\])(?:\s*\/\s*([^\/\s]*))$/);if(s&&(c=s[1],r=s[2]),r!==void 0)return null;let u={start:{line:n.line,character:n.character},end:n};if(e.v4&&(o.groups.helper==="--theme"||o.groups.helper==="theme"||o.groups.helper==="var")){let y=_je(e);return u.start.character=o.indices.groups.helper[1]+1,ro({isIncomplete:!1,items:y},{range:u,data:{...e.completionItemData??{},_type:"helper"}},e.editor.capabilities.itemDefaults)}if(o.groups.helper==="var")return null;let H=o.groups.helper==="config"?e.config:(0,Vl.default)(e.config,"theme",{}),a=c.split(/([\[\].]+)/),l=a.filter((y,_)=>_%2===0),p=a.filter((y,_)=>_%2!==0);function d(y){return y.reduce((_,E)=>_+E.length,0)}let h,m=l[l.length-1].length,g=p.length?p[p.length-1]:null;if(l.length===1)h=H;else for(let y=l.length-1;y>0;y--){let _=(0,Vl.default)(H,l.slice(0,y));if(Ga(_)){h=_,m=d(a.slice(y*2)),g=p[y-1];break}}return h?(u.start.character=n.character-m,ro({isIncomplete:!1,items:Object.keys(h).sort((y,_)=>{let E=jne(y),A=jne(_);return E&&!A?-1:!E&&A?1:E&&A?parseFloat(y)-parseFloat(_):0}).map((y,_,E)=>{let A=xf(h[y]),S=y.indexOf(".")!==-1&&g&&g.endsWith("."),T=i.charAt(i.length-1)!=="]"&&(S||g&&g.endsWith("[")),I=GS(h[y]);return{label:y,sortText:po(_,E.length),commitCharacters:[!y.includes(".")&&".",!y.includes("[")&&"["].filter(Boolean),kind:A?16:Ga(h[y])?9:10,detail:I==="0"||I==="transparent"?`${I} `:I,...A&&typeof A!="string"&&(A.alpha??1)!==0?{documentation:iu(A)}:{},...T?{textEditText:`${y}]`}:{},additionalTextEdits:S?[{newText:"[",range:{start:{...u.start,character:u.start.character-1},end:u.start}}]:[]}})},{range:u,data:{...e.completionItemData??{},_type:"helper"}},e.editor.capabilities.itemDefaults)):null}function Une(e,t,n){if(!Ho(e,t,n)||!qne("utility",t,n))return null;let i=t.getText({start:{line:0,character:0},end:n}),o=i.lastIndexOf("@utility");if(o===-1)return null;let r=i.indexOf("{",o);if(r===-1)return null;let c=i.slice(o+8,r).trim();return c.length===0?null:c.endsWith("-*")?(c=c.slice(0,-2),c.length===0?null:{root:c,kind:"functional"}):{root:c,kind:"static"}}function Q7e(e,t,n){if(!Une(e,t,n))return null;let o=t.getText({start:{line:n.line,character:0},end:n});return/^[^:]+:[^;]*$/.test(o)?ro({isIncomplete:!1,items:[{label:"--value()",textEditText:"--value($1)",sortText:"-00000",insertTextFormat:va.InsertTextFormat.Snippet,kind:va.CompletionItemKind.Function,documentation:{kind:"markdown",value:"Reference a value based on the name of the utility. e.g. the `md` in `text-md`"},command:{command:"editor.action.triggerSuggest",title:""}},{label:"--modifier()",textEditText:"--modifier($1)",sortText:"-00001",insertTextFormat:va.InsertTextFormat.Snippet,kind:va.CompletionItemKind.Function,documentation:{kind:"markdown",value:"Reference a value based on the utility's modifier. e.g. the `6` in `text-md/6`"}}]},{data:{...e.completionItemData??{}},range:{start:n,end:n}},e.editor.capabilities.itemDefaults):null}async function Y7e(e,t,n){let i=Une(e,t,n);if(!i)return null;let o=t.getText({start:{line:n.line,character:0},end:n}),r=null,c=0,s=o.lastIndexOf("--value("),u=o.lastIndexOf("--modifier("),H=Math.max(s,u);if(H===-1||(H===s?r="--value":H===u&&(r="--modifier"),c=H+r.length+1,Nne(o.slice(H))===0))return null;let a=Array.from(await hje(e,r)),l=ad(o.slice(c),",").map(d=>d.trim());if(l.at(-1)!=="")return null;a=a.filter(d=>!l.includes(d.name));let p=a.map((d,h)=>({label:d.name,insertText:d.name,kind:va.CompletionItemKind.Constant,sortText:po(h,a.length),documentation:{kind:"markdown",value:d.description.replace(/\{utility\}-/g,`${i.root}-`)}}));return ro({isIncomplete:!0,items:p},{data:{...e.completionItemData??{}},range:{start:n,end:n}},e.editor.capabilities.itemDefaults)}function eje(e,t,n){if(!Ho(e,t,n))return null;let o=t.getText({start:{line:n.line,character:0},end:n}).match(/^\s*@tailwind\s+(?<partial>[^\s]*)$/i);if(o===null)return null;let r=[Tn(e.version,"1.0.0-beta.1")?{label:"base",documentation:{kind:"markdown",value:`This injects Tailwind\u2019s base styles and any base styles registered by plugins.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/#tailwind")})`}}:{label:"preflight",documentation:{kind:"markdown",value:`This injects Tailwind\u2019s base styles, which is a combination of Normalize.css and some additional base styles.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/#tailwind")})`}},{label:"components",documentation:{kind:"markdown",value:`This injects Tailwind\u2019s component classes and any component classes registered by plugins.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/#tailwind")})`}},{label:"utilities",documentation:{kind:"markdown",value:`This injects Tailwind\u2019s utility classes and any utility classes registered by plugins.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/#tailwind")})`}},e.jit&&Tn(e.version,"2.1.99")?{label:"variants",documentation:{kind:"markdown",value:`Use this directive to control where Tailwind injects the utility variants.
|
|
|
|
This directive is considered an advanced escape hatch and it is recommended to omit it whenever possible. If omitted, Tailwind will append these classes to the very end of your stylesheet by default.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"just-in-time-mode#variants-are-inserted-at-tailwind-variants")})`}}:{label:"screens",documentation:{kind:"markdown",value:`Use this directive to control where Tailwind injects the responsive variations of each utility.
|
|
|
|
If omitted, Tailwind will append these classes to the very end of your stylesheet by default.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/#tailwind")})`}}];return ro({isIncomplete:!1,items:r.map(c=>({...c,kind:21}))},{data:{...e.completionItemData??{},_type:"@tailwind"},range:{start:{line:n.line,character:n.character-o.groups.partial.length},end:n}},e.editor.capabilities.itemDefaults)}function tje(e,t,n){if(!Ho(e,t,n)||Tn(e.version,"2.99.0"))return null;let o=t.getText({start:{line:n.line,character:0},end:n}).match(/^\s*@variants\s+(?<partial>[^}]*)$/i);if(o===null)return null;let r=o.groups.partial.split(/\s*,\s*/);if(/\s+/.test(r[r.length-1]))return null;let c=e.variants.flatMap(u=>u.values.length?u.values.map(H=>H==="DEFAULT"?u.name:`${u.name}${u.hasDash?"-":""}${H}`):[u.name]),s=r.slice(0,r.length-1);return e.jit&&(c.unshift("responsive"),c=c.filter(u=>!e.screens.includes(u))),ro({isIncomplete:!1,items:c.filter(u=>s.indexOf(u)===-1).map((u,H,a)=>({label:u,kind:21,sortText:po(H,a.length)}))},{data:{...e.completionItemData??{},_type:"variant"},range:{start:{line:n.line,character:n.character-r[r.length-1].length},end:n}},e.editor.capabilities.itemDefaults)}function rje(e,t,n){if(!e.v4||!Ho(e,t,n))return null;let o=t.getText({start:{line:n.line,character:0},end:n}).match(/^\s*@variant\s+(?<partial>[^}]*)$/i);if(o===null)return null;let r=o.groups.partial.trim();if(/\s/.test(r)||/:/.test(r))return null;let c=e.variants.flatMap(s=>s.values.length?s.values.map(u=>u==="DEFAULT"?s.name:`${s.name}${s.hasDash?"-":""}${u}`):[s.name]);return ro({isIncomplete:!1,items:c.map((s,u,H)=>({label:s,kind:21,sortText:po(u,H.length)}))},{data:{...e.completionItemData??{},_type:"variant"},range:{start:{line:n.line,character:n.character},end:n}},e.editor.capabilities.itemDefaults)}function nje(e,t,n){if(!Ho(e,t,n))return null;let o=t.getText({start:{line:n.line,character:0},end:n}).match(/^\s*@layer\s+(?<partial>[^\s]*)$/i);if(o===null)return null;let r=["base","components","utilities"];return e.v4&&(r=["theme","base","components","utilities"]),ro({isIncomplete:!1,items:r.map((c,s,u)=>({label:c,kind:21,sortText:po(s,u.length)}))},{data:{...e.completionItemData??{},_type:"layer"},range:{start:{line:n.line,character:n.character-o.groups.partial.length},end:n}},e.editor.capabilities.itemDefaults)}function ro(e,t,n){let i=n.includes("data"),o=n.includes("editRange");return{...e,...i||o?{itemDefaults:{...i&&t.data?{data:t.data}:{},...o&&t.range?{editRange:t.range}:{}}}:{},items:i&&o?e.items:e.items.map(({textEditText:r,...c})=>({...c,...i||!t.data||c.data?{}:{data:t.data},...o||!t.range?r?{textEditText:r}:{}:{textEdit:{newText:r??c.label,range:t.range}}}))}}function ije(e,t,n){if(!Ho(e,t,n))return null;let o=t.getText({start:{line:n.line,character:0},end:n}).match(/^\s*@screen\s+(?<partial>[^\s]*)$/i);if(o===null)return null;let r=(0,Vl.default)(e.config,["screens"],(0,Vl.default)(e.config,["theme","screens"],{}));return Ga(r)?ro({isIncomplete:!1,items:Object.keys(r).map((c,s)=>({label:c,kind:21,sortText:po(s)}))},{data:{...e.completionItemData??{},_type:"screen"},range:{start:{line:n.line,character:n.character-o.groups.partial.length},end:n}},e.editor.capabilities.itemDefaults):null}function sje(e,t,n){if(!Ho(e,t,n))return null;let o=t.getText({start:{line:n.line,character:0},end:n}).match(/^\s*@(?<partial>[a-z]*)$/i);if(o===null)return null;let r=aje(t,n),c=[];return e.v4||c.push({label:"@tailwind",documentation:{kind:"markdown",value:`Use the \`@tailwind\` directive to insert Tailwind\u2019s \`base\`, \`components\`, \`utilities\` and \`${e.jit&&Tn(e.version,"2.1.99")?"variants":"screens"}\` styles into your CSS.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/#tailwind")})`}}),e.v4||c.push({label:"@screen",documentation:{kind:"markdown",value:`The \`@screen\` directive allows you to create media queries that reference your breakpoints by name instead of duplicating their values in your own CSS.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/#screen")})`}}),r&&c.push({label:"@apply",documentation:{kind:"markdown",value:`Use \`@apply\` to inline any existing utility classes into your own custom CSS.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/#apply")})`}}),Tn(e.version,"1.8.0")&&c.push({label:"@layer",documentation:{kind:"markdown",value:`Use the \`@layer\` directive to tell Tailwind which "bucket" a set of custom styles belong to. Valid layers are \`base\`, \`components\`, and \`utilities\`.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/#layer")})`}}),Tn(e.version,"2.99.0")||(c.push({label:"@variants",documentation:{kind:"markdown",value:`You can generate \`responsive\`, \`hover\`, \`focus\`, \`active\`, and other variants of your own utilities by wrapping their definitions in the \`@variants\` directive.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/#variants")})`}}),c.push({label:"@responsive",documentation:{kind:"markdown",value:`You can generate responsive variants of your own classes by wrapping their definitions in the \`@responsive\` directive.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/#responsive")})`}})),Tn(e.version,"3.2.0")&&!r&&c.push({label:"@config",documentation:{kind:"markdown",value:`Use the \`@config\` directive to specify which config file Tailwind should use when compiling that CSS file.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/#config")})`}}),e.v4&&!r&&(c.push({label:"@theme",documentation:{kind:"markdown",value:`Use the \`@theme\` directive to specify which config file Tailwind should use when compiling that CSS file.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/#config")})`}}),c.push({label:"@utility",documentation:{kind:"markdown",value:`Use the \`@utility\` directive to define a custom utility.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/#utility")})`}}),c.push({label:"@custom-variant",documentation:{kind:"markdown",value:`Use the \`@custom-variant\` directive to define a custom variant or override an existing one.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/#custom-variant")})`}}),c.push({label:"@source",documentation:{kind:"markdown",value:`Use the \`@source\` directive to scan additional files for classes.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/#source")})`}}),e.features.includes("source-not")&&c.push({label:"@source not",documentation:{kind:"markdown",value:`Use the \`@source not\` directive to ignore files when scanning.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/#source")})`}}),c.push({label:"@plugin",documentation:{kind:"markdown",value:`Use the \`@plugin\` directive to include a JS plugin in your Tailwind CSS build.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/#source")})`}})),e.v4&&r&&(c.push({label:"@variant",documentation:{kind:"markdown",value:`Use the \`@variant\` directive to use a variant in CSS.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/variant")})`}}),qne("custom-variant",t,n)&&c.push({label:"@slot",documentation:{kind:"markdown",value:`Use the \`@slot\` directive to define where rules go in a custom variant.
|
|
|
|
[Tailwind CSS Documentation](${Ta(e.version,"functions-and-directives/#slot")})`},sortText:"-0000000"})),ro({isIncomplete:!1,items:c.map(s=>({...s,kind:14}))},{data:{...e.completionItemData??{},_type:"directive"},range:{start:{line:n.line,character:n.character-o.groups.partial.length-1},end:n}},e.editor.capabilities.itemDefaults)}function qne(e,t,n){let i=t.getText({start:{line:0,character:0},end:n}),o=i.lastIndexOf(`@${e}`);return o===-1?!1:AL(i.slice(o))>0}function aje(e,t){let n=e.getText({start:{line:0,character:0},end:t});return AL(n)>0}var oje=/@(?<directive>theme)\s+(?:(?<parts>[^{]+)\s$|$)/,lje=/@(?<directive>import)\s*[^;]+?theme\((?:(?<parts>[^)]+)\s$|$)/;async function cje(e,t,n){if(!e.v4)return null;let i=t.getText({start:{line:n.line,character:0},end:n}),o=i.match(oje)??i.match(lje);if(!o)return null;let r=o.groups.directive,c=new Set((o.groups.parts??"").trim().split(/\s+/).map(u=>u.trim()).filter(u=>u!=="")),s=[{label:"reference",documentation:{kind:"markdown",value:r==="import"?"Don't emit CSS variables for imported theme values.":"Don't emit CSS variables for these theme values."},sortText:"-000000"},{label:"inline",documentation:{kind:"markdown",value:r==="import"?"Inline imported theme values into generated utilities instead of using `var(\u2026)`.":"Inline these theme values into generated utilities instead of using `var(\u2026)`."},sortText:"-000001"},{label:"static",documentation:{kind:"markdown",value:r==="import"?"Always emit imported theme values into the CSS file instead of only when used.":"Always emit these theme values into the CSS file instead of only when used."},sortText:"-000001"},{label:"default",documentation:{kind:"markdown",value:r==="import"?"Allow imported theme values to be overriden by JS configs and plugins.":"Allow these theme values to be overriden by JS configs and plugins."},sortText:"-000003"}];return s=s.filter(u=>!c.has(u.label)),s.length===0?null:ro({isIncomplete:!1,items:s},{data:{...e.completionItemData??{},_type:"filesystem"},range:{start:{line:n.line,character:n.character},end:n}},e.editor.capabilities.itemDefaults)}async function uje(e,t,n){if(!Ho(e,t,n)||!Tn(e.version,"3.2.0"))return null;let i=t.getText({start:{line:n.line,character:0},end:n}),o=await Fne(e,i);if(!o)return null;let{partial:r,suggest:c}=o;function s(p){return c==="script"?Bne.test(p):c==="source"?One.test(p):!1}let u=r.substring(0,r.lastIndexOf("/")),H=r.substring(r.lastIndexOf("/")+1),a=await e.editor.readDirectory(t,u||".");a=a.filter(([p,d])=>d.isDirectory||s(p));let l=a.map(([p,d])=>({label:d.isDirectory?p+"/":p,kind:d.isDirectory?19:17,command:d.isDirectory?{command:"editor.action.triggerSuggest",title:""}:void 0}));return ro({isIncomplete:!1,items:l},{data:{...e.completionItemData??{},_type:"filesystem"},range:{start:{line:n.line,character:n.character-H.length},end:n}},e.editor.capabilities.itemDefaults)}async function Hje(e,t,n){let i=await e.editor.getConfiguration(t.uri);if(i.tailwindCSS.emmetCompletions!==!0)return null;let o=!nd(e,t)&&_0(e,t,n),r=nd(e,t)||WR(e,t,n),c=o?"html":r?"jsx":null;if(c===null)return null;let s=sm.extractAbbreviation(t,n,!0);if(!s||!sm.isAbbreviationValid(c,s.abbreviation)||!Mne(t,s.abbreviationRange))return null;if(r){let a=s.abbreviation;if(a.startsWith("this."))return null;let l=await e.editor.getDocumentSymbols(t.uri);if(l&&l.find(p=>a===p.name||a.startsWith(p.name+".")&&!/>|\*|\+/.test(a)))return null}let u=sm.doComplete(t,n,c,{});if(!u||!u.items||u.items.length!==1||u.items[0].label==="widows: ;")return null;let H=u.items[0].label.split(".");return H.length<2?null:IL(e,H[H.length-1],{start:{line:n.line,character:n.character-H[H.length-1].length},end:n},i.tailwindCSS.rootFontSize)}async function Wne(e,t,n,i){if(e===null)return{items:[],isIncomplete:!1};let o=await z7e(e,t,n,i)||await cje(e,t,n)||await Y7e(e,t,n)||Q7e(e,t,n)||J7e(e,t,n)||sje(e,t,n)||ije(e,t,n)||rje(e,t,n)||tje(e,t,n)||eje(e,t,n)||nje(e,t,n)||await uje(e,t,n)||await K7e(e,t,n,i)||G7e(e,t,n,i);return o||Hje(e,t,n)}async function Vne(e,t){if(["helper","directive","variant","layer","@tailwind","filesystem"].includes(t.data?._type))return t;if(t.data?._type==="screen"){let r=(0,Vl.default)(e.config,["theme","screens"],(0,Vl.default)(e.config,["screens"],{}));return Ga(r)||(r={}),t.detail=kne(r[t.label]),t}let n=t.data?.className??t.label;t.data?.important&&(n=`!${n}`);let i=t.data?.variants??[];if(e.v4){if(t.kind===9||t.detail&&t.documentation)return t;let r=e.designSystem.compile([n])[0],s=e.designSystem.compile([[...i,n].join(e.separator)])[0].nodes.filter(u=>u.type==="rule");if(s.length===0)return t;if(!t.detail)if(s.length===1){let a=function(l){return!(l.prop==="--tw-leading"||l.prop==="--tw-duration"||l.prop==="--tw-ease"||l.prop==="--tw-font-weight"||l.prop==="--tw-gradient-via-stops"||l.prop==="--tw-gradient-stops"||l.prop==="--tw-tracking"||l.prop==="--tw-space-x-reverse"&&l.value==="0"||l.prop==="--tw-space-y-reverse"&&l.value==="0"||l.prop==="--tw-divide-x-reverse"&&l.value==="0"||l.prop==="--tw-divide-y-reverse"&&l.value==="0")},u=[];r=r.clone(),r.walkAtRules(l=>{l.name==="property"&&l.remove(),l.name==="supports"&&l.params==="(-moz-orient: inline)"&&l.remove(),l.name==="supports"&&l.params==="(background-image: linear-gradient(in lab, red, red))"&&l.remove()});let H=new Set(["var(--tw-border-style)","var(--tw-outline-style)","var(--tw-translate-x) var(--tw-translate-y)","var(--tw-translate-x) var(--tw-translate-y) var(--tw-translate-z)","var(--tw-scale-x) var(--tw-scale-y)","var(--tw-scale-x) var(--tw-scale-y) var(--tw-scale-z)"]);r.walkDecls(l=>{H.has(l.value)||u.push(l)}),u.some(a)&&(u=u.filter(a)),t.detail=await Y2(e,sre({selectors:[],nodes:u}))}else t.detail=`${s.length} rules`;return t.documentation||(t.documentation={kind:"markdown",value:["```css",await U_(e,are({nodes:s})),"```"].join(`
|
|
`)}),t}if(e.jit){if(t.kind===9||t.detail&&t.documentation)return t;let{root:r,rules:c}=yl(e,[[...i,n].join(e.separator)]);return c.length===0||(t.detail||(c.length===1?t.detail=await Y2(e,c[0]):t.detail=`${c.length} rules`),t.documentation||(t.documentation={kind:"markdown",value:["```css",await U_(e,r),"```"].join(`
|
|
`)})),t}let o=(0,Vl.default)(e.classNames.classNames,[...i,n,"__info"]);if(t.kind===9)t.detail=e.classNames.context[n].join(", ");else if(t.detail=await fje(e,o),!t.documentation){let r=await e.editor.getConfiguration(),c=f0([...i,n].join(":"),o,r);c&&(t.documentation={kind:"markdown",value:["```css",c,"```"].join(`
|
|
`)})}return t}function pje(e,t){let n=(0,Vl.default)(e.classNames.classNames,t);return!Ga(n)||!e.classNames.context[t[t.length-1]]?!1:Object.keys(n).filter(i=>i!=="__info").length>0?!0:Ga(n.__info)&&!n.__info.__rule}function dje(e,t){let n=Object.keys(e),i=n.filter(o=>!o.startsWith("--"));return n.length!==i.length&&i.length!==0&&(n=i),n.map(o=>yp(e[o]).map(r=>(t.tailwindCSS.showPixelEquivalents&&(r=BH(r,t.tailwindCSS.rootFontSize)),`${o}: ${r};`)).join(" ")).join(" ")}async function fje(e,t){if(Array.isArray(t))return`${t.length} rules`;if(t.__rule===!0){let n=await e.editor.getConfiguration();return dje(pc(t),n)}return null}async function hje(e,t){if(!e.designSystem)return[];let n=[],i=qre(e.designSystem);for(let o of i)n.push({name:`${o}-*`,description:`Support theme values from \`${o}-*\``});return n.push({name:"integer",description:"Support integer values, e.g. `{utility}-6`"}),n.push({name:"number",description:"Support numeric values in increments of 0.25, e.g. `{utility}-6` and `{utility}-7.25`"}),n.push({name:"percentage",description:"Support integer percentage values, e.g. `{utility}-50%` and `{utility}-21%`"}),t==="--value"&&n.push({name:"ratio",description:"Support fractions, e.g. `{utility}-1/5` and `{utility}-16/9`"}),n.push({name:"[integer]",description:"Support arbitrary integer values, e.g. `{utility}-[123]`"}),n.push({name:"[number]",description:"Support arbitrary numeric values, e.g. `{utility}-[10]` and `{utility}-[10.234]`"}),n.push({name:"[percentage]",description:"Support arbitrary percentage values, e.g. `{utility}-[10%]` and `{utility}-[10.234%]`"}),n.push({name:"[ratio]",description:"Support arbitrary fractions, e.g. `{utility}-[1/5]` and `{utility}-[16/9]`"}),n.push({name:"[color]",description:"Support arbitrary color values, e.g. `{utility}-[#639]` and `{utility}-[oklch(44.03% 0.1603 303.37)]`"}),n.push({name:"[angle]",description:"Support arbitrary angle, e.g. `{utility}-[12deg]` and `{utility}-[0.21rad]`"}),n.push({name:"[url]",description:"Support arbitrary URL functions, e.g. `{utility}-['url(\u2026)']`"}),n}function _je(e){if(!e.v4||!e.designSystem)return null;let t=hL(e.designSystem);return t.map((n,i)=>{let o=e.designSystem.resolveThemeValue(n,!0),r,c=xf(o);return c!==null?(typeof c!="string"&&(c.alpha??1)!==0&&(r=iu(c)),{label:n,kind:va.CompletionItemKind.Color,sortText:po(i,t.length),detail:o,documentation:r}):{label:n,kind:va.CompletionItemKind.Variable,sortText:po(i,t.length),detail:o}})}function am(e){return e.reduce((t,n,i)=>i===0?n:e.length>1&&i===e.length-1?`${t} and ${n}`:`${t}, ${n}`,"")}var Kne=mr(Fo());function i$(e,t){let n=Uu(e,t);if(!n)return null;let i=(0,Kne.default)(e.classNames.classNames,[...n,"__info"]);return Array.isArray(i)?i.map(pc):pc(i)}function mje(e){return e.type==="atrule"}function Gne(e){let t=e.parent;return t?!!(mje(t)&&t.name==="keyframes"):!1}function Xne(e){let t=[];return e.walkDecls(({prop:n})=>{t.push(n)}),t}async function Zne(e,t,n){let i=n.tailwindCSS.lint.cssConflict;if(i==="ignore")return[];let o=[];return(await id(e,t)).forEach(c=>{let s=Ku(c,e.blocklist);if(e.v4){let u=Eje(e,s);for(let[H,a]of yje(s,u))o.push({code:"cssConflict",className:H,otherClassNames:a,range:H.range,severity:i==="error"?1:2,message:`'${H.className}' applies the same CSS properties as ${am(a.map(l=>`'${l.className}'`))}.`,relatedInformation:a.map(l=>({message:l.className,location:{uri:t.uri,range:l.range}}))});return}s.forEach((u,H)=>{if(e.jit){let{rules:m}=yl(e,[u.className],E=>!Gne(E));if(m.length===0)return;let g=m.map(E=>{let A=Xne(E);return{context:eR(e,E,u.className),properties:A}}),_=s.filter((E,A)=>A!==H).filter(E=>{let{rules:A}=yl(e,[E.className],T=>!Gne(T));if(A.length!==m.length)return!1;let S=!1;for(let T=0;T<A.length;T++){let I=A[T],L=Xne(I);if(g[T].properties.length>0&&L.length>0&&(S=!0),!wl(g[T].properties,L))return!1;let x=eR(e,I,E.className);if(!wl(g[T].context,x))return!1}return!!S});if(_.length===0)return;o.push({code:"cssConflict",className:u,otherClassNames:_,range:u.range,severity:i==="error"?1:2,message:`'${u.className}' applies the same CSS properties as ${am(_.map(E=>`'${E.className}'`))}.`,relatedInformation:_.map(E=>({message:E.className,location:{uri:t.uri,range:E.range}}))});return}let a=i$(e,u.className);if(!a)return;let l=Object.keys(a),p=Df(e,u.className),h=s.filter((m,g)=>g!==H).filter(m=>{let g=i$(e,m.className);if(!g)return!1;let y=Df(e,m.className);return wl(l,Object.keys(g))&&!Array.isArray(p)&&!Array.isArray(y)&&wl(p.context,y.context)&&wl(p.pseudo,y.pseudo)&&p.scope===y.scope});h.length!==0&&o.push({code:"cssConflict",className:u,otherClassNames:h,range:u.range,severity:i==="error"?1:2,message:`'${u.className}' applies the same CSS ${l.length===1?"property":"properties"} as ${am(h.map(m=>`'${m.className}'`))}.`,relatedInformation:h.map(m=>({message:m.className,location:{uri:t.uri,range:m.range}}))})})}),o}function zne(e,t,n=[]){for(let i of e)n=[...n,i],t(i,n),"nodes"in i&&i.nodes&&i.nodes.length>0&&zne(i.nodes,t,n)}function Eje(e,t){let n={},i=e.designSystem.compile(t.map(o=>o.className));for(let[o,r]of i.entries()){let{className:c}=t[o];zne([r],(s,u)=>{if(s.type!=="rule"&&s.type!=="atrule")return;let H=[];for(let a of s.nodes??[])a.type==="decl"&&H.push(a.prop);H.length!==0&&(n[c]??=[],n[c].push({properties:H,context:u.map(a=>a.type==="rule"?a.selector:a.type==="atrule"?`@${a.name} ${a.params}`:"").filter(Boolean).slice(1)}))})}return n}function*yje(e,t){for(let n of e){let i=t[n.className]??[],o=[];for(let r of e){if(n===r)continue;let c=t[r.className]??[];if(i.length!==c.length)continue;let s=!1;for(let u=0;u<i.length;u++){let H=i[u],a=c[u];if(H.properties.length!==a.properties.length){s=!1;break}if(H.context.length!==a.context.length){s=!1;break}if(!wl(H.properties,a.properties)){s=!1;break}if(!wl(H.context,a.context)){s=!1;break}H.properties.length===0&&a.properties.length===0||(s=!0)}s&&o.push(r)}o.length!==0&&(yield[n,o])}}async function Jne(e,t,n){let i=n.tailwindCSS.lint.invalidApply;return i==="ignore"?[]:(await em(e,t,void 0,"css",!1)).map(c=>{let s=sd(e,c.className);return s===null||s.isApplyable===!0?null:{code:"invalidApply",severity:i==="error"?1:2,range:c.range,message:s.reason,className:c}}).filter(Boolean)}function Qne(e,t,n){let i=n.tailwindCSS.lint.invalidScreen;if(i==="ignore")return[];let o=[],r=[];if(bl(e,t))r.push(void 0);else{let c=Ha(e,t);if(!c)return[];r.push(...c.filter(s=>s.type==="css").map(({range:s})=>s))}return r.forEach(c=>{let s=xs(t,"css",c);Sa(/(?:\s|^)@screen\s+(?<screen>[^\s{]+)/g,s).forEach(H=>{if(e.screens.includes(H.groups.screen))return null;let a=`The screen '${H.groups.screen}' does not exist in your theme config.`,l=[],p=Gu(H.groups.screen,e.screens);p&&(l.push(p),a+=` Did you mean '${p}'?`),o.push({code:"invalidScreen",range:Ys({start:Gn(s,H.index+H[0].length-H.groups.screen.length),end:Gn(s,H.index+H[0].length)},c),severity:i==="error"?1:2,message:a,suggestions:l})})}),o}function Yne(e,t,n){let i=n.tailwindCSS.lint.invalidVariant;if(i==="ignore")return[];if(Tn(e.version,"2.99.0"))return[];let o=[],r=[];if(bl(e,t))r.push(void 0);else{let s=Ha(e,t);if(!s)return[];r.push(...s.filter(u=>u.type==="css").map(({range:u})=>u))}let c=e.variants.flatMap(s=>s.values.length?s.values.map(u=>u==="DEFAULT"?s.name:`${s.name}${s.hasDash?"-":""}${u}`):[s.name]);return e.jit&&(c.unshift("responsive"),c=c.filter(s=>!e.screens.includes(s))),r.forEach(s=>{let u=xs(t,"css",s);Sa(/(?:\s|^)@variants\s+(?<variants>[^{]+)/g,u).forEach(a=>{let l=a.groups.variants.split(/(\s*,\s*)/),p=a.index+a[0].length-a.groups.variants.length;for(let d=0;d<l.length;d+=2){let h=l[d].trim();if(c.includes(h))continue;let m=`The variant '${h}' does not exist.`,g=[],y=Gu(h,c);y&&(g.push(y),m+=` Did you mean '${y}'?`);let _=p+l.slice(0,d).join("").length;o.push({code:"invalidVariant",range:Ys({start:Gn(u,_),end:Gn(u,_+h.length)},s),severity:i==="error"?1:2,message:m,suggestions:g})}})}),o}function eie(e,t,n){let i=n.tailwindCSS.lint.invalidTailwindDirective;if(i==="ignore")return[];let o=[],r=[];if(bl(e,t))r.push(void 0);else{let s=Ha(e,t);if(!s)return[];r.push(...s.filter(u=>u.type==="css").map(({range:u})=>u))}let c;return JS(t.languageId,e.editor?.userLanguages)?c=/(?:\s|^)@tailwind\s+(?<value>[^\r\n]+)/g:c=/(?:\s|^)@tailwind\s+(?<value>[^;]+)/g,r.forEach(s=>{let u=xs(t,"css",s);Sa(c,u).forEach(a=>{let l=a.groups.value,p=gje(e,l);if(!p)return;let{message:d,suggestions:h}=p;o.push({code:"invalidTailwindDirective",range:Ys({start:Gn(u,a.index+a[0].length-l.length),end:Gn(u,a.index+a[0].length)},s),severity:i==="error"?1:2,message:d,suggestions:h})})}),o}function gje(e,t){if(e.v4){if(t==="utilities")return null;if(t==="base"||t==="preflight")return{message:`'@tailwind ${t}' is no longer available in v4. Use '@import "tailwindcss/preflight"' instead.`,suggestions:[]};if(t==="components"||t==="screens"||t==="variants")return{message:`'@tailwind ${t}' is no longer available in v4. Use '@tailwind utilities' instead.`,suggestions:["utilities"]};let s=t.split(/\s+/);return s[0]==="utilities"&&s[1]?.startsWith("source(")?null:{message:`'${t}' is not a valid value.`,suggestions:[]}}let n=["utilities","components","screens"];Tn(e.version,"1.0.0-beta.1")?n.push("base"):n.push("preflight");let i=e.jit&&Tn(e.version,"2.1.99");if(i&&n.push("variants"),n.includes(t))return null;let o=n;i&&(o=o.filter(s=>s!=="screens"));let r=`'${t}' is not a valid value.`,c=[];if(t==="preflight")c.push("base"),r+=" Did you mean 'base'?";else{let s=Gu(t,o);s&&(c.push(s),r+=` Did you mean '${s}'?`)}return{message:r,suggestions:c}}async function tie(e,t,n){if(e.v4)return[];if(!e.jit)return[];if(Tn(e.version,"2.99.0"))return[];let i=n.tailwindCSS.lint.recommendedVariantOrder;if(i==="ignore")return[];let o=[];return(await id(e,t)).forEach(c=>{Ku(c,e.blocklist).forEach(u=>{let{rules:H}=yl(e,[u.className]);if(H.length===0)return;let a=e.jitContext.variantOrder??e.jitContext.offsets.variantOffsets,{variants:l,offset:p}=g0(e,u.className),d=[...l].sort((h,m)=>j_(a.get(m)-a.get(h)));N7(l,d)||o.push({code:"recommendedVariantOrder",suggestions:[[...d,u.className.substr(p)].join(e.separator)],range:u.range,severity:i==="error"?1:2,message:"Variants are not in the recommended order, which may cause unexpected CSS output."})})}),o}function*SL(e,t){if(bl(e,t))yield{document:t,range:void 0,lang:t.languageId,get text(){return xs(t,"css")}};else{let n=Ha(e,t);if(!n)return[];for(let i of n)i.type==="css"&&(yield{document:t,range:i.range,lang:i.lang??t.languageId,get text(){return xs(t,"css",i.range)}})}}var bje=/(?:\s|^)@(?<directive>(?:import|reference))\s*(?<path>'[^']*'|"[^"]*")\s*(layer\([^)]+\)\s*)?source\((?<source>'[^']*'?|"[^"]*"?|[a-z]*|\)|;)/dg,Aje=/(?:\s|^)@(?<directive>tailwind)\s+(?<layer>\S+)\s+source\((?<source>'[^']*'?|"[^"]*"?|[a-z]*|\)|;)/dg,Ije=/(?:\s|^)@(?<directive>source)\s*(?<not>not)?\s*(?<source>'[^']*'?|"[^"]*"?|[a-z]*(?:\([^)]+\))?|\)|;)/dg,Sje=/^[A-Z]:/;function rie(e,t,n){let i=n.tailwindCSS.lint.invalidSourceDirective;if(i==="ignore")return[];let o=[];function r(c){o.push({code:"invalidSourceDirective",severity:i==="error"?1:2,...c})}for(let c of SL(e,t)){let s=c.text,u=[...Sa(bje,s),...Sa(Aje,s),...Sa(Ije,s)];for(let H of u){let a=H.groups.directive,l=H.groups.source?.trim()??"",p=l,d=H.indices.groups.source,h=!1;if((l.startsWith("'")||l.startsWith('"'))&&(l=l.slice(1),h=!0),(l.endsWith("'")||l.endsWith('"'))&&(l=l.slice(0,-1),h=!0),l=l.trim(),l===""||l===")"||l===";"){let m={start:Gn(s,d[0]),end:Gn(s,d[1])};r({message:"The source directive requires a path to a directory.",range:Ys(m,c.range)})}else if(a!=="source"&&l!=="none"&&!h){let m={start:Gn(s,d[0]),end:Gn(s,d[1])};r({message:`\`source(${l})\` is invalid. Did you mean \`source(none)\`?`,range:Ys(m,c.range)})}else if(l.includes("\\")||Sje.test(l)){l=l.replaceAll("\\\\","\\");let m={start:Gn(s,d[0]),end:Gn(s,d[1])};r({message:`POSIX-style paths are required with \`source(\u2026)\` but \`${l}\` is a Windows-style path.`,range:Ys(m,c.range)})}else if(a==="source"&&l==="none"){let m={start:Gn(s,d[0]),end:Gn(s,d[1])};r({message:"`@source none;` is not valid. Did you mean to use `source(none)` on an `@import`?",range:Ys(m,c.range)})}else if(!(a==="source"&&l.startsWith("inline("))){if(a==="source"&&l!=="none"&&!h){let m={start:Gn(s,d[0]),end:Gn(s,d[1])};r({message:`\`@source ${p};\` is invalid.`,range:Ys(m,c.range)})}}}}return o}async function nie(e,t,n){if(!e.v4)return[];if(!e.blocklist?.length)return[];let i=n.tailwindCSS.lint.usedBlocklistedClass;if(i==="ignore")return[];let o=new Set(e.blocklist??[]),r=[],c=await id(e,t);for(let s of c){let u=Ku(s,[]);for(let H of u)o.has(H.className)&&r.push({code:"usedBlocklistedClass",range:H.range,severity:i==="error"?1:2,message:`The class "${H.className}" will not be generated as it has been blocklisted`})}return r}async function LL(e,t,n=["cssConflict","invalidApply","invalidScreen","invalidVariant","invalidConfigPath","invalidTailwindDirective","invalidSourceDirective","recommendedVariantOrder","usedBlocklistedClass"]){let i=await e.editor.getConfiguration(t.uri);return i.tailwindCSS.validate?[...n.includes("cssConflict")?await Zne(e,t,i):[],...n.includes("invalidApply")?await Jne(e,t,i):[],...n.includes("invalidScreen")?Qne(e,t,i):[],...n.includes("invalidVariant")?Yne(e,t,i):[],...n.includes("invalidConfigPath")?Wre(e,t,i):[],...n.includes("invalidTailwindDirective")?eie(e,t,i):[],...n.includes("invalidSourceDirective")?rie(e,t,i):[],...n.includes("recommendedVariantOrder")?await tie(e,t,i):[],...n.includes("usedBlocklistedClass")?await nie(e,t,i):[]]:[]}var sie=mr(bH()),aie=mr(require("node:path"));var iie=mr(ny());function TL(e){return iie.URI.parse(e).fsPath}async function KH(e,t,n=TL(t.uri)){let i=await e.editor.getConfiguration(t.uri);n=As(n),n=zi(n);for(let o of i.tailwindCSS.files.exclude)if(o=aie.join(e.editor.folder,o),o=As(o),o=zi(o),(0,sie.default)(o)(n))return!0;return!1}async function s$(e,t){await KH(e,t)?Lje(e,t):e.editor?.connection.sendDiagnostics({uri:t.uri,diagnostics:await LL(e,t)})}function Lje(e,t){e.editor?.connection.sendDiagnostics({uri:t.uri,diagnostics:[]})}var oie=mr(qR());function vL(e,t){let n=yp(t),i=(0,oie.default)(e+`
|
|
`,{origin:0}),o=[];n.forEach(s=>{let u=i.toIndex(s.start.line,s.start.character),H=i.toIndex(s.end.line,s.end.character);for(let a=u-1;a>=0&&/\s/.test(e.charAt(a));a--)u=a;o.push({start:u,end:H})}),o.sort((s,u)=>s.start-u.start);let r="",c=0;return o.forEach(s=>{r+=e.substring(c,s.start),c=s.end}),r+=e.substring(c),r.trim()}async function lie(e,t,n){return[{title:`Delete ${am(n.otherClassNames.map(i=>`'${i.className}'`))}`,kind:"quickfix",diagnostics:[n],edit:{changes:{[t.textDocument.uri]:[{range:n.className.classList.range,newText:vL(n.className.classList.classList,n.otherClassNames.map(i=>i.relativeRange))}]}}}]}var _ie=mr(Fo());var mie=mr(uie());var Hie=/\s*!important\s*$/i,Cje={"box-flex":!0,"box-flex-group":!0,"column-count":!0,flex:!0,"flex-grow":!0,"flex-positive":!0,"flex-shrink":!0,"flex-negative":!0,"font-weight":!0,"line-clamp":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"tab-size":!0,widows:!0,"z-index":!0,zoom:!0,"fill-opacity":!0,"stroke-dashoffset":!0,"stroke-opacity":!0,"stroke-width":!0};function xje(e){return e.replace(/([A-Z])/g,"-$1").replace(/^ms-/,"-ms-").toLowerCase()}function pie(e,t,n,i){n===!1||n===null||(t=xje(t),typeof n=="number"&&(n===0||Cje[t]?n=n.toString():n=n.toString()+"px"),t==="css-float"&&(t="float"),Hie.test(n)?(n=n.replace(Hie,""),e.push(i.decl({prop:t,value:n,important:!0}))):e.push(i.decl({prop:t,value:n})))}function die(e,t,n,i){var o=i.atRule({name:t[1],params:t[3]||""});typeof n=="object"&&(o.nodes=[],a$(n,o,i)),e.push(o)}function a$(e,t,n){var i,o,r,c;for(i in e)if(e.hasOwnProperty(i)){if(o=e[i],o===null||typeof o>"u")continue;if(i[0]==="@"){var s=i.match(/@([^\s]+)(\s+([\w\W]*)\s*)?/);if(Array.isArray(o))for(c=0;c<o.length;c++)die(t,s,o[c],n);else die(t,s,o,n)}else if(Array.isArray(o))for(c=0;c<o.length;c++)pie(t,i,o[c],n);else typeof o=="object"?(r=n.rule({selector:i}),a$(o,r,n),t.push(r)):pie(t,i,o,n)}}function fie(e,t){var n=t.root();return a$(e,n,t),n}var o$=mr(vI());async function Eie(e,t,n){if(!t)return[];let i=xs(t,"css"),o,r=i,{postcss:c}=e.modules,s=[],u=n.className.classList.classList.split(/\s+/).length,H=n.className.className,a=Uu(e,H),l=(0,_ie.default)(e.classNames.classNames,a);if(Array.isArray(l))return[];if(!bl(e,t)){let p=Ha(e,t);if(!p)return[];if(o=p.filter(d=>d.type==="css").find(({range:d})=>su(n.range.start,d))?.range,!o)return[];r=xs(t,"css",o)}try{await c.module([c.module.plugin("",(p={})=>d=>{d.walkRules(h=>{if(s.length)return!1;h.walkAtRules("apply",m=>{let g=hie(m.source);if(o&&(g=Ys(g,o)),!su(n.range.start,g))return;let y=Dje(e,a,h.selector,n.className.classList.important);if(!y)return!1;h.after(y.nodes);let _=h.next();if(!_)return!1;u===1?m.remove():s.push({range:n.className.classList.range,newText:vL(n.className.classList.classList,n.className.relativeRange)});let E=hie(h.source);o&&(E=Ys(E,o));let A,S=(0,mie.default)(r);return s.push({range:E,newText:h.toString()+(_.raws.before||`
|
|
|
|
`)+_.toString().replace(/\n\s*\n/g,`
|
|
`).replace(/(@apply [^;\n]+)$/gm,"$1;").replace(/([^\s^]){$/gm,"$1 {").replace(/^\s+/gm,T=>(typeof A>"u"&&(A=T),T.replace(new RegExp(A,"g"),S.indent))).replace(/^(\s+)(.*?[^{}]\n)([^\s}])/gm,"$1$2$1$3")}),!1})})})]).process(r,{from:void 0})}catch{return[]}return s.length?[{title:"Extract to new rule",kind:"quickfix",diagnostics:[n],edit:{changes:{[t.uri]:s}}}]:[]}function hie(e){return{start:{line:e.start.line-1,character:e.start.column-1},end:{line:e.end.line-1,character:e.end.column}}}function Dje(e,t,n,i=!1){let o=t[t.length-1],r=sd(e,[o]);if(r===null||r.isApplyable===!1)return null;let c=Df(e,t);if(Array.isArray(c))return null;let s=c.context,u=c.pseudo,H=e.classNames.context,a=[];for(let d=0;d<t.length-1;d++){let h=t[d],m=H[h];if(!m)return null;e.screens.includes(h)&&(a.push(`@screen ${h}`),s=s.filter(g=>!m.includes(g)))}a.push(...s);let l={};for(let d=1;d<=a.length;d++)$l(l,a.slice(0,d),{});if(n=Pje(n,u),n===null)return null;let p={[n]:{[`@apply ${o}${i?" !important":""}`]:""}};return a.length?$l(l,a,p):l=p,fie(l,e.modules.postcss.module)}function Pje(e,t){if(t.length===0)return e;let n=!0,i=(0,o$.default)(o=>{fH(o.split(r=>!0)).forEach(r=>{for(let c=r.nodes.length-1;c>=0&&r.nodes[c].type==="pseudo";c--)if(t.includes(r.nodes[c].value)){n=!1;break}n&&t.forEach(c=>{r.append(o$.default.pseudo({value:c}))})})}).processSync(e);return n?i:null}function yie(e,t,n){return n.suggestions.map(i=>({title:`Replace with '${i}'`,kind:"quickfix",diagnostics:[n],edit:{changes:{[t.textDocument.uri]:[{range:n.range,newText:i}]}}}))}async function wje(e,t,n,i){if(!n)return[];let o=await LL(e,n,i);return t.context.diagnostics.map(r=>o.find(c=>c.code===r.code&&c.message===r.message&&ob(c.range,r.range))).filter(Boolean)}async function gie(e,t,n){if(!e.enabled)return[];let i=await wje(e,t,n,t.context.diagnostics.map(o=>o.code).filter(Boolean));return Promise.all(i.map(o=>Nre(o)?Eie(e,n,o):kre(o)?lie(e,t,o):Mre(o)||Bre(o)||Rre(o)||$re(o)||Ore(o)?yie(e,t,o):[])).then(fH).then(o=>k7(o,r=>JSON.stringify(r.edit)))}var bie=mr(Fo());async function Aie(e,t){let n=[];return!e.enabled||(await e.editor.getConfiguration(t.uri)).tailwindCSS.colorDecorators===!1?n:((await id(e,t)).forEach(c=>{Ku(c,e.blocklist).forEach(u=>{let H=gc(e,u.className);H===null||typeof H=="string"||(H.alpha??1)===0||n.push({range:u.range,color:FR(H)})})}),lL(e,t).forEach(c=>{let s=dL(c.path),u=c.helper==="theme"?["theme"]:[],H=(0,bie.default)(e.config,[...u,...s]),a=xf(H);a&&typeof a!="string"&&(a.alpha??1)!==0&&n.push({range:c.ranges.path,color:FR(a)})}),Sh(n))}var kje=/^[A-Z]:/;function Iie(e,t,n){let i=[/@config\s*(?<path>'[^']+'|"[^"]+")/g];return e.v4&&i.push(/@plugin\s*(?<path>'[^']+'|"[^"]+")/g,/@source(?:\s+not)?\s*(?<path>'[^']+'|"[^"]+")/g,/@import\s*('[^']*'|"[^"]*")\s*(layer\([^)]+\)\s*)?source\((?<path>'[^']*'?|"[^"]*"?)/g,/@reference\s*('[^']*'|"[^"]*")\s*source\((?<path>'[^']*'?|"[^"]*"?)/g,/@tailwind\s*utilities\s*source\((?<path>'[^']*'?|"[^"]*"?)/g),Nje(e,t,i,n)}async function Nje(e,t,n,i){if(!Tn(e.version,"3.2.0"))return[];let o=[];for(let r of SL(e,t)){let c=r.text,s=[];for(let u of n)s.push(...Sa(u,c));for(let u of s){let H=u.groups.path.slice(1,-1);if(H.includes("*")||H.includes("{")||H.includes("}")||H.includes("\\")||kje.test(H))continue;let a={start:Gn(c,u.index+u[0].length-u.groups.path.length),end:Gn(c,u.index+u[0].length)};o.push({target:await i(H),range:Ys(a,r.range)})}}return o}var Jme=mr(Lie());var kf=mr(require("node:fs")),od=mr(require("node:path"));var Rje=[".js",".cjs",".mjs"],$je=["",".js",".cjs",".mjs",".ts",".cts",".mts",".jsx",".tsx"],Mje=["",".ts",".cts",".mts",".tsx",".js",".cjs",".mjs",".jsx"];function Bje(e,t){for(let n of t){let i=`${e}${n}`;if(kf.existsSync(i)&&kf.statSync(i).isFile())return i}for(let n of t){let i=`${e}/index${n}`;if(kf.existsSync(i))return i}return null}function*Tie(e,t,n,i=od.extname(e)){let o=Bje(od.resolve(t,e),Rje.includes(i)?$je:Mje);if(o===null||n.has(o))return;n.add(o),yield o,t=od.dirname(o),i=od.extname(o);let r=kf.readFileSync(o,"utf-8");for(let c of[...r.matchAll(/import[\s\S]*?['"](.{3,}?)['"]/gi),...r.matchAll(/import[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi),...r.matchAll(/require\(['"`](.+)['"`]\)/gi)])c[1].startsWith(".")&&(yield*Tie(c[1],t,n,i))}function CL(e){return Array.from(Tie(e,od.dirname(e),new Set)).filter(t=>t!==e).map(t=>zi(As(t)))}var qg=mr(require("node:assert"));var Qme=mr(tR());var Pa=mr(require("node:path")),jg=mr(require("node:fs/promises"));var Hd=mr(require("path"),1),nse=mr(tse(),1),g$=mr(bH(),1),UL=mr(bH(),1),ZUe=/^(\/?\.\.)+$/;function zUe(e,t){let n=e.length,i=Array(n),o=Array(n);for(let r=0;r<n;r++){let c=ise(e[r]);i[r]=c;let s=c.length,u=Array(s);for(let H=0;H<s;H++)u[H]=UL.default.makeRe(c[H],t);o[r]=u}return r=>{let c=r.split("/");if(c[0]===".."&&ZUe.test(r))return!0;for(let s=0;s<e.length;s++){let u=i[s],H=o[s],a=c.length,l=Math.min(a,u.length),p=0;for(;p<l;){let d=u[p];if(d.includes("/"))return!0;if(!H[p].test(c[p]))break;if(d==="**")return!0;p++}if(p===a)return!0}return!1}}var JUe={parts:!0};function ise(e){var t;let n=UL.default.scan(e,JUe);return(t=n.parts)!=null&&t.length?n.parts:[e]}var QUe=process.platform==="win32";var YUe=/(?<!\\)([()[\]{}*?|]|^!|[!+@](?=\()|\\(?![()[\]{}!*+?@|]))/g,e6e=/(?<!\\)([()[\]{}]|^!|[!+@](?=\())/g,t6e=e=>e.replace(YUe,"\\$&"),r6e=e=>e.replace(e6e,"\\$&"),n6e=QUe?r6e:t6e;function i6e(e,t){if(t?.caseSensitiveMatch===!1)return!0;let n=UL.default.scan(e);return n.isGlob||n.negated}function um(...e){console.log(`[tinyglobby ${new Date().toLocaleTimeString("es")}]`,...e)}var s6e=/^(\/?\.\.)+/,a6e=/\\(?=[()[\]{}!*+?@|])/g,b$=/\\/g;function y$(e,t,n,i,o){var r;let c=e;e.endsWith("/")&&(c=e.slice(0,-1)),!c.endsWith("*")&&t&&(c+="/**"),Hd.default.isAbsolute(c.replace(a6e,""))?c=Hd.posix.relative(n6e(n),c):c=Hd.posix.normalize(c);let s=s6e.exec(c);if(s?.[0]){let u=Hd.posix.join(n,s[0]);i.root.length>u.length&&(i.root=u,i.depthOffset=-(s[0].length+1)/3)}else if(!o&&i.depthOffset>=0){let u=ise(c);(r=i.commonPath)!=null||(i.commonPath=u);let H=[],a=Math.min(i.commonPath.length,u.length);for(let l=0;l<a;l++){let p=u[l];if(p==="**"&&!u[l+1]){H.pop();break}if(p!==i.commonPath[l]||i6e(p)||l===u.length-1)break;H.push(p)}i.depthOffset=H.length,i.commonPath=H,i.root=H.length>0?`${n}/${H.join("/")}`:n}return c}function o6e({patterns:e,ignore:t=[],expandDirectories:n=!0},i,o){typeof e=="string"?e=[e]:e||(e=["**/*"]),typeof t=="string"&&(t=[t]);let r=[],c=[];for(let s of t)s&&(s[0]!=="!"||s[1]==="(")&&c.push(y$(s,n,i,o,!0));for(let s of e)s&&(s[0]!=="!"||s[1]==="("?r.push(y$(s,n,i,o,!1)):(s[1]!=="!"||s[2]==="(")&&c.push(y$(s.slice(1),n,i,o,!0)));return{match:r,ignore:c}}function sse(e,t,n){return Hd.posix.relative(t,`${n}/${e}`)||"."}function jL(e,t,n,i,o){let r=o?e.slice(n.length+1)||".":e;return n===t?i&&r!=="."?r.slice(0,-1):r:sse(r,t,n)}function rse(e,t,n){for(let i=e.length-1;i>=0;i--){let o=e[i];e[i]=sse(o,t,n)+(!o||o.endsWith("/")?"/":"")}return e}function l6e(e,t,n){if(process.env.TINYGLOBBY_DEBUG&&(e.debug=!0),e.debug&&um("globbing with options:",e,"cwd:",t),Array.isArray(e.patterns)&&e.patterns.length===0)return n?[]:Promise.resolve([]);let i={root:t,commonPath:null,depthOffset:0},o=o6e(e,t,i),r=e.caseSensitiveMatch===!1;e.debug&&um("internal processing patterns:",o);let c=(0,g$.default)(o.match,{dot:e.dot,nocase:r,ignore:o.ignore}),s=(0,g$.default)(o.ignore,{dot:e.dot,nocase:r}),u=zUe(o.match,{dot:e.dot,nocase:r}),H={filters:[e.debug?(p,d)=>{let h=jL(p,t,i.root,d,e.absolute),m=c(h);return m&&um(`matched ${h}`),m}:(p,d)=>c(jL(p,t,i.root,d,e.absolute))],exclude:e.debug?(p,d)=>{let h=jL(d,t,i.root,!0,!0),m=h!=="."&&!u(h)||s(h);return um(m?`skipped ${d}`:`crawling ${d}`),m}:(p,d)=>{let h=jL(d,t,i.root,!0,!0);return h!=="."&&!u(h)||s(h)},pathSeparator:"/",relativePaths:!0,resolveSymlinks:!0};e.deep&&(H.maxDepth=Math.round(e.deep-i.depthOffset)),e.absolute&&(H.relativePaths=!1,H.resolvePaths=!0,H.includeBasePath=!0),e.followSymbolicLinks===!1&&(H.resolveSymlinks=!1,H.excludeSymlinks=!0),e.onlyDirectories?(H.excludeFiles=!0,H.includeDirs=!0):e.onlyFiles===!1&&(H.includeDirs=!0),i.root=i.root.replace(b$,"");let a=i.root;e.debug&&um("internal properties:",i);let l=new nse.fdir(H).crawl(a);return t===a||e.absolute?n?l.sync():l.withPromise():n?rse(l.sync(),t,a):l.withPromise().then(p=>rse(p,t,a))}async function ase(e,t){if(e&&t?.patterns)throw new Error("Cannot pass patterns as both an argument and an option");let n=Array.isArray(e)||typeof e=="string"?{...t,patterns:e}:e,i=n.cwd?Hd.default.resolve(n.cwd).replace(b$,"/"):process.cwd().replace(b$,"/");return l6e(n,i,!1)}var Cme=mr(bH());var ose=require("node:fs/promises");async function pd(e){try{let t=await(0,ose.readFile)(e,"utf8");return xs(t,"css")}catch{return null}}var qL=class{constructor(){this.parents=new Map;this.children=new Map;this.nodes=new Map}add(t,n){return this.nodes.has(t)?this.nodes.get(t):(this.nodes.set(t,n),this.parents.set(t,new Set),this.children.set(t,new Set),n)}connect(t,n){let i=this.children.get(t);if(!i)throw new Error(`Node ${t} does not exist`);let o=this.parents.get(n);if(!o)throw new Error(`Node ${n} does not exist`);o.add(t),i.add(n)}*descendants(t){let n=[],i=new Set;for(let o of this.children.get(t))n.push(o);for(;n.length>0;){let o=n.shift();if(!i.has(o)){yield this.nodes.get(o),i.add(o);for(let r of this.children.get(o))n.push(r)}}}*roots(){for(let[t,n]of this.parents)n.size===0&&(yield this.nodes.get(t))}*leaves(){for(let[t,n]of this.children)n.size===0&&(yield this.nodes.get(t))}};var WL=class extends Map{remember(t,n){let i=super.get(t);return i||(i=n(t),this.set(t,i)),i}};var VL=mr(wA()),Hm=mr(require("node:path"));async function A$(e,t){async function n(i){let o=Hm.join(i,"package.json");if(await VL.default.exists(o))return o;if(i===Hm.normalize(t))return VL.default.stop}try{let i=await(0,VL.default)(n,{cwd:e});return i?Hm.dirname(i):t}catch{return t}}function Nf(e,t){let n=[],i=e.startsWith("0.0.0-insiders"),o=!1,r=!1;if(i&&(t&&typeof t=="object"&&"compile"in t||t&&typeof t=="function"&&"compile"in t?r=!0:o=!0),r)return["css-at-theme","layer:base","content-list","source-inline","source-not"];if(!o){if(Tn(e,"4.1.0"))return["css-at-theme","layer:base","content-list","source-inline","source-not"];if(Tn(e,"4.0.0-alpha.1"))return["css-at-theme","layer:base","content-list"];if(e.startsWith("0.0.0-oxide"))return["css-at-theme","layer:base","content-list"]}return Tn(e,"0.99.0")?(n.push("layer:base"),n.push("separator:root")):(n.push("layer:preflight"),n.push("separator:options")),Tn(e,"1.4.0")&&DH(e,"1.99.0")&&n.push("browserslist-in-plugins"),Tn(e,"3.0.0")||(Tn(e,"1.99.0")?n.push("apply-complex-classes"):Tn(e,"1.7.0")&&n.push("apply-complex-classes:flagged")),Tn(e,"3.0.0")?n.push("content-list"):n.push("purge-list"),Tn(e,"3.0.0")?n.push("jit"):Tn(e,"2.1.0"),Tn(e,"3.2.0")&&(n.push("css-at-config-as-project"),n.push("relative-content-paths")),Tn(e,"3.3.0")&&n.push("transpiled-configs"),n}var Aae=mr(require("node:fs/promises"));var Iae=mr(gae());var pm=mr(require("node:path"));var R$="'",$$='"';function bae(){let e=new WeakSet;function t(n){if(e.has(n))return;let i=n.root().source?.input.file;if(!i)return;let o=n.source?.input.file;if(!o)return;let r=n.params[0],c=r[0]===$$&&r[r.length-1]===$$?$$:r[0]===R$&&r[r.length-1]===R$?R$:null;if(!c)return;let s=n.params.slice(1,-1),u="";if(s.startsWith("!")&&(s=s.slice(1),u="!"),!s.startsWith("./")&&!s.startsWith("../"))return;let H=pm.posix.join(As(pm.dirname(o)),s),a=pm.posix.dirname(As(i)),l=pm.posix.relative(a,H);l.startsWith(".")||(l="./"+l),n.params=c+u+l+c,e.add(n)}return{postcssPlugin:"tailwindcss-postcss-fix-relative-paths",AtRule:{source:t,plugin:t}}}function JL({resolver:e,loose:t=!1}){return ql([{postcssPlugin:"replace-at-reference",Once(n){n.walkAtRules("reference",i=>{i.name="import",i.params+=" reference"})}},{postcssPlugin:"hoist-at-import",Once(n,{result:i}){if(!t)return;let o=[],r=!1,c=!1;for(let s of n.nodes)if(s.type==="atrule"&&(s.name==="import"||s.name==="charset"))o.push(s),r&&(c=!0);else if(s.type==="atrule"){if(s.name==="layer"&&(!s.nodes||s.nodes.length>0))continue;r=!0}else s.type==="rule"&&(r=!0);n.prepend(o),c&&console.log(`hoist-at-import: The file '${i.opts.from}' contains @import rules after other at rules. This is invalid CSS and may cause problems with your build.`)}},(0,Iae.default)({async resolve(n,i){try{return await e.resolveCssId(n,i)}catch{return`/virtual:missing/${n}`}},load(n){return n.startsWith("/virtual:missing/")?Promise.resolve(""):Aae.readFile(n,"utf-8")}}),bae()])}function Sae(e){return{postcssPlugin:"extract-at-rules",AtRule:{source:({params:t})=>{let n=/^not\s+/.test(t);n&&(t=t.slice(4).trimStart()),!(t[0]!=='"'&&t[0]!=="'")&&e.push({pattern:t.slice(1,-1),negated:n})}}}}async function bqe(e){let t=await import(e);return!t.scanDir&&!t.Scanner?null:t}async function Lae(e){let t=await bqe(e.oxidePath);if(!t)return null;if(DH(e.oxideVersion,"4.0.0-alpha.18")){let n=t.scanDir?.({base:e.basePath,globs:!0});return{files:n.files,globs:n.globs.map(i=>({base:i.base,pattern:i.glob}))}}else if(DH(e.oxideVersion,"4.0.0-alpha.19")){let n=t.scanDir({base:e.basePath,sources:e.sources.map(i=>({base:i.base,pattern:i.pattern}))});return{files:n.files,globs:n.globs.map(i=>({base:i.base,pattern:i.pattern}))}}else if(DH(e.oxideVersion,"4.0.0-alpha.30")){let n=new t.Scanner({detectSources:{base:e.basePath},sources:e.sources.map(i=>({base:i.base,pattern:i.pattern}))});return{files:n.files,globs:n.globs.map(i=>({base:i.base,pattern:i.pattern}))}}else if(DH(e.oxideVersion,"4.0.9999")){let n=new t.Scanner({sources:[{base:e.basePath,pattern:"**/*"},...e.sources.map(i=>({base:i.base,pattern:i.pattern}))]});return{files:n.files,globs:n.globs.map(i=>({base:i.base,pattern:i.pattern}))}}else{let n=new t.Scanner({sources:[{base:e.basePath,pattern:"**/*",negated:!1},...e.sources.map(i=>({base:i.base,pattern:i.pattern,negated:i.negated}))]});return{files:n.files,globs:n.globs.map(i=>({base:i.base,pattern:i.pattern}))}}}var Iqe=/@import\s*['"]tailwindcss(?:\/[^'"]+)?['"]/,Sqe=/@(theme|plugin|utility|custom-variant|variant|reference)\s*[^;{]+[;{]/,Lqe=/--(alpha|spacing|theme)\(/,Tqe=/@tailwind\s*(base|preflight|components|variants|screens)+;/,vqe=/@tailwind\s*utilities\s*[^;]*;/,Cqe=/@tailwind\s*[^;]+;/,xqe=/@(config|apply)\s*[^;{]+[;{]/,Dqe=/@import\s*['"](?!([a-z]+:|\/\/))/;function QL(e){return Iqe.test(e)?{root:!0,versions:["4"],explicitImport:!0}:Sqe.test(e)?vqe.test(e)?{root:!0,versions:["4"],explicitImport:!1}:{root:!1,versions:["4"],explicitImport:!1}:Lqe.test(e)?{root:!1,versions:["4"],explicitImport:!1}:Tqe.test(e)?{root:!1,versions:["3"],explicitImport:!1}:Cqe.test(e)?{root:!0,versions:["4","3"],explicitImport:!1}:xqe.test(e)?{root:!1,versions:["4","3"],explicitImport:!1}:Dqe.test(e)?{root:!0,versions:["4","3"],explicitImport:!1}:{root:!1,versions:[],explicitImport:!1}}var xC=class{constructor(t,n,i){this.base=t;this.settings=n;this.resolver=i}async search(){let t=await this.findConfigs(),n=await Promise.allSettled(t.map(o=>this.createProject(o))),i=[];for(let o of n)o.status==="rejected"?console.error(`[GLOBAL] Error creating project: ${o.reason}`):o.status==="fulfilled"&&o.value&&i.push(o.value);i.length===1&&i[0].additionalSelectors.push({pattern:As(Pa.join(this.base,"**")),priority:5});for(let o of i){o.folder=zi(o.folder),o.configPath=zi(o.configPath),o.config.path=zi(o.config.path);for(let r of o.config.entries)r.path=zi(r.path);for(let r of o.documentSelector)r.pattern=zi(r.pattern);for(let r of o.additionalSelectors)r.pattern=zi(r.pattern)}return i}async loadAllFromWorkspace(t){return Promise.all(t.map(n=>this.loadFromWorkspace(n[0],n[1])))}async loadFromWorkspace(t,n){let i=t.endsWith(".css")?{type:"css",path:t,source:"css",entries:[],content:[],packageRoot:""}:{type:"js",path:t,source:"js",entries:[],content:[],packageRoot:""},o=await this.detectTailwindVersion(i);return i.packageRoot=await A$(Pa.dirname(i.path),this.base),{config:i,folder:this.base,isUserConfigured:!0,configPath:i.path,documentSelector:n.map(r=>({priority:0,pattern:r})),additionalSelectors:[],tailwind:o}}async createProject(t){let n=await this.detectTailwindVersion(t),i=t.entries.flatMap(r=>r.meta?.versions??[]);if(console.log(JSON.stringify({tailwind:n,path:t.path})),t.type==="js"&&t.source==="css"&&(n.isDefaultVersion||!n.features.includes("css-at-config-as-project")))return null;if(t.type==="css"){if(!n.features.includes("css-at-theme"))return null;if(!i.includes("4"))return console.warn(`The config ${t.path} looks like it might be for a different Tailwind CSS version. Skipping.`),null;if(xme(t.path))return console.warn(`The config ${t.path} requires a preprocessor and is not supported by Tailwind CSS v4.0.`),null}if(t.type==="js"&&n.features.includes("css-at-theme")||t.type==="js"&&(t.path.endsWith(".ts")||t.path.endsWith(".mjs"))&&!n.features.includes("transpiled-configs"))return null;t.packageRoot=await A$(Pa.dirname(t.path),this.base);let o=await PC(t,n.features,this.resolver);return{config:t,folder:this.base,isUserConfigured:!1,configPath:t.path,documentSelector:o,additionalSelectors:[],tailwind:n}}async findConfigs(){let t=this.settings.tailwindCSS.files.exclude;t=t.map(m=>m.startsWith("/")?m.slice(1):m);let n=await ase({patterns:[`**/${Zh}`,`**/${Dp}`],cwd:this.base,ignore:t,onlyFiles:!0,absolute:!0,followSymbolicLinks:!0,dot:!0}),i=await Promise.all(n.map(m=>jg.realpath(m)));n=n.filter((m,g)=>{let y=i[g];return m===y?!0:!n.includes(y)}),n=n.map(m=>As(m)),n=Array.from(new Set(n)).sort();let o=new WL,r=(0,Cme.default)(`**/${Dp}`,{dot:!0}),c=n.map(m=>r(m)?new DC("css",m):new DC("js",m,[o.remember(m,()=>({source:"js",type:"js",path:m,entries:[],packageRoot:null,content:[]}))])),s=c.filter(m=>m.type==="css");await Promise.all(s.map(m=>m.read())),await Promise.all(s.map(m=>m.resolvePossibleVersions()));let u=[];for(let m of s){if(!m.content||!m.meta||m.meta.versions.length===0)continue;let g=m.configPathInCss();g&&m.configs.push(o.remember(g,()=>({source:"css",type:"js",path:g,entries:[],packageRoot:null,content:[]}))),u.push(m)}await Promise.all(u.map(m=>m.resolveImports(this.resolver))),await Promise.all(u.map(m=>m.resolveRealpaths())),await Promise.all(u.map(m=>m.resolveSourceDirectives()));let H={};for(let m of u)H[m.realpath]=m;await Promise.all(u.map(m=>m.resolveImportsTailwind(H)));let a=new qL,l=null,p=null,d=null;for(let m of u){a.add(m.realpath,m);for(let g of m.deps)a.add(g.realpath,g),a.connect(m.realpath,g.realpath);m.realpath.includes("node_modules/tailwindcss/index.css")?l=m.realpath:m.realpath.includes("node_modules/tailwindcss/theme.css")?p=m.realpath:m.realpath.includes("node_modules/tailwindcss/utilities.css")&&(d=m.realpath)}l&&p&&a.connect(l,p),l&&d&&a.connect(l,d);let h=Array.from(a.roots());h.sort((m,g)=>Number(g.meta.root)-Number(m.meta.root)||Number(g.importsTailwind)-Number(m.importsTailwind)||0);for(let m of h){if(!m.meta)continue;let g=o.remember(m.path,()=>({source:"css",type:"css",path:m.path,entries:[],packageRoot:null,content:[{kind:"auto"}]}));m.configs.push(g);for(let y of a.descendants(m.realpath))y.configs.push(g)}for(let m of c)for(let g of m.configs)g.entries.push(m);return Array.from(o.values())}async detectTailwindVersion(t){try{let r=await this.resolver.resolveCjsId("tailwindcss/package.json",Pa.dirname(t.path)),{version:c}=require(r),s;if(this.resolver.hasPnP()){let H=await this.resolver.resolveCjsId("tailwindcss",Pa.dirname(t.path));s=require(H)}else{let H=await this.resolver.resolveJsId("tailwindcss",Pa.dirname(t.path));s=await import(AH(H).href)}let u=Nf(c,s);if(typeof c=="string")return{version:c,features:u,isDefaultVersion:!1}}catch{}if(t.type==="css"){let{version:r}=M$(),c=await Promise.resolve().then(()=>(cM(),lM)),s=Nf(r,c);return{version:r,features:s,isDefaultVersion:!0}}let{version:n}=k0(),i=i4(),o=Nf(n,i);return{version:n,features:o,isDefaultVersion:!0}}};function vpt(e,t,n,i){if(e.type==="css")return xpt(e,n);if(e.type==="js")return Cpt(e,t,i)}async function*Cpt(e,t,n){let i;try{i=n??require(e.path)}catch{return}let o=i.content?.files??i.content,r=Array.isArray(o)?o:[],s=(t.includes("relative-content-paths")?i.future?.relativeContentPathsByDefault||i.content?.relative:!1)?Pa.dirname(e.path):e.packageRoot;for(let u of r){if(typeof u!="string")continue;let H=u.startsWith("!")?Pa.resolve(s,u.slice(1)):Pa.resolve(s,u);H=As(H),H=zi(H),u.startsWith("!")&&(H=`!${H}`),yield{pattern:H,priority:1}}}async function*xpt(e,t){let n=!1;for(let i of e.content)if(i.kind==="file"){let o=i.file;o=As(o),o=zi(o),yield{pattern:o,priority:1}}else if(i.kind==="auto"&&!n){n=!0;let o=e.entries.flatMap(r=>r.sources);for await(let r of Dpt(e.packageRoot,e.path,o,t))yield{pattern:r,priority:1}}}async function*Dpt(e,t,n,i){try{let o=await i.resolveJsId("@tailwindcss/oxide",e);o=AH(o).href;let r=await i.resolveJsId("@tailwindcss/oxide/package.json",e),c=JSON.parse(await jg.readFile(r,"utf8")),s=await Lae({oxidePath:o,oxideVersion:c.version,basePath:e,sources:n.map(u=>({base:Pa.dirname(t),pattern:u.pattern,negated:u.negated}))});if(!s)return;for(let u of s.files)u=As(u),u=zi(u),yield u;for(let{base:u,pattern:H}of s.globs)u=As(u),u=zi(u),yield`${u}/${H}`}catch{}}var DC=class e{constructor(t,n,i=[]){this.type=t;this.path=n;this.configs=i;this.deps=[];this.sources=[];this.meta=null;this.importsTailwind=null}async read(){try{this.content=await pd(this.path)}catch{this.content=null}}async resolveImports(t){if(!xme(this.path))try{let n=await JL({resolver:t,loose:!0}).process(this.content,{from:this.path}),i=n.messages.filter(o=>o.type==="dependency");i=i.filter(o=>!o.file.startsWith("/virtual:missing/")),this.deps=i.map(o=>new e("css",As(o.file))),this.content=n.css}catch(n){console.debug(`Unable to resolve imports for ${this.path}.`),console.debug("This may result in failure to locate Tailwind CSS projects."),console.error(n)}}async resolveRealpaths(){this.realpath=As(await jg.realpath(this.path)),await Promise.all(this.deps.map(t=>t.resolveRealpaths()))}async resolveSourceDirectives(){try{if(this.sources.length>0)return;await ql([Sae(this.sources)]).process(this.content,{from:this.realpath})}catch{}}async resolvePossibleVersions(){this.meta??=this.content?QL(this.content):null}resolveImportsTailwind(t){if(this.importsTailwind!==null)return;let n=t[this.realpath];if(this.meta?.explicitImport||n?.meta?.explicitImport){this.importsTailwind=!0;return}for(let i of this.deps)i.resolveImportsTailwind(t);this.importsTailwind=this.deps.some(i=>i.importsTailwind)}configPathInCss(){if(!this.content)return null;let t=this.content.match(/@config\s*(?<config>'[^']+'|"[^"]+")/);return t?As(Pa.resolve(Pa.dirname(this.path),t.groups.config.slice(1,-1))):null}};function xme(e){let t=Pa.extname(e);return t===".scss"||t===".sass"||t===".less"||t===".styl"||t===".pcss"}async function PC(e,t,n,i){let o=[];for(let r of e.entries)r.type==="css"&&o.push({pattern:zi(As(r.path)),priority:0});o.push({pattern:zi(As(e.path)),priority:0});for await(let r of vpt(e,t,n,i))o.push(r);for(let r of e.entries)r.type==="css"&&o.push({pattern:zi(As(Pa.join(Pa.dirname(r.path),"**"))),priority:2});return o.push({pattern:zi(As(Pa.join(Pa.dirname(e.path),"**"))),priority:3}),o.push({pattern:zi(As(Pa.join(e.packageRoot,"**"))),priority:4}),o.sort((r,c)=>r.priority-c.priority),o=o.filter(({pattern:r},c,s)=>s.findIndex(({pattern:u})=>u===r)===c),o=o.sort((r,c)=>r.pattern.startsWith("!")&&!c.pattern.startsWith("!")?-1:!r.pattern.startsWith("!")&&c.pattern.startsWith("!")?1:0),o}var Rme=require("node:module"),$me=mr(Pme(),1),Mme=mr(Nme(),1);function Ppt(e){throw e}var wpt=e=>import(e);function Bme(e,t={}){return t.transform||(t={...t,transform:Mme.default}),(0,$me.default)(e,t,{onError:Ppt,nativeImport:wpt,createRequire:Rme.createRequire})}var Ome=mr(require("node:fs/promises")),NC=mr(require("node:path"));var wC=`@layer theme, base, components, utilities;
|
|
|
|
@layer theme {
|
|
@theme default {
|
|
--font-sans:
|
|
ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
|
|
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
--font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
|
|
--font-mono:
|
|
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
"Courier New", monospace;
|
|
|
|
--color-red-50: oklch(97.1% 0.013 17.38);
|
|
--color-red-100: oklch(93.6% 0.032 17.717);
|
|
--color-red-200: oklch(88.5% 0.062 18.334);
|
|
--color-red-300: oklch(80.8% 0.114 19.571);
|
|
--color-red-400: oklch(70.4% 0.191 22.216);
|
|
--color-red-500: oklch(63.7% 0.237 25.331);
|
|
--color-red-600: oklch(57.7% 0.245 27.325);
|
|
--color-red-700: oklch(50.5% 0.213 27.518);
|
|
--color-red-800: oklch(44.4% 0.177 26.899);
|
|
--color-red-900: oklch(39.6% 0.141 25.723);
|
|
--color-red-950: oklch(25.8% 0.092 26.042);
|
|
|
|
--color-orange-50: oklch(98% 0.016 73.684);
|
|
--color-orange-100: oklch(95.4% 0.038 75.164);
|
|
--color-orange-200: oklch(90.1% 0.076 70.697);
|
|
--color-orange-300: oklch(83.7% 0.128 66.29);
|
|
--color-orange-400: oklch(75% 0.183 55.934);
|
|
--color-orange-500: oklch(70.5% 0.213 47.604);
|
|
--color-orange-600: oklch(64.6% 0.222 41.116);
|
|
--color-orange-700: oklch(55.3% 0.195 38.402);
|
|
--color-orange-800: oklch(47% 0.157 37.304);
|
|
--color-orange-900: oklch(40.8% 0.123 38.172);
|
|
--color-orange-950: oklch(26.6% 0.079 36.259);
|
|
|
|
--color-amber-50: oklch(98.7% 0.022 95.277);
|
|
--color-amber-100: oklch(96.2% 0.059 95.617);
|
|
--color-amber-200: oklch(92.4% 0.12 95.746);
|
|
--color-amber-300: oklch(87.9% 0.169 91.605);
|
|
--color-amber-400: oklch(82.8% 0.189 84.429);
|
|
--color-amber-500: oklch(76.9% 0.188 70.08);
|
|
--color-amber-600: oklch(66.6% 0.179 58.318);
|
|
--color-amber-700: oklch(55.5% 0.163 48.998);
|
|
--color-amber-800: oklch(47.3% 0.137 46.201);
|
|
--color-amber-900: oklch(41.4% 0.112 45.904);
|
|
--color-amber-950: oklch(27.9% 0.077 45.635);
|
|
|
|
--color-yellow-50: oklch(98.7% 0.026 102.212);
|
|
--color-yellow-100: oklch(97.3% 0.071 103.193);
|
|
--color-yellow-200: oklch(94.5% 0.129 101.54);
|
|
--color-yellow-300: oklch(90.5% 0.182 98.111);
|
|
--color-yellow-400: oklch(85.2% 0.199 91.936);
|
|
--color-yellow-500: oklch(79.5% 0.184 86.047);
|
|
--color-yellow-600: oklch(68.1% 0.162 75.834);
|
|
--color-yellow-700: oklch(55.4% 0.135 66.442);
|
|
--color-yellow-800: oklch(47.6% 0.114 61.907);
|
|
--color-yellow-900: oklch(42.1% 0.095 57.708);
|
|
--color-yellow-950: oklch(28.6% 0.066 53.813);
|
|
|
|
--color-lime-50: oklch(98.6% 0.031 120.757);
|
|
--color-lime-100: oklch(96.7% 0.067 122.328);
|
|
--color-lime-200: oklch(93.8% 0.127 124.321);
|
|
--color-lime-300: oklch(89.7% 0.196 126.665);
|
|
--color-lime-400: oklch(84.1% 0.238 128.85);
|
|
--color-lime-500: oklch(76.8% 0.233 130.85);
|
|
--color-lime-600: oklch(64.8% 0.2 131.684);
|
|
--color-lime-700: oklch(53.2% 0.157 131.589);
|
|
--color-lime-800: oklch(45.3% 0.124 130.933);
|
|
--color-lime-900: oklch(40.5% 0.101 131.063);
|
|
--color-lime-950: oklch(27.4% 0.072 132.109);
|
|
|
|
--color-green-50: oklch(98.2% 0.018 155.826);
|
|
--color-green-100: oklch(96.2% 0.044 156.743);
|
|
--color-green-200: oklch(92.5% 0.084 155.995);
|
|
--color-green-300: oklch(87.1% 0.15 154.449);
|
|
--color-green-400: oklch(79.2% 0.209 151.711);
|
|
--color-green-500: oklch(72.3% 0.219 149.579);
|
|
--color-green-600: oklch(62.7% 0.194 149.214);
|
|
--color-green-700: oklch(52.7% 0.154 150.069);
|
|
--color-green-800: oklch(44.8% 0.119 151.328);
|
|
--color-green-900: oklch(39.3% 0.095 152.535);
|
|
--color-green-950: oklch(26.6% 0.065 152.934);
|
|
|
|
--color-emerald-50: oklch(97.9% 0.021 166.113);
|
|
--color-emerald-100: oklch(95% 0.052 163.051);
|
|
--color-emerald-200: oklch(90.5% 0.093 164.15);
|
|
--color-emerald-300: oklch(84.5% 0.143 164.978);
|
|
--color-emerald-400: oklch(76.5% 0.177 163.223);
|
|
--color-emerald-500: oklch(69.6% 0.17 162.48);
|
|
--color-emerald-600: oklch(59.6% 0.145 163.225);
|
|
--color-emerald-700: oklch(50.8% 0.118 165.612);
|
|
--color-emerald-800: oklch(43.2% 0.095 166.913);
|
|
--color-emerald-900: oklch(37.8% 0.077 168.94);
|
|
--color-emerald-950: oklch(26.2% 0.051 172.552);
|
|
|
|
--color-teal-50: oklch(98.4% 0.014 180.72);
|
|
--color-teal-100: oklch(95.3% 0.051 180.801);
|
|
--color-teal-200: oklch(91% 0.096 180.426);
|
|
--color-teal-300: oklch(85.5% 0.138 181.071);
|
|
--color-teal-400: oklch(77.7% 0.152 181.912);
|
|
--color-teal-500: oklch(70.4% 0.14 182.503);
|
|
--color-teal-600: oklch(60% 0.118 184.704);
|
|
--color-teal-700: oklch(51.1% 0.096 186.391);
|
|
--color-teal-800: oklch(43.7% 0.078 188.216);
|
|
--color-teal-900: oklch(38.6% 0.063 188.416);
|
|
--color-teal-950: oklch(27.7% 0.046 192.524);
|
|
|
|
--color-cyan-50: oklch(98.4% 0.019 200.873);
|
|
--color-cyan-100: oklch(95.6% 0.045 203.388);
|
|
--color-cyan-200: oklch(91.7% 0.08 205.041);
|
|
--color-cyan-300: oklch(86.5% 0.127 207.078);
|
|
--color-cyan-400: oklch(78.9% 0.154 211.53);
|
|
--color-cyan-500: oklch(71.5% 0.143 215.221);
|
|
--color-cyan-600: oklch(60.9% 0.126 221.723);
|
|
--color-cyan-700: oklch(52% 0.105 223.128);
|
|
--color-cyan-800: oklch(45% 0.085 224.283);
|
|
--color-cyan-900: oklch(39.8% 0.07 227.392);
|
|
--color-cyan-950: oklch(30.2% 0.056 229.695);
|
|
|
|
--color-sky-50: oklch(97.7% 0.013 236.62);
|
|
--color-sky-100: oklch(95.1% 0.026 236.824);
|
|
--color-sky-200: oklch(90.1% 0.058 230.902);
|
|
--color-sky-300: oklch(82.8% 0.111 230.318);
|
|
--color-sky-400: oklch(74.6% 0.16 232.661);
|
|
--color-sky-500: oklch(68.5% 0.169 237.323);
|
|
--color-sky-600: oklch(58.8% 0.158 241.966);
|
|
--color-sky-700: oklch(50% 0.134 242.749);
|
|
--color-sky-800: oklch(44.3% 0.11 240.79);
|
|
--color-sky-900: oklch(39.1% 0.09 240.876);
|
|
--color-sky-950: oklch(29.3% 0.066 243.157);
|
|
|
|
--color-blue-50: oklch(97% 0.014 254.604);
|
|
--color-blue-100: oklch(93.2% 0.032 255.585);
|
|
--color-blue-200: oklch(88.2% 0.059 254.128);
|
|
--color-blue-300: oklch(80.9% 0.105 251.813);
|
|
--color-blue-400: oklch(70.7% 0.165 254.624);
|
|
--color-blue-500: oklch(62.3% 0.214 259.815);
|
|
--color-blue-600: oklch(54.6% 0.245 262.881);
|
|
--color-blue-700: oklch(48.8% 0.243 264.376);
|
|
--color-blue-800: oklch(42.4% 0.199 265.638);
|
|
--color-blue-900: oklch(37.9% 0.146 265.522);
|
|
--color-blue-950: oklch(28.2% 0.091 267.935);
|
|
|
|
--color-indigo-50: oklch(96.2% 0.018 272.314);
|
|
--color-indigo-100: oklch(93% 0.034 272.788);
|
|
--color-indigo-200: oklch(87% 0.065 274.039);
|
|
--color-indigo-300: oklch(78.5% 0.115 274.713);
|
|
--color-indigo-400: oklch(67.3% 0.182 276.935);
|
|
--color-indigo-500: oklch(58.5% 0.233 277.117);
|
|
--color-indigo-600: oklch(51.1% 0.262 276.966);
|
|
--color-indigo-700: oklch(45.7% 0.24 277.023);
|
|
--color-indigo-800: oklch(39.8% 0.195 277.366);
|
|
--color-indigo-900: oklch(35.9% 0.144 278.697);
|
|
--color-indigo-950: oklch(25.7% 0.09 281.288);
|
|
|
|
--color-violet-50: oklch(96.9% 0.016 293.756);
|
|
--color-violet-100: oklch(94.3% 0.029 294.588);
|
|
--color-violet-200: oklch(89.4% 0.057 293.283);
|
|
--color-violet-300: oklch(81.1% 0.111 293.571);
|
|
--color-violet-400: oklch(70.2% 0.183 293.541);
|
|
--color-violet-500: oklch(60.6% 0.25 292.717);
|
|
--color-violet-600: oklch(54.1% 0.281 293.009);
|
|
--color-violet-700: oklch(49.1% 0.27 292.581);
|
|
--color-violet-800: oklch(43.2% 0.232 292.759);
|
|
--color-violet-900: oklch(38% 0.189 293.745);
|
|
--color-violet-950: oklch(28.3% 0.141 291.089);
|
|
|
|
--color-purple-50: oklch(97.7% 0.014 308.299);
|
|
--color-purple-100: oklch(94.6% 0.033 307.174);
|
|
--color-purple-200: oklch(90.2% 0.063 306.703);
|
|
--color-purple-300: oklch(82.7% 0.119 306.383);
|
|
--color-purple-400: oklch(71.4% 0.203 305.504);
|
|
--color-purple-500: oklch(62.7% 0.265 303.9);
|
|
--color-purple-600: oklch(55.8% 0.288 302.321);
|
|
--color-purple-700: oklch(49.6% 0.265 301.924);
|
|
--color-purple-800: oklch(43.8% 0.218 303.724);
|
|
--color-purple-900: oklch(38.1% 0.176 304.987);
|
|
--color-purple-950: oklch(29.1% 0.149 302.717);
|
|
|
|
--color-fuchsia-50: oklch(97.7% 0.017 320.058);
|
|
--color-fuchsia-100: oklch(95.2% 0.037 318.852);
|
|
--color-fuchsia-200: oklch(90.3% 0.076 319.62);
|
|
--color-fuchsia-300: oklch(83.3% 0.145 321.434);
|
|
--color-fuchsia-400: oklch(74% 0.238 322.16);
|
|
--color-fuchsia-500: oklch(66.7% 0.295 322.15);
|
|
--color-fuchsia-600: oklch(59.1% 0.293 322.896);
|
|
--color-fuchsia-700: oklch(51.8% 0.253 323.949);
|
|
--color-fuchsia-800: oklch(45.2% 0.211 324.591);
|
|
--color-fuchsia-900: oklch(40.1% 0.17 325.612);
|
|
--color-fuchsia-950: oklch(29.3% 0.136 325.661);
|
|
|
|
--color-pink-50: oklch(97.1% 0.014 343.198);
|
|
--color-pink-100: oklch(94.8% 0.028 342.258);
|
|
--color-pink-200: oklch(89.9% 0.061 343.231);
|
|
--color-pink-300: oklch(82.3% 0.12 346.018);
|
|
--color-pink-400: oklch(71.8% 0.202 349.761);
|
|
--color-pink-500: oklch(65.6% 0.241 354.308);
|
|
--color-pink-600: oklch(59.2% 0.249 0.584);
|
|
--color-pink-700: oklch(52.5% 0.223 3.958);
|
|
--color-pink-800: oklch(45.9% 0.187 3.815);
|
|
--color-pink-900: oklch(40.8% 0.153 2.432);
|
|
--color-pink-950: oklch(28.4% 0.109 3.907);
|
|
|
|
--color-rose-50: oklch(96.9% 0.015 12.422);
|
|
--color-rose-100: oklch(94.1% 0.03 12.58);
|
|
--color-rose-200: oklch(89.2% 0.058 10.001);
|
|
--color-rose-300: oklch(81% 0.117 11.638);
|
|
--color-rose-400: oklch(71.2% 0.194 13.428);
|
|
--color-rose-500: oklch(64.5% 0.246 16.439);
|
|
--color-rose-600: oklch(58.6% 0.253 17.585);
|
|
--color-rose-700: oklch(51.4% 0.222 16.935);
|
|
--color-rose-800: oklch(45.5% 0.188 13.697);
|
|
--color-rose-900: oklch(41% 0.159 10.272);
|
|
--color-rose-950: oklch(27.1% 0.105 12.094);
|
|
|
|
--color-slate-50: oklch(98.4% 0.003 247.858);
|
|
--color-slate-100: oklch(96.8% 0.007 247.896);
|
|
--color-slate-200: oklch(92.9% 0.013 255.508);
|
|
--color-slate-300: oklch(86.9% 0.022 252.894);
|
|
--color-slate-400: oklch(70.4% 0.04 256.788);
|
|
--color-slate-500: oklch(55.4% 0.046 257.417);
|
|
--color-slate-600: oklch(44.6% 0.043 257.281);
|
|
--color-slate-700: oklch(37.2% 0.044 257.287);
|
|
--color-slate-800: oklch(27.9% 0.041 260.031);
|
|
--color-slate-900: oklch(20.8% 0.042 265.755);
|
|
--color-slate-950: oklch(12.9% 0.042 264.695);
|
|
|
|
--color-gray-50: oklch(98.5% 0.002 247.839);
|
|
--color-gray-100: oklch(96.7% 0.003 264.542);
|
|
--color-gray-200: oklch(92.8% 0.006 264.531);
|
|
--color-gray-300: oklch(87.2% 0.01 258.338);
|
|
--color-gray-400: oklch(70.7% 0.022 261.325);
|
|
--color-gray-500: oklch(55.1% 0.027 264.364);
|
|
--color-gray-600: oklch(44.6% 0.03 256.802);
|
|
--color-gray-700: oklch(37.3% 0.034 259.733);
|
|
--color-gray-800: oklch(27.8% 0.033 256.848);
|
|
--color-gray-900: oklch(21% 0.034 264.665);
|
|
--color-gray-950: oklch(13% 0.028 261.692);
|
|
|
|
--color-zinc-50: oklch(98.5% 0 0);
|
|
--color-zinc-100: oklch(96.7% 0.001 286.375);
|
|
--color-zinc-200: oklch(92% 0.004 286.32);
|
|
--color-zinc-300: oklch(87.1% 0.006 286.286);
|
|
--color-zinc-400: oklch(70.5% 0.015 286.067);
|
|
--color-zinc-500: oklch(55.2% 0.016 285.938);
|
|
--color-zinc-600: oklch(44.2% 0.017 285.786);
|
|
--color-zinc-700: oklch(37% 0.013 285.805);
|
|
--color-zinc-800: oklch(27.4% 0.006 286.033);
|
|
--color-zinc-900: oklch(21% 0.006 285.885);
|
|
--color-zinc-950: oklch(14.1% 0.005 285.823);
|
|
|
|
--color-neutral-50: oklch(98.5% 0 0);
|
|
--color-neutral-100: oklch(97% 0 0);
|
|
--color-neutral-200: oklch(92.2% 0 0);
|
|
--color-neutral-300: oklch(87% 0 0);
|
|
--color-neutral-400: oklch(70.8% 0 0);
|
|
--color-neutral-500: oklch(55.6% 0 0);
|
|
--color-neutral-600: oklch(43.9% 0 0);
|
|
--color-neutral-700: oklch(37.1% 0 0);
|
|
--color-neutral-800: oklch(26.9% 0 0);
|
|
--color-neutral-900: oklch(20.5% 0 0);
|
|
--color-neutral-950: oklch(14.5% 0 0);
|
|
|
|
--color-stone-50: oklch(98.5% 0.001 106.423);
|
|
--color-stone-100: oklch(97% 0.001 106.424);
|
|
--color-stone-200: oklch(92.3% 0.003 48.717);
|
|
--color-stone-300: oklch(86.9% 0.005 56.366);
|
|
--color-stone-400: oklch(70.9% 0.01 56.259);
|
|
--color-stone-500: oklch(55.3% 0.013 58.071);
|
|
--color-stone-600: oklch(44.4% 0.011 73.639);
|
|
--color-stone-700: oklch(37.4% 0.01 67.558);
|
|
--color-stone-800: oklch(26.8% 0.007 34.298);
|
|
--color-stone-900: oklch(21.6% 0.006 56.043);
|
|
--color-stone-950: oklch(14.7% 0.004 49.25);
|
|
|
|
--color-black: #000;
|
|
--color-white: #fff;
|
|
|
|
--spacing: 0.25rem;
|
|
|
|
--breakpoint-sm: 40rem;
|
|
--breakpoint-md: 48rem;
|
|
--breakpoint-lg: 64rem;
|
|
--breakpoint-xl: 80rem;
|
|
--breakpoint-2xl: 96rem;
|
|
|
|
--container-3xs: 16rem;
|
|
--container-2xs: 18rem;
|
|
--container-xs: 20rem;
|
|
--container-sm: 24rem;
|
|
--container-md: 28rem;
|
|
--container-lg: 32rem;
|
|
--container-xl: 36rem;
|
|
--container-2xl: 42rem;
|
|
--container-3xl: 48rem;
|
|
--container-4xl: 56rem;
|
|
--container-5xl: 64rem;
|
|
--container-6xl: 72rem;
|
|
--container-7xl: 80rem;
|
|
|
|
--text-xs: 0.75rem;
|
|
--text-xs--line-height: calc(1 / 0.75);
|
|
--text-sm: 0.875rem;
|
|
--text-sm--line-height: calc(1.25 / 0.875);
|
|
--text-base: 1rem;
|
|
--text-base--line-height: calc(1.5 / 1);
|
|
--text-lg: 1.125rem;
|
|
--text-lg--line-height: calc(1.75 / 1.125);
|
|
--text-xl: 1.25rem;
|
|
--text-xl--line-height: calc(1.75 / 1.25);
|
|
--text-2xl: 1.5rem;
|
|
--text-2xl--line-height: calc(2 / 1.5);
|
|
--text-3xl: 1.875rem;
|
|
--text-3xl--line-height: calc(2.25 / 1.875);
|
|
--text-4xl: 2.25rem;
|
|
--text-4xl--line-height: calc(2.5 / 2.25);
|
|
--text-5xl: 3rem;
|
|
--text-5xl--line-height: 1;
|
|
--text-6xl: 3.75rem;
|
|
--text-6xl--line-height: 1;
|
|
--text-7xl: 4.5rem;
|
|
--text-7xl--line-height: 1;
|
|
--text-8xl: 6rem;
|
|
--text-8xl--line-height: 1;
|
|
--text-9xl: 8rem;
|
|
--text-9xl--line-height: 1;
|
|
|
|
--font-weight-thin: 100;
|
|
--font-weight-extralight: 200;
|
|
--font-weight-light: 300;
|
|
--font-weight-normal: 400;
|
|
--font-weight-medium: 500;
|
|
--font-weight-semibold: 600;
|
|
--font-weight-bold: 700;
|
|
--font-weight-extrabold: 800;
|
|
--font-weight-black: 900;
|
|
|
|
--tracking-tighter: -0.05em;
|
|
--tracking-tight: -0.025em;
|
|
--tracking-normal: 0em;
|
|
--tracking-wide: 0.025em;
|
|
--tracking-wider: 0.05em;
|
|
--tracking-widest: 0.1em;
|
|
|
|
--leading-tight: 1.25;
|
|
--leading-snug: 1.375;
|
|
--leading-normal: 1.5;
|
|
--leading-relaxed: 1.625;
|
|
--leading-loose: 2;
|
|
|
|
--radius-xs: 0.125rem;
|
|
--radius-sm: 0.25rem;
|
|
--radius-md: 0.375rem;
|
|
--radius-lg: 0.5rem;
|
|
--radius-xl: 0.75rem;
|
|
--radius-2xl: 1rem;
|
|
--radius-3xl: 1.5rem;
|
|
--radius-4xl: 2rem;
|
|
|
|
--shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
|
|
--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
--shadow-md:
|
|
0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
--shadow-lg:
|
|
0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
--shadow-xl:
|
|
0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
--shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
|
|
--inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);
|
|
--inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);
|
|
--inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);
|
|
|
|
--drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05);
|
|
--drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15);
|
|
--drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12);
|
|
--drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);
|
|
--drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);
|
|
--drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);
|
|
|
|
--text-shadow-2xs: 0px 1px 0px rgb(0 0 0 / 0.15);
|
|
--text-shadow-xs: 0px 1px 1px rgb(0 0 0 / 0.2);
|
|
--text-shadow-sm:
|
|
0px 1px 0px rgb(0 0 0 / 0.075), 0px 1px 1px rgb(0 0 0 / 0.075),
|
|
0px 2px 2px rgb(0 0 0 / 0.075);
|
|
--text-shadow-md:
|
|
0px 1px 1px rgb(0 0 0 / 0.1), 0px 1px 2px rgb(0 0 0 / 0.1),
|
|
0px 2px 4px rgb(0 0 0 / 0.1);
|
|
--text-shadow-lg:
|
|
0px 1px 2px rgb(0 0 0 / 0.1), 0px 3px 2px rgb(0 0 0 / 0.1),
|
|
0px 4px 8px rgb(0 0 0 / 0.1);
|
|
|
|
--ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
--animate-spin: spin 1s linear infinite;
|
|
--animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
|
|
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
--animate-bounce: bounce 1s infinite;
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes ping {
|
|
75%,
|
|
100% {
|
|
transform: scale(2);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes pulse {
|
|
50% {
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
@keyframes bounce {
|
|
0%,
|
|
100% {
|
|
transform: translateY(-25%);
|
|
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
}
|
|
|
|
50% {
|
|
transform: none;
|
|
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
}
|
|
}
|
|
|
|
--blur-xs: 4px;
|
|
--blur-sm: 8px;
|
|
--blur-md: 12px;
|
|
--blur-lg: 16px;
|
|
--blur-xl: 24px;
|
|
--blur-2xl: 40px;
|
|
--blur-3xl: 64px;
|
|
|
|
--perspective-dramatic: 100px;
|
|
--perspective-near: 300px;
|
|
--perspective-normal: 500px;
|
|
--perspective-midrange: 800px;
|
|
--perspective-distant: 1200px;
|
|
|
|
--aspect-video: 16 / 9;
|
|
|
|
--default-transition-duration: 150ms;
|
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
--default-font-family: --theme(--font-sans, initial);
|
|
--default-font-feature-settings: --theme(
|
|
--font-sans--font-feature-settings,
|
|
initial
|
|
);
|
|
--default-font-variation-settings: --theme(
|
|
--font-sans--font-variation-settings,
|
|
initial
|
|
);
|
|
--default-mono-font-family: --theme(--font-mono, initial);
|
|
--default-mono-font-feature-settings: --theme(
|
|
--font-mono--font-feature-settings,
|
|
initial
|
|
);
|
|
--default-mono-font-variation-settings: --theme(
|
|
--font-mono--font-variation-settings,
|
|
initial
|
|
);
|
|
}
|
|
|
|
/* Deprecated */
|
|
@theme default inline reference {
|
|
--blur: 8px;
|
|
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
--shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
|
|
--drop-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 1px 1px rgb(0 0 0 / 0.06);
|
|
--radius: 0.25rem;
|
|
--max-width-prose: 65ch;
|
|
}
|
|
}
|
|
|
|
@layer base {
|
|
/*
|
|
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
2. Remove default margins and padding
|
|
3. Reset all borders.
|
|
*/
|
|
|
|
*,
|
|
::after,
|
|
::before,
|
|
::backdrop,
|
|
::file-selector-button {
|
|
box-sizing: border-box; /* 1 */
|
|
margin: 0; /* 2 */
|
|
padding: 0; /* 2 */
|
|
border: 0 solid; /* 3 */
|
|
}
|
|
|
|
/*
|
|
1. Use a consistent sensible line-height in all browsers.
|
|
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
3. Use a more readable tab size.
|
|
4. Use the user's configured \`sans\` font-family by default.
|
|
5. Use the user's configured \`sans\` font-feature-settings by default.
|
|
6. Use the user's configured \`sans\` font-variation-settings by default.
|
|
7. Disable tap highlights on iOS.
|
|
*/
|
|
|
|
html,
|
|
:host {
|
|
line-height: 1.5; /* 1 */
|
|
-webkit-text-size-adjust: 100%; /* 2 */
|
|
tab-size: 4; /* 3 */
|
|
font-family: --theme(
|
|
--default-font-family,
|
|
ui-sans-serif,
|
|
system-ui,
|
|
sans-serif,
|
|
"Apple Color Emoji",
|
|
"Segoe UI Emoji",
|
|
"Segoe UI Symbol",
|
|
"Noto Color Emoji"
|
|
); /* 4 */
|
|
font-feature-settings: --theme(
|
|
--default-font-feature-settings,
|
|
normal
|
|
); /* 5 */
|
|
font-variation-settings: --theme(
|
|
--default-font-variation-settings,
|
|
normal
|
|
); /* 6 */
|
|
-webkit-tap-highlight-color: transparent; /* 7 */
|
|
}
|
|
|
|
/*
|
|
1. Add the correct height in Firefox.
|
|
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
3. Reset the default border style to a 1px solid border.
|
|
*/
|
|
|
|
hr {
|
|
height: 0; /* 1 */
|
|
color: inherit; /* 2 */
|
|
border-top-width: 1px; /* 3 */
|
|
}
|
|
|
|
/*
|
|
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
*/
|
|
|
|
abbr:where([title]) {
|
|
-webkit-text-decoration: underline dotted;
|
|
text-decoration: underline dotted;
|
|
}
|
|
|
|
/*
|
|
Remove the default font size and weight for headings.
|
|
*/
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-size: inherit;
|
|
font-weight: inherit;
|
|
}
|
|
|
|
/*
|
|
Reset links to optimize for opt-in styling instead of opt-out.
|
|
*/
|
|
|
|
a {
|
|
color: inherit;
|
|
-webkit-text-decoration: inherit;
|
|
text-decoration: inherit;
|
|
}
|
|
|
|
/*
|
|
Add the correct font weight in Edge and Safari.
|
|
*/
|
|
|
|
b,
|
|
strong {
|
|
font-weight: bolder;
|
|
}
|
|
|
|
/*
|
|
1. Use the user's configured \`mono\` font-family by default.
|
|
2. Use the user's configured \`mono\` font-feature-settings by default.
|
|
3. Use the user's configured \`mono\` font-variation-settings by default.
|
|
4. Correct the odd \`em\` font sizing in all browsers.
|
|
*/
|
|
|
|
code,
|
|
kbd,
|
|
samp,
|
|
pre {
|
|
font-family: --theme(
|
|
--default-mono-font-family,
|
|
ui-monospace,
|
|
SFMono-Regular,
|
|
Menlo,
|
|
Monaco,
|
|
Consolas,
|
|
"Liberation Mono",
|
|
"Courier New",
|
|
monospace
|
|
); /* 1 */
|
|
font-feature-settings: --theme(
|
|
--default-mono-font-feature-settings,
|
|
normal
|
|
); /* 2 */
|
|
font-variation-settings: --theme(
|
|
--default-mono-font-variation-settings,
|
|
normal
|
|
); /* 3 */
|
|
font-size: 1em; /* 4 */
|
|
}
|
|
|
|
/*
|
|
Add the correct font size in all browsers.
|
|
*/
|
|
|
|
small {
|
|
font-size: 80%;
|
|
}
|
|
|
|
/*
|
|
Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers.
|
|
*/
|
|
|
|
sub,
|
|
sup {
|
|
font-size: 75%;
|
|
line-height: 0;
|
|
position: relative;
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
sub {
|
|
bottom: -0.25em;
|
|
}
|
|
|
|
sup {
|
|
top: -0.5em;
|
|
}
|
|
|
|
/*
|
|
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
3. Remove gaps between table borders by default.
|
|
*/
|
|
|
|
table {
|
|
text-indent: 0; /* 1 */
|
|
border-color: inherit; /* 2 */
|
|
border-collapse: collapse; /* 3 */
|
|
}
|
|
|
|
/*
|
|
Use the modern Firefox focus style for all focusable elements.
|
|
*/
|
|
|
|
:-moz-focusring {
|
|
outline: auto;
|
|
}
|
|
|
|
/*
|
|
Add the correct vertical alignment in Chrome and Firefox.
|
|
*/
|
|
|
|
progress {
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
/*
|
|
Add the correct display in Chrome and Safari.
|
|
*/
|
|
|
|
summary {
|
|
display: list-item;
|
|
}
|
|
|
|
/*
|
|
Make lists unstyled by default.
|
|
*/
|
|
|
|
ol,
|
|
ul,
|
|
menu {
|
|
list-style: none;
|
|
}
|
|
|
|
/*
|
|
1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
*/
|
|
|
|
img,
|
|
svg,
|
|
video,
|
|
canvas,
|
|
audio,
|
|
iframe,
|
|
embed,
|
|
object {
|
|
display: block; /* 1 */
|
|
vertical-align: middle; /* 2 */
|
|
}
|
|
|
|
/*
|
|
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
*/
|
|
|
|
img,
|
|
video {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
/*
|
|
1. Inherit font styles in all browsers.
|
|
2. Remove border radius in all browsers.
|
|
3. Remove background color in all browsers.
|
|
4. Ensure consistent opacity for disabled states in all browsers.
|
|
*/
|
|
|
|
button,
|
|
input,
|
|
select,
|
|
optgroup,
|
|
textarea,
|
|
::file-selector-button {
|
|
font: inherit; /* 1 */
|
|
font-feature-settings: inherit; /* 1 */
|
|
font-variation-settings: inherit; /* 1 */
|
|
letter-spacing: inherit; /* 1 */
|
|
color: inherit; /* 1 */
|
|
border-radius: 0; /* 2 */
|
|
background-color: transparent; /* 3 */
|
|
opacity: 1; /* 4 */
|
|
}
|
|
|
|
/*
|
|
Restore default font weight.
|
|
*/
|
|
|
|
:where(select:is([multiple], [size])) optgroup {
|
|
font-weight: bolder;
|
|
}
|
|
|
|
/*
|
|
Restore indentation.
|
|
*/
|
|
|
|
:where(select:is([multiple], [size])) optgroup option {
|
|
padding-inline-start: 20px;
|
|
}
|
|
|
|
/*
|
|
Restore space after button.
|
|
*/
|
|
|
|
::file-selector-button {
|
|
margin-inline-end: 4px;
|
|
}
|
|
|
|
/*
|
|
Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
*/
|
|
|
|
::placeholder {
|
|
opacity: 1;
|
|
}
|
|
|
|
/*
|
|
Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
|
|
crash when using \`color-mix(\u2026)\` with \`currentColor\`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
|
|
*/
|
|
|
|
@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
|
|
(contain-intrinsic-size: 1px) /* Safari 17+ */ {
|
|
::placeholder {
|
|
color: color-mix(in oklab, currentColor 50%, transparent);
|
|
}
|
|
}
|
|
|
|
/*
|
|
Prevent resizing textareas horizontally by default.
|
|
*/
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
/*
|
|
Remove the inner padding in Chrome and Safari on macOS.
|
|
*/
|
|
|
|
::-webkit-search-decoration {
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
/*
|
|
1. Ensure date/time inputs have the same height when empty in iOS Safari.
|
|
2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
|
|
*/
|
|
|
|
::-webkit-date-and-time-value {
|
|
min-height: 1lh; /* 1 */
|
|
text-align: inherit; /* 2 */
|
|
}
|
|
|
|
/*
|
|
Prevent height from changing on date/time inputs in macOS Safari when the input is set to \`display: block\`.
|
|
*/
|
|
|
|
::-webkit-datetime-edit {
|
|
display: inline-flex;
|
|
}
|
|
|
|
/*
|
|
Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
|
|
*/
|
|
|
|
::-webkit-datetime-edit-fields-wrapper {
|
|
padding: 0;
|
|
}
|
|
|
|
::-webkit-datetime-edit,
|
|
::-webkit-datetime-edit-year-field,
|
|
::-webkit-datetime-edit-month-field,
|
|
::-webkit-datetime-edit-day-field,
|
|
::-webkit-datetime-edit-hour-field,
|
|
::-webkit-datetime-edit-minute-field,
|
|
::-webkit-datetime-edit-second-field,
|
|
::-webkit-datetime-edit-millisecond-field,
|
|
::-webkit-datetime-edit-meridiem-field {
|
|
padding-block: 0;
|
|
}
|
|
|
|
/*
|
|
Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
*/
|
|
|
|
:-moz-ui-invalid {
|
|
box-shadow: none;
|
|
}
|
|
|
|
/*
|
|
Correct the inability to style the border radius in iOS Safari.
|
|
*/
|
|
|
|
button,
|
|
input:where([type="button"], [type="reset"], [type="submit"]),
|
|
::file-selector-button {
|
|
appearance: button;
|
|
}
|
|
|
|
/*
|
|
Correct the cursor style of increment and decrement buttons in Safari.
|
|
*/
|
|
|
|
::-webkit-inner-spin-button,
|
|
::-webkit-outer-spin-button {
|
|
height: auto;
|
|
}
|
|
|
|
/*
|
|
Make elements with the HTML hidden attribute stay hidden by default.
|
|
*/
|
|
|
|
[hidden]:where(:not([hidden="until-found"])) {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
@layer utilities {
|
|
@tailwind utilities;
|
|
}
|
|
`;var s4=`/*
|
|
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
2. Remove default margins and padding
|
|
3. Reset all borders.
|
|
*/
|
|
|
|
*,
|
|
::after,
|
|
::before,
|
|
::backdrop,
|
|
::file-selector-button {
|
|
box-sizing: border-box; /* 1 */
|
|
margin: 0; /* 2 */
|
|
padding: 0; /* 2 */
|
|
border: 0 solid; /* 3 */
|
|
}
|
|
|
|
/*
|
|
1. Use a consistent sensible line-height in all browsers.
|
|
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
3. Use a more readable tab size.
|
|
4. Use the user's configured \`sans\` font-family by default.
|
|
5. Use the user's configured \`sans\` font-feature-settings by default.
|
|
6. Use the user's configured \`sans\` font-variation-settings by default.
|
|
7. Disable tap highlights on iOS.
|
|
*/
|
|
|
|
html,
|
|
:host {
|
|
line-height: 1.5; /* 1 */
|
|
-webkit-text-size-adjust: 100%; /* 2 */
|
|
tab-size: 4; /* 3 */
|
|
font-family: --theme(
|
|
--default-font-family,
|
|
ui-sans-serif,
|
|
system-ui,
|
|
sans-serif,
|
|
'Apple Color Emoji',
|
|
'Segoe UI Emoji',
|
|
'Segoe UI Symbol',
|
|
'Noto Color Emoji'
|
|
); /* 4 */
|
|
font-feature-settings: --theme(--default-font-feature-settings, normal); /* 5 */
|
|
font-variation-settings: --theme(--default-font-variation-settings, normal); /* 6 */
|
|
-webkit-tap-highlight-color: transparent; /* 7 */
|
|
}
|
|
|
|
/*
|
|
1. Add the correct height in Firefox.
|
|
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
3. Reset the default border style to a 1px solid border.
|
|
*/
|
|
|
|
hr {
|
|
height: 0; /* 1 */
|
|
color: inherit; /* 2 */
|
|
border-top-width: 1px; /* 3 */
|
|
}
|
|
|
|
/*
|
|
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
*/
|
|
|
|
abbr:where([title]) {
|
|
-webkit-text-decoration: underline dotted;
|
|
text-decoration: underline dotted;
|
|
}
|
|
|
|
/*
|
|
Remove the default font size and weight for headings.
|
|
*/
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-size: inherit;
|
|
font-weight: inherit;
|
|
}
|
|
|
|
/*
|
|
Reset links to optimize for opt-in styling instead of opt-out.
|
|
*/
|
|
|
|
a {
|
|
color: inherit;
|
|
-webkit-text-decoration: inherit;
|
|
text-decoration: inherit;
|
|
}
|
|
|
|
/*
|
|
Add the correct font weight in Edge and Safari.
|
|
*/
|
|
|
|
b,
|
|
strong {
|
|
font-weight: bolder;
|
|
}
|
|
|
|
/*
|
|
1. Use the user's configured \`mono\` font-family by default.
|
|
2. Use the user's configured \`mono\` font-feature-settings by default.
|
|
3. Use the user's configured \`mono\` font-variation-settings by default.
|
|
4. Correct the odd \`em\` font sizing in all browsers.
|
|
*/
|
|
|
|
code,
|
|
kbd,
|
|
samp,
|
|
pre {
|
|
font-family: --theme(
|
|
--default-mono-font-family,
|
|
ui-monospace,
|
|
SFMono-Regular,
|
|
Menlo,
|
|
Monaco,
|
|
Consolas,
|
|
'Liberation Mono',
|
|
'Courier New',
|
|
monospace
|
|
); /* 1 */
|
|
font-feature-settings: --theme(--default-mono-font-feature-settings, normal); /* 2 */
|
|
font-variation-settings: --theme(--default-mono-font-variation-settings, normal); /* 3 */
|
|
font-size: 1em; /* 4 */
|
|
}
|
|
|
|
/*
|
|
Add the correct font size in all browsers.
|
|
*/
|
|
|
|
small {
|
|
font-size: 80%;
|
|
}
|
|
|
|
/*
|
|
Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers.
|
|
*/
|
|
|
|
sub,
|
|
sup {
|
|
font-size: 75%;
|
|
line-height: 0;
|
|
position: relative;
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
sub {
|
|
bottom: -0.25em;
|
|
}
|
|
|
|
sup {
|
|
top: -0.5em;
|
|
}
|
|
|
|
/*
|
|
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
3. Remove gaps between table borders by default.
|
|
*/
|
|
|
|
table {
|
|
text-indent: 0; /* 1 */
|
|
border-color: inherit; /* 2 */
|
|
border-collapse: collapse; /* 3 */
|
|
}
|
|
|
|
/*
|
|
Use the modern Firefox focus style for all focusable elements.
|
|
*/
|
|
|
|
:-moz-focusring {
|
|
outline: auto;
|
|
}
|
|
|
|
/*
|
|
Add the correct vertical alignment in Chrome and Firefox.
|
|
*/
|
|
|
|
progress {
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
/*
|
|
Add the correct display in Chrome and Safari.
|
|
*/
|
|
|
|
summary {
|
|
display: list-item;
|
|
}
|
|
|
|
/*
|
|
Make lists unstyled by default.
|
|
*/
|
|
|
|
ol,
|
|
ul,
|
|
menu {
|
|
list-style: none;
|
|
}
|
|
|
|
/*
|
|
1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
*/
|
|
|
|
img,
|
|
svg,
|
|
video,
|
|
canvas,
|
|
audio,
|
|
iframe,
|
|
embed,
|
|
object {
|
|
display: block; /* 1 */
|
|
vertical-align: middle; /* 2 */
|
|
}
|
|
|
|
/*
|
|
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
*/
|
|
|
|
img,
|
|
video {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
/*
|
|
1. Inherit font styles in all browsers.
|
|
2. Remove border radius in all browsers.
|
|
3. Remove background color in all browsers.
|
|
4. Ensure consistent opacity for disabled states in all browsers.
|
|
*/
|
|
|
|
button,
|
|
input,
|
|
select,
|
|
optgroup,
|
|
textarea,
|
|
::file-selector-button {
|
|
font: inherit; /* 1 */
|
|
font-feature-settings: inherit; /* 1 */
|
|
font-variation-settings: inherit; /* 1 */
|
|
letter-spacing: inherit; /* 1 */
|
|
color: inherit; /* 1 */
|
|
border-radius: 0; /* 2 */
|
|
background-color: transparent; /* 3 */
|
|
opacity: 1; /* 4 */
|
|
}
|
|
|
|
/*
|
|
Restore default font weight.
|
|
*/
|
|
|
|
:where(select:is([multiple], [size])) optgroup {
|
|
font-weight: bolder;
|
|
}
|
|
|
|
/*
|
|
Restore indentation.
|
|
*/
|
|
|
|
:where(select:is([multiple], [size])) optgroup option {
|
|
padding-inline-start: 20px;
|
|
}
|
|
|
|
/*
|
|
Restore space after button.
|
|
*/
|
|
|
|
::file-selector-button {
|
|
margin-inline-end: 4px;
|
|
}
|
|
|
|
/*
|
|
Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
*/
|
|
|
|
::placeholder {
|
|
opacity: 1;
|
|
}
|
|
|
|
/*
|
|
Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
|
|
crash when using \`color-mix(\u2026)\` with \`currentColor\`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
|
|
*/
|
|
|
|
@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
|
|
(contain-intrinsic-size: 1px) /* Safari 17+ */ {
|
|
::placeholder {
|
|
color: color-mix(in oklab, currentColor 50%, transparent);
|
|
}
|
|
}
|
|
|
|
/*
|
|
Prevent resizing textareas horizontally by default.
|
|
*/
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
/*
|
|
Remove the inner padding in Chrome and Safari on macOS.
|
|
*/
|
|
|
|
::-webkit-search-decoration {
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
/*
|
|
1. Ensure date/time inputs have the same height when empty in iOS Safari.
|
|
2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
|
|
*/
|
|
|
|
::-webkit-date-and-time-value {
|
|
min-height: 1lh; /* 1 */
|
|
text-align: inherit; /* 2 */
|
|
}
|
|
|
|
/*
|
|
Prevent height from changing on date/time inputs in macOS Safari when the input is set to \`display: block\`.
|
|
*/
|
|
|
|
::-webkit-datetime-edit {
|
|
display: inline-flex;
|
|
}
|
|
|
|
/*
|
|
Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
|
|
*/
|
|
|
|
::-webkit-datetime-edit-fields-wrapper {
|
|
padding: 0;
|
|
}
|
|
|
|
::-webkit-datetime-edit,
|
|
::-webkit-datetime-edit-year-field,
|
|
::-webkit-datetime-edit-month-field,
|
|
::-webkit-datetime-edit-day-field,
|
|
::-webkit-datetime-edit-hour-field,
|
|
::-webkit-datetime-edit-minute-field,
|
|
::-webkit-datetime-edit-second-field,
|
|
::-webkit-datetime-edit-millisecond-field,
|
|
::-webkit-datetime-edit-meridiem-field {
|
|
padding-block: 0;
|
|
}
|
|
|
|
/*
|
|
Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
*/
|
|
|
|
:-moz-ui-invalid {
|
|
box-shadow: none;
|
|
}
|
|
|
|
/*
|
|
Correct the inability to style the border radius in iOS Safari.
|
|
*/
|
|
|
|
button,
|
|
input:where([type='button'], [type='reset'], [type='submit']),
|
|
::file-selector-button {
|
|
appearance: button;
|
|
}
|
|
|
|
/*
|
|
Correct the cursor style of increment and decrement buttons in Safari.
|
|
*/
|
|
|
|
::-webkit-inner-spin-button,
|
|
::-webkit-outer-spin-button {
|
|
height: auto;
|
|
}
|
|
|
|
/*
|
|
Make elements with the HTML hidden attribute stay hidden by default.
|
|
*/
|
|
|
|
[hidden]:where(:not([hidden='until-found'])) {
|
|
display: none !important;
|
|
}
|
|
`;var a4=`@theme default {
|
|
--font-sans:
|
|
ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
'Noto Color Emoji';
|
|
--font-serif: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
|
|
--font-mono:
|
|
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
|
monospace;
|
|
|
|
--color-red-50: oklch(97.1% 0.013 17.38);
|
|
--color-red-100: oklch(93.6% 0.032 17.717);
|
|
--color-red-200: oklch(88.5% 0.062 18.334);
|
|
--color-red-300: oklch(80.8% 0.114 19.571);
|
|
--color-red-400: oklch(70.4% 0.191 22.216);
|
|
--color-red-500: oklch(63.7% 0.237 25.331);
|
|
--color-red-600: oklch(57.7% 0.245 27.325);
|
|
--color-red-700: oklch(50.5% 0.213 27.518);
|
|
--color-red-800: oklch(44.4% 0.177 26.899);
|
|
--color-red-900: oklch(39.6% 0.141 25.723);
|
|
--color-red-950: oklch(25.8% 0.092 26.042);
|
|
|
|
--color-orange-50: oklch(98% 0.016 73.684);
|
|
--color-orange-100: oklch(95.4% 0.038 75.164);
|
|
--color-orange-200: oklch(90.1% 0.076 70.697);
|
|
--color-orange-300: oklch(83.7% 0.128 66.29);
|
|
--color-orange-400: oklch(75% 0.183 55.934);
|
|
--color-orange-500: oklch(70.5% 0.213 47.604);
|
|
--color-orange-600: oklch(64.6% 0.222 41.116);
|
|
--color-orange-700: oklch(55.3% 0.195 38.402);
|
|
--color-orange-800: oklch(47% 0.157 37.304);
|
|
--color-orange-900: oklch(40.8% 0.123 38.172);
|
|
--color-orange-950: oklch(26.6% 0.079 36.259);
|
|
|
|
--color-amber-50: oklch(98.7% 0.022 95.277);
|
|
--color-amber-100: oklch(96.2% 0.059 95.617);
|
|
--color-amber-200: oklch(92.4% 0.12 95.746);
|
|
--color-amber-300: oklch(87.9% 0.169 91.605);
|
|
--color-amber-400: oklch(82.8% 0.189 84.429);
|
|
--color-amber-500: oklch(76.9% 0.188 70.08);
|
|
--color-amber-600: oklch(66.6% 0.179 58.318);
|
|
--color-amber-700: oklch(55.5% 0.163 48.998);
|
|
--color-amber-800: oklch(47.3% 0.137 46.201);
|
|
--color-amber-900: oklch(41.4% 0.112 45.904);
|
|
--color-amber-950: oklch(27.9% 0.077 45.635);
|
|
|
|
--color-yellow-50: oklch(98.7% 0.026 102.212);
|
|
--color-yellow-100: oklch(97.3% 0.071 103.193);
|
|
--color-yellow-200: oklch(94.5% 0.129 101.54);
|
|
--color-yellow-300: oklch(90.5% 0.182 98.111);
|
|
--color-yellow-400: oklch(85.2% 0.199 91.936);
|
|
--color-yellow-500: oklch(79.5% 0.184 86.047);
|
|
--color-yellow-600: oklch(68.1% 0.162 75.834);
|
|
--color-yellow-700: oklch(55.4% 0.135 66.442);
|
|
--color-yellow-800: oklch(47.6% 0.114 61.907);
|
|
--color-yellow-900: oklch(42.1% 0.095 57.708);
|
|
--color-yellow-950: oklch(28.6% 0.066 53.813);
|
|
|
|
--color-lime-50: oklch(98.6% 0.031 120.757);
|
|
--color-lime-100: oklch(96.7% 0.067 122.328);
|
|
--color-lime-200: oklch(93.8% 0.127 124.321);
|
|
--color-lime-300: oklch(89.7% 0.196 126.665);
|
|
--color-lime-400: oklch(84.1% 0.238 128.85);
|
|
--color-lime-500: oklch(76.8% 0.233 130.85);
|
|
--color-lime-600: oklch(64.8% 0.2 131.684);
|
|
--color-lime-700: oklch(53.2% 0.157 131.589);
|
|
--color-lime-800: oklch(45.3% 0.124 130.933);
|
|
--color-lime-900: oklch(40.5% 0.101 131.063);
|
|
--color-lime-950: oklch(27.4% 0.072 132.109);
|
|
|
|
--color-green-50: oklch(98.2% 0.018 155.826);
|
|
--color-green-100: oklch(96.2% 0.044 156.743);
|
|
--color-green-200: oklch(92.5% 0.084 155.995);
|
|
--color-green-300: oklch(87.1% 0.15 154.449);
|
|
--color-green-400: oklch(79.2% 0.209 151.711);
|
|
--color-green-500: oklch(72.3% 0.219 149.579);
|
|
--color-green-600: oklch(62.7% 0.194 149.214);
|
|
--color-green-700: oklch(52.7% 0.154 150.069);
|
|
--color-green-800: oklch(44.8% 0.119 151.328);
|
|
--color-green-900: oklch(39.3% 0.095 152.535);
|
|
--color-green-950: oklch(26.6% 0.065 152.934);
|
|
|
|
--color-emerald-50: oklch(97.9% 0.021 166.113);
|
|
--color-emerald-100: oklch(95% 0.052 163.051);
|
|
--color-emerald-200: oklch(90.5% 0.093 164.15);
|
|
--color-emerald-300: oklch(84.5% 0.143 164.978);
|
|
--color-emerald-400: oklch(76.5% 0.177 163.223);
|
|
--color-emerald-500: oklch(69.6% 0.17 162.48);
|
|
--color-emerald-600: oklch(59.6% 0.145 163.225);
|
|
--color-emerald-700: oklch(50.8% 0.118 165.612);
|
|
--color-emerald-800: oklch(43.2% 0.095 166.913);
|
|
--color-emerald-900: oklch(37.8% 0.077 168.94);
|
|
--color-emerald-950: oklch(26.2% 0.051 172.552);
|
|
|
|
--color-teal-50: oklch(98.4% 0.014 180.72);
|
|
--color-teal-100: oklch(95.3% 0.051 180.801);
|
|
--color-teal-200: oklch(91% 0.096 180.426);
|
|
--color-teal-300: oklch(85.5% 0.138 181.071);
|
|
--color-teal-400: oklch(77.7% 0.152 181.912);
|
|
--color-teal-500: oklch(70.4% 0.14 182.503);
|
|
--color-teal-600: oklch(60% 0.118 184.704);
|
|
--color-teal-700: oklch(51.1% 0.096 186.391);
|
|
--color-teal-800: oklch(43.7% 0.078 188.216);
|
|
--color-teal-900: oklch(38.6% 0.063 188.416);
|
|
--color-teal-950: oklch(27.7% 0.046 192.524);
|
|
|
|
--color-cyan-50: oklch(98.4% 0.019 200.873);
|
|
--color-cyan-100: oklch(95.6% 0.045 203.388);
|
|
--color-cyan-200: oklch(91.7% 0.08 205.041);
|
|
--color-cyan-300: oklch(86.5% 0.127 207.078);
|
|
--color-cyan-400: oklch(78.9% 0.154 211.53);
|
|
--color-cyan-500: oklch(71.5% 0.143 215.221);
|
|
--color-cyan-600: oklch(60.9% 0.126 221.723);
|
|
--color-cyan-700: oklch(52% 0.105 223.128);
|
|
--color-cyan-800: oklch(45% 0.085 224.283);
|
|
--color-cyan-900: oklch(39.8% 0.07 227.392);
|
|
--color-cyan-950: oklch(30.2% 0.056 229.695);
|
|
|
|
--color-sky-50: oklch(97.7% 0.013 236.62);
|
|
--color-sky-100: oklch(95.1% 0.026 236.824);
|
|
--color-sky-200: oklch(90.1% 0.058 230.902);
|
|
--color-sky-300: oklch(82.8% 0.111 230.318);
|
|
--color-sky-400: oklch(74.6% 0.16 232.661);
|
|
--color-sky-500: oklch(68.5% 0.169 237.323);
|
|
--color-sky-600: oklch(58.8% 0.158 241.966);
|
|
--color-sky-700: oklch(50% 0.134 242.749);
|
|
--color-sky-800: oklch(44.3% 0.11 240.79);
|
|
--color-sky-900: oklch(39.1% 0.09 240.876);
|
|
--color-sky-950: oklch(29.3% 0.066 243.157);
|
|
|
|
--color-blue-50: oklch(97% 0.014 254.604);
|
|
--color-blue-100: oklch(93.2% 0.032 255.585);
|
|
--color-blue-200: oklch(88.2% 0.059 254.128);
|
|
--color-blue-300: oklch(80.9% 0.105 251.813);
|
|
--color-blue-400: oklch(70.7% 0.165 254.624);
|
|
--color-blue-500: oklch(62.3% 0.214 259.815);
|
|
--color-blue-600: oklch(54.6% 0.245 262.881);
|
|
--color-blue-700: oklch(48.8% 0.243 264.376);
|
|
--color-blue-800: oklch(42.4% 0.199 265.638);
|
|
--color-blue-900: oklch(37.9% 0.146 265.522);
|
|
--color-blue-950: oklch(28.2% 0.091 267.935);
|
|
|
|
--color-indigo-50: oklch(96.2% 0.018 272.314);
|
|
--color-indigo-100: oklch(93% 0.034 272.788);
|
|
--color-indigo-200: oklch(87% 0.065 274.039);
|
|
--color-indigo-300: oklch(78.5% 0.115 274.713);
|
|
--color-indigo-400: oklch(67.3% 0.182 276.935);
|
|
--color-indigo-500: oklch(58.5% 0.233 277.117);
|
|
--color-indigo-600: oklch(51.1% 0.262 276.966);
|
|
--color-indigo-700: oklch(45.7% 0.24 277.023);
|
|
--color-indigo-800: oklch(39.8% 0.195 277.366);
|
|
--color-indigo-900: oklch(35.9% 0.144 278.697);
|
|
--color-indigo-950: oklch(25.7% 0.09 281.288);
|
|
|
|
--color-violet-50: oklch(96.9% 0.016 293.756);
|
|
--color-violet-100: oklch(94.3% 0.029 294.588);
|
|
--color-violet-200: oklch(89.4% 0.057 293.283);
|
|
--color-violet-300: oklch(81.1% 0.111 293.571);
|
|
--color-violet-400: oklch(70.2% 0.183 293.541);
|
|
--color-violet-500: oklch(60.6% 0.25 292.717);
|
|
--color-violet-600: oklch(54.1% 0.281 293.009);
|
|
--color-violet-700: oklch(49.1% 0.27 292.581);
|
|
--color-violet-800: oklch(43.2% 0.232 292.759);
|
|
--color-violet-900: oklch(38% 0.189 293.745);
|
|
--color-violet-950: oklch(28.3% 0.141 291.089);
|
|
|
|
--color-purple-50: oklch(97.7% 0.014 308.299);
|
|
--color-purple-100: oklch(94.6% 0.033 307.174);
|
|
--color-purple-200: oklch(90.2% 0.063 306.703);
|
|
--color-purple-300: oklch(82.7% 0.119 306.383);
|
|
--color-purple-400: oklch(71.4% 0.203 305.504);
|
|
--color-purple-500: oklch(62.7% 0.265 303.9);
|
|
--color-purple-600: oklch(55.8% 0.288 302.321);
|
|
--color-purple-700: oklch(49.6% 0.265 301.924);
|
|
--color-purple-800: oklch(43.8% 0.218 303.724);
|
|
--color-purple-900: oklch(38.1% 0.176 304.987);
|
|
--color-purple-950: oklch(29.1% 0.149 302.717);
|
|
|
|
--color-fuchsia-50: oklch(97.7% 0.017 320.058);
|
|
--color-fuchsia-100: oklch(95.2% 0.037 318.852);
|
|
--color-fuchsia-200: oklch(90.3% 0.076 319.62);
|
|
--color-fuchsia-300: oklch(83.3% 0.145 321.434);
|
|
--color-fuchsia-400: oklch(74% 0.238 322.16);
|
|
--color-fuchsia-500: oklch(66.7% 0.295 322.15);
|
|
--color-fuchsia-600: oklch(59.1% 0.293 322.896);
|
|
--color-fuchsia-700: oklch(51.8% 0.253 323.949);
|
|
--color-fuchsia-800: oklch(45.2% 0.211 324.591);
|
|
--color-fuchsia-900: oklch(40.1% 0.17 325.612);
|
|
--color-fuchsia-950: oklch(29.3% 0.136 325.661);
|
|
|
|
--color-pink-50: oklch(97.1% 0.014 343.198);
|
|
--color-pink-100: oklch(94.8% 0.028 342.258);
|
|
--color-pink-200: oklch(89.9% 0.061 343.231);
|
|
--color-pink-300: oklch(82.3% 0.12 346.018);
|
|
--color-pink-400: oklch(71.8% 0.202 349.761);
|
|
--color-pink-500: oklch(65.6% 0.241 354.308);
|
|
--color-pink-600: oklch(59.2% 0.249 0.584);
|
|
--color-pink-700: oklch(52.5% 0.223 3.958);
|
|
--color-pink-800: oklch(45.9% 0.187 3.815);
|
|
--color-pink-900: oklch(40.8% 0.153 2.432);
|
|
--color-pink-950: oklch(28.4% 0.109 3.907);
|
|
|
|
--color-rose-50: oklch(96.9% 0.015 12.422);
|
|
--color-rose-100: oklch(94.1% 0.03 12.58);
|
|
--color-rose-200: oklch(89.2% 0.058 10.001);
|
|
--color-rose-300: oklch(81% 0.117 11.638);
|
|
--color-rose-400: oklch(71.2% 0.194 13.428);
|
|
--color-rose-500: oklch(64.5% 0.246 16.439);
|
|
--color-rose-600: oklch(58.6% 0.253 17.585);
|
|
--color-rose-700: oklch(51.4% 0.222 16.935);
|
|
--color-rose-800: oklch(45.5% 0.188 13.697);
|
|
--color-rose-900: oklch(41% 0.159 10.272);
|
|
--color-rose-950: oklch(27.1% 0.105 12.094);
|
|
|
|
--color-slate-50: oklch(98.4% 0.003 247.858);
|
|
--color-slate-100: oklch(96.8% 0.007 247.896);
|
|
--color-slate-200: oklch(92.9% 0.013 255.508);
|
|
--color-slate-300: oklch(86.9% 0.022 252.894);
|
|
--color-slate-400: oklch(70.4% 0.04 256.788);
|
|
--color-slate-500: oklch(55.4% 0.046 257.417);
|
|
--color-slate-600: oklch(44.6% 0.043 257.281);
|
|
--color-slate-700: oklch(37.2% 0.044 257.287);
|
|
--color-slate-800: oklch(27.9% 0.041 260.031);
|
|
--color-slate-900: oklch(20.8% 0.042 265.755);
|
|
--color-slate-950: oklch(12.9% 0.042 264.695);
|
|
|
|
--color-gray-50: oklch(98.5% 0.002 247.839);
|
|
--color-gray-100: oklch(96.7% 0.003 264.542);
|
|
--color-gray-200: oklch(92.8% 0.006 264.531);
|
|
--color-gray-300: oklch(87.2% 0.01 258.338);
|
|
--color-gray-400: oklch(70.7% 0.022 261.325);
|
|
--color-gray-500: oklch(55.1% 0.027 264.364);
|
|
--color-gray-600: oklch(44.6% 0.03 256.802);
|
|
--color-gray-700: oklch(37.3% 0.034 259.733);
|
|
--color-gray-800: oklch(27.8% 0.033 256.848);
|
|
--color-gray-900: oklch(21% 0.034 264.665);
|
|
--color-gray-950: oklch(13% 0.028 261.692);
|
|
|
|
--color-zinc-50: oklch(98.5% 0 0);
|
|
--color-zinc-100: oklch(96.7% 0.001 286.375);
|
|
--color-zinc-200: oklch(92% 0.004 286.32);
|
|
--color-zinc-300: oklch(87.1% 0.006 286.286);
|
|
--color-zinc-400: oklch(70.5% 0.015 286.067);
|
|
--color-zinc-500: oklch(55.2% 0.016 285.938);
|
|
--color-zinc-600: oklch(44.2% 0.017 285.786);
|
|
--color-zinc-700: oklch(37% 0.013 285.805);
|
|
--color-zinc-800: oklch(27.4% 0.006 286.033);
|
|
--color-zinc-900: oklch(21% 0.006 285.885);
|
|
--color-zinc-950: oklch(14.1% 0.005 285.823);
|
|
|
|
--color-neutral-50: oklch(98.5% 0 0);
|
|
--color-neutral-100: oklch(97% 0 0);
|
|
--color-neutral-200: oklch(92.2% 0 0);
|
|
--color-neutral-300: oklch(87% 0 0);
|
|
--color-neutral-400: oklch(70.8% 0 0);
|
|
--color-neutral-500: oklch(55.6% 0 0);
|
|
--color-neutral-600: oklch(43.9% 0 0);
|
|
--color-neutral-700: oklch(37.1% 0 0);
|
|
--color-neutral-800: oklch(26.9% 0 0);
|
|
--color-neutral-900: oklch(20.5% 0 0);
|
|
--color-neutral-950: oklch(14.5% 0 0);
|
|
|
|
--color-stone-50: oklch(98.5% 0.001 106.423);
|
|
--color-stone-100: oklch(97% 0.001 106.424);
|
|
--color-stone-200: oklch(92.3% 0.003 48.717);
|
|
--color-stone-300: oklch(86.9% 0.005 56.366);
|
|
--color-stone-400: oklch(70.9% 0.01 56.259);
|
|
--color-stone-500: oklch(55.3% 0.013 58.071);
|
|
--color-stone-600: oklch(44.4% 0.011 73.639);
|
|
--color-stone-700: oklch(37.4% 0.01 67.558);
|
|
--color-stone-800: oklch(26.8% 0.007 34.298);
|
|
--color-stone-900: oklch(21.6% 0.006 56.043);
|
|
--color-stone-950: oklch(14.7% 0.004 49.25);
|
|
|
|
--color-black: #000;
|
|
--color-white: #fff;
|
|
|
|
--spacing: 0.25rem;
|
|
|
|
--breakpoint-sm: 40rem;
|
|
--breakpoint-md: 48rem;
|
|
--breakpoint-lg: 64rem;
|
|
--breakpoint-xl: 80rem;
|
|
--breakpoint-2xl: 96rem;
|
|
|
|
--container-3xs: 16rem;
|
|
--container-2xs: 18rem;
|
|
--container-xs: 20rem;
|
|
--container-sm: 24rem;
|
|
--container-md: 28rem;
|
|
--container-lg: 32rem;
|
|
--container-xl: 36rem;
|
|
--container-2xl: 42rem;
|
|
--container-3xl: 48rem;
|
|
--container-4xl: 56rem;
|
|
--container-5xl: 64rem;
|
|
--container-6xl: 72rem;
|
|
--container-7xl: 80rem;
|
|
|
|
--text-xs: 0.75rem;
|
|
--text-xs--line-height: calc(1 / 0.75);
|
|
--text-sm: 0.875rem;
|
|
--text-sm--line-height: calc(1.25 / 0.875);
|
|
--text-base: 1rem;
|
|
--text-base--line-height: calc(1.5 / 1);
|
|
--text-lg: 1.125rem;
|
|
--text-lg--line-height: calc(1.75 / 1.125);
|
|
--text-xl: 1.25rem;
|
|
--text-xl--line-height: calc(1.75 / 1.25);
|
|
--text-2xl: 1.5rem;
|
|
--text-2xl--line-height: calc(2 / 1.5);
|
|
--text-3xl: 1.875rem;
|
|
--text-3xl--line-height: calc(2.25 / 1.875);
|
|
--text-4xl: 2.25rem;
|
|
--text-4xl--line-height: calc(2.5 / 2.25);
|
|
--text-5xl: 3rem;
|
|
--text-5xl--line-height: 1;
|
|
--text-6xl: 3.75rem;
|
|
--text-6xl--line-height: 1;
|
|
--text-7xl: 4.5rem;
|
|
--text-7xl--line-height: 1;
|
|
--text-8xl: 6rem;
|
|
--text-8xl--line-height: 1;
|
|
--text-9xl: 8rem;
|
|
--text-9xl--line-height: 1;
|
|
|
|
--font-weight-thin: 100;
|
|
--font-weight-extralight: 200;
|
|
--font-weight-light: 300;
|
|
--font-weight-normal: 400;
|
|
--font-weight-medium: 500;
|
|
--font-weight-semibold: 600;
|
|
--font-weight-bold: 700;
|
|
--font-weight-extrabold: 800;
|
|
--font-weight-black: 900;
|
|
|
|
--tracking-tighter: -0.05em;
|
|
--tracking-tight: -0.025em;
|
|
--tracking-normal: 0em;
|
|
--tracking-wide: 0.025em;
|
|
--tracking-wider: 0.05em;
|
|
--tracking-widest: 0.1em;
|
|
|
|
--leading-tight: 1.25;
|
|
--leading-snug: 1.375;
|
|
--leading-normal: 1.5;
|
|
--leading-relaxed: 1.625;
|
|
--leading-loose: 2;
|
|
|
|
--radius-xs: 0.125rem;
|
|
--radius-sm: 0.25rem;
|
|
--radius-md: 0.375rem;
|
|
--radius-lg: 0.5rem;
|
|
--radius-xl: 0.75rem;
|
|
--radius-2xl: 1rem;
|
|
--radius-3xl: 1.5rem;
|
|
--radius-4xl: 2rem;
|
|
|
|
--shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
|
|
--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
--shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
|
|
--inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);
|
|
--inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);
|
|
--inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);
|
|
|
|
--drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05);
|
|
--drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15);
|
|
--drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12);
|
|
--drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);
|
|
--drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);
|
|
--drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);
|
|
|
|
--text-shadow-2xs: 0px 1px 0px rgb(0 0 0 / 0.15);
|
|
--text-shadow-xs: 0px 1px 1px rgb(0 0 0 / 0.2);
|
|
--text-shadow-sm:
|
|
0px 1px 0px rgb(0 0 0 / 0.075), 0px 1px 1px rgb(0 0 0 / 0.075), 0px 2px 2px rgb(0 0 0 / 0.075);
|
|
--text-shadow-md:
|
|
0px 1px 1px rgb(0 0 0 / 0.1), 0px 1px 2px rgb(0 0 0 / 0.1), 0px 2px 4px rgb(0 0 0 / 0.1);
|
|
--text-shadow-lg:
|
|
0px 1px 2px rgb(0 0 0 / 0.1), 0px 3px 2px rgb(0 0 0 / 0.1), 0px 4px 8px rgb(0 0 0 / 0.1);
|
|
|
|
--ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
--animate-spin: spin 1s linear infinite;
|
|
--animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
|
|
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
--animate-bounce: bounce 1s infinite;
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes ping {
|
|
75%,
|
|
100% {
|
|
transform: scale(2);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes pulse {
|
|
50% {
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
@keyframes bounce {
|
|
0%,
|
|
100% {
|
|
transform: translateY(-25%);
|
|
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
}
|
|
|
|
50% {
|
|
transform: none;
|
|
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
}
|
|
}
|
|
|
|
--blur-xs: 4px;
|
|
--blur-sm: 8px;
|
|
--blur-md: 12px;
|
|
--blur-lg: 16px;
|
|
--blur-xl: 24px;
|
|
--blur-2xl: 40px;
|
|
--blur-3xl: 64px;
|
|
|
|
--perspective-dramatic: 100px;
|
|
--perspective-near: 300px;
|
|
--perspective-normal: 500px;
|
|
--perspective-midrange: 800px;
|
|
--perspective-distant: 1200px;
|
|
|
|
--aspect-video: 16 / 9;
|
|
|
|
--default-transition-duration: 150ms;
|
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
--default-font-family: --theme(--font-sans, initial);
|
|
--default-font-feature-settings: --theme(--font-sans--font-feature-settings, initial);
|
|
--default-font-variation-settings: --theme(--font-sans--font-variation-settings, initial);
|
|
--default-mono-font-family: --theme(--font-mono, initial);
|
|
--default-mono-font-feature-settings: --theme(--font-mono--font-feature-settings, initial);
|
|
--default-mono-font-variation-settings: --theme(--font-mono--font-variation-settings, initial);
|
|
}
|
|
|
|
/* Deprecated */
|
|
@theme default inline reference {
|
|
--blur: 8px;
|
|
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
--shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
|
|
--drop-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 1px 1px rgb(0 0 0 / 0.06);
|
|
--radius: 0.25rem;
|
|
--max-width-prose: 65ch;
|
|
}
|
|
`;var o4=`@tailwind utilities;
|
|
`;var l4={tailwindcss:wC,"tailwindcss/index":wC,"tailwindcss/index.css":wC,"tailwindcss/preflight":s4,"tailwindcss/preflight.css":s4,"tailwindcss/theme":a4,"tailwindcss/theme.css":a4,"tailwindcss/utilities":o4,"tailwindcss/utilities.css":o4};var kC={"@tailwindcss/forms":()=>Promise.resolve().then(()=>mr(jw())).then(e=>e.default),"@tailwindcss/aspect-ratio":()=>Promise.resolve().then(()=>mr(Tw())).then(e=>e.default),"@tailwindcss/typography":()=>Promise.resolve().then(()=>mr(Zk())).then(e=>e.default)};var kpt=/@import\s*(?:'tailwindcss'|"tailwindcss")/,Npt=/@theme\s*\{/;async function Rpt(e){return Npt.test(e)||kpt.test(e)}function c4({dependencies:e,legacy:t,jiti:n,filepath:i,resolver:o,onError:r}){let c=`${+Date.now()}`;async function s(u,H,a){try{let l=await o.resolveJsId(u,H);e.add(l);let p=AH(l);return p.searchParams.append("t",c),await n.import(p.href,{default:!0})}catch(l){if(a==="plugin"&&u in kC)return console.log("Loading bundled plugin for: ",u),await kC[u]();if(l&&typeof l.details=="string"){let p=l.details,d=/^resolve '([^']+)'/,h=p.match(d);if(h){let[m,g]=h;g in kC&&console.log(`[error] Cannot load '${u}' plugins inside configs or plugins is not currently supported`)}}return r(u,l,a)}}if(t){let u=NC.dirname(i);return H=>s(H,u,"module")}return async(u,H,a)=>({base:H,module:await s(u,H,a)})}async function u4(e,t,n,i,o){if(!t.__unstable__loadDesignSystem||!Rpt(i))return null;let r=new Set,c=!1;try{await t.__unstable__loadDesignSystem(i,{loadStylesheet:async(H,a)=>(c=!0,{base:a,content:""})})}catch{}c||(i=(await JL({resolver:e}).process(i,{from:n})).css);let s=Bme(__filename,{moduleCache:!1,fsCache:!1}),u=await t.__unstable__loadDesignSystem(i,{base:NC.dirname(n),loadModule:c4({dependencies:r,legacy:!1,jiti:s,filepath:n,resolver:e,onError:(H,a,l)=>{if(console.error(`Unable to load ${l}: ${H}`,a),l==="config")return{};if(l==="plugin")return()=>{}}}),loadStylesheet:async(H,a)=>{try{let l=await e.resolveCssId(H,a);return r.add(l),{base:NC.dirname(l),content:await Ome.readFile(l,"utf-8")}}catch(l){return o&&H in l4?(console.error(`Loading fallback stylesheet for: ${H}`),{base:a,content:l4[H]}):(console.error(`Unable to load stylesheet: ${H}`,l),{base:a,content:""})}},loadPlugin:c4({dependencies:r,legacy:!0,jiti:s,filepath:n,resolver:e,onError(H,a){return console.error(`Unable to load plugin: ${H}`,a),()=>{}}}),loadConfig:c4({dependencies:r,legacy:!0,jiti:s,filepath:n,resolver:e,onError(H,a){return console.error(`Unable to load config: ${H}`,a),{}}})});return Object.assign(u,{dependencies:()=>r,compile(H){let a=u.candidatesToCss(H),l=[],p=a.map(d=>{if(d===null)return ql.root();try{return ql.parse(d.trimEnd())}catch(h){return l.push(h),ql.root()}});return l.length>0&&console.error(JSON.stringify(l)),p},toCss(H){return Array.isArray(H)?ql.root({nodes:H}).toString().trim():H.toString().trim()}}),u}var Wme=Object.keys(Qme.default);function Vme(e,t){return JSON.stringify([e,...t].map(n=>[n,sh.statSync(n).mtimeMs]))}function Yme(e){if(typeof e.mode<"u")return e.mode;if(Array.isArray(e.presets))for(let t=e.presets.length-1;t>=0;t--){let n=Yme(e.presets[t]);if(typeof n<"u")return n}}function eEe(e){if(delete e.mode,Array.isArray(e.presets))for(let t of e.presets)eEe(t)}function RC(e,t){let n,i=wa.dirname(e),o=[e,i];if(i===t)return o;for(;i=wa.dirname(n=i),n!==i;)if(o.push(i),i===t)break;return o}async function tEe(e,t,n,i,o,r,c,s,u,H,a,l,p){let d=new Set;d.add(t.configPath);let h=!1,m=t.folder,g=[],y=t.documentSelector,_=i.capabilities.textDocument?.completion?.completionList?.itemDefaults??[];i.clientInfo?.name?.includes("Visual Studio Code")&&!_.includes("data")&&_.push("data");let E={enabled:!1,features:[],completionItemData:{_projectKey:e},editor:{connection:n,folder:m,userLanguages:l,capabilities:{configuration:!0,diagnosticRelatedInformation:!0,itemDefaults:_},getConfiguration:a,getDocumentSymbols:O=>n.sendRequest("@/tailwindCSS/getDocumentSymbols",{uri:O}),async readDirectory(O,j){try{let k=wa.dirname(TL(O.uri));j=await A.substituteId(`${j}/`,k),j=wa.resolve(k,j);let $=await sh.promises.readdir(j,{withFileTypes:!0});return(await Promise.all($.map(async F=>{let P=F.isDirectory();return await KH(E,O,wa.join(j,F.name,P?"/":""))?null:[F.name,{isDirectory:P}]}))).filter(F=>F!==null)}catch{return[]}}}};if(t.configPath&&t.config.source==="js"){let O=[];try{O=CL(t.configPath)}catch{}u([...RC(t.configPath,t.folder),...O.flatMap(j=>RC(j,t.folder))])}let A=await p.child({root:t.folder});function S(...O){console.log(`[${wa.relative(t.folder,t.configPath)}] ${O.join(" ")}`)}async function T(O){let j=!1,k=!1,$=(0,Xme.default)(`**/${zh}`,{dot:!0});for(let U of O){let F=zi(As(U.file)),P=of(F,[t.configPath]),W=of(F,E.dependencies??[]),Z=$(F);if(!(!P&&!W&&!Z)){if(!h){!t.isUserConfigured&&t.configPath&&(P||W)&&(y=await PC(t.config,E.features,A),c());continue}if(U.type===$C.FileChangeType.Created){S("File created:",U.file),j=!0;break}else if(U.type===$C.FileChangeType.Changed)if(S("File changed:",U.file),!E.enabled||Z){j=!0;break}else k=!0;else if(U.type===$C.FileChangeType.Deleted)if(S("File deleted:",U.file),!E.enabled||P||Z){j=!0;break}else k=!0}}j?L():k&&x()}function I(){Object.keys(E).forEach(O=>{O!=="editor"&&O!=="dependencies"&&delete E[O]}),E.enabled=!1,s(),r(),n.sendNotification("@/tailwindCSS/projectReset")}async function L(){if(h)try{await C(),n.sendNotification("@/tailwindCSS/projectInitialized")}catch(O){I(),mw(n,O)}}async function x(){if(h)try{await D()}catch(O){I(),mw(n,O)}}async function C(){S("Initializing..."),oy();let O=t.configPath;if(!O)throw new CA("No config file found.");u(RC(O,t.folder));let j=Ug.default.sync(He=>{let be=wa.join(He,".pnp.js");if(Ug.default.sync.exists(be)||(be=wa.join(He,".pnp.cjs"),Ug.default.sync.exists(be)))return be;if(He===wa.normalize(m))return Ug.default.stop},{cwd:m});if(j){let He=require(j);He.setup(),N6(He)}let k=t.config.source==="js"?CL(O):[],$=Vme(O,k),U=wa.dirname(O),F,P,W,Z,ee,J,ne,K,q,Q,z,ie={future:[],experimental:[]},_e;try{let He=await A.resolveCjsId("tailwindcss/package.json",U),be=wa.dirname(He);if(ee=require(He).version,await A.hasPnP()){let he=await A.resolveCjsId("tailwindcss",U);F=require(he)}else{let he=await A.resolveJsId("tailwindcss",U);F=await import(AH(he).href)}let Ve=Nf(ee,F);if(S(`supported features: ${JSON.stringify(Ve)}`),E.features=Ve,i.initializationOptions?.testMode&&(E.features=[...E.features,...i.initializationOptions.additionalFeatures??[]]),Ve.includes("css-at-theme")||(F=F.default??F),S(`Loaded tailwindcss v${ee}: ${be}`),Ve.includes("css-at-theme"))return E.configPath=O,E.version=ee,E.isCssConfig=!0,E.v4=!0,E.jit=!0,E.modules={tailwindcss:{version:ee,module:F},postcss:{version:null,module:null},resolveConfig:{module:null},loadConfig:{module:null}},x();if(t.config.source==="css"){S("CSS-based configuration is not supported before Tailwind CSS v4"),E.enabled=!1,h=!1;return}let Fe=await A.resolveCjsId("postcss",be),me=await A.resolveCjsId("postcss/package.json",be),ce=wa.dirname(me),ke=await A.resolveCjsId("postcss-selector-parser",be);if(J=require(me).version,ne=Object.keys(iI).map(he=>{try{return require(fs(U,`${he}/package.json`)).version}catch{return""}}).join(","),E.enabled&&J===E.modules.postcss.version&&ee===E.modules.tailwindcss.version&&ne===E.pluginVersions&&O===E.configPath&&$===E.configId)return;S(`Loaded Tailwind CSS config file: ${O}`),P=require(Fe),W=require(ke),S(`Loaded postcss v${J}: ${ce}`);try{q=require(fs(be,"./resolveConfig.js"))}catch{try{let se=require(fs(be,"./lib/util/resolveConfig.js")),Ie=require(fs(be,"./stubs/defaultConfig.stub.js"));q=ye=>se([ye,Ie])}catch{try{let Ie=require(fs(be,"./lib/util/mergeConfigWithDefaults.js")),ye=require(fs(be,"./defaultConfig.js"));q=$e=>Ie.default($e,ye())}catch{throw Error("Failed to load resolveConfig function.")}}}try{let he=require(fs(be,"./lib/util/transformThemeValue.js"));Q=he.default??he}catch{}try{z=require(fs(be,"./loadConfig.js"))}catch{}if(Tn(ee,"1.4.0")&&DH(ee,"1.99.0")){let he=fs(be,"browserslist");K=require(he)(void 0,{path:m})}Tn(ee,"1.99.0")?_e=fw(()=>require(fs(be,"./lib/lib/substituteClassApplyAtRules"))):Tn(ee,"1.7.0")&&(_e=require(fs(be,"./lib/flagged/applyComplexClasses")));try{ie=require(fs(be,"./lib/featureFlags.js")).default}catch{}let je=new Set,Oe=P.root(),re={opts:{},messages:[]},fe=()=>{};try{let he=SA(()=>{let se=require(fs(U,"tailwindcss/lib/lib/setupContextUtils")).createContext;return qg.default.strictEqual(typeof se,"function"),Ie=>se(Ie.config)},()=>{let se=require(fs(U,"tailwindcss/lib/jit/lib/setupContextUtils")).createContext;return qg.default.strictEqual(typeof se,"function"),Ie=>se(Ie.config)},()=>{let se=require(fs(U,"tailwindcss/lib/jit/lib/setupTrackingContext")).default;return qg.default.strictEqual(typeof se,"function"),Ie=>se(Ie.configPath,je,fe)(re,Oe)},()=>{let se=require(fs(U,"tailwindcss/lib/jit/lib/setupContext")).default;return qg.default.strictEqual(typeof se,"function"),Ie=>se(Ie.configPath,je)(re,Oe)});Z={generateRules:{module:SA(()=>require(fs(U,"tailwindcss/lib/lib/generateRules")).generateRules,()=>require(fs(U,"tailwindcss/lib/jit/lib/generateRules")).generateRules)},createContext:{module:he},expandApplyAtRules:{module:SA(()=>require(fs(U,"tailwindcss/lib/lib/expandApplyAtRules")).default,()=>require(fs(U,"tailwindcss/lib/jit/lib/expandApplyAtRules")).default)},evaluateTailwindFunctions:{module:fw(()=>require(fs(U,"tailwindcss/lib/lib/evaluateTailwindFunctions")).default)}}}catch{try{let se=require(fs(U,"tailwindcss/jit/lib/setupContext"));Z={generateRules:{module:require(fs(U,"tailwindcss/jit/lib/generateRules")).generateRules},createContext:{module:Ie=>se(Ie.configPath,je)(re,Oe)},expandApplyAtRules:{module:require(fs(U,"tailwindcss/jit/lib/expandApplyAtRules"))}}}catch{}}}catch(He){if(t.config.source==="css"){let Ve=await Promise.resolve().then(()=>(cM(),lM)),Fe=M$().version,me=Nf(Fe,Ve);return S("Failed to load workspace modules."),S(`Using bundled version of \`tailwindcss\`: v${Fe}`),E.configPath=O,E.version=Fe,E.isCssConfig=!0,E.v4=!0,E.v4Fallback=!0,E.jit=!0,E.features=me,i.initializationOptions?.testMode&&(E.features=[...E.features,...i.initializationOptions.additionalFeatures??[]]),E.modules={tailwindcss:{version:Fe,module:Ve},postcss:{version:null,module:null},resolveConfig:{module:null},loadConfig:{module:null}},x()}let be=await import("node:util");console.error(be.format(He)),F=i4(),q=vN(),Q=ym().default,z=Ume(),P=gl(),ee=k0().version,J=qme().version,W=vI(),Z={generateRules:{module:sg().generateRules},createContext:{module:Ve=>Am().createContext(Ve.config)},expandApplyAtRules:{module:$F().default}},S("Failed to load workspace modules."),S(`Using bundled version of \`tailwindcss\`: v${ee}`),S(`Using bundled version of \`postcss\`: v${J}`)}E.configPath=O,E.modules={tailwindcss:{version:ee,module:F},postcss:{version:J,module:P},postcssSelectorParser:{module:W},resolveConfig:{module:q},loadConfig:{module:z},transformThemeValue:{module:Q},jit:Z},E.browserslist=K,E.featureFlags=ie,E.version=ee,E.pluginVersions=ne;try{E.corePlugins=Object.keys(require(fs(wa.dirname(E.configPath),"tailwindcss/lib/plugins/index.js")))}catch{}if(_e&&!_e.default.__patched){let He=_e.default;_e.default=(be,...Ve)=>{if(E.jit)return E.modules.jit.expandApplyAtRules.module(E.jitContext);let Fe=Bp(be);Fe.separator=typeof E.separator>"u"?":":E.separator;let me=He(Fe,...Ve);return async ce=>(ce.walkRules(ke=>{let je=ke.selector.replace(/__TWSEP__(.*?)__TWSEP__/g,"$1");je!==ke.selector&&(ke.before(P.comment({text:"__ORIGINAL_SELECTOR__:"+ke.selector})),ke.selector=je)}),await me(ce),ce.walkComments(ke=>{ke.text.startsWith("__ORIGINAL_SELECTOR__:")&&(ke.next().selector=ke.text.replace(/^__ORIGINAL_SELECTOR__:/,""),ke.remove())}),ce)},_e.default.__patched=!0}await x()}async function D(){S("Building..."),oy();let{tailwindcss:O,postcss:j,resolveConfig:k,loadConfig:$}=E.modules,U=Tn(O.version,"0.99.0")?["separator"]:["options","separator"],F=[],P,W=Tn(O.version,"2.99.0"),Z;if(E.isCssConfig)try{let K=await pd(E.configPath),q=await u4(A,E.modules.tailwindcss.module,E.configPath,K,E.v4Fallback??!1);E.designSystem=q,E.blocklist=Array.from(q.invalidCandidates??[]);let Q=q.dependencies();for(let z of Q)d.add(z);u(Array.from(Q)),P={theme:{}}}catch{h=!1,E.enabled=!1;return}else if($.module){Z=new c_(sh.realpathSync(E.configPath));try{P=await $.module(E.configPath),P=P.default??P,E.jit=!0}catch(K){P=await k.module({}),E.jit=!0,console.error(`Unable to load config file at: ${E.configPath}`),console.error(K),hK(n,"Tailwind CSS is unable to load your config file",K)}finally{Z.unhook()}}else{Z=new c_(sh.realpathSync(E.configPath),K=>{P=Bp(K);let q=(0,_u.default)(K,U);typeof q!="string"&&(q=":"),$l(K,U,`__TWSEP__${q}__TWSEP__`),K[W?"content":"purge"]=[];let Q=Yme(K);if(eEe(K),W||E.modules.jit&&Q==="jit"){if(E.jit=!0,K.variants=[],Array.isArray(K.presets))for(let ie of K.presets)F.push(ie.variants),ie.variants=[]}else E.jit=!1;if(E.corePlugins){let ie={};for(let _e of E.corePlugins)ie[_e]=!0;K.corePlugins=ie}return Array.isArray(K.plugins)&&(K.plugins=K.plugins.map(ie=>{if(ie.__isOptionsFunction&&(ie=ie()),typeof ie=="function"){let _e=(...He)=>(He[0].matchUtilities||(He[0].matchUtilities=()=>{}),ie(...He));return _e.__intellisense_cache_bust=Math.random(),_e}return ie.handler?{...ie,handler:(..._e)=>(_e[0].matchUtilities||(_e[0].matchUtilities=()=>{}),ie.handler(..._e)),__intellisense_cache_bust:Math.random()}:ie})),K});try{t.config.source==="js"&&require(E.configPath)}catch(K){throw Z.unhook(),K}}if(!P)throw new CA(`Failed to load config file: ${E.configPath}`);t.isUserConfigured||(y=await PC(t.config,E.features,A,P));try{if(E.config=E.isCssConfig?P:k.module(P),E.separator=(0,_u.default)(E.config,U),typeof E.separator!="string"&&(E.separator=":"),E.v4||(E.blocklist=Array.isArray(E.config.blocklist)?E.config.blocklist:[]),delete E.config.blocklist,E.v4){let K=E.designSystem.getClassList();E.classList=K.map(q=>[q[0],{...q[1],color:gc(E,q[0])}])}else if(E.jit){if(E.jitContext=E.modules.jit.createContext.module(E),E.jitContext.tailwindConfig.separator=E.config.separator,E.jitContext.getClassList){let K=E.jitContext.getClassList({includeMetadata:!0}).filter(q=>q!=="*");E.classListContainsMetadata=K.some(q=>Array.isArray(q)),E.classList=K.map(q=>Array.isArray(q)?[q[0],{color:gc(E,q[0]),...q[1]??{}}]:[q,{color:gc(E,q)}])}}else delete E.jitContext,delete E.classList}catch(K){throw Z?.unhook(),K}let ee;if(E.classList)Z?.unhook();else try{ee=await j.module([O.module(E.configPath)]).process([Tn(O.version,"0.99.0")?"base":"preflight","components","utilities"].map(K=>`/*__tw_intellisense_layer_${K}__*/
|
|
@tailwind ${K};`).join(`
|
|
`),{from:void 0})}catch(K){throw K}finally{Z?.unhook()}E.dependencies=CL(E.configPath),u((E.dependencies??[]).flatMap(K=>RC(K,t.folder))),E.configId=Vme(E.configPath,E.dependencies),E.plugins=await Upt(P),ee&&(E.classNames=await FJ(ee.root)),E.variants=Gme(E);let J=(0,_u.default)(E.config,"theme.screens",(0,_u.default)(E.config,"screens",{}));E.screens=Pu(J)?Object.keys(J):[],E.enabled=!0,s(),r(),(i.initializationOptions?.testMode??!1)&&n.sendNotification("@/tailwindCSS/projectReloaded")}for(let O of t.config.entries){d.add(O.path);for(let j of O.deps)d.add(j.path)}return{projectConfig:t,enabled(){return h},enable(){h=!0},dependencies:()=>d,async reload(){if(!E.v4)return;console.log("---- RELOADING DESIGN SYSTEM ----"),console.log(`---- ${E.configPath} ----`);let O=await pd(E.configPath),j,k=process.hrtime.bigint();try{j=await u4(A,E.modules.tailwindcss.module,E.configPath,O,E.v4Fallback??!1)}catch(Z){throw console.error(Z),Z}let $=Object.create(E,{designSystem:{value:j}}),U=j.getClassList().map(Z=>[Z[0],{...Z[1],color:gc($,Z[0])}]);E.designSystem=j,E.classList=U,E.variants=Gme(E),E.blocklist=Array.from(j.invalidCandidates??[]);let F=j.dependencies();for(let Z of F)d.add(Z);u(Array.from(F));let P=process.hrtime.bigint()-k;console.log(`---- RELOADED IN ${(Number(P)/1e6).toFixed(2)}ms ----`),(i.initializationOptions?.testMode??!1)&&n.sendNotification("@/tailwindCSS/projectReloaded")},state:E,documentSelector(){return[...y,...t.additionalSelectors]},tryInit:L,async dispose(){E={enabled:!1,features:[]};for(let O of g)(await O).dispose()},async onUpdateSettings(O){E.enabled&&s(),r(),n.sendNotification("@/tailwindCSS/clearColors")},onFileEvents:T,async onHover(O){return af(async()=>{if(!E.enabled)return null;let j=o.getDocument(O.textDocument.uri);return!j||!(await E.editor.getConfiguration(j.uri)).tailwindCSS.hovers||await KH(E,j)?null:Cne(E,j,O.position)},null)},async onCodeLens(O){return af(async()=>{if(!E.enabled)return null;let j=o.getDocument(O.textDocument.uri);return!j||!(await E.editor.getConfiguration(j.uri)).tailwindCSS.codeLens||await KH(E,j)?null:wne(E,j)},null)},async onCompletion(O){return af(async()=>{if(!E.enabled)return null;let j=o.getDocument(O.textDocument.uri);return!j||!(await E.editor.getConfiguration(j.uri)).tailwindCSS.suggestions||await KH(E,j)?null:Wne(E,j,O.position,O.context)},null)},onCompletionResolve(O){return af(()=>E.enabled?Vne(E,O):null,null)},async onCodeAction(O){return af(async()=>{if(!E.enabled)return null;let j=o.getDocument(O.textDocument.uri);return!j||!(await E.editor.getConfiguration(j.uri)).tailwindCSS.codeActions?null:gie(E,O,j)},null)},onDocumentLinks(O){if(!E.enabled)return null;let j=o.getDocument(O.textDocument.uri);if(!j)return null;let k=d4.URI.parse(j.uri).fsPath,$=wa.dirname(k);async function U(F){return F=await A.substituteId(F,$)??F,d4.URI.file(wa.resolve($,F)).toString()}return Iie(E,j,U)},provideDiagnostics:(0,Jme.debounce)(O=>{E.enabled&&s$(E,O)},i.initializationOptions?.testMode?0:500),provideDiagnosticsForce:O=>{E.enabled&&s$(E,O)},async onDocumentColor(O){return af(async()=>{if(!E.enabled)return[];let j=o.getDocument(O.textDocument.uri);return j?await KH(E,j)?null:Aie(E,j):[]},null)},async onColorPresentation(O){let j=o.getDocument(O.textDocument.uri);if(!j)return[];let k=j.getText(O.range),$=k.match(new RegExp(`-\\[(${Wme.join("|")}|(?:(?:#|rgba?\\(|hsla?\\())[^\\]]+)\\]$`,"i"));if($===null)return[];let U=$[1],F=Wme.includes(U),P={mode:"rgb",r:O.color.red,g:O.color.green,b:O.color.blue,alpha:O.color.alpha},W=U1(P);if(!F&&(U.length===4||U.length===5)){let[,...ee]=W.match(/^#([a-f\d])\1([a-f\d])\2([a-f\d])\3(?:([a-f\d])\4)?$/i)??[];ee.length&&(W=`#${ee.filter(Boolean).join("")}`)}W.length===5?W=W.replace(/f$/,""):W.length===9&&(W=W.replace(/ff$/,""));let Z=k.substr(0,$.index);return[W,M_(P).replace(/ /g,""),G2(P).replace(/ /g,"").replace(/\d+\.\d+(%?)/g,(ee,J)=>`${Math.round(parseFloat(ee))}${J}`)].map(ee=>({label:`${Z}-[${ee}]`}))},sortClassLists(O){return E.jit?O.map(j=>{let k="",$=j.split(/(\s+)/),U=$.filter((W,Z)=>Z%2===0),F=$.filter((W,Z)=>Z%2!==0);U[U.length-1]===""&&U.pop();let P;E.v4?P=E.designSystem.getClassOrder(U):E.jitContext.getClassOrder?P=E.jitContext.getClassOrder(U):P=Opt(E,U),U=P.sort(([,W],[,Z])=>W===Z?0:W===null?-1:Z===null?1:j_(W-Z)).map(([W])=>W);for(let W=0;W<U.length;W++)k+=`${U[W]}${F[W]??""}`;return k}):O}}}function Kme(e,t){let n=e.config.prefix;return typeof n=="function"?n(t):n+t}function Opt(e,t){let n=new Set([Kme(e,"group"),Kme(e,"peer")]),i=[];for(let o of t){let r=e.modules.jit.generateRules.module(new Set([o]),e.jitContext).sort(([c],[s])=>j_(s-c))[0]?.[0]??null;r===null&&n.has(o)&&(r=e.jitContext.layerOrder.components),i.push([o,r])}return i}function Fpt(e,t,n={}){let i=t.config,o=t.modules.postcss.module,r=t.browserslist,c=r&&r.includes("ie 11")?"ie11":"relaxed",s=typeof e=="function"?e:e.handler;try{s({addUtilities:()=>{},addComponents:()=>{},addBase:()=>{},matchUtilities:()=>{},addVariant:()=>{},e:u=>u,prefix:u=>u,theme:(u,H)=>(0,_u.default)(i,`theme.${u}`,H),variants:()=>[],config:(u,H)=>(0,_u.default)(i,u,H),corePlugins:u=>Array.isArray(i.corePlugins)?i.corePlugins.includes(u):(0,_u.default)(i,`corePlugins.${u}`,!0),target:u=>{if(typeof i.target=="string")return i.target==="browserslist"?c:i.target;let[H,a]=(0,_u.default)(i,"target"),l=(0,_u.default)(a,u,H);return l==="browserslist"?c:l},postcss:o,...n})}catch{}}function jpt(e){return e.type==="atrule"}function Gme(e){if(e.v4){let r=Array.from(e.designSystem.getVariants()),c=e.designSystem.theme.prefix??"";return c.length>0&&r.unshift({name:c,values:[],isArbitrary:!1,hasDash:!0,selectors:()=>["&"]}),r}if(e.jitContext?.getVariants)return e.jitContext.getVariants();if(e.jit){let r=[];return Array.from(e.jitContext.variantMap).forEach(([c,s])=>{r.push({name:c,values:[],isArbitrary:!1,hasDash:!0,selectors:()=>{function u(g){let y=e.modules.postcssSelectorParser.module.className();return y.value=g,(0,_u.default)(y,"raws.value",y.value)}let H=(Array.isArray(s[0])?s:[s]).map(([g,y])=>y),a="__variant_placeholder__",l=e.modules.postcss.module.root({nodes:[e.modules.postcss.module.rule({selector:`.${u(a)}`,nodes:[]})]}),p=e.modules.postcssSelectorParser.module(g=>g.first.filter(({type:y})=>y==="class").pop().value);function d(g){return p.transformSync(g)}function h(g){return l.each(y=>{y.type==="rule"&&(y.selectors=y.selectors.map(_=>g({get className(){return d(_)},selector:_})))}),l}let m=[];for(let g of H){let y,_=l.clone(),E=lK(()=>g({container:_,separator:e.separator,modifySelectors:h,format:A=>{y=A.replace(/:merge\(([^)]+)\)/g,"$1")},wrap:A=>{jpt(A)&&(y=`@${A.name} ${A.params}`)}}));if(y||(y=E),y){m.push(y);continue}_.walkDecls(A=>{A.remove()}),y=_.toString().replace(`.${u(`${c}:${a}`)}`,"&").replace(/(?<!\\)[{}]/g,"").replace(/\s*\n\s*/g," ").trim(),y.includes(a)||m.push(y)}return m}})}),r}let t=e.config,n=e.modules.tailwindcss.version,i=["responsive","hover"];return Tn(n,"0.3.0")&&i.push("focus","group-hover"),Tn(n,"0.5.0")&&i.push("active"),Tn(n,"0.7.0")&&i.push("focus-within"),Tn(n,"1.0.0-beta.1")&&i.push("default"),Tn(n,"1.1.0")&&i.push("first","last","odd","even","disabled","visited"),Tn(n,"1.3.0")&&i.push("group-focus"),Tn(n,"1.5.0")&&i.push("focus-visible","checked"),Tn(n,"1.6.0")&&i.push("motion-safe","motion-reduce"),Tn(n,"2.0.0-alpha.1")&&i.push("dark"),(Array.isArray(t.plugins)?t.plugins:[]).forEach(r=>{Fpt(r,e,{addVariant:c=>{i.push(c)}})}),i.map(r=>({name:r,values:[],isArbitrary:!1,hasDash:!0,selectors:()=>[]}))}async function Upt(e){let t=e.plugins;return Array.isArray(t)?Promise.all(t.map(async n=>{let i=n.config;Pu(i)||(i={});let o={theme:Pu(i.theme)?Object.keys(i.theme):[],variants:Pu(i.variants)?Object.keys(i.variants):[]},r=n.handler||n,c=typeof r.name=="string"&&r.name!=="handler"&&r.name!==""?r.name:null;try{r()}catch(s){let u=zme.default.parse(s);if(u.length===0)return{name:c};let H=u[0].fileName,a=wa.dirname(H);if(!Zme.default.sync({cwd:a}))return{name:c};let p;try{p=require(p)}catch{return{name:c}}if(p.name&&wa.resolve(a,p.main||"index.js")===H)return{name:p.name,homepage:p.homepage,contributes:o}}return{name:c}})):[]}var oEe=mr(sEe());function aEe(){return{editor:{tabSize:2},tailwindCSS:{inspectPort:null,emmetCompletions:!1,classAttributes:["class","className","ngClass","class:list"],classFunctions:[],codeActions:!0,codeLens:!0,hovers:!0,suggestions:!0,validate:!0,colorDecorators:!0,rootFontSize:16,lint:{cssConflict:"warning",invalidApply:"error",invalidScreen:"error",invalidVariant:"error",invalidConfigPath:"error",invalidTailwindDirective:"error",invalidSourceDirective:"error",recommendedVariantOrder:"warning",usedBlocklistedClass:"warning"},showPixelEquivalents:!0,includeLanguages:{},files:{exclude:["**/.git/**","**/.hg/**","**/.svn/**","**/node_modules/**","**/.yarn/**","**/.venv/**","**/venv/**","**/.next/**","**/.parcel-cache/**","**/.svelte-kit/**","**/.turbo/**","**/__pycache__/**"]},experimental:{classRegex:[],configFile:null}}}}function lEe(e){let t=new Map;async function n(o){let r=t.get(o);return r||(r=await i(o),t.set(o,r)),r}async function i(o){let[r,c]=await Promise.all([e.workspace.getConfiguration({section:"editor",scopeUri:o}),e.workspace.getConfiguration({section:"tailwindCSS",scopeUri:o})]);return r=Pu(r)?r:{},c=Pu(c)?c:{},(0,oEe.default)(aEe(),{editor:r,tailwindCSS:c},{arrayMerge:(s,u,H)=>u})}return{get:n,clear(){t.clear()}}}var dft=mr(require("node:fs")),pye=mr(require("node:path")),aE=mr(tD());var cEe=mr(wA()),MC=mr(require("node:path"));var f4=new Map;async function uEe(e){let t=f4.get(e);if(t!==void 0)return t;let n=await rdt(MC.normalize(e));if(!n)return f4.set(e,null),null;let r=(await import(AH(n).href)).default;return r.setup(),f4.set(e,r),r}async function rdt(e){let t=[".pnp.js",".pnp.cjs"];for(let n of t){let i=MC.join(e,n);if(await cEe.default.exists(i))return i}return null}var Hh=mr(require("node:path")),uye=mr(VEe());var uh=mr(require("node:path"),1),ZEe=mr(require("node:fs"),1);var Zo=mr(require("node:path"),1),XEe=require("node:fs"),Kdt=new RegExp("\\"+Zo.default.posix.sep,"g"),Gdt=new RegExp("\\"+Zo.default.sep,"g"),w4=new Map,rE="**/*",KC=[".ts",".tsx",".mts",".cts"],Xdt=[".js",".jsx",".mjs",".cjs"],N4=KC.concat(Xdt),Zdt=`\\.(?:${KC.map(e=>e.substring(1)).join("|")})`,zdt=`\\.(?:${N4.map(e=>e.substring(1)).join("|")})`,GC=Zo.default.posix.sep===Zo.default.sep;function Zg(){let e,t;return{promise:new Promise((i,o)=>{e=i,t=o}),resolve:e,reject:t}}async function R4(e,t){if(Zo.default.extname(e)!==".json")return;let n=Zo.default.resolve(e);return t&&(t.hasParseResult(n)||t.hasParseResult(e))?n:XEe.promises.stat(n).then(i=>{if(i.isFile()||i.isFIFO())return n;throw new Error(`${e} exists but is not a regular file.`)})}var $4=GC?e=>e.includes("/node_modules/"):e=>e.match(/[/\\]node_modules[/\\]/),k4=GC?e=>e:e=>e.replace(Kdt,Zo.default.sep),ch=GC?e=>e:e=>e.replace(Gdt,Zo.default.posix.sep),nE=GC?(e,t)=>e?Zo.default.resolve(e,t):Zo.default.resolve(t):(e,t)=>ch(e?Zo.default.resolve(k4(e),k4(t)):Zo.default.resolve(k4(t)));function M4(e,t){let n=Zo.default.dirname(e.tsconfigFile);return e.tsconfig.references.map(i=>{let o=i.path.endsWith(".json")?i.path:Zo.default.join(i.path,t?.configName??"tsconfig.json");return nE(n,o)})}function B4(e,t){let i=t.tsconfig.compilerOptions?.allowJs?N4:KC;if(t.referenced&&i.some(o=>e.endsWith(o))&&!KEe(e,t)){let o=t.referenced.find(r=>KEe(e,r));if(o)return o}return t}function KEe(e,t){let n=ch(Zo.default.dirname(t.tsconfigFile)),i=(t.tsconfig.files||[]).map(s=>nE(n,s)),o=nE(null,e);if(i.includes(e))return!0;let r=t.tsconfig.compilerOptions?.allowJs;return GEe(o,n,t.tsconfig.include||(t.tsconfig.files?[]:[rE]),r)?!GEe(o,n,t.tsconfig.exclude||[],r):!1}function GEe(e,t,n,i){let o=i?N4:KC;return n.some(r=>{let c=r.length,s=!1,u=!1,H=!1,a=-1;for(let h=r.length-1;h>-1;h--){let m=r[h];if(s||(m==="*"||m==="?")&&(c=h,s=!0),H||(m==="."?u=!0:m==="/"&&(a=h,H=!0)),s&&H)break}if(!u&&(!s||c<a)&&(r+=`${r.endsWith("/")?"":"/"}${rE}`,c=r.length-1,s=!0),c<r.length-1&&!e.endsWith(r.slice(c+1))||r.endsWith("*")&&!o.some(h=>e.endsWith(h)))return!1;if(r===rE)return e.startsWith(`${t}/`);let l=nE(t,r),p=-1;for(let h=0;h<l.length;h++)if(l[h]==="*"||l[h]==="?"){p=h,s=!0;break}if(p>1&&!e.startsWith(l.slice(0,p-1)))return!1;if(s){if(p+rE.length===l.length-(r.length-1-c)&&l.slice(p,p+rE.length)===rE)return!0}else return e===l;if(w4.has(l))return w4.get(l).test(e);let d=Jdt(l,i);return w4.set(l,d),d.test(e)})}function Jdt(e,t){let n="^";for(let i=0;i<e.length;i++){let o=e[i];if(o==="?"){n+="[^\\/]";continue}if(o==="*"){if(e[i+1]==="*"&&e[i+2]==="/"){i+=2,n+="(?:[^\\/]*\\/)*";continue}n+="[^\\/]*";continue}"/.+^${}()|[]\\".includes(o)&&(n+="\\"),n+=o}return e.endsWith("*")&&(n+=t?zdt:Zdt),n+="$",new RegExp(n)}function O4(e,t){return JSON.parse(JSON.stringify(e).replaceAll(/"\${configDir}/g,`"${ch(t)}`))}async function F4(e,t){let n=uh.default.dirname(uh.default.resolve(e));if(t?.ignoreNodeModules&&$4(n))return null;let i=t?.cache,o=t?.configName??"tsconfig.json";if(i?.hasConfigPath(n,o))return i.getConfigPath(n,o);let{promise:r,resolve:c,reject:s}=Zg();return t?.root&&!uh.default.isAbsolute(t.root)&&(t.root=uh.default.resolve(t.root)),zEe(n,{promise:r,resolve:c,reject:s},t),r}function zEe(e,{resolve:t,reject:n,promise:i},o){let{cache:r,root:c,configName:s}=o??{};if(r)if(r.hasConfigPath(e,s)){let H;try{H=r.getConfigPath(e,s)}catch(a){n(a);return}H?.then?H.then(t).catch(n):t(H)}else r.setConfigPath(e,i,s);let u=uh.default.join(e,o?.configName??"tsconfig.json");ZEe.default.stat(u,(H,a)=>{if(a&&(a.isFile()||a.isFIFO()))t(u);else if(H?.code!=="ENOENT")n(H);else{let l;c===e||(l=uh.default.dirname(e))===e?t(null):zEe(l,{promise:i,resolve:t,reject:n},o)}})}var j4=mr(require("node:path"),1),QEe=require("node:fs"),JEe=j4.default.sep;async function U4(e,t){let n={files:[],calls:0,skip:t?.skip,err:!1,configNames:t?.configNames??["tsconfig.json"]};return new Promise((i,o)=>{YEe(j4.default.resolve(e),n,(r,c)=>r?o(r):i(c))})}function YEe(e,t,n){t.err||(t.calls++,(0,QEe.readdir)(e,{withFileTypes:!0},(i,o=[])=>{if(!t.err)if(i&&!(i.code==="ENOENT"||i.code==="EACCES"||i.code==="EPERM"))t.err=!0,n(i);else{for(let r of o)r.isDirectory()&&!t.skip?.(r.name)?YEe(`${e}${JEe}${r.name}`,t,n):r.isFile()&&t.configNames.includes(r.name)&&t.files.push(`${e}${JEe}${r.name}`);--t.calls===0&&(t.err||n(null,t.files))}}))}function W4(e){let t=Qdt(Ydt(eft(e)));return t.trim()===""?"{}":t}function Qdt(e){let t=!1,n=0,i="",o=null;for(let r=0;r<e.length;r++){let c=e[r];if(c==='"'&&(tye(e,r)||(t=!t)),t){o=null;continue}if(c===","){o=r;continue}o&&(c==="}"||c==="]"?(i+=e.slice(n,o)+" ",n=o+1,o=null):c.match(/\s/)||(o=null))}return i+e.substring(n)}function tye(e,t){let n=t-1,i=0;for(;e[n]==="\\";)n-=1,i+=1;return!!(i%2)}function XC(e,t,n){return e.slice(t,n).replace(/\S/g," ")}var q4=Symbol("singleComment"),eye=Symbol("multiComment");function Ydt(e){let t=!1,n=!1,i=0,o="";for(let r=0;r<e.length;r++){let c=e[r],s=e[r+1];!n&&c==='"'&&(tye(e,r)||(t=!t)),!t&&(!n&&c+s==="//"?(o+=e.slice(i,r),i=r,n=q4,r++):n===q4&&c+s===`\r
|
|
`?(r++,n=!1,o+=XC(e,i,r),i=r):n===q4&&c===`
|
|
`?(n=!1,o+=XC(e,i,r),i=r):!n&&c+s==="/*"?(o+=e.slice(i,r),i=r,n=eye,r++):n===eye&&c+s==="*/"&&(r++,n=!1,o+=XC(e,i,r+1),i=r+1))}return o+(n?XC(e.slice(i)):e.slice(i))}function eft(e){return e.charCodeAt(0)===65279?e.slice(1):e}var Rc=mr(require("node:path"),1),sye=require("node:fs"),aye=require("module");var tft={tsconfigFile:null,tsconfig:{}};async function K4(e,t){let n=t?.cache;if(n?.hasParseResult(e))return rye(e,n,t);let{resolve:i,reject:o,promise:r}=Zg();n?.setParseResult(e,r,!0);try{let c=await R4(e,n)||await F4(e,t);if(!c)return i(tft),r;let s;e!==c&&n?.hasParseResult(c)?s=await rye(c,n,t):(s=await G4(c,n,e===c),await Promise.all([X4(s,n),oye(s,t)])),s.tsconfig=O4(s.tsconfig,Rc.default.dirname(c)),i(B4(e,s))}catch(c){o(c)}return r}async function rye(e,t,n){let i=await t.getParseResult(e);if(i.tsconfig.extends&&!i.extended||i.tsconfig.references&&!i.referenced){let o=Promise.all([X4(i,t),oye(i,n)]).then(()=>i);return t.setParseResult(e,o,!0),o}return i}async function G4(e,t,n){if(!n&&t?.hasParseResult(e)&&!t.getParseResult(e)._isRootFile_)return t.getParseResult(e);let i=sye.promises.readFile(e,"utf-8").then(W4).then(o=>{let r=JSON.parse(o);return aft(r,e),{tsconfigFile:e,tsconfig:rft(r,Rc.default.dirname(e))}}).catch(o=>{throw new iE(`parsing ${e} failed: ${o}`,"PARSE_FILE",e,o)});return!n&&(!t?.hasParseResult(e)||!t.getParseResult(e)._isRootFile_)&&t?.setParseResult(e,i),i}function rft(e,t){let n=e.compilerOptions?.baseUrl;return n&&!n.startsWith("${")&&!Rc.default.isAbsolute(n)&&(e.compilerOptions.baseUrl=nE(t,n)),e}async function oye(e,t){if(!e.tsconfig.references)return;let n=M4(e,t),i=await Promise.all(n.map(o=>G4(o,t?.cache)));await Promise.all(i.map(o=>X4(o,t?.cache))),i.forEach(o=>{o.solution=e}),e.referenced=i}async function X4(e,t){if(!e.tsconfig.extends)return;let n=[{tsconfigFile:e.tsconfigFile,tsconfig:JSON.parse(JSON.stringify(e.tsconfig))}],i=0,o=[],r=0;for(;i<n.length;){let c=n[i];if(o.push(c.tsconfigFile),c.tsconfig.extends){r+=1;let s;Array.isArray(c.tsconfig.extends)?s=c.tsconfig.extends.reverse().map(H=>nye(H,c.tsconfigFile)):s=[nye(c.tsconfig.extends,c.tsconfigFile)];let u=s.find(H=>o.includes(H));if(u){let H=o.concat([u]).join(" -> ");throw new iE(`Circular dependency in "extends": ${H}`,"EXTENDS_CIRCULAR",e.tsconfigFile)}n.splice(i+1,0,...await Promise.all(s.map(H=>G4(H,t))))}else o.splice(-r),r=0;i=i+1}e.extended=n;for(let c of e.extended.slice(1))ift(e,c)}function nye(e,t){e===".."&&(e="../tsconfig.json");let n=(0,aye.createRequire)(t),i;try{return n.resolve(e)}catch(o){i=o}if(e[0]!=="."&&!Rc.default.isAbsolute(e))try{return n.resolve(`${e}/tsconfig.json`)}catch(o){i=o}throw new iE(`failed to resolve "extends":"${e}" in ${t}`,"EXTENDS_RESOLVE",t,i)}var nft=["compilerOptions","files","include","exclude","watchOptions","compileOnSave","typeAcquisition","buildOptions"];function ift(e,t){let n=e.tsconfig,i=t.tsconfig,o=ch(Rc.default.relative(Rc.default.dirname(e.tsconfigFile),Rc.default.dirname(t.tsconfigFile)));for(let r of Object.keys(i).filter(c=>nft.includes(c)))if(r==="compilerOptions"){n.compilerOptions||(n.compilerOptions={});for(let c of Object.keys(i.compilerOptions))Object.prototype.hasOwnProperty.call(n.compilerOptions,c)||(n.compilerOptions[c]=V4(c,i.compilerOptions[c],o))}else if(n[r]===void 0)if(r==="watchOptions"){n.watchOptions={};for(let c of Object.keys(i.watchOptions))n.watchOptions[c]=V4(c,i.watchOptions[c],o)}else n[r]=V4(r,i[r],o)}var sft=["files","include","exclude","baseUrl","rootDir","rootDirs","typeRoots","outDir","outFile","declarationDir","excludeDirectories","excludeFiles"];function V4(e,t,n){return sft.includes(e)?Array.isArray(t)?t.map(i=>iye(i,n)):iye(t,n):t}function iye(e,t){return Rc.default.isAbsolute(e)||e.startsWith("${configDir}")?e:Rc.default.posix.normalize(Rc.default.posix.join(t,e))}var iE=class e extends Error{code;cause;tsconfigFile;constructor(t,n,i,o){super(t),Object.setPrototypeOf(this,e.prototype),this.name=e.name,this.code=n,this.cause=o,this.tsconfigFile=i}};function aft(e,t){lft(t)&&(e.compilerOptions={...oft,...e.compilerOptions})}var oft={allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0};function lft(e){return Rc.default.basename(e)==="jsconfig.json"}var zg=class{clear(){this.#t.clear(),this.#e.clear()}hasConfigPath(t,n="tsconfig.json"){return this.#t.has(`${t}/${n}`)}getConfigPath(t,n="tsconfig.json"){let i=`${t}/${n}`,o=this.#t.get(i);if(o==null||o.length||o.then)return o;throw o}hasParseResult(t){return this.#e.has(t)}getParseResult(t){let n=this.#e.get(t);if(n.then||n.tsconfig)return n;throw n}setParseResult(t,n,i=!1){Object.defineProperty(n,"_isRootFile_",{value:i,writable:!1,enumerable:!1,configurable:!1}),this.#e.set(t,n),n.then(o=>{this.#e.get(t)===n&&this.#e.set(t,o)}).catch(o=>{this.#e.get(t)===n&&this.#e.set(t,o)})}setConfigPath(t,n,i="tsconfig.json"){let o=`${t}/${i}`;this.#t.set(o,n),n.then(r=>{this.#t.get(o)===n&&this.#t.set(o,r)}).catch(r=>{this.#t.get(o)===n&&this.#t.set(o,r)})}#t=new Map;#e=new Map};var sE=class extends Map{constructor(n){super();this.factory=n}get(n){let i=super.get(n);return i===void 0&&(i=this.factory(n,this),this.set(n,i)),i}};async function Hye(e){let{configs:t,errors:n}=await lye(e),i=await cye(t);async function o(u,H){for(let a of Z4(H))for(let{match:l}of i.get(a))try{return await l(u)}catch{return null}return null}async function r(u,H){for(let a of Z4(H))for(let{match:l}of i.get(a))try{return await l(u,{mustExist:!1})}catch{return null}return null}async function c(u){for(let H of Z4(u))for(let{paths:a}of i.get(H))if(Object.keys(a).length)return a;return{}}async function s(){let{configs:u,errors:H}=await lye(e);if(i=await cye(u),H.length)throw new AggregateError(H)}return{resolveId:o,substituteId:r,paths:c,refresh:s,errors:n}}async function lye(e){let t=await U4(e,{configNames:["tsconfig.json","jsconfig.json"],skip(r){return r==="node_modules"||r===".git"}}),n={root:e,cache:new zg},i=new Set,o=[];for(let r of t)try{let c=await K4(r,n);i.add(c)}catch(c){o.push(c)}for(let r of i)if(r.referenced){for(let c of r.referenced)i.add(c);i.delete(r),i.add(r),r.referenced=void 0}for(let r of o)console.error(r);return{configs:i,errors:o}}async function cye(e){let t=new sE(()=>[]),n=(i,o)=>o(void 0,!0);for(let i of e){let H=function(a,{mustExist:l=!0}={}){u??=uye.createMatchPathAsync(s,r.paths??{},void 0,c!==void 0);let p=l===!1?a.endsWith("/"):!1;return p&&(a+="__placeholder__"),new Promise((d,h)=>{u(a,void 0,l===!1?n:void 0,void 0,(m,g)=>m?h(m):(p&&(g=g.replace(/__placeholder__$/,"")),d(g)))})},o=zi(As(Hh.dirname(i.tsconfigFile))),r=i.tsconfig.compilerOptions??{},c=pft(i),s=Hh.resolve(o,c||""),u;t.get(o).push({match:H,paths:r.paths??{}})}return t}function*Z4(e){let t=zi(As(e)),n;for(;t!==n;)yield t,n=t,t=Hh.dirname(t);return null}function pft(e){let t=e.tsconfig.compilerOptions?.baseUrl;if(t)return t;for(let n of e.extended??[])if((n.tsconfig.compilerOptions??{})?.paths)return Hh.dirname(n.tsconfigFile);return Hh.dirname(e.tsconfigFile)}async function z4(e){let t=null;typeof e.pnp=="object"?t=e.pnp:e.pnp&&(t=await uEe(e.root));let n=e.fileSystem?e.fileSystem:new aE.CachedInputFileSystem(dft,4e3),i=null;if(typeof e.tsconfig=="object")i=e.tsconfig;else if(e.tsconfig)try{i=await Hye(e.root)}catch(m){console.error("Failed to load tsconfig",m)}let o=aE.ResolverFactory.createResolver({fileSystem:n,extensions:[".mjs",".js",".node",".mts",".ts"],mainFields:["module"],conditionNames:["node","import"],pnpApi:t}),r=aE.ResolverFactory.createResolver({fileSystem:n,extensions:[".cjs",".js",".json",".node",".cts",".ts"],mainFields:["main"],conditionNames:["node","require"],pnpApi:t}),c=aE.ResolverFactory.createResolver({fileSystem:n,extensions:[".css"],mainFields:["style"],conditionNames:["style"],pnpApi:t,preferRelative:!0});async function s(m,g,y){if(pye.sep==="\\"){if(g.startsWith("\\\\")||g.startsWith("//"))return g;y.startsWith("//")&&(y=`\\\\${y.slice(2)}`)}if(i){let E=await i.resolveId(g,y);E&&(g=E)}g=hw(g),y=hw(y);let _=await new Promise((E,A)=>{m.resolve({},y,g,{},(S,T)=>{S?A(S):E(T)})});return _?(_=_.replace(/\0(.)/g,"$1"),_):!1}async function u(m,g){try{return await s(o,m,g)||m}catch{return await s(r,m,g)||m}}async function H(m,g){return await s(r,m,g)||m}async function a(m,g){return await s(c,m,g)||m}async function l(m,g){return await i?.substituteId(m,g)??m}async function p(m){return i?await i.paths(m):{}}async function d(){await i?.refresh()}async function h(){return!!t}return{resolveJsId:u,resolveCjsId:H,resolveCssId:a,substituteId:l,refresh:d,hasPnP:h,aliases:p,child(m){return z4({...e,...m,pnp:m.pnp??t,tsconfig:m.tsconfig??i,fileSystem:m.fileSystem??n})}}}var dye=mr(bH());function fye(){let e=new sE(t=>(t=t.replace(/[\[\]{}()]/g,n=>`\\${n}`),(0,dye.default)(t,{dot:!0})));return{anyMatches:(t,n)=>{let i=e.get(t);return n.some(o=>i(o))},clear:()=>e.clear()}}var u1e=['"',"'","`"," ",".","(","[","]","!","/","-"];async function H1e(e){let t=await pd(e);if(!t)return null;let n=t.match(/@config\s*(?<config>'[^']+'|"[^"]+")/);return n?zi((0,HE.default)($c.resolve($c.dirname(e),n.groups.config.slice(1,-1)))):null}var lx=class{constructor(t){this.connection=t;this.lspHandlersAdded=!1;this.disposables=[];this.watchPatterns=()=>{};this.watched=[];this.documentService=new vA(this.connection),this.projects=new Map,this.projectCounter=0,this.settingsCache=lEe(t),this.pathMatcher=fye()}async init(){this.initPromise||(this.initPromise=this._init()),await this.initPromise}validateFolderUri(t){return t.scheme!=="file"?(console.warn(`The workspace folder [${t.toString()}] will be ignored: it does not use the file scheme.`),!1):t.fsPath==="/"||t.fsPath==="\\\\"?(console.warn(`The workspace folder [${t.toString()}] will be ignored: it starts at the root of the filesystem which is most likely an error.`),!1):!0}getWorkspaceFolders(){if(this.initializeParams.workspaceFolders?.length)return this.initializeParams.workspaceFolders.flatMap(t=>{let n=hp.URI.parse(t.uri);return this.validateFolderUri(n)?[{uri:n.fsPath,name:t.name}]:[]});if(this.initializeParams.rootUri){let t=hp.URI.parse(this.initializeParams.rootUri);return this.validateFolderUri(t)?[{uri:t.fsPath,name:"Root"}]:[]}if(this.initializeParams.rootPath){let t=hp.URI.file(this.initializeParams.rootPath);return this.validateFolderUri(t)?[{uri:t.fsPath,name:"Root"}]:[]}return console.warn("No workspace folders detected"),[]}async _init(){oy(),this.pathMatcher.clear();let t=this.getWorkspaceFolders().map(i=>(0,HE.default)(i.uri));if(t.length===0){console.error("No workspace folders found, not initializing.");return}let n=await Promise.allSettled(t.map(i=>this._initFolder(hp.URI.file(i))));for(let[i,o]of n.entries())o.status==="rejected"&&console.error("Failed to initialize workspace folder",t[i],o.reason);n.some(i=>i.status==="fulfilled")&&await this.updateCommonCapabilities(),await this.listenForEvents()}async _initFolder(t){let n=t.fsPath;try{await p1e.access(n,x7.constants.F_OK|x7.constants.R_OK)}catch(S){console.error(`Unable to access the workspace folder [${n}]. This may happen if the directory does not exist or the current user does not have the necessary permissions to access it.`),console.error(S);return}let i=this.initializeParams.initializationOptions?.userLanguages??{};Object.keys(i).length>0&&console.warn("Language mappings are currently set via initialization options (`userLanguages`). This is deprecated and will be removed in a future release. Please use the `tailwindCSS.includeLanguages` setting instead.");let o=[],r=await this.settingsCache.get(),c=r.tailwindCSS.files.exclude,s=await this.settingsCache.get(t.toString()),u={...i,...s.tailwindCSS.includeLanguages??{}},H=new Map,a=new Map,l=this.initializeParams.initializationOptions?.workspaceFile?$c.dirname(this.initializeParams.initializationOptions.workspaceFile):n;function p(S){function T(x){return zi((0,HE.default)($c.resolve(l,x)))}let I=S.experimental.configFile,L={};if(typeof I=="string"){let x=T(I),C=[T($c.resolve(n,"**"))];L[x]=C}else if(Pu(I))for(let[x,C]of Object.entries(I)){if(typeof x!="string")return null;x=T(x);let D;if(typeof C=="string")D=[T(C)];else if(Array.isArray(C))D=C.map(T);else return null;L[x]=D}else if(I)return null;return Object.entries(L)}let d=p(r.tailwindCSS);if(d===null){console.error("Invalid `experimental.configFile` configuration, not initializing.");return}let h=await z4({root:n,pnp:!0,tsconfig:!0}),m=new xC(n,r,h);d.length>0?(console.log("Loading Tailwind CSS projects from the workspace settings."),o=await m.loadAllFromWorkspace(d)):(console.log("Searching for Tailwind CSS projects in the workspace's folders."),o=await m.search());for(let S of o)if(a.set(S.config.path,S.tailwind.version),S.config.source==="css")for(let T of S.config.entries)T.type==="css"&&H.set(T.path,S.config.path);let g=o.map(S=>({folder:S.folder,config:S.config.path,selectors:[...S.documentSelector,...S.additionalSelectors],user:S.isUserConfigured,tailwind:S.tailwind}));console.log(`[Global] Creating projects: ${JSON.stringify(g)}`);let y=async S=>{let T=!1,I=!1,L=(0,uE.default)(`**/${zh}`,{dot:!0}),x=(0,uE.default)(`**/${Dp}`,{dot:!0}),C=(0,uE.default)(`**/${Zh}`,{dot:!0}),D=(0,uE.default)(`**/${AA}`,{dot:!0});e:for(let O of S){let j=(0,HE.default)(O.file);j=zi(j);for(let P of c)if((0,uE.default)(P,{dot:!0})(j))continue e;if(L(j))for(let[,P]of this.projects){let W=k0().version;try{let Z=require(await h.resolveCjsId("tailwindcss/package.json",$c.dirname(P.projectConfig.configPath))).version;typeof Z=="string"&&(W=Z)}catch{}if(a.get(P.projectConfig.configPath)!==W){T=!0;break e}}if(D(j)){T=!0;break e}for(let[,P]of this.projects)if(P.state.v4&&!(O.type===Ki.FileChangeType.Deleted&&of(j,[P.projectConfig.configPath]))&&of(j,P.dependencies())){I=!0;break e}if(x(`**/${Dp}`)&&O.type!==Ki.FileChangeType.Deleted){let P=await H1e(j)||await H1e(O.file);if(H.has(j)&&H.get(j)!==P){T=!0;break}else if(!H.has(j)&&P){T=!0;break}else{if(this.projects.size>0)continue;let W=await pd(O.file);if(!W)continue;let Z=QL(W);if(!Z.root||!Z.versions.includes("4"))continue;T=!0;break}}if(C(j)&&O.type===Ki.FileChangeType.Created){T=!0;break}for(let[,P]of this.projects)if(O.type===Ki.FileChangeType.Deleted&&of(j,[P.projectConfig.configPath])){T=!0;break e}}if(T){this.restart();return}if(I){try{await this.softRestart()}catch{this.restart()}return}for(let[,O]of this.projects)O.onFileEvents(S)};if(this.initializeParams.capabilities.workspace?.didChangeWatchedFiles?.dynamicRegistration){this.disposables.push(this.connection.onDidChangeWatchedFiles(async({changes:T})=>{let I=T.map(({uri:L,type:x})=>({file:hp.URI.parse(L).fsPath,type:x})).filter((L,x,C)=>C.findIndex(D=>D.file===L.file&&D.type===L.type)===x);await y(I)}));let S=await this.connection.client.register(Ki.DidChangeWatchedFilesNotification.type,{watchers:[{globPattern:`**/${Zh}`},{globPattern:`**/${zh}`},{globPattern:`**/${Dp}`},{globPattern:`**/${AA}`}]});this.disposables.push(S),this.watchPatterns=T=>{let I=this.filterNewWatchPatterns(T);I.length&&(console.log(`[Global] Adding watch patterns: ${I.join(", ")}`),this.connection.client.register(Ki.DidChangeWatchedFilesNotification.type,{watchers:I.map(L=>({globPattern:L}))}).then(L=>{this.disposables.push(L)}))}}else if(cx.getBinding()){console.log("[Global] Your LSP client does not support watching files on behalf of the server"),console.log("[Global] Using bundled file watcher: @parcel/watcher");let S={create:Ki.FileChangeType.Created,update:Ki.FileChangeType.Changed,delete:Ki.FileChangeType.Deleted},T=await cx.subscribe(n,(I,L)=>{y(L.map(x=>({file:x.path,type:S[x.type]})))},{ignore:c.map(I=>$c.resolve(n,I.replace(/^[*/]+/,"").replace(/[*/]+$/,"")))});this.disposables.push({dispose(){T.unsubscribe()}})}else{console.log("[Global] Your LSP client does not support watching files on behalf of the server"),console.log("[Global] Using bundled file watcher: chokidar");let S=c1e().watch,T=S([`**/${Zh}`,`**/${zh}`,`**/${Dp}`,`**/${AA}`],{cwd:n,ignorePermissionErrors:!0,ignoreInitial:!0,ignored:c,awaitWriteFinish:{stabilityThreshold:100,pollInterval:20}});await new Promise(I=>{T.on("ready",()=>I())}),T.on("add",I=>y([{file:$c.resolve(n,I),type:Ki.FileChangeType.Created}])).on("change",I=>y([{file:$c.resolve(n,I),type:Ki.FileChangeType.Changed}])).on("unlink",I=>y([{file:$c.resolve(n,I),type:Ki.FileChangeType.Deleted}])),this.disposables.push({dispose(){T.close()}}),this.watchPatterns=I=>{let L=this.filterNewWatchPatterns(I);L.length&&(console.log(`[Global] Adding watch patterns: ${L.join(", ")}`),T.add(L))}}console.log("[Global] Preparing projects..."),await Promise.all(o.map(S=>this.addProject(S,this.initializeParams,this.watchPatterns,a.get(S.configPath),u,h,t))),console.log("[Global] Initializing projects...");let _=[],E=0;for(let S of this.documentService.getAllDocuments()){let T=this.getProject(S);T&&!T.enabled()&&(T.enable(),await T.tryInit(),E++),_.push(S.uri)}console.log(`[Global] Initialized ${E} projects`),this.disposables.push(this.connection.onDidChangeConfiguration(async({settings:S})=>{let T=r.tailwindCSS.files.exclude;if(this.settingsCache.clear(),r=await this.settingsCache.get(),!wl(T,r.tailwindCSS.files.exclude)){this.restart();return}for(let[,I]of this.projects)I.onUpdateSettings(S)})),(this.initializeParams.initializationOptions?.testMode??!1)&&(console.log("[Global][Test] Sending document notifications..."),await Promise.all(_.map(S=>this.connection.sendNotification("@/tailwindCSS/documentReady",{uri:S}))))}async listenForEvents(){let t=this.initializeParams.initializationOptions?.testMode??!1;this.disposables.push(this.connection.onShutdown(()=>{this.dispose()})),this.disposables.push(this.documentService.onDidChangeContent(n=>{this.getProject(n.document)?.provideDiagnostics(n.document)})),this.disposables.push(this.documentService.onDidOpen(async n=>{let i=this.getProject(n.document);i&&(i.enabled()||(i.enable(),await i.tryInit()),t&&await this.connection.sendNotification("@/tailwindCSS/documentReady",{uri:n.document.uri}))})),this.initializeParams.capabilities.workspace.workspaceFolders&&this.disposables.push(this.connection.workspace.onDidChangeWorkspaceFolders(async n=>{let i=n.added.map(o=>({uri:hp.URI.parse(o.uri).fsPath,name:o.name})).map(o=>(0,HE.default)(o.uri));await Promise.allSettled(i.map(o=>this._initFolder(hp.URI.file(o))))})),t&&await this.connection.sendNotification("@/tailwindCSS/serverReady")}filterNewWatchPatterns(t){return t=Array.from(new Set(t)),t=t.filter(n=>!this.watched.includes(n)),this.watched.push(...t),t}async addProject(t,n,i,o,r,c,s){let u=String(this.projectCounter++),H=await tEe(u,t,this.connection,n,this.documentService,()=>this.updateProjectCapabilities(),()=>{for(let a of this.documentService.getAllDocuments()){let l=this.getProject(a);if(l&&!l.enabled()){l.enable(),l.tryInit();break}}},()=>this.refreshDiagnostics(),a=>i(a),o,this.settingsCache.get,r,c);this.projects.set(u,H),this.supportsTailwindProjectDetails&&this.connection.sendNotification("@/tailwindCSS/projectDetails",{uri:s.toString(),config:t.configPath,tailwind:t.tailwind})}get supportsTailwindProjectDetails(){return this.initializeParams.capabilities.experimental?.tailwind?.projectDetails??!1}refreshDiagnostics(){for(let t of this.documentService.getAllDocuments()){let n=this.getProject(t);n?n.provideDiagnosticsForce(t):this.connection.sendDiagnostics({uri:t.uri,diagnostics:[]})}}setupLSPHandlers(){this.lspHandlersAdded||(this.lspHandlersAdded=!0,this.connection.onHover(this.onHover.bind(this)),this.connection.onCompletion(this.onCompletion.bind(this)),this.connection.onCompletionResolve(this.onCompletionResolve.bind(this)),this.connection.onDocumentColor(this.onDocumentColor.bind(this)),this.connection.onColorPresentation(this.onColorPresentation.bind(this)),this.connection.onCodeAction(this.onCodeAction.bind(this)),this.connection.onCodeLens(this.onCodeLens.bind(this)),this.connection.onDocumentLinks(this.onDocumentLinks.bind(this)),this.connection.onRequest(this.onRequest.bind(this)))}onRequest(t,n){if(t==="@/tailwindCSS/sortSelection"){let i=this.getProject({uri:n.uri});if(!i)return{error:"no-project"};try{return{classLists:i.sortClassLists(n.classLists)}}catch{return{error:"unknown"}}}if(t==="@/tailwindCSS/getProject"){let i=this.getProject({uri:n.uri});return!i||!i.enabled()||!i.state?.enabled?null:{version:i.state.version}}}async updateCommonCapabilities(){let t=Ki.BulkRegistration.create(),n=this.initializeParams.capabilities;n.textDocument?.hover?.dynamicRegistration&&t.add(Ki.HoverRequest.type,{documentSelector:null}),n.textDocument?.colorProvider?.dynamicRegistration&&t.add(Ki.DocumentColorRequest.type,{documentSelector:null}),n.textDocument?.codeAction?.dynamicRegistration&&t.add(Ki.CodeActionRequest.type,{documentSelector:null}),n.textDocument?.codeLens?.dynamicRegistration&&t.add(Ki.CodeLensRequest.type,{documentSelector:null}),n.textDocument?.documentLink?.dynamicRegistration&&t.add(Ki.DocumentLinkRequest.type,{documentSelector:null}),n.workspace?.didChangeConfiguration?.dynamicRegistration&&t.add(Ki.DidChangeConfigurationNotification.type,void 0),this.commonRegistrations?.dispose(),this.commonRegistrations=await this.connection.client.register(t)}updateProjectCapabilities(){this.updateTriggerCharacters()}async updateTriggerCharacters(){if(!this.initializeParams.capabilities.textDocument?.completion?.dynamicRegistration)return;let n=new Set(u1e);for(let o of this.projects.values()){let r=o.state.separator;typeof r=="string"&&(r=r.slice(-1),r&&n.add(r))}if(this.completionRegistration&&wl(Array.from(n),Array.from(this.lastTriggerCharacters??[])))return;this.lastTriggerCharacters=n;let i=this.completionRegistration;this.completionRegistration=this.connection.client.register(Ki.CompletionRequest.type,{documentSelector:null,resolveProvider:!0,triggerCharacters:Array.from(n)}),await i?.then(o=>o.dispose()),await this.completionRegistration}getProject(t){let n,i,o=1/0,r=hp.URI.parse(t.uri);if(r.scheme!=="file")return console.debug("Cannot get project for a non-file document. They are unsupported.",{uri:r.toString()}),null;let c=r.fsPath,s=r.path;c=zi(c);for(let H of this.projects.values()){if(!H.projectConfig.configPath){n=n??H;continue}for(let a of H.documentSelector()){if(a.pattern.startsWith("!")&&this.pathMatcher.anyMatches(a.pattern.slice(1),[c,s]))break;if(a.priority<o&&this.pathMatcher.anyMatches(a.pattern,[c,s])){i=H,o=a.priority;continue}}}let u=i??n;return u||console.debug("[GLOBAL] No matching project for document",{fsPath:c,normalPath:s}),u}async onDocumentColor(t){return await this.init(),this.getProject(t.textDocument)?.onDocumentColor(t)??[]}async onColorPresentation(t){return await this.init(),this.getProject(t.textDocument)?.onColorPresentation(t)??[]}async onHover(t){return await this.init(),this.getProject(t.textDocument)?.onHover(t)??null}async onCompletion(t){return await this.init(),this.getProject(t.textDocument)?.onCompletion(t)??null}async onCompletionResolve(t){return await this.init(),this.projects.get(t.data?._projectKey)?.onCompletionResolve(t)??null}async onCodeAction(t){return await this.init(),this.getProject(t.textDocument)?.onCodeAction(t)??null}async onCodeLens(t){return await this.init(),this.getProject(t.textDocument)?.onCodeLens(t)??null}async onDocumentLinks(t){return await this.init(),this.getProject(t.textDocument)?.onDocumentLinks(t)??null}setup(){this.connection.onInitialize(async t=>(this.initializeParams=t,this.setupLSPHandlers(),{capabilities:this.computeServerCapabilities(t.capabilities)})),this.connection.onInitialized(()=>this.init())}computeServerCapabilities(t){let n={textDocumentSync:Ki.TextDocumentSyncKind.Full,workspace:{workspaceFolders:{changeNotifications:!0}}};return t.textDocument?.hover?.dynamicRegistration||(n.hoverProvider=!0),t.textDocument?.colorProvider?.dynamicRegistration||(n.colorProvider=!0),t.textDocument?.codeAction?.dynamicRegistration||(n.codeActionProvider=!0),t.textDocument?.codeLens?.dynamicRegistration||(n.codeLensProvider={resolveProvider:!1}),t.textDocument?.completion?.dynamicRegistration||(n.completionProvider={resolveProvider:!0,triggerCharacters:[...u1e,":"]}),t.textDocument?.documentLink?.dynamicRegistration||(n.documentLinkProvider={}),n}listen(){this.connection.listen()}dispose(){this.connection.sendNotification("@/tailwindCSS/projectsDestroyed");for(let[,t]of this.projects)t.dispose();this.projects=new Map,this.refreshDiagnostics(),this.commonRegistrations?.dispose(),this.commonRegistrations=void 0,this.lastTriggerCharacters?.clear(),this.completionRegistration?.then(t=>t.dispose()),this.completionRegistration=void 0,this.disposables.forEach(t=>t.dispose()),this.disposables.length=0,this.watched.length=0}async restart(){let t=this.initializeParams.initializationOptions?.testMode??!1;console.log(`----------
|
|
RESTARTING
|
|
----------`),this.dispose(),this.initPromise=void 0,await this.init(),t&&this.connection.sendNotification("@/tailwindCSS/serverRestarted")}async softRestart(){for(let[,t]of this.projects)if(t.state.v4)try{await t.reload()}catch{}}};var d1e=require("node:util");function ab(e){return e.map(t=>(0,d1e.format)(t)).join(" ")}function f1e(e,t){e.debug=(...n)=>t.console.info(ab(n)),e.error=(...n)=>t.console.error(ab(n)),e.warn=(...n)=>t.console.warn(ab(n)),e.info=(...n)=>t.console.info(ab(n)),e.log=(...n)=>t.console.log(ab(n))}global.__preflight=WW;new Function("require","__dirname",`
|
|
let oldReadFileSync = require('fs').readFileSync
|
|
require('fs').readFileSync = function (filename, ...args) {
|
|
if (filename === require('path').join(__dirname, 'css/preflight.css')) {
|
|
return global.__preflight
|
|
}
|
|
return oldReadFileSync(filename, ...args)
|
|
}
|
|
`)(require,__dirname);var h1e=process.argv.length<=2?(0,D7.createConnection)(process.stdin,process.stdout):(0,D7.createConnection)();f1e(console,h1e);process.on("unhandledRejection",e=>{console.error("Unhandled rejection",e)});var _1e=new lx(h1e);console.log("Setting up server\u2026");_1e.setup();console.log("Listening for messages\u2026");_1e.listen();
|
|
/*! Bundled license information:
|
|
|
|
normalize-path/index.js:
|
|
(*!
|
|
* normalize-path <https://github.com/jonschlinkert/normalize-path>
|
|
*
|
|
* Copyright (c) 2014-2018, Jon Schlinkert.
|
|
* Released under the MIT License.
|
|
*)
|
|
|
|
cssesc/cssesc.js:
|
|
(*! https://mths.be/cssesc v3.0.0 by @mathias *)
|
|
|
|
css.escape/css.escape.js:
|
|
(*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license *)
|
|
|
|
isobject/index.js:
|
|
(*!
|
|
* isobject <https://github.com/jonschlinkert/isobject>
|
|
*
|
|
* Copyright (c) 2014-2015, Jon Schlinkert.
|
|
* Licensed under the MIT License.
|
|
*)
|
|
|
|
line-column/lib/line-column.js:
|
|
(**
|
|
* line-column - Convert efficiently index to/from line-column in a string
|
|
* @module lineColumn
|
|
* @license MIT
|
|
*)
|
|
|
|
is-number/index.js:
|
|
(*!
|
|
* is-number <https://github.com/jonschlinkert/is-number>
|
|
*
|
|
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
* Released under the MIT License.
|
|
*)
|
|
|
|
to-regex-range/index.js:
|
|
(*!
|
|
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
|
*
|
|
* Copyright (c) 2015-present, Jon Schlinkert.
|
|
* Released under the MIT License.
|
|
*)
|
|
|
|
fill-range/index.js:
|
|
(*!
|
|
* fill-range <https://github.com/jonschlinkert/fill-range>
|
|
*
|
|
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
* Licensed under the MIT License.
|
|
*)
|
|
|
|
is-extglob/index.js:
|
|
(*!
|
|
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
|
*
|
|
* Copyright (c) 2014-2016, Jon Schlinkert.
|
|
* Licensed under the MIT License.
|
|
*)
|
|
|
|
is-glob/index.js:
|
|
(*!
|
|
* is-glob <https://github.com/jonschlinkert/is-glob>
|
|
*
|
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
* Released under the MIT License.
|
|
*)
|
|
|
|
queue-microtask/index.js:
|
|
(*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
|
|
run-parallel/index.js:
|
|
(*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
*/
|