@rsbuild/core 2.2.5 → 2.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /*! LICENSE: http-proxy-middleware.js.LICENSE.txt */
2
- import{rspackRequire as e,moduleFactories as t}from"./rslib-runtime.js";import r from"node:http";import o from"node:https";import n from"node:http2";import{EventEmitter as s}from"node:events";import"node:net";import"node:stream";import{styleText as i}from"node:util";import{URL as a}from"node:url";import{URL as u}from"url";import"node:zlib";import"node:querystring";import"./626.js";t.add({"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/index.js"(t){let r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/stringify.js"),o=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/compile.js"),n=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/expand.js"),s=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/parse.js"),i=(e,t={})=>{let r=[];if(Array.isArray(e))for(let o of e){let e=i.create(o,t);Array.isArray(e)?r.push(...e):r.push(e)}else r=[].concat(i.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(r=[...new Set(r)]),r};i.parse=(e,t={})=>s(e,t),i.stringify=(e,t={})=>"string"==typeof e?r(i.parse(e,t),t):r(e,t),i.compile=(e,t={})=>("string"==typeof e&&(e=i.parse(e,t)),o(e,t)),i.expand=(e,t={})=>{"string"==typeof e&&(e=i.parse(e,t));let r=n(e,t);return!0===t.noempty&&(r=r.filter(Boolean)),!0===t.nodupes&&(r=[...new Set(r)]),r},i.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?i.compile(e,t):i.expand(e,t),t.exports=i},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/compile.js"(t){let r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/fill-range/7.1.1/cdf2fb341eb6146d178e71e3e567948d1810e3947af7ae4c97c575c1cbd80d2a/node_modules/fill-range/index.js"),o=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/utils.js");t.exports=(e,t={})=>{let n=(e,s={})=>{let i=o.isInvalidBrace(s),a=!0===e.invalid&&!0===t.escapeInvalid,u=!0===i||!0===a,c=!0===t.escapeInvalid?"\\":"",l="";if(!0===e.isOpen)return c+e.value;if(!0===e.isClose)return console.log("node.isClose",c,e.value),c+e.value;if("open"===e.type)return u?c+e.value:"(";if("close"===e.type)return u?c+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":u?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){let n=o.reduce(e.nodes),s=r(...n,{...t,wrap:!1,toRegex:!0,strictZeros:!0});if(0!==s.length)return n.length>1&&s.length>1?`(${s})`:s}if(e.nodes)for(let t of e.nodes)l+=n(t,e);return l};return n(e)}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/constants.js"(e){e.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:"\n",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"}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/expand.js"(t){let r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/fill-range/7.1.1/cdf2fb341eb6146d178e71e3e567948d1810e3947af7ae4c97c575c1cbd80d2a/node_modules/fill-range/index.js"),o=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/stringify.js"),n=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/utils.js"),s=(e="",t="",r=!1)=>{let o=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return r?n.flatten(t).map(e=>`{${e}}`):t;for(let n of e)if(Array.isArray(n))for(let e of n)o.push(s(e,t,r));else for(let e of t)!0===r&&"string"==typeof e&&(e=`{${e}}`),o.push(Array.isArray(e)?s(n,e,r):n+e);return n.flatten(o)};t.exports=(e,t={})=>{let i=void 0===t.rangeLimit?1e3:t.rangeLimit,a=(e,u={})=>{e.queue=[];let c=u,l=u.queue;for(;"brace"!==c.type&&"root"!==c.type&&c.parent;)l=(c=c.parent).queue;if(e.invalid||e.dollar)return void l.push(s(l.pop(),o(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void l.push(s(l.pop(),["{}"]));if(e.nodes&&e.ranges>0){let a=n.reduce(e.nodes);if(n.exceedsLimit(...a,t.step,i))throw RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let u=r(...a,t);0===u.length&&(u=o(e,t)),l.push(s(l.pop(),u)),e.nodes=[];return}let p=n.encloseBrace(e),d=e.queue,f=e;for(;"brace"!==f.type&&"root"!==f.type&&f.parent;)d=(f=f.parent).queue;for(let t=0;t<e.nodes.length;t++){let r=e.nodes[t];if("comma"===r.type&&"brace"===e.type){1===t&&d.push(""),d.push("");continue}if("close"===r.type){l.push(s(l.pop(),d,p));continue}if(r.value&&"open"!==r.type){d.push(s(d.pop(),r.value));continue}r.nodes&&a(r,e)}return d};return n.flatten(a(e))}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/parse.js"(t){let r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/stringify.js"),{MAX_LENGTH:o,CHAR_BACKSLASH:n,CHAR_BACKTICK:s,CHAR_COMMA:i,CHAR_DOT:a,CHAR_LEFT_PARENTHESES:u,CHAR_RIGHT_PARENTHESES:c,CHAR_LEFT_CURLY_BRACE:l,CHAR_RIGHT_CURLY_BRACE:p,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_RIGHT_SQUARE_BRACKET:f,CHAR_DOUBLE_QUOTE:h,CHAR_SINGLE_QUOTE:b,CHAR_NO_BREAK_SPACE:m,CHAR_ZERO_WIDTH_NOBREAK_SPACE:g}=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/constants.js");t.exports=(e,t={})=>{let y;if("string"!=typeof e)throw TypeError("Expected a string");let x=t||{},_="number"==typeof x.maxLength?Math.min(o,x.maxLength):o;if(e.length>_)throw SyntaxError(`Input length (${e.length}), exceeds max characters (${_})`);let C={type:"root",input:e,nodes:[]},v=[C],R=C,A=C,w=0,E=e.length,k=0,S=0,$=()=>e[k++],O=e=>{if("text"===e.type&&"dot"===A.type&&(A.type="text"),A&&"text"===A.type&&"text"===e.type){A.value+=e.value;return}return R.nodes.push(e),e.parent=R,e.prev=A,A=e,e};for(O({type:"bos"});k<E;)if(R=v[v.length-1],(y=$())!==g&&y!==m){if(y===n){O({type:"text",value:(t.keepEscaping?y:"")+$()});continue}if(y===f){O({type:"text",value:"\\"+y});continue}if(y===d){let e;for(w++;k<E&&(e=$());){if(y+=e,e===d){w++;continue}if(e===n){y+=$();continue}if(e===f&&0==--w)break}O({type:"text",value:y});continue}if(y===u){R=O({type:"paren",nodes:[]}),v.push(R),O({type:"text",value:y});continue}if(y===c){if("paren"!==R.type){O({type:"text",value:y});continue}R=v.pop(),O({type:"text",value:y}),R=v[v.length-1];continue}if(y===h||y===b||y===s){let e,r=y;for(!0!==t.keepQuotes&&(y="");k<E&&(e=$());){if(e===n){y+=e+$();continue}if(e===r){!0===t.keepQuotes&&(y+=e);break}y+=e}O({type:"text",value:y});continue}if(y===l){S++,R=O({type:"brace",open:!0,close:!1,dollar:A.value&&"$"===A.value.slice(-1)||!0===R.dollar,depth:S,commas:0,ranges:0,nodes:[]}),v.push(R),O({type:"open",value:y});continue}if(y===p){if("brace"!==R.type){O({type:"text",value:y});continue}(R=v.pop()).close=!0,O({type:"close",value:y}),S--,R=v[v.length-1];continue}if(y===i&&S>0){if(R.ranges>0){R.ranges=0;let e=R.nodes.shift();R.nodes=[e,{type:"text",value:r(R)}]}O({type:"comma",value:y}),R.commas++;continue}if(y===a&&S>0&&0===R.commas){let e=R.nodes;if(0===S||0===e.length){O({type:"text",value:y});continue}if("dot"===A.type){if(R.range=[],A.value+=y,A.type="range",3!==R.nodes.length&&5!==R.nodes.length){R.invalid=!0,R.ranges=0,A.type="text";continue}R.ranges++,R.args=[];continue}if("range"===A.type){e.pop();let t=e[e.length-1];t.value+=A.value+y,A=t,R.ranges--;continue}O({type:"dot",value:y});continue}O({type:"text",value:y})}do if("root"!==(R=v.pop()).type){R.nodes.forEach(e=>{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)});let e=v[v.length-1],t=e.nodes.indexOf(R);e.nodes.splice(t,1,...R.nodes)}while(v.length>0);return O({type:"eos"}),C}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/stringify.js"(t){let r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/utils.js");t.exports=(e,t={})=>{let o=(e,n={})=>{let s=t.escapeInvalid&&r.isInvalidBrace(n),i=!0===e.invalid&&!0===t.escapeInvalid,a="";if(e.value)return(s||i)&&r.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(let t of e.nodes)a+=o(t);return a};return o(e)}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/utils.js"(e,t){t.isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),t.find=(e,t)=>e.nodes.find(e=>e.type===t),t.exceedsLimit=(e,r,o=1,n)=>!1!==n&&!!t.isInteger(e)&&!!t.isInteger(r)&&(Number(r)-Number(e))/Number(o)>=n,t.escapeNode=(e,t=0,r)=>{let o=e.nodes[t];o&&(r&&o.type===r||"open"===o.type||"close"===o.type)&&!0!==o.escaped&&(o.value="\\"+o.value,o.escaped=!0)},t.encloseBrace=e=>"brace"===e.type&&e.commas>>0+e.ranges==0&&(e.invalid=!0,!0),t.isInvalidBrace=e=>"brace"===e.type&&(!0===e.invalid||!!e.dollar||(e.commas>>0+e.ranges==0||!0!==e.open||!0!==e.close)&&(e.invalid=!0,!0)),t.isOpenOrClose=e=>"open"===e.type||"close"===e.type||!0===e.open||!0===e.close,t.reduce=e=>e.reduce((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e),[]),t.flatten=(...e)=>{let t=[],r=e=>{for(let o=0;o<e.length;o++){let n=e[o];if(Array.isArray(n)){r(n);continue}void 0!==n&&t.push(n)}return t};return r(e),t}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/debug/4.4.3/64f28f7ac7dd8bc11944350993b040e31578ca48ef26096b6bf9a25f661c0c66/node_modules/debug/src/browser.js"(t,r){let o;r.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;e.splice(1,0,r,"color: inherit");let o=0,n=0;e[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(o++,"%c"===e&&(n=o))}),e.splice(n,0,r)},r.save=function(e){try{e?r.storage.setItem("debug",e):r.storage.removeItem("debug")}catch(e){}},r.load=function(){let e;try{e=r.storage.getItem("debug")||r.storage.getItem("DEBUG")}catch(e){}return!e&&"u">typeof process&&"env"in process&&(e=process.env.DEBUG),e},r.useColors=function(){let e;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},r.storage=function(){try{return localStorage}catch(e){}}(),o=!1,r.destroy=()=>{o||(o=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},r.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],r.log=console.debug||console.log||(()=>{}),t.exports=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/debug/4.4.3/64f28f7ac7dd8bc11944350993b040e31578ca48ef26096b6bf9a25f661c0c66/node_modules/debug/src/common.js")(r);let{formatters:n}=t.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/debug/4.4.3/64f28f7ac7dd8bc11944350993b040e31578ca48ef26096b6bf9a25f661c0c66/node_modules/debug/src/common.js"(t){t.exports=function(t){function r(e){let t,n,s,i=null;function a(...e){if(!a.enabled)return;let o=Number(new Date);a.diff=o-(t||o),a.prev=t,a.curr=o,t=o,e[0]=r.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let n=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,o)=>{if("%%"===t)return"%";n++;let s=r.formatters[o];if("function"==typeof s){let r=e[n];t=s.call(a,r),e.splice(n,1),n--}return t}),r.formatArgs.call(a,e),(a.log||r.log).apply(a,e)}return a.namespace=e,a.useColors=r.useColors(),a.color=r.selectColor(e),a.extend=o,a.destroy=r.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(n!==r.namespaces&&(n=r.namespaces,s=r.enabled(e)),s),set:e=>{i=e}}),"function"==typeof r.init&&r.init(a),a}function o(e,t){let o=r(this.namespace+(void 0===t?":":t)+e);return o.log=this.log,o}function n(e,t){let r=0,o=0,n=-1,s=0;for(;r<e.length;)if(o<t.length&&(t[o]===e[r]||"*"===t[o]))"*"===t[o]?(n=o,s=r):r++,o++;else{if(-1===n)return!1;o=n+1,r=++s}for(;o<t.length&&"*"===t[o];)o++;return o===t.length}return r.debug=r,r.default=r,r.coerce=function(e){return e instanceof Error?e.stack||e.message:e},r.disable=function(){let e=[...r.names,...r.skips.map(e=>"-"+e)].join(",");return r.enable(""),e},r.enable=function(e){for(let t of(r.save(e),r.namespaces=e,r.names=[],r.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===t[0]?r.skips.push(t.slice(1)):r.names.push(t)},r.enabled=function(e){for(let t of r.skips)if(n(e,t))return!1;for(let t of r.names)if(n(e,t))return!0;return!1},r.humanize=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ms/2.1.3/e0f4c72e735898d92cc164c858cbd0c7b6ed2ec2b4d6da5e8a20fedffeed95cd/node_modules/ms/index.js"),r.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach(e=>{r[e]=t[e]}),r.names=[],r.skips=[],r.formatters={},r.selectColor=function(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r)|0;return r.colors[Math.abs(t)%r.colors.length]},r.enable(r.load()),r}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/debug/4.4.3/64f28f7ac7dd8bc11944350993b040e31578ca48ef26096b6bf9a25f661c0c66/node_modules/debug/src/index.js"(t){"u"<typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?t.exports=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/debug/4.4.3/64f28f7ac7dd8bc11944350993b040e31578ca48ef26096b6bf9a25f661c0c66/node_modules/debug/src/browser.js"):t.exports=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/debug/4.4.3/64f28f7ac7dd8bc11944350993b040e31578ca48ef26096b6bf9a25f661c0c66/node_modules/debug/src/node.js")},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/debug/4.4.3/64f28f7ac7dd8bc11944350993b040e31578ca48ef26096b6bf9a25f661c0c66/node_modules/debug/src/node.js"(t,r){let o=e("tty"),n=e("util");r.init=function(e){e.inspectOpts={};let t=Object.keys(r.inspectOpts);for(let o=0;o<t.length;o++)e.inspectOpts[t[o]]=r.inspectOpts[t[o]]},r.log=function(...e){return process.stderr.write(n.formatWithOptions(r.inspectOpts,...e)+"\n")},r.formatArgs=function(e){let{namespace:o,useColors:n}=this;if(n){let r=this.color,n="\x1b[3"+(r<8?r:"8;5;"+r),s=` ${n};1m${o} \u001B[0m`;e[0]=s+e[0].split("\n").join("\n"+s),e.push(n+"m+"+t.exports.humanize(this.diff)+"\x1b[0m")}else e[0]=(r.inspectOpts.hideDate?"":new Date().toISOString()+" ")+o+" "+e[0]},r.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},r.load=function(){return process.env.DEBUG},r.useColors=function(){return"colors"in r.inspectOpts?!!r.inspectOpts.colors:o.isatty(process.stderr.fd)},r.destroy=n.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),r.colors=[6,2,3,4,5,1];try{let t=e("supports-color");t&&(t.stderr||t).level>=2&&(r.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}r.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),o=process.env[t];return o=!!/^(yes|on|true|enabled)$/i.test(o)||!/^(no|off|false|disabled)$/i.test(o)&&("null"===o?null:Number(o)),e[r]=o,e},{}),t.exports=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/debug/4.4.3/64f28f7ac7dd8bc11944350993b040e31578ca48ef26096b6bf9a25f661c0c66/node_modules/debug/src/common.js")(r);let{formatters:s}=t.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts)}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/fill-range/7.1.1/cdf2fb341eb6146d178e71e3e567948d1810e3947af7ae4c97c575c1cbd80d2a/node_modules/fill-range/index.js"(t){let r=e("util"),o=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/to-regex-range/5.0.1/e55082e174dc917a955607638a77d8978552a7d78773d047c1263c740e4d7c0f/node_modules/to-regex-range/index.js"),n=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),s=e=>"number"==typeof e||"string"==typeof e&&""!==e,i=e=>{let t=`${e}`,r=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++r];);return r>0},a=(e,t,r)=>{if(t>0){let r="-"===e[0]?"-":"";r&&(e=e.slice(1)),e=r+e.padStart(r?t-1:t,"0")}return!1===r?String(e):e},u=(e,t)=>{let r="-"===e[0]?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},c=(e,t,r,n)=>{if(r)return o(e,t,{wrap:!1,...n});let s=String.fromCharCode(e);if(e===t)return s;let i=String.fromCharCode(t);return`[${s}-${i}]`},l=(e,t,r)=>{if(Array.isArray(e)){let t=!0===r.wrap,o=r.capture?"":"?:";return t?`(${o}${e.join("|")})`:e.join("|")}return o(e,t,r)},p=(...e)=>RangeError("Invalid range arguments: "+r.inspect(...e)),d=(e,t,r)=>{if(!0===r.strictRanges)throw p([e,t]);return[]},f=(e,t,r,o={})=>{if(null==t&&s(e))return[e];if(!s(e)||!s(t))return d(e,t,o);if("function"==typeof r)return f(e,t,1,{transform:r});if(n(r))return f(e,t,0,r);let h={...o};if(!0===h.capture&&(h.wrap=!0),!Number.isInteger(+(r=r||h.step||1))){if(null!=r&&!n(r)){var b=r;if(!0===h.strictRanges)throw TypeError(`Expected step "${b}" to be a number`);return[]}return f(e,t,1,r)}return Number.isInteger(+e)&&Number.isInteger(+t)?((e,t,r=1,o={})=>{let n=Number(e),s=Number(t);if(!Number.isInteger(n)||!Number.isInteger(s)){if(!0===o.strictRanges)throw p([e,t]);return[]}0===n&&(n=0),0===s&&(s=0);let d=n>s,f=String(e),h=String(t),b=String(r);r=Math.max(Math.abs(r),1);let m=i(f)||i(h)||i(b),g=m?Math.max(f.length,h.length,b.length):0,y=!1===m&&!1==("string"==typeof e||"string"==typeof t||!0===o.stringify),x=o.transform||(e=>!0===y?Number(e):String(e));if(o.toRegex&&1===r)return c(u(e,g),u(t,g),!0,o);let _={negatives:[],positives:[]},C=e=>_[e<0?"negatives":"positives"].push(Math.abs(e)),v=[],R=0;for(;d?n>=s:n<=s;)!0===o.toRegex&&r>1?C(n):v.push(a(x(n,R),g,y)),n=d?n-r:n+r,R++;if(!0===o.toRegex){let e,t,n,s;return r>1?(_.negatives.sort((e,t)=>e<t?-1:+(e>t)),_.positives.sort((e,t)=>e<t?-1:+(e>t)),t=o.capture?"":"?:",n="",s="",(_.positives.length&&(n=_.positives.map(e=>u(String(e),g)).join("|")),_.negatives.length&&(s=`-(${t}${_.negatives.map(e=>u(String(e),g)).join("|")})`),e=n&&s?`${n}|${s}`:n||s,o.wrap)?`(${t}${e})`:e):l(v,null,{wrap:!1,...o})}return v})(e,t,r,h):((e,t,r=1,o={})=>{if(!Number.isInteger(+e)&&e.length>1||!Number.isInteger(+t)&&t.length>1)return d(e,t,o);let n=o.transform||(e=>String.fromCharCode(e)),s=`${e}`.charCodeAt(0),i=`${t}`.charCodeAt(0),a=s>i,u=Math.min(s,i),p=Math.max(s,i);if(o.toRegex&&1===r)return c(u,p,!1,o);let f=[],h=0;for(;a?s>=i:s<=i;)f.push(n(s,h)),s=a?s-r:s+r,h++;return!0===o.toRegex?l(f,null,{wrap:!1,options:o}):f})(e,t,Math.max(Math.abs(r),1),h)};t.exports=f},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/is-extglob/2.1.1/a31b887f7d8fd45bac03cbc721084fb7eadd6056f0d86063907b9e7f109f7f5e/node_modules/is-extglob/index.js"(e){e.exports=function(e){var t;if("string"!=typeof e||""===e)return!1;for(;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/is-glob/4.0.3/5f6010d19ebbd407d4ddad3f32ad93b07ae9baaa0b44d778899bd947e1a7324b/node_modules/is-glob/index.js"(t){var r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/is-extglob/2.1.1/a31b887f7d8fd45bac03cbc721084fb7eadd6056f0d86063907b9e7f109f7f5e/node_modules/is-extglob/index.js"),o={"{":"}","(":")","[":"]"},n=function(e){if("!"===e[0])return!0;for(var t=0,r=-2,n=-2,s=-2,i=-2,a=-2;t<e.length;){if("*"===e[t]||"?"===e[t+1]&&/[\].+)]/.test(e[t])||-1!==n&&"["===e[t]&&"]"!==e[t+1]&&(n<t&&(n=e.indexOf("]",t)),n>t)&&(-1===a||a>n||-1===(a=e.indexOf("\\",t))||a>n)||-1!==s&&"{"===e[t]&&"}"!==e[t+1]&&(s=e.indexOf("}",t))>t&&(-1===(a=e.indexOf("\\",t))||a>s)||-1!==i&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(i=e.indexOf(")",t))>t&&(-1===(a=e.indexOf("\\",t))||a>i)||-1!==r&&"("===e[t]&&"|"!==e[t+1]&&(r<t&&(r=e.indexOf("|",t)),-1!==r&&")"!==e[r+1]&&(i=e.indexOf(")",r))>r)&&(-1===(a=e.indexOf("\\",r))||a>i))return!0;if("\\"===e[t]){var u=e[t+1];t+=2;var c=o[u];if(c){var l=e.indexOf(c,t);-1!==l&&(t=l+1)}if("!"===e[t])return!0}else t++}return!1},s=function(e){if("!"===e[0])return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if("\\"===e[t]){var r=e[t+1];t+=2;var n=o[r];if(n){var s=e.indexOf(n,t);-1!==s&&(t=s+1)}if("!"===e[t])return!0}else t++}return!1};t.exports=function(e,t){if("string"!=typeof e||""===e)return!1;if(r(e))return!0;var o=n;return t&&!1===t.strict&&(o=s),o(e)}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/is-number/7.0.0/9613abb83deb6b72fdd092fda49730946a626517d4926a9f5c00ca322630c588/node_modules/is-number/index.js"(e){e.exports=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromatch/4.0.8/e3e5f26f16f8b95548bbbd14ad679e23348853c21837502922840101deaebdcd/node_modules/micromatch/index.js"(t){let r=e("util"),o=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/index.js"),n=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/index.js"),s=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/utils.js"),i=e=>""===e||"./"===e,a=e=>{let t=e.indexOf("{");return t>-1&&e.indexOf("}",t)>-1},u=(e,t,r)=>{t=[].concat(t),e=[].concat(e);let o=new Set,s=new Set,i=new Set,a=0,u=e=>{i.add(e.output),r&&r.onResult&&r.onResult(e)};for(let i=0;i<t.length;i++){let c=n(String(t[i]),{...r,onResult:u},!0),l=c.state.negated||c.state.negatedExtglob;for(let t of(l&&a++,e)){let e=c(t,!0);(l?!e.isMatch:e.isMatch)&&(l?o.add(e.output):(o.delete(e.output),s.add(e.output)))}}let c=(a===t.length?[...i]:[...s]).filter(e=>!o.has(e));if(r&&0===c.length){if(!0===r.failglob)throw Error(`No matches found for "${t.join(", ")}"`);if(!0===r.nonull||!0===r.nullglob)return r.unescape?t.map(e=>e.replace(/\\/g,"")):t}return c};u.match=u,u.matcher=(e,t)=>n(e,t),u.isMatch=(e,t,r)=>n(t,r)(e),u.any=u.isMatch,u.not=(e,t,r={})=>{t=[].concat(t).map(String);let o=new Set,n=[],s=new Set(u(e,t,{...r,onResult:e=>{r.onResult&&r.onResult(e),n.push(e.output)}}));for(let e of n)s.has(e)||o.add(e);return[...o]},u.contains=(e,t,o)=>{if("string"!=typeof e)throw TypeError(`Expected a string: "${r.inspect(e)}"`);if(Array.isArray(t))return t.some(t=>u.contains(e,t,o));if("string"==typeof t){if(i(e)||i(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return u.isMatch(e,t,{...o,contains:!0})},u.matchKeys=(e,t,r)=>{if(!s.isObject(e))throw TypeError("Expected the first argument to be an object");let o=u(Object.keys(e),t,r),n={};for(let t of o)n[t]=e[t];return n},u.some=(e,t,r)=>{let o=[].concat(e);for(let e of[].concat(t)){let t=n(String(e),r);if(o.some(e=>t(e)))return!0}return!1},u.every=(e,t,r)=>{let o=[].concat(e);for(let e of[].concat(t)){let t=n(String(e),r);if(!o.every(e=>t(e)))return!1}return!0},u.all=(e,t,o)=>{if("string"!=typeof e)throw TypeError(`Expected a string: "${r.inspect(e)}"`);return[].concat(t).every(t=>n(t,o)(e))},u.capture=(e,t,r)=>{let o=s.isWindows(r),i=n.makeRe(String(e),{...r,capture:!0}).exec(o?s.toPosixSlashes(t):t);if(i)return i.slice(1).map(e=>void 0===e?"":e)},u.makeRe=(...e)=>n.makeRe(...e),u.scan=(...e)=>n.scan(...e),u.parse=(e,t)=>{let r=[];for(let s of[].concat(e||[]))for(let e of o(String(s),t))r.push(n.parse(e,t));return r},u.braces=(e,t)=>{if("string"!=typeof e)throw TypeError("Expected a string");return t&&!0===t.nobrace||!a(e)?[e]:o(e,t)},u.braceExpand=(e,t)=>{if("string"!=typeof e)throw TypeError("Expected a string");return u.braces(e,{...t,expand:!0})},u.hasBraces=a,t.exports=u},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ms/2.1.3/e0f4c72e735898d92cc164c858cbd0c7b6ed2ec2b4d6da5e8a20fedffeed95cd/node_modules/ms/index.js"(e){function t(e,t,r,o){return Math.round(e/r)+" "+o+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var o,n,s,i,a=typeof e;if("string"===a&&e.length>0){var u=e;if(!((u=String(u)).length>100)){var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(u);if(c){var l=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*l;case"weeks":case"week":case"w":return 6048e5*l;case"days":case"day":case"d":return 864e5*l;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*l;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*l;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*l;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:break}}}return}if("number"===a&&isFinite(e)){return r.long?(n=Math.abs(o=e))>=864e5?t(o,n,864e5,"day"):n>=36e5?t(o,n,36e5,"hour"):n>=6e4?t(o,n,6e4,"minute"):n>=1e3?t(o,n,1e3,"second"):o+" ms":(i=Math.abs(s=e))>=864e5?Math.round(s/864e5)+"d":i>=36e5?Math.round(s/36e5)+"h":i>=6e4?Math.round(s/6e4)+"m":i>=1e3?Math.round(s/1e3)+"s":s+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/index.js"(t){t.exports=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/picomatch.js")},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/constants.js"(t){let r=e("path?37f5"),o="[^\\\\/]",n="[^/]",s="(?:\\/|$)",i="(?:^|\\/)",a=`\\.{1,2}${s}`,u=`(?!${i}${a})`,c=`(?!\\.{0,1}${s})`,l=`(?!${a})`,p=`${n}*?`,d={DOT_LITERAL:"\\.",PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:"\\/",ONE_CHAR:"(?=.)",QMARK:n,END_ANCHOR:s,DOTS_SLASH:a,NO_DOT:"(?!\\.)",NO_DOTS:u,NO_DOT_SLASH:c,NO_DOTS_SLASH:l,QMARK_NO_DOT:"[^.\\/]",STAR:p,START_ANCHOR:i},f={...d,SLASH_LITERAL:"[\\\\/]",QMARK:o,STAR:`${o}*?`,DOTS_SLASH:"\\.{1,2}(?:[\\\\/]|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|[\\\\/])\\.{1,2}(?:[\\\\/]|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:[\\\\/]|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:[\\\\/]|$))",QMARK_NO_DOT:"[^.\\\\/]",START_ANCHOR:"(?:^|[\\\\/])",END_ANCHOR:"(?:[\\\\/]|$)"};t.exports={DEFAULT_MAX_EXTGLOB_RECURSION:0,MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{__proto__:null,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"},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:{__proto__:null,"***":"*","**/**":"**","**/**/**":"**"},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:r.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?f:d}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/parse.js"(t){let r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/constants.js"),o=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/utils.js"),{MAX_LENGTH:n,POSIX_REGEX_SOURCE:s,REGEX_NON_SPECIAL_CHARS:i,REGEX_SPECIAL_CHARS_BACKREF:a,REPLACEMENTS:u}=r,c=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();let r=`[${e.join("-")}]`;try{new RegExp(r)}catch(t){return e.map(e=>o.escapeRegex(e)).join("..")}return r},l=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,p=e=>{let t=[],r=0,o=0,n=0,s="",i=!1;for(let a of e){if(!0===i){s+=a,i=!1;continue}if("\\"===a){s+=a,i=!0;continue}if('"'===a){n=+(1!==n),s+=a;continue}if(0===n){if("["===a)r++;else if("]"===a&&r>0)r--;else if(0===r){if("("===a)o++;else if(")"===a&&o>0)o--;else if("|"===a&&0===o){t.push(s),s="";continue}}}s+=a}return t.push(s),t},d=e=>{let t=e.trim(),r=!0;for(;!0===r;)r=!1,/^@\([^\\()[\]{}|]+\)$/.test(t)&&(t=t.slice(2,-1),r=!0);if((e=>{let t=!1;for(let r of e){if(!0===t){t=!1;continue}if("\\"===r){t=!0;continue}if(/[?*+@!()[\]{}]/.test(r))return!1}return!0})(t))return t.replace(/\\(.)/g,"$1")},f=(e,t=!0)=>{if("+"!==e[0]&&"*"!==e[0]||"("!==e[1])return;let r=0,o=0,n=0,s=!1;for(let i=1;i<e.length;i++){let a=e[i];if(!0===s){s=!1;continue}if("\\"===a){s=!0;continue}if('"'===a){n=+(1!==n);continue}if(1!==n){if("["===a){r++;continue}if("]"===a&&r>0){r--;continue}if(!(r>0)){if("("===a){o++;continue}if(")"===a&&0==--o){if(!0===t&&i!==e.length-1)return;return{type:e[0],body:e.slice(2,i),end:i}}}}}},h=e=>{let t=0,r=[];for(;t<e.length;){let o=f(e.slice(t),!1);if(!o||"*"!==o.type)return;let n=p(o.body).map(e=>e.trim());if(1!==n.length)return;let s=d(n[0]);if(!s||1!==s.length)return;r.push(s),t+=o.end+1}if(r.length<1)return;let n=1===r.length?o.escapeRegex(r[0]):`[${r.map(e=>o.escapeRegex(e)).join("")}]`;return`${n}*`},b=e=>{let t=0,r=e.trim(),o=f(r);for(;o;)t++,o=f(r=o.body.trim());return t},m=(e,t)=>{let f;if("string"!=typeof e)throw TypeError("Expected a string");e=u[e]||e;let g={...t},y="number"==typeof g.maxLength?Math.min(n,g.maxLength):n,x=e.length;if(x>y)throw SyntaxError(`Input length: ${x}, exceeds maximum allowed length: ${y}`);let _={type:"bos",value:"",output:g.prepend||""},C=[_],v=g.capture?"":"?:",R=o.isWindows(t),A=r.globChars(R),w=r.extglobChars(A),{DOT_LITERAL:E,PLUS_LITERAL:k,SLASH_LITERAL:S,ONE_CHAR:$,DOTS_SLASH:O,NO_DOT:H,NO_DOT_SLASH:T,NO_DOTS_SLASH:L,QMARK:I,QMARK_NO_DOT:F,STAR:P,START_ANCHOR:j}=A,N=e=>`(${v}(?:(?!${j}${e.dot?O:E}).)*?)`,M=g.dot?"":H,U=g.dot?I:F,B=!0===g.bash?N(g):P;g.capture&&(B=`(${B})`),"boolean"==typeof g.noext&&(g.noextglob=g.noext);let D={input:e,index:-1,start:0,dot:!0===g.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:C};x=(e=o.removePrefix(e,D)).length;let G=[],q=[],K=[],W=_,Z=()=>D.index===x-1,z=D.peek=(t=1)=>e[D.index+t],Q=D.advance=()=>e[++D.index]||"",V=()=>e.slice(D.index+1),X=(e="",t=0)=>{D.consumed+=e,D.index+=t},Y=e=>{D.output+=null!=e.output?e.output:e.value,X(e.value)},J=()=>{let e=1;for(;"!"===z()&&("("!==z(2)||"?"===z(3));)Q(),D.start++,e++;return e%2!=0&&(D.negated=!0,D.start++,!0)},ee=e=>{D[e]++,K.push(e)},et=e=>{D[e]--,K.pop()},er=e=>{if("globstar"===W.type){let t=D.braces>0&&("comma"===e.type||"brace"===e.type),r=!0===e.extglob||G.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||r||(D.output=D.output.slice(0,-W.output.length),W.type="star",W.value="*",W.output=B,D.output+=W.output)}if(G.length&&"paren"!==e.type&&(G[G.length-1].inner+=e.value),(e.value||e.output)&&Y(e),W&&"text"===W.type&&"text"===e.type){W.value+=e.value,W.output=(W.output||"")+e.value;return}e.prev=W,C.push(e),W=e},eo=(e,t)=>{let r={...w[t],conditions:1,inner:""};r.prev=W,r.parens=D.parens,r.output=D.output,r.startIndex=D.index,r.tokensIndex=C.length;let o=(g.capture?"(":"")+r.open;ee("parens"),er({type:e,value:t,output:D.output?"":$}),er({type:"paren",extglob:!0,value:Q(),output:o}),G.push(r)},en=n=>{let s,i=e.slice(n.startIndex,D.index+1),a=((e,t)=>{if(!1===t.maxExtglobRecursion)return{risky:!1};let o="number"==typeof t.maxExtglobRecursion?t.maxExtglobRecursion:r.DEFAULT_MAX_EXTGLOB_RECURSION,n=p(e).map(e=>e.trim());if(n.length>1&&(n.some(e=>""===e)||n.some(e=>/^[*?]+$/.test(e))||(e=>{let t=e.map(d).filter(Boolean);for(let e=0;e<t.length;e++)for(let r=e+1;r<t.length;r++){let o=t[e],n=t[r],s=o[0];if(s&&o===s.repeat(o.length)&&n===s.repeat(n.length)&&(o===n||o.startsWith(n)||n.startsWith(o)))return!0}return!1})(n)))return{risky:!0};for(let e of n){let t=h(e);if(t)return{risky:!0,safeOutput:t};if(b(e)>o)return{risky:!0}}return{risky:!1}})(e.slice(n.startIndex+2,D.index),g);if(("plus"===n.type||"star"===n.type)&&a.risky){let e=a.safeOutput?(n.output?"":$)+(g.capture?`(${a.safeOutput})`:a.safeOutput):void 0,t=C[n.tokensIndex];t.type="text",t.value=i,t.output=e||o.escapeRegex(i);for(let e=n.tokensIndex+1;e<C.length;e++)C[e].value="",C[e].output="",delete C[e].suffix;D.output=n.output+t.output,D.backtrack=!0,er({type:"paren",extglob:!0,value:f,output:""}),et("parens");return}let u=n.close+(g.capture?")":"");if("negate"===n.type){let e=B;if(n.inner&&n.inner.length>1&&n.inner.includes("/")&&(e=N(g)),(e!==B||Z()||/^\)+$/.test(V()))&&(u=n.close=`)$))${e}`),n.inner.includes("*")&&(s=V())&&/^\.[^\\/.]+$/.test(s)){let r=m(s,{...t,fastpaths:!1}).output;u=n.close=`)${r})${e})`}"bos"===n.prev.type&&(D.negatedExtglob=!0)}er({type:"paren",extglob:!0,value:f,output:u}),et("parens")};if(!1!==g.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let r=!1,n=e.replace(a,(e,t,o,n,s,i)=>"\\"===n?(r=!0,e):"?"===n?t?t+n+(s?I.repeat(s.length):""):0===i?U+(s?I.repeat(s.length):""):I.repeat(o.length):"."===n?E.repeat(o.length):"*"===n?t?t+n+(s?B:""):B:t?e:`\\${e}`);return(!0===r&&(n=!0===g.unescape?n.replace(/\\/g,""):n.replace(/\\+/g,e=>e.length%2==0?"\\\\":e?"\\":"")),n===e&&!0===g.contains)?D.output=e:D.output=o.wrapOutput(n,D,t),D}for(;!Z();){if("\0"===(f=Q()))continue;if("\\"===f){let e=z();if("/"===e&&!0!==g.bash||"."===e||";"===e)continue;if(!e){er({type:"text",value:f+="\\"});continue}let t=/^\\+/.exec(V()),r=0;if(t&&t[0].length>2&&(r=t[0].length,D.index+=r,r%2!=0&&(f+="\\")),!0===g.unescape?f=Q():f+=Q(),0===D.brackets){er({type:"text",value:f});continue}}if(D.brackets>0&&("]"!==f||"["===W.value||"[^"===W.value)){if(!1!==g.posix&&":"===f){let e=W.value.slice(1);if(e.includes("[")&&(W.posix=!0,e.includes(":"))){let e=W.value.lastIndexOf("["),t=W.value.slice(0,e),r=s[W.value.slice(e+2)];if(r){W.value=t+r,D.backtrack=!0,Q(),_.output||1!==C.indexOf(W)||(_.output=$);continue}}}("["===f&&":"!==z()||"-"===f&&"]"===z())&&(f=`\\${f}`),"]"===f&&("["===W.value||"[^"===W.value)&&(f=`\\${f}`),!0===g.posix&&"!"===f&&"["===W.value&&(f="^"),W.value+=f,Y({value:f});continue}if(1===D.quotes&&'"'!==f){f=o.escapeRegex(f),W.value+=f,Y({value:f});continue}if('"'===f){D.quotes=+(1!==D.quotes),!0===g.keepQuotes&&er({type:"text",value:f});continue}if("("===f){ee("parens"),er({type:"paren",value:f});continue}if(")"===f){if(0===D.parens&&!0===g.strictBrackets)throw SyntaxError(l("opening","("));let e=G[G.length-1];if(e&&D.parens===e.parens+1){en(G.pop());continue}er({type:"paren",value:f,output:D.parens?")":"\\)"}),et("parens");continue}if("["===f){if(!0!==g.nobracket&&V().includes("]"))ee("brackets");else{if(!0!==g.nobracket&&!0===g.strictBrackets)throw SyntaxError(l("closing","]"));f=`\\${f}`}er({type:"bracket",value:f});continue}if("]"===f){if(!0===g.nobracket||W&&"bracket"===W.type&&1===W.value.length){er({type:"text",value:f,output:`\\${f}`});continue}if(0===D.brackets){if(!0===g.strictBrackets)throw SyntaxError(l("opening","["));er({type:"text",value:f,output:`\\${f}`});continue}et("brackets");let e=W.value.slice(1);if(!0===W.posix||"^"!==e[0]||e.includes("/")||(f=`/${f}`),W.value+=f,Y({value:f}),!1===g.literalBrackets||o.hasRegexChars(e))continue;let t=o.escapeRegex(W.value);if(D.output=D.output.slice(0,-W.value.length),!0===g.literalBrackets){D.output+=t,W.value=t;continue}W.value=`(${v}${t}|${W.value})`,D.output+=W.value;continue}if("{"===f&&!0!==g.nobrace){ee("braces");let e={type:"brace",value:f,output:"(",outputIndex:D.output.length,tokensIndex:D.tokens.length};q.push(e),er(e);continue}if("}"===f){let e=q[q.length-1];if(!0===g.nobrace||!e){er({type:"text",value:f,output:f});continue}let t=")";if(!0===e.dots){let e=C.slice(),r=[];for(let t=e.length-1;t>=0&&(C.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&r.unshift(e[t].value);t=c(r,g),D.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){let r=D.output.slice(0,e.outputIndex),o=D.tokens.slice(e.tokensIndex);for(let n of(e.value=e.output="\\{",f=t="\\}",D.output=r,o))D.output+=n.output||n.value}er({type:"brace",value:f,output:t}),et("braces"),q.pop();continue}if("|"===f){G.length>0&&G[G.length-1].conditions++,er({type:"text",value:f});continue}if(","===f){let e=f,t=q[q.length-1];t&&"braces"===K[K.length-1]&&(t.comma=!0,e="|"),er({type:"comma",value:f,output:e});continue}if("/"===f){if("dot"===W.type&&D.index===D.start+1){D.start=D.index+1,D.consumed="",D.output="",C.pop(),W=_;continue}er({type:"slash",value:f,output:S});continue}if("."===f){if(D.braces>0&&"dot"===W.type){"."===W.value&&(W.output=E);let e=q[q.length-1];W.type="dots",W.output+=f,W.value+=f,e.dots=!0;continue}if(D.braces+D.parens===0&&"bos"!==W.type&&"slash"!==W.type){er({type:"text",value:f,output:E});continue}er({type:"dot",value:f,output:E});continue}if("?"===f){if(!(W&&"("===W.value)&&!0!==g.noextglob&&"("===z()&&"?"!==z(2)){eo("qmark",f);continue}if(W&&"paren"===W.type){let e=z(),t=f;if("<"===e&&!o.supportsLookbehinds())throw Error("Node.js v10 or higher is required for regex lookbehinds");("("!==W.value||/[!=<:]/.test(e))&&("<"!==e||/<([!=]|\w+>)/.test(V()))||(t=`\\${f}`),er({type:"text",value:f,output:t});continue}if(!0!==g.dot&&("slash"===W.type||"bos"===W.type)){er({type:"qmark",value:f,output:F});continue}er({type:"qmark",value:f,output:I});continue}if("!"===f){if(!0!==g.noextglob&&"("===z()&&("?"!==z(2)||!/[!=<:]/.test(z(3)))){eo("negate",f);continue}if(!0!==g.nonegate&&0===D.index){J();continue}}if("+"===f){if(!0!==g.noextglob&&"("===z()&&"?"!==z(2)){eo("plus",f);continue}if(W&&"("===W.value||!1===g.regex){er({type:"plus",value:f,output:k});continue}if(W&&("bracket"===W.type||"paren"===W.type||"brace"===W.type)||D.parens>0){er({type:"plus",value:f});continue}er({type:"plus",value:k});continue}if("@"===f){if(!0!==g.noextglob&&"("===z()&&"?"!==z(2)){er({type:"at",extglob:!0,value:f,output:""});continue}er({type:"text",value:f});continue}if("*"!==f){("$"===f||"^"===f)&&(f=`\\${f}`);let e=i.exec(V());e&&(f+=e[0],D.index+=e[0].length),er({type:"text",value:f});continue}if(W&&("globstar"===W.type||!0===W.star)){W.type="star",W.star=!0,W.value+=f,W.output=B,D.backtrack=!0,D.globstar=!0,X(f);continue}let t=V();if(!0!==g.noextglob&&/^\([^?]/.test(t)){eo("star",f);continue}if("star"===W.type){if(!0===g.noglobstar){X(f);continue}let r=W.prev,o=r.prev,n="slash"===r.type||"bos"===r.type,s=o&&("star"===o.type||"globstar"===o.type);if(!0===g.bash&&(!n||t[0]&&"/"!==t[0])){er({type:"star",value:f,output:""});continue}let i=D.braces>0&&("comma"===r.type||"brace"===r.type),a=G.length&&("pipe"===r.type||"paren"===r.type);if(!n&&"paren"!==r.type&&!i&&!a){er({type:"star",value:f,output:""});continue}for(;"/**"===t.slice(0,3);){let r=e[D.index+4];if(r&&"/"!==r)break;t=t.slice(3),X("/**",3)}if("bos"===r.type&&Z()){W.type="globstar",W.value+=f,W.output=N(g),D.output=W.output,D.globstar=!0,X(f);continue}if("slash"===r.type&&"bos"!==r.prev.type&&!s&&Z()){D.output=D.output.slice(0,-(r.output+W.output).length),r.output=`(?:${r.output}`,W.type="globstar",W.output=N(g)+(g.strictSlashes?")":"|$)"),W.value+=f,D.globstar=!0,D.output+=r.output+W.output,X(f);continue}if("slash"===r.type&&"bos"!==r.prev.type&&"/"===t[0]){let e=void 0!==t[1]?"|$":"";D.output=D.output.slice(0,-(r.output+W.output).length),r.output=`(?:${r.output}`,W.type="globstar",W.output=`${N(g)}${S}|${S}${e})`,W.value+=f,D.output+=r.output+W.output,D.globstar=!0,X(f+Q()),er({type:"slash",value:"/",output:""});continue}if("bos"===r.type&&"/"===t[0]){W.type="globstar",W.value+=f,W.output=`(?:^|${S}|${N(g)}${S})`,D.output=W.output,D.globstar=!0,X(f+Q()),er({type:"slash",value:"/",output:""});continue}D.output=D.output.slice(0,-W.output.length),W.type="globstar",W.output=N(g),W.value+=f,D.output+=W.output,D.globstar=!0,X(f);continue}let r={type:"star",value:f,output:B};if(!0===g.bash){r.output=".*?",("bos"===W.type||"slash"===W.type)&&(r.output=M+r.output),er(r);continue}if(W&&("bracket"===W.type||"paren"===W.type)&&!0===g.regex){r.output=f,er(r);continue}(D.index===D.start||"slash"===W.type||"dot"===W.type)&&("dot"===W.type?(D.output+=T,W.output+=T):!0===g.dot?(D.output+=L,W.output+=L):(D.output+=M,W.output+=M),"*"!==z()&&(D.output+=$,W.output+=$)),er(r)}for(;D.brackets>0;){if(!0===g.strictBrackets)throw SyntaxError(l("closing","]"));D.output=o.escapeLast(D.output,"["),et("brackets")}for(;D.parens>0;){if(!0===g.strictBrackets)throw SyntaxError(l("closing",")"));D.output=o.escapeLast(D.output,"("),et("parens")}for(;D.braces>0;){if(!0===g.strictBrackets)throw SyntaxError(l("closing","}"));D.output=o.escapeLast(D.output,"{"),et("braces")}if(!0!==g.strictSlashes&&("star"===W.type||"bracket"===W.type)&&er({type:"maybe_slash",value:"",output:`${S}?`}),!0===D.backtrack)for(let e of(D.output="",D.tokens))D.output+=null!=e.output?e.output:e.value,e.suffix&&(D.output+=e.suffix);return D};m.fastpaths=(e,t)=>{let s={...t},i="number"==typeof s.maxLength?Math.min(n,s.maxLength):n,a=e.length;if(a>i)throw SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${i}`);e=u[e]||e;let c=o.isWindows(t),{DOT_LITERAL:l,SLASH_LITERAL:p,ONE_CHAR:d,DOTS_SLASH:f,NO_DOT:h,NO_DOTS:b,NO_DOTS_SLASH:m,STAR:g,START_ANCHOR:y}=r.globChars(c),x=s.dot?b:h,_=s.dot?m:h,C=s.capture?"":"?:",v=!0===s.bash?".*?":g;s.capture&&(v=`(${v})`);let R=e=>!0===e.noglobstar?v:`(${C}(?:(?!${y}${e.dot?f:l}).)*?)`,A=e=>{switch(e){case"*":return`${x}${d}${v}`;case".*":return`${l}${d}${v}`;case"*.*":return`${x}${v}${l}${d}${v}`;case"*/*":return`${x}${v}${p}${d}${_}${v}`;case"**":return x+R(s);case"**/*":return`(?:${x}${R(s)}${p})?${_}${d}${v}`;case"**/*.*":return`(?:${x}${R(s)}${p})?${_}${v}${l}${d}${v}`;case"**/.*":return`(?:${x}${R(s)}${p})?${l}${d}${v}`;default:{let t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;let r=A(t[1]);if(!r)return;return r+l+t[2]}}},w=A(o.removePrefix(e,{negated:!1,prefix:""}));return w&&!0!==s.strictSlashes&&(w+=`${p}?`),w},t.exports=m},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/picomatch.js"(t){let r=e("path?37f5"),o=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/scan.js"),n=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/parse.js"),s=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/utils.js"),i=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/constants.js"),a=(e,t,r=!1)=>{if(Array.isArray(e)){let o=e.map(e=>a(e,t,r));return e=>{for(let t of o){let r=t(e);if(r)return r}return!1}}let o=e&&"object"==typeof e&&!Array.isArray(e)&&e.tokens&&e.input;if(""===e||"string"!=typeof e&&!o)throw TypeError("Expected pattern to be a non-empty string");let n=t||{},i=s.isWindows(t),u=o?a.compileRe(e,t):a.makeRe(e,t,!1,!0),c=u.state;delete u.state;let l=()=>!1;if(n.ignore){let e={...t,ignore:null,onMatch:null,onResult:null};l=a(n.ignore,e,r)}let p=(r,o=!1)=>{let{isMatch:s,match:p,output:d}=a.test(r,u,t,{glob:e,posix:i}),f={glob:e,state:c,regex:u,posix:i,input:r,output:d,match:p,isMatch:s};return("function"==typeof n.onResult&&n.onResult(f),!1===s)?(f.isMatch=!1,!!o&&f):l(r)?("function"==typeof n.onIgnore&&n.onIgnore(f),f.isMatch=!1,!!o&&f):("function"==typeof n.onMatch&&n.onMatch(f),!o||f)};return r&&(p.state=c),p};a.test=(e,t,r,{glob:o,posix:n}={})=>{if("string"!=typeof e)throw TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};let i=r||{},u=i.format||(n?s.toPosixSlashes:null),c=e===o,l=c&&u?u(e):e;return!1===c&&(c=(l=u?u(e):e)===o),(!1===c||!0===i.capture)&&(c=!0===i.matchBase||!0===i.basename?a.matchBase(e,t,r,n):t.exec(l)),{isMatch:!!c,match:c,output:l}},a.matchBase=(e,t,o,n=s.isWindows(o))=>(t instanceof RegExp?t:a.makeRe(t,o)).test(r.basename(e)),a.isMatch=(e,t,r)=>a(t,r)(e),a.parse=(e,t)=>Array.isArray(e)?e.map(e=>a.parse(e,t)):n(e,{...t,fastpaths:!1}),a.scan=(e,t)=>o(e,t),a.compileRe=(e,t,r=!1,o=!1)=>{if(!0===r)return e.output;let n=t||{},s=n.contains?"":"^",i=n.contains?"":"$",u=`${s}(?:${e.output})${i}`;e&&!0===e.negated&&(u=`^(?!${u}).*$`);let c=a.toRegex(u,t);return!0===o&&(c.state=e),c},a.makeRe=(e,t={},r=!1,o=!1)=>{if(!e||"string"!=typeof e)throw TypeError("Expected a non-empty string");let s={negated:!1,fastpaths:!0};return!1!==t.fastpaths&&("."===e[0]||"*"===e[0])&&(s.output=n.fastpaths(e,t)),s.output||(s=n(e,t)),a.compileRe(s,t,r,o)},a.toRegex=(e,t)=>{try{let r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},a.constants=i,t.exports=a},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/scan.js"(t){let r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/utils.js"),{CHAR_ASTERISK:o,CHAR_AT:n,CHAR_BACKWARD_SLASH:s,CHAR_COMMA:i,CHAR_DOT:a,CHAR_EXCLAMATION_MARK:u,CHAR_FORWARD_SLASH:c,CHAR_LEFT_CURLY_BRACE:l,CHAR_LEFT_PARENTHESES:p,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_PLUS:f,CHAR_QUESTION_MARK:h,CHAR_RIGHT_CURLY_BRACE:b,CHAR_RIGHT_PARENTHESES:m,CHAR_RIGHT_SQUARE_BRACKET:g}=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/constants.js"),y=e=>e===c||e===s,x=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};t.exports=(e,t)=>{let _,C,v=t||{},R=e.length-1,A=!0===v.parts||!0===v.scanToEnd,w=[],E=[],k=[],S=e,$=-1,O=0,H=0,T=!1,L=!1,I=!1,F=!1,P=!1,j=!1,N=!1,M=!1,U=!1,B=!1,D=0,G={value:"",depth:0,isGlob:!1},q=()=>$>=R,K=()=>S.charCodeAt($+1),W=()=>(_=C,S.charCodeAt(++$));for(;$<R;){let e;if((C=W())===s){N=G.backslashes=!0,(C=W())===l&&(j=!0);continue}if(!0===j||C===l){for(D++;!0!==q()&&(C=W());){if(C===s){N=G.backslashes=!0,W();continue}if(C===l){D++;continue}if(!0!==j&&C===a&&(C=W())===a||!0!==j&&C===i){if(T=G.isBrace=!0,I=G.isGlob=!0,B=!0,!0===A)continue;break}if(C===b&&0==--D){j=!1,T=G.isBrace=!0,B=!0;break}}if(!0===A)continue;break}if(C===c){if(w.push($),E.push(G),G={value:"",depth:0,isGlob:!1},!0===B)continue;if(_===a&&$===O+1){O+=2;continue}H=$+1;continue}if(!0!==v.noext&&!0==(C===f||C===n||C===o||C===h||C===u)&&K()===p){if(I=G.isGlob=!0,F=G.isExtglob=!0,B=!0,C===u&&$===O&&(U=!0),!0===A){for(;!0!==q()&&(C=W());){if(C===s){N=G.backslashes=!0,C=W();continue}if(C===m){I=G.isGlob=!0,B=!0;break}}continue}break}if(C===o){if(_===o&&(P=G.isGlobstar=!0),I=G.isGlob=!0,B=!0,!0===A)continue;break}if(C===h){if(I=G.isGlob=!0,B=!0,!0===A)continue;break}if(C===d){for(;!0!==q()&&(e=W());){if(e===s){N=G.backslashes=!0,W();continue}if(e===g){L=G.isBracket=!0,I=G.isGlob=!0,B=!0;break}}if(!0===A)continue;break}if(!0!==v.nonegate&&C===u&&$===O){M=G.negated=!0,O++;continue}if(!0!==v.noparen&&C===p){if(I=G.isGlob=!0,!0===A){for(;!0!==q()&&(C=W());){if(C===p){N=G.backslashes=!0,C=W();continue}if(C===m){B=!0;break}}continue}break}if(!0===I){if(B=!0,!0===A)continue;break}}!0===v.noext&&(F=!1,I=!1);let Z=S,z="",Q="";O>0&&(z=S.slice(0,O),S=S.slice(O),H-=O),Z&&!0===I&&H>0?(Z=S.slice(0,H),Q=S.slice(H)):!0===I?(Z="",Q=S):Z=S,Z&&""!==Z&&"/"!==Z&&Z!==S&&y(Z.charCodeAt(Z.length-1))&&(Z=Z.slice(0,-1)),!0===v.unescape&&(Q&&(Q=r.removeBackslashes(Q)),Z&&!0===N&&(Z=r.removeBackslashes(Z)));let V={prefix:z,input:e,start:O,base:Z,glob:Q,isBrace:T,isBracket:L,isGlob:I,isExtglob:F,isGlobstar:P,negated:M,negatedExtglob:U};if(!0===v.tokens&&(V.maxDepth=0,y(C)||E.push(G),V.tokens=E),!0===v.parts||!0===v.tokens){let t;for(let r=0;r<w.length;r++){let o=t?t+1:O,n=w[r],s=e.slice(o,n);v.tokens&&(0===r&&0!==O?(E[r].isPrefix=!0,E[r].value=z):E[r].value=s,x(E[r]),V.maxDepth+=E[r].depth),(0!==r||""!==s)&&k.push(s),t=n}if(t&&t+1<e.length){let r=e.slice(t+1);k.push(r),v.tokens&&(E[E.length-1].value=r,x(E[E.length-1]),V.maxDepth+=E[E.length-1].depth)}V.slashes=w,V.parts=k}return V}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/utils.js"(t,r){let o=e("path?37f5"),n="win32"===process.platform,{REGEX_BACKSLASH:s,REGEX_REMOVE_BACKSLASH:i,REGEX_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_GLOBAL:u}=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/constants.js");r.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),r.hasRegexChars=e=>a.test(e),r.isRegexChar=e=>1===e.length&&r.hasRegexChars(e),r.escapeRegex=e=>e.replace(u,"\\$1"),r.toPosixSlashes=e=>e.replace(s,"/"),r.removeBackslashes=e=>e.replace(i,e=>"\\"===e?"":e),r.supportsLookbehinds=()=>{let e=process.version.slice(1).split(".").map(Number);return 3===e.length&&!!(e[0]>=9)||8===e[0]&&!!(e[1]>=10)},r.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===n||"\\"===o.sep,r.escapeLast=(e,t,o)=>{let n=e.lastIndexOf(t,o);return -1===n?e:"\\"===e[n-1]?r.escapeLast(e,t,n-1):`${e.slice(0,n)}\\${e.slice(n)}`},r.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r},r.wrapOutput=(e,t={},r={})=>{let o=r.contains?"":"^",n=r.contains?"":"$",s=`${o}(?:${e})${n}`;return!0===t.negated&&(s=`(?:^(?!${s}).*$)`),s}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/to-regex-range/5.0.1/e55082e174dc917a955607638a77d8978552a7d78773d047c1263c740e4d7c0f/node_modules/to-regex-range/index.js"(t){let r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/is-number/7.0.0/9613abb83deb6b72fdd092fda49730946a626517d4926a9f5c00ca322630c588/node_modules/is-number/index.js"),o=(e,t,i)=>{var a,u,c;let l,d,f;if(!1===r(e))throw TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===r(t))throw TypeError("toRegexRange: expected the second argument to be a number.");let h={relaxZeros:!0,...i};"boolean"==typeof h.strictZeros&&(h.relaxZeros=!1===h.strictZeros);let b=e+":"+t+"="+String(h.relaxZeros)+String(h.shorthand)+String(h.capture)+String(h.wrap);if(o.cache.hasOwnProperty(b))return o.cache[b].result;let m=Math.min(e,t),g=Math.max(e,t);if(1===Math.abs(m-g)){let r=e+"|"+t;return h.capture?`(${r})`:!1===h.wrap?r:`(?:${r})`}let y=p(e)||p(t),x={min:e,max:t,a:m,b:g},_=[],C=[];return y&&(x.isPadded=y,x.maxLen=String(x.max).length),m<0&&(C=n(g<0?Math.abs(g):1,Math.abs(m),x,h),m=x.a=0),g>=0&&(_=n(m,g,x,h)),x.negatives=C,x.positives=_,l=s(a=C,u=_,"-",!1,c=h)||[],d=s(u,a,"",!1,c)||[],f=s(a,u,"-?",!0,c)||[],x.result=l.concat(f).concat(d).join("|"),!0===h.capture?x.result=`(${x.result})`:!1!==h.wrap&&_.length+C.length>1&&(x.result=`(?:${x.result})`),o.cache[b]=x,x.result};function n(e,t,r,o){let n,s=function(e,t){let r=1,o=1,n=u(e,1),s=new Set([t]);for(;e<=n&&n<=t;)s.add(n),r+=1,n=u(e,r);for(n=c(t+1,o)-1;e<n&&n<=t;)s.add(n),o+=1,n=c(t+1,o)-1;return(s=[...s]).sort(i),s}(e,t),a=[],p=e;for(let e=0;e<s.length;e++){let t=s[e],i=function(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let o=function(e,t){let r=[];for(let o=0;o<e.length;o++)r.push([e[o],t[o]]);return r}(e,t),n=o.length,s="",i=0;for(let e=0;e<n;e++){var a,u;let[t,r]=o[e];t===r?s+=t:"0"!==t||"9"!==r?s+=(a=t,u=r,`[${a}${u-a==1?"":"-"}${u}]`):i++}return i&&(s+=!0===r.shorthand?"\\d":"[0-9]"),{pattern:s,count:[i],digits:n}}(String(p),String(t),o),u="";if(!r.isPadded&&n&&n.pattern===i.pattern){n.count.length>1&&n.count.pop(),n.count.push(i.count[0]),n.string=n.pattern+l(n.count),p=t+1;continue}r.isPadded&&(u=function(e,t,r){if(!t.isPadded)return e;let o=Math.abs(t.maxLen-String(e).length),n=!1!==r.relaxZeros;switch(o){case 0:return"";case 1:return n?"0?":"0";case 2:return n?"0{0,2}":"00";default:return n?`0{0,${o}}`:`0{${o}}`}}(t,r,o)),i.string=u+i.pattern+l(i.count),a.push(i),p=t+1,n=i}return a}function s(e,t,r,o,n){let s=[];for(let n of e){let{string:e}=n;o||a(t,"string",e)||s.push(r+e),o&&a(t,"string",e)&&s.push(r+e)}return s}function i(e,t){return e>t?1:t>e?-1:0}function a(e,t,r){return e.some(e=>e[t]===r)}function u(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function c(e,t){return e-e%Math.pow(10,t)}function l(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function p(e){return/^-?(0+)\d/.test(e)}o.cache={},o.clearCache=()=>o.cache={},t.exports=o}});let c=/(^|,)\s*upgrade\s*($|,)/i,l={http:new r.Agent({keepAlive:!0,maxSockets:256,maxFreeSockets:64}),https:new o.Agent({keepAlive:!0,maxSockets:256,maxFreeSockets:64})},p=/^https|wss/,d=[":method",":path",":scheme",":authority"];function f(e,t,r,o){var n;for(let r of(e.port=t[o||"target"].port||(p.test(t[o||"target"].protocol??"http")?443:80),["host","hostname","socketPath","pfx","key","passphrase","cert","ca","ciphers","secureProtocol"])){let n=t[o||"target"][r];void 0!==n&&(e[r]=n)}if(void 0===e.host&&"string"==typeof e.hostname){let t=e.hostname.includes(":")&&!e.hostname.startsWith("[")?`[${e.hostname}]`:e.hostname;e.host=e.port?`${t}:${e.port}`:t}if(e.method=t.method||r.method,e.headers={...r.headers},r.headers?.[":authority"]&&(e.headers.host=r.headers[":authority"]),t.headers)for(let r of Object.keys(t.headers))e.headers[r]=t.headers[r];if(r.httpVersionMajor>1)for(let t of d)delete e.headers[t];if(t.auth&&(e.auth=t.auth),t.ca&&(e.ca=t.ca),p.test(t[o||"target"].protocol??"http")&&(e.rejectUnauthorized=void 0===t.secure||t.secure),void 0!==t.agent)e.agent=t.agent||!1;else if(r.httpVersionMajor>1||c.test(r.headers.connection||""))e.agent=!1;else{let r=t[o||"target"].protocol??"http";e.agent=p.test(r)?l.https:l.http}e.localAddress=t.localAddress,!e.agent&&(e.headers=e.headers||{},"string"==typeof e.headers.connection&&c.test(e.headers.connection)||(e.headers.connection="close"));let s=t[o||"target"],i=s&&!1!==t.prependPath&&s.pathname||"",a=s instanceof URL&&!1!==t.prependPath&&s.search||"",u=r.url||"",f=u.indexOf("?"),h=-1===f?u:u.slice(0,f),b=-1===f?"":u.slice(f),m=h?"/"===h[0]?h:"/"+h:"/",g=t.toProxy?"/"+u:m+b,y=function(e,t){if(!e||"/"===e)return t||"/";if(!t||"/"===t)return e||"/";let r="/"===e[e.length-1],o="/"===t[0];return r&&o?e+t.slice(1):r||o?e+t:e+"/"+t}(i,g=t.ignorePath?"":g);return a&&(y=y.includes("?")?y.replace("?",a+"&"):y+a),e.path=y,t.changeOrigin&&(e.headers.host=function(e,t){let r=t?.split(":")[0],o=+e;if(!o)return!1;switch(r){case"http":case"ws":return 80!==o;case"https":case"wss":return 443!==o;case"ftp":return 21!==o;case"gopher":return 70!==o;case"file":return!1}return 0!==o}(e.port,t[o||"target"].protocol)&&!((n=e.host)&&~n.indexOf(":"))?e.host+":"+e.port:e.host??void 0),e}function h(e){return e.setTimeout(0),e.setNoDelay(!0),e.setKeepAlive(!0,0),e}function b(e){let t=e.headers[":authority"]||e.headers.host,r=t?t.match(/:(\d+)/):"";return r?r[1]:m(e)?"443":"80"}function m(e){let t=e.socket;return!!t&&"encrypted"in t&&t.encrypted}function g(e,t,r){return Array.isArray(e)?e.map(function(e){return g(e,t,r)}):e.replace(RegExp(String.raw`(;\s*`+r+"=)([^;]+)","i"),function(e,r,o){let n;if(o in t)n=t[o];else{if(!("*"in t))return e;n=t["*"]}return n?r+n:""})}let y=/^201|30([12378])$/,x=[(e,t,r)=>{("1.0"===e.httpVersion||e.httpVersionMajor>=2||204===r.statusCode||304===r.statusCode)&&delete r.headers["transfer-encoding"]},(e,t,r)=>{"1.0"===e.httpVersion?r.headers.connection=e.headers.connection||"close":e.httpVersionMajor<2&&!r.headers.connection?r.headers.connection=e.headers.connection||"keep-alive":e.httpVersionMajor>=2&&delete r.headers.connection},(e,t,r,o)=>{if((o.hostRewrite||o.autoRewrite||o.protocolRewrite)&&r.headers.location&&y.test(String(r.statusCode))){let t=function(e){if(e instanceof URL)return e;if("string"==typeof e)return new URL(e);let t=e.protocol||"http:",r=e.host||e.hostname||"localhost",o=e.port;return new URL(`${t}//${r}${o?":"+o:""}`)}(o.target),n=new URL(r.headers.location,t);t.host===n.host&&(o.hostRewrite?n.host=o.hostRewrite:o.autoRewrite&&(e.headers[":authority"]?n.host=e.headers[":authority"]:e.headers.host&&(n.host=e.headers.host)),o.protocolRewrite&&(n.protocol=o.protocolRewrite),r.headers.location=n.toString())}},(e,t,r,o)=>{let n,s="string"==typeof o.cookieDomainRewrite?{"*":o.cookieDomainRewrite}:o.cookieDomainRewrite,i="string"==typeof o.cookiePathRewrite?{"*":o.cookiePathRewrite}:o.cookiePathRewrite,a=o.preserveHeaderKeyCase;if(a&&void 0!==r.rawHeaders){n={};for(let e=0;e<r.rawHeaders.length;e+=2){let t=r.rawHeaders[e];n[t.toLowerCase()]=t}}for(let e of Object.keys(r.headers)){let o=r.headers[e];a&&n&&(e=n[e]||e);var u=e,c=o;if(void 0!==c&&String(u).trim()){s&&"set-cookie"===u.toLowerCase()&&(c=g(c,s,"domain")),i&&"set-cookie"===u.toLowerCase()&&(c=g(c,i,"path"));try{t.setHeader(String(u).trim(),c)}catch{}}}},(e,t,r)=>{t.statusCode=r.statusCode,r.statusMessage&&e.httpVersionMajor<2&&(t.statusMessage=r.statusMessage)}],_=new Set([301,302,303,307,308]),C=[e=>{"DELETE"!==e.method&&"OPTIONS"!==e.method||e.headers["content-length"]||e.headers["transfer-encoding"]||(e.headers["content-length"]="0")},(e,t,r)=>{r.timeout&&e.socket.setTimeout(r.timeout,()=>{e.socket.destroy()})},(e,t,r)=>{if(!r.xfwd)return;let o=e.isSpdy||m(e),n={for:e.connection.remoteAddress||e.socket.remoteAddress,port:b(e),proto:o?"https":"http"};for(let t of["for","port","proto"]){let r="x-forwarded-"+t;e.headers[r]||void 0===n[t]||(e.headers[r]=n[t])}e.headers["x-forwarded-host"]=e.headers["x-forwarded-host"]||e.headers[":authority"]||e.headers.host||""},(e,t,n,s,i,a)=>{let u;s.emit("start",e,t,n.target||n.forward);let c="number"==typeof n.followRedirects?n.followRedirects:5*!!n.followRedirects;if(n.forward){let s=(p.test(n.forward.protocol||"http")?o:r).request(f(n.ssl||{},n,e,"forward")),i=h(s,n.forward);if(e.on("error",i),s.on("error",i),(n.buffer||e).pipe(s),!n.target)return void t.end()}let l=(p.test(n.target.protocol||"http")?o:r).request(f(n.ssl||{},n,e));l.on("socket",r=>{s&&!l.getHeader("expect")&&s.emit("proxyReq",l,e,t,n)}),n.proxyTimeout&&l.setTimeout(n.proxyTimeout,function(){l.destroy()}),t.on("close",function(){t.writableFinished||l.destroy()});let d=h(l,n.target);function h(r,o){return function(n){if(!e.socket?.writable&&"ECONNRESET"===n.code)return s.emit("econnreset",n,e,t,o),r.destroy();a?a(n,e,t,o):s.emit("error",n,e,t,o)}}if(e.on("error",d),l.on("error",d),c>0){let t=[],r=n.buffer||e;r.on("data",e=>{t.push("string"==typeof e?Buffer.from(e):e),l.write(e)}),r.on("end",()=>{u=Buffer.concat(t),l.end()}),r.on("error",e=>{l.destroy(e)})}else l.on("socket",t=>{t.pending?t.on("connect",()=>(n.buffer||e).pipe(l)):(n.buffer||e).pipe(l)});l.on("response",function(i){!function i(a,l,d){let f=a.statusCode;if(c>0&&_.has(f)&&l<c&&a.headers.location){a.resume();let c=new URL(a.headers.location,d),b=307===f||308===f,m=b&&e.method||"GET",g=p.test(c.protocol),y=g?o:r,x={...e.headers};n.headers&&Object.assign(x,n.headers),x.host=c.host,c.host!==d.host&&(delete x.authorization,delete x.cookie),b||(delete x["content-length"],delete x["content-type"],delete x["transfer-encoding"]);let _={hostname:c.hostname,port:c.port||(g?443:80),path:c.pathname+c.search,method:m,headers:x,agent:n.agent||!1};g&&(_.rejectUnauthorized=void 0===n.secure||n.secure);let C=y.request(_);s&&!C.getHeader("expect")&&s.emit("proxyReq",C,e,t,n),n.proxyTimeout&&C.setTimeout(n.proxyTimeout,()=>{C.destroy()});let v=h(C,c);C.on("error",v),C.on("response",e=>{i(e,l+1,c)}),b&&u&&u.length>0?C.end(u):C.end();return}if(s&&s.emit("proxyRes",a,e,t),!t.headersSent&&!n.selfHandleResponse){for(let r of x)if(r(e,t,a,n))break}t.finished?s&&s.emit("end",e,t,a):(t.on("close",function(){a.destroy()}),a.on("close",function(){a.complete||t.destroyed||t.destroy()}),a.on("error",function(r){t.destroyed||t.destroy(r),s.listenerCount("error")>0&&s.emit("error",r,e,t,d)}),a.on("end",function(){s&&s.emit("end",e,t,a)}),n.selfHandleResponse||a.pipe(t))}(i,0,n.target)})}],v=[(e,t)=>{if("GET"!==e.method||!e.headers.upgrade||"websocket"!==e.headers.upgrade.toLowerCase())return t.destroy(),!0},(e,t,r)=>{if(!r.xfwd)return;let o={for:e.connection.remoteAddress||e.socket.remoteAddress,port:b(e),proto:m(e)?"wss":"ws"};for(let t of["for","port","proto"]){let r="x-forwarded-"+t;e.headers[r]||void 0===o[t]||(e.headers[r]=o[t])}},(e,t,n,s,i,a)=>{let u=function(e,t){return Object.keys(t).reduce(function(e,r){let o=t[r];if(!Array.isArray(o))return e.push(r+": "+o),e;for(let t of o)e.push(r+": "+t);return e},[e]).join("\r\n")+"\r\n\r\n"};h(t),i&&i.length>0&&t.unshift(i),t.on("error",l);let c=(p.test(n.target.protocol||"http")?o:r).request(f(n.ssl||{},n,e));function l(r){a?a(r,e,t):s.emit("error",r,e,t),c.destroy()}function d(r){a?a(r,e,t):s.emit("error",r,e,t),t.end()}s&&s.emit("proxyReqWs",c,e,t,n,i),c.on("error",d),c.on("response",function(e){e.upgrade||(!t.destroyed&&t.writable?(t.write(u("HTTP/"+e.httpVersion+" "+e.statusCode+" "+e.statusMessage,e.headers)),e.on("error",d),e.pipe(t)):e.resume())}),c.on("upgrade",function(e,r,o){r.on("error",d),r.on("end",function(){s.emit("close",e,r,o)}),t.removeListener("error",l),t.on("error",function(){r.end()}),h(r),o&&o.length>0&&r.unshift(o),t.write(u("HTTP/1.1 101 Switching Protocols",e.headers)),r.pipe(t).pipe(r),s.emit("open",r),s.emit("proxySocket",r)}),c.end()}];var R=class extends s{_server;_webPasses=[...C];_wsPasses=[...v];options;web;ws;constructor(e={}){super(),this.options=e||{},this.options.prependPath=!1!==e.prependPath,this.web=A("web",this),this.ws=A("ws",this)}listen(e,t,s){let i=(e,t)=>this.web(e,t);if(this.options.http2){if(!this.options.ssl)throw Error("HTTP/2 requires ssl option");this._server=n.createSecureServer({...this.options.ssl,allowHTTP1:!0},i)}else this.options.ssl?this._server=o.createServer(this.options.ssl,i):this._server=r.createServer(i);return this.options.ws&&this._server.on("upgrade",(e,t,r)=>{this.ws(e,t,this.options,r).catch(()=>{})}),this._server.listen(e,t,s),this}close(e){this._server&&this._server.close((...t)=>{this._server=void 0,e&&Reflect.apply(e,void 0,t)})}before(e,t,r){if("ws"!==e&&"web"!==e)throw Error("type must be `web` or `ws`");let o=this._getPasses(e),n=!1;for(let[e,r]of o.entries())r.name===t&&(n=e);if(!1===n)throw Error("No such pass");o.splice(n,0,r)}after(e,t,r){if("ws"!==e&&"web"!==e)throw Error("type must be `web` or `ws`");let o=this._getPasses(e),n=!1;for(let[e,r]of o.entries())r.name===t&&(n=e);if(!1===n)throw Error("No such pass");o.splice(n++,0,r)}_getPasses(e){return"ws"===e?this._wsPasses:this._webPasses}};function A(e,t){return function(r,o,n,s){let i,a,u={...n,...t.options};for(let e of["target","forward"])"string"==typeof u[e]&&(u[e]=new URL(u[e]));if(!u.target&&!u.forward)return this.emit("error",Error("Must provide a proper URL as target")),Promise.resolve();let c=new Promise((e,t)=>{i=e,a=t});for(let n of(o.on("close",()=>{i()}),o.on("error",e=>{a(e)}),t._getPasses(e))){let e;try{e=n(r,o,u,t,s,(e,n,s,u)=>{t.listenerCount("error")>0?(t.emit("error",e,r,o,u),i()):a(e)})}catch(e){t.listenerCount("error")>0?(t.emit("error",e,r,o,u.target||u.forward),i()):a(e);break}if(e){i();break}}return c}}class w extends Error{code;constructor(e,t){super(e),this.code=t,this.name=this.constructor.name,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}}let E=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/debug/4.4.3/64f28f7ac7dd8bc11944350993b040e31578ca48ef26096b6bf9a25f661c0c66/node_modules/debug/src/index.js")("http-proxy-middleware"),k=E.extend("debug-proxy-errors-plugin"),S=`[HPM] Connection reset (ECONNRESET) detected with non-empty "req.body" [ERR_HPM.GH40].
2
+ import{rspackRequire as e,moduleFactories as t}from"./rslib-runtime.js";import r from"node:http";import o from"node:https";import n from"node:http2";import{EventEmitter as s}from"node:events";import"node:net";import"node:stream";import{styleText as i}from"node:util";import{URL as a}from"node:url";import{URL as u}from"url";import"node:zlib";import"node:querystring";import"./626.js";t.add({"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/index.js"(t){let r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/stringify.js"),o=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/compile.js"),n=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/expand.js"),s=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/parse.js"),i=(e,t={})=>{let r=[];if(Array.isArray(e))for(let o of e){let e=i.create(o,t);Array.isArray(e)?r.push(...e):r.push(e)}else r=[].concat(i.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(r=[...new Set(r)]),r};i.parse=(e,t={})=>s(e,t),i.stringify=(e,t={})=>"string"==typeof e?r(i.parse(e,t),t):r(e,t),i.compile=(e,t={})=>("string"==typeof e&&(e=i.parse(e,t)),o(e,t)),i.expand=(e,t={})=>{"string"==typeof e&&(e=i.parse(e,t));let r=n(e,t);return!0===t.noempty&&(r=r.filter(Boolean)),!0===t.nodupes&&(r=[...new Set(r)]),r},i.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?i.compile(e,t):i.expand(e,t),t.exports=i},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/compile.js"(t){let r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/fill-range/7.1.1/cdf2fb341eb6146d178e71e3e567948d1810e3947af7ae4c97c575c1cbd80d2a/node_modules/fill-range/index.js"),o=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/utils.js");t.exports=(e,t={})=>{let n=(e,s={})=>{let i=o.isInvalidBrace(s),a=!0===e.invalid&&!0===t.escapeInvalid,u=!0===i||!0===a,c=!0===t.escapeInvalid?"\\":"",l="";if(!0===e.isOpen)return c+e.value;if(!0===e.isClose)return console.log("node.isClose",c,e.value),c+e.value;if("open"===e.type)return u?c+e.value:"(";if("close"===e.type)return u?c+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":u?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){let n=o.reduce(e.nodes),s=r(...n,{...t,wrap:!1,toRegex:!0,strictZeros:!0});if(0!==s.length)return n.length>1&&s.length>1?`(${s})`:s}if(e.nodes)for(let t of e.nodes)l+=n(t,e);return l};return n(e)}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/constants.js"(e){e.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:"\n",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"}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/expand.js"(t){let r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/fill-range/7.1.1/cdf2fb341eb6146d178e71e3e567948d1810e3947af7ae4c97c575c1cbd80d2a/node_modules/fill-range/index.js"),o=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/stringify.js"),n=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/utils.js"),s=(e="",t="",r=!1)=>{let o=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return r?n.flatten(t).map(e=>`{${e}}`):t;for(let n of e)if(Array.isArray(n))for(let e of n)o.push(s(e,t,r));else for(let e of t)!0===r&&"string"==typeof e&&(e=`{${e}}`),o.push(Array.isArray(e)?s(n,e,r):n+e);return n.flatten(o)};t.exports=(e,t={})=>{let i=void 0===t.rangeLimit?1e3:t.rangeLimit,a=(e,u={})=>{e.queue=[];let c=u,l=u.queue;for(;"brace"!==c.type&&"root"!==c.type&&c.parent;)l=(c=c.parent).queue;if(e.invalid||e.dollar)return void l.push(s(l.pop(),o(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void l.push(s(l.pop(),["{}"]));if(e.nodes&&e.ranges>0){let a=n.reduce(e.nodes);if(n.exceedsLimit(...a,t.step,i))throw RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let u=r(...a,t);0===u.length&&(u=o(e,t)),l.push(s(l.pop(),u)),e.nodes=[];return}let p=n.encloseBrace(e),d=e.queue,f=e;for(;"brace"!==f.type&&"root"!==f.type&&f.parent;)d=(f=f.parent).queue;for(let t=0;t<e.nodes.length;t++){let r=e.nodes[t];if("comma"===r.type&&"brace"===e.type){1===t&&d.push(""),d.push("");continue}if("close"===r.type){l.push(s(l.pop(),d,p));continue}if(r.value&&"open"!==r.type){d.push(s(d.pop(),r.value));continue}r.nodes&&a(r,e)}return d};return n.flatten(a(e))}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/parse.js"(t){let r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/stringify.js"),{MAX_LENGTH:o,CHAR_BACKSLASH:n,CHAR_BACKTICK:s,CHAR_COMMA:i,CHAR_DOT:a,CHAR_LEFT_PARENTHESES:u,CHAR_RIGHT_PARENTHESES:c,CHAR_LEFT_CURLY_BRACE:l,CHAR_RIGHT_CURLY_BRACE:p,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_RIGHT_SQUARE_BRACKET:f,CHAR_DOUBLE_QUOTE:h,CHAR_SINGLE_QUOTE:b,CHAR_NO_BREAK_SPACE:m,CHAR_ZERO_WIDTH_NOBREAK_SPACE:g}=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/constants.js");t.exports=(e,t={})=>{let y;if("string"!=typeof e)throw TypeError("Expected a string");let x=t||{},_="number"==typeof x.maxLength?Math.min(o,x.maxLength):o;if(e.length>_)throw SyntaxError(`Input length (${e.length}), exceeds max characters (${_})`);let C={type:"root",input:e,nodes:[]},v=[C],R=C,A=C,w=0,E=e.length,k=0,S=0,$=()=>e[k++],O=e=>{if("text"===e.type&&"dot"===A.type&&(A.type="text"),A&&"text"===A.type&&"text"===e.type){A.value+=e.value;return}return R.nodes.push(e),e.parent=R,e.prev=A,A=e,e};for(O({type:"bos"});k<E;)if(R=v[v.length-1],(y=$())!==g&&y!==m){if(y===n){O({type:"text",value:(t.keepEscaping?y:"")+$()});continue}if(y===f){O({type:"text",value:"\\"+y});continue}if(y===d){let e;for(w++;k<E&&(e=$());){if(y+=e,e===d){w++;continue}if(e===n){y+=$();continue}if(e===f&&0==--w)break}O({type:"text",value:y});continue}if(y===u){R=O({type:"paren",nodes:[]}),v.push(R),O({type:"text",value:y});continue}if(y===c){if("paren"!==R.type){O({type:"text",value:y});continue}R=v.pop(),O({type:"text",value:y}),R=v[v.length-1];continue}if(y===h||y===b||y===s){let e,r=y;for(!0!==t.keepQuotes&&(y="");k<E&&(e=$());){if(e===n){y+=e+$();continue}if(e===r){!0===t.keepQuotes&&(y+=e);break}y+=e}O({type:"text",value:y});continue}if(y===l){S++,R=O({type:"brace",open:!0,close:!1,dollar:A.value&&"$"===A.value.slice(-1)||!0===R.dollar,depth:S,commas:0,ranges:0,nodes:[]}),v.push(R),O({type:"open",value:y});continue}if(y===p){if("brace"!==R.type){O({type:"text",value:y});continue}(R=v.pop()).close=!0,O({type:"close",value:y}),S--,R=v[v.length-1];continue}if(y===i&&S>0){if(R.ranges>0){R.ranges=0;let e=R.nodes.shift();R.nodes=[e,{type:"text",value:r(R)}]}O({type:"comma",value:y}),R.commas++;continue}if(y===a&&S>0&&0===R.commas){let e=R.nodes;if(0===S||0===e.length){O({type:"text",value:y});continue}if("dot"===A.type){if(R.range=[],A.value+=y,A.type="range",3!==R.nodes.length&&5!==R.nodes.length){R.invalid=!0,R.ranges=0,A.type="text";continue}R.ranges++,R.args=[];continue}if("range"===A.type){e.pop();let t=e[e.length-1];t.value+=A.value+y,A=t,R.ranges--;continue}O({type:"dot",value:y});continue}O({type:"text",value:y})}do if("root"!==(R=v.pop()).type){R.nodes.forEach(e=>{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)});let e=v[v.length-1],t=e.nodes.indexOf(R);e.nodes.splice(t,1,...R.nodes)}while(v.length>0);return O({type:"eos"}),C}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/stringify.js"(t){let r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/utils.js");t.exports=(e,t={})=>{let o=(e,n={})=>{let s=t.escapeInvalid&&r.isInvalidBrace(n),i=!0===e.invalid&&!0===t.escapeInvalid,a="";if(e.value)return(s||i)&&r.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(let t of e.nodes)a+=o(t);return a};return o(e)}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/lib/utils.js"(e,t){t.isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),t.find=(e,t)=>e.nodes.find(e=>e.type===t),t.exceedsLimit=(e,r,o=1,n)=>!1!==n&&!!t.isInteger(e)&&!!t.isInteger(r)&&(Number(r)-Number(e))/Number(o)>=n,t.escapeNode=(e,t=0,r)=>{let o=e.nodes[t];o&&(r&&o.type===r||"open"===o.type||"close"===o.type)&&!0!==o.escaped&&(o.value="\\"+o.value,o.escaped=!0)},t.encloseBrace=e=>"brace"===e.type&&e.commas>>0+e.ranges==0&&(e.invalid=!0,!0),t.isInvalidBrace=e=>"brace"===e.type&&(!0===e.invalid||!!e.dollar||(e.commas>>0+e.ranges==0||!0!==e.open||!0!==e.close)&&(e.invalid=!0,!0)),t.isOpenOrClose=e=>"open"===e.type||"close"===e.type||!0===e.open||!0===e.close,t.reduce=e=>e.reduce((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e),[]),t.flatten=(...e)=>{let t=[],r=e=>{for(let o=0;o<e.length;o++){let n=e[o];if(Array.isArray(n)){r(n);continue}void 0!==n&&t.push(n)}return t};return r(e),t}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/debug/4.4.3/64f28f7ac7dd8bc11944350993b040e31578ca48ef26096b6bf9a25f661c0c66/node_modules/debug/src/browser.js"(t,r){let o;r.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;e.splice(1,0,r,"color: inherit");let o=0,n=0;e[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(o++,"%c"===e&&(n=o))}),e.splice(n,0,r)},r.save=function(e){try{e?r.storage.setItem("debug",e):r.storage.removeItem("debug")}catch(e){}},r.load=function(){let e;try{e=r.storage.getItem("debug")||r.storage.getItem("DEBUG")}catch(e){}return!e&&"u">typeof process&&"env"in process&&(e=process.env.DEBUG),e},r.useColors=function(){let e;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},r.storage=function(){try{return localStorage}catch(e){}}(),o=!1,r.destroy=()=>{o||(o=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},r.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],r.log=console.debug||console.log||(()=>{}),t.exports=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/debug/4.4.3/64f28f7ac7dd8bc11944350993b040e31578ca48ef26096b6bf9a25f661c0c66/node_modules/debug/src/common.js")(r);let{formatters:n}=t.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/debug/4.4.3/64f28f7ac7dd8bc11944350993b040e31578ca48ef26096b6bf9a25f661c0c66/node_modules/debug/src/common.js"(t){t.exports=function(t){function r(e){let t,n,s,i=null;function a(...e){if(!a.enabled)return;let o=Number(new Date);a.diff=o-(t||o),a.prev=t,a.curr=o,t=o,e[0]=r.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let n=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,o)=>{if("%%"===t)return"%";n++;let s=r.formatters[o];if("function"==typeof s){let r=e[n];t=s.call(a,r),e.splice(n,1),n--}return t}),r.formatArgs.call(a,e),(a.log||r.log).apply(a,e)}return a.namespace=e,a.useColors=r.useColors(),a.color=r.selectColor(e),a.extend=o,a.destroy=r.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(n!==r.namespaces&&(n=r.namespaces,s=r.enabled(e)),s),set:e=>{i=e}}),"function"==typeof r.init&&r.init(a),a}function o(e,t){let o=r(this.namespace+(void 0===t?":":t)+e);return o.log=this.log,o}function n(e,t){let r=0,o=0,n=-1,s=0;for(;r<e.length;)if(o<t.length&&(t[o]===e[r]||"*"===t[o]))"*"===t[o]?(n=o,s=r):r++,o++;else{if(-1===n)return!1;o=n+1,r=++s}for(;o<t.length&&"*"===t[o];)o++;return o===t.length}return r.debug=r,r.default=r,r.coerce=function(e){return e instanceof Error?e.stack||e.message:e},r.disable=function(){let e=[...r.names,...r.skips.map(e=>"-"+e)].join(",");return r.enable(""),e},r.enable=function(e){for(let t of(r.save(e),r.namespaces=e,r.names=[],r.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===t[0]?r.skips.push(t.slice(1)):r.names.push(t)},r.enabled=function(e){for(let t of r.skips)if(n(e,t))return!1;for(let t of r.names)if(n(e,t))return!0;return!1},r.humanize=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ms/2.1.3/e0f4c72e735898d92cc164c858cbd0c7b6ed2ec2b4d6da5e8a20fedffeed95cd/node_modules/ms/index.js"),r.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach(e=>{r[e]=t[e]}),r.names=[],r.skips=[],r.formatters={},r.selectColor=function(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r)|0;return r.colors[Math.abs(t)%r.colors.length]},r.enable(r.load()),r}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/debug/4.4.3/64f28f7ac7dd8bc11944350993b040e31578ca48ef26096b6bf9a25f661c0c66/node_modules/debug/src/index.js"(t){"u"<typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?t.exports=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/debug/4.4.3/64f28f7ac7dd8bc11944350993b040e31578ca48ef26096b6bf9a25f661c0c66/node_modules/debug/src/browser.js"):t.exports=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/debug/4.4.3/64f28f7ac7dd8bc11944350993b040e31578ca48ef26096b6bf9a25f661c0c66/node_modules/debug/src/node.js")},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/debug/4.4.3/64f28f7ac7dd8bc11944350993b040e31578ca48ef26096b6bf9a25f661c0c66/node_modules/debug/src/node.js"(t,r){let o=e("tty"),n=e("util");r.init=function(e){e.inspectOpts={};let t=Object.keys(r.inspectOpts);for(let o=0;o<t.length;o++)e.inspectOpts[t[o]]=r.inspectOpts[t[o]]},r.log=function(...e){return process.stderr.write(n.formatWithOptions(r.inspectOpts,...e)+"\n")},r.formatArgs=function(e){let{namespace:o,useColors:n}=this;if(n){let r=this.color,n="\x1b[3"+(r<8?r:"8;5;"+r),s=` ${n};1m${o} \x1b[0m`;e[0]=s+e[0].split("\n").join("\n"+s),e.push(n+"m+"+t.exports.humanize(this.diff)+"\x1b[0m")}else e[0]=(r.inspectOpts.hideDate?"":new Date().toISOString()+" ")+o+" "+e[0]},r.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},r.load=function(){return process.env.DEBUG},r.useColors=function(){return"colors"in r.inspectOpts?!!r.inspectOpts.colors:o.isatty(process.stderr.fd)},r.destroy=n.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),r.colors=[6,2,3,4,5,1];try{let t=e("supports-color");t&&(t.stderr||t).level>=2&&(r.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}r.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),o=process.env[t];return o=!!/^(yes|on|true|enabled)$/i.test(o)||!/^(no|off|false|disabled)$/i.test(o)&&("null"===o?null:Number(o)),e[r]=o,e},{}),t.exports=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/debug/4.4.3/64f28f7ac7dd8bc11944350993b040e31578ca48ef26096b6bf9a25f661c0c66/node_modules/debug/src/common.js")(r);let{formatters:s}=t.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts)}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/fill-range/7.1.1/cdf2fb341eb6146d178e71e3e567948d1810e3947af7ae4c97c575c1cbd80d2a/node_modules/fill-range/index.js"(t){let r=e("util"),o=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/to-regex-range/5.0.1/e55082e174dc917a955607638a77d8978552a7d78773d047c1263c740e4d7c0f/node_modules/to-regex-range/index.js"),n=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),s=e=>"number"==typeof e||"string"==typeof e&&""!==e,i=e=>{let t=`${e}`,r=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++r];);return r>0},a=(e,t,r)=>{if(t>0){let r="-"===e[0]?"-":"";r&&(e=e.slice(1)),e=r+e.padStart(r?t-1:t,"0")}return!1===r?String(e):e},u=(e,t)=>{let r="-"===e[0]?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},c=(e,t,r,n)=>{if(r)return o(e,t,{wrap:!1,...n});let s=String.fromCharCode(e);if(e===t)return s;let i=String.fromCharCode(t);return`[${s}-${i}]`},l=(e,t,r)=>{if(Array.isArray(e)){let t=!0===r.wrap,o=r.capture?"":"?:";return t?`(${o}${e.join("|")})`:e.join("|")}return o(e,t,r)},p=(...e)=>RangeError("Invalid range arguments: "+r.inspect(...e)),d=(e,t,r)=>{if(!0===r.strictRanges)throw p([e,t]);return[]},f=(e,t,r,o={})=>{if(null==t&&s(e))return[e];if(!s(e)||!s(t))return d(e,t,o);if("function"==typeof r)return f(e,t,1,{transform:r});if(n(r))return f(e,t,0,r);let h={...o};if(!0===h.capture&&(h.wrap=!0),!Number.isInteger(+(r=r||h.step||1))){if(null!=r&&!n(r)){var b=r;if(!0===h.strictRanges)throw TypeError(`Expected step "${b}" to be a number`);return[]}return f(e,t,1,r)}return Number.isInteger(+e)&&Number.isInteger(+t)?((e,t,r=1,o={})=>{let n=Number(e),s=Number(t);if(!Number.isInteger(n)||!Number.isInteger(s)){if(!0===o.strictRanges)throw p([e,t]);return[]}0===n&&(n=0),0===s&&(s=0);let d=n>s,f=String(e),h=String(t),b=String(r);r=Math.max(Math.abs(r),1);let m=i(f)||i(h)||i(b),g=m?Math.max(f.length,h.length,b.length):0,y=!1===m&&!1==("string"==typeof e||"string"==typeof t||!0===o.stringify),x=o.transform||(e=>!0===y?Number(e):String(e));if(o.toRegex&&1===r)return c(u(e,g),u(t,g),!0,o);let _={negatives:[],positives:[]},C=e=>_[e<0?"negatives":"positives"].push(Math.abs(e)),v=[],R=0;for(;d?n>=s:n<=s;)!0===o.toRegex&&r>1?C(n):v.push(a(x(n,R),g,y)),n=d?n-r:n+r,R++;if(!0===o.toRegex){let e,t,n,s;return r>1?(_.negatives.sort((e,t)=>e<t?-1:+(e>t)),_.positives.sort((e,t)=>e<t?-1:+(e>t)),t=o.capture?"":"?:",n="",s="",(_.positives.length&&(n=_.positives.map(e=>u(String(e),g)).join("|")),_.negatives.length&&(s=`-(${t}${_.negatives.map(e=>u(String(e),g)).join("|")})`),e=n&&s?`${n}|${s}`:n||s,o.wrap)?`(${t}${e})`:e):l(v,null,{wrap:!1,...o})}return v})(e,t,r,h):((e,t,r=1,o={})=>{if(!Number.isInteger(+e)&&e.length>1||!Number.isInteger(+t)&&t.length>1)return d(e,t,o);let n=o.transform||(e=>String.fromCharCode(e)),s=`${e}`.charCodeAt(0),i=`${t}`.charCodeAt(0),a=s>i,u=Math.min(s,i),p=Math.max(s,i);if(o.toRegex&&1===r)return c(u,p,!1,o);let f=[],h=0;for(;a?s>=i:s<=i;)f.push(n(s,h)),s=a?s-r:s+r,h++;return!0===o.toRegex?l(f,null,{wrap:!1,options:o}):f})(e,t,Math.max(Math.abs(r),1),h)};t.exports=f},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/is-extglob/2.1.1/a31b887f7d8fd45bac03cbc721084fb7eadd6056f0d86063907b9e7f109f7f5e/node_modules/is-extglob/index.js"(e){e.exports=function(e){var t;if("string"!=typeof e||""===e)return!1;for(;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/is-glob/4.0.3/5f6010d19ebbd407d4ddad3f32ad93b07ae9baaa0b44d778899bd947e1a7324b/node_modules/is-glob/index.js"(t){var r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/is-extglob/2.1.1/a31b887f7d8fd45bac03cbc721084fb7eadd6056f0d86063907b9e7f109f7f5e/node_modules/is-extglob/index.js"),o={"{":"}","(":")","[":"]"},n=function(e){if("!"===e[0])return!0;for(var t=0,r=-2,n=-2,s=-2,i=-2,a=-2;t<e.length;){if("*"===e[t]||"?"===e[t+1]&&/[\].+)]/.test(e[t])||-1!==n&&"["===e[t]&&"]"!==e[t+1]&&(n<t&&(n=e.indexOf("]",t)),n>t)&&(-1===a||a>n||-1===(a=e.indexOf("\\",t))||a>n)||-1!==s&&"{"===e[t]&&"}"!==e[t+1]&&(s=e.indexOf("}",t))>t&&(-1===(a=e.indexOf("\\",t))||a>s)||-1!==i&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(i=e.indexOf(")",t))>t&&(-1===(a=e.indexOf("\\",t))||a>i)||-1!==r&&"("===e[t]&&"|"!==e[t+1]&&(r<t&&(r=e.indexOf("|",t)),-1!==r&&")"!==e[r+1]&&(i=e.indexOf(")",r))>r)&&(-1===(a=e.indexOf("\\",r))||a>i))return!0;if("\\"===e[t]){var u=e[t+1];t+=2;var c=o[u];if(c){var l=e.indexOf(c,t);-1!==l&&(t=l+1)}if("!"===e[t])return!0}else t++}return!1},s=function(e){if("!"===e[0])return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if("\\"===e[t]){var r=e[t+1];t+=2;var n=o[r];if(n){var s=e.indexOf(n,t);-1!==s&&(t=s+1)}if("!"===e[t])return!0}else t++}return!1};t.exports=function(e,t){if("string"!=typeof e||""===e)return!1;if(r(e))return!0;var o=n;return t&&!1===t.strict&&(o=s),o(e)}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/is-number/7.0.0/9613abb83deb6b72fdd092fda49730946a626517d4926a9f5c00ca322630c588/node_modules/is-number/index.js"(e){e.exports=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromatch/4.0.8/e3e5f26f16f8b95548bbbd14ad679e23348853c21837502922840101deaebdcd/node_modules/micromatch/index.js"(t){let r=e("util"),o=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/braces/3.0.3/d2039003dfed14fc26988ac9171b4dfe6ab58307723d49dad0895a1368a75bcb/node_modules/braces/index.js"),n=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/index.js"),s=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/utils.js"),i=e=>""===e||"./"===e,a=e=>{let t=e.indexOf("{");return t>-1&&e.indexOf("}",t)>-1},u=(e,t,r)=>{t=[].concat(t),e=[].concat(e);let o=new Set,s=new Set,i=new Set,a=0,u=e=>{i.add(e.output),r&&r.onResult&&r.onResult(e)};for(let i=0;i<t.length;i++){let c=n(String(t[i]),{...r,onResult:u},!0),l=c.state.negated||c.state.negatedExtglob;for(let t of(l&&a++,e)){let e=c(t,!0);(l?!e.isMatch:e.isMatch)&&(l?o.add(e.output):(o.delete(e.output),s.add(e.output)))}}let c=(a===t.length?[...i]:[...s]).filter(e=>!o.has(e));if(r&&0===c.length){if(!0===r.failglob)throw Error(`No matches found for "${t.join(", ")}"`);if(!0===r.nonull||!0===r.nullglob)return r.unescape?t.map(e=>e.replace(/\\/g,"")):t}return c};u.match=u,u.matcher=(e,t)=>n(e,t),u.isMatch=(e,t,r)=>n(t,r)(e),u.any=u.isMatch,u.not=(e,t,r={})=>{t=[].concat(t).map(String);let o=new Set,n=[],s=new Set(u(e,t,{...r,onResult:e=>{r.onResult&&r.onResult(e),n.push(e.output)}}));for(let e of n)s.has(e)||o.add(e);return[...o]},u.contains=(e,t,o)=>{if("string"!=typeof e)throw TypeError(`Expected a string: "${r.inspect(e)}"`);if(Array.isArray(t))return t.some(t=>u.contains(e,t,o));if("string"==typeof t){if(i(e)||i(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return u.isMatch(e,t,{...o,contains:!0})},u.matchKeys=(e,t,r)=>{if(!s.isObject(e))throw TypeError("Expected the first argument to be an object");let o=u(Object.keys(e),t,r),n={};for(let t of o)n[t]=e[t];return n},u.some=(e,t,r)=>{let o=[].concat(e);for(let e of[].concat(t)){let t=n(String(e),r);if(o.some(e=>t(e)))return!0}return!1},u.every=(e,t,r)=>{let o=[].concat(e);for(let e of[].concat(t)){let t=n(String(e),r);if(!o.every(e=>t(e)))return!1}return!0},u.all=(e,t,o)=>{if("string"!=typeof e)throw TypeError(`Expected a string: "${r.inspect(e)}"`);return[].concat(t).every(t=>n(t,o)(e))},u.capture=(e,t,r)=>{let o=s.isWindows(r),i=n.makeRe(String(e),{...r,capture:!0}).exec(o?s.toPosixSlashes(t):t);if(i)return i.slice(1).map(e=>void 0===e?"":e)},u.makeRe=(...e)=>n.makeRe(...e),u.scan=(...e)=>n.scan(...e),u.parse=(e,t)=>{let r=[];for(let s of[].concat(e||[]))for(let e of o(String(s),t))r.push(n.parse(e,t));return r},u.braces=(e,t)=>{if("string"!=typeof e)throw TypeError("Expected a string");return t&&!0===t.nobrace||!a(e)?[e]:o(e,t)},u.braceExpand=(e,t)=>{if("string"!=typeof e)throw TypeError("Expected a string");return u.braces(e,{...t,expand:!0})},u.hasBraces=a,t.exports=u},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ms/2.1.3/e0f4c72e735898d92cc164c858cbd0c7b6ed2ec2b4d6da5e8a20fedffeed95cd/node_modules/ms/index.js"(e){function t(e,t,r,o){return Math.round(e/r)+" "+o+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var o,n,s,i,a=typeof e;if("string"===a&&e.length>0){var u=e;if(!((u=String(u)).length>100)){var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(u);if(c){var l=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*l;case"weeks":case"week":case"w":return 6048e5*l;case"days":case"day":case"d":return 864e5*l;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*l;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*l;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*l;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:break}}}return}if("number"===a&&isFinite(e)){return r.long?(n=Math.abs(o=e))>=864e5?t(o,n,864e5,"day"):n>=36e5?t(o,n,36e5,"hour"):n>=6e4?t(o,n,6e4,"minute"):n>=1e3?t(o,n,1e3,"second"):o+" ms":(i=Math.abs(s=e))>=864e5?Math.round(s/864e5)+"d":i>=36e5?Math.round(s/36e5)+"h":i>=6e4?Math.round(s/6e4)+"m":i>=1e3?Math.round(s/1e3)+"s":s+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/index.js"(t){t.exports=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/picomatch.js")},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/constants.js"(t){let r=e("path?37f5"),o="[^\\\\/]",n="[^/]",s="(?:\\/|$)",i="(?:^|\\/)",a=`\\.{1,2}${s}`,u=`(?!${i}${a})`,c=`(?!\\.{0,1}${s})`,l=`(?!${a})`,p=`${n}*?`,d={DOT_LITERAL:"\\.",PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:"\\/",ONE_CHAR:"(?=.)",QMARK:n,END_ANCHOR:s,DOTS_SLASH:a,NO_DOT:"(?!\\.)",NO_DOTS:u,NO_DOT_SLASH:c,NO_DOTS_SLASH:l,QMARK_NO_DOT:"[^.\\/]",STAR:p,START_ANCHOR:i},f={...d,SLASH_LITERAL:"[\\\\/]",QMARK:o,STAR:`${o}*?`,DOTS_SLASH:"\\.{1,2}(?:[\\\\/]|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|[\\\\/])\\.{1,2}(?:[\\\\/]|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:[\\\\/]|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:[\\\\/]|$))",QMARK_NO_DOT:"[^.\\\\/]",START_ANCHOR:"(?:^|[\\\\/])",END_ANCHOR:"(?:[\\\\/]|$)"};t.exports={DEFAULT_MAX_EXTGLOB_RECURSION:0,MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{__proto__:null,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"},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:{__proto__:null,"***":"*","**/**":"**","**/**/**":"**"},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:r.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?f:d}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/parse.js"(t){let r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/constants.js"),o=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/utils.js"),{MAX_LENGTH:n,POSIX_REGEX_SOURCE:s,REGEX_NON_SPECIAL_CHARS:i,REGEX_SPECIAL_CHARS_BACKREF:a,REPLACEMENTS:u}=r,c=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();let r=`[${e.join("-")}]`;try{new RegExp(r)}catch(t){return e.map(e=>o.escapeRegex(e)).join("..")}return r},l=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,p=e=>{let t=[],r=0,o=0,n=0,s="",i=!1;for(let a of e){if(!0===i){s+=a,i=!1;continue}if("\\"===a){s+=a,i=!0;continue}if('"'===a){n=+(1!==n),s+=a;continue}if(0===n){if("["===a)r++;else if("]"===a&&r>0)r--;else if(0===r){if("("===a)o++;else if(")"===a&&o>0)o--;else if("|"===a&&0===o){t.push(s),s="";continue}}}s+=a}return t.push(s),t},d=e=>{let t=e.trim(),r=!0;for(;!0===r;)r=!1,/^@\([^\\()[\]{}|]+\)$/.test(t)&&(t=t.slice(2,-1),r=!0);if((e=>{let t=!1;for(let r of e){if(!0===t){t=!1;continue}if("\\"===r){t=!0;continue}if(/[?*+@!()[\]{}]/.test(r))return!1}return!0})(t))return t.replace(/\\(.)/g,"$1")},f=(e,t=!0)=>{if("+"!==e[0]&&"*"!==e[0]||"("!==e[1])return;let r=0,o=0,n=0,s=!1;for(let i=1;i<e.length;i++){let a=e[i];if(!0===s){s=!1;continue}if("\\"===a){s=!0;continue}if('"'===a){n=+(1!==n);continue}if(1!==n){if("["===a){r++;continue}if("]"===a&&r>0){r--;continue}if(!(r>0)){if("("===a){o++;continue}if(")"===a&&0==--o){if(!0===t&&i!==e.length-1)return;return{type:e[0],body:e.slice(2,i),end:i}}}}}},h=e=>{let t=0,r=[];for(;t<e.length;){let o=f(e.slice(t),!1);if(!o||"*"!==o.type)return;let n=p(o.body).map(e=>e.trim());if(1!==n.length)return;let s=d(n[0]);if(!s||1!==s.length)return;r.push(s),t+=o.end+1}if(r.length<1)return;let n=1===r.length?o.escapeRegex(r[0]):`[${r.map(e=>o.escapeRegex(e)).join("")}]`;return`${n}*`},b=e=>{let t=0,r=e.trim(),o=f(r);for(;o;)t++,o=f(r=o.body.trim());return t},m=(e,t)=>{let f;if("string"!=typeof e)throw TypeError("Expected a string");e=u[e]||e;let g={...t},y="number"==typeof g.maxLength?Math.min(n,g.maxLength):n,x=e.length;if(x>y)throw SyntaxError(`Input length: ${x}, exceeds maximum allowed length: ${y}`);let _={type:"bos",value:"",output:g.prepend||""},C=[_],v=g.capture?"":"?:",R=o.isWindows(t),A=r.globChars(R),w=r.extglobChars(A),{DOT_LITERAL:E,PLUS_LITERAL:k,SLASH_LITERAL:S,ONE_CHAR:$,DOTS_SLASH:O,NO_DOT:H,NO_DOT_SLASH:T,NO_DOTS_SLASH:L,QMARK:I,QMARK_NO_DOT:F,STAR:P,START_ANCHOR:j}=A,N=e=>`(${v}(?:(?!${j}${e.dot?O:E}).)*?)`,M=g.dot?"":H,U=g.dot?I:F,B=!0===g.bash?N(g):P;g.capture&&(B=`(${B})`),"boolean"==typeof g.noext&&(g.noextglob=g.noext);let D={input:e,index:-1,start:0,dot:!0===g.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:C};x=(e=o.removePrefix(e,D)).length;let G=[],q=[],K=[],W=_,Z=()=>D.index===x-1,z=D.peek=(t=1)=>e[D.index+t],Q=D.advance=()=>e[++D.index]||"",V=()=>e.slice(D.index+1),X=(e="",t=0)=>{D.consumed+=e,D.index+=t},Y=e=>{D.output+=null!=e.output?e.output:e.value,X(e.value)},J=()=>{let e=1;for(;"!"===z()&&("("!==z(2)||"?"===z(3));)Q(),D.start++,e++;return e%2!=0&&(D.negated=!0,D.start++,!0)},ee=e=>{D[e]++,K.push(e)},et=e=>{D[e]--,K.pop()},er=e=>{if("globstar"===W.type){let t=D.braces>0&&("comma"===e.type||"brace"===e.type),r=!0===e.extglob||G.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||r||(D.output=D.output.slice(0,-W.output.length),W.type="star",W.value="*",W.output=B,D.output+=W.output)}if(G.length&&"paren"!==e.type&&(G[G.length-1].inner+=e.value),(e.value||e.output)&&Y(e),W&&"text"===W.type&&"text"===e.type){W.value+=e.value,W.output=(W.output||"")+e.value;return}e.prev=W,C.push(e),W=e},eo=(e,t)=>{let r={...w[t],conditions:1,inner:""};r.prev=W,r.parens=D.parens,r.output=D.output,r.startIndex=D.index,r.tokensIndex=C.length;let o=(g.capture?"(":"")+r.open;ee("parens"),er({type:e,value:t,output:D.output?"":$}),er({type:"paren",extglob:!0,value:Q(),output:o}),G.push(r)},en=n=>{let s,i=e.slice(n.startIndex,D.index+1),a=((e,t)=>{if(!1===t.maxExtglobRecursion)return{risky:!1};let o="number"==typeof t.maxExtglobRecursion?t.maxExtglobRecursion:r.DEFAULT_MAX_EXTGLOB_RECURSION,n=p(e).map(e=>e.trim());if(n.length>1&&(n.some(e=>""===e)||n.some(e=>/^[*?]+$/.test(e))||(e=>{let t=e.map(d).filter(Boolean);for(let e=0;e<t.length;e++)for(let r=e+1;r<t.length;r++){let o=t[e],n=t[r],s=o[0];if(s&&o===s.repeat(o.length)&&n===s.repeat(n.length)&&(o===n||o.startsWith(n)||n.startsWith(o)))return!0}return!1})(n)))return{risky:!0};for(let e of n){let t=h(e);if(t)return{risky:!0,safeOutput:t};if(b(e)>o)return{risky:!0}}return{risky:!1}})(e.slice(n.startIndex+2,D.index),g);if(("plus"===n.type||"star"===n.type)&&a.risky){let e=a.safeOutput?(n.output?"":$)+(g.capture?`(${a.safeOutput})`:a.safeOutput):void 0,t=C[n.tokensIndex];t.type="text",t.value=i,t.output=e||o.escapeRegex(i);for(let e=n.tokensIndex+1;e<C.length;e++)C[e].value="",C[e].output="",delete C[e].suffix;D.output=n.output+t.output,D.backtrack=!0,er({type:"paren",extglob:!0,value:f,output:""}),et("parens");return}let u=n.close+(g.capture?")":"");if("negate"===n.type){let e=B;if(n.inner&&n.inner.length>1&&n.inner.includes("/")&&(e=N(g)),(e!==B||Z()||/^\)+$/.test(V()))&&(u=n.close=`)$))${e}`),n.inner.includes("*")&&(s=V())&&/^\.[^\\/.]+$/.test(s)){let r=m(s,{...t,fastpaths:!1}).output;u=n.close=`)${r})${e})`}"bos"===n.prev.type&&(D.negatedExtglob=!0)}er({type:"paren",extglob:!0,value:f,output:u}),et("parens")};if(!1!==g.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let r=!1,n=e.replace(a,(e,t,o,n,s,i)=>"\\"===n?(r=!0,e):"?"===n?t?t+n+(s?I.repeat(s.length):""):0===i?U+(s?I.repeat(s.length):""):I.repeat(o.length):"."===n?E.repeat(o.length):"*"===n?t?t+n+(s?B:""):B:t?e:`\\${e}`);return(!0===r&&(n=!0===g.unescape?n.replace(/\\/g,""):n.replace(/\\+/g,e=>e.length%2==0?"\\\\":e?"\\":"")),n===e&&!0===g.contains)?D.output=e:D.output=o.wrapOutput(n,D,t),D}for(;!Z();){if("\0"===(f=Q()))continue;if("\\"===f){let e=z();if("/"===e&&!0!==g.bash||"."===e||";"===e)continue;if(!e){er({type:"text",value:f+="\\"});continue}let t=/^\\+/.exec(V()),r=0;if(t&&t[0].length>2&&(r=t[0].length,D.index+=r,r%2!=0&&(f+="\\")),!0===g.unescape?f=Q():f+=Q(),0===D.brackets){er({type:"text",value:f});continue}}if(D.brackets>0&&("]"!==f||"["===W.value||"[^"===W.value)){if(!1!==g.posix&&":"===f){let e=W.value.slice(1);if(e.includes("[")&&(W.posix=!0,e.includes(":"))){let e=W.value.lastIndexOf("["),t=W.value.slice(0,e),r=s[W.value.slice(e+2)];if(r){W.value=t+r,D.backtrack=!0,Q(),_.output||1!==C.indexOf(W)||(_.output=$);continue}}}("["===f&&":"!==z()||"-"===f&&"]"===z())&&(f=`\\${f}`),"]"===f&&("["===W.value||"[^"===W.value)&&(f=`\\${f}`),!0===g.posix&&"!"===f&&"["===W.value&&(f="^"),W.value+=f,Y({value:f});continue}if(1===D.quotes&&'"'!==f){f=o.escapeRegex(f),W.value+=f,Y({value:f});continue}if('"'===f){D.quotes=+(1!==D.quotes),!0===g.keepQuotes&&er({type:"text",value:f});continue}if("("===f){ee("parens"),er({type:"paren",value:f});continue}if(")"===f){if(0===D.parens&&!0===g.strictBrackets)throw SyntaxError(l("opening","("));let e=G[G.length-1];if(e&&D.parens===e.parens+1){en(G.pop());continue}er({type:"paren",value:f,output:D.parens?")":"\\)"}),et("parens");continue}if("["===f){if(!0!==g.nobracket&&V().includes("]"))ee("brackets");else{if(!0!==g.nobracket&&!0===g.strictBrackets)throw SyntaxError(l("closing","]"));f=`\\${f}`}er({type:"bracket",value:f});continue}if("]"===f){if(!0===g.nobracket||W&&"bracket"===W.type&&1===W.value.length){er({type:"text",value:f,output:`\\${f}`});continue}if(0===D.brackets){if(!0===g.strictBrackets)throw SyntaxError(l("opening","["));er({type:"text",value:f,output:`\\${f}`});continue}et("brackets");let e=W.value.slice(1);if(!0===W.posix||"^"!==e[0]||e.includes("/")||(f=`/${f}`),W.value+=f,Y({value:f}),!1===g.literalBrackets||o.hasRegexChars(e))continue;let t=o.escapeRegex(W.value);if(D.output=D.output.slice(0,-W.value.length),!0===g.literalBrackets){D.output+=t,W.value=t;continue}W.value=`(${v}${t}|${W.value})`,D.output+=W.value;continue}if("{"===f&&!0!==g.nobrace){ee("braces");let e={type:"brace",value:f,output:"(",outputIndex:D.output.length,tokensIndex:D.tokens.length};q.push(e),er(e);continue}if("}"===f){let e=q[q.length-1];if(!0===g.nobrace||!e){er({type:"text",value:f,output:f});continue}let t=")";if(!0===e.dots){let e=C.slice(),r=[];for(let t=e.length-1;t>=0&&(C.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&r.unshift(e[t].value);t=c(r,g),D.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){let r=D.output.slice(0,e.outputIndex),o=D.tokens.slice(e.tokensIndex);for(let n of(e.value=e.output="\\{",f=t="\\}",D.output=r,o))D.output+=n.output||n.value}er({type:"brace",value:f,output:t}),et("braces"),q.pop();continue}if("|"===f){G.length>0&&G[G.length-1].conditions++,er({type:"text",value:f});continue}if(","===f){let e=f,t=q[q.length-1];t&&"braces"===K[K.length-1]&&(t.comma=!0,e="|"),er({type:"comma",value:f,output:e});continue}if("/"===f){if("dot"===W.type&&D.index===D.start+1){D.start=D.index+1,D.consumed="",D.output="",C.pop(),W=_;continue}er({type:"slash",value:f,output:S});continue}if("."===f){if(D.braces>0&&"dot"===W.type){"."===W.value&&(W.output=E);let e=q[q.length-1];W.type="dots",W.output+=f,W.value+=f,e.dots=!0;continue}if(D.braces+D.parens===0&&"bos"!==W.type&&"slash"!==W.type){er({type:"text",value:f,output:E});continue}er({type:"dot",value:f,output:E});continue}if("?"===f){if(!(W&&"("===W.value)&&!0!==g.noextglob&&"("===z()&&"?"!==z(2)){eo("qmark",f);continue}if(W&&"paren"===W.type){let e=z(),t=f;if("<"===e&&!o.supportsLookbehinds())throw Error("Node.js v10 or higher is required for regex lookbehinds");("("!==W.value||/[!=<:]/.test(e))&&("<"!==e||/<([!=]|\w+>)/.test(V()))||(t=`\\${f}`),er({type:"text",value:f,output:t});continue}if(!0!==g.dot&&("slash"===W.type||"bos"===W.type)){er({type:"qmark",value:f,output:F});continue}er({type:"qmark",value:f,output:I});continue}if("!"===f){if(!0!==g.noextglob&&"("===z()&&("?"!==z(2)||!/[!=<:]/.test(z(3)))){eo("negate",f);continue}if(!0!==g.nonegate&&0===D.index){J();continue}}if("+"===f){if(!0!==g.noextglob&&"("===z()&&"?"!==z(2)){eo("plus",f);continue}if(W&&"("===W.value||!1===g.regex){er({type:"plus",value:f,output:k});continue}if(W&&("bracket"===W.type||"paren"===W.type||"brace"===W.type)||D.parens>0){er({type:"plus",value:f});continue}er({type:"plus",value:k});continue}if("@"===f){if(!0!==g.noextglob&&"("===z()&&"?"!==z(2)){er({type:"at",extglob:!0,value:f,output:""});continue}er({type:"text",value:f});continue}if("*"!==f){("$"===f||"^"===f)&&(f=`\\${f}`);let e=i.exec(V());e&&(f+=e[0],D.index+=e[0].length),er({type:"text",value:f});continue}if(W&&("globstar"===W.type||!0===W.star)){W.type="star",W.star=!0,W.value+=f,W.output=B,D.backtrack=!0,D.globstar=!0,X(f);continue}let t=V();if(!0!==g.noextglob&&/^\([^?]/.test(t)){eo("star",f);continue}if("star"===W.type){if(!0===g.noglobstar){X(f);continue}let r=W.prev,o=r.prev,n="slash"===r.type||"bos"===r.type,s=o&&("star"===o.type||"globstar"===o.type);if(!0===g.bash&&(!n||t[0]&&"/"!==t[0])){er({type:"star",value:f,output:""});continue}let i=D.braces>0&&("comma"===r.type||"brace"===r.type),a=G.length&&("pipe"===r.type||"paren"===r.type);if(!n&&"paren"!==r.type&&!i&&!a){er({type:"star",value:f,output:""});continue}for(;"/**"===t.slice(0,3);){let r=e[D.index+4];if(r&&"/"!==r)break;t=t.slice(3),X("/**",3)}if("bos"===r.type&&Z()){W.type="globstar",W.value+=f,W.output=N(g),D.output=W.output,D.globstar=!0,X(f);continue}if("slash"===r.type&&"bos"!==r.prev.type&&!s&&Z()){D.output=D.output.slice(0,-(r.output+W.output).length),r.output=`(?:${r.output}`,W.type="globstar",W.output=N(g)+(g.strictSlashes?")":"|$)"),W.value+=f,D.globstar=!0,D.output+=r.output+W.output,X(f);continue}if("slash"===r.type&&"bos"!==r.prev.type&&"/"===t[0]){let e=void 0!==t[1]?"|$":"";D.output=D.output.slice(0,-(r.output+W.output).length),r.output=`(?:${r.output}`,W.type="globstar",W.output=`${N(g)}${S}|${S}${e})`,W.value+=f,D.output+=r.output+W.output,D.globstar=!0,X(f+Q()),er({type:"slash",value:"/",output:""});continue}if("bos"===r.type&&"/"===t[0]){W.type="globstar",W.value+=f,W.output=`(?:^|${S}|${N(g)}${S})`,D.output=W.output,D.globstar=!0,X(f+Q()),er({type:"slash",value:"/",output:""});continue}D.output=D.output.slice(0,-W.output.length),W.type="globstar",W.output=N(g),W.value+=f,D.output+=W.output,D.globstar=!0,X(f);continue}let r={type:"star",value:f,output:B};if(!0===g.bash){r.output=".*?",("bos"===W.type||"slash"===W.type)&&(r.output=M+r.output),er(r);continue}if(W&&("bracket"===W.type||"paren"===W.type)&&!0===g.regex){r.output=f,er(r);continue}(D.index===D.start||"slash"===W.type||"dot"===W.type)&&("dot"===W.type?(D.output+=T,W.output+=T):!0===g.dot?(D.output+=L,W.output+=L):(D.output+=M,W.output+=M),"*"!==z()&&(D.output+=$,W.output+=$)),er(r)}for(;D.brackets>0;){if(!0===g.strictBrackets)throw SyntaxError(l("closing","]"));D.output=o.escapeLast(D.output,"["),et("brackets")}for(;D.parens>0;){if(!0===g.strictBrackets)throw SyntaxError(l("closing",")"));D.output=o.escapeLast(D.output,"("),et("parens")}for(;D.braces>0;){if(!0===g.strictBrackets)throw SyntaxError(l("closing","}"));D.output=o.escapeLast(D.output,"{"),et("braces")}if(!0!==g.strictSlashes&&("star"===W.type||"bracket"===W.type)&&er({type:"maybe_slash",value:"",output:`${S}?`}),!0===D.backtrack)for(let e of(D.output="",D.tokens))D.output+=null!=e.output?e.output:e.value,e.suffix&&(D.output+=e.suffix);return D};m.fastpaths=(e,t)=>{let s={...t},i="number"==typeof s.maxLength?Math.min(n,s.maxLength):n,a=e.length;if(a>i)throw SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${i}`);e=u[e]||e;let c=o.isWindows(t),{DOT_LITERAL:l,SLASH_LITERAL:p,ONE_CHAR:d,DOTS_SLASH:f,NO_DOT:h,NO_DOTS:b,NO_DOTS_SLASH:m,STAR:g,START_ANCHOR:y}=r.globChars(c),x=s.dot?b:h,_=s.dot?m:h,C=s.capture?"":"?:",v=!0===s.bash?".*?":g;s.capture&&(v=`(${v})`);let R=e=>!0===e.noglobstar?v:`(${C}(?:(?!${y}${e.dot?f:l}).)*?)`,A=e=>{switch(e){case"*":return`${x}${d}${v}`;case".*":return`${l}${d}${v}`;case"*.*":return`${x}${v}${l}${d}${v}`;case"*/*":return`${x}${v}${p}${d}${_}${v}`;case"**":return x+R(s);case"**/*":return`(?:${x}${R(s)}${p})?${_}${d}${v}`;case"**/*.*":return`(?:${x}${R(s)}${p})?${_}${v}${l}${d}${v}`;case"**/.*":return`(?:${x}${R(s)}${p})?${l}${d}${v}`;default:{let t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;let r=A(t[1]);if(!r)return;return r+l+t[2]}}},w=A(o.removePrefix(e,{negated:!1,prefix:""}));return w&&!0!==s.strictSlashes&&(w+=`${p}?`),w},t.exports=m},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/picomatch.js"(t){let r=e("path?37f5"),o=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/scan.js"),n=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/parse.js"),s=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/utils.js"),i=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/constants.js"),a=(e,t,r=!1)=>{if(Array.isArray(e)){let o=e.map(e=>a(e,t,r));return e=>{for(let t of o){let r=t(e);if(r)return r}return!1}}let o=e&&"object"==typeof e&&!Array.isArray(e)&&e.tokens&&e.input;if(""===e||"string"!=typeof e&&!o)throw TypeError("Expected pattern to be a non-empty string");let n=t||{},i=s.isWindows(t),u=o?a.compileRe(e,t):a.makeRe(e,t,!1,!0),c=u.state;delete u.state;let l=()=>!1;if(n.ignore){let e={...t,ignore:null,onMatch:null,onResult:null};l=a(n.ignore,e,r)}let p=(r,o=!1)=>{let{isMatch:s,match:p,output:d}=a.test(r,u,t,{glob:e,posix:i}),f={glob:e,state:c,regex:u,posix:i,input:r,output:d,match:p,isMatch:s};return("function"==typeof n.onResult&&n.onResult(f),!1===s)?(f.isMatch=!1,!!o&&f):l(r)?("function"==typeof n.onIgnore&&n.onIgnore(f),f.isMatch=!1,!!o&&f):("function"==typeof n.onMatch&&n.onMatch(f),!o||f)};return r&&(p.state=c),p};a.test=(e,t,r,{glob:o,posix:n}={})=>{if("string"!=typeof e)throw TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};let i=r||{},u=i.format||(n?s.toPosixSlashes:null),c=e===o,l=c&&u?u(e):e;return!1===c&&(c=(l=u?u(e):e)===o),(!1===c||!0===i.capture)&&(c=!0===i.matchBase||!0===i.basename?a.matchBase(e,t,r,n):t.exec(l)),{isMatch:!!c,match:c,output:l}},a.matchBase=(e,t,o,n=s.isWindows(o))=>(t instanceof RegExp?t:a.makeRe(t,o)).test(r.basename(e)),a.isMatch=(e,t,r)=>a(t,r)(e),a.parse=(e,t)=>Array.isArray(e)?e.map(e=>a.parse(e,t)):n(e,{...t,fastpaths:!1}),a.scan=(e,t)=>o(e,t),a.compileRe=(e,t,r=!1,o=!1)=>{if(!0===r)return e.output;let n=t||{},s=n.contains?"":"^",i=n.contains?"":"$",u=`${s}(?:${e.output})${i}`;e&&!0===e.negated&&(u=`^(?!${u}).*$`);let c=a.toRegex(u,t);return!0===o&&(c.state=e),c},a.makeRe=(e,t={},r=!1,o=!1)=>{if(!e||"string"!=typeof e)throw TypeError("Expected a non-empty string");let s={negated:!1,fastpaths:!0};return!1!==t.fastpaths&&("."===e[0]||"*"===e[0])&&(s.output=n.fastpaths(e,t)),s.output||(s=n(e,t)),a.compileRe(s,t,r,o)},a.toRegex=(e,t)=>{try{let r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},a.constants=i,t.exports=a},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/scan.js"(t){let r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/utils.js"),{CHAR_ASTERISK:o,CHAR_AT:n,CHAR_BACKWARD_SLASH:s,CHAR_COMMA:i,CHAR_DOT:a,CHAR_EXCLAMATION_MARK:u,CHAR_FORWARD_SLASH:c,CHAR_LEFT_CURLY_BRACE:l,CHAR_LEFT_PARENTHESES:p,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_PLUS:f,CHAR_QUESTION_MARK:h,CHAR_RIGHT_CURLY_BRACE:b,CHAR_RIGHT_PARENTHESES:m,CHAR_RIGHT_SQUARE_BRACKET:g}=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/constants.js"),y=e=>e===c||e===s,x=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};t.exports=(e,t)=>{let _,C,v=t||{},R=e.length-1,A=!0===v.parts||!0===v.scanToEnd,w=[],E=[],k=[],S=e,$=-1,O=0,H=0,T=!1,L=!1,I=!1,F=!1,P=!1,j=!1,N=!1,M=!1,U=!1,B=!1,D=0,G={value:"",depth:0,isGlob:!1},q=()=>$>=R,K=()=>S.charCodeAt($+1),W=()=>(_=C,S.charCodeAt(++$));for(;$<R;){let e;if((C=W())===s){N=G.backslashes=!0,(C=W())===l&&(j=!0);continue}if(!0===j||C===l){for(D++;!0!==q()&&(C=W());){if(C===s){N=G.backslashes=!0,W();continue}if(C===l){D++;continue}if(!0!==j&&C===a&&(C=W())===a||!0!==j&&C===i){if(T=G.isBrace=!0,I=G.isGlob=!0,B=!0,!0===A)continue;break}if(C===b&&0==--D){j=!1,T=G.isBrace=!0,B=!0;break}}if(!0===A)continue;break}if(C===c){if(w.push($),E.push(G),G={value:"",depth:0,isGlob:!1},!0===B)continue;if(_===a&&$===O+1){O+=2;continue}H=$+1;continue}if(!0!==v.noext&&!0==(C===f||C===n||C===o||C===h||C===u)&&K()===p){if(I=G.isGlob=!0,F=G.isExtglob=!0,B=!0,C===u&&$===O&&(U=!0),!0===A){for(;!0!==q()&&(C=W());){if(C===s){N=G.backslashes=!0,C=W();continue}if(C===m){I=G.isGlob=!0,B=!0;break}}continue}break}if(C===o){if(_===o&&(P=G.isGlobstar=!0),I=G.isGlob=!0,B=!0,!0===A)continue;break}if(C===h){if(I=G.isGlob=!0,B=!0,!0===A)continue;break}if(C===d){for(;!0!==q()&&(e=W());){if(e===s){N=G.backslashes=!0,W();continue}if(e===g){L=G.isBracket=!0,I=G.isGlob=!0,B=!0;break}}if(!0===A)continue;break}if(!0!==v.nonegate&&C===u&&$===O){M=G.negated=!0,O++;continue}if(!0!==v.noparen&&C===p){if(I=G.isGlob=!0,!0===A){for(;!0!==q()&&(C=W());){if(C===p){N=G.backslashes=!0,C=W();continue}if(C===m){B=!0;break}}continue}break}if(!0===I){if(B=!0,!0===A)continue;break}}!0===v.noext&&(F=!1,I=!1);let Z=S,z="",Q="";O>0&&(z=S.slice(0,O),S=S.slice(O),H-=O),Z&&!0===I&&H>0?(Z=S.slice(0,H),Q=S.slice(H)):!0===I?(Z="",Q=S):Z=S,Z&&""!==Z&&"/"!==Z&&Z!==S&&y(Z.charCodeAt(Z.length-1))&&(Z=Z.slice(0,-1)),!0===v.unescape&&(Q&&(Q=r.removeBackslashes(Q)),Z&&!0===N&&(Z=r.removeBackslashes(Z)));let V={prefix:z,input:e,start:O,base:Z,glob:Q,isBrace:T,isBracket:L,isGlob:I,isExtglob:F,isGlobstar:P,negated:M,negatedExtglob:U};if(!0===v.tokens&&(V.maxDepth=0,y(C)||E.push(G),V.tokens=E),!0===v.parts||!0===v.tokens){let t;for(let r=0;r<w.length;r++){let o=t?t+1:O,n=w[r],s=e.slice(o,n);v.tokens&&(0===r&&0!==O?(E[r].isPrefix=!0,E[r].value=z):E[r].value=s,x(E[r]),V.maxDepth+=E[r].depth),(0!==r||""!==s)&&k.push(s),t=n}if(t&&t+1<e.length){let r=e.slice(t+1);k.push(r),v.tokens&&(E[E.length-1].value=r,x(E[E.length-1]),V.maxDepth+=E[E.length-1].depth)}V.slashes=w,V.parts=k}return V}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/utils.js"(t,r){let o=e("path?37f5"),n="win32"===process.platform,{REGEX_BACKSLASH:s,REGEX_REMOVE_BACKSLASH:i,REGEX_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_GLOBAL:u}=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/picomatch/2.3.2/970562b178c2a3cae5d09ba562604a9292f4cc3586bd7d210594148d4f487bd5/node_modules/picomatch/lib/constants.js");r.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),r.hasRegexChars=e=>a.test(e),r.isRegexChar=e=>1===e.length&&r.hasRegexChars(e),r.escapeRegex=e=>e.replace(u,"\\$1"),r.toPosixSlashes=e=>e.replace(s,"/"),r.removeBackslashes=e=>e.replace(i,e=>"\\"===e?"":e),r.supportsLookbehinds=()=>{let e=process.version.slice(1).split(".").map(Number);return 3===e.length&&!!(e[0]>=9)||8===e[0]&&!!(e[1]>=10)},r.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===n||"\\"===o.sep,r.escapeLast=(e,t,o)=>{let n=e.lastIndexOf(t,o);return -1===n?e:"\\"===e[n-1]?r.escapeLast(e,t,n-1):`${e.slice(0,n)}\\${e.slice(n)}`},r.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r},r.wrapOutput=(e,t={},r={})=>{let o=r.contains?"":"^",n=r.contains?"":"$",s=`${o}(?:${e})${n}`;return!0===t.negated&&(s=`(?:^(?!${s}).*$)`),s}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/to-regex-range/5.0.1/e55082e174dc917a955607638a77d8978552a7d78773d047c1263c740e4d7c0f/node_modules/to-regex-range/index.js"(t){let r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/is-number/7.0.0/9613abb83deb6b72fdd092fda49730946a626517d4926a9f5c00ca322630c588/node_modules/is-number/index.js"),o=(e,t,i)=>{var a,u,c;let l,d,f;if(!1===r(e))throw TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===r(t))throw TypeError("toRegexRange: expected the second argument to be a number.");let h={relaxZeros:!0,...i};"boolean"==typeof h.strictZeros&&(h.relaxZeros=!1===h.strictZeros);let b=e+":"+t+"="+String(h.relaxZeros)+String(h.shorthand)+String(h.capture)+String(h.wrap);if(o.cache.hasOwnProperty(b))return o.cache[b].result;let m=Math.min(e,t),g=Math.max(e,t);if(1===Math.abs(m-g)){let r=e+"|"+t;return h.capture?`(${r})`:!1===h.wrap?r:`(?:${r})`}let y=p(e)||p(t),x={min:e,max:t,a:m,b:g},_=[],C=[];return y&&(x.isPadded=y,x.maxLen=String(x.max).length),m<0&&(C=n(g<0?Math.abs(g):1,Math.abs(m),x,h),m=x.a=0),g>=0&&(_=n(m,g,x,h)),x.negatives=C,x.positives=_,l=s(a=C,u=_,"-",!1,c=h)||[],d=s(u,a,"",!1,c)||[],f=s(a,u,"-?",!0,c)||[],x.result=l.concat(f).concat(d).join("|"),!0===h.capture?x.result=`(${x.result})`:!1!==h.wrap&&_.length+C.length>1&&(x.result=`(?:${x.result})`),o.cache[b]=x,x.result};function n(e,t,r,o){let n,s=function(e,t){let r=1,o=1,n=u(e,1),s=new Set([t]);for(;e<=n&&n<=t;)s.add(n),r+=1,n=u(e,r);for(n=c(t+1,o)-1;e<n&&n<=t;)s.add(n),o+=1,n=c(t+1,o)-1;return(s=[...s]).sort(i),s}(e,t),a=[],p=e;for(let e=0;e<s.length;e++){let t=s[e],i=function(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let o=function(e,t){let r=[];for(let o=0;o<e.length;o++)r.push([e[o],t[o]]);return r}(e,t),n=o.length,s="",i=0;for(let e=0;e<n;e++){var a,u;let[t,r]=o[e];t===r?s+=t:"0"!==t||"9"!==r?s+=(a=t,u=r,`[${a}${u-a==1?"":"-"}${u}]`):i++}return i&&(s+=!0===r.shorthand?"\\d":"[0-9]"),{pattern:s,count:[i],digits:n}}(String(p),String(t),o),u="";if(!r.isPadded&&n&&n.pattern===i.pattern){n.count.length>1&&n.count.pop(),n.count.push(i.count[0]),n.string=n.pattern+l(n.count),p=t+1;continue}r.isPadded&&(u=function(e,t,r){if(!t.isPadded)return e;let o=Math.abs(t.maxLen-String(e).length),n=!1!==r.relaxZeros;switch(o){case 0:return"";case 1:return n?"0?":"0";case 2:return n?"0{0,2}":"00";default:return n?`0{0,${o}}`:`0{${o}}`}}(t,r,o)),i.string=u+i.pattern+l(i.count),a.push(i),p=t+1,n=i}return a}function s(e,t,r,o,n){let s=[];for(let n of e){let{string:e}=n;o||a(t,"string",e)||s.push(r+e),o&&a(t,"string",e)&&s.push(r+e)}return s}function i(e,t){return e>t?1:t>e?-1:0}function a(e,t,r){return e.some(e=>e[t]===r)}function u(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function c(e,t){return e-e%Math.pow(10,t)}function l(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function p(e){return/^-?(0+)\d/.test(e)}o.cache={},o.clearCache=()=>o.cache={},t.exports=o}});let c=/(^|,)\s*upgrade\s*($|,)/i,l={http:new r.Agent({keepAlive:!0,maxSockets:256,maxFreeSockets:64}),https:new o.Agent({keepAlive:!0,maxSockets:256,maxFreeSockets:64})},p=/^https|wss/,d=[":method",":path",":scheme",":authority"];function f(e,t,r,o){var n;for(let r of(e.port=t[o||"target"].port||(p.test(t[o||"target"].protocol??"http")?443:80),["host","hostname","socketPath","pfx","key","passphrase","cert","ca","ciphers","secureProtocol"])){let n=t[o||"target"][r];void 0!==n&&(e[r]=n)}if(void 0===e.host&&"string"==typeof e.hostname){let t=e.hostname.includes(":")&&!e.hostname.startsWith("[")?`[${e.hostname}]`:e.hostname;e.host=e.port?`${t}:${e.port}`:t}if(e.method=t.method||r.method,e.headers={...r.headers},r.headers?.[":authority"]&&(e.headers.host=r.headers[":authority"]),t.headers)for(let r of Object.keys(t.headers))e.headers[r]=t.headers[r];if(r.httpVersionMajor>1)for(let t of d)delete e.headers[t];if(t.auth&&(e.auth=t.auth),t.ca&&(e.ca=t.ca),p.test(t[o||"target"].protocol??"http")&&(e.rejectUnauthorized=void 0===t.secure||t.secure),void 0!==t.agent)e.agent=t.agent||!1;else if(r.httpVersionMajor>1||c.test(r.headers.connection||""))e.agent=!1;else{let r=t[o||"target"].protocol??"http";e.agent=p.test(r)?l.https:l.http}e.localAddress=t.localAddress,!e.agent&&(e.headers=e.headers||{},"string"==typeof e.headers.connection&&c.test(e.headers.connection)||(e.headers.connection="close"));let s=t[o||"target"],i=s&&!1!==t.prependPath&&s.pathname||"",a=s instanceof URL&&!1!==t.prependPath&&s.search||"",u=r.url||"",f=u.indexOf("?"),h=-1===f?u:u.slice(0,f),b=-1===f?"":u.slice(f),m=h?"/"===h[0]?h:"/"+h:"/",g=t.toProxy?"/"+u:m+b,y=function(e,t){if(!e||"/"===e)return t||"/";if(!t||"/"===t)return e||"/";let r="/"===e[e.length-1],o="/"===t[0];return r&&o?e+t.slice(1):r||o?e+t:e+"/"+t}(i,g=t.ignorePath?"":g);return a&&(y=y.includes("?")?y.replace("?",a+"&"):y+a),e.path=y,t.changeOrigin&&(e.headers.host=function(e,t){let r=t?.split(":")[0],o=+e;if(!o)return!1;switch(r){case"http":case"ws":return 80!==o;case"https":case"wss":return 443!==o;case"ftp":return 21!==o;case"gopher":return 70!==o;case"file":return!1}return 0!==o}(e.port,t[o||"target"].protocol)&&!((n=e.host)&&~n.indexOf(":"))?e.host+":"+e.port:e.host??void 0),e}function h(e){return e.setTimeout(0),e.setNoDelay(!0),e.setKeepAlive(!0,0),e}function b(e){let t=e.headers[":authority"]||e.headers.host,r=t?t.match(/:(\d+)/):"";return r?r[1]:m(e)?"443":"80"}function m(e){let t=e.socket;return!!t&&"encrypted"in t&&t.encrypted}function g(e,t,r){return Array.isArray(e)?e.map(function(e){return g(e,t,r)}):e.replace(RegExp(String.raw`(;\s*`+r+"=)([^;]+)","i"),function(e,r,o){let n;if(o in t)n=t[o];else{if(!("*"in t))return e;n=t["*"]}return n?r+n:""})}let y=/^201|30([12378])$/,x=[(e,t,r)=>{("1.0"===e.httpVersion||e.httpVersionMajor>=2||204===r.statusCode||304===r.statusCode)&&delete r.headers["transfer-encoding"]},(e,t,r)=>{"1.0"===e.httpVersion?r.headers.connection=e.headers.connection||"close":e.httpVersionMajor<2&&!r.headers.connection?r.headers.connection=e.headers.connection||"keep-alive":e.httpVersionMajor>=2&&delete r.headers.connection},(e,t,r,o)=>{if((o.hostRewrite||o.autoRewrite||o.protocolRewrite)&&r.headers.location&&y.test(String(r.statusCode))){let t=function(e){if(e instanceof URL)return e;if("string"==typeof e)return new URL(e);let t=e.protocol||"http:",r=e.host||e.hostname||"localhost",o=e.port;return new URL(`${t}//${r}${o?":"+o:""}`)}(o.target),n=new URL(r.headers.location,t);t.host===n.host&&(o.hostRewrite?n.host=o.hostRewrite:o.autoRewrite&&(e.headers[":authority"]?n.host=e.headers[":authority"]:e.headers.host&&(n.host=e.headers.host)),o.protocolRewrite&&(n.protocol=o.protocolRewrite),r.headers.location=n.toString())}},(e,t,r,o)=>{let n,s="string"==typeof o.cookieDomainRewrite?{"*":o.cookieDomainRewrite}:o.cookieDomainRewrite,i="string"==typeof o.cookiePathRewrite?{"*":o.cookiePathRewrite}:o.cookiePathRewrite,a=o.preserveHeaderKeyCase;if(a&&void 0!==r.rawHeaders){n={};for(let e=0;e<r.rawHeaders.length;e+=2){let t=r.rawHeaders[e];n[t.toLowerCase()]=t}}for(let e of Object.keys(r.headers)){let o=r.headers[e];a&&n&&(e=n[e]||e);var u=e,c=o;if(void 0!==c&&String(u).trim()){s&&"set-cookie"===u.toLowerCase()&&(c=g(c,s,"domain")),i&&"set-cookie"===u.toLowerCase()&&(c=g(c,i,"path"));try{t.setHeader(String(u).trim(),c)}catch{}}}},(e,t,r)=>{t.statusCode=r.statusCode,r.statusMessage&&e.httpVersionMajor<2&&(t.statusMessage=r.statusMessage)}],_=new Set([301,302,303,307,308]),C=[e=>{"DELETE"!==e.method&&"OPTIONS"!==e.method||e.headers["content-length"]||e.headers["transfer-encoding"]||(e.headers["content-length"]="0")},(e,t,r)=>{r.timeout&&e.socket.setTimeout(r.timeout,()=>{e.socket.destroy()})},(e,t,r)=>{if(!r.xfwd)return;let o=e.isSpdy||m(e),n={for:e.connection.remoteAddress||e.socket.remoteAddress,port:b(e),proto:o?"https":"http"};for(let t of["for","port","proto"]){let r="x-forwarded-"+t;e.headers[r]||void 0===n[t]||(e.headers[r]=n[t])}e.headers["x-forwarded-host"]=e.headers["x-forwarded-host"]||e.headers[":authority"]||e.headers.host||""},(e,t,n,s,i,a)=>{let u;s.emit("start",e,t,n.target||n.forward);let c="number"==typeof n.followRedirects?n.followRedirects:5*!!n.followRedirects;if(n.forward){let s=(p.test(n.forward.protocol||"http")?o:r).request(f(n.ssl||{},n,e,"forward")),i=h(s,n.forward);if(e.on("error",i),s.on("error",i),(n.buffer||e).pipe(s),!n.target)return void t.end()}let l=(p.test(n.target.protocol||"http")?o:r).request(f(n.ssl||{},n,e));l.on("socket",r=>{s&&!l.getHeader("expect")&&s.emit("proxyReq",l,e,t,n)}),n.proxyTimeout&&l.setTimeout(n.proxyTimeout,function(){l.destroy()}),t.on("close",function(){t.writableFinished||l.destroy()});let d=h(l,n.target);function h(r,o){return function(n){if(!e.socket?.writable&&"ECONNRESET"===n.code)return s.emit("econnreset",n,e,t,o),r.destroy();a?a(n,e,t,o):s.emit("error",n,e,t,o)}}if(e.on("error",d),l.on("error",d),c>0){let t=[],r=n.buffer||e;r.on("data",e=>{t.push("string"==typeof e?Buffer.from(e):e),l.write(e)}),r.on("end",()=>{u=Buffer.concat(t),l.end()}),r.on("error",e=>{l.destroy(e)})}else l.on("socket",t=>{t.pending?t.on("connect",()=>(n.buffer||e).pipe(l)):(n.buffer||e).pipe(l)});l.on("response",function(i){!function i(a,l,d){let f=a.statusCode;if(c>0&&_.has(f)&&l<c&&a.headers.location){a.resume();let c=new URL(a.headers.location,d),b=307===f||308===f,m=b&&e.method||"GET",g=p.test(c.protocol),y=g?o:r,x={...e.headers};n.headers&&Object.assign(x,n.headers),x.host=c.host,c.host!==d.host&&(delete x.authorization,delete x.cookie),b||(delete x["content-length"],delete x["content-type"],delete x["transfer-encoding"]);let _={hostname:c.hostname,port:c.port||(g?443:80),path:c.pathname+c.search,method:m,headers:x,agent:n.agent||!1};g&&(_.rejectUnauthorized=void 0===n.secure||n.secure);let C=y.request(_);s&&!C.getHeader("expect")&&s.emit("proxyReq",C,e,t,n),n.proxyTimeout&&C.setTimeout(n.proxyTimeout,()=>{C.destroy()});let v=h(C,c);C.on("error",v),C.on("response",e=>{i(e,l+1,c)}),b&&u&&u.length>0?C.end(u):C.end();return}if(s&&s.emit("proxyRes",a,e,t),!t.headersSent&&!n.selfHandleResponse){for(let r of x)if(r(e,t,a,n))break}t.finished?s&&s.emit("end",e,t,a):(t.on("close",function(){a.destroy()}),a.on("close",function(){a.complete||t.destroyed||t.destroy()}),a.on("error",function(r){t.destroyed||t.destroy(r),s.listenerCount("error")>0&&s.emit("error",r,e,t,d)}),a.on("end",function(){s&&s.emit("end",e,t,a)}),n.selfHandleResponse||a.pipe(t))}(i,0,n.target)})}],v=[(e,t)=>{if("GET"!==e.method||!e.headers.upgrade||"websocket"!==e.headers.upgrade.toLowerCase())return t.destroy(),!0},(e,t,r)=>{if(!r.xfwd)return;let o={for:e.connection.remoteAddress||e.socket.remoteAddress,port:b(e),proto:m(e)?"wss":"ws"};for(let t of["for","port","proto"]){let r="x-forwarded-"+t;e.headers[r]||void 0===o[t]||(e.headers[r]=o[t])}},(e,t,n,s,i,a)=>{let u=function(e,t){return Object.keys(t).reduce(function(e,r){let o=t[r];if(!Array.isArray(o))return e.push(r+": "+o),e;for(let t of o)e.push(r+": "+t);return e},[e]).join("\r\n")+"\r\n\r\n"};h(t),i&&i.length>0&&t.unshift(i),t.on("error",l);let c=(p.test(n.target.protocol||"http")?o:r).request(f(n.ssl||{},n,e));function l(r){a?a(r,e,t):s.emit("error",r,e,t),c.destroy()}function d(r){a?a(r,e,t):s.emit("error",r,e,t),t.end()}s&&s.emit("proxyReqWs",c,e,t,n,i),c.on("error",d),c.on("response",function(e){e.upgrade||(!t.destroyed&&t.writable?(t.write(u("HTTP/"+e.httpVersion+" "+e.statusCode+" "+e.statusMessage,e.headers)),e.on("error",d),e.pipe(t)):e.resume())}),c.on("upgrade",function(e,r,o){r.on("error",d),r.on("end",function(){s.emit("close",e,r,o)}),t.removeListener("error",l),t.on("error",function(){r.end()}),h(r),o&&o.length>0&&r.unshift(o),t.write(u("HTTP/1.1 101 Switching Protocols",e.headers)),r.pipe(t).pipe(r),s.emit("open",r),s.emit("proxySocket",r)}),c.end()}];var R=class extends s{_server;_webPasses=[...C];_wsPasses=[...v];options;web;ws;constructor(e={}){super(),this.options=e||{},this.options.prependPath=!1!==e.prependPath,this.web=A("web",this),this.ws=A("ws",this)}listen(e,t,s){let i=(e,t)=>this.web(e,t);if(this.options.http2){if(!this.options.ssl)throw Error("HTTP/2 requires ssl option");this._server=n.createSecureServer({...this.options.ssl,allowHTTP1:!0},i)}else this.options.ssl?this._server=o.createServer(this.options.ssl,i):this._server=r.createServer(i);return this.options.ws&&this._server.on("upgrade",(e,t,r)=>{this.ws(e,t,this.options,r).catch(()=>{})}),this._server.listen(e,t,s),this}close(e){this._server&&this._server.close((...t)=>{this._server=void 0,e&&Reflect.apply(e,void 0,t)})}before(e,t,r){if("ws"!==e&&"web"!==e)throw Error("type must be `web` or `ws`");let o=this._getPasses(e),n=!1;for(let[e,r]of o.entries())r.name===t&&(n=e);if(!1===n)throw Error("No such pass");o.splice(n,0,r)}after(e,t,r){if("ws"!==e&&"web"!==e)throw Error("type must be `web` or `ws`");let o=this._getPasses(e),n=!1;for(let[e,r]of o.entries())r.name===t&&(n=e);if(!1===n)throw Error("No such pass");o.splice(n++,0,r)}_getPasses(e){return"ws"===e?this._wsPasses:this._webPasses}};function A(e,t){return function(r,o,n,s){let i,a,u={...n,...t.options};for(let e of["target","forward"])"string"==typeof u[e]&&(u[e]=new URL(u[e]));if(!u.target&&!u.forward)return this.emit("error",Error("Must provide a proper URL as target")),Promise.resolve();let c=new Promise((e,t)=>{i=e,a=t});for(let n of(o.on("close",()=>{i()}),o.on("error",e=>{a(e)}),t._getPasses(e))){let e;try{e=n(r,o,u,t,s,(e,n,s,u)=>{t.listenerCount("error")>0?(t.emit("error",e,r,o,u),i()):a(e)})}catch(e){t.listenerCount("error")>0?(t.emit("error",e,r,o,u.target||u.forward),i()):a(e);break}if(e){i();break}}return c}}class w extends Error{code;constructor(e,t){super(e),this.code=t,this.name=this.constructor.name,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}}let E=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/debug/4.4.3/64f28f7ac7dd8bc11944350993b040e31578ca48ef26096b6bf9a25f661c0c66/node_modules/debug/src/index.js")("http-proxy-middleware"),k=E.extend("debug-proxy-errors-plugin"),S=`[HPM] Connection reset (ECONNRESET) detected with non-empty "req.body" [ERR_HPM.GH40].
3
3
 
