From 52ca2d26eef69100a49086cefa5ef04cf422a203 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 24 Feb 2024 02:15:23 +0000 Subject: [PATCH 1/2] Build(deps): Bump axios from 1.6.5 to 1.6.7 Bumps [axios](https://github.com/axios/axios) from 1.6.5 to 1.6.7. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v1.6.5...v1.6.7) --- updated-dependencies: - dependency-name: axios dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 028d4c80..d570e022 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "@nextcloud/router": "^2.1.2", "@nextcloud/typings": "^1.8.0", "@nextcloud/vue": "^8.4.0", - "axios": "^1.6.5", + "axios": "^1.6.7", "date-fns": "^3.3.1", "highlight.js": "^11.9.0", "json-string-splitter": "^1.0.0", @@ -5508,9 +5508,9 @@ } }, "node_modules/axios": { - "version": "1.6.5", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", - "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", + "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", "dependencies": { "follow-redirects": "^1.15.4", "form-data": "^4.0.0", diff --git a/package.json b/package.json index 48ead043..2937038c 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "@nextcloud/router": "^2.1.2", "@nextcloud/typings": "^1.8.0", "@nextcloud/vue": "^8.4.0", - "axios": "^1.6.5", + "axios": "^1.6.7", "date-fns": "^3.3.1", "highlight.js": "^11.9.0", "json-string-splitter": "^1.0.0", From bd2440b27be92861211d1bd192a2c270c5349d5f Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Fri, 8 Mar 2024 16:52:49 +0100 Subject: [PATCH 2/2] chore: compile assets Signed-off-by: Maksim Sukharev --- js/logreader-main.mjs | 5 +++-- js/logreader-main.mjs.map | 2 +- js/vendor.LICENSE.txt | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/js/logreader-main.mjs b/js/logreader-main.mjs index 4c6aa951..1b6a6b3e 100644 --- a/js/logreader-main.mjs +++ b/js/logreader-main.mjs @@ -2,11 +2,12 @@ const BN="logreader";var Dr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function bE(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var Ue={},ME={},E0={};E0.byteLength=LN,E0.toByteArray=IN,E0.fromByteArray=PN;for(var Er=[],Pt=[],CN=typeof Uint8Array<"u"?Uint8Array:Array,Hu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xa=0,YN=Hu.length;xa0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function LN(e){var t=wE(e),r=t[0],n=t[1];return(r+n)*3/4-n}function xN(e,t,r){return(t+r)*3/4-r}function IN(e){var t,r=wE(e),n=r[0],a=r[1],i=new CN(xN(e,n,a)),s=0,o=a>0?n-4:n,l;for(l=0;l>16&255,i[s++]=t>>8&255,i[s++]=t&255;return a===2&&(t=Pt[e.charCodeAt(l)]<<2|Pt[e.charCodeAt(l+1)]>>4,i[s++]=t&255),a===1&&(t=Pt[e.charCodeAt(l)]<<10|Pt[e.charCodeAt(l+1)]<<4|Pt[e.charCodeAt(l+2)]>>2,i[s++]=t>>8&255,i[s++]=t&255),i}function ZN(e){return Er[e>>18&63]+Er[e>>12&63]+Er[e>>6&63]+Er[e&63]}function kN(e,t,r){for(var n,a=[],i=t;io?o:s+i));return n===1?(t=e[r-1],a.push(Er[t>>2]+Er[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],a.push(Er[t>>10]+Er[t>>4&63]+Er[t<<2&63]+"=")),a.join("")}var oT={};oT.read=function(e,t,r,n,a){var i,s,o=a*8-n-1,l=(1<>1,c=-7,d=r?a-1:0,p=r?-1:1,m=e[t+d];for(d+=p,i=m&(1<<-c)-1,m>>=-c,c+=o;c>0;i=i*256+e[t+d],d+=p,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=n;c>0;s=s*256+e[t+d],d+=p,c-=8);if(i===0)i=1-u;else{if(i===l)return s?NaN:(m?-1:1)*(1/0);s=s+Math.pow(2,n),i=i-u}return(m?-1:1)*s*Math.pow(2,i-n)},oT.write=function(e,t,r,n,a,i){var s,o,l,u=i*8-a-1,c=(1<>1,p=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=n?0:i-1,f=n?1:-1,v=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+d>=1?t+=p/l:t+=p*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=c?(o=0,s=c):s+d>=1?(o=(t*l-1)*Math.pow(2,a),s=s+d):(o=t*Math.pow(2,d-1)*Math.pow(2,a),s=0));a>=8;e[r+m]=o&255,m+=f,o/=256,a-=8);for(s=s<0;e[r+m]=s&255,m+=f,s/=256,u-=8);e[r+m-f]|=v*128};(function(e){const t=E0,r=oT,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=o,e.SlowBuffer=Y,e.INSPECT_MAX_BYTES=50;const a=2147483647;e.kMaxLength=a,o.TYPED_ARRAY_SUPPORT=i(),!o.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 i(){try{const T=new Uint8Array(1),h={foo:function(){return 42}};return Object.setPrototypeOf(h,Uint8Array.prototype),Object.setPrototypeOf(T,h),T.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function s(T){if(T>a)throw new RangeError('The value "'+T+'" is invalid for option "size"');const h=new Uint8Array(T);return Object.setPrototypeOf(h,o.prototype),h}function o(T,h,E){if(typeof T=="number"){if(typeof h=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return d(T)}return l(T,h,E)}o.poolSize=8192;function l(T,h,E){if(typeof T=="string")return p(T,h);if(ArrayBuffer.isView(T))return f(T);if(T==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof T);if(se(T,ArrayBuffer)||T&&se(T.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(se(T,SharedArrayBuffer)||T&&se(T.buffer,SharedArrayBuffer)))return v(T,h,E);if(typeof T=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const R=T.valueOf&&T.valueOf();if(R!=null&&R!==T)return o.from(R,h,E);const C=g(T);if(C)return C;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof T[Symbol.toPrimitive]=="function")return o.from(T[Symbol.toPrimitive]("string"),h,E);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof T)}o.from=function(T,h,E){return l(T,h,E)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function u(T){if(typeof T!="number")throw new TypeError('"size" argument must be of type number');if(T<0)throw new RangeError('The value "'+T+'" is invalid for option "size"')}function c(T,h,E){return u(T),T<=0?s(T):h!==void 0?typeof E=="string"?s(T).fill(h,E):s(T).fill(h):s(T)}o.alloc=function(T,h,E){return c(T,h,E)};function d(T){return u(T),s(T<0?0:N(T)|0)}o.allocUnsafe=function(T){return d(T)},o.allocUnsafeSlow=function(T){return d(T)};function p(T,h){if((typeof h!="string"||h==="")&&(h="utf8"),!o.isEncoding(h))throw new TypeError("Unknown encoding: "+h);const E=b(T,h)|0;let R=s(E);const C=R.write(T,h);return C!==E&&(R=R.slice(0,C)),R}function m(T){const h=T.length<0?0:N(T.length)|0,E=s(h);for(let R=0;R=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return T|0}function Y(T){return+T!=T&&(T=0),o.alloc(+T)}o.isBuffer=function(T){return T!=null&&T._isBuffer===!0&&T!==o.prototype},o.compare=function(T,h){if(se(T,Uint8Array)&&(T=o.from(T,T.offset,T.byteLength)),se(h,Uint8Array)&&(h=o.from(h,h.offset,h.byteLength)),!o.isBuffer(T)||!o.isBuffer(h))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(T===h)return 0;let E=T.length,R=h.length;for(let C=0,P=Math.min(E,R);CR.length?(o.isBuffer(P)||(P=o.from(P)),P.copy(R,C)):Uint8Array.prototype.set.call(R,P,C);else if(o.isBuffer(P))P.copy(R,C);else throw new TypeError('"list" argument must be an Array of Buffers');C+=P.length}return R};function b(T,h){if(o.isBuffer(T))return T.length;if(ArrayBuffer.isView(T)||se(T,ArrayBuffer))return T.byteLength;if(typeof T!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof T);const E=T.length,R=arguments.length>2&&arguments[2]===!0;if(!R&&E===0)return 0;let C=!1;for(;;)switch(h){case"ascii":case"latin1":case"binary":return E;case"utf8":case"utf-8":return un(T).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E*2;case"hex":return E>>>1;case"base64":return Cr(T).length;default:if(C)return R?-1:un(T).length;h=(""+h).toLowerCase(),C=!0}}o.byteLength=b;function I(T,h,E){let R=!1;if((h===void 0||h<0)&&(h=0),h>this.length||((E===void 0||E>this.length)&&(E=this.length),E<=0)||(E>>>=0,h>>>=0,E<=h))return"";for(T||(T="utf8");;)switch(T){case"hex":return w(this,h,E);case"utf8":case"utf-8":return O(this,h,E);case"ascii":return _(this,h,E);case"latin1":case"binary":return D(this,h,E);case"base64":return F(this,h,E);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,h,E);default:if(R)throw new TypeError("Unknown encoding: "+T);T=(T+"").toLowerCase(),R=!0}}o.prototype._isBuffer=!0;function U(T,h,E){const R=T[h];T[h]=T[E],T[E]=R}o.prototype.swap16=function(){const T=this.length;if(T%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let h=0;hh&&(T+=" ... "),""},n&&(o.prototype[n]=o.prototype.inspect),o.prototype.compare=function(T,h,E,R,C){if(se(T,Uint8Array)&&(T=o.from(T,T.offset,T.byteLength)),!o.isBuffer(T))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof T);if(h===void 0&&(h=0),E===void 0&&(E=T?T.length:0),R===void 0&&(R=0),C===void 0&&(C=this.length),h<0||E>T.length||R<0||C>this.length)throw new RangeError("out of range index");if(R>=C&&h>=E)return 0;if(R>=C)return-1;if(h>=E)return 1;if(h>>>=0,E>>>=0,R>>>=0,C>>>=0,this===T)return 0;let P=C-R,V=E-h;const De=Math.min(P,V),ze=this.slice(R,C),Se=T.slice(h,E);for(let Oe=0;Oe2147483647?E=2147483647:E<-2147483648&&(E=-2147483648),E=+E,ut(E)&&(E=C?0:T.length-1),E<0&&(E=T.length+E),E>=T.length){if(C)return-1;E=T.length-1}else if(E<0)if(C)E=0;else return-1;if(typeof h=="string"&&(h=o.from(h,R)),o.isBuffer(h))return h.length===0?-1:$(T,h,E,R,C);if(typeof h=="number")return h=h&255,typeof Uint8Array.prototype.indexOf=="function"?C?Uint8Array.prototype.indexOf.call(T,h,E):Uint8Array.prototype.lastIndexOf.call(T,h,E):$(T,[h],E,R,C);throw new TypeError("val must be string, number or Buffer")}function $(T,h,E,R,C){let P=1,V=T.length,De=h.length;if(R!==void 0&&(R=String(R).toLowerCase(),R==="ucs2"||R==="ucs-2"||R==="utf16le"||R==="utf-16le")){if(T.length<2||h.length<2)return-1;P=2,V/=2,De/=2,E/=2}function ze(Oe,Ie){return P===1?Oe[Ie]:Oe.readUInt16BE(Ie*P)}let Se;if(C){let Oe=-1;for(Se=E;SeV&&(E=V-De),Se=E;Se>=0;Se--){let Oe=!0;for(let Ie=0;IeC&&(R=C)):R=C;const P=h.length;R>P/2&&(R=P/2);let V;for(V=0;V>>0,isFinite(E)?(E=E>>>0,R===void 0&&(R="utf8")):(R=E,E=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const C=this.length-h;if((E===void 0||E>C)&&(E=C),T.length>0&&(E<0||h<0)||h>this.length)throw new RangeError("Attempt to write outside buffer bounds");R||(R="utf8");let P=!1;for(;;)switch(R){case"hex":return H(this,T,h,E);case"utf8":case"utf-8":return B(this,T,h,E);case"ascii":case"latin1":case"binary":return A(this,T,h,E);case"base64":return y(this,T,h,E);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,T,h,E);default:if(P)throw new TypeError("Unknown encoding: "+R);R=(""+R).toLowerCase(),P=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function F(T,h,E){return h===0&&E===T.length?t.fromByteArray(T):t.fromByteArray(T.slice(h,E))}function O(T,h,E){E=Math.min(T.length,E);const R=[];let C=h;for(;C239?4:P>223?3:P>191?2:1;if(C+De<=E){let ze,Se,Oe,Ie;switch(De){case 1:P<128&&(V=P);break;case 2:ze=T[C+1],(ze&192)===128&&(Ie=(P&31)<<6|ze&63,Ie>127&&(V=Ie));break;case 3:ze=T[C+1],Se=T[C+2],(ze&192)===128&&(Se&192)===128&&(Ie=(P&15)<<12|(ze&63)<<6|Se&63,Ie>2047&&(Ie<55296||Ie>57343)&&(V=Ie));break;case 4:ze=T[C+1],Se=T[C+2],Oe=T[C+3],(ze&192)===128&&(Se&192)===128&&(Oe&192)===128&&(Ie=(P&15)<<18|(ze&63)<<12|(Se&63)<<6|Oe&63,Ie>65535&&Ie<1114112&&(V=Ie))}}V===null?(V=65533,De=1):V>65535&&(V-=65536,R.push(V>>>10&1023|55296),V=56320|V&1023),R.push(V),C+=De}return z(R)}const Z=4096;function z(T){const h=T.length;if(h<=Z)return String.fromCharCode.apply(String,T);let E="",R=0;for(;RR)&&(E=R);let C="";for(let P=h;PE&&(T=E),h<0?(h+=E,h<0&&(h=0)):h>E&&(h=E),hE)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(T,h,E){T=T>>>0,h=h>>>0,E||L(T,h,this.length);let R=this[T],C=1,P=0;for(;++P>>0,h=h>>>0,E||L(T,h,this.length);let R=this[T+--h],C=1;for(;h>0&&(C*=256);)R+=this[T+--h]*C;return R},o.prototype.readUint8=o.prototype.readUInt8=function(T,h){return T=T>>>0,h||L(T,1,this.length),this[T]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(T,h){return T=T>>>0,h||L(T,2,this.length),this[T]|this[T+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(T,h){return T=T>>>0,h||L(T,2,this.length),this[T]<<8|this[T+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(T,h){return T=T>>>0,h||L(T,4,this.length),(this[T]|this[T+1]<<8|this[T+2]<<16)+this[T+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(T,h){return T=T>>>0,h||L(T,4,this.length),this[T]*16777216+(this[T+1]<<16|this[T+2]<<8|this[T+3])},o.prototype.readBigUInt64LE=ct(function(T){T=T>>>0,It(T,"offset");const h=this[T],E=this[T+7];(h===void 0||E===void 0)&&qe(T,this.length-8);const R=h+this[++T]*2**8+this[++T]*2**16+this[++T]*2**24,C=this[++T]+this[++T]*2**8+this[++T]*2**16+E*2**24;return BigInt(R)+(BigInt(C)<>>0,It(T,"offset");const h=this[T],E=this[T+7];(h===void 0||E===void 0)&&qe(T,this.length-8);const R=h*2**24+this[++T]*2**16+this[++T]*2**8+this[++T],C=this[++T]*2**24+this[++T]*2**16+this[++T]*2**8+E;return(BigInt(R)<>>0,h=h>>>0,E||L(T,h,this.length);let R=this[T],C=1,P=0;for(;++P=C&&(R-=Math.pow(2,8*h)),R},o.prototype.readIntBE=function(T,h,E){T=T>>>0,h=h>>>0,E||L(T,h,this.length);let R=h,C=1,P=this[T+--R];for(;R>0&&(C*=256);)P+=this[T+--R]*C;return C*=128,P>=C&&(P-=Math.pow(2,8*h)),P},o.prototype.readInt8=function(T,h){return T=T>>>0,h||L(T,1,this.length),this[T]&128?(255-this[T]+1)*-1:this[T]},o.prototype.readInt16LE=function(T,h){T=T>>>0,h||L(T,2,this.length);const E=this[T]|this[T+1]<<8;return E&32768?E|4294901760:E},o.prototype.readInt16BE=function(T,h){T=T>>>0,h||L(T,2,this.length);const E=this[T+1]|this[T]<<8;return E&32768?E|4294901760:E},o.prototype.readInt32LE=function(T,h){return T=T>>>0,h||L(T,4,this.length),this[T]|this[T+1]<<8|this[T+2]<<16|this[T+3]<<24},o.prototype.readInt32BE=function(T,h){return T=T>>>0,h||L(T,4,this.length),this[T]<<24|this[T+1]<<16|this[T+2]<<8|this[T+3]},o.prototype.readBigInt64LE=ct(function(T){T=T>>>0,It(T,"offset");const h=this[T],E=this[T+7];(h===void 0||E===void 0)&&qe(T,this.length-8);const R=this[T+4]+this[T+5]*2**8+this[T+6]*2**16+(E<<24);return(BigInt(R)<>>0,It(T,"offset");const h=this[T],E=this[T+7];(h===void 0||E===void 0)&&qe(T,this.length-8);const R=(h<<24)+this[++T]*2**16+this[++T]*2**8+this[++T];return(BigInt(R)<>>0,h||L(T,4,this.length),r.read(this,T,!0,23,4)},o.prototype.readFloatBE=function(T,h){return T=T>>>0,h||L(T,4,this.length),r.read(this,T,!1,23,4)},o.prototype.readDoubleLE=function(T,h){return T=T>>>0,h||L(T,8,this.length),r.read(this,T,!0,52,8)},o.prototype.readDoubleBE=function(T,h){return T=T>>>0,h||L(T,8,this.length),r.read(this,T,!1,52,8)};function W(T,h,E,R,C,P){if(!o.isBuffer(T))throw new TypeError('"buffer" argument must be a Buffer instance');if(h>C||hT.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(T,h,E,R){if(T=+T,h=h>>>0,E=E>>>0,!R){const V=Math.pow(2,8*E)-1;W(this,T,h,E,V,0)}let C=1,P=0;for(this[h]=T&255;++P>>0,E=E>>>0,!R){const V=Math.pow(2,8*E)-1;W(this,T,h,E,V,0)}let C=E-1,P=1;for(this[h+C]=T&255;--C>=0&&(P*=256);)this[h+C]=T/P&255;return h+E},o.prototype.writeUint8=o.prototype.writeUInt8=function(T,h,E){return T=+T,h=h>>>0,E||W(this,T,h,1,255,0),this[h]=T&255,h+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(T,h,E){return T=+T,h=h>>>0,E||W(this,T,h,2,65535,0),this[h]=T&255,this[h+1]=T>>>8,h+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(T,h,E){return T=+T,h=h>>>0,E||W(this,T,h,2,65535,0),this[h]=T>>>8,this[h+1]=T&255,h+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(T,h,E){return T=+T,h=h>>>0,E||W(this,T,h,4,4294967295,0),this[h+3]=T>>>24,this[h+2]=T>>>16,this[h+1]=T>>>8,this[h]=T&255,h+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(T,h,E){return T=+T,h=h>>>0,E||W(this,T,h,4,4294967295,0),this[h]=T>>>24,this[h+1]=T>>>16,this[h+2]=T>>>8,this[h+3]=T&255,h+4};function J(T,h,E,R,C){ln(h,R,C,T,E,7);let P=Number(h&BigInt(4294967295));T[E++]=P,P=P>>8,T[E++]=P,P=P>>8,T[E++]=P,P=P>>8,T[E++]=P;let V=Number(h>>BigInt(32)&BigInt(4294967295));return T[E++]=V,V=V>>8,T[E++]=V,V=V>>8,T[E++]=V,V=V>>8,T[E++]=V,E}function re(T,h,E,R,C){ln(h,R,C,T,E,7);let P=Number(h&BigInt(4294967295));T[E+7]=P,P=P>>8,T[E+6]=P,P=P>>8,T[E+5]=P,P=P>>8,T[E+4]=P;let V=Number(h>>BigInt(32)&BigInt(4294967295));return T[E+3]=V,V=V>>8,T[E+2]=V,V=V>>8,T[E+1]=V,V=V>>8,T[E]=V,E+8}o.prototype.writeBigUInt64LE=ct(function(T,h=0){return J(this,T,h,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=ct(function(T,h=0){return re(this,T,h,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(T,h,E,R){if(T=+T,h=h>>>0,!R){const De=Math.pow(2,8*E-1);W(this,T,h,E,De-1,-De)}let C=0,P=1,V=0;for(this[h]=T&255;++C>0)-V&255;return h+E},o.prototype.writeIntBE=function(T,h,E,R){if(T=+T,h=h>>>0,!R){const De=Math.pow(2,8*E-1);W(this,T,h,E,De-1,-De)}let C=E-1,P=1,V=0;for(this[h+C]=T&255;--C>=0&&(P*=256);)T<0&&V===0&&this[h+C+1]!==0&&(V=1),this[h+C]=(T/P>>0)-V&255;return h+E},o.prototype.writeInt8=function(T,h,E){return T=+T,h=h>>>0,E||W(this,T,h,1,127,-128),T<0&&(T=255+T+1),this[h]=T&255,h+1},o.prototype.writeInt16LE=function(T,h,E){return T=+T,h=h>>>0,E||W(this,T,h,2,32767,-32768),this[h]=T&255,this[h+1]=T>>>8,h+2},o.prototype.writeInt16BE=function(T,h,E){return T=+T,h=h>>>0,E||W(this,T,h,2,32767,-32768),this[h]=T>>>8,this[h+1]=T&255,h+2},o.prototype.writeInt32LE=function(T,h,E){return T=+T,h=h>>>0,E||W(this,T,h,4,2147483647,-2147483648),this[h]=T&255,this[h+1]=T>>>8,this[h+2]=T>>>16,this[h+3]=T>>>24,h+4},o.prototype.writeInt32BE=function(T,h,E){return T=+T,h=h>>>0,E||W(this,T,h,4,2147483647,-2147483648),T<0&&(T=4294967295+T+1),this[h]=T>>>24,this[h+1]=T>>>16,this[h+2]=T>>>8,this[h+3]=T&255,h+4},o.prototype.writeBigInt64LE=ct(function(T,h=0){return J(this,T,h,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=ct(function(T,h=0){return re(this,T,h,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function de(T,h,E,R,C,P){if(E+R>T.length)throw new RangeError("Index out of range");if(E<0)throw new RangeError("Index out of range")}function fe(T,h,E,R,C){return h=+h,E=E>>>0,C||de(T,h,E,4),r.write(T,h,E,R,23,4),E+4}o.prototype.writeFloatLE=function(T,h,E){return fe(this,T,h,!0,E)},o.prototype.writeFloatBE=function(T,h,E){return fe(this,T,h,!1,E)};function xe(T,h,E,R,C){return h=+h,E=E>>>0,C||de(T,h,E,8),r.write(T,h,E,R,52,8),E+8}o.prototype.writeDoubleLE=function(T,h,E){return xe(this,T,h,!0,E)},o.prototype.writeDoubleBE=function(T,h,E){return xe(this,T,h,!1,E)},o.prototype.copy=function(T,h,E,R){if(!o.isBuffer(T))throw new TypeError("argument should be a Buffer");if(E||(E=0),!R&&R!==0&&(R=this.length),h>=T.length&&(h=T.length),h||(h=0),R>0&&R=this.length)throw new RangeError("Index out of range");if(R<0)throw new RangeError("sourceEnd out of bounds");R>this.length&&(R=this.length),T.length-h>>0,E=E===void 0?this.length:E>>>0,T||(T=0);let C;if(typeof T=="number")for(C=h;C2**32?C=Jt(String(E)):typeof E=="bigint"&&(C=String(E),(E>BigInt(2)**BigInt(32)||E<-(BigInt(2)**BigInt(32)))&&(C=Jt(C)),C+="n"),R+=` It must be ${h}. Received ${C}`,R},RangeError);function Jt(T){let h="",E=T.length;const R=T[0]==="-"?1:0;for(;E>=R+4;E-=3)h=`_${T.slice(E-3,E)}${h}`;return`${T.slice(0,E)}${h}`}function qt(T,h,E){It(h,"offset"),(T[h]===void 0||T[h+E]===void 0)&&qe(h,T.length-(E+1))}function ln(T,h,E,R,C,P){if(T>E||T3?h===0||h===BigInt(0)?De=`>= 0${V} and < 2${V} ** ${(P+1)*8}${V}`:De=`>= -(2${V} ** ${(P+1)*8-1}${V}) and < 2 ** ${(P+1)*8-1}${V}`:De=`>= ${h}${V} and <= ${E}${V}`,new Je.ERR_OUT_OF_RANGE("value",De,T)}qt(R,C,P)}function It(T,h){if(typeof T!="number")throw new Je.ERR_INVALID_ARG_TYPE(h,"number",T)}function qe(T,h,E){throw Math.floor(T)!==T?(It(T,E),new Je.ERR_OUT_OF_RANGE(E||"offset","an integer",T)):h<0?new Je.ERR_BUFFER_OUT_OF_BOUNDS:new Je.ERR_OUT_OF_RANGE(E||"offset",`>= ${E?1:0} and <= ${h}`,T)}const Br=/[^+/0-9A-Za-z-_]/g;function Xe(T){if(T=T.split("=")[0],T=T.trim().replace(Br,""),T.length<2)return"";for(;T.length%4!==0;)T=T+"=";return T}function un(T,h){h=h||1/0;let E;const R=T.length;let C=null;const P=[];for(let V=0;V55295&&E<57344){if(!C){if(E>56319){(h-=3)>-1&&P.push(239,191,189);continue}else if(V+1===R){(h-=3)>-1&&P.push(239,191,189);continue}C=E;continue}if(E<56320){(h-=3)>-1&&P.push(239,191,189),C=E;continue}E=(C-55296<<10|E-56320)+65536}else C&&(h-=3)>-1&&P.push(239,191,189);if(C=null,E<128){if((h-=1)<0)break;P.push(E)}else if(E<2048){if((h-=2)<0)break;P.push(E>>6|192,E&63|128)}else if(E<65536){if((h-=3)<0)break;P.push(E>>12|224,E>>6&63|128,E&63|128)}else if(E<1114112){if((h-=4)<0)break;P.push(E>>18|240,E>>12&63|128,E>>6&63|128,E&63|128)}else throw new Error("Invalid code point")}return P}function cn(T){const h=[];for(let E=0;E>8,C=E%256,P.push(C),P.push(R);return P}function Cr(T){return t.toByteArray(Xe(T))}function Re(T,h,E,R){let C;for(C=0;C=h.length||C>=T.length);++C)h[C+E]=T[C];return C}function se(T,h){return T instanceof h||T!=null&&T.constructor!=null&&T.constructor.name!=null&&T.constructor.name===h.name}function ut(T){return T!==T}const Zt=function(){const T="0123456789abcdef",h=new Array(256);for(let E=0;E<16;++E){const R=E*16;for(let C=0;C<16;++C)h[R+C]=T[E]+T[C]}return h}();function ct(T){return typeof BigInt>"u"?Tn:T}function Tn(){throw new Error("BigInt not supported")}})(ME);var _E={exports:{}},Ze=_E.exports={},mr,hr;function lT(){throw new Error("setTimeout has not been defined")}function uT(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?mr=setTimeout:mr=lT}catch{mr=lT}try{typeof clearTimeout=="function"?hr=clearTimeout:hr=uT}catch{hr=uT}})();function BE(e){if(mr===setTimeout)return setTimeout(e,0);if((mr===lT||!mr)&&setTimeout)return mr=setTimeout,setTimeout(e,0);try{return mr(e,0)}catch{try{return mr.call(null,e,0)}catch{return mr.call(this,e,0)}}}function UN(e){if(hr===clearTimeout)return clearTimeout(e);if((hr===uT||!hr)&&clearTimeout)return hr=clearTimeout,clearTimeout(e);try{return hr(e)}catch{try{return hr.call(null,e)}catch{return hr.call(this,e)}}}var Pr=[],ci=!1,ua,g0=-1;function GN(){!ci||!ua||(ci=!1,ua.length?Pr=ua.concat(Pr):g0=-1,Pr.length&&CE())}function CE(){if(!ci){var e=BE(GN);ci=!0;for(var t=Pr.length;t;){for(ua=Pr,Pr=[];++g01)for(var r=1;rs&&s.__esModule?s:{default:s},a=n(r),i=globalThis||void 0||self;Object.defineProperty(e,"Buffer",{enumerable:!0,get:()=>t.Buffer}),Object.defineProperty(e,"process",{enumerable:!0,get:()=>a.default}),e.global=i})(Ue);var zN={},St=Object.freeze({}),Te=Array.isArray;function ie(e){return e==null}function k(e){return e!=null}function Ye(e){return e===!0}function $N(e){return e===!1}function ro(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function be(e){return typeof e=="function"}function st(e){return e!==null&&typeof e=="object"}var zd=Object.prototype.toString;function ht(e){return zd.call(e)==="[object Object]"}function jN(e){return zd.call(e)==="[object RegExp]"}function LE(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function cT(e){return k(e)&&typeof e.then=="function"&&typeof e.catch=="function"}function VN(e){return e==null?"":Array.isArray(e)||ht(e)&&e.toString===zd?JSON.stringify(e,null,2):String(e)}function Ls(e){var t=parseFloat(e);return isNaN(t)?e:t}function sr(e,t){for(var r=Object.create(null),n=e.split(","),a=0;a-1)return e.splice(n,1)}}var WN=Object.prototype.hasOwnProperty;function mt(e,t){return WN.call(e,t)}function Oa(e){var t=Object.create(null);return function(r){var n=t[r];return n||(t[r]=e(r))}}var KN=/-(\w)/g,Ea=Oa(function(e){return e.replace(KN,function(t,r){return r?r.toUpperCase():""})}),JN=Oa(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),qN=/\B([A-Z])/g,no=Oa(function(e){return e.replace(qN,"-$1").toLowerCase()});function XN(e,t){function r(n){var a=arguments.length;return a?a>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return r._length=e.length,r}function eR(e,t){return e.bind(t)}var xE=Function.prototype.bind?eR:XN;function TT(e,t){t=t||0;for(var r=e.length-t,n=new Array(r);r--;)n[r]=e[r+t];return n}function we(e,t){for(var r in t)e[r]=t[r];return e}function IE(e){for(var t={},r=0;r0,GE=Qt&&Qt.indexOf("edge/")>0;Qt&&Qt.indexOf("android")>0;var iR=Qt&&/iphone|ipad|ipod|ios/.test(Qt),Hm=Qt&&Qt.match(/firefox\/(\d+)/),pT={}.watch,HE=!1;if(Ct)try{var zm={};Object.defineProperty(zm,"passive",{get:function(){HE=!0}}),window.addEventListener("test-passive",null,zm)}catch{}var _o,Gn=function(){return _o===void 0&&(!Ct&&typeof Ue.global<"u"?_o=Ue.global.process&&zN.VUE_ENV==="server":_o=!1),_o},Q0=Ct&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Ti(e){return typeof e=="function"&&/native code/.test(e.toString())}var ao=typeof Symbol<"u"&&Ti(Symbol)&&typeof Reflect<"u"&&Ti(Reflect.ownKeys),xs;typeof Set<"u"&&Ti(Set)?xs=Set:xs=function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(t){return this.set[t]===!0},e.prototype.add=function(t){this.set[t]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Yt=null;function zE(){return Yt&&{proxy:Yt}}function Ln(e){e===void 0&&(e=null),e||Yt&&Yt._scope.off(),Yt=e,e&&e._scope.on()}var Lt=function(){function e(t,r,n,a,i,s,o,l){this.tag=t,this.data=r,this.children=n,this.text=a,this.elm=i,this.ns=void 0,this.context=s,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=r&&r.key,this.componentOptions=o,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=l,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),Di=function(e){e===void 0&&(e="");var t=new Lt;return t.text=e,t.isComment=!0,t};function Xa(e){return new Lt(void 0,void 0,void 0,String(e))}function mT(e){var t=new Lt(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var sR=0,D0=[],oR=function(){for(var e=0;e1)return r&&be(t)?t.call(n):t}}var Km=Oa(function(e){var t=e.charAt(0)==="&";e=t?e.slice(1):e;var r=e.charAt(0)==="~";e=r?e.slice(1):e;var n=e.charAt(0)==="!";return e=n?e.slice(1):e,{name:e,once:r,capture:n,passive:t}});function ET(e,t){function r(){var n=r.fns;if(Te(n))for(var a=n.slice(),i=0;i0&&(a=ig(a,"".concat(t||"","_").concat(n)),Qi(a[0])&&Qi(s)&&(r[i]=Xa(s.text+a[0].text),a.shift()),r.push.apply(r,a)):ro(a)?Qi(s)?r[i]=Xa(s.text+a):a!==""&&r.push(Xa(a)):Qi(a)&&Qi(s)?r[i]=Xa(s.text+a.text):(Ye(e._isVList)&&k(a.tag)&&ie(a.key)&&k(t)&&(a.key="__vlist".concat(t,"_").concat(n,"__")),r.push(a)));return r}function FR(e,t){var r=null,n,a,i,s;if(Te(e)||typeof e=="string")for(r=new Array(e.length),n=0,a=e.length;n0,s=t?!!t.$stable:!i,o=t&&t.$key;if(!t)a={};else{if(t._normalized)return t._normalized;if(s&&n&&n!==St&&o===n.$key&&!i&&!n.$hasNormal)return n;a={};for(var l in t)t[l]&&l[0]!=="$"&&(a[l]=YR(e,r,l,t[l]))}for(var u in r)u in a||(a[u]=LR(r,u));return t&&Object.isExtensible(t)&&(t._normalized=a),ke(a,"$stable",s),ke(a,"$key",o),ke(a,"$hasNormal",i),a}function YR(e,t,r,n){var a=function(){var i=Yt;Ln(e);var s=arguments.length?n.apply(null,arguments):n({});s=s&&typeof s=="object"&&!Te(s)?[s]:Vd(s);var o=s&&s[0];return Ln(i),s&&(!o||s.length===1&&o.isComment&&!Zs(o))?void 0:s};return n.proxy&&Object.defineProperty(t,r,{get:a,enumerable:!0,configurable:!0}),a}function LR(e,t){return function(){return e[t]}}function xR(e){var t=e.$options,r=t.setup;if(r){var n=e._setupContext=IR(e);Ln(e),Ui();var a=Wr(r,null,[e._props||WE({}),n],e,"setup");if(Gi(),Ln(),be(a))t.render=a;else if(st(a))if(e._setupState=a,a.__sfc){var i=e._setupProxy={};for(var s in a)s!=="__sfc"&&AT(i,a,s)}else for(var s in a)UE(s)||AT(e,a,s)}}function IR(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};ke(t,"_v_attr_proxy",!0),K0(t,e.$attrs,St,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var t=e._listenersProxy={};K0(t,e.$listeners,St,e,"$listeners")}return e._listenersProxy},get slots(){return kR(e)},emit:xE(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach(function(r){return AT(e,t,r)})}}}function K0(e,t,r,n,a){var i=!1;for(var s in t)s in e?t[s]!==r[s]&&(i=!0):(i=!0,ZR(e,s,n,a));for(var s in e)s in t||(i=!0,delete e[s]);return i}function ZR(e,t,r,n){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return r[n][t]}})}function kR(e){return e._slotsProxy||ug(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function ug(e,t){for(var r in t)e[r]=t[r];for(var r in e)r in t||delete e[r]}function PR(e){e._vnode=null,e._staticTrees=null;var t=e.$options,r=e.$vnode=t._parentVnode,n=r&&r.context;e.$slots=Qd(t._renderChildren,n),e.$scopedSlots=r?ms(e.$parent,r.data.scopedSlots,e.$slots):St,e._c=function(i,s,o,l){return J0(e,i,s,o,l,!1)},e.$createElement=function(i,s,o,l){return J0(e,i,s,o,l,!0)};var a=r&&r.data;In(e,"$attrs",a&&a.attrs||St,null,!0),In(e,"$listeners",t._parentListeners||St,null,!0)}var gT=null;function UR(e){lg(e.prototype),e.prototype.$nextTick=function(t){return Hi(t,this)},e.prototype._render=function(){var t=this,r=t.$options,n=r.render,a=r._parentVnode;a&&t._isMounted&&(t.$scopedSlots=ms(t.$parent,a.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&ug(t._slotsProxy,t.$scopedSlots)),t.$vnode=a;var i;try{Ln(t),gT=t,i=n.call(t._renderProxy,t.$createElement)}catch(s){Da(s,t,"render"),i=t._vnode}finally{gT=null,Ln()}return Te(i)&&i.length===1&&(i=i[0]),i instanceof Lt||(i=Di()),i.parent=a,i}}function zu(e,t){return(e.__esModule||ao&&e[Symbol.toStringTag]==="Module")&&(e=e.default),st(e)?t.extend(e):e}function GR(e,t,r,n,a){var i=Di();return i.asyncFactory=e,i.asyncMeta={data:t,context:r,children:n,tag:a},i}function HR(e,t){if(Ye(e.error)&&k(e.errorComp))return e.errorComp;if(k(e.resolved))return e.resolved;var r=gT;if(r&&k(e.owners)&&e.owners.indexOf(r)===-1&&e.owners.push(r),Ye(e.loading)&&k(e.loadingComp))return e.loadingComp;if(r&&!k(e.owners)){var n=e.owners=[r],a=!0,i=null,s=null;r.$on("hook:destroyed",function(){return Un(n,r)});var o=function(d){for(var p=0,m=n.length;p1?TT(a):a;for(var i=TT(arguments,1),s='event handler for "'.concat(r,'"'),o=0,l=a.length;odocument.createEvent("Event").timeStamp&&(NT=function(){return $u.now()})}var u4=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function c4(){Ag=NT(),qd=!0;var e,t;for(Ur.sort(u4),ei=0;eiei&&Ur[r].id>e.id;)r--;Ur.splice(r+1,0,e)}FT||(FT=!0,Hi(c4))}}function m4(e){var t=e.$options.provide;if(t){var r=be(t)?t.call(e):t;if(!st(r))return;for(var n=gR(e),a=ao?Reflect.ownKeys(r):Object.keys(r),i=0;i-1){if(i&&!mt(a,"default"))s=!1;else if(s===""||s===no(e)){var l=ch(String,a.type);(l<0||o-1)return this;var n=TT(arguments,1);return n.unshift(this),be(t.install)?t.install.apply(t,n):be(t)&&t.apply(null,n),r.push(t),this}}function z4(e){e.mixin=function(t){return this.options=Sa(this.options,t),this}}function $4(e){e.cid=0;var t=1;e.extend=function(r){r=r||{};var n=this,a=n.cid,i=r._Ctor||(r._Ctor={});if(i[a])return i[a];var s=el(r)||el(n.options),o=function(l){this._init(l)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=t++,o.options=Sa(n.options,r),o.super=n,o.options.props&&j4(o),o.options.computed&&V4(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,Wl.forEach(function(l){o[l]=n[l]}),s&&(o.options.components[s]=o),o.superOptions=n.options,o.extendOptions=r,o.sealedOptions=we({},o.options),i[a]=o,o}}function j4(e){var t=e.options.props;for(var r in t)rp(e.prototype,"_props",r)}function V4(e){var t=e.options.computed;for(var r in t)Dg(e.prototype,r,t[r])}function Q4(e){Wl.forEach(function(t){e[t]=function(r,n){return n?(t==="component"&&ht(n)&&(n.name=n.name||r,n=this.options._base.extend(n)),t==="directive"&&be(n)&&(n={bind:n,update:n}),this.options[t+"s"][r]=n,n):this.options[t+"s"][r]}})}function ph(e){return e&&(el(e.Ctor.options)||e.tag)}function Yo(e,t){return Te(e)?e.indexOf(t)>-1:typeof e=="string"?e.split(",").indexOf(t)>-1:jN(e)?e.test(t):!1}function mh(e,t){var r=e.cache,n=e.keys,a=e._vnode;for(var i in r){var s=r[i];if(s){var o=s.name;o&&!t(o)&&bT(r,i,n,a)}}}function bT(e,t,r,n){var a=e[t];a&&(!n||a.tag!==n.tag)&&a.componentInstance.$destroy(),e[t]=null,Un(r,t)}var hh=[String,RegExp,Array],W4={name:"keep-alive",abstract:!0,props:{include:hh,exclude:hh,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,r=e.keys,n=e.vnodeToCache,a=e.keyToCache;if(n){var i=n.tag,s=n.componentInstance,o=n.componentOptions;t[a]={name:ph(o),tag:i,componentInstance:s},r.push(a),this.max&&r.length>parseInt(this.max)&&bT(t,r[0],r,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)bT(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(t){mh(e,function(r){return Yo(t,r)})}),this.$watch("exclude",function(t){mh(e,function(r){return!Yo(t,r)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=cg(e),r=t&&t.componentOptions;if(r){var n=ph(r),a=this,i=a.include,s=a.exclude;if(i&&(!n||!Yo(i,n))||s&&n&&Yo(s,n))return t;var o=this,l=o.cache,u=o.keys,c=t.key==null?r.Ctor.cid+(r.tag?"::".concat(r.tag):""):t.key;l[c]?(t.componentInstance=l[c].componentInstance,Un(u,c),u.push(c)):(this.vnodeToCache=t,this.keyToCache=c),t.data.keepAlive=!0}return t||e&&e[0]}},K4={KeepAlive:W4};function J4(e){var t={};t.get=function(){return jt},Object.defineProperty(e,"config",t),e.util={warn:S4,extend:we,mergeOptions:Sa,defineReactive:In},e.set=Rn,e.delete=VE,e.nextTick=Hi,e.observable=function(r){return Qr(r),r},e.options=Object.create(null),Wl.forEach(function(r){e.options[r+"s"]=Object.create(null)}),e.options._base=e,we(e.options.components,K4),H4(e),z4(e),$4(e),Q4(e)}J4(Ae),Object.defineProperty(Ae.prototype,"$isServer",{get:Gn}),Object.defineProperty(Ae.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Ae,"FunctionalRenderContext",{value:Xd}),Ae.version=JR;var q4=sr("style,class"),X4=sr("input,textarea,option,select,progress"),eO=function(e,t,r){return r==="value"&&X4(e)&&t!=="button"||r==="selected"&&e==="option"||r==="checked"&&e==="input"||r==="muted"&&e==="video"},Sg=sr("contenteditable,draggable,spellcheck"),tO=sr("events,caret,typing,plaintext-only"),rO=function(e,t){return rl(t)||t==="false"?"false":e==="contenteditable"&&tO(t)?t:"true"},nO=sr("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),MT="http://www.w3.org/1999/xlink",ap=function(e){return e.charAt(5)===":"&&e.slice(0,5)==="xlink"},vg=function(e){return ap(e)?e.slice(6,e.length):""},rl=function(e){return e==null||e===!1};function aO(e){for(var t=e.data,r=e,n=e;k(n.componentInstance);)n=n.componentInstance._vnode,n&&n.data&&(t=fh(n.data,t));for(;k(r=r.parent);)r&&r.data&&(t=fh(t,r.data));return iO(t.staticClass,t.class)}function fh(e,t){return{staticClass:ip(e.staticClass,t.staticClass),class:k(e.class)?[e.class,t.class]:t.class}}function iO(e,t){return k(e)||k(t)?ip(e,sp(t)):""}function ip(e,t){return e?t?e+" "+t:e:t||""}function sp(e){return Array.isArray(e)?sO(e):st(e)?oO(e):typeof e=="string"?e:""}function sO(e){for(var t="",r,n=0,a=e.length;n-1?Lo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Lo[e]=/HTMLUnknownElement/.test(t.toString())}var wT=sr("text,number,password,search,email,tel,url");function dO(e){if(typeof e=="string"){var t=document.querySelector(e);return t||document.createElement("div")}else return e}function pO(e,t){var r=document.createElement(e);return e!=="select"||t.data&&t.data.attrs&&t.data.attrs.multiple!==void 0&&r.setAttribute("multiple","multiple"),r}function mO(e,t){return document.createElementNS(lO[e],t)}function hO(e){return document.createTextNode(e)}function fO(e){return document.createComment(e)}function AO(e,t,r){e.insertBefore(t,r)}function EO(e,t){e.removeChild(t)}function gO(e,t){e.appendChild(t)}function DO(e){return e.parentNode}function SO(e){return e.nextSibling}function vO(e){return e.tagName}function FO(e,t){e.textContent=t}function NO(e,t){e.setAttribute(t,"")}var RO=Object.freeze({__proto__:null,createElement:pO,createElementNS:mO,createTextNode:hO,createComment:fO,insertBefore:AO,removeChild:EO,appendChild:gO,parentNode:DO,nextSibling:SO,tagName:vO,setTextContent:FO,setStyleScope:NO}),OO={create:function(e,t){ti(t)},update:function(e,t){e.data.ref!==t.data.ref&&(ti(e,!0),ti(t))},destroy:function(e){ti(e,!0)}};function ti(e,t){var r=e.data.ref;if(k(r)){var n=e.context,a=e.componentInstance||e.elm,i=t?null:a,s=t?void 0:a;if(be(r)){Wr(r,n,[i],n,"template ref function");return}var o=e.data.refInFor,l=typeof r=="string"||typeof r=="number",u=Ge(r),c=n.$refs;if(l||u){if(o){var d=l?c[r]:r.value;t?Te(d)&&Un(d,a):Te(d)?d.includes(a)||d.push(a):l?(c[r]=[a],Ah(n,r,c[r])):r.value=[a]}else if(l){if(t&&c[r]!==a)return;c[r]=s,Ah(n,r,i)}else if(u){if(t&&r.value!==a)return;r.value=i}}}}function Ah(e,t,r){var n=e._setupState;n&&mt(n,t)&&(Ge(n[t])?n[t].value=r:n[t]=r)}var yn=new Lt("",{},[]),Wi=["create","activate","update","remove","destroy"];function Vn(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&k(e.data)===k(t.data)&&yO(e,t)||Ye(e.isAsyncPlaceholder)&&ie(t.asyncFactory.error))}function yO(e,t){if(e.tag!=="input")return!0;var r,n=k(r=e.data)&&k(r=r.attrs)&&r.type,a=k(r=t.data)&&k(r=r.attrs)&&r.type;return n===a||wT(n)&&wT(a)}function bO(e,t,r){var n,a,i={};for(n=t;n<=r;++n)a=e[n].key,k(a)&&(i[a]=n);return i}function MO(e){var t,r,n={},a=e.modules,i=e.nodeOps;for(t=0;tw?(Je=ie(O[W+1])?null:O[W+1].elm,Y(S,Je,O,D,W,Z)):D>W&&I(F,_,w)}function $(S,F,O,Z){for(var z=O;z-1?Sh(e,t,r):nO(t)?rl(r)?e.removeAttribute(t):(r=t==="allowfullscreen"&&e.tagName==="EMBED"?"true":t,e.setAttribute(t,r)):Sg(t)?e.setAttribute(t,rO(t,r)):ap(t)?rl(r)?e.removeAttributeNS(MT,vg(t)):e.setAttributeNS(MT,t,r):Sh(e,t,r)}function Sh(e,t,r){if(rl(r))e.removeAttribute(t);else{if(ki&&!Pi&&e.tagName==="TEXTAREA"&&t==="placeholder"&&r!==""&&!e.__ieph){var n=function(a){a.stopImmediatePropagation(),e.removeEventListener("input",n)};e.addEventListener("input",n),e.__ieph=!0}e.setAttribute(t,r)}}var LO={create:gh,update:gh};function vh(e,t){var r=t.elm,n=t.data,a=e.data;if(!(ie(n.staticClass)&&ie(n.class)&&(ie(a)||ie(a.staticClass)&&ie(a.class)))){var i=aO(t),s=r._transitionClasses;k(s)&&(i=ip(i,sp(s))),i!==r._prevClass&&(r.setAttribute("class",i),r._prevClass=i)}}var xO={create:vh,update:vh},Vu="__r",Qu="__c";function IO(e){if(k(e[Vu])){var t=ki?"change":"input";e[t]=[].concat(e[Vu],e[t]||[]),delete e[Vu]}k(e[Qu])&&(e.change=[].concat(e[Qu],e.change||[]),delete e[Qu])}var Gs;function ZO(e,t,r){var n=Gs;return function a(){var i=t.apply(null,arguments);i!==null&&Ng(e,a,r,n)}}var kO=DT&&!(Hm&&Number(Hm[1])<=53);function PO(e,t,r,n){if(kO){var a=Ag,i=t;t=i._wrapper=function(s){if(s.target===s.currentTarget||s.timeStamp>=a||s.timeStamp<=0||s.target.ownerDocument!==document)return i.apply(this,arguments)}}Gs.addEventListener(e,t,HE?{capture:r,passive:n}:r)}function Ng(e,t,r,n){(n||Gs).removeEventListener(e,t._wrapper||t,r)}function Wu(e,t){if(!(ie(e.data.on)&&ie(t.data.on))){var r=t.data.on||{},n=e.data.on||{};Gs=t.elm||e.elm,IO(r),ag(r,n,PO,Ng,ZO,t.context),Gs=void 0}}var UO={create:Wu,update:Wu,destroy:function(e){return Wu(e,yn)}},xo;function Fh(e,t){if(!(ie(e.data.domProps)&&ie(t.data.domProps))){var r,n,a=t.elm,i=e.data.domProps||{},s=t.data.domProps||{};(k(s.__ob__)||Ye(s._v_attr_proxy))&&(s=t.data.domProps=we({},s));for(r in i)r in s||(a[r]="");for(r in s){if(n=s[r],r==="textContent"||r==="innerHTML"){if(t.children&&(t.children.length=0),n===i[r])continue;a.childNodes.length===1&&a.removeChild(a.childNodes[0])}if(r==="value"&&a.tagName!=="PROGRESS"){a._value=n;var o=ie(n)?"":String(n);GO(a,o)&&(a.value=o)}else if(r==="innerHTML"&&op(a.tagName)&&ie(a.innerHTML)){xo=xo||document.createElement("div"),xo.innerHTML="".concat(n,"");for(var l=xo.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(n!==i[r])try{a[r]=n}catch{}}}}function GO(e,t){return!e.composing&&(e.tagName==="OPTION"||HO(e,t)||zO(e,t))}function HO(e,t){var r=!0;try{r=document.activeElement!==e}catch{}return r&&e.value!==t}function zO(e,t){var r=e.value,n=e._vModifiers;if(k(n)){if(n.number)return Ls(r)!==Ls(t);if(n.trim)return r.trim()!==t.trim()}return r!==t}var $O={create:Fh,update:Fh},jO=Oa(function(e){var t={},r=/;(?![^(]*\))/g,n=/:(.+)/;return e.split(r).forEach(function(a){if(a){var i=a.split(n);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t});function Ku(e){var t=Rg(e.style);return e.staticStyle?we(e.staticStyle,t):t}function Rg(e){return Array.isArray(e)?IE(e):typeof e=="string"?jO(e):e}function VO(e,t){var r={},n;if(t)for(var a=e;a.componentInstance;)a=a.componentInstance._vnode,a&&a.data&&(n=Ku(a.data))&&we(r,n);(n=Ku(e.data))&&we(r,n);for(var i=e;i=i.parent;)i.data&&(n=Ku(i.data))&&we(r,n);return r}var QO=/^--/,Nh=/\s*!important$/,Rh=function(e,t,r){if(QO.test(t))e.style.setProperty(t,r);else if(Nh.test(r))e.style.setProperty(no(t),r.replace(Nh,""),"important");else{var n=WO(t);if(Array.isArray(r))for(var a=0,i=r.length;a-1?t.split(Og).forEach(function(n){return e.classList.add(n)}):e.classList.add(t);else{var r=" ".concat(e.getAttribute("class")||""," ");r.indexOf(" "+t+" ")<0&&e.setAttribute("class",(r+t).trim())}}function bg(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(Og).forEach(function(a){return e.classList.remove(a)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var r=" ".concat(e.getAttribute("class")||""," "),n=" "+t+" ";r.indexOf(n)>=0;)r=r.replace(n," ");r=r.trim(),r?e.setAttribute("class",r):e.removeAttribute("class")}}function Mg(e){if(e){if(typeof e=="object"){var t={};return e.css!==!1&&we(t,bh(e.name||"v")),we(t,e),t}else if(typeof e=="string")return bh(e)}}var bh=Oa(function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}}),wg=Ct&&!Pi,Qa="transition",Ju="animation",F0="transition",nl="transitionend",_T="animation",_g="animationend";wg&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(F0="WebkitTransition",nl="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(_T="WebkitAnimation",_g="webkitAnimationEnd"));var Mh=Ct?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Bg(e){Mh(function(){Mh(e)})}function pa(e,t){var r=e._transitionClasses||(e._transitionClasses=[]);r.indexOf(t)<0&&(r.push(t),yg(e,t))}function Gr(e,t){e._transitionClasses&&Un(e._transitionClasses,t),bg(e,t)}function Cg(e,t,r){var n=Yg(e,t),a=n.type,i=n.timeout,s=n.propCount;if(!a)return r();var o=a===Qa?nl:_g,l=0,u=function(){e.removeEventListener(o,c),r()},c=function(d){d.target===e&&++l>=s&&u()};setTimeout(function(){l0&&(u=Qa,c=i,d=a.length):t===Ju?l>0&&(u=Ju,c=l,d=o.length):(c=Math.max(i,l),u=c>0?i>l?Qa:Ju:null,d=u?u===Qa?a.length:o.length:0);var p=u===Qa&&JO.test(r[F0+"Property"]);return{type:u,timeout:c,propCount:d,hasTransform:p}}function wh(e,t){for(;e.length1}function Bh(e,t){t.data.show!==!0&&BT(t)}var qO=Ct?{create:Bh,activate:Bh,remove:function(e,t){e.data.show!==!0?Lg(e,t):t()}}:{},XO=[LO,xO,UO,$O,KO,qO],e3=XO.concat(YO),t3=MO({nodeOps:RO,modules:e3});Pi&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&up(e,"input")});var Ig={inserted:function(e,t,r,n){r.tag==="select"?(n.elm&&!n.elm._vOptions?On(r,"postpatch",function(){Ig.componentUpdated(e,t,r)}):Ch(e,t,r.context),e._vOptions=[].map.call(e.options,al)):(r.tag==="textarea"||wT(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",r3),e.addEventListener("compositionend",xh),e.addEventListener("change",xh),Pi&&(e.vmodel=!0)))},componentUpdated:function(e,t,r){if(r.tag==="select"){Ch(e,t,r.context);var n=e._vOptions,a=e._vOptions=[].map.call(e.options,al);if(a.some(function(s,o){return!ga(s,n[o])})){var i=e.multiple?t.value.some(function(s){return Lh(s,a)}):t.value!==t.oldValue&&Lh(t.value,a);i&&up(e,"change")}}}};function Ch(e,t,r){Yh(e,t),(ki||GE)&&setTimeout(function(){Yh(e,t)},0)}function Yh(e,t,r){var n=t.value,a=e.multiple;if(!(a&&!Array.isArray(n))){for(var i,s,o=0,l=e.options.length;o-1,s.selected!==i&&(s.selected=i);else if(ga(al(s),n)){e.selectedIndex!==o&&(e.selectedIndex=o);return}a||(e.selectedIndex=-1)}}function Lh(e,t){return t.every(function(r){return!ga(r,e)})}function al(e){return"_value"in e?e._value:e.value}function r3(e){e.target.composing=!0}function xh(e){e.target.composing&&(e.target.composing=!1,up(e.target,"input"))}function up(e,t){var r=document.createEvent("HTMLEvents");r.initEvent(t,!0,!0),e.dispatchEvent(r)}function CT(e){return e.componentInstance&&(!e.data||!e.data.transition)?CT(e.componentInstance._vnode):e}var n3={bind:function(e,t,r){var n=t.value;r=CT(r);var a=r.data&&r.data.transition,i=e.__vOriginalDisplay=e.style.display==="none"?"":e.style.display;n&&a?(r.data.show=!0,BT(r,function(){e.style.display=i})):e.style.display=n?i:"none"},update:function(e,t,r){var n=t.value,a=t.oldValue;if(!n!=!a){r=CT(r);var i=r.data&&r.data.transition;i?(r.data.show=!0,n?BT(r,function(){e.style.display=e.__vOriginalDisplay}):Lg(r,function(){e.style.display="none"})):e.style.display=n?e.__vOriginalDisplay:"none"}},unbind:function(e,t,r,n,a){a||(e.style.display=e.__vOriginalDisplay)}},a3={model:Ig,show:n3},Zg={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function YT(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?YT(cg(t.children)):e}function kg(e){var t={},r=e.$options;for(var n in r.propsData)t[n]=e[n];var a=r._parentListeners;for(var n in a)t[Ea(n)]=a[n];return t}function Ih(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function i3(e){for(;e=e.parent;)if(e.data.transition)return!0}function s3(e,t){return t.key===e.key&&t.tag===e.tag}var o3=function(e){return e.tag||Zs(e)},l3=function(e){return e.name==="show"},u3={name:"transition",props:Zg,abstract:!0,render:function(e){var t=this,r=this.$slots.default;if(r&&(r=r.filter(o3),!!r.length)){var n=this.mode,a=r[0];if(i3(this.$vnode))return a;var i=YT(a);if(!i)return a;if(this._leaving)return Ih(e,a);var s="__transition-".concat(this._uid,"-");i.key=i.key==null?i.isComment?s+"comment":s+i.tag:ro(i.key)?String(i.key).indexOf(s)===0?i.key:s+i.key:i.key;var o=(i.data||(i.data={})).transition=kg(this),l=this._vnode,u=YT(l);if(i.data.directives&&i.data.directives.some(l3)&&(i.data.show=!0),u&&u.data&&!s3(i,u)&&!Zs(u)&&!(u.componentInstance&&u.componentInstance._vnode.isComment)){var c=u.data.transition=we({},o);if(n==="out-in")return this._leaving=!0,On(c,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Ih(e,a);if(n==="in-out"){if(Zs(i))return l;var d,p=function(){d()};On(o,"afterEnter",p),On(o,"enterCancelled",p),On(c,"delayLeave",function(m){d=m})}}return a}}},Pg=we({tag:String,moveClass:String},Zg);delete Pg.mode;var c3={props:Pg,beforeMount:function(){var e=this,t=this._update;this._update=function(r,n){var a=mg(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,a(),t.call(e,r,n)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),n=this.prevChildren=this.children,a=this.$slots.default||[],i=this.children=[],s=kg(this),o=0;oil(e,"",t);pt.linkTo=h3;const f3=e=>vi()+"/remote.php/"+e,A3=e=>window.location.protocol+"//"+window.location.host+f3(e);pt.generateRemoteUrl=A3;const E3=(e,t,r)=>{const n=Object.assign({ocsVersion:2},r||{}).ocsVersion===1?1:2;return window.location.protocol+"//"+window.location.host+vi()+"/ocs/v"+n+".php"+LT(e,t,r)};var cp=pt.generateOcsUrl=E3;const LT=(e,t,r)=>{const n=Object.assign({escape:!0},r||{}),a=function(i,s){return s=s||{},i.replace(/{([^{}]*)}/g,function(o,l){var u=s[l];return n.escape?encodeURIComponent(typeof u=="string"||typeof u=="number"?u.toString():o):typeof u=="string"||typeof u=="number"?u.toString():o})};return e.charAt(0)!=="/"&&(e="/"+e),a(e,t||{})},g3=(e,t,r)=>{const n=Object.assign({noRewrite:!1},r||{});return window?.OC?.config?.modRewriteWorking===!0&&!n.noRewrite?vi()+LT(e,t,r):vi()+"/index.php"+LT(e,t,r)};var Kr=pt.generateUrl=g3;const D3=(e,t)=>t.indexOf(".")===-1?il(e,"img",t+".svg"):il(e,"img",t);pt.imagePath=D3;const il=(e,t,r)=>{const n=window?.OC?.coreApps?.indexOf(e)!==-1;let a=vi();return r.substring(r.length-3)==="php"&&!n?(a+="/index.php/apps/"+e,r!=="index.php"&&(a+="/",t&&(a+=encodeURI(t+"/")),a+=r)):r.substring(r.length-3)!=="php"&&!n?(a=window?.OC?.appswebroots?.[e],t&&(a+="/"+t+"/"),a.substring(a.length-1)!=="/"&&(a+="/"),a+=r):((e==="settings"||e==="core"||e==="search")&&t==="ajax"?a+="/index.php/":a+="/",n||(a+="apps/"),e!==""&&(e+="/",a+=e),t&&(a+=t+"/"),a+=r),a};pt.generateFilePath=il;const vi=()=>window?.OC?.webroot||"";pt.getRootUrl=vi;const{entries:Ug,setPrototypeOf:Zh,isFrozen:S3,getPrototypeOf:v3,getOwnPropertyDescriptor:F3}=Object;let{freeze:ft,seal:ar,create:N3}=Object,{apply:xT,construct:IT}=typeof Reflect<"u"&&Reflect;xT||(xT=function(e,t,r){return e.apply(t,r)}),ft||(ft=function(e){return e}),ar||(ar=function(e){return e}),IT||(IT=function(e,t){return new e(...t)});const R3=Wt(Array.prototype.forEach),kh=Wt(Array.prototype.pop),Ji=Wt(Array.prototype.push),N0=Wt(String.prototype.toLowerCase),qu=Wt(String.prototype.toString),O3=Wt(String.prototype.match),Xt=Wt(String.prototype.replace),y3=Wt(String.prototype.indexOf),b3=Wt(String.prototype.trim),bt=Wt(RegExp.prototype.test),qi=M3(TypeError);function Wt(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a/gm),Y3=ar(/\${[\w\W]*}/gm),L3=ar(/^data-[\-\w.\u00B7-\uFFFF]/),x3=ar(/^aria-[\-\w]+$/),Gg=ar(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),I3=ar(/^(?:\w+script|data):/i),Z3=ar(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Hg=ar(/^html$/i);var zh=Object.freeze({__proto__:null,MUSTACHE_EXPR:B3,ERB_EXPR:C3,TMPLIT_EXPR:Y3,DATA_ATTR:L3,ARIA_ATTR:x3,IS_ALLOWED_URI:Gg,IS_SCRIPT_OR_DATA:I3,ATTR_WHITESPACE:Z3,DOCTYPE_NAME:Hg});const k3=()=>typeof window>"u"?null:window,P3=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let r=null;const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));const a="dompurify"+(r?"#"+r:"");try{return e.createPolicy(a,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function zg(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:k3();const t=M=>zg(M);if(t.version="3.0.5",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;const r=e.document,n=r.currentScript;let{document:a}=e;const{DocumentFragment:i,HTMLTemplateElement:s,Node:o,Element:l,NodeFilter:u,NamedNodeMap:c=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:p,trustedTypes:m}=e,f=l.prototype,v=Zo(f,"cloneNode"),g=Zo(f,"nextSibling"),N=Zo(f,"childNodes"),Y=Zo(f,"parentNode");if(typeof s=="function"){const M=a.createElement("template");M.content&&M.content.ownerDocument&&(a=M.content.ownerDocument)}let b,I="";const{implementation:U,createNodeIterator:x,createDocumentFragment:$,getElementsByTagName:H}=a,{importNode:B}=r;let A={};t.isSupported=typeof Ug=="function"&&typeof Y=="function"&&U&&U.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:y,ERB_EXPR:S,TMPLIT_EXPR:F,DATA_ATTR:O,ARIA_ATTR:Z,IS_SCRIPT_OR_DATA:z,ATTR_WHITESPACE:_}=zh;let{IS_ALLOWED_URI:D}=zh,w=null;const G=ce({},[...Ph,...Xu,...ec,...tc,...Uh]);let L=null;const W=ce({},[...Gh,...rc,...Hh,...ko]);let J=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),re=null,de=null,fe=!0,xe=!0,Je=!1,yt=!0,Jt=!1,qt=!1,ln=!1,It=!1,qe=!1,Br=!1,Xe=!1,un=!0,cn=!1;const ae="user-content-";let Cr=!0,Re=!1,se={},ut=null;const Zt=ce({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ct=null;const Tn=ce({},["audio","video","img","source","image","track"]);let T=null;const h=ce({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),E="http://www.w3.org/1998/Math/MathML",R="http://www.w3.org/2000/svg",C="http://www.w3.org/1999/xhtml";let P=C,V=!1,De=null;const ze=ce({},[E,R,C],qu);let Se;const Oe=["application/xhtml+xml","text/html"],Ie="text/html";let je,Ca=null;const yN=a.createElement("form"),Bm=function(M){return M instanceof RegExp||M instanceof Function},Pu=function(M){if(!(Ca&&Ca===M)){if((!M||typeof M!="object")&&(M={}),M=Ia(M),Se=Oe.indexOf(M.PARSER_MEDIA_TYPE)===-1?Se=Ie:Se=M.PARSER_MEDIA_TYPE,je=Se==="application/xhtml+xml"?qu:N0,w="ALLOWED_TAGS"in M?ce({},M.ALLOWED_TAGS,je):G,L="ALLOWED_ATTR"in M?ce({},M.ALLOWED_ATTR,je):W,De="ALLOWED_NAMESPACES"in M?ce({},M.ALLOWED_NAMESPACES,qu):ze,T="ADD_URI_SAFE_ATTR"in M?ce(Ia(h),M.ADD_URI_SAFE_ATTR,je):h,ct="ADD_DATA_URI_TAGS"in M?ce(Ia(Tn),M.ADD_DATA_URI_TAGS,je):Tn,ut="FORBID_CONTENTS"in M?ce({},M.FORBID_CONTENTS,je):Zt,re="FORBID_TAGS"in M?ce({},M.FORBID_TAGS,je):{},de="FORBID_ATTR"in M?ce({},M.FORBID_ATTR,je):{},se="USE_PROFILES"in M?M.USE_PROFILES:!1,fe=M.ALLOW_ARIA_ATTR!==!1,xe=M.ALLOW_DATA_ATTR!==!1,Je=M.ALLOW_UNKNOWN_PROTOCOLS||!1,yt=M.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Jt=M.SAFE_FOR_TEMPLATES||!1,qt=M.WHOLE_DOCUMENT||!1,qe=M.RETURN_DOM||!1,Br=M.RETURN_DOM_FRAGMENT||!1,Xe=M.RETURN_TRUSTED_TYPE||!1,It=M.FORCE_BODY||!1,un=M.SANITIZE_DOM!==!1,cn=M.SANITIZE_NAMED_PROPS||!1,Cr=M.KEEP_CONTENT!==!1,Re=M.IN_PLACE||!1,D=M.ALLOWED_URI_REGEXP||Gg,P=M.NAMESPACE||C,J=M.CUSTOM_ELEMENT_HANDLING||{},M.CUSTOM_ELEMENT_HANDLING&&Bm(M.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(J.tagNameCheck=M.CUSTOM_ELEMENT_HANDLING.tagNameCheck),M.CUSTOM_ELEMENT_HANDLING&&Bm(M.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(J.attributeNameCheck=M.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),M.CUSTOM_ELEMENT_HANDLING&&typeof M.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(J.allowCustomizedBuiltInElements=M.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Jt&&(xe=!1),Br&&(qe=!0),se&&(w=ce({},[...Uh]),L=[],se.html===!0&&(ce(w,Ph),ce(L,Gh)),se.svg===!0&&(ce(w,Xu),ce(L,rc),ce(L,ko)),se.svgFilters===!0&&(ce(w,ec),ce(L,rc),ce(L,ko)),se.mathMl===!0&&(ce(w,tc),ce(L,Hh),ce(L,ko))),M.ADD_TAGS&&(w===G&&(w=Ia(w)),ce(w,M.ADD_TAGS,je)),M.ADD_ATTR&&(L===W&&(L=Ia(L)),ce(L,M.ADD_ATTR,je)),M.ADD_URI_SAFE_ATTR&&ce(T,M.ADD_URI_SAFE_ATTR,je),M.FORBID_CONTENTS&&(ut===Zt&&(ut=Ia(ut)),ce(ut,M.FORBID_CONTENTS,je)),Cr&&(w["#text"]=!0),qt&&ce(w,["html","head","body"]),w.table&&(ce(w,["tbody"]),delete re.tbody),M.TRUSTED_TYPES_POLICY){if(typeof M.TRUSTED_TYPES_POLICY.createHTML!="function")throw qi('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof M.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw qi('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');b=M.TRUSTED_TYPES_POLICY,I=b.createHTML("")}else b===void 0&&(b=P3(m,n)),b!==null&&typeof I=="string"&&(I=b.createHTML(""));ft&&ft(M),Ca=M}},Cm=ce({},["mi","mo","mn","ms","mtext"]),Ym=ce({},["foreignobject","desc","title","annotation-xml"]),bN=ce({},["title","style","font","a","script"]),bo=ce({},Xu);ce(bo,ec),ce(bo,w3);const Uu=ce({},tc);ce(Uu,_3);const MN=function(M){let q=Y(M);(!q||!q.tagName)&&(q={namespaceURI:P,tagName:"template"});const K=N0(M.tagName),ve=N0(q.tagName);return De[M.namespaceURI]?M.namespaceURI===R?q.namespaceURI===C?K==="svg":q.namespaceURI===E?K==="svg"&&(ve==="annotation-xml"||Cm[ve]):!!bo[K]:M.namespaceURI===E?q.namespaceURI===C?K==="math":q.namespaceURI===R?K==="math"&&Ym[ve]:!!Uu[K]:M.namespaceURI===C?q.namespaceURI===R&&!Ym[ve]||q.namespaceURI===E&&!Cm[ve]?!1:!Uu[K]&&(bN[K]||!bo[K]):!!(Se==="application/xhtml+xml"&&De[M.namespaceURI]):!1},Ya=function(M){Ji(t.removed,{element:M});try{M.parentNode.removeChild(M)}catch{M.remove()}},Gu=function(M,q){try{Ji(t.removed,{attribute:q.getAttributeNode(M),from:q})}catch{Ji(t.removed,{attribute:null,from:q})}if(q.removeAttribute(M),M==="is"&&!L[M])if(qe||Br)try{Ya(q)}catch{}else try{q.setAttribute(M,"")}catch{}},Lm=function(M){let q,K;if(It)M=""+M;else{const Tt=O3(M,/^[\r\n\t ]+/);K=Tt&&Tt[0]}Se==="application/xhtml+xml"&&P===C&&(M=''+M+"");const ve=b?b.createHTML(M):M;if(P===C)try{q=new p().parseFromString(ve,Se)}catch{}if(!q||!q.documentElement){q=U.createDocument(P,"template",null);try{q.documentElement.innerHTML=V?I:ve}catch{}}const $e=q.body||q.documentElement;return M&&K&&$e.insertBefore(a.createTextNode(K),$e.childNodes[0]||null),P===C?H.call(q,qt?"html":"body")[0]:qt?q.documentElement:$e},xm=function(M){return x.call(M.ownerDocument||M,M,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},wN=function(M){return M instanceof d&&(typeof M.nodeName!="string"||typeof M.textContent!="string"||typeof M.removeChild!="function"||!(M.attributes instanceof c)||typeof M.removeAttribute!="function"||typeof M.setAttribute!="function"||typeof M.namespaceURI!="string"||typeof M.insertBefore!="function"||typeof M.hasChildNodes!="function")},Mo=function(M){return typeof o=="object"?M instanceof o:M&&typeof M=="object"&&typeof M.nodeType=="number"&&typeof M.nodeName=="string"},Yr=function(M,q,K){A[M]&&R3(A[M],ve=>{ve.call(t,q,K,Ca)})},Im=function(M){let q;if(Yr("beforeSanitizeElements",M,null),wN(M))return Ya(M),!0;const K=je(M.nodeName);if(Yr("uponSanitizeElement",M,{tagName:K,allowedTags:w}),M.hasChildNodes()&&!Mo(M.firstElementChild)&&(!Mo(M.content)||!Mo(M.content.firstElementChild))&&bt(/<[/\w]/g,M.innerHTML)&&bt(/<[/\w]/g,M.textContent))return Ya(M),!0;if(!w[K]||re[K]){if(!re[K]&&km(K)&&(J.tagNameCheck instanceof RegExp&&bt(J.tagNameCheck,K)||J.tagNameCheck instanceof Function&&J.tagNameCheck(K)))return!1;if(Cr&&!ut[K]){const ve=Y(M)||M.parentNode,$e=N(M)||M.childNodes;if($e&&ve){const Tt=$e.length;for(let Et=Tt-1;Et>=0;--Et)ve.insertBefore(v($e[Et],!0),g(M))}}return Ya(M),!0}return M instanceof l&&!MN(M)||(K==="noscript"||K==="noembed"||K==="noframes")&&bt(/<\/no(script|embed|frames)/i,M.innerHTML)?(Ya(M),!0):(Jt&&M.nodeType===3&&(q=M.textContent,q=Xt(q,y," "),q=Xt(q,S," "),q=Xt(q,F," "),M.textContent!==q&&(Ji(t.removed,{element:M.cloneNode()}),M.textContent=q)),Yr("afterSanitizeElements",M,null),!1)},Zm=function(M,q,K){if(un&&(q==="id"||q==="name")&&(K in a||K in yN))return!1;if(!(xe&&!de[q]&&bt(O,q))&&!(fe&&bt(Z,q))){if(!L[q]||de[q]){if(!(km(M)&&(J.tagNameCheck instanceof RegExp&&bt(J.tagNameCheck,M)||J.tagNameCheck instanceof Function&&J.tagNameCheck(M))&&(J.attributeNameCheck instanceof RegExp&&bt(J.attributeNameCheck,q)||J.attributeNameCheck instanceof Function&&J.attributeNameCheck(q))||q==="is"&&J.allowCustomizedBuiltInElements&&(J.tagNameCheck instanceof RegExp&&bt(J.tagNameCheck,K)||J.tagNameCheck instanceof Function&&J.tagNameCheck(K))))return!1}else if(!T[q]&&!bt(D,Xt(K,_,""))&&!((q==="src"||q==="xlink:href"||q==="href")&&M!=="script"&&y3(K,"data:")===0&&ct[M])&&!(Je&&!bt(z,Xt(K,_,"")))&&K)return!1}return!0},km=function(M){return M.indexOf("-")>0},Pm=function(M){let q,K,ve,$e;Yr("beforeSanitizeAttributes",M,null);const{attributes:Tt}=M;if(!Tt)return;const Et={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:L};for($e=Tt.length;$e--;){q=Tt[$e];const{name:Ve,namespaceURI:La}=q;if(K=Ve==="value"?q.value:b3(q.value),ve=je(Ve),Et.attrName=ve,Et.attrValue=K,Et.keepAttr=!0,Et.forceKeepAttr=void 0,Yr("uponSanitizeAttribute",M,Et),K=Et.attrValue,Et.forceKeepAttr||(Gu(Ve,M),!Et.keepAttr))continue;if(!yt&&bt(/\/>/i,K)){Gu(Ve,M);continue}Jt&&(K=Xt(K,y," "),K=Xt(K,S," "),K=Xt(K,F," "));const Um=je(M.nodeName);if(Zm(Um,ve,K)){if(cn&&(ve==="id"||ve==="name")&&(Gu(Ve,M),K=ae+K),b&&typeof m=="object"&&typeof m.getAttributeType=="function"&&!La)switch(m.getAttributeType(Um,ve)){case"TrustedHTML":{K=b.createHTML(K);break}case"TrustedScriptURL":{K=b.createScriptURL(K);break}}try{La?M.setAttributeNS(La,Ve,K):M.setAttribute(Ve,K),kh(t.removed)}catch{}}}Yr("afterSanitizeAttributes",M,null)},_N=function M(q){let K;const ve=xm(q);for(Yr("beforeSanitizeShadowDOM",q,null);K=ve.nextNode();)Yr("uponSanitizeShadowNode",K,null),!Im(K)&&(K.content instanceof i&&M(K.content),Pm(K));Yr("afterSanitizeShadowDOM",q,null)};return t.sanitize=function(M){let q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},K,ve,$e,Tt;if(V=!M,V&&(M=""),typeof M!="string"&&!Mo(M))if(typeof M.toString=="function"){if(M=M.toString(),typeof M!="string")throw qi("dirty is not a string, aborting")}else throw qi("toString is not a function");if(!t.isSupported)return M;if(ln||Pu(q),t.removed=[],typeof M=="string"&&(Re=!1),Re){if(M.nodeName){const La=je(M.nodeName);if(!w[La]||re[La])throw qi("root node is forbidden and cannot be sanitized in-place")}}else if(M instanceof o)K=Lm(""),ve=K.ownerDocument.importNode(M,!0),ve.nodeType===1&&ve.nodeName==="BODY"||ve.nodeName==="HTML"?K=ve:K.appendChild(ve);else{if(!qe&&!Jt&&!qt&&M.indexOf("<")===-1)return b&&Xe?b.createHTML(M):M;if(K=Lm(M),!K)return qe?null:Xe?I:""}K&&It&&Ya(K.firstChild);const Et=xm(Re?M:K);for(;$e=Et.nextNode();)Im($e)||($e.content instanceof i&&_N($e.content),Pm($e));if(Re)return M;if(qe){if(Br)for(Tt=$.call(K.ownerDocument);K.firstChild;)Tt.appendChild(K.firstChild);else Tt=K;return(L.shadowroot||L.shadowrootmode)&&(Tt=B.call(r,Tt,!0)),Tt}let Ve=qt?K.outerHTML:K.innerHTML;return qt&&w["!doctype"]&&K.ownerDocument&&K.ownerDocument.doctype&&K.ownerDocument.doctype.name&&bt(Hg,K.ownerDocument.doctype.name)&&(Ve=" `+Ve),Jt&&(Ve=Xt(Ve,y," "),Ve=Xt(Ve,S," "),Ve=Xt(Ve,F," ")),b&&Xe?b.createHTML(Ve):Ve},t.setConfig=function(M){Pu(M),ln=!0},t.clearConfig=function(){Ca=null,ln=!1},t.isValidAttribute=function(M,q,K){Ca||Pu({});const ve=je(M),$e=je(q);return Zm(ve,$e,K)},t.addHook=function(M,q){typeof q=="function"&&(A[M]=A[M]||[],Ji(A[M],q))},t.removeHook=function(M){if(A[M])return kh(A[M])},t.removeHooks=function(M){A[M]&&(A[M]=[])},t.removeAllHooks=function(){A={}},t}var $g=zg(),U3=/["'&<>]/,G3=H3;function H3(e){var t=""+e,r=U3.exec(t);if(!r)return t;var n,a="",i=0,s=0;for(i=r.index;i"u"?(console.warn("No firstDay found"),1):window.firstDay}function j3(){return typeof window.dayNames>"u"?(console.warn("No dayNames found"),["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]):window.dayNames}function V3(){return typeof window.dayNamesShort>"u"?(console.warn("No dayNamesShort found"),["Sun.","Mon.","Tue.","Wed.","Thu.","Fri.","Sat."]):window.dayNamesShort}function Q3(){return typeof window.dayNamesMin>"u"?(console.warn("No dayNamesMin found"),["Su","Mo","Tu","We","Th","Fr","Sa"]):window.dayNamesMin}function W3(){return typeof window.monthNames>"u"?(console.warn("No monthNames found"),["January","February","March","April","May","June","July","August","September","October","November","December"]):window.monthNames}function K3(){return typeof window.monthNamesShort>"u"?(console.warn("No monthNamesShort found"),["Jan.","Feb.","Mar.","Apr.","May.","Jun.","Jul.","Aug.","Sep.","Oct.","Nov.","Dec."]):window.monthNamesShort}function J3(){return document.documentElement.dataset.locale||"en"}function $h(){return J3().replace(/_/g,"-")}function jg(e){var t,r,n,a;return{translations:(r=(t=window._oc_l10n_registry_translations)===null||t===void 0?void 0:t[e])!==null&&r!==void 0?r:{},pluralFunction:(a=(n=window._oc_l10n_registry_plural_functions)===null||n===void 0?void 0:n[e])!==null&&a!==void 0?a:i=>i}}function ue(e,t,r,n,a){const i=Object.assign({},{escape:!0,sanitize:!0},a||{}),s=d=>d,o=i.sanitize?$g.sanitize:s,l=i.escape?z3:s,u=(d,p,m)=>d.replace(/%n/g,""+m).replace(/{([^{}]*)}/g,(f,v)=>{if(p===void 0||!(v in p))return o(f);const g=p[v];return o(typeof g=="string"||typeof g=="number"?l(g):f)});let c=jg(e).translations[t]||t;return c=Array.isArray(c)?c[0]:c,o(typeof r=="object"||n!==void 0?u(c,r,n):c)}function jh(e,t,r,n,a,i){const s="_"+t+"_::_"+r+"_",o=jg(e),l=o.translations[s];if(typeof l<"u"){const u=l;if(Array.isArray(u)){const c=o.pluralFunction(n);return ue(e,u[c],a,n,i)}}return n===1?ue(e,t,a,n,i):ue(e,r,a,n,i)}var q3=!0;Ae.util.warn;function X3(){return!!zE()}function ey(){return Vg().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Vg(){return typeof navigator<"u"&&typeof window<"u"?window:typeof Ue.global<"u"?Ue.global:{}}const ty=typeof Proxy=="function",ry="devtools-plugin:setup",ny="plugin:settings:set";let Xi,ZT;function ay(){var e;return Xi!==void 0||(typeof window<"u"&&window.performance?(Xi=!0,ZT=window.performance):typeof Ue.global<"u"&&!((e=Ue.global.perf_hooks)===null||e===void 0)&&e.performance?(Xi=!0,ZT=Ue.global.perf_hooks.performance):Xi=!1),Xi}function iy(){return ay()?ZT.now():Date.now()}class sy{constructor(t,r){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=r;const n={};if(t.settings)for(const s in t.settings){const o=t.settings[s];n[s]=o.defaultValue}const a=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},n);try{const s=localStorage.getItem(a),o=JSON.parse(s);Object.assign(i,o)}catch{}this.fallbacks={getSettings(){return i},setSettings(s){try{localStorage.setItem(a,JSON.stringify(s))}catch{}i=s},now(){return iy()}},r&&r.on(ny,(s,o)=>{s===this.plugin.id&&this.fallbacks.setSettings(o)}),this.proxiedOn=new Proxy({},{get:(s,o)=>this.target?this.target.on[o]:(...l)=>{this.onQueue.push({method:o,args:l})}}),this.proxiedTarget=new Proxy({},{get:(s,o)=>this.target?this.target[o]:o==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(o)?(...l)=>(this.targetQueue.push({method:o,args:l,resolve:()=>{}}),this.fallbacks[o](...l)):(...l)=>new Promise(u=>{this.targetQueue.push({method:o,args:l,resolve:u})})})}async setRealTarget(t){this.target=t;for(const r of this.onQueue)this.target.on[r.method](...r.args);for(const r of this.targetQueue)r.resolve(await this.target[r.method](...r.args))}}function Qg(e,t){const r=e,n=Vg(),a=ey(),i=ty&&r.enableEarlyProxy;if(a&&(n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))a.emit(ry,e,t);else{const s=i?new sy(r,a):null;(n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:r,setupFn:t,proxy:s}),s&&t(s.proxiedTarget)}}let Wg;const uo=e=>Wg=e,Kg=Symbol();function Vh(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Fr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Fr||(Fr={}));const Tp=typeof window<"u",hs=typeof __VUE_PROD_DEVTOOLS__<"u"&&__VUE_PROD_DEVTOOLS__&&!0&&Tp,Qh=(()=>typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Ue.global=="object"&&Ue.global.global===Ue.global?Ue.global:typeof globalThis=="object"?globalThis:{HTMLElement:null})();function oy(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}function dp(e,t,r){const n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=function(){Xg(n.response,t,r)},n.onerror=function(){console.error("could not download file")},n.send()}function Jg(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function R0(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{const t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}const O0=typeof navigator=="object"?navigator:{userAgent:""},qg=(()=>/Macintosh/.test(O0.userAgent)&&/AppleWebKit/.test(O0.userAgent)&&!/Safari/.test(O0.userAgent))(),Xg=Tp?typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype&&!qg?ly:"msSaveOrOpenBlob"in O0?uy:cy:()=>{};function ly(e,t="download",r){const n=document.createElement("a");n.download=t,n.rel="noopener",typeof e=="string"?(n.href=e,n.origin!==location.origin?Jg(n.href)?dp(e,t,r):(n.target="_blank",R0(n)):R0(n)):(n.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(n.href)},4e4),setTimeout(function(){R0(n)},0))}function uy(e,t="download",r){if(typeof e=="string")if(Jg(e))dp(e,t,r);else{const n=document.createElement("a");n.href=e,n.target="_blank",setTimeout(function(){R0(n)})}else navigator.msSaveOrOpenBlob(oy(e,r),t)}function cy(e,t,r,n){if(n=n||open("","_blank"),n&&(n.document.title=n.document.body.innerText="downloading..."),typeof e=="string")return dp(e,t,r);const a=e.type==="application/octet-stream",i=/constructor/i.test(String(Qh.HTMLElement))||"safari"in Qh,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||a&&i||qg)&&typeof FileReader<"u"){const o=new FileReader;o.onloadend=function(){let l=o.result;if(typeof l!="string")throw n=null,new Error("Wrong reader.result type");l=s?l:l.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=l:location.assign(l),n=null},o.readAsDataURL(e)}else{const o=URL.createObjectURL(e);n?n.location.assign(o):location.href=o,n=null,setTimeout(function(){URL.revokeObjectURL(o)},4e4)}}function We(e,t){const r="🍍 "+e;typeof __VUE_DEVTOOLS_TOAST__=="function"?__VUE_DEVTOOLS_TOAST__(r,t):t==="error"?console.error(r):t==="warn"?console.warn(r):console.log(r)}function pp(e){return"_a"in e&&"install"in e}function eD(){if(!("clipboard"in navigator))return We("Your browser doesn't support the Clipboard API","error"),!0}function tD(e){return e instanceof Error&&e.message.toLowerCase().includes("document is not focused")?(We('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0):!1}async function Ty(e){if(!eD())try{await navigator.clipboard.writeText(JSON.stringify(e.state.value)),We("Global state copied to clipboard.")}catch(t){if(tD(t))return;We("Failed to serialize the state. Check the console for more details.","error"),console.error(t)}}async function dy(e){if(!eD())try{rD(e,JSON.parse(await navigator.clipboard.readText())),We("Global state pasted from clipboard.")}catch(t){if(tD(t))return;We("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(t)}}async function py(e){try{Xg(new Blob([JSON.stringify(e.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(t){We("Failed to export the state as JSON. Check the console for more details.","error"),console.error(t)}}let xr;function my(){xr||(xr=document.createElement("input"),xr.type="file",xr.accept=".json");function e(){return new Promise((t,r)=>{xr.onchange=async()=>{const n=xr.files;if(!n)return t(null);const a=n.item(0);return t(a?{text:await a.text(),file:a}:null)},xr.oncancel=()=>t(null),xr.onerror=r,xr.click()})}return e}async function hy(e){try{const t=await my()();if(!t)return;const{text:r,file:n}=t;rD(e,JSON.parse(r)),We(`Global state imported from "${n.name}".`)}catch(t){We("Failed to import the state from JSON. Check the console for more details.","error"),console.error(t)}}function rD(e,t){for(const r in t){const n=e.state.value[r];n?Object.assign(n,t[r]):e.state.value[r]=t[r]}}function tr(e){return{_custom:{display:e}}}const nD="🍍 Pinia (root)",kT="_root";function fy(e){return pp(e)?{id:kT,label:nD}:{id:e.$id,label:e.$id}}function Ay(e){if(pp(e)){const r=Array.from(e._s.keys()),n=e._s;return{state:r.map(a=>({editable:!0,key:a,value:e.state.value[a]})),getters:r.filter(a=>n.get(a)._getters).map(a=>{const i=n.get(a);return{editable:!1,key:a,value:i._getters.reduce((s,o)=>(s[o]=i[o],s),{})}})}}const t={state:Object.keys(e.$state).map(r=>({editable:!0,key:r,value:e.$state[r]}))};return e._getters&&e._getters.length&&(t.getters=e._getters.map(r=>({editable:!1,key:r,value:e[r]}))),e._customProperties.size&&(t.customProperties=Array.from(e._customProperties).map(r=>({editable:!0,key:r,value:e[r]}))),t}function Ey(e){return e?Array.isArray(e)?e.reduce((t,r)=>(t.keys.push(r.key),t.operations.push(r.type),t.oldValue[r.key]=r.oldValue,t.newValue[r.key]=r.newValue,t),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:tr(e.type),key:tr(e.key),oldValue:e.oldValue,newValue:e.newValue}:{}}function gy(e){switch(e){case Fr.direct:return"mutation";case Fr.patchFunction:return"$patch";case Fr.patchObject:return"$patch";default:return"unknown"}}let ri=!0;const y0=[],Xn="pinia:mutations",at="pinia",{assign:Dy}=Object,sl=e=>"🍍 "+e;function Sy(e,t){Qg({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:y0,app:e},r=>{typeof r.now!="function"&&We("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),r.addTimelineLayer({id:Xn,label:"Pinia 🍍",color:15064968}),r.addInspector({id:at,label:"Pinia 🍍",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{Ty(t)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await dy(t),r.sendInspectorTree(at),r.sendInspectorState(at)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{py(t)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await hy(t),r.sendInspectorTree(at),r.sendInspectorState(at)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:n=>{const a=t._s.get(n);a?typeof a.$reset!="function"?We(`Cannot reset "${n}" store because it doesn't have a "$reset" method implemented.`,"warn"):(a.$reset(),We(`Store "${n}" reset.`)):We(`Cannot reset "${n}" store because it wasn't found.`,"warn")}}]}),r.on.inspectComponent((n,a)=>{const i=n.componentInstance&&n.componentInstance.proxy;if(i&&i._pStores){const s=n.componentInstance.proxy._pStores;Object.values(s).forEach(o=>{n.instanceData.state.push({type:sl(o.$id),key:"state",editable:!0,value:o._isOptionsAPI?{_custom:{value:Kl(o.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>o.$reset()}]}}:Object.keys(o.$state).reduce((l,u)=>(l[u]=o.$state[u],l),{})}),o._getters&&o._getters.length&&n.instanceData.state.push({type:sl(o.$id),key:"getters",editable:!1,value:o._getters.reduce((l,u)=>{try{l[u]=o[u]}catch(c){l[u]=c}return l},{})})})}}),r.on.getInspectorTree(n=>{if(n.app===e&&n.inspectorId===at){let a=[t];a=a.concat(Array.from(t._s.values())),n.rootNodes=(n.filter?a.filter(i=>"$id"in i?i.$id.toLowerCase().includes(n.filter.toLowerCase()):nD.toLowerCase().includes(n.filter.toLowerCase())):a).map(fy)}}),r.on.getInspectorState(n=>{if(n.app===e&&n.inspectorId===at){const a=n.nodeId===kT?t:t._s.get(n.nodeId);if(!a)return;a&&(n.state=Ay(a))}}),r.on.editInspectorState((n,a)=>{if(n.app===e&&n.inspectorId===at){const i=n.nodeId===kT?t:t._s.get(n.nodeId);if(!i)return We(`store "${n.nodeId}" not found`,"error");const{path:s}=n;pp(i)?s.unshift("state"):(s.length!==1||!i._customProperties.has(s[0])||s[0]in i.$state)&&s.unshift("$state"),ri=!1,n.set(i,s,n.state.value),ri=!0}}),r.on.editComponentState(n=>{if(n.type.startsWith("🍍")){const a=n.type.replace(/^🍍\s*/,""),i=t._s.get(a);if(!i)return We(`store "${a}" not found`,"error");const{path:s}=n;if(s[0]!=="state")return We(`Invalid path for store "${a}": ${s} -Only state can be modified.`);s[0]="$state",ri=!1,n.set(i,s,n.state.value),ri=!0}})})}function vy(e,t){y0.includes(sl(t.$id))||y0.push(sl(t.$id)),Qg({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:y0,app:e,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},r=>{const n=typeof r.now=="function"?r.now.bind(r):Date.now;t.$onAction(({after:s,onError:o,name:l,args:u})=>{const c=aD++;r.addTimelineEvent({layerId:Xn,event:{time:n(),title:"🛫 "+l,subtitle:"start",data:{store:tr(t.$id),action:tr(l),args:u},groupId:c}}),s(d=>{bn=void 0,r.addTimelineEvent({layerId:Xn,event:{time:n(),title:"🛬 "+l,subtitle:"end",data:{store:tr(t.$id),action:tr(l),args:u,result:d},groupId:c}})}),o(d=>{bn=void 0,r.addTimelineEvent({layerId:Xn,event:{time:n(),logType:"error",title:"💥 "+l,subtitle:"end",data:{store:tr(t.$id),action:tr(l),args:u,error:d},groupId:c}})})},!0),t._customProperties.forEach(s=>{nn(()=>JE(t[s]),(o,l)=>{r.notifyComponentUpdate(),r.sendInspectorState(at),ri&&r.addTimelineEvent({layerId:Xn,event:{time:n(),title:"Change",subtitle:s,data:{newValue:o,oldValue:l},groupId:bn}})},{deep:!0})}),t.$subscribe(({events:s,type:o},l)=>{if(r.notifyComponentUpdate(),r.sendInspectorState(at),!ri)return;const u={time:n(),title:gy(o),data:Dy({store:tr(t.$id)},Ey(s)),groupId:bn};o===Fr.patchFunction?u.subtitle="⤵️":o===Fr.patchObject?u.subtitle="🧩":s&&!Array.isArray(s)&&(u.subtitle=s.type),s&&(u.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:s}}),r.addTimelineEvent({layerId:Xn,event:u})},{detached:!0,flush:"sync"});const a=t._hotUpdate;t._hotUpdate=Is(s=>{a(s),r.addTimelineEvent({layerId:Xn,event:{time:n(),title:"🔥 "+t.$id,subtitle:"HMR update",data:{store:tr(t.$id),info:tr("HMR update")}}}),r.notifyComponentUpdate(),r.sendInspectorTree(at),r.sendInspectorState(at)});const{$dispose:i}=t;t.$dispose=()=>{i(),r.notifyComponentUpdate(),r.sendInspectorTree(at),r.sendInspectorState(at),r.getSettings().logStoreChanges&&We(`Disposed "${t.$id}" store 🗑`)},r.notifyComponentUpdate(),r.sendInspectorTree(at),r.sendInspectorState(at),r.getSettings().logStoreChanges&&We(`"${t.$id}" store installed 🆕`)})}let aD=0,bn;function Wh(e,t,r){const n=t.reduce((a,i)=>(a[i]=Kl(e)[i],a),{});for(const a in n)e[a]=function(){const i=aD,s=r?new Proxy(e,{get(...l){return bn=i,Reflect.get(...l)},set(...l){return bn=i,Reflect.set(...l)}}):e;bn=i;const o=n[a].apply(s,arguments);return bn=void 0,o}}function Fy({app:e,store:t,options:r}){if(t.$id.startsWith("__hot:"))return;t._isOptionsAPI=!!r.state,Wh(t,Object.keys(r.actions),t._isOptionsAPI);const n=t._hotUpdate;Kl(t)._hotUpdate=function(a){n.apply(this,arguments),Wh(t,Object.keys(a._hmrPayload.actions),!!t._isOptionsAPI)},vy(e,t)}function Ny(){const e=rg(!0),t=e.run(()=>pe({}));let r=[];const n=Is({install(a){uo(n)},use(a){return!this._a&&!q3||r.push(a),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return hs&&typeof Proxy<"u"&&n.use(Fy),n}const iD=()=>{};function Kh(e,t,r,n=iD){e.push(t);const a=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),n())};return!r&&jd()&&ng(a),a}function Za(e,...t){e.slice().forEach(r=>{r(...t)})}const Ry=e=>e();function PT(e,t){e instanceof Map&&t instanceof Map&&t.forEach((r,n)=>e.set(n,r)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],a=e[r];Vh(a)&&Vh(n)&&e.hasOwnProperty(r)&&!Ge(n)&&!di(n)?e[r]=PT(a,n):e[r]=n}return e}const Oy=new WeakMap;function yy(e){return!Oy.has(e)}const{assign:Ir}=Object;function by(e){return!!(Ge(e)&&e.effect)}function My(e,t,r,n){const{state:a,actions:i,getters:s}=t,o=r.state.value[e];let l;function u(){o||Rn(r.state.value,e,a?a():{});const c=dR(r.state.value[e]);return Ir(c,i,Object.keys(s||{}).reduce((d,p)=>(d[p]=Is(le(()=>{uo(r);const m=r._s.get(e);if(m._r)return s[p].call(m,m)})),d),{}))}return l=sD(e,u,t,r,n,!0),l}function sD(e,t,r={},n,a,i){let s;const o=Ir({actions:{}},r),l={deep:!0};let u,c,d=[],p=[],m;const f=n.state.value[e];!i&&!f&&Rn(n.state.value,e,{});const v=pe({});let g;function N(B){let A;u=c=!1,typeof B=="function"?(B(n.state.value[e]),A={type:Fr.patchFunction,storeId:e,events:m}):(PT(n.state.value[e],B),A={type:Fr.patchObject,payload:B,storeId:e,events:m});const y=g=Symbol();Hi().then(()=>{g===y&&(u=!0)}),c=!0,Za(d,A,n.state.value[e])}const Y=i?function(){const{state:B}=r,A=B?B():{};this.$patch(y=>{Ir(y,A)})}:iD;function b(){s.stop(),d=[],p=[],n._s.delete(e)}function I(B,A){return function(){uo(n);const y=Array.from(arguments),S=[],F=[];function O(_){S.push(_)}function Z(_){F.push(_)}Za(p,{args:y,name:B,store:$,after:O,onError:Z});let z;try{z=A.apply(this&&this.$id===e?this:$,y)}catch(_){throw Za(F,_),_}return z instanceof Promise?z.then(_=>(Za(S,_),_)).catch(_=>(Za(F,_),Promise.reject(_))):(Za(S,z),z)}}const U=Is({actions:{},getters:{},state:[],hotState:v}),x={_p:n,$id:e,$onAction:Kh.bind(null,p),$patch:N,$reset:Y,$subscribe(B,A={}){const y=Kh(d,B,A.detached,()=>S()),S=s.run(()=>nn(()=>n.state.value[e],F=>{(A.flush==="sync"?c:u)&&B({storeId:e,type:Fr.direct,events:m},F)},Ir({},l,A)));return y},$dispose:b};x._r=!1;const $=hT(hs?Ir({_hmrPayload:U,_customProperties:Is(new Set)},x):x);n._s.set(e,$);const H=(n._a&&n._a.runWithContext||Ry)(()=>n._e.run(()=>(s=rg()).run(t)));for(const B in H){const A=H[B];if(Ge(A)&&!by(A)||di(A))i||(f&&yy(A)&&(Ge(A)?A.value=f[B]:PT(A,f[B])),Rn(n.state.value[e],B,A));else if(typeof A=="function"){const y=I(B,A);Rn(H,B,y),o.actions[B]=A}}if(Object.keys(H).forEach(B=>{Rn($,B,H[B])}),Object.defineProperty($,"$state",{get:()=>n.state.value[e],set:B=>{N(A=>{Ir(A,B)})}}),hs){const B={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(A=>{Object.defineProperty($,A,Ir({value:$[A]},B))})}return $._r=!0,n._p.forEach(B=>{if(hs){const A=s.run(()=>B({store:$,app:n._a,pinia:n,options:o}));Object.keys(A||{}).forEach(y=>$._customProperties.add(y)),Ir($,A)}else Ir($,s.run(()=>B({store:$,app:n._a,pinia:n,options:o})))}),f&&i&&r.hydrate&&r.hydrate($.$state,f),u=!0,c=!0,$}function oD(e,t,r){let n,a;const i=typeof t=="function";typeof e=="string"?(n=e,a=i?r:t):(a=e,n=e.id);function s(o,l){const u=X3();return o=o||(u?DR(Kg,null):null),o&&uo(o),o=Wg,o._s.has(n)||(i?sD(n,t,a,o):My(n,a,o)),o._s.get(n)}return s.$id=n,s}const wy=function(e){e.mixin({beforeCreate(){const t=this.$options;if(t.pinia){const r=t.pinia;if(!this._provided){const n={};Object.defineProperty(this,"_provided",{get:()=>n,set:a=>Object.assign(n,a)})}this._provided[Kg]=r,this.$pinia||(this.$pinia=r),r._a=this,Tp&&uo(r),hs&&Sy(r._a,r)}else!this.$pinia&&t.parent&&t.parent.$pinia&&(this.$pinia=t.parent.$pinia)},destroyed(){delete this._pStores}})};function lD(e,t){return function(){return e.apply(t,arguments)}}const{toString:_y}=Object.prototype,{getPrototypeOf:mp}=Object,ql=(e=>t=>{const r=_y.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Mr=e=>(e=e.toLowerCase(),t=>ql(t)===e),Xl=e=>t=>typeof t===e,{isArray:zi}=Array,Hs=Xl("undefined");function By(e){return e!==null&&!Hs(e)&&e.constructor!==null&&!Hs(e.constructor)&&Vt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const uD=Mr("ArrayBuffer");function Cy(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&uD(e.buffer),t}const Yy=Xl("string"),Vt=Xl("function"),cD=Xl("number"),eu=e=>e!==null&&typeof e=="object",Ly=e=>e===!0||e===!1,b0=e=>{if(ql(e)!=="object")return!1;const t=mp(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},xy=Mr("Date"),Iy=Mr("File"),Zy=Mr("Blob"),ky=Mr("FileList"),Py=e=>eu(e)&&Vt(e.pipe),Uy=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Vt(e.append)&&((t=ql(e))==="formdata"||t==="object"&&Vt(e.toString)&&e.toString()==="[object FormData]"))},Gy=Mr("URLSearchParams"),Hy=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function co(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,a;if(typeof e!="object"&&(e=[e]),zi(e))for(n=0,a=e.length;n0;)if(a=r[n],t===a.toLowerCase())return a;return null}const dD=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Ue.global)(),pD=e=>!Hs(e)&&e!==dD;function UT(){const{caseless:e}=pD(this)&&this||{},t={},r=(n,a)=>{const i=e&&TD(t,a)||a;b0(t[i])&&b0(n)?t[i]=UT(t[i],n):b0(n)?t[i]=UT({},n):zi(n)?t[i]=n.slice():t[i]=n};for(let n=0,a=arguments.length;n(co(t,(a,i)=>{r&&Vt(a)?e[i]=lD(a,r):e[i]=a},{allOwnKeys:n}),e),$y=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),jy=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Vy=(e,t,r,n)=>{let a,i,s;const o={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)s=a[i],(!n||n(s,e,t))&&!o[s]&&(t[s]=e[s],o[s]=!0);e=r!==!1&&mp(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Qy=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Wy=e=>{if(!e)return null;if(zi(e))return e;let t=e.length;if(!cD(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Ky=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&mp(Uint8Array)),Jy=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=r.next())&&!n.done;){const a=n.value;t.call(e,a[0],a[1])}},qy=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Xy=Mr("HTMLFormElement"),e2=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,n){return r.toUpperCase()+n}),Jh=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),t2=Mr("RegExp"),mD=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};co(r,(a,i)=>{let s;(s=t(a,i,e))!==!1&&(n[i]=s||a)}),Object.defineProperties(e,n)},r2=e=>{mD(e,(t,r)=>{if(Vt(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Vt(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},n2=(e,t)=>{const r={},n=a=>{a.forEach(i=>{r[i]=!0})};return zi(e)?n(e):n(String(e).split(t)),r},a2=()=>{},i2=(e,t)=>(e=+e,Number.isFinite(e)?e:t),nc="abcdefghijklmnopqrstuvwxyz",qh="0123456789",hD={DIGIT:qh,ALPHA:nc,ALPHA_DIGIT:nc+nc.toUpperCase()+qh},s2=(e=16,t=hD.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function o2(e){return!!(e&&Vt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const l2=e=>{const t=new Array(10),r=(n,a)=>{if(eu(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[a]=n;const i=zi(n)?[]:{};return co(n,(s,o)=>{const l=r(s,a+1);!Hs(l)&&(i[o]=l)}),t[a]=void 0,i}}return n};return r(e,0)},u2=Mr("AsyncFunction"),c2=e=>e&&(eu(e)||Vt(e))&&Vt(e.then)&&Vt(e.catch),j={isArray:zi,isArrayBuffer:uD,isBuffer:By,isFormData:Uy,isArrayBufferView:Cy,isString:Yy,isNumber:cD,isBoolean:Ly,isObject:eu,isPlainObject:b0,isUndefined:Hs,isDate:xy,isFile:Iy,isBlob:Zy,isRegExp:t2,isFunction:Vt,isStream:Py,isURLSearchParams:Gy,isTypedArray:Ky,isFileList:ky,forEach:co,merge:UT,extend:zy,trim:Hy,stripBOM:$y,inherits:jy,toFlatObject:Vy,kindOf:ql,kindOfTest:Mr,endsWith:Qy,toArray:Wy,forEachEntry:Jy,matchAll:qy,isHTMLForm:Xy,hasOwnProperty:Jh,hasOwnProp:Jh,reduceDescriptors:mD,freezeMethods:r2,toObjectSet:n2,toCamelCase:e2,noop:a2,toFiniteNumber:i2,findKey:TD,global:dD,isContextDefined:pD,ALPHABET:hD,generateString:s2,isSpecCompliantForm:o2,toJSONObject:l2,isAsyncFn:u2,isThenable:c2};function Ee(e,t,r,n,a){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),a&&(this.response=a)}j.inherits(Ee,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:j.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Xh=Ee.prototype,e1={};["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=>{e1[e]={value:e}}),Object.defineProperties(Ee,e1),Object.defineProperty(Xh,"isAxiosError",{value:!0}),Ee.from=(e,t,r,n,a,i)=>{const s=Object.create(Xh);return j.toFlatObject(e,s,function(o){return o!==Error.prototype},o=>o!=="isAxiosError"),Ee.call(s,e.message,t,r,n,a),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const T2=null;function GT(e){return j.isPlainObject(e)||j.isArray(e)}function fD(e){return j.endsWith(e,"[]")?e.slice(0,-2):e}function t1(e,t,r){return e?e.concat(t).map(function(n,a){return n=fD(n),!r&&a?"["+n+"]":n}).join(r?".":""):t}function d2(e){return j.isArray(e)&&!e.some(GT)}const p2=j.toFlatObject(j,{},null,function(e){return/^is[A-Z]/.test(e)});function tu(e,t,r){if(!j.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=j.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,f){return!j.isUndefined(f[m])});const n=r.metaTokens,a=r.visitor||u,i=r.dots,s=r.indexes,o=(r.Blob||typeof Blob<"u"&&Blob)&&j.isSpecCompliantForm(t);if(!j.isFunction(a))throw new TypeError("visitor must be a function");function l(m){if(m===null)return"";if(j.isDate(m))return m.toISOString();if(!o&&j.isBlob(m))throw new Ee("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(m)||j.isTypedArray(m)?o&&typeof Blob=="function"?new Blob([m]):Ue.Buffer.from(m):m}function u(m,f,v){let g=m;if(m&&!v&&typeof m=="object"){if(j.endsWith(f,"{}"))f=n?f:f.slice(0,-2),m=JSON.stringify(m);else if(j.isArray(m)&&d2(m)||(j.isFileList(m)||j.endsWith(f,"[]"))&&(g=j.toArray(m)))return f=fD(f),g.forEach(function(N,Y){!(j.isUndefined(N)||N===null)&&t.append(s===!0?t1([f],Y,i):s===null?f:f+"[]",l(N))}),!1}return GT(m)?!0:(t.append(t1(v,f,i),l(m)),!1)}const c=[],d=Object.assign(p2,{defaultVisitor:u,convertValue:l,isVisitable:GT});function p(m,f){if(!j.isUndefined(m)){if(c.indexOf(m)!==-1)throw Error("Circular reference detected in "+f.join("."));c.push(m),j.forEach(m,function(v,g){(!(j.isUndefined(v)||v===null)&&a.call(t,v,j.isString(g)?g.trim():g,f,d))===!0&&p(v,f?f.concat(g):[g])}),c.pop()}}if(!j.isObject(e))throw new TypeError("data must be an object");return p(e),t}function r1(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function hp(e,t){this._pairs=[],e&&tu(e,this,t)}const n1=hp.prototype;n1.append=function(e,t){this._pairs.push([e,t])},n1.toString=function(e){const t=e?function(r){return e.call(this,r,r1)}:r1;return this._pairs.map(function(r){return t(r[0])+"="+t(r[1])},"").join("&")};function m2(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function AD(e,t,r){if(!t)return e;const n=r&&r.encode||m2,a=r&&r.serialize;let i;if(a?i=a(t,r):i=j.isURLSearchParams(t)?t.toString():new hp(t,r).toString(n),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class a1{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){j.forEach(this.handlers,function(r){r!==null&&t(r)})}}const ED={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},h2=typeof URLSearchParams<"u"?URLSearchParams:hp,f2=typeof FormData<"u"?FormData:null,A2=typeof Blob<"u"?Blob:null,E2={isBrowser:!0,classes:{URLSearchParams:h2,FormData:f2,Blob:A2},protocols:["http","https","file","blob","url","data"]},gD=typeof window<"u"&&typeof document<"u",g2=(e=>gD&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),D2=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),S2=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:gD,hasStandardBrowserEnv:g2,hasStandardBrowserWebWorkerEnv:D2},Symbol.toStringTag,{value:"Module"})),Sr={...S2,...E2};function v2(e,t){return tu(e,new Sr.classes.URLSearchParams,Object.assign({visitor:function(r,n,a,i){return Sr.isNode&&j.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function F2(e){return j.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function N2(e){const t={},r=Object.keys(e);let n;const a=r.length;let i;for(n=0;n=r.length;return s=!s&&j.isArray(a)?a.length:s,l?(j.hasOwnProp(a,s)?a[s]=[a[s],n]:a[s]=n,!o):((!a[s]||!j.isObject(a[s]))&&(a[s]=[]),t(r,n,a[s],i)&&j.isArray(a[s])&&(a[s]=N2(a[s])),!o)}if(j.isFormData(e)&&j.isFunction(e.entries)){const r={};return j.forEachEntry(e,(n,a)=>{t(F2(n),a,r,0)}),r}return null}function R2(e,t,r){if(j.isString(e))try{return(t||JSON.parse)(e),j.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const fp={transitional:ED,adapter:["xhr","http"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,a=j.isObject(e);if(a&&j.isHTMLForm(e)&&(e=new FormData(e)),j.isFormData(e))return n&&n?JSON.stringify(DD(e)):e;if(j.isArrayBuffer(e)||j.isBuffer(e)||j.isStream(e)||j.isFile(e)||j.isBlob(e))return e;if(j.isArrayBufferView(e))return e.buffer;if(j.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return v2(e,this.formSerializer).toString();if((i=j.isFileList(e))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return tu(i?{"files[]":e}:e,s&&new s,this.formSerializer)}}return a||n?(t.setContentType("application/json",!1),R2(e)):e}],transformResponse:[function(e){const t=this.transitional||fp.transitional,r=t&&t.forcedJSONParsing,n=this.responseType==="json";if(e&&j.isString(e)&&(r&&!this.responseType||n)){const a=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(i){if(a)throw i.name==="SyntaxError"?Ee.from(i,Ee.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Sr.classes.FormData,Blob:Sr.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],e=>{fp.headers[e]={}});const Ap=fp,O2=j.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"]),y2=e=>{const t={};let r,n,a;return e&&e.split(` +Only state can be modified.`);s[0]="$state",ri=!1,n.set(i,s,n.state.value),ri=!0}})})}function vy(e,t){y0.includes(sl(t.$id))||y0.push(sl(t.$id)),Qg({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:y0,app:e,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},r=>{const n=typeof r.now=="function"?r.now.bind(r):Date.now;t.$onAction(({after:s,onError:o,name:l,args:u})=>{const c=aD++;r.addTimelineEvent({layerId:Xn,event:{time:n(),title:"🛫 "+l,subtitle:"start",data:{store:tr(t.$id),action:tr(l),args:u},groupId:c}}),s(d=>{bn=void 0,r.addTimelineEvent({layerId:Xn,event:{time:n(),title:"🛬 "+l,subtitle:"end",data:{store:tr(t.$id),action:tr(l),args:u,result:d},groupId:c}})}),o(d=>{bn=void 0,r.addTimelineEvent({layerId:Xn,event:{time:n(),logType:"error",title:"💥 "+l,subtitle:"end",data:{store:tr(t.$id),action:tr(l),args:u,error:d},groupId:c}})})},!0),t._customProperties.forEach(s=>{nn(()=>JE(t[s]),(o,l)=>{r.notifyComponentUpdate(),r.sendInspectorState(at),ri&&r.addTimelineEvent({layerId:Xn,event:{time:n(),title:"Change",subtitle:s,data:{newValue:o,oldValue:l},groupId:bn}})},{deep:!0})}),t.$subscribe(({events:s,type:o},l)=>{if(r.notifyComponentUpdate(),r.sendInspectorState(at),!ri)return;const u={time:n(),title:gy(o),data:Dy({store:tr(t.$id)},Ey(s)),groupId:bn};o===Fr.patchFunction?u.subtitle="⤵️":o===Fr.patchObject?u.subtitle="🧩":s&&!Array.isArray(s)&&(u.subtitle=s.type),s&&(u.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:s}}),r.addTimelineEvent({layerId:Xn,event:u})},{detached:!0,flush:"sync"});const a=t._hotUpdate;t._hotUpdate=Is(s=>{a(s),r.addTimelineEvent({layerId:Xn,event:{time:n(),title:"🔥 "+t.$id,subtitle:"HMR update",data:{store:tr(t.$id),info:tr("HMR update")}}}),r.notifyComponentUpdate(),r.sendInspectorTree(at),r.sendInspectorState(at)});const{$dispose:i}=t;t.$dispose=()=>{i(),r.notifyComponentUpdate(),r.sendInspectorTree(at),r.sendInspectorState(at),r.getSettings().logStoreChanges&&We(`Disposed "${t.$id}" store 🗑`)},r.notifyComponentUpdate(),r.sendInspectorTree(at),r.sendInspectorState(at),r.getSettings().logStoreChanges&&We(`"${t.$id}" store installed 🆕`)})}let aD=0,bn;function Wh(e,t,r){const n=t.reduce((a,i)=>(a[i]=Kl(e)[i],a),{});for(const a in n)e[a]=function(){const i=aD,s=r?new Proxy(e,{get(...l){return bn=i,Reflect.get(...l)},set(...l){return bn=i,Reflect.set(...l)}}):e;bn=i;const o=n[a].apply(s,arguments);return bn=void 0,o}}function Fy({app:e,store:t,options:r}){if(t.$id.startsWith("__hot:"))return;t._isOptionsAPI=!!r.state,Wh(t,Object.keys(r.actions),t._isOptionsAPI);const n=t._hotUpdate;Kl(t)._hotUpdate=function(a){n.apply(this,arguments),Wh(t,Object.keys(a._hmrPayload.actions),!!t._isOptionsAPI)},vy(e,t)}function Ny(){const e=rg(!0),t=e.run(()=>pe({}));let r=[];const n=Is({install(a){uo(n)},use(a){return!this._a&&!q3||r.push(a),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return hs&&typeof Proxy<"u"&&n.use(Fy),n}const iD=()=>{};function Kh(e,t,r,n=iD){e.push(t);const a=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),n())};return!r&&jd()&&ng(a),a}function Za(e,...t){e.slice().forEach(r=>{r(...t)})}const Ry=e=>e();function PT(e,t){e instanceof Map&&t instanceof Map&&t.forEach((r,n)=>e.set(n,r)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],a=e[r];Vh(a)&&Vh(n)&&e.hasOwnProperty(r)&&!Ge(n)&&!di(n)?e[r]=PT(a,n):e[r]=n}return e}const Oy=new WeakMap;function yy(e){return!Oy.has(e)}const{assign:Ir}=Object;function by(e){return!!(Ge(e)&&e.effect)}function My(e,t,r,n){const{state:a,actions:i,getters:s}=t,o=r.state.value[e];let l;function u(){o||Rn(r.state.value,e,a?a():{});const c=dR(r.state.value[e]);return Ir(c,i,Object.keys(s||{}).reduce((d,p)=>(d[p]=Is(le(()=>{uo(r);const m=r._s.get(e);if(m._r)return s[p].call(m,m)})),d),{}))}return l=sD(e,u,t,r,n,!0),l}function sD(e,t,r={},n,a,i){let s;const o=Ir({actions:{}},r),l={deep:!0};let u,c,d=[],p=[],m;const f=n.state.value[e];!i&&!f&&Rn(n.state.value,e,{});const v=pe({});let g;function N(B){let A;u=c=!1,typeof B=="function"?(B(n.state.value[e]),A={type:Fr.patchFunction,storeId:e,events:m}):(PT(n.state.value[e],B),A={type:Fr.patchObject,payload:B,storeId:e,events:m});const y=g=Symbol();Hi().then(()=>{g===y&&(u=!0)}),c=!0,Za(d,A,n.state.value[e])}const Y=i?function(){const{state:B}=r,A=B?B():{};this.$patch(y=>{Ir(y,A)})}:iD;function b(){s.stop(),d=[],p=[],n._s.delete(e)}function I(B,A){return function(){uo(n);const y=Array.from(arguments),S=[],F=[];function O(_){S.push(_)}function Z(_){F.push(_)}Za(p,{args:y,name:B,store:$,after:O,onError:Z});let z;try{z=A.apply(this&&this.$id===e?this:$,y)}catch(_){throw Za(F,_),_}return z instanceof Promise?z.then(_=>(Za(S,_),_)).catch(_=>(Za(F,_),Promise.reject(_))):(Za(S,z),z)}}const U=Is({actions:{},getters:{},state:[],hotState:v}),x={_p:n,$id:e,$onAction:Kh.bind(null,p),$patch:N,$reset:Y,$subscribe(B,A={}){const y=Kh(d,B,A.detached,()=>S()),S=s.run(()=>nn(()=>n.state.value[e],F=>{(A.flush==="sync"?c:u)&&B({storeId:e,type:Fr.direct,events:m},F)},Ir({},l,A)));return y},$dispose:b};x._r=!1;const $=hT(hs?Ir({_hmrPayload:U,_customProperties:Is(new Set)},x):x);n._s.set(e,$);const H=(n._a&&n._a.runWithContext||Ry)(()=>n._e.run(()=>(s=rg()).run(t)));for(const B in H){const A=H[B];if(Ge(A)&&!by(A)||di(A))i||(f&&yy(A)&&(Ge(A)?A.value=f[B]:PT(A,f[B])),Rn(n.state.value[e],B,A));else if(typeof A=="function"){const y=I(B,A);Rn(H,B,y),o.actions[B]=A}}if(Object.keys(H).forEach(B=>{Rn($,B,H[B])}),Object.defineProperty($,"$state",{get:()=>n.state.value[e],set:B=>{N(A=>{Ir(A,B)})}}),hs){const B={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(A=>{Object.defineProperty($,A,Ir({value:$[A]},B))})}return $._r=!0,n._p.forEach(B=>{if(hs){const A=s.run(()=>B({store:$,app:n._a,pinia:n,options:o}));Object.keys(A||{}).forEach(y=>$._customProperties.add(y)),Ir($,A)}else Ir($,s.run(()=>B({store:$,app:n._a,pinia:n,options:o})))}),f&&i&&r.hydrate&&r.hydrate($.$state,f),u=!0,c=!0,$}function oD(e,t,r){let n,a;const i=typeof t=="function";typeof e=="string"?(n=e,a=i?r:t):(a=e,n=e.id);function s(o,l){const u=X3();return o=o||(u?DR(Kg,null):null),o&&uo(o),o=Wg,o._s.has(n)||(i?sD(n,t,a,o):My(n,a,o)),o._s.get(n)}return s.$id=n,s}const wy=function(e){e.mixin({beforeCreate(){const t=this.$options;if(t.pinia){const r=t.pinia;if(!this._provided){const n={};Object.defineProperty(this,"_provided",{get:()=>n,set:a=>Object.assign(n,a)})}this._provided[Kg]=r,this.$pinia||(this.$pinia=r),r._a=this,Tp&&uo(r),hs&&Sy(r._a,r)}else!this.$pinia&&t.parent&&t.parent.$pinia&&(this.$pinia=t.parent.$pinia)},destroyed(){delete this._pStores}})};function lD(e,t){return function(){return e.apply(t,arguments)}}const{toString:_y}=Object.prototype,{getPrototypeOf:mp}=Object,ql=(e=>t=>{const r=_y.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Mr=e=>(e=e.toLowerCase(),t=>ql(t)===e),Xl=e=>t=>typeof t===e,{isArray:zi}=Array,Hs=Xl("undefined");function By(e){return e!==null&&!Hs(e)&&e.constructor!==null&&!Hs(e.constructor)&&Vt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const uD=Mr("ArrayBuffer");function Cy(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&uD(e.buffer),t}const Yy=Xl("string"),Vt=Xl("function"),cD=Xl("number"),eu=e=>e!==null&&typeof e=="object",Ly=e=>e===!0||e===!1,b0=e=>{if(ql(e)!=="object")return!1;const t=mp(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},xy=Mr("Date"),Iy=Mr("File"),Zy=Mr("Blob"),ky=Mr("FileList"),Py=e=>eu(e)&&Vt(e.pipe),Uy=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Vt(e.append)&&((t=ql(e))==="formdata"||t==="object"&&Vt(e.toString)&&e.toString()==="[object FormData]"))},Gy=Mr("URLSearchParams"),Hy=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function co(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,a;if(typeof e!="object"&&(e=[e]),zi(e))for(n=0,a=e.length;n0;)if(a=r[n],t===a.toLowerCase())return a;return null}const dD=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Ue.global)(),pD=e=>!Hs(e)&&e!==dD;function UT(){const{caseless:e}=pD(this)&&this||{},t={},r=(n,a)=>{const i=e&&TD(t,a)||a;b0(t[i])&&b0(n)?t[i]=UT(t[i],n):b0(n)?t[i]=UT({},n):zi(n)?t[i]=n.slice():t[i]=n};for(let n=0,a=arguments.length;n(co(t,(a,i)=>{r&&Vt(a)?e[i]=lD(a,r):e[i]=a},{allOwnKeys:n}),e),$y=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),jy=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Vy=(e,t,r,n)=>{let a,i,s;const o={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)s=a[i],(!n||n(s,e,t))&&!o[s]&&(t[s]=e[s],o[s]=!0);e=r!==!1&&mp(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Qy=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Wy=e=>{if(!e)return null;if(zi(e))return e;let t=e.length;if(!cD(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Ky=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&mp(Uint8Array)),Jy=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=r.next())&&!n.done;){const a=n.value;t.call(e,a[0],a[1])}},qy=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Xy=Mr("HTMLFormElement"),e2=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,n){return r.toUpperCase()+n}),Jh=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),t2=Mr("RegExp"),mD=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};co(r,(a,i)=>{let s;(s=t(a,i,e))!==!1&&(n[i]=s||a)}),Object.defineProperties(e,n)},r2=e=>{mD(e,(t,r)=>{if(Vt(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Vt(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},n2=(e,t)=>{const r={},n=a=>{a.forEach(i=>{r[i]=!0})};return zi(e)?n(e):n(String(e).split(t)),r},a2=()=>{},i2=(e,t)=>(e=+e,Number.isFinite(e)?e:t),nc="abcdefghijklmnopqrstuvwxyz",qh="0123456789",hD={DIGIT:qh,ALPHA:nc,ALPHA_DIGIT:nc+nc.toUpperCase()+qh},s2=(e=16,t=hD.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function o2(e){return!!(e&&Vt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const l2=e=>{const t=new Array(10),r=(n,a)=>{if(eu(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[a]=n;const i=zi(n)?[]:{};return co(n,(s,o)=>{const l=r(s,a+1);!Hs(l)&&(i[o]=l)}),t[a]=void 0,i}}return n};return r(e,0)},u2=Mr("AsyncFunction"),c2=e=>e&&(eu(e)||Vt(e))&&Vt(e.then)&&Vt(e.catch),j={isArray:zi,isArrayBuffer:uD,isBuffer:By,isFormData:Uy,isArrayBufferView:Cy,isString:Yy,isNumber:cD,isBoolean:Ly,isObject:eu,isPlainObject:b0,isUndefined:Hs,isDate:xy,isFile:Iy,isBlob:Zy,isRegExp:t2,isFunction:Vt,isStream:Py,isURLSearchParams:Gy,isTypedArray:Ky,isFileList:ky,forEach:co,merge:UT,extend:zy,trim:Hy,stripBOM:$y,inherits:jy,toFlatObject:Vy,kindOf:ql,kindOfTest:Mr,endsWith:Qy,toArray:Wy,forEachEntry:Jy,matchAll:qy,isHTMLForm:Xy,hasOwnProperty:Jh,hasOwnProp:Jh,reduceDescriptors:mD,freezeMethods:r2,toObjectSet:n2,toCamelCase:e2,noop:a2,toFiniteNumber:i2,findKey:TD,global:dD,isContextDefined:pD,ALPHABET:hD,generateString:s2,isSpecCompliantForm:o2,toJSONObject:l2,isAsyncFn:u2,isThenable:c2};function Ee(e,t,r,n,a){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),a&&(this.response=a)}j.inherits(Ee,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:j.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Xh=Ee.prototype,e1={};["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=>{e1[e]={value:e}}),Object.defineProperties(Ee,e1),Object.defineProperty(Xh,"isAxiosError",{value:!0}),Ee.from=(e,t,r,n,a,i)=>{const s=Object.create(Xh);return j.toFlatObject(e,s,function(o){return o!==Error.prototype},o=>o!=="isAxiosError"),Ee.call(s,e.message,t,r,n,a),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const T2=null;function GT(e){return j.isPlainObject(e)||j.isArray(e)}function fD(e){return j.endsWith(e,"[]")?e.slice(0,-2):e}function t1(e,t,r){return e?e.concat(t).map(function(n,a){return n=fD(n),!r&&a?"["+n+"]":n}).join(r?".":""):t}function d2(e){return j.isArray(e)&&!e.some(GT)}const p2=j.toFlatObject(j,{},null,function(e){return/^is[A-Z]/.test(e)});function tu(e,t,r){if(!j.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=j.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,f){return!j.isUndefined(f[m])});const n=r.metaTokens,a=r.visitor||u,i=r.dots,s=r.indexes,o=(r.Blob||typeof Blob<"u"&&Blob)&&j.isSpecCompliantForm(t);if(!j.isFunction(a))throw new TypeError("visitor must be a function");function l(m){if(m===null)return"";if(j.isDate(m))return m.toISOString();if(!o&&j.isBlob(m))throw new Ee("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(m)||j.isTypedArray(m)?o&&typeof Blob=="function"?new Blob([m]):Ue.Buffer.from(m):m}function u(m,f,v){let g=m;if(m&&!v&&typeof m=="object"){if(j.endsWith(f,"{}"))f=n?f:f.slice(0,-2),m=JSON.stringify(m);else if(j.isArray(m)&&d2(m)||(j.isFileList(m)||j.endsWith(f,"[]"))&&(g=j.toArray(m)))return f=fD(f),g.forEach(function(N,Y){!(j.isUndefined(N)||N===null)&&t.append(s===!0?t1([f],Y,i):s===null?f:f+"[]",l(N))}),!1}return GT(m)?!0:(t.append(t1(v,f,i),l(m)),!1)}const c=[],d=Object.assign(p2,{defaultVisitor:u,convertValue:l,isVisitable:GT});function p(m,f){if(!j.isUndefined(m)){if(c.indexOf(m)!==-1)throw Error("Circular reference detected in "+f.join("."));c.push(m),j.forEach(m,function(v,g){(!(j.isUndefined(v)||v===null)&&a.call(t,v,j.isString(g)?g.trim():g,f,d))===!0&&p(v,f?f.concat(g):[g])}),c.pop()}}if(!j.isObject(e))throw new TypeError("data must be an object");return p(e),t}function r1(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function hp(e,t){this._pairs=[],e&&tu(e,this,t)}const n1=hp.prototype;n1.append=function(e,t){this._pairs.push([e,t])},n1.toString=function(e){const t=e?function(r){return e.call(this,r,r1)}:r1;return this._pairs.map(function(r){return t(r[0])+"="+t(r[1])},"").join("&")};function m2(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function AD(e,t,r){if(!t)return e;const n=r&&r.encode||m2,a=r&&r.serialize;let i;if(a?i=a(t,r):i=j.isURLSearchParams(t)?t.toString():new hp(t,r).toString(n),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class a1{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){j.forEach(this.handlers,function(r){r!==null&&t(r)})}}const ED={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},h2=typeof URLSearchParams<"u"?URLSearchParams:hp,f2=typeof FormData<"u"?FormData:null,A2=typeof Blob<"u"?Blob:null,E2={isBrowser:!0,classes:{URLSearchParams:h2,FormData:f2,Blob:A2},protocols:["http","https","file","blob","url","data"]},gD=typeof window<"u"&&typeof document<"u",g2=(e=>gD&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),D2=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),S2=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:gD,hasStandardBrowserEnv:g2,hasStandardBrowserWebWorkerEnv:D2},Symbol.toStringTag,{value:"Module"})),Sr={...S2,...E2};function v2(e,t){return tu(e,new Sr.classes.URLSearchParams,Object.assign({visitor:function(r,n,a,i){return Sr.isNode&&j.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function F2(e){return j.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function N2(e){const t={},r=Object.keys(e);let n;const a=r.length;let i;for(n=0;n=r.length;return s=!s&&j.isArray(a)?a.length:s,l?(j.hasOwnProp(a,s)?a[s]=[a[s],n]:a[s]=n,!o):((!a[s]||!j.isObject(a[s]))&&(a[s]=[]),t(r,n,a[s],i)&&j.isArray(a[s])&&(a[s]=N2(a[s])),!o)}if(j.isFormData(e)&&j.isFunction(e.entries)){const r={};return j.forEachEntry(e,(n,a)=>{t(F2(n),a,r,0)}),r}return null}function R2(e,t,r){if(j.isString(e))try{return(t||JSON.parse)(e),j.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const fp={transitional:ED,adapter:["xhr","http"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,a=j.isObject(e);if(a&&j.isHTMLForm(e)&&(e=new FormData(e)),j.isFormData(e))return n?JSON.stringify(DD(e)):e;if(j.isArrayBuffer(e)||j.isBuffer(e)||j.isStream(e)||j.isFile(e)||j.isBlob(e))return e;if(j.isArrayBufferView(e))return e.buffer;if(j.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return v2(e,this.formSerializer).toString();if((i=j.isFileList(e))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return tu(i?{"files[]":e}:e,s&&new s,this.formSerializer)}}return a||n?(t.setContentType("application/json",!1),R2(e)):e}],transformResponse:[function(e){const t=this.transitional||fp.transitional,r=t&&t.forcedJSONParsing,n=this.responseType==="json";if(e&&j.isString(e)&&(r&&!this.responseType||n)){const a=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(i){if(a)throw i.name==="SyntaxError"?Ee.from(i,Ee.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Sr.classes.FormData,Blob:Sr.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],e=>{fp.headers[e]={}});const Ap=fp,O2=j.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"]),y2=e=>{const t={};let r,n,a;return e&&e.split(` `).forEach(function(i){a=i.indexOf(":"),r=i.substring(0,a).trim().toLowerCase(),n=i.substring(a+1).trim(),!(!r||t[r]&&O2[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},i1=Symbol("internals");function es(e){return e&&String(e).trim().toLowerCase()}function M0(e){return e===!1||e==null?e:j.isArray(e)?e.map(M0):String(e)}function b2(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 M2=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ac(e,t,r,n,a){if(j.isFunction(n))return n.call(this,t,r);if(a&&(t=r),!!j.isString(t)){if(j.isString(n))return t.indexOf(n)!==-1;if(j.isRegExp(n))return n.test(t)}}function w2(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function _2(e,t){const r=j.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(a,i,s){return this[n].call(this,t,a,i,s)},configurable:!0})})}class w0{constructor(t){t&&this.set(t)}set(t,r,n){const a=this;function i(o,l,u){const c=es(l);if(!c)throw new Error("header name must be a non-empty string");const d=j.findKey(a,c);(!d||a[d]===void 0||u===!0||u===void 0&&a[d]!==!1)&&(a[d||l]=M0(o))}const s=(o,l)=>j.forEach(o,(u,c)=>i(u,c,l));return j.isPlainObject(t)||t instanceof this.constructor?s(t,r):j.isString(t)&&(t=t.trim())&&!M2(t)?s(y2(t),r):t!=null&&i(r,t,n),this}get(t,r){if(t=es(t),t){const n=j.findKey(this,t);if(n){const a=this[n];if(!r)return a;if(r===!0)return b2(a);if(j.isFunction(r))return r.call(this,a,n);if(j.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=es(t),t){const n=j.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||ac(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let a=!1;function i(s){if(s=es(s),s){const o=j.findKey(n,s);o&&(!r||ac(n,n[o],o,r))&&(delete n[o],a=!0)}}return j.isArray(t)?t.forEach(i):i(t),a}clear(t){const r=Object.keys(this);let n=r.length,a=!1;for(;n--;){const i=r[n];(!t||ac(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const r=this,n={};return j.forEach(this,(a,i)=>{const s=j.findKey(n,i);if(s){r[s]=M0(a),delete r[i];return}const o=t?w2(i):String(i).trim();o!==i&&delete r[i],r[o]=M0(a),n[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return j.forEach(this,(n,a)=>{n!=null&&n!==!1&&(r[a]=t&&j.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(` `)}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(a=>n.set(a)),n}static accessor(t){const r=(this[i1]=this[i1]={accessors:{}}).accessors,n=this.prototype;function a(i){const s=es(i);r[s]||(_2(n,i),r[s]=!0)}return j.isArray(t)?t.forEach(a):a(t),this}}w0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),j.reduceDescriptors(w0.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}}),j.freezeMethods(w0);const $r=w0;function ic(e,t){const r=this||Ap,n=t||r,a=$r.from(n.headers);let i=n.data;return j.forEach(e,function(s){i=s.call(r,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function SD(e){return!!(e&&e.__CANCEL__)}function To(e,t,r){Ee.call(this,e??"canceled",Ee.ERR_CANCELED,t,r),this.name="CanceledError"}j.inherits(To,Ee,{__CANCEL__:!0});function B2(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Ee("Request failed with status code "+r.status,[Ee.ERR_BAD_REQUEST,Ee.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const C2=Sr.hasStandardBrowserEnv?{write(e,t,r,n,a,i){const s=[e+"="+encodeURIComponent(t)];j.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),j.isString(n)&&s.push("path="+n),j.isString(a)&&s.push("domain="+a),i===!0&&s.push("secure"),document.cookie=s.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 Y2(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function L2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function vD(e,t){return e&&!Y2(t)?L2(e,t):t}const x2=Sr.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let r;function n(a){let i=a;return e&&(t.setAttribute("href",i),i=t.href),t.setAttribute("href",i),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return r=n(window.location.href),function(a){const i=j.isString(a)?n(a):a;return i.protocol===r.protocol&&i.host===r.host}}():function(){return function(){return!0}}();function I2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Z2(e,t){e=e||10;const r=new Array(e),n=new Array(e);let a=0,i=0,s;return t=t!==void 0?t:1e3,function(o){const l=Date.now(),u=n[i];s||(s=l),r[a]=o,n[a]=l;let c=i,d=0;for(;c!==a;)d+=r[c++],c=c%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),l-s{const i=a.loaded,s=a.lengthComputable?a.total:void 0,o=i-r,l=n(o),u=i<=s;r=i;const c={loaded:i,total:s,progress:s?i/s:void 0,bytes:o,rate:l||void 0,estimated:l&&s&&u?(s-i)/l:void 0,event:a};c[t?"download":"upload"]=!0,e(c)}}const k2=typeof XMLHttpRequest<"u",P2=k2&&function(e){return new Promise(function(t,r){let n=e.data;const a=$r.from(e.headers).normalize();let{responseType:i,withXSRFToken:s}=e,o;function l(){e.cancelToken&&e.cancelToken.unsubscribe(o),e.signal&&e.signal.removeEventListener("abort",o)}let u;if(j.isFormData(n)){if(Sr.hasStandardBrowserEnv||Sr.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if((u=a.getContentType())!==!1){const[f,...v]=u?u.split(";").map(g=>g.trim()).filter(Boolean):[];a.setContentType([f||"multipart/form-data",...v].join("; "))}}let c=new XMLHttpRequest;if(e.auth){const f=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(f+":"+v))}const d=vD(e.baseURL,e.url);c.open(e.method.toUpperCase(),AD(d,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function p(){if(!c)return;const f=$r.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),v={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:f,config:e,request:c};B2(function(g){t(g),l()},function(g){r(g),l()},v),c=null}if("onloadend"in c?c.onloadend=p:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(p)},c.onabort=function(){c&&(r(new Ee("Request aborted",Ee.ECONNABORTED,e,c)),c=null)},c.onerror=function(){r(new Ee("Network Error",Ee.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let f=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const v=e.transitional||ED;e.timeoutErrorMessage&&(f=e.timeoutErrorMessage),r(new Ee(f,v.clarifyTimeoutError?Ee.ETIMEDOUT:Ee.ECONNABORTED,e,c)),c=null},Sr.hasStandardBrowserEnv&&(s&&j.isFunction(s)&&(s=s(e)),s||s!==!1&&x2(d))){const f=e.xsrfHeaderName&&e.xsrfCookieName&&C2.read(e.xsrfCookieName);f&&a.set(e.xsrfHeaderName,f)}n===void 0&&a.setContentType(null),"setRequestHeader"in c&&j.forEach(a.toJSON(),function(f,v){c.setRequestHeader(v,f)}),j.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),i&&i!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",s1(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",s1(e.onUploadProgress)),(e.cancelToken||e.signal)&&(o=f=>{c&&(r(!f||f.type?new To(null,e,c):f),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(o),e.signal&&(e.signal.aborted?o():e.signal.addEventListener("abort",o)));const m=I2(d);if(m&&Sr.protocols.indexOf(m)===-1){r(new Ee("Unsupported protocol "+m+":",Ee.ERR_BAD_REQUEST,e));return}c.send(n||null)})},HT={http:T2,xhr:P2};j.forEach(HT,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const o1=e=>`- ${e}`,U2=e=>j.isFunction(e)||e===null||e===!1,FD={getAdapter:e=>{e=j.isArray(e)?e:[e];const{length:t}=e;let r,n;const a={};for(let i=0;i`adapter ${o} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=t?i.length>1?`since : `+i.map(o1).join(` -`):" "+o1(i[0]):"as no adapter specified";throw new Ee("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return n},adapters:HT};function sc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new To(null,e)}function l1(e){return sc(e),e.headers=$r.from(e.headers),e.data=ic.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),FD.getAdapter(e.adapter||Ap.adapter)(e).then(function(t){return sc(e),t.data=ic.call(e,e.transformResponse,t),t.headers=$r.from(t.headers),t},function(t){return SD(t)||(sc(e),t&&t.response&&(t.response.data=ic.call(e,e.transformResponse,t.response),t.response.headers=$r.from(t.response.headers))),Promise.reject(t)})}const u1=e=>e instanceof $r?e.toJSON():e;function Fi(e,t){t=t||{};const r={};function n(u,c,d){return j.isPlainObject(u)&&j.isPlainObject(c)?j.merge.call({caseless:d},u,c):j.isPlainObject(c)?j.merge({},c):j.isArray(c)?c.slice():c}function a(u,c,d){if(j.isUndefined(c)){if(!j.isUndefined(u))return n(void 0,u,d)}else return n(u,c,d)}function i(u,c){if(!j.isUndefined(c))return n(void 0,c)}function s(u,c){if(j.isUndefined(c)){if(!j.isUndefined(u))return n(void 0,u)}else return n(void 0,c)}function o(u,c,d){if(d in t)return n(u,c);if(d in e)return n(void 0,u)}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:o,headers:(u,c)=>a(u1(u),u1(c),!0)};return j.forEach(Object.keys(Object.assign({},e,t)),function(u){const c=l[u]||a,d=c(e[u],t[u],u);j.isUndefined(d)&&c!==o||(r[u]=d)}),r}const ND="1.6.5",Ep={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ep[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const c1={};Ep.transitional=function(e,t,r){function n(a,i){return"[Axios v"+ND+"] Transitional option '"+a+"'"+i+(r?". "+r:"")}return(a,i,s)=>{if(e===!1)throw new Ee(n(i," has been removed"+(t?" in "+t:"")),Ee.ERR_DEPRECATED);return t&&!c1[i]&&(c1[i]=!0,console.warn(n(i," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(a,i,s):!0}};function G2(e,t,r){if(typeof e!="object")throw new Ee("options must be an object",Ee.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const i=n[a],s=t[i];if(s){const o=e[i],l=o===void 0||s(o,i,e);if(l!==!0)throw new Ee("option "+i+" must be "+l,Ee.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ee("Unknown option "+i,Ee.ERR_BAD_OPTION)}}const zT={assertOptions:G2,validators:Ep},dn=zT.validators;let _0=class{constructor(e){this.defaults=e,this.interceptors={request:new a1,response:new a1}}request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=Fi(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:a}=t;r!==void 0&&zT.assertOptions(r,{silentJSONParsing:dn.transitional(dn.boolean),forcedJSONParsing:dn.transitional(dn.boolean),clarifyTimeoutError:dn.transitional(dn.boolean)},!1),n!=null&&(j.isFunction(n)?t.paramsSerializer={serialize:n}:zT.assertOptions(n,{encode:dn.function,serialize:dn.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=a&&j.merge(a.common,a[t.method]);a&&j.forEach(["delete","get","head","post","put","patch","common"],m=>{delete a[m]}),t.headers=$r.concat(i,a);const s=[];let o=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(t)===!1||(o=o&&m.synchronous,s.unshift(m.fulfilled,m.rejected))});const l=[];this.interceptors.response.forEach(function(m){l.push(m.fulfilled,m.rejected)});let u,c=0,d;if(!o){const m=[l1.bind(this),void 0];for(m.unshift.apply(m,s),m.push.apply(m,l),d=m.length,u=Promise.resolve(t);c{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](a);n._listeners=null}),this.promise.then=a=>{let i;const s=new Promise(o=>{n.subscribe(o),i=o}).then(a);return s.cancel=function(){n.unsubscribe(i)},s},t(function(a,i,s){n.reason||(n.reason=new To(a,i,s),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)}static source(){let t;return{token:new gp(function(r){t=r}),cancel:t}}}const H2=gp;function z2(e){return function(t){return e.apply(null,t)}}function $2(e){return j.isObject(e)&&e.isAxiosError===!0}const $T={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($T).forEach(([e,t])=>{$T[t]=e});const j2=$T;function RD(e){const t=new B0(e),r=lD(B0.prototype.request,t);return j.extend(r,B0.prototype,t,{allOwnKeys:!0}),j.extend(r,t,null,{allOwnKeys:!0}),r.create=function(n){return RD(Fi(e,n))},r}const Pe=RD(Ap);Pe.Axios=B0,Pe.CanceledError=To,Pe.CancelToken=H2,Pe.isCancel=SD,Pe.VERSION=ND,Pe.toFormData=tu,Pe.AxiosError=Ee,Pe.Cancel=Pe.CanceledError,Pe.all=function(e){return Promise.all(e)},Pe.spread=z2,Pe.isAxiosError=$2,Pe.mergeConfig=Fi,Pe.AxiosHeaders=$r,Pe.formToJSON=e=>DD(j.isHTMLForm(e)?new FormData(e):e),Pe.getAdapter=FD.getAdapter,Pe.HttpStatusCode=j2,Pe.default=Pe;const jT=Pe;var oc={};const V2=typeof Ue.process=="object"&&oc&&oc.NODE_DEBUG&&/\bsemver\b/i.test(oc.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var OD=V2;const Q2="2.0.0",yD=256,W2=Number.MAX_SAFE_INTEGER||9007199254740991,K2=16,J2=yD-6,q2=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var bD={MAX_LENGTH:yD,MAX_SAFE_COMPONENT_LENGTH:K2,MAX_SAFE_BUILD_LENGTH:J2,MAX_SAFE_INTEGER:W2,RELEASE_TYPES:q2,SEMVER_SPEC_VERSION:Q2,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},VT={exports:{}};(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:a}=bD,i=OD;t=e.exports={};const s=t.re=[],o=t.safeRe=[],l=t.src=[],u=t.t={};let c=0;const d="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",a],[d,n]],m=v=>{for(const[g,N]of p)v=v.split(`${g}*`).join(`${g}{0,${N}}`).split(`${g}+`).join(`${g}{1,${N}}`);return v},f=(v,g,N)=>{const Y=m(g),b=c++;i(v,b,g),u[v]=b,l[b]=g,s[b]=new RegExp(g,N?"g":void 0),o[b]=new RegExp(Y,N?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),f("MAINVERSION",`(${l[u.NUMERICIDENTIFIER]})\\.(${l[u.NUMERICIDENTIFIER]})\\.(${l[u.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${l[u.NUMERICIDENTIFIERLOOSE]})\\.(${l[u.NUMERICIDENTIFIERLOOSE]})\\.(${l[u.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${l[u.NUMERICIDENTIFIER]}|${l[u.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${l[u.NUMERICIDENTIFIERLOOSE]}|${l[u.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${l[u.PRERELEASEIDENTIFIER]}(?:\\.${l[u.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${l[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[u.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${d}+`),f("BUILD",`(?:\\+(${l[u.BUILDIDENTIFIER]}(?:\\.${l[u.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${l[u.MAINVERSION]}${l[u.PRERELEASE]}?${l[u.BUILD]}?`),f("FULL",`^${l[u.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${l[u.MAINVERSIONLOOSE]}${l[u.PRERELEASELOOSE]}?${l[u.BUILD]}?`),f("LOOSE",`^${l[u.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${l[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${l[u.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${l[u.XRANGEIDENTIFIER]})(?:\\.(${l[u.XRANGEIDENTIFIER]})(?:\\.(${l[u.XRANGEIDENTIFIER]})(?:${l[u.PRERELEASE]})?${l[u.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${l[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[u.XRANGEIDENTIFIERLOOSE]})(?:${l[u.PRERELEASELOOSE]})?${l[u.BUILD]}?)?)?`),f("XRANGE",`^${l[u.GTLT]}\\s*${l[u.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${l[u.GTLT]}\\s*${l[u.XRANGEPLAINLOOSE]}$`),f("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),f("COERCERTL",l[u.COERCE],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${l[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",f("TILDE",`^${l[u.LONETILDE]}${l[u.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${l[u.LONETILDE]}${l[u.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${l[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",f("CARET",`^${l[u.LONECARET]}${l[u.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${l[u.LONECARET]}${l[u.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${l[u.GTLT]}\\s*(${l[u.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${l[u.GTLT]}\\s*(${l[u.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${l[u.GTLT]}\\s*(${l[u.LOOSEPLAIN]}|${l[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${l[u.XRANGEPLAIN]})\\s+-\\s+(${l[u.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${l[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[u.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(VT,VT.exports);var X2=VT.exports;const eb=Object.freeze({loose:!0}),tb=Object.freeze({}),rb=e=>e?typeof e!="object"?eb:e:tb;var nb=rb;const T1=/^[0-9]+$/,MD=(e,t)=>{const r=T1.test(e),n=T1.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:eMD(t,e);var ib={compareIdentifiers:MD,rcompareIdentifiers:ab};const Po=OD,{MAX_LENGTH:d1,MAX_SAFE_INTEGER:Uo}=bD,{safeRe:p1,t:m1}=X2,sb=nb,{compareIdentifiers:ka}=ib;let ob=class ur{constructor(t,r){if(r=sb(r),t instanceof ur){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>d1)throw new TypeError(`version is longer than ${d1} characters`);Po("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const n=t.trim().match(r.loose?p1[m1.LOOSE]:p1[m1.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Uo||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Uo||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Uo||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(a=>{if(/^[0-9]+$/.test(a)){const i=+a;if(i>=0&&i=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(a)}}if(r){let i=[r,a];n===!1&&(i=[r]),ka(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var wD=ob;const h1=wD,lb=(e,t,r=!1)=>{if(e instanceof h1)return e;try{return new h1(e,t)}catch(n){if(!r)return null;throw n}};var ub=lb;const cb=ub,Tb=(e,t)=>{const r=cb(e,t);return r?r.version:null};var db=Tb;const pb=rn(db),mb=wD,hb=(e,t)=>new mb(e,t).major;var fb=hb;const f1=rn(fb);class Ab{bus;constructor(t){typeof t.getVersion!="function"||!pb(t.getVersion())?console.warn("Proxying an event bus with an unknown or invalid version"):f1(t.getVersion())!==f1(this.getVersion())&&console.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()),this.bus=t}getVersion(){return"3.1.0"}subscribe(t,r){this.bus.subscribe(t,r)}unsubscribe(t,r){this.bus.unsubscribe(t,r)}emit(t,r){this.bus.emit(t,r)}}class Eb{handlers=new Map;getVersion(){return"3.1.0"}subscribe(t,r){this.handlers.set(t,(this.handlers.get(t)||[]).concat(r))}unsubscribe(t,r){this.handlers.set(t,(this.handlers.get(t)||[]).filter(n=>n!=r))}emit(t,r){(this.handlers.get(t)||[]).forEach(n=>{try{n(r)}catch(a){console.error("could not invoke event listener",a)}})}}let ts=null;function _D(){return ts!==null?ts:typeof window>"u"?new Proxy({},{get:()=>()=>console.error("Window not available, EventBus can not be established!")}):(typeof window.OC<"u"&&window.OC._eventBus&&typeof window._nc_event_bus>"u"&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),typeof window?._nc_event_bus<"u"?ts=new Ab(window._nc_event_bus):ts=window._nc_event_bus=new Eb,ts)}function C0(e,t){_D().subscribe(e,t)}function lc(e,t){_D().unsubscribe(e,t)}let Y0;const BD=[];function CD(){if(Y0===void 0){const e=document?.getElementsByTagName("head")[0];Y0=e?e.getAttribute("data-requesttoken"):null}return Y0}function YD(e){BD.push(e)}C0("csrf-token-update",e=>{Y0=e.token,BD.forEach(t=>{try{t(e.token)}catch(r){console.error("error updating CSRF token observer",r)}})});const A1=(e,t)=>e?e.getAttribute(t):null;let Pa;function ol(){if(Pa!==void 0)return Pa;const e=document?.getElementsByTagName("head")[0];if(!e)return null;const t=A1(e,"data-user");return t===null?(Pa=null,Pa):(Pa={uid:t,displayName:A1(e,"data-user-displayname"),isAdmin:!!window._oc_isadmin},Pa)}const gb=Object.freeze(Object.defineProperty({__proto__:null,getCurrentUser:ol,getRequestToken:CD,onRequestTokenUpdate:YD},Symbol.toStringTag,{value:"Module"}));var Mn=function(){return Mn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]Gt.get(Kr("apps/logreader/api/log"),{...t,params:e}),D1=(e,t={})=>Gt.get(Kr("apps/logreader/api/poll"),{...t,params:e}),Fb=(e,t={})=>Gt.put(Kr("apps/logreader/api/settings"),e,t),Nb=(e,t={})=>Gt.get(Kr("apps/logreader/api/settings"),{...t,params:e}),po=[ue("logreader","Debug"),ue("logreader","Info"),ue("logreader","Warning"),ue("logreader","Error"),ue("logreader","Fatal")],xD=["debug","info","warning","error","fatal"],S1=1e4,Rb="modulepreload",Ob=function(e,t){return e[0]==="."?new URL(e,t).href:e},v1={},yb=function(e,t,r){let n=Promise.resolve();if(t&&t.length>0){const a=document.getElementsByTagName("link");n=Promise.all(t.map(i=>{if(i=Ob(i,r),i in v1)return;v1[i]=!0;const s=i.endsWith(".css"),o=s?'[rel="stylesheet"]':"";if(r)for(let u=a.length-1;u>=0;u--){const c=a[u];if(c.href===i&&(!s||c.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${o}`))return;const l=document.createElement("link");if(l.rel=s?"stylesheet":Rb,s||(l.as="script",l.crossOrigin=""),l.href=i,document.head.appendChild(l),s)return new Promise((u,c)=>{l.addEventListener("load",u),l.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${i}`)))})}))}return n.then(()=>e()).catch(a=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a})};function or(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function F1(e,t){for(var r="",n=0,a=-1,i=0,s,o=0;o<=e.length;++o){if(o2){var l=r.lastIndexOf("/");if(l!==r.length-1){l===-1?(r="",n=0):(r=r.slice(0,l),n=r.length-1-r.lastIndexOf("/")),a=o,i=0;continue}}else if(r.length===2||r.length===1){r="",n=0,a=o,i=0;continue}}t&&(r.length>0?r+="/..":r="..",n=2)}else r.length>0?r+="/"+e.slice(a+1,o):r=e.slice(a+1,o),n=o-a-1;a=o,i=0}else s===46&&i!==-1?++i:i=-1}return r}function bb(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}var fs={resolve:function(){for(var e="",t=!1,r,n=arguments.length-1;n>=-1&&!t;n--){var a;n>=0?a=arguments[n]:(r===void 0&&(r=Ue.process.cwd()),a=r),or(a),a.length!==0&&(e=a+"/"+e,t=a.charCodeAt(0)===47)}return e=F1(e,!t),t?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(or(e),e.length===0)return".";var t=e.charCodeAt(0)===47,r=e.charCodeAt(e.length-1)===47;return e=F1(e,!t),e.length===0&&!t&&(e="."),e.length>0&&r&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return or(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,t=0;t0&&(e===void 0?e=r:e+="/"+r)}return e===void 0?".":fs.normalize(e)},relative:function(e,t){if(or(e),or(t),e===t||(e=fs.resolve(e),t=fs.resolve(t),e===t))return"";for(var r=1;rl){if(t.charCodeAt(i+c)===47)return t.slice(i+c+1);if(c===0)return t.slice(i+c)}else a>l&&(e.charCodeAt(r+c)===47?u=c:c===0&&(u=0));break}var d=e.charCodeAt(r+c),p=t.charCodeAt(i+c);if(d!==p)break;d===47&&(u=c)}var m="";for(c=r+u+1;c<=n;++c)(c===n||e.charCodeAt(c)===47)&&(m.length===0?m+="..":m+="/..");return m.length>0?m+t.slice(i+u):(i+=u,t.charCodeAt(i)===47&&++i,t.slice(i))},_makeLong:function(e){return e},dirname:function(e){if(or(e),e.length===0)return".";for(var t=e.charCodeAt(0),r=t===47,n=-1,a=!0,i=e.length-1;i>=1;--i)if(t=e.charCodeAt(i),t===47){if(!a){n=i;break}}else a=!1;return n===-1?r?"/":".":r&&n===1?"//":e.slice(0,n)},basename:function(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');or(e);var r=0,n=-1,a=!0,i;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,o=-1;for(i=e.length-1;i>=0;--i){var l=e.charCodeAt(i);if(l===47){if(!a){r=i+1;break}}else o===-1&&(a=!1,o=i+1),s>=0&&(l===t.charCodeAt(s)?--s===-1&&(n=i):(s=-1,n=o))}return r===n?n=o:n===-1&&(n=e.length),e.slice(r,n)}else{for(i=e.length-1;i>=0;--i)if(e.charCodeAt(i)===47){if(!a){r=i+1;break}}else n===-1&&(a=!1,n=i+1);return n===-1?"":e.slice(r,n)}},extname:function(e){or(e);for(var t=-1,r=0,n=-1,a=!0,i=0,s=e.length-1;s>=0;--s){var o=e.charCodeAt(s);if(o===47){if(!a){r=s+1;break}continue}n===-1&&(a=!1,n=s+1),o===46?t===-1?t=s:i!==1&&(i=1):t!==-1&&(i=-1)}return t===-1||n===-1||i===0||i===1&&t===n-1&&t===r+1?"":e.slice(t,n)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return bb("/",e)},parse:function(e){or(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;var r=e.charCodeAt(0),n=r===47,a;n?(t.root="/",a=1):a=0;for(var i=-1,s=0,o=-1,l=!0,u=e.length-1,c=0;u>=a;--u){if(r=e.charCodeAt(u),r===47){if(!l){s=u+1;break}continue}o===-1&&(l=!1,o=u+1),r===46?i===-1?i=u:c!==1&&(c=1):i!==-1&&(c=-1)}return i===-1||o===-1||c===0||c===1&&i===o-1&&i===s+1?o!==-1&&(s===0&&n?t.base=t.name=e.slice(1,o):t.base=t.name=e.slice(s,o)):(s===0&&n?(t.name=e.slice(1,i),t.base=e.slice(1,o)):(t.name=e.slice(s,i),t.base=e.slice(s,o)),t.ext=e.slice(i,o)),s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};fs.posix=fs;var ID={exports:{}};(function(e){(function(t,r){e.exports?e.exports=r():t.Toastify=r()})(Dr,function(t){var r=function(s){return new r.lib.init(s)},n="1.12.0";r.defaults={oldestFirst:!0,text:"Toastify is awesome!",node:void 0,duration:3e3,selector:void 0,callback:function(){},destination:void 0,newWindow:!1,close:!1,gravity:"toastify-top",positionLeft:!1,position:"",backgroundColor:"",avatar:"",className:"",stopOnFocus:!0,onClick:function(){},offset:{x:0,y:0},escapeMarkup:!0,ariaLive:"polite",style:{background:""}},r.lib=r.prototype={toastify:n,constructor:r,init:function(s){return s||(s={}),this.options={},this.toastElement=null,this.options.text=s.text||r.defaults.text,this.options.node=s.node||r.defaults.node,this.options.duration=s.duration===0?0:s.duration||r.defaults.duration,this.options.selector=s.selector||r.defaults.selector,this.options.callback=s.callback||r.defaults.callback,this.options.destination=s.destination||r.defaults.destination,this.options.newWindow=s.newWindow||r.defaults.newWindow,this.options.close=s.close||r.defaults.close,this.options.gravity=s.gravity==="bottom"?"toastify-bottom":r.defaults.gravity,this.options.positionLeft=s.positionLeft||r.defaults.positionLeft,this.options.position=s.position||r.defaults.position,this.options.backgroundColor=s.backgroundColor||r.defaults.backgroundColor,this.options.avatar=s.avatar||r.defaults.avatar,this.options.className=s.className||r.defaults.className,this.options.stopOnFocus=s.stopOnFocus===void 0?r.defaults.stopOnFocus:s.stopOnFocus,this.options.onClick=s.onClick||r.defaults.onClick,this.options.offset=s.offset||r.defaults.offset,this.options.escapeMarkup=s.escapeMarkup!==void 0?s.escapeMarkup:r.defaults.escapeMarkup,this.options.ariaLive=s.ariaLive||r.defaults.ariaLive,this.options.style=s.style||r.defaults.style,s.backgroundColor&&(this.options.style.background=s.backgroundColor),this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var s=document.createElement("div");s.className="toastify on "+this.options.className,this.options.position?s.className+=" toastify-"+this.options.position:this.options.positionLeft===!0?(s.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):s.className+=" toastify-right",s.className+=" "+this.options.gravity,this.options.backgroundColor&&console.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.');for(var o in this.options.style)s.style[o]=this.options.style[o];if(this.options.ariaLive&&s.setAttribute("aria-live",this.options.ariaLive),this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)s.appendChild(this.options.node);else if(this.options.escapeMarkup?s.innerText=this.options.text:s.innerHTML=this.options.text,this.options.avatar!==""){var l=document.createElement("img");l.src=this.options.avatar,l.className="toastify-avatar",this.options.position=="left"||this.options.positionLeft===!0?s.appendChild(l):s.insertAdjacentElement("afterbegin",l)}if(this.options.close===!0){var u=document.createElement("button");u.type="button",u.setAttribute("aria-label","Close"),u.className="toast-close",u.innerHTML="✖",u.addEventListener("click",(function(g){g.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}).bind(this));var c=window.innerWidth>0?window.innerWidth:screen.width;(this.options.position=="left"||this.options.positionLeft===!0)&&c>360?s.insertAdjacentElement("afterbegin",u):s.appendChild(u)}if(this.options.stopOnFocus&&this.options.duration>0){var d=this;s.addEventListener("mouseover",function(g){window.clearTimeout(s.timeOutValue)}),s.addEventListener("mouseleave",function(){s.timeOutValue=window.setTimeout(function(){d.removeElement(s)},d.options.duration)})}if(typeof this.options.destination<"u"&&s.addEventListener("click",(function(g){g.stopPropagation(),this.options.newWindow===!0?window.open(this.options.destination,"_blank"):window.location=this.options.destination}).bind(this)),typeof this.options.onClick=="function"&&typeof this.options.destination>"u"&&s.addEventListener("click",(function(g){g.stopPropagation(),this.options.onClick()}).bind(this)),typeof this.options.offset=="object"){var p=a("x",this.options),m=a("y",this.options),f=this.options.position=="left"?p:"-"+p,v=this.options.gravity=="toastify-top"?m:"-"+m;s.style.transform="translate("+f+","+v+")"}return s},showToast:function(){this.toastElement=this.buildToast();var s;if(typeof this.options.selector=="string"?s=document.getElementById(this.options.selector):this.options.selector instanceof HTMLElement||typeof ShadowRoot<"u"&&this.options.selector instanceof ShadowRoot?s=this.options.selector:s=document.body,!s)throw"Root element is not defined";var o=r.defaults.oldestFirst?s.firstChild:s.lastChild;return s.insertBefore(this.toastElement,o),r.reposition(),this.options.duration>0&&(this.toastElement.timeOutValue=window.setTimeout((function(){this.removeElement(this.toastElement)}).bind(this),this.options.duration)),this},hideToast:function(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue),this.removeElement(this.toastElement)},removeElement:function(s){s.className=s.className.replace(" on",""),window.setTimeout((function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),s.parentNode&&s.parentNode.removeChild(s),this.options.callback.call(s),r.reposition()}).bind(this),400)}},r.reposition=function(){for(var s={top:15,bottom:15},o={top:15,bottom:15},l={top:15,bottom:15},u=document.getElementsByClassName("toastify"),c,d=0;d0?window.innerWidth:screen.width;f<=360?(u[d].style[c]=l[c]+"px",l[c]+=p+m):i(u[d],"toastify-left")===!0?(u[d].style[c]=s[c]+"px",s[c]+=p+m):(u[d].style[c]=o[c]+"px",o[c]+=p+m)}return this};function a(s,o){return o.offset[s]?isNaN(o.offset[s])?o.offset[s]:o.offset[s]+"px":"0px"}function i(s,o){return!s||typeof o!="string"?!1:!!(s.className&&s.className.trim().split(/\s+/gi).indexOf(o)>-1)}return r.lib.init.prototype=r.lib,r})})(ID);var Mb=ID.exports;const wb=rn(Mb);var _b="Expected a function",ZD="__lodash_hash_undefined__",kD=1/0,Bb="[object Function]",Cb="[object GeneratorFunction]",Yb="[object Symbol]",Lb=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xb=/^\w*$/,Ib=/^\./,Zb=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,kb=/[\\^$.*+?()[\]{}|]/g,Pb=/\\(\\)?/g,Ub=/^\[object .+?Constructor\]$/,Gb=typeof Dr=="object"&&Dr&&Dr.Object===Object&&Dr,Hb=typeof self=="object"&&self&&self.Object===Object&&self,vp=Gb||Hb||Function("return this")();function zb(e,t){return e?.[t]}function $b(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var jb=Array.prototype,Vb=Function.prototype,PD=Object.prototype,cc=vp["__core-js_shared__"],N1=function(){var e=/[^.]+$/.exec(cc&&cc.keys&&cc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),UD=Vb.toString,Fp=PD.hasOwnProperty,GD=PD.toString,Qb=RegExp("^"+UD.call(Fp).replace(kb,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R1=vp.Symbol,Wb=jb.splice,Kb=HD(vp,"Map"),zs=HD(Object,"create"),O1=R1?R1.prototype:void 0,y1=O1?O1.toString:void 0;function ra(e){var t=-1,r=e?e.length:0;for(this.clear();++t-1}function sM(e,t){var r=this.__data__,n=ru(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}Wa.prototype.clear=rM,Wa.prototype.delete=nM,Wa.prototype.get=aM,Wa.prototype.has=iM,Wa.prototype.set=sM;function na(e){var t=-1,r=e?e.length:0;for(this.clear();++t 1)",pluralsFunc:function(e){return e>1}},af:{name:"Afrikaans",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ak:{name:"Akan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},am:{name:"Amharic",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},an:{name:"Aragonese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ar:{name:"Arabic",examples:[{plural:0,sample:0},{plural:1,sample:1},{plural:2,sample:2},{plural:3,sample:3},{plural:4,sample:11},{plural:5,sample:100}],nplurals:6,pluralsText:"nplurals = 6; plural = (n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5)",pluralsFunc:function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5}},arn:{name:"Mapudungun",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},ast:{name:"Asturian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ay:{name:"Aymará",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},az:{name:"Azerbaijani",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},be:{name:"Belarusian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},bg:{name:"Bulgarian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},bn:{name:"Bengali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},bo:{name:"Tibetan",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},br:{name:"Breton",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},brx:{name:"Bodo",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},bs:{name:"Bosnian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},ca:{name:"Catalan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},cgg:{name:"Chiga",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},cs:{name:"Czech",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e>=2&&e<=4?1:2}},csb:{name:"Kashubian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},cy:{name:"Welsh",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:8}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 2 ? 1 : (n !== 8 && n !== 11) ? 2 : 3)",pluralsFunc:function(e){return e===1?0:e===2?1:e!==8&&e!==11?2:3}},da:{name:"Danish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},de:{name:"German",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},doi:{name:"Dogri",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},dz:{name:"Dzongkha",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},el:{name:"Greek",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},en:{name:"English",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},eo:{name:"Esperanto",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},es:{name:"Spanish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},et:{name:"Estonian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},eu:{name:"Basque",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fa:{name:"Persian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ff:{name:"Fulah",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fi:{name:"Finnish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fil:{name:"Filipino",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},fo:{name:"Faroese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fr:{name:"French",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},fur:{name:"Friulian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fy:{name:"Frisian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ga:{name:"Irish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:7},{plural:4,sample:11}],nplurals:5,pluralsText:"nplurals = 5; plural = (n === 1 ? 0 : n === 2 ? 1 : n < 7 ? 2 : n < 11 ? 3 : 4)",pluralsFunc:function(e){return e===1?0:e===2?1:e<7?2:e<11?3:4}},gd:{name:"Scottish Gaelic",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:20}],nplurals:4,pluralsText:"nplurals = 4; plural = ((n === 1 || n === 11) ? 0 : (n === 2 || n === 12) ? 1 : (n > 2 && n < 20) ? 2 : 3)",pluralsFunc:function(e){return e===1||e===11?0:e===2||e===12?1:e>2&&e<20?2:3}},gl:{name:"Galician",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},gu:{name:"Gujarati",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},gun:{name:"Gun",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},ha:{name:"Hausa",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},he:{name:"Hebrew",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hi:{name:"Hindi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hne:{name:"Chhattisgarhi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hr:{name:"Croatian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},hu:{name:"Hungarian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hy:{name:"Armenian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},id:{name:"Indonesian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},is:{name:"Icelandic",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n % 10 !== 1 || n % 100 === 11)",pluralsFunc:function(e){return e%10!==1||e%100===11}},it:{name:"Italian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ja:{name:"Japanese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},jbo:{name:"Lojban",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},jv:{name:"Javanese",examples:[{plural:0,sample:0},{plural:1,sample:1}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 0)",pluralsFunc:function(e){return e!==0}},ka:{name:"Georgian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},kk:{name:"Kazakh",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},km:{name:"Khmer",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},kn:{name:"Kannada",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ko:{name:"Korean",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ku:{name:"Kurdish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},kw:{name:"Cornish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:4}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 2 ? 1 : n === 3 ? 2 : 3)",pluralsFunc:function(e){return e===1?0:e===2?1:e===3?2:3}},ky:{name:"Kyrgyz",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},lb:{name:"Letzeburgesch",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ln:{name:"Lingala",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},lo:{name:"Lao",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},lt:{name:"Lithuanian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:10}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2}},lv:{name:"Latvian",examples:[{plural:2,sample:0},{plural:0,sample:1},{plural:1,sample:2}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n !== 0 ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e!==0?1:2}},mai:{name:"Maithili",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mfe:{name:"Mauritian Creole",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mg:{name:"Malagasy",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mi:{name:"Maori",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mk:{name:"Macedonian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n === 1 || n % 10 === 1 ? 0 : 1)",pluralsFunc:function(e){return e===1||e%10===1?0:1}},ml:{name:"Malayalam",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mn:{name:"Mongolian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mni:{name:"Manipuri",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mnk:{name:"Mandinka",examples:[{plural:0,sample:0},{plural:1,sample:1},{plural:2,sample:2}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 0 ? 0 : n === 1 ? 1 : 2)",pluralsFunc:function(e){return e===0?0:e===1?1:2}},mr:{name:"Marathi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ms:{name:"Malay",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},mt:{name:"Maltese",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:11},{plural:3,sample:20}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 0 || ( n % 100 > 1 && n % 100 < 11) ? 1 : (n % 100 > 10 && n % 100 < 20 ) ? 2 : 3)",pluralsFunc:function(e){return e===1?0:e===0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3}},my:{name:"Burmese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},nah:{name:"Nahuatl",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nap:{name:"Neapolitan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nb:{name:"Norwegian Bokmal",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ne:{name:"Nepali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nl:{name:"Dutch",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nn:{name:"Norwegian Nynorsk",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},no:{name:"Norwegian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nso:{name:"Northern Sotho",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},oc:{name:"Occitan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},or:{name:"Oriya",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pa:{name:"Punjabi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pap:{name:"Papiamento",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pl:{name:"Polish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},pms:{name:"Piemontese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ps:{name:"Pashto",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pt:{name:"Portuguese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},rm:{name:"Romansh",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ro:{name:"Romanian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:20}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n === 0 || (n % 100 > 0 && n % 100 < 20)) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e===0||e%100>0&&e%100<20?1:2}},ru:{name:"Russian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},rw:{name:"Kinyarwanda",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sah:{name:"Yakut",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},sat:{name:"Santali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sco:{name:"Scots",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sd:{name:"Sindhi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},se:{name:"Northern Sami",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},si:{name:"Sinhala",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sk:{name:"Slovak",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e>=2&&e<=4?1:2}},sl:{name:"Slovenian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:5}],nplurals:4,pluralsText:"nplurals = 4; plural = (n % 100 === 1 ? 0 : n % 100 === 2 ? 1 : n % 100 === 3 || n % 100 === 4 ? 2 : 3)",pluralsFunc:function(e){return e%100===1?0:e%100===2?1:e%100===3||e%100===4?2:3}},so:{name:"Somali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},son:{name:"Songhay",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sq:{name:"Albanian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sr:{name:"Serbian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},su:{name:"Sundanese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},sv:{name:"Swedish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sw:{name:"Swahili",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ta:{name:"Tamil",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},te:{name:"Telugu",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},tg:{name:"Tajik",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},th:{name:"Thai",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ti:{name:"Tigrinya",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},tk:{name:"Turkmen",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},tr:{name:"Turkish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},tt:{name:"Tatar",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ug:{name:"Uyghur",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},uk:{name:"Ukrainian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},ur:{name:"Urdu",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},uz:{name:"Uzbek",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},vi:{name:"Vietnamese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},wa:{name:"Walloon",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},wo:{name:"Wolof",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},yo:{name:"Yoruba",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},zh:{name:"Chinese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}}},MM=yM,wM=bM,_M=Be;function Be(e){e=e||{},this.catalogs={},this.locale="",this.domain="messages",this.listeners=[],this.sourceLocale="",e.sourceLocale&&(typeof e.sourceLocale=="string"?this.sourceLocale=e.sourceLocale:this.warn("The `sourceLocale` option should be a string")),this.debug="debug"in e&&e.debug===!0}Be.prototype.on=function(e,t){this.listeners.push({eventName:e,callback:t})},Be.prototype.off=function(e,t){this.listeners=this.listeners.filter(function(r){return!(r.eventName===e&&r.callback===t)})},Be.prototype.emit=function(e,t){for(var r=0;re instanceof $r?e.toJSON():e;function Fi(e,t){t=t||{};const r={};function n(u,c,d){return j.isPlainObject(u)&&j.isPlainObject(c)?j.merge.call({caseless:d},u,c):j.isPlainObject(c)?j.merge({},c):j.isArray(c)?c.slice():c}function a(u,c,d){if(j.isUndefined(c)){if(!j.isUndefined(u))return n(void 0,u,d)}else return n(u,c,d)}function i(u,c){if(!j.isUndefined(c))return n(void 0,c)}function s(u,c){if(j.isUndefined(c)){if(!j.isUndefined(u))return n(void 0,u)}else return n(void 0,c)}function o(u,c,d){if(d in t)return n(u,c);if(d in e)return n(void 0,u)}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:o,headers:(u,c)=>a(u1(u),u1(c),!0)};return j.forEach(Object.keys(Object.assign({},e,t)),function(u){const c=l[u]||a,d=c(e[u],t[u],u);j.isUndefined(d)&&c!==o||(r[u]=d)}),r}const ND="1.6.7",Ep={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ep[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const c1={};Ep.transitional=function(e,t,r){function n(a,i){return"[Axios v"+ND+"] Transitional option '"+a+"'"+i+(r?". "+r:"")}return(a,i,s)=>{if(e===!1)throw new Ee(n(i," has been removed"+(t?" in "+t:"")),Ee.ERR_DEPRECATED);return t&&!c1[i]&&(c1[i]=!0,console.warn(n(i," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(a,i,s):!0}};function G2(e,t,r){if(typeof e!="object")throw new Ee("options must be an object",Ee.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const i=n[a],s=t[i];if(s){const o=e[i],l=o===void 0||s(o,i,e);if(l!==!0)throw new Ee("option "+i+" must be "+l,Ee.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ee("Unknown option "+i,Ee.ERR_BAD_OPTION)}}const zT={assertOptions:G2,validators:Ep},dn=zT.validators;let _0=class{constructor(e){this.defaults=e,this.interceptors={request:new a1,response:new a1}}async request(e,t){try{return await this._request(e,t)}catch(r){if(r instanceof Error){let n;Error.captureStackTrace?Error.captureStackTrace(n={}):n=new Error;const a=n.stack?n.stack.replace(/^.+\n/,""):"";r.stack?a&&!String(r.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+a):r.stack=a}throw r}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=Fi(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:a}=t;r!==void 0&&zT.assertOptions(r,{silentJSONParsing:dn.transitional(dn.boolean),forcedJSONParsing:dn.transitional(dn.boolean),clarifyTimeoutError:dn.transitional(dn.boolean)},!1),n!=null&&(j.isFunction(n)?t.paramsSerializer={serialize:n}:zT.assertOptions(n,{encode:dn.function,serialize:dn.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=a&&j.merge(a.common,a[t.method]);a&&j.forEach(["delete","get","head","post","put","patch","common"],m=>{delete a[m]}),t.headers=$r.concat(i,a);const s=[];let o=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(t)===!1||(o=o&&m.synchronous,s.unshift(m.fulfilled,m.rejected))});const l=[];this.interceptors.response.forEach(function(m){l.push(m.fulfilled,m.rejected)});let u,c=0,d;if(!o){const m=[l1.bind(this),void 0];for(m.unshift.apply(m,s),m.push.apply(m,l),d=m.length,u=Promise.resolve(t);c{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](a);n._listeners=null}),this.promise.then=a=>{let i;const s=new Promise(o=>{n.subscribe(o),i=o}).then(a);return s.cancel=function(){n.unsubscribe(i)},s},t(function(a,i,s){n.reason||(n.reason=new To(a,i,s),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)}static source(){let t;return{token:new gp(function(r){t=r}),cancel:t}}}const H2=gp;function z2(e){return function(t){return e.apply(null,t)}}function $2(e){return j.isObject(e)&&e.isAxiosError===!0}const $T={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($T).forEach(([e,t])=>{$T[t]=e});const j2=$T;function RD(e){const t=new B0(e),r=lD(B0.prototype.request,t);return j.extend(r,B0.prototype,t,{allOwnKeys:!0}),j.extend(r,t,null,{allOwnKeys:!0}),r.create=function(n){return RD(Fi(e,n))},r}const Pe=RD(Ap);Pe.Axios=B0,Pe.CanceledError=To,Pe.CancelToken=H2,Pe.isCancel=SD,Pe.VERSION=ND,Pe.toFormData=tu,Pe.AxiosError=Ee,Pe.Cancel=Pe.CanceledError,Pe.all=function(e){return Promise.all(e)},Pe.spread=z2,Pe.isAxiosError=$2,Pe.mergeConfig=Fi,Pe.AxiosHeaders=$r,Pe.formToJSON=e=>DD(j.isHTMLForm(e)?new FormData(e):e),Pe.getAdapter=FD.getAdapter,Pe.HttpStatusCode=j2,Pe.default=Pe;const jT=Pe;var oc={};const V2=typeof Ue.process=="object"&&oc&&oc.NODE_DEBUG&&/\bsemver\b/i.test(oc.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var OD=V2;const Q2="2.0.0",yD=256,W2=Number.MAX_SAFE_INTEGER||9007199254740991,K2=16,J2=yD-6,q2=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var bD={MAX_LENGTH:yD,MAX_SAFE_COMPONENT_LENGTH:K2,MAX_SAFE_BUILD_LENGTH:J2,MAX_SAFE_INTEGER:W2,RELEASE_TYPES:q2,SEMVER_SPEC_VERSION:Q2,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},VT={exports:{}};(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:a}=bD,i=OD;t=e.exports={};const s=t.re=[],o=t.safeRe=[],l=t.src=[],u=t.t={};let c=0;const d="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",a],[d,n]],m=v=>{for(const[g,N]of p)v=v.split(`${g}*`).join(`${g}{0,${N}}`).split(`${g}+`).join(`${g}{1,${N}}`);return v},f=(v,g,N)=>{const Y=m(g),b=c++;i(v,b,g),u[v]=b,l[b]=g,s[b]=new RegExp(g,N?"g":void 0),o[b]=new RegExp(Y,N?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),f("MAINVERSION",`(${l[u.NUMERICIDENTIFIER]})\\.(${l[u.NUMERICIDENTIFIER]})\\.(${l[u.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${l[u.NUMERICIDENTIFIERLOOSE]})\\.(${l[u.NUMERICIDENTIFIERLOOSE]})\\.(${l[u.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${l[u.NUMERICIDENTIFIER]}|${l[u.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${l[u.NUMERICIDENTIFIERLOOSE]}|${l[u.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${l[u.PRERELEASEIDENTIFIER]}(?:\\.${l[u.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${l[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[u.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${d}+`),f("BUILD",`(?:\\+(${l[u.BUILDIDENTIFIER]}(?:\\.${l[u.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${l[u.MAINVERSION]}${l[u.PRERELEASE]}?${l[u.BUILD]}?`),f("FULL",`^${l[u.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${l[u.MAINVERSIONLOOSE]}${l[u.PRERELEASELOOSE]}?${l[u.BUILD]}?`),f("LOOSE",`^${l[u.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${l[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${l[u.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${l[u.XRANGEIDENTIFIER]})(?:\\.(${l[u.XRANGEIDENTIFIER]})(?:\\.(${l[u.XRANGEIDENTIFIER]})(?:${l[u.PRERELEASE]})?${l[u.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${l[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[u.XRANGEIDENTIFIERLOOSE]})(?:${l[u.PRERELEASELOOSE]})?${l[u.BUILD]}?)?)?`),f("XRANGE",`^${l[u.GTLT]}\\s*${l[u.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${l[u.GTLT]}\\s*${l[u.XRANGEPLAINLOOSE]}$`),f("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),f("COERCERTL",l[u.COERCE],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${l[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",f("TILDE",`^${l[u.LONETILDE]}${l[u.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${l[u.LONETILDE]}${l[u.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${l[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",f("CARET",`^${l[u.LONECARET]}${l[u.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${l[u.LONECARET]}${l[u.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${l[u.GTLT]}\\s*(${l[u.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${l[u.GTLT]}\\s*(${l[u.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${l[u.GTLT]}\\s*(${l[u.LOOSEPLAIN]}|${l[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${l[u.XRANGEPLAIN]})\\s+-\\s+(${l[u.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${l[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[u.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(VT,VT.exports);var X2=VT.exports;const eb=Object.freeze({loose:!0}),tb=Object.freeze({}),rb=e=>e?typeof e!="object"?eb:e:tb;var nb=rb;const T1=/^[0-9]+$/,MD=(e,t)=>{const r=T1.test(e),n=T1.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:eMD(t,e);var ib={compareIdentifiers:MD,rcompareIdentifiers:ab};const Po=OD,{MAX_LENGTH:d1,MAX_SAFE_INTEGER:Uo}=bD,{safeRe:p1,t:m1}=X2,sb=nb,{compareIdentifiers:ka}=ib;let ob=class ur{constructor(t,r){if(r=sb(r),t instanceof ur){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>d1)throw new TypeError(`version is longer than ${d1} characters`);Po("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const n=t.trim().match(r.loose?p1[m1.LOOSE]:p1[m1.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Uo||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Uo||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Uo||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(a=>{if(/^[0-9]+$/.test(a)){const i=+a;if(i>=0&&i=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(a)}}if(r){let i=[r,a];n===!1&&(i=[r]),ka(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var wD=ob;const h1=wD,lb=(e,t,r=!1)=>{if(e instanceof h1)return e;try{return new h1(e,t)}catch(n){if(!r)return null;throw n}};var ub=lb;const cb=ub,Tb=(e,t)=>{const r=cb(e,t);return r?r.version:null};var db=Tb;const pb=rn(db),mb=wD,hb=(e,t)=>new mb(e,t).major;var fb=hb;const f1=rn(fb);class Ab{bus;constructor(t){typeof t.getVersion!="function"||!pb(t.getVersion())?console.warn("Proxying an event bus with an unknown or invalid version"):f1(t.getVersion())!==f1(this.getVersion())&&console.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()),this.bus=t}getVersion(){return"3.1.0"}subscribe(t,r){this.bus.subscribe(t,r)}unsubscribe(t,r){this.bus.unsubscribe(t,r)}emit(t,r){this.bus.emit(t,r)}}class Eb{handlers=new Map;getVersion(){return"3.1.0"}subscribe(t,r){this.handlers.set(t,(this.handlers.get(t)||[]).concat(r))}unsubscribe(t,r){this.handlers.set(t,(this.handlers.get(t)||[]).filter(n=>n!=r))}emit(t,r){(this.handlers.get(t)||[]).forEach(n=>{try{n(r)}catch(a){console.error("could not invoke event listener",a)}})}}let ts=null;function _D(){return ts!==null?ts:typeof window>"u"?new Proxy({},{get:()=>()=>console.error("Window not available, EventBus can not be established!")}):(typeof window.OC<"u"&&window.OC._eventBus&&typeof window._nc_event_bus>"u"&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),typeof window?._nc_event_bus<"u"?ts=new Ab(window._nc_event_bus):ts=window._nc_event_bus=new Eb,ts)}function C0(e,t){_D().subscribe(e,t)}function lc(e,t){_D().unsubscribe(e,t)}let Y0;const BD=[];function CD(){if(Y0===void 0){const e=document?.getElementsByTagName("head")[0];Y0=e?e.getAttribute("data-requesttoken"):null}return Y0}function YD(e){BD.push(e)}C0("csrf-token-update",e=>{Y0=e.token,BD.forEach(t=>{try{t(e.token)}catch(r){console.error("error updating CSRF token observer",r)}})});const A1=(e,t)=>e?e.getAttribute(t):null;let Pa;function ol(){if(Pa!==void 0)return Pa;const e=document?.getElementsByTagName("head")[0];if(!e)return null;const t=A1(e,"data-user");return t===null?(Pa=null,Pa):(Pa={uid:t,displayName:A1(e,"data-user-displayname"),isAdmin:!!window._oc_isadmin},Pa)}const gb=Object.freeze(Object.defineProperty({__proto__:null,getCurrentUser:ol,getRequestToken:CD,onRequestTokenUpdate:YD},Symbol.toStringTag,{value:"Module"}));var Mn=function(){return Mn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]Gt.get(Kr("apps/logreader/api/log"),{...t,params:e}),D1=(e,t={})=>Gt.get(Kr("apps/logreader/api/poll"),{...t,params:e}),Fb=(e,t={})=>Gt.put(Kr("apps/logreader/api/settings"),e,t),Nb=(e,t={})=>Gt.get(Kr("apps/logreader/api/settings"),{...t,params:e}),po=[ue("logreader","Debug"),ue("logreader","Info"),ue("logreader","Warning"),ue("logreader","Error"),ue("logreader","Fatal")],xD=["debug","info","warning","error","fatal"],S1=1e4,Rb="modulepreload",Ob=function(e,t){return e[0]==="."?new URL(e,t).href:e},v1={},yb=function(e,t,r){let n=Promise.resolve();if(t&&t.length>0){const a=document.getElementsByTagName("link");n=Promise.all(t.map(i=>{if(i=Ob(i,r),i in v1)return;v1[i]=!0;const s=i.endsWith(".css"),o=s?'[rel="stylesheet"]':"";if(r)for(let u=a.length-1;u>=0;u--){const c=a[u];if(c.href===i&&(!s||c.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${o}`))return;const l=document.createElement("link");if(l.rel=s?"stylesheet":Rb,s||(l.as="script",l.crossOrigin=""),l.href=i,document.head.appendChild(l),s)return new Promise((u,c)=>{l.addEventListener("load",u),l.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${i}`)))})}))}return n.then(()=>e()).catch(a=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a})};function or(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function F1(e,t){for(var r="",n=0,a=-1,i=0,s,o=0;o<=e.length;++o){if(o2){var l=r.lastIndexOf("/");if(l!==r.length-1){l===-1?(r="",n=0):(r=r.slice(0,l),n=r.length-1-r.lastIndexOf("/")),a=o,i=0;continue}}else if(r.length===2||r.length===1){r="",n=0,a=o,i=0;continue}}t&&(r.length>0?r+="/..":r="..",n=2)}else r.length>0?r+="/"+e.slice(a+1,o):r=e.slice(a+1,o),n=o-a-1;a=o,i=0}else s===46&&i!==-1?++i:i=-1}return r}function bb(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}var fs={resolve:function(){for(var e="",t=!1,r,n=arguments.length-1;n>=-1&&!t;n--){var a;n>=0?a=arguments[n]:(r===void 0&&(r=Ue.process.cwd()),a=r),or(a),a.length!==0&&(e=a+"/"+e,t=a.charCodeAt(0)===47)}return e=F1(e,!t),t?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(or(e),e.length===0)return".";var t=e.charCodeAt(0)===47,r=e.charCodeAt(e.length-1)===47;return e=F1(e,!t),e.length===0&&!t&&(e="."),e.length>0&&r&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return or(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,t=0;t0&&(e===void 0?e=r:e+="/"+r)}return e===void 0?".":fs.normalize(e)},relative:function(e,t){if(or(e),or(t),e===t||(e=fs.resolve(e),t=fs.resolve(t),e===t))return"";for(var r=1;rl){if(t.charCodeAt(i+c)===47)return t.slice(i+c+1);if(c===0)return t.slice(i+c)}else a>l&&(e.charCodeAt(r+c)===47?u=c:c===0&&(u=0));break}var d=e.charCodeAt(r+c),p=t.charCodeAt(i+c);if(d!==p)break;d===47&&(u=c)}var m="";for(c=r+u+1;c<=n;++c)(c===n||e.charCodeAt(c)===47)&&(m.length===0?m+="..":m+="/..");return m.length>0?m+t.slice(i+u):(i+=u,t.charCodeAt(i)===47&&++i,t.slice(i))},_makeLong:function(e){return e},dirname:function(e){if(or(e),e.length===0)return".";for(var t=e.charCodeAt(0),r=t===47,n=-1,a=!0,i=e.length-1;i>=1;--i)if(t=e.charCodeAt(i),t===47){if(!a){n=i;break}}else a=!1;return n===-1?r?"/":".":r&&n===1?"//":e.slice(0,n)},basename:function(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');or(e);var r=0,n=-1,a=!0,i;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,o=-1;for(i=e.length-1;i>=0;--i){var l=e.charCodeAt(i);if(l===47){if(!a){r=i+1;break}}else o===-1&&(a=!1,o=i+1),s>=0&&(l===t.charCodeAt(s)?--s===-1&&(n=i):(s=-1,n=o))}return r===n?n=o:n===-1&&(n=e.length),e.slice(r,n)}else{for(i=e.length-1;i>=0;--i)if(e.charCodeAt(i)===47){if(!a){r=i+1;break}}else n===-1&&(a=!1,n=i+1);return n===-1?"":e.slice(r,n)}},extname:function(e){or(e);for(var t=-1,r=0,n=-1,a=!0,i=0,s=e.length-1;s>=0;--s){var o=e.charCodeAt(s);if(o===47){if(!a){r=s+1;break}continue}n===-1&&(a=!1,n=s+1),o===46?t===-1?t=s:i!==1&&(i=1):t!==-1&&(i=-1)}return t===-1||n===-1||i===0||i===1&&t===n-1&&t===r+1?"":e.slice(t,n)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return bb("/",e)},parse:function(e){or(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;var r=e.charCodeAt(0),n=r===47,a;n?(t.root="/",a=1):a=0;for(var i=-1,s=0,o=-1,l=!0,u=e.length-1,c=0;u>=a;--u){if(r=e.charCodeAt(u),r===47){if(!l){s=u+1;break}continue}o===-1&&(l=!1,o=u+1),r===46?i===-1?i=u:c!==1&&(c=1):i!==-1&&(c=-1)}return i===-1||o===-1||c===0||c===1&&i===o-1&&i===s+1?o!==-1&&(s===0&&n?t.base=t.name=e.slice(1,o):t.base=t.name=e.slice(s,o)):(s===0&&n?(t.name=e.slice(1,i),t.base=e.slice(1,o)):(t.name=e.slice(s,i),t.base=e.slice(s,o)),t.ext=e.slice(i,o)),s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};fs.posix=fs;var ID={exports:{}};(function(e){(function(t,r){e.exports?e.exports=r():t.Toastify=r()})(Dr,function(t){var r=function(s){return new r.lib.init(s)},n="1.12.0";r.defaults={oldestFirst:!0,text:"Toastify is awesome!",node:void 0,duration:3e3,selector:void 0,callback:function(){},destination:void 0,newWindow:!1,close:!1,gravity:"toastify-top",positionLeft:!1,position:"",backgroundColor:"",avatar:"",className:"",stopOnFocus:!0,onClick:function(){},offset:{x:0,y:0},escapeMarkup:!0,ariaLive:"polite",style:{background:""}},r.lib=r.prototype={toastify:n,constructor:r,init:function(s){return s||(s={}),this.options={},this.toastElement=null,this.options.text=s.text||r.defaults.text,this.options.node=s.node||r.defaults.node,this.options.duration=s.duration===0?0:s.duration||r.defaults.duration,this.options.selector=s.selector||r.defaults.selector,this.options.callback=s.callback||r.defaults.callback,this.options.destination=s.destination||r.defaults.destination,this.options.newWindow=s.newWindow||r.defaults.newWindow,this.options.close=s.close||r.defaults.close,this.options.gravity=s.gravity==="bottom"?"toastify-bottom":r.defaults.gravity,this.options.positionLeft=s.positionLeft||r.defaults.positionLeft,this.options.position=s.position||r.defaults.position,this.options.backgroundColor=s.backgroundColor||r.defaults.backgroundColor,this.options.avatar=s.avatar||r.defaults.avatar,this.options.className=s.className||r.defaults.className,this.options.stopOnFocus=s.stopOnFocus===void 0?r.defaults.stopOnFocus:s.stopOnFocus,this.options.onClick=s.onClick||r.defaults.onClick,this.options.offset=s.offset||r.defaults.offset,this.options.escapeMarkup=s.escapeMarkup!==void 0?s.escapeMarkup:r.defaults.escapeMarkup,this.options.ariaLive=s.ariaLive||r.defaults.ariaLive,this.options.style=s.style||r.defaults.style,s.backgroundColor&&(this.options.style.background=s.backgroundColor),this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var s=document.createElement("div");s.className="toastify on "+this.options.className,this.options.position?s.className+=" toastify-"+this.options.position:this.options.positionLeft===!0?(s.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):s.className+=" toastify-right",s.className+=" "+this.options.gravity,this.options.backgroundColor&&console.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.');for(var o in this.options.style)s.style[o]=this.options.style[o];if(this.options.ariaLive&&s.setAttribute("aria-live",this.options.ariaLive),this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)s.appendChild(this.options.node);else if(this.options.escapeMarkup?s.innerText=this.options.text:s.innerHTML=this.options.text,this.options.avatar!==""){var l=document.createElement("img");l.src=this.options.avatar,l.className="toastify-avatar",this.options.position=="left"||this.options.positionLeft===!0?s.appendChild(l):s.insertAdjacentElement("afterbegin",l)}if(this.options.close===!0){var u=document.createElement("button");u.type="button",u.setAttribute("aria-label","Close"),u.className="toast-close",u.innerHTML="✖",u.addEventListener("click",(function(g){g.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}).bind(this));var c=window.innerWidth>0?window.innerWidth:screen.width;(this.options.position=="left"||this.options.positionLeft===!0)&&c>360?s.insertAdjacentElement("afterbegin",u):s.appendChild(u)}if(this.options.stopOnFocus&&this.options.duration>0){var d=this;s.addEventListener("mouseover",function(g){window.clearTimeout(s.timeOutValue)}),s.addEventListener("mouseleave",function(){s.timeOutValue=window.setTimeout(function(){d.removeElement(s)},d.options.duration)})}if(typeof this.options.destination<"u"&&s.addEventListener("click",(function(g){g.stopPropagation(),this.options.newWindow===!0?window.open(this.options.destination,"_blank"):window.location=this.options.destination}).bind(this)),typeof this.options.onClick=="function"&&typeof this.options.destination>"u"&&s.addEventListener("click",(function(g){g.stopPropagation(),this.options.onClick()}).bind(this)),typeof this.options.offset=="object"){var p=a("x",this.options),m=a("y",this.options),f=this.options.position=="left"?p:"-"+p,v=this.options.gravity=="toastify-top"?m:"-"+m;s.style.transform="translate("+f+","+v+")"}return s},showToast:function(){this.toastElement=this.buildToast();var s;if(typeof this.options.selector=="string"?s=document.getElementById(this.options.selector):this.options.selector instanceof HTMLElement||typeof ShadowRoot<"u"&&this.options.selector instanceof ShadowRoot?s=this.options.selector:s=document.body,!s)throw"Root element is not defined";var o=r.defaults.oldestFirst?s.firstChild:s.lastChild;return s.insertBefore(this.toastElement,o),r.reposition(),this.options.duration>0&&(this.toastElement.timeOutValue=window.setTimeout((function(){this.removeElement(this.toastElement)}).bind(this),this.options.duration)),this},hideToast:function(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue),this.removeElement(this.toastElement)},removeElement:function(s){s.className=s.className.replace(" on",""),window.setTimeout((function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),s.parentNode&&s.parentNode.removeChild(s),this.options.callback.call(s),r.reposition()}).bind(this),400)}},r.reposition=function(){for(var s={top:15,bottom:15},o={top:15,bottom:15},l={top:15,bottom:15},u=document.getElementsByClassName("toastify"),c,d=0;d0?window.innerWidth:screen.width;f<=360?(u[d].style[c]=l[c]+"px",l[c]+=p+m):i(u[d],"toastify-left")===!0?(u[d].style[c]=s[c]+"px",s[c]+=p+m):(u[d].style[c]=o[c]+"px",o[c]+=p+m)}return this};function a(s,o){return o.offset[s]?isNaN(o.offset[s])?o.offset[s]:o.offset[s]+"px":"0px"}function i(s,o){return!s||typeof o!="string"?!1:!!(s.className&&s.className.trim().split(/\s+/gi).indexOf(o)>-1)}return r.lib.init.prototype=r.lib,r})})(ID);var Mb=ID.exports;const wb=rn(Mb);var _b="Expected a function",ZD="__lodash_hash_undefined__",kD=1/0,Bb="[object Function]",Cb="[object GeneratorFunction]",Yb="[object Symbol]",Lb=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xb=/^\w*$/,Ib=/^\./,Zb=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,kb=/[\\^$.*+?()[\]{}|]/g,Pb=/\\(\\)?/g,Ub=/^\[object .+?Constructor\]$/,Gb=typeof Dr=="object"&&Dr&&Dr.Object===Object&&Dr,Hb=typeof self=="object"&&self&&self.Object===Object&&self,vp=Gb||Hb||Function("return this")();function zb(e,t){return e?.[t]}function $b(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var jb=Array.prototype,Vb=Function.prototype,PD=Object.prototype,cc=vp["__core-js_shared__"],N1=function(){var e=/[^.]+$/.exec(cc&&cc.keys&&cc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),UD=Vb.toString,Fp=PD.hasOwnProperty,GD=PD.toString,Qb=RegExp("^"+UD.call(Fp).replace(kb,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R1=vp.Symbol,Wb=jb.splice,Kb=HD(vp,"Map"),zs=HD(Object,"create"),O1=R1?R1.prototype:void 0,y1=O1?O1.toString:void 0;function ra(e){var t=-1,r=e?e.length:0;for(this.clear();++t-1}function sM(e,t){var r=this.__data__,n=ru(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}Wa.prototype.clear=rM,Wa.prototype.delete=nM,Wa.prototype.get=aM,Wa.prototype.has=iM,Wa.prototype.set=sM;function na(e){var t=-1,r=e?e.length:0;for(this.clear();++t 1)",pluralsFunc:function(e){return e>1}},af:{name:"Afrikaans",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ak:{name:"Akan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},am:{name:"Amharic",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},an:{name:"Aragonese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ar:{name:"Arabic",examples:[{plural:0,sample:0},{plural:1,sample:1},{plural:2,sample:2},{plural:3,sample:3},{plural:4,sample:11},{plural:5,sample:100}],nplurals:6,pluralsText:"nplurals = 6; plural = (n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5)",pluralsFunc:function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5}},arn:{name:"Mapudungun",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},ast:{name:"Asturian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ay:{name:"Aymará",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},az:{name:"Azerbaijani",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},be:{name:"Belarusian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},bg:{name:"Bulgarian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},bn:{name:"Bengali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},bo:{name:"Tibetan",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},br:{name:"Breton",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},brx:{name:"Bodo",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},bs:{name:"Bosnian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},ca:{name:"Catalan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},cgg:{name:"Chiga",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},cs:{name:"Czech",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e>=2&&e<=4?1:2}},csb:{name:"Kashubian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},cy:{name:"Welsh",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:8}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 2 ? 1 : (n !== 8 && n !== 11) ? 2 : 3)",pluralsFunc:function(e){return e===1?0:e===2?1:e!==8&&e!==11?2:3}},da:{name:"Danish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},de:{name:"German",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},doi:{name:"Dogri",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},dz:{name:"Dzongkha",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},el:{name:"Greek",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},en:{name:"English",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},eo:{name:"Esperanto",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},es:{name:"Spanish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},et:{name:"Estonian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},eu:{name:"Basque",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fa:{name:"Persian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ff:{name:"Fulah",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fi:{name:"Finnish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fil:{name:"Filipino",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},fo:{name:"Faroese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fr:{name:"French",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},fur:{name:"Friulian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fy:{name:"Frisian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ga:{name:"Irish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:7},{plural:4,sample:11}],nplurals:5,pluralsText:"nplurals = 5; plural = (n === 1 ? 0 : n === 2 ? 1 : n < 7 ? 2 : n < 11 ? 3 : 4)",pluralsFunc:function(e){return e===1?0:e===2?1:e<7?2:e<11?3:4}},gd:{name:"Scottish Gaelic",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:20}],nplurals:4,pluralsText:"nplurals = 4; plural = ((n === 1 || n === 11) ? 0 : (n === 2 || n === 12) ? 1 : (n > 2 && n < 20) ? 2 : 3)",pluralsFunc:function(e){return e===1||e===11?0:e===2||e===12?1:e>2&&e<20?2:3}},gl:{name:"Galician",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},gu:{name:"Gujarati",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},gun:{name:"Gun",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},ha:{name:"Hausa",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},he:{name:"Hebrew",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hi:{name:"Hindi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hne:{name:"Chhattisgarhi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hr:{name:"Croatian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},hu:{name:"Hungarian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hy:{name:"Armenian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},id:{name:"Indonesian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},is:{name:"Icelandic",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n % 10 !== 1 || n % 100 === 11)",pluralsFunc:function(e){return e%10!==1||e%100===11}},it:{name:"Italian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ja:{name:"Japanese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},jbo:{name:"Lojban",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},jv:{name:"Javanese",examples:[{plural:0,sample:0},{plural:1,sample:1}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 0)",pluralsFunc:function(e){return e!==0}},ka:{name:"Georgian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},kk:{name:"Kazakh",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},km:{name:"Khmer",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},kn:{name:"Kannada",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ko:{name:"Korean",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ku:{name:"Kurdish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},kw:{name:"Cornish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:4}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 2 ? 1 : n === 3 ? 2 : 3)",pluralsFunc:function(e){return e===1?0:e===2?1:e===3?2:3}},ky:{name:"Kyrgyz",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},lb:{name:"Letzeburgesch",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ln:{name:"Lingala",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},lo:{name:"Lao",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},lt:{name:"Lithuanian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:10}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2}},lv:{name:"Latvian",examples:[{plural:2,sample:0},{plural:0,sample:1},{plural:1,sample:2}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n !== 0 ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e!==0?1:2}},mai:{name:"Maithili",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mfe:{name:"Mauritian Creole",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mg:{name:"Malagasy",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mi:{name:"Maori",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mk:{name:"Macedonian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n === 1 || n % 10 === 1 ? 0 : 1)",pluralsFunc:function(e){return e===1||e%10===1?0:1}},ml:{name:"Malayalam",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mn:{name:"Mongolian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mni:{name:"Manipuri",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mnk:{name:"Mandinka",examples:[{plural:0,sample:0},{plural:1,sample:1},{plural:2,sample:2}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 0 ? 0 : n === 1 ? 1 : 2)",pluralsFunc:function(e){return e===0?0:e===1?1:2}},mr:{name:"Marathi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ms:{name:"Malay",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},mt:{name:"Maltese",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:11},{plural:3,sample:20}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 0 || ( n % 100 > 1 && n % 100 < 11) ? 1 : (n % 100 > 10 && n % 100 < 20 ) ? 2 : 3)",pluralsFunc:function(e){return e===1?0:e===0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3}},my:{name:"Burmese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},nah:{name:"Nahuatl",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nap:{name:"Neapolitan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nb:{name:"Norwegian Bokmal",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ne:{name:"Nepali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nl:{name:"Dutch",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nn:{name:"Norwegian Nynorsk",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},no:{name:"Norwegian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nso:{name:"Northern Sotho",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},oc:{name:"Occitan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},or:{name:"Oriya",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pa:{name:"Punjabi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pap:{name:"Papiamento",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pl:{name:"Polish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},pms:{name:"Piemontese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ps:{name:"Pashto",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pt:{name:"Portuguese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},rm:{name:"Romansh",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ro:{name:"Romanian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:20}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n === 0 || (n % 100 > 0 && n % 100 < 20)) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e===0||e%100>0&&e%100<20?1:2}},ru:{name:"Russian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},rw:{name:"Kinyarwanda",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sah:{name:"Yakut",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},sat:{name:"Santali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sco:{name:"Scots",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sd:{name:"Sindhi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},se:{name:"Northern Sami",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},si:{name:"Sinhala",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sk:{name:"Slovak",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e>=2&&e<=4?1:2}},sl:{name:"Slovenian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:5}],nplurals:4,pluralsText:"nplurals = 4; plural = (n % 100 === 1 ? 0 : n % 100 === 2 ? 1 : n % 100 === 3 || n % 100 === 4 ? 2 : 3)",pluralsFunc:function(e){return e%100===1?0:e%100===2?1:e%100===3||e%100===4?2:3}},so:{name:"Somali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},son:{name:"Songhay",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sq:{name:"Albanian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sr:{name:"Serbian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},su:{name:"Sundanese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},sv:{name:"Swedish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sw:{name:"Swahili",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ta:{name:"Tamil",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},te:{name:"Telugu",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},tg:{name:"Tajik",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},th:{name:"Thai",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ti:{name:"Tigrinya",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},tk:{name:"Turkmen",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},tr:{name:"Turkish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},tt:{name:"Tatar",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ug:{name:"Uyghur",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},uk:{name:"Ukrainian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},ur:{name:"Urdu",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},uz:{name:"Uzbek",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},vi:{name:"Vietnamese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},wa:{name:"Walloon",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},wo:{name:"Wolof",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},yo:{name:"Yoruba",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},zh:{name:"Chinese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}}},MM=yM,wM=bM,_M=Be;function Be(e){e=e||{},this.catalogs={},this.locale="",this.domain="messages",this.listeners=[],this.sourceLocale="",e.sourceLocale&&(typeof e.sourceLocale=="string"?this.sourceLocale=e.sourceLocale:this.warn("The `sourceLocale` option should be a string")),this.debug="debug"in e&&e.debug===!0}Be.prototype.on=function(e,t){this.listeners.push({eventName:e,callback:t})},Be.prototype.off=function(e,t){this.listeners=this.listeners.filter(function(r){return!(r.eventName===e&&r.callback===t)})},Be.prototype.emit=function(e,t){for(var r=0;r 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=')\n if (validLen === -1) validLen = len\n\n var placeHoldersLen = validLen === len\n ? 0\n : 4 - (validLen % 4)\n\n return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n var tmp\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n var curByte = 0\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0\n ? validLen - 4\n : validLen\n\n var i\n for (i = 0; i < len; i += 4) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 18) |\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\n revLookup[b64.charCodeAt(i + 3)]\n arr[curByte++] = (tmp >> 16) & 0xFF\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 2) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 2) |\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 1) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 10) |\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] +\n lookup[num >> 12 & 0x3F] +\n lookup[num >> 6 & 0x3F] +\n lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp =\n ((uint8[i] << 16) & 0xFF0000) +\n ((uint8[i + 1] << 8) & 0xFF00) +\n (uint8[i + 2] & 0xFF)\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n parts.push(\n lookup[tmp >> 2] +\n lookup[(tmp << 4) & 0x3F] +\n '=='\n )\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n parts.push(\n lookup[tmp >> 10] +\n lookup[(tmp >> 4) & 0x3F] +\n lookup[(tmp << 2) & 0x3F] +\n '='\n )\n }\n\n return parts.join('')\n}\n","/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */\nexports.read = function (buffer, offset, isLE, mLen, nBytes) {\n var e, m\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var nBits = -7\n var i = isLE ? (nBytes - 1) : 0\n var d = isLE ? -1 : 1\n var s = buffer[offset + i]\n\n i += d\n\n e = s & ((1 << (-nBits)) - 1)\n s >>= (-nBits)\n nBits += eLen\n for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1)\n e >>= (-nBits)\n nBits += mLen\n for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen)\n e = e - eBias\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n var i = isLE ? 0 : (nBytes - 1)\n var d = isLE ? 1 : -1\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n value = Math.abs(value)\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0\n e = eMax\n } else {\n e = Math.floor(Math.log(value) / Math.LN2)\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--\n c *= 2\n }\n if (e + eBias >= 1) {\n value += rt / c\n } else {\n value += rt * Math.pow(2, 1 - eBias)\n }\n if (value * c >= 2) {\n e++\n c /= 2\n }\n\n if (e + eBias >= eMax) {\n m = 0\n e = eMax\n } else if (e + eBias >= 1) {\n m = ((value * c) - 1) * Math.pow(2, mLen)\n e = e + eBias\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n e = 0\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m\n eLen += mLen\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128\n}\n","/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n/* eslint-disable no-proto */\n\n'use strict'\n\nconst base64 = require('base64-js')\nconst ieee754 = require('ieee754')\nconst customInspectSymbol =\n (typeof Symbol === 'function' && typeof Symbol['for'] === 'function') // eslint-disable-line dot-notation\n ? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation\n : null\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\n\nconst K_MAX_LENGTH = 0x7fffffff\nexports.kMaxLength = K_MAX_LENGTH\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Print warning and recommend using `buffer` v4.x which has an Object\n * implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * We report that the browser does not support typed arrays if the are not subclassable\n * using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array`\n * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support\n * for __proto__ and has a buggy typed array implementation.\n */\nBuffer.TYPED_ARRAY_SUPPORT = typedArraySupport()\n\nif (!Buffer.TYPED_ARRAY_SUPPORT && typeof console !== 'undefined' &&\n typeof console.error === 'function') {\n console.error(\n 'This browser lacks typed array (Uint8Array) support which is required by ' +\n '`buffer` v5.x. Use `buffer` v4.x if you require old browser support.'\n )\n}\n\nfunction typedArraySupport () {\n // Can typed array instances can be augmented?\n try {\n const arr = new Uint8Array(1)\n const proto = { foo: function () { return 42 } }\n Object.setPrototypeOf(proto, Uint8Array.prototype)\n Object.setPrototypeOf(arr, proto)\n return arr.foo() === 42\n } catch (e) {\n return false\n }\n}\n\nObject.defineProperty(Buffer.prototype, 'parent', {\n enumerable: true,\n get: function () {\n if (!Buffer.isBuffer(this)) return undefined\n return this.buffer\n }\n})\n\nObject.defineProperty(Buffer.prototype, 'offset', {\n enumerable: true,\n get: function () {\n if (!Buffer.isBuffer(this)) return undefined\n return this.byteOffset\n }\n})\n\nfunction createBuffer (length) {\n if (length > K_MAX_LENGTH) {\n throw new RangeError('The value \"' + length + '\" is invalid for option \"size\"')\n }\n // Return an augmented `Uint8Array` instance\n const buf = new Uint8Array(length)\n Object.setPrototypeOf(buf, Buffer.prototype)\n return buf\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new TypeError(\n 'The \"string\" argument must be of type string. Received type number'\n )\n }\n return allocUnsafe(arg)\n }\n return from(arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\nfunction from (value, encodingOrOffset, length) {\n if (typeof value === 'string') {\n return fromString(value, encodingOrOffset)\n }\n\n if (ArrayBuffer.isView(value)) {\n return fromArrayView(value)\n }\n\n if (value == null) {\n throw new TypeError(\n 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\n 'or Array-like Object. Received type ' + (typeof value)\n )\n }\n\n if (isInstance(value, ArrayBuffer) ||\n (value && isInstance(value.buffer, ArrayBuffer))) {\n return fromArrayBuffer(value, encodingOrOffset, length)\n }\n\n if (typeof SharedArrayBuffer !== 'undefined' &&\n (isInstance(value, SharedArrayBuffer) ||\n (value && isInstance(value.buffer, SharedArrayBuffer)))) {\n return fromArrayBuffer(value, encodingOrOffset, length)\n }\n\n if (typeof value === 'number') {\n throw new TypeError(\n 'The \"value\" argument must not be of type number. Received type number'\n )\n }\n\n const valueOf = value.valueOf && value.valueOf()\n if (valueOf != null && valueOf !== value) {\n return Buffer.from(valueOf, encodingOrOffset, length)\n }\n\n const b = fromObject(value)\n if (b) return b\n\n if (typeof Symbol !== 'undefined' && Symbol.toPrimitive != null &&\n typeof value[Symbol.toPrimitive] === 'function') {\n return Buffer.from(value[Symbol.toPrimitive]('string'), encodingOrOffset, length)\n }\n\n throw new TypeError(\n 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\n 'or Array-like Object. Received type ' + (typeof value)\n )\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(value, encodingOrOffset, length)\n}\n\n// Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug:\n// https://github.com/feross/buffer/pull/148\nObject.setPrototypeOf(Buffer.prototype, Uint8Array.prototype)\nObject.setPrototypeOf(Buffer, Uint8Array)\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be of type number')\n } else if (size < 0) {\n throw new RangeError('The value \"' + size + '\" is invalid for option \"size\"')\n }\n}\n\nfunction alloc (size, fill, encoding) {\n assertSize(size)\n if (size <= 0) {\n return createBuffer(size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpreted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(size).fill(fill, encoding)\n : createBuffer(size).fill(fill)\n }\n return createBuffer(size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(size, fill, encoding)\n}\n\nfunction allocUnsafe (size) {\n assertSize(size)\n return createBuffer(size < 0 ? 0 : checked(size) | 0)\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(size)\n}\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(size)\n}\n\nfunction fromString (string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8'\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n\n const length = byteLength(string, encoding) | 0\n let buf = createBuffer(length)\n\n const actual = buf.write(string, encoding)\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n buf = buf.slice(0, actual)\n }\n\n return buf\n}\n\nfunction fromArrayLike (array) {\n const length = array.length < 0 ? 0 : checked(array.length) | 0\n const buf = createBuffer(length)\n for (let i = 0; i < length; i += 1) {\n buf[i] = array[i] & 255\n }\n return buf\n}\n\nfunction fromArrayView (arrayView) {\n if (isInstance(arrayView, Uint8Array)) {\n const copy = new Uint8Array(arrayView)\n return fromArrayBuffer(copy.buffer, copy.byteOffset, copy.byteLength)\n }\n return fromArrayLike(arrayView)\n}\n\nfunction fromArrayBuffer (array, byteOffset, length) {\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\"offset\" is outside of buffer bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\"length\" is outside of buffer bounds')\n }\n\n let buf\n if (byteOffset === undefined && length === undefined) {\n buf = new Uint8Array(array)\n } else if (length === undefined) {\n buf = new Uint8Array(array, byteOffset)\n } else {\n buf = new Uint8Array(array, byteOffset, length)\n }\n\n // Return an augmented `Uint8Array` instance\n Object.setPrototypeOf(buf, Buffer.prototype)\n\n return buf\n}\n\nfunction fromObject (obj) {\n if (Buffer.isBuffer(obj)) {\n const len = checked(obj.length) | 0\n const buf = createBuffer(len)\n\n if (buf.length === 0) {\n return buf\n }\n\n obj.copy(buf, 0, 0, len)\n return buf\n }\n\n if (obj.length !== undefined) {\n if (typeof obj.length !== 'number' || numberIsNaN(obj.length)) {\n return createBuffer(0)\n }\n return fromArrayLike(obj)\n }\n\n if (obj.type === 'Buffer' && Array.isArray(obj.data)) {\n return fromArrayLike(obj.data)\n }\n}\n\nfunction checked (length) {\n // Note: cannot use `length < K_MAX_LENGTH` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= K_MAX_LENGTH) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + K_MAX_LENGTH.toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (length) {\n if (+length != length) { // eslint-disable-line eqeqeq\n length = 0\n }\n return Buffer.alloc(+length)\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n return b != null && b._isBuffer === true &&\n b !== Buffer.prototype // so Buffer.isBuffer(Buffer.prototype) will be false\n}\n\nBuffer.compare = function compare (a, b) {\n if (isInstance(a, Uint8Array)) a = Buffer.from(a, a.offset, a.byteLength)\n if (isInstance(b, Uint8Array)) b = Buffer.from(b, b.offset, b.byteLength)\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError(\n 'The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array'\n )\n }\n\n if (a === b) return 0\n\n let x = a.length\n let y = b.length\n\n for (let i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i]\n y = b[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.concat = function concat (list, length) {\n if (!Array.isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0)\n }\n\n let i\n if (length === undefined) {\n length = 0\n for (i = 0; i < list.length; ++i) {\n length += list[i].length\n }\n }\n\n const buffer = Buffer.allocUnsafe(length)\n let pos = 0\n for (i = 0; i < list.length; ++i) {\n let buf = list[i]\n if (isInstance(buf, Uint8Array)) {\n if (pos + buf.length > buffer.length) {\n if (!Buffer.isBuffer(buf)) buf = Buffer.from(buf)\n buf.copy(buffer, pos)\n } else {\n Uint8Array.prototype.set.call(\n buffer,\n buf,\n pos\n )\n }\n } else if (!Buffer.isBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n } else {\n buf.copy(buffer, pos)\n }\n pos += buf.length\n }\n return buffer\n}\n\nfunction byteLength (string, encoding) {\n if (Buffer.isBuffer(string)) {\n return string.length\n }\n if (ArrayBuffer.isView(string) || isInstance(string, ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n throw new TypeError(\n 'The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. ' +\n 'Received type ' + typeof string\n )\n }\n\n const len = string.length\n const mustMatch = (arguments.length > 2 && arguments[2] === true)\n if (!mustMatch && len === 0) return 0\n\n // Use a for loop to avoid recursion\n let loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len\n case 'utf8':\n case 'utf-8':\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) {\n return mustMatch ? -1 : utf8ToBytes(string).length // assume utf8\n }\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n let loweredCase = false\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coercion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0\n start >>>= 0\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8'\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase()\n loweredCase = true\n }\n }\n}\n\n// This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package)\n// to detect a Buffer instance. It's not possible to use `instanceof Buffer`\n// reliably in a browserify context because there could be multiple different\n// copies of the 'buffer' package in use. This method works even for Buffer\n// instances that were created from another copy of the `buffer` package.\n// See: https://github.com/feross/buffer/issues/154\nBuffer.prototype._isBuffer = true\n\nfunction swap (b, n, m) {\n const i = b[n]\n b[n] = b[m]\n b[m] = i\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n const len = this.length\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (let i = 0; i < len; i += 2) {\n swap(this, i, i + 1)\n }\n return this\n}\n\nBuffer.prototype.swap32 = function swap32 () {\n const len = this.length\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (let i = 0; i < len; i += 4) {\n swap(this, i, i + 3)\n swap(this, i + 1, i + 2)\n }\n return this\n}\n\nBuffer.prototype.swap64 = function swap64 () {\n const len = this.length\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits')\n }\n for (let i = 0; i < len; i += 8) {\n swap(this, i, i + 7)\n swap(this, i + 1, i + 6)\n swap(this, i + 2, i + 5)\n swap(this, i + 3, i + 4)\n }\n return this\n}\n\nBuffer.prototype.toString = function toString () {\n const length = this.length\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.toLocaleString = Buffer.prototype.toString\n\nBuffer.prototype.equals = function equals (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n let str = ''\n const max = exports.INSPECT_MAX_BYTES\n str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim()\n if (this.length > max) str += ' ... '\n return ''\n}\nif (customInspectSymbol) {\n Buffer.prototype[customInspectSymbol] = Buffer.prototype.inspect\n}\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (isInstance(target, Uint8Array)) {\n target = Buffer.from(target, target.offset, target.byteLength)\n }\n if (!Buffer.isBuffer(target)) {\n throw new TypeError(\n 'The \"target\" argument must be one of type Buffer or Uint8Array. ' +\n 'Received type ' + (typeof target)\n )\n }\n\n if (start === undefined) {\n start = 0\n }\n if (end === undefined) {\n end = target ? target.length : 0\n }\n if (thisStart === undefined) {\n thisStart = 0\n }\n if (thisEnd === undefined) {\n thisEnd = this.length\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0\n end >>>= 0\n thisStart >>>= 0\n thisEnd >>>= 0\n\n if (this === target) return 0\n\n let x = thisEnd - thisStart\n let y = end - start\n const len = Math.min(x, y)\n\n const thisCopy = this.slice(thisStart, thisEnd)\n const targetCopy = target.slice(start, end)\n\n for (let i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i]\n y = targetCopy[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset\n byteOffset = 0\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000\n }\n byteOffset = +byteOffset // Coerce to Number.\n if (numberIsNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : (buffer.length - 1)\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\n if (byteOffset >= buffer.length) {\n if (dir) return -1\n else byteOffset = buffer.length - 1\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0\n else return -1\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding)\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (Buffer.isBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n } else if (typeof val === 'number') {\n val = val & 0xFF // Search for a byte value [0-255]\n if (typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n }\n }\n return arrayIndexOf(buffer, [val], byteOffset, encoding, dir)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n let indexSize = 1\n let arrLength = arr.length\n let valLength = val.length\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase()\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2\n arrLength /= 2\n valLength /= 2\n byteOffset /= 2\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n let i\n if (dir) {\n let foundIndex = -1\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex\n foundIndex = -1\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\n for (i = byteOffset; i >= 0; i--) {\n let found = true\n for (let j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false\n break\n }\n }\n if (found) return i\n }\n }\n\n return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n}\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n const remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n const strLen = string.length\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n let i\n for (i = 0; i < length; ++i) {\n const parsed = parseInt(string.substr(i * 2, 2), 16)\n if (numberIsNaN(parsed)) return i\n buf[offset + i] = parsed\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8'\n length = this.length\n offset = 0\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset\n length = this.length\n offset = 0\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset >>> 0\n if (isFinite(length)) {\n length = length >>> 0\n if (encoding === undefined) encoding = 'utf8'\n } else {\n encoding = length\n length = undefined\n }\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n const remaining = this.length - offset\n if (length === undefined || length > remaining) length = remaining\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8'\n\n let loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n case 'latin1':\n case 'binary':\n return asciiWrite(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end)\n const res = []\n\n let i = start\n while (i < end) {\n const firstByte = buf[i]\n let codePoint = null\n let bytesPerSequence = (firstByte > 0xEF)\n ? 4\n : (firstByte > 0xDF)\n ? 3\n : (firstByte > 0xBF)\n ? 2\n : 1\n\n if (i + bytesPerSequence <= end) {\n let secondByte, thirdByte, fourthByte, tempCodePoint\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte\n }\n break\n case 2:\n secondByte = buf[i + 1]\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint\n }\n }\n break\n case 3:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint\n }\n }\n break\n case 4:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n fourthByte = buf[i + 3]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD\n bytesPerSequence = 1\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n codePoint = 0xDC00 | codePoint & 0x3FF\n }\n\n res.push(codePoint)\n i += bytesPerSequence\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nconst MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n const len = codePoints.length\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n let res = ''\n let i = 0\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n )\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n let ret = ''\n end = Math.min(buf.length, end)\n\n for (let i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F)\n }\n return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n let ret = ''\n end = Math.min(buf.length, end)\n\n for (let i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i])\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n const len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n let out = ''\n for (let i = start; i < end; ++i) {\n out += hexSliceLookupTable[buf[i]]\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n const bytes = buf.slice(start, end)\n let res = ''\n // If bytes.length is odd, the last 8 bits must be ignored (same as node.js)\n for (let i = 0; i < bytes.length - 1; i += 2) {\n res += String.fromCharCode(bytes[i] + (bytes[i + 1] * 256))\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n const len = this.length\n start = ~~start\n end = end === undefined ? len : ~~end\n\n if (start < 0) {\n start += len\n if (start < 0) start = 0\n } else if (start > len) {\n start = len\n }\n\n if (end < 0) {\n end += len\n if (end < 0) end = 0\n } else if (end > len) {\n end = len\n }\n\n if (end < start) end = start\n\n const newBuf = this.subarray(start, end)\n // Return an augmented `Uint8Array` instance\n Object.setPrototypeOf(newBuf, Buffer.prototype)\n\n return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUintLE =\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n let val = this[offset]\n let mul = 1\n let i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUintBE =\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length)\n }\n\n let val = this[offset + --byteLength]\n let mul = 1\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUint8 =\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 1, this.length)\n return this[offset]\n}\n\nBuffer.prototype.readUint16LE =\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUint16BE =\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUint32LE =\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUint32BE =\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n}\n\nBuffer.prototype.readBigUInt64LE = defineBigIntMethod(function readBigUInt64LE (offset) {\n offset = offset >>> 0\n validateNumber(offset, 'offset')\n const first = this[offset]\n const last = this[offset + 7]\n if (first === undefined || last === undefined) {\n boundsError(offset, this.length - 8)\n }\n\n const lo = first +\n this[++offset] * 2 ** 8 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 24\n\n const hi = this[++offset] +\n this[++offset] * 2 ** 8 +\n this[++offset] * 2 ** 16 +\n last * 2 ** 24\n\n return BigInt(lo) + (BigInt(hi) << BigInt(32))\n})\n\nBuffer.prototype.readBigUInt64BE = defineBigIntMethod(function readBigUInt64BE (offset) {\n offset = offset >>> 0\n validateNumber(offset, 'offset')\n const first = this[offset]\n const last = this[offset + 7]\n if (first === undefined || last === undefined) {\n boundsError(offset, this.length - 8)\n }\n\n const hi = first * 2 ** 24 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 8 +\n this[++offset]\n\n const lo = this[++offset] * 2 ** 24 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 8 +\n last\n\n return (BigInt(hi) << BigInt(32)) + BigInt(lo)\n})\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n let val = this[offset]\n let mul = 1\n let i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n let i = byteLength\n let mul = 1\n let val = this[offset + --i]\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 1, this.length)\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n const val = this[offset] | (this[offset + 1] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n const val = this[offset + 1] | (this[offset] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n}\n\nBuffer.prototype.readBigInt64LE = defineBigIntMethod(function readBigInt64LE (offset) {\n offset = offset >>> 0\n validateNumber(offset, 'offset')\n const first = this[offset]\n const last = this[offset + 7]\n if (first === undefined || last === undefined) {\n boundsError(offset, this.length - 8)\n }\n\n const val = this[offset + 4] +\n this[offset + 5] * 2 ** 8 +\n this[offset + 6] * 2 ** 16 +\n (last << 24) // Overflow\n\n return (BigInt(val) << BigInt(32)) +\n BigInt(first +\n this[++offset] * 2 ** 8 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 24)\n})\n\nBuffer.prototype.readBigInt64BE = defineBigIntMethod(function readBigInt64BE (offset) {\n offset = offset >>> 0\n validateNumber(offset, 'offset')\n const first = this[offset]\n const last = this[offset + 7]\n if (first === undefined || last === undefined) {\n boundsError(offset, this.length - 8)\n }\n\n const val = (first << 24) + // Overflow\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 8 +\n this[++offset]\n\n return (BigInt(val) << BigInt(32)) +\n BigInt(this[++offset] * 2 ** 24 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 8 +\n last)\n})\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUintLE =\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) {\n const maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n let mul = 1\n let i = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUintBE =\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) {\n const maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n let i = byteLength - 1\n let mul = 1\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUint8 =\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeUint16LE =\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n return offset + 2\n}\n\nBuffer.prototype.writeUint16BE =\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n return offset + 2\n}\n\nBuffer.prototype.writeUint32LE =\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n this[offset + 3] = (value >>> 24)\n this[offset + 2] = (value >>> 16)\n this[offset + 1] = (value >>> 8)\n this[offset] = (value & 0xff)\n return offset + 4\n}\n\nBuffer.prototype.writeUint32BE =\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n return offset + 4\n}\n\nfunction wrtBigUInt64LE (buf, value, offset, min, max) {\n checkIntBI(value, min, max, buf, offset, 7)\n\n let lo = Number(value & BigInt(0xffffffff))\n buf[offset++] = lo\n lo = lo >> 8\n buf[offset++] = lo\n lo = lo >> 8\n buf[offset++] = lo\n lo = lo >> 8\n buf[offset++] = lo\n let hi = Number(value >> BigInt(32) & BigInt(0xffffffff))\n buf[offset++] = hi\n hi = hi >> 8\n buf[offset++] = hi\n hi = hi >> 8\n buf[offset++] = hi\n hi = hi >> 8\n buf[offset++] = hi\n return offset\n}\n\nfunction wrtBigUInt64BE (buf, value, offset, min, max) {\n checkIntBI(value, min, max, buf, offset, 7)\n\n let lo = Number(value & BigInt(0xffffffff))\n buf[offset + 7] = lo\n lo = lo >> 8\n buf[offset + 6] = lo\n lo = lo >> 8\n buf[offset + 5] = lo\n lo = lo >> 8\n buf[offset + 4] = lo\n let hi = Number(value >> BigInt(32) & BigInt(0xffffffff))\n buf[offset + 3] = hi\n hi = hi >> 8\n buf[offset + 2] = hi\n hi = hi >> 8\n buf[offset + 1] = hi\n hi = hi >> 8\n buf[offset] = hi\n return offset + 8\n}\n\nBuffer.prototype.writeBigUInt64LE = defineBigIntMethod(function writeBigUInt64LE (value, offset = 0) {\n return wrtBigUInt64LE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))\n})\n\nBuffer.prototype.writeBigUInt64BE = defineBigIntMethod(function writeBigUInt64BE (value, offset = 0) {\n return wrtBigUInt64BE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))\n})\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n const limit = Math.pow(2, (8 * byteLength) - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n let i = 0\n let mul = 1\n let sub = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n const limit = Math.pow(2, (8 * byteLength) - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n let i = byteLength - 1\n let mul = 1\n let sub = 0\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n if (value < 0) value = 0xff + value + 1\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n this[offset + 2] = (value >>> 16)\n this[offset + 3] = (value >>> 24)\n return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (value < 0) value = 0xffffffff + value + 1\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n return offset + 4\n}\n\nBuffer.prototype.writeBigInt64LE = defineBigIntMethod(function writeBigInt64LE (value, offset = 0) {\n return wrtBigUInt64LE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))\n})\n\nBuffer.prototype.writeBigInt64BE = defineBigIntMethod(function writeBigInt64BE (value, offset = 0) {\n return wrtBigUInt64BE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))\n})\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!Buffer.isBuffer(target)) throw new TypeError('argument should be a Buffer')\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (targetStart >= target.length) targetStart = target.length\n if (!targetStart) targetStart = 0\n if (end > 0 && end < start) end = start\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('Index out of range')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start\n }\n\n const len = end - start\n\n if (this === target && typeof Uint8Array.prototype.copyWithin === 'function') {\n // Use built-in when available, missing from IE11\n this.copyWithin(targetStart, start, end)\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, end),\n targetStart\n )\n }\n\n return len\n}\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start\n start = 0\n end = this.length\n } else if (typeof end === 'string') {\n encoding = end\n end = this.length\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n if (val.length === 1) {\n const code = val.charCodeAt(0)\n if ((encoding === 'utf8' && code < 128) ||\n encoding === 'latin1') {\n // Fast path: If `val` fits into a single byte, use that numeric value.\n val = code\n }\n }\n } else if (typeof val === 'number') {\n val = val & 255\n } else if (typeof val === 'boolean') {\n val = Number(val)\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0\n end = end === undefined ? this.length : end >>> 0\n\n if (!val) val = 0\n\n let i\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val\n }\n } else {\n const bytes = Buffer.isBuffer(val)\n ? val\n : Buffer.from(val, encoding)\n const len = bytes.length\n if (len === 0) {\n throw new TypeError('The value \"' + val +\n '\" is invalid for argument \"value\"')\n }\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len]\n }\n }\n\n return this\n}\n\n// CUSTOM ERRORS\n// =============\n\n// Simplified versions from Node, changed for Buffer-only usage\nconst errors = {}\nfunction E (sym, getMessage, Base) {\n errors[sym] = class NodeError extends Base {\n constructor () {\n super()\n\n Object.defineProperty(this, 'message', {\n value: getMessage.apply(this, arguments),\n writable: true,\n configurable: true\n })\n\n // Add the error code to the name to include it in the stack trace.\n this.name = `${this.name} [${sym}]`\n // Access the stack to generate the error message including the error code\n // from the name.\n this.stack // eslint-disable-line no-unused-expressions\n // Reset the name to the actual name.\n delete this.name\n }\n\n get code () {\n return sym\n }\n\n set code (value) {\n Object.defineProperty(this, 'code', {\n configurable: true,\n enumerable: true,\n value,\n writable: true\n })\n }\n\n toString () {\n return `${this.name} [${sym}]: ${this.message}`\n }\n }\n}\n\nE('ERR_BUFFER_OUT_OF_BOUNDS',\n function (name) {\n if (name) {\n return `${name} is outside of buffer bounds`\n }\n\n return 'Attempt to access memory outside buffer bounds'\n }, RangeError)\nE('ERR_INVALID_ARG_TYPE',\n function (name, actual) {\n return `The \"${name}\" argument must be of type number. Received type ${typeof actual}`\n }, TypeError)\nE('ERR_OUT_OF_RANGE',\n function (str, range, input) {\n let msg = `The value of \"${str}\" is out of range.`\n let received = input\n if (Number.isInteger(input) && Math.abs(input) > 2 ** 32) {\n received = addNumericalSeparator(String(input))\n } else if (typeof input === 'bigint') {\n received = String(input)\n if (input > BigInt(2) ** BigInt(32) || input < -(BigInt(2) ** BigInt(32))) {\n received = addNumericalSeparator(received)\n }\n received += 'n'\n }\n msg += ` It must be ${range}. Received ${received}`\n return msg\n }, RangeError)\n\nfunction addNumericalSeparator (val) {\n let res = ''\n let i = val.length\n const start = val[0] === '-' ? 1 : 0\n for (; i >= start + 4; i -= 3) {\n res = `_${val.slice(i - 3, i)}${res}`\n }\n return `${val.slice(0, i)}${res}`\n}\n\n// CHECK FUNCTIONS\n// ===============\n\nfunction checkBounds (buf, offset, byteLength) {\n validateNumber(offset, 'offset')\n if (buf[offset] === undefined || buf[offset + byteLength] === undefined) {\n boundsError(offset, buf.length - (byteLength + 1))\n }\n}\n\nfunction checkIntBI (value, min, max, buf, offset, byteLength) {\n if (value > max || value < min) {\n const n = typeof min === 'bigint' ? 'n' : ''\n let range\n if (byteLength > 3) {\n if (min === 0 || min === BigInt(0)) {\n range = `>= 0${n} and < 2${n} ** ${(byteLength + 1) * 8}${n}`\n } else {\n range = `>= -(2${n} ** ${(byteLength + 1) * 8 - 1}${n}) and < 2 ** ` +\n `${(byteLength + 1) * 8 - 1}${n}`\n }\n } else {\n range = `>= ${min}${n} and <= ${max}${n}`\n }\n throw new errors.ERR_OUT_OF_RANGE('value', range, value)\n }\n checkBounds(buf, offset, byteLength)\n}\n\nfunction validateNumber (value, name) {\n if (typeof value !== 'number') {\n throw new errors.ERR_INVALID_ARG_TYPE(name, 'number', value)\n }\n}\n\nfunction boundsError (value, length, type) {\n if (Math.floor(value) !== value) {\n validateNumber(value, type)\n throw new errors.ERR_OUT_OF_RANGE(type || 'offset', 'an integer', value)\n }\n\n if (length < 0) {\n throw new errors.ERR_BUFFER_OUT_OF_BOUNDS()\n }\n\n throw new errors.ERR_OUT_OF_RANGE(type || 'offset',\n `>= ${type ? 1 : 0} and <= ${length}`,\n value)\n}\n\n// HELPER FUNCTIONS\n// ================\n\nconst INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n // Node takes equal signs as end of the Base64 encoding\n str = str.split('=')[0]\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = str.trim().replace(INVALID_BASE64_RE, '')\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '='\n }\n return str\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity\n let codePoint\n const length = string.length\n let leadSurrogate = null\n const bytes = []\n\n for (let i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i)\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n leadSurrogate = codePoint\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n }\n\n leadSurrogate = null\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint)\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n const byteArray = []\n for (let i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n let c, hi, lo\n const byteArray = []\n for (let i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n let i\n for (i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i]\n }\n return i\n}\n\n// ArrayBuffer or Uint8Array objects from other contexts (i.e. iframes) do not pass\n// the `instanceof` check but they should be treated as of that type.\n// See: https://github.com/feross/buffer/issues/166\nfunction isInstance (obj, type) {\n return obj instanceof type ||\n (obj != null && obj.constructor != null && obj.constructor.name != null &&\n obj.constructor.name === type.name)\n}\nfunction numberIsNaN (obj) {\n // For IE11 support\n return obj !== obj // eslint-disable-line no-self-compare\n}\n\n// Create lookup table for `toString('hex')`\n// See: https://github.com/feross/buffer/issues/219\nconst hexSliceLookupTable = (function () {\n const alphabet = '0123456789abcdef'\n const table = new Array(256)\n for (let i = 0; i < 16; ++i) {\n const i16 = i * 16\n for (let j = 0; j < 16; ++j) {\n table[i16 + j] = alphabet[i] + alphabet[j]\n }\n }\n return table\n})()\n\n// Return not function with Error if BigInt not supported\nfunction defineBigIntMethod (fn) {\n return typeof BigInt === 'undefined' ? BufferBigIntNotDefined : fn\n}\n\nfunction BufferBigIntNotDefined () {\n throw new Error('BigInt not supported')\n}\n","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","\"use strict\";Object.defineProperty(exports,Symbol.toStringTag,{value:\"Module\"});const t=require(\"buffer-polyfill\"),r=require(\"process\"),o=e=>e&&e.__esModule?e:{default:e},l=o(r),u=globalThis||void 0||self;Object.defineProperty(exports,\"Buffer\",{enumerable:!0,get:()=>t.Buffer});Object.defineProperty(exports,\"process\",{enumerable:!0,get:()=>l.default});exports.global=u;\n//# sourceMappingURL=index.cjs.map\n","/*!\n * Vue.js v2.7.15\n * (c) 2014-2023 Evan You\n * Released under the MIT License.\n */\nvar emptyObject = Object.freeze({});\nvar isArray = Array.isArray;\n// These helpers produce better VM code in JS engines due to their\n// explicitness and function inlining.\nfunction isUndef(v) {\n return v === undefined || v === null;\n}\nfunction isDef(v) {\n return v !== undefined && v !== null;\n}\nfunction isTrue(v) {\n return v === true;\n}\nfunction isFalse(v) {\n return v === false;\n}\n/**\n * Check if value is primitive.\n */\nfunction isPrimitive(value) {\n return (typeof value === 'string' ||\n typeof value === 'number' ||\n // $flow-disable-line\n typeof value === 'symbol' ||\n typeof value === 'boolean');\n}\nfunction isFunction(value) {\n return typeof value === 'function';\n}\n/**\n * Quick object check - this is primarily used to tell\n * objects from primitive values when we know the value\n * is a JSON-compliant type.\n */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object';\n}\n/**\n * Get the raw type string of a value, e.g., [object Object].\n */\nvar _toString = Object.prototype.toString;\nfunction toRawType(value) {\n return _toString.call(value).slice(8, -1);\n}\n/**\n * Strict object type check. Only returns true\n * for plain JavaScript objects.\n */\nfunction isPlainObject(obj) {\n return _toString.call(obj) === '[object Object]';\n}\nfunction isRegExp(v) {\n return _toString.call(v) === '[object RegExp]';\n}\n/**\n * Check if val is a valid array index.\n */\nfunction isValidArrayIndex(val) {\n var n = parseFloat(String(val));\n return n >= 0 && Math.floor(n) === n && isFinite(val);\n}\nfunction isPromise(val) {\n return (isDef(val) &&\n typeof val.then === 'function' &&\n typeof val.catch === 'function');\n}\n/**\n * Convert a value to a string that is actually rendered.\n */\nfunction toString(val) {\n return val == null\n ? ''\n : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)\n ? JSON.stringify(val, null, 2)\n : String(val);\n}\n/**\n * Convert an input value to a number for persistence.\n * If the conversion fails, return original string.\n */\nfunction toNumber(val) {\n var n = parseFloat(val);\n return isNaN(n) ? val : n;\n}\n/**\n * Make a map and return a function for checking if a key\n * is in that map.\n */\nfunction makeMap(str, expectsLowerCase) {\n var map = Object.create(null);\n var list = str.split(',');\n for (var i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase ? function (val) { return map[val.toLowerCase()]; } : function (val) { return map[val]; };\n}\n/**\n * Check if a tag is a built-in tag.\n */\nvar isBuiltInTag = makeMap('slot,component', true);\n/**\n * Check if an attribute is a reserved attribute.\n */\nvar isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');\n/**\n * Remove an item from an array.\n */\nfunction remove$2(arr, item) {\n var len = arr.length;\n if (len) {\n // fast path for the only / last item\n if (item === arr[len - 1]) {\n arr.length = len - 1;\n return;\n }\n var index = arr.indexOf(item);\n if (index > -1) {\n return arr.splice(index, 1);\n }\n }\n}\n/**\n * Check whether an object has the property.\n */\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwn(obj, key) {\n return hasOwnProperty.call(obj, key);\n}\n/**\n * Create a cached version of a pure function.\n */\nfunction cached(fn) {\n var cache = Object.create(null);\n return function cachedFn(str) {\n var hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n}\n/**\n * Camelize a hyphen-delimited string.\n */\nvar camelizeRE = /-(\\w)/g;\nvar camelize = cached(function (str) {\n return str.replace(camelizeRE, function (_, c) { return (c ? c.toUpperCase() : ''); });\n});\n/**\n * Capitalize a string.\n */\nvar capitalize = cached(function (str) {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\n/**\n * Hyphenate a camelCase string.\n */\nvar hyphenateRE = /\\B([A-Z])/g;\nvar hyphenate = cached(function (str) {\n return str.replace(hyphenateRE, '-$1').toLowerCase();\n});\n/**\n * Simple bind polyfill for environments that do not support it,\n * e.g., PhantomJS 1.x. Technically, we don't need this anymore\n * since native bind is now performant enough in most browsers.\n * But removing it would mean breaking code that was able to run in\n * PhantomJS 1.x, so this must be kept for backward compatibility.\n */\n/* istanbul ignore next */\nfunction polyfillBind(fn, ctx) {\n function boundFn(a) {\n var l = arguments.length;\n return l\n ? l > 1\n ? fn.apply(ctx, arguments)\n : fn.call(ctx, a)\n : fn.call(ctx);\n }\n boundFn._length = fn.length;\n return boundFn;\n}\nfunction nativeBind(fn, ctx) {\n return fn.bind(ctx);\n}\n// @ts-expect-error bind cannot be `undefined`\nvar bind = Function.prototype.bind ? nativeBind : polyfillBind;\n/**\n * Convert an Array-like object to a real Array.\n */\nfunction toArray(list, start) {\n start = start || 0;\n var i = list.length - start;\n var ret = new Array(i);\n while (i--) {\n ret[i] = list[i + start];\n }\n return ret;\n}\n/**\n * Mix properties into target object.\n */\nfunction extend(to, _from) {\n for (var key in _from) {\n to[key] = _from[key];\n }\n return to;\n}\n/**\n * Merge an Array of Objects into a single Object.\n */\nfunction toObject(arr) {\n var res = {};\n for (var i = 0; i < arr.length; i++) {\n if (arr[i]) {\n extend(res, arr[i]);\n }\n }\n return res;\n}\n/* eslint-disable no-unused-vars */\n/**\n * Perform no operation.\n * Stubbing args to make Flow happy without leaving useless transpiled code\n * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).\n */\nfunction noop(a, b, c) { }\n/**\n * Always return false.\n */\nvar no = function (a, b, c) { return false; };\n/* eslint-enable no-unused-vars */\n/**\n * Return the same value.\n */\nvar identity = function (_) { return _; };\n/**\n * Check if two values are loosely equal - that is,\n * if they are plain objects, do they have the same shape?\n */\nfunction looseEqual(a, b) {\n if (a === b)\n return true;\n var isObjectA = isObject(a);\n var isObjectB = isObject(b);\n if (isObjectA && isObjectB) {\n try {\n var isArrayA = Array.isArray(a);\n var isArrayB = Array.isArray(b);\n if (isArrayA && isArrayB) {\n return (a.length === b.length &&\n a.every(function (e, i) {\n return looseEqual(e, b[i]);\n }));\n }\n else if (a instanceof Date && b instanceof Date) {\n return a.getTime() === b.getTime();\n }\n else if (!isArrayA && !isArrayB) {\n var keysA = Object.keys(a);\n var keysB = Object.keys(b);\n return (keysA.length === keysB.length &&\n keysA.every(function (key) {\n return looseEqual(a[key], b[key]);\n }));\n }\n else {\n /* istanbul ignore next */\n return false;\n }\n }\n catch (e) {\n /* istanbul ignore next */\n return false;\n }\n }\n else if (!isObjectA && !isObjectB) {\n return String(a) === String(b);\n }\n else {\n return false;\n }\n}\n/**\n * Return the first index at which a loosely equal value can be\n * found in the array (if value is a plain object, the array must\n * contain an object of the same shape), or -1 if it is not present.\n */\nfunction looseIndexOf(arr, val) {\n for (var i = 0; i < arr.length; i++) {\n if (looseEqual(arr[i], val))\n return i;\n }\n return -1;\n}\n/**\n * Ensure a function is called only once.\n */\nfunction once(fn) {\n var called = false;\n return function () {\n if (!called) {\n called = true;\n fn.apply(this, arguments);\n }\n };\n}\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is#polyfill\nfunction hasChanged(x, y) {\n if (x === y) {\n return x === 0 && 1 / x !== 1 / y;\n }\n else {\n return x === x || y === y;\n }\n}\n\nvar SSR_ATTR = 'data-server-rendered';\nvar ASSET_TYPES = ['component', 'directive', 'filter'];\nvar LIFECYCLE_HOOKS = [\n 'beforeCreate',\n 'created',\n 'beforeMount',\n 'mounted',\n 'beforeUpdate',\n 'updated',\n 'beforeDestroy',\n 'destroyed',\n 'activated',\n 'deactivated',\n 'errorCaptured',\n 'serverPrefetch',\n 'renderTracked',\n 'renderTriggered'\n];\n\nvar config = {\n /**\n * Option merge strategies (used in core/util/options)\n */\n // $flow-disable-line\n optionMergeStrategies: Object.create(null),\n /**\n * Whether to suppress warnings.\n */\n silent: false,\n /**\n * Show production mode tip message on boot?\n */\n productionTip: process.env.NODE_ENV !== 'production',\n /**\n * Whether to enable devtools\n */\n devtools: process.env.NODE_ENV !== 'production',\n /**\n * Whether to record perf\n */\n performance: false,\n /**\n * Error handler for watcher errors\n */\n errorHandler: null,\n /**\n * Warn handler for watcher warns\n */\n warnHandler: null,\n /**\n * Ignore certain custom elements\n */\n ignoredElements: [],\n /**\n * Custom user key aliases for v-on\n */\n // $flow-disable-line\n keyCodes: Object.create(null),\n /**\n * Check if a tag is reserved so that it cannot be registered as a\n * component. This is platform-dependent and may be overwritten.\n */\n isReservedTag: no,\n /**\n * Check if an attribute is reserved so that it cannot be used as a component\n * prop. This is platform-dependent and may be overwritten.\n */\n isReservedAttr: no,\n /**\n * Check if a tag is an unknown element.\n * Platform-dependent.\n */\n isUnknownElement: no,\n /**\n * Get the namespace of an element\n */\n getTagNamespace: noop,\n /**\n * Parse the real tag name for the specific platform.\n */\n parsePlatformTagName: identity,\n /**\n * Check if an attribute must be bound using property, e.g. value\n * Platform-dependent.\n */\n mustUseProp: no,\n /**\n * Perform updates asynchronously. Intended to be used by Vue Test Utils\n * This will significantly reduce performance if set to false.\n */\n async: true,\n /**\n * Exposed for legacy reasons\n */\n _lifecycleHooks: LIFECYCLE_HOOKS\n};\n\n/**\n * unicode letters used for parsing html tags, component names and property paths.\n * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname\n * skipping \\u10000-\\uEFFFF due to it freezing up PhantomJS\n */\nvar unicodeRegExp = /a-zA-Z\\u00B7\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u203F-\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD/;\n/**\n * Check if a string starts with $ or _\n */\nfunction isReserved(str) {\n var c = (str + '').charCodeAt(0);\n return c === 0x24 || c === 0x5f;\n}\n/**\n * Define a property.\n */\nfunction def(obj, key, val, enumerable) {\n Object.defineProperty(obj, key, {\n value: val,\n enumerable: !!enumerable,\n writable: true,\n configurable: true\n });\n}\n/**\n * Parse simple path.\n */\nvar bailRE = new RegExp(\"[^\".concat(unicodeRegExp.source, \".$_\\\\d]\"));\nfunction parsePath(path) {\n if (bailRE.test(path)) {\n return;\n }\n var segments = path.split('.');\n return function (obj) {\n for (var i = 0; i < segments.length; i++) {\n if (!obj)\n return;\n obj = obj[segments[i]];\n }\n return obj;\n };\n}\n\n// can we use __proto__?\nvar hasProto = '__proto__' in {};\n// Browser environment sniffing\nvar inBrowser = typeof window !== 'undefined';\nvar UA = inBrowser && window.navigator.userAgent.toLowerCase();\nvar isIE = UA && /msie|trident/.test(UA);\nvar isIE9 = UA && UA.indexOf('msie 9.0') > 0;\nvar isEdge = UA && UA.indexOf('edge/') > 0;\nUA && UA.indexOf('android') > 0;\nvar isIOS = UA && /iphone|ipad|ipod|ios/.test(UA);\nUA && /chrome\\/\\d+/.test(UA) && !isEdge;\nUA && /phantomjs/.test(UA);\nvar isFF = UA && UA.match(/firefox\\/(\\d+)/);\n// Firefox has a \"watch\" function on Object.prototype...\n// @ts-expect-error firebox support\nvar nativeWatch = {}.watch;\nvar supportsPassive = false;\nif (inBrowser) {\n try {\n var opts = {};\n Object.defineProperty(opts, 'passive', {\n get: function () {\n /* istanbul ignore next */\n supportsPassive = true;\n }\n }); // https://github.com/facebook/flow/issues/285\n window.addEventListener('test-passive', null, opts);\n }\n catch (e) { }\n}\n// this needs to be lazy-evaled because vue may be required before\n// vue-server-renderer can set VUE_ENV\nvar _isServer;\nvar isServerRendering = function () {\n if (_isServer === undefined) {\n /* istanbul ignore if */\n if (!inBrowser && typeof global !== 'undefined') {\n // detect presence of vue-server-renderer and avoid\n // Webpack shimming the process\n _isServer =\n global['process'] && global['process'].env.VUE_ENV === 'server';\n }\n else {\n _isServer = false;\n }\n }\n return _isServer;\n};\n// detect devtools\nvar devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n/* istanbul ignore next */\nfunction isNative(Ctor) {\n return typeof Ctor === 'function' && /native code/.test(Ctor.toString());\n}\nvar hasSymbol = typeof Symbol !== 'undefined' &&\n isNative(Symbol) &&\n typeof Reflect !== 'undefined' &&\n isNative(Reflect.ownKeys);\nvar _Set; // $flow-disable-line\n/* istanbul ignore if */ if (typeof Set !== 'undefined' && isNative(Set)) {\n // use native Set when available.\n _Set = Set;\n}\nelse {\n // a non-standard Set polyfill that only works with primitive keys.\n _Set = /** @class */ (function () {\n function Set() {\n this.set = Object.create(null);\n }\n Set.prototype.has = function (key) {\n return this.set[key] === true;\n };\n Set.prototype.add = function (key) {\n this.set[key] = true;\n };\n Set.prototype.clear = function () {\n this.set = Object.create(null);\n };\n return Set;\n }());\n}\n\nvar currentInstance = null;\n/**\n * This is exposed for compatibility with v3 (e.g. some functions in VueUse\n * relies on it). Do not use this internally, just use `currentInstance`.\n *\n * @internal this function needs manual type declaration because it relies\n * on previously manually authored types from Vue 2\n */\nfunction getCurrentInstance() {\n return currentInstance && { proxy: currentInstance };\n}\n/**\n * @internal\n */\nfunction setCurrentInstance(vm) {\n if (vm === void 0) { vm = null; }\n if (!vm)\n currentInstance && currentInstance._scope.off();\n currentInstance = vm;\n vm && vm._scope.on();\n}\n\n/**\n * @internal\n */\nvar VNode = /** @class */ (function () {\n function VNode(tag, data, children, text, elm, context, componentOptions, asyncFactory) {\n this.tag = tag;\n this.data = data;\n this.children = children;\n this.text = text;\n this.elm = elm;\n this.ns = undefined;\n this.context = context;\n this.fnContext = undefined;\n this.fnOptions = undefined;\n this.fnScopeId = undefined;\n this.key = data && data.key;\n this.componentOptions = componentOptions;\n this.componentInstance = undefined;\n this.parent = undefined;\n this.raw = false;\n this.isStatic = false;\n this.isRootInsert = true;\n this.isComment = false;\n this.isCloned = false;\n this.isOnce = false;\n this.asyncFactory = asyncFactory;\n this.asyncMeta = undefined;\n this.isAsyncPlaceholder = false;\n }\n Object.defineProperty(VNode.prototype, \"child\", {\n // DEPRECATED: alias for componentInstance for backwards compat.\n /* istanbul ignore next */\n get: function () {\n return this.componentInstance;\n },\n enumerable: false,\n configurable: true\n });\n return VNode;\n}());\nvar createEmptyVNode = function (text) {\n if (text === void 0) { text = ''; }\n var node = new VNode();\n node.text = text;\n node.isComment = true;\n return node;\n};\nfunction createTextVNode(val) {\n return new VNode(undefined, undefined, undefined, String(val));\n}\n// optimized shallow clone\n// used for static nodes and slot nodes because they may be reused across\n// multiple renders, cloning them avoids errors when DOM manipulations rely\n// on their elm reference.\nfunction cloneVNode(vnode) {\n var cloned = new VNode(vnode.tag, vnode.data, \n // #7975\n // clone children array to avoid mutating original in case of cloning\n // a child.\n vnode.children && vnode.children.slice(), vnode.text, vnode.elm, vnode.context, vnode.componentOptions, vnode.asyncFactory);\n cloned.ns = vnode.ns;\n cloned.isStatic = vnode.isStatic;\n cloned.key = vnode.key;\n cloned.isComment = vnode.isComment;\n cloned.fnContext = vnode.fnContext;\n cloned.fnOptions = vnode.fnOptions;\n cloned.fnScopeId = vnode.fnScopeId;\n cloned.asyncMeta = vnode.asyncMeta;\n cloned.isCloned = true;\n return cloned;\n}\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\n\nvar uid$2 = 0;\nvar pendingCleanupDeps = [];\nvar cleanupDeps = function () {\n for (var i = 0; i < pendingCleanupDeps.length; i++) {\n var dep = pendingCleanupDeps[i];\n dep.subs = dep.subs.filter(function (s) { return s; });\n dep._pending = false;\n }\n pendingCleanupDeps.length = 0;\n};\n/**\n * A dep is an observable that can have multiple\n * directives subscribing to it.\n * @internal\n */\nvar Dep = /** @class */ (function () {\n function Dep() {\n // pending subs cleanup\n this._pending = false;\n this.id = uid$2++;\n this.subs = [];\n }\n Dep.prototype.addSub = function (sub) {\n this.subs.push(sub);\n };\n Dep.prototype.removeSub = function (sub) {\n // #12696 deps with massive amount of subscribers are extremely slow to\n // clean up in Chromium\n // to workaround this, we unset the sub for now, and clear them on\n // next scheduler flush.\n this.subs[this.subs.indexOf(sub)] = null;\n if (!this._pending) {\n this._pending = true;\n pendingCleanupDeps.push(this);\n }\n };\n Dep.prototype.depend = function (info) {\n if (Dep.target) {\n Dep.target.addDep(this);\n if (process.env.NODE_ENV !== 'production' && info && Dep.target.onTrack) {\n Dep.target.onTrack(__assign({ effect: Dep.target }, info));\n }\n }\n };\n Dep.prototype.notify = function (info) {\n // stabilize the subscriber list first\n var subs = this.subs.filter(function (s) { return s; });\n if (process.env.NODE_ENV !== 'production' && !config.async) {\n // subs aren't sorted in scheduler if not running async\n // we need to sort them now to make sure they fire in correct\n // order\n subs.sort(function (a, b) { return a.id - b.id; });\n }\n for (var i = 0, l = subs.length; i < l; i++) {\n var sub = subs[i];\n if (process.env.NODE_ENV !== 'production' && info) {\n sub.onTrigger &&\n sub.onTrigger(__assign({ effect: subs[i] }, info));\n }\n sub.update();\n }\n };\n return Dep;\n}());\n// The current target watcher being evaluated.\n// This is globally unique because only one watcher\n// can be evaluated at a time.\nDep.target = null;\nvar targetStack = [];\nfunction pushTarget(target) {\n targetStack.push(target);\n Dep.target = target;\n}\nfunction popTarget() {\n targetStack.pop();\n Dep.target = targetStack[targetStack.length - 1];\n}\n\n/*\n * not type checking this file because flow doesn't play well with\n * dynamically accessing methods on Array prototype\n */\nvar arrayProto = Array.prototype;\nvar arrayMethods = Object.create(arrayProto);\nvar methodsToPatch = [\n 'push',\n 'pop',\n 'shift',\n 'unshift',\n 'splice',\n 'sort',\n 'reverse'\n];\n/**\n * Intercept mutating methods and emit events\n */\nmethodsToPatch.forEach(function (method) {\n // cache original method\n var original = arrayProto[method];\n def(arrayMethods, method, function mutator() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var result = original.apply(this, args);\n var ob = this.__ob__;\n var inserted;\n switch (method) {\n case 'push':\n case 'unshift':\n inserted = args;\n break;\n case 'splice':\n inserted = args.slice(2);\n break;\n }\n if (inserted)\n ob.observeArray(inserted);\n // notify change\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"array mutation\" /* TriggerOpTypes.ARRAY_MUTATION */,\n target: this,\n key: method\n });\n }\n else {\n ob.dep.notify();\n }\n return result;\n });\n});\n\nvar arrayKeys = Object.getOwnPropertyNames(arrayMethods);\nvar NO_INITIAL_VALUE = {};\n/**\n * In some cases we may want to disable observation inside a component's\n * update computation.\n */\nvar shouldObserve = true;\nfunction toggleObserving(value) {\n shouldObserve = value;\n}\n// ssr mock dep\nvar mockDep = {\n notify: noop,\n depend: noop,\n addSub: noop,\n removeSub: noop\n};\n/**\n * Observer class that is attached to each observed\n * object. Once attached, the observer converts the target\n * object's property keys into getter/setters that\n * collect dependencies and dispatch updates.\n */\nvar Observer = /** @class */ (function () {\n function Observer(value, shallow, mock) {\n if (shallow === void 0) { shallow = false; }\n if (mock === void 0) { mock = false; }\n this.value = value;\n this.shallow = shallow;\n this.mock = mock;\n // this.value = value\n this.dep = mock ? mockDep : new Dep();\n this.vmCount = 0;\n def(value, '__ob__', this);\n if (isArray(value)) {\n if (!mock) {\n if (hasProto) {\n value.__proto__ = arrayMethods;\n /* eslint-enable no-proto */\n }\n else {\n for (var i = 0, l = arrayKeys.length; i < l; i++) {\n var key = arrayKeys[i];\n def(value, key, arrayMethods[key]);\n }\n }\n }\n if (!shallow) {\n this.observeArray(value);\n }\n }\n else {\n /**\n * Walk through all properties and convert them into\n * getter/setters. This method should only be called when\n * value type is Object.\n */\n var keys = Object.keys(value);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n defineReactive(value, key, NO_INITIAL_VALUE, undefined, shallow, mock);\n }\n }\n }\n /**\n * Observe a list of Array items.\n */\n Observer.prototype.observeArray = function (value) {\n for (var i = 0, l = value.length; i < l; i++) {\n observe(value[i], false, this.mock);\n }\n };\n return Observer;\n}());\n// helpers\n/**\n * Attempt to create an observer instance for a value,\n * returns the new observer if successfully observed,\n * or the existing observer if the value already has one.\n */\nfunction observe(value, shallow, ssrMockReactivity) {\n if (value && hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\n return value.__ob__;\n }\n if (shouldObserve &&\n (ssrMockReactivity || !isServerRendering()) &&\n (isArray(value) || isPlainObject(value)) &&\n Object.isExtensible(value) &&\n !value.__v_skip /* ReactiveFlags.SKIP */ &&\n !isRef(value) &&\n !(value instanceof VNode)) {\n return new Observer(value, shallow, ssrMockReactivity);\n }\n}\n/**\n * Define a reactive property on an Object.\n */\nfunction defineReactive(obj, key, val, customSetter, shallow, mock) {\n var dep = new Dep();\n var property = Object.getOwnPropertyDescriptor(obj, key);\n if (property && property.configurable === false) {\n return;\n }\n // cater for pre-defined getter/setters\n var getter = property && property.get;\n var setter = property && property.set;\n if ((!getter || setter) &&\n (val === NO_INITIAL_VALUE || arguments.length === 2)) {\n val = obj[key];\n }\n var childOb = !shallow && observe(val, false, mock);\n Object.defineProperty(obj, key, {\n enumerable: true,\n configurable: true,\n get: function reactiveGetter() {\n var value = getter ? getter.call(obj) : val;\n if (Dep.target) {\n if (process.env.NODE_ENV !== 'production') {\n dep.depend({\n target: obj,\n type: \"get\" /* TrackOpTypes.GET */,\n key: key\n });\n }\n else {\n dep.depend();\n }\n if (childOb) {\n childOb.dep.depend();\n if (isArray(value)) {\n dependArray(value);\n }\n }\n }\n return isRef(value) && !shallow ? value.value : value;\n },\n set: function reactiveSetter(newVal) {\n var value = getter ? getter.call(obj) : val;\n if (!hasChanged(value, newVal)) {\n return;\n }\n if (process.env.NODE_ENV !== 'production' && customSetter) {\n customSetter();\n }\n if (setter) {\n setter.call(obj, newVal);\n }\n else if (getter) {\n // #7981: for accessor properties without setter\n return;\n }\n else if (!shallow && isRef(value) && !isRef(newVal)) {\n value.value = newVal;\n return;\n }\n else {\n val = newVal;\n }\n childOb = !shallow && observe(newVal, false, mock);\n if (process.env.NODE_ENV !== 'production') {\n dep.notify({\n type: \"set\" /* TriggerOpTypes.SET */,\n target: obj,\n key: key,\n newValue: newVal,\n oldValue: value\n });\n }\n else {\n dep.notify();\n }\n }\n });\n return dep;\n}\nfunction set(target, key, val) {\n if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target))) {\n warn(\"Cannot set reactive property on undefined, null, or primitive value: \".concat(target));\n }\n if (isReadonly(target)) {\n process.env.NODE_ENV !== 'production' && warn(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n return;\n }\n var ob = target.__ob__;\n if (isArray(target) && isValidArrayIndex(key)) {\n target.length = Math.max(target.length, key);\n target.splice(key, 1, val);\n // when mocking for SSR, array methods are not hijacked\n if (ob && !ob.shallow && ob.mock) {\n observe(val, false, true);\n }\n return val;\n }\n if (key in target && !(key in Object.prototype)) {\n target[key] = val;\n return val;\n }\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' &&\n warn('Avoid adding reactive properties to a Vue instance or its root $data ' +\n 'at runtime - declare it upfront in the data option.');\n return val;\n }\n if (!ob) {\n target[key] = val;\n return val;\n }\n defineReactive(ob.value, key, val, undefined, ob.shallow, ob.mock);\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"add\" /* TriggerOpTypes.ADD */,\n target: target,\n key: key,\n newValue: val,\n oldValue: undefined\n });\n }\n else {\n ob.dep.notify();\n }\n return val;\n}\nfunction del(target, key) {\n if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target))) {\n warn(\"Cannot delete reactive property on undefined, null, or primitive value: \".concat(target));\n }\n if (isArray(target) && isValidArrayIndex(key)) {\n target.splice(key, 1);\n return;\n }\n var ob = target.__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' &&\n warn('Avoid deleting properties on a Vue instance or its root $data ' +\n '- just set it to null.');\n return;\n }\n if (isReadonly(target)) {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Delete operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n return;\n }\n if (!hasOwn(target, key)) {\n return;\n }\n delete target[key];\n if (!ob) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"delete\" /* TriggerOpTypes.DELETE */,\n target: target,\n key: key\n });\n }\n else {\n ob.dep.notify();\n }\n}\n/**\n * Collect dependencies on array elements when the array is touched, since\n * we cannot intercept array element access like property getters.\n */\nfunction dependArray(value) {\n for (var e = void 0, i = 0, l = value.length; i < l; i++) {\n e = value[i];\n if (e && e.__ob__) {\n e.__ob__.dep.depend();\n }\n if (isArray(e)) {\n dependArray(e);\n }\n }\n}\n\nfunction reactive(target) {\n makeReactive(target, false);\n return target;\n}\n/**\n * Return a shallowly-reactive copy of the original object, where only the root\n * level properties are reactive. It also does not auto-unwrap refs (even at the\n * root level).\n */\nfunction shallowReactive(target) {\n makeReactive(target, true);\n def(target, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\n return target;\n}\nfunction makeReactive(target, shallow) {\n // if trying to observe a readonly proxy, return the readonly version.\n if (!isReadonly(target)) {\n if (process.env.NODE_ENV !== 'production') {\n if (isArray(target)) {\n warn(\"Avoid using Array as root value for \".concat(shallow ? \"shallowReactive()\" : \"reactive()\", \" as it cannot be tracked in watch() or watchEffect(). Use \").concat(shallow ? \"shallowRef()\" : \"ref()\", \" instead. This is a Vue-2-only limitation.\"));\n }\n var existingOb = target && target.__ob__;\n if (existingOb && existingOb.shallow !== shallow) {\n warn(\"Target is already a \".concat(existingOb.shallow ? \"\" : \"non-\", \"shallow reactive object, and cannot be converted to \").concat(shallow ? \"\" : \"non-\", \"shallow.\"));\n }\n }\n var ob = observe(target, shallow, isServerRendering() /* ssr mock reactivity */);\n if (process.env.NODE_ENV !== 'production' && !ob) {\n if (target == null || isPrimitive(target)) {\n warn(\"value cannot be made reactive: \".concat(String(target)));\n }\n if (isCollectionType(target)) {\n warn(\"Vue 2 does not support reactive collection types such as Map or Set.\");\n }\n }\n }\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\" /* ReactiveFlags.RAW */]);\n }\n return !!(value && value.__ob__);\n}\nfunction isShallow(value) {\n return !!(value && value.__v_isShallow);\n}\nfunction isReadonly(value) {\n return !!(value && value.__v_isReadonly);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n var raw = observed && observed[\"__v_raw\" /* ReactiveFlags.RAW */];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n // non-extensible objects won't be observed anyway\n if (Object.isExtensible(value)) {\n def(value, \"__v_skip\" /* ReactiveFlags.SKIP */, true);\n }\n return value;\n}\n/**\n * @internal\n */\nfunction isCollectionType(value) {\n var type = toRawType(value);\n return (type === 'Map' || type === 'WeakMap' || type === 'Set' || type === 'WeakSet');\n}\n\n/**\n * @internal\n */\nvar RefFlag = \"__v_isRef\";\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\nfunction ref$1(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n var ref = {};\n def(ref, RefFlag, true);\n def(ref, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, shallow);\n def(ref, 'dep', defineReactive(ref, 'value', rawValue, null, shallow, isServerRendering()));\n return ref;\n}\nfunction triggerRef(ref) {\n if (process.env.NODE_ENV !== 'production' && !ref.dep) {\n warn(\"received object is not a triggerable ref.\");\n }\n if (process.env.NODE_ENV !== 'production') {\n ref.dep &&\n ref.dep.notify({\n type: \"set\" /* TriggerOpTypes.SET */,\n target: ref,\n key: 'value'\n });\n }\n else {\n ref.dep && ref.dep.notify();\n }\n}\nfunction unref(ref) {\n return isRef(ref) ? ref.value : ref;\n}\nfunction proxyRefs(objectWithRefs) {\n if (isReactive(objectWithRefs)) {\n return objectWithRefs;\n }\n var proxy = {};\n var keys = Object.keys(objectWithRefs);\n for (var i = 0; i < keys.length; i++) {\n proxyWithRefUnwrap(proxy, objectWithRefs, keys[i]);\n }\n return proxy;\n}\nfunction proxyWithRefUnwrap(target, source, key) {\n Object.defineProperty(target, key, {\n enumerable: true,\n configurable: true,\n get: function () {\n var val = source[key];\n if (isRef(val)) {\n return val.value;\n }\n else {\n var ob = val && val.__ob__;\n if (ob)\n ob.dep.depend();\n return val;\n }\n },\n set: function (value) {\n var oldValue = source[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n }\n else {\n source[key] = value;\n }\n }\n });\n}\nfunction customRef(factory) {\n var dep = new Dep();\n var _a = factory(function () {\n if (process.env.NODE_ENV !== 'production') {\n dep.depend({\n target: ref,\n type: \"get\" /* TrackOpTypes.GET */,\n key: 'value'\n });\n }\n else {\n dep.depend();\n }\n }, function () {\n if (process.env.NODE_ENV !== 'production') {\n dep.notify({\n target: ref,\n type: \"set\" /* TriggerOpTypes.SET */,\n key: 'value'\n });\n }\n else {\n dep.notify();\n }\n }), get = _a.get, set = _a.set;\n var ref = {\n get value() {\n return get();\n },\n set value(newVal) {\n set(newVal);\n }\n };\n def(ref, RefFlag, true);\n return ref;\n}\nfunction toRefs(object) {\n if (process.env.NODE_ENV !== 'production' && !isReactive(object)) {\n warn(\"toRefs() expects a reactive object but received a plain one.\");\n }\n var ret = isArray(object) ? new Array(object.length) : {};\n for (var key in object) {\n ret[key] = toRef(object, key);\n }\n return ret;\n}\nfunction toRef(object, key, defaultValue) {\n var val = object[key];\n if (isRef(val)) {\n return val;\n }\n var ref = {\n get value() {\n var val = object[key];\n return val === undefined ? defaultValue : val;\n },\n set value(newVal) {\n object[key] = newVal;\n }\n };\n def(ref, RefFlag, true);\n return ref;\n}\n\nvar rawToReadonlyFlag = \"__v_rawToReadonly\";\nvar rawToShallowReadonlyFlag = \"__v_rawToShallowReadonly\";\nfunction readonly(target) {\n return createReadonly(target, false);\n}\nfunction createReadonly(target, shallow) {\n if (!isPlainObject(target)) {\n if (process.env.NODE_ENV !== 'production') {\n if (isArray(target)) {\n warn(\"Vue 2 does not support readonly arrays.\");\n }\n else if (isCollectionType(target)) {\n warn(\"Vue 2 does not support readonly collection types such as Map or Set.\");\n }\n else {\n warn(\"value cannot be made readonly: \".concat(typeof target));\n }\n }\n return target;\n }\n if (process.env.NODE_ENV !== 'production' && !Object.isExtensible(target)) {\n warn(\"Vue 2 does not support creating readonly proxy for non-extensible object.\");\n }\n // already a readonly object\n if (isReadonly(target)) {\n return target;\n }\n // already has a readonly proxy\n var existingFlag = shallow ? rawToShallowReadonlyFlag : rawToReadonlyFlag;\n var existingProxy = target[existingFlag];\n if (existingProxy) {\n return existingProxy;\n }\n var proxy = Object.create(Object.getPrototypeOf(target));\n def(target, existingFlag, proxy);\n def(proxy, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, true);\n def(proxy, \"__v_raw\" /* ReactiveFlags.RAW */, target);\n if (isRef(target)) {\n def(proxy, RefFlag, true);\n }\n if (shallow || isShallow(target)) {\n def(proxy, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\n }\n var keys = Object.keys(target);\n for (var i = 0; i < keys.length; i++) {\n defineReadonlyProperty(proxy, target, keys[i], shallow);\n }\n return proxy;\n}\nfunction defineReadonlyProperty(proxy, target, key, shallow) {\n Object.defineProperty(proxy, key, {\n enumerable: true,\n configurable: true,\n get: function () {\n var val = target[key];\n return shallow || !isPlainObject(val) ? val : readonly(val);\n },\n set: function () {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n }\n });\n}\n/**\n * Returns a reactive-copy of the original object, where only the root level\n * properties are readonly, and does NOT unwrap refs nor recursively convert\n * returned properties.\n * This is used for creating the props proxy object for stateful components.\n */\nfunction shallowReadonly(target) {\n return createReadonly(target, true);\n}\n\nfunction computed(getterOrOptions, debugOptions) {\n var getter;\n var setter;\n var onlyGetter = isFunction(getterOrOptions);\n if (onlyGetter) {\n getter = getterOrOptions;\n setter = process.env.NODE_ENV !== 'production'\n ? function () {\n warn('Write operation failed: computed value is readonly');\n }\n : noop;\n }\n else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n var watcher = isServerRendering()\n ? null\n : new Watcher(currentInstance, getter, noop, { lazy: true });\n if (process.env.NODE_ENV !== 'production' && watcher && debugOptions) {\n watcher.onTrack = debugOptions.onTrack;\n watcher.onTrigger = debugOptions.onTrigger;\n }\n var ref = {\n // some libs rely on the presence effect for checking computed refs\n // from normal refs, but the implementation doesn't matter\n effect: watcher,\n get value() {\n if (watcher) {\n if (watcher.dirty) {\n watcher.evaluate();\n }\n if (Dep.target) {\n if (process.env.NODE_ENV !== 'production' && Dep.target.onTrack) {\n Dep.target.onTrack({\n effect: Dep.target,\n target: ref,\n type: \"get\" /* TrackOpTypes.GET */,\n key: 'value'\n });\n }\n watcher.depend();\n }\n return watcher.value;\n }\n else {\n return getter();\n }\n },\n set value(newVal) {\n setter(newVal);\n }\n };\n def(ref, RefFlag, true);\n def(ref, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, onlyGetter);\n return ref;\n}\n\nvar WATCHER = \"watcher\";\nvar WATCHER_CB = \"\".concat(WATCHER, \" callback\");\nvar WATCHER_GETTER = \"\".concat(WATCHER, \" getter\");\nvar WATCHER_CLEANUP = \"\".concat(WATCHER, \" cleanup\");\n// Simple effect.\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(effect, null, (process.env.NODE_ENV !== 'production'\n ? __assign(__assign({}, options), { flush: 'post' }) : { flush: 'post' }));\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(effect, null, (process.env.NODE_ENV !== 'production'\n ? __assign(__assign({}, options), { flush: 'sync' }) : { flush: 'sync' }));\n}\n// initial value for watchers to trigger on undefined initial values\nvar INITIAL_WATCHER_VALUE = {};\n// implementation\nfunction watch(source, cb, options) {\n if (process.env.NODE_ENV !== 'production' && typeof cb !== 'function') {\n warn(\"`watch(fn, options?)` signature has been moved to a separate API. \" +\n \"Use `watchEffect(fn, options?)` instead. `watch` now only \" +\n \"supports `watch(source, cb, options?) signature.\");\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, _a) {\n var _b = _a === void 0 ? emptyObject : _a, immediate = _b.immediate, deep = _b.deep, _c = _b.flush, flush = _c === void 0 ? 'pre' : _c, onTrack = _b.onTrack, onTrigger = _b.onTrigger;\n if (process.env.NODE_ENV !== 'production' && !cb) {\n if (immediate !== undefined) {\n warn(\"watch() \\\"immediate\\\" option is only respected when using the \" +\n \"watch(source, callback, options?) signature.\");\n }\n if (deep !== undefined) {\n warn(\"watch() \\\"deep\\\" option is only respected when using the \" +\n \"watch(source, callback, options?) signature.\");\n }\n }\n var warnInvalidSource = function (s) {\n warn(\"Invalid watch source: \".concat(s, \". A watch source can only be a getter/effect \") +\n \"function, a ref, a reactive object, or an array of these types.\");\n };\n var instance = currentInstance;\n var call = function (fn, type, args) {\n if (args === void 0) { args = null; }\n return invokeWithErrorHandling(fn, null, args, instance, type);\n };\n var getter;\n var forceTrigger = false;\n var isMultiSource = false;\n if (isRef(source)) {\n getter = function () { return source.value; };\n forceTrigger = isShallow(source);\n }\n else if (isReactive(source)) {\n getter = function () {\n source.__ob__.dep.depend();\n return source;\n };\n deep = true;\n }\n else if (isArray(source)) {\n isMultiSource = true;\n forceTrigger = source.some(function (s) { return isReactive(s) || isShallow(s); });\n getter = function () {\n return source.map(function (s) {\n if (isRef(s)) {\n return s.value;\n }\n else if (isReactive(s)) {\n return traverse(s);\n }\n else if (isFunction(s)) {\n return call(s, WATCHER_GETTER);\n }\n else {\n process.env.NODE_ENV !== 'production' && warnInvalidSource(s);\n }\n });\n };\n }\n else if (isFunction(source)) {\n if (cb) {\n // getter with cb\n getter = function () { return call(source, WATCHER_GETTER); };\n }\n else {\n // no cb -> simple effect\n getter = function () {\n if (instance && instance._isDestroyed) {\n return;\n }\n if (cleanup) {\n cleanup();\n }\n return call(source, WATCHER, [onCleanup]);\n };\n }\n }\n else {\n getter = noop;\n process.env.NODE_ENV !== 'production' && warnInvalidSource(source);\n }\n if (cb && deep) {\n var baseGetter_1 = getter;\n getter = function () { return traverse(baseGetter_1()); };\n }\n var cleanup;\n var onCleanup = function (fn) {\n cleanup = watcher.onStop = function () {\n call(fn, WATCHER_CLEANUP);\n };\n };\n // in SSR there is no need to setup an actual effect, and it should be noop\n // unless it's eager\n if (isServerRendering()) {\n // we will also not call the invalidate callback (+ runner is not set up)\n onCleanup = noop;\n if (!cb) {\n getter();\n }\n else if (immediate) {\n call(cb, WATCHER_CB, [\n getter(),\n isMultiSource ? [] : undefined,\n onCleanup\n ]);\n }\n return noop;\n }\n var watcher = new Watcher(currentInstance, getter, noop, {\n lazy: true\n });\n watcher.noRecurse = !cb;\n var oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;\n // overwrite default run\n watcher.run = function () {\n if (!watcher.active) {\n return;\n }\n if (cb) {\n // watch(source, cb)\n var newValue = watcher.get();\n if (deep ||\n forceTrigger ||\n (isMultiSource\n ? newValue.some(function (v, i) {\n return hasChanged(v, oldValue[i]);\n })\n : hasChanged(newValue, oldValue))) {\n // cleanup before running cb again\n if (cleanup) {\n cleanup();\n }\n call(cb, WATCHER_CB, [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? undefined : oldValue,\n onCleanup\n ]);\n oldValue = newValue;\n }\n }\n else {\n // watchEffect\n watcher.get();\n }\n };\n if (flush === 'sync') {\n watcher.update = watcher.run;\n }\n else if (flush === 'post') {\n watcher.post = true;\n watcher.update = function () { return queueWatcher(watcher); };\n }\n else {\n // pre\n watcher.update = function () {\n if (instance && instance === currentInstance && !instance._isMounted) {\n // pre-watcher triggered before\n var buffer = instance._preWatchers || (instance._preWatchers = []);\n if (buffer.indexOf(watcher) < 0)\n buffer.push(watcher);\n }\n else {\n queueWatcher(watcher);\n }\n };\n }\n if (process.env.NODE_ENV !== 'production') {\n watcher.onTrack = onTrack;\n watcher.onTrigger = onTrigger;\n }\n // initial run\n if (cb) {\n if (immediate) {\n watcher.run();\n }\n else {\n oldValue = watcher.get();\n }\n }\n else if (flush === 'post' && instance) {\n instance.$once('hook:mounted', function () { return watcher.get(); });\n }\n else {\n watcher.get();\n }\n return function () {\n watcher.teardown();\n };\n}\n\nvar activeEffectScope;\nvar EffectScope = /** @class */ (function () {\n function EffectScope(detached) {\n if (detached === void 0) { detached = false; }\n this.detached = detached;\n /**\n * @internal\n */\n this.active = true;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this.parent = activeEffectScope;\n if (!detached && activeEffectScope) {\n this.index =\n (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;\n }\n }\n EffectScope.prototype.run = function (fn) {\n if (this.active) {\n var currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n }\n finally {\n activeEffectScope = currentEffectScope;\n }\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"cannot run an inactive effect scope.\");\n }\n };\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n EffectScope.prototype.on = function () {\n activeEffectScope = this;\n };\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n EffectScope.prototype.off = function () {\n activeEffectScope = this.parent;\n };\n EffectScope.prototype.stop = function (fromParent) {\n if (this.active) {\n var i = void 0, l = void 0;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].teardown();\n }\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].stop(true);\n }\n }\n // nested scope, dereference from parent to avoid memory leaks\n if (!this.detached && this.parent && !fromParent) {\n // optimized O(1) removal\n var last = this.parent.scopes.pop();\n if (last && last !== this) {\n this.parent.scopes[this.index] = last;\n last.index = this.index;\n }\n }\n this.parent = undefined;\n this.active = false;\n }\n };\n return EffectScope;\n}());\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\n/**\n * @internal\n */\nfunction recordEffectScope(effect, scope) {\n if (scope === void 0) { scope = activeEffectScope; }\n if (scope && scope.active) {\n scope.effects.push(effect);\n }\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"onScopeDispose() is called when there is no active effect scope\" +\n \" to be associated with.\");\n }\n}\n\nfunction provide(key, value) {\n if (!currentInstance) {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"provide() can only be used inside setup().\");\n }\n }\n else {\n // TS doesn't allow symbol as index type\n resolveProvided(currentInstance)[key] = value;\n }\n}\nfunction resolveProvided(vm) {\n // by default an instance inherits its parent's provides object\n // but when it needs to provide values of its own, it creates its\n // own provides object using parent provides object as prototype.\n // this way in `inject` we can simply look up injections from direct\n // parent and let the prototype chain do the work.\n var existing = vm._provided;\n var parentProvides = vm.$parent && vm.$parent._provided;\n if (parentProvides === existing) {\n return (vm._provided = Object.create(parentProvides));\n }\n else {\n return existing;\n }\n}\nfunction inject(key, defaultValue, treatDefaultAsFactory) {\n if (treatDefaultAsFactory === void 0) { treatDefaultAsFactory = false; }\n // fallback to `currentRenderingInstance` so that this can be called in\n // a functional component\n var instance = currentInstance;\n if (instance) {\n // #2400\n // to support `app.use` plugins,\n // fallback to appContext's `provides` if the instance is at root\n var provides = instance.$parent && instance.$parent._provided;\n if (provides && key in provides) {\n // TS doesn't allow symbol as index type\n return provides[key];\n }\n else if (arguments.length > 1) {\n return treatDefaultAsFactory && isFunction(defaultValue)\n ? defaultValue.call(instance)\n : defaultValue;\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"injection \\\"\".concat(String(key), \"\\\" not found.\"));\n }\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"inject() can only be used inside setup() or functional components.\");\n }\n}\n\nvar normalizeEvent = cached(function (name) {\n var passive = name.charAt(0) === '&';\n name = passive ? name.slice(1) : name;\n var once = name.charAt(0) === '~'; // Prefixed last, checked first\n name = once ? name.slice(1) : name;\n var capture = name.charAt(0) === '!';\n name = capture ? name.slice(1) : name;\n return {\n name: name,\n once: once,\n capture: capture,\n passive: passive\n };\n});\nfunction createFnInvoker(fns, vm) {\n function invoker() {\n var fns = invoker.fns;\n if (isArray(fns)) {\n var cloned = fns.slice();\n for (var i = 0; i < cloned.length; i++) {\n invokeWithErrorHandling(cloned[i], null, arguments, vm, \"v-on handler\");\n }\n }\n else {\n // return handler return value for single handlers\n return invokeWithErrorHandling(fns, null, arguments, vm, \"v-on handler\");\n }\n }\n invoker.fns = fns;\n return invoker;\n}\nfunction updateListeners(on, oldOn, add, remove, createOnceHandler, vm) {\n var name, cur, old, event;\n for (name in on) {\n cur = on[name];\n old = oldOn[name];\n event = normalizeEvent(name);\n if (isUndef(cur)) {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Invalid handler for event \\\"\".concat(event.name, \"\\\": got \") + String(cur), vm);\n }\n else if (isUndef(old)) {\n if (isUndef(cur.fns)) {\n cur = on[name] = createFnInvoker(cur, vm);\n }\n if (isTrue(event.once)) {\n cur = on[name] = createOnceHandler(event.name, cur, event.capture);\n }\n add(event.name, cur, event.capture, event.passive, event.params);\n }\n else if (cur !== old) {\n old.fns = cur;\n on[name] = old;\n }\n }\n for (name in oldOn) {\n if (isUndef(on[name])) {\n event = normalizeEvent(name);\n remove(event.name, oldOn[name], event.capture);\n }\n }\n}\n\nfunction mergeVNodeHook(def, hookKey, hook) {\n if (def instanceof VNode) {\n def = def.data.hook || (def.data.hook = {});\n }\n var invoker;\n var oldHook = def[hookKey];\n function wrappedHook() {\n hook.apply(this, arguments);\n // important: remove merged hook to ensure it's called only once\n // and prevent memory leak\n remove$2(invoker.fns, wrappedHook);\n }\n if (isUndef(oldHook)) {\n // no existing hook\n invoker = createFnInvoker([wrappedHook]);\n }\n else {\n /* istanbul ignore if */\n if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {\n // already a merged invoker\n invoker = oldHook;\n invoker.fns.push(wrappedHook);\n }\n else {\n // existing plain hook\n invoker = createFnInvoker([oldHook, wrappedHook]);\n }\n }\n invoker.merged = true;\n def[hookKey] = invoker;\n}\n\nfunction extractPropsFromVNodeData(data, Ctor, tag) {\n // we are only extracting raw values here.\n // validation and default values are handled in the child\n // component itself.\n var propOptions = Ctor.options.props;\n if (isUndef(propOptions)) {\n return;\n }\n var res = {};\n var attrs = data.attrs, props = data.props;\n if (isDef(attrs) || isDef(props)) {\n for (var key in propOptions) {\n var altKey = hyphenate(key);\n if (process.env.NODE_ENV !== 'production') {\n var keyInLowerCase = key.toLowerCase();\n if (key !== keyInLowerCase && attrs && hasOwn(attrs, keyInLowerCase)) {\n tip(\"Prop \\\"\".concat(keyInLowerCase, \"\\\" is passed to component \") +\n \"\".concat(formatComponentName(\n // @ts-expect-error tag is string\n tag || Ctor), \", but the declared prop name is\") +\n \" \\\"\".concat(key, \"\\\". \") +\n \"Note that HTML attributes are case-insensitive and camelCased \" +\n \"props need to use their kebab-case equivalents when using in-DOM \" +\n \"templates. You should probably use \\\"\".concat(altKey, \"\\\" instead of \\\"\").concat(key, \"\\\".\"));\n }\n }\n checkProp(res, props, key, altKey, true) ||\n checkProp(res, attrs, key, altKey, false);\n }\n }\n return res;\n}\nfunction checkProp(res, hash, key, altKey, preserve) {\n if (isDef(hash)) {\n if (hasOwn(hash, key)) {\n res[key] = hash[key];\n if (!preserve) {\n delete hash[key];\n }\n return true;\n }\n else if (hasOwn(hash, altKey)) {\n res[key] = hash[altKey];\n if (!preserve) {\n delete hash[altKey];\n }\n return true;\n }\n }\n return false;\n}\n\n// The template compiler attempts to minimize the need for normalization by\n// statically analyzing the template at compile time.\n//\n// For plain HTML markup, normalization can be completely skipped because the\n// generated render function is guaranteed to return Array. There are\n// two cases where extra normalization is needed:\n// 1. When the children contains components - because a functional component\n// may return an Array instead of a single root. In this case, just a simple\n// normalization is needed - if any child is an Array, we flatten the whole\n// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\n// because functional components already normalize their own children.\nfunction simpleNormalizeChildren(children) {\n for (var i = 0; i < children.length; i++) {\n if (isArray(children[i])) {\n return Array.prototype.concat.apply([], children);\n }\n }\n return children;\n}\n// 2. When the children contains constructs that always generated nested Arrays,\n// e.g.