twofactor_nextcloud_notific.../js/twofactor_nextcloud_notific...

2 строки
167 KiB
JavaScript

(()=>{var e={97:(t,e,n)=>{"use strict";e.c0=function(t){return new r.default(t)};var r=i(n(457)),o=i(n(432));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))}},432:(t,e)=>{"use strict";function n(t,e,n){return(e=function(t){var e=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)}(t,"string");return"symbol"==typeof e?e:e+""}(e))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")},457:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o=(r=n(432))&&r.__esModule?r:{default:r};function i(t,e,n){return(e=function(t){var e=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)}(t,"string");return"symbol"==typeof e?e:e+""}(e))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)}}},950:(t,e,n)=>{const r=n(322),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=n(692),{safeRe:s,t:a}=n(208),c=n(901),{compareIdentifiers:u}=n(229);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},64:(t,e,n)=>{const r=n(950);t.exports=(t,e)=>new r(t,e).major},690:(t,e,n)=>{const r=n(950);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}}},711:(t,e,n)=>{const r=n(690);t.exports=(t,e)=>{const n=r(t,e);return n?n.version:null}},692: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}},322:(t,e,n)=>{var r=n(606);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},229: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)}},901:t=>{const e=Object.freeze({loose:!0}),n=Object.freeze({});t.exports=t=>t?"object"!=typeof t?e:t:n},208:(t,e,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:i}=n(692),s=n(322),a=(e=t.exports={}).re=[],c=e.safeRe=[],u=e.src=[],l=e.t={};let f=0;const p="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",i],[p,o]],h=(t,e,n)=>{const r=(t=>{for(const[e,n]of d)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)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),h("MAINVERSION",`(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${u[l.NUMERICIDENTIFIER]}|${u[l.NONNUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${u[l.NUMERICIDENTIFIERLOOSE]}|${u[l.NONNUMERICIDENTIFIER]})`),h("PRERELEASE",`(?:-(${u[l.PRERELEASEIDENTIFIER]}(?:\\.${u[l.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${u[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[l.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${p}+`),h("BUILD",`(?:\\+(${u[l.BUILDIDENTIFIER]}(?:\\.${u[l.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${u[l.MAINVERSION]}${u[l.PRERELEASE]}?${u[l.BUILD]}?`),h("FULL",`^${u[l.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${u[l.MAINVERSIONLOOSE]}${u[l.PRERELEASELOOSE]}?${u[l.BUILD]}?`),h("LOOSE",`^${u[l.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${u[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${u[l.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:${u[l.PRERELEASE]})?${u[l.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:${u[l.PRERELEASELOOSE]})?${u[l.BUILD]}?)?)?`),h("XRANGE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAINLOOSE]}$`),h("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),h("COERCE",`${u[l.COERCEPLAIN]}(?:$|[^\\d])`),h("COERCEFULL",u[l.COERCEPLAIN]+`(?:${u[l.PRERELEASE]})?`+`(?:${u[l.BUILD]})?(?:$|[^\\d])`),h("COERCERTL",u[l.COERCE],!0),h("COERCERTLFULL",u[l.COERCEFULL],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${u[l.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",h("TILDE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${u[l.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",h("CARET",`^${u[l.LONECARET]}${u[l.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${u[l.LONECARET]}${u[l.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${u[l.GTLT]}\\s*(${u[l.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]}|${u[l.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${u[l.XRANGEPLAIN]})\\s+-\\s+(${u[l.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${u[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[l.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},526:(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},287:(t,e,n)=>{"use strict";const r=n(526),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|v(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(K(t,Uint8Array)){const e=new Uint8Array(t);return d(e.buffer,e.byteOffset,e.byteLength)}return p(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(K(t,ArrayBuffer)||t&&K(t.buffer,ArrayBuffer))return d(t,e,n);if("undefined"!=typeof SharedArrayBuffer&&(K(t,SharedArrayBuffer)||t&&K(t.buffer,SharedArrayBuffer)))return d(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|h(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||J(t.length)?a(0):p(t);if("Buffer"===t.type&&Array.isArray(t.data))return p(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|h(t))}function p(t){const e=t.length<0?0:0|h(t.length),n=a(e);for(let r=0;r<e;r+=1)n[r]=255&t[r];return n}function d(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 h(t){if(t>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|t}function v(t,e){if(c.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||K(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 z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return X(t).length;default:if(o)return r?-1:z(t).length;e=(""+e).toLowerCase(),o=!0}}function m(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 x(this,e,n);case"utf8":case"utf-8":return C(this,e,n);case"ascii":return I(this,e,n);case"latin1":case"binary":return T(this,e,n);case"base64":return S(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function g(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),J(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 _(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(J(r))return s;t[n+s]=r}return s}function w(t,e,n,r){return W(z(e,t.length-n),t,n,r)}function E(t,e,n,r){return W(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 O(t,e,n,r){return W(X(e),t,n,r)}function A(t,e,n,r){return W(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 S(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<=R)return String.fromCharCode.apply(String,t);let n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=R));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(K(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),K(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(K(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=v,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)g(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)g(this,e,e+3),g(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)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(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):m.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(K(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 _(this,t,e,n);case"utf8":case"utf-8":return w(this,t,e,n);case"ascii":case"latin1":case"binary":return E(this,t,e,n);case"base64":return O(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(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 R=4096;function I(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 T(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 x(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+=Y[t[r]];return o}function $(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 N(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 P(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 B(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 U(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){V(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||q(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){V(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||q(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){V(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||q(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){V(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||q(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){N(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){N(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||N(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||N(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||N(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||N(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||N(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 P(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);N(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);N(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||N(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||N(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||N(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||N(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||N(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 P(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 B(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return B(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return U(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return U(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 D={};function M(t,e,n){D[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 F(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 D.ERR_OUT_OF_RANGE("value",o,t)}!function(t,e,n){V(e,"offset"),void 0!==t[e]&&void 0!==t[e+n]||q(e,t.length-(n+1))}(r,o,i)}function V(t,e){if("number"!=typeof t)throw new D.ERR_INVALID_ARG_TYPE(e,"number",t)}function q(t,e,n){if(Math.floor(t)!==t)throw V(t,n),new D.ERR_OUT_OF_RANGE(n||"offset","an integer",t);if(e<0)throw new D.ERR_BUFFER_OUT_OF_BOUNDS;throw new D.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${e}`,t)}M("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),M("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),M("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=F(String(n)):"bigint"==typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=F(o)),o+="n"),r+=` It must be ${e}. Received ${o}`,r}),RangeError);const H=/[^+/0-9A-Za-z-_]/g;function z(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 X(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 W(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 K(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function J(t){return t!=t}const Y=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")}},806:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(354),o=n.n(r),i=n(314),s=n.n(i)()(o());s.push([t.id,"\n.icon-loading-small[data-v-3158e587] {\n\tdisplay: inline-block;\n\tvertical-align: sub;\n\tpadding-right: 12px;\n}\n","",{version:3,sources:["webpack://./src/components/Challenge.vue"],names:[],mappings:";AA8CA;CACA,qBAAA;CACA,mBAAA;CACA,mBAAA;AACA",sourcesContent:["\x3c!--\n - SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n--\x3e\n\n<template>\n\t<p v-if=\"state === State.POLLING\">\n\t\t{{ t('twofactor_nextcloud_notification', 'Please accept the request on one of your logged in devices.') }}\n\t\t{{ t('twofactor_nextcloud_notification', 'You will be redirected automatically once this login has been accepted.') }}\n\t</p>\n\t<p v-else-if=\"state === State.VERIFYING\">\n\t\t<span class=\"icon-loading-small\" />\n\t\t{{ t('twofactor_nextcloud_notification', 'Please wait …') }}\n\t</p>\n\t<p v-else-if=\"state === State.REJECTED\">\n\t\t<span class=\"icon-loading-small\" />\n\t\t{{ t('twofactor_nextcloud_notification', 'Your login attempt was rejected.') }}\n\t</p>\n</template>\n\n<script>\nconst State = Object.freeze({\n\tPOLLING: 0,\n\tVERIFYING: 1,\n\tREJECTED: 2,\n})\n\nexport default {\n\tname: 'Challenge',\n\tdata() {\n\t\treturn {\n\t\t\tstate: State.POLLING,\n\t\t\tState,\n\t\t}\n\t},\n}\n<\/script>\n\n<style scoped>\n\t.icon-loading-small {\n\t\tdisplay: inline-block;\n\t\tvertical-align: sub;\n\t\tpadding-right: 12px;\n\t}\n</style>\n"],sourceRoot:""}]);const a=s},314: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}},354: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")}},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,p=n?-1:1,d=t[e+f];for(f+=p,i=d&(1<<-l)-1,d>>=-l,l+=a;l>0;i=256*i+t[e+f],f+=p,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=r;l>0;s=256*s+t[e+f],f+=p,l-=8);if(0===i)i=1-u;else{if(i===c)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,r),i-=u}return(d?-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,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,h=r?1:-1,v=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?p/c:p*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+d]=255&a,d+=h,a/=256,o-=8);for(s=s<<o|a,u+=o;u>0;t[n+d]=255&s,d+=h,s/=256,u-=8);t[n+d-h]|=128*v}},606: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&&p())}function p(){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 d(t,e){this.fun=t,this.array=e}function h(){}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 d(t,e)),1!==c.length||u||s(p)},d.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=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,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}},72: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 p=n(f),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)e[p].references++,e[p].updater(d);else{var h=o(d,r);r.byIndex=a,e.splice(a,0,{identifier:f,updater:h,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}}},659: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)}},540:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},56:(t,e,n)=>{"use strict";t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},825: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)}}}},113: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))}}}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var i=n[t]={id:t,exports:{}};return e[t](i,i.exports,r),i.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nc=void 0,(()=>{"use strict";var e={};function n(t,e){return function(){return t.apply(e,arguments)}}r.r(e),r.d(e,{hasBrowserEnv:()=>pt,hasStandardBrowserEnv:()=>ht,hasStandardBrowserWebWorkerEnv:()=>vt,navigator:()=>dt,origin:()=>mt});var o=r(606);const{toString:i}=Object.prototype,{getPrototypeOf:s}=Object,a=(c=Object.create(null),t=>{const e=i.call(t);return c[e]||(c[e]=e.slice(8,-1).toLowerCase())});var c;const u=t=>(t=t.toLowerCase(),e=>a(e)===t),l=t=>e=>typeof e===t,{isArray:f}=Array,p=l("undefined");const d=u("ArrayBuffer");const h=l("string"),v=l("function"),m=l("number"),g=t=>null!==t&&"object"==typeof t,y=t=>{if("object"!==a(t))return!1;const e=s(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},b=u("Date"),_=u("File"),w=u("Blob"),E=u("FileList"),O=u("URLSearchParams"),[A,S,C,R]=["ReadableStream","Request","Response","Headers"].map(u);function I(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let r,o;if("object"!=typeof t&&(t=[t]),f(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 T(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 x="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,$=t=>!p(t)&&t!==x;const L=(N="undefined"!=typeof Uint8Array&&s(Uint8Array),t=>N&&t instanceof N);var N;const P=u("HTMLFormElement"),k=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),j=u("RegExp"),B=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};I(n,((n,o)=>{let i;!1!==(i=e(n,o,t))&&(r[o]=i||n)})),Object.defineProperties(t,r)},U="abcdefghijklmnopqrstuvwxyz",D="0123456789",M={DIGIT:D,ALPHA:U,ALPHA_DIGIT:U+U.toUpperCase()+D};const F=u("AsyncFunction"),G=(V="function"==typeof setImmediate,q=v(x.postMessage),V?setImmediate:q?((t,e)=>(x.addEventListener("message",(({source:n,data:r})=>{n===x&&r===t&&e.length&&e.shift()()}),!1),n=>{e.push(n),x.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t));var V,q;const H="undefined"!=typeof queueMicrotask?queueMicrotask.bind(x):void 0!==o&&o.nextTick||G,z={isArray:f,isArrayBuffer:d,isBuffer:function(t){return null!==t&&!p(t)&&null!==t.constructor&&!p(t.constructor)&&v(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||v(t.append)&&("formdata"===(e=a(t))||"object"===e&&v(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&d(t.buffer),e},isString:h,isNumber:m,isBoolean:t=>!0===t||!1===t,isObject:g,isPlainObject:y,isReadableStream:A,isRequest:S,isResponse:C,isHeaders:R,isUndefined:p,isDate:b,isFile:_,isBlob:w,isRegExp:j,isFunction:v,isStream:t=>g(t)&&v(t.pipe),isURLSearchParams:O,isTypedArray:L,isFileList:E,forEach:I,merge:function t(){const{caseless:e}=$(this)&&this||{},n={},r=(r,o)=>{const i=e&&T(n,o)||o;y(n[i])&&y(r)?n[i]=t(n[i],r):y(r)?n[i]=t({},r):f(r)?n[i]=r.slice():n[i]=r};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&I(arguments[t],r);return n},extend:(t,e,r,{allOwnKeys:o}={})=>(I(e,((e,o)=>{r&&v(e)?t[o]=n(e,r):t[o]=e}),{allOwnKeys:o}),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,a;const c={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)a=o[i],r&&!r(a,t,e)||c[a]||(e[a]=t[a],c[a]=!0);t=!1!==n&&s(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:a,kindOfTest:u,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(f(t))return t;let e=t.length;if(!m(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:P,hasOwnProperty:k,hasOwnProp:k,reduceDescriptors:B,freezeMethods:t=>{B(t,((e,n)=>{if(v(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=t[n];v(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 f(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:T,global:x,isContextDefined:$,ALPHABET:M,generateString:(t=16,e=M.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n},isSpecCompliantForm:function(t){return!!(t&&v(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),n=(t,r)=>{if(g(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[r]=t;const o=f(t)?[]:{};return I(t,((t,e)=>{const i=n(t,r+1);!p(i)&&(o[e]=i)})),e[r]=void 0,o}}return t};return n(t,0)},isAsyncFn:F,isThenable:t=>t&&(g(t)||v(t))&&v(t.then)&&v(t.catch),setImmediate:G,asap:H};function X(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,this.status=o.status?o.status:null)}z.inherits(X,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.status}}});const W=X.prototype,K={};["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=>{K[t]={value:t}})),Object.defineProperties(X,K),Object.defineProperty(W,"isAxiosError",{value:!0}),X.from=(t,e,n,r,o,i)=>{const s=Object.create(W);return z.toFlatObject(t,s,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),X.call(s,t.message,e,n,r,o),s.cause=t,s.name=t.name,i&&Object.assign(s,i),s};const J=X;var Y=r(287).hp;function Z(t){return z.isPlainObject(t)||z.isArray(t)}function Q(t){return z.endsWith(t,"[]")?t.slice(0,-2):t}function tt(t,e,n){return t?t.concat(e).map((function(t,e){return t=Q(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const et=z.toFlatObject(z,{},null,(function(t){return/^is[A-Z]/.test(t)}));const nt=function(t,e,n){if(!z.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const r=(n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!z.isUndefined(e[t])}))).metaTokens,o=n.visitor||u,i=n.dots,s=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&z.isSpecCompliantForm(e);if(!z.isFunction(o))throw new TypeError("visitor must be a function");function c(t){if(null===t)return"";if(z.isDate(t))return t.toISOString();if(!a&&z.isBlob(t))throw new J("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(t)||z.isTypedArray(t)?a&&"function"==typeof Blob?new Blob([t]):Y.from(t):t}function u(t,n,o){let a=t;if(t&&!o&&"object"==typeof t)if(z.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else if(z.isArray(t)&&function(t){return z.isArray(t)&&!t.some(Z)}(t)||(z.isFileList(t)||z.endsWith(n,"[]"))&&(a=z.toArray(t)))return n=Q(n),a.forEach((function(t,r){!z.isUndefined(t)&&null!==t&&e.append(!0===s?tt([n],r,i):null===s?n:n+"[]",c(t))})),!1;return!!Z(t)||(e.append(tt(o,n,i),c(t)),!1)}const l=[],f=Object.assign(et,{defaultVisitor:u,convertValue:c,isVisitable:Z});if(!z.isObject(t))throw new TypeError("data must be an object");return function t(n,r){if(!z.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),z.forEach(n,(function(n,i){!0===(!(z.isUndefined(n)||null===n)&&o.call(e,n,z.isString(i)?i.trim():i,r,f))&&t(n,r?r.concat(i):[i])})),l.pop()}}(t),e};function rt(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function ot(t,e){this._pairs=[],t&&nt(t,this,e)}const it=ot.prototype;it.append=function(t,e){this._pairs.push([t,e])},it.toString=function(t){const e=t?function(e){return t.call(this,e,rt)}:rt;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const st=ot;function at(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ct(t,e,n){if(!e)return t;const r=n&&n.encode||at,o=n&&n.serialize;let i;if(i=o?o(e,n):z.isURLSearchParams(e)?e.toString():new st(e,n).toString(r),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}const ut=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){z.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},lt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ft={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:st,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},pt="undefined"!=typeof window&&"undefined"!=typeof document,dt="object"==typeof navigator&&navigator||void 0,ht=pt&&(!dt||["ReactNative","NativeScript","NS"].indexOf(dt.product)<0),vt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,mt=pt&&window.location.href||"http://localhost",gt={...e,...ft};const yt=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&&z.isArray(r)?r.length:i,a)return z.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!s;r[i]&&z.isObject(r[i])||(r[i]=[]);return e(t,n,r[i],o)&&z.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(z.isFormData(t)&&z.isFunction(t.entries)){const n={};return z.forEachEntry(t,((t,r)=>{e(function(t){return z.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),r,n,0)})),n}return null};const bt={transitional:lt,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,o=z.isObject(t);o&&z.isHTMLForm(t)&&(t=new FormData(t));if(z.isFormData(t))return r?JSON.stringify(yt(t)):t;if(z.isArrayBuffer(t)||z.isBuffer(t)||z.isStream(t)||z.isFile(t)||z.isBlob(t)||z.isReadableStream(t))return t;if(z.isArrayBufferView(t))return t.buffer;if(z.isURLSearchParams(t))return 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 nt(t,new gt.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,r){return gt.isNode&&z.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((i=z.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return nt(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||r?(e.setContentType("application/json",!1),function(t,e,n){if(z.isString(t))try{return(e||JSON.parse)(t),z.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||bt.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(z.isResponse(t)||z.isReadableStream(t))return t;if(t&&z.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 J.from(t,J.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:gt.classes.FormData,Blob:gt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],(t=>{bt.headers[t]={}}));const _t=bt,wt=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Et=Symbol("internals");function Ot(t){return t&&String(t).trim().toLowerCase()}function At(t){return!1===t||null==t?t:z.isArray(t)?t.map(At):String(t)}function St(t,e,n,r,o){return z.isFunction(r)?r.call(this,e,n):(o&&(e=n),z.isString(e)?z.isString(r)?-1!==e.indexOf(r):z.isRegExp(r)?r.test(e):void 0:void 0)}class Ct{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function o(t,e,n){const o=Ot(e);if(!o)throw new Error("header name must be a non-empty string");const i=z.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||e]=At(t))}const i=(t,e)=>z.forEach(t,((t,n)=>o(t,n,e)));if(z.isPlainObject(t)||t instanceof this.constructor)i(t,e);else if(z.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]&&wt[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(z.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=Ot(t)){const n=z.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(z.isFunction(e))return e.call(this,t,n);if(z.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Ot(t)){const n=z.findKey(this,t);return!(!n||void 0===this[n]||e&&!St(0,this[n],n,e))}return!1}delete(t,e){const n=this;let r=!1;function o(t){if(t=Ot(t)){const o=z.findKey(n,t);!o||e&&!St(0,n[o],o,e)||(delete n[o],r=!0)}}return z.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&&!St(0,this[o],o,t,!0)||(delete this[o],r=!0)}return r}normalize(t){const e=this,n={};return z.forEach(this,((r,o)=>{const i=z.findKey(n,o);if(i)return e[i]=At(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]=At(r),n[s]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return z.forEach(this,((n,r)=>{null!=n&&!1!==n&&(e[r]=t&&z.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[Et]=this[Et]={accessors:{}}).accessors,n=this.prototype;function r(t){const r=Ot(t);e[r]||(!function(t,e){const n=z.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 z.isArray(t)?t.forEach(r):r(t),this}}Ct.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),z.reduceDescriptors(Ct.prototype,(({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}})),z.freezeMethods(Ct);const Rt=Ct;function It(t,e){const n=this||_t,r=e||n,o=Rt.from(r.headers);let i=r.data;return z.forEach(t,(function(t){i=t.call(n,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function Tt(t){return!(!t||!t.__CANCEL__)}function xt(t,e,n){J.call(this,null==t?"canceled":t,J.ERR_CANCELED,e,n),this.name="CanceledError"}z.inherits(xt,J,{__CANCEL__:!0});const $t=xt;function Lt(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}const Nt=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 p=u&&c-u;return p?Math.round(1e3*f/p):void 0}};const Pt=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)]},kt=(t,e,n=3)=>{let r=0;const o=Nt(50,250);return Pt((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)},jt=(t,e)=>{const n=null!=t;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},Bt=t=>(...e)=>z.asap((()=>t(...e))),Ut=gt.hasStandardBrowserEnv?function(){const t=gt.navigator&&/(msie|trident)/i.test(gt.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=z.isString(t)?r(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return!0},Dt=gt.hasStandardBrowserEnv?{write(t,e,n,r,o,i){const s=[t+"="+encodeURIComponent(e)];z.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),z.isString(r)&&s.push("path="+r),z.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 Mt(t,e){return t&&!function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const Ft=t=>t instanceof Rt?{...t}:t;function Gt(t,e){e=e||{};const n={};function r(t,e,n){return z.isPlainObject(t)&&z.isPlainObject(e)?z.merge.call({caseless:n},t,e):z.isPlainObject(e)?z.merge({},e):z.isArray(e)?e.slice():e}function o(t,e,n){return z.isUndefined(e)?z.isUndefined(t)?void 0:r(void 0,t,n):r(t,e,n)}function i(t,e){if(!z.isUndefined(e))return r(void 0,e)}function s(t,e){return z.isUndefined(e)?z.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(Ft(t),Ft(e),!0)};return z.forEach(Object.keys(Object.assign({},t,e)),(function(r){const i=c[r]||o,s=i(t[r],e[r],r);z.isUndefined(s)&&i!==a||(n[r]=s)})),n}const Vt=t=>{const e=Gt({},t);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:c}=e;if(e.headers=a=Rt.from(a),e.url=ct(Mt(e.baseURL,e.url),t.params,t.paramsSerializer),c&&a.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),z.isFormData(r))if(gt.hasStandardBrowserEnv||gt.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(gt.hasStandardBrowserEnv&&(o&&z.isFunction(o)&&(o=o(e)),o||!1!==o&&Ut(e.url))){const t=i&&s&&Dt.read(s);t&&a.set(i,t)}return e},qt="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,n){const r=Vt(t);let o=r.data;const i=Rt.from(r.headers).normalize();let s,a,c,u,l,{responseType:f,onUploadProgress:p,onDownloadProgress:d}=r;function h(){u&&u(),l&&l(),r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let v=new XMLHttpRequest;function m(){if(!v)return;const r=Rt.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders());Lt((function(t){e(t),h()}),(function(t){n(t),h()}),{data:f&&"text"!==f&&"json"!==f?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:r,config:t,request:v}),v=null}v.open(r.method.toUpperCase(),r.url,!0),v.timeout=r.timeout,"onloadend"in v?v.onloadend=m:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(m)},v.onabort=function(){v&&(n(new J("Request aborted",J.ECONNABORTED,t,v)),v=null)},v.onerror=function(){n(new J("Network Error",J.ERR_NETWORK,t,v)),v=null},v.ontimeout=function(){let e=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||lt;r.timeoutErrorMessage&&(e=r.timeoutErrorMessage),n(new J(e,o.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,t,v)),v=null},void 0===o&&i.setContentType(null),"setRequestHeader"in v&&z.forEach(i.toJSON(),(function(t,e){v.setRequestHeader(e,t)})),z.isUndefined(r.withCredentials)||(v.withCredentials=!!r.withCredentials),f&&"json"!==f&&(v.responseType=r.responseType),d&&([c,l]=kt(d,!0),v.addEventListener("progress",c)),p&&v.upload&&([a,u]=kt(p),v.upload.addEventListener("progress",a),v.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(s=e=>{v&&(n(!e||e.type?new $t(null,t,v):e),v.abort(),v=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const g=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(r.url);g&&-1===gt.protocols.indexOf(g)?n(new J("Unsupported protocol "+g+":",J.ERR_BAD_REQUEST,t)):v.send(o||null)}))},Ht=(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 J?e:new $t(e instanceof Error?e.message:e))}};let i=e&&setTimeout((()=>{o(new J(`timeout ${e} of ms exceeded`,J.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}]},zt=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},Xt=(t,e,n,r,o)=>{const i=async function*(t,e,n){for await(const r of t)yield*zt(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})},Wt="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Kt=Wt&&"function"==typeof ReadableStream,Jt=Wt&&("function"==typeof TextEncoder?(Yt=new TextEncoder,t=>Yt.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var Yt;const Zt=(t,...e)=>{try{return!!t(...e)}catch(t){return!1}},Qt=Kt&&Zt((()=>{let t=!1;const e=new Request(gt.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),te=Kt&&Zt((()=>z.isReadableStream(new Response("").body))),ee={stream:te&&(t=>t.body)};var ne;Wt&&(ne=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!ee[t]&&(ee[t]=z.isFunction(ne[t])?e=>e[t]():(e,n)=>{throw new J(`Response type '${t}' is not supported`,J.ERR_NOT_SUPPORT,n)})})));const re=async(t,e)=>{const n=z.toFiniteNumber(t.getContentLength());return null==n?(async t=>null==t?0:z.isBlob(t)?t.size:z.isSpecCompliantForm(t)?(await new Request(t).arrayBuffer()).byteLength:z.isArrayBufferView(t)||z.isArrayBuffer(t)?t.byteLength:(z.isURLSearchParams(t)&&(t+=""),z.isString(t)?(await Jt(t)).byteLength:void 0))(e):n},oe=Wt&&(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:p}=Vt(t);u=u?(u+"").toLowerCase():"text";let d,h,[v,m]=o||i||s?Ht([o,i],s):[];const g=()=>{!d&&setTimeout((()=>{v&&v.unsubscribe()})),d=!0};let y;try{if(c&&Qt&&"get"!==n&&"head"!==n&&0!==(y=await re(l,r))){let t,n=new Request(e,{method:"POST",body:r,duplex:"half"});if(z.isFormData(r)&&(t=n.headers.get("content-type"))&&l.setContentType(t),n.body){const[t,e]=jt(y,kt(Bt(c)));r=Xt(n.body,65536,t,e,Jt)}}z.isString(f)||(f=f?"include":"omit");const o="credentials"in Request.prototype;h=new Request(e,{...p,signal:v,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",credentials:o?f:void 0});let i=await fetch(h);const s=te&&("stream"===u||"response"===u);if(te&&(a||s)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=i[e]}));const e=z.toFiniteNumber(i.headers.get("content-length")),[n,r]=a&&jt(e,kt(Bt(a),!0))||[];i=new Response(Xt(i.body,65536,n,(()=>{r&&r(),s&&g()}),Jt),t)}u=u||"text";let d=await ee[z.findKey(ee,u)||"text"](i,t);return!s&&g(),m&&m(),await new Promise(((e,n)=>{Lt(e,n,{data:d,headers:Rt.from(i.headers),status:i.status,statusText:i.statusText,config:t,request:h})}))}catch(e){if(g(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new J("Network Error",J.ERR_NETWORK,t,h),{cause:e.cause||e});throw J.from(e,e&&e.code,t,h)}}),ie={http:null,xhr:qt,fetch:oe};z.forEach(ie,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const se=t=>`- ${t}`,ae=t=>z.isFunction(t)||null===t||!1===t,ce=t=>{t=z.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,!ae(n)&&(r=ie[(e=String(n)).toLowerCase()],void 0===r))throw new J(`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(se).join("\n"):" "+se(t[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function ue(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new $t(null,t)}function le(t){ue(t),t.headers=Rt.from(t.headers),t.data=It.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return ce(t.adapter||_t.adapter)(t).then((function(e){return ue(t),e.data=It.call(t,t.transformResponse,e),e.headers=Rt.from(e.headers),e}),(function(e){return Tt(e)||(ue(t),e&&e.response&&(e.response.data=It.call(t,t.transformResponse,e.response),e.response.headers=Rt.from(e.response.headers))),Promise.reject(e)}))}const fe="1.7.5",pe={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{pe[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const de={};pe.transitional=function(t,e,n){function r(t,e){return"[Axios v1.7.5] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,o,i)=>{if(!1===t)throw new J(r(o," has been removed"+(e?" in "+e:"")),J.ERR_DEPRECATED);return e&&!de[o]&&(de[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 he={assertOptions:function(t,e,n){if("object"!=typeof t)throw new J("options must be an object",J.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 J("option "+i+" must be "+n,J.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new J("Unknown option "+i,J.ERR_BAD_OPTION)}},validators:pe},ve=he.validators;class me{constructor(t){this.defaults=t,this.interceptors={request:new ut,response:new ut}}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=Gt(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:o}=e;void 0!==n&&he.assertOptions(n,{silentJSONParsing:ve.transitional(ve.boolean),forcedJSONParsing:ve.transitional(ve.boolean),clarifyTimeoutError:ve.transitional(ve.boolean)},!1),null!=r&&(z.isFunction(r)?e.paramsSerializer={serialize:r}:he.assertOptions(r,{encode:ve.function,serialize:ve.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=o&&z.merge(o.common,o[e.method]);o&&z.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=Rt.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=[le.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 p=e;for(f=0;f<l;){const t=s[f++],e=s[f++];try{p=t(p)}catch(t){e.call(this,t);break}}try{u=le.call(this,p)}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 ct(Mt((t=Gt(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}z.forEach(["delete","get","head","options"],(function(t){me.prototype[t]=function(e,n){return this.request(Gt(n||{},{method:t,url:e,data:(n||{}).data}))}})),z.forEach(["post","put","patch"],(function(t){function e(e){return function(n,r,o){return this.request(Gt(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}me.prototype[t]=e(),me.prototype[t+"Form"]=e(!0)}));const ge=me;class ye{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 $t(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;return{token:new ye((function(e){t=e})),cancel:t}}}const be=ye;const _e={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(_e).forEach((([t,e])=>{_e[e]=t}));const we=_e;const Ee=function t(e){const r=new ge(e),o=n(ge.prototype.request,r);return z.extend(o,ge.prototype,r,{allOwnKeys:!0}),z.extend(o,r,null,{allOwnKeys:!0}),o.create=function(n){return t(Gt(e,n))},o}(_t);Ee.Axios=ge,Ee.CanceledError=$t,Ee.CancelToken=be,Ee.isCancel=Tt,Ee.VERSION=fe,Ee.toFormData=nt,Ee.AxiosError=J,Ee.Cancel=Ee.CanceledError,Ee.all=function(t){return Promise.all(t)},Ee.spread=function(t){return function(e){return t.apply(null,e)}},Ee.isAxiosError=function(t){return z.isObject(t)&&!0===t.isAxiosError},Ee.mergeConfig=Gt,Ee.AxiosHeaders=Rt,Ee.formToJSON=t=>yt(z.isHTMLForm(t)?new FormData(t):t),Ee.getAdapter=ce,Ee.HttpStatusCode=we,Ee.default=Ee;const Oe=Ee;var Ae=r(711),Se=r(64);class Ce{bus;constructor(t){"function"==typeof t.getVersion&&Ae(t.getVersion())?Se(t.getVersion())!==Se(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 Re{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 Ie=null;function Te(){return null!==Ie?Ie:"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),Ie=void 0!==window?._nc_event_bus?new Ce(window._nc_event_bus):window._nc_event_bus=new Re,Ie)}var xe=r(97);let $e;const Le=[];function Ne(){return void 0===$e&&($e=document.head.dataset.requesttoken??null),$e}var Pe,ke;Pe="csrf-token-update",ke=t=>{$e=t.token,Le.forEach((t=>{try{t($e)}catch(t){console.error("Error updating CSRF token observer",t)}}))},Te().subscribe(Pe,ke);(0,xe.c0)("public").persist().build();const je=(t,e,n)=>{const r=Object.assign({escape:!0},n||{});return"/"!==t.charAt(0)&&(t="/"+t),o=(o=e||{})||{},t.replace(/{([^{}]*)}/g,(function(t,e){const n=o[e];return r.escape?encodeURIComponent("string"==typeof n||"number"==typeof n?n.toString():t):"string"==typeof n||"number"==typeof n?n.toString():t}));var o},Be=(t,e,n)=>{var r,o,i;const s=Object.assign({noRewrite:!1},n||{}),a=null!=(r=null==n?void 0:n.baseURL)?r:De();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"+je(t,e,n):a+je(t,e,n)},Ue=()=>window.location.protocol+"//"+window.location.host+De();function De(){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}const Me=Symbol("csrf-retry"),Fe=Symbol("retryDelay");var Ge;const Ve=Oe.create({headers:{requesttoken:null!=(Ge=Ne())?Ge:"","X-Requested-With":"XMLHttpRequest"}}),qe=Object.assign(Ve,{CancelToken:Oe.CancelToken,isCancel:Oe.isCancel});qe.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[Me]){console.warn("Request to ".concat(s," failed because of a CSRF mismatch. Fetching a new token"));const{data:{token:e}}=await t.get(Be("/csrftoken"));return console.debug("New request token ".concat(e," fetched")),t.defaults.headers.requesttoken=e,t({...r,headers:{...r.headers,requesttoken:e},[Me]:!0})}return Promise.reject(e)})(qe)),qe.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[Fe]||r[Fe]<=32)){const e=2*(null!=(n=r[Fe])?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,[Fe]:e})}return Promise.reject(e)})(qe)),qe.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){Le.push(t)}((t=>{Ve.defaults.headers.requesttoken=t}));var He=Object.freeze({}),ze=Array.isArray;function Xe(t){return null==t}function We(t){return null!=t}function Ke(t){return!0===t}function Je(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function Ye(t){return"function"==typeof t}function Ze(t){return null!==t&&"object"==typeof t}var Qe=Object.prototype.toString;function tn(t){return"[object Object]"===Qe.call(t)}function en(t){return"[object RegExp]"===Qe.call(t)}function nn(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function rn(t){return We(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function on(t){return null==t?"":Array.isArray(t)||tn(t)&&t.toString===Qe?JSON.stringify(t,sn,2):String(t)}function sn(t,e){return e&&e.__v_isRef?e.value:e}function an(t){var e=parseFloat(t);return isNaN(e)?t:e}function cn(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]}}cn("slot,component",!0);var un=cn("key,ref,slot,slot-scope,is");function ln(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 fn=Object.prototype.hasOwnProperty;function pn(t,e){return fn.call(t,e)}function dn(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var hn=/-(\w)/g,vn=dn((function(t){return t.replace(hn,(function(t,e){return e?e.toUpperCase():""}))})),mn=dn((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),gn=/\B([A-Z])/g,yn=dn((function(t){return t.replace(gn,"-$1").toLowerCase()}));var bn=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 _n(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function wn(t,e){for(var n in e)t[n]=e[n];return t}function En(t){for(var e={},n=0;n<t.length;n++)t[n]&&wn(e,t[n]);return e}function On(t,e,n){}var An=function(t,e,n){return!1},Sn=function(t){return t};function Cn(t,e){if(t===e)return!0;var n=Ze(t),r=Ze(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 Cn(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 Cn(t[n],e[n])}))}catch(t){return!1}}function Rn(t,e){for(var n=0;n<t.length;n++)if(Cn(t[n],e))return n;return-1}function In(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function Tn(t,e){return t===e?0===t&&1/t!=1/e:t==t||e==e}var xn="data-server-rendered",$n=["component","directive","filter"],Ln=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],Nn={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:An,isReservedAttr:An,isUnknownElement:An,getTagNamespace:On,parsePlatformTagName:Sn,mustUseProp:An,async:!0,_lifecycleHooks:Ln},Pn=/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 kn(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function jn(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var Bn=new RegExp("[^".concat(Pn.source,".$_\\d]"));var Un="__proto__"in{},Dn="undefined"!=typeof window,Mn=Dn&&window.navigator.userAgent.toLowerCase(),Fn=Mn&&/msie|trident/.test(Mn),Gn=Mn&&Mn.indexOf("msie 9.0")>0,Vn=Mn&&Mn.indexOf("edge/")>0;Mn&&Mn.indexOf("android");var qn=Mn&&/iphone|ipad|ipod|ios/.test(Mn);Mn&&/chrome\/\d+/.test(Mn),Mn&&/phantomjs/.test(Mn);var Hn,zn=Mn&&Mn.match(/firefox\/(\d+)/),Xn={}.watch,Wn=!1;if(Dn)try{var Kn={};Object.defineProperty(Kn,"passive",{get:function(){Wn=!0}}),window.addEventListener("test-passive",null,Kn)}catch(t){}var Jn=function(){return void 0===Hn&&(Hn=!Dn&&void 0!==r.g&&(r.g.process&&"server"===r.g.process.env.VUE_ENV)),Hn},Yn=Dn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Zn(t){return"function"==typeof t&&/native code/.test(t.toString())}var Qn,tr="undefined"!=typeof Symbol&&Zn(Symbol)&&"undefined"!=typeof Reflect&&Zn(Reflect.ownKeys);Qn="undefined"!=typeof Set&&Zn(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 er=null;function nr(t){void 0===t&&(t=null),t||er&&er._scope.off(),er=t,t&&t._scope.on()}var rr=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}(),or=function(t){void 0===t&&(t="");var e=new rr;return e.text=t,e.isComment=!0,e};function ir(t){return new rr(void 0,void 0,void 0,String(t))}function sr(t){var e=new rr(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 ar=0,cr=[],ur=function(){for(var t=0;t<cr.length;t++){var e=cr[t];e.subs=e.subs.filter((function(t){return t})),e._pending=!1}cr.length=0},lr=function(){function t(){this._pending=!1,this.id=ar++,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,cr.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}();lr.target=null;var fr=[];function pr(t){fr.push(t),lr.target=t}function dr(){fr.pop(),lr.target=fr[fr.length-1]}var hr=Array.prototype,vr=Object.create(hr);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=hr[t];jn(vr,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 mr=Object.getOwnPropertyNames(vr),gr={},yr=!0;function br(t){yr=t}var _r={notify:On,depend:On,addSub:On,removeSub:On},wr=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?_r:new lr,this.vmCount=0,jn(t,"__ob__",this),ze(t)){if(!n)if(Un)t.__proto__=vr;else for(var r=0,o=mr.length;r<o;r++){jn(t,s=mr[r],vr[s])}e||this.observeArray(t)}else{var i=Object.keys(t);for(r=0;r<i.length;r++){var s;Or(t,s=i[r],gr,void 0,e,n)}}}return t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Er(t[e],!1,this.mock)},t}();function Er(t,e,n){return t&&pn(t,"__ob__")&&t.__ob__ instanceof wr?t.__ob__:!yr||!n&&Jn()||!ze(t)&&!tn(t)||!Object.isExtensible(t)||t.__v_skip||xr(t)||t instanceof rr?void 0:new wr(t,e,n)}function Or(t,e,n,r,o,i,s){void 0===s&&(s=!1);var a=new lr,c=Object.getOwnPropertyDescriptor(t,e);if(!c||!1!==c.configurable){var u=c&&c.get,l=c&&c.set;u&&!l||n!==gr&&2!==arguments.length||(n=t[e]);var f=o?n&&n.__ob__:Er(n,!1,i);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=u?u.call(t):n;return lr.target&&(a.depend(),f&&(f.dep.depend(),ze(e)&&Cr(e))),xr(e)&&!o?e.value:e},set:function(e){var r=u?u.call(t):n;if(Tn(r,e)){if(l)l.call(t,e);else{if(u)return;if(!o&&xr(r)&&!xr(e))return void(r.value=e);n=e}f=o?e&&e.__ob__:Er(e,!1,i),a.notify()}}}),a}}function Ar(t,e,n){if(!Tr(t)){var r=t.__ob__;return ze(t)&&nn(e)?(t.length=Math.max(t.length,e),t.splice(e,1,n),r&&!r.shallow&&r.mock&&Er(n,!1,!0),n):e in t&&!(e in Object.prototype)?(t[e]=n,n):t._isVue||r&&r.vmCount?n:r?(Or(r.value,e,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(t[e]=n,n)}}function Sr(t,e){if(ze(t)&&nn(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||Tr(t)||pn(t,e)&&(delete t[e],n&&n.dep.notify())}}function Cr(t){for(var e=void 0,n=0,r=t.length;n<r;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),ze(e)&&Cr(e)}function Rr(t){return Ir(t,!0),jn(t,"__v_isShallow",!0),t}function Ir(t,e){if(!Tr(t)){Er(t,e,Jn());0}}function Tr(t){return!(!t||!t.__v_isReadonly)}function xr(t){return!(!t||!0!==t.__v_isRef)}function $r(t,e,n){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];if(xr(t))return t.value;var r=t&&t.__ob__;return r&&r.dep.depend(),t},set:function(t){var r=e[n];xr(r)&&!xr(t)?r.value=t:e[n]=t}})}var Lr="watcher";"".concat(Lr," callback"),"".concat(Lr," getter"),"".concat(Lr," cleanup");var Nr;var Pr=function(){function t(t){void 0===t&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Nr,!t&&Nr&&(this.index=(Nr.scopes||(Nr.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=Nr;try{return Nr=this,t()}finally{Nr=e}}else 0},t.prototype.on=function(){Nr=this},t.prototype.off=function(){Nr=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 kr(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}var jr=dn((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 Br(t,e){function n(){var t=n.fns;if(!ze(t))return Ao(t,null,arguments,e,"v-on handler");for(var r=t.slice(),o=0;o<r.length;o++)Ao(r[o],null,arguments,e,"v-on handler")}return n.fns=t,n}function Ur(t,e,n,r,o,i){var s,a,c,u;for(s in t)a=t[s],c=e[s],u=jr(s),Xe(a)||(Xe(c)?(Xe(a.fns)&&(a=t[s]=Br(a,i)),Ke(u.once)&&(a=t[s]=o(u.name,a,u.capture)),n(u.name,a,u.capture,u.passive,u.params)):a!==c&&(c.fns=a,t[s]=c));for(s in e)Xe(t[s])&&r((u=jr(s)).name,e[s],u.capture)}function Dr(t,e,n){var r;t instanceof rr&&(t=t.data.hook||(t.data.hook={}));var o=t[e];function i(){n.apply(this,arguments),ln(r.fns,i)}Xe(o)?r=Br([i]):We(o.fns)&&Ke(o.merged)?(r=o).fns.push(i):r=Br([o,i]),r.merged=!0,t[e]=r}function Mr(t,e,n,r,o){if(We(e)){if(pn(e,n))return t[n]=e[n],o||delete e[n],!0;if(pn(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function Fr(t){return Je(t)?[ir(t)]:ze(t)?Vr(t):void 0}function Gr(t){return We(t)&&We(t.text)&&function(t){return!1===t}(t.isComment)}function Vr(t,e){var n,r,o,i,s=[];for(n=0;n<t.length;n++)Xe(r=t[n])||"boolean"==typeof r||(i=s[o=s.length-1],ze(r)?r.length>0&&(Gr((r=Vr(r,"".concat(e||"","_").concat(n)))[0])&&Gr(i)&&(s[o]=ir(i.text+r[0].text),r.shift()),s.push.apply(s,r)):Je(r)?Gr(i)?s[o]=ir(i.text+r):""!==r&&s.push(ir(r)):Gr(r)&&Gr(i)?s[o]=ir(i.text+r.text):(Ke(t._isVList)&&We(r.tag)&&Xe(r.key)&&We(e)&&(r.key="__vlist".concat(e,"_").concat(n,"__")),s.push(r)));return s}function qr(t,e){var n,r,o,i,s=null;if(ze(t)||"string"==typeof t)for(s=new Array(t.length),n=0,r=t.length;n<r;n++)s[n]=e(t[n],n);else if("number"==typeof t)for(s=new Array(t),n=0;n<t;n++)s[n]=e(n+1,n);else if(Ze(t))if(tr&&t[Symbol.iterator]){s=[];for(var a=t[Symbol.iterator](),c=a.next();!c.done;)s.push(e(c.value,s.length)),c=a.next()}else for(o=Object.keys(t),s=new Array(o.length),n=0,r=o.length;n<r;n++)i=o[n],s[n]=e(t[i],i,n);return We(s)||(s=[]),s._isVList=!0,s}function Hr(t,e,n,r){var o,i=this.$scopedSlots[t];i?(n=n||{},r&&(n=wn(wn({},r),n)),o=i(n)||(Ye(e)?e():e)):o=this.$slots[t]||(Ye(e)?e():e);var s=n&&n.slot;return s?this.$createElement("template",{slot:s},o):o}function zr(t){return Ti(this.$options,"filters",t,!0)||Sn}function Xr(t,e){return ze(t)?-1===t.indexOf(e):t!==e}function Wr(t,e,n,r,o){var i=Nn.keyCodes[e]||n;return o&&r&&!Nn.keyCodes[e]?Xr(o,r):i?Xr(i,t):r?yn(r)!==e:void 0===t}function Kr(t,e,n,r,o){if(n)if(Ze(n)){ze(n)&&(n=En(n));var i=void 0,s=function(s){if("class"===s||"style"===s||un(s))i=t;else{var a=t.attrs&&t.attrs.type;i=r||Nn.mustUseProp(e,a,s)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=vn(s),u=yn(s);c in i||u in i||(i[s]=n[s],o&&((t.on||(t.on={}))["update:".concat(s)]=function(t){n[s]=t}))};for(var a in n)s(a)}else;return t}function Jr(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||Zr(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),"__static__".concat(t),!1),r}function Yr(t,e,n){return Zr(t,"__once__".concat(e).concat(n?"_".concat(n):""),!0),t}function Zr(t,e,n){if(ze(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&Qr(t[r],"".concat(e,"_").concat(r),n);else Qr(t,e,n)}function Qr(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function to(t,e){if(e)if(tn(e)){var n=t.on=t.on?wn({},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 eo(t,e,n,r){e=e||{$stable:!n};for(var o=0;o<t.length;o++){var i=t[o];ze(i)?eo(i,e,n):i&&(i.proxy&&(i.fn.proxy=!0),e[i.key]=i.fn)}return r&&(e.$key=r),e}function no(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 ro(t,e){return"string"==typeof t?e+t:t}function oo(t){t._o=Yr,t._n=an,t._s=on,t._l=qr,t._t=Hr,t._q=Cn,t._i=Rn,t._m=Jr,t._f=zr,t._k=Wr,t._b=Kr,t._v=ir,t._e=or,t._u=eo,t._g=to,t._d=no,t._p=ro}function io(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(so)&&delete n[u];return n}function so(t){return t.isComment&&!t.asyncFactory||" "===t.text}function ao(t){return t.isComment&&t.asyncFactory}function co(t,e,n,r){var o,i=Object.keys(n).length>0,s=e?!!e.$stable:!i,a=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&r&&r!==He&&a===r.$key&&!i&&!r.$hasNormal)return r;for(var c in o={},e)e[c]&&"$"!==c[0]&&(o[c]=uo(t,n,c,e[c]))}else o={};for(var u in n)u in o||(o[u]=lo(n,u));return e&&Object.isExtensible(e)&&(e._normalized=o),jn(o,"$stable",s),jn(o,"$key",a),jn(o,"$hasNormal",i),o}function uo(t,e,n,r){var o=function(){var e=er;nr(t);var n=arguments.length?r.apply(null,arguments):r({}),o=(n=n&&"object"==typeof n&&!ze(n)?[n]:Fr(n))&&n[0];return nr(e),n&&(!o||1===n.length&&o.isComment&&!ao(o))?void 0:n};return r.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function lo(t,e){return function(){return t[e]}}function fo(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};jn(e,"_v_attr_proxy",!0),po(e,t.$attrs,He,t,"$attrs")}return t._attrsProxy},get listeners(){t._listenersProxy||po(t._listenersProxy={},t.$listeners,He,t,"$listeners");return t._listenersProxy},get slots(){return function(t){t._slotsProxy||vo(t._slotsProxy={},t.$scopedSlots);return t._slotsProxy}(t)},emit:bn(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return $r(t,e,n)}))}}}function po(t,e,n,r,o){var i=!1;for(var s in e)s in t?e[s]!==n[s]&&(i=!0):(i=!0,ho(t,s,r,o));for(var s in t)s in e||(i=!0,delete t[s]);return i}function ho(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function vo(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}var mo=null;function go(t,e){return(t.__esModule||tr&&"Module"===t[Symbol.toStringTag])&&(t=t.default),Ze(t)?e.extend(t):t}function yo(t){if(ze(t))for(var e=0;e<t.length;e++){var n=t[e];if(We(n)&&(We(n.componentOptions)||ao(n)))return n}}var bo=1,_o=2;function wo(t,e,n,r,o,i){return(ze(n)||Je(n))&&(o=r,r=n,n=void 0),Ke(i)&&(o=_o),function(t,e,n,r,o){if(We(n)&&We(n.__ob__))return or();We(n)&&We(n.is)&&(e=n.is);if(!e)return or();0;ze(r)&&Ye(r[0])&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);o===_o?r=Fr(r):o===bo&&(r=function(t){for(var e=0;e<t.length;e++)if(ze(t[e]))return Array.prototype.concat.apply([],t);return t}(r));var i,s;if("string"==typeof e){var a=void 0;s=t.$vnode&&t.$vnode.ns||Nn.getTagNamespace(e),i=Nn.isReservedTag(e)?new rr(Nn.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!We(a=Ti(t.$options,"components",e))?new rr(e,n,r,void 0,void 0,t):bi(a,n,t,r,e)}else i=bi(e,n,t,r);return ze(i)?i:We(i)?(We(s)&&Eo(i,s),We(n)&&function(t){Ze(t.style)&&Do(t.style);Ze(t.class)&&Do(t.class)}(n),i):or()}(t,e,n,r,o)}function Eo(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),We(t.children))for(var r=0,o=t.children.length;r<o;r++){var i=t.children[r];We(i.tag)&&(Xe(i.ns)||Ke(n)&&"svg"!==i.tag)&&Eo(i,e,n)}}function Oo(t,e,n){pr();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){So(t,r,"errorCaptured hook")}}So(t,e,n)}finally{dr()}}function Ao(t,e,n,r,o){var i;try{(i=n?t.apply(e,n):t.call(e))&&!i._isVue&&rn(i)&&!i._handled&&(i.catch((function(t){return Oo(t,r,o+" (Promise/async)")})),i._handled=!0)}catch(t){Oo(t,r,o)}return i}function So(t,e,n){if(Nn.errorHandler)try{return Nn.errorHandler.call(null,t,e,n)}catch(e){e!==t&&Co(e,null,"config.errorHandler")}Co(t,e,n)}function Co(t,e,n){if(!Dn||"undefined"==typeof console)throw t;console.error(t)}var Ro,Io=!1,To=[],xo=!1;function $o(){xo=!1;var t=To.slice(0);To.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&Zn(Promise)){var Lo=Promise.resolve();Ro=function(){Lo.then($o),qn&&setTimeout(On)},Io=!0}else if(Fn||"undefined"==typeof MutationObserver||!Zn(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Ro="undefined"!=typeof setImmediate&&Zn(setImmediate)?function(){setImmediate($o)}:function(){setTimeout($o,0)};else{var No=1,Po=new MutationObserver($o),ko=document.createTextNode(String(No));Po.observe(ko,{characterData:!0}),Ro=function(){No=(No+1)%2,ko.data=String(No)},Io=!0}function jo(t,e){var n;if(To.push((function(){if(t)try{t.call(e)}catch(t){Oo(t,e,"nextTick")}else n&&n(e)})),xo||(xo=!0,Ro()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}function Bo(t){return function(e,n){if(void 0===n&&(n=er),n)return function(t,e,n){var r=t.$options;r[e]=Si(r[e],n)}(n,t,e)}}Bo("beforeMount"),Bo("mounted"),Bo("beforeUpdate"),Bo("updated"),Bo("beforeDestroy"),Bo("destroyed"),Bo("activated"),Bo("deactivated"),Bo("serverPrefetch"),Bo("renderTracked"),Bo("renderTriggered"),Bo("errorCaptured");var Uo=new Qn;function Do(t){return Mo(t,Uo),Uo.clear(),t}function Mo(t,e){var n,r,o=ze(t);if(!(!o&&!Ze(t)||t.__v_skip||Object.isFrozen(t)||t instanceof rr)){if(t.__ob__){var i=t.__ob__.dep.id;if(e.has(i))return;e.add(i)}if(o)for(n=t.length;n--;)Mo(t[n],e);else if(xr(t))Mo(t.value,e);else for(n=(r=Object.keys(t)).length;n--;)Mo(t[r[n]],e)}}var Fo,Go=0,Vo=function(){function t(t,e,n,r,o){var i,s;i=this,void 0===(s=Nr&&!Nr._vm?Nr:t?t._scope:void 0)&&(s=Nr),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=++Go,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new Qn,this.newDepIds=new Qn,this.expression="",Ye(e)?this.getter=e:(this.getter=function(t){if(!Bn.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=On)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;pr(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Oo(t,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&Do(t),dr(),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():fi(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||Ze(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'.concat(this.expression,'"');Ao(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&&ln(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 qo(t,e){Fo.$on(t,e)}function Ho(t,e){Fo.$off(t,e)}function zo(t,e){var n=Fo;return function r(){null!==e.apply(null,arguments)&&n.$off(t,r)}}function Xo(t,e,n){Fo=t,Ur(e,n||{},qo,Ho,zo,t),Fo=void 0}var Wo=null;function Ko(t){var e=Wo;return Wo=t,function(){Wo=e}}function Jo(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function Yo(t,e){if(e){if(t._directInactive=!1,Jo(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++)Yo(t.$children[n]);Qo(t,"activated")}}function Zo(t,e){if(!(e&&(t._directInactive=!0,Jo(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Zo(t.$children[n]);Qo(t,"deactivated")}}function Qo(t,e,n,r){void 0===r&&(r=!0),pr();var o=er,i=Nr;r&&nr(t);var s=t.$options[e],a="".concat(e," hook");if(s)for(var c=0,u=s.length;c<u;c++)Ao(s[c],t,n||null,t,a);t._hasHookEvent&&t.$emit("hook:"+e),r&&(nr(o),i&&i.on()),dr()}var ti=[],ei=[],ni={},ri=!1,oi=!1,ii=0;var si=0,ai=Date.now;if(Dn&&!Fn){var ci=window.performance;ci&&"function"==typeof ci.now&&ai()>document.createEvent("Event").timeStamp&&(ai=function(){return ci.now()})}var ui=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function li(){var t,e;for(si=ai(),oi=!0,ti.sort(ui),ii=0;ii<ti.length;ii++)(t=ti[ii]).before&&t.before(),e=t.id,ni[e]=null,t.run();var n=ei.slice(),r=ti.slice();ii=ti.length=ei.length=0,ni={},ri=oi=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Yo(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&&Qo(r,"updated")}}(r),ur(),Yn&&Nn.devtools&&Yn.emit("flush")}function fi(t){var e=t.id;if(null==ni[e]&&(t!==lr.target||!t.noRecurse)){if(ni[e]=!0,oi){for(var n=ti.length-1;n>ii&&ti[n].id>t.id;)n--;ti.splice(n+1,0,t)}else ti.push(t);ri||(ri=!0,jo(li))}}function pi(t,e){if(t){for(var n=Object.create(null),r=tr?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]=Ye(a)?a.call(e):a}else 0}}return n}}function di(t,e,n,r,o){var i,s=this,a=o.options;pn(r,"_uid")?(i=Object.create(r))._original=r:(i=r,r=r._original);var c=Ke(a._compiled),u=!c;this.data=t,this.props=e,this.children=n,this.parent=r,this.listeners=t.on||He,this.injections=pi(a.inject,r),this.slots=function(){return s.$slots||co(r,t.scopedSlots,s.$slots=io(n,r)),s.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return co(r,t.scopedSlots,this.slots())}}),c&&(this.$options=a,this.$slots=this.slots(),this.$scopedSlots=co(r,t.scopedSlots,this.$slots)),a._scopeId?this._c=function(t,e,n,o){var s=wo(i,t,e,n,o,u);return s&&!ze(s)&&(s.fnScopeId=a._scopeId,s.fnContext=r),s}:this._c=function(t,e,n,r){return wo(i,t,e,n,r,u)}}function hi(t,e,n,r,o){var i=sr(t);return i.fnContext=n,i.fnOptions=r,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function vi(t,e){for(var n in e)t[vn(n)]=e[n]}function mi(t){return t.name||t.__name||t._componentTag}oo(di.prototype);var gi={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;gi.prepatch(n,n)}else{var r=t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;We(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,Wo);r.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,r,o){var i=r.data.scopedSlots,s=t.$scopedSlots,a=!!(i&&!i.$stable||s!==He&&!s.$stable||i&&t.$scopedSlots.$key!==i.$key||!i&&t.$scopedSlots.$key),c=!!(o||t.$options._renderChildren||a),u=t.$vnode;t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=o;var l=r.data.attrs||He;t._attrsProxy&&po(t._attrsProxy,l,u.data&&u.data.attrs||He,t,"$attrs")&&(c=!0),t.$attrs=l,n=n||He;var f=t.$options._parentListeners;if(t._listenersProxy&&po(t._listenersProxy,n,f||He,t,"$listeners"),t.$listeners=t.$options._parentListeners=n,Xo(t,n,f),e&&t.$options.props){br(!1);for(var p=t._props,d=t.$options._propKeys||[],h=0;h<d.length;h++){var v=d[h],m=t.$options.props;p[v]=xi(v,m,e,t)}br(!0),t.$options.propsData=e}c&&(t.$slots=io(o,r.context),t.$forceUpdate())}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,Qo(r,"mounted")),t.data.keepAlive&&(n._isMounted?((e=r)._inactive=!1,ei.push(e)):Yo(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Zo(e,!0):e.$destroy())}},yi=Object.keys(gi);function bi(t,e,n,r,o){if(!Xe(t)){var i=n.$options._base;if(Ze(t)&&(t=i.extend(t)),"function"==typeof t){var s;if(Xe(t.cid)&&(t=function(t,e){if(Ke(t.error)&&We(t.errorComp))return t.errorComp;if(We(t.resolved))return t.resolved;var n=mo;if(n&&We(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),Ke(t.loading)&&We(t.loadingComp))return t.loadingComp;if(n&&!We(t.owners)){var r=t.owners=[n],o=!0,i=null,s=null;n.$on("hook:destroyed",(function(){return ln(r,n)}));var a=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();t&&(r.length=0,null!==i&&(clearTimeout(i),i=null),null!==s&&(clearTimeout(s),s=null))},c=In((function(n){t.resolved=go(n,e),o?r.length=0:a(!0)})),u=In((function(e){We(t.errorComp)&&(t.error=!0,a(!0))})),l=t(c,u);return Ze(l)&&(rn(l)?Xe(t.resolved)&&l.then(c,u):rn(l.component)&&(l.component.then(c,u),We(l.error)&&(t.errorComp=go(l.error,e)),We(l.loading)&&(t.loadingComp=go(l.loading,e),0===l.delay?t.loading=!0:i=setTimeout((function(){i=null,Xe(t.resolved)&&Xe(t.error)&&(t.loading=!0,a(!1))}),l.delay||200)),We(l.timeout)&&(s=setTimeout((function(){s=null,Xe(t.resolved)&&u(null)}),l.timeout)))),o=!1,t.loading?t.loadingComp:t.resolved}}(s=t,i),void 0===t))return function(t,e,n,r,o){var i=or();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}(s,e,n,r,o);e=e||{},qi(t),We(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),i=o[r],s=e.model.callback;We(i)?(ze(i)?-1===i.indexOf(s):i!==s)&&(o[r]=[s].concat(i)):o[r]=s}(t.options,e);var a=function(t,e){var n=e.options.props;if(!Xe(n)){var r={},o=t.attrs,i=t.props;if(We(o)||We(i))for(var s in n){var a=yn(s);Mr(r,i,s,a,!0)||Mr(r,o,s,a,!1)}return r}}(e,t);if(Ke(t.options.functional))return function(t,e,n,r,o){var i=t.options,s={},a=i.props;if(We(a))for(var c in a)s[c]=xi(c,a,e||He);else We(n.attrs)&&vi(s,n.attrs),We(n.props)&&vi(s,n.props);var u=new di(n,s,o,r,t),l=i.render.call(null,u._c,u);if(l instanceof rr)return hi(l,n,u.parent,i);if(ze(l)){for(var f=Fr(l)||[],p=new Array(f.length),d=0;d<f.length;d++)p[d]=hi(f[d],n,u.parent,i);return p}}(t,a,e,n,r);var c=e.on;if(e.on=e.nativeOn,Ke(t.options.abstract)){var u=e.slot;e={},u&&(e.slot=u)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<yi.length;n++){var r=yi[n],o=e[r],i=gi[r];o===i||o&&o._merged||(e[r]=o?_i(i,o):i)}}(e);var l=mi(t.options)||o;return new rr("vue-component-".concat(t.cid).concat(l?"-".concat(l):""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:a,listeners:c,tag:o,children:r},s)}}}function _i(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}var wi=On,Ei=Nn.optionMergeStrategies;function Oi(t,e,n){if(void 0===n&&(n=!0),!e)return t;for(var r,o,i,s=tr?Reflect.ownKeys(e):Object.keys(e),a=0;a<s.length;a++)"__ob__"!==(r=s[a])&&(o=t[r],i=e[r],n&&pn(t,r)?o!==i&&tn(o)&&tn(i)&&Oi(o,i):Ar(t,r,i));return t}function Ai(t,e,n){return n?function(){var r=Ye(e)?e.call(n,n):e,o=Ye(t)?t.call(n,n):t;return r?Oi(r,o):o}:e?t?function(){return Oi(Ye(e)?e.call(this,this):e,Ye(t)?t.call(this,this):t)}:e:t}function Si(t,e){var n=e?t?t.concat(e):ze(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 Ci(t,e,n,r){var o=Object.create(t||null);return e?wn(o,e):o}Ei.data=function(t,e,n){return n?Ai(t,e,n):e&&"function"!=typeof e?t:Ai(t,e)},Ln.forEach((function(t){Ei[t]=Si})),$n.forEach((function(t){Ei[t+"s"]=Ci})),Ei.watch=function(t,e,n,r){if(t===Xn&&(t=void 0),e===Xn&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var i in wn(o,t),e){var s=o[i],a=e[i];s&&!ze(s)&&(s=[s]),o[i]=s?s.concat(a):ze(a)?a:[a]}return o},Ei.props=Ei.methods=Ei.inject=Ei.computed=function(t,e,n,r){if(!t)return e;var o=Object.create(null);return wn(o,t),e&&wn(o,e),o},Ei.provide=function(t,e){return t?function(){var n=Object.create(null);return Oi(n,Ye(t)?t.call(this):t),e&&Oi(n,Ye(e)?e.call(this):e,!1),n}:e};var Ri=function(t,e){return void 0===e?t:e};function Ii(t,e,n){if(Ye(e)&&(e=e.options),function(t){var e=t.props;if(e){var n,r,o={};if(ze(e))for(n=e.length;n--;)"string"==typeof(r=e[n])&&(o[vn(r)]={type:null});else if(tn(e))for(var i in e)r=e[i],o[vn(i)]=tn(r)?r:{type:r};t.props=o}}(e),function(t){var e=t.inject;if(e){var n=t.inject={};if(ze(e))for(var r=0;r<e.length;r++)n[e[r]]={from:e[r]};else if(tn(e))for(var o in e){var i=e[o];n[o]=tn(i)?wn({from:o},i):{from:i}}}}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];Ye(r)&&(e[n]={bind:r,update:r})}}(e),!e._base&&(e.extends&&(t=Ii(t,e.extends,n)),e.mixins))for(var r=0,o=e.mixins.length;r<o;r++)t=Ii(t,e.mixins[r],n);var i,s={};for(i in t)a(i);for(i in e)pn(t,i)||a(i);function a(r){var o=Ei[r]||Ri;s[r]=o(t[r],e[r],n,r)}return s}function Ti(t,e,n,r){if("string"==typeof n){var o=t[e];if(pn(o,n))return o[n];var i=vn(n);if(pn(o,i))return o[i];var s=mn(i);return pn(o,s)?o[s]:o[n]||o[i]||o[s]}}function xi(t,e,n,r){var o=e[t],i=!pn(n,t),s=n[t],a=Pi(Boolean,o.type);if(a>-1)if(i&&!pn(o,"default"))s=!1;else if(""===s||s===yn(t)){var c=Pi(String,o.type);(c<0||a<c)&&(s=!0)}if(void 0===s){s=function(t,e,n){if(!pn(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 Ye(r)&&"Function"!==Li(e.type)?r.call(t):r}(r,o,t);var u=yr;br(!0),Er(s),br(u)}return s}var $i=/^\s*function (\w+)/;function Li(t){var e=t&&t.toString().match($i);return e?e[1]:""}function Ni(t,e){return Li(t)===Li(e)}function Pi(t,e){if(!ze(e))return Ni(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(Ni(e[n],t))return n;return-1}var ki={enumerable:!0,configurable:!0,get:On,set:On};function ji(t,e,n){ki.get=function(){return this[e][n]},ki.set=function(t){this[e][n]=t},Object.defineProperty(t,n,ki)}function Bi(t){var e=t.$options;if(e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props=Rr({}),o=t.$options._propKeys=[],i=!t.$parent;i||br(!1);var s=function(i){o.push(i);var s=xi(i,e,n,t);Or(r,i,s,void 0,!0),i in t||ji(t,"_props",i)};for(var a in e)s(a);br(!0)}(t,e.props),function(t){var e=t.$options,n=e.setup;if(n){var r=t._setupContext=fo(t);nr(t),pr();var o=Ao(n,null,[t._props||Rr({}),r],t,"setup");if(dr(),nr(),Ye(o))e.render=o;else if(Ze(o))if(t._setupState=o,o.__sfc){var i=t._setupProxy={};for(var s in o)"__sfc"!==s&&$r(i,o,s)}else for(var s in o)kn(s)||$r(t,o,s)}}(t),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?On:bn(e[n],t)}(t,e.methods),e.data)!function(t){var e=t.$options.data;e=t._data=Ye(e)?function(t,e){pr();try{return t.call(e,e)}catch(t){return Oo(t,e,"data()"),{}}finally{dr()}}(e,t):e||{},tn(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&&pn(r,i)||kn(i)||ji(t,"_data",i)}var s=Er(e);s&&s.vmCount++}(t);else{var n=Er(t._data={});n&&n.vmCount++}e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=Jn();for(var o in e){var i=e[o],s=Ye(i)?i:i.get;0,r||(n[o]=new Vo(t,s||On,On,Ui)),o in t||Di(t,o,i)}}(t,e.computed),e.watch&&e.watch!==Xn&&function(t,e){for(var n in e){var r=e[n];if(ze(r))for(var o=0;o<r.length;o++)Gi(t,n,r[o]);else Gi(t,n,r)}}(t,e.watch)}var Ui={lazy:!0};function Di(t,e,n){var r=!Jn();Ye(n)?(ki.get=r?Mi(e):Fi(n),ki.set=On):(ki.get=n.get?r&&!1!==n.cache?Mi(e):Fi(n.get):On,ki.set=n.set||On),Object.defineProperty(t,e,ki)}function Mi(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),lr.target&&e.depend(),e.value}}function Fi(t){return function(){return t.call(this,this)}}function Gi(t,e,n,r){return tn(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}var Vi=0;function qi(t){var e=t.options;if(t.super){var n=qi(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&&wn(t.extendOptions,r),(e=t.options=Ii(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function Hi(t){this._init(t)}function zi(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=mi(t)||mi(n.options);var s=function(t){this._init(t)};return(s.prototype=Object.create(n.prototype)).constructor=s,s.cid=e++,s.options=Ii(n.options,t),s.super=n,s.options.props&&function(t){var e=t.options.props;for(var n in e)ji(t.prototype,"_props",n)}(s),s.options.computed&&function(t){var e=t.options.computed;for(var n in e)Di(t.prototype,n,e[n])}(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,$n.forEach((function(t){s[t]=n[t]})),i&&(s.options.components[i]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=wn({},s.options),o[r]=s,s}}function Xi(t){return t&&(mi(t.Ctor.options)||t.tag)}function Wi(t,e){return ze(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!en(t)&&t.test(e)}function Ki(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)&&Ji(n,s,r,o)}}i.componentOptions.children=void 0}function Ji(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,ln(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=Vi++,e._isVue=!0,e.__v_skip=!0,e._scope=new Pr(!0),e._scope.parent=void 0,e._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)}(e,t):e.$options=Ii(qi(e.constructor),t||{},e),e._renderProxy=e,e._self=e,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}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Xo(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=io(e._renderChildren,r),t.$scopedSlots=n?co(t.$parent,n.data.scopedSlots,t.$slots):He,t._c=function(e,n,r,o){return wo(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return wo(t,e,n,r,o,!0)};var o=n&&n.data;Or(t,"$attrs",o&&o.attrs||He,null,!0),Or(t,"$listeners",e._parentListeners||He,null,!0)}(e),Qo(e,"beforeCreate",void 0,!1),function(t){var e=pi(t.$options.inject,t);e&&(br(!1),Object.keys(e).forEach((function(n){Or(t,n,e[n])})),br(!0))}(e),Bi(e),function(t){var e=t.$options.provide;if(e){var n=Ye(e)?e.call(t):e;if(!Ze(n))return;for(var r=kr(t),o=tr?Reflect.ownKeys(n):Object.keys(n),i=0;i<o.length;i++){var s=o[i];Object.defineProperty(r,s,Object.getOwnPropertyDescriptor(n,s))}}}(e),Qo(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(Hi),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=Ar,t.prototype.$delete=Sr,t.prototype.$watch=function(t,e,n){var r=this;if(tn(e))return Gi(r,t,e,n);(n=n||{}).user=!0;var o=new Vo(r,t,e,n);if(n.immediate){var i='callback for immediate watcher "'.concat(o.expression,'"');pr(),Ao(e,r,[o.value],r,i),dr()}return function(){o.teardown()}}}(Hi),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(ze(t))for(var o=0,i=t.length;o<i;o++)r.$on(t[o],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},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(ze(t)){for(var r=0,o=t.length;r<o;r++)n.$off(t[r],e);return n}var i,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;for(var a=s.length;a--;)if((i=s[a])===e||i.fn===e){s.splice(a,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?_n(n):n;for(var r=_n(arguments,1),o='event handler for "'.concat(t,'"'),i=0,s=n.length;i<s;i++)Ao(n[i],e,r,e,o)}return e}}(Hi),function(t){t.prototype._update=function(t,e){var n=this,r=n.$el,o=n._vnode,i=Ko(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){Qo(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||ln(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Qo(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(Hi),function(t){oo(t.prototype),t.prototype.$nextTick=function(t){return jo(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e._parentVnode;r&&t._isMounted&&(t.$scopedSlots=co(t.$parent,r.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&vo(t._slotsProxy,t.$scopedSlots)),t.$vnode=r;var o,i=er,s=mo;try{nr(t),mo=t,o=n.call(t._renderProxy,t.$createElement)}catch(e){Oo(e,t,"render"),o=t._vnode}finally{mo=s,nr(i)}return ze(o)&&1===o.length&&(o=o[0]),o instanceof rr||(o=or()),o.parent=r,o}}(Hi);var Yi=[String,RegExp,Array],Zi={name:"keep-alive",abstract:!0,props:{include:Yi,exclude:Yi,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:Xi(a),tag:i,componentInstance:s},n.push(o),this.max&&n.length>parseInt(this.max)&&Ji(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)Ji(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){Ki(t,(function(t){return Wi(e,t)}))})),this.$watch("exclude",(function(e){Ki(t,(function(t){return!Wi(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=yo(t),n=e&&e.componentOptions;if(n){var r=Xi(n),o=this.include,i=this.exclude;if(o&&(!r||!Wi(o,r))||i&&r&&Wi(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,ln(a,c),a.push(c)):(this.vnodeToCache=e,this.keyToCache=c),e.data.keepAlive=!0}return e||t&&t[0]}},Qi={KeepAlive:Zi};!function(t){var e={get:function(){return Nn}};Object.defineProperty(t,"config",e),t.util={warn:wi,extend:wn,mergeOptions:Ii,defineReactive:Or},t.set=Ar,t.delete=Sr,t.nextTick=jo,t.observable=function(t){return Er(t),t},t.options=Object.create(null),$n.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,wn(t.options.components,Qi),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=_n(arguments,1);return n.unshift(this),Ye(t.install)?t.install.apply(t,n):Ye(t)&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Ii(this.options,t),this}}(t),zi(t),function(t){$n.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&tn(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&Ye(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(Hi),Object.defineProperty(Hi.prototype,"$isServer",{get:Jn}),Object.defineProperty(Hi.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Hi,"FunctionalRenderContext",{value:di}),Hi.version="2.7.16";var ts=cn("style,class"),es=cn("input,textarea,option,select,progress"),ns=cn("contenteditable,draggable,spellcheck"),rs=cn("events,caret,typing,plaintext-only"),os=function(t,e){return us(e)||"false"===e?"false":"contenteditable"===t&&rs(e)?e:"true"},is=cn("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"),ss="http://www.w3.org/1999/xlink",as=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},cs=function(t){return as(t)?t.slice(6,t.length):""},us=function(t){return null==t||!1===t};function ls(t){for(var e=t.data,n=t,r=t;We(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=fs(r.data,e));for(;We(n=n.parent);)n&&n.data&&(e=fs(e,n.data));return function(t,e){if(We(t)||We(e))return ps(t,ds(e));return""}(e.staticClass,e.class)}function fs(t,e){return{staticClass:ps(t.staticClass,e.staticClass),class:We(t.class)?[t.class,e.class]:e.class}}function ps(t,e){return t?e?t+" "+e:t:e||""}function ds(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r<o;r++)We(e=ds(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):Ze(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var hs={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},vs=cn("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"),ms=cn("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),gs=function(t){return vs(t)||ms(t)};var ys=Object.create(null);var bs=cn("text,number,password,search,email,tel,url");var _s=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(hs[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,"")}}),ws={create:function(t,e){Es(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Es(t,!0),Es(e))},destroy:function(t){Es(t,!0)}};function Es(t,e){var n=t.data.ref;if(We(n)){var r=t.context,o=t.componentInstance||t.elm,i=e?null:o,s=e?void 0:o;if(Ye(n))Ao(n,r,[i],r,"template ref function");else{var a=t.data.refInFor,c="string"==typeof n||"number"==typeof n,u=xr(n),l=r.$refs;if(c||u)if(a){var f=c?l[n]:n.value;e?ze(f)&&ln(f,o):ze(f)?f.includes(o)||f.push(o):c?(l[n]=[o],Os(r,n,l[n])):n.value=[o]}else if(c){if(e&&l[n]!==o)return;l[n]=s,Os(r,n,i)}else if(u){if(e&&n.value!==o)return;n.value=i}else 0}}}function Os(t,e,n){var r=t._setupState;r&&pn(r,e)&&(xr(r[e])?r[e].value=n:r[e]=n)}var As=new rr("",{},[]),Ss=["create","activate","update","remove","destroy"];function Cs(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&We(t.data)===We(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,r=We(n=t.data)&&We(n=n.attrs)&&n.type,o=We(n=e.data)&&We(n=n.attrs)&&n.type;return r===o||bs(r)&&bs(o)}(t,e)||Ke(t.isAsyncPlaceholder)&&Xe(e.asyncFactory.error))}function Rs(t,e,n){var r,o,i={};for(r=e;r<=n;++r)We(o=t[r].key)&&(i[o]=r);return i}var Is={create:Ts,update:Ts,destroy:function(t){Ts(t,As)}};function Ts(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,o,i=t===As,s=e===As,a=$s(t.data.directives,t.context),c=$s(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,Ns(o,"update",e,t),o.def&&o.def.componentUpdated&&l.push(o)):(Ns(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++)Ns(u[n],"inserted",e,t)};i?Dr(e,"insert",f):f()}l.length&&Dr(e,"postpatch",(function(){for(var n=0;n<l.length;n++)Ns(l[n],"componentUpdated",e,t)}));if(!i)for(n in a)c[n]||Ns(a[n],"unbind",t,t,s)}(t,e)}var xs=Object.create(null);function $s(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=xs),o[Ls(r)]=r,e._setupState&&e._setupState.__sfc){var i=r.def||Ti(e,"_setupState","v-"+r.name);r.def="function"==typeof i?{bind:i,update:i}:i}r.def=r.def||Ti(e.$options,"directives",r.name)}return o}function Ls(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function Ns(t,e,n,r,o){var i=t.def&&t.def[e];if(i)try{i(n.elm,t,n,r,o)}catch(r){Oo(r,n.context,"directive ".concat(t.name," ").concat(e," hook"))}}var Ps=[ws,Is];function ks(t,e){var n=e.componentOptions;if(!(We(n)&&!1===n.Ctor.options.inheritAttrs||Xe(t.data.attrs)&&Xe(e.data.attrs))){var r,o,i=e.elm,s=t.data.attrs||{},a=e.data.attrs||{};for(r in(We(a.__ob__)||Ke(a._v_attr_proxy))&&(a=e.data.attrs=wn({},a)),a)o=a[r],s[r]!==o&&js(i,r,o,e.data.pre);for(r in(Fn||Vn)&&a.value!==s.value&&js(i,"value",a.value),s)Xe(a[r])&&(as(r)?i.removeAttributeNS(ss,cs(r)):ns(r)||i.removeAttribute(r))}}function js(t,e,n,r){r||t.tagName.indexOf("-")>-1?Bs(t,e,n):is(e)?us(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):ns(e)?t.setAttribute(e,os(e,n)):as(e)?us(n)?t.removeAttributeNS(ss,cs(e)):t.setAttributeNS(ss,e,n):Bs(t,e,n)}function Bs(t,e,n){if(us(n))t.removeAttribute(e);else{if(Fn&&!Gn&&"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 Us={create:ks,update:ks};function Ds(t,e){var n=e.elm,r=e.data,o=t.data;if(!(Xe(r.staticClass)&&Xe(r.class)&&(Xe(o)||Xe(o.staticClass)&&Xe(o.class)))){var i=ls(e),s=n._transitionClasses;We(s)&&(i=ps(i,ds(s))),i!==n._prevClass&&(n.setAttribute("class",i),n._prevClass=i)}}var Ms,Fs={create:Ds,update:Ds},Gs="__r",Vs="__c";function qs(t,e,n){var r=Ms;return function o(){null!==e.apply(null,arguments)&&Xs(t,o,n,r)}}var Hs=Io&&!(zn&&Number(zn[1])<=53);function zs(t,e,n,r){if(Hs){var o=si,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)}}Ms.addEventListener(t,e,Wn?{capture:n,passive:r}:n)}function Xs(t,e,n,r){(r||Ms).removeEventListener(t,e._wrapper||e,n)}function Ws(t,e){if(!Xe(t.data.on)||!Xe(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Ms=e.elm||t.elm,function(t){if(We(t[Gs])){var e=Fn?"change":"input";t[e]=[].concat(t[Gs],t[e]||[]),delete t[Gs]}We(t[Vs])&&(t.change=[].concat(t[Vs],t.change||[]),delete t[Vs])}(n),Ur(n,r,zs,Xs,qs,e.context),Ms=void 0}}var Ks,Js={create:Ws,update:Ws,destroy:function(t){return Ws(t,As)}};function Ys(t,e){if(!Xe(t.data.domProps)||!Xe(e.data.domProps)){var n,r,o=e.elm,i=t.data.domProps||{},s=e.data.domProps||{};for(n in(We(s.__ob__)||Ke(s._v_attr_proxy))&&(s=e.data.domProps=wn({},s)),i)n in s||(o[n]="");for(n in s){if(r=s[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===i[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var a=Xe(r)?"":String(r);Zs(o,a)&&(o.value=a)}else if("innerHTML"===n&&ms(o.tagName)&&Xe(o.innerHTML)){(Ks=Ks||document.createElement("div")).innerHTML="<svg>".concat(r,"</svg>");for(var c=Ks.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;c.firstChild;)o.appendChild(c.firstChild)}else if(r!==i[n])try{o[n]=r}catch(t){}}}}function Zs(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(We(r)){if(r.number)return an(n)!==an(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var Qs={create:Ys,update:Ys},ta=dn((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 ea(t){var e=na(t.style);return t.staticStyle?wn(t.staticStyle,e):e}function na(t){return Array.isArray(t)?En(t):"string"==typeof t?ta(t):t}var ra,oa=/^--/,ia=/\s*!important$/,sa=function(t,e,n){if(oa.test(e))t.style.setProperty(e,n);else if(ia.test(n))t.style.setProperty(yn(e),n.replace(ia,""),"important");else{var r=ca(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}},aa=["Webkit","Moz","ms"],ca=dn((function(t){if(ra=ra||document.createElement("div").style,"filter"!==(t=vn(t))&&t in ra)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<aa.length;n++){var r=aa[n]+e;if(r in ra)return r}}));function ua(t,e){var n=e.data,r=t.data;if(!(Xe(n.staticStyle)&&Xe(n.style)&&Xe(r.staticStyle)&&Xe(r.style))){var o,i,s=e.elm,a=r.staticStyle,c=r.normalizedStyle||r.style||{},u=a||c,l=na(e.data.style)||{};e.data.normalizedStyle=We(l.__ob__)?wn({},l):l;var f=function(t,e){var n,r={};if(e)for(var o=t;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=ea(o.data))&&wn(r,n);(n=ea(t.data))&&wn(r,n);for(var i=t;i=i.parent;)i.data&&(n=ea(i.data))&&wn(r,n);return r}(e,!0);for(i in u)Xe(f[i])&&sa(s,i,"");for(i in f)o=f[i],sa(s,i,null==o?"":o)}}var la={create:ua,update:ua},fa=/\s+/;function pa(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(fa).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 da(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(fa).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 ha(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&wn(e,va(t.name||"v")),wn(e,t),e}return"string"==typeof t?va(t):void 0}}var va=dn((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")}})),ma=Dn&&!Gn,ga="transition",ya="animation",ba="transition",_a="transitionend",wa="animation",Ea="animationend";ma&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ba="WebkitTransition",_a="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(wa="WebkitAnimation",Ea="webkitAnimationEnd"));var Oa=Dn?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Aa(t){Oa((function(){Oa(t)}))}function Sa(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),pa(t,e))}function Ca(t,e){t._transitionClasses&&ln(t._transitionClasses,e),da(t,e)}function Ra(t,e,n){var r=Ta(t,e),o=r.type,i=r.timeout,s=r.propCount;if(!o)return n();var a=o===ga?_a:Ea,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 Ia=/\b(transform|all)(,|$)/;function Ta(t,e){var n,r=window.getComputedStyle(t),o=(r[ba+"Delay"]||"").split(", "),i=(r[ba+"Duration"]||"").split(", "),s=xa(o,i),a=(r[wa+"Delay"]||"").split(", "),c=(r[wa+"Duration"]||"").split(", "),u=xa(a,c),l=0,f=0;return e===ga?s>0&&(n=ga,l=s,f=i.length):e===ya?u>0&&(n=ya,l=u,f=c.length):f=(n=(l=Math.max(s,u))>0?s>u?ga:ya:null)?n===ga?i.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===ga&&Ia.test(r[ba+"Property"])}}function xa(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return $a(e)+$a(t[n])})))}function $a(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function La(t,e){var n=t.elm;We(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=ha(t.data.transition);if(!Xe(r)&&!We(n._enterCb)&&1===n.nodeType){for(var o=r.css,i=r.type,s=r.enterClass,a=r.enterToClass,c=r.enterActiveClass,u=r.appearClass,l=r.appearToClass,f=r.appearActiveClass,p=r.beforeEnter,d=r.enter,h=r.afterEnter,v=r.enterCancelled,m=r.beforeAppear,g=r.appear,y=r.afterAppear,b=r.appearCancelled,_=r.duration,w=Wo,E=Wo.$vnode;E&&E.parent;)w=E.context,E=E.parent;var O=!w._isMounted||!t.isRootInsert;if(!O||g||""===g){var A=O&&u?u:s,S=O&&f?f:c,C=O&&l?l:a,R=O&&m||p,I=O&&Ye(g)?g:d,T=O&&y||h,x=O&&b||v,$=an(Ze(_)?_.enter:_);0;var L=!1!==o&&!Gn,N=ka(I),P=n._enterCb=In((function(){L&&(Ca(n,C),Ca(n,S)),P.cancelled?(L&&Ca(n,A),x&&x(n)):T&&T(n),n._enterCb=null}));t.data.show||Dr(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(),I&&I(n,P)})),R&&R(n),L&&(Sa(n,A),Sa(n,S),Aa((function(){Ca(n,A),P.cancelled||(Sa(n,C),N||(Pa($)?setTimeout(P,$):Ra(n,i,P)))}))),t.data.show&&(e&&e(),I&&I(n,P)),L||N||P()}}}function Na(t,e){var n=t.elm;We(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=ha(t.data.transition);if(Xe(r)||1!==n.nodeType)return e();if(!We(n._leaveCb)){var o=r.css,i=r.type,s=r.leaveClass,a=r.leaveToClass,c=r.leaveActiveClass,u=r.beforeLeave,l=r.leave,f=r.afterLeave,p=r.leaveCancelled,d=r.delayLeave,h=r.duration,v=!1!==o&&!Gn,m=ka(l),g=an(Ze(h)?h.leave:h);0;var y=n._leaveCb=In((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),v&&(Ca(n,a),Ca(n,c)),y.cancelled?(v&&Ca(n,s),p&&p(n)):(e(),f&&f(n)),n._leaveCb=null}));d?d(b):b()}function b(){y.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),u&&u(n),v&&(Sa(n,s),Sa(n,c),Aa((function(){Ca(n,s),y.cancelled||(Sa(n,a),m||(Pa(g)?setTimeout(y,g):Ra(n,i,y)))}))),l&&l(n,y),v||m||y())}}function Pa(t){return"number"==typeof t&&!isNaN(t)}function ka(t){if(Xe(t))return!1;var e=t.fns;return We(e)?ka(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function ja(t,e){!0!==e.data.show&&La(e)}var Ba=function(t){var e,n,r={},o=t.modules,i=t.nodeOps;for(e=0;e<Ss.length;++e)for(r[Ss[e]]=[],n=0;n<o.length;++n)We(o[n][Ss[e]])&&r[Ss[e]].push(o[n][Ss[e]]);function s(t){var e=i.parentNode(t);We(e)&&i.removeChild(e,t)}function a(t,e,n,o,s,a,f){if(We(t.elm)&&We(a)&&(t=a[f]=sr(t)),t.isRootInsert=!s,!function(t,e,n,o){var i=t.data;if(We(i)){var s=We(t.componentInstance)&&i.keepAlive;if(We(i=i.hook)&&We(i=i.init)&&i(t,!1),We(t.componentInstance))return c(t,e),u(n,t.elm,o),Ke(s)&&function(t,e,n,o){var i,s=t;for(;s.componentInstance;)if(We(i=(s=s.componentInstance._vnode).data)&&We(i=i.transition)){for(i=0;i<r.activate.length;++i)r.activate[i](As,s);e.push(s);break}u(n,t.elm,o)}(t,e,n,o),!0}}(t,e,n,o)){var h=t.data,v=t.children,m=t.tag;We(m)?(t.elm=t.ns?i.createElementNS(t.ns,m):i.createElement(m,t),d(t),l(t,v,e),We(h)&&p(t,e),u(n,t.elm,o)):Ke(t.isComment)?(t.elm=i.createComment(t.text),u(n,t.elm,o)):(t.elm=i.createTextNode(t.text),u(n,t.elm,o))}}function c(t,e){We(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,f(t)?(p(t,e),d(t)):(Es(t),e.push(t))}function u(t,e,n){We(t)&&(We(n)?i.parentNode(n)===t&&i.insertBefore(t,e,n):i.appendChild(t,e))}function l(t,e,n){if(ze(e)){0;for(var r=0;r<e.length;++r)a(e[r],n,t.elm,null,!0,e,r)}else Je(t.text)&&i.appendChild(t.elm,i.createTextNode(String(t.text)))}function f(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return We(t.tag)}function p(t,n){for(var o=0;o<r.create.length;++o)r.create[o](As,t);We(e=t.data.hook)&&(We(e.create)&&e.create(As,t),We(e.insert)&&n.push(t))}function d(t){var e;if(We(e=t.fnScopeId))i.setStyleScope(t.elm,e);else for(var n=t;n;)We(e=n.context)&&We(e=e.$options._scopeId)&&i.setStyleScope(t.elm,e),n=n.parent;We(e=Wo)&&e!==t.context&&e!==t.fnContext&&We(e=e.$options._scopeId)&&i.setStyleScope(t.elm,e)}function h(t,e,n,r,o,i){for(;r<=o;++r)a(n[r],i,t,e,!1,n,r)}function v(t){var e,n,o=t.data;if(We(o))for(We(e=o.hook)&&We(e=e.destroy)&&e(t),e=0;e<r.destroy.length;++e)r.destroy[e](t);if(We(e=t.children))for(n=0;n<t.children.length;++n)v(t.children[n])}function m(t,e,n){for(;e<=n;++e){var r=t[e];We(r)&&(We(r.tag)?(g(r),v(r)):s(r.elm))}}function g(t,e){if(We(e)||We(t.data)){var n,o=r.remove.length+1;for(We(e)?e.listeners+=o:e=function(t,e){function n(){0==--n.listeners&&s(t)}return n.listeners=e,n}(t.elm,o),We(n=t.componentInstance)&&We(n=n._vnode)&&We(n.data)&&g(n,e),n=0;n<r.remove.length;++n)r.remove[n](t,e);We(n=t.data.hook)&&We(n=n.remove)?n(t,e):e()}else s(t.elm)}function y(t,e,n,r){for(var o=n;o<r;o++){var i=e[o];if(We(i)&&Cs(t,i))return o}}function b(t,e,n,o,s,c){if(t!==e){We(e.elm)&&We(o)&&(e=o[s]=sr(e));var u=e.elm=t.elm;if(Ke(t.isAsyncPlaceholder))We(e.asyncFactory.resolved)?E(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(Ke(e.isStatic)&&Ke(t.isStatic)&&e.key===t.key&&(Ke(e.isCloned)||Ke(e.isOnce)))e.componentInstance=t.componentInstance;else{var l,p=e.data;We(p)&&We(l=p.hook)&&We(l=l.prepatch)&&l(t,e);var d=t.children,v=e.children;if(We(p)&&f(e)){for(l=0;l<r.update.length;++l)r.update[l](t,e);We(l=p.hook)&&We(l=l.update)&&l(t,e)}Xe(e.text)?We(d)&&We(v)?d!==v&&function(t,e,n,r,o){var s,c,u,l=0,f=0,p=e.length-1,d=e[0],v=e[p],g=n.length-1,_=n[0],w=n[g],E=!o;for(;l<=p&&f<=g;)Xe(d)?d=e[++l]:Xe(v)?v=e[--p]:Cs(d,_)?(b(d,_,r,n,f),d=e[++l],_=n[++f]):Cs(v,w)?(b(v,w,r,n,g),v=e[--p],w=n[--g]):Cs(d,w)?(b(d,w,r,n,g),E&&i.insertBefore(t,d.elm,i.nextSibling(v.elm)),d=e[++l],w=n[--g]):Cs(v,_)?(b(v,_,r,n,f),E&&i.insertBefore(t,v.elm,d.elm),v=e[--p],_=n[++f]):(Xe(s)&&(s=Rs(e,l,p)),Xe(c=We(_.key)?s[_.key]:y(_,e,l,p))?a(_,r,t,d.elm,!1,n,f):Cs(u=e[c],_)?(b(u,_,r,n,f),e[c]=void 0,E&&i.insertBefore(t,u.elm,d.elm)):a(_,r,t,d.elm,!1,n,f),_=n[++f]);l>p?h(t,Xe(n[g+1])?null:n[g+1].elm,n,f,g,r):f>g&&m(e,l,p)}(u,d,v,n,c):We(v)?(We(t.text)&&i.setTextContent(u,""),h(u,null,v,0,v.length-1,n)):We(d)?m(d,0,d.length-1):We(t.text)&&i.setTextContent(u,""):t.text!==e.text&&i.setTextContent(u,e.text),We(p)&&We(l=p.hook)&&We(l=l.postpatch)&&l(t,e)}}}function _(t,e,n){if(Ke(n)&&We(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var w=cn("attrs,class,staticClass,staticStyle,key");function E(t,e,n,r){var o,i=e.tag,s=e.data,a=e.children;if(r=r||s&&s.pre,e.elm=t,Ke(e.isComment)&&We(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(We(s)&&(We(o=s.hook)&&We(o=o.init)&&o(e,!0),We(o=e.componentInstance)))return c(e,n),!0;if(We(i)){if(We(a))if(t.hasChildNodes())if(We(o=s)&&We(o=o.domProps)&&We(o=o.innerHTML)){if(o!==t.innerHTML)return!1}else{for(var u=!0,f=t.firstChild,d=0;d<a.length;d++){if(!f||!E(f,a[d],n,r)){u=!1;break}f=f.nextSibling}if(!u||f)return!1}else l(e,a,n);if(We(s)){var h=!1;for(var v in s)if(!w(v)){h=!0,p(e,n);break}!h&&s.class&&Do(s.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,o){if(!Xe(e)){var s,c=!1,u=[];if(Xe(t))c=!0,a(e,u);else{var l=We(t.nodeType);if(!l&&Cs(t,e))b(t,e,u,null,null,o);else{if(l){if(1===t.nodeType&&t.hasAttribute(xn)&&(t.removeAttribute(xn),n=!0),Ke(n)&&E(t,e,u))return _(e,u,!0),t;s=t,t=new rr(i.tagName(s).toLowerCase(),{},[],void 0,s)}var p=t.elm,d=i.parentNode(p);if(a(e,u,p._leaveCb?null:d,i.nextSibling(p)),We(e.parent))for(var h=e.parent,g=f(e);h;){for(var y=0;y<r.destroy.length;++y)r.destroy[y](h);if(h.elm=e.elm,g){for(var w=0;w<r.create.length;++w)r.create[w](As,h);var O=h.data.hook.insert;if(O.merged)for(var A=O.fns.slice(1),S=0;S<A.length;S++)A[S]()}else Es(h);h=h.parent}We(d)?m([t],0,0):We(t.tag)&&v(t)}}return _(e,u,c),e.elm}We(t)&&v(t)}}({nodeOps:_s,modules:[Us,Fs,Js,Qs,la,Dn?{create:ja,activate:ja,remove:function(t,e){!0!==t.data.show?Na(t,e):e()}}:{}].concat(Ps)});Gn&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Ha(t,"input")}));var Ua={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Dr(n,"postpatch",(function(){Ua.componentUpdated(t,e,n)})):Da(t,e,n.context),t._vOptions=[].map.call(t.options,Ga)):("textarea"===n.tag||bs(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Va),t.addEventListener("compositionend",qa),t.addEventListener("change",qa),Gn&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Da(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,Ga);if(o.some((function(t,e){return!Cn(t,r[e])}))){var i=t.multiple?e.value.some((function(t){return Fa(t,o)})):e.value!==e.oldValue&&Fa(e.value,o);i&&Ha(t,"change")}}}};function Da(t,e,n){Ma(t,e,n),(Fn||Vn)&&setTimeout((function(){Ma(t,e,n)}),0)}function Ma(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=Rn(r,Ga(s))>-1,s.selected!==i&&(s.selected=i);else if(Cn(Ga(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));o||(t.selectedIndex=-1)}}function Fa(t,e){return e.every((function(e){return!Cn(e,t)}))}function Ga(t){return"_value"in t?t._value:t.value}function Va(t){t.target.composing=!0}function qa(t){t.target.composing&&(t.target.composing=!1,Ha(t.target,"input"))}function Ha(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function za(t){return!t.componentInstance||t.data&&t.data.transition?t:za(t.componentInstance._vnode)}var Xa={bind:function(t,e,n){var r=e.value,o=(n=za(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,La(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=za(n)).data&&n.data.transition?(n.data.show=!0,r?La(n,(function(){t.style.display=t.__vOriginalDisplay})):Na(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)}},Wa={model:Ua,show:Xa},Ka={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 Ja(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Ja(yo(e.children)):t}function Ya(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[vn(r)]=o[r];return e}function Za(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Qa=function(t){return t.tag||ao(t)},tc=function(t){return"show"===t.name},ec={name:"transition",props:Ka,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Qa)).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=Ja(o);if(!i)return o;if(this._leaving)return Za(t,o);var s="__transition-".concat(this._uid,"-");i.key=null==i.key?i.isComment?s+"comment":s+i.tag:Je(i.key)?0===String(i.key).indexOf(s)?i.key:s+i.key:i.key;var a=(i.data||(i.data={})).transition=Ya(this),c=this._vnode,u=Ja(c);if(i.data.directives&&i.data.directives.some(tc)&&(i.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(i,u)&&!ao(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var l=u.data.transition=wn({},a);if("out-in"===r)return this._leaving=!0,Dr(l,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Za(t,o);if("in-out"===r){if(ao(i))return c;var f,p=function(){f()};Dr(a,"afterEnter",p),Dr(a,"enterCancelled",p),Dr(l,"delayLeave",(function(t){f=t}))}}return o}}},nc=wn({tag:String,moveClass:String},Ka);delete nc.mode;var rc={props:nc,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=Ko(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=Ya(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(oc),t.forEach(ic),t.forEach(sc),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;Sa(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(_a,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(_a,t),n._moveCb=null,Ca(n,e))})}})))},methods:{hasMove:function(t,e){if(!ma)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){da(n,t)})),pa(n,e),n.style.display="none",this.$el.appendChild(n);var r=Ta(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function oc(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ic(t){t.data.newPos=t.elm.getBoundingClientRect()}function sc(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 ac={Transition:ec,TransitionGroup:rc};Hi.config.mustUseProp=function(t,e,n){return"value"===n&&es(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Hi.config.isReservedTag=gs,Hi.config.isReservedAttr=ts,Hi.config.getTagNamespace=function(t){return ms(t)?"svg":"math"===t?"math":void 0},Hi.config.isUnknownElement=function(t){if(!Dn)return!0;if(gs(t))return!1;if(t=t.toLowerCase(),null!=ys[t])return ys[t];var e=document.createElement(t);return t.indexOf("-")>-1?ys[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ys[t]=/HTMLUnknownElement/.test(e.toString())},wn(Hi.options.directives,Wa),wn(Hi.options.components,ac),Hi.prototype.__patch__=Dn?Ba:On,Hi.prototype.$mount=function(t,e){return function(t,e,n){var r;t.$el=e,t.$options.render||(t.$options.render=or),Qo(t,"beforeMount"),r=function(){t._update(t._render(),n)},new Vo(t,r,On,{before:function(){t._isMounted&&!t._isDestroyed&&Qo(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,Qo(t,"mounted")),t}(this,t=t&&Dn?function(t){if("string"==typeof t){return document.querySelector(t)||document.createElement("div")}return t}(t):void 0,e)},Dn&&setTimeout((function(){Nn.devtools&&Yn&&Yn.emit("init",Hi)}),0);const cc=Object.freeze({POLLING:0,VERIFYING:1,REJECTED:2}),uc={name:"Challenge",data:()=>({state:cc.POLLING,State:cc})};var lc=r(72),fc=r.n(lc),pc=r(825),dc=r.n(pc),hc=r(659),vc=r.n(hc),mc=r(56),gc=r.n(mc),yc=r(540),bc=r.n(yc),_c=r(113),wc=r.n(_c),Ec=r(806),Oc={};Oc.styleTagTransform=wc(),Oc.setAttributes=gc(),Oc.insert=vc().bind(null,"head"),Oc.domAPI=dc(),Oc.insertStyleElement=bc();fc()(Ec.A,Oc);Ec.A&&Ec.A.locals&&Ec.A.locals;var Ac=function(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}}(uc,(function(){var t=this,e=t._self._c;return t.state===t.State.POLLING?e("p",[t._v("\n\t"+t._s(t.t("twofactor_nextcloud_notification","Please accept the request on one of your logged in devices."))+"\n\t"+t._s(t.t("twofactor_nextcloud_notification","You will be redirected automatically once this login has been accepted."))+"\n")]):t.state===t.State.VERIFYING?e("p",[e("span",{staticClass:"icon-loading-small"}),t._v("\n\t"+t._s(t.t("twofactor_nextcloud_notification","Please wait …"))+"\n")]):t.state===t.State.REJECTED?e("p",[e("span",{staticClass:"icon-loading-small"}),t._v("\n\t"+t._s(t.t("twofactor_nextcloud_notification","Your login attempt was rejected."))+"\n")]):t._e()}),[],!1,null,"3158e587",null);const Sc=Ac.exports,Cc={methods:{t}},Rc=(t,e,n)=>{t().then(e).catch((r=>{console.error("promise rejected:",r),setTimeout((()=>{console.error("retrying …"),Rc(t,e,n)}),n)}))};var Ic=("undefined"!=typeof window?window:void 0!==r.g?r.g:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function Tc(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]=Tc(t[n],e)})),r}function xc(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function $c(t){return null!==t&&"object"==typeof t}var Lc=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)||{}},Nc={namespaced:{configurable:!0}};Nc.namespaced.get=function(){return!!this._rawModule.namespaced},Lc.prototype.addChild=function(t,e){this._children[t]=e},Lc.prototype.removeChild=function(t){delete this._children[t]},Lc.prototype.getChild=function(t){return this._children[t]},Lc.prototype.hasChild=function(t){return t in this._children},Lc.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)},Lc.prototype.forEachChild=function(t){xc(this._children,t)},Lc.prototype.forEachGetter=function(t){this._rawModule.getters&&xc(this._rawModule.getters,t)},Lc.prototype.forEachAction=function(t){this._rawModule.actions&&xc(this._rawModule.actions,t)},Lc.prototype.forEachMutation=function(t){this._rawModule.mutations&&xc(this._rawModule.mutations,t)},Object.defineProperties(Lc.prototype,Nc);var Pc=function(t){this.register([],t,!1)};function kc(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return void 0;kc(t.concat(r),e.getChild(r),n.modules[r])}}Pc.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},Pc.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},Pc.prototype.update=function(t){kc([],this.root,t)},Pc.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new Lc(e,n);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o);e.modules&&xc(e.modules,(function(e,o){r.register(t.concat(o),e,n)}))},Pc.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)},Pc.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var jc;var Bc=function(t){var e=this;void 0===t&&(t={}),!jc&&"undefined"!=typeof window&&window.Vue&&Hc(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 Pc(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new jc,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;Gc(this,a,[],this._modules.root),Fc(this,a),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:jc.config.devtools)&&function(t){Ic&&(t._devtoolHook=Ic,Ic.emit("vuex:init",t),Ic.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){Ic.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){Ic.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},Uc={state:{configurable:!0}};function Dc(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 Mc(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;Gc(t,n,[],t._modules.root,!0),Fc(t,n,e)}function Fc(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,i={};xc(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=jc.config.silent;jc.config.silent=!0,t._vm=new jc({data:{$$state:e},computed:i}),jc.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})),jc.nextTick((function(){return r.$destroy()})))}function Gc(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=Vc(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){jc.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=qc(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=qc(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 Vc(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,i=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return(o=i)&&"function"==typeof o.then||(i=Promise.resolve(i)),t._devtoolHook?i.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):i}))}(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){Gc(t,e,n.concat(i),r,o)}))}function Vc(t,e){return e.reduce((function(t,e){return t[e]}),t)}function qc(t,e,n){return $c(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function Hc(t){jc&&t===jc||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)}}(jc=t)}Uc.state.get=function(){return this._vm._data.$$state},Uc.state.set=function(t){0},Bc.prototype.commit=function(t,e,n){var r=this,o=qc(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)})))},Bc.prototype.dispatch=function(t,e){var n=this,r=qc(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)}))}))}},Bc.prototype.subscribe=function(t,e){return Dc(t,this._subscribers,e)},Bc.prototype.subscribeAction=function(t,e){return Dc("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},Bc.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},Bc.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},Bc.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),Gc(this,this.state,t,this._modules.get(t),n.preserveState),Fc(this,this.state)},Bc.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=Vc(e.state,t.slice(0,-1));jc.delete(n,t[t.length-1])})),Mc(this)},Bc.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},Bc.prototype.hotUpdate=function(t){this._modules.update(t),Mc(this,!0)},Bc.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(Bc.prototype,Uc);var zc=Yc((function(t,e){var n={};return Jc(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=Zc(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})),Xc=Yc((function(t,e){var n={};return Jc(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=Zc(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})),Wc=Yc((function(t,e){var n={};return Jc(e).forEach((function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||Zc(this.$store,"mapGetters",t))return this.$store.getters[o]},n[r].vuex=!0})),n})),Kc=Yc((function(t,e){var n={};return Jc(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=Zc(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 Jc(t){return function(t){return Array.isArray(t)||$c(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 Yc(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function Zc(t,e,n){return t._modulesNamespaceMap[n]}function Qc(t,e,n){var r=n?t.groupCollapsed:t.group;try{r.call(t,e)}catch(n){t.log(e)}}function tu(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function eu(){var t=new Date;return" @ "+nu(t.getHours(),2)+":"+nu(t.getMinutes(),2)+":"+nu(t.getSeconds(),2)+"."+nu(t.getMilliseconds(),3)}function nu(t,e){return n="0",r=e-t.toString().length,new Array(r+1).join(n)+t;var n,r}var ru={Store:Bc,install:Hc,version:"3.6.2",mapState:zc,mapMutations:Xc,mapGetters:Wc,mapActions:Kc,createNamespacedHelpers:function(t){return{mapState:zc.bind(null,t),mapGetters:Wc.bind(null,t),mapMutations:Xc.bind(null,t),mapActions:Kc.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=Tc(t.state);void 0!==u&&(a&&t.subscribe((function(t,i){var s=Tc(i);if(n(t,l,s)){var a=eu(),c=o(t),f="mutation "+t.type+a;Qc(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)),tu(u)}l=s})),c&&t.subscribeAction((function(t,n){if(i(t,n)){var r=eu(),o=s(t),a="action "+t.type+r;Qc(u,a,e),u.log("%c action","color: #03A9F4; font-weight: bold",o),tu(u)}})))}}};const ou=ru;function iu(t){const e=Be("/apps/twofactor_nextcloud_notification/settings/state"),n={state:t};return qe.post(e,n).then((t=>t.data))}Hi.use(ou);const su={setEnabled(t,e){t.enabled=e}},au={enable(t){let{commit:e}=t;return iu(!0).then((t=>{let{enabled:n}=t;return e("setEnabled",n),n}))},disable(t){let{commit:e}=t;return iu(!1).then((t=>{let{enabled:n}=t;return e("setEnabled",n),n}))}},cu=new ou.Store({strict:!1,state:{enabled:!1},mutations:su,actions:au});Hi.mixin(Cc);const uu=new(Hi.extend(Sc))({store:cu}).$mount("#twofactor-notification-challenge"),lu=document.getElementById("challenge-poll-token").value;console.debug("starting challenge polling",lu);const fu=((t,e,n)=>{var r;const o=1===Object.assign({ocsVersion:2},n||{}).ocsVersion?1:2;return(null!=(r=null==n?void 0:n.baseURL)?r:Ue())+"/ocs/v"+o+".php"+je(t,e,n)})("apps/twofactor_nextcloud_notification/api/v1/poll/{token}",{token:lu});var pu,du;(pu=(t=>()=>qe.get(t,{}).then((t=>t.data)).then((t=>{let{ocs:e}=t;return"pending"===e.data.status?Promise.reject(e.data.status):e})))(fu),du=800,new Promise((t=>{Rc(pu,t,du)}))).then((t=>{console.debug("polling finished",t),"accepted"===t.data.status?(uu.state=1,document.getElementById("twofactor-form").submit()):(uu.state=2,location.href=document.getElementsByClassName("two-factor-secondary")[0].href)})).catch((t=>{console.error("polling failed",t)}))})()})();
//# sourceMappingURL=twofactor_nextcloud_notification-challenge.js.map?v=164ea31e92505c4793dc