Skip to content

Instantly share code, notes, and snippets.

@dbrxnds
Created January 29, 2026 15:49
Show Gist options
  • Select an option

  • Save dbrxnds/498356e57376f5f75de238900b4c71f7 to your computer and use it in GitHub Desktop.

Select an option

Save dbrxnds/498356e57376f5f75de238900b4c71f7 to your computer and use it in GitHub Desktop.
tsx react 19 transform fix patch
diff --git a/dist/index-B4SIRlEU.cjs b/dist/index-B4SIRlEU.cjs
index 806b1b1d60bebf1851af27642a56c17faf8f7984..8e2ae9f6b28ea41385972960a049acc24feba1e3 100644
--- a/dist/index-B4SIRlEU.cjs
+++ b/dist/index-B4SIRlEU.cjs
@@ -13,4 +13,4 @@
`;case 114:return"\r";case 120:return String.fromCharCode(be(2));case 117:return function(){const e=L.charCodeAt(k);let A;return e===123?(++k,A=be(L.indexOf("}",k)-k),++k,A>1114111&&M()):A=be(4),A<=65535?String.fromCharCode(A):(A-=65536,String.fromCharCode(55296+(A>>10),56320+(1023&A)))}();case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:L.charCodeAt(k)===10&&++k;case 10:return"";case 56:case 57:M();default:if(n>=48&&n<=55){let e=L.substr(k-1,3).match(/^[0-7]+/)[0],A=parseInt(e,8);return A>255&&(e=e.slice(0,-1),A=parseInt(e,8)),k+=e.length-1,n=L.charCodeAt(k),e==="0"&&n!==56&&n!==57||M(),String.fromCharCode(A)}return je(n)?"":String.fromCharCode(n)}}h(EA,"k");function be(n){const e=k;let A=0,i=0;for(let s=0;s<n;++s,++k){let a,c=L.charCodeAt(k);if(c!==95){if(c>=97)a=c-97+10;else if(c>=65)a=c-65+10;else{if(!(c>=48&&c<=57))break;a=c-48}if(a>=16)break;i=c,A=16*A+a}else i!==95&&s!==0||M(),i=c}return i!==95&&k-e===n||M(),A}h(be,"l");function je(n){return n===13||n===10}h(je,"u");function M(){throw Object.assign(Error(`Parse error ${Oe}:${L.slice(0,k).split(`
`).length}:${k-L.lastIndexOf(`
`,k-1)}`),{idx:k})}h(M,"o");let Xe=!1;qe.then(()=>{Xe=!0});const Pe=h((n,e)=>Xe?He(n,e):CA(n,e),"parseEsm"),BA=h(n=>{if(!n.includes("import")&&!n.includes("export"))return!1;try{return Pe(n)[3]}catch{return!0}},"isESM"),Te="2",dA=(n=>{const e="default";return n[e]&&typeof n[e]=="object"&&"__esModule"in n[e]?n[e]:n}).toString(),wA=`.then(${dA})`,me=h((n,e,A)=>{if(A){if(!e.includes("import("))return}else if(!e.includes("import"))return;const s=Pe(e,n)[0].filter(Q=>Q.d>-1);if(s.length===0)return;const a=new De(e);for(const Q of s)a.appendRight(Q.se,wA);const c=a.toString(),C=a.generateMap({source:n,includeContent:!1,hires:"boundary"});return{code:c,map:C}},"transformDynamicImport"),Ze=h(n=>{try{const e=x.readFileSync(n,"utf8");return JSON.parse(e)}catch{}},"readJsonFile"),$e=h(()=>{},"noop"),Ve=h(()=>Math.floor(Date.now()/1e8),"getTime");class kA extends Map{static{h(this,"FileCache")}cacheDirectory=Vt.tmpdir;oldCacheDirectory=Z.join($t.tmpdir(),"tsx");cacheFiles;constructor(){super(),x.mkdirSync(this.cacheDirectory,{recursive:!0}),this.cacheFiles=x.readdirSync(this.cacheDirectory).map(e=>{const[A,i]=e.split("-");return{time:Number(A),key:i,fileName:e}}),setImmediate(()=>{this.expireDiskCache(),this.removeOldCacheDirectory()})}get(e){const A=super.get(e);if(A)return A;const i=this.cacheFiles.find(c=>c.key===e);if(!i)return;const s=Z.join(this.cacheDirectory,i.fileName),a=Ze(s);if(!a){x.promises.unlink(s).then(()=>{const c=this.cacheFiles.indexOf(i);this.cacheFiles.splice(c,1)},()=>{});return}return super.set(e,a),a}set(e,A){if(super.set(e,A),A){const i=Ve();x.promises.writeFile(Z.join(this.cacheDirectory,`${i}-${e}`),JSON.stringify(A)).catch($e)}return this}expireDiskCache(){const e=Ve();for(const A of this.cacheFiles)e-A.time>7&&x.promises.unlink(Z.join(this.cacheDirectory,A.fileName)).catch($e)}async removeOldCacheDirectory(){try{await x.promises.access(this.oldCacheDirectory).then(()=>!0)&&("rm"in x.promises?await x.promises.rm(this.oldCacheDirectory,{recursive:!0,force:!0}):await x.promises.rmdir(this.oldCacheDirectory,{recursive:!0}))}catch{}}}var se=process.env.TSX_DISABLE_CACHE?new Map:new kA;const IA=/^[\w+.-]+:\/\//,pA=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,bA=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function mA(n){return IA.test(n)}h(mA,"isAbsoluteUrl");function KA(n){return n.startsWith("//")}h(KA,"isSchemeRelativeUrl");function We(n){return n.startsWith("/")}h(We,"isAbsolutePath");function DA(n){return n.startsWith("file:")}h(DA,"isFileUrl");function ze(n){return/^[.?#]/.test(n)}h(ze,"isRelative");function oe(n){const e=pA.exec(n);return et(e[1],e[2]||"",e[3],e[4]||"",e[5]||"/",e[6]||"",e[7]||"")}h(oe,"parseAbsoluteUrl");function yA(n){const e=bA.exec(n),A=e[2];return et("file:","",e[1]||"","",We(A)?A:"/"+A,e[3]||"",e[4]||"")}h(yA,"parseFileUrl");function et(n,e,A,i,s,a,c){return{scheme:n,user:e,host:A,port:i,path:s,query:a,hash:c,type:7}}h(et,"makeUrl");function tt(n){if(KA(n)){const A=oe("http:"+n);return A.scheme="",A.type=6,A}if(We(n)){const A=oe("http://foo.com"+n);return A.scheme="",A.host="",A.type=5,A}if(DA(n))return yA(n);if(mA(n))return oe(n);const e=oe("http://foo.com/"+n);return e.scheme="",e.host="",e.type=n?n.startsWith("?")?3:n.startsWith("#")?2:4:1,e}h(tt,"parseUrl");function LA(n){if(n.endsWith("/.."))return n;const e=n.lastIndexOf("/");return n.slice(0,e+1)}h(LA,"stripPathFilename");function NA(n,e){At(e,e.type),n.path==="/"?n.path=e.path:n.path=LA(e.path)+n.path}h(NA,"mergePaths");function At(n,e){const A=e<=4,i=n.path.split("/");let s=1,a=0,c=!1;for(let Q=1;Q<i.length;Q++){const g=i[Q];if(!g){c=!0;continue}if(c=!1,g!=="."){if(g===".."){a?(c=!0,a--,s--):A&&(i[s++]=g);continue}i[s++]=g,a++}}let C="";for(let Q=1;Q<s;Q++)C+="/"+i[Q];(!C||c&&!C.endsWith("/.."))&&(C+="/"),n.path=C}h(At,"normalizePath");function SA(n,e){if(!n&&!e)return"";const A=tt(n);let i=A.type;if(e&&i!==7){const a=tt(e),c=a.type;switch(i){case 1:A.hash=a.hash;case 2:A.query=a.query;case 3:case 4:NA(A,a);case 5:A.user=a.user,A.host=a.host,A.port=a.port;case 6:A.scheme=a.scheme}c>i&&(i=c)}At(A,i);const s=A.query+A.hash;switch(i){case 2:case 3:return s;case 4:{const a=A.path.slice(1);return a?ze(e||n)&&!ze(a)?"./"+a+s:a+s:s||"."}case 5:return A.path+s;default:return A.scheme+"//"+A.user+A.host+A.port+A.path+s}}h(SA,"resolve$1");function rt(n,e){return e&&!e.endsWith("/")&&(e+="/"),SA(n,e)}h(rt,"resolve");function JA(n){if(!n)return"";const e=n.lastIndexOf("/");return n.slice(0,e+1)}h(JA,"stripFilename");const Y=0;function RA(n,e){const A=it(n,0);if(A===n.length)return n;e||(n=n.slice());for(let i=A;i<n.length;i=it(n,i+1))n[i]=vA(n[i],e);return n}h(RA,"maybeSort");function it(n,e){for(let A=e;A<n.length;A++)if(!UA(n[A]))return A;return n.length}h(it,"nextUnsortedSegmentLine");function UA(n){for(let e=1;e<n.length;e++)if(n[e][Y]<n[e-1][Y])return!1;return!0}h(UA,"isSorted");function vA(n,e){return e||(n=n.slice()),n.sort(xA)}h(vA,"sortSegments");function xA(n,e){return n[Y]-e[Y]}h(xA,"sortComparator");let ae=!1;function FA(n,e,A,i){for(;A<=i;){const s=A+(i-A>>1),a=n[s][Y]-e;if(a===0)return ae=!0,s;a<0?A=s+1:i=s-1}return ae=!1,A-1}h(FA,"binarySearch");function MA(n,e,A){for(let i=A-1;i>=0&&n[i][Y]===e;A=i--);return A}h(MA,"lowerBound");function GA(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}h(GA,"memoizedState");function YA(n,e,A,i){const{lastKey:s,lastNeedle:a,lastIndex:c}=A;let C=0,Q=n.length-1;if(i===s){if(e===a)return ae=c!==-1&&n[c][Y]===e,c;e>=a?C=c===-1?0:c:Q=c}return A.lastKey=i,A.lastNeedle=e,A.lastIndex=FA(n,e,C,Q)}h(YA,"memoizedBinarySearch");class nt{static{h(this,"TraceMap")}constructor(e,A){const i=typeof e=="string";if(!i&&e._decodedMemo)return e;const s=i?JSON.parse(e):e,{version:a,file:c,names:C,sourceRoot:Q,sources:g,sourcesContent:f}=s;this.version=a,this.file=c,this.names=C||[],this.sourceRoot=Q,this.sources=g,this.sourcesContent=f,this.ignoreList=s.ignoreList||s.x_google_ignoreList||void 0;const r=rt(Q||"",JA(A));this.resolvedSources=g.map(K=>rt(K||"",r));const{mappings:m}=s;typeof m=="string"?(this._encoded=m,this._decoded=void 0):(this._encoded=void 0,this._decoded=RA(m,i)),this._decodedMemo=GA(),this._bySources=void 0,this._bySourceMemos=void 0}}function kr(n){return n}h(kr,"cast$2");function st(n){var e;return(e=n)._decoded||(e._decoded=zt(n._encoded))}h(st,"decodedMappings");function HA(n,e,A){const i=st(n);if(e>=i.length)return null;const s=i[e],a=qA(s,n._decodedMemo,e,A);return a===-1?null:s[a]}h(HA,"traceSegment");function qA(n,e,A,i,s){let a=YA(n,i,e,A);return ae&&(a=MA(n,i,a)),a===-1||a===n.length?-1:a}h(qA,"traceSegmentInternal");class Ke{static{h(this,"SetArray")}constructor(){this._indexes={__proto__:null},this.array=[]}}function Ir(n){return n}h(Ir,"cast$1");function ot(n,e){return n._indexes[e]}h(ot,"get");function ee(n,e){const A=ot(n,e);if(A!==void 0)return A;const{array:i,_indexes:s}=n,a=i.push(e);return s[e]=a-1}h(ee,"put");function _A(n,e){const A=ot(n,e);if(A===void 0)return;const{array:i,_indexes:s}=n;for(let a=A+1;a<i.length;a++){const c=i[a];i[a-1]=c,s[c]--}s[e]=void 0,i.pop()}h(_A,"remove");const OA=0,jA=1,XA=2,PA=3,TA=4,at=-1;class ZA{static{h(this,"GenMapping")}constructor({file:e,sourceRoot:A}={}){this._names=new Ke,this._sources=new Ke,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=A,this._ignoreList=new Ke}}function pr(n){return n}h(pr,"cast");const $A=h((n,e,A,i,s,a,c,C)=>er(!0,n,e,A,i,s,a,c),"maybeAddSegment");function VA(n,e,A){const{_sources:i,_sourcesContent:s}=n,a=ee(i,e);s[a]=A}h(VA,"setSourceContent");function WA(n,e,A=!0){const{_sources:i,_sourcesContent:s,_ignoreList:a}=n,c=ee(i,e);c===s.length&&(s[c]=null),A?ee(a,c):_A(a,c)}h(WA,"setIgnore");function ct(n){const{_mappings:e,_sources:A,_sourcesContent:i,_names:s,_ignoreList:a}=n;return rr(e),{version:3,file:n.file||void 0,names:s.array,sourceRoot:n.sourceRoot||void 0,sources:A.array,sourcesContent:i,mappings:e,ignoreList:a.array}}h(ct,"toDecodedMap");function zA(n){const e=ct(n);return Object.assign(Object.assign({},e),{mappings:Me(e.mappings)})}h(zA,"toEncodedMap");function er(n,e,A,i,s,a,c,C,Q){const{_mappings:g,_sources:f,_sourcesContent:r,_names:m}=e,K=tr(g,A),p=Ar(K,i);if(!s)return ir(K,p)?void 0:ut(K,p,[i]);const S=ee(f,s),v=C?ee(m,C):at;if(S===r.length&&(r[S]=null),!nr(K,p,S,a,c,v))return ut(K,p,C?[i,S,a,c,v]:[i,S,a,c])}h(er,"addSegmentInternal");function tr(n,e){for(let A=n.length;A<=e;A++)n[A]=[];return n[e]}h(tr,"getLine");function Ar(n,e){let A=n.length;for(let i=A-1;i>=0;A=i--){const s=n[i];if(e>=s[OA])break}return A}h(Ar,"getColumnIndex");function ut(n,e,A){for(let i=n.length;i>e;i--)n[i]=n[i-1];n[e]=A}h(ut,"insert");function rr(n){const{length:e}=n;let A=e;for(let i=A-1;i>=0&&!(n[i].length>0);A=i,i--);A<e&&(n.length=A)}h(rr,"removeEmptyFinalLines");function ir(n,e){return e===0?!0:n[e-1].length===1}h(ir,"skipSourceless");function nr(n,e,A,i,s,a){if(e===0)return!1;const c=n[e-1];return c.length===1?!1:A===c[jA]&&i===c[XA]&&s===c[PA]&&a===(c.length===5?c[TA]:at)}h(nr,"skipSource");const lt=ht("",-1,-1,"",null,!1),sr=[];function ht(n,e,A,i,s,a){return{source:n,line:e,column:A,name:i,content:s,ignore:a}}h(ht,"SegmentObject");function ft(n,e,A,i,s){return{map:n,sources:e,source:A,content:i,ignore:s}}h(ft,"Source");function Qt(n,e){return ft(n,e,"",null,!1)}h(Qt,"MapSource");function or(n,e,A){return ft(null,sr,n,e,A)}h(or,"OriginalSource");function ar(n){const e=new ZA({file:n.map.file}),{sources:A,map:i}=n,s=i.names,a=st(i);for(let c=0;c<a.length;c++){const C=a[c];for(let Q=0;Q<C.length;Q++){const g=C[Q],f=g[0];let r=lt;if(g.length!==1){const j=A[g[1]];if(r=gt(j,g[2],g[3],g.length===5?s[g[4]]:""),r==null)continue}const{column:m,line:K,name:p,content:S,source:v,ignore:H}=r;$A(e,c,f,v,K,m,p),v&&S!=null&&VA(e,v,S),H&&WA(e,v,!0)}}return e}h(ar,"traceMappings");function gt(n,e,A,i){if(!n.map)return ht(n.source,e,A,i,n.content,n.ignore);const s=HA(n.map,e,A);return s==null?null:s.length===1?lt:gt(n.sources[s[1]],s[2],s[3],s.length===5?n.map.names[s[4]]:i)}h(gt,"originalPositionFor");function cr(n){return Array.isArray(n)?n:[n]}h(cr,"asArray");function ur(n,e){const A=cr(n).map(a=>new nt(a,"")),i=A.pop();for(let a=0;a<A.length;a++)if(A[a].sources.length>1)throw new Error(`Transformation map ${a} must have exactly one source file.
-Did you specify these with the most recent transformation maps first?`);let s=Ct(i,e,"",0);for(let a=A.length-1;a>=0;a--)s=Qt(A[a],[s]);return s}h(ur,"buildSourceMapTree");function Ct(n,e,A,i){const{resolvedSources:s,sourcesContent:a,ignoreList:c}=n,C=i+1,Q=s.map((g,f)=>{const r={importer:A,depth:C,source:g||"",content:void 0,ignore:void 0},m=e(r.source,r),{source:K,content:p,ignore:S}=r;if(m)return Ct(new nt(m,K),e,K,C);const v=p!==void 0?p:a?a[f]:null,H=S!==void 0?S:c?c.includes(f):!1;return or(K,v,H)});return Qt(n,Q)}h(Ct,"build");class lr{static{h(this,"SourceMap")}constructor(e,A){const i=A.decodedMappings?ct(e):zA(e);this.version=i.version,this.file=i.file,this.mappings=i.mappings,this.names=i.names,this.ignoreList=i.ignoreList,this.sourceRoot=i.sourceRoot,this.sources=i.sources,A.excludeContent||(this.sourcesContent=i.sourcesContent)}toString(){return JSON.stringify(this)}}function Et(n,e,A){const i={excludeContent:!!A,decodedMappings:!1},s=ur(n,e);return new lr(ar(s),i)}h(Et,"remapping");const hr=h((n,e,A)=>{const i=[],s={code:e};for(const a of A){const c=a(n,s.code);c&&(Object.assign(s,c),i.unshift(c.map))}return{...s,map:Et(i,()=>null)}},"applyTransformersSync"),fr=h(async(n,e,A)=>{const i=[],s={code:e};for(const a of A){const c=await a(n,s.code);c&&(Object.assign(s,c),i.unshift(c.map))}return{...s,map:Et(i,()=>null)}},"applyTransformers"),Qr=Object.freeze({target:`node${process.versions.node}`,loader:"default"}),gr=/^--inspect(?:-brk|-port|-publish-uid|-wait)?(?:=|$)/,Cr=process.execArgv.some(n=>gr.test(n)),Bt={...Qr,sourcemap:!0,sourcesContent:!!process.env.NODE_V8_COVERAGE||Cr,minifyWhitespace:!0,keepNames:!0},dt=h(n=>{const e=n.sourcefile;if(e){const A=Z.extname(e.split("?")[0]);A?A===".cts"||A===".mts"?n.sourcefile=`${e.slice(0,-3)}ts`:A===".mjs"&&(n.sourcefile=`${e.slice(0,-3)}js`):n.sourcefile+=".js"}return A=>(A.map&&(n.sourcefile!==e&&(A.map=A.map.replace(JSON.stringify(n.sourcefile),JSON.stringify(e))),A.map=JSON.parse(A.map)),A)},"patchOptions"),wt=h(n=>{throw n.name="TransformError",delete n.errors,delete n.warnings,n},"formatEsbuildError"),Er=h((n,e,A)=>{const[i,s]=e.split("?"),a={};i.endsWith(".cjs")||i.endsWith(".cts")||(a["import.meta.url"]=JSON.stringify(Tt.pathToFileURL(i)+(s?`?${s}`:"")));const c={...Bt,format:"cjs",sourcefile:i,define:a,banner:"(()=>{",footer:"})()",platform:"node",...A},C=Je([n,JSON.stringify(c),ie.version,Te].join("-"));let Q=se.get(C);return Q||(Q=hr(e,n,[(g,f)=>{const r=dt(c);let m;try{m=ie.transformSync(f,c)}catch(K){throw wt(K)}return r(m)},(g,f)=>me(g,f,!0)]),se.set(C,Q)),Q},"transformSync"),Br=h(async(n,e,A)=>{const i={...Bt,format:"esm",sourcefile:e,...A},s=Je([n,JSON.stringify(i),ie.version,Te].join("-"));let a=se.get(s);return a||(a=await fr(e,n,[async(c,C)=>{const Q=dt(i);let g;try{g=await ie.transform(C,i)}catch(f){throw wt(f)}return Q(g)},(c,C)=>me(c,C,!0)]),se.set(s,a)),a},"transform");exports.isESM=BA,exports.readJsonFile=Ze,exports.transform=Br,exports.transformDynamicImport=me,exports.transformSync=Er;
+Did you specify these with the most recent transformation maps first?`);let s=Ct(i,e,"",0);for(let a=A.length-1;a>=0;a--)s=Qt(A[a],[s]);return s}h(ur,"buildSourceMapTree");function Ct(n,e,A,i){const{resolvedSources:s,sourcesContent:a,ignoreList:c}=n,C=i+1,Q=s.map((g,f)=>{const r={importer:A,depth:C,source:g||"",content:void 0,ignore:void 0},m=e(r.source,r),{source:K,content:p,ignore:S}=r;if(m)return Ct(new nt(m,K),e,K,C);const v=p!==void 0?p:a?a[f]:null,H=S!==void 0?S:c?c.includes(f):!1;return or(K,v,H)});return Qt(n,Q)}h(Ct,"build");class lr{static{h(this,"SourceMap")}constructor(e,A){const i=A.decodedMappings?ct(e):zA(e);this.version=i.version,this.file=i.file,this.mappings=i.mappings,this.names=i.names,this.ignoreList=i.ignoreList,this.sourceRoot=i.sourceRoot,this.sources=i.sources,A.excludeContent||(this.sourcesContent=i.sourcesContent)}toString(){return JSON.stringify(this)}}function Et(n,e,A){const i={excludeContent:!!A,decodedMappings:!1},s=ur(n,e);return new lr(ar(s),i)}h(Et,"remapping");const hr=h((n,e,A)=>{const i=[],s={code:e};for(const a of A){const c=a(n,s.code);c&&(Object.assign(s,c),i.unshift(c.map))}return{...s,map:Et(i,()=>null)}},"applyTransformersSync"),fr=h(async(n,e,A)=>{const i=[],s={code:e};for(const a of A){const c=await a(n,s.code);c&&(Object.assign(s,c),i.unshift(c.map))}return{...s,map:Et(i,()=>null)}},"applyTransformers"),Qr=Object.freeze({target:`node${process.versions.node}`,loader:"default"}),gr=/^--inspect(?:-brk|-port|-publish-uid|-wait)?(?:=|$)/,Cr=process.execArgv.some(n=>gr.test(n)),Bt={...Qr,jsx:"automatic",sourcemap:!0,sourcesContent:!!process.env.NODE_V8_COVERAGE||Cr,minifyWhitespace:!0,keepNames:!0},dt=h(n=>{const e=n.sourcefile;if(e){const A=Z.extname(e.split("?")[0]);A?A===".cts"||A===".mts"?n.sourcefile=`${e.slice(0,-3)}ts`:A===".mjs"&&(n.sourcefile=`${e.slice(0,-3)}js`):n.sourcefile+=".js"}return A=>(A.map&&(n.sourcefile!==e&&(A.map=A.map.replace(JSON.stringify(n.sourcefile),JSON.stringify(e))),A.map=JSON.parse(A.map)),A)},"patchOptions"),wt=h(n=>{throw n.name="TransformError",delete n.errors,delete n.warnings,n},"formatEsbuildError"),Er=h((n,e,A)=>{const[i,s]=e.split("?"),a={};i.endsWith(".cjs")||i.endsWith(".cts")||(a["import.meta.url"]=JSON.stringify(Tt.pathToFileURL(i)+(s?`?${s}`:"")));const c={...Bt,format:"cjs",sourcefile:i,define:a,banner:"(()=>{",footer:"})()",platform:"node",...A},C=Je([n,JSON.stringify(c),ie.version,Te].join("-"));let Q=se.get(C);return Q||(Q=hr(e,n,[(g,f)=>{const r=dt(c);let m;try{m=ie.transformSync(f,c)}catch(K){throw wt(K)}return r(m)},(g,f)=>me(g,f,!0)]),se.set(C,Q)),Q},"transformSync"),Br=h(async(n,e,A)=>{const i={...Bt,format:"esm",sourcefile:e,...A},s=Je([n,JSON.stringify(i),ie.version,Te].join("-"));let a=se.get(s);return a||(a=await fr(e,n,[async(c,C)=>{const Q=dt(i);let g;try{g=await ie.transform(C,i)}catch(f){throw wt(f)}return Q(g)},(c,C)=>me(c,C,!0)]),se.set(s,a)),a},"transform");exports.isESM=BA,exports.readJsonFile=Ze,exports.transform=Br,exports.transformDynamicImport=me,exports.transformSync=Er;
diff --git a/dist/index-DlKgSVBb.mjs b/dist/index-DlKgSVBb.mjs
index 5bd4c3baea9d36e1f2f9e5861167f4a78e6c1297..6d7bd90b3ae7fb2bc73e9cbd472939e42dbfb325 100644
--- a/dist/index-DlKgSVBb.mjs
+++ b/dist/index-DlKgSVBb.mjs
@@ -13,4 +13,4 @@ var Pt=Object.defineProperty;var u=(n,e)=>Pt(n,"name",{value:e,configurable:!0})
`;case 114:return"\r";case 120:return String.fromCharCode(pe(2));case 117:return function(){const e=y.charCodeAt(k);let A;return e===123?(++k,A=pe(y.indexOf("}",k)-k),++k,A>1114111&&M()):A=pe(4),A<=65535?String.fromCharCode(A):(A-=65536,String.fromCharCode(55296+(A>>10),56320+(1023&A)))}();case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:y.charCodeAt(k)===10&&++k;case 10:return"";case 56:case 57:M();default:if(n>=48&&n<=55){let e=y.substr(k-1,3).match(/^[0-7]+/)[0],A=parseInt(e,8);return A>255&&(e=e.slice(0,-1),A=parseInt(e,8)),k+=e.length-1,n=y.charCodeAt(k),e==="0"&&n!==56&&n!==57||M(),String.fromCharCode(A)}return je(n)?"":String.fromCharCode(n)}}u(dA,"k");function pe(n){const e=k;let A=0,i=0;for(let s=0;s<n;++s,++k){let a,c=y.charCodeAt(k);if(c!==95){if(c>=97)a=c-97+10;else if(c>=65)a=c-65+10;else{if(!(c>=48&&c<=57))break;a=c-48}if(a>=16)break;i=c,A=16*A+a}else i!==95&&s!==0||M(),i=c}return i!==95&&k-e===n||M(),A}u(pe,"l");function je(n){return n===13||n===10}u(je,"u");function M(){throw Object.assign(Error(`Parse error ${qe}:${y.slice(0,k).split(`
`).length}:${k-y.lastIndexOf(`
`,k-1)}`),{idx:k})}u(M,"o");let Xe=!1;_e.then(()=>{Xe=!0});const Pe=u((n,e)=>Xe?He(n,e):BA(n,e),"parseEsm"),wA=u(n=>{if(!n.includes("import")&&!n.includes("export"))return!1;try{return Pe(n)[3]}catch{return!0}},"isESM"),Te="2",kA=(n=>{const e="default";return n[e]&&typeof n[e]=="object"&&"__esModule"in n[e]?n[e]:n}).toString(),IA=`.then(${kA})`,be=u((n,e,A)=>{if(A){if(!e.includes("import("))return}else if(!e.includes("import"))return;const s=Pe(e,n)[0].filter(Q=>Q.d>-1);if(s.length===0)return;const a=new Ke(e);for(const Q of s)a.appendRight(Q.se,IA);const c=a.toString(),C=a.generateMap({source:n,includeContent:!1,hires:"boundary"});return{code:c,map:C}},"transformDynamicImport"),Ze=u(n=>{try{const e=v.readFileSync(n,"utf8");return JSON.parse(e)}catch{}},"readJsonFile"),$e=u(()=>{},"noop"),Ve=u(()=>Math.floor(Date.now()/1e8),"getTime");class pA extends Map{static{u(this,"FileCache")}cacheDirectory=zt;oldCacheDirectory=Z.join(Wt.tmpdir(),"tsx");cacheFiles;constructor(){super(),v.mkdirSync(this.cacheDirectory,{recursive:!0}),this.cacheFiles=v.readdirSync(this.cacheDirectory).map(e=>{const[A,i]=e.split("-");return{time:Number(A),key:i,fileName:e}}),setImmediate(()=>{this.expireDiskCache(),this.removeOldCacheDirectory()})}get(e){const A=super.get(e);if(A)return A;const i=this.cacheFiles.find(c=>c.key===e);if(!i)return;const s=Z.join(this.cacheDirectory,i.fileName),a=Ze(s);if(!a){v.promises.unlink(s).then(()=>{const c=this.cacheFiles.indexOf(i);this.cacheFiles.splice(c,1)},()=>{});return}return super.set(e,a),a}set(e,A){if(super.set(e,A),A){const i=Ve();v.promises.writeFile(Z.join(this.cacheDirectory,`${i}-${e}`),JSON.stringify(A)).catch($e)}return this}expireDiskCache(){const e=Ve();for(const A of this.cacheFiles)e-A.time>7&&v.promises.unlink(Z.join(this.cacheDirectory,A.fileName)).catch($e)}async removeOldCacheDirectory(){try{await v.promises.access(this.oldCacheDirectory).then(()=>!0)&&("rm"in v.promises?await v.promises.rm(this.oldCacheDirectory,{recursive:!0,force:!0}):await v.promises.rmdir(this.oldCacheDirectory,{recursive:!0}))}catch{}}}var ne=process.env.TSX_DISABLE_CACHE?new Map:new pA;const bA=/^[\w+.-]+:\/\//,mA=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,KA=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function DA(n){return bA.test(n)}u(DA,"isAbsoluteUrl");function LA(n){return n.startsWith("//")}u(LA,"isSchemeRelativeUrl");function We(n){return n.startsWith("/")}u(We,"isAbsolutePath");function yA(n){return n.startsWith("file:")}u(yA,"isFileUrl");function ze(n){return/^[.?#]/.test(n)}u(ze,"isRelative");function se(n){const e=mA.exec(n);return et(e[1],e[2]||"",e[3],e[4]||"",e[5]||"/",e[6]||"",e[7]||"")}u(se,"parseAbsoluteUrl");function NA(n){const e=KA.exec(n),A=e[2];return et("file:","",e[1]||"","",We(A)?A:"/"+A,e[3]||"",e[4]||"")}u(NA,"parseFileUrl");function et(n,e,A,i,s,a,c){return{scheme:n,user:e,host:A,port:i,path:s,query:a,hash:c,type:7}}u(et,"makeUrl");function tt(n){if(LA(n)){const A=se("http:"+n);return A.scheme="",A.type=6,A}if(We(n)){const A=se("http://foo.com"+n);return A.scheme="",A.host="",A.type=5,A}if(yA(n))return NA(n);if(DA(n))return se(n);const e=se("http://foo.com/"+n);return e.scheme="",e.host="",e.type=n?n.startsWith("?")?3:n.startsWith("#")?2:4:1,e}u(tt,"parseUrl");function SA(n){if(n.endsWith("/.."))return n;const e=n.lastIndexOf("/");return n.slice(0,e+1)}u(SA,"stripPathFilename");function JA(n,e){At(e,e.type),n.path==="/"?n.path=e.path:n.path=SA(e.path)+n.path}u(JA,"mergePaths");function At(n,e){const A=e<=4,i=n.path.split("/");let s=1,a=0,c=!1;for(let Q=1;Q<i.length;Q++){const g=i[Q];if(!g){c=!0;continue}if(c=!1,g!=="."){if(g===".."){a?(c=!0,a--,s--):A&&(i[s++]=g);continue}i[s++]=g,a++}}let C="";for(let Q=1;Q<s;Q++)C+="/"+i[Q];(!C||c&&!C.endsWith("/.."))&&(C+="/"),n.path=C}u(At,"normalizePath");function RA(n,e){if(!n&&!e)return"";const A=tt(n);let i=A.type;if(e&&i!==7){const a=tt(e),c=a.type;switch(i){case 1:A.hash=a.hash;case 2:A.query=a.query;case 3:case 4:JA(A,a);case 5:A.user=a.user,A.host=a.host,A.port=a.port;case 6:A.scheme=a.scheme}c>i&&(i=c)}At(A,i);const s=A.query+A.hash;switch(i){case 2:case 3:return s;case 4:{const a=A.path.slice(1);return a?ze(e||n)&&!ze(a)?"./"+a+s:a+s:s||"."}case 5:return A.path+s;default:return A.scheme+"//"+A.user+A.host+A.port+A.path+s}}u(RA,"resolve$1");function rt(n,e){return e&&!e.endsWith("/")&&(e+="/"),RA(n,e)}u(rt,"resolve");function UA(n){if(!n)return"";const e=n.lastIndexOf("/");return n.slice(0,e+1)}u(UA,"stripFilename");const Y=0;function xA(n,e){const A=it(n,0);if(A===n.length)return n;e||(n=n.slice());for(let i=A;i<n.length;i=it(n,i+1))n[i]=FA(n[i],e);return n}u(xA,"maybeSort");function it(n,e){for(let A=e;A<n.length;A++)if(!vA(n[A]))return A;return n.length}u(it,"nextUnsortedSegmentLine");function vA(n){for(let e=1;e<n.length;e++)if(n[e][Y]<n[e-1][Y])return!1;return!0}u(vA,"isSorted");function FA(n,e){return e||(n=n.slice()),n.sort(MA)}u(FA,"sortSegments");function MA(n,e){return n[Y]-e[Y]}u(MA,"sortComparator");let oe=!1;function GA(n,e,A,i){for(;A<=i;){const s=A+(i-A>>1),a=n[s][Y]-e;if(a===0)return oe=!0,s;a<0?A=s+1:i=s-1}return oe=!1,A-1}u(GA,"binarySearch");function YA(n,e,A){for(let i=A-1;i>=0&&n[i][Y]===e;A=i--);return A}u(YA,"lowerBound");function HA(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}u(HA,"memoizedState");function _A(n,e,A,i){const{lastKey:s,lastNeedle:a,lastIndex:c}=A;let C=0,Q=n.length-1;if(i===s){if(e===a)return oe=c!==-1&&n[c][Y]===e,c;e>=a?C=c===-1?0:c:Q=c}return A.lastKey=i,A.lastNeedle=e,A.lastIndex=GA(n,e,C,Q)}u(_A,"memoizedBinarySearch");class nt{static{u(this,"TraceMap")}constructor(e,A){const i=typeof e=="string";if(!i&&e._decodedMemo)return e;const s=i?JSON.parse(e):e,{version:a,file:c,names:C,sourceRoot:Q,sources:g,sourcesContent:f}=s;this.version=a,this.file=c,this.names=C||[],this.sourceRoot=Q,this.sources=g,this.sourcesContent=f,this.ignoreList=s.ignoreList||s.x_google_ignoreList||void 0;const r=rt(Q||"",UA(A));this.resolvedSources=g.map(K=>rt(K||"",r));const{mappings:m}=s;typeof m=="string"?(this._encoded=m,this._decoded=void 0):(this._encoded=void 0,this._decoded=xA(m,i)),this._decodedMemo=HA(),this._bySources=void 0,this._bySourceMemos=void 0}}function Nr(n){return n}u(Nr,"cast$2");function st(n){var e;return(e=n)._decoded||(e._decoded=tA(n._encoded))}u(st,"decodedMappings");function OA(n,e,A){const i=st(n);if(e>=i.length)return null;const s=i[e],a=qA(s,n._decodedMemo,e,A);return a===-1?null:s[a]}u(OA,"traceSegment");function qA(n,e,A,i,s){let a=_A(n,i,e,A);return oe&&(a=YA(n,i,a)),a===-1||a===n.length?-1:a}u(qA,"traceSegmentInternal");class me{static{u(this,"SetArray")}constructor(){this._indexes={__proto__:null},this.array=[]}}function Sr(n){return n}u(Sr,"cast$1");function ot(n,e){return n._indexes[e]}u(ot,"get");function ee(n,e){const A=ot(n,e);if(A!==void 0)return A;const{array:i,_indexes:s}=n,a=i.push(e);return s[e]=a-1}u(ee,"put");function jA(n,e){const A=ot(n,e);if(A===void 0)return;const{array:i,_indexes:s}=n;for(let a=A+1;a<i.length;a++){const c=i[a];i[a-1]=c,s[c]--}s[e]=void 0,i.pop()}u(jA,"remove");const XA=0,PA=1,TA=2,ZA=3,$A=4,at=-1;class VA{static{u(this,"GenMapping")}constructor({file:e,sourceRoot:A}={}){this._names=new me,this._sources=new me,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=A,this._ignoreList=new me}}function Jr(n){return n}u(Jr,"cast");const WA=u((n,e,A,i,s,a,c,C)=>Ar(!0,n,e,A,i,s,a,c),"maybeAddSegment");function zA(n,e,A){const{_sources:i,_sourcesContent:s}=n,a=ee(i,e);s[a]=A}u(zA,"setSourceContent");function er(n,e,A=!0){const{_sources:i,_sourcesContent:s,_ignoreList:a}=n,c=ee(i,e);c===s.length&&(s[c]=null),A?ee(a,c):jA(a,c)}u(er,"setIgnore");function ct(n){const{_mappings:e,_sources:A,_sourcesContent:i,_names:s,_ignoreList:a}=n;return nr(e),{version:3,file:n.file||void 0,names:s.array,sourceRoot:n.sourceRoot||void 0,sources:A.array,sourcesContent:i,mappings:e,ignoreList:a.array}}u(ct,"toDecodedMap");function tr(n){const e=ct(n);return Object.assign(Object.assign({},e),{mappings:Me(e.mappings)})}u(tr,"toEncodedMap");function Ar(n,e,A,i,s,a,c,C,Q){const{_mappings:g,_sources:f,_sourcesContent:r,_names:m}=e,K=rr(g,A),p=ir(K,i);if(!s)return sr(K,p)?void 0:ht(K,p,[i]);const S=ee(f,s),x=C?ee(m,C):at;if(S===r.length&&(r[S]=null),!or(K,p,S,a,c,x))return ht(K,p,C?[i,S,a,c,x]:[i,S,a,c])}u(Ar,"addSegmentInternal");function rr(n,e){for(let A=n.length;A<=e;A++)n[A]=[];return n[e]}u(rr,"getLine");function ir(n,e){let A=n.length;for(let i=A-1;i>=0;A=i--){const s=n[i];if(e>=s[XA])break}return A}u(ir,"getColumnIndex");function ht(n,e,A){for(let i=n.length;i>e;i--)n[i]=n[i-1];n[e]=A}u(ht,"insert");function nr(n){const{length:e}=n;let A=e;for(let i=A-1;i>=0&&!(n[i].length>0);A=i,i--);A<e&&(n.length=A)}u(nr,"removeEmptyFinalLines");function sr(n,e){return e===0?!0:n[e-1].length===1}u(sr,"skipSourceless");function or(n,e,A,i,s,a){if(e===0)return!1;const c=n[e-1];return c.length===1?!1:A===c[PA]&&i===c[TA]&&s===c[ZA]&&a===(c.length===5?c[$A]:at)}u(or,"skipSource");const lt=ut("",-1,-1,"",null,!1),ar=[];function ut(n,e,A,i,s,a){return{source:n,line:e,column:A,name:i,content:s,ignore:a}}u(ut,"SegmentObject");function ft(n,e,A,i,s){return{map:n,sources:e,source:A,content:i,ignore:s}}u(ft,"Source");function Qt(n,e){return ft(n,e,"",null,!1)}u(Qt,"MapSource");function cr(n,e,A){return ft(null,ar,n,e,A)}u(cr,"OriginalSource");function hr(n){const e=new VA({file:n.map.file}),{sources:A,map:i}=n,s=i.names,a=st(i);for(let c=0;c<a.length;c++){const C=a[c];for(let Q=0;Q<C.length;Q++){const g=C[Q],f=g[0];let r=lt;if(g.length!==1){const j=A[g[1]];if(r=gt(j,g[2],g[3],g.length===5?s[g[4]]:""),r==null)continue}const{column:m,line:K,name:p,content:S,source:x,ignore:H}=r;WA(e,c,f,x,K,m,p),x&&S!=null&&zA(e,x,S),H&&er(e,x,!0)}}return e}u(hr,"traceMappings");function gt(n,e,A,i){if(!n.map)return ut(n.source,e,A,i,n.content,n.ignore);const s=OA(n.map,e,A);return s==null?null:s.length===1?lt:gt(n.sources[s[1]],s[2],s[3],s.length===5?n.map.names[s[4]]:i)}u(gt,"originalPositionFor");function lr(n){return Array.isArray(n)?n:[n]}u(lr,"asArray");function ur(n,e){const A=lr(n).map(a=>new nt(a,"")),i=A.pop();for(let a=0;a<A.length;a++)if(A[a].sources.length>1)throw new Error(`Transformation map ${a} must have exactly one source file.
-Did you specify these with the most recent transformation maps first?`);let s=Ct(i,e,"",0);for(let a=A.length-1;a>=0;a--)s=Qt(A[a],[s]);return s}u(ur,"buildSourceMapTree");function Ct(n,e,A,i){const{resolvedSources:s,sourcesContent:a,ignoreList:c}=n,C=i+1,Q=s.map((g,f)=>{const r={importer:A,depth:C,source:g||"",content:void 0,ignore:void 0},m=e(r.source,r),{source:K,content:p,ignore:S}=r;if(m)return Ct(new nt(m,K),e,K,C);const x=p!==void 0?p:a?a[f]:null,H=S!==void 0?S:c?c.includes(f):!1;return cr(K,x,H)});return Qt(n,Q)}u(Ct,"build");class fr{static{u(this,"SourceMap")}constructor(e,A){const i=A.decodedMappings?ct(e):tr(e);this.version=i.version,this.file=i.file,this.mappings=i.mappings,this.names=i.names,this.ignoreList=i.ignoreList,this.sourceRoot=i.sourceRoot,this.sources=i.sources,A.excludeContent||(this.sourcesContent=i.sourcesContent)}toString(){return JSON.stringify(this)}}function Et(n,e,A){const i={excludeContent:!!A,decodedMappings:!1},s=ur(n,e);return new fr(hr(s),i)}u(Et,"remapping");const Qr=u((n,e,A)=>{const i=[],s={code:e};for(const a of A){const c=a(n,s.code);c&&(Object.assign(s,c),i.unshift(c.map))}return{...s,map:Et(i,()=>null)}},"applyTransformersSync"),gr=u(async(n,e,A)=>{const i=[],s={code:e};for(const a of A){const c=await a(n,s.code);c&&(Object.assign(s,c),i.unshift(c.map))}return{...s,map:Et(i,()=>null)}},"applyTransformers"),Cr=Object.freeze({target:`node${process.versions.node}`,loader:"default"}),Er=/^--inspect(?:-brk|-port|-publish-uid|-wait)?(?:=|$)/,Br=process.execArgv.some(n=>Er.test(n)),Bt={...Cr,sourcemap:!0,sourcesContent:!!process.env.NODE_V8_COVERAGE||Br,minifyWhitespace:!0,keepNames:!0},dt=u(n=>{const e=n.sourcefile;if(e){const A=Z.extname(e.split("?")[0]);A?A===".cts"||A===".mts"?n.sourcefile=`${e.slice(0,-3)}ts`:A===".mjs"&&(n.sourcefile=`${e.slice(0,-3)}js`):n.sourcefile+=".js"}return A=>(A.map&&(n.sourcefile!==e&&(A.map=A.map.replace(JSON.stringify(n.sourcefile),JSON.stringify(e))),A.map=JSON.parse(A.map)),A)},"patchOptions"),wt=u(n=>{throw n.name="TransformError",delete n.errors,delete n.warnings,n},"formatEsbuildError"),dr=u((n,e,A)=>{const[i,s]=e.split("?"),a={};i.endsWith(".cjs")||i.endsWith(".cts")||(a["import.meta.url"]=JSON.stringify(Tt(i)+(s?`?${s}`:"")));const c={...Bt,format:"cjs",sourcefile:i,define:a,banner:"(()=>{",footer:"})()",platform:"node",...A},C=Je([n,JSON.stringify(c),Se,Te].join("-"));let Q=ne.get(C);return Q||(Q=Qr(e,n,[(g,f)=>{const r=dt(c);let m;try{m=Zt(f,c)}catch(K){throw wt(K)}return r(m)},(g,f)=>be(g,f,!0)]),ne.set(C,Q)),Q},"transformSync"),wr=u(async(n,e,A)=>{const i={...Bt,format:"esm",sourcefile:e,...A},s=Je([n,JSON.stringify(i),Se,Te].join("-"));let a=ne.get(s);return a||(a=await gr(e,n,[async(c,C)=>{const Q=dt(i);let g;try{g=await $t(C,i)}catch(f){throw wt(f)}return Q(g)},(c,C)=>be(c,C,!0)]),ne.set(s,a)),a},"transform");export{dr as a,be as b,wA as i,Ze as r,wr as t};
+Did you specify these with the most recent transformation maps first?`);let s=Ct(i,e,"",0);for(let a=A.length-1;a>=0;a--)s=Qt(A[a],[s]);return s}u(ur,"buildSourceMapTree");function Ct(n,e,A,i){const{resolvedSources:s,sourcesContent:a,ignoreList:c}=n,C=i+1,Q=s.map((g,f)=>{const r={importer:A,depth:C,source:g||"",content:void 0,ignore:void 0},m=e(r.source,r),{source:K,content:p,ignore:S}=r;if(m)return Ct(new nt(m,K),e,K,C);const x=p!==void 0?p:a?a[f]:null,H=S!==void 0?S:c?c.includes(f):!1;return cr(K,x,H)});return Qt(n,Q)}u(Ct,"build");class fr{static{u(this,"SourceMap")}constructor(e,A){const i=A.decodedMappings?ct(e):tr(e);this.version=i.version,this.file=i.file,this.mappings=i.mappings,this.names=i.names,this.ignoreList=i.ignoreList,this.sourceRoot=i.sourceRoot,this.sources=i.sources,A.excludeContent||(this.sourcesContent=i.sourcesContent)}toString(){return JSON.stringify(this)}}function Et(n,e,A){const i={excludeContent:!!A,decodedMappings:!1},s=ur(n,e);return new fr(hr(s),i)}u(Et,"remapping");const Qr=u((n,e,A)=>{const i=[],s={code:e};for(const a of A){const c=a(n,s.code);c&&(Object.assign(s,c),i.unshift(c.map))}return{...s,map:Et(i,()=>null)}},"applyTransformersSync"),gr=u(async(n,e,A)=>{const i=[],s={code:e};for(const a of A){const c=await a(n,s.code);c&&(Object.assign(s,c),i.unshift(c.map))}return{...s,map:Et(i,()=>null)}},"applyTransformers"),Cr=Object.freeze({target:`node${process.versions.node}`,loader:"default"}),Er=/^--inspect(?:-brk|-port|-publish-uid|-wait)?(?:=|$)/,Br=process.execArgv.some(n=>Er.test(n)),Bt={...Cr,jsx:"automatic",sourcemap:!0,sourcesContent:!!process.env.NODE_V8_COVERAGE||Br,minifyWhitespace:!0,keepNames:!0},dt=u(n=>{const e=n.sourcefile;if(e){const A=Z.extname(e.split("?")[0]);A?A===".cts"||A===".mts"?n.sourcefile=`${e.slice(0,-3)}ts`:A===".mjs"&&(n.sourcefile=`${e.slice(0,-3)}js`):n.sourcefile+=".js"}return A=>(A.map&&(n.sourcefile!==e&&(A.map=A.map.replace(JSON.stringify(n.sourcefile),JSON.stringify(e))),A.map=JSON.parse(A.map)),A)},"patchOptions"),wt=u(n=>{throw n.name="TransformError",delete n.errors,delete n.warnings,n},"formatEsbuildError"),dr=u((n,e,A)=>{const[i,s]=e.split("?"),a={};i.endsWith(".cjs")||i.endsWith(".cts")||(a["import.meta.url"]=JSON.stringify(Tt(i)+(s?`?${s}`:"")));const c={...Bt,format:"cjs",sourcefile:i,define:a,banner:"(()=>{",footer:"})()",platform:"node",...A},C=Je([n,JSON.stringify(c),Se,Te].join("-"));let Q=ne.get(C);return Q||(Q=Qr(e,n,[(g,f)=>{const r=dt(c);let m;try{m=Zt(f,c)}catch(K){throw wt(K)}return r(m)},(g,f)=>be(g,f,!0)]),ne.set(C,Q)),Q},"transformSync"),wr=u(async(n,e,A)=>{const i={...Bt,format:"esm",sourcefile:e,...A},s=Je([n,JSON.stringify(i),Se,Te].join("-"));let a=ne.get(s);return a||(a=await gr(e,n,[async(c,C)=>{const Q=dt(i);let g;try{g=await $t(C,i)}catch(f){throw wt(f)}return Q(g)},(c,C)=>be(c,C,!0)]),ne.set(s,a)),a},"transform");export{dr as a,be as b,wA as i,Ze as r,wr as t};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment