node-inspect-extracted
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.util=e():t.util=e()}(this,(function(){return(()=>{"use strict";var t={255:(t,e)=>{e.l=class{hexSlice(t=0,e){return Array.prototype.map.call(this.slice(t,e),(t=>("00"+t.toString(16)).slice(-2))).join("")}}},48:(t,e,r)=>{const{internalBinding:n,Array:o,ArrayIsArray:i,ArrayPrototypeFilter:l,ArrayPrototypeForEach:c,ArrayPrototypePush:s,ArrayPrototypePushApply:a,ArrayPrototypeSort:p,ArrayPrototypeUnshift:u,BigIntPrototypeValueOf:y,BooleanPrototypeValueOf:f,DatePrototypeGetTime:g,DatePrototypeToISOString:d,DatePrototypeToString:h,ErrorPrototypeToString:b,FunctionPrototypeCall:m,FunctionPrototypeToString:$,JSONStringify:S,MapPrototypeGetSize:x,MapPrototypeEntries:P,MathFloor:O,MathMax:A,MathMin:v,MathRound:j,MathSqrt:w,Number:E,NumberIsNaN:L,NumberParseFloat:F,NumberParseInt:I,NumberPrototypeValueOf:k,Object:R,ObjectAssign:T,ObjectCreate:z,ObjectDefineProperty:N,ObjectGetOwnPropertyDescriptor:B,ObjectGetOwnPropertyNames:M,ObjectGetOwnPropertySymbols:_,ObjectGetPrototypeOf:D,ObjectIs:C,ObjectKeys:G,ObjectPrototypeHasOwnProperty:H,ObjectPrototypePropertyIsEnumerable:W,ObjectSeal:V,ObjectSetPrototypeOf:U,ReflectOwnKeys:Z,RegExp:Y,RegExpPrototypeTest:K,RegExpPrototypeToString:q,SafeStringIterator:J,SafeMap:Q,SafeSet:X,SetPrototypeGetSize:tt,SetPrototypeValues:et,String:rt,StringPrototypeCharCodeAt:nt,StringPrototypeCodePointAt:ot,StringPrototypeIncludes:it,StringPrototypeNormalize:lt,StringPrototypePadEnd:ct,StringPrototypePadStart:st,StringPrototypeRepeat:at,StringPrototypeReplace:pt,StringPrototypeSlice:ut,StringPrototypeSplit:yt,StringPrototypeToLowerCase:ft,StringPrototypeTrim:gt,StringPrototypeValueOf:dt,SymbolPrototypeToString:ht,SymbolPrototypeValueOf:bt,SymbolIterator:mt,SymbolToStringTag:$t,TypedArrayPrototypeGetLength:St,TypedArrayPrototypeGetSymbolToStringTag:xt,Uint8Array:Pt,uncurryThis:Ot}=r(765),{getOwnNonIndexProperties:At,getPromiseDetails:vt,getProxyDetails:jt,kPending:wt,kRejected:Et,previewEntries:Lt,getConstructorName:Ft,getExternalValue:It,propertyFilter:{ALL_PROPERTIES:kt,ONLY_ENUMERABLE:Rt},Proxy:Tt}=r(891),{customInspectSymbol:zt,isError:Nt,join:Bt,removeColors:Mt}=r(335),{codes:{ERR_INVALID_ARG_TYPE:_t},isStackOverflowError:Dt}=r(101),{isAsyncFunction:Ct,isGeneratorFunction:Gt,isAnyArrayBuffer:Ht,isArrayBuffer:Wt,isArgumentsObject:Vt,isBoxedPrimitive:Ut,isDataView:Zt,isExternal:Yt,isMap:Kt,isMapIterator:qt,isModuleNamespaceObject:Jt,isNativeError:Qt,isPromise:Xt,isSet:te,isSetIterator:ee,isWeakMap:re,isWeakSet:ne,isRegExp:oe,isDate:ie,isTypedArray:le,isStringObject:ce,isNumberObject:se,isBooleanObject:ae,isBigIntObject:pe}=r(63),ue=r(183),{NativeModule:ye}=r(992),{validateObject:fe}=r(356);let ge;const de=new X(l(M(r.g),(t=>K(/^[A-Z][a-zA-Z0-9]+$/,t)))),he=t=>void 0===t&&void 0!==t,be=V({showHidden:!1,depth:2,colors:!1,customInspect:!0,showProxy:!1,maxArrayLength:100,maxStringLength:1e4,breakLength:80,compact:3,sorted:!1,getters:!1}),me=/[\x00-\x1f\x27\x5c\x7f-\x9f]/,$e=/[\x00-\x1f\x27\x5c\x7f-\x9f]/g,Se=/[\x00-\x1f\x5c\x7f-\x9f]/,xe=/[\x00-\x1f\x5c\x7f-\x9f]/g,Pe=/^[a-zA-Z_][a-zA-Z_0-9]*$/,Oe=/^(0|[1-9][0-9]*)$/,Ae=/^ at (?:[^/\\(]+ \(|)node:(.+):\d+:\d+\)?$/,ve=/^ at (?:[^/\\(]+ \(|)(.+)\.js:\d+:\d+\)?$/,je=/[/\\]node_modules[/\\](.+?)(?=[/\\])/g,we=/^(\s+[^(]*?)\s*{/,Ee=/(\/\/.*?\n)|(\/\*(.|\n)*?\*\/)/g,Le=["\\x00","\\x01","\\x02","\\x03","\\x04","\\x05","\\x06","\\x07","\\b","\\t","\\n","\\x0B","\\f","\\r","\\x0E","\\x0F","\\x10","\\x11","\\x12","\\x13","\\x14","\\x15","\\x16","\\x17","\\x18","\\x19","\\x1A","\\x1B","\\x1C","\\x1D","\\x1E","\\x1F","","","","","","","","\\'","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\x7F","\\x80","\\x81","\\x82","\\x83","\\x84","\\x85","\\x86","\\x87","\\x88","\\x89","\\x8A","\\x8B","\\x8C","\\x8D","\\x8E","\\x8F","\\x90","\\x91","\\x92","\\x93","\\x94","\\x95","\\x96","\\x97","\\x98","\\x99","\\x9A","\\x9B","\\x9C","\\x9D","\\x9E","\\x9F"],Fe=new Y("[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))","g");let Ie;function ke(t,e){const r={budget:{},indentationLvl:0,seen:[],currentDepth:0,stylize:De,showHidden:be.showHidden,depth:be.depth,colors:be.colors,customInspect:be.customInspect,showProxy:be.showProxy,maxArrayLength:be.maxArrayLength,maxStringLength:be.maxStringLength,breakLength:be.breakLength,compact:be.compact,sorted:be.sorted,getters:be.getters};if(arguments.length>1)if(arguments.length>2&&(void 0!==arguments[2]&&(r.depth=arguments[2]),arguments.length>3&&void 0!==arguments[3]&&(r.colors=arguments[3])),"boolean"==typeof e)r.showHidden=e;else if(e){const t=G(e);for(let n=0;n<t.length;++n){const o=t[n];H(be,o)||"stylize"===o?r[o]=e[o]:void 0===r.userOptions&&(r.userOptions=e)}}return r.colors&&(r.stylize=_e),null===r.maxArrayLength&&(r.maxArrayLength=1/0),null===r.maxStringLength&&(r.maxStringLength=1/0),Ye(r,t,0)}ke.custom=zt,N(ke,"defaultOptions",{get:()=>be,set:t=>(fe(t,"options"),T(be,t))});const Re=39,Te=49;function ze(t,e){N(ke.colors,e,{get(){return this[t]},set(e){this[t]=e},configurable:!0,enumerable:!1})}function Ne(t,e){return-1===e?`"${t}"`:-2===e?`\`${t}\``:`'${t}'`}ke.colors=T(z(null),{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],blink:[5,25],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],doubleunderline:[21,24],black:[30,Re],red:[31,Re],green:[32,Re],yellow:[33,Re],blue:[34,Re],magenta:[35,Re],cyan:[36,Re],white:[37,Re],bgBlack:[40,Te],bgRed:[41,Te],bgGreen:[42,Te],bgYellow:[43,Te],bgBlue:[44,Te],bgMagenta:[45,Te],bgCyan:[46,Te],bgWhite:[47,Te],framed:[51,54],overlined:[53,55],gray:[90,Re],redBright:[91,Re],greenBright:[92,Re],yellowBright:[93,Re],blueBright:[94,Re],magentaBright:[95,Re],cyanBright:[96,Re],whiteBright:[97,Re],bgGray:[100,Te],bgRedBright:[101,Te],bgGreenBright:[102,Te],bgYellowBright:[103,Te],bgBlueBright:[104,Te],bgMagentaBright:[105,Te],bgCyanBright:[106,Te],bgWhiteBright:[107,Te]}),ze("gray","grey"),ze("gray","blackBright"),ze("bgGray","bgGrey"),ze("bgGray","bgBlackBright"),ze("dim","faint"),ze("strikethrough","crossedout"),ze("strikethrough","strikeThrough"),ze("strikethrough","crossedOut"),ze("hidden","conceal"),ze("inverse","swapColors"),ze("inverse","swapcolors"),ze("doubleunderline","doubleUnderline"),ke.styles=T(z(null),{special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red",module:"underline"});const Be=t=>Le[nt(t)];function Me(t){let e=me,r=$e,n=39;if(it(t,"'")&&(it(t,'"')?it(t,"`")||it(t,"${")||(n=-2):n=-1,39!==n&&(e=Se,r=xe)),t.length<5e3&&!K(e,t))return Ne(t,n);if(t.length>100)return Ne(t=pt(t,r,Be),n);let o="",i=0;const l=t.length;for(let e=0;e<l;e++){const r=nt(t,e);(r===n||92===r||r<32||r>126&&r<160)&&(o+=i===e?Le[r]:`${ut(t,i,e)}${Le[r]}`,i=e+1)}return i!==l&&(o+=ut(t,i)),Ne(o,n)}function _e(t,e){const r=ke.styles[e];if(void 0!==r){const e=ke.colors[r];if(void 0!==e)return`[${e[0]}m${t}[${e[1]}m`}return t}function De(t){return t}function Ce(){return[]}function Ge(t,e){try{return t instanceof e}catch{return!1}}function He(t,e,r,n){let o;const i=t;for(;t||he(t);){const l=B(t,"constructor");if(void 0!==l&&"function"==typeof l.value&&""!==l.value.name&&Ge(i,l.value))return void 0===n||o===t&&de.has(l.value.name)||We(e,i,o||i,r,n),l.value.name;t=D(t),void 0===o&&(o=t)}if(null===o)return null;const l=Ft(i);if(r>e.depth&&null!==e.depth)return`${l} <Complex prototype>`;const c=He(o,e,r+1,n);return null===c?`${l} <${ke(o,{...e,customInspect:!1,depth:-1})}>`:`${l} <${c}>`}function We(t,e,r,n,o){let i,l,a=0;do{if(0!==a||e===r){if(null===(r=D(r)))return;const t=B(r,"constructor");if(void 0!==t&&"function"==typeof t.value&&de.has(t.value.name))return}0===a?l=new X:c(i,(t=>l.add(t))),i=Z(r);for(const c of i){if("constructor"===c||H(e,c)||0!==a&&l.has(c))continue;const i=B(r,c);if("function"==typeof i.value)continue;const p=fr(t,r,n,c,0,i,e);t.colors?s(o,`[2m${p}[22m`):s(o,p)}}while(3!=++a)}function Ve(t,e,r,n=""){return null===t?""!==e&&r!==e?`[${r}${n}: null prototype] [${e}] `:`[${r}${n}: null prototype] `:""!==e&&t!==e?`${t}${n} [${e}] `:`${t}${n} `}function Ue(t,e){let r;const n=_(t);if(e)r=M(t),0!==n.length&&a(r,n);else{try{r=G(t)}catch(e){ue(Qt(e)&&"ReferenceError"===e.name&&Jt(t)),r=M(t)}0!==n.length&&a(r,l(n,(e=>W(t,e))))}return r}function Ze(t,e,r){let n="";return null===e&&(n=Ft(t),n===r&&(n="Object")),Ve(e,r,n)}function Ye(t,e,r,n){if("object"!=typeof e&&"function"!=typeof e&&!he(e))return Qe(t.stylize,e,t);if(null===e)return t.stylize("null","null");const o=e,l=jt(e,!!t.showProxy);if(void 0!==l){if(t.showProxy)return function(t,e,r){if(r>t.depth&&null!==t.depth)return t.stylize("Proxy [Array]","special");r+=1,t.indentationLvl+=2;const n=[Ye(t,e[0],r),Ye(t,e[1],r)];return t.indentationLvl-=2,dr(t,n,"",["Proxy [","]"],2,r)}(t,l,r);e=l}if(t.customInspect){const n=e[zt];if("function"==typeof n&&n!==ke&&(!e.constructor||e.constructor.prototype!==e)){const e=null===t.depth?null:t.depth-r,i=m(n,o,e,function(t,e){const r={stylize:t.stylize,showHidden:t.showHidden,depth:t.depth,colors:t.colors,customInspect:t.customInspect,showProxy:t.showProxy,maxArrayLength:t.maxArrayLength,maxStringLength:t.maxStringLength,breakLength:t.breakLength,compact:t.compact,sorted:t.sorted,getters:t.getters,...t.userOptions};if(e){U(r,null);for(const t of G(r))"object"!=typeof r[t]&&"function"!=typeof r[t]||null===r[t]||delete r[t];r.stylize=U(((e,r)=>{let n;try{n=`${t.stylize(e,r)}`}catch{}return"string"!=typeof n?e:n}),null)}return r}(t,void 0!==l||!(o instanceof R)));if(i!==o)return"string"!=typeof i?Ye(t,i,r):i.replace(/\n/g,`\n${" ".repeat(t.indentationLvl)}`)}}if(t.seen.includes(e)){let r=1;return void 0===t.circular?(t.circular=new Q,t.circular.set(e,r)):(r=t.circular.get(e),void 0===r&&(r=t.circular.size+1,t.circular.set(e,r))),t.stylize(`[Circular *${r}]`,"special")}return function(t,e,r,n){let o,l;t.showHidden&&(r<=t.depth||null===t.depth)&&(l=[]);const c=He(e,t,r,l);void 0!==l&&0===l.length&&(l=void 0);let s=e[$t];("string"!=typeof s||""!==s&&(t.showHidden?H:W)(e,$t))&&(s="");let a,p="",m=Ce,S=!0,O=0;const A=t.showHidden?kt:Rt;let v,j=0;if(e[mt]||null===c)if(S=!1,i(e)){const t="Array"!==c||""!==s?Ve(c,s,"Array",`(${e.length})`):"";if(o=At(e,A),a=[`${t}[`,"]"],0===e.length&&0===o.length&&void 0===l)return`${a[0]}]`;j=2,m=rr}else if(te(e)){const r=tt(e),n=Ve(c,s,"Set",`(${r})`);if(o=Ue(e,t.showHidden),m=null!==c?or.bind(null,e):or.bind(null,et(e)),0===r&&0===o.length&&void 0===l)return`${n}{}`;a=[`${n}{`,"}"]}else if(Kt(e)){const r=x(e),n=Ve(c,s,"Map",`(${r})`);if(o=Ue(e,t.showHidden),m=null!==c?ir.bind(null,e):ir.bind(null,P(e)),0===r&&0===o.length&&void 0===l)return`${n}{}`;a=[`${n}{`,"}"]}else if(le(e)){o=At(e,A);let r=e,n="";null===c&&(n=xt(e),r=new n(e));const i=St(e);if(a=[`${Ve(c,s,n,`(${i})`)}[`,"]"],0===e.length&&0===o.length&&!t.showHidden)return`${a[0]}]`;m=nr.bind(null,r,i),j=2}else qt(e)?(o=Ue(e,t.showHidden),a=Ke("Map",s),m=ur.bind(null,a)):ee(e)?(o=Ue(e,t.showHidden),a=Ke("Set",s),m=ur.bind(null,a)):S=!0;if(S)if(o=Ue(e,t.showHidden),a=["{","}"],"Object"===c){if(Vt(e)?a[0]="[Arguments] {":""!==s&&(a[0]=`${Ve(c,s,"Object")}{`),0===o.length&&void 0===l)return`${a[0]}}`}else if("function"==typeof e){if(p=function(t,e,r){const n=$(t);if("class"===n.slice(0,5)&&n.endsWith("}")){const o=n.slice(5,-1),i=o.indexOf("{");if(-1!==i&&(!o.slice(0,i).includes("(")||we.test(o.replace(Ee))))return function(t,e,r){let n=`class ${H(t,"name")&&t.name||"(anonymous)"}`;if("Function"!==e&&null!==e&&(n+=` [${e}]`),""!==r&&e!==r&&(n+=` [${r}]`),null!==e){const e=D(t).name;e&&(n+=` extends ${e}`)}else n+=" extends [null prototype]";return`[${n}]`}(t,e,r)}let o="Function";Gt(t)&&(o=`Generator${o}`),Ct(t)&&(o=`Async${o}`);let i=`[${o}`;return null===e&&(i+=" (null prototype)"),""===t.name?i+=" (anonymous)":i+=`: ${t.name}`,i+="]",e!==o&&null!==e&&(i+=` ${e}`),""!==r&&e!==r&&(i+=` [${r}]`),i}(e,c,s),0===o.length&&void 0===l)return t.stylize(p,"special")}else if(oe(e)){p=q(null!==c?e:new Y(e));const n=Ve(c,s,"RegExp");if("RegExp "!==n&&(p=`${n}${p}`),0===o.length&&void 0===l||r>t.depth&&null!==t.depth)return t.stylize(p,"regexp")}else if(ie(e)){p=L(g(e))?h(e):d(e);const r=Ve(c,s,"Date");if("Date "!==r&&(p=`${r}${p}`),0===o.length&&void 0===l)return t.stylize(p,"date")}else if(Nt(e)){if(p=function(t,e,r,n,o){const i=null!=t.name?rt(t.name):"Error";let l=i.length,c=t.stack?rt(t.stack):b(t);if(!n.showHidden&&0!==o.length)for(const e of["name","message","stack"]){const r=o.indexOf(e);-1!==r&&c.includes(t[e])&&o.splice(r,1)}if(null===e||i.endsWith("Error")&&c.startsWith(i)&&(c.length===l||":"===c[l]||"\n"===c[l])){let t="Error";if(null===e){const e=c.match(/^([A-Z][a-z_ A-Z0-9[\]()-]+)(?::|\n {4}at)/)||c.match(/^([a-z_A-Z0-9-]*Error)$/);t=e&&e[1]||"",l=t.length,t=t||"Error"}const n=Ve(e,r,t).slice(0,-1);i!==n&&(c=n.includes(i)?0===l?`${n}: ${c}`:`${n}${c.slice(l)}`:`${n} [${i}]${c.slice(l)}`)}let s=t.message&&c.indexOf(t.message)||-1;-1!==s&&(s+=t.message.length);const a=c.indexOf("\n at",s);if(-1===a)c=`[${c}]`;else if(n.colors){let t=c.slice(0,a);const e=c.slice(a+1).split("\n");for(const r of e){const e=r.match(Ae)||r.match(ve);if(null!==e&&ye.exists(e[1]))t+=`\n${n.stylize(r,"undefined")}`;else{let e;t+="\n";let o=0;for(;e=je.exec(r);)t+=r.slice(o,e.index+14),t+=n.stylize(e[1],"module"),o=e.index+e[0].length;t+=0===o?r:r.slice(o)}}c=t}if(0!==n.indentationLvl){const t=" ".repeat(n.indentationLvl);c=c.replace(/\n/g,`\n${t}`)}return c}(e,c,s,t,o),0===o.length&&void 0===l)return p}else if(Ht(e)){const r=Ve(c,s,Wt(e)?"ArrayBuffer":"SharedArrayBuffer");if(void 0===n)m=er;else if(0===o.length&&void 0===l)return r+`{ byteLength: ${qe(t.stylize,e.byteLength)} }`;a[0]=`${r}{`,u(o,"byteLength")}else if(Zt(e))a[0]=`${Ve(c,s,"DataView")}{`,u(o,"byteLength","byteOffset","buffer");else if(Xt(e))a[0]=`${Ve(c,s,"Promise")}{`,m=yr;else if(ne(e))a[0]=`${Ve(c,s,"WeakSet")}{`,m=t.showHidden?ar:sr;else if(re(e))a[0]=`${Ve(c,s,"WeakMap")}{`,m=t.showHidden?pr:sr;else if(Jt(e))a[0]=`${Ve(c,s,"Module")}{`,m=Xe.bind(null,o);else if(Ut(e)){if(p=function(t,e,r,n,o){let i,l;se(t)?(i=k,l="Number"):ce(t)?(i=dt,l="String",r.splice(0,t.length)):ae(t)?(i=f,l="Boolean"):pe(t)?(i=y,l="BigInt"):(i=bt,l="Symbol");let c=`[${l}`;return l!==n&&(c+=null===n?" (null prototype)":` (${n})`),c+=`: ${Qe(De,i(t),e)}]`,""!==o&&o!==n&&(c+=` [${o}]`),0!==r.length||e.stylize===De?c:e.stylize(c,ft(l))}(e,t,o,c,s),0===o.length&&void 0===l)return p}else{if(0===o.length&&void 0===l){if(Yt(e)){const r=It(e).toString(16);return t.stylize(`[External: ${r}]`,"special")}return`${Ze(e,c,s)}{}`}a[0]=`${Ze(e,c,s)}{`}if(r>t.depth&&null!==t.depth){let r=Ze(e,c,s).slice(0,-1);return null!==c&&(r=`[${r}]`),t.stylize(r,"special")}r+=1,t.seen.push(e),t.currentDepth=r;const w=t.indentationLvl;try{for(v=m(t,e,r),O=0;O<o.length;O++)v.push(fr(t,e,r,o[O],j));void 0!==l&&v.push(...l)}catch(r){return function(t,e,r,n){if(Dt(e))return t.seen.pop(),t.indentationLvl=n,t.stylize(`[${r}: Inspection interrupted prematurely. Maximum call stack size exceeded.]`,"special");throw e}(t,r,Ze(e,c,s).slice(0,-1),w)}if(void 0!==t.circular){const r=t.circular.get(e);if(void 0!==r){const e=t.stylize(`<ref *${r}>`,"special");!0!==t.compact?p=""===p?e:`${e} ${p}`:a[0]=`${e} ${a[0]}`}}if(t.seen.pop(),t.sorted){const e=!0===t.sorted?void 0:t.sorted;if(0===j)v=v.sort(e);else if(o.length>1){const t=v.slice(v.length-o.length).sort(e);v.splice(v.length-o.length,o.length,...t)}}const E=dr(t,v,p,a,j,r,e),F=(t.budget[t.indentationLvl]||0)+E.length;return t.budget[t.indentationLvl]=F,F>2**27&&(t.depth=-1),E}(t,e,r,n)}function Ke(t,e){return e!==`${t} Iterator`&&(""!==e&&(e+="] ["),e+=`${t} Iterator`),[`[${e}] {`,"}"]}function qe(t,e){return t(C(e,-0)?"-0":`${e}`,"number")}function Je(t,e){return t(`${e}n`,"bigint")}function Qe(t,e,r){if("string"==typeof e){let n="";if(e.length>r.maxStringLength){const t=e.length-r.maxStringLength;e=e.slice(0,r.maxStringLength),n=`... ${t} more character${t>1?"s":""}`}return!0!==r.compact&&e.length>16&&e.length>r.breakLength-r.indentationLvl-4?e.split(/\n/).map(((e,r,n)=>t(Me(e+(r===n.length-1?"":"\n")),"string"))).join(` +\n${" ".repeat(r.indentationLvl+2)}`)+n:t(Me(e),"string")+n}return"number"==typeof e?qe(t,e):"bigint"==typeof e?Je(t,e):"boolean"==typeof e?t(`${e}`,"boolean"):void 0===e?t("undefined","undefined"):t(ht(e),"symbol")}function Xe(t,e,r,n){const i=new o(t.length);for(let o=0;o<t.length;o++)try{i[o]=fr(e,r,n,t[o],0)}catch(r){if(!Qt(r)||"ReferenceError"!==r.name)throw r;const l={[t[o]]:""};i[o]=fr(e,l,n,t[o],0);const c=i[o].lastIndexOf(" ");i[o]=i[o].slice(0,c+1)+e.stylize("<uninitialized>","special")}return t.length=0,i}function tr(t,e,r,n,o,i){const l=G(e);let c=i;for(;i<l.length&&o.length<n;i++){const s=l[i],a=+s;if(a>2**32-2)break;if(`${c}`!==s){if(!Oe.test(s))break;const e=a-c,r=`<${e} empty item${e>1?"s":""}>`;if(o.push(t.stylize(r,"undefined")),c=a,o.length===n)break}o.push(fr(t,e,r,s,1)),c++}const s=e.length-c;if(o.length!==n){if(s>0){const e=`<${s} empty item${s>1?"s":""}>`;o.push(t.stylize(e,"undefined"))}}else s>0&&o.push(`... ${s} more item${s>1?"s":""}`);return o}function er(t,e){let n;try{n=new Pt(e)}catch{return[t.stylize("(detached)","special")]}void 0===ge&&(ge=Ot(r(255).l.prototype.hexSlice));let o=gt(pt(ge(n,0,v(t.maxArrayLength,n.length)),/(.{2})/g,"$1 "));const i=n.length-t.maxArrayLength;return i>0&&(o+=` ... ${i} more byte${i>1?"s":""}`),[`${t.stylize("[Uint8Contents]","special")}: <${o}>`]}function rr(t,e,r){const n=e.length,o=v(A(0,t.maxArrayLength),n),i=n-o,l=[];for(let n=0;n<o;n++){if(!H(e,n))return tr(t,e,r,o,l,n);l.push(fr(t,e,r,n,1))}return i>0&&l.push(`... ${i} more item${i>1?"s":""}`),l}function nr(t,e,r,n,i){const l=v(A(0,r.maxArrayLength),e),c=t.length-l,a=new o(l),p=t.length>0&&"number"==typeof t[0]?qe:Je;for(let e=0;e<l;++e)a[e]=p(r.stylize,t[e]);if(c>0&&(a[l]=`... ${c} more item${c>1?"s":""}`),r.showHidden){r.indentationLvl+=2;for(const e of["BYTES_PER_ELEMENT","length","byteLength","byteOffset","buffer"]){const n=Ye(r,t[e],i,!0);s(a,`[${e}]: ${n}`)}r.indentationLvl-=2}return a}function or(t,e,r,n){const o=[];e.indentationLvl+=2;for(const r of t)s(o,Ye(e,r,n));return e.indentationLvl-=2,o}function ir(t,e,r,n){const o=[];e.indentationLvl+=2;for(const[r,i]of t)o.push(`${Ye(e,r,n)} => `+Ye(e,i,n));return e.indentationLvl-=2,o}function lr(t,e,r,n){const i=A(t.maxArrayLength,0),l=v(i,r.length),c=new o(l);t.indentationLvl+=2;for(let n=0;n<l;n++)c[n]=Ye(t,r[n],e);t.indentationLvl-=2,0!==n||t.sorted||p(c);const a=r.length-l;return a>0&&s(c,`... ${a} more item${a>1?"s":""}`),c}function cr(t,e,r,n){const i=A(t.maxArrayLength,0),l=r.length/2,c=l-i,s=v(i,l);let a=new o(s),p=0;if(t.indentationLvl+=2,0===n){for(;p<s;p++){const n=2*p;a[p]=`${Ye(t,r[n],e)} => ${Ye(t,r[n+1],e)}`}t.sorted||(a=a.sort())}else for(;p<s;p++){const n=2*p,o=[Ye(t,r[n],e),Ye(t,r[n+1],e)];a[p]=dr(t,o,"",["[","]"],2,e)}return t.indentationLvl-=2,c>0&&a.push(`... ${c} more item${c>1?"s":""}`),a}function sr(t){return[t.stylize("<items unknown>","special")]}function ar(t,e,r){return lr(t,r,Lt(e),0)}function pr(t,e,r){return cr(t,r,Lt(e),0)}function ur(t,e,r,n){const[o,i]=Lt(r,!0);return i?(t[0]=t[0].replace(/ Iterator] {$/," Entries] {"),cr(e,n,o,2)):lr(e,n,o,1)}function yr(t,e,r){let n;const[o,i]=vt(e);if(o===wt)n=[t.stylize("<pending>","special")];else{t.indentationLvl+=2;const e=Ye(t,i,r);t.indentationLvl-=2,n=[o===Et?`${t.stylize("<rejected>","special")} ${e}`:e]}return n}function fr(t,e,r,n,o,i,l=e){let c,s,a=" ";if(void 0!==(i=i||B(e,n)||{value:e[n],enumerable:!0}).value){const e=!0!==t.compact||0!==o?2:3;t.indentationLvl+=e,s=Ye(t,i.value,r),3===e&&t.breakLength<Ie(s,t.colors)&&(a=`\n${" ".repeat(t.indentationLvl)}`),t.indentationLvl-=e}else if(void 0!==i.get){const e=void 0!==i.set?"Getter/Setter":"Getter",n=t.stylize,o="special";if(t.getters&&(!0===t.getters||"get"===t.getters&&void 0===i.set||"set"===t.getters&&void 0!==i.set))try{const c=m(i.get,l);if(t.indentationLvl+=2,null===c)s=`${n(`[${e}:`,o)} ${n("null","null")}${n("]",o)}`;else if("object"==typeof c)s=`${n(`[${e}]`,o)} ${Ye(t,c,r)}`;else{const r=Qe(n,c,t);s=`${n(`[${e}:`,o)} ${r}${n("]",o)}`}t.indentationLvl-=2}catch(t){const r=`<Inspection threw (${t.message})>`;s=`${n(`[${e}:`,o)} ${r}${n("]",o)}`}else s=t.stylize(`[${e}]`,o)}else s=void 0!==i.set?t.stylize("[Setter]","special"):t.stylize("undefined","undefined");if(1===o)return s;if("symbol"==typeof n){const e=pt(ht(n),$e,Be);c=`[${t.stylize(e,"symbol")}]`}else c=!1===i.enumerable?`[${pt(n,$e,Be)}]`:K(Pe,n)?t.stylize(n,"name"):t.stylize(Me(n),"string");return`${c}:${a}${s}`}function gr(t,e,r,n){let o=e.length+r;if(o+e.length>t.breakLength)return!1;for(let r=0;r<e.length;r++)if(t.colors?o+=Mt(e[r]).length:o+=e[r].length,o>t.breakLength)return!1;return""===n||!it(n,"\n")}function dr(t,e,r,n,i,l,c){if(!0!==t.compact){if("number"==typeof t.compact&&t.compact>=1){const a=e.length;if(2===i&&a>6&&(e=function(t,e,r){let n=0,i=0,l=0,c=e.length;t.maxArrayLength<e.length&&c--;const a=new o(c);for(;l<c;l++){const r=Ie(e[l],t.colors);a[l]=r,n+=r+2,i<r&&(i=r)}const p=i+2;if(3*p+t.indentationLvl<t.breakLength&&(n/p>5||i<=6)){const o=2.5,i=w(p-n/e.length),l=A(p-3-i,1),u=v(j(w(o*l*c)/l),O((t.breakLength-t.indentationLvl)/p),4*t.compact,15);if(u<=1)return e;const y=[],f=[];for(let t=0;t<u;t++){let r=0;for(let n=t;n<e.length;n+=u)a[n]>r&&(r=a[n]);r+=2,f[t]=r}let g=st;if(void 0!==r)for(let t=0;t<e.length;t++)if("number"!=typeof r[t]&&"bigint"!=typeof r[t]){g=ct;break}for(let t=0;t<c;t+=u){const r=v(t+u,c);let n="",o=t;for(;o<r-1;o++){const r=f[o-t]+e[o].length-a[o];n+=g(`${e[o]}, `,r," ")}if(g===st){const r=f[o-t]+e[o].length-a[o]-2;n+=st(e[o],r," ")}else n+=e[o];s(y,n)}t.maxArrayLength<e.length&&s(y,e[c]),e=y}return e}(t,e,c)),t.currentDepth-l<t.compact&&a===e.length&&gr(t,e,e.length+t.indentationLvl+n[0].length+r.length+10,r))return`${r?`${r} `:""}${n[0]} ${Bt(e,", ")} ${n[1]}`}const a=`\n${at(" ",t.indentationLvl)}`;return`${r?`${r} `:""}${n[0]}${a} ${Bt(e,`,${a} `)}${a}${n[1]}`}if(gr(t,e,0,r))return`${n[0]}${r?` ${r}`:""} ${Bt(e,", ")} `+n[1];const a=at(" ",t.indentationLvl),p=""===r&&1===n[0].length?" ":`${r?` ${r}`:""}\n${a} `;return`${n[0]}${p}${Bt(e,`,\n${a} `)} ${n[1]}`}function hr(t){const e=jt(t,!1);if(void 0!==e&&(t=e),"function"!=typeof t.toString)return!0;if(H(t,"toString"))return!1;let r=t;do{r=D(r)}while(!H(r,"toString"));const n=B(r,"constructor");return void 0!==n&&"function"==typeof n.value&&de.has(n.value.name)}const br=t=>yt(t.message,"\n",1)[0];let mr;function $r(t){try{return S(t)}catch(t){if(!mr)try{const t={};t.a=t,S(t)}catch(t){mr=br(t)}if("TypeError"===t.name&&br(t)===mr)return"[Circular]";throw t}}function Sr(t,e){const r=e[0];let n=0,o="",i="";if("string"==typeof r){if(1===e.length)return r;let l,c=0;for(let i=0;i<r.length-1;i++)if(37===nt(r,i)){const s=nt(r,++i);if(n+1!==e.length){switch(s){case 115:const s=e[++n];l="number"==typeof s?qe(De,s):"bigint"==typeof s?`${s}n`:"object"==typeof s&&null!==s&&hr(s)?ke(s,{...t,compact:3,colors:!1,depth:0}):rt(s);break;case 106:l=$r(e[++n]);break;case 100:const a=e[++n];l="bigint"==typeof a?`${a}n`:"symbol"==typeof a?"NaN":qe(De,E(a));break;case 79:l=ke(e[++n],t);break;case 111:l=ke(e[++n],{...t,showHidden:!0,showProxy:!0,depth:4});break;case 105:const p=e[++n];l="bigint"==typeof p?`${p}n`:"symbol"==typeof p?"NaN":qe(De,I(p));break;case 102:const u=e[++n];l="symbol"==typeof u?"NaN":qe(De,F(u));break;case 99:n+=1,l="";break;case 37:o+=ut(r,c,i),c=i+1;continue;default:continue}c!==i-1&&(o+=ut(r,c,i-1)),o+=l,c=i+1}else 37===s&&(o+=ut(r,c,i),c=i+1)}0!==c&&(n++,i=" ",c<r.length&&(o+=ut(r,c)))}for(;n<e.length;){const r=e[n];o+=i,o+="string"!=typeof r?ke(r,t):r,i=" ",n++}return o}if(n("config").hasIntl){const t=n("icu");Ie=function(e,r=!0){let n=0;r&&(e=xr(e));for(let r=0;r<e.length;r++){const o=e.charCodeAt(r);if(o>=127){n+=t.getStringWidth(e.slice(r).normalize("NFC"));break}n+=o>=32?1:0}return n}}else{Ie=function(r,n=!0){let o=0;n&&(r=xr(r)),r=lt(r,"NFC");for(const n of new J(r)){const r=ot(n,0);t(r)?o+=2:e(r)||o++}return o};const t=t=>t>=4352&&(t<=4447||9001===t||9002===t||t>=11904&&t<=12871&&12351!==t||t>=12880&&t<=19903||t>=19968&&t<=42182||t>=43360&&t<=43388||t>=44032&&t<=55203||t>=63744&&t<=64255||t>=65040&&t<=65049||t>=65072&&t<=65131||t>=65281&&t<=65376||t>=65504&&t<=65510||t>=110592&&t<=110593||t>=127488&&t<=127569||t>=127744&&t<=128591||t>=131072&&t<=262141),e=t=>t<=31||t>=127&&t<=159||t>=768&&t<=879||t>=8203&&t<=8207||t>=8400&&t<=8447||t>=65024&&t<=65039||t>=65056&&t<=65071||t>=917760&&t<=917999}function xr(t){return t.replace(Fe,"")}t.exports={inspect:ke,format:function(...t){return Sr(void 0,t)},formatWithOptions:function(t,...e){if("object"!=typeof t||null===t)throw new _t("inspectOptions","object",t);return Sr(t,e)},stylizeWithColor:_e,stylizeWithHTML(t,e){const r=ke.styles[e];return void 0!==r?`<span style="color:${r};">${t}</span>`:t},Proxy:Tt}},183:t=>{t.exports=function(t){if(!t)throw new Error("Assertion failed")}},992:(t,e)=>{e.NativeModule={exists:t=>!t.startsWith("/")}},101:(t,e,r)=>{const{ArrayIsArray:n,ArrayPrototypeIncludes:o,ArrayPrototypeIndexOf:i,ArrayPrototypeJoin:l,ArrayPrototypePop:c,ArrayPrototypePush:s,ArrayPrototypeSplice:a,ErrorCaptureStackTrace:p,ObjectDefineProperty:u,ReflectApply:y,RegExpPrototypeTest:f,SafeMap:g,StringPrototypeEndsWith:d,StringPrototypeIncludes:h,StringPrototypeSlice:b,StringPrototypeToLowerCase:m}=r(765),$=new g,S={},x=/^([A-Z][a-z0-9]*)+$/,P=["string","function","number","object","Function","Object","boolean","bigint","symbol"];let O,A,v=null;function j(){return v||(v=r(48)),v}const w=E((function(t,e,r){(t=L(t)).name=`${e} [${r}]`,t.stack,delete t.name}));function E(t){const e="__node_internal_"+t.name;return u(t,"name",{value:e}),t}const L=E((function(t){return O=Error.stackTraceLimit,Error.stackTraceLimit=1/0,p(t),Error.stackTraceLimit=O,t}));let F,I;var k,R,T,z,N;t.exports={codes:S,hideStackFrames:E,isStackOverflowError:function(t){if(void 0===I)try{!function t(){t()}()}catch(t){I=t.message,F=t.name}return t&&t.name===F&&t.message===I}},k="ERR_INVALID_ARG_TYPE",R=(t,e,r)=>{A("string"==typeof t,"'name' must be a string"),n(e)||(e=[e]);let p="The ";d(t," argument")?p+=`${t} `:p+=`"${t}" ${h(t,".")?"property":"argument"} `,p+="must be ";const u=[],y=[],g=[];for(const t of e)A("string"==typeof t,"All expected entries have to be of type string"),o(P,t)?s(u,m(t)):f(x,t)?s(y,t):(A("object"!==t,'The value "object" should be written as "Object"'),s(g,t));if(y.length>0){const t=i(u,"object");-1!==t&&(a(u,t,1),s(y,"Object"))}if(u.length>0){if(u.length>2){const t=c(u);p+=`one of type ${l(u,", ")}, or ${t}`}else p+=2===u.length?`one of type ${u[0]} or ${u[1]}`:`of type ${u[0]}`;(y.length>0||g.length>0)&&(p+=" or ")}if(y.length>0){if(y.length>2){const t=c(y);p+=`an instance of ${l(y,", ")}, or ${t}`}else p+=`an instance of ${y[0]}`,2===y.length&&(p+=` or ${y[1]}`);g.length>0&&(p+=" or ")}if(g.length>0)if(g.length>2){const t=c(g);p+=`one of ${l(g,", ")}, or ${t}`}else 2===g.length?p+=`one of ${g[0]} or ${g[1]}`:(m(g[0])!==g[0]&&(p+="an "),p+=`${g[0]}`);if(null==r)p+=`. Received ${r}`;else if("function"==typeof r&&r.name)p+=`. Received function ${r.name}`;else if("object"==typeof r)r.constructor&&r.constructor.name?p+=`. Received an instance of ${r.constructor.name}`:p+=`. Received ${j().inspect(r,{depth:-1})}`;else{let t=j().inspect(r,{colors:!1});t.length>25&&(t=`${b(t,0,25)}...`),p+=`. Received type ${typeof r} (${t})`}return p},T=TypeError,$.set(k,R),S[k]=(z=T,N=k,function(...t){const e=Error.stackTraceLimit;Error.stackTraceLimit=0;const n=new z;Error.stackTraceLimit=e;const o=function(t,e,n){const o=$.get(t);return void 0===A&&(A=r(183)),A("function"==typeof o),A(o.length<=e.length,`Code: ${t}; The provided arguments length (${e.length}) does not match the required ones (${o.length}).`),y(o,n,e)}(N,t,n);return u(n,"message",{value:o,enumerable:!1,writable:!0,configurable:!0}),u(n,"toString",{value(){return`${this.name} [${N}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}),w(n,z.name,N),n.code=N,n})},335:t=>{const e=/\u001b\[\d\d?m/g;t.exports={customInspectSymbol:Symbol.for("nodejs.util.inspect.custom"),isError:t=>t instanceof Error,join:Array.prototype.join.call.bind(Array.prototype.join),removeColors:t=>String.prototype.replace.call(t,e,"")}},63:(t,e,r)=>{const{getConstructorName:n}=r(891);function o(t,...e){for(const r of e){const e=globalThis[r];if(e&&t instanceof e)return!0}for(;t;){if("object"!=typeof t)return!1;if(e.indexOf(n(t))>=0)return!0;t=Object.getPrototypeOf(t)}return!1}function i(t){return e=>{if(!o(e,t.name))return!1;try{t.prototype.valueOf.call(e)}catch{return!1}return!0}}"object"!=typeof globalThis&&(Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__);const l=i(String),c=i(Number),s=i(Boolean),a=i(BigInt),p=i(Symbol);t.exports={isAsyncFunction:t=>"function"==typeof t&&Function.prototype.toString.call(t).startsWith("async"),isGeneratorFunction:t=>"function"==typeof t&&Function.prototype.toString.call(t).match(/^(async\s+)?function *\*/),isAnyArrayBuffer:t=>o(t,"ArrayBuffer","SharedArrayBuffer"),isArrayBuffer:t=>o(t,"ArrayBuffer"),isArgumentsObject:t=>!1,isBoxedPrimitive:t=>c(t)||l(t)||s(t)||a(t)||p(t),isDataView:t=>o(t,"DataView"),isExternal:t=>"object"==typeof t&&Object.isFrozen(t)&&null==Object.getPrototypeOf(t),isMap(t){if(!o(t,"Map"))return!1;try{t.has()}catch{return!1}return!0},isMapIterator:t=>"[object Map Iterator]"===Object.prototype.toString.call(Object.getPrototypeOf(t)),isModuleNamespaceObject:t=>t&&"object"==typeof t&&"Module"===t[Symbol.toStringTag],isNativeError:t=>t instanceof Error&&o(t,"Error","EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError","AggregateError"),isPromise:t=>o(t,"Promise"),isSet(t){if(!o(t,"Set"))return!1;try{t.has()}catch{return!1}return!0},isSetIterator:t=>"[object Set Iterator]"===Object.prototype.toString.call(Object.getPrototypeOf(t)),isWeakMap:t=>o(t,"WeakMap"),isWeakSet:t=>o(t,"WeakSet"),isRegExp:t=>o(t,"RegExp"),isDate(t){if(o(t,"Date"))try{return Date.prototype.getTime.call(t),!0}catch{}return!1},isTypedArray:t=>o(t,"Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"),isStringObject:l,isNumberObject:c,isBooleanObject:s,isBigIntObject:a,isSymbolObject:p}},356:(t,e,r)=>{const{hideStackFrames:n,codes:{ERR_INVALID_ARG_TYPE:o}}=r(101);e.validateObject=n(((t,e,{nullable:r=!1}={})=>{if(!r&&null===t||Array.isArray(t)||"object"!=typeof t)throw new o(e,"Object",t)}))},765:t=>{const e=(t,e)=>{class r{constructor(e){this._iterator=t(e)}next(){return e(this._iterator)}[Symbol.iterator](){return this}}return Object.setPrototypeOf(r.prototype,null),Object.freeze(r.prototype),Object.freeze(r),r};function r(t,e){return Function.prototype.call.bind(t.prototype.__lookupGetter__(e))}function n(t){return Function.prototype.call.bind(t)}const o=(t,e)=>{Array.prototype.forEach.call(Reflect.ownKeys(t),(r=>{Reflect.getOwnPropertyDescriptor(e,r)||Reflect.defineProperty(e,r,Reflect.getOwnPropertyDescriptor(t,r))}))},i=(t,r)=>{if(Symbol.iterator in t.prototype){const o=new t;let i;Array.prototype.forEach.call(Reflect.ownKeys(t.prototype),(l=>{if(!Reflect.getOwnPropertyDescriptor(r.prototype,l)){const c=Reflect.getOwnPropertyDescriptor(t.prototype,l);if("function"==typeof c.value&&0===c.value.length&&Symbol.iterator in(Function.prototype.call.call(c.value,o)||{})){const t=n(c.value);null==i&&(i=n(t(o).next));const r=e(t,i);c.value=function(){return new r(this)}}Reflect.defineProperty(r.prototype,l,c)}}))}else o(t.prototype,r.prototype);return o(t,r),Object.setPrototypeOf(r.prototype,null),Object.freeze(r.prototype),Object.freeze(r),r},l=Function.prototype.call.bind(String.prototype[Symbol.iterator]),c=Reflect.getPrototypeOf(l(""));t.exports={makeSafe:i,internalBinding(t){if("config"===t)return{hasIntl:!1};throw new Error(`unknown module: "${t}"`)},Array,ArrayIsArray:Array.isArray,ArrayPrototypeFilter:Function.prototype.call.bind(Array.prototype.filter),ArrayPrototypeForEach:Function.prototype.call.bind(Array.prototype.forEach),ArrayPrototypeIncludes:Function.prototype.call.bind(Array.prototype.includes),ArrayPrototypeIndexOf:Function.prototype.call.bind(Array.prototype.indexOf),ArrayPrototypeJoin:Function.prototype.call.bind(Array.prototype.join),ArrayPrototypePop:Function.prototype.call.bind(Array.prototype.pop),ArrayPrototypePush:Function.prototype.call.bind(Array.prototype.push),ArrayPrototypePushApply:Function.apply.bind(Array.prototype.push),ArrayPrototypeSort:Function.prototype.call.bind(Array.prototype.sort),ArrayPrototypeSplice:Function.prototype.call.bind(Array.prototype.slice),ArrayPrototypeUnshift:Function.prototype.call.bind(Array.prototype.unshift),BigIntPrototypeValueOf:Function.prototype.call.bind(BigInt.prototype.valueOf),BooleanPrototypeValueOf:Function.prototype.call.bind(Boolean.prototype.valueOf),DatePrototypeGetTime:Function.prototype.call.bind(Date.prototype.getTime),DatePrototypeToISOString:Function.prototype.call.bind(Date.prototype.toISOString),DatePrototypeToString:Function.prototype.call.bind(Date.prototype.toString),ErrorCaptureStackTrace:function(t){const e=(new Error).stack;t.stack=e.replace(/.*\n.*/,"$1")},ErrorPrototypeToString:Function.prototype.call.bind(Error.prototype.toString),FunctionPrototypeCall:Function.prototype.call.bind(Function.prototype.call),FunctionPrototypeToString:Function.prototype.call.bind(Function.prototype.toString),JSONStringify:JSON.stringify,MapPrototypeGetSize:r(Map,"size"),MapPrototypeEntries:Function.prototype.call.bind(Map.prototype.entries),MathFloor:Math.floor,MathMax:Math.max,MathMin:Math.min,MathRound:Math.round,MathSqrt:Math.sqrt,Number,NumberIsNaN:Number.isNaN,NumberParseFloat:Number.parseFloat,NumberParseInt:Number.parseInt,NumberPrototypeValueOf:Function.prototype.call.bind(Number.prototype.valueOf),Object,ObjectAssign:Object.assign,ObjectCreate:Object.create,ObjectDefineProperty:Object.defineProperty,ObjectGetOwnPropertyDescriptor:Object.getOwnPropertyDescriptor,ObjectGetOwnPropertyNames:Object.getOwnPropertyNames,ObjectGetOwnPropertySymbols:Object.getOwnPropertySymbols,ObjectGetPrototypeOf:Object.getPrototypeOf,ObjectIs:Object.is,ObjectKeys:Object.keys,ObjectPrototypeHasOwnProperty:Function.prototype.call.bind(Object.prototype.hasOwnProperty),ObjectPrototypePropertyIsEnumerable:Function.prototype.call.bind(Object.prototype.propertyIsEnumerable),ObjectSeal:Object.seal,ObjectSetPrototypeOf:Object.setPrototypeOf,ReflectApply:Reflect.apply,ReflectOwnKeys:Reflect.ownKeys,RegExp,RegExpPrototypeTest:Function.prototype.call.bind(RegExp.prototype.test),RegExpPrototypeToString:Function.prototype.call.bind(RegExp.prototype.toString),SafeStringIterator:e(l,Function.prototype.call.bind(c.next)),SafeMap:i(Map,class extends Map{constructor(t){super(t)}}),SafeSet:i(Set,class extends Set{constructor(t){super(t)}}),SetPrototypeGetSize:r(Set,"size"),SetPrototypeValues:Function.prototype.call.bind(Set.prototype.values),String,StringPrototypeCharCodeAt:Function.prototype.call.bind(String.prototype.charCodeAt),StringPrototypeCodePointAt:Function.prototype.call.bind(String.prototype.codePointAt),StringPrototypeEndsWith:Function.prototype.call.bind(String.prototype.endsWith),StringPrototypeIncludes:Function.prototype.call.bind(String.prototype.includes),StringPrototypeNormalize:Function.prototype.call.bind(String.prototype.normalize),StringPrototypePadEnd:Function.prototype.call.bind(String.prototype.padEnd),StringPrototypePadStart:Function.prototype.call.bind(String.prototype.padStart),StringPrototypeRepeat:Function.prototype.call.bind(String.prototype.repeat),StringPrototypeReplace:Function.prototype.call.bind(String.prototype.replace),StringPrototypeSlice:Function.prototype.call.bind(String.prototype.slice),StringPrototypeSplit:Function.prototype.call.bind(String.prototype.split),StringPrototypeToLowerCase:Function.prototype.call.bind(String.prototype.toLowerCase),StringPrototypeTrim:Function.prototype.call.bind(String.prototype.trim),StringPrototypeValueOf:Function.prototype.call.bind(String.prototype.valueOf),SymbolPrototypeToString:Function.prototype.call.bind(Symbol.prototype.toString),SymbolPrototypeValueOf:Function.prototype.call.bind(Symbol.prototype.valueOf),SymbolIterator:Symbol.iterator,SymbolFor:Symbol.for,SymbolToStringTag:Symbol.toStringTag,TypedArrayPrototypeGetLength:("length",t=>t.constructor.prototype.__lookupGetter__("length").call(t)),Uint8Array,uncurryThis:n}},161:t=>{const e=new WeakMap;class r{constructor(t,r){const n=new Proxy(t,r);return e.set(n,[t,r]),n}static getProxyDetails(t,r=!0){const n=e.get(t);if(n)return r?n:n[0]}}t.exports={getProxyDetails:r.getProxyDetails.bind(r),Proxy:r}},891:(t,e,r)=>{const n=r(161),o=Symbol("kPending"),i=Symbol("kRejected");t.exports={getOwnNonIndexProperties:function(t,e=2){const r=Object.getOwnPropertyDescriptors(t),n=[];for(const[t,o]of Object.entries(r))if(!/^(0|[1-9][0-9]*)$/.test(t)||parseInt(t,10)>=2**32-1){if(2===e&&!o.enumerable)continue;n.push(t)}for(const r of Object.getOwnPropertySymbols(t)){const o=Object.getOwnPropertyDescriptor(t,r);(2!==e||o.enumerable)&&n.push(r)}return n},getPromiseDetails:()=>[o,void 0],getProxyDetails:n.getProxyDetails,Proxy:n.Proxy,kPending:o,kRejected:i,previewEntries:t=>[[],!1],getConstructorName(t){if(!t||"object"!=typeof t)throw new Error("Invalid object");if(t.constructor&&t.constructor.name)return t.constructor.name;const e=Object.prototype.toString.call(t).match(/^\[object ([^\]]+)\]/);return e?e[1]:"Object"},getExternalValue:()=>BigInt(0),propertyFilter:{ALL_PROPERTIES:0,ONLY_ENUMERABLE:2}}}},e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}return r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r(48)})()})); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.util=e():t.util=e()}(this,(function(){return(()=>{"use strict";var t={255:(t,e)=>{e.l=class{hexSlice(t=0,e){return Array.prototype.map.call(this.slice(t,e),(t=>("00"+t.toString(16)).slice(-2))).join("")}}},48:(t,e,r)=>{const n=r(765),{internalBinding:o,Array:i,ArrayIsArray:l,ArrayPrototypeFilter:c,ArrayPrototypeForEach:s,ArrayPrototypePush:a,ArrayPrototypePushApply:p,ArrayPrototypeSort:u,ArrayPrototypeUnshift:y,BigIntPrototypeValueOf:f,BooleanPrototypeValueOf:g,DatePrototypeGetTime:d,DatePrototypeToISOString:h,DatePrototypeToString:b,ErrorPrototypeToString:m,FunctionPrototypeCall:$,FunctionPrototypeToString:S,JSONStringify:x,MapPrototypeGetSize:P,MapPrototypeEntries:O,MathFloor:A,MathMax:v,MathMin:j,MathRound:w,MathSqrt:E,Number:L,NumberIsNaN:F,NumberParseFloat:k,NumberParseInt:I,NumberPrototypeValueOf:T,Object:R,ObjectAssign:z,ObjectCreate:N,ObjectDefineProperty:B,ObjectGetOwnPropertyDescriptor:_,ObjectGetOwnPropertyNames:M,ObjectGetOwnPropertySymbols:D,ObjectGetPrototypeOf:C,ObjectIs:G,ObjectKeys:W,ObjectPrototypeHasOwnProperty:H,ObjectPrototypePropertyIsEnumerable:V,ObjectSeal:U,ObjectSetPrototypeOf:Z,ReflectOwnKeys:Y,RegExp:K,RegExpPrototypeTest:q,RegExpPrototypeToString:J,SafeStringIterator:Q,SafeMap:X,SafeSet:tt,SetPrototypeGetSize:et,SetPrototypeValues:rt,String:nt,StringPrototypeCharCodeAt:ot,StringPrototypeCodePointAt:it,StringPrototypeIncludes:lt,StringPrototypeNormalize:ct,StringPrototypePadEnd:st,StringPrototypePadStart:at,StringPrototypeRepeat:pt,StringPrototypeReplace:ut,StringPrototypeSlice:yt,StringPrototypeSplit:ft,StringPrototypeToLowerCase:gt,StringPrototypeTrim:dt,StringPrototypeValueOf:ht,SymbolPrototypeToString:bt,SymbolPrototypeValueOf:mt,SymbolIterator:$t,SymbolToStringTag:St,TypedArrayPrototypeGetLength:xt,TypedArrayPrototypeGetSymbolToStringTag:Pt,Uint8Array:Ot,uncurryThis:At}=n,{getOwnNonIndexProperties:vt,getPromiseDetails:jt,getProxyDetails:wt,kPending:Et,kRejected:Lt,previewEntries:Ft,getConstructorName:kt,getExternalValue:It,propertyFilter:{ALL_PROPERTIES:Tt,ONLY_ENUMERABLE:Rt},Proxy:zt}=r(891),{customInspectSymbol:Nt,isError:Bt,join:_t,removeColors:Mt}=r(335),{codes:{ERR_INVALID_ARG_TYPE:Dt},isStackOverflowError:Ct}=r(101),{isAsyncFunction:Gt,isGeneratorFunction:Wt,isAnyArrayBuffer:Ht,isArrayBuffer:Vt,isArgumentsObject:Ut,isBoxedPrimitive:Zt,isDataView:Yt,isExternal:Kt,isMap:qt,isMapIterator:Jt,isModuleNamespaceObject:Qt,isNativeError:Xt,isPromise:te,isSet:ee,isSetIterator:re,isWeakMap:ne,isWeakSet:oe,isRegExp:ie,isDate:le,isTypedArray:ce,isStringObject:se,isNumberObject:ae,isBooleanObject:pe,isBigIntObject:ue}=r(63),ye=r(183),{NativeModule:fe}=r(992),{validateObject:ge}=r(356);let de;const he=new tt(c(M(r.g),(t=>q(/^[A-Z][a-zA-Z0-9]+$/,t)))),be=t=>void 0===t&&void 0!==t,me=U({showHidden:!1,depth:2,colors:!1,customInspect:!0,showProxy:!1,maxArrayLength:100,maxStringLength:1e4,breakLength:80,compact:3,sorted:!1,getters:!1}),$e=/[\x00-\x1f\x27\x5c\x7f-\x9f]/,Se=/[\x00-\x1f\x27\x5c\x7f-\x9f]/g,xe=/[\x00-\x1f\x5c\x7f-\x9f]/,Pe=/[\x00-\x1f\x5c\x7f-\x9f]/g,Oe=/^[a-zA-Z_][a-zA-Z_0-9]*$/,Ae=/^(0|[1-9][0-9]*)$/,ve=/^ at (?:[^/\\(]+ \(|)node:(.+):\d+:\d+\)?$/,je=/^ at (?:[^/\\(]+ \(|)(.+)\.js:\d+:\d+\)?$/,we=/[/\\]node_modules[/\\](.+?)(?=[/\\])/g,Ee=/^(\s+[^(]*?)\s*{/,Le=/(\/\/.*?\n)|(\/\*(.|\n)*?\*\/)/g,Fe=["\\x00","\\x01","\\x02","\\x03","\\x04","\\x05","\\x06","\\x07","\\b","\\t","\\n","\\x0B","\\f","\\r","\\x0E","\\x0F","\\x10","\\x11","\\x12","\\x13","\\x14","\\x15","\\x16","\\x17","\\x18","\\x19","\\x1A","\\x1B","\\x1C","\\x1D","\\x1E","\\x1F","","","","","","","","\\'","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\x7F","\\x80","\\x81","\\x82","\\x83","\\x84","\\x85","\\x86","\\x87","\\x88","\\x89","\\x8A","\\x8B","\\x8C","\\x8D","\\x8E","\\x8F","\\x90","\\x91","\\x92","\\x93","\\x94","\\x95","\\x96","\\x97","\\x98","\\x99","\\x9A","\\x9B","\\x9C","\\x9D","\\x9E","\\x9F"],ke=new K("[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))","g");let Ie;function Te(t,e){const r={budget:{},indentationLvl:0,seen:[],currentDepth:0,stylize:Ce,showHidden:me.showHidden,depth:me.depth,colors:me.colors,customInspect:me.customInspect,showProxy:me.showProxy,maxArrayLength:me.maxArrayLength,maxStringLength:me.maxStringLength,breakLength:me.breakLength,compact:me.compact,sorted:me.sorted,getters:me.getters};if(arguments.length>1)if(arguments.length>2&&(void 0!==arguments[2]&&(r.depth=arguments[2]),arguments.length>3&&void 0!==arguments[3]&&(r.colors=arguments[3])),"boolean"==typeof e)r.showHidden=e;else if(e){const t=W(e);for(let n=0;n<t.length;++n){const o=t[n];H(me,o)||"stylize"===o?r[o]=e[o]:void 0===r.userOptions&&(r.userOptions=e)}}return r.colors&&(r.stylize=De),null===r.maxArrayLength&&(r.maxArrayLength=1/0),null===r.maxStringLength&&(r.maxStringLength=1/0),Ke(r,t,0)}Te.custom=Nt,B(Te,"defaultOptions",{get:()=>me,set:t=>(ge(t,"options"),z(me,t))});const Re=39,ze=49;function Ne(t,e){B(Te.colors,e,{get(){return this[t]},set(e){this[t]=e},configurable:!0,enumerable:!1})}function Be(t,e){return-1===e?`"${t}"`:-2===e?`\`${t}\``:`'${t}'`}Te.colors=z(N(null),{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],blink:[5,25],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],doubleunderline:[21,24],black:[30,Re],red:[31,Re],green:[32,Re],yellow:[33,Re],blue:[34,Re],magenta:[35,Re],cyan:[36,Re],white:[37,Re],bgBlack:[40,ze],bgRed:[41,ze],bgGreen:[42,ze],bgYellow:[43,ze],bgBlue:[44,ze],bgMagenta:[45,ze],bgCyan:[46,ze],bgWhite:[47,ze],framed:[51,54],overlined:[53,55],gray:[90,Re],redBright:[91,Re],greenBright:[92,Re],yellowBright:[93,Re],blueBright:[94,Re],magentaBright:[95,Re],cyanBright:[96,Re],whiteBright:[97,Re],bgGray:[100,ze],bgRedBright:[101,ze],bgGreenBright:[102,ze],bgYellowBright:[103,ze],bgBlueBright:[104,ze],bgMagentaBright:[105,ze],bgCyanBright:[106,ze],bgWhiteBright:[107,ze]}),Ne("gray","grey"),Ne("gray","blackBright"),Ne("bgGray","bgGrey"),Ne("bgGray","bgBlackBright"),Ne("dim","faint"),Ne("strikethrough","crossedout"),Ne("strikethrough","strikeThrough"),Ne("strikethrough","crossedOut"),Ne("hidden","conceal"),Ne("inverse","swapColors"),Ne("inverse","swapcolors"),Ne("doubleunderline","doubleUnderline"),Te.styles=z(N(null),{special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red",module:"underline"});const _e=t=>Fe[ot(t)];function Me(t){let e=$e,r=Se,n=39;if(lt(t,"'")&&(lt(t,'"')?lt(t,"`")||lt(t,"${")||(n=-2):n=-1,39!==n&&(e=xe,r=Pe)),t.length<5e3&&!q(e,t))return Be(t,n);if(t.length>100)return Be(t=ut(t,r,_e),n);let o="",i=0;const l=t.length;for(let e=0;e<l;e++){const r=ot(t,e);(r===n||92===r||r<32||r>126&&r<160)&&(o+=i===e?Fe[r]:`${yt(t,i,e)}${Fe[r]}`,i=e+1)}return i!==l&&(o+=yt(t,i)),Be(o,n)}function De(t,e){const r=Te.styles[e];if(void 0!==r){const e=Te.colors[r];if(void 0!==e)return`[${e[0]}m${t}[${e[1]}m`}return t}function Ce(t){return t}function Ge(){return[]}function We(t,e){try{return t instanceof e}catch{return!1}}function He(t,e,r,n){let o;const i=t;for(;t||be(t);){const l=_(t,"constructor");if(void 0!==l&&"function"==typeof l.value&&""!==l.value.name&&We(i,l.value))return void 0===n||o===t&&he.has(l.value.name)||Ve(e,i,o||i,r,n),l.value.name;t=C(t),void 0===o&&(o=t)}if(null===o)return null;const l=kt(i);if(r>e.depth&&null!==e.depth)return`${l} <Complex prototype>`;const c=He(o,e,r+1,n);return null===c?`${l} <${Te(o,{...e,customInspect:!1,depth:-1})}>`:`${l} <${c}>`}function Ve(t,e,r,n,o){let i,l,c=0;do{if(0!==c||e===r){if(null===(r=C(r)))return;const t=_(r,"constructor");if(void 0!==t&&"function"==typeof t.value&&he.has(t.value.name))return}0===c?l=new tt:s(i,(t=>l.add(t))),i=Y(r);for(const s of i){if("constructor"===s||H(e,s)||0!==c&&l.has(s))continue;const i=_(r,s);if("function"==typeof i.value)continue;const p=gr(t,r,n,s,0,i,e);t.colors?a(o,`[2m${p}[22m`):a(o,p)}}while(3!=++c)}function Ue(t,e,r,n=""){return null===t?""!==e&&r!==e?`[${r}${n}: null prototype] [${e}] `:`[${r}${n}: null prototype] `:""!==e&&t!==e?`${t}${n} [${e}] `:`${t}${n} `}function Ze(t,e){let r;const n=D(t);if(e)r=M(t),0!==n.length&&p(r,n);else{try{r=W(t)}catch(e){ye(Xt(e)&&"ReferenceError"===e.name&&Qt(t)),r=M(t)}0!==n.length&&p(r,c(n,(e=>V(t,e))))}return r}function Ye(t,e,r){let n="";return null===e&&(n=kt(t),n===r&&(n="Object")),Ue(e,r,n)}function Ke(t,e,r,o){if("object"!=typeof e&&"function"!=typeof e&&!be(e))return Xe(t.stylize,e,t);if(null===e)return t.stylize("null","null");const i=e,c=wt(e,!!t.showProxy);if(void 0!==c){if(t.showProxy)return function(t,e,r){if(r>t.depth&&null!==t.depth)return t.stylize("Proxy [Array]","special");r+=1,t.indentationLvl+=2;const n=[Ke(t,e[0],r),Ke(t,e[1],r)];return t.indentationLvl-=2,hr(t,n,"",["Proxy [","]"],2,r)}(t,c,r);e=c}if(t.customInspect){const n=e[Nt];if("function"==typeof n&&n!==Te&&(!e.constructor||e.constructor.prototype!==e)){const e=null===t.depth?null:t.depth-r,o=$(n,i,e,function(t,e){const r={stylize:t.stylize,showHidden:t.showHidden,depth:t.depth,colors:t.colors,customInspect:t.customInspect,showProxy:t.showProxy,maxArrayLength:t.maxArrayLength,maxStringLength:t.maxStringLength,breakLength:t.breakLength,compact:t.compact,sorted:t.sorted,getters:t.getters,...t.userOptions};if(e){Z(r,null);for(const t of W(r))"object"!=typeof r[t]&&"function"!=typeof r[t]||null===r[t]||delete r[t];r.stylize=Z(((e,r)=>{let n;try{n=`${t.stylize(e,r)}`}catch{}return"string"!=typeof n?e:n}),null)}return r}(t,void 0!==c||!(i instanceof R)));if(o!==i)return"string"!=typeof o?Ke(t,o,r):o.replace(/\n/g,`\n${" ".repeat(t.indentationLvl)}`)}}if(t.seen.includes(e)){let r=1;return void 0===t.circular?(t.circular=new X,t.circular.set(e,r)):(r=t.circular.get(e),void 0===r&&(r=t.circular.size+1,t.circular.set(e,r))),t.stylize(`[Circular *${r}]`,"special")}return function(t,e,r,o){let i,c;t.showHidden&&(r<=t.depth||null===t.depth)&&(c=[]);const s=He(e,t,r,c);void 0!==c&&0===c.length&&(c=void 0);let a=e[St];("string"!=typeof a||""!==a&&(t.showHidden?H:V)(e,St))&&(a="");let p,u="",$=Ge,x=!0,A=0;const v=t.showHidden?Tt:Rt;let j,w=0;if(e[$t]||null===s)if(x=!1,l(e)){const t="Array"!==s||""!==a?Ue(s,a,"Array",`(${e.length})`):"";if(i=vt(e,v),p=[`${t}[`,"]"],0===e.length&&0===i.length&&void 0===c)return`${p[0]}]`;w=2,$=nr}else if(ee(e)){const r=et(e),n=Ue(s,a,"Set",`(${r})`);if(i=Ze(e,t.showHidden),$=null!==s?ir.bind(null,e):ir.bind(null,rt(e)),0===r&&0===i.length&&void 0===c)return`${n}{}`;p=[`${n}{`,"}"]}else if(qt(e)){const r=P(e),n=Ue(s,a,"Map",`(${r})`);if(i=Ze(e,t.showHidden),$=null!==s?lr.bind(null,e):lr.bind(null,O(e)),0===r&&0===i.length&&void 0===c)return`${n}{}`;p=[`${n}{`,"}"]}else if(ce(e)){i=vt(e,v);let r=e,o="";null===s&&(o=Pt(e),r=new n[o](e));const l=xt(e);if(p=[`${Ue(s,a,o,`(${l})`)}[`,"]"],0===e.length&&0===i.length&&!t.showHidden)return`${p[0]}]`;$=or.bind(null,r,l),w=2}else Jt(e)?(i=Ze(e,t.showHidden),p=qe("Map",a),$=yr.bind(null,p)):re(e)?(i=Ze(e,t.showHidden),p=qe("Set",a),$=yr.bind(null,p)):x=!0;if(x)if(i=Ze(e,t.showHidden),p=["{","}"],"Object"===s){if(Ut(e)?p[0]="[Arguments] {":""!==a&&(p[0]=`${Ue(s,a,"Object")}{`),0===i.length&&void 0===c)return`${p[0]}}`}else if("function"==typeof e){if(u=function(t,e,r){const n=S(t);if("class"===n.slice(0,5)&&n.endsWith("}")){const o=n.slice(5,-1),i=o.indexOf("{");if(-1!==i&&(!o.slice(0,i).includes("(")||Ee.test(o.replace(Le))))return function(t,e,r){let n=`class ${H(t,"name")&&t.name||"(anonymous)"}`;if("Function"!==e&&null!==e&&(n+=` [${e}]`),""!==r&&e!==r&&(n+=` [${r}]`),null!==e){const e=C(t).name;e&&(n+=` extends ${e}`)}else n+=" extends [null prototype]";return`[${n}]`}(t,e,r)}let o="Function";Wt(t)&&(o=`Generator${o}`),Gt(t)&&(o=`Async${o}`);let i=`[${o}`;return null===e&&(i+=" (null prototype)"),""===t.name?i+=" (anonymous)":i+=`: ${t.name}`,i+="]",e!==o&&null!==e&&(i+=` ${e}`),""!==r&&e!==r&&(i+=` [${r}]`),i}(e,s,a),0===i.length&&void 0===c)return t.stylize(u,"special")}else if(ie(e)){u=J(null!==s?e:new K(e));const n=Ue(s,a,"RegExp");if("RegExp "!==n&&(u=`${n}${u}`),0===i.length&&void 0===c||r>t.depth&&null!==t.depth)return t.stylize(u,"regexp")}else if(le(e)){u=F(d(e))?b(e):h(e);const r=Ue(s,a,"Date");if("Date "!==r&&(u=`${r}${u}`),0===i.length&&void 0===c)return t.stylize(u,"date")}else if(Bt(e)){if(u=function(t,e,r,n,o){const i=null!=t.name?nt(t.name):"Error";let l=i.length,c=t.stack?nt(t.stack):m(t);if(!n.showHidden&&0!==o.length)for(const e of["name","message","stack"]){const r=o.indexOf(e);-1!==r&&c.includes(t[e])&&o.splice(r,1)}if(null===e||i.endsWith("Error")&&c.startsWith(i)&&(c.length===l||":"===c[l]||"\n"===c[l])){let t="Error";if(null===e){const e=c.match(/^([A-Z][a-z_ A-Z0-9[\]()-]+)(?::|\n {4}at)/)||c.match(/^([a-z_A-Z0-9-]*Error)$/);t=e&&e[1]||"",l=t.length,t=t||"Error"}const n=Ue(e,r,t).slice(0,-1);i!==n&&(c=n.includes(i)?0===l?`${n}: ${c}`:`${n}${c.slice(l)}`:`${n} [${i}]${c.slice(l)}`)}let s=t.message&&c.indexOf(t.message)||-1;-1!==s&&(s+=t.message.length);const a=c.indexOf("\n at",s);if(-1===a)c=`[${c}]`;else if(n.colors){let t=c.slice(0,a);const e=c.slice(a+1).split("\n");for(const r of e){const e=r.match(ve)||r.match(je);if(null!==e&&fe.exists(e[1]))t+=`\n${n.stylize(r,"undefined")}`;else{let e;t+="\n";let o=0;for(;e=we.exec(r);)t+=r.slice(o,e.index+14),t+=n.stylize(e[1],"module"),o=e.index+e[0].length;t+=0===o?r:r.slice(o)}}c=t}if(0!==n.indentationLvl){const t=" ".repeat(n.indentationLvl);c=c.replace(/\n/g,`\n${t}`)}return c}(e,s,a,t,i),0===i.length&&void 0===c)return u}else if(Ht(e)){const r=Ue(s,a,Vt(e)?"ArrayBuffer":"SharedArrayBuffer");if(void 0===o)$=rr;else if(0===i.length&&void 0===c)return r+`{ byteLength: ${Je(t.stylize,e.byteLength)} }`;p[0]=`${r}{`,y(i,"byteLength")}else if(Yt(e))p[0]=`${Ue(s,a,"DataView")}{`,y(i,"byteLength","byteOffset","buffer");else if(te(e))p[0]=`${Ue(s,a,"Promise")}{`,$=fr;else if(oe(e))p[0]=`${Ue(s,a,"WeakSet")}{`,$=t.showHidden?pr:ar;else if(ne(e))p[0]=`${Ue(s,a,"WeakMap")}{`,$=t.showHidden?ur:ar;else if(Qt(e))p[0]=`${Ue(s,a,"Module")}{`,$=tr.bind(null,i);else if(Zt(e)){if(u=function(t,e,r,n,o){let i,l;ae(t)?(i=T,l="Number"):se(t)?(i=ht,l="String",r.splice(0,t.length)):pe(t)?(i=g,l="Boolean"):ue(t)?(i=f,l="BigInt"):(i=mt,l="Symbol");let c=`[${l}`;return l!==n&&(c+=null===n?" (null prototype)":` (${n})`),c+=`: ${Xe(Ce,i(t),e)}]`,""!==o&&o!==n&&(c+=` [${o}]`),0!==r.length||e.stylize===Ce?c:e.stylize(c,gt(l))}(e,t,i,s,a),0===i.length&&void 0===c)return u}else{if(0===i.length&&void 0===c){if(Kt(e)){const r=It(e).toString(16);return t.stylize(`[External: ${r}]`,"special")}return`${Ye(e,s,a)}{}`}p[0]=`${Ye(e,s,a)}{`}if(r>t.depth&&null!==t.depth){let r=Ye(e,s,a).slice(0,-1);return null!==s&&(r=`[${r}]`),t.stylize(r,"special")}r+=1,t.seen.push(e),t.currentDepth=r;const E=t.indentationLvl;try{for(j=$(t,e,r),A=0;A<i.length;A++)j.push(gr(t,e,r,i[A],w));void 0!==c&&j.push(...c)}catch(r){return function(t,e,r,n){if(Ct(e))return t.seen.pop(),t.indentationLvl=n,t.stylize(`[${r}: Inspection interrupted prematurely. Maximum call stack size exceeded.]`,"special");ye.fail(e.stack)}(t,r,Ye(e,s,a).slice(0,-1),E)}if(void 0!==t.circular){const r=t.circular.get(e);if(void 0!==r){const e=t.stylize(`<ref *${r}>`,"special");!0!==t.compact?u=""===u?e:`${e} ${u}`:p[0]=`${e} ${p[0]}`}}if(t.seen.pop(),t.sorted){const e=!0===t.sorted?void 0:t.sorted;if(0===w)j=j.sort(e);else if(i.length>1){const t=j.slice(j.length-i.length).sort(e);j.splice(j.length-i.length,i.length,...t)}}const L=hr(t,j,u,p,w,r,e),k=(t.budget[t.indentationLvl]||0)+L.length;return t.budget[t.indentationLvl]=k,k>2**27&&(t.depth=-1),L}(t,e,r,o)}function qe(t,e){return e!==`${t} Iterator`&&(""!==e&&(e+="] ["),e+=`${t} Iterator`),[`[${e}] {`,"}"]}function Je(t,e){return t(G(e,-0)?"-0":`${e}`,"number")}function Qe(t,e){return t(`${e}n`,"bigint")}function Xe(t,e,r){if("string"==typeof e){let n="";if(e.length>r.maxStringLength){const t=e.length-r.maxStringLength;e=e.slice(0,r.maxStringLength),n=`... ${t} more character${t>1?"s":""}`}return!0!==r.compact&&e.length>16&&e.length>r.breakLength-r.indentationLvl-4?e.split(/\n/).map(((e,r,n)=>t(Me(e+(r===n.length-1?"":"\n")),"string"))).join(` +\n${" ".repeat(r.indentationLvl+2)}`)+n:t(Me(e),"string")+n}return"number"==typeof e?Je(t,e):"bigint"==typeof e?Qe(t,e):"boolean"==typeof e?t(`${e}`,"boolean"):void 0===e?t("undefined","undefined"):t(bt(e),"symbol")}function tr(t,e,r,n){const o=new i(t.length);for(let i=0;i<t.length;i++)try{o[i]=gr(e,r,n,t[i],0)}catch(r){if(!Xt(r)||"ReferenceError"!==r.name)throw r;const l={[t[i]]:""};o[i]=gr(e,l,n,t[i],0);const c=o[i].lastIndexOf(" ");o[i]=o[i].slice(0,c+1)+e.stylize("<uninitialized>","special")}return t.length=0,o}function er(t,e,r,n,o,i){const l=W(e);let c=i;for(;i<l.length&&o.length<n;i++){const s=l[i],a=+s;if(a>2**32-2)break;if(`${c}`!==s){if(!Ae.test(s))break;const e=a-c,r=`<${e} empty item${e>1?"s":""}>`;if(o.push(t.stylize(r,"undefined")),c=a,o.length===n)break}o.push(gr(t,e,r,s,1)),c++}const s=e.length-c;if(o.length!==n){if(s>0){const e=`<${s} empty item${s>1?"s":""}>`;o.push(t.stylize(e,"undefined"))}}else s>0&&o.push(`... ${s} more item${s>1?"s":""}`);return o}function rr(t,e){let n;try{n=new Ot(e)}catch{return[t.stylize("(detached)","special")]}void 0===de&&(de=At(r(255).l.prototype.hexSlice));let o=dt(ut(de(n,0,j(t.maxArrayLength,n.length)),/(.{2})/g,"$1 "));const i=n.length-t.maxArrayLength;return i>0&&(o+=` ... ${i} more byte${i>1?"s":""}`),[`${t.stylize("[Uint8Contents]","special")}: <${o}>`]}function nr(t,e,r){const n=e.length,o=j(v(0,t.maxArrayLength),n),i=n-o,l=[];for(let n=0;n<o;n++){if(!H(e,n))return er(t,e,r,o,l,n);l.push(gr(t,e,r,n,1))}return i>0&&l.push(`... ${i} more item${i>1?"s":""}`),l}function or(t,e,r,n,o){const l=j(v(0,r.maxArrayLength),e),c=t.length-l,s=new i(l),p=t.length>0&&"number"==typeof t[0]?Je:Qe;for(let e=0;e<l;++e)s[e]=p(r.stylize,t[e]);if(c>0&&(s[l]=`... ${c} more item${c>1?"s":""}`),r.showHidden){r.indentationLvl+=2;for(const e of["BYTES_PER_ELEMENT","length","byteLength","byteOffset","buffer"]){const n=Ke(r,t[e],o,!0);a(s,`[${e}]: ${n}`)}r.indentationLvl-=2}return s}function ir(t,e,r,n){const o=[];e.indentationLvl+=2;for(const r of t)a(o,Ke(e,r,n));return e.indentationLvl-=2,o}function lr(t,e,r,n){const o=[];e.indentationLvl+=2;for(const{0:r,1:i}of t)o.push(`${Ke(e,r,n)} => `+Ke(e,i,n));return e.indentationLvl-=2,o}function cr(t,e,r,n){const o=v(t.maxArrayLength,0),l=j(o,r.length),c=new i(l);t.indentationLvl+=2;for(let n=0;n<l;n++)c[n]=Ke(t,r[n],e);t.indentationLvl-=2,0!==n||t.sorted||u(c);const s=r.length-l;return s>0&&a(c,`... ${s} more item${s>1?"s":""}`),c}function sr(t,e,r,n){const o=v(t.maxArrayLength,0),l=r.length/2,c=l-o,s=j(o,l);let a=new i(s),p=0;if(t.indentationLvl+=2,0===n){for(;p<s;p++){const n=2*p;a[p]=`${Ke(t,r[n],e)} => ${Ke(t,r[n+1],e)}`}t.sorted||(a=a.sort())}else for(;p<s;p++){const n=2*p,o=[Ke(t,r[n],e),Ke(t,r[n+1],e)];a[p]=hr(t,o,"",["[","]"],2,e)}return t.indentationLvl-=2,c>0&&a.push(`... ${c} more item${c>1?"s":""}`),a}function ar(t){return[t.stylize("<items unknown>","special")]}function pr(t,e,r){return cr(t,r,Ft(e),0)}function ur(t,e,r){return sr(t,r,Ft(e),0)}function yr(t,e,r,n){const{0:o,1:i}=Ft(r,!0);return i?(t[0]=t[0].replace(/ Iterator] {$/," Entries] {"),sr(e,n,o,2)):cr(e,n,o,1)}function fr(t,e,r){let n;const{0:o,1:i}=jt(e);if(o===Et)n=[t.stylize("<pending>","special")];else{t.indentationLvl+=2;const e=Ke(t,i,r);t.indentationLvl-=2,n=[o===Lt?`${t.stylize("<rejected>","special")} ${e}`:e]}return n}function gr(t,e,r,n,o,i,l=e){let c,s,a=" ";if(void 0!==(i=i||_(e,n)||{value:e[n],enumerable:!0}).value){const e=!0!==t.compact||0!==o?2:3;t.indentationLvl+=e,s=Ke(t,i.value,r),3===e&&t.breakLength<Ie(s,t.colors)&&(a=`\n${" ".repeat(t.indentationLvl)}`),t.indentationLvl-=e}else if(void 0!==i.get){const e=void 0!==i.set?"Getter/Setter":"Getter",n=t.stylize,o="special";if(t.getters&&(!0===t.getters||"get"===t.getters&&void 0===i.set||"set"===t.getters&&void 0!==i.set))try{const c=$(i.get,l);if(t.indentationLvl+=2,null===c)s=`${n(`[${e}:`,o)} ${n("null","null")}${n("]",o)}`;else if("object"==typeof c)s=`${n(`[${e}]`,o)} ${Ke(t,c,r)}`;else{const r=Xe(n,c,t);s=`${n(`[${e}:`,o)} ${r}${n("]",o)}`}t.indentationLvl-=2}catch(t){const r=`<Inspection threw (${t.message})>`;s=`${n(`[${e}:`,o)} ${r}${n("]",o)}`}else s=t.stylize(`[${e}]`,o)}else s=void 0!==i.set?t.stylize("[Setter]","special"):t.stylize("undefined","undefined");if(1===o)return s;if("symbol"==typeof n){const e=ut(bt(n),Se,_e);c=`[${t.stylize(e,"symbol")}]`}else c="__proto__"===n?"['__proto__']":!1===i.enumerable?`[${ut(n,Se,_e)}]`:q(Oe,n)?t.stylize(n,"name"):t.stylize(Me(n),"string");return`${c}:${a}${s}`}function dr(t,e,r,n){let o=e.length+r;if(o+e.length>t.breakLength)return!1;for(let r=0;r<e.length;r++)if(t.colors?o+=Mt(e[r]).length:o+=e[r].length,o>t.breakLength)return!1;return""===n||!lt(n,"\n")}function hr(t,e,r,n,o,l,c){if(!0!==t.compact){if("number"==typeof t.compact&&t.compact>=1){const s=e.length;if(2===o&&s>6&&(e=function(t,e,r){let n=0,o=0,l=0,c=e.length;t.maxArrayLength<e.length&&c--;const s=new i(c);for(;l<c;l++){const r=Ie(e[l],t.colors);s[l]=r,n+=r+2,o<r&&(o=r)}const p=o+2;if(3*p+t.indentationLvl<t.breakLength&&(n/p>5||o<=6)){const o=2.5,i=E(p-n/e.length),l=v(p-3-i,1),u=j(w(E(o*l*c)/l),A((t.breakLength-t.indentationLvl)/p),4*t.compact,15);if(u<=1)return e;const y=[],f=[];for(let t=0;t<u;t++){let r=0;for(let n=t;n<e.length;n+=u)s[n]>r&&(r=s[n]);r+=2,f[t]=r}let g=at;if(void 0!==r)for(let t=0;t<e.length;t++)if("number"!=typeof r[t]&&"bigint"!=typeof r[t]){g=st;break}for(let t=0;t<c;t+=u){const r=j(t+u,c);let n="",o=t;for(;o<r-1;o++){const r=f[o-t]+e[o].length-s[o];n+=g(`${e[o]}, `,r," ")}if(g===at){const r=f[o-t]+e[o].length-s[o]-2;n+=at(e[o],r," ")}else n+=e[o];a(y,n)}t.maxArrayLength<e.length&&a(y,e[c]),e=y}return e}(t,e,c)),t.currentDepth-l<t.compact&&s===e.length&&dr(t,e,e.length+t.indentationLvl+n[0].length+r.length+10,r))return`${r?`${r} `:""}${n[0]} ${_t(e,", ")} ${n[1]}`}const s=`\n${pt(" ",t.indentationLvl)}`;return`${r?`${r} `:""}${n[0]}${s} ${_t(e,`,${s} `)}${s}${n[1]}`}if(dr(t,e,0,r))return`${n[0]}${r?` ${r}`:""} ${_t(e,", ")} `+n[1];const s=pt(" ",t.indentationLvl),p=""===r&&1===n[0].length?" ":`${r?` ${r}`:""}\n${s} `;return`${n[0]}${p}${_t(e,`,\n${s} `)} ${n[1]}`}function br(t){const e=wt(t,!1);if(void 0!==e&&(t=e),"function"!=typeof t.toString)return!0;if(H(t,"toString"))return!1;let r=t;do{r=C(r)}while(!H(r,"toString"));const n=_(r,"constructor");return void 0!==n&&"function"==typeof n.value&&he.has(n.value.name)}const mr=t=>ft(t.message,"\n",1)[0];let $r;function Sr(t){try{return x(t)}catch(t){if(!$r)try{const t={};t.a=t,x(t)}catch(t){$r=mr(t)}if("TypeError"===t.name&&mr(t)===$r)return"[Circular]";throw t}}function xr(t,e){const r=e[0];let n=0,o="",i="";if("string"==typeof r){if(1===e.length)return r;let l,c=0;for(let i=0;i<r.length-1;i++)if(37===ot(r,i)){const s=ot(r,++i);if(n+1!==e.length){switch(s){case 115:const s=e[++n];l="number"==typeof s?Je(Ce,s):"bigint"==typeof s?`${s}n`:"object"==typeof s&&null!==s&&br(s)?Te(s,{...t,compact:3,colors:!1,depth:0}):nt(s);break;case 106:l=Sr(e[++n]);break;case 100:const a=e[++n];l="bigint"==typeof a?`${a}n`:"symbol"==typeof a?"NaN":Je(Ce,L(a));break;case 79:l=Te(e[++n],t);break;case 111:l=Te(e[++n],{...t,showHidden:!0,showProxy:!0,depth:4});break;case 105:const p=e[++n];l="bigint"==typeof p?`${p}n`:"symbol"==typeof p?"NaN":Je(Ce,I(p));break;case 102:const u=e[++n];l="symbol"==typeof u?"NaN":Je(Ce,k(u));break;case 99:n+=1,l="";break;case 37:o+=yt(r,c,i),c=i+1;continue;default:continue}c!==i-1&&(o+=yt(r,c,i-1)),o+=l,c=i+1}else 37===s&&(o+=yt(r,c,i),c=i+1)}0!==c&&(n++,i=" ",c<r.length&&(o+=yt(r,c)))}for(;n<e.length;){const r=e[n];o+=i,o+="string"!=typeof r?Te(r,t):r,i=" ",n++}return o}if(o("config").hasIntl){const t=o("icu");Ie=function(e,r=!0){let n=0;r&&(e=Pr(e));for(let r=0;r<e.length;r++){const o=e.charCodeAt(r);if(o>=127){n+=t.getStringWidth(e.slice(r).normalize("NFC"));break}n+=o>=32?1:0}return n}}else{Ie=function(r,n=!0){let o=0;n&&(r=Pr(r)),r=ct(r,"NFC");for(const n of new Q(r)){const r=it(n,0);t(r)?o+=2:e(r)||o++}return o};const t=t=>t>=4352&&(t<=4447||9001===t||9002===t||t>=11904&&t<=12871&&12351!==t||t>=12880&&t<=19903||t>=19968&&t<=42182||t>=43360&&t<=43388||t>=44032&&t<=55203||t>=63744&&t<=64255||t>=65040&&t<=65049||t>=65072&&t<=65131||t>=65281&&t<=65376||t>=65504&&t<=65510||t>=110592&&t<=110593||t>=127488&&t<=127569||t>=127744&&t<=128591||t>=131072&&t<=262141),e=t=>t<=31||t>=127&&t<=159||t>=768&&t<=879||t>=8203&&t<=8207||t>=8400&&t<=8447||t>=65024&&t<=65039||t>=65056&&t<=65071||t>=917760&&t<=917999}function Pr(t){return t.replace(ke,"")}t.exports={inspect:Te,format:function(...t){return xr(void 0,t)},formatWithOptions:function(t,...e){if("object"!=typeof t||null===t)throw new Dt("inspectOptions","object",t);return xr(t,e)},getStringWidth:Ie,inspectDefaultOptions:me,stripVTControlCharacters:Pr,stylizeWithColor:De,stylizeWithHTML(t,e){const r=Te.styles[e];return void 0!==r?`<span style="color:${r};">${t}</span>`:t},Proxy:zt}},183:t=>{t.exports=function(t){if(!t)throw new Error("Assertion failed")}},992:(t,e)=>{e.NativeModule={exists:t=>!t.startsWith("/")}},101:(t,e,r)=>{const{ArrayIsArray:n,ArrayPrototypeIncludes:o,ArrayPrototypeIndexOf:i,ArrayPrototypeJoin:l,ArrayPrototypePop:c,ArrayPrototypePush:s,ArrayPrototypeSplice:a,ErrorCaptureStackTrace:p,ObjectDefineProperty:u,ReflectApply:y,RegExpPrototypeTest:f,SafeMap:g,StringPrototypeEndsWith:d,StringPrototypeIncludes:h,StringPrototypeSlice:b,StringPrototypeToLowerCase:m}=r(765),$=new g,S={},x=/^([A-Z][a-z0-9]*)+$/,P=["string","function","number","object","Function","Object","boolean","bigint","symbol"];let O,A,v=null;function j(){return v||(v=r(48)),v}const w=E((function(t,e,r){(t=L(t)).name=`${e} [${r}]`,t.stack,delete t.name}));function E(t){const e="__node_internal_"+t.name;return u(t,"name",{value:e}),t}const L=E((function(t){return O=Error.stackTraceLimit,Error.stackTraceLimit=1/0,p(t),Error.stackTraceLimit=O,t}));let F,k;var I,T,R,z,N;t.exports={codes:S,hideStackFrames:E,isStackOverflowError:function(t){if(void 0===k)try{!function t(){t()}()}catch(t){k=t.message,F=t.name}return t&&t.name===F&&t.message===k}},I="ERR_INVALID_ARG_TYPE",T=(t,e,r)=>{A("string"==typeof t,"'name' must be a string"),n(e)||(e=[e]);let p="The ";d(t," argument")?p+=`${t} `:p+=`"${t}" ${h(t,".")?"property":"argument"} `,p+="must be ";const u=[],y=[],g=[];for(const t of e)A("string"==typeof t,"All expected entries have to be of type string"),o(P,t)?s(u,m(t)):f(x,t)?s(y,t):(A("object"!==t,'The value "object" should be written as "Object"'),s(g,t));if(y.length>0){const t=i(u,"object");-1!==t&&(a(u,t,1),s(y,"Object"))}if(u.length>0){if(u.length>2){const t=c(u);p+=`one of type ${l(u,", ")}, or ${t}`}else p+=2===u.length?`one of type ${u[0]} or ${u[1]}`:`of type ${u[0]}`;(y.length>0||g.length>0)&&(p+=" or ")}if(y.length>0){if(y.length>2){const t=c(y);p+=`an instance of ${l(y,", ")}, or ${t}`}else p+=`an instance of ${y[0]}`,2===y.length&&(p+=` or ${y[1]}`);g.length>0&&(p+=" or ")}if(g.length>0)if(g.length>2){const t=c(g);p+=`one of ${l(g,", ")}, or ${t}`}else 2===g.length?p+=`one of ${g[0]} or ${g[1]}`:(m(g[0])!==g[0]&&(p+="an "),p+=`${g[0]}`);if(null==r)p+=`. Received ${r}`;else if("function"==typeof r&&r.name)p+=`. Received function ${r.name}`;else if("object"==typeof r)r.constructor&&r.constructor.name?p+=`. Received an instance of ${r.constructor.name}`:p+=`. Received ${j().inspect(r,{depth:-1})}`;else{let t=j().inspect(r,{colors:!1});t.length>25&&(t=`${b(t,0,25)}...`),p+=`. Received type ${typeof r} (${t})`}return p},R=TypeError,$.set(I,T),S[I]=(z=R,N=I,function(...t){const e=Error.stackTraceLimit;Error.stackTraceLimit=0;const n=new z;Error.stackTraceLimit=e;const o=function(t,e,n){const o=$.get(t);return void 0===A&&(A=r(183)),A("function"==typeof o),A(o.length<=e.length,`Code: ${t}; The provided arguments length (${e.length}) does not match the required ones (${o.length}).`),y(o,n,e)}(N,t,n);return u(n,"message",{value:o,enumerable:!1,writable:!0,configurable:!0}),u(n,"toString",{value(){return`${this.name} [${N}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}),w(n,z.name,N),n.code=N,n})},335:t=>{const e=/\u001b\[\d\d?m/g;t.exports={customInspectSymbol:Symbol.for("nodejs.util.inspect.custom"),isError:t=>t instanceof Error,join:Array.prototype.join.call.bind(Array.prototype.join),removeColors:t=>String.prototype.replace.call(t,e,"")}},63:(t,e,r)=>{const{getConstructorName:n}=r(891);function o(t,...e){for(const r of e){const e=globalThis[r];if(e&&t instanceof e)return!0}for(;t;){if("object"!=typeof t)return!1;if(e.indexOf(n(t))>=0)return!0;t=Object.getPrototypeOf(t)}return!1}function i(t){return e=>{if(!o(e,t.name))return!1;try{t.prototype.valueOf.call(e)}catch{return!1}return!0}}"object"!=typeof globalThis&&(Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__);const l=i(String),c=i(Number),s=i(Boolean),a=i(BigInt),p=i(Symbol);t.exports={isAsyncFunction:t=>"function"==typeof t&&Function.prototype.toString.call(t).startsWith("async"),isGeneratorFunction:t=>"function"==typeof t&&Function.prototype.toString.call(t).match(/^(async\s+)?function *\*/),isAnyArrayBuffer:t=>o(t,"ArrayBuffer","SharedArrayBuffer"),isArrayBuffer:t=>o(t,"ArrayBuffer"),isArgumentsObject:t=>!1,isBoxedPrimitive:t=>c(t)||l(t)||s(t)||a(t)||p(t),isDataView:t=>o(t,"DataView"),isExternal:t=>"object"==typeof t&&Object.isFrozen(t)&&null==Object.getPrototypeOf(t),isMap(t){if(!o(t,"Map"))return!1;try{t.has()}catch{return!1}return!0},isMapIterator:t=>"[object Map Iterator]"===Object.prototype.toString.call(Object.getPrototypeOf(t)),isModuleNamespaceObject:t=>t&&"object"==typeof t&&"Module"===t[Symbol.toStringTag],isNativeError:t=>t instanceof Error&&o(t,"Error","EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError","AggregateError"),isPromise:t=>o(t,"Promise"),isSet(t){if(!o(t,"Set"))return!1;try{t.has()}catch{return!1}return!0},isSetIterator:t=>"[object Set Iterator]"===Object.prototype.toString.call(Object.getPrototypeOf(t)),isWeakMap:t=>o(t,"WeakMap"),isWeakSet:t=>o(t,"WeakSet"),isRegExp:t=>o(t,"RegExp"),isDate(t){if(o(t,"Date"))try{return Date.prototype.getTime.call(t),!0}catch{}return!1},isTypedArray:t=>o(t,"Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"),isStringObject:l,isNumberObject:c,isBooleanObject:s,isBigIntObject:a,isSymbolObject:p}},356:(t,e,r)=>{const{hideStackFrames:n,codes:{ERR_INVALID_ARG_TYPE:o}}=r(101);e.validateObject=n(((t,e,{nullable:r=!1}={})=>{if(!r&&null===t||Array.isArray(t)||"object"!=typeof t)throw new o(e,"Object",t)}))},765:t=>{const e=(t,e)=>{class r{constructor(e){this._iterator=t(e)}next(){return e(this._iterator)}[Symbol.iterator](){return this}}return Object.setPrototypeOf(r.prototype,null),Object.freeze(r.prototype),Object.freeze(r),r};function r(t,e){return Function.prototype.call.bind(t.prototype.__lookupGetter__(e))}function n(t){return Function.prototype.call.bind(t)}const o=(t,e)=>{Array.prototype.forEach.call(Reflect.ownKeys(t),(r=>{Reflect.getOwnPropertyDescriptor(e,r)||Reflect.defineProperty(e,r,Reflect.getOwnPropertyDescriptor(t,r))}))},i=(t,r)=>{if(Symbol.iterator in t.prototype){const o=new t;let i;Array.prototype.forEach.call(Reflect.ownKeys(t.prototype),(l=>{if(!Reflect.getOwnPropertyDescriptor(r.prototype,l)){const c=Reflect.getOwnPropertyDescriptor(t.prototype,l);if("function"==typeof c.value&&0===c.value.length&&Symbol.iterator in(Function.prototype.call.call(c.value,o)||{})){const t=n(c.value);null==i&&(i=n(t(o).next));const r=e(t,i);c.value=function(){return new r(this)}}Reflect.defineProperty(r.prototype,l,c)}}))}else o(t.prototype,r.prototype);return o(t,r),Object.setPrototypeOf(r.prototype,null),Object.freeze(r.prototype),Object.freeze(r),r},l=Function.prototype.call.bind(String.prototype[Symbol.iterator]),c=Reflect.getPrototypeOf(l(""));t.exports={makeSafe:i,internalBinding(t){if("config"===t)return{hasIntl:!1};throw new Error(`unknown module: "${t}"`)},Array,ArrayIsArray:Array.isArray,ArrayPrototypeFilter:Function.prototype.call.bind(Array.prototype.filter),ArrayPrototypeForEach:Function.prototype.call.bind(Array.prototype.forEach),ArrayPrototypeIncludes:Function.prototype.call.bind(Array.prototype.includes),ArrayPrototypeIndexOf:Function.prototype.call.bind(Array.prototype.indexOf),ArrayPrototypeJoin:Function.prototype.call.bind(Array.prototype.join),ArrayPrototypePop:Function.prototype.call.bind(Array.prototype.pop),ArrayPrototypePush:Function.prototype.call.bind(Array.prototype.push),ArrayPrototypePushApply:Function.apply.bind(Array.prototype.push),ArrayPrototypeSort:Function.prototype.call.bind(Array.prototype.sort),ArrayPrototypeSplice:Function.prototype.call.bind(Array.prototype.slice),ArrayPrototypeUnshift:Function.prototype.call.bind(Array.prototype.unshift),BigIntPrototypeValueOf:Function.prototype.call.bind(BigInt.prototype.valueOf),BooleanPrototypeValueOf:Function.prototype.call.bind(Boolean.prototype.valueOf),DatePrototypeGetTime:Function.prototype.call.bind(Date.prototype.getTime),DatePrototypeToISOString:Function.prototype.call.bind(Date.prototype.toISOString),DatePrototypeToString:Function.prototype.call.bind(Date.prototype.toString),ErrorCaptureStackTrace:function(t){const e=(new Error).stack;t.stack=e.replace(/.*\n.*/,"$1")},ErrorPrototypeToString:Function.prototype.call.bind(Error.prototype.toString),FunctionPrototypeCall:Function.prototype.call.bind(Function.prototype.call),FunctionPrototypeToString:Function.prototype.call.bind(Function.prototype.toString),JSONStringify:JSON.stringify,MapPrototypeGetSize:r(Map,"size"),MapPrototypeEntries:Function.prototype.call.bind(Map.prototype.entries),MathFloor:Math.floor,MathMax:Math.max,MathMin:Math.min,MathRound:Math.round,MathSqrt:Math.sqrt,Number,NumberIsNaN:Number.isNaN,NumberParseFloat:Number.parseFloat,NumberParseInt:Number.parseInt,NumberPrototypeValueOf:Function.prototype.call.bind(Number.prototype.valueOf),Object,ObjectAssign:Object.assign,ObjectCreate:Object.create,ObjectDefineProperty:Object.defineProperty,ObjectGetOwnPropertyDescriptor:Object.getOwnPropertyDescriptor,ObjectGetOwnPropertyNames:Object.getOwnPropertyNames,ObjectGetOwnPropertySymbols:Object.getOwnPropertySymbols,ObjectGetPrototypeOf:Object.getPrototypeOf,ObjectIs:Object.is,ObjectKeys:Object.keys,ObjectPrototypeHasOwnProperty:Function.prototype.call.bind(Object.prototype.hasOwnProperty),ObjectPrototypePropertyIsEnumerable:Function.prototype.call.bind(Object.prototype.propertyIsEnumerable),ObjectSeal:Object.seal,ObjectSetPrototypeOf:Object.setPrototypeOf,ReflectApply:Reflect.apply,ReflectOwnKeys:Reflect.ownKeys,RegExp,RegExpPrototypeTest:Function.prototype.call.bind(RegExp.prototype.test),RegExpPrototypeToString:Function.prototype.call.bind(RegExp.prototype.toString),SafeStringIterator:e(l,Function.prototype.call.bind(c.next)),SafeMap:i(Map,class extends Map{constructor(t){super(t)}}),SafeSet:i(Set,class extends Set{constructor(t){super(t)}}),SetPrototypeGetSize:r(Set,"size"),SetPrototypeValues:Function.prototype.call.bind(Set.prototype.values),String,StringPrototypeCharCodeAt:Function.prototype.call.bind(String.prototype.charCodeAt),StringPrototypeCodePointAt:Function.prototype.call.bind(String.prototype.codePointAt),StringPrototypeEndsWith:Function.prototype.call.bind(String.prototype.endsWith),StringPrototypeIncludes:Function.prototype.call.bind(String.prototype.includes),StringPrototypeNormalize:Function.prototype.call.bind(String.prototype.normalize),StringPrototypePadEnd:Function.prototype.call.bind(String.prototype.padEnd),StringPrototypePadStart:Function.prototype.call.bind(String.prototype.padStart),StringPrototypeRepeat:Function.prototype.call.bind(String.prototype.repeat),StringPrototypeReplace:Function.prototype.call.bind(String.prototype.replace),StringPrototypeSlice:Function.prototype.call.bind(String.prototype.slice),StringPrototypeSplit:Function.prototype.call.bind(String.prototype.split),StringPrototypeToLowerCase:Function.prototype.call.bind(String.prototype.toLowerCase),StringPrototypeTrim:Function.prototype.call.bind(String.prototype.trim),StringPrototypeValueOf:Function.prototype.call.bind(String.prototype.valueOf),SymbolPrototypeToString:Function.prototype.call.bind(Symbol.prototype.toString),SymbolPrototypeValueOf:Function.prototype.call.bind(Symbol.prototype.valueOf),SymbolIterator:Symbol.iterator,SymbolFor:Symbol.for,SymbolToStringTag:Symbol.toStringTag,TypedArrayPrototypeGetLength:("length",t=>t.constructor.prototype.__lookupGetter__("length").call(t)),Uint8Array,uncurryThis:n}},161:t=>{const e=new WeakMap;class r{constructor(t,r){const n=new Proxy(t,r);return e.set(n,[t,r]),n}static getProxyDetails(t,r=!0){const n=e.get(t);if(n)return r?n:n[0]}}t.exports={getProxyDetails:r.getProxyDetails.bind(r),Proxy:r}},891:(t,e,r)=>{const n=r(161),o=Symbol("kPending"),i=Symbol("kRejected");t.exports={getOwnNonIndexProperties:function(t,e=2){const r=Object.getOwnPropertyDescriptors(t),n=[];for(const[t,o]of Object.entries(r))if(!/^(0|[1-9][0-9]*)$/.test(t)||parseInt(t,10)>=2**32-1){if(2===e&&!o.enumerable)continue;n.push(t)}for(const r of Object.getOwnPropertySymbols(t)){const o=Object.getOwnPropertyDescriptor(t,r);(2!==e||o.enumerable)&&n.push(r)}return n},getPromiseDetails:()=>[o,void 0],getProxyDetails:n.getProxyDetails,Proxy:n.Proxy,kPending:o,kRejected:i,previewEntries:t=>[[],!1],getConstructorName(t){if(!t||"object"!=typeof t)throw new Error("Invalid object");if(t.constructor&&t.constructor.name)return t.constructor.name;const e=Object.prototype.toString.call(t).match(/^\[object ([^\]]+)\]/);return e?e[1]:"Object"},getExternalValue:()=>BigInt(0),propertyFilter:{ALL_PROPERTIES:0,ONLY_ENUMERABLE:2}}}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}return r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r(48)})()})); |
{ | ||
"name": "node-inspect-extracted", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Node's util.inspect, extracted for use on the Web", | ||
@@ -10,6 +10,8 @@ "main": "dist/inspect.js", | ||
"check": "node tools/check", | ||
"lint": "eslint src/**/*.js test/**/*.js", | ||
"lint": "eslint src/**.js test/**.js tools/**.js", | ||
"build": "webpack", | ||
"pretest": "npm run build", | ||
"test": "node tools/runtests", | ||
"pretest:all": "npm run build", | ||
"test:all": "nve 10,12,14,15 node tools/runtests", | ||
"coverage": "c8 -r lcov -n src npm test", | ||
@@ -36,9 +38,9 @@ "prestart": "npm run coverage || true", | ||
"devDependencies": { | ||
"@babel/core": "^7.12.13", | ||
"@babel/core": "^7.13.13", | ||
"@babel/plugin-syntax-class-properties": "^7.12.13", | ||
"c8": "^7.5.0", | ||
"eslint": "^7.19.0", | ||
"c8": "^7.6.0", | ||
"eslint": "^7.23.0", | ||
"light-server": "^2.9.1", | ||
"webpack": "^5.20.2", | ||
"webpack-cli": "^4.5.0" | ||
"webpack": "^5.28.0", | ||
"webpack-cli": "^4.6.0" | ||
}, | ||
@@ -45,0 +47,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
48242