@opencloud-eu/web-pkg 2.0.0 → 2.1.0
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/dist/{TextEditor-CBpP9DFX.js → TextEditor-BUqEYieD.js} +1 -1
- package/dist/assets/{worker-BpDXOTOV.js → worker-C-4Lcir3.js} +2 -2
- package/dist/assets/{worker-Ds2rbROB.js → worker-CHXv5Q0i.js} +2 -2
- package/dist/assets/{worker-BCEWb3C6.js → worker-CjeEygd_.js} +2 -2
- package/dist/index-DZecEYvt.js +30230 -0
- package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +1 -0
- package/dist/src/components/CreateShortcutModal.vue.d.ts +106 -294
- package/dist/src/components/FilesList/ResourceTile.vue.d.ts +70 -504
- package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +120 -685
- package/dist/src/components/Search/ResourcePreview.vue.d.ts +109 -301
- package/dist/src/components/SideBar/FileSideBar.vue.d.ts +1 -0
- package/dist/src/components/SideBar/Files/FileInfo.vue.d.ts +1 -0
- package/dist/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +4 -95
- package/dist/src/components/SideBar/Spaces/Details/SpaceDetailsMultiple.vue.d.ts +4 -22
- package/dist/src/components/SpaceQuota.vue.d.ts +3 -23
- package/dist/src/composables/piniaStores/spaces.d.ts +26 -2
- package/dist/src/helpers/index.d.ts +1 -0
- package/dist/src/helpers/spaces/index.d.ts +1 -0
- package/dist/src/helpers/spaces/permissions.d.ts +14 -0
- package/dist/src/services/folder/loaders/loaderSpace.d.ts +0 -5
- package/dist/web-pkg.js +148 -147
- package/dist/web-pkg.umd.cjs +47 -52
- package/package.json +3 -3
- package/dist/index-CPsauqxc.js +0 -31448
|
@@ -5,9 +5,9 @@ var a1=Object.defineProperty;var Oc=Se=>{throw TypeError(Se)};var u1=(Se,Pe,He)=
|
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/(function(e){const t=ln,r=ti,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=s,e.SlowBuffer=w,e.INSPECT_MAX_BYTES=50;const o=2147483647;e.kMaxLength=o;const{Uint8Array:i,ArrayBuffer:a,SharedArrayBuffer:u}=globalThis;s.TYPED_ARRAY_SUPPORT=f(),!s.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function f(){try{const F=new i(1),b={foo:function(){return 42}};return Object.setPrototypeOf(b,i.prototype),Object.setPrototypeOf(F,b),F.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function l(F){if(F>o)throw new RangeError('The value "'+F+'" is invalid for option "size"');const b=new i(F);return Object.setPrototypeOf(b,s.prototype),b}function s(F,b,S){if(typeof F=="number"){if(typeof b=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return m(F)}return c(F,b,S)}s.poolSize=8192;function c(F,b,S){if(typeof F=="string")return E(F,b);if(a.isView(F))return p(F);if(F==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof F);if(at(F,a)||F&&at(F.buffer,a)||typeof u<"u"&&(at(F,u)||F&&at(F.buffer,u)))return h(F,b,S);if(typeof F=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const M=F.valueOf&&F.valueOf();if(M!=null&&M!==F)return s.from(M,b,S);const H=g(F);if(H)return H;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof F[Symbol.toPrimitive]=="function")return s.from(F[Symbol.toPrimitive]("string"),b,S);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof F)}s.from=function(F,b,S){return c(F,b,S)},Object.setPrototypeOf(s.prototype,i.prototype),Object.setPrototypeOf(s,i);function d(F){if(typeof F!="number")throw new TypeError('"size" argument must be of type number');if(F<0)throw new RangeError('The value "'+F+'" is invalid for option "size"')}function T(F,b,S){return d(F),F<=0?l(F):b!==void 0?typeof S=="string"?l(F).fill(b,S):l(F).fill(b):l(F)}s.alloc=function(F,b,S){return T(F,b,S)};function m(F){return d(F),l(F<0?0:y(F)|0)}s.allocUnsafe=function(F){return m(F)},s.allocUnsafeSlow=function(F){return m(F)};function E(F,b){if((typeof b!="string"||b==="")&&(b="utf8"),!s.isEncoding(b))throw new TypeError("Unknown encoding: "+b);const S=A(F,b)|0;let M=l(S);const H=M.write(F,b);return H!==S&&(M=M.slice(0,H)),M}function x(F){const b=F.length<0?0:y(F.length)|0,S=l(b);for(let M=0;M<b;M+=1)S[M]=F[M]&255;return S}function p(F){if(at(F,i)){const b=new i(F);return h(b.buffer,b.byteOffset,b.byteLength)}return x(F)}function h(F,b,S){if(b<0||F.byteLength<b)throw new RangeError('"offset" is outside of buffer bounds');if(F.byteLength<b+(S||0))throw new RangeError('"length" is outside of buffer bounds');let M;return b===void 0&&S===void 0?M=new i(F):S===void 0?M=new i(F,b):M=new i(F,b,S),Object.setPrototypeOf(M,s.prototype),M}function g(F){if(s.isBuffer(F)){const b=y(F.length)|0,S=l(b);return S.length===0||F.copy(S,0,0,b),S}if(F.length!==void 0)return typeof F.length!="number"||Ot(F.length)?l(0):x(F);if(F.type==="Buffer"&&Array.isArray(F.data))return x(F.data)}function y(F){if(F>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return F|0}function w(F){return+F!=F&&(F=0),s.alloc(+F)}s.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==s.prototype},s.compare=function(b,S){if(at(b,i)&&(b=s.from(b,b.offset,b.byteLength)),at(S,i)&&(S=s.from(S,S.offset,S.byteLength)),!s.isBuffer(b)||!s.isBuffer(S))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(b===S)return 0;let M=b.length,H=S.length;for(let z=0,ne=Math.min(M,H);z<ne;++z)if(b[z]!==S[z]){M=b[z],H=S[z];break}return M<H?-1:H<M?1:0},s.isEncoding=function(b){switch(String(b).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(b,S){if(!Array.isArray(b))throw new TypeError('"list" argument must be an Array of Buffers');if(b.length===0)return s.alloc(0);let M;if(S===void 0)for(S=0,M=0;M<b.length;++M)S+=b[M].length;const H=s.allocUnsafe(S);let z=0;for(M=0;M<b.length;++M){let ne=b[M];if(at(ne,i))z+ne.length>H.length?(s.isBuffer(ne)||(ne=s.from(ne)),ne.copy(H,z)):i.prototype.set.call(H,ne,z);else if(s.isBuffer(ne))ne.copy(H,z);else throw new TypeError('"list" argument must be an Array of Buffers');z+=ne.length}return H};function A(F,b){if(s.isBuffer(F))return F.length;if(a.isView(F)||at(F,a))return F.byteLength;if(typeof F!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof F);const S=F.length,M=arguments.length>2&&arguments[2]===!0;if(!M&&S===0)return 0;let H=!1;for(;;)switch(b){case"ascii":case"latin1":case"binary":return S;case"utf8":case"utf-8":return nt(F).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S*2;case"hex":return S>>>1;case"base64":return Ue(F).length;default:if(H)return M?-1:nt(F).length;b=(""+b).toLowerCase(),H=!0}}s.byteLength=A;function P(F,b,S){let M=!1;if((b===void 0||b<0)&&(b=0),b>this.length||((S===void 0||S>this.length)&&(S=this.length),S<=0)||(S>>>=0,b>>>=0,S<=b))return"";for(F||(F="utf8");;)switch(F){case"hex":return K(this,b,S);case"utf8":case"utf-8":return fe(this,b,S);case"ascii":return xe(this,b,S);case"latin1":case"binary":return be(this,b,S);case"base64":return he(this,b,S);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Q(this,b,S);default:if(M)throw new TypeError("Unknown encoding: "+F);F=(F+"").toLowerCase(),M=!0}}s.prototype._isBuffer=!0;function I(F,b,S){const M=F[b];F[b]=F[S],F[S]=M}s.prototype.swap16=function(){const b=this.length;if(b%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let S=0;S<b;S+=2)I(this,S,S+1);return this},s.prototype.swap32=function(){const b=this.length;if(b%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let S=0;S<b;S+=4)I(this,S,S+3),I(this,S+1,S+2);return this},s.prototype.swap64=function(){const b=this.length;if(b%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let S=0;S<b;S+=8)I(this,S,S+7),I(this,S+1,S+6),I(this,S+2,S+5),I(this,S+3,S+4);return this},s.prototype.toString=function(){const b=this.length;return b===0?"":arguments.length===0?fe(this,0,b):P.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(b){if(!s.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:s.compare(this,b)===0},s.prototype.inspect=function(){let b="";const S=e.INSPECT_MAX_BYTES;return b=this.toString("hex",0,S).replace(/(.{2})/g,"$1 ").trim(),this.length>S&&(b+=" ... "),"<Buffer "+b+">"},n&&(s.prototype[n]=s.prototype.inspect),s.prototype.compare=function(b,S,M,H,z){if(at(b,i)&&(b=s.from(b,b.offset,b.byteLength)),!s.isBuffer(b))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof b);if(S===void 0&&(S=0),M===void 0&&(M=b?b.length:0),H===void 0&&(H=0),z===void 0&&(z=this.length),S<0||M>b.length||H<0||z>this.length)throw new RangeError("out of range index");if(H>=z&&S>=M)return 0;if(H>=z)return-1;if(S>=M)return 1;if(S>>>=0,M>>>=0,H>>>=0,z>>>=0,this===b)return 0;let ne=z-H,Ae=M-S;const je=Math.min(ne,Ae),Me=this.slice(H,z),De=b.slice(S,M);for(let Ie=0;Ie<je;++Ie)if(Me[Ie]!==De[Ie]){ne=Me[Ie],Ae=De[Ie];break}return ne<Ae?-1:Ae<ne?1:0};function O(F,b,S,M,H){if(F.length===0)return-1;if(typeof S=="string"?(M=S,S=0):S>2147483647?S=2147483647:S<-2147483648&&(S=-2147483648),S=+S,Ot(S)&&(S=H?0:F.length-1),S<0&&(S=F.length+S),S>=F.length){if(H)return-1;S=F.length-1}else if(S<0)if(H)S=0;else return-1;if(typeof b=="string"&&(b=s.from(b,M)),s.isBuffer(b))return b.length===0?-1:j(F,b,S,M,H);if(typeof b=="number")return b=b&255,typeof i.prototype.indexOf=="function"?H?i.prototype.indexOf.call(F,b,S):i.prototype.lastIndexOf.call(F,b,S):j(F,[b],S,M,H);throw new TypeError("val must be string, number or Buffer")}function j(F,b,S,M,H){let z=1,ne=F.length,Ae=b.length;if(M!==void 0&&(M=String(M).toLowerCase(),M==="ucs2"||M==="ucs-2"||M==="utf16le"||M==="utf-16le")){if(F.length<2||b.length<2)return-1;z=2,ne/=2,Ae/=2,S/=2}function je(De,Ie){return z===1?De[Ie]:De.readUInt16BE(Ie*z)}let Me;if(H){let De=-1;for(Me=S;Me<ne;Me++)if(je(F,Me)===je(b,De===-1?0:Me-De)){if(De===-1&&(De=Me),Me-De+1===Ae)return De*z}else De!==-1&&(Me-=Me-De),De=-1}else for(S+Ae>ne&&(S=ne-Ae),Me=S;Me>=0;Me--){let De=!0;for(let Ie=0;Ie<Ae;Ie++)if(je(F,Me+Ie)!==je(b,Ie)){De=!1;break}if(De)return Me}return-1}s.prototype.includes=function(b,S,M){return this.indexOf(b,S,M)!==-1},s.prototype.indexOf=function(b,S,M){return O(this,b,S,M,!0)},s.prototype.lastIndexOf=function(b,S,M){return O(this,b,S,M,!1)};function G(F,b,S,M){S=Number(S)||0;const H=F.length-S;M?(M=Number(M),M>H&&(M=H)):M=H;const z=b.length;M>z/2&&(M=z/2);let ne;for(ne=0;ne<M;++ne){const Ae=parseInt(b.substr(ne*2,2),16);if(Ot(Ae))return ne;F[S+ne]=Ae}return ne}function L(F,b,S,M){return ft(nt(b,F.length-S),F,S,M)}function D(F,b,S,M){return ft(Ze(b),F,S,M)}function oe(F,b,S,M){return ft(Ue(b),F,S,M)}function re(F,b,S,M){return ft(Ne(b,F.length-S),F,S,M)}s.prototype.write=function(b,S,M,H){if(S===void 0)H="utf8",M=this.length,S=0;else if(M===void 0&&typeof S=="string")H=S,M=this.length,S=0;else if(isFinite(S))S=S>>>0,isFinite(M)?(M=M>>>0,H===void 0&&(H="utf8")):(H=M,M=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const z=this.length-S;if((M===void 0||M>z)&&(M=z),b.length>0&&(M<0||S<0)||S>this.length)throw new RangeError("Attempt to write outside buffer bounds");H||(H="utf8");let ne=!1;for(;;)switch(H){case"hex":return G(this,b,S,M);case"utf8":case"utf-8":return L(this,b,S,M);case"ascii":case"latin1":case"binary":return D(this,b,S,M);case"base64":return oe(this,b,S,M);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,b,S,M);default:if(ne)throw new TypeError("Unknown encoding: "+H);H=(""+H).toLowerCase(),ne=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function he(F,b,S){return b===0&&S===F.length?t.fromByteArray(F):t.fromByteArray(F.slice(b,S))}function fe(F,b,S){S=Math.min(F.length,S);const M=[];let H=b;for(;H<S;){const z=F[H];let ne=null,Ae=z>239?4:z>223?3:z>191?2:1;if(H+Ae<=S){let je,Me,De,Ie;switch(Ae){case 1:z<128&&(ne=z);break;case 2:je=F[H+1],(je&192)===128&&(Ie=(z&31)<<6|je&63,Ie>127&&(ne=Ie));break;case 3:je=F[H+1],Me=F[H+2],(je&192)===128&&(Me&192)===128&&(Ie=(z&15)<<12|(je&63)<<6|Me&63,Ie>2047&&(Ie<55296||Ie>57343)&&(ne=Ie));break;case 4:je=F[H+1],Me=F[H+2],De=F[H+3],(je&192)===128&&(Me&192)===128&&(De&192)===128&&(Ie=(z&15)<<18|(je&63)<<12|(Me&63)<<6|De&63,Ie>65535&&Ie<1114112&&(ne=Ie))}}ne===null?(ne=65533,Ae=1):ne>65535&&(ne-=65536,M.push(ne>>>10&1023|55296),ne=56320|ne&1023),M.push(ne),H+=Ae}return ce(M)}const ge=4096;function ce(F){const b=F.length;if(b<=ge)return String.fromCharCode.apply(String,F);let S="",M=0;for(;M<b;)S+=String.fromCharCode.apply(String,F.slice(M,M+=ge));return S}function xe(F,b,S){let M="";S=Math.min(F.length,S);for(let H=b;H<S;++H)M+=String.fromCharCode(F[H]&127);return M}function be(F,b,S){let M="";S=Math.min(F.length,S);for(let H=b;H<S;++H)M+=String.fromCharCode(F[H]);return M}function K(F,b,S){const M=F.length;(!b||b<0)&&(b=0),(!S||S<0||S>M)&&(S=M);let H="";for(let z=b;z<S;++z)H+=Rt[F[z]];return H}function Q(F,b,S){const M=F.slice(b,S);let H="";for(let z=0;z<M.length-1;z+=2)H+=String.fromCharCode(M[z]+M[z+1]*256);return H}s.prototype.slice=function(b,S){const M=this.length;b=~~b,S=S===void 0?M:~~S,b<0?(b+=M,b<0&&(b=0)):b>M&&(b=M),S<0?(S+=M,S<0&&(S=0)):S>M&&(S=M),S<b&&(S=b);const H=this.subarray(b,S);return Object.setPrototypeOf(H,s.prototype),H};function ee(F,b,S){if(F%1!==0||F<0)throw new RangeError("offset is not uint");if(F+b>S)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(b,S,M){b=b>>>0,S=S>>>0,M||ee(b,S,this.length);let H=this[b],z=1,ne=0;for(;++ne<S&&(z*=256);)H+=this[b+ne]*z;return H},s.prototype.readUintBE=s.prototype.readUIntBE=function(b,S,M){b=b>>>0,S=S>>>0,M||ee(b,S,this.length);let H=this[b+--S],z=1;for(;S>0&&(z*=256);)H+=this[b+--S]*z;return H},s.prototype.readUint8=s.prototype.readUInt8=function(b,S){return b=b>>>0,S||ee(b,1,this.length),this[b]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(b,S){return b=b>>>0,S||ee(b,2,this.length),this[b]|this[b+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(b,S){return b=b>>>0,S||ee(b,2,this.length),this[b]<<8|this[b+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(b,S){return b=b>>>0,S||ee(b,4,this.length),(this[b]|this[b+1]<<8|this[b+2]<<16)+this[b+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(b,S){return b=b>>>0,S||ee(b,4,this.length),this[b]*16777216+(this[b+1]<<16|this[b+2]<<8|this[b+3])},s.prototype.readBigUInt64LE=ot(function(b){b=b>>>0,le(b,"offset");const S=this[b],M=this[b+7];(S===void 0||M===void 0)&&de(b,this.length-8);const H=S+this[++b]*2**8+this[++b]*2**16+this[++b]*2**24,z=this[++b]+this[++b]*2**8+this[++b]*2**16+M*2**24;return BigInt(H)+(BigInt(z)<<BigInt(32))}),s.prototype.readBigUInt64BE=ot(function(b){b=b>>>0,le(b,"offset");const S=this[b],M=this[b+7];(S===void 0||M===void 0)&&de(b,this.length-8);const H=S*2**24+this[++b]*2**16+this[++b]*2**8+this[++b],z=this[++b]*2**24+this[++b]*2**16+this[++b]*2**8+M;return(BigInt(H)<<BigInt(32))+BigInt(z)}),s.prototype.readIntLE=function(b,S,M){b=b>>>0,S=S>>>0,M||ee(b,S,this.length);let H=this[b],z=1,ne=0;for(;++ne<S&&(z*=256);)H+=this[b+ne]*z;return z*=128,H>=z&&(H-=Math.pow(2,8*S)),H},s.prototype.readIntBE=function(b,S,M){b=b>>>0,S=S>>>0,M||ee(b,S,this.length);let H=S,z=1,ne=this[b+--H];for(;H>0&&(z*=256);)ne+=this[b+--H]*z;return z*=128,ne>=z&&(ne-=Math.pow(2,8*S)),ne},s.prototype.readInt8=function(b,S){return b=b>>>0,S||ee(b,1,this.length),this[b]&128?(255-this[b]+1)*-1:this[b]},s.prototype.readInt16LE=function(b,S){b=b>>>0,S||ee(b,2,this.length);const M=this[b]|this[b+1]<<8;return M&32768?M|4294901760:M},s.prototype.readInt16BE=function(b,S){b=b>>>0,S||ee(b,2,this.length);const M=this[b+1]|this[b]<<8;return M&32768?M|4294901760:M},s.prototype.readInt32LE=function(b,S){return b=b>>>0,S||ee(b,4,this.length),this[b]|this[b+1]<<8|this[b+2]<<16|this[b+3]<<24},s.prototype.readInt32BE=function(b,S){return b=b>>>0,S||ee(b,4,this.length),this[b]<<24|this[b+1]<<16|this[b+2]<<8|this[b+3]},s.prototype.readBigInt64LE=ot(function(b){b=b>>>0,le(b,"offset");const S=this[b],M=this[b+7];(S===void 0||M===void 0)&&de(b,this.length-8);const H=this[b+4]+this[b+5]*2**8+this[b+6]*2**16+(M<<24);return(BigInt(H)<<BigInt(32))+BigInt(S+this[++b]*2**8+this[++b]*2**16+this[++b]*2**24)}),s.prototype.readBigInt64BE=ot(function(b){b=b>>>0,le(b,"offset");const S=this[b],M=this[b+7];(S===void 0||M===void 0)&&de(b,this.length-8);const H=(S<<24)+this[++b]*2**16+this[++b]*2**8+this[++b];return(BigInt(H)<<BigInt(32))+BigInt(this[++b]*2**24+this[++b]*2**16+this[++b]*2**8+M)}),s.prototype.readFloatLE=function(b,S){return b=b>>>0,S||ee(b,4,this.length),r.read(this,b,!0,23,4)},s.prototype.readFloatBE=function(b,S){return b=b>>>0,S||ee(b,4,this.length),r.read(this,b,!1,23,4)},s.prototype.readDoubleLE=function(b,S){return b=b>>>0,S||ee(b,8,this.length),r.read(this,b,!0,52,8)},s.prototype.readDoubleBE=function(b,S){return b=b>>>0,S||ee(b,8,this.length),r.read(this,b,!1,52,8)};function ue(F,b,S,M,H,z){if(!s.isBuffer(F))throw new TypeError('"buffer" argument must be a Buffer instance');if(b>H||b<z)throw new RangeError('"value" argument is out of bounds');if(S+M>F.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(b,S,M,H){if(b=+b,S=S>>>0,M=M>>>0,!H){const Ae=Math.pow(2,8*M)-1;ue(this,b,S,M,Ae,0)}let z=1,ne=0;for(this[S]=b&255;++ne<M&&(z*=256);)this[S+ne]=b/z&255;return S+M},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(b,S,M,H){if(b=+b,S=S>>>0,M=M>>>0,!H){const Ae=Math.pow(2,8*M)-1;ue(this,b,S,M,Ae,0)}let z=M-1,ne=1;for(this[S+z]=b&255;--z>=0&&(ne*=256);)this[S+z]=b/ne&255;return S+M},s.prototype.writeUint8=s.prototype.writeUInt8=function(b,S,M){return b=+b,S=S>>>0,M||ue(this,b,S,1,255,0),this[S]=b&255,S+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(b,S,M){return b=+b,S=S>>>0,M||ue(this,b,S,2,65535,0),this[S]=b&255,this[S+1]=b>>>8,S+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(b,S,M){return b=+b,S=S>>>0,M||ue(this,b,S,2,65535,0),this[S]=b>>>8,this[S+1]=b&255,S+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(b,S,M){return b=+b,S=S>>>0,M||ue(this,b,S,4,4294967295,0),this[S+3]=b>>>24,this[S+2]=b>>>16,this[S+1]=b>>>8,this[S]=b&255,S+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(b,S,M){return b=+b,S=S>>>0,M||ue(this,b,S,4,4294967295,0),this[S]=b>>>24,this[S+1]=b>>>16,this[S+2]=b>>>8,this[S+3]=b&255,S+4};function V(F,b,S,M,H){pe(b,M,H,F,S,7);let z=Number(b&BigInt(4294967295));F[S++]=z,z=z>>8,F[S++]=z,z=z>>8,F[S++]=z,z=z>>8,F[S++]=z;let ne=Number(b>>BigInt(32)&BigInt(4294967295));return F[S++]=ne,ne=ne>>8,F[S++]=ne,ne=ne>>8,F[S++]=ne,ne=ne>>8,F[S++]=ne,S}function R(F,b,S,M,H){pe(b,M,H,F,S,7);let z=Number(b&BigInt(4294967295));F[S+7]=z,z=z>>8,F[S+6]=z,z=z>>8,F[S+5]=z,z=z>>8,F[S+4]=z;let ne=Number(b>>BigInt(32)&BigInt(4294967295));return F[S+3]=ne,ne=ne>>8,F[S+2]=ne,ne=ne>>8,F[S+1]=ne,ne=ne>>8,F[S]=ne,S+8}s.prototype.writeBigUInt64LE=ot(function(b,S=0){return V(this,b,S,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=ot(function(b,S=0){return R(this,b,S,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(b,S,M,H){if(b=+b,S=S>>>0,!H){const je=Math.pow(2,8*M-1);ue(this,b,S,M,je-1,-je)}let z=0,ne=1,Ae=0;for(this[S]=b&255;++z<M&&(ne*=256);)b<0&&Ae===0&&this[S+z-1]!==0&&(Ae=1),this[S+z]=(b/ne>>0)-Ae&255;return S+M},s.prototype.writeIntBE=function(b,S,M,H){if(b=+b,S=S>>>0,!H){const je=Math.pow(2,8*M-1);ue(this,b,S,M,je-1,-je)}let z=M-1,ne=1,Ae=0;for(this[S+z]=b&255;--z>=0&&(ne*=256);)b<0&&Ae===0&&this[S+z+1]!==0&&(Ae=1),this[S+z]=(b/ne>>0)-Ae&255;return S+M},s.prototype.writeInt8=function(b,S,M){return b=+b,S=S>>>0,M||ue(this,b,S,1,127,-128),b<0&&(b=255+b+1),this[S]=b&255,S+1},s.prototype.writeInt16LE=function(b,S,M){return b=+b,S=S>>>0,M||ue(this,b,S,2,32767,-32768),this[S]=b&255,this[S+1]=b>>>8,S+2},s.prototype.writeInt16BE=function(b,S,M){return b=+b,S=S>>>0,M||ue(this,b,S,2,32767,-32768),this[S]=b>>>8,this[S+1]=b&255,S+2},s.prototype.writeInt32LE=function(b,S,M){return b=+b,S=S>>>0,M||ue(this,b,S,4,2147483647,-2147483648),this[S]=b&255,this[S+1]=b>>>8,this[S+2]=b>>>16,this[S+3]=b>>>24,S+4},s.prototype.writeInt32BE=function(b,S,M){return b=+b,S=S>>>0,M||ue(this,b,S,4,2147483647,-2147483648),b<0&&(b=4294967295+b+1),this[S]=b>>>24,this[S+1]=b>>>16,this[S+2]=b>>>8,this[S+3]=b&255,S+4},s.prototype.writeBigInt64LE=ot(function(b,S=0){return V(this,b,S,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=ot(function(b,S=0){return R(this,b,S,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function N(F,b,S,M,H,z){if(S+M>F.length)throw new RangeError("Index out of range");if(S<0)throw new RangeError("Index out of range")}function q(F,b,S,M,H){return b=+b,S=S>>>0,H||N(F,b,S,4),r.write(F,b,S,M,23,4),S+4}s.prototype.writeFloatLE=function(b,S,M){return q(this,b,S,!0,M)},s.prototype.writeFloatBE=function(b,S,M){return q(this,b,S,!1,M)};function $(F,b,S,M,H){return b=+b,S=S>>>0,H||N(F,b,S,8),r.write(F,b,S,M,52,8),S+8}s.prototype.writeDoubleLE=function(b,S,M){return $(this,b,S,!0,M)},s.prototype.writeDoubleBE=function(b,S,M){return $(this,b,S,!1,M)},s.prototype.copy=function(b,S,M,H){if(!s.isBuffer(b))throw new TypeError("argument should be a Buffer");if(M||(M=0),!H&&H!==0&&(H=this.length),S>=b.length&&(S=b.length),S||(S=0),H>0&&H<M&&(H=M),H===M||b.length===0||this.length===0)return 0;if(S<0)throw new RangeError("targetStart out of bounds");if(M<0||M>=this.length)throw new RangeError("Index out of range");if(H<0)throw new RangeError("sourceEnd out of bounds");H>this.length&&(H=this.length),b.length-S<H-M&&(H=b.length-S+M);const z=H-M;return this===b&&typeof i.prototype.copyWithin=="function"?this.copyWithin(S,M,H):i.prototype.set.call(b,this.subarray(M,H),S),z},s.prototype.fill=function(b,S,M,H){if(typeof b=="string"){if(typeof S=="string"?(H=S,S=0,M=this.length):typeof M=="string"&&(H=M,M=this.length),H!==void 0&&typeof H!="string")throw new TypeError("encoding must be a string");if(typeof H=="string"&&!s.isEncoding(H))throw new TypeError("Unknown encoding: "+H);if(b.length===1){const ne=b.charCodeAt(0);(H==="utf8"&&ne<128||H==="latin1")&&(b=ne)}}else typeof b=="number"?b=b&255:typeof b=="boolean"&&(b=Number(b));if(S<0||this.length<S||this.length<M)throw new RangeError("Out of range index");if(M<=S)return this;S=S>>>0,M=M===void 0?this.length:M>>>0,b||(b=0);let z;if(typeof b=="number")for(z=S;z<M;++z)this[z]=b;else{const ne=s.isBuffer(b)?b:s.from(b,H),Ae=ne.length;if(Ae===0)throw new TypeError('The value "'+b+'" is invalid for argument "value"');for(z=0;z<M-S;++z)this[z+S]=ne[z%Ae]}return this};const B={};function U(F,b,S){B[F]=class extends S{constructor(){super(),Object.defineProperty(this,"message",{value:b.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${F}]`,this.stack,delete this.name}get code(){return F}set code(H){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:H,writable:!0})}toString(){return`${this.name} [${F}]: ${this.message}`}}}U("ERR_BUFFER_OUT_OF_BOUNDS",function(F){return F?`${F} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),U("ERR_INVALID_ARG_TYPE",function(F,b){return`The "${F}" argument must be of type number. Received type ${typeof b}`},TypeError),U("ERR_OUT_OF_RANGE",function(F,b,S){let M=`The value of "${F}" is out of range.`,H=S;return Number.isInteger(S)&&Math.abs(S)>2**32?H=Y(String(S)):typeof S=="bigint"&&(H=String(S),(S>BigInt(2)**BigInt(32)||S<-(BigInt(2)**BigInt(32)))&&(H=Y(H)),H+="n"),M+=` It must be ${b}. Received ${H}`,M},RangeError);function Y(F){let b="",S=F.length;const M=F[0]==="-"?1:0;for(;S>=M+4;S-=3)b=`_${F.slice(S-3,S)}${b}`;return`${F.slice(0,S)}${b}`}function se(F,b,S){le(b,"offset"),(F[b]===void 0||F[b+S]===void 0)&&de(b,F.length-(S+1))}function pe(F,b,S,M,H,z){if(F>S||F<b){const ne=typeof b=="bigint"?"n":"";let Ae;throw b===0||b===BigInt(0)?Ae=`>= 0${ne} and < 2${ne} ** ${(z+1)*8}${ne}`:Ae=`>= -(2${ne} ** ${(z+1)*8-1}${ne}) and < 2 ** ${(z+1)*8-1}${ne}`,new B.ERR_OUT_OF_RANGE("value",Ae,F)}se(M,H,z)}function le(F,b){if(typeof F!="number")throw new B.ERR_INVALID_ARG_TYPE(b,"number",F)}function de(F,b,S){throw Math.floor(F)!==F?(le(F,S),new B.ERR_OUT_OF_RANGE("offset","an integer",F)):b<0?new B.ERR_BUFFER_OUT_OF_BOUNDS:new B.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${b}`,F)}const Le=/[^+/0-9A-Za-z-_]/g;function te(F){if(F=F.split("=")[0],F=F.trim().replace(Le,""),F.length<2)return"";for(;F.length%4!==0;)F=F+"=";return F}function nt(F,b){b=b||1/0;let S;const M=F.length;let H=null;const z=[];for(let ne=0;ne<M;++ne){if(S=F.charCodeAt(ne),S>55295&&S<57344){if(!H){if(S>56319){(b-=3)>-1&&z.push(239,191,189);continue}else if(ne+1===M){(b-=3)>-1&&z.push(239,191,189);continue}H=S;continue}if(S<56320){(b-=3)>-1&&z.push(239,191,189),H=S;continue}S=(H-55296<<10|S-56320)+65536}else H&&(b-=3)>-1&&z.push(239,191,189);if(H=null,S<128){if((b-=1)<0)break;z.push(S)}else if(S<2048){if((b-=2)<0)break;z.push(S>>6|192,S&63|128)}else if(S<65536){if((b-=3)<0)break;z.push(S>>12|224,S>>6&63|128,S&63|128)}else if(S<1114112){if((b-=4)<0)break;z.push(S>>18|240,S>>12&63|128,S>>6&63|128,S&63|128)}else throw new Error("Invalid code point")}return z}function Ze(F){const b=[];for(let S=0;S<F.length;++S)b.push(F.charCodeAt(S)&255);return b}function Ne(F,b){let S,M,H;const z=[];for(let ne=0;ne<F.length&&!((b-=2)<0);++ne)S=F.charCodeAt(ne),M=S>>8,H=S%256,z.push(H),z.push(M);return z}function Ue(F){return t.toByteArray(te(F))}function ft(F,b,S,M){let H;for(H=0;H<M&&!(H+S>=b.length||H>=F.length);++H)b[H+S]=F[H];return H}function at(F,b){return F instanceof b||F!=null&&F.constructor!=null&&F.constructor.name!=null&&F.constructor.name===b.name}function Ot(F){return F!==F}const Rt=function(){const F="0123456789abcdef",b=new Array(256);for(let S=0;S<16;++S){const M=S*16;for(let H=0;H<16;++H)b[M+H]=F[S]+F[H]}return b}();function ot(F){return typeof BigInt>"u"?Jt:F}function Jt(){throw new Error("BigInt not supported")}})(ua);const yr=ua.Buffer;function we(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}Z.inherits(we,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Z.toJSONObject(this.config),code:this.code,status:this.status}}});const fa=we.prototype,ca={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ca[e]={value:e}}),Object.defineProperties(we,ca),Object.defineProperty(fa,"isAxiosError",{value:!0}),we.from=(e,t,r,n,o,i)=>{const a=Object.create(fa);return Z.toFlatObject(e,a,function(f){return f!==Error.prototype},u=>u!=="isAxiosError"),we.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var Dh=null;function ri(e){return Z.isPlainObject(e)||Z.isArray(e)}function ha(e){return Z.endsWith(e,"[]")?e.slice(0,-2):e}function da(e,t,r){return e?e.concat(t).map(function(o,i){return o=ha(o),!r&&i?"["+o+"]":o}).join(r?".":""):t}function $h(e){return Z.isArray(e)&&!e.some(ri)}const qh=Z.toFlatObject(Z,{},null,function(t){return/^is[A-Z]/.test(t)});function fn(e,t,r){if(!Z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=Z.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,x){return!Z.isUndefined(x[E])});const n=r.metaTokens,o=r.visitor||s,i=r.dots,a=r.indexes,f=(r.Blob||typeof Blob<"u"&&Blob)&&Z.isSpecCompliantForm(t);if(!Z.isFunction(o))throw new TypeError("visitor must be a function");function l(m){if(m===null)return"";if(Z.isDate(m))return m.toISOString();if(!f&&Z.isBlob(m))throw new we("Blob is not supported. Use a Buffer instead.");return Z.isArrayBuffer(m)||Z.isTypedArray(m)?f&&typeof Blob=="function"?new Blob([m]):yr.from(m):m}function s(m,E,x){let p=m;if(m&&!x&&typeof m=="object"){if(Z.endsWith(E,"{}"))E=n?E:E.slice(0,-2),m=JSON.stringify(m);else if(Z.isArray(m)&&$h(m)||(Z.isFileList(m)||Z.endsWith(E,"[]"))&&(p=Z.toArray(m)))return E=ha(E),p.forEach(function(g,y){!(Z.isUndefined(g)||g===null)&&t.append(a===!0?da([E],y,i):a===null?E:E+"[]",l(g))}),!1}return ri(m)?!0:(t.append(da(x,E,i),l(m)),!1)}const c=[],d=Object.assign(qh,{defaultVisitor:s,convertValue:l,isVisitable:ri});function T(m,E){if(!Z.isUndefined(m)){if(c.indexOf(m)!==-1)throw Error("Circular reference detected in "+E.join("."));c.push(m),Z.forEach(m,function(p,h){(!(Z.isUndefined(p)||p===null)&&o.call(t,p,Z.isString(h)?h.trim():h,E,d))===!0&&T(p,E?E.concat(h):[h])}),c.pop()}}if(!Z.isObject(e))throw new TypeError("data must be an object");return T(e),t}function pa(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function ni(e,t){this._pairs=[],e&&fn(e,this,t)}const ga=ni.prototype;ga.append=function(t,r){this._pairs.push([t,r])},ga.toString=function(t){const r=t?function(n){return t.call(this,n,pa)}:pa;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function Hh(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ya(e,t,r){if(!t)return e;const n=r&&r.encode||Hh;Z.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let i;if(o?i=o(t,r):i=Z.isURLSearchParams(t)?t.toString():new ni(t,r).toString(n),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class ma{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Z.forEach(this.handlers,function(n){n!==null&&t(n)})}}var ba={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Vh=typeof URLSearchParams<"u"?URLSearchParams:ni,Wh=typeof FormData<"u"?FormData:null,Gh=typeof Blob<"u"?Blob:null,Kh={isBrowser:!0,classes:{URLSearchParams:Vh,FormData:Wh,Blob:Gh},protocols:["http","https","file","blob","url","data"]};const ii=typeof window<"u"&&typeof document<"u",oi=typeof navigator=="object"&&navigator||void 0,zh=ii&&(!oi||["ReactNative","NativeScript","NS"].indexOf(oi.product)<0),Xh=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Yh=ii&&window.location.href||"http://localhost";var Jh=Object.freeze({__proto__:null,hasBrowserEnv:ii,hasStandardBrowserEnv:zh,hasStandardBrowserWebWorkerEnv:Xh,navigator:oi,origin:Yh}),ut={...Jh,...Kh};function Zh(e,t){return fn(e,new ut.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,i){return ut.isNode&&Z.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Qh(e){return Z.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function ed(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}function wa(e){function t(r,n,o,i){let a=r[i++];if(a==="__proto__")return!0;const u=Number.isFinite(+a),f=i>=r.length;return a=!a&&Z.isArray(o)?o.length:a,f?(Z.hasOwnProp(o,a)?o[a]=[o[a],n]:o[a]=n,!u):((!o[a]||!Z.isObject(o[a]))&&(o[a]=[]),t(r,n,o[a],i)&&Z.isArray(o[a])&&(o[a]=ed(o[a])),!u)}if(Z.isFormData(e)&&Z.isFunction(e.entries)){const r={};return Z.forEachEntry(e,(n,o)=>{t(Qh(n),o,r,0)}),r}return null}function td(e,t,r){if(Z.isString(e))try{return(t||JSON.parse)(e),Z.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const Br={transitional:ba,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,i=Z.isObject(t);if(i&&Z.isHTMLForm(t)&&(t=new FormData(t)),Z.isFormData(t))return o?JSON.stringify(wa(t)):t;if(Z.isArrayBuffer(t)||Z.isBuffer(t)||Z.isStream(t)||Z.isFile(t)||Z.isBlob(t)||Z.isReadableStream(t))return t;if(Z.isArrayBufferView(t))return t.buffer;if(Z.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Zh(t,this.formSerializer).toString();if((u=Z.isFileList(t))||n.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return fn(u?{"files[]":t}:t,f&&new f,this.formSerializer)}}return i||o?(r.setContentType("application/json",!1),td(t)):t}],transformResponse:[function(t){const r=this.transitional||Br.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(Z.isResponse(t)||Z.isReadableStream(t))return t;if(t&&Z.isString(t)&&(n&&!this.responseType||o)){const a=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(u){if(a)throw u.name==="SyntaxError"?we.from(u,we.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ut.classes.FormData,Blob:ut.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Z.forEach(["delete","get","head","post","put","patch"],e=>{Br.headers[e]={}});const rd=Z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var nd=e=>{const t={};let r,n,o;return e&&e.split(`
|
|
7
7
|
`).forEach(function(a){o=a.indexOf(":"),r=a.substring(0,o).trim().toLowerCase(),n=a.substring(o+1).trim(),!(!r||t[r]&&rd[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t};const va=Symbol("internals");function Lr(e){return e&&String(e).trim().toLowerCase()}function cn(e){return e===!1||e==null?e:Z.isArray(e)?e.map(cn):String(e)}function id(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const od=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function si(e,t,r,n,o){if(Z.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!Z.isString(t)){if(Z.isString(n))return t.indexOf(n)!==-1;if(Z.isRegExp(n))return n.test(t)}}function sd(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function ad(e,t){const r=Z.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,i,a){return this[n].call(this,t,o,i,a)},configurable:!0})})}let yt=class{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function i(u,f,l){const s=Lr(f);if(!s)throw new Error("header name must be a non-empty string");const c=Z.findKey(o,s);(!c||o[c]===void 0||l===!0||l===void 0&&o[c]!==!1)&&(o[c||f]=cn(u))}const a=(u,f)=>Z.forEach(u,(l,s)=>i(l,s,f));if(Z.isPlainObject(t)||t instanceof this.constructor)a(t,r);else if(Z.isString(t)&&(t=t.trim())&&!od(t))a(nd(t),r);else if(Z.isHeaders(t))for(const[u,f]of t.entries())i(f,u,n);else t!=null&&i(r,t,n);return this}get(t,r){if(t=Lr(t),t){const n=Z.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return id(o);if(Z.isFunction(r))return r.call(this,o,n);if(Z.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Lr(t),t){const n=Z.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||si(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function i(a){if(a=Lr(a),a){const u=Z.findKey(n,a);u&&(!r||si(n,n[u],u,r))&&(delete n[u],o=!0)}}return Z.isArray(t)?t.forEach(i):i(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const i=r[n];(!t||si(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const r=this,n={};return Z.forEach(this,(o,i)=>{const a=Z.findKey(n,i);if(a){r[a]=cn(o),delete r[i];return}const u=t?sd(i):String(i).trim();u!==i&&delete r[i],r[u]=cn(o),n[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return Z.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&Z.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
|
|
8
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[va]=this[va]={accessors:{}}).accessors,o=this.prototype;function i(a){const u=Lr(a);n[u]||(ad(o,a),n[u]=!0)}return Z.isArray(t)?t.forEach(i):i(t),this}};yt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Z.reduceDescriptors(yt.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}}),Z.freezeMethods(yt);function ai(e,t){const r=this||Br,n=t||r,o=yt.from(n.headers);let i=n.data;return Z.forEach(e,function(u){i=u.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Ea(e){return!!(e&&e.__CANCEL__)}function mr(e,t,r){we.call(this,e??"canceled",we.ERR_CANCELED,t,r),this.name="CanceledError"}Z.inherits(mr,we,{__CANCEL__:!0});function xa(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new we("Request failed with status code "+r.status,[we.ERR_BAD_REQUEST,we.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function ud(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ld(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,i=0,a;return t=t!==void 0?t:1e3,function(f){const l=Date.now(),s=n[i];a||(a=l),r[o]=f,n[o]=l;let c=i,d=0;for(;c!==o;)d+=r[c++],c=c%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),l-a<t)return;const T=s&&l-s;return T?Math.round(d*1e3/T):void 0}}function fd(e,t){let r=0,n=1e3/t,o,i;const a=(l,s=Date.now())=>{r=s,o=null,i&&(clearTimeout(i),i=null),e.apply(null,l)};return[(...l)=>{const s=Date.now(),c=s-r;c>=n?a(l,s):(o=l,i||(i=setTimeout(()=>{i=null,a(o)},n-c)))},()=>o&&a(o)]}const hn=(e,t,r=3)=>{let n=0;const o=ld(50,250);return fd(i=>{const a=i.loaded,u=i.lengthComputable?i.total:void 0,f=a-n,l=o(f),s=a<=u;n=a;const c={loaded:a,total:u,progress:u?a/u:void 0,bytes:f,rate:l||void 0,estimated:l&&u&&s?(u-a)/l:void 0,event:i,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(c)},r)},Aa=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Ta=e=>(...t)=>Z.asap(()=>e(...t));var cd=ut.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,ut.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(ut.origin),ut.navigator&&/(msie|trident)/i.test(ut.navigator.userAgent)):()=>!0,hd=ut.hasStandardBrowserEnv?{write(e,t,r,n,o,i){const a=[e+"="+encodeURIComponent(t)];Z.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),Z.isString(n)&&a.push("path="+n),Z.isString(o)&&a.push("domain="+o),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function dd(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function pd(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Sa(e,t,r){let n=!dd(t);return e&&n||r==!1?pd(e,t):t}const _a=e=>e instanceof yt?{...e}:e;function rr(e,t){t=t||{};const r={};function n(l,s,c,d){return Z.isPlainObject(l)&&Z.isPlainObject(s)?Z.merge.call({caseless:d},l,s):Z.isPlainObject(s)?Z.merge({},s):Z.isArray(s)?s.slice():s}function o(l,s,c,d){if(Z.isUndefined(s)){if(!Z.isUndefined(l))return n(void 0,l,c,d)}else return n(l,s,c,d)}function i(l,s){if(!Z.isUndefined(s))return n(void 0,s)}function a(l,s){if(Z.isUndefined(s)){if(!Z.isUndefined(l))return n(void 0,l)}else return n(void 0,s)}function u(l,s,c){if(c in t)return n(l,s);if(c in e)return n(void 0,l)}const f={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u,headers:(l,s,c)=>o(_a(l),_a(s),c,!0)};return Z.forEach(Object.keys(Object.assign({},e,t)),function(s){const c=f[s]||o,d=c(e[s],t[s],s);Z.isUndefined(d)&&c!==u||(r[s]=d)}),r}var Oa=e=>{const t=rr({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:u}=t;t.headers=a=yt.from(a),t.url=ya(Sa(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),u&&a.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):"")));let f;if(Z.isFormData(r)){if(ut.hasStandardBrowserEnv||ut.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((f=a.getContentType())!==!1){const[l,...s]=f?f.split(";").map(c=>c.trim()).filter(Boolean):[];a.setContentType([l||"multipart/form-data",...s].join("; "))}}if(ut.hasStandardBrowserEnv&&(n&&Z.isFunction(n)&&(n=n(t)),n||n!==!1&&cd(t.url))){const l=o&&i&&hd.read(i);l&&a.set(o,l)}return t},gd=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(r,n){const o=Oa(e);let i=o.data;const a=yt.from(o.headers).normalize();let{responseType:u,onUploadProgress:f,onDownloadProgress:l}=o,s,c,d,T,m;function E(){T&&T(),m&&m(),o.cancelToken&&o.cancelToken.unsubscribe(s),o.signal&&o.signal.removeEventListener("abort",s)}let x=new XMLHttpRequest;x.open(o.method.toUpperCase(),o.url,!0),x.timeout=o.timeout;function p(){if(!x)return;const g=yt.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),w={data:!u||u==="text"||u==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:g,config:e,request:x};xa(function(P){r(P),E()},function(P){n(P),E()},w),x=null}"onloadend"in x?x.onloadend=p:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(p)},x.onabort=function(){x&&(n(new we("Request aborted",we.ECONNABORTED,e,x)),x=null)},x.onerror=function(){n(new we("Network Error",we.ERR_NETWORK,e,x)),x=null},x.ontimeout=function(){let y=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const w=o.transitional||ba;o.timeoutErrorMessage&&(y=o.timeoutErrorMessage),n(new we(y,w.clarifyTimeoutError?we.ETIMEDOUT:we.ECONNABORTED,e,x)),x=null},i===void 0&&a.setContentType(null),"setRequestHeader"in x&&Z.forEach(a.toJSON(),function(y,w){x.setRequestHeader(w,y)}),Z.isUndefined(o.withCredentials)||(x.withCredentials=!!o.withCredentials),u&&u!=="json"&&(x.responseType=o.responseType),l&&([d,m]=hn(l,!0),x.addEventListener("progress",d)),f&&x.upload&&([c,T]=hn(f),x.upload.addEventListener("progress",c),x.upload.addEventListener("loadend",T)),(o.cancelToken||o.signal)&&(s=g=>{x&&(n(!g||g.type?new mr(null,e,x):g),x.abort(),x=null)},o.cancelToken&&o.cancelToken.subscribe(s),o.signal&&(o.signal.aborted?s():o.signal.addEventListener("abort",s)));const h=ud(o.url);if(h&&ut.protocols.indexOf(h)===-1){n(new we("Unsupported protocol "+h+":",we.ERR_BAD_REQUEST,e));return}x.send(i||null)})};const yd=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,o;const i=function(l){if(!o){o=!0,u();const s=l instanceof Error?l:this.reason;n.abort(s instanceof we?s:new mr(s instanceof Error?s.message:s))}};let a=t&&setTimeout(()=>{a=null,i(new we(`timeout ${t} of ms exceeded`,we.ETIMEDOUT))},t);const u=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(i):l.removeEventListener("abort",i)}),e=null)};e.forEach(l=>l.addEventListener("abort",i));const{signal:f}=n;return f.unsubscribe=()=>Z.asap(u),f}},md=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,o;for(;n<r;)o=n+t,yield e.slice(n,o),n=o},bd=async function*(e,t){for await(const r of wd(e))yield*md(r,t)},wd=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},Na=(e,t,r,n)=>{const o=bd(e,t);let i=0,a,u=f=>{a||(a=!0,n&&n(f))};return new ReadableStream({async pull(f){try{const{done:l,value:s}=await o.next();if(l){u(),f.close();return}let c=s.byteLength;if(r){let d=i+=c;r(d)}f.enqueue(new Uint8Array(s))}catch(l){throw u(l),l}},cancel(f){return u(f),o.return()}},{highWaterMark:2})},dn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ra=dn&&typeof ReadableStream=="function",vd=dn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ia=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Ed=Ra&&Ia(()=>{let e=!1;const t=new Request(ut.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Pa=64*1024,ui=Ra&&Ia(()=>Z.isReadableStream(new Response("").body)),pn={stream:ui&&(e=>e.body)};dn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!pn[t]&&(pn[t]=Z.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new we(`Response type '${t}' is not supported`,we.ERR_NOT_SUPPORT,n)})})})(new Response);const xd=async e=>{if(e==null)return 0;if(Z.isBlob(e))return e.size;if(Z.isSpecCompliantForm(e))return(await new Request(ut.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(Z.isArrayBufferView(e)||Z.isArrayBuffer(e))return e.byteLength;if(Z.isURLSearchParams(e)&&(e=e+""),Z.isString(e))return(await vd(e)).byteLength},Ad=async(e,t)=>{const r=Z.toFiniteNumber(e.getContentLength());return r??xd(t)};var Td=dn&&(async e=>{let{url:t,method:r,data:n,signal:o,cancelToken:i,timeout:a,onDownloadProgress:u,onUploadProgress:f,responseType:l,headers:s,withCredentials:c="same-origin",fetchOptions:d}=Oa(e);l=l?(l+"").toLowerCase():"text";let T=yd([o,i&&i.toAbortSignal()],a),m;const E=T&&T.unsubscribe&&(()=>{T.unsubscribe()});let x;try{if(f&&Ed&&r!=="get"&&r!=="head"&&(x=await Ad(s,n))!==0){let w=new Request(t,{method:"POST",body:n,duplex:"half"}),A;if(Z.isFormData(n)&&(A=w.headers.get("content-type"))&&s.setContentType(A),w.body){const[P,I]=Aa(x,hn(Ta(f)));n=Na(w.body,Pa,P,I)}}Z.isString(c)||(c=c?"include":"omit");const p="credentials"in Request.prototype;m=new Request(t,{...d,signal:T,method:r.toUpperCase(),headers:s.normalize().toJSON(),body:n,duplex:"half",credentials:p?c:void 0});let h=await fetch(m);const g=ui&&(l==="stream"||l==="response");if(ui&&(u||g&&E)){const w={};["status","statusText","headers"].forEach(O=>{w[O]=h[O]});const A=Z.toFiniteNumber(h.headers.get("content-length")),[P,I]=u&&Aa(A,hn(Ta(u),!0))||[];h=new Response(Na(h.body,Pa,P,()=>{I&&I(),E&&E()}),w)}l=l||"text";let y=await pn[Z.findKey(pn,l)||"text"](h,e);return!g&&E&&E(),await new Promise((w,A)=>{xa(w,A,{data:y,headers:yt.from(h.headers),status:h.status,statusText:h.statusText,config:e,request:m})})}catch(p){throw E&&E(),p&&p.name==="TypeError"&&/fetch/i.test(p.message)?Object.assign(new we("Network Error",we.ERR_NETWORK,e,m),{cause:p.cause||p}):we.from(p,p&&p.code,e,m)}});const li={http:Dh,xhr:gd,fetch:Td};Z.forEach(li,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Fa=e=>`- ${e}`,Sd=e=>Z.isFunction(e)||e===null||e===!1;var Ca={getAdapter:e=>{e=Z.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let i=0;i<t;i++){r=e[i];let a;if(n=r,!Sd(r)&&(n=li[(a=String(r)).toLowerCase()],n===void 0))throw new we(`Unknown adapter '${a}'`);if(n)break;o[a||"#"+i]=n}if(!n){const i=Object.entries(o).map(([u,f])=>`adapter ${u} `+(f===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since :
|
|
8
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[va]=this[va]={accessors:{}}).accessors,o=this.prototype;function i(a){const u=Lr(a);n[u]||(ad(o,a),n[u]=!0)}return Z.isArray(t)?t.forEach(i):i(t),this}};yt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Z.reduceDescriptors(yt.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}}),Z.freezeMethods(yt);function ai(e,t){const r=this||Br,n=t||r,o=yt.from(n.headers);let i=n.data;return Z.forEach(e,function(u){i=u.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Ea(e){return!!(e&&e.__CANCEL__)}function mr(e,t,r){we.call(this,e??"canceled",we.ERR_CANCELED,t,r),this.name="CanceledError"}Z.inherits(mr,we,{__CANCEL__:!0});function xa(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new we("Request failed with status code "+r.status,[we.ERR_BAD_REQUEST,we.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function ud(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ld(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,i=0,a;return t=t!==void 0?t:1e3,function(f){const l=Date.now(),s=n[i];a||(a=l),r[o]=f,n[o]=l;let c=i,d=0;for(;c!==o;)d+=r[c++],c=c%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),l-a<t)return;const T=s&&l-s;return T?Math.round(d*1e3/T):void 0}}function fd(e,t){let r=0,n=1e3/t,o,i;const a=(l,s=Date.now())=>{r=s,o=null,i&&(clearTimeout(i),i=null),e.apply(null,l)};return[(...l)=>{const s=Date.now(),c=s-r;c>=n?a(l,s):(o=l,i||(i=setTimeout(()=>{i=null,a(o)},n-c)))},()=>o&&a(o)]}const hn=(e,t,r=3)=>{let n=0;const o=ld(50,250);return fd(i=>{const a=i.loaded,u=i.lengthComputable?i.total:void 0,f=a-n,l=o(f),s=a<=u;n=a;const c={loaded:a,total:u,progress:u?a/u:void 0,bytes:f,rate:l||void 0,estimated:l&&u&&s?(u-a)/l:void 0,event:i,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(c)},r)},Aa=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Ta=e=>(...t)=>Z.asap(()=>e(...t));var cd=ut.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,ut.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(ut.origin),ut.navigator&&/(msie|trident)/i.test(ut.navigator.userAgent)):()=>!0,hd=ut.hasStandardBrowserEnv?{write(e,t,r,n,o,i){const a=[e+"="+encodeURIComponent(t)];Z.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),Z.isString(n)&&a.push("path="+n),Z.isString(o)&&a.push("domain="+o),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function dd(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function pd(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Sa(e,t,r){let n=!dd(t);return e&&(n||r==!1)?pd(e,t):t}const _a=e=>e instanceof yt?{...e}:e;function rr(e,t){t=t||{};const r={};function n(l,s,c,d){return Z.isPlainObject(l)&&Z.isPlainObject(s)?Z.merge.call({caseless:d},l,s):Z.isPlainObject(s)?Z.merge({},s):Z.isArray(s)?s.slice():s}function o(l,s,c,d){if(Z.isUndefined(s)){if(!Z.isUndefined(l))return n(void 0,l,c,d)}else return n(l,s,c,d)}function i(l,s){if(!Z.isUndefined(s))return n(void 0,s)}function a(l,s){if(Z.isUndefined(s)){if(!Z.isUndefined(l))return n(void 0,l)}else return n(void 0,s)}function u(l,s,c){if(c in t)return n(l,s);if(c in e)return n(void 0,l)}const f={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u,headers:(l,s,c)=>o(_a(l),_a(s),c,!0)};return Z.forEach(Object.keys(Object.assign({},e,t)),function(s){const c=f[s]||o,d=c(e[s],t[s],s);Z.isUndefined(d)&&c!==u||(r[s]=d)}),r}var Oa=e=>{const t=rr({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:u}=t;t.headers=a=yt.from(a),t.url=ya(Sa(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),u&&a.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):"")));let f;if(Z.isFormData(r)){if(ut.hasStandardBrowserEnv||ut.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((f=a.getContentType())!==!1){const[l,...s]=f?f.split(";").map(c=>c.trim()).filter(Boolean):[];a.setContentType([l||"multipart/form-data",...s].join("; "))}}if(ut.hasStandardBrowserEnv&&(n&&Z.isFunction(n)&&(n=n(t)),n||n!==!1&&cd(t.url))){const l=o&&i&&hd.read(i);l&&a.set(o,l)}return t},gd=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(r,n){const o=Oa(e);let i=o.data;const a=yt.from(o.headers).normalize();let{responseType:u,onUploadProgress:f,onDownloadProgress:l}=o,s,c,d,T,m;function E(){T&&T(),m&&m(),o.cancelToken&&o.cancelToken.unsubscribe(s),o.signal&&o.signal.removeEventListener("abort",s)}let x=new XMLHttpRequest;x.open(o.method.toUpperCase(),o.url,!0),x.timeout=o.timeout;function p(){if(!x)return;const g=yt.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),w={data:!u||u==="text"||u==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:g,config:e,request:x};xa(function(P){r(P),E()},function(P){n(P),E()},w),x=null}"onloadend"in x?x.onloadend=p:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(p)},x.onabort=function(){x&&(n(new we("Request aborted",we.ECONNABORTED,e,x)),x=null)},x.onerror=function(){n(new we("Network Error",we.ERR_NETWORK,e,x)),x=null},x.ontimeout=function(){let y=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const w=o.transitional||ba;o.timeoutErrorMessage&&(y=o.timeoutErrorMessage),n(new we(y,w.clarifyTimeoutError?we.ETIMEDOUT:we.ECONNABORTED,e,x)),x=null},i===void 0&&a.setContentType(null),"setRequestHeader"in x&&Z.forEach(a.toJSON(),function(y,w){x.setRequestHeader(w,y)}),Z.isUndefined(o.withCredentials)||(x.withCredentials=!!o.withCredentials),u&&u!=="json"&&(x.responseType=o.responseType),l&&([d,m]=hn(l,!0),x.addEventListener("progress",d)),f&&x.upload&&([c,T]=hn(f),x.upload.addEventListener("progress",c),x.upload.addEventListener("loadend",T)),(o.cancelToken||o.signal)&&(s=g=>{x&&(n(!g||g.type?new mr(null,e,x):g),x.abort(),x=null)},o.cancelToken&&o.cancelToken.subscribe(s),o.signal&&(o.signal.aborted?s():o.signal.addEventListener("abort",s)));const h=ud(o.url);if(h&&ut.protocols.indexOf(h)===-1){n(new we("Unsupported protocol "+h+":",we.ERR_BAD_REQUEST,e));return}x.send(i||null)})};const yd=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,o;const i=function(l){if(!o){o=!0,u();const s=l instanceof Error?l:this.reason;n.abort(s instanceof we?s:new mr(s instanceof Error?s.message:s))}};let a=t&&setTimeout(()=>{a=null,i(new we(`timeout ${t} of ms exceeded`,we.ETIMEDOUT))},t);const u=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(i):l.removeEventListener("abort",i)}),e=null)};e.forEach(l=>l.addEventListener("abort",i));const{signal:f}=n;return f.unsubscribe=()=>Z.asap(u),f}},md=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,o;for(;n<r;)o=n+t,yield e.slice(n,o),n=o},bd=async function*(e,t){for await(const r of wd(e))yield*md(r,t)},wd=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},Na=(e,t,r,n)=>{const o=bd(e,t);let i=0,a,u=f=>{a||(a=!0,n&&n(f))};return new ReadableStream({async pull(f){try{const{done:l,value:s}=await o.next();if(l){u(),f.close();return}let c=s.byteLength;if(r){let d=i+=c;r(d)}f.enqueue(new Uint8Array(s))}catch(l){throw u(l),l}},cancel(f){return u(f),o.return()}},{highWaterMark:2})},dn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ra=dn&&typeof ReadableStream=="function",vd=dn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ia=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Ed=Ra&&Ia(()=>{let e=!1;const t=new Request(ut.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Pa=64*1024,ui=Ra&&Ia(()=>Z.isReadableStream(new Response("").body)),pn={stream:ui&&(e=>e.body)};dn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!pn[t]&&(pn[t]=Z.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new we(`Response type '${t}' is not supported`,we.ERR_NOT_SUPPORT,n)})})})(new Response);const xd=async e=>{if(e==null)return 0;if(Z.isBlob(e))return e.size;if(Z.isSpecCompliantForm(e))return(await new Request(ut.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(Z.isArrayBufferView(e)||Z.isArrayBuffer(e))return e.byteLength;if(Z.isURLSearchParams(e)&&(e=e+""),Z.isString(e))return(await vd(e)).byteLength},Ad=async(e,t)=>{const r=Z.toFiniteNumber(e.getContentLength());return r??xd(t)};var Td=dn&&(async e=>{let{url:t,method:r,data:n,signal:o,cancelToken:i,timeout:a,onDownloadProgress:u,onUploadProgress:f,responseType:l,headers:s,withCredentials:c="same-origin",fetchOptions:d}=Oa(e);l=l?(l+"").toLowerCase():"text";let T=yd([o,i&&i.toAbortSignal()],a),m;const E=T&&T.unsubscribe&&(()=>{T.unsubscribe()});let x;try{if(f&&Ed&&r!=="get"&&r!=="head"&&(x=await Ad(s,n))!==0){let w=new Request(t,{method:"POST",body:n,duplex:"half"}),A;if(Z.isFormData(n)&&(A=w.headers.get("content-type"))&&s.setContentType(A),w.body){const[P,I]=Aa(x,hn(Ta(f)));n=Na(w.body,Pa,P,I)}}Z.isString(c)||(c=c?"include":"omit");const p="credentials"in Request.prototype;m=new Request(t,{...d,signal:T,method:r.toUpperCase(),headers:s.normalize().toJSON(),body:n,duplex:"half",credentials:p?c:void 0});let h=await fetch(m);const g=ui&&(l==="stream"||l==="response");if(ui&&(u||g&&E)){const w={};["status","statusText","headers"].forEach(O=>{w[O]=h[O]});const A=Z.toFiniteNumber(h.headers.get("content-length")),[P,I]=u&&Aa(A,hn(Ta(u),!0))||[];h=new Response(Na(h.body,Pa,P,()=>{I&&I(),E&&E()}),w)}l=l||"text";let y=await pn[Z.findKey(pn,l)||"text"](h,e);return!g&&E&&E(),await new Promise((w,A)=>{xa(w,A,{data:y,headers:yt.from(h.headers),status:h.status,statusText:h.statusText,config:e,request:m})})}catch(p){throw E&&E(),p&&p.name==="TypeError"&&/fetch/i.test(p.message)?Object.assign(new we("Network Error",we.ERR_NETWORK,e,m),{cause:p.cause||p}):we.from(p,p&&p.code,e,m)}});const li={http:Dh,xhr:gd,fetch:Td};Z.forEach(li,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Fa=e=>`- ${e}`,Sd=e=>Z.isFunction(e)||e===null||e===!1;var Ca={getAdapter:e=>{e=Z.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let i=0;i<t;i++){r=e[i];let a;if(n=r,!Sd(r)&&(n=li[(a=String(r)).toLowerCase()],n===void 0))throw new we(`Unknown adapter '${a}'`);if(n)break;o[a||"#"+i]=n}if(!n){const i=Object.entries(o).map(([u,f])=>`adapter ${u} `+(f===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since :
|
|
9
9
|
`+i.map(Fa).join(`
|
|
10
|
-
`):" "+Fa(i[0]):"as no adapter specified";throw new we("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n},adapters:li};function fi(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new mr(null,e)}function Ba(e){return fi(e),e.headers=yt.from(e.headers),e.data=ai.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ca.getAdapter(e.adapter||Br.adapter)(e).then(function(n){return fi(e),n.data=ai.call(e,e.transformResponse,n),n.headers=yt.from(n.headers),n},function(n){return Ea(n)||(fi(e),n&&n.response&&(n.response.data=ai.call(e,e.transformResponse,n.response),n.response.headers=yt.from(n.response.headers))),Promise.reject(n)})}const La="1.8.
|
|
10
|
+
`):" "+Fa(i[0]):"as no adapter specified";throw new we("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n},adapters:li};function fi(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new mr(null,e)}function Ba(e){return fi(e),e.headers=yt.from(e.headers),e.data=ai.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ca.getAdapter(e.adapter||Br.adapter)(e).then(function(n){return fi(e),n.data=ai.call(e,e.transformResponse,n),n.headers=yt.from(n.headers),n},function(n){return Ea(n)||(fi(e),n&&n.response&&(n.response.data=ai.call(e,e.transformResponse,n.response),n.response.headers=yt.from(n.response.headers))),Promise.reject(n)})}const La="1.8.4",gn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{gn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Ua={};gn.transitional=function(t,r,n){function o(i,a){return"[Axios v"+La+"] Transitional option '"+i+"'"+a+(n?". "+n:"")}return(i,a,u)=>{if(t===!1)throw new we(o(a," has been removed"+(r?" in "+r:"")),we.ERR_DEPRECATED);return r&&!Ua[a]&&(Ua[a]=!0,console.warn(o(a," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,a,u):!0}},gn.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function _d(e,t,r){if(typeof e!="object")throw new we("options must be an object",we.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],a=t[i];if(a){const u=e[i],f=u===void 0||a(u,i,e);if(f!==!0)throw new we("option "+i+" must be "+f,we.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new we("Unknown option "+i,we.ERR_BAD_OPTION)}}var yn={assertOptions:_d,validators:gn};const Ct=yn.validators;let nr=class{constructor(t){this.defaults=t,this.interceptors={request:new ma,response:new ma}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
|
11
11
|
`+i):n.stack=i}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=rr(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:i}=r;n!==void 0&&yn.assertOptions(n,{silentJSONParsing:Ct.transitional(Ct.boolean),forcedJSONParsing:Ct.transitional(Ct.boolean),clarifyTimeoutError:Ct.transitional(Ct.boolean)},!1),o!=null&&(Z.isFunction(o)?r.paramsSerializer={serialize:o}:yn.assertOptions(o,{encode:Ct.function,serialize:Ct.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),yn.assertOptions(r,{baseUrl:Ct.spelling("baseURL"),withXsrfToken:Ct.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let a=i&&Z.merge(i.common,i[r.method]);i&&Z.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),r.headers=yt.concat(a,i);const u=[];let f=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(r)===!1||(f=f&&E.synchronous,u.unshift(E.fulfilled,E.rejected))});const l=[];this.interceptors.response.forEach(function(E){l.push(E.fulfilled,E.rejected)});let s,c=0,d;if(!f){const m=[Ba.bind(this),void 0];for(m.unshift.apply(m,u),m.push.apply(m,l),d=m.length,s=Promise.resolve(r);c<d;)s=s.then(m[c++],m[c++]);return s}d=u.length;let T=r;for(c=0;c<d;){const m=u[c++],E=u[c++];try{T=m(T)}catch(x){E.call(this,x);break}}try{s=Ba.call(this,T)}catch(m){return Promise.reject(m)}for(c=0,d=l.length;c<d;)s=s.then(l[c++],l[c++]);return s}getUri(t){t=rr(this.defaults,t);const r=Sa(t.baseURL,t.url,t.allowAbsoluteUrls);return ya(r,t.params,t.paramsSerializer)}};Z.forEach(["delete","get","head","options"],function(t){nr.prototype[t]=function(r,n){return this.request(rr(n||{},{method:t,url:r,data:(n||{}).data}))}}),Z.forEach(["post","put","patch"],function(t){function r(n){return function(i,a,u){return this.request(rr(u||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}nr.prototype[t]=r(),nr.prototype[t+"Form"]=r(!0)});let Od=class Bc{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(o=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](o);n._listeners=null}),this.promise.then=o=>{let i;const a=new Promise(u=>{n.subscribe(u),i=u}).then(o);return a.cancel=function(){n.unsubscribe(i)},a},t(function(i,a,u){n.reason||(n.reason=new mr(i,a,u),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new Bc(function(o){t=o}),cancel:t}}};function Nd(e){return function(r){return e.apply(null,r)}}function Rd(e){return Z.isObject(e)&&e.isAxiosError===!0}const ci={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ci).forEach(([e,t])=>{ci[t]=e});function ja(e){const t=new nr(e),r=ea(nr.prototype.request,t);return Z.extend(r,nr.prototype,t,{allOwnKeys:!0}),Z.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return ja(rr(e,o))},r}const Ye=ja(Br);Ye.Axios=nr,Ye.CanceledError=mr,Ye.CancelToken=Od,Ye.isCancel=Ea,Ye.VERSION=La,Ye.toFormData=fn,Ye.AxiosError=we,Ye.Cancel=Ye.CanceledError,Ye.all=function(t){return Promise.all(t)},Ye.spread=Nd,Ye.isAxiosError=Rd,Ye.mergeConfig=rr,Ye.AxiosHeaders=yt,Ye.formToJSON=e=>wa(Z.isHTMLForm(e)?new FormData(e):e),Ye.getAdapter=Ca.getAdapter,Ye.HttpStatusCode=ci,Ye.default=Ye;const{Axios:f1,AxiosError:c1,CanceledError:h1,isCancel:d1,CancelToken:p1,VERSION:g1,all:y1,Cancel:m1,isAxiosError:b1,spread:w1,toFormData:v1,AxiosHeaders:E1,HttpStatusCode:x1,formToJSON:A1,getAdapter:T1,mergeConfig:S1}=Ye,mn=e=>encodeURIComponent(e).split("%2F").join("/"),Id=/^(\w+:\/\/[^/?]+)?(.*?)$/,Pd=e=>e.filter(t=>typeof t=="string"||typeof t=="number").map(t=>`${t}`).filter(t=>t),Fd=e=>{const t=e.join("/"),[,r="",n=""]=t.match(Id)||[];return{prefix:r,pathname:{parts:n.split("/").filter(o=>o!==""),hasLeading:/^\/+/.test(n),hasTrailing:/\/+$/.test(n)}}},Cd=(e,t)=>{const{prefix:r,pathname:n}=e,{parts:o,hasLeading:i,hasTrailing:a}=n,{leadingSlash:u,trailingSlash:f}=t,l=u===!0||u==="keep"&&i,s=f===!0||f==="keep"&&a;let c=r;return o.length>0&&((c||l)&&(c+="/"),c+=o.join("/")),s&&(c+="/"),!c&&l&&(c+="/"),c},_e=(...e)=>{const t=e[e.length-1];let r;t&&typeof t=="object"&&(r=t,e=e.slice(0,-1)),r={leadingSlash:!0,trailingSlash:!1,...r},e=Pd(e);const n=Fd(e);return Cd(n,r)};class Ma extends Error{constructor(r,n,o=null){super(r);ye(this,"response");ye(this,"statusCode");this.response=n,this.statusCode=o}}class Bd extends Ma{constructor(r,n,o,i=null){super(r,o,i);ye(this,"errorCode");this.errorCode=n}}function Ld(e,t=""){return`/public-files/${e}/${t}`.split("/").filter(Boolean).join("/")}function Ud(e,t=""){return`/ocm/${e}/${t}`.split("/").filter(Boolean).join("/")}var hi,ka;function jd(){if(ka)return hi;ka=1;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,i){for(var a="",u=0,f=-1,l=0,s,c=0;c<=o.length;++c){if(c<o.length)s=o.charCodeAt(c);else{if(s===47)break;s=47}if(s===47){if(!(f===c-1||l===1))if(f!==c-1&&l===2){if(a.length<2||u!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var d=a.lastIndexOf("/");if(d!==a.length-1){d===-1?(a="",u=0):(a=a.slice(0,d),u=a.length-1-a.lastIndexOf("/")),f=c,l=0;continue}}else if(a.length===2||a.length===1){a="",u=0,f=c,l=0;continue}}i&&(a.length>0?a+="/..":a="..",u=2)}else a.length>0?a+="/"+o.slice(f+1,c):a=o.slice(f+1,c),u=c-f-1;f=c,l=0}else s===46&&l!==-1?++l:l=-1}return a}function r(o,i){var a=i.dir||i.root,u=i.base||(i.name||"")+(i.ext||"");return a?a===i.root?a+u:a+o+u:u}var n={resolve:function(){for(var i="",a=!1,u,f=arguments.length-1;f>=-1&&!a;f--){var l;f>=0?l=arguments[f]:(u===void 0&&(u=me.cwd()),l=u),e(l),l.length!==0&&(i=l+"/"+i,a=l.charCodeAt(0)===47)}return i=t(i,!a),a?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(i){if(e(i),i.length===0)return".";var a=i.charCodeAt(0)===47,u=i.charCodeAt(i.length-1)===47;return i=t(i,!a),i.length===0&&!a&&(i="."),i.length>0&&u&&(i+="/"),a?"/"+i:i},isAbsolute:function(i){return e(i),i.length>0&&i.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var i,a=0;a<arguments.length;++a){var u=arguments[a];e(u),u.length>0&&(i===void 0?i=u:i+="/"+u)}return i===void 0?".":n.normalize(i)},relative:function(i,a){if(e(i),e(a),i===a||(i=n.resolve(i),a=n.resolve(a),i===a))return"";for(var u=1;u<i.length&&i.charCodeAt(u)===47;++u);for(var f=i.length,l=f-u,s=1;s<a.length&&a.charCodeAt(s)===47;++s);for(var c=a.length,d=c-s,T=l<d?l:d,m=-1,E=0;E<=T;++E){if(E===T){if(d>T){if(a.charCodeAt(s+E)===47)return a.slice(s+E+1);if(E===0)return a.slice(s+E)}else l>T&&(i.charCodeAt(u+E)===47?m=E:E===0&&(m=0));break}var x=i.charCodeAt(u+E),p=a.charCodeAt(s+E);if(x!==p)break;x===47&&(m=E)}var h="";for(E=u+m+1;E<=f;++E)(E===f||i.charCodeAt(E)===47)&&(h.length===0?h+="..":h+="/..");return h.length>0?h+a.slice(s+m):(s+=m,a.charCodeAt(s)===47&&++s,a.slice(s))},_makeLong:function(i){return i},dirname:function(i){if(e(i),i.length===0)return".";for(var a=i.charCodeAt(0),u=a===47,f=-1,l=!0,s=i.length-1;s>=1;--s)if(a=i.charCodeAt(s),a===47){if(!l){f=s;break}}else l=!1;return f===-1?u?"/":".":u&&f===1?"//":i.slice(0,f)},basename:function(i,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(i);var u=0,f=-1,l=!0,s;if(a!==void 0&&a.length>0&&a.length<=i.length){if(a.length===i.length&&a===i)return"";var c=a.length-1,d=-1;for(s=i.length-1;s>=0;--s){var T=i.charCodeAt(s);if(T===47){if(!l){u=s+1;break}}else d===-1&&(l=!1,d=s+1),c>=0&&(T===a.charCodeAt(c)?--c===-1&&(f=s):(c=-1,f=d))}return u===f?f=d:f===-1&&(f=i.length),i.slice(u,f)}else{for(s=i.length-1;s>=0;--s)if(i.charCodeAt(s)===47){if(!l){u=s+1;break}}else f===-1&&(l=!1,f=s+1);return f===-1?"":i.slice(u,f)}},extname:function(i){e(i);for(var a=-1,u=0,f=-1,l=!0,s=0,c=i.length-1;c>=0;--c){var d=i.charCodeAt(c);if(d===47){if(!l){u=c+1;break}continue}f===-1&&(l=!1,f=c+1),d===46?a===-1?a=c:s!==1&&(s=1):a!==-1&&(s=-1)}return a===-1||f===-1||s===0||s===1&&a===f-1&&a===u+1?"":i.slice(a,f)},format:function(i){if(i===null||typeof i!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof i);return r("/",i)},parse:function(i){e(i);var a={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return a;var u=i.charCodeAt(0),f=u===47,l;f?(a.root="/",l=1):l=0;for(var s=-1,c=0,d=-1,T=!0,m=i.length-1,E=0;m>=l;--m){if(u=i.charCodeAt(m),u===47){if(!T){c=m+1;break}continue}d===-1&&(T=!1,d=m+1),u===46?s===-1?s=m:E!==1&&(E=1):s!==-1&&(E=-1)}return s===-1||d===-1||E===0||E===1&&s===d-1&&s===c+1?d!==-1&&(c===0&&f?a.base=a.name=i.slice(1,d):a.base=a.name=i.slice(c,d)):(c===0&&f?(a.name=i.slice(1,s),a.base=i.slice(1,d)):(a.name=i.slice(c,s),a.base=i.slice(c,d)),a.ext=i.slice(s,d)),c>0?a.dir=i.slice(0,c-1):f&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return n.posix=n,hi=n,hi}var Da=jd(),$a=Pe(Da);class Ge{}ye(Ge,"Shared","S"),ye(Ge,"Shareable","R"),ye(Ge,"Mounted","M"),ye(Ge,"Deletable","D"),ye(Ge,"Renameable","N"),ye(Ge,"Moveable","V"),ye(Ge,"Updateable","NV"),ye(Ge,"FileUpdateable","W"),ye(Ge,"FolderCreateable","CK"),ye(Ge,"Deny","Z"),ye(Ge,"SecureView","X");var kt=(e=>(e.copy="COPY",e.delete="DELETE",e.lock="LOCK",e.mkcol="MKCOL",e.move="MOVE",e.propfind="PROPFIND",e.proppatch="PROPPATCH",e.put="PUT",e.report="REPORT",e.unlock="UNLOCK",e))(kt||{});const bn=e=>({value:e,type:null}),Md=e=>bn(e),Fe=e=>bn(e),di=e=>bn(e),kd=e=>bn(e),Dd={Permissions:Fe("permissions"),IsFavorite:di("favorite"),FileId:Fe("fileid"),FileParent:Fe("file-parent"),Name:Fe("name"),OwnerId:Fe("owner-id"),OwnerDisplayName:Fe("owner-display-name"),PrivateLink:Fe("privatelink"),ContentLength:di("getcontentlength"),ContentSize:di("size"),LastModifiedDate:Fe("getlastmodified"),Tags:Md("tags"),Audio:{value:"audio",type:null},Location:{value:"location",type:null},Image:{value:"image",type:null},Photo:{value:"photo",type:null},ETag:Fe("getetag"),MimeType:Fe("getcontenttype"),ResourceType:kd("resourcetype"),LockDiscovery:{value:"lockdiscovery",type:null},LockOwner:Fe("owner"),LockTime:Fe("locktime"),ActiveLock:{value:"activelock",type:null},DownloadURL:Fe("downloadURL"),Highlights:Fe("highlights"),MetaPathForUser:Fe("meta-path-for-user"),RemoteItemId:Fe("remote-item-id"),ShareId:Fe("shareid"),ShareRoot:Fe("shareroot"),ShareTypes:{value:"share-types",type:null},SharePermissions:Fe("share-permissions"),TrashbinOriginalFilename:Fe("trashbin-original-filename"),TrashbinOriginalLocation:Fe("trashbin-original-location"),TrashbinDeletedDate:Fe("trashbin-delete-datetime"),PublicLinkItemType:Fe("public-link-item-type"),PublicLinkPermission:Fe("public-link-permission"),PublicLinkExpiration:Fe("public-link-expiration"),PublicLinkShareDate:Fe("public-link-share-datetime"),PublicLinkShareOwner:Fe("public-link-share-owner")},ae=Object.fromEntries(Object.entries(Dd).map(([e,t])=>[e,t.value])),lr=class lr{};ye(lr,"Default",[ae.Permissions,ae.IsFavorite,ae.FileId,ae.FileParent,ae.Name,ae.LockDiscovery,ae.ActiveLock,ae.OwnerId,ae.OwnerDisplayName,ae.RemoteItemId,ae.ShareRoot,ae.ShareTypes,ae.PrivateLink,ae.ContentLength,ae.ContentSize,ae.LastModifiedDate,ae.ETag,ae.MimeType,ae.ResourceType,ae.DownloadURL,ae.Tags,ae.Audio,ae.Location,ae.Image,ae.Photo]),ye(lr,"PublicLink",lr.Default.concat([ae.PublicLinkItemType,ae.PublicLinkPermission,ae.PublicLinkExpiration,ae.PublicLinkShareDate,ae.PublicLinkShareOwner])),ye(lr,"Trashbin",[ae.ContentLength,ae.ResourceType,ae.TrashbinOriginalLocation,ae.TrashbinOriginalFilename,ae.TrashbinDeletedDate,ae.Permissions,ae.FileParent]),ye(lr,"DavNamespace",[ae.ContentLength,ae.LastModifiedDate,ae.ETag,ae.MimeType,ae.ResourceType,ae.LockDiscovery,ae.ActiveLock]);let ir=lr;var $d=typeof Ut=="object"&&Ut&&Ut.Object===Object&&Ut,qd=typeof self=="object"&&self&&self.Object===Object&&self,pi=$d||qd||Function("return this")(),br=pi.Symbol,qa=Object.prototype,Hd=qa.hasOwnProperty,Vd=qa.toString,Ur=br?br.toStringTag:void 0;function Wd(e){var t=Hd.call(e,Ur),r=e[Ur];try{e[Ur]=void 0;var n=!0}catch{}var o=Vd.call(e);return n&&(t?e[Ur]=r:delete e[Ur]),o}var Gd=Object.prototype,Kd=Gd.toString;function zd(e){return Kd.call(e)}var Xd="[object Null]",Yd="[object Undefined]",Ha=br?br.toStringTag:void 0;function Va(e){return e==null?e===void 0?Yd:Xd:Ha&&Ha in Object(e)?Wd(e):zd(e)}function Jd(e){return e!=null&&typeof e=="object"}var Zd="[object Symbol]";function gi(e){return typeof e=="symbol"||Jd(e)&&Va(e)==Zd}function Qd(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}var yi=Array.isArray,Wa=br?br.prototype:void 0,Ga=Wa?Wa.toString:void 0;function Ka(e){if(typeof e=="string")return e;if(yi(e))return Qd(e,Ka)+"";if(gi(e))return Ga?Ga.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function za(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ep="[object AsyncFunction]",tp="[object Function]",rp="[object GeneratorFunction]",np="[object Proxy]";function ip(e){if(!za(e))return!1;var t=Va(e);return t==tp||t==rp||t==ep||t==np}var mi=pi["__core-js_shared__"],Xa=function(){var e=/[^.]+$/.exec(mi&&mi.keys&&mi.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function op(e){return!!Xa&&Xa in e}var sp=Function.prototype,ap=sp.toString;function up(e){if(e!=null){try{return ap.call(e)}catch{}try{return e+""}catch{}}return""}var lp=/[\\^$.*+?()[\]{}|]/g,fp=/^\[object .+?Constructor\]$/,cp=Function.prototype,hp=Object.prototype,dp=cp.toString,pp=hp.hasOwnProperty,gp=RegExp("^"+dp.call(pp).replace(lp,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function yp(e){if(!za(e)||op(e))return!1;var t=ip(e)?gp:fp;return t.test(up(e))}function mp(e,t){return e==null?void 0:e[t]}function Ya(e,t){var r=mp(e,t);return yp(r)?r:void 0}function bp(e,t){return e===t||e!==e&&t!==t}var wp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vp=/^\w*$/;function Ep(e,t){if(yi(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||gi(e)?!0:vp.test(e)||!wp.test(e)||t!=null&&e in Object(t)}var jr=Ya(Object,"create");function xp(){this.__data__=jr?jr(null):{},this.size=0}function Ap(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Tp="__lodash_hash_undefined__",Sp=Object.prototype,_p=Sp.hasOwnProperty;function Op(e){var t=this.__data__;if(jr){var r=t[e];return r===Tp?void 0:r}return _p.call(t,e)?t[e]:void 0}var Np=Object.prototype,Rp=Np.hasOwnProperty;function Ip(e){var t=this.__data__;return jr?t[e]!==void 0:Rp.call(t,e)}var Pp="__lodash_hash_undefined__";function Fp(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=jr&&t===void 0?Pp:t,this}function or(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}or.prototype.clear=xp,or.prototype.delete=Ap,or.prototype.get=Op,or.prototype.has=Ip,or.prototype.set=Fp;function Cp(){this.__data__=[],this.size=0}function wn(e,t){for(var r=e.length;r--;)if(bp(e[r][0],t))return r;return-1}var Bp=Array.prototype,Lp=Bp.splice;function Up(e){var t=this.__data__,r=wn(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Lp.call(t,r,1),--this.size,!0}function jp(e){var t=this.__data__,r=wn(t,e);return r<0?void 0:t[r][1]}function Mp(e){return wn(this.__data__,e)>-1}function kp(e,t){var r=this.__data__,n=wn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function wr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}wr.prototype.clear=Cp,wr.prototype.delete=Up,wr.prototype.get=jp,wr.prototype.has=Mp,wr.prototype.set=kp;var Dp=Ya(pi,"Map");function $p(){this.size=0,this.__data__={hash:new or,map:new(Dp||wr),string:new or}}function qp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function vn(e,t){var r=e.__data__;return qp(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Hp(e){var t=vn(this,e).delete(e);return this.size-=t?1:0,t}function Vp(e){return vn(this,e).get(e)}function Wp(e){return vn(this,e).has(e)}function Gp(e,t){var r=vn(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function sr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}sr.prototype.clear=$p,sr.prototype.delete=Hp,sr.prototype.get=Vp,sr.prototype.has=Wp,sr.prototype.set=Gp;var Kp="Expected a function";function bi(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Kp);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(bi.Cache||sr),r}bi.Cache=sr;var zp=500;function Xp(e){var t=bi(e,function(n){return r.size===zp&&r.clear(),n}),r=t.cache;return t}var Yp=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Jp=/\\(\\)?/g,Zp=Xp(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Yp,function(r,n,o,i){t.push(o?i.replace(Jp,"$1"):n||r)}),t});function Mr(e){return e==null?"":Ka(e)}function Qp(e,t){return yi(e)?e:Ep(e,t)?[e]:Zp(Mr(e))}function eg(e){if(typeof e=="string"||gi(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function tg(e,t){t=Qp(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[eg(t[r++])];return r&&r==n?e:void 0}function rg(e,t,r){var n=e==null?void 0:tg(e,t);return n===void 0?r:n}function ng(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n<o;)i[n]=e[n+t];return i}function ig(e,t,r){var n=e.length;return r=r===void 0?n:r,ng(e,t,r)}var og="\\ud800-\\udfff",sg="\\u0300-\\u036f",ag="\\ufe20-\\ufe2f",ug="\\u20d0-\\u20ff",lg=sg+ag+ug,fg="\\ufe0e\\ufe0f",cg="\\u200d",hg=RegExp("["+cg+og+lg+fg+"]");function Ja(e){return hg.test(e)}function dg(e){return e.split("")}var Za="\\ud800-\\udfff",pg="\\u0300-\\u036f",gg="\\ufe20-\\ufe2f",yg="\\u20d0-\\u20ff",mg=pg+gg+yg,bg="\\ufe0e\\ufe0f",wg="["+Za+"]",wi="["+mg+"]",vi="\\ud83c[\\udffb-\\udfff]",vg="(?:"+wi+"|"+vi+")",Qa="[^"+Za+"]",eu="(?:\\ud83c[\\udde6-\\uddff]){2}",tu="[\\ud800-\\udbff][\\udc00-\\udfff]",Eg="\\u200d",ru=vg+"?",nu="["+bg+"]?",xg="(?:"+Eg+"(?:"+[Qa,eu,tu].join("|")+")"+nu+ru+")*",Ag=nu+ru+xg,Tg="(?:"+[Qa+wi+"?",wi,eu,tu,wg].join("|")+")",Sg=RegExp(vi+"(?="+vi+")|"+Tg+Ag,"g");function _g(e){return e.match(Sg)||[]}function Og(e){return Ja(e)?_g(e):dg(e)}function Ng(e){return function(t){t=Mr(t);var r=Ja(t)?Og(t):void 0,n=r?r[0]:t.charAt(0),o=r?ig(r,1).join(""):t.slice(1);return n[e]()+o}}var Rg=Ng("toUpperCase");function Ig(e){return Rg(Mr(e).toLowerCase())}function Pg(e,t,r,n){for(var o=-1,i=e==null?0:e.length;++o<i;)r=t(r,e[o],o,e);return r}function Fg(e){return function(t){return e==null?void 0:e[t]}}var Cg={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Bg=Fg(Cg),Lg=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ug="\\u0300-\\u036f",jg="\\ufe20-\\ufe2f",Mg="\\u20d0-\\u20ff",kg=Ug+jg+Mg,Dg="["+kg+"]",$g=RegExp(Dg,"g");function qg(e){return e=Mr(e),e&&e.replace(Lg,Bg).replace($g,"")}var Hg=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function Vg(e){return e.match(Hg)||[]}var Wg=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function Gg(e){return Wg.test(e)}var iu="\\ud800-\\udfff",Kg="\\u0300-\\u036f",zg="\\ufe20-\\ufe2f",Xg="\\u20d0-\\u20ff",Yg=Kg+zg+Xg,ou="\\u2700-\\u27bf",su="a-z\\xdf-\\xf6\\xf8-\\xff",Jg="\\xac\\xb1\\xd7\\xf7",Zg="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Qg="\\u2000-\\u206f",e0=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",au="A-Z\\xc0-\\xd6\\xd8-\\xde",t0="\\ufe0e\\ufe0f",uu=Jg+Zg+Qg+e0,lu="['’]",fu="["+uu+"]",r0="["+Yg+"]",cu="\\d+",n0="["+ou+"]",hu="["+su+"]",du="[^"+iu+uu+cu+ou+su+au+"]",i0="\\ud83c[\\udffb-\\udfff]",o0="(?:"+r0+"|"+i0+")",s0="[^"+iu+"]",pu="(?:\\ud83c[\\udde6-\\uddff]){2}",gu="[\\ud800-\\udbff][\\udc00-\\udfff]",vr="["+au+"]",a0="\\u200d",yu="(?:"+hu+"|"+du+")",u0="(?:"+vr+"|"+du+")",mu="(?:"+lu+"(?:d|ll|m|re|s|t|ve))?",bu="(?:"+lu+"(?:D|LL|M|RE|S|T|VE))?",wu=o0+"?",vu="["+t0+"]?",l0="(?:"+a0+"(?:"+[s0,pu,gu].join("|")+")"+vu+wu+")*",f0="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",c0="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",h0=vu+wu+l0,d0="(?:"+[n0,pu,gu].join("|")+")"+h0,p0=RegExp([vr+"?"+hu+"+"+mu+"(?="+[fu,vr,"$"].join("|")+")",u0+"+"+bu+"(?="+[fu,vr+yu,"$"].join("|")+")",vr+"?"+yu+"+"+mu,vr+"+"+bu,c0,f0,cu,d0].join("|"),"g");function g0(e){return e.match(p0)||[]}function y0(e,t,r){return e=Mr(e),t=t,t===void 0?Gg(e)?g0(e):Vg(e):e.match(t)||[]}var m0="['’]",b0=RegExp(m0,"g");function w0(e){return function(t){return Pg(y0(qg(t).replace(b0,"")),e,"")}}var v0=w0(function(e,t,r){return t=t.toLowerCase(),e+(r?Ig(t):t)});const E0={complex:["tar.bz2","tar.gz","tar.xz"]},Ei=e=>e.replace(/[^A-Za-z0-9\-_]/g,""),Eu=(e,t)=>!e||typeof e!="string"?"":e.indexOf("!")>=0?e.split("!")[t]:"",x0=e=>Eu(e,0),xu=e=>Eu(e,1),Au=e=>{const t=e.name;if(e.type==="directory"||e.isFolder)return"";const r=t.split(".");if(r.length>2)for(let n=0;n<r.length;n++){const o=r.slice(n,r.length).join(".");if(E0.complex.includes(o))return o}return r.length<2?"":r[r.length-1]},En=e=>{if(!e)return e;const t={};return Object.keys(e).forEach(r=>{t[v0(r)]=e[r]}),t};function Er(e,t=[]){var m,E,x;const r=((m=e.props[ae.Name])==null?void 0:m.toString())||Da.basename(e.filename),n=e.props[ae.FileId],o=e.type==="directory";let i;e.filename.startsWith("/files")||e.filename.startsWith("/space")?i=e.filename.split("/").slice(3).join("/"):i=e.filename,i.startsWith("/")||(i=`/${i}`);const a=Au({...e,name:r}),u=e.props[ae.LockDiscovery];let f,l,s;u&&(f=u[ae.ActiveLock],l=f[ae.LockOwner],s=f[ae.LockTime]);let c=[];e.props[ae.ShareTypes]&&(c=e.props[ae.ShareTypes]["share-type"],Array.isArray(c)||(c=[c]));const d={};for(const p of t||[]){const h=p.split(":").pop();e.props[h]&&(d[p]=e.props[h])}const T={id:n,fileId:n,storageId:x0(n),parentFolderId:e.props[ae.FileParent],mimeType:e.props[ae.MimeType],name:r,extension:o?"":a,path:i,webDavPath:e.filename,type:o?"folder":e.type,isFolder:o,locked:!!f,lockOwner:l,lockTime:s,processing:e.processing||!1,mdate:e.props[ae.LastModifiedDate],size:o?((E=e.props[ae.ContentSize])==null?void 0:E.toString())||"0":((x=e.props[ae.ContentLength])==null?void 0:x.toString())||"0",indicators:[],permissions:e.props[ae.Permissions]||"",starred:e.props[ae.IsFavorite]!==0,etag:e.props[ae.ETag],shareTypes:c,privateLink:e.props[ae.PrivateLink],downloadURL:e.props[ae.DownloadURL],remoteItemId:e.props[ae.RemoteItemId],remoteItemPath:e.props[ae.ShareRoot],owner:{id:e.props[ae.OwnerId],displayName:e.props[ae.OwnerDisplayName]},tags:(e.props[ae.Tags]||"").toString().split(",").filter(Boolean),audio:En(e.props[ae.Audio]),location:En(e.props[ae.Location]),image:En(e.props[ae.Image]),photo:En(e.props[ae.Photo]),extraProps:d,canUpload:function(){return this.permissions.indexOf(Ge.FolderCreateable)>=0},canDownload:function(){return this.permissions.indexOf(Ge.SecureView)===-1},canBeDeleted:function(){return this.permissions.indexOf(Ge.Deletable)>=0},canRename:function(){return this.permissions.indexOf(Ge.Renameable)>=0},canShare:function({ability:p}){return p.can("create-all","Share")&&this.permissions.indexOf(Ge.Shareable)>=0},canCreate:function(){return this.permissions.indexOf(Ge.FolderCreateable)>=0},canEditTags:function(){return this.permissions.indexOf(Ge.Updateable)>=0||this.permissions.indexOf(Ge.FileUpdateable)>=0},isMounted:function(){return this.permissions.indexOf(Ge.Mounted)>=0},isReceivedShare:function(){return this.permissions.indexOf(Ge.Shared)>=0},isShareRoot(){return e.props[ae.ShareRoot]?e.filename.split("/").length===3:!1},canDeny:function(){return this.permissions.indexOf(Ge.Deny)>=0},getDomSelector:()=>Ei(n)};return Object.defineProperty(T,"nodeId",{get(){return xu(this.id)}}),T}function A0(e){var i;const t=e.type==="directory",r=(i=e.props[ae.TrashbinOriginalFilename])==null?void 0:i.toString(),n=Au({name:r,type:e.type}),o=$a.basename(e.filename);return{type:t?"folder":e.type,isFolder:t,ddate:e.props[ae.TrashbinDeletedDate],name:$a.basename(r),extension:n,path:_e(e.props[ae.TrashbinOriginalLocation],{leadingSlash:!0}),id:o,parentFolderId:e.props[ae.FileParent],indicators:[],webDavPath:"",canUpload:()=>!1,canDownload:()=>!1,canBeDeleted:()=>!0,canBeRestored:function(){return!0},canRename:()=>!1,canShare:()=>!1,canCreate:()=>!1,isMounted:()=>!1,isReceivedShare:()=>!1,getDomSelector:()=>Ei(o)}}var bt=(e=>(e.createUpload="libre.graph/driveItem/upload/create",e.createPermissions="libre.graph/driveItem/permissions/create",e.createChildren="libre.graph/driveItem/children/create",e.readBasic="libre.graph/driveItem/basic/read",e.readPath="libre.graph/driveItem/path/read",e.readQuota="libre.graph/driveItem/quota/read",e.readContent="libre.graph/driveItem/content/read",e.readChildren="libre.graph/driveItem/children/read",e.readDeleted="libre.graph/driveItem/deleted/read",e.readPermissions="libre.graph/driveItem/permissions/read",e.readVersions="libre.graph/driveItem/versions/read",e.updatePath="libre.graph/driveItem/path/update",e.updateDeleted="libre.graph/driveItem/deleted/update",e.updatePermissions="libre.graph/driveItem/permissions/update",e.updateVersions="libre.graph/driveItem/versions/update",e.deleteStandard="libre.graph/driveItem/standard/delete",e.deleteDeleted="libre.graph/driveItem/deleted/delete",e.deletePermissions="libre.graph/driveItem/permissions/delete",e))(bt||{});const Tu=e=>(e==null?void 0:e.driveType)==="personal",xn=e=>(e==null?void 0:e.driveType)==="public";function T0(e,t){return _e("spaces",e,t,{leadingSlash:!0})}function xi(e,t=""){return _e("spaces","trash-bin",e,t,{leadingSlash:!0})}function S0(e){var c,d,T,m,E,x;const t=e.publicLinkPassword,r=(c=e.props)==null?void 0:c[ae.FileId],n=(d=e.props)==null?void 0:d[ae.PublicLinkItemType],o=(T=e.props)==null?void 0:T[ae.PublicLinkPermission],i=(m=e.props)==null?void 0:m[ae.PublicLinkExpiration],a=(E=e.props)==null?void 0:E[ae.PublicLinkShareDate],u=(x=e.props)==null?void 0:x[ae.PublicLinkShareOwner],f=e.publicLinkType;let l,s;return f==="ocm"?(l=`ocm/${e.id}`,s=Ud(e.id)):(l=`public/${e.id}`,s=Ld(e.id)),Object.assign(_0({...e,driveType:"public",driveAlias:l,webDavPath:s},{}),{...r&&{fileId:r},...t&&{publicLinkPassword:t},...n&&{publicLinkItemType:n},...o&&{publicLinkPermission:parseInt(o)},...i&&{publicLinkExpiration:i},...a&&{publicLinkShareDate:a},...u&&{publicLinkShareOwner:u},publicLinkType:f})}function _0(e,t){var c,d,T,m,E,x;let r,n;e.special&&(r=e.special.find(p=>p.specialFolder.name==="image"),n=e.special.find(p=>p.specialFolder.name==="readme"),r&&(r.webDavUrl=decodeURI(r.webDavUrl)),n&&(n.webDavUrl=decodeURI(n.webDavUrl)));const o=((d=(c=e.root)==null?void 0:c.deleted)==null?void 0:d.state)==="trashed",i=_e(e.webDavPath||T0(e.id),{leadingSlash:!0}),a=_e(e.serverUrl,"remote.php/dav",i),u=_e(e.webDavTrashPath||xi(e.id),{leadingSlash:!0}),f=_e(e.serverUrl,"remote.php/dav",u),l=(m=(T=e.root)==null?void 0:T.permissions)==null?void 0:m.reduce((p,h)=>{var g;return p[(h.grantedToV2.user||h.grantedToV2.group).id]={grantedTo:h.grantedToV2,permissions:O0(h,t),roleId:(g=h.roles)==null?void 0:g[0]},p},{}),s={id:e.id,fileId:e.id,storageId:e.id,mimeType:"",name:e.name,description:e.description,extension:"",path:"/",webDavPath:i,webDavTrashPath:u,driveAlias:e.driveAlias,driveType:e.driveType,type:"space",isFolder:!0,mdate:e.lastModifiedDateTime,size:((E=e.quota)==null?void 0:E.used)||0,indicators:[],tags:[],permissions:"",starred:!1,etag:"",shareTypes:[],privateLink:e.webUrl,downloadURL:"",owner:(x=e.owner)==null?void 0:x.user,disabled:o,root:e.root,spaceQuota:e.quota,members:l||{},spaceImageData:r,spaceReadmeData:n,canUpload:function({user:p}={}){return Tu(this)&&this.isOwner(p)?!0:vt(this,p).includes(bt.createUpload)},canDownload:function(){return!0},canBeDeleted:function({user:p,ability:h}={}){return this.disabled?h!=null&&h.can("delete-all","Drive")?!0:vt(this,p).includes(bt.deletePermissions):!1},canRename:function({user:p,ability:h}={}){return h!=null&&h.can("update-all","Drive")?!0:vt(this,p).includes(bt.deletePermissions)},canEditDescription:function({user:p,ability:h}={}){return h!=null&&h.can("update-all","Drive")?!0:vt(this,p).includes(bt.deletePermissions)},canRestore:function({user:p,ability:h}={}){return this.disabled?h!=null&&h.can("update-all","Drive")?!0:vt(this,p).includes(bt.deletePermissions):!1},canDisable:function({user:p,ability:h}={}){return this.disabled?!1:h!=null&&h.can("delete-all","Drive")?!0:vt(this,p).includes(bt.deletePermissions)},canShare:function({user:p}={}){return vt(this,p).includes(bt.createPermissions)},canEditImage:function({user:p}={}){return this.disabled?!1:vt(this,p).includes(bt.deletePermissions)},canEditReadme:function({user:p}={}){return this.disabled?!1:vt(this,p).includes(bt.deletePermissions)},canRestoreFromTrashbin:function({user:p}={}){return vt(this,p).includes(bt.updateDeleted)},canDeleteFromTrashBin:function({user:p}={}){return vt(this,p).includes(bt.deletePermissions)},canListVersions:function({user:p}={}){return Tu(this)&&this.isOwner(p)?!0:vt(this,p).includes(bt.readVersions)},canCreate:function(){return!0},canEditTags:function(){return!1},isMounted:function(){return!0},isReceivedShare:function(){return!1},isShareRoot:function(){return["share","mountpoint","public"].includes(e.driveType)},canDeny:()=>!1,getDomSelector:()=>Ei(e.id),getDriveAliasAndItem({path:p}){return _e(this.driveAlias,p,{leadingSlash:!1})},getWebDavUrl({path:p}){return _e(a,p)},getWebDavTrashUrl({path:p}){return _e(f,p)},isMember(p){var h;return xn(this)?!1:this.isOwner(p)||this.members[p.id]?!0:(h=p.memberOf)==null?void 0:h.some(g=>!!this.members[g.id])},isOwner(p){var h;return(p==null?void 0:p.id)===((h=this.owner)==null?void 0:h.id)}};return Object.defineProperty(s,"nodeId",{get(){return xu(this.id)}}),s}function vt(e,t){var o;const r=[];if(!t)return r;const n=e.members[t.id];return n&&r.push(...n.permissions),(o=t.memberOf)==null||o.forEach(i=>{const a=e.members[i.id];a&&r.push(...a.permissions)}),[...new Set(r)]}function O0(e,t){var n;if(e["@libre.graph.permissions.actions"])return e["@libre.graph.permissions.actions"];const r=t[(n=e.roles)==null?void 0:n[0]];if(r){const o=r.rolePermissions.find(({condition:i})=>i==="exists @Resource.Root");return(o==null?void 0:o.allowedResourceActions)||[]}return[]}const N0=(e,t)=>{const r=new URL(e);r.pathname=[...r.pathname.split("/"),"cloud","capabilities"].filter(Boolean).join("/"),r.searchParams.append("format","json");const n=r.href;return{async getCapabilities(){const o=await t.get(n);return rg(o,"data.ocs.data",{capabilities:null,version:null})}}};var Ai={},An={exports:{}},Su;function Ti(){if(Su)return An.exports;Su=1;var e=typeof Reflect=="object"?Reflect:null,t=e&&typeof e.apply=="function"?e.apply:function(w,A,P){return Function.prototype.apply.call(w,A,P)},r;e&&typeof e.ownKeys=="function"?r=e.ownKeys:Object.getOwnPropertySymbols?r=function(w){return Object.getOwnPropertyNames(w).concat(Object.getOwnPropertySymbols(w))}:r=function(w){return Object.getOwnPropertyNames(w)};function n(y){console&&console.warn&&console.warn(y)}var o=Number.isNaN||function(w){return w!==w};function i(){i.init.call(this)}An.exports=i,An.exports.once=p,i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var a=10;function u(y){if(typeof y!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof y)}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(y){if(typeof y!="number"||y<0||o(y))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+y+".");a=y}}),i.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(w){if(typeof w!="number"||w<0||o(w))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+w+".");return this._maxListeners=w,this};function f(y){return y._maxListeners===void 0?i.defaultMaxListeners:y._maxListeners}i.prototype.getMaxListeners=function(){return f(this)},i.prototype.emit=function(w){for(var A=[],P=1;P<arguments.length;P++)A.push(arguments[P]);var I=w==="error",O=this._events;if(O!==void 0)I=I&&O.error===void 0;else if(!I)return!1;if(I){var j;if(A.length>0&&(j=A[0]),j instanceof Error)throw j;var G=new Error("Unhandled error."+(j?" ("+j.message+")":""));throw G.context=j,G}var L=O[w];if(L===void 0)return!1;if(typeof L=="function")t(L,this,A);else for(var D=L.length,oe=m(L,D),P=0;P<D;++P)t(oe[P],this,A);return!0};function l(y,w,A,P){var I,O,j;if(u(A),O=y._events,O===void 0?(O=y._events=Object.create(null),y._eventsCount=0):(O.newListener!==void 0&&(y.emit("newListener",w,A.listener?A.listener:A),O=y._events),j=O[w]),j===void 0)j=O[w]=A,++y._eventsCount;else if(typeof j=="function"?j=O[w]=P?[A,j]:[j,A]:P?j.unshift(A):j.push(A),I=f(y),I>0&&j.length>I&&!j.warned){j.warned=!0;var G=new Error("Possible EventEmitter memory leak detected. "+j.length+" "+String(w)+" listeners added. Use emitter.setMaxListeners() to increase limit");G.name="MaxListenersExceededWarning",G.emitter=y,G.type=w,G.count=j.length,n(G)}return y}i.prototype.addListener=function(w,A){return l(this,w,A,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(w,A){return l(this,w,A,!0)};function s(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function c(y,w,A){var P={fired:!1,wrapFn:void 0,target:y,type:w,listener:A},I=s.bind(P);return I.listener=A,P.wrapFn=I,I}i.prototype.once=function(w,A){return u(A),this.on(w,c(this,w,A)),this},i.prototype.prependOnceListener=function(w,A){return u(A),this.prependListener(w,c(this,w,A)),this},i.prototype.removeListener=function(w,A){var P,I,O,j,G;if(u(A),I=this._events,I===void 0)return this;if(P=I[w],P===void 0)return this;if(P===A||P.listener===A)--this._eventsCount===0?this._events=Object.create(null):(delete I[w],I.removeListener&&this.emit("removeListener",w,P.listener||A));else if(typeof P!="function"){for(O=-1,j=P.length-1;j>=0;j--)if(P[j]===A||P[j].listener===A){G=P[j].listener,O=j;break}if(O<0)return this;O===0?P.shift():E(P,O),P.length===1&&(I[w]=P[0]),I.removeListener!==void 0&&this.emit("removeListener",w,G||A)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(w){var A,P,I;if(P=this._events,P===void 0)return this;if(P.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):P[w]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete P[w]),this;if(arguments.length===0){var O=Object.keys(P),j;for(I=0;I<O.length;++I)j=O[I],j!=="removeListener"&&this.removeAllListeners(j);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(A=P[w],typeof A=="function")this.removeListener(w,A);else if(A!==void 0)for(I=A.length-1;I>=0;I--)this.removeListener(w,A[I]);return this};function d(y,w,A){var P=y._events;if(P===void 0)return[];var I=P[w];return I===void 0?[]:typeof I=="function"?A?[I.listener||I]:[I]:A?x(I):m(I,I.length)}i.prototype.listeners=function(w){return d(this,w,!0)},i.prototype.rawListeners=function(w){return d(this,w,!1)},i.listenerCount=function(y,w){return typeof y.listenerCount=="function"?y.listenerCount(w):T.call(y,w)},i.prototype.listenerCount=T;function T(y){var w=this._events;if(w!==void 0){var A=w[y];if(typeof A=="function")return 1;if(A!==void 0)return A.length}return 0}i.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]};function m(y,w){for(var A=new Array(w),P=0;P<w;++P)A[P]=y[P];return A}function E(y,w){for(;w+1<y.length;w++)y[w]=y[w+1];y.pop()}function x(y){for(var w=new Array(y.length),A=0;A<w.length;++A)w[A]=y[A].listener||y[A];return w}function p(y,w){return new Promise(function(A,P){function I(j){y.removeListener(w,O),P(j)}function O(){typeof y.removeListener=="function"&&y.removeListener("error",I),A([].slice.call(arguments))}g(y,w,O,{once:!0}),w!=="error"&&h(y,I,{once:!0})})}function h(y,w,A){typeof y.on=="function"&&g(y,"error",w,A)}function g(y,w,A,P){if(typeof y.on=="function")P.once?y.once(w,A):y.on(w,A);else if(typeof y.addEventListener=="function")y.addEventListener(w,function I(O){P.once&&y.removeEventListener(w,I),A(O)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof y)}return An.exports}var Tn={exports:{}},_u;function ar(){return _u||(_u=1,typeof Object.create=="function"?Tn.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Tn.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}),Tn.exports}var Si,Ou;function Nu(){return Ou||(Ou=1,Si=Ti().EventEmitter),Si}var _i={},Ru;function Sn(){return Ru||(Ru=1,function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var t={},r={};r.byteLength=s,r.toByteArray=d,r.fromByteArray=E;for(var n=[],o=[],i=typeof Uint8Array<"u"?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,f=a.length;u<f;++u)n[u]=a[u],o[a.charCodeAt(u)]=u;o[45]=62,o[95]=63;function l(h){var g=h.length;if(g%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var y=h.indexOf("=");y===-1&&(y=g);var w=y===g?0:4-y%4;return[y,w]}function s(h){var g=l(h),y=g[0],w=g[1];return(y+w)*3/4-w}function c(h,g,y){return(g+y)*3/4-y}function d(h){var g,y=l(h),w=y[0],A=y[1],P=new i(c(h,w,A)),I=0,O=A>0?w-4:w,j;for(j=0;j<O;j+=4)g=o[h.charCodeAt(j)]<<18|o[h.charCodeAt(j+1)]<<12|o[h.charCodeAt(j+2)]<<6|o[h.charCodeAt(j+3)],P[I++]=g>>16&255,P[I++]=g>>8&255,P[I++]=g&255;return A===2&&(g=o[h.charCodeAt(j)]<<2|o[h.charCodeAt(j+1)]>>4,P[I++]=g&255),A===1&&(g=o[h.charCodeAt(j)]<<10|o[h.charCodeAt(j+1)]<<4|o[h.charCodeAt(j+2)]>>2,P[I++]=g>>8&255,P[I++]=g&255),P}function T(h){return n[h>>18&63]+n[h>>12&63]+n[h>>6&63]+n[h&63]}function m(h,g,y){for(var w,A=[],P=g;P<y;P+=3)w=(h[P]<<16&16711680)+(h[P+1]<<8&65280)+(h[P+2]&255),A.push(T(w));return A.join("")}function E(h){for(var g,y=h.length,w=y%3,A=[],P=16383,I=0,O=y-w;I<O;I+=P)A.push(m(h,I,I+P>O?O:I+P));return w===1?(g=h[y-1],A.push(n[g>>2]+n[g<<4&63]+"==")):w===2&&(g=(h[y-2]<<8)+h[y-1],A.push(n[g>>10]+n[g>>4&63]+n[g<<2&63]+"=")),A.join("")}var x={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */x.read=function(h,g,y,w,A){var P,I,O=A*8-w-1,j=(1<<O)-1,G=j>>1,L=-7,D=y?A-1:0,oe=y?-1:1,re=h[g+D];for(D+=oe,P=re&(1<<-L)-1,re>>=-L,L+=O;L>0;P=P*256+h[g+D],D+=oe,L-=8);for(I=P&(1<<-L)-1,P>>=-L,L+=w;L>0;I=I*256+h[g+D],D+=oe,L-=8);if(P===0)P=1-G;else{if(P===j)return I?NaN:(re?-1:1)*(1/0);I=I+Math.pow(2,w),P=P-G}return(re?-1:1)*I*Math.pow(2,P-w)},x.write=function(h,g,y,w,A,P){var I,O,j,G=P*8-A-1,L=(1<<G)-1,D=L>>1,oe=A===23?Math.pow(2,-24)-Math.pow(2,-77):0,re=w?0:P-1,he=w?1:-1,fe=g<0||g===0&&1/g<0?1:0;for(g=Math.abs(g),isNaN(g)||g===1/0?(O=isNaN(g)?1:0,I=L):(I=Math.floor(Math.log(g)/Math.LN2),g*(j=Math.pow(2,-I))<1&&(I--,j*=2),I+D>=1?g+=oe/j:g+=oe*Math.pow(2,1-D),g*j>=2&&(I++,j/=2),I+D>=L?(O=0,I=L):I+D>=1?(O=(g*j-1)*Math.pow(2,A),I=I+D):(O=g*Math.pow(2,D-1)*Math.pow(2,A),I=0));A>=8;h[y+re]=O&255,re+=he,O/=256,A-=8);for(I=I<<A|O,G+=A;G>0;h[y+re]=I&255,re+=he,I/=256,G-=8);h[y+re-he]|=fe*128};/*!
|
|
12
12
|
* The buffer module from node.js, for the browser.
|
|
13
13
|
*
|