-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathrecommendations-main.js
More file actions
2 lines (2 loc) · 329 KB
/
recommendations-main.js
File metadata and controls
2 lines (2 loc) · 329 KB
1
2
(()=>{var t={59097:(t,e,n)=>{"use strict";e.c0=function(t){return new r.default(t)};var r=i(n(59457)),o=i(n(50432));function i(t){return t&&t.__esModule?t:{default:t}}function s(t,e){Object.keys(t).filter((t=>!e||e(t))).map(t.removeItem.bind(t))}},50432:(t,e)=>{"use strict";function n(t,e,n){var r;return(e="symbol"==typeof(r=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"))?r:r+"")in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;class r{constructor(t,e,o){n(this,"scope",void 0),n(this,"wrapped",void 0),this.scope="".concat(o?r.GLOBAL_SCOPE_PERSISTENT:r.GLOBAL_SCOPE_VOLATILE,"_").concat(btoa(t),"_"),this.wrapped=e}scopeKey(t){return"".concat(this.scope).concat(t)}setItem(t,e){this.wrapped.setItem(this.scopeKey(t),e)}getItem(t){return this.wrapped.getItem(this.scopeKey(t))}removeItem(t){this.wrapped.removeItem(this.scopeKey(t))}clear(){Object.keys(this.wrapped).filter((t=>t.startsWith(this.scope))).map(this.wrapped.removeItem.bind(this.wrapped))}}e.default=r,n(r,"GLOBAL_SCOPE_VOLATILE","nextcloud_vol"),n(r,"GLOBAL_SCOPE_PERSISTENT","nextcloud_per")},59457:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o=(r=n(50432))&&r.__esModule?r:{default:r};function i(t,e,n){var r;return(e="symbol"==typeof(r=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"))?r:r+"")in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e.default=class{constructor(t){i(this,"appId",void 0),i(this,"persisted",!1),i(this,"clearedOnLogout",!1),this.appId=t}persist(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.persisted=t,this}clearOnLogout(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.clearedOnLogout=t,this}build(){return new o.default(this.appId,this.persisted?window.localStorage:window.sessionStorage,!this.clearedOnLogout)}}},67526:(t,e)=>{"use strict";e.byteLength=function(t){var e=a(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,i=a(t),s=i[0],c=i[1],u=new o(function(t,e,n){return 3*(e+n)/4-n}(0,s,c)),l=0,f=c>0?s-4:s;for(n=0;n<f;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],u[l++]=e>>16&255,u[l++]=e>>8&255,u[l++]=255&e;2===c&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,u[l++]=255&e);1===c&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,u[l++]=e>>8&255,u[l++]=255&e);return u},e.fromByteArray=function(t){for(var e,r=t.length,o=r%3,i=[],s=16383,a=0,u=r-o;a<u;a+=s)i.push(c(t,a,a+s>u?u:a+s));1===o?(e=t[r-1],i.push(n[e>>2]+n[e<<4&63]+"==")):2===o&&(e=(t[r-2]<<8)+t[r-1],i.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)n[s]=i[s],r[i.charCodeAt(s)]=s;function a(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function c(t,e,r){for(var o,i,s=[],a=e;a<r;a+=3)o=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(255&t[a+2]),s.push(n[(i=o)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},48287:(t,e,n)=>{"use strict";const r=n(67526),o=n(251),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.hp=c,e.IS=50;const s=2147483647;function a(t){if(t>s)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,c.prototype),e}function c(t,e,n){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return f(t)}return u(t,e,n)}function u(t,e,n){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const n=0|m(t,e);let r=a(n);const o=r.write(t,e);o!==n&&(r=r.slice(0,o));return r}(t,e);if(ArrayBuffer.isView(t))return function(t){if(Y(t,Uint8Array)){const e=new Uint8Array(t);return p(e.buffer,e.byteOffset,e.byteLength)}return h(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(Y(t,ArrayBuffer)||t&&Y(t.buffer,ArrayBuffer))return p(t,e,n);if("undefined"!=typeof SharedArrayBuffer&&(Y(t,SharedArrayBuffer)||t&&Y(t.buffer,SharedArrayBuffer)))return p(t,e,n);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=t.valueOf&&t.valueOf();if(null!=r&&r!==t)return c.from(r,e,n);const o=function(t){if(c.isBuffer(t)){const e=0|d(t.length),n=a(e);return 0===n.length||t.copy(n,0,0,e),n}if(void 0!==t.length)return"number"!=typeof t.length||K(t.length)?a(0):h(t);if("Buffer"===t.type&&Array.isArray(t.data))return h(t.data)}(t);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return c.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function l(t){if("number"!=typeof t)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 f(t){return l(t),a(t<0?0:0|d(t))}function h(t){const e=t.length<0?0:0|d(t.length),n=a(e);for(let r=0;r<e;r+=1)n[r]=255&t[r];return n}function p(t,e,n){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===e&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,e):new Uint8Array(t,e,n),Object.setPrototypeOf(r,c.prototype),r}function d(t){if(t>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|t}function m(t,e){if(c.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||Y(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const n=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let o=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return W(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return q(t).length;default:if(o)return r?-1:W(t).length;e=(""+e).toLowerCase(),o=!0}}function g(t,e,n){let r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return I(this,e,n);case"utf8":case"utf-8":return C(this,e,n);case"ascii":return T(this,e,n);case"latin1":case"binary":return S(this,e,n);case"base64":return x(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function v(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function y(t,e,n,r,o){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),K(n=+n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof e&&(e=c.from(e,r)),c.isBuffer(e))return 0===e.length?-1:b(t,e,n,r,o);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):b(t,[e],n,r,o);throw new TypeError("val must be string, number or Buffer")}function b(t,e,n,r,o){let i,s=1,a=t.length,c=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,a/=2,c/=2,n/=2}function u(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(o){let r=-1;for(i=n;i<a;i++)if(u(t,i)===u(e,-1===r?0:i-r)){if(-1===r&&(r=i),i-r+1===c)return r*s}else-1!==r&&(i-=i-r),r=-1}else for(n+c>a&&(n=a-c),i=n;i>=0;i--){let n=!0;for(let r=0;r<c;r++)if(u(t,i+r)!==u(e,r)){n=!1;break}if(n)return i}return-1}function E(t,e,n,r){n=Number(n)||0;const o=t.length-n;r?(r=Number(r))>o&&(r=o):r=o;const i=e.length;let s;for(r>i/2&&(r=i/2),s=0;s<r;++s){const r=parseInt(e.substr(2*s,2),16);if(K(r))return s;t[n+s]=r}return s}function w(t,e,n,r){return X(W(e,t.length-n),t,n,r)}function A(t,e,n,r){return X(function(t){const e=[];for(let n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function _(t,e,n,r){return X(q(e),t,n,r)}function O(t,e,n,r){return X(function(t,e){let n,r,o;const i=[];for(let s=0;s<t.length&&!((e-=2)<0);++s)n=t.charCodeAt(s),r=n>>8,o=n%256,i.push(o),i.push(r);return i}(e,t.length-n),t,n,r)}function x(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function C(t,e,n){n=Math.min(t.length,n);const r=[];let o=e;for(;o<n;){const e=t[o];let i=null,s=e>239?4:e>223?3:e>191?2:1;if(o+s<=n){let n,r,a,c;switch(s){case 1:e<128&&(i=e);break;case 2:n=t[o+1],128==(192&n)&&(c=(31&e)<<6|63&n,c>127&&(i=c));break;case 3:n=t[o+1],r=t[o+2],128==(192&n)&&128==(192&r)&&(c=(15&e)<<12|(63&n)<<6|63&r,c>2047&&(c<55296||c>57343)&&(i=c));break;case 4:n=t[o+1],r=t[o+2],a=t[o+3],128==(192&n)&&128==(192&r)&&128==(192&a)&&(c=(15&e)<<18|(63&n)<<12|(63&r)<<6|63&a,c>65535&&c<1114112&&(i=c))}}null===i?(i=65533,s=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),o+=s}return function(t){const e=t.length;if(e<=N)return String.fromCharCode.apply(String,t);let n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=N));return n}(r)}c.TYPED_ARRAY_SUPPORT=function(){try{const t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),c.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||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."),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(t,e,n){return u(t,e,n)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(t,e,n){return function(t,e,n){return l(t),t<=0?a(t):void 0!==e?"string"==typeof n?a(t).fill(e,n):a(t).fill(e):a(t)}(t,e,n)},c.allocUnsafe=function(t){return f(t)},c.allocUnsafeSlow=function(t){return f(t)},c.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==c.prototype},c.compare=function(t,e){if(Y(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),Y(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let n=t.length,r=e.length;for(let o=0,i=Math.min(n,r);o<i;++o)if(t[o]!==e[o]){n=t[o],r=e[o];break}return n<r?-1:r<n?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);let n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;const r=c.allocUnsafe(e);let o=0;for(n=0;n<t.length;++n){let e=t[n];if(Y(e,Uint8Array))o+e.length>r.length?(c.isBuffer(e)||(e=c.from(e)),e.copy(r,o)):Uint8Array.prototype.set.call(r,e,o);else{if(!c.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(r,o)}o+=e.length}return r},c.byteLength=m,c.prototype._isBuffer=!0,c.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 e=0;e<t;e+=2)v(this,e,e+1);return this},c.prototype.swap32=function(){const t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)v(this,e,e+3),v(this,e+1,e+2);return this},c.prototype.swap64=function(){const t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)v(this,e,e+7),v(this,e+1,e+6),v(this,e+2,e+5),v(this,e+3,e+4);return this},c.prototype.toString=function(){const t=this.length;return 0===t?"":0===arguments.length?C(this,0,t):g.apply(this,arguments)},c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){let t="";const n=e.IS;return t=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(t+=" ... "),"<Buffer "+t+">"},i&&(c.prototype[i]=c.prototype.inspect),c.prototype.compare=function(t,e,n,r,o){if(Y(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),e<0||n>t.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&e>=n)return 0;if(r>=o)return-1;if(e>=n)return 1;if(this===t)return 0;let i=(o>>>=0)-(r>>>=0),s=(n>>>=0)-(e>>>=0);const a=Math.min(i,s),u=this.slice(r,o),l=t.slice(e,n);for(let t=0;t<a;++t)if(u[t]!==l[t]){i=u[t],s=l[t];break}return i<s?-1:s<i?1:0},c.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},c.prototype.indexOf=function(t,e,n){return y(this,t,e,n,!0)},c.prototype.lastIndexOf=function(t,e,n){return y(this,t,e,n,!1)},c.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const o=this.length-e;if((void 0===n||n>o)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let i=!1;for(;;)switch(r){case"hex":return E(this,t,e,n);case"utf8":case"utf-8":return w(this,t,e,n);case"ascii":case"latin1":case"binary":return A(this,t,e,n);case"base64":return _(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,e,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const N=4096;function T(t,e,n){let r="";n=Math.min(t.length,n);for(let o=e;o<n;++o)r+=String.fromCharCode(127&t[o]);return r}function S(t,e,n){let r="";n=Math.min(t.length,n);for(let o=e;o<n;++o)r+=String.fromCharCode(t[o]);return r}function I(t,e,n){const r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);let o="";for(let r=e;r<n;++r)o+=J[t[r]];return o}function R(t,e,n){const r=t.slice(e,n);let o="";for(let t=0;t<r.length-1;t+=2)o+=String.fromCharCode(r[t]+256*r[t+1]);return o}function L(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function P(t,e,n,r,o,i){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function $(t,e,n,r,o){G(e,r,o,t,n,7);let i=Number(e&BigInt(4294967295));t[n++]=i,i>>=8,t[n++]=i,i>>=8,t[n++]=i,i>>=8,t[n++]=i;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[n++]=s,s>>=8,t[n++]=s,s>>=8,t[n++]=s,s>>=8,t[n++]=s,n}function k(t,e,n,r,o){G(e,r,o,t,n,7);let i=Number(e&BigInt(4294967295));t[n+7]=i,i>>=8,t[n+6]=i,i>>=8,t[n+5]=i,i>>=8,t[n+4]=i;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[n+3]=s,s>>=8,t[n+2]=s,s>>=8,t[n+1]=s,s>>=8,t[n]=s,n+8}function j(t,e,n,r,o,i){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(t,e,n,r,i){return e=+e,n>>>=0,i||j(t,0,n,4),o.write(t,e,n,r,23,4),n+4}function F(t,e,n,r,i){return e=+e,n>>>=0,i||j(t,0,n,8),o.write(t,e,n,r,52,8),n+8}c.prototype.slice=function(t,e){const n=this.length;(t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);const r=this.subarray(t,e);return Object.setPrototypeOf(r,c.prototype),r},c.prototype.readUintLE=c.prototype.readUIntLE=function(t,e,n){t>>>=0,e>>>=0,n||L(t,e,this.length);let r=this[t],o=1,i=0;for(;++i<e&&(o*=256);)r+=this[t+i]*o;return r},c.prototype.readUintBE=c.prototype.readUIntBE=function(t,e,n){t>>>=0,e>>>=0,n||L(t,e,this.length);let r=this[t+--e],o=1;for(;e>0&&(o*=256);)r+=this[t+--e]*o;return r},c.prototype.readUint8=c.prototype.readUInt8=function(t,e){return t>>>=0,e||L(t,1,this.length),this[t]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(t,e){return t>>>=0,e||L(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(t,e){return t>>>=0,e||L(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(t,e){return t>>>=0,e||L(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(t,e){return t>>>=0,e||L(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readBigUInt64LE=Z((function(t){z(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||V(t,this.length-8);const r=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,o=this[++t]+256*this[++t]+65536*this[++t]+n*2**24;return BigInt(r)+(BigInt(o)<<BigInt(32))})),c.prototype.readBigUInt64BE=Z((function(t){z(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||V(t,this.length-8);const r=e*2**24+65536*this[++t]+256*this[++t]+this[++t],o=this[++t]*2**24+65536*this[++t]+256*this[++t]+n;return(BigInt(r)<<BigInt(32))+BigInt(o)})),c.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||L(t,e,this.length);let r=this[t],o=1,i=0;for(;++i<e&&(o*=256);)r+=this[t+i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*e)),r},c.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||L(t,e,this.length);let r=e,o=1,i=this[t+--r];for(;r>0&&(o*=256);)i+=this[t+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i},c.prototype.readInt8=function(t,e){return t>>>=0,e||L(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){t>>>=0,e||L(t,2,this.length);const n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){t>>>=0,e||L(t,2,this.length);const n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return t>>>=0,e||L(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return t>>>=0,e||L(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readBigInt64LE=Z((function(t){z(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||V(t,this.length-8);const r=this[t+4]+256*this[t+5]+65536*this[t+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+this[++t]*2**24)})),c.prototype.readBigInt64BE=Z((function(t){z(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||V(t,this.length-8);const r=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(r)<<BigInt(32))+BigInt(this[++t]*2**24+65536*this[++t]+256*this[++t]+n)})),c.prototype.readFloatLE=function(t,e){return t>>>=0,e||L(t,4,this.length),o.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return t>>>=0,e||L(t,4,this.length),o.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return t>>>=0,e||L(t,8,this.length),o.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return t>>>=0,e||L(t,8,this.length),o.read(this,t,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e>>>=0,n>>>=0,!r){P(this,t,e,n,Math.pow(2,8*n)-1,0)}let o=1,i=0;for(this[e]=255&t;++i<n&&(o*=256);)this[e+i]=t/o&255;return e+n},c.prototype.writeUintBE=c.prototype.writeUIntBE=function(t,e,n,r){if(t=+t,e>>>=0,n>>>=0,!r){P(this,t,e,n,Math.pow(2,8*n)-1,0)}let o=n-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+n},c.prototype.writeUint8=c.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||P(this,t,e,1,255,0),this[e]=255&t,e+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||P(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||P(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||P(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||P(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},c.prototype.writeBigUInt64LE=Z((function(t,e=0){return $(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeBigUInt64BE=Z((function(t,e=0){return k(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e>>>=0,!r){const r=Math.pow(2,8*n-1);P(this,t,e,n,r-1,-r)}let o=0,i=1,s=0;for(this[e]=255&t;++o<n&&(i*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/i>>0)-s&255;return e+n},c.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e>>>=0,!r){const r=Math.pow(2,8*n-1);P(this,t,e,n,r-1,-r)}let o=n-1,i=1,s=0;for(this[e+o]=255&t;--o>=0&&(i*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/i>>0)-s&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||P(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||P(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||P(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||P(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||P(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},c.prototype.writeBigInt64LE=Z((function(t,e=0){return $(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeBigInt64BE=Z((function(t,e=0){return k(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeFloatLE=function(t,e,n){return D(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return D(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return F(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return F(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,r){if(!c.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=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-e<r-n&&(r=t.length-e+n);const o=r-n;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,n,r):Uint8Array.prototype.set.call(t,this.subarray(n,r),e),o},c.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===t.length){const e=t.charCodeAt(0);("utf8"===r&&e<128||"latin1"===r)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;let o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{const i=c.isBuffer(t)?t:c.from(t,r),s=i.length;if(0===s)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=i[o%s]}return this};const M={};function U(t,e,n){M[t]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function B(t){let e="",n=t.length;const r="-"===t[0]?1:0;for(;n>=r+4;n-=3)e=`_${t.slice(n-3,n)}${e}`;return`${t.slice(0,n)}${e}`}function G(t,e,n,r,o,i){if(t>n||t<e){const r="bigint"==typeof e?"n":"";let o;throw o=i>3?0===e||e===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(i+1)}${r}`:`>= -(2${r} ** ${8*(i+1)-1}${r}) and < 2 ** ${8*(i+1)-1}${r}`:`>= ${e}${r} and <= ${n}${r}`,new M.ERR_OUT_OF_RANGE("value",o,t)}!function(t,e,n){z(e,"offset"),void 0!==t[e]&&void 0!==t[e+n]||V(e,t.length-(n+1))}(r,o,i)}function z(t,e){if("number"!=typeof t)throw new M.ERR_INVALID_ARG_TYPE(e,"number",t)}function V(t,e,n){if(Math.floor(t)!==t)throw z(t,n),new M.ERR_OUT_OF_RANGE(n||"offset","an integer",t);if(e<0)throw new M.ERR_BUFFER_OUT_OF_BOUNDS;throw new M.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${e}`,t)}U("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),U("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),U("ERR_OUT_OF_RANGE",(function(t,e,n){let r=`The value of "${t}" is out of range.`,o=n;return Number.isInteger(n)&&Math.abs(n)>2**32?o=B(String(n)):"bigint"==typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=B(o)),o+="n"),r+=` It must be ${e}. Received ${o}`,r}),RangeError);const H=/[^+/0-9A-Za-z-_]/g;function W(t,e){let n;e=e||1/0;const r=t.length;let o=null;const i=[];for(let s=0;s<r;++s){if(n=t.charCodeAt(s),n>55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(s+1===r){(e-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;i.push(n)}else if(n<2048){if((e-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function q(t){return r.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(H,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function X(t,e,n,r){let o;for(o=0;o<r&&!(o+n>=e.length||o>=t.length);++o)e[o+n]=t[o];return o}function Y(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function K(t){return t!=t}const J=function(){const t="0123456789abcdef",e=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let o=0;o<16;++o)e[r+o]=t[n]+t[o]}return e}();function Z(t){return"undefined"==typeof BigInt?Q:t}function Q(){throw new Error("BigInt not supported")}},36117:function(t,e){var n,r,o;function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,r=[e],n=function(t){"use strict";function e(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&n(t,e)}function n(t,e){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},n(t,e)}function r(t){var e=a();return function(){var n,r=c(t);if(e){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return o(this,n)}}function o(t,e){if(e&&("object"===i(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return s(t)}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function c(t){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},c(t)}function u(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=l(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){a=!0,i=t},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw i}}}}function l(t,e){if(t){if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(t,e):void 0}}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function d(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function g(t,e,n){v(t,e),e.set(t,n)}function v(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function y(t,e){return b(t,w(t,e,"get"))}function b(t,e){return e.get?e.get.call(t):e.value}function E(t,e,n){return A(t,w(t,e,"set"),n),n}function w(t,e,n){if(!e.has(t))throw new TypeError("attempted to "+n+" private field on non-instance");return e.get(t)}function A(t,e,n){if(e.set)e.set.call(t,n);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=n}}Object.defineProperty(t,"__esModule",{value:!0}),t.CancelablePromise=void 0,t.cancelable=S,t.default=void 0,t.isCancelablePromise=I;var _="undefined"!=typeof Symbol?Symbol.toStringTag:"@@toStringTag",O=new WeakMap,x=new WeakMap,C=function(){function t(e){var n=e.executor,r=void 0===n?function(){}:n,o=e.internals,i=void 0===o?$():o,s=e.promise,a=void 0===s?new Promise((function(t,e){return r(t,e,(function(t){i.onCancelList.push(t)}))})):s;h(this,t),g(this,O,{writable:!0,value:void 0}),g(this,x,{writable:!0,value:void 0}),m(this,_,"CancelablePromise"),this.cancel=this.cancel.bind(this),E(this,O,i),E(this,x,a||new Promise((function(t,e){return r(t,e,(function(t){i.onCancelList.push(t)}))})))}return d(t,[{key:"then",value:function(t,e){return L(y(this,x).then(R(t,y(this,O)),R(e,y(this,O))),y(this,O))}},{key:"catch",value:function(t){return L(y(this,x).catch(R(t,y(this,O))),y(this,O))}},{key:"finally",value:function(t,e){var n=this;return e&&y(this,O).onCancelList.push(t),L(y(this,x).finally(R((function(){if(t)return e&&(y(n,O).onCancelList=y(n,O).onCancelList.filter((function(e){return e!==t}))),t()}),y(this,O))),y(this,O))}},{key:"cancel",value:function(){y(this,O).isCanceled=!0;var t=y(this,O).onCancelList;y(this,O).onCancelList=[];var e,n=u(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;if("function"==typeof r)try{r()}catch(t){console.error(t)}}}catch(t){n.e(t)}finally{n.f()}}},{key:"isCanceled",value:function(){return!0===y(this,O).isCanceled}}]),t}(),N=function(t){e(o,t);var n=r(o);function o(t){return h(this,o),n.call(this,{executor:t})}return d(o)}(C);t.CancelablePromise=N,m(N,"all",(function(t){return P(t,Promise.all(t))})),m(N,"allSettled",(function(t){return P(t,Promise.allSettled(t))})),m(N,"any",(function(t){return P(t,Promise.any(t))})),m(N,"race",(function(t){return P(t,Promise.race(t))})),m(N,"resolve",(function(t){return S(Promise.resolve(t))})),m(N,"reject",(function(t){return S(Promise.reject(t))})),m(N,"isCancelable",I);var T=N;function S(t){return L(t,$())}function I(t){return t instanceof N||t instanceof C}function R(t,e){if(t)return function(n){if(!e.isCanceled){var r=t(n);return I(r)&&e.onCancelList.push(r.cancel),r}return n}}function L(t,e){return new C({internals:e,promise:t})}function P(t,e){var n=$();return n.onCancelList.push((function(){var e,n=u(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;I(r)&&r.cancel()}}catch(t){n.e(t)}finally{n.f()}})),new C({internals:n,promise:e})}function $(){return{isCanceled:!1,onCancelList:[]}}t.default=T},void 0===(o="function"==typeof n?n.apply(e,r):n)||(t.exports=o)},71742:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(71354),o=n.n(r),i=n(76314),s=n.n(i)()(o());s.push([t.id,".recommendation[data-v-05913452]{display:flex;align-items:center;flex-grow:1;min-width:250px;padding:5px 0;margin-right:12px;border-radius:var(--border-radius)}.recommendation[data-v-05913452]:hover,.recommendation[data-v-05913452]:focus{background:var(--color-background-hover)}.recommendation[data-v-05913452]:focus-visible{box-shadow:0 0 0 2px var(--color-primary-element)}.thumbnail[data-v-05913452]{margin-right:9px;margin-left:10px;width:32px;height:32px;background-size:contain;flex-shrink:0;border-radius:var(--border-radius);display:flex;justify-content:center;align-items:center}.thumbnail[data-v-05913452] svg{color:var(--color-primary-element);width:100%;height:100%}.details .file-name[data-v-05913452]{white-space:nowrap;margin-bottom:-8px}.details .file-name .name[data-v-05913452]{display:inline-block;max-width:170px;color:var(--color-main-text);text-overflow:ellipsis;overflow:hidden}.details .file-name .extension[data-v-05913452]{display:inline;color:var(--color-text-maxcontrast)}.details .reason[data-v-05913452]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--color-text-maxcontrast)}@media only screen and (max-width: 1200px){.recommendation[data-v-05913452]{flex-basis:50%;max-width:calc(50% - 15px)}}@media only screen and (max-width: 480px){.recommendation[data-v-05913452]{flex-basis:100%;min-width:100%}}","",{version:3,sources:["webpack://./src/components/RecommendedFile.vue"],names:[],mappings:"AACA,iCACC,YAAA,CACA,kBAAA,CACA,WAAA,CACA,eAAA,CACA,aAAA,CACA,iBAAA,CACA,kCAAA,CAEA,8EAEC,wCAAA,CAGD,+CACC,iDAAA,CAIF,4BACC,gBAAA,CACA,gBAAA,CACA,UAAA,CACA,WAAA,CACA,uBAAA,CACA,aAAA,CACA,kCAAA,CACA,YAAA,CACA,sBAAA,CACA,kBAAA,CAEA,gCACC,kCAAA,CACA,UAAA,CACA,WAAA,CAKD,qCACC,kBAAA,CACA,kBAAA,CAEA,2CACC,oBAAA,CACA,eAAA,CACA,4BAAA,CACA,sBAAA,CACA,eAAA,CAGD,gDACC,cAAA,CACA,mCAAA,CAIF,kCACC,kBAAA,CACA,sBAAA,CACA,eAAA,CACA,mCAAA,CAKF,2CACC,iCACC,cAAA,CACA,0BAAA,CAAA,CAKF,0CACC,iCACC,eAAA,CACA,cAAA,CAAA",sourceRoot:""}]);const a=s},90558:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(71354),o=n.n(r),i=n(76314),s=n.n(i)()(o());s.push([t.id,"\n#recommendations[data-v-18f5ea4a] {\n\tpadding: 28px 30px 0 50px;\n\tmargin-bottom: 20px;\n\tdisplay: flex;\n\theight: 86px;\n\toverflow: hidden;\n\tflex-wrap: wrap;\n\tmin-width: 0;\n}\n.recommendation-item[data-v-18f5ea4a] {\n\tdisplay: flex;\n\talign-items: center;\n\tflex-grow: 1;\n\tmin-width: 250px;\n}\n\n/* show 2 per line for screen sizes smaller that 1200px */\n@media only screen and (max-width: 1200px) {\n#recommendations[data-v-18f5ea4a] {\n\t\theight: initial;\n\t\tmax-height: 189px;\n}\n.recommendation-item[data-v-18f5ea4a] {\n\t\tflex-basis: 50%;\n\t\tmax-width: calc(50% - 15px);\n}\n}\n\n/* GO FULL WIDTH BELOW 480 PIXELS */\n@media only screen and (max-width: 480px) {\n.recommendation-item[data-v-18f5ea4a] {\n\t\tflex-basis: 100%;\n\t\tmin-width: 100%;\n}\n}\n","",{version:3,sources:["webpack://./src/components/Recommendations.vue"],names:[],mappings:";AAkDA;CACA,yBAAA;CACA,mBAAA;CACA,aAAA;CACA,YAAA;CACA,gBAAA;CACA,eAAA;CACA,YAAA;AACA;AAEA;CACA,aAAA;CACA,mBAAA;CACA,YAAA;CACA,gBAAA;AACA;;AAEA,yDAAA;AACA;AACA;EACA,eAAA;EACA,iBAAA;AACA;AACA;EACA,eAAA;EACA,2BAAA;AACA;AACA;;AAEA,oCAAA;AACA;AACA;EACA,gBAAA;EACA,eAAA;AACA;AACA",sourcesContent:['\x3c!--\n - SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n--\x3e\n\n<template>\n\t<div v-if="!loading && enabled">\n\t\t<ul v-if="recommendedFiles.length > 0"\n\t\t\tid="recommendations"\n\t\t\tclass="group">\n\t\t\t<li v-for="file in recommendedFiles"\n\t\t\t\t:key="file.id"\n\t\t\t\tclass="recommendation-item">\n\t\t\t\t<RecommendedFile :id="file.id"\n\t\t\t\t\t:extension="file.extension"\n\t\t\t\t\t:mime-type="file.mimeType"\n\t\t\t\t\t:name="file.name"\n\t\t\t\t\t:directory="file.directory"\n\t\t\t\t\t:reason="file.reason"\n\t\t\t\t\t:has-preview="file.hasPreview" />\n\t\t\t</li>\n\t\t</ul>\n\t</div>\n</template>\n\n<script>\nimport { translate as t } from \'@nextcloud/l10n\'\nimport RecommendedFile from \'./RecommendedFile.vue\'\n\nexport default {\n\tname: \'Recommendations\',\n\tcomponents: { RecommendedFile },\n\tcomputed: {\n\t\tenabled() {\n\t\t\treturn this.$store.state.enabled\n\t\t},\n\t\tloading() {\n\t\t\treturn this.$store.state.loading\n\t\t},\n\t\trecommendedFiles() {\n\t\t\treturn this.$store.state.recommendedFiles\n\t\t},\n\t},\n\tmethods: {\n\t\tt,\n\t},\n}\n<\/script>\n\n<style scoped>\n#recommendations {\n\tpadding: 28px 30px 0 50px;\n\tmargin-bottom: 20px;\n\tdisplay: flex;\n\theight: 86px;\n\toverflow: hidden;\n\tflex-wrap: wrap;\n\tmin-width: 0;\n}\n\n.recommendation-item {\n\tdisplay: flex;\n\talign-items: center;\n\tflex-grow: 1;\n\tmin-width: 250px;\n}\n\n/* show 2 per line for screen sizes smaller that 1200px */\n@media only screen and (max-width: 1200px) {\n\t#recommendations {\n\t\theight: initial;\n\t\tmax-height: 189px;\n\t}\n\t.recommendation-item {\n\t\tflex-basis: 50%;\n\t\tmax-width: calc(50% - 15px);\n\t}\n}\n\n/* GO FULL WIDTH BELOW 480 PIXELS */\n@media only screen and (max-width: 480px) {\n\t.recommendation-item {\n\t\tflex-basis: 100%;\n\t\tmin-width: 100%;\n\t}\n}\n</style>\n'],sourceRoot:""}]);const a=s},76314:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,r,o,i){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);r&&s[l[0]]||(void 0!==i&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},71354:t=>{"use strict";t.exports=function(t){var e=t[1],n=t[3];if(!n)return e;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),i="/*# ".concat(o," */");return[e].concat([i]).join("\n")}return[e].join("\n")}},42838:function(t){t.exports=function(){"use strict";const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:o}=Object;let{freeze:i,seal:s,create:a}=Object,{apply:c,construct:u}="undefined"!=typeof Reflect&&Reflect;i||(i=function(t){return t}),s||(s=function(t){return t}),c||(c=function(t,e,n){return t.apply(e,n)}),u||(u=function(t,e){return new t(...e)});const l=A(Array.prototype.forEach),f=A(Array.prototype.pop),h=A(Array.prototype.push),p=A(String.prototype.toLowerCase),d=A(String.prototype.toString),m=A(String.prototype.match),g=A(String.prototype.replace),v=A(String.prototype.indexOf),y=A(String.prototype.trim),b=A(Object.prototype.hasOwnProperty),E=A(RegExp.prototype.test),w=_(TypeError);function A(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return c(t,e,r)}}function _(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return u(t,n)}}function O(t,r){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p;e&&e(t,null);let i=r.length;for(;i--;){let e=r[i];if("string"==typeof e){const t=o(e);t!==e&&(n(r)||(r[i]=t),e=t)}t[e]=!0}return t}function x(t){for(let e=0;e<t.length;e++)b(t,e)||(t[e]=null);return t}function C(e){const n=a(null);for(const[r,o]of t(e))b(e,r)&&(Array.isArray(o)?n[r]=x(o):o&&"object"==typeof o&&o.constructor===Object?n[r]=C(o):n[r]=o);return n}function N(t,e){for(;null!==t;){const n=o(t,e);if(n){if(n.get)return A(n.get);if("function"==typeof n.value)return A(n.value)}t=r(t)}function n(){return null}return n}const T=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),S=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),I=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),R=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),L=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),P=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),$=i(["#text"]),k=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),j=i(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),D=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),M=s(/\{\{[\w\W]*|[\w\W]*\}\}/gm),U=s(/<%[\w\W]*|[\w\W]*%>/gm),B=s(/\${[\w\W]*}/gm),G=s(/^data-[\-\w.\u00B7-\uFFFF]/),z=s(/^aria-[\-\w]+$/),V=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=s(/^(?:\w+script|data):/i),W=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=s(/^html$/i),X=s(/^[a-z][.\w]*(-[.\w]+)+$/i);var Y=Object.freeze({__proto__:null,MUSTACHE_EXPR:M,ERB_EXPR:U,TMPLIT_EXPR:B,DATA_ATTR:G,ARIA_ATTR:z,IS_ALLOWED_URI:V,IS_SCRIPT_OR_DATA:H,ATTR_WHITESPACE:W,DOCTYPE_NAME:q,CUSTOM_ELEMENT:X});const K={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},J=function(){return"undefined"==typeof window?null:window},Z=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function Q(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:J();const n=t=>Q(t);if(n.version="3.1.7",n.removed=[],!e||!e.document||e.document.nodeType!==K.document)return n.isSupported=!1,n;let{document:r}=e;const o=r,s=o.currentScript,{DocumentFragment:c,HTMLTemplateElement:u,Node:A,Element:_,NodeFilter:x,NamedNodeMap:M=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:U,DOMParser:B,trustedTypes:G}=e,z=_.prototype,H=N(z,"cloneNode"),W=N(z,"remove"),X=N(z,"nextSibling"),tt=N(z,"childNodes"),et=N(z,"parentNode");if("function"==typeof u){const t=r.createElement("template");t.content&&t.content.ownerDocument&&(r=t.content.ownerDocument)}let nt,rt="";const{implementation:ot,createNodeIterator:it,createDocumentFragment:st,getElementsByTagName:at}=r,{importNode:ct}=o;let ut={};n.isSupported="function"==typeof t&&"function"==typeof et&&ot&&void 0!==ot.createHTMLDocument;const{MUSTACHE_EXPR:lt,ERB_EXPR:ft,TMPLIT_EXPR:ht,DATA_ATTR:pt,ARIA_ATTR:dt,IS_SCRIPT_OR_DATA:mt,ATTR_WHITESPACE:gt,CUSTOM_ELEMENT:vt}=Y;let{IS_ALLOWED_URI:yt}=Y,bt=null;const Et=O({},[...T,...S,...I,...L,...$]);let wt=null;const At=O({},[...k,...j,...D,...F]);let _t=Object.seal(a(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}})),Ot=null,xt=null,Ct=!0,Nt=!0,Tt=!1,St=!0,It=!1,Rt=!0,Lt=!1,Pt=!1,$t=!1,kt=!1,jt=!1,Dt=!1,Ft=!0,Mt=!1;const Ut="user-content-";let Bt=!0,Gt=!1,zt={},Vt=null;const Ht=O({},["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 Wt=null;const qt=O({},["audio","video","img","source","image","track"]);let Xt=null;const Yt=O({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Kt="http://www.w3.org/1998/Math/MathML",Jt="http://www.w3.org/2000/svg",Zt="http://www.w3.org/1999/xhtml";let Qt=Zt,te=!1,ee=null;const ne=O({},[Kt,Jt,Zt],d);let re=null;const oe=["application/xhtml+xml","text/html"],ie="text/html";let se=null,ae=null;const ce=r.createElement("form"),ue=function(t){return t instanceof RegExp||t instanceof Function},le=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ae||ae!==t){if(t&&"object"==typeof t||(t={}),t=C(t),re=-1===oe.indexOf(t.PARSER_MEDIA_TYPE)?ie:t.PARSER_MEDIA_TYPE,se="application/xhtml+xml"===re?d:p,bt=b(t,"ALLOWED_TAGS")?O({},t.ALLOWED_TAGS,se):Et,wt=b(t,"ALLOWED_ATTR")?O({},t.ALLOWED_ATTR,se):At,ee=b(t,"ALLOWED_NAMESPACES")?O({},t.ALLOWED_NAMESPACES,d):ne,Xt=b(t,"ADD_URI_SAFE_ATTR")?O(C(Yt),t.ADD_URI_SAFE_ATTR,se):Yt,Wt=b(t,"ADD_DATA_URI_TAGS")?O(C(qt),t.ADD_DATA_URI_TAGS,se):qt,Vt=b(t,"FORBID_CONTENTS")?O({},t.FORBID_CONTENTS,se):Ht,Ot=b(t,"FORBID_TAGS")?O({},t.FORBID_TAGS,se):{},xt=b(t,"FORBID_ATTR")?O({},t.FORBID_ATTR,se):{},zt=!!b(t,"USE_PROFILES")&&t.USE_PROFILES,Ct=!1!==t.ALLOW_ARIA_ATTR,Nt=!1!==t.ALLOW_DATA_ATTR,Tt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,St=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,It=t.SAFE_FOR_TEMPLATES||!1,Rt=!1!==t.SAFE_FOR_XML,Lt=t.WHOLE_DOCUMENT||!1,kt=t.RETURN_DOM||!1,jt=t.RETURN_DOM_FRAGMENT||!1,Dt=t.RETURN_TRUSTED_TYPE||!1,$t=t.FORCE_BODY||!1,Ft=!1!==t.SANITIZE_DOM,Mt=t.SANITIZE_NAMED_PROPS||!1,Bt=!1!==t.KEEP_CONTENT,Gt=t.IN_PLACE||!1,yt=t.ALLOWED_URI_REGEXP||V,Qt=t.NAMESPACE||Zt,_t=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ue(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(_t.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ue(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(_t.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(_t.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),It&&(Nt=!1),jt&&(kt=!0),zt&&(bt=O({},$),wt=[],!0===zt.html&&(O(bt,T),O(wt,k)),!0===zt.svg&&(O(bt,S),O(wt,j),O(wt,F)),!0===zt.svgFilters&&(O(bt,I),O(wt,j),O(wt,F)),!0===zt.mathMl&&(O(bt,L),O(wt,D),O(wt,F))),t.ADD_TAGS&&(bt===Et&&(bt=C(bt)),O(bt,t.ADD_TAGS,se)),t.ADD_ATTR&&(wt===At&&(wt=C(wt)),O(wt,t.ADD_ATTR,se)),t.ADD_URI_SAFE_ATTR&&O(Xt,t.ADD_URI_SAFE_ATTR,se),t.FORBID_CONTENTS&&(Vt===Ht&&(Vt=C(Vt)),O(Vt,t.FORBID_CONTENTS,se)),Bt&&(bt["#text"]=!0),Lt&&O(bt,["html","head","body"]),bt.table&&(O(bt,["tbody"]),delete Ot.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');nt=t.TRUSTED_TYPES_POLICY,rt=nt.createHTML("")}else void 0===nt&&(nt=Z(G,s)),null!==nt&&"string"==typeof rt&&(rt=nt.createHTML(""));i&&i(t),ae=t}},fe=O({},["mi","mo","mn","ms","mtext"]),he=O({},["annotation-xml"]),pe=O({},["title","style","font","a","script"]),de=O({},[...S,...I,...R]),me=O({},[...L,...P]),ge=function(t){let e=et(t);e&&e.tagName||(e={namespaceURI:Qt,tagName:"template"});const n=p(t.tagName),r=p(e.tagName);return!!ee[t.namespaceURI]&&(t.namespaceURI===Jt?e.namespaceURI===Zt?"svg"===n:e.namespaceURI===Kt?"svg"===n&&("annotation-xml"===r||fe[r]):Boolean(de[n]):t.namespaceURI===Kt?e.namespaceURI===Zt?"math"===n:e.namespaceURI===Jt?"math"===n&&he[r]:Boolean(me[n]):t.namespaceURI===Zt?!(e.namespaceURI===Jt&&!he[r])&&!(e.namespaceURI===Kt&&!fe[r])&&!me[n]&&(pe[n]||!de[n]):!("application/xhtml+xml"!==re||!ee[t.namespaceURI]))},ve=function(t){h(n.removed,{element:t});try{et(t).removeChild(t)}catch(e){W(t)}},ye=function(t,e){try{h(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){h(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!wt[t])if(kt||jt)try{ve(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},be=function(t){let e=null,n=null;if($t)t="<remove></remove>"+t;else{const e=m(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===re&&Qt===Zt&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const o=nt?nt.createHTML(t):t;if(Qt===Zt)try{e=(new B).parseFromString(o,re)}catch(t){}if(!e||!e.documentElement){e=ot.createDocument(Qt,"template",null);try{e.documentElement.innerHTML=te?rt:o}catch(t){}}const i=e.body||e.documentElement;return t&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),Qt===Zt?at.call(e,Lt?"html":"body")[0]:Lt?e.documentElement:i},Ee=function(t){return it.call(t.ownerDocument||t,t,x.SHOW_ELEMENT|x.SHOW_COMMENT|x.SHOW_TEXT|x.SHOW_PROCESSING_INSTRUCTION|x.SHOW_CDATA_SECTION,null)},we=function(t){return t instanceof U&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof M)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},Ae=function(t){return"function"==typeof A&&t instanceof A},_e=function(t,e,r){ut[t]&&l(ut[t],(t=>{t.call(n,e,r,ae)}))},Oe=function(t){let e=null;if(_e("beforeSanitizeElements",t,null),we(t))return ve(t),!0;const r=se(t.nodeName);if(_e("uponSanitizeElement",t,{tagName:r,allowedTags:bt}),t.hasChildNodes()&&!Ae(t.firstElementChild)&&E(/<[/\w]/g,t.innerHTML)&&E(/<[/\w]/g,t.textContent))return ve(t),!0;if(t.nodeType===K.progressingInstruction)return ve(t),!0;if(Rt&&t.nodeType===K.comment&&E(/<[/\w]/g,t.data))return ve(t),!0;if(!bt[r]||Ot[r]){if(!Ot[r]&&Ce(r)){if(_t.tagNameCheck instanceof RegExp&&E(_t.tagNameCheck,r))return!1;if(_t.tagNameCheck instanceof Function&&_t.tagNameCheck(r))return!1}if(Bt&&!Vt[r]){const e=et(t)||t.parentNode,n=tt(t)||t.childNodes;if(n&&e)for(let r=n.length-1;r>=0;--r){const o=H(n[r],!0);o.__removalCount=(t.__removalCount||0)+1,e.insertBefore(o,X(t))}}return ve(t),!0}return t instanceof _&&!ge(t)?(ve(t),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!E(/<\/no(script|embed|frames)/i,t.innerHTML)?(It&&t.nodeType===K.text&&(e=t.textContent,l([lt,ft,ht],(t=>{e=g(e,t," ")})),t.textContent!==e&&(h(n.removed,{element:t.cloneNode()}),t.textContent=e)),_e("afterSanitizeElements",t,null),!1):(ve(t),!0)},xe=function(t,e,n){if(Ft&&("id"===e||"name"===e)&&(n in r||n in ce))return!1;if(Nt&&!xt[e]&&E(pt,e));else if(Ct&&E(dt,e));else if(!wt[e]||xt[e]){if(!(Ce(t)&&(_t.tagNameCheck instanceof RegExp&&E(_t.tagNameCheck,t)||_t.tagNameCheck instanceof Function&&_t.tagNameCheck(t))&&(_t.attributeNameCheck instanceof RegExp&&E(_t.attributeNameCheck,e)||_t.attributeNameCheck instanceof Function&&_t.attributeNameCheck(e))||"is"===e&&_t.allowCustomizedBuiltInElements&&(_t.tagNameCheck instanceof RegExp&&E(_t.tagNameCheck,n)||_t.tagNameCheck instanceof Function&&_t.tagNameCheck(n))))return!1}else if(Xt[e]);else if(E(yt,g(n,gt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==v(n,"data:")||!Wt[t])if(Tt&&!E(mt,g(n,gt,"")));else if(n)return!1;return!0},Ce=function(t){return"annotation-xml"!==t&&m(t,vt)},Ne=function(t){_e("beforeSanitizeAttributes",t,null);const{attributes:e}=t;if(!e)return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:wt};let o=e.length;for(;o--;){const i=e[o],{name:s,namespaceURI:a,value:c}=i,u=se(s);let h="value"===s?c:y(c);if(r.attrName=u,r.attrValue=h,r.keepAttr=!0,r.forceKeepAttr=void 0,_e("uponSanitizeAttribute",t,r),h=r.attrValue,r.forceKeepAttr)continue;if(ye(s,t),!r.keepAttr)continue;if(!St&&E(/\/>/i,h)){ye(s,t);continue}It&&l([lt,ft,ht],(t=>{h=g(h,t," ")}));const p=se(t.nodeName);if(xe(p,u,h))if(!Mt||"id"!==u&&"name"!==u||(ye(s,t),h=Ut+h),Rt&&E(/((--!?|])>)|<\/(style|title)/i,h))ye(s,t);else{if(nt&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(a);else switch(G.getAttributeType(p,u)){case"TrustedHTML":h=nt.createHTML(h);break;case"TrustedScriptURL":h=nt.createScriptURL(h)}try{a?t.setAttributeNS(a,s,h):t.setAttribute(s,h),we(t)?ve(t):f(n.removed)}catch(t){}}}_e("afterSanitizeAttributes",t,null)},Te=function t(e){let n=null;const r=Ee(e);for(_e("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)_e("uponSanitizeShadowNode",n,null),Oe(n)||(n.content instanceof c&&t(n.content),Ne(n));_e("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,s=null,a=null;if(te=!t,te&&(t="\x3c!--\x3e"),"string"!=typeof t&&!Ae(t)){if("function"!=typeof t.toString)throw w("toString is not a function");if("string"!=typeof(t=t.toString()))throw w("dirty is not a string, aborting")}if(!n.isSupported)return t;if(Pt||le(e),n.removed=[],"string"==typeof t&&(Gt=!1),Gt){if(t.nodeName){const e=se(t.nodeName);if(!bt[e]||Ot[e])throw w("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof A)r=be("\x3c!----\x3e"),i=r.ownerDocument.importNode(t,!0),i.nodeType===K.element&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i);else{if(!kt&&!It&&!Lt&&-1===t.indexOf("<"))return nt&&Dt?nt.createHTML(t):t;if(r=be(t),!r)return kt?null:Dt?rt:""}r&&$t&&ve(r.firstChild);const u=Ee(Gt?t:r);for(;s=u.nextNode();)Oe(s)||(s.content instanceof c&&Te(s.content),Ne(s));if(Gt)return t;if(kt){if(jt)for(a=st.call(r.ownerDocument);r.firstChild;)a.appendChild(r.firstChild);else a=r;return(wt.shadowroot||wt.shadowrootmode)&&(a=ct.call(o,a,!0)),a}let f=Lt?r.outerHTML:r.innerHTML;return Lt&&bt["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&E(q,r.ownerDocument.doctype.name)&&(f="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+f),It&&l([lt,ft,ht],(t=>{f=g(f,t," ")})),nt&&Dt?nt.createHTML(f):f},n.setConfig=function(){le(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Pt=!0},n.clearConfig=function(){ae=null,Pt=!1},n.isValidAttribute=function(t,e,n){ae||le({});const r=se(t),o=se(e);return xe(r,o,n)},n.addHook=function(t,e){"function"==typeof e&&(ut[t]=ut[t]||[],h(ut[t],e))},n.removeHook=function(t){if(ut[t])return f(ut[t])},n.removeHooks=function(t){ut[t]&&(ut[t]=[])},n.removeAllHooks=function(){ut={}},n}return Q()}()},70580:t=>{"use strict";var e=/["'&<>]/;t.exports=function(t){var n,r=""+t,o=e.exec(r);if(!o)return r;var i="",s=0,a=0;for(s=o.index;s<r.length;s++){switch(r.charCodeAt(s)){case 34:n=""";break;case 38:n="&";break;case 39:n="'";break;case 60:n="<";break;case 62:n=">";break;default:continue}a!==s&&(i+=r.substring(a,s)),a=s+1,i+=n}return a!==s?i+r.substring(a,s):i}},251:(t,e)=>{e.read=function(t,e,n,r,o){var i,s,a=8*o-r-1,c=(1<<a)-1,u=c>>1,l=-7,f=n?o-1:0,h=n?-1:1,p=t[e+f];for(f+=h,i=p&(1<<-l)-1,p>>=-l,l+=a;l>0;i=256*i+t[e+f],f+=h,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=r;l>0;s=256*s+t[e+f],f+=h,l-=8);if(0===i)i=1-u;else{if(i===c)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,r),i-=u}return(p?-1:1)*s*Math.pow(2,i-r)},e.write=function(t,e,n,r,o,i){var s,a,c,u=8*i-o-1,l=(1<<u)-1,f=l>>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,d=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-s))<1&&(s--,c*=2),(e+=s+f>=1?h/c:h*Math.pow(2,1-f))*c>=2&&(s++,c/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(e*c-1)*Math.pow(2,o),s+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,o),s=0));o>=8;t[n+p]=255&a,p+=d,a/=256,o-=8);for(s=s<<o|a,u+=o;u>0;t[n+p]=255&s,p+=d,s/=256,u-=8);t[n+p-d]|=128*m}},57975:(t,e,n)=>{"use strict";var r=n(65606);function o(t){if("string"!=typeof t)throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}function i(t,e){for(var n,r="",o=0,i=-1,s=0,a=0;a<=t.length;++a){if(a<t.length)n=t.charCodeAt(a);else{if(47===n)break;n=47}if(47===n){if(i===a-1||1===s);else if(i!==a-1&&2===s){if(r.length<2||2!==o||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var c=r.lastIndexOf("/");if(c!==r.length-1){-1===c?(r="",o=0):o=(r=r.slice(0,c)).length-1-r.lastIndexOf("/"),i=a,s=0;continue}}else if(2===r.length||1===r.length){r="",o=0,i=a,s=0;continue}e&&(r.length>0?r+="/..":r="..",o=2)}else r.length>0?r+="/"+t.slice(i+1,a):r=t.slice(i+1,a),o=a-i-1;i=a,s=0}else 46===n&&-1!==s?++s:s=-1}return r}var s={resolve:function(){for(var t,e="",n=!1,s=arguments.length-1;s>=-1&&!n;s--){var a;s>=0?a=arguments[s]:(void 0===t&&(t=r.cwd()),a=t),o(a),0!==a.length&&(e=a+"/"+e,n=47===a.charCodeAt(0))}return e=i(e,!n),n?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(t){if(o(t),0===t.length)return".";var e=47===t.charCodeAt(0),n=47===t.charCodeAt(t.length-1);return 0!==(t=i(t,!e)).length||e||(t="."),t.length>0&&n&&(t+="/"),e?"/"+t:t},isAbsolute:function(t){return o(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var t,e=0;e<arguments.length;++e){var n=arguments[e];o(n),n.length>0&&(void 0===t?t=n:t+="/"+n)}return void 0===t?".":s.normalize(t)},relative:function(t,e){if(o(t),o(e),t===e)return"";if((t=s.resolve(t))===(e=s.resolve(e)))return"";for(var n=1;n<t.length&&47===t.charCodeAt(n);++n);for(var r=t.length,i=r-n,a=1;a<e.length&&47===e.charCodeAt(a);++a);for(var c=e.length-a,u=i<c?i:c,l=-1,f=0;f<=u;++f){if(f===u){if(c>u){if(47===e.charCodeAt(a+f))return e.slice(a+f+1);if(0===f)return e.slice(a+f)}else i>u&&(47===t.charCodeAt(n+f)?l=f:0===f&&(l=0));break}var h=t.charCodeAt(n+f);if(h!==e.charCodeAt(a+f))break;47===h&&(l=f)}var p="";for(f=n+l+1;f<=r;++f)f!==r&&47!==t.charCodeAt(f)||(0===p.length?p+="..":p+="/..");return p.length>0?p+e.slice(a+l):(a+=l,47===e.charCodeAt(a)&&++a,e.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(o(t),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,i=!0,s=t.length-1;s>=1;--s)if(47===(e=t.charCodeAt(s))){if(!i){r=s;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"//":t.slice(0,r)},basename:function(t,e){if(void 0!==e&&"string"!=typeof e)throw new TypeError('"ext" argument must be a string');o(t);var n,r=0,i=-1,s=!0;if(void 0!==e&&e.length>0&&e.length<=t.length){if(e.length===t.length&&e===t)return"";var a=e.length-1,c=-1;for(n=t.length-1;n>=0;--n){var u=t.charCodeAt(n);if(47===u){if(!s){r=n+1;break}}else-1===c&&(s=!1,c=n+1),a>=0&&(u===e.charCodeAt(a)?-1==--a&&(i=n):(a=-1,i=c))}return r===i?i=c:-1===i&&(i=t.length),t.slice(r,i)}for(n=t.length-1;n>=0;--n)if(47===t.charCodeAt(n)){if(!s){r=n+1;break}}else-1===i&&(s=!1,i=n+1);return-1===i?"":t.slice(r,i)},extname:function(t){o(t);for(var e=-1,n=0,r=-1,i=!0,s=0,a=t.length-1;a>=0;--a){var c=t.charCodeAt(a);if(47!==c)-1===r&&(i=!1,r=a+1),46===c?-1===e?e=a:1!==s&&(s=1):-1!==e&&(s=-1);else if(!i){n=a+1;break}}return-1===e||-1===r||0===s||1===s&&e===r-1&&e===n+1?"":t.slice(e,r)},format:function(t){if(null===t||"object"!=typeof t)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return function(t,e){var n=e.dir||e.root,r=e.base||(e.name||"")+(e.ext||"");return n?n===e.root?n+r:n+t+r:r}("/",t)},parse:function(t){o(t);var e={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return e;var n,r=t.charCodeAt(0),i=47===r;i?(e.root="/",n=1):n=0;for(var s=-1,a=0,c=-1,u=!0,l=t.length-1,f=0;l>=n;--l)if(47!==(r=t.charCodeAt(l)))-1===c&&(u=!1,c=l+1),46===r?-1===s?s=l:1!==f&&(f=1):-1!==s&&(f=-1);else if(!u){a=l+1;break}return-1===s||-1===c||0===f||1===f&&s===c-1&&s===a+1?-1!==c&&(e.base=e.name=0===a&&i?t.slice(1,c):t.slice(a,c)):(0===a&&i?(e.name=t.slice(1,s),e.base=t.slice(1,c)):(e.name=t.slice(a,s),e.base=t.slice(a,c)),e.ext=t.slice(s,c)),a>0?e.dir=t.slice(0,a-1):i&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};s.posix=s,t.exports=s},65606:t=>{var e,n,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(t){if(e===setTimeout)return setTimeout(t,0);if((e===o||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:o}catch(t){e=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(t){n=i}}();var a,c=[],u=!1,l=-1;function f(){u&&a&&(u=!1,a.length?c=a.concat(c):l=-1,c.length&&h())}function h(){if(!u){var t=s(f);u=!0;for(var e=c.length;e;){for(a=c,c=[];++l<e;)a&&a[l].run();l=-1,e=c.length}a=null,u=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{return n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function d(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new p(t,e)),1!==c.length||u||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=d,r.addListener=d,r.once=d,r.off=d,r.removeListener=d,r.removeAllListeners=d,r.emit=d,r.prependListener=d,r.prependOnceListener=d,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},53908:(t,e,n)=>{const r=n(57272),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=n(16874),{safeRe:s,t:a}=n(99718),c=n(98587),{compareIdentifiers:u}=n(61123);class l{constructor(t,e){if(e=c(e),t instanceof l){if(t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease)return t;t=t.version}else if("string"!=typeof t)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>o)throw new TypeError(`version is longer than ${o} characters`);r("SemVer",t,e),this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease;const n=t.trim().match(e.loose?s[a.LOOSE]:s[a.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>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((t=>{if(/^[0-9]+$/.test(t)){const e=+t;if(e>=0&&e<i)return e}return t})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(r("SemVer.compare",this.version,this.options,t),!(t instanceof l)){if("string"==typeof t&&t===this.version)return 0;t=new l(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof l||(t=new l(t,this.options)),u(this.major,t.major)||u(this.minor,t.minor)||u(this.patch,t.patch)}comparePre(t){if(t instanceof l||(t=new l(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let e=0;do{const n=this.prerelease[e],o=t.prerelease[e];if(r("prerelease compare",e,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return u(n,o)}while(++e)}compareBuild(t){t instanceof l||(t=new l(t,this.options));let e=0;do{const n=this.build[e],o=t.build[e];if(r("build compare",e,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return u(n,o)}while(++e)}inc(t,e,n){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e,n),this.inc("pre",e,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e,n),this.inc("pre",e,n);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const t=Number(n)?1:0;if(!e&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[t];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(e===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(t)}}if(e){let r=[e,t];!1===n&&(r=[e]),0===u(this.prerelease[0],e)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}t.exports=l},32938:(t,e,n)=>{const r=n(53908);t.exports=(t,e)=>new r(t,e).major},30144:(t,e,n)=>{const r=n(53908);t.exports=(t,e,n=!1)=>{if(t instanceof r)return t;try{return new r(t,e)}catch(t){if(!n)return null;throw t}}},56953:(t,e,n)=>{const r=n(30144);t.exports=(t,e)=>{const n=r(t,e);return n?n.version:null}},16874:t=>{const e=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:e,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},57272:(t,e,n)=>{var r=n(65606);const o="object"==typeof r&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};t.exports=o},61123:t=>{const e=/^[0-9]+$/,n=(t,n)=>{const r=e.test(t),o=e.test(n);return r&&o&&(t=+t,n=+n),t===n?0:r&&!o?-1:o&&!r?1:t<n?-1:1};t.exports={compareIdentifiers:n,rcompareIdentifiers:(t,e)=>n(e,t)}},98587:t=>{const e=Object.freeze({loose:!0}),n=Object.freeze({});t.exports=t=>t?"object"!=typeof t?e:t:n},99718:(t,e,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:i}=n(16874),s=n(57272),a=(e=t.exports={}).re=[],c=e.safeRe=[],u=e.src=[],l=e.t={};let f=0;const h="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",i],[h,o]],d=(t,e,n)=>{const r=(t=>{for(const[e,n]of p)t=t.split(`${e}*`).join(`${e}{0,${n}}`).split(`${e}+`).join(`${e}{1,${n}}`);return t})(e),o=f++;s(t,o,e),l[t]=o,u[o]=e,a[o]=new RegExp(e,n?"g":void 0),c[o]=new RegExp(r,n?"g":void 0)};d("NUMERICIDENTIFIER","0|[1-9]\\d*"),d("NUMERICIDENTIFIERLOOSE","\\d+"),d("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),d("MAINVERSION",`(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})`),d("MAINVERSIONLOOSE",`(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})`),d("PRERELEASEIDENTIFIER",`(?:${u[l.NUMERICIDENTIFIER]}|${u[l.NONNUMERICIDENTIFIER]})`),d("PRERELEASEIDENTIFIERLOOSE",`(?:${u[l.NUMERICIDENTIFIERLOOSE]}|${u[l.NONNUMERICIDENTIFIER]})`),d("PRERELEASE",`(?:-(${u[l.PRERELEASEIDENTIFIER]}(?:\\.${u[l.PRERELEASEIDENTIFIER]})*))`),d("PRERELEASELOOSE",`(?:-?(${u[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[l.PRERELEASEIDENTIFIERLOOSE]})*))`),d("BUILDIDENTIFIER",`${h}+`),d("BUILD",`(?:\\+(${u[l.BUILDIDENTIFIER]}(?:\\.${u[l.BUILDIDENTIFIER]})*))`),d("FULLPLAIN",`v?${u[l.MAINVERSION]}${u[l.PRERELEASE]}?${u[l.BUILD]}?`),d("FULL",`^${u[l.FULLPLAIN]}$`),d("LOOSEPLAIN",`[v=\\s]*${u[l.MAINVERSIONLOOSE]}${u[l.PRERELEASELOOSE]}?${u[l.BUILD]}?`),d("LOOSE",`^${u[l.LOOSEPLAIN]}$`),d("GTLT","((?:<|>)?=?)"),d("XRANGEIDENTIFIERLOOSE",`${u[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),d("XRANGEIDENTIFIER",`${u[l.NUMERICIDENTIFIER]}|x|X|\\*`),d("XRANGEPLAIN",`[v=\\s]*(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:${u[l.PRERELEASE]})?${u[l.BUILD]}?)?)?`),d("XRANGEPLAINLOOSE",`[v=\\s]*(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:${u[l.PRERELEASELOOSE]})?${u[l.BUILD]}?)?)?`),d("XRANGE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAIN]}$`),d("XRANGELOOSE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAINLOOSE]}$`),d("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),d("COERCE",`${u[l.COERCEPLAIN]}(?:$|[^\\d])`),d("COERCEFULL",u[l.COERCEPLAIN]+`(?:${u[l.PRERELEASE]})?`+`(?:${u[l.BUILD]})?(?:$|[^\\d])`),d("COERCERTL",u[l.COERCE],!0),d("COERCERTLFULL",u[l.COERCEFULL],!0),d("LONETILDE","(?:~>?)"),d("TILDETRIM",`(\\s*)${u[l.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",d("TILDE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAIN]}$`),d("TILDELOOSE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAINLOOSE]}$`),d("LONECARET","(?:\\^)"),d("CARETTRIM",`(\\s*)${u[l.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",d("CARET",`^${u[l.LONECARET]}${u[l.XRANGEPLAIN]}$`),d("CARETLOOSE",`^${u[l.LONECARET]}${u[l.XRANGEPLAINLOOSE]}$`),d("COMPARATORLOOSE",`^${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]})$|^$`),d("COMPARATOR",`^${u[l.GTLT]}\\s*(${u[l.FULLPLAIN]})$|^$`),d("COMPARATORTRIM",`(\\s*)${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]}|${u[l.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",d("HYPHENRANGE",`^\\s*(${u[l.XRANGEPLAIN]})\\s+-\\s+(${u[l.XRANGEPLAIN]})\\s*$`),d("HYPHENRANGELOOSE",`^\\s*(${u[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[l.XRANGEPLAINLOOSE]})\\s*$`),d("STAR","(<|>)?=?\\s*\\*"),d("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),d("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},85072:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var i={},s=[],a=0;a<t.length;a++){var c=t[a],u=r.base?c[0]+r.base:c[0],l=i[u]||0,f="".concat(u," ").concat(l);i[u]=l+1;var h=n(f),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)e[h].references++,e[h].updater(p);else{var d=o(p,r);r.byIndex=a,e.splice(a,0,{identifier:f,updater:d,references:1})}s.push(f)}return s}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var i=r(t=t||[],o=o||{});return function(t){t=t||[];for(var s=0;s<i.length;s++){var a=n(i[s]);e[a].references--}for(var c=r(t,o),u=0;u<i.length;u++){var l=n(i[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}i=c}}},77659:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},10540:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},55056:(t,e,n)=>{"use strict";t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},97825:t=>{"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleTagTransform(r,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},41113:t=>{"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={id:r,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nc=void 0,(()=>{"use strict";var t={};n.r(t),n.d(t,{hasBrowserEnv:()=>ch,hasStandardBrowserEnv:()=>uh,hasStandardBrowserWebWorkerEnv:()=>fh,origin:()=>hh});var e=Object.freeze({}),r=Array.isArray;function o(t){return null==t}function i(t){return null!=t}function s(t){return!0===t}function a(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function c(t){return"function"==typeof t}function u(t){return null!==t&&"object"==typeof t}var l=Object.prototype.toString;function f(t){return"[object Object]"===l.call(t)}function h(t){return"[object RegExp]"===l.call(t)}function p(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return i(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function m(t){return null==t?"":Array.isArray(t)||f(t)&&t.toString===l?JSON.stringify(t,g,2):String(t)}function g(t,e){return e&&e.__v_isRef?e.value:e}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function y(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}y("slot,component",!0);var b=y("key,ref,slot,slot-scope,is");function E(t,e){var n=t.length;if(n){if(e===t[n-1])return void(t.length=n-1);var r=t.indexOf(e);if(r>-1)return t.splice(r,1)}}var w=Object.prototype.hasOwnProperty;function A(t,e){return w.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var O=/-(\w)/g,x=_((function(t){return t.replace(O,(function(t,e){return e?e.toUpperCase():""}))})),C=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),N=/\B([A-Z])/g,T=_((function(t){return t.replace(N,"-$1").toLowerCase()}));var S=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function I(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function R(t,e){for(var n in e)t[n]=e[n];return t}function L(t){for(var e={},n=0;n<t.length;n++)t[n]&&R(e,t[n]);return e}function P(t,e,n){}var $=function(t,e,n){return!1},k=function(t){return t};function j(t,e){if(t===e)return!0;var n=u(t),r=u(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var o=Array.isArray(t),i=Array.isArray(e);if(o&&i)return t.length===e.length&&t.every((function(t,n){return j(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(o||i)return!1;var s=Object.keys(t),a=Object.keys(e);return s.length===a.length&&s.every((function(n){return j(t[n],e[n])}))}catch(t){return!1}}function D(t,e){for(var n=0;n<t.length;n++)if(j(t[n],e))return n;return-1}function F(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function M(t,e){return t===e?0===t&&1/t!=1/e:t==t||e==e}var U="data-server-rendered",B=["component","directive","filter"],G=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],z={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:$,isReservedAttr:$,isUnknownElement:$,getTagNamespace:P,parsePlatformTagName:k,mustUseProp:$,async:!0,_lifecycleHooks:G},V=/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/;function H(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function W(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var q=new RegExp("[^".concat(V.source,".$_\\d]"));var X="__proto__"in{},Y="undefined"!=typeof window,K=Y&&window.navigator.userAgent.toLowerCase(),J=K&&/msie|trident/.test(K),Z=K&&K.indexOf("msie 9.0")>0,Q=K&&K.indexOf("edge/")>0;K&&K.indexOf("android");var tt=K&&/iphone|ipad|ipod|ios/.test(K);K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K);var et,nt=K&&K.match(/firefox\/(\d+)/),rt={}.watch,ot=!1;if(Y)try{var it={};Object.defineProperty(it,"passive",{get:function(){ot=!0}}),window.addEventListener("test-passive",null,it)}catch(Ki){}var st=function(){return void 0===et&&(et=!Y&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),et},at=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ct(t){return"function"==typeof t&&/native code/.test(t.toString())}var ut,lt="undefined"!=typeof Symbol&&ct(Symbol)&&"undefined"!=typeof Reflect&&ct(Reflect.ownKeys);ut="undefined"!=typeof Set&&ct(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ft=null;function ht(t){void 0===t&&(t=null),t||ft&&ft._scope.off(),ft=t,t&&t._scope.on()}var pt=function(){function t(t,e,n,r,o,i,s,a){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=s,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=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),dt=function(t){void 0===t&&(t="");var e=new pt;return e.text=t,e.isComment=!0,e};function mt(t){return new pt(void 0,void 0,void 0,String(t))}function gt(t){var e=new pt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}"function"==typeof SuppressedError&&SuppressedError;var vt=0,yt=[],bt=function(){for(var t=0;t<yt.length;t++){var e=yt[t];e.subs=e.subs.filter((function(t){return t})),e._pending=!1}yt.length=0},Et=function(){function t(){this._pending=!1,this.id=vt++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,yt.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.filter((function(t){return t}));for(var n=0,r=e.length;n<r;n++){0,e[n].update()}},t}();Et.target=null;var wt=[];function At(t){wt.push(t),Et.target=t}function _t(){wt.pop(),Et.target=wt[wt.length-1]}var Ot=Array.prototype,xt=Object.create(Ot);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=Ot[t];W(xt,t,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o,i=e.apply(this,n),s=this.__ob__;switch(t){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&s.observeArray(o),s.dep.notify(),i}))}));var Ct=Object.getOwnPropertyNames(xt),Nt={},Tt=!0;function St(t){Tt=t}var It={notify:P,depend:P,addSub:P,removeSub:P},Rt=function(){function t(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!1),this.value=t,this.shallow=e,this.mock=n,this.dep=n?It:new Et,this.vmCount=0,W(t,"__ob__",this),r(t)){if(!n)if(X)t.__proto__=xt;else for(var o=0,i=Ct.length;o<i;o++){W(t,a=Ct[o],xt[a])}e||this.observeArray(t)}else{var s=Object.keys(t);for(o=0;o<s.length;o++){var a;Pt(t,a=s[o],Nt,void 0,e,n)}}}return t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Lt(t[e],!1,this.mock)},t}();function Lt(t,e,n){return t&&A(t,"__ob__")&&t.__ob__ instanceof Rt?t.__ob__:!Tt||!n&&st()||!r(t)&&!f(t)||!Object.isExtensible(t)||t.__v_skip||Ut(t)||t instanceof pt?void 0:new Rt(t,e,n)}function Pt(t,e,n,o,i,s,a){void 0===a&&(a=!1);var c=new Et,u=Object.getOwnPropertyDescriptor(t,e);if(!u||!1!==u.configurable){var l=u&&u.get,f=u&&u.set;l&&!f||n!==Nt&&2!==arguments.length||(n=t[e]);var h=i?n&&n.__ob__:Lt(n,!1,s);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=l?l.call(t):n;return Et.target&&(c.depend(),h&&(h.dep.depend(),r(e)&&jt(e))),Ut(e)&&!i?e.value:e},set:function(e){var r=l?l.call(t):n;if(M(r,e)){if(f)f.call(t,e);else{if(l)return;if(!i&&Ut(r)&&!Ut(e))return void(r.value=e);n=e}h=i?e&&e.__ob__:Lt(e,!1,s),c.notify()}}}),c}}function $t(t,e,n){if(!Mt(t)){var o=t.__ob__;return r(t)&&p(e)?(t.length=Math.max(t.length,e),t.splice(e,1,n),o&&!o.shallow&&o.mock&&Lt(n,!1,!0),n):e in t&&!(e in Object.prototype)?(t[e]=n,n):t._isVue||o&&o.vmCount?n:o?(Pt(o.value,e,n,void 0,o.shallow,o.mock),o.dep.notify(),n):(t[e]=n,n)}}function kt(t,e){if(r(t)&&p(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||Mt(t)||A(t,e)&&(delete t[e],n&&n.dep.notify())}}function jt(t){for(var e=void 0,n=0,o=t.length;n<o;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),r(e)&&jt(e)}function Dt(t){return Ft(t,!0),W(t,"__v_isShallow",!0),t}function Ft(t,e){if(!Mt(t)){Lt(t,e,st());0}}function Mt(t){return!(!t||!t.__v_isReadonly)}function Ut(t){return!(!t||!0!==t.__v_isRef)}function Bt(t,e,n){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];if(Ut(t))return t.value;var r=t&&t.__ob__;return r&&r.dep.depend(),t},set:function(t){var r=e[n];Ut(r)&&!Ut(t)?r.value=t:e[n]=t}})}var Gt="watcher";"".concat(Gt," callback"),"".concat(Gt," getter"),"".concat(Gt," cleanup");var zt;var Vt=function(){function t(t){void 0===t&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=zt,!t&&zt&&(this.index=(zt.scopes||(zt.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=zt;try{return zt=this,t()}finally{zt=e}}else 0},t.prototype.on=function(){zt=this},t.prototype.off=function(){zt=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,n=void 0;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].teardown();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}},t}();function Ht(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}var Wt=_((function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:n,capture:r,passive:e}}));function qt(t,e){function n(){var t=n.fns;if(!r(t))return Pe(t,null,arguments,e,"v-on handler");for(var o=t.slice(),i=0;i<o.length;i++)Pe(o[i],null,arguments,e,"v-on handler")}return n.fns=t,n}function Xt(t,e,n,r,i,a){var c,u,l,f;for(c in t)u=t[c],l=e[c],f=Wt(c),o(u)||(o(l)?(o(u.fns)&&(u=t[c]=qt(u,a)),s(f.once)&&(u=t[c]=i(f.name,u,f.capture)),n(f.name,u,f.capture,f.passive,f.params)):u!==l&&(l.fns=u,t[c]=l));for(c in e)o(t[c])&&r((f=Wt(c)).name,e[c],f.capture)}function Yt(t,e,n){var r;t instanceof pt&&(t=t.data.hook||(t.data.hook={}));var a=t[e];function c(){n.apply(this,arguments),E(r.fns,c)}o(a)?r=qt([c]):i(a.fns)&&s(a.merged)?(r=a).fns.push(c):r=qt([a,c]),r.merged=!0,t[e]=r}function Kt(t,e,n,r,o){if(i(e)){if(A(e,n))return t[n]=e[n],o||delete e[n],!0;if(A(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function Jt(t){return a(t)?[mt(t)]:r(t)?Qt(t):void 0}function Zt(t){return i(t)&&i(t.text)&&function(t){return!1===t}(t.isComment)}function Qt(t,e){var n,c,u,l,f=[];for(n=0;n<t.length;n++)o(c=t[n])||"boolean"==typeof c||(l=f[u=f.length-1],r(c)?c.length>0&&(Zt((c=Qt(c,"".concat(e||"","_").concat(n)))[0])&&Zt(l)&&(f[u]=mt(l.text+c[0].text),c.shift()),f.push.apply(f,c)):a(c)?Zt(l)?f[u]=mt(l.text+c):""!==c&&f.push(mt(c)):Zt(c)&&Zt(l)?f[u]=mt(l.text+c.text):(s(t._isVList)&&i(c.tag)&&o(c.key)&&i(e)&&(c.key="__vlist".concat(e,"_").concat(n,"__")),f.push(c)));return f}function te(t,e){var n,o,s,a,c=null;if(r(t)||"string"==typeof t)for(c=new Array(t.length),n=0,o=t.length;n<o;n++)c[n]=e(t[n],n);else if("number"==typeof t)for(c=new Array(t),n=0;n<t;n++)c[n]=e(n+1,n);else if(u(t))if(lt&&t[Symbol.iterator]){c=[];for(var l=t[Symbol.iterator](),f=l.next();!f.done;)c.push(e(f.value,c.length)),f=l.next()}else for(s=Object.keys(t),c=new Array(s.length),n=0,o=s.length;n<o;n++)a=s[n],c[n]=e(t[a],a,n);return i(c)||(c=[]),c._isVList=!0,c}function ee(t,e,n,r){var o,i=this.$scopedSlots[t];i?(n=n||{},r&&(n=R(R({},r),n)),o=i(n)||(c(e)?e():e)):o=this.$slots[t]||(c(e)?e():e);var s=n&&n.slot;return s?this.$createElement("template",{slot:s},o):o}function ne(t){return Mn(this.$options,"filters",t,!0)||k}function re(t,e){return r(t)?-1===t.indexOf(e):t!==e}function oe(t,e,n,r,o){var i=z.keyCodes[e]||n;return o&&r&&!z.keyCodes[e]?re(o,r):i?re(i,t):r?T(r)!==e:void 0===t}function ie(t,e,n,o,i){if(n)if(u(n)){r(n)&&(n=L(n));var s=void 0,a=function(r){if("class"===r||"style"===r||b(r))s=t;else{var a=t.attrs&&t.attrs.type;s=o||z.mustUseProp(e,a,r)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=x(r),u=T(r);c in s||u in s||(s[r]=n[r],i&&((t.on||(t.on={}))["update:".concat(r)]=function(t){n[r]=t}))};for(var c in n)a(c)}else;return t}function se(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||ce(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),"__static__".concat(t),!1),r}function ae(t,e,n){return ce(t,"__once__".concat(e).concat(n?"_".concat(n):""),!0),t}function ce(t,e,n){if(r(t))for(var o=0;o<t.length;o++)t[o]&&"string"!=typeof t[o]&&ue(t[o],"".concat(e,"_").concat(o),n);else ue(t,e,n)}function ue(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function le(t,e){if(e)if(f(e)){var n=t.on=t.on?R({},t.on):{};for(var r in e){var o=n[r],i=e[r];n[r]=o?[].concat(o,i):i}}else;return t}function fe(t,e,n,o){e=e||{$stable:!n};for(var i=0;i<t.length;i++){var s=t[i];r(s)?fe(s,e,n):s&&(s.proxy&&(s.fn.proxy=!0),e[s.key]=s.fn)}return o&&(e.$key=o),e}function he(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"==typeof r&&r&&(t[e[n]]=e[n+1])}return t}function pe(t,e){return"string"==typeof t?e+t:t}function de(t){t._o=ae,t._n=v,t._s=m,t._l=te,t._t=ee,t._q=j,t._i=D,t._m=se,t._f=ne,t._k=oe,t._b=ie,t._v=mt,t._e=dt,t._u=fe,t._g=le,t._d=he,t._p=pe}function me(t,e){if(!t||!t.length)return{};for(var n={},r=0,o=t.length;r<o;r++){var i=t[r],s=i.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,i.context!==e&&i.fnContext!==e||!s||null==s.slot)(n.default||(n.default=[])).push(i);else{var a=s.slot,c=n[a]||(n[a]=[]);"template"===i.tag?c.push.apply(c,i.children||[]):c.push(i)}}for(var u in n)n[u].every(ge)&&delete n[u];return n}function ge(t){return t.isComment&&!t.asyncFactory||" "===t.text}function ve(t){return t.isComment&&t.asyncFactory}function ye(t,n,r,o){var i,s=Object.keys(r).length>0,a=n?!!n.$stable:!s,c=n&&n.$key;if(n){if(n._normalized)return n._normalized;if(a&&o&&o!==e&&c===o.$key&&!s&&!o.$hasNormal)return o;for(var u in i={},n)n[u]&&"$"!==u[0]&&(i[u]=be(t,r,u,n[u]))}else i={};for(var l in r)l in i||(i[l]=Ee(r,l));return n&&Object.isExtensible(n)&&(n._normalized=i),W(i,"$stable",a),W(i,"$key",c),W(i,"$hasNormal",s),i}function be(t,e,n,o){var i=function(){var e=ft;ht(t);var n=arguments.length?o.apply(null,arguments):o({}),i=(n=n&&"object"==typeof n&&!r(n)?[n]:Jt(n))&&n[0];return ht(e),n&&(!i||1===n.length&&i.isComment&&!ve(i))?void 0:n};return o.proxy&&Object.defineProperty(e,n,{get:i,enumerable:!0,configurable:!0}),i}function Ee(t,e){return function(){return t[e]}}function we(t){return{get attrs(){if(!t._attrsProxy){var n=t._attrsProxy={};W(n,"_v_attr_proxy",!0),Ae(n,t.$attrs,e,t,"$attrs")}return t._attrsProxy},get listeners(){t._listenersProxy||Ae(t._listenersProxy={},t.$listeners,e,t,"$listeners");return t._listenersProxy},get slots(){return function(t){t._slotsProxy||Oe(t._slotsProxy={},t.$scopedSlots);return t._slotsProxy}(t)},emit:S(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return Bt(t,e,n)}))}}}function Ae(t,e,n,r,o){var i=!1;for(var s in e)s in t?e[s]!==n[s]&&(i=!0):(i=!0,_e(t,s,r,o));for(var s in t)s in e||(i=!0,delete t[s]);return i}function _e(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function Oe(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}var xe=null;function Ce(t,e){return(t.__esModule||lt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),u(t)?e.extend(t):t}function Ne(t){if(r(t))for(var e=0;e<t.length;e++){var n=t[e];if(i(n)&&(i(n.componentOptions)||ve(n)))return n}}var Te=1,Se=2;function Ie(t,e,n,o,l,f){return(r(n)||a(n))&&(l=o,o=n,n=void 0),s(f)&&(l=Se),function(t,e,n,o,s){if(i(n)&&i(n.__ob__))return dt();i(n)&&i(n.is)&&(e=n.is);if(!e)return dt();0;r(o)&&c(o[0])&&((n=n||{}).scopedSlots={default:o[0]},o.length=0);s===Se?o=Jt(o):s===Te&&(o=function(t){for(var e=0;e<t.length;e++)if(r(t[e]))return Array.prototype.concat.apply([],t);return t}(o));var a,l;if("string"==typeof e){var f=void 0;l=t.$vnode&&t.$vnode.ns||z.getTagNamespace(e),a=z.isReservedTag(e)?new pt(z.parsePlatformTagName(e),n,o,void 0,void 0,t):n&&n.pre||!i(f=Mn(t.$options,"components",e))?new pt(e,n,o,void 0,void 0,t):Sn(f,n,t,o,e)}else a=Sn(e,n,t,o);return r(a)?a:i(a)?(i(l)&&Re(a,l),i(n)&&function(t){u(t.style)&&Xe(t.style);u(t.class)&&Xe(t.class)}(n),a):dt()}(t,e,n,o,l)}function Re(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),i(t.children))for(var r=0,a=t.children.length;r<a;r++){var c=t.children[r];i(c.tag)&&(o(c.ns)||s(n)&&"svg"!==c.tag)&&Re(c,e,n)}}function Le(t,e,n){At();try{if(e)for(var r=e;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{if(!1===o[i].call(r,t,e,n))return}catch(t){$e(t,r,"errorCaptured hook")}}$e(t,e,n)}finally{_t()}}function Pe(t,e,n,r,o){var i;try{(i=n?t.apply(e,n):t.call(e))&&!i._isVue&&d(i)&&!i._handled&&(i.catch((function(t){return Le(t,r,o+" (Promise/async)")})),i._handled=!0)}catch(t){Le(t,r,o)}return i}function $e(t,e,n){if(z.errorHandler)try{return z.errorHandler.call(null,t,e,n)}catch(e){e!==t&&ke(e,null,"config.errorHandler")}ke(t,e,n)}function ke(t,e,n){if(!Y||"undefined"==typeof console)throw t;console.error(t)}var je,De=!1,Fe=[],Me=!1;function Ue(){Me=!1;var t=Fe.slice(0);Fe.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&ct(Promise)){var Be=Promise.resolve();je=function(){Be.then(Ue),tt&&setTimeout(P)},De=!0}else if(J||"undefined"==typeof MutationObserver||!ct(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())je="undefined"!=typeof setImmediate&&ct(setImmediate)?function(){setImmediate(Ue)}:function(){setTimeout(Ue,0)};else{var Ge=1,ze=new MutationObserver(Ue),Ve=document.createTextNode(String(Ge));ze.observe(Ve,{characterData:!0}),je=function(){Ge=(Ge+1)%2,Ve.data=String(Ge)},De=!0}function He(t,e){var n;if(Fe.push((function(){if(t)try{t.call(e)}catch(t){Le(t,e,"nextTick")}else n&&n(e)})),Me||(Me=!0,je()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}function We(t){return function(e,n){if(void 0===n&&(n=ft),n)return function(t,e,n){var r=t.$options;r[e]=kn(r[e],n)}(n,t,e)}}We("beforeMount"),We("mounted"),We("beforeUpdate"),We("updated"),We("beforeDestroy"),We("destroyed"),We("activated"),We("deactivated"),We("serverPrefetch"),We("renderTracked"),We("renderTriggered"),We("errorCaptured");var qe=new ut;function Xe(t){return Ye(t,qe),qe.clear(),t}function Ye(t,e){var n,o,i=r(t);if(!(!i&&!u(t)||t.__v_skip||Object.isFrozen(t)||t instanceof pt)){if(t.__ob__){var s=t.__ob__.dep.id;if(e.has(s))return;e.add(s)}if(i)for(n=t.length;n--;)Ye(t[n],e);else if(Ut(t))Ye(t.value,e);else for(n=(o=Object.keys(t)).length;n--;)Ye(t[o[n]],e)}}var Ke,Je=0,Ze=function(){function t(t,e,n,r,o){var i,s;i=this,void 0===(s=zt&&!zt._vm?zt:t?t._scope:void 0)&&(s=zt),s&&s.active&&s.effects.push(i),(this.vm=t)&&o&&(t._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Je,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ut,this.newDepIds=new ut,this.expression="",c(e)?this.getter=e:(this.getter=function(t){if(!q.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=P)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;At(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Le(t,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&Xe(t),_t(),this.cleanupDeps()}return t},t.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},t.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():wn(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'.concat(this.expression,'"');Pe(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&E(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}();function Qe(t,e){Ke.$on(t,e)}function tn(t,e){Ke.$off(t,e)}function en(t,e){var n=Ke;return function r(){null!==e.apply(null,arguments)&&n.$off(t,r)}}function nn(t,e,n){Ke=t,Xt(e,n||{},Qe,tn,en,t),Ke=void 0}var rn=null;function on(t){var e=rn;return rn=t,function(){rn=e}}function sn(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function an(t,e){if(e){if(t._directInactive=!1,sn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)an(t.$children[n]);un(t,"activated")}}function cn(t,e){if(!(e&&(t._directInactive=!0,sn(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)cn(t.$children[n]);un(t,"deactivated")}}function un(t,e,n,r){void 0===r&&(r=!0),At();var o=ft,i=zt;r&&ht(t);var s=t.$options[e],a="".concat(e," hook");if(s)for(var c=0,u=s.length;c<u;c++)Pe(s[c],t,n||null,t,a);t._hasHookEvent&&t.$emit("hook:"+e),r&&(ht(o),i&&i.on()),_t()}var ln=[],fn=[],hn={},pn=!1,dn=!1,mn=0;var gn=0,vn=Date.now;if(Y&&!J){var yn=window.performance;yn&&"function"==typeof yn.now&&vn()>document.createEvent("Event").timeStamp&&(vn=function(){return yn.now()})}var bn=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function En(){var t,e;for(gn=vn(),dn=!0,ln.sort(bn),mn=0;mn<ln.length;mn++)(t=ln[mn]).before&&t.before(),e=t.id,hn[e]=null,t.run();var n=fn.slice(),r=ln.slice();mn=ln.length=fn.length=0,hn={},pn=dn=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,an(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&un(r,"updated")}}(r),bt(),at&&z.devtools&&at.emit("flush")}function wn(t){var e=t.id;if(null==hn[e]&&(t!==Et.target||!t.noRecurse)){if(hn[e]=!0,dn){for(var n=ln.length-1;n>mn&&ln[n].id>t.id;)n--;ln.splice(n+1,0,t)}else ln.push(t);pn||(pn=!0,He(En))}}function An(t,e){if(t){for(var n=Object.create(null),r=lt?Reflect.ownKeys(t):Object.keys(t),o=0;o<r.length;o++){var i=r[o];if("__ob__"!==i){var s=t[i].from;if(s in e._provided)n[i]=e._provided[s];else if("default"in t[i]){var a=t[i].default;n[i]=c(a)?a.call(e):a}else 0}}return n}}function _n(t,n,o,i,a){var c,u=this,l=a.options;A(i,"_uid")?(c=Object.create(i))._original=i:(c=i,i=i._original);var f=s(l._compiled),h=!f;this.data=t,this.props=n,this.children=o,this.parent=i,this.listeners=t.on||e,this.injections=An(l.inject,i),this.slots=function(){return u.$slots||ye(i,t.scopedSlots,u.$slots=me(o,i)),u.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return ye(i,t.scopedSlots,this.slots())}}),f&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=ye(i,t.scopedSlots,this.$slots)),l._scopeId?this._c=function(t,e,n,o){var s=Ie(c,t,e,n,o,h);return s&&!r(s)&&(s.fnScopeId=l._scopeId,s.fnContext=i),s}:this._c=function(t,e,n,r){return Ie(c,t,e,n,r,h)}}function On(t,e,n,r,o){var i=gt(t);return i.fnContext=n,i.fnOptions=r,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function xn(t,e){for(var n in e)t[x(n)]=e[n]}function Cn(t){return t.name||t.__name||t._componentTag}de(_n.prototype);var Nn={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Nn.prepatch(n,n)}else{var r=t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;i(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,rn);r.$mount(e?t.elm:void 0,e)}},prepatch:function(t,n){var r=n.componentOptions;!function(t,n,r,o,i){var s=o.data.scopedSlots,a=t.$scopedSlots,c=!!(s&&!s.$stable||a!==e&&!a.$stable||s&&t.$scopedSlots.$key!==s.$key||!s&&t.$scopedSlots.$key),u=!!(i||t.$options._renderChildren||c),l=t.$vnode;t.$options._parentVnode=o,t.$vnode=o,t._vnode&&(t._vnode.parent=o),t.$options._renderChildren=i;var f=o.data.attrs||e;t._attrsProxy&&Ae(t._attrsProxy,f,l.data&&l.data.attrs||e,t,"$attrs")&&(u=!0),t.$attrs=f,r=r||e;var h=t.$options._parentListeners;if(t._listenersProxy&&Ae(t._listenersProxy,r,h||e,t,"$listeners"),t.$listeners=t.$options._parentListeners=r,nn(t,r,h),n&&t.$options.props){St(!1);for(var p=t._props,d=t.$options._propKeys||[],m=0;m<d.length;m++){var g=d[m],v=t.$options.props;p[g]=Un(g,v,n,t)}St(!0),t.$options.propsData=n}u&&(t.$slots=me(i,o.context),t.$forceUpdate())}(n.componentInstance=t.componentInstance,r.propsData,r.listeners,n,r.children)},insert:function(t){var e,n=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,un(r,"mounted")),t.data.keepAlive&&(n._isMounted?((e=r)._inactive=!1,fn.push(e)):an(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?cn(e,!0):e.$destroy())}},Tn=Object.keys(Nn);function Sn(t,n,a,c,l){if(!o(t)){var f=a.$options._base;if(u(t)&&(t=f.extend(t)),"function"==typeof t){var h;if(o(t.cid)&&(t=function(t,e){if(s(t.error)&&i(t.errorComp))return t.errorComp;if(i(t.resolved))return t.resolved;var n=xe;if(n&&i(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&i(t.loadingComp))return t.loadingComp;if(n&&!i(t.owners)){var r=t.owners=[n],a=!0,c=null,l=null;n.$on("hook:destroyed",(function(){return E(r,n)}));var f=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();t&&(r.length=0,null!==c&&(clearTimeout(c),c=null),null!==l&&(clearTimeout(l),l=null))},h=F((function(n){t.resolved=Ce(n,e),a?r.length=0:f(!0)})),p=F((function(e){i(t.errorComp)&&(t.error=!0,f(!0))})),m=t(h,p);return u(m)&&(d(m)?o(t.resolved)&&m.then(h,p):d(m.component)&&(m.component.then(h,p),i(m.error)&&(t.errorComp=Ce(m.error,e)),i(m.loading)&&(t.loadingComp=Ce(m.loading,e),0===m.delay?t.loading=!0:c=setTimeout((function(){c=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,f(!1))}),m.delay||200)),i(m.timeout)&&(l=setTimeout((function(){l=null,o(t.resolved)&&p(null)}),m.timeout)))),a=!1,t.loading?t.loadingComp:t.resolved}}(h=t,f),void 0===t))return function(t,e,n,r,o){var i=dt();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}(h,n,a,c,l);n=n||{},tr(t),i(n.model)&&function(t,e){var n=t.model&&t.model.prop||"value",o=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var s=e.on||(e.on={}),a=s[o],c=e.model.callback;i(a)?(r(a)?-1===a.indexOf(c):a!==c)&&(s[o]=[c].concat(a)):s[o]=c}(t.options,n);var p=function(t,e,n){var r=e.options.props;if(!o(r)){var s={},a=t.attrs,c=t.props;if(i(a)||i(c))for(var u in r){var l=T(u);Kt(s,c,u,l,!0)||Kt(s,a,u,l,!1)}return s}}(n,t);if(s(t.options.functional))return function(t,n,o,s,a){var c=t.options,u={},l=c.props;if(i(l))for(var f in l)u[f]=Un(f,l,n||e);else i(o.attrs)&&xn(u,o.attrs),i(o.props)&&xn(u,o.props);var h=new _n(o,u,a,s,t),p=c.render.call(null,h._c,h);if(p instanceof pt)return On(p,o,h.parent,c);if(r(p)){for(var d=Jt(p)||[],m=new Array(d.length),g=0;g<d.length;g++)m[g]=On(d[g],o,h.parent,c);return m}}(t,p,n,a,c);var m=n.on;if(n.on=n.nativeOn,s(t.options.abstract)){var g=n.slot;n={},g&&(n.slot=g)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<Tn.length;n++){var r=Tn[n],o=e[r],i=Nn[r];o===i||o&&o._merged||(e[r]=o?In(i,o):i)}}(n);var v=Cn(t.options)||l;return new pt("vue-component-".concat(t.cid).concat(v?"-".concat(v):""),n,void 0,void 0,void 0,a,{Ctor:t,propsData:p,listeners:m,tag:l,children:c},h)}}}function In(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}var Rn=P,Ln=z.optionMergeStrategies;function Pn(t,e,n){if(void 0===n&&(n=!0),!e)return t;for(var r,o,i,s=lt?Reflect.ownKeys(e):Object.keys(e),a=0;a<s.length;a++)"__ob__"!==(r=s[a])&&(o=t[r],i=e[r],n&&A(t,r)?o!==i&&f(o)&&f(i)&&Pn(o,i):$t(t,r,i));return t}function $n(t,e,n){return n?function(){var r=c(e)?e.call(n,n):e,o=c(t)?t.call(n,n):t;return r?Pn(r,o):o}:e?t?function(){return Pn(c(e)?e.call(this,this):e,c(t)?t.call(this,this):t)}:e:t}function kn(t,e){var n=e?t?t.concat(e):r(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function jn(t,e,n,r){var o=Object.create(t||null);return e?R(o,e):o}Ln.data=function(t,e,n){return n?$n(t,e,n):e&&"function"!=typeof e?t:$n(t,e)},G.forEach((function(t){Ln[t]=kn})),B.forEach((function(t){Ln[t+"s"]=jn})),Ln.watch=function(t,e,n,o){if(t===rt&&(t=void 0),e===rt&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};for(var s in R(i,t),e){var a=i[s],c=e[s];a&&!r(a)&&(a=[a]),i[s]=a?a.concat(c):r(c)?c:[c]}return i},Ln.props=Ln.methods=Ln.inject=Ln.computed=function(t,e,n,r){if(!t)return e;var o=Object.create(null);return R(o,t),e&&R(o,e),o},Ln.provide=function(t,e){return t?function(){var n=Object.create(null);return Pn(n,c(t)?t.call(this):t),e&&Pn(n,c(e)?e.call(this):e,!1),n}:e};var Dn=function(t,e){return void 0===e?t:e};function Fn(t,e,n){if(c(e)&&(e=e.options),function(t,e){var n=t.props;if(n){var o,i,s={};if(r(n))for(o=n.length;o--;)"string"==typeof(i=n[o])&&(s[x(i)]={type:null});else if(f(n))for(var a in n)i=n[a],s[x(a)]=f(i)?i:{type:i};t.props=s}}(e),function(t,e){var n=t.inject;if(n){var o=t.inject={};if(r(n))for(var i=0;i<n.length;i++)o[n[i]]={from:n[i]};else if(f(n))for(var s in n){var a=n[s];o[s]=f(a)?R({from:s},a):{from:a}}}}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];c(r)&&(e[n]={bind:r,update:r})}}(e),!e._base&&(e.extends&&(t=Fn(t,e.extends,n)),e.mixins))for(var o=0,i=e.mixins.length;o<i;o++)t=Fn(t,e.mixins[o],n);var s,a={};for(s in t)u(s);for(s in e)A(t,s)||u(s);function u(r){var o=Ln[r]||Dn;a[r]=o(t[r],e[r],n,r)}return a}function Mn(t,e,n,r){if("string"==typeof n){var o=t[e];if(A(o,n))return o[n];var i=x(n);if(A(o,i))return o[i];var s=C(i);return A(o,s)?o[s]:o[n]||o[i]||o[s]}}function Un(t,e,n,r){var o=e[t],i=!A(n,t),s=n[t],a=Vn(Boolean,o.type);if(a>-1)if(i&&!A(o,"default"))s=!1;else if(""===s||s===T(t)){var u=Vn(String,o.type);(u<0||a<u)&&(s=!0)}if(void 0===s){s=function(t,e,n){if(!A(e,"default"))return;var r=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return c(r)&&"Function"!==Gn(e.type)?r.call(t):r}(r,o,t);var l=Tt;St(!0),Lt(s),St(l)}return s}var Bn=/^\s*function (\w+)/;function Gn(t){var e=t&&t.toString().match(Bn);return e?e[1]:""}function zn(t,e){return Gn(t)===Gn(e)}function Vn(t,e){if(!r(e))return zn(e,t)?0:-1;for(var n=0,o=e.length;n<o;n++)if(zn(e[n],t))return n;return-1}var Hn={enumerable:!0,configurable:!0,get:P,set:P};function Wn(t,e,n){Hn.get=function(){return this[e][n]},Hn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Hn)}function qn(t){var e=t.$options;if(e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props=Dt({}),o=t.$options._propKeys=[],i=!t.$parent;i||St(!1);var s=function(i){o.push(i);var s=Un(i,e,n,t);Pt(r,i,s,void 0,!0),i in t||Wn(t,"_props",i)};for(var a in e)s(a);St(!0)}(t,e.props),function(t){var e=t.$options,n=e.setup;if(n){var r=t._setupContext=we(t);ht(t),At();var o=Pe(n,null,[t._props||Dt({}),r],t,"setup");if(_t(),ht(),c(o))e.render=o;else if(u(o))if(t._setupState=o,o.__sfc){var i=t._setupProxy={};for(var s in o)"__sfc"!==s&&Bt(i,o,s)}else for(var s in o)H(s)||Bt(t,o,s)}}(t),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?P:S(e[n],t)}(t,e.methods),e.data)!function(t){var e=t.$options.data;e=t._data=c(e)?function(t,e){At();try{return t.call(e,e)}catch(t){return Le(t,e,"data()"),{}}finally{_t()}}(e,t):e||{},f(e)||(e={});var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);for(;o--;){var i=n[o];0,r&&A(r,i)||H(i)||Wn(t,"_data",i)}var s=Lt(e);s&&s.vmCount++}(t);else{var n=Lt(t._data={});n&&n.vmCount++}e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=st();for(var o in e){var i=e[o],s=c(i)?i:i.get;0,r||(n[o]=new Ze(t,s||P,P,Xn)),o in t||Yn(t,o,i)}}(t,e.computed),e.watch&&e.watch!==rt&&function(t,e){for(var n in e){var o=e[n];if(r(o))for(var i=0;i<o.length;i++)Zn(t,n,o[i]);else Zn(t,n,o)}}(t,e.watch)}var Xn={lazy:!0};function Yn(t,e,n){var r=!st();c(n)?(Hn.get=r?Kn(e):Jn(n),Hn.set=P):(Hn.get=n.get?r&&!1!==n.cache?Kn(e):Jn(n.get):P,Hn.set=n.set||P),Object.defineProperty(t,e,Hn)}function Kn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),Et.target&&e.depend(),e.value}}function Jn(t){return function(){return t.call(this,this)}}function Zn(t,e,n,r){return f(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}var Qn=0;function tr(t){var e=t.options;if(t.super){var n=tr(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.sealedOptions;for(var o in n)n[o]!==r[o]&&(e||(e={}),e[o]=n[o]);return e}(t);r&&R(t.extendOptions,r),(e=t.options=Fn(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function er(t){this._init(t)}function nr(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=Cn(t)||Cn(n.options);var s=function(t){this._init(t)};return(s.prototype=Object.create(n.prototype)).constructor=s,s.cid=e++,s.options=Fn(n.options,t),s.super=n,s.options.props&&function(t){var e=t.options.props;for(var n in e)Wn(t.prototype,"_props",n)}(s),s.options.computed&&function(t){var e=t.options.computed;for(var n in e)Yn(t.prototype,n,e[n])}(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,B.forEach((function(t){s[t]=n[t]})),i&&(s.options.components[i]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=R({},s.options),o[r]=s,s}}function rr(t){return t&&(Cn(t.Ctor.options)||t.tag)}function or(t,e){return r(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!h(t)&&t.test(e)}function ir(t,e){var n=t.cache,r=t.keys,o=t._vnode,i=t.$vnode;for(var s in n){var a=n[s];if(a){var c=a.name;c&&!e(c)&&sr(n,s,r,o)}}i.componentOptions.children=void 0}function sr(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,E(n,e)}!function(t){t.prototype._init=function(t){var n=this;n._uid=Qn++,n._isVue=!0,n.__v_skip=!0,n._scope=new Vt(!0),n._scope.parent=void 0,n._scope._vm=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(n,t):n.$options=Fn(tr(n.constructor),t||{},n),n._renderProxy=n,n._self=n,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(n),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&nn(t,e)}(n),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,o=r&&r.context;t.$slots=me(n._renderChildren,o),t.$scopedSlots=r?ye(t.$parent,r.data.scopedSlots,t.$slots):e,t._c=function(e,n,r,o){return Ie(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return Ie(t,e,n,r,o,!0)};var i=r&&r.data;Pt(t,"$attrs",i&&i.attrs||e,null,!0),Pt(t,"$listeners",n._parentListeners||e,null,!0)}(n),un(n,"beforeCreate",void 0,!1),function(t){var e=An(t.$options.inject,t);e&&(St(!1),Object.keys(e).forEach((function(n){Pt(t,n,e[n])})),St(!0))}(n),qn(n),function(t){var e=t.$options.provide;if(e){var n=c(e)?e.call(t):e;if(!u(n))return;for(var r=Ht(t),o=lt?Reflect.ownKeys(n):Object.keys(n),i=0;i<o.length;i++){var s=o[i];Object.defineProperty(r,s,Object.getOwnPropertyDescriptor(n,s))}}}(n),un(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(er),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=$t,t.prototype.$delete=kt,t.prototype.$watch=function(t,e,n){var r=this;if(f(e))return Zn(r,t,e,n);(n=n||{}).user=!0;var o=new Ze(r,t,e,n);if(n.immediate){var i='callback for immediate watcher "'.concat(o.expression,'"');At(),Pe(e,r,[o.value],r,i),_t()}return function(){o.teardown()}}}(er),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var o=this;if(r(t))for(var i=0,s=t.length;i<s;i++)o.$on(t[i],n);else(o._events[t]||(o._events[t]=[])).push(n),e.test(t)&&(o._hasHookEvent=!0);return o},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(r(t)){for(var o=0,i=t.length;o<i;o++)n.$off(t[o],e);return n}var s,a=n._events[t];if(!a)return n;if(!e)return n._events[t]=null,n;for(var c=a.length;c--;)if((s=a[c])===e||s.fn===e){a.splice(c,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?I(n):n;for(var r=I(arguments,1),o='event handler for "'.concat(t,'"'),i=0,s=n.length;i<s;i++)Pe(n[i],e,r,e,o)}return e}}(er),function(t){t.prototype._update=function(t,e){var n=this,r=n.$el,o=n._vnode,i=on(n);n._vnode=t,n.$el=o?n.__patch__(o,t):n.__patch__(n.$el,t,e,!1),i(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var s=n;s&&s.$vnode&&s.$parent&&s.$vnode===s.$parent._vnode;)s.$parent.$el=s.$el,s=s.$parent},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){un(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||E(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),un(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(er),function(t){de(t.prototype),t.prototype.$nextTick=function(t){return He(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,o=e._parentVnode;o&&t._isMounted&&(t.$scopedSlots=ye(t.$parent,o.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&Oe(t._slotsProxy,t.$scopedSlots)),t.$vnode=o;var i,s=ft,a=xe;try{ht(t),xe=t,i=n.call(t._renderProxy,t.$createElement)}catch(e){Le(e,t,"render"),i=t._vnode}finally{xe=a,ht(s)}return r(i)&&1===i.length&&(i=i[0]),i instanceof pt||(i=dt()),i.parent=o,i}}(er);var ar=[String,RegExp,Array],cr={name:"keep-alive",abstract:!0,props:{include:ar,exclude:ar,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,o=t.keyToCache;if(r){var i=r.tag,s=r.componentInstance,a=r.componentOptions;e[o]={name:rr(a),tag:i,componentInstance:s},n.push(o),this.max&&n.length>parseInt(this.max)&&sr(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)sr(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){ir(t,(function(t){return or(e,t)}))})),this.$watch("exclude",(function(e){ir(t,(function(t){return!or(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Ne(t),n=e&&e.componentOptions;if(n){var r=rr(n),o=this.include,i=this.exclude;if(o&&(!r||!or(o,r))||i&&r&&or(i,r))return e;var s=this.cache,a=this.keys,c=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;s[c]?(e.componentInstance=s[c].componentInstance,E(a,c),a.push(c)):(this.vnodeToCache=e,this.keyToCache=c),e.data.keepAlive=!0}return e||t&&t[0]}},ur={KeepAlive:cr};!function(t){var e={get:function(){return z}};Object.defineProperty(t,"config",e),t.util={warn:Rn,extend:R,mergeOptions:Fn,defineReactive:Pt},t.set=$t,t.delete=kt,t.nextTick=He,t.observable=function(t){return Lt(t),t},t.options=Object.create(null),B.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,R(t.options.components,ur),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=I(arguments,1);return n.unshift(this),c(t.install)?t.install.apply(t,n):c(t)&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Fn(this.options,t),this}}(t),nr(t),function(t){B.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&f(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&c(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(er),Object.defineProperty(er.prototype,"$isServer",{get:st}),Object.defineProperty(er.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(er,"FunctionalRenderContext",{value:_n}),er.version="2.7.16";var lr=y("style,class"),fr=y("input,textarea,option,select,progress"),hr=y("contenteditable,draggable,spellcheck"),pr=y("events,caret,typing,plaintext-only"),dr=function(t,e){return br(e)||"false"===e?"false":"contenteditable"===t&&pr(e)?e:"true"},mr=y("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"),gr="http://www.w3.org/1999/xlink",vr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},yr=function(t){return vr(t)?t.slice(6,t.length):""},br=function(t){return null==t||!1===t};function Er(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=wr(r.data,e));for(;i(n=n.parent);)n&&n.data&&(e=wr(e,n.data));return function(t,e){if(i(t)||i(e))return Ar(t,_r(e));return""}(e.staticClass,e.class)}function wr(t,e){return{staticClass:Ar(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Ar(t,e){return t?e?t+" "+e:t:e||""}function _r(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r<o;r++)i(e=_r(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):u(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var Or={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},xr=y("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Cr=y("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Nr=function(t){return xr(t)||Cr(t)};var Tr=Object.create(null);var Sr=y("text,number,password,search,email,tel,url");var Ir=Object.freeze({__proto__:null,createElement:function(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(t,e){return document.createElementNS(Or[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),Rr={create:function(t,e){Lr(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Lr(t,!0),Lr(e))},destroy:function(t){Lr(t,!0)}};function Lr(t,e){var n=t.data.ref;if(i(n)){var o=t.context,s=t.componentInstance||t.elm,a=e?null:s,u=e?void 0:s;if(c(n))Pe(n,o,[a],o,"template ref function");else{var l=t.data.refInFor,f="string"==typeof n||"number"==typeof n,h=Ut(n),p=o.$refs;if(f||h)if(l){var d=f?p[n]:n.value;e?r(d)&&E(d,s):r(d)?d.includes(s)||d.push(s):f?(p[n]=[s],Pr(o,n,p[n])):n.value=[s]}else if(f){if(e&&p[n]!==s)return;p[n]=u,Pr(o,n,a)}else if(h){if(e&&n.value!==s)return;n.value=a}else 0}}}function Pr(t,e,n){var r=t._setupState;r&&A(r,e)&&(Ut(r[e])?r[e].value=n:r[e]=n)}var $r=new pt("",{},[]),kr=["create","activate","update","remove","destroy"];function jr(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||Sr(r)&&Sr(o)}(t,e)||s(t.isAsyncPlaceholder)&&o(e.asyncFactory.error))}function Dr(t,e,n){var r,o,s={};for(r=e;r<=n;++r)i(o=t[r].key)&&(s[o]=r);return s}var Fr={create:Mr,update:Mr,destroy:function(t){Mr(t,$r)}};function Mr(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,o,i=t===$r,s=e===$r,a=Br(t.data.directives,t.context),c=Br(e.data.directives,e.context),u=[],l=[];for(n in c)r=a[n],o=c[n],r?(o.oldValue=r.value,o.oldArg=r.arg,zr(o,"update",e,t),o.def&&o.def.componentUpdated&&l.push(o)):(zr(o,"bind",e,t),o.def&&o.def.inserted&&u.push(o));if(u.length){var f=function(){for(var n=0;n<u.length;n++)zr(u[n],"inserted",e,t)};i?Yt(e,"insert",f):f()}l.length&&Yt(e,"postpatch",(function(){for(var n=0;n<l.length;n++)zr(l[n],"componentUpdated",e,t)}));if(!i)for(n in a)c[n]||zr(a[n],"unbind",t,t,s)}(t,e)}var Ur=Object.create(null);function Br(t,e){var n,r,o=Object.create(null);if(!t)return o;for(n=0;n<t.length;n++){if((r=t[n]).modifiers||(r.modifiers=Ur),o[Gr(r)]=r,e._setupState&&e._setupState.__sfc){var i=r.def||Mn(e,"_setupState","v-"+r.name);r.def="function"==typeof i?{bind:i,update:i}:i}r.def=r.def||Mn(e.$options,"directives",r.name)}return o}function Gr(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function zr(t,e,n,r,o){var i=t.def&&t.def[e];if(i)try{i(n.elm,t,n,r,o)}catch(r){Le(r,n.context,"directive ".concat(t.name," ").concat(e," hook"))}}var Vr=[Rr,Fr];function Hr(t,e){var n=e.componentOptions;if(!(i(n)&&!1===n.Ctor.options.inheritAttrs||o(t.data.attrs)&&o(e.data.attrs))){var r,a,c=e.elm,u=t.data.attrs||{},l=e.data.attrs||{};for(r in(i(l.__ob__)||s(l._v_attr_proxy))&&(l=e.data.attrs=R({},l)),l)a=l[r],u[r]!==a&&Wr(c,r,a,e.data.pre);for(r in(J||Q)&&l.value!==u.value&&Wr(c,"value",l.value),u)o(l[r])&&(vr(r)?c.removeAttributeNS(gr,yr(r)):hr(r)||c.removeAttribute(r))}}function Wr(t,e,n,r){r||t.tagName.indexOf("-")>-1?qr(t,e,n):mr(e)?br(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):hr(e)?t.setAttribute(e,dr(e,n)):vr(e)?br(n)?t.removeAttributeNS(gr,yr(e)):t.setAttributeNS(gr,e,n):qr(t,e,n)}function qr(t,e,n){if(br(n))t.removeAttribute(e);else{if(J&&!Z&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Xr={create:Hr,update:Hr};function Yr(t,e){var n=e.elm,r=e.data,s=t.data;if(!(o(r.staticClass)&&o(r.class)&&(o(s)||o(s.staticClass)&&o(s.class)))){var a=Er(e),c=n._transitionClasses;i(c)&&(a=Ar(a,_r(c))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var Kr,Jr={create:Yr,update:Yr},Zr="__r",Qr="__c";function to(t,e,n){var r=Kr;return function o(){null!==e.apply(null,arguments)&&ro(t,o,n,r)}}var eo=De&&!(nt&&Number(nt[1])<=53);function no(t,e,n,r){if(eo){var o=gn,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}Kr.addEventListener(t,e,ot?{capture:n,passive:r}:n)}function ro(t,e,n,r){(r||Kr).removeEventListener(t,e._wrapper||e,n)}function oo(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Kr=e.elm||t.elm,function(t){if(i(t[Zr])){var e=J?"change":"input";t[e]=[].concat(t[Zr],t[e]||[]),delete t[Zr]}i(t[Qr])&&(t.change=[].concat(t[Qr],t.change||[]),delete t[Qr])}(n),Xt(n,r,no,ro,to,e.context),Kr=void 0}}var io,so={create:oo,update:oo,destroy:function(t){return oo(t,$r)}};function ao(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,r,a=e.elm,c=t.data.domProps||{},u=e.data.domProps||{};for(n in(i(u.__ob__)||s(u._v_attr_proxy))&&(u=e.data.domProps=R({},u)),c)n in u||(a[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===c[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=r;var l=o(r)?"":String(r);co(a,l)&&(a.value=l)}else if("innerHTML"===n&&Cr(a.tagName)&&o(a.innerHTML)){(io=io||document.createElement("div")).innerHTML="<svg>".concat(r,"</svg>");for(var f=io.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;f.firstChild;)a.appendChild(f.firstChild)}else if(r!==c[n])try{a[n]=r}catch(t){}}}}function co(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.number)return v(n)!==v(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var uo={create:ao,update:ao},lo=_((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function fo(t){var e=ho(t.style);return t.staticStyle?R(t.staticStyle,e):e}function ho(t){return Array.isArray(t)?L(t):"string"==typeof t?lo(t):t}var po,mo=/^--/,go=/\s*!important$/,vo=function(t,e,n){if(mo.test(e))t.style.setProperty(e,n);else if(go.test(n))t.style.setProperty(T(e),n.replace(go,""),"important");else{var r=bo(e);if(Array.isArray(n))for(var o=0,i=n.length;o<i;o++)t.style[r]=n[o];else t.style[r]=n}},yo=["Webkit","Moz","ms"],bo=_((function(t){if(po=po||document.createElement("div").style,"filter"!==(t=x(t))&&t in po)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<yo.length;n++){var r=yo[n]+e;if(r in po)return r}}));function Eo(t,e){var n=e.data,r=t.data;if(!(o(n.staticStyle)&&o(n.style)&&o(r.staticStyle)&&o(r.style))){var s,a,c=e.elm,u=r.staticStyle,l=r.normalizedStyle||r.style||{},f=u||l,h=ho(e.data.style)||{};e.data.normalizedStyle=i(h.__ob__)?R({},h):h;var p=function(t,e){var n,r={};if(e)for(var o=t;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=fo(o.data))&&R(r,n);(n=fo(t.data))&&R(r,n);for(var i=t;i=i.parent;)i.data&&(n=fo(i.data))&&R(r,n);return r}(e,!0);for(a in f)o(p[a])&&vo(c,a,"");for(a in p)s=p[a],vo(c,a,null==s?"":s)}}var wo={create:Eo,update:Eo},Ao=/\s+/;function _o(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ao).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Oo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ao).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function xo(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&R(e,Co(t.name||"v")),R(e,t),e}return"string"==typeof t?Co(t):void 0}}var Co=_((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),No=Y&&!Z,To="transition",So="animation",Io="transition",Ro="transitionend",Lo="animation",Po="animationend";No&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Io="WebkitTransition",Ro="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Lo="WebkitAnimation",Po="webkitAnimationEnd"));var $o=Y?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function ko(t){$o((function(){$o(t)}))}function jo(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),_o(t,e))}function Do(t,e){t._transitionClasses&&E(t._transitionClasses,e),Oo(t,e)}function Fo(t,e,n){var r=Uo(t,e),o=r.type,i=r.timeout,s=r.propCount;if(!o)return n();var a=o===To?Ro:Po,c=0,u=function(){t.removeEventListener(a,l),n()},l=function(e){e.target===t&&++c>=s&&u()};setTimeout((function(){c<s&&u()}),i+1),t.addEventListener(a,l)}var Mo=/\b(transform|all)(,|$)/;function Uo(t,e){var n,r=window.getComputedStyle(t),o=(r[Io+"Delay"]||"").split(", "),i=(r[Io+"Duration"]||"").split(", "),s=Bo(o,i),a=(r[Lo+"Delay"]||"").split(", "),c=(r[Lo+"Duration"]||"").split(", "),u=Bo(a,c),l=0,f=0;return e===To?s>0&&(n=To,l=s,f=i.length):e===So?u>0&&(n=So,l=u,f=c.length):f=(n=(l=Math.max(s,u))>0?s>u?To:So:null)?n===To?i.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===To&&Mo.test(r[Io+"Property"])}}function Bo(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return Go(e)+Go(t[n])})))}function Go(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function zo(t,e){var n=t.elm;i(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=xo(t.data.transition);if(!o(r)&&!i(n._enterCb)&&1===n.nodeType){for(var s=r.css,a=r.type,l=r.enterClass,f=r.enterToClass,h=r.enterActiveClass,p=r.appearClass,d=r.appearToClass,m=r.appearActiveClass,g=r.beforeEnter,y=r.enter,b=r.afterEnter,E=r.enterCancelled,w=r.beforeAppear,A=r.appear,_=r.afterAppear,O=r.appearCancelled,x=r.duration,C=rn,N=rn.$vnode;N&&N.parent;)C=N.context,N=N.parent;var T=!C._isMounted||!t.isRootInsert;if(!T||A||""===A){var S=T&&p?p:l,I=T&&m?m:h,R=T&&d?d:f,L=T&&w||g,P=T&&c(A)?A:y,$=T&&_||b,k=T&&O||E,j=v(u(x)?x.enter:x);0;var D=!1!==s&&!Z,M=Wo(P),U=n._enterCb=F((function(){D&&(Do(n,R),Do(n,I)),U.cancelled?(D&&Do(n,S),k&&k(n)):$&&$(n),n._enterCb=null}));t.data.show||Yt(t,"insert",(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),P&&P(n,U)})),L&&L(n),D&&(jo(n,S),jo(n,I),ko((function(){Do(n,S),U.cancelled||(jo(n,R),M||(Ho(j)?setTimeout(U,j):Fo(n,a,U)))}))),t.data.show&&(e&&e(),P&&P(n,U)),D||M||U()}}}function Vo(t,e){var n=t.elm;i(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=xo(t.data.transition);if(o(r)||1!==n.nodeType)return e();if(!i(n._leaveCb)){var s=r.css,a=r.type,c=r.leaveClass,l=r.leaveToClass,f=r.leaveActiveClass,h=r.beforeLeave,p=r.leave,d=r.afterLeave,m=r.leaveCancelled,g=r.delayLeave,y=r.duration,b=!1!==s&&!Z,E=Wo(p),w=v(u(y)?y.leave:y);0;var A=n._leaveCb=F((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),b&&(Do(n,l),Do(n,f)),A.cancelled?(b&&Do(n,c),m&&m(n)):(e(),d&&d(n)),n._leaveCb=null}));g?g(_):_()}function _(){A.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),h&&h(n),b&&(jo(n,c),jo(n,f),ko((function(){Do(n,c),A.cancelled||(jo(n,l),E||(Ho(w)?setTimeout(A,w):Fo(n,a,A)))}))),p&&p(n,A),b||E||A())}}function Ho(t){return"number"==typeof t&&!isNaN(t)}function Wo(t){if(o(t))return!1;var e=t.fns;return i(e)?Wo(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function qo(t,e){!0!==e.data.show&&zo(e)}var Xo=function(t){var e,n,c={},u=t.modules,l=t.nodeOps;for(e=0;e<kr.length;++e)for(c[kr[e]]=[],n=0;n<u.length;++n)i(u[n][kr[e]])&&c[kr[e]].push(u[n][kr[e]]);function f(t){var e=l.parentNode(t);i(e)&&l.removeChild(e,t)}function h(t,e,n,r,o,a,u){if(i(t.elm)&&i(a)&&(t=a[u]=gt(t)),t.isRootInsert=!o,!function(t,e,n,r){var o=t.data;if(i(o)){var a=i(t.componentInstance)&&o.keepAlive;if(i(o=o.hook)&&i(o=o.init)&&o(t,!1),i(t.componentInstance))return p(t,e),d(n,t.elm,r),s(a)&&function(t,e,n,r){var o,s=t;for(;s.componentInstance;)if(i(o=(s=s.componentInstance._vnode).data)&&i(o=o.transition)){for(o=0;o<c.activate.length;++o)c.activate[o]($r,s);e.push(s);break}d(n,t.elm,r)}(t,e,n,r),!0}}(t,e,n,r)){var f=t.data,h=t.children,g=t.tag;i(g)?(t.elm=t.ns?l.createElementNS(t.ns,g):l.createElement(g,t),b(t),m(t,h,e),i(f)&&v(t,e),d(n,t.elm,r)):s(t.isComment)?(t.elm=l.createComment(t.text),d(n,t.elm,r)):(t.elm=l.createTextNode(t.text),d(n,t.elm,r))}}function p(t,e){i(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,g(t)?(v(t,e),b(t)):(Lr(t),e.push(t))}function d(t,e,n){i(t)&&(i(n)?l.parentNode(n)===t&&l.insertBefore(t,e,n):l.appendChild(t,e))}function m(t,e,n){if(r(e)){0;for(var o=0;o<e.length;++o)h(e[o],n,t.elm,null,!0,e,o)}else a(t.text)&&l.appendChild(t.elm,l.createTextNode(String(t.text)))}function g(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return i(t.tag)}function v(t,n){for(var r=0;r<c.create.length;++r)c.create[r]($r,t);i(e=t.data.hook)&&(i(e.create)&&e.create($r,t),i(e.insert)&&n.push(t))}function b(t){var e;if(i(e=t.fnScopeId))l.setStyleScope(t.elm,e);else for(var n=t;n;)i(e=n.context)&&i(e=e.$options._scopeId)&&l.setStyleScope(t.elm,e),n=n.parent;i(e=rn)&&e!==t.context&&e!==t.fnContext&&i(e=e.$options._scopeId)&&l.setStyleScope(t.elm,e)}function E(t,e,n,r,o,i){for(;r<=o;++r)h(n[r],i,t,e,!1,n,r)}function w(t){var e,n,r=t.data;if(i(r))for(i(e=r.hook)&&i(e=e.destroy)&&e(t),e=0;e<c.destroy.length;++e)c.destroy[e](t);if(i(e=t.children))for(n=0;n<t.children.length;++n)w(t.children[n])}function A(t,e,n){for(;e<=n;++e){var r=t[e];i(r)&&(i(r.tag)?(_(r),w(r)):f(r.elm))}}function _(t,e){if(i(e)||i(t.data)){var n,r=c.remove.length+1;for(i(e)?e.listeners+=r:e=function(t,e){function n(){0==--n.listeners&&f(t)}return n.listeners=e,n}(t.elm,r),i(n=t.componentInstance)&&i(n=n._vnode)&&i(n.data)&&_(n,e),n=0;n<c.remove.length;++n)c.remove[n](t,e);i(n=t.data.hook)&&i(n=n.remove)?n(t,e):e()}else f(t.elm)}function O(t,e,n,r){for(var o=n;o<r;o++){var s=e[o];if(i(s)&&jr(t,s))return o}}function x(t,e,n,r,a,u){if(t!==e){i(e.elm)&&i(r)&&(e=r[a]=gt(e));var f=e.elm=t.elm;if(s(t.isAsyncPlaceholder))i(e.asyncFactory.resolved)?T(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(s(e.isStatic)&&s(t.isStatic)&&e.key===t.key&&(s(e.isCloned)||s(e.isOnce)))e.componentInstance=t.componentInstance;else{var p,d=e.data;i(d)&&i(p=d.hook)&&i(p=p.prepatch)&&p(t,e);var m=t.children,v=e.children;if(i(d)&&g(e)){for(p=0;p<c.update.length;++p)c.update[p](t,e);i(p=d.hook)&&i(p=p.update)&&p(t,e)}o(e.text)?i(m)&&i(v)?m!==v&&function(t,e,n,r,s){var a,c,u,f=0,p=0,d=e.length-1,m=e[0],g=e[d],v=n.length-1,y=n[0],b=n[v],w=!s;for(;f<=d&&p<=v;)o(m)?m=e[++f]:o(g)?g=e[--d]:jr(m,y)?(x(m,y,r,n,p),m=e[++f],y=n[++p]):jr(g,b)?(x(g,b,r,n,v),g=e[--d],b=n[--v]):jr(m,b)?(x(m,b,r,n,v),w&&l.insertBefore(t,m.elm,l.nextSibling(g.elm)),m=e[++f],b=n[--v]):jr(g,y)?(x(g,y,r,n,p),w&&l.insertBefore(t,g.elm,m.elm),g=e[--d],y=n[++p]):(o(a)&&(a=Dr(e,f,d)),o(c=i(y.key)?a[y.key]:O(y,e,f,d))?h(y,r,t,m.elm,!1,n,p):jr(u=e[c],y)?(x(u,y,r,n,p),e[c]=void 0,w&&l.insertBefore(t,u.elm,m.elm)):h(y,r,t,m.elm,!1,n,p),y=n[++p]);f>d?E(t,o(n[v+1])?null:n[v+1].elm,n,p,v,r):p>v&&A(e,f,d)}(f,m,v,n,u):i(v)?(i(t.text)&&l.setTextContent(f,""),E(f,null,v,0,v.length-1,n)):i(m)?A(m,0,m.length-1):i(t.text)&&l.setTextContent(f,""):t.text!==e.text&&l.setTextContent(f,e.text),i(d)&&i(p=d.hook)&&i(p=p.postpatch)&&p(t,e)}}}function C(t,e,n){if(s(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var N=y("attrs,class,staticClass,staticStyle,key");function T(t,e,n,r){var o,a=e.tag,c=e.data,u=e.children;if(r=r||c&&c.pre,e.elm=t,s(e.isComment)&&i(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(i(c)&&(i(o=c.hook)&&i(o=o.init)&&o(e,!0),i(o=e.componentInstance)))return p(e,n),!0;if(i(a)){if(i(u))if(t.hasChildNodes())if(i(o=c)&&i(o=o.domProps)&&i(o=o.innerHTML)){if(o!==t.innerHTML)return!1}else{for(var l=!0,f=t.firstChild,h=0;h<u.length;h++){if(!f||!T(f,u[h],n,r)){l=!1;break}f=f.nextSibling}if(!l||f)return!1}else m(e,u,n);if(i(c)){var d=!1;for(var g in c)if(!N(g)){d=!0,v(e,n);break}!d&&c.class&&Xe(c.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,r){if(!o(e)){var a,u=!1,f=[];if(o(t))u=!0,h(e,f);else{var p=i(t.nodeType);if(!p&&jr(t,e))x(t,e,f,null,null,r);else{if(p){if(1===t.nodeType&&t.hasAttribute(U)&&(t.removeAttribute(U),n=!0),s(n)&&T(t,e,f))return C(e,f,!0),t;a=t,t=new pt(l.tagName(a).toLowerCase(),{},[],void 0,a)}var d=t.elm,m=l.parentNode(d);if(h(e,f,d._leaveCb?null:m,l.nextSibling(d)),i(e.parent))for(var v=e.parent,y=g(e);v;){for(var b=0;b<c.destroy.length;++b)c.destroy[b](v);if(v.elm=e.elm,y){for(var E=0;E<c.create.length;++E)c.create[E]($r,v);var _=v.data.hook.insert;if(_.merged)for(var O=_.fns.slice(1),N=0;N<O.length;N++)O[N]()}else Lr(v);v=v.parent}i(m)?A([t],0,0):i(t.tag)&&w(t)}}return C(e,f,u),e.elm}i(t)&&w(t)}}({nodeOps:Ir,modules:[Xr,Jr,so,uo,wo,Y?{create:qo,activate:qo,remove:function(t,e){!0!==t.data.show?Vo(t,e):e()}}:{}].concat(Vr)});Z&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&ni(t,"input")}));var Yo={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Yt(n,"postpatch",(function(){Yo.componentUpdated(t,e,n)})):Ko(t,e,n.context),t._vOptions=[].map.call(t.options,Qo)):("textarea"===n.tag||Sr(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",ti),t.addEventListener("compositionend",ei),t.addEventListener("change",ei),Z&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Ko(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,Qo);if(o.some((function(t,e){return!j(t,r[e])}))){var i=t.multiple?e.value.some((function(t){return Zo(t,o)})):e.value!==e.oldValue&&Zo(e.value,o);i&&ni(t,"change")}}}};function Ko(t,e,n){Jo(t,e,n),(J||Q)&&setTimeout((function(){Jo(t,e,n)}),0)}function Jo(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,s,a=0,c=t.options.length;a<c;a++)if(s=t.options[a],o)i=D(r,Qo(s))>-1,s.selected!==i&&(s.selected=i);else if(j(Qo(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));o||(t.selectedIndex=-1)}}function Zo(t,e){return e.every((function(e){return!j(e,t)}))}function Qo(t){return"_value"in t?t._value:t.value}function ti(t){t.target.composing=!0}function ei(t){t.target.composing&&(t.target.composing=!1,ni(t.target,"input"))}function ni(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function ri(t){return!t.componentInstance||t.data&&t.data.transition?t:ri(t.componentInstance._vnode)}var oi={bind:function(t,e,n){var r=e.value,o=(n=ri(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,zo(n,(function(){t.style.display=i}))):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=ri(n)).data&&n.data.transition?(n.data.show=!0,r?zo(n,(function(){t.style.display=t.__vOriginalDisplay})):Vo(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}},ii={model:Yo,show:oi},si={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 ai(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ai(Ne(e.children)):t}function ci(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var r in o)e[x(r)]=o[r];return e}function ui(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var li=function(t){return t.tag||ve(t)},fi=function(t){return"show"===t.name},hi={name:"transition",props:si,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(li)).length){0;var r=this.mode;0;var o=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var i=ai(o);if(!i)return o;if(this._leaving)return ui(t,o);var s="__transition-".concat(this._uid,"-");i.key=null==i.key?i.isComment?s+"comment":s+i.tag:a(i.key)?0===String(i.key).indexOf(s)?i.key:s+i.key:i.key;var c=(i.data||(i.data={})).transition=ci(this),u=this._vnode,l=ai(u);if(i.data.directives&&i.data.directives.some(fi)&&(i.data.show=!0),l&&l.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(i,l)&&!ve(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=R({},c);if("out-in"===r)return this._leaving=!0,Yt(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),ui(t,o);if("in-out"===r){if(ve(i))return u;var h,p=function(){h()};Yt(c,"afterEnter",p),Yt(c,"enterCancelled",p),Yt(f,"delayLeave",(function(t){h=t}))}}return o}}},pi=R({tag:String,moveClass:String},si);delete pi.mode;var di={props:pi,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=on(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],s=ci(this),a=0;a<o.length;a++){if((l=o[a]).tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))i.push(l),n[l.key]=l,(l.data||(l.data={})).transition=s;else;}if(r){var c=[],u=[];for(a=0;a<r.length;a++){var l;(l=r[a]).data.transition=s,l.data.pos=l.elm.getBoundingClientRect(),n[l.key]?c.push(l):u.push(l)}this.kept=t(e,null,c),this.removed=u}return t(e,null,i)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(mi),t.forEach(gi),t.forEach(vi),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;jo(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Ro,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Ro,t),n._moveCb=null,Do(n,e))})}})))},methods:{hasMove:function(t,e){if(!No)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){Oo(n,t)})),_o(n,e),n.style.display="none",this.$el.appendChild(n);var r=Uo(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function mi(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function gi(t){t.data.newPos=t.elm.getBoundingClientRect()}function vi(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate(".concat(r,"px,").concat(o,"px)"),i.transitionDuration="0s"}}var yi={Transition:hi,TransitionGroup:di};er.config.mustUseProp=function(t,e,n){return"value"===n&&fr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},er.config.isReservedTag=Nr,er.config.isReservedAttr=lr,er.config.getTagNamespace=function(t){return Cr(t)?"svg":"math"===t?"math":void 0},er.config.isUnknownElement=function(t){if(!Y)return!0;if(Nr(t))return!1;if(t=t.toLowerCase(),null!=Tr[t])return Tr[t];var e=document.createElement(t);return t.indexOf("-")>-1?Tr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Tr[t]=/HTMLUnknownElement/.test(e.toString())},R(er.options.directives,ii),R(er.options.components,yi),er.prototype.__patch__=Y?Xo:P,er.prototype.$mount=function(t,e){return function(t,e,n){var r;t.$el=e,t.$options.render||(t.$options.render=dt),un(t,"beforeMount"),r=function(){t._update(t._render(),n)},new Ze(t,r,P,{before:function(){t._isMounted&&!t._isDestroyed&&un(t,"beforeUpdate")}},!0),n=!1;var o=t._preWatchers;if(o)for(var i=0;i<o.length;i++)o[i].run();return null==t.$vnode&&(t._isMounted=!0,un(t,"mounted")),t}(this,t=t&&Y?function(t){if("string"==typeof t){return document.querySelector(t)||document.createElement("div")}return t}(t):void 0,e)},Y&&setTimeout((function(){z.devtools&&at&&at.emit("init",er)}),0);var bi=n(56953),Ei=n(32938);class wi{bus;constructor(t){"function"==typeof t.getVersion&&bi(t.getVersion())?Ei(t.getVersion())!==Ei(this.getVersion())&&console.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()):console.warn("Proxying an event bus with an unknown or invalid version"),this.bus=t}getVersion(){return"3.3.1"}subscribe(t,e){this.bus.subscribe(t,e)}unsubscribe(t,e){this.bus.unsubscribe(t,e)}emit(t,e){this.bus.emit(t,e)}}class Ai{handlers=new Map;getVersion(){return"3.3.1"}subscribe(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).concat(e))}unsubscribe(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).filter((t=>t!==e)))}emit(t,e){(this.handlers.get(t)||[]).forEach((t=>{try{t(e)}catch(t){console.error("could not invoke event listener",t)}}))}}let _i=null;function Oi(){return null!==_i?_i:"undefined"==typeof window?new Proxy({},{get:()=>()=>console.error("Window not available, EventBus can not be established!")}):(window.OC?._eventBus&&void 0===window._nc_event_bus&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),_i=void 0!==window?._nc_event_bus?new wi(window._nc_event_bus):window._nc_event_bus=new Ai,_i)}var xi=n(59097);let Ci;const Ni=[];function Ti(){return void 0===Ci&&(Ci=document.head.dataset.requesttoken??null),Ci}var Si,Ii;Si="csrf-token-update",Ii=t=>{Ci=t.token,Ni.forEach((t=>{try{t(Ci)}catch(t){console.error("Error updating CSRF token observer",t)}}))},Oi().subscribe(Si,Ii);(0,xi.c0)("public").persist().build();let Ri;const Li=(t,e)=>t?t.getAttribute(e):null;function Pi(){if(void 0!==Ri)return Ri;const t=document?.getElementsByTagName("head")[0];if(!t)return null;const e=Li(t,"data-user");return null===e?(Ri=null,Ri):(Ri={uid:e,displayName:Li(t,"data-user-displayname"),isAdmin:!!window._oc_isadmin},Ri)}var $i=(t=>(t[t.Debug=0]="Debug",t[t.Info=1]="Info",t[t.Warn=2]="Warn",t[t.Error=3]="Error",t[t.Fatal=4]="Fatal",t))($i||{}),ki=Object.defineProperty,ji=(t,e,n)=>(((t,e,n)=>{e in t?ki(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n})(t,"symbol"!=typeof e?e+"":e,n),n);class Di{constructor(t){ji(this,"context"),this.context=t||{}}formatMessage(t,e,n){let r="["+$i[e].toUpperCase()+"] ";return n&&n.app&&(r+=n.app+": "),"string"==typeof t?r+t:(r+="Unexpected ".concat(t.name),t.message&&(r+=' "'.concat(t.message,'"')),e===$i.Debug&&t.stack&&(r+="\n\nStack trace:\n".concat(t.stack)),r)}log(t,e,n){var r,o;if(!("number"==typeof(null==(r=this.context)?void 0:r.level)&&t<(null==(o=this.context)?void 0:o.level)))switch("object"==typeof e&&void 0===(null==n?void 0:n.error)&&(n.error=e),t){case $i.Debug:console.debug(this.formatMessage(e,$i.Debug,n),n);break;case $i.Info:console.info(this.formatMessage(e,$i.Info,n),n);break;case $i.Warn:console.warn(this.formatMessage(e,$i.Warn,n),n);break;case $i.Error:console.error(this.formatMessage(e,$i.Error,n),n);break;case $i.Fatal:default:console.error(this.formatMessage(e,$i.Fatal,n),n)}}debug(t,e){this.log($i.Debug,t,Object.assign({},this.context,e))}info(t,e){this.log($i.Info,t,Object.assign({},this.context,e))}warn(t,e){this.log($i.Warn,t,Object.assign({},this.context,e))}error(t,e){this.log($i.Error,t,Object.assign({},this.context,e))}fatal(t,e){this.log($i.Fatal,t,Object.assign({},this.context,e))}}function Fi(t){return new Di(t)}var Mi=Object.defineProperty,Ui=(t,e,n)=>(((t,e,n)=>{e in t?Mi(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n})(t,"symbol"!=typeof e?e+"":e,n),n);class Bi{constructor(t){Ui(this,"context"),Ui(this,"factory"),this.context={},this.factory=t}setApp(t){return this.context.app=t,this}setLogLevel(t){return this.context.level=t,this}setUid(t){return this.context.uid=t,this}detectUser(){const t=Pi();return null!==t&&(this.context.uid=t.uid),this}detectLogLevel(){const t=this,e=()=>{var n,r;"complete"===document.readyState||"interactive"===document.readyState?(t.context.level=null!=(r=null==(n=window._oc_config)?void 0:n.loglevel)?r:$i.Warn,window._oc_debug&&(t.context.level=$i.Debug),document.removeEventListener("readystatechange",e)):document.addEventListener("readystatechange",e)};return e(),this}build(){return void 0===this.context.level&&this.detectLogLevel(),this.factory(this.context)}}function Gi(){return new Bi(Fi)}n(57975);function zi(...t){if(arguments.length<1)return"";const e=t.filter((t=>t.length>0));if(e.length<1)return"";const n=e[e.length-1],r="/"===e[0].charAt(0),o="/"===n.charAt(n.length-1),i=e.reduce(((t,e)=>t.concat(e.split("/"))),[]);let s=!r;const a=i.reduce(((t,e)=>""===e?t:s?(s=!1,t+e):t+"/"+e),"");return o?a+"/":a}const Vi=(t,e,n)=>{const r=Object.assign({escape:!0},n||{});return"/"!==t.charAt(0)&&(t="/"+t),function(t,e){return e=e||{},t.replace(/{([^{}]*)}/g,(function(t,n){const o=e[n];return r.escape?encodeURIComponent("string"==typeof o||"number"==typeof o?o.toString():t):"string"==typeof o||"number"==typeof o?o.toString():t}))}(t,e||{})},Hi=(t,e,n)=>{var r,o,i;const s=Object.assign({noRewrite:!1},n||{}),a=null!=(r=null==n?void 0:n.baseURL)?r:qi();return!0!==(null==(i=null==(o=null==window?void 0:window.OC)?void 0:o.config)?void 0:i.modRewriteWorking)||s.noRewrite?a+"/index.php"+Vi(t,e,n):a+Vi(t,e,n)},Wi=()=>window.location.protocol+"//"+window.location.host+qi();function qi(){let t=window._oc_webroot;if(typeof t>"u"){t=location.pathname;const e=t.indexOf("/index.php/");if(-1!==e)t=t.slice(0,e);else{const e=t.indexOf("/",1);t=t.slice(0,e>0?e:void 0)}}return t}n(36117);var Xi=n(65606),Yi={2:t=>{function e(t,e,o){t instanceof RegExp&&(t=n(t,o)),e instanceof RegExp&&(e=n(e,o));var i=r(t,e,o);return i&&{start:i[0],end:i[1],pre:o.slice(0,i[0]),body:o.slice(i[0]+t.length,i[1]),post:o.slice(i[1]+e.length)}}function n(t,e){var n=e.match(t);return n?n[0]:null}function r(t,e,n){var r,o,i,s,a,c=n.indexOf(t),u=n.indexOf(e,c+1),l=c;if(c>=0&&u>0){for(r=[],i=n.length;l>=0&&!a;)l==c?(r.push(l),c=n.indexOf(t,l+1)):1==r.length?a=[r.pop(),u]:((o=r.pop())<i&&(i=o,s=u),u=n.indexOf(e,l+1)),l=c<u&&c>=0?c:u;r.length&&(a=[i,s])}return a}t.exports=e,e.range=r},101:function(t,e,n){var r;t=n.nmd(t),function(o){var i=(t&&t.exports,"object"==typeof global&&global);i.global!==i&&i.window;var s=function(t){this.message=t};(s.prototype=new Error).name="InvalidCharacterError";var a=function(t){throw new s(t)},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=/[\t\n\f\r ]/g,l={encode:function(t){t=String(t),/[^\0-\xFF]/.test(t)&&a("The string to be encoded contains characters outside of the Latin1 range.");for(var e,n,r,o,i=t.length%3,s="",u=-1,l=t.length-i;++u<l;)e=t.charCodeAt(u)<<16,n=t.charCodeAt(++u)<<8,r=t.charCodeAt(++u),s+=c.charAt((o=e+n+r)>>18&63)+c.charAt(o>>12&63)+c.charAt(o>>6&63)+c.charAt(63&o);return 2==i?(e=t.charCodeAt(u)<<8,n=t.charCodeAt(++u),s+=c.charAt((o=e+n)>>10)+c.charAt(o>>4&63)+c.charAt(o<<2&63)+"="):1==i&&(o=t.charCodeAt(u),s+=c.charAt(o>>2)+c.charAt(o<<4&63)+"=="),s},decode:function(t){var e=(t=String(t).replace(u,"")).length;e%4==0&&(e=(t=t.replace(/==?$/,"")).length),(e%4==1||/[^+a-zA-Z0-9/]/.test(t))&&a("Invalid character: the string to be decoded is not correctly encoded.");for(var n,r,o=0,i="",s=-1;++s<e;)r=c.indexOf(t.charAt(s)),n=o%4?64*n+r:r,o++%4&&(i+=String.fromCharCode(255&n>>(-2*o&6)));return i},version:"1.0.0"};void 0===(r=function(){return l}.call(e,n,e,t))||(t.exports=r)}()},172:(t,e)=>{e.d=function(t){if(!t)return 0;for(var e=(t=t.toString()).length,n=t.length;n--;){var r=t.charCodeAt(n);56320<=r&&r<=57343&&n--,127<r&&r<=2047?e++:2047<r&&r<=65535&&(e+=2)}return e}},526:t=>{var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n<t.length;n++)e.push(255&t.charCodeAt(n));return e},bytesToString:function(t){for(var e=[],n=0;n<t.length;n++)e.push(String.fromCharCode(t[n]));return e.join("")}}};t.exports=e},298:t=>{var e,n;e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(t,e){return t<<e|t>>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&n.rotl(t,8)|4278255360&n.rotl(t,24);for(var e=0;e<t.length;e++)t[e]=n.endian(t[e]);return t},randomBytes:function(t){for(var e=[];t>0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],n=0,r=0;n<t.length;n++,r+=8)e[r>>>5]|=t[n]<<24-r%32;return e},wordsToBytes:function(t){for(var e=[],n=0;n<32*t.length;n+=8)e.push(t[n>>>5]>>>24-n%32&255);return e},bytesToHex:function(t){for(var e=[],n=0;n<t.length;n++)e.push((t[n]>>>4).toString(16)),e.push((15&t[n]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],n=0;n<t.length;n+=2)e.push(parseInt(t.substr(n,2),16));return e},bytesToBase64:function(t){for(var n=[],r=0;r<t.length;r+=3)for(var o=t[r]<<16|t[r+1]<<8|t[r+2],i=0;i<4;i++)8*r+6*i<=8*t.length?n.push(e.charAt(o>>>6*(3-i)&63)):n.push("=");return n.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,o=0;r<t.length;o=++r%4)0!=o&&n.push((e.indexOf(t.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|e.indexOf(t.charAt(r))>>>6-2*o);return n}},t.exports=n},635:(t,e,n)=>{const r=n(31),o=n(338),i=n(221);t.exports={XMLParser:o,XMLValidator:r,XMLBuilder:i}},705:(t,e)=>{const n=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",r="["+n+"]["+n+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",o=new RegExp("^"+r+"$");e.isExist=function(t){return void 0!==t},e.isEmptyObject=function(t){return 0===Object.keys(t).length},e.merge=function(t,e,n){if(e){const r=Object.keys(e),o=r.length;for(let i=0;i<o;i++)t[r[i]]="strict"===n?[e[r[i]]]:e[r[i]]}},e.getValue=function(t){return e.isExist(t)?t:""},e.isName=function(t){return!(null==o.exec(t))},e.getAllMatches=function(t,e){const n=[];let r=e.exec(t);for(;r;){const o=[];o.startIndex=e.lastIndex-r[0].length;const i=r.length;for(let t=0;t<i;t++)o.push(r[t]);n.push(o),r=e.exec(t)}return n},e.nameRegexp=r},31:(t,e,n)=>{const r=n(705),o={allowBooleanAttributes:!1,unpairedTags:[]};function i(t){return" "===t||"\t"===t||"\n"===t||"\r"===t}function s(t,e){const n=e;for(;e<t.length;e++)if("?"!=t[e]&&" "!=t[e]);else{const r=t.substr(n,e-n);if(e>5&&"xml"===r)return d("InvalidXml","XML declaration allowed only at the start of the document.",g(t,e));if("?"==t[e]&&">"==t[e+1]){e++;break}}return e}function a(t,e){if(t.length>e+5&&"-"===t[e+1]&&"-"===t[e+2]){for(e+=3;e<t.length;e++)if("-"===t[e]&&"-"===t[e+1]&&">"===t[e+2]){e+=2;break}}else if(t.length>e+8&&"D"===t[e+1]&&"O"===t[e+2]&&"C"===t[e+3]&&"T"===t[e+4]&&"Y"===t[e+5]&&"P"===t[e+6]&&"E"===t[e+7]){let n=1;for(e+=8;e<t.length;e++)if("<"===t[e])n++;else if(">"===t[e]&&(n--,0===n))break}else if(t.length>e+9&&"["===t[e+1]&&"C"===t[e+2]&&"D"===t[e+3]&&"A"===t[e+4]&&"T"===t[e+5]&&"A"===t[e+6]&&"["===t[e+7])for(e+=8;e<t.length;e++)if("]"===t[e]&&"]"===t[e+1]&&">"===t[e+2]){e+=2;break}return e}e.validate=function(t,e){e=Object.assign({},o,e);const n=[];let c=!1,u=!1;"\ufeff"===t[0]&&(t=t.substr(1));for(let o=0;o<t.length;o++)if("<"===t[o]&&"?"===t[o+1]){if(o+=2,o=s(t,o),o.err)return o}else{if("<"!==t[o]){if(i(t[o]))continue;return d("InvalidChar","char '"+t[o]+"' is not expected.",g(t,o))}{let m=o;if(o++,"!"===t[o]){o=a(t,o);continue}{let v=!1;"/"===t[o]&&(v=!0,o++);let y="";for(;o<t.length&&">"!==t[o]&&" "!==t[o]&&"\t"!==t[o]&&"\n"!==t[o]&&"\r"!==t[o];o++)y+=t[o];if(y=y.trim(),"/"===y[y.length-1]&&(y=y.substring(0,y.length-1),o--),f=y,!r.isName(f)){let e;return e=0===y.trim().length?"Invalid space after '<'.":"Tag '"+y+"' is an invalid name.",d("InvalidTag",e,g(t,o))}const b=l(t,o);if(!1===b)return d("InvalidAttr","Attributes for '"+y+"' have open quote.",g(t,o));let E=b.value;if(o=b.index,"/"===E[E.length-1]){const n=o-E.length;E=E.substring(0,E.length-1);const r=h(E,e);if(!0!==r)return d(r.err.code,r.err.msg,g(t,n+r.err.line));c=!0}else if(v){if(!b.tagClosed)return d("InvalidTag","Closing tag '"+y+"' doesn't have proper closing.",g(t,o));if(E.trim().length>0)return d("InvalidTag","Closing tag '"+y+"' can't have attributes or invalid starting.",g(t,m));if(0===n.length)return d("InvalidTag","Closing tag '"+y+"' has not been opened.",g(t,m));{const e=n.pop();if(y!==e.tagName){let n=g(t,e.tagStartPos);return d("InvalidTag","Expected closing tag '"+e.tagName+"' (opened in line "+n.line+", col "+n.col+") instead of closing tag '"+y+"'.",g(t,m))}0==n.length&&(u=!0)}}else{const r=h(E,e);if(!0!==r)return d(r.err.code,r.err.msg,g(t,o-E.length+r.err.line));if(!0===u)return d("InvalidXml","Multiple possible root nodes found.",g(t,o));-1!==e.unpairedTags.indexOf(y)||n.push({tagName:y,tagStartPos:m}),c=!0}for(o++;o<t.length;o++)if("<"===t[o]){if("!"===t[o+1]){o++,o=a(t,o);continue}if("?"!==t[o+1])break;if(o=s(t,++o),o.err)return o}else if("&"===t[o]){const e=p(t,o);if(-1==e)return d("InvalidChar","char '&' is not expected.",g(t,o));o=e}else if(!0===u&&!i(t[o]))return d("InvalidXml","Extra text at the end",g(t,o));"<"===t[o]&&o--}}}var f;return c?1==n.length?d("InvalidTag","Unclosed tag '"+n[0].tagName+"'.",g(t,n[0].tagStartPos)):!(n.length>0)||d("InvalidXml","Invalid '"+JSON.stringify(n.map((t=>t.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):d("InvalidXml","Start tag expected.",1)};const c='"',u="'";function l(t,e){let n="",r="",o=!1;for(;e<t.length;e++){if(t[e]===c||t[e]===u)""===r?r=t[e]:r!==t[e]||(r="");else if(">"===t[e]&&""===r){o=!0;break}n+=t[e]}return""===r&&{value:n,index:e,tagClosed:o}}const f=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function h(t,e){const n=r.getAllMatches(t,f),o={};for(let t=0;t<n.length;t++){if(0===n[t][1].length)return d("InvalidAttr","Attribute '"+n[t][2]+"' has no space in starting.",v(n[t]));if(void 0!==n[t][3]&&void 0===n[t][4])return d("InvalidAttr","Attribute '"+n[t][2]+"' is without value.",v(n[t]));if(void 0===n[t][3]&&!e.allowBooleanAttributes)return d("InvalidAttr","boolean attribute '"+n[t][2]+"' is not allowed.",v(n[t]));const r=n[t][2];if(!m(r))return d("InvalidAttr","Attribute '"+r+"' is an invalid name.",v(n[t]));if(o.hasOwnProperty(r))return d("InvalidAttr","Attribute '"+r+"' is repeated.",v(n[t]));o[r]=1}return!0}function p(t,e){if(";"===t[++e])return-1;if("#"===t[e])return function(t,e){let n=/\d/;for("x"===t[e]&&(e++,n=/[\da-fA-F]/);e<t.length;e++){if(";"===t[e])return e;if(!t[e].match(n))break}return-1}(t,++e);let n=0;for(;e<t.length;e++,n++)if(!(t[e].match(/\w/)&&n<20)){if(";"===t[e])break;return-1}return e}function d(t,e,n){return{err:{code:t,msg:e,line:n.line||n,col:n.col}}}function m(t){return r.isName(t)}function g(t,e){const n=t.substring(0,e).split(/\r?\n/);return{line:n.length,col:n[n.length-1].length+1}}function v(t){return t.startIndex+t[1].length}},221:(t,e,n)=>{const r=n(87),o={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function i(t){this.options=Object.assign({},o,t),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=c),this.processTextOrObjNode=s,this.options.format?(this.indentate=a,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function s(t,e,n){const r=this.j2x(t,n+1);return void 0!==t[this.options.textNodeName]&&1===Object.keys(t).length?this.buildTextValNode(t[this.options.textNodeName],e,r.attrStr,n):this.buildObjectNode(r.val,e,r.attrStr,n)}function a(t){return this.options.indentBy.repeat(t)}function c(t){return!(!t.startsWith(this.options.attributeNamePrefix)||t===this.options.textNodeName)&&t.substr(this.attrPrefixLen)}i.prototype.build=function(t){return this.options.preserveOrder?r(t,this.options):(Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t}),this.j2x(t,0).val)},i.prototype.j2x=function(t,e){let n="",r="";for(let o in t)if(Object.prototype.hasOwnProperty.call(t,o))if(void 0===t[o])this.isAttribute(o)&&(r+="");else if(null===t[o])this.isAttribute(o)?r+="":"?"===o[0]?r+=this.indentate(e)+"<"+o+"?"+this.tagEndChar:r+=this.indentate(e)+"<"+o+"/"+this.tagEndChar;else if(t[o]instanceof Date)r+=this.buildTextValNode(t[o],o,"",e);else if("object"!=typeof t[o]){const i=this.isAttribute(o);if(i)n+=this.buildAttrPairStr(i,""+t[o]);else if(o===this.options.textNodeName){let e=this.options.tagValueProcessor(o,""+t[o]);r+=this.replaceEntitiesValue(e)}else r+=this.buildTextValNode(t[o],o,"",e)}else if(Array.isArray(t[o])){const n=t[o].length;let i="",s="";for(let a=0;a<n;a++){const n=t[o][a];if(void 0===n);else if(null===n)"?"===o[0]?r+=this.indentate(e)+"<"+o+"?"+this.tagEndChar:r+=this.indentate(e)+"<"+o+"/"+this.tagEndChar;else if("object"==typeof n)if(this.options.oneListGroup){const t=this.j2x(n,e+1);i+=t.val,this.options.attributesGroupName&&n.hasOwnProperty(this.options.attributesGroupName)&&(s+=t.attrStr)}else i+=this.processTextOrObjNode(n,o,e);else if(this.options.oneListGroup){let t=this.options.tagValueProcessor(o,n);t=this.replaceEntitiesValue(t),i+=t}else i+=this.buildTextValNode(n,o,"",e)}this.options.oneListGroup&&(i=this.buildObjectNode(i,o,s,e)),r+=i}else if(this.options.attributesGroupName&&o===this.options.attributesGroupName){const e=Object.keys(t[o]),r=e.length;for(let i=0;i<r;i++)n+=this.buildAttrPairStr(e[i],""+t[o][e[i]])}else r+=this.processTextOrObjNode(t[o],o,e);return{attrStr:n,val:r}},i.prototype.buildAttrPairStr=function(t,e){return e=this.options.attributeValueProcessor(t,""+e),e=this.replaceEntitiesValue(e),this.options.suppressBooleanAttributes&&"true"===e?" "+t:" "+t+'="'+e+'"'},i.prototype.buildObjectNode=function(t,e,n,r){if(""===t)return"?"===e[0]?this.indentate(r)+"<"+e+n+"?"+this.tagEndChar:this.indentate(r)+"<"+e+n+this.closeTag(e)+this.tagEndChar;{let o="</"+e+this.tagEndChar,i="";return"?"===e[0]&&(i="?",o=""),!n&&""!==n||-1!==t.indexOf("<")?!1!==this.options.commentPropName&&e===this.options.commentPropName&&0===i.length?this.indentate(r)+`\x3c!--${t}--\x3e`+this.newLine:this.indentate(r)+"<"+e+n+i+this.tagEndChar+t+this.indentate(r)+o:this.indentate(r)+"<"+e+n+i+">"+t+o}},i.prototype.closeTag=function(t){let e="";return-1!==this.options.unpairedTags.indexOf(t)?this.options.suppressUnpairedNode||(e="/"):e=this.options.suppressEmptyNode?"/":`></${t}`,e},i.prototype.buildTextValNode=function(t,e,n,r){if(!1!==this.options.cdataPropName&&e===this.options.cdataPropName)return this.indentate(r)+`<![CDATA[${t}]]>`+this.newLine;if(!1!==this.options.commentPropName&&e===this.options.commentPropName)return this.indentate(r)+`\x3c!--${t}--\x3e`+this.newLine;if("?"===e[0])return this.indentate(r)+"<"+e+n+"?"+this.tagEndChar;{let o=this.options.tagValueProcessor(e,t);return o=this.replaceEntitiesValue(o),""===o?this.indentate(r)+"<"+e+n+this.closeTag(e)+this.tagEndChar:this.indentate(r)+"<"+e+n+">"+o+"</"+e+this.tagEndChar}},i.prototype.replaceEntitiesValue=function(t){if(t&&t.length>0&&this.options.processEntities)for(let e=0;e<this.options.entities.length;e++){const n=this.options.entities[e];t=t.replace(n.regex,n.val)}return t},t.exports=i},87:t=>{function e(t,s,a,c){let u="",l=!1;for(let f=0;f<t.length;f++){const h=t[f],p=n(h);if(void 0===p)continue;let d="";if(d=0===a.length?p:`${a}.${p}`,p===s.textNodeName){let t=h[p];o(d,s)||(t=s.tagValueProcessor(p,t),t=i(t,s)),l&&(u+=c),u+=t,l=!1;continue}if(p===s.cdataPropName){l&&(u+=c),u+=`<![CDATA[${h[p][0][s.textNodeName]}]]>`,l=!1;continue}if(p===s.commentPropName){u+=c+`\x3c!--${h[p][0][s.textNodeName]}--\x3e`,l=!0;continue}if("?"===p[0]){const t=r(h[":@"],s),e="?xml"===p?"":c;let n=h[p][0][s.textNodeName];n=0!==n.length?" "+n:"",u+=e+`<${p}${n}${t}?>`,l=!0;continue}let m=c;""!==m&&(m+=s.indentBy);const g=c+`<${p}${r(h[":@"],s)}`,v=e(h[p],s,d,m);-1!==s.unpairedTags.indexOf(p)?s.suppressUnpairedNode?u+=g+">":u+=g+"/>":v&&0!==v.length||!s.suppressEmptyNode?v&&v.endsWith(">")?u+=g+`>${v}${c}</${p}>`:(u+=g+">",v&&""!==c&&(v.includes("/>")||v.includes("</"))?u+=c+s.indentBy+v+c:u+=v,u+=`</${p}>`):u+=g+"/>",l=!0}return u}function n(t){const e=Object.keys(t);for(let n=0;n<e.length;n++){const r=e[n];if(t.hasOwnProperty(r)&&":@"!==r)return r}}function r(t,e){let n="";if(t&&!e.ignoreAttributes)for(let r in t){if(!t.hasOwnProperty(r))continue;let o=e.attributeValueProcessor(r,t[r]);o=i(o,e),!0===o&&e.suppressBooleanAttributes?n+=` ${r.substr(e.attributeNamePrefix.length)}`:n+=` ${r.substr(e.attributeNamePrefix.length)}="${o}"`}return n}function o(t,e){let n=(t=t.substr(0,t.length-e.textNodeName.length-1)).substr(t.lastIndexOf(".")+1);for(let r in e.stopNodes)if(e.stopNodes[r]===t||e.stopNodes[r]==="*."+n)return!0;return!1}function i(t,e){if(t&&t.length>0&&e.processEntities)for(let n=0;n<e.entities.length;n++){const r=e.entities[n];t=t.replace(r.regex,r.val)}return t}t.exports=function(t,n){let r="";return n.format&&n.indentBy.length>0&&(r="\n"),e(t,n,"",r)}},193:(t,e,n)=>{const r=n(705);function o(t,e){let n="";for(;e<t.length&&"'"!==t[e]&&'"'!==t[e];e++)n+=t[e];if(n=n.trim(),-1!==n.indexOf(" "))throw new Error("External entites are not supported");const r=t[e++];let o="";for(;e<t.length&&t[e]!==r;e++)o+=t[e];return[n,o,e]}function i(t,e){return"!"===t[e+1]&&"-"===t[e+2]&&"-"===t[e+3]}function s(t,e){return"!"===t[e+1]&&"E"===t[e+2]&&"N"===t[e+3]&&"T"===t[e+4]&&"I"===t[e+5]&&"T"===t[e+6]&&"Y"===t[e+7]}function a(t,e){return"!"===t[e+1]&&"E"===t[e+2]&&"L"===t[e+3]&&"E"===t[e+4]&&"M"===t[e+5]&&"E"===t[e+6]&&"N"===t[e+7]&&"T"===t[e+8]}function c(t,e){return"!"===t[e+1]&&"A"===t[e+2]&&"T"===t[e+3]&&"T"===t[e+4]&&"L"===t[e+5]&&"I"===t[e+6]&&"S"===t[e+7]&&"T"===t[e+8]}function u(t,e){return"!"===t[e+1]&&"N"===t[e+2]&&"O"===t[e+3]&&"T"===t[e+4]&&"A"===t[e+5]&&"T"===t[e+6]&&"I"===t[e+7]&&"O"===t[e+8]&&"N"===t[e+9]}function l(t){if(r.isName(t))return t;throw new Error(`Invalid entity name ${t}`)}t.exports=function(t,e){const n={};if("O"!==t[e+3]||"C"!==t[e+4]||"T"!==t[e+5]||"Y"!==t[e+6]||"P"!==t[e+7]||"E"!==t[e+8])throw new Error("Invalid Tag instead of DOCTYPE");{e+=9;let r=1,f=!1,h=!1,p="";for(;e<t.length;e++)if("<"!==t[e]||h)if(">"===t[e]){if(h?"-"===t[e-1]&&"-"===t[e-2]&&(h=!1,r--):r--,0===r)break}else"["===t[e]?f=!0:p+=t[e];else{if(f&&s(t,e))e+=7,[entityName,val,e]=o(t,e+1),-1===val.indexOf("&")&&(n[l(entityName)]={regx:RegExp(`&${entityName};`,"g"),val});else if(f&&a(t,e))e+=8;else if(f&&c(t,e))e+=8;else if(f&&u(t,e))e+=9;else{if(!i)throw new Error("Invalid DOCTYPE");h=!0}r++,p=""}if(0!==r)throw new Error("Unclosed DOCTYPE")}return{entities:n,i:e}}},63:(t,e)=>{const n={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,n){return t}};e.buildOptions=function(t){return Object.assign({},n,t)},e.defaultOptions=n},299:(t,e,n)=>{const r=n(705),o=n(365),i=n(193),s=n(494);function a(t){const e=Object.keys(t);for(let n=0;n<e.length;n++){const r=e[n];this.lastEntities[r]={regex:new RegExp("&"+r+";","g"),val:t[r]}}}function c(t,e,n,r,o,i,s){if(void 0!==t&&(this.options.trimValues&&!r&&(t=t.trim()),t.length>0)){s||(t=this.replaceEntitiesValue(t));const r=this.options.tagValueProcessor(e,t,n,o,i);return null==r?t:typeof r!=typeof t||r!==t?r:this.options.trimValues||t.trim()===t?E(t,this.options.parseTagValue,this.options.numberParseOptions):t}}function u(t){if(this.options.removeNSPrefix){const e=t.split(":"),n="/"===t.charAt(0)?"/":"";if("xmlns"===e[0])return"";2===e.length&&(t=n+e[1])}return t}const l=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function f(t,e,n){if(!this.options.ignoreAttributes&&"string"==typeof t){const n=r.getAllMatches(t,l),o=n.length,i={};for(let t=0;t<o;t++){const r=this.resolveNameSpace(n[t][1]);let o=n[t][4],s=this.options.attributeNamePrefix+r;if(r.length)if(this.options.transformAttributeName&&(s=this.options.transformAttributeName(s)),"__proto__"===s&&(s="#__proto__"),void 0!==o){this.options.trimValues&&(o=o.trim()),o=this.replaceEntitiesValue(o);const t=this.options.attributeValueProcessor(r,o,e);i[s]=null==t?o:typeof t!=typeof o||t!==o?t:E(o,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(i[s]=!0)}if(!Object.keys(i).length)return;if(this.options.attributesGroupName){const t={};return t[this.options.attributesGroupName]=i,t}return i}}const h=function(t){t=t.replace(/\r\n?/g,"\n");const e=new o("!xml");let n=e,r="",s="";for(let a=0;a<t.length;a++)if("<"===t[a])if("/"===t[a+1]){const e=v(t,">",a,"Closing Tag is not closed.");let o=t.substring(a+2,e).trim();if(this.options.removeNSPrefix){const t=o.indexOf(":");-1!==t&&(o=o.substr(t+1))}this.options.transformTagName&&(o=this.options.transformTagName(o)),n&&(r=this.saveTextToParentTag(r,n,s));const i=s.substring(s.lastIndexOf(".")+1);if(o&&-1!==this.options.unpairedTags.indexOf(o))throw new Error(`Unpaired tag can not be used as closing tag: </${o}>`);let c=0;i&&-1!==this.options.unpairedTags.indexOf(i)?(c=s.lastIndexOf(".",s.lastIndexOf(".")-1),this.tagsNodeStack.pop()):c=s.lastIndexOf("."),s=s.substring(0,c),n=this.tagsNodeStack.pop(),r="",a=e}else if("?"===t[a+1]){let e=y(t,a,!1,"?>");if(!e)throw new Error("Pi Tag is not closed.");if(r=this.saveTextToParentTag(r,n,s),this.options.ignoreDeclaration&&"?xml"===e.tagName||this.options.ignorePiTags);else{const t=new o(e.tagName);t.add(this.options.textNodeName,""),e.tagName!==e.tagExp&&e.attrExpPresent&&(t[":@"]=this.buildAttributesMap(e.tagExp,s,e.tagName)),this.addChild(n,t,s)}a=e.closeIndex+1}else if("!--"===t.substr(a+1,3)){const e=v(t,"--\x3e",a+4,"Comment is not closed.");if(this.options.commentPropName){const o=t.substring(a+4,e-2);r=this.saveTextToParentTag(r,n,s),n.add(this.options.commentPropName,[{[this.options.textNodeName]:o}])}a=e}else if("!D"===t.substr(a+1,2)){const e=i(t,a);this.docTypeEntities=e.entities,a=e.i}else if("!["===t.substr(a+1,2)){const e=v(t,"]]>",a,"CDATA is not closed.")-2,o=t.substring(a+9,e);r=this.saveTextToParentTag(r,n,s);let i=this.parseTextData(o,n.tagname,s,!0,!1,!0,!0);null==i&&(i=""),this.options.cdataPropName?n.add(this.options.cdataPropName,[{[this.options.textNodeName]:o}]):n.add(this.options.textNodeName,i),a=e+2}else{let i=y(t,a,this.options.removeNSPrefix),c=i.tagName;const u=i.rawTagName;let l=i.tagExp,f=i.attrExpPresent,h=i.closeIndex;this.options.transformTagName&&(c=this.options.transformTagName(c)),n&&r&&"!xml"!==n.tagname&&(r=this.saveTextToParentTag(r,n,s,!1));const p=n;if(p&&-1!==this.options.unpairedTags.indexOf(p.tagname)&&(n=this.tagsNodeStack.pop(),s=s.substring(0,s.lastIndexOf("."))),c!==e.tagname&&(s+=s?"."+c:c),this.isItStopNode(this.options.stopNodes,s,c)){let e="";if(l.length>0&&l.lastIndexOf("/")===l.length-1)"/"===c[c.length-1]?(c=c.substr(0,c.length-1),s=s.substr(0,s.length-1),l=c):l=l.substr(0,l.length-1),a=i.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(c))a=i.closeIndex;else{const n=this.readStopNodeData(t,u,h+1);if(!n)throw new Error(`Unexpected end of ${u}`);a=n.i,e=n.tagContent}const r=new o(c);c!==l&&f&&(r[":@"]=this.buildAttributesMap(l,s,c)),e&&(e=this.parseTextData(e,c,s,!0,f,!0,!0)),s=s.substr(0,s.lastIndexOf(".")),r.add(this.options.textNodeName,e),this.addChild(n,r,s)}else{if(l.length>0&&l.lastIndexOf("/")===l.length-1){"/"===c[c.length-1]?(c=c.substr(0,c.length-1),s=s.substr(0,s.length-1),l=c):l=l.substr(0,l.length-1),this.options.transformTagName&&(c=this.options.transformTagName(c));const t=new o(c);c!==l&&f&&(t[":@"]=this.buildAttributesMap(l,s,c)),this.addChild(n,t,s),s=s.substr(0,s.lastIndexOf("."))}else{const t=new o(c);this.tagsNodeStack.push(n),c!==l&&f&&(t[":@"]=this.buildAttributesMap(l,s,c)),this.addChild(n,t,s),n=t}r="",a=h}}else r+=t[a];return e.child};function p(t,e,n){const r=this.options.updateTag(e.tagname,n,e[":@"]);!1===r||("string"==typeof r?(e.tagname=r,t.addChild(e)):t.addChild(e))}const d=function(t){if(this.options.processEntities){for(let e in this.docTypeEntities){const n=this.docTypeEntities[e];t=t.replace(n.regx,n.val)}for(let e in this.lastEntities){const n=this.lastEntities[e];t=t.replace(n.regex,n.val)}if(this.options.htmlEntities)for(let e in this.htmlEntities){const n=this.htmlEntities[e];t=t.replace(n.regex,n.val)}t=t.replace(this.ampEntity.regex,this.ampEntity.val)}return t};function m(t,e,n,r){return t&&(void 0===r&&(r=0===Object.keys(e.child).length),void 0!==(t=this.parseTextData(t,e.tagname,n,!1,!!e[":@"]&&0!==Object.keys(e[":@"]).length,r))&&""!==t&&e.add(this.options.textNodeName,t),t=""),t}function g(t,e,n){const r="*."+n;for(const n in t){const o=t[n];if(r===o||e===o)return!0}return!1}function v(t,e,n,r){const o=t.indexOf(e,n);if(-1===o)throw new Error(r);return o+e.length-1}function y(t,e,n){const r=function(t,e){let n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:">",o="";for(let i=e;i<t.length;i++){let e=t[i];if(n)e===n&&(n="");else if('"'===e||"'"===e)n=e;else if(e===r[0]){if(!r[1])return{data:o,index:i};if(t[i+1]===r[1])return{data:o,index:i}}else"\t"===e&&(e=" ");o+=e}}(t,e+1,arguments.length>3&&void 0!==arguments[3]?arguments[3]:">");if(!r)return;let o=r.data;const i=r.index,s=o.search(/\s/);let a=o,c=!0;-1!==s&&(a=o.substring(0,s),o=o.substring(s+1).trimStart());const u=a;if(n){const t=a.indexOf(":");-1!==t&&(a=a.substr(t+1),c=a!==r.data.substr(t+1))}return{tagName:a,tagExp:o,closeIndex:i,attrExpPresent:c,rawTagName:u}}function b(t,e,n){const r=n;let o=1;for(;n<t.length;n++)if("<"===t[n])if("/"===t[n+1]){const i=v(t,">",n,`${e} is not closed`);if(t.substring(n+2,i).trim()===e&&(o--,0===o))return{tagContent:t.substring(r,n),i};n=i}else if("?"===t[n+1])n=v(t,"?>",n+1,"StopNode is not closed.");else if("!--"===t.substr(n+1,3))n=v(t,"--\x3e",n+3,"StopNode is not closed.");else if("!["===t.substr(n+1,2))n=v(t,"]]>",n,"StopNode is not closed.")-2;else{const r=y(t,n,">");r&&((r&&r.tagName)===e&&"/"!==r.tagExp[r.tagExp.length-1]&&o++,n=r.closeIndex)}}function E(t,e,n){if(e&&"string"==typeof t){const e=t.trim();return"true"===e||"false"!==e&&s(t,n)}return r.isExist(t)?t:""}t.exports=class{constructor(t){this.options=t,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(t,e)=>String.fromCharCode(Number.parseInt(e,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(t,e)=>String.fromCharCode(Number.parseInt(e,16))}},this.addExternalEntities=a,this.parseXml=h,this.parseTextData=c,this.resolveNameSpace=u,this.buildAttributesMap=f,this.isItStopNode=g,this.replaceEntitiesValue=d,this.readStopNodeData=b,this.saveTextToParentTag=m,this.addChild=p}}},338:(t,e,n)=>{const{buildOptions:r}=n(63),o=n(299),{prettify:i}=n(728),s=n(31);t.exports=class{constructor(t){this.externalEntities={},this.options=r(t)}parse(t,e){if("string"==typeof t);else{if(!t.toString)throw new Error("XML data is accepted in String or Bytes[] form.");t=t.toString()}if(e){!0===e&&(e={});const n=s.validate(t,e);if(!0!==n)throw Error(`${n.err.msg}:${n.err.line}:${n.err.col}`)}const n=new o(this.options);n.addExternalEntities(this.externalEntities);const r=n.parseXml(t);return this.options.preserveOrder||void 0===r?r:i(r,this.options)}addEntity(t,e){if(-1!==e.indexOf("&"))throw new Error("Entity value can't have '&'");if(-1!==t.indexOf("&")||-1!==t.indexOf(";"))throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");if("&"===e)throw new Error("An entity with value '&' is not permitted");this.externalEntities[t]=e}}},728:(t,e)=>{function n(t,e,s){let a;const c={};for(let u=0;u<t.length;u++){const l=t[u],f=r(l);let h="";if(h=void 0===s?f:s+"."+f,f===e.textNodeName)void 0===a?a=l[f]:a+=""+l[f];else{if(void 0===f)continue;if(l[f]){let t=n(l[f],e,h);const r=i(t,e);l[":@"]?o(t,l[":@"],h,e):1!==Object.keys(t).length||void 0===t[e.textNodeName]||e.alwaysCreateTextNode?0===Object.keys(t).length&&(e.alwaysCreateTextNode?t[e.textNodeName]="":t=""):t=t[e.textNodeName],void 0!==c[f]&&c.hasOwnProperty(f)?(Array.isArray(c[f])||(c[f]=[c[f]]),c[f].push(t)):e.isArray(f,h,r)?c[f]=[t]:c[f]=t}}}return"string"==typeof a?a.length>0&&(c[e.textNodeName]=a):void 0!==a&&(c[e.textNodeName]=a),c}function r(t){const e=Object.keys(t);for(let t=0;t<e.length;t++){const n=e[t];if(":@"!==n)return n}}function o(t,e,n,r){if(e){const o=Object.keys(e),i=o.length;for(let s=0;s<i;s++){const i=o[s];r.isArray(i,n+"."+i,!0,!0)?t[i]=[e[i]]:t[i]=e[i]}}}function i(t,e){const{textNodeName:n}=e,r=Object.keys(t).length;return 0===r||!(1!==r||!t[n]&&"boolean"!=typeof t[n]&&0!==t[n])}e.prettify=function(t,e){return n(t,e)}},365:t=>{t.exports=class{constructor(t){this.tagname=t,this.child=[],this[":@"]={}}add(t,e){"__proto__"===t&&(t="#__proto__"),this.child.push({[t]:e})}addChild(t){"__proto__"===t.tagname&&(t.tagname="#__proto__"),t[":@"]&&Object.keys(t[":@"]).length>0?this.child.push({[t.tagname]:t.child,":@":t[":@"]}):this.child.push({[t.tagname]:t.child})}}},135:t=>{function e(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}t.exports=function(t){return null!=t&&(e(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&e(t.slice(0,0))}(t)||!!t._isBuffer)}},542:(t,e,n)=>{!function(){var e=n(298),r=n(526).utf8,o=n(135),i=n(526).bin,s=function(t,n){t.constructor==String?t=n&&"binary"===n.encoding?i.stringToBytes(t):r.stringToBytes(t):o(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||t.constructor===Uint8Array||(t=t.toString());for(var a=e.bytesToWords(t),c=8*t.length,u=1732584193,l=-271733879,f=-1732584194,h=271733878,p=0;p<a.length;p++)a[p]=16711935&(a[p]<<8|a[p]>>>24)|4278255360&(a[p]<<24|a[p]>>>8);a[c>>>5]|=128<<c%32,a[14+(c+64>>>9<<4)]=c;var d=s._ff,m=s._gg,g=s._hh,v=s._ii;for(p=0;p<a.length;p+=16){var y=u,b=l,E=f,w=h;u=d(u,l,f,h,a[p+0],7,-680876936),h=d(h,u,l,f,a[p+1],12,-389564586),f=d(f,h,u,l,a[p+2],17,606105819),l=d(l,f,h,u,a[p+3],22,-1044525330),u=d(u,l,f,h,a[p+4],7,-176418897),h=d(h,u,l,f,a[p+5],12,1200080426),f=d(f,h,u,l,a[p+6],17,-1473231341),l=d(l,f,h,u,a[p+7],22,-45705983),u=d(u,l,f,h,a[p+8],7,1770035416),h=d(h,u,l,f,a[p+9],12,-1958414417),f=d(f,h,u,l,a[p+10],17,-42063),l=d(l,f,h,u,a[p+11],22,-1990404162),u=d(u,l,f,h,a[p+12],7,1804603682),h=d(h,u,l,f,a[p+13],12,-40341101),f=d(f,h,u,l,a[p+14],17,-1502002290),u=m(u,l=d(l,f,h,u,a[p+15],22,1236535329),f,h,a[p+1],5,-165796510),h=m(h,u,l,f,a[p+6],9,-1069501632),f=m(f,h,u,l,a[p+11],14,643717713),l=m(l,f,h,u,a[p+0],20,-373897302),u=m(u,l,f,h,a[p+5],5,-701558691),h=m(h,u,l,f,a[p+10],9,38016083),f=m(f,h,u,l,a[p+15],14,-660478335),l=m(l,f,h,u,a[p+4],20,-405537848),u=m(u,l,f,h,a[p+9],5,568446438),h=m(h,u,l,f,a[p+14],9,-1019803690),f=m(f,h,u,l,a[p+3],14,-187363961),l=m(l,f,h,u,a[p+8],20,1163531501),u=m(u,l,f,h,a[p+13],5,-1444681467),h=m(h,u,l,f,a[p+2],9,-51403784),f=m(f,h,u,l,a[p+7],14,1735328473),u=g(u,l=m(l,f,h,u,a[p+12],20,-1926607734),f,h,a[p+5],4,-378558),h=g(h,u,l,f,a[p+8],11,-2022574463),f=g(f,h,u,l,a[p+11],16,1839030562),l=g(l,f,h,u,a[p+14],23,-35309556),u=g(u,l,f,h,a[p+1],4,-1530992060),h=g(h,u,l,f,a[p+4],11,1272893353),f=g(f,h,u,l,a[p+7],16,-155497632),l=g(l,f,h,u,a[p+10],23,-1094730640),u=g(u,l,f,h,a[p+13],4,681279174),h=g(h,u,l,f,a[p+0],11,-358537222),f=g(f,h,u,l,a[p+3],16,-722521979),l=g(l,f,h,u,a[p+6],23,76029189),u=g(u,l,f,h,a[p+9],4,-640364487),h=g(h,u,l,f,a[p+12],11,-421815835),f=g(f,h,u,l,a[p+15],16,530742520),u=v(u,l=g(l,f,h,u,a[p+2],23,-995338651),f,h,a[p+0],6,-198630844),h=v(h,u,l,f,a[p+7],10,1126891415),f=v(f,h,u,l,a[p+14],15,-1416354905),l=v(l,f,h,u,a[p+5],21,-57434055),u=v(u,l,f,h,a[p+12],6,1700485571),h=v(h,u,l,f,a[p+3],10,-1894986606),f=v(f,h,u,l,a[p+10],15,-1051523),l=v(l,f,h,u,a[p+1],21,-2054922799),u=v(u,l,f,h,a[p+8],6,1873313359),h=v(h,u,l,f,a[p+15],10,-30611744),f=v(f,h,u,l,a[p+6],15,-1560198380),l=v(l,f,h,u,a[p+13],21,1309151649),u=v(u,l,f,h,a[p+4],6,-145523070),h=v(h,u,l,f,a[p+11],10,-1120210379),f=v(f,h,u,l,a[p+2],15,718787259),l=v(l,f,h,u,a[p+9],21,-343485551),u=u+y>>>0,l=l+b>>>0,f=f+E>>>0,h=h+w>>>0}return e.endian([u,l,f,h])};s._ff=function(t,e,n,r,o,i,s){var a=t+(e&n|~e&r)+(o>>>0)+s;return(a<<i|a>>>32-i)+e},s._gg=function(t,e,n,r,o,i,s){var a=t+(e&r|n&~r)+(o>>>0)+s;return(a<<i|a>>>32-i)+e},s._hh=function(t,e,n,r,o,i,s){var a=t+(e^n^r)+(o>>>0)+s;return(a<<i|a>>>32-i)+e},s._ii=function(t,e,n,r,o,i,s){var a=t+(n^(e|~r))+(o>>>0)+s;return(a<<i|a>>>32-i)+e},s._blocksize=16,s._digestsize=16,t.exports=function(t,n){if(null==t)throw new Error("Illegal argument "+t);var r=e.wordsToBytes(s(t,n));return n&&n.asBytes?r:n&&n.asString?i.bytesToString(r):e.bytesToHex(r)}}()},285:(t,e,n)=>{var r=n(2);t.exports=function(t){return t?("{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2)),g(function(t){return t.split("\\\\").join(o).split("\\{").join(i).split("\\}").join(s).split("\\,").join(a).split("\\.").join(c)}(t),!0).map(l)):[]};var o="\0SLASH"+Math.random()+"\0",i="\0OPEN"+Math.random()+"\0",s="\0CLOSE"+Math.random()+"\0",a="\0COMMA"+Math.random()+"\0",c="\0PERIOD"+Math.random()+"\0";function u(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function l(t){return t.split(o).join("\\").split(i).join("{").split(s).join("}").split(a).join(",").split(c).join(".")}function f(t){if(!t)return[""];var e=[],n=r("{","}",t);if(!n)return t.split(",");var o=n.pre,i=n.body,s=n.post,a=o.split(",");a[a.length-1]+="{"+i+"}";var c=f(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}function h(t){return"{"+t+"}"}function p(t){return/^-?0\d/.test(t)}function d(t,e){return t<=e}function m(t,e){return t>=e}function g(t,e){var n=[],o=r("{","}",t);if(!o)return[t];var i=o.pre,a=o.post.length?g(o.post,!1):[""];if(/\$$/.test(o.pre))for(var c=0;c<a.length;c++){var l=i+"{"+o.body+"}"+a[c];n.push(l)}else{var v,y,b=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body),E=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body),w=b||E,A=o.body.indexOf(",")>=0;if(!w&&!A)return o.post.match(/,.*\}/)?g(t=o.pre+"{"+o.body+s+o.post):[t];if(w)v=o.body.split(/\.\./);else if(1===(v=f(o.body)).length&&1===(v=g(v[0],!1).map(h)).length)return a.map((function(t){return o.pre+v[0]+t}));if(w){var _=u(v[0]),O=u(v[1]),x=Math.max(v[0].length,v[1].length),C=3==v.length?Math.abs(u(v[2])):1,N=d;O<_&&(C*=-1,N=m);var T=v.some(p);y=[];for(var S=_;N(S,O);S+=C){var I;if(E)"\\"===(I=String.fromCharCode(S))&&(I="");else if(I=String(S),T){var R=x-I.length;if(R>0){var L=new Array(R+1).join("0");I=S<0?"-"+L+I.slice(1):L+I}}y.push(I)}}else{y=[];for(var P=0;P<v.length;P++)y.push.apply(y,g(v[P],!1))}for(P=0;P<y.length;P++)for(c=0;c<a.length;c++)l=i+y[P]+a[c],(!e||w||l)&&n.push(l)}return n}},829:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t){var e="function"==typeof Map?new Map:void 0;return n=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,s)}function s(){return r(t,arguments,i(this).constructor)}return s.prototype=Object.create(t.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),o(s,t)},n(t)}function r(t,e,n){return r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&o(i,n.prototype),i},r.apply(null,arguments)}function o(t,e){return o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},o(t,e)}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}var s=function(t){function n(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),(r=function(t,n){return!n||"object"!==e(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}(this,i(n).call(this,t))).name="ObjectPrototypeMutationError",r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(n,t),n}(n(Error));function a(t,n){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},o=n.split("."),i=o.length,s=function(e){var n=o[e];if(!t)return{v:void 0};if("+"===n){if(Array.isArray(t))return{v:t.map((function(n,i){var s=o.slice(e+1);return s.length>0?a(n,s.join("."),r):r(t,i,o,e)}))};var i=o.slice(0,e).join(".");throw new Error("Object at wildcard (".concat(i,") is not an array"))}t=r(t,n,o,e)},c=0;c<i;c++){var u=s(c);if("object"===e(u))return u.v}return t}function c(t,e){return t.length===e+1}t.exports={set:function(t,n,r){if("object"!=e(t)||null===t)return t;if(void 0===n)return t;if("number"==typeof n)return t[n]=r,t[n];try{return a(t,n,(function(t,e,n,o){if(t===Reflect.getPrototypeOf({}))throw new s("Attempting to mutate Object.prototype");if(!t[e]){var i=Number.isInteger(Number(n[o+1])),a="+"===n[o+1];t[e]=i||a?[]:{}}return c(n,o)&&(t[e]=r),t[e]}))}catch(e){if(e instanceof s)throw e;return t}},get:function(t,n){if("object"!=e(t)||null===t)return t;if(void 0===n)return t;if("number"==typeof n)return t[n];try{return a(t,n,(function(t,e){return t[e]}))}catch(e){return t}},has:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("object"!=e(t)||null===t)return!1;if(void 0===n)return!1;if("number"==typeof n)return n in t;try{var o=!1;return a(t,n,(function(t,e,n,i){if(!c(n,i))return t&&t[e];o=r.own?t.hasOwnProperty(e):e in t})),o}catch(t){return!1}},hasOwn:function(t,e,n){return this.has(t,e,n||{own:!0})},isIn:function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if("object"!=e(t)||null===t)return!1;if(void 0===n)return!1;try{var i=!1,s=!1;return a(t,n,(function(t,n,o,a){return i=i||t===r||!!t&&t[n]===r,s=c(o,a)&&"object"===e(t)&&n in t,t&&t[n]})),o.validPath?i&&s:i}catch(t){return!1}},ObjectPrototypeMutationError:s}},47:(t,e,n)=>{var r=n(410),o=function(t){return"string"==typeof t};function i(t,e){for(var n=[],r=0;r<t.length;r++){var o=t[r];o&&"."!==o&&(".."===o?n.length&&".."!==n[n.length-1]?n.pop():e&&n.push(".."):n.push(o))}return n}var s=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,a={};function c(t){return s.exec(t).slice(1)}a.resolve=function(){for(var t="",e=!1,n=arguments.length-1;n>=-1&&!e;n--){var r=n>=0?arguments[n]:Xi.cwd();if(!o(r))throw new TypeError("Arguments to path.resolve must be strings");r&&(t=r+"/"+t,e="/"===r.charAt(0))}return(e?"/":"")+(t=i(t.split("/"),!e).join("/"))||"."},a.normalize=function(t){var e=a.isAbsolute(t),n="/"===t.substr(-1);return(t=i(t.split("/"),!e).join("/"))||e||(t="."),t&&n&&(t+="/"),(e?"/":"")+t},a.isAbsolute=function(t){return"/"===t.charAt(0)},a.join=function(){for(var t="",e=0;e<arguments.length;e++){var n=arguments[e];if(!o(n))throw new TypeError("Arguments to path.join must be strings");n&&(t+=t?"/"+n:n)}return a.normalize(t)},a.relative=function(t,e){function n(t){for(var e=0;e<t.length&&""===t[e];e++);for(var n=t.length-1;n>=0&&""===t[n];n--);return e>n?[]:t.slice(e,n+1)}t=a.resolve(t).substr(1),e=a.resolve(e).substr(1);for(var r=n(t.split("/")),o=n(e.split("/")),i=Math.min(r.length,o.length),s=i,c=0;c<i;c++)if(r[c]!==o[c]){s=c;break}var u=[];for(c=s;c<r.length;c++)u.push("..");return(u=u.concat(o.slice(s))).join("/")},a._makeLong=function(t){return t},a.dirname=function(t){var e=c(t),n=e[0],r=e[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},a.basename=function(t,e){var n=c(t)[2];return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},a.extname=function(t){return c(t)[3]},a.format=function(t){if(!r.isObject(t))throw new TypeError("Parameter 'pathObject' must be an object, not "+typeof t);var e=t.root||"";if(!o(e))throw new TypeError("'pathObject.root' must be a string or undefined, not "+typeof t.root);return(t.dir?t.dir+a.sep:"")+(t.base||"")},a.parse=function(t){if(!o(t))throw new TypeError("Parameter 'pathString' must be a string, not "+typeof t);var e=c(t);if(!e||4!==e.length)throw new TypeError("Invalid path '"+t+"'");return e[1]=e[1]||"",e[2]=e[2]||"",e[3]=e[3]||"",{root:e[0],dir:e[0]+e[1].slice(0,e[1].length-1),base:e[2],ext:e[3],name:e[2].slice(0,e[2].length-e[3].length)}},a.sep="/",a.delimiter=":",t.exports=a},647:(t,e)=>{var n=Object.prototype.hasOwnProperty;function r(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(t){return null}}function o(t){try{return encodeURIComponent(t)}catch(t){return null}}e.stringify=function(t,e){e=e||"";var r,i,s=[];for(i in"string"!=typeof e&&(e="?"),t)if(n.call(t,i)){if((r=t[i])||null!=r&&!isNaN(r)||(r=""),i=o(i),r=o(r),null===i||null===r)continue;s.push(i+"="+r)}return s.length?e+s.join("&"):""},e.parse=function(t){for(var e,n=/([^=?#&]+)=?([^&]*)/g,o={};e=n.exec(t);){var i=r(e[1]),s=r(e[2]);null===i||null===s||i in o||(o[i]=s)}return o}},670:t=>{t.exports=function(t,e){if(e=e.split(":")[0],!(t=+t))return!1;switch(e){case"http":case"ws":return 80!==t;case"https":case"wss":return 443!==t;case"ftp":return 21!==t;case"gopher":return 70!==t;case"file":return!1}return 0!==t}},494:t=>{const e=/^[-+]?0x[a-fA-F0-9]+$/,n=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const r={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};t.exports=function(t){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(o=Object.assign({},r,o),!t||"string"!=typeof t)return t;let i=t.trim();if(void 0!==o.skipLike&&o.skipLike.test(i))return t;if(o.hex&&e.test(i))return Number.parseInt(i,16);{const e=n.exec(i);if(e){const n=e[1],r=e[2];let a=(s=e[3])&&-1!==s.indexOf(".")?("."===(s=s.replace(/0+$/,""))?s="0":"."===s[0]?s="0"+s:"."===s[s.length-1]&&(s=s.substr(0,s.length-1)),s):s;const c=e[4]||e[6];if(!o.leadingZeros&&r.length>0&&n&&"."!==i[2])return t;if(!o.leadingZeros&&r.length>0&&!n&&"."!==i[1])return t;{const e=Number(i),s=""+e;return-1!==s.search(/[eE]/)||c?o.eNotation?e:t:-1!==i.indexOf(".")?"0"===s&&""===a||s===a||n&&s==="-"+a?e:t:r?a===s||n+a===s?e:t:i===s||i===n+s?e:t}}return t}var s}},737:(t,e,n)=>{var r=n(670),o=n(647),i=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,s=/[\n\r\t]/g,a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,c=/:\d+$/,u=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,l=/^[a-zA-Z]:/;function f(t){return(t||"").toString().replace(i,"")}var h=[["#","hash"],["?","query"],function(t,e){return m(e.protocol)?t.replace(/\\/g,"/"):t},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],p={hash:1,query:1};function d(t){var e,n=("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{}).location||{},r={},o=typeof(t=t||n);if("blob:"===t.protocol)r=new v(unescape(t.pathname),{});else if("string"===o)for(e in r=new v(t,{}),p)delete r[e];else if("object"===o){for(e in t)e in p||(r[e]=t[e]);void 0===r.slashes&&(r.slashes=a.test(t.href))}return r}function m(t){return"file:"===t||"ftp:"===t||"http:"===t||"https:"===t||"ws:"===t||"wss:"===t}function g(t,e){t=(t=f(t)).replace(s,""),e=e||{};var n,r=u.exec(t),o=r[1]?r[1].toLowerCase():"",i=!!r[2],a=!!r[3],c=0;return i?a?(n=r[2]+r[3]+r[4],c=r[2].length+r[3].length):(n=r[2]+r[4],c=r[2].length):a?(n=r[3]+r[4],c=r[3].length):n=r[4],"file:"===o?c>=2&&(n=n.slice(2)):m(o)?n=r[4]:o?i&&(n=n.slice(2)):c>=2&&m(e.protocol)&&(n=r[4]),{protocol:o,slashes:i||m(o),slashesCount:c,rest:n}}function v(t,e,n){if(t=(t=f(t)).replace(s,""),!(this instanceof v))return new v(t,e,n);var i,a,c,u,p,y,b=h.slice(),E=typeof e,w=this,A=0;for("object"!==E&&"string"!==E&&(n=e,e=null),n&&"function"!=typeof n&&(n=o.parse),i=!(a=g(t||"",e=d(e))).protocol&&!a.slashes,w.slashes=a.slashes||i&&e.slashes,w.protocol=a.protocol||e.protocol||"",t=a.rest,("file:"===a.protocol&&(2!==a.slashesCount||l.test(t))||!a.slashes&&(a.protocol||a.slashesCount<2||!m(w.protocol)))&&(b[3]=[/(.*)/,"pathname"]);A<b.length;A++)"function"!=typeof(u=b[A])?(c=u[0],y=u[1],c!=c?w[y]=t:"string"==typeof c?~(p="@"===c?t.lastIndexOf(c):t.indexOf(c))&&("number"==typeof u[2]?(w[y]=t.slice(0,p),t=t.slice(p+u[2])):(w[y]=t.slice(p),t=t.slice(0,p))):(p=c.exec(t))&&(w[y]=p[1],t=t.slice(0,p.index)),w[y]=w[y]||i&&u[3]&&e[y]||"",u[4]&&(w[y]=w[y].toLowerCase())):t=u(t,w);n&&(w.query=n(w.query)),i&&e.slashes&&"/"!==w.pathname.charAt(0)&&(""!==w.pathname||""!==e.pathname)&&(w.pathname=function(t,e){if(""===t)return e;for(var n=(e||"/").split("/").slice(0,-1).concat(t.split("/")),r=n.length,o=n[r-1],i=!1,s=0;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),s++):s&&(0===r&&(i=!0),n.splice(r,1),s--);return i&&n.unshift(""),"."!==o&&".."!==o||n.push(""),n.join("/")}(w.pathname,e.pathname)),"/"!==w.pathname.charAt(0)&&m(w.protocol)&&(w.pathname="/"+w.pathname),r(w.port,w.protocol)||(w.host=w.hostname,w.port=""),w.username=w.password="",w.auth&&(~(p=w.auth.indexOf(":"))?(w.username=w.auth.slice(0,p),w.username=encodeURIComponent(decodeURIComponent(w.username)),w.password=w.auth.slice(p+1),w.password=encodeURIComponent(decodeURIComponent(w.password))):w.username=encodeURIComponent(decodeURIComponent(w.auth)),w.auth=w.password?w.username+":"+w.password:w.username),w.origin="file:"!==w.protocol&&m(w.protocol)&&w.host?w.protocol+"//"+w.host:"null",w.href=w.toString()}v.prototype={set:function(t,e,n){var i=this;switch(t){case"query":"string"==typeof e&&e.length&&(e=(n||o.parse)(e)),i[t]=e;break;case"port":i[t]=e,r(e,i.protocol)?e&&(i.host=i.hostname+":"+e):(i.host=i.hostname,i[t]="");break;case"hostname":i[t]=e,i.port&&(e+=":"+i.port),i.host=e;break;case"host":i[t]=e,c.test(e)?(e=e.split(":"),i.port=e.pop(),i.hostname=e.join(":")):(i.hostname=e,i.port="");break;case"protocol":i.protocol=e.toLowerCase(),i.slashes=!n;break;case"pathname":case"hash":if(e){var s="pathname"===t?"/":"#";i[t]=e.charAt(0)!==s?s+e:e}else i[t]=e;break;case"username":case"password":i[t]=encodeURIComponent(e);break;case"auth":var a=e.indexOf(":");~a?(i.username=e.slice(0,a),i.username=encodeURIComponent(decodeURIComponent(i.username)),i.password=e.slice(a+1),i.password=encodeURIComponent(decodeURIComponent(i.password))):i.username=encodeURIComponent(decodeURIComponent(e))}for(var u=0;u<h.length;u++){var l=h[u];l[4]&&(i[l[1]]=i[l[1]].toLowerCase())}return i.auth=i.password?i.username+":"+i.password:i.username,i.origin="file:"!==i.protocol&&m(i.protocol)&&i.host?i.protocol+"//"+i.host:"null",i.href=i.toString(),i},toString:function(t){t&&"function"==typeof t||(t=o.stringify);var e,n=this,r=n.host,i=n.protocol;i&&":"!==i.charAt(i.length-1)&&(i+=":");var s=i+(n.protocol&&n.slashes||m(n.protocol)?"//":"");return n.username?(s+=n.username,n.password&&(s+=":"+n.password),s+="@"):n.password?(s+=":"+n.password,s+="@"):"file:"!==n.protocol&&m(n.protocol)&&!r&&"/"!==n.pathname&&(s+="@"),(":"===r[r.length-1]||c.test(n.hostname)&&!n.port)&&(r+=":"),s+=r+n.pathname,(e="object"==typeof n.query?t(n.query):n.query)&&(s+="?"!==e.charAt(0)?"?"+e:e),n.hash&&(s+=n.hash),s}},v.extractProtocol=g,v.location=d,v.trimLeft=f,v.qs=o,t.exports=v},410:()=>{},388:()=>{},805:()=>{},345:()=>{},800:()=>{}},Ki={};function Ji(t){var e=Ki[t];if(void 0!==e)return e.exports;var n=Ki[t]={id:t,loaded:!1,exports:{}};return Yi[t].call(n.exports,n,n.exports,Ji),n.loaded=!0,n.exports}Ji.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return Ji.d(e,{a:e}),e},Ji.d=(t,e)=>{for(var n in e)Ji.o(e,n)&&!Ji.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},Ji.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),Ji.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var Zi={};Ji.d(Zi,{hT:()=>xs,O4:()=>Cs,Kd:()=>_s,YK:()=>Os,UU:()=>Yc,Gu:()=>Ps,ky:()=>Za,h4:()=>Ka,ch:()=>Ja,hq:()=>Ga,i5:()=>Qa});var Qi=Ji(737),ts=Ji.n(Qi);function es(t){if(!ns(t))throw new Error("Parameter was not an error")}function ns(t){return!!t&&"object"==typeof t&&"[object Error]"===(e=t,Object.prototype.toString.call(e))||t instanceof Error;var e}class rs extends Error{constructor(t,e){const n=[...arguments],{options:r,shortMessage:o}=function(t){let e,n="";if(0===t.length)e={};else if(ns(t[0]))e={cause:t[0]},n=t.slice(1).join(" ")||"";else if(t[0]&&"object"==typeof t[0])e=Object.assign({},t[0]),n=t.slice(1).join(" ")||"";else{if("string"!=typeof t[0])throw new Error("Invalid arguments passed to Layerr");e={},n=n=t.join(" ")||""}return{options:e,shortMessage:n}}(n);let i=o;if(r.cause&&(i=`${i}: ${r.cause.message}`),super(i),this.message=i,r.name&&"string"==typeof r.name?this.name=r.name:this.name="Layerr",r.cause&&Object.defineProperty(this,"_cause",{value:r.cause}),Object.defineProperty(this,"_info",{value:{}}),r.info&&"object"==typeof r.info&&Object.assign(this._info,r.info),Error.captureStackTrace){const t=r.constructorOpt||this.constructor;Error.captureStackTrace(this,t)}}static cause(t){return es(t),t._cause&&ns(t._cause)?t._cause:null}static fullStack(t){es(t);const e=rs.cause(t);return e?`${t.stack}\ncaused by: ${rs.fullStack(e)}`:t.stack??""}static info(t){es(t);const e={},n=rs.cause(t);return n&&Object.assign(e,rs.info(n)),t._info&&Object.assign(e,t._info),e}toString(){let t=this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(t=`${t}: ${this.message}`),t}}var os=Ji(47),is=Ji.n(os);const ss="__PATH_SEPARATOR_POSIX__",as="__PATH_SEPARATOR_WINDOWS__";function cs(t){try{const e=t.replace(/\//g,ss).replace(/\\\\/g,as);return encodeURIComponent(e).split(as).join("\\\\").split(ss).join("/")}catch(t){throw new rs(t,"Failed encoding path")}}function us(t){return t.startsWith("/")?t:"/"+t}function ls(t){let e=t;return"/"!==e[0]&&(e="/"+e),/^.+\/$/.test(e)&&(e=e.substr(0,e.length-1)),e}function fs(t){let e=new(ts())(t).pathname;return e.length<=0&&(e="/"),ls(e)}function hs(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(){return function(t){var e=[];if(0===t.length)return"";if("string"!=typeof t[0])throw new TypeError("Url must be a string. Received "+t[0]);if(t[0].match(/^[^/:]+:\/*$/)&&t.length>1){var n=t.shift();t[0]=n+t[0]}t[0].match(/^file:\/\/\//)?t[0]=t[0].replace(/^([^/:]+):\/*/,"$1:///"):t[0]=t[0].replace(/^([^/:]+):\/*/,"$1://");for(var r=0;r<t.length;r++){var o=t[r];if("string"!=typeof o)throw new TypeError("Url must be a string. Received "+o);""!==o&&(r>0&&(o=o.replace(/^[\/]+/,"")),o=r<t.length-1?o.replace(/[\/]+$/,""):o.replace(/[\/]+$/,"/"),e.push(o))}var i=e.join("/"),s=(i=i.replace(/\/(\?|&|#[^!])/g,"$1")).split("?");return s.shift()+(s.length>0?"?":"")+s.join("&")}("object"==typeof arguments[0]?arguments[0]:[].slice.call(arguments))}(e.reduce(((t,e,n)=>((0===n||"/"!==e||"/"===e&&"/"!==t[t.length-1])&&t.push(e),t)),[]))}var ps=Ji(542),ds=Ji.n(ps);function ms(t,e){const n=t.url.replace("//",""),r=-1==n.indexOf("/")?"/":n.slice(n.indexOf("/")),o=t.method?t.method.toUpperCase():"GET",i=!!/(^|,)\s*auth\s*($|,)/.test(e.qop)&&"auth",s=`00000000${e.nc}`.slice(-8),a=function(t,e,n,r,o,i,s){const a=s||ds()(`${e}:${n}:${r}`);return t&&"md5-sess"===t.toLowerCase()?ds()(`${a}:${o}:${i}`):a}(e.algorithm,e.username,e.realm,e.password,e.nonce,e.cnonce,e.ha1),c=ds()(`${o}:${r}`),u=i?ds()(`${a}:${e.nonce}:${s}:${e.cnonce}:${i}:${c}`):ds()(`${a}:${e.nonce}:${c}`),l={username:e.username,realm:e.realm,nonce:e.nonce,uri:r,qop:i,response:u,nc:s,cnonce:e.cnonce,algorithm:e.algorithm,opaque:e.opaque},f=[];for(const t in l)l[t]&&("qop"===t||"nc"===t||"algorithm"===t?f.push(`${t}=${l[t]}`):f.push(`${t}="${l[t]}"`));return`Digest ${f.join(", ")}`}function gs(t){return"digest"===(t.headers&&t.headers.get("www-authenticate")||"").split(/\s/)[0].toLowerCase()}var vs=Ji(101),ys=Ji.n(vs);function bs(t){return ys().decode(t)}function Es(t,e){var n;return`Basic ${n=`${t}:${e}`,ys().encode(n)}`}const ws="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:"undefined"!=typeof window?window:globalThis,As=ws.fetch.bind(ws),_s=(ws.Headers,ws.Request),Os=ws.Response;let xs=function(t){return t.Auto="auto",t.Digest="digest",t.None="none",t.Password="password",t.Token="token",t}({}),Cs=function(t){return t.DataTypeNoLength="data-type-no-length",t.InvalidAuthType="invalid-auth-type",t.InvalidOutputFormat="invalid-output-format",t.LinkUnsupportedAuthType="link-unsupported-auth",t.InvalidUpdateRange="invalid-update-range",t.NotSupported="not-supported",t}({});function Ns(t,e,n,r,o){switch(t.authType){case xs.Auto:e&&n&&(t.headers.Authorization=Es(e,n));break;case xs.Digest:t.digest=function(t,e,n){return{username:t,password:e,ha1:n,nc:0,algorithm:"md5",hasDigestAuth:!1}}(e,n,o);break;case xs.None:break;case xs.Password:t.headers.Authorization=Es(e,n);break;case xs.Token:t.headers.Authorization=`${(i=r).token_type} ${i.access_token}`;break;default:throw new rs({info:{code:Cs.InvalidAuthType}},`Invalid auth type: ${t.authType}`)}var i}Ji(345),Ji(800);const Ts="@@HOTPATCHER",Ss=()=>{};function Is(t){return{original:t,methods:[t],final:!1}}class Rs{constructor(){this._configuration={registry:{},getEmptyAction:"null"},this.__type__=Ts}get configuration(){return this._configuration}get getEmptyAction(){return this.configuration.getEmptyAction}set getEmptyAction(t){this.configuration.getEmptyAction=t}control(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t||t.__type__!==Ts)throw new Error("Failed taking control of target HotPatcher instance: Invalid type or object");return Object.keys(t.configuration.registry).forEach((n=>{this.configuration.registry.hasOwnProperty(n)?e&&(this.configuration.registry[n]=Object.assign({},t.configuration.registry[n])):this.configuration.registry[n]=Object.assign({},t.configuration.registry[n])})),t._configuration=this.configuration,this}execute(t){const e=this.get(t)||Ss;for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e(...r)}get(t){const e=this.configuration.registry[t];if(!e)switch(this.getEmptyAction){case"null":return null;case"throw":throw new Error(`Failed handling method request: No method provided for override: ${t}`);default:throw new Error(`Failed handling request which resulted in an empty method: Invalid empty-action specified: ${this.getEmptyAction}`)}return function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(0===e.length)throw new Error("Failed creating sequence: No functions provided");return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];let o=n;const i=this;for(;e.length>0;)o=[e.shift().apply(i,o)];return o[0]}}(...e.methods)}isPatched(t){return!!this.configuration.registry[t]}patch(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{chain:r=!1}=n;if(this.configuration.registry[t]&&this.configuration.registry[t].final)throw new Error(`Failed patching '${t}': Method marked as being final`);if("function"!=typeof e)throw new Error(`Failed patching '${t}': Provided method is not a function`);if(r)this.configuration.registry[t]?this.configuration.registry[t].methods.push(e):this.configuration.registry[t]=Is(e);else if(this.isPatched(t)){const{original:n}=this.configuration.registry[t];this.configuration.registry[t]=Object.assign(Is(e),{original:n})}else this.configuration.registry[t]=Is(e);return this}patchInline(t,e){this.isPatched(t)||this.patch(t,e);for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return this.execute(t,...r)}plugin(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return n.forEach((e=>{this.patch(t,e,{chain:!0})})),this}restore(t){if(!this.isPatched(t))throw new Error(`Failed restoring method: No method present for key: ${t}`);if("function"!=typeof this.configuration.registry[t].original)throw new Error(`Failed restoring method: Original method not found or of invalid type for key: ${t}`);return this.configuration.registry[t].methods=[this.configuration.registry[t].original],this}setFinal(t){if(!this.configuration.registry.hasOwnProperty(t))throw new Error(`Failed marking '${t}' as final: No method found for key`);return this.configuration.registry[t].final=!0,this}}let Ls=null;function Ps(){return Ls||(Ls=new Rs),Ls}function $s(t){return function(t){if("object"!=typeof t||null===t||"[object Object]"!=Object.prototype.toString.call(t))return!1;if(null===Object.getPrototypeOf(t))return!0;let e=t;for(;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t)?Object.assign({},t):Object.setPrototypeOf(Object.assign({},t),Object.getPrototypeOf(t))}function ks(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];let r=null,o=[...e];for(;o.length>0;){const t=o.shift();r=r?js(r,t):$s(t)}return r}function js(t,e){const n=$s(t);return Object.keys(e).forEach((t=>{n.hasOwnProperty(t)?Array.isArray(e[t])?n[t]=Array.isArray(n[t])?[...n[t],...e[t]]:[...e[t]]:"object"==typeof e[t]&&e[t]?n[t]="object"==typeof n[t]&&n[t]?js(n[t],e[t]):$s(e[t]):n[t]=e[t]:n[t]=e[t]})),n}function Ds(t){const e={};for(const n of t.keys())e[n]=t.get(n);return e}function Fs(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(0===e.length)return{};const r={};return e.reduce(((t,e)=>(Object.keys(e).forEach((n=>{const o=n.toLowerCase();r.hasOwnProperty(o)?t[r[o]]=e[n]:(r[o]=n,t[n]=e[n])})),t)),{})}Ji(805);const Ms="function"==typeof ArrayBuffer,{toString:Us}=Object.prototype;function Bs(t){return Ms&&(t instanceof ArrayBuffer||"[object ArrayBuffer]"===Us.call(t))}function Gs(t){return null!=t&&null!=t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function zs(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(t){return Promise.reject(t)}}}function Vs(t,e,n){return n?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Hs=zs((function(t){const e=t._digest;return delete t._digest,e.hasDigestAuth&&(t=ks(t,{headers:{Authorization:ms(t,e)}})),Vs(Ys(t),(function(n){let r=!1;return o=function(t){return r?t:n},(i=function(){if(401==n.status)return e.hasDigestAuth=function(t,e){if(!gs(t))return!1;const n=/([a-z0-9_-]+)=(?:"([^"]+)"|([a-z0-9_-]+))/gi;for(;;){const r=t.headers&&t.headers.get("www-authenticate")||"",o=n.exec(r);if(!o)break;e[o[1]]=o[2]||o[3]}return e.nc+=1,e.cnonce=function(){let t="";for(let e=0;e<32;++e)t=`${t}${"abcdef0123456789"[Math.floor(16*Math.random())]}`;return t}(),!0}(n,e),function(){if(e.hasDigestAuth)return Vs(Ys(t=ks(t,{headers:{Authorization:ms(t,e)}})),(function(t){return 401==t.status?e.hasDigestAuth=!1:e.nc++,r=!0,t}))}();e.nc++}())&&i.then?i.then(o):o(i);var o,i}))})),Ws=zs((function(t,e){return Vs(Ys(t),(function(n){return n.ok?(e.authType=xs.Password,n):401==n.status&&gs(n)?(e.authType=xs.Digest,Ns(e,e.username,e.password,void 0,void 0),t._digest=e.digest,Hs(t)):n}))})),qs=zs((function(t,e){return e.authType===xs.Auto?Ws(t,e):t._digest?Hs(t):Ys(t)}));function Xs(t,e,n){const r=$s(t);return r.headers=Fs(e.headers,r.headers||{},n.headers||{}),void 0!==n.data&&(r.data=n.data),n.signal&&(r.signal=n.signal),e.httpAgent&&(r.httpAgent=e.httpAgent),e.httpsAgent&&(r.httpsAgent=e.httpsAgent),e.digest&&(r._digest=e.digest),"boolean"==typeof e.withCredentials&&(r.withCredentials=e.withCredentials),r}function Ys(t){const e=Ps();return e.patchInline("request",(t=>e.patchInline("fetch",As,t.url,function(t){let e={};const n={method:t.method};if(t.headers&&(e=Fs(e,t.headers)),void 0!==t.data){const[r,o]=function(t){if("string"==typeof t)return[t,{}];if(Gs(t))return[t,{}];if(Bs(t))return[t,{}];if(t&&"object"==typeof t)return[JSON.stringify(t),{"content-type":"application/json"}];throw new Error("Unable to convert request body: Unexpected body type: "+typeof t)}(t.data);n.body=r,e=Fs(e,o)}return t.signal&&(n.signal=t.signal),t.withCredentials&&(n.credentials="include"),n.headers=e,n}(t))),t)}var Ks=Ji(285);const Js=t=>{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},Zs={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},Qs=t=>t.replace(/[[\]\\-]/g,"\\$&"),ta=t=>t.join(""),ea=(t,e)=>{const n=e;if("["!==t.charAt(n))throw new Error("not in a brace expression");const r=[],o=[];let i=n+1,s=!1,a=!1,c=!1,u=!1,l=n,f="";t:for(;i<t.length;){const e=t.charAt(i);if("!"!==e&&"^"!==e||i!==n+1){if("]"===e&&s&&!c){l=i+1;break}if(s=!0,"\\"!==e||c){if("["===e&&!c)for(const[e,[s,c,u]]of Object.entries(Zs))if(t.startsWith(e,i)){if(f)return["$.",!1,t.length-n,!0];i+=e.length,u?o.push(s):r.push(s),a=a||c;continue t}c=!1,f?(e>f?r.push(Qs(f)+"-"+Qs(e)):e===f&&r.push(Qs(e)),f="",i++):t.startsWith("-]",i+1)?(r.push(Qs(e+"-")),i+=2):t.startsWith("-",i+1)?(f=e,i+=2):(r.push(Qs(e)),i++)}else c=!0,i++}else u=!0,i++}if(l<i)return["",!1,0,!1];if(!r.length&&!o.length)return["$.",!1,t.length-n,!0];if(0===o.length&&1===r.length&&/^\\?.$/.test(r[0])&&!u)return[(h=2===r[0].length?r[0].slice(-1):r[0],h.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")),!1,l-n,!1];var h;const p="["+(u?"^":"")+ta(r)+"]",d="["+(u?"":"^")+ta(o)+"]";return[r.length&&o.length?"("+p+"|"+d+")":r.length?p:d,a,l-n,!0]},na=function(t){let{windowsPathsNoEscape:e=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")},ra=new Set(["!","?","+","*","@"]),oa=t=>ra.has(t),ia="(?!\\.)",sa=new Set(["[","."]),aa=new Set(["..","."]),ca=new Set("().*{}+?[]^$\\!"),ua="[^/]",la=ua+"*?",fa=ua+"+?";class ha{type;#t;#e;#n=!1;#r=[];#o;#i;#s;#a=!1;#c;#u;#l=!1;constructor(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.type=t,t&&(this.#e=!0),this.#o=e,this.#t=this.#o?this.#o.#t:this,this.#c=this.#t===this?n:this.#t.#c,this.#s=this.#t===this?[]:this.#t.#s,"!"!==t||this.#t.#a||this.#s.push(this),this.#i=this.#o?this.#o.#r.length:0}get hasMagic(){if(void 0!==this.#e)return this.#e;for(const t of this.#r)if("string"!=typeof t&&(t.type||t.hasMagic))return this.#e=!0;return this.#e}toString(){return void 0!==this.#u?this.#u:this.type?this.#u=this.type+"("+this.#r.map((t=>String(t))).join("|")+")":this.#u=this.#r.map((t=>String(t))).join("")}#f(){if(this!==this.#t)throw new Error("should only call on root");if(this.#a)return this;let t;for(this.toString(),this.#a=!0;t=this.#s.pop();){if("!"!==t.type)continue;let e=t,n=e.#o;for(;n;){for(let r=e.#i+1;!n.type&&r<n.#r.length;r++)for(const e of t.#r){if("string"==typeof e)throw new Error("string part in extglob AST??");e.copyIn(n.#r[r])}e=n,n=e.#o}}return this}push(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];for(const t of e)if(""!==t){if("string"!=typeof t&&!(t instanceof ha&&t.#o===this))throw new Error("invalid part: "+t);this.#r.push(t)}}toJSON(){const t=null===this.type?this.#r.slice().map((t=>"string"==typeof t?t:t.toJSON())):[this.type,...this.#r.map((t=>t.toJSON()))];return this.isStart()&&!this.type&&t.unshift([]),this.isEnd()&&(this===this.#t||this.#t.#a&&"!"===this.#o?.type)&&t.push({}),t}isStart(){if(this.#t===this)return!0;if(!this.#o?.isStart())return!1;if(0===this.#i)return!0;const t=this.#o;for(let e=0;e<this.#i;e++){const n=t.#r[e];if(!(n instanceof ha&&"!"===n.type))return!1}return!0}isEnd(){if(this.#t===this)return!0;if("!"===this.#o?.type)return!0;if(!this.#o?.isEnd())return!1;if(!this.type)return this.#o?.isEnd();const t=this.#o?this.#o.#r.length:0;return this.#i===t-1}copyIn(t){"string"==typeof t?this.push(t):this.push(t.clone(this))}clone(t){const e=new ha(this.type,t);for(const t of this.#r)e.copyIn(t);return e}static#h(t,e,n,r){let o=!1,i=!1,s=-1,a=!1;if(null===e.type){let c=n,u="";for(;c<t.length;){const n=t.charAt(c++);if(o||"\\"===n)o=!o,u+=n;else if(i)c===s+1?"^"!==n&&"!"!==n||(a=!0):"]"!==n||c===s+2&&a||(i=!1),u+=n;else if("["!==n)if(r.noext||!oa(n)||"("!==t.charAt(c))u+=n;else{e.push(u),u="";const o=new ha(n,e);c=ha.#h(t,o,c,r),e.push(o)}else i=!0,s=c,a=!1,u+=n}return e.push(u),c}let c=n+1,u=new ha(null,e);const l=[];let f="";for(;c<t.length;){const n=t.charAt(c++);if(o||"\\"===n)o=!o,f+=n;else if(i)c===s+1?"^"!==n&&"!"!==n||(a=!0):"]"!==n||c===s+2&&a||(i=!1),f+=n;else if("["!==n)if(oa(n)&&"("===t.charAt(c)){u.push(f),f="";const e=new ha(n,u);u.push(e),c=ha.#h(t,e,c,r)}else if("|"!==n){if(")"===n)return""===f&&0===e.#r.length&&(e.#l=!0),u.push(f),f="",e.push(...l,u),c;f+=n}else u.push(f),f="",l.push(u),u=new ha(null,e);else i=!0,s=c,a=!1,f+=n}return e.type=null,e.#e=void 0,e.#r=[t.substring(n-1)],c}static fromGlob(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new ha(null,void 0,e);return ha.#h(t,n,0,e),n}toMMPattern(){if(this!==this.#t)return this.#t.toMMPattern();const t=this.toString(),[e,n,r,o]=this.toRegExpSource();if(!(r||this.#e||this.#c.nocase&&!this.#c.nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()))return n;const i=(this.#c.nocase?"i":"")+(o?"u":"");return Object.assign(new RegExp(`^${e}$`,i),{_src:e,_glob:t})}get options(){return this.#c}toRegExpSource(t){const e=t??!!this.#c.dot;if(this.#t===this&&this.#f(),!this.type){const n=this.isStart()&&this.isEnd(),r=this.#r.map((e=>{const[r,o,i,s]="string"==typeof e?ha.#p(e,this.#e,n):e.toRegExpSource(t);return this.#e=this.#e||i,this.#n=this.#n||s,r})).join("");let o="";if(this.isStart()&&"string"==typeof this.#r[0]&&(1!==this.#r.length||!aa.has(this.#r[0]))){const n=sa,i=e&&n.has(r.charAt(0))||r.startsWith("\\.")&&n.has(r.charAt(2))||r.startsWith("\\.\\.")&&n.has(r.charAt(4)),s=!e&&!t&&n.has(r.charAt(0));o=i?"(?!(?:^|/)\\.\\.?(?:$|/))":s?ia:""}let i="";return this.isEnd()&&this.#t.#a&&"!"===this.#o?.type&&(i="(?:$|\\/)"),[o+r+i,na(r),this.#e=!!this.#e,this.#n]}const n="*"===this.type||"+"===this.type,r="!"===this.type?"(?:(?!(?:":"(?:";let o=this.#d(e);if(this.isStart()&&this.isEnd()&&!o&&"!"!==this.type){const t=this.toString();return this.#r=[t],this.type=null,this.#e=void 0,[t,na(this.toString()),!1,!1]}let i=!n||t||e?"":this.#d(!0);i===o&&(i=""),i&&(o=`(?:${o})(?:${i})*?`);let s="";return s="!"===this.type&&this.#l?(this.isStart()&&!e?ia:"")+fa:r+o+("!"===this.type?"))"+(!this.isStart()||e||t?"":ia)+la+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&i?")":"*"===this.type&&i?")?":`)${this.type}`),[s,na(o),this.#e=!!this.#e,this.#n]}#d(t){return this.#r.map((e=>{if("string"==typeof e)throw new Error("string type in extglob ast??");const[n,r,o,i]=e.toRegExpSource(t);return this.#n=this.#n||i,n})).filter((t=>!(this.isStart()&&this.isEnd()&&!t))).join("|")}static#p(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!1,o="",i=!1;for(let s=0;s<t.length;s++){const a=t.charAt(s);if(r)r=!1,o+=(ca.has(a)?"\\":"")+a;else if("\\"!==a){if("["===a){const[n,r,a,c]=ea(t,s);if(a){o+=n,i=i||r,s+=a-1,e=e||c;continue}}"*"!==a?"?"!==a?o+=a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):(o+=ua,e=!0):(o+=n&&"*"===t?fa:la,e=!0)}else s===t.length-1?o+="\\\\":r=!0}return[o,na(t),!!e,i]}}const pa=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Js(e),!(!n.nocomment&&"#"===e.charAt(0))&&new Ma(e,n).match(t)},da=/^\*+([^+@!?\*\[\(]*)$/,ma=t=>e=>!e.startsWith(".")&&e.endsWith(t),ga=t=>e=>e.endsWith(t),va=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),ya=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),ba=/^\*+\.\*+$/,Ea=t=>!t.startsWith(".")&&t.includes("."),wa=t=>"."!==t&&".."!==t&&t.includes("."),Aa=/^\.\*+$/,_a=t=>"."!==t&&".."!==t&&t.startsWith("."),Oa=/^\*+$/,xa=t=>0!==t.length&&!t.startsWith("."),Ca=t=>0!==t.length&&"."!==t&&".."!==t,Na=/^\?+([^+@!?\*\[\(]*)?$/,Ta=t=>{let[e,n=""]=t;const r=La([e]);return n?(n=n.toLowerCase(),t=>r(t)&&t.toLowerCase().endsWith(n)):r},Sa=t=>{let[e,n=""]=t;const r=Pa([e]);return n?(n=n.toLowerCase(),t=>r(t)&&t.toLowerCase().endsWith(n)):r},Ia=t=>{let[e,n=""]=t;const r=Pa([e]);return n?t=>r(t)&&t.endsWith(n):r},Ra=t=>{let[e,n=""]=t;const r=La([e]);return n?t=>r(t)&&t.endsWith(n):r},La=t=>{let[e]=t;const n=e.length;return t=>t.length===n&&!t.startsWith(".")},Pa=t=>{let[e]=t;const n=e.length;return t=>t.length===n&&"."!==t&&".."!==t},$a="object"==typeof Xi&&Xi?"object"==typeof Xi.env&&Xi.env&&Xi.env.__MINIMATCH_TESTING_PLATFORM__||Xi.platform:"posix";pa.sep="win32"===$a?"\\":"/";const ka=Symbol("globstar **");pa.GLOBSTAR=ka,pa.filter=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n=>pa(n,t,e)};const ja=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({},t,e)};pa.defaults=t=>{if(!t||"object"!=typeof t||!Object.keys(t).length)return pa;const e=pa;return Object.assign((function(n,r){return e(n,r,ja(t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}))}),{Minimatch:class extends e.Minimatch{constructor(e){super(e,ja(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))}static defaults(n){return e.defaults(ja(t,n)).Minimatch}},AST:class extends e.AST{constructor(e,n){super(e,n,ja(t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}))}static fromGlob(n){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.AST.fromGlob(n,ja(t,r))}},unescape:function(n){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.unescape(n,ja(t,r))},escape:function(n){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.escape(n,ja(t,r))},filter:function(n){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.filter(n,ja(t,r))},defaults:n=>e.defaults(ja(t,n)),makeRe:function(n){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.makeRe(n,ja(t,r))},braceExpand:function(n){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.braceExpand(n,ja(t,r))},match:function(n,r){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.match(n,r,ja(t,o))},sep:e.sep,GLOBSTAR:ka})};const Da=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Js(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Ks(t)};pa.braceExpand=Da,pa.makeRe=function(t){return new Ma(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).makeRe()},pa.match=function(t,e){const n=new Ma(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{});return t=t.filter((t=>n.match(t))),n.options.nonull&&!t.length&&t.push(e),t};const Fa=/[?*]|[+@!]\(.*?\)|\[|\]/;class Ma{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Js(t),e=e||{},this.options=e,this.pattern=t,this.platform=e.platform||$a,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!e.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!e.nonegate,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==e.windowsNoMagicRoot?e.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const e of t)if("string"!=typeof e)return!0;return!1}debug(){}make(){const t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],e.debug&&(this.debug=function(){return console.error(...arguments)}),this.debug(this.pattern,this.globSet);const n=this.globSet.map((t=>this.slashSplit(t)));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let r=this.globParts.map(((t,e,n)=>{if(this.isWindows&&this.windowsNoMagicRoot){const e=!(""!==t[0]||""!==t[1]||"?"!==t[2]&&Fa.test(t[2])||Fa.test(t[3])),n=/^[a-z]:/i.test(t[0]);if(e)return[...t.slice(0,4),...t.slice(4).map((t=>this.parse(t)))];if(n)return[t[0],...t.slice(1).map((t=>this.parse(t)))]}return t.map((t=>this.parse(t)))}));if(this.debug(this.pattern,r),this.set=r.filter((t=>-1===t.indexOf(!1))),this.isWindows)for(let t=0;t<this.set.length;t++){const e=this.set[t];""===e[0]&&""===e[1]&&"?"===this.globParts[t][2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])&&(e[2]="?")}this.debug(this.pattern,this.set)}preprocess(t){if(this.options.noglobstar)for(let e=0;e<t.length;e++)for(let n=0;n<t[e].length;n++)"**"===t[e][n]&&(t[e][n]="*");const{optimizationLevel:e=1}=this.options;return e>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=e>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map((t=>{let e=-1;for(;-1!==(e=t.indexOf("**",e+1));){let n=e;for(;"**"===t[n+1];)n++;n!==e&&t.splice(e,n-e)}return t}))}levelOneOptimize(t){return t.map((t=>0===(t=t.reduce(((t,e)=>{const n=t[t.length-1];return"**"===e&&"**"===n?t:".."===e&&n&&".."!==n&&"."!==n&&"**"!==n?(t.pop(),t):(t.push(e),t)}),[])).length?[""]:t))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let e=!1;do{if(e=!1,!this.preserveMultipleSlashes){for(let n=1;n<t.length-1;n++){const r=t[n];1===n&&""===r&&""===t[0]||"."!==r&&""!==r||(e=!0,t.splice(n,1),n--)}"."!==t[0]||2!==t.length||"."!==t[1]&&""!==t[1]||(e=!0,t.pop())}let n=0;for(;-1!==(n=t.indexOf("..",n+1));){const r=t[n-1];r&&"."!==r&&".."!==r&&"**"!==r&&(e=!0,t.splice(n-1,2),n-=2)}}while(e);return 0===t.length?[""]:t}firstPhasePreProcess(t){let e=!1;do{e=!1;for(let n of t){let r=-1;for(;-1!==(r=n.indexOf("**",r+1));){let o=r;for(;"**"===n[o+1];)o++;o>r&&n.splice(r+1,o-r);let i=n[r+1];const s=n[r+2],a=n[r+3];if(".."!==i)continue;if(!s||"."===s||".."===s||!a||"."===a||".."===a)continue;e=!0,n.splice(r,1);const c=n.slice(0);c[r]="**",t.push(c),r--}if(!this.preserveMultipleSlashes){for(let t=1;t<n.length-1;t++){const r=n[t];1===t&&""===r&&""===n[0]||"."!==r&&""!==r||(e=!0,n.splice(t,1),t--)}"."!==n[0]||2!==n.length||"."!==n[1]&&""!==n[1]||(e=!0,n.pop())}let o=0;for(;-1!==(o=n.indexOf("..",o+1));){const t=n[o-1];if(t&&"."!==t&&".."!==t&&"**"!==t){e=!0;const t=1===o&&"**"===n[o+1]?["."]:[];n.splice(o-1,2,...t),0===n.length&&n.push(""),o-=2}}}}while(e);return t}secondPhasePreProcess(t){for(let e=0;e<t.length-1;e++)for(let n=e+1;n<t.length;n++){const r=this.partsMatch(t[e],t[n],!this.preserveMultipleSlashes);if(r){t[e]=[],t[n]=r;break}}return t.filter((t=>t.length))}partsMatch(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=0,o=0,i=[],s="";for(;r<t.length&&o<e.length;)if(t[r]===e[o])i.push("b"===s?e[o]:t[r]),r++,o++;else if(n&&"**"===t[r]&&e[o]===t[r+1])i.push(t[r]),r++;else if(n&&"**"===e[o]&&t[r]===e[o+1])i.push(e[o]),o++;else if("*"!==t[r]||!e[o]||!this.options.dot&&e[o].startsWith(".")||"**"===e[o]){if("*"!==e[o]||!t[r]||!this.options.dot&&t[r].startsWith(".")||"**"===t[r])return!1;if("a"===s)return!1;s="b",i.push(e[o]),r++,o++}else{if("b"===s)return!1;s="a",i.push(t[r]),r++,o++}return t.length===e.length&&i}parseNegate(){if(this.nonegate)return;const t=this.pattern;let e=!1,n=0;for(let r=0;r<t.length&&"!"===t.charAt(r);r++)e=!e,n++;n&&(this.pattern=t.slice(n)),this.negate=e}matchOne(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=this.options;if(this.isWindows){const n="string"==typeof t[0]&&/^[a-z]:$/i.test(t[0]),r=!n&&""===t[0]&&""===t[1]&&"?"===t[2]&&/^[a-z]:$/i.test(t[3]),o="string"==typeof e[0]&&/^[a-z]:$/i.test(e[0]),i=r?3:n?0:void 0,s=!o&&""===e[0]&&""===e[1]&&"?"===e[2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])?3:o?0:void 0;if("number"==typeof i&&"number"==typeof s){const[n,r]=[t[i],e[s]];n.toLowerCase()===r.toLowerCase()&&(e[s]=n,s>i?e=e.slice(s):i>s&&(t=t.slice(i)))}}const{optimizationLevel:o=1}=this.options;o>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var i=0,s=0,a=t.length,c=e.length;i<a&&s<c;i++,s++){this.debug("matchOne loop");var u=e[s],l=t[i];if(this.debug(e,u,l),!1===u)return!1;if(u===ka){this.debug("GLOBSTAR",[e,u,l]);var f=i,h=s+1;if(h===c){for(this.debug("** at the end");i<a;i++)if("."===t[i]||".."===t[i]||!r.dot&&"."===t[i].charAt(0))return!1;return!0}for(;f<a;){var p=t[f];if(this.debug("\nglobstar while",t,f,e,h,p),this.matchOne(t.slice(f),e.slice(h),n))return this.debug("globstar found match!",f,a,p),!0;if("."===p||".."===p||!r.dot&&"."===p.charAt(0)){this.debug("dot detected!",t,f,e,h);break}this.debug("globstar swallow a segment, and continue"),f++}return!(!n||(this.debug("\n>>> no match, partial?",t,f,e,h),f!==a))}let o;if("string"==typeof u?(o=l===u,this.debug("string match",u,l,o)):(o=u.test(l),this.debug("pattern match",u,l,o)),!o)return!1}if(i===a&&s===c)return!0;if(i===a)return n;if(s===c)return i===a-1&&""===t[i];throw new Error("wtf?")}braceExpand(){return Da(this.pattern,this.options)}parse(t){Js(t);const e=this.options;if("**"===t)return ka;if(""===t)return"";let n,r=null;(n=t.match(Oa))?r=e.dot?Ca:xa:(n=t.match(da))?r=(e.nocase?e.dot?ya:va:e.dot?ga:ma)(n[1]):(n=t.match(Na))?r=(e.nocase?e.dot?Sa:Ta:e.dot?Ia:Ra)(n):(n=t.match(ba))?r=e.dot?wa:Ea:(n=t.match(Aa))&&(r=_a);const o=ha.fromGlob(t,this.options).toMMPattern();return r&&"object"==typeof o&&Reflect.defineProperty(o,"test",{value:r}),o}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const e=this.options,n=e.noglobstar?"[^/]*?":e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",r=new Set(e.nocase?["i"]:[]);let o=t.map((t=>{const e=t.map((t=>{if(t instanceof RegExp)for(const e of t.flags.split(""))r.add(e);return"string"==typeof t?t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):t===ka?ka:t._src}));return e.forEach(((t,r)=>{const o=e[r+1],i=e[r-1];t===ka&&i!==ka&&(void 0===i?void 0!==o&&o!==ka?e[r+1]="(?:\\/|"+n+"\\/)?"+o:e[r]=n:void 0===o?e[r-1]=i+"(?:\\/|"+n+")?":o!==ka&&(e[r-1]=i+"(?:\\/|\\/"+n+"\\/)"+o,e[r+1]=ka))})),e.filter((t=>t!==ka)).join("/")})).join("|");const[i,s]=t.length>1?["(?:",")"]:["",""];o="^"+i+o+s+"$",this.negate&&(o="^(?!"+o+").+$");try{this.regexp=new RegExp(o,[...r].join(""))}catch(t){this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.partial;if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;const n=this.options;this.isWindows&&(t=t.split("\\").join("/"));const r=this.slashSplit(t);this.debug(this.pattern,"split",r);const o=this.set;this.debug(this.pattern,"set",o);let i=r[r.length-1];if(!i)for(let t=r.length-2;!i&&t>=0;t--)i=r[t];for(let t=0;t<o.length;t++){const s=o[t];let a=r;if(n.matchBase&&1===s.length&&(a=[i]),this.matchOne(a,s,e))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate}static defaults(t){return pa.defaults(t).Minimatch}}function Ua(t){const e=new Error(`${arguments.length>1&&void 0!==arguments[1]?arguments[1]:""}Invalid response: ${t.status} ${t.statusText}`);return e.status=t.status,e.response=t,e}function Ba(t,e){const{status:n}=e;if(401===n&&t.digest)return e;if(n>=400)throw Ua(e);return e}function Ga(t,e){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?{data:e,headers:t.headers?Ds(t.headers):{},status:t.status,statusText:t.statusText}:e}pa.AST=ha,pa.Minimatch=Ma,pa.escape=function(t){let{windowsPathsNoEscape:e=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&")},pa.unescape=na;const za=(Va=function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=Xs({url:hs(t.remoteURL,cs(e)),method:"COPY",headers:{Destination:hs(t.remoteURL,cs(n)),Overwrite:!1===r.overwrite?"F":"T",Depth:r.shallow?"0":"infinity"}},t,r);return s=function(e){Ba(t,e)},(i=qs(o,t))&&i.then||(i=Promise.resolve(i)),s?i.then(s):i;var i,s},function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];try{return Promise.resolve(Va.apply(this,t))}catch(t){return Promise.reject(t)}});var Va,Ha=Ji(635),Wa=Ji(829),qa=Ji.n(Wa),Xa=function(t){return t.Array="array",t.Object="object",t.Original="original",t}(Xa||{});function Ya(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Xa.Original;const r=qa().get(t,e);return"array"===n&&!1===Array.isArray(r)?[r]:"object"===n&&Array.isArray(r)?r[0]:r}function Ka(t){return new Promise((e=>{e(function(t){const{multistatus:e}=t;if(""===e)return{multistatus:{response:[]}};if(!e)throw new Error("Invalid response: No root multistatus found");const n={multistatus:Array.isArray(e)?e[0]:e};return qa().set(n,"multistatus.response",Ya(n,"multistatus.response",Xa.Array)),qa().set(n,"multistatus.response",qa().get(n,"multistatus.response").map((t=>function(t){const e=Object.assign({},t);return e.status?qa().set(e,"status",Ya(e,"status",Xa.Object)):(qa().set(e,"propstat",Ya(e,"propstat",Xa.Object)),qa().set(e,"propstat.prop",Ya(e,"propstat.prop",Xa.Object))),e}(t)))),n}(new Ha.XMLParser({removeNSPrefix:!0,numberParseOptions:{hex:!0,leadingZeros:!1}}).parse(t)))}))}function Ja(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const{getlastmodified:r=null,getcontentlength:o="0",resourcetype:i=null,getcontenttype:s=null,getetag:a=null}=t,c=i&&"object"==typeof i&&void 0!==i.collection?"directory":"file",u={filename:e,basename:is().basename(e),lastmod:r,size:parseInt(o,10),type:c,etag:"string"==typeof a?a.replace(/"/g,""):null};return"file"===c&&(u.mime=s&&"string"==typeof s?s.split(";")[0]:""),n&&(void 0!==t.displayname&&(t.displayname=String(t.displayname)),u.props=t),u}function Za(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=null;try{t.multistatus.response[0].propstat&&(r=t.multistatus.response[0])}catch(t){}if(!r)throw new Error("Failed getting item stat: bad response");const{propstat:{prop:o,status:i}}=r,[s,a,c]=i.split(" ",3),u=parseInt(a,10);if(u>=400){const t=new Error(`Invalid response: ${u} ${c}`);throw t.status=u,t}return Ja(o,ls(e),n)}function Qa(t){switch(String(t)){case"-3":return"unlimited";case"-2":case"-1":return"unknown";default:return parseInt(String(t),10)}}function tc(t,e,n){return n?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const ec=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(t){return Promise.reject(t)}}}((function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{details:r=!1}=n,o=Xs({url:hs(t.remoteURL,cs(e)),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},t,n);return tc(qs(o,t),(function(n){return Ba(t,n),tc(n.text(),(function(t){return tc(Ka(t),(function(t){const o=Za(t,e,r);return Ga(n,o,r)}))}))}))}));function nc(t,e,n){return n?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const rc=oc((function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=function(t){if(!t||"/"===t)return[];let e=t;const n=[];do{n.push(e),e=is().dirname(e)}while(e&&"/"!==e);return n}(ls(e));r.sort(((t,e)=>t.length>e.length?1:e.length>t.length?-1:0));let o=!1;return function(t,e,n){if("function"==typeof t[ac]){var r,o,i,s=t[ac]();function l(t){try{for(;!(r=s.next()).done;)if((t=e(r.value))&&t.then){if(!lc(t))return void t.then(l,i||(i=cc.bind(null,o=new uc,2)));t=t.v}o?cc(o,1,t):o=t}catch(t){cc(o||(o=new uc),2,t)}}if(l(),s.return){var a=function(t){try{r.done||s.return()}catch(t){}return t};if(o&&o.then)return o.then(a,(function(t){throw a(t)}));a()}return o}if(!("length"in t))throw new TypeError("Object is not iterable");for(var c=[],u=0;u<t.length;u++)c.push(t[u]);return function(t,e,n){var r,o,i=-1;return function s(a){try{for(;++i<t.length&&(!n||!n());)if((a=e(i))&&a.then){if(!lc(a))return void a.then(s,o||(o=cc.bind(null,r=new uc,2)));a=a.v}r?cc(r,1,a):r=a}catch(t){cc(r||(r=new uc),2,t)}}(),r}(c,(function(t){return e(c[t])}),(function(){return!1}))}(r,(function(r){return i=function(){return function(n,o){try{var i=nc(ec(t,r),(function(t){if("directory"!==t.type)throw new Error(`Path includes a file: ${e}`)}))}catch(t){return o(t)}return i&&i.then?i.then(void 0,o):i}(0,(function(e){const i=e;return function(){if(404===i.status)return o=!0,sc(fc(t,r,{...n,recursive:!1}));throw e}()}))},(s=function(){if(o)return sc(fc(t,r,{...n,recursive:!1}))}())&&s.then?s.then(i):i();var i,s}))}));function oc(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(t){return Promise.reject(t)}}}function ic(){}function sc(t,e){if(!e)return t&&t.then?t.then(ic):Promise.resolve()}const ac="undefined"!=typeof Symbol?Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator")):"@@iterator";function cc(t,e,n){if(!t.s){if(n instanceof uc){if(!n.s)return void(n.o=cc.bind(null,t,e));1&e&&(e=n.s),n=n.v}if(n&&n.then)return void n.then(cc.bind(null,t,e),cc.bind(null,t,2));t.s=e,t.v=n;const r=t.o;r&&r(t)}}const uc=function(){function t(){}return t.prototype.then=function(e,n){const r=new t,o=this.s;if(o){const t=1&o?e:n;if(t){try{cc(r,1,t(this.v))}catch(t){cc(r,2,t)}return r}return this}return this.o=function(t){try{const o=t.v;1&t.s?cc(r,1,e?e(o):o):n?cc(r,1,n(o)):cc(r,2,o)}catch(t){cc(r,2,t)}},r},t}();function lc(t){return t instanceof uc&&1&t.s}const fc=oc((function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!0===n.recursive)return rc(t,e,n);const r=Xs({url:hs(t.remoteURL,(o=cs(e),o.endsWith("/")?o:o+"/")),method:"MKCOL"},t,n);var o;return nc(qs(r,t),(function(e){Ba(t,e)}))}));var hc=Ji(388),pc=Ji.n(hc);const dc=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(t){return Promise.reject(t)}}}((function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r={};if("object"==typeof n.range&&"number"==typeof n.range.start){let t=`bytes=${n.range.start}-`;"number"==typeof n.range.end&&(t=`${t}${n.range.end}`),r.Range=t}const o=Xs({url:hs(t.remoteURL,cs(e)),method:"GET",headers:r},t,n);return s=function(e){if(Ba(t,e),r.Range&&206!==e.status){const t=new Error(`Invalid response code for partial request: ${e.status}`);throw t.status=e.status,t}return n.callback&&setTimeout((()=>{n.callback(e)}),0),e.body},(i=qs(o,t))&&i.then||(i=Promise.resolve(i)),s?i.then(s):i;var i,s})),mc=()=>{},gc=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(t){return Promise.reject(t)}}}((function(t,e,n){n.url||(n.url=hs(t.remoteURL,cs(e)));const r=Xs(n,t,{});return i=function(e){return Ba(t,e),e},(o=qs(r,t))&&o.then||(o=Promise.resolve(o)),i?o.then(i):o;var o,i})),vc=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(t){return Promise.reject(t)}}}((function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=Xs({url:hs(t.remoteURL,cs(e)),method:"DELETE"},t,n);return i=function(e){Ba(t,e)},(o=qs(r,t))&&o.then||(o=Promise.resolve(o)),i?o.then(i):o;var o,i})),yc=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(t){return Promise.reject(t)}}}((function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(r,o){try{var i=(s=ec(t,e,n),a=function(){return!0},s&&s.then||(s=Promise.resolve(s)),a?s.then(a):s)}catch(t){return o(t)}var s,a;return i&&i.then?i.then(void 0,o):i}(0,(function(t){if(404===t.status)return!1;throw t}))}));function bc(t,e,n){return n?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Ec=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(t){return Promise.reject(t)}}}((function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=Xs({url:hs(t.remoteURL,cs(e),"/"),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:n.deep?"infinity":"1"}},t,n);return bc(qs(r,t),(function(r){return Ba(t,r),bc(r.text(),(function(o){if(!o)throw new Error("Failed parsing directory contents: Empty response");return bc(Ka(o),(function(o){const i=us(e);let s=function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];const i=is().join(e,"/"),{multistatus:{response:s}}=t,a=s.map((t=>{const e=function(t){try{return t.replace(/^https?:\/\/[^\/]+/,"")}catch(t){throw new rs(t,"Failed normalising HREF")}}(t.href),{propstat:{prop:n}}=t;return Ja(n,"/"===i?decodeURIComponent(ls(e)):ls(is().relative(decodeURIComponent(i),decodeURIComponent(e))),r)}));return o?a:a.filter((t=>t.basename&&("file"===t.type||t.filename!==n.replace(/\/$/,""))))}(o,us(t.remoteBasePath||t.remotePath),i,n.details,n.includeSelf);return n.glob&&(s=function(t,e){return t.filter((t=>pa(t.filename,e,{matchBase:!0})))}(s,n.glob)),Ga(r,s,n.details)}))}))}))}));function wc(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(t){return Promise.reject(t)}}}const Ac=wc((function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=Xs({url:hs(t.remoteURL,cs(e)),method:"GET",headers:{Accept:"text/plain"},transformResponse:[Cc]},t,n);return _c(qs(r,t),(function(e){return Ba(t,e),_c(e.text(),(function(t){return Ga(e,t,n.details)}))}))}));function _c(t,e,n){return n?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Oc=wc((function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=Xs({url:hs(t.remoteURL,cs(e)),method:"GET"},t,n);return _c(qs(r,t),(function(e){let r;return Ba(t,e),function(t,e){var n=t();return n&&n.then?n.then(e):e()}((function(){return _c(e.arrayBuffer(),(function(t){r=t}))}),(function(){return Ga(e,r,n.details)}))}))})),xc=wc((function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{format:r="binary"}=n;if("binary"!==r&&"text"!==r)throw new rs({info:{code:Cs.InvalidOutputFormat}},`Invalid output format: ${r}`);return"text"===r?Ac(t,e,n):Oc(t,e,n)})),Cc=t=>t;function Nc(t){return new Ha.XMLBuilder({attributeNamePrefix:"@_",format:!0,ignoreAttributes:!1,suppressEmptyNode:!0}).build(Tc({lockinfo:{"@_xmlns:d":"DAV:",lockscope:{exclusive:{}},locktype:{write:{}},owner:{href:t}}},"d"))}function Tc(t,e){const n={...t};for(const t in n)n.hasOwnProperty(t)&&(n[t]&&"object"==typeof n[t]&&-1===t.indexOf(":")?(n[`${e}:${t}`]=Tc(n[t],e),delete n[t]):!1===/^@_/.test(t)&&(n[`${e}:${t}`]=n[t],delete n[t]));return n}function Sc(t,e,n){return n?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}function Ic(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(t){return Promise.reject(t)}}}const Rc=Ic((function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=Xs({url:hs(t.remoteURL,cs(e)),method:"UNLOCK",headers:{"Lock-Token":n}},t,r);return Sc(qs(o,t),(function(e){if(Ba(t,e),204!==e.status&&200!==e.status)throw Ua(e)}))})),Lc=Ic((function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{refreshToken:r,timeout:o=Pc}=n,i={Accept:"text/plain,application/xml",Timeout:o};r&&(i.If=r);const s=Xs({url:hs(t.remoteURL,cs(e)),method:"LOCK",headers:i,data:Nc(t.contactHref)},t,n);return Sc(qs(s,t),(function(e){return Ba(t,e),Sc(e.text(),(function(t){const n=(i=t,new Ha.XMLParser({removeNSPrefix:!0,parseAttributeValue:!0,parseTagValue:!0}).parse(i)),r=qa().get(n,"prop.lockdiscovery.activelock.locktoken.href"),o=qa().get(n,"prop.lockdiscovery.activelock.timeout");var i;if(!r)throw Ua(e,"No lock token received: ");return{token:r,serverTimeout:o}}))}))})),Pc="Infinite, Second-4100000000";function $c(t,e,n){return n?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const kc=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(t){return Promise.reject(t)}}}((function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=e.path||"/",r=Xs({url:hs(t.remoteURL,n),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},t,e);return $c(qs(r,t),(function(n){return Ba(t,n),$c(n.text(),(function(t){return $c(Ka(t),(function(t){const r=function(t){try{const[e]=t.multistatus.response,{propstat:{prop:{"quota-used-bytes":n,"quota-available-bytes":r}}}=e;return void 0!==n&&void 0!==r?{used:parseInt(String(n),10),available:Qa(r)}:null}catch(t){}return null}(t);return Ga(n,r,e.details)}))}))}))}));function jc(t,e,n){return n?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Dc=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(t){return Promise.reject(t)}}}((function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{details:r=!1}=n,o=Xs({url:hs(t.remoteURL,cs(e)),method:"SEARCH",headers:{Accept:"text/plain,application/xml","Content-Type":t.headers["Content-Type"]||"application/xml; charset=utf-8"}},t,n);return jc(qs(o,t),(function(n){return Ba(t,n),jc(n.text(),(function(t){return jc(Ka(t),(function(t){const o=function(t,e,n){const r={truncated:!1,results:[]};return r.truncated=t.multistatus.response.some((t=>"507"===(t.status||t.propstat?.status).split(" ",3)?.[1]&&t.href.replace(/\/$/,"").endsWith(cs(e).replace(/\/$/,"")))),t.multistatus.response.forEach((t=>{if(void 0===t.propstat)return;const e=t.href.split("/").map(decodeURIComponent).join("/");r.results.push(Ja(t.propstat.prop,e,n))})),r}(t,e,r);return Ga(n,o,r)}))}))}))})),Fc=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(t){return Promise.reject(t)}}}((function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=Xs({url:hs(t.remoteURL,cs(e)),method:"MOVE",headers:{Destination:hs(t.remoteURL,cs(n)),Overwrite:!1===r.overwrite?"F":"T"}},t,r);return s=function(e){Ba(t,e)},(i=qs(o,t))&&i.then||(i=Promise.resolve(i)),s?i.then(s):i;var i,s}));var Mc=Ji(172);const Uc=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(t){return Promise.reject(t)}}}((function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const{contentLength:o=!0,overwrite:i=!0}=r,s={"Content-Type":"application/octet-stream"};!1===o||(s["Content-Length"]="number"==typeof o?`${o}`:`${function(t){if(Bs(t))return t.byteLength;if(Gs(t))return t.length;if("string"==typeof t)return(0,Mc.d)(t);throw new rs({info:{code:Cs.DataTypeNoLength}},"Cannot calculate data length: Invalid type")}(n)}`),i||(s["If-None-Match"]="*");const a=Xs({url:hs(t.remoteURL,cs(e)),method:"PUT",headers:s,data:n},t,r);return u=function(e){try{Ba(t,e)}catch(t){const e=t;if(412!==e.status||i)throw e;return!1}return!0},(c=qs(a,t))&&c.then||(c=Promise.resolve(c)),u?c.then(u):c;var c,u})),Bc=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(t){return Promise.reject(t)}}}((function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=Xs({url:hs(t.remoteURL,cs(e)),method:"OPTIONS"},t,n);return i=function(e){try{Ba(t,e)}catch(t){throw t}return{compliance:(e.headers.get("DAV")??"").split(",").map((t=>t.trim())),server:e.headers.get("Server")??""}},(o=qs(r,t))&&o.then||(o=Promise.resolve(o)),i?o.then(i):o;var o,i}));function Gc(t,e,n){return n?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const zc=Wc((function(t,e,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(n>r||n<0)throw new rs({info:{code:Cs.InvalidUpdateRange}},`Invalid update range ${n} for partial update`);const s={"Content-Type":"application/octet-stream","Content-Length":""+(r-n+1),"Content-Range":`bytes ${n}-${r}/*`},a=Xs({url:hs(t.remoteURL,cs(e)),method:"PUT",headers:s,data:o},t,i);return Gc(qs(a,t),(function(e){Ba(t,e)}))}));function Vc(t,e){var n=t();return n&&n.then?n.then(e):e(n)}const Hc=Wc((function(t,e,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(n>r||n<0)throw new rs({info:{code:Cs.InvalidUpdateRange}},`Invalid update range ${n} for partial update`);const s={"Content-Type":"application/x-sabredav-partialupdate","Content-Length":""+(r-n+1),"X-Update-Range":`bytes=${n}-${r}`},a=Xs({url:hs(t.remoteURL,cs(e)),method:"PATCH",headers:s,data:o},t,i);return Gc(qs(a,t),(function(e){Ba(t,e)}))}));function Wc(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(t){return Promise.reject(t)}}}const qc=Wc((function(t,e,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return Gc(Bc(t,e,i),(function(s){let a=!1;return Vc((function(){if(s.compliance.includes("sabredav-partialupdate"))return Gc(Hc(t,e,n,r,o,i),(function(t){return a=!0,t}))}),(function(c){let u=!1;return a?c:Vc((function(){if(s.server.includes("Apache")&&s.compliance.includes("<http://apache.org/dav/propset/fs/1>"))return Gc(zc(t,e,n,r,o,i),(function(t){return u=!0,t}))}),(function(t){if(u)return t;throw new rs({info:{code:Cs.NotSupported}},"Not supported")}))}))}))})),Xc="https://github.com/perry-mitchell/webdav-client/blob/master/LOCK_CONTACT.md";function Yc(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{authType:n=null,remoteBasePath:r,contactHref:o=Xc,ha1:i,headers:s={},httpAgent:a,httpsAgent:c,password:u,token:l,username:f,withCredentials:h}=e;let p=n;p||(p=f||u?xs.Password:xs.None);const d={authType:p,remoteBasePath:r,contactHref:o,ha1:i,headers:Object.assign({},s),httpAgent:a,httpsAgent:c,password:u,remotePath:fs(t),remoteURL:t,token:l,username:f,withCredentials:h};return Ns(d,f,u,l,i),{copyFile:(t,e,n)=>za(d,t,e,n),createDirectory:(t,e)=>fc(d,t,e),createReadStream:(t,e)=>function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=new(0,pc().PassThrough);return dc(t,e,n).then((t=>{t.pipe(r)})).catch((t=>{r.emit("error",t)})),r}(d,t,e),createWriteStream:(t,e,n)=>function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:mc;const o=new(0,pc().PassThrough),i={};!1===n.overwrite&&(i["If-None-Match"]="*");const s=Xs({url:hs(t.remoteURL,cs(e)),method:"PUT",headers:i,data:o,maxRedirects:0},t,n);return qs(s,t).then((e=>Ba(t,e))).then((t=>{setTimeout((()=>{r(t)}),0)})).catch((t=>{o.emit("error",t)})),o}(d,t,e,n),customRequest:(t,e)=>gc(d,t,e),deleteFile:(t,e)=>vc(d,t,e),exists:(t,e)=>yc(d,t,e),getDirectoryContents:(t,e)=>Ec(d,t,e),getFileContents:(t,e)=>xc(d,t,e),getFileDownloadLink:t=>function(t,e){let n=hs(t.remoteURL,cs(e));const r=/^https:/i.test(n)?"https":"http";switch(t.authType){case xs.None:break;case xs.Password:{const e=bs(t.headers.Authorization.replace(/^Basic /i,"").trim());n=n.replace(/^https?:\/\//,`${r}://${e}@`);break}default:throw new rs({info:{code:Cs.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${t.authType}`)}return n}(d,t),getFileUploadLink:t=>function(t,e){let n=`${hs(t.remoteURL,cs(e))}?Content-Type=application/octet-stream`;const r=/^https:/i.test(n)?"https":"http";switch(t.authType){case xs.None:break;case xs.Password:{const e=bs(t.headers.Authorization.replace(/^Basic /i,"").trim());n=n.replace(/^https?:\/\//,`${r}://${e}@`);break}default:throw new rs({info:{code:Cs.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${t.authType}`)}return n}(d,t),getHeaders:()=>Object.assign({},d.headers),getQuota:t=>kc(d,t),lock:(t,e)=>Lc(d,t,e),moveFile:(t,e,n)=>Fc(d,t,e,n),putFileContents:(t,e,n)=>Uc(d,t,e,n),partialUpdateFileContents:(t,e,n,r,o)=>qc(d,t,e,n,r,o),getDAVCompliance:t=>Bc(d,t),search:(t,e)=>Dc(d,t,e),setHeaders:t=>{d.headers=Object.assign({},t)},stat:(t,e)=>ec(d,t,e),unlock:(t,e,n)=>Rc(d,t,e,n)}}function Kc(t,e,n){const r=document.querySelector(`#initial-state-${t}-${e}`);if(null===r){if(void 0!==n)return n;throw new Error(`Could not find initial state ${e} of ${t}`)}try{return JSON.parse(atob(r.value))}catch(n){throw new Error(`Could not parse initial state ${e} of ${t}`)}}function Jc(){return Kc("files_sharing","isPublic",null)??null!==document.querySelector('input#isPublic[type="hidden"][name="isPublic"][value="1"]')}var Zc=n(42838),Qc=n(70580);function tu(t){var e,n,r,o;return{translations:null!=(n=null==(e=window._oc_l10n_registry_translations)?void 0:e[t])?n:{},pluralFunction:null!=(o=null==(r=window._oc_l10n_registry_plural_functions)?void 0:r[t])?o:t=>t}}function eu(t,e,n,r,o){const i={escape:!0,sanitize:!0,...o||{}},s=t=>t,a=i.sanitize?Zc.sanitize:s,c=i.escape?Qc:s,u=t=>"string"==typeof t||"number"==typeof t;let l=tu(t).translations[e]||e;return l=Array.isArray(l)?l[0]:l,a("object"==typeof n||void 0!==r?(f=n,h=r,l.replace(/%n/g,""+h).replace(/{([^{}]*)}/g,((t,e)=>{if(void 0===f||!(e in f))return c(t);const n=f[e];return u(n)?c("".concat(n)):"object"==typeof n&&u(n.value)?(!1!==n.escape?Qc:s)("".concat(n.value)):c(t)}))):l);var f,h}EventTarget;var nu=n(65606);const ru=Gi().setApp("@nextcloud/files").detectUser().build();Jc()?Kc("files_sharing","sharingToken",null)??document.querySelector('input#sharingToken[type="hidden"]'):Pi();!function(){const t=((t,e)=>{var n;return(null!=(n=null==e?void 0:e.baseURL)?n:Wi())+(t=>"/remote.php/"+t)(t)})("dav");Jc()&&t.replace("remote.php","public.php")}();Error;var ou={},iu={};!function(t){const e=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",n="["+e+"]["+(e+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040")+"]*",r=new RegExp("^"+n+"$");t.isExist=function(t){return void 0!==t},t.isEmptyObject=function(t){return 0===Object.keys(t).length},t.merge=function(t,e,n){if(e){const r=Object.keys(e),o=r.length;for(let i=0;i<o;i++)t[r[i]]="strict"===n?[e[r[i]]]:e[r[i]]}},t.getValue=function(e){return t.isExist(e)?e:""},t.isName=function(t){const e=r.exec(t);return!(null==e)},t.getAllMatches=function(t,e){const n=[];let r=e.exec(t);for(;r;){const o=[];o.startIndex=e.lastIndex-r[0].length;const i=r.length;for(let t=0;t<i;t++)o.push(r[t]);n.push(o),r=e.exec(t)}return n},t.nameRegexp=n}(iu);const su=iu,au={allowBooleanAttributes:!1,unpairedTags:[]};function cu(t){return" "===t||"\t"===t||"\n"===t||"\r"===t}function uu(t,e){const n=e;for(;e<t.length;e++)if("?"!=t[e]&&" "!=t[e]);else{const r=t.substr(n,e-n);if(e>5&&"xml"===r)return vu("InvalidXml","XML declaration allowed only at the start of the document.",bu(t,e));if("?"==t[e]&&">"==t[e+1]){e++;break}}return e}function lu(t,e){if(t.length>e+5&&"-"===t[e+1]&&"-"===t[e+2]){for(e+=3;e<t.length;e++)if("-"===t[e]&&"-"===t[e+1]&&">"===t[e+2]){e+=2;break}}else if(t.length>e+8&&"D"===t[e+1]&&"O"===t[e+2]&&"C"===t[e+3]&&"T"===t[e+4]&&"Y"===t[e+5]&&"P"===t[e+6]&&"E"===t[e+7]){let n=1;for(e+=8;e<t.length;e++)if("<"===t[e])n++;else if(">"===t[e]&&(n--,0===n))break}else if(t.length>e+9&&"["===t[e+1]&&"C"===t[e+2]&&"D"===t[e+3]&&"A"===t[e+4]&&"T"===t[e+5]&&"A"===t[e+6]&&"["===t[e+7])for(e+=8;e<t.length;e++)if("]"===t[e]&&"]"===t[e+1]&&">"===t[e+2]){e+=2;break}return e}ou.validate=function(t,e){e=Object.assign({},au,e);const n=[];let r=!1,o=!1;"\ufeff"===t[0]&&(t=t.substr(1));for(let s=0;s<t.length;s++)if("<"===t[s]&&"?"===t[s+1]){if(s+=2,s=uu(t,s),s.err)return s}else{if("<"!==t[s]){if(cu(t[s]))continue;return vu("InvalidChar","char '"+t[s]+"' is not expected.",bu(t,s))}{let a=s;if(s++,"!"===t[s]){s=lu(t,s);continue}{let c=!1;"/"===t[s]&&(c=!0,s++);let u="";for(;s<t.length&&">"!==t[s]&&" "!==t[s]&&"\t"!==t[s]&&"\n"!==t[s]&&"\r"!==t[s];s++)u+=t[s];if(u=u.trim(),"/"===u[u.length-1]&&(u=u.substring(0,u.length-1),s--),i=u,!su.isName(i)){let e;return e=0===u.trim().length?"Invalid space after '<'.":"Tag '"+u+"' is an invalid name.",vu("InvalidTag",e,bu(t,s))}const l=pu(t,s);if(!1===l)return vu("InvalidAttr","Attributes for '"+u+"' have open quote.",bu(t,s));let f=l.value;if(s=l.index,"/"===f[f.length-1]){const n=s-f.length;f=f.substring(0,f.length-1);const o=mu(f,e);if(!0!==o)return vu(o.err.code,o.err.msg,bu(t,n+o.err.line));r=!0}else if(c){if(!l.tagClosed)return vu("InvalidTag","Closing tag '"+u+"' doesn't have proper closing.",bu(t,s));if(f.trim().length>0)return vu("InvalidTag","Closing tag '"+u+"' can't have attributes or invalid starting.",bu(t,a));if(0===n.length)return vu("InvalidTag","Closing tag '"+u+"' has not been opened.",bu(t,a));{const e=n.pop();if(u!==e.tagName){let n=bu(t,e.tagStartPos);return vu("InvalidTag","Expected closing tag '"+e.tagName+"' (opened in line "+n.line+", col "+n.col+") instead of closing tag '"+u+"'.",bu(t,a))}0==n.length&&(o=!0)}}else{const i=mu(f,e);if(!0!==i)return vu(i.err.code,i.err.msg,bu(t,s-f.length+i.err.line));if(!0===o)return vu("InvalidXml","Multiple possible root nodes found.",bu(t,s));-1!==e.unpairedTags.indexOf(u)||n.push({tagName:u,tagStartPos:a}),r=!0}for(s++;s<t.length;s++)if("<"===t[s]){if("!"===t[s+1]){s++,s=lu(t,s);continue}if("?"!==t[s+1])break;if(s=uu(t,++s),s.err)return s}else if("&"===t[s]){const e=gu(t,s);if(-1==e)return vu("InvalidChar","char '&' is not expected.",bu(t,s));s=e}else if(!0===o&&!cu(t[s]))return vu("InvalidXml","Extra text at the end",bu(t,s));"<"===t[s]&&s--}}}var i;return r?1==n.length?vu("InvalidTag","Unclosed tag '"+n[0].tagName+"'.",bu(t,n[0].tagStartPos)):!(n.length>0)||vu("InvalidXml","Invalid '"+JSON.stringify(n.map((t=>t.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):vu("InvalidXml","Start tag expected.",1)};const fu='"',hu="'";function pu(t,e){let n="",r="",o=!1;for(;e<t.length;e++){if(t[e]===fu||t[e]===hu)""===r?r=t[e]:r!==t[e]||(r="");else if(">"===t[e]&&""===r){o=!0;break}n+=t[e]}return""===r&&{value:n,index:e,tagClosed:o}}const du=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function mu(t,e){const n=su.getAllMatches(t,du),r={};for(let t=0;t<n.length;t++){if(0===n[t][1].length)return vu("InvalidAttr","Attribute '"+n[t][2]+"' has no space in starting.",Eu(n[t]));if(void 0!==n[t][3]&&void 0===n[t][4])return vu("InvalidAttr","Attribute '"+n[t][2]+"' is without value.",Eu(n[t]));if(void 0===n[t][3]&&!e.allowBooleanAttributes)return vu("InvalidAttr","boolean attribute '"+n[t][2]+"' is not allowed.",Eu(n[t]));const o=n[t][2];if(!yu(o))return vu("InvalidAttr","Attribute '"+o+"' is an invalid name.",Eu(n[t]));if(r.hasOwnProperty(o))return vu("InvalidAttr","Attribute '"+o+"' is repeated.",Eu(n[t]));r[o]=1}return!0}function gu(t,e){if(";"===t[++e])return-1;if("#"===t[e])return function(t,e){let n=/\d/;for("x"===t[e]&&(e++,n=/[\da-fA-F]/);e<t.length;e++){if(";"===t[e])return e;if(!t[e].match(n))break}return-1}(t,++e);let n=0;for(;e<t.length;e++,n++)if(!(t[e].match(/\w/)&&n<20)){if(";"===t[e])break;return-1}return e}function vu(t,e,n){return{err:{code:t,msg:e,line:n.line||n,col:n.col}}}function yu(t){return su.isName(t)}function bu(t,e){const n=t.substring(0,e).split(/\r?\n/);return{line:n.length,col:n[n.length-1].length+1}}function Eu(t){return t.startIndex+t[1].length}var wu={};const Au={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,n){return t}};wu.buildOptions=function(t){return Object.assign({},Au,t)},wu.defaultOptions=Au;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");var _u={};function Ou(t,e,n){let r;const o={};for(let i=0;i<t.length;i++){const s=t[i],a=xu(s);let c="";if(c=void 0===n?a:n+"."+a,a===e.textNodeName)void 0===r?r=s[a]:r+=""+s[a];else{if(void 0===a)continue;if(s[a]){let t=Ou(s[a],e,c);const n=Nu(t,e);s[":@"]?Cu(t,s[":@"],c,e):1!==Object.keys(t).length||void 0===t[e.textNodeName]||e.alwaysCreateTextNode?0===Object.keys(t).length&&(e.alwaysCreateTextNode?t[e.textNodeName]="":t=""):t=t[e.textNodeName],void 0!==o[a]&&o.hasOwnProperty(a)?(Array.isArray(o[a])||(o[a]=[o[a]]),o[a].push(t)):e.isArray(a,c,n)?o[a]=[t]:o[a]=t}}}return"string"==typeof r?r.length>0&&(o[e.textNodeName]=r):void 0!==r&&(o[e.textNodeName]=r),o}function xu(t){const e=Object.keys(t);for(let t=0;t<e.length;t++){const n=e[t];if(":@"!==n)return n}}function Cu(t,e,n,r){if(e){const o=Object.keys(e),i=o.length;for(let s=0;s<i;s++){const i=o[s];r.isArray(i,n+"."+i,!0,!0)?t[i]=[e[i]]:t[i]=e[i]}}}function Nu(t,e){const{textNodeName:n}=e,r=Object.keys(t).length;return 0===r||!(1!==r||!t[n]&&"boolean"!=typeof t[n]&&0!==t[n])}_u.prettify=function(t,e){return Ou(t,e)};const{buildOptions:Tu}=wu,{prettify:Su}=_u;function Iu(t,e,n,r){let o="",i=!1;for(let s=0;s<t.length;s++){const a=t[s],c=Ru(a);if(void 0===c)continue;let u="";if(u=0===n.length?c:`${n}.${c}`,c===e.textNodeName){let t=a[c];Pu(u,e)||(t=e.tagValueProcessor(c,t),t=$u(t,e)),i&&(o+=r),o+=t,i=!1;continue}if(c===e.cdataPropName){i&&(o+=r),o+=`<![CDATA[${a[c][0][e.textNodeName]}]]>`,i=!1;continue}if(c===e.commentPropName){o+=r+`\x3c!--${a[c][0][e.textNodeName]}--\x3e`,i=!0;continue}if("?"===c[0]){const t=Lu(a[":@"],e),n="?xml"===c?"":r;let s=a[c][0][e.textNodeName];s=0!==s.length?" "+s:"",o+=n+`<${c}${s}${t}?>`,i=!0;continue}let l=r;""!==l&&(l+=e.indentBy);const f=r+`<${c}${Lu(a[":@"],e)}`,h=Iu(a[c],e,u,l);-1!==e.unpairedTags.indexOf(c)?e.suppressUnpairedNode?o+=f+">":o+=f+"/>":h&&0!==h.length||!e.suppressEmptyNode?h&&h.endsWith(">")?o+=f+`>${h}${r}</${c}>`:(o+=f+">",h&&""!==r&&(h.includes("/>")||h.includes("</"))?o+=r+e.indentBy+h+r:o+=h,o+=`</${c}>`):o+=f+"/>",i=!0}return o}function Ru(t){const e=Object.keys(t);for(let n=0;n<e.length;n++){const r=e[n];if(t.hasOwnProperty(r)&&":@"!==r)return r}}function Lu(t,e){let n="";if(t&&!e.ignoreAttributes)for(let r in t){if(!t.hasOwnProperty(r))continue;let o=e.attributeValueProcessor(r,t[r]);o=$u(o,e),!0===o&&e.suppressBooleanAttributes?n+=` ${r.substr(e.attributeNamePrefix.length)}`:n+=` ${r.substr(e.attributeNamePrefix.length)}="${o}"`}return n}function Pu(t,e){let n=(t=t.substr(0,t.length-e.textNodeName.length-1)).substr(t.lastIndexOf(".")+1);for(let r in e.stopNodes)if(e.stopNodes[r]===t||e.stopNodes[r]==="*."+n)return!0;return!1}function $u(t,e){if(t&&t.length>0&&e.processEntities)for(let n=0;n<e.entities.length;n++){const r=e.entities[n];t=t.replace(r.regex,r.val)}return t}var ku=function(t,e){let n="";return e.format&&e.indentBy.length>0&&(n="\n"),Iu(t,e,"",n)};const ju=ku,Du={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function Fu(t){this.options=Object.assign({},Du,t),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Bu),this.processTextOrObjNode=Mu,this.options.format?(this.indentate=Uu,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function Mu(t,e,n){const r=this.j2x(t,n+1);return void 0!==t[this.options.textNodeName]&&1===Object.keys(t).length?this.buildTextValNode(t[this.options.textNodeName],e,r.attrStr,n):this.buildObjectNode(r.val,e,r.attrStr,n)}function Uu(t){return this.options.indentBy.repeat(t)}function Bu(t){return!(!t.startsWith(this.options.attributeNamePrefix)||t===this.options.textNodeName)&&t.substr(this.attrPrefixLen)}Fu.prototype.build=function(t){return this.options.preserveOrder?ju(t,this.options):(Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t}),this.j2x(t,0).val)},Fu.prototype.j2x=function(t,e){let n="",r="";for(let o in t)if(Object.prototype.hasOwnProperty.call(t,o))if(void 0===t[o])this.isAttribute(o)&&(r+="");else if(null===t[o])this.isAttribute(o)?r+="":"?"===o[0]?r+=this.indentate(e)+"<"+o+"?"+this.tagEndChar:r+=this.indentate(e)+"<"+o+"/"+this.tagEndChar;else if(t[o]instanceof Date)r+=this.buildTextValNode(t[o],o,"",e);else if("object"!=typeof t[o]){const i=this.isAttribute(o);if(i)n+=this.buildAttrPairStr(i,""+t[o]);else if(o===this.options.textNodeName){let e=this.options.tagValueProcessor(o,""+t[o]);r+=this.replaceEntitiesValue(e)}else r+=this.buildTextValNode(t[o],o,"",e)}else if(Array.isArray(t[o])){const n=t[o].length;let i="",s="";for(let a=0;a<n;a++){const n=t[o][a];if(void 0===n);else if(null===n)"?"===o[0]?r+=this.indentate(e)+"<"+o+"?"+this.tagEndChar:r+=this.indentate(e)+"<"+o+"/"+this.tagEndChar;else if("object"==typeof n)if(this.options.oneListGroup){const t=this.j2x(n,e+1);i+=t.val,this.options.attributesGroupName&&n.hasOwnProperty(this.options.attributesGroupName)&&(s+=t.attrStr)}else i+=this.processTextOrObjNode(n,o,e);else if(this.options.oneListGroup){let t=this.options.tagValueProcessor(o,n);t=this.replaceEntitiesValue(t),i+=t}else i+=this.buildTextValNode(n,o,"",e)}this.options.oneListGroup&&(i=this.buildObjectNode(i,o,s,e)),r+=i}else if(this.options.attributesGroupName&&o===this.options.attributesGroupName){const e=Object.keys(t[o]),r=e.length;for(let i=0;i<r;i++)n+=this.buildAttrPairStr(e[i],""+t[o][e[i]])}else r+=this.processTextOrObjNode(t[o],o,e);return{attrStr:n,val:r}},Fu.prototype.buildAttrPairStr=function(t,e){return e=this.options.attributeValueProcessor(t,""+e),e=this.replaceEntitiesValue(e),this.options.suppressBooleanAttributes&&"true"===e?" "+t:" "+t+'="'+e+'"'},Fu.prototype.buildObjectNode=function(t,e,n,r){if(""===t)return"?"===e[0]?this.indentate(r)+"<"+e+n+"?"+this.tagEndChar:this.indentate(r)+"<"+e+n+this.closeTag(e)+this.tagEndChar;{let o="</"+e+this.tagEndChar,i="";return"?"===e[0]&&(i="?",o=""),!n&&""!==n||-1!==t.indexOf("<")?!1!==this.options.commentPropName&&e===this.options.commentPropName&&0===i.length?this.indentate(r)+`\x3c!--${t}--\x3e`+this.newLine:this.indentate(r)+"<"+e+n+i+this.tagEndChar+t+this.indentate(r)+o:this.indentate(r)+"<"+e+n+i+">"+t+o}},Fu.prototype.closeTag=function(t){let e="";return-1!==this.options.unpairedTags.indexOf(t)?this.options.suppressUnpairedNode||(e="/"):e=this.options.suppressEmptyNode?"/":`></${t}`,e},Fu.prototype.buildTextValNode=function(t,e,n,r){if(!1!==this.options.cdataPropName&&e===this.options.cdataPropName)return this.indentate(r)+`<![CDATA[${t}]]>`+this.newLine;if(!1!==this.options.commentPropName&&e===this.options.commentPropName)return this.indentate(r)+`\x3c!--${t}--\x3e`+this.newLine;if("?"===e[0])return this.indentate(r)+"<"+e+n+"?"+this.tagEndChar;{let o=this.options.tagValueProcessor(e,t);return o=this.replaceEntitiesValue(o),""===o?this.indentate(r)+"<"+e+n+this.closeTag(e)+this.tagEndChar:this.indentate(r)+"<"+e+n+">"+o+"</"+e+this.tagEndChar}},Fu.prototype.replaceEntitiesValue=function(t){if(t&&t.length>0&&this.options.processEntities)for(let e=0;e<this.options.entities.length;e++){const n=this.options.entities[e];t=t.replace(n.regex,n.val)}return t};var Gu="object"==typeof nu&&nu.env&&nu.env.NODE_DEBUG&&/\bsemver\b/i.test(nu.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};var zu={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Vu={exports:{}};!function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:o}=zu,i=Gu,s=(e=t.exports={}).re=[],a=e.safeRe=[],c=e.src=[],u=e.t={};let l=0;const f="[a-zA-Z0-9-]",h=[["\\s",1],["\\d",o],[f,r]],p=(t,e,n)=>{const r=(t=>{for(const[e,n]of h)t=t.split(`${e}*`).join(`${e}{0,${n}}`).split(`${e}+`).join(`${e}{1,${n}}`);return t})(e),o=l++;i(t,o,e),u[t]=o,c[o]=e,s[o]=new RegExp(e,n?"g":void 0),a[o]=new RegExp(r,n?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),p("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${c[u.NUMERICIDENTIFIER]}|${c[u.NONNUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NUMERICIDENTIFIERLOOSE]}|${c[u.NONNUMERICIDENTIFIER]})`),p("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${f}+`),p("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),p("FULL",`^${c[u.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),p("LOOSE",`^${c[u.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),p("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),p("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),p("COERCE",`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),p("COERCEFULL",c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?(?:${c[u.BUILD]})?(?:$|[^\\d])`),p("COERCERTL",c[u.COERCE],!0),p("COERCERTLFULL",c[u.COERCEFULL],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",p("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",p("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(Vu,Vu.exports);var Hu=Vu.exports;Object.freeze({loose:!0}),Object.freeze({});const Wu=/^[0-9]+$/,qu=(t,e)=>{const n=Wu.test(t),r=Wu.test(e);return n&&r&&(t=+t,e=+e),t===e?0:n&&!r?-1:r&&!n?1:t<e?-1:1};var Xu={compareIdentifiers:qu,rcompareIdentifiers:(t,e)=>qu(e,t)};const{MAX_LENGTH:Yu,MAX_SAFE_INTEGER:Ku}=zu,{safeRe:Ju,t:Zu}=Hu,{compareIdentifiers:Qu}=Xu;function tl(t,e,n,r,o,i,s,a){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),s?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):o&&(c=a?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}const el={name:"RecommendedFile",components:{FolderIcon:tl({name:"FolderIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},(function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon folder-icon",attrs:{"aria-hidden":!t.title||null,"aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6H12L10,4Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])}),[],!1,null,null,null).exports},props:{id:{type:String,required:!0},extension:{type:String,required:!0},mimeType:{type:String,required:!0},name:{type:String,required:!0},directory:{type:String,required:!0},reason:{type:String,required:!0},hasPreview:{type:Boolean,default:!1}},data(){return{previewUrl:OC.MimeType.getIconUrl(this.mimeType)}},computed:{nameWithoutExtension(){return this.name.endsWith(this.extension)?this.name.substring(0,this.name.length-this.extension.length-1):this.name},path(){return("/"===this.directory?"":this.directory)+"/"+this.name},isFolder(){return"httpd/unix-directory"===this.mimeType}},mounted(){if(this.hasPreview){const t=Hi("/core/preview?fileId={fileId}&x=250&y=250",{fileId:this.id}),e=new Image;e.onload=()=>{this.previewUrl=t},e.onerror=t=>{console.error("could not load recommendation preview",t)},e.src=t}},methods:{t:eu,navigate(){var t,e;if(null!==(t=window.OCA)&&void 0!==t&&t.Viewer&&-1!==window.OCA.Viewer.mimetypes.indexOf(this.mimeType))window.OCA.Viewer.open({path:this.path});else if(null!==(e=window.OCP)&&void 0!==e&&null!==(e=e.Files)&&void 0!==e&&e.Router){const t=this.isFolder?zi(this.directory,this.name):this.directory,e=this.isFolder?null:this.id;window.OCP.Files.Router.goToRoute(null,{view:"files",fileid:e},{dir:t})}else window.location=Hi("/f/"+this.id)}}};var nl=n(85072),rl=n.n(nl),ol=n(97825),il=n.n(ol),sl=n(77659),al=n.n(sl),cl=n(55056),ul=n.n(cl),ll=n(10540),fl=n.n(ll),hl=n(41113),pl=n.n(hl),dl=n(71742),ml={};ml.styleTagTransform=pl(),ml.setAttributes=ul(),ml.insert=al().bind(null,"head"),ml.domAPI=il(),ml.insertStyleElement=fl();rl()(dl.A,ml);dl.A&&dl.A.locals&&dl.A.locals;const gl={name:"Recommendations",components:{RecommendedFile:tl(el,(function(){var t=this,e=t._self._c;return e("a",{staticClass:"recommendation",attrs:{tabindex:"0","aria-describedby":"recommendation-description-".concat(t.id),title:t.path},on:{click:function(e){return e.preventDefault(),t.navigate.apply(null,arguments)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.navigate.apply(null,arguments))}}},[t.isFolder?e("FolderIcon",{staticClass:"thumbnail"}):e("div",{staticClass:"thumbnail",style:{"background-image":"url("+t.previewUrl+")"}}),t._v(" "),e("div",{staticClass:"details"},[e("div",{staticClass:"file-name"},[t.extension?[e("span",{staticClass:"name"},[t._v(t._s(t.nameWithoutExtension))]),t.extension?e("span",{staticClass:"extension"},[t._v("."+t._s(t.extension))]):t._e()]:[e("span",{staticClass:"name"},[t._v(t._s(t.name))])]],2),t._v(" "),e("div",{staticClass:"reason"},[t._v("\n\t\t\t"+t._s(t.reason)+"\n\t\t")]),t._v(" "),e("span",{staticClass:"hidden-visually",attrs:{id:"recommendation-description-".concat(t.id)}},[t._v(t._s(t.t("recommendations","Path name {path}",{path:t.path})))])])],1)}),[],!1,null,"05913452",null).exports},computed:{enabled(){return this.$store.state.enabled},loading(){return this.$store.state.loading},recommendedFiles(){return this.$store.state.recommendedFiles}},methods:{t:eu}};var vl=n(90558),yl={};yl.styleTagTransform=pl(),yl.setAttributes=ul(),yl.insert=al().bind(null,"head"),yl.domAPI=il(),yl.insertStyleElement=fl();rl()(vl.A,yl);vl.A&&vl.A.locals&&vl.A.locals;const bl=tl(gl,(function(){var t=this,e=t._self._c;return!t.loading&&t.enabled?e("div",[t.recommendedFiles.length>0?e("ul",{staticClass:"group",attrs:{id:"recommendations"}},t._l(t.recommendedFiles,(function(t){return e("li",{key:t.id,staticClass:"recommendation-item"},[e("RecommendedFile",{attrs:{id:t.id,extension:t.extension,"mime-type":t.mimeType,name:t.name,directory:t.directory,reason:t.reason,"has-preview":t.hasPreview}})],1)})),0):t._e()]):t._e()}),[],!1,null,"18f5ea4a",null).exports;const El=tl({name:"Settings",computed:{enabled:{get(){return this.$store.state.enabled},set(t){this.$store.dispatch("enabled",t)}}},methods:{t:eu}},(function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"recommendations-setting-enabled"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.enabled,expression:"enabled"}],staticClass:"checkbox",attrs:{id:"recommendationsEnabledToggle",checked:"checked",type:"checkbox",name:"enabled"},domProps:{checked:Array.isArray(t.enabled)?t._i(t.enabled,null)>-1:t.enabled},on:{change:function(e){var n=t.enabled,r=e.target,o=!!r.checked;if(Array.isArray(n)){var i=t._i(n,null);r.checked?i<0&&(t.enabled=n.concat([null])):i>-1&&(t.enabled=n.slice(0,i).concat(n.slice(i+1)))}else t.enabled=o}}}),t._v(" "),e("label",{attrs:{for:"recommendationsEnabledToggle"}},[t._v(t._s(t.t("recommendations","Show recommendations")))])])}),[],!1,null,null,null).exports;var wl=("undefined"!=typeof window?window:void 0!==n.g?n.g:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function Al(t,e){if(void 0===e&&(e=[]),null===t||"object"!=typeof t)return t;var n=function(t,e){return t.filter(e)[0]}(e,(function(e){return e.original===t}));if(n)return n.copy;var r=Array.isArray(t)?[]:{};return e.push({original:t,copy:r}),Object.keys(t).forEach((function(n){r[n]=Al(t[n],e)})),r}function _l(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function Ol(t){return null!==t&&"object"==typeof t}var xl=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},Cl={namespaced:{configurable:!0}};Cl.namespaced.get=function(){return!!this._rawModule.namespaced},xl.prototype.addChild=function(t,e){this._children[t]=e},xl.prototype.removeChild=function(t){delete this._children[t]},xl.prototype.getChild=function(t){return this._children[t]},xl.prototype.hasChild=function(t){return t in this._children},xl.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},xl.prototype.forEachChild=function(t){_l(this._children,t)},xl.prototype.forEachGetter=function(t){this._rawModule.getters&&_l(this._rawModule.getters,t)},xl.prototype.forEachAction=function(t){this._rawModule.actions&&_l(this._rawModule.actions,t)},xl.prototype.forEachMutation=function(t){this._rawModule.mutations&&_l(this._rawModule.mutations,t)},Object.defineProperties(xl.prototype,Cl);var Nl=function(t){this.register([],t,!1)};function Tl(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return void 0;Tl(t.concat(r),e.getChild(r),n.modules[r])}}Nl.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},Nl.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},Nl.prototype.update=function(t){Tl([],this.root,t)},Nl.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new xl(e,n);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o);e.modules&&_l(e.modules,(function(e,o){r.register(t.concat(o),e,n)}))},Nl.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},Nl.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var Sl;var Il=function(t){var e=this;void 0===t&&(t={}),!Sl&&"undefined"!=typeof window&&window.Vue&&Fl(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Nl(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new Sl,this._makeLocalGettersCache=Object.create(null);var o=this,i=this.dispatch,s=this.commit;this.dispatch=function(t,e){return i.call(o,t,e)},this.commit=function(t,e,n){return s.call(o,t,e,n)},this.strict=r;var a=this._modules.root.state;kl(this,a,[],this._modules.root),$l(this,a),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:Sl.config.devtools)&&function(t){wl&&(t._devtoolHook=wl,wl.emit("vuex:init",t),wl.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){wl.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){wl.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},Rl={state:{configurable:!0}};function Ll(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function Pl(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;kl(t,n,[],t._modules.root,!0),$l(t,n,e)}function $l(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,i={};_l(o,(function(e,n){i[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=Sl.config.silent;Sl.config.silent=!0,t._vm=new Sl({data:{$$state:e},computed:i}),Sl.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(t),r&&(n&&t._withCommit((function(){r._data.$$state=null})),Sl.nextTick((function(){return r.$destroy()})))}function kl(t,e,n,r,o){var i=!n.length,s=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=r),!i&&!o){var a=jl(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){Sl.set(a,c,r.state)}))}var u=r.context=function(t,e,n){var r=""===e,o={dispatch:r?t.dispatch:function(n,r,o){var i=Dl(n,r,o),s=i.payload,a=i.options,c=i.type;return a&&a.root||(c=e+c),t.dispatch(c,s)},commit:r?t.commit:function(n,r,o){var i=Dl(n,r,o),s=i.payload,a=i.options,c=i.type;a&&a.root||(c=e+c),t.commit(c,s,a)}};return Object.defineProperties(o,{getters:{get:r?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(o){if(o.slice(0,r)===e){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return t.getters[o]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return jl(t.state,n)}}}),o}(t,s,n);r.forEachMutation((function(e,n){!function(t,e,n,r){var o=t._mutations[e]||(t._mutations[e]=[]);o.push((function(e){n.call(t,r.state,e)}))}(t,s+n,e,u)})),r.forEachAction((function(e,n){var r=e.root?n:s+n,o=e.handler||e;!function(t,e,n,r){var o=t._actions[e]||(t._actions[e]=[]);o.push((function(e){var o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return function(t){return t&&"function"==typeof t.then}(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}(t,r,o,u)})),r.forEachGetter((function(e,n){!function(t,e,n,r){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)}}(t,s+n,e,u)})),r.forEachChild((function(r,i){kl(t,e,n.concat(i),r,o)}))}function jl(t,e){return e.reduce((function(t,e){return t[e]}),t)}function Dl(t,e,n){return Ol(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function Fl(t){Sl&&t===Sl||function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(Sl=t)}Rl.state.get=function(){return this._vm._data.$$state},Rl.state.set=function(t){0},Il.prototype.commit=function(t,e,n){var r=this,o=Dl(t,e,n),i=o.type,s=o.payload,a=(o.options,{type:i,payload:s}),c=this._mutations[i];c&&(this._withCommit((function(){c.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(a,r.state)})))},Il.prototype.dispatch=function(t,e){var n=this,r=Dl(t,e),o=r.type,i=r.payload,s={type:o,payload:i},a=this._actions[o];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(t){0}var c=a.length>1?Promise.all(a.map((function(t){return t(i)}))):a[0](i);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(t){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(t){0}e(t)}))}))}},Il.prototype.subscribe=function(t,e){return Ll(t,this._subscribers,e)},Il.prototype.subscribeAction=function(t,e){return Ll("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},Il.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},Il.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},Il.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),kl(this,this.state,t,this._modules.get(t),n.preserveState),$l(this,this.state)},Il.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=jl(e.state,t.slice(0,-1));Sl.delete(n,t[t.length-1])})),Pl(this)},Il.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},Il.prototype.hotUpdate=function(t){this._modules.update(t),Pl(this,!0)},Il.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(Il.prototype,Rl);var Ml=Vl((function(t,e){var n={};return zl(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=Hl(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0})),n})),Ul=Vl((function(t,e){var n={};return zl(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var i=Hl(this.$store,"mapMutations",t);if(!i)return;r=i.context.commit}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}})),n})),Bl=Vl((function(t,e){var n={};return zl(e).forEach((function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||Hl(this.$store,"mapGetters",t))return this.$store.getters[o]},n[r].vuex=!0})),n})),Gl=Vl((function(t,e){var n={};return zl(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var i=Hl(this.$store,"mapActions",t);if(!i)return;r=i.context.dispatch}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}})),n}));function zl(t){return function(t){return Array.isArray(t)||Ol(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function Vl(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function Hl(t,e,n){return t._modulesNamespaceMap[n]}function Wl(t,e,n){var r=n?t.groupCollapsed:t.group;try{r.call(t,e)}catch(n){t.log(e)}}function ql(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function Xl(){var t=new Date;return" @ "+Yl(t.getHours(),2)+":"+Yl(t.getMinutes(),2)+":"+Yl(t.getSeconds(),2)+"."+Yl(t.getMilliseconds(),3)}function Yl(t,e){return n="0",r=e-t.toString().length,new Array(r+1).join(n)+t;var n,r}var Kl={Store:Il,install:Fl,version:"3.6.2",mapState:Ml,mapMutations:Ul,mapGetters:Bl,mapActions:Gl,createNamespacedHelpers:function(t){return{mapState:Ml.bind(null,t),mapGetters:Bl.bind(null,t),mapMutations:Ul.bind(null,t),mapActions:Gl.bind(null,t)}},createLogger:function(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var r=t.transformer;void 0===r&&(r=function(t){return t});var o=t.mutationTransformer;void 0===o&&(o=function(t){return t});var i=t.actionFilter;void 0===i&&(i=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var a=t.logMutations;void 0===a&&(a=!0);var c=t.logActions;void 0===c&&(c=!0);var u=t.logger;return void 0===u&&(u=console),function(t){var l=Al(t.state);void 0!==u&&(a&&t.subscribe((function(t,i){var s=Al(i);if(n(t,l,s)){var a=Xl(),c=o(t),f="mutation "+t.type+a;Wl(u,f,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",r(l)),u.log("%c mutation","color: #03A9F4; font-weight: bold",c),u.log("%c next state","color: #4CAF50; font-weight: bold",r(s)),ql(u)}l=s})),c&&t.subscribeAction((function(t,n){if(i(t,n)){var r=Xl(),o=s(t),a="action "+t.type+r;Wl(u,a,e),u.log("%c action","color: #03A9F4; font-weight: bold",o),ql(u)}})))}}};const Jl=Kl;function Zl(t,e){return function(){return t.apply(e,arguments)}}var Ql=n(65606);const{toString:tf}=Object.prototype,{getPrototypeOf:ef}=Object,nf=(rf=Object.create(null),t=>{const e=tf.call(t);return rf[e]||(rf[e]=e.slice(8,-1).toLowerCase())});var rf;const of=t=>(t=t.toLowerCase(),e=>nf(e)===t),sf=t=>e=>typeof e===t,{isArray:af}=Array,cf=sf("undefined");const uf=of("ArrayBuffer");const lf=sf("string"),ff=sf("function"),hf=sf("number"),pf=t=>null!==t&&"object"==typeof t,df=t=>{if("object"!==nf(t))return!1;const e=ef(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},mf=of("Date"),gf=of("File"),vf=of("Blob"),yf=of("FileList"),bf=of("URLSearchParams"),[Ef,wf,Af,_f]=["ReadableStream","Request","Response","Headers"].map(of);function Of(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let r,o;if("object"!=typeof t&&(t=[t]),af(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{const o=n?Object.getOwnPropertyNames(t):Object.keys(t),i=o.length;let s;for(r=0;r<i;r++)s=o[r],e.call(null,t[s],s,t)}}function xf(t,e){e=e.toLowerCase();const n=Object.keys(t);let r,o=n.length;for(;o-- >0;)if(r=n[o],e===r.toLowerCase())return r;return null}const Cf="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Nf=t=>!cf(t)&&t!==Cf;const Tf=(Sf="undefined"!=typeof Uint8Array&&ef(Uint8Array),t=>Sf&&t instanceof Sf);var Sf;const If=of("HTMLFormElement"),Rf=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Lf=of("RegExp"),Pf=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Of(n,((n,o)=>{let i;!1!==(i=e(n,o,t))&&(r[o]=i||n)})),Object.defineProperties(t,r)},$f="abcdefghijklmnopqrstuvwxyz",kf="0123456789",jf={DIGIT:kf,ALPHA:$f,ALPHA_DIGIT:$f+$f.toUpperCase()+kf};const Df=of("AsyncFunction"),Ff=(Mf="function"==typeof setImmediate,Uf=ff(Cf.postMessage),Mf?setImmediate:Uf?((t,e)=>(Cf.addEventListener("message",(({source:n,data:r})=>{n===Cf&&r===t&&e.length&&e.shift()()}),!1),n=>{e.push(n),Cf.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t));var Mf,Uf;const Bf="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Cf):void 0!==Ql&&Ql.nextTick||Ff,Gf={isArray:af,isArrayBuffer:uf,isBuffer:function(t){return null!==t&&!cf(t)&&null!==t.constructor&&!cf(t.constructor)&&ff(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||ff(t.append)&&("formdata"===(e=nf(t))||"object"===e&&ff(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&uf(t.buffer),e},isString:lf,isNumber:hf,isBoolean:t=>!0===t||!1===t,isObject:pf,isPlainObject:df,isReadableStream:Ef,isRequest:wf,isResponse:Af,isHeaders:_f,isUndefined:cf,isDate:mf,isFile:gf,isBlob:vf,isRegExp:Lf,isFunction:ff,isStream:t=>pf(t)&&ff(t.pipe),isURLSearchParams:bf,isTypedArray:Tf,isFileList:yf,forEach:Of,merge:function t(){const{caseless:e}=Nf(this)&&this||{},n={},r=(r,o)=>{const i=e&&xf(n,o)||o;df(n[i])&&df(r)?n[i]=t(n[i],r):df(r)?n[i]=t({},r):af(r)?n[i]=r.slice():n[i]=r};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&Of(arguments[t],r);return n},extend:(t,e,n,{allOwnKeys:r}={})=>(Of(e,((e,r)=>{n&&ff(e)?t[r]=Zl(e,n):t[r]=e}),{allOwnKeys:r}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,r)=>{let o,i,s;const a={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)s=o[i],r&&!r(s,t,e)||a[s]||(e[s]=t[s],a[s]=!0);t=!1!==n&&ef(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:nf,kindOfTest:of,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return-1!==r&&r===n},toArray:t=>{if(!t)return null;if(af(t))return t;let e=t.length;if(!hf(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=n.next())&&!r.done;){const n=r.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const r=[];for(;null!==(n=t.exec(e));)r.push(n);return r},isHTMLForm:If,hasOwnProperty:Rf,hasOwnProp:Rf,reduceDescriptors:Pf,freezeMethods:t=>{Pf(t,((e,n)=>{if(ff(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=t[n];ff(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},r=t=>{t.forEach((t=>{n[t]=!0}))};return af(t)?r(t):r(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:xf,global:Cf,isContextDefined:Nf,ALPHABET:jf,generateString:(t=16,e=jf.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n},isSpecCompliantForm:function(t){return!!(t&&ff(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),n=(t,r)=>{if(pf(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[r]=t;const o=af(t)?[]:{};return Of(t,((t,e)=>{const i=n(t,r+1);!cf(i)&&(o[e]=i)})),e[r]=void 0,o}}return t};return n(t,0)},isAsyncFn:Df,isThenable:t=>t&&(pf(t)||ff(t))&&ff(t.then)&&ff(t.catch),setImmediate:Ff,asap:Bf};function zf(t,e,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}Gf.inherits(zf,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:Gf.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Vf=zf.prototype,Hf={};["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((t=>{Hf[t]={value:t}})),Object.defineProperties(zf,Hf),Object.defineProperty(Vf,"isAxiosError",{value:!0}),zf.from=(t,e,n,r,o,i)=>{const s=Object.create(Vf);return Gf.toFlatObject(t,s,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),zf.call(s,t.message,e,n,r,o),s.cause=t,s.name=t.name,i&&Object.assign(s,i),s};const Wf=zf;var qf=n(48287).hp;function Xf(t){return Gf.isPlainObject(t)||Gf.isArray(t)}function Yf(t){return Gf.endsWith(t,"[]")?t.slice(0,-2):t}function Kf(t,e,n){return t?t.concat(e).map((function(t,e){return t=Yf(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const Jf=Gf.toFlatObject(Gf,{},null,(function(t){return/^is[A-Z]/.test(t)}));const Zf=function(t,e,n){if(!Gf.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const r=(n=Gf.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!Gf.isUndefined(e[t])}))).metaTokens,o=n.visitor||u,i=n.dots,s=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Gf.isSpecCompliantForm(e);if(!Gf.isFunction(o))throw new TypeError("visitor must be a function");function c(t){if(null===t)return"";if(Gf.isDate(t))return t.toISOString();if(!a&&Gf.isBlob(t))throw new Wf("Blob is not supported. Use a Buffer instead.");return Gf.isArrayBuffer(t)||Gf.isTypedArray(t)?a&&"function"==typeof Blob?new Blob([t]):qf.from(t):t}function u(t,n,o){let a=t;if(t&&!o&&"object"==typeof t)if(Gf.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else if(Gf.isArray(t)&&function(t){return Gf.isArray(t)&&!t.some(Xf)}(t)||(Gf.isFileList(t)||Gf.endsWith(n,"[]"))&&(a=Gf.toArray(t)))return n=Yf(n),a.forEach((function(t,r){!Gf.isUndefined(t)&&null!==t&&e.append(!0===s?Kf([n],r,i):null===s?n:n+"[]",c(t))})),!1;return!!Xf(t)||(e.append(Kf(o,n,i),c(t)),!1)}const l=[],f=Object.assign(Jf,{defaultVisitor:u,convertValue:c,isVisitable:Xf});if(!Gf.isObject(t))throw new TypeError("data must be an object");return function t(n,r){if(!Gf.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),Gf.forEach(n,(function(n,i){!0===(!(Gf.isUndefined(n)||null===n)&&o.call(e,n,Gf.isString(i)?i.trim():i,r,f))&&t(n,r?r.concat(i):[i])})),l.pop()}}(t),e};function Qf(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function th(t,e){this._pairs=[],t&&Zf(t,this,e)}const eh=th.prototype;eh.append=function(t,e){this._pairs.push([t,e])},eh.toString=function(t){const e=t?function(e){return t.call(this,e,Qf)}:Qf;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const nh=th;function rh(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function oh(t,e,n){if(!e)return t;const r=n&&n.encode||rh,o=n&&n.serialize;let i;if(i=o?o(e,n):Gf.isURLSearchParams(e)?e.toString():new nh(e,n).toString(r),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}const ih=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,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){Gf.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},sh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ah={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:nh,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},ch="undefined"!=typeof window&&"undefined"!=typeof document,uh=(lh="undefined"!=typeof navigator&&navigator.product,ch&&["ReactNative","NativeScript","NS"].indexOf(lh)<0);var lh;const fh="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,hh=ch&&window.location.href||"http://localhost",ph={...t,...ah};const dh=function(t){function e(t,n,r,o){let i=t[o++];if("__proto__"===i)return!0;const s=Number.isFinite(+i),a=o>=t.length;if(i=!i&&Gf.isArray(r)?r.length:i,a)return Gf.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!s;r[i]&&Gf.isObject(r[i])||(r[i]=[]);return e(t,n,r[i],o)&&Gf.isArray(r[i])&&(r[i]=function(t){const e={},n=Object.keys(t);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],e[i]=t[i];return e}(r[i])),!s}if(Gf.isFormData(t)&&Gf.isFunction(t.entries)){const n={};return Gf.forEachEntry(t,((t,r)=>{e(function(t){return Gf.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),r,n,0)})),n}return null};const mh={transitional:sh,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,o=Gf.isObject(t);o&&Gf.isHTMLForm(t)&&(t=new FormData(t));if(Gf.isFormData(t))return r?JSON.stringify(dh(t)):t;if(Gf.isArrayBuffer(t)||Gf.isBuffer(t)||Gf.isStream(t)||Gf.isFile(t)||Gf.isBlob(t)||Gf.isReadableStream(t))return t;if(Gf.isArrayBufferView(t))return t.buffer;if(Gf.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return Zf(t,new ph.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,r){return ph.isNode&&Gf.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((i=Gf.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return Zf(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||r?(e.setContentType("application/json",!1),function(t,e,n){if(Gf.isString(t))try{return(e||JSON.parse)(t),Gf.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||mh.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(Gf.isResponse(t)||Gf.isReadableStream(t))return t;if(t&&Gf.isString(t)&&(n&&!this.responseType||r)){const n=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(t){if(n){if("SyntaxError"===t.name)throw Wf.from(t,Wf.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ph.classes.FormData,Blob:ph.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Gf.forEach(["delete","get","head","post","put","patch"],(t=>{mh.headers[t]={}}));const gh=mh,vh=Gf.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"]),yh=Symbol("internals");function bh(t){return t&&String(t).trim().toLowerCase()}function Eh(t){return!1===t||null==t?t:Gf.isArray(t)?t.map(Eh):String(t)}function wh(t,e,n,r,o){return Gf.isFunction(r)?r.call(this,e,n):(o&&(e=n),Gf.isString(e)?Gf.isString(r)?-1!==e.indexOf(r):Gf.isRegExp(r)?r.test(e):void 0:void 0)}class Ah{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function o(t,e,n){const o=bh(e);if(!o)throw new Error("header name must be a non-empty string");const i=Gf.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||e]=Eh(t))}const i=(t,e)=>Gf.forEach(t,((t,n)=>o(t,n,e)));if(Gf.isPlainObject(t)||t instanceof this.constructor)i(t,e);else if(Gf.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))i((t=>{const e={};let n,r,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),n=t.substring(0,o).trim().toLowerCase(),r=t.substring(o+1).trim(),!n||e[n]&&vh[n]||("set-cookie"===n?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)})),e})(t),e);else if(Gf.isHeaders(t))for(const[e,r]of t.entries())o(r,e,n);else null!=t&&o(e,t,n);return this}get(t,e){if(t=bh(t)){const n=Gf.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}(t);if(Gf.isFunction(e))return e.call(this,t,n);if(Gf.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=bh(t)){const n=Gf.findKey(this,t);return!(!n||void 0===this[n]||e&&!wh(0,this[n],n,e))}return!1}delete(t,e){const n=this;let r=!1;function o(t){if(t=bh(t)){const o=Gf.findKey(n,t);!o||e&&!wh(0,n[o],o,e)||(delete n[o],r=!0)}}return Gf.isArray(t)?t.forEach(o):o(t),r}clear(t){const e=Object.keys(this);let n=e.length,r=!1;for(;n--;){const o=e[n];t&&!wh(0,this[o],o,t,!0)||(delete this[o],r=!0)}return r}normalize(t){const e=this,n={};return Gf.forEach(this,((r,o)=>{const i=Gf.findKey(n,o);if(i)return e[i]=Eh(r),void delete e[o];const s=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}(o):String(o).trim();s!==o&&delete e[o],e[s]=Eh(r),n[s]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return Gf.forEach(this,((n,r)=>{null!=n&&!1!==n&&(e[r]=t&&Gf.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[yh]=this[yh]={accessors:{}}).accessors,n=this.prototype;function r(t){const r=bh(t);e[r]||(!function(t,e){const n=Gf.toCamelCase(" "+e);["get","set","has"].forEach((r=>{Object.defineProperty(t,r+n,{value:function(t,n,o){return this[r].call(this,e,t,n,o)},configurable:!0})}))}(n,t),e[r]=!0)}return Gf.isArray(t)?t.forEach(r):r(t),this}}Ah.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Gf.reduceDescriptors(Ah.prototype,(({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}})),Gf.freezeMethods(Ah);const _h=Ah;function Oh(t,e){const n=this||gh,r=e||n,o=_h.from(r.headers);let i=r.data;return Gf.forEach(t,(function(t){i=t.call(n,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function xh(t){return!(!t||!t.__CANCEL__)}function Ch(t,e,n){Wf.call(this,null==t?"canceled":t,Wf.ERR_CANCELED,e,n),this.name="CanceledError"}Gf.inherits(Ch,Wf,{__CANCEL__:!0});const Nh=Ch;function Th(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new Wf("Request failed with status code "+n.status,[Wf.ERR_BAD_REQUEST,Wf.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}const Sh=function(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o,i=0,s=0;return e=void 0!==e?e:1e3,function(a){const c=Date.now(),u=r[s];o||(o=c),n[i]=a,r[i]=c;let l=s,f=0;for(;l!==i;)f+=n[l++],l%=t;if(i=(i+1)%t,i===s&&(s=(s+1)%t),c-o<e)return;const h=u&&c-u;return h?Math.round(1e3*f/h):void 0}};const Ih=function(t,e){let n,r,o=0,i=1e3/e;const s=(e,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),t.apply(null,e)};return[(...t)=>{const e=Date.now(),a=e-o;a>=i?s(t,e):(n=t,r||(r=setTimeout((()=>{r=null,s(n)}),i-a)))},()=>n&&s(n)]},Rh=(t,e,n=3)=>{let r=0;const o=Sh(50,250);return Ih((n=>{const i=n.loaded,s=n.lengthComputable?n.total:void 0,a=i-r,c=o(a);r=i;t({loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&i<=s?(s-i)/c:void 0,event:n,lengthComputable:null!=s,[e?"download":"upload"]:!0})}),n)},Lh=(t,e)=>{const n=null!=t;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},Ph=t=>(...e)=>Gf.asap((()=>t(...e))),$h=ph.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let n;function r(n){let r=n;return t&&(e.setAttribute("href",r),r=e.href),e.setAttribute("href",r),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return n=r(window.location.href),function(t){const e=Gf.isString(t)?r(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return!0},kh=ph.hasStandardBrowserEnv?{write(t,e,n,r,o,i){const s=[t+"="+encodeURIComponent(e)];Gf.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),Gf.isString(r)&&s.push("path="+r),Gf.isString(o)&&s.push("domain="+o),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function jh(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const Dh=t=>t instanceof _h?{...t}:t;function Fh(t,e){e=e||{};const n={};function r(t,e,n){return Gf.isPlainObject(t)&&Gf.isPlainObject(e)?Gf.merge.call({caseless:n},t,e):Gf.isPlainObject(e)?Gf.merge({},e):Gf.isArray(e)?e.slice():e}function o(t,e,n){return Gf.isUndefined(e)?Gf.isUndefined(t)?void 0:r(void 0,t,n):r(t,e,n)}function i(t,e){if(!Gf.isUndefined(e))return r(void 0,e)}function s(t,e){return Gf.isUndefined(e)?Gf.isUndefined(t)?void 0:r(void 0,t):r(void 0,e)}function a(n,o,i){return i in e?r(n,o):i in t?r(void 0,n):void 0}const c={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:a,headers:(t,e)=>o(Dh(t),Dh(e),!0)};return Gf.forEach(Object.keys(Object.assign({},t,e)),(function(r){const i=c[r]||o,s=i(t[r],e[r],r);Gf.isUndefined(s)&&i!==a||(n[r]=s)})),n}const Mh=t=>{const e=Fh({},t);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:c}=e;if(e.headers=a=_h.from(a),e.url=oh(jh(e.baseURL,e.url),t.params,t.paramsSerializer),c&&a.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),Gf.isFormData(r))if(ph.hasStandardBrowserEnv||ph.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[t,...e]=n?n.split(";").map((t=>t.trim())).filter(Boolean):[];a.setContentType([t||"multipart/form-data",...e].join("; "))}if(ph.hasStandardBrowserEnv&&(o&&Gf.isFunction(o)&&(o=o(e)),o||!1!==o&&$h(e.url))){const t=i&&s&&kh.read(s);t&&a.set(i,t)}return e},Uh="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,n){const r=Mh(t);let o=r.data;const i=_h.from(r.headers).normalize();let s,a,c,u,l,{responseType:f,onUploadProgress:h,onDownloadProgress:p}=r;function d(){u&&u(),l&&l(),r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let m=new XMLHttpRequest;function g(){if(!m)return;const r=_h.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Th((function(t){e(t),d()}),(function(t){n(t),d()}),{data:f&&"text"!==f&&"json"!==f?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:t,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new Wf("Request aborted",Wf.ECONNABORTED,t,m)),m=null)},m.onerror=function(){n(new Wf("Network Error",Wf.ERR_NETWORK,t,m)),m=null},m.ontimeout=function(){let e=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||sh;r.timeoutErrorMessage&&(e=r.timeoutErrorMessage),n(new Wf(e,o.clarifyTimeoutError?Wf.ETIMEDOUT:Wf.ECONNABORTED,t,m)),m=null},void 0===o&&i.setContentType(null),"setRequestHeader"in m&&Gf.forEach(i.toJSON(),(function(t,e){m.setRequestHeader(e,t)})),Gf.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),f&&"json"!==f&&(m.responseType=r.responseType),p&&([c,l]=Rh(p,!0),m.addEventListener("progress",c)),h&&m.upload&&([a,u]=Rh(h),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(s=e=>{m&&(n(!e||e.type?new Nh(null,t,m):e),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const v=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(r.url);v&&-1===ph.protocols.indexOf(v)?n(new Wf("Unsupported protocol "+v+":",Wf.ERR_BAD_REQUEST,t)):m.send(o||null)}))},Bh=(t,e)=>{let n,r=new AbortController;const o=function(t){if(!n){n=!0,s();const e=t instanceof Error?t:this.reason;r.abort(e instanceof Wf?e:new Nh(e instanceof Error?e.message:e))}};let i=e&&setTimeout((()=>{o(new Wf(`timeout ${e} of ms exceeded`,Wf.ETIMEDOUT))}),e);const s=()=>{t&&(i&&clearTimeout(i),i=null,t.forEach((t=>{t&&(t.removeEventListener?t.removeEventListener("abort",o):t.unsubscribe(o))})),t=null)};t.forEach((t=>t&&t.addEventListener&&t.addEventListener("abort",o)));const{signal:a}=r;return a.unsubscribe=s,[a,()=>{i&&clearTimeout(i),i=null}]},Gh=function*(t,e){let n=t.byteLength;if(!e||n<e)return void(yield t);let r,o=0;for(;o<n;)r=o+e,yield t.slice(o,r),o=r},zh=(t,e,n,r,o)=>{const i=async function*(t,e,n){for await(const r of t)yield*Gh(ArrayBuffer.isView(r)?r:await n(String(r)),e)}(t,e,o);let s,a=0,c=t=>{s||(s=!0,r&&r(t))};return new ReadableStream({async pull(t){try{const{done:e,value:r}=await i.next();if(e)return c(),void t.close();let o=r.byteLength;if(n){let t=a+=o;n(t)}t.enqueue(new Uint8Array(r))}catch(t){throw c(t),t}},cancel:t=>(c(t),i.return())},{highWaterMark:2})},Vh="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Hh=Vh&&"function"==typeof ReadableStream,Wh=Vh&&("function"==typeof TextEncoder?(qh=new TextEncoder,t=>qh.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var qh;const Xh=(t,...e)=>{try{return!!t(...e)}catch(t){return!1}},Yh=Hh&&Xh((()=>{let t=!1;const e=new Request(ph.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),Kh=Hh&&Xh((()=>Gf.isReadableStream(new Response("").body))),Jh={stream:Kh&&(t=>t.body)};var Zh;Vh&&(Zh=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!Jh[t]&&(Jh[t]=Gf.isFunction(Zh[t])?e=>e[t]():(e,n)=>{throw new Wf(`Response type '${t}' is not supported`,Wf.ERR_NOT_SUPPORT,n)})})));const Qh=async(t,e)=>{const n=Gf.toFiniteNumber(t.getContentLength());return null==n?(async t=>null==t?0:Gf.isBlob(t)?t.size:Gf.isSpecCompliantForm(t)?(await new Request(t).arrayBuffer()).byteLength:Gf.isArrayBufferView(t)||Gf.isArrayBuffer(t)?t.byteLength:(Gf.isURLSearchParams(t)&&(t+=""),Gf.isString(t)?(await Wh(t)).byteLength:void 0))(e):n},tp=Vh&&(async t=>{let{url:e,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:a,onUploadProgress:c,responseType:u,headers:l,withCredentials:f="same-origin",fetchOptions:h}=Mh(t);u=u?(u+"").toLowerCase():"text";let p,d,[m,g]=o||i||s?Bh([o,i],s):[];const v=()=>{!p&&setTimeout((()=>{m&&m.unsubscribe()})),p=!0};let y;try{if(c&&Yh&&"get"!==n&&"head"!==n&&0!==(y=await Qh(l,r))){let t,n=new Request(e,{method:"POST",body:r,duplex:"half"});if(Gf.isFormData(r)&&(t=n.headers.get("content-type"))&&l.setContentType(t),n.body){const[t,e]=Lh(y,Rh(Ph(c)));r=zh(n.body,65536,t,e,Wh)}}Gf.isString(f)||(f=f?"include":"omit"),d=new Request(e,{...h,signal:m,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",credentials:f});let o=await fetch(d);const i=Kh&&("stream"===u||"response"===u);if(Kh&&(a||i)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=o[e]}));const e=Gf.toFiniteNumber(o.headers.get("content-length")),[n,r]=a&&Lh(e,Rh(Ph(a),!0))||[];o=new Response(zh(o.body,65536,n,(()=>{r&&r(),i&&v()}),Wh),t)}u=u||"text";let s=await Jh[Gf.findKey(Jh,u)||"text"](o,t);return!i&&v(),g&&g(),await new Promise(((e,n)=>{Th(e,n,{data:s,headers:_h.from(o.headers),status:o.status,statusText:o.statusText,config:t,request:d})}))}catch(e){if(v(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new Wf("Network Error",Wf.ERR_NETWORK,t,d),{cause:e.cause||e});throw Wf.from(e,e&&e.code,t,d)}}),ep={http:null,xhr:Uh,fetch:tp};Gf.forEach(ep,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const np=t=>`- ${t}`,rp=t=>Gf.isFunction(t)||null===t||!1===t,op=t=>{t=Gf.isArray(t)?t:[t];const{length:e}=t;let n,r;const o={};for(let i=0;i<e;i++){let e;if(n=t[i],r=n,!rp(n)&&(r=ep[(e=String(n)).toLowerCase()],void 0===r))throw new Wf(`Unknown adapter '${e}'`);if(r)break;o[e||"#"+i]=r}if(!r){const t=Object.entries(o).map((([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let n=e?t.length>1?"since :\n"+t.map(np).join("\n"):" "+np(t[0]):"as no adapter specified";throw new Wf("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function ip(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Nh(null,t)}function sp(t){ip(t),t.headers=_h.from(t.headers),t.data=Oh.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return op(t.adapter||gh.adapter)(t).then((function(e){return ip(t),e.data=Oh.call(t,t.transformResponse,e),e.headers=_h.from(e.headers),e}),(function(e){return xh(e)||(ip(t),e&&e.response&&(e.response.data=Oh.call(t,t.transformResponse,e.response),e.response.headers=_h.from(e.response.headers))),Promise.reject(e)}))}const ap="1.7.4",cp={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{cp[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const up={};cp.transitional=function(t,e,n){function r(t,e){return"[Axios v1.7.4] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,o,i)=>{if(!1===t)throw new Wf(r(o," has been removed"+(e?" in "+e:"")),Wf.ERR_DEPRECATED);return e&&!up[o]&&(up[o]=!0,console.warn(r(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,o,i)}};const lp={assertOptions:function(t,e,n){if("object"!=typeof t)throw new Wf("options must be an object",Wf.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const i=r[o],s=e[i];if(s){const e=t[i],n=void 0===e||s(e,i,t);if(!0!==n)throw new Wf("option "+i+" must be "+n,Wf.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Wf("Unknown option "+i,Wf.ERR_BAD_OPTION)}},validators:cp},fp=lp.validators;class hp{constructor(t){this.defaults=t,this.interceptors={request:new ih,response:new ih}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const n=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?n&&!String(t.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+n):t.stack=n}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Fh(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:o}=e;void 0!==n&&lp.assertOptions(n,{silentJSONParsing:fp.transitional(fp.boolean),forcedJSONParsing:fp.transitional(fp.boolean),clarifyTimeoutError:fp.transitional(fp.boolean)},!1),null!=r&&(Gf.isFunction(r)?e.paramsSerializer={serialize:r}:lp.assertOptions(r,{encode:fp.function,serialize:fp.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=o&&Gf.merge(o.common,o[e.method]);o&&Gf.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=_h.concat(i,o);const s=[];let a=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,s.unshift(t.fulfilled,t.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(t){c.push(t.fulfilled,t.rejected)}));let l,f=0;if(!a){const t=[sp.bind(this),void 0];for(t.unshift.apply(t,s),t.push.apply(t,c),l=t.length,u=Promise.resolve(e);f<l;)u=u.then(t[f++],t[f++]);return u}l=s.length;let h=e;for(f=0;f<l;){const t=s[f++],e=s[f++];try{h=t(h)}catch(t){e.call(this,t);break}}try{u=sp.call(this,h)}catch(t){return Promise.reject(t)}for(f=0,l=c.length;f<l;)u=u.then(c[f++],c[f++]);return u}getUri(t){return oh(jh((t=Fh(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}Gf.forEach(["delete","get","head","options"],(function(t){hp.prototype[t]=function(e,n){return this.request(Fh(n||{},{method:t,url:e,data:(n||{}).data}))}})),Gf.forEach(["post","put","patch"],(function(t){function e(e){return function(n,r,o){return this.request(Fh(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}hp.prototype[t]=e(),hp.prototype[t+"Form"]=e(!0)}));const pp=hp;class dp{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const r=new Promise((t=>{n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t,r,o){n.reason||(n.reason=new Nh(t,r,o),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;const e=new dp((function(e){t=e}));return{token:e,cancel:t}}}const mp=dp;const gp={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(gp).forEach((([t,e])=>{gp[e]=t}));const vp=gp;const yp=function t(e){const n=new pp(e),r=Zl(pp.prototype.request,n);return Gf.extend(r,pp.prototype,n,{allOwnKeys:!0}),Gf.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return t(Fh(e,n))},r}(gh);yp.Axios=pp,yp.CanceledError=Nh,yp.CancelToken=mp,yp.isCancel=xh,yp.VERSION=ap,yp.toFormData=Zf,yp.AxiosError=Wf,yp.Cancel=yp.CanceledError,yp.all=function(t){return Promise.all(t)},yp.spread=function(t){return function(e){return t.apply(null,e)}},yp.isAxiosError=function(t){return Gf.isObject(t)&&!0===t.isAxiosError},yp.mergeConfig=Fh,yp.AxiosHeaders=_h,yp.formToJSON=t=>dh(Gf.isHTMLForm(t)?new FormData(t):t),yp.getAdapter=op,yp.HttpStatusCode=vp,yp.default=yp;const bp=yp,Ep=Symbol("csrf-retry"),wp=Symbol("retryDelay");var Ap;const _p=bp.create({headers:{requesttoken:null!=(Ap=Ti())?Ap:"","X-Requested-With":"XMLHttpRequest"}}),Op=Object.assign(_p,{CancelToken:bp.CancelToken,isCancel:bp.isCancel});Op.interceptors.response.use((t=>t),(t=>async e=>{var n;const{config:r,response:o,request:i}=e,s=null==i?void 0:i.responseURL;if(412===(null==o?void 0:o.status)&&"CSRF check failed"===(null==(n=null==o?void 0:o.data)?void 0:n.message)&&void 0===r[Ep]){console.warn("Request to ".concat(s," failed because of a CSRF mismatch. Fetching a new token"));const{data:{token:e}}=await t.get(Hi("/csrftoken"));return console.debug("New request token ".concat(e," fetched")),t.defaults.headers.requesttoken=e,t({...r,headers:{...r.headers,requesttoken:e},[Ep]:!0})}return Promise.reject(e)})(Op)),Op.interceptors.response.use((t=>t),(t=>async e=>{var n;const{config:r,response:o,request:i}=e,s=null==i?void 0:i.responseURL,a=null==o?void 0:o.status,c=null==o?void 0:o.headers;if(503===a&&"1"===c["x-nextcloud-maintenance-mode"]&&r.retryIfMaintenanceMode&&(!r[wp]||r[wp]<=32)){const e=2*(null!=(n=r[wp])?n:1);return console.warn("Request to ".concat(s," failed because of maintenance mode. Retrying in ").concat(e,"s")),await new Promise((t=>{setTimeout(t,1e3*e)})),t({...r,[wp]:e})}return Promise.reject(e)})(Op)),Op.interceptors.response.use((t=>t),(async t=>{var e;const{config:n,response:r,request:o}=t,i=null==o?void 0:o.responseURL;return 401===(null==r?void 0:r.status)&&"Current user is not logged in"===(null==(e=null==r?void 0:r.data)?void 0:e.message)&&n.reloadExpiredSession&&(null==window?void 0:window.location)&&(console.error("Request to ".concat(i," failed because the user session expired. Reloading the page …")),window.location.reload()),Promise.reject(t)})),function(t){Ni.push(t)}((t=>{_p.defaults.headers.requesttoken=t}));er.use(Jl);const xp=new Il({state:{enabled:!0,loadedRecommendations:!1,loading:!1,recommendedFiles:[]},mutations:{enabled(t,e){t.enabled=e},loadedRecommendations(t,e){t.loadedRecommendations=e},loading(t,e){t.loading=e},recommendedFiles(t,e){t.recommendedFiles=e}},actions:{async enabled(t,e){t.commit("enabled",e),await Op.put(Hi("apps/recommendations/settings/enabled"),{value:e.toString()}),e&&t.dispatch("fetchRecommendations")},async fetchRecommendations(t,e){if(t.state.loadedRecommendations||t.state.loading)return;this.commit("loading",!0);const n=await(t=>{const e=Hi("/apps/recommendations/api/recommendations"+(t?"/always":""));return Op.get(e).then((t=>t.data))})(e);t.commit("enabled",n.enabled),n.recommendations&&(t.commit("recommendedFiles",n.recommendations),this.commit("loadedRecommendations",!0)),this.commit("loading",!1)}}}),Cp=er.extend(bl);!function(t){void 0===window._nc_filelistheader&&(window._nc_filelistheader=[],ru.debug("FileListHeaders initialized")),window._nc_filelistheader.find((e=>e.id===t.id))?ru.error(`Header ${t.id} already registered`,{header:t}):window._nc_filelistheader.push(t)}(new class{_header;constructor(t){this.validateHeader(t),this._header=t}get id(){return this._header.id}get order(){return this._header.order}get enabled(){return this._header.enabled}get render(){return this._header.render}get updated(){return this._header.updated}validateHeader(t){if(!t.id||!t.render||!t.updated)throw new Error("Invalid header: id, render and updated are required");if("string"!=typeof t.id)throw new Error("Invalid id property");if(void 0!==t.enabled&&"function"!=typeof t.enabled)throw new Error("Invalid enabled property");if(t.render&&"function"!=typeof t.render)throw new Error("Invalid render property");if(t.updated&&"function"!=typeof t.updated)throw new Error("Invalid updated property")}}({id:"recommendations",order:90,enabled:(t,e)=>"files"===e.id&&"/"===t.path,render(t,e,n){xp.dispatch("fetchRecommendations"),new Cp({name:"RecommendationsHeader",store:xp}).$mount(t);const r=new(er.extend(El))({store:xp}).$mount().$el;OCA.Files&&OCA.Files.Settings&&OCA.Files.Settings.register(new OCA.Files.Settings.Setting("recommendations",{el:()=>r}))},updated(t,e){}}))})()})();
//# sourceMappingURL=recommendations-main.js.map?v=f748c2dd7e91a591999b