mirror of
https://github.com/SupertigerDev/waybar-online.git
synced 2026-03-24 08:06:37 +00:00
deploy: 5f455921fd
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/waybar-lTTBX0IC.js","assets/waybar-XRanY02g.css","assets/root-QOTJvkXH.js","assets/root-C-wuBary.css"])))=>i.map(i=>d[i]);
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/waybar-C9YceLTf.js","assets/waybar-XRanY02g.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"]'))d(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"&&d(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 d(e){if(e.ep)return;e.ep=!0;const t=l(e);fetch(e.href,t)}})();const P="modulepreload",v=function(r){return"/waybar-online/"+r},f={},m=function(a,l,d){let e=Promise.resolve();if(l&&l.length>0){let h=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=h(l.map(o=>{if(o=v(o),o in f)return;f[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":P,c||(i.as="script"),i.crossOrigin="",i.href=o,s&&i.setAttribute("nonce",s),document.head.appendChild(i),c)return new Promise((y,g)=>{i.addEventListener("load",y),i.addEventListener("error",()=>g(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)})},p=location.pathname.endsWith("/")?location.pathname.slice(0,-1):location.pathname;p==="/waybar-online/waybar"&&m(async()=>{const{createWaybarPage:r}=await import("./waybar-lTTBX0IC.js");return{createWaybarPage:r}},__vite__mapDeps([0,1])).then(({createWaybarPage:r})=>r());p==="/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 _};
|
(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))d(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"&&d(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 d(e){if(e.ep)return;e.ep=!0;const t=l(e);fetch(e.href,t)}})();const P="modulepreload",v=function(r){return"/waybar-online/"+r},f={},m=function(a,l,d){let e=Promise.resolve();if(l&&l.length>0){let h=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=h(l.map(o=>{if(o=v(o),o in f)return;f[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":P,c||(i.as="script"),i.crossOrigin="",i.href=o,s&&i.setAttribute("nonce",s),document.head.appendChild(i),c)return new Promise((y,g)=>{i.addEventListener("load",y),i.addEventListener("error",()=>g(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)})},p=location.pathname.endsWith("/")?location.pathname.slice(0,-1):location.pathname;p==="/waybar-online/waybar"&&m(async()=>{const{createWaybarPage:r}=await import("./waybar-C9YceLTf.js");return{createWaybarPage:r}},__vite__mapDeps([0,1])).then(({createWaybarPage:r})=>r());p==="/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 _};
|
||||||
1
assets/temperature-BUXd2zjT.js
Normal file
1
assets/temperature-BUXd2zjT.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
import{c as o}from"./Label-C5RGArgp.js";const d=(e,r)=>{const a=o({interval:1e3,update:()=>s(),config:r,module:e});e.element.appendChild(a.element);const s=async()=>{const t=Math.round(Math.random()*90),n=Math.round(t*(9/5)+32),c=r["critical-threshold"];t>=c?e.element.classList.add("critical"):e.element.classList.remove("critical");const l=c!==void 0?c:0;a.set({temperatureC:t,temperatureF:n,icon:a.getIcon(t,"",l)})};s()};export{d as createTemperatureModule};
|
||||||
File diff suppressed because one or more lines are too long
@@ -7,7 +7,7 @@
|
|||||||
<link href="/waybar-online/fontawesome/css/fontawesome.min.css" rel="stylesheet" />
|
<link href="/waybar-online/fontawesome/css/fontawesome.min.css" rel="stylesheet" />
|
||||||
<link href="/waybar-online/fontawesome/css/solid.min.css" rel="stylesheet" />
|
<link href="/waybar-online/fontawesome/css/solid.min.css" rel="stylesheet" />
|
||||||
<title>Vite + TS</title>
|
<title>Vite + TS</title>
|
||||||
<script type="module" crossorigin src="/waybar-online/assets/index-C7WHKSNS.js"></script>
|
<script type="module" crossorigin src="/waybar-online/assets/index-B5D5_9MV.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user