@seed-design/codemod 0.0.20 → 0.0.21
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.
- package/bin/index.cjs +3 -3
- package/bin/transforms/replace-css-seed-design-color-variable/index.js +1 -1
- package/bin/transforms/replace-css-seed-design-typography-variable/index.js +1 -1
- package/bin/transforms/replace-custom-seed-design-text-component/index.js +1 -1
- package/bin/transforms/replace-custom-text-component-color-prop/index.js +1 -1
- package/bin/transforms/replace-react-icon/index.js +1 -1
- package/bin/transforms/replace-seed-design-token-typography-classname/index.js +1 -1
- package/bin/transforms/replace-seed-design-token-vars/index.js +1 -1
- package/bin/transforms/replace-stitches-styled-color/index.js +1 -1
- package/bin/transforms/replace-stitches-styled-typography/index.js +1 -1
- package/bin/transforms/replace-stitches-theme-color/index.js +1 -1
- package/bin/transforms/replace-tailwind-color/index.js +1 -1
- package/bin/transforms/replace-tailwind-typography/index.js +1 -1
- package/package.json +1 -2
@@ -61,7 +61,7 @@ ${x}`),g.pop(),`{${R}}`}case"number":return isFinite(p)?String(p):e?e(p):"null";
|
|
61
61
|
`));p&&this.exceptions.handle(p),g&&this.rejections.handle(g)}isLevelEnabled(e){let t=ml(this.levels,e);if(t===null)return!1;let n=ml(this.levels,this.level);return n===null?!1:!this.transports||this.transports.length===0?n>=t:this.transports.findIndex(s=>{let o=ml(this.levels,s.level);return o===null&&(o=n),o>=t})!==-1}log(e,t,...n){if(arguments.length===1)return e[Ge]=e.level,this._addDefaultMeta(e),this.write(e),this;if(arguments.length===2)return t&&typeof t=="object"?(t[Ge]=t.level=e,this._addDefaultMeta(t),this.write(t),this):(t={[Ge]:e,level:e,message:t},this._addDefaultMeta(t),this.write(t),this);let[i]=n;if(typeof i=="object"&&i!==null&&!(t&&t.match&&t.match(o_))){let o=Object.assign({},this.defaultMeta,i,{[Ge]:e,[mm]:n,level:e,message:t});return i.message&&(o.message=`${o.message} ${i.message}`),i.stack&&(o.stack=i.stack),i.cause&&(o.cause=i.cause),this.write(o),this}return this.write(Object.assign({},this.defaultMeta,{[Ge]:e,[mm]:n,level:e,message:t})),this}_transform(e,t,n){if(this.silent)return n();e[Ge]||(e[Ge]=e.level),!this.levels[e[Ge]]&&this.levels[e[Ge]]!==0&&console.error("[winston] Unknown logger level: %s",e[Ge]),this._readableState.pipes||console.error("[winston] Attempt to write logs with no transports, which can increase memory usage: %j",e);try{this.push(this.format.transform(e,this.format.options))}finally{this._writableState.sync=!1,n()}}_final(e){let t=this.transports.slice();gm(t,(n,i)=>{if(!n||n.finished)return setImmediate(i);n.once("finish",i),n.end()},e)}add(e){let t=!vm(e)||e.log.length>2?new r_({transport:e}):e;if(!t._writableState||!t._writableState.objectMode)throw new Error("Transports must WritableStreams in objectMode. Set { objectMode: true }.");return this._onEvent("error",t),this._onEvent("warn",t),this.pipe(t),e.handleExceptions&&this.exceptions.handle(),e.handleRejections&&this.rejections.handle(),this}remove(e){if(!e)return this;let t=e;return(!vm(e)||e.log.length>2)&&(t=this.transports.filter(n=>n.transport===e)[0]),t&&this.unpipe(t),this}clear(){return this.unpipe(),this}close(){return this.exceptions.unhandle(),this.rejections.unhandle(),this.clear(),this.emit("close"),this}setLevels(){i_.deprecated("setLevels")}query(e,t){typeof e=="function"&&(t=e,e={}),e=e||{};let n={},i=Object.assign({},e.query||{});function s(a,l){e.query&&typeof a.formatQuery=="function"&&(e.query=a.formatQuery(i)),a.query(e,(u,c)=>{if(u)return l(u);typeof a.formatResults=="function"&&(c=a.formatResults(c,e.format)),l(null,c)})}function o(a,l){s(a,(u,c)=>{l&&(c=u||c,c&&(n[a.name]=c),l()),l=null})}gm(this.transports.filter(a=>!!a.query),o,()=>t(null,n))}stream(e={}){let t=new ZS,n=[];return t._streams=n,t.destroy=()=>{let i=n.length;for(;i--;)n[i].destroy()},this.transports.filter(i=>!!i.stream).forEach(i=>{let s=i.stream(e);s&&(n.push(s),s.on("log",o=>{o.transport=o.transport||[],o.transport.push(i.name),t.emit("log",o)}),s.on("error",o=>{o.transport=o.transport||[],o.transport.push(i.name),t.emit("error",o)}))}),t}startTimer(){return new n_(this)}profile(e,...t){let n=Date.now();if(this.profilers[e]){let i=this.profilers[e];delete this.profilers[e],typeof t[t.length-2]=="function"&&(console.warn("Callback function no longer supported as of winston@3.0.0"),t.pop());let s=typeof t[t.length-1]=="object"?t.pop():{};return s.level=s.level||"info",s.durationMs=n-i,s.message=s.message||e,this.write(s)}return this.profilers[e]=n,this}handleExceptions(...e){console.warn("Deprecated: .handleExceptions() will be removed in winston@4. Use .exceptions.handle()"),this.exceptions.handle(...e)}unhandleExceptions(...e){console.warn("Deprecated: .unhandleExceptions() will be removed in winston@4. Use .exceptions.unhandle()"),this.exceptions.unhandle(...e)}cli(){throw new Error(["Logger.cli() was removed in winston@3.0.0","Use a custom winston.formats.cli() instead.","See: https://github.com/winstonjs/winston/tree/master/UPGRADE-3.0.md"].join(`
|
62
62
|
`))}_onEvent(e,t){function n(i){e==="error"&&!this.transports.includes(t)&&this.add(t),this.emit(e,i,t)}t["__winston"+e]||(t["__winston"+e]=n.bind(this),t.on(e,t["__winston"+e]))}_addDefaultMeta(e){this.defaultMeta&&Object.assign(e,this.defaultMeta)}};function ml(r,e){let t=r[e];return!t&&t!==0?null:t}Object.defineProperty(Ts.prototype,"transports",{configurable:!1,enumerable:!0,get(){let{pipes:r}=this._readableState;return Array.isArray(r)?r:[r].filter(Boolean)}});ym.exports=Ts});var vl=m((jL,wm)=>{"use strict";var{LEVEL:a_}=H(),l_=Is(),u_=Rs(),c_=En()("winston:create-logger");function h_(r){return"is"+r.charAt(0).toUpperCase()+r.slice(1)+"Enabled"}wm.exports=function(r={}){r.levels=r.levels||l_.npm.levels;class e extends u_{constructor(i){super(i)}}let t=new e(r);return Object.keys(r.levels).forEach(function(n){if(c_('Define prototype method for "%s"',n),n==="log"){console.warn('Level "log" not defined: conflicts with the method "log". Use a different level name.');return}e.prototype[n]=function(...i){let s=this||t;if(i.length===1){let[o]=i,a=o&&o.message&&o||{message:o};return a.level=a[a_]=n,s._addDefaultMeta(a),s.write(a),this||t}return i.length===0?(s.log(n,""),s):s.log(n,...i)},e.prototype[h_(n)]=function(){return(this||t).isLevelEnabled(n)}}),t}});var xm=m((UL,bm)=>{"use strict";var f_=vl();bm.exports=class{constructor(e={}){this.loggers=new Map,this.options=e}add(e,t){if(!this.loggers.has(e)){t=Object.assign({},t||this.options);let n=t.transports||this.options.transports;n?t.transports=Array.isArray(n)?n.slice():[n]:t.transports=[];let i=f_(t);i.on("close",()=>this._delete(e)),this.loggers.set(e,i)}return this.loggers.get(e)}get(e,t){return this.add(e,t)}has(e){return!!this.loggers.has(e)}close(e){if(e)return this._removeLogger(e);this.loggers.forEach((t,n)=>this._removeLogger(n))}_removeLogger(e){if(!this.loggers.has(e))return;this.loggers.get(e).close(),this._delete(e)}_delete(e){this.loggers.delete(e)}}});var Sm=m(P=>{"use strict";var Im=aa(),{warn:Fn}=la();P.version=Yf().version;P.transports=Yg();P.config=Is();P.addColors=Im.levels;P.format=Im.format;P.createLogger=vl();P.Logger=Rs();P.ExceptionHandler=fl();P.RejectionHandler=dl();P.Container=xm();P.Transport=fr();P.loggers=new P.Container;var Ve=P.createLogger();Object.keys(P.config.npm.levels).concat(["log","query","stream","add","remove","clear","profile","startTimer","handleExceptions","unhandleExceptions","handleRejections","unhandleRejections","configure","child"]).forEach(r=>P[r]=(...e)=>Ve[r](...e));Object.defineProperty(P,"level",{get(){return Ve.level},set(r){Ve.level=r}});Object.defineProperty(P,"exceptions",{get(){return Ve.exceptions}});Object.defineProperty(P,"rejections",{get(){return Ve.rejections}});["exitOnError"].forEach(r=>{Object.defineProperty(P,r,{get(){return Ve[r]},set(e){Ve[r]=e}})});Object.defineProperty(P,"default",{get(){return{exceptionHandlers:Ve.exceptionHandlers,rejectionHandlers:Ve.rejectionHandlers,transports:Ve.transports}}});Fn.deprecated(P,"setLevels");Fn.forFunctions(P,"useFormat",["cli"]);Fn.forProperties(P,"useFormat",["padLevels","stripColors"]);Fn.forFunctions(P,"deprecated",["addRewriter","addFilter","clone","extend"]);Fn.forProperties(P,"deprecated",["emitErrs","levelLength"])});var v_={};$m(v_,{default:()=>m_,processCssFiles:()=>g_});module.exports=Pm(v_);var Cl=[{previous:"$semantic.color.on-primary",next:["$color.palette.static-white"]},{previous:"$semantic.color.primary",next:["$color.bg.brand-solid","$color.fg.brand"],alternative:["$color.palette.carrot-600"]},{previous:"$semantic.color.primary-low",next:["$color.palette.carrot-100"]},{previous:"$semantic.color.secondary",next:["$color.palette.gray-900"]},{previous:"$semantic.color.secondary-low",next:["$color.bg.neutral-weak"],alternative:["$color.palette.gray-200"]},{previous:"$semantic.color.success",next:["$color.bg.positive-solid","$color.fg.positive"],alternative:["$color.fg.positive-contrast","$color.palette.green-700"]},{previous:"$semantic.color.success-low",next:["$color.bg.positive-weak"],alternative:["$color.palette.green-100"]},{previous:"$semantic.color.warning",next:["$color.bg.warning-solid"],alternative:["$color.fg.warning-contrast","$color.palette.yellow-500"]},{previous:"$semantic.color.warning-low",next:["$color.bg.warning-weak"],alternative:["$color.palette.yellow-100"]},{previous:"$semantic.color.danger",next:["$color.bg.critical-solid","$color.fg.critical"],alternative:["$color.fg.critical-contrast","$color.palette.red-700"]},{previous:"$semantic.color.danger-low",next:["$color.bg.critical-weak"],alternative:["$color.palette.red-100"]},{previous:"$semantic.color.overlay-dim",next:["$color.bg.overlay"],alternative:["$color.palette.static-black-alpha-500"]},{previous:"$semantic.color.overlay-low",next:["$color.bg.overlay-muted"],alternative:["$color.palette.static-black-alpha-200"]},{previous:"$semantic.color.paper-sheet",next:["$color.bg.layer-floating"],alternative:["$color.palette.gray-00"]},{previous:"$semantic.color.paper-dialog",next:["$color.bg.layer-floating"],alternative:["$color.palette.gray-00"]},{previous:"$semantic.color.paper-floating",next:["$color.bg.layer-floating"],alternative:["$color.palette.gray-00"]},{previous:"$semantic.color.paper-contents",next:["$color.bg.layer-fill"],alternative:["$color.palette.gray-100"]},{previous:"$semantic.color.paper-default",next:["$color.bg.layer-default"],alternative:["$color.palette.gray-00"]},{previous:"$semantic.color.paper-background",next:["$color.bg.layer-basement"],alternative:["$color.palette.gray-200"]},{previous:"$semantic.color.paper-accent",next:["$color.palette.carrot-100"]},{previous:"$semantic.color.primary-hover",next:["$color.bg.brand-solid-pressed"],alternative:["$color.palette.carrot-700"]},{previous:"$semantic.color.primary-pressed",next:["$color.bg.brand-solid-pressed"],alternative:["$color.palette.carrot-700"]},{previous:"$semantic.color.primary-low-hover",next:["$color.palette.carrot-200"]},{previous:"$semantic.color.primary-low-active",next:["$color.palette.carrot-100"]},{previous:"$semantic.color.primary-low-pressed",next:["$color.palette.carrot-200"]},{previous:"$semantic.color.gray-hover",next:["$color.bg.neutral-weak-pressed"],alternative:["$color.palette.gray-300"]},{previous:"$semantic.color.gray-pressed",next:["$color.bg.neutral-weak-pressed"],alternative:["$color.palette.gray-300"]},{previous:"$semantic.color.on-primary-overlay-50",next:[],description:"V3\uC5D0\uC11C \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uB294 \uC0C9\uC0C1"},{previous:"$semantic.color.on-primary-overlay-200",next:[],description:"V3\uC5D0\uC11C \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uB294 \uC0C9\uC0C1"},{previous:"$semantic.color.on-primary-low-overlay-50",next:[],description:"V3\uC5D0\uC11C \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uB294 \uC0C9\uC0C1"},{previous:"$semantic.color.on-primary-low-overlay-100",next:[],description:"V3\uC5D0\uC11C \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uB294 \uC0C9\uC0C1"},{previous:"$semantic.color.on-primary-low-overlay-200",next:[],description:"V3\uC5D0\uC11C \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uB294 \uC0C9\uC0C1"},{previous:"$semantic.color.on-gray-overlay-50",next:["$color.stroke.on-image"]},{previous:"$semantic.color.on-gray-overlay-100",next:[],description:"V3\uC5D0\uC11C \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uB294 \uC0C9\uC0C1"},{previous:"$semantic.color.divider-1",next:["$color.stroke.neutral-muted"],alternative:["$color.palette.static-black-alpha-50"]},{previous:"$semantic.color.divider-2",next:["$color.stroke.neutral"],alternative:["$color.palette.gray-300"]},{previous:"$semantic.color.divider-3",next:["$color.palette.gray-400"]},{previous:"$semantic.color.accent",next:["$color.bg.informative-solid","$color.fg.informative"],alternative:["$color.fg.informative-contrast","$color.palette.blue-700"]},{previous:"$semantic.color.ink-text",next:["$color.fg.neutral"],alternative:["$color.palette.gray-1000"]},{previous:"$semantic.color.ink-text-low",next:["$color.fg.neutral-subtle"],alternative:["$color.palette.gray-700"]},{previous:"$semantic.color.gray-active",next:["$color.fg.neutral-muted"],alternative:["$color.palette.gray-800"]}],El=[{previous:"$scale.color.gray-00",next:["$color.palette.gray-00"]},{previous:"$scale.color.gray-50",next:["$color.palette.gray-100"]},{previous:"$scale.color.gray-100",next:["$color.palette.gray-200"]},{previous:"$scale.color.gray-200",next:["$color.palette.gray-300"]},{previous:"$scale.color.gray-300",next:["$color.palette.gray-400"]},{previous:"$scale.color.gray-400",next:["$color.palette.gray-500"]},{previous:"$scale.color.gray-500",next:["$color.palette.gray-600"]},{previous:"$scale.color.gray-600",next:["$color.palette.gray-700"]},{previous:"$scale.color.gray-700",next:["$color.palette.gray-800"]},{previous:"$scale.color.gray-800",next:["$color.palette.gray-900"]},{previous:"$scale.color.gray-900",next:["$color.palette.gray-1000"]},{previous:"$scale.color.gray-alpha-50",next:["$color.palette.gray-200","$color.stroke.on-image"]},{previous:"$scale.color.gray-alpha-100",next:["$color.palette.gray-300"]},{previous:"$scale.color.gray-alpha-200",next:["$color.palette.gray-500"]},{previous:"$scale.color.gray-alpha-500",next:["$color.palette.gray-700"]},{previous:"$scale.color.carrot-50",next:["$color.palette.carrot-100"]},{previous:"$scale.color.carrot-100",next:["$color.palette.carrot-200"]},{previous:"$scale.color.carrot-200",next:["$color.palette.carrot-300"]},{previous:"$scale.color.carrot-300",next:["$color.palette.carrot-400"]},{previous:"$scale.color.carrot-400",next:["$color.palette.carrot-500"]},{previous:"$scale.color.carrot-500",next:["$color.palette.carrot-600"]},{previous:"$scale.color.carrot-600",next:["$color.palette.carrot-600"]},{previous:"$scale.color.carrot-700",next:["$color.palette.carrot-700"]},{previous:"$scale.color.carrot-800",next:["$color.palette.carrot-700"]},{previous:"$scale.color.carrot-900",next:["$color.palette.carrot-800"]},{previous:"$scale.color.carrot-950",next:["$color.palette.carrot-800"]},{previous:"$scale.color.carrot-alpha-50",next:["$color.palette.carrot-100"]},{previous:"$scale.color.carrot-alpha-100",next:["$color.palette.carrot-200"]},{previous:"$scale.color.carrot-alpha-200",next:["$color.palette.carrot-200"]},{previous:"$scale.color.blue-50",next:["$color.palette.blue-100"]},{previous:"$scale.color.blue-100",next:["$color.palette.blue-200"]},{previous:"$scale.color.blue-200",next:["$color.palette.blue-300"]},{previous:"$scale.color.blue-300",next:["$color.palette.blue-400"]},{previous:"$scale.color.blue-400",next:["$color.palette.blue-400"]},{previous:"$scale.color.blue-500",next:["$color.palette.blue-600"]},{previous:"$scale.color.blue-600",next:["$color.palette.blue-600"]},{previous:"$scale.color.blue-700",next:["$color.palette.blue-800"]},{previous:"$scale.color.blue-800",next:["$color.palette.blue-900"]},{previous:"$scale.color.blue-900",next:["$color.palette.blue-900"]},{previous:"$scale.color.blue-950",next:["$color.palette.blue-1000"]},{previous:"$scale.color.blue-alpha-50",next:["$color.palette.blue-100"]},{previous:"$scale.color.blue-alpha-100",next:["$color.palette.blue-100"]},{previous:"$scale.color.blue-alpha-200",next:["$color.palette.blue-200"]},{previous:"$scale.color.red-50",next:["$color.palette.red-100"]},{previous:"$scale.color.red-100",next:["$color.palette.red-200"]},{previous:"$scale.color.red-200",next:["$color.palette.red-300"]},{previous:"$scale.color.red-300",next:["$color.palette.red-400"]},{previous:"$scale.color.red-400",next:["$color.palette.red-600"]},{previous:"$scale.color.red-500",next:["$color.palette.red-700"]},{previous:"$scale.color.red-600",next:["$color.palette.red-700"]},{previous:"$scale.color.red-700",next:["$color.palette.red-800"]},{previous:"$scale.color.red-800",next:["$color.palette.red-900"]},{previous:"$scale.color.red-900",next:["$color.palette.red-900"]},{previous:"$scale.color.red-950",next:["$color.palette.red-900"]},{previous:"$scale.color.red-alpha-50",next:["$color.palette.red-100"]},{previous:"$scale.color.red-alpha-100",next:["$color.palette.red-200"]},{previous:"$scale.color.red-alpha-200",next:["$color.palette.red-300"]},{previous:"$scale.color.green-50",next:["$color.palette.green-100"]},{previous:"$scale.color.green-100",next:["$color.palette.green-200"]},{previous:"$scale.color.green-200",next:["$color.palette.green-300"]},{previous:"$scale.color.green-300",next:["$color.palette.green-400"]},{previous:"$scale.color.green-400",next:["$color.palette.green-500"]},{previous:"$scale.color.green-500",next:["$color.palette.green-600"]},{previous:"$scale.color.green-600",next:["$color.palette.green-700"]},{previous:"$scale.color.green-700",next:["$color.palette.green-800"]},{previous:"$scale.color.green-800",next:["$color.palette.green-900"]},{previous:"$scale.color.green-900",next:["$color.palette.green-900"]},{previous:"$scale.color.green-950",next:["$color.palette.green-900"]},{previous:"$scale.color.green-alpha-50",next:["$color.palette.green-100"]},{previous:"$scale.color.green-alpha-100",next:["$color.palette.green-200"]},{previous:"$scale.color.green-alpha-200",next:["$color.palette.green-200"]},{previous:"$scale.color.yellow-50",next:["$color.palette.yellow-100"]},{previous:"$scale.color.yellow-100",next:["$color.palette.yellow-200"]},{previous:"$scale.color.yellow-200",next:["$color.palette.yellow-300"]},{previous:"$scale.color.yellow-300",next:["$color.palette.yellow-400"]},{previous:"$scale.color.yellow-400",next:["$color.palette.yellow-500"]},{previous:"$scale.color.yellow-500",next:["$color.palette.yellow-700"]},{previous:"$scale.color.yellow-600",next:["$color.palette.yellow-700"]},{previous:"$scale.color.yellow-700",next:["$color.palette.yellow-800"]},{previous:"$scale.color.yellow-800",next:["$color.palette.yellow-800"]},{previous:"$scale.color.yellow-900",next:["$color.palette.yellow-900"]},{previous:"$scale.color.yellow-950",next:["$color.palette.yellow-900"]},{previous:"$scale.color.yellow-alpha-50",next:["$color.palette.yellow-100"]},{previous:"$scale.color.yellow-alpha-100",next:["$color.palette.yellow-100"]},{previous:"$scale.color.yellow-alpha-200",next:["$color.palette.yellow-100"]},{previous:"$scale.color.purple-50",next:["$color.palette.purple-100"]},{previous:"$scale.color.purple-100",next:["$color.palette.purple-300"]},{previous:"$scale.color.purple-200",next:["$color.palette.purple-400"]},{previous:"$scale.color.purple-300",next:["$color.palette.purple-400"]},{previous:"$scale.color.purple-400",next:["$color.palette.purple-500"]},{previous:"$scale.color.purple-500",next:["$color.palette.purple-600"]},{previous:"$scale.color.purple-600",next:["$color.palette.purple-700"]},{previous:"$scale.color.purple-700",next:["$color.palette.purple-800"]},{previous:"$scale.color.purple-800",next:["$color.palette.purple-900"]},{previous:"$scale.color.purple-900",next:["$color.palette.purple-900"]},{previous:"$scale.color.purple-950",next:["$color.palette.purple-1000"]}],Ll=[{previous:"$static.color.static-black",next:["$color.palette.static-black"]},{previous:"$static.color.static-white",next:["$color.palette.static-white"]},{previous:"$static.color.static-gray-900",next:["$color.palette.static-black"],description:"static\uC5D0\uC11C palette\uB85C \uBCC0\uACBD\uB418\uB294 \uC0C9\uC0C1\uC73C\uB85C \uC6A9\uB3C4 \uD30C\uC545 \uD544\uC694",needsVerification:!0},{previous:"$static.color.static-carrot-50",next:["$color.palette.carrot-100"],description:"static\uC5D0\uC11C palette\uB85C \uBCC0\uACBD\uB418\uB294 \uC0C9\uC0C1\uC73C\uB85C \uC6A9\uB3C4 \uD30C\uC545 \uD544\uC694",needsVerification:!0},{previous:"$static.color.static-carrot-800",next:["$color.palette.carrot-700"],description:"static\uC5D0\uC11C palette\uB85C \uBCC0\uACBD\uB418\uB294 \uC0C9\uC0C1\uC73C\uB85C \uC6A9\uB3C4 \uD30C\uC545 \uD544\uC694",needsVerification:!0},{previous:"$static.color.static-green-50",next:["$color.palette.green-100"],description:"static\uC5D0\uC11C palette\uB85C \uBCC0\uACBD\uB418\uB294 \uC0C9\uC0C1\uC73C\uB85C \uC6A9\uB3C4 \uD30C\uC545 \uD544\uC694",needsVerification:!0},{previous:"$static.color.static-green-800",next:["$color.palette.green-700"],description:"static\uC5D0\uC11C palette\uB85C \uBCC0\uACBD\uB418\uB294 \uC0C9\uC0C1\uC73C\uB85C \uC6A9\uB3C4 \uD30C\uC545 \uD544\uC694",needsVerification:!0},{previous:"$static.color.static-yellow-50",next:["$color.palette.yellow-100"],description:"static\uC5D0\uC11C palette\uB85C \uBCC0\uACBD\uB418\uB294 \uC0C9\uC0C1\uC73C\uB85C \uC6A9\uB3C4 \uD30C\uC545 \uD544\uC694",needsVerification:!0},{previous:"$static.color.static-yellow-800",next:["$color.palette.yellow-700"],description:"static\uC5D0\uC11C palette\uB85C \uBCC0\uACBD\uB418\uB294 \uC0C9\uC0C1\uC73C\uB85C \uC6A9\uB3C4 \uD30C\uC545 \uD544\uC694",needsVerification:!0},{previous:"$static.color.static-red-50",next:["$color.palette.red-100"],description:"static\uC5D0\uC11C palette\uB85C \uBCC0\uACBD\uB418\uB294 \uC0C9\uC0C1\uC73C\uB85C \uC6A9\uB3C4 \uD30C\uC545 \uD544\uC694",needsVerification:!0},{previous:"$static.color.static-red-800",next:["$color.palette.red-700"],description:"static\uC5D0\uC11C palette\uB85C \uBCC0\uACBD\uB418\uB294 \uC0C9\uC0C1\uC73C\uB85C \uC6A9\uB3C4 \uD30C\uC545 \uD544\uC694",needsVerification:!0},{previous:"$static.color.static-blue-50",next:["$color.palette.blue-100"],description:"static\uC5D0\uC11C palette\uB85C \uBCC0\uACBD\uB418\uB294 \uC0C9\uC0C1\uC73C\uB85C \uC6A9\uB3C4 \uD30C\uC545 \uD544\uC694",needsVerification:!0},{previous:"$static.color.static-blue-800",next:["$color.palette.blue-700"],description:"static\uC5D0\uC11C palette\uB85C \uBCC0\uACBD\uB418\uB294 \uC0C9\uC0C1\uC73C\uB85C \uC6A9\uB3C4 \uD30C\uC545 \uD544\uC694",needsVerification:!0},{previous:"$static.color.static-black-alpha-200",next:["$color.palette.static-black-alpha-200"]},{previous:"$static.color.static-black-alpha-500",next:["$color.palette.static-black-alpha-500"]},{previous:"$static.color.static-white-alpha-50",next:[],description:"V3\uC5D0\uC11C \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uB294 \uC0C9\uC0C1"},{previous:"$static.color.static-white-alpha-200",next:["$color.palette.static-white-alpha-200"]}],Os=[...Cl,...El,...Ll];var Rl=[{previous:"IconAddThin",next:["IconPlusLine"]},{previous:"IconAddRegular",next:["IconPlusLine"]},{previous:"IconAddFill",next:["IconPlusFill"]},{previous:"IconAddCircleThin",next:["IconPlusCircleLine"]},{previous:"IconAddCircleRegular",next:["IconPlusCircleLine"]},{previous:"IconAddCircleFill",next:["IconPlusCircleFill"]},{previous:"IconAebThin",next:["IconCarFrontUpsideWave2ReversedUpLine"]},{previous:"IconAebRegular",next:["IconCarFrontUpsideWave2ReversedUpLine"]},{previous:"IconAebFill",next:["IconCarFrontUpsideWave2ReversedUpFill"]},{previous:"IconAiThin",next:["IconSparkle2Line"]},{previous:"IconAiRegular",next:["IconSparkle2Line"]},{previous:"IconAiFill",next:["IconSparkle2Fill"]},{previous:"IconAndroidShareThin",next:["IconAndroidshareLine"]},{previous:"IconAndroidShareRegular",next:["IconAndroidshareLine"]},{previous:"IconAndroidShareFill",next:["IconAndroidshareFill"]},{previous:"IconArrowThin",next:["IconArrowUpRightLine"]},{previous:"IconArrowRegular",next:["IconArrowUpRightLine"]},{previous:"IconArrowFill",next:["IconArrowUpRightFill"]},{previous:"IconArrowDownwardThin",next:["IconArrowDownLine"]},{previous:"IconArrowDownwardRegular",next:["IconArrowDownLine"]},{previous:"IconArrowDownwardFill",next:["IconArrowDownFill"]},{previous:"IconArrowDropDownThin",next:["IconTriangleDownSmallLine"]},{previous:"IconArrowDropDownRegular",next:["IconTriangleDownSmallLine"]},{previous:"IconArrowDropDownFill",next:["IconTriangleDownSmallFill"]},{previous:"IconArrowDropUpThin",next:["IconTriangleUpSmallLine"]},{previous:"IconArrowDropUpRegular",next:["IconTriangleUpSmallLine"]},{previous:"IconArrowDropUpFill",next:["IconTriangleUpSmallFill"]},{previous:"IconArrowUpwardThin",next:["IconArrowUpLine"]},{previous:"IconArrowUpwardRegular",next:["IconArrowUpLine"]},{previous:"IconArrowUpwardFill",next:["IconArrowUpFill"]},{previous:"IconArticleThin",next:["IconArticleLine"]},{previous:"IconArticleRegular",next:["IconArticleLine"]},{previous:"IconArticleFill",next:["IconArticleFill"]},{previous:"IconBackwardThin",next:["IconArrowLeftLine"]},{previous:"IconBackwardRegular",next:["IconArrowLeftLine"]},{previous:"IconBackwardFill",next:["IconArrowLeftFill"]},{previous:"IconBillThin",next:["IconReceiptLine"]},{previous:"IconBillRegular",next:["IconReceiptLine"]},{previous:"IconBillFill",next:["IconReceiptFill"]},{previous:"IconBoldThin",next:["IconTUppercaseSerifLine"],description:"\uBCC0\uACBD \uD6C4 \uD655\uC778\uC774 \uD544\uC694\uD574\uC694."},{previous:"IconBoldRegular",next:["IconTUppercaseSerifLine"],description:"\uBCC0\uACBD \uD6C4 \uD655\uC778\uC774 \uD544\uC694\uD574\uC694."},{previous:"IconBoldFill",next:["IconTUppercaseSerifFill"],description:"\uBCC0\uACBD \uD6C4 \uD655\uC778\uC774 \uD544\uC694\uD574\uC694."},{previous:"IconBookmarkThin",next:["IconBookmarkLine"]},{previous:"IconBookmarkRegular",next:["IconBookmarkLine"]},{previous:"IconBookmarkFill",next:["IconBookmarkFill"]},{previous:"IconBookmarkListThin",next:["IconHorizline3VerticalStarLine"]},{previous:"IconBookmarkListRegular",next:["IconHorizline3VerticalStarLine"]},{previous:"IconBookmarkListFill",next:["IconHorizline3VerticalStarFill"]},{previous:"IconCalendarThin",next:["IconCalendarLine"]},{previous:"IconCalendarRegular",next:["IconCalendarLine"]},{previous:"IconCalendarFill",next:["IconCalendarFill"]},{previous:"IconCallThin",next:["IconPhoneLine"]},{previous:"IconCallRegular",next:["IconPhoneLine"]},{previous:"IconCallFill",next:["IconPhoneFill"]},{previous:"IconCallDeclinedThin",next:["IconPhoneXmarkLine"]},{previous:"IconCallDeclinedRegular",next:["IconPhoneXmarkLine"]},{previous:"IconCallDeclinedFill",next:["IconPhoneXmarkFill"]},{previous:"IconCameraThin",next:["IconCameraLine"]},{previous:"IconCameraRegular",next:["IconCameraLine"]},{previous:"IconCameraFill",next:["IconCameraFill"]},{previous:"IconCarThin",next:["IconCarFrontsideLine"]},{previous:"IconCarRegular",next:["IconCarFrontsideLine"]},{previous:"IconCarFill",next:["IconCarFrontsideFill"]},{previous:"IconCarAroundViewThin",next:["IconArrowClockwiseOvalLine"]},{previous:"IconCarAroundViewRegular",next:["IconArrowClockwiseOvalLine"]},{previous:"IconCarAroundViewFill",next:["IconArrowClockwiseOvalFill"]},{previous:"IconCarBlindSpotThin",next:["IconCarRearUpsideWave2ReversedDownLeftLine"]},{previous:"IconCarBlindSpotRegular",next:["IconCarRearUpsideWave2ReversedDownLeftLine"]},{previous:"IconCarBlindSpotFill",next:["IconCarRearUpsideWave2ReversedDownLeftFill"]},{previous:"IconCarCruiseControlThin",next:["IconSpeedometerLine"]},{previous:"IconCarCruiseControlRegular",next:["IconSpeedometerLine"]},{previous:"IconCarCruiseControlFill",next:["IconSpeedometerFill"]},{previous:"IconCarEpbThin",next:["IconEpbLine"]},{previous:"IconCarEpbRegular",next:["IconEpbLine"]},{previous:"IconCarEpbFill",next:["IconEpbFill"]},{previous:"IconCarHeatedSeatThin",next:["IconSeatLeftHeatwave2Line"]},{previous:"IconCarHeatedSeatRegular",next:["IconSeatLeftHeatwave2Line"]},{previous:"IconCarHeatedSeatFill",next:["IconSeatLeftHeatwave2Fill"]},{previous:"IconCarHeatedSteeringWheelThin",next:["IconSteeringwheelHeatwave2Line"]},{previous:"IconCarHeatedSteeringWheelRegular",next:["IconSteeringwheelHeatwave2Line"]},{previous:"IconCarHeatedSteeringWheelFill",next:["IconSteeringwheelHeatwave2Fill"]},{previous:"IconCarLdwsThin",next:["IconRoadlaneLine"]},{previous:"IconCarLdwsRegular",next:["IconRoadlaneLine"]},{previous:"IconCarLdwsFill",next:["IconRoadlaneFill"]},{previous:"IconCarLeatherSeatThin",next:["IconSeatLeftLine"]},{previous:"IconCarLeatherSeatRegular",next:["IconSeatLeftLine"]},{previous:"IconCarLeatherSeatFill",next:["IconSeatLeftFill"]},{previous:"IconCarNavigationThin",next:["IconCompassLine"]},{previous:"IconCarNavigationRegular",next:["IconCompassLine"]},{previous:"IconCarNavigationFill",next:["IconCompassFill"]},{previous:"IconCarPowerTrunkThin",next:["IconCarRearTrunkOpenLeftsideLine"]},{previous:"IconCarPowerTrunkRegular",next:["IconCarRearTrunkOpenLeftsideLine"]},{previous:"IconCarPowerTrunkFill",next:["IconCarRearTrunkOpenLeftsideFill"]},{previous:"IconCarRearCameraThin",next:["IconCarRearUpsideSectorDownLine"]},{previous:"IconCarRearCameraRegular",next:["IconCarRearUpsideSectorDownLine"]},{previous:"IconCarRearCameraFill",next:["IconCarRearUpsideSectorDownFill"]},{previous:"IconCarRearSensorThin",next:["IconCarRearUpsideWave2ReversedDownLine"]},{previous:"IconCarRearSensorRegular",next:["IconCarRearUpsideWave2ReversedDownLine"]},{previous:"IconCarRearSensorFill",next:["IconCarRearUpsideWave2ReversedDownFill"]},{previous:"IconCarSmartKeyThin",next:["IconSmartkeyLine"]},{previous:"IconCarSmartKeyRegular",next:["IconSmartkeyLine"]},{previous:"IconCarSmartKeyFill",next:["IconSmartkeyFill"]},{previous:"IconCarVentilationSeatThin",next:["IconSeatLeftFanLine"]},{previous:"IconCarVentilationSeatRegular",next:["IconSeatLeftFanLine"]},{previous:"IconCarVentilationSeatFill",next:["IconSeatLeftFanFill"]},{previous:"IconCartThin",next:["IconCartLine"]},{previous:"IconCartRegular",next:["IconCartLine"]},{previous:"IconCartFill",next:["IconCartFill"]},{previous:"IconCertificationThin",next:["IconCrosshairLine"]},{previous:"IconCertificationRegular",next:["IconCrosshairLine"]},{previous:"IconCertificationFill",next:["IconCrosshairFill"]},{previous:"IconChallengeThin",next:["IconFlagHillLine"]},{previous:"IconChallengeRegular",next:["IconFlagHillLine"]},{previous:"IconChallengeFill",next:["IconFlagHillFill"]},{previous:"IconChartThin",next:["IconBarchartSquareLine"]},{previous:"IconChartRegular",next:["IconBarchartSquareLine"]},{previous:"IconChartFill",next:["IconBarchartSquareFill"]},{previous:"IconChatBubbleCheckThin",next:["IconCheckmarkChatbubbleLeftLine"]},{previous:"IconChatBubbleCheckRegular",next:["IconCheckmarkChatbubbleLeftLine"]},{previous:"IconChatBubbleCheckFill",next:["IconCheckmarkChatbubbleLeftFill"]},{previous:"IconChattingThin",next:["IconDot3HorizontalChatbubbleLeftLine"]},{previous:"IconChattingRegular",next:["IconDot3HorizontalChatbubbleLeftLine"]},{previous:"IconChattingFill",next:["IconDot3HorizontalChatbubbleLeftFill"]},{previous:"IconChattingSendThin",next:["IconPaperplaneLine"]},{previous:"IconChattingSendRegular",next:["IconPaperplaneLine"]},{previous:"IconChattingSendFill",next:["IconPaperplaneFill"]},{previous:"IconCheckThin",next:["IconCheckmarkLine"]},{previous:"IconCheckRegular",next:["IconCheckmarkLine"]},{previous:"IconCheckFill",next:["IconCheckmarkFill"]},{previous:"IconCheckFlowerThin",next:["IconCheckmarkFlowerLine"]},{previous:"IconCheckFlowerRegular",next:["IconCheckmarkFlowerLine"]},{previous:"IconCheckFlowerFill",next:["IconCheckmarkFlowerFill"]},{previous:"IconChevronLeftThin",next:["IconChevronLeftLine"]},{previous:"IconChevronLeftRegular",next:["IconChevronLeftLine"]},{previous:"IconChevronLeftFill",next:["IconChevronLeftFill"]},{previous:"IconChevronRightThin",next:["IconChevronRightLine"]},{previous:"IconChevronRightRegular",next:["IconChevronRightLine"]},{previous:"IconChevronRightFill",next:["IconChevronRightFill"]},{previous:"IconClickThin",next:["IconHandPointUpLine"]},{previous:"IconClickRegular",next:["IconHandPointUpLine"]},{previous:"IconClickFill",next:["IconHandPointUpFill"]},{previous:"IconClockThin",next:["IconClockLine"]},{previous:"IconClockRegular",next:["IconClockLine"]},{previous:"IconClockFill",next:["IconClockFill"]},{previous:"IconCloseThin",next:["IconXmarkLine"]},{previous:"IconCloseRegular",next:["IconXmarkLine"]},{previous:"IconCloseFill",next:["IconXmarkFill"]},{previous:"IconCobuyingThin",next:["IconShoppingbag2StackedLine"],description:"\uBCC0\uACBD \uD6C4 \uD655\uC778\uC774 \uD544\uC694\uD574\uC694."},{previous:"IconCobuyingRegular",next:["IconShoppingbag2StackedLine"],description:"\uBCC0\uACBD \uD6C4 \uD655\uC778\uC774 \uD544\uC694\uD574\uC694."},{previous:"IconCobuyingFill",next:["IconShoppingbag2StackedFill"],description:"\uBCC0\uACBD \uD6C4 \uD655\uC778\uC774 \uD544\uC694\uD574\uC694."},{previous:"IconCommunityThin",next:["IconPostLine"]},{previous:"IconCommunityRegular",next:["IconPostLine"]},{previous:"IconCommunityFill",next:["IconPostFill"]},{previous:"IconCondoThin",next:["IconBuilding2Line"]},{previous:"IconCondoRegular",next:["IconBuilding2Line"]},{previous:"IconCondoFill",next:["IconBuilding2Fill"]},{previous:"IconConfirmationThin",next:["IconCheckmarkShieldLine"]},{previous:"IconConfirmationRegular",next:["IconCheckmarkShieldLine"]},{previous:"IconConfirmationFill",next:["IconCheckmarkShieldFill"]},{previous:"IconConfirmationPayThin",next:["IconWonShieldLine"]},{previous:"IconConfirmationPayRegular",next:["IconWonShieldLine"]},{previous:"IconConfirmationPayFill",next:["IconWonShieldFill"]},{previous:"IconConfirmationProfileThin",next:["IconPersonShieldLine"]},{previous:"IconConfirmationProfileRegular",next:["IconPersonShieldLine"]},{previous:"IconConfirmationProfileFill",next:["IconPersonShieldFill"]},{previous:"IconContentsThin",next:["IconGridHeartLine"]},{previous:"IconContentsRegular",next:["IconGridHeartLine"]},{previous:"IconContentsFill",next:["IconGridHeartFill"]},{previous:"IconConvertThin",next:["IconArrowRightArrowLeftLine"]},{previous:"IconConvertRegular",next:["IconArrowRightArrowLeftLine"]},{previous:"IconConvertFill",next:["IconArrowRightArrowLeftFill"]},{previous:"IconCopyThin",next:["IconSquare2StackedLine"]},{previous:"IconCopyRegular",next:["IconSquare2StackedLine"]},{previous:"IconCopyFill",next:["IconSquare2StackedFill"]},{previous:"IconCouponThin",next:["IconCouponLine"]},{previous:"IconCouponRegular",next:["IconCouponLine"]},{previous:"IconCouponFill",next:["IconCouponFill"]},{previous:"IconCouponDownloadDoneThin",next:["IconCheckmarkHorizlineLine"]},{previous:"IconCouponDownloadDoneRegular",next:["IconCheckmarkHorizlineLine"]},{previous:"IconCouponDownloadDoneFill",next:["IconCheckmarkHorizlineFill"]},{previous:"IconCouponUsedThin",next:["IconCheckmarkCouponLine"]},{previous:"IconCouponUsedRegular",next:["IconCheckmarkCouponLine"]},{previous:"IconCouponUsedFill",next:["IconCheckmarkCouponFill"]},{previous:"IconDeleteKeyboardThin",next:["IconBackspacekeyLine"]},{previous:"IconDeleteKeyboardRegular",next:["IconBackspacekeyLine"]},{previous:"IconDeleteKeyboardFill",next:["IconBackspacekeyFill"]},{previous:"IconDeliveryThin",next:["IconTruckLine"],description:"\uBCC0\uACBD \uD6C4 \uD655\uC778\uC774 \uD544\uC694\uD574\uC694."},{previous:"IconDeliveryRegular",next:["IconTruckLine"],description:"\uBCC0\uACBD \uD6C4 \uD655\uC778\uC774 \uD544\uC694\uD574\uC694."},{previous:"IconDeliveryFill",next:["IconTruckFill"],description:"\uBCC0\uACBD \uD6C4 \uD655\uC778\uC774 \uD544\uC694\uD574\uC694."},{previous:"IconDirectionThin",next:["IconArrowRightAngledLine"]},{previous:"IconDirectionRegular",next:["IconArrowRightAngledLine"]},{previous:"IconDirectionFill",next:["IconArrowRightAngledFill"]},{previous:"IconDownloadThin",next:["IconArrowDownHorizlineLine"]},{previous:"IconDownloadRegular",next:["IconArrowDownHorizlineLine"]},{previous:"IconDownloadFill",next:["IconArrowDownHorizlineFill"]},{previous:"IconEditThin",next:["IconEraserHorizlineLine"]},{previous:"IconEditRegular",next:["IconEraserHorizlineLine"]},{previous:"IconEditFill",next:["IconEraserHorizlineFill"]},{previous:"IconEmoticonThin",next:["IconFaceSmileCircleLine"]},{previous:"IconEmoticonRegular",next:["IconFaceSmileCircleLine"]},{previous:"IconEmoticonFill",next:["IconFaceSmileCircleFill"]},{previous:"IconEmoticonBadThin",next:["IconFaceSadCircleLine"]},{previous:"IconEmoticonBadRegular",next:["IconFaceSadCircleLine"]},{previous:"IconEmoticonBadFill",next:["IconFaceSadCircleFill"]},{previous:"IconExpandThin",next:["IconArrowUpRightArrowDownLeftLine"]},{previous:"IconExpandRegular",next:["IconArrowUpRightArrowDownLeftLine"]},{previous:"IconExpandFill",next:["IconArrowUpRightArrowDownLeftFill"]},{previous:"IconExpandLessThin",next:["IconChevronUpLine"]},{previous:"IconExpandLessRegular",next:["IconChevronUpLine"]},{previous:"IconExpandLessFill",next:["IconChevronUpFill"]},{previous:"IconExpandMoreThin",next:["IconChevronDownLine"]},{previous:"IconExpandMoreRegular",next:["IconChevronDownLine"]},{previous:"IconExpandMoreFill",next:["IconChevronDownFill"]},{previous:"IconFileThin",next:["IconPaperclipLine"]},{previous:"IconFileRegular",next:["IconPaperclipLine"]},{previous:"IconFileFill",next:["IconPaperclipFill"]},{previous:"IconFilter02Thin",next:["IconSlider2HorizontalLine"]},{previous:"IconFilter02Regular",next:["IconSlider2HorizontalLine"]},{previous:"IconFilter02Fill",next:["IconSlider2HorizontalFill"]},{previous:"IconForwardThin",next:["IconArrowRightLine"]},{previous:"IconForwardRegular",next:["IconArrowRightLine"]},{previous:"IconForwardFill",next:["IconArrowRightFill"]},{previous:"IconGenderThin",next:["IconMalesymbolFemalesymbolLine"]},{previous:"IconGenderRegular",next:["IconMalesymbolFemalesymbolLine"]},{previous:"IconGenderFill",next:["IconMalesymbolFemalesymbolFill"]},{previous:"IconGlobalThin",next:["IconGlobeLine"]},{previous:"IconGlobalRegular",next:["IconGlobeLine"]},{previous:"IconGlobalFill",next:["IconGlobeFill"]},{previous:"IconGpsThin",next:["IconCrosshairLine"]},{previous:"IconGpsRegular",next:["IconCrosshairLine"]},{previous:"IconGpsFill",next:["IconCrosshairFill"]},{previous:"IconGpsEnableThin",next:["IconCrosshairQuestionmarkLine"]},{previous:"IconGpsEnableRegular",next:["IconCrosshairQuestionmarkLine"]},{previous:"IconGpsEnableFill",next:["IconCrosshairQuestionmarkFill"]},{previous:"IconGpsEnable2Thin",next:["IconCrosshairQuestionmarkLine"]},{previous:"IconGpsEnable2Regular",next:["IconCrosshairQuestionmarkLine"]},{previous:"IconGpsEnable2Fill",next:["IconCrosshairQuestionmarkFill"]},{previous:"IconGroupchatKingThin",next:["IconCrownLine"]},{previous:"IconGroupchatKingRegular",next:["IconCrownLine"]},{previous:"IconGroupchatKingFill",next:["IconCrownFill"]},{previous:"IconHandleThin",next:["IconHorizline3VerticalTightLine"]},{previous:"IconHandleRegular",next:["IconHorizline3VerticalTightLine"]},{previous:"IconHandleFill",next:["IconHorizline3VerticalTightFill"]},{previous:"IconHashtagThin",next:["IconHashLine"]},{previous:"IconHashtagRegular",next:["IconHashLine"]},{previous:"IconHashtagFill",next:["IconHashFill"]},{previous:"IconHeadphoneThin",next:["IconHeadsetLine"]},{previous:"IconHeadphoneRegular",next:["IconHeadsetLine"]},{previous:"IconHeadphoneFill",next:["IconHeadsetFill"]},{previous:"IconHeartThin",next:["IconHeartLine"]},{previous:"IconHeartRegular",next:["IconHeartLine"]},{previous:"IconHeartFill",next:["IconHeartFill"]},{previous:"IconHelpThin",next:["IconQuestionmarkCircleLine"]},{previous:"IconHelpRegular",next:["IconQuestionmarkCircleLine"]},{previous:"IconHelpFill",next:["IconQuestionmarkCircleFill"]},{previous:"IconHelpcenterThin",next:["IconHeadsetLine"]},{previous:"IconHelpcenterRegular",next:["IconHeadsetLine"]},{previous:"IconHelpcenterFill",next:["IconHeadsetFill"]},{previous:"IconHelperThin",next:["IconHeadsetLine"]},{previous:"IconHelperRegular",next:["IconHeadsetLine"]},{previous:"IconHelperFill",next:["IconHeadsetFill"]},{previous:"IconHomeThin",next:["IconHouseLine"]},{previous:"IconHomeRegular",next:["IconHouseLine"]},{previous:"IconHomeFill",next:["IconHouseFill"]},{previous:"IconHouseThin",next:["IconWindow4HouseLine"]},{previous:"IconHouseRegular",next:["IconWindow4HouseLine"]},{previous:"IconHouseFill",next:["IconWindow4HouseFill"]},{previous:"IconHousekeepingBookThin",next:["IconBookLine"]},{previous:"IconHousekeepingBookRegular",next:["IconBookLine"]},{previous:"IconHousekeepingBookFill",next:["IconBookFill"]},{previous:"IconImportThin",next:["IconDocumentArrowLeftLine"]},{previous:"IconImportRegular",next:["IconDocumentArrowLeftLine"]},{previous:"IconImportFill",next:["IconDocumentArrowLeftFill"]},{previous:"IconInfoThin",next:["IconILowercaseSerifCircleLine"]},{previous:"IconInfoRegular",next:["IconILowercaseSerifCircleLine"]},{previous:"IconInfoFill",next:["IconILowercaseSerifCircleFill"]},{previous:"IconInterestThin",next:["IconHorizline3VerticalStarLine"]},{previous:"IconInterestRegular",next:["IconHorizline3VerticalStarLine"]},{previous:"IconInterestFill",next:["IconHorizline3VerticalStarFill"]},{previous:"IconInterestListThin",next:["IconStarLine"]},{previous:"IconInterestListRegular",next:["IconStarLine"]},{previous:"IconInterestListFill",next:["IconStarFill"]},{previous:"IconInviteThin",next:["IconEnvelopeLine"]},{previous:"IconInviteRegular",next:["IconEnvelopeLine"]},{previous:"IconInviteFill",next:["IconEnvelopeFill"]},{previous:"IconInviteFriendThin",next:["IconPersonPlusLine"]},{previous:"IconInviteFriendRegular",next:["IconPersonPlusLine"]},{previous:"IconInviteFriendFill",next:["IconPersonPlusFill"]},{previous:"IconIosShareThin",next:["IconArrowUpBracketDownLine"]},{previous:"IconIosShareRegular",next:["IconArrowUpBracketDownLine"]},{previous:"IconIosShareFill",next:["IconArrowUpBracketDownFill"]},{previous:"IconJobsThin",next:["IconPersonMagnifyingglassLine"]},{previous:"IconJobsRegular",next:["IconPersonMagnifyingglassLine"]},{previous:"IconJobsFill",next:["IconPersonMagnifyingglassFill"]},{previous:"IconKeyboardHidingThin",next:["IconKeyboardChevronDownLine"]},{previous:"IconKeyboardHidingRegular",next:["IconKeyboardChevronDownLine"]},{previous:"IconKeyboardHidingFill",next:["IconKeyboardChevronDownFill"]},{previous:"IconKeywordThin",next:["IconTagLine"]},{previous:"IconKeywordRegular",next:["IconTagLine"]},{previous:"IconKeywordFill",next:["IconTagFill"]},{previous:"IconLaptopThin",next:["IconLaptopLine"]},{previous:"IconLaptopRegular",next:["IconLaptopLine"]},{previous:"IconLaptopFill",next:["IconLaptopFill"]},{previous:"IconLeafThin",next:["IconLeafLine"]},{previous:"IconLeafRegular",next:["IconLeafLine"]},{previous:"IconLeafFill",next:["IconLeafFill"]},{previous:"IconListThin",next:["IconDothorizline3VerticalLine"]},{previous:"IconListRegular",next:["IconDothorizline3VerticalLine"]},{previous:"IconListFill",next:["IconDothorizline3VerticalFill"]},{previous:"IconListCardThin",next:["IconHorizrectangleHorizline2VerticalLine"]},{previous:"IconListCardRegular",next:["IconHorizrectangleHorizline2VerticalLine"]},{previous:"IconListCardFill",next:["IconHorizrectangleHorizline2VerticalFill"]},{previous:"IconListCheckThin",next:["IconDocumentCheckmarkLine"]},{previous:"IconListCheckRegular",next:["IconDocumentCheckmarkLine"]},{previous:"IconListCheckFill",next:["IconDocumentCheckmarkFill"]},{previous:"IconListSelectThin",next:["IconHorizline3VerticalCheckmarkLine"]},{previous:"IconListSelectRegular",next:["IconHorizline3VerticalCheckmarkLine"]},{previous:"IconListSelectFill",next:["IconHorizline3VerticalCheckmarkFill"]},{previous:"IconListThumbnailThin",next:["IconSquareline2VerticalLine"]},{previous:"IconListThumbnailRegular",next:["IconSquareline2VerticalLine"]},{previous:"IconListThumbnailFill",next:["IconSquareline2VerticalFill"]},{previous:"IconLocationThin",next:["IconLocationpinLine"]},{previous:"IconLocationRegular",next:["IconLocationpinLine"]},{previous:"IconLocationFill",next:["IconLocationpinFill"]},{previous:"IconLockThin",next:["IconLockLine"]},{previous:"IconLockRegular",next:["IconLockLine"]},{previous:"IconLockFill",next:["IconLockFill"]},{previous:"IconLoudspeakerThin",next:["IconMegaphoneLine"]},{previous:"IconLoudspeakerRegular",next:["IconMegaphoneLine"]},{previous:"IconLoudspeakerFill",next:["IconMegaphoneFill"]},{previous:"IconMapThin",next:["IconMapLocationpinLine"]},{previous:"IconMapRegular",next:["IconMapLocationpinLine"]},{previous:"IconMapFill",next:["IconMapLocationpinFill"]},{previous:"IconMarketThin",next:["IconStoreLine"]},{previous:"IconMarketRegular",next:["IconStoreLine"]},{previous:"IconMarketFill",next:["IconStoreFill"]},{previous:"IconMarketCheckThin",next:["IconStoreCheckmarkLine"]},{previous:"IconMarketCheckRegular",next:["IconStoreCheckmarkLine"]},{previous:"IconMarketCheckFill",next:["IconStoreCheckmarkFill"]},{previous:"IconMarketWriteThin",next:["IconStorePenLine"]},{previous:"IconMarketWriteRegular",next:["IconStorePenLine"]},{previous:"IconMarketWriteFill",next:["IconStorePenFill"]},{previous:"IconMentionThin",next:["IconAtLine"]},{previous:"IconMentionRegular",next:["IconAtLine"]},{previous:"IconMentionFill",next:["IconAtFill"]},{previous:"IconMenuThin",next:["IconHorizline3VerticalLine"]},{previous:"IconMenuRegular",next:["IconHorizline3VerticalLine"]},{previous:"IconMenuFill",next:["IconHorizline3VerticalFill"]},{previous:"IconMicThin",next:["IconMicrophoneLine"]},{previous:"IconMicRegular",next:["IconMicrophoneLine"]},{previous:"IconMicFill",next:["IconMicrophoneFill"]},{previous:"IconMicOffThin",next:["IconMicrophoneSlashLine"]},{previous:"IconMicOffRegular",next:["IconMicrophoneSlashLine"]},{previous:"IconMicOffFill",next:["IconMicrophoneSlashFill"]},{previous:"IconMissionThin",next:["IconBookOpenLine"]},{previous:"IconMissionRegular",next:["IconBookOpenLine"]},{previous:"IconMissionFill",next:["IconBookOpenFill"]},{previous:"IconMobileThin",next:["IconMobileLine"]},{previous:"IconMobileRegular",next:["IconMobileLine"]},{previous:"IconMobileFill",next:["IconMobileFill"]},{previous:"IconMoneySendThin",next:["IconWonCircleArrowRightLine"]},{previous:"IconMoneySendRegular",next:["IconWonCircleArrowRightLine"]},{previous:"IconMoneySendFill",next:["IconWonCircleArrowRightFill"]},{previous:"IconMoneySendYenThin",next:["IconYenCircleArrowRightLine"]},{previous:"IconMoneySendYenRegular",next:["IconYenCircleArrowRightLine"]},{previous:"IconMoneySendYenFill",next:["IconYenCircleArrowRightFill"]},{previous:"IconMoneyWonThin",next:["IconWonCircleLine"]},{previous:"IconMoneyWonRegular",next:["IconWonCircleLine"]},{previous:"IconMoneyWonFill",next:["IconWonCircleFill"]},{previous:"IconMoneyYenThin",next:["IconYenCircleLine"]},{previous:"IconMoneyYenRegular",next:["IconYenCircleLine"]},{previous:"IconMoneyYenFill",next:["IconYenCircleFill"]},{previous:"IconMoonThin",next:["IconMoonLine"]},{previous:"IconMoonRegular",next:["IconMoonLine"]},{previous:"IconMoonFill",next:["IconMoonFill"]},{previous:"IconMoreHorizThin",next:["IconDot3HorizontalLine"]},{previous:"IconMoreHorizRegular",next:["IconDot3HorizontalLine"]},{previous:"IconMoreHorizFill",next:["IconDot3HorizontalFill"]},{previous:"IconMoreVertThin",next:["IconDot3VerticalLine"]},{previous:"IconMoreVertRegular",next:["IconDot3VerticalLine"]},{previous:"IconMoreVertFill",next:["IconDot3VerticalFill"]},{previous:"IconMyThin",next:["IconPersonLine"]},{previous:"IconMyRegular",next:["IconPersonLine"]},{previous:"IconMyFill",next:["IconPersonFill"]},{previous:"IconMyProfileThin",next:["IconPersonCircleLine"]},{previous:"IconMyProfileRegular",next:["IconPersonCircleLine"]},{previous:"IconMyProfileFill",next:["IconPersonCircleFill"]},{previous:"IconNearMeThin",next:["IconLocationpinLine"]},{previous:"IconNearMeRegular",next:["IconLocationpinLine"]},{previous:"IconNearMeFill",next:["IconLocationpinFill"]},{previous:"IconNewtopicThin",next:["IconNUppercaseCircleLine"]},{previous:"IconNewtopicRegular",next:["IconNUppercaseCircleLine"]},{previous:"IconNewtopicFill",next:["IconNUppercaseCircleFill"]},{previous:"IconNoteThin",next:["IconDocumentLine"]},{previous:"IconNoteRegular",next:["IconDocumentLine"]},{previous:"IconNoteFill",next:["IconDocumentFill"]},{previous:"IconNotificationThin",next:["IconBellLine"]},{previous:"IconNotificationRegular",next:["IconBellLine"]},{previous:"IconNotificationFill",next:["IconBellFill"]},{previous:"IconNotificationFallThin",next:["IconArrowDownLine"]},{previous:"IconNotificationFallRegular",next:["IconArrowDownLine"]},{previous:"IconNotificationFallFill",next:["IconArrowDownFill"]},{previous:"IconNotificationOffThin",next:["IconBellSlashLine"]},{previous:"IconNotificationOffRegular",next:["IconBellSlashLine"]},{previous:"IconNotificationOffFill",next:["IconBellSlashFill"]},{previous:"IconOrderThin",next:["IconCheckmarkClipboardLine"]},{previous:"IconOrderRegular",next:["IconCheckmarkClipboardLine"]},{previous:"IconOrderFill",next:["IconCheckmarkClipboardFill"]},{previous:"IconPauseThin",next:["IconVertrectangle2HorizontalLine"]},{previous:"IconPauseRegular",next:["IconVertrectangle2HorizontalLine"]},{previous:"IconPauseFill",next:["IconVertrectangle2HorizontalFill"]},{previous:"IconPaymentThin",next:["IconCardLine"]},{previous:"IconPaymentRegular",next:["IconCardLine"]},{previous:"IconPaymentFill",next:["IconCardFill"]},{previous:"IconPercentThin",next:["IconPercentLine"]},{previous:"IconPercentRegular",next:["IconPercentLine"]},{previous:"IconPercentFill",next:["IconPercentFill"]},{previous:"IconPhotoThin",next:["IconPictureLine"]},{previous:"IconPhotoRegular",next:["IconPictureLine"]},{previous:"IconPhotoFill",next:["IconPictureFill"]},{previous:"IconPhotoEditThin",next:["IconWandLine"]},{previous:"IconPhotoEditRegular",next:["IconWandLine"]},{previous:"IconPhotoEditFill",next:["IconWandFill"]},{previous:"IconPhotoEditCropThin",next:["IconCropmarkLine"]},{previous:"IconPhotoEditCropRegular",next:["IconCropmarkLine"]},{previous:"IconPhotoEditCropFill",next:["IconCropmarkFill"]},{previous:"IconPhotoEditDrawThin",next:["IconScribbleLine"]},{previous:"IconPhotoEditDrawRegular",next:["IconScribbleLine"]},{previous:"IconPhotoEditDrawFill",next:["IconScribbleFill"]},{previous:"IconPhotoEditRotateThin",next:["IconArrow2ClockwiseCircularLine"]},{previous:"IconPhotoEditRotateRegular",next:["IconArrow2ClockwiseCircularLine"]},{previous:"IconPhotoEditRotateFill",next:["IconArrow2ClockwiseCircularFill"]},{previous:"IconPhotoSeveralThin",next:["IconPicture2StackedLine"]},{previous:"IconPhotoSeveralRegular",next:["IconPicture2StackedLine"]},{previous:"IconPhotoSeveralFill",next:["IconPicture2StackedFill"]},{previous:"IconPlayThin",next:["IconTriangleRightLine"]},{previous:"IconPlayRegular",next:["IconTriangleRightLine"]},{previous:"IconPlayFill",next:["IconTriangleRightFill"]},{previous:"IconPollThin",next:["IconBarchartSquareLine"]},{previous:"IconPollRegular",next:["IconBarchartSquareLine"]},{previous:"IconPollFill",next:["IconBarchartSquareFill"]},{previous:"IconPriceWonThin",next:["IconWonLine"]},{previous:"IconPriceWonRegular",next:["IconWonLine"]},{previous:"IconPriceWonFill",next:["IconWonFill"]},{previous:"IconPriceYenDefault",next:["IconYenLine"]},{previous:"IconPriceYenVariant4",next:["IconYenLine"]},{previous:"IconPriceYenVariant3",next:["IconYenFill"]},{previous:"IconProductThin",next:["IconShoppingbagLine"]},{previous:"IconProductRegular",next:["IconShoppingbagLine"]},{previous:"IconProductFill",next:["IconShoppingbagFill"]},{previous:"IconProfileThin",next:["IconPersonLine"]},{previous:"IconProfileRegular",next:["IconPersonLine"]},{previous:"IconProfileFill",next:["IconPersonFill"]},{previous:"IconProfileBadgeThin",next:["IconCheckmarkBadgeLine"]},{previous:"IconProfileBadgeRegular",next:["IconCheckmarkBadgeLine"]},{previous:"IconProfileBadgeFill",next:["IconCheckmarkBadgeFill"]},{previous:"IconProhibitionThin",next:["IconSlashCircleLine"]},{previous:"IconProhibitionRegular",next:["IconSlashCircleLine"]},{previous:"IconProhibitionFill",next:["IconSlashCircleFill"]},{previous:"IconPushpinThin",next:["IconPushpinLine"]},{previous:"IconPushpinRegular",next:["IconPushpinLine"]},{previous:"IconPushpinFill",next:["IconPushpinFill"]},{previous:"IconQuestionCheckThin",next:["IconQuestionmarkSquareLine"]},{previous:"IconQuestionCheckRegular",next:["IconQuestionmarkSquareLine"]},{previous:"IconQuestionCheckFill",next:["IconQuestionmarkSquareFill"]},{previous:"IconRedoThin",next:["IconArrowUturnRightLine"]},{previous:"IconRedoRegular",next:["IconArrowUturnRightLine"]},{previous:"IconRedoFill",next:["IconArrowUturnRightFill"]},{previous:"IconRefundThin",next:["IconWonArrowClockwiseCircularLine"]},{previous:"IconRefundRegular",next:["IconWonArrowClockwiseCircularLine"]},{previous:"IconRefundFill",next:["IconWonArrowClockwiseCircularFill"]},{previous:"IconRemoveCircleThin",next:["IconXmarkCircleLine"]},{previous:"IconRemoveCircleRegular",next:["IconXmarkCircleLine"]},{previous:"IconRemoveCircleFill",next:["IconXmarkCircleFill"]},{previous:"IconReplyThin",next:["IconHorizline2VerticalChatbubbleRectangularRightLine"]},{previous:"IconReplyRegular",next:["IconHorizline2VerticalChatbubbleRectangularRightLine"]},{previous:"IconReplyFill",next:["IconHorizline2VerticalChatbubbleRectangularRightFill"]},{previous:"IconReplyMissionThin",next:["IconHorizline2VerticalChatbubbleRectangularRightLine"]},{previous:"IconReplyMissionRegular",next:["IconHorizline2VerticalChatbubbleRectangularRightLine"]},{previous:"IconReplyMissionFill",next:["IconHorizline2VerticalChatbubbleRectangularRightFill"]},{previous:"IconReplyReThin",next:["IconCornerDownLeftLine"]},{previous:"IconReplyReRegular",next:["IconCornerDownLeftLine"]},{previous:"IconReplyReFill",next:["IconCornerDownLeftFill"]},{previous:"IconReportThin",next:["IconFlagLine"]},{previous:"IconReportRegular",next:["IconFlagLine"]},{previous:"IconReportFill",next:["IconFlagFill"]},{previous:"IconReservationThin",next:["IconCheckmarkCalendarLine"]},{previous:"IconReservationRegular",next:["IconCheckmarkCalendarLine"]},{previous:"IconReservationFill",next:["IconCheckmarkCalendarFill"]},{previous:"IconRestaurantThin",next:["IconForkSpoonLine"]},{previous:"IconRestaurantRegular",next:["IconForkSpoonLine"]},{previous:"IconRestaurantFill",next:["IconForkSpoonFill"]},{previous:"IconRetryThin",next:["IconArrowClockwiseCircularLine"]},{previous:"IconRetryRegular",next:["IconArrowClockwiseCircularLine"]},{previous:"IconRetryFill",next:["IconArrowClockwiseCircularFill"]},{previous:"IconReviewStarThin",next:["IconStarLine"]},{previous:"IconReviewStarRegular",next:["IconStarLine"]},{previous:"IconReviewStarFill",next:["IconStarFill"]},{previous:"IconScannerThin",next:["IconHorizlineViewfinderLine"]},{previous:"IconScannerRegular",next:["IconHorizlineViewfinderLine"]},{previous:"IconScannerFill",next:["IconHorizlineViewfinderFill"]},{previous:"IconSearchThin",next:["IconMagnifyingglassLine"]},{previous:"IconSearchRegular",next:["IconMagnifyingglassLine"]},{previous:"IconSearchFill",next:["IconMagnifyingglassFill"]},{previous:"IconSearchDocThin",next:["IconDocumentMagnifyingglassLine"]},{previous:"IconSearchDocRegular",next:["IconDocumentMagnifyingglassLine"]},{previous:"IconSearchDocFill",next:["IconDocumentMagnifyingglassFill"]},{previous:"IconSellThin",next:["IconPlusSquareLine"]},{previous:"IconSellRegular",next:["IconPlusSquareLine"]},{previous:"IconSellFill",next:["IconPlusSquareFill"]},{previous:"IconSettingThin",next:["IconGearLine"]},{previous:"IconSettingRegular",next:["IconGearLine"]},{previous:"IconSettingFill",next:["IconGearFill"]},{previous:"IconSignoutThin",next:["IconBracketLeftArrowRightLine"]},{previous:"IconSignoutRegular",next:["IconBracketLeftArrowRightLine"]},{previous:"IconSignoutFill",next:["IconBracketLeftArrowRightFill"]},{previous:"IconSortThin",next:["IconArrowUpArrowDownLine"]},{previous:"IconSortRegular",next:["IconArrowUpArrowDownLine"]},{previous:"IconSortFill",next:["IconArrowUpArrowDownFill"]},{previous:"IconStoryThin",next:["IconTriangleRightChatbubbleLeftLine"]},{previous:"IconStoryRegular",next:["IconTriangleRightChatbubbleLeftLine"]},{previous:"IconStoryFill",next:["IconTriangleRightChatbubbleLeftFill"]},{previous:"IconStoryArticleThin",next:["IconDocumentPenLine"]},{previous:"IconStoryArticleRegular",next:["IconDocumentPenLine"]},{previous:"IconStoryArticleFill",next:["IconDocumentPenFill"]},{previous:"IconSubtractCircleThin",next:["IconMinusCircleLine"]},{previous:"IconSubtractCircleRegular",next:["IconMinusCircleLine"]},{previous:"IconSubtractCircleFill",next:["IconMinusCircleFill"]},{previous:"IconSubtractionThin",next:["IconMinusLine"]},{previous:"IconSubtractionRegular",next:["IconMinusLine"]},{previous:"IconSubtractionFill",next:["IconMinusFill"]},{previous:"IconSuggestThin",next:["IconLightbulbDot5Line"],description:"\uBCC0\uACBD \uD6C4 \uD655\uC778\uC774 \uD544\uC694\uD574\uC694."},{previous:"IconSuggestRegular",next:["IconLightbulbDot5Line"],description:"\uBCC0\uACBD \uD6C4 \uD655\uC778\uC774 \uD544\uC694\uD574\uC694."},{previous:"IconSuggestFill",next:["IconLightbulbDot5Fill"],description:"\uBCC0\uACBD \uD6C4 \uD655\uC778\uC774 \uD544\uC694\uD574\uC694."},{previous:"IconSunThin",next:["IconSunLine"]},{previous:"IconSunRegular",next:["IconSunLine"]},{previous:"IconSunFill",next:["IconSunFill"]},{previous:"IconTalkingdownThin",next:["IconQuotationmark2RightLine"]},{previous:"IconTalkingdownRegular",next:["IconQuotationmark2RightLine"]},{previous:"IconTalkingdownFill",next:["IconQuotationmark2RightFill"]},{previous:"IconTalkingupThin",next:["IconQuotationmark2LeftLine"]},{previous:"IconTalkingupRegular",next:["IconQuotationmark2LeftLine"]},{previous:"IconTalkingupFill",next:["IconQuotationmark2LeftFill"]},{previous:"IconTextThin",next:["IconTUppercaseSerifLine"]},{previous:"IconTextRegular",next:["IconTUppercaseSerifLine"]},{previous:"IconTextFill",next:["IconTUppercaseSerifFill"]},{previous:"IconThumbDownThin",next:["IconThumbDownLine"]},{previous:"IconThumbDownRegular",next:["IconThumbDownLine"]},{previous:"IconThumbDownFill",next:["IconThumbDownFill"]},{previous:"IconThumbUpThin",next:["IconThumbUpLine"]},{previous:"IconThumbUpRegular",next:["IconThumbUpLine"]},{previous:"IconThumbUpFill",next:["IconThumbUpFill"]},{previous:"IconToolboxThin",next:["IconToolboxLine"]},{previous:"IconToolboxRegular",next:["IconToolboxLine"]},{previous:"IconToolboxFill",next:["IconToolboxFill"]},{previous:"IconTranslateThin",next:["IconTranslationLine"]},{previous:"IconTranslateRegular",next:["IconTranslationLine"]},{previous:"IconTranslateFill",next:["IconTranslationFill"]},{previous:"IconTrashThin",next:["IconTrashcanLine"]},{previous:"IconTrashRegular",next:["IconTrashcanLine"]},{previous:"IconTrashFill",next:["IconTrashcanFill"]},{previous:"IconUndoThin",next:["IconArrowUturnLeftLine"]},{previous:"IconUndoRegular",next:["IconArrowUturnLeftLine"]},{previous:"IconUndoFill",next:["IconArrowUturnLeftFill"]},{previous:"IconUserGroupThin",next:["IconPerson2Line"]},{previous:"IconUserGroupRegular",next:["IconPerson2Line"]},{previous:"IconUserGroupFill",next:["IconPerson2Fill"]},{previous:"IconVideoThin",next:["IconCamcorderLine"]},{previous:"IconVideoRegular",next:["IconCamcorderLine"]},{previous:"IconVideoFill",next:["IconCamcorderFill"]},{previous:"IconViewCountThin",next:["IconEyeLine"]},{previous:"IconViewCountRegular",next:["IconEyeLine"]},{previous:"IconViewCountFill",next:["IconEyeFill"]},{previous:"IconViewCountOffThin",next:["IconEyeSlashLine"]},{previous:"IconViewCountOffRegular",next:["IconEyeSlashLine"]},{previous:"IconViewCountOffFill",next:["IconEyeSlashFill"]},{previous:"IconVolumeOffThin",next:["IconSpeakerWave2SlashLine"]},{previous:"IconVolumeOffRegular",next:["IconSpeakerWave2SlashLine"]},{previous:"IconVolumeOffFill",next:["IconSpeakerWave2SlashFill"]},{previous:"IconVolumeOnThin",next:["IconSpeakerWave2Line"]},{previous:"IconVolumeOnRegular",next:["IconSpeakerWave2Line"]},{previous:"IconVolumeOnFill",next:["IconSpeakerWave2Fill"]},{previous:"IconVoteThin",next:["IconCheckmarkBallotboxLine"]},{previous:"IconVoteRegular",next:["IconCheckmarkBallotboxLine"]},{previous:"IconVoteFill",next:["IconCheckmarkBallotboxFill"]},{previous:"IconVoucherThin",next:["IconGiftLine"]},{previous:"IconVoucherRegular",next:["IconGiftLine"]},{previous:"IconVoucherFill",next:["IconGiftFill"]},{previous:"IconWalkThin",next:["IconFigureWalkLine"]},{previous:"IconWalkRegular",next:["IconFigureWalkLine"]},{previous:"IconWalkFill",next:["IconFigureWalkFill"]},{previous:"IconWarningThin",next:["IconExclamationmarkCircleLine"]},{previous:"IconWarningRegular",next:["IconExclamationmarkCircleLine"]},{previous:"IconWarningFill",next:["IconExclamationmarkCircleFill"]},{previous:"IconWriteThin",next:["IconPenHorizlineLine"]},{previous:"IconWriteRegular",next:["IconPenHorizlineLine"]},{previous:"IconWriteFill",next:["IconPenHorizlineFill"]},{previous:"IconWriteFrequentUseThin",next:["IconDocumentPlusLine"]},{previous:"IconWriteFrequentUseRegular",next:["IconDocumentPlusLine"]},{previous:"IconWriteFrequentUseFill",next:["IconDocumentPlusFill"]},{previous:"IconWriteStoryThin",next:["IconHorizline2VerticalChatbubbleRectangularRightLine"],description:"\uBCC0\uACBD \uD6C4 \uD655\uC778\uC774 \uD544\uC694\uD574\uC694."},{previous:"IconWriteStoryRegular",next:["IconHorizline2VerticalChatbubbleRectangularRightLine"],description:"\uBCC0\uACBD \uD6C4 \uD655\uC778\uC774 \uD544\uC694\uD574\uC694."},{previous:"IconWriteStoryFill",next:["IconHorizline2VerticalChatbubbleRectangularRightFill"],description:"\uBCC0\uACBD \uD6C4 \uD655\uC778\uC774 \uD544\uC694\uD574\uC694."}],Tl=[{previous:"IconCategoryRealty",next:["IconWindow4House"],description:"\uBD80\uB3D9\uC0B0"},{previous:"IconCategoryCar",next:["IconCarFrontside"],description:"\uC911\uACE0\uCC28"},{previous:"IconCategoryJobs",next:["IconPersonMagnifyingglass"],description:"\uC54C\uBC14"},{previous:"IconCategoryGroup",next:["IconPerson2Openarms"],description:"\uBAA8\uC784"},{previous:"IconCategoryAd",next:["IconMegaphoneTilted"],description:"\uAD11\uACE0"},{previous:"IconCategoryBizprofile",next:["IconWindow2Store"],description:"\uBE44\uC988\uD504\uB85C\uD544"},{previous:"IconCategoryRestaurant",next:["IconForkSpoon"]},{previous:"IconCategoryCafe",next:["IconCupHeatwave"]},{previous:"IconCategoryTruck",next:["IconTruck"]},{previous:"IconCategoryFitness",next:["IconDumbbell"]},{previous:"IconCategoryBeauty",next:["IconScissors"]},{previous:"IconCategoryBeautyshop",next:["IconNailpolish"]},{previous:"IconCategoryConstruction",next:["IconWrench"]},{previous:"IconCategoryClass",next:["IconPalette"]},{previous:"IconCategoryLife",next:["IconSpraybottleSponge"]},{previous:"IconCategoryHomerepair",next:["IconPaintroller"]},{previous:"IconCategoryAcademy",next:["IconPencil"]},{previous:"IconCategoryFarm",next:[],description:"\uC5C6\uC74C"},{previous:"IconCategoryClassRemoved",next:[],description:"\uC5C6\uC74C"},{previous:"IconCategoryMedical",next:[],description:"\uC5C6\uC74C"},{previous:"IconCategoryLaundry",next:[],description:"\uC5C6\uC74C"},{previous:"IconCategoryLost",next:[],description:"\uC5C6\uC74C"},{previous:"IconCategoryRecommandation",next:[],description:"\uC5C6\uC74C"},{previous:"IconCategoryBuytogether",next:[],description:"\uC5C6\uC74C"},{previous:"IconCategoryPopularity",next:[],description:"\uC5C6\uC74C"},{previous:"IconCategoryQuestions",next:[],description:"\uC5C6\uC74C"},{previous:"IconCategoryTogether",next:[],description:"\uC5C6\uC74C"},{previous:"IconCategoryPet",next:[],description:"\uC5C6\uC74C"},{previous:"IconCategoryCare",next:[],description:"\uC5C6\uC74C"},{description:"\uC911\uACE0\uAC70\uB798(\uC2E0\uADDC)",next:["IconShoppingbagItems"]},{description:"\uC774\uC6C3\uAD11\uACE0(\uC2E0\uADDC)",next:["IconLinechartUpXaxis"]},{description:"\uD53D\uC5C5(\uC2E0\uADDC)",next:["IconForkSpoonBag"]},{description:"\uB3D9\uB124\uC2A4\uD1A0\uB9AC(\uC2E0\uADDC)",next:["IconTriangleRightChatbubbleLeft"]}],Dm=[...Rl,...Tl];var Ql=wr(Ul(),1);var xr=r=>{if(typeof r!="string")throw new TypeError("invalid pattern");if(r.length>65536)throw new TypeError("pattern is too long")};var Hm={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},Ir=r=>r.replace(/[[\]\\-]/g,"\\$&"),Gm=r=>r.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Wl=r=>r.join(""),zl=(r,e)=>{let t=e;if(r.charAt(t)!=="[")throw new Error("not in a brace expression");let n=[],i=[],s=t+1,o=!1,a=!1,l=!1,u=!1,c=t,f="";e:for(;s<r.length;){let g=r.charAt(s);if((g==="!"||g==="^")&&s===t+1){u=!0,s++;continue}if(g==="]"&&o&&!l){c=s+1;break}if(o=!0,g==="\\"&&!l){l=!0,s++;continue}if(g==="["&&!l){for(let[v,[y,x,b]]of Object.entries(Hm))if(r.startsWith(v,s)){if(f)return["$.",!1,r.length-t,!0];s+=v.length,b?i.push(y):n.push(y),a=a||x;continue e}}if(l=!1,f){g>f?n.push(Ir(f)+"-"+Ir(g)):g===f&&n.push(Ir(g)),f="",s++;continue}if(r.startsWith("-]",s+1)){n.push(Ir(g+"-")),s+=2;continue}if(r.startsWith("-",s+1)){f=g,s+=2;continue}n.push(Ir(g)),s++}if(c<s)return["",!1,0,!1];if(!n.length&&!i.length)return["$.",!1,r.length-t,!0];if(i.length===0&&n.length===1&&/^\\?.$/.test(n[0])&&!u){let g=n[0].length===2?n[0].slice(-1):n[0];return[Gm(g),!1,c-t,!1]}let h="["+(u?"^":"")+Wl(n)+"]",d="["+(u?"":"^")+Wl(i)+"]";return[n.length&&i.length?"("+h+"|"+d+")":n.length?h:d,a,c-t,!0]};var Te=(r,{windowsPathsNoEscape:e=!1}={})=>e?r.replace(/\[([^\/\\])\]/g,"$1"):r.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");var Vm=new Set(["!","?","+","*","@"]),Hl=r=>Vm.has(r),Ym="(?!(?:^|/)\\.\\.?(?:$|/))",Dn="(?!\\.)",Km=new Set(["[","."]),Qm=new Set(["..","."]),Jm=new Set("().*{}+?[]^$\\!"),Zm=r=>r.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),$s="[^/]",Gl=$s+"*?",Vl=$s+"+?",Dt=class r{type;#e;#t;#s=!1;#n=[];#o;#b;#u;#h=!1;#a;#l;#i=!1;constructor(e,t,n={}){this.type=e,e&&(this.#t=!0),this.#o=t,this.#e=this.#o?this.#o.#e:this,this.#a=this.#e===this?n:this.#e.#a,this.#u=this.#e===this?[]:this.#e.#u,e==="!"&&!this.#e.#h&&this.#u.push(this),this.#b=this.#o?this.#o.#n.length:0}get hasMagic(){if(this.#t!==void 0)return this.#t;for(let e of this.#n)if(typeof e!="string"&&(e.type||e.hasMagic))return this.#t=!0;return this.#t}toString(){return this.#l!==void 0?this.#l:this.type?this.#l=this.type+"("+this.#n.map(e=>String(e)).join("|")+")":this.#l=this.#n.map(e=>String(e)).join("")}#m(){if(this!==this.#e)throw new Error("should only call on root");if(this.#h)return this;this.toString(),this.#h=!0;let e;for(;e=this.#u.pop();){if(e.type!=="!")continue;let t=e,n=t.#o;for(;n;){for(let i=t.#b+1;!n.type&&i<n.#n.length;i++)for(let s of e.#n){if(typeof s=="string")throw new Error("string part in extglob AST??");s.copyIn(n.#n[i])}t=n,n=t.#o}}return this}push(...e){for(let t of e)if(t!==""){if(typeof t!="string"&&!(t instanceof r&&t.#o===this))throw new Error("invalid part: "+t);this.#n.push(t)}}toJSON(){var t;let e=this.type===null?this.#n.slice().map(n=>typeof n=="string"?n:n.toJSON()):[this.type,...this.#n.map(n=>n.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#h&&((t=this.#o)==null?void 0:t.type)==="!")&&e.push({}),e}isStart(){var t;if(this.#e===this)return!0;if(!((t=this.#o)!=null&&t.isStart()))return!1;if(this.#b===0)return!0;let e=this.#o;for(let n=0;n<this.#b;n++){let i=e.#n[n];if(!(i instanceof r&&i.type==="!"))return!1}return!0}isEnd(){var t,n,i;if(this.#e===this||((t=this.#o)==null?void 0:t.type)==="!")return!0;if(!((n=this.#o)!=null&&n.isEnd()))return!1;if(!this.type)return(i=this.#o)==null?void 0:i.isEnd();let e=this.#o?this.#o.#n.length:0;return this.#b===e-1}copyIn(e){typeof e=="string"?this.push(e):this.push(e.clone(this))}clone(e){let t=new r(this.type,e);for(let n of this.#n)t.copyIn(n);return t}static#v(e,t,n,i){let s=!1,o=!1,a=-1,l=!1;if(t.type===null){let d=n,p="";for(;d<e.length;){let g=e.charAt(d++);if(s||g==="\\"){s=!s,p+=g;continue}if(o){d===a+1?(g==="^"||g==="!")&&(l=!0):g==="]"&&!(d===a+2&&l)&&(o=!1),p+=g;continue}else if(g==="["){o=!0,a=d,l=!1,p+=g;continue}if(!i.noext&&Hl(g)&&e.charAt(d)==="("){t.push(p),p="";let v=new r(g,t);d=r.#v(e,v,d,i),t.push(v);continue}p+=g}return t.push(p),d}let u=n+1,c=new r(null,t),f=[],h="";for(;u<e.length;){let d=e.charAt(u++);if(s||d==="\\"){s=!s,h+=d;continue}if(o){u===a+1?(d==="^"||d==="!")&&(l=!0):d==="]"&&!(u===a+2&&l)&&(o=!1),h+=d;continue}else if(d==="["){o=!0,a=u,l=!1,h+=d;continue}if(Hl(d)&&e.charAt(u)==="("){c.push(h),h="";let p=new r(d,c);c.push(p),u=r.#v(e,p,u,i);continue}if(d==="|"){c.push(h),h="",f.push(c),c=new r(null,t);continue}if(d===")")return h===""&&t.#n.length===0&&(t.#i=!0),c.push(h),h="",t.push(...f,c),u;h+=d}return t.type=null,t.#t=void 0,t.#n=[e.substring(n-1)],u}static fromGlob(e,t={}){let n=new r(null,void 0,t);return r.#v(e,n,0,t),n}toMMPattern(){if(this!==this.#e)return this.#e.toMMPattern();let e=this.toString(),[t,n,i,s]=this.toRegExpSource();if(!(i||this.#t||this.#a.nocase&&!this.#a.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()))return n;let a=(this.#a.nocase?"i":"")+(s?"u":"");return Object.assign(new RegExp(`^${t}$`,a),{_src:t,_glob:e})}get options(){return this.#a}toRegExpSource(e){var l;let t=e??!!this.#a.dot;if(this.#e===this&&this.#m(),!this.type){let u=this.isStart()&&this.isEnd(),c=this.#n.map(p=>{let[g,v,y,x]=typeof p=="string"?r.#f(p,this.#t,u):p.toRegExpSource(e);return this.#t=this.#t||y,this.#s=this.#s||x,g}).join(""),f="";if(this.isStart()&&typeof this.#n[0]=="string"&&!(this.#n.length===1&&Qm.has(this.#n[0]))){let g=Km,v=t&&g.has(c.charAt(0))||c.startsWith("\\.")&&g.has(c.charAt(2))||c.startsWith("\\.\\.")&&g.has(c.charAt(4)),y=!t&&!e&&g.has(c.charAt(0));f=v?Ym:y?Dn:""}let h="";return this.isEnd()&&this.#e.#h&&((l=this.#o)==null?void 0:l.type)==="!"&&(h="(?:$|\\/)"),[f+c+h,Te(c),this.#t=!!this.#t,this.#s]}let n=this.type==="*"||this.type==="+",i=this.type==="!"?"(?:(?!(?:":"(?:",s=this.#p(t);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){let u=this.toString();return this.#n=[u],this.type=null,this.#t=void 0,[u,Te(this.toString()),!1,!1]}let o=!n||e||t||!Dn?"":this.#p(!0);o===s&&(o=""),o&&(s=`(?:${s})(?:${o})*?`);let a="";if(this.type==="!"&&this.#i)a=(this.isStart()&&!t?Dn:"")+Vl;else{let u=this.type==="!"?"))"+(this.isStart()&&!t&&!e?Dn:"")+Gl+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&o?")":this.type==="*"&&o?")?":`)${this.type}`;a=i+s+u}return[a,Te(s),this.#t=!!this.#t,this.#s]}#p(e){return this.#n.map(t=>{if(typeof t=="string")throw new Error("string type in extglob ast??");let[n,i,s,o]=t.toRegExpSource(e);return this.#s=this.#s||o,n}).filter(t=>!(this.isStart()&&this.isEnd())||!!t).join("|")}static#f(e,t,n=!1){let i=!1,s="",o=!1;for(let a=0;a<e.length;a++){let l=e.charAt(a);if(i){i=!1,s+=(Jm.has(l)?"\\":"")+l;continue}if(l==="\\"){a===e.length-1?s+="\\\\":i=!0;continue}if(l==="["){let[u,c,f,h]=zl(e,a);if(f){s+=u,o=o||c,a+=f-1,t=t||h;continue}}if(l==="*"){n&&e==="*"?s+=Vl:s+=Gl,t=!0;continue}if(l==="?"){s+=$s,t=!0;continue}s+=Zm(l)}return[s,Te(e),!!t,o]}};var qt=(r,{windowsPathsNoEscape:e=!1}={})=>e?r.replace(/[?*()[\]]/g,"[$&]"):r.replace(/[?*()[\]\\]/g,"\\$&");var ae=(r,e,t={})=>(xr(e),!t.nocomment&&e.charAt(0)==="#"?!1:new ve(e,t).match(r)),Xm=/^\*+([^+@!?\*\[\(]*)$/,ev=r=>e=>!e.startsWith(".")&&e.endsWith(r),tv=r=>e=>e.endsWith(r),rv=r=>(r=r.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(r)),nv=r=>(r=r.toLowerCase(),e=>e.toLowerCase().endsWith(r)),iv=/^\*+\.\*+$/,sv=r=>!r.startsWith(".")&&r.includes("."),ov=r=>r!=="."&&r!==".."&&r.includes("."),av=/^\.\*+$/,lv=r=>r!=="."&&r!==".."&&r.startsWith("."),uv=/^\*+$/,cv=r=>r.length!==0&&!r.startsWith("."),hv=r=>r.length!==0&&r!=="."&&r!=="..",fv=/^\?+([^+@!?\*\[\(]*)?$/,pv=([r,e=""])=>{let t=Jl([r]);return e?(e=e.toLowerCase(),n=>t(n)&&n.toLowerCase().endsWith(e)):t},dv=([r,e=""])=>{let t=Zl([r]);return e?(e=e.toLowerCase(),n=>t(n)&&n.toLowerCase().endsWith(e)):t},gv=([r,e=""])=>{let t=Zl([r]);return e?n=>t(n)&&n.endsWith(e):t},mv=([r,e=""])=>{let t=Jl([r]);return e?n=>t(n)&&n.endsWith(e):t},Jl=([r])=>{let e=r.length;return t=>t.length===e&&!t.startsWith(".")},Zl=([r])=>{let e=r.length;return t=>t.length===e&&t!=="."&&t!==".."},Xl=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",Yl={win32:{sep:"\\"},posix:{sep:"/"}},vv=Xl==="win32"?Yl.win32.sep:Yl.posix.sep;ae.sep=vv;var ee=Symbol("globstar **");ae.GLOBSTAR=ee;var yv="[^/]",wv=yv+"*?",bv="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",xv="(?:(?!(?:\\/|^)\\.).)*?",Iv=(r,e={})=>t=>ae(t,r,e);ae.filter=Iv;var Ie=(r,e={})=>Object.assign({},r,e),Sv=r=>{if(!r||typeof r!="object"||!Object.keys(r).length)return ae;let e=ae;return Object.assign((n,i,s={})=>e(n,i,Ie(r,s)),{Minimatch:class extends e.Minimatch{constructor(i,s={}){super(i,Ie(r,s))}static defaults(i){return e.defaults(Ie(r,i)).Minimatch}},AST:class extends e.AST{constructor(i,s,o={}){super(i,s,Ie(r,o))}static fromGlob(i,s={}){return e.AST.fromGlob(i,Ie(r,s))}},unescape:(n,i={})=>e.unescape(n,Ie(r,i)),escape:(n,i={})=>e.escape(n,Ie(r,i)),filter:(n,i={})=>e.filter(n,Ie(r,i)),defaults:n=>e.defaults(Ie(r,n)),makeRe:(n,i={})=>e.makeRe(n,Ie(r,i)),braceExpand:(n,i={})=>e.braceExpand(n,Ie(r,i)),match:(n,i,s={})=>e.match(n,i,Ie(r,s)),sep:e.sep,GLOBSTAR:ee})};ae.defaults=Sv;var eu=(r,e={})=>(xr(r),e.nobrace||!/\{(?:(?!\{).)*\}/.test(r)?[r]:(0,Ql.default)(r));ae.braceExpand=eu;var _v=(r,e={})=>new ve(r,e).makeRe();ae.makeRe=_v;var Cv=(r,e,t={})=>{let n=new ve(e,t);return r=r.filter(i=>n.match(i)),n.options.nonull&&!r.length&&r.push(e),r};ae.match=Cv;var Kl=/[?*]|[+@!]\(.*?\)|\[|\]/,Ev=r=>r.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),ve=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(e,t={}){xr(e),t=t||{},this.options=t,this.pattern=e,this.platform=t.platform||Xl,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!t.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!t.nonegate,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=t.windowsNoMagicRoot!==void 0?t.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let t of e)if(typeof t!="string")return!0;return!1}debug(...e){}make(){let e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],t.debug&&(this.debug=(...s)=>console.error(...s)),this.debug(this.pattern,this.globSet);let n=this.globSet.map(s=>this.slashSplit(s));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let i=this.globParts.map((s,o,a)=>{if(this.isWindows&&this.windowsNoMagicRoot){let l=s[0]===""&&s[1]===""&&(s[2]==="?"||!Kl.test(s[2]))&&!Kl.test(s[3]),u=/^[a-z]:/i.test(s[0]);if(l)return[...s.slice(0,4),...s.slice(4).map(c=>this.parse(c))];if(u)return[s[0],...s.slice(1).map(c=>this.parse(c))]}return s.map(l=>this.parse(l))});if(this.debug(this.pattern,i),this.set=i.filter(s=>s.indexOf(!1)===-1),this.isWindows)for(let s=0;s<this.set.length;s++){let o=this.set[s];o[0]===""&&o[1]===""&&this.globParts[s][2]==="?"&&typeof o[3]=="string"&&/^[a-z]:$/i.test(o[3])&&(o[2]="?")}this.debug(this.pattern,this.set)}preprocess(e){if(this.options.noglobstar)for(let n=0;n<e.length;n++)for(let i=0;i<e[n].length;i++)e[n][i]==="**"&&(e[n][i]="*");let{optimizationLevel:t=1}=this.options;return t>=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):t>=1?e=this.levelOneOptimize(e):e=this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(t=>{let n=-1;for(;(n=t.indexOf("**",n+1))!==-1;){let i=n;for(;t[i+1]==="**";)i++;i!==n&&t.splice(n,i-n)}return t})}levelOneOptimize(e){return e.map(t=>(t=t.reduce((n,i)=>{let s=n[n.length-1];return i==="**"&&s==="**"?n:i===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(n.pop(),n):(n.push(i),n)},[]),t.length===0?[""]:t))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let t=!1;do{if(t=!1,!this.preserveMultipleSlashes){for(let i=1;i<e.length-1;i++){let s=e[i];i===1&&s===""&&e[0]===""||(s==="."||s==="")&&(t=!0,e.splice(i,1),i--)}e[0]==="."&&e.length===2&&(e[1]==="."||e[1]==="")&&(t=!0,e.pop())}let n=0;for(;(n=e.indexOf("..",n+1))!==-1;){let i=e[n-1];i&&i!=="."&&i!==".."&&i!=="**"&&(t=!0,e.splice(n-1,2),n-=2)}}while(t);return e.length===0?[""]:e}firstPhasePreProcess(e){let t=!1;do{t=!1;for(let n of e){let i=-1;for(;(i=n.indexOf("**",i+1))!==-1;){let o=i;for(;n[o+1]==="**";)o++;o>i&&n.splice(i+1,o-i);let a=n[i+1],l=n[i+2],u=n[i+3];if(a!==".."||!l||l==="."||l===".."||!u||u==="."||u==="..")continue;t=!0,n.splice(i,1);let c=n.slice(0);c[i]="**",e.push(c),i--}if(!this.preserveMultipleSlashes){for(let o=1;o<n.length-1;o++){let a=n[o];o===1&&a===""&&n[0]===""||(a==="."||a==="")&&(t=!0,n.splice(o,1),o--)}n[0]==="."&&n.length===2&&(n[1]==="."||n[1]==="")&&(t=!0,n.pop())}let s=0;for(;(s=n.indexOf("..",s+1))!==-1;){let o=n[s-1];if(o&&o!=="."&&o!==".."&&o!=="**"){t=!0;let l=s===1&&n[s+1]==="**"?["."]:[];n.splice(s-1,2,...l),n.length===0&&n.push(""),s-=2}}}}while(t);return e}secondPhasePreProcess(e){for(let t=0;t<e.length-1;t++)for(let n=t+1;n<e.length;n++){let i=this.partsMatch(e[t],e[n],!this.preserveMultipleSlashes);if(i){e[t]=[],e[n]=i;break}}return e.filter(t=>t.length)}partsMatch(e,t,n=!1){let i=0,s=0,o=[],a="";for(;i<e.length&&s<t.length;)if(e[i]===t[s])o.push(a==="b"?t[s]:e[i]),i++,s++;else if(n&&e[i]==="**"&&t[s]===e[i+1])o.push(e[i]),i++;else if(n&&t[s]==="**"&&e[i]===t[s+1])o.push(t[s]),s++;else if(e[i]==="*"&&t[s]&&(this.options.dot||!t[s].startsWith("."))&&t[s]!=="**"){if(a==="b")return!1;a="a",o.push(e[i]),i++,s++}else if(t[s]==="*"&&e[i]&&(this.options.dot||!e[i].startsWith("."))&&e[i]!=="**"){if(a==="a")return!1;a="b",o.push(t[s]),i++,s++}else return!1;return e.length===t.length&&o}parseNegate(){if(this.nonegate)return;let e=this.pattern,t=!1,n=0;for(let i=0;i<e.length&&e.charAt(i)==="!";i++)t=!t,n++;n&&(this.pattern=e.slice(n)),this.negate=t}matchOne(e,t,n=!1){let i=this.options;if(this.isWindows){let g=typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0]),v=!g&&e[0]===""&&e[1]===""&&e[2]==="?"&&/^[a-z]:$/i.test(e[3]),y=typeof t[0]=="string"&&/^[a-z]:$/i.test(t[0]),x=!y&&t[0]===""&&t[1]===""&&t[2]==="?"&&typeof t[3]=="string"&&/^[a-z]:$/i.test(t[3]),b=v?3:g?0:void 0,I=x?3:y?0:void 0;if(typeof b=="number"&&typeof I=="number"){let[E,R]=[e[b],t[I]];E.toLowerCase()===R.toLowerCase()&&(t[I]=E,I>b?t=t.slice(I):b>I&&(e=e.slice(b)))}}let{optimizationLevel:s=1}=this.options;s>=2&&(e=this.levelTwoFileOptimize(e)),this.debug("matchOne",this,{file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var o=0,a=0,l=e.length,u=t.length;o<l&&a<u;o++,a++){this.debug("matchOne loop");var c=t[a],f=e[o];if(this.debug(t,c,f),c===!1)return!1;if(c===ee){this.debug("GLOBSTAR",[t,c,f]);var h=o,d=a+1;if(d===u){for(this.debug("** at the end");o<l;o++)if(e[o]==="."||e[o]===".."||!i.dot&&e[o].charAt(0)===".")return!1;return!0}for(;h<l;){var p=e[h];if(this.debug(`
|
63
63
|
globstar while`,e,h,t,d,p),this.matchOne(e.slice(h),t.slice(d),n))return this.debug("globstar found match!",h,l,p),!0;if(p==="."||p===".."||!i.dot&&p.charAt(0)==="."){this.debug("dot detected!",e,h,t,d);break}this.debug("globstar swallow a segment, and continue"),h++}return!!(n&&(this.debug(`
|
64
|
-
>>> no match, partial?`,e,h,t,d),h===l))}let g;if(typeof c=="string"?(g=f===c,this.debug("string match",c,f,g)):(g=c.test(f),this.debug("pattern match",c,f,g)),!g)return!1}if(o===l&&a===u)return!0;if(o===l)return n;if(a===u)return o===l-1&&e[o]==="";throw new Error("wtf?")}braceExpand(){return eu(this.pattern,this.options)}parse(e){xr(e);let t=this.options;if(e==="**")return ee;if(e==="")return"";let n,i=null;(n=e.match(uv))?i=t.dot?hv:cv:(n=e.match(Xm))?i=(t.nocase?t.dot?nv:rv:t.dot?tv:ev)(n[1]):(n=e.match(fv))?i=(t.nocase?t.dot?dv:pv:t.dot?gv:mv)(n):(n=e.match(iv))?i=t.dot?ov:sv:(n=e.match(av))&&(i=lv);let s=Dt.fromGlob(e,this.options).toMMPattern();return i&&typeof s=="object"&&Reflect.defineProperty(s,"test",{value:i}),s}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let t=this.options,n=t.noglobstar?wv:t.dot?bv:xv,i=new Set(t.nocase?["i"]:[]),s=e.map(l=>{let u=l.map(c=>{if(c instanceof RegExp)for(let f of c.flags.split(""))i.add(f);return typeof c=="string"?Ev(c):c===ee?ee:c._src});return u.forEach((c,f)=>{let h=u[f+1],d=u[f-1];c!==ee||d===ee||(d===void 0?h!==void 0&&h!==ee?u[f+1]="(?:\\/|"+n+"\\/)?"+h:u[f]=n:h===void 0?u[f-1]=d+"(?:\\/|"+n+")?":h!==ee&&(u[f-1]=d+"(?:\\/|\\/"+n+"\\/)"+h,u[f+1]=ee))}),u.filter(c=>c!==ee).join("/")}).join("|"),[o,a]=e.length>1?["(?:",")"]:["",""];s="^"+o+s+a+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&t)return!0;let n=this.options;this.isWindows&&(e=e.split("\\").join("/"));let i=this.slashSplit(e);this.debug(this.pattern,"split",i);let s=this.set;this.debug(this.pattern,"set",s);let o=i[i.length-1];if(!o)for(let a=i.length-2;!o&&a>=0;a--)o=i[a];for(let a=0;a<s.length;a++){let l=s[a],u=i;if(n.matchBase&&l.length===1&&(u=[o]),this.matchOne(u,l,t))return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate}static defaults(e){return ae.defaults(e).Minimatch}};ae.AST=Dt;ae.Minimatch=ve;ae.escape=qt;ae.unescape=Te;var Cu=require("node:url");var Nt=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,nu=new Set,Ps=typeof process=="object"&&process?process:{},iu=(r,e,t,n)=>{typeof Ps.emitWarning=="function"?Ps.emitWarning(r,e,t,n):console.error(`[${t}] ${e}: ${r}`)},qn=globalThis.AbortController,tu=globalThis.AbortSignal,ru;if(typeof qn>"u"){tu=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(n,i){this._onabort.push(i)}},qn=class{constructor(){e()}signal=new tu;abort(n){var i,s;if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(let o of this.signal._onabort)o(n);(s=(i=this.signal).onabort)==null||s.call(i,n)}}};let r=((ru=Ps.env)==null?void 0:ru.LRU_CACHE_IGNORE_AC_WARNING)!=="1",e=()=>{r&&(r=!1,iu("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}var Lv=r=>!nu.has(r),Y_=Symbol("type"),et=r=>r&&r===Math.floor(r)&&r>0&&isFinite(r),su=r=>et(r)?r<=Math.pow(2,8)?Uint8Array:r<=Math.pow(2,16)?Uint16Array:r<=Math.pow(2,32)?Uint32Array:r<=Number.MAX_SAFE_INTEGER?jt:null:null,jt=class extends Array{constructor(e){super(e),this.fill(0)}},Ds=class r{heap;length;static#e=!1;static create(e){let t=su(e);if(!t)return[];r.#e=!0;let n=new r(e,t);return r.#e=!1,n}constructor(e,t){if(!r.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new t(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},Sr=class r{#e;#t;#s;#n;#o;#b;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#u;#h;#a;#l;#i;#m;#v;#p;#f;#S;#g;#_;#C;#w;#x;#I;#d;static unsafeExposeInternals(e){return{starts:e.#C,ttls:e.#w,sizes:e.#_,keyMap:e.#a,keyList:e.#l,valList:e.#i,next:e.#m,prev:e.#v,get head(){return e.#p},get tail(){return e.#f},free:e.#S,isBackgroundFetch:t=>e.#c(t),backgroundFetch:(t,n,i,s)=>e.#q(t,n,i,s),moveToTail:t=>e.#j(t),indexes:t=>e.#L(t),rindexes:t=>e.#R(t),isStale:t=>e.#y(t)}}get max(){return this.#e}get maxSize(){return this.#t}get calculatedSize(){return this.#h}get size(){return this.#u}get fetchMethod(){return this.#o}get memoMethod(){return this.#b}get dispose(){return this.#s}get disposeAfter(){return this.#n}constructor(e){let{max:t=0,ttl:n,ttlResolution:i=1,ttlAutopurge:s,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:l,dispose:u,disposeAfter:c,noDisposeOnSet:f,noUpdateTTL:h,maxSize:d=0,maxEntrySize:p=0,sizeCalculation:g,fetchMethod:v,memoMethod:y,noDeleteOnFetchRejection:x,noDeleteOnStaleGet:b,allowStaleOnFetchRejection:I,allowStaleOnFetchAbort:E,ignoreFetchAbort:R}=e;if(t!==0&&!et(t))throw new TypeError("max option must be a nonnegative integer");let M=t?su(t):Array;if(!M)throw new Error("invalid max value: "+t);if(this.#e=t,this.#t=d,this.maxEntrySize=p||this.#t,this.sizeCalculation=g,this.sizeCalculation){if(!this.#t&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(y!==void 0&&typeof y!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#b=y,v!==void 0&&typeof v!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#o=v,this.#I=!!v,this.#a=new Map,this.#l=new Array(t).fill(void 0),this.#i=new Array(t).fill(void 0),this.#m=new M(t),this.#v=new M(t),this.#p=0,this.#f=0,this.#S=Ds.create(t),this.#u=0,this.#h=0,typeof u=="function"&&(this.#s=u),typeof c=="function"?(this.#n=c,this.#g=[]):(this.#n=void 0,this.#g=void 0),this.#x=!!this.#s,this.#d=!!this.#n,this.noDisposeOnSet=!!f,this.noUpdateTTL=!!h,this.noDeleteOnFetchRejection=!!x,this.allowStaleOnFetchRejection=!!I,this.allowStaleOnFetchAbort=!!E,this.ignoreFetchAbort=!!R,this.maxEntrySize!==0){if(this.#t!==0&&!et(this.#t))throw new TypeError("maxSize must be a positive integer if specified");if(!et(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#M()}if(this.allowStale=!!l,this.noDeleteOnStaleGet=!!b,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!a,this.ttlResolution=et(i)||i===0?i:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!et(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#T()}if(this.#e===0&&this.ttl===0&&this.#t===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#e&&!this.#t){let O="LRU_CACHE_UNBOUNDED";Lv(O)&&(nu.add(O),iu("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",O,r))}}getRemainingTTL(e){return this.#a.has(e)?1/0:0}#T(){let e=new jt(this.#e),t=new jt(this.#e);this.#w=e,this.#C=t,this.#O=(s,o,a=Nt.now())=>{if(t[s]=o!==0?a:0,e[s]=o,o!==0&&this.ttlAutopurge){let l=setTimeout(()=>{this.#y(s)&&this.#F(this.#l[s],"expire")},o+1);l.unref&&l.unref()}},this.#E=s=>{t[s]=e[s]!==0?Nt.now():0},this.#r=(s,o)=>{if(e[o]){let a=e[o],l=t[o];if(!a||!l)return;s.ttl=a,s.start=l,s.now=n||i();let u=s.now-l;s.remainingTTL=a-u}};let n=0,i=()=>{let s=Nt.now();if(this.ttlResolution>0){n=s;let o=setTimeout(()=>n=0,this.ttlResolution);o.unref&&o.unref()}return s};this.getRemainingTTL=s=>{let o=this.#a.get(s);if(o===void 0)return 0;let a=e[o],l=t[o];if(!a||!l)return 1/0;let u=(n||i())-l;return a-u},this.#y=s=>{let o=t[s],a=e[s];return!!a&&!!o&&(n||i())-o>a}}#E=()=>{};#r=()=>{};#O=()=>{};#y=()=>!1;#M(){let e=new jt(this.#e);this.#h=0,this.#_=e,this.#A=t=>{this.#h-=e[t],e[t]=0},this.#$=(t,n,i,s)=>{if(this.#c(n))return 0;if(!et(i))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(i=s(n,t),!et(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return i},this.#k=(t,n,i)=>{if(e[t]=n,this.#t){let s=this.#t-e[t];for(;this.#h>s;)this.#D(!0)}this.#h+=e[t],i&&(i.entrySize=n,i.totalCalculatedSize=this.#h)}}#A=e=>{};#k=(e,t,n)=>{};#$=(e,t,n,i)=>{if(n||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#L({allowStale:e=this.allowStale}={}){if(this.#u)for(let t=this.#f;!(!this.#P(t)||((e||!this.#y(t))&&(yield t),t===this.#p));)t=this.#v[t]}*#R({allowStale:e=this.allowStale}={}){if(this.#u)for(let t=this.#p;!(!this.#P(t)||((e||!this.#y(t))&&(yield t),t===this.#f));)t=this.#m[t]}#P(e){return e!==void 0&&this.#a.get(this.#l[e])===e}*entries(){for(let e of this.#L())this.#i[e]!==void 0&&this.#l[e]!==void 0&&!this.#c(this.#i[e])&&(yield[this.#l[e],this.#i[e]])}*rentries(){for(let e of this.#R())this.#i[e]!==void 0&&this.#l[e]!==void 0&&!this.#c(this.#i[e])&&(yield[this.#l[e],this.#i[e]])}*keys(){for(let e of this.#L()){let t=this.#l[e];t!==void 0&&!this.#c(this.#i[e])&&(yield t)}}*rkeys(){for(let e of this.#R()){let t=this.#l[e];t!==void 0&&!this.#c(this.#i[e])&&(yield t)}}*values(){for(let e of this.#L())this.#i[e]!==void 0&&!this.#c(this.#i[e])&&(yield this.#i[e])}*rvalues(){for(let e of this.#R())this.#i[e]!==void 0&&!this.#c(this.#i[e])&&(yield this.#i[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,t={}){for(let n of this.#L()){let i=this.#i[n],s=this.#c(i)?i.__staleWhileFetching:i;if(s!==void 0&&e(s,this.#l[n],this))return this.get(this.#l[n],t)}}forEach(e,t=this){for(let n of this.#L()){let i=this.#i[n],s=this.#c(i)?i.__staleWhileFetching:i;s!==void 0&&e.call(t,s,this.#l[n],this)}}rforEach(e,t=this){for(let n of this.#R()){let i=this.#i[n],s=this.#c(i)?i.__staleWhileFetching:i;s!==void 0&&e.call(t,s,this.#l[n],this)}}purgeStale(){let e=!1;for(let t of this.#R({allowStale:!0}))this.#y(t)&&(this.#F(this.#l[t],"expire"),e=!0);return e}info(e){let t=this.#a.get(e);if(t===void 0)return;let n=this.#i[t],i=this.#c(n)?n.__staleWhileFetching:n;if(i===void 0)return;let s={value:i};if(this.#w&&this.#C){let o=this.#w[t],a=this.#C[t];if(o&&a){let l=o-(Nt.now()-a);s.ttl=l,s.start=Date.now()}}return this.#_&&(s.size=this.#_[t]),s}dump(){let e=[];for(let t of this.#L({allowStale:!0})){let n=this.#l[t],i=this.#i[t],s=this.#c(i)?i.__staleWhileFetching:i;if(s===void 0||n===void 0)continue;let o={value:s};if(this.#w&&this.#C){o.ttl=this.#w[t];let a=Nt.now()-this.#C[t];o.start=Math.floor(Date.now()-a)}this.#_&&(o.size=this.#_[t]),e.unshift([n,o])}return e}load(e){this.clear();for(let[t,n]of e){if(n.start){let i=Date.now()-n.start;n.start=Nt.now()-i}this.set(t,n.value,n)}}set(e,t,n={}){var h,d,p,g,v;if(t===void 0)return this.delete(e),this;let{ttl:i=this.ttl,start:s,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:l}=n,{noUpdateTTL:u=this.noUpdateTTL}=n,c=this.#$(e,t,n.size||0,a);if(this.maxEntrySize&&c>this.maxEntrySize)return l&&(l.set="miss",l.maxEntrySizeExceeded=!0),this.#F(e,"set"),this;let f=this.#u===0?void 0:this.#a.get(e);if(f===void 0)f=this.#u===0?this.#f:this.#S.length!==0?this.#S.pop():this.#u===this.#e?this.#D(!1):this.#u,this.#l[f]=e,this.#i[f]=t,this.#a.set(e,f),this.#m[this.#f]=f,this.#v[f]=this.#f,this.#f=f,this.#u++,this.#k(f,c,l),l&&(l.set="add"),u=!1;else{this.#j(f);let y=this.#i[f];if(t!==y){if(this.#I&&this.#c(y)){y.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:x}=y;x!==void 0&&!o&&(this.#x&&((h=this.#s)==null||h.call(this,x,e,"set")),this.#d&&((d=this.#g)==null||d.push([x,e,"set"])))}else o||(this.#x&&((p=this.#s)==null||p.call(this,y,e,"set")),this.#d&&((g=this.#g)==null||g.push([y,e,"set"])));if(this.#A(f),this.#k(f,c,l),this.#i[f]=t,l){l.set="replace";let x=y&&this.#c(y)?y.__staleWhileFetching:y;x!==void 0&&(l.oldValue=x)}}else l&&(l.set="update")}if(i!==0&&!this.#w&&this.#T(),this.#w&&(u||this.#O(f,i,s),l&&this.#r(l,f)),!o&&this.#d&&this.#g){let y=this.#g,x;for(;x=y==null?void 0:y.shift();)(v=this.#n)==null||v.call(this,...x)}return this}pop(){var e;try{for(;this.#u;){let t=this.#i[this.#p];if(this.#D(!0),this.#c(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(t!==void 0)return t}}finally{if(this.#d&&this.#g){let t=this.#g,n;for(;n=t==null?void 0:t.shift();)(e=this.#n)==null||e.call(this,...n)}}}#D(e){var s,o;let t=this.#p,n=this.#l[t],i=this.#i[t];return this.#I&&this.#c(i)?i.__abortController.abort(new Error("evicted")):(this.#x||this.#d)&&(this.#x&&((s=this.#s)==null||s.call(this,i,n,"evict")),this.#d&&((o=this.#g)==null||o.push([i,n,"evict"]))),this.#A(t),e&&(this.#l[t]=void 0,this.#i[t]=void 0,this.#S.push(t)),this.#u===1?(this.#p=this.#f=0,this.#S.length=0):this.#p=this.#m[t],this.#a.delete(n),this.#u--,t}has(e,t={}){let{updateAgeOnHas:n=this.updateAgeOnHas,status:i}=t,s=this.#a.get(e);if(s!==void 0){let o=this.#i[s];if(this.#c(o)&&o.__staleWhileFetching===void 0)return!1;if(this.#y(s))i&&(i.has="stale",this.#r(i,s));else return n&&this.#E(s),i&&(i.has="hit",this.#r(i,s)),!0}else i&&(i.has="miss");return!1}peek(e,t={}){let{allowStale:n=this.allowStale}=t,i=this.#a.get(e);if(i===void 0||!n&&this.#y(i))return;let s=this.#i[i];return this.#c(s)?s.__staleWhileFetching:s}#q(e,t,n,i){let s=t===void 0?void 0:this.#i[t];if(this.#c(s))return s;let o=new qn,{signal:a}=n;a==null||a.addEventListener("abort",()=>o.abort(a.reason),{signal:o.signal});let l={signal:o.signal,options:n,context:i},u=(g,v=!1)=>{let{aborted:y}=o.signal,x=n.ignoreFetchAbort&&g!==void 0;if(n.status&&(y&&!v?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,x&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),y&&!x&&!v)return f(o.signal.reason);let b=d;return this.#i[t]===d&&(g===void 0?b.__staleWhileFetching?this.#i[t]=b.__staleWhileFetching:this.#F(e,"fetch"):(n.status&&(n.status.fetchUpdated=!0),this.set(e,g,l.options))),g},c=g=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=g),f(g)),f=g=>{let{aborted:v}=o.signal,y=v&&n.allowStaleOnFetchAbort,x=y||n.allowStaleOnFetchRejection,b=x||n.noDeleteOnFetchRejection,I=d;if(this.#i[t]===d&&(!b||I.__staleWhileFetching===void 0?this.#F(e,"fetch"):y||(this.#i[t]=I.__staleWhileFetching)),x)return n.status&&I.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),I.__staleWhileFetching;if(I.__returned===I)throw g},h=(g,v)=>{var x;let y=(x=this.#o)==null?void 0:x.call(this,e,s,l);y&&y instanceof Promise&&y.then(b=>g(b===void 0?void 0:b),v),o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(g(void 0),n.allowStaleOnFetchAbort&&(g=b=>u(b,!0)))})};n.status&&(n.status.fetchDispatched=!0);let d=new Promise(h).then(u,c),p=Object.assign(d,{__abortController:o,__staleWhileFetching:s,__returned:void 0});return t===void 0?(this.set(e,p,{...l.options,status:void 0}),t=this.#a.get(e)):this.#i[t]=p,p}#c(e){if(!this.#I)return!1;let t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof qn}async fetch(e,t={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:l=0,sizeCalculation:u=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:f=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:h=this.allowStaleOnFetchRejection,ignoreFetchAbort:d=this.ignoreFetchAbort,allowStaleOnFetchAbort:p=this.allowStaleOnFetchAbort,context:g,forceRefresh:v=!1,status:y,signal:x}=t;if(!this.#I)return y&&(y.fetch="get"),this.get(e,{allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,status:y});let b={allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,ttl:o,noDisposeOnSet:a,size:l,sizeCalculation:u,noUpdateTTL:c,noDeleteOnFetchRejection:f,allowStaleOnFetchRejection:h,allowStaleOnFetchAbort:p,ignoreFetchAbort:d,status:y,signal:x},I=this.#a.get(e);if(I===void 0){y&&(y.fetch="miss");let E=this.#q(e,I,b,g);return E.__returned=E}else{let E=this.#i[I];if(this.#c(E)){let N=n&&E.__staleWhileFetching!==void 0;return y&&(y.fetch="inflight",N&&(y.returnedStale=!0)),N?E.__staleWhileFetching:E.__returned=E}let R=this.#y(I);if(!v&&!R)return y&&(y.fetch="hit"),this.#j(I),i&&this.#E(I),y&&this.#r(y,I),E;let M=this.#q(e,I,b,g),L=M.__staleWhileFetching!==void 0&&n;return y&&(y.fetch=R?"stale":"refresh",L&&R&&(y.returnedStale=!0)),L?M.__staleWhileFetching:M.__returned=M}}async forceFetch(e,t={}){let n=await this.fetch(e,t);if(n===void 0)throw new Error("fetch() returned undefined");return n}memo(e,t={}){let n=this.#b;if(!n)throw new Error("no memoMethod provided to constructor");let{context:i,forceRefresh:s,...o}=t,a=this.get(e,o);if(!s&&a!==void 0)return a;let l=n(e,a,{options:o,context:i});return this.set(e,l,o),l}get(e,t={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:o}=t,a=this.#a.get(e);if(a!==void 0){let l=this.#i[a],u=this.#c(l);return o&&this.#r(o,a),this.#y(a)?(o&&(o.get="stale"),u?(o&&n&&l.__staleWhileFetching!==void 0&&(o.returnedStale=!0),n?l.__staleWhileFetching:void 0):(s||this.#F(e,"expire"),o&&n&&(o.returnedStale=!0),n?l:void 0)):(o&&(o.get="hit"),u?l.__staleWhileFetching:(this.#j(a),i&&this.#E(a),l))}else o&&(o.get="miss")}#N(e,t){this.#v[t]=e,this.#m[e]=t}#j(e){e!==this.#f&&(e===this.#p?this.#p=this.#m[e]:this.#N(this.#v[e],this.#m[e]),this.#N(this.#f,e),this.#f=e)}delete(e){return this.#F(e,"delete")}#F(e,t){var i,s,o,a;let n=!1;if(this.#u!==0){let l=this.#a.get(e);if(l!==void 0)if(n=!0,this.#u===1)this.#B(t);else{this.#A(l);let u=this.#i[l];if(this.#c(u)?u.__abortController.abort(new Error("deleted")):(this.#x||this.#d)&&(this.#x&&((i=this.#s)==null||i.call(this,u,e,t)),this.#d&&((s=this.#g)==null||s.push([u,e,t]))),this.#a.delete(e),this.#l[l]=void 0,this.#i[l]=void 0,l===this.#f)this.#f=this.#v[l];else if(l===this.#p)this.#p=this.#m[l];else{let c=this.#v[l];this.#m[c]=this.#m[l];let f=this.#m[l];this.#v[f]=this.#v[l]}this.#u--,this.#S.push(l)}}if(this.#d&&((o=this.#g)!=null&&o.length)){let l=this.#g,u;for(;u=l==null?void 0:l.shift();)(a=this.#n)==null||a.call(this,...u)}return n}clear(){return this.#B("delete")}#B(e){var t,n,i;for(let s of this.#R({allowStale:!0})){let o=this.#i[s];if(this.#c(o))o.__abortController.abort(new Error("deleted"));else{let a=this.#l[s];this.#x&&((t=this.#s)==null||t.call(this,o,a,e)),this.#d&&((n=this.#g)==null||n.push([o,a,e]))}}if(this.#a.clear(),this.#i.fill(void 0),this.#l.fill(void 0),this.#w&&this.#C&&(this.#w.fill(0),this.#C.fill(0)),this.#_&&this.#_.fill(0),this.#p=0,this.#f=0,this.#S.length=0,this.#h=0,this.#u=0,this.#d&&this.#g){let s=this.#g,o;for(;o=s==null?void 0:s.shift();)(i=this.#n)==null||i.call(this,...o)}}};var Wt=require("node:path"),gu=require("node:url"),Be=require("fs"),Dv=wr(require("node:fs"),1),nt=require("node:fs/promises");var Hn=require("node:events"),zs=wr(require("node:stream"),1),cu=require("node:string_decoder"),ou=typeof process=="object"&&process?process:{stdout:null,stderr:null},Rv=r=>!!r&&typeof r=="object"&&(r instanceof rt||r instanceof zs.default||Tv(r)||Mv(r)),Tv=r=>!!r&&typeof r=="object"&&r instanceof Hn.EventEmitter&&typeof r.pipe=="function"&&r.pipe!==zs.default.Writable.prototype.pipe,Mv=r=>!!r&&typeof r=="object"&&r instanceof Hn.EventEmitter&&typeof r.write=="function"&&typeof r.end=="function",Ye=Symbol("EOF"),Ke=Symbol("maybeEmitEnd"),tt=Symbol("emittedEnd"),Nn=Symbol("emittingEnd"),_r=Symbol("emittedError"),jn=Symbol("closed"),au=Symbol("read"),Bn=Symbol("flush"),lu=Symbol("flushChunk"),Me=Symbol("encoding"),Bt=Symbol("decoder"),V=Symbol("flowing"),Cr=Symbol("paused"),Ut=Symbol("resume"),Y=Symbol("buffer"),le=Symbol("pipes"),K=Symbol("bufferLength"),qs=Symbol("bufferPush"),Un=Symbol("bufferShift"),se=Symbol("objectMode"),W=Symbol("destroyed"),Ns=Symbol("error"),js=Symbol("emitData"),uu=Symbol("emitEnd"),Bs=Symbol("emitEnd2"),Ne=Symbol("async"),Us=Symbol("abort"),Wn=Symbol("aborted"),Er=Symbol("signal"),mt=Symbol("dataListeners"),ye=Symbol("discarded"),Lr=r=>Promise.resolve().then(r),Fv=r=>r(),Ov=r=>r==="end"||r==="finish"||r==="prefinish",Av=r=>r instanceof ArrayBuffer||!!r&&typeof r=="object"&&r.constructor&&r.constructor.name==="ArrayBuffer"&&r.byteLength>=0,kv=r=>!Buffer.isBuffer(r)&&ArrayBuffer.isView(r),zn=class{src;dest;opts;ondrain;constructor(e,t,n){this.src=e,this.dest=t,this.opts=n,this.ondrain=()=>e[Ut](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(e){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},Ws=class extends zn{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,t,n){super(e,t,n),this.proxyErrors=i=>t.emit("error",i),e.on("error",this.proxyErrors)}},$v=r=>!!r.objectMode,Pv=r=>!r.objectMode&&!!r.encoding&&r.encoding!=="buffer",rt=class extends Hn.EventEmitter{[V]=!1;[Cr]=!1;[le]=[];[Y]=[];[se];[Me];[Ne];[Bt];[Ye]=!1;[tt]=!1;[Nn]=!1;[jn]=!1;[_r]=null;[K]=0;[W]=!1;[Er];[Wn]=!1;[mt]=0;[ye]=!1;writable=!0;readable=!0;constructor(...e){let t=e[0]||{};if(super(),t.objectMode&&typeof t.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");$v(t)?(this[se]=!0,this[Me]=null):Pv(t)?(this[Me]=t.encoding,this[se]=!1):(this[se]=!1,this[Me]=null),this[Ne]=!!t.async,this[Bt]=this[Me]?new cu.StringDecoder(this[Me]):null,t&&t.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[Y]}),t&&t.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[le]});let{signal:n}=t;n&&(this[Er]=n,n.aborted?this[Us]():n.addEventListener("abort",()=>this[Us]()))}get bufferLength(){return this[K]}get encoding(){return this[Me]}set encoding(e){throw new Error("Encoding must be set at instantiation time")}setEncoding(e){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[se]}set objectMode(e){throw new Error("objectMode must be set at instantiation time")}get async(){return this[Ne]}set async(e){this[Ne]=this[Ne]||!!e}[Us](){var e,t;this[Wn]=!0,this.emit("abort",(e=this[Er])==null?void 0:e.reason),this.destroy((t=this[Er])==null?void 0:t.reason)}get aborted(){return this[Wn]}set aborted(e){}write(e,t,n){var s;if(this[Wn])return!1;if(this[Ye])throw new Error("write after end");if(this[W])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof t=="function"&&(n=t,t="utf8"),t||(t="utf8");let i=this[Ne]?Lr:Fv;if(!this[se]&&!Buffer.isBuffer(e)){if(kv(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(Av(e))e=Buffer.from(e);else if(typeof e!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[se]?(this[V]&&this[K]!==0&&this[Bn](!0),this[V]?this.emit("data",e):this[qs](e),this[K]!==0&&this.emit("readable"),n&&i(n),this[V]):e.length?(typeof e=="string"&&!(t===this[Me]&&!((s=this[Bt])!=null&&s.lastNeed))&&(e=Buffer.from(e,t)),Buffer.isBuffer(e)&&this[Me]&&(e=this[Bt].write(e)),this[V]&&this[K]!==0&&this[Bn](!0),this[V]?this.emit("data",e):this[qs](e),this[K]!==0&&this.emit("readable"),n&&i(n),this[V]):(this[K]!==0&&this.emit("readable"),n&&i(n),this[V])}read(e){if(this[W])return null;if(this[ye]=!1,this[K]===0||e===0||e&&e>this[K])return this[Ke](),null;this[se]&&(e=null),this[Y].length>1&&!this[se]&&(this[Y]=[this[Me]?this[Y].join(""):Buffer.concat(this[Y],this[K])]);let t=this[au](e||null,this[Y][0]);return this[Ke](),t}[au](e,t){if(this[se])this[Un]();else{let n=t;e===n.length||e===null?this[Un]():typeof n=="string"?(this[Y][0]=n.slice(e),t=n.slice(0,e),this[K]-=e):(this[Y][0]=n.subarray(e),t=n.subarray(0,e),this[K]-=e)}return this.emit("data",t),!this[Y].length&&!this[Ye]&&this.emit("drain"),t}end(e,t,n){return typeof e=="function"&&(n=e,e=void 0),typeof t=="function"&&(n=t,t="utf8"),e!==void 0&&this.write(e,t),n&&this.once("end",n),this[Ye]=!0,this.writable=!1,(this[V]||!this[Cr])&&this[Ke](),this}[Ut](){this[W]||(!this[mt]&&!this[le].length&&(this[ye]=!0),this[Cr]=!1,this[V]=!0,this.emit("resume"),this[Y].length?this[Bn]():this[Ye]?this[Ke]():this.emit("drain"))}resume(){return this[Ut]()}pause(){this[V]=!1,this[Cr]=!0,this[ye]=!1}get destroyed(){return this[W]}get flowing(){return this[V]}get paused(){return this[Cr]}[qs](e){this[se]?this[K]+=1:this[K]+=e.length,this[Y].push(e)}[Un](){return this[se]?this[K]-=1:this[K]-=this[Y][0].length,this[Y].shift()}[Bn](e=!1){do;while(this[lu](this[Un]())&&this[Y].length);!e&&!this[Y].length&&!this[Ye]&&this.emit("drain")}[lu](e){return this.emit("data",e),this[V]}pipe(e,t){if(this[W])return e;this[ye]=!1;let n=this[tt];return t=t||{},e===ou.stdout||e===ou.stderr?t.end=!1:t.end=t.end!==!1,t.proxyErrors=!!t.proxyErrors,n?t.end&&e.end():(this[le].push(t.proxyErrors?new Ws(this,e,t):new zn(this,e,t)),this[Ne]?Lr(()=>this[Ut]()):this[Ut]()),e}unpipe(e){let t=this[le].find(n=>n.dest===e);t&&(this[le].length===1?(this[V]&&this[mt]===0&&(this[V]=!1),this[le]=[]):this[le].splice(this[le].indexOf(t),1),t.unpipe())}addListener(e,t){return this.on(e,t)}on(e,t){let n=super.on(e,t);if(e==="data")this[ye]=!1,this[mt]++,!this[le].length&&!this[V]&&this[Ut]();else if(e==="readable"&&this[K]!==0)super.emit("readable");else if(Ov(e)&&this[tt])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[_r]){let i=t;this[Ne]?Lr(()=>i.call(this,this[_r])):i.call(this,this[_r])}return n}removeListener(e,t){return this.off(e,t)}off(e,t){let n=super.off(e,t);return e==="data"&&(this[mt]=this.listeners("data").length,this[mt]===0&&!this[ye]&&!this[le].length&&(this[V]=!1)),n}removeAllListeners(e){let t=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[mt]=0,!this[ye]&&!this[le].length&&(this[V]=!1)),t}get emittedEnd(){return this[tt]}[Ke](){!this[Nn]&&!this[tt]&&!this[W]&&this[Y].length===0&&this[Ye]&&(this[Nn]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[jn]&&this.emit("close"),this[Nn]=!1)}emit(e,...t){let n=t[0];if(e!=="error"&&e!=="close"&&e!==W&&this[W])return!1;if(e==="data")return!this[se]&&!n?!1:this[Ne]?(Lr(()=>this[js](n)),!0):this[js](n);if(e==="end")return this[uu]();if(e==="close"){if(this[jn]=!0,!this[tt]&&!this[W])return!1;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(e==="error"){this[_r]=n,super.emit(Ns,n);let s=!this[Er]||this.listeners("error").length?super.emit("error",n):!1;return this[Ke](),s}else if(e==="resume"){let s=super.emit("resume");return this[Ke](),s}else if(e==="finish"||e==="prefinish"){let s=super.emit(e);return this.removeAllListeners(e),s}let i=super.emit(e,...t);return this[Ke](),i}[js](e){for(let n of this[le])n.dest.write(e)===!1&&this.pause();let t=this[ye]?!1:super.emit("data",e);return this[Ke](),t}[uu](){return this[tt]?!1:(this[tt]=!0,this.readable=!1,this[Ne]?(Lr(()=>this[Bs]()),!0):this[Bs]())}[Bs](){if(this[Bt]){let t=this[Bt].end();if(t){for(let n of this[le])n.dest.write(t);this[ye]||super.emit("data",t)}}for(let t of this[le])t.end();let e=super.emit("end");return this.removeAllListeners("end"),e}async collect(){let e=Object.assign([],{dataLength:0});this[se]||(e.dataLength=0);let t=this.promise();return this.on("data",n=>{e.push(n),this[se]||(e.dataLength+=n.length)}),await t,e}async concat(){if(this[se])throw new Error("cannot concat in objectMode");let e=await this.collect();return this[Me]?e.join(""):Buffer.concat(e,e.dataLength)}async promise(){return new Promise((e,t)=>{this.on(W,()=>t(new Error("stream destroyed"))),this.on("error",n=>t(n)),this.on("end",()=>e())})}[Symbol.asyncIterator](){this[ye]=!1;let e=!1,t=async()=>(this.pause(),e=!0,{value:void 0,done:!0});return{next:()=>{if(e)return t();let i=this.read();if(i!==null)return Promise.resolve({done:!1,value:i});if(this[Ye])return t();let s,o,a=f=>{this.off("data",l),this.off("end",u),this.off(W,c),t(),o(f)},l=f=>{this.off("error",a),this.off("end",u),this.off(W,c),this.pause(),s({value:f,done:!!this[Ye]})},u=()=>{this.off("error",a),this.off("data",l),this.off(W,c),t(),s({done:!0,value:void 0})},c=()=>a(new Error("stream destroyed"));return new Promise((f,h)=>{o=h,s=f,this.once(W,c),this.once("error",a),this.once("end",u),this.once("data",l)})},throw:t,return:t,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[ye]=!1;let e=!1,t=()=>(this.pause(),this.off(Ns,t),this.off(W,t),this.off("end",t),e=!0,{done:!0,value:void 0}),n=()=>{if(e)return t();let i=this.read();return i===null?t():{done:!1,value:i}};return this.once("end",t),this.once(Ns,t),this.once(W,t),{next:n,throw:t,return:t,[Symbol.iterator](){return this}}}destroy(e){if(this[W])return e?this.emit("error",e):this.emit(W),this;this[W]=!0,this[ye]=!0,this[Y].length=0,this[K]=0;let t=this;return typeof t.close=="function"&&!this[jn]&&t.close(),e?this.emit("error",e):this.emit(W),this}static get isStream(){return Rv}};var qv=Be.realpathSync.native,Tr={lstatSync:Be.lstatSync,readdir:Be.readdir,readdirSync:Be.readdirSync,readlinkSync:Be.readlinkSync,realpathSync:qv,promises:{lstat:nt.lstat,readdir:nt.readdir,readlink:nt.readlink,realpath:nt.realpath}},mu=r=>!r||r===Tr||r===Dv?Tr:{...Tr,...r,promises:{...Tr.promises,...r.promises||{}}},vu=/^\\\\\?\\([a-z]:)\\?$/i,Nv=r=>r.replace(/\//g,"\\").replace(vu,"$1\\"),jv=/[\\\/]/,_e=0,yu=1,wu=2,je=4,bu=6,xu=8,vt=10,Iu=12,Se=15,Rr=~Se,Hs=16,hu=32,Mr=64,Fe=128,Gn=256,Yn=512,fu=Mr|Fe|Yn,Bv=1023,Gs=r=>r.isFile()?xu:r.isDirectory()?je:r.isSymbolicLink()?vt:r.isCharacterDevice()?wu:r.isBlockDevice()?bu:r.isSocket()?Iu:r.isFIFO()?yu:_e,pu=new Map,Fr=r=>{let e=pu.get(r);if(e)return e;let t=r.normalize("NFKD");return pu.set(r,t),t},du=new Map,Vn=r=>{let e=du.get(r);if(e)return e;let t=Fr(r.toLowerCase());return du.set(r,t),t},Kn=class extends Sr{constructor(){super({max:256})}},Vs=class extends Sr{constructor(e=16*1024){super({maxSize:e,sizeCalculation:t=>t.length+1})}},Su=Symbol("PathScurry setAsCwd"),oe=class{name;root;roots;parent;nocase;isCWD=!1;#e;#t;get dev(){return this.#t}#s;get mode(){return this.#s}#n;get nlink(){return this.#n}#o;get uid(){return this.#o}#b;get gid(){return this.#b}#u;get rdev(){return this.#u}#h;get blksize(){return this.#h}#a;get ino(){return this.#a}#l;get size(){return this.#l}#i;get blocks(){return this.#i}#m;get atimeMs(){return this.#m}#v;get mtimeMs(){return this.#v}#p;get ctimeMs(){return this.#p}#f;get birthtimeMs(){return this.#f}#S;get atime(){return this.#S}#g;get mtime(){return this.#g}#_;get ctime(){return this.#_}#C;get birthtime(){return this.#C}#w;#x;#I;#d;#T;#E;#r;#O;#y;#M;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(e,t=_e,n,i,s,o,a){this.name=e,this.#w=s?Vn(e):Fr(e),this.#r=t&Bv,this.nocase=s,this.roots=i,this.root=n||this,this.#O=o,this.#I=a.fullpath,this.#T=a.relative,this.#E=a.relativePosix,this.parent=a.parent,this.parent?this.#e=this.parent.#e:this.#e=mu(a.fs)}depth(){return this.#x!==void 0?this.#x:this.parent?this.#x=this.parent.depth()+1:this.#x=0}childrenCache(){return this.#O}resolve(e){if(!e)return this;let t=this.getRootString(e),i=e.substring(t.length).split(this.splitSep);return t?this.getRoot(t).#A(i):this.#A(i)}#A(e){let t=this;for(let n of e)t=t.child(n);return t}children(){let e=this.#O.get(this);if(e)return e;let t=Object.assign([],{provisional:0});return this.#O.set(this,t),this.#r&=~Hs,t}child(e,t){if(e===""||e===".")return this;if(e==="..")return this.parent||this;let n=this.children(),i=this.nocase?Vn(e):Fr(e);for(let l of n)if(l.#w===i)return l;let s=this.parent?this.sep:"",o=this.#I?this.#I+s+e:void 0,a=this.newChild(e,_e,{...t,parent:this,fullpath:o});return this.canReaddir()||(a.#r|=Fe),n.push(a),a}relative(){if(this.isCWD)return"";if(this.#T!==void 0)return this.#T;let e=this.name,t=this.parent;if(!t)return this.#T=this.name;let n=t.relative();return n+(!n||!t.parent?"":this.sep)+e}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#E!==void 0)return this.#E;let e=this.name,t=this.parent;if(!t)return this.#E=this.fullpathPosix();let n=t.relativePosix();return n+(!n||!t.parent?"":"/")+e}fullpath(){if(this.#I!==void 0)return this.#I;let e=this.name,t=this.parent;if(!t)return this.#I=this.name;let i=t.fullpath()+(t.parent?this.sep:"")+e;return this.#I=i}fullpathPosix(){if(this.#d!==void 0)return this.#d;if(this.sep==="/")return this.#d=this.fullpath();if(!this.parent){let i=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(i)?this.#d=`//?/${i}`:this.#d=i}let e=this.parent,t=e.fullpathPosix(),n=t+(!t||!e.parent?"":"/")+this.name;return this.#d=n}isUnknown(){return(this.#r&Se)===_e}isType(e){return this[`is${e}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#r&Se)===xu}isDirectory(){return(this.#r&Se)===je}isCharacterDevice(){return(this.#r&Se)===wu}isBlockDevice(){return(this.#r&Se)===bu}isFIFO(){return(this.#r&Se)===yu}isSocket(){return(this.#r&Se)===Iu}isSymbolicLink(){return(this.#r&vt)===vt}lstatCached(){return this.#r&hu?this:void 0}readlinkCached(){return this.#y}realpathCached(){return this.#M}readdirCached(){let e=this.children();return e.slice(0,e.provisional)}canReadlink(){if(this.#y)return!0;if(!this.parent)return!1;let e=this.#r&Se;return!(e!==_e&&e!==vt||this.#r&Gn||this.#r&Fe)}calledReaddir(){return!!(this.#r&Hs)}isENOENT(){return!!(this.#r&Fe)}isNamed(e){return this.nocase?this.#w===Vn(e):this.#w===Fr(e)}async readlink(){var t;let e=this.#y;if(e)return e;if(this.canReadlink()&&this.parent)try{let n=await this.#e.promises.readlink(this.fullpath()),i=(t=await this.parent.realpath())==null?void 0:t.resolve(n);if(i)return this.#y=i}catch(n){this.#c(n.code);return}}readlinkSync(){var t;let e=this.#y;if(e)return e;if(this.canReadlink()&&this.parent)try{let n=this.#e.readlinkSync(this.fullpath()),i=(t=this.parent.realpathSync())==null?void 0:t.resolve(n);if(i)return this.#y=i}catch(n){this.#c(n.code);return}}#k(e){this.#r|=Hs;for(let t=e.provisional;t<e.length;t++){let n=e[t];n&&n.#$()}}#$(){this.#r&Fe||(this.#r=(this.#r|Fe)&Rr,this.#L())}#L(){let e=this.children();e.provisional=0;for(let t of e)t.#$()}#R(){this.#r|=Yn,this.#P()}#P(){if(this.#r&Mr)return;let e=this.#r;(e&Se)===je&&(e&=Rr),this.#r=e|Mr,this.#L()}#D(e=""){e==="ENOTDIR"||e==="EPERM"?this.#P():e==="ENOENT"?this.#$():this.children().provisional=0}#q(e=""){e==="ENOTDIR"?this.parent.#P():e==="ENOENT"&&this.#$()}#c(e=""){let t=this.#r;t|=Gn,e==="ENOENT"&&(t|=Fe),(e==="EINVAL"||e==="UNKNOWN")&&(t&=Rr),this.#r=t,e==="ENOTDIR"&&this.parent&&this.parent.#P()}#N(e,t){return this.#F(e,t)||this.#j(e,t)}#j(e,t){let n=Gs(e),i=this.newChild(e.name,n,{parent:this}),s=i.#r&Se;return s!==je&&s!==vt&&s!==_e&&(i.#r|=Mr),t.unshift(i),t.provisional++,i}#F(e,t){for(let n=t.provisional;n<t.length;n++){let i=t[n];if((this.nocase?Vn(e.name):Fr(e.name))===i.#w)return this.#B(e,i,n,t)}}#B(e,t,n,i){let s=t.name;return t.#r=t.#r&Rr|Gs(e),s!==e.name&&(t.name=e.name),n!==i.provisional&&(n===i.length-1?i.pop():i.splice(n,1),i.unshift(t)),i.provisional++,t}async lstat(){if((this.#r&Fe)===0)try{return this.#H(await this.#e.promises.lstat(this.fullpath())),this}catch(e){this.#q(e.code)}}lstatSync(){if((this.#r&Fe)===0)try{return this.#H(this.#e.lstatSync(this.fullpath())),this}catch(e){this.#q(e.code)}}#H(e){let{atime:t,atimeMs:n,birthtime:i,birthtimeMs:s,blksize:o,blocks:a,ctime:l,ctimeMs:u,dev:c,gid:f,ino:h,mode:d,mtime:p,mtimeMs:g,nlink:v,rdev:y,size:x,uid:b}=e;this.#S=t,this.#m=n,this.#C=i,this.#f=s,this.#h=o,this.#i=a,this.#_=l,this.#p=u,this.#t=c,this.#b=f,this.#a=h,this.#s=d,this.#g=p,this.#v=g,this.#n=v,this.#u=y,this.#l=x,this.#o=b;let I=Gs(e);this.#r=this.#r&Rr|I|hu,I!==_e&&I!==je&&I!==vt&&(this.#r|=Mr)}#W=[];#z=!1;#G(e){this.#z=!1;let t=this.#W.slice();this.#W.length=0,t.forEach(n=>n(null,e))}readdirCB(e,t=!1){if(!this.canReaddir()){t?e(null,[]):queueMicrotask(()=>e(null,[]));return}let n=this.children();if(this.calledReaddir()){let s=n.slice(0,n.provisional);t?e(null,s):queueMicrotask(()=>e(null,s));return}if(this.#W.push(e),this.#z)return;this.#z=!0;let i=this.fullpath();this.#e.readdir(i,{withFileTypes:!0},(s,o)=>{if(s)this.#D(s.code),n.provisional=0;else{for(let a of o)this.#N(a,n);this.#k(n)}this.#G(n.slice(0,n.provisional))})}#U;async readdir(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let t=this.fullpath();if(this.#U)await this.#U;else{let n=()=>{};this.#U=new Promise(i=>n=i);try{for(let i of await this.#e.promises.readdir(t,{withFileTypes:!0}))this.#N(i,e);this.#k(e)}catch(i){this.#D(i.code),e.provisional=0}this.#U=void 0,n()}return e.slice(0,e.provisional)}readdirSync(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let t=this.fullpath();try{for(let n of this.#e.readdirSync(t,{withFileTypes:!0}))this.#N(n,e);this.#k(e)}catch(n){this.#D(n.code),e.provisional=0}return e.slice(0,e.provisional)}canReaddir(){if(this.#r&fu)return!1;let e=Se&this.#r;return e===_e||e===je||e===vt}shouldWalk(e,t){return(this.#r&je)===je&&!(this.#r&fu)&&!e.has(this)&&(!t||t(this))}async realpath(){if(this.#M)return this.#M;if(!((Yn|Gn|Fe)&this.#r))try{let e=await this.#e.promises.realpath(this.fullpath());return this.#M=this.resolve(e)}catch{this.#R()}}realpathSync(){if(this.#M)return this.#M;if(!((Yn|Gn|Fe)&this.#r))try{let e=this.#e.realpathSync(this.fullpath());return this.#M=this.resolve(e)}catch{this.#R()}}[Su](e){if(e===this)return;e.isCWD=!1,this.isCWD=!0;let t=new Set([]),n=[],i=this;for(;i&&i.parent;)t.add(i),i.#T=n.join(this.sep),i.#E=n.join("/"),i=i.parent,n.push("..");for(i=e;i&&i.parent&&!t.has(i);)i.#T=void 0,i.#E=void 0,i=i.parent}},Qn=class r extends oe{sep="\\";splitSep=jv;constructor(e,t=_e,n,i,s,o,a){super(e,t,n,i,s,o,a)}newChild(e,t=_e,n={}){return new r(e,t,this.root,this.roots,this.nocase,this.childrenCache(),n)}getRootString(e){return Wt.win32.parse(e).root}getRoot(e){if(e=Nv(e.toUpperCase()),e===this.root.name)return this.root;for(let[t,n]of Object.entries(this.roots))if(this.sameRoot(e,t))return this.roots[e]=n;return this.roots[e]=new zt(e,this).root}sameRoot(e,t=this.root.name){return e=e.toUpperCase().replace(/\//g,"\\").replace(vu,"$1\\"),e===t}},Jn=class r extends oe{splitSep="/";sep="/";constructor(e,t=_e,n,i,s,o,a){super(e,t,n,i,s,o,a)}getRootString(e){return e.startsWith("/")?"/":""}getRoot(e){return this.root}newChild(e,t=_e,n={}){return new r(e,t,this.root,this.roots,this.nocase,this.childrenCache(),n)}},Zn=class{root;rootPath;roots;cwd;#e;#t;#s;nocase;#n;constructor(e=process.cwd(),t,n,{nocase:i,childrenCacheSize:s=16*1024,fs:o=Tr}={}){this.#n=mu(o),(e instanceof URL||e.startsWith("file://"))&&(e=(0,gu.fileURLToPath)(e));let a=t.resolve(e);this.roots=Object.create(null),this.rootPath=this.parseRootPath(a),this.#e=new Kn,this.#t=new Kn,this.#s=new Vs(s);let l=a.substring(this.rootPath.length).split(n);if(l.length===1&&!l[0]&&l.pop(),i===void 0)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=i,this.root=this.newRoot(this.#n),this.roots[this.rootPath]=this.root;let u=this.root,c=l.length-1,f=t.sep,h=this.rootPath,d=!1;for(let p of l){let g=c--;u=u.child(p,{relative:new Array(g).fill("..").join(f),relativePosix:new Array(g).fill("..").join("/"),fullpath:h+=(d?"":f)+p}),d=!0}this.cwd=u}depth(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.depth()}childrenCache(){return this.#s}resolve(...e){let t="";for(let s=e.length-1;s>=0;s--){let o=e[s];if(!(!o||o===".")&&(t=t?`${o}/${t}`:o,this.isAbsolute(o)))break}let n=this.#e.get(t);if(n!==void 0)return n;let i=this.cwd.resolve(t).fullpath();return this.#e.set(t,i),i}resolvePosix(...e){let t="";for(let s=e.length-1;s>=0;s--){let o=e[s];if(!(!o||o===".")&&(t=t?`${o}/${t}`:o,this.isAbsolute(o)))break}let n=this.#t.get(t);if(n!==void 0)return n;let i=this.cwd.resolve(t).fullpathPosix();return this.#t.set(t,i),i}relative(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relative()}relativePosix(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relativePosix()}basename(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.name}dirname(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),(e.parent||e).fullpath()}async readdir(e=this.cwd,t={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e,e=this.cwd);let{withFileTypes:n}=t;if(e.canReaddir()){let i=await e.readdir();return n?i:i.map(s=>s.name)}else return[]}readdirSync(e=this.cwd,t={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e,e=this.cwd);let{withFileTypes:n=!0}=t;return e.canReaddir()?n?e.readdirSync():e.readdirSync().map(i=>i.name):[]}async lstat(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstat()}lstatSync(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstatSync()}async readlink(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e.withFileTypes,e=this.cwd);let n=await e.readlink();return t?n:n==null?void 0:n.fullpath()}readlinkSync(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e.withFileTypes,e=this.cwd);let n=e.readlinkSync();return t?n:n==null?void 0:n.fullpath()}async realpath(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e.withFileTypes,e=this.cwd);let n=await e.realpath();return t?n:n==null?void 0:n.fullpath()}realpathSync(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e.withFileTypes,e=this.cwd);let n=e.realpathSync();return t?n:n==null?void 0:n.fullpath()}async walk(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=t,a=[];(!s||s(e))&&a.push(n?e:e.fullpath());let l=new Set,u=(f,h)=>{l.add(f),f.readdirCB((d,p)=>{if(d)return h(d);let g=p.length;if(!g)return h();let v=()=>{--g===0&&h()};for(let y of p)(!s||s(y))&&a.push(n?y:y.fullpath()),i&&y.isSymbolicLink()?y.realpath().then(x=>x!=null&&x.isUnknown()?x.lstat():x).then(x=>x!=null&&x.shouldWalk(l,o)?u(x,v):v()):y.shouldWalk(l,o)?u(y,v):v()},!0)},c=e;return new Promise((f,h)=>{u(c,d=>{if(d)return h(d);f(a)})})}walkSync(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=t,a=[];(!s||s(e))&&a.push(n?e:e.fullpath());let l=new Set([e]);for(let u of l){let c=u.readdirSync();for(let f of c){(!s||s(f))&&a.push(n?f:f.fullpath());let h=f;if(f.isSymbolicLink()){if(!(i&&(h=f.realpathSync())))continue;h.isUnknown()&&h.lstatSync()}h.shouldWalk(l,o)&&l.add(h)}}return a}[Symbol.asyncIterator](){return this.iterate()}iterate(e=this.cwd,t={}){return typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e,e=this.cwd),this.stream(e,t)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=t;(!s||s(e))&&(yield n?e:e.fullpath());let a=new Set([e]);for(let l of a){let u=l.readdirSync();for(let c of u){(!s||s(c))&&(yield n?c:c.fullpath());let f=c;if(c.isSymbolicLink()){if(!(i&&(f=c.realpathSync())))continue;f.isUnknown()&&f.lstatSync()}f.shouldWalk(a,o)&&a.add(f)}}}stream(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=t,a=new rt({objectMode:!0});(!s||s(e))&&a.write(n?e:e.fullpath());let l=new Set,u=[e],c=0,f=()=>{let h=!1;for(;!h;){let d=u.shift();if(!d){c===0&&a.end();return}c++,l.add(d);let p=(v,y,x=!1)=>{if(v)return a.emit("error",v);if(i&&!x){let b=[];for(let I of y)I.isSymbolicLink()&&b.push(I.realpath().then(E=>E!=null&&E.isUnknown()?E.lstat():E));if(b.length){Promise.all(b).then(()=>p(null,y,!0));return}}for(let b of y)b&&(!s||s(b))&&(a.write(n?b:b.fullpath())||(h=!0));c--;for(let b of y){let I=b.realpathCached()||b;I.shouldWalk(l,o)&&u.push(I)}h&&!a.flowing?a.once("drain",f):g||f()},g=!0;d.readdirCB(p,!0),g=!1}};return f(),a}streamSync(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=t,a=new rt({objectMode:!0}),l=new Set;(!s||s(e))&&a.write(n?e:e.fullpath());let u=[e],c=0,f=()=>{let h=!1;for(;!h;){let d=u.shift();if(!d){c===0&&a.end();return}c++,l.add(d);let p=d.readdirSync();for(let g of p)(!s||s(g))&&(a.write(n?g:g.fullpath())||(h=!0));c--;for(let g of p){let v=g;if(g.isSymbolicLink()){if(!(i&&(v=g.realpathSync())))continue;v.isUnknown()&&v.lstatSync()}v.shouldWalk(l,o)&&u.push(v)}}h&&!a.flowing&&a.once("drain",f)};return f(),a}chdir(e=this.cwd){let t=this.cwd;this.cwd=typeof e=="string"?this.cwd.resolve(e):e,this.cwd[Su](t)}},zt=class extends Zn{sep="\\";constructor(e=process.cwd(),t={}){let{nocase:n=!0}=t;super(e,Wt.win32,"\\",{...t,nocase:n}),this.nocase=n;for(let i=this.cwd;i;i=i.parent)i.nocase=this.nocase}parseRootPath(e){return Wt.win32.parse(e).root.toUpperCase()}newRoot(e){return new Qn(this.rootPath,je,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")||e.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(e)}},Ht=class extends Zn{sep="/";constructor(e=process.cwd(),t={}){let{nocase:n=!1}=t;super(e,Wt.posix,"/",{...t,nocase:n}),this.nocase=n}parseRootPath(e){return"/"}newRoot(e){return new Jn(this.rootPath,je,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")}},Or=class extends Ht{constructor(e=process.cwd(),t={}){let{nocase:n=!0}=t;super(e,{...t,nocase:n})}},X_=process.platform==="win32"?Qn:Jn,_u=process.platform==="win32"?zt:process.platform==="darwin"?Or:Ht;var Uv=r=>r.length>=1,Wv=r=>r.length>=1,Gt=class r{#e;#t;#s;length;#n;#o;#b;#u;#h;#a;#l=!0;constructor(e,t,n,i){if(!Uv(e))throw new TypeError("empty pattern list");if(!Wv(t))throw new TypeError("empty glob list");if(t.length!==e.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=e.length,n<0||n>=this.length)throw new TypeError("index out of range");if(this.#e=e,this.#t=t,this.#s=n,this.#n=i,this.#s===0){if(this.isUNC()){let[s,o,a,l,...u]=this.#e,[c,f,h,d,...p]=this.#t;u[0]===""&&(u.shift(),p.shift());let g=[s,o,a,l,""].join("/"),v=[c,f,h,d,""].join("/");this.#e=[g,...u],this.#t=[v,...p],this.length=this.#e.length}else if(this.isDrive()||this.isAbsolute()){let[s,...o]=this.#e,[a,...l]=this.#t;o[0]===""&&(o.shift(),l.shift());let u=s+"/",c=a+"/";this.#e=[u,...o],this.#t=[c,...l],this.length=this.#e.length}}}pattern(){return this.#e[this.#s]}isString(){return typeof this.#e[this.#s]=="string"}isGlobstar(){return this.#e[this.#s]===ee}isRegExp(){return this.#e[this.#s]instanceof RegExp}globString(){return this.#b=this.#b||(this.#s===0?this.isAbsolute()?this.#t[0]+this.#t.slice(1).join("/"):this.#t.join("/"):this.#t.slice(this.#s).join("/"))}hasMore(){return this.length>this.#s+1}rest(){return this.#o!==void 0?this.#o:this.hasMore()?(this.#o=new r(this.#e,this.#t,this.#s+1,this.#n),this.#o.#a=this.#a,this.#o.#h=this.#h,this.#o.#u=this.#u,this.#o):this.#o=null}isUNC(){let e=this.#e;return this.#h!==void 0?this.#h:this.#h=this.#n==="win32"&&this.#s===0&&e[0]===""&&e[1]===""&&typeof e[2]=="string"&&!!e[2]&&typeof e[3]=="string"&&!!e[3]}isDrive(){let e=this.#e;return this.#u!==void 0?this.#u:this.#u=this.#n==="win32"&&this.#s===0&&this.length>1&&typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0])}isAbsolute(){let e=this.#e;return this.#a!==void 0?this.#a:this.#a=e[0]===""&&e.length>1||this.isDrive()||this.isUNC()}root(){let e=this.#e[0];return typeof e=="string"&&this.isAbsolute()&&this.#s===0?e:""}checkFollowGlobstar(){return!(this.#s===0||!this.isGlobstar()||!this.#l)}markFollowGlobstar(){return this.#s===0||!this.isGlobstar()||!this.#l?!1:(this.#l=!1,!0)}};var zv=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",Vt=class{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(e,{nobrace:t,nocase:n,noext:i,noglobstar:s,platform:o=zv}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=o,this.mmopts={dot:!0,nobrace:t,nocase:n,noext:i,noglobstar:s,optimizationLevel:2,platform:o,nocomment:!0,nonegate:!0};for(let a of e)this.add(a)}add(e){let t=new ve(e,this.mmopts);for(let n=0;n<t.set.length;n++){let i=t.set[n],s=t.globParts[n];if(!i||!s)throw new Error("invalid pattern object");for(;i[0]==="."&&s[0]===".";)i.shift(),s.shift();let o=new Gt(i,s,0,this.platform),a=new ve(o.globString(),this.mmopts),l=s[s.length-1]==="**",u=o.isAbsolute();u?this.absolute.push(a):this.relative.push(a),l&&(u?this.absoluteChildren.push(a):this.relativeChildren.push(a))}}ignored(e){let t=e.fullpath(),n=`${t}/`,i=e.relative()||".",s=`${i}/`;for(let o of this.relative)if(o.match(i)||o.match(s))return!0;for(let o of this.absolute)if(o.match(t)||o.match(n))return!0;return!1}childrenIgnored(e){let t=e.fullpath()+"/",n=(e.relative()||".")+"/";for(let i of this.relativeChildren)if(i.match(n))return!0;for(let i of this.absoluteChildren)if(i.match(t))return!0;return!1}};var Ys=class r{store;constructor(e=new Map){this.store=e}copy(){return new r(new Map(this.store))}hasWalked(e,t){var n;return(n=this.store.get(e.fullpath()))==null?void 0:n.has(t.globString())}storeWalked(e,t){let n=e.fullpath(),i=this.store.get(n);i?i.add(t.globString()):this.store.set(n,new Set([t.globString()]))}},Ks=class{store=new Map;add(e,t,n){let i=(t?2:0)|(n?1:0),s=this.store.get(e);this.store.set(e,s===void 0?i:i&s)}entries(){return[...this.store.entries()].map(([e,t])=>[e,!!(t&2),!!(t&1)])}},Qs=class{store=new Map;add(e,t){if(!e.canReaddir())return;let n=this.store.get(e);n?n.find(i=>i.globString()===t.globString())||n.push(t):this.store.set(e,[t])}get(e){let t=this.store.get(e);if(!t)throw new Error("attempting to walk unknown path");return t}entries(){return this.keys().map(e=>[e,this.store.get(e)])}keys(){return[...this.store.keys()].filter(e=>e.canReaddir())}},Ar=class r{hasWalkedCache;matches=new Ks;subwalks=new Qs;patterns;follow;dot;opts;constructor(e,t){this.opts=e,this.follow=!!e.follow,this.dot=!!e.dot,this.hasWalkedCache=t?t.copy():new Ys}processPatterns(e,t){this.patterns=t;let n=t.map(i=>[e,i]);for(let[i,s]of n){this.hasWalkedCache.storeWalked(i,s);let o=s.root(),a=s.isAbsolute()&&this.opts.absolute!==!1;if(o){i=i.resolve(o==="/"&&this.opts.root!==void 0?this.opts.root:o);let f=s.rest();if(f)s=f;else{this.matches.add(i,!0,!1);continue}}if(i.isENOENT())continue;let l,u,c=!1;for(;typeof(l=s.pattern())=="string"&&(u=s.rest());)i=i.resolve(l),s=u,c=!0;if(l=s.pattern(),u=s.rest(),c){if(this.hasWalkedCache.hasWalked(i,s))continue;this.hasWalkedCache.storeWalked(i,s)}if(typeof l=="string"){let f=l===".."||l===""||l===".";this.matches.add(i.resolve(l),a,f);continue}else if(l===ee){(!i.isSymbolicLink()||this.follow||s.checkFollowGlobstar())&&this.subwalks.add(i,s);let f=u==null?void 0:u.pattern(),h=u==null?void 0:u.rest();if(!u||(f===""||f===".")&&!h)this.matches.add(i,a,f===""||f===".");else if(f===".."){let d=i.parent||i;h?this.hasWalkedCache.hasWalked(d,h)||this.subwalks.add(d,h):this.matches.add(d,a,!0)}}else l instanceof RegExp&&this.subwalks.add(i,s)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new r(this.opts,this.hasWalkedCache)}filterEntries(e,t){let n=this.subwalks.get(e),i=this.child();for(let s of t)for(let o of n){let a=o.isAbsolute(),l=o.pattern(),u=o.rest();l===ee?i.testGlobstar(s,o,u,a):l instanceof RegExp?i.testRegExp(s,l,u,a):i.testString(s,l,u,a)}return i}testGlobstar(e,t,n,i){if((this.dot||!e.name.startsWith("."))&&(t.hasMore()||this.matches.add(e,i,!1),e.canReaddir()&&(this.follow||!e.isSymbolicLink()?this.subwalks.add(e,t):e.isSymbolicLink()&&(n&&t.checkFollowGlobstar()?this.subwalks.add(e,n):t.markFollowGlobstar()&&this.subwalks.add(e,t)))),n){let s=n.pattern();if(typeof s=="string"&&s!==".."&&s!==""&&s!==".")this.testString(e,s,n.rest(),i);else if(s===".."){let o=e.parent||e;this.subwalks.add(o,n)}else s instanceof RegExp&&this.testRegExp(e,s,n.rest(),i)}}testRegExp(e,t,n,i){t.test(e.name)&&(n?this.subwalks.add(e,n):this.matches.add(e,i,!1))}testString(e,t,n,i){e.isNamed(t)&&(n?this.subwalks.add(e,n):this.matches.add(e,i,!1))}};var Hv=(r,e)=>typeof r=="string"?new Vt([r],e):Array.isArray(r)?new Vt(r,e):r,Xn=class{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#e=[];#t;#s;signal;maxDepth;includeChildMatches;constructor(e,t,n){if(this.patterns=e,this.path=t,this.opts=n,this.#s=!n.posix&&n.platform==="win32"?"\\":"/",this.includeChildMatches=n.includeChildMatches!==!1,(n.ignore||!this.includeChildMatches)&&(this.#t=Hv(n.ignore??[],n),!this.includeChildMatches&&typeof this.#t.add!="function")){let i="cannot ignore child matches, ignore lacks add() method.";throw new Error(i)}this.maxDepth=n.maxDepth||1/0,n.signal&&(this.signal=n.signal,this.signal.addEventListener("abort",()=>{this.#e.length=0}))}#n(e){var t,n;return this.seen.has(e)||!!((n=(t=this.#t)==null?void 0:t.ignored)!=null&&n.call(t,e))}#o(e){var t,n;return!!((n=(t=this.#t)==null?void 0:t.childrenIgnored)!=null&&n.call(t,e))}pause(){this.paused=!0}resume(){var t;if((t=this.signal)!=null&&t.aborted)return;this.paused=!1;let e;for(;!this.paused&&(e=this.#e.shift());)e()}onResume(e){var t;(t=this.signal)!=null&&t.aborted||(this.paused?this.#e.push(e):e())}async matchCheck(e,t){if(t&&this.opts.nodir)return;let n;if(this.opts.realpath){if(n=e.realpathCached()||await e.realpath(),!n)return;e=n}let s=e.isUnknown()||this.opts.stat?await e.lstat():e;if(this.opts.follow&&this.opts.nodir&&(s!=null&&s.isSymbolicLink())){let o=await s.realpath();o&&(o.isUnknown()||this.opts.stat)&&await o.lstat()}return this.matchCheckTest(s,t)}matchCheckTest(e,t){var n;return e&&(this.maxDepth===1/0||e.depth()<=this.maxDepth)&&(!t||e.canReaddir())&&(!this.opts.nodir||!e.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!e.isSymbolicLink()||!((n=e.realpathCached())!=null&&n.isDirectory()))&&!this.#n(e)?e:void 0}matchCheckSync(e,t){if(t&&this.opts.nodir)return;let n;if(this.opts.realpath){if(n=e.realpathCached()||e.realpathSync(),!n)return;e=n}let s=e.isUnknown()||this.opts.stat?e.lstatSync():e;if(this.opts.follow&&this.opts.nodir&&(s!=null&&s.isSymbolicLink())){let o=s.realpathSync();o&&(o!=null&&o.isUnknown()||this.opts.stat)&&o.lstatSync()}return this.matchCheckTest(s,t)}matchFinish(e,t){var s;if(this.#n(e))return;if(!this.includeChildMatches&&((s=this.#t)!=null&&s.add)){let o=`${e.relativePosix()}/**`;this.#t.add(o)}let n=this.opts.absolute===void 0?t:this.opts.absolute;this.seen.add(e);let i=this.opts.mark&&e.isDirectory()?this.#s:"";if(this.opts.withFileTypes)this.matchEmit(e);else if(n){let o=this.opts.posix?e.fullpathPosix():e.fullpath();this.matchEmit(o+i)}else{let o=this.opts.posix?e.relativePosix():e.relative(),a=this.opts.dotRelative&&!o.startsWith(".."+this.#s)?"."+this.#s:"";this.matchEmit(o?a+o+i:"."+i)}}async match(e,t,n){let i=await this.matchCheck(e,n);i&&this.matchFinish(i,t)}matchSync(e,t,n){let i=this.matchCheckSync(e,n);i&&this.matchFinish(i,t)}walkCB(e,t,n){var i;(i=this.signal)!=null&&i.aborted&&n(),this.walkCB2(e,t,new Ar(this.opts),n)}walkCB2(e,t,n,i){var a;if(this.#o(e))return i();if((a=this.signal)!=null&&a.aborted&&i(),this.paused){this.onResume(()=>this.walkCB2(e,t,n,i));return}n.processPatterns(e,t);let s=1,o=()=>{--s===0&&i()};for(let[l,u,c]of n.matches.entries())this.#n(l)||(s++,this.match(l,u,c).then(()=>o()));for(let l of n.subwalkTargets()){if(this.maxDepth!==1/0&&l.depth()>=this.maxDepth)continue;s++;let u=l.readdirCached();l.calledReaddir()?this.walkCB3(l,u,n,o):l.readdirCB((c,f)=>this.walkCB3(l,f,n,o),!0)}o()}walkCB3(e,t,n,i){n=n.filterEntries(e,t);let s=1,o=()=>{--s===0&&i()};for(let[a,l,u]of n.matches.entries())this.#n(a)||(s++,this.match(a,l,u).then(()=>o()));for(let[a,l]of n.subwalks.entries())s++,this.walkCB2(a,l,n.child(),o);o()}walkCBSync(e,t,n){var i;(i=this.signal)!=null&&i.aborted&&n(),this.walkCB2Sync(e,t,new Ar(this.opts),n)}walkCB2Sync(e,t,n,i){var a;if(this.#o(e))return i();if((a=this.signal)!=null&&a.aborted&&i(),this.paused){this.onResume(()=>this.walkCB2Sync(e,t,n,i));return}n.processPatterns(e,t);let s=1,o=()=>{--s===0&&i()};for(let[l,u,c]of n.matches.entries())this.#n(l)||this.matchSync(l,u,c);for(let l of n.subwalkTargets()){if(this.maxDepth!==1/0&&l.depth()>=this.maxDepth)continue;s++;let u=l.readdirSync();this.walkCB3Sync(l,u,n,o)}o()}walkCB3Sync(e,t,n,i){n=n.filterEntries(e,t);let s=1,o=()=>{--s===0&&i()};for(let[a,l,u]of n.matches.entries())this.#n(a)||this.matchSync(a,l,u);for(let[a,l]of n.subwalks.entries())s++,this.walkCB2Sync(a,l,n.child(),o);o()}},kr=class extends Xn{matches=new Set;constructor(e,t,n){super(e,t,n)}matchEmit(e){this.matches.add(e)}async walk(){var e;if((e=this.signal)!=null&&e.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise((t,n)=>{this.walkCB(this.path,this.patterns,()=>{var i;(i=this.signal)!=null&&i.aborted?n(this.signal.reason):t(this.matches)})}),this.matches}walkSync(){var e;if((e=this.signal)!=null&&e.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>{var t;if((t=this.signal)!=null&&t.aborted)throw this.signal.reason}),this.matches}},$r=class extends Xn{results;constructor(e,t,n){super(e,t,n),this.results=new rt({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume())}matchEmit(e){this.results.write(e),this.results.flowing||this.pause()}stream(){let e=this.path;return e.isUnknown()?e.lstat().then(()=>{this.walkCB(e,this.patterns,()=>this.results.end())}):this.walkCB(e,this.patterns,()=>this.results.end()),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}};var Gv=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",Oe=class{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(e,t){if(!t)throw new TypeError("glob options required");if(this.withFileTypes=!!t.withFileTypes,this.signal=t.signal,this.follow=!!t.follow,this.dot=!!t.dot,this.dotRelative=!!t.dotRelative,this.nodir=!!t.nodir,this.mark=!!t.mark,t.cwd?(t.cwd instanceof URL||t.cwd.startsWith("file://"))&&(t.cwd=(0,Cu.fileURLToPath)(t.cwd)):this.cwd="",this.cwd=t.cwd||"",this.root=t.root,this.magicalBraces=!!t.magicalBraces,this.nobrace=!!t.nobrace,this.noext=!!t.noext,this.realpath=!!t.realpath,this.absolute=t.absolute,this.includeChildMatches=t.includeChildMatches!==!1,this.noglobstar=!!t.noglobstar,this.matchBase=!!t.matchBase,this.maxDepth=typeof t.maxDepth=="number"?t.maxDepth:1/0,this.stat=!!t.stat,this.ignore=t.ignore,this.withFileTypes&&this.absolute!==void 0)throw new Error("cannot set absolute and withFileTypes:true");if(typeof e=="string"&&(e=[e]),this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(e=e.map(l=>l.replace(/\\/g,"/"))),this.matchBase){if(t.noglobstar)throw new TypeError("base matching requires globstar");e=e.map(l=>l.includes("/")?l:`./**/${l}`)}if(this.pattern=e,this.platform=t.platform||Gv,this.opts={...t,platform:this.platform},t.scurry){if(this.scurry=t.scurry,t.nocase!==void 0&&t.nocase!==t.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{let l=t.platform==="win32"?zt:t.platform==="darwin"?Or:t.platform?Ht:_u;this.scurry=new l(this.cwd,{nocase:t.nocase,fs:t.fs})}this.nocase=this.scurry.nocase;let n=this.platform==="darwin"||this.platform==="win32",i={...t,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:n,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},s=this.pattern.map(l=>new ve(l,i)),[o,a]=s.reduce((l,u)=>(l[0].push(...u.set),l[1].push(...u.globParts),l),[[],[]]);this.patterns=o.map((l,u)=>{let c=a[u];if(!c)throw new Error("invalid pattern object");return new Gt(l,c,0,this.platform)})}async walk(){return[...await new kr(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new kr(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new $r(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new $r(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}};var Js=(r,e={})=>{Array.isArray(r)||(r=[r]);for(let t of r)if(new ve(t,e).hasMagic())return!0;return!1};function ti(r,e={}){return new Oe(r,e).streamSync()}function Lu(r,e={}){return new Oe(r,e).stream()}function Ru(r,e={}){return new Oe(r,e).walkSync()}async function Eu(r,e={}){return new Oe(r,e).walk()}function ri(r,e={}){return new Oe(r,e).iterateSync()}function Tu(r,e={}){return new Oe(r,e).iterate()}var Vv=ti,Yv=Object.assign(Lu,{sync:ti}),Kv=ri,Qv=Object.assign(Tu,{sync:ri}),Jv=Object.assign(Ru,{stream:ti,iterate:ri}),ei=Object.assign(Eu,{glob:Eu,globSync:Ru,sync:Jv,globStream:Lu,stream:Yv,globStreamSync:ti,streamSync:Vv,globIterate:Tu,iterate:Qv,globIterateSync:ri,iterateSync:Kv,Glob:Oe,hasMagic:Js,escape:qt,unescape:Te});ei.glob=ei;var Ms=require("node:fs"),_m=require("node:path");var q=wr(Ch(),1),Do=q.default,dC=q.default.stringify,gC=q.default.fromJSON,mC=q.default.plugin,vC=q.default.parse,yC=q.default.list,wC=q.default.document,bC=q.default.comment,xC=q.default.atRule,IC=q.default.rule,SC=q.default.decl,_C=q.default.root,CC=q.default.CssSyntaxError,EC=q.default.Declaration,LC=q.default.Container,RC=q.default.Processor,TC=q.default.Document,MC=q.default.Comment,FC=q.default.Warning,OC=q.default.AtRule,AC=q.default.Result,kC=q.default.Input,$C=q.default.Rule,PC=q.default.Root,DC=q.default.Node;var Z=wr(Sm(),1);function yl(r){let e=Z.format.printf(({message:a,timestamp:l,metadata:u})=>{let{previousToken:c,nextToken:f,line:h}=u,d=h?`(line ${h})`:"";return`${l} ${a}: ${c} \u2192 ${f} ${d}`}),t=Z.format.printf(({level:a,message:l,timestamp:u,failureReason:c,metadata:f})=>{let{previousToken:h,description:d}=f,p=d||c||"";return`${u} [${a.toUpperCase()}]: ${l}
|
64
|
+
>>> no match, partial?`,e,h,t,d),h===l))}let g;if(typeof c=="string"?(g=f===c,this.debug("string match",c,f,g)):(g=c.test(f),this.debug("pattern match",c,f,g)),!g)return!1}if(o===l&&a===u)return!0;if(o===l)return n;if(a===u)return o===l-1&&e[o]==="";throw new Error("wtf?")}braceExpand(){return eu(this.pattern,this.options)}parse(e){xr(e);let t=this.options;if(e==="**")return ee;if(e==="")return"";let n,i=null;(n=e.match(uv))?i=t.dot?hv:cv:(n=e.match(Xm))?i=(t.nocase?t.dot?nv:rv:t.dot?tv:ev)(n[1]):(n=e.match(fv))?i=(t.nocase?t.dot?dv:pv:t.dot?gv:mv)(n):(n=e.match(iv))?i=t.dot?ov:sv:(n=e.match(av))&&(i=lv);let s=Dt.fromGlob(e,this.options).toMMPattern();return i&&typeof s=="object"&&Reflect.defineProperty(s,"test",{value:i}),s}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let t=this.options,n=t.noglobstar?wv:t.dot?bv:xv,i=new Set(t.nocase?["i"]:[]),s=e.map(l=>{let u=l.map(c=>{if(c instanceof RegExp)for(let f of c.flags.split(""))i.add(f);return typeof c=="string"?Ev(c):c===ee?ee:c._src});return u.forEach((c,f)=>{let h=u[f+1],d=u[f-1];c!==ee||d===ee||(d===void 0?h!==void 0&&h!==ee?u[f+1]="(?:\\/|"+n+"\\/)?"+h:u[f]=n:h===void 0?u[f-1]=d+"(?:\\/|"+n+")?":h!==ee&&(u[f-1]=d+"(?:\\/|\\/"+n+"\\/)"+h,u[f+1]=ee))}),u.filter(c=>c!==ee).join("/")}).join("|"),[o,a]=e.length>1?["(?:",")"]:["",""];s="^"+o+s+a+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&t)return!0;let n=this.options;this.isWindows&&(e=e.split("\\").join("/"));let i=this.slashSplit(e);this.debug(this.pattern,"split",i);let s=this.set;this.debug(this.pattern,"set",s);let o=i[i.length-1];if(!o)for(let a=i.length-2;!o&&a>=0;a--)o=i[a];for(let a=0;a<s.length;a++){let l=s[a],u=i;if(n.matchBase&&l.length===1&&(u=[o]),this.matchOne(u,l,t))return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate}static defaults(e){return ae.defaults(e).Minimatch}};ae.AST=Dt;ae.Minimatch=ve;ae.escape=qt;ae.unescape=Te;var Cu=require("node:url");var Nt=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,nu=new Set,Ps=typeof process=="object"&&process?process:{},iu=(r,e,t,n)=>{typeof Ps.emitWarning=="function"?Ps.emitWarning(r,e,t,n):console.error(`[${t}] ${e}: ${r}`)},qn=globalThis.AbortController,tu=globalThis.AbortSignal,ru;if(typeof qn>"u"){tu=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(n,i){this._onabort.push(i)}},qn=class{constructor(){e()}signal=new tu;abort(n){var i,s;if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(let o of this.signal._onabort)o(n);(s=(i=this.signal).onabort)==null||s.call(i,n)}}};let r=((ru=Ps.env)==null?void 0:ru.LRU_CACHE_IGNORE_AC_WARNING)!=="1",e=()=>{r&&(r=!1,iu("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}var Lv=r=>!nu.has(r),Y_=Symbol("type"),et=r=>r&&r===Math.floor(r)&&r>0&&isFinite(r),su=r=>et(r)?r<=Math.pow(2,8)?Uint8Array:r<=Math.pow(2,16)?Uint16Array:r<=Math.pow(2,32)?Uint32Array:r<=Number.MAX_SAFE_INTEGER?jt:null:null,jt=class extends Array{constructor(e){super(e),this.fill(0)}},Ds=class r{heap;length;static#e=!1;static create(e){let t=su(e);if(!t)return[];r.#e=!0;let n=new r(e,t);return r.#e=!1,n}constructor(e,t){if(!r.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new t(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},Sr=class r{#e;#t;#s;#n;#o;#b;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#u;#h;#a;#l;#i;#m;#v;#p;#f;#S;#g;#_;#C;#w;#x;#I;#d;static unsafeExposeInternals(e){return{starts:e.#C,ttls:e.#w,sizes:e.#_,keyMap:e.#a,keyList:e.#l,valList:e.#i,next:e.#m,prev:e.#v,get head(){return e.#p},get tail(){return e.#f},free:e.#S,isBackgroundFetch:t=>e.#c(t),backgroundFetch:(t,n,i,s)=>e.#q(t,n,i,s),moveToTail:t=>e.#j(t),indexes:t=>e.#L(t),rindexes:t=>e.#R(t),isStale:t=>e.#y(t)}}get max(){return this.#e}get maxSize(){return this.#t}get calculatedSize(){return this.#h}get size(){return this.#u}get fetchMethod(){return this.#o}get memoMethod(){return this.#b}get dispose(){return this.#s}get disposeAfter(){return this.#n}constructor(e){let{max:t=0,ttl:n,ttlResolution:i=1,ttlAutopurge:s,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:l,dispose:u,disposeAfter:c,noDisposeOnSet:f,noUpdateTTL:h,maxSize:d=0,maxEntrySize:p=0,sizeCalculation:g,fetchMethod:v,memoMethod:y,noDeleteOnFetchRejection:x,noDeleteOnStaleGet:b,allowStaleOnFetchRejection:I,allowStaleOnFetchAbort:E,ignoreFetchAbort:R}=e;if(t!==0&&!et(t))throw new TypeError("max option must be a nonnegative integer");let M=t?su(t):Array;if(!M)throw new Error("invalid max value: "+t);if(this.#e=t,this.#t=d,this.maxEntrySize=p||this.#t,this.sizeCalculation=g,this.sizeCalculation){if(!this.#t&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(y!==void 0&&typeof y!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#b=y,v!==void 0&&typeof v!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#o=v,this.#I=!!v,this.#a=new Map,this.#l=new Array(t).fill(void 0),this.#i=new Array(t).fill(void 0),this.#m=new M(t),this.#v=new M(t),this.#p=0,this.#f=0,this.#S=Ds.create(t),this.#u=0,this.#h=0,typeof u=="function"&&(this.#s=u),typeof c=="function"?(this.#n=c,this.#g=[]):(this.#n=void 0,this.#g=void 0),this.#x=!!this.#s,this.#d=!!this.#n,this.noDisposeOnSet=!!f,this.noUpdateTTL=!!h,this.noDeleteOnFetchRejection=!!x,this.allowStaleOnFetchRejection=!!I,this.allowStaleOnFetchAbort=!!E,this.ignoreFetchAbort=!!R,this.maxEntrySize!==0){if(this.#t!==0&&!et(this.#t))throw new TypeError("maxSize must be a positive integer if specified");if(!et(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#M()}if(this.allowStale=!!l,this.noDeleteOnStaleGet=!!b,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!a,this.ttlResolution=et(i)||i===0?i:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!et(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#T()}if(this.#e===0&&this.ttl===0&&this.#t===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#e&&!this.#t){let O="LRU_CACHE_UNBOUNDED";Lv(O)&&(nu.add(O),iu("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",O,r))}}getRemainingTTL(e){return this.#a.has(e)?1/0:0}#T(){let e=new jt(this.#e),t=new jt(this.#e);this.#w=e,this.#C=t,this.#O=(s,o,a=Nt.now())=>{if(t[s]=o!==0?a:0,e[s]=o,o!==0&&this.ttlAutopurge){let l=setTimeout(()=>{this.#y(s)&&this.#F(this.#l[s],"expire")},o+1);l.unref&&l.unref()}},this.#E=s=>{t[s]=e[s]!==0?Nt.now():0},this.#r=(s,o)=>{if(e[o]){let a=e[o],l=t[o];if(!a||!l)return;s.ttl=a,s.start=l,s.now=n||i();let u=s.now-l;s.remainingTTL=a-u}};let n=0,i=()=>{let s=Nt.now();if(this.ttlResolution>0){n=s;let o=setTimeout(()=>n=0,this.ttlResolution);o.unref&&o.unref()}return s};this.getRemainingTTL=s=>{let o=this.#a.get(s);if(o===void 0)return 0;let a=e[o],l=t[o];if(!a||!l)return 1/0;let u=(n||i())-l;return a-u},this.#y=s=>{let o=t[s],a=e[s];return!!a&&!!o&&(n||i())-o>a}}#E=()=>{};#r=()=>{};#O=()=>{};#y=()=>!1;#M(){let e=new jt(this.#e);this.#h=0,this.#_=e,this.#A=t=>{this.#h-=e[t],e[t]=0},this.#$=(t,n,i,s)=>{if(this.#c(n))return 0;if(!et(i))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(i=s(n,t),!et(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return i},this.#k=(t,n,i)=>{if(e[t]=n,this.#t){let s=this.#t-e[t];for(;this.#h>s;)this.#D(!0)}this.#h+=e[t],i&&(i.entrySize=n,i.totalCalculatedSize=this.#h)}}#A=e=>{};#k=(e,t,n)=>{};#$=(e,t,n,i)=>{if(n||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#L({allowStale:e=this.allowStale}={}){if(this.#u)for(let t=this.#f;!(!this.#P(t)||((e||!this.#y(t))&&(yield t),t===this.#p));)t=this.#v[t]}*#R({allowStale:e=this.allowStale}={}){if(this.#u)for(let t=this.#p;!(!this.#P(t)||((e||!this.#y(t))&&(yield t),t===this.#f));)t=this.#m[t]}#P(e){return e!==void 0&&this.#a.get(this.#l[e])===e}*entries(){for(let e of this.#L())this.#i[e]!==void 0&&this.#l[e]!==void 0&&!this.#c(this.#i[e])&&(yield[this.#l[e],this.#i[e]])}*rentries(){for(let e of this.#R())this.#i[e]!==void 0&&this.#l[e]!==void 0&&!this.#c(this.#i[e])&&(yield[this.#l[e],this.#i[e]])}*keys(){for(let e of this.#L()){let t=this.#l[e];t!==void 0&&!this.#c(this.#i[e])&&(yield t)}}*rkeys(){for(let e of this.#R()){let t=this.#l[e];t!==void 0&&!this.#c(this.#i[e])&&(yield t)}}*values(){for(let e of this.#L())this.#i[e]!==void 0&&!this.#c(this.#i[e])&&(yield this.#i[e])}*rvalues(){for(let e of this.#R())this.#i[e]!==void 0&&!this.#c(this.#i[e])&&(yield this.#i[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,t={}){for(let n of this.#L()){let i=this.#i[n],s=this.#c(i)?i.__staleWhileFetching:i;if(s!==void 0&&e(s,this.#l[n],this))return this.get(this.#l[n],t)}}forEach(e,t=this){for(let n of this.#L()){let i=this.#i[n],s=this.#c(i)?i.__staleWhileFetching:i;s!==void 0&&e.call(t,s,this.#l[n],this)}}rforEach(e,t=this){for(let n of this.#R()){let i=this.#i[n],s=this.#c(i)?i.__staleWhileFetching:i;s!==void 0&&e.call(t,s,this.#l[n],this)}}purgeStale(){let e=!1;for(let t of this.#R({allowStale:!0}))this.#y(t)&&(this.#F(this.#l[t],"expire"),e=!0);return e}info(e){let t=this.#a.get(e);if(t===void 0)return;let n=this.#i[t],i=this.#c(n)?n.__staleWhileFetching:n;if(i===void 0)return;let s={value:i};if(this.#w&&this.#C){let o=this.#w[t],a=this.#C[t];if(o&&a){let l=o-(Nt.now()-a);s.ttl=l,s.start=Date.now()}}return this.#_&&(s.size=this.#_[t]),s}dump(){let e=[];for(let t of this.#L({allowStale:!0})){let n=this.#l[t],i=this.#i[t],s=this.#c(i)?i.__staleWhileFetching:i;if(s===void 0||n===void 0)continue;let o={value:s};if(this.#w&&this.#C){o.ttl=this.#w[t];let a=Nt.now()-this.#C[t];o.start=Math.floor(Date.now()-a)}this.#_&&(o.size=this.#_[t]),e.unshift([n,o])}return e}load(e){this.clear();for(let[t,n]of e){if(n.start){let i=Date.now()-n.start;n.start=Nt.now()-i}this.set(t,n.value,n)}}set(e,t,n={}){var h,d,p,g,v;if(t===void 0)return this.delete(e),this;let{ttl:i=this.ttl,start:s,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:l}=n,{noUpdateTTL:u=this.noUpdateTTL}=n,c=this.#$(e,t,n.size||0,a);if(this.maxEntrySize&&c>this.maxEntrySize)return l&&(l.set="miss",l.maxEntrySizeExceeded=!0),this.#F(e,"set"),this;let f=this.#u===0?void 0:this.#a.get(e);if(f===void 0)f=this.#u===0?this.#f:this.#S.length!==0?this.#S.pop():this.#u===this.#e?this.#D(!1):this.#u,this.#l[f]=e,this.#i[f]=t,this.#a.set(e,f),this.#m[this.#f]=f,this.#v[f]=this.#f,this.#f=f,this.#u++,this.#k(f,c,l),l&&(l.set="add"),u=!1;else{this.#j(f);let y=this.#i[f];if(t!==y){if(this.#I&&this.#c(y)){y.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:x}=y;x!==void 0&&!o&&(this.#x&&((h=this.#s)==null||h.call(this,x,e,"set")),this.#d&&((d=this.#g)==null||d.push([x,e,"set"])))}else o||(this.#x&&((p=this.#s)==null||p.call(this,y,e,"set")),this.#d&&((g=this.#g)==null||g.push([y,e,"set"])));if(this.#A(f),this.#k(f,c,l),this.#i[f]=t,l){l.set="replace";let x=y&&this.#c(y)?y.__staleWhileFetching:y;x!==void 0&&(l.oldValue=x)}}else l&&(l.set="update")}if(i!==0&&!this.#w&&this.#T(),this.#w&&(u||this.#O(f,i,s),l&&this.#r(l,f)),!o&&this.#d&&this.#g){let y=this.#g,x;for(;x=y==null?void 0:y.shift();)(v=this.#n)==null||v.call(this,...x)}return this}pop(){var e;try{for(;this.#u;){let t=this.#i[this.#p];if(this.#D(!0),this.#c(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(t!==void 0)return t}}finally{if(this.#d&&this.#g){let t=this.#g,n;for(;n=t==null?void 0:t.shift();)(e=this.#n)==null||e.call(this,...n)}}}#D(e){var s,o;let t=this.#p,n=this.#l[t],i=this.#i[t];return this.#I&&this.#c(i)?i.__abortController.abort(new Error("evicted")):(this.#x||this.#d)&&(this.#x&&((s=this.#s)==null||s.call(this,i,n,"evict")),this.#d&&((o=this.#g)==null||o.push([i,n,"evict"]))),this.#A(t),e&&(this.#l[t]=void 0,this.#i[t]=void 0,this.#S.push(t)),this.#u===1?(this.#p=this.#f=0,this.#S.length=0):this.#p=this.#m[t],this.#a.delete(n),this.#u--,t}has(e,t={}){let{updateAgeOnHas:n=this.updateAgeOnHas,status:i}=t,s=this.#a.get(e);if(s!==void 0){let o=this.#i[s];if(this.#c(o)&&o.__staleWhileFetching===void 0)return!1;if(this.#y(s))i&&(i.has="stale",this.#r(i,s));else return n&&this.#E(s),i&&(i.has="hit",this.#r(i,s)),!0}else i&&(i.has="miss");return!1}peek(e,t={}){let{allowStale:n=this.allowStale}=t,i=this.#a.get(e);if(i===void 0||!n&&this.#y(i))return;let s=this.#i[i];return this.#c(s)?s.__staleWhileFetching:s}#q(e,t,n,i){let s=t===void 0?void 0:this.#i[t];if(this.#c(s))return s;let o=new qn,{signal:a}=n;a==null||a.addEventListener("abort",()=>o.abort(a.reason),{signal:o.signal});let l={signal:o.signal,options:n,context:i},u=(g,v=!1)=>{let{aborted:y}=o.signal,x=n.ignoreFetchAbort&&g!==void 0;if(n.status&&(y&&!v?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,x&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),y&&!x&&!v)return f(o.signal.reason);let b=d;return this.#i[t]===d&&(g===void 0?b.__staleWhileFetching?this.#i[t]=b.__staleWhileFetching:this.#F(e,"fetch"):(n.status&&(n.status.fetchUpdated=!0),this.set(e,g,l.options))),g},c=g=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=g),f(g)),f=g=>{let{aborted:v}=o.signal,y=v&&n.allowStaleOnFetchAbort,x=y||n.allowStaleOnFetchRejection,b=x||n.noDeleteOnFetchRejection,I=d;if(this.#i[t]===d&&(!b||I.__staleWhileFetching===void 0?this.#F(e,"fetch"):y||(this.#i[t]=I.__staleWhileFetching)),x)return n.status&&I.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),I.__staleWhileFetching;if(I.__returned===I)throw g},h=(g,v)=>{var x;let y=(x=this.#o)==null?void 0:x.call(this,e,s,l);y&&y instanceof Promise&&y.then(b=>g(b===void 0?void 0:b),v),o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(g(void 0),n.allowStaleOnFetchAbort&&(g=b=>u(b,!0)))})};n.status&&(n.status.fetchDispatched=!0);let d=new Promise(h).then(u,c),p=Object.assign(d,{__abortController:o,__staleWhileFetching:s,__returned:void 0});return t===void 0?(this.set(e,p,{...l.options,status:void 0}),t=this.#a.get(e)):this.#i[t]=p,p}#c(e){if(!this.#I)return!1;let t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof qn}async fetch(e,t={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:l=0,sizeCalculation:u=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:f=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:h=this.allowStaleOnFetchRejection,ignoreFetchAbort:d=this.ignoreFetchAbort,allowStaleOnFetchAbort:p=this.allowStaleOnFetchAbort,context:g,forceRefresh:v=!1,status:y,signal:x}=t;if(!this.#I)return y&&(y.fetch="get"),this.get(e,{allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,status:y});let b={allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,ttl:o,noDisposeOnSet:a,size:l,sizeCalculation:u,noUpdateTTL:c,noDeleteOnFetchRejection:f,allowStaleOnFetchRejection:h,allowStaleOnFetchAbort:p,ignoreFetchAbort:d,status:y,signal:x},I=this.#a.get(e);if(I===void 0){y&&(y.fetch="miss");let E=this.#q(e,I,b,g);return E.__returned=E}else{let E=this.#i[I];if(this.#c(E)){let N=n&&E.__staleWhileFetching!==void 0;return y&&(y.fetch="inflight",N&&(y.returnedStale=!0)),N?E.__staleWhileFetching:E.__returned=E}let R=this.#y(I);if(!v&&!R)return y&&(y.fetch="hit"),this.#j(I),i&&this.#E(I),y&&this.#r(y,I),E;let M=this.#q(e,I,b,g),L=M.__staleWhileFetching!==void 0&&n;return y&&(y.fetch=R?"stale":"refresh",L&&R&&(y.returnedStale=!0)),L?M.__staleWhileFetching:M.__returned=M}}async forceFetch(e,t={}){let n=await this.fetch(e,t);if(n===void 0)throw new Error("fetch() returned undefined");return n}memo(e,t={}){let n=this.#b;if(!n)throw new Error("no memoMethod provided to constructor");let{context:i,forceRefresh:s,...o}=t,a=this.get(e,o);if(!s&&a!==void 0)return a;let l=n(e,a,{options:o,context:i});return this.set(e,l,o),l}get(e,t={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:o}=t,a=this.#a.get(e);if(a!==void 0){let l=this.#i[a],u=this.#c(l);return o&&this.#r(o,a),this.#y(a)?(o&&(o.get="stale"),u?(o&&n&&l.__staleWhileFetching!==void 0&&(o.returnedStale=!0),n?l.__staleWhileFetching:void 0):(s||this.#F(e,"expire"),o&&n&&(o.returnedStale=!0),n?l:void 0)):(o&&(o.get="hit"),u?l.__staleWhileFetching:(this.#j(a),i&&this.#E(a),l))}else o&&(o.get="miss")}#N(e,t){this.#v[t]=e,this.#m[e]=t}#j(e){e!==this.#f&&(e===this.#p?this.#p=this.#m[e]:this.#N(this.#v[e],this.#m[e]),this.#N(this.#f,e),this.#f=e)}delete(e){return this.#F(e,"delete")}#F(e,t){var i,s,o,a;let n=!1;if(this.#u!==0){let l=this.#a.get(e);if(l!==void 0)if(n=!0,this.#u===1)this.#B(t);else{this.#A(l);let u=this.#i[l];if(this.#c(u)?u.__abortController.abort(new Error("deleted")):(this.#x||this.#d)&&(this.#x&&((i=this.#s)==null||i.call(this,u,e,t)),this.#d&&((s=this.#g)==null||s.push([u,e,t]))),this.#a.delete(e),this.#l[l]=void 0,this.#i[l]=void 0,l===this.#f)this.#f=this.#v[l];else if(l===this.#p)this.#p=this.#m[l];else{let c=this.#v[l];this.#m[c]=this.#m[l];let f=this.#m[l];this.#v[f]=this.#v[l]}this.#u--,this.#S.push(l)}}if(this.#d&&((o=this.#g)!=null&&o.length)){let l=this.#g,u;for(;u=l==null?void 0:l.shift();)(a=this.#n)==null||a.call(this,...u)}return n}clear(){return this.#B("delete")}#B(e){var t,n,i;for(let s of this.#R({allowStale:!0})){let o=this.#i[s];if(this.#c(o))o.__abortController.abort(new Error("deleted"));else{let a=this.#l[s];this.#x&&((t=this.#s)==null||t.call(this,o,a,e)),this.#d&&((n=this.#g)==null||n.push([o,a,e]))}}if(this.#a.clear(),this.#i.fill(void 0),this.#l.fill(void 0),this.#w&&this.#C&&(this.#w.fill(0),this.#C.fill(0)),this.#_&&this.#_.fill(0),this.#p=0,this.#f=0,this.#S.length=0,this.#h=0,this.#u=0,this.#d&&this.#g){let s=this.#g,o;for(;o=s==null?void 0:s.shift();)(i=this.#n)==null||i.call(this,...o)}}};var Wt=require("node:path"),gu=require("node:url"),Be=require("fs"),Dv=wr(require("node:fs"),1),nt=require("node:fs/promises");var Hn=require("node:events"),zs=wr(require("node:stream"),1),cu=require("node:string_decoder"),ou=typeof process=="object"&&process?process:{stdout:null,stderr:null},Rv=r=>!!r&&typeof r=="object"&&(r instanceof rt||r instanceof zs.default||Tv(r)||Mv(r)),Tv=r=>!!r&&typeof r=="object"&&r instanceof Hn.EventEmitter&&typeof r.pipe=="function"&&r.pipe!==zs.default.Writable.prototype.pipe,Mv=r=>!!r&&typeof r=="object"&&r instanceof Hn.EventEmitter&&typeof r.write=="function"&&typeof r.end=="function",Ye=Symbol("EOF"),Ke=Symbol("maybeEmitEnd"),tt=Symbol("emittedEnd"),Nn=Symbol("emittingEnd"),_r=Symbol("emittedError"),jn=Symbol("closed"),au=Symbol("read"),Bn=Symbol("flush"),lu=Symbol("flushChunk"),Me=Symbol("encoding"),Bt=Symbol("decoder"),V=Symbol("flowing"),Cr=Symbol("paused"),Ut=Symbol("resume"),Y=Symbol("buffer"),le=Symbol("pipes"),K=Symbol("bufferLength"),qs=Symbol("bufferPush"),Un=Symbol("bufferShift"),se=Symbol("objectMode"),W=Symbol("destroyed"),Ns=Symbol("error"),js=Symbol("emitData"),uu=Symbol("emitEnd"),Bs=Symbol("emitEnd2"),Ne=Symbol("async"),Us=Symbol("abort"),Wn=Symbol("aborted"),Er=Symbol("signal"),mt=Symbol("dataListeners"),ye=Symbol("discarded"),Lr=r=>Promise.resolve().then(r),Fv=r=>r(),Ov=r=>r==="end"||r==="finish"||r==="prefinish",Av=r=>r instanceof ArrayBuffer||!!r&&typeof r=="object"&&r.constructor&&r.constructor.name==="ArrayBuffer"&&r.byteLength>=0,kv=r=>!Buffer.isBuffer(r)&&ArrayBuffer.isView(r),zn=class{src;dest;opts;ondrain;constructor(e,t,n){this.src=e,this.dest=t,this.opts=n,this.ondrain=()=>e[Ut](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(e){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},Ws=class extends zn{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,t,n){super(e,t,n),this.proxyErrors=i=>t.emit("error",i),e.on("error",this.proxyErrors)}},$v=r=>!!r.objectMode,Pv=r=>!r.objectMode&&!!r.encoding&&r.encoding!=="buffer",rt=class extends Hn.EventEmitter{[V]=!1;[Cr]=!1;[le]=[];[Y]=[];[se];[Me];[Ne];[Bt];[Ye]=!1;[tt]=!1;[Nn]=!1;[jn]=!1;[_r]=null;[K]=0;[W]=!1;[Er];[Wn]=!1;[mt]=0;[ye]=!1;writable=!0;readable=!0;constructor(...e){let t=e[0]||{};if(super(),t.objectMode&&typeof t.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");$v(t)?(this[se]=!0,this[Me]=null):Pv(t)?(this[Me]=t.encoding,this[se]=!1):(this[se]=!1,this[Me]=null),this[Ne]=!!t.async,this[Bt]=this[Me]?new cu.StringDecoder(this[Me]):null,t&&t.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[Y]}),t&&t.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[le]});let{signal:n}=t;n&&(this[Er]=n,n.aborted?this[Us]():n.addEventListener("abort",()=>this[Us]()))}get bufferLength(){return this[K]}get encoding(){return this[Me]}set encoding(e){throw new Error("Encoding must be set at instantiation time")}setEncoding(e){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[se]}set objectMode(e){throw new Error("objectMode must be set at instantiation time")}get async(){return this[Ne]}set async(e){this[Ne]=this[Ne]||!!e}[Us](){var e,t;this[Wn]=!0,this.emit("abort",(e=this[Er])==null?void 0:e.reason),this.destroy((t=this[Er])==null?void 0:t.reason)}get aborted(){return this[Wn]}set aborted(e){}write(e,t,n){var s;if(this[Wn])return!1;if(this[Ye])throw new Error("write after end");if(this[W])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof t=="function"&&(n=t,t="utf8"),t||(t="utf8");let i=this[Ne]?Lr:Fv;if(!this[se]&&!Buffer.isBuffer(e)){if(kv(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(Av(e))e=Buffer.from(e);else if(typeof e!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[se]?(this[V]&&this[K]!==0&&this[Bn](!0),this[V]?this.emit("data",e):this[qs](e),this[K]!==0&&this.emit("readable"),n&&i(n),this[V]):e.length?(typeof e=="string"&&!(t===this[Me]&&!((s=this[Bt])!=null&&s.lastNeed))&&(e=Buffer.from(e,t)),Buffer.isBuffer(e)&&this[Me]&&(e=this[Bt].write(e)),this[V]&&this[K]!==0&&this[Bn](!0),this[V]?this.emit("data",e):this[qs](e),this[K]!==0&&this.emit("readable"),n&&i(n),this[V]):(this[K]!==0&&this.emit("readable"),n&&i(n),this[V])}read(e){if(this[W])return null;if(this[ye]=!1,this[K]===0||e===0||e&&e>this[K])return this[Ke](),null;this[se]&&(e=null),this[Y].length>1&&!this[se]&&(this[Y]=[this[Me]?this[Y].join(""):Buffer.concat(this[Y],this[K])]);let t=this[au](e||null,this[Y][0]);return this[Ke](),t}[au](e,t){if(this[se])this[Un]();else{let n=t;e===n.length||e===null?this[Un]():typeof n=="string"?(this[Y][0]=n.slice(e),t=n.slice(0,e),this[K]-=e):(this[Y][0]=n.subarray(e),t=n.subarray(0,e),this[K]-=e)}return this.emit("data",t),!this[Y].length&&!this[Ye]&&this.emit("drain"),t}end(e,t,n){return typeof e=="function"&&(n=e,e=void 0),typeof t=="function"&&(n=t,t="utf8"),e!==void 0&&this.write(e,t),n&&this.once("end",n),this[Ye]=!0,this.writable=!1,(this[V]||!this[Cr])&&this[Ke](),this}[Ut](){this[W]||(!this[mt]&&!this[le].length&&(this[ye]=!0),this[Cr]=!1,this[V]=!0,this.emit("resume"),this[Y].length?this[Bn]():this[Ye]?this[Ke]():this.emit("drain"))}resume(){return this[Ut]()}pause(){this[V]=!1,this[Cr]=!0,this[ye]=!1}get destroyed(){return this[W]}get flowing(){return this[V]}get paused(){return this[Cr]}[qs](e){this[se]?this[K]+=1:this[K]+=e.length,this[Y].push(e)}[Un](){return this[se]?this[K]-=1:this[K]-=this[Y][0].length,this[Y].shift()}[Bn](e=!1){do;while(this[lu](this[Un]())&&this[Y].length);!e&&!this[Y].length&&!this[Ye]&&this.emit("drain")}[lu](e){return this.emit("data",e),this[V]}pipe(e,t){if(this[W])return e;this[ye]=!1;let n=this[tt];return t=t||{},e===ou.stdout||e===ou.stderr?t.end=!1:t.end=t.end!==!1,t.proxyErrors=!!t.proxyErrors,n?t.end&&e.end():(this[le].push(t.proxyErrors?new Ws(this,e,t):new zn(this,e,t)),this[Ne]?Lr(()=>this[Ut]()):this[Ut]()),e}unpipe(e){let t=this[le].find(n=>n.dest===e);t&&(this[le].length===1?(this[V]&&this[mt]===0&&(this[V]=!1),this[le]=[]):this[le].splice(this[le].indexOf(t),1),t.unpipe())}addListener(e,t){return this.on(e,t)}on(e,t){let n=super.on(e,t);if(e==="data")this[ye]=!1,this[mt]++,!this[le].length&&!this[V]&&this[Ut]();else if(e==="readable"&&this[K]!==0)super.emit("readable");else if(Ov(e)&&this[tt])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[_r]){let i=t;this[Ne]?Lr(()=>i.call(this,this[_r])):i.call(this,this[_r])}return n}removeListener(e,t){return this.off(e,t)}off(e,t){let n=super.off(e,t);return e==="data"&&(this[mt]=this.listeners("data").length,this[mt]===0&&!this[ye]&&!this[le].length&&(this[V]=!1)),n}removeAllListeners(e){let t=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[mt]=0,!this[ye]&&!this[le].length&&(this[V]=!1)),t}get emittedEnd(){return this[tt]}[Ke](){!this[Nn]&&!this[tt]&&!this[W]&&this[Y].length===0&&this[Ye]&&(this[Nn]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[jn]&&this.emit("close"),this[Nn]=!1)}emit(e,...t){let n=t[0];if(e!=="error"&&e!=="close"&&e!==W&&this[W])return!1;if(e==="data")return!this[se]&&!n?!1:this[Ne]?(Lr(()=>this[js](n)),!0):this[js](n);if(e==="end")return this[uu]();if(e==="close"){if(this[jn]=!0,!this[tt]&&!this[W])return!1;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(e==="error"){this[_r]=n,super.emit(Ns,n);let s=!this[Er]||this.listeners("error").length?super.emit("error",n):!1;return this[Ke](),s}else if(e==="resume"){let s=super.emit("resume");return this[Ke](),s}else if(e==="finish"||e==="prefinish"){let s=super.emit(e);return this.removeAllListeners(e),s}let i=super.emit(e,...t);return this[Ke](),i}[js](e){for(let n of this[le])n.dest.write(e)===!1&&this.pause();let t=this[ye]?!1:super.emit("data",e);return this[Ke](),t}[uu](){return this[tt]?!1:(this[tt]=!0,this.readable=!1,this[Ne]?(Lr(()=>this[Bs]()),!0):this[Bs]())}[Bs](){if(this[Bt]){let t=this[Bt].end();if(t){for(let n of this[le])n.dest.write(t);this[ye]||super.emit("data",t)}}for(let t of this[le])t.end();let e=super.emit("end");return this.removeAllListeners("end"),e}async collect(){let e=Object.assign([],{dataLength:0});this[se]||(e.dataLength=0);let t=this.promise();return this.on("data",n=>{e.push(n),this[se]||(e.dataLength+=n.length)}),await t,e}async concat(){if(this[se])throw new Error("cannot concat in objectMode");let e=await this.collect();return this[Me]?e.join(""):Buffer.concat(e,e.dataLength)}async promise(){return new Promise((e,t)=>{this.on(W,()=>t(new Error("stream destroyed"))),this.on("error",n=>t(n)),this.on("end",()=>e())})}[Symbol.asyncIterator](){this[ye]=!1;let e=!1,t=async()=>(this.pause(),e=!0,{value:void 0,done:!0});return{next:()=>{if(e)return t();let i=this.read();if(i!==null)return Promise.resolve({done:!1,value:i});if(this[Ye])return t();let s,o,a=f=>{this.off("data",l),this.off("end",u),this.off(W,c),t(),o(f)},l=f=>{this.off("error",a),this.off("end",u),this.off(W,c),this.pause(),s({value:f,done:!!this[Ye]})},u=()=>{this.off("error",a),this.off("data",l),this.off(W,c),t(),s({done:!0,value:void 0})},c=()=>a(new Error("stream destroyed"));return new Promise((f,h)=>{o=h,s=f,this.once(W,c),this.once("error",a),this.once("end",u),this.once("data",l)})},throw:t,return:t,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[ye]=!1;let e=!1,t=()=>(this.pause(),this.off(Ns,t),this.off(W,t),this.off("end",t),e=!0,{done:!0,value:void 0}),n=()=>{if(e)return t();let i=this.read();return i===null?t():{done:!1,value:i}};return this.once("end",t),this.once(Ns,t),this.once(W,t),{next:n,throw:t,return:t,[Symbol.iterator](){return this}}}destroy(e){if(this[W])return e?this.emit("error",e):this.emit(W),this;this[W]=!0,this[ye]=!0,this[Y].length=0,this[K]=0;let t=this;return typeof t.close=="function"&&!this[jn]&&t.close(),e?this.emit("error",e):this.emit(W),this}static get isStream(){return Rv}};var qv=Be.realpathSync.native,Tr={lstatSync:Be.lstatSync,readdir:Be.readdir,readdirSync:Be.readdirSync,readlinkSync:Be.readlinkSync,realpathSync:qv,promises:{lstat:nt.lstat,readdir:nt.readdir,readlink:nt.readlink,realpath:nt.realpath}},mu=r=>!r||r===Tr||r===Dv?Tr:{...Tr,...r,promises:{...Tr.promises,...r.promises||{}}},vu=/^\\\\\?\\([a-z]:)\\?$/i,Nv=r=>r.replace(/\//g,"\\").replace(vu,"$1\\"),jv=/[\\\/]/,_e=0,yu=1,wu=2,je=4,bu=6,xu=8,vt=10,Iu=12,Se=15,Rr=~Se,Hs=16,hu=32,Mr=64,Fe=128,Gn=256,Yn=512,fu=Mr|Fe|Yn,Bv=1023,Gs=r=>r.isFile()?xu:r.isDirectory()?je:r.isSymbolicLink()?vt:r.isCharacterDevice()?wu:r.isBlockDevice()?bu:r.isSocket()?Iu:r.isFIFO()?yu:_e,pu=new Map,Fr=r=>{let e=pu.get(r);if(e)return e;let t=r.normalize("NFKD");return pu.set(r,t),t},du=new Map,Vn=r=>{let e=du.get(r);if(e)return e;let t=Fr(r.toLowerCase());return du.set(r,t),t},Kn=class extends Sr{constructor(){super({max:256})}},Vs=class extends Sr{constructor(e=16*1024){super({maxSize:e,sizeCalculation:t=>t.length+1})}},Su=Symbol("PathScurry setAsCwd"),oe=class{name;root;roots;parent;nocase;isCWD=!1;#e;#t;get dev(){return this.#t}#s;get mode(){return this.#s}#n;get nlink(){return this.#n}#o;get uid(){return this.#o}#b;get gid(){return this.#b}#u;get rdev(){return this.#u}#h;get blksize(){return this.#h}#a;get ino(){return this.#a}#l;get size(){return this.#l}#i;get blocks(){return this.#i}#m;get atimeMs(){return this.#m}#v;get mtimeMs(){return this.#v}#p;get ctimeMs(){return this.#p}#f;get birthtimeMs(){return this.#f}#S;get atime(){return this.#S}#g;get mtime(){return this.#g}#_;get ctime(){return this.#_}#C;get birthtime(){return this.#C}#w;#x;#I;#d;#T;#E;#r;#O;#y;#M;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(e,t=_e,n,i,s,o,a){this.name=e,this.#w=s?Vn(e):Fr(e),this.#r=t&Bv,this.nocase=s,this.roots=i,this.root=n||this,this.#O=o,this.#I=a.fullpath,this.#T=a.relative,this.#E=a.relativePosix,this.parent=a.parent,this.parent?this.#e=this.parent.#e:this.#e=mu(a.fs)}depth(){return this.#x!==void 0?this.#x:this.parent?this.#x=this.parent.depth()+1:this.#x=0}childrenCache(){return this.#O}resolve(e){if(!e)return this;let t=this.getRootString(e),i=e.substring(t.length).split(this.splitSep);return t?this.getRoot(t).#A(i):this.#A(i)}#A(e){let t=this;for(let n of e)t=t.child(n);return t}children(){let e=this.#O.get(this);if(e)return e;let t=Object.assign([],{provisional:0});return this.#O.set(this,t),this.#r&=~Hs,t}child(e,t){if(e===""||e===".")return this;if(e==="..")return this.parent||this;let n=this.children(),i=this.nocase?Vn(e):Fr(e);for(let l of n)if(l.#w===i)return l;let s=this.parent?this.sep:"",o=this.#I?this.#I+s+e:void 0,a=this.newChild(e,_e,{...t,parent:this,fullpath:o});return this.canReaddir()||(a.#r|=Fe),n.push(a),a}relative(){if(this.isCWD)return"";if(this.#T!==void 0)return this.#T;let e=this.name,t=this.parent;if(!t)return this.#T=this.name;let n=t.relative();return n+(!n||!t.parent?"":this.sep)+e}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#E!==void 0)return this.#E;let e=this.name,t=this.parent;if(!t)return this.#E=this.fullpathPosix();let n=t.relativePosix();return n+(!n||!t.parent?"":"/")+e}fullpath(){if(this.#I!==void 0)return this.#I;let e=this.name,t=this.parent;if(!t)return this.#I=this.name;let i=t.fullpath()+(t.parent?this.sep:"")+e;return this.#I=i}fullpathPosix(){if(this.#d!==void 0)return this.#d;if(this.sep==="/")return this.#d=this.fullpath();if(!this.parent){let i=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(i)?this.#d=`//?/${i}`:this.#d=i}let e=this.parent,t=e.fullpathPosix(),n=t+(!t||!e.parent?"":"/")+this.name;return this.#d=n}isUnknown(){return(this.#r&Se)===_e}isType(e){return this[`is${e}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#r&Se)===xu}isDirectory(){return(this.#r&Se)===je}isCharacterDevice(){return(this.#r&Se)===wu}isBlockDevice(){return(this.#r&Se)===bu}isFIFO(){return(this.#r&Se)===yu}isSocket(){return(this.#r&Se)===Iu}isSymbolicLink(){return(this.#r&vt)===vt}lstatCached(){return this.#r&hu?this:void 0}readlinkCached(){return this.#y}realpathCached(){return this.#M}readdirCached(){let e=this.children();return e.slice(0,e.provisional)}canReadlink(){if(this.#y)return!0;if(!this.parent)return!1;let e=this.#r&Se;return!(e!==_e&&e!==vt||this.#r&Gn||this.#r&Fe)}calledReaddir(){return!!(this.#r&Hs)}isENOENT(){return!!(this.#r&Fe)}isNamed(e){return this.nocase?this.#w===Vn(e):this.#w===Fr(e)}async readlink(){var t;let e=this.#y;if(e)return e;if(this.canReadlink()&&this.parent)try{let n=await this.#e.promises.readlink(this.fullpath()),i=(t=await this.parent.realpath())==null?void 0:t.resolve(n);if(i)return this.#y=i}catch(n){this.#c(n.code);return}}readlinkSync(){var t;let e=this.#y;if(e)return e;if(this.canReadlink()&&this.parent)try{let n=this.#e.readlinkSync(this.fullpath()),i=(t=this.parent.realpathSync())==null?void 0:t.resolve(n);if(i)return this.#y=i}catch(n){this.#c(n.code);return}}#k(e){this.#r|=Hs;for(let t=e.provisional;t<e.length;t++){let n=e[t];n&&n.#$()}}#$(){this.#r&Fe||(this.#r=(this.#r|Fe)&Rr,this.#L())}#L(){let e=this.children();e.provisional=0;for(let t of e)t.#$()}#R(){this.#r|=Yn,this.#P()}#P(){if(this.#r&Mr)return;let e=this.#r;(e&Se)===je&&(e&=Rr),this.#r=e|Mr,this.#L()}#D(e=""){e==="ENOTDIR"||e==="EPERM"?this.#P():e==="ENOENT"?this.#$():this.children().provisional=0}#q(e=""){e==="ENOTDIR"?this.parent.#P():e==="ENOENT"&&this.#$()}#c(e=""){let t=this.#r;t|=Gn,e==="ENOENT"&&(t|=Fe),(e==="EINVAL"||e==="UNKNOWN")&&(t&=Rr),this.#r=t,e==="ENOTDIR"&&this.parent&&this.parent.#P()}#N(e,t){return this.#F(e,t)||this.#j(e,t)}#j(e,t){let n=Gs(e),i=this.newChild(e.name,n,{parent:this}),s=i.#r&Se;return s!==je&&s!==vt&&s!==_e&&(i.#r|=Mr),t.unshift(i),t.provisional++,i}#F(e,t){for(let n=t.provisional;n<t.length;n++){let i=t[n];if((this.nocase?Vn(e.name):Fr(e.name))===i.#w)return this.#B(e,i,n,t)}}#B(e,t,n,i){let s=t.name;return t.#r=t.#r&Rr|Gs(e),s!==e.name&&(t.name=e.name),n!==i.provisional&&(n===i.length-1?i.pop():i.splice(n,1),i.unshift(t)),i.provisional++,t}async lstat(){if((this.#r&Fe)===0)try{return this.#H(await this.#e.promises.lstat(this.fullpath())),this}catch(e){this.#q(e.code)}}lstatSync(){if((this.#r&Fe)===0)try{return this.#H(this.#e.lstatSync(this.fullpath())),this}catch(e){this.#q(e.code)}}#H(e){let{atime:t,atimeMs:n,birthtime:i,birthtimeMs:s,blksize:o,blocks:a,ctime:l,ctimeMs:u,dev:c,gid:f,ino:h,mode:d,mtime:p,mtimeMs:g,nlink:v,rdev:y,size:x,uid:b}=e;this.#S=t,this.#m=n,this.#C=i,this.#f=s,this.#h=o,this.#i=a,this.#_=l,this.#p=u,this.#t=c,this.#b=f,this.#a=h,this.#s=d,this.#g=p,this.#v=g,this.#n=v,this.#u=y,this.#l=x,this.#o=b;let I=Gs(e);this.#r=this.#r&Rr|I|hu,I!==_e&&I!==je&&I!==vt&&(this.#r|=Mr)}#W=[];#z=!1;#G(e){this.#z=!1;let t=this.#W.slice();this.#W.length=0,t.forEach(n=>n(null,e))}readdirCB(e,t=!1){if(!this.canReaddir()){t?e(null,[]):queueMicrotask(()=>e(null,[]));return}let n=this.children();if(this.calledReaddir()){let s=n.slice(0,n.provisional);t?e(null,s):queueMicrotask(()=>e(null,s));return}if(this.#W.push(e),this.#z)return;this.#z=!0;let i=this.fullpath();this.#e.readdir(i,{withFileTypes:!0},(s,o)=>{if(s)this.#D(s.code),n.provisional=0;else{for(let a of o)this.#N(a,n);this.#k(n)}this.#G(n.slice(0,n.provisional))})}#U;async readdir(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let t=this.fullpath();if(this.#U)await this.#U;else{let n=()=>{};this.#U=new Promise(i=>n=i);try{for(let i of await this.#e.promises.readdir(t,{withFileTypes:!0}))this.#N(i,e);this.#k(e)}catch(i){this.#D(i.code),e.provisional=0}this.#U=void 0,n()}return e.slice(0,e.provisional)}readdirSync(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let t=this.fullpath();try{for(let n of this.#e.readdirSync(t,{withFileTypes:!0}))this.#N(n,e);this.#k(e)}catch(n){this.#D(n.code),e.provisional=0}return e.slice(0,e.provisional)}canReaddir(){if(this.#r&fu)return!1;let e=Se&this.#r;return e===_e||e===je||e===vt}shouldWalk(e,t){return(this.#r&je)===je&&!(this.#r&fu)&&!e.has(this)&&(!t||t(this))}async realpath(){if(this.#M)return this.#M;if(!((Yn|Gn|Fe)&this.#r))try{let e=await this.#e.promises.realpath(this.fullpath());return this.#M=this.resolve(e)}catch{this.#R()}}realpathSync(){if(this.#M)return this.#M;if(!((Yn|Gn|Fe)&this.#r))try{let e=this.#e.realpathSync(this.fullpath());return this.#M=this.resolve(e)}catch{this.#R()}}[Su](e){if(e===this)return;e.isCWD=!1,this.isCWD=!0;let t=new Set([]),n=[],i=this;for(;i&&i.parent;)t.add(i),i.#T=n.join(this.sep),i.#E=n.join("/"),i=i.parent,n.push("..");for(i=e;i&&i.parent&&!t.has(i);)i.#T=void 0,i.#E=void 0,i=i.parent}},Qn=class r extends oe{sep="\\";splitSep=jv;constructor(e,t=_e,n,i,s,o,a){super(e,t,n,i,s,o,a)}newChild(e,t=_e,n={}){return new r(e,t,this.root,this.roots,this.nocase,this.childrenCache(),n)}getRootString(e){return Wt.win32.parse(e).root}getRoot(e){if(e=Nv(e.toUpperCase()),e===this.root.name)return this.root;for(let[t,n]of Object.entries(this.roots))if(this.sameRoot(e,t))return this.roots[e]=n;return this.roots[e]=new zt(e,this).root}sameRoot(e,t=this.root.name){return e=e.toUpperCase().replace(/\//g,"\\").replace(vu,"$1\\"),e===t}},Jn=class r extends oe{splitSep="/";sep="/";constructor(e,t=_e,n,i,s,o,a){super(e,t,n,i,s,o,a)}getRootString(e){return e.startsWith("/")?"/":""}getRoot(e){return this.root}newChild(e,t=_e,n={}){return new r(e,t,this.root,this.roots,this.nocase,this.childrenCache(),n)}},Zn=class{root;rootPath;roots;cwd;#e;#t;#s;nocase;#n;constructor(e=process.cwd(),t,n,{nocase:i,childrenCacheSize:s=16*1024,fs:o=Tr}={}){this.#n=mu(o),(e instanceof URL||e.startsWith("file://"))&&(e=(0,gu.fileURLToPath)(e));let a=t.resolve(e);this.roots=Object.create(null),this.rootPath=this.parseRootPath(a),this.#e=new Kn,this.#t=new Kn,this.#s=new Vs(s);let l=a.substring(this.rootPath.length).split(n);if(l.length===1&&!l[0]&&l.pop(),i===void 0)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=i,this.root=this.newRoot(this.#n),this.roots[this.rootPath]=this.root;let u=this.root,c=l.length-1,f=t.sep,h=this.rootPath,d=!1;for(let p of l){let g=c--;u=u.child(p,{relative:new Array(g).fill("..").join(f),relativePosix:new Array(g).fill("..").join("/"),fullpath:h+=(d?"":f)+p}),d=!0}this.cwd=u}depth(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.depth()}childrenCache(){return this.#s}resolve(...e){let t="";for(let s=e.length-1;s>=0;s--){let o=e[s];if(!(!o||o===".")&&(t=t?`${o}/${t}`:o,this.isAbsolute(o)))break}let n=this.#e.get(t);if(n!==void 0)return n;let i=this.cwd.resolve(t).fullpath();return this.#e.set(t,i),i}resolvePosix(...e){let t="";for(let s=e.length-1;s>=0;s--){let o=e[s];if(!(!o||o===".")&&(t=t?`${o}/${t}`:o,this.isAbsolute(o)))break}let n=this.#t.get(t);if(n!==void 0)return n;let i=this.cwd.resolve(t).fullpathPosix();return this.#t.set(t,i),i}relative(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relative()}relativePosix(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relativePosix()}basename(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.name}dirname(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),(e.parent||e).fullpath()}async readdir(e=this.cwd,t={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e,e=this.cwd);let{withFileTypes:n}=t;if(e.canReaddir()){let i=await e.readdir();return n?i:i.map(s=>s.name)}else return[]}readdirSync(e=this.cwd,t={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e,e=this.cwd);let{withFileTypes:n=!0}=t;return e.canReaddir()?n?e.readdirSync():e.readdirSync().map(i=>i.name):[]}async lstat(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstat()}lstatSync(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstatSync()}async readlink(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e.withFileTypes,e=this.cwd);let n=await e.readlink();return t?n:n==null?void 0:n.fullpath()}readlinkSync(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e.withFileTypes,e=this.cwd);let n=e.readlinkSync();return t?n:n==null?void 0:n.fullpath()}async realpath(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e.withFileTypes,e=this.cwd);let n=await e.realpath();return t?n:n==null?void 0:n.fullpath()}realpathSync(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e.withFileTypes,e=this.cwd);let n=e.realpathSync();return t?n:n==null?void 0:n.fullpath()}async walk(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=t,a=[];(!s||s(e))&&a.push(n?e:e.fullpath());let l=new Set,u=(f,h)=>{l.add(f),f.readdirCB((d,p)=>{if(d)return h(d);let g=p.length;if(!g)return h();let v=()=>{--g===0&&h()};for(let y of p)(!s||s(y))&&a.push(n?y:y.fullpath()),i&&y.isSymbolicLink()?y.realpath().then(x=>x!=null&&x.isUnknown()?x.lstat():x).then(x=>x!=null&&x.shouldWalk(l,o)?u(x,v):v()):y.shouldWalk(l,o)?u(y,v):v()},!0)},c=e;return new Promise((f,h)=>{u(c,d=>{if(d)return h(d);f(a)})})}walkSync(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=t,a=[];(!s||s(e))&&a.push(n?e:e.fullpath());let l=new Set([e]);for(let u of l){let c=u.readdirSync();for(let f of c){(!s||s(f))&&a.push(n?f:f.fullpath());let h=f;if(f.isSymbolicLink()){if(!(i&&(h=f.realpathSync())))continue;h.isUnknown()&&h.lstatSync()}h.shouldWalk(l,o)&&l.add(h)}}return a}[Symbol.asyncIterator](){return this.iterate()}iterate(e=this.cwd,t={}){return typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e,e=this.cwd),this.stream(e,t)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=t;(!s||s(e))&&(yield n?e:e.fullpath());let a=new Set([e]);for(let l of a){let u=l.readdirSync();for(let c of u){(!s||s(c))&&(yield n?c:c.fullpath());let f=c;if(c.isSymbolicLink()){if(!(i&&(f=c.realpathSync())))continue;f.isUnknown()&&f.lstatSync()}f.shouldWalk(a,o)&&a.add(f)}}}stream(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=t,a=new rt({objectMode:!0});(!s||s(e))&&a.write(n?e:e.fullpath());let l=new Set,u=[e],c=0,f=()=>{let h=!1;for(;!h;){let d=u.shift();if(!d){c===0&&a.end();return}c++,l.add(d);let p=(v,y,x=!1)=>{if(v)return a.emit("error",v);if(i&&!x){let b=[];for(let I of y)I.isSymbolicLink()&&b.push(I.realpath().then(E=>E!=null&&E.isUnknown()?E.lstat():E));if(b.length){Promise.all(b).then(()=>p(null,y,!0));return}}for(let b of y)b&&(!s||s(b))&&(a.write(n?b:b.fullpath())||(h=!0));c--;for(let b of y){let I=b.realpathCached()||b;I.shouldWalk(l,o)&&u.push(I)}h&&!a.flowing?a.once("drain",f):g||f()},g=!0;d.readdirCB(p,!0),g=!1}};return f(),a}streamSync(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof oe||(t=e,e=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=t,a=new rt({objectMode:!0}),l=new Set;(!s||s(e))&&a.write(n?e:e.fullpath());let u=[e],c=0,f=()=>{let h=!1;for(;!h;){let d=u.shift();if(!d){c===0&&a.end();return}c++,l.add(d);let p=d.readdirSync();for(let g of p)(!s||s(g))&&(a.write(n?g:g.fullpath())||(h=!0));c--;for(let g of p){let v=g;if(g.isSymbolicLink()){if(!(i&&(v=g.realpathSync())))continue;v.isUnknown()&&v.lstatSync()}v.shouldWalk(l,o)&&u.push(v)}}h&&!a.flowing&&a.once("drain",f)};return f(),a}chdir(e=this.cwd){let t=this.cwd;this.cwd=typeof e=="string"?this.cwd.resolve(e):e,this.cwd[Su](t)}},zt=class extends Zn{sep="\\";constructor(e=process.cwd(),t={}){let{nocase:n=!0}=t;super(e,Wt.win32,"\\",{...t,nocase:n}),this.nocase=n;for(let i=this.cwd;i;i=i.parent)i.nocase=this.nocase}parseRootPath(e){return Wt.win32.parse(e).root.toUpperCase()}newRoot(e){return new Qn(this.rootPath,je,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")||e.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(e)}},Ht=class extends Zn{sep="/";constructor(e=process.cwd(),t={}){let{nocase:n=!1}=t;super(e,Wt.posix,"/",{...t,nocase:n}),this.nocase=n}parseRootPath(e){return"/"}newRoot(e){return new Jn(this.rootPath,je,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")}},Or=class extends Ht{constructor(e=process.cwd(),t={}){let{nocase:n=!0}=t;super(e,{...t,nocase:n})}},X_=process.platform==="win32"?Qn:Jn,_u=process.platform==="win32"?zt:process.platform==="darwin"?Or:Ht;var Uv=r=>r.length>=1,Wv=r=>r.length>=1,Gt=class r{#e;#t;#s;length;#n;#o;#b;#u;#h;#a;#l=!0;constructor(e,t,n,i){if(!Uv(e))throw new TypeError("empty pattern list");if(!Wv(t))throw new TypeError("empty glob list");if(t.length!==e.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=e.length,n<0||n>=this.length)throw new TypeError("index out of range");if(this.#e=e,this.#t=t,this.#s=n,this.#n=i,this.#s===0){if(this.isUNC()){let[s,o,a,l,...u]=this.#e,[c,f,h,d,...p]=this.#t;u[0]===""&&(u.shift(),p.shift());let g=[s,o,a,l,""].join("/"),v=[c,f,h,d,""].join("/");this.#e=[g,...u],this.#t=[v,...p],this.length=this.#e.length}else if(this.isDrive()||this.isAbsolute()){let[s,...o]=this.#e,[a,...l]=this.#t;o[0]===""&&(o.shift(),l.shift());let u=s+"/",c=a+"/";this.#e=[u,...o],this.#t=[c,...l],this.length=this.#e.length}}}pattern(){return this.#e[this.#s]}isString(){return typeof this.#e[this.#s]=="string"}isGlobstar(){return this.#e[this.#s]===ee}isRegExp(){return this.#e[this.#s]instanceof RegExp}globString(){return this.#b=this.#b||(this.#s===0?this.isAbsolute()?this.#t[0]+this.#t.slice(1).join("/"):this.#t.join("/"):this.#t.slice(this.#s).join("/"))}hasMore(){return this.length>this.#s+1}rest(){return this.#o!==void 0?this.#o:this.hasMore()?(this.#o=new r(this.#e,this.#t,this.#s+1,this.#n),this.#o.#a=this.#a,this.#o.#h=this.#h,this.#o.#u=this.#u,this.#o):this.#o=null}isUNC(){let e=this.#e;return this.#h!==void 0?this.#h:this.#h=this.#n==="win32"&&this.#s===0&&e[0]===""&&e[1]===""&&typeof e[2]=="string"&&!!e[2]&&typeof e[3]=="string"&&!!e[3]}isDrive(){let e=this.#e;return this.#u!==void 0?this.#u:this.#u=this.#n==="win32"&&this.#s===0&&this.length>1&&typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0])}isAbsolute(){let e=this.#e;return this.#a!==void 0?this.#a:this.#a=e[0]===""&&e.length>1||this.isDrive()||this.isUNC()}root(){let e=this.#e[0];return typeof e=="string"&&this.isAbsolute()&&this.#s===0?e:""}checkFollowGlobstar(){return!(this.#s===0||!this.isGlobstar()||!this.#l)}markFollowGlobstar(){return this.#s===0||!this.isGlobstar()||!this.#l?!1:(this.#l=!1,!0)}};var zv=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",Vt=class{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(e,{nobrace:t,nocase:n,noext:i,noglobstar:s,platform:o=zv}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=o,this.mmopts={dot:!0,nobrace:t,nocase:n,noext:i,noglobstar:s,optimizationLevel:2,platform:o,nocomment:!0,nonegate:!0};for(let a of e)this.add(a)}add(e){let t=new ve(e,this.mmopts);for(let n=0;n<t.set.length;n++){let i=t.set[n],s=t.globParts[n];if(!i||!s)throw new Error("invalid pattern object");for(;i[0]==="."&&s[0]===".";)i.shift(),s.shift();let o=new Gt(i,s,0,this.platform),a=new ve(o.globString(),this.mmopts),l=s[s.length-1]==="**",u=o.isAbsolute();u?this.absolute.push(a):this.relative.push(a),l&&(u?this.absoluteChildren.push(a):this.relativeChildren.push(a))}}ignored(e){let t=e.fullpath(),n=`${t}/`,i=e.relative()||".",s=`${i}/`;for(let o of this.relative)if(o.match(i)||o.match(s))return!0;for(let o of this.absolute)if(o.match(t)||o.match(n))return!0;return!1}childrenIgnored(e){let t=e.fullpath()+"/",n=(e.relative()||".")+"/";for(let i of this.relativeChildren)if(i.match(n))return!0;for(let i of this.absoluteChildren)if(i.match(t))return!0;return!1}};var Ys=class r{store;constructor(e=new Map){this.store=e}copy(){return new r(new Map(this.store))}hasWalked(e,t){var n;return(n=this.store.get(e.fullpath()))==null?void 0:n.has(t.globString())}storeWalked(e,t){let n=e.fullpath(),i=this.store.get(n);i?i.add(t.globString()):this.store.set(n,new Set([t.globString()]))}},Ks=class{store=new Map;add(e,t,n){let i=(t?2:0)|(n?1:0),s=this.store.get(e);this.store.set(e,s===void 0?i:i&s)}entries(){return[...this.store.entries()].map(([e,t])=>[e,!!(t&2),!!(t&1)])}},Qs=class{store=new Map;add(e,t){if(!e.canReaddir())return;let n=this.store.get(e);n?n.find(i=>i.globString()===t.globString())||n.push(t):this.store.set(e,[t])}get(e){let t=this.store.get(e);if(!t)throw new Error("attempting to walk unknown path");return t}entries(){return this.keys().map(e=>[e,this.store.get(e)])}keys(){return[...this.store.keys()].filter(e=>e.canReaddir())}},Ar=class r{hasWalkedCache;matches=new Ks;subwalks=new Qs;patterns;follow;dot;opts;constructor(e,t){this.opts=e,this.follow=!!e.follow,this.dot=!!e.dot,this.hasWalkedCache=t?t.copy():new Ys}processPatterns(e,t){this.patterns=t;let n=t.map(i=>[e,i]);for(let[i,s]of n){this.hasWalkedCache.storeWalked(i,s);let o=s.root(),a=s.isAbsolute()&&this.opts.absolute!==!1;if(o){i=i.resolve(o==="/"&&this.opts.root!==void 0?this.opts.root:o);let f=s.rest();if(f)s=f;else{this.matches.add(i,!0,!1);continue}}if(i.isENOENT())continue;let l,u,c=!1;for(;typeof(l=s.pattern())=="string"&&(u=s.rest());)i=i.resolve(l),s=u,c=!0;if(l=s.pattern(),u=s.rest(),c){if(this.hasWalkedCache.hasWalked(i,s))continue;this.hasWalkedCache.storeWalked(i,s)}if(typeof l=="string"){let f=l===".."||l===""||l===".";this.matches.add(i.resolve(l),a,f);continue}else if(l===ee){(!i.isSymbolicLink()||this.follow||s.checkFollowGlobstar())&&this.subwalks.add(i,s);let f=u==null?void 0:u.pattern(),h=u==null?void 0:u.rest();if(!u||(f===""||f===".")&&!h)this.matches.add(i,a,f===""||f===".");else if(f===".."){let d=i.parent||i;h?this.hasWalkedCache.hasWalked(d,h)||this.subwalks.add(d,h):this.matches.add(d,a,!0)}}else l instanceof RegExp&&this.subwalks.add(i,s)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new r(this.opts,this.hasWalkedCache)}filterEntries(e,t){let n=this.subwalks.get(e),i=this.child();for(let s of t)for(let o of n){let a=o.isAbsolute(),l=o.pattern(),u=o.rest();l===ee?i.testGlobstar(s,o,u,a):l instanceof RegExp?i.testRegExp(s,l,u,a):i.testString(s,l,u,a)}return i}testGlobstar(e,t,n,i){if((this.dot||!e.name.startsWith("."))&&(t.hasMore()||this.matches.add(e,i,!1),e.canReaddir()&&(this.follow||!e.isSymbolicLink()?this.subwalks.add(e,t):e.isSymbolicLink()&&(n&&t.checkFollowGlobstar()?this.subwalks.add(e,n):t.markFollowGlobstar()&&this.subwalks.add(e,t)))),n){let s=n.pattern();if(typeof s=="string"&&s!==".."&&s!==""&&s!==".")this.testString(e,s,n.rest(),i);else if(s===".."){let o=e.parent||e;this.subwalks.add(o,n)}else s instanceof RegExp&&this.testRegExp(e,s,n.rest(),i)}}testRegExp(e,t,n,i){t.test(e.name)&&(n?this.subwalks.add(e,n):this.matches.add(e,i,!1))}testString(e,t,n,i){e.isNamed(t)&&(n?this.subwalks.add(e,n):this.matches.add(e,i,!1))}};var Hv=(r,e)=>typeof r=="string"?new Vt([r],e):Array.isArray(r)?new Vt(r,e):r,Xn=class{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#e=[];#t;#s;signal;maxDepth;includeChildMatches;constructor(e,t,n){if(this.patterns=e,this.path=t,this.opts=n,this.#s=!n.posix&&n.platform==="win32"?"\\":"/",this.includeChildMatches=n.includeChildMatches!==!1,(n.ignore||!this.includeChildMatches)&&(this.#t=Hv(n.ignore??[],n),!this.includeChildMatches&&typeof this.#t.add!="function")){let i="cannot ignore child matches, ignore lacks add() method.";throw new Error(i)}this.maxDepth=n.maxDepth||1/0,n.signal&&(this.signal=n.signal,this.signal.addEventListener("abort",()=>{this.#e.length=0}))}#n(e){var t,n;return this.seen.has(e)||!!((n=(t=this.#t)==null?void 0:t.ignored)!=null&&n.call(t,e))}#o(e){var t,n;return!!((n=(t=this.#t)==null?void 0:t.childrenIgnored)!=null&&n.call(t,e))}pause(){this.paused=!0}resume(){var t;if((t=this.signal)!=null&&t.aborted)return;this.paused=!1;let e;for(;!this.paused&&(e=this.#e.shift());)e()}onResume(e){var t;(t=this.signal)!=null&&t.aborted||(this.paused?this.#e.push(e):e())}async matchCheck(e,t){if(t&&this.opts.nodir)return;let n;if(this.opts.realpath){if(n=e.realpathCached()||await e.realpath(),!n)return;e=n}let s=e.isUnknown()||this.opts.stat?await e.lstat():e;if(this.opts.follow&&this.opts.nodir&&(s!=null&&s.isSymbolicLink())){let o=await s.realpath();o&&(o.isUnknown()||this.opts.stat)&&await o.lstat()}return this.matchCheckTest(s,t)}matchCheckTest(e,t){var n;return e&&(this.maxDepth===1/0||e.depth()<=this.maxDepth)&&(!t||e.canReaddir())&&(!this.opts.nodir||!e.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!e.isSymbolicLink()||!((n=e.realpathCached())!=null&&n.isDirectory()))&&!this.#n(e)?e:void 0}matchCheckSync(e,t){if(t&&this.opts.nodir)return;let n;if(this.opts.realpath){if(n=e.realpathCached()||e.realpathSync(),!n)return;e=n}let s=e.isUnknown()||this.opts.stat?e.lstatSync():e;if(this.opts.follow&&this.opts.nodir&&(s!=null&&s.isSymbolicLink())){let o=s.realpathSync();o&&(o!=null&&o.isUnknown()||this.opts.stat)&&o.lstatSync()}return this.matchCheckTest(s,t)}matchFinish(e,t){var s;if(this.#n(e))return;if(!this.includeChildMatches&&((s=this.#t)!=null&&s.add)){let o=`${e.relativePosix()}/**`;this.#t.add(o)}let n=this.opts.absolute===void 0?t:this.opts.absolute;this.seen.add(e);let i=this.opts.mark&&e.isDirectory()?this.#s:"";if(this.opts.withFileTypes)this.matchEmit(e);else if(n){let o=this.opts.posix?e.fullpathPosix():e.fullpath();this.matchEmit(o+i)}else{let o=this.opts.posix?e.relativePosix():e.relative(),a=this.opts.dotRelative&&!o.startsWith(".."+this.#s)?"."+this.#s:"";this.matchEmit(o?a+o+i:"."+i)}}async match(e,t,n){let i=await this.matchCheck(e,n);i&&this.matchFinish(i,t)}matchSync(e,t,n){let i=this.matchCheckSync(e,n);i&&this.matchFinish(i,t)}walkCB(e,t,n){var i;(i=this.signal)!=null&&i.aborted&&n(),this.walkCB2(e,t,new Ar(this.opts),n)}walkCB2(e,t,n,i){var a;if(this.#o(e))return i();if((a=this.signal)!=null&&a.aborted&&i(),this.paused){this.onResume(()=>this.walkCB2(e,t,n,i));return}n.processPatterns(e,t);let s=1,o=()=>{--s===0&&i()};for(let[l,u,c]of n.matches.entries())this.#n(l)||(s++,this.match(l,u,c).then(()=>o()));for(let l of n.subwalkTargets()){if(this.maxDepth!==1/0&&l.depth()>=this.maxDepth)continue;s++;let u=l.readdirCached();l.calledReaddir()?this.walkCB3(l,u,n,o):l.readdirCB((c,f)=>this.walkCB3(l,f,n,o),!0)}o()}walkCB3(e,t,n,i){n=n.filterEntries(e,t);let s=1,o=()=>{--s===0&&i()};for(let[a,l,u]of n.matches.entries())this.#n(a)||(s++,this.match(a,l,u).then(()=>o()));for(let[a,l]of n.subwalks.entries())s++,this.walkCB2(a,l,n.child(),o);o()}walkCBSync(e,t,n){var i;(i=this.signal)!=null&&i.aborted&&n(),this.walkCB2Sync(e,t,new Ar(this.opts),n)}walkCB2Sync(e,t,n,i){var a;if(this.#o(e))return i();if((a=this.signal)!=null&&a.aborted&&i(),this.paused){this.onResume(()=>this.walkCB2Sync(e,t,n,i));return}n.processPatterns(e,t);let s=1,o=()=>{--s===0&&i()};for(let[l,u,c]of n.matches.entries())this.#n(l)||this.matchSync(l,u,c);for(let l of n.subwalkTargets()){if(this.maxDepth!==1/0&&l.depth()>=this.maxDepth)continue;s++;let u=l.readdirSync();this.walkCB3Sync(l,u,n,o)}o()}walkCB3Sync(e,t,n,i){n=n.filterEntries(e,t);let s=1,o=()=>{--s===0&&i()};for(let[a,l,u]of n.matches.entries())this.#n(a)||this.matchSync(a,l,u);for(let[a,l]of n.subwalks.entries())s++,this.walkCB2Sync(a,l,n.child(),o);o()}},kr=class extends Xn{matches=new Set;constructor(e,t,n){super(e,t,n)}matchEmit(e){this.matches.add(e)}async walk(){var e;if((e=this.signal)!=null&&e.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise((t,n)=>{this.walkCB(this.path,this.patterns,()=>{var i;(i=this.signal)!=null&&i.aborted?n(this.signal.reason):t(this.matches)})}),this.matches}walkSync(){var e;if((e=this.signal)!=null&&e.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>{var t;if((t=this.signal)!=null&&t.aborted)throw this.signal.reason}),this.matches}},$r=class extends Xn{results;constructor(e,t,n){super(e,t,n),this.results=new rt({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume())}matchEmit(e){this.results.write(e),this.results.flowing||this.pause()}stream(){let e=this.path;return e.isUnknown()?e.lstat().then(()=>{this.walkCB(e,this.patterns,()=>this.results.end())}):this.walkCB(e,this.patterns,()=>this.results.end()),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}};var Gv=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",Oe=class{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(e,t){if(!t)throw new TypeError("glob options required");if(this.withFileTypes=!!t.withFileTypes,this.signal=t.signal,this.follow=!!t.follow,this.dot=!!t.dot,this.dotRelative=!!t.dotRelative,this.nodir=!!t.nodir,this.mark=!!t.mark,t.cwd?(t.cwd instanceof URL||t.cwd.startsWith("file://"))&&(t.cwd=(0,Cu.fileURLToPath)(t.cwd)):this.cwd="",this.cwd=t.cwd||"",this.root=t.root,this.magicalBraces=!!t.magicalBraces,this.nobrace=!!t.nobrace,this.noext=!!t.noext,this.realpath=!!t.realpath,this.absolute=t.absolute,this.includeChildMatches=t.includeChildMatches!==!1,this.noglobstar=!!t.noglobstar,this.matchBase=!!t.matchBase,this.maxDepth=typeof t.maxDepth=="number"?t.maxDepth:1/0,this.stat=!!t.stat,this.ignore=t.ignore,this.withFileTypes&&this.absolute!==void 0)throw new Error("cannot set absolute and withFileTypes:true");if(typeof e=="string"&&(e=[e]),this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(e=e.map(l=>l.replace(/\\/g,"/"))),this.matchBase){if(t.noglobstar)throw new TypeError("base matching requires globstar");e=e.map(l=>l.includes("/")?l:`./**/${l}`)}if(this.pattern=e,this.platform=t.platform||Gv,this.opts={...t,platform:this.platform},t.scurry){if(this.scurry=t.scurry,t.nocase!==void 0&&t.nocase!==t.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{let l=t.platform==="win32"?zt:t.platform==="darwin"?Or:t.platform?Ht:_u;this.scurry=new l(this.cwd,{nocase:t.nocase,fs:t.fs})}this.nocase=this.scurry.nocase;let n=this.platform==="darwin"||this.platform==="win32",i={...t,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:n,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},s=this.pattern.map(l=>new ve(l,i)),[o,a]=s.reduce((l,u)=>(l[0].push(...u.set),l[1].push(...u.globParts),l),[[],[]]);this.patterns=o.map((l,u)=>{let c=a[u];if(!c)throw new Error("invalid pattern object");return new Gt(l,c,0,this.platform)})}async walk(){return[...await new kr(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new kr(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new $r(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new $r(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}};var Js=(r,e={})=>{Array.isArray(r)||(r=[r]);for(let t of r)if(new ve(t,e).hasMagic())return!0;return!1};function ti(r,e={}){return new Oe(r,e).streamSync()}function Lu(r,e={}){return new Oe(r,e).stream()}function Ru(r,e={}){return new Oe(r,e).walkSync()}async function Eu(r,e={}){return new Oe(r,e).walk()}function ri(r,e={}){return new Oe(r,e).iterateSync()}function Tu(r,e={}){return new Oe(r,e).iterate()}var Vv=ti,Yv=Object.assign(Lu,{sync:ti}),Kv=ri,Qv=Object.assign(Tu,{sync:ri}),Jv=Object.assign(Ru,{stream:ti,iterate:ri}),ei=Object.assign(Eu,{glob:Eu,globSync:Ru,sync:Jv,globStream:Lu,stream:Yv,globStreamSync:ti,streamSync:Vv,globIterate:Tu,iterate:Qv,globIterateSync:ri,iterateSync:Kv,Glob:Oe,hasMagic:Js,escape:qt,unescape:Te});ei.glob=ei;var Ms=require("node:fs"),_m=require("node:path");var q=wr(Ch(),1),Do=q.default,dC=q.default.stringify,gC=q.default.fromJSON,mC=q.default.plugin,vC=q.default.parse,yC=q.default.list,wC=q.default.document,bC=q.default.comment,xC=q.default.atRule,IC=q.default.rule,SC=q.default.decl,_C=q.default.root,CC=q.default.CssSyntaxError,EC=q.default.Declaration,LC=q.default.Container,RC=q.default.Processor,TC=q.default.Document,MC=q.default.Comment,FC=q.default.Warning,OC=q.default.AtRule,AC=q.default.Result,kC=q.default.Input,$C=q.default.Rule,PC=q.default.Root,DC=q.default.Node;var Z=wr(Sm());function yl(r){let e=Z.format.printf(({message:a,timestamp:l,metadata:u})=>{let{previousToken:c,nextToken:f,line:h}=u,d=h?`(line ${h})`:"";return`${l} ${a}: ${c} \u2192 ${f} ${d}`}),t=Z.format.printf(({level:a,message:l,timestamp:u,failureReason:c,metadata:f})=>{let{previousToken:h,description:d}=f,p=d||c||"";return`${u} [${a.toUpperCase()}]: ${l}
|
65
65
|
\u21B3 reason: ${h} ${p}`}),n=Z.format.printf(({level:a,message:l,timestamp:u})=>`${u} [${a.toUpperCase()}]: ${l}`),i=(0,Z.format)(a=>{let l=a.metadata;return(l==null?void 0:l.status)==="success"?a:!1}),s=(0,Z.format)(a=>{let l=a.metadata;return(l==null?void 0:l.status)==="failure"||(l==null?void 0:l.status)==="warning"?a:!1}),o=(0,Z.createLogger)({level:"debug",transports:[new Z.transports.File({filename:`.report/${r}-success.log`,format:Z.format.combine(i(),Z.format.timestamp({format:"YYYY-MM-DD HH:mm:ss"}),e)}),new Z.transports.File({filename:`.report/${r}-issues.log`,format:Z.format.combine(s(),Z.format.timestamp({format:"YYYY-MM-DD HH:mm:ss"}),t)}),new Z.transports.File({filename:`.report/${r}-debug.log`,level:"debug",format:Z.format.combine(Z.format.timestamp({format:"YYYY-MM-DD HH:mm:ss"}),n)})]});return{logger:o,logTransformResult(a,l){let{status:u,failureReason:c,needsVerification:f,description:h,previousToken:d,nextToken:p}=l,g=u==="success"?"info":u==="warning"?"warn":"error",v=l.line?`(line: ${l.line})`:"";o.log({level:g,message:`${a} ${v}`,...c&&{failureReason:c},...h&&{description:h},metadata:l}),f&&u==="success"&&o.log({level:"warn",message:`${a} ${v}`,metadata:{previousToken:d,nextToken:p,status:"warning",description:h||"\uC0AC\uC6A9 \uD655\uC778 \uD544\uC694\uD55C \uD1A0\uD070\uC785\uB2C8\uB2E4",needsVerification:!0,line:l.line}})},startFile(a){o.debug(`Starting transformation of ${a}`)},finishFile(a){o.debug(`Finished transformation of ${a}`)}}}function p_(r){return r.replace(/var\(--seed-(semantic|scale|static)-color-([^)]+)\)/g,(e,t,n)=>{try{let i=`$${t}.color.${n}`,s=Os.find(a=>a.previous===i);return!s||!s.next||s.next.length===0?e:`var(--seed-${s.next[0].substring(1).replace(/\./g,"-")})`}catch(i){return console.error(`Error transforming token: ${e}`,i),e}})}var d_={postcssPlugin:"replace-css-color-variable",Declaration(r){if(r.value.includes("var(--seed-semantic-color")||r.value.includes("var(--seed-scale-color")||r.value.includes("var(--seed-static-color")){let e=r.value,t=p_(e);e!==t&&(r.value=t)}}},Cm=(r,e,t)=>{let n=yl("replace-css-color-variable");if(!r.path.endsWith(".css"))return r.source;n.startFile(r.path);try{let i=Do([d_]),s=r.source,a=i.process(s,{from:r.path,parser:Do.parse}).sync().root.toString();return n.finishFile(r.path),a}catch(i){return console.error("Error processing CSS:",i),r.source}};function g_(r,e){let t=yl("replace-css-color-variable"),n=[];for(let o of r)try{if(o.endsWith(".css")){n.push((0,_m.resolve)(o));continue}let a=ei.sync(`${o}/**/*.css`,{ignore:["**/node_modules/**","**/dist/**","**/build/**"]});n=[...n,...a]}catch(a){console.error(`\uACBD\uB85C \uCC98\uB9AC \uC911 \uC624\uB958 \uBC1C\uC0DD: ${o}`,a)}let i=[...new Set(n)];if(i.length===0){console.log("\uBCC0\uD658\uD560 CSS \uD30C\uC77C\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.");return}console.log(`\uCD1D ${i.length}\uAC1C\uC758 CSS \uD30C\uC77C\uC744 \uCC3E\uC558\uC2B5\uB2C8\uB2E4.`);let s=0;for(let o of i)try{let a=(0,Ms.readFileSync)(o,"utf8"),l=Cm({path:o,source:a},null,{});a!==l&&((0,Ms.writeFileSync)(o,l,"utf8"),t.logTransformResult(o,{previousToken:o,nextToken:"transformed",status:"success"}),s++)}catch(a){console.error(`\uD30C\uC77C \uBCC0\uD658 \uC911 \uC624\uB958 \uBC1C\uC0DD: ${o}`,a),t.logTransformResult(o,{previousToken:o,nextToken:null,status:"failure",failureReason:a.message})}console.log(`CSS \uBCC0\uD658 \uC644\uB8CC: \uCD1D ${s}\uAC1C \uD30C\uC77C \uBCC0\uACBD\uB428`)}var m_=Cm;0&&(module.exports={processCssFiles});
|
66
66
|
/*! Bundled license information:
|
67
67
|
|