From f47c7490a38b7ed5644d4af8df82c7fd5ec93243 Mon Sep 17 00:00:00 2001 From: Ryan Sadwick Date: Sun, 3 Dec 2023 15:13:58 -0500 Subject: [PATCH] production deploy --- .../account/profile/index.svelte-71f66b83.css | 1 + .../account/profile/index.svelte-ddc83c83.css | 1 - _app/immutable/manifest.json | 6 ++-- .../account/profile/index.svelte-182ad7d8.js | 3 ++ .../account/profile/index.svelte-ff47ce54.js | 3 -- .../{start-112a7450.js => start-c1bf149a.js} | 2 +- _app/version.json | 2 +- account/accessibility/index.html | 4 +-- account/conduct/index.html | 4 +-- account/create/index.html | 4 +-- account/index.html | 4 +-- account/messages/index.html | 4 +-- account/messages/response/index.html | 4 +-- account/password/index.html | 4 +-- account/patch/index.html | 4 +-- account/privacy/index.html | 4 +-- account/profile/index.html | 18 +++++------ account/terms/index.html | 4 +-- blog/3ee-games-youtube-channel/index.html | 4 +-- blog/categories/advertisements/index.html | 4 +-- blog/categories/ai training/index.html | 4 +-- blog/categories/game development/index.html | 4 +-- blog/categories/game jams/index.html | 4 +-- blog/categories/games/index.html | 4 +-- blog/categories/phaser/index.html | 4 +-- blog/categories/pong kombat/index.html | 4 +-- blog/categories/react/index.html | 4 +-- blog/categories/stable diffusion/index.html | 4 +-- blog/categories/tiled/index.html | 4 +-- blog/categories/videos/index.html | 4 +-- blog/flappy-jacob-prototype/index.html | 4 +-- blog/index.html | 4 +-- blog/no-ads-in-our-games/index.html | 4 +-- blog/ornamental-santa-diffusion/index.html | 4 +-- blog/phaser-game-react-ui/index.html | 4 +-- blog/pong-kombat-2/index.html | 4 +-- blog/shenanijam2018/index.html | 4 +-- blog/tiled-level-editor-phaser/index.html | 4 +-- britelite/index.html | 4 +-- britelite/library/index.html | 10 +++---- games/cupids-balance/index.html | 4 +-- games/index.html | 4 +-- games/whiskers_cove/index.html | 4 +-- games/zultiki/index.html | 4 +-- index.html | 18 +++++------ sitemap.xml | 30 +++++++++---------- spacelab/index.html | 4 +-- team/adora/index.html | 4 +-- team/ddraw/index.html | 4 +-- team/ryan/index.html | 4 +-- 50 files changed, 125 insertions(+), 125 deletions(-) create mode 100644 _app/immutable/assets/pages/account/profile/index.svelte-71f66b83.css delete mode 100644 _app/immutable/assets/pages/account/profile/index.svelte-ddc83c83.css create mode 100644 _app/immutable/pages/account/profile/index.svelte-182ad7d8.js delete mode 100644 _app/immutable/pages/account/profile/index.svelte-ff47ce54.js rename _app/immutable/{start-112a7450.js => start-c1bf149a.js} (99%) diff --git a/_app/immutable/assets/pages/account/profile/index.svelte-71f66b83.css b/_app/immutable/assets/pages/account/profile/index.svelte-71f66b83.css new file mode 100644 index 00000000..048db0cd --- /dev/null +++ b/_app/immutable/assets/pages/account/profile/index.svelte-71f66b83.css @@ -0,0 +1 @@ +p.svelte-izht14.svelte-izht14,h4.svelte-izht14.svelte-izht14{text-align:start;padding:0;margin:0}h4.svelte-izht14.svelte-izht14{padding:0;margin:0}.icon.svelte-izht14.svelte-izht14{font-size:3rem;margin-right:.2em;vertical-align:middle}input.svelte-izht14.svelte-izht14{margin:.5rem}.option-container.active.svelte-izht14.svelte-izht14{padding:0;margin:0;flex-flow:wrap;justify-content:center}@media all and (max-width: 440px){h4.svelte-izht14.svelte-izht14{font-size:1.1rem}p.svelte-izht14.svelte-izht14{font-size:.9rem}}.action-buttons.svelte-izht14.svelte-izht14{display:flex;justify-content:center;order:3}.action-buttons.svelte-izht14 button.svelte-izht14{justify-content:center}button.svelte-izht14.svelte-izht14{margin:1rem .3rem}p.svelte-25kbvu.svelte-25kbvu,h4.svelte-25kbvu.svelte-25kbvu{text-align:start;padding:0;margin:0}h4.svelte-25kbvu.svelte-25kbvu{padding:0;margin:0}.icon.svelte-25kbvu.svelte-25kbvu{font-size:3rem;margin-right:.2em;vertical-align:middle}@media all and (max-width: 440px){h4.svelte-25kbvu.svelte-25kbvu{font-size:1.1rem}p.svelte-25kbvu.svelte-25kbvu{font-size:.9rem}}@media all and (max-width: 320px){.option-container.svelte-25kbvu.svelte-25kbvu{flex-flow:row wrap}.option-container.svelte-25kbvu>.svelte-25kbvu{flex:1 100%}}p.svelte-1tvmcym.svelte-1tvmcym,h4.svelte-1tvmcym.svelte-1tvmcym{text-align:start;padding:0;margin:0}h4.svelte-1tvmcym.svelte-1tvmcym{padding:0;margin:0}input[type=checkbox].svelte-1tvmcym.svelte-1tvmcym{height:0;width:0;visibility:hidden}label.svelte-1tvmcym.svelte-1tvmcym{cursor:pointer;text-indent:-9999px;width:147px;height:53px;background:#757689;display:block;border-radius:7px;position:relative;margin:0rem 1rem}label.svelte-1tvmcym.svelte-1tvmcym:after{content:"";position:absolute;top:3px;left:5px;width:50px;height:50px;background:var(--heading-color);border-radius:7px;transition:.3s}input.svelte-1tvmcym:checked+label.svelte-1tvmcym{background:var(--button-color)}input.svelte-1tvmcym:checked+label.svelte-1tvmcym:after{left:calc(100% - 5px);transform:translate(-100%)}@media all and (max-width: 490px){label.svelte-1tvmcym.svelte-1tvmcym{margin:0 auto}}@media all and (max-width: 440px){h4.svelte-1tvmcym.svelte-1tvmcym{font-size:1.1rem}p.svelte-1tvmcym.svelte-1tvmcym{font-size:.9rem}}@media all and (max-width: 320px){.option-container.svelte-1tvmcym.svelte-1tvmcym{flex-flow:row wrap}.option-container.svelte-1tvmcym>.svelte-1tvmcym{flex:1 100%}}p.svelte-1rp1z0z.svelte-1rp1z0z,h4.svelte-1rp1z0z.svelte-1rp1z0z{text-align:start;padding:0;margin:0}h4.svelte-1rp1z0z.svelte-1rp1z0z{padding:0;margin:0}input[type=checkbox].svelte-1rp1z0z.svelte-1rp1z0z{height:0;width:0;visibility:hidden}label.svelte-1rp1z0z.svelte-1rp1z0z{cursor:pointer;text-indent:-9999px;width:147px;height:53px;background:#757689;display:block;border-radius:7px;position:relative;margin:0rem 1rem}label.svelte-1rp1z0z.svelte-1rp1z0z:after{content:"";position:absolute;top:3px;left:5px;width:50px;height:50px;background:var(--heading-color);border-radius:7px;transition:.3s}input.svelte-1rp1z0z:checked+label.svelte-1rp1z0z{background:var(--button-color)}input.svelte-1rp1z0z:checked+label.svelte-1rp1z0z:after{left:calc(100% - 5px);transform:translate(-100%)}@media all and (max-width: 490px){label.svelte-1rp1z0z.svelte-1rp1z0z{margin:0 auto}}@media all and (max-width: 440px){h4.svelte-1rp1z0z.svelte-1rp1z0z{font-size:1.1rem}p.svelte-1rp1z0z.svelte-1rp1z0z{font-size:.9rem}}@media all and (max-width: 320px){.option-container.svelte-1rp1z0z.svelte-1rp1z0z{flex-flow:row wrap}.option-container.svelte-1rp1z0z>.svelte-1rp1z0z{flex:1 100%}}p.svelte-mm5mlt.svelte-mm5mlt,h4.svelte-mm5mlt.svelte-mm5mlt{text-align:start;padding:0;margin:0}h4.svelte-mm5mlt.svelte-mm5mlt{padding:0;margin:0}input[type=checkbox].svelte-mm5mlt.svelte-mm5mlt{height:0;width:0;visibility:hidden}label.svelte-mm5mlt.svelte-mm5mlt{cursor:pointer;text-indent:-9999px;width:147px;height:53px;background:#757689;display:block;border-radius:7px;position:relative;margin:0rem 1rem}label.svelte-mm5mlt.svelte-mm5mlt:after{content:"";position:absolute;top:3px;left:5px;width:50px;height:50px;background:var(--heading-color);border-radius:7px;transition:.3s}input.svelte-mm5mlt:checked+label.svelte-mm5mlt{background:var(--button-color)}input.svelte-mm5mlt:checked+label.svelte-mm5mlt:after{left:calc(100% - 5px);transform:translate(-100%)}@media all and (max-width: 490px){label.svelte-mm5mlt.svelte-mm5mlt{margin:0 auto}}@media all and (max-width: 440px){h4.svelte-mm5mlt.svelte-mm5mlt{font-size:1.1rem}p.svelte-mm5mlt.svelte-mm5mlt{font-size:.9rem}}@media all and (max-width: 320px){.option-container.svelte-mm5mlt.svelte-mm5mlt{flex-flow:row wrap}.option-container.svelte-mm5mlt>.svelte-mm5mlt{flex:1 100%}}p.svelte-1yszf66.svelte-1yszf66,h4.svelte-1yszf66.svelte-1yszf66{text-align:start;padding:0;margin:0}h4.svelte-1yszf66.svelte-1yszf66{padding:0;margin:0}aside.svelte-1yszf66.svelte-1yszf66{padding:0}select.svelte-1yszf66.svelte-1yszf66{min-width:225px}@media all and (max-width: 440px){h4.svelte-1yszf66.svelte-1yszf66{font-size:1.1rem}p.svelte-1yszf66.svelte-1yszf66{font-size:.9rem}select.svelte-1yszf66.svelte-1yszf66{min-width:165px}}@media all and (max-width: 320px){.option-container.svelte-1yszf66.svelte-1yszf66{flex-flow:row wrap}.option-container.svelte-1yszf66>.svelte-1yszf66{flex:1 100%}}form.svelte-4qvar1{margin:0;padding:0}.profile-container.svelte-4qvar1{display:flex;flex-direction:column;align-items:center;line-height:1.5;font-size:1.2rem;letter-spacing:-.02rem;font-family:"Muli",Sans-Serif}.profile-image.svelte-4qvar1{width:256px;height:256px;-webkit-mask-image:radial-gradient(circle,black 67%,rgba(238,10,10,0) 0%);mask-image:radial-gradient(circle,black 67%,rgba(238,10,10,0) 0%)}.mask-border.svelte-4qvar1{width:256px;height:256px;background-color:var(--accent-color);-webkit-mask-image:radial-gradient(circle,black 70%,rgba(238,10,10,0) 10%);mask-image:radial-gradient(circle,black 70%,rgba(238,10,10,0) 10%)} diff --git a/_app/immutable/assets/pages/account/profile/index.svelte-ddc83c83.css b/_app/immutable/assets/pages/account/profile/index.svelte-ddc83c83.css deleted file mode 100644 index 79274e3c..00000000 --- a/_app/immutable/assets/pages/account/profile/index.svelte-ddc83c83.css +++ /dev/null @@ -1 +0,0 @@ -p.svelte-23bt53.svelte-23bt53,h4.svelte-23bt53.svelte-23bt53{text-align:start;padding:0;margin:0}h4.svelte-23bt53.svelte-23bt53{padding:0;margin:0}.icon.svelte-23bt53.svelte-23bt53{font-size:3rem;margin-right:.2em;vertical-align:middle}input.svelte-23bt53.svelte-23bt53{margin:.5rem}.option-container.active.svelte-23bt53.svelte-23bt53{padding:0;margin:0;flex-flow:wrap;justify-content:center}@media all and (max-width: 440px){h4.svelte-23bt53.svelte-23bt53{font-size:1.1rem}p.svelte-23bt53.svelte-23bt53{font-size:.9rem}}.action-buttons.svelte-23bt53.svelte-23bt53{display:flex;justify-content:center;order:3}.action-buttons.svelte-23bt53 button.svelte-23bt53{justify-content:center}button.svelte-23bt53.svelte-23bt53{margin:9px}p.svelte-25kbvu.svelte-25kbvu,h4.svelte-25kbvu.svelte-25kbvu{text-align:start;padding:0;margin:0}h4.svelte-25kbvu.svelte-25kbvu{padding:0;margin:0}.icon.svelte-25kbvu.svelte-25kbvu{font-size:3rem;margin-right:.2em;vertical-align:middle}@media all and (max-width: 440px){h4.svelte-25kbvu.svelte-25kbvu{font-size:1.1rem}p.svelte-25kbvu.svelte-25kbvu{font-size:.9rem}}@media all and (max-width: 320px){.option-container.svelte-25kbvu.svelte-25kbvu{flex-flow:row wrap}.option-container.svelte-25kbvu>.svelte-25kbvu{flex:1 100%}}p.svelte-1tvmcym.svelte-1tvmcym,h4.svelte-1tvmcym.svelte-1tvmcym{text-align:start;padding:0;margin:0}h4.svelte-1tvmcym.svelte-1tvmcym{padding:0;margin:0}input[type=checkbox].svelte-1tvmcym.svelte-1tvmcym{height:0;width:0;visibility:hidden}label.svelte-1tvmcym.svelte-1tvmcym{cursor:pointer;text-indent:-9999px;width:147px;height:53px;background:#757689;display:block;border-radius:7px;position:relative;margin:0rem 1rem}label.svelte-1tvmcym.svelte-1tvmcym:after{content:"";position:absolute;top:3px;left:5px;width:50px;height:50px;background:var(--heading-color);border-radius:7px;transition:.3s}input.svelte-1tvmcym:checked+label.svelte-1tvmcym{background:var(--button-color)}input.svelte-1tvmcym:checked+label.svelte-1tvmcym:after{left:calc(100% - 5px);transform:translate(-100%)}@media all and (max-width: 490px){label.svelte-1tvmcym.svelte-1tvmcym{margin:0 auto}}@media all and (max-width: 440px){h4.svelte-1tvmcym.svelte-1tvmcym{font-size:1.1rem}p.svelte-1tvmcym.svelte-1tvmcym{font-size:.9rem}}@media all and (max-width: 320px){.option-container.svelte-1tvmcym.svelte-1tvmcym{flex-flow:row wrap}.option-container.svelte-1tvmcym>.svelte-1tvmcym{flex:1 100%}}p.svelte-1rp1z0z.svelte-1rp1z0z,h4.svelte-1rp1z0z.svelte-1rp1z0z{text-align:start;padding:0;margin:0}h4.svelte-1rp1z0z.svelte-1rp1z0z{padding:0;margin:0}input[type=checkbox].svelte-1rp1z0z.svelte-1rp1z0z{height:0;width:0;visibility:hidden}label.svelte-1rp1z0z.svelte-1rp1z0z{cursor:pointer;text-indent:-9999px;width:147px;height:53px;background:#757689;display:block;border-radius:7px;position:relative;margin:0rem 1rem}label.svelte-1rp1z0z.svelte-1rp1z0z:after{content:"";position:absolute;top:3px;left:5px;width:50px;height:50px;background:var(--heading-color);border-radius:7px;transition:.3s}input.svelte-1rp1z0z:checked+label.svelte-1rp1z0z{background:var(--button-color)}input.svelte-1rp1z0z:checked+label.svelte-1rp1z0z:after{left:calc(100% - 5px);transform:translate(-100%)}@media all and (max-width: 490px){label.svelte-1rp1z0z.svelte-1rp1z0z{margin:0 auto}}@media all and (max-width: 440px){h4.svelte-1rp1z0z.svelte-1rp1z0z{font-size:1.1rem}p.svelte-1rp1z0z.svelte-1rp1z0z{font-size:.9rem}}@media all and (max-width: 320px){.option-container.svelte-1rp1z0z.svelte-1rp1z0z{flex-flow:row wrap}.option-container.svelte-1rp1z0z>.svelte-1rp1z0z{flex:1 100%}}p.svelte-mm5mlt.svelte-mm5mlt,h4.svelte-mm5mlt.svelte-mm5mlt{text-align:start;padding:0;margin:0}h4.svelte-mm5mlt.svelte-mm5mlt{padding:0;margin:0}input[type=checkbox].svelte-mm5mlt.svelte-mm5mlt{height:0;width:0;visibility:hidden}label.svelte-mm5mlt.svelte-mm5mlt{cursor:pointer;text-indent:-9999px;width:147px;height:53px;background:#757689;display:block;border-radius:7px;position:relative;margin:0rem 1rem}label.svelte-mm5mlt.svelte-mm5mlt:after{content:"";position:absolute;top:3px;left:5px;width:50px;height:50px;background:var(--heading-color);border-radius:7px;transition:.3s}input.svelte-mm5mlt:checked+label.svelte-mm5mlt{background:var(--button-color)}input.svelte-mm5mlt:checked+label.svelte-mm5mlt:after{left:calc(100% - 5px);transform:translate(-100%)}@media all and (max-width: 490px){label.svelte-mm5mlt.svelte-mm5mlt{margin:0 auto}}@media all and (max-width: 440px){h4.svelte-mm5mlt.svelte-mm5mlt{font-size:1.1rem}p.svelte-mm5mlt.svelte-mm5mlt{font-size:.9rem}}@media all and (max-width: 320px){.option-container.svelte-mm5mlt.svelte-mm5mlt{flex-flow:row wrap}.option-container.svelte-mm5mlt>.svelte-mm5mlt{flex:1 100%}}p.svelte-1yszf66.svelte-1yszf66,h4.svelte-1yszf66.svelte-1yszf66{text-align:start;padding:0;margin:0}h4.svelte-1yszf66.svelte-1yszf66{padding:0;margin:0}aside.svelte-1yszf66.svelte-1yszf66{padding:0}select.svelte-1yszf66.svelte-1yszf66{min-width:225px}@media all and (max-width: 440px){h4.svelte-1yszf66.svelte-1yszf66{font-size:1.1rem}p.svelte-1yszf66.svelte-1yszf66{font-size:.9rem}select.svelte-1yszf66.svelte-1yszf66{min-width:165px}}@media all and (max-width: 320px){.option-container.svelte-1yszf66.svelte-1yszf66{flex-flow:row wrap}.option-container.svelte-1yszf66>.svelte-1yszf66{flex:1 100%}}form.svelte-4qvar1{margin:0;padding:0}.profile-container.svelte-4qvar1{display:flex;flex-direction:column;align-items:center;line-height:1.5;font-size:1.2rem;letter-spacing:-.02rem;font-family:"Muli",Sans-Serif}.profile-image.svelte-4qvar1{width:256px;height:256px;-webkit-mask-image:radial-gradient(circle,black 67%,rgba(238,10,10,0) 0%);mask-image:radial-gradient(circle,black 67%,rgba(238,10,10,0) 0%)}.mask-border.svelte-4qvar1{width:256px;height:256px;background-color:var(--accent-color);-webkit-mask-image:radial-gradient(circle,black 70%,rgba(238,10,10,0) 10%);mask-image:radial-gradient(circle,black 70%,rgba(238,10,10,0) 10%)} diff --git a/_app/immutable/manifest.json b/_app/immutable/manifest.json index 57c5751f..d5a2825c 100644 --- a/_app/immutable/manifest.json +++ b/_app/immutable/manifest.json @@ -1,6 +1,6 @@ { ".svelte-kit/runtime/client/start.js": { - "file": "start-112a7450.js", + "file": "start-c1bf149a.js", "src": ".svelte-kit/runtime/client/start.js", "isEntry": true, "imports": [ @@ -310,7 +310,7 @@ ] }, "src/routes/account/profile/index.svelte": { - "file": "pages/account/profile/index.svelte-ff47ce54.js", + "file": "pages/account/profile/index.svelte-182ad7d8.js", "src": "src/routes/account/profile/index.svelte", "isEntry": true, "isDynamicEntry": true, @@ -323,7 +323,7 @@ "_index-16dda89e.js" ], "css": [ - "assets/pages/account/profile/index.svelte-ddc83c83.css" + "assets/pages/account/profile/index.svelte-71f66b83.css" ] }, "src/routes/account/terms.md": { diff --git a/_app/immutable/pages/account/profile/index.svelte-182ad7d8.js b/_app/immutable/pages/account/profile/index.svelte-182ad7d8.js new file mode 100644 index 00000000..c5d395b0 --- /dev/null +++ b/_app/immutable/pages/account/profile/index.svelte-182ad7d8.js @@ -0,0 +1,3 @@ +import{S as R,i as x,s as ee,e as v,k as C,l as _e,c as b,a as y,d as c,m as U,b as f,g as F,E as G,t as O,h as D,X as he,F as J,G as a,N as M,H as Y,V as re,O as oe,j as Ee,f as ke,P as ce,a5 as we,a2 as Ie,a3 as ve,a4 as Ae,w as te,x as se,J as be,y as ae,q as ie,o as le,B as ne}from"../../../chunks/index-2a82a4a8.js";import{g as ye}from"../../../chunks/navigation-0e6511d1.js";import{g as me}from"../../../chunks/config-abc8f7a4.js";import{a as Z}from"../../../chunks/accountStore-3492c591.js";import"../../../chunks/singletons-d1fb5791.js";import"../../../chunks/index-16dda89e.js";function Te(l){let e,s,n,g,r,t,d,o,u,i,_,m,p,T,P,E,h,A,I,w,S,N,L,V,j,H,$,W,B;return{c(){e=v("article"),s=v("h4"),n=O("Change Your Password"),g=C(),r=v("p"),t=O("Change your account's password."),d=C(),o=v("aside"),u=v("input"),_=C(),m=v("aside"),p=v("input"),P=C(),E=v("div"),h=v("button"),A=v("ion-icon"),I=C(),w=v("span"),S=O("Change"),N=C(),L=v("button"),V=v("ion-icon"),j=C(),H=v("span"),$=O("Cancel"),this.h()},l(k){e=b(k,"ARTICLE",{class:!0});var z=y(e);s=b(z,"H4",{class:!0});var X=y(s);n=D(X,"Change Your Password"),X.forEach(c),g=U(z),r=b(z,"P",{class:!0});var K=y(r);t=D(K,"Change your account's password."),K.forEach(c),z.forEach(c),d=U(k),o=b(k,"ASIDE",{class:!0});var Q=y(o);u=b(Q,"INPUT",{name:!0,id:!0,placeholder:!0,type:!0,class:!0}),Q.forEach(c),_=U(k),m=b(k,"ASIDE",{class:!0});var q=y(m);p=b(q,"INPUT",{name:!0,id:!0,placeholder:!0,type:!0,class:!0}),q.forEach(c),P=U(k),E=b(k,"DIV",{class:!0});var de=y(E);h=b(de,"BUTTON",{class:!0});var ue=y(h);A=b(ue,"ION-ICON",{class:!0,name:!0}),y(A).forEach(c),I=U(ue),w=b(ue,"SPAN",{});var pe=y(w);S=D(pe,"Change"),pe.forEach(c),ue.forEach(c),N=U(de),L=b(de,"BUTTON",{class:!0});var fe=y(L);V=b(fe,"ION-ICON",{class:!0,name:!0}),y(V).forEach(c),j=U(fe),H=b(fe,"SPAN",{});var ge=y(H);$=D(ge,"Cancel"),ge.forEach(c),fe.forEach(c),de.forEach(c),this.h()},h(){f(s,"class","highlight large svelte-izht14"),f(r,"class","svelte-izht14"),f(e,"class","main"),f(u,"name","old_password"),f(u,"id","old_password"),f(u,"placeholder","enter your old password"),f(u,"type","password"),u.required="true",f(u,"class",i=he(l[3]?"validation-error":"")+" svelte-izht14"),f(o,"class","aside aside-1"),f(p,"name","old_password"),f(p,"id","old_password"),f(p,"placeholder","enter your new password"),f(p,"type","password"),p.required="true",f(p,"class",T=he(l[3]?"validation-error":"")+" svelte-izht14"),f(m,"class","aside aside-2"),J(A,"class","icon svelte-izht14"),J(A,"name",l[8]),h.disabled=l[6],f(h,"class","svelte-izht14"),J(V,"class","icon svelte-izht14"),J(V,"name","close-circle"),f(L,"class","alert svelte-izht14"),f(E,"class","action-buttons svelte-izht14")},m(k,z){F(k,e,z),a(e,s),a(s,n),a(e,g),a(e,r),a(r,t),F(k,d,z),F(k,o,z),a(o,u),M(u,l[1]),F(k,_,z),F(k,m,z),a(m,p),M(p,l[2]),F(k,P,z),F(k,E,z),a(E,h),a(h,A),a(h,I),a(h,w),a(w,S),a(E,N),a(E,L),a(L,V),a(L,j),a(L,H),a(H,$),W||(B=[Y(u,"input",l[12]),Y(p,"input",l[13]),Y(h,"click",re(l[9])),Y(L,"click",re(l[10]))],W=!0)},p(k,z){z&8&&i!==(i=he(k[3]?"validation-error":"")+" svelte-izht14")&&f(u,"class",i),z&2&&u.value!==k[1]&&M(u,k[1]),z&8&&T!==(T=he(k[3]?"validation-error":"")+" svelte-izht14")&&f(p,"class",T),z&4&&p.value!==k[2]&&M(p,k[2]),z&256&&J(A,"name",k[8]),z&64&&(h.disabled=k[6])},d(k){k&&c(e),k&&c(d),k&&c(o),k&&c(_),k&&c(m),k&&c(P),k&&c(E),W=!1,oe(B)}}}function Pe(l){let e,s,n,g,r,t,d,o,u,i,_,m,p,T,P;return{c(){e=v("article"),s=v("h4"),n=O("Change Password"),g=C(),r=v("p"),t=O("Update your password."),d=C(),o=v("aside"),u=v("button"),i=v("ion-icon"),_=C(),m=v("span"),p=O("Change"),this.h()},l(E){e=b(E,"ARTICLE",{class:!0});var h=y(e);s=b(h,"H4",{class:!0});var A=y(s);n=D(A,"Change Password"),A.forEach(c),g=U(h),r=b(h,"P",{class:!0});var I=y(r);t=D(I,"Update your password."),I.forEach(c),h.forEach(c),d=U(E),o=b(E,"ASIDE",{class:!0});var w=y(o);u=b(w,"BUTTON",{class:!0});var S=y(u);i=b(S,"ION-ICON",{class:!0,name:!0}),y(i).forEach(c),_=U(S),m=b(S,"SPAN",{});var N=y(m);p=D(N,"Change"),N.forEach(c),S.forEach(c),w.forEach(c),this.h()},h(){f(s,"class","highlight large svelte-izht14"),f(r,"class","svelte-izht14"),f(e,"class","main"),J(i,"class","icon svelte-izht14"),J(i,"name",l[8]),u.disabled=l[6],f(u,"class","svelte-izht14"),f(o,"class","aside aside-1")},m(E,h){F(E,e,h),a(e,s),a(s,n),a(e,g),a(e,r),a(r,t),F(E,d,h),F(E,o,h),a(o,u),a(u,i),a(u,_),a(u,m),a(m,p),T||(P=Y(u,"click",re(l[9])),T=!0)},p(E,h){h&256&&J(i,"name",E[8]),h&64&&(u.disabled=E[6])},d(E){E&&c(e),E&&c(d),E&&c(o),T=!1,P()}}}function Se(l){let e,s,n,g;return{c(){e=v("div"),s=v("p"),n=v("ion-icon"),g=O(` + Your password was changed.`),this.h()},l(r){e=b(r,"DIV",{class:!0});var t=y(e);s=b(t,"P",{class:!0});var d=y(s);n=b(d,"ION-ICON",{class:!0,name:!0}),y(n).forEach(c),g=D(d,` + Your password was changed.`),d.forEach(c),t.forEach(c),this.h()},h(){J(n,"class","icon svelte-izht14"),J(n,"name","checkmark-circle-sharp"),f(s,"class","success svelte-izht14"),f(e,"class","error-container")},m(r,t){F(r,e,t),a(e,s),a(s,n),a(s,g)},p:G,d(r){r&&c(e)}}}function ze(l){let e,s,n,g,r;return{c(){e=v("div"),s=v("p"),n=v("ion-icon"),g=C(),r=O(l[4]),this.h()},l(t){e=b(t,"DIV",{class:!0});var d=y(e);s=b(d,"P",{class:!0});var o=y(s);n=b(o,"ION-ICON",{class:!0,name:!0}),y(n).forEach(c),g=U(o),r=D(o,l[4]),o.forEach(c),d.forEach(c),this.h()},h(){J(n,"class","icon svelte-izht14"),J(n,"name","close-circle-sharp"),f(s,"class","error svelte-izht14"),f(e,"class","error-container")},m(t,d){F(t,e,d),a(e,s),a(s,n),a(s,g),a(s,r)},p(t,d){d&16&&Ee(r,t[4])},d(t){t&&c(e)}}}function Ce(l){let e,s,n,g;function r(_,m){return _[0]?Te:Pe}let t=r(l),d=t(l);function o(_,m){if(_[3]&&!_[5])return ze;if(!_[3]&&_[5])return Se}let u=o(l),i=u&&u(l);return{c(){e=v("div"),d.c(),n=C(),i&&i.c(),g=_e(),this.h()},l(_){e=b(_,"DIV",{class:!0});var m=y(e);d.l(m),m.forEach(c),n=U(_),i&&i.l(_),g=_e(),this.h()},h(){f(e,"class",s="option-container "+l[7]+" svelte-izht14")},m(_,m){F(_,e,m),d.m(e,null),F(_,n,m),i&&i.m(_,m),F(_,g,m)},p(_,[m]){t===(t=r(_))&&d?d.p(_,m):(d.d(1),d=t(_),d&&(d.c(),d.m(e,null))),m&128&&s!==(s="option-container "+_[7]+" svelte-izht14")&&f(e,"class",s),u===(u=o(_))&&i?i.p(_,m):(i&&i.d(1),i=u&&u(_),i&&(i.c(),i.m(g.parentNode,g)))},i:G,o:G,d(_){_&&c(e),d.d(),_&&c(n),i&&i.d(_),_&&c(g)}}}function Ue(l,e,s){let n,g,r,t=!1,d="",o="",u=!1,i="",_=!1,{token:m=""}=e;const p=async h=>{if(s(5,_=!1),s(3,u=!1),t&&d.length>0&&o.length>0){const A=await fetch(`${me().serviceUrl}/account/change-password/`,{method:"PATCH",headers:{Accept:"application/json","Content-Type":"application/json","Access-Control-Allow-Origin":"https://3ee.com",Authorization:"Token "+m},body:JSON.stringify({old_password:d,new_password:o})});A.status===200?(s(1,d=""),s(2,o=""),s(3,u=!1),s(5,_=!0),typeof umami!="undefined"&&umami.trackEvent("Change Password",{success:!0})):(s(3,u=!0),s(4,i=await A.json()),typeof(i==null?void 0:i.old_password)!="undefined"&&(s(4,i=i.old_password[0]),typeof umami!="undefined"&&umami.trackEvent("Change Password",{success:!1})))}u||s(0,t=!t)};function T(){s(0,t=!1)}function P(){d=this.value,s(1,d)}function E(){o=this.value,s(2,o)}return l.$$set=h=>{"token"in h&&s(11,m=h.token)},l.$$.update=()=>{l.$$.dirty&1&&s(8,n=t?"lock-open-sharp":"lock-closed-sharp"),l.$$.dirty&1&&s(7,g=t?"active":""),l.$$.dirty&7&&s(6,r=t&&d.length===0&&o.length===0||t&&d.length>0&&o.length===0||t&&d.length===0&&o.length>0?"disabled":"")},[t,d,o,u,i,_,r,g,n,p,T,m,P,E]}class Ne extends R{constructor(e){super(),x(this,e,Ue,Ce,ee,{token:11})}}function Oe(l){let e,s,n,g,r,t,d,o,u,i,_,m,p,T,P,E,h,A;return{c(){e=v("div"),s=v("article"),n=v("h4"),g=O("Avatar"),r=C(),t=v("p"),d=O("Upload your avatar. Recommended size is 256x256 pixels."),o=C(),u=v("input"),i=C(),_=v("aside"),m=v("button"),p=v("ion-icon"),T=C(),P=v("span"),E=O("Upload"),this.h()},l(I){e=b(I,"DIV",{class:!0});var w=y(e);s=b(w,"ARTICLE",{class:!0});var S=y(s);n=b(S,"H4",{class:!0});var N=y(n);g=D(N,"Avatar"),N.forEach(c),r=U(S),t=b(S,"P",{class:!0});var L=y(t);d=D(L,"Upload your avatar. Recommended size is 256x256 pixels."),L.forEach(c),o=U(S),u=b(S,"INPUT",{style:!0,type:!0,accept:!0}),S.forEach(c),i=U(w),_=b(w,"ASIDE",{class:!0});var V=y(_);m=b(V,"BUTTON",{});var j=y(m);p=b(j,"ION-ICON",{class:!0,name:!0}),y(p).forEach(c),T=U(j),P=b(j,"SPAN",{});var H=y(P);E=D(H,"Upload"),H.forEach(c),j.forEach(c),V.forEach(c),w.forEach(c),this.h()},h(){f(n,"class","highlight large svelte-25kbvu"),f(t,"class","svelte-25kbvu"),ke(u,"display","none"),f(u,"type","file"),f(u,"accept",".jpg, .jpeg, .png, .webp, .gif"),f(s,"class","main svelte-25kbvu"),J(p,"class","icon svelte-25kbvu"),J(p,"name","camera"),m.disabled=l[0],f(_,"class","aside aside-3 svelte-25kbvu"),f(e,"class","option-container svelte-25kbvu")},m(I,w){F(I,e,w),a(e,s),a(s,n),a(n,g),a(s,r),a(s,t),a(t,d),a(s,o),a(s,u),l[5](u),a(e,i),a(e,_),a(_,m),a(m,p),a(m,T),a(m,P),a(P,E),h||(A=[Y(u,"change",l[4]),Y(m,"click",re(l[2]))],h=!0)},p(I,[w]){w&1&&(m.disabled=I[0])},i:G,o:G,d(I){I&&c(e),l[5](null),h=!1,oe(A)}}}function De(l,e,s){let{isProfileImageLoading:n=!1}=e,g;const r=ce(),t=async i=>{g.click()},d=async i=>{r("onFileSelected",{file:i.target.files[0]})},o=i=>d(i);function u(i){we[i?"unshift":"push"](()=>{g=i,s(1,g)})}return l.$$set=i=>{"isProfileImageLoading"in i&&s(0,n=i.isProfileImageLoading)},[n,g,t,d,o,u]}class Le extends R{constructor(e){super(),x(this,e,De,Oe,ee,{isProfileImageLoading:0})}}function Ve(l){let e,s,n,g,r,t,d,o,u,i,_,m,p,T,P;return{c(){e=v("div"),s=v("article"),n=v("h4"),g=O("Subscribe to Insight"),r=C(),t=v("p"),d=O("Exclusive monthly email about games."),o=C(),u=v("aside"),i=v("input"),_=C(),m=v("label"),p=O("subscribe to 3ee insight newsletter"),this.h()},l(E){e=b(E,"DIV",{class:!0});var h=y(e);s=b(h,"ARTICLE",{class:!0});var A=y(s);n=b(A,"H4",{class:!0});var I=y(n);g=D(I,"Subscribe to Insight"),I.forEach(c),r=U(A),t=b(A,"P",{class:!0});var w=y(t);d=D(w,"Exclusive monthly email about games."),w.forEach(c),A.forEach(c),o=U(h),u=b(h,"ASIDE",{class:!0});var S=y(u);i=b(S,"INPUT",{type:!0,id:!0,name:!0,class:!0}),_=U(S),m=b(S,"LABEL",{for:!0,class:!0});var N=y(m);p=D(N,"subscribe to 3ee insight newsletter"),N.forEach(c),S.forEach(c),h.forEach(c),this.h()},h(){f(n,"class","highlight large svelte-1tvmcym"),f(t,"class","svelte-1tvmcym"),f(s,"class","main svelte-1tvmcym"),f(i,"type","checkbox"),f(i,"id","insight_subscription"),f(i,"name","insight_subscription"),i.checked=l[1],f(i,"class","svelte-1tvmcym"),f(m,"for","insight_subscription"),f(m,"class","svelte-1tvmcym"),f(u,"class","aside aside-1 svelte-1tvmcym"),f(e,"class","option-container svelte-1tvmcym")},m(E,h){F(E,e,h),a(e,s),a(s,n),a(n,g),a(s,r),a(s,t),a(t,d),a(e,o),a(e,u),a(u,i),M(i,l[0]),a(u,_),a(u,m),a(m,p),T||(P=[Y(i,"change",l[3]),Y(i,"change",re(l[2]))],T=!0)},p(E,[h]){h&2&&(i.checked=E[1]),h&1&&M(i,E[0])},i:G,o:G,d(E){E&&c(e),T=!1,oe(P)}}}function je(l,e,s){const n=ce();let{subscribeInsight:g="checked"}=e,{isSubscribedToInsight:r=!0}=e;const t=async o=>{n("onUpdateSettings",{id:o.target.id,checked:o.target.checked})};function d(){r=this.value,s(0,r)}return l.$$set=o=>{"subscribeInsight"in o&&s(1,g=o.subscribeInsight),"isSubscribedToInsight"in o&&s(0,r=o.isSubscribedToInsight)},[r,g,t,d]}class Fe extends R{constructor(e){super(),x(this,e,je,Ve,ee,{subscribeInsight:1,isSubscribedToInsight:0})}}function He(l){let e,s,n,g,r,t,d,o,u,i,_,m,p,T,P,E,h,A;return{c(){e=v("div"),s=v("article"),n=v("h4"),g=O("Allow Analytics"),r=C(),t=v("p"),d=O("Allow analytics to run. Read more: "),o=v("a"),u=O("privacy policy"),i=O("."),_=C(),m=v("aside"),p=v("input"),T=C(),P=v("label"),E=O("subscribe to 3ee insight newsletter"),this.h()},l(I){e=b(I,"DIV",{class:!0});var w=y(e);s=b(w,"ARTICLE",{class:!0});var S=y(s);n=b(S,"H4",{class:!0});var N=y(n);g=D(N,"Allow Analytics"),N.forEach(c),r=U(S),t=b(S,"P",{class:!0});var L=y(t);d=D(L,"Allow analytics to run. Read more: "),o=b(L,"A",{href:!0});var V=y(o);u=D(V,"privacy policy"),V.forEach(c),i=D(L,"."),L.forEach(c),S.forEach(c),_=U(w),m=b(w,"ASIDE",{class:!0});var j=y(m);p=b(j,"INPUT",{type:!0,id:!0,name:!0,class:!0}),T=U(j),P=b(j,"LABEL",{for:!0,class:!0});var H=y(P);E=D(H,"subscribe to 3ee insight newsletter"),H.forEach(c),j.forEach(c),w.forEach(c),this.h()},h(){f(n,"class","highlight large svelte-1rp1z0z"),f(o,"href","/account/privacy/"),f(t,"class","svelte-1rp1z0z"),f(s,"class","main svelte-1rp1z0z"),f(p,"type","checkbox"),f(p,"id","track_google_analytics"),f(p,"name","track_google_analytics"),p.checked=l[1],f(p,"class","svelte-1rp1z0z"),f(P,"for","track_google_analytics"),f(P,"class","svelte-1rp1z0z"),f(m,"class","aside aside-1 svelte-1rp1z0z"),f(e,"class","option-container svelte-1rp1z0z")},m(I,w){F(I,e,w),a(e,s),a(s,n),a(n,g),a(s,r),a(s,t),a(t,d),a(t,o),a(o,u),a(t,i),a(e,_),a(e,m),a(m,p),M(p,l[0]),a(m,T),a(m,P),a(P,E),h||(A=[Y(p,"change",l[3]),Y(p,"change",re(l[2]))],h=!0)},p(I,[w]){w&2&&(p.checked=I[1]),w&1&&M(p,I[0])},i:G,o:G,d(I){I&&c(e),h=!1,oe(A)}}}function Be(l,e,s){const n=ce();let{analyticsTrack:g="checked"}=e,{isTracking:r=!0}=e;const t=async o=>{n("onUpdateSettings",{id:o.target.id,checked:o.target.checked})};function d(){r=this.value,s(0,r)}return l.$$set=o=>{"analyticsTrack"in o&&s(1,g=o.analyticsTrack),"isTracking"in o&&s(0,r=o.isTracking)},[r,g,t,d]}class qe extends R{constructor(e){super(),x(this,e,Be,He,ee,{analyticsTrack:1,isTracking:0})}}function $e(l){let e,s,n,g,r,t,d,o,u,i,_,m,p,T,P;return{c(){e=v("div"),s=v("article"),n=v("h4"),g=O("Play Website Animation"),r=C(),t=v("p"),d=O("Toggle animations on and off."),o=C(),u=v("aside"),i=v("input"),_=C(),m=v("label"),p=O("play website animations"),this.h()},l(E){e=b(E,"DIV",{class:!0});var h=y(e);s=b(h,"ARTICLE",{class:!0});var A=y(s);n=b(A,"H4",{class:!0});var I=y(n);g=D(I,"Play Website Animation"),I.forEach(c),r=U(A),t=b(A,"P",{class:!0});var w=y(t);d=D(w,"Toggle animations on and off."),w.forEach(c),A.forEach(c),o=U(h),u=b(h,"ASIDE",{class:!0});var S=y(u);i=b(S,"INPUT",{type:!0,id:!0,name:!0,class:!0}),_=U(S),m=b(S,"LABEL",{for:!0,class:!0});var N=y(m);p=D(N,"play website animations"),N.forEach(c),S.forEach(c),h.forEach(c),this.h()},h(){f(n,"class","highlight large svelte-mm5mlt"),f(t,"class","svelte-mm5mlt"),f(s,"class","main svelte-mm5mlt"),f(i,"type","checkbox"),f(i,"id","show_website_animations"),f(i,"name","show_website_animations"),i.checked=l[1],f(i,"class","svelte-mm5mlt"),f(m,"for","show_website_animations"),f(m,"class","svelte-mm5mlt"),f(u,"class","aside aside-1 svelte-mm5mlt"),f(e,"class","option-container svelte-mm5mlt")},m(E,h){F(E,e,h),a(e,s),a(s,n),a(n,g),a(s,r),a(s,t),a(t,d),a(e,o),a(e,u),a(u,i),M(i,l[0]),a(u,_),a(u,m),a(m,p),T||(P=[Y(i,"change",l[3]),Y(i,"change",re(l[2]))],T=!0)},p(E,[h]){h&2&&(i.checked=E[1]),h&1&&M(i,E[0])},i:G,o:G,d(E){E&&c(e),T=!1,oe(P)}}}function Ye(l,e,s){const n=ce();let{animations:g="checked"}=e,{isAnimationsToggled:r=!0}=e;const t=async o=>{n("onUpdateSettings",{id:o.target.id,checked:o.target.checked})};function d(){r=this.value,s(0,r)}return l.$$set=o=>{"animations"in o&&s(1,g=o.animations),"isAnimationsToggled"in o&&s(0,r=o.isAnimationsToggled)},[r,g,t,d]}class Je extends R{constructor(e){super(),x(this,e,Ye,$e,ee,{animations:1,isAnimationsToggled:0})}}function Ge(l){let e,s,n,g,r,t,d,o,u,i,_,m,p,T,P,E,h,A;return{c(){e=v("div"),s=v("article"),n=v("h4"),g=O("Select a theme"),r=C(),t=v("p"),d=O("Choose a theme for your experience."),o=C(),u=v("aside"),i=v("select"),_=v("option"),m=O("Default"),p=v("option"),T=O("Spacelab"),P=v("option"),E=O("Balace"),this.h()},l(I){e=b(I,"DIV",{class:!0});var w=y(e);s=b(w,"ARTICLE",{class:!0});var S=y(s);n=b(S,"H4",{class:!0});var N=y(n);g=D(N,"Select a theme"),N.forEach(c),r=U(S),t=b(S,"P",{class:!0});var L=y(t);d=D(L,"Choose a theme for your experience."),L.forEach(c),S.forEach(c),o=U(w),u=b(w,"ASIDE",{class:!0});var V=y(u);i=b(V,"SELECT",{id:!0,class:!0});var j=y(i);_=b(j,"OPTION",{});var H=y(_);m=D(H,"Default"),H.forEach(c),p=b(j,"OPTION",{});var $=y(p);T=D($,"Spacelab"),$.forEach(c),P=b(j,"OPTION",{});var W=y(P);E=D(W,"Balace"),W.forEach(c),j.forEach(c),V.forEach(c),w.forEach(c),this.h()},h(){f(n,"class","highlight large svelte-1yszf66"),f(t,"class","svelte-1yszf66"),f(s,"class","main svelte-1yszf66"),_.__value="0",_.value=_.__value,p.__value="1",p.value=p.__value,P.__value="2",P.value=P.__value,f(i,"id","theme-selector"),f(i,"class","svelte-1yszf66"),l[0]===void 0&&Ie(()=>l[3].call(i)),f(u,"class","aside aside-1 svelte-1yszf66"),f(e,"class","option-container svelte-1yszf66")},m(I,w){F(I,e,w),a(e,s),a(s,n),a(n,g),a(s,r),a(s,t),a(t,d),a(e,o),a(e,u),a(u,i),a(i,_),a(_,m),a(i,p),a(p,T),a(i,P),a(P,E),ve(i,l[0]),h||(A=[Y(i,"change",l[3]),Y(i,"change",l[1])],h=!0)},p(I,[w]){w&1&&ve(i,I[0])},i:G,o:G,d(I){I&&c(e),h=!1,oe(A)}}}function We(l,e,s){let n;const g=ce();let{theme:r=0}=e;const t=async o=>{g("onUpdateSettings",{id:o.target.id,value:parseInt(o.target.value)})};function d(){n=Ae(this),s(0,n),s(2,r)}return l.$$set=o=>{"theme"in o&&s(2,r=o.theme)},l.$$.update=()=>{l.$$.dirty&4&&s(0,n=r.toString())},[n,t,r,d]}class Me extends R{constructor(e){super(),x(this,e,We,Ge,ee,{theme:2})}}function Xe(l){var W,B;let e,s,n,g,r,t,d,o,u,i,_,m,p,T,P,E,h,A,I,w,S,N,L,V,j,H,$;return T=new Le({props:{isProfileImageLoading:l[0]}}),T.$on("onFileSelected",l[11]),T.$on("onUpdate",l[11]),T.$on("onViewAvatar",l[13]),E=new Ne({props:{token:l[3]}}),A=new Me({props:{theme:(B=(W=l[1])==null?void 0:W.settings)==null?void 0:B.theme}}),A.$on("onUpdateSettings",l[12]),w=new Fe({props:{subscribeInsight:l[8],isSubscribedToInsight:l[5]}}),w.$on("onUpdateSettings",l[12]),N=new qe({props:{analyticsTrack:l[9],isTracking:l[6]}}),N.$on("onUpdateSettings",l[12]),V=new Je({props:{animations:l[10],isAnimationsToggled:l[7]}}),V.$on("onUpdateSettings",l[12]),{c(){e=v("div"),s=v("h1"),n=O("Your Profile"),g=C(),r=v("div"),t=v("img"),u=C(),i=v("h2"),_=O(l[4]),m=C(),p=v("form"),te(T.$$.fragment),P=C(),te(E.$$.fragment),h=C(),te(A.$$.fragment),I=C(),te(w.$$.fragment),S=C(),te(N.$$.fragment),L=C(),te(V.$$.fragment),j=C(),H=v("hr"),this.h()},l(k){e=b(k,"DIV",{class:!0});var z=y(e);s=b(z,"H1",{});var X=y(s);n=D(X,"Your Profile"),X.forEach(c),g=U(z),r=b(z,"DIV",{class:!0});var K=y(r);t=b(K,"IMG",{class:!0,src:!0,alt:!0}),K.forEach(c),u=U(z),i=b(z,"H2",{});var Q=y(i);_=D(Q,l[4]),Q.forEach(c),m=U(z),p=b(z,"FORM",{class:!0});var q=y(p);se(T.$$.fragment,q),P=U(q),se(E.$$.fragment,q),h=U(q),se(A.$$.fragment,q),I=U(q),se(w.$$.fragment,q),S=U(q),se(N.$$.fragment,q),L=U(q),se(V.$$.fragment,q),q.forEach(c),z.forEach(c),j=U(k),H=b(k,"HR",{}),this.h()},h(){f(t,"class","profile-image svelte-4qvar1"),be(t.src,d=l[2])||f(t,"src",d),f(t,"alt",o=l[1].username+" profile avatar"),f(r,"class","mask-border svelte-4qvar1"),f(p,"class","settings-form svelte-4qvar1"),f(e,"class","profile-container svelte-4qvar1")},m(k,z){F(k,e,z),a(e,s),a(s,n),a(e,g),a(e,r),a(r,t),a(e,u),a(e,i),a(i,_),a(e,m),a(e,p),ae(T,p,null),a(p,P),ae(E,p,null),a(p,h),ae(A,p,null),a(p,I),ae(w,p,null),a(p,S),ae(N,p,null),a(p,L),ae(V,p,null),F(k,j,z),F(k,H,z),$=!0},p(k,[z]){var Q,q;(!$||z&4&&!be(t.src,d=k[2]))&&f(t,"src",d),(!$||z&2&&o!==(o=k[1].username+" profile avatar"))&&f(t,"alt",o);const X={};z&1&&(X.isProfileImageLoading=k[0]),T.$set(X);const K={};z&2&&(K.theme=(q=(Q=k[1])==null?void 0:Q.settings)==null?void 0:q.theme),A.$set(K)},i(k){$||(ie(T.$$.fragment,k),ie(E.$$.fragment,k),ie(A.$$.fragment,k),ie(w.$$.fragment,k),ie(N.$$.fragment,k),ie(V.$$.fragment,k),$=!0)},o(k){le(T.$$.fragment,k),le(E.$$.fragment,k),le(A.$$.fragment,k),le(w.$$.fragment,k),le(N.$$.fragment,k),le(V.$$.fragment,k),$=!1},d(k){k&&c(e),ne(T),ne(E),ne(A),ne(w),ne(N),ne(V),k&&c(j),k&&c(H)}}}function Ke(l,e,s){var A,I,w,S,N,L,V,j,H,$,W;let n;const g=ce();let{isProfileImageLoading:r=!1}=e,t;Z.subscribe(B=>{s(1,t=B)});const d=t.token,o=t.username;let u=!!(typeof((A=t==null?void 0:t.settings)==null?void 0:A.insight_subscription)!="undefined"&&((I=t==null?void 0:t.settings)==null?void 0:I.insight_subscription)),i=!!(typeof((w=t==null?void 0:t.settings)==null?void 0:w.track_google_analytics)!="undefined"&&((S=t==null?void 0:t.settings)==null?void 0:S.track_google_analytics)),_=!!(typeof((N=t==null?void 0:t.settings)==null?void 0:N.show_website_animations)!="undefined"&&((L=t==null?void 0:t.settings)==null?void 0:L.show_website_animations));typeof((V=t==null?void 0:t.settings)==null?void 0:V.theme)!="undefined"&&((j=t==null?void 0:t.settings)==null?void 0:j.theme)||(H=t==null?void 0:t.settings)==null||H.the;let m=u?"checked":"",p=i?"checked":"",T=_?"checked":"";typeof(($=t==null?void 0:t.profile)==null?void 0:$.useDiffusion)!="undefined"&&((W=t==null?void 0:t.profile)==null||W.useDiffusion);const P=async(B,k)=>{g("onFileSelected",B.detail,k)},E=async B=>{g("onUpdateSettings",B.detail)},h=async B=>{g("onViewAvatar",B.detail)};return l.$$set=B=>{"isProfileImageLoading"in B&&s(0,r=B.isProfileImageLoading)},l.$$.update=()=>{var B;l.$$.dirty&2&&s(2,n=typeof((B=t==null?void 0:t.profile)==null?void 0:B.image)!="undefined"?t.profile.image:"")},[r,t,n,d,o,u,i,_,m,p,T,P,E,h]}class Qe extends R{constructor(e){super(),x(this,e,Ke,Xe,ee,{isProfileImageLoading:0})}}function Ze(l){let e,s,n,g;return n=new Qe({props:{prompt:l[1],isProfileImageLoading:l[0]}}),n.$on("onUpdateSettings",l[3]),n.$on("onFileSelected",l[2]),{c(){e=v("section"),s=v("article"),te(n.$$.fragment),this.h()},l(r){e=b(r,"SECTION",{class:!0});var t=y(e);s=b(t,"ARTICLE",{class:!0});var d=y(s);se(n.$$.fragment,d),d.forEach(c),t.forEach(c),this.h()},h(){f(s,"class","content"),f(e,"class","background")},m(r,t){F(r,e,t),a(e,s),ae(n,s,null),g=!0},p(r,[t]){const d={};t&2&&(d.prompt=r[1]),t&1&&(d.isProfileImageLoading=r[0]),n.$set(d)},i(r){g||(ie(n.$$.fragment,r),g=!0)},o(r){le(n.$$.fragment,r),g=!1},d(r){r&&c(e),ne(n)}}}function Re(l,e,s){let n,g;Z.subscribe(h=>{g=h});let r=null,t={},d=new FormData,o=!1,u=!1,i=!0,_=0,m=!0;const p=g.token,T=async(h,A)=>{r=h.detail.file,new FileReader().readAsDataURL(r),d.append("file",r),d.append("useDiffusion",!1),P()},P=async()=>{s(0,o=!0);const h=await fetch(`${me().serviceUrl}/account/upload/`,{method:"POST",headers:{Accept:"application/json","Access-Control-Allow-Origin":"https://3ee.com",Authorization:"Token "+p},mode:"cors",body:d});if(h.status===401){Z.set({}),Z.deleteLocalStorage(),ye("/account/login");return}const A=await h.json();let I=g;I.profile.image=A.image,I.profile.imageSmall=A.imageSmall,Z.set(I),s(0,o=!1),typeof umami!="undefined"&&umami.trackEvent("Upload Avatar",{success:!0})},E=async h=>{h.detail.id==="insight_subscription"?u=h.detail.checked:h.detail.id==="track_google_analytics"?m=h.detail.checked:h.detail.id==="show_website_animations"?i=h.detail.checked:h.detail.id==="theme-selector"&&(_=h.detail.value);const A={insight_subscription:u,track_google_analytics:m,show_website_animations:i,theme:_},I=await fetch(`${me().serviceUrl}/account/settings/`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json","Access-Control-Allow-Origin":"https://3ee.com",Authorization:"Token "+p},mode:"cors",body:JSON.stringify(A)});if(I.status===401){Z.set({}),Z.deleteLocalStorage(),ye("/account/login");return}const w=await I.json();let S=g;S.settings=w,Z.set(S)};return s(1,n=t),[o,n,T,E]}class lt extends R{constructor(e){super(),x(this,e,Re,Ze,ee,{})}}export{lt as default}; diff --git a/_app/immutable/pages/account/profile/index.svelte-ff47ce54.js b/_app/immutable/pages/account/profile/index.svelte-ff47ce54.js deleted file mode 100644 index bef4079f..00000000 --- a/_app/immutable/pages/account/profile/index.svelte-ff47ce54.js +++ /dev/null @@ -1,3 +0,0 @@ -import{S as R,i as x,s as ee,e as v,k as U,l as _e,c as b,a as y,d as c,m as N,b as f,g as F,E as G,t as D,h as L,X as he,F as J,G as a,N as M,H as Y,V as re,O as oe,j as Ee,f as ke,P as ce,a5 as we,a2 as Ie,a3 as ve,a4 as Ae,w as te,x as se,J as be,y as ae,q as le,o as ie,B as ne}from"../../../chunks/index-2a82a4a8.js";import{g as ye}from"../../../chunks/navigation-0e6511d1.js";import{g as me}from"../../../chunks/config-abc8f7a4.js";import{a as Z}from"../../../chunks/accountStore-3492c591.js";import"../../../chunks/singletons-d1fb5791.js";import"../../../chunks/index-16dda89e.js";function Te(i){let e,s,n,g,r,t,d,o,u,l,_,m,p,T,P,E,h,A,I,w,S,O,z,V,j,H,$,W,B;return{c(){e=v("article"),s=v("h4"),n=D("Change Your Password"),g=U(),r=v("p"),t=D("Change your account's password."),d=U(),o=v("aside"),u=v("input"),_=U(),m=v("aside"),p=v("input"),P=U(),E=v("div"),h=v("button"),A=v("ion-icon"),I=U(),w=v("span"),S=D("Change"),O=U(),z=v("button"),V=v("ion-icon"),j=U(),H=v("span"),$=D("Cancel"),this.h()},l(k){e=b(k,"ARTICLE",{class:!0});var C=y(e);s=b(C,"H4",{class:!0});var X=y(s);n=L(X,"Change Your Password"),X.forEach(c),g=N(C),r=b(C,"P",{class:!0});var K=y(r);t=L(K,"Change your account's password."),K.forEach(c),C.forEach(c),d=N(k),o=b(k,"ASIDE",{class:!0});var Q=y(o);u=b(Q,"INPUT",{name:!0,id:!0,placeholder:!0,type:!0,class:!0}),Q.forEach(c),_=N(k),m=b(k,"ASIDE",{class:!0});var q=y(m);p=b(q,"INPUT",{name:!0,id:!0,placeholder:!0,type:!0,class:!0}),q.forEach(c),P=N(k),E=b(k,"DIV",{class:!0});var de=y(E);h=b(de,"BUTTON",{class:!0});var ue=y(h);A=b(ue,"ION-ICON",{class:!0,name:!0}),y(A).forEach(c),I=N(ue),w=b(ue,"SPAN",{});var pe=y(w);S=L(pe,"Change"),pe.forEach(c),ue.forEach(c),O=N(de),z=b(de,"BUTTON",{class:!0});var fe=y(z);V=b(fe,"ION-ICON",{class:!0,name:!0}),y(V).forEach(c),j=N(fe),H=b(fe,"SPAN",{});var ge=y(H);$=L(ge,"Cancel"),ge.forEach(c),fe.forEach(c),de.forEach(c),this.h()},h(){f(s,"class","highlight large svelte-23bt53"),f(r,"class","svelte-23bt53"),f(e,"class","main"),f(u,"name","old_password"),f(u,"id","old_password"),f(u,"placeholder","enter your old password"),f(u,"type","password"),u.required="true",f(u,"class",l=he(i[3]?"validation-error":"")+" svelte-23bt53"),f(o,"class","aside aside-1"),f(p,"name","old_password"),f(p,"id","old_password"),f(p,"placeholder","enter your new password"),f(p,"type","password"),p.required="true",f(p,"class",T=he(i[3]?"validation-error":"")+" svelte-23bt53"),f(m,"class","aside aside-2"),J(A,"class","icon svelte-23bt53"),J(A,"name",i[8]),h.disabled=i[6],f(h,"class","svelte-23bt53"),J(V,"class","icon svelte-23bt53"),J(V,"name","close-circle"),f(z,"class","alert svelte-23bt53"),f(E,"class","action-buttons svelte-23bt53")},m(k,C){F(k,e,C),a(e,s),a(s,n),a(e,g),a(e,r),a(r,t),F(k,d,C),F(k,o,C),a(o,u),M(u,i[1]),F(k,_,C),F(k,m,C),a(m,p),M(p,i[2]),F(k,P,C),F(k,E,C),a(E,h),a(h,A),a(h,I),a(h,w),a(w,S),a(E,O),a(E,z),a(z,V),a(z,j),a(z,H),a(H,$),W||(B=[Y(u,"input",i[12]),Y(p,"input",i[13]),Y(h,"click",re(i[9])),Y(z,"click",re(i[10]))],W=!0)},p(k,C){C&8&&l!==(l=he(k[3]?"validation-error":"")+" svelte-23bt53")&&f(u,"class",l),C&2&&u.value!==k[1]&&M(u,k[1]),C&8&&T!==(T=he(k[3]?"validation-error":"")+" svelte-23bt53")&&f(p,"class",T),C&4&&p.value!==k[2]&&M(p,k[2]),C&256&&J(A,"name",k[8]),C&64&&(h.disabled=k[6])},d(k){k&&c(e),k&&c(d),k&&c(o),k&&c(_),k&&c(m),k&&c(P),k&&c(E),W=!1,oe(B)}}}function Pe(i){let e,s,n,g,r,t,d,o,u,l,_,m,p,T,P;return{c(){e=v("article"),s=v("h4"),n=D("Change Password"),g=U(),r=v("p"),t=D("Update your password."),d=U(),o=v("aside"),u=v("button"),l=v("ion-icon"),_=U(),m=v("span"),p=D("Change"),this.h()},l(E){e=b(E,"ARTICLE",{class:!0});var h=y(e);s=b(h,"H4",{class:!0});var A=y(s);n=L(A,"Change Password"),A.forEach(c),g=N(h),r=b(h,"P",{class:!0});var I=y(r);t=L(I,"Update your password."),I.forEach(c),h.forEach(c),d=N(E),o=b(E,"ASIDE",{class:!0});var w=y(o);u=b(w,"BUTTON",{class:!0});var S=y(u);l=b(S,"ION-ICON",{class:!0,name:!0}),y(l).forEach(c),_=N(S),m=b(S,"SPAN",{});var O=y(m);p=L(O,"Change"),O.forEach(c),S.forEach(c),w.forEach(c),this.h()},h(){f(s,"class","highlight large svelte-23bt53"),f(r,"class","svelte-23bt53"),f(e,"class","main"),J(l,"class","icon svelte-23bt53"),J(l,"name",i[8]),u.disabled=i[6],f(u,"class","svelte-23bt53"),f(o,"class","aside aside-1")},m(E,h){F(E,e,h),a(e,s),a(s,n),a(e,g),a(e,r),a(r,t),F(E,d,h),F(E,o,h),a(o,u),a(u,l),a(u,_),a(u,m),a(m,p),T||(P=Y(u,"click",re(i[9])),T=!0)},p(E,h){h&256&&J(l,"name",E[8]),h&64&&(u.disabled=E[6])},d(E){E&&c(e),E&&c(d),E&&c(o),T=!1,P()}}}function Se(i){let e,s,n,g;return{c(){e=v("div"),s=v("p"),n=v("ion-icon"),g=D(` - Your password was changed.`),this.h()},l(r){e=b(r,"DIV",{class:!0});var t=y(e);s=b(t,"P",{class:!0});var d=y(s);n=b(d,"ION-ICON",{class:!0,name:!0}),y(n).forEach(c),g=L(d,` - Your password was changed.`),d.forEach(c),t.forEach(c),this.h()},h(){J(n,"class","icon svelte-23bt53"),J(n,"name","checkmark-circle-sharp"),f(s,"class","success svelte-23bt53"),f(e,"class","error-container")},m(r,t){F(r,e,t),a(e,s),a(s,n),a(s,g)},p:G,d(r){r&&c(e)}}}function Ce(i){let e,s,n,g,r;return{c(){e=v("div"),s=v("p"),n=v("ion-icon"),g=U(),r=D(i[4]),this.h()},l(t){e=b(t,"DIV",{class:!0});var d=y(e);s=b(d,"P",{class:!0});var o=y(s);n=b(o,"ION-ICON",{class:!0,name:!0}),y(n).forEach(c),g=N(o),r=L(o,i[4]),o.forEach(c),d.forEach(c),this.h()},h(){J(n,"class","icon svelte-23bt53"),J(n,"name","close-circle-sharp"),f(s,"class","error svelte-23bt53"),f(e,"class","error-container")},m(t,d){F(t,e,d),a(e,s),a(s,n),a(s,g),a(s,r)},p(t,d){d&16&&Ee(r,t[4])},d(t){t&&c(e)}}}function Ue(i){let e,s,n,g;function r(_,m){return _[0]?Te:Pe}let t=r(i),d=t(i);function o(_,m){if(_[3]&&!_[5])return Ce;if(!_[3]&&_[5])return Se}let u=o(i),l=u&&u(i);return{c(){e=v("div"),d.c(),n=U(),l&&l.c(),g=_e(),this.h()},l(_){e=b(_,"DIV",{class:!0});var m=y(e);d.l(m),m.forEach(c),n=N(_),l&&l.l(_),g=_e(),this.h()},h(){f(e,"class",s="option-container "+i[7]+" svelte-23bt53")},m(_,m){F(_,e,m),d.m(e,null),F(_,n,m),l&&l.m(_,m),F(_,g,m)},p(_,[m]){t===(t=r(_))&&d?d.p(_,m):(d.d(1),d=t(_),d&&(d.c(),d.m(e,null))),m&128&&s!==(s="option-container "+_[7]+" svelte-23bt53")&&f(e,"class",s),u===(u=o(_))&&l?l.p(_,m):(l&&l.d(1),l=u&&u(_),l&&(l.c(),l.m(g.parentNode,g)))},i:G,o:G,d(_){_&&c(e),d.d(),_&&c(n),l&&l.d(_),_&&c(g)}}}function Ne(i,e,s){let n,g,r,t=!1,d="",o="",u=!1,l="",_=!1,{token:m=""}=e;const p=async h=>{if(s(5,_=!1),s(3,u=!1),t&&d.length>0&&o.length>0){const A=await fetch(`${me().serviceUrl}/account/change-password/`,{method:"PATCH",headers:{Accept:"application/json","Content-Type":"application/json","Access-Control-Allow-Origin":"https://3ee.com",Authorization:"Token "+m},body:JSON.stringify({old_password:d,new_password:o})});A.status===200?(s(1,d=""),s(2,o=""),s(3,u=!1),s(5,_=!0),typeof umami!="undefined"&&umami.trackEvent("Change Password",{success:!0})):(s(3,u=!0),s(4,l=await A.json()),typeof(l==null?void 0:l.old_password)!="undefined"&&(s(4,l=l.old_password[0]),typeof umami!="undefined"&&umami.trackEvent("Change Password",{success:!1})))}u||s(0,t=!t)};function T(){s(0,t=!1)}function P(){d=this.value,s(1,d)}function E(){o=this.value,s(2,o)}return i.$$set=h=>{"token"in h&&s(11,m=h.token)},i.$$.update=()=>{i.$$.dirty&1&&s(8,n=t?"lock-open-sharp":"lock-closed-sharp"),i.$$.dirty&1&&s(7,g=t?"active":""),i.$$.dirty&7&&s(6,r=t&&d.length===0&&o.length===0||t&&d.length>0&&o.length===0||t&&d.length===0&&o.length>0?"disabled":"")},[t,d,o,u,l,_,r,g,n,p,T,m,P,E]}class Oe extends R{constructor(e){super(),x(this,e,Ne,Ue,ee,{token:11})}}function De(i){let e,s,n,g,r,t,d,o,u,l,_,m,p,T,P,E,h,A;return{c(){e=v("div"),s=v("article"),n=v("h4"),g=D("Avatar"),r=U(),t=v("p"),d=D("Upload your avatar. Recommended size is 256x256 pixels."),o=U(),u=v("input"),l=U(),_=v("aside"),m=v("button"),p=v("ion-icon"),T=U(),P=v("span"),E=D("Upload"),this.h()},l(I){e=b(I,"DIV",{class:!0});var w=y(e);s=b(w,"ARTICLE",{class:!0});var S=y(s);n=b(S,"H4",{class:!0});var O=y(n);g=L(O,"Avatar"),O.forEach(c),r=N(S),t=b(S,"P",{class:!0});var z=y(t);d=L(z,"Upload your avatar. Recommended size is 256x256 pixels."),z.forEach(c),o=N(S),u=b(S,"INPUT",{style:!0,type:!0,accept:!0}),S.forEach(c),l=N(w),_=b(w,"ASIDE",{class:!0});var V=y(_);m=b(V,"BUTTON",{});var j=y(m);p=b(j,"ION-ICON",{class:!0,name:!0}),y(p).forEach(c),T=N(j),P=b(j,"SPAN",{});var H=y(P);E=L(H,"Upload"),H.forEach(c),j.forEach(c),V.forEach(c),w.forEach(c),this.h()},h(){f(n,"class","highlight large svelte-25kbvu"),f(t,"class","svelte-25kbvu"),ke(u,"display","none"),f(u,"type","file"),f(u,"accept",".jpg, .jpeg, .png, .webp, .gif"),f(s,"class","main svelte-25kbvu"),J(p,"class","icon svelte-25kbvu"),J(p,"name","camera"),m.disabled=i[0],f(_,"class","aside aside-3 svelte-25kbvu"),f(e,"class","option-container svelte-25kbvu")},m(I,w){F(I,e,w),a(e,s),a(s,n),a(n,g),a(s,r),a(s,t),a(t,d),a(s,o),a(s,u),i[5](u),a(e,l),a(e,_),a(_,m),a(m,p),a(m,T),a(m,P),a(P,E),h||(A=[Y(u,"change",i[4]),Y(m,"click",re(i[2]))],h=!0)},p(I,[w]){w&1&&(m.disabled=I[0])},i:G,o:G,d(I){I&&c(e),i[5](null),h=!1,oe(A)}}}function Le(i,e,s){let{isProfileImageLoading:n=!1}=e,g;const r=ce(),t=async l=>{g.click()},d=async l=>{r("onFileSelected",{file:l.target.files[0]})},o=l=>d(l);function u(l){we[l?"unshift":"push"](()=>{g=l,s(1,g)})}return i.$$set=l=>{"isProfileImageLoading"in l&&s(0,n=l.isProfileImageLoading)},[n,g,t,d,o,u]}class ze extends R{constructor(e){super(),x(this,e,Le,De,ee,{isProfileImageLoading:0})}}function Ve(i){let e,s,n,g,r,t,d,o,u,l,_,m,p,T,P;return{c(){e=v("div"),s=v("article"),n=v("h4"),g=D("Subscribe to Insight"),r=U(),t=v("p"),d=D("Exclusive monthly email about games."),o=U(),u=v("aside"),l=v("input"),_=U(),m=v("label"),p=D("subscribe to 3ee insight newsletter"),this.h()},l(E){e=b(E,"DIV",{class:!0});var h=y(e);s=b(h,"ARTICLE",{class:!0});var A=y(s);n=b(A,"H4",{class:!0});var I=y(n);g=L(I,"Subscribe to Insight"),I.forEach(c),r=N(A),t=b(A,"P",{class:!0});var w=y(t);d=L(w,"Exclusive monthly email about games."),w.forEach(c),A.forEach(c),o=N(h),u=b(h,"ASIDE",{class:!0});var S=y(u);l=b(S,"INPUT",{type:!0,id:!0,name:!0,class:!0}),_=N(S),m=b(S,"LABEL",{for:!0,class:!0});var O=y(m);p=L(O,"subscribe to 3ee insight newsletter"),O.forEach(c),S.forEach(c),h.forEach(c),this.h()},h(){f(n,"class","highlight large svelte-1tvmcym"),f(t,"class","svelte-1tvmcym"),f(s,"class","main svelte-1tvmcym"),f(l,"type","checkbox"),f(l,"id","insight_subscription"),f(l,"name","insight_subscription"),l.checked=i[1],f(l,"class","svelte-1tvmcym"),f(m,"for","insight_subscription"),f(m,"class","svelte-1tvmcym"),f(u,"class","aside aside-1 svelte-1tvmcym"),f(e,"class","option-container svelte-1tvmcym")},m(E,h){F(E,e,h),a(e,s),a(s,n),a(n,g),a(s,r),a(s,t),a(t,d),a(e,o),a(e,u),a(u,l),M(l,i[0]),a(u,_),a(u,m),a(m,p),T||(P=[Y(l,"change",i[3]),Y(l,"change",re(i[2]))],T=!0)},p(E,[h]){h&2&&(l.checked=E[1]),h&1&&M(l,E[0])},i:G,o:G,d(E){E&&c(e),T=!1,oe(P)}}}function je(i,e,s){const n=ce();let{subscribeInsight:g="checked"}=e,{isSubscribedToInsight:r=!0}=e;const t=async o=>{n("onUpdateSettings",{id:o.target.id,checked:o.target.checked})};function d(){r=this.value,s(0,r)}return i.$$set=o=>{"subscribeInsight"in o&&s(1,g=o.subscribeInsight),"isSubscribedToInsight"in o&&s(0,r=o.isSubscribedToInsight)},[r,g,t,d]}class Fe extends R{constructor(e){super(),x(this,e,je,Ve,ee,{subscribeInsight:1,isSubscribedToInsight:0})}}function He(i){let e,s,n,g,r,t,d,o,u,l,_,m,p,T,P,E,h,A;return{c(){e=v("div"),s=v("article"),n=v("h4"),g=D("Allow Analytics"),r=U(),t=v("p"),d=D("Allow analytics to run. Read more: "),o=v("a"),u=D("privacy policy"),l=D("."),_=U(),m=v("aside"),p=v("input"),T=U(),P=v("label"),E=D("subscribe to 3ee insight newsletter"),this.h()},l(I){e=b(I,"DIV",{class:!0});var w=y(e);s=b(w,"ARTICLE",{class:!0});var S=y(s);n=b(S,"H4",{class:!0});var O=y(n);g=L(O,"Allow Analytics"),O.forEach(c),r=N(S),t=b(S,"P",{class:!0});var z=y(t);d=L(z,"Allow analytics to run. Read more: "),o=b(z,"A",{href:!0});var V=y(o);u=L(V,"privacy policy"),V.forEach(c),l=L(z,"."),z.forEach(c),S.forEach(c),_=N(w),m=b(w,"ASIDE",{class:!0});var j=y(m);p=b(j,"INPUT",{type:!0,id:!0,name:!0,class:!0}),T=N(j),P=b(j,"LABEL",{for:!0,class:!0});var H=y(P);E=L(H,"subscribe to 3ee insight newsletter"),H.forEach(c),j.forEach(c),w.forEach(c),this.h()},h(){f(n,"class","highlight large svelte-1rp1z0z"),f(o,"href","/account/privacy/"),f(t,"class","svelte-1rp1z0z"),f(s,"class","main svelte-1rp1z0z"),f(p,"type","checkbox"),f(p,"id","track_google_analytics"),f(p,"name","track_google_analytics"),p.checked=i[1],f(p,"class","svelte-1rp1z0z"),f(P,"for","track_google_analytics"),f(P,"class","svelte-1rp1z0z"),f(m,"class","aside aside-1 svelte-1rp1z0z"),f(e,"class","option-container svelte-1rp1z0z")},m(I,w){F(I,e,w),a(e,s),a(s,n),a(n,g),a(s,r),a(s,t),a(t,d),a(t,o),a(o,u),a(t,l),a(e,_),a(e,m),a(m,p),M(p,i[0]),a(m,T),a(m,P),a(P,E),h||(A=[Y(p,"change",i[3]),Y(p,"change",re(i[2]))],h=!0)},p(I,[w]){w&2&&(p.checked=I[1]),w&1&&M(p,I[0])},i:G,o:G,d(I){I&&c(e),h=!1,oe(A)}}}function Be(i,e,s){const n=ce();let{analyticsTrack:g="checked"}=e,{isTracking:r=!0}=e;const t=async o=>{n("onUpdateSettings",{id:o.target.id,checked:o.target.checked})};function d(){r=this.value,s(0,r)}return i.$$set=o=>{"analyticsTrack"in o&&s(1,g=o.analyticsTrack),"isTracking"in o&&s(0,r=o.isTracking)},[r,g,t,d]}class qe extends R{constructor(e){super(),x(this,e,Be,He,ee,{analyticsTrack:1,isTracking:0})}}function $e(i){let e,s,n,g,r,t,d,o,u,l,_,m,p,T,P;return{c(){e=v("div"),s=v("article"),n=v("h4"),g=D("Play Website Animation"),r=U(),t=v("p"),d=D("Toggle animations on and off."),o=U(),u=v("aside"),l=v("input"),_=U(),m=v("label"),p=D("play website animations"),this.h()},l(E){e=b(E,"DIV",{class:!0});var h=y(e);s=b(h,"ARTICLE",{class:!0});var A=y(s);n=b(A,"H4",{class:!0});var I=y(n);g=L(I,"Play Website Animation"),I.forEach(c),r=N(A),t=b(A,"P",{class:!0});var w=y(t);d=L(w,"Toggle animations on and off."),w.forEach(c),A.forEach(c),o=N(h),u=b(h,"ASIDE",{class:!0});var S=y(u);l=b(S,"INPUT",{type:!0,id:!0,name:!0,class:!0}),_=N(S),m=b(S,"LABEL",{for:!0,class:!0});var O=y(m);p=L(O,"play website animations"),O.forEach(c),S.forEach(c),h.forEach(c),this.h()},h(){f(n,"class","highlight large svelte-mm5mlt"),f(t,"class","svelte-mm5mlt"),f(s,"class","main svelte-mm5mlt"),f(l,"type","checkbox"),f(l,"id","show_website_animations"),f(l,"name","show_website_animations"),l.checked=i[1],f(l,"class","svelte-mm5mlt"),f(m,"for","show_website_animations"),f(m,"class","svelte-mm5mlt"),f(u,"class","aside aside-1 svelte-mm5mlt"),f(e,"class","option-container svelte-mm5mlt")},m(E,h){F(E,e,h),a(e,s),a(s,n),a(n,g),a(s,r),a(s,t),a(t,d),a(e,o),a(e,u),a(u,l),M(l,i[0]),a(u,_),a(u,m),a(m,p),T||(P=[Y(l,"change",i[3]),Y(l,"change",re(i[2]))],T=!0)},p(E,[h]){h&2&&(l.checked=E[1]),h&1&&M(l,E[0])},i:G,o:G,d(E){E&&c(e),T=!1,oe(P)}}}function Ye(i,e,s){const n=ce();let{animations:g="checked"}=e,{isAnimationsToggled:r=!0}=e;const t=async o=>{n("onUpdateSettings",{id:o.target.id,checked:o.target.checked})};function d(){r=this.value,s(0,r)}return i.$$set=o=>{"animations"in o&&s(1,g=o.animations),"isAnimationsToggled"in o&&s(0,r=o.isAnimationsToggled)},[r,g,t,d]}class Je extends R{constructor(e){super(),x(this,e,Ye,$e,ee,{animations:1,isAnimationsToggled:0})}}function Ge(i){let e,s,n,g,r,t,d,o,u,l,_,m,p,T,P,E,h,A;return{c(){e=v("div"),s=v("article"),n=v("h4"),g=D("Select a theme"),r=U(),t=v("p"),d=D("Choose a theme for your experience."),o=U(),u=v("aside"),l=v("select"),_=v("option"),m=D("Default"),p=v("option"),T=D("Spacelab"),P=v("option"),E=D("Balace"),this.h()},l(I){e=b(I,"DIV",{class:!0});var w=y(e);s=b(w,"ARTICLE",{class:!0});var S=y(s);n=b(S,"H4",{class:!0});var O=y(n);g=L(O,"Select a theme"),O.forEach(c),r=N(S),t=b(S,"P",{class:!0});var z=y(t);d=L(z,"Choose a theme for your experience."),z.forEach(c),S.forEach(c),o=N(w),u=b(w,"ASIDE",{class:!0});var V=y(u);l=b(V,"SELECT",{id:!0,class:!0});var j=y(l);_=b(j,"OPTION",{});var H=y(_);m=L(H,"Default"),H.forEach(c),p=b(j,"OPTION",{});var $=y(p);T=L($,"Spacelab"),$.forEach(c),P=b(j,"OPTION",{});var W=y(P);E=L(W,"Balace"),W.forEach(c),j.forEach(c),V.forEach(c),w.forEach(c),this.h()},h(){f(n,"class","highlight large svelte-1yszf66"),f(t,"class","svelte-1yszf66"),f(s,"class","main svelte-1yszf66"),_.__value="0",_.value=_.__value,p.__value="1",p.value=p.__value,P.__value="2",P.value=P.__value,f(l,"id","theme-selector"),f(l,"class","svelte-1yszf66"),i[0]===void 0&&Ie(()=>i[3].call(l)),f(u,"class","aside aside-1 svelte-1yszf66"),f(e,"class","option-container svelte-1yszf66")},m(I,w){F(I,e,w),a(e,s),a(s,n),a(n,g),a(s,r),a(s,t),a(t,d),a(e,o),a(e,u),a(u,l),a(l,_),a(_,m),a(l,p),a(p,T),a(l,P),a(P,E),ve(l,i[0]),h||(A=[Y(l,"change",i[3]),Y(l,"change",i[1])],h=!0)},p(I,[w]){w&1&&ve(l,I[0])},i:G,o:G,d(I){I&&c(e),h=!1,oe(A)}}}function We(i,e,s){let n;const g=ce();let{theme:r=0}=e;const t=async o=>{g("onUpdateSettings",{id:o.target.id,value:parseInt(o.target.value)})};function d(){n=Ae(this),s(0,n),s(2,r)}return i.$$set=o=>{"theme"in o&&s(2,r=o.theme)},i.$$.update=()=>{i.$$.dirty&4&&s(0,n=r.toString())},[n,t,r,d]}class Me extends R{constructor(e){super(),x(this,e,We,Ge,ee,{theme:2})}}function Xe(i){var W,B;let e,s,n,g,r,t,d,o,u,l,_,m,p,T,P,E,h,A,I,w,S,O,z,V,j,H,$;return T=new ze({props:{isProfileImageLoading:i[0]}}),T.$on("onFileSelected",i[11]),T.$on("onUpdate",i[11]),T.$on("onViewAvatar",i[13]),E=new Oe({props:{token:i[3]}}),A=new Me({props:{theme:(B=(W=i[1])==null?void 0:W.settings)==null?void 0:B.theme}}),A.$on("onUpdateSettings",i[12]),w=new Fe({props:{subscribeInsight:i[8],isSubscribedToInsight:i[5]}}),w.$on("onUpdateSettings",i[12]),O=new qe({props:{analyticsTrack:i[9],isTracking:i[6]}}),O.$on("onUpdateSettings",i[12]),V=new Je({props:{animations:i[10],isAnimationsToggled:i[7]}}),V.$on("onUpdateSettings",i[12]),{c(){e=v("div"),s=v("h1"),n=D("Your Profile"),g=U(),r=v("div"),t=v("img"),u=U(),l=v("h2"),_=D(i[4]),m=U(),p=v("form"),te(T.$$.fragment),P=U(),te(E.$$.fragment),h=U(),te(A.$$.fragment),I=U(),te(w.$$.fragment),S=U(),te(O.$$.fragment),z=U(),te(V.$$.fragment),j=U(),H=v("hr"),this.h()},l(k){e=b(k,"DIV",{class:!0});var C=y(e);s=b(C,"H1",{});var X=y(s);n=L(X,"Your Profile"),X.forEach(c),g=N(C),r=b(C,"DIV",{class:!0});var K=y(r);t=b(K,"IMG",{class:!0,src:!0,alt:!0}),K.forEach(c),u=N(C),l=b(C,"H2",{});var Q=y(l);_=L(Q,i[4]),Q.forEach(c),m=N(C),p=b(C,"FORM",{class:!0});var q=y(p);se(T.$$.fragment,q),P=N(q),se(E.$$.fragment,q),h=N(q),se(A.$$.fragment,q),I=N(q),se(w.$$.fragment,q),S=N(q),se(O.$$.fragment,q),z=N(q),se(V.$$.fragment,q),q.forEach(c),C.forEach(c),j=N(k),H=b(k,"HR",{}),this.h()},h(){f(t,"class","profile-image svelte-4qvar1"),be(t.src,d=i[2])||f(t,"src",d),f(t,"alt",o=i[1].username+" profile avatar"),f(r,"class","mask-border svelte-4qvar1"),f(p,"class","settings-form svelte-4qvar1"),f(e,"class","profile-container svelte-4qvar1")},m(k,C){F(k,e,C),a(e,s),a(s,n),a(e,g),a(e,r),a(r,t),a(e,u),a(e,l),a(l,_),a(e,m),a(e,p),ae(T,p,null),a(p,P),ae(E,p,null),a(p,h),ae(A,p,null),a(p,I),ae(w,p,null),a(p,S),ae(O,p,null),a(p,z),ae(V,p,null),F(k,j,C),F(k,H,C),$=!0},p(k,[C]){var Q,q;(!$||C&4&&!be(t.src,d=k[2]))&&f(t,"src",d),(!$||C&2&&o!==(o=k[1].username+" profile avatar"))&&f(t,"alt",o);const X={};C&1&&(X.isProfileImageLoading=k[0]),T.$set(X);const K={};C&2&&(K.theme=(q=(Q=k[1])==null?void 0:Q.settings)==null?void 0:q.theme),A.$set(K)},i(k){$||(le(T.$$.fragment,k),le(E.$$.fragment,k),le(A.$$.fragment,k),le(w.$$.fragment,k),le(O.$$.fragment,k),le(V.$$.fragment,k),$=!0)},o(k){ie(T.$$.fragment,k),ie(E.$$.fragment,k),ie(A.$$.fragment,k),ie(w.$$.fragment,k),ie(O.$$.fragment,k),ie(V.$$.fragment,k),$=!1},d(k){k&&c(e),ne(T),ne(E),ne(A),ne(w),ne(O),ne(V),k&&c(j),k&&c(H)}}}function Ke(i,e,s){var A,I,w,S,O,z,V,j,H,$,W;let n;const g=ce();let{isProfileImageLoading:r=!1}=e,t;Z.subscribe(B=>{s(1,t=B)});const d=t.token,o=t.username;let u=!!(typeof((A=t==null?void 0:t.settings)==null?void 0:A.insight_subscription)!="undefined"&&((I=t==null?void 0:t.settings)==null?void 0:I.insight_subscription)),l=!!(typeof((w=t==null?void 0:t.settings)==null?void 0:w.track_google_analytics)!="undefined"&&((S=t==null?void 0:t.settings)==null?void 0:S.track_google_analytics)),_=!!(typeof((O=t==null?void 0:t.settings)==null?void 0:O.show_website_animations)!="undefined"&&((z=t==null?void 0:t.settings)==null?void 0:z.show_website_animations));typeof((V=t==null?void 0:t.settings)==null?void 0:V.theme)!="undefined"&&((j=t==null?void 0:t.settings)==null?void 0:j.theme)||(H=t==null?void 0:t.settings)==null||H.the;let m=u?"checked":"",p=l?"checked":"",T=_?"checked":"";typeof(($=t==null?void 0:t.profile)==null?void 0:$.useDiffusion)!="undefined"&&((W=t==null?void 0:t.profile)==null||W.useDiffusion);const P=async(B,k)=>{g("onFileSelected",B.detail,k)},E=async B=>{g("onUpdateSettings",B.detail)},h=async B=>{g("onViewAvatar",B.detail)};return i.$$set=B=>{"isProfileImageLoading"in B&&s(0,r=B.isProfileImageLoading)},i.$$.update=()=>{var B;i.$$.dirty&2&&s(2,n=typeof((B=t==null?void 0:t.profile)==null?void 0:B.image)!="undefined"?t.profile.image:"")},[r,t,n,d,o,u,l,_,m,p,T,P,E,h]}class Qe extends R{constructor(e){super(),x(this,e,Ke,Xe,ee,{isProfileImageLoading:0})}}function Ze(i){let e,s,n,g;return n=new Qe({props:{prompt:i[1],isProfileImageLoading:i[0]}}),n.$on("onUpdateSettings",i[3]),n.$on("onFileSelected",i[2]),{c(){e=v("section"),s=v("article"),te(n.$$.fragment),this.h()},l(r){e=b(r,"SECTION",{class:!0});var t=y(e);s=b(t,"ARTICLE",{class:!0});var d=y(s);se(n.$$.fragment,d),d.forEach(c),t.forEach(c),this.h()},h(){f(s,"class","content"),f(e,"class","background")},m(r,t){F(r,e,t),a(e,s),ae(n,s,null),g=!0},p(r,[t]){const d={};t&2&&(d.prompt=r[1]),t&1&&(d.isProfileImageLoading=r[0]),n.$set(d)},i(r){g||(le(n.$$.fragment,r),g=!0)},o(r){ie(n.$$.fragment,r),g=!1},d(r){r&&c(e),ne(n)}}}function Re(i,e,s){let n,g;Z.subscribe(h=>{g=h});let r=null,t={},d=new FormData,o=!1,u=!1,l=!0,_=0,m=!0;const p=g.token,T=async(h,A)=>{r=h.detail.file,new FileReader().readAsDataURL(r),d.append("file",r),d.append("useDiffusion",!1),P()},P=async()=>{s(0,o=!0);const h=await fetch(`${me().serviceUrl}/account/upload/`,{method:"POST",headers:{Accept:"application/json","Access-Control-Allow-Origin":"https://3ee.com",Authorization:"Token "+p},mode:"cors",body:d});if(h.status===401){Z.set({}),Z.deleteLocalStorage(),ye("/account/login");return}const A=await h.json();let I=g;I.profile.image=A.image,I.profile.imageSmall=A.imageSmall,Z.set(I),s(0,o=!1),typeof umami!="undefined"&&umami.trackEvent("Upload Avatar",{success:!0})},E=async h=>{h.detail.id==="insight_subscription"?u=h.detail.checked:h.detail.id==="track_google_analytics"?m=h.detail.checked:h.detail.id==="show_website_animations"?l=h.detail.checked:h.detail.id==="theme-selector"&&(_=h.detail.value);const A={insight_subscription:u,track_google_analytics:m,show_website_animations:l,theme:_},I=await fetch(`${me().serviceUrl}/account/settings/`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json","Access-Control-Allow-Origin":"https://3ee.com",Authorization:"Token "+p},mode:"cors",body:JSON.stringify(A)});if(I.status===401){Z.set({}),Z.deleteLocalStorage(),ye("/account/login");return}const w=await I.json();let S=g;S.settings=w,Z.set(S)};return s(1,n=t),[o,n,T,E]}class it extends R{constructor(e){super(),x(this,e,Re,Ze,ee,{})}}export{it as default}; diff --git a/_app/immutable/start-112a7450.js b/_app/immutable/start-c1bf149a.js similarity index 99% rename from _app/immutable/start-112a7450.js rename to _app/immutable/start-c1bf149a.js index b6e3ff84..a184b286 100644 --- a/_app/immutable/start-112a7450.js +++ b/_app/immutable/start-c1bf149a.js @@ -1 +1 @@ -var Qe=Object.defineProperty,et=Object.defineProperties;var tt=Object.getOwnPropertyDescriptors;var ue=Object.getOwnPropertySymbols;var Ce=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable;var je=(r,e,t)=>e in r?Qe(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,C=(r,e)=>{for(var t in e||(e={}))Ce.call(e,t)&&je(r,t,e[t]);if(ue)for(var t of ue(e))xe.call(e,t)&&je(r,t,e[t]);return r},ae=(r,e)=>et(r,tt(e));var ze=(r,e)=>{var t={};for(var s in r)Ce.call(r,s)&&e.indexOf(s)<0&&(t[s]=r[s]);if(r!=null&&ue)for(var s of ue(r))e.indexOf(s)<0&&xe.call(r,s)&&(t[s]=r[s]);return t};import{S as nt,i as rt,s as it,e as st,c as ot,a as at,d as x,b as ve,f as M,g as K,t as ct,h as lt,j as ft,k as ut,l as T,m as _t,n as Y,o as I,p as G,q as D,r as dt,u as pt,v as $e,w as z,x as H,y as q,z as Z,A as Q,B as J,C as ee,D as qe}from"./chunks/index-2a82a4a8.js";import{w as _e}from"./chunks/index-16dda89e.js";import{s as ht,a as mt}from"./chunks/paths-396f020f.js";import{i as gt}from"./chunks/singletons-d1fb5791.js";function wt(r){let e,t,s;const c=[r[1]||{}];var a=r[0][0];function l(n){let i={};for(let o=0;o{J(u,1)}),G()}a?(e=new a(l()),z(e.$$.fragment),D(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){s||(e&&D(e.$$.fragment,n),s=!0)},o(n){e&&I(e.$$.fragment,n),s=!1},d(n){n&&x(t),e&&J(e,n)}}}function bt(r){let e,t,s;const c=[r[1]||{}];var a=r[0][0];function l(n){let i={$$slots:{default:[Lt]},$$scope:{ctx:n}};for(let o=0;o{J(u,1)}),G()}a?(e=new a(l(n)),z(e.$$.fragment),D(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){s||(e&&D(e.$$.fragment,n),s=!0)},o(n){e&&I(e.$$.fragment,n),s=!1},d(n){n&&x(t),e&&J(e,n)}}}function vt(r){let e,t,s;const c=[r[2]||{}];var a=r[0][1];function l(n){let i={};for(let o=0;o{J(u,1)}),G()}a?(e=new a(l()),z(e.$$.fragment),D(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){s||(e&&D(e.$$.fragment,n),s=!0)},o(n){e&&I(e.$$.fragment,n),s=!1},d(n){n&&x(t),e&&J(e,n)}}}function Et(r){let e,t,s;const c=[r[2]||{}];var a=r[0][1];function l(n){let i={$$slots:{default:[Rt]},$$scope:{ctx:n}};for(let o=0;o{J(u,1)}),G()}a?(e=new a(l(n)),z(e.$$.fragment),D(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){s||(e&&D(e.$$.fragment,n),s=!0)},o(n){e&&I(e.$$.fragment,n),s=!1},d(n){n&&x(t),e&&J(e,n)}}}function yt(r){let e,t,s;const c=[r[3]||{}];var a=r[0][2];function l(n){let i={};for(let o=0;o{J(u,1)}),G()}a?(e=new a(l()),z(e.$$.fragment),D(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){s||(e&&D(e.$$.fragment,n),s=!0)},o(n){e&&I(e.$$.fragment,n),s=!1},d(n){n&&x(t),e&&J(e,n)}}}function $t(r){let e,t,s;const c=[r[3]||{}];var a=r[0][2];function l(n){let i={$$slots:{default:[kt]},$$scope:{ctx:n}};for(let o=0;o{J(u,1)}),G()}a?(e=new a(l(n)),z(e.$$.fragment),D(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){s||(e&&D(e.$$.fragment,n),s=!0)},o(n){e&&I(e.$$.fragment,n),s=!1},d(n){n&&x(t),e&&J(e,n)}}}function kt(r){let e,t,s;const c=[r[4]||{}];var a=r[0][3];function l(n){let i={};for(let o=0;o{J(u,1)}),G()}a?(e=new a(l()),z(e.$$.fragment),D(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){s||(e&&D(e.$$.fragment,n),s=!0)},o(n){e&&I(e.$$.fragment,n),s=!1},d(n){n&&x(t),e&&J(e,n)}}}function Rt(r){let e,t,s,c;const a=[$t,yt],l=[];function n(i,o){return i[0][3]?0:1}return e=n(r),t=l[e]=a[e](r),{c(){t.c(),s=T()},l(i){t.l(i),s=T()},m(i,o){l[e].m(i,o),K(i,s,o),c=!0},p(i,o){let u=e;e=n(i),e===u?l[e].p(i,o):(Y(),I(l[u],1,1,()=>{l[u]=null}),G(),t=l[e],t?t.p(i,o):(t=l[e]=a[e](i),t.c()),D(t,1),t.m(s.parentNode,s))},i(i){c||(D(t),c=!0)},o(i){I(t),c=!1},d(i){l[e].d(i),i&&x(s)}}}function Lt(r){let e,t,s,c;const a=[Et,vt],l=[];function n(i,o){return i[0][2]?0:1}return e=n(r),t=l[e]=a[e](r),{c(){t.c(),s=T()},l(i){t.l(i),s=T()},m(i,o){l[e].m(i,o),K(i,s,o),c=!0},p(i,o){let u=e;e=n(i),e===u?l[e].p(i,o):(Y(),I(l[u],1,1,()=>{l[u]=null}),G(),t=l[e],t?t.p(i,o):(t=l[e]=a[e](i),t.c()),D(t,1),t.m(s.parentNode,s))},i(i){c||(D(t),c=!0)},o(i){I(t),c=!1},d(i){l[e].d(i),i&&x(s)}}}function Je(r){let e,t=r[6]&&Ke(r);return{c(){e=st("div"),t&&t.c(),this.h()},l(s){e=ot(s,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var c=at(e);t&&t.l(c),c.forEach(x),this.h()},h(){ve(e,"id","svelte-announcer"),ve(e,"aria-live","assertive"),ve(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(s,c){K(s,e,c),t&&t.m(e,null)},p(s,c){s[6]?t?t.p(s,c):(t=Ke(s),t.c(),t.m(e,null)):t&&(t.d(1),t=null)},d(s){s&&x(e),t&&t.d()}}}function Ke(r){let e;return{c(){e=ct(r[7])},l(t){e=lt(t,r[7])},m(t,s){K(t,e,s)},p(t,s){s&128&&ft(e,t[7])},d(t){t&&x(e)}}}function At(r){let e,t,s,c,a;const l=[bt,wt],n=[];function i(u,A){return u[0][1]?0:1}e=i(r),t=n[e]=l[e](r);let o=r[5]&&Je(r);return{c(){t.c(),s=ut(),o&&o.c(),c=T()},l(u){t.l(u),s=_t(u),o&&o.l(u),c=T()},m(u,A){n[e].m(u,A),K(u,s,A),o&&o.m(u,A),K(u,c,A),a=!0},p(u,[A]){let j=e;e=i(u),e===j?n[e].p(u,A):(Y(),I(n[j],1,1,()=>{n[j]=null}),G(),t=n[e],t?t.p(u,A):(t=n[e]=l[e](u),t.c()),D(t,1),t.m(s.parentNode,s)),u[5]?o?o.p(u,A):(o=Je(u),o.c(),o.m(c.parentNode,c)):o&&(o.d(1),o=null)},i(u){a||(D(t),a=!0)},o(u){I(t),a=!1},d(u){n[e].d(u),u&&x(s),o&&o.d(u),u&&x(c)}}}function Ot(r,e,t){let{stores:s}=e,{page:c}=e,{components:a}=e,{props_0:l=null}=e,{props_1:n=null}=e,{props_2:i=null}=e,{props_3:o=null}=e;dt("__svelte__",s),pt(s.page.notify);let u=!1,A=!1,j=null;return $e(()=>{const P=s.page.subscribe(()=>{u&&(t(6,A=!0),t(7,j=document.title||"untitled page"))});return t(5,u=!0),P}),r.$$set=P=>{"stores"in P&&t(8,s=P.stores),"page"in P&&t(9,c=P.page),"components"in P&&t(0,a=P.components),"props_0"in P&&t(1,l=P.props_0),"props_1"in P&&t(2,n=P.props_1),"props_2"in P&&t(3,i=P.props_2),"props_3"in P&&t(4,o=P.props_3)},r.$$.update=()=>{r.$$.dirty&768&&s.page.set(c)},[a,l,n,i,o,u,A,j,s,c]}class Pt extends nt{constructor(e){super(),rt(this,e,Ot,At,it,{stores:8,page:9,components:0,props_0:1,props_1:2,props_2:3,props_3:4})}}const Tt="modulepreload",Be={},It="/_app/immutable/",g=function(e,t){return!t||t.length===0?e():Promise.all(t.map(s=>{if(s=`${It}${s}`,s in Be)return;Be[s]=!0;const c=s.endsWith(".css"),a=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${a}`))return;const l=document.createElement("link");if(l.rel=c?"stylesheet":Tt,c||(l.as="script",l.crossOrigin=""),l.href=s,document.head.appendChild(l),c)return new Promise((n,i)=>{l.addEventListener("load",n),l.addEventListener("error",()=>i(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>e())},Dt={},de=[()=>g(()=>import("./pages/__layout.svelte-c60af1f7.js"),["pages/__layout.svelte-c60af1f7.js","assets/pages/__layout.svelte-e1f406f4.css","chunks/index-2a82a4a8.js","chunks/paths-396f020f.js","chunks/config-abc8f7a4.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/menuContextStore-c2e700c4.js"]),()=>g(()=>import("./error.svelte-a9a5d309.js"),["error.svelte-a9a5d309.js","chunks/index-2a82a4a8.js"]),()=>g(()=>import("./pages/account/__layout.svelte-ed14c098.js"),["pages/account/__layout.svelte-ed14c098.js","chunks/index-2a82a4a8.js"]),()=>g(()=>import("./pages/about.svelte-061b5315.js"),["pages/about.svelte-061b5315.js","assets/pages/about.svelte-6998b073.css","chunks/index-2a82a4a8.js","chunks/env-859c48a7.js","chunks/svgMapper-bda289ff.js","assets/svgMapper-d713aa90.css","chunks/paths-396f020f.js"]),()=>g(()=>import("./pages/account/accessibility.md-9e31f9b3.js"),["pages/account/accessibility.md-9e31f9b3.js","chunks/index-2a82a4a8.js","chunks/_post-c17c7585.js","assets/_post-f4fbebca.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/account/conduct.md-06c03cb2.js"),["pages/account/conduct.md-06c03cb2.js","assets/pages/account/conduct.md-93bf397a.css","chunks/index-2a82a4a8.js","chunks/_post-c17c7585.js","assets/_post-f4fbebca.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js","chunks/svgMapper-bda289ff.js","assets/svgMapper-d713aa90.css"]),()=>g(()=>import("./pages/account/create/index.svelte-3955febe.js"),["pages/account/create/index.svelte-3955febe.js","assets/pages/account/create/index.svelte-3fbdf7e6.css","chunks/index-2a82a4a8.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/config-abc8f7a4.js","chunks/Captcha-866d3d2b.js","assets/Captcha-727e3782.css","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/index.svelte-b28687a5.js"),["pages/account/index.svelte-b28687a5.js","chunks/index-2a82a4a8.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/account/login/index.svelte-6385c181.js"),["pages/account/login/index.svelte-6385c181.js","assets/pages/account/login/index.svelte-1119ca14.css","chunks/index-2a82a4a8.js","chunks/env-859c48a7.js","chunks/config-abc8f7a4.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/logout/index.svelte-ee58bbac.js"),["pages/account/logout/index.svelte-ee58bbac.js","assets/pages/account/logout/index.svelte-ec917397.css","chunks/index-2a82a4a8.js","chunks/env-859c48a7.js","chunks/config-abc8f7a4.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/messages/index.svelte-63ba271c.js"),["pages/account/messages/index.svelte-63ba271c.js","assets/pages/account/messages/index.svelte-40102792.css","chunks/index-2a82a4a8.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/config-abc8f7a4.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/messagingStore-7daf7769.js"]),()=>g(()=>import("./pages/account/messages/response/index.svelte-40054e32.js"),["pages/account/messages/response/index.svelte-40054e32.js","assets/pages/account/messages/response/index.svelte-ba493ce0.css","chunks/index-2a82a4a8.js","chunks/config-abc8f7a4.js","chunks/svgMapper-bda289ff.js","assets/svgMapper-d713aa90.css","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/messagingStore-7daf7769.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/new/index.svelte-92055c3c.js"),["pages/account/new/index.svelte-92055c3c.js","assets/pages/account/new/index.svelte-50e00285.css","chunks/index-2a82a4a8.js","chunks/env-859c48a7.js","chunks/StarField-3510f967.js","assets/StarField-5456257e.css","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/password/index.svelte-67bf7af1.js"),["pages/account/password/index.svelte-67bf7af1.js","assets/pages/account/password/index.svelte-ae95f80c.css","chunks/index-2a82a4a8.js","chunks/config-abc8f7a4.js"]),()=>g(()=>import("./pages/account/patch/index.svelte-c9a4a948.js"),["pages/account/patch/index.svelte-c9a4a948.js","assets/pages/account/patch/index.svelte-715c5970.css","chunks/index-2a82a4a8.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/config-abc8f7a4.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/svgMapper-bda289ff.js","assets/svgMapper-d713aa90.css"]),()=>g(()=>import("./pages/account/privacy.md-8092b8c4.js"),["pages/account/privacy.md-8092b8c4.js","assets/pages/account/privacy.md-8840f42b.css","chunks/index-2a82a4a8.js","chunks/_post-c17c7585.js","assets/_post-f4fbebca.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/account/profile/index.svelte-ff47ce54.js"),["pages/account/profile/index.svelte-ff47ce54.js","assets/pages/account/profile/index.svelte-ddc83c83.css","chunks/index-2a82a4a8.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/config-abc8f7a4.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/account/terms.md-a41b6b41.js"),["pages/account/terms.md-a41b6b41.js","chunks/index-2a82a4a8.js","chunks/_post-c17c7585.js","assets/_post-f4fbebca.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/blog/3ee-games-youtube-channel.md-a77a5f60.js"),["pages/blog/3ee-games-youtube-channel.md-a77a5f60.js","assets/pages/blog/3ee-games-youtube-channel.md-9da31171.css","chunks/index-2a82a4a8.js","chunks/_post-9f2bd344.js","assets/_post-a3466399.css","chunks/Player-212a4df6.js","assets/Player-713e4035.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js","chunks/svgMapper-bda289ff.js","assets/svgMapper-d713aa90.css"]),()=>g(()=>import("./pages/blog/categories/_category_.svelte-c04af54d.js"),["pages/blog/categories/_category_.svelte-c04af54d.js","chunks/index-2a82a4a8.js","chunks/Grid-d20820aa.js","assets/Grid-12c356fe.css","chunks/paths-396f020f.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/svgMapper-bda289ff.js","assets/svgMapper-d713aa90.css","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/blog/flappy-jacob-prototype.md-9d66140f.js"),["pages/blog/flappy-jacob-prototype.md-9d66140f.js","chunks/index-2a82a4a8.js","chunks/_post-9f2bd344.js","assets/_post-a3466399.css","chunks/Player-212a4df6.js","assets/Player-713e4035.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/blog/index.svelte-d40e508b.js"),["pages/blog/index.svelte-d40e508b.js","chunks/index-2a82a4a8.js","chunks/Grid-d20820aa.js","assets/Grid-12c356fe.css","chunks/paths-396f020f.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/svgMapper-bda289ff.js","assets/svgMapper-d713aa90.css","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/blog/no-ads-in-our-games.md-3c20a3a6.js"),["pages/blog/no-ads-in-our-games.md-3c20a3a6.js","chunks/index-2a82a4a8.js","chunks/_post-9f2bd344.js","assets/_post-a3466399.css","chunks/Player-212a4df6.js","assets/Player-713e4035.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/blog/ornamental-santa-diffusion.md-0ea7e956.js"),["pages/blog/ornamental-santa-diffusion.md-0ea7e956.js","assets/pages/blog/ornamental-santa-diffusion.md-a56e5d05.css","chunks/index-2a82a4a8.js","chunks/_post-9f2bd344.js","assets/_post-a3466399.css","chunks/Player-212a4df6.js","assets/Player-713e4035.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/blog/phaser-game-react-ui.md-9c2a82b9.js"),["pages/blog/phaser-game-react-ui.md-9c2a82b9.js","chunks/index-2a82a4a8.js","chunks/_post-9f2bd344.js","assets/_post-a3466399.css","chunks/Player-212a4df6.js","assets/Player-713e4035.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/blog/pong-kombat-2.md-b28c7bc1.js"),["pages/blog/pong-kombat-2.md-b28c7bc1.js","assets/pages/blog/pong-kombat-2.md-127e7b1f.css","chunks/index-2a82a4a8.js","chunks/_post-9f2bd344.js","assets/_post-a3466399.css","chunks/Player-212a4df6.js","assets/Player-713e4035.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/blog/shenanijam2018.md-d988e828.js"),["pages/blog/shenanijam2018.md-d988e828.js","chunks/index-2a82a4a8.js","chunks/_post-9f2bd344.js","assets/_post-a3466399.css","chunks/Player-212a4df6.js","assets/Player-713e4035.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/blog/tiled-level-editor-phaser.md-f83f7df5.js"),["pages/blog/tiled-level-editor-phaser.md-f83f7df5.js","chunks/index-2a82a4a8.js","chunks/_post-9f2bd344.js","assets/_post-a3466399.css","chunks/Player-212a4df6.js","assets/Player-713e4035.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/britelite/index.svelte-e4a22c26.js"),["pages/britelite/index.svelte-e4a22c26.js","assets/pages/britelite/index.svelte-c766b6c2.css","chunks/index-2a82a4a8.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/config-abc8f7a4.js","chunks/briteliteStore-0bae7799.js","chunks/Saos-4482d860.js","chunks/Player-212a4df6.js","assets/Player-713e4035.css"]),()=>g(()=>import("./pages/britelite/library/index.svelte-d41a2435.js"),["pages/britelite/library/index.svelte-d41a2435.js","assets/pages/britelite/library/index.svelte-65409f6d.css","chunks/index-2a82a4a8.js","chunks/config-abc8f7a4.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/briteliteStore-0bae7799.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/Saos-4482d860.js"]),()=>g(()=>import("./pages/contact.svelte-5bc22cd5.js"),["pages/contact.svelte-5bc22cd5.js","assets/pages/contact.svelte-7ab07306.css","chunks/index-2a82a4a8.js","chunks/env-859c48a7.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/config-abc8f7a4.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/Captcha-866d3d2b.js","assets/Captcha-727e3782.css","chunks/messagingStore-7daf7769.js"]),()=>g(()=>import("./pages/games/cupids-balance.md-fec1978c.js"),["pages/games/cupids-balance.md-fec1978c.js","chunks/index-2a82a4a8.js","chunks/_game-16ef271a.js","assets/_game-bf0647bc.css"]),()=>g(()=>import("./pages/games/index.svelte-078670fb.js"),["pages/games/index.svelte-078670fb.js","assets/pages/games/index.svelte-2ffdc4ee.css","chunks/index-2a82a4a8.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/games/whiskers_cove.md-18c8e593.js"),["pages/games/whiskers_cove.md-18c8e593.js","chunks/index-2a82a4a8.js","chunks/_game-16ef271a.js","assets/_game-bf0647bc.css"]),()=>g(()=>import("./pages/games/zultiki.md-2fc91f20.js"),["pages/games/zultiki.md-2fc91f20.js","chunks/index-2a82a4a8.js","chunks/_game-16ef271a.js","assets/_game-bf0647bc.css"]),()=>g(()=>import("./pages/index.svelte-eafe804e.js"),["pages/index.svelte-eafe804e.js","assets/pages/index.svelte-54a02662.css","chunks/index-2a82a4a8.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/Saos-4482d860.js","chunks/index-16dda89e.js","chunks/accountStore-3492c591.js","chunks/StarField-3510f967.js","assets/StarField-5456257e.css","chunks/config-abc8f7a4.js"]),()=>g(()=>import("./pages/spacelab/index.svelte-96fa64ee.js"),["pages/spacelab/index.svelte-96fa64ee.js","assets/pages/spacelab/index.svelte-04b2a24b.css","chunks/index-2a82a4a8.js","chunks/paths-396f020f.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/team/adora.md-f2e4bfa6.js"),["pages/team/adora.md-f2e4bfa6.js","chunks/index-2a82a4a8.js"]),()=>g(()=>import("./pages/team/ddraw.md-b9fbebbd.js"),["pages/team/ddraw.md-b9fbebbd.js","chunks/index-2a82a4a8.js"]),()=>g(()=>import("./pages/team/ryan.md-e6e5ffd2.js"),["pages/team/ryan.md-e6e5ffd2.js","chunks/index-2a82a4a8.js"])],Vt={"":[[0,35],[1]],about:[[0,3],[1]],account:[[0,2,7],[1]],blog:[[0,21],[1]],britelite:[[0,28],[1]],contact:[[0,30],[1]],games:[[0,32],[1]],spacelab:[[0,36],[1]],"account/accessibility":[[0,2,4],[1]],"account/conduct":[[0,2,5],[1]],"account/create":[[0,2,6],[1]],"account/login":[[0,2,8],[1]],"account/logout":[[0,2,9],[1]],"account/messages":[[0,2,10],[1]],"account/new":[[0,2,12],[1]],"account/password":[[0,2,13],[1]],"account/patch":[[0,2,14],[1]],"account/privacy":[[0,2,15],[1]],"account/profile":[[0,2,16],[1]],"account/terms":[[0,2,17],[1]],"blog/3ee-games-youtube-channel":[[0,18],[1]],"blog/flappy-jacob-prototype":[[0,20],[1]],"blog/no-ads-in-our-games":[[0,22],[1]],"blog/ornamental-santa-diffusion":[[0,23],[1]],"blog/phaser-game-react-ui":[[0,24],[1]],"blog/pong-kombat-2":[[0,25],[1]],"blog/shenanijam2018":[[0,26],[1]],"blog/tiled-level-editor-phaser":[[0,27],[1]],"britelite/library":[[0,29],[1]],"games/cupids-balance":[[0,31],[1]],"games/whiskers_cove":[[0,33],[1]],"games/zultiki":[[0,34],[1]],"team/adora":[[0,37],[1]],"team/ddraw":[[0,38],[1]],"team/ryan":[[0,39],[1]],"account/messages/response":[[0,2,11],[1]],"blog/categories/[category]":[[0,19],[1]]};function We(r){return r instanceof Error||r&&r.name&&r.message?r:new Error(JSON.stringify(r))}function Ye(r){if(r.fallthrough)throw new Error("fallthrough is no longer supported. Use matchers instead: https://kit.svelte.dev/docs/routing#advanced-routing-matching");if("maxage"in r)throw new Error("maxage should be replaced with cache: { maxage }");const e=r.status&&r.status>=400&&r.status<=599&&!r.redirect;if(r.error||e){const t=r.status;if(!r.error&&e)return{status:t||500,error:new Error};const s=typeof r.error=="string"?new Error(r.error):r.error;return s instanceof Error?!t||t<400||t>599?(console.warn('"error" returned from load() without a valid status code \u2014 defaulting to 500'),{status:500,error:s}):{status:t,error:s}:{status:500,error:new Error(`"error" property returned from load() must be a string or instance of Error, received type "${typeof s}"`)}}if(r.redirect){if(!r.status||Math.floor(r.status/100)!==3)throw new Error('"redirect" property returned from load() must be accompanied by a 3xx status code');if(typeof r.redirect!="string")throw new Error('"redirect" property returned from load() must be a string')}if(r.dependencies&&(!Array.isArray(r.dependencies)||r.dependencies.some(t=>typeof t!="string")))throw new Error('"dependencies" property returned from load() must be of type string[]');if(r.context)throw new Error('You are returning "context" from a load function. "context" was renamed to "stuff", please adjust your code accordingly.');return r}function St(r,e){return r==="/"||e==="ignore"?r:e==="never"?r.endsWith("/")?r.slice(0,-1):r:e==="always"&&!r.endsWith("/")?r+"/":r}function Ge(r){let e=r.baseURI;if(!e){const t=r.getElementsByTagName("base");e=t.length?t[0].href:r.URL}return e}function ke(){return{x:pageXOffset,y:pageYOffset}}function Me(r){return r.composedPath().find(t=>t instanceof Node&&t.nodeName.toUpperCase()==="A")}function Fe(r){return r instanceof SVGAElement?new URL(r.href.baseVal,document.baseURI):new URL(r.href)}function Xe(r){const e=_e(r);let t=!0;function s(){t=!0,e.update(l=>l)}function c(l){t=!1,e.set(l)}function a(l){let n;return e.subscribe(i=>{(n===void 0||t&&i!==n)&&l(n=i)})}return{notify:s,set:c,subscribe:a}}function Ut(){const{set:r,subscribe:e}=_e(!1),t="1701634135013";let s;async function c(){clearTimeout(s);const l=await fetch(`${mt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(l.ok){const{version:n}=await l.json(),i=n!==t;return i&&(r(!0),clearTimeout(s)),i}else throw new Error(`Version check failed: ${l.status}`)}return{subscribe:e,check:c}}function Nt(r){let e=5381,t=r.length;if(typeof r=="string")for(;t;)e=e*33^r.charCodeAt(--t);else for(;t;)e=e*33^r[--t];return(e>>>0).toString(36)}const Re=window.fetch;function jt(r,e){let s=`script[sveltekit\\:data-type="data"][sveltekit\\:data-url=${JSON.stringify(typeof r=="string"?r:r.url)}]`;e&&typeof e.body=="string"&&(s+=`[sveltekit\\:data-body="${Nt(e.body)}"]`);const c=document.querySelector(s);if(c&&c.textContent){const a=JSON.parse(c.textContent),{body:l}=a,n=ze(a,["body"]);return Promise.resolve(new Response(l,n))}return Re(r,e)}const Ct=/^(\.\.\.)?(\w+)(?:=(\w+))?$/;function xt(r){const e=[],t=[];let s=!0;return{pattern:r===""?/^\/$/:new RegExp(`^${decodeURIComponent(r).split(/(?:@[a-zA-Z0-9_-]+)?(?:\/|$)/).map((a,l,n)=>{const i=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(i)return e.push(i[1]),t.push(i[2]),"(?:/(.*))?";const o=l===n.length-1;return a&&"/"+a.split(/\[(.+?)\]/).map((u,A)=>{if(A%2){const[,j,P,te]=Ct.exec(u);return e.push(P),t.push(te),j?"(.*?)":"([^/]+?)"}return o&&u.includes(".")&&(s=!1),u.normalize().replace(/%5[Bb]/g,"[").replace(/%5[Dd]/g,"]").replace(/#/g,"%23").replace(/\?/g,"%3F").replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}).join("")}).join("")}${s?"/?":""}$`),names:e,types:t}}function zt(r,e,t,s){const c={};for(let a=0;a{const{pattern:i,names:o,types:u}=xt(c);return{id:c,exec:A=>{const j=i.exec(A);if(j)return zt(j,o,u,t)},a:a.map(A=>r[A]),b:l.map(A=>r[A]),has_shadow:!!n}})}const Ze="sveltekit:scroll",F="sveltekit:index",Ee=qt(de,Vt,Dt),Jt=de[0](),Kt=de[1](),He={};let ce={};try{ce=JSON.parse(sessionStorage[Ze])}catch{}function ye(r){ce[r]=ke()}function Bt({target:r,session:e,base:t,trailing_slash:s}){var Ue;const c=new Map,a=[],l={url:Xe({}),page:Xe({}),navigating:_e(null),session:_e(e),updated:Ut()},n={id:null,promise:null},i={before_navigate:[],after_navigate:[]};let o={branch:[],error:null,session_id:0,stuff:He,url:null},u=!1,A=!0,j=!1,P=1,te=null,Le,Ae,Oe=!1;l.session.subscribe(async f=>{Ae=f,Oe&&(P+=1,ge(new URL(location.href),[],!0))}),Oe=!0;let ne=!0,B=(Ue=history.state)==null?void 0:Ue[F];B||(B=Date.now(),history.replaceState(ae(C({},history.state),{[F]:B}),"",location.href));const pe=ce[B];pe&&(history.scrollRestoration="manual",scrollTo(pe.x,pe.y));let he=!1,me,Pe;async function Te(f,{noscroll:d=!1,replaceState:w=!1,keepfocus:_=!1,state:p={}},b){const $=new URL(f,Ge(document));if(ne)return be({url:$,scroll:d?ke():null,keepfocus:_,redirect_chain:b,details:{state:p,replaceState:w},accepted:()=>{},blocked:()=>{}});await se($)}async function Ie(f){const d=Se(f);if(!d)throw new Error("Attempted to prefetch a URL that does not belong to this app");return n.promise=Ve(d,!1),n.id=d.id,n.promise}async function ge(f,d,w,_,p){var R,O,V;const b=Se(f),$=Pe={};let h=b&&await Ve(b,w);if(!h&&f.origin===location.origin&&f.pathname===location.pathname&&(h=await ie({status:404,error:new Error(`Not found: ${f.pathname}`),url:f,routeId:null})),!h)return await se(f),!1;if(Pe!==$)return!1;if(a.length=0,h.redirect)if(d.length>10||d.includes(f.pathname))h=await ie({status:500,error:new Error("Redirect loop"),url:f,routeId:null});else return ne?Te(new URL(h.redirect,f).href,{},[...d,f.pathname]):await se(new URL(h.redirect,location.href)),!1;else((O=(R=h.props)==null?void 0:R.page)==null?void 0:O.status)>=400&&await l.updated.check()&&await se(f);if(j=!0,_&&_.details){const{details:E}=_,y=E.replaceState?0:1;E.state[F]=B+=y,history[E.replaceState?"replaceState":"pushState"](E.state,"",f)}if(u?(o=h.state,h.props.page&&(h.props.page.url=f),Le.$set(h.props)):De(h),_){const{scroll:E,keepfocus:y}=_;if(!y){const v=document.body,k=v.getAttribute("tabindex");(V=getSelection())==null||V.removeAllRanges(),v.tabIndex=-1,v.focus({preventScroll:!0}),k!==null?v.setAttribute("tabindex",k):v.removeAttribute("tabindex")}if(await qe(),A){const v=f.hash&&document.getElementById(f.hash.slice(1));E?scrollTo(E.x,E.y):v?v.scrollIntoView():scrollTo(0,0)}}else await qe();n.promise=null,n.id=null,A=!0,h.props.page&&(me=h.props.page);const m=h.state.branch[h.state.branch.length-1];ne=(m==null?void 0:m.module.router)!==!1,p&&p(),j=!1}function De(f){o=f.state;const d=document.querySelector("style[data-sveltekit]");if(d&&d.remove(),me=f.props.page,Le=new Pt({target:r,props:ae(C({},f.props),{stores:l}),hydrate:!0}),ne){const w={from:null,to:new URL(location.href)};i.after_navigate.forEach(_=>_(w))}u=!0}async function we({url:f,params:d,stuff:w,branch:_,status:p,error:b,routeId:$}){var y,v;const h=_.filter(Boolean),m=h.find(k=>{var S;return(S=k.loaded)==null?void 0:S.redirect}),R={redirect:(y=m==null?void 0:m.loaded)==null?void 0:y.redirect,state:{url:f,params:d,branch:_,error:b,stuff:w,session_id:P},props:{components:h.map(k=>k.module.default)}};for(let k=0;k{Object.defineProperty(R.props.page,S,{get:()=>{throw new Error(`$page.${S} has been replaced by $page.url.${L}`)}})};k("origin","origin"),k("path","pathname"),k("query","searchParams")}const V=h[h.length-1],E=(v=V==null?void 0:V.loaded)==null?void 0:v.cache;if(E){const k=f.pathname+f.search;let S=!1;const L=()=>{c.get(k)===R&&c.delete(k),N(),clearTimeout(U)},U=setTimeout(L,E.maxage*1e3),N=l.session.subscribe(()=>{S&&L()});S=!0,c.set(k,R)}return R}async function re({status:f,error:d,module:w,url:_,params:p,stuff:b,props:$,routeId:h}){const m={module:w,uses:{params:new Set,url:!1,session:!1,stuff:!1,dependencies:new Set},loaded:null,stuff:b};function R(E){const{href:y}=new URL(E,_);m.uses.dependencies.add(y)}$&&m.uses.dependencies.add(_.href);const O={};for(const E in p)Object.defineProperty(O,E,{get(){return m.uses.params.add(E),p[E]},enumerable:!0});const V=Ae;if(w.load){const E={routeId:h,params:O,props:$||{},get url(){return m.uses.url=!0,new Proxy(_,{get:(v,k)=>{if(k==="hash")throw new Error("url.hash is inaccessible from load. Consider accessing hash from the page store within the script tag of your component.");return Reflect.get(v,k,v)}})},get session(){return m.uses.session=!0,V},get stuff(){return m.uses.stuff=!0,C({},b)},async fetch(v,k){let S;typeof v=="string"?S=v:(S=v.url,k=C({body:v.method==="GET"||v.method==="HEAD"?void 0:await v.blob(),cache:v.cache,credentials:v.credentials,headers:v.headers,integrity:v.integrity,keepalive:v.keepalive,method:v.method,mode:v.mode,redirect:v.redirect,referrer:v.referrer,referrerPolicy:v.referrerPolicy,signal:v.signal},k));const L=new URL(S,_).href;return R(L),u?Re(L,k):jt(S,k)},status:f!=null?f:null,error:d!=null?d:null};let y;if(y=await w.load.call(null,E),!y)throw new Error("load function must return a value");m.loaded=Ye(y),m.loaded.stuff&&(m.stuff=m.loaded.stuff),m.loaded.dependencies&&m.loaded.dependencies.forEach(R)}else $&&(m.loaded=Ye({props:$}));return m}async function Ve({id:f,url:d,params:w,route:_},p){var v,k,S;if(n.id===f&&n.promise)return n.promise;if(!p){const L=c.get(f);if(L)return L}const{a:b,b:$,has_shadow:h}=_,m=o.url&&{url:f!==o.url.pathname+o.url.search,params:Object.keys(w).filter(L=>o.params[L]!==w[L]),session:P!==o.session_id};let R=[],O=He,V=!1,E=200,y=null;b.forEach(L=>L().catch(()=>{}));e:for(let L=0;LW.uses.params.has(X))||m.session&&W.uses.session||Array.from(W.uses.dependencies).some(X=>a.some(fe=>fe(X)))||V&&W.uses.stuff){let X={};const fe=h&&L===b.length-1;if(fe){const oe=await Re(`${d.pathname}${d.pathname.endsWith("/")?"":"/"}__data.json${d.search}`,{headers:{"x-sveltekit-load":"true"}});if(oe.ok){const Ne=oe.headers.get("x-sveltekit-location");if(Ne)return{redirect:Ne,props:{},state:o};X=oe.status===204?{}:await oe.json()}else E=oe.status,y=new Error("Failed to load data")}if(y||(U=await re({module:N,url:d,params:w,props:X,stuff:O,routeId:_.id})),U&&(fe&&(U.uses.url=!0),U.loaded)){if(U.loaded.error&&(E=U.loaded.status,y=U.loaded.error),U.loaded.redirect)return{redirect:U.loaded.redirect,props:{},state:o};U.loaded.stuff&&(V=!0)}}else U=W}catch(N){E=500,y=We(N)}if(y){for(;L--;)if($[L]){let N,W,le=L;for(;!(W=R[le]);)le-=1;try{if(N=await re({status:E,error:y,module:await $[L](),url:d,params:w,stuff:W.stuff,routeId:_.id}),(v=N==null?void 0:N.loaded)!=null&&v.error)continue;(k=N==null?void 0:N.loaded)!=null&&k.stuff&&(O=C(C({},O),N.loaded.stuff)),R=R.slice(0,le+1).concat(N);break e}catch{continue}}return await ie({status:E,error:y,url:d,routeId:_.id})}else(S=U==null?void 0:U.loaded)!=null&&S.stuff&&(O=C(C({},O),U.loaded.stuff)),R.push(U)}return await we({url:d,params:w,stuff:O,branch:R,status:E,error:y,routeId:_.id})}async function ie({status:f,error:d,url:w,routeId:_}){var h,m;const p={},b=await re({module:await Jt,url:w,params:p,stuff:{},routeId:_}),$=await re({status:f,error:d,module:await Kt,url:w,params:p,stuff:b&&b.loaded&&b.loaded.stuff||{},routeId:_});return await we({url:w,params:p,stuff:C(C({},(h=b==null?void 0:b.loaded)==null?void 0:h.stuff),(m=$==null?void 0:$.loaded)==null?void 0:m.stuff),branch:[b,$],status:f,error:d,routeId:_})}function Se(f){if(f.origin!==location.origin||!f.pathname.startsWith(t))return;const d=decodeURI(f.pathname.slice(t.length)||"/");for(const w of Ee){const _=w.exec(d);if(_)return{id:f.pathname+f.search,route:w,params:_,url:f}}}async function be({url:f,scroll:d,keepfocus:w,redirect_chain:_,details:p,accepted:b,blocked:$}){const h=o.url;let m=!1;const R={from:h,to:f,cancel:()=>m=!0};if(i.before_navigate.forEach(E=>E(R)),m){$();return}const O=St(f.pathname,s),V=new URL(f.origin+O+f.search+f.hash);ye(B),b(),u&&l.navigating.set({from:o.url,to:V}),await ge(V,_,!1,{scroll:d,keepfocus:w,details:p},()=>{const E={from:h,to:V};i.after_navigate.forEach(y=>y(E)),l.navigating.set(null)})}function se(f){return location.href=f.href,new Promise(()=>{})}return{after_navigate:f=>{$e(()=>(i.after_navigate.push(f),()=>{const d=i.after_navigate.indexOf(f);i.after_navigate.splice(d,1)}))},before_navigate:f=>{$e(()=>(i.before_navigate.push(f),()=>{const d=i.before_navigate.indexOf(f);i.before_navigate.splice(d,1)}))},disable_scroll_handling:()=>{(j||!u)&&(A=!1)},goto:(f,d={})=>Te(f,d,[]),invalidate:f=>{if(typeof f=="function")a.push(f);else{const{href:d}=new URL(f,location.href);a.push(w=>w===d)}return te||(te=Promise.resolve().then(async()=>{await ge(new URL(location.href),[],!0),te=null})),te},prefetch:async f=>{const d=new URL(f,Ge(document));await Ie(d)},prefetch_routes:async f=>{const w=(f?Ee.filter(_=>f.some(p=>_.exec(p))):Ee).map(_=>Promise.all(_.a.map(p=>p())));await Promise.all(w)},_start_router:()=>{history.scrollRestoration="manual",addEventListener("beforeunload",_=>{let p=!1;const b={from:o.url,to:null,cancel:()=>p=!0};i.before_navigate.forEach($=>$(b)),p?(_.preventDefault(),_.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{if(document.visibilityState==="hidden"){ye(B);try{sessionStorage[Ze]=JSON.stringify(ce)}catch{}}});const f=_=>{const p=Me(_);p&&p.href&&p.hasAttribute("sveltekit:prefetch")&&Ie(Fe(p))};let d;const w=_=>{clearTimeout(d),d=setTimeout(()=>{var p;(p=_.target)==null||p.dispatchEvent(new CustomEvent("sveltekit:trigger_prefetch",{bubbles:!0}))},20)};addEventListener("touchstart",f),addEventListener("mousemove",w),addEventListener("sveltekit:trigger_prefetch",f),addEventListener("click",_=>{if(!ne||_.button||_.which!==1||_.metaKey||_.ctrlKey||_.shiftKey||_.altKey||_.defaultPrevented)return;const p=Me(_);if(!p||!p.href)return;const b=p instanceof SVGAElement,$=Fe(p);if(!b&&$.origin==="null")return;const h=(p.getAttribute("rel")||"").split(/\s+/);if(p.hasAttribute("download")||h.includes("external")||p.hasAttribute("sveltekit:reload")||(b?p.target.baseVal:p.target))return;const[m,R]=$.href.split("#");if(R!==void 0&&m===location.href.split("#")[0]){he=!0,ye(B),l.page.set(ae(C({},me),{url:$})),l.page.notify();return}be({url:$,scroll:p.hasAttribute("sveltekit:noscroll")?ke():null,keepfocus:!1,redirect_chain:[],details:{state:{},replaceState:$.href===location.href},accepted:()=>_.preventDefault(),blocked:()=>_.preventDefault()})}),addEventListener("popstate",_=>{if(_.state&&ne){if(_.state[F]===B)return;be({url:new URL(location.href),scroll:ce[_.state[F]],keepfocus:!1,redirect_chain:[],details:null,accepted:()=>{B=_.state[F]},blocked:()=>{const p=B-_.state[F];history.go(p)}})}}),addEventListener("hashchange",()=>{he&&(he=!1,history.replaceState(ae(C({},history.state),{[F]:++B}),"",location.href))})},_hydrate:async({status:f,error:d,nodes:w,params:_,routeId:p})=>{const b=new URL(location.href),$=[];let h={},m,R;try{for(let O=0;Oe in r?Qe(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,C=(r,e)=>{for(var t in e||(e={}))Ce.call(e,t)&&je(r,t,e[t]);if(ue)for(var t of ue(e))xe.call(e,t)&&je(r,t,e[t]);return r},ae=(r,e)=>et(r,tt(e));var ze=(r,e)=>{var t={};for(var s in r)Ce.call(r,s)&&e.indexOf(s)<0&&(t[s]=r[s]);if(r!=null&&ue)for(var s of ue(r))e.indexOf(s)<0&&xe.call(r,s)&&(t[s]=r[s]);return t};import{S as nt,i as rt,s as it,e as st,c as ot,a as at,d as x,b as ve,f as M,g as K,t as ct,h as lt,j as ft,k as ut,l as T,m as _t,n as Y,o as I,p as G,q as D,r as dt,u as pt,v as $e,w as z,x as H,y as q,z as Z,A as Q,B as J,C as ee,D as qe}from"./chunks/index-2a82a4a8.js";import{w as _e}from"./chunks/index-16dda89e.js";import{s as ht,a as mt}from"./chunks/paths-396f020f.js";import{i as gt}from"./chunks/singletons-d1fb5791.js";function wt(r){let e,t,s;const c=[r[1]||{}];var a=r[0][0];function l(n){let i={};for(let o=0;o{J(u,1)}),G()}a?(e=new a(l()),z(e.$$.fragment),D(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){s||(e&&D(e.$$.fragment,n),s=!0)},o(n){e&&I(e.$$.fragment,n),s=!1},d(n){n&&x(t),e&&J(e,n)}}}function bt(r){let e,t,s;const c=[r[1]||{}];var a=r[0][0];function l(n){let i={$$slots:{default:[Lt]},$$scope:{ctx:n}};for(let o=0;o{J(u,1)}),G()}a?(e=new a(l(n)),z(e.$$.fragment),D(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){s||(e&&D(e.$$.fragment,n),s=!0)},o(n){e&&I(e.$$.fragment,n),s=!1},d(n){n&&x(t),e&&J(e,n)}}}function vt(r){let e,t,s;const c=[r[2]||{}];var a=r[0][1];function l(n){let i={};for(let o=0;o{J(u,1)}),G()}a?(e=new a(l()),z(e.$$.fragment),D(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){s||(e&&D(e.$$.fragment,n),s=!0)},o(n){e&&I(e.$$.fragment,n),s=!1},d(n){n&&x(t),e&&J(e,n)}}}function Et(r){let e,t,s;const c=[r[2]||{}];var a=r[0][1];function l(n){let i={$$slots:{default:[Rt]},$$scope:{ctx:n}};for(let o=0;o{J(u,1)}),G()}a?(e=new a(l(n)),z(e.$$.fragment),D(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){s||(e&&D(e.$$.fragment,n),s=!0)},o(n){e&&I(e.$$.fragment,n),s=!1},d(n){n&&x(t),e&&J(e,n)}}}function yt(r){let e,t,s;const c=[r[3]||{}];var a=r[0][2];function l(n){let i={};for(let o=0;o{J(u,1)}),G()}a?(e=new a(l()),z(e.$$.fragment),D(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){s||(e&&D(e.$$.fragment,n),s=!0)},o(n){e&&I(e.$$.fragment,n),s=!1},d(n){n&&x(t),e&&J(e,n)}}}function $t(r){let e,t,s;const c=[r[3]||{}];var a=r[0][2];function l(n){let i={$$slots:{default:[kt]},$$scope:{ctx:n}};for(let o=0;o{J(u,1)}),G()}a?(e=new a(l(n)),z(e.$$.fragment),D(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){s||(e&&D(e.$$.fragment,n),s=!0)},o(n){e&&I(e.$$.fragment,n),s=!1},d(n){n&&x(t),e&&J(e,n)}}}function kt(r){let e,t,s;const c=[r[4]||{}];var a=r[0][3];function l(n){let i={};for(let o=0;o{J(u,1)}),G()}a?(e=new a(l()),z(e.$$.fragment),D(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){s||(e&&D(e.$$.fragment,n),s=!0)},o(n){e&&I(e.$$.fragment,n),s=!1},d(n){n&&x(t),e&&J(e,n)}}}function Rt(r){let e,t,s,c;const a=[$t,yt],l=[];function n(i,o){return i[0][3]?0:1}return e=n(r),t=l[e]=a[e](r),{c(){t.c(),s=T()},l(i){t.l(i),s=T()},m(i,o){l[e].m(i,o),K(i,s,o),c=!0},p(i,o){let u=e;e=n(i),e===u?l[e].p(i,o):(Y(),I(l[u],1,1,()=>{l[u]=null}),G(),t=l[e],t?t.p(i,o):(t=l[e]=a[e](i),t.c()),D(t,1),t.m(s.parentNode,s))},i(i){c||(D(t),c=!0)},o(i){I(t),c=!1},d(i){l[e].d(i),i&&x(s)}}}function Lt(r){let e,t,s,c;const a=[Et,vt],l=[];function n(i,o){return i[0][2]?0:1}return e=n(r),t=l[e]=a[e](r),{c(){t.c(),s=T()},l(i){t.l(i),s=T()},m(i,o){l[e].m(i,o),K(i,s,o),c=!0},p(i,o){let u=e;e=n(i),e===u?l[e].p(i,o):(Y(),I(l[u],1,1,()=>{l[u]=null}),G(),t=l[e],t?t.p(i,o):(t=l[e]=a[e](i),t.c()),D(t,1),t.m(s.parentNode,s))},i(i){c||(D(t),c=!0)},o(i){I(t),c=!1},d(i){l[e].d(i),i&&x(s)}}}function Je(r){let e,t=r[6]&&Ke(r);return{c(){e=st("div"),t&&t.c(),this.h()},l(s){e=ot(s,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var c=at(e);t&&t.l(c),c.forEach(x),this.h()},h(){ve(e,"id","svelte-announcer"),ve(e,"aria-live","assertive"),ve(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(s,c){K(s,e,c),t&&t.m(e,null)},p(s,c){s[6]?t?t.p(s,c):(t=Ke(s),t.c(),t.m(e,null)):t&&(t.d(1),t=null)},d(s){s&&x(e),t&&t.d()}}}function Ke(r){let e;return{c(){e=ct(r[7])},l(t){e=lt(t,r[7])},m(t,s){K(t,e,s)},p(t,s){s&128&&ft(e,t[7])},d(t){t&&x(e)}}}function At(r){let e,t,s,c,a;const l=[bt,wt],n=[];function i(u,A){return u[0][1]?0:1}e=i(r),t=n[e]=l[e](r);let o=r[5]&&Je(r);return{c(){t.c(),s=ut(),o&&o.c(),c=T()},l(u){t.l(u),s=_t(u),o&&o.l(u),c=T()},m(u,A){n[e].m(u,A),K(u,s,A),o&&o.m(u,A),K(u,c,A),a=!0},p(u,[A]){let j=e;e=i(u),e===j?n[e].p(u,A):(Y(),I(n[j],1,1,()=>{n[j]=null}),G(),t=n[e],t?t.p(u,A):(t=n[e]=l[e](u),t.c()),D(t,1),t.m(s.parentNode,s)),u[5]?o?o.p(u,A):(o=Je(u),o.c(),o.m(c.parentNode,c)):o&&(o.d(1),o=null)},i(u){a||(D(t),a=!0)},o(u){I(t),a=!1},d(u){n[e].d(u),u&&x(s),o&&o.d(u),u&&x(c)}}}function Ot(r,e,t){let{stores:s}=e,{page:c}=e,{components:a}=e,{props_0:l=null}=e,{props_1:n=null}=e,{props_2:i=null}=e,{props_3:o=null}=e;dt("__svelte__",s),pt(s.page.notify);let u=!1,A=!1,j=null;return $e(()=>{const P=s.page.subscribe(()=>{u&&(t(6,A=!0),t(7,j=document.title||"untitled page"))});return t(5,u=!0),P}),r.$$set=P=>{"stores"in P&&t(8,s=P.stores),"page"in P&&t(9,c=P.page),"components"in P&&t(0,a=P.components),"props_0"in P&&t(1,l=P.props_0),"props_1"in P&&t(2,n=P.props_1),"props_2"in P&&t(3,i=P.props_2),"props_3"in P&&t(4,o=P.props_3)},r.$$.update=()=>{r.$$.dirty&768&&s.page.set(c)},[a,l,n,i,o,u,A,j,s,c]}class Pt extends nt{constructor(e){super(),rt(this,e,Ot,At,it,{stores:8,page:9,components:0,props_0:1,props_1:2,props_2:3,props_3:4})}}const Tt="modulepreload",Be={},It="/_app/immutable/",g=function(e,t){return!t||t.length===0?e():Promise.all(t.map(s=>{if(s=`${It}${s}`,s in Be)return;Be[s]=!0;const c=s.endsWith(".css"),a=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${a}`))return;const l=document.createElement("link");if(l.rel=c?"stylesheet":Tt,c||(l.as="script",l.crossOrigin=""),l.href=s,document.head.appendChild(l),c)return new Promise((n,i)=>{l.addEventListener("load",n),l.addEventListener("error",()=>i(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>e())},Dt={},de=[()=>g(()=>import("./pages/__layout.svelte-c60af1f7.js"),["pages/__layout.svelte-c60af1f7.js","assets/pages/__layout.svelte-e1f406f4.css","chunks/index-2a82a4a8.js","chunks/paths-396f020f.js","chunks/config-abc8f7a4.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/menuContextStore-c2e700c4.js"]),()=>g(()=>import("./error.svelte-a9a5d309.js"),["error.svelte-a9a5d309.js","chunks/index-2a82a4a8.js"]),()=>g(()=>import("./pages/account/__layout.svelte-ed14c098.js"),["pages/account/__layout.svelte-ed14c098.js","chunks/index-2a82a4a8.js"]),()=>g(()=>import("./pages/about.svelte-061b5315.js"),["pages/about.svelte-061b5315.js","assets/pages/about.svelte-6998b073.css","chunks/index-2a82a4a8.js","chunks/env-859c48a7.js","chunks/svgMapper-bda289ff.js","assets/svgMapper-d713aa90.css","chunks/paths-396f020f.js"]),()=>g(()=>import("./pages/account/accessibility.md-9e31f9b3.js"),["pages/account/accessibility.md-9e31f9b3.js","chunks/index-2a82a4a8.js","chunks/_post-c17c7585.js","assets/_post-f4fbebca.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/account/conduct.md-06c03cb2.js"),["pages/account/conduct.md-06c03cb2.js","assets/pages/account/conduct.md-93bf397a.css","chunks/index-2a82a4a8.js","chunks/_post-c17c7585.js","assets/_post-f4fbebca.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js","chunks/svgMapper-bda289ff.js","assets/svgMapper-d713aa90.css"]),()=>g(()=>import("./pages/account/create/index.svelte-3955febe.js"),["pages/account/create/index.svelte-3955febe.js","assets/pages/account/create/index.svelte-3fbdf7e6.css","chunks/index-2a82a4a8.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/config-abc8f7a4.js","chunks/Captcha-866d3d2b.js","assets/Captcha-727e3782.css","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/index.svelte-b28687a5.js"),["pages/account/index.svelte-b28687a5.js","chunks/index-2a82a4a8.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/account/login/index.svelte-6385c181.js"),["pages/account/login/index.svelte-6385c181.js","assets/pages/account/login/index.svelte-1119ca14.css","chunks/index-2a82a4a8.js","chunks/env-859c48a7.js","chunks/config-abc8f7a4.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/logout/index.svelte-ee58bbac.js"),["pages/account/logout/index.svelte-ee58bbac.js","assets/pages/account/logout/index.svelte-ec917397.css","chunks/index-2a82a4a8.js","chunks/env-859c48a7.js","chunks/config-abc8f7a4.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/messages/index.svelte-63ba271c.js"),["pages/account/messages/index.svelte-63ba271c.js","assets/pages/account/messages/index.svelte-40102792.css","chunks/index-2a82a4a8.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/config-abc8f7a4.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/messagingStore-7daf7769.js"]),()=>g(()=>import("./pages/account/messages/response/index.svelte-40054e32.js"),["pages/account/messages/response/index.svelte-40054e32.js","assets/pages/account/messages/response/index.svelte-ba493ce0.css","chunks/index-2a82a4a8.js","chunks/config-abc8f7a4.js","chunks/svgMapper-bda289ff.js","assets/svgMapper-d713aa90.css","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/messagingStore-7daf7769.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/new/index.svelte-92055c3c.js"),["pages/account/new/index.svelte-92055c3c.js","assets/pages/account/new/index.svelte-50e00285.css","chunks/index-2a82a4a8.js","chunks/env-859c48a7.js","chunks/StarField-3510f967.js","assets/StarField-5456257e.css","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/password/index.svelte-67bf7af1.js"),["pages/account/password/index.svelte-67bf7af1.js","assets/pages/account/password/index.svelte-ae95f80c.css","chunks/index-2a82a4a8.js","chunks/config-abc8f7a4.js"]),()=>g(()=>import("./pages/account/patch/index.svelte-c9a4a948.js"),["pages/account/patch/index.svelte-c9a4a948.js","assets/pages/account/patch/index.svelte-715c5970.css","chunks/index-2a82a4a8.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/config-abc8f7a4.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/svgMapper-bda289ff.js","assets/svgMapper-d713aa90.css"]),()=>g(()=>import("./pages/account/privacy.md-8092b8c4.js"),["pages/account/privacy.md-8092b8c4.js","assets/pages/account/privacy.md-8840f42b.css","chunks/index-2a82a4a8.js","chunks/_post-c17c7585.js","assets/_post-f4fbebca.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/account/profile/index.svelte-182ad7d8.js"),["pages/account/profile/index.svelte-182ad7d8.js","assets/pages/account/profile/index.svelte-71f66b83.css","chunks/index-2a82a4a8.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/config-abc8f7a4.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/account/terms.md-a41b6b41.js"),["pages/account/terms.md-a41b6b41.js","chunks/index-2a82a4a8.js","chunks/_post-c17c7585.js","assets/_post-f4fbebca.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/blog/3ee-games-youtube-channel.md-a77a5f60.js"),["pages/blog/3ee-games-youtube-channel.md-a77a5f60.js","assets/pages/blog/3ee-games-youtube-channel.md-9da31171.css","chunks/index-2a82a4a8.js","chunks/_post-9f2bd344.js","assets/_post-a3466399.css","chunks/Player-212a4df6.js","assets/Player-713e4035.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js","chunks/svgMapper-bda289ff.js","assets/svgMapper-d713aa90.css"]),()=>g(()=>import("./pages/blog/categories/_category_.svelte-c04af54d.js"),["pages/blog/categories/_category_.svelte-c04af54d.js","chunks/index-2a82a4a8.js","chunks/Grid-d20820aa.js","assets/Grid-12c356fe.css","chunks/paths-396f020f.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/svgMapper-bda289ff.js","assets/svgMapper-d713aa90.css","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/blog/flappy-jacob-prototype.md-9d66140f.js"),["pages/blog/flappy-jacob-prototype.md-9d66140f.js","chunks/index-2a82a4a8.js","chunks/_post-9f2bd344.js","assets/_post-a3466399.css","chunks/Player-212a4df6.js","assets/Player-713e4035.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/blog/index.svelte-d40e508b.js"),["pages/blog/index.svelte-d40e508b.js","chunks/index-2a82a4a8.js","chunks/Grid-d20820aa.js","assets/Grid-12c356fe.css","chunks/paths-396f020f.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/svgMapper-bda289ff.js","assets/svgMapper-d713aa90.css","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/blog/no-ads-in-our-games.md-3c20a3a6.js"),["pages/blog/no-ads-in-our-games.md-3c20a3a6.js","chunks/index-2a82a4a8.js","chunks/_post-9f2bd344.js","assets/_post-a3466399.css","chunks/Player-212a4df6.js","assets/Player-713e4035.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/blog/ornamental-santa-diffusion.md-0ea7e956.js"),["pages/blog/ornamental-santa-diffusion.md-0ea7e956.js","assets/pages/blog/ornamental-santa-diffusion.md-a56e5d05.css","chunks/index-2a82a4a8.js","chunks/_post-9f2bd344.js","assets/_post-a3466399.css","chunks/Player-212a4df6.js","assets/Player-713e4035.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/blog/phaser-game-react-ui.md-9c2a82b9.js"),["pages/blog/phaser-game-react-ui.md-9c2a82b9.js","chunks/index-2a82a4a8.js","chunks/_post-9f2bd344.js","assets/_post-a3466399.css","chunks/Player-212a4df6.js","assets/Player-713e4035.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/blog/pong-kombat-2.md-b28c7bc1.js"),["pages/blog/pong-kombat-2.md-b28c7bc1.js","assets/pages/blog/pong-kombat-2.md-127e7b1f.css","chunks/index-2a82a4a8.js","chunks/_post-9f2bd344.js","assets/_post-a3466399.css","chunks/Player-212a4df6.js","assets/Player-713e4035.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/blog/shenanijam2018.md-d988e828.js"),["pages/blog/shenanijam2018.md-d988e828.js","chunks/index-2a82a4a8.js","chunks/_post-9f2bd344.js","assets/_post-a3466399.css","chunks/Player-212a4df6.js","assets/Player-713e4035.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/blog/tiled-level-editor-phaser.md-f83f7df5.js"),["pages/blog/tiled-level-editor-phaser.md-f83f7df5.js","chunks/index-2a82a4a8.js","chunks/_post-9f2bd344.js","assets/_post-a3466399.css","chunks/Player-212a4df6.js","assets/Player-713e4035.css","chunks/menuContextStore-c2e700c4.js","chunks/index-16dda89e.js"]),()=>g(()=>import("./pages/britelite/index.svelte-e4a22c26.js"),["pages/britelite/index.svelte-e4a22c26.js","assets/pages/britelite/index.svelte-c766b6c2.css","chunks/index-2a82a4a8.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/config-abc8f7a4.js","chunks/briteliteStore-0bae7799.js","chunks/Saos-4482d860.js","chunks/Player-212a4df6.js","assets/Player-713e4035.css"]),()=>g(()=>import("./pages/britelite/library/index.svelte-d41a2435.js"),["pages/britelite/library/index.svelte-d41a2435.js","assets/pages/britelite/library/index.svelte-65409f6d.css","chunks/index-2a82a4a8.js","chunks/config-abc8f7a4.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/briteliteStore-0bae7799.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/Saos-4482d860.js"]),()=>g(()=>import("./pages/contact.svelte-5bc22cd5.js"),["pages/contact.svelte-5bc22cd5.js","assets/pages/contact.svelte-7ab07306.css","chunks/index-2a82a4a8.js","chunks/env-859c48a7.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/config-abc8f7a4.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/Captcha-866d3d2b.js","assets/Captcha-727e3782.css","chunks/messagingStore-7daf7769.js"]),()=>g(()=>import("./pages/games/cupids-balance.md-fec1978c.js"),["pages/games/cupids-balance.md-fec1978c.js","chunks/index-2a82a4a8.js","chunks/_game-16ef271a.js","assets/_game-bf0647bc.css"]),()=>g(()=>import("./pages/games/index.svelte-078670fb.js"),["pages/games/index.svelte-078670fb.js","assets/pages/games/index.svelte-2ffdc4ee.css","chunks/index-2a82a4a8.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/games/whiskers_cove.md-18c8e593.js"),["pages/games/whiskers_cove.md-18c8e593.js","chunks/index-2a82a4a8.js","chunks/_game-16ef271a.js","assets/_game-bf0647bc.css"]),()=>g(()=>import("./pages/games/zultiki.md-2fc91f20.js"),["pages/games/zultiki.md-2fc91f20.js","chunks/index-2a82a4a8.js","chunks/_game-16ef271a.js","assets/_game-bf0647bc.css"]),()=>g(()=>import("./pages/index.svelte-eafe804e.js"),["pages/index.svelte-eafe804e.js","assets/pages/index.svelte-54a02662.css","chunks/index-2a82a4a8.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/Saos-4482d860.js","chunks/index-16dda89e.js","chunks/accountStore-3492c591.js","chunks/StarField-3510f967.js","assets/StarField-5456257e.css","chunks/config-abc8f7a4.js"]),()=>g(()=>import("./pages/spacelab/index.svelte-96fa64ee.js"),["pages/spacelab/index.svelte-96fa64ee.js","assets/pages/spacelab/index.svelte-04b2a24b.css","chunks/index-2a82a4a8.js","chunks/paths-396f020f.js","chunks/accountStore-3492c591.js","chunks/index-16dda89e.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/team/adora.md-f2e4bfa6.js"),["pages/team/adora.md-f2e4bfa6.js","chunks/index-2a82a4a8.js"]),()=>g(()=>import("./pages/team/ddraw.md-b9fbebbd.js"),["pages/team/ddraw.md-b9fbebbd.js","chunks/index-2a82a4a8.js"]),()=>g(()=>import("./pages/team/ryan.md-e6e5ffd2.js"),["pages/team/ryan.md-e6e5ffd2.js","chunks/index-2a82a4a8.js"])],Vt={"":[[0,35],[1]],about:[[0,3],[1]],account:[[0,2,7],[1]],blog:[[0,21],[1]],britelite:[[0,28],[1]],contact:[[0,30],[1]],games:[[0,32],[1]],spacelab:[[0,36],[1]],"account/accessibility":[[0,2,4],[1]],"account/conduct":[[0,2,5],[1]],"account/create":[[0,2,6],[1]],"account/login":[[0,2,8],[1]],"account/logout":[[0,2,9],[1]],"account/messages":[[0,2,10],[1]],"account/new":[[0,2,12],[1]],"account/password":[[0,2,13],[1]],"account/patch":[[0,2,14],[1]],"account/privacy":[[0,2,15],[1]],"account/profile":[[0,2,16],[1]],"account/terms":[[0,2,17],[1]],"blog/3ee-games-youtube-channel":[[0,18],[1]],"blog/flappy-jacob-prototype":[[0,20],[1]],"blog/no-ads-in-our-games":[[0,22],[1]],"blog/ornamental-santa-diffusion":[[0,23],[1]],"blog/phaser-game-react-ui":[[0,24],[1]],"blog/pong-kombat-2":[[0,25],[1]],"blog/shenanijam2018":[[0,26],[1]],"blog/tiled-level-editor-phaser":[[0,27],[1]],"britelite/library":[[0,29],[1]],"games/cupids-balance":[[0,31],[1]],"games/whiskers_cove":[[0,33],[1]],"games/zultiki":[[0,34],[1]],"team/adora":[[0,37],[1]],"team/ddraw":[[0,38],[1]],"team/ryan":[[0,39],[1]],"account/messages/response":[[0,2,11],[1]],"blog/categories/[category]":[[0,19],[1]]};function We(r){return r instanceof Error||r&&r.name&&r.message?r:new Error(JSON.stringify(r))}function Ye(r){if(r.fallthrough)throw new Error("fallthrough is no longer supported. Use matchers instead: https://kit.svelte.dev/docs/routing#advanced-routing-matching");if("maxage"in r)throw new Error("maxage should be replaced with cache: { maxage }");const e=r.status&&r.status>=400&&r.status<=599&&!r.redirect;if(r.error||e){const t=r.status;if(!r.error&&e)return{status:t||500,error:new Error};const s=typeof r.error=="string"?new Error(r.error):r.error;return s instanceof Error?!t||t<400||t>599?(console.warn('"error" returned from load() without a valid status code \u2014 defaulting to 500'),{status:500,error:s}):{status:t,error:s}:{status:500,error:new Error(`"error" property returned from load() must be a string or instance of Error, received type "${typeof s}"`)}}if(r.redirect){if(!r.status||Math.floor(r.status/100)!==3)throw new Error('"redirect" property returned from load() must be accompanied by a 3xx status code');if(typeof r.redirect!="string")throw new Error('"redirect" property returned from load() must be a string')}if(r.dependencies&&(!Array.isArray(r.dependencies)||r.dependencies.some(t=>typeof t!="string")))throw new Error('"dependencies" property returned from load() must be of type string[]');if(r.context)throw new Error('You are returning "context" from a load function. "context" was renamed to "stuff", please adjust your code accordingly.');return r}function St(r,e){return r==="/"||e==="ignore"?r:e==="never"?r.endsWith("/")?r.slice(0,-1):r:e==="always"&&!r.endsWith("/")?r+"/":r}function Ge(r){let e=r.baseURI;if(!e){const t=r.getElementsByTagName("base");e=t.length?t[0].href:r.URL}return e}function ke(){return{x:pageXOffset,y:pageYOffset}}function Me(r){return r.composedPath().find(t=>t instanceof Node&&t.nodeName.toUpperCase()==="A")}function Fe(r){return r instanceof SVGAElement?new URL(r.href.baseVal,document.baseURI):new URL(r.href)}function Xe(r){const e=_e(r);let t=!0;function s(){t=!0,e.update(l=>l)}function c(l){t=!1,e.set(l)}function a(l){let n;return e.subscribe(i=>{(n===void 0||t&&i!==n)&&l(n=i)})}return{notify:s,set:c,subscribe:a}}function Ut(){const{set:r,subscribe:e}=_e(!1),t="1701634397813";let s;async function c(){clearTimeout(s);const l=await fetch(`${mt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(l.ok){const{version:n}=await l.json(),i=n!==t;return i&&(r(!0),clearTimeout(s)),i}else throw new Error(`Version check failed: ${l.status}`)}return{subscribe:e,check:c}}function Nt(r){let e=5381,t=r.length;if(typeof r=="string")for(;t;)e=e*33^r.charCodeAt(--t);else for(;t;)e=e*33^r[--t];return(e>>>0).toString(36)}const Re=window.fetch;function jt(r,e){let s=`script[sveltekit\\:data-type="data"][sveltekit\\:data-url=${JSON.stringify(typeof r=="string"?r:r.url)}]`;e&&typeof e.body=="string"&&(s+=`[sveltekit\\:data-body="${Nt(e.body)}"]`);const c=document.querySelector(s);if(c&&c.textContent){const a=JSON.parse(c.textContent),{body:l}=a,n=ze(a,["body"]);return Promise.resolve(new Response(l,n))}return Re(r,e)}const Ct=/^(\.\.\.)?(\w+)(?:=(\w+))?$/;function xt(r){const e=[],t=[];let s=!0;return{pattern:r===""?/^\/$/:new RegExp(`^${decodeURIComponent(r).split(/(?:@[a-zA-Z0-9_-]+)?(?:\/|$)/).map((a,l,n)=>{const i=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(i)return e.push(i[1]),t.push(i[2]),"(?:/(.*))?";const o=l===n.length-1;return a&&"/"+a.split(/\[(.+?)\]/).map((u,A)=>{if(A%2){const[,j,P,te]=Ct.exec(u);return e.push(P),t.push(te),j?"(.*?)":"([^/]+?)"}return o&&u.includes(".")&&(s=!1),u.normalize().replace(/%5[Bb]/g,"[").replace(/%5[Dd]/g,"]").replace(/#/g,"%23").replace(/\?/g,"%3F").replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}).join("")}).join("")}${s?"/?":""}$`),names:e,types:t}}function zt(r,e,t,s){const c={};for(let a=0;a{const{pattern:i,names:o,types:u}=xt(c);return{id:c,exec:A=>{const j=i.exec(A);if(j)return zt(j,o,u,t)},a:a.map(A=>r[A]),b:l.map(A=>r[A]),has_shadow:!!n}})}const Ze="sveltekit:scroll",F="sveltekit:index",Ee=qt(de,Vt,Dt),Jt=de[0](),Kt=de[1](),He={};let ce={};try{ce=JSON.parse(sessionStorage[Ze])}catch{}function ye(r){ce[r]=ke()}function Bt({target:r,session:e,base:t,trailing_slash:s}){var Ue;const c=new Map,a=[],l={url:Xe({}),page:Xe({}),navigating:_e(null),session:_e(e),updated:Ut()},n={id:null,promise:null},i={before_navigate:[],after_navigate:[]};let o={branch:[],error:null,session_id:0,stuff:He,url:null},u=!1,A=!0,j=!1,P=1,te=null,Le,Ae,Oe=!1;l.session.subscribe(async f=>{Ae=f,Oe&&(P+=1,ge(new URL(location.href),[],!0))}),Oe=!0;let ne=!0,B=(Ue=history.state)==null?void 0:Ue[F];B||(B=Date.now(),history.replaceState(ae(C({},history.state),{[F]:B}),"",location.href));const pe=ce[B];pe&&(history.scrollRestoration="manual",scrollTo(pe.x,pe.y));let he=!1,me,Pe;async function Te(f,{noscroll:d=!1,replaceState:w=!1,keepfocus:_=!1,state:p={}},b){const $=new URL(f,Ge(document));if(ne)return be({url:$,scroll:d?ke():null,keepfocus:_,redirect_chain:b,details:{state:p,replaceState:w},accepted:()=>{},blocked:()=>{}});await se($)}async function Ie(f){const d=Se(f);if(!d)throw new Error("Attempted to prefetch a URL that does not belong to this app");return n.promise=Ve(d,!1),n.id=d.id,n.promise}async function ge(f,d,w,_,p){var R,O,V;const b=Se(f),$=Pe={};let h=b&&await Ve(b,w);if(!h&&f.origin===location.origin&&f.pathname===location.pathname&&(h=await ie({status:404,error:new Error(`Not found: ${f.pathname}`),url:f,routeId:null})),!h)return await se(f),!1;if(Pe!==$)return!1;if(a.length=0,h.redirect)if(d.length>10||d.includes(f.pathname))h=await ie({status:500,error:new Error("Redirect loop"),url:f,routeId:null});else return ne?Te(new URL(h.redirect,f).href,{},[...d,f.pathname]):await se(new URL(h.redirect,location.href)),!1;else((O=(R=h.props)==null?void 0:R.page)==null?void 0:O.status)>=400&&await l.updated.check()&&await se(f);if(j=!0,_&&_.details){const{details:E}=_,y=E.replaceState?0:1;E.state[F]=B+=y,history[E.replaceState?"replaceState":"pushState"](E.state,"",f)}if(u?(o=h.state,h.props.page&&(h.props.page.url=f),Le.$set(h.props)):De(h),_){const{scroll:E,keepfocus:y}=_;if(!y){const v=document.body,k=v.getAttribute("tabindex");(V=getSelection())==null||V.removeAllRanges(),v.tabIndex=-1,v.focus({preventScroll:!0}),k!==null?v.setAttribute("tabindex",k):v.removeAttribute("tabindex")}if(await qe(),A){const v=f.hash&&document.getElementById(f.hash.slice(1));E?scrollTo(E.x,E.y):v?v.scrollIntoView():scrollTo(0,0)}}else await qe();n.promise=null,n.id=null,A=!0,h.props.page&&(me=h.props.page);const m=h.state.branch[h.state.branch.length-1];ne=(m==null?void 0:m.module.router)!==!1,p&&p(),j=!1}function De(f){o=f.state;const d=document.querySelector("style[data-sveltekit]");if(d&&d.remove(),me=f.props.page,Le=new Pt({target:r,props:ae(C({},f.props),{stores:l}),hydrate:!0}),ne){const w={from:null,to:new URL(location.href)};i.after_navigate.forEach(_=>_(w))}u=!0}async function we({url:f,params:d,stuff:w,branch:_,status:p,error:b,routeId:$}){var y,v;const h=_.filter(Boolean),m=h.find(k=>{var S;return(S=k.loaded)==null?void 0:S.redirect}),R={redirect:(y=m==null?void 0:m.loaded)==null?void 0:y.redirect,state:{url:f,params:d,branch:_,error:b,stuff:w,session_id:P},props:{components:h.map(k=>k.module.default)}};for(let k=0;k{Object.defineProperty(R.props.page,S,{get:()=>{throw new Error(`$page.${S} has been replaced by $page.url.${L}`)}})};k("origin","origin"),k("path","pathname"),k("query","searchParams")}const V=h[h.length-1],E=(v=V==null?void 0:V.loaded)==null?void 0:v.cache;if(E){const k=f.pathname+f.search;let S=!1;const L=()=>{c.get(k)===R&&c.delete(k),N(),clearTimeout(U)},U=setTimeout(L,E.maxage*1e3),N=l.session.subscribe(()=>{S&&L()});S=!0,c.set(k,R)}return R}async function re({status:f,error:d,module:w,url:_,params:p,stuff:b,props:$,routeId:h}){const m={module:w,uses:{params:new Set,url:!1,session:!1,stuff:!1,dependencies:new Set},loaded:null,stuff:b};function R(E){const{href:y}=new URL(E,_);m.uses.dependencies.add(y)}$&&m.uses.dependencies.add(_.href);const O={};for(const E in p)Object.defineProperty(O,E,{get(){return m.uses.params.add(E),p[E]},enumerable:!0});const V=Ae;if(w.load){const E={routeId:h,params:O,props:$||{},get url(){return m.uses.url=!0,new Proxy(_,{get:(v,k)=>{if(k==="hash")throw new Error("url.hash is inaccessible from load. Consider accessing hash from the page store within the script tag of your component.");return Reflect.get(v,k,v)}})},get session(){return m.uses.session=!0,V},get stuff(){return m.uses.stuff=!0,C({},b)},async fetch(v,k){let S;typeof v=="string"?S=v:(S=v.url,k=C({body:v.method==="GET"||v.method==="HEAD"?void 0:await v.blob(),cache:v.cache,credentials:v.credentials,headers:v.headers,integrity:v.integrity,keepalive:v.keepalive,method:v.method,mode:v.mode,redirect:v.redirect,referrer:v.referrer,referrerPolicy:v.referrerPolicy,signal:v.signal},k));const L=new URL(S,_).href;return R(L),u?Re(L,k):jt(S,k)},status:f!=null?f:null,error:d!=null?d:null};let y;if(y=await w.load.call(null,E),!y)throw new Error("load function must return a value");m.loaded=Ye(y),m.loaded.stuff&&(m.stuff=m.loaded.stuff),m.loaded.dependencies&&m.loaded.dependencies.forEach(R)}else $&&(m.loaded=Ye({props:$}));return m}async function Ve({id:f,url:d,params:w,route:_},p){var v,k,S;if(n.id===f&&n.promise)return n.promise;if(!p){const L=c.get(f);if(L)return L}const{a:b,b:$,has_shadow:h}=_,m=o.url&&{url:f!==o.url.pathname+o.url.search,params:Object.keys(w).filter(L=>o.params[L]!==w[L]),session:P!==o.session_id};let R=[],O=He,V=!1,E=200,y=null;b.forEach(L=>L().catch(()=>{}));e:for(let L=0;LW.uses.params.has(X))||m.session&&W.uses.session||Array.from(W.uses.dependencies).some(X=>a.some(fe=>fe(X)))||V&&W.uses.stuff){let X={};const fe=h&&L===b.length-1;if(fe){const oe=await Re(`${d.pathname}${d.pathname.endsWith("/")?"":"/"}__data.json${d.search}`,{headers:{"x-sveltekit-load":"true"}});if(oe.ok){const Ne=oe.headers.get("x-sveltekit-location");if(Ne)return{redirect:Ne,props:{},state:o};X=oe.status===204?{}:await oe.json()}else E=oe.status,y=new Error("Failed to load data")}if(y||(U=await re({module:N,url:d,params:w,props:X,stuff:O,routeId:_.id})),U&&(fe&&(U.uses.url=!0),U.loaded)){if(U.loaded.error&&(E=U.loaded.status,y=U.loaded.error),U.loaded.redirect)return{redirect:U.loaded.redirect,props:{},state:o};U.loaded.stuff&&(V=!0)}}else U=W}catch(N){E=500,y=We(N)}if(y){for(;L--;)if($[L]){let N,W,le=L;for(;!(W=R[le]);)le-=1;try{if(N=await re({status:E,error:y,module:await $[L](),url:d,params:w,stuff:W.stuff,routeId:_.id}),(v=N==null?void 0:N.loaded)!=null&&v.error)continue;(k=N==null?void 0:N.loaded)!=null&&k.stuff&&(O=C(C({},O),N.loaded.stuff)),R=R.slice(0,le+1).concat(N);break e}catch{continue}}return await ie({status:E,error:y,url:d,routeId:_.id})}else(S=U==null?void 0:U.loaded)!=null&&S.stuff&&(O=C(C({},O),U.loaded.stuff)),R.push(U)}return await we({url:d,params:w,stuff:O,branch:R,status:E,error:y,routeId:_.id})}async function ie({status:f,error:d,url:w,routeId:_}){var h,m;const p={},b=await re({module:await Jt,url:w,params:p,stuff:{},routeId:_}),$=await re({status:f,error:d,module:await Kt,url:w,params:p,stuff:b&&b.loaded&&b.loaded.stuff||{},routeId:_});return await we({url:w,params:p,stuff:C(C({},(h=b==null?void 0:b.loaded)==null?void 0:h.stuff),(m=$==null?void 0:$.loaded)==null?void 0:m.stuff),branch:[b,$],status:f,error:d,routeId:_})}function Se(f){if(f.origin!==location.origin||!f.pathname.startsWith(t))return;const d=decodeURI(f.pathname.slice(t.length)||"/");for(const w of Ee){const _=w.exec(d);if(_)return{id:f.pathname+f.search,route:w,params:_,url:f}}}async function be({url:f,scroll:d,keepfocus:w,redirect_chain:_,details:p,accepted:b,blocked:$}){const h=o.url;let m=!1;const R={from:h,to:f,cancel:()=>m=!0};if(i.before_navigate.forEach(E=>E(R)),m){$();return}const O=St(f.pathname,s),V=new URL(f.origin+O+f.search+f.hash);ye(B),b(),u&&l.navigating.set({from:o.url,to:V}),await ge(V,_,!1,{scroll:d,keepfocus:w,details:p},()=>{const E={from:h,to:V};i.after_navigate.forEach(y=>y(E)),l.navigating.set(null)})}function se(f){return location.href=f.href,new Promise(()=>{})}return{after_navigate:f=>{$e(()=>(i.after_navigate.push(f),()=>{const d=i.after_navigate.indexOf(f);i.after_navigate.splice(d,1)}))},before_navigate:f=>{$e(()=>(i.before_navigate.push(f),()=>{const d=i.before_navigate.indexOf(f);i.before_navigate.splice(d,1)}))},disable_scroll_handling:()=>{(j||!u)&&(A=!1)},goto:(f,d={})=>Te(f,d,[]),invalidate:f=>{if(typeof f=="function")a.push(f);else{const{href:d}=new URL(f,location.href);a.push(w=>w===d)}return te||(te=Promise.resolve().then(async()=>{await ge(new URL(location.href),[],!0),te=null})),te},prefetch:async f=>{const d=new URL(f,Ge(document));await Ie(d)},prefetch_routes:async f=>{const w=(f?Ee.filter(_=>f.some(p=>_.exec(p))):Ee).map(_=>Promise.all(_.a.map(p=>p())));await Promise.all(w)},_start_router:()=>{history.scrollRestoration="manual",addEventListener("beforeunload",_=>{let p=!1;const b={from:o.url,to:null,cancel:()=>p=!0};i.before_navigate.forEach($=>$(b)),p?(_.preventDefault(),_.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{if(document.visibilityState==="hidden"){ye(B);try{sessionStorage[Ze]=JSON.stringify(ce)}catch{}}});const f=_=>{const p=Me(_);p&&p.href&&p.hasAttribute("sveltekit:prefetch")&&Ie(Fe(p))};let d;const w=_=>{clearTimeout(d),d=setTimeout(()=>{var p;(p=_.target)==null||p.dispatchEvent(new CustomEvent("sveltekit:trigger_prefetch",{bubbles:!0}))},20)};addEventListener("touchstart",f),addEventListener("mousemove",w),addEventListener("sveltekit:trigger_prefetch",f),addEventListener("click",_=>{if(!ne||_.button||_.which!==1||_.metaKey||_.ctrlKey||_.shiftKey||_.altKey||_.defaultPrevented)return;const p=Me(_);if(!p||!p.href)return;const b=p instanceof SVGAElement,$=Fe(p);if(!b&&$.origin==="null")return;const h=(p.getAttribute("rel")||"").split(/\s+/);if(p.hasAttribute("download")||h.includes("external")||p.hasAttribute("sveltekit:reload")||(b?p.target.baseVal:p.target))return;const[m,R]=$.href.split("#");if(R!==void 0&&m===location.href.split("#")[0]){he=!0,ye(B),l.page.set(ae(C({},me),{url:$})),l.page.notify();return}be({url:$,scroll:p.hasAttribute("sveltekit:noscroll")?ke():null,keepfocus:!1,redirect_chain:[],details:{state:{},replaceState:$.href===location.href},accepted:()=>_.preventDefault(),blocked:()=>_.preventDefault()})}),addEventListener("popstate",_=>{if(_.state&&ne){if(_.state[F]===B)return;be({url:new URL(location.href),scroll:ce[_.state[F]],keepfocus:!1,redirect_chain:[],details:null,accepted:()=>{B=_.state[F]},blocked:()=>{const p=B-_.state[F];history.go(p)}})}}),addEventListener("hashchange",()=>{he&&(he=!1,history.replaceState(ae(C({},history.state),{[F]:++B}),"",location.href))})},_hydrate:async({status:f,error:d,nodes:w,params:_,routeId:p})=>{const b=new URL(location.href),$=[];let h={},m,R;try{for(let O=0;O3ee Games Accessibility - + @@ -113,7 +113,7 @@
social