From 7302d084b9e9a86315d1c156789e287284ca1b3a Mon Sep 17 00:00:00 2001 From: Ryan Sadwick Date: Sat, 21 Oct 2023 19:23:01 -0400 Subject: [PATCH] production deploy --- .../pages/britelite/index.svelte-b6d7fe9d.css | 1 - _app/immutable/manifest.json | 4 +-- ...e-fcd25f9e.js => index.svelte-33b23c98.js} | 2 +- .../pages/britelite/index.svelte-ff0c09fe.js | 23 ------------ _app/immutable/start-6df69c2c.js | 1 - .../{start-9995d15e.js => start-e38b08e1.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 | 4 +-- 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 | 6 ++-- 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 | 36 +++++++++---------- spacelab/index.html | 4 +-- team/adora/index.html | 4 +-- team/ddraw/index.html | 4 +-- team/ryan/index.html | 4 +-- 50 files changed, 118 insertions(+), 143 deletions(-) delete mode 100644 _app/immutable/assets/pages/britelite/index.svelte-b6d7fe9d.css rename _app/immutable/pages/britelite/{index.svelte-fcd25f9e.js => index.svelte-33b23c98.js} (69%) delete mode 100644 _app/immutable/pages/britelite/index.svelte-ff0c09fe.js delete mode 100644 _app/immutable/start-6df69c2c.js rename _app/immutable/{start-9995d15e.js => start-e38b08e1.js} (99%) diff --git a/_app/immutable/assets/pages/britelite/index.svelte-b6d7fe9d.css b/_app/immutable/assets/pages/britelite/index.svelte-b6d7fe9d.css deleted file mode 100644 index 5069d299..00000000 --- a/_app/immutable/assets/pages/britelite/index.svelte-b6d7fe9d.css +++ /dev/null @@ -1 +0,0 @@ -ul.svelte-13cihos.svelte-13cihos{list-style-type:none;display:flex;justify-content:space-evenly;flex-flow:row wrap;margin:0;padding:0}li.svelte-13cihos.svelte-13cihos{border-radius:10px;margin:1rem .1rem;cursor:pointer}.icon.svelte-13cihos.svelte-13cihos{font-size:32em;text-align:center;color:var(--button-color)}img.svelte-13cihos.svelte-13cihos{border-radius:7px;border:.2rem solid var(--button-color)}.description.svelte-13cihos.svelte-13cihos{position:relative;backdrop-filter:blur(13px) saturate(160%);-webkit-backdrop-filter:blur(13px) saturate(160%);-moz-backdrop-filter:blur(13px) saturate(160%);-o-backdrop-filter:blur(13px) saturate(160%);-ms-backdrop-filter:blur(13px) saturate(160%)}.details.svelte-13cihos.svelte-13cihos{backdrop-filter:blur(13px) saturate(160%);box-shadow:#00000029 0 -2px 6px 1px;padding:10px;position:absolute;bottom:0;left:0;right:0;-webkit-backdrop-filter:blur(13px) saturate(160%);-moz-backdrop-filter:blur(13px) saturate(160%);-o-backdrop-filter:blur(13px) saturate(160%);-ms-backdrop-filter:blur(13px) saturate(160%)}.details.svelte-13cihos p.svelte-13cihos{font-size:1.2rem;text-shadow:1px 1px 2px rgba(0,0,0,.8);font-weight:600;padding:.1rem;margin:.2rem;line-height:1.5rem}@media (min-width: 100px) and (max-width: 896.98px){.details.svelte-13cihos.svelte-13cihos{padding:4px}.details.svelte-13cihos p.svelte-13cihos{font-size:1.1rem;line-height:1.1rem;text-align:center}}@media (min-width: 100px) and (max-width: 874.98px){.icon.svelte-13cihos.svelte-13cihos{font-size:20em}}h3.svelte-1qy2w0p{font-size:1.9rem}.progress-row.svelte-1qy2w0p{display:flex;align-items:center;margin-bottom:10px}.progress-bar.svelte-1qy2w0p{width:70%;height:10px;border:none;border-radius:5px;background-color:var(--primary-color)}.progress-bar.svelte-1qy2w0p::-webkit-progress-bar{background-color:var(--primary-color)}.progress-bar.svelte-1qy2w0p::-webkit-progress-value{background-color:var(--button-color)}.progress-bar.svelte-1qy2w0p::-moz-progress-bar{background-color:var(--button-color)}span.svelte-1qy2w0p{color:var(--text-color);font-size:1rem;margin:0 2rem}.icon.svelte-1qy2w0p{font-size:1.5rem;margin-right:.2em;vertical-align:text-bottom;color:var(--accent-color)}.duration.svelte-1qy2w0p{margin:0;font-size:1.2rem;font-weight:700}@media (min-width: 100px) and (max-width: 696.98px){span.svelte-1qy2w0p{margin:1rem 2rem}.progress-row.svelte-1qy2w0p{flex-direction:column}}p.svelte-bsedi5.svelte-bsedi5,h4.svelte-bsedi5.svelte-bsedi5{text-align:start;padding:0;margin:0}h4.svelte-bsedi5.svelte-bsedi5{padding:0;margin:0}.icon.svelte-bsedi5.svelte-bsedi5{font-size:3rem;margin-right:.2em;vertical-align:middle}h4.svelte-bsedi5 ion-icon.svelte-bsedi5{font-size:3.4rem;margin-right:.2em;vertical-align:middle;color:var(--button-color)}.supercharged.svelte-bsedi5.svelte-bsedi5{color:var(--button-color)}.supercharged-container.svelte-bsedi5.svelte-bsedi5{animation:svelte-bsedi5-vibrate .3s linear 3 both}.option-container.svelte-bsedi5.svelte-bsedi5{padding:1rem 1.5rem}@keyframes svelte-bsedi5-vibrate{0%{-webkit-transform:translate(0);transform:translate(0)}20%{-webkit-transform:translate(-2px,2px);transform:translate(-2px,2px)}40%{-webkit-transform:translate(-2px,-2px);transform:translate(-2px,-2px)}60%{-webkit-transform:translate(2px,2px);transform:translate(2px,2px)}80%{-webkit-transform:translate(2px,-2px);transform:translate(2px,-2px)}to{-webkit-transform:translate(0);transform:translate(0)}}@media (min-width: 100px) and (max-width: 896.98px){.supercharged-container.svelte-bsedi5 p.svelte-bsedi5{font-size:1.1rem}h4.svelte-bsedi5.svelte-bsedi5{font-size:1.2rem}h4.svelte-bsedi5 ion-icon.svelte-bsedi5{font-size:1.7rem}.option-container.svelte-bsedi5.svelte-bsedi5{flex-direction:column;align-items:center}}input[type=radio].svelte-j9l9jp.svelte-j9l9jp{height:0;width:0;visibility:hidden;margin:0;padding:0}label.svelte-j9l9jp.svelte-j9l9jp{cursor:pointer;text-indent:-9999px;width:67px;height:63px;background:#757689;display:block;border-radius:7px;position:relative;margin:0}label.svelte-j9l9jp.svelte-j9l9jp:after{content:"";position:absolute;top:8px;left:10px;width:50px;height:50px;background:var(--heading-color);border-radius:7px;transition:.3s}input.svelte-j9l9jp:checked+label.svelte-j9l9jp{background:var(--button-color)}label.green.svelte-j9l9jp.svelte-j9l9jp:after{background:#24c50b}label.blue.svelte-j9l9jp.svelte-j9l9jp:after{background:#0a5aaa}label.darkest.svelte-j9l9jp.svelte-j9l9jp:after{background:#2e1801}label.darker.svelte-j9l9jp.svelte-j9l9jp:after{background:#582c03}label.dark.svelte-j9l9jp.svelte-j9l9jp:after{background:#7b4907}label.tan.svelte-j9l9jp.svelte-j9l9jp:after{background:#b1690b}label.light.svelte-j9l9jp.svelte-j9l9jp:after{background:#d1aa84}label.lighter.svelte-j9l9jp.svelte-j9l9jp:after{background:#e5ceb8}label.lightest.svelte-j9l9jp.svelte-j9l9jp:after{background:#efe7e0}label.purple.svelte-j9l9jp.svelte-j9l9jp:after{background:#b909f3}label.red.svelte-j9l9jp.svelte-j9l9jp:after{background:#ef5d0e}label.eye-blue.svelte-j9l9jp.svelte-j9l9jp:after{background:#51a9f1}label.eye-green.svelte-j9l9jp.svelte-j9l9jp:after{background:#1ded5c}label.eye-brown.svelte-j9l9jp.svelte-j9l9jp:after{background:#551f08}label.eye-black.svelte-j9l9jp.svelte-j9l9jp:after{background:#170801}label.eye-yellow.svelte-j9l9jp.svelte-j9l9jp:after{background:#ebdf07}label.eye-red.svelte-j9l9jp.svelte-j9l9jp:after{background:#ce2309}label.eye-white.svelte-j9l9jp.svelte-j9l9jp:after{background:#f1ebea}label.eye-purple.svelte-j9l9jp.svelte-j9l9jp:after{background:#ac09c9}.weight-container.svelte-qar9hd.svelte-qar9hd{display:flex;justify-content:center;align-self:center;width:150px;height:389px}svg.svelte-qar9hd.svelte-qar9hd{transform-origin:center;transform-box:fill-box}button.svelte-qar9hd.svelte-qar9hd{padding:.5rem 0rem .5rem .5rem;margin:9px}.weight-picker.svelte-qar9hd.svelte-qar9hd{fill:#3699ed}.icon.svelte-qar9hd.svelte-qar9hd{font-size:3rem;margin-right:.2em;vertical-align:middle}.action-buttons.svelte-qar9hd.svelte-qar9hd{display:flex;justify-content:center;margin-top:1rem}.action-buttons.svelte-qar9hd button.svelte-qar9hd{justify-content:center}.thin.svelte-qar9hd.svelte-qar9hd{fill:#3699ed}.medium.svelte-qar9hd.svelte-qar9hd{fill:#8f00ff}.curvy.svelte-qar9hd.svelte-qar9hd{fill:#ff7a20}.plump.svelte-qar9hd.svelte-qar9hd{fill:#fa2cca}.heavy.svelte-qar9hd.svelte-qar9hd{fill:#defa19}.balance-container.svelte-1905w37{display:flex;justify-content:center;align-self:center;padding:5% 0}input[type=range].svelte-1905w37{-webkit-appearance:none;appearance:none;width:100%;cursor:pointer;outline:none;height:0}input.svelte-1905w37::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:48px;height:48px;background:rgb(255,122,32);cursor:pointer;border-color:#ebe0e0cc;border-width:5px}input.svelte-1905w37::-moz-range-thumb{width:48px;height:48px;background:rgb(255,122,32);cursor:pointer;border-color:#ebe0e0cc;border-width:5px}p.svelte-d976ti.svelte-d976ti,h4.svelte-d976ti.svelte-d976ti{text-align:start;padding:0;margin:0}h2.svelte-d976ti.svelte-d976ti{font-size:1.6rem}aside.svelte-d976ti.svelte-d976ti{display:flex}input[type=radio].svelte-d976ti.svelte-d976ti{height:0;width:0;visibility:hidden}label.svelte-d976ti.svelte-d976ti{cursor:pointer;text-indent:-9999px;width:147px;height:53px;background:#757689;display:block;border-radius:7px;position:relative;margin:0rem 1rem}label.svelte-d976ti.svelte-d976ti:after{content:"";position:absolute;top:3px;left:5px;width:50px;height:50px;background:var(--heading-color);border-radius:7px;transition:.3s}input.svelte-d976ti:checked+label.svelte-d976ti{background:var(--button-color)}input.svelte-d976ti:checked+label.svelte-d976ti:after{left:calc(100% - 5px);transform:translate(-100%)}.main.svelte-d976ti.svelte-d976ti{margin:.5rem 1rem;align-self:center}.inline-container.svelte-d976ti.svelte-d976ti{display:flex;justify-content:center;flex-flow:wrap}.inline-container.svelte-d976ti .option-container.svelte-d976ti{margin:.4rem}.inline-container.svelte-d976ti .option-container.svelte-d976ti:nth-child(even){background:unset}.icon.svelte-d976ti.svelte-d976ti{font-size:3rem;margin-right:.2em;vertical-align:middle}button.svelte-d976ti.svelte-d976ti{margin:40px auto}fieldset.svelte-d976ti.svelte-d976ti{border:none;padding:0;margin:2rem 0}.pose-container.svelte-d976ti .option-container.svelte-d976ti{background:unset}.pose-container.svelte-d976ti aside.svelte-d976ti{display:flex;flex-direction:column;flex:1 0 0}.option-container.svelte-d976ti.svelte-d976ti{justify-content:space-between}.submit-button.svelte-d976ti.svelte-d976ti{animation:svelte-d976ti-colorChangeButton 1.5s linear infinite both}.submission-container.svelte-d976ti p.svelte-d976ti{text-align:center}.vibrate.svelte-d976ti.svelte-d976ti{animation:svelte-d976ti-vibrate .3s linear infinite both}@keyframes svelte-d976ti-vibrate{0%{-webkit-transform:translate(0);transform:translate(0)}20%{-webkit-transform:translate(-2px,2px);transform:translate(-2px,2px)}40%{-webkit-transform:translate(-2px,-2px);transform:translate(-2px,-2px)}60%{-webkit-transform:translate(2px,2px);transform:translate(2px,2px)}80%{-webkit-transform:translate(2px,-2px);transform:translate(2px,-2px)}to{-webkit-transform:translate(0);transform:translate(0)}}@media all and (max-width: 490px){label.svelte-d976ti.svelte-d976ti{margin:0 auto}.main.svelte-d976ti.svelte-d976ti{padding:0;margin:0}aside.svelte-d976ti.svelte-d976ti{margin:.7rem 0}form.svelte-d976ti.svelte-d976ti{margin:0;padding:0}p.svelte-d976ti.svelte-d976ti{font-size:1rem}h4.svelte-d976ti.svelte-d976ti{font-size:1.2rem}.option-container.svelte-d976ti.svelte-d976ti{margin:0;padding:0}.option-container.svelte-d976ti.svelte-d976ti:nth-child(even){background:unset;border-radius:unset}}@media all and (max-width: 395px){.main.svelte-d976ti.svelte-d976ti{min-width:43%}}@media all and (max-width: 320px){.option-container.svelte-d976ti.svelte-d976ti{flex-flow:wrap;justify-content:center}}@keyframes svelte-d976ti-colorChangeButton{0%{background-color:var(--button-color)}50%{background-color:var(--accent-color)}to{background-color:var(--button-color)}}.container.svelte-yiqs29.svelte-yiqs29{margin-top:4rem}section.svelte-yiqs29.svelte-yiqs29{justify-content:center}img.svelte-yiqs29.svelte-yiqs29{border-radius:7px}p.svelte-yiqs29.svelte-yiqs29{text-align:center}h2.svelte-yiqs29.svelte-yiqs29{font-size:1.9rem}.icon.svelte-yiqs29.svelte-yiqs29{font-size:3rem;margin-right:.2em}article.svelte-yiqs29.svelte-yiqs29{position:relative;align-self:center}.image-wrap.svelte-yiqs29.svelte-yiqs29:before{content:" ";display:block;position:absolute;left:0;top:0;width:100%;height:100%;opacity:.2;background-image:url(/space_bg.png);background-repeat:no-repeat;background-position:100% 45%;background-size:cover}.image-wrap.svelte-yiqs29.svelte-yiqs29{width:100%;overflow:hidden;position:relative}.column-container.svelte-yiqs29.svelte-yiqs29{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.left.svelte-yiqs29.svelte-yiqs29{margin:1rem;padding:.5rem}.right.svelte-yiqs29 p.svelte-yiqs29{text-align:left}.video.svelte-yiqs29 button.svelte-yiqs29{margin:40px auto}.video.svelte-yiqs29 picture.svelte-yiqs29{position:relative;width:100%;padding-bottom:56.25%;display:flex;justify-content:center;flex-direction:column}.video.svelte-yiqs29 img.svelte-yiqs29{border-radius:7px;position:absolute;top:0;left:0;width:100%;height:100%;border:0}@media (min-width: 100px) and (max-width: 700.98px){.column-container.svelte-yiqs29.svelte-yiqs29{flex-direction:column}.right.svelte-yiqs29 button.svelte-yiqs29{margin:40px auto}.left.svelte-yiqs29 picture.svelte-yiqs29{position:relative;width:100%;padding-top:100%}.left.svelte-yiqs29 img.svelte-yiqs29{width:100%;height:100%;text-align:center}}p.svelte-hejvot.svelte-hejvot,h4.svelte-hejvot.svelte-hejvot{text-align:start;padding:0;margin:0}h4.svelte-hejvot.svelte-hejvot{padding:0;margin:0}.icon.svelte-hejvot.svelte-hejvot{font-size:3rem;margin-right:.2em;vertical-align:middle}h4.svelte-hejvot ion-icon.svelte-hejvot{font-size:3.4rem;margin-right:.2em;vertical-align:middle;color:var(--button-color)}h3.svelte-16bjdrm{font-size:1.9rem}.icon.svelte-16bjdrm{font-size:1.7rem;margin-right:.2em;vertical-align:text-bottom;color:var(--accent-color);-webkit-animation:svelte-16bjdrm-colorChangeLogo 15s alternate infinite;animation:svelte-16bjdrm-colorChangeLogo 15s alternate infinite}@-webkit-keyframes svelte-16bjdrm-colorChangeLogo{0%{color:#3898ec}50%{color:var(--accent-color)}to{color:#fff}}@keyframes svelte-16bjdrm-colorChangeLogo{0%{color:#3898ec}50%{color:var(--accent-color)}to{color:#fff}}.coin-icon.svelte-9oc2t6{font-size:1.7rem;margin-right:.2em;vertical-align:bottom;color:var(--accent-color);-webkit-animation:svelte-9oc2t6-colorChangeCoin 10s alternate infinite;animation:svelte-9oc2t6-colorChangeCoin 10s alternate infinite}@-webkit-keyframes svelte-9oc2t6-colorChangeLogo{0%{color:#3898ec}50%{color:var(--accent-color)}to{color:#fff}}@keyframes svelte-9oc2t6-colorChangeLogo{0%{color:#3898ec}50%{color:var(--accent-color)}to{color:#fff}}@-webkit-keyframes svelte-9oc2t6-colorChangeCoin{0%{color:var(--accent-color)}50%{color:#d7fc05}to{color:#ff7300}}@keyframes svelte-9oc2t6-colorChangeCoin{0%{color:var(--accent-color)}50%{color:#d7fc05}to{color:#ff7300}} diff --git a/_app/immutable/manifest.json b/_app/immutable/manifest.json index 0c61e607..46036db7 100644 --- a/_app/immutable/manifest.json +++ b/_app/immutable/manifest.json @@ -1,6 +1,6 @@ { ".svelte-kit/runtime/client/start.js": { - "file": "start-6df69c2c.js", + "file": "start-e38b08e1.js", "src": ".svelte-kit/runtime/client/start.js", "isEntry": true, "imports": [ @@ -460,7 +460,7 @@ ] }, "src/routes/britelite/index.svelte": { - "file": "pages/britelite/index.svelte-fcd25f9e.js", + "file": "pages/britelite/index.svelte-33b23c98.js", "src": "src/routes/britelite/index.svelte", "isEntry": true, "isDynamicEntry": true, diff --git a/_app/immutable/pages/britelite/index.svelte-fcd25f9e.js b/_app/immutable/pages/britelite/index.svelte-33b23c98.js similarity index 69% rename from _app/immutable/pages/britelite/index.svelte-fcd25f9e.js rename to _app/immutable/pages/britelite/index.svelte-33b23c98.js index d0cc3635..85a41cbf 100644 --- a/_app/immutable/pages/britelite/index.svelte-fcd25f9e.js +++ b/_app/immutable/pages/britelite/index.svelte-33b23c98.js @@ -1,4 +1,4 @@ -import{S as rt,i as lt,s as it,e as u,c as d,a as h,d as o,b as i,g as q,q as F,l as _t,n as Ss,o as z,p as ws,N as go,$ as Ts,k as b,t as y,m as I,h as $,H as K,I as t,j as ye,E as oe,w as ee,x as te,y as se,B as ae,J as le,L as pe,K as Gl,a1 as Ar,R as Ra,a3 as Co,u as Po,_ as Eo,f as bo,a2 as Yl,O as Kn,C as Xn,a4 as So,a5 as wo,a6 as To,P as xn,Q as eo,G as Oo,v as Kl,X as ko,a7 as No}from"../../chunks/index-8ed999ca.js";import{g as Wl}from"../../chunks/navigation-0e6511d1.js";import{a as qa}from"../../chunks/accountStore-859cf7a0.js";import{c as to}from"../../chunks/briteliteStore-1636fc63.js";import{S as Ro}from"../../chunks/Saos-dbfe5fbc.js";import{w as Vo}from"../../chunks/index-71ac3aa5.js";import"../../chunks/singletons-d1fb5791.js";function so(a,e,r){const s=a.slice();return s[8]=e[r],s[10]=r,s}function ao(a){let e,r,s=a[0],l=[];for(let c=0;cz(l[c],1,1,()=>{l[c]=null});return{c(){e=u("ul");for(let c=0;c0?0:1}return e=v(a),r=c[e]=n[e](a),{c(){r.c(),s=_t()},l(f){r.l(f),s=_t()},m(f,p){c[e].m(f,p),q(f,s,p),l=!0},p(f,p){let m=e;e=v(f),e===m?c[e].p(f,p):(Ss(),z(c[m],1,1,()=>{c[m]=null}),ws(),r=c[e],r?r.p(f,p):(r=c[e]=n[e](f),r.c()),F(r,1),r.m(s.parentNode,s))},i(f){l||(F(r),l=!0)},o(f){z(r),l=!1},d(f){c[e].d(f),f&&o(s)}}}function Ho(a){let e,r,s=a[0].length>0&&ao(a);return{c(){e=u("div"),s&&s.c()},l(l){e=d(l,"DIV",{});var n=h(e);s&&s.l(n),n.forEach(o)},m(l,n){q(l,e,n),s&&s.m(e,null),r=!0},p(l,[n]){l[0].length>0?s?(s.p(l,n),n&1&&F(s,1)):(s=ao(l),s.c(),F(s,1),s.m(e,null)):s&&(Ss(),z(s,1,1,()=>{s=null}),ws())},i(l){r||(F(s),r=!0)},o(l){z(s),r=!1},d(l){l&&o(e),s&&s.d()}}}function yr(a){return typeof a!="undefined"?new Date(a).toLocaleDateString("en-us",{year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"}):null}function jo(a){}function Wo(a,e={}){let r;const s=n=>{const c=n[0].isIntersecting?"enter":"exit";a.dispatchEvent(new CustomEvent(c))},l=({root:n,top:c,bottom:v})=>{const f=c?c*-1:0,p=v?v*-1:0,m=`${f}px 0px ${p}px 0px`,_={root:n,rootMargin:m};r&&r.disconnect(),r=new IntersectionObserver(s,_),r.observe(a)};return l(e),{update(n){l(n)},destroy(){r&&r.disconnect()}}}function Fo(a,e,r){let{briteliteQueues:s=[]}=e;to.subscribe(p=>{});const l=Ts();qa.subscribe(p=>{});function n(p){to.update(m=>p),l("onSelectImage")}async function c(){l("loadMore")}const v=()=>c(),f=()=>console.log("exit");return a.$$set=p=>{"briteliteQueues"in p&&r(0,s=p.briteliteQueues)},[s,n,c,v,f]}class zo extends rt{constructor(e){super(),lt(this,e,Fo,Ho,it,{briteliteQueues:0})}}function Io(a){const e=a-1;return e*e*e+1}function lo(a,e,r){const s=a.slice();return s[1]=e[r],s}function io(a){let e,r,s,l,n,c,v,f,p,m,_,g=oo(a[1].eta_relative)+"",P,C;return{c(){e=u("h3"),r=y("Processing"),s=b(),l=u("div"),n=u("progress"),v=b(),f=u("span"),p=u("ion-icon"),m=b(),_=u("span"),P=y(g),C=b(),this.h()},l(A){e=d(A,"H3",{class:!0});var w=h(e);r=$(w,"Processing"),w.forEach(o),s=I(A),l=d(A,"DIV",{class:!0});var D=h(l);n=d(D,"PROGRESS",{class:!0,max:!0}),h(n).forEach(o),v=I(D),f=d(D,"SPAN",{class:!0});var O=h(f);p=d(O,"ION-ICON",{class:!0,name:!0}),h(p).forEach(o),m=I(O),_=d(O,"SPAN",{class:!0});var E=h(_);P=$(E,g),E.forEach(o),O.forEach(o),C=I(D),D.forEach(o),this.h()},h(){i(e,"class","svelte-1qy2w0p"),i(n,"class","progress-bar svelte-1qy2w0p"),n.value=c=a[1].progress,i(n,"max","1"),K(p,"class","icon svelte-1qy2w0p"),K(p,"name","alarm-sharp"),i(_,"class","duration svelte-1qy2w0p"),i(f,"class","svelte-1qy2w0p"),i(l,"class","progress-row svelte-1qy2w0p")},m(A,w){q(A,e,w),t(e,r),q(A,s,w),q(A,l,w),t(l,n),t(l,v),t(l,f),t(f,p),t(f,m),t(f,_),t(_,P),t(l,C)},p(A,w){w&1&&c!==(c=A[1].progress)&&(n.value=c),w&1&&g!==(g=oo(A[1].eta_relative)+"")&&ye(P,g)},d(A){A&&o(e),A&&o(s),A&&o(l)}}}function no(a){let e,r=a[1].progress<1&&io(a);return{c(){r&&r.c(),e=_t()},l(s){r&&r.l(s),e=_t()},m(s,l){r&&r.m(s,l),q(s,e,l)},p(s,l){s[1].progress<1?r?r.p(s,l):(r=io(s),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},d(s){r&&r.d(s),s&&o(e)}}}function Qo(a){let e,r=a[0],s=[];for(let l=0;l0&&(l+=`${e} hour${e>1?"s":""} `),r>0&&(l+=`${r} minute${r>1?"s":""} `),r===0&&e===0&&(l+=`${s} second${s>1?"s":""}`),l.trim()}function Go(a,e,r){let{jobs:s=[]}=e;return s.forEach(l=>{let n=parseFloat(l.progress),c=isFinite(n)?Math.max(0,Math.min(n,1)):0,v,f;const p=_=>{const g=_-v,P=1e3,C=Io(g/P);l.progress=c*C,g{v=performance.now(),f=requestAnimationFrame(p)};Po(()=>{m()}),Eo(()=>{cancelAnimationFrame(f),l.progress=0})}),a.$$set=l=>{"jobs"in l&&r(0,s=l.jobs)},[s]}class Yo extends rt{constructor(e){super(),lt(this,e,Go,Qo,it,{jobs:0})}}function Zo(a){let e,r,s,l,n,c,v;return{c(){e=u("button"),r=u("ion-icon"),s=b(),l=u("span"),n=y("Upload"),this.h()},l(f){e=d(f,"BUTTON",{});var p=h(e);r=d(p,"ION-ICON",{class:!0,name:!0}),h(r).forEach(o),s=I(p),l=d(p,"SPAN",{});var m=h(l);n=$(m,"Upload"),m.forEach(o),p.forEach(o),this.h()},h(){K(r,"class","icon svelte-bsedi5"),K(r,"name","color-palette-sharp")},m(f,p){q(f,e,p),t(e,r),t(e,s),t(e,l),t(l,n),c||(v=le(e,"click",pe(a[2])),c=!0)},p:oe,d(f){f&&o(e),c=!1,v()}}}function Jo(a){let e,r,s,l,n,c,v,f,p,m,_,g,P,C;function A(O,E){return Zo}let D=A()(a);return{c(){e=u("div"),r=u("article"),s=u("h4"),l=u("ion-icon"),n=y(" Super Charged Avatar"),c=b(),v=u("p"),f=y("Upload your avatar. Recommended size is 512x512 pixels."),p=b(),m=u("aside"),_=u("input"),g=b(),D.c(),this.h()},l(O){e=d(O,"DIV",{class:!0});var E=h(e);r=d(E,"ARTICLE",{class:!0});var S=h(r);s=d(S,"H4",{class:!0});var R=h(s);l=d(R,"ION-ICON",{name:!0,class:!0}),h(l).forEach(o),n=$(R," Super Charged Avatar"),R.forEach(o),c=I(S),v=d(S,"P",{class:!0});var k=h(v);f=$(k,"Upload your avatar. Recommended size is 512x512 pixels."),k.forEach(o),S.forEach(o),p=I(E),m=d(E,"ASIDE",{class:!0});var T=h(m);_=d(T,"INPUT",{style:!0,type:!0,accept:!0}),g=I(T),D.l(T),T.forEach(o),E.forEach(o),this.h()},h(){K(l,"name","image"),K(l,"class","svelte-bsedi5"),i(s,"class","highlight large supercharged svelte-bsedi5"),i(v,"class","svelte-bsedi5"),i(r,"class","main supercharged-container svelte-bsedi5"),bo(_,"display","none"),i(_,"type","file"),i(_,"accept",".jpg, .jpeg, .png, .webp, .gif"),i(m,"class","aside aside-1"),i(e,"class","option-container svelte-bsedi5")},m(O,E){q(O,e,E),t(e,r),t(r,s),t(s,l),t(s,n),t(r,c),t(r,v),t(v,f),t(e,p),t(e,m),t(m,_),a[6](_),t(m,g),D.m(m,null),P||(C=le(_,"change",a[5]),P=!0)},p(O,[E]){D.p(O,E)},i:oe,o:oe,d(O){O&&o(e),a[6](null),D.d(),P=!1,C()}}}function Ko(a,e,r){let{isImageUploading:s=!1}=e,l;const n=Ts(),c=async _=>{l.click()},v=async _=>{n("onViewAvatar")},f=async _=>{n("onFileSelected",{file:_.target.files[0]})},p=_=>f(_);function m(_){Yl[_?"unshift":"push"](()=>{l=_,r(1,l)})}return a.$$set=_=>{"isImageUploading"in _&&r(0,s=_.isImageUploading)},[s,l,c,v,f,p,m]}class Xo extends rt{constructor(e){super(),lt(this,e,Ko,Jo,it,{isImageUploading:0})}}function xo(a){let e,r,s,l,n,c,v;return{c(){e=u("input"),r=b(),s=u("label"),l=y("happy"),this.h()},l(f){e=d(f,"INPUT",{type:!0,id:!0,name:!0,class:!0}),r=I(f),s=d(f,"LABEL",{for:!0,class:!0});var p=h(s);l=$(p,"happy"),p.forEach(o),this.h()},h(){i(e,"type","radio"),i(e,"id",a[0]),i(e,"name",a[1]),i(e,"class","svelte-j9l9jp"),i(s,"for",a[0]),i(s,"class",n=Kn(a[0])+" svelte-j9l9jp")},m(f,p){q(f,e,p),q(f,r,p),q(f,s,p),t(s,l),c||(v=le(e,"change",pe(function(){Gl(a[2](a[1],a[0]))&&a[2](a[1],a[0]).apply(this,arguments)})),c=!0)},p(f,[p]){a=f,p&1&&i(e,"id",a[0]),p&2&&i(e,"name",a[1]),p&1&&i(s,"for",a[0]),p&1&&n!==(n=Kn(a[0])+" svelte-j9l9jp")&&i(s,"class",n)},i:oe,o:oe,d(f){f&&o(e),f&&o(r),f&&o(s),c=!1,v()}}}function ec(a,e,r){const s=Ts();function l(v,f){s("onColorChange",{name:v,id:f})}let{id:n="green"}=e,{name:c="expression"}=e;return a.$$set=v=>{"id"in v&&r(0,n=v.id),"name"in v&&r(1,c=v.name)},[n,c,l]}class Ie extends rt{constructor(e){super(),lt(this,e,ec,xo,it,{id:0,name:1})}}function co(a){return Object.prototype.toString.call(a)==="[object Date]"}function Zl(a,e){if(a===e||a!==a)return()=>a;const r=typeof a;if(r!==typeof e||Array.isArray(a)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(a)){const s=e.map((l,n)=>Zl(a[n],l));return l=>s.map(n=>n(l))}if(r==="object"){if(!a||!e)throw new Error("Object cannot be null");if(co(a)&&co(e)){a=a.getTime(),e=e.getTime();const n=e-a;return c=>new Date(a+c*n)}const s=Object.keys(e),l={};return s.forEach(n=>{l[n]=Zl(a[n],e[n])}),n=>{const c={};return s.forEach(v=>{c[v]=l[v](n)}),c}}if(r==="number"){const s=e-a;return l=>a+l*s}throw new Error(`Cannot interpolate ${r} values`)}function tc(a,e={}){const r=Vo(a);let s,l=a;function n(c,v){if(a==null)return r.set(a=c),Promise.resolve();l=c;let f=s,p=!1,{delay:m=0,duration:_=400,easing:g=To,interpolate:P=Zl}=Xn(Xn({},e),v);if(_===0)return f&&(f.abort(),f=null),r.set(a=l),Promise.resolve();const C=So()+m;let A;return s=wo(w=>{if(w_?(r.set(a=c),!1):(r.set(a=A(g(D/_))),!0)}),s.promise}return{set:n,update:(c,v)=>n(c(l,a),v),subscribe:r.subscribe}}var Xl={},xl={},Dr={},ei={},ne={};Object.defineProperty(ne,"__esModule",{value:!0});ne._=void 0;ne.SPACE=" ";ne.FILL="fill";ne.NONE="none";ne.DRAW_LINE_VERTICAL="V";ne.DRAW_LINE_HORIZONTAL="H";ne.DRAW_LINE="L";ne.CLOSE_PATH="Z";ne.MOVE_CURSOR="M";ne.DRAW_CURVE_CUBIC_BEZIER="C";ne.DRAW_CURVE_SMOOTH="S";ne.DRAW_CURVE_QUADRATIC="Q";ne.DRAW_CURVE_QUADRATIC_CONTINUATION="T";ne.DRAW_ARC="A";var ti={};Object.defineProperty(ti,"__esModule",{value:!0});function sc(a){return typeof a=="string"}ti.isString=sc;var mt={};(function(a){Object.defineProperty(a,"__esModule",{value:!0});var e=Math;a.abs=e.abs,a.min=e.min,a.max=e.max,a.floor=e.floor,a.round=e.round,a.sqrt=e.sqrt,a.pow=e.pow,a.cos=e.cos,a.asin=e.asin,a.sin=e.sin,a.tan=e.tan,a.PI=e.PI,a.QUADRATIC_RATIO=2/3,a.EPSILON=a.pow(2,-52)})(mt);Object.defineProperty(ei,"__esModule",{value:!0});var Fl=ne,ac=ti,rc=mt;function lc(a,e){if(e===void 0&&(e=rc.round),ac.isString(a))return a;for(var r=[],s=0;s1&&(R=he.sqrt(R),r=R*r,s=R*s);var k=(n===c?-1:1)*he.sqrt(he.abs((r*r*s*s-r*r*S*S-s*s*E*E)/(r*r*S*S+s*s*E*E)));_=k*r*S/s+(a+v)/2,g=k*-s*E/r+(e+f)/2,p=he.asin((e-g)/s),m=he.asin((f-g)/s),a<_&&(p=he.PI-p),v<_&&(m=he.PI-m),p<0&&(p+=br),m<0&&(m+=br),c&&p>m&&(p-=br),!c&&m>p&&(m-=br)}var T;if(he.abs(m-p)>fo){var N=m,U=v,L=f;m=p+fo*(c&&m>p?1:-1),v=_+r*he.cos(m),f=g+s*he.sin(m),T=Do(v,f,r,s,l,0,c,U,L,m,N,_,g)}else T=[];var j=4/3*he.tan((m-p)/4);if(T.splice(0,0,2*a-(a+j*r*he.sin(p)),2*e-(e-j*s*he.cos(p)),v+j*r*he.sin(m),f-j*s*he.cos(m),v,f),!w)for(var V=0,M=T.length;V()=>O,_=(D,O)=>fu([D,O]);let g=tc(0,{duration:200,easing:Io,interpolate:m});Oo(a,g,D=>r(6,s=D));const P=()=>{let D=p.indexOf(s)+1;return D>=p.length&&(D=0),r(2,c=po(D)),f("onWeightChange",D),g.set(p[D],{interpolate:_})},C=()=>{let D=p.indexOf(s)-1;return D<0&&(D=p.length-1),r(2,c=po(D)),f("onWeightChange",D),g.set(p[D],{interpolate:_})};Kl(()=>{let D;return v=n.attributes.d.nodeValue,p[0]=v,g.set(v),()=>cancelAnimationFrame(D)});function A(D){Yl[D?"unshift":"push"](()=>{n=D,r(0,n)})}function w(D){Yl[D?"unshift":"push"](()=>{l=D,r(1,l)})}return a.$$.update=()=>{a.$$.dirty&65&&s!==0&&n.setAttribute("d",s)},[n,l,c,g,P,C,s,A,w]}class mu extends rt{constructor(e){super(),lt(this,e,_u,pu,it,{})}}function gu(a){let e,r,s,l,n,c,v,f,p,m,_,g,P,C,A,w,D,O,E,S,R,k,T,N,U,L,j,V,M,W,Z,J;return{c(){e=u("div"),r=u("p"),s=y(a[2]),l=b(),n=u("input"),c=b(),v=u("div"),f=u("div"),p=y("Subtle"),_=b(),g=u("div"),P=y("Mild"),A=b(),w=u("div"),D=y("Balance"),E=b(),S=u("div"),R=y("Express"),T=b(),N=u("div"),U=y("Vibrant"),j=b(),V=u("div"),M=y("Bold"),this.h()},l(Q){e=d(Q,"DIV",{class:!0});var H=h(e);r=d(H,"P",{class:!0});var ie=h(r);s=$(ie,a[2]),ie.forEach(o),l=I(H),n=d(H,"INPUT",{type:!0,min:!0,max:!0,step:!0,id:!0,class:!0}),c=I(H),v=d(H,"DIV",{class:!0});var x=h(v);f=d(x,"DIV",{class:!0});var _e=h(f);p=$(_e,"Subtle"),_e.forEach(o),_=I(x),g=d(x,"DIV",{class:!0});var He=h(g);P=$(He,"Mild"),He.forEach(o),A=I(x),w=d(x,"DIV",{class:!0});var je=h(w);D=$(je,"Balance"),je.forEach(o),E=I(x),S=d(x,"DIV",{class:!0});var de=h(S);R=$(de,"Express"),de.forEach(o),T=I(x),N=d(x,"DIV",{class:!0});var ve=h(N);U=$(ve,"Vibrant"),ve.forEach(o),j=I(x),V=d(x,"DIV",{class:!0});var ge=h(V);M=$(ge,"Bold"),ge.forEach(o),x.forEach(o),H.forEach(o),this.h()},h(){i(r,"class","selected-description svelte-nfsvk7"),i(n,"type","range"),i(n,"min","0"),i(n,"max","1"),i(n,"step","0.01"),n.value=a[0],i(n,"id","balance-range-slider"),i(n,"class","svelte-nfsvk7"),i(f,"class",m="label "+(a[1]==="Subtle"?"selected":"")+" svelte-nfsvk7"),i(g,"class",C="label "+(a[1]==="Mild"?"selected":"")+" svelte-nfsvk7"),i(w,"class",O="label "+(a[1]==="Balance"?"selected":"")+" svelte-nfsvk7"),i(S,"class",k="label "+(a[1]==="Express"?"selected":"")+" svelte-nfsvk7"),i(N,"class",L="label "+(a[1]==="Vibrant"?"selected":"")+" svelte-nfsvk7"),i(V,"class",W="label "+(a[1]==="Bold"?"selected":"")+" svelte-nfsvk7"),i(v,"class","slider-labels svelte-nfsvk7"),i(e,"class","balance-container svelte-nfsvk7")},m(Q,H){q(Q,e,H),t(e,r),t(r,s),t(e,l),t(e,n),t(e,c),t(e,v),t(v,f),t(f,p),t(v,_),t(v,g),t(g,P),t(v,A),t(v,w),t(w,D),t(v,E),t(v,S),t(S,R),t(v,T),t(v,N),t(N,U),t(v,j),t(v,V),t(V,M),Z||(J=le(n,"input",a[3]),Z=!0)},p(Q,[H]){H&4&&ye(s,Q[2]),H&1&&(n.value=Q[0]),H&2&&m!==(m="label "+(Q[1]==="Subtle"?"selected":"")+" svelte-nfsvk7")&&i(f,"class",m),H&2&&C!==(C="label "+(Q[1]==="Mild"?"selected":"")+" svelte-nfsvk7")&&i(g,"class",C),H&2&&O!==(O="label "+(Q[1]==="Balance"?"selected":"")+" svelte-nfsvk7")&&i(w,"class",O),H&2&&k!==(k="label "+(Q[1]==="Express"?"selected":"")+" svelte-nfsvk7")&&i(S,"class",k),H&2&&L!==(L="label "+(Q[1]==="Vibrant"?"selected":"")+" svelte-nfsvk7")&&i(N,"class",L),H&2&&W!==(W="label "+(Q[1]==="Bold"?"selected":"")+" svelte-nfsvk7")&&i(V,"class",W)},i:oe,o:oe,d(Q){Q&&o(e),Z=!1,J()}}}function Eu(a){switch(a){case"Subtle":return"Subtle - Slight creative touches, staying close to the original.";case"Mild":return"Mild - A gentle infusion of artistic flair without major changes.";case"Balance":return"Balance - A harmonious blend of creativity and reality.";case"Express":return"Express - Expressive artistic elements while retaining the essence.";case"Vibrant":return"Vibrant - Bold and creative, with a vibrant artistic touch.";case"Bold":return"Bold - Maximum creativity, making a bold artistic statement.";default:return""}}function bu(a,e,r){const s=Ts();let l=.4,n=null,c="Balance - A harmonious blend of creativity and reality.";const v=p=>{r(0,l=Math.round(p.target.value*100)/100),f(),s("onSliderChange",l)};function f(){const p=Math.round(l*5);document.querySelectorAll(".label").forEach((_,g)=>{g===p?(_.classList.add("selected"),r(1,n=_.innerText),r(2,c=Eu(n))):_.classList.remove("selected")})}return Kl(()=>{const p=document.getElementById("balance-range-slider");p.value=l,f()}),[l,n,c,v]}class Iu extends rt{constructor(e){super(),lt(this,e,bu,gu,it,{})}}function yu(a){let e,r,s,l,n,c,v,f,p,m,_,g,P,C,A,w,D,O,E,S,R,k,T,N,U,L,j,V,M,W,Z,J,Q,H,ie,x,_e,He,je,de,ve,ge,gt,Et,me,$e,X,Y,Ue,Ee,Re,De,be,We,ce,Le,nt,Fe,_s,Se,ot,we,ms,ct,ut,Te,gs,dt,Ce,Oe,Es,ze,vt,Qe,Os,Ge,ke,Xe,Ye,bt,It,qe,Tt,fe,yt,ks,ft,xe,et,$t,Ot,Ns,tt,Be,Rs,Ze,Vs,kt,Ae,st,At,Nt,Us,at,Me,Ls,bs,Tr,Or,Rt,qs,Bs,kr,Nr,Vt,Ut,Rr,Is,Vr,Ur,Lt,Ms,Hs,Lr,qr,qt,Bt,Br,ys,Mr,Hr,Mt,js,Ws,jr,Wr,Ht,jt,Fr,$s,zr,Qr,Dt,Fs,Gr,Yr,re,zs,Qs,Wt,Zr,Gs,Ys,Ft,Jr,Zs,Js,zt,Kr,Ks,Xs,Qt,Xr,xs,ea,Gt,xr,ta,sa,Yt,el,aa,ra,Zt,tl,la,ia,Jt,sl,na,oa,Kt,al,ca,ua,Xt,rl,da,va,xt,ll,Ne,fa,il,nl,es,ha,pa,ol,cl,ts,ss,ul,As,dl,vl,as,_a,ma,fl,hl,rs,ls,pl,Ds,_l,ml,is,ga,Ea,gl,El,ns,os,bl,Cs,Il,yl,cs,ba,Ia,$l,Al,us,ds,Dl,Ps,Cl,Pl,Ct,ya,Sl,wl,$a,Aa,vs,Tl,Pt,Da,Ol,kl,fs,Nl,Je,Ca,Rl,Vl,Pa,Ul,Ll,Sa,ql,Bl,wa,St,Ta,Ml,La,Hl,Ba,Ma,Ha,jl,hi;return Fe=new Ie({props:{id:"eye-brown",name:"eye_color"}}),Fe.$on("onColorChange",a[1]),we=new Ie({props:{id:"eye-blue",name:"eye_color"}}),we.$on("onColorChange",a[1]),Te=new Ie({props:{id:"eye-black",name:"eye_color"}}),Te.$on("onColorChange",a[1]),Oe=new Ie({props:{id:"eye-green",name:"eye_color"}}),Oe.$on("onColorChange",a[1]),Qe=new Ie({props:{id:"eye-red",name:"eye_color"}}),Qe.$on("onColorChange",a[1]),Xe=new Ie({props:{id:"eye-yellow",name:"eye_color"}}),Xe.$on("onColorChange",a[1]),qe=new Ie({props:{id:"eye-purple",name:"eye_color"}}),qe.$on("onColorChange",a[1]),Wt=new Ie({props:{id:"blue",name:"skin_color"}}),Wt.$on("onColorChange",a[1]),Ft=new Ie({props:{id:"green",name:"skin_color"}}),Ft.$on("onColorChange",a[1]),zt=new Ie({props:{id:"darkest",name:"skin_color"}}),zt.$on("onColorChange",a[1]),Qt=new Ie({props:{id:"darker",name:"skin_color"}}),Qt.$on("onColorChange",a[1]),Gt=new Ie({props:{id:"dark",name:"skin_color"}}),Gt.$on("onColorChange",a[1]),Yt=new Ie({props:{id:"tan",name:"skin_color"}}),Yt.$on("onColorChange",a[1]),Zt=new Ie({props:{id:"light",name:"skin_color"}}),Zt.$on("onColorChange",a[1]),Jt=new Ie({props:{id:"lighter",name:"skin_color"}}),Jt.$on("onColorChange",a[1]),Kt=new Ie({props:{id:"lightest",name:"skin_color"}}),Kt.$on("onColorChange",a[1]),Xt=new Ie({props:{id:"purple",name:"skin_color"}}),Xt.$on("onColorChange",a[1]),xt=new Ie({props:{id:"red",name:"skin_color"}}),xt.$on("onColorChange",a[1]),vs=new mu({}),vs.$on("onWeightChange",a[2]),fs=new Iu({}),fs.$on("onSliderChange",a[4]),{c(){e=u("div"),r=u("form"),s=u("fieldset"),l=u("h2"),n=y("Presentation"),c=b(),v=u("div"),f=u("div"),p=u("h4"),m=y("\u{1F460} She / Her"),_=b(),g=u("aside"),P=u("input"),C=b(),A=u("label"),w=y("she"),D=b(),O=u("div"),E=u("div"),S=u("h4"),R=y("\u{1F45E} He / Him"),k=b(),T=u("aside"),N=u("input"),U=b(),L=u("label"),j=y("him"),V=b(),M=u("div"),W=u("div"),Z=u("h4"),J=y("\u{1F9DE} They / Them"),Q=b(),H=u("aside"),ie=u("input"),x=b(),_e=u("label"),He=y("they"),je=b(),de=u("div"),ve=u("div"),ge=u("h4"),gt=y("\u{1F63B} I'm a cat"),Et=b(),me=u("aside"),$e=u("input"),X=b(),Y=u("label"),Ue=y("cat"),Ee=b(),Re=u("fieldset"),De=u("h2"),be=y("Eye Color"),We=b(),ce=u("div"),Le=u("div"),nt=u("aside"),ee(Fe.$$.fragment),_s=b(),Se=u("div"),ot=u("aside"),ee(we.$$.fragment),ms=b(),ct=u("div"),ut=u("aside"),ee(Te.$$.fragment),gs=b(),dt=u("div"),Ce=u("aside"),ee(Oe.$$.fragment),Es=b(),ze=u("div"),vt=u("aside"),ee(Qe.$$.fragment),Os=b(),Ge=u("div"),ke=u("aside"),ee(Xe.$$.fragment),Ye=b(),bt=u("div"),It=u("aside"),ee(qe.$$.fragment),Tt=b(),fe=u("fieldset"),yt=u("h2"),ks=y("Favorite place"),ft=b(),xe=u("div"),et=u("div"),$t=u("h4"),Ot=y("\u{1F3DD}\uFE0F Beach"),Ns=b(),tt=u("aside"),Be=u("input"),Rs=b(),Ze=u("label"),Vs=y("beach"),kt=b(),Ae=u("div"),st=u("div"),At=u("h4"),Nt=y("\u{1FA90} Unexplored Planet"),Us=b(),at=u("aside"),Me=u("input"),Ls=b(),bs=u("label"),Tr=y("planet"),Or=b(),Rt=u("div"),qs=u("div"),Bs=u("h4"),kr=y("\u{1F41A} Under the Sea"),Nr=b(),Vt=u("aside"),Ut=u("input"),Rr=b(),Is=u("label"),Vr=y("sea"),Ur=b(),Lt=u("div"),Ms=u("div"),Hs=u("h4"),Lr=y("\u{1F306} City"),qr=b(),qt=u("aside"),Bt=u("input"),Br=b(),ys=u("label"),Mr=y("city"),Hr=b(),Mt=u("div"),js=u("div"),Ws=u("h4"),jr=y("\u{1F3DE}\uFE0F Rainforest"),Wr=b(),Ht=u("aside"),jt=u("input"),Fr=b(),$s=u("label"),zr=y("forest"),Qr=b(),Dt=u("fieldset"),Fs=u("h2"),Gr=y("Skin Tone"),Yr=b(),re=u("div"),zs=u("div"),Qs=u("aside"),ee(Wt.$$.fragment),Zr=b(),Gs=u("div"),Ys=u("aside"),ee(Ft.$$.fragment),Jr=b(),Zs=u("div"),Js=u("aside"),ee(zt.$$.fragment),Kr=b(),Ks=u("div"),Xs=u("aside"),ee(Qt.$$.fragment),Xr=b(),xs=u("div"),ea=u("aside"),ee(Gt.$$.fragment),xr=b(),ta=u("div"),sa=u("aside"),ee(Yt.$$.fragment),el=b(),aa=u("div"),ra=u("aside"),ee(Zt.$$.fragment),tl=b(),la=u("div"),ia=u("aside"),ee(Jt.$$.fragment),sl=b(),na=u("div"),oa=u("aside"),ee(Kt.$$.fragment),al=b(),ca=u("div"),ua=u("aside"),ee(Xt.$$.fragment),rl=b(),da=u("div"),va=u("aside"),ee(xt.$$.fragment),ll=b(),Ne=u("fieldset"),fa=u("h2"),il=y("Expression"),nl=b(),es=u("div"),ha=u("div"),pa=u("h4"),ol=y("\u{1F929} Excited"),cl=b(),ts=u("aside"),ss=u("input"),ul=b(),As=u("label"),dl=y("discovery"),vl=b(),as=u("div"),_a=u("div"),ma=u("h4"),fl=y("\u{1F601} Happy"),hl=b(),rs=u("aside"),ls=u("input"),pl=b(),Ds=u("label"),_l=y("happy"),ml=b(),is=u("div"),ga=u("div"),Ea=u("h4"),gl=y("\u{1F621} Serious"),El=b(),ns=u("aside"),os=u("input"),bl=b(),Cs=u("label"),Il=y("serious"),yl=b(),cs=u("div"),ba=u("div"),Ia=u("h4"),$l=y("\u{1F62D} Rough Times"),Al=b(),us=u("aside"),ds=u("input"),Dl=b(),Ps=u("label"),Cl=y("sad"),Pl=b(),Ct=u("fieldset"),ya=u("h2"),Sl=y("Weight Class"),wl=b(),$a=u("div"),Aa=u("aside"),ee(vs.$$.fragment),Tl=b(),Pt=u("fieldset"),Da=u("h2"),Ol=y("Creativity"),kl=b(),ee(fs.$$.fragment),Nl=b(),Je=u("div"),Ca=u("h2"),Rl=y("Are you ready?"),Vl=b(),Pa=u("p"),Ul=y("Once you've customized your avatar, it's time to create it!"),Ll=b(),Sa=u("p"),ql=y("1 coin will be consumed."),Bl=b(),wa=u("div"),St=u("button"),Ta=u("ion-icon"),Ml=b(),La=u("span"),Hl=y("Super Charge!"),Ba=b(),Ma=u("hr"),this.h()},l(B){e=d(B,"DIV",{class:!0});var Oa=h(e);r=d(Oa,"FORM",{class:!0});var Pe=h(r);s=d(Pe,"FIELDSET",{id:!0,class:!0});var ht=h(s);l=d(ht,"H2",{class:!0});var pi=h(l);n=$(pi,"Presentation"),pi.forEach(o),c=I(ht),v=d(ht,"DIV",{class:!0});var ja=h(v);f=d(ja,"DIV",{class:!0});var _i=h(f);p=d(_i,"H4",{class:!0});var mi=h(p);m=$(mi,"\u{1F460} She / Her"),mi.forEach(o),_i.forEach(o),_=I(ja),g=d(ja,"ASIDE",{class:!0});var Wa=h(g);P=d(Wa,"INPUT",{type:!0,id:!0,name:!0,class:!0}),C=I(Wa),A=d(Wa,"LABEL",{for:!0,class:!0});var gi=h(A);w=$(gi,"she"),gi.forEach(o),Wa.forEach(o),ja.forEach(o),D=I(ht),O=d(ht,"DIV",{class:!0});var Fa=h(O);E=d(Fa,"DIV",{class:!0});var Ei=h(E);S=d(Ei,"H4",{class:!0});var bi=h(S);R=$(bi,"\u{1F45E} He / Him"),bi.forEach(o),Ei.forEach(o),k=I(Fa),T=d(Fa,"ASIDE",{class:!0});var za=h(T);N=d(za,"INPUT",{type:!0,id:!0,name:!0,class:!0}),U=I(za),L=d(za,"LABEL",{for:!0,class:!0});var Ii=h(L);j=$(Ii,"him"),Ii.forEach(o),za.forEach(o),Fa.forEach(o),V=I(ht),M=d(ht,"DIV",{class:!0});var Qa=h(M);W=d(Qa,"DIV",{class:!0});var yi=h(W);Z=d(yi,"H4",{class:!0});var $i=h(Z);J=$($i,"\u{1F9DE} They / Them"),$i.forEach(o),yi.forEach(o),Q=I(Qa),H=d(Qa,"ASIDE",{class:!0});var Ga=h(H);ie=d(Ga,"INPUT",{type:!0,id:!0,name:!0,class:!0}),x=I(Ga),_e=d(Ga,"LABEL",{for:!0,class:!0});var Ai=h(_e);He=$(Ai,"they"),Ai.forEach(o),Ga.forEach(o),Qa.forEach(o),je=I(ht),de=d(ht,"DIV",{class:!0});var Ya=h(de);ve=d(Ya,"DIV",{class:!0});var Di=h(ve);ge=d(Di,"H4",{class:!0});var Ci=h(ge);gt=$(Ci,"\u{1F63B} I'm a cat"),Ci.forEach(o),Di.forEach(o),Et=I(Ya),me=d(Ya,"ASIDE",{class:!0});var Za=h(me);$e=d(Za,"INPUT",{type:!0,id:!0,name:!0,class:!0}),X=I(Za),Y=d(Za,"LABEL",{for:!0,class:!0});var Pi=h(Y);Ue=$(Pi,"cat"),Pi.forEach(o),Za.forEach(o),Ya.forEach(o),ht.forEach(o),Ee=I(Pe),Re=d(Pe,"FIELDSET",{id:!0,class:!0});var Ja=h(Re);De=d(Ja,"H2",{class:!0});var Si=h(De);be=$(Si,"Eye Color"),Si.forEach(o),We=I(Ja),ce=d(Ja,"DIV",{class:!0});var Ve=h(ce);Le=d(Ve,"DIV",{class:!0});var wi=h(Le);nt=d(wi,"ASIDE",{class:!0});var Ti=h(nt);te(Fe.$$.fragment,Ti),Ti.forEach(o),wi.forEach(o),_s=I(Ve),Se=d(Ve,"DIV",{class:!0});var Oi=h(Se);ot=d(Oi,"ASIDE",{class:!0});var ki=h(ot);te(we.$$.fragment,ki),ki.forEach(o),Oi.forEach(o),ms=I(Ve),ct=d(Ve,"DIV",{class:!0});var Ni=h(ct);ut=d(Ni,"ASIDE",{class:!0});var Ri=h(ut);te(Te.$$.fragment,Ri),Ri.forEach(o),Ni.forEach(o),gs=I(Ve),dt=d(Ve,"DIV",{class:!0});var Vi=h(dt);Ce=d(Vi,"ASIDE",{class:!0});var Ui=h(Ce);te(Oe.$$.fragment,Ui),Ui.forEach(o),Vi.forEach(o),Es=I(Ve),ze=d(Ve,"DIV",{class:!0});var Li=h(ze);vt=d(Li,"ASIDE",{class:!0});var qi=h(vt);te(Qe.$$.fragment,qi),qi.forEach(o),Li.forEach(o),Os=I(Ve),Ge=d(Ve,"DIV",{class:!0});var Bi=h(Ge);ke=d(Bi,"ASIDE",{class:!0});var Mi=h(ke);te(Xe.$$.fragment,Mi),Mi.forEach(o),Bi.forEach(o),Ye=I(Ve),bt=d(Ve,"DIV",{class:!0});var Hi=h(bt);It=d(Hi,"ASIDE",{class:!0});var ji=h(It);te(qe.$$.fragment,ji),ji.forEach(o),Hi.forEach(o),Ve.forEach(o),Ja.forEach(o),Tt=I(Pe),fe=d(Pe,"FIELDSET",{id:!0,class:!0});var Ke=h(fe);yt=d(Ke,"H2",{class:!0});var Wi=h(yt);ks=$(Wi,"Favorite place"),Wi.forEach(o),ft=I(Ke),xe=d(Ke,"DIV",{class:!0});var Ka=h(xe);et=d(Ka,"DIV",{class:!0});var Fi=h(et);$t=d(Fi,"H4",{class:!0});var zi=h($t);Ot=$(zi,"\u{1F3DD}\uFE0F Beach"),zi.forEach(o),Fi.forEach(o),Ns=I(Ka),tt=d(Ka,"ASIDE",{class:!0});var Xa=h(tt);Be=d(Xa,"INPUT",{type:!0,id:!0,name:!0,class:!0}),Rs=I(Xa),Ze=d(Xa,"LABEL",{for:!0,class:!0});var Qi=h(Ze);Vs=$(Qi,"beach"),Qi.forEach(o),Xa.forEach(o),Ka.forEach(o),kt=I(Ke),Ae=d(Ke,"DIV",{class:!0});var xa=h(Ae);st=d(xa,"DIV",{class:!0});var Gi=h(st);At=d(Gi,"H4",{class:!0});var Yi=h(At);Nt=$(Yi,"\u{1FA90} Unexplored Planet"),Yi.forEach(o),Gi.forEach(o),Us=I(xa),at=d(xa,"ASIDE",{class:!0});var er=h(at);Me=d(er,"INPUT",{type:!0,id:!0,name:!0,class:!0}),Ls=I(er),bs=d(er,"LABEL",{for:!0,class:!0});var Zi=h(bs);Tr=$(Zi,"planet"),Zi.forEach(o),er.forEach(o),xa.forEach(o),Or=I(Ke),Rt=d(Ke,"DIV",{class:!0});var tr=h(Rt);qs=d(tr,"DIV",{class:!0});var Ji=h(qs);Bs=d(Ji,"H4",{class:!0});var Ki=h(Bs);kr=$(Ki,"\u{1F41A} Under the Sea"),Ki.forEach(o),Ji.forEach(o),Nr=I(tr),Vt=d(tr,"ASIDE",{class:!0});var sr=h(Vt);Ut=d(sr,"INPUT",{type:!0,id:!0,name:!0,class:!0}),Rr=I(sr),Is=d(sr,"LABEL",{for:!0,class:!0});var Xi=h(Is);Vr=$(Xi,"sea"),Xi.forEach(o),sr.forEach(o),tr.forEach(o),Ur=I(Ke),Lt=d(Ke,"DIV",{class:!0});var ar=h(Lt);Ms=d(ar,"DIV",{class:!0});var xi=h(Ms);Hs=d(xi,"H4",{class:!0});var en=h(Hs);Lr=$(en,"\u{1F306} City"),en.forEach(o),xi.forEach(o),qr=I(ar),qt=d(ar,"ASIDE",{class:!0});var rr=h(qt);Bt=d(rr,"INPUT",{type:!0,id:!0,name:!0,class:!0}),Br=I(rr),ys=d(rr,"LABEL",{for:!0,class:!0});var tn=h(ys);Mr=$(tn,"city"),tn.forEach(o),rr.forEach(o),ar.forEach(o),Hr=I(Ke),Mt=d(Ke,"DIV",{class:!0});var lr=h(Mt);js=d(lr,"DIV",{class:!0});var sn=h(js);Ws=d(sn,"H4",{class:!0});var an=h(Ws);jr=$(an,"\u{1F3DE}\uFE0F Rainforest"),an.forEach(o),sn.forEach(o),Wr=I(lr),Ht=d(lr,"ASIDE",{class:!0});var ir=h(Ht);jt=d(ir,"INPUT",{type:!0,id:!0,name:!0,class:!0}),Fr=I(ir),$s=d(ir,"LABEL",{for:!0,class:!0});var rn=h($s);zr=$(rn,"forest"),rn.forEach(o),ir.forEach(o),lr.forEach(o),Ke.forEach(o),Qr=I(Pe),Dt=d(Pe,"FIELDSET",{id:!0,class:!0});var nr=h(Dt);Fs=d(nr,"H2",{class:!0});var ln=h(Fs);Gr=$(ln,"Skin Tone"),ln.forEach(o),Yr=I(nr),re=d(nr,"DIV",{class:!0});var ue=h(re);zs=d(ue,"DIV",{class:!0});var nn=h(zs);Qs=d(nn,"ASIDE",{class:!0});var on=h(Qs);te(Wt.$$.fragment,on),on.forEach(o),nn.forEach(o),Zr=I(ue),Gs=d(ue,"DIV",{class:!0});var cn=h(Gs);Ys=d(cn,"ASIDE",{class:!0});var un=h(Ys);te(Ft.$$.fragment,un),un.forEach(o),cn.forEach(o),Jr=I(ue),Zs=d(ue,"DIV",{class:!0});var dn=h(Zs);Js=d(dn,"ASIDE",{class:!0});var vn=h(Js);te(zt.$$.fragment,vn),vn.forEach(o),dn.forEach(o),Kr=I(ue),Ks=d(ue,"DIV",{class:!0});var fn=h(Ks);Xs=d(fn,"ASIDE",{class:!0});var hn=h(Xs);te(Qt.$$.fragment,hn),hn.forEach(o),fn.forEach(o),Xr=I(ue),xs=d(ue,"DIV",{class:!0});var pn=h(xs);ea=d(pn,"ASIDE",{class:!0});var _n=h(ea);te(Gt.$$.fragment,_n),_n.forEach(o),pn.forEach(o),xr=I(ue),ta=d(ue,"DIV",{class:!0});var mn=h(ta);sa=d(mn,"ASIDE",{class:!0});var gn=h(sa);te(Yt.$$.fragment,gn),gn.forEach(o),mn.forEach(o),el=I(ue),aa=d(ue,"DIV",{class:!0});var En=h(aa);ra=d(En,"ASIDE",{class:!0});var bn=h(ra);te(Zt.$$.fragment,bn),bn.forEach(o),En.forEach(o),tl=I(ue),la=d(ue,"DIV",{class:!0});var In=h(la);ia=d(In,"ASIDE",{class:!0});var yn=h(ia);te(Jt.$$.fragment,yn),yn.forEach(o),In.forEach(o),sl=I(ue),na=d(ue,"DIV",{class:!0});var $n=h(na);oa=d($n,"ASIDE",{class:!0});var An=h(oa);te(Kt.$$.fragment,An),An.forEach(o),$n.forEach(o),al=I(ue),ca=d(ue,"DIV",{class:!0});var Dn=h(ca);ua=d(Dn,"ASIDE",{class:!0});var Cn=h(ua);te(Xt.$$.fragment,Cn),Cn.forEach(o),Dn.forEach(o),rl=I(ue),da=d(ue,"DIV",{class:!0});var Pn=h(da);va=d(Pn,"ASIDE",{class:!0});var Sn=h(va);te(xt.$$.fragment,Sn),Sn.forEach(o),Pn.forEach(o),ue.forEach(o),nr.forEach(o),ll=I(Pe),Ne=d(Pe,"FIELDSET",{id:!0,class:!0});var pt=h(Ne);fa=d(pt,"H2",{class:!0});var wn=h(fa);il=$(wn,"Expression"),wn.forEach(o),nl=I(pt),es=d(pt,"DIV",{class:!0});var or=h(es);ha=d(or,"DIV",{class:!0});var Tn=h(ha);pa=d(Tn,"H4",{class:!0});var On=h(pa);ol=$(On,"\u{1F929} Excited"),On.forEach(o),Tn.forEach(o),cl=I(or),ts=d(or,"ASIDE",{class:!0});var cr=h(ts);ss=d(cr,"INPUT",{type:!0,id:!0,name:!0,class:!0}),ul=I(cr),As=d(cr,"LABEL",{for:!0,class:!0});var kn=h(As);dl=$(kn,"discovery"),kn.forEach(o),cr.forEach(o),or.forEach(o),vl=I(pt),as=d(pt,"DIV",{class:!0});var ur=h(as);_a=d(ur,"DIV",{class:!0});var Nn=h(_a);ma=d(Nn,"H4",{class:!0});var Rn=h(ma);fl=$(Rn,"\u{1F601} Happy"),Rn.forEach(o),Nn.forEach(o),hl=I(ur),rs=d(ur,"ASIDE",{class:!0});var dr=h(rs);ls=d(dr,"INPUT",{type:!0,id:!0,name:!0,class:!0}),pl=I(dr),Ds=d(dr,"LABEL",{for:!0,class:!0});var Vn=h(Ds);_l=$(Vn,"happy"),Vn.forEach(o),dr.forEach(o),ur.forEach(o),ml=I(pt),is=d(pt,"DIV",{class:!0});var vr=h(is);ga=d(vr,"DIV",{class:!0});var Un=h(ga);Ea=d(Un,"H4",{class:!0});var Ln=h(Ea);gl=$(Ln,"\u{1F621} Serious"),Ln.forEach(o),Un.forEach(o),El=I(vr),ns=d(vr,"ASIDE",{class:!0});var fr=h(ns);os=d(fr,"INPUT",{type:!0,id:!0,name:!0,class:!0}),bl=I(fr),Cs=d(fr,"LABEL",{for:!0,class:!0});var qn=h(Cs);Il=$(qn,"serious"),qn.forEach(o),fr.forEach(o),vr.forEach(o),yl=I(pt),cs=d(pt,"DIV",{class:!0});var hr=h(cs);ba=d(hr,"DIV",{class:!0});var Bn=h(ba);Ia=d(Bn,"H4",{class:!0});var Mn=h(Ia);$l=$(Mn,"\u{1F62D} Rough Times"),Mn.forEach(o),Bn.forEach(o),Al=I(hr),us=d(hr,"ASIDE",{class:!0});var pr=h(us);ds=d(pr,"INPUT",{type:!0,id:!0,name:!0,class:!0}),Dl=I(pr),Ps=d(pr,"LABEL",{for:!0,class:!0});var Hn=h(Ps);Cl=$(Hn,"sad"),Hn.forEach(o),pr.forEach(o),hr.forEach(o),pt.forEach(o),Pl=I(Pe),Ct=d(Pe,"FIELDSET",{id:!0,class:!0});var _r=h(Ct);ya=d(_r,"H2",{class:!0});var jn=h(ya);Sl=$(jn,"Weight Class"),jn.forEach(o),wl=I(_r),$a=d(_r,"DIV",{class:!0});var Wn=h($a);Aa=d(Wn,"ASIDE",{class:!0});var Fn=h(Aa);te(vs.$$.fragment,Fn),Fn.forEach(o),Wn.forEach(o),_r.forEach(o),Tl=I(Pe),Pt=d(Pe,"FIELDSET",{id:!0,class:!0});var mr=h(Pt);Da=d(mr,"H2",{class:!0});var zn=h(Da);Ol=$(zn,"Creativity"),zn.forEach(o),kl=I(mr),te(fs.$$.fragment,mr),mr.forEach(o),Nl=I(Pe),Je=d(Pe,"DIV",{class:!0});var hs=h(Je);Ca=d(hs,"H2",{class:!0});var Qn=h(Ca);Rl=$(Qn,"Are you ready?"),Qn.forEach(o),Vl=I(hs),Pa=d(hs,"P",{class:!0});var Gn=h(Pa);Ul=$(Gn,"Once you've customized your avatar, it's time to create it!"),Gn.forEach(o),Ll=I(hs),Sa=d(hs,"P",{class:!0});var Yn=h(Sa);ql=$(Yn,"1 coin will be consumed."),Yn.forEach(o),Bl=I(hs),wa=d(hs,"DIV",{class:!0});var Zn=h(wa);St=d(Zn,"BUTTON",{class:!0});var gr=h(St);Ta=d(gr,"ION-ICON",{class:!0,name:!0}),h(Ta).forEach(o),Ml=I(gr),La=d(gr,"SPAN",{});var Jn=h(La);Hl=$(Jn,"Super Charge!"),Jn.forEach(o),gr.forEach(o),Zn.forEach(o),hs.forEach(o),Pe.forEach(o),Oa.forEach(o),Ba=I(B),Ma=d(B,"HR",{}),this.h()},h(){i(l,"class","svelte-d976ti"),i(p,"class","highlight large svelte-d976ti"),i(f,"class","main svelte-d976ti"),i(P,"type","radio"),i(P,"id","she"),i(P,"name","pronoun"),i(P,"class","svelte-d976ti"),i(A,"for","she"),i(A,"class","svelte-d976ti"),i(g,"class","aside aside-1 svelte-d976ti"),i(v,"class","option-container svelte-d976ti"),i(S,"class","highlight large svelte-d976ti"),i(E,"class","main svelte-d976ti"),i(N,"type","radio"),i(N,"id","him"),i(N,"name","pronoun"),i(N,"class","svelte-d976ti"),i(L,"for","him"),i(L,"class","svelte-d976ti"),i(T,"class","aside aside-1 svelte-d976ti"),i(O,"class","option-container svelte-d976ti"),i(Z,"class","highlight large svelte-d976ti"),i(W,"class","main svelte-d976ti"),i(ie,"type","radio"),i(ie,"id","they"),i(ie,"name","pronoun"),i(ie,"class","svelte-d976ti"),i(_e,"for","they"),i(_e,"class","svelte-d976ti"),i(H,"class","aside aside-1 svelte-d976ti"),i(M,"class","option-container svelte-d976ti"),i(ge,"class","highlight large svelte-d976ti"),i(ve,"class","main svelte-d976ti"),i($e,"type","radio"),i($e,"id","cat"),i($e,"name","pronoun"),i($e,"class","svelte-d976ti"),i(Y,"for","cat"),i(Y,"class","svelte-d976ti"),i(me,"class","aside aside-1 svelte-d976ti"),i(de,"class","option-container svelte-d976ti"),i(s,"id","group2"),i(s,"class","svelte-d976ti"),i(De,"class","svelte-d976ti"),i(nt,"class","aside aside-1 svelte-d976ti"),i(Le,"class","option-container svelte-d976ti"),i(ot,"class","aside aside-1 svelte-d976ti"),i(Se,"class","option-container svelte-d976ti"),i(ut,"class","aside aside-1 svelte-d976ti"),i(ct,"class","option-container svelte-d976ti"),i(Ce,"class","aside aside-1 svelte-d976ti"),i(dt,"class","option-container svelte-d976ti"),i(vt,"class","aside aside-1 svelte-d976ti"),i(ze,"class","option-container svelte-d976ti"),i(ke,"class","aside aside-1 svelte-d976ti"),i(Ge,"class","option-container svelte-d976ti"),i(It,"class","aside aside-1 svelte-d976ti"),i(bt,"class","option-container svelte-d976ti"),i(ce,"class","inline-container svelte-d976ti"),i(Re,"id","group5"),i(Re,"class","svelte-d976ti"),i(yt,"class","svelte-d976ti"),i($t,"class","highlight large svelte-d976ti"),i(et,"class","main svelte-d976ti"),i(Be,"type","radio"),i(Be,"id","beach"),i(Be,"name","location"),i(Be,"class","svelte-d976ti"),i(Ze,"for","beach"),i(Ze,"class","svelte-d976ti"),i(tt,"class","aside aside-1 svelte-d976ti"),i(xe,"class","option-container svelte-d976ti"),i(At,"class","highlight large svelte-d976ti"),i(st,"class","main svelte-d976ti"),i(Me,"type","radio"),i(Me,"id","planet"),i(Me,"name","location"),i(Me,"class","svelte-d976ti"),i(bs,"for","planet"),i(bs,"class","svelte-d976ti"),i(at,"class","aside aside-1 svelte-d976ti"),i(Ae,"class","option-container svelte-d976ti"),i(Bs,"class","highlight large svelte-d976ti"),i(qs,"class","main svelte-d976ti"),i(Ut,"type","radio"),i(Ut,"id","sea"),i(Ut,"name","location"),i(Ut,"class","svelte-d976ti"),i(Is,"for","sea"),i(Is,"class","svelte-d976ti"),i(Vt,"class","aside aside-1 svelte-d976ti"),i(Rt,"class","option-container svelte-d976ti"),i(Hs,"class","highlight large svelte-d976ti"),i(Ms,"class","main svelte-d976ti"),i(Bt,"type","radio"),i(Bt,"id","city"),i(Bt,"name","location"),i(Bt,"class","svelte-d976ti"),i(ys,"for","city"),i(ys,"class","svelte-d976ti"),i(qt,"class","aside aside-1 svelte-d976ti"),i(Lt,"class","option-container svelte-d976ti"),i(Ws,"class","highlight large svelte-d976ti"),i(js,"class","main svelte-d976ti"),i(jt,"type","radio"),i(jt,"id","forest"),i(jt,"name","location"),i(jt,"class","svelte-d976ti"),i($s,"for","forest"),i($s,"class","svelte-d976ti"),i(Ht,"class","aside aside-1 svelte-d976ti"),i(Mt,"class","option-container svelte-d976ti"),i(fe,"id","group1"),i(fe,"class","svelte-d976ti"),i(Fs,"class","svelte-d976ti"),i(Qs,"class","aside aside-1 svelte-d976ti"),i(zs,"class","option-container svelte-d976ti"),i(Ys,"class","aside aside-1 svelte-d976ti"),i(Gs,"class","option-container svelte-d976ti"),i(Js,"class","aside aside-1 svelte-d976ti"),i(Zs,"class","option-container svelte-d976ti"),i(Xs,"class","aside aside-1 svelte-d976ti"),i(Ks,"class","option-container svelte-d976ti"),i(ea,"class","aside aside-1 svelte-d976ti"),i(xs,"class","option-container svelte-d976ti"),i(sa,"class","aside aside-1 svelte-d976ti"),i(ta,"class","option-container svelte-d976ti"),i(ra,"class","aside aside-1 svelte-d976ti"),i(aa,"class","option-container svelte-d976ti"),i(ia,"class","aside aside-1 svelte-d976ti"),i(la,"class","option-container svelte-d976ti"),i(oa,"class","aside aside-1 svelte-d976ti"),i(na,"class","option-container svelte-d976ti"),i(ua,"class","aside aside-1 svelte-d976ti"),i(ca,"class","option-container svelte-d976ti"),i(va,"class","aside aside-1 svelte-d976ti"),i(da,"class","option-container svelte-d976ti"),i(re,"class","inline-container svelte-d976ti"),i(Dt,"id","group3"),i(Dt,"class","svelte-d976ti"),i(fa,"class","svelte-d976ti"),i(pa,"class","highlight large svelte-d976ti"),i(ha,"class","main svelte-d976ti"),i(ss,"type","radio"),i(ss,"id","discovery"),i(ss,"name","expression"),i(ss,"class","svelte-d976ti"),i(As,"for","discovery"),i(As,"class","svelte-d976ti"),i(ts,"class","aside aside-1 svelte-d976ti"),i(es,"class","option-container svelte-d976ti"),i(ma,"class","highlight large svelte-d976ti"),i(_a,"class","main svelte-d976ti"),i(ls,"type","radio"),i(ls,"id","happy"),i(ls,"name","expression"),i(ls,"class","svelte-d976ti"),i(Ds,"for","happy"),i(Ds,"class","svelte-d976ti"),i(rs,"class","aside aside-1 svelte-d976ti"),i(as,"class","option-container svelte-d976ti"),i(Ea,"class","highlight large svelte-d976ti"),i(ga,"class","main svelte-d976ti"),i(os,"type","radio"),i(os,"id","serious"),i(os,"name","expression"),i(os,"class","svelte-d976ti"),i(Cs,"for","serious"),i(Cs,"class","svelte-d976ti"),i(ns,"class","aside aside-1 svelte-d976ti"),i(is,"class","option-container svelte-d976ti"),i(Ia,"class","highlight large svelte-d976ti"),i(ba,"class","main svelte-d976ti"),i(ds,"type","radio"),i(ds,"id","sad"),i(ds,"name","expression"),i(ds,"class","svelte-d976ti"),i(Ps,"for","sad"),i(Ps,"class","svelte-d976ti"),i(us,"class","aside aside-1 svelte-d976ti"),i(cs,"class","option-container svelte-d976ti"),i(Ne,"id","group4"),i(Ne,"class","svelte-d976ti"),i(ya,"class","svelte-d976ti"),i(Aa,"class","aside aside-1 svelte-d976ti"),i($a,"class","option-container svelte-d976ti"),i(Ct,"id","group6"),i(Ct,"class","pose-container svelte-d976ti"),i(Da,"class","svelte-d976ti"),i(Pt,"id","group7"),i(Pt,"class","creative-container svelte-d976ti"),i(Ca,"class","svelte-d976ti"),i(Pa,"class","svelte-d976ti"),i(Sa,"class","highlight accent svelte-d976ti"),K(Ta,"class","icon svelte-d976ti"),K(Ta,"name","color-palette-sharp"),i(St,"class","submit-button svelte-d976ti"),i(wa,"class","vibrate svelte-d976ti"),i(Je,"class","submission-container svelte-d976ti"),i(r,"class","thoughts-form svelte-d976ti"),i(e,"class","thought-container")},m(B,Oa){q(B,e,Oa),t(e,r),t(r,s),t(s,l),t(l,n),t(s,c),t(s,v),t(v,f),t(f,p),t(p,m),t(v,_),t(v,g),t(g,P),t(g,C),t(g,A),t(A,w),t(s,D),t(s,O),t(O,E),t(E,S),t(S,R),t(O,k),t(O,T),t(T,N),t(T,U),t(T,L),t(L,j),t(s,V),t(s,M),t(M,W),t(W,Z),t(Z,J),t(M,Q),t(M,H),t(H,ie),t(H,x),t(H,_e),t(_e,He),t(s,je),t(s,de),t(de,ve),t(ve,ge),t(ge,gt),t(de,Et),t(de,me),t(me,$e),t(me,X),t(me,Y),t(Y,Ue),t(r,Ee),t(r,Re),t(Re,De),t(De,be),t(Re,We),t(Re,ce),t(ce,Le),t(Le,nt),se(Fe,nt,null),t(ce,_s),t(ce,Se),t(Se,ot),se(we,ot,null),t(ce,ms),t(ce,ct),t(ct,ut),se(Te,ut,null),t(ce,gs),t(ce,dt),t(dt,Ce),se(Oe,Ce,null),t(ce,Es),t(ce,ze),t(ze,vt),se(Qe,vt,null),t(ce,Os),t(ce,Ge),t(Ge,ke),se(Xe,ke,null),t(ce,Ye),t(ce,bt),t(bt,It),se(qe,It,null),t(r,Tt),t(r,fe),t(fe,yt),t(yt,ks),t(fe,ft),t(fe,xe),t(xe,et),t(et,$t),t($t,Ot),t(xe,Ns),t(xe,tt),t(tt,Be),t(tt,Rs),t(tt,Ze),t(Ze,Vs),t(fe,kt),t(fe,Ae),t(Ae,st),t(st,At),t(At,Nt),t(Ae,Us),t(Ae,at),t(at,Me),t(at,Ls),t(at,bs),t(bs,Tr),t(fe,Or),t(fe,Rt),t(Rt,qs),t(qs,Bs),t(Bs,kr),t(Rt,Nr),t(Rt,Vt),t(Vt,Ut),t(Vt,Rr),t(Vt,Is),t(Is,Vr),t(fe,Ur),t(fe,Lt),t(Lt,Ms),t(Ms,Hs),t(Hs,Lr),t(Lt,qr),t(Lt,qt),t(qt,Bt),t(qt,Br),t(qt,ys),t(ys,Mr),t(fe,Hr),t(fe,Mt),t(Mt,js),t(js,Ws),t(Ws,jr),t(Mt,Wr),t(Mt,Ht),t(Ht,jt),t(Ht,Fr),t(Ht,$s),t($s,zr),t(r,Qr),t(r,Dt),t(Dt,Fs),t(Fs,Gr),t(Dt,Yr),t(Dt,re),t(re,zs),t(zs,Qs),se(Wt,Qs,null),t(re,Zr),t(re,Gs),t(Gs,Ys),se(Ft,Ys,null),t(re,Jr),t(re,Zs),t(Zs,Js),se(zt,Js,null),t(re,Kr),t(re,Ks),t(Ks,Xs),se(Qt,Xs,null),t(re,Xr),t(re,xs),t(xs,ea),se(Gt,ea,null),t(re,xr),t(re,ta),t(ta,sa),se(Yt,sa,null),t(re,el),t(re,aa),t(aa,ra),se(Zt,ra,null),t(re,tl),t(re,la),t(la,ia),se(Jt,ia,null),t(re,sl),t(re,na),t(na,oa),se(Kt,oa,null),t(re,al),t(re,ca),t(ca,ua),se(Xt,ua,null),t(re,rl),t(re,da),t(da,va),se(xt,va,null),t(r,ll),t(r,Ne),t(Ne,fa),t(fa,il),t(Ne,nl),t(Ne,es),t(es,ha),t(ha,pa),t(pa,ol),t(es,cl),t(es,ts),t(ts,ss),t(ts,ul),t(ts,As),t(As,dl),t(Ne,vl),t(Ne,as),t(as,_a),t(_a,ma),t(ma,fl),t(as,hl),t(as,rs),t(rs,ls),t(rs,pl),t(rs,Ds),t(Ds,_l),t(Ne,ml),t(Ne,is),t(is,ga),t(ga,Ea),t(Ea,gl),t(is,El),t(is,ns),t(ns,os),t(ns,bl),t(ns,Cs),t(Cs,Il),t(Ne,yl),t(Ne,cs),t(cs,ba),t(ba,Ia),t(Ia,$l),t(cs,Al),t(cs,us),t(us,ds),t(us,Dl),t(us,Ps),t(Ps,Cl),t(r,Pl),t(r,Ct),t(Ct,ya),t(ya,Sl),t(Ct,wl),t(Ct,$a),t($a,Aa),se(vs,Aa,null),t(r,Tl),t(r,Pt),t(Pt,Da),t(Da,Ol),t(Pt,kl),se(fs,Pt,null),t(r,Nl),t(r,Je),t(Je,Ca),t(Ca,Rl),t(Je,Vl),t(Je,Pa),t(Pa,Ul),t(Je,Ll),t(Je,Sa),t(Sa,ql),t(Je,Bl),t(Je,wa),t(wa,St),t(St,Ta),t(St,Ml),t(St,La),t(La,Hl),q(B,Ba,Oa),q(B,Ma,Oa),Ha=!0,jl||(hi=[le(P,"change",pe(a[0])),le(N,"change",pe(a[0])),le(ie,"change",pe(a[0])),le($e,"change",pe(a[0])),le(Be,"change",pe(a[0])),le(Me,"change",pe(a[0])),le(Ut,"change",pe(a[0])),le(Bt,"change",pe(a[0])),le(jt,"change",pe(a[0])),le(ss,"change",pe(a[0])),le(ls,"change",pe(a[0])),le(os,"change",pe(a[0])),le(ds,"change",pe(a[0])),le(St,"click",pe(a[3]))],jl=!0)},p:oe,i(B){Ha||(F(Fe.$$.fragment,B),F(we.$$.fragment,B),F(Te.$$.fragment,B),F(Oe.$$.fragment,B),F(Qe.$$.fragment,B),F(Xe.$$.fragment,B),F(qe.$$.fragment,B),F(Wt.$$.fragment,B),F(Ft.$$.fragment,B),F(zt.$$.fragment,B),F(Qt.$$.fragment,B),F(Gt.$$.fragment,B),F(Yt.$$.fragment,B),F(Zt.$$.fragment,B),F(Jt.$$.fragment,B),F(Kt.$$.fragment,B),F(Xt.$$.fragment,B),F(xt.$$.fragment,B),F(vs.$$.fragment,B),F(fs.$$.fragment,B),Ha=!0)},o(B){z(Fe.$$.fragment,B),z(we.$$.fragment,B),z(Te.$$.fragment,B),z(Oe.$$.fragment,B),z(Qe.$$.fragment,B),z(Xe.$$.fragment,B),z(qe.$$.fragment,B),z(Wt.$$.fragment,B),z(Ft.$$.fragment,B),z(zt.$$.fragment,B),z(Qt.$$.fragment,B),z(Gt.$$.fragment,B),z(Yt.$$.fragment,B),z(Zt.$$.fragment,B),z(Jt.$$.fragment,B),z(Kt.$$.fragment,B),z(Xt.$$.fragment,B),z(xt.$$.fragment,B),z(vs.$$.fragment,B),z(fs.$$.fragment,B),Ha=!1},d(B){B&&o(e),ae(Fe),ae(we),ae(Te),ae(Oe),ae(Qe),ae(Xe),ae(qe),ae(Wt),ae(Ft),ae(zt),ae(Qt),ae(Gt),ae(Yt),ae(Zt),ae(Jt),ae(Kt),ae(Xt),ae(xt),ae(vs),ae(fs),B&&o(Ba),B&&o(Ma),jl=!1,Ar(hi)}}}function $u(a,e,r){const s=Ts();qa.subscribe(_=>{});let{profileImageFile:l}=e,n={};const c=async _=>{n[_.target.name]=_.target.id},v=_=>{n[_.detail.name]=_.detail.id},f=_=>{n.weight=_.detail},p=async _=>{s("onPromptComplete",n)},m=_=>{n.creative=_.detail};return a.$$set=_=>{"profileImageFile"in _&&r(5,l=_.profileImageFile)},[c,v,f,p,m,l]}class Au extends rt{constructor(e){super(),lt(this,e,$u,yu,it,{profileImageFile:5})}}function Du(a){let e,r,s,l,n,c,v,f,p,m,_,g,P,C,A,w,D,O,E,S,R,k,T,N,U,L,j,V,M,W,Z,J,Q,H,ie,x,_e,He,je,de,ve,ge,gt,Et,me,$e,X,Y,Ue,Ee,Re,De,be,We,ce,Le,nt,Fe,_s,Se,ot,we,ms,ct,ut,Te,gs,dt,Ce,Oe,Es,ze,vt,Qe,Os;return{c(){e=u("div"),r=u("section"),s=u("article"),l=u("h2"),n=y("Britelite is the avatar super charger."),c=b(),v=u("p"),f=y("Put an image of yourself through the Britelite and give it a super charge."),p=b(),m=u("picture"),_=u("source"),g=b(),P=u("img"),A=b(),w=u("button"),D=u("ion-icon"),O=b(),E=u("span"),S=y("Watch Video"),R=b(),k=u("section"),T=u("div"),N=u("article"),U=u("h2"),L=y("You own it."),j=b(),V=u("p"),M=y(`We don't use, track, or keep what you create. What you make is yours. Our business model +import{S as rt,i as lt,s as it,e as u,c as d,a as h,d as o,b as i,g as q,q as F,l as _t,n as Ss,o as z,p as ws,N as go,$ as Ts,k as b,t as y,m as I,h as $,H as K,I as t,j as ye,E as oe,w as ee,x as te,y as se,B as ae,J as le,L as pe,K as Gl,a1 as Ar,R as Ra,a3 as Co,u as Po,_ as Eo,f as bo,a2 as Yl,O as Kn,C as Xn,a4 as So,a5 as wo,a6 as To,P as xn,Q as eo,G as Oo,v as Kl,X as ko,a7 as No}from"../../chunks/index-8ed999ca.js";import{g as Wl}from"../../chunks/navigation-0e6511d1.js";import{a as qa}from"../../chunks/accountStore-859cf7a0.js";import{c as to}from"../../chunks/briteliteStore-1636fc63.js";import{S as Ro}from"../../chunks/Saos-dbfe5fbc.js";import{w as Vo}from"../../chunks/index-71ac3aa5.js";import"../../chunks/singletons-d1fb5791.js";function so(a,e,r){const s=a.slice();return s[8]=e[r],s[10]=r,s}function ao(a){let e,r,s=a[0],l=[];for(let c=0;cz(l[c],1,1,()=>{l[c]=null});return{c(){e=u("ul");for(let c=0;c0?0:1}return e=v(a),r=c[e]=n[e](a),{c(){r.c(),s=_t()},l(f){r.l(f),s=_t()},m(f,p){c[e].m(f,p),q(f,s,p),l=!0},p(f,p){let m=e;e=v(f),e===m?c[e].p(f,p):(Ss(),z(c[m],1,1,()=>{c[m]=null}),ws(),r=c[e],r?r.p(f,p):(r=c[e]=n[e](f),r.c()),F(r,1),r.m(s.parentNode,s))},i(f){l||(F(r),l=!0)},o(f){z(r),l=!1},d(f){c[e].d(f),f&&o(s)}}}function Ho(a){let e,r,s=a[0].length>0&&ao(a);return{c(){e=u("div"),s&&s.c()},l(l){e=d(l,"DIV",{});var n=h(e);s&&s.l(n),n.forEach(o)},m(l,n){q(l,e,n),s&&s.m(e,null),r=!0},p(l,[n]){l[0].length>0?s?(s.p(l,n),n&1&&F(s,1)):(s=ao(l),s.c(),F(s,1),s.m(e,null)):s&&(Ss(),z(s,1,1,()=>{s=null}),ws())},i(l){r||(F(s),r=!0)},o(l){z(s),r=!1},d(l){l&&o(e),s&&s.d()}}}function yr(a){return typeof a!="undefined"?new Date(a).toLocaleDateString("en-us",{year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"}):null}function jo(a){}function Wo(a,e={}){let r;const s=n=>{const c=n[0].isIntersecting?"enter":"exit";a.dispatchEvent(new CustomEvent(c))},l=({root:n,top:c,bottom:v})=>{const f=c?c*-1:0,p=v?v*-1:0,m=`${f}px 0px ${p}px 0px`,_={root:n,rootMargin:m};r&&r.disconnect(),r=new IntersectionObserver(s,_),r.observe(a)};return l(e),{update(n){l(n)},destroy(){r&&r.disconnect()}}}function Fo(a,e,r){let{briteliteQueues:s=[]}=e;to.subscribe(p=>{});const l=Ts();qa.subscribe(p=>{});function n(p){to.update(m=>p),l("onSelectImage")}async function c(){l("loadMore")}const v=()=>c(),f=()=>console.log("exit");return a.$$set=p=>{"briteliteQueues"in p&&r(0,s=p.briteliteQueues)},[s,n,c,v,f]}class zo extends rt{constructor(e){super(),lt(this,e,Fo,Ho,it,{briteliteQueues:0})}}function Io(a){const e=a-1;return e*e*e+1}function lo(a,e,r){const s=a.slice();return s[1]=e[r],s}function io(a){let e,r,s,l,n,c,v,f,p,m,_,g=oo(a[1].eta_relative)+"",P,C;return{c(){e=u("h3"),r=y("Processing"),s=b(),l=u("div"),n=u("progress"),v=b(),f=u("span"),p=u("ion-icon"),m=b(),_=u("span"),P=y(g),C=b(),this.h()},l(A){e=d(A,"H3",{class:!0});var w=h(e);r=$(w,"Processing"),w.forEach(o),s=I(A),l=d(A,"DIV",{class:!0});var D=h(l);n=d(D,"PROGRESS",{class:!0,max:!0}),h(n).forEach(o),v=I(D),f=d(D,"SPAN",{class:!0});var O=h(f);p=d(O,"ION-ICON",{class:!0,name:!0}),h(p).forEach(o),m=I(O),_=d(O,"SPAN",{class:!0});var E=h(_);P=$(E,g),E.forEach(o),O.forEach(o),C=I(D),D.forEach(o),this.h()},h(){i(e,"class","svelte-1qy2w0p"),i(n,"class","progress-bar svelte-1qy2w0p"),n.value=c=a[1].progress,i(n,"max","1"),K(p,"class","icon svelte-1qy2w0p"),K(p,"name","alarm-sharp"),i(_,"class","duration svelte-1qy2w0p"),i(f,"class","svelte-1qy2w0p"),i(l,"class","progress-row svelte-1qy2w0p")},m(A,w){q(A,e,w),t(e,r),q(A,s,w),q(A,l,w),t(l,n),t(l,v),t(l,f),t(f,p),t(f,m),t(f,_),t(_,P),t(l,C)},p(A,w){w&1&&c!==(c=A[1].progress)&&(n.value=c),w&1&&g!==(g=oo(A[1].eta_relative)+"")&&ye(P,g)},d(A){A&&o(e),A&&o(s),A&&o(l)}}}function no(a){let e,r=a[1].progress<1&&io(a);return{c(){r&&r.c(),e=_t()},l(s){r&&r.l(s),e=_t()},m(s,l){r&&r.m(s,l),q(s,e,l)},p(s,l){s[1].progress<1?r?r.p(s,l):(r=io(s),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},d(s){r&&r.d(s),s&&o(e)}}}function Qo(a){let e,r=a[0],s=[];for(let l=0;l0&&(l+=`${e} hour${e>1?"s":""} `),r>0&&(l+=`${r} minute${r>1?"s":""} `),r===0&&e===0&&(l+=`${s} second${s>1?"s":""}`),l.trim()}function Go(a,e,r){let{jobs:s=[]}=e;return s.forEach(l=>{let n=parseFloat(l.progress),c=isFinite(n)?Math.max(0,Math.min(n,1)):0,v,f;const p=_=>{const g=_-v,P=1e3,C=Io(g/P);l.progress=c*C,g{v=performance.now(),f=requestAnimationFrame(p)};Po(()=>{m()}),Eo(()=>{cancelAnimationFrame(f),l.progress=0})}),a.$$set=l=>{"jobs"in l&&r(0,s=l.jobs)},[s]}class Yo extends rt{constructor(e){super(),lt(this,e,Go,Qo,it,{jobs:0})}}function Zo(a){let e,r,s,l,n,c,v;return{c(){e=u("button"),r=u("ion-icon"),s=b(),l=u("span"),n=y("Upload"),this.h()},l(f){e=d(f,"BUTTON",{});var p=h(e);r=d(p,"ION-ICON",{class:!0,name:!0}),h(r).forEach(o),s=I(p),l=d(p,"SPAN",{});var m=h(l);n=$(m,"Upload"),m.forEach(o),p.forEach(o),this.h()},h(){K(r,"class","icon svelte-bsedi5"),K(r,"name","color-palette-sharp")},m(f,p){q(f,e,p),t(e,r),t(e,s),t(e,l),t(l,n),c||(v=le(e,"click",pe(a[2])),c=!0)},p:oe,d(f){f&&o(e),c=!1,v()}}}function Jo(a){let e,r,s,l,n,c,v,f,p,m,_,g,P,C;function A(O,E){return Zo}let D=A()(a);return{c(){e=u("div"),r=u("article"),s=u("h4"),l=u("ion-icon"),n=y(" Super Charged Avatar"),c=b(),v=u("p"),f=y("Upload your avatar. Recommended size is 512x512 pixels."),p=b(),m=u("aside"),_=u("input"),g=b(),D.c(),this.h()},l(O){e=d(O,"DIV",{class:!0});var E=h(e);r=d(E,"ARTICLE",{class:!0});var S=h(r);s=d(S,"H4",{class:!0});var R=h(s);l=d(R,"ION-ICON",{name:!0,class:!0}),h(l).forEach(o),n=$(R," Super Charged Avatar"),R.forEach(o),c=I(S),v=d(S,"P",{class:!0});var k=h(v);f=$(k,"Upload your avatar. Recommended size is 512x512 pixels."),k.forEach(o),S.forEach(o),p=I(E),m=d(E,"ASIDE",{class:!0});var T=h(m);_=d(T,"INPUT",{style:!0,type:!0,accept:!0}),g=I(T),D.l(T),T.forEach(o),E.forEach(o),this.h()},h(){K(l,"name","image"),K(l,"class","svelte-bsedi5"),i(s,"class","highlight large supercharged svelte-bsedi5"),i(v,"class","svelte-bsedi5"),i(r,"class","main supercharged-container svelte-bsedi5"),bo(_,"display","none"),i(_,"type","file"),i(_,"accept",".jpg, .jpeg, .png, .webp, .gif"),i(m,"class","aside aside-1"),i(e,"class","option-container svelte-bsedi5")},m(O,E){q(O,e,E),t(e,r),t(r,s),t(s,l),t(s,n),t(r,c),t(r,v),t(v,f),t(e,p),t(e,m),t(m,_),a[6](_),t(m,g),D.m(m,null),P||(C=le(_,"change",a[5]),P=!0)},p(O,[E]){D.p(O,E)},i:oe,o:oe,d(O){O&&o(e),a[6](null),D.d(),P=!1,C()}}}function Ko(a,e,r){let{isImageUploading:s=!1}=e,l;const n=Ts(),c=async _=>{l.click()},v=async _=>{n("onViewAvatar")},f=async _=>{n("onFileSelected",{file:_.target.files[0]})},p=_=>f(_);function m(_){Yl[_?"unshift":"push"](()=>{l=_,r(1,l)})}return a.$$set=_=>{"isImageUploading"in _&&r(0,s=_.isImageUploading)},[s,l,c,v,f,p,m]}class Xo extends rt{constructor(e){super(),lt(this,e,Ko,Jo,it,{isImageUploading:0})}}function xo(a){let e,r,s,l,n,c,v;return{c(){e=u("input"),r=b(),s=u("label"),l=y("happy"),this.h()},l(f){e=d(f,"INPUT",{type:!0,id:!0,name:!0,class:!0}),r=I(f),s=d(f,"LABEL",{for:!0,class:!0});var p=h(s);l=$(p,"happy"),p.forEach(o),this.h()},h(){i(e,"type","radio"),i(e,"id",a[0]),i(e,"name",a[1]),i(e,"class","svelte-j9l9jp"),i(s,"for",a[0]),i(s,"class",n=Kn(a[0])+" svelte-j9l9jp")},m(f,p){q(f,e,p),q(f,r,p),q(f,s,p),t(s,l),c||(v=le(e,"change",pe(function(){Gl(a[2](a[1],a[0]))&&a[2](a[1],a[0]).apply(this,arguments)})),c=!0)},p(f,[p]){a=f,p&1&&i(e,"id",a[0]),p&2&&i(e,"name",a[1]),p&1&&i(s,"for",a[0]),p&1&&n!==(n=Kn(a[0])+" svelte-j9l9jp")&&i(s,"class",n)},i:oe,o:oe,d(f){f&&o(e),f&&o(r),f&&o(s),c=!1,v()}}}function ec(a,e,r){const s=Ts();function l(v,f){s("onColorChange",{name:v,id:f})}let{id:n="green"}=e,{name:c="expression"}=e;return a.$$set=v=>{"id"in v&&r(0,n=v.id),"name"in v&&r(1,c=v.name)},[n,c,l]}class Ie extends rt{constructor(e){super(),lt(this,e,ec,xo,it,{id:0,name:1})}}function co(a){return Object.prototype.toString.call(a)==="[object Date]"}function Zl(a,e){if(a===e||a!==a)return()=>a;const r=typeof a;if(r!==typeof e||Array.isArray(a)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(a)){const s=e.map((l,n)=>Zl(a[n],l));return l=>s.map(n=>n(l))}if(r==="object"){if(!a||!e)throw new Error("Object cannot be null");if(co(a)&&co(e)){a=a.getTime(),e=e.getTime();const n=e-a;return c=>new Date(a+c*n)}const s=Object.keys(e),l={};return s.forEach(n=>{l[n]=Zl(a[n],e[n])}),n=>{const c={};return s.forEach(v=>{c[v]=l[v](n)}),c}}if(r==="number"){const s=e-a;return l=>a+l*s}throw new Error(`Cannot interpolate ${r} values`)}function tc(a,e={}){const r=Vo(a);let s,l=a;function n(c,v){if(a==null)return r.set(a=c),Promise.resolve();l=c;let f=s,p=!1,{delay:m=0,duration:_=400,easing:g=To,interpolate:P=Zl}=Xn(Xn({},e),v);if(_===0)return f&&(f.abort(),f=null),r.set(a=l),Promise.resolve();const C=So()+m;let A;return s=wo(w=>{if(w_?(r.set(a=c),!1):(r.set(a=A(g(D/_))),!0)}),s.promise}return{set:n,update:(c,v)=>n(c(l,a),v),subscribe:r.subscribe}}var Xl={},xl={},Dr={},ei={},ne={};Object.defineProperty(ne,"__esModule",{value:!0});ne._=void 0;ne.SPACE=" ";ne.FILL="fill";ne.NONE="none";ne.DRAW_LINE_VERTICAL="V";ne.DRAW_LINE_HORIZONTAL="H";ne.DRAW_LINE="L";ne.CLOSE_PATH="Z";ne.MOVE_CURSOR="M";ne.DRAW_CURVE_CUBIC_BEZIER="C";ne.DRAW_CURVE_SMOOTH="S";ne.DRAW_CURVE_QUADRATIC="Q";ne.DRAW_CURVE_QUADRATIC_CONTINUATION="T";ne.DRAW_ARC="A";var ti={};Object.defineProperty(ti,"__esModule",{value:!0});function sc(a){return typeof a=="string"}ti.isString=sc;var mt={};(function(a){Object.defineProperty(a,"__esModule",{value:!0});var e=Math;a.abs=e.abs,a.min=e.min,a.max=e.max,a.floor=e.floor,a.round=e.round,a.sqrt=e.sqrt,a.pow=e.pow,a.cos=e.cos,a.asin=e.asin,a.sin=e.sin,a.tan=e.tan,a.PI=e.PI,a.QUADRATIC_RATIO=2/3,a.EPSILON=a.pow(2,-52)})(mt);Object.defineProperty(ei,"__esModule",{value:!0});var Fl=ne,ac=ti,rc=mt;function lc(a,e){if(e===void 0&&(e=rc.round),ac.isString(a))return a;for(var r=[],s=0;s1&&(R=he.sqrt(R),r=R*r,s=R*s);var k=(n===c?-1:1)*he.sqrt(he.abs((r*r*s*s-r*r*S*S-s*s*E*E)/(r*r*S*S+s*s*E*E)));_=k*r*S/s+(a+v)/2,g=k*-s*E/r+(e+f)/2,p=he.asin((e-g)/s),m=he.asin((f-g)/s),a<_&&(p=he.PI-p),v<_&&(m=he.PI-m),p<0&&(p+=br),m<0&&(m+=br),c&&p>m&&(p-=br),!c&&m>p&&(m-=br)}var T;if(he.abs(m-p)>fo){var N=m,U=v,L=f;m=p+fo*(c&&m>p?1:-1),v=_+r*he.cos(m),f=g+s*he.sin(m),T=Do(v,f,r,s,l,0,c,U,L,m,N,_,g)}else T=[];var j=4/3*he.tan((m-p)/4);if(T.splice(0,0,2*a-(a+j*r*he.sin(p)),2*e-(e-j*s*he.cos(p)),v+j*r*he.sin(m),f-j*s*he.cos(m),v,f),!w)for(var V=0,M=T.length;V()=>O,_=(D,O)=>fu([D,O]);let g=tc(0,{duration:200,easing:Io,interpolate:m});Oo(a,g,D=>r(6,s=D));const P=()=>{let D=p.indexOf(s)+1;return D>=p.length&&(D=0),r(2,c=po(D)),f("onWeightChange",D),g.set(p[D],{interpolate:_})},C=()=>{let D=p.indexOf(s)-1;return D<0&&(D=p.length-1),r(2,c=po(D)),f("onWeightChange",D),g.set(p[D],{interpolate:_})};Kl(()=>{let D;return v=n.attributes.d.nodeValue,p[0]=v,g.set(v),()=>cancelAnimationFrame(D)});function A(D){Yl[D?"unshift":"push"](()=>{n=D,r(0,n)})}function w(D){Yl[D?"unshift":"push"](()=>{l=D,r(1,l)})}return a.$$.update=()=>{a.$$.dirty&65&&s!==0&&n.setAttribute("d",s)},[n,l,c,g,P,C,s,A,w]}class mu extends rt{constructor(e){super(),lt(this,e,_u,pu,it,{})}}function gu(a){let e,r,s,l,n,c,v,f,p,m,_,g,P,C,A,w,D,O,E,S,R,k,T,N,U,L,j,V,M,W,Z,J;return{c(){e=u("div"),r=u("p"),s=y(a[2]),l=b(),n=u("input"),c=b(),v=u("div"),f=u("div"),p=y("Subtle"),_=b(),g=u("div"),P=y("Mild"),A=b(),w=u("div"),D=y("Balance"),E=b(),S=u("div"),R=y("Express"),T=b(),N=u("div"),U=y("Vibrant"),j=b(),V=u("div"),M=y("Bold"),this.h()},l(Q){e=d(Q,"DIV",{class:!0});var H=h(e);r=d(H,"P",{class:!0});var ie=h(r);s=$(ie,a[2]),ie.forEach(o),l=I(H),n=d(H,"INPUT",{type:!0,min:!0,max:!0,step:!0,id:!0,class:!0}),c=I(H),v=d(H,"DIV",{class:!0});var x=h(v);f=d(x,"DIV",{class:!0});var _e=h(f);p=$(_e,"Subtle"),_e.forEach(o),_=I(x),g=d(x,"DIV",{class:!0});var He=h(g);P=$(He,"Mild"),He.forEach(o),A=I(x),w=d(x,"DIV",{class:!0});var je=h(w);D=$(je,"Balance"),je.forEach(o),E=I(x),S=d(x,"DIV",{class:!0});var de=h(S);R=$(de,"Express"),de.forEach(o),T=I(x),N=d(x,"DIV",{class:!0});var ve=h(N);U=$(ve,"Vibrant"),ve.forEach(o),j=I(x),V=d(x,"DIV",{class:!0});var ge=h(V);M=$(ge,"Bold"),ge.forEach(o),x.forEach(o),H.forEach(o),this.h()},h(){i(r,"class","selected-description svelte-nfsvk7"),i(n,"type","range"),i(n,"min","0"),i(n,"max","1"),i(n,"step","0.01"),n.value=a[0],i(n,"id","balance-range-slider"),i(n,"class","svelte-nfsvk7"),i(f,"class",m="label "+(a[1]==="Subtle"?"selected":"")+" svelte-nfsvk7"),i(g,"class",C="label "+(a[1]==="Mild"?"selected":"")+" svelte-nfsvk7"),i(w,"class",O="label "+(a[1]==="Balance"?"selected":"")+" svelte-nfsvk7"),i(S,"class",k="label "+(a[1]==="Express"?"selected":"")+" svelte-nfsvk7"),i(N,"class",L="label "+(a[1]==="Vibrant"?"selected":"")+" svelte-nfsvk7"),i(V,"class",W="label "+(a[1]==="Bold"?"selected":"")+" svelte-nfsvk7"),i(v,"class","slider-labels svelte-nfsvk7"),i(e,"class","balance-container svelte-nfsvk7")},m(Q,H){q(Q,e,H),t(e,r),t(r,s),t(e,l),t(e,n),t(e,c),t(e,v),t(v,f),t(f,p),t(v,_),t(v,g),t(g,P),t(v,A),t(v,w),t(w,D),t(v,E),t(v,S),t(S,R),t(v,T),t(v,N),t(N,U),t(v,j),t(v,V),t(V,M),Z||(J=le(n,"input",a[3]),Z=!0)},p(Q,[H]){H&4&&ye(s,Q[2]),H&1&&(n.value=Q[0]),H&2&&m!==(m="label "+(Q[1]==="Subtle"?"selected":"")+" svelte-nfsvk7")&&i(f,"class",m),H&2&&C!==(C="label "+(Q[1]==="Mild"?"selected":"")+" svelte-nfsvk7")&&i(g,"class",C),H&2&&O!==(O="label "+(Q[1]==="Balance"?"selected":"")+" svelte-nfsvk7")&&i(w,"class",O),H&2&&k!==(k="label "+(Q[1]==="Express"?"selected":"")+" svelte-nfsvk7")&&i(S,"class",k),H&2&&L!==(L="label "+(Q[1]==="Vibrant"?"selected":"")+" svelte-nfsvk7")&&i(N,"class",L),H&2&&W!==(W="label "+(Q[1]==="Bold"?"selected":"")+" svelte-nfsvk7")&&i(V,"class",W)},i:oe,o:oe,d(Q){Q&&o(e),Z=!1,J()}}}function Eu(a){switch(a){case"Subtle":return"Subtle - Slight creative touches, staying close to the original.";case"Mild":return"Mild - A gentle infusion of artistic flair without major changes.";case"Balance":return"Balance - A harmonious blend of creativity and reality.";case"Express":return"Express - Expressive artistic elements while retaining the essence.";case"Vibrant":return"Vibrant - Bold and creative, with a vibrant artistic touch.";case"Bold":return"Bold - Maximum creativity, making a bold artistic statement.";default:return""}}function bu(a,e,r){const s=Ts();let l=.4,n=null,c="Balance - A harmonious blend of creativity and reality.";const v=p=>{r(0,l=p.target.value),f(),s("onSliderChange",l)};function f(){const p=Math.round(l*5);document.querySelectorAll(".label").forEach((_,g)=>{g===p?(_.classList.add("selected"),r(1,n=_.innerText),r(2,c=Eu(n))):_.classList.remove("selected")})}return Kl(()=>{const p=document.getElementById("balance-range-slider");p.value=l,f()}),[l,n,c,v]}class Iu extends rt{constructor(e){super(),lt(this,e,bu,gu,it,{})}}function yu(a){let e,r,s,l,n,c,v,f,p,m,_,g,P,C,A,w,D,O,E,S,R,k,T,N,U,L,j,V,M,W,Z,J,Q,H,ie,x,_e,He,je,de,ve,ge,gt,Et,me,$e,X,Y,Ue,Ee,Re,De,be,We,ce,Le,nt,Fe,_s,Se,ot,we,ms,ct,ut,Te,gs,dt,Ce,Oe,Es,ze,vt,Qe,Os,Ge,ke,Xe,Ye,bt,It,qe,Tt,fe,yt,ks,ft,xe,et,$t,Ot,Ns,tt,Be,Rs,Ze,Vs,kt,Ae,st,At,Nt,Us,at,Me,Ls,bs,Tr,Or,Rt,qs,Bs,kr,Nr,Vt,Ut,Rr,Is,Vr,Ur,Lt,Ms,Hs,Lr,qr,qt,Bt,Br,ys,Mr,Hr,Mt,js,Ws,jr,Wr,Ht,jt,Fr,$s,zr,Qr,Dt,Fs,Gr,Yr,re,zs,Qs,Wt,Zr,Gs,Ys,Ft,Jr,Zs,Js,zt,Kr,Ks,Xs,Qt,Xr,xs,ea,Gt,xr,ta,sa,Yt,el,aa,ra,Zt,tl,la,ia,Jt,sl,na,oa,Kt,al,ca,ua,Xt,rl,da,va,xt,ll,Ne,fa,il,nl,es,ha,pa,ol,cl,ts,ss,ul,As,dl,vl,as,_a,ma,fl,hl,rs,ls,pl,Ds,_l,ml,is,ga,Ea,gl,El,ns,os,bl,Cs,Il,yl,cs,ba,Ia,$l,Al,us,ds,Dl,Ps,Cl,Pl,Ct,ya,Sl,wl,$a,Aa,vs,Tl,Pt,Da,Ol,kl,fs,Nl,Je,Ca,Rl,Vl,Pa,Ul,Ll,Sa,ql,Bl,wa,St,Ta,Ml,La,Hl,Ba,Ma,Ha,jl,hi;return Fe=new Ie({props:{id:"eye-brown",name:"eye_color"}}),Fe.$on("onColorChange",a[1]),we=new Ie({props:{id:"eye-blue",name:"eye_color"}}),we.$on("onColorChange",a[1]),Te=new Ie({props:{id:"eye-black",name:"eye_color"}}),Te.$on("onColorChange",a[1]),Oe=new Ie({props:{id:"eye-green",name:"eye_color"}}),Oe.$on("onColorChange",a[1]),Qe=new Ie({props:{id:"eye-red",name:"eye_color"}}),Qe.$on("onColorChange",a[1]),Xe=new Ie({props:{id:"eye-yellow",name:"eye_color"}}),Xe.$on("onColorChange",a[1]),qe=new Ie({props:{id:"eye-purple",name:"eye_color"}}),qe.$on("onColorChange",a[1]),Wt=new Ie({props:{id:"blue",name:"skin_color"}}),Wt.$on("onColorChange",a[1]),Ft=new Ie({props:{id:"green",name:"skin_color"}}),Ft.$on("onColorChange",a[1]),zt=new Ie({props:{id:"darkest",name:"skin_color"}}),zt.$on("onColorChange",a[1]),Qt=new Ie({props:{id:"darker",name:"skin_color"}}),Qt.$on("onColorChange",a[1]),Gt=new Ie({props:{id:"dark",name:"skin_color"}}),Gt.$on("onColorChange",a[1]),Yt=new Ie({props:{id:"tan",name:"skin_color"}}),Yt.$on("onColorChange",a[1]),Zt=new Ie({props:{id:"light",name:"skin_color"}}),Zt.$on("onColorChange",a[1]),Jt=new Ie({props:{id:"lighter",name:"skin_color"}}),Jt.$on("onColorChange",a[1]),Kt=new Ie({props:{id:"lightest",name:"skin_color"}}),Kt.$on("onColorChange",a[1]),Xt=new Ie({props:{id:"purple",name:"skin_color"}}),Xt.$on("onColorChange",a[1]),xt=new Ie({props:{id:"red",name:"skin_color"}}),xt.$on("onColorChange",a[1]),vs=new mu({}),vs.$on("onWeightChange",a[2]),fs=new Iu({}),fs.$on("onSliderChange",a[4]),{c(){e=u("div"),r=u("form"),s=u("fieldset"),l=u("h2"),n=y("Presentation"),c=b(),v=u("div"),f=u("div"),p=u("h4"),m=y("\u{1F460} She / Her"),_=b(),g=u("aside"),P=u("input"),C=b(),A=u("label"),w=y("she"),D=b(),O=u("div"),E=u("div"),S=u("h4"),R=y("\u{1F45E} He / Him"),k=b(),T=u("aside"),N=u("input"),U=b(),L=u("label"),j=y("him"),V=b(),M=u("div"),W=u("div"),Z=u("h4"),J=y("\u{1F9DE} They / Them"),Q=b(),H=u("aside"),ie=u("input"),x=b(),_e=u("label"),He=y("they"),je=b(),de=u("div"),ve=u("div"),ge=u("h4"),gt=y("\u{1F63B} I'm a cat"),Et=b(),me=u("aside"),$e=u("input"),X=b(),Y=u("label"),Ue=y("cat"),Ee=b(),Re=u("fieldset"),De=u("h2"),be=y("Eye Color"),We=b(),ce=u("div"),Le=u("div"),nt=u("aside"),ee(Fe.$$.fragment),_s=b(),Se=u("div"),ot=u("aside"),ee(we.$$.fragment),ms=b(),ct=u("div"),ut=u("aside"),ee(Te.$$.fragment),gs=b(),dt=u("div"),Ce=u("aside"),ee(Oe.$$.fragment),Es=b(),ze=u("div"),vt=u("aside"),ee(Qe.$$.fragment),Os=b(),Ge=u("div"),ke=u("aside"),ee(Xe.$$.fragment),Ye=b(),bt=u("div"),It=u("aside"),ee(qe.$$.fragment),Tt=b(),fe=u("fieldset"),yt=u("h2"),ks=y("Favorite place"),ft=b(),xe=u("div"),et=u("div"),$t=u("h4"),Ot=y("\u{1F3DD}\uFE0F Beach"),Ns=b(),tt=u("aside"),Be=u("input"),Rs=b(),Ze=u("label"),Vs=y("beach"),kt=b(),Ae=u("div"),st=u("div"),At=u("h4"),Nt=y("\u{1FA90} Unexplored Planet"),Us=b(),at=u("aside"),Me=u("input"),Ls=b(),bs=u("label"),Tr=y("planet"),Or=b(),Rt=u("div"),qs=u("div"),Bs=u("h4"),kr=y("\u{1F41A} Under the Sea"),Nr=b(),Vt=u("aside"),Ut=u("input"),Rr=b(),Is=u("label"),Vr=y("sea"),Ur=b(),Lt=u("div"),Ms=u("div"),Hs=u("h4"),Lr=y("\u{1F306} City"),qr=b(),qt=u("aside"),Bt=u("input"),Br=b(),ys=u("label"),Mr=y("city"),Hr=b(),Mt=u("div"),js=u("div"),Ws=u("h4"),jr=y("\u{1F3DE}\uFE0F Rainforest"),Wr=b(),Ht=u("aside"),jt=u("input"),Fr=b(),$s=u("label"),zr=y("forest"),Qr=b(),Dt=u("fieldset"),Fs=u("h2"),Gr=y("Skin Tone"),Yr=b(),re=u("div"),zs=u("div"),Qs=u("aside"),ee(Wt.$$.fragment),Zr=b(),Gs=u("div"),Ys=u("aside"),ee(Ft.$$.fragment),Jr=b(),Zs=u("div"),Js=u("aside"),ee(zt.$$.fragment),Kr=b(),Ks=u("div"),Xs=u("aside"),ee(Qt.$$.fragment),Xr=b(),xs=u("div"),ea=u("aside"),ee(Gt.$$.fragment),xr=b(),ta=u("div"),sa=u("aside"),ee(Yt.$$.fragment),el=b(),aa=u("div"),ra=u("aside"),ee(Zt.$$.fragment),tl=b(),la=u("div"),ia=u("aside"),ee(Jt.$$.fragment),sl=b(),na=u("div"),oa=u("aside"),ee(Kt.$$.fragment),al=b(),ca=u("div"),ua=u("aside"),ee(Xt.$$.fragment),rl=b(),da=u("div"),va=u("aside"),ee(xt.$$.fragment),ll=b(),Ne=u("fieldset"),fa=u("h2"),il=y("Expression"),nl=b(),es=u("div"),ha=u("div"),pa=u("h4"),ol=y("\u{1F929} Excited"),cl=b(),ts=u("aside"),ss=u("input"),ul=b(),As=u("label"),dl=y("discovery"),vl=b(),as=u("div"),_a=u("div"),ma=u("h4"),fl=y("\u{1F601} Happy"),hl=b(),rs=u("aside"),ls=u("input"),pl=b(),Ds=u("label"),_l=y("happy"),ml=b(),is=u("div"),ga=u("div"),Ea=u("h4"),gl=y("\u{1F621} Serious"),El=b(),ns=u("aside"),os=u("input"),bl=b(),Cs=u("label"),Il=y("serious"),yl=b(),cs=u("div"),ba=u("div"),Ia=u("h4"),$l=y("\u{1F62D} Rough Times"),Al=b(),us=u("aside"),ds=u("input"),Dl=b(),Ps=u("label"),Cl=y("sad"),Pl=b(),Ct=u("fieldset"),ya=u("h2"),Sl=y("Weight Class"),wl=b(),$a=u("div"),Aa=u("aside"),ee(vs.$$.fragment),Tl=b(),Pt=u("fieldset"),Da=u("h2"),Ol=y("Creativity"),kl=b(),ee(fs.$$.fragment),Nl=b(),Je=u("div"),Ca=u("h2"),Rl=y("Are you ready?"),Vl=b(),Pa=u("p"),Ul=y("Once you've customized your avatar, it's time to create it!"),Ll=b(),Sa=u("p"),ql=y("1 coin will be consumed."),Bl=b(),wa=u("div"),St=u("button"),Ta=u("ion-icon"),Ml=b(),La=u("span"),Hl=y("Super Charge!"),Ba=b(),Ma=u("hr"),this.h()},l(B){e=d(B,"DIV",{class:!0});var Oa=h(e);r=d(Oa,"FORM",{class:!0});var Pe=h(r);s=d(Pe,"FIELDSET",{id:!0,class:!0});var ht=h(s);l=d(ht,"H2",{class:!0});var pi=h(l);n=$(pi,"Presentation"),pi.forEach(o),c=I(ht),v=d(ht,"DIV",{class:!0});var ja=h(v);f=d(ja,"DIV",{class:!0});var _i=h(f);p=d(_i,"H4",{class:!0});var mi=h(p);m=$(mi,"\u{1F460} She / Her"),mi.forEach(o),_i.forEach(o),_=I(ja),g=d(ja,"ASIDE",{class:!0});var Wa=h(g);P=d(Wa,"INPUT",{type:!0,id:!0,name:!0,class:!0}),C=I(Wa),A=d(Wa,"LABEL",{for:!0,class:!0});var gi=h(A);w=$(gi,"she"),gi.forEach(o),Wa.forEach(o),ja.forEach(o),D=I(ht),O=d(ht,"DIV",{class:!0});var Fa=h(O);E=d(Fa,"DIV",{class:!0});var Ei=h(E);S=d(Ei,"H4",{class:!0});var bi=h(S);R=$(bi,"\u{1F45E} He / Him"),bi.forEach(o),Ei.forEach(o),k=I(Fa),T=d(Fa,"ASIDE",{class:!0});var za=h(T);N=d(za,"INPUT",{type:!0,id:!0,name:!0,class:!0}),U=I(za),L=d(za,"LABEL",{for:!0,class:!0});var Ii=h(L);j=$(Ii,"him"),Ii.forEach(o),za.forEach(o),Fa.forEach(o),V=I(ht),M=d(ht,"DIV",{class:!0});var Qa=h(M);W=d(Qa,"DIV",{class:!0});var yi=h(W);Z=d(yi,"H4",{class:!0});var $i=h(Z);J=$($i,"\u{1F9DE} They / Them"),$i.forEach(o),yi.forEach(o),Q=I(Qa),H=d(Qa,"ASIDE",{class:!0});var Ga=h(H);ie=d(Ga,"INPUT",{type:!0,id:!0,name:!0,class:!0}),x=I(Ga),_e=d(Ga,"LABEL",{for:!0,class:!0});var Ai=h(_e);He=$(Ai,"they"),Ai.forEach(o),Ga.forEach(o),Qa.forEach(o),je=I(ht),de=d(ht,"DIV",{class:!0});var Ya=h(de);ve=d(Ya,"DIV",{class:!0});var Di=h(ve);ge=d(Di,"H4",{class:!0});var Ci=h(ge);gt=$(Ci,"\u{1F63B} I'm a cat"),Ci.forEach(o),Di.forEach(o),Et=I(Ya),me=d(Ya,"ASIDE",{class:!0});var Za=h(me);$e=d(Za,"INPUT",{type:!0,id:!0,name:!0,class:!0}),X=I(Za),Y=d(Za,"LABEL",{for:!0,class:!0});var Pi=h(Y);Ue=$(Pi,"cat"),Pi.forEach(o),Za.forEach(o),Ya.forEach(o),ht.forEach(o),Ee=I(Pe),Re=d(Pe,"FIELDSET",{id:!0,class:!0});var Ja=h(Re);De=d(Ja,"H2",{class:!0});var Si=h(De);be=$(Si,"Eye Color"),Si.forEach(o),We=I(Ja),ce=d(Ja,"DIV",{class:!0});var Ve=h(ce);Le=d(Ve,"DIV",{class:!0});var wi=h(Le);nt=d(wi,"ASIDE",{class:!0});var Ti=h(nt);te(Fe.$$.fragment,Ti),Ti.forEach(o),wi.forEach(o),_s=I(Ve),Se=d(Ve,"DIV",{class:!0});var Oi=h(Se);ot=d(Oi,"ASIDE",{class:!0});var ki=h(ot);te(we.$$.fragment,ki),ki.forEach(o),Oi.forEach(o),ms=I(Ve),ct=d(Ve,"DIV",{class:!0});var Ni=h(ct);ut=d(Ni,"ASIDE",{class:!0});var Ri=h(ut);te(Te.$$.fragment,Ri),Ri.forEach(o),Ni.forEach(o),gs=I(Ve),dt=d(Ve,"DIV",{class:!0});var Vi=h(dt);Ce=d(Vi,"ASIDE",{class:!0});var Ui=h(Ce);te(Oe.$$.fragment,Ui),Ui.forEach(o),Vi.forEach(o),Es=I(Ve),ze=d(Ve,"DIV",{class:!0});var Li=h(ze);vt=d(Li,"ASIDE",{class:!0});var qi=h(vt);te(Qe.$$.fragment,qi),qi.forEach(o),Li.forEach(o),Os=I(Ve),Ge=d(Ve,"DIV",{class:!0});var Bi=h(Ge);ke=d(Bi,"ASIDE",{class:!0});var Mi=h(ke);te(Xe.$$.fragment,Mi),Mi.forEach(o),Bi.forEach(o),Ye=I(Ve),bt=d(Ve,"DIV",{class:!0});var Hi=h(bt);It=d(Hi,"ASIDE",{class:!0});var ji=h(It);te(qe.$$.fragment,ji),ji.forEach(o),Hi.forEach(o),Ve.forEach(o),Ja.forEach(o),Tt=I(Pe),fe=d(Pe,"FIELDSET",{id:!0,class:!0});var Ke=h(fe);yt=d(Ke,"H2",{class:!0});var Wi=h(yt);ks=$(Wi,"Favorite place"),Wi.forEach(o),ft=I(Ke),xe=d(Ke,"DIV",{class:!0});var Ka=h(xe);et=d(Ka,"DIV",{class:!0});var Fi=h(et);$t=d(Fi,"H4",{class:!0});var zi=h($t);Ot=$(zi,"\u{1F3DD}\uFE0F Beach"),zi.forEach(o),Fi.forEach(o),Ns=I(Ka),tt=d(Ka,"ASIDE",{class:!0});var Xa=h(tt);Be=d(Xa,"INPUT",{type:!0,id:!0,name:!0,class:!0}),Rs=I(Xa),Ze=d(Xa,"LABEL",{for:!0,class:!0});var Qi=h(Ze);Vs=$(Qi,"beach"),Qi.forEach(o),Xa.forEach(o),Ka.forEach(o),kt=I(Ke),Ae=d(Ke,"DIV",{class:!0});var xa=h(Ae);st=d(xa,"DIV",{class:!0});var Gi=h(st);At=d(Gi,"H4",{class:!0});var Yi=h(At);Nt=$(Yi,"\u{1FA90} Unexplored Planet"),Yi.forEach(o),Gi.forEach(o),Us=I(xa),at=d(xa,"ASIDE",{class:!0});var er=h(at);Me=d(er,"INPUT",{type:!0,id:!0,name:!0,class:!0}),Ls=I(er),bs=d(er,"LABEL",{for:!0,class:!0});var Zi=h(bs);Tr=$(Zi,"planet"),Zi.forEach(o),er.forEach(o),xa.forEach(o),Or=I(Ke),Rt=d(Ke,"DIV",{class:!0});var tr=h(Rt);qs=d(tr,"DIV",{class:!0});var Ji=h(qs);Bs=d(Ji,"H4",{class:!0});var Ki=h(Bs);kr=$(Ki,"\u{1F41A} Under the Sea"),Ki.forEach(o),Ji.forEach(o),Nr=I(tr),Vt=d(tr,"ASIDE",{class:!0});var sr=h(Vt);Ut=d(sr,"INPUT",{type:!0,id:!0,name:!0,class:!0}),Rr=I(sr),Is=d(sr,"LABEL",{for:!0,class:!0});var Xi=h(Is);Vr=$(Xi,"sea"),Xi.forEach(o),sr.forEach(o),tr.forEach(o),Ur=I(Ke),Lt=d(Ke,"DIV",{class:!0});var ar=h(Lt);Ms=d(ar,"DIV",{class:!0});var xi=h(Ms);Hs=d(xi,"H4",{class:!0});var en=h(Hs);Lr=$(en,"\u{1F306} City"),en.forEach(o),xi.forEach(o),qr=I(ar),qt=d(ar,"ASIDE",{class:!0});var rr=h(qt);Bt=d(rr,"INPUT",{type:!0,id:!0,name:!0,class:!0}),Br=I(rr),ys=d(rr,"LABEL",{for:!0,class:!0});var tn=h(ys);Mr=$(tn,"city"),tn.forEach(o),rr.forEach(o),ar.forEach(o),Hr=I(Ke),Mt=d(Ke,"DIV",{class:!0});var lr=h(Mt);js=d(lr,"DIV",{class:!0});var sn=h(js);Ws=d(sn,"H4",{class:!0});var an=h(Ws);jr=$(an,"\u{1F3DE}\uFE0F Rainforest"),an.forEach(o),sn.forEach(o),Wr=I(lr),Ht=d(lr,"ASIDE",{class:!0});var ir=h(Ht);jt=d(ir,"INPUT",{type:!0,id:!0,name:!0,class:!0}),Fr=I(ir),$s=d(ir,"LABEL",{for:!0,class:!0});var rn=h($s);zr=$(rn,"forest"),rn.forEach(o),ir.forEach(o),lr.forEach(o),Ke.forEach(o),Qr=I(Pe),Dt=d(Pe,"FIELDSET",{id:!0,class:!0});var nr=h(Dt);Fs=d(nr,"H2",{class:!0});var ln=h(Fs);Gr=$(ln,"Skin Tone"),ln.forEach(o),Yr=I(nr),re=d(nr,"DIV",{class:!0});var ue=h(re);zs=d(ue,"DIV",{class:!0});var nn=h(zs);Qs=d(nn,"ASIDE",{class:!0});var on=h(Qs);te(Wt.$$.fragment,on),on.forEach(o),nn.forEach(o),Zr=I(ue),Gs=d(ue,"DIV",{class:!0});var cn=h(Gs);Ys=d(cn,"ASIDE",{class:!0});var un=h(Ys);te(Ft.$$.fragment,un),un.forEach(o),cn.forEach(o),Jr=I(ue),Zs=d(ue,"DIV",{class:!0});var dn=h(Zs);Js=d(dn,"ASIDE",{class:!0});var vn=h(Js);te(zt.$$.fragment,vn),vn.forEach(o),dn.forEach(o),Kr=I(ue),Ks=d(ue,"DIV",{class:!0});var fn=h(Ks);Xs=d(fn,"ASIDE",{class:!0});var hn=h(Xs);te(Qt.$$.fragment,hn),hn.forEach(o),fn.forEach(o),Xr=I(ue),xs=d(ue,"DIV",{class:!0});var pn=h(xs);ea=d(pn,"ASIDE",{class:!0});var _n=h(ea);te(Gt.$$.fragment,_n),_n.forEach(o),pn.forEach(o),xr=I(ue),ta=d(ue,"DIV",{class:!0});var mn=h(ta);sa=d(mn,"ASIDE",{class:!0});var gn=h(sa);te(Yt.$$.fragment,gn),gn.forEach(o),mn.forEach(o),el=I(ue),aa=d(ue,"DIV",{class:!0});var En=h(aa);ra=d(En,"ASIDE",{class:!0});var bn=h(ra);te(Zt.$$.fragment,bn),bn.forEach(o),En.forEach(o),tl=I(ue),la=d(ue,"DIV",{class:!0});var In=h(la);ia=d(In,"ASIDE",{class:!0});var yn=h(ia);te(Jt.$$.fragment,yn),yn.forEach(o),In.forEach(o),sl=I(ue),na=d(ue,"DIV",{class:!0});var $n=h(na);oa=d($n,"ASIDE",{class:!0});var An=h(oa);te(Kt.$$.fragment,An),An.forEach(o),$n.forEach(o),al=I(ue),ca=d(ue,"DIV",{class:!0});var Dn=h(ca);ua=d(Dn,"ASIDE",{class:!0});var Cn=h(ua);te(Xt.$$.fragment,Cn),Cn.forEach(o),Dn.forEach(o),rl=I(ue),da=d(ue,"DIV",{class:!0});var Pn=h(da);va=d(Pn,"ASIDE",{class:!0});var Sn=h(va);te(xt.$$.fragment,Sn),Sn.forEach(o),Pn.forEach(o),ue.forEach(o),nr.forEach(o),ll=I(Pe),Ne=d(Pe,"FIELDSET",{id:!0,class:!0});var pt=h(Ne);fa=d(pt,"H2",{class:!0});var wn=h(fa);il=$(wn,"Expression"),wn.forEach(o),nl=I(pt),es=d(pt,"DIV",{class:!0});var or=h(es);ha=d(or,"DIV",{class:!0});var Tn=h(ha);pa=d(Tn,"H4",{class:!0});var On=h(pa);ol=$(On,"\u{1F929} Excited"),On.forEach(o),Tn.forEach(o),cl=I(or),ts=d(or,"ASIDE",{class:!0});var cr=h(ts);ss=d(cr,"INPUT",{type:!0,id:!0,name:!0,class:!0}),ul=I(cr),As=d(cr,"LABEL",{for:!0,class:!0});var kn=h(As);dl=$(kn,"discovery"),kn.forEach(o),cr.forEach(o),or.forEach(o),vl=I(pt),as=d(pt,"DIV",{class:!0});var ur=h(as);_a=d(ur,"DIV",{class:!0});var Nn=h(_a);ma=d(Nn,"H4",{class:!0});var Rn=h(ma);fl=$(Rn,"\u{1F601} Happy"),Rn.forEach(o),Nn.forEach(o),hl=I(ur),rs=d(ur,"ASIDE",{class:!0});var dr=h(rs);ls=d(dr,"INPUT",{type:!0,id:!0,name:!0,class:!0}),pl=I(dr),Ds=d(dr,"LABEL",{for:!0,class:!0});var Vn=h(Ds);_l=$(Vn,"happy"),Vn.forEach(o),dr.forEach(o),ur.forEach(o),ml=I(pt),is=d(pt,"DIV",{class:!0});var vr=h(is);ga=d(vr,"DIV",{class:!0});var Un=h(ga);Ea=d(Un,"H4",{class:!0});var Ln=h(Ea);gl=$(Ln,"\u{1F621} Serious"),Ln.forEach(o),Un.forEach(o),El=I(vr),ns=d(vr,"ASIDE",{class:!0});var fr=h(ns);os=d(fr,"INPUT",{type:!0,id:!0,name:!0,class:!0}),bl=I(fr),Cs=d(fr,"LABEL",{for:!0,class:!0});var qn=h(Cs);Il=$(qn,"serious"),qn.forEach(o),fr.forEach(o),vr.forEach(o),yl=I(pt),cs=d(pt,"DIV",{class:!0});var hr=h(cs);ba=d(hr,"DIV",{class:!0});var Bn=h(ba);Ia=d(Bn,"H4",{class:!0});var Mn=h(Ia);$l=$(Mn,"\u{1F62D} Rough Times"),Mn.forEach(o),Bn.forEach(o),Al=I(hr),us=d(hr,"ASIDE",{class:!0});var pr=h(us);ds=d(pr,"INPUT",{type:!0,id:!0,name:!0,class:!0}),Dl=I(pr),Ps=d(pr,"LABEL",{for:!0,class:!0});var Hn=h(Ps);Cl=$(Hn,"sad"),Hn.forEach(o),pr.forEach(o),hr.forEach(o),pt.forEach(o),Pl=I(Pe),Ct=d(Pe,"FIELDSET",{id:!0,class:!0});var _r=h(Ct);ya=d(_r,"H2",{class:!0});var jn=h(ya);Sl=$(jn,"Weight Class"),jn.forEach(o),wl=I(_r),$a=d(_r,"DIV",{class:!0});var Wn=h($a);Aa=d(Wn,"ASIDE",{class:!0});var Fn=h(Aa);te(vs.$$.fragment,Fn),Fn.forEach(o),Wn.forEach(o),_r.forEach(o),Tl=I(Pe),Pt=d(Pe,"FIELDSET",{id:!0,class:!0});var mr=h(Pt);Da=d(mr,"H2",{class:!0});var zn=h(Da);Ol=$(zn,"Creativity"),zn.forEach(o),kl=I(mr),te(fs.$$.fragment,mr),mr.forEach(o),Nl=I(Pe),Je=d(Pe,"DIV",{class:!0});var hs=h(Je);Ca=d(hs,"H2",{class:!0});var Qn=h(Ca);Rl=$(Qn,"Are you ready?"),Qn.forEach(o),Vl=I(hs),Pa=d(hs,"P",{class:!0});var Gn=h(Pa);Ul=$(Gn,"Once you've customized your avatar, it's time to create it!"),Gn.forEach(o),Ll=I(hs),Sa=d(hs,"P",{class:!0});var Yn=h(Sa);ql=$(Yn,"1 coin will be consumed."),Yn.forEach(o),Bl=I(hs),wa=d(hs,"DIV",{class:!0});var Zn=h(wa);St=d(Zn,"BUTTON",{class:!0});var gr=h(St);Ta=d(gr,"ION-ICON",{class:!0,name:!0}),h(Ta).forEach(o),Ml=I(gr),La=d(gr,"SPAN",{});var Jn=h(La);Hl=$(Jn,"Super Charge!"),Jn.forEach(o),gr.forEach(o),Zn.forEach(o),hs.forEach(o),Pe.forEach(o),Oa.forEach(o),Ba=I(B),Ma=d(B,"HR",{}),this.h()},h(){i(l,"class","svelte-d976ti"),i(p,"class","highlight large svelte-d976ti"),i(f,"class","main svelte-d976ti"),i(P,"type","radio"),i(P,"id","she"),i(P,"name","pronoun"),i(P,"class","svelte-d976ti"),i(A,"for","she"),i(A,"class","svelte-d976ti"),i(g,"class","aside aside-1 svelte-d976ti"),i(v,"class","option-container svelte-d976ti"),i(S,"class","highlight large svelte-d976ti"),i(E,"class","main svelte-d976ti"),i(N,"type","radio"),i(N,"id","him"),i(N,"name","pronoun"),i(N,"class","svelte-d976ti"),i(L,"for","him"),i(L,"class","svelte-d976ti"),i(T,"class","aside aside-1 svelte-d976ti"),i(O,"class","option-container svelte-d976ti"),i(Z,"class","highlight large svelte-d976ti"),i(W,"class","main svelte-d976ti"),i(ie,"type","radio"),i(ie,"id","they"),i(ie,"name","pronoun"),i(ie,"class","svelte-d976ti"),i(_e,"for","they"),i(_e,"class","svelte-d976ti"),i(H,"class","aside aside-1 svelte-d976ti"),i(M,"class","option-container svelte-d976ti"),i(ge,"class","highlight large svelte-d976ti"),i(ve,"class","main svelte-d976ti"),i($e,"type","radio"),i($e,"id","cat"),i($e,"name","pronoun"),i($e,"class","svelte-d976ti"),i(Y,"for","cat"),i(Y,"class","svelte-d976ti"),i(me,"class","aside aside-1 svelte-d976ti"),i(de,"class","option-container svelte-d976ti"),i(s,"id","group2"),i(s,"class","svelte-d976ti"),i(De,"class","svelte-d976ti"),i(nt,"class","aside aside-1 svelte-d976ti"),i(Le,"class","option-container svelte-d976ti"),i(ot,"class","aside aside-1 svelte-d976ti"),i(Se,"class","option-container svelte-d976ti"),i(ut,"class","aside aside-1 svelte-d976ti"),i(ct,"class","option-container svelte-d976ti"),i(Ce,"class","aside aside-1 svelte-d976ti"),i(dt,"class","option-container svelte-d976ti"),i(vt,"class","aside aside-1 svelte-d976ti"),i(ze,"class","option-container svelte-d976ti"),i(ke,"class","aside aside-1 svelte-d976ti"),i(Ge,"class","option-container svelte-d976ti"),i(It,"class","aside aside-1 svelte-d976ti"),i(bt,"class","option-container svelte-d976ti"),i(ce,"class","inline-container svelte-d976ti"),i(Re,"id","group5"),i(Re,"class","svelte-d976ti"),i(yt,"class","svelte-d976ti"),i($t,"class","highlight large svelte-d976ti"),i(et,"class","main svelte-d976ti"),i(Be,"type","radio"),i(Be,"id","beach"),i(Be,"name","location"),i(Be,"class","svelte-d976ti"),i(Ze,"for","beach"),i(Ze,"class","svelte-d976ti"),i(tt,"class","aside aside-1 svelte-d976ti"),i(xe,"class","option-container svelte-d976ti"),i(At,"class","highlight large svelte-d976ti"),i(st,"class","main svelte-d976ti"),i(Me,"type","radio"),i(Me,"id","planet"),i(Me,"name","location"),i(Me,"class","svelte-d976ti"),i(bs,"for","planet"),i(bs,"class","svelte-d976ti"),i(at,"class","aside aside-1 svelte-d976ti"),i(Ae,"class","option-container svelte-d976ti"),i(Bs,"class","highlight large svelte-d976ti"),i(qs,"class","main svelte-d976ti"),i(Ut,"type","radio"),i(Ut,"id","sea"),i(Ut,"name","location"),i(Ut,"class","svelte-d976ti"),i(Is,"for","sea"),i(Is,"class","svelte-d976ti"),i(Vt,"class","aside aside-1 svelte-d976ti"),i(Rt,"class","option-container svelte-d976ti"),i(Hs,"class","highlight large svelte-d976ti"),i(Ms,"class","main svelte-d976ti"),i(Bt,"type","radio"),i(Bt,"id","city"),i(Bt,"name","location"),i(Bt,"class","svelte-d976ti"),i(ys,"for","city"),i(ys,"class","svelte-d976ti"),i(qt,"class","aside aside-1 svelte-d976ti"),i(Lt,"class","option-container svelte-d976ti"),i(Ws,"class","highlight large svelte-d976ti"),i(js,"class","main svelte-d976ti"),i(jt,"type","radio"),i(jt,"id","forest"),i(jt,"name","location"),i(jt,"class","svelte-d976ti"),i($s,"for","forest"),i($s,"class","svelte-d976ti"),i(Ht,"class","aside aside-1 svelte-d976ti"),i(Mt,"class","option-container svelte-d976ti"),i(fe,"id","group1"),i(fe,"class","svelte-d976ti"),i(Fs,"class","svelte-d976ti"),i(Qs,"class","aside aside-1 svelte-d976ti"),i(zs,"class","option-container svelte-d976ti"),i(Ys,"class","aside aside-1 svelte-d976ti"),i(Gs,"class","option-container svelte-d976ti"),i(Js,"class","aside aside-1 svelte-d976ti"),i(Zs,"class","option-container svelte-d976ti"),i(Xs,"class","aside aside-1 svelte-d976ti"),i(Ks,"class","option-container svelte-d976ti"),i(ea,"class","aside aside-1 svelte-d976ti"),i(xs,"class","option-container svelte-d976ti"),i(sa,"class","aside aside-1 svelte-d976ti"),i(ta,"class","option-container svelte-d976ti"),i(ra,"class","aside aside-1 svelte-d976ti"),i(aa,"class","option-container svelte-d976ti"),i(ia,"class","aside aside-1 svelte-d976ti"),i(la,"class","option-container svelte-d976ti"),i(oa,"class","aside aside-1 svelte-d976ti"),i(na,"class","option-container svelte-d976ti"),i(ua,"class","aside aside-1 svelte-d976ti"),i(ca,"class","option-container svelte-d976ti"),i(va,"class","aside aside-1 svelte-d976ti"),i(da,"class","option-container svelte-d976ti"),i(re,"class","inline-container svelte-d976ti"),i(Dt,"id","group3"),i(Dt,"class","svelte-d976ti"),i(fa,"class","svelte-d976ti"),i(pa,"class","highlight large svelte-d976ti"),i(ha,"class","main svelte-d976ti"),i(ss,"type","radio"),i(ss,"id","discovery"),i(ss,"name","expression"),i(ss,"class","svelte-d976ti"),i(As,"for","discovery"),i(As,"class","svelte-d976ti"),i(ts,"class","aside aside-1 svelte-d976ti"),i(es,"class","option-container svelte-d976ti"),i(ma,"class","highlight large svelte-d976ti"),i(_a,"class","main svelte-d976ti"),i(ls,"type","radio"),i(ls,"id","happy"),i(ls,"name","expression"),i(ls,"class","svelte-d976ti"),i(Ds,"for","happy"),i(Ds,"class","svelte-d976ti"),i(rs,"class","aside aside-1 svelte-d976ti"),i(as,"class","option-container svelte-d976ti"),i(Ea,"class","highlight large svelte-d976ti"),i(ga,"class","main svelte-d976ti"),i(os,"type","radio"),i(os,"id","serious"),i(os,"name","expression"),i(os,"class","svelte-d976ti"),i(Cs,"for","serious"),i(Cs,"class","svelte-d976ti"),i(ns,"class","aside aside-1 svelte-d976ti"),i(is,"class","option-container svelte-d976ti"),i(Ia,"class","highlight large svelte-d976ti"),i(ba,"class","main svelte-d976ti"),i(ds,"type","radio"),i(ds,"id","sad"),i(ds,"name","expression"),i(ds,"class","svelte-d976ti"),i(Ps,"for","sad"),i(Ps,"class","svelte-d976ti"),i(us,"class","aside aside-1 svelte-d976ti"),i(cs,"class","option-container svelte-d976ti"),i(Ne,"id","group4"),i(Ne,"class","svelte-d976ti"),i(ya,"class","svelte-d976ti"),i(Aa,"class","aside aside-1 svelte-d976ti"),i($a,"class","option-container svelte-d976ti"),i(Ct,"id","group6"),i(Ct,"class","pose-container svelte-d976ti"),i(Da,"class","svelte-d976ti"),i(Pt,"id","group7"),i(Pt,"class","creative-container svelte-d976ti"),i(Ca,"class","svelte-d976ti"),i(Pa,"class","svelte-d976ti"),i(Sa,"class","highlight accent svelte-d976ti"),K(Ta,"class","icon svelte-d976ti"),K(Ta,"name","color-palette-sharp"),i(St,"class","submit-button svelte-d976ti"),i(wa,"class","vibrate svelte-d976ti"),i(Je,"class","submission-container svelte-d976ti"),i(r,"class","thoughts-form svelte-d976ti"),i(e,"class","thought-container")},m(B,Oa){q(B,e,Oa),t(e,r),t(r,s),t(s,l),t(l,n),t(s,c),t(s,v),t(v,f),t(f,p),t(p,m),t(v,_),t(v,g),t(g,P),t(g,C),t(g,A),t(A,w),t(s,D),t(s,O),t(O,E),t(E,S),t(S,R),t(O,k),t(O,T),t(T,N),t(T,U),t(T,L),t(L,j),t(s,V),t(s,M),t(M,W),t(W,Z),t(Z,J),t(M,Q),t(M,H),t(H,ie),t(H,x),t(H,_e),t(_e,He),t(s,je),t(s,de),t(de,ve),t(ve,ge),t(ge,gt),t(de,Et),t(de,me),t(me,$e),t(me,X),t(me,Y),t(Y,Ue),t(r,Ee),t(r,Re),t(Re,De),t(De,be),t(Re,We),t(Re,ce),t(ce,Le),t(Le,nt),se(Fe,nt,null),t(ce,_s),t(ce,Se),t(Se,ot),se(we,ot,null),t(ce,ms),t(ce,ct),t(ct,ut),se(Te,ut,null),t(ce,gs),t(ce,dt),t(dt,Ce),se(Oe,Ce,null),t(ce,Es),t(ce,ze),t(ze,vt),se(Qe,vt,null),t(ce,Os),t(ce,Ge),t(Ge,ke),se(Xe,ke,null),t(ce,Ye),t(ce,bt),t(bt,It),se(qe,It,null),t(r,Tt),t(r,fe),t(fe,yt),t(yt,ks),t(fe,ft),t(fe,xe),t(xe,et),t(et,$t),t($t,Ot),t(xe,Ns),t(xe,tt),t(tt,Be),t(tt,Rs),t(tt,Ze),t(Ze,Vs),t(fe,kt),t(fe,Ae),t(Ae,st),t(st,At),t(At,Nt),t(Ae,Us),t(Ae,at),t(at,Me),t(at,Ls),t(at,bs),t(bs,Tr),t(fe,Or),t(fe,Rt),t(Rt,qs),t(qs,Bs),t(Bs,kr),t(Rt,Nr),t(Rt,Vt),t(Vt,Ut),t(Vt,Rr),t(Vt,Is),t(Is,Vr),t(fe,Ur),t(fe,Lt),t(Lt,Ms),t(Ms,Hs),t(Hs,Lr),t(Lt,qr),t(Lt,qt),t(qt,Bt),t(qt,Br),t(qt,ys),t(ys,Mr),t(fe,Hr),t(fe,Mt),t(Mt,js),t(js,Ws),t(Ws,jr),t(Mt,Wr),t(Mt,Ht),t(Ht,jt),t(Ht,Fr),t(Ht,$s),t($s,zr),t(r,Qr),t(r,Dt),t(Dt,Fs),t(Fs,Gr),t(Dt,Yr),t(Dt,re),t(re,zs),t(zs,Qs),se(Wt,Qs,null),t(re,Zr),t(re,Gs),t(Gs,Ys),se(Ft,Ys,null),t(re,Jr),t(re,Zs),t(Zs,Js),se(zt,Js,null),t(re,Kr),t(re,Ks),t(Ks,Xs),se(Qt,Xs,null),t(re,Xr),t(re,xs),t(xs,ea),se(Gt,ea,null),t(re,xr),t(re,ta),t(ta,sa),se(Yt,sa,null),t(re,el),t(re,aa),t(aa,ra),se(Zt,ra,null),t(re,tl),t(re,la),t(la,ia),se(Jt,ia,null),t(re,sl),t(re,na),t(na,oa),se(Kt,oa,null),t(re,al),t(re,ca),t(ca,ua),se(Xt,ua,null),t(re,rl),t(re,da),t(da,va),se(xt,va,null),t(r,ll),t(r,Ne),t(Ne,fa),t(fa,il),t(Ne,nl),t(Ne,es),t(es,ha),t(ha,pa),t(pa,ol),t(es,cl),t(es,ts),t(ts,ss),t(ts,ul),t(ts,As),t(As,dl),t(Ne,vl),t(Ne,as),t(as,_a),t(_a,ma),t(ma,fl),t(as,hl),t(as,rs),t(rs,ls),t(rs,pl),t(rs,Ds),t(Ds,_l),t(Ne,ml),t(Ne,is),t(is,ga),t(ga,Ea),t(Ea,gl),t(is,El),t(is,ns),t(ns,os),t(ns,bl),t(ns,Cs),t(Cs,Il),t(Ne,yl),t(Ne,cs),t(cs,ba),t(ba,Ia),t(Ia,$l),t(cs,Al),t(cs,us),t(us,ds),t(us,Dl),t(us,Ps),t(Ps,Cl),t(r,Pl),t(r,Ct),t(Ct,ya),t(ya,Sl),t(Ct,wl),t(Ct,$a),t($a,Aa),se(vs,Aa,null),t(r,Tl),t(r,Pt),t(Pt,Da),t(Da,Ol),t(Pt,kl),se(fs,Pt,null),t(r,Nl),t(r,Je),t(Je,Ca),t(Ca,Rl),t(Je,Vl),t(Je,Pa),t(Pa,Ul),t(Je,Ll),t(Je,Sa),t(Sa,ql),t(Je,Bl),t(Je,wa),t(wa,St),t(St,Ta),t(St,Ml),t(St,La),t(La,Hl),q(B,Ba,Oa),q(B,Ma,Oa),Ha=!0,jl||(hi=[le(P,"change",pe(a[0])),le(N,"change",pe(a[0])),le(ie,"change",pe(a[0])),le($e,"change",pe(a[0])),le(Be,"change",pe(a[0])),le(Me,"change",pe(a[0])),le(Ut,"change",pe(a[0])),le(Bt,"change",pe(a[0])),le(jt,"change",pe(a[0])),le(ss,"change",pe(a[0])),le(ls,"change",pe(a[0])),le(os,"change",pe(a[0])),le(ds,"change",pe(a[0])),le(St,"click",pe(a[3]))],jl=!0)},p:oe,i(B){Ha||(F(Fe.$$.fragment,B),F(we.$$.fragment,B),F(Te.$$.fragment,B),F(Oe.$$.fragment,B),F(Qe.$$.fragment,B),F(Xe.$$.fragment,B),F(qe.$$.fragment,B),F(Wt.$$.fragment,B),F(Ft.$$.fragment,B),F(zt.$$.fragment,B),F(Qt.$$.fragment,B),F(Gt.$$.fragment,B),F(Yt.$$.fragment,B),F(Zt.$$.fragment,B),F(Jt.$$.fragment,B),F(Kt.$$.fragment,B),F(Xt.$$.fragment,B),F(xt.$$.fragment,B),F(vs.$$.fragment,B),F(fs.$$.fragment,B),Ha=!0)},o(B){z(Fe.$$.fragment,B),z(we.$$.fragment,B),z(Te.$$.fragment,B),z(Oe.$$.fragment,B),z(Qe.$$.fragment,B),z(Xe.$$.fragment,B),z(qe.$$.fragment,B),z(Wt.$$.fragment,B),z(Ft.$$.fragment,B),z(zt.$$.fragment,B),z(Qt.$$.fragment,B),z(Gt.$$.fragment,B),z(Yt.$$.fragment,B),z(Zt.$$.fragment,B),z(Jt.$$.fragment,B),z(Kt.$$.fragment,B),z(Xt.$$.fragment,B),z(xt.$$.fragment,B),z(vs.$$.fragment,B),z(fs.$$.fragment,B),Ha=!1},d(B){B&&o(e),ae(Fe),ae(we),ae(Te),ae(Oe),ae(Qe),ae(Xe),ae(qe),ae(Wt),ae(Ft),ae(zt),ae(Qt),ae(Gt),ae(Yt),ae(Zt),ae(Jt),ae(Kt),ae(Xt),ae(xt),ae(vs),ae(fs),B&&o(Ba),B&&o(Ma),jl=!1,Ar(hi)}}}function $u(a,e,r){const s=Ts();qa.subscribe(_=>{});let{profileImageFile:l}=e,n={};const c=async _=>{n[_.target.name]=_.target.id},v=_=>{n[_.detail.name]=_.detail.id},f=_=>{n.weight=_.detail},p=async _=>{s("onPromptComplete",n)},m=_=>{n.creative=_.detail};return a.$$set=_=>{"profileImageFile"in _&&r(5,l=_.profileImageFile)},[c,v,f,p,m,l]}class Au extends rt{constructor(e){super(),lt(this,e,$u,yu,it,{profileImageFile:5})}}function Du(a){let e,r,s,l,n,c,v,f,p,m,_,g,P,C,A,w,D,O,E,S,R,k,T,N,U,L,j,V,M,W,Z,J,Q,H,ie,x,_e,He,je,de,ve,ge,gt,Et,me,$e,X,Y,Ue,Ee,Re,De,be,We,ce,Le,nt,Fe,_s,Se,ot,we,ms,ct,ut,Te,gs,dt,Ce,Oe,Es,ze,vt,Qe,Os;return{c(){e=u("div"),r=u("section"),s=u("article"),l=u("h2"),n=y("Britelite is the avatar super charger."),c=b(),v=u("p"),f=y("Put an image of yourself through the Britelite and give it a super charge."),p=b(),m=u("picture"),_=u("source"),g=b(),P=u("img"),A=b(),w=u("button"),D=u("ion-icon"),O=b(),E=u("span"),S=y("Watch Video"),R=b(),k=u("section"),T=u("div"),N=u("article"),U=u("h2"),L=y("You own it."),j=b(),V=u("p"),M=y(`We don't use, track, or keep what you create. What you make is yours. Our business model is subscription based and we keep an easy to read `),W=u("a"),Z=y("terms of service"),J=y(" agreement."),Q=b(),H=u("p"),ie=y("We also respect your "),x=u("a"),_e=y("privacy"),He=y(`, regardless of the country you hail from.`),je=b(),de=u("section"),ve=u("article"),ge=u("h2"),gt=y("Two tiers: free or subscribe."),Et=b(),me=u("div"),$e=u("div"),X=u("picture"),Y=u("source"),Ue=b(),Ee=u("img"),De=b(),be=u("div"),We=u("p"),ce=y(`We are working on adding more power to Britelite. We limit everyone without a SpaceLab to `),Le=u("span"),nt=y("3"),Fe=y(" per day."),_s=b(),Se=u("p"),ot=y("If you subscribe to SpaceLab, you receive "),we=u("span"),ms=y("12"),ct=y(" per day."),ut=b(),Te=u("p"),gs=y(`To use Britelite, the only requirement is to create an account. Accounts are required so diff --git a/_app/immutable/pages/britelite/index.svelte-ff0c09fe.js b/_app/immutable/pages/britelite/index.svelte-ff0c09fe.js deleted file mode 100644 index ddf5df04..00000000 --- a/_app/immutable/pages/britelite/index.svelte-ff0c09fe.js +++ /dev/null @@ -1,23 +0,0 @@ -import{S as st,i as at,s as rt,e as u,c as d,a as f,d as o,b as i,g as q,q as B,l as ht,n as ws,o as W,p as Ss,N as go,$ as Ts,k as b,t as y,m as $,h as A,H as G,I as s,j as $e,E as le,w as X,x,y as ee,B as te,J as ae,L as fe,K as Gl,a1 as Ar,R as Ra,a3 as Do,u as Po,_ as Eo,f as bo,a2 as Yl,O as Kn,C as Xn,a4 as wo,a5 as So,a6 as To,P as xn,Q as eo,G as Oo,v as Kl,X as No,a7 as ko}from"../../chunks/index-8ed999ca.js";import{g as Wl}from"../../chunks/navigation-0e6511d1.js";import{a as qa}from"../../chunks/accountStore-859cf7a0.js";import{c as to}from"../../chunks/briteliteStore-1636fc63.js";import{S as Ro}from"../../chunks/Saos-dbfe5fbc.js";import{w as Uo}from"../../chunks/index-71ac3aa5.js";import"../../chunks/singletons-d1fb5791.js";function so(r,e,a){const t=r.slice();return t[8]=e[a],t[10]=a,t}function ao(r){let e,a,t=r[0],l=[];for(let c=0;cW(l[c],1,1,()=>{l[c]=null});return{c(){e=u("ul");for(let c=0;c0?0:1}return e=h(r),a=c[e]=n[e](r),{c(){a.c(),t=ht()},l(v){a.l(v),t=ht()},m(v,p){c[e].m(v,p),q(v,t,p),l=!0},p(v,p){let m=e;e=h(v),e===m?c[e].p(v,p):(ws(),W(c[m],1,1,()=>{c[m]=null}),Ss(),a=c[e],a?a.p(v,p):(a=c[e]=n[e](v),a.c()),B(a,1),a.m(t.parentNode,t))},i(v){l||(B(a),l=!0)},o(v){W(a),l=!1},d(v){c[e].d(v),v&&o(t)}}}function Ho(r){let e,a,t=r[0].length>0&&ao(r);return{c(){e=u("div"),t&&t.c()},l(l){e=d(l,"DIV",{});var n=f(e);t&&t.l(n),n.forEach(o)},m(l,n){q(l,e,n),t&&t.m(e,null),a=!0},p(l,[n]){l[0].length>0?t?(t.p(l,n),n&1&&B(t,1)):(t=ao(l),t.c(),B(t,1),t.m(e,null)):t&&(ws(),W(t,1,1,()=>{t=null}),Ss())},i(l){a||(B(t),a=!0)},o(l){W(t),a=!1},d(l){l&&o(e),t&&t.d()}}}function Ir(r){return typeof r!="undefined"?new Date(r).toLocaleDateString("en-us",{year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"}):null}function jo(r){}function Wo(r,e={}){let a;const t=n=>{const c=n[0].isIntersecting?"enter":"exit";r.dispatchEvent(new CustomEvent(c))},l=({root:n,top:c,bottom:h})=>{const v=c?c*-1:0,p=h?h*-1:0,m=`${v}px 0px ${p}px 0px`,_={root:n,rootMargin:m};a&&a.disconnect(),a=new IntersectionObserver(t,_),a.observe(r)};return l(e),{update(n){l(n)},destroy(){a&&a.disconnect()}}}function Fo(r,e,a){let{briteliteQueues:t=[]}=e;to.subscribe(p=>{});const l=Ts();qa.subscribe(p=>{});function n(p){to.update(m=>p),l("onSelectImage")}async function c(){l("loadMore")}const h=()=>c(),v=()=>console.log("exit");return r.$$set=p=>{"briteliteQueues"in p&&a(0,t=p.briteliteQueues)},[t,n,c,h,v]}class zo extends st{constructor(e){super(),at(this,e,Fo,Ho,rt,{briteliteQueues:0})}}function $o(r){const e=r-1;return e*e*e+1}function lo(r,e,a){const t=r.slice();return t[1]=e[a],t}function io(r){let e,a,t,l,n,c,h,v,p,m,_,E=oo(r[1].eta_relative)+"",D,P;return{c(){e=u("h3"),a=y("Processing"),t=b(),l=u("div"),n=u("progress"),h=b(),v=u("span"),p=u("ion-icon"),m=b(),_=u("span"),D=y(E),P=b(),this.h()},l(I){e=d(I,"H3",{class:!0});var S=f(e);a=A(S,"Processing"),S.forEach(o),t=$(I),l=d(I,"DIV",{class:!0});var C=f(l);n=d(C,"PROGRESS",{class:!0,max:!0}),f(n).forEach(o),h=$(C),v=d(C,"SPAN",{class:!0});var O=f(v);p=d(O,"ION-ICON",{class:!0,name:!0}),f(p).forEach(o),m=$(O),_=d(O,"SPAN",{class:!0});var g=f(_);D=A(g,E),g.forEach(o),O.forEach(o),P=$(C),C.forEach(o),this.h()},h(){i(e,"class","svelte-1qy2w0p"),i(n,"class","progress-bar svelte-1qy2w0p"),n.value=c=r[1].progress,i(n,"max","1"),G(p,"class","icon svelte-1qy2w0p"),G(p,"name","alarm-sharp"),i(_,"class","duration svelte-1qy2w0p"),i(v,"class","svelte-1qy2w0p"),i(l,"class","progress-row svelte-1qy2w0p")},m(I,S){q(I,e,S),s(e,a),q(I,t,S),q(I,l,S),s(l,n),s(l,h),s(l,v),s(v,p),s(v,m),s(v,_),s(_,D),s(l,P)},p(I,S){S&1&&c!==(c=I[1].progress)&&(n.value=c),S&1&&E!==(E=oo(I[1].eta_relative)+"")&&$e(D,E)},d(I){I&&o(e),I&&o(t),I&&o(l)}}}function no(r){let e,a=r[1].progress<1&&io(r);return{c(){a&&a.c(),e=ht()},l(t){a&&a.l(t),e=ht()},m(t,l){a&&a.m(t,l),q(t,e,l)},p(t,l){t[1].progress<1?a?a.p(t,l):(a=io(t),a.c(),a.m(e.parentNode,e)):a&&(a.d(1),a=null)},d(t){a&&a.d(t),t&&o(e)}}}function Qo(r){let e,a=r[0],t=[];for(let l=0;l0&&(l+=`${e} hour${e>1?"s":""} `),a>0&&(l+=`${a} minute${a>1?"s":""} `),a===0&&e===0&&(l+=`${t} second${t>1?"s":""}`),l.trim()}function Go(r,e,a){let{jobs:t=[]}=e;return t.forEach(l=>{let n=parseFloat(l.progress),c=isFinite(n)?Math.max(0,Math.min(n,1)):0,h,v;const p=_=>{const E=_-h,D=1e3,P=$o(E/D);l.progress=c*P,E{h=performance.now(),v=requestAnimationFrame(p)};Po(()=>{m()}),Eo(()=>{cancelAnimationFrame(v),l.progress=0})}),r.$$set=l=>{"jobs"in l&&a(0,t=l.jobs)},[t]}class Yo extends st{constructor(e){super(),at(this,e,Go,Qo,rt,{jobs:0})}}function Zo(r){let e,a,t,l,n,c,h;return{c(){e=u("button"),a=u("ion-icon"),t=b(),l=u("span"),n=y("Upload"),this.h()},l(v){e=d(v,"BUTTON",{});var p=f(e);a=d(p,"ION-ICON",{class:!0,name:!0}),f(a).forEach(o),t=$(p),l=d(p,"SPAN",{});var m=f(l);n=A(m,"Upload"),m.forEach(o),p.forEach(o),this.h()},h(){G(a,"class","icon svelte-bsedi5"),G(a,"name","color-palette-sharp")},m(v,p){q(v,e,p),s(e,a),s(e,t),s(e,l),s(l,n),c||(h=ae(e,"click",fe(r[2])),c=!0)},p:le,d(v){v&&o(e),c=!1,h()}}}function Jo(r){let e,a,t,l,n,c,h,v,p,m,_,E,D,P;function I(O,g){return Zo}let C=I()(r);return{c(){e=u("div"),a=u("article"),t=u("h4"),l=u("ion-icon"),n=y(" Super Charged Avatar"),c=b(),h=u("p"),v=y("Upload your avatar. Recommended size is 512x512 pixels."),p=b(),m=u("aside"),_=u("input"),E=b(),C.c(),this.h()},l(O){e=d(O,"DIV",{class:!0});var g=f(e);a=d(g,"ARTICLE",{class:!0});var w=f(a);t=d(w,"H4",{class:!0});var k=f(t);l=d(k,"ION-ICON",{name:!0,class:!0}),f(l).forEach(o),n=A(k," Super Charged Avatar"),k.forEach(o),c=$(w),h=d(w,"P",{class:!0});var N=f(h);v=A(N,"Upload your avatar. Recommended size is 512x512 pixels."),N.forEach(o),w.forEach(o),p=$(g),m=d(g,"ASIDE",{class:!0});var T=f(m);_=d(T,"INPUT",{style:!0,type:!0,accept:!0}),E=$(T),C.l(T),T.forEach(o),g.forEach(o),this.h()},h(){G(l,"name","image"),G(l,"class","svelte-bsedi5"),i(t,"class","highlight large supercharged svelte-bsedi5"),i(h,"class","svelte-bsedi5"),i(a,"class","main supercharged-container svelte-bsedi5"),bo(_,"display","none"),i(_,"type","file"),i(_,"accept",".jpg, .jpeg, .png, .webp, .gif"),i(m,"class","aside aside-1"),i(e,"class","option-container svelte-bsedi5")},m(O,g){q(O,e,g),s(e,a),s(a,t),s(t,l),s(t,n),s(a,c),s(a,h),s(h,v),s(e,p),s(e,m),s(m,_),r[6](_),s(m,E),C.m(m,null),D||(P=ae(_,"change",r[5]),D=!0)},p(O,[g]){C.p(O,g)},i:le,o:le,d(O){O&&o(e),r[6](null),C.d(),D=!1,P()}}}function Ko(r,e,a){let{isImageUploading:t=!1}=e,l;const n=Ts(),c=async _=>{l.click()},h=async _=>{n("onViewAvatar")},v=async _=>{n("onFileSelected",{file:_.target.files[0]})},p=_=>v(_);function m(_){Yl[_?"unshift":"push"](()=>{l=_,a(1,l)})}return r.$$set=_=>{"isImageUploading"in _&&a(0,t=_.isImageUploading)},[t,l,c,h,v,p,m]}class Xo extends st{constructor(e){super(),at(this,e,Ko,Jo,rt,{isImageUploading:0})}}function xo(r){let e,a,t,l,n,c,h;return{c(){e=u("input"),a=b(),t=u("label"),l=y("happy"),this.h()},l(v){e=d(v,"INPUT",{type:!0,id:!0,name:!0,class:!0}),a=$(v),t=d(v,"LABEL",{for:!0,class:!0});var p=f(t);l=A(p,"happy"),p.forEach(o),this.h()},h(){i(e,"type","radio"),i(e,"id",r[0]),i(e,"name",r[1]),i(e,"class","svelte-j9l9jp"),i(t,"for",r[0]),i(t,"class",n=Kn(r[0])+" svelte-j9l9jp")},m(v,p){q(v,e,p),q(v,a,p),q(v,t,p),s(t,l),c||(h=ae(e,"change",fe(function(){Gl(r[2](r[1],r[0]))&&r[2](r[1],r[0]).apply(this,arguments)})),c=!0)},p(v,[p]){r=v,p&1&&i(e,"id",r[0]),p&2&&i(e,"name",r[1]),p&1&&i(t,"for",r[0]),p&1&&n!==(n=Kn(r[0])+" svelte-j9l9jp")&&i(t,"class",n)},i:le,o:le,d(v){v&&o(e),v&&o(a),v&&o(t),c=!1,h()}}}function ec(r,e,a){const t=Ts();function l(h,v){t("onColorChange",{name:h,id:v})}let{id:n="green"}=e,{name:c="expression"}=e;return r.$$set=h=>{"id"in h&&a(0,n=h.id),"name"in h&&a(1,c=h.name)},[n,c,l]}class _e extends st{constructor(e){super(),at(this,e,ec,xo,rt,{id:0,name:1})}}function co(r){return Object.prototype.toString.call(r)==="[object Date]"}function Zl(r,e){if(r===e||r!==r)return()=>r;const a=typeof r;if(a!==typeof e||Array.isArray(r)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(r)){const t=e.map((l,n)=>Zl(r[n],l));return l=>t.map(n=>n(l))}if(a==="object"){if(!r||!e)throw new Error("Object cannot be null");if(co(r)&&co(e)){r=r.getTime(),e=e.getTime();const n=e-r;return c=>new Date(r+c*n)}const t=Object.keys(e),l={};return t.forEach(n=>{l[n]=Zl(r[n],e[n])}),n=>{const c={};return t.forEach(h=>{c[h]=l[h](n)}),c}}if(a==="number"){const t=e-r;return l=>r+l*t}throw new Error(`Cannot interpolate ${a} values`)}function tc(r,e={}){const a=Uo(r);let t,l=r;function n(c,h){if(r==null)return a.set(r=c),Promise.resolve();l=c;let v=t,p=!1,{delay:m=0,duration:_=400,easing:E=To,interpolate:D=Zl}=Xn(Xn({},e),h);if(_===0)return v&&(v.abort(),v=null),a.set(r=l),Promise.resolve();const P=wo()+m;let I;return t=So(S=>{if(S_?(a.set(r=c),!1):(a.set(r=I(E(C/_))),!0)}),t.promise}return{set:n,update:(c,h)=>n(c(l,r),h),subscribe:a.subscribe}}var Xl={},xl={},Cr={},ei={},ie={};Object.defineProperty(ie,"__esModule",{value:!0});ie._=void 0;ie.SPACE=" ";ie.FILL="fill";ie.NONE="none";ie.DRAW_LINE_VERTICAL="V";ie.DRAW_LINE_HORIZONTAL="H";ie.DRAW_LINE="L";ie.CLOSE_PATH="Z";ie.MOVE_CURSOR="M";ie.DRAW_CURVE_CUBIC_BEZIER="C";ie.DRAW_CURVE_SMOOTH="S";ie.DRAW_CURVE_QUADRATIC="Q";ie.DRAW_CURVE_QUADRATIC_CONTINUATION="T";ie.DRAW_ARC="A";var ti={};Object.defineProperty(ti,"__esModule",{value:!0});function sc(r){return typeof r=="string"}ti.isString=sc;var pt={};(function(r){Object.defineProperty(r,"__esModule",{value:!0});var e=Math;r.abs=e.abs,r.min=e.min,r.max=e.max,r.floor=e.floor,r.round=e.round,r.sqrt=e.sqrt,r.pow=e.pow,r.cos=e.cos,r.asin=e.asin,r.sin=e.sin,r.tan=e.tan,r.PI=e.PI,r.QUADRATIC_RATIO=2/3,r.EPSILON=r.pow(2,-52)})(pt);Object.defineProperty(ei,"__esModule",{value:!0});var Fl=ie,ac=ti,rc=pt;function lc(r,e){if(e===void 0&&(e=rc.round),ac.isString(r))return r;for(var a=[],t=0;t1&&(k=de.sqrt(k),a=k*a,t=k*t);var N=(n===c?-1:1)*de.sqrt(de.abs((a*a*t*t-a*a*w*w-t*t*g*g)/(a*a*w*w+t*t*g*g)));_=N*a*w/t+(r+h)/2,E=N*-t*g/a+(e+v)/2,p=de.asin((e-E)/t),m=de.asin((v-E)/t),r<_&&(p=de.PI-p),h<_&&(m=de.PI-m),p<0&&(p+=br),m<0&&(m+=br),c&&p>m&&(p-=br),!c&&m>p&&(m-=br)}var T;if(de.abs(m-p)>vo){var R=m,V=h,L=v;m=p+vo*(c&&m>p?1:-1),h=_+a*de.cos(m),v=E+t*de.sin(m),T=Co(h,v,a,t,l,0,c,V,L,m,R,_,E)}else T=[];var j=4/3*de.tan((m-p)/4);if(T.splice(0,0,2*r-(r+j*a*de.sin(p)),2*e-(e-j*t*de.cos(p)),h+j*a*de.sin(m),v-j*t*de.cos(m),h,v),!S)for(var U=0,H=T.length;U()=>O,_=(C,O)=>vu([C,O]);let E=tc(0,{duration:200,easing:$o,interpolate:m});Oo(r,E,C=>a(6,t=C));const D=()=>{let C=p.indexOf(t)+1;return C>=p.length&&(C=0),a(2,c=po(C)),v("onWeightChange",C),E.set(p[C],{interpolate:_})},P=()=>{let C=p.indexOf(t)-1;return C<0&&(C=p.length-1),a(2,c=po(C)),v("onWeightChange",C),E.set(p[C],{interpolate:_})};Kl(()=>{let C;return h=n.attributes.d.nodeValue,p[0]=h,E.set(h),()=>cancelAnimationFrame(C)});function I(C){Yl[C?"unshift":"push"](()=>{n=C,a(0,n)})}function S(C){Yl[C?"unshift":"push"](()=>{l=C,a(1,l)})}return r.$$.update=()=>{r.$$.dirty&65&&t!==0&&n.setAttribute("d",t)},[n,l,c,E,D,P,t,I,S]}class mu extends st{constructor(e){super(),at(this,e,_u,pu,rt,{})}}function gu(r){let e,a,t,l;return{c(){e=u("div"),a=u("input"),this.h()},l(n){e=d(n,"DIV",{class:!0});var c=f(e);a=d(c,"INPUT",{type:!0,min:!0,max:!0,step:!0,id:!0,class:!0}),c.forEach(o),this.h()},h(){i(a,"type","range"),i(a,"min","0"),i(a,"max","1"),i(a,"step","0.01"),a.value="0.5",i(a,"id","balance-range-slider"),i(a,"class","svelte-1905w37"),i(e,"class","balance-container svelte-1905w37")},m(n,c){q(n,e,c),s(e,a),t||(l=ae(a,"input",r[0]),t=!0)},p:le,i:le,o:le,d(n){n&&o(e),t=!1,l()}}}function Eu(r){const e=Ts(),a=t=>{e("onSliderChange",t.target.value)};return Kl(()=>{}),[a]}class bu extends st{constructor(e){super(),at(this,e,Eu,gu,rt,{})}}function $u(r){let e,a,t,l,n,c,h,v,p,m,_,E,D,P,I,S,C,O,g,w,k,N,T,R,V,L,j,U,H,F,J,K,re,Y,ce,De,Ie,_t,mt,me,ge,Pe,gt,Et,ve,Ee,Z,Q,Ve,he,Re,ye,pe,He,ne,Le,lt,je,_s,we,it,Se,ms,nt,ot,Te,gs,ct,Ae,Oe,Es,We,ut,Fe,Os,ze,Ne,Je,Qe,bt,$t,qe,Tt,ue,It,Ns,dt,Ke,Xe,yt,Ot,ks,xe,Me,Rs,Ge,Us,Nt,be,et,At,kt,Vs,tt,Be,Ls,bs,Tr,Or,Rt,qs,Ms,Nr,kr,Ut,Vt,Rr,$s,Ur,Vr,Lt,Bs,Hs,Lr,qr,qt,Mt,Mr,Is,Br,Hr,Bt,js,Ws,jr,Wr,Ht,jt,Fr,ys,zr,Qr,Ct,Fs,Gr,Yr,se,zs,Qs,Wt,Zr,Gs,Ys,Ft,Jr,Zs,Js,zt,Kr,Ks,Xs,Qt,Xr,xs,ea,Gt,xr,ta,sa,Yt,el,aa,ra,Zt,tl,la,ia,Jt,sl,na,oa,Kt,al,ca,ua,Xt,rl,da,fa,xt,ll,ke,va,il,nl,es,ha,pa,ol,cl,ts,ss,ul,As,dl,fl,as,_a,ma,vl,hl,rs,ls,pl,Cs,_l,ml,is,ga,Ea,gl,El,ns,os,bl,Ds,$l,Il,cs,ba,$a,yl,Al,us,ds,Cl,Ps,Dl,Pl,Dt,Ia,wl,Sl,ya,Aa,fs,Tl,Pt,Ca,Ol,Nl,vs,kl,Ye,Da,Rl,Ul,Pa,Vl,Ll,wa,ql,Ml,Sa,wt,Ta,Bl,La,Hl,Ma,Ba,Ha,jl,hi;return je=new _e({props:{id:"eye-brown",name:"eye_color"}}),je.$on("onColorChange",r[1]),Se=new _e({props:{id:"eye-blue",name:"eye_color"}}),Se.$on("onColorChange",r[1]),Te=new _e({props:{id:"eye-black",name:"eye_color"}}),Te.$on("onColorChange",r[1]),Oe=new _e({props:{id:"eye-green",name:"eye_color"}}),Oe.$on("onColorChange",r[1]),Fe=new _e({props:{id:"eye-red",name:"eye_color"}}),Fe.$on("onColorChange",r[1]),Je=new _e({props:{id:"eye-yellow",name:"eye_color"}}),Je.$on("onColorChange",r[1]),qe=new _e({props:{id:"eye-purple",name:"eye_color"}}),qe.$on("onColorChange",r[1]),Wt=new _e({props:{id:"blue",name:"skin_color"}}),Wt.$on("onColorChange",r[1]),Ft=new _e({props:{id:"green",name:"skin_color"}}),Ft.$on("onColorChange",r[1]),zt=new _e({props:{id:"darkest",name:"skin_color"}}),zt.$on("onColorChange",r[1]),Qt=new _e({props:{id:"darker",name:"skin_color"}}),Qt.$on("onColorChange",r[1]),Gt=new _e({props:{id:"dark",name:"skin_color"}}),Gt.$on("onColorChange",r[1]),Yt=new _e({props:{id:"tan",name:"skin_color"}}),Yt.$on("onColorChange",r[1]),Zt=new _e({props:{id:"light",name:"skin_color"}}),Zt.$on("onColorChange",r[1]),Jt=new _e({props:{id:"lighter",name:"skin_color"}}),Jt.$on("onColorChange",r[1]),Kt=new _e({props:{id:"lightest",name:"skin_color"}}),Kt.$on("onColorChange",r[1]),Xt=new _e({props:{id:"purple",name:"skin_color"}}),Xt.$on("onColorChange",r[1]),xt=new _e({props:{id:"red",name:"skin_color"}}),xt.$on("onColorChange",r[1]),fs=new mu({}),fs.$on("onWeightChange",r[2]),vs=new bu({}),vs.$on("onSliderChange",r[4]),{c(){e=u("div"),a=u("form"),t=u("fieldset"),l=u("h2"),n=y("Presentation"),c=b(),h=u("div"),v=u("div"),p=u("h4"),m=y("\u{1F460} She / Her"),_=b(),E=u("aside"),D=u("input"),P=b(),I=u("label"),S=y("she"),C=b(),O=u("div"),g=u("div"),w=u("h4"),k=y("\u{1F45E} He / Him"),N=b(),T=u("aside"),R=u("input"),V=b(),L=u("label"),j=y("him"),U=b(),H=u("div"),F=u("div"),J=u("h4"),K=y("\u{1F9DE} They / Them"),re=b(),Y=u("aside"),ce=u("input"),De=b(),Ie=u("label"),_t=y("they"),mt=b(),me=u("div"),ge=u("div"),Pe=u("h4"),gt=y("\u{1F63B} I'm a cat"),Et=b(),ve=u("aside"),Ee=u("input"),Z=b(),Q=u("label"),Ve=y("cat"),he=b(),Re=u("fieldset"),ye=u("h2"),pe=y("Eye Color"),He=b(),ne=u("div"),Le=u("div"),lt=u("aside"),X(je.$$.fragment),_s=b(),we=u("div"),it=u("aside"),X(Se.$$.fragment),ms=b(),nt=u("div"),ot=u("aside"),X(Te.$$.fragment),gs=b(),ct=u("div"),Ae=u("aside"),X(Oe.$$.fragment),Es=b(),We=u("div"),ut=u("aside"),X(Fe.$$.fragment),Os=b(),ze=u("div"),Ne=u("aside"),X(Je.$$.fragment),Qe=b(),bt=u("div"),$t=u("aside"),X(qe.$$.fragment),Tt=b(),ue=u("fieldset"),It=u("h2"),Ns=y("Favorite place"),dt=b(),Ke=u("div"),Xe=u("div"),yt=u("h4"),Ot=y("\u{1F3DD}\uFE0F Beach"),ks=b(),xe=u("aside"),Me=u("input"),Rs=b(),Ge=u("label"),Us=y("beach"),Nt=b(),be=u("div"),et=u("div"),At=u("h4"),kt=y("\u{1FA90} Unexplored Planet"),Vs=b(),tt=u("aside"),Be=u("input"),Ls=b(),bs=u("label"),Tr=y("planet"),Or=b(),Rt=u("div"),qs=u("div"),Ms=u("h4"),Nr=y("\u{1F41A} Under the Sea"),kr=b(),Ut=u("aside"),Vt=u("input"),Rr=b(),$s=u("label"),Ur=y("sea"),Vr=b(),Lt=u("div"),Bs=u("div"),Hs=u("h4"),Lr=y("\u{1F306} City"),qr=b(),qt=u("aside"),Mt=u("input"),Mr=b(),Is=u("label"),Br=y("city"),Hr=b(),Bt=u("div"),js=u("div"),Ws=u("h4"),jr=y("\u{1F3DE}\uFE0F Rainforest"),Wr=b(),Ht=u("aside"),jt=u("input"),Fr=b(),ys=u("label"),zr=y("forest"),Qr=b(),Ct=u("fieldset"),Fs=u("h2"),Gr=y("Skin Tone"),Yr=b(),se=u("div"),zs=u("div"),Qs=u("aside"),X(Wt.$$.fragment),Zr=b(),Gs=u("div"),Ys=u("aside"),X(Ft.$$.fragment),Jr=b(),Zs=u("div"),Js=u("aside"),X(zt.$$.fragment),Kr=b(),Ks=u("div"),Xs=u("aside"),X(Qt.$$.fragment),Xr=b(),xs=u("div"),ea=u("aside"),X(Gt.$$.fragment),xr=b(),ta=u("div"),sa=u("aside"),X(Yt.$$.fragment),el=b(),aa=u("div"),ra=u("aside"),X(Zt.$$.fragment),tl=b(),la=u("div"),ia=u("aside"),X(Jt.$$.fragment),sl=b(),na=u("div"),oa=u("aside"),X(Kt.$$.fragment),al=b(),ca=u("div"),ua=u("aside"),X(Xt.$$.fragment),rl=b(),da=u("div"),fa=u("aside"),X(xt.$$.fragment),ll=b(),ke=u("fieldset"),va=u("h2"),il=y("Expression"),nl=b(),es=u("div"),ha=u("div"),pa=u("h4"),ol=y("\u{1F929} Excited"),cl=b(),ts=u("aside"),ss=u("input"),ul=b(),As=u("label"),dl=y("discovery"),fl=b(),as=u("div"),_a=u("div"),ma=u("h4"),vl=y("\u{1F601} Happy"),hl=b(),rs=u("aside"),ls=u("input"),pl=b(),Cs=u("label"),_l=y("happy"),ml=b(),is=u("div"),ga=u("div"),Ea=u("h4"),gl=y("\u{1F621} Serious"),El=b(),ns=u("aside"),os=u("input"),bl=b(),Ds=u("label"),$l=y("serious"),Il=b(),cs=u("div"),ba=u("div"),$a=u("h4"),yl=y("\u{1F62D} Rough Times"),Al=b(),us=u("aside"),ds=u("input"),Cl=b(),Ps=u("label"),Dl=y("sad"),Pl=b(),Dt=u("fieldset"),Ia=u("h2"),wl=y("Weight Class"),Sl=b(),ya=u("div"),Aa=u("aside"),X(fs.$$.fragment),Tl=b(),Pt=u("fieldset"),Ca=u("h2"),Ol=y("Close or Creative?"),Nl=b(),X(vs.$$.fragment),kl=b(),Ye=u("div"),Da=u("h2"),Rl=y("Are you ready?"),Ul=b(),Pa=u("p"),Vl=y("Once you've customized your avatar, it's time to create it!"),Ll=b(),wa=u("p"),ql=y("1 coin will be consumed."),Ml=b(),Sa=u("div"),wt=u("button"),Ta=u("ion-icon"),Bl=b(),La=u("span"),Hl=y("Super Charge!"),Ma=b(),Ba=u("hr"),this.h()},l(M){e=d(M,"DIV",{class:!0});var Oa=f(e);a=d(Oa,"FORM",{class:!0});var Ce=f(a);t=d(Ce,"FIELDSET",{id:!0,class:!0});var ft=f(t);l=d(ft,"H2",{class:!0});var pi=f(l);n=A(pi,"Presentation"),pi.forEach(o),c=$(ft),h=d(ft,"DIV",{class:!0});var ja=f(h);v=d(ja,"DIV",{class:!0});var _i=f(v);p=d(_i,"H4",{class:!0});var mi=f(p);m=A(mi,"\u{1F460} She / Her"),mi.forEach(o),_i.forEach(o),_=$(ja),E=d(ja,"ASIDE",{class:!0});var Wa=f(E);D=d(Wa,"INPUT",{type:!0,id:!0,name:!0,class:!0}),P=$(Wa),I=d(Wa,"LABEL",{for:!0,class:!0});var gi=f(I);S=A(gi,"she"),gi.forEach(o),Wa.forEach(o),ja.forEach(o),C=$(ft),O=d(ft,"DIV",{class:!0});var Fa=f(O);g=d(Fa,"DIV",{class:!0});var Ei=f(g);w=d(Ei,"H4",{class:!0});var bi=f(w);k=A(bi,"\u{1F45E} He / Him"),bi.forEach(o),Ei.forEach(o),N=$(Fa),T=d(Fa,"ASIDE",{class:!0});var za=f(T);R=d(za,"INPUT",{type:!0,id:!0,name:!0,class:!0}),V=$(za),L=d(za,"LABEL",{for:!0,class:!0});var $i=f(L);j=A($i,"him"),$i.forEach(o),za.forEach(o),Fa.forEach(o),U=$(ft),H=d(ft,"DIV",{class:!0});var Qa=f(H);F=d(Qa,"DIV",{class:!0});var Ii=f(F);J=d(Ii,"H4",{class:!0});var yi=f(J);K=A(yi,"\u{1F9DE} They / Them"),yi.forEach(o),Ii.forEach(o),re=$(Qa),Y=d(Qa,"ASIDE",{class:!0});var Ga=f(Y);ce=d(Ga,"INPUT",{type:!0,id:!0,name:!0,class:!0}),De=$(Ga),Ie=d(Ga,"LABEL",{for:!0,class:!0});var Ai=f(Ie);_t=A(Ai,"they"),Ai.forEach(o),Ga.forEach(o),Qa.forEach(o),mt=$(ft),me=d(ft,"DIV",{class:!0});var Ya=f(me);ge=d(Ya,"DIV",{class:!0});var Ci=f(ge);Pe=d(Ci,"H4",{class:!0});var Di=f(Pe);gt=A(Di,"\u{1F63B} I'm a cat"),Di.forEach(o),Ci.forEach(o),Et=$(Ya),ve=d(Ya,"ASIDE",{class:!0});var Za=f(ve);Ee=d(Za,"INPUT",{type:!0,id:!0,name:!0,class:!0}),Z=$(Za),Q=d(Za,"LABEL",{for:!0,class:!0});var Pi=f(Q);Ve=A(Pi,"cat"),Pi.forEach(o),Za.forEach(o),Ya.forEach(o),ft.forEach(o),he=$(Ce),Re=d(Ce,"FIELDSET",{id:!0,class:!0});var Ja=f(Re);ye=d(Ja,"H2",{class:!0});var wi=f(ye);pe=A(wi,"Eye Color"),wi.forEach(o),He=$(Ja),ne=d(Ja,"DIV",{class:!0});var Ue=f(ne);Le=d(Ue,"DIV",{class:!0});var Si=f(Le);lt=d(Si,"ASIDE",{class:!0});var Ti=f(lt);x(je.$$.fragment,Ti),Ti.forEach(o),Si.forEach(o),_s=$(Ue),we=d(Ue,"DIV",{class:!0});var Oi=f(we);it=d(Oi,"ASIDE",{class:!0});var Ni=f(it);x(Se.$$.fragment,Ni),Ni.forEach(o),Oi.forEach(o),ms=$(Ue),nt=d(Ue,"DIV",{class:!0});var ki=f(nt);ot=d(ki,"ASIDE",{class:!0});var Ri=f(ot);x(Te.$$.fragment,Ri),Ri.forEach(o),ki.forEach(o),gs=$(Ue),ct=d(Ue,"DIV",{class:!0});var Ui=f(ct);Ae=d(Ui,"ASIDE",{class:!0});var Vi=f(Ae);x(Oe.$$.fragment,Vi),Vi.forEach(o),Ui.forEach(o),Es=$(Ue),We=d(Ue,"DIV",{class:!0});var Li=f(We);ut=d(Li,"ASIDE",{class:!0});var qi=f(ut);x(Fe.$$.fragment,qi),qi.forEach(o),Li.forEach(o),Os=$(Ue),ze=d(Ue,"DIV",{class:!0});var Mi=f(ze);Ne=d(Mi,"ASIDE",{class:!0});var Bi=f(Ne);x(Je.$$.fragment,Bi),Bi.forEach(o),Mi.forEach(o),Qe=$(Ue),bt=d(Ue,"DIV",{class:!0});var Hi=f(bt);$t=d(Hi,"ASIDE",{class:!0});var ji=f($t);x(qe.$$.fragment,ji),ji.forEach(o),Hi.forEach(o),Ue.forEach(o),Ja.forEach(o),Tt=$(Ce),ue=d(Ce,"FIELDSET",{id:!0,class:!0});var Ze=f(ue);It=d(Ze,"H2",{class:!0});var Wi=f(It);Ns=A(Wi,"Favorite place"),Wi.forEach(o),dt=$(Ze),Ke=d(Ze,"DIV",{class:!0});var Ka=f(Ke);Xe=d(Ka,"DIV",{class:!0});var Fi=f(Xe);yt=d(Fi,"H4",{class:!0});var zi=f(yt);Ot=A(zi,"\u{1F3DD}\uFE0F Beach"),zi.forEach(o),Fi.forEach(o),ks=$(Ka),xe=d(Ka,"ASIDE",{class:!0});var Xa=f(xe);Me=d(Xa,"INPUT",{type:!0,id:!0,name:!0,class:!0}),Rs=$(Xa),Ge=d(Xa,"LABEL",{for:!0,class:!0});var Qi=f(Ge);Us=A(Qi,"beach"),Qi.forEach(o),Xa.forEach(o),Ka.forEach(o),Nt=$(Ze),be=d(Ze,"DIV",{class:!0});var xa=f(be);et=d(xa,"DIV",{class:!0});var Gi=f(et);At=d(Gi,"H4",{class:!0});var Yi=f(At);kt=A(Yi,"\u{1FA90} Unexplored Planet"),Yi.forEach(o),Gi.forEach(o),Vs=$(xa),tt=d(xa,"ASIDE",{class:!0});var er=f(tt);Be=d(er,"INPUT",{type:!0,id:!0,name:!0,class:!0}),Ls=$(er),bs=d(er,"LABEL",{for:!0,class:!0});var Zi=f(bs);Tr=A(Zi,"planet"),Zi.forEach(o),er.forEach(o),xa.forEach(o),Or=$(Ze),Rt=d(Ze,"DIV",{class:!0});var tr=f(Rt);qs=d(tr,"DIV",{class:!0});var Ji=f(qs);Ms=d(Ji,"H4",{class:!0});var Ki=f(Ms);Nr=A(Ki,"\u{1F41A} Under the Sea"),Ki.forEach(o),Ji.forEach(o),kr=$(tr),Ut=d(tr,"ASIDE",{class:!0});var sr=f(Ut);Vt=d(sr,"INPUT",{type:!0,id:!0,name:!0,class:!0}),Rr=$(sr),$s=d(sr,"LABEL",{for:!0,class:!0});var Xi=f($s);Ur=A(Xi,"sea"),Xi.forEach(o),sr.forEach(o),tr.forEach(o),Vr=$(Ze),Lt=d(Ze,"DIV",{class:!0});var ar=f(Lt);Bs=d(ar,"DIV",{class:!0});var xi=f(Bs);Hs=d(xi,"H4",{class:!0});var en=f(Hs);Lr=A(en,"\u{1F306} City"),en.forEach(o),xi.forEach(o),qr=$(ar),qt=d(ar,"ASIDE",{class:!0});var rr=f(qt);Mt=d(rr,"INPUT",{type:!0,id:!0,name:!0,class:!0}),Mr=$(rr),Is=d(rr,"LABEL",{for:!0,class:!0});var tn=f(Is);Br=A(tn,"city"),tn.forEach(o),rr.forEach(o),ar.forEach(o),Hr=$(Ze),Bt=d(Ze,"DIV",{class:!0});var lr=f(Bt);js=d(lr,"DIV",{class:!0});var sn=f(js);Ws=d(sn,"H4",{class:!0});var an=f(Ws);jr=A(an,"\u{1F3DE}\uFE0F Rainforest"),an.forEach(o),sn.forEach(o),Wr=$(lr),Ht=d(lr,"ASIDE",{class:!0});var ir=f(Ht);jt=d(ir,"INPUT",{type:!0,id:!0,name:!0,class:!0}),Fr=$(ir),ys=d(ir,"LABEL",{for:!0,class:!0});var rn=f(ys);zr=A(rn,"forest"),rn.forEach(o),ir.forEach(o),lr.forEach(o),Ze.forEach(o),Qr=$(Ce),Ct=d(Ce,"FIELDSET",{id:!0,class:!0});var nr=f(Ct);Fs=d(nr,"H2",{class:!0});var ln=f(Fs);Gr=A(ln,"Skin Tone"),ln.forEach(o),Yr=$(nr),se=d(nr,"DIV",{class:!0});var oe=f(se);zs=d(oe,"DIV",{class:!0});var nn=f(zs);Qs=d(nn,"ASIDE",{class:!0});var on=f(Qs);x(Wt.$$.fragment,on),on.forEach(o),nn.forEach(o),Zr=$(oe),Gs=d(oe,"DIV",{class:!0});var cn=f(Gs);Ys=d(cn,"ASIDE",{class:!0});var un=f(Ys);x(Ft.$$.fragment,un),un.forEach(o),cn.forEach(o),Jr=$(oe),Zs=d(oe,"DIV",{class:!0});var dn=f(Zs);Js=d(dn,"ASIDE",{class:!0});var fn=f(Js);x(zt.$$.fragment,fn),fn.forEach(o),dn.forEach(o),Kr=$(oe),Ks=d(oe,"DIV",{class:!0});var vn=f(Ks);Xs=d(vn,"ASIDE",{class:!0});var hn=f(Xs);x(Qt.$$.fragment,hn),hn.forEach(o),vn.forEach(o),Xr=$(oe),xs=d(oe,"DIV",{class:!0});var pn=f(xs);ea=d(pn,"ASIDE",{class:!0});var _n=f(ea);x(Gt.$$.fragment,_n),_n.forEach(o),pn.forEach(o),xr=$(oe),ta=d(oe,"DIV",{class:!0});var mn=f(ta);sa=d(mn,"ASIDE",{class:!0});var gn=f(sa);x(Yt.$$.fragment,gn),gn.forEach(o),mn.forEach(o),el=$(oe),aa=d(oe,"DIV",{class:!0});var En=f(aa);ra=d(En,"ASIDE",{class:!0});var bn=f(ra);x(Zt.$$.fragment,bn),bn.forEach(o),En.forEach(o),tl=$(oe),la=d(oe,"DIV",{class:!0});var $n=f(la);ia=d($n,"ASIDE",{class:!0});var In=f(ia);x(Jt.$$.fragment,In),In.forEach(o),$n.forEach(o),sl=$(oe),na=d(oe,"DIV",{class:!0});var yn=f(na);oa=d(yn,"ASIDE",{class:!0});var An=f(oa);x(Kt.$$.fragment,An),An.forEach(o),yn.forEach(o),al=$(oe),ca=d(oe,"DIV",{class:!0});var Cn=f(ca);ua=d(Cn,"ASIDE",{class:!0});var Dn=f(ua);x(Xt.$$.fragment,Dn),Dn.forEach(o),Cn.forEach(o),rl=$(oe),da=d(oe,"DIV",{class:!0});var Pn=f(da);fa=d(Pn,"ASIDE",{class:!0});var wn=f(fa);x(xt.$$.fragment,wn),wn.forEach(o),Pn.forEach(o),oe.forEach(o),nr.forEach(o),ll=$(Ce),ke=d(Ce,"FIELDSET",{id:!0,class:!0});var vt=f(ke);va=d(vt,"H2",{class:!0});var Sn=f(va);il=A(Sn,"Expression"),Sn.forEach(o),nl=$(vt),es=d(vt,"DIV",{class:!0});var or=f(es);ha=d(or,"DIV",{class:!0});var Tn=f(ha);pa=d(Tn,"H4",{class:!0});var On=f(pa);ol=A(On,"\u{1F929} Excited"),On.forEach(o),Tn.forEach(o),cl=$(or),ts=d(or,"ASIDE",{class:!0});var cr=f(ts);ss=d(cr,"INPUT",{type:!0,id:!0,name:!0,class:!0}),ul=$(cr),As=d(cr,"LABEL",{for:!0,class:!0});var Nn=f(As);dl=A(Nn,"discovery"),Nn.forEach(o),cr.forEach(o),or.forEach(o),fl=$(vt),as=d(vt,"DIV",{class:!0});var ur=f(as);_a=d(ur,"DIV",{class:!0});var kn=f(_a);ma=d(kn,"H4",{class:!0});var Rn=f(ma);vl=A(Rn,"\u{1F601} Happy"),Rn.forEach(o),kn.forEach(o),hl=$(ur),rs=d(ur,"ASIDE",{class:!0});var dr=f(rs);ls=d(dr,"INPUT",{type:!0,id:!0,name:!0,class:!0}),pl=$(dr),Cs=d(dr,"LABEL",{for:!0,class:!0});var Un=f(Cs);_l=A(Un,"happy"),Un.forEach(o),dr.forEach(o),ur.forEach(o),ml=$(vt),is=d(vt,"DIV",{class:!0});var fr=f(is);ga=d(fr,"DIV",{class:!0});var Vn=f(ga);Ea=d(Vn,"H4",{class:!0});var Ln=f(Ea);gl=A(Ln,"\u{1F621} Serious"),Ln.forEach(o),Vn.forEach(o),El=$(fr),ns=d(fr,"ASIDE",{class:!0});var vr=f(ns);os=d(vr,"INPUT",{type:!0,id:!0,name:!0,class:!0}),bl=$(vr),Ds=d(vr,"LABEL",{for:!0,class:!0});var qn=f(Ds);$l=A(qn,"serious"),qn.forEach(o),vr.forEach(o),fr.forEach(o),Il=$(vt),cs=d(vt,"DIV",{class:!0});var hr=f(cs);ba=d(hr,"DIV",{class:!0});var Mn=f(ba);$a=d(Mn,"H4",{class:!0});var Bn=f($a);yl=A(Bn,"\u{1F62D} Rough Times"),Bn.forEach(o),Mn.forEach(o),Al=$(hr),us=d(hr,"ASIDE",{class:!0});var pr=f(us);ds=d(pr,"INPUT",{type:!0,id:!0,name:!0,class:!0}),Cl=$(pr),Ps=d(pr,"LABEL",{for:!0,class:!0});var Hn=f(Ps);Dl=A(Hn,"sad"),Hn.forEach(o),pr.forEach(o),hr.forEach(o),vt.forEach(o),Pl=$(Ce),Dt=d(Ce,"FIELDSET",{id:!0,class:!0});var _r=f(Dt);Ia=d(_r,"H2",{class:!0});var jn=f(Ia);wl=A(jn,"Weight Class"),jn.forEach(o),Sl=$(_r),ya=d(_r,"DIV",{class:!0});var Wn=f(ya);Aa=d(Wn,"ASIDE",{class:!0});var Fn=f(Aa);x(fs.$$.fragment,Fn),Fn.forEach(o),Wn.forEach(o),_r.forEach(o),Tl=$(Ce),Pt=d(Ce,"FIELDSET",{id:!0,class:!0});var mr=f(Pt);Ca=d(mr,"H2",{class:!0});var zn=f(Ca);Ol=A(zn,"Close or Creative?"),zn.forEach(o),Nl=$(mr),x(vs.$$.fragment,mr),mr.forEach(o),kl=$(Ce),Ye=d(Ce,"DIV",{class:!0});var hs=f(Ye);Da=d(hs,"H2",{class:!0});var Qn=f(Da);Rl=A(Qn,"Are you ready?"),Qn.forEach(o),Ul=$(hs),Pa=d(hs,"P",{class:!0});var Gn=f(Pa);Vl=A(Gn,"Once you've customized your avatar, it's time to create it!"),Gn.forEach(o),Ll=$(hs),wa=d(hs,"P",{class:!0});var Yn=f(wa);ql=A(Yn,"1 coin will be consumed."),Yn.forEach(o),Ml=$(hs),Sa=d(hs,"DIV",{class:!0});var Zn=f(Sa);wt=d(Zn,"BUTTON",{class:!0});var gr=f(wt);Ta=d(gr,"ION-ICON",{class:!0,name:!0}),f(Ta).forEach(o),Bl=$(gr),La=d(gr,"SPAN",{});var Jn=f(La);Hl=A(Jn,"Super Charge!"),Jn.forEach(o),gr.forEach(o),Zn.forEach(o),hs.forEach(o),Ce.forEach(o),Oa.forEach(o),Ma=$(M),Ba=d(M,"HR",{}),this.h()},h(){i(l,"class","svelte-d976ti"),i(p,"class","highlight large svelte-d976ti"),i(v,"class","main svelte-d976ti"),i(D,"type","radio"),i(D,"id","she"),i(D,"name","pronoun"),i(D,"class","svelte-d976ti"),i(I,"for","she"),i(I,"class","svelte-d976ti"),i(E,"class","aside aside-1 svelte-d976ti"),i(h,"class","option-container svelte-d976ti"),i(w,"class","highlight large svelte-d976ti"),i(g,"class","main svelte-d976ti"),i(R,"type","radio"),i(R,"id","him"),i(R,"name","pronoun"),i(R,"class","svelte-d976ti"),i(L,"for","him"),i(L,"class","svelte-d976ti"),i(T,"class","aside aside-1 svelte-d976ti"),i(O,"class","option-container svelte-d976ti"),i(J,"class","highlight large svelte-d976ti"),i(F,"class","main svelte-d976ti"),i(ce,"type","radio"),i(ce,"id","they"),i(ce,"name","pronoun"),i(ce,"class","svelte-d976ti"),i(Ie,"for","they"),i(Ie,"class","svelte-d976ti"),i(Y,"class","aside aside-1 svelte-d976ti"),i(H,"class","option-container svelte-d976ti"),i(Pe,"class","highlight large svelte-d976ti"),i(ge,"class","main svelte-d976ti"),i(Ee,"type","radio"),i(Ee,"id","cat"),i(Ee,"name","pronoun"),i(Ee,"class","svelte-d976ti"),i(Q,"for","cat"),i(Q,"class","svelte-d976ti"),i(ve,"class","aside aside-1 svelte-d976ti"),i(me,"class","option-container svelte-d976ti"),i(t,"id","group2"),i(t,"class","svelte-d976ti"),i(ye,"class","svelte-d976ti"),i(lt,"class","aside aside-1 svelte-d976ti"),i(Le,"class","option-container svelte-d976ti"),i(it,"class","aside aside-1 svelte-d976ti"),i(we,"class","option-container svelte-d976ti"),i(ot,"class","aside aside-1 svelte-d976ti"),i(nt,"class","option-container svelte-d976ti"),i(Ae,"class","aside aside-1 svelte-d976ti"),i(ct,"class","option-container svelte-d976ti"),i(ut,"class","aside aside-1 svelte-d976ti"),i(We,"class","option-container svelte-d976ti"),i(Ne,"class","aside aside-1 svelte-d976ti"),i(ze,"class","option-container svelte-d976ti"),i($t,"class","aside aside-1 svelte-d976ti"),i(bt,"class","option-container svelte-d976ti"),i(ne,"class","inline-container svelte-d976ti"),i(Re,"id","group5"),i(Re,"class","svelte-d976ti"),i(It,"class","svelte-d976ti"),i(yt,"class","highlight large svelte-d976ti"),i(Xe,"class","main svelte-d976ti"),i(Me,"type","radio"),i(Me,"id","beach"),i(Me,"name","location"),i(Me,"class","svelte-d976ti"),i(Ge,"for","beach"),i(Ge,"class","svelte-d976ti"),i(xe,"class","aside aside-1 svelte-d976ti"),i(Ke,"class","option-container svelte-d976ti"),i(At,"class","highlight large svelte-d976ti"),i(et,"class","main svelte-d976ti"),i(Be,"type","radio"),i(Be,"id","planet"),i(Be,"name","location"),i(Be,"class","svelte-d976ti"),i(bs,"for","planet"),i(bs,"class","svelte-d976ti"),i(tt,"class","aside aside-1 svelte-d976ti"),i(be,"class","option-container svelte-d976ti"),i(Ms,"class","highlight large svelte-d976ti"),i(qs,"class","main svelte-d976ti"),i(Vt,"type","radio"),i(Vt,"id","sea"),i(Vt,"name","location"),i(Vt,"class","svelte-d976ti"),i($s,"for","sea"),i($s,"class","svelte-d976ti"),i(Ut,"class","aside aside-1 svelte-d976ti"),i(Rt,"class","option-container svelte-d976ti"),i(Hs,"class","highlight large svelte-d976ti"),i(Bs,"class","main svelte-d976ti"),i(Mt,"type","radio"),i(Mt,"id","city"),i(Mt,"name","location"),i(Mt,"class","svelte-d976ti"),i(Is,"for","city"),i(Is,"class","svelte-d976ti"),i(qt,"class","aside aside-1 svelte-d976ti"),i(Lt,"class","option-container svelte-d976ti"),i(Ws,"class","highlight large svelte-d976ti"),i(js,"class","main svelte-d976ti"),i(jt,"type","radio"),i(jt,"id","forest"),i(jt,"name","location"),i(jt,"class","svelte-d976ti"),i(ys,"for","forest"),i(ys,"class","svelte-d976ti"),i(Ht,"class","aside aside-1 svelte-d976ti"),i(Bt,"class","option-container svelte-d976ti"),i(ue,"id","group1"),i(ue,"class","svelte-d976ti"),i(Fs,"class","svelte-d976ti"),i(Qs,"class","aside aside-1 svelte-d976ti"),i(zs,"class","option-container svelte-d976ti"),i(Ys,"class","aside aside-1 svelte-d976ti"),i(Gs,"class","option-container svelte-d976ti"),i(Js,"class","aside aside-1 svelte-d976ti"),i(Zs,"class","option-container svelte-d976ti"),i(Xs,"class","aside aside-1 svelte-d976ti"),i(Ks,"class","option-container svelte-d976ti"),i(ea,"class","aside aside-1 svelte-d976ti"),i(xs,"class","option-container svelte-d976ti"),i(sa,"class","aside aside-1 svelte-d976ti"),i(ta,"class","option-container svelte-d976ti"),i(ra,"class","aside aside-1 svelte-d976ti"),i(aa,"class","option-container svelte-d976ti"),i(ia,"class","aside aside-1 svelte-d976ti"),i(la,"class","option-container svelte-d976ti"),i(oa,"class","aside aside-1 svelte-d976ti"),i(na,"class","option-container svelte-d976ti"),i(ua,"class","aside aside-1 svelte-d976ti"),i(ca,"class","option-container svelte-d976ti"),i(fa,"class","aside aside-1 svelte-d976ti"),i(da,"class","option-container svelte-d976ti"),i(se,"class","inline-container svelte-d976ti"),i(Ct,"id","group3"),i(Ct,"class","svelte-d976ti"),i(va,"class","svelte-d976ti"),i(pa,"class","highlight large svelte-d976ti"),i(ha,"class","main svelte-d976ti"),i(ss,"type","radio"),i(ss,"id","discovery"),i(ss,"name","expression"),i(ss,"class","svelte-d976ti"),i(As,"for","discovery"),i(As,"class","svelte-d976ti"),i(ts,"class","aside aside-1 svelte-d976ti"),i(es,"class","option-container svelte-d976ti"),i(ma,"class","highlight large svelte-d976ti"),i(_a,"class","main svelte-d976ti"),i(ls,"type","radio"),i(ls,"id","happy"),i(ls,"name","expression"),i(ls,"class","svelte-d976ti"),i(Cs,"for","happy"),i(Cs,"class","svelte-d976ti"),i(rs,"class","aside aside-1 svelte-d976ti"),i(as,"class","option-container svelte-d976ti"),i(Ea,"class","highlight large svelte-d976ti"),i(ga,"class","main svelte-d976ti"),i(os,"type","radio"),i(os,"id","serious"),i(os,"name","expression"),i(os,"class","svelte-d976ti"),i(Ds,"for","serious"),i(Ds,"class","svelte-d976ti"),i(ns,"class","aside aside-1 svelte-d976ti"),i(is,"class","option-container svelte-d976ti"),i($a,"class","highlight large svelte-d976ti"),i(ba,"class","main svelte-d976ti"),i(ds,"type","radio"),i(ds,"id","sad"),i(ds,"name","expression"),i(ds,"class","svelte-d976ti"),i(Ps,"for","sad"),i(Ps,"class","svelte-d976ti"),i(us,"class","aside aside-1 svelte-d976ti"),i(cs,"class","option-container svelte-d976ti"),i(ke,"id","group4"),i(ke,"class","svelte-d976ti"),i(Ia,"class","svelte-d976ti"),i(Aa,"class","aside aside-1 svelte-d976ti"),i(ya,"class","option-container svelte-d976ti"),i(Dt,"id","group6"),i(Dt,"class","pose-container svelte-d976ti"),i(Ca,"class","svelte-d976ti"),i(Pt,"id","group7"),i(Pt,"class","creative-container svelte-d976ti"),i(Da,"class","svelte-d976ti"),i(Pa,"class","svelte-d976ti"),i(wa,"class","highlight accent svelte-d976ti"),G(Ta,"class","icon svelte-d976ti"),G(Ta,"name","color-palette-sharp"),i(wt,"class","submit-button svelte-d976ti"),i(Sa,"class","vibrate svelte-d976ti"),i(Ye,"class","submission-container svelte-d976ti"),i(a,"class","thoughts-form svelte-d976ti"),i(e,"class","thought-container")},m(M,Oa){q(M,e,Oa),s(e,a),s(a,t),s(t,l),s(l,n),s(t,c),s(t,h),s(h,v),s(v,p),s(p,m),s(h,_),s(h,E),s(E,D),s(E,P),s(E,I),s(I,S),s(t,C),s(t,O),s(O,g),s(g,w),s(w,k),s(O,N),s(O,T),s(T,R),s(T,V),s(T,L),s(L,j),s(t,U),s(t,H),s(H,F),s(F,J),s(J,K),s(H,re),s(H,Y),s(Y,ce),s(Y,De),s(Y,Ie),s(Ie,_t),s(t,mt),s(t,me),s(me,ge),s(ge,Pe),s(Pe,gt),s(me,Et),s(me,ve),s(ve,Ee),s(ve,Z),s(ve,Q),s(Q,Ve),s(a,he),s(a,Re),s(Re,ye),s(ye,pe),s(Re,He),s(Re,ne),s(ne,Le),s(Le,lt),ee(je,lt,null),s(ne,_s),s(ne,we),s(we,it),ee(Se,it,null),s(ne,ms),s(ne,nt),s(nt,ot),ee(Te,ot,null),s(ne,gs),s(ne,ct),s(ct,Ae),ee(Oe,Ae,null),s(ne,Es),s(ne,We),s(We,ut),ee(Fe,ut,null),s(ne,Os),s(ne,ze),s(ze,Ne),ee(Je,Ne,null),s(ne,Qe),s(ne,bt),s(bt,$t),ee(qe,$t,null),s(a,Tt),s(a,ue),s(ue,It),s(It,Ns),s(ue,dt),s(ue,Ke),s(Ke,Xe),s(Xe,yt),s(yt,Ot),s(Ke,ks),s(Ke,xe),s(xe,Me),s(xe,Rs),s(xe,Ge),s(Ge,Us),s(ue,Nt),s(ue,be),s(be,et),s(et,At),s(At,kt),s(be,Vs),s(be,tt),s(tt,Be),s(tt,Ls),s(tt,bs),s(bs,Tr),s(ue,Or),s(ue,Rt),s(Rt,qs),s(qs,Ms),s(Ms,Nr),s(Rt,kr),s(Rt,Ut),s(Ut,Vt),s(Ut,Rr),s(Ut,$s),s($s,Ur),s(ue,Vr),s(ue,Lt),s(Lt,Bs),s(Bs,Hs),s(Hs,Lr),s(Lt,qr),s(Lt,qt),s(qt,Mt),s(qt,Mr),s(qt,Is),s(Is,Br),s(ue,Hr),s(ue,Bt),s(Bt,js),s(js,Ws),s(Ws,jr),s(Bt,Wr),s(Bt,Ht),s(Ht,jt),s(Ht,Fr),s(Ht,ys),s(ys,zr),s(a,Qr),s(a,Ct),s(Ct,Fs),s(Fs,Gr),s(Ct,Yr),s(Ct,se),s(se,zs),s(zs,Qs),ee(Wt,Qs,null),s(se,Zr),s(se,Gs),s(Gs,Ys),ee(Ft,Ys,null),s(se,Jr),s(se,Zs),s(Zs,Js),ee(zt,Js,null),s(se,Kr),s(se,Ks),s(Ks,Xs),ee(Qt,Xs,null),s(se,Xr),s(se,xs),s(xs,ea),ee(Gt,ea,null),s(se,xr),s(se,ta),s(ta,sa),ee(Yt,sa,null),s(se,el),s(se,aa),s(aa,ra),ee(Zt,ra,null),s(se,tl),s(se,la),s(la,ia),ee(Jt,ia,null),s(se,sl),s(se,na),s(na,oa),ee(Kt,oa,null),s(se,al),s(se,ca),s(ca,ua),ee(Xt,ua,null),s(se,rl),s(se,da),s(da,fa),ee(xt,fa,null),s(a,ll),s(a,ke),s(ke,va),s(va,il),s(ke,nl),s(ke,es),s(es,ha),s(ha,pa),s(pa,ol),s(es,cl),s(es,ts),s(ts,ss),s(ts,ul),s(ts,As),s(As,dl),s(ke,fl),s(ke,as),s(as,_a),s(_a,ma),s(ma,vl),s(as,hl),s(as,rs),s(rs,ls),s(rs,pl),s(rs,Cs),s(Cs,_l),s(ke,ml),s(ke,is),s(is,ga),s(ga,Ea),s(Ea,gl),s(is,El),s(is,ns),s(ns,os),s(ns,bl),s(ns,Ds),s(Ds,$l),s(ke,Il),s(ke,cs),s(cs,ba),s(ba,$a),s($a,yl),s(cs,Al),s(cs,us),s(us,ds),s(us,Cl),s(us,Ps),s(Ps,Dl),s(a,Pl),s(a,Dt),s(Dt,Ia),s(Ia,wl),s(Dt,Sl),s(Dt,ya),s(ya,Aa),ee(fs,Aa,null),s(a,Tl),s(a,Pt),s(Pt,Ca),s(Ca,Ol),s(Pt,Nl),ee(vs,Pt,null),s(a,kl),s(a,Ye),s(Ye,Da),s(Da,Rl),s(Ye,Ul),s(Ye,Pa),s(Pa,Vl),s(Ye,Ll),s(Ye,wa),s(wa,ql),s(Ye,Ml),s(Ye,Sa),s(Sa,wt),s(wt,Ta),s(wt,Bl),s(wt,La),s(La,Hl),q(M,Ma,Oa),q(M,Ba,Oa),Ha=!0,jl||(hi=[ae(D,"change",fe(r[0])),ae(R,"change",fe(r[0])),ae(ce,"change",fe(r[0])),ae(Ee,"change",fe(r[0])),ae(Me,"change",fe(r[0])),ae(Be,"change",fe(r[0])),ae(Vt,"change",fe(r[0])),ae(Mt,"change",fe(r[0])),ae(jt,"change",fe(r[0])),ae(ss,"change",fe(r[0])),ae(ls,"change",fe(r[0])),ae(os,"change",fe(r[0])),ae(ds,"change",fe(r[0])),ae(wt,"click",fe(r[3]))],jl=!0)},p:le,i(M){Ha||(B(je.$$.fragment,M),B(Se.$$.fragment,M),B(Te.$$.fragment,M),B(Oe.$$.fragment,M),B(Fe.$$.fragment,M),B(Je.$$.fragment,M),B(qe.$$.fragment,M),B(Wt.$$.fragment,M),B(Ft.$$.fragment,M),B(zt.$$.fragment,M),B(Qt.$$.fragment,M),B(Gt.$$.fragment,M),B(Yt.$$.fragment,M),B(Zt.$$.fragment,M),B(Jt.$$.fragment,M),B(Kt.$$.fragment,M),B(Xt.$$.fragment,M),B(xt.$$.fragment,M),B(fs.$$.fragment,M),B(vs.$$.fragment,M),Ha=!0)},o(M){W(je.$$.fragment,M),W(Se.$$.fragment,M),W(Te.$$.fragment,M),W(Oe.$$.fragment,M),W(Fe.$$.fragment,M),W(Je.$$.fragment,M),W(qe.$$.fragment,M),W(Wt.$$.fragment,M),W(Ft.$$.fragment,M),W(zt.$$.fragment,M),W(Qt.$$.fragment,M),W(Gt.$$.fragment,M),W(Yt.$$.fragment,M),W(Zt.$$.fragment,M),W(Jt.$$.fragment,M),W(Kt.$$.fragment,M),W(Xt.$$.fragment,M),W(xt.$$.fragment,M),W(fs.$$.fragment,M),W(vs.$$.fragment,M),Ha=!1},d(M){M&&o(e),te(je),te(Se),te(Te),te(Oe),te(Fe),te(Je),te(qe),te(Wt),te(Ft),te(zt),te(Qt),te(Gt),te(Yt),te(Zt),te(Jt),te(Kt),te(Xt),te(xt),te(fs),te(vs),M&&o(Ma),M&&o(Ba),jl=!1,Ar(hi)}}}function Iu(r,e,a){const t=Ts();qa.subscribe(_=>{});let{profileImageFile:l}=e,n={};const c=async _=>{n[_.target.name]=_.target.id},h=_=>{n[_.detail.name]=_.detail.id},v=_=>{n.weight=_.detail},p=async _=>{t("onPromptComplete",n)},m=_=>{n.creative=_.detail};return r.$$set=_=>{"profileImageFile"in _&&a(5,l=_.profileImageFile)},[c,h,v,p,m,l]}class yu extends st{constructor(e){super(),at(this,e,Iu,$u,rt,{profileImageFile:5})}}function Au(r){let e,a,t,l,n,c,h,v,p,m,_,E,D,P,I,S,C,O,g,w,k,N,T,R,V,L,j,U,H,F,J,K,re,Y,ce,De,Ie,_t,mt,me,ge,Pe,gt,Et,ve,Ee,Z,Q,Ve,he,Re,ye,pe,He,ne,Le,lt,je,_s,we,it,Se,ms,nt,ot,Te,gs,ct,Ae,Oe,Es,We,ut,Fe,Os;return{c(){e=u("div"),a=u("section"),t=u("article"),l=u("h2"),n=y("Britelite is the avatar super charger."),c=b(),h=u("p"),v=y("Put an image of yourself through the Britelite and give it a super charge."),p=b(),m=u("picture"),_=u("source"),E=b(),D=u("img"),I=b(),S=u("button"),C=u("ion-icon"),O=b(),g=u("span"),w=y("Watch Video"),k=b(),N=u("section"),T=u("div"),R=u("article"),V=u("h2"),L=y("You own it."),j=b(),U=u("p"),H=y(`We don't use, track, or keep what you create. What you make is yours. Our business model - is subscription based and we keep an easy to read `),F=u("a"),J=y("terms of service"),K=y(" agreement."),re=b(),Y=u("p"),ce=y("We also respect your "),De=u("a"),Ie=y("privacy"),_t=y(`, regardless of the country you - hail from.`),mt=b(),me=u("section"),ge=u("article"),Pe=u("h2"),gt=y("Two tiers: free or subscribe."),Et=b(),ve=u("div"),Ee=u("div"),Z=u("picture"),Q=u("source"),Ve=b(),he=u("img"),ye=b(),pe=u("div"),He=u("p"),ne=y(`We are working on adding more power to Britelite. We limit everyone without a SpaceLab - to `),Le=u("span"),lt=y("3"),je=y(" per day."),_s=b(),we=u("p"),it=y("If you subscribe to SpaceLab, you receive "),Se=u("span"),ms=y("12"),nt=y(" per day."),ot=b(),Te=u("p"),gs=y(`To use Britelite, the only requirement is to create an account. Accounts are required so - we can limit the use to humans only.`),ct=b(),Ae=u("button"),Oe=u("ion-icon"),Es=b(),We=u("span"),ut=y("Create Account"),this.h()},l(ze){e=d(ze,"DIV",{class:!0});var Ne=f(e);a=d(Ne,"SECTION",{class:!0});var Je=f(a);t=d(Je,"ARTICLE",{class:!0});var Qe=f(t);l=d(Qe,"H2",{class:!0});var bt=f(l);n=A(bt,"Britelite is the avatar super charger."),bt.forEach(o),c=$(Qe),h=d(Qe,"P",{class:!0});var $t=f(h);v=A($t,"Put an image of yourself through the Britelite and give it a super charge."),$t.forEach(o),p=$(Qe),m=d(Qe,"PICTURE",{class:!0});var qe=f(m);_=d(qe,"SOURCE",{media:!0,srcset:!0,width:!0,height:!0}),E=$(qe),D=d(qe,"IMG",{src:!0,alt:!0,width:!0,height:!0,class:!0}),qe.forEach(o),I=$(Qe),S=d(Qe,"BUTTON",{class:!0});var Tt=f(S);C=d(Tt,"ION-ICON",{class:!0,name:!0}),f(C).forEach(o),O=$(Tt),g=d(Tt,"SPAN",{});var ue=f(g);w=A(ue,"Watch Video"),ue.forEach(o),Tt.forEach(o),Qe.forEach(o),Je.forEach(o),k=$(Ne),N=d(Ne,"SECTION",{class:!0});var It=f(N);T=d(It,"DIV",{class:!0});var Ns=f(T);R=d(Ns,"ARTICLE",{class:!0});var dt=f(R);V=d(dt,"H2",{class:!0});var Ke=f(V);L=A(Ke,"You own it."),Ke.forEach(o),j=$(dt),U=d(dt,"P",{class:!0});var Xe=f(U);H=A(Xe,`We don't use, track, or keep what you create. What you make is yours. Our business model - is subscription based and we keep an easy to read `),F=d(Xe,"A",{href:!0});var yt=f(F);J=A(yt,"terms of service"),yt.forEach(o),K=A(Xe," agreement."),Xe.forEach(o),re=$(dt),Y=d(dt,"P",{class:!0});var Ot=f(Y);ce=A(Ot,"We also respect your "),De=d(Ot,"A",{href:!0});var ks=f(De);Ie=A(ks,"privacy"),ks.forEach(o),_t=A(Ot,`, regardless of the country you - hail from.`),Ot.forEach(o),dt.forEach(o),Ns.forEach(o),It.forEach(o),mt=$(Ne),me=d(Ne,"SECTION",{class:!0});var xe=f(me);ge=d(xe,"ARTICLE",{class:!0});var Me=f(ge);Pe=d(Me,"H2",{class:!0});var Rs=f(Pe);gt=A(Rs,"Two tiers: free or subscribe."),Rs.forEach(o),Et=$(Me),ve=d(Me,"DIV",{class:!0});var Ge=f(ve);Ee=d(Ge,"DIV",{class:!0});var Us=f(Ee);Z=d(Us,"PICTURE",{class:!0});var Nt=f(Z);Q=d(Nt,"SOURCE",{media:!0,srcset:!0,width:!0,height:!0}),Ve=$(Nt),he=d(Nt,"IMG",{src:!0,alt:!0,width:!0,height:!0,class:!0}),Nt.forEach(o),Us.forEach(o),ye=$(Ge),pe=d(Ge,"DIV",{class:!0});var be=f(pe);He=d(be,"P",{class:!0});var et=f(He);ne=A(et,`We are working on adding more power to Britelite. We limit everyone without a SpaceLab - to `),Le=d(et,"SPAN",{class:!0});var At=f(Le);lt=A(At,"3"),At.forEach(o),je=A(et," per day."),et.forEach(o),_s=$(be),we=d(be,"P",{class:!0});var kt=f(we);it=A(kt,"If you subscribe to SpaceLab, you receive "),Se=d(kt,"SPAN",{class:!0});var Vs=f(Se);ms=A(Vs,"12"),Vs.forEach(o),nt=A(kt," per day."),kt.forEach(o),ot=$(be),Te=d(be,"P",{class:!0});var tt=f(Te);gs=A(tt,`To use Britelite, the only requirement is to create an account. Accounts are required so - we can limit the use to humans only.`),tt.forEach(o),ct=$(be),Ae=d(be,"BUTTON",{class:!0});var Be=f(Ae);Oe=d(Be,"ION-ICON",{class:!0,name:!0}),f(Oe).forEach(o),Es=$(Be),We=d(Be,"SPAN",{});var Ls=f(We);ut=A(Ls,"Create Account"),Ls.forEach(o),Be.forEach(o),be.forEach(o),Ge.forEach(o),Me.forEach(o),xe.forEach(o),Ne.forEach(o),this.h()},h(){i(l,"class","svelte-yiqs29"),i(h,"class","svelte-yiqs29"),i(_,"media","(min-width: 100px) and (max-width: 490.98px)"),i(_,"srcset","https://3ee.s3.amazonaws.com/img/britelite_banner_sm.png"),i(_,"width","361"),i(_,"height","191"),Ra(D.src,P="https://3ee.s3.amazonaws.com/img/britelite_banner.png")||i(D,"src",P),i(D,"alt","a real cat being turned into a cartoon cat"),i(D,"width","722"),i(D,"height","382"),i(D,"class","svelte-yiqs29"),i(m,"class","svelte-yiqs29"),G(C,"class","icon svelte-yiqs29"),G(C,"name","videocam"),i(S,"class","svelte-yiqs29"),i(t,"class","video svelte-yiqs29"),i(a,"class","background svelte-yiqs29"),i(V,"class","svelte-yiqs29"),i(F,"href","/account/terms/"),i(U,"class","svelte-yiqs29"),i(De,"href","/account/privacy"),i(Y,"class","svelte-yiqs29"),i(R,"class","planets svelte-yiqs29"),i(T,"class","image-wrap svelte-yiqs29"),i(N,"class","background alternate svelte-yiqs29"),i(Pe,"class","svelte-yiqs29"),i(Q,"media","(min-width: 100px) and (max-width: 490.98px)"),i(Q,"srcset","https://3ee.s3.amazonaws.com/img/potions.png"),i(Q,"width","360"),i(Q,"height","336"),Ra(he.src,Re="https://3ee.s3.amazonaws.com/img/potions.png")||i(he,"src",Re),i(he,"alt","two potion bottles"),i(he,"width","360"),i(he,"height","336"),i(he,"class","svelte-yiqs29"),i(Z,"class","svelte-yiqs29"),i(Ee,"class","left svelte-yiqs29"),i(Le,"class","highlight"),i(He,"class","svelte-yiqs29"),i(Se,"class","highlight"),i(we,"class","svelte-yiqs29"),i(Te,"class","svelte-yiqs29"),G(Oe,"class","icon svelte-yiqs29"),G(Oe,"name","rocket-sharp"),i(Ae,"class","svelte-yiqs29"),i(pe,"class","right svelte-yiqs29"),i(ve,"class","column-container svelte-yiqs29"),i(ge,"class","svelte-yiqs29"),i(me,"class","background svelte-yiqs29"),i(e,"class","container svelte-yiqs29")},m(ze,Ne){q(ze,e,Ne),s(e,a),s(a,t),s(t,l),s(l,n),s(t,c),s(t,h),s(h,v),s(t,p),s(t,m),s(m,_),s(m,E),s(m,D),s(t,I),s(t,S),s(S,C),s(S,O),s(S,g),s(g,w),s(e,k),s(e,N),s(N,T),s(T,R),s(R,V),s(V,L),s(R,j),s(R,U),s(U,H),s(U,F),s(F,J),s(U,K),s(R,re),s(R,Y),s(Y,ce),s(Y,De),s(De,Ie),s(Y,_t),s(e,mt),s(e,me),s(me,ge),s(ge,Pe),s(Pe,gt),s(ge,Et),s(ge,ve),s(ve,Ee),s(Ee,Z),s(Z,Q),s(Z,Ve),s(Z,he),s(ve,ye),s(ve,pe),s(pe,He),s(He,ne),s(He,Le),s(Le,lt),s(He,je),s(pe,_s),s(pe,we),s(we,it),s(we,Se),s(Se,ms),s(we,nt),s(pe,ot),s(pe,Te),s(Te,gs),s(pe,ct),s(pe,Ae),s(Ae,Oe),s(Ae,Es),s(Ae,We),s(We,ut),Fe||(Os=ae(Ae,"click",r[0]),Fe=!0)},p:le,i:le,o:le,d(ze){ze&&o(e),Fe=!1,Os()}}}function Cu(r){const e=Ts();function a(){console.log("yatee"),e("onCreateAccount")}return[a]}class Du extends st{constructor(e){super(),at(this,e,Cu,Au,rt,{})}}function Pu(r){let e,a,t,l,n,c,h,v,p,m,_,E=$r(r[0])+"",D,P,I,S,C,O,g,w,k,N,T,R=$r(r[0])+"",V;return{c(){e=u("div"),a=u("article"),t=u("h4"),l=u("ion-icon"),n=y(" You're out of coins."),c=b(),h=u("p"),v=y("You'll receive "),p=u("span"),m=y(r[1]),_=y(" in "),D=y(E),P=y("."),I=b(),S=u("aside"),C=u("input"),O=b(),g=u("button"),w=u("ion-icon"),k=b(),N=u("span"),T=y("Wait "),V=y(R),this.h()},l(L){e=d(L,"DIV",{class:!0});var j=f(e);a=d(j,"ARTICLE",{class:!0});var U=f(a);t=d(U,"H4",{class:!0});var H=f(t);l=d(H,"ION-ICON",{name:!0,class:!0}),f(l).forEach(o),n=A(H," You're out of coins."),H.forEach(o),c=$(U),h=d(U,"P",{class:!0});var F=f(h);v=A(F,"You'll receive "),p=d(F,"SPAN",{class:!0});var J=f(p);m=A(J,r[1]),J.forEach(o),_=A(F," in "),D=A(F,E),P=A(F,"."),F.forEach(o),U.forEach(o),I=$(j),S=d(j,"ASIDE",{class:!0});var K=f(S);C=d(K,"INPUT",{style:!0,type:!0}),O=$(K),g=d(K,"BUTTON",{class:!0});var re=f(g);w=d(re,"ION-ICON",{class:!0,name:!0}),f(w).forEach(o),k=$(re),N=d(re,"SPAN",{});var Y=f(N);T=A(Y,"Wait "),V=A(Y,R),Y.forEach(o),re.forEach(o),K.forEach(o),j.forEach(o),this.h()},h(){G(l,"name","stop-circle"),G(l,"class","svelte-hejvot"),i(t,"class","highlight large supercharged svelte-hejvot"),i(p,"class","highlight"),i(h,"class","svelte-hejvot"),i(a,"class","main supercharged-container"),bo(C,"display","none"),i(C,"type","file"),G(w,"class","icon svelte-hejvot"),G(w,"name","alarm"),i(g,"class","alert"),g.disabled=!0,i(S,"class","aside aside-1"),i(e,"class","option-container")},m(L,j){q(L,e,j),s(e,a),s(a,t),s(t,l),s(t,n),s(a,c),s(a,h),s(h,v),s(h,p),s(p,m),s(h,_),s(h,D),s(h,P),s(e,I),s(e,S),s(S,C),s(S,O),s(S,g),s(g,w),s(g,k),s(g,N),s(N,T),s(N,V)},p(L,[j]){j&2&&$e(m,L[1]),j&1&&E!==(E=$r(L[0])+"")&&$e(D,E),j&1&&R!==(R=$r(L[0])+"")&&$e(V,R)},i:le,o:le,d(L){L&&o(e)}}}function $r(r){let e=new Date(r);e.setHours(e.getHours()+24);let a=new Date;const t=e.getTime()-a.getTime();let l=Math.floor(t%864e5/36e5),n=Math.round(t%864e5%36e5/6e4);return l===0?`${n} minutes`:`${l} hours`}function wu(r,e,a){let{estimatedTime:t}=e,{dailyCoinAllowance:l=3}=e;return r.$$set=n=>{"estimatedTime"in n&&a(0,t=n.estimatedTime),"dailyCoinAllowance"in n&&a(1,l=n.dailyCoinAllowance)},[t,l]}class Su extends st{constructor(e){super(),at(this,e,wu,Pu,rt,{estimatedTime:0,dailyCoinAllowance:1})}}function Tu(r){let e,a,t,l,n,c,h,v=r[0].userDiffusionTotal+"",p,m,_,E,D,P,I,S,C=yr(r[0].estimatedBriteliteTime)+"",O,g;return{c(){e=u("p"),a=u("ion-icon"),t=y("Your avatar is queued to be processed."),l=b(),n=u("p"),c=y("You have "),h=u("span"),p=y(v),m=y(" images in queue."),_=b(),E=u("p"),D=u("strong"),P=y("Estimated time"),I=y(`: - `),S=u("span"),O=y(C),g=y("."),this.h()},l(w){e=d(w,"P",{});var k=f(e);a=d(k,"ION-ICON",{class:!0,name:!0}),f(a).forEach(o),t=A(k,"Your avatar is queued to be processed."),k.forEach(o),l=$(w),n=d(w,"P",{});var N=f(n);c=A(N,"You have "),h=d(N,"SPAN",{class:!0});var T=f(h);p=A(T,v),T.forEach(o),m=A(N," images in queue."),N.forEach(o),_=$(w),E=d(w,"P",{});var R=f(E);D=d(R,"STRONG",{});var V=f(D);P=A(V,"Estimated time"),V.forEach(o),I=A(R,`: - `),S=d(R,"SPAN",{class:!0});var L=f(S);O=A(L,C),L.forEach(o),g=A(R,"."),R.forEach(o),this.h()},h(){G(a,"class","icon svelte-16bjdrm"),G(a,"name","cloud-upload"),i(h,"class","highlight"),i(S,"class","highlight")},m(w,k){q(w,e,k),s(e,a),s(e,t),q(w,l,k),q(w,n,k),s(n,c),s(n,h),s(h,p),s(n,m),q(w,_,k),q(w,E,k),s(E,D),s(D,P),s(E,I),s(E,S),s(S,O),s(E,g)},p(w,k){k&1&&v!==(v=w[0].userDiffusionTotal+"")&&$e(p,v),k&1&&C!==(C=yr(w[0].estimatedBriteliteTime)+"")&&$e(O,C)},d(w){w&&o(e),w&&o(l),w&&o(n),w&&o(_),w&&o(E)}}}function Ou(r){let e,a,t,l,n,c,h,v,p,m=r[0].userDiffusionTotal+"",_,E,D,P,I,S,C,O,g=yr(r[0].estimatedBriteliteTime)+"",w,k;return{c(){e=u("p"),a=u("ion-icon"),t=u("span"),l=y("Britelite is very busy!"),n=y(` It may - take longer than usual but your avatar will eventually be processed.`),c=b(),h=u("p"),v=y("You have "),p=u("span"),_=y(m),E=y(" images in queue."),D=b(),P=u("p"),I=u("strong"),S=y("Estimated time"),C=y(`: - `),O=u("span"),w=y(g),k=y("."),this.h()},l(N){e=d(N,"P",{});var T=f(e);a=d(T,"ION-ICON",{class:!0,name:!0}),f(a).forEach(o),t=d(T,"SPAN",{class:!0});var R=f(t);l=A(R,"Britelite is very busy!"),R.forEach(o),n=A(T,` It may - take longer than usual but your avatar will eventually be processed.`),T.forEach(o),c=$(N),h=d(N,"P",{});var V=f(h);v=A(V,"You have "),p=d(V,"SPAN",{class:!0});var L=f(p);_=A(L,m),L.forEach(o),E=A(V," images in queue."),V.forEach(o),D=$(N),P=d(N,"P",{});var j=f(P);I=d(j,"STRONG",{});var U=f(I);S=A(U,"Estimated time"),U.forEach(o),C=A(j,`: - `),O=d(j,"SPAN",{class:!0});var H=f(O);w=A(H,g),H.forEach(o),k=A(j,"."),j.forEach(o),this.h()},h(){G(a,"class","icon svelte-16bjdrm"),G(a,"name","warning"),i(t,"class","error"),i(p,"class","highlight"),i(O,"class","highlight")},m(N,T){q(N,e,T),s(e,a),s(e,t),s(t,l),s(e,n),q(N,c,T),q(N,h,T),s(h,v),s(h,p),s(p,_),s(h,E),q(N,D,T),q(N,P,T),s(P,I),s(I,S),s(P,C),s(P,O),s(O,w),s(P,k)},p(N,T){T&1&&m!==(m=N[0].userDiffusionTotal+"")&&$e(_,m),T&1&&g!==(g=yr(N[0].estimatedBriteliteTime)+"")&&$e(w,g)},d(N){N&&o(e),N&&o(c),N&&o(h),N&&o(D),N&&o(P)}}}function Nu(r){let e,a,t,l,n,c,h=r[0].alert+"",v,p,m,_,E,D,P,I=r[0].maintenanceTimeHours+"",S,C,O=r[1]()+"",g,w,k,N,T,R,V=r[0].userDiffusionTotal+"",L,j;return{c(){e=u("p"),a=u("ion-icon"),t=u("span"),l=y("Upgrading & Maintenance."),n=b(),c=u("p"),v=y(h),p=b(),m=u("p"),_=u("strong"),E=y("Maintenance time"),D=y(`: - `),P=u("span"),S=y(I),C=b(),g=y(O),w=y("."),k=b(),N=u("p"),T=y("You have "),R=u("span"),L=y(V),j=y(" images in queue."),this.h()},l(U){e=d(U,"P",{});var H=f(e);a=d(H,"ION-ICON",{class:!0,name:!0}),f(a).forEach(o),t=d(H,"SPAN",{class:!0});var F=f(t);l=A(F,"Upgrading & Maintenance."),F.forEach(o),H.forEach(o),n=$(U),c=d(U,"P",{});var J=f(c);v=A(J,h),J.forEach(o),p=$(U),m=d(U,"P",{});var K=f(m);_=d(K,"STRONG",{});var re=f(_);E=A(re,"Maintenance time"),re.forEach(o),D=A(K,`: - `),P=d(K,"SPAN",{class:!0});var Y=f(P);S=A(Y,I),Y.forEach(o),C=$(K),g=A(K,O),w=A(K,"."),K.forEach(o),k=$(U),N=d(U,"P",{});var ce=f(N);T=A(ce,"You have "),R=d(ce,"SPAN",{class:!0});var De=f(R);L=A(De,V),De.forEach(o),j=A(ce," images in queue."),ce.forEach(o),this.h()},h(){G(a,"class","icon svelte-16bjdrm"),G(a,"name","construct"),i(t,"class","error"),i(P,"class","highlight"),i(R,"class","highlight")},m(U,H){q(U,e,H),s(e,a),s(e,t),s(t,l),q(U,n,H),q(U,c,H),s(c,v),q(U,p,H),q(U,m,H),s(m,_),s(_,E),s(m,D),s(m,P),s(P,S),s(m,C),s(m,g),s(m,w),q(U,k,H),q(U,N,H),s(N,T),s(N,R),s(R,L),s(N,j)},p(U,H){H&1&&h!==(h=U[0].alert+"")&&$e(v,h),H&1&&I!==(I=U[0].maintenanceTimeHours+"")&&$e(S,I),H&1&&V!==(V=U[0].userDiffusionTotal+"")&&$e(L,V)},d(U){U&&o(e),U&&o(n),U&&o(c),U&&o(p),U&&o(m),U&&o(k),U&&o(N)}}}function ku(r){let e,a,t,l;function n(v,p){return v[0].alert!==""&&v[0].alert!==null?Nu:v[0].estimatedBriteliteTime>1200?Ou:Tu}let c=n(r),h=c(r);return{c(){e=u("h3"),a=y("Queue"),t=b(),h.c(),l=ht(),this.h()},l(v){e=d(v,"H3",{class:!0});var p=f(e);a=A(p,"Queue"),p.forEach(o),t=$(v),h.l(v),l=ht(),this.h()},h(){i(e,"class","svelte-16bjdrm")},m(v,p){q(v,e,p),s(e,a),q(v,t,p),h.m(v,p),q(v,l,p)},p(v,[p]){c===(c=n(v))&&h?h.p(v,p):(h.d(1),h=c(v),h&&(h.c(),h.m(l.parentNode,l)))},i:le,o:le,d(v){v&&o(e),v&&o(t),h.d(v),v&&o(l)}}}function yr(r){const e=new Date;e.setSeconds(e.getSeconds()+r);const a=new Date;let t=Math.floor((e-a)/6e4),l=Math.floor(t/60),n=t%60,c="";return l>0&&(c+=l+" hours "),n>0&&(c+=n+(n===1?" minute":" minutes")),c.trim()}function Ru(r,e,a){let{queueData:t={}}=e;function l(){return t.maintenanceTimeHours>1?"hours":"hour"}return r.$$set=n=>{"queueData"in n&&a(0,t=n.queueData)},[t,l]}class Uu extends st{constructor(e){super(),at(this,e,Ru,ku,rt,{queueData:0})}}const{document:_o}=ko;function Vu(r){let e,a;return e=new Du({}),e.$on("onCreateAccount",r[24]),{c(){X(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,l){ee(e,t,l),a=!0},p:le,i(t){a||(B(e.$$.fragment,t),a=!0)},o(t){W(e.$$.fragment,t),a=!1},d(t){te(e,t)}}}function Lu(r){let e,a,t,l,n,c,h,v,p,m,_,E,D,P,I,S,C;const O=[Mu,qu],g=[];function w(k,N){return k[11]?0:1}return I=w(r),S=g[I]=O[I](r),{c(){e=u("section"),a=u("article"),t=u("h1"),l=y("Britelite"),n=b(),c=u("p"),h=u("strong"),v=y("Coins"),p=y(": "),m=u("ion-icon"),_=b(),E=u("span"),D=y(r[7]),P=b(),S.c(),this.h()},l(k){e=d(k,"SECTION",{class:!0});var N=f(e);a=d(N,"ARTICLE",{class:!0});var T=f(a);t=d(T,"H1",{});var R=f(t);l=A(R,"Britelite"),R.forEach(o),n=$(T),c=d(T,"P",{});var V=f(c);h=d(V,"STRONG",{});var L=f(h);v=A(L,"Coins"),L.forEach(o),p=A(V,": "),m=d(V,"ION-ICON",{class:!0,name:!0}),f(m).forEach(o),_=$(V),E=d(V,"SPAN",{class:!0});var j=f(E);D=A(j,r[7]),j.forEach(o),V.forEach(o),P=$(T),S.l(T),T.forEach(o),N.forEach(o),this.h()},h(){G(m,"class","coin-icon svelte-9oc2t6"),G(m,"name","radio-button-on"),i(E,"class","highlight"),i(a,"class","content"),i(e,"class","background")},m(k,N){q(k,e,N),s(e,a),s(a,t),s(t,l),s(a,n),s(a,c),s(c,h),s(h,v),s(c,p),s(c,m),s(c,_),s(c,E),s(E,D),s(a,P),g[I].m(a,null),C=!0},p(k,N){(!C||N[0]&128)&&$e(D,k[7]);let T=I;I=w(k),I===T?g[I].p(k,N):(ws(),W(g[T],1,1,()=>{g[T]=null}),Ss(),S=g[I],S?S.p(k,N):(S=g[I]=O[I](k),S.c()),B(S,1),S.m(a,null))},i(k){C||(B(S),C=!0)},o(k){W(S),C=!1},d(k){k&&o(e),g[I].d()}}}function qu(r){let e,a,t,l,n,c,h,v,p;function m(g,w){return typeof g[12]!="undefined"||g[12]>0?Hu:Bu}let _=m(r),E=_(r);const D=[Wu,ju],P=[];function I(g,w){return g[7]>=Gu?0:1}a=I(r),t=P[a]=D[a](r);const S=[zu,Fu],C=[];function O(g,w){return g[9]>0&&!g[13]?0:g[13]?1:-1}return~(n=O(r))&&(c=C[n]=S[n](r)),v=new zo({props:{briteliteQueues:r[0],hasMore:r[2].length{P[k]=null}),Ss(),t=P[a],t?t.p(g,w):(t=P[a]=D[a](g),t.c()),B(t,1),t.m(l.parentNode,l));let N=n;n=O(g),n===N?~n&&C[n].p(g,w):(c&&(ws(),W(C[N],1,1,()=>{C[N]=null}),Ss()),~n?(c=C[n],c?c.p(g,w):(c=C[n]=S[n](g),c.c()),B(c,1),c.m(h.parentNode,h)):c=null);const T={};w[0]&1&&(T.briteliteQueues=g[0]),w[0]&6&&(T.hasMore=g[2].length{h[_]=null}),Ss(),t=h[a],t?t.p(p,m):(t=h[a]=c[a](p),t.c()),B(t,1),t.m(l.parentNode,l))},i(p){n||(B(t),n=!0)},o(p){W(t),n=!1},d(p){p&&o(e),h[a].d(p),p&&o(l)}}}const Gu=1,Yu=3,Zu=12;let Ju=!1,mo=10;function Ku(r,e,a){let t,l,n,c,h,v,p,m,_;qa.subscribe(Z=>{_=Z});const E=_==null?void 0:_.token,D=_==null?void 0:_.username;let P=[],I=[],S=!1,C=!1,O=!1,g=null,w=new FormData,k={},N=_.spaceLab?Zu:Yu,T=1,R="",V=[],L=[],j=0,U=0,H=null,F=[],J={},K,re,Y,ce={};Kl(async()=>{if(typeof E=="undefined"||E===null||E==="")return()=>{};K=new WebSocket(`wss://3ee.dev/ws/currency/ws/coins/?token=${E}`),K.onmessage=Z=>{const Q=JSON.parse(Z.data);a(7,j=Q.coin_count),a(8,H=Q.lastCoinDailyDate)},Y=new WebSocket(`wss://3ee.dev/ws/diffusion/ws/britelite-queue/?token=${E}`),Y.onmessage=Z=>{const Q=JSON.parse(Z.data);a(3,ce=Q.queue),a(29,U=Q.queue.userDiffusionTotal)},re=new WebSocket(`wss://3ee.dev/ws/diffusion/ws/britelite/?token=${E}`),re.onmessage=Z=>{const Q=JSON.parse(Z.data);if(Q.event==="Connected"||Q.event==="Created"||Q.event==="Deleted")a(30,F=Q.progressing_jobs);else if(Q.event==="DiffusionUpdated"){J=Q;const Ve=J.diffusion_status_id,he=parseFloat(J.progress),Re=parseFloat(J.eta_relative);if(F!==null){const ye=F.find(pe=>pe.id===Ve);ye&&(ye.progress=he,ye.eta_relative=Re,J.status_type===1&&(ye.progress=1,ye.eta_relative=0,Ie(!0)))}a(30,F)}},Ie()}),Eo(()=>{K&&K.close(),re&&re.close(),Y&&Y.close()});async function De(){typeof c!="undefined"&&c!==null&&!h&&(a(27,T++,T),Ie())}async function Ie(Z=!1){h=!0,Z&&(a(27,T=1),a(0,I=[]));const Q=await fetch(`https://3ee.dev/britelite/status/?page=${T}`,{method:"GET",headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"https://3ee.com",Authorization:"Token "+E},mode:"cors"});a(25,P=await Q.json()),a(1,V=P.results),Z&&a(0,I=V),h=!1,a(28,R=P.next)}const _t=async()=>{Wl("/account/britelite")},mt=async()=>{a(26,S=!0)},me=async()=>{a(4,C=!0),document.body.scrollIntoView();const Q=await(await fetch("https://3ee.dev/account/upload/",{method:"POST",headers:{Accept:"application/json","Access-Control-Allow-Origin":"https://3ee.com",Authorization:"Token "+E},mode:"cors",body:w})).json();if(!Q.success)return;let Ve=_;Ve.profile.image=Q.image,qa.set(Ve),a(4,C=!1),O&&typeof umami!="undefined"?umami.trackEvent("Supercharge",{success:!0}):!O&&typeof umami!="undefined"&&umami.trackEvent("Upload Avatar",{success:!0})};function ge(){Wl("/britelite/library")}async function Pe(){Ie()}const gt=async(Z,Q)=>{a(6,g=Z.detail.file),new FileReader().readAsDataURL(g),w.append("file",g),w.append("useDiffusion",!0);let he=_;he.profile.useDiffusion=!0,qa.set(he),mt()},Et=async Z=>{a(26,S=!1),k=Z.detail,w.append("prompt",JSON.stringify(k)),a(5,O=!0),me()},ve=async Z=>{};function Ee(){Wl("/account/create")}return r.$$.update=()=>{r.$$.dirty[0]&1073741824&&a(13,t=(F==null?void 0:F.length)>0),r.$$.dirty[0]&33554432&&a(12,l=P==null?void 0:P.count),r.$$.dirty[0]&67108864&&a(11,n=S),r.$$.dirty[0]&134217734&&a(2,L=[...L,...V.slice(mo*T,mo*(T+1))]),r.$$.dirty[0]&268435456&&(c=R),r.$$.dirty[0]&3&&a(0,I=[...I,...V]),r.$$.dirty[1]&1&&a(31,v),r.$$.dirty[0]&1073741824&&a(10,p=F),r.$$.dirty[0]&8&&a(3,ce),r.$$.dirty[0]&536870912&&a(9,m=U)},h=Ju,[I,V,L,ce,C,O,g,j,H,m,p,n,l,t,E,D,N,De,_t,ge,Pe,gt,Et,ve,Ee,P,S,T,R,U,F,v]}class l1 extends st{constructor(e){super(),at(this,e,Ku,Qu,rt,{},null,[-1,-1])}}export{l1 as default}; diff --git a/_app/immutable/start-6df69c2c.js b/_app/immutable/start-6df69c2c.js deleted file mode 100644 index 9f745a7a..00000000 --- a/_app/immutable/start-6df69c2c.js +++ /dev/null @@ -1 +0,0 @@ -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-8ed999ca.js";import{w as _e}from"./chunks/index-71ac3aa5.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-d3d0f683.js"),["pages/__layout.svelte-d3d0f683.js","assets/pages/__layout.svelte-774592d4.css","chunks/index-8ed999ca.js","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js","chunks/accountStore-859cf7a0.js"]),()=>g(()=>import("./error.svelte-48964df0.js"),["error.svelte-48964df0.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/account/__layout.svelte-f0ecbf89.js"),["pages/account/__layout.svelte-f0ecbf89.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/about.svelte-157c5fc6.js"),["pages/about.svelte-157c5fc6.js","assets/pages/about.svelte-6998b073.css","chunks/index-8ed999ca.js","chunks/env-859c48a7.js","chunks/svgMapper-328a4fdf.js","assets/svgMapper-04a23b64.css","chunks/paths-396f020f.js"]),()=>g(()=>import("./pages/account/accessibility.md-c3f58c31.js"),["pages/account/accessibility.md-c3f58c31.js","chunks/index-8ed999ca.js","chunks/_post-af7918af.js","assets/_post-f4fbebca.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/account/conduct.md-210a49d9.js"),["pages/account/conduct.md-210a49d9.js","assets/pages/account/conduct.md-93bf397a.css","chunks/index-8ed999ca.js","chunks/_post-af7918af.js","assets/_post-f4fbebca.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js","chunks/svgMapper-328a4fdf.js","assets/svgMapper-04a23b64.css"]),()=>g(()=>import("./pages/account/create/index.svelte-57cbb7e7.js"),["pages/account/create/index.svelte-57cbb7e7.js","assets/pages/account/create/index.svelte-3fbdf7e6.css","chunks/index-8ed999ca.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/Captcha-744d4054.js","assets/Captcha-727e3782.css","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/index.svelte-f73b84bc.js"),["pages/account/index.svelte-f73b84bc.js","chunks/index-8ed999ca.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/account/login/index.svelte-81cd7869.js"),["pages/account/login/index.svelte-81cd7869.js","assets/pages/account/login/index.svelte-1119ca14.css","chunks/index-8ed999ca.js","chunks/env-859c48a7.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/logout/index.svelte-23ded2dc.js"),["pages/account/logout/index.svelte-23ded2dc.js","assets/pages/account/logout/index.svelte-66881dc6.css","chunks/index-8ed999ca.js","chunks/env-859c48a7.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/messages/index.svelte-94cbaead.js"),["pages/account/messages/index.svelte-94cbaead.js","assets/pages/account/messages/index.svelte-40102792.css","chunks/index-8ed999ca.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/messagingStore-ab164702.js"]),()=>g(()=>import("./pages/account/messages/response/index.svelte-713f0485.js"),["pages/account/messages/response/index.svelte-713f0485.js","assets/pages/account/messages/response/index.svelte-ba493ce0.css","chunks/index-8ed999ca.js","chunks/svgMapper-328a4fdf.js","assets/svgMapper-04a23b64.css","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/messagingStore-ab164702.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/new/index.svelte-215597d5.js"),["pages/account/new/index.svelte-215597d5.js","assets/pages/account/new/index.svelte-b2ad1a9f.css","chunks/index-8ed999ca.js","chunks/env-859c48a7.js","chunks/StarField-c4f6007c.js","assets/StarField-5456257e.css","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/password/index.svelte-dffb2942.js"),["pages/account/password/index.svelte-dffb2942.js","assets/pages/account/password/index.svelte-ae95f80c.css","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/account/patch/index.svelte-f185c521.js"),["pages/account/patch/index.svelte-f185c521.js","assets/pages/account/patch/index.svelte-87e5e6d1.css","chunks/index-8ed999ca.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/account/privacy.md-4289ed1a.js"),["pages/account/privacy.md-4289ed1a.js","assets/pages/account/privacy.md-8840f42b.css","chunks/index-8ed999ca.js","chunks/_post-af7918af.js","assets/_post-f4fbebca.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/account/profile/index.svelte-ff7262a7.js"),["pages/account/profile/index.svelte-ff7262a7.js","assets/pages/account/profile/index.svelte-f3e49d59.css","chunks/index-8ed999ca.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/account/terms.md-e0d889f7.js"),["pages/account/terms.md-e0d889f7.js","chunks/index-8ed999ca.js","chunks/_post-af7918af.js","assets/_post-f4fbebca.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/3ee-games-youtube-channel.md-e1e30880.js"),["pages/blog/3ee-games-youtube-channel.md-e1e30880.js","assets/pages/blog/3ee-games-youtube-channel.md-9da31171.css","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js","chunks/svgMapper-328a4fdf.js","assets/svgMapper-04a23b64.css"]),()=>g(()=>import("./pages/blog/categories/_category_.svelte-168d7cf0.js"),["pages/blog/categories/_category_.svelte-168d7cf0.js","chunks/index-8ed999ca.js","chunks/Grid-1fa84727.js","assets/Grid-12c356fe.css","chunks/paths-396f020f.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/svgMapper-328a4fdf.js","assets/svgMapper-04a23b64.css","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/flappy-jacob-prototype.md-36d07578.js"),["pages/blog/flappy-jacob-prototype.md-36d07578.js","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/index.svelte-d5564015.js"),["pages/blog/index.svelte-d5564015.js","chunks/index-8ed999ca.js","chunks/Grid-1fa84727.js","assets/Grid-12c356fe.css","chunks/paths-396f020f.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/svgMapper-328a4fdf.js","assets/svgMapper-04a23b64.css","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/no-ads-in-our-games.md-88c2294a.js"),["pages/blog/no-ads-in-our-games.md-88c2294a.js","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/ornamental-santa-diffusion.md-0a234994.js"),["pages/blog/ornamental-santa-diffusion.md-0a234994.js","assets/pages/blog/ornamental-santa-diffusion.md-a56e5d05.css","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/phaser-game-react-ui.md-b923495f.js"),["pages/blog/phaser-game-react-ui.md-b923495f.js","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/pong-kombat-2.md-bac72bca.js"),["pages/blog/pong-kombat-2.md-bac72bca.js","assets/pages/blog/pong-kombat-2.md-127e7b1f.css","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/shenanijam2018.md-532444fe.js"),["pages/blog/shenanijam2018.md-532444fe.js","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/tiled-level-editor-phaser.md-a2f2a30a.js"),["pages/blog/tiled-level-editor-phaser.md-a2f2a30a.js","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/britelite/index.svelte-fcd25f9e.js"),["pages/britelite/index.svelte-fcd25f9e.js","assets/pages/britelite/index.svelte-3f7d442c.css","chunks/index-8ed999ca.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/briteliteStore-1636fc63.js","chunks/Saos-dbfe5fbc.js"]),()=>g(()=>import("./pages/britelite/library/index.svelte-ce9d5590.js"),["pages/britelite/library/index.svelte-ce9d5590.js","assets/pages/britelite/library/index.svelte-65409f6d.css","chunks/index-8ed999ca.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/briteliteStore-1636fc63.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/Saos-dbfe5fbc.js"]),()=>g(()=>import("./pages/contact.svelte-7b810a6e.js"),["pages/contact.svelte-7b810a6e.js","assets/pages/contact.svelte-7ab07306.css","chunks/index-8ed999ca.js","chunks/env-859c48a7.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/Captcha-744d4054.js","assets/Captcha-727e3782.css","chunks/messagingStore-ab164702.js"]),()=>g(()=>import("./pages/games/cupids-balance.md-66ae6f91.js"),["pages/games/cupids-balance.md-66ae6f91.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/games/index.svelte-a357282a.js"),["pages/games/index.svelte-a357282a.js","assets/pages/games/index.svelte-3fba1b2b.css","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/games/whiskers_cove.md-2ddf1db3.js"),["pages/games/whiskers_cove.md-2ddf1db3.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/games/zultiki.md-16df6445.js"),["pages/games/zultiki.md-16df6445.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/index.svelte-1cb80890.js"),["pages/index.svelte-1cb80890.js","assets/pages/index.svelte-54a02662.css","chunks/index-8ed999ca.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/Saos-dbfe5fbc.js","chunks/index-71ac3aa5.js","chunks/accountStore-859cf7a0.js","chunks/StarField-c4f6007c.js","assets/StarField-5456257e.css"]),()=>g(()=>import("./pages/spacelab/index.svelte-35cd813b.js"),["pages/spacelab/index.svelte-35cd813b.js","assets/pages/spacelab/index.svelte-6ec8ba61.css","chunks/index-8ed999ca.js","chunks/paths-396f020f.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/team/adora.md-846a784f.js"),["pages/team/adora.md-846a784f.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/team/ddraw.md-8bf25baa.js"),["pages/team/ddraw.md-8bf25baa.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/team/ryan.md-4d937394.js"),["pages/team/ryan.md-4d937394.js","chunks/index-8ed999ca.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="1697897646291";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-8ed999ca.js";import{w as _e}from"./chunks/index-71ac3aa5.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-d3d0f683.js"),["pages/__layout.svelte-d3d0f683.js","assets/pages/__layout.svelte-774592d4.css","chunks/index-8ed999ca.js","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js","chunks/accountStore-859cf7a0.js"]),()=>g(()=>import("./error.svelte-48964df0.js"),["error.svelte-48964df0.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/account/__layout.svelte-f0ecbf89.js"),["pages/account/__layout.svelte-f0ecbf89.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/about.svelte-157c5fc6.js"),["pages/about.svelte-157c5fc6.js","assets/pages/about.svelte-6998b073.css","chunks/index-8ed999ca.js","chunks/env-859c48a7.js","chunks/svgMapper-328a4fdf.js","assets/svgMapper-04a23b64.css","chunks/paths-396f020f.js"]),()=>g(()=>import("./pages/account/accessibility.md-c3f58c31.js"),["pages/account/accessibility.md-c3f58c31.js","chunks/index-8ed999ca.js","chunks/_post-af7918af.js","assets/_post-f4fbebca.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/account/conduct.md-210a49d9.js"),["pages/account/conduct.md-210a49d9.js","assets/pages/account/conduct.md-93bf397a.css","chunks/index-8ed999ca.js","chunks/_post-af7918af.js","assets/_post-f4fbebca.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js","chunks/svgMapper-328a4fdf.js","assets/svgMapper-04a23b64.css"]),()=>g(()=>import("./pages/account/create/index.svelte-57cbb7e7.js"),["pages/account/create/index.svelte-57cbb7e7.js","assets/pages/account/create/index.svelte-3fbdf7e6.css","chunks/index-8ed999ca.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/Captcha-744d4054.js","assets/Captcha-727e3782.css","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/index.svelte-f73b84bc.js"),["pages/account/index.svelte-f73b84bc.js","chunks/index-8ed999ca.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/account/login/index.svelte-81cd7869.js"),["pages/account/login/index.svelte-81cd7869.js","assets/pages/account/login/index.svelte-1119ca14.css","chunks/index-8ed999ca.js","chunks/env-859c48a7.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/logout/index.svelte-23ded2dc.js"),["pages/account/logout/index.svelte-23ded2dc.js","assets/pages/account/logout/index.svelte-66881dc6.css","chunks/index-8ed999ca.js","chunks/env-859c48a7.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/messages/index.svelte-94cbaead.js"),["pages/account/messages/index.svelte-94cbaead.js","assets/pages/account/messages/index.svelte-40102792.css","chunks/index-8ed999ca.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/messagingStore-ab164702.js"]),()=>g(()=>import("./pages/account/messages/response/index.svelte-713f0485.js"),["pages/account/messages/response/index.svelte-713f0485.js","assets/pages/account/messages/response/index.svelte-ba493ce0.css","chunks/index-8ed999ca.js","chunks/svgMapper-328a4fdf.js","assets/svgMapper-04a23b64.css","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/messagingStore-ab164702.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/new/index.svelte-215597d5.js"),["pages/account/new/index.svelte-215597d5.js","assets/pages/account/new/index.svelte-b2ad1a9f.css","chunks/index-8ed999ca.js","chunks/env-859c48a7.js","chunks/StarField-c4f6007c.js","assets/StarField-5456257e.css","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/password/index.svelte-dffb2942.js"),["pages/account/password/index.svelte-dffb2942.js","assets/pages/account/password/index.svelte-ae95f80c.css","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/account/patch/index.svelte-f185c521.js"),["pages/account/patch/index.svelte-f185c521.js","assets/pages/account/patch/index.svelte-87e5e6d1.css","chunks/index-8ed999ca.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/account/privacy.md-4289ed1a.js"),["pages/account/privacy.md-4289ed1a.js","assets/pages/account/privacy.md-8840f42b.css","chunks/index-8ed999ca.js","chunks/_post-af7918af.js","assets/_post-f4fbebca.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/account/profile/index.svelte-ff7262a7.js"),["pages/account/profile/index.svelte-ff7262a7.js","assets/pages/account/profile/index.svelte-f3e49d59.css","chunks/index-8ed999ca.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/account/terms.md-e0d889f7.js"),["pages/account/terms.md-e0d889f7.js","chunks/index-8ed999ca.js","chunks/_post-af7918af.js","assets/_post-f4fbebca.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/3ee-games-youtube-channel.md-e1e30880.js"),["pages/blog/3ee-games-youtube-channel.md-e1e30880.js","assets/pages/blog/3ee-games-youtube-channel.md-9da31171.css","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js","chunks/svgMapper-328a4fdf.js","assets/svgMapper-04a23b64.css"]),()=>g(()=>import("./pages/blog/categories/_category_.svelte-168d7cf0.js"),["pages/blog/categories/_category_.svelte-168d7cf0.js","chunks/index-8ed999ca.js","chunks/Grid-1fa84727.js","assets/Grid-12c356fe.css","chunks/paths-396f020f.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/svgMapper-328a4fdf.js","assets/svgMapper-04a23b64.css","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/flappy-jacob-prototype.md-36d07578.js"),["pages/blog/flappy-jacob-prototype.md-36d07578.js","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/index.svelte-d5564015.js"),["pages/blog/index.svelte-d5564015.js","chunks/index-8ed999ca.js","chunks/Grid-1fa84727.js","assets/Grid-12c356fe.css","chunks/paths-396f020f.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/svgMapper-328a4fdf.js","assets/svgMapper-04a23b64.css","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/no-ads-in-our-games.md-88c2294a.js"),["pages/blog/no-ads-in-our-games.md-88c2294a.js","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/ornamental-santa-diffusion.md-0a234994.js"),["pages/blog/ornamental-santa-diffusion.md-0a234994.js","assets/pages/blog/ornamental-santa-diffusion.md-a56e5d05.css","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/phaser-game-react-ui.md-b923495f.js"),["pages/blog/phaser-game-react-ui.md-b923495f.js","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/pong-kombat-2.md-bac72bca.js"),["pages/blog/pong-kombat-2.md-bac72bca.js","assets/pages/blog/pong-kombat-2.md-127e7b1f.css","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/shenanijam2018.md-532444fe.js"),["pages/blog/shenanijam2018.md-532444fe.js","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/tiled-level-editor-phaser.md-a2f2a30a.js"),["pages/blog/tiled-level-editor-phaser.md-a2f2a30a.js","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/britelite/index.svelte-ff0c09fe.js"),["pages/britelite/index.svelte-ff0c09fe.js","assets/pages/britelite/index.svelte-b6d7fe9d.css","chunks/index-8ed999ca.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/briteliteStore-1636fc63.js","chunks/Saos-dbfe5fbc.js"]),()=>g(()=>import("./pages/britelite/library/index.svelte-ce9d5590.js"),["pages/britelite/library/index.svelte-ce9d5590.js","assets/pages/britelite/library/index.svelte-65409f6d.css","chunks/index-8ed999ca.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/briteliteStore-1636fc63.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/Saos-dbfe5fbc.js"]),()=>g(()=>import("./pages/contact.svelte-7b810a6e.js"),["pages/contact.svelte-7b810a6e.js","assets/pages/contact.svelte-7ab07306.css","chunks/index-8ed999ca.js","chunks/env-859c48a7.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/Captcha-744d4054.js","assets/Captcha-727e3782.css","chunks/messagingStore-ab164702.js"]),()=>g(()=>import("./pages/games/cupids-balance.md-66ae6f91.js"),["pages/games/cupids-balance.md-66ae6f91.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/games/index.svelte-a357282a.js"),["pages/games/index.svelte-a357282a.js","assets/pages/games/index.svelte-3fba1b2b.css","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/games/whiskers_cove.md-2ddf1db3.js"),["pages/games/whiskers_cove.md-2ddf1db3.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/games/zultiki.md-16df6445.js"),["pages/games/zultiki.md-16df6445.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/index.svelte-1cb80890.js"),["pages/index.svelte-1cb80890.js","assets/pages/index.svelte-54a02662.css","chunks/index-8ed999ca.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/Saos-dbfe5fbc.js","chunks/index-71ac3aa5.js","chunks/accountStore-859cf7a0.js","chunks/StarField-c4f6007c.js","assets/StarField-5456257e.css"]),()=>g(()=>import("./pages/spacelab/index.svelte-35cd813b.js"),["pages/spacelab/index.svelte-35cd813b.js","assets/pages/spacelab/index.svelte-6ec8ba61.css","chunks/index-8ed999ca.js","chunks/paths-396f020f.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/team/adora.md-846a784f.js"),["pages/team/adora.md-846a784f.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/team/ddraw.md-8bf25baa.js"),["pages/team/ddraw.md-8bf25baa.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/team/ryan.md-4d937394.js"),["pages/team/ryan.md-4d937394.js","chunks/index-8ed999ca.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="1697547420976";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-8ed999ca.js";import{w as _e}from"./chunks/index-71ac3aa5.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-d3d0f683.js"),["pages/__layout.svelte-d3d0f683.js","assets/pages/__layout.svelte-774592d4.css","chunks/index-8ed999ca.js","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js","chunks/accountStore-859cf7a0.js"]),()=>g(()=>import("./error.svelte-48964df0.js"),["error.svelte-48964df0.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/account/__layout.svelte-f0ecbf89.js"),["pages/account/__layout.svelte-f0ecbf89.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/about.svelte-157c5fc6.js"),["pages/about.svelte-157c5fc6.js","assets/pages/about.svelte-6998b073.css","chunks/index-8ed999ca.js","chunks/env-859c48a7.js","chunks/svgMapper-328a4fdf.js","assets/svgMapper-04a23b64.css","chunks/paths-396f020f.js"]),()=>g(()=>import("./pages/account/accessibility.md-c3f58c31.js"),["pages/account/accessibility.md-c3f58c31.js","chunks/index-8ed999ca.js","chunks/_post-af7918af.js","assets/_post-f4fbebca.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/account/conduct.md-210a49d9.js"),["pages/account/conduct.md-210a49d9.js","assets/pages/account/conduct.md-93bf397a.css","chunks/index-8ed999ca.js","chunks/_post-af7918af.js","assets/_post-f4fbebca.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js","chunks/svgMapper-328a4fdf.js","assets/svgMapper-04a23b64.css"]),()=>g(()=>import("./pages/account/create/index.svelte-57cbb7e7.js"),["pages/account/create/index.svelte-57cbb7e7.js","assets/pages/account/create/index.svelte-3fbdf7e6.css","chunks/index-8ed999ca.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/Captcha-744d4054.js","assets/Captcha-727e3782.css","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/index.svelte-f73b84bc.js"),["pages/account/index.svelte-f73b84bc.js","chunks/index-8ed999ca.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/account/login/index.svelte-81cd7869.js"),["pages/account/login/index.svelte-81cd7869.js","assets/pages/account/login/index.svelte-1119ca14.css","chunks/index-8ed999ca.js","chunks/env-859c48a7.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/logout/index.svelte-23ded2dc.js"),["pages/account/logout/index.svelte-23ded2dc.js","assets/pages/account/logout/index.svelte-66881dc6.css","chunks/index-8ed999ca.js","chunks/env-859c48a7.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/messages/index.svelte-94cbaead.js"),["pages/account/messages/index.svelte-94cbaead.js","assets/pages/account/messages/index.svelte-40102792.css","chunks/index-8ed999ca.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/messagingStore-ab164702.js"]),()=>g(()=>import("./pages/account/messages/response/index.svelte-713f0485.js"),["pages/account/messages/response/index.svelte-713f0485.js","assets/pages/account/messages/response/index.svelte-ba493ce0.css","chunks/index-8ed999ca.js","chunks/svgMapper-328a4fdf.js","assets/svgMapper-04a23b64.css","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/messagingStore-ab164702.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/new/index.svelte-215597d5.js"),["pages/account/new/index.svelte-215597d5.js","assets/pages/account/new/index.svelte-b2ad1a9f.css","chunks/index-8ed999ca.js","chunks/env-859c48a7.js","chunks/StarField-c4f6007c.js","assets/StarField-5456257e.css","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/account/password/index.svelte-dffb2942.js"),["pages/account/password/index.svelte-dffb2942.js","assets/pages/account/password/index.svelte-ae95f80c.css","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/account/patch/index.svelte-f185c521.js"),["pages/account/patch/index.svelte-f185c521.js","assets/pages/account/patch/index.svelte-87e5e6d1.css","chunks/index-8ed999ca.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/account/privacy.md-4289ed1a.js"),["pages/account/privacy.md-4289ed1a.js","assets/pages/account/privacy.md-8840f42b.css","chunks/index-8ed999ca.js","chunks/_post-af7918af.js","assets/_post-f4fbebca.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/account/profile/index.svelte-ff7262a7.js"),["pages/account/profile/index.svelte-ff7262a7.js","assets/pages/account/profile/index.svelte-f3e49d59.css","chunks/index-8ed999ca.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/account/terms.md-e0d889f7.js"),["pages/account/terms.md-e0d889f7.js","chunks/index-8ed999ca.js","chunks/_post-af7918af.js","assets/_post-f4fbebca.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/3ee-games-youtube-channel.md-e1e30880.js"),["pages/blog/3ee-games-youtube-channel.md-e1e30880.js","assets/pages/blog/3ee-games-youtube-channel.md-9da31171.css","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js","chunks/svgMapper-328a4fdf.js","assets/svgMapper-04a23b64.css"]),()=>g(()=>import("./pages/blog/categories/_category_.svelte-168d7cf0.js"),["pages/blog/categories/_category_.svelte-168d7cf0.js","chunks/index-8ed999ca.js","chunks/Grid-1fa84727.js","assets/Grid-12c356fe.css","chunks/paths-396f020f.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/svgMapper-328a4fdf.js","assets/svgMapper-04a23b64.css","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/flappy-jacob-prototype.md-36d07578.js"),["pages/blog/flappy-jacob-prototype.md-36d07578.js","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/index.svelte-d5564015.js"),["pages/blog/index.svelte-d5564015.js","chunks/index-8ed999ca.js","chunks/Grid-1fa84727.js","assets/Grid-12c356fe.css","chunks/paths-396f020f.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/svgMapper-328a4fdf.js","assets/svgMapper-04a23b64.css","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/no-ads-in-our-games.md-88c2294a.js"),["pages/blog/no-ads-in-our-games.md-88c2294a.js","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/ornamental-santa-diffusion.md-0a234994.js"),["pages/blog/ornamental-santa-diffusion.md-0a234994.js","assets/pages/blog/ornamental-santa-diffusion.md-a56e5d05.css","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/phaser-game-react-ui.md-b923495f.js"),["pages/blog/phaser-game-react-ui.md-b923495f.js","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/pong-kombat-2.md-bac72bca.js"),["pages/blog/pong-kombat-2.md-bac72bca.js","assets/pages/blog/pong-kombat-2.md-127e7b1f.css","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/shenanijam2018.md-532444fe.js"),["pages/blog/shenanijam2018.md-532444fe.js","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/blog/tiled-level-editor-phaser.md-a2f2a30a.js"),["pages/blog/tiled-level-editor-phaser.md-a2f2a30a.js","chunks/index-8ed999ca.js","chunks/_post-60c1c672.js","assets/_post-0b61513e.css","chunks/menuContextStore-382f91e1.js","chunks/index-71ac3aa5.js"]),()=>g(()=>import("./pages/britelite/index.svelte-33b23c98.js"),["pages/britelite/index.svelte-33b23c98.js","assets/pages/britelite/index.svelte-3f7d442c.css","chunks/index-8ed999ca.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/briteliteStore-1636fc63.js","chunks/Saos-dbfe5fbc.js"]),()=>g(()=>import("./pages/britelite/library/index.svelte-ce9d5590.js"),["pages/britelite/library/index.svelte-ce9d5590.js","assets/pages/britelite/library/index.svelte-65409f6d.css","chunks/index-8ed999ca.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/briteliteStore-1636fc63.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/Saos-dbfe5fbc.js"]),()=>g(()=>import("./pages/contact.svelte-7b810a6e.js"),["pages/contact.svelte-7b810a6e.js","assets/pages/contact.svelte-7ab07306.css","chunks/index-8ed999ca.js","chunks/env-859c48a7.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/Captcha-744d4054.js","assets/Captcha-727e3782.css","chunks/messagingStore-ab164702.js"]),()=>g(()=>import("./pages/games/cupids-balance.md-66ae6f91.js"),["pages/games/cupids-balance.md-66ae6f91.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/games/index.svelte-a357282a.js"),["pages/games/index.svelte-a357282a.js","assets/pages/games/index.svelte-3fba1b2b.css","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/games/whiskers_cove.md-2ddf1db3.js"),["pages/games/whiskers_cove.md-2ddf1db3.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/games/zultiki.md-16df6445.js"),["pages/games/zultiki.md-16df6445.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/index.svelte-1cb80890.js"),["pages/index.svelte-1cb80890.js","assets/pages/index.svelte-54a02662.css","chunks/index-8ed999ca.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js","chunks/Saos-dbfe5fbc.js","chunks/index-71ac3aa5.js","chunks/accountStore-859cf7a0.js","chunks/StarField-c4f6007c.js","assets/StarField-5456257e.css"]),()=>g(()=>import("./pages/spacelab/index.svelte-35cd813b.js"),["pages/spacelab/index.svelte-35cd813b.js","assets/pages/spacelab/index.svelte-6ec8ba61.css","chunks/index-8ed999ca.js","chunks/paths-396f020f.js","chunks/accountStore-859cf7a0.js","chunks/index-71ac3aa5.js","chunks/navigation-0e6511d1.js","chunks/singletons-d1fb5791.js"]),()=>g(()=>import("./pages/team/adora.md-846a784f.js"),["pages/team/adora.md-846a784f.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/team/ddraw.md-8bf25baa.js"),["pages/team/ddraw.md-8bf25baa.js","chunks/index-8ed999ca.js"]),()=>g(()=>import("./pages/team/ryan.md-4d937394.js"),["pages/team/ryan.md-4d937394.js","chunks/index-8ed999ca.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="1697930540838";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 - + @@ -100,7 +100,7 @@
social
- -