4
4
  This usually means that the POST request body (req.body) was already parsed before reaching the proxy.
5
5
  When bodyParser runs first, it consumes the request stream, leaving the proxy unable to forward the body data to the target server.
@@ -11,4 +11,4 @@ import{rspackRequire as e,moduleFactories as t}from"./rslib-runtime.js";import r
11
11
  For more details, see: https://github.com/chimurai/http-proxy-middleware/issues/40
12
12
  `,$=(e,t)=>{e.on("error",(e,t,r,o)=>{k(`httpxy error event:
13
13
  %O`,e),"ECONNRESET"===e.code&&t&&"POST"===t.method&&"body"in t&&t.body&&console.error(i("red",S))}),e.on("proxyReq",(e,t,r)=>{r.on("error",e=>{k("Socket error in proxyReq event: \n%O",e)})}),e.on("proxyRes",(e,t,r)=>{r.on("close",()=>{r.writableEnded||(k("Destroying proxyRes in proxyRes close event"),e.destroy())})}),e.on("proxyReqWs",(e,t,r)=>{r.on("error",e=>{k("Socket error in proxyReqWs event: \n%O",e)})}),e.on("open",e=>{e.on("error",e=>{k("Socket error in open event: \n%O",e)})}),e.on("close",(e,t,r)=>{t.on("error",e=>{k("Socket error in close event: \n%O",e)})}),e.on("econnreset",(e,t,r,o)=>{k(`httpxy econnreset event:
