Comparing version 2.1.9 to 2.1.10
@@ -1,2 +0,2 @@ | ||
/*! idmp v2.1.9 | (c) github/haozi | MIT */ | ||
/*! idmp v2.1.10 | (c) github/haozi | MIT */ | ||
const x = () => { | ||
@@ -3,0 +3,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
/*! idmp v2.1.9 | (c) github/haozi | MIT */ | ||
/*! idmp v2.1.10 | (c) github/haozi | MIT */ | ||
(function(n,f){typeof exports=="object"&&typeof module!="undefined"?f(exports):typeof define=="function"&&define.amd?define(["exports"],f):(n=typeof globalThis!="undefined"?globalThis:n||self,f(n.idmp={}))})(this,function(n){"use strict";const g=()=>{},l=e=>e<0?0:e>6048e5?6048e5:e;n.g={};const a=e=>{const{maxRetry:i=30,maxAge:u=3e3,onBeforeRetry:c=g}=e||{},m=l(u);return{maxRetry:i,maxAge:m,onBeforeRetry:c,f:u===1/0}},r=e=>{e&&(n.g[e]=void 0)},_=()=>{n.g={}},h=(e,i,u)=>{if(!e)return i();const{maxRetry:c,maxAge:m,onBeforeRetry:p,f:R}=a(u);n.g[e]=n.g[e]||{0:0,1:0,4:[]};const t=n.g[e],T=()=>{t[1]=0,t[2]=void 0,t[3]=void 0},M=()=>{const o=t[4].length;for(let s=0;s<o;++s)t[4][s][0](t[2]);t[4]=[],R||setTimeout(()=>{r(e)},m)},y=()=>{const o=t[4].length-c;for(let s=0;s<o;++s)t[4][s][1](t[3]);r(e)},A=()=>new Promise((o,s)=>{if(!t[5]&&(t[5]=i),t[2]){o(t[2]);return}t[1]===0?(t[1]=1,t[4].push([o,s]),t[5]().then(d=>{t[2]=d,M(),t[1]=4}).catch(d=>{t[1]=3,t[3]=d,++t[0],t[0]>c?y():(p(d,{globalKey:e,retryCount:t[0]}),T(),setTimeout(A,(t[0]-1)*50))})):t[1]===1&&t[4].push([o,s])});return A()};h.flush=r,h.flushAll=_,n.default=h,n.getOptions=a,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}); |
@@ -1,2 +0,2 @@ | ||
/*! idmp v2.1.9 | (c) github/haozi | MIT */ | ||
/*! idmp v2.1.10 | (c) github/haozi | MIT */ | ||
const DEFAULT_MAX_AGE = 3e3; | ||
@@ -3,0 +3,0 @@ const _7days = 6048e5; |
@@ -1,2 +0,2 @@ | ||
/*! idmp v2.1.9 | (c) github/haozi | MIT */ | ||
/*! idmp v2.1.10 | (c) github/haozi | MIT */ | ||
const DEFAULT_MAX_AGE = 3e3; | ||
@@ -3,0 +3,0 @@ const _7days = 6048e5; |
{ | ||
"name": "idmp", | ||
"version": "2.1.9", | ||
"version": "2.1.10", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "deduplicate network requests", |
@@ -18,3 +18,3 @@ /*! idmp v1.0.0 | (c) github/haozi | MIT */ | ||
}); | ||
/*! idmp v2.1.9 | (c) github/haozi | MIT */ | ||
/*! idmp v2.1.10 | (c) github/haozi | MIT */ | ||
const h = () => { | ||
@@ -21,0 +21,0 @@ }, l = (r) => r < 0 ? 0 : r > 6048e5 ? 6048e5 : r, m = (r) => { |
/*! idmp v1.0.0 | (c) github/haozi | MIT */ | ||
(function(a,u){typeof exports=="object"&&typeof module!="undefined"?u(exports):typeof define=="function"&&define.amd?define(["exports"],u):(a=typeof globalThis!="undefined"?globalThis:a||self,u(a.idmp={}))})(this,function(a){"use strict";var D=(a,u,i)=>new Promise((m,h)=>{var g=c=>{try{s(i.next(c))}catch(d){h(d)}},A=c=>{try{s(i.throw(c))}catch(d){h(d)}},s=c=>c.done?m(c.value):Promise.resolve(c.value).then(g,A);s((i=i.apply(a,u)).next())});/*! idmp v2.1.9 | (c) github/haozi | MIT */const m=()=>{},h=n=>n<0?0:n>6048e5?6048e5:n,g=n=>{const{maxRetry:o=30,maxAge:e=3e3,onBeforeRetry:r=m}=n||{},t=h(e);return{maxRetry:o,maxAge:t,onBeforeRetry:r,f:e===1/0}},s=n=>`@idmp/v1/${n}`,c=n=>{let o;try{o=window[n]}catch(e){}return{get:e=>{if(!e)return;const r=s(e);let t;try{if(t=JSON.parse(o[r]),t===void 0)return;const{t:f,a:l,d:y}=t;if(Date.now()-f>l){o.removeItem(r);return}return y}catch(f){}},set:(e,r,t)=>{if(!e)return;const f=s(e);try{o[f]=JSON.stringify({t:Date.now(),a:t,d:r})}catch(l){}},remove:e=>{if(e)try{const r=s(e);o.removeItem(r)}catch(r){}},clear:()=>{try{o.clear()}catch(e){}}}},d=(n,o="sessionStorage")=>{const e=c(o),r=(t,f,l)=>{const y=g(l);return n(t,()=>D(this,null,function*(){const v=e.get(t);if(v!==void 0)return v;const p=yield f();return p!==void 0&&e.set(t,p,y.maxAge),p}),l)};return r.flush=t=>{n.flush(t),e.remove(t)},r.flushAll=()=>{n.flushAll(),e.clear()},r};a.default=d,a.getCacheKey=s,Object.defineProperties(a,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}); | ||
(function(a,u){typeof exports=="object"&&typeof module!="undefined"?u(exports):typeof define=="function"&&define.amd?define(["exports"],u):(a=typeof globalThis!="undefined"?globalThis:a||self,u(a.idmp={}))})(this,function(a){"use strict";var D=(a,u,i)=>new Promise((m,h)=>{var g=c=>{try{s(i.next(c))}catch(d){h(d)}},A=c=>{try{s(i.throw(c))}catch(d){h(d)}},s=c=>c.done?m(c.value):Promise.resolve(c.value).then(g,A);s((i=i.apply(a,u)).next())});/*! idmp v2.1.10 | (c) github/haozi | MIT */const m=()=>{},h=n=>n<0?0:n>6048e5?6048e5:n,g=n=>{const{maxRetry:o=30,maxAge:e=3e3,onBeforeRetry:r=m}=n||{},t=h(e);return{maxRetry:o,maxAge:t,onBeforeRetry:r,f:e===1/0}},s=n=>`@idmp/v1/${n}`,c=n=>{let o;try{o=window[n]}catch(e){}return{get:e=>{if(!e)return;const r=s(e);let t;try{if(t=JSON.parse(o[r]),t===void 0)return;const{t:f,a:l,d:y}=t;if(Date.now()-f>l){o.removeItem(r);return}return y}catch(f){}},set:(e,r,t)=>{if(!e)return;const f=s(e);try{o[f]=JSON.stringify({t:Date.now(),a:t,d:r})}catch(l){}},remove:e=>{if(e)try{const r=s(e);o.removeItem(r)}catch(r){}},clear:()=>{try{o.clear()}catch(e){}}}},d=(n,o="sessionStorage")=>{const e=c(o),r=(t,f,l)=>{const y=g(l);return n(t,()=>D(this,null,function*(){const v=e.get(t);if(v!==void 0)return v;const p=yield f();return p!==void 0&&e.set(t,p,y.maxAge),p}),l)};return r.flush=t=>{n.flush(t),e.remove(t)},r.flushAll=()=>{n.flushAll(),e.clear()},r};a.default=d,a.getCacheKey=s,Object.defineProperties(a,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}); |
@@ -22,3 +22,3 @@ /*! idmp v1.0.0 | (c) github/haozi | MIT */ | ||
}; | ||
/*! idmp v2.1.9 | (c) github/haozi | MIT */ | ||
/*! idmp v2.1.10 | (c) github/haozi | MIT */ | ||
const DEFAULT_MAX_AGE = 3e3; | ||
@@ -25,0 +25,0 @@ const _7days = 6048e5; |
@@ -22,3 +22,3 @@ /*! idmp v1.0.0 | (c) github/haozi | MIT */ | ||
}; | ||
/*! idmp v2.1.9 | (c) github/haozi | MIT */ | ||
/*! idmp v2.1.10 | (c) github/haozi | MIT */ | ||
const DEFAULT_MAX_AGE = 3e3; | ||
@@ -25,0 +25,0 @@ const _7days = 6048e5; |
@@ -29,3 +29,3 @@ /*! idmp v1.0.0 | (c) github/haozi | MIT */ | ||
}); | ||
/*! idmp v2.1.9 | (c) github/haozi | MIT */ | ||
/*! idmp v2.1.10 | (c) github/haozi | MIT */ | ||
const Gt = () => { | ||
@@ -32,0 +32,0 @@ }, Yt = (e) => e < 0 ? 0 : e > 6048e5 ? 6048e5 : e, Vt = (e) => { |
/*! idmp v1.0.0 | (c) github/haozi | MIT */ | ||
(function(j,A){typeof exports=="object"&&typeof module!="undefined"?A(exports):typeof define=="function"&&define.amd?define(["exports"],A):(j=typeof globalThis!="undefined"?globalThis:j||self,A(j.idmp={}))})(this,function(j){"use strict";var Ur=Object.defineProperty;var Wt=Object.getOwnPropertySymbols;var Jr=Object.prototype.hasOwnProperty,Wr=Object.prototype.propertyIsEnumerable;var zt=(j,A,z)=>A in j?Ur(j,A,{enumerable:!0,configurable:!0,writable:!0,value:z}):j[A]=z,X=(j,A)=>{for(var z in A||(A={}))Jr.call(A,z)&&zt(j,z,A[z]);if(Wt)for(var z of Wt(A))Wr.call(A,z)&&zt(j,z,A[z]);return j};var $=(j,A,z)=>new Promise((Se,le)=>{var _e=V=>{try{ie(z.next(V))}catch(oe){le(oe)}},ge=V=>{try{ie(z.throw(V))}catch(oe){le(oe)}},ie=V=>V.done?Se(V.value):Promise.resolve(V.value).then(_e,ge);ie((z=z.apply(j,A)).next())});/*! idmp v2.1.9 | (c) github/haozi | MIT */const Se=()=>{},le=e=>e<0?0:e>6048e5?6048e5:e,_e=e=>{const{maxRetry:n=30,maxAge:i=3e3,onBeforeRetry:a=Se}=e||{},c=le(i);return{maxRetry:n,maxAge:c,onBeforeRetry:a,f:i===1/0}},ge=new Proxy({},{get(e,n){throw new Error(`Module "node:os" has been externalized for browser compatibility. Cannot access "node:os.${n}" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)}}),ie=new Proxy({},{get(e,n){throw new Error(`Module "node:path" has been externalized for browser compatibility. Cannot access "node:path.${n}" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)}});var V=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function oe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function re(e){if(e.__esModule)return e;var n=e.default;if(typeof n=="function"){var i=function a(){return this instanceof a?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};i.prototype=n.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(e).forEach(function(a){var c=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(i,a,c.get?c:{enumerable:!0,get:function(){return e[a]}})}),i}var Ee={},ye={},ot;function I(){return ot||(ot=1,ye.fromCallback=function(e){return Object.defineProperty(function(...n){if(typeof n[n.length-1]=="function")e.apply(this,n);else return new Promise((i,a)=>{n.push((c,f)=>c!=null?a(c):i(f)),e.apply(this,n)})},"name",{value:e.name})},ye.fromPromise=function(e){return Object.defineProperty(function(...n){const i=n[n.length-1];if(typeof i!="function")return e.apply(this,n);n.pop(),e.apply(this,n).then(a=>i(null,a),i)},"name",{value:e.name})}),ye}const Gt=new Proxy({},{get(e,n){throw new Error(`Module "fs" has been externalized for browser compatibility. Cannot access "fs.${n}" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)}}),at=re(Object.freeze(Object.defineProperty({__proto__:null,default:Gt},Symbol.toStringTag,{value:"Module"}))),Yt=new Proxy({},{get(e,n){throw new Error(`Module "constants" has been externalized for browser compatibility. Cannot access "constants.${n}" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)}}),Vt=re(Object.freeze(Object.defineProperty({__proto__:null,default:Yt},Symbol.toStringTag,{value:"Module"})));var be,ct;function Xt(){if(ct)return be;ct=1;var e=Vt,n=process.cwd,i=null,a=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return i||(i=n.call(process)),i};try{process.cwd()}catch(r){}if(typeof process.chdir=="function"){var c=process.chdir;process.chdir=function(r){i=null,c.call(process,r)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,c)}be=f;function f(r){e.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&w(r),r.lutimes||h(r),r.chown=v(r.chown),r.fchown=v(r.fchown),r.lchown=v(r.lchown),r.chmod=m(r.chmod),r.fchmod=m(r.fchmod),r.lchmod=m(r.lchmod),r.chownSync=u(r.chownSync),r.fchownSync=u(r.fchownSync),r.lchownSync=u(r.lchownSync),r.chmodSync=b(r.chmodSync),r.fchmodSync=b(r.fchmodSync),r.lchmodSync=b(r.lchmodSync),r.stat=s(r.stat),r.fstat=s(r.fstat),r.lstat=s(r.lstat),r.statSync=_(r.statSync),r.fstatSync=_(r.fstatSync),r.lstatSync=_(r.lstatSync),r.chmod&&!r.lchmod&&(r.lchmod=function(t,o,l){l&&process.nextTick(l)},r.lchmodSync=function(){}),r.chown&&!r.lchown&&(r.lchown=function(t,o,l,d){d&&process.nextTick(d)},r.lchownSync=function(){}),a==="win32"&&(r.rename=typeof r.rename!="function"?r.rename:function(t){function o(l,d,g){var p=Date.now(),E=0;t(l,d,function S(k){if(k&&(k.code==="EACCES"||k.code==="EPERM"||k.code==="EBUSY")&&Date.now()-p<6e4){setTimeout(function(){r.stat(d,function(P,x){P&&P.code==="ENOENT"?t(l,d,S):g(k)})},E),E<100&&(E+=10);return}g&&g(k)})}return Object.setPrototypeOf&&Object.setPrototypeOf(o,t),o}(r.rename)),r.read=typeof r.read!="function"?r.read:function(t){function o(l,d,g,p,E,S){var k;if(S&&typeof S=="function"){var P=0;k=function(x,Z,K){if(x&&x.code==="EAGAIN"&&P<10)return P++,t.call(r,l,d,g,p,E,k);S.apply(this,arguments)}}return t.call(r,l,d,g,p,E,k)}return Object.setPrototypeOf&&Object.setPrototypeOf(o,t),o}(r.read),r.readSync=typeof r.readSync!="function"?r.readSync:function(t){return function(o,l,d,g,p){for(var E=0;;)try{return t.call(r,o,l,d,g,p)}catch(S){if(S.code==="EAGAIN"&&E<10){E++;continue}throw S}}}(r.readSync);function w(t){t.lchmod=function(o,l,d){t.open(o,e.O_WRONLY|e.O_SYMLINK,l,function(g,p){if(g){d&&d(g);return}t.fchmod(p,l,function(E){t.close(p,function(S){d&&d(E||S)})})})},t.lchmodSync=function(o,l){var d=t.openSync(o,e.O_WRONLY|e.O_SYMLINK,l),g=!0,p;try{p=t.fchmodSync(d,l),g=!1}finally{if(g)try{t.closeSync(d)}catch(E){}else t.closeSync(d)}return p}}function h(t){e.hasOwnProperty("O_SYMLINK")&&t.futimes?(t.lutimes=function(o,l,d,g){t.open(o,e.O_SYMLINK,function(p,E){if(p){g&&g(p);return}t.futimes(E,l,d,function(S){t.close(E,function(k){g&&g(S||k)})})})},t.lutimesSync=function(o,l,d){var g=t.openSync(o,e.O_SYMLINK),p,E=!0;try{p=t.futimesSync(g,l,d),E=!1}finally{if(E)try{t.closeSync(g)}catch(S){}else t.closeSync(g)}return p}):t.futimes&&(t.lutimes=function(o,l,d,g){g&&process.nextTick(g)},t.lutimesSync=function(){})}function m(t){return t&&function(o,l,d){return t.call(r,o,l,function(g){y(g)&&(g=null),d&&d.apply(this,arguments)})}}function b(t){return t&&function(o,l){try{return t.call(r,o,l)}catch(d){if(!y(d))throw d}}}function v(t){return t&&function(o,l,d,g){return t.call(r,o,l,d,function(p){y(p)&&(p=null),g&&g.apply(this,arguments)})}}function u(t){return t&&function(o,l,d){try{return t.call(r,o,l,d)}catch(g){if(!y(g))throw g}}}function s(t){return t&&function(o,l,d){typeof l=="function"&&(d=l,l=null);function g(p,E){E&&(E.uid<0&&(E.uid+=4294967296),E.gid<0&&(E.gid+=4294967296)),d&&d.apply(this,arguments)}return l?t.call(r,o,l,g):t.call(r,o,g)}}function _(t){return t&&function(o,l){var d=l?t.call(r,o,l):t.call(r,o);return d&&(d.uid<0&&(d.uid+=4294967296),d.gid<0&&(d.gid+=4294967296)),d}}function y(t){if(!t||t.code==="ENOSYS")return!0;var o=!process.getuid||process.getuid()!==0;return!!(o&&(t.code==="EINVAL"||t.code==="EPERM"))}}return be}const Ht=new Proxy({},{get(e,n){throw new Error(`Module "stream" has been externalized for browser compatibility. Cannot access "stream.${n}" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)}}),Kt=re(Object.freeze(Object.defineProperty({__proto__:null,default:Ht},Symbol.toStringTag,{value:"Module"})));var ke,ut;function Qt(){if(ut)return ke;ut=1;var e=Kt.Stream;ke=n;function n(i){return{ReadStream:a,WriteStream:c};function a(f,r){if(!(this instanceof a))return new a(f,r);e.call(this);var w=this;this.path=f,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,r=r||{};for(var h=Object.keys(r),m=0,b=h.length;m<b;m++){var v=h[m];this[v]=r[v]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){w._read()});return}i.open(this.path,this.flags,this.mode,function(u,s){if(u){w.emit("error",u),w.readable=!1;return}w.fd=s,w.emit("open",s),w._read()})}function c(f,r){if(!(this instanceof c))return new c(f,r);e.call(this),this.path=f,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,r=r||{};for(var w=Object.keys(r),h=0,m=w.length;h<m;h++){var b=w[h];this[b]=r[b]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=i.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}return ke}var Fe,st;function Zt(){if(st)return Fe;st=1,Fe=n;var e=Object.getPrototypeOf||function(i){return i.__proto__};function n(i){if(i===null||typeof i!="object")return i;if(i instanceof Object)var a={__proto__:e(i)};else var a=Object.create(null);return Object.getOwnPropertyNames(i).forEach(function(c){Object.defineProperty(a,c,Object.getOwnPropertyDescriptor(i,c))}),a}return Fe}const er=new Proxy({},{get(e,n){throw new Error(`Module "util" has been externalized for browser compatibility. Cannot access "util.${n}" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)}}),tr=re(Object.freeze(Object.defineProperty({__proto__:null,default:er},Symbol.toStringTag,{value:"Module"}))),rr=new Proxy({},{get(e,n){throw new Error(`Module "assert" has been externalized for browser compatibility. Cannot access "assert.${n}" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)}}),nr=re(Object.freeze(Object.defineProperty({__proto__:null,default:rr},Symbol.toStringTag,{value:"Module"})));var me,ft;function se(){if(ft)return me;ft=1;var e=at,n=Xt(),i=Qt(),a=Zt(),c=tr,f,r;typeof Symbol=="function"&&typeof Symbol.for=="function"?(f=Symbol.for("graceful-fs.queue"),r=Symbol.for("graceful-fs.previous")):(f="___graceful-fs.queue",r="___graceful-fs.previous");function w(){}function h(t,o){Object.defineProperty(t,f,{get:function(){return o}})}var m=w;if(c.debuglog?m=c.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(m=function(){var t=c.format.apply(c,arguments);t="GFS4: "+t.split(/\n/).join(` | ||
(function(j,A){typeof exports=="object"&&typeof module!="undefined"?A(exports):typeof define=="function"&&define.amd?define(["exports"],A):(j=typeof globalThis!="undefined"?globalThis:j||self,A(j.idmp={}))})(this,function(j){"use strict";var Ur=Object.defineProperty;var Wt=Object.getOwnPropertySymbols;var Jr=Object.prototype.hasOwnProperty,Wr=Object.prototype.propertyIsEnumerable;var zt=(j,A,z)=>A in j?Ur(j,A,{enumerable:!0,configurable:!0,writable:!0,value:z}):j[A]=z,X=(j,A)=>{for(var z in A||(A={}))Jr.call(A,z)&&zt(j,z,A[z]);if(Wt)for(var z of Wt(A))Wr.call(A,z)&&zt(j,z,A[z]);return j};var $=(j,A,z)=>new Promise((Se,le)=>{var _e=V=>{try{ie(z.next(V))}catch(oe){le(oe)}},ge=V=>{try{ie(z.throw(V))}catch(oe){le(oe)}},ie=V=>V.done?Se(V.value):Promise.resolve(V.value).then(_e,ge);ie((z=z.apply(j,A)).next())});/*! idmp v2.1.10 | (c) github/haozi | MIT */const Se=()=>{},le=e=>e<0?0:e>6048e5?6048e5:e,_e=e=>{const{maxRetry:n=30,maxAge:i=3e3,onBeforeRetry:a=Se}=e||{},c=le(i);return{maxRetry:n,maxAge:c,onBeforeRetry:a,f:i===1/0}},ge=new Proxy({},{get(e,n){throw new Error(`Module "node:os" has been externalized for browser compatibility. Cannot access "node:os.${n}" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)}}),ie=new Proxy({},{get(e,n){throw new Error(`Module "node:path" has been externalized for browser compatibility. Cannot access "node:path.${n}" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)}});var V=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function oe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function re(e){if(e.__esModule)return e;var n=e.default;if(typeof n=="function"){var i=function a(){return this instanceof a?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};i.prototype=n.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(e).forEach(function(a){var c=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(i,a,c.get?c:{enumerable:!0,get:function(){return e[a]}})}),i}var Ee={},ye={},ot;function I(){return ot||(ot=1,ye.fromCallback=function(e){return Object.defineProperty(function(...n){if(typeof n[n.length-1]=="function")e.apply(this,n);else return new Promise((i,a)=>{n.push((c,f)=>c!=null?a(c):i(f)),e.apply(this,n)})},"name",{value:e.name})},ye.fromPromise=function(e){return Object.defineProperty(function(...n){const i=n[n.length-1];if(typeof i!="function")return e.apply(this,n);n.pop(),e.apply(this,n).then(a=>i(null,a),i)},"name",{value:e.name})}),ye}const Gt=new Proxy({},{get(e,n){throw new Error(`Module "fs" has been externalized for browser compatibility. Cannot access "fs.${n}" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)}}),at=re(Object.freeze(Object.defineProperty({__proto__:null,default:Gt},Symbol.toStringTag,{value:"Module"}))),Yt=new Proxy({},{get(e,n){throw new Error(`Module "constants" has been externalized for browser compatibility. Cannot access "constants.${n}" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)}}),Vt=re(Object.freeze(Object.defineProperty({__proto__:null,default:Yt},Symbol.toStringTag,{value:"Module"})));var be,ct;function Xt(){if(ct)return be;ct=1;var e=Vt,n=process.cwd,i=null,a=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return i||(i=n.call(process)),i};try{process.cwd()}catch(r){}if(typeof process.chdir=="function"){var c=process.chdir;process.chdir=function(r){i=null,c.call(process,r)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,c)}be=f;function f(r){e.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&w(r),r.lutimes||h(r),r.chown=v(r.chown),r.fchown=v(r.fchown),r.lchown=v(r.lchown),r.chmod=m(r.chmod),r.fchmod=m(r.fchmod),r.lchmod=m(r.lchmod),r.chownSync=u(r.chownSync),r.fchownSync=u(r.fchownSync),r.lchownSync=u(r.lchownSync),r.chmodSync=b(r.chmodSync),r.fchmodSync=b(r.fchmodSync),r.lchmodSync=b(r.lchmodSync),r.stat=s(r.stat),r.fstat=s(r.fstat),r.lstat=s(r.lstat),r.statSync=_(r.statSync),r.fstatSync=_(r.fstatSync),r.lstatSync=_(r.lstatSync),r.chmod&&!r.lchmod&&(r.lchmod=function(t,o,l){l&&process.nextTick(l)},r.lchmodSync=function(){}),r.chown&&!r.lchown&&(r.lchown=function(t,o,l,d){d&&process.nextTick(d)},r.lchownSync=function(){}),a==="win32"&&(r.rename=typeof r.rename!="function"?r.rename:function(t){function o(l,d,g){var p=Date.now(),E=0;t(l,d,function S(k){if(k&&(k.code==="EACCES"||k.code==="EPERM"||k.code==="EBUSY")&&Date.now()-p<6e4){setTimeout(function(){r.stat(d,function(P,x){P&&P.code==="ENOENT"?t(l,d,S):g(k)})},E),E<100&&(E+=10);return}g&&g(k)})}return Object.setPrototypeOf&&Object.setPrototypeOf(o,t),o}(r.rename)),r.read=typeof r.read!="function"?r.read:function(t){function o(l,d,g,p,E,S){var k;if(S&&typeof S=="function"){var P=0;k=function(x,Z,K){if(x&&x.code==="EAGAIN"&&P<10)return P++,t.call(r,l,d,g,p,E,k);S.apply(this,arguments)}}return t.call(r,l,d,g,p,E,k)}return Object.setPrototypeOf&&Object.setPrototypeOf(o,t),o}(r.read),r.readSync=typeof r.readSync!="function"?r.readSync:function(t){return function(o,l,d,g,p){for(var E=0;;)try{return t.call(r,o,l,d,g,p)}catch(S){if(S.code==="EAGAIN"&&E<10){E++;continue}throw S}}}(r.readSync);function w(t){t.lchmod=function(o,l,d){t.open(o,e.O_WRONLY|e.O_SYMLINK,l,function(g,p){if(g){d&&d(g);return}t.fchmod(p,l,function(E){t.close(p,function(S){d&&d(E||S)})})})},t.lchmodSync=function(o,l){var d=t.openSync(o,e.O_WRONLY|e.O_SYMLINK,l),g=!0,p;try{p=t.fchmodSync(d,l),g=!1}finally{if(g)try{t.closeSync(d)}catch(E){}else t.closeSync(d)}return p}}function h(t){e.hasOwnProperty("O_SYMLINK")&&t.futimes?(t.lutimes=function(o,l,d,g){t.open(o,e.O_SYMLINK,function(p,E){if(p){g&&g(p);return}t.futimes(E,l,d,function(S){t.close(E,function(k){g&&g(S||k)})})})},t.lutimesSync=function(o,l,d){var g=t.openSync(o,e.O_SYMLINK),p,E=!0;try{p=t.futimesSync(g,l,d),E=!1}finally{if(E)try{t.closeSync(g)}catch(S){}else t.closeSync(g)}return p}):t.futimes&&(t.lutimes=function(o,l,d,g){g&&process.nextTick(g)},t.lutimesSync=function(){})}function m(t){return t&&function(o,l,d){return t.call(r,o,l,function(g){y(g)&&(g=null),d&&d.apply(this,arguments)})}}function b(t){return t&&function(o,l){try{return t.call(r,o,l)}catch(d){if(!y(d))throw d}}}function v(t){return t&&function(o,l,d,g){return t.call(r,o,l,d,function(p){y(p)&&(p=null),g&&g.apply(this,arguments)})}}function u(t){return t&&function(o,l,d){try{return t.call(r,o,l,d)}catch(g){if(!y(g))throw g}}}function s(t){return t&&function(o,l,d){typeof l=="function"&&(d=l,l=null);function g(p,E){E&&(E.uid<0&&(E.uid+=4294967296),E.gid<0&&(E.gid+=4294967296)),d&&d.apply(this,arguments)}return l?t.call(r,o,l,g):t.call(r,o,g)}}function _(t){return t&&function(o,l){var d=l?t.call(r,o,l):t.call(r,o);return d&&(d.uid<0&&(d.uid+=4294967296),d.gid<0&&(d.gid+=4294967296)),d}}function y(t){if(!t||t.code==="ENOSYS")return!0;var o=!process.getuid||process.getuid()!==0;return!!(o&&(t.code==="EINVAL"||t.code==="EPERM"))}}return be}const Ht=new Proxy({},{get(e,n){throw new Error(`Module "stream" has been externalized for browser compatibility. Cannot access "stream.${n}" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)}}),Kt=re(Object.freeze(Object.defineProperty({__proto__:null,default:Ht},Symbol.toStringTag,{value:"Module"})));var ke,ut;function Qt(){if(ut)return ke;ut=1;var e=Kt.Stream;ke=n;function n(i){return{ReadStream:a,WriteStream:c};function a(f,r){if(!(this instanceof a))return new a(f,r);e.call(this);var w=this;this.path=f,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,r=r||{};for(var h=Object.keys(r),m=0,b=h.length;m<b;m++){var v=h[m];this[v]=r[v]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){w._read()});return}i.open(this.path,this.flags,this.mode,function(u,s){if(u){w.emit("error",u),w.readable=!1;return}w.fd=s,w.emit("open",s),w._read()})}function c(f,r){if(!(this instanceof c))return new c(f,r);e.call(this),this.path=f,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,r=r||{};for(var w=Object.keys(r),h=0,m=w.length;h<m;h++){var b=w[h];this[b]=r[b]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=i.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}return ke}var Fe,st;function Zt(){if(st)return Fe;st=1,Fe=n;var e=Object.getPrototypeOf||function(i){return i.__proto__};function n(i){if(i===null||typeof i!="object")return i;if(i instanceof Object)var a={__proto__:e(i)};else var a=Object.create(null);return Object.getOwnPropertyNames(i).forEach(function(c){Object.defineProperty(a,c,Object.getOwnPropertyDescriptor(i,c))}),a}return Fe}const er=new Proxy({},{get(e,n){throw new Error(`Module "util" has been externalized for browser compatibility. Cannot access "util.${n}" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)}}),tr=re(Object.freeze(Object.defineProperty({__proto__:null,default:er},Symbol.toStringTag,{value:"Module"}))),rr=new Proxy({},{get(e,n){throw new Error(`Module "assert" has been externalized for browser compatibility. Cannot access "assert.${n}" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)}}),nr=re(Object.freeze(Object.defineProperty({__proto__:null,default:rr},Symbol.toStringTag,{value:"Module"})));var me,ft;function se(){if(ft)return me;ft=1;var e=at,n=Xt(),i=Qt(),a=Zt(),c=tr,f,r;typeof Symbol=="function"&&typeof Symbol.for=="function"?(f=Symbol.for("graceful-fs.queue"),r=Symbol.for("graceful-fs.previous")):(f="___graceful-fs.queue",r="___graceful-fs.previous");function w(){}function h(t,o){Object.defineProperty(t,f,{get:function(){return o}})}var m=w;if(c.debuglog?m=c.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(m=function(){var t=c.format.apply(c,arguments);t="GFS4: "+t.split(/\n/).join(` | ||
GFS4: `),console.error(t)}),!e[f]){var b=V[f]||[];h(e,b),e.close=function(t){function o(l,d){return t.call(e,l,function(g){g||_(),typeof d=="function"&&d.apply(this,arguments)})}return Object.defineProperty(o,r,{value:t}),o}(e.close),e.closeSync=function(t){function o(l){t.apply(e,arguments),_()}return Object.defineProperty(o,r,{value:t}),o}(e.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){m(e[f]),nr.equal(e[f].length,0)})}V[f]||h(V,e[f]),me=v(a(e)),process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!e.__patched&&(me=v(e),e.__patched=!0);function v(t){n(t),t.gracefulify=v,t.createReadStream=Br,t.createWriteStream=Ar;var o=t.readFile;t.readFile=l;function l(F,R,D){return typeof R=="function"&&(D=R,R=null),U(F,R,D);function U(J,B,T,L){return o(J,B,function(q){q&&(q.code==="EMFILE"||q.code==="ENFILE")?u([U,[J,B,T],q,L||Date.now(),Date.now()]):typeof T=="function"&&T.apply(this,arguments)})}}var d=t.writeFile;t.writeFile=g;function g(F,R,D,U){return typeof D=="function"&&(U=D,D=null),J(F,R,D,U);function J(B,T,L,q,W){return d(B,T,L,function(N){N&&(N.code==="EMFILE"||N.code==="ENFILE")?u([J,[B,T,L,q],N,W||Date.now(),Date.now()]):typeof q=="function"&&q.apply(this,arguments)})}}var p=t.appendFile;p&&(t.appendFile=E);function E(F,R,D,U){return typeof D=="function"&&(U=D,D=null),J(F,R,D,U);function J(B,T,L,q,W){return p(B,T,L,function(N){N&&(N.code==="EMFILE"||N.code==="ENFILE")?u([J,[B,T,L,q],N,W||Date.now(),Date.now()]):typeof q=="function"&&q.apply(this,arguments)})}}var S=t.copyFile;S&&(t.copyFile=k);function k(F,R,D,U){return typeof D=="function"&&(U=D,D=0),J(F,R,D,U);function J(B,T,L,q,W){return S(B,T,L,function(N){N&&(N.code==="EMFILE"||N.code==="ENFILE")?u([J,[B,T,L,q],N,W||Date.now(),Date.now()]):typeof q=="function"&&q.apply(this,arguments)})}}var P=t.readdir;t.readdir=Z;var x=/^v[0-5]\./;function Z(F,R,D){typeof R=="function"&&(D=R,R=null);var U=x.test(process.version)?function(T,L,q,W){return P(T,J(T,L,q,W))}:function(T,L,q,W){return P(T,L,J(T,L,q,W))};return U(F,R,D);function J(B,T,L,q){return function(W,N){W&&(W.code==="EMFILE"||W.code==="ENFILE")?u([U,[B,T,L],W,q||Date.now(),Date.now()]):(N&&N.sort&&N.sort(),typeof L=="function"&&L.call(this,W,N))}}}if(process.version.substr(0,4)==="v0.8"){var K=i(t);G=K.ReadStream,te=K.WriteStream}var ee=t.ReadStream;ee&&(G.prototype=Object.create(ee.prototype),G.prototype.open=fe);var M=t.WriteStream;M&&(te.prototype=Object.create(M.prototype),te.prototype.open=jr),Object.defineProperty(t,"ReadStream",{get:function(){return G},set:function(F){G=F},enumerable:!0,configurable:!0}),Object.defineProperty(t,"WriteStream",{get:function(){return te},set:function(F){te=F},enumerable:!0,configurable:!0});var O=G;Object.defineProperty(t,"FileReadStream",{get:function(){return O},set:function(F){O=F},enumerable:!0,configurable:!0});var C=te;Object.defineProperty(t,"FileWriteStream",{get:function(){return C},set:function(F){C=F},enumerable:!0,configurable:!0});function G(F,R){return this instanceof G?(ee.apply(this,arguments),this):G.apply(Object.create(G.prototype),arguments)}function fe(){var F=this;it(F.path,F.flags,F.mode,function(R,D){R?(F.autoClose&&F.destroy(),F.emit("error",R)):(F.fd=D,F.emit("open",D),F.read())})}function te(F,R){return this instanceof te?(M.apply(this,arguments),this):te.apply(Object.create(te.prototype),arguments)}function jr(){var F=this;it(F.path,F.flags,F.mode,function(R,D){R?(F.destroy(),F.emit("error",R)):(F.fd=D,F.emit("open",D))})}function Br(F,R){return new t.ReadStream(F,R)}function Ar(F,R){return new t.WriteStream(F,R)}var Ir=t.open;t.open=it;function it(F,R,D,U){return typeof D=="function"&&(U=D,D=null),J(F,R,D,U);function J(B,T,L,q,W){return Ir(B,T,L,function(N,Qr){N&&(N.code==="EMFILE"||N.code==="ENFILE")?u([J,[B,T,L,q],N,W||Date.now(),Date.now()]):typeof q=="function"&&q.apply(this,arguments)})}}return t}function u(t){m("ENQUEUE",t[0].name,t[1]),e[f].push(t),y()}var s;function _(){for(var t=Date.now(),o=0;o<e[f].length;++o)e[f][o].length>2&&(e[f][o][3]=t,e[f][o][4]=t);y()}function y(){if(clearTimeout(s),s=void 0,e[f].length!==0){var t=e[f].shift(),o=t[0],l=t[1],d=t[2],g=t[3],p=t[4];if(g===void 0)m("RETRY",o.name,l),o.apply(null,l);else if(Date.now()-g>=6e4){m("TIMEOUT",o.name,l);var E=l.pop();typeof E=="function"&&E.call(null,d)}else{var S=Date.now()-p,k=Math.max(p-g,1),P=Math.min(k*1.2,100);S>=P?(m("RETRY",o.name,l),o.apply(null,l.concat([g]))):e[f].push(t)}s===void 0&&(s=setTimeout(y,0))}}return me}var lt;function Y(){return lt||(lt=1,function(e){const n=I().fromCallback,i=se(),a=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter(c=>typeof i[c]=="function");Object.assign(e,i),a.forEach(c=>{e[c]=n(i[c])}),e.exists=function(c,f){return typeof f=="function"?i.exists(c,f):new Promise(r=>i.exists(c,r))},e.read=function(c,f,r,w,h,m){return typeof m=="function"?i.read(c,f,r,w,h,m):new Promise((b,v)=>{i.read(c,f,r,w,h,(u,s,_)=>{if(u)return v(u);b({bytesRead:s,buffer:_})})})},e.write=function(c,f,...r){return typeof r[r.length-1]=="function"?i.write(c,f,...r):new Promise((w,h)=>{i.write(c,f,...r,(m,b,v)=>{if(m)return h(m);w({bytesWritten:b,buffer:v})})})},e.readv=function(c,f,...r){return typeof r[r.length-1]=="function"?i.readv(c,f,...r):new Promise((w,h)=>{i.readv(c,f,...r,(m,b,v)=>{if(m)return h(m);w({bytesRead:b,buffers:v})})})},e.writev=function(c,f,...r){return typeof r[r.length-1]=="function"?i.writev(c,f,...r):new Promise((w,h)=>{i.writev(c,f,...r,(m,b,v)=>{if(m)return h(m);w({bytesWritten:b,buffers:v})})})},typeof i.realpath.native=="function"?e.realpath.native=n(i.realpath.native):process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?","Warning","fs-extra-WARN0003")}(Ee)),Ee}const ir=new Proxy({},{get(e,n){throw new Error(`Module "path" has been externalized for browser compatibility. Cannot access "path.${n}" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)}}),H=re(Object.freeze(Object.defineProperty({__proto__:null,default:ir},Symbol.toStringTag,{value:"Module"})));var de={},Pe={},yt;function or(){if(yt)return Pe;yt=1;const e=H;return Pe.checkPath=function(i){if(process.platform==="win32"&&/[<>:"|?*]/.test(i.replace(e.parse(i).root,""))){const c=new Error(`Path contains invalid characters: ${i}`);throw c.code="EINVAL",c}},Pe}var mt;function ar(){if(mt)return de;mt=1;const e=Y(),{checkPath:n}=or(),i=a=>{const c={mode:511};return typeof a=="number"?a:X(X({},c),a).mode};return de.makeDir=(a,c)=>$(this,null,function*(){return n(a),e.mkdir(a,{mode:i(c),recursive:!0})}),de.makeDirSync=(a,c)=>(n(a),e.mkdirSync(a,{mode:i(c),recursive:!0})),de}var Oe,dt;function Q(){if(dt)return Oe;dt=1;const e=I().fromPromise,{makeDir:n,makeDirSync:i}=ar(),a=e(n);return Oe={mkdirs:a,mkdirsSync:i,mkdirp:a,mkdirpSync:i,ensureDir:a,ensureDirSync:i},Oe}var xe,ht;function ne(){if(ht)return xe;ht=1;const e=I().fromPromise,n=Y();function i(a){return n.access(a).then(()=>!0).catch(()=>!1)}return xe={pathExists:e(i),pathExistsSync:n.existsSync},xe}var De,wt;function pt(){if(wt)return De;wt=1;const e=Y(),n=I().fromPromise;function i(c,f,r){return $(this,null,function*(){const w=yield e.open(c,"r+");let h=null;try{yield e.futimes(w,f,r)}finally{try{yield e.close(w)}catch(m){h=m}}if(h)throw h})}function a(c,f,r){const w=e.openSync(c,"r+");return e.futimesSync(w,f,r),e.closeSync(w)}return De={utimesMillis:n(i),utimesMillisSync:a},De}var Re,vt;function ae(){if(vt)return Re;vt=1;const e=Y(),n=H,i=I().fromPromise;function a(u,s,_){const y=_.dereference?t=>e.stat(t,{bigint:!0}):t=>e.lstat(t,{bigint:!0});return Promise.all([y(u),y(s).catch(t=>{if(t.code==="ENOENT")return null;throw t})]).then(([t,o])=>({srcStat:t,destStat:o}))}function c(u,s,_){let y;const t=_.dereference?l=>e.statSync(l,{bigint:!0}):l=>e.lstatSync(l,{bigint:!0}),o=t(u);try{y=t(s)}catch(l){if(l.code==="ENOENT")return{srcStat:o,destStat:null};throw l}return{srcStat:o,destStat:y}}function f(u,s,_,y){return $(this,null,function*(){const{srcStat:t,destStat:o}=yield a(u,s,y);if(o){if(m(t,o)){const l=n.basename(u),d=n.basename(s);if(_==="move"&&l!==d&&l.toLowerCase()===d.toLowerCase())return{srcStat:t,destStat:o,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(t.isDirectory()&&!o.isDirectory())throw new Error(`Cannot overwrite non-directory '${s}' with directory '${u}'.`);if(!t.isDirectory()&&o.isDirectory())throw new Error(`Cannot overwrite directory '${s}' with non-directory '${u}'.`)}if(t.isDirectory()&&b(u,s))throw new Error(v(u,s,_));return{srcStat:t,destStat:o}})}function r(u,s,_,y){const{srcStat:t,destStat:o}=c(u,s,y);if(o){if(m(t,o)){const l=n.basename(u),d=n.basename(s);if(_==="move"&&l!==d&&l.toLowerCase()===d.toLowerCase())return{srcStat:t,destStat:o,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(t.isDirectory()&&!o.isDirectory())throw new Error(`Cannot overwrite non-directory '${s}' with directory '${u}'.`);if(!t.isDirectory()&&o.isDirectory())throw new Error(`Cannot overwrite directory '${s}' with non-directory '${u}'.`)}if(t.isDirectory()&&b(u,s))throw new Error(v(u,s,_));return{srcStat:t,destStat:o}}function w(u,s,_,y){return $(this,null,function*(){const t=n.resolve(n.dirname(u)),o=n.resolve(n.dirname(_));if(o===t||o===n.parse(o).root)return;let l;try{l=yield e.stat(o,{bigint:!0})}catch(d){if(d.code==="ENOENT")return;throw d}if(m(s,l))throw new Error(v(u,_,y));return w(u,s,o,y)})}function h(u,s,_,y){const t=n.resolve(n.dirname(u)),o=n.resolve(n.dirname(_));if(o===t||o===n.parse(o).root)return;let l;try{l=e.statSync(o,{bigint:!0})}catch(d){if(d.code==="ENOENT")return;throw d}if(m(s,l))throw new Error(v(u,_,y));return h(u,s,o,y)}function m(u,s){return s.ino&&s.dev&&s.ino===u.ino&&s.dev===u.dev}function b(u,s){const _=n.resolve(u).split(n.sep).filter(t=>t),y=n.resolve(s).split(n.sep).filter(t=>t);return _.every((t,o)=>y[o]===t)}function v(u,s,_){return`Cannot ${_} '${u}' to a subdirectory of itself, '${s}'.`}return Re={checkPaths:i(f),checkPathsSync:r,checkParentPaths:i(w),checkParentPathsSync:h,isSrcSubdir:b,areIdentical:m},Re}var $e,St;function cr(){if(St)return $e;St=1;const e=Y(),n=H,{mkdirs:i}=Q(),{pathExists:a}=ne(),{utimesMillis:c}=pt(),f=ae();function r(l,d){return $(this,arguments,function*(y,t,o={}){typeof o=="function"&&(o={filter:o}),o.clobber="clobber"in o?!!o.clobber:!0,o.overwrite="overwrite"in o?!!o.overwrite:o.clobber,o.preserveTimestamps&&process.arch==="ia32"&&process.emitWarning(`Using the preserveTimestamps option in 32-bit node is not recommended; | ||
@@ -4,0 +4,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
628406