mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-22 08:31:35 +00:00
Deploying to gh-pages from @ thepaperpilot/Advent-Incremental@0bcd920f4d 🚀
This commit is contained in:
parent
e99e92f2dd
commit
a2e9d498da
8 changed files with 43 additions and 43 deletions
|
@ -1 +1 @@
|
||||||
import{_ as T,s as d,p as e,a as l,l as c,D as m,b as s,g as p}from"./index.f2758a26.js";import"./vue.e305c975.js";import{b1 as v}from"./@vue.359f7754.js";/* empty css */import"./nanoevents.1080beb7.js";import"./lz-string.f2f3b7cf.js";import"./is-plain-object.906d88e8.js";import"./vue-next-select.0b2b1d01.js";import"./vue-toastification.d643abb2.js";import"./@pixi.45135ab2.js";import"./eventemitter3.dc5195d7.js";import"./earcut.7c12e2a9.js";import"./url.5a27916e.js";import"./querystring.b35d81f8.js";import"./vuedraggable.96a532dc.js";import"./sortablejs.a0419146.js";import"./vue-textarea-autosize.35804eaf.js";let n=null,o=null;function r(){const t=Date.now();let i=(t-e.time)/1e3;e.time=t;const f=i;if(l.lastTenTicks.push(f),l.lastTenTicks.length>10&&(l.lastTenTicks=l.lastTenTicks.slice(1)),(o==null?void 0:o.value)&&!e.keepGoing||l.hasNaN||(i=Math.max(i,0),e.devSpeed===0))return;if(c.value=!1,e.offlineTime!=null){if(m.gt(e.offlineTime,s.offlineLimit*3600)&&(e.offlineTime=s.offlineLimit*3600),m.gt(e.offlineTime,0)&&e.devSpeed!==0){const u=Math.max(e.offlineTime/10,i);e.offlineTime=e.offlineTime-u,i+=u}else e.devSpeed===0&&(e.offlineTime+=i);(!e.offlineProd||m.lt(e.offlineTime,0))&&(e.offlineTime=null)}if(i=Math.min(i,s.maxTickLength),e.devSpeed!=null&&(i*=e.devSpeed),Number.isFinite(i)||(i=1e308),m.eq(i,0))return;e.timePlayed+=i,Number.isFinite(e.timePlayed)||(e.timePlayed=1e308);let a=f;for(;a>1;)p.emit("update",i/f,1),a--;p.emit("update",i*a/f,a),d.unthrottled?(requestAnimationFrame(r),n!=null&&(clearInterval(n),n=null)):n==null&&(n=setInterval(r,50))}async function M(){o=(await T(()=>import("./index.f2758a26.js").then(function(t){return t.c}),["assets/index.f2758a26.js","assets/index.bfc49326.css","assets/@fontsource.c175eac8.css","assets/vue.e305c975.js","assets/earcut.7c12e2a9.js","assets/@vue.359f7754.js","assets/nanoevents.1080beb7.js","assets/lz-string.f2f3b7cf.js","assets/is-plain-object.906d88e8.js","assets/vue-next-select.0b2b1d01.js","assets/vue-next-select.9e6f4164.css","assets/vue-toastification.d643abb2.js","assets/vue-toastification.4b5f8ac8.css","assets/@pixi.45135ab2.js","assets/eventemitter3.dc5195d7.js","assets/url.5a27916e.js","assets/querystring.b35d81f8.js","assets/vuedraggable.96a532dc.js","assets/sortablejs.a0419146.js","assets/vue-textarea-autosize.35804eaf.js"])).hasWon,v(o,t=>{t&&p.emit("gameWon")}),d.unthrottled?requestAnimationFrame(r):n=setInterval(r,50)}export{M as startGameLoop};
|
import{_ as T,s as d,p as e,a as l,l as c,D as m,b as s,g as p}from"./index.f2258e56.js";import"./vue.e305c975.js";import{b1 as v}from"./@vue.359f7754.js";/* empty css */import"./nanoevents.1080beb7.js";import"./lz-string.f2f3b7cf.js";import"./is-plain-object.906d88e8.js";import"./vue-next-select.0b2b1d01.js";import"./vue-toastification.d643abb2.js";import"./@pixi.45135ab2.js";import"./eventemitter3.dc5195d7.js";import"./earcut.7c12e2a9.js";import"./url.5a27916e.js";import"./querystring.b35d81f8.js";import"./vuedraggable.96a532dc.js";import"./sortablejs.a0419146.js";import"./vue-textarea-autosize.35804eaf.js";let n=null,o=null;function r(){const t=Date.now();let i=(t-e.time)/1e3;e.time=t;const f=i;if(l.lastTenTicks.push(f),l.lastTenTicks.length>10&&(l.lastTenTicks=l.lastTenTicks.slice(1)),(o==null?void 0:o.value)&&!e.keepGoing||l.hasNaN||(i=Math.max(i,0),e.devSpeed===0))return;if(c.value=!1,e.offlineTime!=null){if(m.gt(e.offlineTime,s.offlineLimit*3600)&&(e.offlineTime=s.offlineLimit*3600),m.gt(e.offlineTime,0)&&e.devSpeed!==0){const u=Math.max(e.offlineTime/10,i);e.offlineTime=e.offlineTime-u,i+=u}else e.devSpeed===0&&(e.offlineTime+=i);(!e.offlineProd||m.lt(e.offlineTime,0))&&(e.offlineTime=null)}if(i=Math.min(i,s.maxTickLength),e.devSpeed!=null&&(i*=e.devSpeed),Number.isFinite(i)||(i=1e308),m.eq(i,0))return;e.timePlayed+=i,Number.isFinite(e.timePlayed)||(e.timePlayed=1e308);let a=f;for(;a>1;)p.emit("update",i/f,1),a--;p.emit("update",i*a/f,a),d.unthrottled?(requestAnimationFrame(r),n!=null&&(clearInterval(n),n=null)):n==null&&(n=setInterval(r,50))}async function M(){o=(await T(()=>import("./index.f2258e56.js").then(function(t){return t.c}),["assets/index.f2258e56.js","assets/index.11d1dd49.css","assets/@fontsource.c175eac8.css","assets/vue.e305c975.js","assets/earcut.7c12e2a9.js","assets/@vue.359f7754.js","assets/nanoevents.1080beb7.js","assets/lz-string.f2f3b7cf.js","assets/is-plain-object.906d88e8.js","assets/vue-next-select.0b2b1d01.js","assets/vue-next-select.9e6f4164.css","assets/vue-toastification.d643abb2.js","assets/vue-toastification.4b5f8ac8.css","assets/@pixi.45135ab2.js","assets/eventemitter3.dc5195d7.js","assets/url.5a27916e.js","assets/querystring.b35d81f8.js","assets/vuedraggable.96a532dc.js","assets/sortablejs.a0419146.js","assets/vue-textarea-autosize.35804eaf.js"])).hasWon,v(o,t=>{t&&p.emit("gameWon")}),d.unthrottled?requestAnimationFrame(r):n=setInterval(r,50)}export{M as startGameLoop};
|
1
assets/index.11d1dd49.css
Normal file
1
assets/index.11d1dd49.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
38
assets/index.f2258e56.js
Normal file
38
assets/index.f2258e56.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
BIN
assets/reindeer.e74a3003.png
Normal file
BIN
assets/reindeer.e74a3003.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 57 KiB |
|
@ -14,7 +14,7 @@
|
||||||
<title>Advent Incremental</title>
|
<title>Advent Incremental</title>
|
||||||
<meta name="description" content="An incremental game you play a day at a time, leading up to Christmas!"/>
|
<meta name="description" content="An incremental game you play a day at a time, leading up to Christmas!"/>
|
||||||
<script defer="true" data-domain="thepaperpilot.org" src="https://plausible.io/js/plausible.js"></script>
|
<script defer="true" data-domain="thepaperpilot.org" src="https://plausible.io/js/plausible.js"></script>
|
||||||
<script type="module" crossorigin src="./assets/index.f2758a26.js"></script>
|
<script type="module" crossorigin src="./assets/index.f2258e56.js"></script>
|
||||||
<link rel="modulepreload" href="./assets/earcut.7c12e2a9.js">
|
<link rel="modulepreload" href="./assets/earcut.7c12e2a9.js">
|
||||||
<link rel="modulepreload" href="./assets/@vue.359f7754.js">
|
<link rel="modulepreload" href="./assets/@vue.359f7754.js">
|
||||||
<link rel="modulepreload" href="./assets/vue.e305c975.js">
|
<link rel="modulepreload" href="./assets/vue.e305c975.js">
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
<link rel="modulepreload" href="./assets/vue-textarea-autosize.35804eaf.js">
|
<link rel="modulepreload" href="./assets/vue-textarea-autosize.35804eaf.js">
|
||||||
<link rel="stylesheet" href="./assets/vue-next-select.9e6f4164.css">
|
<link rel="stylesheet" href="./assets/vue-next-select.9e6f4164.css">
|
||||||
<link rel="stylesheet" href="./assets/vue-toastification.4b5f8ac8.css">
|
<link rel="stylesheet" href="./assets/vue-toastification.4b5f8ac8.css">
|
||||||
<link rel="stylesheet" href="./assets/index.bfc49326.css">
|
<link rel="stylesheet" href="./assets/index.11d1dd49.css">
|
||||||
<link rel="stylesheet" href="./assets/@fontsource.c175eac8.css">
|
<link rel="stylesheet" href="./assets/@fontsource.c175eac8.css">
|
||||||
<link rel="manifest" href="./manifest.webmanifest"></head>
|
<link rel="manifest" href="./manifest.webmanifest"></head>
|
||||||
<body>
|
<body>
|
||||||
|
|
2
sw.js
2
sw.js
|
@ -1 +1 @@
|
||||||
if(!self.define){let s,e={};const i=(i,l)=>(i=new URL(i+".js",l).href,e[i]||new Promise((e=>{if("document"in self){const s=document.createElement("script");s.src=i,s.onload=e,document.head.appendChild(s)}else s=i,importScripts(i),e()})).then((()=>{let s=e[i];if(!s)throw new Error(`Module ${i} didn’t register its module`);return s})));self.define=(l,n)=>{const r=s||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let t={};const u=s=>i(s,r),o={module:{uri:r},exports:t,require:u};e[r]=Promise.all(l.map((s=>o[s]||u(s)))).then((s=>(n(...s),t)))}}define(["./workbox-7369c0e1"],(function(s){"use strict";self.addEventListener("message",(s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()})),s.precacheAndRoute([{url:"assets/@fontsource.c175eac8.css",revision:null},{url:"assets/@pixi.45135ab2.js",revision:null},{url:"assets/@vue.359f7754.js",revision:null},{url:"assets/earcut.7c12e2a9.js",revision:null},{url:"assets/eventemitter3.dc5195d7.js",revision:null},{url:"assets/gameLoop.bdb09358.js",revision:null},{url:"assets/index.bfc49326.css",revision:null},{url:"assets/index.f2758a26.js",revision:null},{url:"assets/is-plain-object.906d88e8.js",revision:null},{url:"assets/lz-string.f2f3b7cf.js",revision:null},{url:"assets/nanoevents.1080beb7.js",revision:null},{url:"assets/querystring.b35d81f8.js",revision:null},{url:"assets/sortablejs.a0419146.js",revision:null},{url:"assets/url.5a27916e.js",revision:null},{url:"assets/vue-next-select.0b2b1d01.js",revision:null},{url:"assets/vue-next-select.9e6f4164.css",revision:null},{url:"assets/vue-textarea-autosize.35804eaf.js",revision:null},{url:"assets/vue-toastification.4b5f8ac8.css",revision:null},{url:"assets/vue-toastification.d643abb2.js",revision:null},{url:"assets/vue.e305c975.js",revision:null},{url:"assets/vuedraggable.96a532dc.js",revision:null},{url:"assets/workbox-window.4a8794bb.js",revision:null},{url:"index.html",revision:"1d696ca9ff82bb8d6f0c490a24213498"},{url:"favicon.ico",revision:"eead31eb5b19fa3bdc34af83d898c0b7"},{url:"robots.txt",revision:"5e0bd1c281a62a380d7a948085bfe2d1"},{url:"apple-touch-icon.png",revision:"26e53bb981d06c8069ffd9d2a14fce0e"},{url:"pwa-192x192.png",revision:"a16785d9e890858c5b508e0ef6954aaf"},{url:"pwa-512x512.png",revision:"b84004b93fd62ef6599ff179372861a1"},{url:"manifest.webmanifest",revision:"5f32ad2a77eb001e1b6a588835dc1efc"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("index.html")))}));
|
if(!self.define){let s,e={};const i=(i,l)=>(i=new URL(i+".js",l).href,e[i]||new Promise((e=>{if("document"in self){const s=document.createElement("script");s.src=i,s.onload=e,document.head.appendChild(s)}else s=i,importScripts(i),e()})).then((()=>{let s=e[i];if(!s)throw new Error(`Module ${i} didn’t register its module`);return s})));self.define=(l,n)=>{const r=s||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let t={};const u=s=>i(s,r),a={module:{uri:r},exports:t,require:u};e[r]=Promise.all(l.map((s=>a[s]||u(s)))).then((s=>(n(...s),t)))}}define(["./workbox-7369c0e1"],(function(s){"use strict";self.addEventListener("message",(s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()})),s.precacheAndRoute([{url:"assets/@fontsource.c175eac8.css",revision:null},{url:"assets/@pixi.45135ab2.js",revision:null},{url:"assets/@vue.359f7754.js",revision:null},{url:"assets/earcut.7c12e2a9.js",revision:null},{url:"assets/eventemitter3.dc5195d7.js",revision:null},{url:"assets/gameLoop.78e8a7c6.js",revision:null},{url:"assets/index.11d1dd49.css",revision:null},{url:"assets/index.f2258e56.js",revision:null},{url:"assets/is-plain-object.906d88e8.js",revision:null},{url:"assets/lz-string.f2f3b7cf.js",revision:null},{url:"assets/nanoevents.1080beb7.js",revision:null},{url:"assets/querystring.b35d81f8.js",revision:null},{url:"assets/sortablejs.a0419146.js",revision:null},{url:"assets/url.5a27916e.js",revision:null},{url:"assets/vue-next-select.0b2b1d01.js",revision:null},{url:"assets/vue-next-select.9e6f4164.css",revision:null},{url:"assets/vue-textarea-autosize.35804eaf.js",revision:null},{url:"assets/vue-toastification.4b5f8ac8.css",revision:null},{url:"assets/vue-toastification.d643abb2.js",revision:null},{url:"assets/vue.e305c975.js",revision:null},{url:"assets/vuedraggable.96a532dc.js",revision:null},{url:"assets/workbox-window.4a8794bb.js",revision:null},{url:"index.html",revision:"88c706fdb4aa550c19f1cdd25a5ab22e"},{url:"favicon.ico",revision:"eead31eb5b19fa3bdc34af83d898c0b7"},{url:"robots.txt",revision:"5e0bd1c281a62a380d7a948085bfe2d1"},{url:"apple-touch-icon.png",revision:"26e53bb981d06c8069ffd9d2a14fce0e"},{url:"pwa-192x192.png",revision:"a16785d9e890858c5b508e0ef6954aaf"},{url:"pwa-512x512.png",revision:"b84004b93fd62ef6599ff179372861a1"},{url:"manifest.webmanifest",revision:"5f32ad2a77eb001e1b6a588835dc1efc"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("index.html")))}));
|
||||||
|
|
Loading…
Reference in a new issue