зеркало из https://github.com/nextcloud/activity.git
3 строки
2.7 KiB
JavaScript
3 строки
2.7 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('activity', '', 'js/ActivityTab-DcBrUX3x.chunk.mjs'),window.OC.filePath('activity', '', 'js/NcCheckboxRadioSwitch-CvMEEI9x-BV2YqD7g.chunk.mjs'),window.OC.filePath('activity', '', 'js/index-FHDXXk0Q.chunk.mjs'),window.OC.filePath('activity', '', 'js/_commonjsHelpers-D9DevfhH.chunk.mjs'),window.OC.filePath('activity', '', 'js/logger-DdfSSqJ9.chunk.mjs'),window.OC.filePath('activity', '', 'js/Activity-iWE732P6.chunk.mjs'),window.OC.filePath('activity', '', 'js/api-Bbja46ws.chunk.mjs')])))=>i.map(i=>d[i]);
|
|
import{V as m,t as h,a as E}from"./index-FHDXXk0Q.chunk.mjs";import"./_commonjsHelpers-D9DevfhH.chunk.mjs";const b="modulepreload",_=function(n,r){return new URL(n,r).href},w={},v=function(n,r,c){let u=Promise.resolve();if(r&&r.length>0){const s=document.getElementsByTagName("link"),e=document.querySelector("meta[property=csp-nonce]"),y=(e==null?void 0:e.nonce)||(e==null?void 0:e.getAttribute("nonce"));u=Promise.allSettled(r.map(o=>{if(o=_(o,c),o in w)return;w[o]=!0;const l=o.endsWith(".css"),g=l?'[rel="stylesheet"]':"";if(c)for(let d=s.length-1;d>=0;d--){const p=s[d];if(p.href===o&&(!l||p.rel==="stylesheet"))return}else if(document.querySelector('link[href="'.concat(o,'"]').concat(g)))return;const i=document.createElement("link");if(i.rel=l?"stylesheet":b,l||(i.as="script"),i.crossOrigin="",i.href=o,y&&i.setAttribute("nonce",y),document.head.appendChild(i),l)return new Promise((d,p)=>{i.addEventListener("load",d),i.addEventListener("error",()=>p(new Error("Unable to preload CSS for ".concat(o))))})}))}function f(s){const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=s,window.dispatchEvent(e),!e.defaultPrevented)throw s}return u.then(s=>{for(const e of s||[])e.status==="rejected"&&f(e.reason);return n().catch(f)})},A='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-lightning-bolt" viewBox="0 0 24 24"><path d="M11 15H6L13 1V9H18L11 23V15Z" /></svg>';m.prototype.t=h,m.prototype.n=E;let t=null,a=null;const L=new OCA.Files.Sidebar.Tab({id:"activity",name:h("activity","Activity"),iconSvg:A,async mount(n,r,c){if(t===null){const{default:u}=await v(async()=>{const{default:f}=await import("./ActivityTab-DcBrUX3x.chunk.mjs");return{default:f}},__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);t=t!=null?t:m.extend(u)}a&&a.$destroy(),a=new t({parent:c}),a.update(r),a.$mount(n)},update(n){a.update(n)},destroy(){a.$destroy(),a=null}});window.addEventListener("DOMContentLoaded",async function(){if(OCA.Files&&OCA.Files.Sidebar){OCA.Files.Sidebar.registerTab(L);const{default:n}=await v(async()=>{const{default:r}=await import("./ActivityTab-DcBrUX3x.chunk.mjs");return{default:r}},__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);t=t!=null?t:m.extend(n)}});export{A as l};
|