nextcloudpi/ncp-app/js/nextcloudpi-admin.js
Tobias Knöppler 860fcbe548
ncp-app: Add options for default_phone_region and maintenance_window_start
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
2024-03-27 13:40:13 +01:00

2 lines
86 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(()=>{var t={9875:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getRequestToken",{enumerable:!0,get:function(){return n.getRequestToken}}),Object.defineProperty(e,"onRequestTokenUpdate",{enumerable:!0,get:function(){return n.onRequestTokenUpdate}}),Object.defineProperty(e,"getCurrentUser",{enumerable:!0,get:function(){return o.getCurrentUser}});var n=r(9457),o=r(4792)},9457:(t,e,r)=>{"use strict";r(1629),Object.defineProperty(e,"__esModule",{value:!0}),e.getRequestToken=function(){return i},e.onRequestTokenUpdate=function(t){s.push(t)};var n=r(2992),o=document.getElementsByTagName("head")[0],i=o?o.getAttribute("data-requesttoken"):null,s=[];(0,n.subscribe)("csrf-token-update",(function(t){i=t.token,s.forEach((function(e){try{e(t.token)}catch(t){console.error("error updating CSRF token observer",t)}}))}))},4792:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCurrentUser=function(){if(null===n)return null;return{uid:n,displayName:i,isAdmin:s}};var r=document.getElementsByTagName("head")[0],n=r?r.getAttribute("data-user"):null,o=document.getElementsByTagName("head")[0],i=o?o.getAttribute("data-user-displayname"):null,s="undefined"!=typeof OC&&OC.isUserAdmin()},1135:(t,e,r)=>{"use strict";r(4185),e.A=void 0,r(9085);var n,o,i=(n=r(2505))&&n.__esModule?n:{default:n},s=r(9875);var a=i.default.create({headers:{requesttoken:null!==(o=(0,s.getRequestToken)())&&void 0!==o?o:""}}),c=Object.assign(a,{CancelToken:i.default.CancelToken,isCancel:i.default.isCancel});(0,s.onRequestTokenUpdate)((function(t){return a.defaults.headers.requesttoken=t}));var u=c;e.A=u},2992:(t,e,r)=>{"use strict";r.r(e),r.d(e,{emit:()=>Jo,subscribe:()=>Ho,unsubscribe:()=>Wo});var n=r(5606),o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{};function i(t){var e={exports:{}};return t(e,e.exports),e.exports}var s=function(t){return t&&t.Math==Math&&t},a=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof o&&o)||function(){return this}()||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},u=!c((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=c((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 r,n;if(e&&"function"==typeof(r=t.toString)&&!b(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!b(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!b(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},O=function(t){return Object(E(t))},R={}.hasOwnProperty,w=function(t,e){return R.call(O(t),e)},S=a.document,I=b(S)&&b(S.createElement),T=function(t){return I?S.createElement(t):{}},A=!u&&!c((function(){return 7!=Object.defineProperty(T("div"),"a",{get:function(){return 7}}).a})),N=Object.getOwnPropertyDescriptor,L={f:u?N:function(t,e){if(t=m(t),e=x(e,!0),A)try{return N(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:u?P:function(t,e,r){if(j(t),e=x(e,!0),j(r),A)try{return P(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},C=u?function(t,e,r){return _.f(t,e,h(1,r))}:function(t,e,r){return t[e]=r,t},D=function(t,e){try{C(a,t,e)}catch(r){a[t]=e}return e},k="__core-js_shared__",F=a[k]||D(k,{}),U=Function.toString;"function"!=typeof F.inspectSource&&(F.inspectSource=function(t){return U.call(t)});var M,B,G,$=F.inspectSource,X=a.WeakMap,q="function"==typeof X&&/native code/.test($(X)),V=i((function(t){(t.exports=function(t,e){return F[t]||(F[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.11.2",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),z=0,H=Math.random(),W=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++z+H).toString(36)},J=V("keys"),Y=function(t){return J[t]||(J[t]=W(t))},K={},Q="Object already initialized",Z=a.WeakMap;if(q){var tt=F.state||(F.state=new Z),et=tt.get,rt=tt.has,nt=tt.set;M=function(t,e){if(rt.call(tt,t))throw new TypeError(Q);return e.facade=t,nt.call(tt,t,e),e},B=function(t){return et.call(tt,t)||{}},G=function(t){return rt.call(tt,t)}}else{var ot=Y("state");K[ot]=!0,M=function(t,e){if(w(t,ot))throw new TypeError(Q);return e.facade=t,C(t,ot,e),e},B=function(t){return w(t,ot)?t[ot]:{}},G=function(t){return w(t,ot)}}var it={set:M,get:B,has:G,enforce:function(t){return G(t)?B(t):M(t,{})},getterFor:function(t){return function(e){var r;if(!b(e)||(r=B(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},st=i((function(t){var e=it.get,r=it.enforce,n=String(String).split("String");(t.exports=function(t,e,o,i){var s,c=!!i&&!!i.unsafe,u=!!i&&!!i.enumerable,f=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof e||w(o,"name")||C(o,"name",e),(s=r(o)).source||(s.source=n.join("string"==typeof e?e:""))),t!==a?(c?!f&&t[e]&&(u=!0):delete t[e],u?t[e]=o:C(t,e,o)):u?t[e]=o:D(e,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||$(this)}))})),at=a,ct=function(t){return"function"==typeof t?t:void 0},ut=function(t,e){return arguments.length<2?ct(at[t])||ct(a[t]):at[t]&&at[t][e]||a[t]&&a[t][e]},ft=Math.ceil,lt=Math.floor,pt=function(t){return isNaN(t=+t)?0:(t>0?lt:ft)(t)},ht=Math.min,dt=function(t){return t>0?ht(pt(t),9007199254740991):0},vt=Math.max,gt=Math.min,yt=function(t){return function(e,r,n){var o,i=m(e),s=dt(i.length),a=function(t,e){var r=pt(t);return r<0?vt(r+e,0):gt(r,e)}(n,s);if(t&&r!=r){for(;s>a;)if((o=i[a++])!=o)return!0}else for(;s>a;a++)if((t||a in i)&&i[a]===r)return t||a||0;return!t&&-1}},Et={includes:yt(!0),indexOf:yt(!1)}.indexOf,mt=function(t,e){var r,n=m(t),o=0,i=[];for(r in n)!w(K,r)&&w(n,r)&&i.push(r);for(;e.length>o;)w(n,r=e[o++])&&(~Et(i,r)||i.push(r));return i},bt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],xt=bt.concat("length","prototype"),Ot={f:Object.getOwnPropertyNames||function(t){return mt(t,xt)}},Rt={f:Object.getOwnPropertySymbols},wt=ut("Reflect","ownKeys")||function(t){var e=Ot.f(j(t)),r=Rt.f;return r?e.concat(r(t)):e},St=function(t,e){for(var r=wt(e),n=_.f,o=L.f,i=0;i<r.length;i++){var s=r[i];w(t,s)||n(t,s,o(e,s))}},It=/#|\.prototype\./,Tt=function(t,e){var r=Nt[At(t)];return r==jt||r!=Lt&&("function"==typeof e?c(e):!!e)},At=Tt.normalize=function(t){return String(t).replace(It,".").toLowerCase()},Nt=Tt.data={},Lt=Tt.NATIVE="N",jt=Tt.POLYFILL="P",Pt=Tt,_t=L.f,Ct=function(t,e){var r,n,o,i,s,c=t.target,u=t.global,f=t.stat;if(r=u?a:f?a[c]||D(c,{}):(a[c]||{}).prototype)for(n in e){if(i=e[n],o=t.noTargetGet?(s=_t(r,n))&&s.value:r[n],!Pt(u?n:c+(f?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;St(i,o)}(t.sham||o&&o.sham)&&C(i,"sham",!0),st(r,n,i,t)}};Ct({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991});var Dt,kt=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return j(r),function(t){if(!b(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(n),e?t.call(r,n):r.__proto__=n,r}}():void 0),Ft=function(t,e,r){var n,o;return kt&&"function"==typeof(n=e.constructor)&&n!==r&&b(o=n.prototype)&&o!==r.prototype&&kt(t,o),t},Ut=Object.keys||function(t){return mt(t,bt)},Mt=u?Object.defineProperties:function(t,e){j(t);for(var r,n=Ut(e),o=n.length,i=0;o>i;)_.f(t,r=n[i++],e[r]);return t},Bt=ut("document","documentElement"),Gt="prototype",$t="script",Xt=Y("IE_PROTO"),qt=function(){},Vt=function(t){return"<"+$t+">"+t+"</"+$t+">"},zt=function(){try{Dt=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e,r;zt=Dt?function(t){t.write(Vt("")),t.close();var e=t.parentWindow.Object;return t=null,e}(Dt):(e=T("iframe"),r="java"+$t+":",e.style.display="none",Bt.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Vt("document.F=Object")),t.close(),t.F);for(var n=bt.length;n--;)delete zt[Gt][bt[n]];return zt()};K[Xt]=!0;var Ht=Object.create||function(t,e){var r;return null!==t?(qt[Gt]=j(t),r=new qt,qt[Gt]=null,r[Xt]=t):r=zt(),void 0===e?r:Mt(r,e)},Wt="\t\n\v\f\r    \u2028\u2029\ufeff",Jt="["+Wt+"]",Yt=RegExp("^"+Jt+Jt+"*"),Kt=RegExp(Jt+Jt+"*$"),Qt=function(t){return function(e){var r=String(E(e));return 1&t&&(r=r.replace(Yt,"")),2&t&&(r=r.replace(Kt,"")),r}},Zt={start:Qt(1),end:Qt(2),trim:Qt(3)},te=Ot.f,ee=L.f,re=_.f,ne=Zt.trim,oe="Number",ie=a[oe],se=ie.prototype,ae=v(Ht(se))==oe,ce=function(t){var e,r,n,o,i,s,a,c,u=x(t,!1);if("string"==typeof u&&u.length>2)if(43===(e=(u=ne(u)).charCodeAt(0))||45===e){if(88===(r=u.charCodeAt(2))||120===r)return NaN}else if(48===e){switch(u.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+u}for(s=(i=u.slice(2)).length,a=0;a<s;a++)if((c=i.charCodeAt(a))<48||c>o)return NaN;return parseInt(i,n)}return+u};if(Pt(oe,!ie(" 0o1")||!ie("0b1")||ie("+0x1"))){for(var ue,fe=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof fe&&(ae?c((function(){se.valueOf.call(r)})):v(r)!=oe)?Ft(new ie(ce(e)),r,fe):ce(e)},le=u?te(ie):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),pe=0;le.length>pe;pe++)w(ie,ue=le[pe])&&!w(fe,ue)&&re(fe,ue,ee(ie,ue));fe.prototype=se,se.constructor=fe,st(a,oe,fe)}var he,de,ve={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},ge="process"==v(a.process),ye=ut("navigator","userAgent")||"",Ee=a.process,me=Ee&&Ee.versions,be=me&&me.v8;be?de=(he=be.split("."))[0]+he[1]:ye&&(!(he=ye.match(/Edge\/(\d+)/))||he[1]>=74)&&(he=ye.match(/Chrome\/(\d+)/))&&(de=he[1]);var xe=de&&+de,Oe=!!Object.getOwnPropertySymbols&&!c((function(){return!Symbol.sham&&(ge?38===xe:xe>37&&xe<41)})),Re=Oe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,we=V("wks"),Se=a.Symbol,Ie=Re?Se:Se&&Se.withoutSetter||W,Te=function(t){return w(we,t)&&(Oe||"string"==typeof we[t])||(Oe&&w(Se,t)?we[t]=Se[t]:we[t]=Ie("Symbol."+t)),we[t]},Ae=Te("match"),Ne=function(t){var e;return b(t)&&(void 0!==(e=t[Ae])?!!e:"RegExp"==v(t))},Le=function(){var t=j(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};function je(t,e){return RegExp(t,e)}var Pe=c((function(){var t=je("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),_e=c((function(){var t=je("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),Ce={UNSUPPORTED_Y:Pe,BROKEN_CARET:_e},De=Te("species"),ke=function(t){var e=ut(t),r=_.f;u&&e&&!e[De]&&r(e,De,{configurable:!0,get:function(){return this}})},Fe=_.f,Ue=Ot.f,Me=it.enforce,Be=Te("match"),Ge=a.RegExp,$e=Ge.prototype,Xe=/a/g,qe=/a/g,Ve=new Ge(Xe)!==Xe,ze=Ce.UNSUPPORTED_Y;if(u&&Pt("RegExp",!Ve||ze||c((function(){return qe[Be]=!1,Ge(Xe)!=Xe||Ge(qe)==qe||"/a/i"!=Ge(Xe,"i")})))){for(var He=function(t,e){var r,n=this instanceof He,o=Ne(t),i=void 0===e;if(!n&&o&&t.constructor===He&&i)return t;Ve?o&&!i&&(t=t.source):t instanceof He&&(i&&(e=Le.call(t)),t=t.source),ze&&(r=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,""));var s=Ft(Ve?new Ge(t,e):Ge(t,e),n?this:$e,He);ze&&r&&(Me(s).sticky=!0);return s},We=function(t){t in He||Fe(He,t,{configurable:!0,get:function(){return Ge[t]},set:function(e){Ge[t]=e}})},Je=Ue(Ge),Ye=0;Je.length>Ye;)We(Je[Ye++]);$e.constructor=He,He.prototype=$e,st(a,"RegExp",He)}ke("RegExp");var Ke=RegExp.prototype.exec,Qe=V("native-string-replace",String.prototype.replace),Ze=Ke,tr=function(){var t=/a/,e=/b*/g;return Ke.call(t,"a"),Ke.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),er=Ce.UNSUPPORTED_Y||Ce.BROKEN_CARET,rr=void 0!==/()??/.exec("")[1];(tr||rr||er)&&(Ze=function(t){var e,r,n,o,i=this,s=er&&i.sticky,a=Le.call(i),c=i.source,u=0,f=t;return s&&(-1===(a=a.replace("y","")).indexOf("g")&&(a+="g"),f=String(t).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(c="(?: "+c+")",f=" "+f,u++),r=new RegExp("^(?:"+c+")",a)),rr&&(r=new RegExp("^"+c+"$(?!\\s)",a)),tr&&(e=i.lastIndex),n=Ke.call(s?r:i,f),s?n?(n.input=n.input.slice(u),n[0]=n[0].slice(u),n.index=i.lastIndex,i.lastIndex+=n[0].length):i.lastIndex=0:tr&&n&&(i.lastIndex=i.global?n.index+n[0].length:e),rr&&n&&n.length>1&&Qe.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n});var nr=Ze;Ct({target:"RegExp",proto:!0,forced:/./.exec!==nr},{exec:nr});var or="toString",ir=RegExp.prototype,sr=ir[or],ar=c((function(){return"/a/b"!=sr.call({source:"a",flags:"b"})})),cr=sr.name!=or;(ar||cr)&&st(RegExp.prototype,or,(function(){var t=j(this),e=String(t.source),r=t.flags;return"/"+e+"/"+String(void 0===r&&t instanceof RegExp&&!("flags"in ir)?Le.call(t):r)}),{unsafe:!0});var ur=Array.isArray||function(t){return"Array"==v(t)},fr=function(t,e,r){var n=x(e);n in t?_.f(t,n,h(0,r)):t[n]=r},lr=Te("species"),pr=function(t,e){var r;return ur(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!ur(r.prototype)?b(r)&&null===(r=r[lr])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)},hr=Te("species"),dr=function(t){return xe>=51||!c((function(){var e=[];return(e.constructor={})[hr]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},vr=Te("isConcatSpreadable"),gr=9007199254740991,yr="Maximum allowed index exceeded",Er=xe>=51||!c((function(){var t=[];return t[vr]=!1,t.concat()[0]!==t})),mr=dr("concat"),br=function(t){if(!b(t))return!1;var e=t[vr];return void 0!==e?!!e:ur(t)};function xr(t){return xr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xr(t)}function Or(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Ct({target:"Array",proto:!0,forced:!Er||!mr},{concat:function(t){var e,r,n,o,i,s=O(this),a=pr(s,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(br(i=-1===e?s:arguments[e])){if(c+(o=dt(i.length))>gr)throw TypeError(yr);for(r=0;r<o;r++,c++)r in i&&fr(a,c,i[r])}else{if(c>=gr)throw TypeError(yr);fr(a,c++,i)}return a.length=c,a}});var Rr="object"===(void 0===n?"undefined":xr(n))&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?function(){for(var t,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=console).error.apply(t,["SEMVER"].concat(r))}:function(){},wr=i((function(t,e){var r=ve.MAX_SAFE_COMPONENT_LENGTH,n=(e=t.exports={}).re=[],o=e.src=[],i=e.t={},s=0,a=function(t,e,r){var a=s++;Rr(a,e),i[t]=a,o[a]=e,n[a]=new RegExp(e,r?"g":void 0)};a("NUMERICIDENTIFIER","0|[1-9]\\d*"),a("NUMERICIDENTIFIERLOOSE","[0-9]+"),a("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),a("MAINVERSION","(".concat(o[i.NUMERICIDENTIFIER],")\\.")+"(".concat(o[i.NUMERICIDENTIFIER],")\\.")+"(".concat(o[i.NUMERICIDENTIFIER],")")),a("MAINVERSIONLOOSE","(".concat(o[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(o[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(o[i.NUMERICIDENTIFIERLOOSE],")")),a("PRERELEASEIDENTIFIER","(?:".concat(o[i.NUMERICIDENTIFIER],"|").concat(o[i.NONNUMERICIDENTIFIER],")")),a("PRERELEASEIDENTIFIERLOOSE","(?:".concat(o[i.NUMERICIDENTIFIERLOOSE],"|").concat(o[i.NONNUMERICIDENTIFIER],")")),a("PRERELEASE","(?:-(".concat(o[i.PRERELEASEIDENTIFIER],"(?:\\.").concat(o[i.PRERELEASEIDENTIFIER],")*))")),a("PRERELEASELOOSE","(?:-?(".concat(o[i.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(o[i.PRERELEASEIDENTIFIERLOOSE],")*))")),a("BUILDIDENTIFIER","[0-9A-Za-z-]+"),a("BUILD","(?:\\+(".concat(o[i.BUILDIDENTIFIER],"(?:\\.").concat(o[i.BUILDIDENTIFIER],")*))")),a("FULLPLAIN","v?".concat(o[i.MAINVERSION]).concat(o[i.PRERELEASE],"?").concat(o[i.BUILD],"?")),a("FULL","^".concat(o[i.FULLPLAIN],"$")),a("LOOSEPLAIN","[v=\\s]*".concat(o[i.MAINVERSIONLOOSE]).concat(o[i.PRERELEASELOOSE],"?").concat(o[i.BUILD],"?")),a("LOOSE","^".concat(o[i.LOOSEPLAIN],"$")),a("GTLT","((?:<|>)?=?)"),a("XRANGEIDENTIFIERLOOSE","".concat(o[i.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),a("XRANGEIDENTIFIER","".concat(o[i.NUMERICIDENTIFIER],"|x|X|\\*")),a("XRANGEPLAIN","[v=\\s]*(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:".concat(o[i.PRERELEASE],")?").concat(o[i.BUILD],"?")+")?)?"),a("XRANGEPLAINLOOSE","[v=\\s]*(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(o[i.PRERELEASELOOSE],")?").concat(o[i.BUILD],"?")+")?)?"),a("XRANGE","^".concat(o[i.GTLT],"\\s*").concat(o[i.XRANGEPLAIN],"$")),a("XRANGELOOSE","^".concat(o[i.GTLT],"\\s*").concat(o[i.XRANGEPLAINLOOSE],"$")),a("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(r,"})")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:$|[^\\d])"),a("COERCERTL",o[i.COERCE],!0),a("LONETILDE","(?:~>?)"),a("TILDETRIM","(\\s*)".concat(o[i.LONETILDE],"\\s+"),!0),e.tildeTrimReplace="$1~",a("TILDE","^".concat(o[i.LONETILDE]).concat(o[i.XRANGEPLAIN],"$")),a("TILDELOOSE","^".concat(o[i.LONETILDE]).concat(o[i.XRANGEPLAINLOOSE],"$")),a("LONECARET","(?:\\^)"),a("CARETTRIM","(\\s*)".concat(o[i.LONECARET],"\\s+"),!0),e.caretTrimReplace="$1^",a("CARET","^".concat(o[i.LONECARET]).concat(o[i.XRANGEPLAIN],"$")),a("CARETLOOSE","^".concat(o[i.LONECARET]).concat(o[i.XRANGEPLAINLOOSE],"$")),a("COMPARATORLOOSE","^".concat(o[i.GTLT],"\\s*(").concat(o[i.LOOSEPLAIN],")$|^$")),a("COMPARATOR","^".concat(o[i.GTLT],"\\s*(").concat(o[i.FULLPLAIN],")$|^$")),a("COMPARATORTRIM","(\\s*)".concat(o[i.GTLT],"\\s*(").concat(o[i.LOOSEPLAIN],"|").concat(o[i.XRANGEPLAIN],")"),!0),e.comparatorTrimReplace="$1$2$3",a("HYPHENRANGE","^\\s*(".concat(o[i.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(o[i.XRANGEPLAIN],")")+"\\s*$"),a("HYPHENRANGELOOSE","^\\s*(".concat(o[i.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(o[i.XRANGEPLAINLOOSE],")")+"\\s*$"),a("STAR","(<|>)?=?\\s*\\*"),a("GTE0","^\\s*>=\\s*0.0.0\\s*$"),a("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})),Sr=Te("species"),Ir=!c((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),Tr="$0"==="a".replace(/./,"$0"),Ar=Te("replace"),Nr=!!/./[Ar]&&""===/./[Ar]("a","$0"),Lr=!c((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),jr=function(t,e,r,n){var o=Te(t),i=!c((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),s=i&&!c((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Sr]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!s||"replace"===t&&(!Ir||!Tr||Nr)||"split"===t&&!Lr){var a=/./[o],u=r(o,""[t],(function(t,e,r,n,o){return e.exec===RegExp.prototype.exec?i&&!o?{done:!0,value:a.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:Tr,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Nr}),f=u[0],l=u[1];st(String.prototype,t,f),st(RegExp.prototype,o,2==e?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)})}n&&C(RegExp.prototype[o],"sham",!0)},Pr=function(t){return function(e,r){var n,o,i=String(E(e)),s=pt(r),a=i.length;return s<0||s>=a?t?"":void 0:(n=i.charCodeAt(s))<55296||n>56319||s+1===a||(o=i.charCodeAt(s+1))<56320||o>57343?t?i.charAt(s):n:t?i.slice(s,s+2):o-56320+(n-55296<<10)+65536}},_r={codeAt:Pr(!1),charAt:Pr(!0)},Cr=_r.charAt,Dr=function(t,e,r){return e+(r?Cr(t,e).length:1)},kr=function(t,e){var r=t.exec;if("function"==typeof r){var n=r.call(t,e);if("object"!=typeof n)throw TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==v(t))throw TypeError("RegExp#exec called on incompatible receiver");return nr.call(t,e)};jr("match",1,(function(t,e,r){return[function(e){var r=E(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var o=j(t),i=String(this);if(!o.global)return kr(o,i);var s=o.unicode;o.lastIndex=0;for(var a,c=[],u=0;null!==(a=kr(o,i));){var f=String(a[0]);c[u]=f,""===f&&(o.lastIndex=Dr(i,dt(o.lastIndex),s)),u++}return 0===u?null:c}]}));var Fr=Zt.trim;Ct({target:"String",proto:!0,forced:function(t){return c((function(){return!!Wt[t]()||"…"!="…"[t]()||Wt[t].name!==t}))}("trim")},{trim:function(){return Fr(this)}});var Ur=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Mr=function(t,e,r){if(Ur(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}},Br=[].push,Gr=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,s=7==t,a=5==t||i;return function(c,u,f,l){for(var p,h,d=O(c),v=y(d),g=Mr(u,f,3),E=dt(v.length),m=0,b=l||pr,x=e?b(c,E):r||s?b(c,0):void 0;E>m;m++)if((a||m in v)&&(h=g(p=v[m],m,d),t))if(e)x[m]=h;else if(h)switch(t){case 3:return!0;case 5:return p;case 6:return m;case 2:Br.call(x,p)}else switch(t){case 4:return!1;case 7:Br.call(x,p)}return i?-1:n||o?o:x}},$r={forEach:Gr(0),map:Gr(1),filter:Gr(2),some:Gr(3),every:Gr(4),find:Gr(5),findIndex:Gr(6),filterOut:Gr(7)},Xr=$r.map,qr=dr("map");Ct({target:"Array",proto:!0,forced:!qr},{map:function(t){return Xr(this,t,arguments.length>1?arguments[1]:void 0)}});var Vr=Te("species"),zr=Ce.UNSUPPORTED_Y,Hr=[].push,Wr=Math.min,Jr=4294967295;jr("split",2,(function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var n=String(E(this)),o=void 0===r?Jr:r>>>0;if(0===o)return[];if(void 0===t)return[n];if(!Ne(t))return e.call(n,t,o);for(var i,s,a,c=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,l=new RegExp(t.source,u+"g");(i=nr.call(l,n))&&!((s=l.lastIndex)>f&&(c.push(n.slice(f,i.index)),i.length>1&&i.index<n.length&&Hr.apply(c,i.slice(1)),a=i[0].length,f=s,c.length>=o));)l.lastIndex===i.index&&l.lastIndex++;return f===n.length?!a&&l.test("")||c.push(""):c.push(n.slice(f)),c.length>o?c.slice(0,o):c}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:e.call(this,t,r)}:e,[function(e,r){var o=E(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,r):n.call(String(o),e,r)},function(t,o){var i=r(n,t,this,o,n!==e);if(i.done)return i.value;var s=j(t),a=String(this),c=function(t,e){var r,n=j(t).constructor;return void 0===n||null==(r=j(n)[Vr])?e:Ur(r)}(s,RegExp),u=s.unicode,f=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(zr?"g":"y"),l=new c(zr?"^(?:"+s.source+")":s,f),p=void 0===o?Jr:o>>>0;if(0===p)return[];if(0===a.length)return null===kr(l,a)?[a]:[];for(var h=0,d=0,v=[];d<a.length;){l.lastIndex=zr?0:d;var g,y=kr(l,zr?a.slice(d):a);if(null===y||(g=Wr(dt(l.lastIndex+(zr?d:0)),a.length))===h)d=Dr(a,d,u);else{if(v.push(a.slice(h,d)),v.length===p)return v;for(var E=1;E<=y.length-1;E++)if(v.push(y[E]),v.length===p)return v;d=h=g}}return v.push(a.slice(h)),v}]}),zr);var Yr=function(t,e){var r=[][t];return!!r&&c((function(){r.call(null,e||function(){throw 1},1)}))},Kr=[].join,Qr=y!=Object,Zr=Yr("join",",");Ct({target:"Array",proto:!0,forced:Qr||!Zr},{join:function(t){return Kr.call(m(this),void 0===t?",":t)}});var tn=$r.filter,en=dr("filter");Ct({target:"Array",proto:!0,forced:!en},{filter:function(t){return tn(this,t,arguments.length>1?arguments[1]:void 0)}});var rn=["includePrerelease","loose","rtl"],nn=function(t){return t?"object"!==xr(t)?{loose:!0}:rn.filter((function(e){return t[e]})).reduce((function(t,e){return t[e]=!0,t}),{}):{}},on=/^[0-9]+$/,sn=function(t,e){var r=on.test(t),n=on.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1},an=sn,cn=ve.MAX_LENGTH,un=ve.MAX_SAFE_INTEGER,fn=wr.re,ln=wr.t,pn=an,hn=function(){function t(e,r){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),r=nn(r),e instanceof t){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>cn)throw new TypeError("version is longer than ".concat(cn," characters"));Rr("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;var n=e.trim().match(r.loose?fn[ln.LOOSE]:fn[ln.FULL]);if(!n)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>un||this.major<0)throw new TypeError("Invalid major version");if(this.minor>un||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>un||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((function(t){if(/^[0-9]+$/.test(t)){var e=+t;if(e>=0&&e<un)return e}return t})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}var e,r,n;return e=t,(r=[{key:"format",value:function(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(e){if(Rr("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if("string"==typeof e&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}},{key:"compareMain",value:function(e){return e instanceof t||(e=new t(e,this.options)),pn(this.major,e.major)||pn(this.minor,e.minor)||pn(this.patch,e.patch)}},{key:"comparePre",value:function(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var r=0;do{var n=this.prerelease[r],o=e.prerelease[r];if(Rr("prerelease compare",r,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 pn(n,o)}while(++r)}},{key:"compareBuild",value:function(e){e instanceof t||(e=new t(e,this.options));var r=0;do{var n=this.build[r],o=e.build[r];if(Rr("prerelease compare",r,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 pn(n,o)}while(++r)}},{key:"inc",value:function(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{for(var r=this.prerelease.length;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&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}}])&&Or(e.prototype,r),n&&Or(e,n),t}(),dn=hn,vn=ve.MAX_LENGTH,gn=wr.re,yn=wr.t,En=function(t,e){if(e=nn(e),t instanceof dn)return t;if("string"!=typeof t)return null;if(t.length>vn)return null;if(!(e.loose?gn[yn.LOOSE]:gn[yn.FULL]).test(t))return null;try{return new dn(t,e)}catch(t){return null}},mn=function(t,e){var r=En(t,e);return r?r.version:null},bn=function(t,e){return new dn(t,e).major},xn="1.3.0",On=function(){function t(t){"function"==typeof t.getVersion&&mn(t.getVersion())?bn(t.getVersion())!==bn(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}return t.prototype.getVersion=function(){return xn},t.prototype.subscribe=function(t,e){this.bus.subscribe(t,e)},t.prototype.unsubscribe=function(t,e){this.bus.unsubscribe(t,e)},t.prototype.emit=function(t,e){this.bus.emit(t,e)},t}(),Rn=Te("unscopables"),wn=Array.prototype;null==wn[Rn]&&_.f(wn,Rn,{configurable:!0,value:Ht(null)});var Sn,In,Tn,An=function(t){wn[Rn][t]=!0},Nn={},Ln=!c((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),jn=Y("IE_PROTO"),Pn=Object.prototype,_n=Ln?Object.getPrototypeOf:function(t){return t=O(t),w(t,jn)?t[jn]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Pn:null},Cn=Te("iterator"),Dn=!1;[].keys&&("next"in(Tn=[].keys())?(In=_n(_n(Tn)))!==Object.prototype&&(Sn=In):Dn=!0);var kn=null==Sn||c((function(){var t={};return Sn[Cn].call(t)!==t}));kn&&(Sn={}),w(Sn,Cn)||C(Sn,Cn,(function(){return this}));var Fn={IteratorPrototype:Sn,BUGGY_SAFARI_ITERATORS:Dn},Un=_.f,Mn=Te("toStringTag"),Bn=function(t,e,r){t&&!w(t=r?t:t.prototype,Mn)&&Un(t,Mn,{configurable:!0,value:e})},Gn=Fn.IteratorPrototype,$n=function(){return this},Xn=Fn.IteratorPrototype,qn=Fn.BUGGY_SAFARI_ITERATORS,Vn=Te("iterator"),zn="keys",Hn="values",Wn="entries",Jn=function(){return this},Yn=function(t,e,r,n,o,i,s){!function(t,e,r){var n=e+" Iterator";t.prototype=Ht(Gn,{next:h(1,r)}),Bn(t,n,!1),Nn[n]=$n}(r,e,n);var a,c,u,f=function(t){if(t===o&&g)return g;if(!qn&&t in d)return d[t];switch(t){case zn:case Hn:case Wn:return function(){return new r(this,t)}}return function(){return new r(this)}},l=e+" Iterator",p=!1,d=t.prototype,v=d[Vn]||d["@@iterator"]||o&&d[o],g=!qn&&v||f(o),y="Array"==e&&d.entries||v;if(y&&(a=_n(y.call(new t)),Xn!==Object.prototype&&a.next&&(_n(a)!==Xn&&(kt?kt(a,Xn):"function"!=typeof a[Vn]&&C(a,Vn,Jn)),Bn(a,l,!0))),o==Hn&&v&&v.name!==Hn&&(p=!0,g=function(){return v.call(this)}),d[Vn]!==g&&C(d,Vn,g),Nn[e]=g,o)if(c={values:f(Hn),keys:i?g:f(zn),entries:f(Wn)},s)for(u in c)(qn||p||!(u in d))&&st(d,u,c[u]);else Ct({target:e,proto:!0,forced:qn||p},c);return c},Kn="Array Iterator",Qn=it.set,Zn=it.getterFor(Kn),to=Yn(Array,"Array",(function(t,e){Qn(this,{type:Kn,target:m(t),index:0,kind:e})}),(function(){var t=Zn(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values");Nn.Arguments=Nn.Array,An("keys"),An("values"),An("entries");var eo=!c((function(){return Object.isExtensible(Object.preventExtensions({}))})),ro=i((function(t){var e=_.f,r=W("meta"),n=0,o=Object.isExtensible||function(){return!0},i=function(t){e(t,r,{value:{objectID:"O"+ ++n,weakData:{}}})},s=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!b(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!w(t,r)){if(!o(t))return"F";if(!e)return"E";i(t)}return t[r].objectID},getWeakData:function(t,e){if(!w(t,r)){if(!o(t))return!0;if(!e)return!1;i(t)}return t[r].weakData},onFreeze:function(t){return eo&&s.REQUIRED&&o(t)&&!w(t,r)&&i(t),t}};K[r]=!0})),no=Te("iterator"),oo=Array.prototype,io={};io[Te("toStringTag")]="z";var so="[object z]"===String(io),ao=Te("toStringTag"),co="Arguments"==v(function(){return arguments}()),uo=so?v:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),ao))?r:co?v(e):"Object"==(n=v(e))&&"function"==typeof e.callee?"Arguments":n},fo=Te("iterator"),lo=function(t){var e=t.return;if(void 0!==e)return j(e.call(t)).value},po=function(t,e){this.stopped=t,this.result=e},ho=function(t,e,r){var n,o,i,s,a,c,u,f,l=r&&r.that,p=!(!r||!r.AS_ENTRIES),h=!(!r||!r.IS_ITERATOR),d=!(!r||!r.INTERRUPTED),v=Mr(e,l,1+p+d),g=function(t){return n&&lo(n),new po(!0,t)},y=function(t){return p?(j(t),d?v(t[0],t[1],g):v(t[0],t[1])):d?v(t,g):v(t)};if(h)n=t;else{if(o=function(t){if(null!=t)return t[fo]||t["@@iterator"]||Nn[uo(t)]}(t),"function"!=typeof o)throw TypeError("Target is not iterable");if(void 0!==(f=o)&&(Nn.Array===f||oo[no]===f)){for(i=0,s=dt(t.length);s>i;i++)if((a=y(t[i]))&&a instanceof po)return a;return new po(!1)}n=o.call(t)}for(c=n.next;!(u=c.call(n)).done;){try{a=y(u.value)}catch(t){throw lo(n),t}if("object"==typeof a&&a&&a instanceof po)return a}return new po(!1)},vo=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},go=Te("iterator"),yo=!1;try{var Eo=0,mo={next:function(){return{done:!!Eo++}},return:function(){yo=!0}};mo[go]=function(){return this},Array.from(mo,(function(){throw 2}))}catch(t){}var bo=function(t,e,r){for(var n in e)st(t,n,e[n],r);return t},xo=_.f,Oo=ro.fastKey,Ro=it.set,wo=it.getterFor,So={getConstructor:function(t,e,r,n){var o=t((function(t,i){vo(t,o,e),Ro(t,{type:e,index:Ht(null),first:void 0,last:void 0,size:0}),u||(t.size=0),null!=i&&ho(i,t[n],{that:t,AS_ENTRIES:r})})),i=wo(e),s=function(t,e,r){var n,o,s=i(t),c=a(t,e);return c?c.value=r:(s.last=c={index:o=Oo(e,!0),key:e,value:r,previous:n=s.last,next:void 0,removed:!1},s.first||(s.first=c),n&&(n.next=c),u?s.size++:t.size++,"F"!==o&&(s.index[o]=c)),t},a=function(t,e){var r,n=i(t),o=Oo(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return bo(o.prototype,{clear:function(){for(var t=i(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,u?t.size=0:this.size=0},delete:function(t){var e=this,r=i(e),n=a(e,t);if(n){var o=n.next,s=n.previous;delete r.index[n.index],n.removed=!0,s&&(s.next=o),o&&(o.previous=s),r.first==n&&(r.first=o),r.last==n&&(r.last=s),u?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=i(this),n=Mr(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!a(this,t)}}),bo(o.prototype,r?{get:function(t){var e=a(this,t);return e&&e.value},set:function(t,e){return s(this,0===t?0:t,e)}}:{add:function(t){return s(this,t=0===t?0:t,t)}}),u&&xo(o.prototype,"size",{get:function(){return i(this).size}}),o},setStrong:function(t,e,r){var n=e+" Iterator",o=wo(e),i=wo(n);Yn(t,e,(function(t,e){Ro(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),ke(e)}};!function(t,e,r){var n=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),i=n?"set":"add",s=a[t],u=s&&s.prototype,f=s,l={},p=function(t){var e=u[t];st(u,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(o&&!b(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return o&&!b(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(o&&!b(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(Pt(t,"function"!=typeof s||!(o||u.forEach&&!c((function(){(new s).entries().next()})))))f=r.getConstructor(e,t,n,i),ro.REQUIRED=!0;else if(Pt(t,!0)){var h=new f,d=h[i](o?{}:-0,1)!=h,v=c((function(){h.has(1)})),g=function(t,e){if(!e&&!yo)return!1;var r=!1;try{var n={};n[go]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r}((function(t){new s(t)})),y=!o&&c((function(){for(var t=new s,e=5;e--;)t[i](e,e);return!t.has(-0)}));g||((f=e((function(e,r){vo(e,f,t);var o=Ft(new s,e,f);return null!=r&&ho(r,o[i],{that:o,AS_ENTRIES:n}),o}))).prototype=u,u.constructor=f),(v||y)&&(p("delete"),p("has"),n&&p("get")),(y||d)&&p(i),o&&u.clear&&delete u.clear}l[t]=f,Ct({global:!0,forced:f!=s},l),Bn(f,t),o||r.setStrong(f,t,n)}("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),So);var Io=so?{}.toString:function(){return"[object "+uo(this)+"]"};so||st(Object.prototype,"toString",Io,{unsafe:!0});var To=_r.charAt,Ao="String Iterator",No=it.set,Lo=it.getterFor(Ao);Yn(String,"String",(function(t){No(this,{type:Ao,string:String(t),index:0})}),(function(){var t,e=Lo(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=To(r,n),e.index+=t.length,{value:t,done:!1})}));var jo={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},Po=Te("iterator"),_o=Te("toStringTag"),Co=to.values;for(var Do in jo){var ko=a[Do],Fo=ko&&ko.prototype;if(Fo){if(Fo[Po]!==Co)try{C(Fo,Po,Co)}catch(t){Fo[Po]=Co}if(Fo[_o]||C(Fo,_o,Do),jo[Do])for(var Uo in to)if(Fo[Uo]!==to[Uo])try{C(Fo,Uo,to[Uo])}catch(t){Fo[Uo]=to[Uo]}}}var Mo=$r.forEach,Bo=Yr("forEach")?[].forEach:function(t){return Mo(this,t,arguments.length>1?arguments[1]:void 0)};for(var Go in jo){var $o=a[Go],Xo=$o&&$o.prototype;if(Xo&&Xo.forEach!==Bo)try{C(Xo,"forEach",Bo)}catch(t){Xo.forEach=Bo}}var qo="1.3.0",Vo=function(){function t(){this.handlers=new Map}return t.prototype.getVersion=function(){return qo},t.prototype.subscribe=function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).concat(e))},t.prototype.unsubscribe=function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).filter((function(t){return t!=e})))},t.prototype.emit=function(t,e){(this.handlers.get(t)||[]).forEach((function(t){try{t(e)}catch(t){console.error("could not invoke event listener",t)}}))},t}();var zo=(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 On(window._nc_event_bus):window._nc_event_bus=new Vo);function Ho(t,e){zo.subscribe(t,e)}function Wo(t,e){zo.unsubscribe(t,e)}function Jo(t,e){zo.emit(t,e)}},9498:(t,e,r)=>{"use strict";e.Jv=e.fg=void 0,r(5440);const n=(t,e,r)=>{const n=Object.assign({escape:!0},r||{});return"/"!==t.charAt(0)&&(t="/"+t),o=(o=e||{})||{},t.replace(/{([^{}]*)}/g,(function(t,e){var r=o[e];return n.escape?"string"==typeof r||"number"==typeof r?encodeURIComponent(r.toString()):encodeURIComponent(t):"string"==typeof r||"number"==typeof r?r.toString():t}));var o};e.Jv=(t,e,r)=>{var o;const s=Object.assign({noRewrite:!1},r||{});return!0!==(null===(o=window)||void 0===o||null===(o=o.OC)||void 0===o||null===(o=o.config)||void 0===o?void 0:o.modRewriteWorking)||s.noRewrite?i()+"/index.php"+n(t,e,r):i()+n(t,e,r)};const o=(t,e,r)=>{var n;const o=-1!==(null===(n=window)||void 0===n||null===(n=n.OC)||void 0===n||null===(n=n.coreApps)||void 0===n?void 0:n.indexOf(t));let a=i();return"php"!==r.substring(r.length-3)||o?"php"===r.substring(r.length-3)||o?(a+="settings"!==t&&"core"!==t&&"search"!==t||"ajax"!==e?"/":"/index.php/",o||(a+="apps/"),""!==t&&(a+=t+="/"),e&&(a+=e+"/"),a+=r):(a=s(t),e&&(a+="/"+e+"/"),"/"!==a.substring(a.length-1)&&(a+="/"),a+=r):(a+="/index.php/apps/"+t,"index.php"!==r&&(a+="/",e&&(a+=encodeURI(e+"/")),a+=r)),a};function i(){let t=window._oc_webroot;if(void 0===t){t=location.pathname;const e=t.indexOf("/index.php/");t=-1!==e?t.substr(0,e):t.substr(0,t.lastIndexOf("/"))}return t}function s(t){var e,r;return null!==(r=(null!==(e=window._oc_appswebroots)&&void 0!==e?e:{})[t])&&void 0!==r?r:""}e.fg=o},2505:(t,e,r)=>{t.exports=r(8015)},5592:(t,e,r)=>{"use strict";var n=r(9516),o=r(7522),i=r(3948),s=r(9106),a=r(9615),c=r(2012),u=r(4202),f=r(4896),l=r(5845),p=r(8563),h=r(5656);t.exports=function(t){return new Promise((function(e,r){var d,v=t.data,g=t.headers,y=t.responseType;function E(){t.cancelToken&&t.cancelToken.unsubscribe(d),t.signal&&t.signal.removeEventListener("abort",d)}n.isFormData(v)&&n.isStandardBrowserEnv()&&delete g["Content-Type"];var m=new XMLHttpRequest;if(t.auth){var b=t.auth.username||"",x=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";g.Authorization="Basic "+btoa(b+":"+x)}var O=a(t.baseURL,t.url);function R(){if(m){var n="getAllResponseHeaders"in m?c(m.getAllResponseHeaders()):null,i={data:y&&"text"!==y&&"json"!==y?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:n,config:t,request:m};o((function(t){e(t),E()}),(function(t){r(t),E()}),i),m=null}}if(m.open(t.method.toUpperCase(),s(O,t.params,t.paramsSerializer),!0),m.timeout=t.timeout,"onloadend"in m?m.onloadend=R:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(R)},m.onabort=function(){m&&(r(new l("Request aborted",l.ECONNABORTED,t,m)),m=null)},m.onerror=function(){r(new l("Network Error",l.ERR_NETWORK,t,m,m)),m=null},m.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",n=t.transitional||f;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(new l(e,n.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,t,m)),m=null},n.isStandardBrowserEnv()){var w=(t.withCredentials||u(O))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;w&&(g[t.xsrfHeaderName]=w)}"setRequestHeader"in m&&n.forEach(g,(function(t,e){void 0===v&&"content-type"===e.toLowerCase()?delete g[e]:m.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(m.withCredentials=!!t.withCredentials),y&&"json"!==y&&(m.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&m.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(d=function(t){m&&(r(!t||t&&t.type?new p:t),m.abort(),m=null)},t.cancelToken&&t.cancelToken.subscribe(d),t.signal&&(t.signal.aborted?d():t.signal.addEventListener("abort",d))),v||(v=null);var S=h(O);S&&-1===["http","https","file"].indexOf(S)?r(new l("Unsupported protocol "+S+":",l.ERR_BAD_REQUEST,t)):m.send(v)}))}},8015:(t,e,r)=>{"use strict";var n=r(9516),o=r(9012),i=r(5155),s=r(5343);var a=function t(e){var r=new i(e),a=o(i.prototype.request,r);return n.extend(a,i.prototype,r),n.extend(a,r),a.create=function(r){return t(s(e,r))},a}(r(7412));a.Axios=i,a.CanceledError=r(8563),a.CancelToken=r(3191),a.isCancel=r(3864),a.VERSION=r(9641).version,a.toFormData=r(6440),a.AxiosError=r(5845),a.Cancel=a.CanceledError,a.all=function(t){return Promise.all(t)},a.spread=r(7980),a.isAxiosError=r(5019),t.exports=a,t.exports.default=a},3191:(t,e,r)=>{"use strict";var n=r(8563);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 r=this;this.promise.then((function(t){if(r._listeners){var e,n=r._listeners.length;for(e=0;e<n;e++)r._listeners[e](t);r._listeners=null}})),this.promise.then=function(t){var e,n=new Promise((function(t){r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},o.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},8563:(t,e,r)=>{"use strict";var n=r(5845);function o(t){n.call(this,null==t?"canceled":t,n.ERR_CANCELED),this.name="CanceledError"}r(9516).inherits(o,n,{__CANCEL__:!0}),t.exports=o},3864:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},5155:(t,e,r)=>{"use strict";var n=r(9516),o=r(9106),i=r(3471),s=r(4490),a=r(5343),c=r(9615),u=r(4841),f=u.validators;function l(t){this.defaults=t,this.interceptors={request:new i,response:new i}}l.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var r=e.transitional;void 0!==r&&u.assertOptions(r,{silentJSONParsing:f.transitional(f.boolean),forcedJSONParsing:f.transitional(f.boolean),clarifyTimeoutError:f.transitional(f.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,c=[];if(this.interceptors.response.forEach((function(t){c.push(t.fulfilled,t.rejected)})),!o){var l=[s,void 0];for(Array.prototype.unshift.apply(l,n),l=l.concat(c),i=Promise.resolve(e);l.length;)i=i.then(l.shift(),l.shift());return i}for(var p=e;n.length;){var h=n.shift(),d=n.shift();try{p=h(p)}catch(t){d(t);break}}try{i=s(p)}catch(t){return Promise.reject(t)}for(;c.length;)i=i.then(c.shift(),c.shift());return i},l.prototype.getUri=function(t){t=a(this.defaults,t);var e=c(t.baseURL,t.url);return o(e,t.params,t.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,r){return this.request(a(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,o){return this.request(a(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}l.prototype[t]=e(),l.prototype[t+"Form"]=e(!0)})),t.exports=l},5845:(t,e,r)=>{"use strict";var n=r(9516);function o(t,e,r,n,o){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}n.inherits(o,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var i=o.prototype,s={};["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"].forEach((function(t){s[t]={value:t}})),Object.defineProperties(o,s),Object.defineProperty(i,"isAxiosError",{value:!0}),o.from=function(t,e,r,s,a,c){var u=Object.create(i);return n.toFlatObject(t,u,(function(t){return t!==Error.prototype})),o.call(u,t.message,e,r,s,a),u.name=t.name,c&&Object.assign(u,c),u},t.exports=o},3471:(t,e,r)=>{"use strict";var n=r(9516);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},9615:(t,e,r)=>{"use strict";var n=r(9137),o=r(4680);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},4490:(t,e,r)=>{"use strict";var n=r(9516),o=r(2881),i=r(3864),s=r(7412),a=r(8563);function c(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new a}t.exports=function(t){return c(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||s.adapter)(t).then((function(e){return c(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(c(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},5343:(t,e,r)=>{"use strict";var n=r(9516);t.exports=function(t,e){e=e||{};var r={};function o(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function i(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(t[r],e[r])}function s(t){if(!n.isUndefined(e[t]))return o(void 0,e[t])}function a(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(void 0,e[r])}function c(r){return r in e?o(t[r],e[r]):r in t?o(void 0,t[r]):void 0}var u={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:c};return n.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=u[t]||i,o=e(t);n.isUndefined(o)&&e!==c||(r[t]=o)})),r}},7522:(t,e,r)=>{"use strict";var n=r(5845);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(new n("Request failed with status code "+r.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}},2881:(t,e,r)=>{"use strict";var n=r(9516),o=r(7412);t.exports=function(t,e,r){var i=this||o;return n.forEach(r,(function(r){t=r.call(i,t,e)})),t}},7412:(t,e,r)=>{"use strict";var n=r(5606),o=r(9516),i=r(7018),s=r(5845),a=r(4896),c=r(6440),u={"Content-Type":"application/x-www-form-urlencoded"};function f(t,e){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var l,p={transitional:a,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==n&&"[object process]"===Object.prototype.toString.call(n))&&(l=r(5592)),l),transformRequest:[function(t,e){if(i(e,"Accept"),i(e,"Content-Type"),o.isFormData(t)||o.isArrayBuffer(t)||o.isBuffer(t)||o.isStream(t)||o.isFile(t)||o.isBlob(t))return t;if(o.isArrayBufferView(t))return t.buffer;if(o.isURLSearchParams(t))return f(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r,n=o.isObject(t),s=e&&e["Content-Type"];if((r=o.isFileList(t))||n&&"multipart/form-data"===s){var a=this.env&&this.env.FormData;return c(r?{"files[]":t}:t,a&&new a)}return n||"application/json"===s?(f(e,"application/json"),function(t,e,r){if(o.isString(t))try{return(e||JSON.parse)(t),o.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||p.transitional,r=e&&e.silentJSONParsing,n=e&&e.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||n&&o.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(i){if("SyntaxError"===t.name)throw s.from(t,s.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:r(1534)},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(t){p.headers[t]={}})),o.forEach(["post","put","patch"],(function(t){p.headers[t]=o.merge(u)})),t.exports=p},4896:t=>{"use strict";t.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},9641:t=>{t.exports={version:"0.27.2"}},9012:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}}},9106:(t,e,r)=>{"use strict";var n=r(9516);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,r){if(!e)return t;var i;if(r)i=r(e);else if(n.isURLSearchParams(e))i=e.toString();else{var s=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),s.push(o(e)+"="+o(t))})))})),i=s.join("&")}if(i){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},4680:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},3948:(t,e,r)=>{"use strict";var n=r(9516);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,i,s){var a=[];a.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(i)&&a.push("domain="+i),!0===s&&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(){}}},9137:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},5019:(t,e,r)=>{"use strict";var n=r(9516);t.exports=function(t){return n.isObject(t)&&!0===t.isAxiosError}},4202:(t,e,r)=>{"use strict";var n=r(9516);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},7018:(t,e,r)=>{"use strict";var n=r(9516);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},1534:t=>{t.exports=null},2012:(t,e,r)=>{"use strict";var n=r(9516),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,r,i,s={};return t?(n.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=n.trim(t.substr(0,i)).toLowerCase(),r=n.trim(t.substr(i+1)),e){if(s[e]&&o.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}})),s):s}},5656:t=>{"use strict";t.exports=function(t){var e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}},7980:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},6440:(t,e,r)=>{"use strict";var n=r(9516);t.exports=function(t,e){e=e||new FormData;var r=[];function o(t){return null===t?"":n.isDate(t)?t.toISOString():n.isArrayBuffer(t)||n.isTypedArray(t)?"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}return function t(i,s){if(n.isPlainObject(i)||n.isArray(i)){if(-1!==r.indexOf(i))throw Error("Circular reference detected in "+s);r.push(i),n.forEach(i,(function(r,i){if(!n.isUndefined(r)){var a,c=s?s+"."+i:i;if(r&&!s&&"object"==typeof r)if(n.endsWith(i,"{}"))r=JSON.stringify(r);else if(n.endsWith(i,"[]")&&(a=n.toArray(r)))return void a.forEach((function(t){!n.isUndefined(t)&&e.append(c,o(t))}));t(r,c)}})),r.pop()}else e.append(s,o(i))}(t),e}},4841:(t,e,r)=>{"use strict";var n=r(9641).version,o=r(5845),i={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){i[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var s={};i.transitional=function(t,e,r){function i(t,e){return"[Axios v"+n+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,n,a){if(!1===t)throw new o(i(n," has been removed"+(e?" in "+e:"")),o.ERR_DEPRECATED);return e&&!s[n]&&(s[n]=!0,console.warn(i(n," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,n,a)}},t.exports={assertOptions:function(t,e,r){if("object"!=typeof t)throw new o("options must be an object",o.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(t),i=n.length;i-- >0;){var s=n[i],a=e[s];if(a){var c=t[s],u=void 0===c||a(c,s,t);if(!0!==u)throw new o("option "+s+" must be "+u,o.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new o("Unknown option "+s,o.ERR_BAD_OPTION)}},validators:i}},9516:(t,e,r)=>{"use strict";var n,o=r(9012),i=Object.prototype.toString,s=(n=Object.create(null),function(t){var e=i.call(t);return n[e]||(n[e]=e.slice(8,-1).toLowerCase())});function a(t){return t=t.toLowerCase(),function(e){return s(e)===t}}function c(t){return Array.isArray(t)}function u(t){return void 0===t}var f=a("ArrayBuffer");function l(t){return null!==t&&"object"==typeof t}function p(t){if("object"!==s(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}var h=a("Date"),d=a("File"),v=a("Blob"),g=a("FileList");function y(t){return"[object Function]"===i.call(t)}var E=a("URLSearchParams");function m(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),c(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}var b,x=(b="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(t){return b&&t instanceof b});t.exports={isArray:c,isArrayBuffer:f,isBuffer:function(t){return null!==t&&!u(t)&&null!==t.constructor&&!u(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){var e="[object FormData]";return t&&("function"==typeof FormData&&t instanceof FormData||i.call(t)===e||y(t.toString)&&t.toString()===e)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&f(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:l,isPlainObject:p,isUndefined:u,isDate:h,isFile:d,isBlob:v,isFunction:y,isStream:function(t){return l(t)&&y(t.pipe)},isURLSearchParams:E,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:m,merge:function t(){var e={};function r(r,n){p(e[n])&&p(r)?e[n]=t(e[n],r):p(r)?e[n]=t({},r):c(r)?e[n]=r.slice():e[n]=r}for(var n=0,o=arguments.length;n<o;n++)m(arguments[n],r);return e},extend:function(t,e,r){return m(e,(function(e,n){t[n]=r&&"function"==typeof e?o(e,r):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t},inherits:function(t,e,r,n){t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,r&&Object.assign(t.prototype,r)},toFlatObject:function(t,e,r){var n,o,i,s={};e=e||{};do{for(o=(n=Object.getOwnPropertyNames(t)).length;o-- >0;)s[i=n[o]]||(e[i]=t[i],s[i]=!0);t=Object.getPrototypeOf(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:s,kindOfTest:a,endsWith:function(t,e,r){t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;var n=t.indexOf(e,r);return-1!==n&&n===r},toArray:function(t){if(!t)return null;var e=t.length;if(u(e))return null;for(var r=new Array(e);e-- >0;)r[e]=t[e];return r},isTypedArray:x,isFileList:g}},5606:t=>{var e,r,n=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(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:o}catch(t){e=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(t){r=i}}();var a,c=[],u=!1,f=-1;function l(){u&&a&&(u=!1,a.length?c=a.concat(c):f=-1,c.length&&p())}function p(){if(!u){var t=s(l);u=!0;for(var e=c.length;e;){for(a=c,c=[];++f<e;)a&&a[f].run();f=-1,e=c.length}a=null,u=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{return r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function d(){}n.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];c.push(new h(t,e)),1!==c.length||u||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=d,n.addListener=d,n.once=d,n.off=d,n.removeListener=d,n.removeAllListeners=d,n.emit=d,n.prependListener=d,n.prependOnceListener=d,n.listeners=function(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},9306:(t,e,r)=>{"use strict";var n=r(4901),o=r(6823),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},7829:(t,e,r)=>{"use strict";var n=r(8183).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},8551:(t,e,r)=>{"use strict";var n=r(34),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},235:(t,e,r)=>{"use strict";var n=r(9213).forEach,o=r(4598)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},9617:(t,e,r)=>{"use strict";var n=r(5397),o=r(5610),i=r(6198),s=function(t){return function(e,r,s){var a=n(e),c=i(a);if(0===c)return!t&&-1;var u,f=o(s,c);if(t&&r!=r){for(;c>f;)if((u=a[f++])!=u)return!0}else for(;c>f;f++)if((t||f in a)&&a[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},9213:(t,e,r)=>{"use strict";var n=r(6080),o=r(9504),i=r(7055),s=r(8981),a=r(6198),c=r(1469),u=o([].push),f=function(t){var e=1===t,r=2===t,o=3===t,f=4===t,l=6===t,p=7===t,h=5===t||l;return function(d,v,g,y){for(var E,m,b=s(d),x=i(b),O=a(x),R=n(v,g),w=0,S=y||c,I=e?S(d,O):r||p?S(d,0):void 0;O>w;w++)if((h||w in x)&&(m=R(E=x[w],w,b),t))if(e)I[w]=m;else if(m)switch(t){case 3:return!0;case 5:return E;case 6:return w;case 2:u(I,E)}else switch(t){case 4:return!1;case 7:u(I,E)}return l?-1:o||f?f:I}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},4598:(t,e,r)=>{"use strict";var n=r(9039);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},7433:(t,e,r)=>{"use strict";var n=r(4376),o=r(3517),i=r(34),s=r(8227)("species"),a=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===a||n(e.prototype))||i(e)&&null===(e=e[s]))&&(e=void 0)),void 0===e?a:e}},1469:(t,e,r)=>{"use strict";var n=r(7433);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},4576:(t,e,r)=>{"use strict";var n=r(9504),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},6955:(t,e,r)=>{"use strict";var n=r(2140),o=r(4901),i=r(4576),s=r(8227)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=a(t),s))?r:c?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},7740:(t,e,r)=>{"use strict";var n=r(9297),o=r(5031),i=r(7347),s=r(4913);t.exports=function(t,e,r){for(var a=o(e),c=s.f,u=i.f,f=0;f<a.length;f++){var l=a[f];n(t,l)||r&&n(r,l)||c(t,l,u(e,l))}}},6699:(t,e,r)=>{"use strict";var n=r(3724),o=r(4913),i=r(6980);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},6980:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6840:(t,e,r)=>{"use strict";var n=r(4901),o=r(4913),i=r(283),s=r(9433);t.exports=function(t,e,r,a){a||(a={});var c=a.enumerable,u=void 0!==a.name?a.name:e;if(n(r)&&i(r,u,a),a.global)c?t[e]=r:s(e,r);else{try{a.unsafe?t[e]&&(c=!0):delete t[e]}catch(t){}c?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},9433:(t,e,r)=>{"use strict";var n=r(4475),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},3724:(t,e,r)=>{"use strict";var n=r(9039);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(t,e,r)=>{"use strict";var n=r(4475),o=r(34),i=n.document,s=o(i)&&o(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},9392:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(t,e,r)=>{"use strict";var n,o,i=r(4475),s=r(9392),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,f=u&&u.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},8727:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(t,e,r)=>{"use strict";var n=r(4475),o=r(7347).f,i=r(6699),s=r(6840),a=r(9433),c=r(7740),u=r(2796);t.exports=function(t,e){var r,f,l,p,h,d=t.target,v=t.global,g=t.stat;if(r=v?n:g?n[d]||a(d,{}):n[d]&&n[d].prototype)for(f in e){if(p=e[f],l=t.dontCallGetSet?(h=o(r,f))&&h.value:r[f],!u(v?f:d+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),s(r,f,p,t)}}},9039:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},9228:(t,e,r)=>{"use strict";r(7495);var n=r(9565),o=r(6840),i=r(7323),s=r(9039),a=r(8227),c=r(6699),u=a("species"),f=RegExp.prototype;t.exports=function(t,e,r,l){var p=a(t),h=!s((function(){var e={};return e[p]=function(){return 7},7!==""[t](e)})),d=h&&!s((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return e=!0,null},r[p](""),!e}));if(!h||!d||r){var v=/./[p],g=e(p,""[t],(function(t,e,r,o,s){var a=e.exec;return a===i||a===f.exec?h&&!s?{done:!0,value:n(v,e,r,o)}:{done:!0,value:n(t,r,e,o)}:{done:!1}}));o(String.prototype,t,g[0]),o(f,p,g[1])}l&&c(f[p],"sham",!0)}},8745:(t,e,r)=>{"use strict";var n=r(616),o=Function.prototype,i=o.apply,s=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(i):function(){return s.apply(i,arguments)})},6080:(t,e,r)=>{"use strict";var n=r(7476),o=r(9306),i=r(616),s=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?s(t,e):function(){return t.apply(e,arguments)}}},616:(t,e,r)=>{"use strict";var n=r(9039);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},9565:(t,e,r)=>{"use strict";var n=r(616),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},350:(t,e,r)=>{"use strict";var n=r(3724),o=r(9297),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!n||n&&s(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},7476:(t,e,r)=>{"use strict";var n=r(4576),o=r(9504);t.exports=function(t){if("Function"===n(t))return o(t)}},9504:(t,e,r)=>{"use strict";var n=r(616),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);t.exports=n?s:function(t){return function(){return i.apply(t,arguments)}}},7751:(t,e,r)=>{"use strict";var n=r(4475),o=r(4901);t.exports=function(t,e){return arguments.length<2?(r=n[t],o(r)?r:void 0):n[t]&&n[t][e];var r}},5966:(t,e,r)=>{"use strict";var n=r(9306),o=r(4117);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},2478:(t,e,r)=>{"use strict";var n=r(9504),o=r(8981),i=Math.floor,s=n("".charAt),a=n("".replace),c=n("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,l,p){var h=r+t.length,d=n.length,v=f;return void 0!==l&&(l=o(l),v=u),a(p,v,(function(o,a){var u;switch(s(a,0)){case"$":return"$";case"&":return t;case"`":return c(e,0,r);case"'":return c(e,h);case"<":u=l[c(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===n[p-1]?s(a,1):n[p-1]+s(a,1):o}u=n[f-1]}return void 0===u?"":u}))}},4475:function(t,e,r){"use strict";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 r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(t,e,r)=>{"use strict";var n=r(9504),o=r(8981),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},421:t=>{"use strict";t.exports={}},397:(t,e,r)=>{"use strict";var n=r(7751);t.exports=n("document","documentElement")},5917:(t,e,r)=>{"use strict";var n=r(3724),o=r(9039),i=r(4055);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(t,e,r)=>{"use strict";var n=r(9504),o=r(9039),i=r(4576),s=Object,a=n("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?a(t,""):s(t)}:s},3706:(t,e,r)=>{"use strict";var n=r(9504),o=r(4901),i=r(7629),s=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return s(t)}),t.exports=i.inspectSource},1181:(t,e,r)=>{"use strict";var n,o,i,s=r(8622),a=r(4475),c=r(34),u=r(6699),f=r(9297),l=r(7629),p=r(6119),h=r(421),d="Object already initialized",v=a.TypeError,g=a.WeakMap;if(s||l.state){var y=l.state||(l.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw new v(d);return e.facade=t,y.set(t,e),e},o=function(t){return y.get(t)||{}},i=function(t){return y.has(t)}}else{var E=p("state");h[E]=!0,n=function(t,e){if(f(t,E))throw new v(d);return e.facade=t,u(t,E,e),e},o=function(t){return f(t,E)?t[E]:{}},i=function(t){return f(t,E)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=o(e)).type!==t)throw new v("Incompatible receiver, "+t+" required");return r}}}},4376:(t,e,r)=>{"use strict";var n=r(4576);t.exports=Array.isArray||function(t){return"Array"===n(t)}},4901:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},3517:(t,e,r)=>{"use strict";var n=r(9504),o=r(9039),i=r(4901),s=r(6955),a=r(7751),c=r(3706),u=function(){},f=a("Reflect","construct"),l=/^\s*(?:class|function)\b/,p=n(l.exec),h=!l.test(u),d=function(t){if(!i(t))return!1;try{return f(u,[],t),!0}catch(t){return!1}},v=function(t){if(!i(t))return!1;switch(s(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(l,c(t))}catch(t){return!0}};v.sham=!0,t.exports=!f||o((function(){var t;return d(d.call)||!d(Object)||!d((function(){t=!0}))||t}))?v:d},2796:(t,e,r)=>{"use strict";var n=r(9039),o=r(4901),i=/#|\.prototype\./,s=function(t,e){var r=c[a(t)];return r===f||r!==u&&(o(e)?n(e):!!e)},a=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",f=s.POLYFILL="P";t.exports=s},4117:t=>{"use strict";t.exports=function(t){return null==t}},34:(t,e,r)=>{"use strict";var n=r(4901);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},6395:t=>{"use strict";t.exports=!1},757:(t,e,r)=>{"use strict";var n=r(7751),o=r(4901),i=r(1625),s=r(7040),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,a(t))}},6198:(t,e,r)=>{"use strict";var n=r(8014);t.exports=function(t){return n(t.length)}},283:(t,e,r)=>{"use strict";var n=r(9504),o=r(9039),i=r(4901),s=r(9297),a=r(3724),c=r(350).CONFIGURABLE,u=r(3706),f=r(1181),l=f.enforce,p=f.get,h=String,d=Object.defineProperty,v=n("".slice),g=n("".replace),y=n([].join),E=a&&!o((function(){return 8!==d((function(){}),"length",{value:8}).length})),m=String(String).split("String"),b=t.exports=function(t,e,r){"Symbol("===v(h(e),0,7)&&(e="["+g(h(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!s(t,"name")||c&&t.name!==e)&&(a?d(t,"name",{value:e,configurable:!0}):t.name=e),E&&r&&s(r,"arity")&&t.length!==r.arity&&d(t,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?a&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=l(t);return s(n,"source")||(n.source=y(m,"string"==typeof e?e:"")),t};Function.prototype.toString=b((function(){return i(this)&&p(this).source||u(this)}),"toString")},741:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},4213:(t,e,r)=>{"use strict";var n=r(3724),o=r(9504),i=r(9565),s=r(9039),a=r(1072),c=r(3717),u=r(8773),f=r(8981),l=r(7055),p=Object.assign,h=Object.defineProperty,d=o([].concat);t.exports=!p||s((function(){if(n&&1!==p({b:1},p(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach((function(t){e[t]=t})),7!==p({},t)[r]||a(p({},e)).join("")!==o}))?function(t,e){for(var r=f(t),o=arguments.length,s=1,p=c.f,h=u.f;o>s;)for(var v,g=l(arguments[s++]),y=p?d(a(g),p(g)):a(g),E=y.length,m=0;E>m;)v=y[m++],n&&!i(h,g,v)||(r[v]=g[v]);return r}:p},2360:(t,e,r)=>{"use strict";var n,o=r(8551),i=r(6801),s=r(8727),a=r(421),c=r(397),u=r(4055),f=r(6119),l="prototype",p="script",h=f("IE_PROTO"),d=function(){},v=function(t){return"<"+p+">"+t+"</"+p+">"},g=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;y="undefined"!=typeof document?document.domain&&n?g(n):(e=u("iframe"),r="java"+p+":",e.style.display="none",c.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):g(n);for(var o=s.length;o--;)delete y[l][s[o]];return y()};a[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(d[l]=o(t),r=new d,d[l]=null,r[h]=t):r=y(),void 0===e?r:i.f(r,e)}},6801:(t,e,r)=>{"use strict";var n=r(3724),o=r(8686),i=r(4913),s=r(8551),a=r(5397),c=r(1072);e.f=n&&!o?Object.defineProperties:function(t,e){s(t);for(var r,n=a(e),o=c(e),u=o.length,f=0;u>f;)i.f(t,r=o[f++],n[r]);return t}},4913:(t,e,r)=>{"use strict";var n=r(3724),o=r(5917),i=r(8686),s=r(8551),a=r(6969),c=TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",h="writable";e.f=n?i?function(t,e,r){if(s(t),e=a(e),s(r),"function"==typeof t&&"prototype"===e&&"value"in r&&h in r&&!r[h]){var n=f(t,e);n&&n[h]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:l in r?r[l]:n[l],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(s(t),e=a(e),s(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},7347:(t,e,r)=>{"use strict";var n=r(3724),o=r(9565),i=r(8773),s=r(6980),a=r(5397),c=r(6969),u=r(9297),f=r(5917),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=a(t),e=c(e),f)try{return l(t,e)}catch(t){}if(u(t,e))return s(!o(i.f,t,e),t[e])}},8480:(t,e,r)=>{"use strict";var n=r(1828),o=r(8727).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},3717:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},1625:(t,e,r)=>{"use strict";var n=r(9504);t.exports=n({}.isPrototypeOf)},1828:(t,e,r)=>{"use strict";var n=r(9504),o=r(9297),i=r(5397),s=r(9617).indexOf,a=r(421),c=n([].push);t.exports=function(t,e){var r,n=i(t),u=0,f=[];for(r in n)!o(a,r)&&o(n,r)&&c(f,r);for(;e.length>u;)o(n,r=e[u++])&&(~s(f,r)||c(f,r));return f}},1072:(t,e,r)=>{"use strict";var n=r(1828),o=r(8727);t.exports=Object.keys||function(t){return n(t,o)}},8773:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},4270:(t,e,r)=>{"use strict";var n=r(9565),o=r(4901),i=r(34),s=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&o(r=t.toString)&&!i(a=n(r,t)))return a;if(o(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&o(r=t.toString)&&!i(a=n(r,t)))return a;throw new s("Can't convert object to primitive value")}},5031:(t,e,r)=>{"use strict";var n=r(7751),o=r(9504),i=r(8480),s=r(3717),a=r(8551),c=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=s.f;return r?c(e,r(t)):e}},6682:(t,e,r)=>{"use strict";var n=r(9565),o=r(8551),i=r(4901),s=r(4576),a=r(7323),c=TypeError;t.exports=function(t,e){var r=t.exec;if(i(r)){var u=n(r,t,e);return null!==u&&o(u),u}if("RegExp"===s(t))return n(a,t,e);throw new c("RegExp#exec called on incompatible receiver")}},7323:(t,e,r)=>{"use strict";var n,o,i=r(9565),s=r(9504),a=r(655),c=r(7979),u=r(8429),f=r(5745),l=r(2360),p=r(1181).get,h=r(3635),d=r(8814),v=f("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,y=g,E=s("".charAt),m=s("".indexOf),b=s("".replace),x=s("".slice),O=(o=/b*/g,i(g,n=/a/,"a"),i(g,o,"a"),0!==n.lastIndex||0!==o.lastIndex),R=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];(O||w||R||h||d)&&(y=function(t){var e,r,n,o,s,u,f,h=this,d=p(h),S=a(t),I=d.raw;if(I)return I.lastIndex=h.lastIndex,e=i(y,I,S),h.lastIndex=I.lastIndex,e;var T=d.groups,A=R&&h.sticky,N=i(c,h),L=h.source,j=0,P=S;if(A&&(N=b(N,"y",""),-1===m(N,"g")&&(N+="g"),P=x(S,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==E(S,h.lastIndex-1))&&(L="(?: "+L+")",P=" "+P,j++),r=new RegExp("^(?:"+L+")",N)),w&&(r=new RegExp("^"+L+"$(?!\\s)",N)),O&&(n=h.lastIndex),o=i(g,A?r:h,P),A?o?(o.input=x(o.input,j),o[0]=x(o[0],j),o.index=h.lastIndex,h.lastIndex+=o[0].length):h.lastIndex=0:O&&o&&(h.lastIndex=h.global?o.index+o[0].length:n),w&&o&&o.length>1&&i(v,o[0],r,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(o[s]=void 0)})),o&&T)for(o.groups=u=l(null),s=0;s<T.length;s++)u[(f=T[s])[0]]=o[f[1]];return o}),t.exports=y},7979:(t,e,r)=>{"use strict";var n=r(8551);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},8429:(t,e,r)=>{"use strict";var n=r(9039),o=r(4475).RegExp,i=n((function(){var t=o("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),s=i||n((function(){return!o("a","y").sticky})),a=i||n((function(){var t=o("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:a,MISSED_STICKY:s,UNSUPPORTED_Y:i}},3635:(t,e,r)=>{"use strict";var n=r(9039),o=r(4475).RegExp;t.exports=n((function(){var t=o(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))},8814:(t,e,r)=>{"use strict";var n=r(9039),o=r(4475).RegExp;t.exports=n((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},7750:(t,e,r)=>{"use strict";var n=r(4117),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},6119:(t,e,r)=>{"use strict";var n=r(5745),o=r(3392),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},7629:(t,e,r)=>{"use strict";var n=r(6395),o=r(4475),i=r(9433),s="__core-js_shared__",a=t.exports=o[s]||i(s,{});(a.versions||(a.versions=[])).push({version:"3.36.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(t,e,r)=>{"use strict";var n=r(7629);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},8183:(t,e,r)=>{"use strict";var n=r(9504),o=r(1291),i=r(655),s=r(7750),a=n("".charAt),c=n("".charCodeAt),u=n("".slice),f=function(t){return function(e,r){var n,f,l=i(s(e)),p=o(r),h=l.length;return p<0||p>=h?t?"":void 0:(n=c(l,p))<55296||n>56319||p+1===h||(f=c(l,p+1))<56320||f>57343?t?a(l,p):n:t?u(l,p,p+2):f-56320+(n-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},4495:(t,e,r)=>{"use strict";var n=r(7388),o=r(9039),i=r(4475).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},5610:(t,e,r)=>{"use strict";var n=r(1291),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},5397:(t,e,r)=>{"use strict";var n=r(7055),o=r(7750);t.exports=function(t){return n(o(t))}},1291:(t,e,r)=>{"use strict";var n=r(741);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},8014:(t,e,r)=>{"use strict";var n=r(1291),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},8981:(t,e,r)=>{"use strict";var n=r(7750),o=Object;t.exports=function(t){return o(n(t))}},2777:(t,e,r)=>{"use strict";var n=r(9565),o=r(34),i=r(757),s=r(5966),a=r(4270),c=r(8227),u=TypeError,f=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,c=s(t,f);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!o(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},6969:(t,e,r)=>{"use strict";var n=r(2777),o=r(757);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},2140:(t,e,r)=>{"use strict";var n={};n[r(8227)("toStringTag")]="z",t.exports="[object z]"===String(n)},655:(t,e,r)=>{"use strict";var n=r(6955),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},6823:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},3392:(t,e,r)=>{"use strict";var n=r(9504),o=0,i=Math.random(),s=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},7040:(t,e,r)=>{"use strict";var n=r(4495);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(t,e,r)=>{"use strict";var n=r(3724),o=r(9039);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8622:(t,e,r)=>{"use strict";var n=r(4475),o=r(4901),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},8227:(t,e,r)=>{"use strict";var n=r(4475),o=r(5745),i=r(9297),s=r(3392),a=r(4495),c=r(7040),u=n.Symbol,f=o("wks"),l=c?u.for||u:u&&u.withoutSetter||s;t.exports=function(t){return i(f,t)||(f[t]=a&&i(u,t)?u[t]:l("Symbol."+t)),f[t]}},1629:(t,e,r)=>{"use strict";var n=r(6518),o=r(235);n({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},9085:(t,e,r)=>{"use strict";var n=r(6518),o=r(4213);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},4185:(t,e,r)=>{"use strict";var n=r(6518),o=r(3724),i=r(4913).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},7495:(t,e,r)=>{"use strict";var n=r(6518),o=r(7323);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},5440:(t,e,r)=>{"use strict";var n=r(8745),o=r(9565),i=r(9504),s=r(9228),a=r(9039),c=r(8551),u=r(4901),f=r(4117),l=r(1291),p=r(8014),h=r(655),d=r(7750),v=r(7829),g=r(5966),y=r(2478),E=r(6682),m=r(8227)("replace"),b=Math.max,x=Math.min,O=i([].concat),R=i([].push),w=i("".indexOf),S=i("".slice),I="$0"==="a".replace(/./,"$0"),T=!!/./[m]&&""===/./[m]("a","$0");s("replace",(function(t,e,r){var i=T?"$":"$0";return[function(t,r){var n=d(this),i=f(t)?void 0:g(t,m);return i?o(i,t,n,r):o(e,h(n),t,r)},function(t,o){var s=c(this),a=h(t);if("string"==typeof o&&-1===w(o,i)&&-1===w(o,"$<")){var f=r(e,s,a,o);if(f.done)return f.value}var d=u(o);d||(o=h(o));var g,m=s.global;m&&(g=s.unicode,s.lastIndex=0);for(var I,T=[];null!==(I=E(s,a))&&(R(T,I),m);){""===h(I[0])&&(s.lastIndex=v(a,p(s.lastIndex),g))}for(var A,N="",L=0,j=0;j<T.length;j++){for(var P,_=h((I=T[j])[0]),C=b(x(l(I.index),a.length),0),D=[],k=1;k<I.length;k++)R(D,void 0===(A=I[k])?A:String(A));var F=I.groups;if(d){var U=O([_],D,C,a);void 0!==F&&R(U,F),P=h(n(o,void 0,U))}else P=y(_,a,C,D,F,o);C>=L&&(N+=S(a,L,C)+P,L=C+_.length)}return N+S(a,L)}]}),!!a((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!I||T)}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}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.p="/apps/nextcloudpi/js/",(()=>{"use strict";var t=r(9498),e=r(1135);async function n(){let r=function(){let t={};return document.querySelectorAll("#ncp-settings input").forEach((e=>{"checkbox"===e.type?t[e.name]=e.checked:t[e.name]=e.value})),t}();console.log("Saving nextcloudpi settings: ",r);try{await e.A.post((0,t.Jv)("/apps/nextcloudpi/api/settings/ncp"),{settings:r});return console.log("Saving ncp settings succeeded"),{success:!0,error:null}}catch(t){console.error(t);let e=t.response.data.error;throw Error("".concat(e||t.message," (HTTP ").concat(t.response.status,")"))}}async function o(){let r=function(){let t={};return document.querySelectorAll("#ncp-settings-nc input").forEach((e=>{"checkbox"===e.type?t[e.name]=e.checked:t[e.name]=e.value})),t}();console.log("Saving nextcloud settings: ",r);try{await e.A.post((0,t.Jv)("/apps/nextcloudpi/api/settings/nextcloud"),{settings:r});return console.log("Saving nextcloud settings succeeded"),{success:!0,error:null}}catch(t){console.error(t);let e=t.response.data.error;throw Error("".concat(e||t.message," (HTTP ").concat(t.response.status))}}r.p=(0,t.fg)("nextcloudpi","","js/"),window.addEventListener("load",(()=>{console.log("Listening to ncp settings changes");let t=document.querySelector("#nextcloudpi .error-message");document.querySelectorAll("#ncp-settings input").forEach((e=>{e.addEventListener("change",(async()=>{n().then((()=>{t.classList.add("hidden")})).catch((e=>{console.error(e),t.innerText="Failed to save NextcloudPi settings: "+e.message,t.classList.remove("hidden")}))}))})),document.querySelectorAll("#ncp-settings-nc input").forEach((e=>{e.addEventListener("change",(async()=>{o().then((()=>{t.classList.add("hidden")})).catch((e=>{console.error(e),t.innerText="Failed to save Nextcloud settings: "+e.message,t.classList.remove("hidden")}))}))}))}))})()})();
//# sourceMappingURL=nextcloudpi-admin.js.map?v=ddddb5e2093bf75da33f