Initial code test
CI/CD Pipeline / test (push) Has been cancelled
CI/CD Pipeline / deploy-internal (push) Has been cancelled

This commit is contained in:
chris committed 2026-08-26 11:51:58 -04:00
commit d4fae15f5c
1696 files changed
+271223

No files matched your search

Generated Vendored Executable
+1
View File
@@ -0,0 +1 @@
"use strict";require("../../get-pipe-path-D4YM6rQt.cjs");var r=require("../../register-C557imBs.cjs"),e=require("../../require-DDxgG93A.cjs");require("module"),require("node:path"),require("../../temporary-directory-B83uKxJF.cjs"),require("node:os"),require("node:module"),require("node:url"),require("node:fs"),require("fs"),require("os"),require("path"),require("../../index-6kqi0x0U.cjs"),require("esbuild"),require("node:crypto"),require("../../node-features-CEjg7cMX.cjs"),require("../../client-D3mGB526.cjs"),require("node:net"),require("node:util"),require("../../index-BWFBUo6r.cjs"),exports.register=r.register,exports.require=e.tsxRequire;
+35
View File
@@ -0,0 +1,35 @@
import { R as RequiredProperty } from '../../types-Cxp8y2TL.js';
type RegisterOptions = {
namespace?: string;
};
type Unregister = () => void;
type ScopedRequire = (id: string, fromFile: string | URL) => any;
type ScopedResolve = (id: string, fromFile: string | URL, resolveOptions?: {
paths?: string[] | undefined;
}) => string;
type NamespacedUnregister = Unregister & {
require: ScopedRequire;
resolve: ScopedResolve;
unregister: Unregister;
};
type Register = {
(options: RequiredProperty<RegisterOptions, 'namespace'>): NamespacedUnregister;
(options?: RegisterOptions): Unregister;
};
declare const register: Register;
declare const tsxRequire: {
(id: string, fromFile: string | URL): any;
resolve: {
(id: string, fromFile: string | URL, options?: {
paths?: string[] | undefined;
}): string;
paths: (request: string) => string[] | null;
};
main: NodeJS.Module | undefined;
extensions: NodeJS.RequireExtensions;
cache: NodeJS.Dict<NodeJS.Module>;
};
export { register, tsxRequire as require };
+35
View File
@@ -0,0 +1,35 @@
import { R as RequiredProperty } from '../../types-Cxp8y2TL.js';
type RegisterOptions = {
namespace?: string;
};
type Unregister = () => void;
type ScopedRequire = (id: string, fromFile: string | URL) => any;
type ScopedResolve = (id: string, fromFile: string | URL, resolveOptions?: {
paths?: string[] | undefined;
}) => string;
type NamespacedUnregister = Unregister & {
require: ScopedRequire;
resolve: ScopedResolve;
unregister: Unregister;
};
type Register = {
(options: RequiredProperty<RegisterOptions, 'namespace'>): NamespacedUnregister;
(options?: RegisterOptions): Unregister;
};
declare const register: Register;
declare const tsxRequire: {
(id: string, fromFile: string | URL): any;
resolve: {
(id: string, fromFile: string | URL, options?: {
paths?: string[] | undefined;
}): string;
paths: (request: string) => string[] | null;
};
main: NodeJS.Module | undefined;
extensions: NodeJS.RequireExtensions;
cache: NodeJS.Dict<NodeJS.Module>;
};
export { register, tsxRequire as require };
Generated Vendored Executable
+1
View File
@@ -0,0 +1 @@
import"../../get-pipe-path-_tAJyU_v.mjs";import{r as n}from"../../register-C9AniqUt.mjs";import{t as w}from"../../require-CywAB2e6.mjs";import"module";import"node:path";import"../../temporary-directory-BDDVQOvU.mjs";import"node:os";import"node:module";import"node:url";import"node:fs";import"fs";import"os";import"path";import"../../index-DQtFPMc2.mjs";import"esbuild";import"node:crypto";import"../../node-features-JeyyvQz6.mjs";import"../../client-D_mPDF5S.mjs";import"node:net";import"node:util";import"../../index-gbaejti9.mjs";export{n as register,w as require};
Generated Vendored Executable
+1
View File
@@ -0,0 +1 @@
"use strict";var r=require("../register-C557imBs.cjs");require("../get-pipe-path-D4YM6rQt.cjs"),require("module"),require("node:path"),require("../temporary-directory-B83uKxJF.cjs"),require("node:os"),require("node:module"),require("node:url"),require("node:fs"),require("fs"),require("os"),require("path"),require("../index-6kqi0x0U.cjs"),require("esbuild"),require("node:crypto"),require("../node-features-CEjg7cMX.cjs"),require("../client-D3mGB526.cjs"),require("node:net"),require("node:util"),require("../index-BWFBUo6r.cjs"),r.register();
Generated Vendored Executable
+1
View File
@@ -0,0 +1 @@
import{r}from"../register-C9AniqUt.mjs";import"../get-pipe-path-_tAJyU_v.mjs";import"module";import"node:path";import"../temporary-directory-BDDVQOvU.mjs";import"node:os";import"node:module";import"node:url";import"node:fs";import"fs";import"os";import"path";import"../index-DQtFPMc2.mjs";import"esbuild";import"node:crypto";import"../node-features-JeyyvQz6.mjs";import"../client-D_mPDF5S.mjs";import"node:net";import"node:util";import"../index-gbaejti9.mjs";r();
Generated Vendored Executable
+54
View File
@@ -0,0 +1,54 @@
"use strict";var Tn=Object.create;var ht=Object.defineProperty;var xn=Object.getOwnPropertyDescriptor;var On=Object.getOwnPropertyNames;var Nn=Object.getPrototypeOf,Pn=Object.prototype.hasOwnProperty;var a=(t,e)=>ht(t,"name",{value:e,configurable:!0});var Hn=(t,e,u,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of On(e))!Pn.call(t,n)&&n!==u&&ht(t,n,{get:()=>e[n],enumerable:!(r=xn(e,n))||r.enumerable});return t};var Ln=(t,e,u)=>(u=t!=null?Tn(Nn(t)):{},Hn(e||!t||!t.__esModule?ht(u,"default",{value:t,enumerable:!0}):u,t));var dt=require("node:os"),In=require("tty"),kn=require("./package-sd2gMcZx.cjs"),he=require("./get-pipe-path-D4YM6rQt.cjs"),Ru=require("node:url"),Mn=require("child_process"),q=require("path"),De=require("fs"),ke=require("./node-features-CEjg7cMX.cjs"),Me=require("node:path"),We=require("node:fs"),Wn=require("events"),_e=require("util"),Gn=require("stream"),bu=require("os"),ne=require("./index-BWFBUo6r.cjs"),jn=require("node:net"),Un=require("./temporary-directory-B83uKxJF.cjs");require("module");const Kn="known-flag",Vn="unknown-flag",zn="argument",{stringify:Ae}=JSON,Yn=/\B([A-Z])/g,qn=a(t=>t.replace(Yn,"-$1").toLowerCase(),"v$1"),{hasOwnProperty:Xn}=Object.prototype,ye=a((t,e)=>Xn.call(t,e),"w$2"),Qn=a(t=>Array.isArray(t),"L$2"),vu=a(t=>typeof t=="function"?[t,!1]:Qn(t)?[t[0],!0]:vu(t.type),"b$2"),Zn=a((t,e)=>t===Boolean?e!=="false":e,"d$2"),Jn=a((t,e)=>typeof e=="boolean"?e:t===Number&&e===""?Number.NaN:t(e),"m$1"),es=/[\s.:=]/,ts=a(t=>{const e=`Flag name ${Ae(t)}`;if(t.length===0)throw new Error(`${e} cannot be empty`);if(t.length===1)throw new Error(`${e} must be longer than a character`);const u=t.match(es);if(u)throw new Error(`${e} cannot contain ${Ae(u?.[0])}`)},"B"),us=a(t=>{const e={},u=a((r,n)=>{if(ye(e,r))throw new Error(`Duplicate flags named ${Ae(r)}`);e[r]=n},"r");for(const r in t){if(!ye(t,r))continue;ts(r);const n=t[r],s=[[],...vu(n),n];u(r,s);const i=qn(r);if(r!==i&&u(i,s),"alias"in n&&typeof n.alias=="string"){const{alias:o}=n,D=`Flag alias ${Ae(o)} for flag ${Ae(r)}`;if(o.length===0)throw new Error(`${D} cannot be empty`);if(o.length>1)throw new Error(`${D} must be a single character`);u(o,s)}}return e},"K$1"),rs=a((t,e)=>{const u={};for(const r in t){if(!ye(t,r))continue;const[n,,s,i]=e[r];if(n.length===0&&"default"in i){let{default:o}=i;typeof o=="function"&&(o=o()),u[r]=o}else u[r]=s?n:n.pop()}return u},"_$2"),Ge="--",ns=/[.:=]/,ss=/^-{1,2}\w/,is=a(t=>{if(!ss.test(t))return;const e=!t.startsWith(Ge);let u=t.slice(e?1:2),r;const n=u.match(ns);if(n){const{index:s}=n;r=u.slice(s+1),u=u.slice(0,s)}return[u,r,e]},"N"),os=a((t,{onFlag:e,onArgument:u})=>{let r;const n=a((s,i)=>{if(typeof r!="function")return!0;r(s,i),r=void 0},"o");for(let s=0;s<t.length;s+=1){const i=t[s];if(i===Ge){n();const D=t.slice(s+1);u?.(D,[s],!0);break}const o=is(i);if(o){if(n(),!e)continue;const[D,l,f]=o;if(f)for(let h=0;h<D.length;h+=1){n();const c=h===D.length-1;r=e(D[h],c?l:void 0,[s,h+1,c])}else r=e(D,l,[s])}else n(i,[s])&&u?.([i],[s])}n()},"$$1"),Ds=a((t,e)=>{for(const[u,r,n]of e.reverse()){if(r){const s=t[u];let i=s.slice(0,r);if(n||(i+=s.slice(r+1)),i!=="-"){t[u]=i;continue}}t.splice(u,1)}},"E"),Su=a((t,e=process.argv.slice(2),{ignore:u}={})=>{const r=[],n=us(t),s={},i=[];return i[Ge]=[],os(e,{onFlag(o,D,l){const f=ye(n,o);if(!u?.(f?Kn:Vn,o,D)){if(f){const[h,c]=n[o],C=Zn(c,D),F=a((m,R)=>{r.push(l),R&&r.push(R),h.push(Jn(c,m||""))},"p");return C===void 0?F:F(C)}ye(s,o)||(s[o]=[]),s[o].push(D===void 0?!0:D),r.push(l)}},onArgument(o,D,l){u?.(zn,e[D[0]])||(i.push(...o),l?(i[Ge]=o,e.splice(D[0])):r.push(D))}}),Ds(e,r),{flags:rs(t,n),unknownFlags:s,_:i}},"U$2");var as=Object.create,je=Object.defineProperty,ls=Object.defineProperties,cs=Object.getOwnPropertyDescriptor,fs=Object.getOwnPropertyDescriptors,hs=Object.getOwnPropertyNames,Bu=Object.getOwnPropertySymbols,ds=Object.getPrototypeOf,$u=Object.prototype.hasOwnProperty,Es=Object.prototype.propertyIsEnumerable,Tu=a((t,e,u)=>e in t?je(t,e,{enumerable:!0,configurable:!0,writable:!0,value:u}):t[e]=u,"W$1"),Ue=a((t,e)=>{for(var u in e||(e={}))$u.call(e,u)&&Tu(t,u,e[u]);if(Bu)for(var u of Bu(e))Es.call(e,u)&&Tu(t,u,e[u]);return t},"p"),Et=a((t,e)=>ls(t,fs(e)),"c"),ps=a(t=>je(t,"__esModule",{value:!0}),"nD"),Cs=a((t,e)=>()=>(t&&(e=t(t=0)),e),"rD"),Fs=a((t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),"iD"),gs=a((t,e,u,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of hs(e))!$u.call(t,n)&&n!=="default"&&je(t,n,{get:a(()=>e[n],"get"),enumerable:!(r=cs(e,n))||r.enumerable});return t},"oD"),ms=a((t,e)=>gs(ps(je(t!=null?as(ds(t)):{},"default",{value:t,enumerable:!0})),t),"BD"),V=Cs(()=>{}),_s=Fs((t,e)=>{V(),e.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDLine truncated
`).map(ae)),"b$1"),bs=a(t=>{let e=[];for(let u of t){let{length:r}=u,n=r-e.length;for(let s=0;s<n;s+=1)e.push(0);for(let s=0;s<r;s+=1){let i=Ou(u[s]);i>e[s]&&(e[s]=i)}}return e},"k$1");V();var Nu=/^\d+%$/,Pu={width:"auto",align:"left",contentWidth:0,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,horizontalPadding:0,paddingLeftString:"",paddingRightString:""},vs=a((t,e)=>{var u;let r=[];for(let n=0;n<t.length;n+=1){let s=(u=e[n])!=null?u:"auto";if(typeof s=="number"||s==="auto"||s==="content-width"||typeof s=="string"&&Nu.test(s)){r.push(Et(Ue({},Pu),{width:s,contentWidth:t[n]}));continue}if(s&&typeof s=="object"){let i=Et(Ue(Ue({},Pu),s),{contentWidth:t[n]});i.horizontalPadding=i.paddingLeft+i.paddingRight,r.push(i);continue}throw new Error(`Invalid column width: ${JSON.stringify(s)}`)}return r},"sD");function Ss(t,e){for(let u of t){let{width:r}=u;if(r==="content-width"&&(u.width=u.contentWidth),r==="auto"){let D=Math.min(20,u.contentWidth);u.width=D,u.autoOverflow=u.contentWidth-D}if(typeof r=="string"&&Nu.test(r)){let D=Number.parseFloat(r.slice(0,-1))/100;u.width=Math.floor(e*D)-(u.paddingLeft+u.paddingRight)}let{horizontalPadding:n}=u,s=1,i=s+n;if(i>=e){let D=i-e,l=Math.ceil(u.paddingLeft/n*D),f=D-l;u.paddingLeft-=l,u.paddingRight-=f,u.horizontalPadding=u.paddingLeft+u.paddingRight}u.paddingLeftString=u.paddingLeft?" ".repeat(u.paddingLeft):"",u.paddingRightString=u.paddingRight?" ".repeat(u.paddingRight):"";let o=e-u.horizontalPadding;u.width=Math.max(Math.min(u.width,o),s)}}a(Ss,"aD");var Hu=a(()=>Object.assign([],{columns:0}),"G$1");function Bs(t,e){let u=[Hu()],[r]=u;for(let n of t){let s=n.width+n.horizontalPadding;r.columns+s>e&&(r=Hu(),u.push(r)),r.push(n),r.columns+=s}for(let n of u){let s=n.reduce((c,C)=>c+C.width+C.horizontalPadding,0),i=e-s;if(i===0)continue;let o=n.filter(c=>"autoOverflow"in c),D=o.filter(c=>c.autoOverflow>0),l=D.reduce((c,C)=>c+C.autoOverflow,0),f=Math.min(l,i);for(let c of D){let C=Math.floor(c.autoOverflow/l*f);c.width+=C,i-=C}let h=Math.floor(i/o.length);for(let c=0;c<o.length;c+=1){let C=o[c];c===o.length-1?C.width+=i:C.width+=h,i-=h}}return u}a(Bs,"lD");function $s(t,e,u){let r=vs(u,e);return Ss(r,t),Bs(r,t)}a($s,"Z$1"),V(),V(),V();var pt=10,Lu=a((t=0)=>e=>`\x1B[${e+t}m`,"U$1"),Iu=a((t=0)=>e=>`\x1B[${38+t};5;${e}m`,"V$1"),ku=a((t=0)=>(e,u,r)=>`\x1B[${38+t};2;${e};${u};${r}m`,"Y");function Ts(){let t=new Map,e={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};e.color.gray=e.color.blackBright,e.bgColor.bgGray=e.bgColor.bgBlackBright,e.color.grey=e.color.blackBright,e.bgColor.bgGrey=e.bgColor.bgBlackBright;for(let[u,r]of Object.entries(e)){for(let[n,s]of Object.entries(r))e[n]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},r[n]=e[n],t.set(s[0],s[1]);Object.defineProperty(e,u,{value:r,enumerable:!1})}return Object.defineProperty(e,"codes",{value:t,enumerable:!1}),e.color.close="\x1B[39m",e.bgColor.close="\x1B[49m",e.color.ansi=Lu(),e.color.ansi256=Iu(),e.color.ansi16m=ku(),e.bgColor.ansi=Lu(pt),e.bgColor.ansi256=Iu(pt),e.bgColor.ansi16m=ku(pt),Object.defineProperties(e,{rgbToAnsi256:{value:a((u,r,n)=>u===r&&r===n?u<8?16:u>248?231:Math.round((u-8)/247*24)+232:16+36*Math.round(u/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5),"value"),enumerable:!1},hexToRgb:{value:a(u=>{let r=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(u.toString(16));if(!r)return[0,0,0];let{colorString:n}=r.groups;n.length===3&&(n=n.split("").map(i=>i+i).join(""));let s=Number.parseInt(n,16);return[s>>16&255,s>>8&255,s&255]},"value"),enumerable:!1},hexToAnsi256:{value:a(u=>e.rgbToAnsi256(...e.hexToRgb(u)),"value"),enumerable:!1},ansi256ToAnsi:{value:a(u=>{if(u<8)return 30+u;if(u<16)return 90+(u-8);let r,n,s;if(u>=232)r=((u-232)*10+8)/255,n=r,s=r;else{u-=16;let D=u%36;r=Math.floor(u/36)/5,n=Math.floor(D/6)/5,s=D%6/5}let i=Math.max(r,n,s)*2;if(i===0)return 30;let o=30+(Math.round(s)<<2|Math.round(n)<<1|Math.round(r));return i===2&&(o+=60),o},"value"),enumerable:!1},rgbToAnsi:{value:a((u,r,n)=>e.ansi256ToAnsi(e.rgbToAnsi256(u,r,n)),"value"),enumerable:!1},hexToAnsi:{value:a(u=>e.ansi256ToAnsi(e.hexToAnsi256(u)),"value"),enumerable:!1}}),e}a(Ts,"AD");var xs=Ts(),Os=xs,Ke=new Set(["\x1B","\x9B"]),Ns=39,Ct="\x07",Mu="[",Ps="]",Wu="m",Ft=`${Ps}8;;`,Gu=a(t=>`${Ke.values().next().value}${Mu}${t}${Wu}`,"J$1"),ju=a(t=>`${KLine truncated
`)];for(let[l,f]of D.entries()){if(r+=f,Ke.has(f)){let{groups:c}=new RegExp(`(?:\\${Mu}(?<code>\\d+)m|\\${Ft}(?<uri>.*)${Ct})`).exec(D.slice(l).join(""))||{groups:{}};if(c.code!==void 0){let C=Number.parseFloat(c.code);n=C===Ns?void 0:C}else c.uri!==void 0&&(s=c.uri.length===0?void 0:c.uri)}let h=Os.codes.get(Number(n));D[l+1]===`
`?(s&&(r+=ju("")),n&&h&&(r+=Gu(h))):f===`
`&&(n&&h&&(r+=Gu(n)),s&&(r+=ju(s)))}return r},"dD");function ks(t,e,u){return String(t).normalize().replace(/\r\n/g,`
`).split(`
`).map(r=>Is(r,e,u)).join(`
`)}a(ks,"T$1");var Uu=a(t=>Array.from({length:t}).fill(""),"X");function Ms(t,e){let u=[],r=0;for(let n of t){let s=0,i=n.map(D=>{var l;let f=(l=e[r])!=null?l:"";r+=1,D.preprocess&&(f=D.preprocess(f)),Ou(f)>D.width&&(f=ks(f,D.width,{hard:!0}));let h=f.split(`
`);if(D.postprocess){let{postprocess:c}=D;h=h.map((C,F)=>c.call(D,C,F))}return D.paddingTop&&h.unshift(...Uu(D.paddingTop)),D.paddingBottom&&h.push(...Uu(D.paddingBottom)),h.length>s&&(s=h.length),Et(Ue({},D),{lines:h})}),o=[];for(let D=0;D<s;D+=1){let l=i.map(f=>{var h;let c=(h=f.lines[D])!=null?h:"",C=Number.isFinite(f.width)?" ".repeat(f.width-ae(c)):"",F=f.paddingLeftString;return f.align==="right"&&(F+=C),F+=c,f.align==="left"&&(F+=C),F+f.paddingRightString}).join("");o.push(l)}u.push(o.join(`
`))}return u.join(`
`)}a(Ms,"P");function Ws(t,e){if(!t||t.length===0)return"";let u=bs(t),r=u.length;if(r===0)return"";let{stdoutColumns:n,columns:s}=As(e);if(s.length>r)throw new Error(`${s.length} columns defined, but only ${r} columns found`);let i=$s(n,s,u);return t.map(o=>Ms(i,o)).join(`
`)}a(Ws,"mD"),V();var Gs=["<",">","=",">=","<="];function js(t){if(!Gs.includes(t))throw new TypeError(`Invalid breakpoint operator: ${t}`)}a(js,"xD");function Us(t){let e=Object.keys(t).map(u=>{let[r,n]=u.split(" ");js(r);let s=Number.parseInt(n,10);if(Number.isNaN(s))throw new TypeError(`Invalid breakpoint value: ${n}`);let i=t[u];return{operator:r,breakpoint:s,value:i}}).sort((u,r)=>r.breakpoint-u.breakpoint);return u=>{var r;return(r=e.find(({operator:n,breakpoint:s})=>n==="="&&u===s||n===">"&&u>s||n==="<"&&u<s||n===">="&&u>=s||n==="<="&&u<=s))==null?void 0:r.value}}a(Us,"wD");const Ks=a(t=>t.replace(/[\W_]([a-z\d])?/gi,(e,u)=>u?u.toUpperCase():""),"S"),Vs=a(t=>t.replace(/\B([A-Z])/g,"-$1").toLowerCase(),"q"),zs={"> 80":[{width:"content-width",paddingLeft:2,paddingRight:8},{width:"auto"}],"> 40":[{width:"auto",paddingLeft:2,paddingRight:8,preprocess:a(t=>t.trim(),"preprocess")},{width:"100%",paddingLeft:2,paddingBottom:1}],"> 0":{stdoutColumns:1e3,columns:[{width:"content-width",paddingLeft:2,paddingRight:8},{width:"content-width"}]}};function Ys(t){let e=!1;return{type:"table",data:{tableData:Object.keys(t).sort((u,r)=>u.localeCompare(r)).map(u=>{const r=t[u],n="alias"in r;return n&&(e=!0),{name:u,flag:r,flagFormatted:`--${Vs(u)}`,aliasesEnabled:e,aliasFormatted:n?`-${r.alias}`:void 0}}).map(u=>(u.aliasesEnabled=e,[{type:"flagName",data:u},{type:"flagDescription",data:u}])),tableBreakpoints:zs}}}a(Ys,"D");const Ku=a(t=>!t||(t.version??(t.help?t.help.version:void 0)),"A"),Vu=a(t=>{const e="parent"in t&&t.parent?.name;return(e?`${e} `:"")+t.name},"C");function qs(t){const e=[];t.name&&e.push(Vu(t));const u=Ku(t)??("parent"in t&&Ku(t.parent));if(u&&e.push(`v${u}`),e.length!==0)return{id:"name",type:"text",data:`${e.join(" ")}
`}}a(qs,"R");function Xs(t){const{help:e}=t;if(!(!e||!e.description))return{id:"description",type:"text",data:`${e.description}
`}}a(Xs,"L");function Qs(t){const e=t.help||{};if("usage"in e)return e.usage?{id:"usage",type:"section",data:{title:"Usage:",body:Array.isArray(e.usage)?e.usage.join(`
`):e.usage}}:void 0;if(t.name){const u=[],r=[Vu(t)];if(t.flags&&Object.keys(t.flags).length>0&&r.push("[flags...]"),t.parameters&&t.parameters.length>0){const{parameters:n}=t,s=n.indexOf("--"),i=s>-1&&n.slice(s+1).some(o=>o.startsWith("<"));r.push(n.map(o=>o!=="--"?o:i?"--":"[--]").join(" "))}if(r.length>1&&u.push(r.join(" ")),"commands"in t&&t.commands?.length&&u.push(`${t.name} <command>`),u.length>0)return{id:"usage",type:"section",data:{title:"Usage:",body:u.join(`
`)}}}}a(Qs,"T");function Zs(t){return!("commands"in t)||!t.commands?.length?void 0:{id:"commands",type:"section",data:{title:"Commands:",body:{type:"table",data:{tableData:t.commands.map(e=>[e.options.name,e.options.help?e.options.help.description:""]),tableOptions:[{width:"content-width",paddingLeft:2,paddingRight:8}]}},indentBody:0}}}a(Zs,"_");function Js(t){if(!(!t.flags||Object.keys(t.flags).length===0))return{id:"flags",type:"section",data:{title:"Flags:",body:Ys(t.flags),indentBody:0}}}a(Js,"k");function ei(t){const{help:e}=t;if(!e||!e.examples||e.examples.length===0)return;let{examples:u}=e;if(Array.isArray(u)&&(u=u.join(`
`)),u)return{id:"examples",type:"section",data:{title:"Examples:",body:u}}}a(ei,"F");function ti(t){if(!("alias"in t)||!t.alias)return;const{alias:e}=t;return{id:"aliases",type:"section",data:{title:"Aliases:",body:Array.isArray(e)?e.join(", "):e}}}a(ti,"H");const ui=a(t=>[qs,Xs,Qs,Zs,Js,ei,ti].map(e=>e(t)).filter(Boolean),"U"),ri=In.WriteStream.prototype.hasColors();class ni{static{a(this,"M")}text(e){return e}bold(e){return ri?`\x1B[1m${e}\x1B[22m`:e.toLocaleUpperCase()}indentText({text:e,spaces:u}){return e.replace(/^/gm," ".repeat(u))}heading(e){return this.bold(e)}section({title:e,body:u,indentBody:r=2}){return`${(e?`${this.heading(e)}
`:"")+(u?this.indentText({text:this.render(u),spaces:r}):"")}
`}table({tableData:e,tableOptions:u,tableBreakpoints:r}){return Ws(e.map(n=>n.map(s=>this.render(s))),r?Us(r):u)}flagParameter(e){return e===Boolean?"":e===String?"<string>":e===Number?"<number>":Array.isArray(e)?this.flagParameter(e[0]):"<value>"}flagOperator(e){return" "}flagName(e){const{flag:u,flagFormatted:r,aliasesEnabled:n,aliasFormatted:s}=e;let i="";if(s?i+=`${s}, `:n&&(i+=" "),i+=r,"placeholder"in u&&typeof u.placeholder=="string")i+=`${this.flagOperator(e)}${u.placeholder}`;else{const o=this.flagParameter("type"in u?u.type:u);o&&(i+=`${this.flagOperator(e)}${o}`)}return i}flagDefault(e){return JSON.stringify(e)}flagDescription({flag:e}){let u="description"in e?e.description??"":"";if("default"in e){let{default:r}=e;typeof r=="function"&&(r=r()),r&&(u+=` (default: ${this.flagDefault(r)})`)}return u}render(e){if(typeof e=="string")return e;if(Array.isArray(e))return e.map(u=>this.render(u)).join(`
`);if("type"in e&&this[e.type]){const u=this[e.type];if(typeof u=="function")return u.call(this,e.data)}throw new Error(`Invalid node type: ${JSON.stringify(e)}`)}}const mt=/^[\w.-]+$/,{stringify:ue}=JSON,si=/[|\\{}()[\]^$+*?.]/;function _t(t){const e=[];let u,r;for(const n of t){if(r)throw new Error(`Invalid parameter: Spread parameter ${ue(r)} must be last`);const s=n[0],i=n[n.length-1];let o;if(s==="<"&&i===">"&&(o=!0,u))throw new Error(`Invalid parameter: Required parameter ${ue(n)} cannot come after optional parameter ${ue(u)}`);if(s==="["&&i==="]"&&(o=!1,u=n),o===void 0)throw new Error(`Invalid parameter: ${ue(n)}. Must be wrapped in <> (required parameter) or [] (optional parameter)`);let D=n.slice(1,-1);const l=D.slice(-3)==="...";l&&(r=n,D=D.slice(0,-3));const f=D.match(si);if(f)throw new Error(`Invalid parameter: ${ue(n)}. Invalid character found ${ue(f[0])}`);e.push({name:D,required:o,spread:l})}return e}a(_t,"w");function At(t,e,u,r){for(let n=0;n<e.length;n+=1){const{name:s,required:i,spread:o}=e[n],D=Ks(s);if(D in t)throw new Error(`Invalid parameter: ${ue(s)} is used more than once.`);const l=o?u.slice(n):u[n];if(o&&(n=e.length),i&&(!l||o&&l.length===0))return console.error(`Error: Missing required parameter ${ue(s)}
`),r(),process.exit(1);t[D]=l}}a(At,"b");function ii(t){return t===void 0||t!==!1}a(ii,"W");function zu(t,e,u,r){const n={...e.flags},s=e.version;s&&(n.version={type:Boolean,description:"Show version"});const{help:i}=e,o=ii(i);o&&!("help"in n)&&(n.help={type:Boolean,alias:"h",description:"Show help"});const D=Su(n,r,{ignore:e.ignoreArgv}),l=a(()=>{console.log(e.version)},"f");if(s&&D.flags.version===!0)return l(),process.exit(0);const f=new ni,h=o&&i?.render?i.render:F=>f.render(F),c=a(F=>{const m=ui({...e,...F?{help:F}:{},flags:n});console.log(h(m,f))},"u");if(o&&D.flags.help===!0)return c(),process.exit(0);if(e.parameters){let{parameters:F}=e,m=D._;const R=F.indexOf("--"),T=F.slice(R+1),H=Object.create(null);if(R>-1&&T.length>0){F=F.slice(0,R);const O=D._["--"];m=m.slice(0,-O.length||void 0),At(H,_t(F),m,c),At(H,_t(T),O,c)}else At(H,_t(F),m,c);Object.assign(D._,H)}const C={...D,showVersion:l,showHelp:c};return typeof u=="function"&&u(C),{command:t,...C}}a(zu,"x");function oi(t,e){const u=new Map;for(const r of e){const n=[r.options.name],{alias:s}=r.options;s&&(Array.isArray(s)?n.push(...s):n.push(s));for(const i of n){if(u.has(i))throw new Error(`Duplicate command name found: ${ue(i)}`);u.set(i,r)}}return u.get(t)}a(oi,"z");function Yu(t,e,u=process.argv.slice(2)){if(!t)throw new Error("Options is required");if("name"in t&&(!t.name||!mt.test(t.name)))throw new Error(`Invalid script name: ${ue(t.name)}`);const r=u[0];if(t.commands&&mt.test(r)){const n=oi(r,t.commands);if(n)return zu(n.options.name,{...n.options,parent:t},n.callback,u.slice(1))}return zu(void 0,t,e,u)}a(Yu,"Z");function Di(t,e){if(!t)throw new Error("Command options are required");const{name:u}=t;if(t.name===void 0)throw new Error("Command name is required");if(!mt.test(u))throw new Error(`Invalid command name ${JSON.stringify(u)}. Command names must be one word.`);return{options:t,callback:e}}a(Di,"G");var ai=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qu(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}a(qu,"getDefaultExportFromCjs");var de={exports:{}},yt,Xu;function li(){if(Xu)return yt;Xu=1,yt=r,r.sync=n;var t=De;function e(s,i){var o=i.pathExt!==void 0?i.pathExt:process.env.PATHEXT;if(!o||(o=o.split(";"),o.indexOf("")!==-1))return!0;for(var D=0;D<o.length;D++){var l=o[D].toLowerCase();if(l&&s.substr(-l.length).toLowerCase()===l)return!0}return!1}a(e,"checkPathExt");function u(s,i,o){return!s.isSymbolicLink()&&!s.isFile()?!1:e(i,o)}a(u,"checkStat");function r(s,i,o){t.stat(s,function(D,l){o(D,D?!1:u(l,s,i))})}a(r,"isexe");function n(s,i){return u(t.statSync(s),s,i)}return a(n,"sync"),yt}a(li,"requireWindows");var wt,Qu;function ci(){if(Qu)return wt;Qu=1,wt=e,e.sync=u;var t=De;function e(s,i,o){t.stat(s,function(D,l){o(D,D?!1:r(l,i))})}a(e,"isexe");function u(s,i){return r(t.statSync(s),i)}a(u,"sync");function r(s,i){return s.isFile()&&n(s,i)}a(r,"checkStat");function n(s,i){var o=s.mode,D=s.uid,l=s.gid,f=i.uid!==void 0?i.uid:process.getuid&&process.getuid(),h=i.gid!==void 0?i.gid:process.getgid&&process.getgid(),c=parseInt("100",8),C=parseInt("010",8),F=parseInt("001",8),m=c|C,R=o&F||o&C&&l===h||o&c&&D===f||o&m&&f===0;return R}return a(n,"checkMode"),wt}a(ci,"requireMode");var Ve;process.platform==="win32"||ai.TESTING_WINDOWS?Ve=li():Ve=ci();var fi=Rt;Rt.sync=hi;function Rt(t,e,u){if(typeof e=="function"&&(u=e,e={}),!u){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(r,n){Rt(t,e||{},function(s,i){s?n(s):r(i)})})}Ve(t,e||{},function(r,n){r&&(r.code==="EACCES"||e&&e.ignoreErrors)&&(r=null,n=!1),u(r,n)})}a(Rt,"isexe$1");function hi(t,e){try{return Ve.sync(t,e||{})}catch(u){if(e&&e.ignoreErrors||u.code==="EACCES")return!1;throw u}}a(hi,"sync");const Ee=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",Zu=q,di=Ee?";":":",Ju=fi,er=a(t=>Object.assign(new Error(`not found: ${t}`),{code:"ENOENT"}),"getNotFoundError"),tr=a((t,e)=>{const u=e.colon||di,r=t.match(/\//)||Ee&&t.match(/\\/)?[""]:[...Ee?[process.cwd()]:[],...(e.path||process.env.PATH||"").split(u)],n=Ee?e.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",s=Ee?n.split(u):[""];return Ee&&t.indexOf(".")!==-1&&s[0]!==""&&s.unshift(""),{pathEnv:r,pathExt:s,pathExtExe:n}},"getPathInfo"),ur=a((t,e,u)=>{typeof e=="function"&&(u=e,e={}),e||(e={});const{pathEnv:r,pathExt:n,pathExtExe:s}=tr(t,e),i=[],o=a(l=>new Promise((f,h)=>{if(l===r.length)return e.all&&i.length?f(i):h(er(t));const c=r[l],C=/^".*"$/.test(c)?c.slice(1,-1):c,F=Zu.join(C,t),m=!C&&/^\.[\\\/]/.test(t)?t.slice(0,2)+F:F;f(D(m,l,0))}),"step"),D=a((l,f,h)=>new Promise((c,C)=>{if(h===n.length)return c(o(f+1));const F=n[h];Ju(l+F,{pathExt:s},(m,R)=>{if(!m&&R)if(e.all)i.push(l+F);else return c(l+F);return c(D(l,f,h+1))})}),"subStep");return u?o(0).then(l=>u(null,l),u):o(0)},"which$1"),Ei=a((t,e)=>{e=e||{};const{pathEnv:u,pathExt:r, Line truncated
* normalize-path <https://github.com/jonschlinkert/normalize-path>
*
* Copyright (c) 2014-2018, Jon Schlinkert.
* Released under the MIT License.
*/var $r=a(function(t,e){if(typeof t!="string")throw new TypeError("expected path to be a string");if(t==="\\"||t==="/")return"/";var u=t.length;if(u<=1)return t;var r="";if(u>4&&t[3]==="\\"){var n=t[2];(n==="?"||n===".")&&t.slice(0,2)==="\\\\"&&(t=t.slice(2),r="//")}var s=t.split(/[/\\]+/);return e!==!1&&s[s.length-1]===""&&s.pop(),r+s.join("/")},"normalizePath$2"),Oo=Vt.exports;Object.defineProperty(Oo,"__esModule",{value:!0});const Tr=yr,No=$r,xr="!",Po={returnIndex:!1},Ho=a(t=>Array.isArray(t)?t:[t],"arrify$1"),Lo=a((t,e)=>{if(typeof t=="function")return t;if(typeof t=="string"){const u=Tr(t,e);return r=>t===r||u(r)}return t instanceof RegExp?u=>t.test(u):u=>!1},"createPattern"),Or=a((t,e,u,r)=>{const n=Array.isArray(u),s=n?u[0]:u;if(!n&&typeof s!="string")throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(s));const i=No(s,!1);for(let D=0;D<e.length;D++){const l=e[D];if(l(i))return r?-1:!1}const o=n&&[i].concat(u.slice(1));for(let D=0;D<t.length;D++){const l=t[D];if(n?l(...o):l(i))return r?D:!0}return r?-1:!1},"matchPatterns"),zt=a((t,e,u=Po)=>{if(t==null)throw new TypeError("anymatch: specify first argument");const r=typeof u=="boolean"?{returnIndex:u}:u,n=r.returnIndex||!1,s=Ho(t),i=s.filter(D=>typeof D=="string"&&D.charAt(0)===xr).map(D=>D.slice(1)).map(D=>Tr(D,r)),o=s.filter(D=>typeof D!="string"||typeof D=="string"&&D.charAt(0)!==xr).map(D=>Lo(D,r));return e==null?(D,l=!1)=>Or(o,i,D,typeof l=="boolean"?l:!1):Or(o,i,e,n)},"anymatch$1");zt.default=zt,Vt.exports=zt;var Io=Vt.exports;/*!
* is-extglob <https://github.com/jonschlinkert/is-extglob>
*
* Copyright (c) 2014-2016, Jon Schlinkert.
* Licensed under the MIT License.
*/var ko=a(function(e){if(typeof e!="string"||e==="")return!1;for(var u;u=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(u[2])return!0;e=e.slice(u.index+u[0].length)}return!1},"isExtglob");/*!
* is-glob <https://github.com/jonschlinkert/is-glob>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/var Mo=ko,Nr={"{":"}","(":")","[":"]"},Wo=a(function(t){if(t[0]==="!")return!0;for(var e=0,u=-2,r=-2,n=-2,s=-2,i=-2;e<t.length;){if(t[e]==="*"||t[e+1]==="?"&&/[\].+)]/.test(t[e])||r!==-1&&t[e]==="["&&t[e+1]!=="]"&&(r<e&&(r=t.indexOf("]",e)),r>e&&(i===-1||i>r||(i=t.indexOf("\\",e),i===-1||i>r)))||n!==-1&&t[e]==="{"&&t[e+1]!=="}"&&(n=t.indexOf("}",e),n>e&&(i=t.indexOf("\\",e),i===-1||i>n))||s!==-1&&t[e]==="("&&t[e+1]==="?"&&/[:!=]/.test(t[e+2])&&t[e+3]!==")"&&(s=t.indexOf(")",e),s>e&&(i=t.indexOf("\\",e),i===-1||i>s))||u!==-1&&t[e]==="("&&t[e+1]!=="|"&&(u<e&&(u=t.indexOf("|",e)),u!==-1&&t[u+1]!==")"&&(s=t.indexOf(")",u),s>u&&(i=t.indexOf("\\",u),i===-1||i>s))))return!0;if(t[e]==="\\"){var o=t[e+1];e+=2;var D=Nr[o];if(D){var l=t.indexOf(D,e);l!==-1&&(e=l+1)}if(t[e]==="!")return!0}else e++}return!1},"strictCheck"),Go=a(function(t){if(t[0]==="!")return!0;for(var e=0;e<t.length;){if(/[*?{}()[\]]/.test(t[e]))return!0;if(t[e]==="\\"){var u=t[e+1];e+=2;var r=Nr[u];if(r){var n=t.indexOf(r,e);n!==-1&&(e=n+1)}if(t[e]==="!")return!0}else e++}return!1},"relaxedCheck"),Yt=a(function(e,u){if(typeof e!="string"||e==="")return!1;if(Mo(e))return!0;var r=Wo;return u&&u.strict===!1&&(r=Go),r(e)},"isGlob"),Pr=qu(Yt),jo=Yt,Uo=q.posix.dirname,Ko=bu.platform()==="win32",qt="/",Vo=/\\/g,zo=/[\{\[].*[\}\]]$/,Yo=/(^|[^\\])([\{\[]|\([^\)]+$)/,qo=/\\([\!\*\?\|\[\]\(\)\{\}])/g,Xo=a(function(e,u){var r=Object.assign({flipBackslashes:!0},u);r.flipBackslashes&&Ko&&e.indexOf(qt)<0&&(e=e.replace(Vo,qt)),zo.test(e)&&(e+=qt),e+="a";do e=Uo(e);while(jo(e)||Yo.test(e));return e.replace(qo,"$1")},"globParent"),tt={};(function(t){t.isInteger=e=>typeof e=="number"?Number.isInteger(e):typeof e=="string"&&e.trim()!==""?Number.isInteger(Number(e)):!1,t.find=(e,u)=>e.nodes.find(r=>r.type===u),t.exceedsLimit=(e,u,r=1,n)=>n===!1||!t.isInteger(e)||!t.isInteger(u)?!1:(Number(u)-Number(e))/Number(r)>=n,t.escapeNode=(e,u=0,r)=>{let n=e.nodes[u];n&&(r&&n.type===r||n.type==="open"||n.type==="close")&&n.escaped!==!0&&(n.value="\\"+n.value,n.escaped=!0)},t.encloseBrace=e=>e.type!=="brace"||e.commas>>0+e.ranges>>0?!1:(e.invalid=!0,!0),t.isInvalidBrace=e=>e.type!=="brace"?!1:e.invalid===!0||e.dollar?!0:!(e.commas>>0+e.ranges>>0)||e.open!==!0||e.close!==!0?(e.invalid=!0,!0):!1,t.isOpenOrClose=e=>e.type==="open"||e.type==="close"?!0:e.open===!0||e.close===!0,t.reduce=e=>e.reduce((u,r)=>(r.type==="text"&&u.push(r.value),r.type==="range"&&(r.type="text"),u),[]),t.flatten=(...e)=>{const u=[],r=a(n=>{for(let s=0;s<n.length;s++){let i=n[s];Array.isArray(i)?r(i):i!==void 0&&u.push(i)}return u},"flat");return r(e),u}})(tt);const Hr=tt;var Xt=a((t,e={})=>{let u=a((r,n={})=>{let s=e.escapeInvalid&&Hr.isInvalidBrace(n),i=r.invalid===!0&&e.escapeInvalid===!0,o="";if(r.value)return(s||i)&&Hr.isOpenOrClose(r)?"\\"+r.value:r.value;if(r.value)return r.value;if(r.nodes)for(let D of r.nodes)o+=u(D);return o},"stringify");return u(t)},"stringify$4");/*!
* is-number <https://github.com/jonschlinkert/is-number>
*
* Copyright (c) 2014-present, Jon Schlinkert.
* Released under the MIT License.
*/var Qo=a(function(t){return typeof t=="number"?t-t===0:typeof t=="string"&&t.trim()!==""?Number.isFinite?Number.isFinite(+t):isFinite(+t):!1},"isNumber$2");/*!
* to-regex-range <https://github.com/micromatch/to-regex-range>
*
* Copyright (c) 2015-present, Jon Schlinkert.
* Released under the MIT License.
*/const Lr=Qo,le=a((t,e,u)=>{if(Lr(t)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(e===void 0||t===e)return String(t);if(Lr(e)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let r={relaxZeros:!0,...u};typeof r.strictZeros=="boolean"&&(r.relaxZeros=r.strictZeros===!1);let n=String(r.relaxZeros),s=String(r.shorthand),i=String(r.capture),o=String(r.wrap),D=t+":"+e+"="+n+s+i+o;if(le.cache.hasOwnProperty(D))return le.cache[D].result;let l=Math.min(t,e),f=Math.max(t,e);if(Math.abs(l-f)===1){let m=t+"|"+e;return r.capture?`(${m})`:r.wrap===!1?m:`(?:${m})`}let h=jr(t)||jr(e),c={min:t,max:e,a:l,b:f},C=[],F=[];if(h&&(c.isPadded=h,c.maxLen=String(c.max).length),l<0){let m=f<0?Math.abs(f):1;F=Ir(m,Math.abs(l),c,r),l=c.a=0}return f>=0&&(C=Ir(l,f,c,r)),c.negatives=F,c.positives=C,c.result=Zo(F,C),r.capture===!0?c.result=`(${c.result})`:r.wrap!==!1&&C.length+F.length>1&&(c.result=`(?:${c.result})`),le.cache[D]=c,c.result},"toRegexRange$1");function Zo(t,e,u){let r=Qt(t,e,"-",!1)||[],n=Qt(e,t,"",!1)||[],s=Qt(t,e,"-?",!0)||[];return r.concat(s).concat(n).join("|")}a(Zo,"collatePatterns");function Jo(t,e){let u=1,r=1,n=Mr(t,u),s=new Set([e]);for(;t<=n&&n<=e;)s.add(n),u+=1,n=Mr(t,u);for(n=Wr(e+1,r)-1;t<n&&n<=e;)s.add(n),r+=1,n=Wr(e+1,r)-1;return s=[...s],s.sort(uD),s}a(Jo,"splitToRanges");function eD(t,e,u){if(t===e)return{pattern:t,count:[],digits:0};let r=tD(t,e),n=r.length,s="",i=0;for(let o=0;o<n;o++){let[D,l]=r[o];D===l?s+=D:D!=="0"||l!=="9"?s+=rD(D,l):i++}return i&&(s+=u.shorthand===!0?"\\d":"[0-9]"),{pattern:s,count:[i],digits:n}}a(eD,"rangeToPattern");function Ir(t,e,u,r){let n=Jo(t,e),s=[],i=t,o;for(let D=0;D<n.length;D++){let l=n[D],f=eD(String(i),String(l),r),h="";if(!u.isPadded&&o&&o.pattern===f.pattern){o.count.length>1&&o.count.pop(),o.count.push(f.count[0]),o.string=o.pattern+Gr(o.count),i=l+1;continue}u.isPadded&&(h=nD(l,u,r)),f.string=h+f.pattern+Gr(f.count),s.push(f),i=l+1,o=f}return s}a(Ir,"splitToPatterns");function Qt(t,e,u,r,n){let s=[];for(let i of t){let{string:o}=i;!r&&!kr(e,"string",o)&&s.push(u+o),r&&kr(e,"string",o)&&s.push(u+o)}return s}a(Qt,"filterPatterns");function tD(t,e){let u=[];for(let r=0;r<t.length;r++)u.push([t[r],e[r]]);return u}a(tD,"zip");function uD(t,e){return t>e?1:e>t?-1:0}a(uD,"compare");function kr(t,e,u){return t.some(r=>r[e]===u)}a(kr,"contains");function Mr(t,e){return Number(String(t).slice(0,-e)+"9".repeat(e))}a(Mr,"countNines");function Wr(t,e){return t-t%Math.pow(10,e)}a(Wr,"countZeros");function Gr(t){let[e=0,u=""]=t;return u||e>1?`{${e+(u?","+u:"")}}`:""}a(Gr,"toQuantifier");function rD(t,e,u){return`[${t}${e-t===1?"":"-"}${e}]`}a(rD,"toCharacterClass");function jr(t){return/^-?(0+)\d/.test(t)}a(jr,"hasPadding");function nD(t,e,u){if(!e.isPadded)return t;let r=Math.abs(e.maxLen-String(t).length),n=u.relaxZeros!==!1;switch(r){case 0:return"";case 1:return n?"0?":"0";case 2:return n?"0{0,2}":"00";default:return n?`0{0,${r}}`:`0{${r}}`}}a(nD,"padZeros"),le.cache={},le.clearCache=()=>le.cache={};var sD=le;/*!
* fill-range <https://github.com/jonschlinkert/fill-range>
*
* Copyright (c) 2014-present, Jon Schlinkert.
* Licensed under the MIT License.
*/const iD=_e,Ur=sD,Kr=a(t=>t!==null&&typeof t=="object"&&!Array.isArray(t),"isObject"),oD=a(t=>e=>t===!0?Number(e):String(e),"transform"),Zt=a(t=>typeof t=="number"||typeof t=="string"&&t!=="","isValidValue"),ve=a(t=>Number.isInteger(+t),"isNumber"),Jt=a(t=>{let e=`${t}`,u=-1;if(e[0]==="-"&&(e=e.slice(1)),e==="0")return!1;for(;e[++u]==="0";);return u>0},"zeros"),DD=a((t,e,u)=>typeof t=="string"||typeof e=="string"?!0:u.stringify===!0,"stringify$3"),aD=a((t,e,u)=>{if(e>0){let r=t[0]==="-"?"-":"";r&&(t=t.slice(1)),t=r+t.padStart(r?e-1:e,"0")}return u===!1?String(t):t},"pad"),Vr=a((t,e)=>{let u=t[0]==="-"?"-":"";for(u&&(t=t.slice(1),e--);t.length<e;)t="0"+t;return u?"-"+t:t},"toMaxLen"),lD=a((t,e)=>{t.negatives.sort((i,o)=>i<o?-1:i>o?1:0),t.positives.sort((i,o)=>i<o?-1:i>o?1:0);let u=e.capture?"":"?:",r="",n="",s;return t.positives.length&&(r=t.positives.join("|")),t.negatives.length&&(n=`-(${u}${t.negatives.join("|")})`),r&&n?s=`${r}|${n}`:s=r||n,e.wrap?`(${u}${s})`:s},"toSequence"),zr=a((t,e,u,r)=>{if(u)return Ur(t,e,{wrap:!1,...r});let n=String.fromCharCode(t);if(t===e)return n;let s=String.fromCharCode(e);return`[${n}-${s}]`},"toRange"),Yr=a((t,e,u)=>{if(Array.isArray(t)){let r=u.wrap===!0,n=u.capture?"":"?:";return r?`(${n}${t.join("|")})`:t.join("|")}return Ur(t,e,u)},"toRegex"),qr=a((...t)=>new RangeError("Invalid range arguments: "+iD.inspect(...t)),"rangeError"),Xr=a((t,e,u)=>{if(u.strictRanges===!0)throw qr([t,e]);return[]},"invalidRange"),cD=a((t,e)=>{if(e.strictRanges===!0)throw new TypeError(`Expected step "${t}" to be a number`);return[]},"invalidStep"),fD=a((t,e,u=1,r={})=>{let n=Number(t),s=Number(e);if(!Number.isInteger(n)||!Number.isInteger(s)){if(r.strictRanges===!0)throw qr([t,e]);return[]}n===0&&(n=0),s===0&&(s=0);let i=n>s,o=String(t),D=String(e),l=String(u);u=Math.max(Math.abs(u),1);let f=Jt(o)||Jt(D)||Jt(l),h=f?Math.max(o.length,D.length,l.length):0,c=f===!1&&DD(t,e,r)===!1,C=r.transform||oD(c);if(r.toRegex&&u===1)return zr(Vr(t,h),Vr(e,h),!0,r);let F={negatives:[],positives:[]},m=a(H=>F[H<0?"negatives":"positives"].push(Math.abs(H)),"push"),R=[],T=0;for(;i?n>=s:n<=s;)r.toRegex===!0&&u>1?m(n):R.push(aD(C(n,T),h,c)),n=i?n-u:n+u,T++;return r.toRegex===!0?u>1?lD(F,r):Yr(R,null,{wrap:!1,...r}):R},"fillNumbers"),hD=a((t,e,u=1,r={})=>{if(!ve(t)&&t.length>1||!ve(e)&&e.length>1)return Xr(t,e,r);let n=r.transform||(c=>String.fromCharCode(c)),s=`${t}`.charCodeAt(0),i=`${e}`.charCodeAt(0),o=s>i,D=Math.min(s,i),l=Math.max(s,i);if(r.toRegex&&u===1)return zr(D,l,!1,r);let f=[],h=0;for(;o?s>=i:s<=i;)f.push(n(s,h)),s=o?s-u:s+u,h++;return r.toRegex===!0?Yr(f,null,{wrap:!1,options:r}):f},"fillLetters"),ut=a((t,e,u,r={})=>{if(e==null&&Zt(t))return[t];if(!Zt(t)||!Zt(e))return Xr(t,e,r);if(typeof u=="function")return ut(t,e,1,{transform:u});if(Kr(u))return ut(t,e,0,u);let n={...r};return n.capture===!0&&(n.wrap=!0),u=u||n.step||1,ve(u)?ve(t)&&ve(e)?fD(t,e,u,n):hD(t,e,Math.max(Math.abs(u),1),n):u!=null&&!Kr(u)?cD(u,n):ut(t,e,1,u)},"fill$2");var Qr=ut;const dD=Qr,Zr=tt,ED=a((t,e={})=>{let u=a((r,n={})=>{let s=Zr.isInvalidBrace(n),i=r.invalid===!0&&e.escapeInvalid===!0,o=s===!0||i===!0,D=e.escapeInvalid===!0?"\\":"",l="";if(r.isOpen===!0||r.isClose===!0)return D+r.value;if(r.type==="open")return o?D+r.value:"(";if(r.type==="close")return o?D+r.value:")";if(r.type==="comma")return r.prev.type==="comma"?"":o?r.value:"|";if(r.value)return r.value;if(r.nodes&&r.ranges>0){let f=Zr.reduce(r.nodes),h=dD(...f,{...e,wrap:!1,toRegex:!0});if(h.length!==0)return f.length>1&&h.length>1?`(${h})`:h}if(r.nodes)for(let f of r.nodes)l+=u(f,r);return l},"walk");return u(t)},"compile$1");var pD=ED;const CD=Qr,Jr=Xt,Fe=tt,ce=a((t="",e="",u=!1)=>{let r=[];if(t=[].concat(t),e=[].concat(e),!e.length)return t;if(!t.length)return u?Fe.flatten(e).map(n=>`{${n}}`):e;for(let n of t)if(Array.isArray(n))for(let s of n)r.push(ce(s,e,u));else for(let s of e)u===!0&&typeof s=="string"&&(s=`{${s}}`),r.push(Array.isArray(s)?ce(n,s,u):n+s);return Fe.flatten(r)},"append"),FD=a((t,e={})=>{let u=e.rangeLimit===void 0?1e3:e.rangeLimit,r=a((n,s={})=>{n.queue=[];let i=s,o=s.queue;for(;i.type!=="brace"&&i.type!=="root"&&i.parent;)i=i.parent,o=i.queue;if(n.invalid||n.dollar){o.push(ce(o.pop(),Jr(n,e)));return}if(n.type==="brace"&&n.invalid!==!0&&n.nodes.length===2){o.push(ce(o.pop(),["{}"]));return}if(n.nodes&&n.ranges>0){let h=Fe.reduce(n.nodes);if(Fe.exceedsLimit(...h,e.step,u))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let c=CD(...h,e);c.length===0&&(c=Jr(n,e)),o.push(ce(o.pop(),c)),n.nodes=[];return}let D=Fe.encloseBrace(n),l=n.queue,f=n;for(;f.type!=="brace"&&f.type!=="root"&&f.parent;)f=f.parent,l=f.queue;for(let h=0;h<n.nodes.length;h++){let c=n.nodes[h];if(c.type==="comma"&&n.type==="brace"){h===1&&l.push(""),l.push("");continue}if(c.type==="close"){o.push(ce(o.pop(),l,D));continue}if(c.value&&c.type!=="open"){l.push(ce(l.pop(),c.value));continue}c.nodes&&r(c,n)}rLine truncated
`,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"};const _D=Xt,{MAX_LENGTH:en,CHAR_BACKSLASH:eu,CHAR_BACKTICK:AD,CHAR_COMMA:yD,CHAR_DOT:wD,CHAR_LEFT_PARENTHESES:RD,CHAR_RIGHT_PARENTHESES:bD,CHAR_LEFT_CURLY_BRACE:vD,CHAR_RIGHT_CURLY_BRACE:SD,CHAR_LEFT_SQUARE_BRACKET:tn,CHAR_RIGHT_SQUARE_BRACKET:un,CHAR_DOUBLE_QUOTE:BD,CHAR_SINGLE_QUOTE:$D,CHAR_NO_BREAK_SPACE:TD,CHAR_ZERO_WIDTH_NOBREAK_SPACE:xD}=mD,OD=a((t,e={})=>{if(typeof t!="string")throw new TypeError("Expected a string");let u=e||{},r=typeof u.maxLength=="number"?Math.min(en,u.maxLength):en;if(t.length>r)throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${r})`);let n={type:"root",input:t,nodes:[]},s=[n],i=n,o=n,D=0,l=t.length,f=0,h=0,c;const C=a(()=>t[f++],"advance"),F=a(m=>{if(m.type==="text"&&o.type==="dot"&&(o.type="text"),o&&o.type==="text"&&m.type==="text"){o.value+=m.value;return}return i.nodes.push(m),m.parent=i,m.prev=o,o=m,m},"push");for(F({type:"bos"});f<l;)if(i=s[s.length-1],c=C(),!(c===xD||c===TD)){if(c===eu){F({type:"text",value:(e.keepEscaping?c:"")+C()});continue}if(c===un){F({type:"text",value:"\\"+c});continue}if(c===tn){D++;let m;for(;f<l&&(m=C());){if(c+=m,m===tn){D++;continue}if(m===eu){c+=C();continue}if(m===un&&(D--,D===0))break}F({type:"text",value:c});continue}if(c===RD){i=F({type:"paren",nodes:[]}),s.push(i),F({type:"text",value:c});continue}if(c===bD){if(i.type!=="paren"){F({type:"text",value:c});continue}i=s.pop(),F({type:"text",value:c}),i=s[s.length-1];continue}if(c===BD||c===$D||c===AD){let m=c,R;for(e.keepQuotes!==!0&&(c="");f<l&&(R=C());){if(R===eu){c+=R+C();continue}if(R===m){e.keepQuotes===!0&&(c+=R);break}c+=R}F({type:"text",value:c});continue}if(c===vD){h++;let R={type:"brace",open:!0,close:!1,dollar:o.value&&o.value.slice(-1)==="$"||i.dollar===!0,depth:h,commas:0,ranges:0,nodes:[]};i=F(R),s.push(i),F({type:"open",value:c});continue}if(c===SD){if(i.type!=="brace"){F({type:"text",value:c});continue}let m="close";i=s.pop(),i.close=!0,F({type:m,value:c}),h--,i=s[s.length-1];continue}if(c===yD&&h>0){if(i.ranges>0){i.ranges=0;let m=i.nodes.shift();i.nodes=[m,{type:"text",value:_D(i)}]}F({type:"comma",value:c}),i.commas++;continue}if(c===wD&&h>0&&i.commas===0){let m=i.nodes;if(h===0||m.length===0){F({type:"text",value:c});continue}if(o.type==="dot"){if(i.range=[],o.value+=c,o.type="range",i.nodes.length!==3&&i.nodes.length!==5){i.invalid=!0,i.ranges=0,o.type="text";continue}i.ranges++,i.args=[];continue}if(o.type==="range"){m.pop();let R=m[m.length-1];R.value+=o.value+c,o=R,i.ranges--;continue}F({type:"dot",value:c});continue}F({type:"text",value:c})}do if(i=s.pop(),i.type!=="root"){i.nodes.forEach(T=>{T.nodes||(T.type==="open"&&(T.isOpen=!0),T.type==="close"&&(T.isClose=!0),T.nodes||(T.type="text"),T.invalid=!0)});let m=s[s.length-1],R=m.nodes.indexOf(i);m.nodes.splice(R,1,...i.nodes)}while(s.length>0);return F({type:"eos"}),n},"parse$1");var ND=OD;const rn=Xt,PD=pD,HD=gD,LD=ND,Q=a((t,e={})=>{let u=[];if(Array.isArray(t))for(let r of t){let n=Q.create(r,e);Array.isArray(n)?u.push(...n):u.push(n)}else u=[].concat(Q.create(t,e));return e&&e.expand===!0&&e.nodupes===!0&&(u=[...new Set(u)]),u},"braces$1");Q.parse=(t,e={})=>LD(t,e),Q.stringify=(t,e={})=>rn(typeof t=="string"?Q.parse(t,e):t,e),Q.compile=(t,e={})=>(typeof t=="string"&&(t=Q.parse(t,e)),PD(t,e)),Q.expand=(t,e={})=>{typeof t=="string"&&(t=Q.parse(t,e));let u=HD(t,e);return e.noempty===!0&&(u=u.filter(Boolean)),e.nodupes===!0&&(u=[...new Set(u)]),u},Q.create=(t,e={})=>t===""||t.length<3?[t]:e.expand!==!0?Q.compile(t,e):Q.expand(t,e);var ID=Q,kD=["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","rg Line truncated
node `):t.flags.help&&(t.showHelp({description:"Node.js runtime enhanced with esbuild for loading TypeScript & ESM"}),console.log(`${"-".repeat(45)}
`));const e={eval:{type:String,alias:"e"},print:{type:String,alias:"p"}},{_:u,flags:r}=Yu({flags:{...e,inputType:String,test:Boolean},help:!1,ignoreArgv:lt(!1)}),n=Rn({...Sn,...e}),i=["print","eval"].find(l=>!!r[l]);if(i){const{inputType:l}=r,f=r[i],{transformSync:h}=await import("esbuild"),c=h(f,{loader:"default",sourcefile:"/eval.ts",format:l==="module"?"esm":"cjs"});n.unshift(`--${i}`,c.code)}ke.isFeatureSupported(ke.testRunnerGlob)&&r.test&&u.length===0&&n.push("**/{test,test/**/*,test-*,*[.-_]test}.?(c|m)@(t|j)s"),r.test&&n.unshift("--enable-source-maps");const o=await bn(),D=cr(n,{noCache:!!t.flags.noCache,tsconfigPath:t.flags.tsconfig});_l(D,o),process.send&&D.on("message",l=>{process.send(l)}),D.send&&process.on("message",l=>{D.send(l)}),D.on("close",l=>{l===null&&(l=dt.constants.signals[D.signalCode]+128),process.exit(l)})});
Generated Vendored Executable
+55
View File
@@ -0,0 +1,55 @@
#!/usr/bin/env node
var Bn=Object.defineProperty;var a=(t,e)=>Bn(t,"name",{value:e,configurable:!0});import{constants as ft}from"node:os";import $n from"tty";import{v as Tn}from"./package-B13bX4zz.mjs";import{r as Ie,g as xn,i as On}from"./get-pipe-path-_tAJyU_v.mjs";import{pathToFileURL as Nn,fileURLToPath as Pn}from"node:url";import Hn from"child_process";import q from"path";import oe from"fs";import{i as yu,a as Ln,t as In}from"./node-features-JeyyvQz6.mjs";import ke from"node:path";import Me from"node:fs";import kn from"events";import ge from"util";import Mn from"stream";import wu from"os";import{g as Wn,l as Gn,y as me,e as jn,f as Un}from"./index-gbaejti9.mjs";import Kn from"node:net";import{t as Vn}from"./temporary-directory-BDDVQOvU.mjs";import"module";const zn="known-flag",Yn="unknown-flag",qn="argument",{stringify:_e}=JSON,Xn=/\B([A-Z])/g,Qn=a(t=>t.replace(Xn,"-$1").toLowerCase(),"v$1"),{hasOwnProperty:Zn}=Object.prototype,Ae=a((t,e)=>Zn.call(t,e),"w$2"),Jn=a(t=>Array.isArray(t),"L$2"),Ru=a(t=>typeof t=="function"?[t,!1]:Jn(t)?[t[0],!0]:Ru(t.type),"b$2"),er=a((t,e)=>t===Boolean?e!=="false":e,"d$2"),tr=a((t,e)=>typeof e=="boolean"?e:t===Number&&e===""?Number.NaN:t(e),"m$1"),ur=/[\s.:=]/,sr=a(t=>{const e=`Flag name ${_e(t)}`;if(t.length===0)throw new Error(`${e} cannot be empty`);if(t.length===1)throw new Error(`${e} must be longer than a character`);const u=t.match(ur);if(u)throw new Error(`${e} cannot contain ${_e(u?.[0])}`)},"B"),nr=a(t=>{const e={},u=a((s,n)=>{if(Ae(e,s))throw new Error(`Duplicate flags named ${_e(s)}`);e[s]=n},"r");for(const s in t){if(!Ae(t,s))continue;sr(s);const n=t[s],r=[[],...Ru(n),n];u(s,r);const i=Qn(s);if(s!==i&&u(i,r),"alias"in n&&typeof n.alias=="string"){const{alias:o}=n,D=`Flag alias ${_e(o)} for flag ${_e(s)}`;if(o.length===0)throw new Error(`${D} cannot be empty`);if(o.length>1)throw new Error(`${D} must be a single character`);u(o,r)}}return e},"K$1"),rr=a((t,e)=>{const u={};for(const s in t){if(!Ae(t,s))continue;const[n,,r,i]=e[s];if(n.length===0&&"default"in i){let{default:o}=i;typeof o=="function"&&(o=o()),u[s]=o}else u[s]=r?n:n.pop()}return u},"_$2"),We="--",ir=/[.:=]/,or=/^-{1,2}\w/,Dr=a(t=>{if(!or.test(t))return;const e=!t.startsWith(We);let u=t.slice(e?1:2),s;const n=u.match(ir);if(n){const{index:r}=n;s=u.slice(r+1),u=u.slice(0,r)}return[u,s,e]},"N"),ar=a((t,{onFlag:e,onArgument:u})=>{let s;const n=a((r,i)=>{if(typeof s!="function")return!0;s(r,i),s=void 0},"o");for(let r=0;r<t.length;r+=1){const i=t[r];if(i===We){n();const D=t.slice(r+1);u?.(D,[r],!0);break}const o=Dr(i);if(o){if(n(),!e)continue;const[D,l,f]=o;if(f)for(let h=0;h<D.length;h+=1){n();const c=h===D.length-1;s=e(D[h],c?l:void 0,[r,h+1,c])}else s=e(D,l,[r])}else n(i,[r])&&u?.([i],[r])}n()},"$$1"),lr=a((t,e)=>{for(const[u,s,n]of e.reverse()){if(s){const r=t[u];let i=r.slice(0,s);if(n||(i+=r.slice(s+1)),i!=="-"){t[u]=i;continue}}t.splice(u,1)}},"E"),bu=a((t,e=process.argv.slice(2),{ignore:u}={})=>{const s=[],n=nr(t),r={},i=[];return i[We]=[],ar(e,{onFlag(o,D,l){const f=Ae(n,o);if(!u?.(f?zn:Yn,o,D)){if(f){const[h,c]=n[o],C=er(c,D),F=a((m,R)=>{s.push(l),R&&s.push(R),h.push(tr(c,m||""))},"p");return C===void 0?F:F(C)}Ae(r,o)||(r[o]=[]),r[o].push(D===void 0?!0:D),s.push(l)}},onArgument(o,D,l){u?.(qn,e[D[0]])||(i.push(...o),l?(i[We]=o,e.splice(D[0])):s.push(D))}}),lr(e,s),{flags:rr(t,n),unknownFlags:r,_:i}},"U$2");var cr=Object.create,Ge=Object.defineProperty,fr=Object.defineProperties,hr=Object.getOwnPropertyDescriptor,dr=Object.getOwnPropertyDescriptors,Er=Object.getOwnPropertyNames,vu=Object.getOwnPropertySymbols,pr=Object.getPrototypeOf,Su=Object.prototype.hasOwnProperty,Cr=Object.prototype.propertyIsEnumerable,Bu=a((t,e,u)=>e in t?Ge(t,e,{enumerable:!0,configurable:!0,writable:!0,value:u}):t[e]=u,"W$1"),je=a((t,e)=>{for(var u in e||(e={}))Su.call(e,u)&&Bu(t,u,e[u]);if(vu)for(var u of vu(e))Cr.call(e,u)&&Bu(t,u,e[u]);return t},"p"),ht=a((t,e)=>fr(t,dr(e)),"c"),Fr=a(t=>Ge(t,"__esModule",{value:!0}),"nD"),gr=a((t,e)=>()=>(t&&(e=t(t=0)),e),"rD"),mr=a((t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),"iD"),_r=a((t,e,u,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Er(e))!Su.call(t,n)&&n!=="default"&&Ge(t,n,{get:a(()=>e[n],"get"),enumerable:!(s=hr(e,n))||s.enumerable});return t},"oD"),Ar=a((t,e)=>_r(Fr(Ge(t!=null?cr(pr(t)):{},"default",{value:t,enumerable:!0})),t),"BD"),V=gr(()=>{}),yr=mr((t,e)=>{V(),e.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764Line truncated
`).map(De)),"b$1"),Sr=a(t=>{let e=[];for(let u of t){let{length:s}=u,n=s-e.length;for(let r=0;r<n;r+=1)e.push(0);for(let r=0;r<s;r+=1){let i=Tu(u[r]);i>e[r]&&(e[r]=i)}}return e},"k$1");V();var xu=/^\d+%$/,Ou={width:"auto",align:"left",contentWidth:0,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,horizontalPadding:0,paddingLeftString:"",paddingRightString:""},Br=a((t,e)=>{var u;let s=[];for(let n=0;n<t.length;n+=1){let r=(u=e[n])!=null?u:"auto";if(typeof r=="number"||r==="auto"||r==="content-width"||typeof r=="string"&&xu.test(r)){s.push(ht(je({},Ou),{width:r,contentWidth:t[n]}));continue}if(r&&typeof r=="object"){let i=ht(je(je({},Ou),r),{contentWidth:t[n]});i.horizontalPadding=i.paddingLeft+i.paddingRight,s.push(i);continue}throw new Error(`Invalid column width: ${JSON.stringify(r)}`)}return s},"sD");function $r(t,e){for(let u of t){let{width:s}=u;if(s==="content-width"&&(u.width=u.contentWidth),s==="auto"){let D=Math.min(20,u.contentWidth);u.width=D,u.autoOverflow=u.contentWidth-D}if(typeof s=="string"&&xu.test(s)){let D=Number.parseFloat(s.slice(0,-1))/100;u.width=Math.floor(e*D)-(u.paddingLeft+u.paddingRight)}let{horizontalPadding:n}=u,r=1,i=r+n;if(i>=e){let D=i-e,l=Math.ceil(u.paddingLeft/n*D),f=D-l;u.paddingLeft-=l,u.paddingRight-=f,u.horizontalPadding=u.paddingLeft+u.paddingRight}u.paddingLeftString=u.paddingLeft?" ".repeat(u.paddingLeft):"",u.paddingRightString=u.paddingRight?" ".repeat(u.paddingRight):"";let o=e-u.horizontalPadding;u.width=Math.max(Math.min(u.width,o),r)}}a($r,"aD");var Nu=a(()=>Object.assign([],{columns:0}),"G$1");function Tr(t,e){let u=[Nu()],[s]=u;for(let n of t){let r=n.width+n.horizontalPadding;s.columns+r>e&&(s=Nu(),u.push(s)),s.push(n),s.columns+=r}for(let n of u){let r=n.reduce((c,C)=>c+C.width+C.horizontalPadding,0),i=e-r;if(i===0)continue;let o=n.filter(c=>"autoOverflow"in c),D=o.filter(c=>c.autoOverflow>0),l=D.reduce((c,C)=>c+C.autoOverflow,0),f=Math.min(l,i);for(let c of D){let C=Math.floor(c.autoOverflow/l*f);c.width+=C,i-=C}let h=Math.floor(i/o.length);for(let c=0;c<o.length;c+=1){let C=o[c];c===o.length-1?C.width+=i:C.width+=h,i-=h}}return u}a(Tr,"lD");function xr(t,e,u){let s=Br(u,e);return $r(s,t),Tr(s,t)}a(xr,"Z$1"),V(),V(),V();var dt=10,Pu=a((t=0)=>e=>`\x1B[${e+t}m`,"U$1"),Hu=a((t=0)=>e=>`\x1B[${38+t};5;${e}m`,"V$1"),Lu=a((t=0)=>(e,u,s)=>`\x1B[${38+t};2;${e};${u};${s}m`,"Y");function Or(){let t=new Map,e={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};e.color.gray=e.color.blackBright,e.bgColor.bgGray=e.bgColor.bgBlackBright,e.color.grey=e.color.blackBright,e.bgColor.bgGrey=e.bgColor.bgBlackBright;for(let[u,s]of Object.entries(e)){for(let[n,r]of Object.entries(s))e[n]={open:`\x1B[${r[0]}m`,close:`\x1B[${r[1]}m`},s[n]=e[n],t.set(r[0],r[1]);Object.defineProperty(e,u,{value:s,enumerable:!1})}return Object.defineProperty(e,"codes",{value:t,enumerable:!1}),e.color.close="\x1B[39m",e.bgColor.close="\x1B[49m",e.color.ansi=Pu(),e.color.ansi256=Hu(),e.color.ansi16m=Lu(),e.bgColor.ansi=Pu(dt),e.bgColor.ansi256=Hu(dt),e.bgColor.ansi16m=Lu(dt),Object.defineProperties(e,{rgbToAnsi256:{value:a((u,s,n)=>u===s&&s===n?u<8?16:u>248?231:Math.round((u-8)/247*24)+232:16+36*Math.round(u/255*5)+6*Math.round(s/255*5)+Math.round(n/255*5),"value"),enumerable:!1},hexToRgb:{value:a(u=>{let s=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(u.toString(16));if(!s)return[0,0,0];let{colorString:n}=s.groups;n.length===3&&(n=n.split("").map(i=>i+i).join(""));let r=Number.parseInt(n,16);return[r>>16&255,r>>8&255,r&255]},"value"),enumerable:!1},hexToAnsi256:{value:a(u=>e.rgbToAnsi256(...e.hexToRgb(u)),"value"),enumerable:!1},ansi256ToAnsi:{value:a(u=>{if(u<8)return 30+u;if(u<16)return 90+(u-8);let s,n,r;if(u>=232)s=((u-232)*10+8)/255,n=s,r=s;else{u-=16;let D=u%36;s=Math.floor(u/36)/5,n=Math.floor(D/6)/5,r=D%6/5}let i=Math.max(s,n,r)*2;if(i===0)return 30;let o=30+(Math.round(r)<<2|Math.round(n)<<1|Math.round(s));return i===2&&(o+=60),o},"value"),enumerable:!1},rgbToAnsi:{value:a((u,s,n)=>e.ansi256ToAnsi(e.rgbToAnsi256(u,s,n)),"value"),enumerable:!1},hexToAnsi:{value:a(u=>e.ansi256ToAnsi(e.hexToAnsi256(u)),"value"),enumerable:!1}}),e}a(Or,"AD");var Nr=Or(),Pr=Nr,Ue=new Set(["\x1B","\x9B"]),Hr=39,Et="\x07",Iu="[",Lr="]",ku="m",pt=`${Lr}8;;`,Mu=a(t=>`${Ue.values().next().value}${Iu}${t}${ku}`,"J$1"),Wu=a(t=>`${ULine truncated
`)];for(let[l,f]of D.entries()){if(s+=f,Ue.has(f)){let{groups:c}=new RegExp(`(?:\\${Iu}(?<code>\\d+)m|\\${pt}(?<uri>.*)${Et})`).exec(D.slice(l).join(""))||{groups:{}};if(c.code!==void 0){let C=Number.parseFloat(c.code);n=C===Hr?void 0:C}else c.uri!==void 0&&(r=c.uri.length===0?void 0:c.uri)}let h=Pr.codes.get(Number(n));D[l+1]===`
`?(r&&(s+=Wu("")),n&&h&&(s+=Mu(h))):f===`
`&&(n&&h&&(s+=Mu(n)),r&&(s+=Wu(r)))}return s},"dD");function Wr(t,e,u){return String(t).normalize().replace(/\r\n/g,`
`).split(`
`).map(s=>Mr(s,e,u)).join(`
`)}a(Wr,"T$1");var Gu=a(t=>Array.from({length:t}).fill(""),"X");function Gr(t,e){let u=[],s=0;for(let n of t){let r=0,i=n.map(D=>{var l;let f=(l=e[s])!=null?l:"";s+=1,D.preprocess&&(f=D.preprocess(f)),Tu(f)>D.width&&(f=Wr(f,D.width,{hard:!0}));let h=f.split(`
`);if(D.postprocess){let{postprocess:c}=D;h=h.map((C,F)=>c.call(D,C,F))}return D.paddingTop&&h.unshift(...Gu(D.paddingTop)),D.paddingBottom&&h.push(...Gu(D.paddingBottom)),h.length>r&&(r=h.length),ht(je({},D),{lines:h})}),o=[];for(let D=0;D<r;D+=1){let l=i.map(f=>{var h;let c=(h=f.lines[D])!=null?h:"",C=Number.isFinite(f.width)?" ".repeat(f.width-De(c)):"",F=f.paddingLeftString;return f.align==="right"&&(F+=C),F+=c,f.align==="left"&&(F+=C),F+f.paddingRightString}).join("");o.push(l)}u.push(o.join(`
`))}return u.join(`
`)}a(Gr,"P");function jr(t,e){if(!t||t.length===0)return"";let u=Sr(t),s=u.length;if(s===0)return"";let{stdoutColumns:n,columns:r}=wr(e);if(r.length>s)throw new Error(`${r.length} columns defined, but only ${s} columns found`);let i=xr(n,r,u);return t.map(o=>Gr(i,o)).join(`
`)}a(jr,"mD"),V();var Ur=["<",">","=",">=","<="];function Kr(t){if(!Ur.includes(t))throw new TypeError(`Invalid breakpoint operator: ${t}`)}a(Kr,"xD");function Vr(t){let e=Object.keys(t).map(u=>{let[s,n]=u.split(" ");Kr(s);let r=Number.parseInt(n,10);if(Number.isNaN(r))throw new TypeError(`Invalid breakpoint value: ${n}`);let i=t[u];return{operator:s,breakpoint:r,value:i}}).sort((u,s)=>s.breakpoint-u.breakpoint);return u=>{var s;return(s=e.find(({operator:n,breakpoint:r})=>n==="="&&u===r||n===">"&&u>r||n==="<"&&u<r||n===">="&&u>=r||n==="<="&&u<=r))==null?void 0:s.value}}a(Vr,"wD");const zr=a(t=>t.replace(/[\W_]([a-z\d])?/gi,(e,u)=>u?u.toUpperCase():""),"S"),Yr=a(t=>t.replace(/\B([A-Z])/g,"-$1").toLowerCase(),"q"),qr={"> 80":[{width:"content-width",paddingLeft:2,paddingRight:8},{width:"auto"}],"> 40":[{width:"auto",paddingLeft:2,paddingRight:8,preprocess:a(t=>t.trim(),"preprocess")},{width:"100%",paddingLeft:2,paddingBottom:1}],"> 0":{stdoutColumns:1e3,columns:[{width:"content-width",paddingLeft:2,paddingRight:8},{width:"content-width"}]}};function Xr(t){let e=!1;return{type:"table",data:{tableData:Object.keys(t).sort((u,s)=>u.localeCompare(s)).map(u=>{const s=t[u],n="alias"in s;return n&&(e=!0),{name:u,flag:s,flagFormatted:`--${Yr(u)}`,aliasesEnabled:e,aliasFormatted:n?`-${s.alias}`:void 0}}).map(u=>(u.aliasesEnabled=e,[{type:"flagName",data:u},{type:"flagDescription",data:u}])),tableBreakpoints:qr}}}a(Xr,"D");const ju=a(t=>!t||(t.version??(t.help?t.help.version:void 0)),"A"),Uu=a(t=>{const e="parent"in t&&t.parent?.name;return(e?`${e} `:"")+t.name},"C");function Qr(t){const e=[];t.name&&e.push(Uu(t));const u=ju(t)??("parent"in t&&ju(t.parent));if(u&&e.push(`v${u}`),e.length!==0)return{id:"name",type:"text",data:`${e.join(" ")}
`}}a(Qr,"R");function Zr(t){const{help:e}=t;if(!(!e||!e.description))return{id:"description",type:"text",data:`${e.description}
`}}a(Zr,"L");function Jr(t){const e=t.help||{};if("usage"in e)return e.usage?{id:"usage",type:"section",data:{title:"Usage:",body:Array.isArray(e.usage)?e.usage.join(`
`):e.usage}}:void 0;if(t.name){const u=[],s=[Uu(t)];if(t.flags&&Object.keys(t.flags).length>0&&s.push("[flags...]"),t.parameters&&t.parameters.length>0){const{parameters:n}=t,r=n.indexOf("--"),i=r>-1&&n.slice(r+1).some(o=>o.startsWith("<"));s.push(n.map(o=>o!=="--"?o:i?"--":"[--]").join(" "))}if(s.length>1&&u.push(s.join(" ")),"commands"in t&&t.commands?.length&&u.push(`${t.name} <command>`),u.length>0)return{id:"usage",type:"section",data:{title:"Usage:",body:u.join(`
`)}}}}a(Jr,"T");function ei(t){return!("commands"in t)||!t.commands?.length?void 0:{id:"commands",type:"section",data:{title:"Commands:",body:{type:"table",data:{tableData:t.commands.map(e=>[e.options.name,e.options.help?e.options.help.description:""]),tableOptions:[{width:"content-width",paddingLeft:2,paddingRight:8}]}},indentBody:0}}}a(ei,"_");function ti(t){if(!(!t.flags||Object.keys(t.flags).length===0))return{id:"flags",type:"section",data:{title:"Flags:",body:Xr(t.flags),indentBody:0}}}a(ti,"k");function ui(t){const{help:e}=t;if(!e||!e.examples||e.examples.length===0)return;let{examples:u}=e;if(Array.isArray(u)&&(u=u.join(`
`)),u)return{id:"examples",type:"section",data:{title:"Examples:",body:u}}}a(ui,"F");function si(t){if(!("alias"in t)||!t.alias)return;const{alias:e}=t;return{id:"aliases",type:"section",data:{title:"Aliases:",body:Array.isArray(e)?e.join(", "):e}}}a(si,"H");const ni=a(t=>[Qr,Zr,Jr,ei,ti,ui,si].map(e=>e(t)).filter(Boolean),"U"),ri=$n.WriteStream.prototype.hasColors();class ii{static{a(this,"M")}text(e){return e}bold(e){return ri?`\x1B[1m${e}\x1B[22m`:e.toLocaleUpperCase()}indentText({text:e,spaces:u}){return e.replace(/^/gm," ".repeat(u))}heading(e){return this.bold(e)}section({title:e,body:u,indentBody:s=2}){return`${(e?`${this.heading(e)}
`:"")+(u?this.indentText({text:this.render(u),spaces:s}):"")}
`}table({tableData:e,tableOptions:u,tableBreakpoints:s}){return jr(e.map(n=>n.map(r=>this.render(r))),s?Vr(s):u)}flagParameter(e){return e===Boolean?"":e===String?"<string>":e===Number?"<number>":Array.isArray(e)?this.flagParameter(e[0]):"<value>"}flagOperator(e){return" "}flagName(e){const{flag:u,flagFormatted:s,aliasesEnabled:n,aliasFormatted:r}=e;let i="";if(r?i+=`${r}, `:n&&(i+=" "),i+=s,"placeholder"in u&&typeof u.placeholder=="string")i+=`${this.flagOperator(e)}${u.placeholder}`;else{const o=this.flagParameter("type"in u?u.type:u);o&&(i+=`${this.flagOperator(e)}${o}`)}return i}flagDefault(e){return JSON.stringify(e)}flagDescription({flag:e}){let u="description"in e?e.description??"":"";if("default"in e){let{default:s}=e;typeof s=="function"&&(s=s()),s&&(u+=` (default: ${this.flagDefault(s)})`)}return u}render(e){if(typeof e=="string")return e;if(Array.isArray(e))return e.map(u=>this.render(u)).join(`
`);if("type"in e&&this[e.type]){const u=this[e.type];if(typeof u=="function")return u.call(this,e.data)}throw new Error(`Invalid node type: ${JSON.stringify(e)}`)}}const Ft=/^[\w.-]+$/,{stringify:ue}=JSON,oi=/[|\\{}()[\]^$+*?.]/;function gt(t){const e=[];let u,s;for(const n of t){if(s)throw new Error(`Invalid parameter: Spread parameter ${ue(s)} must be last`);const r=n[0],i=n[n.length-1];let o;if(r==="<"&&i===">"&&(o=!0,u))throw new Error(`Invalid parameter: Required parameter ${ue(n)} cannot come after optional parameter ${ue(u)}`);if(r==="["&&i==="]"&&(o=!1,u=n),o===void 0)throw new Error(`Invalid parameter: ${ue(n)}. Must be wrapped in <> (required parameter) or [] (optional parameter)`);let D=n.slice(1,-1);const l=D.slice(-3)==="...";l&&(s=n,D=D.slice(0,-3));const f=D.match(oi);if(f)throw new Error(`Invalid parameter: ${ue(n)}. Invalid character found ${ue(f[0])}`);e.push({name:D,required:o,spread:l})}return e}a(gt,"w");function mt(t,e,u,s){for(let n=0;n<e.length;n+=1){const{name:r,required:i,spread:o}=e[n],D=zr(r);if(D in t)throw new Error(`Invalid parameter: ${ue(r)} is used more than once.`);const l=o?u.slice(n):u[n];if(o&&(n=e.length),i&&(!l||o&&l.length===0))return console.error(`Error: Missing required parameter ${ue(r)}
`),s(),process.exit(1);t[D]=l}}a(mt,"b");function Di(t){return t===void 0||t!==!1}a(Di,"W");function Ku(t,e,u,s){const n={...e.flags},r=e.version;r&&(n.version={type:Boolean,description:"Show version"});const{help:i}=e,o=Di(i);o&&!("help"in n)&&(n.help={type:Boolean,alias:"h",description:"Show help"});const D=bu(n,s,{ignore:e.ignoreArgv}),l=a(()=>{console.log(e.version)},"f");if(r&&D.flags.version===!0)return l(),process.exit(0);const f=new ii,h=o&&i?.render?i.render:F=>f.render(F),c=a(F=>{const m=ni({...e,...F?{help:F}:{},flags:n});console.log(h(m,f))},"u");if(o&&D.flags.help===!0)return c(),process.exit(0);if(e.parameters){let{parameters:F}=e,m=D._;const R=F.indexOf("--"),T=F.slice(R+1),H=Object.create(null);if(R>-1&&T.length>0){F=F.slice(0,R);const O=D._["--"];m=m.slice(0,-O.length||void 0),mt(H,gt(F),m,c),mt(H,gt(T),O,c)}else mt(H,gt(F),m,c);Object.assign(D._,H)}const C={...D,showVersion:l,showHelp:c};return typeof u=="function"&&u(C),{command:t,...C}}a(Ku,"x");function ai(t,e){const u=new Map;for(const s of e){const n=[s.options.name],{alias:r}=s.options;r&&(Array.isArray(r)?n.push(...r):n.push(r));for(const i of n){if(u.has(i))throw new Error(`Duplicate command name found: ${ue(i)}`);u.set(i,s)}}return u.get(t)}a(ai,"z");function Vu(t,e,u=process.argv.slice(2)){if(!t)throw new Error("Options is required");if("name"in t&&(!t.name||!Ft.test(t.name)))throw new Error(`Invalid script name: ${ue(t.name)}`);const s=u[0];if(t.commands&&Ft.test(s)){const n=ai(s,t.commands);if(n)return Ku(n.options.name,{...n.options,parent:t},n.callback,u.slice(1))}return Ku(void 0,t,e,u)}a(Vu,"Z");function li(t,e){if(!t)throw new Error("Command options are required");const{name:u}=t;if(t.name===void 0)throw new Error("Command name is required");if(!Ft.test(u))throw new Error(`Invalid command name ${JSON.stringify(u)}. Command names must be one word.`);return{options:t,callback:e}}a(li,"G");var ci=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zu(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}a(zu,"getDefaultExportFromCjs");var fe={exports:{}},_t,Yu;function fi(){if(Yu)return _t;Yu=1,_t=s,s.sync=n;var t=oe;function e(r,i){var o=i.pathExt!==void 0?i.pathExt:process.env.PATHEXT;if(!o||(o=o.split(";"),o.indexOf("")!==-1))return!0;for(var D=0;D<o.length;D++){var l=o[D].toLowerCase();if(l&&r.substr(-l.length).toLowerCase()===l)return!0}return!1}a(e,"checkPathExt");function u(r,i,o){return!r.isSymbolicLink()&&!r.isFile()?!1:e(i,o)}a(u,"checkStat");function s(r,i,o){t.stat(r,function(D,l){o(D,D?!1:u(l,r,i))})}a(s,"isexe");function n(r,i){return u(t.statSync(r),r,i)}return a(n,"sync"),_t}a(fi,"requireWindows");var At,qu;function hi(){if(qu)return At;qu=1,At=e,e.sync=u;var t=oe;function e(r,i,o){t.stat(r,function(D,l){o(D,D?!1:s(l,i))})}a(e,"isexe");function u(r,i){return s(t.statSync(r),i)}a(u,"sync");function s(r,i){return r.isFile()&&n(r,i)}a(s,"checkStat");function n(r,i){var o=r.mode,D=r.uid,l=r.gid,f=i.uid!==void 0?i.uid:process.getuid&&process.getuid(),h=i.gid!==void 0?i.gid:process.getgid&&process.getgid(),c=parseInt("100",8),C=parseInt("010",8),F=parseInt("001",8),m=c|C,R=o&F||o&C&&l===h||o&c&&D===f||o&m&&f===0;return R}return a(n,"checkMode"),At}a(hi,"requireMode");var Ke;process.platform==="win32"||ci.TESTING_WINDOWS?Ke=fi():Ke=hi();var di=yt;yt.sync=Ei;function yt(t,e,u){if(typeof e=="function"&&(u=e,e={}),!u){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(s,n){yt(t,e||{},function(r,i){r?n(r):s(i)})})}Ke(t,e||{},function(s,n){s&&(s.code==="EACCES"||e&&e.ignoreErrors)&&(s=null,n=!1),u(s,n)})}a(yt,"isexe$1");function Ei(t,e){try{return Ke.sync(t,e||{})}catch(u){if(e&&e.ignoreErrors||u.code==="EACCES")return!1;throw u}}a(Ei,"sync");const he=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",Xu=q,pi=he?";":":",Qu=di,Zu=a(t=>Object.assign(new Error(`not found: ${t}`),{code:"ENOENT"}),"getNotFoundError"),Ju=a((t,e)=>{const u=e.colon||pi,s=t.match(/\//)||he&&t.match(/\\/)?[""]:[...he?[process.cwd()]:[],...(e.path||process.env.PATH||"").split(u)],n=he?e.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",r=he?n.split(u):[""];return he&&t.indexOf(".")!==-1&&r[0]!==""&&r.unshift(""),{pathEnv:s,pathExt:r,pathExtExe:n}},"getPathInfo"),es=a((t,e,u)=>{typeof e=="function"&&(u=e,e={}),e||(e={});const{pathEnv:s,pathExt:n,pathExtExe:r}=Ju(t,e),i=[],o=a(l=>new Promise((f,h)=>{if(l===s.length)return e.all&&i.length?f(i):h(Zu(t));const c=s[l],C=/^".*"$/.test(c)?c.slice(1,-1):c,F=Xu.join(C,t),m=!C&&/^\.[\\\/]/.test(t)?t.slice(0,2)+F:F;f(D(m,l,0))}),"step"),D=a((l,f,h)=>new Promise((c,C)=>{if(h===n.length)return c(o(f+1));const F=n[h];Qu(l+F,{pathExt:r},(m,R)=>{if(!m&&R)if(e.all)i.push(l+F);else return c(l+F);return c(D(l,f,h+1))})}),"subStep");return u?o(0).then(l=>u(null,l),u):o(0)},"which$1"),Ci=a((t,e)=>{e=e||{};const{pathEnv:u,pathExt:s, Line truncated
* normalize-path <https://github.com/jonschlinkert/normalize-path>
*
* Copyright (c) 2014-2018, Jon Schlinkert.
* Released under the MIT License.
*/var Ss=a(function(t,e){if(typeof t!="string")throw new TypeError("expected path to be a string");if(t==="\\"||t==="/")return"/";var u=t.length;if(u<=1)return t;var s="";if(u>4&&t[3]==="\\"){var n=t[2];(n==="?"||n===".")&&t.slice(0,2)==="\\\\"&&(t=t.slice(2),s="//")}var r=t.split(/[/\\]+/);return e!==!1&&r[r.length-1]===""&&r.pop(),s+r.join("/")},"normalizePath$2"),Po=Ut.exports;Object.defineProperty(Po,"__esModule",{value:!0});const Bs=_s,Ho=Ss,$s="!",Lo={returnIndex:!1},Io=a(t=>Array.isArray(t)?t:[t],"arrify$1"),ko=a((t,e)=>{if(typeof t=="function")return t;if(typeof t=="string"){const u=Bs(t,e);return s=>t===s||u(s)}return t instanceof RegExp?u=>t.test(u):u=>!1},"createPattern"),Ts=a((t,e,u,s)=>{const n=Array.isArray(u),r=n?u[0]:u;if(!n&&typeof r!="string")throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(r));const i=Ho(r,!1);for(let D=0;D<e.length;D++){const l=e[D];if(l(i))return s?-1:!1}const o=n&&[i].concat(u.slice(1));for(let D=0;D<t.length;D++){const l=t[D];if(n?l(...o):l(i))return s?D:!0}return s?-1:!1},"matchPatterns"),Kt=a((t,e,u=Lo)=>{if(t==null)throw new TypeError("anymatch: specify first argument");const s=typeof u=="boolean"?{returnIndex:u}:u,n=s.returnIndex||!1,r=Io(t),i=r.filter(D=>typeof D=="string"&&D.charAt(0)===$s).map(D=>D.slice(1)).map(D=>Bs(D,s)),o=r.filter(D=>typeof D!="string"||typeof D=="string"&&D.charAt(0)!==$s).map(D=>ko(D,s));return e==null?(D,l=!1)=>Ts(o,i,D,typeof l=="boolean"?l:!1):Ts(o,i,e,n)},"anymatch$1");Kt.default=Kt,Ut.exports=Kt;var Mo=Ut.exports;/*!
* is-extglob <https://github.com/jonschlinkert/is-extglob>
*
* Copyright (c) 2014-2016, Jon Schlinkert.
* Licensed under the MIT License.
*/var Wo=a(function(e){if(typeof e!="string"||e==="")return!1;for(var u;u=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(u[2])return!0;e=e.slice(u.index+u[0].length)}return!1},"isExtglob");/*!
* is-glob <https://github.com/jonschlinkert/is-glob>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/var Go=Wo,xs={"{":"}","(":")","[":"]"},jo=a(function(t){if(t[0]==="!")return!0;for(var e=0,u=-2,s=-2,n=-2,r=-2,i=-2;e<t.length;){if(t[e]==="*"||t[e+1]==="?"&&/[\].+)]/.test(t[e])||s!==-1&&t[e]==="["&&t[e+1]!=="]"&&(s<e&&(s=t.indexOf("]",e)),s>e&&(i===-1||i>s||(i=t.indexOf("\\",e),i===-1||i>s)))||n!==-1&&t[e]==="{"&&t[e+1]!=="}"&&(n=t.indexOf("}",e),n>e&&(i=t.indexOf("\\",e),i===-1||i>n))||r!==-1&&t[e]==="("&&t[e+1]==="?"&&/[:!=]/.test(t[e+2])&&t[e+3]!==")"&&(r=t.indexOf(")",e),r>e&&(i=t.indexOf("\\",e),i===-1||i>r))||u!==-1&&t[e]==="("&&t[e+1]!=="|"&&(u<e&&(u=t.indexOf("|",e)),u!==-1&&t[u+1]!==")"&&(r=t.indexOf(")",u),r>u&&(i=t.indexOf("\\",u),i===-1||i>r))))return!0;if(t[e]==="\\"){var o=t[e+1];e+=2;var D=xs[o];if(D){var l=t.indexOf(D,e);l!==-1&&(e=l+1)}if(t[e]==="!")return!0}else e++}return!1},"strictCheck"),Uo=a(function(t){if(t[0]==="!")return!0;for(var e=0;e<t.length;){if(/[*?{}()[\]]/.test(t[e]))return!0;if(t[e]==="\\"){var u=t[e+1];e+=2;var s=xs[u];if(s){var n=t.indexOf(s,e);n!==-1&&(e=n+1)}if(t[e]==="!")return!0}else e++}return!1},"relaxedCheck"),Vt=a(function(e,u){if(typeof e!="string"||e==="")return!1;if(Go(e))return!0;var s=jo;return u&&u.strict===!1&&(s=Uo),s(e)},"isGlob"),Os=zu(Vt),Ko=Vt,Vo=q.posix.dirname,zo=wu.platform()==="win32",zt="/",Yo=/\\/g,qo=/[\{\[].*[\}\]]$/,Xo=/(^|[^\\])([\{\[]|\([^\)]+$)/,Qo=/\\([\!\*\?\|\[\]\(\)\{\}])/g,Zo=a(function(e,u){var s=Object.assign({flipBackslashes:!0},u);s.flipBackslashes&&zo&&e.indexOf(zt)<0&&(e=e.replace(Yo,zt)),qo.test(e)&&(e+=zt),e+="a";do e=Vo(e);while(Ko(e)||Xo.test(e));return e.replace(Qo,"$1")},"globParent"),et={};(function(t){t.isInteger=e=>typeof e=="number"?Number.isInteger(e):typeof e=="string"&&e.trim()!==""?Number.isInteger(Number(e)):!1,t.find=(e,u)=>e.nodes.find(s=>s.type===u),t.exceedsLimit=(e,u,s=1,n)=>n===!1||!t.isInteger(e)||!t.isInteger(u)?!1:(Number(u)-Number(e))/Number(s)>=n,t.escapeNode=(e,u=0,s)=>{let n=e.nodes[u];n&&(s&&n.type===s||n.type==="open"||n.type==="close")&&n.escaped!==!0&&(n.value="\\"+n.value,n.escaped=!0)},t.encloseBrace=e=>e.type!=="brace"||e.commas>>0+e.ranges>>0?!1:(e.invalid=!0,!0),t.isInvalidBrace=e=>e.type!=="brace"?!1:e.invalid===!0||e.dollar?!0:!(e.commas>>0+e.ranges>>0)||e.open!==!0||e.close!==!0?(e.invalid=!0,!0):!1,t.isOpenOrClose=e=>e.type==="open"||e.type==="close"?!0:e.open===!0||e.close===!0,t.reduce=e=>e.reduce((u,s)=>(s.type==="text"&&u.push(s.value),s.type==="range"&&(s.type="text"),u),[]),t.flatten=(...e)=>{const u=[],s=a(n=>{for(let r=0;r<n.length;r++){let i=n[r];Array.isArray(i)?s(i):i!==void 0&&u.push(i)}return u},"flat");return s(e),u}})(et);const Ns=et;var Yt=a((t,e={})=>{let u=a((s,n={})=>{let r=e.escapeInvalid&&Ns.isInvalidBrace(n),i=s.invalid===!0&&e.escapeInvalid===!0,o="";if(s.value)return(r||i)&&Ns.isOpenOrClose(s)?"\\"+s.value:s.value;if(s.value)return s.value;if(s.nodes)for(let D of s.nodes)o+=u(D);return o},"stringify");return u(t)},"stringify$4");/*!
* is-number <https://github.com/jonschlinkert/is-number>
*
* Copyright (c) 2014-present, Jon Schlinkert.
* Released under the MIT License.
*/var Jo=a(function(t){return typeof t=="number"?t-t===0:typeof t=="string"&&t.trim()!==""?Number.isFinite?Number.isFinite(+t):isFinite(+t):!1},"isNumber$2");/*!
* to-regex-range <https://github.com/micromatch/to-regex-range>
*
* Copyright (c) 2015-present, Jon Schlinkert.
* Released under the MIT License.
*/const Ps=Jo,ae=a((t,e,u)=>{if(Ps(t)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(e===void 0||t===e)return String(t);if(Ps(e)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let s={relaxZeros:!0,...u};typeof s.strictZeros=="boolean"&&(s.relaxZeros=s.strictZeros===!1);let n=String(s.relaxZeros),r=String(s.shorthand),i=String(s.capture),o=String(s.wrap),D=t+":"+e+"="+n+r+i+o;if(ae.cache.hasOwnProperty(D))return ae.cache[D].result;let l=Math.min(t,e),f=Math.max(t,e);if(Math.abs(l-f)===1){let m=t+"|"+e;return s.capture?`(${m})`:s.wrap===!1?m:`(?:${m})`}let h=Ws(t)||Ws(e),c={min:t,max:e,a:l,b:f},C=[],F=[];if(h&&(c.isPadded=h,c.maxLen=String(c.max).length),l<0){let m=f<0?Math.abs(f):1;F=Hs(m,Math.abs(l),c,s),l=c.a=0}return f>=0&&(C=Hs(l,f,c,s)),c.negatives=F,c.positives=C,c.result=eD(F,C),s.capture===!0?c.result=`(${c.result})`:s.wrap!==!1&&C.length+F.length>1&&(c.result=`(?:${c.result})`),ae.cache[D]=c,c.result},"toRegexRange$1");function eD(t,e,u){let s=qt(t,e,"-",!1)||[],n=qt(e,t,"",!1)||[],r=qt(t,e,"-?",!0)||[];return s.concat(r).concat(n).join("|")}a(eD,"collatePatterns");function tD(t,e){let u=1,s=1,n=Is(t,u),r=new Set([e]);for(;t<=n&&n<=e;)r.add(n),u+=1,n=Is(t,u);for(n=ks(e+1,s)-1;t<n&&n<=e;)r.add(n),s+=1,n=ks(e+1,s)-1;return r=[...r],r.sort(nD),r}a(tD,"splitToRanges");function uD(t,e,u){if(t===e)return{pattern:t,count:[],digits:0};let s=sD(t,e),n=s.length,r="",i=0;for(let o=0;o<n;o++){let[D,l]=s[o];D===l?r+=D:D!=="0"||l!=="9"?r+=rD(D,l):i++}return i&&(r+=u.shorthand===!0?"\\d":"[0-9]"),{pattern:r,count:[i],digits:n}}a(uD,"rangeToPattern");function Hs(t,e,u,s){let n=tD(t,e),r=[],i=t,o;for(let D=0;D<n.length;D++){let l=n[D],f=uD(String(i),String(l),s),h="";if(!u.isPadded&&o&&o.pattern===f.pattern){o.count.length>1&&o.count.pop(),o.count.push(f.count[0]),o.string=o.pattern+Ms(o.count),i=l+1;continue}u.isPadded&&(h=iD(l,u,s)),f.string=h+f.pattern+Ms(f.count),r.push(f),i=l+1,o=f}return r}a(Hs,"splitToPatterns");function qt(t,e,u,s,n){let r=[];for(let i of t){let{string:o}=i;!s&&!Ls(e,"string",o)&&r.push(u+o),s&&Ls(e,"string",o)&&r.push(u+o)}return r}a(qt,"filterPatterns");function sD(t,e){let u=[];for(let s=0;s<t.length;s++)u.push([t[s],e[s]]);return u}a(sD,"zip");function nD(t,e){return t>e?1:e>t?-1:0}a(nD,"compare");function Ls(t,e,u){return t.some(s=>s[e]===u)}a(Ls,"contains");function Is(t,e){return Number(String(t).slice(0,-e)+"9".repeat(e))}a(Is,"countNines");function ks(t,e){return t-t%Math.pow(10,e)}a(ks,"countZeros");function Ms(t){let[e=0,u=""]=t;return u||e>1?`{${e+(u?","+u:"")}}`:""}a(Ms,"toQuantifier");function rD(t,e,u){return`[${t}${e-t===1?"":"-"}${e}]`}a(rD,"toCharacterClass");function Ws(t){return/^-?(0+)\d/.test(t)}a(Ws,"hasPadding");function iD(t,e,u){if(!e.isPadded)return t;let s=Math.abs(e.maxLen-String(t).length),n=u.relaxZeros!==!1;switch(s){case 0:return"";case 1:return n?"0?":"0";case 2:return n?"0{0,2}":"00";default:return n?`0{0,${s}}`:`0{${s}}`}}a(iD,"padZeros"),ae.cache={},ae.clearCache=()=>ae.cache={};var oD=ae;/*!
* fill-range <https://github.com/jonschlinkert/fill-range>
*
* Copyright (c) 2014-present, Jon Schlinkert.
* Licensed under the MIT License.
*/const DD=ge,Gs=oD,js=a(t=>t!==null&&typeof t=="object"&&!Array.isArray(t),"isObject"),aD=a(t=>e=>t===!0?Number(e):String(e),"transform"),Xt=a(t=>typeof t=="number"||typeof t=="string"&&t!=="","isValidValue"),be=a(t=>Number.isInteger(+t),"isNumber"),Qt=a(t=>{let e=`${t}`,u=-1;if(e[0]==="-"&&(e=e.slice(1)),e==="0")return!1;for(;e[++u]==="0";);return u>0},"zeros"),lD=a((t,e,u)=>typeof t=="string"||typeof e=="string"?!0:u.stringify===!0,"stringify$3"),cD=a((t,e,u)=>{if(e>0){let s=t[0]==="-"?"-":"";s&&(t=t.slice(1)),t=s+t.padStart(s?e-1:e,"0")}return u===!1?String(t):t},"pad"),Us=a((t,e)=>{let u=t[0]==="-"?"-":"";for(u&&(t=t.slice(1),e--);t.length<e;)t="0"+t;return u?"-"+t:t},"toMaxLen"),fD=a((t,e)=>{t.negatives.sort((i,o)=>i<o?-1:i>o?1:0),t.positives.sort((i,o)=>i<o?-1:i>o?1:0);let u=e.capture?"":"?:",s="",n="",r;return t.positives.length&&(s=t.positives.join("|")),t.negatives.length&&(n=`-(${u}${t.negatives.join("|")})`),s&&n?r=`${s}|${n}`:r=s||n,e.wrap?`(${u}${r})`:r},"toSequence"),Ks=a((t,e,u,s)=>{if(u)return Gs(t,e,{wrap:!1,...s});let n=String.fromCharCode(t);if(t===e)return n;let r=String.fromCharCode(e);return`[${n}-${r}]`},"toRange"),Vs=a((t,e,u)=>{if(Array.isArray(t)){let s=u.wrap===!0,n=u.capture?"":"?:";return s?`(${n}${t.join("|")})`:t.join("|")}return Gs(t,e,u)},"toRegex"),zs=a((...t)=>new RangeError("Invalid range arguments: "+DD.inspect(...t)),"rangeError"),Ys=a((t,e,u)=>{if(u.strictRanges===!0)throw zs([t,e]);return[]},"invalidRange"),hD=a((t,e)=>{if(e.strictRanges===!0)throw new TypeError(`Expected step "${t}" to be a number`);return[]},"invalidStep"),dD=a((t,e,u=1,s={})=>{let n=Number(t),r=Number(e);if(!Number.isInteger(n)||!Number.isInteger(r)){if(s.strictRanges===!0)throw zs([t,e]);return[]}n===0&&(n=0),r===0&&(r=0);let i=n>r,o=String(t),D=String(e),l=String(u);u=Math.max(Math.abs(u),1);let f=Qt(o)||Qt(D)||Qt(l),h=f?Math.max(o.length,D.length,l.length):0,c=f===!1&&lD(t,e,s)===!1,C=s.transform||aD(c);if(s.toRegex&&u===1)return Ks(Us(t,h),Us(e,h),!0,s);let F={negatives:[],positives:[]},m=a(H=>F[H<0?"negatives":"positives"].push(Math.abs(H)),"push"),R=[],T=0;for(;i?n>=r:n<=r;)s.toRegex===!0&&u>1?m(n):R.push(cD(C(n,T),h,c)),n=i?n-u:n+u,T++;return s.toRegex===!0?u>1?fD(F,s):Vs(R,null,{wrap:!1,...s}):R},"fillNumbers"),ED=a((t,e,u=1,s={})=>{if(!be(t)&&t.length>1||!be(e)&&e.length>1)return Ys(t,e,s);let n=s.transform||(c=>String.fromCharCode(c)),r=`${t}`.charCodeAt(0),i=`${e}`.charCodeAt(0),o=r>i,D=Math.min(r,i),l=Math.max(r,i);if(s.toRegex&&u===1)return Ks(D,l,!1,s);let f=[],h=0;for(;o?r>=i:r<=i;)f.push(n(r,h)),r=o?r-u:r+u,h++;return s.toRegex===!0?Vs(f,null,{wrap:!1,options:s}):f},"fillLetters"),tt=a((t,e,u,s={})=>{if(e==null&&Xt(t))return[t];if(!Xt(t)||!Xt(e))return Ys(t,e,s);if(typeof u=="function")return tt(t,e,1,{transform:u});if(js(u))return tt(t,e,0,u);let n={...s};return n.capture===!0&&(n.wrap=!0),u=u||n.step||1,be(u)?be(t)&&be(e)?dD(t,e,u,n):ED(t,e,Math.max(Math.abs(u),1),n):u!=null&&!js(u)?hD(u,n):tt(t,e,1,u)},"fill$2");var qs=tt;const pD=qs,Xs=et,CD=a((t,e={})=>{let u=a((s,n={})=>{let r=Xs.isInvalidBrace(n),i=s.invalid===!0&&e.escapeInvalid===!0,o=r===!0||i===!0,D=e.escapeInvalid===!0?"\\":"",l="";if(s.isOpen===!0||s.isClose===!0)return D+s.value;if(s.type==="open")return o?D+s.value:"(";if(s.type==="close")return o?D+s.value:")";if(s.type==="comma")return s.prev.type==="comma"?"":o?s.value:"|";if(s.value)return s.value;if(s.nodes&&s.ranges>0){let f=Xs.reduce(s.nodes),h=pD(...f,{...e,wrap:!1,toRegex:!0});if(h.length!==0)return f.length>1&&h.length>1?`(${h})`:h}if(s.nodes)for(let f of s.nodes)l+=u(f,s);return l},"walk");return u(t)},"compile$1");var FD=CD;const gD=qs,Qs=Yt,pe=et,le=a((t="",e="",u=!1)=>{let s=[];if(t=[].concat(t),e=[].concat(e),!e.length)return t;if(!t.length)return u?pe.flatten(e).map(n=>`{${n}}`):e;for(let n of t)if(Array.isArray(n))for(let r of n)s.push(le(r,e,u));else for(let r of e)u===!0&&typeof r=="string"&&(r=`{${r}}`),s.push(Array.isArray(r)?le(n,r,u):n+r);return pe.flatten(s)},"append"),mD=a((t,e={})=>{let u=e.rangeLimit===void 0?1e3:e.rangeLimit,s=a((n,r={})=>{n.queue=[];let i=r,o=r.queue;for(;i.type!=="brace"&&i.type!=="root"&&i.parent;)i=i.parent,o=i.queue;if(n.invalid||n.dollar){o.push(le(o.pop(),Qs(n,e)));return}if(n.type==="brace"&&n.invalid!==!0&&n.nodes.length===2){o.push(le(o.pop(),["{}"]));return}if(n.nodes&&n.ranges>0){let h=pe.reduce(n.nodes);if(pe.exceedsLimit(...h,e.step,u))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let c=gD(...h,e);c.length===0&&(c=Qs(n,e)),o.push(le(o.pop(),c)),n.nodes=[];return}let D=pe.encloseBrace(n),l=n.queue,f=n;for(;f.type!=="brace"&&f.type!=="root"&&f.parent;)f=f.parent,l=f.queue;for(let h=0;h<n.nodes.length;h++){let c=n.nodes[h];if(c.type==="comma"&&n.type==="brace"){h===1&&l.push(""),l.push("");continue}if(c.type==="close"){o.push(le(o.pop(),l,D));continue}if(c.value&&c.type!=="open"){l.push(le(l.pop(),c.value));continue}c.nodes&&s(c,n)}rLine truncated
`,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"};const yD=Yt,{MAX_LENGTH:Zs,CHAR_BACKSLASH:Zt,CHAR_BACKTICK:wD,CHAR_COMMA:RD,CHAR_DOT:bD,CHAR_LEFT_PARENTHESES:vD,CHAR_RIGHT_PARENTHESES:SD,CHAR_LEFT_CURLY_BRACE:BD,CHAR_RIGHT_CURLY_BRACE:$D,CHAR_LEFT_SQUARE_BRACKET:Js,CHAR_RIGHT_SQUARE_BRACKET:en,CHAR_DOUBLE_QUOTE:TD,CHAR_SINGLE_QUOTE:xD,CHAR_NO_BREAK_SPACE:OD,CHAR_ZERO_WIDTH_NOBREAK_SPACE:ND}=AD,PD=a((t,e={})=>{if(typeof t!="string")throw new TypeError("Expected a string");let u=e||{},s=typeof u.maxLength=="number"?Math.min(Zs,u.maxLength):Zs;if(t.length>s)throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${s})`);let n={type:"root",input:t,nodes:[]},r=[n],i=n,o=n,D=0,l=t.length,f=0,h=0,c;const C=a(()=>t[f++],"advance"),F=a(m=>{if(m.type==="text"&&o.type==="dot"&&(o.type="text"),o&&o.type==="text"&&m.type==="text"){o.value+=m.value;return}return i.nodes.push(m),m.parent=i,m.prev=o,o=m,m},"push");for(F({type:"bos"});f<l;)if(i=r[r.length-1],c=C(),!(c===ND||c===OD)){if(c===Zt){F({type:"text",value:(e.keepEscaping?c:"")+C()});continue}if(c===en){F({type:"text",value:"\\"+c});continue}if(c===Js){D++;let m;for(;f<l&&(m=C());){if(c+=m,m===Js){D++;continue}if(m===Zt){c+=C();continue}if(m===en&&(D--,D===0))break}F({type:"text",value:c});continue}if(c===vD){i=F({type:"paren",nodes:[]}),r.push(i),F({type:"text",value:c});continue}if(c===SD){if(i.type!=="paren"){F({type:"text",value:c});continue}i=r.pop(),F({type:"text",value:c}),i=r[r.length-1];continue}if(c===TD||c===xD||c===wD){let m=c,R;for(e.keepQuotes!==!0&&(c="");f<l&&(R=C());){if(R===Zt){c+=R+C();continue}if(R===m){e.keepQuotes===!0&&(c+=R);break}c+=R}F({type:"text",value:c});continue}if(c===BD){h++;let R={type:"brace",open:!0,close:!1,dollar:o.value&&o.value.slice(-1)==="$"||i.dollar===!0,depth:h,commas:0,ranges:0,nodes:[]};i=F(R),r.push(i),F({type:"open",value:c});continue}if(c===$D){if(i.type!=="brace"){F({type:"text",value:c});continue}let m="close";i=r.pop(),i.close=!0,F({type:m,value:c}),h--,i=r[r.length-1];continue}if(c===RD&&h>0){if(i.ranges>0){i.ranges=0;let m=i.nodes.shift();i.nodes=[m,{type:"text",value:yD(i)}]}F({type:"comma",value:c}),i.commas++;continue}if(c===bD&&h>0&&i.commas===0){let m=i.nodes;if(h===0||m.length===0){F({type:"text",value:c});continue}if(o.type==="dot"){if(i.range=[],o.value+=c,o.type="range",i.nodes.length!==3&&i.nodes.length!==5){i.invalid=!0,i.ranges=0,o.type="text";continue}i.ranges++,i.args=[];continue}if(o.type==="range"){m.pop();let R=m[m.length-1];R.value+=o.value+c,o=R,i.ranges--;continue}F({type:"dot",value:c});continue}F({type:"text",value:c})}do if(i=r.pop(),i.type!=="root"){i.nodes.forEach(T=>{T.nodes||(T.type==="open"&&(T.isOpen=!0),T.type==="close"&&(T.isClose=!0),T.nodes||(T.type="text"),T.invalid=!0)});let m=r[r.length-1],R=m.nodes.indexOf(i);m.nodes.splice(R,1,...i.nodes)}while(r.length>0);return F({type:"eos"}),n},"parse$1");var HD=PD;const tn=Yt,LD=FD,ID=_D,kD=HD,Q=a((t,e={})=>{let u=[];if(Array.isArray(t))for(let s of t){let n=Q.create(s,e);Array.isArray(n)?u.push(...n):u.push(n)}else u=[].concat(Q.create(t,e));return e&&e.expand===!0&&e.nodupes===!0&&(u=[...new Set(u)]),u},"braces$1");Q.parse=(t,e={})=>kD(t,e),Q.stringify=(t,e={})=>tn(typeof t=="string"?Q.parse(t,e):t,e),Q.compile=(t,e={})=>(typeof t=="string"&&(t=Q.parse(t,e)),LD(t,e)),Q.expand=(t,e={})=>{typeof t=="string"&&(t=Q.parse(t,e));let u=ID(t,e);return e.noempty===!0&&(u=u.filter(Boolean)),e.nodupes===!0&&(u=[...new Set(u)]),u},Q.create=(t,e={})=>t===""||t.length<3?[t]:e.expand!==!0?Q.compile(t,e):Q.expand(t,e);var MD=Q,WD=["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","rg Line truncated
node `):t.flags.help&&(t.showHelp({description:"Node.js runtime enhanced with esbuild for loading TypeScript & ESM"}),console.log(`${"-".repeat(45)}
`));const e={eval:{type:String,alias:"e"},print:{type:String,alias:"p"}},{_:u,flags:s}=Vu({flags:{...e,inputType:String,test:Boolean},help:!1,ignoreArgv:at(!1)}),n=yn({...bn,...e}),i=["print","eval"].find(l=>!!s[l]);if(i){const{inputType:l}=s,f=s[i],{transformSync:h}=await import("esbuild"),c=h(f,{loader:"default",sourcefile:"/eval.ts",format:l==="module"?"esm":"cjs"});n.unshift(`--${i}`,c.code)}yu(In)&&s.test&&u.length===0&&n.push("**/{test,test/**/*,test-*,*[.-_]test}.?(c|m)@(t|j)s"),s.test&&n.unshift("--enable-source-maps");const o=await wn(),D=as(n,{noCache:!!t.flags.noCache,tsconfigPath:t.flags.tsconfig});yl(D,o),process.send&&D.on("message",l=>{process.send(l)}),D.send&&process.on("message",l=>{D.send(l)}),D.on("close",l=>{l===null&&(l=ft.signals[D.signalCode]+128),process.exit(l)})});
+1
View File
@@ -0,0 +1 @@
"use strict";var u=Object.defineProperty;var t=(e,n)=>u(e,"name",{value:n,configurable:!0});var g=require("node:net"),p=require("./get-pipe-path-D4YM6rQt.cjs");let r=[];const P=t(()=>new Promise(e=>{const n=p.getPipePath(process.ppid),o=g.createConnection(n,()=>{e(t(a=>{const c=Buffer.from(JSON.stringify(a)),i=Buffer.alloc(4);i.writeInt32BE(c.length,0),o.write(Buffer.concat([i,c]))},"sendToParent"))});o.on("error",()=>{e()}),o.unref()}),"connectToServer"),s={send:t(e=>{r.push(e)},"send")},f=P();f.then(e=>{if(e)for(const n of r)e(n);r=[],s.send=e},()=>{r=[],s.send=void 0}),exports.connectingToServer=f,exports.parent=s;
+1
View File
@@ -0,0 +1 @@
var p=Object.defineProperty;var t=(e,n)=>p(e,"name",{value:n,configurable:!0});import g from"node:net";import{g as u}from"./get-pipe-path-_tAJyU_v.mjs";let o=[];const m=t(()=>new Promise(e=>{const n=u(process.ppid),r=g.createConnection(n,()=>{e(t(i=>{const c=Buffer.from(JSON.stringify(i)),f=Buffer.alloc(4);f.writeInt32BE(c.length,0),r.write(Buffer.concat([f,c]))},"sendToParent"))});r.on("error",()=>{e()}),r.unref()}),"connectToServer"),s={send:t(e=>{o.push(e)},"send")},a=m();a.then(e=>{if(e)for(const n of o)e(n);o=[],s.send=e},()=>{o=[],s.send=void 0});export{a as c,s as p};
Generated Vendored Executable
+1
View File
@@ -0,0 +1 @@
"use strict";var m=Object.defineProperty;var q=(r,e)=>m(r,"name",{value:e,configurable:!0});var s=require("../../register-Ciecs-Zx.cjs"),c=require("node:crypto");require("../../get-pipe-path-D4YM6rQt.cjs");var t=require("../../register-C557imBs.cjs");require("../../require-DDxgG93A.cjs");var n=require("../../node-features-CEjg7cMX.cjs");require("node:module"),require("node:worker_threads"),require("node:url"),require("node:fs"),require("node:fs/promises"),require("../../index-6kqi0x0U.cjs"),require("node:path"),require("esbuild"),require("node:os"),require("../../temporary-directory-B83uKxJF.cjs"),require("../../client-D3mGB526.cjs"),require("node:net"),require("module"),require("fs"),require("os"),require("path"),require("node:util"),require("../../index-BWFBUo6r.cjs");const g=q((r,e)=>{if(!e||typeof e=="object"&&!e.parentURL)throw new Error("The current file path (import.meta.url) must be provided in the second argument of tsImport()");const i=typeof e=="string",u=i?e:e.parentURL,a=c.randomUUID(),o=t.register({namespace:a});return!n.isFeatureSupported(n.esmLoadReadFile)&&!t.isBarePackageNamePattern.test(r)&&t.cjsExtensionPattern.test(r)?Promise.resolve(o.require(r,u)):s.register({namespace:a,...i?{}:e}).import(r,u)},"tsImport");exports.register=s.register,exports.tsImport=g;
+35
View File
@@ -0,0 +1,35 @@
import { MessagePort } from 'node:worker_threads';
import { R as RequiredProperty } from '../../types-Cxp8y2TL.js';
type ScopedImport = (specifier: string, parent: string) => Promise<any>;
type TsconfigOptions = false | string;
type InitializationOptions = {
namespace?: string;
port?: MessagePort;
tsconfig?: TsconfigOptions;
};
type RegisterOptions = {
namespace?: string;
onImport?: (url: string) => void;
tsconfig?: TsconfigOptions;
};
type Unregister = () => Promise<void>;
type NamespacedUnregister = Unregister & {
import: ScopedImport;
unregister: Unregister;
};
type Register = {
(options: RequiredProperty<RegisterOptions, 'namespace'>): NamespacedUnregister;
(options?: RegisterOptions): Unregister;
};
declare const register: Register;
type Options = {
parentURL: string;
onImport?: (url: string) => void;
tsconfig?: TsconfigOptions;
};
declare const tsImport: (specifier: string, options: string | Options) => Promise<any>;
export { type InitializationOptions, type NamespacedUnregister, type Register, type RegisterOptions, type ScopedImport, type Unregister, register, tsImport };
+35
View File
@@ -0,0 +1,35 @@
import { MessagePort } from 'node:worker_threads';
import { R as RequiredProperty } from '../../types-Cxp8y2TL.js';
type ScopedImport = (specifier: string, parent: string) => Promise<any>;
type TsconfigOptions = false | string;
type InitializationOptions = {
namespace?: string;
port?: MessagePort;
tsconfig?: TsconfigOptions;
};
type RegisterOptions = {
namespace?: string;
onImport?: (url: string) => void;
tsconfig?: TsconfigOptions;
};
type Unregister = () => Promise<void>;
type NamespacedUnregister = Unregister & {
import: ScopedImport;
unregister: Unregister;
};
type Register = {
(options: RequiredProperty<RegisterOptions, 'namespace'>): NamespacedUnregister;
(options?: RegisterOptions): Unregister;
};
declare const register: Register;
type Options = {
parentURL: string;
onImport?: (url: string) => void;
tsconfig?: TsconfigOptions;
};
declare const tsImport: (specifier: string, options: string | Options) => Promise<any>;
export { type InitializationOptions, type NamespacedUnregister, type Register, type RegisterOptions, type ScopedImport, type Unregister, register, tsImport };
Generated Vendored Executable
+1
View File
@@ -0,0 +1 @@
var s=Object.defineProperty;var i=(t,r)=>s(t,"name",{value:r,configurable:!0});import{r as p}from"../../register-C4vWVmug.mjs";import n from"node:crypto";import"../../get-pipe-path-_tAJyU_v.mjs";import{r as c,i as u,c as d}from"../../register-C9AniqUt.mjs";import"../../require-CywAB2e6.mjs";import{i as f,e as g}from"../../node-features-JeyyvQz6.mjs";import"node:module";import"node:worker_threads";import"node:url";import"node:fs";import"node:fs/promises";import"../../index-DQtFPMc2.mjs";import"node:path";import"esbuild";import"node:os";import"../../temporary-directory-BDDVQOvU.mjs";import"../../client-D_mPDF5S.mjs";import"node:net";import"module";import"fs";import"os";import"path";import"node:util";import"../../index-gbaejti9.mjs";const U=i((t,r)=>{if(!r||typeof r=="object"&&!r.parentURL)throw new Error("The current file path (import.meta.url) must be provided in the second argument of tsImport()");const o=typeof r=="string",e=o?r:r.parentURL,m=n.randomUUID(),a=c({namespace:m});return!f(g)&&!u.test(t)&&d.test(t)?Promise.resolve(a.require(t,e)):p({namespace:m,...o?{}:r}).import(t,e)},"tsImport");export{p as register,U as tsImport};
Generated Vendored Executable
+1
View File
@@ -0,0 +1 @@
"use strict";var s=Object.defineProperty;var o=(e,i)=>s(e,"name",{value:i,configurable:!0});var c=require("node:worker_threads"),a=require("../node-features-CEjg7cMX.cjs"),r=require("../register-Ciecs-Zx.cjs");require("node:crypto"),require("../get-pipe-path-D4YM6rQt.cjs"),require("node:module"),require("node:path"),require("node:url"),require("../register-C557imBs.cjs"),require("node:fs"),require("esbuild"),require("../index-6kqi0x0U.cjs"),require("../client-D3mGB526.cjs"),require("../require-DDxgG93A.cjs"),require("node:fs/promises"),require("module"),require("../temporary-directory-B83uKxJF.cjs"),require("node:os"),require("fs"),require("os"),require("path"),require("node:util"),require("../index-BWFBUo6r.cjs"),require("node:net");function q(e){var i=Object.create(null);return e&&Object.keys(e).forEach(function(t){if(t!=="default"){var l=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(i,t,l.get?l:{enumerable:!0,get:o(function(){return e[t]},"get")})}}),i.default=e,Object.freeze(i)}o(q,"_interopNamespaceDefault");var n=q(c);(a.isFeatureSupported(a.moduleRegisterHooksCjsReload)&&!n.isInternalThread||a.isFeatureSupported(a.moduleRegister)&&n.isMainThread)&&r.register();const u=r.createDefaultData(),d=r.createInitialize(u),f=r.createGlobalPreload(u),p=r.createLoad(u),b=r.createResolve(u);exports.globalPreload=f,exports.initialize=d,exports.load=p,exports.resolve=b;
Generated Vendored Executable
+1
View File
@@ -0,0 +1 @@
import*as o from"node:worker_threads";import{i as t,m as i,a as e}from"../node-features-JeyyvQz6.mjs";import{r as a,c as m,a as p,b as s,d as l,e as d}from"../register-C4vWVmug.mjs";import"node:crypto";import"../get-pipe-path-_tAJyU_v.mjs";import"node:module";import"node:path";import"node:url";import"../register-C9AniqUt.mjs";import"node:fs";import"esbuild";import"../index-DQtFPMc2.mjs";import"../client-D_mPDF5S.mjs";import"../require-CywAB2e6.mjs";import"node:fs/promises";import"module";import"../temporary-directory-BDDVQOvU.mjs";import"node:os";import"fs";import"os";import"path";import"node:util";import"../index-gbaejti9.mjs";import"node:net";(t(i)&&!o.isInternalThread||t(e)&&o.isMainThread)&&a();const r=d(),c=m(r),n=p(r),f=s(r),u=l(r);export{n as globalPreload,c as initialize,f as load,u as resolve};
+1
View File
@@ -0,0 +1 @@
"use strict";var u=Object.defineProperty;var t=(r,e)=>u(r,"name",{value:e,configurable:!0});var d=require("module"),n=require("node:path"),o=require("./temporary-directory-B83uKxJF.cjs"),s=typeof document<"u"?document.currentScript:null,p=require;const i=process.platform==="win32",c=t(r=>{const e=n.join(o.tmpdir,`${r}.pipe`);return i?`\\\\?\\pipe\\${e}`:e},"getPipePath");exports.getPipePath=c,exports.isWindows=i,exports.require=p;
+1
View File
@@ -0,0 +1 @@
var o=Object.defineProperty;var t=(e,r)=>o(e,"name",{value:r,configurable:!0});import{createRequire as p}from"module";import a from"node:path";import{t as s}from"./temporary-directory-BDDVQOvU.mjs";var m=p(import.meta.url);const i=process.platform==="win32",n=t(e=>{const r=a.join(s,`${e}.pipe`);return i?`\\\\?\\pipe\\${r}`:r},"getPipePath");export{n as g,i,m as r};
+14
View File
@@ -0,0 +1,14 @@
"use strict";var Yt=Object.defineProperty;var l=(s,e)=>Yt(s,"name",{value:e,configurable:!0});var q=require("node:path"),Fe=require("node:url"),J=require("esbuild"),Qt=require("node:crypto"),Pe=require("./node-features-CEjg7cMX.cjs"),$=require("node:fs"),Zt=require("node:os"),Vt=require("./temporary-directory-B83uKxJF.cjs");const ve=l(s=>Qt.createHash("sha1").update(s).digest("hex"),"sha1");let E,ae,xe,Q=2<<19;const Be=new Uint8Array(new Uint16Array([1]).buffer)[0]===1?function(s,e){const n=s.length;let i=0;for(;i<n;)e[i]=s.charCodeAt(i++)}:function(s,e){const n=s.length;let i=0;for(;i<n;){const o=s.charCodeAt(i);e[i++]=(255&o)<<8|o>>>8}},en="xportmportlassforetaourceromsyncunctionssertvoyiedelecontininstantybreareturdebuggeawaithrwhileifcatcfinallels";let I,We,C;function tn(s,e="@"){I=s,We=e;const n=2*I.length+(2<<18);if(n>Q||!E){for(;n>Q;)Q*=2;ae=new ArrayBuffer(Q),Be(en,new Uint16Array(ae,16,110)),E=function(u,p,g){var b=new u.Int8Array(g),d=new u.Int16Array(g),r=new u.Int32Array(g),S=new u.Uint8Array(g),O=new u.Uint16Array(g),_=1040;function N(){var t=0,c=0,h=0,f=0,m=0,w=0,y=0;y=_,_=_+10240|0,b[804]=1,b[803]=0,d[399]=0,d[400]=0,r[69]=r[2],b[805]=0,r[68]=0,b[802]=0,r[70]=y+2048,r[71]=y,b[806]=0,t=(r[3]|0)+-2|0,r[72]=t,c=t+(r[66]<<1)|0,r[73]=c;e:for(;;){if(h=t+2|0,r[72]=h,t>>>0>=c>>>0){f=18;break}t:do switch(d[h>>1]|0){case 9:case 10:case 11:case 12:case 13:case 32:break;case 101:{if(!(d[400]|0)&&X(h)|0&&!(A(t+4|0,16,10)|0)&&(D(),(b[804]|0)==0)){f=9;break e}else f=17;break}case 105:{X(h)|0&&!(A(t+4|0,26,10)|0)&&P(),f=17;break}case 59:{f=17;break}case 47:switch(d[t+4>>1]|0){case 47:{me();break t}case 42:{be(1);break t}default:{f=16;break e}}default:{f=16;break e}}while(!1);(f|0)==17&&(f=0,r[69]=r[72]),t=r[72]|0,c=r[73]|0}(f|0)==9?(t=r[72]|0,r[69]=t,f=19):(f|0)==16?(b[804]=0,r[72]=t,f=19):(f|0)==18&&(b[802]|0?t=0:(t=h,f=19));do if((f|0)==19){e:for(;;){if(c=t+2|0,r[72]=c,t>>>0>=(r[73]|0)>>>0){f=92;break}t:do switch(d[c>>1]|0){case 9:case 10:case 11:case 12:case 13:case 32:break;case 101:{!(d[400]|0)&&X(c)|0&&!(A(t+4|0,16,10)|0)&&D(),f=91;break}case 105:{X(c)|0&&!(A(t+4|0,26,10)|0)&&P(),f=91;break}case 99:{X(c)|0&&!(A(t+4|0,36,8)|0)&&W(d[t+12>>1]|0)|0&&(b[806]=1),f=91;break}case 40:{h=r[70]|0,t=d[400]|0,f=t&65535,r[h+(f<<3)>>2]=1,c=r[69]|0,d[400]=t+1<<16>>16,r[h+(f<<3)+4>>2]=c,f=91;break}case 41:{if(c=d[400]|0,!(c<<16>>16)){f=36;break e}h=c+-1<<16>>16,d[400]=h,f=d[399]|0,c=f&65535,f<<16>>16&&(r[(r[70]|0)+((h&65535)<<3)>>2]|0)==5&&(c=r[(r[71]|0)+(c+-1<<2)>>2]|0,h=c+4|0,r[h>>2]|0||(r[h>>2]=(r[69]|0)+2),r[c+12>>2]=t+4,d[399]=f+-1<<16>>16),f=91;break}case 123:{f=r[69]|0,h=r[63]|0,t=f;do if((d[f>>1]|0)==41&(h|0)!=0&&(r[h+4>>2]|0)==(f|0))if(c=r[64]|0,r[63]=c,c){r[c+32>>2]=0;break}else{r[59]=0;break}while(!1);h=r[70]|0,c=d[400]|0,f=c&65535,r[h+(f<<3)>>2]=b[806]|0?6:2,d[400]=c+1<<16>>16,r[h+(f<<3)+4>>2]=t,b[806]=0,f=91;break}case 125:{if(t=d[400]|0,!(t<<16>>16)){f=49;break e}h=r[70]|0,f=t+-1<<16>>16,d[400]=f,(r[h+((f&65535)<<3)>>2]|0)==4&&$e(),f=91;break}case 39:{R(39),f=91;break}case 34:{R(34),f=91;break}case 47:switch(d[t+4>>1]|0){case 47:{me();break t}case 42:{be(1);break t}default:{t=r[69]|0,c=d[t>>1]|0;n:do if(!(It(c)|0))c<<16>>16==41?(h=d[400]|0,Nt(r[(r[70]|0)+((h&65535)<<3)+4>>2]|0)|0||(f=65)):f=64;else switch(c<<16>>16){case 46:if(((d[t+-2>>1]|0)+-48&65535)<10){f=64;break n}else break n;case 43:if((d[t+-2>>1]|0)==43){f=64;break n}else break n;case 45:if((d[t+-2>>1]|0)==45){f=64;break n}else break n;default:break n}while(!1);(f|0)==64&&(h=d[400]|0,f=65);n:do if((f|0)==65){if(f=0,h<<16>>16&&(m=r[70]|0,w=(h&65535)+-1|0,c<<16>>16==102?(r[m+(w<<3)>>2]|0)==1:0)){if((d[t+-2>>1]|0)==111&&L(r[m+(w<<3)+4>>2]|0,44,3)|0)break}else f=69;if((f|0)==69&&c<<16>>16==125&&(f=r[70]|0,h=h&65535,_t(r[f+(h<<3)+4>>2]|0)|0||(r[f+(h<<3)>>2]|0)==6))break;if(!(xt(t)|0)){switch(c<<16>>16){case 0:break n;case 47:{if(b[805]|0)break n;break}default:}if(f=r[65]|0,f|0&&t>>>0>=(r[f>>2]|0)>>>0&&t>>>0<=(r[f+4>>2]|0)>>>0){ge(),b[805]=0,f=91;break t}h=r[3]|0;do{if(t>>>0<=h>>>0)break;t=t+-2|0,r[69]=t,c=d[t>>1]|0}while(!(pe(c)|0));if(oe(c)|0){do{if(t>>>0<=h>>>0)break;t=t+-2|0,r[69]=t}while(oe(d[t>>1]|0)|0);if(Ot(t)|0){ge(),b[805]=0,f=91;break t}}b[805]=1,f=91;break t}}while(!1);ge(),b[805]=0,f=91;break t}}case 96:{h=r[70]|0,c=d[400]|0,f=c&65535,r[h+(f<<3)+4>>2]=r[69],d[400]=c+1<<16>>16,r[h+(f<<3)>>2]=3,$e(),f=91;break}default:f=91}while(!1);(f|0)==91&&(f=0,r[69]=r[72]),t=r[72]|0}if((f|0)==36){M(),t=0;break}else if((f|0)==49){M(),t=0;break}else if((f|0)==92){t=b[802]|0?0:(d[399]|d[400])<<16>>16==0;break}}while(!1);return _=y,t|0}l(N,"b");function D(){var t=0,c=0,h=0,f=0,m=0,w=0,y=0,T=0,ke=0,Ce=0,ye=0,Se=0,v=0,x=0;T=r[72]|0,ke=r[65]|0,x=T+12|0,r[72]=x,h=k(1)|0,t=r[72]|0,(t|0)==(x|0)&&!(se(h)|0)||(v=3);e:do if((v|0)==3){t:do switch(h<<16>>16){case 123:{for(r[72]=t+2,t=k(1)|0,c=r[72]|0;;){if(Y(t)|0?(R(t),t=(r[72]|0)+2|0,r[72]=t):(j(t)|0,t=r[72]|0),k(1)|0,t=je(c,t)|0,t<<16>>16==44&&(r[72]=(r[72]|0)+2,t=k(1)|0),t<<16>>16==125){v=15;break}if(x=c,c=r[72]|0Line truncated
`;case 114:return"\r";case 120:return String.fromCharCode(_e(2));case 117:return function(){const e=I.charCodeAt(C);let n;return e===123?(++C,n=_e(I.indexOf("}",C)-C),++C,n>1114111&&U()):n=_e(4),n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode(55296+(n>>10),56320+(1023&n)))}();case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:I.charCodeAt(C)===10&&++C;case 10:return"";case 56:case 57:U();default:if(s>=48&&s<=55){let e=I.substr(C-1,3).match(/^[0-7]+/)[0],n=parseInt(e,8);return n>255&&(e=e.slice(0,-1),n=parseInt(e,8)),C+=e.length-1,s=I.charCodeAt(C),e==="0"&&s!==56&&s!==57||U(),String.fromCharCode(n)}return qe(s)?"":String.fromCharCode(s)}}l(nn,"k");function _e(s){const e=C;let n=0,i=0;for(let o=0;o<s;++o,++C){let a,u=I.charCodeAt(C);if(u!==95){if(u>=97)a=u-97+10;else if(u>=65)a=u-65+10;else{if(!(u>=48&&u<=57))break;a=u-48}if(a>=16)break;i=u,n=16*n+a}else i!==95&&o!==0||U(),i=u}return i!==95&&C-e===s||U(),n}l(_e,"l");function qe(s){return s===13||s===10}l(qe,"u");function U(){throw Object.assign(Error(`Parse error ${We}:${I.slice(0,C).split(`
`).length}:${C-I.lastIndexOf(`
`,C-1)}`),{idx:C})}l(U,"o");let Ie;typeof WebAssembly<"u"&&(async()=>{const{parse:s,init:e}=await Promise.resolve().then(function(){return require("./lexer-DgIbo0BU.cjs")});await e,Ie=s})();const ce=l((s,e)=>Ie?Ie(s,e):tn(s,e),"parseEsm"),rn=l(s=>{if(!s.includes("import")&&!s.includes("export"))return!1;try{return ce(s)[3]}catch{return!0}},"isESM");var sn=44,on=59,Je="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ze=new Uint8Array(64),an=new Uint8Array(128);for(let s=0;s<Je.length;s++){const e=Je.charCodeAt(s);ze[s]=e,an[e]=s}function Z(s,e,n){let i=e-n;i=i<0?-i<<1|1:i<<1;do{let o=i&31;i>>>=5,i>0&&(o|=32),s.write(ze[o])}while(i>0);return e}l(Z,"encodeInteger$1");var He=1024*16,Ge=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(s){return Buffer.from(s.buffer,s.byteOffset,s.byteLength).toString()}}:{decode(s){let e="";for(let n=0;n<s.length;n++)e+=String.fromCharCode(s[n]);return e}},cn=class{static{l(this,"StringWriter")}constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(He)}write(s){const{buffer:e}=this;e[this.pos++]=s,this.pos===He&&(this.out+=Ge.decode(e),this.pos=0)}flush(){const{buffer:s,out:e,pos:n}=this;return n>0?e+Ge.decode(s.subarray(0,n)):e}};function un(s){const e=new cn;let n=0,i=0,o=0,a=0;for(let u=0;u<s.length;u++){const p=s[u];if(u>0&&e.write(on),p.length===0)continue;let g=0;for(let b=0;b<p.length;b++){const d=p[b];b>0&&e.write(sn),g=Z(e,d[0],g),d.length!==1&&(n=Z(e,d[1],n),i=Z(e,d[2],i),o=Z(e,d[3],o),d.length!==4&&(a=Z(e,d[4],a)))}}return e.flush()}l(un,"encode$1");class he{static{l(this,"BitSet")}constructor(e){this.bits=e instanceof he?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}}class ie{static{l(this,"Chunk")}constructor(e,n,i){this.start=e,this.end=n,this.original=i,this.intro="",this.outro="",this.content=i,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){const e=new ie(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let n=this;for(;n;)e(n),n=n.next}eachPrevious(e){let n=this;for(;n;)e(n),n=n.previous}edit(e,n,i){return this.content=e,i||(this.intro="",this.outro=""),this.storeName=n,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){const n=e-this.start,i=this.original.slice(0,n),o=this.original.slice(n);this.original=i;const a=new ie(e,this.end,o);return a.outro=this.outro,this.outro="",this.end=e,this.edited?(a.edit("",!1),this.content=""):this.content=i,a.next=this.next,a.next&&(a.next.previous=a),a.previous=this,this.next=a,a}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;const n=this.content.replace(e,"");if(n.length)return n!==this.content&&(this.split(this.start+n.length).edit("",void 0,!0),this.edited&&this.edit(n,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;const n=this.content.replace(e,"");if(n.length){if(n!==this.content){const i=this.split(this.end-n.length);this.edited&&i.edit(n,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}}function ln(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?s=>globalThis.btoa(unescape(encodeURIComponent(s))):typeof Buffer=="function"?s=>Buffer.from(s,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}l(ln,"getBtoa");const fn=ln();let hn=class{static{l(this,"SourceMap")}constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=un(e.mappings),typeof e.x_google_ignoreList<"u"&&(this.x_google_ignoreList=e.x_google_ignoreList),typeof e.debugId<"u"&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+fn(this.toString())}};function dn(s){const e=s.split(`
`),n=e.filter(a=>/^\t+/.test(a)),i=e.filter(a=>/^ {2,}/.test(a));if(n.length===0&&i.length===0)return null;if(n.length>=i.length)return" ";const o=i.reduce((a,u)=>{const p=/^ +/.exec(u)[0].length;return Math.min(p,a)},1/0);return new Array(o+1).join(" ")}l(dn,"guessIndent");function gn(s,e){const n=s.split(/[/\\]/),i=e.split(/[/\\]/);for(n.pop();n[0]===i[0];)n.shift(),i.shift();if(n.length){let o=n.length;for(;o--;)n[o]=".."}return n.concat(i).join("/")}l(gn,"getRelativePath");const bn=Object.prototype.toString;function pn(s){return bn.call(s)==="[object Object]"}l(pn,"isObject");function Ke(s){const e=s.split(`
`),n=[];for(let i=0,o=0;i<e.length;i++)n.push(o),o+=e[i].length+1;return l(function(o){let a=0,u=n.length;for(;a<u;){const b=a+u>>1;o<n[b]?u=b:a=b+1}const p=a-1,g=o-n[p];return{line:p,column:g}},"locate")}l(Ke,"getLocator");const mn=/\w/;class wn{static{l(this,"Mappings")}constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,n,i,o){if(n.length){const a=n.length-1;let u=n.indexOf(`
`,0),p=-1;for(;u>=0&&a>u;){const b=[this.generatedCodeColumn,e,i.line,i.column];o>=0&&b.push(o),this.rawSegments.push(b),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,p=u,u=n.indexOf(`
`,u+1)}const g=[this.generatedCodeColumn,e,i.line,i.column];o>=0&&g.push(o),this.rawSegments.push(g),this.advance(n.slice(p+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(n));this.pending=null}addUneditedChunk(e,n,i,o,a){let u=n.start,p=!0,g=!1;for(;u<n.end;){if(i[u]===`
`)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,p=!0,g=!1;else{if(this.hires||p||a.has(u)){const b=[this.generatedCodeColumn,e,o.line,o.column];this.hires==="boundary"?mn.test(i[u])?g||(this.rawSegments.push(b),g=!0):(this.rawSegments.push(b),g=!1):this.rawSegments.push(b)}o.column+=1,this.generatedCodeColumn+=1,p=!1}u+=1}this.pending=null}advance(e){if(!e)return;const n=e.split(`
`);if(n.length>1){for(let i=0;i<n.length-1;i++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=n[n.length-1].length}}const V=`
`,z={insertLeft:!1,insertRight:!1,storeName:!1};class De{static{l(this,"MagicString")}constructor(e,n={}){const i=new ie(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:i},lastChunk:{writable:!0,value:i},lastSearchedChunk:{writable:!0,value:i},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:n.filename},indentExclusionRanges:{writable:!0,value:n.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new he},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:n.ignoreList},offset:{writable:!0,value:n.offset||0}}),this.byStart[0]=i,this.byEnd[e.length]=i}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,n){if(e=e+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byEnd[e];return i?i.appendLeft(n):this.intro+=n,this}appendRight(e,n){if(e=e+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byStart[e];return i?i.appendRight(n):this.outro+=n,this}clone(){const e=new De(this.original,{filename:this.filename,offset:this.offset});let n=this.firstChunk,i=e.firstChunk=e.lastSearchedChunk=n.clone();for(;n;){e.byStart[i.start]=i,e.byEnd[i.end]=i;const o=n.next,a=o&&o.clone();a&&(i.next=a,a.previous=i,i=a),n=o}return e.lastChunk=i,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new he(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};const n=0,i=Object.keys(this.storedNames),o=new wn(e.hires),a=Ke(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(u=>{const p=a(u.start);u.intro.length&&o.advance(u.intro),u.edited?o.addEdit(n,u.content,p,u.storeName?i.indexOf(u.original):-1):o.addUneditedChunk(n,u,this.original,p,this.sourcemapLocations),u.outro.length&&o.advance(u.outro)}),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?gn(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:i,mappings:o.raw,x_google_ignoreList:this.ignoreList?[n]:void 0}}generateMap(e){return new hn(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=dn(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(e,n){const i=/^[^\r\n]/gm;if(pn(e)&&(n=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||" "),e==="")return this;n=n||{};const o={};n.exclude&&(typeof n.exclude[0]=="number"?[n.exclude]:n.exclude).forEach(d=>{for(let r=d[0];r<d[1];r+=1)o[r]=!0});let a=n.indentStart!==!1;const u=l(b=>a?`${e}${b}`:(a=!0,b),"replacer");this.intro=this.intro.replace(i,u);let p=0,g=this.firstChunk;for(;g;){const b=g.end;if(g.edited)o[p]||(g.content=g.content.replace(i,u),g.content.length&&(a=g.content[g.content.length-1]===`
`));else for(p=g.start;p<b;){if(!o[p]){const d=this.original[p];d===`
`?a=!0:d!=="\r"&&a&&(a=!1,p===g.start||(this._splitChunk(g,p),g=g.next),g.prependRight(e))}p+=1}p=g.end,g=g.next}return this.outro=this.outro.replace(i,u),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,n){return z.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),z.insertLeft=!0),this.appendLeft(e,n)}insertRight(e,n){return z.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),z.insertRight=!0),this.prependRight(e,n)}move(e,n,i){if(e=e+this.offset,n=n+this.offset,i=i+this.offset,i>=e&&i<=n)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(n),this._split(i);const o=this.byStart[e],a=this.byEnd[n],u=o.previous,p=a.next,g=this.byStart[i];if(!g&&a===this.lastChunk)return this;const b=g?g.previous:this.lastChunk;return u&&(u.next=p),p&&(p.previous=u),b&&(b.next=o),g&&(g.previous=a),o.previous||(this.firstChunk=a.next),a.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=b,a.next=g||null,b||(this.firstChunk=o),g||(this.lastChunk=a),this}overwrite(e,n,i,o){return o=o||{},this.update(e,n,i,{...o,overwrite:!o.contentOnly})}update(e,n,i,o){if(e=e+this.offset,n=n+this.offset,typeof i!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;n<0;)n+=this.original.length}if(n>this.original.length)throw new Error("end is out of bounds");if(e===n)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(n),o===!0&&(z.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),z.storeName=!0),o={storeName:!0});const a=o!==void 0?o.storeName:!1,u=o!==void 0?o.overwrite:!1;if(a){const b=this.original.slice(e,n);Object.defineProperty(this.storedNames,b,{writable:!0,value:!0,enumerable:!0})}const p=this.byStart[e],g=this.byEnd[n];if(p){let b=p;for(;b!==g;){if(b.next!==this.byStart[b.end])throw new Error("Cannot overwrite across a split point");b=b.next,b.edit("",!1)}p.edit(i,a,!u)}else{const b=new ie(e,n,"").edit(i,a);g.next=b,b.previous=g}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,n){if(e=e+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byEnd[e];return i?i.prependLeft(n):this.intro=n+this.intro,this}prependRight(e,n){if(e=e+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byStart[e];return i?i.prependRight(n):this.outro=n+this.outro,this}remove(e,n){if(e=e+this.offset,n=n+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;n<0;)n+=this.original.length}if(e===n)return this;if(e<0||n>this.original.length)throw new Error("Character is out of bounds");if(e>n)throw new Error("end must be greater than start");this._split(e),this._split(n);let i=this.byStart[e];for(;i;)i.intro="",i.outro="",i.edit(""),i=n>i.end?this.byStart[i.end]:null;return this}reset(e,n){if(e=e+this.offset,n=n+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;n<0;)n+=this.original.length}if(e===n)return this;if(e<0||n>this.original.length)throw new Error("Character is out of bounds");if(e>n)throw new Error("end must be greater than start");this._split(e),this._split(n);let i=this.byStart[e];for(;i;)i.reset(),i=n>i.end?this.byStart[i.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(V);if(e!==-1)return this.outro.substr(e+1);let n=this.outro,i=this.lastChunk;do{if(i.outro.length>0){if(e=i.outro.lastIndexOf(V),e!==-1)return i.outro.substr(e+1)+n;n=i.outro+n}if(i.content.length>0){if(e=i.content.lastIndexOf(V),e!==-1)return i.content.substr(e+1)+n;n=i.content+n}if(i.intro.length>0){if(e=i.intro.lastIndexOf(V),e!==-1)return i.intro.substr(e+1)+n;n=i.intro+n}}while(i=i.previous);return e=this.intro.lastIndexOf(V),e!==-1?this.intro.substr(e+1)+n:this.intro+n}slice(e=0,n=this.original.length-this.offset){if(e=e+this.offset,n=n+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;n<0;)n+=this.original.length}let i="",o=this.firstChunk;for(;o&&(o.start>e||o.end<=e);){if(o.start<n&&o.end>=n)return i;o=o.next}if(o&&o.edited&&o.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);const a=o;for(; Line truncated
Did you specify these with the most recent transformation maps first?`);let o=Ct(i,e,"",0);for(let a=n.length-1;a>=0;a--)o=wt(n[a],[o]);return o}l(mr,"buildSourceMapTree");function Ct(s,e,n,i){const{resolvedSources:o,sourcesContent:a,ignoreList:u}=s,p=i+1,g=o.map((b,d)=>{const r={importer:n,depth:p,source:b||"",content:void 0,ignore:void 0},S=e(r.source,r),{source:O,content:_,ignore:N}=r;if(S)return Ct(new ut(S,O),e,O,p);const D=_!==void 0?_:a?a[d]:null,P=N!==void 0?N:u?u.includes(d):!1;return gr(O,D,P)});return wt(s,g)}l(Ct,"build");class wr{static{l(this,"SourceMap")}constructor(e,n){const i=n.decodedMappings?dt(e):or(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,n.excludeContent||(this.sourcesContent=i.sourcesContent)}toString(){return JSON.stringify(this)}}function yt(s,e,n){const i={excludeContent:!!n,decodedMappings:!1},o=mr(s,e);return new wr(br(o),i)}l(yt,"remapping");const St=l((s,e,n)=>{const i=[],o={code:e};for(const a of n){const u=a(s,o.code);u&&(Object.assign(o,u),i.unshift(u.map))}return{...o,map:yt(i,()=>null)}},"applyTransformersSync"),kr=l(async(s,e,n)=>{const i=[],o={code:e};for(const a of n){const u=await a(s,o.code);u&&(Object.assign(o,u),i.unshift(u.map))}return{...o,map:yt(i,()=>null)}},"applyTransformers"),Cr=l(s=>{const e=[];let n=!1,i=!0;for(let o=0;o<s.length;o+=1){let a=s[o];if(a==="\\"&&n){if(o+1===s.length)return e;o+=1,a=s[o]}else if(a===" "&&!n){i=!0;continue}else if(a==='"'){n=!n;continue}i?(e.push(a),i=!1):e[e.length-1]+=a}return e},"tokenizeNodeOptionsEnv"),vt=l((s,e,n)=>{for(let i=0;i<e.length;i+=1){const o=e[i];if(o.length<=1||o[0]!=="-")continue;const a=o[1]==="-"?o.indexOf("="):-1;let u=a===-1?o:o.slice(0,a);u.includes("_",2)&&(u=u.slice(0,2)+u.slice(2).replaceAll("_","-"));for(const p of s.forms){const[g,b]=p;if(u!==g||(b===3||b===5)&&a===-1)continue;const d=b===4||b===5,r=b>=3?0:b;let S=d?p[2]:"";r===0&&!d&&(a===-1?(i+=1,S=e[i]??"",S[0]==="\\"&&S[1]==="-"&&(S=S.slice(1))):S=o.slice(a+1)),n=s.fold(S,n,r);break}}return n},"scanSource"),yr=l(s=>{let e=s.init();const n=process.env.NODE_OPTIONS;return n&&(e=vt(s,Cr(n),e)),e=vt(s,process.execArgv,e),e},"getOptionValue"),Sr=l((s,e,n)=>n===1,"setByEffect"),vr=l((s,e)=>({forms:e,init:l(()=>s,"init"),fold:Sr}),"booleanFlag"),xr=vr(!1,[["--inspect-brk-node",1],["--inspect-brk",1],["--inspect-wait",1],["--inspect",1],["--no-inspect",2]]),Er=Object.freeze({target:`node${process.versions.node}`,loader:"default"}),_r=yr(xr),Ne={...Er,sourcemap:!0,sourcesContent:!!process.env.NODE_V8_COVERAGE||_r,minifyWhitespace:!0,keepNames:!0},Re=l(s=>{const e=s.sourcefile;if(e){const n=q.extname(e.split("?")[0]);n?n===".cts"||n===".mts"?s.sourcefile=`${e.slice(0,-3)}ts`:n===".mjs"&&(s.sourcefile=`${e.slice(0,-3)}js`):s.sourcefile+=".js"}return n=>(n.map&&(s.sourcefile!==e&&(n.map=n.map.replace(JSON.stringify(s.sourcefile),JSON.stringify(e))),n.map=JSON.parse(n.map)),n)},"patchOptions"),Me=l(s=>{throw s.name="TransformError",delete s.errors,delete s.warnings,s},"formatEsbuildError"),Ir=l((s,e)=>({...Pe.isFeatureSupported(Pe.importMetaPathProperties)?{dirname:q.dirname(s),filename:s}:{},url:e}),"getImportMeta"),Lr=l((s,e)=>{if(!s.includes("import"))return!1;try{return ce(s,e)[0].some(n=>n.d===-2)}catch{return!0}},"hasImportMeta"),Or=l((s,e,n)=>{let i,o,a;if(e.startsWith("file://")){i=e;const r=new URL(e);o=Fe.fileURLToPath(r)}else[o,a]=e.split("?"),i=Fe.pathToFileURL(o)+(a?`?${a}`:"");const{cjsBanner:u,...p}=n??{},g={...Ne,format:"cjs",sourcefile:o,banner:`__filename=${JSON.stringify(o)};(()=>{${u??""}`,footer:"})()",platform:"node",...p};g.format==="cjs"&&!o.endsWith(".cjs")&&!o.endsWith(".cts")&&Lr(s,o)&&(g.define={...g.define,"import.meta":JSON.stringify(Ir(o,i))});const b=ve([s,i,JSON.stringify(g),J.version,Le].join("-"));let d=H.get(b);return d||(d=St(e,s,[(r,S)=>{const O=Re(g);let _;try{_=J.transformSync(S,g)}catch(N){throw Me(N)}return O(_)},(r,S)=>ue(r,S,!0)]),H.set(b,d)),d},"transformSync"),Ar=l(async(s,e,n)=>{const i={...Ne,format:"esm",sourcefile:e,...n},o=ve([s,JSON.stringify(i),J.version,Le].join("-"));let a=H.get(o);return a||(a=await kr(e,s,[async(u,p)=>{const g=Re(i);let b;try{b=await J.transform(p,i)}catch(d){throw Me(d)}return g(b)},(u,p)=>ue(u,p,!0)]),H.set(o,a)),a},"transform"),Nr=l((s,e,n)=>{const i={...Ne,format:"esm",sourcefile:e,...n},o=ve([s,JSON.stringify(i),J.version,Le].join("-"));let a=H.get(o);return a||(a=St(e,s,[(u,p)=>{const g=Re(i);let b;try{b=J.transformSync(p,i)}catch(d){throw Me(d)}return g(b)},(u,p)=>ue(u,p,!0)]),H.set(o,a)),a},"transformEsmSync");exports.isESM=rn,exports.parseEsm=ce,exports.readJsonFile=Xe,exports.transform=Ar,exports.transformDynamicImport=ue,exports.transformEsmSync=Nr,exports.transformSync=Or;
+1
View File
@@ -0,0 +1 @@
"use strict";var b=Object.defineProperty;var p=(s,l)=>b(s,"name",{value:l,configurable:!0});let t=!0;const n=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{};let r=0;if(n.process&&n.process.env&&n.process.stdout){const{FORCE_COLOR:s,NODE_DISABLE_COLORS:l,NO_COLOR:c,TERM:o,COLORTERM:i}=n.process.env;l||c||s==="0"?t=!1:s==="1"||s==="2"||s==="3"?t=!0:o==="dumb"?t=!1:"CI"in n.process.env&&["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(g=>g in n.process.env)?t=!0:t=process.stdout.isTTY,t&&(process.platform==="win32"||i&&(i==="truecolor"||i==="24bit")?r=3:o&&(o.endsWith("-256color")||o.endsWith("256"))?r=2:r=1)}let a={enabled:t,supportLevel:r};function e(s,l,c=1){const o=`\x1B[${s}m`,i=`\x1B[${l}m`,g=new RegExp(`\\x1b\\[${l}m`,"g");return f=>a.enabled&&a.supportLevel>=c?o+(""+f).replace(g,o)+i:""+f}p(e,"kolorist");const u=e(30,39),d=e(33,39),O=e(90,39),C=e(92,39),L=e(95,39),R=e(96,39),y=e(44,49),I=e(100,49),h=e(103,49);exports.bgBlue=y,exports.bgGray=I,exports.bgLightYellow=h,exports.black=u,exports.gray=O,exports.lightCyan=R,exports.lightGreen=C,exports.lightMagenta=L,exports.options=a,exports.yellow=d;
+14
View File
@@ -0,0 +1,14 @@
var Xt=Object.defineProperty;var u=(s,e)=>Xt(s,"name",{value:e,configurable:!0});import J from"node:path";import{fileURLToPath as Yt,pathToFileURL as Qt}from"node:url";import{version as Se,transform as Zt,transformSync as Fe}from"esbuild";import Vt from"node:crypto";import{i as en,c as tn}from"./node-features-JeyyvQz6.mjs";import D from"node:fs";import nn from"node:os";import{t as rn}from"./temporary-directory-BDDVQOvU.mjs";const xe=u(s=>Vt.createHash("sha1").update(s).digest("hex"),"sha1");let E,oe,ve,Y=2<<19;const Be=new Uint8Array(new Uint16Array([1]).buffer)[0]===1?function(s,e){const n=s.length;let i=0;for(;i<n;)e[i]=s.charCodeAt(i++)}:function(s,e){const n=s.length;let i=0;for(;i<n;){const o=s.charCodeAt(i);e[i++]=(255&o)<<8|o>>>8}},sn="xportmportlassforetaourceromsyncunctionssertvoyiedelecontininstantybreareturdebuggeawaithrwhileifcatcfinallels";let I,Pe,C;function on(s,e="@"){I=s,Pe=e;const n=2*I.length+(2<<18);if(n>Y||!E){for(;n>Y;)Y*=2;oe=new ArrayBuffer(Y),Be(sn,new Uint16Array(oe,16,110)),E=function(l,p,g){var b=new l.Int8Array(g),d=new l.Int16Array(g),r=new l.Int32Array(g),S=new l.Uint8Array(g),O=new l.Uint16Array(g),_=1040;function N(){var t=0,c=0,h=0,f=0,m=0,w=0,y=0;y=_,_=_+10240|0,b[804]=1,b[803]=0,d[399]=0,d[400]=0,r[69]=r[2],b[805]=0,r[68]=0,b[802]=0,r[70]=y+2048,r[71]=y,b[806]=0,t=(r[3]|0)+-2|0,r[72]=t,c=t+(r[66]<<1)|0,r[73]=c;e:for(;;){if(h=t+2|0,r[72]=h,t>>>0>=c>>>0){f=18;break}t:do switch(d[h>>1]|0){case 9:case 10:case 11:case 12:case 13:case 32:break;case 101:{if(!(d[400]|0)&&K(h)|0&&!(A(t+4|0,16,10)|0)&&($(),(b[804]|0)==0)){f=9;break e}else f=17;break}case 105:{K(h)|0&&!(A(t+4|0,26,10)|0)&&B(),f=17;break}case 59:{f=17;break}case 47:switch(d[t+4>>1]|0){case 47:{pe();break t}case 42:{ge(1);break t}default:{f=16;break e}}default:{f=16;break e}}while(!1);(f|0)==17&&(f=0,r[69]=r[72]),t=r[72]|0,c=r[73]|0}(f|0)==9?(t=r[72]|0,r[69]=t,f=19):(f|0)==16?(b[804]=0,r[72]=t,f=19):(f|0)==18&&(b[802]|0?t=0:(t=h,f=19));do if((f|0)==19){e:for(;;){if(c=t+2|0,r[72]=c,t>>>0>=(r[73]|0)>>>0){f=92;break}t:do switch(d[c>>1]|0){case 9:case 10:case 11:case 12:case 13:case 32:break;case 101:{!(d[400]|0)&&K(c)|0&&!(A(t+4|0,16,10)|0)&&$(),f=91;break}case 105:{K(c)|0&&!(A(t+4|0,26,10)|0)&&B(),f=91;break}case 99:{K(c)|0&&!(A(t+4|0,36,8)|0)&&W(d[t+12>>1]|0)|0&&(b[806]=1),f=91;break}case 40:{h=r[70]|0,t=d[400]|0,f=t&65535,r[h+(f<<3)>>2]=1,c=r[69]|0,d[400]=t+1<<16>>16,r[h+(f<<3)+4>>2]=c,f=91;break}case 41:{if(c=d[400]|0,!(c<<16>>16)){f=36;break e}h=c+-1<<16>>16,d[400]=h,f=d[399]|0,c=f&65535,f<<16>>16&&(r[(r[70]|0)+((h&65535)<<3)>>2]|0)==5&&(c=r[(r[71]|0)+(c+-1<<2)>>2]|0,h=c+4|0,r[h>>2]|0||(r[h>>2]=(r[69]|0)+2),r[c+12>>2]=t+4,d[399]=f+-1<<16>>16),f=91;break}case 123:{f=r[69]|0,h=r[63]|0,t=f;do if((d[f>>1]|0)==41&(h|0)!=0&&(r[h+4>>2]|0)==(f|0))if(c=r[64]|0,r[63]=c,c){r[c+32>>2]=0;break}else{r[59]=0;break}while(!1);h=r[70]|0,c=d[400]|0,f=c&65535,r[h+(f<<3)>>2]=b[806]|0?6:2,d[400]=c+1<<16>>16,r[h+(f<<3)+4>>2]=t,b[806]=0,f=91;break}case 125:{if(t=d[400]|0,!(t<<16>>16)){f=49;break e}h=r[70]|0,f=t+-1<<16>>16,d[400]=f,(r[h+((f&65535)<<3)>>2]|0)==4&&De(),f=91;break}case 39:{R(39),f=91;break}case 34:{R(34),f=91;break}case 47:switch(d[t+4>>1]|0){case 47:{pe();break t}case 42:{ge(1);break t}default:{t=r[69]|0,c=d[t>>1]|0;n:do if(!(_t(c)|0))c<<16>>16==41?(h=d[400]|0,At(r[(r[70]|0)+((h&65535)<<3)+4>>2]|0)|0||(f=65)):f=64;else switch(c<<16>>16){case 46:if(((d[t+-2>>1]|0)+-48&65535)<10){f=64;break n}else break n;case 43:if((d[t+-2>>1]|0)==43){f=64;break n}else break n;case 45:if((d[t+-2>>1]|0)==45){f=64;break n}else break n;default:break n}while(!1);(f|0)==64&&(h=d[400]|0,f=65);n:do if((f|0)==65){if(f=0,h<<16>>16&&(m=r[70]|0,w=(h&65535)+-1|0,c<<16>>16==102?(r[m+(w<<3)>>2]|0)==1:0)){if((d[t+-2>>1]|0)==111&&L(r[m+(w<<3)+4>>2]|0,44,3)|0)break}else f=69;if((f|0)==69&&c<<16>>16==125&&(f=r[70]|0,h=h&65535,Et(r[f+(h<<3)+4>>2]|0)|0||(r[f+(h<<3)>>2]|0)==6))break;if(!(xt(t)|0)){switch(c<<16>>16){case 0:break n;case 47:{if(b[805]|0)break n;break}default:}if(f=r[65]|0,f|0&&t>>>0>=(r[f>>2]|0)>>>0&&t>>>0<=(r[f+4>>2]|0)>>>0){de(),b[805]=0,f=91;break t}h=r[3]|0;do{if(t>>>0<=h>>>0)break;t=t+-2|0,r[69]=t,c=d[t>>1]|0}while(!(be(c)|0));if(se(c)|0){do{if(t>>>0<=h>>>0)break;t=t+-2|0,r[69]=t}while(se(d[t>>1]|0)|0);if(Lt(t)|0){de(),b[805]=0,f=91;break t}}b[805]=1,f=91;break t}}while(!1);de(),b[805]=0,f=91;break t}}case 96:{h=r[70]|0,c=d[400]|0,f=c&65535,r[h+(f<<3)+4>>2]=r[69],d[400]=c+1<<16>>16,r[h+(f<<3)>>2]=3,De(),f=91;break}default:f=91}while(!1);(f|0)==91&&(f=0,r[69]=r[72]),t=r[72]|0}if((f|0)==36){M(),t=0;break}else if((f|0)==49){M(),t=0;break}else if((f|0)==92){t=b[802]|0?0:(d[399]|d[400])<<16>>16==0;break}}while(!1);return _=y,t|0}u(N,"b");function $(){var t=0,c=0,h=0,f=0,m=0,w=0,y=0,T=0,we=0,ke=0,Ce=0,ye=0,x=0,v=0;T=r[72]|0,we=r[65]|0,v=T+12|0,r[72]=v,h=k(1)|0,t=r[72]|0,(t|0)==(v|0)&&!(ie(h)|0)||(x=3);e:do if((x|0)==3){t:do switch(h<<16>>16){case 123:{for(r[72]=t+2,t=k(1)|0,c=r[72]|0;;){if(X(t)|0?(R(t),t=(r[72]|0)+2|0,r[72]=t):(j(t)|0,t=r[72]|0),k(1)Line truncated
`;case 114:return"\r";case 120:return String.fromCharCode(_e(2));case 117:return function(){const e=I.charCodeAt(C);let n;return e===123?(++C,n=_e(I.indexOf("}",C)-C),++C,n>1114111&&U()):n=_e(4),n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode(55296+(n>>10),56320+(1023&n)))}();case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:I.charCodeAt(C)===10&&++C;case 10:return"";case 56:case 57:U();default:if(s>=48&&s<=55){let e=I.substr(C-1,3).match(/^[0-7]+/)[0],n=parseInt(e,8);return n>255&&(e=e.slice(0,-1),n=parseInt(e,8)),C+=e.length-1,s=I.charCodeAt(C),e==="0"&&s!==56&&s!==57||U(),String.fromCharCode(n)}return We(s)?"":String.fromCharCode(s)}}u(an,"k");function _e(s){const e=C;let n=0,i=0;for(let o=0;o<s;++o,++C){let a,l=I.charCodeAt(C);if(l!==95){if(l>=97)a=l-97+10;else if(l>=65)a=l-65+10;else{if(!(l>=48&&l<=57))break;a=l-48}if(a>=16)break;i=l,n=16*n+a}else i!==95&&o!==0||U(),i=l}return i!==95&&C-e===s||U(),n}u(_e,"l");function We(s){return s===13||s===10}u(We,"u");function U(){throw Object.assign(Error(`Parse error ${Pe}:${I.slice(0,C).split(`
`).length}:${C-I.lastIndexOf(`
`,C-1)}`),{idx:C})}u(U,"o");let Ie;typeof WebAssembly<"u"&&(async()=>{const{parse:s,init:e}=await import("./lexer-DQCqS3nf.mjs");await e,Ie=s})();const ae=u((s,e)=>Ie?Ie(s,e):on(s,e),"parseEsm"),cn=u(s=>{if(!s.includes("import")&&!s.includes("export"))return!1;try{return ae(s)[3]}catch{return!0}},"isESM");var ln=44,un=59,Je="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qe=new Uint8Array(64),fn=new Uint8Array(128);for(let s=0;s<Je.length;s++){const e=Je.charCodeAt(s);qe[s]=e,fn[e]=s}function Q(s,e,n){let i=e-n;i=i<0?-i<<1|1:i<<1;do{let o=i&31;i>>>=5,i>0&&(o|=32),s.write(qe[o])}while(i>0);return e}u(Q,"encodeInteger$1");var ze=1024*16,He=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(s){return Buffer.from(s.buffer,s.byteOffset,s.byteLength).toString()}}:{decode(s){let e="";for(let n=0;n<s.length;n++)e+=String.fromCharCode(s[n]);return e}},hn=class{static{u(this,"StringWriter")}constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(ze)}write(s){const{buffer:e}=this;e[this.pos++]=s,this.pos===ze&&(this.out+=He.decode(e),this.pos=0)}flush(){const{buffer:s,out:e,pos:n}=this;return n>0?e+He.decode(s.subarray(0,n)):e}};function dn(s){const e=new hn;let n=0,i=0,o=0,a=0;for(let l=0;l<s.length;l++){const p=s[l];if(l>0&&e.write(un),p.length===0)continue;let g=0;for(let b=0;b<p.length;b++){const d=p[b];b>0&&e.write(ln),g=Q(e,d[0],g),d.length!==1&&(n=Q(e,d[1],n),i=Q(e,d[2],i),o=Q(e,d[3],o),d.length!==4&&(a=Q(e,d[4],a)))}}return e.flush()}u(dn,"encode$1");class fe{static{u(this,"BitSet")}constructor(e){this.bits=e instanceof fe?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}}class re{static{u(this,"Chunk")}constructor(e,n,i){this.start=e,this.end=n,this.original=i,this.intro="",this.outro="",this.content=i,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){const e=new re(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let n=this;for(;n;)e(n),n=n.next}eachPrevious(e){let n=this;for(;n;)e(n),n=n.previous}edit(e,n,i){return this.content=e,i||(this.intro="",this.outro=""),this.storeName=n,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){const n=e-this.start,i=this.original.slice(0,n),o=this.original.slice(n);this.original=i;const a=new re(e,this.end,o);return a.outro=this.outro,this.outro="",this.end=e,this.edited?(a.edit("",!1),this.content=""):this.content=i,a.next=this.next,a.next&&(a.next.previous=a),a.previous=this,this.next=a,a}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;const n=this.content.replace(e,"");if(n.length)return n!==this.content&&(this.split(this.start+n.length).edit("",void 0,!0),this.edited&&this.edit(n,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;const n=this.content.replace(e,"");if(n.length){if(n!==this.content){const i=this.split(this.end-n.length);this.edited&&i.edit(n,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}}function gn(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?s=>globalThis.btoa(unescape(encodeURIComponent(s))):typeof Buffer=="function"?s=>Buffer.from(s,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}u(gn,"getBtoa");const bn=gn();let pn=class{static{u(this,"SourceMap")}constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=dn(e.mappings),typeof e.x_google_ignoreList<"u"&&(this.x_google_ignoreList=e.x_google_ignoreList),typeof e.debugId<"u"&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+bn(this.toString())}};function mn(s){const e=s.split(`
`),n=e.filter(a=>/^\t+/.test(a)),i=e.filter(a=>/^ {2,}/.test(a));if(n.length===0&&i.length===0)return null;if(n.length>=i.length)return" ";const o=i.reduce((a,l)=>{const p=/^ +/.exec(l)[0].length;return Math.min(p,a)},1/0);return new Array(o+1).join(" ")}u(mn,"guessIndent");function wn(s,e){const n=s.split(/[/\\]/),i=e.split(/[/\\]/);for(n.pop();n[0]===i[0];)n.shift(),i.shift();if(n.length){let o=n.length;for(;o--;)n[o]=".."}return n.concat(i).join("/")}u(wn,"getRelativePath");const kn=Object.prototype.toString;function Cn(s){return kn.call(s)==="[object Object]"}u(Cn,"isObject");function Ge(s){const e=s.split(`
`),n=[];for(let i=0,o=0;i<e.length;i++)n.push(o),o+=e[i].length+1;return u(function(o){let a=0,l=n.length;for(;a<l;){const b=a+l>>1;o<n[b]?l=b:a=b+1}const p=a-1,g=o-n[p];return{line:p,column:g}},"locate")}u(Ge,"getLocator");const yn=/\w/;class Sn{static{u(this,"Mappings")}constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,n,i,o){if(n.length){const a=n.length-1;let l=n.indexOf(`
`,0),p=-1;for(;l>=0&&a>l;){const b=[this.generatedCodeColumn,e,i.line,i.column];o>=0&&b.push(o),this.rawSegments.push(b),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,p=l,l=n.indexOf(`
`,l+1)}const g=[this.generatedCodeColumn,e,i.line,i.column];o>=0&&g.push(o),this.rawSegments.push(g),this.advance(n.slice(p+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(n));this.pending=null}addUneditedChunk(e,n,i,o,a){let l=n.start,p=!0,g=!1;for(;l<n.end;){if(i[l]===`
`)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,p=!0,g=!1;else{if(this.hires||p||a.has(l)){const b=[this.generatedCodeColumn,e,o.line,o.column];this.hires==="boundary"?yn.test(i[l])?g||(this.rawSegments.push(b),g=!0):(this.rawSegments.push(b),g=!1):this.rawSegments.push(b)}o.column+=1,this.generatedCodeColumn+=1,p=!1}l+=1}this.pending=null}advance(e){if(!e)return;const n=e.split(`
`);if(n.length>1){for(let i=0;i<n.length-1;i++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=n[n.length-1].length}}const Z=`
`,q={insertLeft:!1,insertRight:!1,storeName:!1};class $e{static{u(this,"MagicString")}constructor(e,n={}){const i=new re(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:i},lastChunk:{writable:!0,value:i},lastSearchedChunk:{writable:!0,value:i},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:n.filename},indentExclusionRanges:{writable:!0,value:n.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new fe},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:n.ignoreList},offset:{writable:!0,value:n.offset||0}}),this.byStart[0]=i,this.byEnd[e.length]=i}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,n){if(e=e+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byEnd[e];return i?i.appendLeft(n):this.intro+=n,this}appendRight(e,n){if(e=e+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byStart[e];return i?i.appendRight(n):this.outro+=n,this}clone(){const e=new $e(this.original,{filename:this.filename,offset:this.offset});let n=this.firstChunk,i=e.firstChunk=e.lastSearchedChunk=n.clone();for(;n;){e.byStart[i.start]=i,e.byEnd[i.end]=i;const o=n.next,a=o&&o.clone();a&&(i.next=a,a.previous=i,i=a),n=o}return e.lastChunk=i,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new fe(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};const n=0,i=Object.keys(this.storedNames),o=new Sn(e.hires),a=Ge(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(l=>{const p=a(l.start);l.intro.length&&o.advance(l.intro),l.edited?o.addEdit(n,l.content,p,l.storeName?i.indexOf(l.original):-1):o.addUneditedChunk(n,l,this.original,p,this.sourcemapLocations),l.outro.length&&o.advance(l.outro)}),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?wn(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:i,mappings:o.raw,x_google_ignoreList:this.ignoreList?[n]:void 0}}generateMap(e){return new pn(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=mn(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(e,n){const i=/^[^\r\n]/gm;if(Cn(e)&&(n=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||" "),e==="")return this;n=n||{};const o={};n.exclude&&(typeof n.exclude[0]=="number"?[n.exclude]:n.exclude).forEach(d=>{for(let r=d[0];r<d[1];r+=1)o[r]=!0});let a=n.indentStart!==!1;const l=u(b=>a?`${e}${b}`:(a=!0,b),"replacer");this.intro=this.intro.replace(i,l);let p=0,g=this.firstChunk;for(;g;){const b=g.end;if(g.edited)o[p]||(g.content=g.content.replace(i,l),g.content.length&&(a=g.content[g.content.length-1]===`
`));else for(p=g.start;p<b;){if(!o[p]){const d=this.original[p];d===`
`?a=!0:d!=="\r"&&a&&(a=!1,p===g.start||(this._splitChunk(g,p),g=g.next),g.prependRight(e))}p+=1}p=g.end,g=g.next}return this.outro=this.outro.replace(i,l),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,n){return q.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),q.insertLeft=!0),this.appendLeft(e,n)}insertRight(e,n){return q.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),q.insertRight=!0),this.prependRight(e,n)}move(e,n,i){if(e=e+this.offset,n=n+this.offset,i=i+this.offset,i>=e&&i<=n)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(n),this._split(i);const o=this.byStart[e],a=this.byEnd[n],l=o.previous,p=a.next,g=this.byStart[i];if(!g&&a===this.lastChunk)return this;const b=g?g.previous:this.lastChunk;return l&&(l.next=p),p&&(p.previous=l),b&&(b.next=o),g&&(g.previous=a),o.previous||(this.firstChunk=a.next),a.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=b,a.next=g||null,b||(this.firstChunk=o),g||(this.lastChunk=a),this}overwrite(e,n,i,o){return o=o||{},this.update(e,n,i,{...o,overwrite:!o.contentOnly})}update(e,n,i,o){if(e=e+this.offset,n=n+this.offset,typeof i!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;n<0;)n+=this.original.length}if(n>this.original.length)throw new Error("end is out of bounds");if(e===n)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(n),o===!0&&(q.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),q.storeName=!0),o={storeName:!0});const a=o!==void 0?o.storeName:!1,l=o!==void 0?o.overwrite:!1;if(a){const b=this.original.slice(e,n);Object.defineProperty(this.storedNames,b,{writable:!0,value:!0,enumerable:!0})}const p=this.byStart[e],g=this.byEnd[n];if(p){let b=p;for(;b!==g;){if(b.next!==this.byStart[b.end])throw new Error("Cannot overwrite across a split point");b=b.next,b.edit("",!1)}p.edit(i,a,!l)}else{const b=new re(e,n,"").edit(i,a);g.next=b,b.previous=g}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,n){if(e=e+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byEnd[e];return i?i.prependLeft(n):this.intro=n+this.intro,this}prependRight(e,n){if(e=e+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byStart[e];return i?i.prependRight(n):this.outro=n+this.outro,this}remove(e,n){if(e=e+this.offset,n=n+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;n<0;)n+=this.original.length}if(e===n)return this;if(e<0||n>this.original.length)throw new Error("Character is out of bounds");if(e>n)throw new Error("end must be greater than start");this._split(e),this._split(n);let i=this.byStart[e];for(;i;)i.intro="",i.outro="",i.edit(""),i=n>i.end?this.byStart[i.end]:null;return this}reset(e,n){if(e=e+this.offset,n=n+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;n<0;)n+=this.original.length}if(e===n)return this;if(e<0||n>this.original.length)throw new Error("Character is out of bounds");if(e>n)throw new Error("end must be greater than start");this._split(e),this._split(n);let i=this.byStart[e];for(;i;)i.reset(),i=n>i.end?this.byStart[i.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(Z);if(e!==-1)return this.outro.substr(e+1);let n=this.outro,i=this.lastChunk;do{if(i.outro.length>0){if(e=i.outro.lastIndexOf(Z),e!==-1)return i.outro.substr(e+1)+n;n=i.outro+n}if(i.content.length>0){if(e=i.content.lastIndexOf(Z),e!==-1)return i.content.substr(e+1)+n;n=i.content+n}if(i.intro.length>0){if(e=i.intro.lastIndexOf(Z),e!==-1)return i.intro.substr(e+1)+n;n=i.intro+n}}while(i=i.previous);return e=this.intro.lastIndexOf(Z),e!==-1?this.intro.substr(e+1)+n:this.intro+n}slice(e=0,n=this.original.length-this.offset){if(e=e+this.offset,n=n+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;n<0;)n+=this.original.length}let i="",o=this.firstChunk;for(;o&&(o.start>e||o.end<=e);){if(o.start<n&&o.end>=n)return i;o=o.next}if(o&&o.edited&&o.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);const a=o;for(; Line truncated
Did you specify these with the most recent transformation maps first?`);let o=kt(i,e,"",0);for(let a=n.length-1;a>=0;a--)o=mt(n[a],[o]);return o}u(yr,"buildSourceMapTree");function kt(s,e,n,i){const{resolvedSources:o,sourcesContent:a,ignoreList:l}=s,p=i+1,g=o.map((b,d)=>{const r={importer:n,depth:p,source:b||"",content:void 0,ignore:void 0},S=e(r.source,r),{source:O,content:_,ignore:N}=r;if(S)return kt(new ct(S,O),e,O,p);const $=_!==void 0?_:a?a[d]:null,B=N!==void 0?N:l?l.includes(d):!1;return wr(O,$,B)});return mt(s,g)}u(kt,"build");class Sr{static{u(this,"SourceMap")}constructor(e,n){const i=n.decodedMappings?ht(e):ur(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,n.excludeContent||(this.sourcesContent=i.sourcesContent)}toString(){return JSON.stringify(this)}}function Ct(s,e,n){const i={excludeContent:!!n,decodedMappings:!1},o=yr(s,e);return new Sr(kr(o),i)}u(Ct,"remapping");const yt=u((s,e,n)=>{const i=[],o={code:e};for(const a of n){const l=a(s,o.code);l&&(Object.assign(o,l),i.unshift(l.map))}return{...o,map:Ct(i,()=>null)}},"applyTransformersSync"),xr=u(async(s,e,n)=>{const i=[],o={code:e};for(const a of n){const l=await a(s,o.code);l&&(Object.assign(o,l),i.unshift(l.map))}return{...o,map:Ct(i,()=>null)}},"applyTransformers"),vr=u(s=>{const e=[];let n=!1,i=!0;for(let o=0;o<s.length;o+=1){let a=s[o];if(a==="\\"&&n){if(o+1===s.length)return e;o+=1,a=s[o]}else if(a===" "&&!n){i=!0;continue}else if(a==='"'){n=!n;continue}i?(e.push(a),i=!1):e[e.length-1]+=a}return e},"tokenizeNodeOptionsEnv"),St=u((s,e,n)=>{for(let i=0;i<e.length;i+=1){const o=e[i];if(o.length<=1||o[0]!=="-")continue;const a=o[1]==="-"?o.indexOf("="):-1;let l=a===-1?o:o.slice(0,a);l.includes("_",2)&&(l=l.slice(0,2)+l.slice(2).replaceAll("_","-"));for(const p of s.forms){const[g,b]=p;if(l!==g||(b===3||b===5)&&a===-1)continue;const d=b===4||b===5,r=b>=3?0:b;let S=d?p[2]:"";r===0&&!d&&(a===-1?(i+=1,S=e[i]??"",S[0]==="\\"&&S[1]==="-"&&(S=S.slice(1))):S=o.slice(a+1)),n=s.fold(S,n,r);break}}return n},"scanSource"),Er=u(s=>{let e=s.init();const n=process.env.NODE_OPTIONS;return n&&(e=St(s,vr(n),e)),e=St(s,process.execArgv,e),e},"getOptionValue"),_r=u((s,e,n)=>n===1,"setByEffect"),Ir=u((s,e)=>({forms:e,init:u(()=>s,"init"),fold:_r}),"booleanFlag"),Lr=Ir(!1,[["--inspect-brk-node",1],["--inspect-brk",1],["--inspect-wait",1],["--inspect",1],["--no-inspect",2]]),Or=Object.freeze({target:`node${process.versions.node}`,loader:"default"}),Ar=Er(Lr),Ne={...Or,sourcemap:!0,sourcesContent:!!process.env.NODE_V8_COVERAGE||Ar,minifyWhitespace:!0,keepNames:!0},Re=u(s=>{const e=s.sourcefile;if(e){const n=J.extname(e.split("?")[0]);n?n===".cts"||n===".mts"?s.sourcefile=`${e.slice(0,-3)}ts`:n===".mjs"&&(s.sourcefile=`${e.slice(0,-3)}js`):s.sourcefile+=".js"}return n=>(n.map&&(s.sourcefile!==e&&(n.map=n.map.replace(JSON.stringify(s.sourcefile),JSON.stringify(e))),n.map=JSON.parse(n.map)),n)},"patchOptions"),Me=u(s=>{throw s.name="TransformError",delete s.errors,delete s.warnings,s},"formatEsbuildError"),Nr=u((s,e)=>({...en(tn)?{dirname:J.dirname(s),filename:s}:{},url:e}),"getImportMeta"),Rr=u((s,e)=>{if(!s.includes("import"))return!1;try{return ae(s,e)[0].some(n=>n.d===-2)}catch{return!0}},"hasImportMeta"),Mr=u((s,e,n)=>{let i,o,a;if(e.startsWith("file://")){i=e;const r=new URL(e);o=Yt(r)}else[o,a]=e.split("?"),i=Qt(o)+(a?`?${a}`:"");const{cjsBanner:l,...p}=n??{},g={...Ne,format:"cjs",sourcefile:o,banner:`__filename=${JSON.stringify(o)};(()=>{${l??""}`,footer:"})()",platform:"node",...p};g.format==="cjs"&&!o.endsWith(".cjs")&&!o.endsWith(".cts")&&Rr(s,o)&&(g.define={...g.define,"import.meta":JSON.stringify(Nr(o,i))});const b=xe([s,i,JSON.stringify(g),Se,Le].join("-"));let d=z.get(b);return d||(d=yt(e,s,[(r,S)=>{const O=Re(g);let _;try{_=Fe(S,g)}catch(N){throw Me(N)}return O(_)},(r,S)=>ce(r,S,!0)]),z.set(b,d)),d},"transformSync"),$r=u(async(s,e,n)=>{const i={...Ne,format:"esm",sourcefile:e,...n},o=xe([s,JSON.stringify(i),Se,Le].join("-"));let a=z.get(o);return a||(a=await xr(e,s,[async(l,p)=>{const g=Re(i);let b;try{b=await Zt(p,i)}catch(d){throw Me(d)}return g(b)},(l,p)=>ce(l,p,!0)]),z.set(o,a)),a},"transform"),Dr=u((s,e,n)=>{const i={...Ne,format:"esm",sourcefile:e,...n},o=xe([s,JSON.stringify(i),Se,Le].join("-"));let a=z.get(o);return a||(a=yt(e,s,[(l,p)=>{const g=Re(i);let b;try{b=Fe(p,i)}catch(d){throw Me(d)}return g(b)},(l,p)=>ce(l,p,!0)]),z.set(o,a)),a},"transformEsmSync");export{Mr as a,ce as b,Dr as c,cn as i,ae as p,Ke as r,$r as t};
+1
View File
@@ -0,0 +1 @@
var u=Object.defineProperty;var g=(s,n)=>u(s,"name",{value:n,configurable:!0});let t=!0;const l=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{};let i=0;if(l.process&&l.process.env&&l.process.stdout){const{FORCE_COLOR:s,NODE_DISABLE_COLORS:n,NO_COLOR:r,TERM:o,COLORTERM:c}=l.process.env;n||r||s==="0"?t=!1:s==="1"||s==="2"||s==="3"?t=!0:o==="dumb"?t=!1:"CI"in l.process.env&&["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(a=>a in l.process.env)?t=!0:t=process.stdout.isTTY,t&&(process.platform==="win32"||c&&(c==="truecolor"||c==="24bit")?i=3:o&&(o.endsWith("-256color")||o.endsWith("256"))?i=2:i=1)}let f={enabled:t,supportLevel:i};function e(s,n,r=1){const o=`\x1B[${s}m`,c=`\x1B[${n}m`,a=new RegExp(`\\x1b\\[${n}m`,"g");return p=>f.enabled&&f.supportLevel>=r?o+(""+p).replace(a,o)+c:""+p}g(e,"kolorist");const b=e(30,39),d=e(33,39),O=e(90,39),C=e(92,39),R=e(95,39),I=e(96,39),L=e(44,49),E=e(100,49),T=e(103,49);export{b as a,T as b,L as c,E as d,R as e,C as f,O as g,I as l,f as o,d as y};
+3
View File
@@ -0,0 +1,3 @@
var Y=Object.defineProperty;var k=(A,E)=>Y(A,"name",{value:E,configurable:!0});var L;(function(A){A[A.Static=1]="Static",A[A.Dynamic=2]="Dynamic",A[A.ImportMeta=3]="ImportMeta",A[A.StaticSourcePhase=4]="StaticSourcePhase",A[A.DynamicSourcePhase=5]="DynamicSourcePhase"})(L||(L={}));const R=new Uint8Array(new Uint16Array([1]).buffer)[0]===1;function F(A,E="@"){if(!Q)return G.then(()=>F(A));const g=A.length+1,B=(Q.__heap_base.value||Q.__heap_base)+4*g-Q.memory.buffer.byteLength;B>0&&Q.memory.grow(Math.ceil(B/65536));const s=Q.sa(g-1);if((R?c:r)(A,new Uint16Array(Q.memory.buffer,s,g)),!Q.parse())throw Object.assign(new Error(`Parse error ${E}:${A.slice(0,Q.e()).split(`
`).length}:${Q.e()-A.lastIndexOf(`
`,Q.e()-1)}`),{idx:Q.e()});const U=[],t=[];for(;Q.ri();){const C=Q.is(),I=Q.ie(),D=Q.it(),i=Q.ai(),w=Q.id(),J=Q.ss(),K=Q.se();let o;Q.ip()&&(o=N(A.slice(w===-1?C-1:C,w===-1?I+1:I))),U.push({n:o,t:D,s:C,e:I,ss:J,se:K,d:w,a:i})}for(;Q.re();){const C=Q.es(),I=Q.ee(),D=Q.els(),i=Q.ele(),w=A.slice(C,I),J=w[0],K=D<0?void 0:A.slice(D,i),o=K?K[0]:"";t.push({s:C,e:I,ls:D,le:i,n:J==='"'||J==="'"?N(w):w,ln:o==='"'||o==="'"?N(K):K})}function N(C){try{return(0,eval)(C)}catch{}}return k(N,"k"),[U,t,!!Q.f(),!!Q.ms()]}k(F,"parse");function r(A,E){const g=A.length;let B=0;for(;B<g;){const s=A.charCodeAt(B);E[B++]=(255&s)<<8|s>>>8}}k(r,"Q");function c(A,E){const g=A.length;let B=0;for(;B<g;)E[B]=A.charCodeAt(B++)}k(c,"B");let Q;const G=WebAssembly.compile((a="AGFzbQEAAAABKwhgAX8Bf2AEf39/fwBgAAF/YAAAYAF/AGADf39/AX9gAn9/AX9gA39/fwADMTAAAQECAgICAgICAgICAgICAgICAgIAAwMDBAQAAAUAAAAAAAMDAwAGAAAABwAGAgUEBQFwAQEBBQMBAAEGDwJ/AUHA8gALfwBBwPIACwd6FQZtZW1vcnkCAAJzYQAAAWUAAwJpcwAEAmllAAUCc3MABgJzZQAHAml0AAgCYWkACQJpZAAKAmlwAAsCZXMADAJlZQANA2VscwAOA2VsZQAPAnJpABACcmUAEQFmABICbXMAEwVwYXJzZQAUC19faGVhcF9iYXNlAwEKm0EwaAEBf0EAIAA2AoAKQQAoAtwJIgEgAEEBdGoiAEEAOwEAQQAgAEECaiIANgKECkEAIAA2AogKQQBBADYC4AlBAEEANgLwCUEAQQA2AugJQQBBADYC5AlBAEEANgL4CUEAQQA2AuwJIAEL0wEBA39BACgC8AkhBEEAQQAoAogKIgU2AvAJQQAgBDYC9AlBACAFQSRqNgKICiAEQSBqQeAJIAQbIAU2AgBBACgC1AkhBEEAKALQCSEGIAUgATYCACAFIAA2AgggBSACIAJBAmpBACAGIANGIgAbIAQgA0YiBBs2AgwgBSADNgIUIAVBADYCECAFIAI2AgQgBUEANgIgIAVBA0EBQQIgABsgBBs2AhwgBUEAKALQCSADRiICOgAYAkACQCACDQBBACgC1AkgA0cNAQtBAEEBOgCMCgsLXgEBf0EAKAL4CSIEQRBqQeQJIAQbQQAoAogKIgQ2AgBBACAENgL4CUEAIARBFGo2AogKQQBBAToAjAogBEEANgIQIAQgAzYCDCAEIAI2AgggBCABNgIEIAQgADYCAAsIAEEAKAKQCgsVAEEAKALoCSgCAEEAKALcCWtBAXULHgEBf0EAKALoCSgCBCIAQQAoAtwJa0EBdUF/IAAbCxUAQQAoAugJKAIIQQAoAtwJa0EBdQseAQF/QQAoAugJKAIMIgBBACgC3AlrQQF1QX8gABsLCwBBACgC6AkoAhwLHgEBf0EAKALoCSgCECIAQQAoAtwJa0EBdUF/IAAbCzsBAX8CQEEAKALoCSgCFCIAQQAoAtAJRw0AQX8PCwJAIABBACgC1AlHDQBBfg8LIABBACgC3AlrQQF1CwsAQQAoAugJLQAYCxUAQQAoAuwJKAIAQQAoAtwJa0EBdQsVAEEAKALsCSgCBEEAKALcCWtBAXULHgEBf0EAKALsCSgCCCIAQQAoAtwJa0EBdUF/IAAbCx4BAX9BACgC7AkoAgwiAEEAKALcCWtBAXVBfyAAGwslAQF/QQBBACgC6AkiAEEgakHgCSAAGygCACIANgLoCSAAQQBHCyUBAX9BAEEAKALsCSIAQRBqQeQJIAAbKAIAIgA2AuwJIABBAEcLCABBAC0AlAoLCABBAC0AjAoL3Q0BBX8jAEGA0ABrIgAkAEEAQQE6AJQKQQBBACgC2Ak2ApwKQQBBACgC3AlBfmoiATYCsApBACABQQAoAoAKQQF0aiICNgK0CkEAQQA6AIwKQQBBADsBlgpBAEEAOwGYCkEAQQA6AKAKQQBBADYCkApBAEEAOgD8CUEAIABBgBBqNgKkCkEAIAA2AqgKQQBBADoArAoCQAJAAkACQANAQQAgAUECaiIDNgKwCiABIAJPDQECQCADLwEAIgJBd2pBBUkNAAJAAkACQAJAAkAgAkGbf2oOBQEICAgCAAsgAkEgRg0EIAJBL0YNAyACQTtGDQIMBwtBAC8BmAoNASADEBVFDQEgAUEEakGCCEEKEC8NARAWQQAtAJQKDQFBAEEAKAKwCiIBNgKcCgwHCyADEBVFDQAgAUEEakGMCEEKEC8NABAXC0EAQQAoArAKNgKcCgwBCwJAIAEvAQQiA0EqRg0AIANBL0cNBBAYDAELQQEQGQtBACgCtAohAkEAKAKwCiEBDAALC0EAIQIgAyEBQQAtAPwJDQIMAQtBACABNgKwCkEAQQA6AJQKCwNAQQAgAUECaiIDNgKwCgJAAkACQAJAAkACQAJAIAFBACgCtApPDQAgAy8BACICQXdqQQVJDQYCQAJAAkACQAJAAkACQAJAAkACQCACQWBqDgoQDwYPDw8PBQECAAsCQAJAAkACQCACQaB/ag4KCxISAxIBEhISAgALIAJBhX9qDgMFEQYJC0EALwGYCg0QIAMQFUUNECABQQRqQYIIQQoQLw0QEBYMEAsgAxAVRQ0PIAFBBGpBjAhBChAvDQ8QFwwPCyADEBVFDQ4gASkABELsgISDsI7AOVINDiABLwEMIgNBd2oiAUEXSw0MQQEgAXRBn4CABHFFDQwMDQtBAEEALwGYCiIBQQFqOwGYCkEAKAKkCiABQQN0aiIBQQE2AgAgAUEAKAKcCjYCBAwNC0EALwGYCiIDRQ0JQQAgA0F/aiIDOwGYCkEALwGWCiICRQ0MQQAoAqQKIANB//8DcUEDdGooAgBBBUcNDAJAIAJBAnRBACgCqApqQXxqKAIAIgMoAgQNACADQQAoApwKQQJqNgIEC0EAIAJBf2o7AZYKIAMgAUEEajYCDAwMCwJAQQAoApwKIgEvAQBBKUcNAEEAKALwCSIDRQ0AIAMoAgQgAUcNAEEAQQAoAvQJIgM2AvAJAkAgA0UNACADQQA2AiAMAQtBAEEANgLgCQtBAEEALwGYCiIDQQFqOwGYCkEAKAKkCiADQQN0aiIDQQZBAkEALQCsChs2AgAgAyABNgIEQQBBADoArAoMCwtBAC8BmAoiAUUNB0EAIAFBf2oiATsBmApBACgCpAogAUH//wNxQQN0aigCAEEERg0EDAoLQScQGgwJC0EiEBoMCAsgAkEvRw0HAkACQCABLwEEIgFBKkYNACABQS9HDQEQGAwKC0EBEBkMCQsCQAJAAkACQEEAKAKcCiIBLwEAIgMQG0UNAAJAAkAgA0FVag4EAAkBAwkLIAFBfmovAQBBK0YNAwwICyABQX5qLwEAQS1GDQIMBwsgA0EpRw0BQQAoAqQKQQAvAZgKIgJBA3RqKAIEEBxFDQIMBgsgAUF+ai8BAEFQakH//wNxQQpPDQULQQAvAZgKIQILAkACQCACQf//A3EiAkUNACADQeYARw0AQQAoAqQKIAJBf2pBA3RqIgQoAgBBAUcNACABQX5qLwEAQe8ARw0BIAQoAgRBlghBAxAdRQ0BDAULIANB/QBHDQBBACgCpAogAkEDdGoiAigCBBAeDQQgAigCAEEGRg0ECyABEB8NAyADRQ0DIANBL0ZBAC0AoApBAEdxDQMCQEEAKAL4CSICRQ0AIAEgAigCAEkNACABIAIoAgRNDQQLIAFBfmohAUEAKALcCSECAkADQCABQQJqIgQgAk0NAUEAIAE2ApwKIAEvAQAhAyABQX5qIgQhASADECBFDQALIARBAmohBAsCQCADQf//A3EQIUUNACAEQX5qIQECQANAIAFBAmoiAyACTQ0BQQAgATYCnAogAS8BACEDIAFBfmoiBCEBIAMQIQ0ACyAEQQJqIQMLIAMQIg0EC0EAQQE6AKAKDAcLQQAoAqQKQQAvAZgKIgFBA3QiA2pBACgCnAo2AgRBACABQQFqOwGYCkEAKAKkCiADakEDNgIACxAjDAULQQAtAPwJQQAvAZYKQQAvAZgKcnJFIQIMBwsQJEEAQQA6AKAKDAMLECVBACECDAULIANBoAFHDQELQQBBAToArAoLQQBBACgCsAo2ApwKC0EAKAKwCiEBDAALCyAAQYDQAGokACACCxoAAkBBACgC3AkgAEcNAEEBDwsgAEF+ahAmC/4KAQZ/QQBBACgCsAoiAEEMaiIBNgKwCkEAKAL4CSECQQEQKSEDAkACQAJAAkACQAJAAkACQAJAQQAoArAKIgQgAUcNACADEChFDQELAkACQAJAAkACQAJAAkAgA0EqRg0AIANB+wBHDQFBACAEQQJqNgKwCkEBECkhA0EAKAKwCiEEA0ACQAJAIANB//8DcSIDQSJGDQAgA0EnRg0AIAMQLBpBACgCsAohAwwBCyADEBpBAEEAKAKwCkECaiIDNgKwCgtBARApGgJAIAQgAxAtIgNBLEcNAEEAQQAoArAKQQJqNgKwCkEBECkhAwsgA0H9AEYNA0EAKAKwCiIFIARGDQ8gBSEEIAVBACgCtApNDQAMDwsLQQAgBEECajYCsApBARApGkE Line truncated
+3
View File
@@ -0,0 +1,3 @@
"use strict";var G=Object.defineProperty;var k=(A,E)=>G(A,"name",{value:E,configurable:!0});exports.ImportType=void 0,function(A){A[A.Static=1]="Static",A[A.Dynamic=2]="Dynamic",A[A.ImportMeta=3]="ImportMeta",A[A.StaticSourcePhase=4]="StaticSourcePhase",A[A.DynamicSourcePhase=5]="DynamicSourcePhase"}(exports.ImportType||(exports.ImportType={}));const r=new Uint8Array(new Uint16Array([1]).buffer)[0]===1;function U(A,E="@"){if(!Q)return F.then(()=>U(A));const g=A.length+1,B=(Q.__heap_base.value||Q.__heap_base)+4*g-Q.memory.buffer.byteLength;B>0&&Q.memory.grow(Math.ceil(B/65536));const i=Q.sa(g-1);if((r?R:Y)(A,new Uint16Array(Q.memory.buffer,i,g)),!Q.parse())throw Object.assign(new Error(`Parse error ${E}:${A.slice(0,Q.e()).split(`
`).length}:${Q.e()-A.lastIndexOf(`
`,Q.e()-1)}`),{idx:Q.e()});const a=[],t=[];for(;Q.ri();){const C=Q.is(),I=Q.ie(),D=Q.it(),s=Q.ai(),w=Q.id(),J=Q.ss(),K=Q.se();let o;Q.ip()&&(o=N(A.slice(w===-1?C-1:C,w===-1?I+1:I))),a.push({n:o,t:D,s:C,e:I,ss:J,se:K,d:w,a:s})}for(;Q.re();){const C=Q.es(),I=Q.ee(),D=Q.els(),s=Q.ele(),w=A.slice(C,I),J=w[0],K=D<0?void 0:A.slice(D,s),o=K?K[0]:"";t.push({s:C,e:I,ls:D,le:s,n:J==='"'||J==="'"?N(w):w,ln:o==='"'||o==="'"?N(K):K})}function N(C){try{return(0,eval)(C)}catch{}}return k(N,"k"),[a,t,!!Q.f(),!!Q.ms()]}k(U,"parse");function Y(A,E){const g=A.length;let B=0;for(;B<g;){const i=A.charCodeAt(B);E[B++]=(255&i)<<8|i>>>8}}k(Y,"Q");function R(A,E){const g=A.length;let B=0;for(;B<g;)E[B]=A.charCodeAt(B++)}k(R,"B");let Q;const F=WebAssembly.compile((L="AGFzbQEAAAABKwhgAX8Bf2AEf39/fwBgAAF/YAAAYAF/AGADf39/AX9gAn9/AX9gA39/fwADMTAAAQECAgICAgICAgICAgICAgICAgIAAwMDBAQAAAUAAAAAAAMDAwAGAAAABwAGAgUEBQFwAQEBBQMBAAEGDwJ/AUHA8gALfwBBwPIACwd6FQZtZW1vcnkCAAJzYQAAAWUAAwJpcwAEAmllAAUCc3MABgJzZQAHAml0AAgCYWkACQJpZAAKAmlwAAsCZXMADAJlZQANA2VscwAOA2VsZQAPAnJpABACcmUAEQFmABICbXMAEwVwYXJzZQAUC19faGVhcF9iYXNlAwEKm0EwaAEBf0EAIAA2AoAKQQAoAtwJIgEgAEEBdGoiAEEAOwEAQQAgAEECaiIANgKECkEAIAA2AogKQQBBADYC4AlBAEEANgLwCUEAQQA2AugJQQBBADYC5AlBAEEANgL4CUEAQQA2AuwJIAEL0wEBA39BACgC8AkhBEEAQQAoAogKIgU2AvAJQQAgBDYC9AlBACAFQSRqNgKICiAEQSBqQeAJIAQbIAU2AgBBACgC1AkhBEEAKALQCSEGIAUgATYCACAFIAA2AgggBSACIAJBAmpBACAGIANGIgAbIAQgA0YiBBs2AgwgBSADNgIUIAVBADYCECAFIAI2AgQgBUEANgIgIAVBA0EBQQIgABsgBBs2AhwgBUEAKALQCSADRiICOgAYAkACQCACDQBBACgC1AkgA0cNAQtBAEEBOgCMCgsLXgEBf0EAKAL4CSIEQRBqQeQJIAQbQQAoAogKIgQ2AgBBACAENgL4CUEAIARBFGo2AogKQQBBAToAjAogBEEANgIQIAQgAzYCDCAEIAI2AgggBCABNgIEIAQgADYCAAsIAEEAKAKQCgsVAEEAKALoCSgCAEEAKALcCWtBAXULHgEBf0EAKALoCSgCBCIAQQAoAtwJa0EBdUF/IAAbCxUAQQAoAugJKAIIQQAoAtwJa0EBdQseAQF/QQAoAugJKAIMIgBBACgC3AlrQQF1QX8gABsLCwBBACgC6AkoAhwLHgEBf0EAKALoCSgCECIAQQAoAtwJa0EBdUF/IAAbCzsBAX8CQEEAKALoCSgCFCIAQQAoAtAJRw0AQX8PCwJAIABBACgC1AlHDQBBfg8LIABBACgC3AlrQQF1CwsAQQAoAugJLQAYCxUAQQAoAuwJKAIAQQAoAtwJa0EBdQsVAEEAKALsCSgCBEEAKALcCWtBAXULHgEBf0EAKALsCSgCCCIAQQAoAtwJa0EBdUF/IAAbCx4BAX9BACgC7AkoAgwiAEEAKALcCWtBAXVBfyAAGwslAQF/QQBBACgC6AkiAEEgakHgCSAAGygCACIANgLoCSAAQQBHCyUBAX9BAEEAKALsCSIAQRBqQeQJIAAbKAIAIgA2AuwJIABBAEcLCABBAC0AlAoLCABBAC0AjAoL3Q0BBX8jAEGA0ABrIgAkAEEAQQE6AJQKQQBBACgC2Ak2ApwKQQBBACgC3AlBfmoiATYCsApBACABQQAoAoAKQQF0aiICNgK0CkEAQQA6AIwKQQBBADsBlgpBAEEAOwGYCkEAQQA6AKAKQQBBADYCkApBAEEAOgD8CUEAIABBgBBqNgKkCkEAIAA2AqgKQQBBADoArAoCQAJAAkACQANAQQAgAUECaiIDNgKwCiABIAJPDQECQCADLwEAIgJBd2pBBUkNAAJAAkACQAJAAkAgAkGbf2oOBQEICAgCAAsgAkEgRg0EIAJBL0YNAyACQTtGDQIMBwtBAC8BmAoNASADEBVFDQEgAUEEakGCCEEKEC8NARAWQQAtAJQKDQFBAEEAKAKwCiIBNgKcCgwHCyADEBVFDQAgAUEEakGMCEEKEC8NABAXC0EAQQAoArAKNgKcCgwBCwJAIAEvAQQiA0EqRg0AIANBL0cNBBAYDAELQQEQGQtBACgCtAohAkEAKAKwCiEBDAALC0EAIQIgAyEBQQAtAPwJDQIMAQtBACABNgKwCkEAQQA6AJQKCwNAQQAgAUECaiIDNgKwCgJAAkACQAJAAkACQAJAIAFBACgCtApPDQAgAy8BACICQXdqQQVJDQYCQAJAAkACQAJAAkACQAJAAkACQCACQWBqDgoQDwYPDw8PBQECAAsCQAJAAkACQCACQaB/ag4KCxISAxIBEhISAgALIAJBhX9qDgMFEQYJC0EALwGYCg0QIAMQFUUNECABQQRqQYIIQQoQLw0QEBYMEAsgAxAVRQ0PIAFBBGpBjAhBChAvDQ8QFwwPCyADEBVFDQ4gASkABELsgISDsI7AOVINDiABLwEMIgNBd2oiAUEXSw0MQQEgAXRBn4CABHFFDQwMDQtBAEEALwGYCiIBQQFqOwGYCkEAKAKkCiABQQN0aiIBQQE2AgAgAUEAKAKcCjYCBAwNC0EALwGYCiIDRQ0JQQAgA0F/aiIDOwGYCkEALwGWCiICRQ0MQQAoAqQKIANB//8DcUEDdGooAgBBBUcNDAJAIAJBAnRBACgCqApqQXxqKAIAIgMoAgQNACADQQAoApwKQQJqNgIEC0EAIAJBf2o7AZYKIAMgAUEEajYCDAwMCwJAQQAoApwKIgEvAQBBKUcNAEEAKALwCSIDRQ0AIAMoAgQgAUcNAEEAQQAoAvQJIgM2AvAJAkAgA0UNACADQQA2AiAMAQtBAEEANgLgCQtBAEEALwGYCiIDQQFqOwGYCkEAKAKkCiADQQN0aiIDQQZBAkEALQCsChs2AgAgAyABNgIEQQBBADoArAoMCwtBAC8BmAoiAUUNB0EAIAFBf2oiATsBmApBACgCpAogAUH//wNxQQN0aigCAEEERg0EDAoLQScQGgwJC0EiEBoMCAsgAkEvRw0HAkACQCABLwEEIgFBKkYNACABQS9HDQEQGAwKC0EBEBkMCQsCQAJAAkACQEEAKAKcCiIBLwEAIgMQG0UNAAJAAkAgA0FVag4EAAkBAwkLIAFBfmovAQBBK0YNAwwICyABQX5qLwEAQS1GDQIMBwsgA0EpRw0BQQAoAqQKQQAvAZgKIgJBA3RqKAIEEBxFDQIMBgsgAUF+ai8BAEFQakH//wNxQQpPDQULQQAvAZgKIQILAkACQCACQf//A3EiAkUNACADQeYARw0AQQAoAqQKIAJBf2pBA3RqIgQoAgBBAUcNACABQX5qLwEAQe8ARw0BIAQoAgRBlghBAxAdRQ0BDAULIANB/QBHDQBBACgCpAogAkEDdGoiAigCBBAeDQQgAigCAEEGRg0ECyABEB8NAyADRQ0DIANBL0ZBAC0AoApBAEdxDQMCQEEAKAL4CSICRQ0AIAEgAigCAEkNACABIAIoAgRNDQQLIAFBfmohAUEAKALcCSECAkADQCABQQJqIgQgAk0NAUEAIAE2ApwKIAEvAQAhAyABQX5qIgQhASADECBFDQALIARBAmohBAsCQCADQf//A3EQIUUNACAEQX5qIQECQANAIAFBAmoiAyACTQ0BQQAgATYCnAogAS8BACEDIAFBfmoiBCEBIAMQIQ0ACyAEQQJqIQMLIAMQIg0EC0EAQQE6AKAKDAcLQQAoAqQKQQAvAZgKIgFBA3QiA2pBACgCnAo2AgRBACABQQFqOwGYCkEAKAKkCiADakEDNgIACxAjDAULQQAtAPwJQQAvAZYKQQAvAZgKcnJFIQIMBwsQJEEAQQA6AKAKDAMLECVBACECDAULIANBoAFHDQELQQBBAToArAoLQQBBACgCsAo2ApwKC0EAKAKwCiEBDAALCyAAQYDQAGokACACCxoAAkBBACgC3AkgAEcNAEEBDwsgAEF+ahAmC/4KAQZ/QQBBACgCsAoiAEEMaiIBNgKwCkEAKAL4CSECQQEQKSEDAkACQAJAAkACQAJAAkACQAJAQQAoArAKIgQgAUcNACADEChFDQELAkACQAJAAkACQAJAAkAgA0EqRg0AIANB+wBHDQFBACAEQQJqNgKwCkEBECkhA0EAKAKwCiEEA0ACQAJAIANB//8DcSIDQSJGDQAgA0EnRg0AIAMQLBpBACgCsAohAwwBCyADEBpBAEEAKAKwCkECaiIDNgKwCgtBARApGgJAIAQgAxAtIgNBLEcNAEEAQQAoArAKQQJqNgKwCkEBECkhAwsgA0H9AEYNA0EAKAKwCiIFIARGDQ8gBSEEIAVBACgCtApNDQAMDwsLQQAgBEECajYCsApBARApGkE Line truncated
Generated Vendored Executable
+1
View File
@@ -0,0 +1 @@
"use strict";var r=require("./get-pipe-path-D4YM6rQt.cjs"),e=require("./esm/index.cjs");require("module"),require("node:path"),require("./temporary-directory-B83uKxJF.cjs"),require("node:os"),require("node:worker_threads"),require("./node-features-CEjg7cMX.cjs"),require("./register-Ciecs-Zx.cjs"),require("node:crypto"),require("node:module"),require("./register-C557imBs.cjs"),require("node:url"),require("node:fs"),require("fs"),require("os"),require("path"),require("./index-6kqi0x0U.cjs"),require("esbuild"),require("./client-D3mGB526.cjs"),require("node:net"),require("node:util"),require("./index-BWFBUo6r.cjs"),require("node:fs/promises"),require("./require-DDxgG93A.cjs"),r.require("./cjs/index.cjs"),exports.globalPreload=e.globalPreload,exports.initialize=e.initialize,exports.load=e.load,exports.resolve=e.resolve;
Generated Vendored Executable
+1
View File
@@ -0,0 +1 @@
import{r}from"./get-pipe-path-_tAJyU_v.mjs";import{globalPreload as A,initialize as B,load as C,resolve as D}from"./esm/index.mjs";import"module";import"node:path";import"./temporary-directory-BDDVQOvU.mjs";import"node:os";import"node:worker_threads";import"./node-features-JeyyvQz6.mjs";import"./register-C4vWVmug.mjs";import"node:crypto";import"node:module";import"./register-C9AniqUt.mjs";import"node:url";import"node:fs";import"fs";import"os";import"path";import"./index-DQtFPMc2.mjs";import"esbuild";import"./client-D_mPDF5S.mjs";import"node:net";import"node:util";import"./index-gbaejti9.mjs";import"node:fs/promises";import"./require-CywAB2e6.mjs";r("./cjs/index.cjs");export{A as globalPreload,B as initialize,C as load,D as resolve};
+1
View File
@@ -0,0 +1 @@
"use strict";var n=Object.defineProperty;var s=(e,t)=>n(e,"name",{value:t,configurable:!0});const i=s((e,t)=>{const r=e[0]-t[0];if(r===0){const o=e[1]-t[1];return o===0?e[2]>=t[2]:o>0}return r>0},"isVersionGreaterOrEqual"),u=process.versions.node.split(".").map(Number),a=s((e,t=u)=>{for(let r=0;r<e.length;r+=1){const o=e[r];if(r===e.length-1||t[0]===o[0])return i(t,o)}return!1},"isFeatureSupported"),l=[[18,19,0],[20,6,0]],m=[[22,22,3],[24,11,1],[25,1,0],[26,0,0]],c=[[18,19,0],[20,10,0],[21,0,0]],d=[[21,0,0]],p=[[20,11,0],[21,3,0]],f=[[20,11,0],[21,2,0]],R=[[20,19,0],[22,12,0],[23,0,0]];exports.esmLoadReadFile=p,exports.importAttributes=c,exports.importMetaPathProperties=f,exports.isFeatureSupported=a,exports.moduleRegister=l,exports.moduleRegisterHooksCjsReload=m,exports.requireEsm=R,exports.testRunnerGlob=d;
+1
View File
@@ -0,0 +1 @@
var i=Object.defineProperty;var o=(e,t)=>i(e,"name",{value:t,configurable:!0});const n=o((e,t)=>{const s=e[0]-t[0];if(s===0){const r=e[1]-t[1];return r===0?e[2]>=t[2]:r>0}return s>0},"isVersionGreaterOrEqual"),a=process.versions.node.split(".").map(Number),c=o((e,t=a)=>{for(let s=0;s<e.length;s+=1){const r=e[s];if(s===e.length-1||t[0]===r[0])return n(t,r)}return!1},"isFeatureSupported"),u=[[18,19,0],[20,6,0]],l=[[22,22,3],[24,11,1],[25,1,0],[26,0,0]],m=[[18,19,0],[20,10,0],[21,0,0]],f=[[21,0,0]],p=[[20,11,0],[21,3,0]],d=[[20,11,0],[21,2,0]],R=[[20,19,0],[22,12,0],[23,0,0]];export{u as a,m as b,d as c,p as e,c as i,l as m,R as r,f as t};
+1
View File
@@ -0,0 +1 @@
var r="4.23.12";export{r as v};
+1
View File
@@ -0,0 +1 @@
"use strict";var r="4.23.12";exports.version=r;
Generated Vendored Executable
+1
View File
@@ -0,0 +1 @@
"use strict";var i=Object.defineProperty;var a=(r,t)=>i(r,"name",{value:t,configurable:!0});var n=require("node:repl"),u=require("esbuild");const f=a(r=>{const{eval:t}=r,c=a(async function(e,l,s,o){try{e=(await u.transform(e,{sourcefile:s,loader:"ts",tsconfigRaw:{compilerOptions:{preserveValueImports:!0}},define:{require:"global.require"}})).code}catch{}return t.call(this,e,l,s,o)},"preEval");r.eval=c},"patchEval"),{start:p}=n;n.start=function(){const r=Reflect.apply(p,this,arguments);return f(r),r};
Generated Vendored Executable
+1
View File
@@ -0,0 +1 @@
var i=Object.defineProperty;var a=(t,r)=>i(t,"name",{value:r,configurable:!0});import s from"node:repl";import{transform as f}from"esbuild";const p=a(t=>{const{eval:r}=t,n=a(async function(e,c,o,l){try{e=(await f(e,{sourcefile:o,loader:"ts",tsconfigRaw:{compilerOptions:{preserveValueImports:!0}},define:{require:"global.require"}})).code}catch{}return r.call(this,e,c,o,l)},"preEval");t.eval=n},"patchEval"),{start:u}=s;s.start=function(){const t=Reflect.apply(u,this,arguments);return p(t),t};
Generated Vendored Executable
+1
View File
@@ -0,0 +1 @@
"use strict";var p=Object.defineProperty;var o=(n,s)=>p(n,"name",{value:s,configurable:!0});var f=require("./get-pipe-path-D4YM6rQt.cjs"),h=require("node:os"),q=require("node:worker_threads"),H=require("./client-D3mGB526.cjs");require("./suppress-warnings.cjs"),require("module"),require("node:path"),require("./temporary-directory-B83uKxJF.cjs"),require("node:net");const T=o((n,s)=>{const i=new Map;for(const e of n){const r=o(t=>{s(t),process.listenerCount(e)===0&&process.exit(128+h.constants.signals[e])},"hiddenHandler");process.prependListener(e,r),i.set(e,r)}const{listenerCount:l,listeners:u}=process;process.listenerCount=function(e){let r=Reflect.apply(l,this,arguments);const t=i.get(e),c=arguments[1],a=l.length===1||arguments.length<2||c===void 0||c===null;if(t&&(a||c===t)){const d=Reflect.apply(u,this,[e]).filter(g=>g===t).length;r-=d}return r},process.listeners=function(e){const r=Reflect.apply(u,this,arguments);return n.includes(e)?r.filter(t=>t!==i.get(e)):r}},"bindHiddenSignalsHandler");q.isMainThread&&(f.require("./cjs/index.cjs"),(async()=>{const n=await H.connectingToServer;n&&T(["SIGINT","SIGTERM"],s=>{n({type:"signal",signal:s})})})());
Generated Vendored Executable
+1
View File
@@ -0,0 +1 @@
var f=Object.defineProperty;var c=(t,r)=>f(t,"name",{value:r,configurable:!0});import{r as g}from"./get-pipe-path-_tAJyU_v.mjs";import{constants as m}from"node:os";import{isMainThread as h}from"node:worker_threads";import{c as H}from"./client-D_mPDF5S.mjs";import"./suppress-warnings.mjs";import"module";import"node:path";import"./temporary-directory-BDDVQOvU.mjs";import"node:net";const y=c((t,r)=>{const i=new Map;for(const e of t){const n=c(s=>{r(s),process.listenerCount(e)===0&&process.exit(128+m.signals[e])},"hiddenHandler");process.prependListener(e,n),i.set(e,n)}const{listenerCount:l,listeners:p}=process;process.listenerCount=function(e){let n=Reflect.apply(l,this,arguments);const s=i.get(e),o=arguments[1],a=l.length===1||arguments.length<2||o===void 0||o===null;if(s&&(a||o===s)){const d=Reflect.apply(p,this,[e]).filter(u=>u===s).length;n-=d}return n},process.listeners=function(e){const n=Reflect.apply(p,this,arguments);return t.includes(e)?n.filter(s=>s!==i.get(e)):n}},"bindHiddenSignalsHandler");h&&(g("./cjs/index.cjs"),(async()=>{const t=await H;t&&y(["SIGINT","SIGTERM"],r=>{t({type:"signal",signal:r})})})());
+2
View File
@@ -0,0 +1,2 @@
var Xt=Object.defineProperty;var c=(t,r)=>Xt(t,"name",{value:r,configurable:!0});import kt from"node:crypto";import j from"node:module";import{MessageChannel as zt}from"node:worker_threads";import{i as L,b as Vt,e as Y,m as Kt}from"./node-features-JeyyvQz6.mjs";import{l as ut,t as ft,g as Yt,a as Zt,d as A,b as u,e as Z,f as U,h as B,j as tt,k as te,m as P,n as ee,o as q,p as pt,q as ht,w as gt,s as Q,u as yt,v as F,x as re}from"./register-C9AniqUt.mjs";import{pathToFileURL as S,fileURLToPath as R}from"node:url";import{readFileSync as se,existsSync as ne}from"node:fs";import{readFile as oe}from"node:fs/promises";import{p as ae,i as Pt,t as St,a as H,b as vt,c as ie,r as et}from"./index-DQtFPMc2.mjs";import{p as Ut}from"./client-D_mPDF5S.mjs";import v from"node:path";const ce=c(()=>({active:!0,parsedTsconfig:void 0}),"createDefaultData"),wt=c(t=>{const r={active:!0,namespace:t?.namespace,onImport:t?.onImport,parsedTsconfig:void 0,port:t?.port,tsconfig:t?.tsconfig};return t?.tsconfig!==!1&&(r.parsedTsconfig=ut(t?.tsconfig??process.env.TSX_TSCONFIG_PATH)),r},"createData"),me=c(t=>async r=>{if(!r)throw new Error(`tsx must be loaded with --import instead of --loader
The --loader flag was deprecated in Node v20.6.0 and v18.19.0`);Object.assign(t,wt(r)),r.port&&r.port.on("message",e=>{e==="deactivate"&&(t.active=!1,r.port.postMessage({type:"deactivated"}))})},"createInitialize"),de=c(t=>()=>(t.parsedTsconfig=ut(process.env.TSX_TSCONFIG_PATH),"process.setSourceMapsEnabled(true);"),"createGlobalPreload"),le=c(t=>{const{pathname:r}=new URL(t),e=v.extname(r);if(e===".mts"||e===".mjs")return"module";if(e===".cts"||e===".cjs")return"commonjs";if(e===".js"||ft.includes(e))return Yt(t)},"getFormatFromFileUrl"),ue=c(t=>{const{pathname:r}=new URL(t),e=v.extname(r);if(e===".mts"||e===".mjs")return"module";if(e===".cts"||e===".cjs")return"commonjs";if(e===".js"||ft.includes(e))return Zt(t)},"getFormatFromFileUrlSync"),Rt="tsx-namespace",I=`${Rt}=`,W="tsx-commonjs-export-preparse",fe=`${W}=1`,O="tsx-commonjs-virtual-query",$=new Map,pe=/^data:/i,T=c(t=>pe.test(t),"isDataUrl"),rt=c((t,r)=>t.slice(1).split("&").filter(e=>e&&r.every(s=>!e.startsWith(s))).join("&"),"getQueryWithoutParameters"),x=c((t,r)=>{const e=rt(t,r);return e?`?${e}`:""},"getSearchWithoutParameters"),he=c(t=>t.replaceAll(/\/\*[\s\S]*?\*\/|\/\/[^\n\r]*/g,""),"stripComments"),ge=c(t=>{const r=he(t);if(/^\s*export\s*\*/.test(r))return"named";if(/^\s*import\s*\*\s*as\s+[\w$]+/.test(r))return"namespace";const e=r.match(/\{([^}]*)\}/)?.[1];if(e)return e.split(",").some(s=>{const n=s.trim().split(/\s+as\s+/)[0];return!!(n&&n!=="default")})?"named":void 0},"getCommonJsImportBinding"),ye=c((t,r,e)=>{const s=$.get(t);if(!s)return!1;try{const[n]=ae(s);return n.some(o=>{if(o.d!==-1||o.n!==r)return!1;const a=ge(s.slice(o.ss,o.s));return a==="named"||e&&a==="namespace"})}catch{return!1}},"parentImportsCommonJsExports"),w=c(t=>{const r=t.indexOf("?"),e=t.indexOf("#");if(T(t)){if(e===-1)return;const s=t.slice(e+1),n=s.lastIndexOf("&"),o=s.slice(n+1);return o.startsWith(I)?o.slice(I.length):void 0}if(!(r===-1||e!==-1&&e<r))return new URLSearchParams(t.slice(r,e===-1?void 0:e)).get(Rt)??void 0},"getNamespace"),It=L(Vt)?"importAttributes":"importAssertions",Tt=c(t=>t==="commonjs"||t==="commonjs-typescript","isCommonJsFormat"),Et=c(t=>t==="module-typescript"||t==="typescript","isModuleTypeScriptFormat"),Pe=L(Y),Se=[`${O}=`],G=[`${W}=`,`${O}=`],E=c((t,r)=>r.parsedTsconfig&&te(r.parsedTsconfig,t)?r.parsedTsconfig.config:void 0,"getTsconfigRaw"),ve=c(t=>{if(!t.searchParams.has(O))return;const{pathname:r}=t,e=r.toLowerCase().lastIndexOf("%3f");if(e===-1)return;const s=new URL(t);return s.pathname=r.slice(0,e),s.search="",R(s)},"getFilePathFromVirtualQuery"),st=c(t=>{const r=t.startsWith(P)?new URL(t):void 0,e=r?R(r):t,s=r&&ve(r),n=s||e,o=r&&s?S(n).toString()+x(r.search,Se):t;return{fileUrl:r,filePath:n,loadUrl:o}},"getFileLoadContext"),jt=c((t,r)=>{if(!r?.search)return t;const e=x(r.search,G);return e?S(t).toString()+e:t},"getTransformPath"),Lt=c((t,r,e)=>{const s=[...r?rt(r.search,[I,...G]).split("&").filter(Boolean):[],...e?[`namespace=${encodeURIComponent(e)}`]:[]].join("&");return s?`${t}?${s}`:t},"getFilePathWithQuery"),Ue=new TextDecoder,Ft=c(t=>typeof t=="string"?t:Ue.decode(t),"decodeSource"),we=c((t,r)=>{const e=new URL(r),s=r.startsWith(P)?st(r).filePath:void 0;if(T(r)){if(t.namespace){const o=`${I}${t.namespace}`;e.hash===`#${o}`?e.hash="":e.hash.endsWith(`&${o}`)&&(e.hash=e.hash.slice(0,-o.length-1))}}else e.searchParams.delete("tsx-namespace"),e.searchParams.delete(W),e.searchParams.delete(O);s&&(e.pathname=new URL(S(s)).pathname);const n=e.toString();return t.port&&t.port.postMessage({type:"load",url:n}),t.onImport?.(n),n},"notifyLoad"),Wt=c((t,r)=>{if(!t.active)return!1;const e=w(r);if(t.namespace!==e)return!1;const s=we(t,r);return Ut.send&&Ut.send({type:"dependency",path:s}),!0},"prepareLoad"),Ot=c((t,r)=>{if(!ee.test(t))return r;const e=r[It];return e?.type?r:{...r,[It]:{...e,type:"json"}}},"prepareJsonAttributes"),nt=c(({conditions:t})=>t?.includes("require")===!0&&!t.includes("import"),"isCommonJsRequireContext$1"),Re=c(t=>{const r=c(async(e,s,n)=>{if(!Wt(t,e))return n(e,s);const o=w(e),{fileUrl:a,filePath:i,loadUrl:l}=st(e),f=Ot(l,s),m=await n(l,f);u(3,"loaded by next loader",{url:e,loadUrl:l,loaded:m});const d=a?.searchParams.has(W)===!0,p=m.format,h=a?new URL(S(i)):void 0;if(h&&a&&(h.search=x(a.search,G)),Tt(p)&&a&&m.responseURL?.startsWith("file:")&&!i.endsWith(".cjs")){const g=await oe(S(i),"utf8"),M=Pt(g);if(p==="commonjs-typescript"||!i.endsWith(".js")||M){if(!Pe){if(d&&M&&Z.test(i)){const _=await St(g,i,{define:{"import.meta.url":JSON.stringify(h.toString())},tsconfigRaw:E(i,t)});return $.set(e,_.code),{format:"module",source:U(_)}}return m}if(!o&&!d&&!i.endsWith(".cts"))return m;const dt=!!(o||d||x(a.search,G)),lt=H(g,jt(i,a),{cjsBanner:dt?`require = require("node:module").createRequire(${JSON.stringify(S(i).toString())});`:void 0,tsconfigRaw:E(i,t)});if(m.format="commonjs",m.source=U(lt),dt){const _=Lt(i,a,o);m.responseURL=`data:text/javascript,${encodeURIComponent(lt.code)}?filePath=${encodeURIComponent(_)}`} Line truncated
+10
View File
@@ -0,0 +1,10 @@
"use strict";var vt=Object.defineProperty;var u=(e,t)=>vt(e,"name",{value:t,configurable:!0});var Et=require("./get-pipe-path-D4YM6rQt.cjs"),P=require("node:module"),m=require("node:path"),K=require("node:url"),U=require("node:fs"),Ct=require("fs"),jt=require("os"),Tt=require("path"),fe=require("./index-6kqi0x0U.cjs"),De=require("./client-D3mGB526.cjs"),St=require("node:util"),M=require("./index-BWFBUo6r.cjs"),Le=require("./node-features-CEjg7cMX.cjs");const Ue=u(e=>{if(!e.startsWith("data:text/javascript,"))return;const t=e.indexOf("?");if(t===-1)return;const n=new URLSearchParams(e.slice(t+1)).get("filePath");if(n)return n},"getOriginalFilePath"),Re=u(e=>{const t=Ue(e);return t&&(P._cache[t]=P._cache[e],delete P._cache[e],e=t),e},"interopCjsExports"),Fe=u(e=>e!==null&&typeof e=="object","A"),W=u((e,t)=>Object.assign(new Error(`[${e}]: ${t}`),{code:e}),"a"),Ie="ERR_INVALID_PACKAGE_CONFIG",de="ERR_INVALID_PACKAGE_TARGET",Ot="ERR_PACKAGE_PATH_NOT_EXPORTED",At=/^\d+$/,Pt=/^(\.{1,2}|node_modules)$/i,$t=/\/|\\/;var Ne=(e=>(e.Export="exports",e.Import="imports",e))(Ne||{});const he=u((e,t,r,n,s)=>{if(t==null)return[];if(typeof t=="string"){const[o,...a]=t.split($t);if(o===".."||a.some(i=>Pt.test(i)))throw W(de,`Invalid "${e}" target "${t}" defined in the package config`);return[s?t.replace(/\*/g,s):t]}if(Array.isArray(t))return t.flatMap(o=>he(e,o,r,n,s));if(Fe(t)){for(const o of Object.keys(t)){if(At.test(o))throw W(Ie,"Cannot contain numeric property keys");if(o==="default"||n.includes(o))return he(e,t[o],r,n,s)}return[]}throw W(de,`Invalid "${e}" target "${t}"`)},"f"),z="*",_t=u((e,t)=>{const r=e.indexOf(z),n=t.indexOf(z);return r===n?t.length>e.length:n>r},"m");function Dt(e,t){if(!t.includes(z)&&e.hasOwnProperty(t))return[t];let r,n;for(const s of Object.keys(e))if(s.includes(z)){const[o,a,i]=s.split(z);if(i===void 0&&t.startsWith(o)&&t.endsWith(a)){const h=t.slice(o.length,-a.length||void 0);h&&(!r||_t(r,s))&&(r=s,n=h)}}return[r,n]}u(Dt,"d");const Lt=u(e=>Object.keys(e).reduce((t,r)=>{const n=r===""||r[0]!==".";if(t===void 0||t===n)return n;throw W(Ie,'"exports" cannot contain some keys starting with "." and some not')},void 0),"p"),Ut=/^\w+:/,Rt=u((e,t,r)=>{if(!e)throw new Error('"exports" is required');t=t===""?".":`./${t}`,(typeof e=="string"||Array.isArray(e)||Fe(e)&&Lt(e))&&(e={".":e});const[n,s]=Dt(e,t),o=he(Ne.Export,e[n],t,r,s);if(o.length===0)throw W(Ot,t==="."?'No "exports" main defined':`Package subpath '${t}' is not defined by "exports"`);for(const a of o)if(!a.startsWith("./")&&!Ut.test(a))throw W(de,`Invalid "exports" target "${a}" defined in the package config`);return o},"v");var Ft=Object.defineProperty,c=u((e,t)=>Ft(e,"name",{value:t,configurable:!0}),"i");function A(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}u(A,"x"),c(A,"slash");const It=c((e,t)=>{const r=`readFileSync:${t}`;let n=e?.get(r);return n===void 0&&(n=U.readFileSync(t,"utf8"),e?.set(r,n)),n},"readFile"),_=c((e,t)=>{const r=`tryStat:${t}`;let n=e?.get(r);if(n===void 0){try{n=U.statSync(t)}catch{n=null}e?.set(r,n)}return n??void 0},"tryStat"),H=c((e,t,r)=>{for(;;){const n=m.posix.join(e,t);if(_(r,n))return n;const s=m.dirname(e);if(s===e)return;e=s}},"findUp");function Be(e,t=!1){const r=e.length;let n=0,s="",o=0,a=16,i=0,h=0,p=0,y=0,f=0;function v(l,C){let S=0,w=0;for(;S<l;){let x=e.charCodeAt(n);if(x>=48&&x<=57)w=w*16+x-48;else if(x>=65&&x<=70)w=w*16+x-65+10;else if(x>=97&&x<=102)w=w*16+x-97+10;else break;n++,S++}return S<l&&(w=-1),w}u(v,"A"),c(v,"scanHexDigits");function b(l){n=l,s="",o=0,a=16,f=0}u(b,"O"),c(b,"setPosition");function k(){let l=n;if(e.charCodeAt(n)===48)n++;else for(n++;n<e.length&&I(e.charCodeAt(n));)n++;if(n<e.length&&e.charCodeAt(n)===46)if(n++,n<e.length&&I(e.charCodeAt(n)))for(n++;n<e.length&&I(e.charCodeAt(n));)n++;else return f=3,e.substring(l,n);let C=n;if(n<e.length&&(e.charCodeAt(n)===69||e.charCodeAt(n)===101))if(n++,(n<e.length&&e.charCodeAt(n)===43||e.charCodeAt(n)===45)&&n++,n<e.length&&I(e.charCodeAt(n))){for(n++;n<e.length&&I(e.charCodeAt(n));)n++;C=n}else f=3;return e.substring(l,C)}u(k,"h"),c(k,"scanNumber");function E(){let l="",C=n;for(;;){if(n>=r){l+=e.substring(C,n),f=2;break}const S=e.charCodeAt(n);if(S===34){l+=e.substring(C,n),n++;break}if(S===92){if(l+=e.substring(C,n),n++,n>=r){f=2;break}switch(e.charCodeAt(n++)){case 34:l+='"';break;case 92:l+="\\";break;case 47:l+="/";break;case 98:l+="\b";break;case 102:l+="\f";break;case 110:l+=`
`;break;case 114:l+="\r";break;case 116:l+=" ";break;case 117:const w=v(4);w>=0?l+=String.fromCharCode(w):f=4;break;default:f=5}C=n;continue}if(S>=0&&S<=31)if(J(S)){l+=e.substring(C,n),f=2;break}else f=6;n++}return l}u(E,"D"),c(E,"scanString");function d(){if(s="",f=0,o=n,h=i,y=p,n>=r)return o=r,a=17;let l=e.charCodeAt(n);if(ne(l)){do n++,s+=String.fromCharCode(l),l=e.charCodeAt(n);while(ne(l));return a=15}if(J(l))return n++,s+=String.fromCharCode(l),l===13&&e.charCodeAt(n)===10&&(n++,s+=`
`),i++,p=n,a=14;switch(l){case 123:return n++,a=1;case 125:return n++,a=2;case 91:return n++,a=3;case 93:return n++,a=4;case 58:return n++,a=6;case 44:return n++,a=5;case 34:return n++,s=E(),a=10;case 47:const C=n-1;if(e.charCodeAt(n+1)===47){for(n+=2;n<r&&!J(e.charCodeAt(n));)n++;return s=e.substring(C,n),a=12}if(e.charCodeAt(n+1)===42){n+=2;const S=r-1;let w=!1;for(;n<S;){const x=e.charCodeAt(n);if(x===42&&e.charCodeAt(n+1)===47){n+=2,w=!0;break}n++,J(x)&&(x===13&&e.charCodeAt(n)===10&&n++,i++,p=n)}return w||(n++,f=1),s=e.substring(C,n),a=13}return s+=String.fromCharCode(l),n++,a=16;case 45:if(s+=String.fromCharCode(l),n++,n===r||!I(e.charCodeAt(n)))return a=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return s+=k(),a=11;default:for(;n<r&&g(l);)n++,l=e.charCodeAt(n);if(o!==n){switch(s=e.substring(o,n),s){case"true":return a=8;case"false":return a=9;case"null":return a=7}return a=16}return s+=String.fromCharCode(l),n++,a=16}}u(d,"c"),c(d,"scanNext");function g(l){if(ne(l)||J(l))return!1;switch(l){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}u(g,"p"),c(g,"isUnknownContentCharacter");function T(){let l;do l=d();while(l>=12&&l<=15);return l}return u(T,"b"),c(T,"scanNextNonTrivia"),{setPosition:b,getPosition:c(()=>n,"getPosition"),scan:t?T:d,getToken:c(()=>a,"getToken"),getTokenValue:c(()=>s,"getTokenValue"),getTokenOffset:c(()=>o,"getTokenOffset"),getTokenLength:c(()=>n-o,"getTokenLength"),getTokenStartLine:c(()=>h,"getTokenStartLine"),getTokenStartCharacter:c(()=>o-y,"getTokenStartCharacter"),getTokenError:c(()=>f,"getTokenError")}}u(Be,"Ne"),c(Be,"createScanner");function ne(e){return e===32||e===9}u(ne,"X"),c(ne,"isWhiteSpace");function J(e){return e===10||e===13}u(J,"P"),c(J,"isLineBreak");function I(e){return e>=48&&e<=57}u(I,"S"),c(I,"isDigit");var Me;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(Me||(Me={})),new Array(20).fill(0).map((e,t)=>" ".repeat(t));const V=200;new Array(V).fill(0).map((e,t)=>`
`+" ".repeat(t)),new Array(V).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(V).fill(0).map((e,t)=>`\r
`+" ".repeat(t)),new Array(V).fill(0).map((e,t)=>`
`+" ".repeat(t)),new Array(V).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(V).fill(0).map((e,t)=>`\r
`+" ".repeat(t));var re;(function(e){e.DEFAULT={allowTrailingComma:!1}})(re||(re={}));function We(e,t=[],r=re.DEFAULT){let n=null,s=[];const o=[];function a(i){Array.isArray(s)?s.push(i):n!==null&&(s[n]=i)}return u(a,"l"),c(a,"onValue"),Je(e,{onObjectBegin:c(()=>{const i={};a(i),o.push(s),s=i,n=null},"onObjectBegin"),onObjectProperty:c(i=>{n=i},"onObjectProperty"),onObjectEnd:c(()=>{s=o.pop()},"onObjectEnd"),onArrayBegin:c(()=>{const i=[];a(i),o.push(s),s=i,n=null},"onArrayBegin"),onArrayEnd:c(()=>{s=o.pop()},"onArrayEnd"),onLiteralValue:a,onError:c((i,h,p)=>{t.push({error:i,offset:h,length:p})},"onError")},r),s[0]}u(We,"Re"),c(We,"parse$1");function Je(e,t,r=re.DEFAULT){const n=Be(e,!1),s=[];let o=0;function a(j){return j?()=>o===0&&j(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}u(a,"l"),c(a,"toNoArgVisit");function i(j){return j?O=>o===0&&j(O,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}u(i,"g"),c(i,"toOneArgVisit");function h(j){return j?O=>o===0&&j(O,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>s.slice()):()=>!0}u(h,"m"),c(h,"toOneArgVisitWithPath");function p(j){return j?()=>{o>0?o++:j(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>s.slice())===!1&&(o=1)}:()=>!0}u(p,"k"),c(p,"toBeginVisit");function y(j){return j?()=>{o>0&&o--,o===0&&j(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter())}:()=>!0}u(y,"w"),c(y,"toEndVisit");const f=p(t.onObjectBegin),v=h(t.onObjectProperty),b=y(t.onObjectEnd),k=p(t.onArrayBegin),E=y(t.onArrayEnd),d=h(t.onLiteralValue),g=i(t.onSeparator),T=a(t.onComment),l=i(t.onError),C=r&&r.disallowComments,S=r&&r.allowTrailingComma;function w(){for(;;){const j=n.scan();switch(n.getTokenError()){case 4:x(14);break;case 5:x(15);break;case 3:x(13);break;case 1:C||x(11);break;case 2:x(12);break;case 6:x(16);break}switch(j){case 12:case 13:C?x(10):T();break;case 16:x(1);break;case 15:case 14:break;default:return j}}}u(w,"v"),c(w,"scanNext");function x(j,O=[],_e=[]){if(l(j),O.length+_e.length>0){let te=n.getToken();for(;te!==17;){if(O.indexOf(te)!==-1){w();break}else if(_e.indexOf(te)!==-1)break;te=w()}}}u(x,"d"),c(x,"handleError");function D(j){const O=n.getTokenValue();return j?d(O):(v(O),s.push(O)),w(),!0}u(D,"L"),c(D,"parseString");function L(){switch(n.getToken()){case 11:const j=n.getTokenValue();let O=Number(j);isNaN(O)&&(x(2),O=0),d(O);break;case 7:d(null);break;case 8:d(!0);break;case 9:d(!1);break;default:return!1}return w(),!0}u(L,"B"),c(L,"parseLiteral");function $(){return n.getToken()!==10?(x(3,[],[2,5]),!1):(D(!1),n.getToken()===6?(g(":"),w(),ee()||x(4,[],[2,5])):x(5,[],[2,5]),s.pop(),!0)}u($,"$"),c($,"parseProperty");function B(){f(),w();let j=!1;for(;n.getToken()!==2&&n.getToken()!==17;){if(n.getToken()===5){if(j||x(4,[],[]),g(","),w(),n.getToken()===2&&S)break}else j&&x(6,[],[]);$()||x(4,[],[2,5]),j=!0}return b(),n.getToken()!==2?x(7,[2],[]):w(),!0}u(B,"N"),c(B,"parseObject");function $e(){k(),w();let j=!0,O=!1;for(;n.getToken()!==4&&n.getToken()!==17;){if(n.getToken()===5){if(O||x(4,[],[]),g(","),w(),n.getToken()===4&&S)break}else O&&x(6,[],[]);j?(s.push(0),j=!1):s[s.length-1]++,ee()||x(4,[],[4,5]),O=!0}return E(),j||s.pop(),n.getToken()!==4?x(8,[4],[]):w(),!0}u($e,"$e"),c($e,"parseArray");function ee(){switch(n.getToken()){case 3:return $e();case 1:return B();case 10:return D(!0);default:return L()}}return u(ee,"H"),c(ee,"parseValue"),w(),n.getToken()===17?r.allowEmptyContent?!0:(x(4,[],[]),!1):ee()?(n.getToken()!==17&&x(9,[],[]),!0):(x(4,[],[]),!1)}u(Je,"Pe"),c(Je,"visit");var Ve;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(Ve||(Ve={}));var Ge;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(Ge||(Ge={}));const Nt=We;var Qe;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpecte Line truncated
//# sourceMappingURL=data:application/json;base64,`,lt=u(()=>process.sourceMapsEnabled??!0,"shouldApplySourceMap"),Te=u(({code:e,map:t})=>e+xn+Buffer.from(JSON.stringify(t),"utf8").toString("base64"),"inlineSourceMap"),X=Symbol.for("tsx:global-cjs-loader-count"),q=globalThis,wn=u(()=>(q[X]??0)>0,"isGlobalCjsLoaderActive"),vn=u(()=>(q[X]=(q[X]??0)+1,()=>{q[X]=Math.max((q[X]??1)-1,0)}),"activateGlobalCjsLoader"),Se=u(e=>e[0]==="."&&(e[1]==="/"||e[1]==="."||e[2]==="/"),"isRelativePath"),G=u(e=>Se(e)||m.isAbsolute(e),"isFilePath"),Y="file://",En=[".ts",".tsx",".jsx",".mts",".cts"],ut=/\.([cm]?ts|[tj]sx)(?:$|[?#])/,Cn=/\.(?:ts|tsx|jsx)(?:$|[?#])/,jn=/[/\\].+\.(?:cts|cjs)(?:$|[?#])/,Tn=/\.json(?:$|[?#])/,le=/\/(?:$|[?#])/,Sn=/^(?:@[^/]+\/)?[^/\\]+$/,pt=`${m.sep}node_modules${m.sep}`,Oe=u(e=>e?.split(m.sep).includes("node_modules")??!1,"isDependencyPath"),ue=Number(process.env.TSX_DEBUG);ue&&(M.options.enabled=!0,M.options.supportLevel=3);const ft=u(e=>(t,...r)=>{if(!ue||t>ue)return;const n=`${M.bgGray(` tsx P${process.pid} `)} ${e}`,s=r.map(o=>typeof o=="string"?o:St.inspect(o,{colors:!0})).join(" ");U.writeSync(1,`${n} ${s}
`)},"createLog"),Q=ft(M.bgLightYellow(M.black(" CJS "))),On=ft(M.bgBlue(" ESM ")),F=new Map,An=u(async e=>{if(F.has(e))return F.get(e);if(!await U.promises.access(e).then(()=>!0,()=>!1)){F.set(e,void 0);return}const r=await U.promises.readFile(e,"utf8");try{const n=JSON.parse(r);return F.set(e,n),n}catch{throw new Error(`Error parsing: ${e}`)}},"readPackageJson"),Pn=u(e=>{if(F.has(e))return F.get(e);if(!U.existsSync(e)){F.set(e,void 0);return}const t=U.readFileSync(e,"utf8");try{const r=JSON.parse(t);return F.set(e,r),r}catch{throw new Error(`Error parsing: ${e}`)}},"readPackageJsonSync"),$n=u(async e=>{let t=new URL("package.json",e);for(;!t.pathname.endsWith("/node_modules/package.json");){const r=K.fileURLToPath(t),n=await An(r);if(n)return n;const s=t;if(t=new URL("../package.json",t),t.pathname===s.pathname)break}},"findPackageJson"),dt=u(e=>{let t=new URL("package.json",e);for(;!t.pathname.endsWith("/node_modules/package.json");){const r=K.fileURLToPath(t),n=Pn(r);if(n)return n;const s=t;if(t=new URL("../package.json",t),t.pathname===s.pathname)break}},"findPackageJsonSync"),_n=u(async e=>(await $n(e))?.type??"commonjs","getPackageType"),Dn=u(e=>dt(e)?.type??"commonjs","getPackageTypeSync"),Ln=u(e=>dt(e)?.type,"getNearestPackageTypeSync"),ht=[".js",".json"],mt=[".ts",".tsx",".jsx"],Un=new Set([".json",".node"]),Rn=[...mt,...ht],Fn=[...ht,...mt],Z=Object.create(null);Z[".js"]=[".ts",".tsx",".js",".jsx"],Z[".jsx"]=[".tsx",".ts",".jsx",".js"],Z[".cjs"]=[".cts"],Z[".mjs"]=[".mts"];const In=new Set([".ts",".tsx",".mts",".cts"]),gt=u((e,t=!1)=>{const r=e.indexOf("?"),n=r===-1?e:e.slice(0,r),s=r===-1?"":e.slice(r);if(!t&&!G(n)&&!n.startsWith(Y))return;const o=m.extname(n);if(In.has(o))return;const a=Z[o];if(a){const h=n.slice(0,-o.length);return a.map(p=>h+p+s)}return Un.has(o)?void 0:(!(e.startsWith(Y)||G(n))||n.includes(pt)||n.includes("/node_modules/")?Fn:Rn).map(h=>n+h+s)},"getExtensionResolution"),Ae=u(e=>Array.from(e).length>0?`?${e.toString()}`:"","urlSearchParamsStringify"),Nn=[".cts",".mts",".ts",".tsx",".jsx"],Bn=[".js",".cjs",".mjs"],yt=[".ts",".tsx",".jsx"],kt="module.exports",Mn='Top-level await is currently not supported with the "cjs" output format',bt=u(e=>{const t=m.extname(e);return t===".mjs"||t===".mts"||(t===".js"||t===".ts")&&Ln(K.pathToFileURL(e).toString())!=="commonjs"},"isRequireEsmCandidate"),Pe=u((e,t,r,n)=>{const s=Object.getOwnPropertyDescriptor(e,t);s?.set?e[t]=r:(!s||s.configurable)&&Object.defineProperty(e,t,{value:r,enumerable:s?.enumerable||n?.enumerable,writable:n?.writable??(s?s.writable:!0),configurable:n?.configurable??(s?s.configurable:!0)})},"safeSet"),Wn=u((e,t,r,n)=>{const s=t[".js"],o=process.features.require_module??Le.isFeatureSupported(Le.requireEsm),a=u((i,h)=>{if(e.enabled===!1)return s(i,h);const[p,y]=h.split("?");if((new URLSearchParams(y).get("namespace")??void 0)!==n)return s(i,h);Q(2,"load",{filePath:h}),i.id?.startsWith("data:text/javascript,")&&(i.path=m.dirname(p)),De.parent?.send&&De.parent.send({type:"dependency",path:p});const v=Nn.some(l=>p.endsWith(l)),b=Bn.some(l=>p.endsWith(l));if(!v&&!b)return s(i,p);let k=U.readFileSync(p,"utf8");const E=b&&!p.endsWith(".cjs")&&!p.endsWith(".cts")&&fe.isESM(k),d=(v||E)&&r&&je(r,p)?r.config:void 0;if(p.endsWith(".cjs")){const l=fe.transformDynamicImport(h,k);l&&(k=lt()?Te(l):l.code)}else if(v||E)try{const l=fe.transformSync(k,h,{tsconfigRaw:d});k=lt()?Te(l):l.code}catch(l){throw bt(p)&&l instanceof Error&&l.name==="TransformError"&&l.message.includes(Mn)&&Object.assign(l,{code:o?"ERR_REQUIRE_ASYNC_MODULE":"ERR_REQUIRE_ESM"}),l}Q(1,"loaded",{filePath:p}),i._compile(k,p),y&&P._cache[p]===i&&(P._cache[h]=i,delete P._cache[p]);const{exports:g}=i;(o&&g&&(typeof g=="object"||typeof g=="function")?Object.getOwnPropertyDescriptor(g,kt):void 0)?.get&&bt(p)&&(i.exports=g[kt])},"transformer");Pe(t,".js",a);for(const i of yt)Pe(t,i,a,{enumerable:!n,writable:!0,configurable:!0});return Pe(t,".mjs",a,{writable:!0,configurable:!0}),()=>{t[".js"]===a&&(t[".js"]=s);for(const i of[...yt,".mjs"])t[i]===a&&delete t[i]}},"createExtensions"),Jn=u(e=>t=>{if((t==="."||t===".."||t.endsWith("/.."))&&(t+="/"),le.test(t)){let r=m.join(t,"index");t.startsWith("./")&&(r=`./${r}`);try{return e(r)}catch{}}try{return e(t)}catch(r){const n=r;if(n.code==="MODULE_NOT_FOUND")try{return e(`${t}${m.sep}index`)}catch{}throw n}},"createImplicitResolver"),Vn=u((e,t)=>{let r;return m.isAbsolute(e)?r=e:Se(e)&&t&&(r=m.resolve(t,e)),r!==void 0&&!U.existsSync(r)},"candidateDoesntExist"),pe=u((e,t,r,n)=>{if(Q(3,"resolveTsFilename",{request:t,isDirectory:le.test(t)}),le.test(t))return;const s=gt(t,n);if(s){for(const o of s)if(!Vn(o,r))try{return e(o)}catch(a){const{code:i}=a;if(i!=="MODULE_NOT_FOUND"&&i!=="ERR_PACKAGE_PATH_NOT_EXPORTED")throw a}}},"resolveTsFilename"),Gn=u((e,t,r,n)=>s=>{if(Q(3,"resolveTsFilename",{request:s,resolveTsExtensions:r,isFilePath:G(s)}),r&&G(s)){const o=pe(e,s,t,n);if(o)return o}try{return e(s)}catch(o){const a=o;if(r&&a.code==="M Line truncated
`).slice(1);return t[1].includes(xt)||t[2].includes(xt)},"isFromCjsLexer"),Kn=u((e,t)=>{const r=e.split("?"),n=new URLSearchParams(r[1]);if(t?.filename){const s=Ue(t.filename);let o;if(s){const h=s.split("?"),p=h[0];o=h[1];const f=new URLSearchParams(o).get("namespace");t.filename=p,t.path=m.dirname(p),t.paths=P._nodeModulePaths(t.path),f||(P._cache[p]=t)}o||(o=t.filename.split("?")[1]);const i=new URLSearchParams(o).get("namespace");i&&n.append("namespace",i)}return[r[0],n,(s,o)=>(m.isAbsolute(s)&&!s.endsWith(".json")&&!s.endsWith(".node")&&!(o===0&&Qn(new Error))&&(s+=Ae(n)),s)]},"preserveQuery"),zn=u((e,t,r,n)=>{if(e.startsWith(Y)&&(e=K.fileURLToPath(e)),n&&!G(e)&&!Oe(t?.filename)){const s=it(n,e);for(const o of s)try{return r(o)}catch{}}return r(e)},"resolveTsPaths"),Hn=u((e,t,r,n)=>(s,o,...a)=>{if(e.enabled===!1)return t(s,o,...a);s=Re(s);const[i,h,p]=Kn(s,o);if((h.get("namespace")??void 0)!==n)return t(s,o,...a);Q(2,"resolve",{request:s,parent:o?.filename??o,restOfArgs:a});let y=u(E=>t(E,o,...a),"nextResolveSimple");const f=Oe(o?.filename),v=!!(n||o?.filename&&ut.test(o.filename)),b=!!(v||r?.config.compilerOptions?.allowJs&&!f);y=Gn(y,o?.path??void 0,b,v),y=Jn(y);const k=p(zn(i,o,y,r),a.length);return Q(1,"resolved",{request:s,parent:o?.filename??o,resolved:k}),k},"createResolveFilename"),wt=u((e,t)=>{if(!t)throw new Error("The current file path (__filename or import.meta.url) must be provided in the second argument of tsx.require()");return e.startsWith(".")?((typeof t=="string"&&t.startsWith(Y)||t instanceof URL)&&(t=K.fileURLToPath(t)),m.resolve(m.dirname(t),e)):e},"resolveContext"),Xn=u(e=>{const{sourceMapsEnabled:t}=process,r={enabled:!0},n=ct(process.env.TSX_TSCONFIG_PATH);process.setSourceMapsEnabled(!0);const s=P._resolveFilename,o=Hn(r,s,n,e?.namespace);P._resolveFilename=o;const a=Wn(r,P._extensions,n,e?.namespace),i=e?.namespace?void 0:vn(),h=u(()=>{t===!1&&process.setSourceMapsEnabled(!1),r.enabled=!1,P._resolveFilename===o&&(P._resolveFilename=s),a(),i?.()},"unregister");if(e?.namespace){const p=u((f,v)=>{const b=wt(f,v),[k,E]=b.split("?"),d=new URLSearchParams(E);return e.namespace&&!k.startsWith("node:")&&d.set("namespace",e.namespace),Et.require(k+Ae(d))},"scopedRequire");h.require=p;const y=u((f,v,b)=>{const k=wt(f,v),[E,d]=k.split("?"),g=new URLSearchParams(d);return e.namespace&&!E.startsWith("node:")&&g.set("namespace",e.namespace),o(E+Ae(g),module,!1,b)},"scopedResolve");h.resolve=y,h.unregister=h}return h},"register");exports.cjsExtensionPattern=jn,exports.debugEnabled=ue,exports.fileUrlPrefix=Y,exports.getExtensionResolution=gt,exports.getPackageType=_n,exports.getPackageTypeSync=Dn,exports.implicitTsExtensionsPattern=Cn,exports.inlineSourceMap=Te,exports.interopCjsExports=Re,exports.isBarePackageNamePattern=Sn,exports.isDependencyPath=Oe,exports.isDirectoryPattern=le,exports.isFilePath=G,exports.isGlobalCjsLoaderActive=wn,exports.isJsonPattern=Tn,exports.isRelativePath=Se,exports.je=je,exports.loadTsconfig=ct,exports.logEsm=On,exports.nodeModulesPath=pt,exports.register=Xn,exports.tsExtensions=En,exports.tsExtensionsPattern=ut,exports.wt=it;
+10
View File
@@ -0,0 +1,10 @@
var wt=Object.defineProperty;var p=(e,t)=>wt(e,"name",{value:t,configurable:!0});import{r as xt}from"./get-pipe-path-_tAJyU_v.mjs";import $ from"node:module";import h from"node:path";import{fileURLToPath as ee,pathToFileURL as Et}from"node:url";import F,{writeSync as vt,existsSync as Ct}from"node:fs";import jt from"fs";import Tt from"os";import St from"path";import{i as Ot,b as At,a as $t}from"./index-DQtFPMc2.mjs";import{p as Pe}from"./client-D_mPDF5S.mjs";import{inspect as Pt}from"node:util";import{b as _t,a as Dt,c as Lt,d as Ut,o as _e}from"./index-gbaejti9.mjs";import{i as Rt,r as Ft}from"./node-features-JeyyvQz6.mjs";const De=p(e=>{if(!e.startsWith("data:text/javascript,"))return;const t=e.indexOf("?");if(t===-1)return;const n=new URLSearchParams(e.slice(t+1)).get("filePath");if(n)return n},"getOriginalFilePath"),Le=p(e=>{const t=De(e);return t&&($._cache[t]=$._cache[e],delete $._cache[e],e=t),e},"interopCjsExports"),Ue=p(e=>e!==null&&typeof e=="object","A"),B=p((e,t)=>Object.assign(new Error(`[${e}]: ${t}`),{code:e}),"a"),Re="ERR_INVALID_PACKAGE_CONFIG",ue="ERR_INVALID_PACKAGE_TARGET",It="ERR_PACKAGE_PATH_NOT_EXPORTED",Nt=/^\d+$/,Wt=/^(\.{1,2}|node_modules)$/i,Bt=/\/|\\/;var Fe=(e=>(e.Export="exports",e.Import="imports",e))(Fe||{});const fe=p((e,t,r,n,s)=>{if(t==null)return[];if(typeof t=="string"){const[o,...a]=t.split(Bt);if(o===".."||a.some(i=>Wt.test(i)))throw B(ue,`Invalid "${e}" target "${t}" defined in the package config`);return[s?t.replace(/\*/g,s):t]}if(Array.isArray(t))return t.flatMap(o=>fe(e,o,r,n,s));if(Ue(t)){for(const o of Object.keys(t)){if(Nt.test(o))throw B(Re,"Cannot contain numeric property keys");if(o==="default"||n.includes(o))return fe(e,t[o],r,n,s)}return[]}throw B(ue,`Invalid "${e}" target "${t}"`)},"f"),G="*",Mt=p((e,t)=>{const r=e.indexOf(G),n=t.indexOf(G);return r===n?t.length>e.length:n>r},"m");function Jt(e,t){if(!t.includes(G)&&e.hasOwnProperty(t))return[t];let r,n;for(const s of Object.keys(e))if(s.includes(G)){const[o,a,i]=s.split(G);if(i===void 0&&t.startsWith(o)&&t.endsWith(a)){const m=t.slice(o.length,-a.length||void 0);m&&(!r||Mt(r,s))&&(r=s,n=m)}}return[r,n]}p(Jt,"d");const Vt=p(e=>Object.keys(e).reduce((t,r)=>{const n=r===""||r[0]!==".";if(t===void 0||t===n)return n;throw B(Re,'"exports" cannot contain some keys starting with "." and some not')},void 0),"p"),Qt=/^\w+:/,Gt=p((e,t,r)=>{if(!e)throw new Error('"exports" is required');t=t===""?".":`./${t}`,(typeof e=="string"||Array.isArray(e)||Ue(e)&&Vt(e))&&(e={".":e});const[n,s]=Jt(e,t),o=fe(Fe.Export,e[n],t,r,s);if(o.length===0)throw B(It,t==="."?'No "exports" main defined':`Package subpath '${t}' is not defined by "exports"`);for(const a of o)if(!a.startsWith("./")&&!Qt.test(a))throw B(ue,`Invalid "exports" target "${a}" defined in the package config`);return o},"v");var Kt=Object.defineProperty,c=p((e,t)=>Kt(e,"name",{value:t,configurable:!0}),"i");function A(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}p(A,"x"),c(A,"slash");const zt=c((e,t)=>{const r=`readFileSync:${t}`;let n=e?.get(r);return n===void 0&&(n=F.readFileSync(t,"utf8"),e?.set(r,n)),n},"readFile"),_=c((e,t)=>{const r=`tryStat:${t}`;let n=e?.get(r);if(n===void 0){try{n=F.statSync(t)}catch{n=null}e?.set(r,n)}return n??void 0},"tryStat"),K=c((e,t,r)=>{for(;;){const n=h.posix.join(e,t);if(_(r,n))return n;const s=h.dirname(e);if(s===e)return;e=s}},"findUp");function Ie(e,t=!1){const r=e.length;let n=0,s="",o=0,a=16,i=0,m=0,u=0,y=0,f=0;function E(l,C){let S=0,x=0;for(;S<l;){let w=e.charCodeAt(n);if(w>=48&&w<=57)x=x*16+w-48;else if(w>=65&&w<=70)x=x*16+w-65+10;else if(w>=97&&w<=102)x=x*16+w-97+10;else break;n++,S++}return S<l&&(x=-1),x}p(E,"A"),c(E,"scanHexDigits");function b(l){n=l,s="",o=0,a=16,f=0}p(b,"O"),c(b,"setPosition");function k(){let l=n;if(e.charCodeAt(n)===48)n++;else for(n++;n<e.length&&I(e.charCodeAt(n));)n++;if(n<e.length&&e.charCodeAt(n)===46)if(n++,n<e.length&&I(e.charCodeAt(n)))for(n++;n<e.length&&I(e.charCodeAt(n));)n++;else return f=3,e.substring(l,n);let C=n;if(n<e.length&&(e.charCodeAt(n)===69||e.charCodeAt(n)===101))if(n++,(n<e.length&&e.charCodeAt(n)===43||e.charCodeAt(n)===45)&&n++,n<e.length&&I(e.charCodeAt(n))){for(n++;n<e.length&&I(e.charCodeAt(n));)n++;C=n}else f=3;return e.substring(l,C)}p(k,"h"),c(k,"scanNumber");function v(){let l="",C=n;for(;;){if(n>=r){l+=e.substring(C,n),f=2;break}const S=e.charCodeAt(n);if(S===34){l+=e.substring(C,n),n++;break}if(S===92){if(l+=e.substring(C,n),n++,n>=r){f=2;break}switch(e.charCodeAt(n++)){case 34:l+='"';break;case 92:l+="\\";break;case 47:l+="/";break;case 98:l+="\b";break;case 102:l+="\f";break;case 110:l+=`
`;break;case 114:l+="\r";break;case 116:l+=" ";break;case 117:const x=E(4);x>=0?l+=String.fromCharCode(x):f=4;break;default:f=5}C=n;continue}if(S>=0&&S<=31)if(M(S)){l+=e.substring(C,n),f=2;break}else f=6;n++}return l}p(v,"D"),c(v,"scanString");function d(){if(s="",f=0,o=n,m=i,y=u,n>=r)return o=r,a=17;let l=e.charCodeAt(n);if(te(l)){do n++,s+=String.fromCharCode(l),l=e.charCodeAt(n);while(te(l));return a=15}if(M(l))return n++,s+=String.fromCharCode(l),l===13&&e.charCodeAt(n)===10&&(n++,s+=`
`),i++,u=n,a=14;switch(l){case 123:return n++,a=1;case 125:return n++,a=2;case 91:return n++,a=3;case 93:return n++,a=4;case 58:return n++,a=6;case 44:return n++,a=5;case 34:return n++,s=v(),a=10;case 47:const C=n-1;if(e.charCodeAt(n+1)===47){for(n+=2;n<r&&!M(e.charCodeAt(n));)n++;return s=e.substring(C,n),a=12}if(e.charCodeAt(n+1)===42){n+=2;const S=r-1;let x=!1;for(;n<S;){const w=e.charCodeAt(n);if(w===42&&e.charCodeAt(n+1)===47){n+=2,x=!0;break}n++,M(w)&&(w===13&&e.charCodeAt(n)===10&&n++,i++,u=n)}return x||(n++,f=1),s=e.substring(C,n),a=13}return s+=String.fromCharCode(l),n++,a=16;case 45:if(s+=String.fromCharCode(l),n++,n===r||!I(e.charCodeAt(n)))return a=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return s+=k(),a=11;default:for(;n<r&&g(l);)n++,l=e.charCodeAt(n);if(o!==n){switch(s=e.substring(o,n),s){case"true":return a=8;case"false":return a=9;case"null":return a=7}return a=16}return s+=String.fromCharCode(l),n++,a=16}}p(d,"c"),c(d,"scanNext");function g(l){if(te(l)||M(l))return!1;switch(l){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}p(g,"p"),c(g,"isUnknownContentCharacter");function T(){let l;do l=d();while(l>=12&&l<=15);return l}return p(T,"b"),c(T,"scanNextNonTrivia"),{setPosition:b,getPosition:c(()=>n,"getPosition"),scan:t?T:d,getToken:c(()=>a,"getToken"),getTokenValue:c(()=>s,"getTokenValue"),getTokenOffset:c(()=>o,"getTokenOffset"),getTokenLength:c(()=>n-o,"getTokenLength"),getTokenStartLine:c(()=>m,"getTokenStartLine"),getTokenStartCharacter:c(()=>o-y,"getTokenStartCharacter"),getTokenError:c(()=>f,"getTokenError")}}p(Ie,"Ne"),c(Ie,"createScanner");function te(e){return e===32||e===9}p(te,"X"),c(te,"isWhiteSpace");function M(e){return e===10||e===13}p(M,"P"),c(M,"isLineBreak");function I(e){return e>=48&&e<=57}p(I,"S"),c(I,"isDigit");var Ne;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(Ne||(Ne={})),new Array(20).fill(0).map((e,t)=>" ".repeat(t));const J=200;new Array(J).fill(0).map((e,t)=>`
`+" ".repeat(t)),new Array(J).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(J).fill(0).map((e,t)=>`\r
`+" ".repeat(t)),new Array(J).fill(0).map((e,t)=>`
`+" ".repeat(t)),new Array(J).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(J).fill(0).map((e,t)=>`\r
`+" ".repeat(t));var ne;(function(e){e.DEFAULT={allowTrailingComma:!1}})(ne||(ne={}));function We(e,t=[],r=ne.DEFAULT){let n=null,s=[];const o=[];function a(i){Array.isArray(s)?s.push(i):n!==null&&(s[n]=i)}return p(a,"l"),c(a,"onValue"),Be(e,{onObjectBegin:c(()=>{const i={};a(i),o.push(s),s=i,n=null},"onObjectBegin"),onObjectProperty:c(i=>{n=i},"onObjectProperty"),onObjectEnd:c(()=>{s=o.pop()},"onObjectEnd"),onArrayBegin:c(()=>{const i=[];a(i),o.push(s),s=i,n=null},"onArrayBegin"),onArrayEnd:c(()=>{s=o.pop()},"onArrayEnd"),onLiteralValue:a,onError:c((i,m,u)=>{t.push({error:i,offset:m,length:u})},"onError")},r),s[0]}p(We,"Re"),c(We,"parse$1");function Be(e,t,r=ne.DEFAULT){const n=Ie(e,!1),s=[];let o=0;function a(j){return j?()=>o===0&&j(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}p(a,"l"),c(a,"toNoArgVisit");function i(j){return j?O=>o===0&&j(O,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}p(i,"g"),c(i,"toOneArgVisit");function m(j){return j?O=>o===0&&j(O,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>s.slice()):()=>!0}p(m,"m"),c(m,"toOneArgVisitWithPath");function u(j){return j?()=>{o>0?o++:j(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>s.slice())===!1&&(o=1)}:()=>!0}p(u,"k"),c(u,"toBeginVisit");function y(j){return j?()=>{o>0&&o--,o===0&&j(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter())}:()=>!0}p(y,"w"),c(y,"toEndVisit");const f=u(t.onObjectBegin),E=m(t.onObjectProperty),b=y(t.onObjectEnd),k=u(t.onArrayBegin),v=y(t.onArrayEnd),d=m(t.onLiteralValue),g=i(t.onSeparator),T=a(t.onComment),l=i(t.onError),C=r&&r.disallowComments,S=r&&r.allowTrailingComma;function x(){for(;;){const j=n.scan();switch(n.getTokenError()){case 4:w(14);break;case 5:w(15);break;case 3:w(13);break;case 1:C||w(11);break;case 2:w(12);break;case 6:w(16);break}switch(j){case 12:case 13:C?w(10):T();break;case 16:w(1);break;case 15:case 14:break;default:return j}}}p(x,"v"),c(x,"scanNext");function w(j,O=[],$e=[]){if(l(j),O.length+$e.length>0){let q=n.getToken();for(;q!==17;){if(O.indexOf(q)!==-1){x();break}else if($e.indexOf(q)!==-1)break;q=x()}}}p(w,"d"),c(w,"handleError");function D(j){const O=n.getTokenValue();return j?d(O):(E(O),s.push(O)),x(),!0}p(D,"L"),c(D,"parseString");function L(){switch(n.getToken()){case 11:const j=n.getTokenValue();let O=Number(j);isNaN(O)&&(w(2),O=0),d(O);break;case 7:d(null);break;case 8:d(!0);break;case 9:d(!1);break;default:return!1}return x(),!0}p(L,"B"),c(L,"parseLiteral");function P(){return n.getToken()!==10?(w(3,[],[2,5]),!1):(D(!1),n.getToken()===6?(g(":"),x(),Z()||w(4,[],[2,5])):w(5,[],[2,5]),s.pop(),!0)}p(P,"$"),c(P,"parseProperty");function W(){f(),x();let j=!1;for(;n.getToken()!==2&&n.getToken()!==17;){if(n.getToken()===5){if(j||w(4,[],[]),g(","),x(),n.getToken()===2&&S)break}else j&&w(6,[],[]);P()||w(4,[],[2,5]),j=!0}return b(),n.getToken()!==2?w(7,[2],[]):x(),!0}p(W,"N"),c(W,"parseObject");function Ae(){k(),x();let j=!0,O=!1;for(;n.getToken()!==4&&n.getToken()!==17;){if(n.getToken()===5){if(O||w(4,[],[]),g(","),x(),n.getToken()===4&&S)break}else O&&w(6,[],[]);j?(s.push(0),j=!1):s[s.length-1]++,Z()||w(4,[],[4,5]),O=!0}return v(),j||s.pop(),n.getToken()!==4?w(8,[4],[]):x(),!0}p(Ae,"$e"),c(Ae,"parseArray");function Z(){switch(n.getToken()){case 3:return Ae();case 1:return W();case 10:return D(!0);default:return L()}}return p(Z,"H"),c(Z,"parseValue"),x(),n.getToken()===17?r.allowEmptyContent?!0:(w(4,[],[]),!1):Z()?(n.getToken()!==17&&w(9,[],[]),!0):(w(4,[],[]),!1)}p(Be,"Pe"),c(Be,"visit");var Me;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(Me||(Me={}));var Je;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(Je||(Je={}));const Ht=We;var Ve;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="Close Line truncated
//# sourceMappingURL=data:application/json;base64,`,it=p(()=>process.sourceMapsEnabled??!0,"shouldApplySourceMap"),Ce=p(({code:e,map:t})=>e+$n+Buffer.from(JSON.stringify(t),"utf8").toString("base64"),"inlineSourceMap"),z=Symbol.for("tsx:global-cjs-loader-count"),H=globalThis,Pn=p(()=>(H[z]??0)>0,"isGlobalCjsLoaderActive"),_n=p(()=>(H[z]=(H[z]??0)+1,()=>{H[z]=Math.max((H[z]??1)-1,0)}),"activateGlobalCjsLoader"),je=p(e=>e[0]==="."&&(e[1]==="/"||e[1]==="."||e[2]==="/"),"isRelativePath"),V=p(e=>je(e)||h.isAbsolute(e),"isFilePath"),X="file://",Dn=[".ts",".tsx",".jsx",".mts",".cts"],ct=/\.([cm]?ts|[tj]sx)(?:$|[?#])/,Ln=/\.(?:ts|tsx|jsx)(?:$|[?#])/,Un=/[/\\].+\.(?:cts|cjs)(?:$|[?#])/,Rn=/\.json(?:$|[?#])/,ce=/\/(?:$|[?#])/,Fn=/^(?:@[^/]+\/)?[^/\\]+$/,lt=`${h.sep}node_modules${h.sep}`,Te=p(e=>e?.split(h.sep).includes("node_modules")??!1,"isDependencyPath"),le=Number(process.env.TSX_DEBUG);le&&(_e.enabled=!0,_e.supportLevel=3);const pt=p(e=>(t,...r)=>{if(!le||t>le)return;const n=`${Ut(` tsx P${process.pid} `)} ${e}`,s=r.map(o=>typeof o=="string"?o:Pt(o,{colors:!0})).join(" ");vt(1,`${n} ${s}
`)},"createLog"),Q=pt(_t(Dt(" CJS "))),In=pt(Lt(" ESM ")),R=new Map,Nn=p(async e=>{if(R.has(e))return R.get(e);if(!await F.promises.access(e).then(()=>!0,()=>!1)){R.set(e,void 0);return}const r=await F.promises.readFile(e,"utf8");try{const n=JSON.parse(r);return R.set(e,n),n}catch{throw new Error(`Error parsing: ${e}`)}},"readPackageJson"),Wn=p(e=>{if(R.has(e))return R.get(e);if(!F.existsSync(e)){R.set(e,void 0);return}const t=F.readFileSync(e,"utf8");try{const r=JSON.parse(t);return R.set(e,r),r}catch{throw new Error(`Error parsing: ${e}`)}},"readPackageJsonSync"),Bn=p(async e=>{let t=new URL("package.json",e);for(;!t.pathname.endsWith("/node_modules/package.json");){const r=ee(t),n=await Nn(r);if(n)return n;const s=t;if(t=new URL("../package.json",t),t.pathname===s.pathname)break}},"findPackageJson"),ut=p(e=>{let t=new URL("package.json",e);for(;!t.pathname.endsWith("/node_modules/package.json");){const r=ee(t),n=Wn(r);if(n)return n;const s=t;if(t=new URL("../package.json",t),t.pathname===s.pathname)break}},"findPackageJsonSync"),Mn=p(async e=>(await Bn(e))?.type??"commonjs","getPackageType"),Jn=p(e=>ut(e)?.type??"commonjs","getPackageTypeSync"),Vn=p(e=>ut(e)?.type,"getNearestPackageTypeSync"),ft=[".js",".json"],dt=[".ts",".tsx",".jsx"],Qn=new Set([".json",".node"]),Gn=[...dt,...ft],Kn=[...ft,...dt],Y=Object.create(null);Y[".js"]=[".ts",".tsx",".js",".jsx"],Y[".jsx"]=[".tsx",".ts",".jsx",".js"],Y[".cjs"]=[".cts"],Y[".mjs"]=[".mts"];const zn=new Set([".ts",".tsx",".mts",".cts"]),mt=p((e,t=!1)=>{const r=e.indexOf("?"),n=r===-1?e:e.slice(0,r),s=r===-1?"":e.slice(r);if(!t&&!V(n)&&!n.startsWith(X))return;const o=h.extname(n);if(zn.has(o))return;const a=Y[o];if(a){const m=n.slice(0,-o.length);return a.map(u=>m+u+s)}return Qn.has(o)?void 0:(!(e.startsWith(X)||V(n))||n.includes(lt)||n.includes("/node_modules/")?Kn:Gn).map(m=>n+m+s)},"getExtensionResolution"),Se=p(e=>Array.from(e).length>0?`?${e.toString()}`:"","urlSearchParamsStringify"),Hn=[".cts",".mts",".ts",".tsx",".jsx"],Xn=[".js",".cjs",".mjs"],ht=[".ts",".tsx",".jsx"],gt="module.exports",Yn='Top-level await is currently not supported with the "cjs" output format',yt=p(e=>{const t=h.extname(e);return t===".mjs"||t===".mts"||(t===".js"||t===".ts")&&Vn(Et(e).toString())!=="commonjs"},"isRequireEsmCandidate"),Oe=p((e,t,r,n)=>{const s=Object.getOwnPropertyDescriptor(e,t);s?.set?e[t]=r:(!s||s.configurable)&&Object.defineProperty(e,t,{value:r,enumerable:s?.enumerable||n?.enumerable,writable:n?.writable??(s?s.writable:!0),configurable:n?.configurable??(s?s.configurable:!0)})},"safeSet"),Zn=p((e,t,r,n)=>{const s=t[".js"],o=process.features.require_module??Rt(Ft),a=p((i,m)=>{if(e.enabled===!1)return s(i,m);const[u,y]=m.split("?");if((new URLSearchParams(y).get("namespace")??void 0)!==n)return s(i,m);Q(2,"load",{filePath:m}),i.id?.startsWith("data:text/javascript,")&&(i.path=h.dirname(u)),Pe?.send&&Pe.send({type:"dependency",path:u});const E=Hn.some(l=>u.endsWith(l)),b=Xn.some(l=>u.endsWith(l));if(!E&&!b)return s(i,u);let k=F.readFileSync(u,"utf8");const v=b&&!u.endsWith(".cjs")&&!u.endsWith(".cts")&&Ot(k),d=(E||v)&&r&&ve(r,u)?r.config:void 0;if(u.endsWith(".cjs")){const l=At(m,k);l&&(k=it()?Ce(l):l.code)}else if(E||v)try{const l=$t(k,m,{tsconfigRaw:d});k=it()?Ce(l):l.code}catch(l){throw yt(u)&&l instanceof Error&&l.name==="TransformError"&&l.message.includes(Yn)&&Object.assign(l,{code:o?"ERR_REQUIRE_ASYNC_MODULE":"ERR_REQUIRE_ESM"}),l}Q(1,"loaded",{filePath:u}),i._compile(k,u),y&&$._cache[u]===i&&($._cache[m]=i,delete $._cache[u]);const{exports:g}=i;(o&&g&&(typeof g=="object"||typeof g=="function")?Object.getOwnPropertyDescriptor(g,gt):void 0)?.get&&yt(u)&&(i.exports=g[gt])},"transformer");Oe(t,".js",a);for(const i of ht)Oe(t,i,a,{enumerable:!n,writable:!0,configurable:!0});return Oe(t,".mjs",a,{writable:!0,configurable:!0}),()=>{t[".js"]===a&&(t[".js"]=s);for(const i of[...ht,".mjs"])t[i]===a&&delete t[i]}},"createExtensions"),qn=p(e=>t=>{if((t==="."||t===".."||t.endsWith("/.."))&&(t+="/"),ce.test(t)){let r=h.join(t,"index");t.startsWith("./")&&(r=`./${r}`);try{return e(r)}catch{}}try{return e(t)}catch(r){const n=r;if(n.code==="MODULE_NOT_FOUND")try{return e(`${t}${h.sep}index`)}catch{}throw n}},"createImplicitResolver"),er=p((e,t)=>{let r;return h.isAbsolute(e)?r=e:je(e)&&t&&(r=h.resolve(t,e)),r!==void 0&&!Ct(r)},"candidateDoesntExist"),pe=p((e,t,r,n)=>{if(Q(3,"resolveTsFilename",{request:t,isDirectory:ce.test(t)}),ce.test(t))return;const s=mt(t,n);if(s){for(const o of s)if(!er(o,r))try{return e(o)}catch(a){const{code:i}=a;if(i!=="MODULE_NOT_FOUND"&&i!=="ERR_PACKAGE_PATH_NOT_EXPORTED")throw a}}},"resolveTsFilename"),tr=p((e,t,r,n)=>s=>{if(Q(3,"resolveTsFilename",{request:s,resolveTsExtensions:r,isFilePath:V(s)}),r&&V(s)){const o=pe(e,s,t,n);if(o)return o}try{return e(s)}catch(o){const a=o;if(r&&a.code==="MODULE_NOT_FOUND"){if(a.path){const m=a.message.match(/^Cannot find module '([^']+)'$/);if(m){const y=m[1],f=pe(e,y,t,n);if(f)return f}const u=a.message.match(/^ Line truncated
`).slice(1);return t[1].includes(kt)||t[2].includes(kt)},"isFromCjsLexer"),rr=p((e,t)=>{const r=e.split("?"),n=new URLSearchParams(r[1]);if(t?.filename){const s=De(t.filename);let o;if(s){const m=s.split("?"),u=m[0];o=m[1];const f=new URLSearchParams(o).get("namespace");t.filename=u,t.path=h.dirname(u),t.paths=$._nodeModulePaths(t.path),f||($._cache[u]=t)}o||(o=t.filename.split("?")[1]);const i=new URLSearchParams(o).get("namespace");i&&n.append("namespace",i)}return[r[0],n,(s,o)=>(h.isAbsolute(s)&&!s.endsWith(".json")&&!s.endsWith(".node")&&!(o===0&&nr(new Error))&&(s+=Se(n)),s)]},"preserveQuery"),sr=p((e,t,r,n)=>{if(e.startsWith(X)&&(e=ee(e)),n&&!V(e)&&!Te(t?.filename)){const s=ot(n,e);for(const o of s)try{return r(o)}catch{}}return r(e)},"resolveTsPaths"),or=p((e,t,r,n)=>(s,o,...a)=>{if(e.enabled===!1)return t(s,o,...a);s=Le(s);const[i,m,u]=rr(s,o);if((m.get("namespace")??void 0)!==n)return t(s,o,...a);Q(2,"resolve",{request:s,parent:o?.filename??o,restOfArgs:a});let y=p(v=>t(v,o,...a),"nextResolveSimple");const f=Te(o?.filename),E=!!(n||o?.filename&&ct.test(o.filename)),b=!!(E||r?.config.compilerOptions?.allowJs&&!f);y=tr(y,o?.path??void 0,b,E),y=qn(y);const k=u(sr(i,o,y,r),a.length);return Q(1,"resolved",{request:s,parent:o?.filename??o,resolved:k}),k},"createResolveFilename"),bt=p((e,t)=>{if(!t)throw new Error("The current file path (__filename or import.meta.url) must be provided in the second argument of tsx.require()");return e.startsWith(".")?((typeof t=="string"&&t.startsWith(X)||t instanceof URL)&&(t=ee(t)),h.resolve(h.dirname(t),e)):e},"resolveContext"),ar=p(e=>{const{sourceMapsEnabled:t}=process,r={enabled:!0},n=at(process.env.TSX_TSCONFIG_PATH);process.setSourceMapsEnabled(!0);const s=$._resolveFilename,o=or(r,s,n,e?.namespace);$._resolveFilename=o;const a=Zn(r,$._extensions,n,e?.namespace),i=e?.namespace?void 0:_n(),m=p(()=>{t===!1&&process.setSourceMapsEnabled(!1),r.enabled=!1,$._resolveFilename===o&&($._resolveFilename=s),a(),i?.()},"unregister");if(e?.namespace){const u=p((f,E)=>{const b=bt(f,E),[k,v]=b.split("?"),d=new URLSearchParams(v);return e.namespace&&!k.startsWith("node:")&&d.set("namespace",e.namespace),xt(k+Se(d))},"scopedRequire");m.require=u;const y=p((f,E,b)=>{const k=bt(f,E),[v,d]=k.split("?"),g=new URLSearchParams(d);return e.namespace&&!v.startsWith("node:")&&g.set("namespace",e.namespace),o(v+Se(g),module,!1,b)},"scopedResolve");m.resolve=y,m.unregister=m}return m},"register");export{Jn as a,In as b,Un as c,le as d,Ln as e,Ce as f,Mn as g,ct as h,Fn as i,Pn as j,ve as k,at as l,X as m,Rn as n,V as o,lt as p,Te as q,ar as r,ce as s,Dn as t,mt as u,je as v,ot as w,Le as x};
+2
View File
@@ -0,0 +1,2 @@
"use strict";var Ie=Object.defineProperty;var l=(e,r)=>Ie(e,"name",{value:r,configurable:!0});var je=require("node:crypto"),w=require("node:module"),We=require("node:worker_threads"),R=require("./node-features-CEjg7cMX.cjs"),o=require("./register-C557imBs.cjs"),h=require("node:url"),te=require("node:fs"),be=require("node:fs/promises"),y=require("./index-6kqi0x0U.cjs"),re=require("./client-D3mGB526.cjs"),S=require("node:path"),F=typeof document<"u"?document.currentScript:null;const Me=l(()=>({active:!0,parsedTsconfig:void 0}),"createDefaultData"),se=l(e=>{const r={active:!0,namespace:e?.namespace,onImport:e?.onImport,parsedTsconfig:void 0,port:e?.port,tsconfig:e?.tsconfig};return e?.tsconfig!==!1&&(r.parsedTsconfig=o.loadTsconfig(e?.tsconfig??process.env.TSX_TSCONFIG_PATH)),r},"createData"),Oe=l(e=>async r=>{if(!r)throw new Error(`tsx must be loaded with --import instead of --loader
The --loader flag was deprecated in Node v20.6.0 and v18.19.0`);Object.assign(e,se(r)),r.port&&r.port.on("message",t=>{t==="deactivate"&&(e.active=!1,r.port.postMessage({type:"deactivated"}))})},"createInitialize"),$e=l(e=>()=>(e.parsedTsconfig=o.loadTsconfig(process.env.TSX_TSCONFIG_PATH),"process.setSourceMapsEnabled(true);"),"createGlobalPreload"),Ce=l(e=>{const{pathname:r}=new URL(e),t=S.extname(r);if(t===".mts"||t===".mjs")return"module";if(t===".cts"||t===".cjs")return"commonjs";if(t===".js"||o.tsExtensions.includes(t))return o.getPackageType(e)},"getFormatFromFileUrl"),Je=l(e=>{const{pathname:r}=new URL(e),t=S.extname(r);if(t===".mts"||t===".mjs")return"module";if(t===".cts"||t===".cjs")return"commonjs";if(t===".js"||o.tsExtensions.includes(t))return o.getPackageTypeSync(e)},"getFormatFromFileUrlSync"),ne="tsx-namespace",E=`${ne}=`,I="tsx-commonjs-export-preparse",_e=`${I}=1`,j="tsx-commonjs-virtual-query",W=new Map,Ne=/^data:/i,T=l(e=>Ne.test(e),"isDataUrl"),H=l((e,r)=>e.slice(1).split("&").filter(t=>t&&r.every(s=>!t.startsWith(s))).join("&"),"getQueryWithoutParameters"),_=l((e,r)=>{const t=H(e,r);return t?`?${t}`:""},"getSearchWithoutParameters"),qe=l(e=>e.replaceAll(/\/\*[\s\S]*?\*\/|\/\/[^\n\r]*/g,""),"stripComments"),Ae=l(e=>{const r=qe(e);if(/^\s*export\s*\*/.test(r))return"named";if(/^\s*import\s*\*\s*as\s+[\w$]+/.test(r))return"namespace";const t=r.match(/\{([^}]*)\}/)?.[1];if(t)return t.split(",").some(s=>{const n=s.trim().split(/\s+as\s+/)[0];return!!(n&&n!=="default")})?"named":void 0},"getCommonJsImportBinding"),xe=l((e,r,t)=>{const s=W.get(e);if(!s)return!1;try{const[n]=y.parseEsm(s);return n.some(a=>{if(a.d!==-1||a.n!==r)return!1;const i=Ae(s.slice(a.ss,a.s));return i==="named"||t&&i==="namespace"})}catch{return!1}},"parentImportsCommonJsExports"),v=l(e=>{const r=e.indexOf("?"),t=e.indexOf("#");if(T(e)){if(t===-1)return;const s=e.slice(t+1),n=s.lastIndexOf("&"),a=s.slice(n+1);return a.startsWith(E)?a.slice(E.length):void 0}if(!(r===-1||t!==-1&&t<r))return new URLSearchParams(e.slice(r,t===-1?void 0:t)).get(ne)??void 0},"getNamespace"),oe=R.isFeatureSupported(R.importAttributes)?"importAttributes":"importAssertions",ae=l(e=>e==="commonjs"||e==="commonjs-typescript","isCommonJsFormat"),ie=l(e=>e==="module-typescript"||e==="typescript","isModuleTypeScriptFormat"),Be=R.isFeatureSupported(R.esmLoadReadFile),Qe=[`${j}=`],N=[`${I}=`,`${j}=`],L=l((e,r)=>r.parsedTsconfig&&o.je(r.parsedTsconfig,e)?r.parsedTsconfig.config:void 0,"getTsconfigRaw"),De=l(e=>{if(!e.searchParams.has(j))return;const{pathname:r}=e,t=r.toLowerCase().lastIndexOf("%3f");if(t===-1)return;const s=new URL(e);return s.pathname=r.slice(0,t),s.search="",h.fileURLToPath(s)},"getFilePathFromVirtualQuery"),G=l(e=>{const r=e.startsWith(o.fileUrlPrefix)?new URL(e):void 0,t=r?h.fileURLToPath(r):e,s=r&&De(r),n=s||t,a=r&&s?h.pathToFileURL(n).toString()+_(r.search,Qe):e;return{fileUrl:r,filePath:n,loadUrl:a}},"getFileLoadContext"),ce=l((e,r)=>{if(!r?.search)return e;const t=_(r.search,N);return t?h.pathToFileURL(e).toString()+t:e},"getTransformPath"),le=l((e,r,t)=>{const s=[...r?H(r.search,[E,...N]).split("&").filter(Boolean):[],...t?[`namespace=${encodeURIComponent(t)}`]:[]].join("&");return s?`${e}?${s}`:e},"getFilePathWithQuery"),He=new TextDecoder,me=l(e=>typeof e=="string"?e:He.decode(e),"decodeSource"),Ge=l((e,r)=>{const t=new URL(r),s=r.startsWith(o.fileUrlPrefix)?G(r).filePath:void 0;if(T(r)){if(e.namespace){const a=`${E}${e.namespace}`;t.hash===`#${a}`?t.hash="":t.hash.endsWith(`&${a}`)&&(t.hash=t.hash.slice(0,-a.length-1))}}else t.searchParams.delete("tsx-namespace"),t.searchParams.delete(I),t.searchParams.delete(j);s&&(t.pathname=new URL(h.pathToFileURL(s)).pathname);const n=t.toString();return e.port&&e.port.postMessage({type:"load",url:n}),e.onImport?.(n),n},"notifyLoad"),de=l((e,r)=>{if(!e.active)return!1;const t=v(r);if(e.namespace!==t)return!1;const s=Ge(e,r);return re.parent.send&&re.parent.send({type:"dependency",path:s}),!0},"prepareLoad"),ue=l((e,r)=>{if(!o.isJsonPattern.test(e))return r;const t=r[oe];return t?.type?r:{...r,[oe]:{...t,type:"json"}}},"prepareJsonAttributes"),z=l(({conditions:e})=>e?.includes("require")===!0&&!e.includes("import"),"isCommonJsRequireContext$1"),ze=l(e=>{const r=l(async(t,s,n)=>{if(!de(e,t))return n(t,s);const a=v(t),{fileUrl:i,filePath:c,loadUrl:u}=G(t),f=ue(u,s),m=await n(u,f);o.logEsm(3,"loaded by next loader",{url:t,loadUrl:u,loaded:m});const d=i?.searchParams.has(I)===!0,p=m.format,g=i?new URL(h.pathToFileURL(c)):void 0;if(g&&i&&(g.search=_(i.search,N)),ae(p)&&i&&m.responseURL?.startsWith("file:")&&!c.endsWith(".cjs")){const P=await be.readFile(h.pathToFileURL(c),"utf8"),C=y.isESM(P);if(p==="commonjs-typescript"||!c.endsWith(".js")||C){if(!Be){if(d&&C&&o.implicitTsExtensionsPattern.test(c)){const J=await y.transform(P,c,{define:{"import.meta.url":JSON.stringify(g.toString())},tsconfigRaw:L(c,e)});return W.set(t,J.code),{format:"module",source:o.inlineSourceMap(J)}}return m}if(!a&&!d& Line truncated
Generated Vendored Executable
+3
View File
@@ -0,0 +1,3 @@
"use strict";var u=Object.defineProperty;var s=(e,r)=>u(e,"name",{value:r,configurable:!0});var c=require("node:repl"),l=require("./package-sd2gMcZx.cjs"),q=require("./index-6kqi0x0U.cjs");require("node:path"),require("node:url"),require("esbuild"),require("node:crypto"),require("./node-features-CEjg7cMX.cjs"),require("node:fs"),require("node:os"),require("./temporary-directory-B83uKxJF.cjs"),console.log(`Welcome to tsx v${l.version} (Node.js ${process.version}).
Type ".help" for more information.`);const i=c.start(),{eval:p}=i,v=s(async function(e,r,o,t){const a=await q.transform(e,o,{loader:"ts",tsconfigRaw:{compilerOptions:{preserveValueImports:!0}},define:{require:"global.require"}}).catch(n=>(console.log(n.message),{code:`
`}));return p.call(this,a.code,r,o,t)},"preEval");i.eval=v;
Generated Vendored Executable
+3
View File
@@ -0,0 +1,3 @@
var p=Object.defineProperty;var t=(o,r)=>p(o,"name",{value:r,configurable:!0});import a from"node:repl";import{v as l}from"./package-B13bX4zz.mjs";import{t as c}from"./index-DQtFPMc2.mjs";import"node:path";import"node:url";import"esbuild";import"node:crypto";import"./node-features-JeyyvQz6.mjs";import"node:fs";import"node:os";import"./temporary-directory-BDDVQOvU.mjs";console.log(`Welcome to tsx v${l} (Node.js ${process.version}).
Type ".help" for more information.`);const s=a.start(),{eval:f}=s,v=t(async function(o,r,e,i){const m=await c(o,e,{loader:"ts",tsconfigRaw:{compilerOptions:{preserveValueImports:!0}},define:{require:"global.require"}}).catch(n=>(console.log(n.message),{code:`
`}));return f.call(this,m.code,r,e,i)},"preEval");s.eval=v;
+1
View File
@@ -0,0 +1 @@
var m=Object.defineProperty;var a=(r,t)=>m(r,"name",{value:t,configurable:!0});import{r as o}from"./get-pipe-path-_tAJyU_v.mjs";import{r as n}from"./register-C9AniqUt.mjs";let e;const s=a((r,t)=>(e||(e=n({namespace:Date.now().toString()})),e.require(r,t)),"tsxRequire"),i=a((r,t,c)=>(e||(e=n({namespace:Date.now().toString()})),e.resolve(r,t,c)),"resolve");i.paths=o.resolve.paths,s.resolve=i,s.main=o.main,s.extensions=o.extensions,s.cache=o.cache;export{s as t};
+1
View File
@@ -0,0 +1 @@
"use strict";var c=Object.defineProperty;var a=(r,t)=>c(r,"name",{value:t,configurable:!0});var s=require("./get-pipe-path-D4YM6rQt.cjs"),n=require("./register-C557imBs.cjs");let e;const i=a((r,t)=>(e||(e=n.register({namespace:Date.now().toString()})),e.require(r,t)),"tsxRequire"),o=a((r,t,u)=>(e||(e=n.register({namespace:Date.now().toString()})),e.resolve(r,t,u)),"resolve");o.paths=s.require.resolve.paths,i.resolve=o,i.main=s.require.main,i.extensions=s.require.extensions,i.cache=s.require.cache,exports.tsxRequire=i;
Generated Vendored Executable
+1
View File
@@ -0,0 +1 @@
"use strict";const a=new Set(["Custom ESM Loaders is an experimental feature. This feature could change at any time","Custom ESM Loaders is an experimental feature and might change at any time","Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js."]),{emit:n}=process;process.emit=function(e,t){if(!(e==="warning"&&a.has(t.message)))return Reflect.apply(n,this,arguments)};
Generated Vendored Executable
+1
View File
@@ -0,0 +1 @@
const t=new Set(["Custom ESM Loaders is an experimental feature. This feature could change at any time","Custom ESM Loaders is an experimental feature and might change at any time","Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js."]),{emit:n}=process;process.emit=function(e,a){if(!(e==="warning"&&t.has(a.message)))return Reflect.apply(n,this,arguments)};
+1
View File
@@ -0,0 +1 @@
"use strict";var s=require("node:path"),r=require("node:os");const{geteuid:e}=process,t=e?e():r.userInfo().username,i=s.join(r.tmpdir(),`tsx-${t}`);exports.tmpdir=i;
+1
View File
@@ -0,0 +1 @@
import s from"node:path";import o from"node:os";const{geteuid:r}=process,t=r?r():o.userInfo().username,e=s.join(o.tmpdir(),`tsx-${t}`);export{e as t};
+5
View File
@@ -0,0 +1,5 @@
type RequiredProperty<Type, Keys extends keyof Type> = Type & {
[P in Keys]-?: Type[P];
};
export type { RequiredProperty as R };