From 817051f77ebb22016cbebbacadfa875f20c910d5 Mon Sep 17 00:00:00 2001
From: aryanpingle <49340972+aryanpingle@users.noreply.github.com>
Date: Mon, 30 Sep 2024 06:05:08 +0000
Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20aryanpin?=
=?UTF-8?q?gle/Runic@d3172e3558ff692654a24bc3db2eb7e40a52cc12=20?=
=?UTF-8?q?=F0=9F=9A=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
bundle/initial.js | 2 +-
index.html | 2 +-
service-worker.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/bundle/initial.js b/bundle/initial.js
index b8fd634..f431bd4 100644
--- a/bundle/initial.js
+++ b/bundle/initial.js
@@ -1 +1 @@
-function t(){window.matchMedia("(prefers-color-scheme: dark)").matches?document.documentElement.classList.remove("light-theme"):document.documentElement.classList.add("light-theme")}function n(){let o=window.matchMedia("(prefers-color-scheme: dark)");t(),o.addEventListener("change",t)}function a(){"serviceWorker"in navigator&&navigator.serviceWorker.register("./service-worker.js")}(function(){a(),n()})();
+function n(){window.matchMedia("(prefers-color-scheme: dark)").matches?document.documentElement.classList.remove("light-theme"):document.documentElement.classList.add("light-theme")}function a(){var t;let o=window.matchMedia("(prefers-color-scheme: dark)");n(),(t=o.addEventListener)==null||t.call(o,"change",n)}function e(){"serviceWorker"in navigator&&navigator.serviceWorker.register("./service-worker.js")}(function(){e(),a()})();
diff --git a/index.html b/index.html
index c6d7571..e136617 100644
--- a/index.html
+++ b/index.html
@@ -6,7 +6,7 @@
Runic - The Tunic Translation Tool
-
+
diff --git a/service-worker.js b/service-worker.js
index f8dbe6d..e7dd454 100644
--- a/service-worker.js
+++ b/service-worker.js
@@ -1 +1 @@
-var p=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var r=(e,t,n)=>new Promise((c,i)=>{var o=s=>{try{u(n.next(s))}catch(l){i(l)}},w=s=>{try{u(n.throw(s))}catch(l){i(l)}},u=s=>s.done?c(s.value):Promise.resolve(s.value).then(o,w);u((n=n.apply(e,t)).next())});var C=p(f=>{var h=self.registration.scope.includes("127.0.0.1")||self.registration.scope.includes("localhost"),d=(e,t="rgb(128, 128, 128)")=>h&&console.log(`%c${e}`,`color: black !important; background-color: ${t};`),q=!h,R="runic-cache-1",a=null;self.addEventListener("install",e=>{d("Service Worker Installed"),self.skipWaiting()});self.addEventListener("activate",e=>r(f,null,function*(){d("Service Worker Activated"),e.waitUntil(r(f,null,function*(){yield clients.claim()}))}));self.addEventListener("fetch",e=>{e.respondWith(q?m(e):fetch(e.request))});function E(e){return!!(e.includes("googletagmanager.com/gtag")||e.includes("ipa_dict.json")||e.includes("fonts.googleapis.com")||/\.(png|webp|jpg|jpeg)$/.test(e))}function m(e){return r(this,null,function*(){let t=e.request;if(t.url.includes("google-analytics.com"))return yield fetch(t);if(a==null&&(a=yield caches.open(R)),E(t.url)){let n=yield a.match(t);return n===void 0?yield fetch(t).then(c=>(g(t,c),c)):n}return yield v(t)})}function g(e,t){let n=t.clone();a.put(e,n)}function k(e){return r(this,null,function*(){let t=yield fetch(e);return t.ok&&g(e,t),t})}function v(e){return r(this,null,function*(){let t=new URL(e.url);t.search="",t.hash="";let n=t.toString(),c=new Request(n);try{return yield k(c)}catch(i){let o=yield a.match(c);if(o===void 0)throw i;return o}})}});export default C();
+var r=(e,t,n)=>new Promise((c,i)=>{var o=s=>{try{u(n.next(s))}catch(l){i(l)}},g=s=>{try{u(n.throw(s))}catch(l){i(l)}},u=s=>s.done?c(s.value):Promise.resolve(s.value).then(o,g);u((n=n.apply(e,t)).next())});var f=self.registration.scope.includes("127.0.0.1")||self.registration.scope.includes("localhost"),h=(e,t="rgb(128, 128, 128)")=>f&&console.log(`%c${e}`,`color: black !important; background-color: ${t};`),w=!f,p="runic-cache-1",a=null;self.addEventListener("install",e=>{h("Service Worker Installed"),self.skipWaiting()});self.addEventListener("activate",e=>r(exports,null,function*(){h("Service Worker Activated"),e.waitUntil(r(exports,null,function*(){yield clients.claim()}))}));self.addEventListener("fetch",e=>{e.respondWith(w?R(e):fetch(e.request))});function q(e){return!!(e.includes("googletagmanager.com/gtag")||e.includes("ipa_dict.json")||e.includes("fonts.googleapis.com")||/\.(png|webp|jpg|jpeg)$/.test(e))}function R(e){return r(this,null,function*(){let t=e.request;if(t.url.includes("google-analytics.com"))return yield fetch(t);if(a==null&&(a=yield caches.open(p)),q(t.url)){let n=yield a.match(t);return n===void 0?yield fetch(t).then(c=>(d(t,c),c)):n}return yield m(t)})}function d(e,t){let n=t.clone();a.put(e,n)}function E(e){return r(this,null,function*(){let t=yield fetch(e);return t.ok&&d(e,t),t})}function m(e){return r(this,null,function*(){let t=new URL(e.url);t.search="",t.hash="";let n=t.toString(),c=new Request(n);try{return yield E(c)}catch(i){let o=yield a.match(c);if(o===void 0)throw i;return o}})}