nextcloud/core/js/dist/maintenance.js

26 lines
61 KiB
JavaScript

!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=926)}({100:function(t,e,n){var r=n(12),o=n(22),i=n(85).indexOf,c=n(39);t.exports=function(t,e){var n,a=o(t),s=0,u=[];for(n in a)!r(c,n)&&r(a,n)&&u.push(n);for(;e.length>s;)r(a,n=e[s++])&&(~i(u,n)||u.push(n));return u}},101:function(t,e,n){const{MAX_SAFE_COMPONENT_LENGTH:r}=n(64),o=n(102),i=(e=t.exports={}).re=[],c=e.src=[],a=e.t={};let s=0;const u=(t,e,n)=>{const r=s++;o(r,e),a[t]=r,c[r]=e,i[r]=new RegExp(e,n?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION","(".concat(c[a.NUMERICIDENTIFIER],")\\.")+"(".concat(c[a.NUMERICIDENTIFIER],")\\.")+"(".concat(c[a.NUMERICIDENTIFIER],")")),u("MAINVERSIONLOOSE","(".concat(c[a.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(c[a.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(c[a.NUMERICIDENTIFIERLOOSE],")")),u("PRERELEASEIDENTIFIER","(?:".concat(c[a.NUMERICIDENTIFIER],"|").concat(c[a.NONNUMERICIDENTIFIER],")")),u("PRERELEASEIDENTIFIERLOOSE","(?:".concat(c[a.NUMERICIDENTIFIERLOOSE],"|").concat(c[a.NONNUMERICIDENTIFIER],")")),u("PRERELEASE","(?:-(".concat(c[a.PRERELEASEIDENTIFIER],"(?:\\.").concat(c[a.PRERELEASEIDENTIFIER],")*))")),u("PRERELEASELOOSE","(?:-?(".concat(c[a.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(c[a.PRERELEASEIDENTIFIERLOOSE],")*))")),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD","(?:\\+(".concat(c[a.BUILDIDENTIFIER],"(?:\\.").concat(c[a.BUILDIDENTIFIER],")*))")),u("FULLPLAIN","v?".concat(c[a.MAINVERSION]).concat(c[a.PRERELEASE],"?").concat(c[a.BUILD],"?")),u("FULL","^".concat(c[a.FULLPLAIN],"$")),u("LOOSEPLAIN","[v=\\s]*".concat(c[a.MAINVERSIONLOOSE]).concat(c[a.PRERELEASELOOSE],"?").concat(c[a.BUILD],"?")),u("LOOSE","^".concat(c[a.LOOSEPLAIN],"$")),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE","".concat(c[a.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),u("XRANGEIDENTIFIER","".concat(c[a.NUMERICIDENTIFIER],"|x|X|\\*")),u("XRANGEPLAIN","[v=\\s]*(".concat(c[a.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(c[a.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(c[a.XRANGEIDENTIFIER],")")+"(?:".concat(c[a.PRERELEASE],")?").concat(c[a.BUILD],"?")+")?)?"),u("XRANGEPLAINLOOSE","[v=\\s]*(".concat(c[a.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(c[a.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(c[a.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(c[a.PRERELEASELOOSE],")?").concat(c[a.BUILD],"?")+")?)?"),u("XRANGE","^".concat(c[a.GTLT],"\\s*").concat(c[a.XRANGEPLAIN],"$")),u("XRANGELOOSE","^".concat(c[a.GTLT],"\\s*").concat(c[a.XRANGEPLAINLOOSE],"$")),u("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(r,"})")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:$|[^\\d])"),u("COERCERTL",c[a.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM","(\\s*)".concat(c[a.LONETILDE],"\\s+"),!0),e.tildeTrimReplace="$1~",u("TILDE","^".concat(c[a.LONETILDE]).concat(c[a.XRANGEPLAIN],"$")),u("TILDELOOSE","^".concat(c[a.LONETILDE]).concat(c[a.XRANGEPLAINLOOSE],"$")),u("LONECARET","(?:\\^)"),u("CARETTRIM","(\\s*)".concat(c[a.LONECARET],"\\s+"),!0),e.caretTrimReplace="$1^",u("CARET","^".concat(c[a.LONECARET]).concat(c[a.XRANGEPLAIN],"$")),u("CARETLOOSE","^".concat(c[a.LONECARET]).concat(c[a.XRANGEPLAINLOOSE],"$")),u("COMPARATORLOOSE","^".concat(c[a.GTLT],"\\s*(").concat(c[a.LOOSEPLAIN],")$|^$")),u("COMPARATOR","^".concat(c[a.GTLT],"\\s*(").concat(c[a.FULLPLAIN],")$|^$")),u("COMPARATORTRIM","(\\s*)".concat(c[a.GTLT],"\\s*(").concat(c[a.LOOSEPLAIN],"|").concat(c[a.XRANGEPLAIN],")"),!0),e.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE","^\\s*(".concat(c[a.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(c[a.XRANGEPLAIN],")")+"\\s*$"),u("HYPHENRANGELOOSE","^\\s*(".concat(c[a.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(c[a.XRANGEPLAINLOOSE],")")+"\\s*$"),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0.0.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},102:function(t,e,n){(function(e){const n="object"==typeof e&&e.env&&e.env.NODE_DEBUG&&/\bsemver\b/i.test(e.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};t.exports=n}).call(this,n(71))},103:function(t,e,n){const r=n(102),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=n(64),{re:c,t:a}=n(101),{compareIdentifiers:s}=n(159);class u{constructor(t,e){if(e&&"object"==typeof e||(e={loose:!!e,includePrerelease:!1}),t instanceof u){if(t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease)return t;t=t.version}else if("string"!=typeof t)throw new TypeError("Invalid Version: ".concat(t));if(t.length>o)throw new TypeError("version is longer than ".concat(o," characters"));r("SemVer",t,e),this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease;const n=t.trim().match(e.loose?c[a.LOOSE]:c[a.FULL]);if(!n)throw new TypeError("Invalid Version: ".concat(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="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(t){if(r("SemVer.compare",this.version,this.options,t),!(t instanceof u)){if("string"==typeof t&&t===this.version)return 0;t=new u(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof u||(t=new u(t,this.options)),s(this.major,t.major)||s(this.minor,t.minor)||s(this.patch,t.patch)}comparePre(t){if(t instanceof u||(t=new u(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 s(n,o)}while(++e)}compareBuild(t){t instanceof u||(t=new u(t,this.options));let e=0;do{const n=this.build[e],o=t.build[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 s(n,o)}while(++e)}inc(t,e){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e),this.inc("pre",e);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e),this.inc("pre",e);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":if(0===this.prerelease.length)this.prerelease=[0];else{let t=this.prerelease.length;for(;--t>=0;)"number"==typeof this.prerelease[t]&&(this.prerelease[t]++,t=-2);-1===t&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: ".concat(t))}return this.format(),this.raw=this.version,this}}t.exports=u},104:function(t,e,n){"use strict";var r=n(3),o=n(105);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},105:function(t,e,n){"use strict";var r=n(31).forEach,o=n(53)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},106:function(t,e,n){"use strict";var r,o,i,c=n(4),a=n(50),s=n(14),u=n(12),f=n(6),l=n(34),p=f("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):h=!0);var d=null==r||c((function(){var t={};return r[p].call(t)!==t}));d&&(r={}),l&&!d||u(r,p)||s(r,p,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},107:function(t,e,n){var r=n(17);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},108:function(t,e,n){"use strict";var r=n(82).charAt,o=n(23),i=n(65),c=o.set,a=o.getterFor("String Iterator");i(String,"String",(function(t){c(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=a(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},109:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},11:function(t,e,n){var r=n(4);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},112:function(t,e,n){"use strict";var r=n(4);function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},113:function(t,e,n){"use strict";n(44);var r=n(17),o=n(4),i=n(6),c=n(14),a=i("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),u="$0"==="a".replace(/./,"$0"),f=i("replace"),l=!!/./[f]&&""===/./[f]("a","$0"),p=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,f){var h=i(t),d=!o((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),v=d&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[a]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return e=!0,null},n[h](""),!e}));if(!d||!v||"replace"===t&&(!s||!u||l)||"split"===t&&!p){var E=/./[h],g=n(h,""[t],(function(t,e,n,r,o){return e.exec===RegExp.prototype.exec?d&&!o?{done:!0,value:E.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:l}),y=g[0],m=g[1];r(String.prototype,t,y),r(RegExp.prototype,h,2==e?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)})}f&&c(RegExp.prototype[h],"sham",!0)}},114:function(t,e,n){var r=n(24),o=n(86);t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},115:function(t,e,n){"use strict";var r=n(3),o=n(31).filter;r({target:"Array",proto:!0,forced:!n(59)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},116:function(t,e,n){"use strict";var r=n(25),o=n(13),i=n(6),c=n(11),a=i("species");t.exports=function(t){var e=r(t),n=o.f;c&&e&&!e[a]&&n(e,a,{configurable:!0,get:function(){return this}})}},117:function(t,e,n){var r=n(3),o=n(163);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},119:function(t,e,n){var r=n(25);t.exports=r("navigator","userAgent")||""},12:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},120:function(t,e,n){"use strict";var r=n(82).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},121:function(t,e,n){var r=n(4);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},122:function(t,e,n){var r=n(6)("iterator"),o=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[r]=function(){return this},Array.from(c,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(t){}return n}},123:function(t,e,n){var r=n(5),o=n(109),i=n(60),c=n(14),a=n(6),s=a("iterator"),u=a("toStringTag"),f=i.values;for(var l in o){var p=r[l],h=p&&p.prototype;if(h){if(h[s]!==f)try{c(h,s,f)}catch(t){h[s]=f}if(h[u]||c(h,u,l),o[l])for(var d in i)if(h[d]!==i[d])try{c(h,d,i[d])}catch(t){h[d]=i[d]}}}},129:function(t,e,n){var r=n(25),o=n(84),i=n(95),c=n(8);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(c(t)),n=i.f;return n?e.concat(n(t)):e}},13:function(t,e,n){var r=n(11),o=n(99),i=n(8),c=n(37),a=Object.defineProperty;e.f=r?a:function(t,e,n){if(i(t),e=c(e,!0),i(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},130:function(t,e,n){var r=n(5);t.exports=r},131:function(t,e,n){var r=n(11),o=n(13),i=n(8),c=n(74);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=c(e),a=r.length,s=0;a>s;)o.f(t,n=r[s++],e[n]);return t}},132:function(t,e,n){"use strict";var r=n(106).IteratorPrototype,o=n(38),i=n(30),c=n(35),a=n(32),s=function(){return this};t.exports=function(t,e,n){var u=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),c(t,u,!1,!0),a[u]=s,t}},133:function(t,e,n){"use strict";var r=n(3),o=n(5),i=n(79),c=n(17),a=n(70),s=n(67),u=n(57),f=n(9),l=n(4),p=n(122),h=n(35),d=n(135);t.exports=function(t,e,n){var v=-1!==t.indexOf("Map"),E=-1!==t.indexOf("Weak"),g=v?"set":"add",y=o[t],m=y&&y.prototype,x=y,b={},O=function(t){var e=m[t];c(m,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(E&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return E&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(E&&!f(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof y||!(E||m.forEach&&!l((function(){(new y).entries().next()})))))x=n.getConstructor(e,t,v,g),a.REQUIRED=!0;else if(i(t,!0)){var R=new x,I=R[g](E?{}:-0,1)!=R,S=l((function(){R.has(1)})),w=p((function(t){new y(t)})),T=!E&&l((function(){for(var t=new y,e=5;e--;)t[g](e,e);return!t.has(-0)}));w||((x=e((function(e,n){u(e,x,t);var r=d(new y,e,x);return null!=n&&s(n,r[g],{that:r,AS_ENTRIES:v}),r}))).prototype=m,m.constructor=x),(S||T)&&(O("delete"),O("has"),v&&O("get")),(T||I)&&O(g),E&&m.clear&&delete m.clear}return b[t]=x,r({global:!0,forced:x!=y},b),h(x,t),E||n.setStrong(x,t,v),x}},134:function(t,e,n){var r=n(6),o=n(32),i=r("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},135:function(t,e,n){var r=n(9),o=n(66);t.exports=function(t,e,n){var i,c;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(c=i.prototype)&&c!==n.prototype&&o(t,c),t}},136:function(t,e,n){var r=n(5),o=n(109),i=n(105),c=n(14);for(var a in o){var s=r[a],u=s&&s.prototype;if(u&&u.forEach!==i)try{c(u,"forEach",i)}catch(t){u.forEach=i}}},137:function(t,e,n){var r=n(12),o=n(129),i=n(33),c=n(13);t.exports=function(t,e){for(var n=o(e),a=c.f,s=i.f,u=0;u<n.length;u++){var f=n[u];r(t,f)||a(t,f,s(e,f))}}},138:function(t,e,n){var r=n(87);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},139:function(t,e,n){var r=n(4);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},14:function(t,e,n){var r=n(11),o=n(13),i=n(30);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},140:function(t,e,n){var r=n(8);t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}},148:function(t,e,n){var r=n(5),o=n(94),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},149:function(t,e,n){var r=n(18),o=Math.floor,i="".replace,c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,s,u,f){var l=n+t.length,p=s.length,h=a;return void 0!==u&&(u=r(u),h=c),i.call(f,h,(function(r,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(l);case"<":c=u[i.slice(1,-1)];break;default:var a=+i;if(0===a)return r;if(a>p){var f=o(a/10);return 0===f?r:f<=p?void 0===s[f-1]?i.charAt(1):s[f-1]+i.charAt(1):r}c=s[a-1]}return void 0===c?"":c}))}},15:function(t,e,n){"use strict";n(176),n(117),n(76),n(44),n(154),n(81),Object.defineProperty(e,"__esModule",{value:!0}),e.getRootUrl=e.generateFilePath=e.imagePath=e.generateUrl=e.generateOcsUrl=e.generateRemoteUrl=e.linkTo=void 0;e.linkTo=function(t,e){return r(t,"",e)};e.generateRemoteUrl=function(t){return window.location.protocol+"//"+window.location.host+function(t){return o()+"/remote.php/"+t}(t)};e.generateOcsUrl=function(t,e){return e=2!==e?1:2,window.location.protocol+"//"+window.location.host+o()+"/ocs/v"+e+".php/"+t+"/"};e.generateUrl=function(t,e,n){var r=Object.assign({escape:!0,noRewrite:!1},n||{}),i=function(t,e){return e=e||{},t.replace(/{([^{}]*)}/g,(function(t,n){var o=e[n];return r.escape?"string"==typeof o||"number"==typeof o?encodeURIComponent(o.toString()):encodeURIComponent(t):"string"==typeof o||"number"==typeof o?o.toString():t}))};return"/"!==t.charAt(0)&&(t="/"+t),!0!==OC.config.modRewriteWorking||r.noRewrite?o()+"/index.php"+i(t,e||{}):o()+i(t,e||{})};e.imagePath=function(t,e){return-1===e.indexOf(".")?r(t,"img",e+".svg"):r(t,"img",e)};var r=function(t,e,n){var r=-1!==OC.coreApps.indexOf(t),i=o();return"php"!==n.substring(n.length-3)||r?"php"===n.substring(n.length-3)||r?(i+="settings"!==t&&"core"!==t&&"search"!==t||"ajax"!==e?"/":"/index.php/",r||(i+="apps/"),""!==t&&(i+=t+="/"),e&&(i+=e+"/"),i+=n):(i=OC.appswebroots[t],e&&(i+="/"+e+"/"),"/"!==i.substring(i.length-1)&&(i+="/"),i+=n):(i+="/index.php/apps/"+t,"index.php"!==n&&(i+="/",e&&(i+=encodeURI(e+"/")),i+=n)),i};e.generateFilePath=r;var o=function(){return OC.webroot};e.getRootUrl=o},150:function(t,e,n){var r=n(25);t.exports=r("document","documentElement")},151:function(t,e,n){var r=n(9);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},152:function(t,e,n){"use strict";var r=n(133),o=n(153);t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},153:function(t,e,n){"use strict";var r=n(13).f,o=n(38),i=n(107),c=n(40),a=n(57),s=n(67),u=n(65),f=n(116),l=n(11),p=n(70).fastKey,h=n(23),d=h.set,v=h.getterFor;t.exports={getConstructor:function(t,e,n,u){var f=t((function(t,r){a(t,f,e),d(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=r&&s(r,t[u],{that:t,AS_ENTRIES:n})})),h=v(e),E=function(t,e,n){var r,o,i=h(t),c=g(t,e);return c?c.value=n:(i.last=c={index:o=p(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=c),r&&(r.next=c),l?i.size++:t.size++,"F"!==o&&(i.index[o]=c)),t},g=function(t,e){var n,r=h(t),o=p(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(f.prototype,{clear:function(){for(var t=h(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=h(this),n=g(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),l?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=h(this),r=c(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!g(this,t)}}),i(f.prototype,n?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return E(this,0===t?0:t,e)}}:{add:function(t){return E(this,t=0===t?0:t,t)}}),l&&r(f.prototype,"size",{get:function(){return h(this).size}}),f},setStrong:function(t,e,n){var r=e+" Iterator",o=v(e),i=v(r);u(t,e,(function(t,e){d(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),f(e)}}},154:function(t,e,n){"use strict";var r=n(17),o=n(8),i=n(4),c=n(80),a=RegExp.prototype,s=a.toString,u=i((function(){return"/a/b"!=s.call({source:"a",flags:"b"})})),f="toString"!=s.name;(u||f)&&r(RegExp.prototype,"toString",(function(){var t=o(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in a)?c.call(t):n)}),{unsafe:!0})},156:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ProxyBus=void 0;var r=i(n(157)),o=i(n(160));function i(t){return t&&t.__esModule?t:{default:t}}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var a="1.2.0",s=function(){function t(e){var n,i,c;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),c=void 0,(i="bus")in(n=this)?Object.defineProperty(n,i,{value:c,enumerable:!0,configurable:!0,writable:!0}):n[i]=c,"function"==typeof e.getVersion&&(0,r.default)(e.getVersion())?(0,o.default)(e.getVersion())!==(0,o.default)(this.getVersion())&&console.warn("Proxying an event bus of version "+e.getVersion()+" with "+this.getVersion()):console.warn("Proxying an event bus with an unknown or invalid version"),this.bus=e}var e,n,i;return e=t,(n=[{key:"getVersion",value:function(){return a}},{key:"subscribe",value:function(t,e){this.bus.subscribe(t,e)}},{key:"unsubscribe",value:function(t,e){this.bus.unsubscribe(t,e)}},{key:"emit",value:function(t,e){this.bus.emit(t,e)}}])&&c(e.prototype,n),i&&c(e,i),t}();e.ProxyBus=s},157:function(t,e,n){const r=n(158);t.exports=(t,e)=>{const n=r(t,e);return n?n.version:null}},158:function(t,e,n){const{MAX_LENGTH:r}=n(64),{re:o,t:i}=n(101),c=n(103);t.exports=(t,e)=>{if(e&&"object"==typeof e||(e={loose:!!e,includePrerelease:!1}),t instanceof c)return t;if("string"!=typeof t)return null;if(t.length>r)return null;if(!(e.loose?o[i.LOOSE]:o[i.FULL]).test(t))return null;try{return new c(t,e)}catch(t){return null}}},159:function(t,e){const n=/^[0-9]+$/,r=(t,e)=>{const r=n.test(t),o=n.test(e);return r&&o&&(t=+t,e=+e),t===e?0:r&&!o?-1:o&&!r?1:t<e?-1:1};t.exports={compareIdentifiers:r,rcompareIdentifiers:(t,e)=>r(e,t)}},16:function(t,e,n){var r=n(26),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},160:function(t,e,n){const r=n(103);t.exports=(t,e)=>new r(t,e).major},161:function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}n(89),n(115),n(104),n(60),n(152),n(76),n(108),n(136),n(123),Object.defineProperty(e,"__esModule",{value:!0}),e.SimpleBus=void 0;var o="1.2.0",i=function(){function t(){var e,n,r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,n="handlers",r=new Map,n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r}var e,n,i;return e=t,(n=[{key:"getVersion",value:function(){return o}},{key:"subscribe",value:function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).concat(e))}},{key:"unsubscribe",value:function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).filter((function(t){return t!=e})))}},{key:"emit",value:function(t,e){(this.handlers.get(t)||[]).forEach((function(t){try{t(e)}catch(t){console.error("could not invoke event listener",t)}}))}}])&&r(e.prototype,n),i&&r(e,i),t}();e.SimpleBus=i},162:function(t,e,n){"use strict";var r=n(68),o=n(75);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},163:function(t,e,n){"use strict";var r=n(11),o=n(4),i=n(74),c=n(95),a=n(83),s=n(18),u=n(49),f=Object.assign,l=Object.defineProperty;t.exports=!f||o((function(){if(r&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=f({},t)[n]||"abcdefghijklmnopqrst"!=i(f({},e)).join("")}))?function(t,e){for(var n=s(t),o=arguments.length,f=1,l=c.f,p=a.f;o>f;)for(var h,d=u(arguments[f++]),v=l?i(d).concat(l(d)):i(d),E=v.length,g=0;E>g;)h=v[g++],r&&!p.call(d,h)||(n[h]=d[h]);return n}:f},168:function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},169:function(t,e,n){"use strict";var r=n(19);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var c=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),c.push(o(e)+"="+o(t))})))})),i=c.join("&")}if(i){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},17:function(t,e,n){var r=n(5),o=n(14),i=n(12),c=n(61),a=n(94),s=n(23),u=s.get,f=s.enforce,l=String(String).split("String");(t.exports=function(t,e,n,a){var s,u=!!a&&!!a.unsafe,p=!!a&&!!a.enumerable,h=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),(s=f(n)).source||(s.source=l.join("string"==typeof e?e:""))),t!==r?(u?!h&&t[e]&&(p=!0):delete t[e],p?t[e]=n:o(t,e,n)):p?t[e]=n:c(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||a(this)}))},170:function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},171:function(t,e,n){"use strict";(function(e){var r=n(19),o=n(225),i={"Content-Type":"application/x-www-form-urlencoded"};function c(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var a,s={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e&&"[object process]"===Object.prototype.toString.call(e))&&(a=n(172)),a),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(c(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(c(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(t){s.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){s.headers[t]=r.merge(i)})),t.exports=s}).call(this,n(71))},172:function(t,e,n){"use strict";var r=n(19),o=n(226),i=n(228),c=n(169),a=n(229),s=n(232),u=n(233),f=n(173);t.exports=function(t){return new Promise((function(e,n){var l=t.data,p=t.headers;r.isFormData(l)&&delete p["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";p.Authorization="Basic "+btoa(d+":"+v)}var E=a(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),c(E,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,i={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:t,request:h};o(e,n,i),h=null}},h.onabort=function(){h&&(n(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){n(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(f(e,t,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var g=(t.withCredentials||u(E))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;g&&(p[t.xsrfHeaderName]=g)}if("setRequestHeader"in h&&r.forEach(p,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete p[e]:h.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),n(t),h=null)})),l||(l=null),h.send(l)}))}},173:function(t,e,n){"use strict";var r=n(227);t.exports=function(t,e,n,o,i){var c=new Error(t);return r(c,e,n,o,i)}},174:function(t,e,n){"use strict";var r=n(19);t.exports=function(t,e){e=e||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],c=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function s(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function u(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=s(void 0,t[o])):n[o]=s(t[o],e[o])}r.forEach(o,(function(t){r.isUndefined(e[t])||(n[t]=s(void 0,e[t]))})),r.forEach(i,u),r.forEach(c,(function(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=s(void 0,t[o])):n[o]=s(void 0,e[o])})),r.forEach(a,(function(r){r in e?n[r]=s(t[r],e[r]):r in t&&(n[r]=s(void 0,t[r]))}));var f=o.concat(i).concat(c).concat(a),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return r.forEach(l,u),n}},175:function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},176:function(t,e,n){"use strict";var r=n(3),o=n(85).indexOf,i=n(53),c=[].indexOf,a=!!c&&1/[1].indexOf(1,-0)<0,s=i("indexOf");r({target:"Array",proto:!0,forced:a||!s},{indexOf:function(t){return a?c.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},18:function(t,e,n){var r=n(21);t.exports=function(t){return Object(r(t))}},188:function(t,e,n){"use strict";n(104),Object.defineProperty(e,"__esModule",{value:!0}),e.getRequestToken=function(){return i},e.onRequestTokenUpdate=function(t){c.push(t)};var r=n(47),o=document.getElementsByTagName("head")[0],i=o?o.getAttribute("data-requesttoken"):null,c=[];(0,r.subscribe)("csrf-token-update",(function(t){i=t.token,c.forEach((function(e){try{e(t.token)}catch(t){console.error("error updating CSRF token observer",t)}}))}))},189:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCurrentUser=function(){if(null===o)return null;return{uid:o,displayName:c,isAdmin:a}};var r=document.getElementsByTagName("head")[0],o=r?r.getAttribute("data-user"):null,i=document.getElementsByTagName("head")[0],c=i?i.getAttribute("data-user-displayname"):null,a="undefined"!=typeof OC&&OC.isUserAdmin()},19:function(t,e,n){"use strict";var r=n(168),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function c(t){return void 0===t}function a(t){return null!==t&&"object"==typeof t}function s(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function u(t){return"[object Function]"===o.call(t)}function f(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:i,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:function(t){return null!==t&&!c(t)&&null!==t.constructor&&!c(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:a,isPlainObject:s,isUndefined:c,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:u,isStream:function(t){return a(t)&&u(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:f,merge:function t(){var e={};function n(n,r){s(e[r])&&s(n)?e[r]=t(e[r],n):s(n)?e[r]=t({},n):i(n)?e[r]=n.slice():e[r]=n}for(var r=0,o=arguments.length;r<o;r++)f(arguments[r],n);return e},extend:function(t,e,n){return f(e,(function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},20:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},21:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},219:function(t,e,n){t.exports=n(220)},22:function(t,e,n){var r=n(49),o=n(21);t.exports=function(t){return r(o(t))}},220:function(t,e,n){"use strict";var r=n(19),o=n(168),i=n(221),c=n(174);function a(t){var e=new i(t),n=o(i.prototype.request,e);return r.extend(n,i.prototype,e),r.extend(n,e),n}var s=a(n(171));s.Axios=i,s.create=function(t){return a(c(s.defaults,t))},s.Cancel=n(175),s.CancelToken=n(234),s.isCancel=n(170),s.all=function(t){return Promise.all(t)},s.spread=n(235),s.isAxiosError=n(236),t.exports=s,t.exports.default=s},221:function(t,e,n){"use strict";var r=n(19),o=n(169),i=n(222),c=n(223),a=n(174);function s(t){this.defaults=t,this.interceptors={request:new i,response:new i}}s.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[c,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},s.prototype.getUri=function(t){return t=a(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){s.prototype[t]=function(e,n){return this.request(a(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){s.prototype[t]=function(e,n,r){return this.request(a(r||{},{method:t,url:e,data:n}))}})),t.exports=s},222:function(t,e,n){"use strict";var r=n(19);function o(){this.handlers=[]}o.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},223:function(t,e,n){"use strict";var r=n(19),o=n(224),i=n(170),c=n(171);function a(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return a(t),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||c.adapter)(t).then((function(e){return a(t),e.data=o(e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(a(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},224:function(t,e,n){"use strict";var r=n(19);t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},225:function(t,e,n){"use strict";var r=n(19);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},226:function(t,e,n){"use strict";var r=n(173);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},227:function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.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:this.config,code:this.code}},t}},228:function(t,e,n){"use strict";var r=n(19);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,c){var a=[];a.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(o)&&a.push("path="+o),r.isString(i)&&a.push("domain="+i),!0===c&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},229:function(t,e,n){"use strict";var r=n(230),o=n(231);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},23:function(t,e,n){var r,o,i,c=n(148),a=n(5),s=n(9),u=n(14),f=n(12),l=n(62),p=n(55),h=n(39),d=a.WeakMap;if(c){var v=l.state||(l.state=new d),E=v.get,g=v.has,y=v.set;r=function(t,e){return e.facade=t,y.call(v,t,e),e},o=function(t){return E.call(v,t)||{}},i=function(t){return g.call(v,t)}}else{var m=p("state");h[m]=!0,r=function(t,e){return e.facade=t,u(t,m,e),e},o=function(t){return f(t,m)?t[m]:{}},i=function(t){return f(t,m)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!s(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},230:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},231:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},232:function(t,e,n){"use strict";var r=n(19),o=["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"];t.exports=function(t){var e,n,i,c={};return t?(r.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(c[e]&&o.indexOf(e)>=0)return;c[e]="set-cookie"===e?(c[e]?c[e]:[]).concat([n]):c[e]?c[e]+", "+n:n}})),c):c}},233:function(t,e,n){"use strict";var r=n(19);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},234:function(t,e,n){"use strict";var r=n(175);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},235:function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},236:function(t,e,n){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},24:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},25:function(t,e,n){var r=n(130),o=n(5),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},26:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},3:function(t,e,n){var r=n(5),o=n(33).f,i=n(14),c=n(17),a=n(61),s=n(137),u=n(79);t.exports=function(t,e){var n,f,l,p,h,d=t.target,v=t.global,E=t.stat;if(n=v?r:E?r[d]||a(d,{}):(r[d]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(n,f))&&h.value:n[f],!u(v?f:d+(E?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;s(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(n,f,p,t)}}},30:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},31:function(t,e,n){var r=n(40),o=n(49),i=n(18),c=n(16),a=n(73),s=[].push,u=function(t){var e=1==t,n=2==t,u=3==t,f=4==t,l=6==t,p=7==t,h=5==t||l;return function(d,v,E,g){for(var y,m,x=i(d),b=o(x),O=r(v,E,3),R=c(b.length),I=0,S=g||a,w=e?S(d,R):n||p?S(d,0):void 0;R>I;I++)if((h||I in b)&&(m=O(y=b[I],I,x),t))if(e)w[I]=m;else if(m)switch(t){case 3:return!0;case 5:return y;case 6:return I;case 2:s.call(w,y)}else switch(t){case 4:return!1;case 7:s.call(w,y)}return l?-1:u||f?f:w}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},32:function(t,e){t.exports={}},33:function(t,e,n){var r=n(11),o=n(83),i=n(30),c=n(22),a=n(37),s=n(12),u=n(99),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=c(t),e=a(e,!0),u)try{return f(t,e)}catch(t){}if(s(t,e))return i(!o.f.call(t,e),t[e])}},34:function(t,e){t.exports=!1},35:function(t,e,n){var r=n(13).f,o=n(12),i=n(6)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},37:function(t,e,n){var r=n(9);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},38:function(t,e,n){var r,o=n(8),i=n(131),c=n(63),a=n(39),s=n(150),u=n(93),f=n(55),l=f("IE_PROTO"),p=function(){},h=function(t){return"<script>"+t+"<\/script>"},d=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;d=r?function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=u("iframe")).style.display="none",s.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F);for(var n=c.length;n--;)delete d.prototype[c[n]];return d()};a[l]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p.prototype=o(t),n=new p,p.prototype=null,n[l]=t):n=d(),void 0===e?n:i(n,e)}},39:function(t,e){t.exports={}},4:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},40:function(t,e,n){var r=n(46);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},44:function(t,e,n){"use strict";var r=n(3),o=n(86);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},45:function(t,e,n){var r,o,i=n(5),c=n(119),a=i.process,s=a&&a.versions,u=s&&s.v8;u?o=(r=u.split("."))[0]+r[1]:c&&(!(r=c.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},46:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},47:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.subscribe=function(t,e){i.subscribe(t,e)},e.unsubscribe=function(t,e){i.unsubscribe(t,e)},e.emit=function(t,e){i.emit(t,e)};var r=n(156),o=n(161);var i=(void 0!==window.OC&&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),void 0!==window._nc_event_bus?new r.ProxyBus(window._nc_event_bus):window._nc_event_bus=new o.SimpleBus)},49:function(t,e,n){var r=n(4),o=n(24),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},5:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(20))},50:function(t,e,n){var r=n(12),o=n(18),i=n(55),c=n(139),a=i("IE_PROTO"),s=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},52:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},53:function(t,e,n){"use strict";var r=n(4);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},55:function(t,e,n){var r=n(56),o=n(52),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},56:function(t,e,n){var r=n(34),o=n(62);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.10.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},57:function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},58:function(t,e,n){var r=n(24);t.exports=Array.isArray||function(t){return"Array"==r(t)}},59:function(t,e,n){var r=n(4),o=n(6),i=n(45),c=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[c]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},6:function(t,e,n){var r=n(5),o=n(56),i=n(12),c=n(52),a=n(87),s=n(138),u=o("wks"),f=r.Symbol,l=s?f:f&&f.withoutSetter||c;t.exports=function(t){return i(u,t)&&(a||"string"==typeof u[t])||(a&&i(f,t)?u[t]=f[t]:u[t]=l("Symbol."+t)),u[t]}},60:function(t,e,n){"use strict";var r=n(22),o=n(96),i=n(32),c=n(23),a=n(65),s=c.set,u=c.getterFor("Array Iterator");t.exports=a(Array,"Array",(function(t,e){s(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=u(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},61:function(t,e,n){var r=n(5),o=n(14);t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},62:function(t,e,n){var r=n(5),o=n(61),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},63:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},64:function(t,e){const n=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:n,MAX_SAFE_COMPONENT_LENGTH:16}},65:function(t,e,n){"use strict";var r=n(3),o=n(132),i=n(50),c=n(66),a=n(35),s=n(14),u=n(17),f=n(6),l=n(34),p=n(32),h=n(106),d=h.IteratorPrototype,v=h.BUGGY_SAFARI_ITERATORS,E=f("iterator"),g=function(){return this};t.exports=function(t,e,n,f,h,y,m){o(n,e,f);var x,b,O,R=function(t){if(t===h&&A)return A;if(!v&&t in w)return w[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},I=e+" Iterator",S=!1,w=t.prototype,T=w[E]||w["@@iterator"]||h&&w[h],A=!v&&T||R(h),N="Array"==e&&w.entries||T;if(N&&(x=i(N.call(new t)),d!==Object.prototype&&x.next&&(l||i(x)===d||(c?c(x,d):"function"!=typeof x[E]&&s(x,E,g)),a(x,I,!0,!0),l&&(p[I]=g))),"values"==h&&T&&"values"!==T.name&&(S=!0,A=function(){return T.call(this)}),l&&!m||w[E]===A||s(w,E,A),p[e]=A,h)if(b={values:R("values"),keys:y?A:R("keys"),entries:R("entries")},m)for(O in b)(v||S||!(O in w))&&u(w,O,b[O]);else r({target:e,proto:!0,forced:v||S},b);return b}},66:function(t,e,n){var r=n(8),o=n(151);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},67:function(t,e,n){var r=n(8),o=n(134),i=n(16),c=n(40),a=n(97),s=n(140),u=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var f,l,p,h,d,v,E,g=n&&n.that,y=!(!n||!n.AS_ENTRIES),m=!(!n||!n.IS_ITERATOR),x=!(!n||!n.INTERRUPTED),b=c(e,g,1+y+x),O=function(t){return f&&s(f),new u(!0,t)},R=function(t){return y?(r(t),x?b(t[0],t[1],O):b(t[0],t[1])):x?b(t,O):b(t)};if(m)f=t;else{if("function"!=typeof(l=a(t)))throw TypeError("Target is not iterable");if(o(l)){for(p=0,h=i(t.length);h>p;p++)if((d=R(t[p]))&&d instanceof u)return d;return new u(!1)}f=l.call(t)}for(v=f.next;!(E=v.call(f)).done;){try{d=R(E.value)}catch(t){throw s(f),t}if("object"==typeof d&&d&&d instanceof u)return d}return new u(!1)}},68:function(t,e,n){var r={};r[n(6)("toStringTag")]="z",t.exports="[object z]"===String(r)},70:function(t,e,n){var r=n(39),o=n(9),i=n(12),c=n(13).f,a=n(52),s=n(121),u=a("meta"),f=0,l=Object.isExtensible||function(){return!0},p=function(t){c(t,u,{value:{objectID:"O"+ ++f,weakData:{}}})},h=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,u)){if(!l(t))return"F";if(!e)return"E";p(t)}return t[u].objectID},getWeakData:function(t,e){if(!i(t,u)){if(!l(t))return!0;if(!e)return!1;p(t)}return t[u].weakData},onFreeze:function(t){return s&&h.REQUIRED&&l(t)&&!i(t,u)&&p(t),t}};r[u]=!0},71:function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function c(){throw new Error("clearTimeout has not been defined")}function a(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:c}catch(t){r=c}}();var s,u=[],f=!1,l=-1;function p(){f&&s&&(f=!1,s.length?u=s.concat(u):l=-1,u.length&&h())}function h(){if(!f){var t=a(p);f=!0;for(var e=u.length;e;){for(s=u,u=[];++l<e;)s&&s[l].run();l=-1,e=u.length}s=null,f=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===c||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function v(){}o.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];u.push(new d(t,e)),1!==u.length||f||a(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},72:function(t,e,n){"use strict";var r=n(37),o=n(13),i=n(30);t.exports=function(t,e,n){var c=r(e);c in t?o.f(t,c,i(0,n)):t[c]=n}},73:function(t,e,n){var r=n(9),o=n(58),i=n(6)("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},74:function(t,e,n){var r=n(100),o=n(63);t.exports=Object.keys||function(t){return r(t,o)}},75:function(t,e,n){var r=n(68),o=n(24),i=n(6)("toStringTag"),c="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:c?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},76:function(t,e,n){var r=n(68),o=n(17),i=n(162);r||o(Object.prototype,"toString",i,{unsafe:!0})},78:function(t,e,n){var r=n(26),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},79:function(t,e,n){var r=n(4),o=/#|\.prototype\./,i=function(t,e){var n=a[c(t)];return n==u||n!=s&&("function"==typeof e?r(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},a=i.data={},s=i.NATIVE="N",u=i.POLYFILL="P";t.exports=i},8:function(t,e,n){var r=n(9);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},80:function(t,e,n){"use strict";var r=n(8);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},81:function(t,e,n){"use strict";var r=n(113),o=n(8),i=n(16),c=n(26),a=n(21),s=n(120),u=n(149),f=n(114),l=Math.max,p=Math.min;r("replace",2,(function(t,e,n,r){var h=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,d=r.REPLACE_KEEPS_$0,v=h?"$":"$0";return[function(n,r){var o=a(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!h&&d||"string"==typeof r&&-1===r.indexOf(v)){var a=n(e,t,this,r);if(a.done)return a.value}var E=o(t),g=String(this),y="function"==typeof r;y||(r=String(r));var m=E.global;if(m){var x=E.unicode;E.lastIndex=0}for(var b=[];;){var O=f(E,g);if(null===O)break;if(b.push(O),!m)break;""===String(O[0])&&(E.lastIndex=s(g,i(E.lastIndex),x))}for(var R,I="",S=0,w=0;w<b.length;w++){O=b[w];for(var T=String(O[0]),A=l(p(c(O.index),g.length),0),N=[],L=1;L<O.length;L++)N.push(void 0===(R=O[L])?R:String(R));var P=O.groups;if(y){var j=[T].concat(N,A,g);void 0!==P&&j.push(P);var C=String(r.apply(void 0,j))}else C=u(T,g,A,N,P,r);A>=S&&(I+=g.slice(S,A)+C,S=A+T.length)}return I+g.slice(S)}]}))},82:function(t,e,n){var r=n(26),o=n(21),i=function(t){return function(e,n){var i,c,a=String(o(e)),s=r(n),u=a.length;return s<0||s>=u?t?"":void 0:(i=a.charCodeAt(s))<55296||i>56319||s+1===u||(c=a.charCodeAt(s+1))<56320||c>57343?t?a.charAt(s):i:t?a.slice(s,s+2):c-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},83:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},84:function(t,e,n){var r=n(100),o=n(63).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},85:function(t,e,n){var r=n(22),o=n(16),i=n(78),c=function(t){return function(e,n,c){var a,s=r(e),u=o(s.length),f=i(c,u);if(t&&n!=n){for(;u>f;)if((a=s[f++])!=a)return!0}else for(;u>f;f++)if((t||f in s)&&s[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},86:function(t,e,n){"use strict";var r,o,i=n(80),c=n(112),a=n(56),s=RegExp.prototype.exec,u=a("native-string-replace",String.prototype.replace),f=s,l=(r=/a/,o=/b*/g,s.call(r,"a"),s.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),p=c.UNSUPPORTED_Y||c.BROKEN_CARET,h=void 0!==/()??/.exec("")[1];(l||h||p)&&(f=function(t){var e,n,r,o,c=this,a=p&&c.sticky,f=i.call(c),d=c.source,v=0,E=t;return a&&(-1===(f=f.replace("y","")).indexOf("g")&&(f+="g"),E=String(t).slice(c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==t[c.lastIndex-1])&&(d="(?: "+d+")",E=" "+E,v++),n=new RegExp("^(?:"+d+")",f)),h&&(n=new RegExp("^"+d+"$(?!\\s)",f)),l&&(e=c.lastIndex),r=s.call(a?n:c,E),a?r?(r.input=r.input.slice(v),r[0]=r[0].slice(v),r.index=c.lastIndex,c.lastIndex+=r[0].length):c.lastIndex=0:l&&r&&(c.lastIndex=c.global?r.index+r[0].length:e),h&&r&&r.length>1&&u.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=f},87:function(t,e,n){var r=n(88),o=n(45),i=n(4);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!Symbol.sham&&(r?38===o:o>37&&o<41)}))},88:function(t,e,n){var r=n(24),o=n(5);t.exports="process"==r(o.process)},89:function(t,e,n){"use strict";var r=n(3),o=n(4),i=n(58),c=n(9),a=n(18),s=n(16),u=n(72),f=n(73),l=n(59),p=n(6),h=n(45),d=p("isConcatSpreadable"),v=h>=51||!o((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),E=l("concat"),g=function(t){if(!c(t))return!1;var e=t[d];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!v||!E},{concat:function(t){var e,n,r,o,i,c=a(this),l=f(c,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(g(i=-1===e?c:arguments[e])){if(p+(o=s(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&u(l,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");u(l,p++,i)}return l.length=p,l}})},9:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},91:function(t,e,n){"use strict";n(117),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o=(r=n(219))&&r.__esModule?r:{default:r},i=n(98);var c=o.default.create({headers:{requesttoken:(0,i.getRequestToken)()}}),a=Object.assign(c,{CancelToken:o.default.CancelToken,isCancel:o.default.isCancel});(0,i.onRequestTokenUpdate)((function(t){return c.defaults.headers.requesttoken=t}));var s=a;e.default=s},926:function(t,e,n){"use strict";n.r(e);var r=n(91),o=n.n(r),i=n(15);
/**
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author John Molakvoæ <skjnldsv@protonmail.com>
* @author Roeland Jago Douma <roeland@famdouma.nl>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
const c=Object(i.getRootUrl)()+"/status.php",a=()=>{console.info("checking the Nextcloud maintenance status"),o.a.get(c).then(t=>t.data).then(t=>{if(!1===t.maintenance)return console.info("Nextcloud is not in maintenance mode anymore -> reloading"),void window.location.reload();console.info("Nextcloud is still in maintenance mode"),setTimeout(a,2e4)}).catch(console.error.bind(void 0))};a()},93:function(t,e,n){var r=n(5),o=n(9),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},94:function(t,e,n){var r=n(62),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},95:function(t,e){e.f=Object.getOwnPropertySymbols},96:function(t,e,n){var r=n(6),o=n(38),i=n(13),c=r("unscopables"),a=Array.prototype;null==a[c]&&i.f(a,c,{configurable:!0,value:o(null)}),t.exports=function(t){a[c][t]=!0}},97:function(t,e,n){var r=n(75),o=n(32),i=n(6)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},98:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getRequestToken",{enumerable:!0,get:function(){return r.getRequestToken}}),Object.defineProperty(e,"onRequestTokenUpdate",{enumerable:!0,get:function(){return r.onRequestTokenUpdate}}),Object.defineProperty(e,"getCurrentUser",{enumerable:!0,get:function(){return o.getCurrentUser}});var r=n(188),o=n(189)},99:function(t,e,n){var r=n(11),o=n(4),i=n(93);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))}});
//# sourceMappingURL=maintenance.js.map