already initialized, ignoring new mode",` Current: '${l}'`,` Given: '${h}'`].join(` `)));return}Reflect.set(a,g,h)}function L(a){if(m()!=="off"&&N(a)){let h=E(a,Reflect.get(a,u));for(let l of Reflect.ownKeys(a))!h.includes(l)&&l!==u&&_(a,l)}}function v(a,h=[],l=2){if(m()==="off")return!1;let y=process.emitWarning;try{if(process.emitWarning=()=>{},l>=0&&N(a)&&!Reflect.has(a,u)){let $=Reflect.defineProperty(a,u,{configurable:!0,enumerable:!1,value:h,writable:!0});for(let C of E(a,h))try{let S=Reflect.get(a,C);v(S,[],l-1)}catch{}return $}return!1}finally{process.emitWarning=y}}function N(a){if(a!==null){let h=typeof a;return h==="object"||h==="function"}return!1}function _(a,h){var C,S;let l=Reflect.getOwnPropertyDescriptor(a,h);if(!(l!=null&&l.configurable))return!1;if(m()==="on")return Reflect.deleteProperty(a,h);let y=(C=l.get)!=null?C:(()=>l.value),$=(S=l.set)!=null?S:(R=>Reflect.set(a,h,R));return Reflect.defineProperty(a,h,{configurable:!0,enumerable:l.enumerable,get(){return p(a,h),y()},set(R){return p(a,h),$(R)}})}function m(){var a;return(a=Reflect.get(globalThis,g))!=null?a:"off"}let A=new WeakSet;function p(a,h){var $,C;if(A.has(a))return;let l=(C=($=a==null?void 0:a.constructor)==null?void 0:$.name)!=null?C:"unknown",y=typeof h=="symbol"?h.description:h;process.emitWarning(`'${y}' property was accessed on [${l}] after it was soft deleted`,{code:"JEST-01",detail:["Jest deletes objects that were set on the global scope between test files to reduce memory leaks.",'Currently it only "soft" deletes them and emits this warning if those objects were accessed after their deletion.','In future versions of Jest, this behavior will change to "on", which will likely fail tests.',"You can change the behavior in your test configuration now to reduce memory usage."].map(S=>` ${S}`).join(` `),type:"DeprecationWarning"}),A.add(a)}function E(a,h){return h===void 0?[]:(h.length>0?h:Reflect.ownKeys(a)).filter(y=>u!==y)}}),"./src/globsToMatcher.ts":((s,r,o)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=v;function c(){let N=u(Cs());return c=function(){return N},N}var g=u(o("./src/replacePathSepForGlob.ts"));function u(N){return N&&N.__esModule?N:{default:N}}let b=new Map,L={dot:!0};function v(N){if(N.length===0)return()=>!1;let _=N.map(m=>{if(!b.has(m)){let A=(0,c().default)(m,L,!0),p={isMatch:A,negated:A.state.negated||!!A.state.negatedExtglob};b.set(m,p)}return b.get(m)});return m=>{let A=(0,g.default)(m),p,E=0;for(let a of _){let{isMatch:h,negated:l}=a;l&&E++;let y=h(A);!y&&l?p=!1:y&&!l&&(p=!0)}return E===_.length?p!==!1:!!p}}}),"./src/installCommonGlobals.ts":((s,r,o)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=_;function c(){let m=v(ut());return c=function(){return m},m}var g=L(o("./src/createProcessObject.ts")),u=L(o("./src/deepCyclicCopy.ts")),b=o("./src/garbage-collection-utils.ts");function L(m){return m&&m.__esModule?m:{default:m}}function v(m,A){if(typeof WeakMap=="function")var p=new WeakMap,E=new WeakMap;return(v=function(a,h){if(!h&&a&&a.__esModule)return a;var l,y,$={__proto__:null,default:a};if(a===null||typeof a!="object"&&typeof a!="function")return $;if(l=h?E:p){if(l.has(a))return l.get(a);l.set(a,$)}for(let C in a)C!=="default"&&{}.hasOwnProperty.call(a,C)&&((y=(l=Object.defineProperty)&&Object.getOwnPropertyDescriptor(a,C))&&(y.get||y.set)?l($,C,y):$[C]=a[C]);return $})(m,A)}let N=Object.keys(globalThis).filter(m=>m.startsWith("DTRACE"));function _(m,A,p){m.process=(0,g.default)();let E=m.Symbol;Object.defineProperties(m,{[E.for("jest-native-promise")]:{enumerable:!1,value:Promise,writable:!1},[E.for("jest-native-now")]:{enumerable:!1,value:m.Date.now.bind(m.Date),writable:!1},[E.for("jest-native-read-file")]:{enumerable:!1,value:c().readFileSync.bind(c()),writable:!1},[E.for("jest-native-write-file")]:{enumerable:!1,value:c().writeFileSync.bind(c()),writable:!1},[E.for("jest-native-exists-file")]:{enumerable:!1,value:c().existsSync.bind(c()),writable:!1},"jest-symbol-do-not-touch":{enumerable:!1,value:E,writable:!1}});for(let a of N)m[a]=function(...h){return globalThis[a].apply(this,h)};return p&&(0,b.initializeGarbageCollectionUtils)(m,p),Object.assign(m,(0,u.default)(A))}}),"./src/interopRequireDefault.ts":((s,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=o;function o(c){return c&&c.__esModule?c:{default:c}}}),"./src/invariant.ts":((s,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=o;function o(c,g=""){if(!c)throw new Error(g)}}),"./src/isInteractive.ts":((s,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;function o(){let b=Ts();return o=function(){return b},b}function c(){return o().isCI||process.stdout==null?!1:process.stdout.isTTY?process.env.TERM!=="dumb":!1}let g=c();var u=r.default=g}),"./src/isNonNullable.ts":((s,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=o;function o(c){return c!=null}}),"./src/isPromise.ts":((s,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=o;function o(c){return c!=null&&(typeof c=="object"||typeof c=="function")&&typeof c.then=="function"}}),"./src/pluralize.ts":((s,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=o;function o(c,g,u="s"){return`${g} ${c}${g===1?"":u}`}}),"./src/preRunMessage.ts":((s,r,o)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.print=L,r.remove=v;function c(){let N=b(Ue());return c=function(){return N},N}var g=b(o("./src/clearLine.ts")),u=b(o("./src/isInteractive.ts"));function b(N){return N&&N.__esModule?N:{default:N}}function L(N){u.default&&N.write(c().default.bold.dim("Determining test suites to run..."))}function v(N){u.default&&(0,g.default)(N)}}),"./src/replacePathSepForGlob.ts":((s,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=o;function o(c){return c.replaceAll(/\\(?![$()+.?^{}])/g,"/")}}),"./src/requireOrImportModule.ts":((s,r,o)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=v;function c(){let N=require("path");return c=function(){return N},N}function g(){let N=require("url");return g=function(){return N},N}var u=b(o("./src/interopRequireDefault.ts"));function b(N){return N&&N.__esModule?N:{default:N}}async function L(N,_){try{let A=await import((0,g().pathToFileURL)(N).href);if(!_)return A;if(!A.default)throw new Error(`Jest: Failed to load ESM at ${N} - did you use a default export?`);return A.default}catch(m){throw m.message==="Not supported"?new Error(`Jest: Your version of Node does not support dynamic import - please enable it or use a .cjs file extension for file ${N}`):m}}async function v(N,_=!0){if(!(0,c().isAbsolute)(N)&&N[0]===".")throw new Error(`Jest: requireOrImportModule path must be absolute, was "${N}"`);try{if(N.endsWith(".mjs"))return L(N,_);let m=require(N);return _?(0,u.default)(m).default:m}catch(m){if(m.code==="ERR_REQUIRE_ESM"||m.code==="ERR_REQUIRE_ASYNC_MODULE")return L(N,_);throw m}}}),"./src/setGlobal.ts":((s,r,o)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=g;var c=o("./src/garbage-collection-utils.ts");function g(u,b,L,v="clean"){Reflect.set(u,b,L),v==="retain"&&(0,c.canDeleteProperties)(L)&&(0,c.protectProperties)(L)}}),"./src/specialChars.ts":((s,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.ICONS=r.CLEAR=r.ARROW=void 0;let o=process.platform==="win32",c=r.ARROW=" \u203A ",g=r.ICONS={failed:o?"\xD7":"\u2715",pending:"\u25CB",success:o?"\u221A":"\u2713",todo:"\u270E"},u=r.CLEAR=o?"\x1B[2J\x1B[0f":"\x1B[2J\x1B[3J\x1B[H"}),"./src/tryRealpath.ts":((s,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=c;function o(){let g=ut();return o=function(){return g},g}function c(g){try{g=o().realpathSync.native(g)}catch(u){if(u.code!=="ENOENT"&&u.code!=="EISDIR")throw u}return g}})},t={};function n(s){var r=t[s];if(r!==void 0)return r.exports;var o=t[s]={exports:{}};return e[s](o,o.exports,n),o.exports}var i={};(()=>{var s=i;Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"ErrorWithStack",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(s,"canDeleteProperties",{enumerable:!0,get:function(){return S.canDeleteProperties}}),Object.defineProperty(s,"clearLine",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(s,"convertDescriptorToString",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(s,"createDirectory",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(s,"deepCyclicCopy",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(s,"deleteProperties",{enumerable:!0,get:function(){return S.deleteProperties}}),Object.defineProperty(s,"formatTime",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(s,"globsToMatcher",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(s,"initializeGarbageCollectionUtils",{enumerable:!0,get:function(){return S.initializeGarbageCollectionUtils}}),Object.defineProperty(s,"installCommonGlobals",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(s,"interopRequireDefault",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(s,"invariant",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(s,"isInteractive",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(s,"isNonNullable",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(s,"isPromise",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(s,"pluralize",{enumerable:!0,get:function(){return a.default}}),s.preRunMessage=void 0,Object.defineProperty(s,"protectProperties",{enumerable:!0,get:function(){return S.protectProperties}}),Object.defineProperty(s,"replacePathSepForGlob",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(s,"requireOrImportModule",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(s,"setGlobal",{enumerable:!0,get:function(){return _.default}}),s.specialChars=void 0,Object.defineProperty(s,"tryRealpath",{enumerable:!0,get:function(){return l.default}});var r=I(n("./src/preRunMessage.ts"));s.preRunMessage=r;var o=I(n("./src/specialChars.ts"));s.specialChars=o;var c=R(n("./src/clearLine.ts")),g=R(n("./src/createDirectory.ts")),u=R(n("./src/ErrorWithStack.ts")),b=R(n("./src/installCommonGlobals.ts")),L=R(n("./src/interopRequireDefault.ts")),v=R(n("./src/isInteractive.ts")),N=R(n("./src/isPromise.ts")),_=R(n("./src/setGlobal.ts")),m=R(n("./src/deepCyclicCopy.ts")),A=R(n("./src/convertDescriptorToString.ts")),p=R(n("./src/replacePathSepForGlob.ts")),E=R(n("./src/globsToMatcher.ts")),a=R(n("./src/pluralize.ts")),h=R(n("./src/formatTime.ts")),l=R(n("./src/tryRealpath.ts")),y=R(n("./src/requireOrImportModule.ts")),$=R(n("./src/invariant.ts")),C=R(n("./src/isNonNullable.ts")),S=n("./src/garbage-collection-utils.ts");function R(j){return j&&j.__esModule?j:{default:j}}function I(j,P){if(typeof WeakMap=="function")var T=new WeakMap,f=new WeakMap;return(I=function(d,w){if(!w&&d&&d.__esModule)return d;var x,k,G={__proto__:null,default:d};if(d===null||typeof d!="object"&&typeof d!="function")return G;if(x=w?f:T){if(x.has(d))return x.get(d);x.set(d,G)}for(let W in d)W!=="default"&&{}.hasOwnProperty.call(d,W)&&((k=(x=Object.defineProperty)&&Object.getOwnPropertyDescriptor(d,W))&&(k.get||k.set)?x(G,W,k):G[W]=d[W]);return G})(j,P)}})(),ws.exports=i})()});var Ns=oe((gl,wn)=>{var qt=process||{},$s=qt.argv||[],Ut=qt.env||{},Ko=!(Ut.NO_COLOR||$s.includes("--no-color"))&&(!!Ut.FORCE_COLOR||$s.includes("--color")||qt.platform==="win32"||(qt.stdout||{}).isTTY&&Ut.TERM!=="dumb"||!!Ut.CI),Vo=(e,t,n=e)=>i=>{let s=""+i,r=s.indexOf(t,e.length);return~r?e+Yo(s,t,n,r)+t:e+s+t},Yo=(e,t,n,i)=>{let s="",r=0;do s+=e.substring(r,i)+n,r=i+t.length,i=e.indexOf(t,r);while(~i);return s+e.substring(r)},Ls=(e=Ko)=>{let t=e?Vo:()=>String;return{isColorSupported:e,reset:t("\x1B[0m","\x1B[0m"),bold:t("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:t("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:t("\x1B[3m","\x1B[23m"),underline:t("\x1B[4m","\x1B[24m"),inverse:t("\x1B[7m","\x1B[27m"),hidden:t("\x1B[8m","\x1B[28m"),strikethrough:t("\x1B[9m","\x1B[29m"),black:t("\x1B[30m","\x1B[39m"),red:t("\x1B[31m","\x1B[39m"),green:t("\x1B[32m","\x1B[39m"),yellow:t("\x1B[33m","\x1B[39m"),blue:t("\x1B[34m","\x1B[39m"),magenta:t("\x1B[35m","\x1B[39m"),cyan:t("\x1B[36m","\x1B[39m"),white:t("\x1B[37m","\x1B[39m"),gray:t("\x1B[90m","\x1B[39m"),bgBlack:t("\x1B[40m","\x1B[49m"),bgRed:t("\x1B[41m","\x1B[49m"),bgGreen:t("\x1B[42m","\x1B[49m"),bgYellow:t("\x1B[43m","\x1B[49m"),bgBlue:t("\x1B[44m","\x1B[49m"),bgMagenta:t("\x1B[45m","\x1B[49m"),bgCyan:t("\x1B[46m","\x1B[49m"),bgWhite:t("\x1B[47m","\x1B[49m"),blackBright:t("\x1B[90m","\x1B[39m"),redBright:t("\x1B[91m","\x1B[39m"),greenBright:t("\x1B[92m","\x1B[39m"),yellowBright:t("\x1B[93m","\x1B[39m"),blueBright:t("\x1B[94m","\x1B[39m"),magentaBright:t("\x1B[95m","\x1B[39m"),cyanBright:t("\x1B[96m","\x1B[39m"),whiteBright:t("\x1B[97m","\x1B[39m"),bgBlackBright:t("\x1B[100m","\x1B[49m"),bgRedBright:t("\x1B[101m","\x1B[49m"),bgGreenBright:t("\x1B[102m","\x1B[49m"),bgYellowBright:t("\x1B[103m","\x1B[49m"),bgBlueBright:t("\x1B[104m","\x1B[49m"),bgMagentaBright:t("\x1B[105m","\x1B[49m"),bgCyanBright:t("\x1B[106m","\x1B[49m"),bgWhiteBright:t("\x1B[107m","\x1B[49m")}};wn.exports=Ls();wn.exports.createColors=Ls});var Is=oe(Gt=>{Object.defineProperty(Gt,"__esModule",{value:!0});Gt.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;Gt.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!!(e[3]||e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}});var Hs=oe(lt=>{"use strict";Object.defineProperty(lt,"__esModule",{value:!0});lt.isIdentifierChar=Ds;lt.isIdentifierName=Jo;lt.isIdentifierStart=xs;var Ln="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",Ms="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",zo=new RegExp("["+Ln+"]"),Xo=new RegExp("["+Ln+Ms+"]");Ln=Ms=null;var Ps=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],Qo=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239];function $n(e,t){let n=65536;for(let i=0,s=t.length;ie)return!1;if(n+=t[i+1],n>=e)return!0}return!1}function xs(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&zo.test(String.fromCharCode(e)):$n(e,Ps)}function Ds(e){return e<48?e===36:e<58?!0:e<65?!1:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&Xo.test(String.fromCharCode(e)):$n(e,Ps)||$n(e,Qo)}function Jo(e){let t=!0;for(let n=0;n{"use strict";Object.defineProperty(Ge,"__esModule",{value:!0});Ge.isKeyword=ra;Ge.isReservedWord=js;Ge.isStrictBindOnlyReservedWord=Bs;Ge.isStrictBindReservedWord=na;Ge.isStrictReservedWord=ks;var Nn={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Zo=new Set(Nn.keyword),ea=new Set(Nn.strict),ta=new Set(Nn.strictBind);function js(e,t){return t&&e==="await"||e==="enum"}function ks(e,t){return js(e,t)||ea.has(e)}function Bs(e){return ta.has(e)}function na(e,t){return ks(e,t)||Bs(e)}function ra(e){return Zo.has(e)}});var Us=oe(Pe=>{"use strict";Object.defineProperty(Pe,"__esModule",{value:!0});Object.defineProperty(Pe,"isIdentifierChar",{enumerable:!0,get:function(){return In.isIdentifierChar}});Object.defineProperty(Pe,"isIdentifierName",{enumerable:!0,get:function(){return In.isIdentifierName}});Object.defineProperty(Pe,"isIdentifierStart",{enumerable:!0,get:function(){return In.isIdentifierStart}});Object.defineProperty(Pe,"isKeyword",{enumerable:!0,get:function(){return ft.isKeyword}});Object.defineProperty(Pe,"isReservedWord",{enumerable:!0,get:function(){return ft.isReservedWord}});Object.defineProperty(Pe,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return ft.isStrictBindOnlyReservedWord}});Object.defineProperty(Pe,"isStrictBindReservedWord",{enumerable:!0,get:function(){return ft.isStrictBindReservedWord}});Object.defineProperty(Pe,"isStrictReservedWord",{enumerable:!0,get:function(){return ft.isStrictReservedWord}});var In=Hs(),ft=Fs()});var Js=oe(pt=>{"use strict";Object.defineProperty(pt,"__esModule",{value:!0});var Mn=Ns(),qs=Is(),Gs=Us();function sa(){return typeof process=="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?!1:Mn.isColorSupported}var Wt=(e,t)=>n=>e(t(n));function Vs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:Wt(Wt(e.white,e.bgRed),e.bold),gutter:e.gray,marker:Wt(e.red,e.bold),message:Wt(e.red,e.bold),reset:e.reset}}var ia=Vs(Mn.createColors(!0)),ua=Vs(Mn.createColors(!1));function Ys(e){return e?ia:ua}var oa=new Set(["as","async","from","get","of","set"]),aa=/\r\n|[\n\r\u2028\u2029]/,ca=/^[()[\]{}]$/,zs;{let e=/^[a-z][\w-]*$/i,t=function(n,i,s){if(n.type==="name"){if(Gs.isKeyword(n.value)||Gs.isStrictReservedWord(n.value,!0)||oa.has(n.value))return"keyword";if(e.test(n.value)&&(s[i-1]==="<"||s.slice(i-2,i)==="t[i](r)).join(` `):n+=s;return n}var Ws=!1,Ks=/\r\n|[\n\r\u2028\u2029]/;function la(e,t,n){let i=Object.assign({column:0,line:-1},e.start),s=Object.assign({},i,e.end),{linesAbove:r=2,linesBelow:o=3}=n||{},c=i.line,g=i.column,u=s.line,b=s.column,L=Math.max(c-(r+1),0),v=Math.min(t.length,u+o);c===-1&&(L=0),u===-1&&(v=t.length);let N=u-c,_={};if(N)for(let m=0;m<=N;m++){let A=m+c;if(!g)_[A]=!0;else if(m===0){let p=t[A-1].length;_[A]=[g,p-g+1]}else if(m===N)_[A]=[0,b];else{let p=t[A-m].length;_[A]=[0,p]}}else g===b?g?_[c]=[g,0]:_[c]=!0:_[c]=[g,b-g];return{start:L,end:v,markerLines:_}}function Qs(e,t,n={}){let i=n.forceColor||sa()&&n.highlightCode,s=Ys(i),r=e.split(Ks),{start:o,end:c,markerLines:g}=la(t,r,n),u=t.start&&typeof t.start.column=="number",b=String(c).length,v=(i?Xs(e):e).split(Ks,c).slice(o,c).map((N,_)=>{let m=o+1+_,p=` ${` ${m}`.slice(-b)} |`,E=g[m],a=!g[m+1];if(E){let h="";if(Array.isArray(E)){let l=N.slice(0,Math.max(E[0]-1,0)).replace(/[^\t]/g," "),y=E[1]||1;h=[` `,s.gutter(p.replace(/\d/g," "))," ",l,s.marker("^").repeat(y)].join(""),a&&n.message&&(h+=" "+s.message(n.message))}return[s.marker(">"),s.gutter(p),N.length>0?` ${N}`:"",h].join("")}else return` ${s.gutter(p)}${N.length>0?` ${N}`:""}`}).join(` `);return n.message&&!u&&(v=`${" ".repeat(b+1)}${n.message} ${v}`),i?s.reset(v):v}function fa(e,t,n,i={}){if(!Ws){Ws=!0;let r="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(r,"DeprecationWarning");else{let o=new Error(r);o.name="DeprecationWarning",console.warn(new Error(r))}}return n=Math.max(n,0),Qs(e,{start:{column:n,line:t}},i)}pt.codeFrameColumns=Qs;pt.default=fa;pt.highlight=Xs});var Kt=oe(Ne=>{"use strict";Ne.isInteger=e=>typeof e=="number"?Number.isInteger(e):typeof e=="string"&&e.trim()!==""?Number.isInteger(Number(e)):!1;Ne.find=(e,t)=>e.nodes.find(n=>n.type===t);Ne.exceedsLimit=(e,t,n=1,i)=>i===!1||!Ne.isInteger(e)||!Ne.isInteger(t)?!1:(Number(t)-Number(e))/Number(n)>=i;Ne.escapeNode=(e,t=0,n)=>{let i=e.nodes[t];i&&(n&&i.type===n||i.type==="open"||i.type==="close")&&i.escaped!==!0&&(i.value="\\"+i.value,i.escaped=!0)};Ne.encloseBrace=e=>e.type!=="brace"?!1:e.commas>>0+e.ranges>>0===0?(e.invalid=!0,!0):!1;Ne.isInvalidBrace=e=>e.type!=="brace"?!1:e.invalid===!0||e.dollar?!0:e.commas>>0+e.ranges>>0===0||e.open!==!0||e.close!==!0?(e.invalid=!0,!0):!1;Ne.isOpenOrClose=e=>e.type==="open"||e.type==="close"?!0:e.open===!0||e.close===!0;Ne.reduce=e=>e.reduce((t,n)=>(n.type==="text"&&t.push(n.value),n.type==="range"&&(n.type="text"),t),[]);Ne.flatten=(...e)=>{let t=[],n=i=>{for(let s=0;s{"use strict";var Zs=Kt();ei.exports=(e,t={})=>{let n=(i,s={})=>{let r=t.escapeInvalid&&Zs.isInvalidBrace(s),o=i.invalid===!0&&t.escapeInvalid===!0,c="";if(i.value)return(r||o)&&Zs.isOpenOrClose(i)?"\\"+i.value:i.value;if(i.value)return i.value;if(i.nodes)for(let g of i.nodes)c+=n(g);return c};return n(e)}});var ni=oe((vl,ti)=>{"use strict";ti.exports=function(e){return typeof e=="number"?e-e===0:typeof e=="string"&&e.trim()!==""?Number.isFinite?Number.isFinite(+e):isFinite(+e):!1}});var fi=oe((Sl,li)=>{"use strict";var ri=ni(),We=(e,t,n)=>{if(ri(e)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(t===void 0||e===t)return String(e);if(ri(t)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let i={relaxZeros:!0,...n};typeof i.strictZeros=="boolean"&&(i.relaxZeros=i.strictZeros===!1);let s=String(i.relaxZeros),r=String(i.shorthand),o=String(i.capture),c=String(i.wrap),g=e+":"+t+"="+s+r+o+c;if(We.cache.hasOwnProperty(g))return We.cache[g].result;let u=Math.min(e,t),b=Math.max(e,t);if(Math.abs(u-b)===1){let m=e+"|"+t;return i.capture?`(${m})`:i.wrap===!1?m:`(?:${m})`}let L=ci(e)||ci(t),v={min:e,max:t,a:u,b},N=[],_=[];if(L&&(v.isPadded=L,v.maxLen=String(v.max).length),u<0){let m=b<0?Math.abs(b):1;_=si(m,Math.abs(u),v,i),u=v.a=0}return b>=0&&(N=si(u,b,v,i)),v.negatives=_,v.positives=N,v.result=pa(_,N,i),i.capture===!0?v.result=`(${v.result})`:i.wrap!==!1&&N.length+_.length>1&&(v.result=`(?:${v.result})`),We.cache[g]=v,v.result};function pa(e,t,n){let i=Pn(e,t,"-",!1,n)||[],s=Pn(t,e,"",!1,n)||[],r=Pn(e,t,"-?",!0,n)||[];return i.concat(r).concat(s).join("|")}function da(e,t){let n=1,i=1,s=ui(e,n),r=new Set([t]);for(;e<=s&&s<=t;)r.add(s),n+=1,s=ui(e,n);for(s=oi(t+1,i)-1;e1&&c.count.pop(),c.count.push(b.count[0]),c.string=c.pattern+ai(c.count),o=u+1;continue}n.isPadded&&(L=Ea(u,n,i)),b.string=L+b.pattern+ai(b.count),r.push(b),o=u+1,c=b}return r}function Pn(e,t,n,i,s){let r=[];for(let o of e){let{string:c}=o;!i&&!ii(t,"string",c)&&r.push(n+c),i&&ii(t,"string",c)&&r.push(n+c)}return r}function ha(e,t){let n=[];for(let i=0;it?1:t>e?-1:0}function ii(e,t,n){return e.some(i=>i[t]===n)}function ui(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function oi(e,t){return e-e%Math.pow(10,t)}function ai(e){let[t=0,n=""]=e;return n||t>1?`{${t+(n?","+n:"")}}`:""}function ba(e,t,n){return`[${e}${t-e===1?"":"-"}${t}]`}function ci(e){return/^-?(0+)\d/.test(e)}function Ea(e,t,n){if(!t.isPadded)return e;let i=Math.abs(t.maxLen-String(e).length),s=n.relaxZeros!==!1;switch(i){case 0:return"";case 1:return s?"0?":"0";case 2:return s?"0{0,2}":"00";default:return s?`0{0,${i}}`:`0{${i}}`}}We.cache={};We.clearCache=()=>We.cache={};li.exports=We});var Hn=oe((Ol,Ei)=>{"use strict";var ya=require("util"),di=fi(),pi=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),_a=e=>t=>e===!0?Number(t):String(t),xn=e=>typeof e=="number"||typeof e=="string"&&e!=="",dt=e=>Number.isInteger(+e),Dn=e=>{let t=`${e}`,n=-1;if(t[0]==="-"&&(t=t.slice(1)),t==="0")return!1;for(;t[++n]==="0";);return n>0},Ra=(e,t,n)=>typeof e=="string"||typeof t=="string"?!0:n.stringify===!0,Aa=(e,t,n)=>{if(t>0){let i=e[0]==="-"?"-":"";i&&(e=e.slice(1)),e=i+e.padStart(i?t-1:t,"0")}return n===!1?String(e):e},zt=(e,t)=>{let n=e[0]==="-"?"-":"";for(n&&(e=e.slice(1),t--);e.length{e.negatives.sort((c,g)=>cg?1:0),e.positives.sort((c,g)=>cg?1:0);let i=t.capture?"":"?:",s="",r="",o;return e.positives.length&&(s=e.positives.map(c=>zt(String(c),n)).join("|")),e.negatives.length&&(r=`-(${i}${e.negatives.map(c=>zt(String(c),n)).join("|")})`),s&&r?o=`${s}|${r}`:o=s||r,t.wrap?`(${i}${o})`:o},mi=(e,t,n,i)=>{if(n)return di(e,t,{wrap:!1,...i});let s=String.fromCharCode(e);if(e===t)return s;let r=String.fromCharCode(t);return`[${s}-${r}]`},hi=(e,t,n)=>{if(Array.isArray(e)){let i=n.wrap===!0,s=n.capture?"":"?:";return i?`(${s}${e.join("|")})`:e.join("|")}return di(e,t,n)},gi=(...e)=>new RangeError("Invalid range arguments: "+ya.inspect(...e)),bi=(e,t,n)=>{if(n.strictRanges===!0)throw gi([e,t]);return[]},va=(e,t)=>{if(t.strictRanges===!0)throw new TypeError(`Expected step "${e}" to be a number`);return[]},Sa=(e,t,n=1,i={})=>{let s=Number(e),r=Number(t);if(!Number.isInteger(s)||!Number.isInteger(r)){if(i.strictRanges===!0)throw gi([e,t]);return[]}s===0&&(s=0),r===0&&(r=0);let o=s>r,c=String(e),g=String(t),u=String(n);n=Math.max(Math.abs(n),1);let b=Dn(c)||Dn(g)||Dn(u),L=b?Math.max(c.length,g.length,u.length):0,v=b===!1&&Ra(e,t,i)===!1,N=i.transform||_a(v);if(i.toRegex&&n===1)return mi(zt(e,L),zt(t,L),!0,i);let _={negatives:[],positives:[]},m=E=>_[E<0?"negatives":"positives"].push(Math.abs(E)),A=[],p=0;for(;o?s>=r:s<=r;)i.toRegex===!0&&n>1?m(s):A.push(Aa(N(s,p),L,v)),s=o?s-n:s+n,p++;return i.toRegex===!0?n>1?Ca(_,i,L):hi(A,null,{wrap:!1,...i}):A},Oa=(e,t,n=1,i={})=>{if(!dt(e)&&e.length>1||!dt(t)&&t.length>1)return bi(e,t,i);let s=i.transform||(v=>String.fromCharCode(v)),r=`${e}`.charCodeAt(0),o=`${t}`.charCodeAt(0),c=r>o,g=Math.min(r,o),u=Math.max(r,o);if(i.toRegex&&n===1)return mi(g,u,!1,i);let b=[],L=0;for(;c?r>=o:r<=o;)b.push(s(r,L)),r=c?r-n:r+n,L++;return i.toRegex===!0?hi(b,null,{wrap:!1,options:i}):b},Yt=(e,t,n,i={})=>{if(t==null&&xn(e))return[e];if(!xn(e)||!xn(t))return bi(e,t,i);if(typeof n=="function")return Yt(e,t,1,{transform:n});if(pi(n))return Yt(e,t,0,n);let s={...i};return s.capture===!0&&(s.wrap=!0),n=n||s.step||1,dt(n)?dt(e)&&dt(t)?Sa(e,t,n,s):Oa(e,t,Math.max(Math.abs(n),1),s):n!=null&&!pi(n)?va(n,s):Yt(e,t,1,n)};Ei.exports=Yt});var Ri=oe((Tl,_i)=>{"use strict";var Ta=Hn(),yi=Kt(),wa=(e,t={})=>{let n=(i,s={})=>{let r=yi.isInvalidBrace(s),o=i.invalid===!0&&t.escapeInvalid===!0,c=r===!0||o===!0,g=t.escapeInvalid===!0?"\\":"",u="";if(i.isOpen===!0)return g+i.value;if(i.isClose===!0)return console.log("node.isClose",g,i.value),g+i.value;if(i.type==="open")return c?g+i.value:"(";if(i.type==="close")return c?g+i.value:")";if(i.type==="comma")return i.prev.type==="comma"?"":c?i.value:"|";if(i.value)return i.value;if(i.nodes&&i.ranges>0){let b=yi.reduce(i.nodes),L=Ta(...b,{...t,wrap:!1,toRegex:!0,strictZeros:!0});if(L.length!==0)return b.length>1&&L.length>1?`(${L})`:L}if(i.nodes)for(let b of i.nodes)u+=n(b,i);return u};return n(e)};_i.exports=wa});var vi=oe((wl,Ci)=>{"use strict";var $a=Hn(),Ai=Vt(),et=Kt(),Ke=(e="",t="",n=!1)=>{let i=[];if(e=[].concat(e),t=[].concat(t),!t.length)return e;if(!e.length)return n?et.flatten(t).map(s=>`{${s}}`):t;for(let s of e)if(Array.isArray(s))for(let r of s)i.push(Ke(r,t,n));else for(let r of t)n===!0&&typeof r=="string"&&(r=`{${r}}`),i.push(Array.isArray(r)?Ke(s,r,n):s+r);return et.flatten(i)},La=(e,t={})=>{let n=t.rangeLimit===void 0?1e3:t.rangeLimit,i=(s,r={})=>{s.queue=[];let o=r,c=r.queue;for(;o.type!=="brace"&&o.type!=="root"&&o.parent;)o=o.parent,c=o.queue;if(s.invalid||s.dollar){c.push(Ke(c.pop(),Ai(s,t)));return}if(s.type==="brace"&&s.invalid!==!0&&s.nodes.length===2){c.push(Ke(c.pop(),["{}"]));return}if(s.nodes&&s.ranges>0){let L=et.reduce(s.nodes);if(et.exceedsLimit(...L,t.step,n))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let v=$a(...L,t);v.length===0&&(v=Ai(s,t)),c.push(Ke(c.pop(),v)),s.nodes=[];return}let g=et.encloseBrace(s),u=s.queue,b=s;for(;b.type!=="brace"&&b.type!=="root"&&b.parent;)b=b.parent,u=b.queue;for(let L=0;L{"use strict";Si.exports={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:` `,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var Ni=oe((Ll,Li)=>{"use strict";var Na=Vt(),{MAX_LENGTH:Ti,CHAR_BACKSLASH:jn,CHAR_BACKTICK:Ia,CHAR_COMMA:Ma,CHAR_DOT:Pa,CHAR_LEFT_PARENTHESES:xa,CHAR_RIGHT_PARENTHESES:Da,CHAR_LEFT_CURLY_BRACE:Ha,CHAR_RIGHT_CURLY_BRACE:ja,CHAR_LEFT_SQUARE_BRACKET:wi,CHAR_RIGHT_SQUARE_BRACKET:$i,CHAR_DOUBLE_QUOTE:ka,CHAR_SINGLE_QUOTE:Ba,CHAR_NO_BREAK_SPACE:Fa,CHAR_ZERO_WIDTH_NOBREAK_SPACE:Ua}=Oi(),qa=(e,t={})=>{if(typeof e!="string")throw new TypeError("Expected a string");let n=t||{},i=typeof n.maxLength=="number"?Math.min(Ti,n.maxLength):Ti;if(e.length>i)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${i})`);let s={type:"root",input:e,nodes:[]},r=[s],o=s,c=s,g=0,u=e.length,b=0,L=0,v,N=()=>e[b++],_=m=>{if(m.type==="text"&&c.type==="dot"&&(c.type="text"),c&&c.type==="text"&&m.type==="text"){c.value+=m.value;return}return o.nodes.push(m),m.parent=o,m.prev=c,c=m,m};for(_({type:"bos"});b0){if(o.ranges>0){o.ranges=0;let m=o.nodes.shift();o.nodes=[m,{type:"text",value:Na(o)}]}_({type:"comma",value:v}),o.commas++;continue}if(v===Pa&&L>0&&o.commas===0){let m=o.nodes;if(L===0||m.length===0){_({type:"text",value:v});continue}if(c.type==="dot"){if(o.range=[],c.value+=v,c.type="range",o.nodes.length!==3&&o.nodes.length!==5){o.invalid=!0,o.ranges=0,c.type="text";continue}o.ranges++,o.args=[];continue}if(c.type==="range"){m.pop();let A=m[m.length-1];A.value+=c.value+v,c=A,o.ranges--;continue}_({type:"dot",value:v});continue}_({type:"text",value:v})}do if(o=r.pop(),o.type!=="root"){o.nodes.forEach(p=>{p.nodes||(p.type==="open"&&(p.isOpen=!0),p.type==="close"&&(p.isClose=!0),p.nodes||(p.type="text"),p.invalid=!0)});let m=r[r.length-1],A=m.nodes.indexOf(o);m.nodes.splice(A,1,...o.nodes)}while(r.length>0);return _({type:"eos"}),s};Li.exports=qa});var Pi=oe((Nl,Mi)=>{"use strict";var Ii=Vt(),Ga=Ri(),Wa=vi(),Ka=Ni(),Te=(e,t={})=>{let n=[];if(Array.isArray(e))for(let i of e){let s=Te.create(i,t);Array.isArray(s)?n.push(...s):n.push(s)}else n=[].concat(Te.create(e,t));return t&&t.expand===!0&&t.nodupes===!0&&(n=[...new Set(n)]),n};Te.parse=(e,t={})=>Ka(e,t);Te.stringify=(e,t={})=>Ii(typeof e=="string"?Te.parse(e,t):e,t);Te.compile=(e,t={})=>(typeof e=="string"&&(e=Te.parse(e,t)),Ga(e,t));Te.expand=(e,t={})=>{typeof e=="string"&&(e=Te.parse(e,t));let n=Wa(e,t);return t.noempty===!0&&(n=n.filter(Boolean)),t.nodupes===!0&&(n=[...new Set(n)]),n};Te.create=(e,t={})=>e===""||e.length<3?[e]:t.expand!==!0?Te.compile(e,t):Te.expand(e,t);Mi.exports=Te});var mt=oe((Il,ki)=>{"use strict";var Va=require("path"),xe="\\\\/",xi=`[^${xe}]`,He="\\.",Ya="\\+",za="\\?",Xt="\\/",Xa="(?=.)",Di="[^/]",kn=`(?:${Xt}|$)`,Hi=`(?:^|${Xt})`,Bn=`${He}{1,2}${kn}`,Qa=`(?!${He})`,Ja=`(?!${Hi}${Bn})`,Za=`(?!${He}{0,1}${kn})`,ec=`(?!${Bn})`,tc=`[^.${Xt}]`,nc=`${Di}*?`,ji={DOT_LITERAL:He,PLUS_LITERAL:Ya,QMARK_LITERAL:za,SLASH_LITERAL:Xt,ONE_CHAR:Xa,QMARK:Di,END_ANCHOR:kn,DOTS_SLASH:Bn,NO_DOT:Qa,NO_DOTS:Ja,NO_DOT_SLASH:Za,NO_DOTS_SLASH:ec,QMARK_NO_DOT:tc,STAR:nc,START_ANCHOR:Hi},rc={...ji,SLASH_LITERAL:`[${xe}]`,QMARK:xi,STAR:`${xi}*?`,DOTS_SLASH:`${He}{1,2}(?:[${xe}]|$)`,NO_DOT:`(?!${He})`,NO_DOTS:`(?!(?:^|[${xe}])${He}{1,2}(?:[${xe}]|$))`,NO_DOT_SLASH:`(?!${He}{0,1}(?:[${xe}]|$))`,NO_DOTS_SLASH:`(?!${He}{1,2}(?:[${xe}]|$))`,QMARK_NO_DOT:`[^.${xe}]`,START_ANCHOR:`(?:^|[${xe}])`,END_ANCHOR:`(?:[${xe}]|$)`},sc={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};ki.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:sc,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:Va.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===!0?rc:ji}}});var ht=oe(Oe=>{"use strict";var ic=require("path"),uc=process.platform==="win32",{REGEX_BACKSLASH:oc,REGEX_REMOVE_BACKSLASH:ac,REGEX_SPECIAL_CHARS:cc,REGEX_SPECIAL_CHARS_GLOBAL:lc}=mt();Oe.isObject=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);Oe.hasRegexChars=e=>cc.test(e);Oe.isRegexChar=e=>e.length===1&&Oe.hasRegexChars(e);Oe.escapeRegex=e=>e.replace(lc,"\\$1");Oe.toPosixSlashes=e=>e.replace(oc,"/");Oe.removeBackslashes=e=>e.replace(ac,t=>t==="\\"?"":t);Oe.supportsLookbehinds=()=>{let e=process.version.slice(1).split(".").map(Number);return e.length===3&&e[0]>=9||e[0]===8&&e[1]>=10};Oe.isWindows=e=>e&&typeof e.windows=="boolean"?e.windows:uc===!0||ic.sep==="\\";Oe.escapeLast=(e,t,n)=>{let i=e.lastIndexOf(t,n);return i===-1?e:e[i-1]==="\\"?Oe.escapeLast(e,t,i-1):`${e.slice(0,i)}\\${e.slice(i)}`};Oe.removePrefix=(e,t={})=>{let n=e;return n.startsWith("./")&&(n=n.slice(2),t.prefix="./"),n};Oe.wrapOutput=(e,t={},n={})=>{let i=n.contains?"":"^",s=n.contains?"":"$",r=`${i}(?:${e})${s}`;return t.negated===!0&&(r=`(?:^(?!${r}).*$)`),r}});var Vi=oe((Pl,Ki)=>{"use strict";var Bi=ht(),{CHAR_ASTERISK:Fn,CHAR_AT:fc,CHAR_BACKWARD_SLASH:gt,CHAR_COMMA:pc,CHAR_DOT:Un,CHAR_EXCLAMATION_MARK:qn,CHAR_FORWARD_SLASH:Wi,CHAR_LEFT_CURLY_BRACE:Gn,CHAR_LEFT_PARENTHESES:Wn,CHAR_LEFT_SQUARE_BRACKET:dc,CHAR_PLUS:mc,CHAR_QUESTION_MARK:Fi,CHAR_RIGHT_CURLY_BRACE:hc,CHAR_RIGHT_PARENTHESES:Ui,CHAR_RIGHT_SQUARE_BRACKET:gc}=mt(),qi=e=>e===Wi||e===gt,Gi=e=>{e.isPrefix!==!0&&(e.depth=e.isGlobstar?1/0:1)},bc=(e,t)=>{let n=t||{},i=e.length-1,s=n.parts===!0||n.scanToEnd===!0,r=[],o=[],c=[],g=e,u=-1,b=0,L=0,v=!1,N=!1,_=!1,m=!1,A=!1,p=!1,E=!1,a=!1,h=!1,l=!1,y=0,$,C,S={value:"",depth:0,isGlob:!1},R=()=>u>=i,I=()=>g.charCodeAt(u+1),j=()=>($=C,g.charCodeAt(++u));for(;u0&&(T=g.slice(0,b),g=g.slice(b),L-=b),P&&_===!0&&L>0?(P=g.slice(0,L),f=g.slice(L)):_===!0?(P="",f=g):P=g,P&&P!==""&&P!=="/"&&P!==g&&qi(P.charCodeAt(P.length-1))&&(P=P.slice(0,-1)),n.unescape===!0&&(f&&(f=Bi.removeBackslashes(f)),P&&E===!0&&(P=Bi.removeBackslashes(P)));let d={prefix:T,input:e,start:b,base:P,glob:f,isBrace:v,isBracket:N,isGlob:_,isExtglob:m,isGlobstar:A,negated:a,negatedExtglob:h};if(n.tokens===!0&&(d.maxDepth=0,qi(C)||o.push(S),d.tokens=o),n.parts===!0||n.tokens===!0){let w;for(let x=0;x{"use strict";var Qt=mt(),we=ht(),{MAX_LENGTH:Jt,POSIX_REGEX_SOURCE:Ec,REGEX_NON_SPECIAL_CHARS:yc,REGEX_SPECIAL_CHARS_BACKREF:_c,REPLACEMENTS:Yi}=Qt,Rc=(e,t)=>{if(typeof t.expandRange=="function")return t.expandRange(...e,t);e.sort();let n=`[${e.join("-")}]`;try{new RegExp(n)}catch{return e.map(s=>we.escapeRegex(s)).join("..")}return n},tt=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,Kn=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");e=Yi[e]||e;let n={...t},i=typeof n.maxLength=="number"?Math.min(Jt,n.maxLength):Jt,s=e.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);let r={type:"bos",value:"",output:n.prepend||""},o=[r],c=n.capture?"":"?:",g=we.isWindows(t),u=Qt.globChars(g),b=Qt.extglobChars(u),{DOT_LITERAL:L,PLUS_LITERAL:v,SLASH_LITERAL:N,ONE_CHAR:_,DOTS_SLASH:m,NO_DOT:A,NO_DOT_SLASH:p,NO_DOTS_SLASH:E,QMARK:a,QMARK_NO_DOT:h,STAR:l,START_ANCHOR:y}=u,$=Y=>`(${c}(?:(?!${y}${Y.dot?m:L}).)*?)`,C=n.dot?"":A,S=n.dot?a:h,R=n.bash===!0?$(n):l;n.capture&&(R=`(${R})`),typeof n.noext=="boolean"&&(n.noextglob=n.noext);let I={input:e,index:-1,start:0,dot:n.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:o};e=we.removePrefix(e,I),s=e.length;let j=[],P=[],T=[],f=r,d,w=()=>I.index===s-1,x=I.peek=(Y=1)=>e[I.index+Y],k=I.advance=()=>e[++I.index]||"",G=()=>e.slice(I.index+1),W=(Y="",J=0)=>{I.consumed+=Y,I.index+=J},se=Y=>{I.output+=Y.output!=null?Y.output:Y.value,W(Y.value)},ue=()=>{let Y=1;for(;x()==="!"&&(x(2)!=="("||x(3)==="?");)k(),I.start++,Y++;return Y%2===0?!1:(I.negated=!0,I.start++,!0)},ee=Y=>{I[Y]++,T.push(Y)},q=Y=>{I[Y]--,T.pop()},z=Y=>{if(f.type==="globstar"){let J=I.braces>0&&(Y.type==="comma"||Y.type==="brace"),M=Y.extglob===!0||j.length&&(Y.type==="pipe"||Y.type==="paren");Y.type!=="slash"&&Y.type!=="paren"&&!J&&!M&&(I.output=I.output.slice(0,-f.output.length),f.type="star",f.value="*",f.output=R,I.output+=f.output)}if(j.length&&Y.type!=="paren"&&(j[j.length-1].inner+=Y.value),(Y.value||Y.output)&&se(Y),f&&f.type==="text"&&Y.type==="text"){f.value+=Y.value,f.output=(f.output||"")+Y.value;return}Y.prev=f,o.push(Y),f=Y},ie=(Y,J)=>{let M={...b[J],conditions:1,inner:""};M.prev=f,M.parens=I.parens,M.output=I.output;let F=(n.capture?"(":"")+M.open;ee("parens"),z({type:Y,value:J,output:I.output?"":_}),z({type:"paren",extglob:!0,value:k(),output:F}),j.push(M)},X=Y=>{let J=Y.close+(n.capture?")":""),M;if(Y.type==="negate"){let F=R;if(Y.inner&&Y.inner.length>1&&Y.inner.includes("/")&&(F=$(n)),(F!==R||w()||/^\)+$/.test(G()))&&(J=Y.close=`)$))${F}`),Y.inner.includes("*")&&(M=G())&&/^\.[^\\/.]+$/.test(M)){let Q=Kn(M,{...t,fastpaths:!1}).output;J=Y.close=`)${Q})${F})`}Y.prev.type==="bos"&&(I.negatedExtglob=!0)}z({type:"paren",extglob:!0,value:d,output:J}),q("parens")};if(n.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(e)){let Y=!1,J=e.replace(_c,(M,F,Q,O,K,Z)=>O==="\\"?(Y=!0,M):O==="?"?F?F+O+(K?a.repeat(K.length):""):Z===0?S+(K?a.repeat(K.length):""):a.repeat(Q.length):O==="."?L.repeat(Q.length):O==="*"?F?F+O+(K?R:""):R:F?M:`\\${M}`);return Y===!0&&(n.unescape===!0?J=J.replace(/\\/g,""):J=J.replace(/\\+/g,M=>M.length%2===0?"\\\\":M?"\\":"")),J===e&&n.contains===!0?(I.output=e,I):(I.output=we.wrapOutput(J,I,t),I)}for(;!w();){if(d=k(),d==="\0")continue;if(d==="\\"){let M=x();if(M==="/"&&n.bash!==!0||M==="."||M===";")continue;if(!M){d+="\\",z({type:"text",value:d});continue}let F=/^\\+/.exec(G()),Q=0;if(F&&F[0].length>2&&(Q=F[0].length,I.index+=Q,Q%2!==0&&(d+="\\")),n.unescape===!0?d=k():d+=k(),I.brackets===0){z({type:"text",value:d});continue}}if(I.brackets>0&&(d!=="]"||f.value==="["||f.value==="[^")){if(n.posix!==!1&&d===":"){let M=f.value.slice(1);if(M.includes("[")&&(f.posix=!0,M.includes(":"))){let F=f.value.lastIndexOf("["),Q=f.value.slice(0,F),O=f.value.slice(F+2),K=Ec[O];if(K){f.value=Q+K,I.backtrack=!0,k(),!r.output&&o.indexOf(f)===1&&(r.output=_);continue}}}(d==="["&&x()!==":"||d==="-"&&x()==="]")&&(d=`\\${d}`),d==="]"&&(f.value==="["||f.value==="[^")&&(d=`\\${d}`),n.posix===!0&&d==="!"&&f.value==="["&&(d="^"),f.value+=d,se({value:d});continue}if(I.quotes===1&&d!=='"'){d=we.escapeRegex(d),f.value+=d,se({value:d});continue}if(d==='"'){I.quotes=I.quotes===1?0:1,n.keepQuotes===!0&&z({type:"text",value:d});continue}if(d==="("){ee("parens"),z({type:"paren",value:d});continue}if(d===")"){if(I.parens===0&&n.strictBrackets===!0)throw new SyntaxError(tt("opening","("));let M=j[j.length-1];if(M&&I.parens===M.parens+1){X(j.pop());continue}z({type:"paren",value:d,output:I.parens?")":"\\)"}),q("parens");continue}if(d==="["){if(n.nobracket===!0||!G().includes("]")){if(n.nobracket!==!0&&n.strictBrackets===!0)throw new SyntaxError(tt("closing","]"));d=`\\${d}`}else ee("brackets");z({type:"bracket",value:d});continue}if(d==="]"){if(n.nobracket===!0||f&&f.type==="bracket"&&f.value.length===1){z({type:"text",value:d,output:`\\${d}`});continue}if(I.brackets===0){if(n.strictBrackets===!0)throw new SyntaxError(tt("opening","["));z({type:"text",value:d,output:`\\${d}`});continue}q("brackets");let M=f.value.slice(1);if(f.posix!==!0&&M[0]==="^"&&!M.includes("/")&&(d=`/${d}`),f.value+=d,se({value:d}),n.literalBrackets===!1||we.hasRegexChars(M))continue;let F=we.escapeRegex(f.value);if(I.output=I.output.slice(0,-f.value.length),n.literalBrackets===!0){I.output+=F,f.value=F;continue}f.value=`(${c}${F}|${f.value})`,I.output+=f.value;continue}if(d==="{"&&n.nobrace!==!0){ee("braces");let M={type:"brace",value:d,output:"(",outputIndex:I.output.length,tokensIndex:I.tokens.length};P.push(M),z(M);continue}if(d==="}"){let M=P[P.length-1];if(n.nobrace===!0||!M){z({type:"text",value:d,output:d});continue}let F=")";if(M.dots===!0){let Q=o.slice(),O=[];for(let K=Q.length-1;K>=0&&(o.pop(),Q[K].type!=="brace");K--)Q[K].type!=="dots"&&O.unshift(Q[K].value);F=Rc(O,n),I.backtrack=!0}if(M.comma!==!0&&M.dots!==!0){let Q=I.output.slice(0,M.outputIndex),O=I.tokens.slice(M.tokensIndex);M.value=M.output="\\{",d=F="\\}",I.output=Q;for(let K of O)I.output+=K.output||K.value}z({type:"brace",value:d,output:F}),q("braces"),P.pop();continue}if(d==="|"){j.length>0&&j[j.length-1].conditions++,z({type:"text",value:d});continue}if(d===","){let M=d,F=P[P.length-1];F&&T[T.length-1]==="braces"&&(F.comma=!0,M="|"),z({type:"comma",value:d,output:M});continue}if(d==="/"){if(f.type==="dot"&&I.index===I.start+1){I.start=I.index+1,I.consumed="",I.output="",o.pop(),f=r;continue}z({type:"slash",value:d,output:N});continue}if(d==="."){if(I.braces>0&&f.type==="dot"){f.value==="."&&(f.output=L);let M=P[P.length-1];f.type="dots",f.output+=d,f.value+=d,M.dots=!0;continue}if(I.braces+I.parens===0&&f.type!=="bos"&&f.type!=="slash"){z({type:"text",value:d,output:L});continue}z({type:"dot",value:d,output:L});continue}if(d==="?"){if(!(f&&f.value==="(")&&n.noextglob!==!0&&x()==="("&&x(2)!=="?"){ie("qmark",d);continue}if(f&&f.type==="paren"){let F=x(),Q=d;if(F==="<"&&!we.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(f.value==="("&&!/[!=<:]/.test(F)||F==="<"&&!/<([!=]|\w+>)/.test(G()))&&(Q=`\\${d}`),z({type:"text",value:d,output:Q});continue}if(n.dot!==!0&&(f.type==="slash"||f.type==="bos")){z({type:"qmark",value:d,output:h});continue}z({type:"qmark",value:d,output:a});continue}if(d==="!"){if(n.noextglob!==!0&&x()==="("&&(x(2)!=="?"||!/[!=<:]/.test(x(3)))){ie("negate",d);continue}if(n.nonegate!==!0&&I.index===0){ue();continue}}if(d==="+"){if(n.noextglob!==!0&&x()==="("&&x(2)!=="?"){ie("plus",d);continue}if(f&&f.value==="("||n.regex===!1){z({type:"plus",value:d,output:v});continue}if(f&&(f.type==="bracket"||f.type==="paren"||f.type==="brace")||I.parens>0){z({type:"plus",value:d});continue}z({type:"plus",value:v});continue}if(d==="@"){if(n.noextglob!==!0&&x()==="("&&x(2)!=="?"){z({type:"at",extglob:!0,value:d,output:""});continue}z({type:"text",value:d});continue}if(d!=="*"){(d==="$"||d==="^")&&(d=`\\${d}`);let M=yc.exec(G());M&&(d+=M[0],I.index+=M[0].length),z({type:"text",value:d});continue}if(f&&(f.type==="globstar"||f.star===!0)){f.type="star",f.star=!0,f.value+=d,f.output=R,I.backtrack=!0,I.globstar=!0,W(d);continue}let Y=G();if(n.noextglob!==!0&&/^\([^?]/.test(Y)){ie("star",d);continue}if(f.type==="star"){if(n.noglobstar===!0){W(d);continue}let M=f.prev,F=M.prev,Q=M.type==="slash"||M.type==="bos",O=F&&(F.type==="star"||F.type==="globstar");if(n.bash===!0&&(!Q||Y[0]&&Y[0]!=="/")){z({type:"star",value:d,output:""});continue}let K=I.braces>0&&(M.type==="comma"||M.type==="brace"),Z=j.length&&(M.type==="pipe"||M.type==="paren");if(!Q&&M.type!=="paren"&&!K&&!Z){z({type:"star",value:d,output:""});continue}for(;Y.slice(0,3)==="/**";){let H=e[I.index+4];if(H&&H!=="/")break;Y=Y.slice(3),W("/**",3)}if(M.type==="bos"&&w()){f.type="globstar",f.value+=d,f.output=$(n),I.output=f.output,I.globstar=!0,W(d);continue}if(M.type==="slash"&&M.prev.type!=="bos"&&!O&&w()){I.output=I.output.slice(0,-(M.output+f.output).length),M.output=`(?:${M.output}`,f.type="globstar",f.output=$(n)+(n.strictSlashes?")":"|$)"),f.value+=d,I.globstar=!0,I.output+=M.output+f.output,W(d);continue}if(M.type==="slash"&&M.prev.type!=="bos"&&Y[0]==="/"){let H=Y[1]!==void 0?"|$":"";I.output=I.output.slice(0,-(M.output+f.output).length),M.output=`(?:${M.output}`,f.type="globstar",f.output=`${$(n)}${N}|${N}${H})`,f.value+=d,I.output+=M.output+f.output,I.globstar=!0,W(d+k()),z({type:"slash",value:"/",output:""});continue}if(M.type==="bos"&&Y[0]==="/"){f.type="globstar",f.value+=d,f.output=`(?:^|${N}|${$(n)}${N})`,I.output=f.output,I.globstar=!0,W(d+k()),z({type:"slash",value:"/",output:""});continue}I.output=I.output.slice(0,-f.output.length),f.type="globstar",f.output=$(n),f.value+=d,I.output+=f.output,I.globstar=!0,W(d);continue}let J={type:"star",value:d,output:R};if(n.bash===!0){J.output=".*?",(f.type==="bos"||f.type==="slash")&&(J.output=C+J.output),z(J);continue}if(f&&(f.type==="bracket"||f.type==="paren")&&n.regex===!0){J.output=d,z(J);continue}(I.index===I.start||f.type==="slash"||f.type==="dot")&&(f.type==="dot"?(I.output+=p,f.output+=p):n.dot===!0?(I.output+=E,f.output+=E):(I.output+=C,f.output+=C),x()!=="*"&&(I.output+=_,f.output+=_)),z(J)}for(;I.brackets>0;){if(n.strictBrackets===!0)throw new SyntaxError(tt("closing","]"));I.output=we.escapeLast(I.output,"["),q("brackets")}for(;I.parens>0;){if(n.strictBrackets===!0)throw new SyntaxError(tt("closing",")"));I.output=we.escapeLast(I.output,"("),q("parens")}for(;I.braces>0;){if(n.strictBrackets===!0)throw new SyntaxError(tt("closing","}"));I.output=we.escapeLast(I.output,"{"),q("braces")}if(n.strictSlashes!==!0&&(f.type==="star"||f.type==="bracket")&&z({type:"maybe_slash",value:"",output:`${N}?`}),I.backtrack===!0){I.output="";for(let Y of I.tokens)I.output+=Y.output!=null?Y.output:Y.value,Y.suffix&&(I.output+=Y.suffix)}return I};Kn.fastpaths=(e,t)=>{let n={...t},i=typeof n.maxLength=="number"?Math.min(Jt,n.maxLength):Jt,s=e.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);e=Yi[e]||e;let r=we.isWindows(t),{DOT_LITERAL:o,SLASH_LITERAL:c,ONE_CHAR:g,DOTS_SLASH:u,NO_DOT:b,NO_DOTS:L,NO_DOTS_SLASH:v,STAR:N,START_ANCHOR:_}=Qt.globChars(r),m=n.dot?L:b,A=n.dot?v:b,p=n.capture?"":"?:",E={negated:!1,prefix:""},a=n.bash===!0?".*?":N;n.capture&&(a=`(${a})`);let h=C=>C.noglobstar===!0?a:`(${p}(?:(?!${_}${C.dot?u:o}).)*?)`,l=C=>{switch(C){case"*":return`${m}${g}${a}`;case".*":return`${o}${g}${a}`;case"*.*":return`${m}${a}${o}${g}${a}`;case"*/*":return`${m}${a}${c}${g}${A}${a}`;case"**":return m+h(n);case"**/*":return`(?:${m}${h(n)}${c})?${A}${g}${a}`;case"**/*.*":return`(?:${m}${h(n)}${c})?${A}${a}${o}${g}${a}`;case"**/.*":return`(?:${m}${h(n)}${c})?${o}${g}${a}`;default:{let S=/^(.*?)\.(\w+)$/.exec(C);if(!S)return;let R=l(S[1]);return R?R+o+S[2]:void 0}}},y=we.removePrefix(e,E),$=l(y);return $&&n.strictSlashes!==!0&&($+=`${c}?`),$};zi.exports=Kn});var Ji=oe((Dl,Qi)=>{"use strict";var Ac=require("path"),Cc=Vi(),Vn=Xi(),Yn=ht(),vc=mt(),Sc=e=>e&&typeof e=="object"&&!Array.isArray(e),ye=(e,t,n=!1)=>{if(Array.isArray(e)){let b=e.map(v=>ye(v,t,n));return v=>{for(let N of b){let _=N(v);if(_)return _}return!1}}let i=Sc(e)&&e.tokens&&e.input;if(e===""||typeof e!="string"&&!i)throw new TypeError("Expected pattern to be a non-empty string");let s=t||{},r=Yn.isWindows(t),o=i?ye.compileRe(e,t):ye.makeRe(e,t,!1,!0),c=o.state;delete o.state;let g=()=>!1;if(s.ignore){let b={...t,ignore:null,onMatch:null,onResult:null};g=ye(s.ignore,b,n)}let u=(b,L=!1)=>{let{isMatch:v,match:N,output:_}=ye.test(b,o,t,{glob:e,posix:r}),m={glob:e,state:c,regex:o,posix:r,input:b,output:_,match:N,isMatch:v};return typeof s.onResult=="function"&&s.onResult(m),v===!1?(m.isMatch=!1,L?m:!1):g(b)?(typeof s.onIgnore=="function"&&s.onIgnore(m),m.isMatch=!1,L?m:!1):(typeof s.onMatch=="function"&&s.onMatch(m),L?m:!0)};return n&&(u.state=c),u};ye.test=(e,t,n,{glob:i,posix:s}={})=>{if(typeof e!="string")throw new TypeError("Expected input to be a string");if(e==="")return{isMatch:!1,output:""};let r=n||{},o=r.format||(s?Yn.toPosixSlashes:null),c=e===i,g=c&&o?o(e):e;return c===!1&&(g=o?o(e):e,c=g===i),(c===!1||r.capture===!0)&&(r.matchBase===!0||r.basename===!0?c=ye.matchBase(e,t,n,s):c=t.exec(g)),{isMatch:!!c,match:c,output:g}};ye.matchBase=(e,t,n,i=Yn.isWindows(n))=>(t instanceof RegExp?t:ye.makeRe(t,n)).test(Ac.basename(e));ye.isMatch=(e,t,n)=>ye(t,n)(e);ye.parse=(e,t)=>Array.isArray(e)?e.map(n=>ye.parse(n,t)):Vn(e,{...t,fastpaths:!1});ye.scan=(e,t)=>Cc(e,t);ye.compileRe=(e,t,n=!1,i=!1)=>{if(n===!0)return e.output;let s=t||{},r=s.contains?"":"^",o=s.contains?"":"$",c=`${r}(?:${e.output})${o}`;e&&e.negated===!0&&(c=`^(?!${c}).*$`);let g=ye.toRegex(c,t);return i===!0&&(g.state=e),g};ye.makeRe=(e,t={},n=!1,i=!1)=>{if(!e||typeof e!="string")throw new TypeError("Expected a non-empty string");let s={negated:!1,fastpaths:!0};return t.fastpaths!==!1&&(e[0]==="."||e[0]==="*")&&(s.output=Vn.fastpaths(e,t)),s.output||(s=Vn(e,t)),ye.compileRe(s,t,n,i)};ye.toRegex=(e,t)=>{try{let n=t||{};return new RegExp(e,n.flags||(n.nocase?"i":""))}catch(n){if(t&&t.debug===!0)throw n;return/$^/}};ye.constants=vc;Qi.exports=ye});var eu=oe((Hl,Zi)=>{"use strict";Zi.exports=Ji()});var uu=oe((jl,iu)=>{"use strict";var nu=require("util"),ru=Pi(),De=eu(),zn=ht(),tu=e=>e===""||e==="./",su=e=>{let t=e.indexOf("{");return t>-1&&e.indexOf("}",t)>-1},me=(e,t,n)=>{t=[].concat(t),e=[].concat(e);let i=new Set,s=new Set,r=new Set,o=0,c=b=>{r.add(b.output),n&&n.onResult&&n.onResult(b)};for(let b=0;b!i.has(b));if(n&&u.length===0){if(n.failglob===!0)throw new Error(`No matches found for "${t.join(", ")}"`);if(n.nonull===!0||n.nullglob===!0)return n.unescape?t.map(b=>b.replace(/\\/g,"")):t}return u};me.match=me;me.matcher=(e,t)=>De(e,t);me.isMatch=(e,t,n)=>De(t,n)(e);me.any=me.isMatch;me.not=(e,t,n={})=>{t=[].concat(t).map(String);let i=new Set,s=[],r=c=>{n.onResult&&n.onResult(c),s.push(c.output)},o=new Set(me(e,t,{...n,onResult:r}));for(let c of s)o.has(c)||i.add(c);return[...i]};me.contains=(e,t,n)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${nu.inspect(e)}"`);if(Array.isArray(t))return t.some(i=>me.contains(e,i,n));if(typeof t=="string"){if(tu(e)||tu(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return me.isMatch(e,t,{...n,contains:!0})};me.matchKeys=(e,t,n)=>{if(!zn.isObject(e))throw new TypeError("Expected the first argument to be an object");let i=me(Object.keys(e),t,n),s={};for(let r of i)s[r]=e[r];return s};me.some=(e,t,n)=>{let i=[].concat(e);for(let s of[].concat(t)){let r=De(String(s),n);if(i.some(o=>r(o)))return!0}return!1};me.every=(e,t,n)=>{let i=[].concat(e);for(let s of[].concat(t)){let r=De(String(s),n);if(!i.every(o=>r(o)))return!1}return!0};me.all=(e,t,n)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${nu.inspect(e)}"`);return[].concat(t).every(i=>De(i,n)(e))};me.capture=(e,t,n)=>{let i=zn.isWindows(n),r=De.makeRe(String(e),{...n,capture:!0}).exec(i?zn.toPosixSlashes(t):t);if(r)return r.slice(1).map(o=>o===void 0?"":o)};me.makeRe=(...e)=>De.makeRe(...e);me.scan=(...e)=>De.scan(...e);me.parse=(e,t)=>{let n=[];for(let i of[].concat(e||[]))for(let s of ru(String(i),t))n.push(De.parse(s,t));return n};me.braces=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return t&&t.nobrace===!0||!su(e)?[e]:ru(e,t)};me.braceExpand=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return me.braces(e,{...t,expand:!0})};me.hasBraces=su;iu.exports=me});var au=oe((kl,ou)=>{"use strict";ou.exports=e=>{let t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}});var lu=oe((Bl,cu)=>{"use strict";var Oc=/[|\\{}()[\]^$+*?.-]/g;cu.exports=e=>{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(Oc,"\\$&")}});var mu=oe((Fl,du)=>{"use strict";var Tc=lu(),wc=typeof process=="object"&&process&&typeof process.cwd=="function"?process.cwd():".",pu=[].concat(require("module").builtinModules,"bootstrap_node","node").map(e=>new RegExp(`(?:\\((?:node:)?${e}(?:\\.js)?:\\d+:\\d+\\)$|^\\s*at (?:node:)?${e}(?:\\.js)?:\\d+:\\d+$)`));pu.push(/\((?:node:)?internal\/[^:]+:\d+:\d+\)$/,/\s*at (?:node:)?internal\/[^:]+:\d+:\d+$/,/\/\.node-spawn-wrap-\w+-\w+\/node:\d+:\d+\)?$/);var Xn=class e{constructor(t){t={ignoredPackages:[],...t},"internals"in t||(t.internals=e.nodeInternals()),"cwd"in t||(t.cwd=wc),this._cwd=t.cwd.replace(/\\/g,"/"),this._internals=[].concat(t.internals,$c(t.ignoredPackages)),this._wrapCallSite=t.wrapCallSite||!1}static nodeInternals(){return[...pu]}clean(t,n=0){n=" ".repeat(n),Array.isArray(t)||(t=t.split(` `)),!/^\s*at /.test(t[0])&&/^\s*at /.test(t[1])&&(t=t.slice(1));let i=!1,s=null,r=[];return t.forEach(o=>{if(o=o.replace(/\\/g,"/"),this._internals.some(g=>g.test(o)))return;let c=/^\s*at /.test(o);i?o=o.trimEnd().replace(/^(\s+)at /,"$1"):(o=o.trim(),c&&(o=o.slice(3))),o=o.replace(`${this._cwd}/`,""),o&&(c?(s&&(r.push(s),s=null),r.push(o)):(i=!0,s=o))}),r.map(o=>`${n}${o} `).join("")}captureString(t,n=this.captureString){typeof t=="function"&&(n=t,t=1/0);let{stackTraceLimit:i}=Error;t&&(Error.stackTraceLimit=t);let s={};Error.captureStackTrace(s,n);let{stack:r}=s;return Error.stackTraceLimit=i,this.clean(r)}capture(t,n=this.capture){typeof t=="function"&&(n=t,t=1/0);let{prepareStackTrace:i,stackTraceLimit:s}=Error;Error.prepareStackTrace=(c,g)=>this._wrapCallSite?g.map(this._wrapCallSite):g,t&&(Error.stackTraceLimit=t);let r={};Error.captureStackTrace(r,n);let{stack:o}=r;return Object.assign(Error,{prepareStackTrace:i,stackTraceLimit:s}),o}at(t=this.at){let[n]=this.capture(1,t);if(!n)return{};let i={line:n.getLineNumber(),column:n.getColumnNumber()};fu(i,n.getFileName(),this._cwd),n.isConstructor()&&Object.defineProperty(i,"constructor",{value:!0,configurable:!0}),n.isEval()&&(i.evalOrigin=n.getEvalOrigin()),n.isNative()&&(i.native=!0);let s;try{s=n.getTypeName()}catch{}s&&s!=="Object"&&s!=="[object Object]"&&(i.type=s);let r=n.getFunctionName();r&&(i.function=r);let o=n.getMethodName();return o&&r!==o&&(i.method=o),i}parseLine(t){let n=t&&t.match(Lc);if(!n)return null;let i=n[1]==="new",s=n[2],r=n[3],o=n[4],c=Number(n[5]),g=Number(n[6]),u=n[7],b=n[8],L=n[9],v=n[10]==="native",N=n[11]===")",_,m={};if(b&&(m.line=Number(b)),L&&(m.column=Number(L)),N&&u){let A=0;for(let p=u.length-1;p>0;p--)if(u.charAt(p)===")")A++;else if(u.charAt(p)==="("&&u.charAt(p-1)===" "&&(A--,A===-1&&u.charAt(p-1)===" ")){let E=u.slice(0,p-1);u=u.slice(p+1),s+=` (${E}`;break}}if(s){let A=s.match(Nc);A&&(s=A[1],_=A[2])}return fu(m,u,this._cwd),i&&Object.defineProperty(m,"constructor",{value:!0,configurable:!0}),r&&(m.evalOrigin=r,m.evalLine=c,m.evalColumn=g,m.evalFile=o&&o.replace(/\\/g,"/")),v&&(m.native=!0),s&&(m.function=s),_&&s!==_&&(m.method=_),m}};function fu(e,t,n){t&&(t=t.replace(/\\/g,"/"),t.startsWith(`${n}/`)&&(t=t.slice(n.length+1)),e.file=t)}function $c(e){if(e.length===0)return[];let t=e.map(n=>Tc(n));return new RegExp(`[/\\\\]node_modules[/\\\\](?:${t.join("|")})[/\\\\][^:]+:\\d+:\\d+`)}var Lc=new RegExp("^(?:\\s*at )?(?:(new) )?(?:(.*?) \\()?(?:eval at ([^ ]+) \\((.+?):(\\d+):(\\d+)\\), )?(?:(.+?):(\\d+):(\\d+)|(native))(\\)?)$"),Nc=/^(.*?) \[as (.*?)\]$/;du.exports=Xn});var gu=oe((Ul,hu)=>{(()=>{"use strict";var e={};(()=>{var t=e;Object.defineProperty(t,"__esModule",{value:!0}),t.formatResultsErrors=t.formatPath=t.formatExecError=void 0,t.formatStackTrace=M,t.getStackTraceLines=Y,t.getTopFrame=J,t.separateMessageFromStack=t.indentAllLines=void 0;var n=N(require("path")),i=require("url"),s=require("util"),r=Js(),o=v(Ue()),c=N(ut()),g=v(uu()),u=v(au()),b=v(mu()),L=rt();function v(D){return D&&D.__esModule?D:{default:D}}function N(D,U){if(typeof WeakMap=="function")var V=new WeakMap,te=new WeakMap;return(N=function(ne,re){if(!re&&ne&&ne.__esModule)return ne;var ce,le,fe={__proto__:null,default:ne};if(ne===null||typeof ne!="object"&&typeof ne!="function")return fe;if(ce=re?te:V){if(ce.has(ne))return ce.get(ne);ce.set(ne,fe)}for(let Ae in ne)Ae!=="default"&&{}.hasOwnProperty.call(ne,Ae)&&((le=(ce=Object.defineProperty)&&Object.getOwnPropertyDescriptor(ne,Ae))&&(le.get||le.set)?ce(fe,Ae,le):fe[Ae]=ne[Ae]);return fe})(D,U)}var _=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol,_=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol,m=globalThis[_.for("jest-native-read-file")]||c.readFileSync;let A=new b.default({cwd:"something which does not exist"}),p=[];try{p=b.default.nodeInternals()}catch{}let E=`${n.sep}node_modules${n.sep}`,a=`${n.sep}jest${n.sep}packages${n.sep}`,h=/^\s+at(?:(?:.jasmine-)|\s+jasmine\.buildExpectationResult)/,l=/^\s+at.*?jest(-.*?)?(\/|\\)(build|node_modules|packages)(\/|\\)/,y=/^\s+at .*$/,$=/^\s+at (new )?Promise \(\).*$/,C=/^\s+at Generator.next \(\).*$/,S=/^\s+at next \(native\).*$/,R=" ",I=" ",j=" ",P=" \u203A ",T=o.default.bold("\u25CF "),f=o.default.dim,d=/\s*at.*\(?(:\d*:\d*|native)\)?/,w="Test suite failed to run",x=/^(?!$)/gm,k=D=>D.replaceAll(x,I);t.indentAllLines=k;let G=D=>(D||"").trim(),W=D=>d.test(D)?G(D):D,se=(D,U,V)=>{let te=(0,r.codeFrameColumns)(D,{start:{column:V,line:U}},{highlightCode:!0});return te=k(te),te=` ${te} `,te},ue=/^\s*$/;function ee(D){return D.includes("ReferenceError: document is not defined")||D.includes("ReferenceError: window is not defined")||D.includes("ReferenceError: navigator is not defined")?q(D,"jsdom"):D.includes(".unref is not a function")?q(D,"node"):D}function q(D,U){return o.default.bold.red(`The error below may be caused by using the wrong test environment, see ${o.default.dim.underline("https://jestjs.io/docs/configuration#testenvironment-string")}. Consider using the "${U}" test environment. `)+D}let z=(D,U,V,te,ne,re)=>{(!D||typeof D=="number")&&(D=new Error(`Expected an Error, but "${String(D)}" was thrown`),D.stack="");let ce,le,fe="",Ae=[];if(typeof D=="string"||!D)D||(D="EMPTY ERROR"),ce="",le=D;else{if(ce=D.message,le=typeof D.stack=="string"?D.stack:`thrown: ${(0,L.format)(D,{maxDepth:3})}`,"cause"in D){let yt=` Cause: `;if(typeof D.cause=="string"||typeof D.cause=="number")fe+=`${yt}${D.cause}`;else if(s.types.isNativeError(D.cause)||D.cause instanceof Error){let Ru=z(D.cause,U,V,te,ne,!0);fe+=`${yt}${Ru}`}}if("errors"in D&&Array.isArray(D.errors))for(let yt of D.errors)Ae.push(z(yt,U,V,te,ne,!0))}fe!==""&&(fe=k(fe));let _e=B(le||"");le=_e.stack,_e.message.includes(G(ce))&&(ce=_e.message),ce=ee(ce),ce=k(ce),le=le&&!V.noStackTrace?` ${M(le,U,V,te)}`:"",(typeof le!="string"||ue.test(ce)&&ue.test(le))&&(ce=`thrown: ${(0,L.format)(D,{maxDepth:3})}`);let he;ne||re?he=` ${ce.trim()}`:he=`${w} ${ce}`;let Et=re?"":`${R+T}`,_u=Ae.length>0?k(` Errors contained in AggregateError: ${Ae.join(` `)}`):"";return`${Et+he+le+fe+_u} `};t.formatExecError=z;let ie=(D,U)=>{let V=0;return D.filter(te=>!te||y.test(te)||$.test(te)||C.test(te)||S.test(te)||p.some(ne=>ne.test(te))?!1:d.test(te)?h.test(te)?!1:++V===1?!0:!(U.noStackTrace||l.test(te)):!0)},X=(D,U,V=null)=>{let te=D.match(/(^\s*at .*?\(?)([^()]+)(:\d+:\d+\)?.*$)/);if(!te)return D;let ne=(0,u.default)(n.relative(U.rootDir,te[2]));return(U.testMatch&&U.testMatch.length>0&&(0,g.default)([ne],U.testMatch).length>0||ne===V)&&(ne=o.default.reset.cyan(ne)),f(te[1])+ne+f(te[3])};t.formatPath=X;function Y(D,U){return U={noCodeFrame:!1,noStackTrace:!1,...U},ie(D.split(/\n/),U)}function J(D){for(let U of D){if(U.includes(E)||U.includes(a))continue;let V=A.parseLine(U.trim());if(V&&V.file)return V.file.startsWith("file://")&&(V.file=(0,u.default)((0,i.fileURLToPath)(V.file))),V}return null}function M(D,U,V,te){let ne=Y(D,V),re="",ce=te?(0,u.default)(n.relative(U.rootDir,te)):null;if(!V.noStackTrace&&!V.noCodeFrame){let fe=J(ne);if(fe){let{column:Ae,file:_e,line:he}=fe;if(he&&_e&&n.isAbsolute(_e)){let Et;try{Et=m(_e,"utf8"),re=se(Et,he,Ae)}catch{}}}}let le=ne.length===0?"":` ${ne.map(fe=>j+X(W(fe),U,ce)).join(` `)}`;return re+le}function F(D){return typeof D!="string"&&"cause"in D&&(typeof D.cause=="string"||s.types.isNativeError(D.cause)||D.cause instanceof Error)}function Q(D,U,V,te){let ne=typeof D=="string"?D:D.stack||"",{message:re,stack:ce}=B(ne);ce=V.noStackTrace?"":`${f(M(ce,U,V,te))} `,re=ee(re),re=k(re);let le="";if(F(D)){let fe=Q(D.cause,U,V,te);le=` ${I}Cause: ${fe}`}return`${re} ${ce}${le}`}function O(D,U){return D?s.types.isNativeError(D)||D instanceof Error?D:typeof D=="object"&&"error"in D&&(s.types.isNativeError(D.error)||D.error instanceof Error)?D.error:U:U}let K=(D,U,V,te)=>{let ne=D.flatMap(re=>re.failureMessages.map((ce,le)=>({content:ce,failureDetails:re.failureDetails[le],result:re})));return ne.length===0?null:ne.map(({result:re,content:ce,failureDetails:le})=>{let fe=O(le,ce);return`${`${o.default.bold.red(R+T+re.ancestorTitles.join(P)+(re.ancestorTitles.length>0?P:"")+re.title)} `} ${Q(fe,U,V,te)}`}).join(` `)};t.formatResultsErrors=K;let Z=/^Error:?\s*$/,H=D=>D.split(` `).filter(U=>!Z.test(U)).join(` `).trimEnd(),B=D=>{if(!D)return{message:"",stack:""};let U=D.match(/^(?:Error: )?([\S\s]*?(?=\n\s*at\s.*:\d*:\d*)|\s*.*)([\S\s]*)$/);if(!U)throw new Error("If you hit this error, the regex above is buggy.");let V=H(U[1]),te=H(U[2]);return{message:V,stack:te}};t.separateMessageFromStack=B})(),hu.exports=e})()});var Eu=oe((ql,bu)=>{(()=>{"use strict";var e={"./src/asymmetricMatchers.ts":((s,r,o)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.closeTo=r.arrayOf=r.arrayNotContaining=r.arrayContaining=r.anything=r.any=r.AsymmetricMatcher=void 0,r.hasProperty=A,r.stringNotMatching=r.stringNotContaining=r.stringMatching=r.stringContaining=r.objectNotContaining=r.objectContaining=r.notCloseTo=r.notArrayOf=void 0;var c=Ve(),g=L(Be()),u=Tn(),b=o("./src/jestMatchersObject.ts");function L(ee,q){if(typeof WeakMap=="function")var z=new WeakMap,ie=new WeakMap;return(L=function(X,Y){if(!Y&&X&&X.__esModule)return X;var J,M,F={__proto__:null,default:X};if(X===null||typeof X!="object"&&typeof X!="function")return F;if(J=Y?ie:z){if(J.has(X))return J.get(X);J.set(X,F)}for(let Q in X)Q!=="default"&&{}.hasOwnProperty.call(X,Q)&&((M=(J=Object.defineProperty)&&Object.getOwnPropertyDescriptor(X,Q))&&(M.get||M.set)?J(F,Q,M):F[Q]=X[Q]);return F})(ee,q)}var v=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol;let N=Function.prototype.toString;function _(ee){if(ee.name)return ee.name;let q=N.call(ee).match(/^(?:async)?\s*function\s*\*?\s*([\w$]+)\s*\(/);return q?q[1]:""}let m=Object.freeze({...g,iterableEquality:c.iterableEquality,subsetEquality:c.subsetEquality});function A(ee,q){return ee?Object.prototype.hasOwnProperty.call(ee,q)?!0:A(Object.getPrototypeOf(ee),q):!1}class p{constructor(q,z=!1){Ce(this,"$$typeof",v.for("jest.asymmetricMatcher"));this.sample=q,this.inverse=z}getMatcherContext(){return{customTesters:(0,b.getCustomEqualityTesters)(),dontThrow:()=>{},...(0,b.getState)(),equals:c.equals,isNot:this.inverse,utils:m}}}r.AsymmetricMatcher=p;class E extends p{constructor(q){if(q===void 0)throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(q)}asymmetricMatch(q){return this.sample===String?typeof q=="string"||q instanceof String:this.sample===Number?typeof q=="number"||q instanceof Number:this.sample===Function?typeof q=="function"||q instanceof Function:this.sample===Boolean?typeof q=="boolean"||q instanceof Boolean:this.sample===BigInt?typeof q=="bigint"||q instanceof BigInt:this.sample===v?typeof q=="symbol"||q instanceof v:this.sample===Object?typeof q=="object":this.sample===Array?Array.isArray(q):q instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.sample===Array?"array":_(this.sample)}toAsymmetricMatcher(){return`Any<${_(this.sample)}>`}}class a extends p{asymmetricMatch(q){return q!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}}class h extends p{constructor(q,z=!1){super(q,z)}asymmetricMatch(q){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let z=this.getMatcherContext(),ie=this.sample.length===0||Array.isArray(q)&&this.sample.every(X=>q.some(Y=>(0,c.equals)(X,Y,z.customTesters)));return this.inverse?!ie:ie}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}}class l extends p{asymmetricMatch(q){let z=this.getMatcherContext(),ie=Array.isArray(q)&&q.every(X=>(0,c.equals)(this.sample,X,z.customTesters));return this.inverse?!ie:ie}toString(){return`${this.inverse?"Not":""}ArrayOf`}getExpectedType(){return"array"}}class y extends p{constructor(q,z=!1){super(q,z)}asymmetricMatch(q){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);if(typeof q!="object"||Array.isArray(q))return!1;let z=!0,ie=this.getMatcherContext(),X=(0,c.getObjectKeys)(this.sample);for(let Y of X)if(!A(q,Y)||!(0,c.equals)(this.sample[Y],q[Y],ie.customTesters)){z=!1;break}return this.inverse?!z:z}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}}class $ extends p{constructor(q,z=!1){if(!(0,c.isA)("String",q))throw new Error("Expected is not a string");super(q,z)}asymmetricMatch(q){let z=(0,c.isA)("String",q)&&q.includes(this.sample);return this.inverse?!z:z}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}}class C extends p{constructor(q,z=!1){if(!(0,c.isA)("String",q)&&!(0,c.isA)("RegExp",q))throw new Error("Expected is not a String or a RegExp");super(new RegExp(q),z)}asymmetricMatch(q){let z=(0,c.isA)("String",q)&&this.sample.test(q);return this.inverse?!z:z}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}}class S extends p{constructor(z,ie=2,X=!1){if(!(0,c.isA)("Number",z))throw new Error("Expected is not a Number");if(!(0,c.isA)("Number",ie))throw new Error("Precision is not a Number");super(z);Ce(this,"precision");this.inverse=X,this.precision=ie}asymmetricMatch(z){if(!(0,c.isA)("Number",z))return!1;let ie=!1;return z===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||z===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?ie=!0:ie=Math.abs(this.sample-z)new E(ee);r.any=R;let I=()=>new a;r.anything=I;let j=ee=>new h(ee);r.arrayContaining=j;let P=ee=>new h(ee,!0);r.arrayNotContaining=P;let T=ee=>new l(ee);r.arrayOf=T;let f=ee=>new l(ee,!0);r.notArrayOf=f;let d=ee=>new y(ee);r.objectContaining=d;let w=ee=>new y(ee,!0);r.objectNotContaining=w;let x=ee=>new $(ee);r.stringContaining=x;let k=ee=>new $(ee,!0);r.stringNotContaining=k;let G=ee=>new C(ee);r.stringMatching=G;let W=ee=>new C(ee,!0);r.stringNotMatching=W;let se=(ee,q)=>new S(ee,q);r.closeTo=se;let ue=(ee,q)=>new S(ee,q,!0);r.notCloseTo=ue}),"./src/extractExpectedAssertionsErrors.ts":((s,r,o)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var c=Be(),g=o("./src/jestMatchersObject.ts");let u=()=>{(0,g.setState)({assertionCalls:0,expectedAssertionsNumber:null,isExpectingAssertions:!1,numPassingAsserts:0})},b=()=>{let v=[],{assertionCalls:N,expectedAssertionsNumber:_,expectedAssertionsNumberError:m,isExpectingAssertions:A,isExpectingAssertionsError:p}=(0,g.getState)();if(u(),typeof _=="number"&&N!==_){let E=(0,c.EXPECTED_COLOR)((0,c.pluralize)("assertion",_));m.message=`${(0,c.matcherHint)(".assertions","",_.toString(),{isDirectExpectCall:!0})} Expected ${E} to be called but received ${(0,c.RECEIVED_COLOR)((0,c.pluralize)("assertion call",N||0))}.`,v.push({actual:N.toString(),error:m,expected:_.toString()})}if(A&&N===0){let E=(0,c.EXPECTED_COLOR)("at least one assertion"),a=(0,c.RECEIVED_COLOR)("received none");p.message=`${(0,c.matcherHint)(".hasAssertions","","",{isDirectExpectCall:!0})} Expected ${E} to be called but ${a}.`,v.push({actual:"none",error:p,expected:"at least one"})}return v};var L=r.default=b}),"./src/jestMatchersObject.ts":((s,r,o)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.setState=r.setMatchers=r.getState=r.getMatchers=r.getCustomEqualityTesters=r.addCustomEqualityTesters=r.INTERNAL_MATCHER_FLAG=void 0;var c=je(),g=o("./src/asymmetricMatchers.ts"),u=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol;let b=u.for("$$jest-matchers-object"),L=r.INTERNAL_MATCHER_FLAG=u.for("$$jest-internal-matcher");Object.prototype.hasOwnProperty.call(globalThis,b)||Object.defineProperty(globalThis,b,{value:{customEqualityTesters:[],matchers:Object.create(null),state:{assertionCalls:0,expectedAssertionsNumber:null,isExpectingAssertions:!1,numPassingAsserts:0,suppressedErrors:[]}}});let v=()=>globalThis[b].state;r.getState=v;let N=E=>{Object.assign(globalThis[b].state,E)};r.setState=N;let _=()=>globalThis[b].matchers;r.getMatchers=_;let m=(E,a,h)=>{for(let l of Object.keys(E)){let y=E[l];if(typeof y!="function")throw new TypeError(`expect.extend: \`${l}\` is not a valid matcher. Must be a function, is "${(0,c.getType)(y)}"`);if(Object.defineProperty(y,L,{value:a}),!a){class $ extends g.AsymmetricMatcher{constructor(S=!1,...R){super(R,S)}asymmetricMatch(S){let{pass:R}=y.call(this.getMatcherContext(),S,...this.sample);return this.inverse?!R:R}toString(){return`${this.inverse?"not.":""}${l}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}Object.defineProperty(h,l,{configurable:!0,enumerable:!0,value:(...C)=>new $(!1,...C),writable:!0}),Object.defineProperty(h.not,l,{configurable:!0,enumerable:!0,value:(...C)=>new $(!0,...C),writable:!0})}}Object.assign(globalThis[b].matchers,E)};r.setMatchers=m;let A=()=>globalThis[b].customEqualityTesters;r.getCustomEqualityTesters=A;let p=E=>{if(!Array.isArray(E))throw new TypeError(`expect.customEqualityTesters: Must be set to an array of Testers. Was given "${(0,c.getType)(E)}"`);globalThis[b].customEqualityTesters.push(...E)};r.addCustomEqualityTesters=p}),"./src/matchers.ts":((s,r,o)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var c=Ve(),g=je(),u=Be(),b=o("./src/print.ts");let L="Expected",v="Received",N="Expected value",_="Received value",m=a=>a!==!1,A=[c.iterableEquality,c.typeEquality,c.sparseArrayEquality,c.arrayBufferEquality],p={toBe(a,h){let l="toBe",y={comment:"Object.is equality",isNot:this.isNot,promise:this.promise},$=Object.is(a,h);return{actual:a,expected:h,message:$?()=>(0,u.matcherHint)(l,void 0,void 0,y)+` Expected: not ${(0,u.printExpected)(h)}`:()=>{let S=(0,g.getType)(h),R=null;return S!=="map"&&S!=="set"&&((0,c.equals)(a,h,[...this.customTesters,...A],!0)?R="toStrictEqual":(0,c.equals)(a,h,[...this.customTesters,c.iterableEquality])&&(R="toEqual")),(0,u.matcherHint)(l,void 0,void 0,y)+` `+(R===null?"":`${(0,u.DIM_COLOR)(`If it should pass with deep equality, replace "${l}" with "${R}"`)} `)+(0,u.printDiffOrStringify)(h,a,L,v,m(this.expand))},name:l,pass:$}},toBeCloseTo(a,h,l=2){let y="toBeCloseTo",$=arguments.length===3?"precision":void 0,C=this.isNot,S={isNot:C,promise:this.promise,secondArgument:$,secondArgumentColor:T=>T};if(typeof h!="number")throw new TypeError((0,u.matcherErrorMessage)((0,u.matcherHint)(y,void 0,void 0,S),`${(0,u.EXPECTED_COLOR)("expected")} value must be a number`,(0,u.printWithType)("Expected",h,u.printExpected)));if(typeof a!="number")throw new TypeError((0,u.matcherErrorMessage)((0,u.matcherHint)(y,void 0,void 0,S),`${(0,u.RECEIVED_COLOR)("received")} value must be a number`,(0,u.printWithType)("Received",a,u.printReceived)));let R=!1,I=0,j=0;return a===Number.POSITIVE_INFINITY&&h===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY&&h===Number.NEGATIVE_INFINITY?R=!0:(I=Math.pow(10,-l)/2,j=Math.abs(h-a),R=j(0,u.matcherHint)(y,void 0,void 0,S)+` Expected: not ${(0,u.printExpected)(h)} `+(j===0?"":`Received: ${(0,u.printReceived)(a)} ${(0,b.printCloseTo)(j,I,l,C)}`):()=>(0,u.matcherHint)(y,void 0,void 0,S)+` Expected: ${(0,u.printExpected)(h)} Received: ${(0,u.printReceived)(a)} `+(0,b.printCloseTo)(j,I,l,C),pass:R}},toBeDefined(a,h){let l="toBeDefined",y={isNot:this.isNot,promise:this.promise};return(0,u.ensureNoExpected)(h,l,y),{message:()=>(0,u.matcherHint)(l,void 0,"",y)+` Received: ${(0,u.printReceived)(a)}`,pass:a!==void 0}},toBeFalsy(a,h){let l="toBeFalsy",y={isNot:this.isNot,promise:this.promise};return(0,u.ensureNoExpected)(h,l,y),{message:()=>(0,u.matcherHint)(l,void 0,"",y)+` Received: ${(0,u.printReceived)(a)}`,pass:!a}},toBeGreaterThan(a,h){let l="toBeGreaterThan",y=this.isNot,$={isNot:y,promise:this.promise};(0,u.ensureNumbers)(a,h,l,$);let C=a>h;return{message:()=>(0,u.matcherHint)(l,void 0,void 0,$)+` Expected:${y?" not":""} > ${(0,u.printExpected)(h)} Received:${y?" ":""} ${(0,u.printReceived)(a)}`,pass:C}},toBeGreaterThanOrEqual(a,h){let l="toBeGreaterThanOrEqual",y=this.isNot,$={isNot:y,promise:this.promise};(0,u.ensureNumbers)(a,h,l,$);let C=a>=h;return{message:()=>(0,u.matcherHint)(l,void 0,void 0,$)+` Expected:${y?" not":""} >= ${(0,u.printExpected)(h)} Received:${y?" ":""} ${(0,u.printReceived)(a)}`,pass:C}},toBeInstanceOf(a,h){let l="toBeInstanceOf",y={isNot:this.isNot,promise:this.promise};if(typeof h!="function")throw new TypeError((0,u.matcherErrorMessage)((0,u.matcherHint)(l,void 0,void 0,y),`${(0,u.EXPECTED_COLOR)("expected")} value must be a function`,(0,u.printWithType)("Expected",h,u.printExpected)));let $=a instanceof h;return{message:$?()=>(0,u.matcherHint)(l,void 0,void 0,y)+` `+(0,b.printExpectedConstructorNameNot)("Expected constructor",h)+(typeof a.constructor=="function"&&a.constructor!==h?(0,b.printReceivedConstructorNameNot)("Received constructor",a.constructor,h):""):()=>(0,u.matcherHint)(l,void 0,void 0,y)+` `+(0,b.printExpectedConstructorName)("Expected constructor",h)+((0,g.isPrimitive)(a)||Object.getPrototypeOf(a)===null?` Received value has no prototype Received value: ${(0,u.printReceived)(a)}`:typeof a.constructor=="function"?(0,b.printReceivedConstructorName)("Received constructor",a.constructor):` Received value: ${(0,u.printReceived)(a)}`),pass:$}},toBeLessThan(a,h){let l="toBeLessThan",y=this.isNot,$={isNot:y,promise:this.promise};(0,u.ensureNumbers)(a,h,l,$);let C=a(0,u.matcherHint)(l,void 0,void 0,$)+` Expected:${y?" not":""} < ${(0,u.printExpected)(h)} Received:${y?" ":""} ${(0,u.printReceived)(a)}`,pass:C}},toBeLessThanOrEqual(a,h){let l="toBeLessThanOrEqual",y=this.isNot,$={isNot:y,promise:this.promise};(0,u.ensureNumbers)(a,h,l,$);let C=a<=h;return{message:()=>(0,u.matcherHint)(l,void 0,void 0,$)+` Expected:${y?" not":""} <= ${(0,u.printExpected)(h)} Received:${y?" ":""} ${(0,u.printReceived)(a)}`,pass:C}},toBeNaN(a,h){let l="toBeNaN",y={isNot:this.isNot,promise:this.promise};(0,u.ensureNoExpected)(h,l,y);let $=Number.isNaN(a);return{message:()=>(0,u.matcherHint)(l,void 0,"",y)+` Received: ${(0,u.printReceived)(a)}`,pass:$}},toBeNull(a,h){let l="toBeNull",y={isNot:this.isNot,promise:this.promise};return(0,u.ensureNoExpected)(h,l,y),{message:()=>(0,u.matcherHint)(l,void 0,"",y)+` Received: ${(0,u.printReceived)(a)}`,pass:a===null}},toBeTruthy(a,h){let l="toBeTruthy",y={isNot:this.isNot,promise:this.promise};return(0,u.ensureNoExpected)(h,l,y),{message:()=>(0,u.matcherHint)(l,void 0,"",y)+` Received: ${(0,u.printReceived)(a)}`,pass:!!a}},toBeUndefined(a,h){let l="toBeUndefined",y={isNot:this.isNot,promise:this.promise};return(0,u.ensureNoExpected)(h,l,y),{message:()=>(0,u.matcherHint)(l,void 0,"",y)+` Received: ${(0,u.printReceived)(a)}`,pass:a===void 0}},toContain(a,h){let l="toContain",y=this.isNot,$={comment:"indexOf",isNot:y,promise:this.promise};if(a==null)throw new Error((0,u.matcherErrorMessage)((0,u.matcherHint)(l,void 0,void 0,$),`${(0,u.RECEIVED_COLOR)("received")} value must not be null nor undefined`,(0,u.printWithType)("Received",a,u.printReceived)));if(typeof a=="string"){let j=`${(0,u.EXPECTED_COLOR)("expected")} value must be a string if ${(0,u.RECEIVED_COLOR)("received")} value is a string`;if(typeof h!="string")throw new TypeError((0,u.matcherErrorMessage)((0,u.matcherHint)(l,a,String(h),$),j,(0,u.printWithType)("Expected",h,u.printExpected)+` `+(0,u.printWithType)("Received",a,u.printReceived)));let P=a.indexOf(String(h));return{message:()=>{let d=`Expected ${typeof h=="string"?"substring":"value"}`,w="Received string",x=(0,u.getLabelPrinter)(d,w);return(0,u.matcherHint)(l,void 0,void 0,$)+` ${x(d)}${y?"not ":""}${(0,u.printExpected)(h)} ${x(w)}${y?" ":""}${y?(0,b.printReceivedStringContainExpectedSubstring)(a,P,String(h).length):(0,u.printReceived)(a)}`},pass:P!==-1}}let C=[...a],S=C.indexOf(h);return{message:()=>{let j="Expected value",P=`Received ${(0,g.getType)(a)}`,T=(0,u.getLabelPrinter)(j,P);return(0,u.matcherHint)(l,void 0,void 0,$)+` ${T(j)}${y?"not ":""}${(0,u.printExpected)(h)} ${T(P)}${y?" ":""}${y&&Array.isArray(a)?(0,b.printReceivedArrayContainExpectedItem)(a,S):(0,u.printReceived)(a)}`+(!y&&C.some(f=>(0,c.equals)(f,h,[...this.customTesters,c.iterableEquality]))?` ${u.SUGGEST_TO_CONTAIN_EQUAL}`:"")},pass:S!==-1}},toContainEqual(a,h){let l="toContainEqual",y=this.isNot,$={comment:"deep equality",isNot:y,promise:this.promise};if(a==null)throw new Error((0,u.matcherErrorMessage)((0,u.matcherHint)(l,void 0,void 0,$),`${(0,u.RECEIVED_COLOR)("received")} value must not be null nor undefined`,(0,u.printWithType)("Received",a,u.printReceived)));let C=[...a].findIndex(I=>(0,c.equals)(I,h,[...this.customTesters,c.iterableEquality]));return{message:()=>{let I="Expected value",j=`Received ${(0,g.getType)(a)}`,P=(0,u.getLabelPrinter)(I,j);return(0,u.matcherHint)(l,void 0,void 0,$)+` ${P(I)}${y?"not ":""}${(0,u.printExpected)(h)} ${P(j)}${y?" ":""}${y&&Array.isArray(a)?(0,b.printReceivedArrayContainExpectedItem)(a,C):(0,u.printReceived)(a)}`},pass:C!==-1}},toEqual(a,h){let l="toEqual",y={comment:"deep equality",isNot:this.isNot,promise:this.promise},$=(0,c.equals)(a,h,[...this.customTesters,c.iterableEquality]);return{actual:a,expected:h,message:$?()=>(0,u.matcherHint)(l,void 0,void 0,y)+` Expected: not ${(0,u.printExpected)(h)} `+((0,u.stringify)(h)===(0,u.stringify)(a)?"":`Received: ${(0,u.printReceived)(a)}`):()=>(0,u.matcherHint)(l,void 0,void 0,y)+` `+(0,u.printDiffOrStringify)(h,a,L,v,m(this.expand)),name:l,pass:$}},toHaveLength(a,h){let l="toHaveLength",y=this.isNot,$={isNot:y,promise:this.promise};if(typeof(a==null?void 0:a.length)!="number")throw new TypeError((0,u.matcherErrorMessage)((0,u.matcherHint)(l,void 0,void 0,$),`${(0,u.RECEIVED_COLOR)("received")} value must have a length property whose value must be a number`,(0,u.printWithType)("Received",a,u.printReceived)));(0,u.ensureExpectedIsNonNegativeInteger)(h,l,$);let C=a.length===h;return{message:()=>{let R="Expected length",I="Received length",j=`Received ${(0,g.getType)(a)}`,P=(0,u.getLabelPrinter)(R,I,j);return(0,u.matcherHint)(l,void 0,void 0,$)+` ${P(R)}${y?"not ":""}${(0,u.printExpected)(h)} `+(y?"":`${P(I)}${(0,u.printReceived)(a.length)} `)+`${P(j)}${y?" ":""}${(0,u.printReceived)(a)}`},pass:C}},toHaveProperty(a,h,l){let y="toHaveProperty",$="path",C=arguments.length===3,S={isNot:this.isNot,promise:this.promise,secondArgument:C?"value":""};if(a==null)throw new Error((0,u.matcherErrorMessage)((0,u.matcherHint)(y,void 0,$,S),`${(0,u.RECEIVED_COLOR)("received")} value must not be null nor undefined`,(0,u.printWithType)("Received",a,u.printReceived)));let R=(0,g.getType)(h);if(R!=="string"&&R!=="array")throw new Error((0,u.matcherErrorMessage)((0,u.matcherHint)(y,void 0,$,S),`${(0,u.EXPECTED_COLOR)("expected")} path must be a string or array`,(0,u.printWithType)("Expected",h,u.printExpected)));let I=typeof h=="string"?(0,c.pathAsArray)(h).length:h.length;if(R==="array"&&I===0)throw new Error((0,u.matcherErrorMessage)((0,u.matcherHint)(y,void 0,$,S),`${(0,u.EXPECTED_COLOR)("expected")} path must not be an empty array`,(0,u.printWithType)("Expected",h,u.printExpected)));let j=(0,c.getPath)(a,h),{lastTraversedObject:P,endPropIsDefined:T,hasEndProp:f,value:d}=j,w=j.traversedPath,x=w.length===I,k=x?j.value:P,G=C&&T?(0,c.equals)(d,l,[...this.customTesters,c.iterableEquality]):!!f;return{message:G?()=>(0,u.matcherHint)(y,void 0,$,S)+` `+(C?`Expected path: ${(0,u.printExpected)(h)} Expected value: not ${(0,u.printExpected)(l)}${(0,u.stringify)(l)===(0,u.stringify)(k)?"":` Received value: ${(0,u.printReceived)(k)}`}`:`Expected path: not ${(0,u.printExpected)(h)} Received value: ${(0,u.printReceived)(k)}`):()=>(0,u.matcherHint)(y,void 0,$,S)+` Expected path: ${(0,u.printExpected)(h)} `+(x?` ${(0,u.printDiffOrStringify)(l,k,N,_,m(this.expand))}`:`Received path: ${(0,u.printReceived)(R==="array"||w.length===0?w:w.join("."))} ${C?`Expected value: ${(0,u.printExpected)(l)} `:""}Received value: ${(0,u.printReceived)(k)}`),pass:G}},toMatch(a,h){let l="toMatch",y={isNot:this.isNot,promise:this.promise};if(typeof a!="string")throw new TypeError((0,u.matcherErrorMessage)((0,u.matcherHint)(l,void 0,void 0,y),`${(0,u.RECEIVED_COLOR)("received")} value must be a string`,(0,u.printWithType)("Received",a,u.printReceived)));if(typeof h!="string"&&!(h&&typeof h.test=="function"))throw new Error((0,u.matcherErrorMessage)((0,u.matcherHint)(l,void 0,void 0,y),`${(0,u.EXPECTED_COLOR)("expected")} value must be a string or regular expression`,(0,u.printWithType)("Expected",h,u.printExpected)));let $=typeof h=="string"?a.includes(h):new RegExp(h).test(a);return{message:$?()=>typeof h=="string"?(0,u.matcherHint)(l,void 0,void 0,y)+` Expected substring: not ${(0,u.printExpected)(h)} Received string: ${(0,b.printReceivedStringContainExpectedSubstring)(a,a.indexOf(h),h.length)}`:(0,u.matcherHint)(l,void 0,void 0,y)+` Expected pattern: not ${(0,u.printExpected)(h)} Received string: ${(0,b.printReceivedStringContainExpectedResult)(a,typeof h.exec=="function"?h.exec(a):null)}`:()=>{let S=`Expected ${typeof h=="string"?"substring":"pattern"}`,R="Received string",I=(0,u.getLabelPrinter)(S,R);return(0,u.matcherHint)(l,void 0,void 0,y)+` ${I(S)}${(0,u.printExpected)(h)} ${I(R)}${(0,u.printReceived)(a)}`},pass:$}},toMatchObject(a,h){let l="toMatchObject",y={isNot:this.isNot,promise:this.promise};if(typeof a!="object"||a===null)throw new Error((0,u.matcherErrorMessage)((0,u.matcherHint)(l,void 0,void 0,y),`${(0,u.RECEIVED_COLOR)("received")} value must be a non-null object`,(0,u.printWithType)("Received",a,u.printReceived)));if(typeof h!="object"||h===null)throw new Error((0,u.matcherErrorMessage)((0,u.matcherHint)(l,void 0,void 0,y),`${(0,u.EXPECTED_COLOR)("expected")} value must be a non-null object`,(0,u.printWithType)("Expected",h,u.printExpected)));let $=(0,c.equals)(a,h,[...this.customTesters,c.iterableEquality,c.subsetEquality]);return{message:$?()=>(0,u.matcherHint)(l,void 0,void 0,y)+` Expected: not ${(0,u.printExpected)(h)}`+((0,u.stringify)(h)===(0,u.stringify)(a)?"":` Received: ${(0,u.printReceived)(a)}`):()=>(0,u.matcherHint)(l,void 0,void 0,y)+` `+(0,u.printDiffOrStringify)(h,(0,c.getObjectSubset)(a,h,this.customTesters),L,v,m(this.expand)),pass:$}},toStrictEqual(a,h){let l="toStrictEqual",y={comment:"deep equality",isNot:this.isNot,promise:this.promise},$=(0,c.equals)(a,h,[...this.customTesters,...A],!0);return{actual:a,expected:h,message:$?()=>(0,u.matcherHint)(l,void 0,void 0,y)+` Expected: not ${(0,u.printExpected)(h)} `+((0,u.stringify)(h)===(0,u.stringify)(a)?"":`Received: ${(0,u.printReceived)(a)}`):()=>(0,u.matcherHint)(l,void 0,void 0,y)+` `+(0,u.printDiffOrStringify)(h,a,L,v,m(this.expand)),name:l,pass:$}}};var E=r.default=p}),"./src/print.ts":((s,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.printReceivedStringContainExpectedSubstring=r.printReceivedStringContainExpectedResult=r.printReceivedConstructorNameNot=r.printReceivedConstructorName=r.printReceivedArrayContainExpectedItem=r.printExpectedConstructorNameNot=r.printExpectedConstructorName=r.printCloseTo=void 0;var o=Be();let c=p=>p.replaceAll(/"|\\/g,"\\$&"),g=(p,E,a)=>(0,o.RECEIVED_COLOR)(`"${c(p.slice(0,E))}${(0,o.INVERTED_COLOR)(c(p.slice(E,E+a)))}${c(p.slice(E+a))}"`);r.printReceivedStringContainExpectedSubstring=g;let u=(p,E)=>E===null?(0,o.printReceived)(p):g(p,E.index,E[0].length);r.printReceivedStringContainExpectedResult=u;let b=(p,E)=>(0,o.RECEIVED_COLOR)(`[${p.map((a,h)=>{let l=(0,o.stringify)(a);return h===E?(0,o.INVERTED_COLOR)(l):l}).join(", ")}]`);r.printReceivedArrayContainExpectedItem=b;let L=(p,E,a,h)=>{let l=(0,o.stringify)(p),y=l.includes("e")?E.toExponential(0):0<=a&&a<20?E.toFixed(a+1):(0,o.stringify)(E);return`Expected precision: ${h?" ":""} ${(0,o.stringify)(a)} Expected difference: ${h?"not ":""}< ${(0,o.EXPECTED_COLOR)(y)} Received difference: ${h?" ":""} ${(0,o.RECEIVED_COLOR)(l)}`};r.printCloseTo=L;let v=(p,E)=>`${A(p,E,!1,!0)} `;r.printExpectedConstructorName=v;let N=(p,E)=>`${A(p,E,!0,!0)} `;r.printExpectedConstructorNameNot=N;let _=(p,E)=>`${A(p,E,!1,!1)} `;r.printReceivedConstructorName=_;let m=(p,E,a)=>typeof a.name=="string"&&a.name.length>0&&typeof E.name=="string"&&E.name.length>0?`${A(p,E,!0,!1)} ${Object.getPrototypeOf(E)===a?"extends":"extends \u2026 extends"} ${(0,o.EXPECTED_COLOR)(a.name)} `:`${A(p,E,!1,!1)} `;r.printReceivedConstructorNameNot=m;let A=(p,E,a,h)=>typeof E.name=="string"?E.name.length===0?`${p} name is an empty string`:`${p}: ${a?h?"not ":" ":""}${h?(0,o.EXPECTED_COLOR)(E.name):(0,o.RECEIVED_COLOR)(E.name)}`:`${p} name is not a string`}),"./src/spyMatchers.ts":((s,r,o)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var c=Ve(),g=je(),u=Be(),b=o("./src/jestMatchersObject.ts");let L=M=>M!==!1,v=3,N="called with 0 arguments",_=M=>M.length===0?N:M.map(F=>(0,u.printExpected)(F)).join(", "),m=(M,F)=>M.length===0?N:M.map((Q,O)=>Array.isArray(F)&&O(0,u.DIM_COLOR)((0,u.stringify)(M)),p=(M,F)=>(0,c.equals)(M,F,[...(0,b.getCustomEqualityTesters)(),c.iterableEquality]),E=(M,F)=>F.length===M.length&&p(M,F),a=(M,F)=>F.type==="return"&&p(M,F.value),h=M=>M.reduce((F,Q)=>Q.type==="return"?F+1:F,0),l=(M,F)=>` Number of returns: ${(0,u.printReceived)(M)}${F===M?"":` Number of calls: ${(0,u.printReceived)(F)}`}`,y=M=>{let F=M.indexOf(":"),Q=M.slice(F);return(O,K)=>(K?`->${" ".repeat(Math.max(0,F-2-O.length))}`:" ".repeat(Math.max(F-O.length)))+O+Q},$=(M,F,Q,O)=>{if(F.length===0)return"";let K="Received: ";if(Q)return`${K+m(F[0],M)} `;let Z=y(K);return`Received ${F.reduce((H,[B,D])=>`${H+Z(String(B+1),B===O)+m(D,M)} `,"")}`},C=(M,F,Q,O,K)=>{let Z=`Expected: ${_(M)} `;if(F.length===0)return Z;let H="Received: ";if(O&&(K===0||K===void 0)){let D=F[0][1];if(I(M,D)){let U=[(0,u.EXPECTED_COLOR)("- Expected"),(0,u.RECEIVED_COLOR)("+ Received"),""],V=Math.max(M.length,D.length);for(let te=0;te{let te=B(String(U+1),U===K);return`${D+((U===K||K===void 0)&&I(M,V)?te.replace(": ",` `)+R(M,V,Q):te+m(V,M))} `},"")},S="Received".replaceAll(/\w/g," "),R=(M,F,Q)=>F.map((O,K)=>{if(KS+H).join(` `)},`}}return`${S+(KM.some((Q,O)=>O{let Q=(0,g.getType)(M),O=(0,g.getType)(F);return!(Q!==O||(0,g.isPrimitive)(M)||Q==="date"||Q==="function"||Q==="regexp"||M instanceof Error&&F instanceof Error||Q==="object"&&typeof M.asymmetricMatch=="function"||O==="object"&&typeof F.asymmetricMatch=="function")},P=(M,F)=>M.type==="throw"?"function call threw an error":M.type==="incomplete"?"function call has not returned yet":p(F,M.value)?A(M.value):(0,u.printReceived)(M.value),T=(M,F,Q,O,K)=>{if(Q.length===0)return"";if(O&&(K===0||K===void 0))return`${M+P(Q[0][1],F)} `;let Z=y(M);return M.replace(":","").trim()+` `+Q.reduce((H,[B,D])=>`${H+Z(String(B+1),B===K)+P(D,F)} `,"")},f=()=>function(M,F){let O={isNot:this.isNot,promise:this.promise};(0,u.ensureNoExpected)(F,"toHaveBeenCalled",O),X(M,"toHaveBeenCalled","",O);let K=ie(M),Z=K?"spy":M.getMockName(),H=K?M.calls.count():M.mock.calls.length,B=K?M.calls.all().map(V=>V.args):M.mock.calls,D=H>0;return{message:D?()=>(0,u.matcherHint)("toHaveBeenCalled",Z,"",O)+` Expected number of calls: ${(0,u.printExpected)(0)} Received number of calls: ${(0,u.printReceived)(H)} `+B.reduce((V,te,ne)=>(V.length(0,u.matcherHint)("toHaveBeenCalled",Z,"",O)+` Expected number of calls: >= ${(0,u.printExpected)(1)} Received number of calls: ${(0,u.printReceived)(H)}`,pass:D}},d=()=>function(M,F){let O={isNot:this.isNot,promise:this.promise};(0,u.ensureNoExpected)(F,"toHaveReturned",O),Y(M,"toHaveReturned","",O);let K=M.getMockName(),Z=M.mock.results.reduce((D,U)=>U.type==="return"?D+1:D,0),H=Z>0;return{message:H?()=>(0,u.matcherHint)("toHaveReturned",K,"",O)+` Expected number of returns: ${(0,u.printExpected)(0)} Received number of returns: ${(0,u.printReceived)(Z)} `+M.mock.results.reduce((D,U,V)=>(U.type==="return"&&D.length(0,u.matcherHint)("toHaveReturned",K,"",O)+` Expected number of returns: >= ${(0,u.printExpected)(1)} Received number of returns: ${(0,u.printReceived)(Z)}`+(M.mock.calls.length===Z?"":` Received number of calls: ${(0,u.printReceived)(M.mock.calls.length)}`),pass:H}},w=()=>function(M,F){let Q="expected",O={isNot:this.isNot,promise:this.promise};(0,u.ensureExpectedIsNonNegativeInteger)(F,"toHaveBeenCalledTimes",O),X(M,"toHaveBeenCalledTimes",Q,O);let K=ie(M),Z=K?"spy":M.getMockName(),H=K?M.calls.count():M.mock.calls.length,B=H===F;return{message:B?()=>(0,u.matcherHint)("toHaveBeenCalledTimes",Z,Q,O)+` Expected number of calls: not ${(0,u.printExpected)(F)}`:()=>(0,u.matcherHint)("toHaveBeenCalledTimes",Z,Q,O)+` Expected number of calls: ${(0,u.printExpected)(F)} Received number of calls: ${(0,u.printReceived)(H)}`,pass:B}},x=()=>function(M,F){let Q="expected",O={isNot:this.isNot,promise:this.promise};(0,u.ensureExpectedIsNonNegativeInteger)(F,"toHaveReturnedTimes",O),Y(M,"toHaveReturnedTimes",Q,O);let K=M.getMockName(),Z=M.mock.results.reduce((D,U)=>U.type==="return"?D+1:D,0),H=Z===F;return{message:H?()=>(0,u.matcherHint)("toHaveReturnedTimes",K,Q,O)+` Expected number of returns: not ${(0,u.printExpected)(F)}`+(M.mock.calls.length===Z?"":` Received number of calls: ${(0,u.printReceived)(M.mock.calls.length)}`):()=>(0,u.matcherHint)("toHaveReturnedTimes",K,Q,O)+` Expected number of returns: ${(0,u.printExpected)(F)} Received number of returns: ${(0,u.printReceived)(Z)}`+(M.mock.calls.length===Z?"":` Received number of calls: ${(0,u.printReceived)(M.mock.calls.length)}`),pass:H}},k=()=>function(M,...F){let Q="...expected",O={isNot:this.isNot,promise:this.promise};X(M,"toHaveBeenCalledWith",Q,O);let K=ie(M),Z=K?"spy":M.getMockName(),H=K?M.calls.all().map(U=>U.args):M.mock.calls,B=H.some(U=>E(F,U));return{message:B?()=>{let U=[],V=0;for(;V{let U=[],V=0;for(;Vfunction(M,F){let Q="expected",O={isNot:this.isNot,promise:this.promise};Y(M,"toHaveReturnedWith",Q,O);let K=M.getMockName(),{calls:Z,results:H}=M.mock,B=H.some(U=>a(F,U));return{message:B?()=>{let U=[],V=0;for(;V{let U=[],V=0;for(;Vfunction(M,...F){let Q="...expected",O={isNot:this.isNot,promise:this.promise};X(M,"toHaveBeenLastCalledWith",Q,O);let K=ie(M),Z=K?"spy":M.getMockName(),H=K?M.calls.all().map(V=>V.args):M.mock.calls,B=H.length-1,D=B>=0&&E(F,H[B]);return{message:D?()=>{let V=[];return B>0&&V.push([B-1,H[B-1]]),V.push([B,H[B]]),(0,u.matcherHint)("toHaveBeenLastCalledWith",Z,Q,O)+` Expected: not ${_(F)} `+(H.length===1&&(0,u.stringify)(H[0])===(0,u.stringify)(F)?"":$(F,V,H.length===1,B))+` Number of calls: ${(0,u.printReceived)(H.length)}`}:()=>{let V=[];if(B>=0){if(B>0){let te=B-1;for(;te>=0&&!E(F,H[te]);)te-=1;te<0&&(te=B-1),V.push([te,H[te]])}V.push([B,H[B]])}return(0,u.matcherHint)("toHaveBeenLastCalledWith",Z,Q,O)+` `+C(F,V,L(this.expand),H.length===1,B)+` Number of calls: ${(0,u.printReceived)(H.length)}`},pass:D}},se=()=>function(M,F){let Q="expected",O={isNot:this.isNot,promise:this.promise};Y(M,"toHaveLastReturnedWith",Q,O);let K=M.getMockName(),{calls:Z,results:H}=M.mock,B=H.length-1,D=B>=0&&a(F,H[B]);return{message:D?()=>{let V=[];return B>0&&V.push([B-1,H[B-1]]),V.push([B,H[B]]),(0,u.matcherHint)("toHaveLastReturnedWith",K,Q,O)+` Expected: not ${(0,u.printExpected)(F)} `+(H.length===1&&H[0].type==="return"&&(0,u.stringify)(H[0].value)===(0,u.stringify)(F)?"":T("Received: ",F,V,H.length===1,B))+l(h(H),Z.length)}:()=>{let V=[];if(B>=0){if(B>0){let te=B-1;for(;te>=0&&!a(F,H[te]);)te-=1;te<0&&(te=B-1),V.push([te,H[te]])}V.push([B,H[B]])}return(0,u.matcherHint)("toHaveLastReturnedWith",K,Q,O)+` Expected: ${(0,u.printExpected)(F)} `+T("Received: ",F,V,H.length===1,B)+l(h(H),Z.length)},pass:D}},ue=()=>function(M,F,...Q){let K={expectedColor:ne=>ne,isNot:this.isNot,promise:this.promise,secondArgument:"...expected"};if(X(M,"toHaveBeenNthCalledWith","n",K),!Number.isSafeInteger(F)||F<1)throw new Error((0,u.matcherErrorMessage)((0,u.matcherHint)("toHaveBeenNthCalledWith",void 0,"n",K),"n must be a positive integer",(0,u.printWithType)("n",F,u.stringify)));let Z=ie(M),H=Z?"spy":M.getMockName(),B=Z?M.calls.all().map(ne=>ne.args):M.mock.calls,D=B.length,U=F-1,V=U{let ne=[];return U-1>=0&&ne.push([U-1,B[U-1]]),ne.push([U,B[U]]),U+1{let ne=[];if(U=0){let re=U-1;for(;re>=0&&!E(Q,B[re]);)re-=1;re<0&&(re=U-1),ne.push([re,B[re]])}if(ne.push([U,B[U]]),U+1=D&&(re=U+1),ne.push([re,B[re]])}}else if(D>0){let re=D-1;for(;re>=0&&!E(Q,B[re]);)re-=1;re<0&&(re=D-1),ne.push([re,B[re]])}return(0,u.matcherHint)("toHaveBeenNthCalledWith",H,"n",K)+` n: ${F} `+C(Q,ne,L(this.expand),B.length===1,U)+` Number of calls: ${(0,u.printReceived)(B.length)}`},pass:V}},ee=()=>function(M,F,Q){let K={expectedColor:ne=>ne,isNot:this.isNot,promise:this.promise,secondArgument:"expected"};if(Y(M,"toHaveNthReturnedWith","n",K),!Number.isSafeInteger(F)||F<1)throw new Error((0,u.matcherErrorMessage)((0,u.matcherHint)("toHaveNthReturnedWith",void 0,"n",K),"n must be a positive integer",(0,u.printWithType)("n",F,u.stringify)));let Z=M.getMockName(),{calls:H,results:B}=M.mock,D=B.length,U=F-1,V=U{let ne=[];return U-1>=0&&ne.push([U-1,B[U-1]]),ne.push([U,B[U]]),U+1{let ne=[];if(U=0){let re=U-1;for(;re>=0&&!a(Q,B[re]);)re-=1;re<0&&(re=U-1),ne.push([re,B[re]])}if(ne.push([U,B[U]]),U+1=D&&(re=U+1),ne.push([re,B[re]])}}else if(D>0){let re=D-1;for(;re>=0&&!a(Q,B[re]);)re-=1;re<0&&(re=D-1),ne.push([re,B[re]])}return(0,u.matcherHint)("toHaveNthReturnedWith",Z,"n",K)+` n: ${F} Expected: ${(0,u.printExpected)(Q)} `+T("Received: ",Q,ne,B.length===1,U)+l(h(B),H.length)},pass:V}},q={toHaveBeenCalled:f(),toHaveBeenCalledTimes:w(),toHaveBeenCalledWith:k(),toHaveBeenLastCalledWith:W(),toHaveBeenNthCalledWith:ue(),toHaveLastReturnedWith:se(),toHaveNthReturnedWith:ee(),toHaveReturned:d(),toHaveReturnedTimes:x(),toHaveReturnedWith:G()},z=M=>M!=null&&M._isMockFunction===!0,ie=M=>M!=null&&M.calls!=null&&typeof M.calls.all=="function"&&typeof M.calls.count=="function",X=(M,F,Q,O)=>{if(!z(M)&&!ie(M))throw new Error((0,u.matcherErrorMessage)((0,u.matcherHint)(F,void 0,Q,O),`${(0,u.RECEIVED_COLOR)("received")} value must be a mock or spy function`,(0,u.printWithType)("Received",M,u.printReceived)))},Y=(M,F,Q,O)=>{if(!z(M))throw new Error((0,u.matcherErrorMessage)((0,u.matcherHint)(F,void 0,Q,O),`${(0,u.RECEIVED_COLOR)("received")} value must be a mock function`,(0,u.printWithType)("Received",M,u.printReceived)))};var J=r.default=q}),"./src/toThrowMatchers.ts":((s,r,o)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.createMatcher=void 0;var c=Ve(),g=Be(),u=gu(),b=o("./src/print.ts");let L="Received function did not throw",v=P=>{let T=P!=null&&typeof P.message=="string";return T&&typeof P.name=="string"&&typeof P.stack=="string"?{hasMessage:T,isError:!0,message:P.message,value:P}:{hasMessage:T,isError:!1,message:T?P.message:String(P),value:P}},N=(P,T)=>function(f,d){let w={isNot:this.isNot,promise:this.promise},x=null;if(T&&(0,c.isError)(f))x=v(f);else if(typeof f=="function")try{f()}catch(k){x=v(k)}else if(!T){let k=d===void 0?"":"expected";throw new Error((0,g.matcherErrorMessage)((0,g.matcherHint)(P,void 0,k,w),`${(0,g.RECEIVED_COLOR)("received")} value must be a function`,(0,g.printWithType)("Received",f,g.printReceived)))}if(d===void 0)return h(P,w,x);if(typeof d=="function")return E(P,w,x,d);if(typeof d=="string")return a(P,w,x,d);if(d!==null&&typeof d.test=="function")return m(P,w,x,d);if(d!==null&&typeof d.asymmetricMatch=="function")return A(P,w,x,d);if(d!==null&&typeof d=="object")return p(P,w,x,d);throw new Error((0,g.matcherErrorMessage)((0,g.matcherHint)(P,void 0,void 0,w),`${(0,g.EXPECTED_COLOR)("expected")} value must be a string or regular expression or class or error`,(0,g.printWithType)("Expected",d,g.printExpected)))};r.createMatcher=N;let _={toThrow:N("toThrow")},m=(P,T,f,d)=>{let w=f!==null&&d.test(f.message);return{message:w?()=>(0,g.matcherHint)(P,void 0,void 0,T)+` `+l("Expected pattern: not ",d)+(f!==null&&f.hasMessage?y("Received message: ",f,"message",d)+$(f):y("Received value: ",f,"value")):()=>(0,g.matcherHint)(P,void 0,void 0,T)+` `+l("Expected pattern: ",d)+(f===null?` ${L}`:f.hasMessage?y("Received message: ",f,"message")+$(f):y("Received value: ",f,"value")),pass:w}},A=(P,T,f,d)=>{let w=f!==null&&d.asymmetricMatch(f.value);return{message:w?()=>(0,g.matcherHint)(P,void 0,void 0,T)+` `+l("Expected asymmetric matcher: not ",d)+` `+(f!==null&&f.hasMessage?y("Received name: ",f,"name")+y("Received message: ",f,"message")+$(f):y("Thrown value: ",f,"value")):()=>(0,g.matcherHint)(P,void 0,void 0,T)+` `+l("Expected asymmetric matcher: ",d)+` `+(f===null?L:f.hasMessage?y("Received name: ",f,"name")+y("Received message: ",f,"message")+$(f):y("Thrown value: ",f,"value")),pass:w}},p=(P,T,f,d)=>{let w=C(d),x=f===null?null:C(f.value),k=(f==null?void 0:f.isError)&&d instanceof Error,G=d.constructor.name!==Error.name,W=f!==null&&f.message===d.message&&x===w&&(!k||!G||f.value instanceof d.constructor);return{message:W?()=>(0,g.matcherHint)(P,void 0,void 0,T)+` `+l(`Expected ${I(d)}: not `,w)+(f!==null&&f.hasMessage?$(f):y("Received value: ",f,"value")):()=>(0,g.matcherHint)(P,void 0,void 0,T)+` `+(f===null?l(`Expected ${I(d)}: `,w)+` `+L:f.hasMessage?(0,g.printDiffOrStringify)(w,x,`Expected ${I(d)}`,`Received ${I(f.value)}`,!0)+` `+$(f):l(`Expected ${I(d)}: `,w)+y("Received value: ",f,"value")),pass:W}},E=(P,T,f,d)=>{let w=f!==null&&f.value instanceof d;return{message:w?()=>(0,g.matcherHint)(P,void 0,void 0,T)+` `+(0,b.printExpectedConstructorNameNot)("Expected constructor",d)+(f!==null&&f.value!=null&&typeof f.value.constructor=="function"&&f.value.constructor!==d?(0,b.printReceivedConstructorNameNot)("Received constructor",f.value.constructor,d):"")+` `+(f!==null&&f.hasMessage?y("Received message: ",f,"message")+$(f):y("Received value: ",f,"value")):()=>(0,g.matcherHint)(P,void 0,void 0,T)+` `+(0,b.printExpectedConstructorName)("Expected constructor",d)+(f===null?` ${L}`:`${f.value!=null&&typeof f.value.constructor=="function"?(0,b.printReceivedConstructorName)("Received constructor",f.value.constructor):""} ${f.hasMessage?y("Received message: ",f,"message")+$(f):y("Received value: ",f,"value")}`),pass:w}},a=(P,T,f,d)=>{let w=f!==null&&f.message.includes(d);return{message:w?()=>(0,g.matcherHint)(P,void 0,void 0,T)+` `+l("Expected substring: not ",d)+(f!==null&&f.hasMessage?y("Received message: ",f,"message",d)+$(f):y("Received value: ",f,"value")):()=>(0,g.matcherHint)(P,void 0,void 0,T)+` `+l("Expected substring: ",d)+(f===null?` ${L}`:f.hasMessage?y("Received message: ",f,"message")+$(f):y("Received value: ",f,"value")),pass:w}},h=(P,T,f)=>{let d=f!==null;return{message:d?()=>(0,g.matcherHint)(P,void 0,"",T)+` `+(f!==null&&f.hasMessage?y("Error name: ",f,"name")+y("Error message: ",f,"message")+$(f):y("Thrown value: ",f,"value")):()=>(0,g.matcherHint)(P,void 0,"",T)+` `+L,pass:d}},l=(P,T)=>`${P+(0,g.printExpected)(T)} `,y=(P,T,f,d)=>{if(T===null)return"";if(f==="message"){let w=T.message;if(typeof d=="string"){let x=w.indexOf(d);if(x!==-1)return`${P+(0,b.printReceivedStringContainExpectedSubstring)(w,x,d.length)} `}else if(d instanceof RegExp)return`${P+(0,b.printReceivedStringContainExpectedResult)(w,typeof d.exec=="function"?d.exec(w):null)} `;return`${P+(0,g.printReceived)(w)} `}return f==="name"?T.isError?`${P+(0,g.printReceived)(T.value.name)} `:"":f==="value"?T.isError?"":`${P+(0,g.printReceived)(T.value)} `:""},$=P=>{if(P===null||!P.isError)return"";{let T={rootDir:process.cwd(),testMatch:[]},f={noStackTrace:!1};return P.value instanceof AggregateError?(0,u.formatExecError)(P.value,T,f):(0,u.formatStackTrace)((0,u.separateMessageFromStack)(P.value.stack).stack,T,f)}};function C(P){if(P.cause){let T=new WeakSet;return JSON.stringify(S(P),(f,d)=>{if(R(d)){if(T.has(d))return;T.add(d)}return typeof d=="bigint"||d===void 0?String(d):d})}return P.message}function S(P){if(!R(P))return P;let T={};for(let f of Object.getOwnPropertyNames(P).sort())if(!["stack","fileName","lineNumber"].includes(f)){if(f==="cause"){T[f]=S(P.cause);continue}T[f]=P[f]}return T}function R(P){return P!=null&&typeof P=="object"}function I(P){return P.cause===void 0?"message":"message and cause"}var j=r.default=_})},t={};function n(s){var r=t[s];if(r!==void 0)return r.exports;var o=t[s]={exports:{}};return e[s](o,o.exports,n),o.exports}var i={};(()=>{var s=i;Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"AsymmetricMatcher",{enumerable:!0,get:function(){return g.AsymmetricMatcher}}),s.expect=s.default=s.JestAssertionError=void 0;var r=Ve(),o=m(Be()),c=Tn(),g=n("./src/asymmetricMatchers.ts"),u=_(n("./src/extractExpectedAssertionsErrors.ts")),b=n("./src/jestMatchersObject.ts"),L=_(n("./src/matchers.ts")),v=_(n("./src/spyMatchers.ts")),N=m(n("./src/toThrowMatchers.ts"));function _(j){return j&&j.__esModule?j:{default:j}}function m(j,P){if(typeof WeakMap=="function")var T=new WeakMap,f=new WeakMap;return(m=function(d,w){if(!w&&d&&d.__esModule)return d;var x,k,G={__proto__:null,default:d};if(d===null||typeof d!="object"&&typeof d!="function")return G;if(x=w?f:T){if(x.has(d))return x.get(d);x.set(d,G)}for(let W in d)W!=="default"&&{}.hasOwnProperty.call(d,W)&&((k=(x=Object.defineProperty)&&Object.getOwnPropertyDescriptor(d,W))&&(k.get||k.set)?x(G,W,k):G[W]=d[W]);return G})(j,P)}class A extends Error{constructor(){super(...arguments);Ce(this,"matcherResult")}}s.JestAssertionError=A;let p=function(j){return function(P,T){return j.apply(this,[P,T,!0])}},E=(j,P)=>j==="toThrow"?(0,N.createMatcher)(j,!0):j==="toThrowErrorMatchingSnapshot"||j==="toThrowErrorMatchingInlineSnapshot"?p(P):null,a=(j,...P)=>{if(P.length>0)throw new Error("Expect takes at most one argument.");let T=(0,b.getMatchers)(),f={not:{},rejects:{not:{}},resolves:{not:{}}},d=new A;for(let w of Object.keys(T)){let x=T[w],k=E(w,x)||x;f[w]=$(x,!1,"",j),f.not[w]=$(x,!0,"",j),f.resolves[w]=l(w,k,!1,j,d),f.resolves.not[w]=l(w,k,!0,j,d),f.rejects[w]=y(w,k,!1,j,d),f.rejects.not[w]=y(w,k,!0,j,d)}return f};s.expect=a;let h=j=>j&&j()||o.RECEIVED_COLOR("No message was specified for this matcher."),l=(j,P,T,f,d)=>(...w)=>{let x={isNot:T,promise:"resolves"},k=typeof f=="function"?f():f;if(!(0,c.isPromise)(k))throw new A(o.matcherErrorMessage(o.matcherHint(j,void 0,"",x),`${o.RECEIVED_COLOR("received")} value must be a promise or a function returning a promise`,o.printWithType("Received",f,o.printReceived)));let G=new A;return k.then(W=>$(P,T,"resolves",W,G).apply(null,w),W=>{throw d.message=`${o.matcherHint(j,void 0,"",x)} Received promise rejected instead of resolved Rejected to value: ${o.printReceived(W)}`,d})},y=(j,P,T,f,d)=>(...w)=>{let x={isNot:T,promise:"rejects"},k=typeof f=="function"?f():f;if(!(0,c.isPromise)(k))throw new A(o.matcherErrorMessage(o.matcherHint(j,void 0,"",x),`${o.RECEIVED_COLOR("received")} value must be a promise or a function returning a promise`,o.printWithType("Received",f,o.printReceived)));let G=new A;return k.then(W=>{throw d.message=`${o.matcherHint(j,void 0,"",x)} Received promise resolved instead of rejected Resolved to value: ${o.printReceived(W)}`,d},W=>$(P,T,"rejects",W,G).apply(null,w))},$=(j,P,T,f,d)=>function w(...x){let k=!0,G={...o,iterableEquality:r.iterableEquality,subsetEquality:r.subsetEquality},W={customTesters:(0,b.getCustomEqualityTesters)(),dontThrow:()=>k=!1,equals:r.equals,utils:G},se={...(0,b.getState)(),...W,error:d,isNot:P,promise:T},ue=(z,ie)=>{if(C(z),(0,b.getState)().assertionCalls++,z.pass&&P||!z.pass&&!P){let X=h(z.message),Y;if(d?(Y=d,Y.message=X):ie?(Y=ie,Y.message=X):(Y=new A(X),Error.captureStackTrace&&Error.captureStackTrace(Y,w)),Y.matcherResult={...z,message:X},k)throw Y;(0,b.getState)().suppressedErrors.push(Y)}else(0,b.getState)().numPassingAsserts++},ee=z=>{throw j[b.INTERNAL_MATCHER_FLAG]===!0&&!(z instanceof A)&&z.name!=="PrettyFormatPluginError"&&Error.captureStackTrace&&Error.captureStackTrace(z,w),z},q;try{if(q=j[b.INTERNAL_MATCHER_FLAG]===!0?j.call(se,f,...x):(function(){return j.call(se,f,...x)})(),(0,c.isPromise)(q)){let z=new A;return Error.captureStackTrace&&Error.captureStackTrace(z,w),q.then(ie=>ue(ie,z)).catch(ee)}else return ue(q)}catch(z){return ee(z)}};a.extend=j=>(0,b.setMatchers)(j,!1,a),a.addEqualityTesters=j=>(0,b.addCustomEqualityTesters)(j),a.anything=g.anything,a.any=g.any,a.not={arrayContaining:g.arrayNotContaining,arrayOf:g.notArrayOf,closeTo:g.notCloseTo,objectContaining:g.objectNotContaining,stringContaining:g.stringNotContaining,stringMatching:g.stringNotMatching},a.arrayContaining=g.arrayContaining,a.arrayOf=g.arrayOf,a.closeTo=g.closeTo,a.objectContaining=g.objectContaining,a.stringContaining=g.stringContaining,a.stringMatching=g.stringMatching;let C=j=>{if(typeof j!="object"||typeof j.pass!="boolean"||j.message&&typeof j.message!="string"&&typeof j.message!="function")throw new Error(`Unexpected return from a matcher function. Matcher functions should return an object in the following format: {message?: string | function, pass: boolean} '${o.stringify(j)}' was returned`)};function S(j){let P=new c.ErrorWithStack(void 0,S);(0,b.setState)({expectedAssertionsNumber:j,expectedAssertionsNumberError:P})}function R(...j){let P=new c.ErrorWithStack(void 0,R);o.ensureNoExpected(j[0],".hasAssertions"),(0,b.setState)({isExpectingAssertions:!0,isExpectingAssertionsError:P})}(0,b.setMatchers)(L.default,!0,a),(0,b.setMatchers)(v.default,!0,a),(0,b.setMatchers)(N.default,!0,a),a.assertions=S,a.hasAssertions=R,a.getState=b.getState,a.setState=b.setState,a.extractExpectedAssertionsErrors=u.default;var I=s.default=a})(),bu.exports=i})()});var Mc={};wu(Mc,{expect:()=>Ic});module.exports=Lu(Mc);var bt=$u(Eu(),1),Wl=bt.default.AsymmetricMatcher,Kl=bt.default.JestAssertionError,Vl=bt.default.expect,yu=bt.default.default;var Ic=yu;0&&(module.exports={expect}); /*! Bundled license information: @jest/get-type/build/index.js: @jest/expect-utils/build/index.js: pretty-format/build/index.js: @jest/diff-sequences/build/index.js: jest-diff/build/index.js: jest-matcher-utils/build/index.js: jest-util/build/index.js: jest-message-util/build/index.js: expect/build/index.js: (*! * /** * * Copyright (c) Meta Platforms, Inc. and affiliates. * * * * This source code is licensed under the MIT license found in the * * LICENSE file in the root directory of this source tree. * * / *) react-is/cjs/react-is.production.min.js: (** * @license React * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) react-is/cjs/react-is.development.js: (** * @license React * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) is-number/index.js: (*! * is-number * * Copyright (c) 2014-present, Jon Schlinkert. * Released under the MIT License. *) to-regex-range/index.js: (*! * to-regex-range * * Copyright (c) 2015-present, Jon Schlinkert. * Released under the MIT License. *) fill-range/index.js: (*! * fill-range * * Copyright (c) 2014-present, Jon Schlinkert. * Licensed under the MIT License. *) */