14
- %O`,e)})};function O(e){return e?.replace(/[<>]/g,e=>encodeURIComponent(e))??""}let H=(e,t)=>{e.on("error",(e,t,r,o)=>{if(!t||!r)throw e;if(r&&"function"==typeof r.writeHead){if(!r.headersSent){let t=function(e){let t;if(/HPE_INVALID/.test(e))return 502;if(/HPM_ERR_INVALID_MULTIPART_/.test(e))return 400;switch(e){case"ECONNRESET":case"ENOTFOUND":case"ECONNREFUSED":case"ETIMEDOUT":t=504;break;default:t=500}return t}(e.code);r.writeHead(t)}let o=t.headers&&t.headers.host;r.end(`Error occurred while trying to proxy: ${O(o)}${O(t.url)}`)}else!r||"function"!=typeof r.write||"writeHead"in r||r.destroy()})},T={info:()=>{},warn:()=>{},error:()=>{}},L=(e,t)=>{let r=t.logger||T;e.on("error",(e,t,o,n)=>{let s=t?.headers?.host,i=`${s}${t?.url}`,a=`${n?.href}`;r.error("[HPM] Error occurred while proxying request %s to %s [%s] (%s)",i,a,e.code||e,"https://nodejs.org/api/errors.html#errors_common_system_errors")}),e.on("proxyRes",(e,o,n)=>{let s,i=o.originalUrl??`${o.baseUrl||""}${o.url}`;try{var c;let t=(c=e.req?.agent?.sockets,Object.keys(c||{})?.[0]?.split(":")[1]),{protocol:r,host:o,path:n}=e.req;s=function({protocol:e,host:t,port:r,path:o}){let n=t?.includes(":")?`[${t}]`:t,s=new u(`${e||"undefined:"}//${n||"[::]"}`);return r&&(s.port=r),o&&(s.pathname=o),s}({protocol:r,host:o,port:t,path:n})}catch(r){console.error("[HPM] Unexpected error while creating target URL",r),(s=new a(t.target)).pathname=e.req.path}let l=s.toString(),p=`[HPM] ${o.method} ${i} -> ${l} [${e.statusCode}]`;r.info(p)}),e.on("open",e=>{r.info("[HPM] Client connected: %o",e.address())}),e.on("close",(e,t,o)=>{r.info("[HPM] Client disconnected: %o",t.address())})};function I(e){return e.name||"[anonymous Function]"}let F=E.extend("proxy-events-plugin"),P=(e,t)=>{let r;if(t.on){for(r in t.on)if(Object.prototype.hasOwnProperty.call(t.on,r)){let o=t.on[r];if(!o)continue;F(`register event handler: "${r}" -> "${I(o)}"`),e.on(r,o)}}},j=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/is-glob/4.0.3/5f6010d19ebbd407d4ddad3f32ad93b07ae9baaa0b44d778899bd947e1a7324b/node_modules/is-glob/index.js"),N=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromatch/4.0.8/e3e5f26f16f8b95548bbbd14ad679e23348853c21837502922840101deaebdcd/node_modules/micromatch/index.js");function M(e,t){let r=B(t);return r?.indexOf(e)===0}function U(e,t){let r=N([B(t)],e);return r&&r.length>0}function B(e){return e&&new URL(e,"http://0.0.0.0").pathname}function D(e){return"string"==typeof e&&!j(e)}function G(e){return j(e)}function q(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let K=E.extend("path-rewriter"),W=E.extend("router");async function Z(e,t,r){let o,n=r.router;return q(n)?o=function(e,t){let r,o=e.headers.host??"",n=e.url??"";for(let[e,i]of Object.entries(t))if(z(e)){var s;if(z(s=e)&&!s.startsWith("/")){let[t,s]=function(e){let t=e.indexOf("/");return[e.slice(0,t),e.slice(t)]}(e);if(o===t&&n.startsWith(s)){W('match: "%s" -> "%s"',e,r=i);break}}else if(n.startsWith(e)){W('match: "%s" -> "%s"',e,r=i);break}}else if(e===o){W('match: "%s" -> "%s"',o,r=i);break}return r}(e,n):"function"==typeof n&&(o=await n(e,t,r)),o}function z(e){return e.indexOf("/")>-1}let Q=E.extend("ipv6");function V(e,t){var r,o,n;let s="string"==typeof(r=e)?new URL(r):r instanceof URL?r:void 0;if(s&&(o=s.hostname).startsWith("[")&&o.endsWith("]")){let r="::"===(n=s.hostname.replace(/^\[|\]$/g,""))?(Q("normalizing hostname unspecified IPv6 address (::) to loopback (::1)"),"::1"):n;return Q('normalized IPv6 "%s" %s',t,e),{hostname:r,auth:s.username||s.password?`${s.username}:${s.password}`:void 0,pathname:s.pathname,port:s.port,protocol:s.protocol,search:s.search}}return e}class X{wsInternalSubscribedServers=new WeakSet;activeServers=new Set;proxyOptions;proxy;pathRewriter;logger;constructor(e){if(!e.target&&!e.router)throw new w('[HPM] Missing "target" option. Example: {target: "http://www.example.org"}',"ERR_CONFIG_FACTORY_TARGET_MISSING");this.proxyOptions=e,this.logger=e.logger||T,E("create proxy server"),this.proxy=function(e={}){return new R(e)}({}),this.registerPlugins(this.proxy,this.proxyOptions),this.pathRewriter=function(e){let t;if(function(e){if("function"==typeof e)return!0;if(q(e))return 0!==Object.keys(e).length;if(null==e)return!1;throw new w("[HPM] Invalid pathRewrite config. Expecting object with pathRewrite config or a rewrite function","HPM_INVALID_PATH_REWRITER_CONFIG")}(e))if("function"==typeof e)return e;else return t=function(e){let t=[];if(q(e))for(let[r,o]of Object.entries(e))t.push({regex:new RegExp(r),value:o}),K('rewrite rule created: "%s" ~> "%s"',r,o);return t}(e),function(e){let r=e;for(let o of t)if(o.regex.test(e)){K('rewriting path from "%s" to "%s"',e,r=r.replace(o.regex,o.value));break}return r}}(this.proxyOptions.pathRewrite),this.middleware.upgrade=(e,t,r)=>{let o=this.#e(e);o&&!this.wsInternalSubscribedServers.has(o)&&this.handleUpgrade(e,t,r)}}#e(e){return e.socket?.server}middleware=async(e,t,r)=>{if(this.shouldProxy(this.proxyOptions.pathFilter,e)){let o;try{if(!(o=await this.prepareProxyRequest(e,t)).target&&!o.forward)throw Error("Must provide a proper URL as target")}catch(e){r?.(e);return}try{E("proxy request to target: %O",o.target),await this.proxy.web(e,t,o)}catch(n){this.proxy.emit("error",n,e,t,o.target),r?.(n)}}else r?.();let o=this.#e(e);o&&!this.activeServers.has(o)&&(E("registering server close listener"),this.activeServers.add(o),o.on("close",()=>{(E("server close signal received."),this.activeServers.delete(o),this.activeServers.size>0)?E(`proxy server not closed: ${this.activeServers.size} server(s) still active`):(E("closing proxy server"),this.proxy.close(()=>E("proxy server closed")))})),!0===this.proxyOptions.ws&&o&&this.catchUpgradeRequest(o)};registerPlugins(e,t){let r;(r=t.on?.error?[]:[H],[...t.ejectPlugins?[]:[$,P,L,...r],...t.plugins??[]]).forEach(r=>{E(`register plugin: "${I(r)}"`),r(e,t)})}catchUpgradeRequest=e=>{this.wsInternalSubscribedServers.has(e)||(E("subscribing to server upgrade event"),e.on("upgrade",this.handleUpgrade),this.wsInternalSubscribedServers.add(e))};handleUpgrade=async(e,t,r)=>{try{if(this.shouldProxy(this.proxyOptions.pathFilter,e)){let o=await this.prepareProxyRequest(e,void 0);await this.proxy.ws(e,t,o,r),E("server upgrade event received. Proxying WebSocket")}}catch(r){this.proxy.emit("error",r,e,t)}};shouldProxy=(e,t)=>{try{return function(e="/",t,r){if(D(e))return M(e,t);if(G(e))return U(e,t);if(Array.isArray(e)){if(e.every(D)){var o,n,s=e,i=t;let r=!1;for(let e of s)if(M(e,i)){r=!0;break}return r}if(e.every(G)){return o=e,n=t,U(o,n)}throw new w('[HPM] Invalid pathFilter. Plain paths (e.g. "/api") can not be mixed with globs (e.g. "/api/**"). Expecting something like: ["/api", "/ajax"] or ["/api/**", "!**.html"].',"HPM_INVALID_PATH_FILTER_ARRAY_CONFIG")}if("function"==typeof e)return!!e(B(t),r);throw new w('[HPM] Invalid pathFilter. Expecting something like: "/api" or ["/api", "/ajax"]',"HPM_INVALID_PATH_FILTER_CONFIG")}(e,t.url,t)}catch(e){return E("Error: matchPathFilter() called with request url: ",`"${t.url}"`),this.logger.error(e),!1}};prepareProxyRequest=async(e,t)=>{let r=Object.assign({},this.proxyOptions);return await this.applyRouter(e,t,r),r.target=V(r.target,"target"),r.forward=V(r.forward,"forward"),await this.applyPathRewrite(e,t,this.pathRewriter,r),r};applyRouter=async(e,t,r)=>{let o;r.router&&(o=await Z(e,t,r))&&(E('router new target: "%s"',o),r.target=o)};applyPathRewrite=async(e,t,r,o)=>{if(e.url&&r){let n=await r(e.url,e,t,o);"string"==typeof n?(E("pathRewrite new path: %s",n),e.url=n):E("pathRewrite: no rewritten path found: %s",e.url)}}}function Y(e){let{middleware:t}=new X(e);return t}E.extend("response-interceptor");export{Y as createProxyMiddleware};
14
+ %O`,e)})};function O(e){return e?.replace(/[<>]/g,e=>encodeURIComponent(e))??""}let H=(e,t)=>{e.on("error",(e,t,r,o)=>{if(!t||!r)throw e;if(r&&"function"==typeof r.writeHead){if(!r.headersSent){let t=function(e){let t;if(/HPE_INVALID/.test(e))return 502;if(/HPM_ERR_INVALID_MULTIPART_/.test(e))return 400;switch(e){case"ECONNRESET":case"ENOTFOUND":case"ECONNREFUSED":case"ETIMEDOUT":t=504;break;default:t=500}return t}(e.code);r.writeHead(t)}let o=t.headers&&t.headers.host;r.end(`Error occurred while trying to proxy: ${O(o)}${O(t.url)}`)}else!r||"function"!=typeof r.write||"writeHead"in r||r.destroy()})},T={info:()=>{},warn:()=>{},error:()=>{}},L=(e,t)=>{let r=t.logger||T;e.on("error",(e,t,o,n)=>{let s=t?.headers?.host,i=`${s}${t?.url}`,a=`${n?.href}`;r.error("[HPM] Error occurred while proxying request %s to %s [%s] (%s)",i,a,e.code||e,"https://nodejs.org/api/errors.html#errors_common_system_errors")}),e.on("proxyRes",(e,o,n)=>{let s,i=o.originalUrl??`${o.baseUrl||""}${o.url}`;try{var c;let t=(c=e.req?.agent?.sockets,Object.keys(c||{})?.[0]?.split(":")[1]),{protocol:r,host:o,path:n}=e.req;s=function({protocol:e,host:t,port:r,path:o}){let n=t?.includes(":")?`[${t}]`:t,s=new u(`${e||"undefined:"}//${n||"[::]"}`);return r&&(s.port=r),o&&(s.pathname=o),s}({protocol:r,host:o,port:t,path:n})}catch(r){console.error("[HPM] Unexpected error while creating target URL",r),(s=new a(t.target)).pathname=e.req.path}let l=s.toString(),p=`[HPM] ${o.method} ${i} -> ${l} [${e.statusCode}]`;r.info(p)}),e.on("open",e=>{r.info("[HPM] Client connected: %o",e.address())}),e.on("close",(e,t,o)=>{r.info("[HPM] Client disconnected: %o",t.address())})};function I(e){return e.name||"[anonymous Function]"}let F=E.extend("proxy-events-plugin"),P=(e,t)=>{let r;if(t.on){for(r in t.on)if(Object.prototype.hasOwnProperty.call(t.on,r)){let o=t.on[r];if(!o)continue;F(`register event handler: "${r}" -> "${I(o)}"`),e.on(r,o)}}},j=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/is-glob/4.0.3/5f6010d19ebbd407d4ddad3f32ad93b07ae9baaa0b44d778899bd947e1a7324b/node_modules/is-glob/index.js"),N=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromatch/4.0.8/e3e5f26f16f8b95548bbbd14ad679e23348853c21837502922840101deaebdcd/node_modules/micromatch/index.js");function M(e,t){let r=B(t);return r?.indexOf(e)===0}function U(e,t){let r=N([B(t)],e);return r&&r.length>0}function B(e){return e&&new URL(e,"http://0.0.0.0").pathname}function D(e){return"string"==typeof e&&!j(e)}function G(e){return j(e)}function q(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let K=E.extend("path-rewriter"),W=E.extend("router");async function Z(e,t,r){let o,n=r.router;return q(n)?o=function(e,t){let r,o=e.headers.host??"",n=e.url??"";for(let[e,i]of Object.entries(t))if(z(e)){var s;if(z(s=e)&&!s.startsWith("/")){let[t,s]=function(e){let t=e.indexOf("/");return[e.slice(0,t),e.slice(t)]}(e);if(o===t&&n.startsWith(s)){W('match: "%s" -> "%s"',e,r=i);break}}else if(n.startsWith(e)){W('match: "%s" -> "%s"',e,r=i);break}}else if(e===o){W('match: "%s" -> "%s"',o,r=i);break}return r}(e,n):"function"==typeof n&&(o=await n(e,t,r)),o}function z(e){return e.indexOf("/")>-1}let Q=E.extend("ipv6");function V(e,t){var r,o,n;let s="string"==typeof(r=e)?new URL(r):r instanceof URL?r:void 0;if(s&&(o=s.hostname).startsWith("[")&&o.endsWith("]")){let r="::"===(n=s.hostname.replace(/^\[|\]$/g,""))?(Q("normalizing hostname unspecified IPv6 address (::) to loopback (::1)"),"::1"):n;return Q('normalized IPv6 "%s" %s',t,e),{hostname:r,auth:s.username||s.password?`${s.username}:${s.password}`:void 0,pathname:s.pathname,port:s.port,protocol:s.protocol,search:s.search}}return e}class X{wsInternalSubscribedServers=new WeakSet;activeServers=new Set;proxyOptions;proxy;pathRewriter;logger;constructor(e){if(!e.target&&!e.router)throw new w('[HPM] Missing "target" option. Example: {target: "http://www.example.org"}',"ERR_CONFIG_FACTORY_TARGET_MISSING");this.proxyOptions=e,this.logger=e.logger||T,E("create proxy server"),this.proxy=function(e={}){return new R(e)}({}),this.registerPlugins(this.proxy,this.proxyOptions),this.pathRewriter=function(e){let t;if(function(e){if("function"==typeof e)return!0;if(q(e))return 0!==Object.keys(e).length;if(null==e)return!1;throw new w("[HPM] Invalid pathRewrite config. Expecting object with pathRewrite config or a rewrite function","HPM_INVALID_PATH_REWRITER_CONFIG")}(e))if("function"==typeof e)return e;else return t=function(e){let t=[];if(q(e))for(let[r,o]of Object.entries(e))t.push({regex:new RegExp(r),value:o}),K('rewrite rule created: "%s" ~> "%s"',r,o);return t}(e),function(e){let r=e;for(let o of t)if(o.regex.test(e)){K('rewriting path from "%s" to "%s"',e,r=r.replace(o.regex,o.value));break}return r}}(this.proxyOptions.pathRewrite),this.middleware.upgrade=(e,t,r)=>{let o=this.#e(e);o&&!this.wsInternalSubscribedServers.has(o)&&this.handleUpgrade(e,t,r)}}#e(e){return e.socket?.server}middleware=async(e,t,r)=>{if(this.shouldProxy(this.proxyOptions.pathFilter,e)){let o;try{if(!(o=await this.prepareProxyRequest(e,t)).target&&!o.forward)throw Error("Must provide a proper URL as target")}catch(e){r?.(e);return}try{E("proxy request to target: %O",o.target),await this.proxy.web(e,t,o)}catch(n){this.proxy.emit("error",n,e,t,o.target),r?.(n)}}else r?.();let o=this.#e(e);o&&!this.activeServers.has(o)&&(E("registering server close listener"),this.activeServers.add(o),o.on("close",()=>{(E("server close signal received."),this.activeServers.delete(o),this.activeServers.size>0)?E(`proxy server not closed: ${this.activeServers.size} server(s) still active`):(E("closing proxy server"),this.proxy.close(()=>E("proxy server closed")))})),!0===this.proxyOptions.ws&&o&&this.catchUpgradeRequest(o)};registerPlugins(e,t){let r;(r=t.on?.error?[]:[H],[...t.ejectPlugins?[]:[$,P,L,...r],...t.plugins??[]]).forEach(r=>{E(`register plugin: "${I(r)}"`),r(e,t)})}catchUpgradeRequest=e=>{this.wsInternalSubscribedServers.has(e)||(E("subscribing to server upgrade event"),e.on("upgrade",this.handleUpgrade),this.wsInternalSubscribedServers.add(e))};handleUpgrade=async(e,t,r)=>{try{if(this.shouldProxy(this.proxyOptions.pathFilter,e)){let o=await this.prepareProxyRequest(e,void 0);await this.proxy.ws(e,t,o,r),E("server upgrade event received. Proxying WebSocket")}}catch(r){this.proxy.emit("error",r,e,t)}};shouldProxy=(e,t)=>{try{return function(e="/",t,r){if(D(e))return M(e,t);if(G(e))return U(e,t);if(Array.isArray(e)){if(e.every(D)){var o=e,n=t;let r=!1;for(let e of o)if(M(e,n)){r=!0;break}return r}if(e.every(G))return U(e,t);throw new w('[HPM] Invalid pathFilter. Plain paths (e.g. "/api") can not be mixed with globs (e.g. "/api/**"). Expecting something like: ["/api", "/ajax"] or ["/api/**", "!**.html"].',"HPM_INVALID_PATH_FILTER_ARRAY_CONFIG")}if("function"==typeof e)return!!e(B(t),r);throw new w('[HPM] Invalid pathFilter. Expecting something like: "/api" or ["/api", "/ajax"]',"HPM_INVALID_PATH_FILTER_CONFIG")}(e,t.url,t)}catch(e){return E("Error: matchPathFilter() called with request url: ",`"${t.url}"`),this.logger.error(e),!1}};prepareProxyRequest=async(e,t)=>{let r=Object.assign({},this.proxyOptions);return await this.applyRouter(e,t,r),r.target=V(r.target,"target"),r.forward=V(r.forward,"forward"),await this.applyPathRewrite(e,t,this.pathRewriter,r),r};applyRouter=async(e,t,r)=>{let o;r.router&&(o=await Z(e,t,r))&&(E('router new target: "%s"',o),r.target=o)};applyPathRewrite=async(e,t,r,o)=>{if(e.url&&r){let n=await r(e.url,e,t,o);"string"==typeof n?(E("pathRewrite new path: %s",n),e.url=n):E("pathRewrite: no rewritten path found: %s",e.url)}}}function Y(e){let{middleware:t}=new X(e);return t}E.extend("response-interceptor");export{Y as createProxyMiddleware};
@@ -1 +1 @@
1
- import{rspackRequire as e,moduleFactories as t}from"./rslib-runtime.js";import"./626.js";t.add({"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/rspack-manifest-plugin/5.2.2/0e24beaf1b234a114f5305075e91a7e73b51041985d9a6da39afa17869758a5c/node_modules/rspack-manifest-plugin/dist/helpers.js"(t,s){s.transformFiles=s.reduceChunk=s.reduceAssets=s.generateManifest=void 0;let n=e("node:path?815c");s.generateManifest=(e,t,{generate:s,seed:n={}})=>s?s(n,t,Array.from(e.entrypoints.entries()).reduce((e,[t,s])=>Object.assign(e,{[t]:s.getFiles()}),{}),{compilation:e}):t.reduce((e,t)=>Object.assign(e,{[t.name]:t.path}),n),s.reduceAssets=(e,t,s)=>{let r;return(s[t.name]?r=s[t.name]:t.info.sourceFilename&&(r=(0,n.join)((0,n.dirname)(t.name),(0,n.basename)(t.info.sourceFilename))),r)?e.concat({isAsset:!0,isChunk:!1,isInitial:!1,isModuleAsset:!0,name:r,path:t.name}):t.chunks&&t.chunks.length>0?e:e.concat({isAsset:!0,isChunk:!1,isInitial:!1,isModuleAsset:!1,name:t.name,path:t.name})},s.reduceChunk=(e,t,s,r)=>(Array.from(t.auxiliaryFiles||[]).forEach(e=>{r[e]={isAsset:!0,isChunk:!1,isInitial:!1,isModuleAsset:!0,name:(0,n.basename)(e),path:e}}),Array.from(t.files).reduce((e,n)=>{let r=t.name?t.name:null;return r=r?s.useEntryKeys&&!n.endsWith(".map")?r:`${r}.${((e,{transformExtensions:t})=>{let s=e.replace(/\?.*/,"").split("."),n=s.pop();return t.test(n)?`${s.pop()}.${n}`:n})(n,s)}`:n,e.concat({chunk:t,isAsset:!1,isChunk:!0,isInitial:t.isOnlyInitial(),isModuleAsset:!1,name:r,path:n})},e));let r=e=>{let t=Object.assign({},e);return t.name=e.name.replace(/\\/g,"/"),t.path=e.path.replace(/\\/g,"/"),t};s.transformFiles=(e,t)=>["filter","map","sort"].filter(e=>!!t[e]).reduce((e,s)=>e[s](t[s]),e).map(r)},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/rspack-manifest-plugin/5.2.2/0e24beaf1b234a114f5305075e91a7e73b51041985d9a6da39afa17869758a5c/node_modules/rspack-manifest-plugin/dist/hooks.js"(t,s){s.getCompilerHooks=s.emitHook=s.beforeRunHook=void 0;let n=e("node:fs?31c0"),r=e("node:path?815c"),a=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@rspack/lite-tapable/1.1.2/036f06c5b55ea7af7e140dea0a8408dcf1d42b66956fce0edb61b138095cac00/node_modules/@rspack/lite-tapable/dist/index.cjs"),o=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/rspack-manifest-plugin/5.2.2/0e24beaf1b234a114f5305075e91a7e73b51041985d9a6da39afa17869758a5c/node_modules/rspack-manifest-plugin/dist/helpers.js"),i=new WeakMap,l=e=>{let t=i.get(e);return void 0===t&&(t={afterEmit:new a.SyncWaterfallHook(["manifest"]),beforeEmit:new a.SyncWaterfallHook(["manifest"])},i.set(e,t)),t};s.getCompilerHooks=l,s.beforeRunHook=({emitCountMap:e,manifestFileName:t},s,n)=>{let r=e.get(t)||0;e.set(t,r+1),n&&n()},s.emitHook=function({compiler:e,emitCountMap:t,manifestAssetId:s,manifestFileName:a,moduleAssets:i,options:p},c){let h=t.get(a)-1,u=c.getStats().toJson({all:!1,assets:!0,cachedAssets:!0,ids:!0,publicPath:!0}),g=null!==p.publicPath?p.publicPath:u.publicPath,f="auto"===g?"":g,{basePath:d,removeKeyHash:m}=p;t.set(a,h);let y={},k=Array.from(c.chunks).reduce((e,t)=>(0,o.reduceChunk)(e,t,p,y),[]);(k=(k=u.assets.reduce((e,t)=>(0,o.reduceAssets)(e,t,i),k)).filter(({name:s,path:n})=>!n.includes("hot-update")&&void 0===t.get((0,r.join)(e.options.output?.path||"<unknown>",s)))).forEach(e=>{delete y[e.path]}),Object.keys(y).forEach(e=>{k=k.concat(y[e])});let S={};u.assets?.forEach(e=>{e.integrity&&(S[e.name]=e.integrity)}),k=k.map(e=>{let t=e=>e.endsWith("/")?e:`${e}/`,s={name:d?t(d)+e.name:e.name,path:f?t(f)+e.path:e.path};return S[e.path]&&(s.integrity=S[e.path]),s.name=m?s.name.replace(m,""):s.name,Object.assign(e,s)}),k=(0,o.transformFiles)(k,p);let _=(0,o.generateManifest)(c,k,p),b=0===h;if(_=l(e).beforeEmit.call(_),b){let t=p.serialize(_);c.emitAsset(s,new e.webpack.sources.RawSource(t)),p.writeToFileEmit&&((0,n.mkdirSync)((0,r.dirname)(a),{recursive:!0}),(0,n.writeFileSync)(a,t))}l(e).afterEmit.call(_)}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/rspack-manifest-plugin/5.2.2/0e24beaf1b234a114f5305075e91a7e73b51041985d9a6da39afa17869758a5c/node_modules/rspack-manifest-plugin/dist/index.js"(t,s){s.RspackManifestPlugin=void 0;let n=e("node:path?815c"),r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/rspack-manifest-plugin/5.2.2/0e24beaf1b234a114f5305075e91a7e73b51041985d9a6da39afa17869758a5c/node_modules/rspack-manifest-plugin/dist/hooks.js"),a=new Map,o={assetHookStage:1/0,basePath:"",fileName:"manifest.json",filter:null,generate:void 0,map:null,publicPath:null,removeKeyHash:/([a-f0-9]{16,32}\.?)/gi,seed:void 0,serialize:e=>JSON.stringify(e,null,2),sort:null,transformExtensions:/^(gz|map)$/i,useEntryKeys:!1,useLegacyEmit:!1,writeToFileEmit:!1};s.RspackManifestPlugin=class{options;constructor(e){this.options=Object.assign({},o,e)}apply(e){let t=(0,n.resolve)(e.options.output?.path||"./",this.options.fileName),s=(0,n.relative)(e.options.output?.path||"./",t),o=r.beforeRunHook.bind(this,{emitCountMap:a,manifestFileName:t}),i=r.emitHook.bind(this,{compiler:e,emitCountMap:a,manifestAssetId:s,manifestFileName:t,moduleAssets:{},options:this.options}),l={name:"WebpackManifestPlugin",stage:this.options.assetHookStage};!0===this.options.useLegacyEmit?e.hooks.emit.tap(l,i):e.hooks.thisCompilation.tap(l,e=>{e.hooks.processAssets.tap(l,()=>i(e))}),e.hooks.run.tapAsync(l,o),e.hooks.watchRun.tapAsync(l,o)}}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@rspack/lite-tapable/1.1.2/036f06c5b55ea7af7e140dea0a8408dcf1d42b66956fce0edb61b138095cac00/node_modules/@rspack/lite-tapable/dist/index.cjs"(e,t){var s={};s.d=(e,t,n)=>{var r=(t,n)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,[n]:t[r]})};r(t,"get"),r(n,"value")},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};function r(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}s.r(n);class a{intercept(e){if(this.interceptors.push(Object.assign({},e)),e.register)for(let t=0;t<this.taps.length;t++)this.taps[t]=e.register(this.taps[t])}_runRegisterInterceptors(e){return this.interceptors.reduce((e,t)=>t.register?.(e)??e,e)}_runCallInterceptors(...e){for(let t of this.interceptors)t.call&&t.call(...e)}_runErrorInterceptors(e){for(let t of this.interceptors)t.error&&t.error(e)}_runTapInterceptors(e){for(let t of this.interceptors)t.tap&&t.tap(e)}_runDoneInterceptors(){for(let e of this.interceptors)e.done&&e.done()}_runResultInterceptors(e){for(let t of this.interceptors)t.result&&t.result(e)}withOptions(e){let t=t=>Object.assign({},e,"string"==typeof t?{name:t}:t);return{name:this.name,tap:(e,s)=>this.tap(t(e),s),tapAsync:(e,s)=>this.tapAsync(t(e),s),tapPromise:(e,s)=>this.tapPromise(t(e),s),intercept:e=>this.intercept(e),isUsed:()=>this.isUsed(),withOptions:e=>this.withOptions(t(e)),queryStageRange:e=>this.queryStageRange(e)}}isUsed(){return this.taps.length>0||this.interceptors.length>0}queryStageRange(e){return new i(e,this)}callAsyncStageRange(e){throw Error("Hook should implement there own _callAsyncStageRange")}callAsync(...e){return this.callAsyncStageRange(this.queryStageRange(o),...e)}promiseStageRange(e,...t){return new Promise((s,n)=>{this.callAsyncStageRange(e,...t,(e,t)=>e?n(e):s(t))})}promise(...e){return this.promiseStageRange(this.queryStageRange(o),...e)}tap(e,t){this._tap("sync",e,t)}tapAsync(e,t){this._tap("async",e,t)}tapPromise(e,t){this._tap("promise",e,t)}_tap(e,t,s){let n=t;if("string"==typeof t)n={name:t.trim()};else if("object"!=typeof t||null===t)throw Error("Invalid tap options");if("string"!=typeof n.name||""===n.name)throw Error("Missing name for tap");this._insert(this._runRegisterInterceptors(Object.assign({type:e,fn:s},n)))}_insert(e){let t;"string"==typeof e.before?t=new Set([e.before]):Array.isArray(e.before)&&(t=new Set(e.before));let s=0;"number"==typeof e.stage&&(s=e.stage);let n=this.taps.length;for(;n>0;){n--;let e=this.taps[n];this.taps[n+1]=e;let r=e.stage||0;if(t){if(t.has(e.name)){t.delete(e.name);continue}if(t.size>0)continue}if(!(r>s)){n++;break}}this.taps[n]=e}_prepareArgs(e){let t=this.args.length;return e.length<t?(e.length=t,e.fill(void 0,e.length,t)):(e.length>t&&(e.length=t),e)}constructor(e=[],t){r(this,"args",void 0),r(this,"name",void 0),r(this,"taps",void 0),r(this,"interceptors",void 0),this.args=e,this.name=t,this.taps=[],this.interceptors=[]}}let o=[-1/0,1/0];class i{isUsed(){return!!(this.tapsInRange.length>0||-1/0===this.stageRange[0]&&this.hook.interceptors.some(e=>e.call)||1/0===this.stageRange[1]&&this.hook.interceptors.some(e=>e.done))}call(...e){if("function"!=typeof this.hook.callStageRange)throw Error("hook is not a SyncHook, call methods only exists on SyncHook");return this.hook.callStageRange(this,...e)}callAsync(...e){return this.hook.callAsyncStageRange(this,...e)}promise(...e){return this.hook.promiseStageRange(this,...e)}constructor(e,t){r(this,"stageRange",void 0),r(this,"hook",void 0),r(this,"tapsInRange",void 0);let s=[],[n,a]=e;for(let e of t.taps){let t=e.stage??0;n<=t&&t<a?s.push(e):1/0===a&&1/0===t&&s.push(e)}this.stageRange=e,this.hook=t,this.tapsInRange=s}}class l extends a{callAsyncStageRange(e,...t){let{stageRange:[s,n],tapsInRange:r}=e,a=t.slice(0,t.length-1),o=t[t.length-1],i=this._prepareArgs(a);for(let e of(-1/0===s&&this._runCallInterceptors(...i),r)){this._runTapInterceptors(e);try{e.fn(...i)}catch(e){return this._runErrorInterceptors(e),o(e)}}1/0===n&&(this._runDoneInterceptors(),o(null))}call(...e){return this.callStageRange(this.queryStageRange(o),...e)}callStageRange(e,...t){let s,n;if(this.callAsyncStageRange(e,...t,(e,t)=>{n=e,s=t}),n)throw n;return s}tapAsync(){throw Error("tapAsync is not supported on a SyncHook")}tapPromise(){throw Error("tapPromise is not supported on a SyncHook")}}class p extends a{callAsyncStageRange(e,...t){let{stageRange:[s,n],tapsInRange:r}=e,a=t.slice(0,t.length-1),o=t[t.length-1],i=this._prepareArgs(a);for(let e of(-1/0===s&&this._runCallInterceptors(...i),r)){let t;this._runTapInterceptors(e);try{t=e.fn(...i)}catch(e){return this._runErrorInterceptors(e),o(e)}if(void 0!==t)return this._runResultInterceptors(t),o(null,t)}1/0===n&&(this._runDoneInterceptors(),o(null))}call(...e){return this.callStageRange(this.queryStageRange(o),...e)}callStageRange(e,...t){let s,n;if(this.callAsyncStageRange(e,...t,(e,t)=>{n=e,s=t}),n)throw n;return s}tapAsync(){throw Error("tapAsync is not supported on a SyncBailHook")}tapPromise(){throw Error("tapPromise is not supported on a SyncBailHook")}}class c extends a{callAsyncStageRange(e,...t){let{stageRange:[s,n],tapsInRange:r}=e,a=t.slice(0,t.length-1),o=t[t.length-1],i=this._prepareArgs(a);for(let e of(-1/0===s&&this._runCallInterceptors(...i),r)){this._runTapInterceptors(e);try{let t=e.fn(...i);void 0!==t&&(i[0]=t)}catch(e){return this._runErrorInterceptors(e),o(e)}}1/0===n&&(this._runDoneInterceptors(),o(null,i[0]))}call(...e){return this.callStageRange(this.queryStageRange(o),...e)}callStageRange(e,...t){let s,n;if(this.callAsyncStageRange(e,...t,(e,t)=>{n=e,s=t}),n)throw n;return s}tapAsync(){throw Error("tapAsync is not supported on a SyncWaterfallHook")}tapPromise(){throw Error("tapPromise is not supported on a SyncWaterfallHook")}constructor(e=[],t){if(e.length<1)throw Error("Waterfall hooks must have at least one argument");super(e,t)}}class h extends a{callAsyncStageRange(e,...t){let{stageRange:[s],tapsInRange:n}=e,r=t.slice(0,t.length-1),a=t[t.length-1],o=this._prepareArgs(r);-1/0===s&&this._runCallInterceptors(...o);let i=()=>{this._runDoneInterceptors(),a(null)},l=e=>{this._runErrorInterceptors(e),a(e)};if(0===n.length)return i();let p=n.length;for(let e of n){if(this._runTapInterceptors(e),"promise"===e.type){let t=e.fn(...o);if(!t||!t.then)throw Error(`Tap function (tapPromise) did not return promise (returned ${t})`);t.then(()=>{0==(p-=1)&&i()},e=>{p=0,l(e)})}else if("async"===e.type)e.fn(...o,e=>{e?(p=0,l(e)):0==(p-=1)&&i()});else{let t=!1;try{e.fn(...o)}catch(e){t=!0,p=0,l(e)}t||0!=--p||i()}if(p<=0)return}}}class u extends a{callAsyncStageRange(e,...t){let{stageRange:[s],tapsInRange:n}=e,r=t.slice(0,t.length-1),a=t[t.length-1],o=this._prepareArgs(r);-1/0===s&&this._runCallInterceptors(...o);let i=()=>{this._runDoneInterceptors(),a(null)},l=e=>{this._runErrorInterceptors(e),a(e)};if(0===n.length)return i();let p=0,c=()=>{let e=n[p];if(this._runTapInterceptors(e),"promise"===e.type){let t=e.fn(...o);if(!t||!t.then)throw Error(`Tap function (tapPromise) did not return promise (returned ${t})`);t.then(()=>{(p+=1)===n.length?i():c()},e=>{p=n.length,l(e)})}else if("async"===e.type)e.fn(...o,e=>{e?(p=n.length,l(e)):(p+=1)===n.length?i():c()});else{let t=!1;try{e.fn(...o)}catch(e){t=!0,p=n.length,l(e)}t||((p+=1)===n.length?i():c())}if(p===n.length)return};c()}}class g extends a{callAsyncStageRange(e,...t){let{stageRange:[s],tapsInRange:n}=e,r=t.slice(0,t.length-1),a=t[t.length-1],o=this._prepareArgs(r);-1/0===s&&this._runCallInterceptors(...o);let i=()=>{this._runDoneInterceptors(),a(null)},l=e=>{this._runErrorInterceptors(e),a(e)},p=e=>{this._runResultInterceptors(e),a(null,e)};if(0===n.length)return i();let c=0,h=()=>{let e=n[c];if(this._runTapInterceptors(e),"promise"===e.type){let t=e.fn(...o);if(!t||!t.then)throw Error(`Tap function (tapPromise) did not return promise (returned ${t})`);t.then(e=>{c+=1,void 0!==e?p(e):c===n.length?i():h()},e=>{c=n.length,l(e)})}else if("async"===e.type)e.fn(...o,(e,t)=>{e?(c=n.length,l(e)):(c+=1,void 0!==t?p(t):c===n.length?i():h())});else{let t,s=!1;try{t=e.fn(...o)}catch(e){s=!0,c=n.length,l(e)}s||(c+=1,void 0!==t?p(t):c===n.length?i():h())}if(c===n.length)return};h()}}class f extends a{callAsyncStageRange(e,...t){let{stageRange:[s],tapsInRange:n}=e,r=t.slice(0,t.length-1),a=t[t.length-1],o=this._prepareArgs(r);-1/0===s&&this._runCallInterceptors(...o);let i=e=>{this._runResultInterceptors(e),a(null,e)},l=e=>{this._runErrorInterceptors(e),a(e)};if(0===n.length)return i(o[0]);let p=0,c=()=>{let e=n[p];if(this._runTapInterceptors(e),"promise"===e.type){let t=e.fn(...o);if(!t||!t.then)throw Error(`Tap function (tapPromise) did not return promise (returned ${t})`);t.then(e=>{p+=1,void 0!==e&&(o[0]=e),p===n.length?i(o[0]):c()},e=>{p=n.length,l(e)})}else if("async"===e.type)e.fn(...o,(e,t)=>{e?(p=n.length,l(e)):(p+=1,void 0!==t&&(o[0]=t),p===n.length?i(o[0]):c())});else{let t=!1;try{let t=e.fn(...o);void 0!==t&&(o[0]=t)}catch(e){t=!0,p=n.length,l(e)}t||((p+=1)===n.length?i(o[0]):c())}if(p===n.length)return};c()}constructor(e=[],t){if(e.length<1)throw Error("Waterfall hooks must have at least one argument");super(e,t)}}let d=(e,t)=>t;class m{get(e){return this._map.get(e)}for(e){let t=this.get(e);if(void 0!==t)return t;let s=this._factory(e),n=this._interceptors;for(let t=0;t<n.length;t++){let r=n[t].factory;r&&(s=r(e,s))}return this._map.set(e,s),s}intercept(e){this._interceptors.push(Object.assign({factory:d},e))}isUsed(){for(let e of this._map.keys()){let t=this.get(e);if(t?.isUsed())return!0}return!1}queryStageRange(e){return new y(e,this)}constructor(e,t){r(this,"_map",new Map),r(this,"_factory",void 0),r(this,"name",void 0),r(this,"_interceptors",void 0),this.name=t,this._factory=e,this._interceptors=[]}}class y{get(e){return this.hookMap.get(e)?.queryStageRange(this.stageRange)}for(e){return this.hookMap.for(e).queryStageRange(this.stageRange)}isUsed(){for(let e of this.hookMap._map.keys())if(this.get(e)?.isUsed())return!0;return!1}constructor(e,t){r(this,"stageRange",void 0),r(this,"hookMap",void 0),this.stageRange=e,this.hookMap=t}}class k{tap(e,t){for(let s of this.hooks)s.tap(e,t)}tapAsync(e,t){for(let s of this.hooks)s.tapAsync(e,t)}tapPromise(e,t){for(let s of this.hooks)s.tapPromise(e,t)}isUsed(){for(let e of this.hooks)if(e.isUsed())return!0;return!1}intercept(e){for(let t of this.hooks)t.intercept(e)}withOptions(e){return new k(this.hooks.map(t=>t.withOptions(e)),this.name)}constructor(e,t){r(this,"hooks",void 0),r(this,"name",void 0),this.hooks=e,this.name=t}}for(var S in s.d(n,{AsyncParallelHook:()=>h,AsyncSeriesBailHook:()=>g,AsyncSeriesHook:()=>u,AsyncSeriesWaterfallHook:()=>f,HookBase:()=>a,HookMap:()=>m,MultiHook:()=>k,QueriedHook:()=>i,QueriedHookMap:()=>y,SyncBailHook:()=>p,SyncHook:()=>l,SyncWaterfallHook:()=>c},{maxStage:1/0,minStage:-1/0,safeStage:e=>e<-0x80000000?-0x80000000:e>0x7fffffff?0x7fffffff:e}),t.AsyncParallelHook=n.AsyncParallelHook,t.AsyncSeriesBailHook=n.AsyncSeriesBailHook,t.AsyncSeriesHook=n.AsyncSeriesHook,t.AsyncSeriesWaterfallHook=n.AsyncSeriesWaterfallHook,t.HookBase=n.HookBase,t.HookMap=n.HookMap,t.MultiHook=n.MultiHook,t.QueriedHook=n.QueriedHook,t.QueriedHookMap=n.QueriedHookMap,t.SyncBailHook=n.SyncBailHook,t.SyncHook=n.SyncHook,t.SyncWaterfallHook=n.SyncWaterfallHook,t.maxStage=n.maxStage,t.minStage=n.minStage,t.safeStage=n.safeStage,n)-1===["AsyncParallelHook","AsyncSeriesBailHook","AsyncSeriesHook","AsyncSeriesWaterfallHook","HookBase","HookMap","MultiHook","QueriedHook","QueriedHookMap","SyncBailHook","SyncHook","SyncWaterfallHook","maxStage","minStage","safeStage"].indexOf(S)&&(t[S]=n[S]);Object.defineProperty(t,"__esModule",{value:!0})}});var s=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/rspack-manifest-plugin/5.2.2/0e24beaf1b234a114f5305075e91a7e73b51041985d9a6da39afa17869758a5c/node_modules/rspack-manifest-plugin/dist/index.js").RspackManifestPlugin;export{s as RspackManifestPlugin};
1
+ import{rspackRequire as e,moduleFactories as t}from"./rslib-runtime.js";import"./626.js";t.add({"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/rspack-manifest-plugin/5.2.2/9919f482fd00d27c94e8e9f65edbae4f86987a8c95774cc077aa085a1cd380ae/node_modules/rspack-manifest-plugin/dist/helpers.js"(t,s){s.transformFiles=s.reduceChunk=s.reduceAssets=s.generateManifest=void 0;let n=e("node:path?815c");s.generateManifest=(e,t,{generate:s,seed:n={}})=>s?s(n,t,Array.from(e.entrypoints.entries()).reduce((e,[t,s])=>Object.assign(e,{[t]:s.getFiles()}),{}),{compilation:e}):t.reduce((e,t)=>Object.assign(e,{[t.name]:t.path}),n),s.reduceAssets=(e,t,s)=>{let r;return(s[t.name]?r=s[t.name]:t.info.sourceFilename&&(r=(0,n.join)((0,n.dirname)(t.name),(0,n.basename)(t.info.sourceFilename))),r)?e.concat({isAsset:!0,isChunk:!1,isInitial:!1,isModuleAsset:!0,name:r,path:t.name}):t.chunks&&t.chunks.length>0?e:e.concat({isAsset:!0,isChunk:!1,isInitial:!1,isModuleAsset:!1,name:t.name,path:t.name})},s.reduceChunk=(e,t,s,r)=>(Array.from(t.auxiliaryFiles||[]).forEach(e=>{r[e]={isAsset:!0,isChunk:!1,isInitial:!1,isModuleAsset:!0,name:(0,n.basename)(e),path:e}}),Array.from(t.files).reduce((e,n)=>{let r=t.name?t.name:null;return r=r?s.useEntryKeys&&!n.endsWith(".map")?r:`${r}.${((e,{transformExtensions:t})=>{let s=e.replace(/\?.*/,"").split("."),n=s.pop();return t.test(n)?`${s.pop()}.${n}`:n})(n,s)}`:n,e.concat({chunk:t,isAsset:!1,isChunk:!0,isInitial:t.isOnlyInitial(),isModuleAsset:!1,name:r,path:n})},e));let r=e=>{let t=Object.assign({},e);return t.name=e.name.replace(/\\/g,"/"),t.path=e.path.replace(/\\/g,"/"),t};s.transformFiles=(e,t)=>["filter","map","sort"].filter(e=>!!t[e]).reduce((e,s)=>e[s](t[s]),e).map(r)},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/rspack-manifest-plugin/5.2.2/9919f482fd00d27c94e8e9f65edbae4f86987a8c95774cc077aa085a1cd380ae/node_modules/rspack-manifest-plugin/dist/hooks.js"(t,s){s.getCompilerHooks=s.emitHook=s.beforeRunHook=void 0;let n=e("node:fs?31c0"),r=e("node:path?815c"),a=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@rspack/lite-tapable/1.1.2/036f06c5b55ea7af7e140dea0a8408dcf1d42b66956fce0edb61b138095cac00/node_modules/@rspack/lite-tapable/dist/index.cjs"),o=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/rspack-manifest-plugin/5.2.2/9919f482fd00d27c94e8e9f65edbae4f86987a8c95774cc077aa085a1cd380ae/node_modules/rspack-manifest-plugin/dist/helpers.js"),i=new WeakMap,l=e=>{let t=i.get(e);return void 0===t&&(t={afterEmit:new a.SyncWaterfallHook(["manifest"]),beforeEmit:new a.SyncWaterfallHook(["manifest"])},i.set(e,t)),t};s.getCompilerHooks=l,s.beforeRunHook=({emitCountMap:e,manifestFileName:t},s,n)=>{let r=e.get(t)||0;e.set(t,r+1),n&&n()},s.emitHook=function({compiler:e,emitCountMap:t,manifestAssetId:s,manifestFileName:a,moduleAssets:i,options:c},p){let h=t.get(a)-1,u=p.getStats().toJson({all:!1,assets:!0,cachedAssets:!0,ids:!0,publicPath:!0}),g=null!==c.publicPath?c.publicPath:u.publicPath,f="auto"===g?"":g,{basePath:d,removeKeyHash:m}=c;t.set(a,h);let y={},k=Array.from(p.chunks).reduce((e,t)=>(0,o.reduceChunk)(e,t,c,y),[]);(k=(k=u.assets.reduce((e,t)=>(0,o.reduceAssets)(e,t,i),k)).filter(({name:s,path:n})=>!n.includes("hot-update")&&void 0===t.get((0,r.join)(e.options.output?.path||"<unknown>",s)))).forEach(e=>{delete y[e.path]}),Object.keys(y).forEach(e=>{k=k.concat(y[e])});let S={};u.assets?.forEach(e=>{e.integrity&&(S[e.name]=e.integrity)}),k=k.map(e=>{let t=e=>e.endsWith("/")?e:`${e}/`,s={name:d?t(d)+e.name:e.name,path:f?t(f)+e.path:e.path};return S[e.path]&&(s.integrity=S[e.path]),s.name=m?s.name.replace(m,""):s.name,Object.assign(e,s)}),k=(0,o.transformFiles)(k,c);let _=(0,o.generateManifest)(p,k,c),A=0===h;if(_=l(e).beforeEmit.call(_),A){let t=c.serialize(_);p.emitAsset(s,new e.webpack.sources.RawSource(t)),c.writeToFileEmit&&((0,n.mkdirSync)((0,r.dirname)(a),{recursive:!0}),(0,n.writeFileSync)(a,t))}l(e).afterEmit.call(_)}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/rspack-manifest-plugin/5.2.2/9919f482fd00d27c94e8e9f65edbae4f86987a8c95774cc077aa085a1cd380ae/node_modules/rspack-manifest-plugin/dist/index.js"(t,s){s.RspackManifestPlugin=void 0;let n=e("node:path?815c"),r=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/rspack-manifest-plugin/5.2.2/9919f482fd00d27c94e8e9f65edbae4f86987a8c95774cc077aa085a1cd380ae/node_modules/rspack-manifest-plugin/dist/hooks.js"),a=new Map,o={assetHookStage:1/0,basePath:"",fileName:"manifest.json",filter:null,generate:void 0,map:null,publicPath:null,removeKeyHash:/([a-f0-9]{16,32}\.?)/gi,seed:void 0,serialize:e=>JSON.stringify(e,null,2),sort:null,transformExtensions:/^(gz|map)$/i,useEntryKeys:!1,useLegacyEmit:!1,writeToFileEmit:!1};s.RspackManifestPlugin=class{options;constructor(e){this.options=Object.assign({},o,e)}apply(e){let t=(0,n.resolve)(e.options.output?.path||"./",this.options.fileName),s=(0,n.relative)(e.options.output?.path||"./",t),o=r.beforeRunHook.bind(this,{emitCountMap:a,manifestFileName:t}),i=r.emitHook.bind(this,{compiler:e,emitCountMap:a,manifestAssetId:s,manifestFileName:t,moduleAssets:{},options:this.options}),l={name:"WebpackManifestPlugin",stage:this.options.assetHookStage};!0===this.options.useLegacyEmit?e.hooks.emit.tap(l,i):e.hooks.thisCompilation.tap(l,e=>{e.hooks.processAssets.tap(l,()=>i(e))}),e.hooks.run.tapAsync(l,o),e.hooks.watchRun.tapAsync(l,o)}}},"../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@rspack/lite-tapable/1.1.2/036f06c5b55ea7af7e140dea0a8408dcf1d42b66956fce0edb61b138095cac00/node_modules/@rspack/lite-tapable/dist/index.cjs"(e,t){var s={};s.d=(e,t,n)=>{var r=(t,n)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,[n]:t[r]})};r(t,"get"),r(n,"value")},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};function r(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}s.r(n);class a{intercept(e){if(this.interceptors.push(Object.assign({},e)),e.register)for(let t=0;t<this.taps.length;t++)this.taps[t]=e.register(this.taps[t])}_runRegisterInterceptors(e){return this.interceptors.reduce((e,t)=>t.register?.(e)??e,e)}_runCallInterceptors(...e){for(let t of this.interceptors)t.call&&t.call(...e)}_runErrorInterceptors(e){for(let t of this.interceptors)t.error&&t.error(e)}_runTapInterceptors(e){for(let t of this.interceptors)t.tap&&t.tap(e)}_runDoneInterceptors(){for(let e of this.interceptors)e.done&&e.done()}_runResultInterceptors(e){for(let t of this.interceptors)t.result&&t.result(e)}withOptions(e){let t=t=>Object.assign({},e,"string"==typeof t?{name:t}:t);return{name:this.name,tap:(e,s)=>this.tap(t(e),s),tapAsync:(e,s)=>this.tapAsync(t(e),s),tapPromise:(e,s)=>this.tapPromise(t(e),s),intercept:e=>this.intercept(e),isUsed:()=>this.isUsed(),withOptions:e=>this.withOptions(t(e)),queryStageRange:e=>this.queryStageRange(e)}}isUsed(){return this.taps.length>0||this.interceptors.length>0}queryStageRange(e){return new i(e,this)}callAsyncStageRange(e){throw Error("Hook should implement there own _callAsyncStageRange")}callAsync(...e){return this.callAsyncStageRange(this.queryStageRange(o),...e)}promiseStageRange(e,...t){return new Promise((s,n)=>{this.callAsyncStageRange(e,...t,(e,t)=>e?n(e):s(t))})}promise(...e){return this.promiseStageRange(this.queryStageRange(o),...e)}tap(e,t){this._tap("sync",e,t)}tapAsync(e,t){this._tap("async",e,t)}tapPromise(e,t){this._tap("promise",e,t)}_tap(e,t,s){let n=t;if("string"==typeof t)n={name:t.trim()};else if("object"!=typeof t||null===t)throw Error("Invalid tap options");if("string"!=typeof n.name||""===n.name)throw Error("Missing name for tap");this._insert(this._runRegisterInterceptors(Object.assign({type:e,fn:s},n)))}_insert(e){let t;"string"==typeof e.before?t=new Set([e.before]):Array.isArray(e.before)&&(t=new Set(e.before));let s=0;"number"==typeof e.stage&&(s=e.stage);let n=this.taps.length;for(;n>0;){n--;let e=this.taps[n];this.taps[n+1]=e;let r=e.stage||0;if(t){if(t.has(e.name)){t.delete(e.name);continue}if(t.size>0)continue}if(!(r>s)){n++;break}}this.taps[n]=e}_prepareArgs(e){let t=this.args.length;return e.length<t?(e.length=t,e.fill(void 0,e.length,t)):(e.length>t&&(e.length=t),e)}constructor(e=[],t){r(this,"args",void 0),r(this,"name",void 0),r(this,"taps",void 0),r(this,"interceptors",void 0),this.args=e,this.name=t,this.taps=[],this.interceptors=[]}}let o=[-1/0,1/0];class i{isUsed(){return!!(this.tapsInRange.length>0||-1/0===this.stageRange[0]&&this.hook.interceptors.some(e=>e.call)||1/0===this.stageRange[1]&&this.hook.interceptors.some(e=>e.done))}call(...e){if("function"!=typeof this.hook.callStageRange)throw Error("hook is not a SyncHook, call methods only exists on SyncHook");return this.hook.callStageRange(this,...e)}callAsync(...e){return this.hook.callAsyncStageRange(this,...e)}promise(...e){return this.hook.promiseStageRange(this,...e)}constructor(e,t){r(this,"stageRange",void 0),r(this,"hook",void 0),r(this,"tapsInRange",void 0);let s=[],[n,a]=e;for(let e of t.taps){let t=e.stage??0;n<=t&&t<a?s.push(e):1/0===a&&1/0===t&&s.push(e)}this.stageRange=e,this.hook=t,this.tapsInRange=s}}class l extends a{callAsyncStageRange(e,...t){let{stageRange:[s,n],tapsInRange:r}=e,a=t.slice(0,t.length-1),o=t[t.length-1],i=this._prepareArgs(a);for(let e of(-1/0===s&&this._runCallInterceptors(...i),r)){this._runTapInterceptors(e);try{e.fn(...i)}catch(e){return this._runErrorInterceptors(e),o(e)}}1/0===n&&(this._runDoneInterceptors(),o(null))}call(...e){return this.callStageRange(this.queryStageRange(o),...e)}callStageRange(e,...t){let s,n;if(this.callAsyncStageRange(e,...t,(e,t)=>{n=e,s=t}),n)throw n;return s}tapAsync(){throw Error("tapAsync is not supported on a SyncHook")}tapPromise(){throw Error("tapPromise is not supported on a SyncHook")}}class c extends a{callAsyncStageRange(e,...t){let{stageRange:[s,n],tapsInRange:r}=e,a=t.slice(0,t.length-1),o=t[t.length-1],i=this._prepareArgs(a);for(let e of(-1/0===s&&this._runCallInterceptors(...i),r)){let t;this._runTapInterceptors(e);try{t=e.fn(...i)}catch(e){return this._runErrorInterceptors(e),o(e)}if(void 0!==t)return this._runResultInterceptors(t),o(null,t)}1/0===n&&(this._runDoneInterceptors(),o(null))}call(...e){return this.callStageRange(this.queryStageRange(o),...e)}callStageRange(e,...t){let s,n;if(this.callAsyncStageRange(e,...t,(e,t)=>{n=e,s=t}),n)throw n;return s}tapAsync(){throw Error("tapAsync is not supported on a SyncBailHook")}tapPromise(){throw Error("tapPromise is not supported on a SyncBailHook")}}class p extends a{callAsyncStageRange(e,...t){let{stageRange:[s,n],tapsInRange:r}=e,a=t.slice(0,t.length-1),o=t[t.length-1],i=this._prepareArgs(a);for(let e of(-1/0===s&&this._runCallInterceptors(...i),r)){this._runTapInterceptors(e);try{let t=e.fn(...i);void 0!==t&&(i[0]=t)}catch(e){return this._runErrorInterceptors(e),o(e)}}1/0===n&&(this._runDoneInterceptors(),o(null,i[0]))}call(...e){return this.callStageRange(this.queryStageRange(o),...e)}callStageRange(e,...t){let s,n;if(this.callAsyncStageRange(e,...t,(e,t)=>{n=e,s=t}),n)throw n;return s}tapAsync(){throw Error("tapAsync is not supported on a SyncWaterfallHook")}tapPromise(){throw Error("tapPromise is not supported on a SyncWaterfallHook")}constructor(e=[],t){if(e.length<1)throw Error("Waterfall hooks must have at least one argument");super(e,t)}}class h extends a{callAsyncStageRange(e,...t){let{stageRange:[s],tapsInRange:n}=e,r=t.slice(0,t.length-1),a=t[t.length-1],o=this._prepareArgs(r);-1/0===s&&this._runCallInterceptors(...o);let i=()=>{this._runDoneInterceptors(),a(null)},l=e=>{this._runErrorInterceptors(e),a(e)};if(0===n.length)return i();let c=n.length;for(let e of n){if(this._runTapInterceptors(e),"promise"===e.type){let t=e.fn(...o);if(!t||!t.then)throw Error(`Tap function (tapPromise) did not return promise (returned ${t})`);t.then(()=>{0==(c-=1)&&i()},e=>{c=0,l(e)})}else if("async"===e.type)e.fn(...o,e=>{e?(c=0,l(e)):0==(c-=1)&&i()});else{let t=!1;try{e.fn(...o)}catch(e){t=!0,c=0,l(e)}t||0!=--c||i()}if(c<=0)return}}}class u extends a{callAsyncStageRange(e,...t){let{stageRange:[s],tapsInRange:n}=e,r=t.slice(0,t.length-1),a=t[t.length-1],o=this._prepareArgs(r);-1/0===s&&this._runCallInterceptors(...o);let i=()=>{this._runDoneInterceptors(),a(null)},l=e=>{this._runErrorInterceptors(e),a(e)};if(0===n.length)return i();let c=0,p=()=>{let e=n[c];if(this._runTapInterceptors(e),"promise"===e.type){let t=e.fn(...o);if(!t||!t.then)throw Error(`Tap function (tapPromise) did not return promise (returned ${t})`);t.then(()=>{(c+=1)===n.length?i():p()},e=>{c=n.length,l(e)})}else if("async"===e.type)e.fn(...o,e=>{e?(c=n.length,l(e)):(c+=1)===n.length?i():p()});else{let t=!1;try{e.fn(...o)}catch(e){t=!0,c=n.length,l(e)}t||((c+=1)===n.length?i():p())}if(c===n.length)return};p()}}class g extends a{callAsyncStageRange(e,...t){let{stageRange:[s],tapsInRange:n}=e,r=t.slice(0,t.length-1),a=t[t.length-1],o=this._prepareArgs(r);-1/0===s&&this._runCallInterceptors(...o);let i=()=>{this._runDoneInterceptors(),a(null)},l=e=>{this._runErrorInterceptors(e),a(e)},c=e=>{this._runResultInterceptors(e),a(null,e)};if(0===n.length)return i();let p=0,h=()=>{let e=n[p];if(this._runTapInterceptors(e),"promise"===e.type){let t=e.fn(...o);if(!t||!t.then)throw Error(`Tap function (tapPromise) did not return promise (returned ${t})`);t.then(e=>{p+=1,void 0!==e?c(e):p===n.length?i():h()},e=>{p=n.length,l(e)})}else if("async"===e.type)e.fn(...o,(e,t)=>{e?(p=n.length,l(e)):(p+=1,void 0!==t?c(t):p===n.length?i():h())});else{let t,s=!1;try{t=e.fn(...o)}catch(e){s=!0,p=n.length,l(e)}s||(p+=1,void 0!==t?c(t):p===n.length?i():h())}if(p===n.length)return};h()}}class f extends a{callAsyncStageRange(e,...t){let{stageRange:[s],tapsInRange:n}=e,r=t.slice(0,t.length-1),a=t[t.length-1],o=this._prepareArgs(r);-1/0===s&&this._runCallInterceptors(...o);let i=e=>{this._runResultInterceptors(e),a(null,e)},l=e=>{this._runErrorInterceptors(e),a(e)};if(0===n.length)return i(o[0]);let c=0,p=()=>{let e=n[c];if(this._runTapInterceptors(e),"promise"===e.type){let t=e.fn(...o);if(!t||!t.then)throw Error(`Tap function (tapPromise) did not return promise (returned ${t})`);t.then(e=>{c+=1,void 0!==e&&(o[0]=e),c===n.length?i(o[0]):p()},e=>{c=n.length,l(e)})}else if("async"===e.type)e.fn(...o,(e,t)=>{e?(c=n.length,l(e)):(c+=1,void 0!==t&&(o[0]=t),c===n.length?i(o[0]):p())});else{let t=!1;try{let t=e.fn(...o);void 0!==t&&(o[0]=t)}catch(e){t=!0,c=n.length,l(e)}t||((c+=1)===n.length?i(o[0]):p())}if(c===n.length)return};p()}constructor(e=[],t){if(e.length<1)throw Error("Waterfall hooks must have at least one argument");super(e,t)}}let d=(e,t)=>t;class m{get(e){return this._map.get(e)}for(e){let t=this.get(e);if(void 0!==t)return t;let s=this._factory(e),n=this._interceptors;for(let t=0;t<n.length;t++){let r=n[t].factory;r&&(s=r(e,s))}return this._map.set(e,s),s}intercept(e){this._interceptors.push(Object.assign({factory:d},e))}isUsed(){for(let e of this._map.keys()){let t=this.get(e);if(t?.isUsed())return!0}return!1}queryStageRange(e){return new y(e,this)}constructor(e,t){r(this,"_map",new Map),r(this,"_factory",void 0),r(this,"name",void 0),r(this,"_interceptors",void 0),this.name=t,this._factory=e,this._interceptors=[]}}class y{get(e){return this.hookMap.get(e)?.queryStageRange(this.stageRange)}for(e){return this.hookMap.for(e).queryStageRange(this.stageRange)}isUsed(){for(let e of this.hookMap._map.keys())if(this.get(e)?.isUsed())return!0;return!1}constructor(e,t){r(this,"stageRange",void 0),r(this,"hookMap",void 0),this.stageRange=e,this.hookMap=t}}class k{tap(e,t){for(let s of this.hooks)s.tap(e,t)}tapAsync(e,t){for(let s of this.hooks)s.tapAsync(e,t)}tapPromise(e,t){for(let s of this.hooks)s.tapPromise(e,t)}isUsed(){for(let e of this.hooks)if(e.isUsed())return!0;return!1}intercept(e){for(let t of this.hooks)t.intercept(e)}withOptions(e){return new k(this.hooks.map(t=>t.withOptions(e)),this.name)}constructor(e,t){r(this,"hooks",void 0),r(this,"name",void 0),this.hooks=e,this.name=t}}for(var S in s.d(n,{AsyncParallelHook:()=>h,AsyncSeriesBailHook:()=>g,AsyncSeriesHook:()=>u,AsyncSeriesWaterfallHook:()=>f,HookBase:()=>a,HookMap:()=>m,MultiHook:()=>k,QueriedHook:()=>i,QueriedHookMap:()=>y,SyncBailHook:()=>c,SyncHook:()=>l,SyncWaterfallHook:()=>p},{maxStage:1/0,minStage:-1/0,safeStage:e=>e<-0x80000000?-0x80000000:e>0x7fffffff?0x7fffffff:e}),t.AsyncParallelHook=n.AsyncParallelHook,t.AsyncSeriesBailHook=n.AsyncSeriesBailHook,t.AsyncSeriesHook=n.AsyncSeriesHook,t.AsyncSeriesWaterfallHook=n.AsyncSeriesWaterfallHook,t.HookBase=n.HookBase,t.HookMap=n.HookMap,t.MultiHook=n.MultiHook,t.QueriedHook=n.QueriedHook,t.QueriedHookMap=n.QueriedHookMap,t.SyncBailHook=n.SyncBailHook,t.SyncHook=n.SyncHook,t.SyncWaterfallHook=n.SyncWaterfallHook,t.maxStage=n.maxStage,t.minStage=n.minStage,t.safeStage=n.safeStage,n)-1===["AsyncParallelHook","AsyncSeriesBailHook","AsyncSeriesHook","AsyncSeriesWaterfallHook","HookBase","HookMap","MultiHook","QueriedHook","QueriedHookMap","SyncBailHook","SyncHook","SyncWaterfallHook","maxStage","minStage","safeStage"].indexOf(S)&&(t[S]=n[S]);Object.defineProperty(t,"__esModule",{value:!0})}});var s=e("../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/rspack-manifest-plugin/5.2.2/9919f482fd00d27c94e8e9f65edbae4f86987a8c95774cc077aa085a1cd380ae/node_modules/rspack-manifest-plugin/dist/index.js").RspackManifestPlugin;export{s as RspackManifestPlugin};