Files
waybar-online/assets/index-CHFKb8wC.js
2025-08-01 17:21:11 +00:00

3 lines
2.4 KiB
JavaScript

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/waybar-DyRHIxrU.js","assets/waybar-BiCziTIV.css","assets/root-QOTJvkXH.js","assets/root-C-wuBary.css"])))=>i.map(i=>d[i]);
(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))f(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const n of t.addedNodes)n.tagName==="LINK"&&n.rel==="modulepreload"&&f(n)}).observe(document,{childList:!0,subtree:!0});function l(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function f(e){if(e.ep)return;e.ep=!0;const t=l(e);fetch(e.href,t)}})();const g="modulepreload",P=function(r){return"/waybar-online/"+r},d={},m=function(a,l,f){let e=Promise.resolve();if(l&&l.length>0){let p=function(o){return Promise.all(o.map(c=>Promise.resolve(c).then(u=>({status:"fulfilled",value:u}),u=>({status:"rejected",reason:u}))))};document.getElementsByTagName("link");const n=document.querySelector("meta[property=csp-nonce]"),s=n?.nonce||n?.getAttribute("nonce");e=p(l.map(o=>{if(o=P(o),o in d)return;d[o]=!0;const c=o.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${o}"]${u}`))return;const i=document.createElement("link");if(i.rel=c?"stylesheet":g,c||(i.as="script"),i.crossOrigin="",i.href=o,s&&i.setAttribute("nonce",s),document.head.appendChild(i),c)return new Promise((h,y)=>{i.addEventListener("load",h),i.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${o}`)))})}))}function t(n){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=n,window.dispatchEvent(s),!s.defaultPrevented)throw n}return e.then(n=>{for(const s of n||[])s.status==="rejected"&&t(s.reason);return a().catch(t)})};location.pathname==="/waybar-online/waybar"&&m(async()=>{const{createWaybarPage:r}=await import("./waybar-DyRHIxrU.js");return{createWaybarPage:r}},__vite__mapDeps([0,1])).then(({createWaybarPage:r})=>r());location.pathname==="/waybar-online"&&m(async()=>{const{createRootPage:r}=await import("./root-QOTJvkXH.js");return{createRootPage:r}},__vite__mapDeps([2,3])).then(({createRootPage:r})=>r());export{m as _};