server/dist/core-ajax-cron.js

2 строки
2.1 KiB
JavaScript

(()=>{"use strict";var e,r={78038:(e,r,n)=>{var o=n(63814),t=n(21777),i=n(35947);const d=null===(l=(0,t.HW)())?(0,i.YK)().setApp("core").build():(0,i.YK)().setApp("core").setUid(l.uid).build();var l;(0,i.YK)().setApp("unified-search").detectUser().build(),window.addEventListener("DOMContentLoaded",(async()=>{try{d.debug("Running web cron"),await window.fetch(`${(0,o.aU)()}/cron.php`),d.debug("Web cron successfull")}catch(e){d.debug("Running web cron failed",{error:e})}}))}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,loaded:!1,exports:{}};return r[e].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}o.m=r,e=[],o.O=(r,n,t,i)=>{if(!n){var d=1/0;for(c=0;c<e.length;c++){n=e[c][0],t=e[c][1],i=e[c][2];for(var l=!0,a=0;a<n.length;a++)(!1&i||d>=i)&&Object.keys(o.O).every((e=>o.O[e](n[a])))?n.splice(a--,1):(l=!1,i<d&&(d=i));if(l){e.splice(c--,1);var u=t();void 0!==u&&(r=u)}}return r}i=i||0;for(var c=e.length;c>0&&e[c-1][2]>i;c--)e[c]=e[c-1];e[c]=[n,t,i]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var n in r)o.o(r,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o.e=()=>Promise.resolve(),o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.j=5438,(()=>{o.b=document.baseURI||self.location.href;var e={5438:0};o.O.j=r=>0===e[r];var r=(r,n)=>{var t,i,d=n[0],l=n[1],a=n[2],u=0;if(d.some((r=>0!==e[r]))){for(t in l)o.o(l,t)&&(o.m[t]=l[t]);if(a)var c=a(o)}for(r&&r(n);u<d.length;u++)i=d[u],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return o.O(c)},n=self.webpackChunknextcloud=self.webpackChunknextcloud||[];n.forEach(r.bind(null,0)),n.push=r.bind(null,n.push.bind(n))})(),o.nc=void 0;var t=o.O(void 0,[4208],(()=>o(78038)));t=o.O(t)})();
//# sourceMappingURL=core-ajax-cron.js.map?v=11deaa9ea0885dd30276