HugoDzz commited on
Commit
2b9b84a
β€’
1 Parent(s): c9914b2

feat: add build

Browse files
build/_app/immutable/chunks/{singletons.056f02de.js β†’ singletons.1f11d8d9.js} RENAMED
@@ -1 +1 @@
1
- import{H as d,s as w}from"./index.9af7eb9c.js";const c=[];function p(e,t=d){let n;const o=new Set;function a(s){if(w(e,s)&&(e=s,n)){const u=!c.length;for(const i of o)i[1](),c.push(i,e);if(u){for(let i=0;i<c.length;i+=2)c[i][0](c[i+1]);c.length=0}}}function l(s){a(s(e))}function r(s,u=d){const i=[s,u];return o.add(i),o.size===1&&(n=t(a)||d),s(e),()=>{o.delete(i),o.size===0&&n&&(n(),n=null)}}return{set:a,update:l,subscribe:r}}var g;const m=((g=globalThis.__sveltekit_1ktwsn2)==null?void 0:g.base)??"";var k;const E=((k=globalThis.__sveltekit_1ktwsn2)==null?void 0:k.assets)??m,S="1697997013043",y="sveltekit:snapshot",I="sveltekit:scroll",x="sveltekit:index",_={tap:1,hover:2,viewport:3,eager:4,off:-1};function O(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function U(){return{x:pageXOffset,y:pageYOffset}}function f(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const b={..._,"":_.hover};function v(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function L(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=v(e)}}function N(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const o=e instanceof SVGAElement?e.target.baseVal:e.target,a=!n||!!o||R(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),l=(n==null?void 0:n.origin)===location.origin&&e.hasAttribute("download");return{url:n,external:a,target:o,download:l}}function P(e){let t=null,n=null,o=null,a=null,l=null,r=null,s=e;for(;s&&s!==document.documentElement;)o===null&&(o=f(s,"preload-code")),a===null&&(a=f(s,"preload-data")),t===null&&(t=f(s,"keepfocus")),n===null&&(n=f(s,"noscroll")),l===null&&(l=f(s,"reload")),r===null&&(r=f(s,"replacestate")),s=v(s);return{preload_code:b[o??"off"],preload_data:b[a??"off"],keep_focus:t==="off"?!1:t===""?!0:null,noscroll:n==="off"?!1:n===""?!0:null,reload:l==="off"?!1:l===""?!0:null,replace_state:r==="off"?!1:r===""?!0:null}}function h(e){const t=p(e);let n=!0;function o(){n=!0,t.update(r=>r)}function a(r){n=!1,t.set(r)}function l(r){let s;return t.subscribe(u=>{(s===void 0||n&&u!==s)&&r(s=u)})}return{notify:o,set:a,subscribe:l}}function A(){const{set:e,subscribe:t}=p(!1);let n;async function o(){clearTimeout(n);try{const a=await fetch(`${E}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const r=(await a.json()).version!==S;return r&&(e(!0),clearTimeout(n)),r}catch{return!1}}return{subscribe:t,check:o}}function R(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}function V(e){e.client}const Y={url:h({}),page:h({}),navigating:p(null),updated:A()};export{x as I,_ as P,I as S,y as a,N as b,P as c,U as d,m as e,L as f,O as g,V as h,R as i,Y as s};
 
1
+ import{H as d,s as m}from"./index.9af7eb9c.js";const c=[];function p(e,t=d){let n;const o=new Set;function a(s){if(m(e,s)&&(e=s,n)){const u=!c.length;for(const i of o)i[1](),c.push(i,e);if(u){for(let i=0;i<c.length;i+=2)c[i][0](c[i+1]);c.length=0}}}function l(s){a(s(e))}function r(s,u=d){const i=[s,u];return o.add(i),o.size===1&&(n=t(a)||d),s(e),()=>{o.delete(i),o.size===0&&n&&(n(),n=null)}}return{set:a,update:l,subscribe:r}}var g;const E=((g=globalThis.__sveltekit_1d38e1f)==null?void 0:g.base)??"";var k;const S=((k=globalThis.__sveltekit_1d38e1f)==null?void 0:k.assets)??E,w="1698134506027",y="sveltekit:snapshot",I="sveltekit:scroll",x="sveltekit:index",_={tap:1,hover:2,viewport:3,eager:4,off:-1};function O(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function U(){return{x:pageXOffset,y:pageYOffset}}function f(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const b={..._,"":_.hover};function v(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function L(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=v(e)}}function N(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const o=e instanceof SVGAElement?e.target.baseVal:e.target,a=!n||!!o||R(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),l=(n==null?void 0:n.origin)===location.origin&&e.hasAttribute("download");return{url:n,external:a,target:o,download:l}}function P(e){let t=null,n=null,o=null,a=null,l=null,r=null,s=e;for(;s&&s!==document.documentElement;)o===null&&(o=f(s,"preload-code")),a===null&&(a=f(s,"preload-data")),t===null&&(t=f(s,"keepfocus")),n===null&&(n=f(s,"noscroll")),l===null&&(l=f(s,"reload")),r===null&&(r=f(s,"replacestate")),s=v(s);return{preload_code:b[o??"off"],preload_data:b[a??"off"],keep_focus:t==="off"?!1:t===""?!0:null,noscroll:n==="off"?!1:n===""?!0:null,reload:l==="off"?!1:l===""?!0:null,replace_state:r==="off"?!1:r===""?!0:null}}function h(e){const t=p(e);let n=!0;function o(){n=!0,t.update(r=>r)}function a(r){n=!1,t.set(r)}function l(r){let s;return t.subscribe(u=>{(s===void 0||n&&u!==s)&&r(s=u)})}return{notify:o,set:a,subscribe:l}}function A(){const{set:e,subscribe:t}=p(!1);let n;async function o(){clearTimeout(n);try{const a=await fetch(`${S}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const r=(await a.json()).version!==w;return r&&(e(!0),clearTimeout(n)),r}catch{return!1}}return{subscribe:t,check:o}}function R(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}function V(e){e.client}const Y={url:h({}),page:h({}),navigating:p(null),updated:A()};export{x as I,_ as P,I as S,y as a,N as b,P as c,U as d,E as e,L as f,O as g,V as h,R as i,Y as s};
build/_app/immutable/chunks/{stores.67a820a9.js β†’ stores.be116e24.js} RENAMED
@@ -1 +1 @@
1
- import"./index.9af7eb9c.js";import{s as e}from"./singletons.056f02de.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p};
 
1
+ import"./index.9af7eb9c.js";import{s as e}from"./singletons.1f11d8d9.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p};
build/_app/immutable/entry/{app.eeb2bf83.js β†’ app.ea8cc3e0.js} RENAMED
@@ -1 +1 @@
1
- import{S as V,i as q,s as U,a as j,e as h,c as z,b as w,d as p,f as y,g as d,h as g,j as W,o as F,k as G,l as H,m as J,n as N,p as m,q as K,r as M,u as Q,v as L,w as P,x as k,y as v,z as A,A as E,B as R}from"../chunks/index.9af7eb9c.js";const X="modulepreload",Y=function(a,e){return new URL(a,e).href},B={},S=function(e,n,i){if(!n||n.length===0)return e();const s=document.getElementsByTagName("link");return Promise.all(n.map(f=>{if(f=Y(f,i),f in B)return;B[f]=!0;const t=f.endsWith(".css"),r=t?'[rel="stylesheet"]':"";if(!!i)for(let l=s.length-1;l>=0;l--){const _=s[l];if(_.href===f&&(!t||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${r}`))return;const o=document.createElement("link");if(o.rel=t?"stylesheet":X,t||(o.as="script",o.crossOrigin=""),o.href=f,document.head.appendChild(o),t)return new Promise((l,_)=>{o.addEventListener("load",l),o.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${f}`)))})})).then(()=>e())},ie={};function Z(a){let e,n,i;var s=a[1][0];function f(t){return{props:{data:t[3],form:t[2]}}}return s&&(e=k(s,f(a)),a[12](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&A(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),w(t,n,r),i=!0},p(t,r){const u={};if(r&8&&(u.data=t[3]),r&4&&(u.form=t[2]),r&2&&s!==(s=t[1][0])){if(e){L();const o=e;p(o.$$.fragment,1,0,()=>{R(o,1)}),y()}s?(e=k(s,f(t)),t[12](e),v(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else s&&e.$set(u)},i(t){i||(e&&d(e.$$.fragment,t),i=!0)},o(t){e&&p(e.$$.fragment,t),i=!1},d(t){a[12](null),t&&g(n),e&&R(e,t)}}}function $(a){let e,n,i;var s=a[1][0];function f(t){return{props:{data:t[3],$$slots:{default:[x]},$$scope:{ctx:t}}}}return s&&(e=k(s,f(a)),a[11](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&A(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),w(t,n,r),i=!0},p(t,r){const u={};if(r&8&&(u.data=t[3]),r&8215&&(u.$$scope={dirty:r,ctx:t}),r&2&&s!==(s=t[1][0])){if(e){L();const o=e;p(o.$$.fragment,1,0,()=>{R(o,1)}),y()}s?(e=k(s,f(t)),t[11](e),v(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else s&&e.$set(u)},i(t){i||(e&&d(e.$$.fragment,t),i=!0)},o(t){e&&p(e.$$.fragment,t),i=!1},d(t){a[11](null),t&&g(n),e&&R(e,t)}}}function x(a){let e,n,i;var s=a[1][1];function f(t){return{props:{data:t[4],form:t[2]}}}return s&&(e=k(s,f(a)),a[10](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&A(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),w(t,n,r),i=!0},p(t,r){const u={};if(r&16&&(u.data=t[4]),r&4&&(u.form=t[2]),r&2&&s!==(s=t[1][1])){if(e){L();const o=e;p(o.$$.fragment,1,0,()=>{R(o,1)}),y()}s?(e=k(s,f(t)),t[10](e),v(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else s&&e.$set(u)},i(t){i||(e&&d(e.$$.fragment,t),i=!0)},o(t){e&&p(e.$$.fragment,t),i=!1},d(t){a[10](null),t&&g(n),e&&R(e,t)}}}function C(a){let e,n=a[6]&&D(a);return{c(){e=G("div"),n&&n.c(),this.h()},l(i){e=H(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=J(e);n&&n.l(s),s.forEach(g),this.h()},h(){N(e,"id","svelte-announcer"),N(e,"aria-live","assertive"),N(e,"aria-atomic","true"),m(e,"position","absolute"),m(e,"left","0"),m(e,"top","0"),m(e,"clip","rect(0 0 0 0)"),m(e,"clip-path","inset(50%)"),m(e,"overflow","hidden"),m(e,"white-space","nowrap"),m(e,"width","1px"),m(e,"height","1px")},m(i,s){w(i,e,s),n&&n.m(e,null)},p(i,s){i[6]?n?n.p(i,s):(n=D(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&g(e),n&&n.d()}}}function D(a){let e;return{c(){e=K(a[7])},l(n){e=M(n,a[7])},m(n,i){w(n,e,i)},p(n,i){i&128&&Q(e,n[7])},d(n){n&&g(e)}}}function ee(a){let e,n,i,s,f;const t=[$,Z],r=[];function u(l,_){return l[1][1]?0:1}e=u(a),n=r[e]=t[e](a);let o=a[5]&&C(a);return{c(){n.c(),i=j(),o&&o.c(),s=h()},l(l){n.l(l),i=z(l),o&&o.l(l),s=h()},m(l,_){r[e].m(l,_),w(l,i,_),o&&o.m(l,_),w(l,s,_),f=!0},p(l,[_]){let b=e;e=u(l),e===b?r[e].p(l,_):(L(),p(r[b],1,1,()=>{r[b]=null}),y(),n=r[e],n?n.p(l,_):(n=r[e]=t[e](l),n.c()),d(n,1),n.m(i.parentNode,i)),l[5]?o?o.p(l,_):(o=C(l),o.c(),o.m(s.parentNode,s)):o&&(o.d(1),o=null)},i(l){f||(d(n),f=!0)},o(l){p(n),f=!1},d(l){r[e].d(l),l&&g(i),o&&o.d(l),l&&g(s)}}}function te(a,e,n){let{stores:i}=e,{page:s}=e,{constructors:f}=e,{components:t=[]}=e,{form:r}=e,{data_0:u=null}=e,{data_1:o=null}=e;W(i.page.notify);let l=!1,_=!1,b=null;F(()=>{const c=i.page.subscribe(()=>{l&&(n(6,_=!0),n(7,b=document.title||"untitled page"))});return n(5,l=!0),c});function I(c){P[c?"unshift":"push"](()=>{t[1]=c,n(0,t)})}function O(c){P[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}function T(c){P[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}return a.$$set=c=>{"stores"in c&&n(8,i=c.stores),"page"in c&&n(9,s=c.page),"constructors"in c&&n(1,f=c.constructors),"components"in c&&n(0,t=c.components),"form"in c&&n(2,r=c.form),"data_0"in c&&n(3,u=c.data_0),"data_1"in c&&n(4,o=c.data_1)},a.$$.update=()=>{a.$$.dirty&768&&i.page.set(s)},[t,f,r,u,o,l,_,b,i,s,I,O,T]}class se extends V{constructor(e){super(),q(this,e,te,ee,U,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const re=[()=>S(()=>import("../nodes/0.22dae059.js"),["../nodes/0.22dae059.js","../chunks/index.9af7eb9c.js","../assets/0.15589e04.css"],import.meta.url),()=>S(()=>import("../nodes/1.10228fb3.js"),["../nodes/1.10228fb3.js","../chunks/index.9af7eb9c.js","../chunks/stores.67a820a9.js","../chunks/singletons.056f02de.js"],import.meta.url),()=>S(()=>import("../nodes/2.e4d6d6f0.js"),["../nodes/2.e4d6d6f0.js","../chunks/index.9af7eb9c.js","../chunks/stores.67a820a9.js","../chunks/singletons.056f02de.js"],import.meta.url)],oe=[],ae={"/":[2]},le={handleError:({error:a})=>{console.error(a)}};export{ae as dictionary,le as hooks,ie as matchers,re as nodes,se as root,oe as server_loads};
 
1
+ import{S as V,i as q,s as U,a as j,e as h,c as z,b as w,d as p,f as y,g as d,h as g,j as W,o as F,k as G,l as H,m as J,n as N,p as m,q as K,r as M,u as Q,v as L,w as P,x as k,y as v,z as A,A as E,B as R}from"../chunks/index.9af7eb9c.js";const X="modulepreload",Y=function(a,e){return new URL(a,e).href},B={},S=function(e,n,i){if(!n||n.length===0)return e();const s=document.getElementsByTagName("link");return Promise.all(n.map(f=>{if(f=Y(f,i),f in B)return;B[f]=!0;const t=f.endsWith(".css"),r=t?'[rel="stylesheet"]':"";if(!!i)for(let l=s.length-1;l>=0;l--){const _=s[l];if(_.href===f&&(!t||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${r}`))return;const o=document.createElement("link");if(o.rel=t?"stylesheet":X,t||(o.as="script",o.crossOrigin=""),o.href=f,document.head.appendChild(o),t)return new Promise((l,_)=>{o.addEventListener("load",l),o.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${f}`)))})})).then(()=>e())},ie={};function Z(a){let e,n,i;var s=a[1][0];function f(t){return{props:{data:t[3],form:t[2]}}}return s&&(e=k(s,f(a)),a[12](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&A(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),w(t,n,r),i=!0},p(t,r){const u={};if(r&8&&(u.data=t[3]),r&4&&(u.form=t[2]),r&2&&s!==(s=t[1][0])){if(e){L();const o=e;p(o.$$.fragment,1,0,()=>{R(o,1)}),y()}s?(e=k(s,f(t)),t[12](e),v(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else s&&e.$set(u)},i(t){i||(e&&d(e.$$.fragment,t),i=!0)},o(t){e&&p(e.$$.fragment,t),i=!1},d(t){a[12](null),t&&g(n),e&&R(e,t)}}}function $(a){let e,n,i;var s=a[1][0];function f(t){return{props:{data:t[3],$$slots:{default:[x]},$$scope:{ctx:t}}}}return s&&(e=k(s,f(a)),a[11](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&A(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),w(t,n,r),i=!0},p(t,r){const u={};if(r&8&&(u.data=t[3]),r&8215&&(u.$$scope={dirty:r,ctx:t}),r&2&&s!==(s=t[1][0])){if(e){L();const o=e;p(o.$$.fragment,1,0,()=>{R(o,1)}),y()}s?(e=k(s,f(t)),t[11](e),v(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else s&&e.$set(u)},i(t){i||(e&&d(e.$$.fragment,t),i=!0)},o(t){e&&p(e.$$.fragment,t),i=!1},d(t){a[11](null),t&&g(n),e&&R(e,t)}}}function x(a){let e,n,i;var s=a[1][1];function f(t){return{props:{data:t[4],form:t[2]}}}return s&&(e=k(s,f(a)),a[10](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&A(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),w(t,n,r),i=!0},p(t,r){const u={};if(r&16&&(u.data=t[4]),r&4&&(u.form=t[2]),r&2&&s!==(s=t[1][1])){if(e){L();const o=e;p(o.$$.fragment,1,0,()=>{R(o,1)}),y()}s?(e=k(s,f(t)),t[10](e),v(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else s&&e.$set(u)},i(t){i||(e&&d(e.$$.fragment,t),i=!0)},o(t){e&&p(e.$$.fragment,t),i=!1},d(t){a[10](null),t&&g(n),e&&R(e,t)}}}function C(a){let e,n=a[6]&&D(a);return{c(){e=G("div"),n&&n.c(),this.h()},l(i){e=H(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=J(e);n&&n.l(s),s.forEach(g),this.h()},h(){N(e,"id","svelte-announcer"),N(e,"aria-live","assertive"),N(e,"aria-atomic","true"),m(e,"position","absolute"),m(e,"left","0"),m(e,"top","0"),m(e,"clip","rect(0 0 0 0)"),m(e,"clip-path","inset(50%)"),m(e,"overflow","hidden"),m(e,"white-space","nowrap"),m(e,"width","1px"),m(e,"height","1px")},m(i,s){w(i,e,s),n&&n.m(e,null)},p(i,s){i[6]?n?n.p(i,s):(n=D(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&g(e),n&&n.d()}}}function D(a){let e;return{c(){e=K(a[7])},l(n){e=M(n,a[7])},m(n,i){w(n,e,i)},p(n,i){i&128&&Q(e,n[7])},d(n){n&&g(e)}}}function ee(a){let e,n,i,s,f;const t=[$,Z],r=[];function u(l,_){return l[1][1]?0:1}e=u(a),n=r[e]=t[e](a);let o=a[5]&&C(a);return{c(){n.c(),i=j(),o&&o.c(),s=h()},l(l){n.l(l),i=z(l),o&&o.l(l),s=h()},m(l,_){r[e].m(l,_),w(l,i,_),o&&o.m(l,_),w(l,s,_),f=!0},p(l,[_]){let b=e;e=u(l),e===b?r[e].p(l,_):(L(),p(r[b],1,1,()=>{r[b]=null}),y(),n=r[e],n?n.p(l,_):(n=r[e]=t[e](l),n.c()),d(n,1),n.m(i.parentNode,i)),l[5]?o?o.p(l,_):(o=C(l),o.c(),o.m(s.parentNode,s)):o&&(o.d(1),o=null)},i(l){f||(d(n),f=!0)},o(l){p(n),f=!1},d(l){r[e].d(l),l&&g(i),o&&o.d(l),l&&g(s)}}}function te(a,e,n){let{stores:i}=e,{page:s}=e,{constructors:f}=e,{components:t=[]}=e,{form:r}=e,{data_0:u=null}=e,{data_1:o=null}=e;W(i.page.notify);let l=!1,_=!1,b=null;F(()=>{const c=i.page.subscribe(()=>{l&&(n(6,_=!0),n(7,b=document.title||"untitled page"))});return n(5,l=!0),c});function I(c){P[c?"unshift":"push"](()=>{t[1]=c,n(0,t)})}function O(c){P[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}function T(c){P[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}return a.$$set=c=>{"stores"in c&&n(8,i=c.stores),"page"in c&&n(9,s=c.page),"constructors"in c&&n(1,f=c.constructors),"components"in c&&n(0,t=c.components),"form"in c&&n(2,r=c.form),"data_0"in c&&n(3,u=c.data_0),"data_1"in c&&n(4,o=c.data_1)},a.$$.update=()=>{a.$$.dirty&768&&i.page.set(s)},[t,f,r,u,o,l,_,b,i,s,I,O,T]}class se extends V{constructor(e){super(),q(this,e,te,ee,U,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const re=[()=>S(()=>import("../nodes/0.22dae059.js"),["../nodes/0.22dae059.js","../chunks/index.9af7eb9c.js","../assets/0.15589e04.css"],import.meta.url),()=>S(()=>import("../nodes/1.7a9a475b.js"),["../nodes/1.7a9a475b.js","../chunks/index.9af7eb9c.js","../chunks/stores.be116e24.js","../chunks/singletons.1f11d8d9.js"],import.meta.url),()=>S(()=>import("../nodes/2.ae94ff6d.js"),["../nodes/2.ae94ff6d.js","../chunks/index.9af7eb9c.js","../chunks/stores.be116e24.js","../chunks/singletons.1f11d8d9.js"],import.meta.url)],oe=[],ae={"/":[2]},le={handleError:({error:a})=>{console.error(a)}};export{ae as dictionary,le as hooks,ie as matchers,re as nodes,se as root,oe as server_loads};
build/_app/immutable/entry/{start.553f59e4.js β†’ start.d0a82aef.js} RENAMED
@@ -1,3 +1,3 @@
1
- import{o as Ce,t as ye}from"../chunks/index.9af7eb9c.js";import{S as Ge,a as Je,I as q,g as De,f as qe,b as we,c as le,s as V,i as _e,d as Q,e as J,P as Fe,h as We}from"../chunks/singletons.056f02de.js";function Xe(t,o){return t==="/"||o==="ignore"?t:o==="never"?t.endsWith("/")?t.slice(0,-1):t:o==="always"&&!t.endsWith("/")?t+"/":t}function Ze(t){return t.split("%25").map(decodeURI).join("%25")}function Qe(t){for(const o in t)t[o]=decodeURIComponent(t[o]);return t}const et=["href","pathname","search","searchParams","toString","toJSON"];function tt(t,o){const u=new URL(t);for(const i of et)Object.defineProperty(u,i,{get(){return o(),t[i]},enumerable:!0,configurable:!0});return nt(u),u}function nt(t){Object.defineProperty(t,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const at="/__data.json";function rt(t){return t.replace(/\/$/,"")+at}function Ke(t){try{return JSON.parse(sessionStorage[t])}catch{}}function Me(t,o){const u=JSON.stringify(o);try{sessionStorage[t]=u}catch{}}function ot(...t){let o=5381;for(const u of t)if(typeof u=="string"){let i=u.length;for(;i;)o=o*33^u.charCodeAt(--i)}else if(ArrayBuffer.isView(u)){const i=new Uint8Array(u.buffer,u.byteOffset,u.byteLength);let d=i.length;for(;d;)o=o*33^i[--d]}else throw new TypeError("value must be a string or TypedArray");return(o>>>0).toString(36)}const fe=window.fetch;window.fetch=(t,o)=>((t instanceof Request?t.method:(o==null?void 0:o.method)||"GET")!=="GET"&&te.delete(Se(t)),fe(t,o));const te=new Map;function it(t,o){const u=Se(t,o),i=document.querySelector(u);if(i!=null&&i.textContent){const{body:d,...f}=JSON.parse(i.textContent),S=i.getAttribute("data-ttl");return S&&te.set(u,{body:d,init:f,ttl:1e3*Number(S)}),Promise.resolve(new Response(d,f))}return fe(t,o)}function st(t,o,u){if(te.size>0){const i=Se(t,u),d=te.get(i);if(d){if(performance.now()<d.ttl&&["default","force-cache","only-if-cached",void 0].includes(u==null?void 0:u.cache))return new Response(d.body,d.init);te.delete(i)}}return fe(o,u)}function Se(t,o){let i=`script[data-sveltekit-fetched][data-url=${JSON.stringify(t instanceof Request?t.url:t)}]`;if(o!=null&&o.headers||o!=null&&o.body){const d=[];o.headers&&d.push([...new Headers(o.headers)].join(",")),o.body&&(typeof o.body=="string"||ArrayBuffer.isView(o.body))&&d.push(o.body),i+=`[data-hash="${ot(...d)}"]`}return i}const ct=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function lt(t){const o=[];return{pattern:t==="/"?/^\/$/:new RegExp(`^${ut(t).map(i=>{const d=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(i);if(d)return o.push({name:d[1],matcher:d[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const f=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(i);if(f)return o.push({name:f[1],matcher:f[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!i)return;const S=i.split(/\[(.+?)\](?!\])/);return"/"+S.map((b,w)=>{if(w%2){if(b.startsWith("x+"))return be(String.fromCharCode(parseInt(b.slice(2),16)));if(b.startsWith("u+"))return be(String.fromCharCode(...b.slice(2).split("-").map(P=>parseInt(P,16))));const p=ct.exec(b);if(!p)throw new Error(`Invalid param: ${b}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,C,N,k,T]=p;return o.push({name:k,matcher:T,optional:!!C,rest:!!N,chained:N?w===1&&S[0]==="":!1}),N?"(.*?)":C?"([^/]*)?":"([^/]+?)"}return be(b)}).join("")}).join("")}/?$`),params:o}}function ft(t){return!/^\([^)]+\)$/.test(t)}function ut(t){return t.slice(1).split("/").filter(ft)}function dt(t,o,u){const i={},d=t.slice(1);let f=0;for(let S=0;S<o.length;S+=1){const l=o[S],b=d[S-f];if(l.chained&&l.rest&&f){i[l.name]=d.slice(S-f,S+1).filter(w=>w).join("/"),f=0;continue}if(b===void 0){l.rest&&(i[l.name]="");continue}if(!l.matcher||u[l.matcher](b)){i[l.name]=b;const w=o[S+1],p=d[S+1];w&&!w.rest&&w.optional&&p&&(f=0);continue}if(l.optional&&l.chained){f++;continue}return}if(!f)return i}function be(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function pt({nodes:t,server_loads:o,dictionary:u,matchers:i}){const d=new Set(o);return Object.entries(u).map(([l,[b,w,p]])=>{const{pattern:C,params:N}=lt(l),k={id:l,exec:T=>{const P=C.exec(T);if(P)return dt(P,N,i)},errors:[1,...p||[]].map(T=>t[T]),layouts:[0,...w||[]].map(S),leaf:f(b)};return k.errors.length=k.layouts.length=Math.max(k.errors.length,k.layouts.length),k});function f(l){const b=l<0;return b&&(l=~l),[b,t[l]]}function S(l){return l===void 0?l:[d.has(l),t[l]]}}let ee=class{constructor(o,u){this.status=o,typeof u=="string"?this.body={message:u}:u?this.body=u:this.body={message:`Error: ${o}`}}toString(){return JSON.stringify(this.body)}},Ve=class{constructor(o,u){this.status=o,this.location=u}};async function ht(t){var o;for(const u in t)if(typeof((o=t[u])==null?void 0:o.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(t).map(async([i,d])=>[i,await d])));return t}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");const gt=-1,mt=-2,yt=-3,wt=-4,_t=-5,bt=-6;function vt(t,o){if(typeof t=="number")return d(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const u=t,i=Array(u.length);function d(f,S=!1){if(f===gt)return;if(f===yt)return NaN;if(f===wt)return 1/0;if(f===_t)return-1/0;if(f===bt)return-0;if(S)throw new Error("Invalid input");if(f in i)return i[f];const l=u[f];if(!l||typeof l!="object")i[f]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const b=l[0],w=o==null?void 0:o[b];if(w)return i[f]=w(d(l[1]));switch(b){case"Date":i[f]=new Date(l[1]);break;case"Set":const p=new Set;i[f]=p;for(let k=1;k<l.length;k+=1)p.add(d(l[k]));break;case"Map":const C=new Map;i[f]=C;for(let k=1;k<l.length;k+=2)C.set(d(l[k]),d(l[k+1]));break;case"RegExp":i[f]=new RegExp(l[1],l[2]);break;case"Object":i[f]=Object(l[1]);break;case"BigInt":i[f]=BigInt(l[1]);break;case"null":const N=Object.create(null);i[f]=N;for(let k=1;k<l.length;k+=2)N[l[k]]=d(l[k+1]);break;default:throw new Error(`Unknown type ${b}`)}}else{const b=new Array(l.length);i[f]=b;for(let w=0;w<l.length;w+=1){const p=l[w];p!==mt&&(b[w]=d(p))}}else{const b={};i[f]=b;for(const w in l){const p=l[w];b[w]=d(p)}}return i[f]}return d(0)}const ze=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ze];const Et=new Set([...ze,"actions"]);[...Et];function St(t){return t.filter(o=>o!=null)}const kt="x-sveltekit-invalidated",K=Ke(Ge)??{},Z=Ke(Je)??{};function ve(t){K[t]=Q()}function Rt(t,o){var xe;const u=pt(t),i=t.nodes[0],d=t.nodes[1];i(),d();const f=document.documentElement,S=[],l=[];let b=null;const w={before_navigate:[],after_navigate:[]};let p={branch:[],error:null,url:null},C=!1,N=!1,k=!0,T=!1,P=!1,z=!1,H=!1,F,j=(xe=history.state)==null?void 0:xe[q];j||(j=Date.now(),history.replaceState({...history.state,[q]:j},"",location.href));const ue=K[j];ue&&(history.scrollRestoration="manual",scrollTo(ue.x,ue.y));let M,ne,ae;async function ke(){ae=ae||Promise.resolve(),await ae,ae=null;const e=new URL(location.href),n=W(e,!0);b=null;const r=ne={},a=n&&await he(n);if(r===ne&&a){if(a.type==="redirect")return re(new URL(a.location,e).href,{},[e.pathname],r);a.props.page!==void 0&&(M=a.props.page),F.$set(a.props)}}function Re(e){l.some(n=>n==null?void 0:n.snapshot)&&(Z[e]=l.map(n=>{var r;return(r=n==null?void 0:n.snapshot)==null?void 0:r.capture()}))}function Ae(e){var n;(n=Z[e])==null||n.forEach((r,a)=>{var s,c;(c=(s=l[a])==null?void 0:s.snapshot)==null||c.restore(r)})}function Le(){ve(j),Me(Ge,K),Re(j),Me(Je,Z)}async function re(e,{noScroll:n=!1,replaceState:r=!1,keepFocus:a=!1,state:s={},invalidateAll:c=!1},g,m){return typeof e=="string"&&(e=new URL(e,De(document))),ce({url:e,scroll:n?Q():null,keepfocus:a,redirect_chain:g,details:{state:s,replaceState:r},nav_token:m,accepted:()=>{c&&(H=!0)},blocked:()=>{},type:"goto"})}async function Oe(e){return b={id:e.id,promise:he(e).then(n=>(n.type==="loaded"&&n.state.error&&(b=null),n))},b.promise}async function oe(...e){const r=u.filter(a=>e.some(s=>a.exec(s))).map(a=>Promise.all([...a.layouts,a.leaf].map(s=>s==null?void 0:s[1]())));await Promise.all(r)}function Ie(e){var a;p=e.state;const n=document.querySelector("style[data-sveltekit]");n&&n.remove(),M=e.props.page,F=new t.root({target:o,props:{...e.props,stores:V,components:l},hydrate:!0}),Ae(j);const r={from:null,to:{params:p.params,route:{id:((a=p.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter"};w.after_navigate.forEach(s=>s(r)),N=!0}async function Y({url:e,params:n,branch:r,status:a,error:s,route:c,form:g}){let m="never";for(const _ of r)(_==null?void 0:_.slash)!==void 0&&(m=_.slash);e.pathname=Xe(e.pathname,m),e.search=e.search;const v={type:"loaded",state:{url:e,params:n,branch:r,error:s,route:c},props:{constructors:St(r).map(_=>_.node.component)}};g!==void 0&&(v.props.form=g);let y={},R=!M,L=0;for(let _=0;_<Math.max(r.length,p.branch.length);_+=1){const h=r[_],U=p.branch[_];(h==null?void 0:h.data)!==(U==null?void 0:U.data)&&(R=!0),h&&(y={...y,...h.data},R&&(v.props[`data_${L}`]=y),L+=1)}return(!p.url||e.href!==p.url.href||p.error!==s||g!==void 0&&g!==M.form||R)&&(v.props.page={error:s,params:n,route:{id:(c==null?void 0:c.id)??null},status:a,url:new URL(e),form:g??null,data:R?y:M.data}),v}async function de({loader:e,parent:n,url:r,params:a,route:s,server_data_node:c}){var y,R,L;let g=null;const m={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1},v=await e();if((y=v.universal)!=null&&y.load){let I=function(...h){for(const U of h){const{href:x}=new URL(U,r);m.dependencies.add(x)}};const _={route:{get id(){return m.route=!0,s.id}},params:new Proxy(a,{get:(h,U)=>(m.params.add(U),h[U])}),data:(c==null?void 0:c.data)??null,url:tt(r,()=>{m.url=!0}),async fetch(h,U){let x;h instanceof Request?(x=h.url,U={body:h.method==="GET"||h.method==="HEAD"?void 0:await h.blob(),cache:h.cache,credentials:h.credentials,headers:h.headers,integrity:h.integrity,keepalive:h.keepalive,method:h.method,mode:h.mode,redirect:h.redirect,referrer:h.referrer,referrerPolicy:h.referrerPolicy,signal:h.signal,...U}):x=h;const D=new URL(x,r);return I(D.href),D.origin===r.origin&&(x=D.href.slice(r.origin.length)),N?st(x,D.href,U):it(x,U)},setHeaders:()=>{},depends:I,parent(){return m.parent=!0,n()}};g=await v.universal.load.call(null,_)??null,g=g?await ht(g):null}return{node:v,loader:e,server:c,universal:(R=v.universal)!=null&&R.load?{type:"data",data:g,uses:m}:null,data:g??(c==null?void 0:c.data)??null,slash:((L=v.universal)==null?void 0:L.trailingSlash)??(c==null?void 0:c.slash)}}function Pe(e,n,r,a,s){if(H)return!0;if(!a)return!1;if(a.parent&&e||a.route&&n||a.url&&r)return!0;for(const c of a.params)if(s[c]!==p.params[c])return!0;for(const c of a.dependencies)if(S.some(g=>g(new URL(c))))return!0;return!1}function pe(e,n){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?n??null:null}async function he({id:e,invalidating:n,url:r,params:a,route:s}){if((b==null?void 0:b.id)===e)return b.promise;const{errors:c,layouts:g,leaf:m}=s,v=[...g,m];c.forEach(E=>E==null?void 0:E().catch(()=>{})),v.forEach(E=>E==null?void 0:E[1]().catch(()=>{}));let y=null;const R=p.url?e!==p.url.pathname+p.url.search:!1,L=p.route?s.id!==p.route.id:!1;let I=!1;const _=v.map((E,O)=>{var G;const A=p.branch[O],$=!!(E!=null&&E[0])&&((A==null?void 0:A.loader)!==E[1]||Pe(I,L,R,(G=A.server)==null?void 0:G.uses,a));return $&&(I=!0),$});if(_.some(Boolean)){try{y=await He(r,_)}catch(E){return ie({status:E instanceof ee?E.status:500,error:await X(E,{url:r,params:a,route:{id:s.id}}),url:r,route:s})}if(y.type==="redirect")return y}const h=y==null?void 0:y.nodes;let U=!1;const x=v.map(async(E,O)=>{var ge;if(!E)return;const A=p.branch[O],$=h==null?void 0:h[O];if((!$||$.type==="skip")&&E[1]===(A==null?void 0:A.loader)&&!Pe(U,L,R,(ge=A.universal)==null?void 0:ge.uses,a))return A;if(U=!0,($==null?void 0:$.type)==="error")throw $;return de({loader:E[1],url:r,params:a,route:s,parent:async()=>{var $e;const je={};for(let me=0;me<O;me+=1)Object.assign(je,($e=await x[me])==null?void 0:$e.data);return je},server_data_node:pe($===void 0&&E[0]?{type:"skip"}:$??null,E[0]?A==null?void 0:A.server:void 0)})});for(const E of x)E.catch(()=>{});const D=[];for(let E=0;E<v.length;E+=1)if(v[E])try{D.push(await x[E])}catch(O){if(O instanceof Ve)return{type:"redirect",location:O.location};let A=500,$;if(h!=null&&h.includes(O))A=O.status??A,$=O.error;else if(O instanceof ee)A=O.status,$=O.body;else{if(await V.updated.check())return await B(r);$=await X(O,{params:a,url:r,route:{id:s.id}})}const G=await Ue(E,D,c);return G?await Y({url:r,params:a,branch:D.slice(0,G.idx).concat(G.node),status:A,error:$,route:s}):await Te(r,{id:s.id},$,A)}else D.push(void 0);return await Y({url:r,params:a,branch:D,status:200,error:null,route:s,form:n?void 0:null})}async function Ue(e,n,r){for(;e--;)if(r[e]){let a=e;for(;!n[a];)a-=1;try{return{idx:a+1,node:{node:await r[e](),loader:r[e],data:{},server:null,universal:null}}}catch{continue}}}async function ie({status:e,error:n,url:r,route:a}){const s={};let c=null;if(t.server_loads[0]===0)try{const y=await He(r,[!0]);if(y.type!=="data"||y.nodes[0]&&y.nodes[0].type!=="data")throw 0;c=y.nodes[0]??null}catch{(r.origin!==location.origin||r.pathname!==location.pathname||C)&&await B(r)}const m=await de({loader:i,url:r,params:s,route:a,parent:()=>Promise.resolve({}),server_data_node:pe(c)}),v={node:await d(),loader:d,universal:null,server:null,data:null};return await Y({url:r,params:s,branch:[m,v],status:e,error:n,route:null})}function W(e,n){if(_e(e,J))return;const r=se(e);for(const a of u){const s=a.exec(r);if(s)return{id:e.pathname+e.search,invalidating:n,route:a,params:Qe(s),url:e}}}function se(e){return Ze(e.pathname.slice(J.length)||"/")}function Ne({url:e,type:n,intent:r,delta:a}){var m,v;let s=!1;const c={from:{params:p.params,route:{id:((m=p.route)==null?void 0:m.id)??null},url:p.url},to:{params:(r==null?void 0:r.params)??null,route:{id:((v=r==null?void 0:r.route)==null?void 0:v.id)??null},url:e},willUnload:!r,type:n};a!==void 0&&(c.delta=a);const g={...c,cancel:()=>{s=!0}};return P||w.before_navigate.forEach(y=>y(g)),s?null:c}async function ce({url:e,scroll:n,keepfocus:r,redirect_chain:a,details:s,type:c,delta:g,nav_token:m={},accepted:v,blocked:y}){var x,D,E;const R=W(e,!1),L=Ne({url:e,type:c,delta:g,intent:R});if(!L){y();return}const I=j;v(),P=!0,N&&V.navigating.set(L),ne=m;let _=R&&await he(R);if(!_){if(_e(e,J))return await B(e);_=await Te(e,{id:null},await X(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(R==null?void 0:R.url)||e,ne!==m)return!1;if(_.type==="redirect")if(a.length>10||a.includes(e.pathname))_=await ie({status:500,error:await X(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return re(new URL(_.location,e).href,{},[...a,e.pathname],m),!1;else((x=_.props.page)==null?void 0:x.status)>=400&&await V.updated.check()&&await B(e);if(S.length=0,H=!1,T=!0,ve(I),Re(I),(D=_.props.page)!=null&&D.url&&_.props.page.url.pathname!==e.pathname&&(e.pathname=(E=_.props.page)==null?void 0:E.url.pathname),s){const O=s.replaceState?0:1;if(s.state[q]=j+=O,history[s.replaceState?"replaceState":"pushState"](s.state,"",e),!s.replaceState){let A=j+1;for(;Z[A]||K[A];)delete Z[A],delete K[A],A+=1}}b=null,N?(p=_.state,_.props.page&&(_.props.page.url=e),F.$set(_.props)):Ie(_);const{activeElement:h}=document;if(await ye(),k){const O=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));n?scrollTo(n.x,n.y):O?O.scrollIntoView():scrollTo(0,0)}const U=document.activeElement!==h&&document.activeElement!==document.body;!r&&!U&&Ee(),k=!0,_.props.page&&(M=_.props.page),P=!1,c==="popstate"&&Ae(j),w.after_navigate.forEach(O=>O(L)),V.navigating.set(null),T=!1}async function Te(e,n,r,a){return e.origin===location.origin&&e.pathname===location.pathname&&!C?await ie({status:a,error:r,url:e,route:n}):await B(e)}function B(e){return location.href=e.href,new Promise(()=>{})}function Ye(){let e;f.addEventListener("mousemove",c=>{const g=c.target;clearTimeout(e),e=setTimeout(()=>{a(g,2)},20)});function n(c){a(c.composedPath()[0],1)}f.addEventListener("mousedown",n),f.addEventListener("touchstart",n,{passive:!0});const r=new IntersectionObserver(c=>{for(const g of c)g.isIntersecting&&(oe(se(new URL(g.target.href))),r.unobserve(g.target))},{threshold:0});function a(c,g){const m=qe(c,f);if(!m)return;const{url:v,external:y,download:R}=we(m,J);if(y||R)return;const L=le(m);if(!L.reload)if(g<=L.preload_data){const I=W(v,!1);I&&Oe(I)}else g<=L.preload_code&&oe(se(v))}function s(){r.disconnect();for(const c of f.querySelectorAll("a")){const{url:g,external:m,download:v}=we(c,J);if(m||v)continue;const y=le(c);y.reload||(y.preload_code===Fe.viewport&&r.observe(c),y.preload_code===Fe.eager&&oe(se(g)))}}w.after_navigate.push(s),s()}function X(e,n){return e instanceof ee?e.body:t.hooks.handleError({error:e,event:n})??{message:n.route.id!=null?"Internal Error":"Not Found"}}return{after_navigate:e=>{Ce(()=>(w.after_navigate.push(e),()=>{const n=w.after_navigate.indexOf(e);w.after_navigate.splice(n,1)}))},before_navigate:e=>{Ce(()=>(w.before_navigate.push(e),()=>{const n=w.before_navigate.indexOf(e);w.before_navigate.splice(n,1)}))},disable_scroll_handling:()=>{(T||!N)&&(k=!1)},goto:(e,n={})=>re(e,n,[]),invalidate:e=>{if(typeof e=="function")S.push(e);else{const{href:n}=new URL(e,location.href);S.push(r=>r.href===n)}return ke()},invalidate_all:()=>(H=!0,ke()),preload_data:async e=>{const n=new URL(e,De(document)),r=W(n,!1);if(!r)throw new Error(`Attempted to preload a URL that does not belong to this app: ${n}`);await Oe(r)},preload_code:oe,apply_action:async e=>{if(e.type==="error"){const n=new URL(location.href),{branch:r,route:a}=p;if(!a)return;const s=await Ue(p.branch.length,r,a.errors);if(s){const c=await Y({url:n,params:p.params,branch:r.slice(0,s.idx).concat(s.node),status:e.status??500,error:e.error,route:a});p=c.state,F.$set(c.props),ye().then(Ee)}}else e.type==="redirect"?re(e.location,{invalidateAll:!0},[]):(F.$set({form:null,page:{...M,form:e.data,status:e.status}}),await ye(),F.$set({form:e.data}),e.type==="success"&&Ee())},_start_router:()=>{var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{var a;let r=!1;if(Le(),!P){const s={from:{params:p.params,route:{id:((a=p.route)==null?void 0:a.id)??null},url:p.url},to:null,willUnload:!0,type:"leave",cancel:()=>r=!0};w.before_navigate.forEach(c=>c(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Le()}),(e=navigator.connection)!=null&&e.saveData||Ye(),f.addEventListener("click",n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=qe(n.composedPath()[0],f);if(!r)return;const{url:a,external:s,target:c,download:g}=we(r,J);if(!a)return;if(c==="_parent"||c==="_top"){if(window.parent!==window)return}else if(c&&c!=="_self")return;const m=le(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||g)return;if(s||m.reload){Ne({url:a,type:"link"})?P=!0:n.preventDefault();return}const[y,R]=a.href.split("#");if(R!==void 0&&y===location.href.split("#")[0]){if(z=!0,ve(j),p.url=a,V.page.set({...M,url:a}),V.page.notify(),!m.replace_state)return;z=!1,n.preventDefault()}ce({url:a,scroll:m.noscroll?Q():null,keepfocus:m.keep_focus??!1,redirect_chain:[],details:{state:{},replaceState:m.replace_state??a.href===location.href},accepted:()=>n.preventDefault(),blocked:()=>n.preventDefault(),type:"link"})}),f.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formMethod)||r.method)!=="get")return;const c=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(_e(c,J))return;const g=n.target,{keep_focus:m,noscroll:v,reload:y,replace_state:R}=le(g);if(y)return;n.preventDefault(),n.stopPropagation();const L=new FormData(g),I=a==null?void 0:a.getAttribute("name");I&&L.append(I,(a==null?void 0:a.getAttribute("value"))??""),c.search=new URLSearchParams(L).toString(),ce({url:c,scroll:v?Q():null,keepfocus:m??!1,redirect_chain:[],details:{state:{},replaceState:R??c.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async n=>{var r;if((r=n.state)!=null&&r[q]){if(n.state[q]===j)return;const a=K[n.state[q]];if(p.url.href.split("#")[0]===location.href.split("#")[0]){K[j]=Q(),j=n.state[q],scrollTo(a.x,a.y);return}const s=n.state[q]-j;await ce({url:new URL(location.href),scroll:a,keepfocus:!1,redirect_chain:[],details:null,accepted:()=>{j=n.state[q]},blocked:()=>{history.go(-s)},type:"popstate",delta:s})}}),addEventListener("hashchange",()=>{z&&(z=!1,history.replaceState({...history.state,[q]:++j},"",location.href))});for(const n of document.querySelectorAll("link"))n.rel==="icon"&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&V.navigating.set(null)})},_hydrate:async({status:e=200,error:n,node_ids:r,params:a,route:s,data:c,form:g})=>{C=!0;const m=new URL(location.href);({params:a={},route:s={id:null}}=W(m,!1)||{});let v;try{const y=r.map(async(I,_)=>{const h=c[_];return h!=null&&h.uses&&(h.uses=Be(h.uses)),de({loader:t.nodes[I],url:m,params:a,route:s,parent:async()=>{const U={};for(let x=0;x<_;x+=1)Object.assign(U,(await y[x]).data);return U},server_data_node:pe(h)})}),R=await Promise.all(y),L=u.find(({id:I})=>I===s.id);if(L){const I=L.layouts;for(let _=0;_<I.length;_++)I[_]||R.splice(_,0,void 0)}v=await Y({url:m,params:a,branch:R,status:e,error:n,form:g,route:L??null})}catch(y){if(y instanceof Ve){await B(new URL(y.location,location.href));return}v=await ie({status:y instanceof ee?y.status:500,error:await X(y,{url:m,params:a,route:s}),url:m,route:s})}Ie(v)}}}async function He(t,o){const u=new URL(t);u.pathname=rt(t.pathname),u.searchParams.append(kt,o.map(d=>d?"1":"0").join(""));const i=await fe(u.href);if(!i.ok)throw new ee(i.status,await i.json());return new Promise(async d=>{var p;const f=new Map,S=i.body.getReader(),l=new TextDecoder;function b(C){return vt(C,{Promise:N=>new Promise((k,T)=>{f.set(N,{fulfil:k,reject:T})})})}let w="";for(;;){const{done:C,value:N}=await S.read();if(C&&!w)break;for(w+=!N&&w?`
2
  `:l.decode(N);;){const k=w.indexOf(`
3
  `);if(k===-1)break;const T=JSON.parse(w.slice(0,k));if(w=w.slice(k+1),T.type==="redirect")return d(T);if(T.type==="data")(p=T.nodes)==null||p.forEach(P=>{(P==null?void 0:P.type)==="data"&&(P.uses=Be(P.uses),P.data=b(P.data))}),d(T);else if(T.type==="chunk"){const{id:P,data:z,error:H}=T,F=f.get(P);f.delete(P),H?F.reject(b(H)):F.fulfil(b(z))}}}})}function Be(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url)}}function Ee(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const o=document.body,u=o.getAttribute("tabindex");o.tabIndex=-1,o.focus({preventScroll:!0,focusVisible:!1}),u!==null?o.setAttribute("tabindex",u):o.removeAttribute("tabindex");const i=getSelection();if(i&&i.type!=="None"){const d=[];for(let f=0;f<i.rangeCount;f+=1)d.push(i.getRangeAt(f));setTimeout(()=>{if(i.rangeCount===d.length){for(let f=0;f<i.rangeCount;f+=1){const S=d[f],l=i.getRangeAt(f);if(S.commonAncestorContainer!==l.commonAncestorContainer||S.startContainer!==l.startContainer||S.endContainer!==l.endContainer||S.startOffset!==l.startOffset||S.endOffset!==l.endOffset)return}i.removeAllRanges()}})}}}async function Pt(t,o,u){const i=Rt(t,o);We({client:i}),u?await i._hydrate(u):i.goto(location.href,{replaceState:!0}),i._start_router()}export{Pt as start};
 
1
+ import{o as Ce,t as ye}from"../chunks/index.9af7eb9c.js";import{S as Ge,a as Je,I as q,g as De,f as qe,b as we,c as le,s as V,i as _e,d as Q,e as J,P as Fe,h as We}from"../chunks/singletons.1f11d8d9.js";function Xe(t,o){return t==="/"||o==="ignore"?t:o==="never"?t.endsWith("/")?t.slice(0,-1):t:o==="always"&&!t.endsWith("/")?t+"/":t}function Ze(t){return t.split("%25").map(decodeURI).join("%25")}function Qe(t){for(const o in t)t[o]=decodeURIComponent(t[o]);return t}const et=["href","pathname","search","searchParams","toString","toJSON"];function tt(t,o){const u=new URL(t);for(const i of et)Object.defineProperty(u,i,{get(){return o(),t[i]},enumerable:!0,configurable:!0});return nt(u),u}function nt(t){Object.defineProperty(t,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const at="/__data.json";function rt(t){return t.replace(/\/$/,"")+at}function Ke(t){try{return JSON.parse(sessionStorage[t])}catch{}}function Me(t,o){const u=JSON.stringify(o);try{sessionStorage[t]=u}catch{}}function ot(...t){let o=5381;for(const u of t)if(typeof u=="string"){let i=u.length;for(;i;)o=o*33^u.charCodeAt(--i)}else if(ArrayBuffer.isView(u)){const i=new Uint8Array(u.buffer,u.byteOffset,u.byteLength);let d=i.length;for(;d;)o=o*33^i[--d]}else throw new TypeError("value must be a string or TypedArray");return(o>>>0).toString(36)}const fe=window.fetch;window.fetch=(t,o)=>((t instanceof Request?t.method:(o==null?void 0:o.method)||"GET")!=="GET"&&te.delete(Se(t)),fe(t,o));const te=new Map;function it(t,o){const u=Se(t,o),i=document.querySelector(u);if(i!=null&&i.textContent){const{body:d,...f}=JSON.parse(i.textContent),S=i.getAttribute("data-ttl");return S&&te.set(u,{body:d,init:f,ttl:1e3*Number(S)}),Promise.resolve(new Response(d,f))}return fe(t,o)}function st(t,o,u){if(te.size>0){const i=Se(t,u),d=te.get(i);if(d){if(performance.now()<d.ttl&&["default","force-cache","only-if-cached",void 0].includes(u==null?void 0:u.cache))return new Response(d.body,d.init);te.delete(i)}}return fe(o,u)}function Se(t,o){let i=`script[data-sveltekit-fetched][data-url=${JSON.stringify(t instanceof Request?t.url:t)}]`;if(o!=null&&o.headers||o!=null&&o.body){const d=[];o.headers&&d.push([...new Headers(o.headers)].join(",")),o.body&&(typeof o.body=="string"||ArrayBuffer.isView(o.body))&&d.push(o.body),i+=`[data-hash="${ot(...d)}"]`}return i}const ct=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function lt(t){const o=[];return{pattern:t==="/"?/^\/$/:new RegExp(`^${ut(t).map(i=>{const d=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(i);if(d)return o.push({name:d[1],matcher:d[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const f=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(i);if(f)return o.push({name:f[1],matcher:f[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!i)return;const S=i.split(/\[(.+?)\](?!\])/);return"/"+S.map((b,w)=>{if(w%2){if(b.startsWith("x+"))return be(String.fromCharCode(parseInt(b.slice(2),16)));if(b.startsWith("u+"))return be(String.fromCharCode(...b.slice(2).split("-").map(P=>parseInt(P,16))));const p=ct.exec(b);if(!p)throw new Error(`Invalid param: ${b}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,C,N,k,T]=p;return o.push({name:k,matcher:T,optional:!!C,rest:!!N,chained:N?w===1&&S[0]==="":!1}),N?"(.*?)":C?"([^/]*)?":"([^/]+?)"}return be(b)}).join("")}).join("")}/?$`),params:o}}function ft(t){return!/^\([^)]+\)$/.test(t)}function ut(t){return t.slice(1).split("/").filter(ft)}function dt(t,o,u){const i={},d=t.slice(1);let f=0;for(let S=0;S<o.length;S+=1){const l=o[S],b=d[S-f];if(l.chained&&l.rest&&f){i[l.name]=d.slice(S-f,S+1).filter(w=>w).join("/"),f=0;continue}if(b===void 0){l.rest&&(i[l.name]="");continue}if(!l.matcher||u[l.matcher](b)){i[l.name]=b;const w=o[S+1],p=d[S+1];w&&!w.rest&&w.optional&&p&&(f=0);continue}if(l.optional&&l.chained){f++;continue}return}if(!f)return i}function be(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function pt({nodes:t,server_loads:o,dictionary:u,matchers:i}){const d=new Set(o);return Object.entries(u).map(([l,[b,w,p]])=>{const{pattern:C,params:N}=lt(l),k={id:l,exec:T=>{const P=C.exec(T);if(P)return dt(P,N,i)},errors:[1,...p||[]].map(T=>t[T]),layouts:[0,...w||[]].map(S),leaf:f(b)};return k.errors.length=k.layouts.length=Math.max(k.errors.length,k.layouts.length),k});function f(l){const b=l<0;return b&&(l=~l),[b,t[l]]}function S(l){return l===void 0?l:[d.has(l),t[l]]}}let ee=class{constructor(o,u){this.status=o,typeof u=="string"?this.body={message:u}:u?this.body=u:this.body={message:`Error: ${o}`}}toString(){return JSON.stringify(this.body)}},Ve=class{constructor(o,u){this.status=o,this.location=u}};async function ht(t){var o;for(const u in t)if(typeof((o=t[u])==null?void 0:o.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(t).map(async([i,d])=>[i,await d])));return t}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");const gt=-1,mt=-2,yt=-3,wt=-4,_t=-5,bt=-6;function vt(t,o){if(typeof t=="number")return d(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const u=t,i=Array(u.length);function d(f,S=!1){if(f===gt)return;if(f===yt)return NaN;if(f===wt)return 1/0;if(f===_t)return-1/0;if(f===bt)return-0;if(S)throw new Error("Invalid input");if(f in i)return i[f];const l=u[f];if(!l||typeof l!="object")i[f]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const b=l[0],w=o==null?void 0:o[b];if(w)return i[f]=w(d(l[1]));switch(b){case"Date":i[f]=new Date(l[1]);break;case"Set":const p=new Set;i[f]=p;for(let k=1;k<l.length;k+=1)p.add(d(l[k]));break;case"Map":const C=new Map;i[f]=C;for(let k=1;k<l.length;k+=2)C.set(d(l[k]),d(l[k+1]));break;case"RegExp":i[f]=new RegExp(l[1],l[2]);break;case"Object":i[f]=Object(l[1]);break;case"BigInt":i[f]=BigInt(l[1]);break;case"null":const N=Object.create(null);i[f]=N;for(let k=1;k<l.length;k+=2)N[l[k]]=d(l[k+1]);break;default:throw new Error(`Unknown type ${b}`)}}else{const b=new Array(l.length);i[f]=b;for(let w=0;w<l.length;w+=1){const p=l[w];p!==mt&&(b[w]=d(p))}}else{const b={};i[f]=b;for(const w in l){const p=l[w];b[w]=d(p)}}return i[f]}return d(0)}const ze=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ze];const Et=new Set([...ze,"actions"]);[...Et];function St(t){return t.filter(o=>o!=null)}const kt="x-sveltekit-invalidated",K=Ke(Ge)??{},Z=Ke(Je)??{};function ve(t){K[t]=Q()}function Rt(t,o){var xe;const u=pt(t),i=t.nodes[0],d=t.nodes[1];i(),d();const f=document.documentElement,S=[],l=[];let b=null;const w={before_navigate:[],after_navigate:[]};let p={branch:[],error:null,url:null},C=!1,N=!1,k=!0,T=!1,P=!1,z=!1,H=!1,F,j=(xe=history.state)==null?void 0:xe[q];j||(j=Date.now(),history.replaceState({...history.state,[q]:j},"",location.href));const ue=K[j];ue&&(history.scrollRestoration="manual",scrollTo(ue.x,ue.y));let M,ne,ae;async function ke(){ae=ae||Promise.resolve(),await ae,ae=null;const e=new URL(location.href),n=W(e,!0);b=null;const r=ne={},a=n&&await he(n);if(r===ne&&a){if(a.type==="redirect")return re(new URL(a.location,e).href,{},[e.pathname],r);a.props.page!==void 0&&(M=a.props.page),F.$set(a.props)}}function Re(e){l.some(n=>n==null?void 0:n.snapshot)&&(Z[e]=l.map(n=>{var r;return(r=n==null?void 0:n.snapshot)==null?void 0:r.capture()}))}function Ae(e){var n;(n=Z[e])==null||n.forEach((r,a)=>{var s,c;(c=(s=l[a])==null?void 0:s.snapshot)==null||c.restore(r)})}function Le(){ve(j),Me(Ge,K),Re(j),Me(Je,Z)}async function re(e,{noScroll:n=!1,replaceState:r=!1,keepFocus:a=!1,state:s={},invalidateAll:c=!1},g,m){return typeof e=="string"&&(e=new URL(e,De(document))),ce({url:e,scroll:n?Q():null,keepfocus:a,redirect_chain:g,details:{state:s,replaceState:r},nav_token:m,accepted:()=>{c&&(H=!0)},blocked:()=>{},type:"goto"})}async function Oe(e){return b={id:e.id,promise:he(e).then(n=>(n.type==="loaded"&&n.state.error&&(b=null),n))},b.promise}async function oe(...e){const r=u.filter(a=>e.some(s=>a.exec(s))).map(a=>Promise.all([...a.layouts,a.leaf].map(s=>s==null?void 0:s[1]())));await Promise.all(r)}function Ie(e){var a;p=e.state;const n=document.querySelector("style[data-sveltekit]");n&&n.remove(),M=e.props.page,F=new t.root({target:o,props:{...e.props,stores:V,components:l},hydrate:!0}),Ae(j);const r={from:null,to:{params:p.params,route:{id:((a=p.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter"};w.after_navigate.forEach(s=>s(r)),N=!0}async function Y({url:e,params:n,branch:r,status:a,error:s,route:c,form:g}){let m="never";for(const _ of r)(_==null?void 0:_.slash)!==void 0&&(m=_.slash);e.pathname=Xe(e.pathname,m),e.search=e.search;const v={type:"loaded",state:{url:e,params:n,branch:r,error:s,route:c},props:{constructors:St(r).map(_=>_.node.component)}};g!==void 0&&(v.props.form=g);let y={},R=!M,L=0;for(let _=0;_<Math.max(r.length,p.branch.length);_+=1){const h=r[_],U=p.branch[_];(h==null?void 0:h.data)!==(U==null?void 0:U.data)&&(R=!0),h&&(y={...y,...h.data},R&&(v.props[`data_${L}`]=y),L+=1)}return(!p.url||e.href!==p.url.href||p.error!==s||g!==void 0&&g!==M.form||R)&&(v.props.page={error:s,params:n,route:{id:(c==null?void 0:c.id)??null},status:a,url:new URL(e),form:g??null,data:R?y:M.data}),v}async function de({loader:e,parent:n,url:r,params:a,route:s,server_data_node:c}){var y,R,L;let g=null;const m={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1},v=await e();if((y=v.universal)!=null&&y.load){let I=function(...h){for(const U of h){const{href:x}=new URL(U,r);m.dependencies.add(x)}};const _={route:{get id(){return m.route=!0,s.id}},params:new Proxy(a,{get:(h,U)=>(m.params.add(U),h[U])}),data:(c==null?void 0:c.data)??null,url:tt(r,()=>{m.url=!0}),async fetch(h,U){let x;h instanceof Request?(x=h.url,U={body:h.method==="GET"||h.method==="HEAD"?void 0:await h.blob(),cache:h.cache,credentials:h.credentials,headers:h.headers,integrity:h.integrity,keepalive:h.keepalive,method:h.method,mode:h.mode,redirect:h.redirect,referrer:h.referrer,referrerPolicy:h.referrerPolicy,signal:h.signal,...U}):x=h;const D=new URL(x,r);return I(D.href),D.origin===r.origin&&(x=D.href.slice(r.origin.length)),N?st(x,D.href,U):it(x,U)},setHeaders:()=>{},depends:I,parent(){return m.parent=!0,n()}};g=await v.universal.load.call(null,_)??null,g=g?await ht(g):null}return{node:v,loader:e,server:c,universal:(R=v.universal)!=null&&R.load?{type:"data",data:g,uses:m}:null,data:g??(c==null?void 0:c.data)??null,slash:((L=v.universal)==null?void 0:L.trailingSlash)??(c==null?void 0:c.slash)}}function Pe(e,n,r,a,s){if(H)return!0;if(!a)return!1;if(a.parent&&e||a.route&&n||a.url&&r)return!0;for(const c of a.params)if(s[c]!==p.params[c])return!0;for(const c of a.dependencies)if(S.some(g=>g(new URL(c))))return!0;return!1}function pe(e,n){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?n??null:null}async function he({id:e,invalidating:n,url:r,params:a,route:s}){if((b==null?void 0:b.id)===e)return b.promise;const{errors:c,layouts:g,leaf:m}=s,v=[...g,m];c.forEach(E=>E==null?void 0:E().catch(()=>{})),v.forEach(E=>E==null?void 0:E[1]().catch(()=>{}));let y=null;const R=p.url?e!==p.url.pathname+p.url.search:!1,L=p.route?s.id!==p.route.id:!1;let I=!1;const _=v.map((E,O)=>{var G;const A=p.branch[O],$=!!(E!=null&&E[0])&&((A==null?void 0:A.loader)!==E[1]||Pe(I,L,R,(G=A.server)==null?void 0:G.uses,a));return $&&(I=!0),$});if(_.some(Boolean)){try{y=await He(r,_)}catch(E){return ie({status:E instanceof ee?E.status:500,error:await X(E,{url:r,params:a,route:{id:s.id}}),url:r,route:s})}if(y.type==="redirect")return y}const h=y==null?void 0:y.nodes;let U=!1;const x=v.map(async(E,O)=>{var ge;if(!E)return;const A=p.branch[O],$=h==null?void 0:h[O];if((!$||$.type==="skip")&&E[1]===(A==null?void 0:A.loader)&&!Pe(U,L,R,(ge=A.universal)==null?void 0:ge.uses,a))return A;if(U=!0,($==null?void 0:$.type)==="error")throw $;return de({loader:E[1],url:r,params:a,route:s,parent:async()=>{var $e;const je={};for(let me=0;me<O;me+=1)Object.assign(je,($e=await x[me])==null?void 0:$e.data);return je},server_data_node:pe($===void 0&&E[0]?{type:"skip"}:$??null,E[0]?A==null?void 0:A.server:void 0)})});for(const E of x)E.catch(()=>{});const D=[];for(let E=0;E<v.length;E+=1)if(v[E])try{D.push(await x[E])}catch(O){if(O instanceof Ve)return{type:"redirect",location:O.location};let A=500,$;if(h!=null&&h.includes(O))A=O.status??A,$=O.error;else if(O instanceof ee)A=O.status,$=O.body;else{if(await V.updated.check())return await B(r);$=await X(O,{params:a,url:r,route:{id:s.id}})}const G=await Ue(E,D,c);return G?await Y({url:r,params:a,branch:D.slice(0,G.idx).concat(G.node),status:A,error:$,route:s}):await Te(r,{id:s.id},$,A)}else D.push(void 0);return await Y({url:r,params:a,branch:D,status:200,error:null,route:s,form:n?void 0:null})}async function Ue(e,n,r){for(;e--;)if(r[e]){let a=e;for(;!n[a];)a-=1;try{return{idx:a+1,node:{node:await r[e](),loader:r[e],data:{},server:null,universal:null}}}catch{continue}}}async function ie({status:e,error:n,url:r,route:a}){const s={};let c=null;if(t.server_loads[0]===0)try{const y=await He(r,[!0]);if(y.type!=="data"||y.nodes[0]&&y.nodes[0].type!=="data")throw 0;c=y.nodes[0]??null}catch{(r.origin!==location.origin||r.pathname!==location.pathname||C)&&await B(r)}const m=await de({loader:i,url:r,params:s,route:a,parent:()=>Promise.resolve({}),server_data_node:pe(c)}),v={node:await d(),loader:d,universal:null,server:null,data:null};return await Y({url:r,params:s,branch:[m,v],status:e,error:n,route:null})}function W(e,n){if(_e(e,J))return;const r=se(e);for(const a of u){const s=a.exec(r);if(s)return{id:e.pathname+e.search,invalidating:n,route:a,params:Qe(s),url:e}}}function se(e){return Ze(e.pathname.slice(J.length)||"/")}function Ne({url:e,type:n,intent:r,delta:a}){var m,v;let s=!1;const c={from:{params:p.params,route:{id:((m=p.route)==null?void 0:m.id)??null},url:p.url},to:{params:(r==null?void 0:r.params)??null,route:{id:((v=r==null?void 0:r.route)==null?void 0:v.id)??null},url:e},willUnload:!r,type:n};a!==void 0&&(c.delta=a);const g={...c,cancel:()=>{s=!0}};return P||w.before_navigate.forEach(y=>y(g)),s?null:c}async function ce({url:e,scroll:n,keepfocus:r,redirect_chain:a,details:s,type:c,delta:g,nav_token:m={},accepted:v,blocked:y}){var x,D,E;const R=W(e,!1),L=Ne({url:e,type:c,delta:g,intent:R});if(!L){y();return}const I=j;v(),P=!0,N&&V.navigating.set(L),ne=m;let _=R&&await he(R);if(!_){if(_e(e,J))return await B(e);_=await Te(e,{id:null},await X(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(R==null?void 0:R.url)||e,ne!==m)return!1;if(_.type==="redirect")if(a.length>10||a.includes(e.pathname))_=await ie({status:500,error:await X(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return re(new URL(_.location,e).href,{},[...a,e.pathname],m),!1;else((x=_.props.page)==null?void 0:x.status)>=400&&await V.updated.check()&&await B(e);if(S.length=0,H=!1,T=!0,ve(I),Re(I),(D=_.props.page)!=null&&D.url&&_.props.page.url.pathname!==e.pathname&&(e.pathname=(E=_.props.page)==null?void 0:E.url.pathname),s){const O=s.replaceState?0:1;if(s.state[q]=j+=O,history[s.replaceState?"replaceState":"pushState"](s.state,"",e),!s.replaceState){let A=j+1;for(;Z[A]||K[A];)delete Z[A],delete K[A],A+=1}}b=null,N?(p=_.state,_.props.page&&(_.props.page.url=e),F.$set(_.props)):Ie(_);const{activeElement:h}=document;if(await ye(),k){const O=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));n?scrollTo(n.x,n.y):O?O.scrollIntoView():scrollTo(0,0)}const U=document.activeElement!==h&&document.activeElement!==document.body;!r&&!U&&Ee(),k=!0,_.props.page&&(M=_.props.page),P=!1,c==="popstate"&&Ae(j),w.after_navigate.forEach(O=>O(L)),V.navigating.set(null),T=!1}async function Te(e,n,r,a){return e.origin===location.origin&&e.pathname===location.pathname&&!C?await ie({status:a,error:r,url:e,route:n}):await B(e)}function B(e){return location.href=e.href,new Promise(()=>{})}function Ye(){let e;f.addEventListener("mousemove",c=>{const g=c.target;clearTimeout(e),e=setTimeout(()=>{a(g,2)},20)});function n(c){a(c.composedPath()[0],1)}f.addEventListener("mousedown",n),f.addEventListener("touchstart",n,{passive:!0});const r=new IntersectionObserver(c=>{for(const g of c)g.isIntersecting&&(oe(se(new URL(g.target.href))),r.unobserve(g.target))},{threshold:0});function a(c,g){const m=qe(c,f);if(!m)return;const{url:v,external:y,download:R}=we(m,J);if(y||R)return;const L=le(m);if(!L.reload)if(g<=L.preload_data){const I=W(v,!1);I&&Oe(I)}else g<=L.preload_code&&oe(se(v))}function s(){r.disconnect();for(const c of f.querySelectorAll("a")){const{url:g,external:m,download:v}=we(c,J);if(m||v)continue;const y=le(c);y.reload||(y.preload_code===Fe.viewport&&r.observe(c),y.preload_code===Fe.eager&&oe(se(g)))}}w.after_navigate.push(s),s()}function X(e,n){return e instanceof ee?e.body:t.hooks.handleError({error:e,event:n})??{message:n.route.id!=null?"Internal Error":"Not Found"}}return{after_navigate:e=>{Ce(()=>(w.after_navigate.push(e),()=>{const n=w.after_navigate.indexOf(e);w.after_navigate.splice(n,1)}))},before_navigate:e=>{Ce(()=>(w.before_navigate.push(e),()=>{const n=w.before_navigate.indexOf(e);w.before_navigate.splice(n,1)}))},disable_scroll_handling:()=>{(T||!N)&&(k=!1)},goto:(e,n={})=>re(e,n,[]),invalidate:e=>{if(typeof e=="function")S.push(e);else{const{href:n}=new URL(e,location.href);S.push(r=>r.href===n)}return ke()},invalidate_all:()=>(H=!0,ke()),preload_data:async e=>{const n=new URL(e,De(document)),r=W(n,!1);if(!r)throw new Error(`Attempted to preload a URL that does not belong to this app: ${n}`);await Oe(r)},preload_code:oe,apply_action:async e=>{if(e.type==="error"){const n=new URL(location.href),{branch:r,route:a}=p;if(!a)return;const s=await Ue(p.branch.length,r,a.errors);if(s){const c=await Y({url:n,params:p.params,branch:r.slice(0,s.idx).concat(s.node),status:e.status??500,error:e.error,route:a});p=c.state,F.$set(c.props),ye().then(Ee)}}else e.type==="redirect"?re(e.location,{invalidateAll:!0},[]):(F.$set({form:null,page:{...M,form:e.data,status:e.status}}),await ye(),F.$set({form:e.data}),e.type==="success"&&Ee())},_start_router:()=>{var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{var a;let r=!1;if(Le(),!P){const s={from:{params:p.params,route:{id:((a=p.route)==null?void 0:a.id)??null},url:p.url},to:null,willUnload:!0,type:"leave",cancel:()=>r=!0};w.before_navigate.forEach(c=>c(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Le()}),(e=navigator.connection)!=null&&e.saveData||Ye(),f.addEventListener("click",n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=qe(n.composedPath()[0],f);if(!r)return;const{url:a,external:s,target:c,download:g}=we(r,J);if(!a)return;if(c==="_parent"||c==="_top"){if(window.parent!==window)return}else if(c&&c!=="_self")return;const m=le(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||g)return;if(s||m.reload){Ne({url:a,type:"link"})?P=!0:n.preventDefault();return}const[y,R]=a.href.split("#");if(R!==void 0&&y===location.href.split("#")[0]){if(z=!0,ve(j),p.url=a,V.page.set({...M,url:a}),V.page.notify(),!m.replace_state)return;z=!1,n.preventDefault()}ce({url:a,scroll:m.noscroll?Q():null,keepfocus:m.keep_focus??!1,redirect_chain:[],details:{state:{},replaceState:m.replace_state??a.href===location.href},accepted:()=>n.preventDefault(),blocked:()=>n.preventDefault(),type:"link"})}),f.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formMethod)||r.method)!=="get")return;const c=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(_e(c,J))return;const g=n.target,{keep_focus:m,noscroll:v,reload:y,replace_state:R}=le(g);if(y)return;n.preventDefault(),n.stopPropagation();const L=new FormData(g),I=a==null?void 0:a.getAttribute("name");I&&L.append(I,(a==null?void 0:a.getAttribute("value"))??""),c.search=new URLSearchParams(L).toString(),ce({url:c,scroll:v?Q():null,keepfocus:m??!1,redirect_chain:[],details:{state:{},replaceState:R??c.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async n=>{var r;if((r=n.state)!=null&&r[q]){if(n.state[q]===j)return;const a=K[n.state[q]];if(p.url.href.split("#")[0]===location.href.split("#")[0]){K[j]=Q(),j=n.state[q],scrollTo(a.x,a.y);return}const s=n.state[q]-j;await ce({url:new URL(location.href),scroll:a,keepfocus:!1,redirect_chain:[],details:null,accepted:()=>{j=n.state[q]},blocked:()=>{history.go(-s)},type:"popstate",delta:s})}}),addEventListener("hashchange",()=>{z&&(z=!1,history.replaceState({...history.state,[q]:++j},"",location.href))});for(const n of document.querySelectorAll("link"))n.rel==="icon"&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&V.navigating.set(null)})},_hydrate:async({status:e=200,error:n,node_ids:r,params:a,route:s,data:c,form:g})=>{C=!0;const m=new URL(location.href);({params:a={},route:s={id:null}}=W(m,!1)||{});let v;try{const y=r.map(async(I,_)=>{const h=c[_];return h!=null&&h.uses&&(h.uses=Be(h.uses)),de({loader:t.nodes[I],url:m,params:a,route:s,parent:async()=>{const U={};for(let x=0;x<_;x+=1)Object.assign(U,(await y[x]).data);return U},server_data_node:pe(h)})}),R=await Promise.all(y),L=u.find(({id:I})=>I===s.id);if(L){const I=L.layouts;for(let _=0;_<I.length;_++)I[_]||R.splice(_,0,void 0)}v=await Y({url:m,params:a,branch:R,status:e,error:n,form:g,route:L??null})}catch(y){if(y instanceof Ve){await B(new URL(y.location,location.href));return}v=await ie({status:y instanceof ee?y.status:500,error:await X(y,{url:m,params:a,route:s}),url:m,route:s})}Ie(v)}}}async function He(t,o){const u=new URL(t);u.pathname=rt(t.pathname),u.searchParams.append(kt,o.map(d=>d?"1":"0").join(""));const i=await fe(u.href);if(!i.ok)throw new ee(i.status,await i.json());return new Promise(async d=>{var p;const f=new Map,S=i.body.getReader(),l=new TextDecoder;function b(C){return vt(C,{Promise:N=>new Promise((k,T)=>{f.set(N,{fulfil:k,reject:T})})})}let w="";for(;;){const{done:C,value:N}=await S.read();if(C&&!w)break;for(w+=!N&&w?`
2
  `:l.decode(N);;){const k=w.indexOf(`
3
  `);if(k===-1)break;const T=JSON.parse(w.slice(0,k));if(w=w.slice(k+1),T.type==="redirect")return d(T);if(T.type==="data")(p=T.nodes)==null||p.forEach(P=>{(P==null?void 0:P.type)==="data"&&(P.uses=Be(P.uses),P.data=b(P.data))}),d(T);else if(T.type==="chunk"){const{id:P,data:z,error:H}=T,F=f.get(P);f.delete(P),H?F.reject(b(H)):F.fulfil(b(z))}}}})}function Be(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url)}}function Ee(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const o=document.body,u=o.getAttribute("tabindex");o.tabIndex=-1,o.focus({preventScroll:!0,focusVisible:!1}),u!==null?o.setAttribute("tabindex",u):o.removeAttribute("tabindex");const i=getSelection();if(i&&i.type!=="None"){const d=[];for(let f=0;f<i.rangeCount;f+=1)d.push(i.getRangeAt(f));setTimeout(()=>{if(i.rangeCount===d.length){for(let f=0;f<i.rangeCount;f+=1){const S=d[f],l=i.getRangeAt(f);if(S.commonAncestorContainer!==l.commonAncestorContainer||S.startContainer!==l.startContainer||S.endContainer!==l.endContainer||S.startOffset!==l.startOffset||S.endOffset!==l.endOffset)return}i.removeAllRanges()}})}}}async function Pt(t,o,u){const i=Rt(t,o);We({client:i}),u?await i._hydrate(u):i.goto(location.href,{replaceState:!0}),i._start_router()}export{Pt as start};
build/_app/immutable/nodes/{1.10228fb3.js β†’ 1.7a9a475b.js} RENAMED
@@ -1 +1 @@
1
- import{S as x,i as H,s as S,k as u,q as h,a as g,l as d,m as v,r as b,h as m,c as k,b as _,G as E,u as $,H as q,I as y}from"../chunks/index.9af7eb9c.js";import{p as C}from"../chunks/stores.67a820a9.js";function G(l){var f;let a,t=l[0].status+"",r,o,n,p=((f=l[0].error)==null?void 0:f.message)+"",c;return{c(){a=u("h1"),r=h(t),o=g(),n=u("p"),c=h(p)},l(e){a=d(e,"H1",{});var s=v(a);r=b(s,t),s.forEach(m),o=k(e),n=d(e,"P",{});var i=v(n);c=b(i,p),i.forEach(m)},m(e,s){_(e,a,s),E(a,r),_(e,o,s),_(e,n,s),E(n,c)},p(e,[s]){var i;s&1&&t!==(t=e[0].status+"")&&$(r,t),s&1&&p!==(p=((i=e[0].error)==null?void 0:i.message)+"")&&$(c,p)},i:q,o:q,d(e){e&&m(a),e&&m(o),e&&m(n)}}}function I(l,a,t){let r;return y(l,C,o=>t(0,r=o)),[r]}class w extends x{constructor(a){super(),H(this,a,I,G,S,{})}}export{w as component};
 
1
+ import{S as x,i as H,s as S,k as u,q as h,a as g,l as d,m as v,r as b,h as m,c as k,b as _,G as E,u as $,H as q,I as y}from"../chunks/index.9af7eb9c.js";import{p as C}from"../chunks/stores.be116e24.js";function G(l){var f;let a,t=l[0].status+"",r,o,n,p=((f=l[0].error)==null?void 0:f.message)+"",c;return{c(){a=u("h1"),r=h(t),o=g(),n=u("p"),c=h(p)},l(e){a=d(e,"H1",{});var s=v(a);r=b(s,t),s.forEach(m),o=k(e),n=d(e,"P",{});var i=v(n);c=b(i,p),i.forEach(m)},m(e,s){_(e,a,s),E(a,r),_(e,o,s),_(e,n,s),E(n,c)},p(e,[s]){var i;s&1&&t!==(t=e[0].status+"")&&$(r,t),s&1&&p!==(p=((i=e[0].error)==null?void 0:i.message)+"")&&$(c,p)},i:q,o:q,d(e){e&&m(a),e&&m(o),e&&m(n)}}}function I(l,a,t){let r;return y(l,C,o=>t(0,r=o)),[r]}class w extends x{constructor(a){super(),H(this,a,I,G,S,{})}}export{w as component};
build/_app/immutable/nodes/{2.e4d6d6f0.js β†’ 2.ae94ff6d.js} RENAMED
@@ -1,4 +1,4 @@
1
- import{S as Zr,i as Jr,s as ti,k as U,l as Y,m as G,h as I,n as A,p as ke,b as ie,J as rn,H as Ar,K as nn,a as bt,q as _t,c as wt,r as ct,L as ei,G as D,g as Ce,f as sn,d as Ze,M as an,I as on,o as un,y as fn,z as ln,A as hn,B as _n,N as cn,O as dn,u as pn,v as mn}from"../chunks/index.9af7eb9c.js";import{p as gn}from"../chunks/stores.67a820a9.js";function Mt(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function ri(u,t){u.prototype=Object.create(t.prototype),u.prototype.constructor=u,u.__proto__=t}/*!
2
  * GSAP 3.12.2
3
  * https://greensock.com
4
  *
@@ -14,7 +14,7 @@ import{S as Zr,i as Jr,s as ti,k as U,l as Y,m as G,h as I,n as A,p as ke,b as i
14
  * Subject to the terms at https://greensock.com/standard-license or for
15
  * Club GreenSock members, the agreement issued with that membership.
16
  * @author: Jack Doyle, jack@greensock.com
17
- */var Vr,zt,se,Or,Wt,Nr,Cr,ls=function(){return typeof window<"u"},Et={},Gt=180/Math.PI,ae=Math.PI/180,te=Math.atan2,Ur=1e8,Mr=/([A-Z])/g,hs=/(left|right|width|margin|padding|x)/i,_s=/[\s,\(]\S/,Pt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},lr=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},cs=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},ds=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},ps=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},qi=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Gi=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},ms=function(t,e,r){return t.style[e]=r},gs=function(t,e,r){return t.style.setProperty(e,r)},ys=function(t,e,r){return t._gsap[e]=r},xs=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},vs=function(t,e,r,i,n){var s=t._gsap;s.scaleX=s.scaleY=r,s.renderTransform(n,s)},Ts=function(t,e,r,i,n){var s=t._gsap;s[e]=r,s.renderTransform(n,s)},q="transform",yt=q+"Origin",bs=function u(t,e){var r=this,i=this.target,n=i.style;if(t in Et&&n){if(this.tfm=this.tfm||{},t!=="transform")t=Pt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(s){return r.tfm[s]=Dt(i,s)}):this.tfm[t]=i._gsap.x?i._gsap[t]:Dt(i,t);else return Pt.transform.split(",").forEach(function(s){return u.call(r,s,e)});if(this.props.indexOf(q)>=0)return;i._gsap.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(yt,e,"")),t=q}(n||e)&&this.props.push(t,e,n[t])},Wi=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},ws=function(){var t=this.props,e=this.target,r=e.style,i=e._gsap,n,s;for(n=0;n<t.length;n+=3)t[n+1]?e[t[n]]=t[n+2]:t[n+2]?r[t[n]]=t[n+2]:r.removeProperty(t[n].substr(0,2)==="--"?t[n]:t[n].replace(Mr,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)i[s]=this.tfm[s];i.svg&&(i.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),n=Cr(),(!n||!n.isStart)&&!r[q]&&(Wi(r),i.uncache=1)}},$i=function(t,e){var r={target:t,props:[],revert:ws,save:bs};return t._gsap||st.core.getCache(t),e&&e.split(",").forEach(function(i){return r.save(i)}),r},ji,hr=function(t,e){var r=zt.createElementNS?zt.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):zt.createElement(t);return r.style?r:zt.createElement(t)},kt=function u(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(Mr,"-$1").toLowerCase())||i.getPropertyValue(e)||!r&&u(t,he(e)||e,1)||""},Yr="O,Moz,ms,Ms,Webkit".split(","),he=function(t,e,r){var i=e||Wt,n=i.style,s=5;if(t in n&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(Yr[s]+t in n););return s<0?null:(s===3?"ms":s>=0?Yr[s]:"")+t},_r=function(){ls()&&window.document&&(Vr=window,zt=Vr.document,se=zt.documentElement,Wt=hr("div")||{style:{}},hr("div"),q=he(q),yt=q+"Origin",Wt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ji=!!he("perspective"),Cr=st.core.reverting,Or=1)},Ke=function u(t){var e=hr("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,i=this.nextSibling,n=this.style.cssText,s;if(se.appendChild(e),e.appendChild(this),this.style.display="block",t)try{s=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=u}catch{}else this._gsapBBox&&(s=this._gsapBBox());return r&&(i?r.insertBefore(this,i):r.appendChild(this)),se.removeChild(e),this.style.cssText=n,s},Xr=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},Hi=function(t){var e;try{e=t.getBBox()}catch{e=Ke.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Ke||(e=Ke.call(t,!0)),e&&!e.width&&!e.x&&!e.y?{x:+Xr(t,["x","cx","x1"])||0,y:+Xr(t,["y","cy","y1"])||0,width:0,height:0}:e},Ki=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Hi(t))},be=function(t,e){if(e){var r=t.style;e in Et&&e!==yt&&(e=q),r.removeProperty?((e.substr(0,2)==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),r.removeProperty(e.replace(Mr,"-$1").toLowerCase())):r.removeAttribute(e)}},It=function(t,e,r,i,n,s){var a=new nt(t._pt,e,r,0,1,s?Gi:qi);return t._pt=a,a.b=i,a.e=n,t._props.push(r),a},qr={deg:1,rad:1,turn:1},Ss={grid:1,flex:1},Nt=function u(t,e,r,i){var n=parseFloat(r)||0,s=(r+"").trim().substr((n+"").length)||"px",a=Wt.style,o=hs.test(e),f=t.tagName.toLowerCase()==="svg",l=(f?"client":"offset")+(o?"Width":"Height"),c=100,_=i==="px",d=i==="%",p,h,m,x;return i===s||!n||qr[i]||qr[s]?n:(s!=="px"&&!_&&(n=u(t,e,r,"px")),x=t.getCTM&&Ki(t),(d||s==="%")&&(Et[e]||~e.indexOf("adius"))?(p=x?t.getBBox()[o?"width":"height"]:t[l],j(d?n/p*c:n/100*p)):(a[o?"width":"height"]=c+(_?s:i),h=~e.indexOf("adius")||i==="em"&&t.appendChild&&!f?t:t.parentNode,x&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===zt||!h.appendChild)&&(h=zt.body),m=h._gsap,m&&d&&m.width&&o&&m.time===ot.time&&!m.uncache?j(n/m.width*c):((d||s==="%")&&!Ss[kt(h,"display")]&&(a.position=kt(t,"position")),h===t&&(a.position="static"),h.appendChild(Wt),p=Wt[l],h.removeChild(Wt),a.position="absolute",o&&d&&(m=$t(h),m.time=ot.time,m.width=h[l]),j(_?p*n/c:p&&n?c/p*n:0))))},Dt=function(t,e,r,i){var n;return Or||_r(),e in Pt&&e!=="transform"&&(e=Pt[e],~e.indexOf(",")&&(e=e.split(",")[0])),Et[e]&&e!=="transform"?(n=Se(t,i),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:Ve(kt(t,yt))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||i||~(n+"").indexOf("calc("))&&(n=Be[e]&&Be[e](t,e,r)||kt(t,e)||_i(t,e)||(e==="opacity"?1:0))),r&&!~(n+"").trim().indexOf(" ")?Nt(t,e,n,r)+r:n},Ps=function(t,e,r,i){if(!r||r==="none"){var n=he(e,t,1),s=n&&kt(t,n,1);s&&s!==r?(e=n,r=s):e==="borderColor"&&(r=kt(t,"borderTopColor"))}var a=new nt(this._pt,t.style,e,0,1,Ui),o=0,f=0,l,c,_,d,p,h,m,x,g,y,T,v;if(a.b=r,a.e=i,r+="",i+="",i==="auto"&&(t.style[e]=i,i=kt(t,e)||i,t.style[e]=r),l=[r,i],Ai(l),r=l[0],i=l[1],_=r.match(ee)||[],v=i.match(ee)||[],v.length){for(;c=ee.exec(i);)m=c[0],g=i.substring(o,c.index),p?p=(p+1)%5:(g.substr(-5)==="rgba("||g.substr(-5)==="hsla(")&&(p=1),m!==(h=_[f++]||"")&&(d=parseFloat(h)||0,T=h.substr((d+"").length),m.charAt(1)==="="&&(m=ne(d,m)+T),x=parseFloat(m),y=m.substr((x+"").length),o=ee.lastIndex-y.length,y||(y=y||ut.units[e]||T,o===i.length&&(i+=y,a.e+=y)),T!==y&&(d=Nt(t,e,h,y)||0),a._pt={_next:a._pt,p:g||f===1?g:",",s:d,c:x-d,m:p&&p<4||e==="zIndex"?Math.round:0});a.c=o<i.length?i.substring(o,i.length):""}else a.r=e==="display"&&i==="none"?Gi:qi;return ai.test(i)&&(a.e=0),this._pt=a,a},Gr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},ks=function(t){var e=t.split(" "),r=e[0],i=e[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(t=r,r=i,i=t),e[0]=Gr[r]||r,e[1]=Gr[i]||i,e.join(" ")},Os=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r=e.t,i=r.style,n=e.u,s=r._gsap,a,o,f;if(n==="all"||n===!0)i.cssText="",o=1;else for(n=n.split(","),f=n.length;--f>-1;)a=n[f],Et[a]&&(o=1,a=a==="transformOrigin"?yt:q),be(r,a);o&&(be(r,q),s&&(s.svg&&r.removeAttribute("transform"),Se(r,1),s.uncache=1,Wi(i)))}},Be={clearProps:function(t,e,r,i,n){if(n.data!=="isFromStart"){var s=t._pt=new nt(t._pt,e,r,0,0,Os);return s.u=i,s.pr=-10,s.tween=n,t._props.push(r),1}}},we=[1,0,0,1,0,0],Qi={},Zi=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Wr=function(t){var e=kt(t,q);return Zi(e)?we:e.substr(7).match(si).map(j)},Dr=function(t,e){var r=t._gsap||$t(t),i=t.style,n=Wr(t),s,a,o,f;return r.svg&&t.getAttribute("transform")?(o=t.transform.baseVal.consolidate().matrix,n=[o.a,o.b,o.c,o.d,o.e,o.f],n.join(",")==="1,0,0,1,0,0"?we:n):(n===we&&!t.offsetParent&&t!==se&&!r.svg&&(o=i.display,i.display="block",s=t.parentNode,(!s||!t.offsetParent)&&(f=1,a=t.nextElementSibling,se.appendChild(t)),n=Wr(t),o?i.display=o:be(t,"display"),f&&(a?s.insertBefore(t,a):s?s.appendChild(t):se.removeChild(t))),e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},cr=function(t,e,r,i,n,s){var a=t._gsap,o=n||Dr(t,!0),f=a.xOrigin||0,l=a.yOrigin||0,c=a.xOffset||0,_=a.yOffset||0,d=o[0],p=o[1],h=o[2],m=o[3],x=o[4],g=o[5],y=e.split(" "),T=parseFloat(y[0])||0,v=parseFloat(y[1])||0,S,P,w,b;r?o!==we&&(P=d*m-p*h)&&(w=T*(m/P)+v*(-h/P)+(h*g-m*x)/P,b=T*(-p/P)+v*(d/P)-(d*g-p*x)/P,T=w,v=b):(S=Hi(t),T=S.x+(~y[0].indexOf("%")?T/100*S.width:T),v=S.y+(~(y[1]||y[0]).indexOf("%")?v/100*S.height:v)),i||i!==!1&&a.smooth?(x=T-f,g=v-l,a.xOffset=c+(x*d+g*h)-x,a.yOffset=_+(x*p+g*m)-g):a.xOffset=a.yOffset=0,a.xOrigin=T,a.yOrigin=v,a.smooth=!!i,a.origin=e,a.originIsAbsolute=!!r,t.style[yt]="0px 0px",s&&(It(s,a,"xOrigin",f,T),It(s,a,"yOrigin",l,v),It(s,a,"xOffset",c,a.xOffset),It(s,a,"yOffset",_,a.yOffset)),t.setAttribute("data-svg-origin",T+" "+v)},Se=function(t,e){var r=t._gsap||new zi(t);if("x"in r&&!e&&!r.uncache)return r;var i=t.style,n=r.scaleX<0,s="px",a="deg",o=getComputedStyle(t),f=kt(t,yt)||"0",l,c,_,d,p,h,m,x,g,y,T,v,S,P,w,b,k,z,E,R,O,C,M,V,N,xt,vt,Rt,Tt,Jt,Ct,Yt;return l=c=_=h=m=x=g=y=T=0,d=p=1,r.svg=!!(t.getCTM&&Ki(t)),o.translate&&((o.translate!=="none"||o.scale!=="none"||o.rotate!=="none")&&(i[q]=(o.translate!=="none"?"translate3d("+(o.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(o.rotate!=="none"?"rotate("+o.rotate+") ":"")+(o.scale!=="none"?"scale("+o.scale.split(" ").join(",")+") ":"")+(o[q]!=="none"?o[q]:"")),i.scale=i.rotate=i.translate="none"),P=Dr(t,r.svg),r.svg&&(r.uncache?(N=t.getBBox(),f=r.xOrigin-N.x+"px "+(r.yOrigin-N.y)+"px",V=""):V=!e&&t.getAttribute("data-svg-origin"),cr(t,V||f,!!V||r.originIsAbsolute,r.smooth!==!1,P)),v=r.xOrigin||0,S=r.yOrigin||0,P!==we&&(z=P[0],E=P[1],R=P[2],O=P[3],l=C=P[4],c=M=P[5],P.length===6?(d=Math.sqrt(z*z+E*E),p=Math.sqrt(O*O+R*R),h=z||E?te(E,z)*Gt:0,g=R||O?te(R,O)*Gt+h:0,g&&(p*=Math.abs(Math.cos(g*ae))),r.svg&&(l-=v-(v*z+S*R),c-=S-(v*E+S*O))):(Yt=P[6],Jt=P[7],vt=P[8],Rt=P[9],Tt=P[10],Ct=P[11],l=P[12],c=P[13],_=P[14],w=te(Yt,Tt),m=w*Gt,w&&(b=Math.cos(-w),k=Math.sin(-w),V=C*b+vt*k,N=M*b+Rt*k,xt=Yt*b+Tt*k,vt=C*-k+vt*b,Rt=M*-k+Rt*b,Tt=Yt*-k+Tt*b,Ct=Jt*-k+Ct*b,C=V,M=N,Yt=xt),w=te(-R,Tt),x=w*Gt,w&&(b=Math.cos(-w),k=Math.sin(-w),V=z*b-vt*k,N=E*b-Rt*k,xt=R*b-Tt*k,Ct=O*k+Ct*b,z=V,E=N,R=xt),w=te(E,z),h=w*Gt,w&&(b=Math.cos(w),k=Math.sin(w),V=z*b+E*k,N=C*b+M*k,E=E*b-z*k,M=M*b-C*k,z=V,C=N),m&&Math.abs(m)+Math.abs(h)>359.9&&(m=h=0,x=180-x),d=j(Math.sqrt(z*z+E*E+R*R)),p=j(Math.sqrt(M*M+Yt*Yt)),w=te(C,M),g=Math.abs(w)>2e-4?w*Gt:0,T=Ct?1/(Ct<0?-Ct:Ct):0),r.svg&&(V=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!Zi(kt(t,q)),V&&t.setAttribute("transform",V))),Math.abs(g)>90&&Math.abs(g)<270&&(n?(d*=-1,g+=h<=0?180:-180,h+=h<=0?180:-180):(p*=-1,g+=g<=0?180:-180)),e=e||r.uncache,r.x=l-((r.xPercent=l&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-l)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+s,r.y=c-((r.yPercent=c&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-c)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+s,r.z=_+s,r.scaleX=j(d),r.scaleY=j(p),r.rotation=j(h)+a,r.rotationX=j(m)+a,r.rotationY=j(x)+a,r.skewX=g+a,r.skewY=y+a,r.transformPerspective=T+s,(r.zOrigin=parseFloat(f.split(" ")[2])||0)&&(i[yt]=Ve(f)),r.xOffset=r.yOffset=0,r.force3D=ut.force3D,r.renderTransform=r.svg?Ms:ji?Ji:Cs,r.uncache=0,r},Ve=function(t){return(t=t.split(" "))[0]+" "+t[1]},Qe=function(t,e,r){var i=Z(e);return j(parseFloat(e)+parseFloat(Nt(t,"x",r+"px",i)))+i},Cs=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Ji(t,e)},Xt="0deg",_e="0px",qt=") ",Ji=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,s=r.x,a=r.y,o=r.z,f=r.rotation,l=r.rotationY,c=r.rotationX,_=r.skewX,d=r.skewY,p=r.scaleX,h=r.scaleY,m=r.transformPerspective,x=r.force3D,g=r.target,y=r.zOrigin,T="",v=x==="auto"&&t&&t!==1||x===!0;if(y&&(c!==Xt||l!==Xt)){var S=parseFloat(l)*ae,P=Math.sin(S),w=Math.cos(S),b;S=parseFloat(c)*ae,b=Math.cos(S),s=Qe(g,s,P*b*-y),a=Qe(g,a,-Math.sin(S)*-y),o=Qe(g,o,w*b*-y+y)}m!==_e&&(T+="perspective("+m+qt),(i||n)&&(T+="translate("+i+"%, "+n+"%) "),(v||s!==_e||a!==_e||o!==_e)&&(T+=o!==_e||v?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+qt),f!==Xt&&(T+="rotate("+f+qt),l!==Xt&&(T+="rotateY("+l+qt),c!==Xt&&(T+="rotateX("+c+qt),(_!==Xt||d!==Xt)&&(T+="skew("+_+", "+d+qt),(p!==1||h!==1)&&(T+="scale("+p+", "+h+qt),g.style[q]=T||"translate(0, 0)"},Ms=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,s=r.x,a=r.y,o=r.rotation,f=r.skewX,l=r.skewY,c=r.scaleX,_=r.scaleY,d=r.target,p=r.xOrigin,h=r.yOrigin,m=r.xOffset,x=r.yOffset,g=r.forceCSS,y=parseFloat(s),T=parseFloat(a),v,S,P,w,b;o=parseFloat(o),f=parseFloat(f),l=parseFloat(l),l&&(l=parseFloat(l),f+=l,o+=l),o||f?(o*=ae,f*=ae,v=Math.cos(o)*c,S=Math.sin(o)*c,P=Math.sin(o-f)*-_,w=Math.cos(o-f)*_,f&&(l*=ae,b=Math.tan(f-l),b=Math.sqrt(1+b*b),P*=b,w*=b,l&&(b=Math.tan(l),b=Math.sqrt(1+b*b),v*=b,S*=b)),v=j(v),S=j(S),P=j(P),w=j(w)):(v=c,w=_,S=P=0),(y&&!~(s+"").indexOf("px")||T&&!~(a+"").indexOf("px"))&&(y=Nt(d,"x",s,"px"),T=Nt(d,"y",a,"px")),(p||h||m||x)&&(y=j(y+p-(p*v+h*P)+m),T=j(T+h-(p*S+h*w)+x)),(i||n)&&(b=d.getBBox(),y=j(y+i/100*b.width),T=j(T+n/100*b.height)),b="matrix("+v+","+S+","+P+","+w+","+y+","+T+")",d.setAttribute("transform",b),g&&(d.style[q]=b)},Ds=function(t,e,r,i,n){var s=360,a=K(n),o=parseFloat(n)*(a&&~n.indexOf("rad")?Gt:1),f=o-i,l=i+f+"deg",c,_;return a&&(c=n.split("_")[1],c==="short"&&(f%=s,f!==f%(s/2)&&(f+=f<0?s:-s)),c==="cw"&&f<0?f=(f+s*Ur)%s-~~(f/s)*s:c==="ccw"&&f>0&&(f=(f-s*Ur)%s-~~(f/s)*s)),t._pt=_=new nt(t._pt,e,r,i,f,cs),_.e=l,_.u="deg",t._props.push(r),_},$r=function(t,e){for(var r in e)t[r]=e[r];return t},As=function(t,e,r){var i=$r({},r._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,o,f,l,c,_,d,p;i.svg?(f=r.getAttribute("transform"),r.setAttribute("transform",""),s[q]=e,a=Se(r,1),be(r,q),r.setAttribute("transform",f)):(f=getComputedStyle(r)[q],s[q]=e,a=Se(r,1),s[q]=f);for(o in Et)f=i[o],l=a[o],f!==l&&n.indexOf(o)<0&&(d=Z(f),p=Z(l),c=d!==p?Nt(r,o,f,p):parseFloat(f),_=parseFloat(l),t._pt=new nt(t._pt,a,o,c,_-c,lr),t._pt.u=p||0,t._props.push(o));$r(a,i)};it("padding,margin,Width,Radius",function(u,t){var e="Top",r="Right",i="Bottom",n="Left",s=(t<3?[e,r,i,n]:[e+n,e+r,i+r,i+n]).map(function(a){return t<2?u+a:"border"+a+u});Be[t>1?"border"+u:u]=function(a,o,f,l,c){var _,d;if(arguments.length<4)return _=s.map(function(p){return Dt(a,p,f)}),d=_.join(" "),d.split(_[0]).length===5?_[0]:d;_=(l+"").split(" "),d={},s.forEach(function(p,h){return d[p]=_[h]=_[h]||_[(h-1)/2|0]}),a.init(o,d,c)}});var tn={name:"css",register:_r,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,i,n){var s=this._props,a=t.style,o=r.vars.startAt,f,l,c,_,d,p,h,m,x,g,y,T,v,S,P,w;Or||_r(),this.styles=this.styles||$i(t),w=this.styles.props,this.tween=r;for(h in e)if(h!=="autoRound"&&(l=e[h],!(at[h]&&Ii(h,e,r,i,t,n)))){if(d=typeof l,p=Be[h],d==="function"&&(l=l.call(r,i,t,n),d=typeof l),d==="string"&&~l.indexOf("random(")&&(l=xe(l)),p)p(this,t,h,l,r)&&(P=1);else if(h.substr(0,2)==="--")f=(getComputedStyle(t).getPropertyValue(h)+"").trim(),l+="",Bt.lastIndex=0,Bt.test(f)||(m=Z(f),x=Z(l)),x?m!==x&&(f=Nt(t,h,f,x)+x):m&&(l+=m),this.add(a,"setProperty",f,l,i,n,0,0,h),s.push(h),w.push(h,0,a[h]);else if(d!=="undefined"){if(o&&h in o?(f=typeof o[h]=="function"?o[h].call(r,i,t,n):o[h],K(f)&&~f.indexOf("random(")&&(f=xe(f)),Z(f+"")||(f+=ut.units[h]||Z(Dt(t,h))||""),(f+"").charAt(1)==="="&&(f=Dt(t,h))):f=Dt(t,h),_=parseFloat(f),g=d==="string"&&l.charAt(1)==="="&&l.substr(0,2),g&&(l=l.substr(2)),c=parseFloat(l),h in Pt&&(h==="autoAlpha"&&(_===1&&Dt(t,"visibility")==="hidden"&&c&&(_=0),w.push("visibility",0,a.visibility),It(this,a,"visibility",_?"inherit":"hidden",c?"inherit":"hidden",!c)),h!=="scale"&&h!=="transform"&&(h=Pt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),y=h in Et,y){if(this.styles.save(h),T||(v=t._gsap,v.renderTransform&&!e.parseTransform||Se(t,e.parseTransform),S=e.smoothOrigin!==!1&&v.smooth,T=this._pt=new nt(this._pt,a,q,0,1,v.renderTransform,v,0,-1),T.dep=1),h==="scale")this._pt=new nt(this._pt,v,"scaleY",v.scaleY,(g?ne(v.scaleY,g+c):c)-v.scaleY||0,lr),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){w.push(yt,0,a[yt]),l=ks(l),v.svg?cr(t,l,0,S,0,this):(x=parseFloat(l.split(" ")[2])||0,x!==v.zOrigin&&It(this,v,"zOrigin",v.zOrigin,x),It(this,a,h,Ve(f),Ve(l)));continue}else if(h==="svgOrigin"){cr(t,l,1,S,0,this);continue}else if(h in Qi){Ds(this,v,h,_,g?ne(_,g+l):l);continue}else if(h==="smoothOrigin"){It(this,v,"smooth",v.smooth,l);continue}else if(h==="force3D"){v[h]=l;continue}else if(h==="transform"){As(this,l,t);continue}}else h in a||(h=he(h)||h);if(y||(c||c===0)&&(_||_===0)&&!_s.test(l)&&h in a)m=(f+"").substr((_+"").length),c||(c=0),x=Z(l)||(h in ut.units?ut.units[h]:m),m!==x&&(_=Nt(t,h,f,x)),this._pt=new nt(this._pt,y?v:a,h,_,(g?ne(_,g+c):c)-_,!y&&(x==="px"||h==="zIndex")&&e.autoRound!==!1?ps:lr),this._pt.u=x||0,m!==x&&x!=="%"&&(this._pt.b=f,this._pt.r=ds);else if(h in a)Ps.call(this,t,h,f,g?g+l:l);else if(h in t)this.add(t,h,f||t[h],g?g+l:l,i,n);else if(h!=="parseTransform"){yr(h,l);continue}y||(h in a?w.push(h,0,a[h]):w.push(h,1,f||t[h])),s.push(h)}}P&&Yi(this)},render:function(t,e){if(e.tween._time||!Cr())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:Dt,aliases:Pt,getSetter:function(t,e,r){var i=Pt[e];return i&&i.indexOf(",")<0&&(e=i),e in Et&&e!==yt&&(t._gsap.x||Dt(t,"x"))?r&&Nr===r?e==="scale"?xs:ys:(Nr=r||{})&&(e==="scale"?vs:Ts):t.style&&!pr(t.style[e])?ms:~e.indexOf("-")?gs:Pr(t,e)},core:{_removeProperty:be,_getMatrix:Dr}};st.utils.checkPrefix=he;st.core.getStyleSaver=$i;(function(u,t,e,r){var i=it(u+","+t+","+e,function(n){Et[n]=1});it(t,function(n){ut.units[n]="deg",Qi[n]=1}),Pt[i[13]]=u+","+t,it(r,function(n){var s=n.split(":");Pt[s[1]]=i[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");it("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(u){ut.units[u]="px"});st.registerPlugin(tn);var en=st.registerPlugin(tn)||st;en.core.Tween;function Es(u){let t,e,r;return{c(){t=U("div"),this.h()},l(i){t=Y(i,"DIV",{class:!0,style:!0}),G(t).forEach(I),this.h()},h(){A(t,"class","absolute w-[2px] h-[2px] bg-blue-400 rounded-full rotate-45"),ke(t,"top",u[0].start.y+"px"),ke(t,"left",u[0].start.x+"px")},m(i,n){ie(i,t,n),e||(r=rn(u[1].call(null,t)),e=!0)},p(i,[n]){n&1&&ke(t,"top",i[0].start.y+"px"),n&1&&ke(t,"left",i[0].start.x+"px")},i:Ar,o:Ar,d(i){i&&I(t),e=!1,r()}}}function Rs(u,t,e){let{star:r}=t;const i=nn();function n(s){let a=r.end.x-r.start.x,o=r.end.y-r.start.y;en.to(s,{translateX:a,translateY:o,height:4,width:4,opacity:0,scaleY:100,duration:1.5,backgroundColor:"white",ease:"power1.inOut",onComplete:()=>{i("remove",r)}})}return u.$$set=s=>{"star"in s&&e(0,r=s.star)},[r,n]}class Fs extends Zr{constructor(t){super(),Jr(this,t,Rs,Es,ti,{star:0})}}function jr(u,t,e){const r=u.slice();return r[7]=t[e],r}function Hr(u){let t,e;return t=new Fs({props:{star:u[7]}}),t.$on("remove",u[4]),{c(){fn(t.$$.fragment)},l(r){ln(t.$$.fragment,r)},m(r,i){hn(t,r,i),e=!0},p(r,i){const n={};i&4&&(n.star=r[7]),t.$set(n)},i(r){e||(Ce(t.$$.fragment,r),e=!0)},o(r){Ze(t.$$.fragment,r),e=!1},d(r){_n(t,r)}}}function Kr(u){let t,e,r,i,n,s,a,o,f,l,c,_,d,p,h,m,x;return{c(){t=U("div"),e=U("iframe"),i=bt(),n=U("div"),s=bt(),a=U("div"),o=bt(),f=U("div"),l=bt(),c=U("div"),_=bt(),d=U("div"),p=U("p"),h=_t("ZQSD to move SPACE to jump. "),m=U("a"),x=_t("Full shaders game demo"),this.h()},l(g){t=Y(g,"DIV",{class:!0});var y=G(t);e=Y(y,"IFRAME",{src:!0,frameborder:!0,title:!0,height:!0,width:!0,class:!0}),G(e).forEach(I),i=wt(y),n=Y(y,"DIV",{class:!0}),G(n).forEach(I),s=wt(y),a=Y(y,"DIV",{class:!0}),G(a).forEach(I),o=wt(y),f=Y(y,"DIV",{class:!0}),G(f).forEach(I),l=wt(y),c=Y(y,"DIV",{class:!0}),G(c).forEach(I),y.forEach(I),_=wt(g),d=Y(g,"DIV",{class:!0});var T=G(d);p=Y(T,"P",{});var v=G(p);h=ct(v,"ZQSD to move SPACE to jump. "),m=Y(v,"A",{href:!0,target:!0,class:!0});var S=G(m);x=ct(S,"Full shaders game demo"),S.forEach(I),v.forEach(I),T.forEach(I),this.h()},h(){ei(e.src,r="smg/index.html")||A(e,"src",r),A(e,"frameborder","0"),A(e,"title","Spaceship Drift"),A(e,"height","512"),A(e,"width","768"),A(e,"class",""),A(n,"class","h-[3px] bg-[#0C0F19] w-[3px] z-10 absolute -top-[3px] -left-[3px]"),A(a,"class","h-[3px] bg-[#0C0F19] w-[3px] z-10 absolute -bottom-[3px] -left-[3px]"),A(f,"class","h-[3px] bg-[#0C0F19] w-[3px] z-10 absolute -top-[3px] -right-[3px]"),A(c,"class","h-[3px] bg-[#0C0F19] w-[3px] z-10 absolute -bottom-[3px] -right-[3px]"),A(t,"class","relative mt-6 border-slate-800 border-[3px]"),A(m,"href","https://x.com/HugoDuprez/status/1712093324528541831?s=20"),A(m,"target","_blank"),A(m,"class","underline"),A(d,"class","flex flex-row justify-center items-center text-[9px] mt-4 text-slate-500")},m(g,y){ie(g,t,y),D(t,e),D(t,i),D(t,n),D(t,s),D(t,a),D(t,o),D(t,f),D(t,l),D(t,c),ie(g,_,y),ie(g,d,y),D(d,p),D(p,h),D(p,m),D(m,x)},d(g){g&&I(t),g&&I(_),g&&I(d)}}}function Qr(u){let t,e,r,i,n,s,a=u[1]?"Copied!":"Copy the link for later",o,f,l;return{c(){t=U("div"),e=U("p"),r=_t("Looks like you're on mobile! Please visit on your laptop."),i=bt(),n=U("button"),s=U("p"),o=_t(a),this.h()},l(c){t=Y(c,"DIV",{class:!0});var _=G(t);e=Y(_,"P",{class:!0});var d=G(e);r=ct(d,"Looks like you're on mobile! Please visit on your laptop."),d.forEach(I),i=wt(_),n=Y(_,"BUTTON",{class:!0});var p=G(n);s=Y(p,"P",{class:!0});var h=G(s);o=ct(h,a),h.forEach(I),p.forEach(I),_.forEach(I),this.h()},h(){A(e,"class","text-xs text-slate-500 mt-6"),A(s,"class","mt-1"),A(n,"class","flex flex-row justify-center items-center px-3 py-5 text-xs w-full bg-slate-800 mt-6"),A(t,"class","flex flex-col justify-center items-center mt-10 text-center")},m(c,_){ie(c,t,_),D(t,e),D(e,r),D(t,i),D(t,n),D(n,s),D(s,o),f||(l=cn(n,"click",dn(u[3])),f=!0)},p(c,_){_&2&&a!==(a=c[1]?"Copied!":"Copy the link for later")&&pn(o,a)},d(c){c&&I(t),f=!1,l()}}}function zs(u){let t,e,r,i,n,s,a,o,f,l,c,_,d,p,h,m,x,g,y,T,v,S,P,w,b=u[2],k=[];for(let O=0;O<b.length;O+=1)k[O]=Hr(jr(u,b,O));const z=O=>Ze(k[O],1,1,()=>{k[O]=null});let E=!u[0]&&Kr(),R=u[0]&&Qr(u);return{c(){t=U("div"),e=U("div"),r=U("img"),n=bt();for(let O=0;O<k.length;O+=1)k[O].c();s=bt(),E&&E.c(),a=bt(),R&&R.c(),o=bt(),f=U("div"),l=U("p"),c=_t("Made by "),_=U("a"),d=_t("Hugo"),p=_t(`
18
  with
19
  `),h=U("a"),m=_t("Godot"),x=_t(`,
20
  `),g=U("a"),y=_t("Svelte"),T=_t(`, and
 
1
+ import{S as Zr,i as Jr,s as ti,k as U,l as Y,m as G,h as I,n as A,p as ke,b as ie,J as rn,H as Ar,K as nn,a as bt,q as _t,c as wt,r as ct,L as ei,G as D,g as Ce,f as sn,d as Ze,M as an,I as on,o as un,y as fn,z as ln,A as hn,B as _n,N as cn,O as dn,u as pn,v as mn}from"../chunks/index.9af7eb9c.js";import{p as gn}from"../chunks/stores.be116e24.js";function Mt(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function ri(u,t){u.prototype=Object.create(t.prototype),u.prototype.constructor=u,u.__proto__=t}/*!
2
  * GSAP 3.12.2
3
  * https://greensock.com
4
  *
 
14
  * Subject to the terms at https://greensock.com/standard-license or for
15
  * Club GreenSock members, the agreement issued with that membership.
16
  * @author: Jack Doyle, jack@greensock.com
17
+ */var Vr,zt,se,Or,Wt,Nr,Cr,ls=function(){return typeof window<"u"},Et={},Gt=180/Math.PI,ae=Math.PI/180,te=Math.atan2,Ur=1e8,Mr=/([A-Z])/g,hs=/(left|right|width|margin|padding|x)/i,_s=/[\s,\(]\S/,Pt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},lr=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},cs=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},ds=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},ps=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},qi=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Gi=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},ms=function(t,e,r){return t.style[e]=r},gs=function(t,e,r){return t.style.setProperty(e,r)},ys=function(t,e,r){return t._gsap[e]=r},xs=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},vs=function(t,e,r,i,n){var s=t._gsap;s.scaleX=s.scaleY=r,s.renderTransform(n,s)},Ts=function(t,e,r,i,n){var s=t._gsap;s[e]=r,s.renderTransform(n,s)},q="transform",yt=q+"Origin",bs=function u(t,e){var r=this,i=this.target,n=i.style;if(t in Et&&n){if(this.tfm=this.tfm||{},t!=="transform")t=Pt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(s){return r.tfm[s]=Dt(i,s)}):this.tfm[t]=i._gsap.x?i._gsap[t]:Dt(i,t);else return Pt.transform.split(",").forEach(function(s){return u.call(r,s,e)});if(this.props.indexOf(q)>=0)return;i._gsap.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(yt,e,"")),t=q}(n||e)&&this.props.push(t,e,n[t])},Wi=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},ws=function(){var t=this.props,e=this.target,r=e.style,i=e._gsap,n,s;for(n=0;n<t.length;n+=3)t[n+1]?e[t[n]]=t[n+2]:t[n+2]?r[t[n]]=t[n+2]:r.removeProperty(t[n].substr(0,2)==="--"?t[n]:t[n].replace(Mr,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)i[s]=this.tfm[s];i.svg&&(i.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),n=Cr(),(!n||!n.isStart)&&!r[q]&&(Wi(r),i.uncache=1)}},$i=function(t,e){var r={target:t,props:[],revert:ws,save:bs};return t._gsap||st.core.getCache(t),e&&e.split(",").forEach(function(i){return r.save(i)}),r},ji,hr=function(t,e){var r=zt.createElementNS?zt.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):zt.createElement(t);return r.style?r:zt.createElement(t)},kt=function u(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(Mr,"-$1").toLowerCase())||i.getPropertyValue(e)||!r&&u(t,he(e)||e,1)||""},Yr="O,Moz,ms,Ms,Webkit".split(","),he=function(t,e,r){var i=e||Wt,n=i.style,s=5;if(t in n&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(Yr[s]+t in n););return s<0?null:(s===3?"ms":s>=0?Yr[s]:"")+t},_r=function(){ls()&&window.document&&(Vr=window,zt=Vr.document,se=zt.documentElement,Wt=hr("div")||{style:{}},hr("div"),q=he(q),yt=q+"Origin",Wt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ji=!!he("perspective"),Cr=st.core.reverting,Or=1)},Ke=function u(t){var e=hr("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,i=this.nextSibling,n=this.style.cssText,s;if(se.appendChild(e),e.appendChild(this),this.style.display="block",t)try{s=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=u}catch{}else this._gsapBBox&&(s=this._gsapBBox());return r&&(i?r.insertBefore(this,i):r.appendChild(this)),se.removeChild(e),this.style.cssText=n,s},Xr=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},Hi=function(t){var e;try{e=t.getBBox()}catch{e=Ke.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Ke||(e=Ke.call(t,!0)),e&&!e.width&&!e.x&&!e.y?{x:+Xr(t,["x","cx","x1"])||0,y:+Xr(t,["y","cy","y1"])||0,width:0,height:0}:e},Ki=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Hi(t))},be=function(t,e){if(e){var r=t.style;e in Et&&e!==yt&&(e=q),r.removeProperty?((e.substr(0,2)==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),r.removeProperty(e.replace(Mr,"-$1").toLowerCase())):r.removeAttribute(e)}},It=function(t,e,r,i,n,s){var a=new nt(t._pt,e,r,0,1,s?Gi:qi);return t._pt=a,a.b=i,a.e=n,t._props.push(r),a},qr={deg:1,rad:1,turn:1},Ss={grid:1,flex:1},Nt=function u(t,e,r,i){var n=parseFloat(r)||0,s=(r+"").trim().substr((n+"").length)||"px",a=Wt.style,o=hs.test(e),f=t.tagName.toLowerCase()==="svg",l=(f?"client":"offset")+(o?"Width":"Height"),c=100,_=i==="px",d=i==="%",p,h,m,x;return i===s||!n||qr[i]||qr[s]?n:(s!=="px"&&!_&&(n=u(t,e,r,"px")),x=t.getCTM&&Ki(t),(d||s==="%")&&(Et[e]||~e.indexOf("adius"))?(p=x?t.getBBox()[o?"width":"height"]:t[l],j(d?n/p*c:n/100*p)):(a[o?"width":"height"]=c+(_?s:i),h=~e.indexOf("adius")||i==="em"&&t.appendChild&&!f?t:t.parentNode,x&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===zt||!h.appendChild)&&(h=zt.body),m=h._gsap,m&&d&&m.width&&o&&m.time===ot.time&&!m.uncache?j(n/m.width*c):((d||s==="%")&&!Ss[kt(h,"display")]&&(a.position=kt(t,"position")),h===t&&(a.position="static"),h.appendChild(Wt),p=Wt[l],h.removeChild(Wt),a.position="absolute",o&&d&&(m=$t(h),m.time=ot.time,m.width=h[l]),j(_?p*n/c:p&&n?c/p*n:0))))},Dt=function(t,e,r,i){var n;return Or||_r(),e in Pt&&e!=="transform"&&(e=Pt[e],~e.indexOf(",")&&(e=e.split(",")[0])),Et[e]&&e!=="transform"?(n=Se(t,i),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:Ve(kt(t,yt))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||i||~(n+"").indexOf("calc("))&&(n=Be[e]&&Be[e](t,e,r)||kt(t,e)||_i(t,e)||(e==="opacity"?1:0))),r&&!~(n+"").trim().indexOf(" ")?Nt(t,e,n,r)+r:n},Ps=function(t,e,r,i){if(!r||r==="none"){var n=he(e,t,1),s=n&&kt(t,n,1);s&&s!==r?(e=n,r=s):e==="borderColor"&&(r=kt(t,"borderTopColor"))}var a=new nt(this._pt,t.style,e,0,1,Ui),o=0,f=0,l,c,_,d,p,h,m,x,g,y,T,v;if(a.b=r,a.e=i,r+="",i+="",i==="auto"&&(t.style[e]=i,i=kt(t,e)||i,t.style[e]=r),l=[r,i],Ai(l),r=l[0],i=l[1],_=r.match(ee)||[],v=i.match(ee)||[],v.length){for(;c=ee.exec(i);)m=c[0],g=i.substring(o,c.index),p?p=(p+1)%5:(g.substr(-5)==="rgba("||g.substr(-5)==="hsla(")&&(p=1),m!==(h=_[f++]||"")&&(d=parseFloat(h)||0,T=h.substr((d+"").length),m.charAt(1)==="="&&(m=ne(d,m)+T),x=parseFloat(m),y=m.substr((x+"").length),o=ee.lastIndex-y.length,y||(y=y||ut.units[e]||T,o===i.length&&(i+=y,a.e+=y)),T!==y&&(d=Nt(t,e,h,y)||0),a._pt={_next:a._pt,p:g||f===1?g:",",s:d,c:x-d,m:p&&p<4||e==="zIndex"?Math.round:0});a.c=o<i.length?i.substring(o,i.length):""}else a.r=e==="display"&&i==="none"?Gi:qi;return ai.test(i)&&(a.e=0),this._pt=a,a},Gr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},ks=function(t){var e=t.split(" "),r=e[0],i=e[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(t=r,r=i,i=t),e[0]=Gr[r]||r,e[1]=Gr[i]||i,e.join(" ")},Os=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r=e.t,i=r.style,n=e.u,s=r._gsap,a,o,f;if(n==="all"||n===!0)i.cssText="",o=1;else for(n=n.split(","),f=n.length;--f>-1;)a=n[f],Et[a]&&(o=1,a=a==="transformOrigin"?yt:q),be(r,a);o&&(be(r,q),s&&(s.svg&&r.removeAttribute("transform"),Se(r,1),s.uncache=1,Wi(i)))}},Be={clearProps:function(t,e,r,i,n){if(n.data!=="isFromStart"){var s=t._pt=new nt(t._pt,e,r,0,0,Os);return s.u=i,s.pr=-10,s.tween=n,t._props.push(r),1}}},we=[1,0,0,1,0,0],Qi={},Zi=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Wr=function(t){var e=kt(t,q);return Zi(e)?we:e.substr(7).match(si).map(j)},Dr=function(t,e){var r=t._gsap||$t(t),i=t.style,n=Wr(t),s,a,o,f;return r.svg&&t.getAttribute("transform")?(o=t.transform.baseVal.consolidate().matrix,n=[o.a,o.b,o.c,o.d,o.e,o.f],n.join(",")==="1,0,0,1,0,0"?we:n):(n===we&&!t.offsetParent&&t!==se&&!r.svg&&(o=i.display,i.display="block",s=t.parentNode,(!s||!t.offsetParent)&&(f=1,a=t.nextElementSibling,se.appendChild(t)),n=Wr(t),o?i.display=o:be(t,"display"),f&&(a?s.insertBefore(t,a):s?s.appendChild(t):se.removeChild(t))),e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},cr=function(t,e,r,i,n,s){var a=t._gsap,o=n||Dr(t,!0),f=a.xOrigin||0,l=a.yOrigin||0,c=a.xOffset||0,_=a.yOffset||0,d=o[0],p=o[1],h=o[2],m=o[3],x=o[4],g=o[5],y=e.split(" "),T=parseFloat(y[0])||0,v=parseFloat(y[1])||0,S,P,w,b;r?o!==we&&(P=d*m-p*h)&&(w=T*(m/P)+v*(-h/P)+(h*g-m*x)/P,b=T*(-p/P)+v*(d/P)-(d*g-p*x)/P,T=w,v=b):(S=Hi(t),T=S.x+(~y[0].indexOf("%")?T/100*S.width:T),v=S.y+(~(y[1]||y[0]).indexOf("%")?v/100*S.height:v)),i||i!==!1&&a.smooth?(x=T-f,g=v-l,a.xOffset=c+(x*d+g*h)-x,a.yOffset=_+(x*p+g*m)-g):a.xOffset=a.yOffset=0,a.xOrigin=T,a.yOrigin=v,a.smooth=!!i,a.origin=e,a.originIsAbsolute=!!r,t.style[yt]="0px 0px",s&&(It(s,a,"xOrigin",f,T),It(s,a,"yOrigin",l,v),It(s,a,"xOffset",c,a.xOffset),It(s,a,"yOffset",_,a.yOffset)),t.setAttribute("data-svg-origin",T+" "+v)},Se=function(t,e){var r=t._gsap||new zi(t);if("x"in r&&!e&&!r.uncache)return r;var i=t.style,n=r.scaleX<0,s="px",a="deg",o=getComputedStyle(t),f=kt(t,yt)||"0",l,c,_,d,p,h,m,x,g,y,T,v,S,P,w,b,k,z,E,R,O,C,M,V,N,xt,vt,Rt,Tt,Jt,Ct,Yt;return l=c=_=h=m=x=g=y=T=0,d=p=1,r.svg=!!(t.getCTM&&Ki(t)),o.translate&&((o.translate!=="none"||o.scale!=="none"||o.rotate!=="none")&&(i[q]=(o.translate!=="none"?"translate3d("+(o.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(o.rotate!=="none"?"rotate("+o.rotate+") ":"")+(o.scale!=="none"?"scale("+o.scale.split(" ").join(",")+") ":"")+(o[q]!=="none"?o[q]:"")),i.scale=i.rotate=i.translate="none"),P=Dr(t,r.svg),r.svg&&(r.uncache?(N=t.getBBox(),f=r.xOrigin-N.x+"px "+(r.yOrigin-N.y)+"px",V=""):V=!e&&t.getAttribute("data-svg-origin"),cr(t,V||f,!!V||r.originIsAbsolute,r.smooth!==!1,P)),v=r.xOrigin||0,S=r.yOrigin||0,P!==we&&(z=P[0],E=P[1],R=P[2],O=P[3],l=C=P[4],c=M=P[5],P.length===6?(d=Math.sqrt(z*z+E*E),p=Math.sqrt(O*O+R*R),h=z||E?te(E,z)*Gt:0,g=R||O?te(R,O)*Gt+h:0,g&&(p*=Math.abs(Math.cos(g*ae))),r.svg&&(l-=v-(v*z+S*R),c-=S-(v*E+S*O))):(Yt=P[6],Jt=P[7],vt=P[8],Rt=P[9],Tt=P[10],Ct=P[11],l=P[12],c=P[13],_=P[14],w=te(Yt,Tt),m=w*Gt,w&&(b=Math.cos(-w),k=Math.sin(-w),V=C*b+vt*k,N=M*b+Rt*k,xt=Yt*b+Tt*k,vt=C*-k+vt*b,Rt=M*-k+Rt*b,Tt=Yt*-k+Tt*b,Ct=Jt*-k+Ct*b,C=V,M=N,Yt=xt),w=te(-R,Tt),x=w*Gt,w&&(b=Math.cos(-w),k=Math.sin(-w),V=z*b-vt*k,N=E*b-Rt*k,xt=R*b-Tt*k,Ct=O*k+Ct*b,z=V,E=N,R=xt),w=te(E,z),h=w*Gt,w&&(b=Math.cos(w),k=Math.sin(w),V=z*b+E*k,N=C*b+M*k,E=E*b-z*k,M=M*b-C*k,z=V,C=N),m&&Math.abs(m)+Math.abs(h)>359.9&&(m=h=0,x=180-x),d=j(Math.sqrt(z*z+E*E+R*R)),p=j(Math.sqrt(M*M+Yt*Yt)),w=te(C,M),g=Math.abs(w)>2e-4?w*Gt:0,T=Ct?1/(Ct<0?-Ct:Ct):0),r.svg&&(V=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!Zi(kt(t,q)),V&&t.setAttribute("transform",V))),Math.abs(g)>90&&Math.abs(g)<270&&(n?(d*=-1,g+=h<=0?180:-180,h+=h<=0?180:-180):(p*=-1,g+=g<=0?180:-180)),e=e||r.uncache,r.x=l-((r.xPercent=l&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-l)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+s,r.y=c-((r.yPercent=c&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-c)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+s,r.z=_+s,r.scaleX=j(d),r.scaleY=j(p),r.rotation=j(h)+a,r.rotationX=j(m)+a,r.rotationY=j(x)+a,r.skewX=g+a,r.skewY=y+a,r.transformPerspective=T+s,(r.zOrigin=parseFloat(f.split(" ")[2])||0)&&(i[yt]=Ve(f)),r.xOffset=r.yOffset=0,r.force3D=ut.force3D,r.renderTransform=r.svg?Ms:ji?Ji:Cs,r.uncache=0,r},Ve=function(t){return(t=t.split(" "))[0]+" "+t[1]},Qe=function(t,e,r){var i=Z(e);return j(parseFloat(e)+parseFloat(Nt(t,"x",r+"px",i)))+i},Cs=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Ji(t,e)},Xt="0deg",_e="0px",qt=") ",Ji=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,s=r.x,a=r.y,o=r.z,f=r.rotation,l=r.rotationY,c=r.rotationX,_=r.skewX,d=r.skewY,p=r.scaleX,h=r.scaleY,m=r.transformPerspective,x=r.force3D,g=r.target,y=r.zOrigin,T="",v=x==="auto"&&t&&t!==1||x===!0;if(y&&(c!==Xt||l!==Xt)){var S=parseFloat(l)*ae,P=Math.sin(S),w=Math.cos(S),b;S=parseFloat(c)*ae,b=Math.cos(S),s=Qe(g,s,P*b*-y),a=Qe(g,a,-Math.sin(S)*-y),o=Qe(g,o,w*b*-y+y)}m!==_e&&(T+="perspective("+m+qt),(i||n)&&(T+="translate("+i+"%, "+n+"%) "),(v||s!==_e||a!==_e||o!==_e)&&(T+=o!==_e||v?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+qt),f!==Xt&&(T+="rotate("+f+qt),l!==Xt&&(T+="rotateY("+l+qt),c!==Xt&&(T+="rotateX("+c+qt),(_!==Xt||d!==Xt)&&(T+="skew("+_+", "+d+qt),(p!==1||h!==1)&&(T+="scale("+p+", "+h+qt),g.style[q]=T||"translate(0, 0)"},Ms=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,s=r.x,a=r.y,o=r.rotation,f=r.skewX,l=r.skewY,c=r.scaleX,_=r.scaleY,d=r.target,p=r.xOrigin,h=r.yOrigin,m=r.xOffset,x=r.yOffset,g=r.forceCSS,y=parseFloat(s),T=parseFloat(a),v,S,P,w,b;o=parseFloat(o),f=parseFloat(f),l=parseFloat(l),l&&(l=parseFloat(l),f+=l,o+=l),o||f?(o*=ae,f*=ae,v=Math.cos(o)*c,S=Math.sin(o)*c,P=Math.sin(o-f)*-_,w=Math.cos(o-f)*_,f&&(l*=ae,b=Math.tan(f-l),b=Math.sqrt(1+b*b),P*=b,w*=b,l&&(b=Math.tan(l),b=Math.sqrt(1+b*b),v*=b,S*=b)),v=j(v),S=j(S),P=j(P),w=j(w)):(v=c,w=_,S=P=0),(y&&!~(s+"").indexOf("px")||T&&!~(a+"").indexOf("px"))&&(y=Nt(d,"x",s,"px"),T=Nt(d,"y",a,"px")),(p||h||m||x)&&(y=j(y+p-(p*v+h*P)+m),T=j(T+h-(p*S+h*w)+x)),(i||n)&&(b=d.getBBox(),y=j(y+i/100*b.width),T=j(T+n/100*b.height)),b="matrix("+v+","+S+","+P+","+w+","+y+","+T+")",d.setAttribute("transform",b),g&&(d.style[q]=b)},Ds=function(t,e,r,i,n){var s=360,a=K(n),o=parseFloat(n)*(a&&~n.indexOf("rad")?Gt:1),f=o-i,l=i+f+"deg",c,_;return a&&(c=n.split("_")[1],c==="short"&&(f%=s,f!==f%(s/2)&&(f+=f<0?s:-s)),c==="cw"&&f<0?f=(f+s*Ur)%s-~~(f/s)*s:c==="ccw"&&f>0&&(f=(f-s*Ur)%s-~~(f/s)*s)),t._pt=_=new nt(t._pt,e,r,i,f,cs),_.e=l,_.u="deg",t._props.push(r),_},$r=function(t,e){for(var r in e)t[r]=e[r];return t},As=function(t,e,r){var i=$r({},r._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,o,f,l,c,_,d,p;i.svg?(f=r.getAttribute("transform"),r.setAttribute("transform",""),s[q]=e,a=Se(r,1),be(r,q),r.setAttribute("transform",f)):(f=getComputedStyle(r)[q],s[q]=e,a=Se(r,1),s[q]=f);for(o in Et)f=i[o],l=a[o],f!==l&&n.indexOf(o)<0&&(d=Z(f),p=Z(l),c=d!==p?Nt(r,o,f,p):parseFloat(f),_=parseFloat(l),t._pt=new nt(t._pt,a,o,c,_-c,lr),t._pt.u=p||0,t._props.push(o));$r(a,i)};it("padding,margin,Width,Radius",function(u,t){var e="Top",r="Right",i="Bottom",n="Left",s=(t<3?[e,r,i,n]:[e+n,e+r,i+r,i+n]).map(function(a){return t<2?u+a:"border"+a+u});Be[t>1?"border"+u:u]=function(a,o,f,l,c){var _,d;if(arguments.length<4)return _=s.map(function(p){return Dt(a,p,f)}),d=_.join(" "),d.split(_[0]).length===5?_[0]:d;_=(l+"").split(" "),d={},s.forEach(function(p,h){return d[p]=_[h]=_[h]||_[(h-1)/2|0]}),a.init(o,d,c)}});var tn={name:"css",register:_r,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,i,n){var s=this._props,a=t.style,o=r.vars.startAt,f,l,c,_,d,p,h,m,x,g,y,T,v,S,P,w;Or||_r(),this.styles=this.styles||$i(t),w=this.styles.props,this.tween=r;for(h in e)if(h!=="autoRound"&&(l=e[h],!(at[h]&&Ii(h,e,r,i,t,n)))){if(d=typeof l,p=Be[h],d==="function"&&(l=l.call(r,i,t,n),d=typeof l),d==="string"&&~l.indexOf("random(")&&(l=xe(l)),p)p(this,t,h,l,r)&&(P=1);else if(h.substr(0,2)==="--")f=(getComputedStyle(t).getPropertyValue(h)+"").trim(),l+="",Bt.lastIndex=0,Bt.test(f)||(m=Z(f),x=Z(l)),x?m!==x&&(f=Nt(t,h,f,x)+x):m&&(l+=m),this.add(a,"setProperty",f,l,i,n,0,0,h),s.push(h),w.push(h,0,a[h]);else if(d!=="undefined"){if(o&&h in o?(f=typeof o[h]=="function"?o[h].call(r,i,t,n):o[h],K(f)&&~f.indexOf("random(")&&(f=xe(f)),Z(f+"")||(f+=ut.units[h]||Z(Dt(t,h))||""),(f+"").charAt(1)==="="&&(f=Dt(t,h))):f=Dt(t,h),_=parseFloat(f),g=d==="string"&&l.charAt(1)==="="&&l.substr(0,2),g&&(l=l.substr(2)),c=parseFloat(l),h in Pt&&(h==="autoAlpha"&&(_===1&&Dt(t,"visibility")==="hidden"&&c&&(_=0),w.push("visibility",0,a.visibility),It(this,a,"visibility",_?"inherit":"hidden",c?"inherit":"hidden",!c)),h!=="scale"&&h!=="transform"&&(h=Pt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),y=h in Et,y){if(this.styles.save(h),T||(v=t._gsap,v.renderTransform&&!e.parseTransform||Se(t,e.parseTransform),S=e.smoothOrigin!==!1&&v.smooth,T=this._pt=new nt(this._pt,a,q,0,1,v.renderTransform,v,0,-1),T.dep=1),h==="scale")this._pt=new nt(this._pt,v,"scaleY",v.scaleY,(g?ne(v.scaleY,g+c):c)-v.scaleY||0,lr),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){w.push(yt,0,a[yt]),l=ks(l),v.svg?cr(t,l,0,S,0,this):(x=parseFloat(l.split(" ")[2])||0,x!==v.zOrigin&&It(this,v,"zOrigin",v.zOrigin,x),It(this,a,h,Ve(f),Ve(l)));continue}else if(h==="svgOrigin"){cr(t,l,1,S,0,this);continue}else if(h in Qi){Ds(this,v,h,_,g?ne(_,g+l):l);continue}else if(h==="smoothOrigin"){It(this,v,"smooth",v.smooth,l);continue}else if(h==="force3D"){v[h]=l;continue}else if(h==="transform"){As(this,l,t);continue}}else h in a||(h=he(h)||h);if(y||(c||c===0)&&(_||_===0)&&!_s.test(l)&&h in a)m=(f+"").substr((_+"").length),c||(c=0),x=Z(l)||(h in ut.units?ut.units[h]:m),m!==x&&(_=Nt(t,h,f,x)),this._pt=new nt(this._pt,y?v:a,h,_,(g?ne(_,g+c):c)-_,!y&&(x==="px"||h==="zIndex")&&e.autoRound!==!1?ps:lr),this._pt.u=x||0,m!==x&&x!=="%"&&(this._pt.b=f,this._pt.r=ds);else if(h in a)Ps.call(this,t,h,f,g?g+l:l);else if(h in t)this.add(t,h,f||t[h],g?g+l:l,i,n);else if(h!=="parseTransform"){yr(h,l);continue}y||(h in a?w.push(h,0,a[h]):w.push(h,1,f||t[h])),s.push(h)}}P&&Yi(this)},render:function(t,e){if(e.tween._time||!Cr())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:Dt,aliases:Pt,getSetter:function(t,e,r){var i=Pt[e];return i&&i.indexOf(",")<0&&(e=i),e in Et&&e!==yt&&(t._gsap.x||Dt(t,"x"))?r&&Nr===r?e==="scale"?xs:ys:(Nr=r||{})&&(e==="scale"?vs:Ts):t.style&&!pr(t.style[e])?ms:~e.indexOf("-")?gs:Pr(t,e)},core:{_removeProperty:be,_getMatrix:Dr}};st.utils.checkPrefix=he;st.core.getStyleSaver=$i;(function(u,t,e,r){var i=it(u+","+t+","+e,function(n){Et[n]=1});it(t,function(n){ut.units[n]="deg",Qi[n]=1}),Pt[i[13]]=u+","+t,it(r,function(n){var s=n.split(":");Pt[s[1]]=i[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");it("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(u){ut.units[u]="px"});st.registerPlugin(tn);var en=st.registerPlugin(tn)||st;en.core.Tween;function Es(u){let t,e,r;return{c(){t=U("div"),this.h()},l(i){t=Y(i,"DIV",{class:!0,style:!0}),G(t).forEach(I),this.h()},h(){A(t,"class","absolute w-[2px] h-[2px] bg-blue-400 rounded-full rotate-45"),ke(t,"top",u[0].start.y+"px"),ke(t,"left",u[0].start.x+"px")},m(i,n){ie(i,t,n),e||(r=rn(u[1].call(null,t)),e=!0)},p(i,[n]){n&1&&ke(t,"top",i[0].start.y+"px"),n&1&&ke(t,"left",i[0].start.x+"px")},i:Ar,o:Ar,d(i){i&&I(t),e=!1,r()}}}function Rs(u,t,e){let{star:r}=t;const i=nn();function n(s){let a=r.end.x-r.start.x,o=r.end.y-r.start.y;en.to(s,{translateX:a,translateY:o,height:4,width:4,opacity:0,scaleY:100,duration:1.5,backgroundColor:"white",ease:"power1.inOut",onComplete:()=>{i("remove",r)}})}return u.$$set=s=>{"star"in s&&e(0,r=s.star)},[r,n]}class Fs extends Zr{constructor(t){super(),Jr(this,t,Rs,Es,ti,{star:0})}}function jr(u,t,e){const r=u.slice();return r[7]=t[e],r}function Hr(u){let t,e;return t=new Fs({props:{star:u[7]}}),t.$on("remove",u[4]),{c(){fn(t.$$.fragment)},l(r){ln(t.$$.fragment,r)},m(r,i){hn(t,r,i),e=!0},p(r,i){const n={};i&4&&(n.star=r[7]),t.$set(n)},i(r){e||(Ce(t.$$.fragment,r),e=!0)},o(r){Ze(t.$$.fragment,r),e=!1},d(r){_n(t,r)}}}function Kr(u){let t,e,r,i,n,s,a,o,f,l,c,_,d,p,h,m,x;return{c(){t=U("div"),e=U("iframe"),i=bt(),n=U("div"),s=bt(),a=U("div"),o=bt(),f=U("div"),l=bt(),c=U("div"),_=bt(),d=U("div"),p=U("p"),h=_t("ZQD to move SPACE to jump. "),m=U("a"),x=_t("Full shaders game demo"),this.h()},l(g){t=Y(g,"DIV",{class:!0});var y=G(t);e=Y(y,"IFRAME",{src:!0,frameborder:!0,title:!0,height:!0,width:!0,class:!0}),G(e).forEach(I),i=wt(y),n=Y(y,"DIV",{class:!0}),G(n).forEach(I),s=wt(y),a=Y(y,"DIV",{class:!0}),G(a).forEach(I),o=wt(y),f=Y(y,"DIV",{class:!0}),G(f).forEach(I),l=wt(y),c=Y(y,"DIV",{class:!0}),G(c).forEach(I),y.forEach(I),_=wt(g),d=Y(g,"DIV",{class:!0});var T=G(d);p=Y(T,"P",{});var v=G(p);h=ct(v,"ZQD to move SPACE to jump. "),m=Y(v,"A",{href:!0,target:!0,class:!0});var S=G(m);x=ct(S,"Full shaders game demo"),S.forEach(I),v.forEach(I),T.forEach(I),this.h()},h(){ei(e.src,r="smg/index.html")||A(e,"src",r),A(e,"frameborder","0"),A(e,"title","Spaceship Drift"),A(e,"height","512"),A(e,"width","768"),A(e,"class",""),A(n,"class","h-[3px] bg-[#0C0F19] w-[3px] z-10 absolute -top-[3px] -left-[3px]"),A(a,"class","h-[3px] bg-[#0C0F19] w-[3px] z-10 absolute -bottom-[3px] -left-[3px]"),A(f,"class","h-[3px] bg-[#0C0F19] w-[3px] z-10 absolute -top-[3px] -right-[3px]"),A(c,"class","h-[3px] bg-[#0C0F19] w-[3px] z-10 absolute -bottom-[3px] -right-[3px]"),A(t,"class","relative mt-6 border-slate-800 border-[3px]"),A(m,"href","https://x.com/HugoDuprez/status/1712093324528541831?s=20"),A(m,"target","_blank"),A(m,"class","underline"),A(d,"class","flex flex-row justify-center items-center text-[9px] mt-4 text-slate-500")},m(g,y){ie(g,t,y),D(t,e),D(t,i),D(t,n),D(t,s),D(t,a),D(t,o),D(t,f),D(t,l),D(t,c),ie(g,_,y),ie(g,d,y),D(d,p),D(p,h),D(p,m),D(m,x)},d(g){g&&I(t),g&&I(_),g&&I(d)}}}function Qr(u){let t,e,r,i,n,s,a=u[1]?"Copied!":"Copy the link for later",o,f,l;return{c(){t=U("div"),e=U("p"),r=_t("Looks like you're on mobile! Please visit on your laptop."),i=bt(),n=U("button"),s=U("p"),o=_t(a),this.h()},l(c){t=Y(c,"DIV",{class:!0});var _=G(t);e=Y(_,"P",{class:!0});var d=G(e);r=ct(d,"Looks like you're on mobile! Please visit on your laptop."),d.forEach(I),i=wt(_),n=Y(_,"BUTTON",{class:!0});var p=G(n);s=Y(p,"P",{class:!0});var h=G(s);o=ct(h,a),h.forEach(I),p.forEach(I),_.forEach(I),this.h()},h(){A(e,"class","text-xs text-slate-500 mt-6"),A(s,"class","mt-1"),A(n,"class","flex flex-row justify-center items-center px-3 py-5 text-xs w-full bg-slate-800 mt-6"),A(t,"class","flex flex-col justify-center items-center mt-10 text-center")},m(c,_){ie(c,t,_),D(t,e),D(e,r),D(t,i),D(t,n),D(n,s),D(s,o),f||(l=cn(n,"click",dn(u[3])),f=!0)},p(c,_){_&2&&a!==(a=c[1]?"Copied!":"Copy the link for later")&&pn(o,a)},d(c){c&&I(t),f=!1,l()}}}function zs(u){let t,e,r,i,n,s,a,o,f,l,c,_,d,p,h,m,x,g,y,T,v,S,P,w,b=u[2],k=[];for(let O=0;O<b.length;O+=1)k[O]=Hr(jr(u,b,O));const z=O=>Ze(k[O],1,1,()=>{k[O]=null});let E=!u[0]&&Kr(),R=u[0]&&Qr(u);return{c(){t=U("div"),e=U("div"),r=U("img"),n=bt();for(let O=0;O<k.length;O+=1)k[O].c();s=bt(),E&&E.c(),a=bt(),R&&R.c(),o=bt(),f=U("div"),l=U("p"),c=_t("Made by "),_=U("a"),d=_t("Hugo"),p=_t(`
18
  with
19
  `),h=U("a"),m=_t("Godot"),x=_t(`,
20
  `),g=U("a"),y=_t("Svelte"),T=_t(`, and
build/_app/version.json CHANGED
@@ -1 +1 @@
1
- {"version":"1697997013043"}
 
1
+ {"version":"1698134506027"}
build/index.html CHANGED
@@ -8,13 +8,13 @@
8
  <script async src="https://cdn.splitbee.io/sb.js"></script>
9
  <meta http-equiv="content-security-policy" content="">
10
  <link href="./_app/immutable/assets/0.15589e04.css" rel="stylesheet">
11
- <link rel="modulepreload" href="./_app/immutable/entry/start.553f59e4.js">
12
  <link rel="modulepreload" href="./_app/immutable/chunks/index.9af7eb9c.js">
13
- <link rel="modulepreload" href="./_app/immutable/chunks/singletons.056f02de.js">
14
- <link rel="modulepreload" href="./_app/immutable/entry/app.eeb2bf83.js">
15
  <link rel="modulepreload" href="./_app/immutable/nodes/0.22dae059.js">
16
- <link rel="modulepreload" href="./_app/immutable/nodes/2.e4d6d6f0.js">
17
- <link rel="modulepreload" href="./_app/immutable/chunks/stores.67a820a9.js">
18
  </head>
19
  <body data-sveltekit-preload-data="hover" class="bg-[#0C0F19] overflow-hidden bg-cover" style="background-image: url('images/sky.png');">
20
  <div style="display: contents">
@@ -36,7 +36,7 @@
36
  <div class="h-[3px] bg-[#0C0F19] w-[3px] z-10 absolute -bottom-[3px] -right-[3px]"></div></div>
37
 
38
 
39
- <div class="flex flex-row justify-center items-center text-[9px] mt-4 text-slate-500"><p>ZQSD to move SPACE to jump. <a href="https://x.com/HugoDuprez/status/1712093324528541831?s=20" target="_blank" class="underline">Full shaders game demo</a></p></div>
40
 
41
 
42
 
@@ -51,7 +51,7 @@
51
 
52
  <script>
53
  {
54
- __sveltekit_1ktwsn2 = {
55
  base: new URL(".", location).pathname.slice(0, -1),
56
  env: {}
57
  };
@@ -61,8 +61,8 @@
61
  const data = [null,null];
62
 
63
  Promise.all([
64
- import("./_app/immutable/entry/start.553f59e4.js"),
65
- import("./_app/immutable/entry/app.eeb2bf83.js")
66
  ]).then(([kit, app]) => {
67
  kit.start(app, element, {
68
  node_ids: [0, 2],
 
8
  <script async src="https://cdn.splitbee.io/sb.js"></script>
9
  <meta http-equiv="content-security-policy" content="">
10
  <link href="./_app/immutable/assets/0.15589e04.css" rel="stylesheet">
11
+ <link rel="modulepreload" href="./_app/immutable/entry/start.d0a82aef.js">
12
  <link rel="modulepreload" href="./_app/immutable/chunks/index.9af7eb9c.js">
13
+ <link rel="modulepreload" href="./_app/immutable/chunks/singletons.1f11d8d9.js">
14
+ <link rel="modulepreload" href="./_app/immutable/entry/app.ea8cc3e0.js">
15
  <link rel="modulepreload" href="./_app/immutable/nodes/0.22dae059.js">
16
+ <link rel="modulepreload" href="./_app/immutable/nodes/2.ae94ff6d.js">
17
+ <link rel="modulepreload" href="./_app/immutable/chunks/stores.be116e24.js">
18
  </head>
19
  <body data-sveltekit-preload-data="hover" class="bg-[#0C0F19] overflow-hidden bg-cover" style="background-image: url('images/sky.png');">
20
  <div style="display: contents">
 
36
  <div class="h-[3px] bg-[#0C0F19] w-[3px] z-10 absolute -bottom-[3px] -right-[3px]"></div></div>
37
 
38
 
39
+ <div class="flex flex-row justify-center items-center text-[9px] mt-4 text-slate-500"><p>ZQD to move SPACE to jump. <a href="https://x.com/HugoDuprez/status/1712093324528541831?s=20" target="_blank" class="underline">Full shaders game demo</a></p></div>
40
 
41
 
42
 
 
51
 
52
  <script>
53
  {
54
+ __sveltekit_1d38e1f = {
55
  base: new URL(".", location).pathname.slice(0, -1),
56
  env: {}
57
  };
 
61
  const data = [null,null];
62
 
63
  Promise.all([
64
+ import("./_app/immutable/entry/start.d0a82aef.js"),
65
+ import("./_app/immutable/entry/app.ea8cc3e0.js")
66
  ]).then(([kit, app]) => {
67
  kit.start(app, element, {
68
  node_ids: [0, 2],
build/smg/index.html CHANGED
@@ -137,7 +137,7 @@ body {
137
 
138
  <script src="index.js"></script>
139
  <script>
140
- const GODOT_CONFIG = {"args":[],"canvasResizePolicy":2,"executable":"index","experimentalVK":false,"fileSizes":{"index.pck":52716304,"index.wasm":52315256},"focusCanvas":true,"gdextensionLibs":[]};
141
  const engine = new Engine(GODOT_CONFIG);
142
 
143
  (function () {
 
137
 
138
  <script src="index.js"></script>
139
  <script>
140
+ const GODOT_CONFIG = {"args":[],"canvasResizePolicy":2,"executable":"index","experimentalVK":false,"fileSizes":{"index.pck":52716320,"index.wasm":52315256},"focusCanvas":true,"gdextensionLibs":[]};
141
  const engine = new Engine(GODOT_CONFIG);
142
 
143
  (function () {
build/smg/index.pck CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7e889c8a7a6b03d291b398ce43acf5d5188b0cd01db43406b7c4fe9fa4508dd1
3
- size 52716304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95d1dff2b360fc0a214253cfcd77b007d7dd0cb2769970ae56fd1af518057f65
3
+ size 52716320