2022-09-25 15:06:27 +00:00
|
|
|
(()=>{var e={2200:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRequestToken",{enumerable:!0,get:function(){return r.getRequestToken}}),Object.defineProperty(t,"onRequestTokenUpdate",{enumerable:!0,get:function(){return r.onRequestTokenUpdate}}),Object.defineProperty(t,"getCurrentUser",{enumerable:!0,get:function(){return a.getCurrentUser}});var r=n(1894),a=n(1618)},1894:(e,t,n)=>{"use strict";var r=n(5108);n(9554),Object.defineProperty(t,"__esModule",{value:!0}),t.getRequestToken=function(){return o},t.onRequestTokenUpdate=function(e){s.push(e)};var a=n(903),i=document.getElementsByTagName("head")[0],o=i?i.getAttribute("data-requesttoken"):null,s=[];(0,a.subscribe)("csrf-token-update",(function(e){o=e.token,s.forEach((function(t){try{t(e.token)}catch(e){r.error("error updating CSRF token observer",e)}}))}))},1618:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentUser=function(){if(null===r)return null;return{uid:r,displayName:i,isAdmin:o}};var n=document.getElementsByTagName("head")[0],r=n?n.getAttribute("data-user"):null,a=document.getElementsByTagName("head")[0],i=a?a.getAttribute("data-user-displayname"):null,o="undefined"!=typeof OC&&OC.isUserAdmin()},903:(e,t,n)=>{"use strict";n.r(t),n.d(t,{emit:()=>Ha,subscribe:()=>za,unsubscribe:()=>$a});var r=n(4155),a=n(5108),i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function o(e){var t={exports:{}};return e(t,t.exports),t.exports}var s=function(e){return e&&e.Math==Math&&e},u=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof i&&i)||function(){return this}()||Function("return this")(),l=function(e){try{return!!e()}catch(e){return!0}},c=!l((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),d={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,p={f:f&&!d.call({1:2},1)?function(e){var t=f(this,e);return!!t&&t.enumerable}:d},h=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},g={}.toString,m=function(e){return g.call(e).slice(8,-1)},_="".split,A=l((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==m(e)?_.call(e,""):Object(e)}:Object,F=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},b=function(e){return A(F(e))},T=function(e){return"object"==typeof e?null!==e:"function"==typeof e},y=function(e,t){if(!T(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!T(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!T(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!T(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},v=function(e){return Object(F(e))},D={}.hasOwnProperty,E=function(e,t){return D.call(v(e),t)},C=u.document,w=T(C)&&T(C.createElement),k=function(e){return w?C.createElement(e):{}},S=!c&&!l((function(){return 7!=Object.defineProperty(k("div"),"a",{get:function(){return 7}}).a})),x=Object.getOwnPropertyDescriptor,N={f:c?x:function(e,t){if(e=b(e),t=y(t,!0),S)try{return x(e,t)}catch(e){}if(E(e,t))return h(!p.f.call(e,t),e[t])}},R=function(e){if(!T(e))throw TypeError(String(e)+" is not an object");return e},O=Object.defineProperty,B={f:c?O:function(e,t,n){if(R(e),t=y(t,!0),R(n),S)try{return O(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},I=c?function(e,t,n){return B.f(e,t,h(1,n))}:function(e,t,n){return e[t]=n,e},M=function(e,t){try{I(u,e,t)}catch(n){u[e]=t}return t},L="__core-js_shared__",j=u[L]||M(L,{}),Y=Function.toString;"function"!=typeof j.inspectSource&&(j.inspectSource=function(e){return Y.call(e)});var Z,P,G,U=j.inspectSource,q=u.WeakMap,z="function"==typeof q&&/native code/.test(U(q)),$=o((function(e){(e.exports=function(e,t){return j[e]||(j[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.11.2",mode:"global",copyright:"© 2021 Denis Pushkarev (zloiro
|