!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=1081)}({10:function(t,e,n){var r=n(2),o=n(14),i=r.String,c=r.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not an object")}},107:function(t,e,n){var r=n(2).String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},108:function(t,e,n){var r=n(2),o=n(15),i=n(10),c=n(7),a=n(33),u=n(55),s=r.TypeError;t.exports=function(t,e){var n=t.exec;if(c(n)){var r=o(n,t,e);return null!==r&&i(r),r}if("RegExp"===a(t))return o(u,t,e);throw s("RegExp#exec called on incompatible receiver")}},1081:function(t,e,n){"use strict";n.r(e);var r=n(88),o=n.n(r),i=n(12); /** * @copyright 2019 Christoph Wurst * * @author Christoph Wurst * @author John Molakvoæ * @author Roeland Jago Douma * * @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 . * */ 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()},109:function(t,e,n){var r=n(30),o=n(81),i=n(34),c=function(t){return function(e,n,c){var a,u=r(e),s=i(u),f=o(c,s);if(t&&n!=n){for(;s>f;)if((a=u[f++])!=a)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},110:function(t,e,n){var r=n(6),o=n(7),i=/#|\.prototype\./,c=function(t,e){var n=u[a(t)];return n==f||n!=s&&(o(e)?r(e):!!e)},a=c.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=c.data={},s=c.NATIVE="N",f=c.POLYFILL="P";t.exports=c},111:function(t,e,n){var r=n(6),o=n(2).RegExp,i=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),c=i||r((function(){return!o("a","y").sticky})),a=i||r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:a,MISSED_STICKY:c,UNSUPPORTED_Y:i}},112:function(t,e,n){var r=n(92),o=n(63);t.exports=Object.keys||function(t){return r(t,o)}},113:function(t,e,n){"use strict";n(70);var r=n(4),o=n(26),i=n(55),c=n(6),a=n(9),u=n(22),s=a("species"),f=RegExp.prototype;t.exports=function(t,e,n,l){var p=a(t),h=!c((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),d=h&&!c((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return e=!0,null},n[p](""),!e}));if(!h||!d||n){var v=r(/./[p]),g=e(p,""[t],(function(t,e,n,o,c){var a=r(t),u=e.exec;return u===i||u===f.exec?h&&!c?{done:!0,value:v(e,n,o)}:{done:!0,value:a(n,e,o)}:{done:!1}}));o(String.prototype,t,g[0]),o(f,p,g[1])}l&&u(f[p],"sham",!0)}},114:function(t,e,n){"use strict";var r=n(121).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},12:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getRootUrl=e.generateFilePath=e.imagePath=e.generateUrl=e.generateOcsUrl=e.generateRemoteUrl=e.linkTo=void 0,n(79);e.linkTo=(t,e)=>o(t,"",e);e.generateRemoteUrl=t=>window.location.protocol+"//"+window.location.host+(t=>i()+"/remote.php/"+t)(t);e.generateOcsUrl=(t,e,n)=>{const o=1===Object.assign({ocsVersion:2},n||{}).ocsVersion?1:2;return window.location.protocol+"//"+window.location.host+i()+"/ocs/v"+o+".php"+r(t,e,n)};const r=(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){var n=o[e];return r.escape?"string"==typeof n||"number"==typeof n?encodeURIComponent(n.toString()):encodeURIComponent(t):"string"==typeof n||"number"==typeof n?n.toString():t}));var o};e.generateUrl=(t,e,n)=>{const o=Object.assign({noRewrite:!1},n||{});return!0!==OC.config.modRewriteWorking||o.noRewrite?i()+"/index.php"+r(t,e,n):i()+r(t,e,n)};e.imagePath=(t,e)=>-1===e.indexOf(".")?o(t,"img",e+".svg"):o(t,"img",e);const o=(t,e,n)=>{const r=-1!==OC.coreApps.indexOf(t);let o=i();return"php"!==n.substring(n.length-3)||r?"php"===n.substring(n.length-3)||r?(o+="settings"!==t&&"core"!==t&&"search"!==t||"ajax"!==e?"/":"/index.php/",r||(o+="apps/"),""!==t&&(o+=t+="/"),e&&(o+=e+"/"),o+=n):(o=OC.appswebroots[t],e&&(o+="/"+e+"/"),"/"!==o.substring(o.length-1)&&(o+="/"),o+=n):(o+="/index.php/apps/"+t,"index.php"!==n&&(o+="/",e&&(o+=encodeURI(e+"/")),o+=n)),o};e.generateFilePath=o;const i=()=>OC.webroot;e.getRootUrl=i},120: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},121:function(t,e,n){var r=n(4),o=n(31),i=n(20),c=n(24),a=r("".charAt),u=r("".charCodeAt),s=r("".slice),f=function(t){return function(e,n){var r,f,l=i(c(e)),p=o(n),h=l.length;return p<0||p>=h?t?"":void 0:(r=u(l,p))<55296||r>56319||p+1===h||(f=u(l,p+1))<56320||f>57343?t?a(l,p):r:t?s(l,p,p+2):f-56320+(r-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},122:function(t,e,n){var r=n(4),o=n(6),i=n(7),c=n(68),a=n(25),u=n(62),s=function(){},f=[],l=a("Reflect","construct"),p=/^\s*(?:class|function)\b/,h=r(p.exec),d=!p.exec(s),v=function(t){if(!i(t))return!1;try{return l(s,f,t),!0}catch(t){return!1}};t.exports=!l||o((function(){var t;return v(v.call)||!v(Object)||!v((function(){t=!0}))||t}))?function(t){if(!i(t))return!1;switch(c(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return d||!!h(p,u(t))}:v},124:function(t,e,n){var r=n(2),o=n(15),i=n(14),c=n(77),a=n(57),u=n(142),s=n(9),f=r.TypeError,l=s("toPrimitive");t.exports=function(t,e){if(!i(t)||c(t))return t;var n,r=a(t,l);if(r){if(void 0===e&&(e="default"),n=o(r,t,e),!i(n)||c(n))return n;throw f("Can't convert object to primitive value")}return void 0===e&&(e="number"),u(t,e)}},125:function(t,e,n){var r=n(13),o=n(126),i=n(40),c=n(18);t.exports=function(t,e){for(var n=o(e),a=c.f,u=i.f,s=0;sf;)o.f(t,n=u[f++],r[n]);return t}},129:function(t,e,n){var r=n(6),o=n(2).RegExp;t.exports=r((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},13:function(t,e,n){var r=n(4),o=n(21),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},14:function(t,e,n){var r=n(7);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},142:function(t,e,n){var r=n(2),o=n(15),i=n(7),c=n(14),a=r.TypeError;t.exports=function(t,e){var n,r;if("string"===e&&i(n=t.toString)&&!c(r=o(n,t)))return r;if(i(n=t.valueOf)&&!c(r=o(n,t)))return r;if("string"!==e&&i(n=t.toString)&&!c(r=o(n,t)))return r;throw a("Can't convert object to primitive value")}},143:function(t,e,n){var r=n(2),o=n(7),i=n(62),c=r.WeakMap;t.exports=o(c)&&/native code/.test(i(c))},144:function(t,e,n){var r=n(25);t.exports=r("document","documentElement")},145:function(t,e,n){var r=n(6),o=n(2).RegExp;t.exports=r((function(){var t=o("(?b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))},146:function(t,e,n){var r=n(4),o=n(21),i=Math.floor,c=r("".charAt),a=r("".replace),u=r("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,l,p){var h=n+t.length,d=r.length,v=f;return void 0!==l&&(l=o(l),v=s),a(p,v,(function(o,a){var s;switch(c(a,0)){case"$":return"$";case"&":return t;case"`":return u(e,0,n);case"'":return u(e,h);case"<":s=l[u(a,1,-1)];break;default:var f=+a;if(0===f)return o;if(f>d){var p=i(f/10);return 0===p?o:p<=d?void 0===r[p-1]?c(a,1):r[p-1]+c(a,1):o}s=r[f-1]}return void 0===s?"":s}))}},15:function(t,e){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},152:function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r1?arguments[1]:void 0)}},186:function(t,e,n){var r=n(2),o=n(85),i=n(122),c=n(14),a=n(9)("species"),u=r.Array;t.exports=function(t){var e;return o(t)&&(e=t.constructor,(i(e)&&(e===u||o(e.prototype))||c(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?u:e}},19: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},2: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(19))},20:function(t,e,n){var r=n(2),o=n(68),i=r.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},202:function(t,e,n){"use strict";n(181),Object.defineProperty(e,"__esModule",{value:!0}),e.getRequestToken=function(){return i},e.onRequestTokenUpdate=function(t){c.push(t)};var r=n(203),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)}}))}))},203:function(t,e,n){"use strict";n.r(e),function(t,r){n.d(e,"emit",(function(){return Lo})),n.d(e,"subscribe",(function(){return No})),n.d(e,"unsubscribe",(function(){return Ao}));var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};function i(t){var e={exports:{}};return t(e,e.exports),e.exports}var c=function(t){return t&&t.Math==Math&&t},a=c("object"==typeof globalThis&&globalThis)||c("object"==typeof window&&window)||c("object"==typeof self&&self)||c("object"==typeof o&&o)||function(){return this}()||Function("return this")(),u=function(t){try{return!!t()}catch(t){return!0}},s=!u((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),f={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,p={f:l&&!f.call({1:2},1)?function(t){var e=l(this,t);return!!e&&e.enumerable}:f},h=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},d={}.toString,v=function(t){return d.call(t).slice(8,-1)},g="".split,y=u((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==v(t)?g.call(t,""):Object(t)}:Object,E=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},m=function(t){return y(E(t))},b=function(t){return"object"==typeof t?null!==t:"function"==typeof t},x=function(t,e){if(!b(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!b(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!b(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!b(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},O=function(t){return Object(E(t))},S={}.hasOwnProperty,w=function(t,e){return S.call(O(t),e)},I=a.document,R=b(I)&&b(I.createElement),T=function(t){return R?I.createElement(t):{}},N=!s&&!u((function(){return 7!=Object.defineProperty(T("div"),"a",{get:function(){return 7}}).a})),A=Object.getOwnPropertyDescriptor,L={f:s?A:function(t,e){if(t=m(t),e=x(e,!0),N)try{return A(t,e)}catch(t){}if(w(t,e))return h(!p.f.call(t,e),t[e])}},j=function(t){if(!b(t))throw TypeError(String(t)+" is not an object");return t},P=Object.defineProperty,_={f:s?P:function(t,e,n){if(j(t),e=x(e,!0),j(n),N)try{return P(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}},C=s?function(t,e,n){return _.f(t,e,h(1,n))}:function(t,e,n){return t[e]=n,t},k=function(t,e){try{C(a,t,e)}catch(n){a[t]=e}return e},U=a["__core-js_shared__"]||k("__core-js_shared__",{}),M=Function.toString;"function"!=typeof U.inspectSource&&(U.inspectSource=function(t){return M.call(t)});var F,D,G,B=U.inspectSource,$=a.WeakMap,X="function"==typeof $&&/native code/.test(B($)),V=i((function(t){(t.exports=function(t,e){return U[t]||(U[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.11.2",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),z=0,q=Math.random(),H=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++z+q).toString(36)},W=V("keys"),Y=function(t){return W[t]||(W[t]=H(t))},J={},K=a.WeakMap;if(X){var Q=U.state||(U.state=new K),Z=Q.get,tt=Q.has,et=Q.set;F=function(t,e){if(tt.call(Q,t))throw new TypeError("Object already initialized");return e.facade=t,et.call(Q,t,e),e},D=function(t){return Z.call(Q,t)||{}},G=function(t){return tt.call(Q,t)}}else{var nt=Y("state");J[nt]=!0,F=function(t,e){if(w(t,nt))throw new TypeError("Object already initialized");return e.facade=t,C(t,nt,e),e},D=function(t){return w(t,nt)?t[nt]:{}},G=function(t){return w(t,nt)}}var rt={set:F,get:D,has:G,enforce:function(t){return G(t)?D(t):F(t,{})},getterFor:function(t){return function(e){var n;if(!b(e)||(n=D(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},ot=i((function(t){var e=rt.get,n=rt.enforce,r=String(String).split("String");(t.exports=function(t,e,o,i){var c,u=!!i&&!!i.unsafe,s=!!i&&!!i.enumerable,f=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof e||w(o,"name")||C(o,"name",e),(c=n(o)).source||(c.source=r.join("string"==typeof e?e:""))),t!==a?(u?!f&&t[e]&&(s=!0):delete t[e],s?t[e]=o:C(t,e,o)):s?t[e]=o:k(e,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||B(this)}))})),it=a,ct=function(t){return"function"==typeof t?t:void 0},at=function(t,e){return arguments.length<2?ct(it[t])||ct(a[t]):it[t]&&it[t][e]||a[t]&&a[t][e]},ut=Math.ceil,st=Math.floor,ft=function(t){return isNaN(t=+t)?0:(t>0?st:ut)(t)},lt=Math.min,pt=function(t){return t>0?lt(ft(t),9007199254740991):0},ht=Math.max,dt=Math.min,vt=function(t){return function(e,n,r){var o,i=m(e),c=pt(i.length),a=function(t,e){var n=ft(t);return n<0?ht(n+e,0):dt(n,e)}(r,c);if(t&&n!=n){for(;c>a;)if((o=i[a++])!=o)return!0}else for(;c>a;a++)if((t||a in i)&&i[a]===n)return t||a||0;return!t&&-1}},gt={includes:vt(!0),indexOf:vt(!1)}.indexOf,yt=function(t,e){var n,r=m(t),o=0,i=[];for(n in r)!w(J,n)&&w(r,n)&&i.push(n);for(;e.length>o;)w(r,n=e[o++])&&(~gt(i,n)||i.push(n));return i},Et=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],mt=Et.concat("length","prototype"),bt={f:Object.getOwnPropertyNames||function(t){return yt(t,mt)}},xt={f:Object.getOwnPropertySymbols},Ot=at("Reflect","ownKeys")||function(t){var e=bt.f(j(t)),n=xt.f;return n?e.concat(n(t)):e},St=function(t,e){for(var n=Ot(e),r=_.f,o=L.f,i=0;ii;)_.f(t,n=r[i++],e[n]);return t},Ft=at("document","documentElement"),Dt=Y("IE_PROTO"),Gt=function(){},Bt=function(t){return"