From b3a3faccd745d10c8156bf2efcc3eb57369c6505 Mon Sep 17 00:00:00 2001 From: jakobst1n Date: Tue, 13 Oct 2020 20:50:56 +0200 Subject: Updates --- client/client.0916be27.js | 18 ++++++++++++++++++ client/client.7f720467.js | 18 ------------------ client/index-89c000ac.css | 7 +++++++ client/index-fcecdc43.css | 7 ------- client/index.3e5f04b7.js | 1 + client/index.4a84583d.js | 1 - client/legacy/client.467aa998.js | 18 ++++++++++++++++++ client/legacy/client.b8e806fc.js | 18 ------------------ client/legacy/index-89c000ac.css | 7 +++++++ client/legacy/index-fcecdc43.css | 7 ------- client/legacy/index.4c4775ea.js | 1 + client/legacy/index.d028e5b4.js | 1 - index.html | 2 +- service-worker-index.html | 2 +- service-worker.js | 2 +- 15 files changed, 55 insertions(+), 55 deletions(-) create mode 100644 client/client.0916be27.js delete mode 100644 client/client.7f720467.js create mode 100644 client/index-89c000ac.css delete mode 100644 client/index-fcecdc43.css create mode 100644 client/index.3e5f04b7.js delete mode 100644 client/index.4a84583d.js create mode 100644 client/legacy/client.467aa998.js delete mode 100644 client/legacy/client.b8e806fc.js create mode 100644 client/legacy/index-89c000ac.css delete mode 100644 client/legacy/index-fcecdc43.css create mode 100644 client/legacy/index.4c4775ea.js delete mode 100644 client/legacy/index.d028e5b4.js diff --git a/client/client.0916be27.js b/client/client.0916be27.js new file mode 100644 index 0000000..dc96c6e --- /dev/null +++ b/client/client.0916be27.js @@ -0,0 +1,18 @@ +function t(){}function e(t,e){for(const n in e)t[n]=e[n];return t}function n(t){return t()}function r(){return Object.create(null)}function o(t){t.forEach(n)}function s(t){return"function"==typeof t}function c(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function i(t,n,r,o){return t[1]&&o?e(r.ctx.slice(),t[1](o(n))):r.ctx}function a(t,e,n,r,o,s,c){const a=function(t,e,n,r){if(t[2]&&r){const o=t[2](r(n));if(void 0===e.dirty)return o;if("object"==typeof o){const t=[],n=Math.max(e.dirty.length,o.length);for(let r=0;r{B.delete(t),r&&(n&&t.d(1),r())})),t.o(e)}}function z(t,e){const n={},r={},o={$$scope:1};let s=t.length;for(;s--;){const c=t[s],i=e[s];if(i){for(const t in c)t in i||(r[t]=1);for(const t in i)o[t]||(n[t]=i[t],o[t]=1);t[s]=i}else for(const t in c)o[t]=1}for(const t in r)t in n||(n[t]=void 0);return n}function H(t){return"object"==typeof t&&null!==t?t:{}}function Y(t){t&&t.c()}function F(t,e){t&&t.l(e)}function G(t,e,r){const{fragment:c,on_mount:i,on_destroy:a,after_update:l}=t.$$;c&&c.m(e,r),O((()=>{const e=i.map(n).filter(s);a?a.push(...e):o(e),t.$$.on_mount=[]})),l.forEach(O)}function W(t,e){const n=t.$$;null!==n.fragment&&(o(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function X(t,e){-1===t.$$.dirty[0]&&(k.push(t),q||(q=!0,L.then(T)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const o=r.length?r[0]:n;return d.ctx&&i(d.ctx[t],d.ctx[t]=o)&&(!d.skip_bound&&d.bound[t]&&d.bound[t](o),h&&X(e,t)),n})):[],d.update(),h=!0,o(d.before_update),d.fragment=!!c&&c(d.ctx),n.target){if(n.hydrate){const t=y(n.target);d.fragment&&d.fragment.l(t),t.forEach(f)}else d.fragment&&d.fragment.c();n.intro&&D(e.$$.fragment),G(e,n.target,n.anchor),T()}S(u)}class Z{$destroy(){W(this,1),this.$destroy=t}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const tt=[];function et(e,n=t){let r;const o=[];function s(t){if(c(e,t)&&(e=t,r)){const t=!tt.length;for(let t=0;t{const t=o.indexOf(a);-1!==t&&o.splice(t,1),0===o.length&&(r(),r=null)}}}}const nt={};function rt(t){let e,n;const r=t[1].default,o=function(t,e,n,r){if(t){const o=i(t,e,n,r);return t[0](o)}}(r,t,t[0],null);return{c(){e=d("div"),o&&o.c(),this.h()},l(t){e=v(t,"DIV",{class:!0});var n=y(e);o&&o.l(n),n.forEach(f),this.h()},h(){$(e,"class","app-container svelte-lkkhqy")},m(t,r){u(t,e,r),o&&o.m(e,null),n=!0},p(t,[e]){o&&o.p&&1&e&&a(o,r,t,t[0],e,null,null)},i(t){n||(D(o,t),n=!0)},o(t){M(o,t),n=!1},d(t){t&&f(e),o&&o.d(t)}}}function ot(t,e,n){let{$$slots:r={},$$scope:o}=e;return t.$$set=t=>{"$$scope"in t&&n(0,o=t.$$scope)},[o,r]}class st extends Z{constructor(t){super(),Q(this,t,ot,rt,c,{})}}function ct(t){let e,n,r=t[1].stack+"";return{c(){e=d("pre"),n=h(r)},l(t){e=v(t,"PRE",{});var o=y(e);n=b(o,r),o.forEach(f)},m(t,r){u(t,e,r),l(e,n)},p(t,e){2&e&&r!==(r=t[1].stack+"")&&x(n,r)},d(t){t&&f(e)}}}function it(e){let n,r,o,s,c,i,a,p,E,S=e[1].message+"";document.title=n=e[0];let R=e[2]&&e[1].stack&&ct(e);return{c(){r=m(),o=d("h1"),s=h(e[0]),c=m(),i=d("p"),a=h(S),p=m(),R&&R.c(),E=g(),this.h()},l(t){w('[data-svelte="svelte-1o9r2ue"]',document.head).forEach(f),r=_(t),o=v(t,"H1",{class:!0});var n=y(o);s=b(n,e[0]),n.forEach(f),c=_(t),i=v(t,"P",{class:!0});var l=y(i);a=b(l,S),l.forEach(f),p=_(t),R&&R.l(t),E=g(),this.h()},h(){$(o,"class","svelte-jpshsi"),$(i,"class","svelte-jpshsi")},m(t,e){u(t,r,e),u(t,o,e),l(o,s),u(t,c,e),u(t,i,e),l(i,a),u(t,p,e),R&&R.m(t,e),u(t,E,e)},p(t,[e]){1&e&&n!==(n=t[0])&&(document.title=n),1&e&&x(s,t[0]),2&e&&S!==(S=t[1].message+"")&&x(a,S),t[2]&&t[1].stack?R?R.p(t,e):(R=ct(t),R.c(),R.m(E.parentNode,E)):R&&(R.d(1),R=null)},i:t,o:t,d(t){t&&f(r),t&&f(o),t&&f(c),t&&f(i),t&&f(p),R&&R.d(t),t&&f(E)}}}function at(t,e,n){let{status:r}=e,{error:o}=e;return t.$$set=t=>{"status"in t&&n(0,r=t.status),"error"in t&&n(1,o=t.error)},[r,o,false]}class lt extends Z{constructor(t){super(),Q(this,t,at,it,c,{status:0,error:1})}}function ut(t){let n,r,o;const s=[t[4].props];var c=t[4].component;function i(t){let n={};for(let t=0;t{W(t,1)})),V()}c?(n=new c(i()),Y(n.$$.fragment),D(n.$$.fragment,1),G(n,r.parentNode,r)):n=null}else c&&n.$set(o)},i(t){o||(n&&D(n.$$.fragment,t),o=!0)},o(t){n&&M(n.$$.fragment,t),o=!1},d(t){t&&f(r),n&&W(n,t)}}}function ft(t){let e,n;return e=new lt({props:{error:t[0],status:t[1]}}),{c(){Y(e.$$.fragment)},l(t){F(e.$$.fragment,t)},m(t,r){G(e,t,r),n=!0},p(t,n){const r={};1&n&&(r.error=t[0]),2&n&&(r.status=t[1]),e.$set(r)},i(t){n||(D(e.$$.fragment,t),n=!0)},o(t){M(e.$$.fragment,t),n=!1},d(t){W(e,t)}}}function pt(t){let e,n,r,o;const s=[ft,ut],c=[];function i(t,e){return t[0]?0:1}return e=i(t),n=c[e]=s[e](t),{c(){n.c(),r=g()},l(t){n.l(t),r=g()},m(t,n){c[e].m(t,n),u(t,r,n),o=!0},p(t,o){let a=e;e=i(t),e===a?c[e].p(t,o):(K(),M(c[a],1,1,(()=>{c[a]=null})),V(),n=c[e],n||(n=c[e]=s[e](t),n.c()),D(n,1),n.m(r.parentNode,r))},i(t){o||(D(n),o=!0)},o(t){M(n),o=!1},d(t){c[e].d(t),t&&f(r)}}}function dt(t){let n,r;const o=[{segment:t[2][0]},t[3].props];let s={$$slots:{default:[pt]},$$scope:{ctx:t}};for(let t=0;t{"stores"in t&&n(5,r=t.stores),"error"in t&&n(0,o=t.error),"status"in t&&n(1,s=t.status),"segments"in t&&n(2,c=t.segments),"level0"in t&&n(3,i=t.level0),"level1"in t&&n(4,a=t.level1),"notify"in t&&n(6,l=t.notify)},[o,s,c,i,a,r,l]}class mt extends Z{constructor(t){super(),Q(this,t,ht,dt,c,{stores:5,error:0,status:1,segments:2,level0:3,level1:4,notify:6})}}const gt=[],$t=[{js:()=>Promise.all([import("./index.3e5f04b7.js"),__inject_styles(["client-ea61129f.css","index-89c000ac.css"])]).then((function(t){return t[0]}))}],yt=[{pattern:/^\/$/,parts:[{i:0}]}]; +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +function vt(t,e,n,r){return new(n||(n=Promise))((function(o,s){function c(t){try{a(r.next(t))}catch(t){s(t)}}function i(t){try{a(r.throw(t))}catch(t){s(t)}}function a(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(c,i)}a((r=r.apply(t,e||[])).next())}))}function bt(t){for(;t&&"A"!==t.nodeName.toUpperCase();)t=t.parentNode;return t}let _t,xt=1;const wt="undefined"!=typeof history?history:{pushState:(t,e,n)=>{},replaceState:(t,e,n)=>{},scrollRestoration:""},Et={};let St,Rt;function Nt(t){const e=Object.create(null);return t.length>0&&t.slice(1).split("&").forEach((t=>{const[,n,r=""]=/([^=]*)(?:=(.*))?/.exec(decodeURIComponent(t.replace(/\+/g," ")));"string"==typeof e[n]&&(e[n]=[e[n]]),"object"==typeof e[n]?e[n].push(r):e[n]=r})),e}function kt(t){if(t.origin!==location.origin)return null;if(!t.pathname.startsWith(St))return null;let e=t.pathname.slice(St.length);if(""===e&&(e="/"),!gt.some((t=>t.test(e))))for(let n=0;n{Ct(t)}),20)}function It(t,e={noscroll:!1,replaceState:!1}){const n=kt(new URL(t,qt(document)));return n?(wt[e.replaceState?"replaceState":"pushState"]({id:_t},"",t),Lt(n,null,e.noscroll).then((()=>{}))):(location.href=t,new Promise((t=>{})))}const Bt="undefined"!=typeof __SAPPER__&&__SAPPER__;let Jt,Kt,Vt,Dt=!1,Mt=[],zt="{}";const Ht={page:function(t){const e=et(t);let n=!0;return{notify:function(){n=!0,e.update((t=>t))},set:function(t){n=!1,e.set(t)},subscribe:function(t){let r;return e.subscribe((e=>{(void 0===r||n&&e!==r)&&t(r=e)}))}}}({}),preloading:et(null),session:et(Bt&&Bt.session)};let Yt,Ft,Gt;function Wt(t,e){const{error:n}=t;return Object.assign({error:n},e)}function Xt(t){return vt(this,void 0,void 0,(function*(){Jt&&Ht.preloading.set(!0);const e=function(t){return Ut&&Ut.href===t.href?Ut.promise:Zt(t)}(t),n=Kt={},r=yield e,{redirect:o}=r;if(n===Kt)if(o)yield It(o.location,{replaceState:!0});else{const{props:e,branch:n}=r;yield Qt(n,e,Wt(e,t.page))}}))}function Qt(t,e,n){return vt(this,void 0,void 0,(function*(){Ht.page.set(n),Ht.preloading.set(!1),Jt?Jt.$set(e):(e.stores={page:{subscribe:Ht.page.subscribe},preloading:{subscribe:Ht.preloading.subscribe},session:Ht.session},e.level0={props:yield Vt},e.notify=Ht.page.notify,Jt=new mt({target:Gt,props:e,hydrate:!0})),Mt=t,zt=JSON.stringify(n.query),Dt=!0,Ft=!1}))}function Zt(t){return vt(this,void 0,void 0,(function*(){const{route:e,page:n}=t,r=n.path.split("/").filter(Boolean);let o=null;const s={error:null,status:200,segments:[r[0]]},c={fetch:(t,e)=>fetch(t,e),redirect:(t,e)=>{if(o&&(o.statusCode!==t||o.location!==e))throw new Error("Conflicting redirects");o={statusCode:t,location:e}},error:(t,e)=>{s.error="string"==typeof e?new Error(e):e,s.status=t}};if(!Vt){const t=()=>({});Vt=Bt.preloaded[0]||t.call(c,{host:n.host,path:n.path,query:n.query,params:{}},Yt)}let i,a=1;try{const o=JSON.stringify(n.query),l=e.pattern.exec(n.path);let u=!1;i=yield Promise.all(e.parts.map(((e,i)=>vt(this,void 0,void 0,(function*(){const f=r[i];if(function(t,e,n,r){if(r!==zt)return!0;const o=Mt[t];return!!o&&(e!==o.segment||!(!o.match||JSON.stringify(o.match.slice(1,t+2))===JSON.stringify(n.slice(1,t+2)))||void 0)}(i,f,l,o)&&(u=!0),s.segments[a]=r[i+1],!e)return{segment:f};const p=a++;if(!Ft&&!u&&Mt[i]&&Mt[i].part===e.i)return Mt[i];u=!1;const{default:d,preload:h}=yield $t[e.i].js();let m;return m=Dt||!Bt.preloaded[i+1]?h?yield h.call(c,{host:n.host,path:n.path,query:n.query,params:e.params?e.params(t.match):{}},Yt):{}:Bt.preloaded[i+1],s["level"+p]={component:d,props:m,segment:f,match:l,part:e.i}})))))}catch(t){s.error=t,s.status=500,i=[]}return{redirect:o,props:s,branch:i}}))}var te,ee,ne;Ht.session.subscribe((t=>vt(void 0,void 0,void 0,(function*(){if(Yt=t,!Dt)return;Ft=!0;const e=kt(new URL(location.href)),n=Kt={},{redirect:r,props:o,branch:s}=yield Zt(e);n===Kt&&(r?yield It(r.location,{replaceState:!0}):yield Qt(s,o,Wt(o,e.page)))})))),te={target:document.querySelector(".app")},ee=te.target,Gt=ee,ne=Bt.baseUrl,St=ne,Rt=Xt,"scrollRestoration"in wt&&(wt.scrollRestoration="manual"),addEventListener("beforeunload",(()=>{wt.scrollRestoration="auto"})),addEventListener("load",(()=>{wt.scrollRestoration="manual"})),addEventListener("click",At),addEventListener("popstate",jt),addEventListener("touchstart",Ct),addEventListener("mousemove",Tt),Bt.error?Promise.resolve().then((()=>function(){const{host:t,pathname:e,search:n}=location,{session:r,preloaded:o,status:s,error:c}=Bt;Vt||(Vt=o&&o[0]);const i={error:c,status:s,session:r,level0:{props:Vt},level1:{props:{status:s,error:c},component:lt},segments:o},a=Nt(n);Qt([],i,{host:t,path:e,query:a,params:{},error:c})}())):Promise.resolve().then((()=>{const{hash:t,href:e}=location;wt.replaceState({id:xt},"",e);const n=kt(new URL(location.href));if(n)return Lt(n,xt,!0,t)}));export{w as A,Z as S,m as a,y as b,v as c,f as d,d as e,_ as f,b as g,$ as h,Q as i,u as j,l as k,x as l,K as m,t as n,N as o,M as p,V as q,D as r,c as s,h as t,Y as u,F as v,G as w,W as x,g as y,p as z}; + +import __inject_styles from './inject_styles.5607aec6.js'; \ No newline at end of file diff --git a/client/client.7f720467.js b/client/client.7f720467.js deleted file mode 100644 index c7fe9e7..0000000 --- a/client/client.7f720467.js +++ /dev/null @@ -1,18 +0,0 @@ -function t(){}function e(t,e){for(const n in e)t[n]=e[n];return t}function n(t){return t()}function r(){return Object.create(null)}function o(t){t.forEach(n)}function s(t){return"function"==typeof t}function c(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function i(t,n,r,o){return t[1]&&o?e(r.ctx.slice(),t[1](o(n))):r.ctx}function a(t,e,n,r,o,s,c){const a=function(t,e,n,r){if(t[2]&&r){const o=t[2](r(n));if(void 0===e.dirty)return o;if("object"==typeof o){const t=[],n=Math.max(e.dirty.length,o.length);for(let r=0;r{B.delete(t),r&&(n&&t.d(1),r())})),t.o(e)}}function z(t,e){const n={},r={},o={$$scope:1};let s=t.length;for(;s--;){const c=t[s],i=e[s];if(i){for(const t in c)t in i||(r[t]=1);for(const t in i)o[t]||(n[t]=i[t],o[t]=1);t[s]=i}else for(const t in c)o[t]=1}for(const t in r)t in n||(n[t]=void 0);return n}function H(t){return"object"==typeof t&&null!==t?t:{}}function Y(t){t&&t.c()}function F(t,e){t&&t.l(e)}function G(t,e,r){const{fragment:c,on_mount:i,on_destroy:a,after_update:l}=t.$$;c&&c.m(e,r),O((()=>{const e=i.map(n).filter(s);a?a.push(...e):o(e),t.$$.on_mount=[]})),l.forEach(O)}function W(t,e){const n=t.$$;null!==n.fragment&&(o(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function X(t,e){-1===t.$$.dirty[0]&&(k.push(t),q||(q=!0,L.then(T)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const o=r.length?r[0]:n;return d.ctx&&i(d.ctx[t],d.ctx[t]=o)&&(!d.skip_bound&&d.bound[t]&&d.bound[t](o),h&&X(e,t)),n})):[],d.update(),h=!0,o(d.before_update),d.fragment=!!c&&c(d.ctx),n.target){if(n.hydrate){const t=y(n.target);d.fragment&&d.fragment.l(t),t.forEach(f)}else d.fragment&&d.fragment.c();n.intro&&D(e.$$.fragment),G(e,n.target,n.anchor),T()}S(u)}class Z{$destroy(){W(this,1),this.$destroy=t}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const tt=[];function et(e,n=t){let r;const o=[];function s(t){if(c(e,t)&&(e=t,r)){const t=!tt.length;for(let t=0;t{const t=o.indexOf(a);-1!==t&&o.splice(t,1),0===o.length&&(r(),r=null)}}}}const nt={};function rt(t){let e,n;const r=t[1].default,o=function(t,e,n,r){if(t){const o=i(t,e,n,r);return t[0](o)}}(r,t,t[0],null);return{c(){e=d("div"),o&&o.c(),this.h()},l(t){e=v(t,"DIV",{class:!0});var n=y(e);o&&o.l(n),n.forEach(f),this.h()},h(){$(e,"class","app-container svelte-lkkhqy")},m(t,r){u(t,e,r),o&&o.m(e,null),n=!0},p(t,[e]){o&&o.p&&1&e&&a(o,r,t,t[0],e,null,null)},i(t){n||(D(o,t),n=!0)},o(t){M(o,t),n=!1},d(t){t&&f(e),o&&o.d(t)}}}function ot(t,e,n){let{$$slots:r={},$$scope:o}=e;return t.$$set=t=>{"$$scope"in t&&n(0,o=t.$$scope)},[o,r]}class st extends Z{constructor(t){super(),Q(this,t,ot,rt,c,{})}}function ct(t){let e,n,r=t[1].stack+"";return{c(){e=d("pre"),n=h(r)},l(t){e=v(t,"PRE",{});var o=y(e);n=b(o,r),o.forEach(f)},m(t,r){u(t,e,r),l(e,n)},p(t,e){2&e&&r!==(r=t[1].stack+"")&&x(n,r)},d(t){t&&f(e)}}}function it(e){let n,r,o,s,c,i,a,p,E,S=e[1].message+"";document.title=n=e[0];let R=e[2]&&e[1].stack&&ct(e);return{c(){r=m(),o=d("h1"),s=h(e[0]),c=m(),i=d("p"),a=h(S),p=m(),R&&R.c(),E=g(),this.h()},l(t){w('[data-svelte="svelte-1o9r2ue"]',document.head).forEach(f),r=_(t),o=v(t,"H1",{class:!0});var n=y(o);s=b(n,e[0]),n.forEach(f),c=_(t),i=v(t,"P",{class:!0});var l=y(i);a=b(l,S),l.forEach(f),p=_(t),R&&R.l(t),E=g(),this.h()},h(){$(o,"class","svelte-jpshsi"),$(i,"class","svelte-jpshsi")},m(t,e){u(t,r,e),u(t,o,e),l(o,s),u(t,c,e),u(t,i,e),l(i,a),u(t,p,e),R&&R.m(t,e),u(t,E,e)},p(t,[e]){1&e&&n!==(n=t[0])&&(document.title=n),1&e&&x(s,t[0]),2&e&&S!==(S=t[1].message+"")&&x(a,S),t[2]&&t[1].stack?R?R.p(t,e):(R=ct(t),R.c(),R.m(E.parentNode,E)):R&&(R.d(1),R=null)},i:t,o:t,d(t){t&&f(r),t&&f(o),t&&f(c),t&&f(i),t&&f(p),R&&R.d(t),t&&f(E)}}}function at(t,e,n){let{status:r}=e,{error:o}=e;return t.$$set=t=>{"status"in t&&n(0,r=t.status),"error"in t&&n(1,o=t.error)},[r,o,false]}class lt extends Z{constructor(t){super(),Q(this,t,at,it,c,{status:0,error:1})}}function ut(t){let n,r,o;const s=[t[4].props];var c=t[4].component;function i(t){let n={};for(let t=0;t{W(t,1)})),V()}c?(n=new c(i()),Y(n.$$.fragment),D(n.$$.fragment,1),G(n,r.parentNode,r)):n=null}else c&&n.$set(o)},i(t){o||(n&&D(n.$$.fragment,t),o=!0)},o(t){n&&M(n.$$.fragment,t),o=!1},d(t){t&&f(r),n&&W(n,t)}}}function ft(t){let e,n;return e=new lt({props:{error:t[0],status:t[1]}}),{c(){Y(e.$$.fragment)},l(t){F(e.$$.fragment,t)},m(t,r){G(e,t,r),n=!0},p(t,n){const r={};1&n&&(r.error=t[0]),2&n&&(r.status=t[1]),e.$set(r)},i(t){n||(D(e.$$.fragment,t),n=!0)},o(t){M(e.$$.fragment,t),n=!1},d(t){W(e,t)}}}function pt(t){let e,n,r,o;const s=[ft,ut],c=[];function i(t,e){return t[0]?0:1}return e=i(t),n=c[e]=s[e](t),{c(){n.c(),r=g()},l(t){n.l(t),r=g()},m(t,n){c[e].m(t,n),u(t,r,n),o=!0},p(t,o){let a=e;e=i(t),e===a?c[e].p(t,o):(K(),M(c[a],1,1,(()=>{c[a]=null})),V(),n=c[e],n||(n=c[e]=s[e](t),n.c()),D(n,1),n.m(r.parentNode,r))},i(t){o||(D(n),o=!0)},o(t){M(n),o=!1},d(t){c[e].d(t),t&&f(r)}}}function dt(t){let n,r;const o=[{segment:t[2][0]},t[3].props];let s={$$slots:{default:[pt]},$$scope:{ctx:t}};for(let t=0;t{"stores"in t&&n(5,r=t.stores),"error"in t&&n(0,o=t.error),"status"in t&&n(1,s=t.status),"segments"in t&&n(2,c=t.segments),"level0"in t&&n(3,i=t.level0),"level1"in t&&n(4,a=t.level1),"notify"in t&&n(6,l=t.notify)},[o,s,c,i,a,r,l]}class mt extends Z{constructor(t){super(),Q(this,t,ht,dt,c,{stores:5,error:0,status:1,segments:2,level0:3,level1:4,notify:6})}}const gt=[],$t=[{js:()=>Promise.all([import("./index.4a84583d.js"),__inject_styles(["client-ea61129f.css","index-fcecdc43.css"])]).then((function(t){return t[0]}))}],yt=[{pattern:/^\/$/,parts:[{i:0}]}]; -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */ -function vt(t,e,n,r){return new(n||(n=Promise))((function(o,s){function c(t){try{a(r.next(t))}catch(t){s(t)}}function i(t){try{a(r.throw(t))}catch(t){s(t)}}function a(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(c,i)}a((r=r.apply(t,e||[])).next())}))}function bt(t){for(;t&&"A"!==t.nodeName.toUpperCase();)t=t.parentNode;return t}let _t,xt=1;const wt="undefined"!=typeof history?history:{pushState:(t,e,n)=>{},replaceState:(t,e,n)=>{},scrollRestoration:""},Et={};let St,Rt;function Nt(t){const e=Object.create(null);return t.length>0&&t.slice(1).split("&").forEach((t=>{const[,n,r=""]=/([^=]*)(?:=(.*))?/.exec(decodeURIComponent(t.replace(/\+/g," ")));"string"==typeof e[n]&&(e[n]=[e[n]]),"object"==typeof e[n]?e[n].push(r):e[n]=r})),e}function kt(t){if(t.origin!==location.origin)return null;if(!t.pathname.startsWith(St))return null;let e=t.pathname.slice(St.length);if(""===e&&(e="/"),!gt.some((t=>t.test(e))))for(let n=0;n{Ct(t)}),20)}function It(t,e={noscroll:!1,replaceState:!1}){const n=kt(new URL(t,qt(document)));return n?(wt[e.replaceState?"replaceState":"pushState"]({id:_t},"",t),Lt(n,null,e.noscroll).then((()=>{}))):(location.href=t,new Promise((t=>{})))}const Bt="undefined"!=typeof __SAPPER__&&__SAPPER__;let Jt,Kt,Vt,Dt=!1,Mt=[],zt="{}";const Ht={page:function(t){const e=et(t);let n=!0;return{notify:function(){n=!0,e.update((t=>t))},set:function(t){n=!1,e.set(t)},subscribe:function(t){let r;return e.subscribe((e=>{(void 0===r||n&&e!==r)&&t(r=e)}))}}}({}),preloading:et(null),session:et(Bt&&Bt.session)};let Yt,Ft,Gt;function Wt(t,e){const{error:n}=t;return Object.assign({error:n},e)}function Xt(t){return vt(this,void 0,void 0,(function*(){Jt&&Ht.preloading.set(!0);const e=function(t){return Ut&&Ut.href===t.href?Ut.promise:Zt(t)}(t),n=Kt={},r=yield e,{redirect:o}=r;if(n===Kt)if(o)yield It(o.location,{replaceState:!0});else{const{props:e,branch:n}=r;yield Qt(n,e,Wt(e,t.page))}}))}function Qt(t,e,n){return vt(this,void 0,void 0,(function*(){Ht.page.set(n),Ht.preloading.set(!1),Jt?Jt.$set(e):(e.stores={page:{subscribe:Ht.page.subscribe},preloading:{subscribe:Ht.preloading.subscribe},session:Ht.session},e.level0={props:yield Vt},e.notify=Ht.page.notify,Jt=new mt({target:Gt,props:e,hydrate:!0})),Mt=t,zt=JSON.stringify(n.query),Dt=!0,Ft=!1}))}function Zt(t){return vt(this,void 0,void 0,(function*(){const{route:e,page:n}=t,r=n.path.split("/").filter(Boolean);let o=null;const s={error:null,status:200,segments:[r[0]]},c={fetch:(t,e)=>fetch(t,e),redirect:(t,e)=>{if(o&&(o.statusCode!==t||o.location!==e))throw new Error("Conflicting redirects");o={statusCode:t,location:e}},error:(t,e)=>{s.error="string"==typeof e?new Error(e):e,s.status=t}};if(!Vt){const t=()=>({});Vt=Bt.preloaded[0]||t.call(c,{host:n.host,path:n.path,query:n.query,params:{}},Yt)}let i,a=1;try{const o=JSON.stringify(n.query),l=e.pattern.exec(n.path);let u=!1;i=yield Promise.all(e.parts.map(((e,i)=>vt(this,void 0,void 0,(function*(){const f=r[i];if(function(t,e,n,r){if(r!==zt)return!0;const o=Mt[t];return!!o&&(e!==o.segment||!(!o.match||JSON.stringify(o.match.slice(1,t+2))===JSON.stringify(n.slice(1,t+2)))||void 0)}(i,f,l,o)&&(u=!0),s.segments[a]=r[i+1],!e)return{segment:f};const p=a++;if(!Ft&&!u&&Mt[i]&&Mt[i].part===e.i)return Mt[i];u=!1;const{default:d,preload:h}=yield $t[e.i].js();let m;return m=Dt||!Bt.preloaded[i+1]?h?yield h.call(c,{host:n.host,path:n.path,query:n.query,params:e.params?e.params(t.match):{}},Yt):{}:Bt.preloaded[i+1],s["level"+p]={component:d,props:m,segment:f,match:l,part:e.i}})))))}catch(t){s.error=t,s.status=500,i=[]}return{redirect:o,props:s,branch:i}}))}var te,ee,ne;Ht.session.subscribe((t=>vt(void 0,void 0,void 0,(function*(){if(Yt=t,!Dt)return;Ft=!0;const e=kt(new URL(location.href)),n=Kt={},{redirect:r,props:o,branch:s}=yield Zt(e);n===Kt&&(r?yield It(r.location,{replaceState:!0}):yield Qt(s,o,Wt(o,e.page)))})))),te={target:document.querySelector(".app")},ee=te.target,Gt=ee,ne=Bt.baseUrl,St=ne,Rt=Xt,"scrollRestoration"in wt&&(wt.scrollRestoration="manual"),addEventListener("beforeunload",(()=>{wt.scrollRestoration="auto"})),addEventListener("load",(()=>{wt.scrollRestoration="manual"})),addEventListener("click",At),addEventListener("popstate",jt),addEventListener("touchstart",Ct),addEventListener("mousemove",Tt),Bt.error?Promise.resolve().then((()=>function(){const{host:t,pathname:e,search:n}=location,{session:r,preloaded:o,status:s,error:c}=Bt;Vt||(Vt=o&&o[0]);const i={error:c,status:s,session:r,level0:{props:Vt},level1:{props:{status:s,error:c},component:lt},segments:o},a=Nt(n);Qt([],i,{host:t,path:e,query:a,params:{},error:c})}())):Promise.resolve().then((()=>{const{hash:t,href:e}=location;wt.replaceState({id:xt},"",e);const n=kt(new URL(location.href));if(n)return Lt(n,xt,!0,t)}));export{w as A,Z as S,m as a,y as b,v as c,f as d,d as e,_ as f,b as g,$ as h,Q as i,u as j,l as k,x as l,K as m,t as n,N as o,M as p,V as q,D as r,c as s,h as t,Y as u,F as v,G as w,W as x,g as y,p as z}; - -import __inject_styles from './inject_styles.5607aec6.js'; \ No newline at end of file diff --git a/client/index-89c000ac.css b/client/index-89c000ac.css new file mode 100644 index 0000000..f627766 --- /dev/null +++ b/client/index-89c000ac.css @@ -0,0 +1,7 @@ +.weatherCurrent-wrapper.svelte-1fdstvw.svelte-1fdstvw{height:100%;font-family:Roboto, sans-serif;font-size:1rem;letter-spacing:0.05em;--bg-opacity:1;background-color:#1a202c;background-color:rgba(26, 32, 44, var(--bg-opacity));background:linear-gradient( + rgba(0, 0, 0, 0.5), + rgba(0, 0, 0, 0.5) + ), url(/Aurora-data/aurora.jpg);background-size:cover;background-repeat:no-repeat;background-position:center}.weatherCurrent-data.svelte-1fdstvw.svelte-1fdstvw{width:100%;padding:1.5rem;flex-grow:1;display:flex;flex-direction:column;justify-content:space-between;height:100%;--text-opacity:1;color:#fff;color:rgba(255, 255, 255, var(--text-opacity));text-align:center;letter-spacing:0.05em;text-shadow:1px 1px 2px rgba(0,0,0,.75)}.weatherCurrent-data-location.svelte-1fdstvw.svelte-1fdstvw{display:flex;justify-content:center;align-content:center}.weatherCurrent-data-location.svelte-1fdstvw .symbol.svelte-1fdstvw{width:1.5rem;height:1.5rem;margin-right:1rem}.weatherCurrent-data-location.svelte-1fdstvw h1.svelte-1fdstvw{text-transform:uppercase;font-family:Roboto Condensed, sans-serif;font-size:1.125rem;letter-spacing:0.1em;margin-bottom:0}.weatherCurrent-data-kp.svelte-1fdstvw h2.svelte-1fdstvw{font-weight:700;font-size:3rem;letter-spacing:0.05em;line-height:1.25}.current-details.svelte-1fdstvw.svelte-1fdstvw{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));grid-gap:1rem;gap:1rem;text-shadow:1px 1px 2px rgba(0,0,0,.75)}.current-details.svelte-1fdstvw p.svelte-1fdstvw{line-height:1.375} +.prediction-details.svelte-u548p6.svelte-u548p6{display:flex;justify-content:space-between;border-bottom-width:1px;padding-top:0.5rem;padding-bottom:0.5rem;font-size:0.75rem;letter-spacing:0.05em}.prediction-details.svelte-u548p6.svelte-u548p6:last-of-type{border-width:0;padding-bottom:0}.prediction-details.svelte-u548p6 h3.svelte-u548p6{font-size:0.875rem;font-weight:600;text-transform:uppercase;letter-spacing:0.05em;margin-right:0.5rem}.prediction-details.svelte-u548p6 .data.svelte-u548p6{display:flex;flex-direction:row}.prediction-details.svelte-u548p6 .data h2.svelte-u548p6{margin-right:1rem;font-size:1.5rem} +.predicted-weather.svelte-mcdoaa.svelte-mcdoaa{--bg-opacity:1;background-color:#f7fafc;background-color:rgba(247, 250, 252, var(--bg-opacity));padding:1.5rem;--text-opacity:1;color:#1a202c;color:rgba(26, 32, 44, var(--text-opacity));height:100%;overflow:hidden}@media(min-width: 640px), (min-height: 720px){.predicted-weather.svelte-mcdoaa.svelte-mcdoaa{padding:2rem;padding-top:1.5rem}}@media(min-width: 640px){.predicted-weather.svelte-mcdoaa.svelte-mcdoaa{border-bottom-right-radius:1rem;border-bottom-left-radius:1rem}}.predicted-weather.svelte-mcdoaa h2.svelte-mcdoaa{text-transform:uppercase;font-size:0.875rem;letter-spacing:0.1em;font-weight:700;margin-top:0.25rem;margin-bottom:0.5rem}.prediction-table.svelte-mcdoaa.svelte-mcdoaa{height:100%;overflow-y:scroll;padding-bottom:1rem}.prediction-table.svelte-mcdoaa.svelte-mcdoaa::-webkit-scrollbar{display:none} +.homescreen.svelte-yqnwm7{display:flex;flex-direction:column;justify-content:space-between;height:100%;--bg-opacity:1;background-color:#1a202c;background-color:rgba(26, 32, 44, var(--bg-opacity));--bg-opacity:0.25} diff --git a/client/index-fcecdc43.css b/client/index-fcecdc43.css deleted file mode 100644 index 7cfed60..0000000 --- a/client/index-fcecdc43.css +++ /dev/null @@ -1,7 +0,0 @@ -.weatherCurrent-wrapper.svelte-1y77zx4.svelte-1y77zx4{height:100%;font-family:Roboto, sans-serif;font-size:1rem;letter-spacing:0.05em;--bg-opacity:1;background-color:#1a202c;background-color:rgba(26, 32, 44, var(--bg-opacity));background:linear-gradient( - rgba(0, 0, 0, 0.5), - rgba(0, 0, 0, 0.5) - ), url(/aurora.jpg);background-size:cover;background-repeat:no-repeat;background-position:center}.weatherCurrent-data.svelte-1y77zx4.svelte-1y77zx4{width:100%;padding:1.5rem;flex-grow:1;display:flex;flex-direction:column;justify-content:space-between;height:100%;--text-opacity:1;color:#fff;color:rgba(255, 255, 255, var(--text-opacity));text-align:center;letter-spacing:0.05em;text-shadow:1px 1px 2px rgba(0,0,0,.75)}.weatherCurrent-data-location.svelte-1y77zx4.svelte-1y77zx4{display:flex;justify-content:center;align-content:center}.weatherCurrent-data-location.svelte-1y77zx4 .symbol.svelte-1y77zx4{width:1.5rem;height:1.5rem;margin-right:1rem}.weatherCurrent-data-location.svelte-1y77zx4 h1.svelte-1y77zx4{text-transform:uppercase;font-family:Roboto Condensed, sans-serif;font-size:1.125rem;letter-spacing:0.1em;margin-bottom:0}.weatherCurrent-data-kp.svelte-1y77zx4 h2.svelte-1y77zx4{font-weight:700;font-size:3rem;letter-spacing:0.05em;line-height:1.25}.current-details.svelte-1y77zx4.svelte-1y77zx4{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));grid-gap:1rem;gap:1rem;text-shadow:1px 1px 2px rgba(0,0,0,.75)}.current-details.svelte-1y77zx4 p.svelte-1y77zx4{line-height:1.375} -.prediction-details.svelte-u548p6.svelte-u548p6{display:flex;justify-content:space-between;border-bottom-width:1px;padding-top:0.5rem;padding-bottom:0.5rem;font-size:0.75rem;letter-spacing:0.05em}.prediction-details.svelte-u548p6.svelte-u548p6:last-of-type{border-width:0;padding-bottom:0}.prediction-details.svelte-u548p6 h3.svelte-u548p6{font-size:0.875rem;font-weight:600;text-transform:uppercase;letter-spacing:0.05em;margin-right:0.5rem}.prediction-details.svelte-u548p6 .data.svelte-u548p6{display:flex;flex-direction:row}.prediction-details.svelte-u548p6 .data h2.svelte-u548p6{margin-right:1rem;font-size:1.5rem} -.predicted-weather.svelte-mcdoaa.svelte-mcdoaa{--bg-opacity:1;background-color:#f7fafc;background-color:rgba(247, 250, 252, var(--bg-opacity));padding:1.5rem;--text-opacity:1;color:#1a202c;color:rgba(26, 32, 44, var(--text-opacity));height:100%;overflow:hidden}@media(min-width: 640px), (min-height: 720px){.predicted-weather.svelte-mcdoaa.svelte-mcdoaa{padding:2rem;padding-top:1.5rem}}@media(min-width: 640px){.predicted-weather.svelte-mcdoaa.svelte-mcdoaa{border-bottom-right-radius:1rem;border-bottom-left-radius:1rem}}.predicted-weather.svelte-mcdoaa h2.svelte-mcdoaa{text-transform:uppercase;font-size:0.875rem;letter-spacing:0.1em;font-weight:700;margin-top:0.25rem;margin-bottom:0.5rem}.prediction-table.svelte-mcdoaa.svelte-mcdoaa{height:100%;overflow-y:scroll;padding-bottom:1rem}.prediction-table.svelte-mcdoaa.svelte-mcdoaa::-webkit-scrollbar{display:none} -.homescreen.svelte-yqnwm7{display:flex;flex-direction:column;justify-content:space-between;height:100%;--bg-opacity:1;background-color:#1a202c;background-color:rgba(26, 32, 44, var(--bg-opacity));--bg-opacity:0.25} diff --git a/client/index.3e5f04b7.js b/client/index.3e5f04b7.js new file mode 100644 index 0000000..c30cf05 --- /dev/null +++ b/client/index.3e5f04b7.js @@ -0,0 +1 @@ +import{S as t,i as e,s as a,e as s,a as r,t as n,c,b as o,d as l,f as i,g as f,h,j as u,k as d,l as v,n as p,o as m,m as g,p as w,q as E,r as y,u as $,v as b,w as P,x as D,y as I,z as V,A as x}from"./client.0916be27.js";function A(t){let e,a,m,g,w,E,y,$,b,P,D,I,V,x,A,N,j,M,T,_,k,S,H,J,K,B,O,q,z,F,Z,G,L,Q,R,U,W,X,Y,tt,et,at,st,rt,nt,ct,ot,lt;return{c(){e=s("div"),a=s("div"),m=s("div"),g=s("i"),w=r(),E=s("h1"),y=n(C),$=r(),b=s("div"),P=s("p"),D=n(t[0]),I=r(),V=s("div"),x=s("h2"),A=n("KP "),N=n(t[1]),j=r(),M=s("p"),T=s("span"),_=n("↑ KP "),k=n(t[3]),S=r(),H=s("span"),J=n("↓ KP "),K=n(t[2]),B=r(),O=s("div"),q=s("div"),z=s("p"),F=n("BZ"),Z=r(),G=s("p"),L=n(t[4]),Q=r(),R=s("div"),U=s("p"),W=n("Probability"),X=r(),Y=s("p"),tt=n("10%"),et=r(),at=s("div"),st=s("p"),rt=n("Clouds"),nt=r(),ct=s("p"),ot=n(t[5]),lt=n("%"),this.h()},l(s){e=c(s,"DIV",{class:!0});var r=o(e);a=c(r,"DIV",{class:!0});var n=o(a);m=c(n,"DIV",{class:!0});var h=o(m);g=c(h,"I",{class:!0}),o(g).forEach(l),w=i(h),E=c(h,"H1",{class:!0});var u=o(E);y=f(u,C),u.forEach(l),h.forEach(l),$=i(n),b=c(n,"DIV",{class:!0});var d=o(b);P=c(d,"P",{});var v=o(P);D=f(v,t[0]),v.forEach(l),d.forEach(l),I=i(n),V=c(n,"DIV",{class:!0});var p=o(V);x=c(p,"H2",{class:!0});var it=o(x);A=f(it,"KP "),N=f(it,t[1]),it.forEach(l),j=i(p),M=c(p,"P",{});var ft=o(M);T=c(ft,"SPAN",{className:!0});var ht=o(T);_=f(ht,"↑ KP "),k=f(ht,t[3]),ht.forEach(l),S=i(ft),H=c(ft,"SPAN",{className:!0});var ut=o(H);J=f(ut,"↓ KP "),K=f(ut,t[2]),ut.forEach(l),ft.forEach(l),p.forEach(l),B=i(n),O=c(n,"DIV",{class:!0});var dt=o(O);q=c(dt,"DIV",{});var vt=o(q);z=c(vt,"P",{class:!0});var pt=o(z);F=f(pt,"BZ"),pt.forEach(l),Z=i(vt),G=c(vt,"P",{class:!0});var mt=o(G);L=f(mt,t[4]),mt.forEach(l),vt.forEach(l),Q=i(dt),R=c(dt,"DIV",{});var gt=o(R);U=c(gt,"P",{class:!0});var wt=o(U);W=f(wt,"Probability"),wt.forEach(l),X=i(gt),Y=c(gt,"P",{class:!0});var Et=o(Y);tt=f(Et,"10%"),Et.forEach(l),gt.forEach(l),et=i(dt),at=c(dt,"DIV",{});var yt=o(at);st=c(yt,"P",{class:!0});var $t=o(st);rt=f($t,"Clouds"),$t.forEach(l),nt=i(yt),ct=c(yt,"P",{class:!0});var bt=o(ct);ot=f(bt,t[5]),lt=f(bt,"%"),bt.forEach(l),yt.forEach(l),dt.forEach(l),n.forEach(l),r.forEach(l),this.h()},h(){h(g,"class","symbol fas fa-map-marker-alt svelte-1fdstvw"),h(E,"class","svelte-1fdstvw"),h(m,"class","weatherCurrent-data-location svelte-1fdstvw"),h(b,"class","weatherCurrent-data-date"),h(x,"class","svelte-1fdstvw"),h(T,"classname","pr-2"),h(H,"classname","pl-2"),h(V,"class","weatherCurrent-data-kp svelte-1fdstvw"),h(z,"class","svelte-1fdstvw"),h(G,"class","svelte-1fdstvw"),h(U,"class","svelte-1fdstvw"),h(Y,"class","svelte-1fdstvw"),h(st,"class","svelte-1fdstvw"),h(ct,"class","svelte-1fdstvw"),h(O,"class","current-details svelte-1fdstvw"),h(a,"class","weatherCurrent-data svelte-1fdstvw"),h(e,"class","weatherCurrent-wrapper svelte-1fdstvw")},m(t,s){u(t,e,s),d(e,a),d(a,m),d(m,g),d(m,w),d(m,E),d(E,y),d(a,$),d(a,b),d(b,P),d(P,D),d(a,I),d(a,V),d(V,x),d(x,A),d(x,N),d(V,j),d(V,M),d(M,T),d(T,_),d(T,k),d(M,S),d(M,H),d(H,J),d(H,K),d(a,B),d(a,O),d(O,q),d(q,z),d(z,F),d(q,Z),d(q,G),d(G,L),d(O,Q),d(O,R),d(R,U),d(U,W),d(R,X),d(R,Y),d(Y,tt),d(O,et),d(O,at),d(at,st),d(st,rt),d(at,nt),d(at,ct),d(ct,ot),d(ct,lt)},p(t,[e]){1&e&&v(D,t[0]),2&e&&v(N,t[1]),8&e&&v(k,t[3]),4&e&&v(K,t[2]),16&e&&v(L,t[4]),32&e&&v(ot,t[5])},i:p,o:p,d(t){t&&l(e)}}}let C="The earth";function N(t,e,a){var s=this&&this.__awaiter||function(t,e,a,s){return new(a||(a=Promise))((function(r,n){function c(t){try{l(s.next(t))}catch(t){n(t)}}function o(t){try{l(s.throw(t))}catch(t){n(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof a?e:new a((function(t){t(e)}))).then(c,o)}l((s=s.apply(t,e||[])).next())}))};const r=["January","February","March","April","May","June","July","August","September","October","November","December"];Array();let n,c,o="-",l="-",i="-",f="-",h="-",u="-";function d(t){n=t.coords.longitude,c=t.coords.latitude,function(t,e){s(this,void 0,void 0,(function*(){let s=yield fetch(`https://api.met.no/weatherapi/locationforecast/2.0/compact?lat=${e}&lon=${t}`).then((t=>t.json()));a(5,u=s.properties.timeseries[0].data.instant.details.cloud_area_fraction),a(4,h=(yield fetch("https://services.swpc.noaa.gov/products/summary/solar-wind-mag-field.json").then((t=>t.json()))).Bz);let n=yield fetch("https://services.swpc.noaa.gov/products/noaa-planetary-k-index-forecast.json").then((t=>t.json()));n.shift();let c=new Date,d=new Date(0,0,0),v=1e3,p=0;n.forEach(((t,e)=>{t[1]>p&&(p=t[1]),t[1]{"prediction"in t&&a(5,s=t.prediction)},[r,c,o,l,i,s]}class _ extends t{constructor(t){super(),e(this,t,T,M,a,{prediction:5})}}function k(t,e,a){const s=t.slice();return s[18]=e[a],s[20]=a,s}function S(t){let e;return{c(){e=n("Cannot connect to NOAA")},l(t){e=f(t,"Cannot connect to NOAA")},m(t,a){u(t,e,a)},p:p,i:p,o:p,d(t){t&&l(e)}}}function H(t){let e,a,s=t[0],r=[];for(let e=0;ew(r[t],1,1,(()=>{r[t]=null}));return{c(){for(let t=0;t{V[a]=null})),E(),P=V[b],P||(P=V[b]=I[b](t),P.c()),y(P,1),P.m($,null))},i(t){D||(y(P),D=!0)},o(t){w(P),D=!1},d(t){t&&l(e),V[b].d()}}}function B(t,e,a){var s=this&&this.__awaiter||function(t,e,a,s){return new(a||(a=Promise))((function(r,n){function c(t){try{l(s.next(t))}catch(t){n(t)}}function o(t){try{l(s.throw(t))}catch(t){n(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof a?e:new a((function(t){t(e)}))).then(c,o)}l((s=s.apply(t,e||[])).next())}))};let r,n,c;Array();function o(t){n=t.coords.longitude,c=t.coords.latitude,function(t,e){s(this,void 0,void 0,(function*(){let s=yield fetch(`https://api.met.no/weatherapi/locationforecast/2.0/compact?lat=${e}&lon=${t}`).then((t=>t.json())),n=yield fetch("https://services.swpc.noaa.gov/products/noaa-planetary-k-index-forecast.json").then((t=>t.json()));n.shift();let c=[];n.forEach(((t,e)=>{if("observed"!=t[2]){let e,a,r=new Date(t[0]),n=new Date(0,0,0);s.properties.timeseries.forEach(((t,s)=>{let c=new Date(t.time);Math.abs(c.getTime()-r.getTime())t.json()));a(5,u=s.properties.timeseries[0].data.instant.details.cloud_area_fraction),a(4,f=(yield fetch("https://services.swpc.noaa.gov/products/summary/solar-wind-mag-field.json").then((t=>t.json()))).Bz);let n=yield fetch("https://services.swpc.noaa.gov/products/noaa-planetary-k-index-forecast.json").then((t=>t.json()));n.shift();let c=new Date,d=new Date(0,0,0),v=1e3,p=0;n.forEach(((t,e)=>{t[1]>p&&(p=t[1]),t[1]{"prediction"in t&&a(5,s=t.prediction)},[r,c,o,l,i,s]}class T extends t{constructor(t){super(),e(this,t,M,j,a,{prediction:5})}}function _(t,e,a){const s=t.slice();return s[18]=e[a],s[20]=a,s}function k(t){let e;return{c(){e=n("Cannot connect to NOAA")},l(t){e=h(t,"Cannot connect to NOAA")},m(t,a){u(t,e,a)},p:p,i:p,o:p,d(t){t&&l(e)}}}function S(t){let e,a,s=t[0],r=[];for(let e=0;ey(r[t],1,1,(()=>{r[t]=null}));return{c(){for(let t=0;t{I[a]=null})),E(),P=I[x],P||(P=I[x]=D[x](t),P.c()),w(P,1),P.m($,null))},i(t){b||(w(P),b=!0)},o(t){y(P),b=!1},d(t){t&&l(e),I[x].d()}}}function K(t,e,a){var s=this&&this.__awaiter||function(t,e,a,s){return new(a||(a=Promise))((function(r,n){function c(t){try{l(s.next(t))}catch(t){n(t)}}function o(t){try{l(s.throw(t))}catch(t){n(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof a?e:new a((function(t){t(e)}))).then(c,o)}l((s=s.apply(t,e||[])).next())}))};let r,n,c;Array();function o(t){n=t.coords.longitude,c=t.coords.latitude,function(t,e){s(this,void 0,void 0,(function*(){let s=yield fetch(`https://api.met.no/weatherapi/locationforecast/2.0/compact?lat=${e}&lon=${t}`).then((t=>t.json())),n=yield fetch("https://services.swpc.noaa.gov/products/noaa-planetary-k-index-forecast.json").then((t=>t.json()));n.shift();let c=[];n.forEach(((t,e)=>{if("observed"!=t[2]){let e,a,r=new Date(t[0]),n=new Date(0,0,0);s.properties.timeseries.forEach(((t,s)=>{let c=new Date(t.time);Math.abs(c.getTime()-r.getTime())=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),f=o.call(a,"finallyLoc");if(c&&f){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),j(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:R(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),m}},e}(e.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}}(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports);function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:document.body;return Array.from(e.querySelectorAll(t))}function G(t){r=t}function F(){if(!r)throw new Error("Function called outside component initialization");return r}function B(t){F().$$.on_mount.push(t)}var J=[],K=[],M=[],V=[],Y=Promise.resolve(),z=!1;function H(t){M.push(t)}var W=!1,X=new Set;function Q(){if(!W){W=!0;do{for(var t=0;t6&&void 0!==arguments[6]?arguments[6]:[-1],c=r;G(t);var f=e.props||{},s=t.$$={fragment:null,ctx:null,props:a,update:m,not_equal:i,bound:b(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(c?c.$$.context:[]),callbacks:b(),dirty:u,skip_bound:!1},l=!1;if(s.ctx=n?n(t,f,(function(e,n){var r=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:n;return s.ctx&&i(s.ctx[e],s.ctx[e]=r)&&(!s.skip_bound&&s.bound[e]&&s.bound[e](r),l&&pt(t,e)),n})):[],s.update(),l=!0,w(s.before_update),s.fragment=!!o&&o(s.ctx),e.target){if(e.hydrate){var p=T(e.target);s.fragment&&s.fragment.l(p),p.forEach(L)}else s.fragment&&s.fragment.c();e.intro&&ot(t.$$.fragment),st(t,e.target,e.anchor),Q()}G(c)}var vt=function(){function t(){v(this,t)}var e,n,r;return e=t,(n=[{key:"$destroy",value:function(){lt(this,1),this.$destroy=m}},{key:"$on",value:function(t,e){var n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),function(){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}}},{key:"$set",value:function(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}])&&d(e.prototype,n),r&&d(e,r),t}(),dt=[];function mt(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m,r=[];function o(n){if($(t,n)&&(t=n,e)){for(var o=!dt.length,i=0;i1&&void 0!==arguments[1]?arguments[1]:m,u=[i,a];return r.push(u),1===r.length&&(e=n(o)||m),i(t),function(){var t=r.indexOf(u);-1!==t&&r.splice(t,1),0===r.length&&(e(),e=null)}}return{set:o,update:i,subscribe:a}}var yt={};function gt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=c(t);if(e){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function bt(t){var e,n,r=t[1].default,o=function(t,e,n,r){if(t){var o=_(t,e,n,r);return t[0](o)}}(r,t,t[0],null);return{c:function(){e=O("div"),o&&o.c(),this.h()},l:function(t){var n=T(e=q(t,"DIV",{class:!0}));o&&o.l(n),n.forEach(L),this.h()},h:function(){N(e,"class","app-container svelte-lkkhqy")},m:function(t,r){k(t,e,r),o&&o.m(e,null),n=!0},p:function(t,e){var n=u(e,1)[0];o&&o.p&&1&n&&E(o,r,t,t[0],n,null,null)},i:function(t){n||(ot(o,t),n=!0)},o:function(t){it(o,t),n=!1},d:function(t){t&&L(e),o&&o.d(t)}}}function wt(t,e,n){var r=e.$$slots,o=void 0===r?{}:r,i=e.$$scope;return t.$$set=function(t){"$$scope"in t&&n(0,i=t.$$scope)},[i,o]}var xt=function(t){s(n,vt);var e=gt(n);function n(t){var r;return v(this,n),ht(l(r=e.call(this)),t,wt,bt,$,{}),r}return n}();function $t(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=c(t);if(e){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function _t(t){var e,n,r=t[1].stack+"";return{c:function(){e=O("pre"),n=R(r)},l:function(t){var o=T(e=q(t,"PRE",{}));n=I(o,r),o.forEach(L)},m:function(t,r){k(t,e,r),S(e,n)},p:function(t,e){2&e&&r!==(r=t[1].stack+"")&&U(n,r)},d:function(t){t&&L(e)}}}function Et(t){var e,n,r,o,i,a,c,f,s,l=t[1].message+"";document.title=e=t[0];var p=t[2]&&t[1].stack&&_t(t);return{c:function(){n=P(),r=O("h1"),o=R(t[0]),i=P(),a=O("p"),c=R(l),f=P(),p&&p.c(),s=A(),this.h()},l:function(e){D('[data-svelte="svelte-1o9r2ue"]',document.head).forEach(L),n=C(e);var u=T(r=q(e,"H1",{class:!0}));o=I(u,t[0]),u.forEach(L),i=C(e);var h=T(a=q(e,"P",{class:!0}));c=I(h,l),h.forEach(L),f=C(e),p&&p.l(e),s=A(),this.h()},h:function(){N(r,"class","svelte-jpshsi"),N(a,"class","svelte-jpshsi")},m:function(t,e){k(t,n,e),k(t,r,e),S(r,o),k(t,i,e),k(t,a,e),S(a,c),k(t,f,e),p&&p.m(t,e),k(t,s,e)},p:function(t,n){var r=u(n,1)[0];1&r&&e!==(e=t[0])&&(document.title=e),1&r&&U(o,t[0]),2&r&&l!==(l=t[1].message+"")&&U(c,l),t[2]&&t[1].stack?p?p.p(t,r):((p=_t(t)).c(),p.m(s.parentNode,s)):p&&(p.d(1),p=null)},i:m,o:m,d:function(t){t&&L(n),t&&L(r),t&&L(i),t&&L(a),t&&L(f),p&&p.d(t),t&&L(s)}}}function St(t,e,n){var r=e.status,o=e.error;return t.$$set=function(t){"status"in t&&n(0,r=t.status),"error"in t&&n(1,o=t.error)},[r,o,false]}var kt=function(t){s(n,vt);var e=$t(n);function n(t){var r;return v(this,n),ht(l(r=e.call(this)),t,St,Et,$,{status:0,error:1}),r}return n}();function Lt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=c(t);if(e){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function jt(t){var e,n,r,o=[t[4].props],i=t[4].component;function a(t){for(var e={},n=0;n0&&e.slice(1).split("&").forEach((function(e){var r=u(/([^=]*)(?:=(.*))?/.exec(decodeURIComponent(e.replace(/\+/g," "))),3),o=r[1],i=r[2],a=void 0===i?"":i;"string"==typeof n[o]&&(n[o]=[n[o]]),"object"===t(n[o])?n[o].push(a):n[o]=a})),n}function Vt(t){if(t.origin!==location.origin)return null;if(!t.pathname.startsWith(Ft))return null;var e=t.pathname.slice(Ft.length);if(""===e&&(e="/"),!Tt.some((function(t){return t.test(e)})))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{noscroll:!1,replaceState:!1},n=Vt(new URL(t,Xt(document)));return n?(Jt[e.replaceState?"replaceState":"pushState"]({id:Dt},"",t),Wt(n,null,e.noscroll).then((function(){}))):(location.href=t,new Promise((function(t){})))}var oe,ie,ae,ue,ce,fe,se,le,pe,he="undefined"!=typeof __SAPPER__&&__SAPPER__,ve=!1,de=[],me="{}",ye={page:function(t){var e=mt(t),n=!0;return{notify:function(){n=!0,e.update((function(t){return t}))},set:function(t){n=!1,e.set(t)},subscribe:function(t){var r;return e.subscribe((function(e){(void 0===r||n&&e!==r)&&t(r=e)}))}}}({}),preloading:mt(null),session:mt(he&&he.session)};function ge(t,e){var n=t.error;return Object.assign({error:n},e)}function be(t){return Ct(this,void 0,void 0,o.mark((function e(){var n,r,i,a,u,c;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return oe&&ye.preloading.set(!0),n=te(t),r=ie={},e.next=5,n;case 5:if(i=e.sent,a=i.redirect,r===ie){e.next=9;break}return e.abrupt("return");case 9:if(!a){e.next=14;break}return e.next=12,re(a.location,{replaceState:!0});case 12:e.next=17;break;case 14:return u=i.props,c=i.branch,e.next=17,we(c,u,ge(u,t.page));case 17:case"end":return e.stop()}}),e)})))}function we(t,e,n){return Ct(this,void 0,void 0,o.mark((function r(){return o.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(ye.page.set(n),ye.preloading.set(!1),!oe){r.next=6;break}oe.$set(e),r.next=13;break;case 6:return e.stores={page:{subscribe:ye.page.subscribe},preloading:{subscribe:ye.preloading.subscribe},session:ye.session},r.next=9,ae;case 9:r.t0=r.sent,e.level0={props:r.t0},e.notify=ye.page.notify,oe=new Nt({target:fe,props:e,hydrate:!0});case 13:de=t,me=JSON.stringify(n.query),ve=!0,ce=!1;case 17:case"end":return r.stop()}}),r)})))}function xe(t,e,n,r){if(r!==me)return!0;var o=de[t];return!!o&&(e!==o.segment||(!(!o.match||JSON.stringify(o.match.slice(1,t+2))===JSON.stringify(n.slice(1,t+2)))||void 0))}function $e(t){return Ct(this,void 0,void 0,o.mark((function e(){var n,r,i,a,u,c,f,s,l,p,h,v,d=this;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.route,r=t.page,i=r.path.split("/").filter(Boolean),a=null,u={error:null,status:200,segments:[i[0]]},c={fetch:function(t){function e(e,n){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t,e){return fetch(t,e)})),redirect:function(t,e){if(a&&(a.statusCode!==t||a.location!==e))throw new Error("Conflicting redirects");a={statusCode:t,location:e}},error:function(t,e){u.error="string"==typeof e?new Error(e):e,u.status=t}},ae||(f=function(){return{}},ae=he.preloaded[0]||f.call(c,{host:r.host,path:r.path,query:r.query,params:{}},ue)),l=1,e.prev=7,p=JSON.stringify(r.query),h=n.pattern.exec(r.path),v=!1,e.next=13,Promise.all(n.parts.map((function(e,n){return Ct(d,void 0,void 0,o.mark((function a(){var f,s,d,m,y,g;return o.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(f=i[n],xe(n,f,h,p)&&(v=!0),u.segments[l]=i[n+1],e){o.next=5;break}return o.abrupt("return",{segment:f});case 5:if(s=l++,ce||v||!de[n]||de[n].part!==e.i){o.next=8;break}return o.abrupt("return",de[n]);case 8:return v=!1,o.next=11,qt[e.i].js();case 11:if(d=o.sent,m=d.default,y=d.preload,!ve&&he.preloaded[n+1]){o.next=25;break}if(!y){o.next=21;break}return o.next=18,y.call(c,{host:r.host,path:r.path,query:r.query,params:e.params?e.params(t.match):{}},ue);case 18:o.t0=o.sent,o.next=22;break;case 21:o.t0={};case 22:g=o.t0,o.next=26;break;case 25:g=he.preloaded[n+1];case 26:return o.abrupt("return",u["level".concat(s)]={component:m,props:g,segment:f,match:h,part:e.i});case 27:case"end":return o.stop()}}),a)})))})));case 13:s=e.sent,e.next=21;break;case 16:e.prev=16,e.t0=e.catch(7),u.error=e.t0,u.status=500,s=[];case 21:return e.abrupt("return",{redirect:a,props:u,branch:s});case 22:case"end":return e.stop()}}),e,null,[[7,16]])})))}ye.session.subscribe((function(t){return Ct(void 0,void 0,void 0,o.mark((function e(){var n,r,i,a,u,c;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(ue=t,ve){e.next=3;break}return e.abrupt("return");case 3:return ce=!0,n=Vt(new URL(location.href)),r=ie={},e.next=8,$e(n);case 8:if(i=e.sent,a=i.redirect,u=i.props,c=i.branch,r===ie){e.next=14;break}return e.abrupt("return");case 14:if(!a){e.next=19;break}return e.next=17,re(a.location,{replaceState:!0});case 17:e.next=21;break;case 19:return e.next=21,we(c,u,ge(u,n.page));case 21:case"end":return e.stop()}}),e)})))})),se={target:document.querySelector(".app")},le=se.target,fe=le,pe=he.baseUrl,Ft=pe,Bt=be,"scrollRestoration"in Jt&&(Jt.scrollRestoration="manual"),addEventListener("beforeunload",(function(){Jt.scrollRestoration="auto"})),addEventListener("load",(function(){Jt.scrollRestoration="manual"})),addEventListener("click",Yt),addEventListener("popstate",Ht),addEventListener("touchstart",ee),addEventListener("mousemove",ne),he.error?Promise.resolve().then((function(){return function(){var t=location,e=t.host,n=t.pathname,r=t.search,o=he.session,i=he.preloaded,a=he.status,u=he.error;ae||(ae=i&&i[0]);var c={error:u,status:a,session:o,level0:{props:ae},level1:{props:{status:a,error:u},component:kt},segments:i},f=Mt(r);we([],c,{host:e,path:n,query:f,params:{},error:u})}()})):Promise.resolve().then((function(){var t=location,e=t.hash,n=t.href;Jt.replaceState({id:Gt},"",n);var r=Vt(new URL(location.href));if(r)return Wt(r,Gt,!0,e)}));export{ct as A,ft as B,st as C,lt as D,A as E,j as F,D as G,vt as S,s as _,c as a,p as b,v as c,l as d,O as e,P as f,q as g,T as h,ht as i,L as j,C as k,I as l,N as m,k as n,S as o,u as p,U as q,m as r,$ as s,R as t,B as u,o as v,nt as w,it as x,rt as y,ot as z}; + +import __inject_styles from './inject_styles.fe622066.js'; \ No newline at end of file diff --git a/client/legacy/client.b8e806fc.js b/client/legacy/client.b8e806fc.js deleted file mode 100644 index 6d2dda5..0000000 --- a/client/legacy/client.b8e806fc.js +++ /dev/null @@ -1,18 +0,0 @@ -function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}var e,n,r,o=(function(e){var n=function(e){var n,r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var o=e&&e.prototype instanceof y?e:y,i=Object.create(o.prototype),a=new O(r||[]);return i._invoke=function(t,e,n){var r=p;return function(o,i){if(r===v)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=k(a,n);if(u){if(u===m)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=v;var c=l(t,e,n);if("normal"===c.type){if(r=n.done?d:h,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=d,n.method="throw",n.arg=c.arg)}}}(t,n,a),i}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",v="executing",d="completed",m={};function y(){}function g(){}function b(){}var w={};w[a]=function(){return this};var x=Object.getPrototypeOf,$=x&&x(x(R([])));$&&$!==r&&o.call($,a)&&(w=$);var _=b.prototype=y.prototype=Object.create(w);function E(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function S(e,n){function r(i,a,u,c){var f=l(e[i],e,a);if("throw"!==f.type){var s=f.arg,p=s.value;return p&&"object"===t(p)&&o.call(p,"__await")?n.resolve(p.__await).then((function(t){r("next",t,u,c)}),(function(t){r("throw",t,u,c)})):n.resolve(p).then((function(t){s.value=t,u(s)}),(function(t){return r("throw",t,u,c)}))}c(f.arg)}var i;this._invoke=function(t,e){function o(){return new n((function(n,o){r(t,e,n,o)}))}return i=i?i.then(o,o):o()}}function k(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,k(t,e),"throw"===e.method))return m;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=l(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,m;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,m):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,m)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function R(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),f=o.call(a,"finallyLoc");if(c&&f){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),j(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:R(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),m}},e}(e.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}}(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports);function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:document.body;return Array.from(e.querySelectorAll(t))}function G(t){r=t}function F(){if(!r)throw new Error("Function called outside component initialization");return r}function B(t){F().$$.on_mount.push(t)}var J=[],K=[],M=[],V=[],Y=Promise.resolve(),z=!1;function H(t){M.push(t)}var W=!1,X=new Set;function Q(){if(!W){W=!0;do{for(var t=0;t6&&void 0!==arguments[6]?arguments[6]:[-1],c=r;G(t);var f=e.props||{},s=t.$$={fragment:null,ctx:null,props:a,update:m,not_equal:i,bound:b(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(c?c.$$.context:[]),callbacks:b(),dirty:u,skip_bound:!1},l=!1;if(s.ctx=n?n(t,f,(function(e,n){var r=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:n;return s.ctx&&i(s.ctx[e],s.ctx[e]=r)&&(!s.skip_bound&&s.bound[e]&&s.bound[e](r),l&&pt(t,e)),n})):[],s.update(),l=!0,w(s.before_update),s.fragment=!!o&&o(s.ctx),e.target){if(e.hydrate){var p=T(e.target);s.fragment&&s.fragment.l(p),p.forEach(L)}else s.fragment&&s.fragment.c();e.intro&&ot(t.$$.fragment),st(t,e.target,e.anchor),Q()}G(c)}var vt=function(){function t(){v(this,t)}var e,n,r;return e=t,(n=[{key:"$destroy",value:function(){lt(this,1),this.$destroy=m}},{key:"$on",value:function(t,e){var n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),function(){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}}},{key:"$set",value:function(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}])&&d(e.prototype,n),r&&d(e,r),t}(),dt=[];function mt(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m,r=[];function o(n){if($(t,n)&&(t=n,e)){for(var o=!dt.length,i=0;i1&&void 0!==arguments[1]?arguments[1]:m,u=[i,a];return r.push(u),1===r.length&&(e=n(o)||m),i(t),function(){var t=r.indexOf(u);-1!==t&&r.splice(t,1),0===r.length&&(e(),e=null)}}return{set:o,update:i,subscribe:a}}var yt={};function gt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=c(t);if(e){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function bt(t){var e,n,r=t[1].default,o=function(t,e,n,r){if(t){var o=_(t,e,n,r);return t[0](o)}}(r,t,t[0],null);return{c:function(){e=O("div"),o&&o.c(),this.h()},l:function(t){var n=T(e=q(t,"DIV",{class:!0}));o&&o.l(n),n.forEach(L),this.h()},h:function(){N(e,"class","app-container svelte-lkkhqy")},m:function(t,r){k(t,e,r),o&&o.m(e,null),n=!0},p:function(t,e){var n=u(e,1)[0];o&&o.p&&1&n&&E(o,r,t,t[0],n,null,null)},i:function(t){n||(ot(o,t),n=!0)},o:function(t){it(o,t),n=!1},d:function(t){t&&L(e),o&&o.d(t)}}}function wt(t,e,n){var r=e.$$slots,o=void 0===r?{}:r,i=e.$$scope;return t.$$set=function(t){"$$scope"in t&&n(0,i=t.$$scope)},[i,o]}var xt=function(t){s(n,vt);var e=gt(n);function n(t){var r;return v(this,n),ht(l(r=e.call(this)),t,wt,bt,$,{}),r}return n}();function $t(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=c(t);if(e){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function _t(t){var e,n,r=t[1].stack+"";return{c:function(){e=O("pre"),n=R(r)},l:function(t){var o=T(e=q(t,"PRE",{}));n=I(o,r),o.forEach(L)},m:function(t,r){k(t,e,r),S(e,n)},p:function(t,e){2&e&&r!==(r=t[1].stack+"")&&U(n,r)},d:function(t){t&&L(e)}}}function Et(t){var e,n,r,o,i,a,c,f,s,l=t[1].message+"";document.title=e=t[0];var p=t[2]&&t[1].stack&&_t(t);return{c:function(){n=P(),r=O("h1"),o=R(t[0]),i=P(),a=O("p"),c=R(l),f=P(),p&&p.c(),s=A(),this.h()},l:function(e){D('[data-svelte="svelte-1o9r2ue"]',document.head).forEach(L),n=C(e);var u=T(r=q(e,"H1",{class:!0}));o=I(u,t[0]),u.forEach(L),i=C(e);var h=T(a=q(e,"P",{class:!0}));c=I(h,l),h.forEach(L),f=C(e),p&&p.l(e),s=A(),this.h()},h:function(){N(r,"class","svelte-jpshsi"),N(a,"class","svelte-jpshsi")},m:function(t,e){k(t,n,e),k(t,r,e),S(r,o),k(t,i,e),k(t,a,e),S(a,c),k(t,f,e),p&&p.m(t,e),k(t,s,e)},p:function(t,n){var r=u(n,1)[0];1&r&&e!==(e=t[0])&&(document.title=e),1&r&&U(o,t[0]),2&r&&l!==(l=t[1].message+"")&&U(c,l),t[2]&&t[1].stack?p?p.p(t,r):((p=_t(t)).c(),p.m(s.parentNode,s)):p&&(p.d(1),p=null)},i:m,o:m,d:function(t){t&&L(n),t&&L(r),t&&L(i),t&&L(a),t&&L(f),p&&p.d(t),t&&L(s)}}}function St(t,e,n){var r=e.status,o=e.error;return t.$$set=function(t){"status"in t&&n(0,r=t.status),"error"in t&&n(1,o=t.error)},[r,o,false]}var kt=function(t){s(n,vt);var e=$t(n);function n(t){var r;return v(this,n),ht(l(r=e.call(this)),t,St,Et,$,{status:0,error:1}),r}return n}();function Lt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=c(t);if(e){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function jt(t){var e,n,r,o=[t[4].props],i=t[4].component;function a(t){for(var e={},n=0;n0&&e.slice(1).split("&").forEach((function(e){var r=u(/([^=]*)(?:=(.*))?/.exec(decodeURIComponent(e.replace(/\+/g," "))),3),o=r[1],i=r[2],a=void 0===i?"":i;"string"==typeof n[o]&&(n[o]=[n[o]]),"object"===t(n[o])?n[o].push(a):n[o]=a})),n}function Vt(t){if(t.origin!==location.origin)return null;if(!t.pathname.startsWith(Ft))return null;var e=t.pathname.slice(Ft.length);if(""===e&&(e="/"),!Tt.some((function(t){return t.test(e)})))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{noscroll:!1,replaceState:!1},n=Vt(new URL(t,Xt(document)));return n?(Jt[e.replaceState?"replaceState":"pushState"]({id:Dt},"",t),Wt(n,null,e.noscroll).then((function(){}))):(location.href=t,new Promise((function(t){})))}var oe,ie,ae,ue,ce,fe,se,le,pe,he="undefined"!=typeof __SAPPER__&&__SAPPER__,ve=!1,de=[],me="{}",ye={page:function(t){var e=mt(t),n=!0;return{notify:function(){n=!0,e.update((function(t){return t}))},set:function(t){n=!1,e.set(t)},subscribe:function(t){var r;return e.subscribe((function(e){(void 0===r||n&&e!==r)&&t(r=e)}))}}}({}),preloading:mt(null),session:mt(he&&he.session)};function ge(t,e){var n=t.error;return Object.assign({error:n},e)}function be(t){return Ct(this,void 0,void 0,o.mark((function e(){var n,r,i,a,u,c;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return oe&&ye.preloading.set(!0),n=te(t),r=ie={},e.next=5,n;case 5:if(i=e.sent,a=i.redirect,r===ie){e.next=9;break}return e.abrupt("return");case 9:if(!a){e.next=14;break}return e.next=12,re(a.location,{replaceState:!0});case 12:e.next=17;break;case 14:return u=i.props,c=i.branch,e.next=17,we(c,u,ge(u,t.page));case 17:case"end":return e.stop()}}),e)})))}function we(t,e,n){return Ct(this,void 0,void 0,o.mark((function r(){return o.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(ye.page.set(n),ye.preloading.set(!1),!oe){r.next=6;break}oe.$set(e),r.next=13;break;case 6:return e.stores={page:{subscribe:ye.page.subscribe},preloading:{subscribe:ye.preloading.subscribe},session:ye.session},r.next=9,ae;case 9:r.t0=r.sent,e.level0={props:r.t0},e.notify=ye.page.notify,oe=new Nt({target:fe,props:e,hydrate:!0});case 13:de=t,me=JSON.stringify(n.query),ve=!0,ce=!1;case 17:case"end":return r.stop()}}),r)})))}function xe(t,e,n,r){if(r!==me)return!0;var o=de[t];return!!o&&(e!==o.segment||(!(!o.match||JSON.stringify(o.match.slice(1,t+2))===JSON.stringify(n.slice(1,t+2)))||void 0))}function $e(t){return Ct(this,void 0,void 0,o.mark((function e(){var n,r,i,a,u,c,f,s,l,p,h,v,d=this;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.route,r=t.page,i=r.path.split("/").filter(Boolean),a=null,u={error:null,status:200,segments:[i[0]]},c={fetch:function(t){function e(e,n){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t,e){return fetch(t,e)})),redirect:function(t,e){if(a&&(a.statusCode!==t||a.location!==e))throw new Error("Conflicting redirects");a={statusCode:t,location:e}},error:function(t,e){u.error="string"==typeof e?new Error(e):e,u.status=t}},ae||(f=function(){return{}},ae=he.preloaded[0]||f.call(c,{host:r.host,path:r.path,query:r.query,params:{}},ue)),l=1,e.prev=7,p=JSON.stringify(r.query),h=n.pattern.exec(r.path),v=!1,e.next=13,Promise.all(n.parts.map((function(e,n){return Ct(d,void 0,void 0,o.mark((function a(){var f,s,d,m,y,g;return o.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(f=i[n],xe(n,f,h,p)&&(v=!0),u.segments[l]=i[n+1],e){o.next=5;break}return o.abrupt("return",{segment:f});case 5:if(s=l++,ce||v||!de[n]||de[n].part!==e.i){o.next=8;break}return o.abrupt("return",de[n]);case 8:return v=!1,o.next=11,qt[e.i].js();case 11:if(d=o.sent,m=d.default,y=d.preload,!ve&&he.preloaded[n+1]){o.next=25;break}if(!y){o.next=21;break}return o.next=18,y.call(c,{host:r.host,path:r.path,query:r.query,params:e.params?e.params(t.match):{}},ue);case 18:o.t0=o.sent,o.next=22;break;case 21:o.t0={};case 22:g=o.t0,o.next=26;break;case 25:g=he.preloaded[n+1];case 26:return o.abrupt("return",u["level".concat(s)]={component:m,props:g,segment:f,match:h,part:e.i});case 27:case"end":return o.stop()}}),a)})))})));case 13:s=e.sent,e.next=21;break;case 16:e.prev=16,e.t0=e.catch(7),u.error=e.t0,u.status=500,s=[];case 21:return e.abrupt("return",{redirect:a,props:u,branch:s});case 22:case"end":return e.stop()}}),e,null,[[7,16]])})))}ye.session.subscribe((function(t){return Ct(void 0,void 0,void 0,o.mark((function e(){var n,r,i,a,u,c;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(ue=t,ve){e.next=3;break}return e.abrupt("return");case 3:return ce=!0,n=Vt(new URL(location.href)),r=ie={},e.next=8,$e(n);case 8:if(i=e.sent,a=i.redirect,u=i.props,c=i.branch,r===ie){e.next=14;break}return e.abrupt("return");case 14:if(!a){e.next=19;break}return e.next=17,re(a.location,{replaceState:!0});case 17:e.next=21;break;case 19:return e.next=21,we(c,u,ge(u,n.page));case 21:case"end":return e.stop()}}),e)})))})),se={target:document.querySelector(".app")},le=se.target,fe=le,pe=he.baseUrl,Ft=pe,Bt=be,"scrollRestoration"in Jt&&(Jt.scrollRestoration="manual"),addEventListener("beforeunload",(function(){Jt.scrollRestoration="auto"})),addEventListener("load",(function(){Jt.scrollRestoration="manual"})),addEventListener("click",Yt),addEventListener("popstate",Ht),addEventListener("touchstart",ee),addEventListener("mousemove",ne),he.error?Promise.resolve().then((function(){return function(){var t=location,e=t.host,n=t.pathname,r=t.search,o=he.session,i=he.preloaded,a=he.status,u=he.error;ae||(ae=i&&i[0]);var c={error:u,status:a,session:o,level0:{props:ae},level1:{props:{status:a,error:u},component:kt},segments:i},f=Mt(r);we([],c,{host:e,path:n,query:f,params:{},error:u})}()})):Promise.resolve().then((function(){var t=location,e=t.hash,n=t.href;Jt.replaceState({id:Gt},"",n);var r=Vt(new URL(location.href));if(r)return Wt(r,Gt,!0,e)}));export{ct as A,ft as B,st as C,lt as D,A as E,j as F,D as G,vt as S,s as _,c as a,p as b,v as c,l as d,O as e,P as f,q as g,T as h,ht as i,L as j,C as k,I as l,N as m,k as n,S as o,u as p,U as q,m as r,$ as s,R as t,B as u,o as v,nt as w,it as x,rt as y,ot as z}; - -import __inject_styles from './inject_styles.fe622066.js'; \ No newline at end of file diff --git a/client/legacy/index-89c000ac.css b/client/legacy/index-89c000ac.css new file mode 100644 index 0000000..f627766 --- /dev/null +++ b/client/legacy/index-89c000ac.css @@ -0,0 +1,7 @@ +.weatherCurrent-wrapper.svelte-1fdstvw.svelte-1fdstvw{height:100%;font-family:Roboto, sans-serif;font-size:1rem;letter-spacing:0.05em;--bg-opacity:1;background-color:#1a202c;background-color:rgba(26, 32, 44, var(--bg-opacity));background:linear-gradient( + rgba(0, 0, 0, 0.5), + rgba(0, 0, 0, 0.5) + ), url(/Aurora-data/aurora.jpg);background-size:cover;background-repeat:no-repeat;background-position:center}.weatherCurrent-data.svelte-1fdstvw.svelte-1fdstvw{width:100%;padding:1.5rem;flex-grow:1;display:flex;flex-direction:column;justify-content:space-between;height:100%;--text-opacity:1;color:#fff;color:rgba(255, 255, 255, var(--text-opacity));text-align:center;letter-spacing:0.05em;text-shadow:1px 1px 2px rgba(0,0,0,.75)}.weatherCurrent-data-location.svelte-1fdstvw.svelte-1fdstvw{display:flex;justify-content:center;align-content:center}.weatherCurrent-data-location.svelte-1fdstvw .symbol.svelte-1fdstvw{width:1.5rem;height:1.5rem;margin-right:1rem}.weatherCurrent-data-location.svelte-1fdstvw h1.svelte-1fdstvw{text-transform:uppercase;font-family:Roboto Condensed, sans-serif;font-size:1.125rem;letter-spacing:0.1em;margin-bottom:0}.weatherCurrent-data-kp.svelte-1fdstvw h2.svelte-1fdstvw{font-weight:700;font-size:3rem;letter-spacing:0.05em;line-height:1.25}.current-details.svelte-1fdstvw.svelte-1fdstvw{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));grid-gap:1rem;gap:1rem;text-shadow:1px 1px 2px rgba(0,0,0,.75)}.current-details.svelte-1fdstvw p.svelte-1fdstvw{line-height:1.375} +.prediction-details.svelte-u548p6.svelte-u548p6{display:flex;justify-content:space-between;border-bottom-width:1px;padding-top:0.5rem;padding-bottom:0.5rem;font-size:0.75rem;letter-spacing:0.05em}.prediction-details.svelte-u548p6.svelte-u548p6:last-of-type{border-width:0;padding-bottom:0}.prediction-details.svelte-u548p6 h3.svelte-u548p6{font-size:0.875rem;font-weight:600;text-transform:uppercase;letter-spacing:0.05em;margin-right:0.5rem}.prediction-details.svelte-u548p6 .data.svelte-u548p6{display:flex;flex-direction:row}.prediction-details.svelte-u548p6 .data h2.svelte-u548p6{margin-right:1rem;font-size:1.5rem} +.predicted-weather.svelte-mcdoaa.svelte-mcdoaa{--bg-opacity:1;background-color:#f7fafc;background-color:rgba(247, 250, 252, var(--bg-opacity));padding:1.5rem;--text-opacity:1;color:#1a202c;color:rgba(26, 32, 44, var(--text-opacity));height:100%;overflow:hidden}@media(min-width: 640px), (min-height: 720px){.predicted-weather.svelte-mcdoaa.svelte-mcdoaa{padding:2rem;padding-top:1.5rem}}@media(min-width: 640px){.predicted-weather.svelte-mcdoaa.svelte-mcdoaa{border-bottom-right-radius:1rem;border-bottom-left-radius:1rem}}.predicted-weather.svelte-mcdoaa h2.svelte-mcdoaa{text-transform:uppercase;font-size:0.875rem;letter-spacing:0.1em;font-weight:700;margin-top:0.25rem;margin-bottom:0.5rem}.prediction-table.svelte-mcdoaa.svelte-mcdoaa{height:100%;overflow-y:scroll;padding-bottom:1rem}.prediction-table.svelte-mcdoaa.svelte-mcdoaa::-webkit-scrollbar{display:none} +.homescreen.svelte-yqnwm7{display:flex;flex-direction:column;justify-content:space-between;height:100%;--bg-opacity:1;background-color:#1a202c;background-color:rgba(26, 32, 44, var(--bg-opacity));--bg-opacity:0.25} diff --git a/client/legacy/index-fcecdc43.css b/client/legacy/index-fcecdc43.css deleted file mode 100644 index 7cfed60..0000000 --- a/client/legacy/index-fcecdc43.css +++ /dev/null @@ -1,7 +0,0 @@ -.weatherCurrent-wrapper.svelte-1y77zx4.svelte-1y77zx4{height:100%;font-family:Roboto, sans-serif;font-size:1rem;letter-spacing:0.05em;--bg-opacity:1;background-color:#1a202c;background-color:rgba(26, 32, 44, var(--bg-opacity));background:linear-gradient( - rgba(0, 0, 0, 0.5), - rgba(0, 0, 0, 0.5) - ), url(/aurora.jpg);background-size:cover;background-repeat:no-repeat;background-position:center}.weatherCurrent-data.svelte-1y77zx4.svelte-1y77zx4{width:100%;padding:1.5rem;flex-grow:1;display:flex;flex-direction:column;justify-content:space-between;height:100%;--text-opacity:1;color:#fff;color:rgba(255, 255, 255, var(--text-opacity));text-align:center;letter-spacing:0.05em;text-shadow:1px 1px 2px rgba(0,0,0,.75)}.weatherCurrent-data-location.svelte-1y77zx4.svelte-1y77zx4{display:flex;justify-content:center;align-content:center}.weatherCurrent-data-location.svelte-1y77zx4 .symbol.svelte-1y77zx4{width:1.5rem;height:1.5rem;margin-right:1rem}.weatherCurrent-data-location.svelte-1y77zx4 h1.svelte-1y77zx4{text-transform:uppercase;font-family:Roboto Condensed, sans-serif;font-size:1.125rem;letter-spacing:0.1em;margin-bottom:0}.weatherCurrent-data-kp.svelte-1y77zx4 h2.svelte-1y77zx4{font-weight:700;font-size:3rem;letter-spacing:0.05em;line-height:1.25}.current-details.svelte-1y77zx4.svelte-1y77zx4{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));grid-gap:1rem;gap:1rem;text-shadow:1px 1px 2px rgba(0,0,0,.75)}.current-details.svelte-1y77zx4 p.svelte-1y77zx4{line-height:1.375} -.prediction-details.svelte-u548p6.svelte-u548p6{display:flex;justify-content:space-between;border-bottom-width:1px;padding-top:0.5rem;padding-bottom:0.5rem;font-size:0.75rem;letter-spacing:0.05em}.prediction-details.svelte-u548p6.svelte-u548p6:last-of-type{border-width:0;padding-bottom:0}.prediction-details.svelte-u548p6 h3.svelte-u548p6{font-size:0.875rem;font-weight:600;text-transform:uppercase;letter-spacing:0.05em;margin-right:0.5rem}.prediction-details.svelte-u548p6 .data.svelte-u548p6{display:flex;flex-direction:row}.prediction-details.svelte-u548p6 .data h2.svelte-u548p6{margin-right:1rem;font-size:1.5rem} -.predicted-weather.svelte-mcdoaa.svelte-mcdoaa{--bg-opacity:1;background-color:#f7fafc;background-color:rgba(247, 250, 252, var(--bg-opacity));padding:1.5rem;--text-opacity:1;color:#1a202c;color:rgba(26, 32, 44, var(--text-opacity));height:100%;overflow:hidden}@media(min-width: 640px), (min-height: 720px){.predicted-weather.svelte-mcdoaa.svelte-mcdoaa{padding:2rem;padding-top:1.5rem}}@media(min-width: 640px){.predicted-weather.svelte-mcdoaa.svelte-mcdoaa{border-bottom-right-radius:1rem;border-bottom-left-radius:1rem}}.predicted-weather.svelte-mcdoaa h2.svelte-mcdoaa{text-transform:uppercase;font-size:0.875rem;letter-spacing:0.1em;font-weight:700;margin-top:0.25rem;margin-bottom:0.5rem}.prediction-table.svelte-mcdoaa.svelte-mcdoaa{height:100%;overflow-y:scroll;padding-bottom:1rem}.prediction-table.svelte-mcdoaa.svelte-mcdoaa::-webkit-scrollbar{display:none} -.homescreen.svelte-yqnwm7{display:flex;flex-direction:column;justify-content:space-between;height:100%;--bg-opacity:1;background-color:#1a202c;background-color:rgba(26, 32, 44, var(--bg-opacity));--bg-opacity:0.25} diff --git a/client/legacy/index.4c4775ea.js b/client/legacy/index.4c4775ea.js new file mode 100644 index 0000000..1eec76a --- /dev/null +++ b/client/legacy/index.4c4775ea.js @@ -0,0 +1 @@ +import{_ as t,a as n,b as e,c as r,i as a,s as c,d as o,S as s,e as i,f,t as u,g as l,h as v,j as h,k as p,l as d,m,n as g,o as w,p as y,q as E,r as D,u as P,v as $,w as b,x,y as I,z as R,A as V,B as A,C,D as N,E as j,F as S,G as k}from"./client.467aa998.js";function M(t){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var a,c=n(t);if(r){var o=n(this).constructor;a=Reflect.construct(c,arguments,o)}else a=c.apply(this,arguments);return e(this,a)}}function _(t){var n,e,r,a,c,o,s,P,$,b,x,I,R,V,A,C,N,j,S,k,M,_,H,J,K,B,O,q,F,z,Z,G,L,Q,U,W,X,Y,tt,nt,et,rt,at,ct,ot,st,it,ft;return{c:function(){n=i("div"),e=i("div"),r=i("div"),a=i("i"),c=f(),o=i("h1"),s=u(T),P=f(),$=i("div"),b=i("p"),x=u(t[0]),I=f(),R=i("div"),V=i("h2"),A=u("KP "),C=u(t[1]),N=f(),j=i("p"),S=i("span"),k=u("↑ KP "),M=u(t[3]),_=f(),H=i("span"),J=u("↓ KP "),K=u(t[2]),B=f(),O=i("div"),q=i("div"),F=i("p"),z=u("BZ"),Z=f(),G=i("p"),L=u(t[4]),Q=f(),U=i("div"),W=i("p"),X=u("Probability"),Y=f(),tt=i("p"),nt=u("10%"),et=f(),rt=i("div"),at=i("p"),ct=u("Clouds"),ot=f(),st=i("p"),it=u(t[5]),ft=u("%"),this.h()},l:function(i){n=l(i,"DIV",{class:!0});var f=v(n);e=l(f,"DIV",{class:!0});var u=v(e);r=l(u,"DIV",{class:!0});var m=v(r);a=l(m,"I",{class:!0}),v(a).forEach(h),c=p(m),o=l(m,"H1",{class:!0});var g=v(o);s=d(g,T),g.forEach(h),m.forEach(h),P=p(u),$=l(u,"DIV",{class:!0});var w=v($);b=l(w,"P",{});var y=v(b);x=d(y,t[0]),y.forEach(h),w.forEach(h),I=p(u),R=l(u,"DIV",{class:!0});var E=v(R);V=l(E,"H2",{class:!0});var D=v(V);A=d(D,"KP "),C=d(D,t[1]),D.forEach(h),N=p(E),j=l(E,"P",{});var ut=v(j);S=l(ut,"SPAN",{className:!0});var lt=v(S);k=d(lt,"↑ KP "),M=d(lt,t[3]),lt.forEach(h),_=p(ut),H=l(ut,"SPAN",{className:!0});var vt=v(H);J=d(vt,"↓ KP "),K=d(vt,t[2]),vt.forEach(h),ut.forEach(h),E.forEach(h),B=p(u),O=l(u,"DIV",{class:!0});var ht=v(O);q=l(ht,"DIV",{});var pt=v(q);F=l(pt,"P",{class:!0});var dt=v(F);z=d(dt,"BZ"),dt.forEach(h),Z=p(pt),G=l(pt,"P",{class:!0});var mt=v(G);L=d(mt,t[4]),mt.forEach(h),pt.forEach(h),Q=p(ht),U=l(ht,"DIV",{});var gt=v(U);W=l(gt,"P",{class:!0});var wt=v(W);X=d(wt,"Probability"),wt.forEach(h),Y=p(gt),tt=l(gt,"P",{class:!0});var yt=v(tt);nt=d(yt,"10%"),yt.forEach(h),gt.forEach(h),et=p(ht),rt=l(ht,"DIV",{});var Et=v(rt);at=l(Et,"P",{class:!0});var Dt=v(at);ct=d(Dt,"Clouds"),Dt.forEach(h),ot=p(Et),st=l(Et,"P",{class:!0});var Pt=v(st);it=d(Pt,t[5]),ft=d(Pt,"%"),Pt.forEach(h),Et.forEach(h),ht.forEach(h),u.forEach(h),f.forEach(h),this.h()},h:function(){m(a,"class","symbol fas fa-map-marker-alt svelte-1fdstvw"),m(o,"class","svelte-1fdstvw"),m(r,"class","weatherCurrent-data-location svelte-1fdstvw"),m($,"class","weatherCurrent-data-date"),m(V,"class","svelte-1fdstvw"),m(S,"classname","pr-2"),m(H,"classname","pl-2"),m(R,"class","weatherCurrent-data-kp svelte-1fdstvw"),m(F,"class","svelte-1fdstvw"),m(G,"class","svelte-1fdstvw"),m(W,"class","svelte-1fdstvw"),m(tt,"class","svelte-1fdstvw"),m(at,"class","svelte-1fdstvw"),m(st,"class","svelte-1fdstvw"),m(O,"class","current-details svelte-1fdstvw"),m(e,"class","weatherCurrent-data svelte-1fdstvw"),m(n,"class","weatherCurrent-wrapper svelte-1fdstvw")},m:function(t,i){g(t,n,i),w(n,e),w(e,r),w(r,a),w(r,c),w(r,o),w(o,s),w(e,P),w(e,$),w($,b),w(b,x),w(e,I),w(e,R),w(R,V),w(V,A),w(V,C),w(R,N),w(R,j),w(j,S),w(S,k),w(S,M),w(j,_),w(j,H),w(H,J),w(H,K),w(e,B),w(e,O),w(O,q),w(q,F),w(F,z),w(q,Z),w(q,G),w(G,L),w(O,Q),w(O,U),w(U,W),w(W,X),w(U,Y),w(U,tt),w(tt,nt),w(O,et),w(O,rt),w(rt,at),w(at,ct),w(rt,ot),w(rt,st),w(st,it),w(st,ft)},p:function(t,n){var e=y(n,1)[0];1&e&&E(x,t[0]),2&e&&E(C,t[1]),8&e&&E(M,t[3]),4&e&&E(K,t[2]),16&e&&E(L,t[4]),32&e&&E(it,t[5])},i:D,o:D,d:function(t){t&&h(n)}}}var T="The earth";function H(t,n,e){var r,a,c=this&&this.__awaiter||function(t,n,e,r){return new(e||(e=Promise))((function(a,c){function o(t){try{i(r.next(t))}catch(t){c(t)}}function s(t){try{i(r.throw(t))}catch(t){c(t)}}function i(t){var n;t.done?a(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(o,s)}i((r=r.apply(t,n||[])).next())}))},o=["January","February","March","April","May","June","July","August","September","October","November","December"],s=(Array(),"-"),i="-",f="-",u="-",l="-",v="-";function h(t){r=t.coords.longitude,a=t.coords.latitude,function(t,n){c(this,void 0,void 0,$.mark((function r(){var a,c,h,p,d,m;return $.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,fetch("https://api.met.no/weatherapi/locationforecast/2.0/compact?lat=".concat(n,"&lon=").concat(t)).then((function(t){return t.json()}));case 2:return a=r.sent,e(5,v=a.properties.timeseries[0].data.instant.details.cloud_area_fraction),r.t0=e,r.next=7,fetch("https://services.swpc.noaa.gov/products/summary/solar-wind-mag-field.json").then((function(t){return t.json()}));case 7:return r.t1=l=r.sent.Bz,(0,r.t0)(4,r.t1),r.next=11,fetch("https://services.swpc.noaa.gov/products/noaa-planetary-k-index-forecast.json").then((function(t){return t.json()}));case 11:(c=r.sent).shift(),h=new Date,p=new Date(0,0,0),d=1e3,m=0,c.forEach((function(t,n){t[1]>m&&(m=t[1]),t[1]m&&(m=t[1]),t[1] Aurora data

The earth

-

KP -

↑ KP - ↓ KP -

BZ

-

Probability

10%

Clouds

-%

Predicted

Cannot connect to NOAA
\ No newline at end of file + Aurora data

The earth

-

KP -

↑ KP - ↓ KP -

BZ

-

Probability

10%

Clouds

-%

Predicted

Cannot connect to NOAA
\ No newline at end of file diff --git a/service-worker-index.html b/service-worker-index.html index 5ce36de..43d175a 100644 --- a/service-worker-index.html +++ b/service-worker-index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/service-worker.js b/service-worker.js index 2f4b8c0..a5d19e2 100644 --- a/service-worker.js +++ b/service-worker.js @@ -1 +1 @@ -!function(){"use strict";const e=1602614704342,t="cache"+e,s=["/client/inject_styles.5607aec6.js","/client/index.4a84583d.js","/client/client.7f720467.js"].concat(["/service-worker-index.html","/aurora.jpg","/favicon.png","/global.css","/index.css","/logo-192.png","/logo-512.png","/manifest.json","/postcss.config.js"]),n=new Set(s);self.addEventListener("install",(e=>{e.waitUntil(caches.open(t).then((e=>e.addAll(s))).then((()=>{self.skipWaiting()})))})),self.addEventListener("activate",(e=>{e.waitUntil(caches.keys().then((async e=>{for(const s of e)s!==t&&await caches.delete(s);self.clients.claim()})))})),self.addEventListener("fetch",(t=>{if("GET"!==t.request.method||t.request.headers.has("range"))return;const s=new URL(t.request.url);s.protocol.startsWith("http")&&(s.hostname===self.location.hostname&&s.port!==self.location.port||(s.host===self.location.host&&n.has(s.pathname)?t.respondWith(caches.match(t.request)):"only-if-cached"!==t.request.cache&&t.respondWith(caches.open("offline"+e).then((async e=>{try{const s=await fetch(t.request);return e.put(t.request,s.clone()),s}catch(s){const n=await e.match(t.request);if(n)return n;throw s}})))))}))}(); +!function(){"use strict";const e=1602615052615,t="cache"+e,s=["/client/inject_styles.5607aec6.js","/client/index.3e5f04b7.js","/client/client.0916be27.js"].concat(["/service-worker-index.html","/aurora.jpg","/favicon.png","/global.css","/index.css","/logo-192.png","/logo-512.png","/manifest.json","/postcss.config.js"]),n=new Set(s);self.addEventListener("install",(e=>{e.waitUntil(caches.open(t).then((e=>e.addAll(s))).then((()=>{self.skipWaiting()})))})),self.addEventListener("activate",(e=>{e.waitUntil(caches.keys().then((async e=>{for(const s of e)s!==t&&await caches.delete(s);self.clients.claim()})))})),self.addEventListener("fetch",(t=>{if("GET"!==t.request.method||t.request.headers.has("range"))return;const s=new URL(t.request.url);s.protocol.startsWith("http")&&(s.hostname===self.location.hostname&&s.port!==self.location.port||(s.host===self.location.host&&n.has(s.pathname)?t.respondWith(caches.match(t.request)):"only-if-cached"!==t.request.cache&&t.respondWith(caches.open("offline"+e).then((async e=>{try{const s=await fetch(t.request);return e.put(t.request,s.clone()),s}catch(s){const n=await e.match(t.request);if(n)return n;throw s}})))))}))}(); -- cgit v1.2.3