From 40ee542a28afa05e2b1de9a6c28c8e9d49c9c8bc Mon Sep 17 00:00:00 2001 From: Maxwell Paradis Date: Mon, 7 Apr 2025 21:49:25 -0500 Subject: [PATCH] feat: scoreboard front and back --- queuebServer/db.js | 4 +- .../dist/_app/immutable/assets/2.Cc1MnSx9.css | 1 - .../dist/_app/immutable/assets/2.DVCgzCjv.css | 1 + .../_app/immutable/assets/_page.Cc1MnSx9.css | 1 - .../_app/immutable/assets/_page.DVCgzCjv.css | 1 + .../chunks/{BHcdrSTx.js => 9GO8__J9.js} | 2 +- .../chunks/{BkLDdJVQ.js => BY1vZ1mH.js} | 2 +- .../chunks/{D4sDuujI.js => COxrpJlS.js} | 2 +- .../chunks/{DalkA_xl.js => CrehCDwn.js} | 2 +- .../chunks/{DYclDwEz.js => DELIUhZv.js} | 2 +- .../chunks/{eD75gwHV.js => DJC-Lmna.js} | 2 +- .../chunks/{Brvyzw3T.js => DlLMAEhl.js} | 2 +- .../{app.wVzvw02e.js => app.BI5ZM_8j.js} | 4 +- .../_app/immutable/entry/start.BEPysHMD.js | 1 + .../_app/immutable/entry/start.CUXBt2xv.js | 1 - .../dist/_app/immutable/nodes/0.C8_h3Fdy.js | 1 + .../dist/_app/immutable/nodes/0.oGgxswwF.js | 1 - .../dist/_app/immutable/nodes/1.Bi6BaAUf.js | 1 + .../dist/_app/immutable/nodes/1.D77sCQCP.js | 1 - .../dist/_app/immutable/nodes/2.BKFppjgC.js | 15 ++ .../dist/_app/immutable/nodes/2.DMtbxQhd.js | 15 -- queuebServer/dist/_app/version.json | 2 +- queuebServer/dist/index.html | 22 +-- queuebServer/server.js | 118 ++++++++-------- src/routes/+page.svelte | 131 +++++++++++++++++- 25 files changed, 231 insertions(+), 104 deletions(-) delete mode 100644 queuebServer/dist/_app/immutable/assets/2.Cc1MnSx9.css create mode 100644 queuebServer/dist/_app/immutable/assets/2.DVCgzCjv.css delete mode 100644 queuebServer/dist/_app/immutable/assets/_page.Cc1MnSx9.css create mode 100644 queuebServer/dist/_app/immutable/assets/_page.DVCgzCjv.css rename queuebServer/dist/_app/immutable/chunks/{BHcdrSTx.js => 9GO8__J9.js} (96%) rename queuebServer/dist/_app/immutable/chunks/{BkLDdJVQ.js => BY1vZ1mH.js} (80%) rename queuebServer/dist/_app/immutable/chunks/{D4sDuujI.js => COxrpJlS.js} (91%) rename queuebServer/dist/_app/immutable/chunks/{DalkA_xl.js => CrehCDwn.js} (93%) rename queuebServer/dist/_app/immutable/chunks/{DYclDwEz.js => DELIUhZv.js} (87%) rename queuebServer/dist/_app/immutable/chunks/{eD75gwHV.js => DJC-Lmna.js} (98%) rename queuebServer/dist/_app/immutable/chunks/{Brvyzw3T.js => DlLMAEhl.js} (99%) rename queuebServer/dist/_app/immutable/entry/{app.wVzvw02e.js => app.BI5ZM_8j.js} (86%) create mode 100644 queuebServer/dist/_app/immutable/entry/start.BEPysHMD.js delete mode 100644 queuebServer/dist/_app/immutable/entry/start.CUXBt2xv.js create mode 100644 queuebServer/dist/_app/immutable/nodes/0.C8_h3Fdy.js delete mode 100644 queuebServer/dist/_app/immutable/nodes/0.oGgxswwF.js create mode 100644 queuebServer/dist/_app/immutable/nodes/1.Bi6BaAUf.js delete mode 100644 queuebServer/dist/_app/immutable/nodes/1.D77sCQCP.js create mode 100644 queuebServer/dist/_app/immutable/nodes/2.BKFppjgC.js delete mode 100644 queuebServer/dist/_app/immutable/nodes/2.DMtbxQhd.js diff --git a/queuebServer/db.js b/queuebServer/db.js index 40aadb0..d71616d 100644 --- a/queuebServer/db.js +++ b/queuebServer/db.js @@ -5,10 +5,10 @@ async function sydb(client) { let users = "CREATE TABLE IF NOT EXISTS qb.users (id UUID PRIMARY KEY, username TEXT, email TEXT);"; let scores = - "CREATE TABLE IF NOT EXISTS qb.scores (id UUID, username TEXT, email TEXT, day INT, count INT, score INT, PRIMARY KEY (day, score, username, id));"; + "CREATE TABLE IF NOT EXISTS qb.scores (id UUID, username TEXT, email TEXT, day INT, count INT, score INT, cube TEXT, PRIMARY KEY (day, score, username, id));"; let blocks = "CREATE TABLE IF NOT EXISTS qb.blocks (day INT PRIMARY KEY, blocks list);"; - //let working = "CREATE INDEX ON fooble.beta_score0 (username);" + //let drop = "DROP TABLE qb.scores;" let queries = [keyspace, users, blocks, scores]; diff --git a/queuebServer/dist/_app/immutable/assets/2.Cc1MnSx9.css b/queuebServer/dist/_app/immutable/assets/2.Cc1MnSx9.css deleted file mode 100644 index a60a040..0000000 --- a/queuebServer/dist/_app/immutable/assets/2.Cc1MnSx9.css +++ /dev/null @@ -1 +0,0 @@ -h1.svelte-91m5ac,p.svelte-91m5ac{font-family:Roboto,sans-serif;text-align:center;color:#fff}.queueb.svelte-91m5ac{margin:auto;width:30rem;max-width:100vw;text-align:center}.cubeGrid.svelte-91m5ac{display:grid;grid-template-columns:repeat(var(--col-count),minmax(1rem,1fr));width:100%;gap:0}.cube.svelte-91m5ac{border:1px solid rgb(88,88,88);background-color:#ffffffb3;max-width:2.2rem;height:2rem;position:relative;overflow:visible}.activeBlock.svelte-91m5ac{display:grid;grid-template-columns:repeat(4,minmax(1rem,1fr));width:100%;gap:0;position:relative;overflow:auto;z-index:9998;width:420%;height:420%}.blocks.svelte-91m5ac,.noblocks.svelte-91m5ac{z-index:9999;width:100%;height:100%}.b2.svelte-91m5ac{outline:8px solid rgba(1,1,1,.208);outline-offset:-12px}.controls.svelte-91m5ac{display:flex;flex-direction:column;width:100%;margin:1.5rem 0}.controlRow.svelte-91m5ac{display:flex;flex-direction:row;justify-content:center;text-align:center}.control.svelte-91m5ac{flex-grow:1;width:8rem;height:3rem}.footer.svelte-91m5ac{display:flex;justify-content:center}.fullscreen-prompt.svelte-91m5ac{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:#000000b3;display:flex;justify-content:center;z-index:1000}.prompt-content.svelte-91m5ac{display:flex;flex-direction:column;background:#fff;width:80vw;padding:2rem;margin:1rem;margin-bottom:auto;border-radius:10px;text-align:center;box-shadow:0 4px 6px #0000001a;max-height:70vh;overflow-y:auto}.prompt-text.svelte-91m5ac{color:#283c50}.prompt-input.svelte-91m5ac{color:#283c50;border:1px solid rgb(55,83,124);margin-bottom:1rem;padding:.5rem 1rem;border-radius:5px;cursor:pointer;min-width:50vw}.prompt-button.svelte-91m5ac{background-color:#283c50;color:#fff}.prompt-button.svelte-91m5ac:disabled{background-color:gray}button.svelte-91m5ac:hover{background-color:#0000001a;color:#fff} diff --git a/queuebServer/dist/_app/immutable/assets/2.DVCgzCjv.css b/queuebServer/dist/_app/immutable/assets/2.DVCgzCjv.css new file mode 100644 index 0000000..48d92f9 --- /dev/null +++ b/queuebServer/dist/_app/immutable/assets/2.DVCgzCjv.css @@ -0,0 +1 @@ +h1.svelte-16cgsqn,p.svelte-16cgsqn,.scores.svelte-16cgsqn{font-family:Roboto,sans-serif;text-align:center;color:#fff}.queueb.svelte-16cgsqn{margin:auto;width:30rem;max-width:100vw;text-align:center}.cubeGrid.svelte-16cgsqn{display:grid;grid-template-columns:repeat(var(--col-count),minmax(1rem,1fr));width:100%;gap:0}.cube.svelte-16cgsqn{border:1px solid rgb(88,88,88);background-color:#ffffffb3;max-width:2.2rem;height:2rem;position:relative;overflow:visible}.activeBlock.svelte-16cgsqn{display:grid;grid-template-columns:repeat(4,minmax(1rem,1fr));width:100%;gap:0;position:relative;overflow:auto;z-index:9998;width:420%;height:420%}.blocks.svelte-16cgsqn,.noblocks.svelte-16cgsqn{z-index:9999;width:100%;height:100%}.b2.svelte-16cgsqn{outline:8px solid rgba(1,1,1,.208);outline-offset:-12px}.controls.svelte-16cgsqn{display:flex;flex-direction:column;width:100%;margin:1.5rem 0}.controlRow.svelte-16cgsqn{display:flex;flex-direction:row;justify-content:center;text-align:center}.control.svelte-16cgsqn{flex-grow:1;width:8rem;height:3rem}.footer.svelte-16cgsqn{display:flex;justify-content:center}.fullscreen-prompt.svelte-16cgsqn{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:#000000b3;display:flex;justify-content:center;z-index:1000}.prompt-content.svelte-16cgsqn{display:flex;flex-direction:column;background:#fff;width:80vw;padding:2rem;margin:1rem;margin-bottom:auto;border-radius:10px;text-align:center;box-shadow:0 4px 6px #0000001a;max-height:70vh;overflow-y:auto}.prompt-text.svelte-16cgsqn{color:#283c50}.prompt-input.svelte-16cgsqn{color:#283c50;border:1px solid rgb(55,83,124);margin-bottom:1rem;padding:.5rem 1rem;border-radius:5px;cursor:pointer;min-width:50vw}.prompt-button.svelte-16cgsqn{background-color:#283c50;color:#fff}.prompt-button.svelte-16cgsqn:disabled{background-color:gray}button.svelte-16cgsqn:hover{background-color:#0000001a;color:#fff}.scores.svelte-16cgsqn{display:flex;flex-direction:row;flex-basis:auto;width:100%;padding-bottom:5em;margin-bottom:5em;justify-content:space-around}.fifty.svelte-16cgsqn{display:flex;flex-direction:column;text-align:center}.scoreTile.svelte-16cgsqn{display:flex;flex-direction:row;width:80vw;max-width:12em}.score.svelte-16cgsqn{text-align:right;width:30%}.username.svelte-16cgsqn{flex-grow:3;text-align:left}.underline.svelte-16cgsqn{border-bottom:2px solid #ccc}.hof.svelte-16cgsqn{flex-direction:column}.hof2.svelte-16cgsqn{width:90%;max-width:90%;align-self:center} diff --git a/queuebServer/dist/_app/immutable/assets/_page.Cc1MnSx9.css b/queuebServer/dist/_app/immutable/assets/_page.Cc1MnSx9.css deleted file mode 100644 index a60a040..0000000 --- a/queuebServer/dist/_app/immutable/assets/_page.Cc1MnSx9.css +++ /dev/null @@ -1 +0,0 @@ -h1.svelte-91m5ac,p.svelte-91m5ac{font-family:Roboto,sans-serif;text-align:center;color:#fff}.queueb.svelte-91m5ac{margin:auto;width:30rem;max-width:100vw;text-align:center}.cubeGrid.svelte-91m5ac{display:grid;grid-template-columns:repeat(var(--col-count),minmax(1rem,1fr));width:100%;gap:0}.cube.svelte-91m5ac{border:1px solid rgb(88,88,88);background-color:#ffffffb3;max-width:2.2rem;height:2rem;position:relative;overflow:visible}.activeBlock.svelte-91m5ac{display:grid;grid-template-columns:repeat(4,minmax(1rem,1fr));width:100%;gap:0;position:relative;overflow:auto;z-index:9998;width:420%;height:420%}.blocks.svelte-91m5ac,.noblocks.svelte-91m5ac{z-index:9999;width:100%;height:100%}.b2.svelte-91m5ac{outline:8px solid rgba(1,1,1,.208);outline-offset:-12px}.controls.svelte-91m5ac{display:flex;flex-direction:column;width:100%;margin:1.5rem 0}.controlRow.svelte-91m5ac{display:flex;flex-direction:row;justify-content:center;text-align:center}.control.svelte-91m5ac{flex-grow:1;width:8rem;height:3rem}.footer.svelte-91m5ac{display:flex;justify-content:center}.fullscreen-prompt.svelte-91m5ac{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:#000000b3;display:flex;justify-content:center;z-index:1000}.prompt-content.svelte-91m5ac{display:flex;flex-direction:column;background:#fff;width:80vw;padding:2rem;margin:1rem;margin-bottom:auto;border-radius:10px;text-align:center;box-shadow:0 4px 6px #0000001a;max-height:70vh;overflow-y:auto}.prompt-text.svelte-91m5ac{color:#283c50}.prompt-input.svelte-91m5ac{color:#283c50;border:1px solid rgb(55,83,124);margin-bottom:1rem;padding:.5rem 1rem;border-radius:5px;cursor:pointer;min-width:50vw}.prompt-button.svelte-91m5ac{background-color:#283c50;color:#fff}.prompt-button.svelte-91m5ac:disabled{background-color:gray}button.svelte-91m5ac:hover{background-color:#0000001a;color:#fff} diff --git a/queuebServer/dist/_app/immutable/assets/_page.DVCgzCjv.css b/queuebServer/dist/_app/immutable/assets/_page.DVCgzCjv.css new file mode 100644 index 0000000..48d92f9 --- /dev/null +++ b/queuebServer/dist/_app/immutable/assets/_page.DVCgzCjv.css @@ -0,0 +1 @@ +h1.svelte-16cgsqn,p.svelte-16cgsqn,.scores.svelte-16cgsqn{font-family:Roboto,sans-serif;text-align:center;color:#fff}.queueb.svelte-16cgsqn{margin:auto;width:30rem;max-width:100vw;text-align:center}.cubeGrid.svelte-16cgsqn{display:grid;grid-template-columns:repeat(var(--col-count),minmax(1rem,1fr));width:100%;gap:0}.cube.svelte-16cgsqn{border:1px solid rgb(88,88,88);background-color:#ffffffb3;max-width:2.2rem;height:2rem;position:relative;overflow:visible}.activeBlock.svelte-16cgsqn{display:grid;grid-template-columns:repeat(4,minmax(1rem,1fr));width:100%;gap:0;position:relative;overflow:auto;z-index:9998;width:420%;height:420%}.blocks.svelte-16cgsqn,.noblocks.svelte-16cgsqn{z-index:9999;width:100%;height:100%}.b2.svelte-16cgsqn{outline:8px solid rgba(1,1,1,.208);outline-offset:-12px}.controls.svelte-16cgsqn{display:flex;flex-direction:column;width:100%;margin:1.5rem 0}.controlRow.svelte-16cgsqn{display:flex;flex-direction:row;justify-content:center;text-align:center}.control.svelte-16cgsqn{flex-grow:1;width:8rem;height:3rem}.footer.svelte-16cgsqn{display:flex;justify-content:center}.fullscreen-prompt.svelte-16cgsqn{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:#000000b3;display:flex;justify-content:center;z-index:1000}.prompt-content.svelte-16cgsqn{display:flex;flex-direction:column;background:#fff;width:80vw;padding:2rem;margin:1rem;margin-bottom:auto;border-radius:10px;text-align:center;box-shadow:0 4px 6px #0000001a;max-height:70vh;overflow-y:auto}.prompt-text.svelte-16cgsqn{color:#283c50}.prompt-input.svelte-16cgsqn{color:#283c50;border:1px solid rgb(55,83,124);margin-bottom:1rem;padding:.5rem 1rem;border-radius:5px;cursor:pointer;min-width:50vw}.prompt-button.svelte-16cgsqn{background-color:#283c50;color:#fff}.prompt-button.svelte-16cgsqn:disabled{background-color:gray}button.svelte-16cgsqn:hover{background-color:#0000001a;color:#fff}.scores.svelte-16cgsqn{display:flex;flex-direction:row;flex-basis:auto;width:100%;padding-bottom:5em;margin-bottom:5em;justify-content:space-around}.fifty.svelte-16cgsqn{display:flex;flex-direction:column;text-align:center}.scoreTile.svelte-16cgsqn{display:flex;flex-direction:row;width:80vw;max-width:12em}.score.svelte-16cgsqn{text-align:right;width:30%}.username.svelte-16cgsqn{flex-grow:3;text-align:left}.underline.svelte-16cgsqn{border-bottom:2px solid #ccc}.hof.svelte-16cgsqn{flex-direction:column}.hof2.svelte-16cgsqn{width:90%;max-width:90%;align-self:center} diff --git a/queuebServer/dist/_app/immutable/chunks/BHcdrSTx.js b/queuebServer/dist/_app/immutable/chunks/9GO8__J9.js similarity index 96% rename from queuebServer/dist/_app/immutable/chunks/BHcdrSTx.js rename to queuebServer/dist/_app/immutable/chunks/9GO8__J9.js index 95acd49..9d7738c 100644 --- a/queuebServer/dist/_app/immutable/chunks/BHcdrSTx.js +++ b/queuebServer/dist/_app/immutable/chunks/9GO8__J9.js @@ -1 +1 @@ -import{a6 as E,a7 as b,a8 as I,F as R,a9 as H,aa as W,ab as Y,I as j,ac as L,a2 as B,ad as C,ae as $,af as T,N as w,M as k,J as F,c as p,ag as J,ah as z,ai as G,aj as K,ak as Q,al as U,a1 as X,a as Z,q as x,e as tt,h as N,s as et}from"./Brvyzw3T.js";import{b as rt}from"./DalkA_xl.js";const at=["touchstart","touchmove"];function nt(t){return at.includes(t)}let A=!1;function st(){A||(A=!0,document.addEventListener("reset",t=>{Promise.resolve().then(()=>{var e;if(!t.defaultPrevented)for(const a of t.target.elements)(e=a.__on_r)==null||e.call(a)})},{capture:!0}))}function P(t){var e=I,a=R;E(null),b(null);try{return t()}finally{E(e),b(a)}}function _t(t,e,a,i=a){t.addEventListener(e,()=>P(a));const n=t.__on_r;n?t.__on_r=()=>{n(),i(!0)}:t.__on_r=()=>i(!0),st()}const it=new Set,D=new Set;function ot(t,e,a,i={}){function n(r){if(i.capture||y.call(e,r),!r.cancelBubble)return P(()=>a==null?void 0:a.call(this,r))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?W(()=>{e.addEventListener(t,n,i)}):e.addEventListener(t,n,i),n}function lt(t,e,a,i,n){var r={capture:i,passive:n},u=ot(t,e,a,r);(e===document.body||e===window||e===document)&&H(()=>{e.removeEventListener(t,u,r)})}function y(t){var O;var e=this,a=e.ownerDocument,i=t.type,n=((O=t.composedPath)==null?void 0:O.call(t))||[],r=n[0]||t.target,u=0,d=t.__root;if(d){var _=n.indexOf(d);if(_!==-1&&(e===document||e===window)){t.__root=e;return}var h=n.indexOf(e);if(h===-1)return;_<=h&&(u=_)}if(r=n[u]||t.target,r!==e){Y(t,"currentTarget",{configurable:!0,get(){return r||a}});var m=I,f=R;E(null),b(null);try{for(var s,o=[];r!==null;){var c=r.assignedSlot||r.parentNode||r.host||null;try{var l=r["__"+i];if(l!==void 0&&(!r.disabled||t.target===r))if(j(l)){var[V,...q]=l;V.apply(r,[t,...q])}else l.call(r,t)}catch(g){s?o.push(g):s=g}if(t.cancelBubble||c===e||c===null)break;r=c}if(s){for(let g of o)queueMicrotask(()=>{throw g});throw s}}finally{t.__root=e,delete t.currentTarget,E(m),b(f)}}}function dt(t,e){var a=e==null?"":typeof e=="object"?e+"":e;a!==(t.__t??(t.__t=t.nodeValue))&&(t.__t=a,t.nodeValue=a+"")}function ut(t,e){return M(t,e)}function ht(t,e){L(),e.intro=e.intro??!1;const a=e.target,i=N,n=p;try{for(var r=B(a);r&&(r.nodeType!==8||r.data!==C);)r=$(r);if(!r)throw T;w(!0),k(r),F();const u=M(t,{...e,anchor:r});if(p===null||p.nodeType!==8||p.data!==J)throw z(),T;return w(!1),u}catch(u){if(u===T)return e.recover===!1&&G(),L(),K(a),w(!1),ut(t,e);throw u}finally{w(i),k(n)}}const v=new Map;function M(t,{target:e,anchor:a,props:i={},events:n,context:r,intro:u=!0}){L();var d=new Set,_=f=>{for(var s=0;s{var f=a??e.appendChild(X());return Z(()=>{if(r){x({});var s=tt;s.c=r}n&&(i.$$events=n),N&&rt(f,null),h=t(f,i)||{},N&&(R.nodes_end=p),r&&et()}),()=>{var c;for(var s of d){e.removeEventListener(s,y);var o=v.get(s);--o===0?(document.removeEventListener(s,y),v.delete(s)):v.set(s,o)}D.delete(_),f!==a&&((c=f.parentNode)==null||c.removeChild(f))}});return S.set(h,m),h}let S=new WeakMap;function vt(t,e){const a=S.get(t);return a?(S.delete(t),a(e)):Promise.resolve()}export{st as a,lt as e,ht as h,_t as l,ut as m,dt as s,vt as u}; +import{a6 as E,a7 as b,a8 as I,F as R,a9 as H,aa as W,ab as Y,I as j,ac as L,a2 as B,ad as C,ae as $,af as T,N as w,M as k,J as F,c as p,ag as J,ah as z,ai as G,aj as K,ak as Q,al as U,a1 as X,a as Z,q as x,e as tt,h as N,s as et}from"./DlLMAEhl.js";import{b as rt}from"./CrehCDwn.js";const at=["touchstart","touchmove"];function nt(t){return at.includes(t)}let A=!1;function st(){A||(A=!0,document.addEventListener("reset",t=>{Promise.resolve().then(()=>{var e;if(!t.defaultPrevented)for(const a of t.target.elements)(e=a.__on_r)==null||e.call(a)})},{capture:!0}))}function P(t){var e=I,a=R;E(null),b(null);try{return t()}finally{E(e),b(a)}}function _t(t,e,a,i=a){t.addEventListener(e,()=>P(a));const n=t.__on_r;n?t.__on_r=()=>{n(),i(!0)}:t.__on_r=()=>i(!0),st()}const it=new Set,D=new Set;function ot(t,e,a,i={}){function n(r){if(i.capture||y.call(e,r),!r.cancelBubble)return P(()=>a==null?void 0:a.call(this,r))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?W(()=>{e.addEventListener(t,n,i)}):e.addEventListener(t,n,i),n}function lt(t,e,a,i,n){var r={capture:i,passive:n},u=ot(t,e,a,r);(e===document.body||e===window||e===document)&&H(()=>{e.removeEventListener(t,u,r)})}function y(t){var O;var e=this,a=e.ownerDocument,i=t.type,n=((O=t.composedPath)==null?void 0:O.call(t))||[],r=n[0]||t.target,u=0,d=t.__root;if(d){var _=n.indexOf(d);if(_!==-1&&(e===document||e===window)){t.__root=e;return}var h=n.indexOf(e);if(h===-1)return;_<=h&&(u=_)}if(r=n[u]||t.target,r!==e){Y(t,"currentTarget",{configurable:!0,get(){return r||a}});var m=I,f=R;E(null),b(null);try{for(var s,o=[];r!==null;){var c=r.assignedSlot||r.parentNode||r.host||null;try{var l=r["__"+i];if(l!==void 0&&(!r.disabled||t.target===r))if(j(l)){var[V,...q]=l;V.apply(r,[t,...q])}else l.call(r,t)}catch(g){s?o.push(g):s=g}if(t.cancelBubble||c===e||c===null)break;r=c}if(s){for(let g of o)queueMicrotask(()=>{throw g});throw s}}finally{t.__root=e,delete t.currentTarget,E(m),b(f)}}}function dt(t,e){var a=e==null?"":typeof e=="object"?e+"":e;a!==(t.__t??(t.__t=t.nodeValue))&&(t.__t=a,t.nodeValue=a+"")}function ut(t,e){return M(t,e)}function ht(t,e){L(),e.intro=e.intro??!1;const a=e.target,i=N,n=p;try{for(var r=B(a);r&&(r.nodeType!==8||r.data!==C);)r=$(r);if(!r)throw T;w(!0),k(r),F();const u=M(t,{...e,anchor:r});if(p===null||p.nodeType!==8||p.data!==J)throw z(),T;return w(!1),u}catch(u){if(u===T)return e.recover===!1&&G(),L(),K(a),w(!1),ut(t,e);throw u}finally{w(i),k(n)}}const v=new Map;function M(t,{target:e,anchor:a,props:i={},events:n,context:r,intro:u=!0}){L();var d=new Set,_=f=>{for(var s=0;s{var f=a??e.appendChild(X());return Z(()=>{if(r){x({});var s=tt;s.c=r}n&&(i.$$events=n),N&&rt(f,null),h=t(f,i)||{},N&&(R.nodes_end=p),r&&et()}),()=>{var c;for(var s of d){e.removeEventListener(s,y);var o=v.get(s);--o===0?(document.removeEventListener(s,y),v.delete(s)):v.set(s,o)}D.delete(_),f!==a&&((c=f.parentNode)==null||c.removeChild(f))}});return S.set(h,m),h}let S=new WeakMap;function vt(t,e){const a=S.get(t);return a?(S.delete(t),a(e)):Promise.resolve()}export{st as a,lt as e,ht as h,_t as l,ut as m,dt as s,vt as u}; diff --git a/queuebServer/dist/_app/immutable/chunks/BkLDdJVQ.js b/queuebServer/dist/_app/immutable/chunks/BY1vZ1mH.js similarity index 80% rename from queuebServer/dist/_app/immutable/chunks/BkLDdJVQ.js rename to queuebServer/dist/_app/immutable/chunks/BY1vZ1mH.js index 6e98b44..63dd939 100644 --- a/queuebServer/dist/_app/immutable/chunks/BkLDdJVQ.js +++ b/queuebServer/dist/_app/immutable/chunks/BY1vZ1mH.js @@ -1 +1 @@ -import{g as o,e as t,p as c,i as u}from"./Brvyzw3T.js";function l(n){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function r(n){t===null&&l(),c&&t.l!==null?a(t).m.push(n):o(()=>{const e=u(n);if(typeof e=="function")return e})}function a(n){var e=n.l;return e.u??(e.u={a:[],b:[],m:[]})}export{r as o}; +import{g as o,e as t,p as c,i as u}from"./DlLMAEhl.js";function l(n){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function r(n){t===null&&l(),c&&t.l!==null?a(t).m.push(n):o(()=>{const e=u(n);if(typeof e=="function")return e})}function a(n){var e=n.l;return e.u??(e.u={a:[],b:[],m:[]})}export{r as o}; diff --git a/queuebServer/dist/_app/immutable/chunks/D4sDuujI.js b/queuebServer/dist/_app/immutable/chunks/COxrpJlS.js similarity index 91% rename from queuebServer/dist/_app/immutable/chunks/D4sDuujI.js rename to queuebServer/dist/_app/immutable/chunks/COxrpJlS.js index 62d306e..fb7f0cd 100644 --- a/queuebServer/dist/_app/immutable/chunks/D4sDuujI.js +++ b/queuebServer/dist/_app/immutable/chunks/COxrpJlS.js @@ -1,3 +1,3 @@ -var Jt=t=>{throw TypeError(t)};var Ne=(t,e,n)=>e.has(t)||Jt("Cannot "+n);var k=(t,e,n)=>(Ne(t,e,"read from private field"),n?n.call(t):e.get(t)),P=(t,e,n)=>e.has(t)?Jt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n);import{n as It,aI as je,ap as C,k as O,C as N,aq as $e}from"./Brvyzw3T.js";import{o as Xt}from"./BkLDdJVQ.js";const B=[];function Nt(t,e=It){let n=null;const r=new Set;function a(o){if(je(t,o)&&(t=o,n)){const c=!B.length;for(const l of r)l[1](),B.push(l,t);if(c){for(let l=0;l{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:s,subscribe:i}}new URL("sveltekit-internal://");function De(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function Fe(t){return t.split("%25").map(decodeURI).join("%25")}function Ve(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function Ut({href:t}){return t.split("#")[0]}function Be(t,e,n,r=!1){const a=new URL(t);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(i,o){if(o==="get"||o==="getAll"||o==="has")return l=>(n(l),i[o](l));e();const c=Reflect.get(i,o);return typeof c=="function"?c.bind(i):c}}),enumerable:!0,configurable:!0});const s=["href","pathname","search","toString","toJSON"];r&&s.push("hash");for(const i of s)Object.defineProperty(a,i,{get(){return e(),t[i]},enumerable:!0,configurable:!0});return a}function qe(...t){let e=5381;for(const n of t)if(typeof n=="string"){let r=n.length;for(;r;)e=e*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)e=e*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}function Ge(t){const e=atob(t),n=new Uint8Array(e.length);for(let r=0;r((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&Y.delete(jt(t)),Me(t,e));const Y=new Map;function He(t,e){const n=jt(t,e),r=document.querySelector(n);if(r!=null&&r.textContent){let{body:a,...s}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&Y.set(n,{body:a,init:s,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=Ge(a)),Promise.resolve(new Response(a,s))}return window.fetch(t,e)}function Ke(t,e,n){if(Y.size>0){const r=jt(t,n),a=Y.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return e.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return e.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return Lt(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Lt(String.fromCharCode(...c.slice(2).split("-").map(d=>parseInt(d,16))));const u=We.exec(c),[,p,y,f,m]=u;return e.push({name:f,matcher:m,optional:!!p,rest:!!y,chained:y?l===1&&i[0]==="":!1}),y?"(.*?)":p?"([^/]*)?":"([^/]+?)"}return Lt(c)}).join("")}).join("")}/?$`),params:e}}function ze(t){return!/^\([^)]+\)$/.test(t)}function Je(t){return t.slice(1).split("/").filter(ze)}function Xe(t,e,n){const r={},a=t.slice(1),s=a.filter(o=>o!==void 0);let i=0;for(let o=0;ou).join("/"),i=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const u=e[o+1],p=a[o+1];u&&!u.rest&&u.optional&&p&&c.chained&&(i=0),!u&&!p&&Object.keys(r).length===s.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return r}function Lt(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ze({nodes:t,server_loads:e,dictionary:n,matchers:r}){const a=new Set(e);return Object.entries(n).map(([o,[c,l,u]])=>{const{pattern:p,params:y}=Ye(o),f={id:o,exec:m=>{const d=p.exec(m);if(d)return Xe(d,y,r)},errors:[1,...u||[]].map(m=>t[m]),layouts:[0,...l||[]].map(i),leaf:s(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(o){const c=o<0;return c&&(o=~o),[c,t[o]]}function i(o){return o===void 0?o:[a.has(o),t[o]]}}function he(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function Zt(t,e,n=JSON.stringify){const r=n(e);try{sessionStorage[t]=r}catch{}}var ie;const x=((ie=globalThis.__sveltekit_1v6adh0)==null?void 0:ie.base)??"";var ce;const Qe=((ce=globalThis.__sveltekit_1v6adh0)==null?void 0:ce.assets)??x,tn="1743306921539",de="sveltekit:snapshot",pe="sveltekit:scroll",ge="sveltekit:states",en="sveltekit:pageurl",G="sveltekit:history",X="sveltekit:navigation",ht={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},ut=location.origin;function me(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function $t(){return{x:pageXOffset,y:pageYOffset}}function q(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const Qt={...ht,"":ht.hover};function ye(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function we(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=ye(t)}}function Pt(t,e,n){let r;try{if(r=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,s=!r||!!a||bt(r,e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),i=(r==null?void 0:r.origin)===ut&&t.hasAttribute("download");return{url:r,external:s,target:a,download:i}}function dt(t){let e=null,n=null,r=null,a=null,s=null,i=null,o=t;for(;o&&o!==document.documentElement;)r===null&&(r=q(o,"preload-code")),a===null&&(a=q(o,"preload-data")),e===null&&(e=q(o,"keepfocus")),n===null&&(n=q(o,"noscroll")),s===null&&(s=q(o,"reload")),i===null&&(i=q(o,"replacestate")),o=ye(o);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Qt[r??"off"],preload_data:Qt[a??"off"],keepfocus:c(e),noscroll:c(n),reload:c(s),replace_state:c(i)}}function te(t){const e=Nt(t);let n=!0;function r(){n=!0,e.update(i=>i)}function a(i){n=!1,e.set(i)}function s(i){let o;return e.subscribe(c=>{(o===void 0||n&&c!==o)&&i(o=c)})}return{notify:r,set:a,subscribe:s}}const _e={v:()=>{}};function nn(){const{set:t,subscribe:e}=Nt(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Qe}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==tn;return i&&(t(!0),_e.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:e,check:r}}function bt(t,e,n){return t.origin!==ut||!t.pathname.startsWith(e)?!0:n?!(t.pathname===e+"/"||t.pathname===e+"/index.html"||t.protocol==="file:"&&t.pathname.replace(/\/[^/]+\.html?$/,"")===e):!1}function ee(t){const e=an(t),n=new ArrayBuffer(e.length),r=new DataView(n);for(let a=0;a>16),e+=String.fromCharCode((n&65280)>>8),e+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,e+=String.fromCharCode(n)):r===18&&(n>>=2,e+=String.fromCharCode((n&65280)>>8),e+=String.fromCharCode(n&255)),e}const on=-1,sn=-2,cn=-3,ln=-4,fn=-5,un=-6;function hn(t,e){if(typeof t=="number")return a(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const n=t,r=Array(n.length);function a(s,i=!1){if(s===on)return;if(s===cn)return NaN;if(s===ln)return 1/0;if(s===fn)return-1/0;if(s===un)return-0;if(i)throw new Error("Invalid input");if(s in r)return r[s];const o=n[s];if(!o||typeof o!="object")r[s]=o;else if(Array.isArray(o))if(typeof o[0]=="string"){const c=o[0],l=e==null?void 0:e[c];if(l)return r[s]=l(a(o[1]));switch(c){case"Date":r[s]=new Date(o[1]);break;case"Set":const u=new Set;r[s]=u;for(let f=1;fe!=null)}class kt{constructor(e,n){this.status=e,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${e}`}}toString(){return JSON.stringify(this.body)}}class Dt{constructor(e,n){this.status=e,this.location=n}}class Ft extends Error{constructor(e,n,r){super(r),this.status=e,this.text=n}}const gn="x-sveltekit-invalidated",mn="x-sveltekit-trailing-slash";function pt(t){return t instanceof kt||t instanceof Ft?t.status:500}function yn(t){return t instanceof Ft?t.text:"Internal Error"}let U,Z,Tt;const wn=Xt.toString().includes("$$")||/function \w+\(\) \{\}/.test(Xt.toString());var et,nt,rt,at,ot,st,it,ct,le,lt,fe,ft,ue;wn?(U={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},Z={current:null},Tt={current:!1}):(U=new(le=class{constructor(){P(this,et,C({}));P(this,nt,C(null));P(this,rt,C(null));P(this,at,C({}));P(this,ot,C({id:null}));P(this,st,C({}));P(this,it,C(-1));P(this,ct,C(new URL("https://example.com")))}get data(){return O(k(this,et))}set data(e){N(k(this,et),e)}get form(){return O(k(this,nt))}set form(e){N(k(this,nt),e)}get error(){return O(k(this,rt))}set error(e){N(k(this,rt),e)}get params(){return O(k(this,at))}set params(e){N(k(this,at),e)}get route(){return O(k(this,ot))}set route(e){N(k(this,ot),e)}get state(){return O(k(this,st))}set state(e){N(k(this,st),e)}get status(){return O(k(this,it))}set status(e){N(k(this,it),e)}get url(){return O(k(this,ct))}set url(e){N(k(this,ct),e)}},et=new WeakMap,nt=new WeakMap,rt=new WeakMap,at=new WeakMap,ot=new WeakMap,st=new WeakMap,it=new WeakMap,ct=new WeakMap,le),Z=new(fe=class{constructor(){P(this,lt,C(null))}get current(){return O(k(this,lt))}set current(e){N(k(this,lt),e)}},lt=new WeakMap,fe),Tt=new(ue=class{constructor(){P(this,ft,C(!1))}get current(){return O(k(this,ft))}set current(e){N(k(this,ft),e)}},ft=new WeakMap,ue),_e.v=()=>Tt.current=!0);function _n(t){Object.assign(U,t)}const vn="/__data.json",bn=".html__data.json";function kn(t){return t.endsWith(".html")?t.replace(/\.html$/,bn):t.replace(/\/$/,"")+vn}const An=new Set(["icon","shortcut icon","apple-touch-icon"]),V=he(pe)??{},Q=he(de)??{},$={url:te({}),page:te({}),navigating:Nt(null),updated:nn()};function Vt(t){V[t]=$t()}function Sn(t,e){let n=t+1;for(;V[n];)delete V[n],n+=1;for(n=e+1;Q[n];)delete Q[n],n+=1}function H(t){return location.href=t.href,new Promise(()=>{})}async function be(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(x||"/");t&&await t.update()}}function ne(){}let Bt,Ct,gt,j,Ot,A;const mt=[],yt=[];let L=null;const ke=new Set,En=new Set,z=new Set;let v={branch:[],error:null,url:null},qt=!1,wt=!1,re=!0,tt=!1,K=!1,Ae=!1,Gt=!1,Se,R,T,F;const J=new Set;async function Mn(t,e,n){var a,s,i,o;document.URL!==location.href&&(location.href=location.href),A=t,await((s=(a=t.hooks).init)==null?void 0:s.call(a)),Bt=Ze(t),j=document.documentElement,Ot=e,Ct=t.nodes[0],gt=t.nodes[1],Ct(),gt(),R=(i=history.state)==null?void 0:i[G],T=(o=history.state)==null?void 0:o[X],R||(R=T=Date.now(),history.replaceState({...history.state,[G]:R,[X]:T},""));const r=V[R];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),n?await jn(Ot,n):await Cn(A.hash?Oe(new URL(location.href)):location.href,{replaceState:!0}),Nn()}function Rn(){mt.length=0,Gt=!1}function Ee(t){yt.some(e=>e==null?void 0:e.snapshot)&&(Q[t]=yt.map(e=>{var n;return(n=e==null?void 0:e.snapshot)==null?void 0:n.capture()}))}function Re(t){var e;(e=Q[t])==null||e.forEach((n,r)=>{var a,s;(s=(a=yt[r])==null?void 0:a.snapshot)==null||s.restore(n)})}function ae(){Vt(R),Zt(pe,V),Ee(T),Zt(de,Q)}async function Mt(t,e,n,r){return W({type:"goto",url:me(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:n,nav_token:r,accept:()=>{e.invalidateAll&&(Gt=!0),e.invalidate&&e.invalidate.forEach(On)}})}async function In(t){if(t.id!==(L==null?void 0:L.id)){const e={};J.add(e),L={id:t.id,token:e,promise:Ue({...t,preload:e}).then(n=>(J.delete(e),n.type==="loaded"&&n.state.error&&(L=null),n))}}return L.promise}async function xt(t){var n;const e=(n=await St(t,!1))==null?void 0:n.route;e&&await Promise.all([...e.layouts,e.leaf].map(r=>r==null?void 0:r[1]()))}function Ie(t,e,n){var s;v=t.state;const r=document.querySelector("style[data-sveltekit]");r&&r.remove(),Object.assign(U,t.props.page),Se=new A.root({target:e,props:{...t.props,stores:$,components:yt},hydrate:n,sync:!1}),Re(T);const a={from:null,to:{params:v.params,route:{id:((s=v.route)==null?void 0:s.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};z.forEach(i=>i(a)),wt=!0}function _t({url:t,params:e,branch:n,status:r,error:a,route:s,form:i}){let o="never";if(x&&(t.pathname===x||t.pathname===x+"/"))o="always";else for(const f of n)(f==null?void 0:f.slash)!==void 0&&(o=f.slash);t.pathname=De(t.pathname,o),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:n,error:a,route:s},props:{constructors:pn(n).map(f=>f.node.component),page:Wt(U)}};i!==void 0&&(c.props.form=i);let l={},u=!U,p=0;for(let f=0;f(o&&(c.route=!0),d[h])}),params:new Proxy(r,{get:(d,h)=>(o&&c.params.add(h),d[h])}),data:(s==null?void 0:s.data)??null,url:Be(n,()=>{o&&(c.url=!0)},d=>{o&&c.search_params.add(d)},A.hash),async fetch(d,h){let w;d instanceof Request?(w=d.url,h={body:d.method==="GET"||d.method==="HEAD"?void 0:await d.blob(),cache:d.cache,credentials:d.credentials,headers:[...d.headers].length?d.headers:void 0,integrity:d.integrity,keepalive:d.keepalive,method:d.method,mode:d.mode,redirect:d.redirect,referrer:d.referrer,referrerPolicy:d.referrerPolicy,signal:d.signal,...h}):w=d;const S=new URL(w,n);return o&&f(S.href),S.origin===n.origin&&(w=S.href.slice(n.origin.length)),wt?Ke(w,S.href,h):He(w,h)},setHeaders:()=>{},depends:f,parent(){return o&&(c.parent=!0),e()},untrack(d){o=!1;try{return d()}finally{o=!0}}};i=await l.universal.load.call(null,m)??null}return{node:l,loader:t,server:s,universal:(p=l.universal)!=null&&p.load?{type:"data",data:i,uses:c}:null,data:i??(s==null?void 0:s.data)??null,slash:((y=l.universal)==null?void 0:y.trailingSlash)??(s==null?void 0:s.slash)}}function oe(t,e,n,r,a,s){if(Gt)return!0;if(!a)return!1;if(a.parent&&t||a.route&&e||a.url&&n)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(s[i]!==v.params[i])return!0;for(const i of a.dependencies)if(mt.some(o=>o(new URL(i))))return!0;return!1}function Kt(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function Un(t,e){if(!t)return new Set(e.searchParams.keys());const n=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const r of n){const a=t.searchParams.getAll(r),s=e.searchParams.getAll(r);a.every(i=>s.includes(i))&&s.every(i=>a.includes(i))&&n.delete(r)}return n}function se({error:t,url:e,route:n,params:r}){return{type:"loaded",state:{error:t,url:e,route:n,params:r,branch:[]},props:{page:Wt(U),constructors:[]}}}async function Ue({id:t,invalidating:e,url:n,params:r,route:a,preload:s}){if((L==null?void 0:L.id)===t)return J.delete(L.token),L.promise;const{errors:i,layouts:o,leaf:c}=a,l=[...o,c];i.forEach(g=>g==null?void 0:g().catch(()=>{})),l.forEach(g=>g==null?void 0:g[1]().catch(()=>{}));let u=null;const p=v.url?t!==vt(v.url):!1,y=v.route?a.id!==v.route.id:!1,f=Un(v.url,n);let m=!1;const d=l.map((g,_)=>{var D;const b=v.branch[_],E=!!(g!=null&&g[0])&&((b==null?void 0:b.loader)!==g[1]||oe(m,y,p,f,(D=b.server)==null?void 0:D.uses,r));return E&&(m=!0),E});if(d.some(Boolean)){try{u=await xe(n,d)}catch(g){const _=await M(g,{url:n,params:r,route:{id:t}});return J.has(s)?se({error:_,url:n,params:r,route:a}):At({status:pt(g),error:_,url:n,route:a})}if(u.type==="redirect")return u}const h=u==null?void 0:u.nodes;let w=!1;const S=l.map(async(g,_)=>{var Et;if(!g)return;const b=v.branch[_],E=h==null?void 0:h[_];if((!E||E.type==="skip")&&g[1]===(b==null?void 0:b.loader)&&!oe(w,y,p,f,(Et=b.universal)==null?void 0:Et.uses,r))return b;if(w=!0,(E==null?void 0:E.type)==="error")throw E;return Ht({loader:g[1],url:n,params:r,route:a,parent:async()=>{var zt;const Yt={};for(let Rt=0;Rt<_;Rt+=1)Object.assign(Yt,(zt=await S[Rt])==null?void 0:zt.data);return Yt},server_data_node:Kt(E===void 0&&g[0]?{type:"skip"}:E??null,g[0]?b==null?void 0:b.server:void 0)})});for(const g of S)g.catch(()=>{});const I=[];for(let g=0;gPromise.resolve({}),server_data_node:Kt(s)}),c={node:await gt(),loader:gt,universal:null,server:null,data:null};return _t({url:n,params:a,branch:[o,c],status:t,error:e,route:null})}catch(o){if(o instanceof Dt)return Mt(new URL(o.location,location.href),{},0);throw o}}function Tn(t){let e;try{if(e=A.hooks.reroute({url:new URL(t)})??t,typeof e=="string"){const n=new URL(t);A.hash?n.hash=e:n.pathname=e,e=n}}catch{return}return e}async function St(t,e){if(t&&!bt(t,x,A.hash)){const n=Tn(t);if(!n)return;const r=xn(n);for(const a of Bt){const s=a.exec(r);if(s)return{id:vt(t),invalidating:e,route:a,params:Ve(s),url:t}}}}function xn(t){return Fe(A.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(x.length))||"/"}function vt(t){return(A.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function Le({url:t,type:e,intent:n,delta:r}){let a=!1;const s=Ce(v,n,t,e);r!==void 0&&(s.navigation.delta=r);const i={...s.navigation,cancel:()=>{a=!0,s.reject(new Error("navigation cancelled"))}};return tt||ke.forEach(o=>o(i)),a?null:s}async function W({type:t,url:e,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i={},redirect_count:o=0,nav_token:c={},accept:l=ne,block:u=ne}){const p=F;F=c;const y=await St(e,!1),f=Le({url:e,type:t,delta:n==null?void 0:n.delta,intent:y});if(!f){u(),F===c&&(F=p);return}const m=R,d=T;l(),tt=!0,wt&&$.navigating.set(Z.current=f.navigation);let h=y&&await Ue(y);if(!h){if(bt(e,x,A.hash))return await H(e);h=await Te(e,{id:null},await M(new Ft(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(y==null?void 0:y.url)||e,F!==c)return f.reject(new Error("navigation aborted")),!1;if(h.type==="redirect")if(o>=20)h=await At({status:500,error:await M(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return await Mt(new URL(h.location,e).href,{},o+1,c),!1;else h.props.page.status>=400&&await $.updated.check()&&(await be(),await H(e));if(Rn(),Vt(m),Ee(d),h.props.page.url.pathname!==e.pathname&&(e.pathname=h.props.page.url.pathname),i=n?n.state:i,!n){const g=s?0:1,_={[G]:R+=g,[X]:T+=g,[ge]:i};(s?history.replaceState:history.pushState).call(history,_,"",e),s||Sn(R,T)}if(L=null,h.props.page.state=i,wt){v=h.state,h.props.page&&(h.props.page.url=e);const g=(await Promise.all(Array.from(En,_=>_(f.navigation)))).filter(_=>typeof _=="function");if(g.length>0){let _=function(){g.forEach(b=>{z.delete(b)})};g.push(_),g.forEach(b=>{z.add(b)})}Se.$set(h.props),_n(h.props.page),Ae=!0}else Ie(h,Ot,!1);const{activeElement:w}=document;await $e();const S=n?n.scroll:a?$t():null;if(re){const g=e.hash&&document.getElementById(decodeURIComponent(A.hash?e.hash.split("#")[2]??"":e.hash.slice(1)));S?scrollTo(S.x,S.y):g?g.scrollIntoView():scrollTo(0,0)}const I=document.activeElement!==w&&document.activeElement!==document.body;!r&&!I&&$n(),re=!0,h.props.page&&Object.assign(U,h.props.page),tt=!1,t==="popstate"&&Re(T),f.fulfil(void 0),z.forEach(g=>g(f.navigation)),$.navigating.set(Z.current=null)}async function Te(t,e,n,r){return t.origin===ut&&t.pathname===location.pathname&&!qt?await At({status:r,error:n,url:t,route:e}):await H(t)}function Pn(){let t,e;j.addEventListener("mousemove",i=>{const o=i.target;clearTimeout(t),t=setTimeout(()=>{a(o,2)},20)});function n(i){i.defaultPrevented||a(i.composedPath()[0],1)}j.addEventListener("mousedown",n),j.addEventListener("touchstart",n,{passive:!0});const r=new IntersectionObserver(i=>{for(const o of i)o.isIntersecting&&(xt(new URL(o.target.href)),r.unobserve(o.target))},{threshold:0});async function a(i,o){const c=we(i,j);if(!c||c===e)return;e=c;const{url:l,external:u,download:p}=Pt(c,x,A.hash);if(u||p)return;const y=dt(c),f=l&&vt(v.url)===vt(l);if(!y.reload&&!f)if(o<=y.preload_data){const m=await St(l,!1);m&&In(m)}else o<=y.preload_code&&xt(l)}function s(){r.disconnect();for(const i of j.querySelectorAll("a")){const{url:o,external:c,download:l}=Pt(i,x,A.hash);if(c||l)continue;const u=dt(i);u.reload||(u.preload_code===ht.viewport&&r.observe(i),u.preload_code===ht.eager&&xt(o))}}z.add(s),s()}function M(t,e){if(t instanceof kt)return t.body;const n=pt(t),r=yn(t);return A.hooks.handleError({error:t,event:e,status:n,message:r})??{message:r}}function Cn(t,e={}){return t=new URL(me(t)),t.origin!==ut?Promise.reject(new Error("goto: invalid URL")):Mt(t,e,0)}function On(t){if(typeof t=="function")mt.push(t);else{const{href:e}=new URL(t,location.href);mt.push(n=>n.href===e)}}function Nn(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(ae(),!tt){const a=Ce(v,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};ke.forEach(i=>i(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ae()}),(e=navigator.connection)!=null&&e.saveData||Pn(),j.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=we(n.composedPath()[0],j);if(!r)return;const{url:a,external:s,target:i,download:o}=Pt(r,x,A.hash);if(!a)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=dt(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||o)return;const[u,p]=(A.hash?a.hash.replace(/^#/,""):a.href).split("#"),y=u===Ut(location);if(s||c.reload&&(!y||!p)){Le({url:a,type:"link"})?tt=!0:n.preventDefault();return}if(p!==void 0&&y){const[,f]=v.url.href.split("#");if(f===p){if(n.preventDefault(),p===""||p==="top"&&r.ownerDocument.getElementById("top")===null)window.scrollTo({top:0});else{const m=r.ownerDocument.getElementById(decodeURIComponent(p));m&&(m.scrollIntoView(),m.focus())}return}if(K=!0,Vt(R),t(a),!c.replace_state)return;K=!1}n.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await W({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href})}),j.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const o=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(bt(o,x,!1))return;const c=n.target,l=dt(c);if(l.reload)return;n.preventDefault(),n.stopPropagation();const u=new FormData(c),p=a==null?void 0:a.getAttribute("name");p&&u.append(p,(a==null?void 0:a.getAttribute("value"))??""),o.search=new URLSearchParams(u).toString(),W({type:"form",url:o,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??o.href===location.href})}),addEventListener("popstate",async n=>{var r;if((r=n.state)!=null&&r[G]){const a=n.state[G];if(F={},a===R)return;const s=V[a],i=n.state[ge]??{},o=new URL(n.state[en]??location.href),c=n.state[X],l=v.url?Ut(location)===Ut(v.url):!1;if(c===T&&(Ae||l)){i!==U.state&&(U.state=i),t(o),V[R]=$t(),s&&scrollTo(s.x,s.y),R=a;return}const p=a-R;await W({type:"popstate",url:o,popped:{state:i,scroll:s,delta:p},accept:()=>{R=a,T=c},block:()=>{history.go(-p)},nav_token:F})}else if(!K){const a=new URL(location.href);t(a)}}),addEventListener("hashchange",()=>{K?(K=!1,history.replaceState({...history.state,[G]:++R,[X]:T},"",location.href)):A.hash&&v.url.hash===location.hash&&W({type:"goto",url:Oe(v.url)})});for(const n of document.querySelectorAll("link"))An.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&$.navigating.set(Z.current=null)});function t(n){v.url=U.url=n,$.page.set(Wt(U)),$.page.notify()}}async function jn(t,{status:e=200,error:n,node_ids:r,params:a,route:s,server_route:i,data:o,form:c}){qt=!0;const l=new URL(location.href);let u;({params:a={},route:s={id:null}}=await St(l,!1)||{}),u=Bt.find(({id:f})=>f===s.id);let p,y=!0;try{const f=r.map(async(d,h)=>{const w=o[h];return w!=null&&w.uses&&(w.uses=Pe(w.uses)),Ht({loader:A.nodes[d],url:l,params:a,route:s,parent:async()=>{const S={};for(let I=0;Ii?"1":"0").join(""));const r=window.fetch,a=await r(n.href,{});if(!a.ok){let i;throw(s=a.headers.get("content-type"))!=null&&s.includes("application/json")?i=await a.json():a.status===404?i="Not Found":a.status===500&&(i="Internal Error"),new kt(a.status,i)}return new Promise(async i=>{var y;const o=new Map,c=a.body.getReader(),l=new TextDecoder;function u(f){return hn(f,{...A.decoders,Promise:m=>new Promise((d,h)=>{o.set(m,{fulfil:d,reject:h})})})}let p="";for(;;){const{done:f,value:m}=await c.read();if(f&&!p)break;for(p+=!m&&p?` +var Jt=t=>{throw TypeError(t)};var Ne=(t,e,n)=>e.has(t)||Jt("Cannot "+n);var k=(t,e,n)=>(Ne(t,e,"read from private field"),n?n.call(t):e.get(t)),P=(t,e,n)=>e.has(t)?Jt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n);import{n as It,aI as je,ap as C,k as O,C as N,aq as $e}from"./DlLMAEhl.js";import{o as Xt}from"./BY1vZ1mH.js";const V=[];function Nt(t,e=It){let n=null;const r=new Set;function a(o){if(je(t,o)&&(t=o,n)){const c=!V.length;for(const l of r)l[1](),V.push(l,t);if(c){for(let l=0;l{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:s,subscribe:i}}new URL("sveltekit-internal://");function De(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function qe(t){return t.split("%25").map(decodeURI).join("%25")}function Fe(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function Ut({href:t}){return t.split("#")[0]}function Ve(t,e,n,r=!1){const a=new URL(t);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(i,o){if(o==="get"||o==="getAll"||o==="has")return l=>(n(l),i[o](l));e();const c=Reflect.get(i,o);return typeof c=="function"?c.bind(i):c}}),enumerable:!0,configurable:!0});const s=["href","pathname","search","toString","toJSON"];r&&s.push("hash");for(const i of s)Object.defineProperty(a,i,{get(){return e(),t[i]},enumerable:!0,configurable:!0});return a}function Be(...t){let e=5381;for(const n of t)if(typeof n=="string"){let r=n.length;for(;r;)e=e*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)e=e*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}function Ge(t){const e=atob(t),n=new Uint8Array(e.length);for(let r=0;r((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&Y.delete(jt(t)),Me(t,e));const Y=new Map;function He(t,e){const n=jt(t,e),r=document.querySelector(n);if(r!=null&&r.textContent){let{body:a,...s}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&Y.set(n,{body:a,init:s,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=Ge(a)),Promise.resolve(new Response(a,s))}return window.fetch(t,e)}function Ke(t,e,n){if(Y.size>0){const r=jt(t,n),a=Y.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return e.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return e.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return Lt(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Lt(String.fromCharCode(...c.slice(2).split("-").map(d=>parseInt(d,16))));const u=We.exec(c),[,p,y,f,m]=u;return e.push({name:f,matcher:m,optional:!!p,rest:!!y,chained:y?l===1&&i[0]==="":!1}),y?"(.*?)":p?"([^/]*)?":"([^/]+?)"}return Lt(c)}).join("")}).join("")}/?$`),params:e}}function ze(t){return!/^\([^)]+\)$/.test(t)}function Je(t){return t.slice(1).split("/").filter(ze)}function Xe(t,e,n){const r={},a=t.slice(1),s=a.filter(o=>o!==void 0);let i=0;for(let o=0;ou).join("/"),i=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const u=e[o+1],p=a[o+1];u&&!u.rest&&u.optional&&p&&c.chained&&(i=0),!u&&!p&&Object.keys(r).length===s.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return r}function Lt(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ze({nodes:t,server_loads:e,dictionary:n,matchers:r}){const a=new Set(e);return Object.entries(n).map(([o,[c,l,u]])=>{const{pattern:p,params:y}=Ye(o),f={id:o,exec:m=>{const d=p.exec(m);if(d)return Xe(d,y,r)},errors:[1,...u||[]].map(m=>t[m]),layouts:[0,...l||[]].map(i),leaf:s(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(o){const c=o<0;return c&&(o=~o),[c,t[o]]}function i(o){return o===void 0?o:[a.has(o),t[o]]}}function he(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function Zt(t,e,n=JSON.stringify){const r=n(e);try{sessionStorage[t]=r}catch{}}var ie;const x=((ie=globalThis.__sveltekit_169jeqm)==null?void 0:ie.base)??"";var ce;const Qe=((ce=globalThis.__sveltekit_169jeqm)==null?void 0:ce.assets)??x,tn="1744080355273",de="sveltekit:snapshot",pe="sveltekit:scroll",ge="sveltekit:states",en="sveltekit:pageurl",G="sveltekit:history",X="sveltekit:navigation",ht={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},ut=location.origin;function me(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function $t(){return{x:pageXOffset,y:pageYOffset}}function B(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const Qt={...ht,"":ht.hover};function ye(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function we(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=ye(t)}}function Pt(t,e,n){let r;try{if(r=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,s=!r||!!a||bt(r,e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),i=(r==null?void 0:r.origin)===ut&&t.hasAttribute("download");return{url:r,external:s,target:a,download:i}}function dt(t){let e=null,n=null,r=null,a=null,s=null,i=null,o=t;for(;o&&o!==document.documentElement;)r===null&&(r=B(o,"preload-code")),a===null&&(a=B(o,"preload-data")),e===null&&(e=B(o,"keepfocus")),n===null&&(n=B(o,"noscroll")),s===null&&(s=B(o,"reload")),i===null&&(i=B(o,"replacestate")),o=ye(o);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Qt[r??"off"],preload_data:Qt[a??"off"],keepfocus:c(e),noscroll:c(n),reload:c(s),replace_state:c(i)}}function te(t){const e=Nt(t);let n=!0;function r(){n=!0,e.update(i=>i)}function a(i){n=!1,e.set(i)}function s(i){let o;return e.subscribe(c=>{(o===void 0||n&&c!==o)&&i(o=c)})}return{notify:r,set:a,subscribe:s}}const _e={v:()=>{}};function nn(){const{set:t,subscribe:e}=Nt(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Qe}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==tn;return i&&(t(!0),_e.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:e,check:r}}function bt(t,e,n){return t.origin!==ut||!t.pathname.startsWith(e)?!0:n?!(t.pathname===e+"/"||t.pathname===e+"/index.html"||t.protocol==="file:"&&t.pathname.replace(/\/[^/]+\.html?$/,"")===e):!1}function ee(t){const e=an(t),n=new ArrayBuffer(e.length),r=new DataView(n);for(let a=0;a>16),e+=String.fromCharCode((n&65280)>>8),e+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,e+=String.fromCharCode(n)):r===18&&(n>>=2,e+=String.fromCharCode((n&65280)>>8),e+=String.fromCharCode(n&255)),e}const on=-1,sn=-2,cn=-3,ln=-4,fn=-5,un=-6;function hn(t,e){if(typeof t=="number")return a(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const n=t,r=Array(n.length);function a(s,i=!1){if(s===on)return;if(s===cn)return NaN;if(s===ln)return 1/0;if(s===fn)return-1/0;if(s===un)return-0;if(i)throw new Error("Invalid input");if(s in r)return r[s];const o=n[s];if(!o||typeof o!="object")r[s]=o;else if(Array.isArray(o))if(typeof o[0]=="string"){const c=o[0],l=e==null?void 0:e[c];if(l)return r[s]=l(a(o[1]));switch(c){case"Date":r[s]=new Date(o[1]);break;case"Set":const u=new Set;r[s]=u;for(let f=1;fe!=null)}class kt{constructor(e,n){this.status=e,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${e}`}}toString(){return JSON.stringify(this.body)}}class Dt{constructor(e,n){this.status=e,this.location=n}}class qt extends Error{constructor(e,n,r){super(r),this.status=e,this.text=n}}const gn="x-sveltekit-invalidated",mn="x-sveltekit-trailing-slash";function pt(t){return t instanceof kt||t instanceof qt?t.status:500}function yn(t){return t instanceof qt?t.text:"Internal Error"}let U,Z,Tt;const wn=Xt.toString().includes("$$")||/function \w+\(\) \{\}/.test(Xt.toString());var et,nt,rt,at,ot,st,it,ct,le,lt,fe,ft,ue;wn?(U={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},Z={current:null},Tt={current:!1}):(U=new(le=class{constructor(){P(this,et,C({}));P(this,nt,C(null));P(this,rt,C(null));P(this,at,C({}));P(this,ot,C({id:null}));P(this,st,C({}));P(this,it,C(-1));P(this,ct,C(new URL("https://example.com")))}get data(){return O(k(this,et))}set data(e){N(k(this,et),e)}get form(){return O(k(this,nt))}set form(e){N(k(this,nt),e)}get error(){return O(k(this,rt))}set error(e){N(k(this,rt),e)}get params(){return O(k(this,at))}set params(e){N(k(this,at),e)}get route(){return O(k(this,ot))}set route(e){N(k(this,ot),e)}get state(){return O(k(this,st))}set state(e){N(k(this,st),e)}get status(){return O(k(this,it))}set status(e){N(k(this,it),e)}get url(){return O(k(this,ct))}set url(e){N(k(this,ct),e)}},et=new WeakMap,nt=new WeakMap,rt=new WeakMap,at=new WeakMap,ot=new WeakMap,st=new WeakMap,it=new WeakMap,ct=new WeakMap,le),Z=new(fe=class{constructor(){P(this,lt,C(null))}get current(){return O(k(this,lt))}set current(e){N(k(this,lt),e)}},lt=new WeakMap,fe),Tt=new(ue=class{constructor(){P(this,ft,C(!1))}get current(){return O(k(this,ft))}set current(e){N(k(this,ft),e)}},ft=new WeakMap,ue),_e.v=()=>Tt.current=!0);function _n(t){Object.assign(U,t)}const vn="/__data.json",bn=".html__data.json";function kn(t){return t.endsWith(".html")?t.replace(/\.html$/,bn):t.replace(/\/$/,"")+vn}const An=new Set(["icon","shortcut icon","apple-touch-icon"]),F=he(pe)??{},Q=he(de)??{},$={url:te({}),page:te({}),navigating:Nt(null),updated:nn()};function Ft(t){F[t]=$t()}function Sn(t,e){let n=t+1;for(;F[n];)delete F[n],n+=1;for(n=e+1;Q[n];)delete Q[n],n+=1}function H(t){return location.href=t.href,new Promise(()=>{})}async function be(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(x||"/");t&&await t.update()}}function ne(){}let Vt,Ct,gt,j,Ot,A;const mt=[],yt=[];let L=null;const ke=new Set,En=new Set,z=new Set;let v={branch:[],error:null,url:null},Bt=!1,wt=!1,re=!0,tt=!1,K=!1,Ae=!1,Gt=!1,Se,R,T,q;const J=new Set;async function Mn(t,e,n){var a,s,i,o;document.URL!==location.href&&(location.href=location.href),A=t,await((s=(a=t.hooks).init)==null?void 0:s.call(a)),Vt=Ze(t),j=document.documentElement,Ot=e,Ct=t.nodes[0],gt=t.nodes[1],Ct(),gt(),R=(i=history.state)==null?void 0:i[G],T=(o=history.state)==null?void 0:o[X],R||(R=T=Date.now(),history.replaceState({...history.state,[G]:R,[X]:T},""));const r=F[R];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),n?await jn(Ot,n):await Cn(A.hash?Oe(new URL(location.href)):location.href,{replaceState:!0}),Nn()}function Rn(){mt.length=0,Gt=!1}function Ee(t){yt.some(e=>e==null?void 0:e.snapshot)&&(Q[t]=yt.map(e=>{var n;return(n=e==null?void 0:e.snapshot)==null?void 0:n.capture()}))}function Re(t){var e;(e=Q[t])==null||e.forEach((n,r)=>{var a,s;(s=(a=yt[r])==null?void 0:a.snapshot)==null||s.restore(n)})}function ae(){Ft(R),Zt(pe,F),Ee(T),Zt(de,Q)}async function Mt(t,e,n,r){return W({type:"goto",url:me(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:n,nav_token:r,accept:()=>{e.invalidateAll&&(Gt=!0),e.invalidate&&e.invalidate.forEach(On)}})}async function In(t){if(t.id!==(L==null?void 0:L.id)){const e={};J.add(e),L={id:t.id,token:e,promise:Ue({...t,preload:e}).then(n=>(J.delete(e),n.type==="loaded"&&n.state.error&&(L=null),n))}}return L.promise}async function xt(t){var n;const e=(n=await St(t,!1))==null?void 0:n.route;e&&await Promise.all([...e.layouts,e.leaf].map(r=>r==null?void 0:r[1]()))}function Ie(t,e,n){var s;v=t.state;const r=document.querySelector("style[data-sveltekit]");r&&r.remove(),Object.assign(U,t.props.page),Se=new A.root({target:e,props:{...t.props,stores:$,components:yt},hydrate:n,sync:!1}),Re(T);const a={from:null,to:{params:v.params,route:{id:((s=v.route)==null?void 0:s.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};z.forEach(i=>i(a)),wt=!0}function _t({url:t,params:e,branch:n,status:r,error:a,route:s,form:i}){let o="never";if(x&&(t.pathname===x||t.pathname===x+"/"))o="always";else for(const f of n)(f==null?void 0:f.slash)!==void 0&&(o=f.slash);t.pathname=De(t.pathname,o),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:n,error:a,route:s},props:{constructors:pn(n).map(f=>f.node.component),page:Wt(U)}};i!==void 0&&(c.props.form=i);let l={},u=!U,p=0;for(let f=0;f(o&&(c.route=!0),d[h])}),params:new Proxy(r,{get:(d,h)=>(o&&c.params.add(h),d[h])}),data:(s==null?void 0:s.data)??null,url:Ve(n,()=>{o&&(c.url=!0)},d=>{o&&c.search_params.add(d)},A.hash),async fetch(d,h){let w;d instanceof Request?(w=d.url,h={body:d.method==="GET"||d.method==="HEAD"?void 0:await d.blob(),cache:d.cache,credentials:d.credentials,headers:[...d.headers].length?d.headers:void 0,integrity:d.integrity,keepalive:d.keepalive,method:d.method,mode:d.mode,redirect:d.redirect,referrer:d.referrer,referrerPolicy:d.referrerPolicy,signal:d.signal,...h}):w=d;const S=new URL(w,n);return o&&f(S.href),S.origin===n.origin&&(w=S.href.slice(n.origin.length)),wt?Ke(w,S.href,h):He(w,h)},setHeaders:()=>{},depends:f,parent(){return o&&(c.parent=!0),e()},untrack(d){o=!1;try{return d()}finally{o=!0}}};i=await l.universal.load.call(null,m)??null}return{node:l,loader:t,server:s,universal:(p=l.universal)!=null&&p.load?{type:"data",data:i,uses:c}:null,data:i??(s==null?void 0:s.data)??null,slash:((y=l.universal)==null?void 0:y.trailingSlash)??(s==null?void 0:s.slash)}}function oe(t,e,n,r,a,s){if(Gt)return!0;if(!a)return!1;if(a.parent&&t||a.route&&e||a.url&&n)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(s[i]!==v.params[i])return!0;for(const i of a.dependencies)if(mt.some(o=>o(new URL(i))))return!0;return!1}function Kt(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function Un(t,e){if(!t)return new Set(e.searchParams.keys());const n=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const r of n){const a=t.searchParams.getAll(r),s=e.searchParams.getAll(r);a.every(i=>s.includes(i))&&s.every(i=>a.includes(i))&&n.delete(r)}return n}function se({error:t,url:e,route:n,params:r}){return{type:"loaded",state:{error:t,url:e,route:n,params:r,branch:[]},props:{page:Wt(U),constructors:[]}}}async function Ue({id:t,invalidating:e,url:n,params:r,route:a,preload:s}){if((L==null?void 0:L.id)===t)return J.delete(L.token),L.promise;const{errors:i,layouts:o,leaf:c}=a,l=[...o,c];i.forEach(g=>g==null?void 0:g().catch(()=>{})),l.forEach(g=>g==null?void 0:g[1]().catch(()=>{}));let u=null;const p=v.url?t!==vt(v.url):!1,y=v.route?a.id!==v.route.id:!1,f=Un(v.url,n);let m=!1;const d=l.map((g,_)=>{var D;const b=v.branch[_],E=!!(g!=null&&g[0])&&((b==null?void 0:b.loader)!==g[1]||oe(m,y,p,f,(D=b.server)==null?void 0:D.uses,r));return E&&(m=!0),E});if(d.some(Boolean)){try{u=await xe(n,d)}catch(g){const _=await M(g,{url:n,params:r,route:{id:t}});return J.has(s)?se({error:_,url:n,params:r,route:a}):At({status:pt(g),error:_,url:n,route:a})}if(u.type==="redirect")return u}const h=u==null?void 0:u.nodes;let w=!1;const S=l.map(async(g,_)=>{var Et;if(!g)return;const b=v.branch[_],E=h==null?void 0:h[_];if((!E||E.type==="skip")&&g[1]===(b==null?void 0:b.loader)&&!oe(w,y,p,f,(Et=b.universal)==null?void 0:Et.uses,r))return b;if(w=!0,(E==null?void 0:E.type)==="error")throw E;return Ht({loader:g[1],url:n,params:r,route:a,parent:async()=>{var zt;const Yt={};for(let Rt=0;Rt<_;Rt+=1)Object.assign(Yt,(zt=await S[Rt])==null?void 0:zt.data);return Yt},server_data_node:Kt(E===void 0&&g[0]?{type:"skip"}:E??null,g[0]?b==null?void 0:b.server:void 0)})});for(const g of S)g.catch(()=>{});const I=[];for(let g=0;gPromise.resolve({}),server_data_node:Kt(s)}),c={node:await gt(),loader:gt,universal:null,server:null,data:null};return _t({url:n,params:a,branch:[o,c],status:t,error:e,route:null})}catch(o){if(o instanceof Dt)return Mt(new URL(o.location,location.href),{},0);throw o}}function Tn(t){let e;try{if(e=A.hooks.reroute({url:new URL(t)})??t,typeof e=="string"){const n=new URL(t);A.hash?n.hash=e:n.pathname=e,e=n}}catch{return}return e}async function St(t,e){if(t&&!bt(t,x,A.hash)){const n=Tn(t);if(!n)return;const r=xn(n);for(const a of Vt){const s=a.exec(r);if(s)return{id:vt(t),invalidating:e,route:a,params:Fe(s),url:t}}}}function xn(t){return qe(A.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(x.length))||"/"}function vt(t){return(A.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function Le({url:t,type:e,intent:n,delta:r}){let a=!1;const s=Ce(v,n,t,e);r!==void 0&&(s.navigation.delta=r);const i={...s.navigation,cancel:()=>{a=!0,s.reject(new Error("navigation cancelled"))}};return tt||ke.forEach(o=>o(i)),a?null:s}async function W({type:t,url:e,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i={},redirect_count:o=0,nav_token:c={},accept:l=ne,block:u=ne}){const p=q;q=c;const y=await St(e,!1),f=Le({url:e,type:t,delta:n==null?void 0:n.delta,intent:y});if(!f){u(),q===c&&(q=p);return}const m=R,d=T;l(),tt=!0,wt&&$.navigating.set(Z.current=f.navigation);let h=y&&await Ue(y);if(!h){if(bt(e,x,A.hash))return await H(e);h=await Te(e,{id:null},await M(new qt(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(y==null?void 0:y.url)||e,q!==c)return f.reject(new Error("navigation aborted")),!1;if(h.type==="redirect")if(o>=20)h=await At({status:500,error:await M(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return await Mt(new URL(h.location,e).href,{},o+1,c),!1;else h.props.page.status>=400&&await $.updated.check()&&(await be(),await H(e));if(Rn(),Ft(m),Ee(d),h.props.page.url.pathname!==e.pathname&&(e.pathname=h.props.page.url.pathname),i=n?n.state:i,!n){const g=s?0:1,_={[G]:R+=g,[X]:T+=g,[ge]:i};(s?history.replaceState:history.pushState).call(history,_,"",e),s||Sn(R,T)}if(L=null,h.props.page.state=i,wt){v=h.state,h.props.page&&(h.props.page.url=e);const g=(await Promise.all(Array.from(En,_=>_(f.navigation)))).filter(_=>typeof _=="function");if(g.length>0){let _=function(){g.forEach(b=>{z.delete(b)})};g.push(_),g.forEach(b=>{z.add(b)})}Se.$set(h.props),_n(h.props.page),Ae=!0}else Ie(h,Ot,!1);const{activeElement:w}=document;await $e();const S=n?n.scroll:a?$t():null;if(re){const g=e.hash&&document.getElementById(decodeURIComponent(A.hash?e.hash.split("#")[2]??"":e.hash.slice(1)));S?scrollTo(S.x,S.y):g?g.scrollIntoView():scrollTo(0,0)}const I=document.activeElement!==w&&document.activeElement!==document.body;!r&&!I&&$n(),re=!0,h.props.page&&Object.assign(U,h.props.page),tt=!1,t==="popstate"&&Re(T),f.fulfil(void 0),z.forEach(g=>g(f.navigation)),$.navigating.set(Z.current=null)}async function Te(t,e,n,r){return t.origin===ut&&t.pathname===location.pathname&&!Bt?await At({status:r,error:n,url:t,route:e}):await H(t)}function Pn(){let t,e;j.addEventListener("mousemove",i=>{const o=i.target;clearTimeout(t),t=setTimeout(()=>{a(o,2)},20)});function n(i){i.defaultPrevented||a(i.composedPath()[0],1)}j.addEventListener("mousedown",n),j.addEventListener("touchstart",n,{passive:!0});const r=new IntersectionObserver(i=>{for(const o of i)o.isIntersecting&&(xt(new URL(o.target.href)),r.unobserve(o.target))},{threshold:0});async function a(i,o){const c=we(i,j);if(!c||c===e)return;e=c;const{url:l,external:u,download:p}=Pt(c,x,A.hash);if(u||p)return;const y=dt(c),f=l&&vt(v.url)===vt(l);if(!y.reload&&!f)if(o<=y.preload_data){const m=await St(l,!1);m&&In(m)}else o<=y.preload_code&&xt(l)}function s(){r.disconnect();for(const i of j.querySelectorAll("a")){const{url:o,external:c,download:l}=Pt(i,x,A.hash);if(c||l)continue;const u=dt(i);u.reload||(u.preload_code===ht.viewport&&r.observe(i),u.preload_code===ht.eager&&xt(o))}}z.add(s),s()}function M(t,e){if(t instanceof kt)return t.body;const n=pt(t),r=yn(t);return A.hooks.handleError({error:t,event:e,status:n,message:r})??{message:r}}function Cn(t,e={}){return t=new URL(me(t)),t.origin!==ut?Promise.reject(new Error("goto: invalid URL")):Mt(t,e,0)}function On(t){if(typeof t=="function")mt.push(t);else{const{href:e}=new URL(t,location.href);mt.push(n=>n.href===e)}}function Nn(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(ae(),!tt){const a=Ce(v,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};ke.forEach(i=>i(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ae()}),(e=navigator.connection)!=null&&e.saveData||Pn(),j.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=we(n.composedPath()[0],j);if(!r)return;const{url:a,external:s,target:i,download:o}=Pt(r,x,A.hash);if(!a)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=dt(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||o)return;const[u,p]=(A.hash?a.hash.replace(/^#/,""):a.href).split("#"),y=u===Ut(location);if(s||c.reload&&(!y||!p)){Le({url:a,type:"link"})?tt=!0:n.preventDefault();return}if(p!==void 0&&y){const[,f]=v.url.href.split("#");if(f===p){if(n.preventDefault(),p===""||p==="top"&&r.ownerDocument.getElementById("top")===null)window.scrollTo({top:0});else{const m=r.ownerDocument.getElementById(decodeURIComponent(p));m&&(m.scrollIntoView(),m.focus())}return}if(K=!0,Ft(R),t(a),!c.replace_state)return;K=!1}n.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await W({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href})}),j.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const o=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(bt(o,x,!1))return;const c=n.target,l=dt(c);if(l.reload)return;n.preventDefault(),n.stopPropagation();const u=new FormData(c),p=a==null?void 0:a.getAttribute("name");p&&u.append(p,(a==null?void 0:a.getAttribute("value"))??""),o.search=new URLSearchParams(u).toString(),W({type:"form",url:o,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??o.href===location.href})}),addEventListener("popstate",async n=>{var r;if((r=n.state)!=null&&r[G]){const a=n.state[G];if(q={},a===R)return;const s=F[a],i=n.state[ge]??{},o=new URL(n.state[en]??location.href),c=n.state[X],l=v.url?Ut(location)===Ut(v.url):!1;if(c===T&&(Ae||l)){i!==U.state&&(U.state=i),t(o),F[R]=$t(),s&&scrollTo(s.x,s.y),R=a;return}const p=a-R;await W({type:"popstate",url:o,popped:{state:i,scroll:s,delta:p},accept:()=>{R=a,T=c},block:()=>{history.go(-p)},nav_token:q})}else if(!K){const a=new URL(location.href);t(a)}}),addEventListener("hashchange",()=>{K?(K=!1,history.replaceState({...history.state,[G]:++R,[X]:T},"",location.href)):A.hash&&v.url.hash===location.hash&&W({type:"goto",url:Oe(v.url)})});for(const n of document.querySelectorAll("link"))An.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&$.navigating.set(Z.current=null)});function t(n){v.url=U.url=n,$.page.set(Wt(U)),$.page.notify()}}async function jn(t,{status:e=200,error:n,node_ids:r,params:a,route:s,server_route:i,data:o,form:c}){Bt=!0;const l=new URL(location.href);let u;({params:a={},route:s={id:null}}=await St(l,!1)||{}),u=Vt.find(({id:f})=>f===s.id);let p,y=!0;try{const f=r.map(async(d,h)=>{const w=o[h];return w!=null&&w.uses&&(w.uses=Pe(w.uses)),Ht({loader:A.nodes[d],url:l,params:a,route:s,parent:async()=>{const S={};for(let I=0;Ii?"1":"0").join(""));const r=window.fetch,a=await r(n.href,{});if(!a.ok){let i;throw(s=a.headers.get("content-type"))!=null&&s.includes("application/json")?i=await a.json():a.status===404?i="Not Found":a.status===500&&(i="Internal Error"),new kt(a.status,i)}return new Promise(async i=>{var y;const o=new Map,c=a.body.getReader(),l=new TextDecoder;function u(f){return hn(f,{...A.decoders,Promise:m=>new Promise((d,h)=>{o.set(m,{fulfil:d,reject:h})})})}let p="";for(;;){const{done:f,value:m}=await c.read();if(f&&!p)break;for(p+=!m&&p?` `:l.decode(m,{stream:!0});;){const d=p.indexOf(` `);if(d===-1)break;const h=JSON.parse(p.slice(0,d));if(p=p.slice(d+1),h.type==="redirect")return i(h);if(h.type==="data")(y=h.nodes)==null||y.forEach(w=>{(w==null?void 0:w.type)==="data"&&(w.uses=Pe(w.uses),w.data=u(w.data))}),i(h);else if(h.type==="chunk"){const{id:w,data:S,error:I}=h,g=o.get(w);o.delete(w),I?g.reject(u(I)):g.fulfil(u(S))}}}})}function Pe(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url),search_params:new Set((t==null?void 0:t.search_params)??[])}}function $n(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const e=document.body,n=e.getAttribute("tabindex");e.tabIndex=-1,e.focus({preventScroll:!0,focusVisible:!1}),n!==null?e.setAttribute("tabindex",n):e.removeAttribute("tabindex");const r=getSelection();if(r&&r.type!=="None"){const a=[];for(let s=0;s{if(r.rangeCount===a.length){for(let s=0;s{a=u,s=p});return i.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:n&&{params:(e==null?void 0:e.params)??null,route:{id:((l=e==null?void 0:e.route)==null?void 0:l.id)??null},url:n},willUnload:!e,type:r,complete:i},fulfil:a,reject:s}}function Wt(t){return{data:t.data,error:t.error,form:t.form,params:t.params,route:t.route,state:t.state,status:t.status,url:t.url}}function Oe(t){const e=new URL(t);return e.hash=decodeURIComponent(t.hash),e}export{Mn as a,U as p,$ as s}; diff --git a/queuebServer/dist/_app/immutable/chunks/DalkA_xl.js b/queuebServer/dist/_app/immutable/chunks/CrehCDwn.js similarity index 93% rename from queuebServer/dist/_app/immutable/chunks/DalkA_xl.js rename to queuebServer/dist/_app/immutable/chunks/CrehCDwn.js index b344537..509c21b 100644 --- a/queuebServer/dist/_app/immutable/chunks/DalkA_xl.js +++ b/queuebServer/dist/_app/immutable/chunks/CrehCDwn.js @@ -1 +1 @@ -import{a1 as i,a2 as f,a3 as v,F as u,a4 as p,a5 as h,h as d,c as o,J as E,M as T}from"./Brvyzw3T.js";function g(n){var t=document.createElement("template");return t.innerHTML=n,t.content}function r(n,t){var e=u;e.nodes_start===null&&(e.nodes_start=n,e.nodes_end=t)}function w(n,t){var e=(t&p)!==0,_=(t&h)!==0,a,c=!n.startsWith("");return()=>{if(d)return r(o,null),o;a===void 0&&(a=g(c?n:""+n),e||(a=f(a)));var s=_||v?document.importNode(a,!0):a.cloneNode(!0);if(e){var m=f(s),l=s.lastChild;r(m,l)}else r(s,s);return s}}function x(n=""){if(!d){var t=i(n+"");return r(t,t),t}var e=o;return e.nodeType!==3&&(e.before(e=i()),T(e)),r(e,e),e}function N(){if(d)return r(o,null),o;var n=document.createDocumentFragment(),t=document.createComment(""),e=i();return n.append(t,e),r(t,e),n}function L(n,t){if(d){u.nodes_end=o,E();return}n!==null&&n.before(t)}const y="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(y);export{L as a,r as b,N as c,x as d,w as t}; +import{a1 as i,a2 as f,a3 as v,F as u,a4 as p,a5 as h,h as d,c as o,J as E,M as T}from"./DlLMAEhl.js";function g(n){var t=document.createElement("template");return t.innerHTML=n,t.content}function r(n,t){var e=u;e.nodes_start===null&&(e.nodes_start=n,e.nodes_end=t)}function w(n,t){var e=(t&p)!==0,_=(t&h)!==0,a,c=!n.startsWith("");return()=>{if(d)return r(o,null),o;a===void 0&&(a=g(c?n:""+n),e||(a=f(a)));var s=_||v?document.importNode(a,!0):a.cloneNode(!0);if(e){var m=f(s),l=s.lastChild;r(m,l)}else r(s,s);return s}}function x(n=""){if(!d){var t=i(n+"");return r(t,t),t}var e=o;return e.nodeType!==3&&(e.before(e=i()),T(e)),r(e,e),e}function N(){if(d)return r(o,null),o;var n=document.createDocumentFragment(),t=document.createComment(""),e=i();return n.append(t,e),r(t,e),n}function L(n,t){if(d){u.nodes_end=o,E();return}n!==null&&n.before(t)}const y="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(y);export{L as a,r as b,N as c,x as d,w as t}; diff --git a/queuebServer/dist/_app/immutable/chunks/DYclDwEz.js b/queuebServer/dist/_app/immutable/chunks/DELIUhZv.js similarity index 87% rename from queuebServer/dist/_app/immutable/chunks/DYclDwEz.js rename to queuebServer/dist/_app/immutable/chunks/DELIUhZv.js index 4e32891..1f7f530 100644 --- a/queuebServer/dist/_app/immutable/chunks/DYclDwEz.js +++ b/queuebServer/dist/_app/immutable/chunks/DELIUhZv.js @@ -1 +1 @@ -import{e as g,u as d,g as c,r as i,i as m,j as b,k as p,l as k,m as v,o as h}from"./Brvyzw3T.js";function x(n=!1){const s=g,e=s.l.u;if(!e)return;let f=()=>k(s.s);if(n){let o=0,t={};const _=v(()=>{let l=!1;const r=s.s;for(const a in r)r[a]!==t[a]&&(t[a]=r[a],l=!0);return l&&o++,o});f=()=>p(_)}e.b.length&&d(()=>{u(s,f),i(e.b)}),c(()=>{const o=m(()=>e.m.map(b));return()=>{for(const t of o)typeof t=="function"&&t()}}),e.a.length&&c(()=>{u(s,f),i(e.a)})}function u(n,s){if(n.l.s)for(const e of n.l.s)p(e);s()}h();export{x as i}; +import{e as g,u as d,g as c,r as i,i as m,j as b,k as p,l as k,m as v,o as h}from"./DlLMAEhl.js";function x(n=!1){const s=g,e=s.l.u;if(!e)return;let f=()=>k(s.s);if(n){let o=0,t={};const _=v(()=>{let l=!1;const r=s.s;for(const a in r)r[a]!==t[a]&&(t[a]=r[a],l=!0);return l&&o++,o});f=()=>p(_)}e.b.length&&d(()=>{u(s,f),i(e.b)}),c(()=>{const o=m(()=>e.m.map(b));return()=>{for(const t of o)typeof t=="function"&&t()}}),e.a.length&&c(()=>{u(s,f),i(e.a)})}function u(n,s){if(n.l.s)for(const e of n.l.s)p(e);s()}h();export{x as i}; diff --git a/queuebServer/dist/_app/immutable/chunks/eD75gwHV.js b/queuebServer/dist/_app/immutable/chunks/DJC-Lmna.js similarity index 98% rename from queuebServer/dist/_app/immutable/chunks/eD75gwHV.js rename to queuebServer/dist/_app/immutable/chunks/DJC-Lmna.js index a6a3eee..7049962 100644 --- a/queuebServer/dist/_app/immutable/chunks/eD75gwHV.js +++ b/queuebServer/dist/_app/immutable/chunks/DJC-Lmna.js @@ -1 +1 @@ -import{S as T,y as Z,z as $,A as m,B as j,k as h,U as c,C as y,D,F as z,G as H,H as V,I as J,b as Q,h as Y,J as W,E as X,K as k,L as p,M as ee,N as B,O as M,a as U,P as C,c as re,Q as ae,R as ne,T as te,V as ie,p as fe,W as se,i as F,m as G,X as ue,Y as le,Z as _e,_ as ve,$ as de,a0 as ce}from"./Brvyzw3T.js";function E(i,_=null,P){if(typeof i!="object"||i===null||T in i)return i;const v=V(i);if(v!==Z&&v!==$)return i;var t=new Map,l=J(i),o=m(0);l&&t.set("length",m(i.length));var g;return new Proxy(i,{defineProperty(f,e,r){(!("value"in r)||r.configurable===!1||r.enumerable===!1||r.writable===!1)&&H();var n=t.get(e);return n===void 0?(n=m(r.value),t.set(e,n)):y(n,E(r.value,g)),!0},deleteProperty(f,e){var r=t.get(e);if(r===void 0)e in f&&t.set(e,m(c));else{if(l&&typeof e=="string"){var n=t.get("length"),a=Number(e);Number.isInteger(a)&&a=w.v&&y(w,A+1)}K(o)}return!0},ownKeys(f){h(o);var e=Reflect.ownKeys(f).filter(a=>{var s=t.get(a);return s===void 0||s.v!==c});for(var[r,n]of t)n.v!==c&&!(r in f)&&e.push(r);return e},setPrototypeOf(){j()}})}function K(i,_=1){y(i,i.v+_)}function ge(i,_,P=!1){Y&&W();var v=i,t=null,l=null,o=c,g=P?X:0,f=!1;const e=(n,a=!0)=>{f=!0,r(a,n)},r=(n,a)=>{if(o===(o=n))return;let s=!1;if(Y){const d=v.data===k;!!o===d&&(v=p(),ee(v),B(!1),s=!0)}o?(t?M(t):a&&(t=U(()=>a(v))),l&&C(l,()=>{l=null})):(l?M(l):a&&(l=U(()=>a(v))),t&&C(t,()=>{t=null})),s&&B(!0)};Q(()=>{f=!1,_(e),f||r(null,null)},g),Y&&(v=re)}let N=!1;function oe(i){var _=N;try{return N=!1,[i(),N]}finally{N=_}}function ye(i,_,P,v){var q;var t=(P&ce)!==0,l=!fe||(P&se)!==0,o=(P&ue)!==0,g=(P&de)!==0,f=!1,e;o?[e,f]=oe(()=>i[_]):e=i[_];var r=T in i||ie in i,n=o&&(((q=D(i,_))==null?void 0:q.set)??(r&&_ in i&&(u=>i[_]=u)))||void 0,a=v,s=!0,d=!1,I=()=>(d=!0,s&&(s=!1,g?a=F(v):a=v),a);e===void 0&&v!==void 0&&(n&&l&&ae(),e=I(),n&&n(e));var b;if(l)b=()=>{var u=i[_];return u===void 0?I():(s=!0,d=!1,u)};else{var w=(t?G:te)(()=>i[_]);w.f|=ne,b=()=>{var u=h(w);return u!==void 0&&(a=void 0),u===void 0?a:u}}if(!(P&le))return b;if(n){var A=i.$$legacy;return function(u,S){return arguments.length>0?((!l||!S||A||f)&&n(S?b():u),u):b()}}var R=!1,L=ve(e),O=G(()=>{var u=b(),S=h(L);return R?(R=!1,S):L.v=u});return t||(O.equals=_e),function(u,S){if(arguments.length>0){const x=S?h(O):l&&o?E(u):u;return O.equals(x)||(R=!0,y(L,x),d&&a!==void 0&&(a=x),F(()=>h(O))),u}return h(O)}}export{E as a,ge as i,ye as p}; +import{S as T,y as Z,z as $,A as m,B as j,k as h,U as c,C as y,D,F as z,G as H,H as V,I as J,b as Q,h as Y,J as W,E as X,K as k,L as p,M as ee,N as B,O as M,a as U,P as C,c as re,Q as ae,R as ne,T as te,V as ie,p as fe,W as se,i as F,m as G,X as ue,Y as le,Z as _e,_ as ve,$ as de,a0 as ce}from"./DlLMAEhl.js";function E(i,_=null,P){if(typeof i!="object"||i===null||T in i)return i;const v=V(i);if(v!==Z&&v!==$)return i;var t=new Map,l=J(i),o=m(0);l&&t.set("length",m(i.length));var g;return new Proxy(i,{defineProperty(f,e,r){(!("value"in r)||r.configurable===!1||r.enumerable===!1||r.writable===!1)&&H();var n=t.get(e);return n===void 0?(n=m(r.value),t.set(e,n)):y(n,E(r.value,g)),!0},deleteProperty(f,e){var r=t.get(e);if(r===void 0)e in f&&t.set(e,m(c));else{if(l&&typeof e=="string"){var n=t.get("length"),a=Number(e);Number.isInteger(a)&&a=w.v&&y(w,A+1)}K(o)}return!0},ownKeys(f){h(o);var e=Reflect.ownKeys(f).filter(a=>{var s=t.get(a);return s===void 0||s.v!==c});for(var[r,n]of t)n.v!==c&&!(r in f)&&e.push(r);return e},setPrototypeOf(){j()}})}function K(i,_=1){y(i,i.v+_)}function ge(i,_,P=!1){Y&&W();var v=i,t=null,l=null,o=c,g=P?X:0,f=!1;const e=(n,a=!0)=>{f=!0,r(a,n)},r=(n,a)=>{if(o===(o=n))return;let s=!1;if(Y){const d=v.data===k;!!o===d&&(v=p(),ee(v),B(!1),s=!0)}o?(t?M(t):a&&(t=U(()=>a(v))),l&&C(l,()=>{l=null})):(l?M(l):a&&(l=U(()=>a(v))),t&&C(t,()=>{t=null})),s&&B(!0)};Q(()=>{f=!1,_(e),f||r(null,null)},g),Y&&(v=re)}let N=!1;function oe(i){var _=N;try{return N=!1,[i(),N]}finally{N=_}}function ye(i,_,P,v){var q;var t=(P&ce)!==0,l=!fe||(P&se)!==0,o=(P&ue)!==0,g=(P&de)!==0,f=!1,e;o?[e,f]=oe(()=>i[_]):e=i[_];var r=T in i||ie in i,n=o&&(((q=D(i,_))==null?void 0:q.set)??(r&&_ in i&&(u=>i[_]=u)))||void 0,a=v,s=!0,d=!1,I=()=>(d=!0,s&&(s=!1,g?a=F(v):a=v),a);e===void 0&&v!==void 0&&(n&&l&&ae(),e=I(),n&&n(e));var b;if(l)b=()=>{var u=i[_];return u===void 0?I():(s=!0,d=!1,u)};else{var w=(t?G:te)(()=>i[_]);w.f|=ne,b=()=>{var u=h(w);return u!==void 0&&(a=void 0),u===void 0?a:u}}if(!(P&le))return b;if(n){var A=i.$$legacy;return function(u,S){return arguments.length>0?((!l||!S||A||f)&&n(S?b():u),u):b()}}var R=!1,L=ve(e),O=G(()=>{var u=b(),S=h(L);return R?(R=!1,S):L.v=u});return t||(O.equals=_e),function(u,S){if(arguments.length>0){const x=S?h(O):l&&o?E(u):u;return O.equals(x)||(R=!0,y(L,x),d&&a!==void 0&&(a=x),F(()=>h(O))),u}return h(O)}}export{E as a,ge as i,ye as p}; diff --git a/queuebServer/dist/_app/immutable/chunks/Brvyzw3T.js b/queuebServer/dist/_app/immutable/chunks/DlLMAEhl.js similarity index 99% rename from queuebServer/dist/_app/immutable/chunks/Brvyzw3T.js rename to queuebServer/dist/_app/immutable/chunks/DlLMAEhl.js index 7ed1bbd..5432eed 100644 --- a/queuebServer/dist/_app/immutable/chunks/Brvyzw3T.js +++ b/queuebServer/dist/_app/immutable/chunks/DlLMAEhl.js @@ -1 +1 @@ -var jn=Array.isArray,nn=Array.prototype.indexOf,Bn=Array.from,Un=Object.defineProperty,dt=Object.getOwnPropertyDescriptor,rn=Object.getOwnPropertyDescriptors,Vn=Object.prototype,Gn=Array.prototype,en=Object.getPrototypeOf;const Kn=()=>{};function $n(t){return t()}function gt(t){for(var n=0;npt(t))),n}function Ct(t,n){return u!==null&&!g&&rt()&&u.f&(T|it)&&(A===null||!A.includes(t))&&vn(),yn(t,n)}function yn(t,n){return t.equals(n)||(t.v,t.v=n,t.wv=zt(),Nt(t,R),rt()&&o!==null&&o.f&v&&!(o.f&(x|j))&&(I===null?Nn([t]):I.push(t))),n}function Tr(t,n=1){var r=pt(t),e=n===1?r++:r--;return Ct(t,r),e}function Nt(t,n){var r=t.reactions;if(r!==null)for(var e=rt(),l=r.length,s=0;snew Promise(e=>{r.outro?xn(n,()=>{C(n),e(void 0)}):(C(n),e(void 0))})}function Yt(t){return L(At,t,!1)}function An(t){return L(Q,t,!0)}function Pr(t,n=[],r=Ft){const e=n.map(r);return kn(()=>t(...e.map(pt)))}function kn(t,n=0){return L(Q|it|n,t,!0)}function Lr(t,n=!0){return L(Q|x,t,!0,n)}function Ht(t){var n=t.teardown;if(n!==null){const r=ct,e=u;mt(!0),z(null);try{n.call(null)}finally{mt(r),z(e)}}}function jt(t,n=!1){var r=t.first;for(t.first=t.last=null;r!==null;){var e=r.next;C(r,n),r=e}}function In(t){for(var n=t.first;n!==null;){var r=n.next;n.f&x||C(n),n=r}}function C(t,n=!0){var r=!1;if((n||t.f&sn)&&t.nodes_start!==null){for(var e=t.nodes_start,l=t.nodes_end;e!==null;){var s=e===l?null:N(e);e.remove(),e=s}r=!0}jt(t,n&&!r),J(t,0),k(t,tt);var a=t.transitions;if(a!==null)for(const y of a)y.stop();Ht(t);var i=t.parent;i!==null&&i.first!==null&&Bt(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=null}function Bt(t){var n=t.parent,r=t.prev,e=t.next;r!==null&&(r.next=e),e!==null&&(e.prev=r),n!==null&&(n.first===t&&(n.first=e),n.last===t&&(n.last=r))}function xn(t,n){var r=[];Ut(t,r,!0),Dn(r,()=>{C(t),n&&n()})}function Dn(t,n){var r=t.length;if(r>0){var e=()=>--r||n();for(var l of t)l.out(e)}else n()}function Ut(t,n,r){if(!(t.f&F)){if(t.f^=F,t.transitions!==null)for(const a of t.transitions)(a.is_global||r)&&n.push(a);for(var e=t.first;e!==null;){var l=e.next,s=(e.f&kt)!==0||(e.f&x)!==0;Ut(e,n,s?r:!1),e=l}}}function Mr(t){Vt(t,!0)}function Vt(t,n){if(t.f&F){t.f^=F,t.f&v||(t.f^=v),B(t)&&(k(t,R),lt(t));for(var r=t.first;r!==null;){var e=r.next,l=(r.f&kt)!==0||(r.f&x)!==0;Vt(r,l?n:!1),r=e}if(t.transitions!==null)for(const s of t.transitions)(s.is_global||n)&&s.in()}}const Rn=typeof requestIdleCallback>"u"?t=>setTimeout(t,1):requestIdleCallback;let $=!1,Z=!1,ut=[],ot=[];function Gt(){$=!1;const t=ut.slice();ut=[],gt(t)}function Kt(){Z=!1;const t=ot.slice();ot=[],gt(t)}function Yr(t){$||($=!0,queueMicrotask(Gt)),ut.push(t)}function Hr(t){Z||(Z=!0,Rn(Kt)),ot.push(t)}function Sn(){$&&Gt(),Z&&Kt()}const $t=0,On=1;let U=!1,V=$t,Y=!1,H=null,b=!1,ct=!1;function Tt(t){b=t}function mt(t){ct=t}let S=[],q=0;let u=null,g=!1;function z(t){u=t}let o=null;function W(t){o=t}let A=null;function Cn(t){A=t}let c=null,E=0,I=null;function Nn(t){I=t}let Zt=1,X=0,D=!1;function zt(){return++Zt}function B(t){var h;var n=t.f;if(n&R)return!0;if(n&P){var r=t.deps,e=(n&w)!==0;if(r!==null){var l,s,a=(n&K)!==0,i=e&&o!==null&&!D,y=r.length;if(a||i){var _=t,p=_.parent;for(l=0;lt.wv)return!0}(!e||o!==null&&!D)&&k(t,v)}return!1}function bn(t,n){for(var r=n;r!==null;){if(r.f&G)try{r.fn(t);return}catch{r.f^=G}r=r.parent}throw U=!1,t}function qn(t){return(t.f&tt)===0&&(t.parent===null||(t.parent.f&G)===0)}function et(t,n,r,e){if(U){if(r===null&&(U=!1),qn(n))throw t;return}r!==null&&(U=!0);{bn(t,n);return}}function Wt(t,n,r=!0){var e=t.reactions;if(e!==null)for(var l=0;l0)for(h.length=E+c.length,d=0;d1e3){q=0;try{_n()}catch(t){if(H!==null)et(t,H,null);else throw t}}q++}function Qt(t){var n=t.length;if(n!==0){Jt();var r=b;b=!0;try{for(var e=0;e1001)return;const t=S;S=[],Qt(t),Y||(q=0,H=null)}function lt(t){V===$t&&(Y||(Y=!0,queueMicrotask(Ln))),H=t;for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(r&(j|x)){if(!(r&v))return;n.f^=v}}S.push(n)}function Mn(t){var n=[],r=t.first;t:for(;r!==null;){var e=r.f,l=(e&x)!==0,s=l&&(e&v)!==0,a=r.next;if(!s&&!(e&F)){if(e&At)n.push(r);else if(l)r.f^=v;else{var i=u;try{u=r,B(r)&&vt(r)}catch(p){et(p,r,null,r.ctx)}finally{u=i}}var y=r.first;if(y!==null){r=y;continue}}if(a===null){let p=r.parent;for(;p!==null;){if(t===p)break t;var _=p.next;if(_!==null){r=_;continue t}p=p.parent}}r=a}return n}function tn(t){var n=V,r=S;try{Jt();const l=[];V=On,S=l,Y=!1,Qt(r);var e=t==null?void 0:t();return Sn(),(S.length>0||l.length>0)&&tn(),q=0,H=null,e}finally{V=n,S=r}}async function jr(){await Promise.resolve(),tn()}function pt(t){var n=t.f,r=(n&T)!==0;if(u!==null&&!g){A!==null&&A.includes(t)&&cn();var e=u.deps;t.rv{};function $n(t){return t()}function gt(t){for(var n=0;npt(t))),n}function Ct(t,n){return u!==null&&!g&&rt()&&u.f&(T|it)&&(A===null||!A.includes(t))&&vn(),yn(t,n)}function yn(t,n){return t.equals(n)||(t.v,t.v=n,t.wv=zt(),Nt(t,R),rt()&&o!==null&&o.f&v&&!(o.f&(x|j))&&(I===null?Nn([t]):I.push(t))),n}function Tr(t,n=1){var r=pt(t),e=n===1?r++:r--;return Ct(t,r),e}function Nt(t,n){var r=t.reactions;if(r!==null)for(var e=rt(),l=r.length,s=0;snew Promise(e=>{r.outro?xn(n,()=>{C(n),e(void 0)}):(C(n),e(void 0))})}function Yt(t){return L(At,t,!1)}function An(t){return L(Q,t,!0)}function Pr(t,n=[],r=Ft){const e=n.map(r);return kn(()=>t(...e.map(pt)))}function kn(t,n=0){return L(Q|it|n,t,!0)}function Lr(t,n=!0){return L(Q|x,t,!0,n)}function Ht(t){var n=t.teardown;if(n!==null){const r=ct,e=u;mt(!0),z(null);try{n.call(null)}finally{mt(r),z(e)}}}function jt(t,n=!1){var r=t.first;for(t.first=t.last=null;r!==null;){var e=r.next;C(r,n),r=e}}function In(t){for(var n=t.first;n!==null;){var r=n.next;n.f&x||C(n),n=r}}function C(t,n=!0){var r=!1;if((n||t.f&sn)&&t.nodes_start!==null){for(var e=t.nodes_start,l=t.nodes_end;e!==null;){var s=e===l?null:N(e);e.remove(),e=s}r=!0}jt(t,n&&!r),J(t,0),k(t,tt);var a=t.transitions;if(a!==null)for(const y of a)y.stop();Ht(t);var i=t.parent;i!==null&&i.first!==null&&Bt(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=null}function Bt(t){var n=t.parent,r=t.prev,e=t.next;r!==null&&(r.next=e),e!==null&&(e.prev=r),n!==null&&(n.first===t&&(n.first=e),n.last===t&&(n.last=r))}function xn(t,n){var r=[];Ut(t,r,!0),Dn(r,()=>{C(t),n&&n()})}function Dn(t,n){var r=t.length;if(r>0){var e=()=>--r||n();for(var l of t)l.out(e)}else n()}function Ut(t,n,r){if(!(t.f&F)){if(t.f^=F,t.transitions!==null)for(const a of t.transitions)(a.is_global||r)&&n.push(a);for(var e=t.first;e!==null;){var l=e.next,s=(e.f&kt)!==0||(e.f&x)!==0;Ut(e,n,s?r:!1),e=l}}}function Mr(t){Vt(t,!0)}function Vt(t,n){if(t.f&F){t.f^=F,t.f&v||(t.f^=v),B(t)&&(k(t,R),lt(t));for(var r=t.first;r!==null;){var e=r.next,l=(r.f&kt)!==0||(r.f&x)!==0;Vt(r,l?n:!1),r=e}if(t.transitions!==null)for(const s of t.transitions)(s.is_global||n)&&s.in()}}const Rn=typeof requestIdleCallback>"u"?t=>setTimeout(t,1):requestIdleCallback;let $=!1,Z=!1,ut=[],ot=[];function Gt(){$=!1;const t=ut.slice();ut=[],gt(t)}function Kt(){Z=!1;const t=ot.slice();ot=[],gt(t)}function Yr(t){$||($=!0,queueMicrotask(Gt)),ut.push(t)}function Hr(t){Z||(Z=!0,Rn(Kt)),ot.push(t)}function Sn(){$&&Gt(),Z&&Kt()}const $t=0,On=1;let U=!1,V=$t,Y=!1,H=null,b=!1,ct=!1;function Tt(t){b=t}function mt(t){ct=t}let S=[],q=0;let u=null,g=!1;function z(t){u=t}let o=null;function W(t){o=t}let A=null;function Cn(t){A=t}let c=null,E=0,I=null;function Nn(t){I=t}let Zt=1,X=0,D=!1;function zt(){return++Zt}function B(t){var h;var n=t.f;if(n&R)return!0;if(n&P){var r=t.deps,e=(n&w)!==0;if(r!==null){var l,s,a=(n&K)!==0,i=e&&o!==null&&!D,y=r.length;if(a||i){var _=t,p=_.parent;for(l=0;lt.wv)return!0}(!e||o!==null&&!D)&&k(t,v)}return!1}function bn(t,n){for(var r=n;r!==null;){if(r.f&G)try{r.fn(t);return}catch{r.f^=G}r=r.parent}throw U=!1,t}function qn(t){return(t.f&tt)===0&&(t.parent===null||(t.parent.f&G)===0)}function et(t,n,r,e){if(U){if(r===null&&(U=!1),qn(n))throw t;return}r!==null&&(U=!0);{bn(t,n);return}}function Wt(t,n,r=!0){var e=t.reactions;if(e!==null)for(var l=0;l0)for(h.length=E+c.length,d=0;d1e3){q=0;try{_n()}catch(t){if(H!==null)et(t,H,null);else throw t}}q++}function Qt(t){var n=t.length;if(n!==0){Jt();var r=b;b=!0;try{for(var e=0;e1001)return;const t=S;S=[],Qt(t),Y||(q=0,H=null)}function lt(t){V===$t&&(Y||(Y=!0,queueMicrotask(Ln))),H=t;for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(r&(j|x)){if(!(r&v))return;n.f^=v}}S.push(n)}function Mn(t){var n=[],r=t.first;t:for(;r!==null;){var e=r.f,l=(e&x)!==0,s=l&&(e&v)!==0,a=r.next;if(!s&&!(e&F)){if(e&At)n.push(r);else if(l)r.f^=v;else{var i=u;try{u=r,B(r)&&vt(r)}catch(p){et(p,r,null,r.ctx)}finally{u=i}}var y=r.first;if(y!==null){r=y;continue}}if(a===null){let p=r.parent;for(;p!==null;){if(t===p)break t;var _=p.next;if(_!==null){r=_;continue t}p=p.parent}}r=a}return n}function tn(t){var n=V,r=S;try{Jt();const l=[];V=On,S=l,Y=!1,Qt(r);var e=t==null?void 0:t();return Sn(),(S.length>0||l.length>0)&&tn(),q=0,H=null,e}finally{V=n,S=r}}async function jr(){await Promise.resolve(),tn()}function pt(t){var n=t.f,r=(n&T)!==0;if(u!==null&&!g){A!==null&&A.includes(t)&&cn();var e=u.deps;t.rvi.map(i=>d[i]); -var G=e=>{throw TypeError(e)};var J=(e,t,r)=>t.has(e)||G("Cannot "+r);var f=(e,t,r)=>(J(e,t,"read from private field"),r?r.call(e):t.get(e)),C=(e,t,r)=>t.has(e)?G("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),L=(e,t,r,i)=>(J(e,t,"write to private field"),i?i.call(e,r):t.set(e,r),r);import{h as N,J as X,b as Z,E as p,a as $,P as tt,c as et,am as rt,an as st,i as at,aa as nt,S as ot,C as O,V as it,k as _,ao as ct,ab as ft,_ as lt,q as ut,u as dt,g as ht,ap as T,aq as mt,f as S,x as vt,s as _t,v as gt,w as yt,m as j,t as Et}from"../chunks/Brvyzw3T.js";import{h as bt,m as Pt,u as Rt,s as kt}from"../chunks/BHcdrSTx.js";import{t as H,a as R,c as q,d as wt}from"../chunks/DalkA_xl.js";import{p as B,a as xt,i as V}from"../chunks/eD75gwHV.js";import{o as St}from"../chunks/BkLDdJVQ.js";function D(e,t,r){N&&X();var i=e,n,o;Z(()=>{n!==(n=t())&&(o&&(tt(o),o=null),n&&(o=$(()=>r(i,n))))},p),N&&(i=et)}function W(e,t){return e===t||(e==null?void 0:e[ot])===t}function I(e={},t,r,i){return rt(()=>{var n,o;return st(()=>{n=o,o=[],at(()=>{e!==r(...o)&&(t(e,...o),n&&W(r(...n),e)&&t(null,...n))})}),()=>{nt(()=>{o&&W(r(...o),e)&&t(null,...o)})}}),e}function Ot(e){return class extends At{constructor(t){super({component:e,...t})}}}var g,u;class At{constructor(t){C(this,g);C(this,u);var o;var r=new Map,i=(a,s)=>{var d=lt(s);return r.set(a,d),d};const n=new Proxy({...t.props||{},$$events:{}},{get(a,s){return _(r.get(s)??i(s,Reflect.get(a,s)))},has(a,s){return s===it?!0:(_(r.get(s)??i(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,d){return O(r.get(s)??i(s,d),d),Reflect.set(a,s,d)}});L(this,u,(t.hydrate?bt:Pt)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((o=t==null?void 0:t.props)!=null&&o.$$host)||t.sync===!1)&&ct(),L(this,g,n.$$events);for(const a of Object.keys(f(this,u)))a==="$set"||a==="$destroy"||a==="$on"||ft(this,a,{get(){return f(this,u)[a]},set(s){f(this,u)[a]=s},enumerable:!0});f(this,u).$set=a=>{Object.assign(n,a)},f(this,u).$destroy=()=>{Rt(f(this,u))}}$set(t){f(this,u).$set(t)}$on(t,r){f(this,g)[t]=f(this,g)[t]||[];const i=(...n)=>r.call(this,...n);return f(this,g)[t].push(i),()=>{f(this,g)[t]=f(this,g)[t].filter(n=>n!==i)}}$destroy(){f(this,u).$destroy()}}g=new WeakMap,u=new WeakMap;const Ct="modulepreload",Lt=function(e,t){return new URL(e,t).href},z={},F=function(t,r,i){let n=Promise.resolve();if(r&&r.length>0){const a=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),d=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));n=Promise.allSettled(r.map(l=>{if(l=Lt(l,i),l in z)return;z[l]=!0;const y=l.endsWith(".css"),A=y?'[rel="stylesheet"]':"";if(!!i)for(let E=a.length-1;E>=0;E--){const c=a[E];if(c.href===l&&(!y||c.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${A}`))return;const m=document.createElement("link");if(m.rel=y?"stylesheet":Ct,y||(m.as="script"),m.crossOrigin="",m.href=l,d&&m.setAttribute("nonce",d),document.head.appendChild(m),y)return new Promise((E,c)=>{m.addEventListener("load",E),m.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${l}`)))})}))}function o(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return n.then(a=>{for(const s of a||[])s.status==="rejected"&&o(s.reason);return t().catch(o)})},Nt={};var Tt=H('
'),jt=H(" ",1);function qt(e,t){ut(t,!0);let r=B(t,"components",23,()=>[]),i=B(t,"data_0",3,null),n=B(t,"data_1",3,null);dt(()=>t.stores.page.set(t.page)),ht(()=>{t.stores,t.page,t.constructors,r(),t.form,i(),n(),t.stores.page.notify()});let o=T(!1),a=T(!1),s=T(null);St(()=>{const c=t.stores.page.subscribe(()=>{_(o)&&(O(a,!0),mt().then(()=>{O(s,xt(document.title||"untitled page"))}))});return O(o,!0),c});const d=j(()=>t.constructors[1]);var l=jt(),y=S(l);{var A=c=>{var v=q();const k=j(()=>t.constructors[0]);var w=S(v);D(w,()=>_(k),(b,P)=>{I(P(b,{get data(){return i()},get form(){return t.form},children:(h,Dt)=>{var Y=q(),K=S(Y);D(K,()=>_(d),(M,Q)=>{I(Q(M,{get data(){return n()},get form(){return t.form}}),x=>r()[1]=x,()=>{var x;return(x=r())==null?void 0:x[1]})}),R(h,Y)},$$slots:{default:!0}}),h=>r()[0]=h,()=>{var h;return(h=r())==null?void 0:h[0]})}),R(c,v)},U=c=>{var v=q();const k=j(()=>t.constructors[0]);var w=S(v);D(w,()=>_(k),(b,P)=>{I(P(b,{get data(){return i()},get form(){return t.form}}),h=>r()[0]=h,()=>{var h;return(h=r())==null?void 0:h[0]})}),R(c,v)};V(y,c=>{t.constructors[1]?c(A):c(U,!1)})}var m=vt(y,2);{var E=c=>{var v=Tt(),k=gt(v);{var w=b=>{var P=wt();Et(()=>kt(P,_(s))),R(b,P)};V(k,b=>{_(a)&&b(w)})}yt(v),R(c,v)};V(m,c=>{_(o)&&c(E)})}R(e,l),_t()}const Wt=Ot(qt),zt=[()=>F(()=>import("../nodes/0.oGgxswwF.js"),__vite__mapDeps([0,1,2]),import.meta.url),()=>F(()=>import("../nodes/1.D77sCQCP.js"),__vite__mapDeps([3,1,2,4,5,6,7]),import.meta.url),()=>F(()=>import("../nodes/2.DMtbxQhd.js"),__vite__mapDeps([8,1,2,4,5,9,7,10]),import.meta.url)],Ht=[],Kt={"/":[2]},Bt={handleError:({error:e})=>{console.error(e)},reroute:()=>{},transport:{}},Vt=Object.fromEntries(Object.entries(Bt.transport).map(([e,t])=>[e,t.decode])),Mt=!1,Qt=(e,t)=>Vt[e](t);export{Qt as decode,Vt as decoders,Kt as dictionary,Mt as hash,Bt as hooks,Nt as matchers,zt as nodes,Wt as root,Ht as server_loads}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.C8_h3Fdy.js","../chunks/CrehCDwn.js","../chunks/DlLMAEhl.js","../nodes/1.Bi6BaAUf.js","../chunks/DELIUhZv.js","../chunks/9GO8__J9.js","../chunks/COxrpJlS.js","../chunks/BY1vZ1mH.js","../nodes/2.BKFppjgC.js","../chunks/DJC-Lmna.js","../assets/2.DVCgzCjv.css"])))=>i.map(i=>d[i]); +var G=e=>{throw TypeError(e)};var J=(e,t,r)=>t.has(e)||G("Cannot "+r);var f=(e,t,r)=>(J(e,t,"read from private field"),r?r.call(e):t.get(e)),C=(e,t,r)=>t.has(e)?G("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),L=(e,t,r,i)=>(J(e,t,"write to private field"),i?i.call(e,r):t.set(e,r),r);import{h as N,J as X,b as Z,E as p,a as $,P as tt,c as et,am as rt,an as st,i as at,aa as nt,S as ot,C as O,V as it,k as _,ao as ct,ab as ft,_ as lt,q as ut,u as dt,g as ht,ap as T,aq as mt,f as S,x as vt,s as _t,v as gt,w as yt,m as j,t as Et}from"../chunks/DlLMAEhl.js";import{h as bt,m as Pt,u as Rt,s as kt}from"../chunks/9GO8__J9.js";import{t as H,a as R,c as q,d as wt}from"../chunks/CrehCDwn.js";import{p as B,a as xt,i as V}from"../chunks/DJC-Lmna.js";import{o as St}from"../chunks/BY1vZ1mH.js";function D(e,t,r){N&&X();var i=e,n,o;Z(()=>{n!==(n=t())&&(o&&(tt(o),o=null),n&&(o=$(()=>r(i,n))))},p),N&&(i=et)}function W(e,t){return e===t||(e==null?void 0:e[ot])===t}function I(e={},t,r,i){return rt(()=>{var n,o;return st(()=>{n=o,o=[],at(()=>{e!==r(...o)&&(t(e,...o),n&&W(r(...n),e)&&t(null,...n))})}),()=>{nt(()=>{o&&W(r(...o),e)&&t(null,...o)})}}),e}function Ot(e){return class extends At{constructor(t){super({component:e,...t})}}}var g,u;class At{constructor(t){C(this,g);C(this,u);var o;var r=new Map,i=(a,s)=>{var d=lt(s);return r.set(a,d),d};const n=new Proxy({...t.props||{},$$events:{}},{get(a,s){return _(r.get(s)??i(s,Reflect.get(a,s)))},has(a,s){return s===it?!0:(_(r.get(s)??i(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,d){return O(r.get(s)??i(s,d),d),Reflect.set(a,s,d)}});L(this,u,(t.hydrate?bt:Pt)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((o=t==null?void 0:t.props)!=null&&o.$$host)||t.sync===!1)&&ct(),L(this,g,n.$$events);for(const a of Object.keys(f(this,u)))a==="$set"||a==="$destroy"||a==="$on"||ft(this,a,{get(){return f(this,u)[a]},set(s){f(this,u)[a]=s},enumerable:!0});f(this,u).$set=a=>{Object.assign(n,a)},f(this,u).$destroy=()=>{Rt(f(this,u))}}$set(t){f(this,u).$set(t)}$on(t,r){f(this,g)[t]=f(this,g)[t]||[];const i=(...n)=>r.call(this,...n);return f(this,g)[t].push(i),()=>{f(this,g)[t]=f(this,g)[t].filter(n=>n!==i)}}$destroy(){f(this,u).$destroy()}}g=new WeakMap,u=new WeakMap;const Ct="modulepreload",Lt=function(e,t){return new URL(e,t).href},z={},F=function(t,r,i){let n=Promise.resolve();if(r&&r.length>0){const a=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),d=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));n=Promise.allSettled(r.map(l=>{if(l=Lt(l,i),l in z)return;z[l]=!0;const y=l.endsWith(".css"),A=y?'[rel="stylesheet"]':"";if(!!i)for(let E=a.length-1;E>=0;E--){const c=a[E];if(c.href===l&&(!y||c.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${A}`))return;const m=document.createElement("link");if(m.rel=y?"stylesheet":Ct,y||(m.as="script"),m.crossOrigin="",m.href=l,d&&m.setAttribute("nonce",d),document.head.appendChild(m),y)return new Promise((E,c)=>{m.addEventListener("load",E),m.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${l}`)))})}))}function o(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return n.then(a=>{for(const s of a||[])s.status==="rejected"&&o(s.reason);return t().catch(o)})},Nt={};var Tt=H('
'),jt=H(" ",1);function qt(e,t){ut(t,!0);let r=B(t,"components",23,()=>[]),i=B(t,"data_0",3,null),n=B(t,"data_1",3,null);dt(()=>t.stores.page.set(t.page)),ht(()=>{t.stores,t.page,t.constructors,r(),t.form,i(),n(),t.stores.page.notify()});let o=T(!1),a=T(!1),s=T(null);St(()=>{const c=t.stores.page.subscribe(()=>{_(o)&&(O(a,!0),mt().then(()=>{O(s,xt(document.title||"untitled page"))}))});return O(o,!0),c});const d=j(()=>t.constructors[1]);var l=jt(),y=S(l);{var A=c=>{var v=q();const k=j(()=>t.constructors[0]);var w=S(v);D(w,()=>_(k),(b,P)=>{I(P(b,{get data(){return i()},get form(){return t.form},children:(h,Dt)=>{var Y=q(),K=S(Y);D(K,()=>_(d),(M,Q)=>{I(Q(M,{get data(){return n()},get form(){return t.form}}),x=>r()[1]=x,()=>{var x;return(x=r())==null?void 0:x[1]})}),R(h,Y)},$$slots:{default:!0}}),h=>r()[0]=h,()=>{var h;return(h=r())==null?void 0:h[0]})}),R(c,v)},U=c=>{var v=q();const k=j(()=>t.constructors[0]);var w=S(v);D(w,()=>_(k),(b,P)=>{I(P(b,{get data(){return i()},get form(){return t.form}}),h=>r()[0]=h,()=>{var h;return(h=r())==null?void 0:h[0]})}),R(c,v)};V(y,c=>{t.constructors[1]?c(A):c(U,!1)})}var m=vt(y,2);{var E=c=>{var v=Tt(),k=gt(v);{var w=b=>{var P=wt();Et(()=>kt(P,_(s))),R(b,P)};V(k,b=>{_(a)&&b(w)})}yt(v),R(c,v)};V(m,c=>{_(o)&&c(E)})}R(e,l),_t()}const Wt=Ot(qt),zt=[()=>F(()=>import("../nodes/0.C8_h3Fdy.js"),__vite__mapDeps([0,1,2]),import.meta.url),()=>F(()=>import("../nodes/1.Bi6BaAUf.js"),__vite__mapDeps([3,1,2,4,5,6,7]),import.meta.url),()=>F(()=>import("../nodes/2.BKFppjgC.js"),__vite__mapDeps([8,1,2,4,5,9,7,10]),import.meta.url)],Ht=[],Kt={"/":[2]},Bt={handleError:({error:e})=>{console.error(e)},reroute:()=>{},transport:{}},Vt=Object.fromEntries(Object.entries(Bt.transport).map(([e,t])=>[e,t.decode])),Mt=!1,Qt=(e,t)=>Vt[e](t);export{Qt as decode,Vt as decoders,Kt as dictionary,Mt as hash,Bt as hooks,Nt as matchers,zt as nodes,Wt as root,Ht as server_loads}; diff --git a/queuebServer/dist/_app/immutable/entry/start.BEPysHMD.js b/queuebServer/dist/_app/immutable/entry/start.BEPysHMD.js new file mode 100644 index 0000000..131862a --- /dev/null +++ b/queuebServer/dist/_app/immutable/entry/start.BEPysHMD.js @@ -0,0 +1 @@ +import{a as t}from"../chunks/COxrpJlS.js";export{t as start}; diff --git a/queuebServer/dist/_app/immutable/entry/start.CUXBt2xv.js b/queuebServer/dist/_app/immutable/entry/start.CUXBt2xv.js deleted file mode 100644 index 0e730cb..0000000 --- a/queuebServer/dist/_app/immutable/entry/start.CUXBt2xv.js +++ /dev/null @@ -1 +0,0 @@ -import{a as t}from"../chunks/D4sDuujI.js";export{t as start}; diff --git a/queuebServer/dist/_app/immutable/nodes/0.C8_h3Fdy.js b/queuebServer/dist/_app/immutable/nodes/0.C8_h3Fdy.js new file mode 100644 index 0000000..f31c2b2 --- /dev/null +++ b/queuebServer/dist/_app/immutable/nodes/0.C8_h3Fdy.js @@ -0,0 +1 @@ +import{c as s,a as f}from"../chunks/CrehCDwn.js";import{b as i,E as c,a as p,n as d,d as m,h,c as l,f as u}from"../chunks/DlLMAEhl.js";function v(t,e,...a){var n=t,o=d,r;i(()=>{o!==(o=e())&&(r&&(m(r),r=null),r=p(()=>o(n,...a)))},c),h&&(n=l)}function E(t,e){var a=s(),n=u(a);v(n,()=>e.children),f(t,a)}export{E as component}; diff --git a/queuebServer/dist/_app/immutable/nodes/0.oGgxswwF.js b/queuebServer/dist/_app/immutable/nodes/0.oGgxswwF.js deleted file mode 100644 index ae465e8..0000000 --- a/queuebServer/dist/_app/immutable/nodes/0.oGgxswwF.js +++ /dev/null @@ -1 +0,0 @@ -import{c as s,a as f}from"../chunks/DalkA_xl.js";import{b as i,E as c,a as p,n as d,d as m,h,c as l,f as u}from"../chunks/Brvyzw3T.js";function v(t,e,...a){var n=t,o=d,r;i(()=>{o!==(o=e())&&(r&&(m(r),r=null),r=p(()=>o(n,...a)))},c),h&&(n=l)}function E(t,e){var a=s(),n=u(a);v(n,()=>e.children),f(t,a)}export{E as component}; diff --git a/queuebServer/dist/_app/immutable/nodes/1.Bi6BaAUf.js b/queuebServer/dist/_app/immutable/nodes/1.Bi6BaAUf.js new file mode 100644 index 0000000..a95adaa --- /dev/null +++ b/queuebServer/dist/_app/immutable/nodes/1.Bi6BaAUf.js @@ -0,0 +1 @@ +import{t as g,a as h}from"../chunks/CrehCDwn.js";import{i as v}from"../chunks/DELIUhZv.js";import{q as l,f as d,t as x,s as _,v as a,w as o,x as $}from"../chunks/DlLMAEhl.js";import{s as p}from"../chunks/9GO8__J9.js";import{s as k,p as m}from"../chunks/COxrpJlS.js";const b={get error(){return m.error},get status(){return m.status}};k.updated.check;const i=b;var q=g("

",1);function A(f,n){l(n,!1),v();var r=q(),t=d(r),c=a(t,!0);o(t);var e=$(t,2),u=a(e,!0);o(e),x(()=>{var s;p(c,i.status),p(u,(s=i.error)==null?void 0:s.message)}),h(f,r),_()}export{A as component}; diff --git a/queuebServer/dist/_app/immutable/nodes/1.D77sCQCP.js b/queuebServer/dist/_app/immutable/nodes/1.D77sCQCP.js deleted file mode 100644 index 05e4515..0000000 --- a/queuebServer/dist/_app/immutable/nodes/1.D77sCQCP.js +++ /dev/null @@ -1 +0,0 @@ -import{t as g,a as h}from"../chunks/DalkA_xl.js";import{i as v}from"../chunks/DYclDwEz.js";import{q as l,f as d,t as x,s as _,v as a,w as o,x as $}from"../chunks/Brvyzw3T.js";import{s as p}from"../chunks/BHcdrSTx.js";import{s as k,p as m}from"../chunks/D4sDuujI.js";const b={get error(){return m.error},get status(){return m.status}};k.updated.check;const i=b;var q=g("

",1);function A(f,n){l(n,!1),v();var r=q(),t=d(r),c=a(t,!0);o(t);var e=$(t,2),u=a(e,!0);o(e),x(()=>{var s;p(c,i.status),p(u,(s=i.error)==null?void 0:s.message)}),h(f,r),_()}export{A as component}; diff --git a/queuebServer/dist/_app/immutable/nodes/2.BKFppjgC.js b/queuebServer/dist/_app/immutable/nodes/2.BKFppjgC.js new file mode 100644 index 0000000..7150e3a --- /dev/null +++ b/queuebServer/dist/_app/immutable/nodes/2.BKFppjgC.js @@ -0,0 +1,15 @@ +import{t as Y,a as G,c as Yr}from"../chunks/CrehCDwn.js";import{i as Qr}from"../chunks/DELIUhZv.js";import{a1 as Zr,b as en,ar as or,M as it,h as X,a2 as tn,J as rn,k as u,T as ir,K as nn,L as Ut,N as at,c as Ee,ag as sn,O as ar,a as lr,P as on,as as lt,ak as cr,aa as an,F as It,at as wt,au as Ht,av as Et,_ as ln,A as jt,I as cn,aw as un,ax as fn,aj as dn,ay as pn,d as hn,az as mn,ae as vn,H as gn,aA as bn,aB as yn,aC as _n,aD as wn,i as En,an as Sn,q as Rn,C as k,t as re,s as Tn,aE as M,v as N,x as C,w as q,aF as Pe,aG as ue,aH as On,f as Mt}from"../chunks/DlLMAEhl.js";import{a as An,l as xn,e as W,s as $}from"../chunks/9GO8__J9.js";import{p as qn,i as Se}from"../chunks/DJC-Lmna.js";import{o as Nn}from"../chunks/BY1vZ1mH.js";function fe(e,t){return t}function Cn(e,t,r,n){for(var s=[],o=t.length,i=0;i0&&s.length===0&&r!==null;if(l){var p=r.parentNode;dn(p),p.append(r),n.clear(),ne(e,t[0].prev,t[o-1].next)}pn(s,()=>{for(var c=0;c{var T=r();return cn(T)?T:T==null?[]:cr(T)});en(()=>{var T=u(v),f=T.length;if(h&&f===0)return;h=f===0;let b=!1;if(X){var m=i.data===nn;m!==(f===0)&&(i=Ut(),it(i),at(!1),b=!0)}if(X){for(var x=null,g,E=0;E0&&it(Ut())}X||kn(T,l,i,s,t,n,r),o!==null&&(f===0?d?ar(d):d=lr(()=>o(i)):d!==null&&on(d,()=>{d=null})),b&&at(!0),u(v)}),X&&(i=Ee)}function kn(e,t,r,n,s,o,i){var qe,me,ve,ge;var l=(s&un)!==0,p=(s&(wt|Et))!==0,c=e.length,d=t.items,h=t.first,v=h,T,f=null,b,m=[],x=[],g,E,R,y;if(l)for(y=0;y0){var Je=s&or&&c===0?r:null;if(l){for(y=0;y{var Ne;if(b!==void 0)for(R of b)(Ne=R.a)==null||Ne.apply()}),It.first=t.first&&t.first.e,It.last=f&&f.e}function Pn(e,t,r,n){n&wt&&Ht(e.v,t),n&Et?Ht(e.i,r):e.i=r}function ur(e,t,r,n,s,o,i,l,p,c){var d=(p&wt)!==0,h=(p&mn)===0,v=d?h?ln(s):jt(s):s,T=p&Et?jt(i):i,f={i:T,v,k:o,a:null,e:null,prev:r,next:n};try{return f.e=lr(()=>l(e,v,T,c),X),f.e.prev=r&&r.e,f.e.next=n&&n.e,r===null?t.first=f:(r.next=f,r.e.next=f.e),n!==null&&(n.prev=f,n.e.prev=f.e),f}finally{}}function $t(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,s=t?t.e.nodes_start:r,o=e.e.nodes_start;o!==n;){var i=vn(o);s.before(o),o=i}}function ne(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function Ln(e){if(X){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var n=e.value;Te(e,"value",null),e.value=n}if(e.hasAttribute("checked")){var s=e.checked;Te(e,"checked",null),e.checked=s}}};e.__on_r=r,yn(r),An()}}function Te(e,t,r,n){var s=e.__attributes??(e.__attributes={});X&&(s[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||s[t]!==(s[t]=r)&&(t==="style"&&"__styles"in e&&(e.__styles={}),t==="loading"&&(e[_n]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Dn(e).includes(t)?e[t]=r:e.setAttribute(t,r))}var zt=new Map;function Dn(e){var t=zt.get(e.nodeName);if(t)return t;zt.set(e.nodeName,t=[]);for(var r,n=e,s=Element.prototype;s!==n;){r=bn(n);for(var o in r)r[o].set&&t.push(o);n=gn(n)}return t}function Fn(e,t,r){var n=e.__className,s=Bn(t);X&&e.className===s?e.__className=s:(n!==s||X&&e.className!==s)&&(t==null?e.removeAttribute("class"):e.className=s,e.__className=s)}function Bn(e,t){return(e??"")+""}function Un(e,t,r=t){var n=wn();xn(e,"input",s=>{var o=s?e.defaultValue:e.value;if(o=ct(e)?ut(o):o,r(o),n&&o!==(o=t())){var i=e.selectionStart,l=e.selectionEnd;e.value=o??"",l!==null&&(e.selectionStart=i,e.selectionEnd=Math.min(l,e.value.length))}}),(X&&e.defaultValue!==e.value||En(t)==null&&e.value)&&r(ct(e)?ut(e.value):e.value),Sn(()=>{var s=t();ct(e)&&s===ut(e.value)||e.type==="date"&&!s&&!e.value||s!==e.value&&(e.value=s??"")})}function ct(e){var t=e.type;return t==="number"||t==="range"}function ut(e){return e===""?null:+e}function fr(e,t){return function(){return e.apply(t,arguments)}}const{toString:In}=Object.prototype,{getPrototypeOf:St}=Object,Ie=(e=>t=>{const r=In.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Q=e=>(e=e.toLowerCase(),t=>Ie(t)===e),He=e=>t=>typeof t===e,{isArray:pe}=Array,Oe=He("undefined");function Hn(e){return e!==null&&!Oe(e)&&e.constructor!==null&&!Oe(e.constructor)&&K(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const dr=Q("ArrayBuffer");function jn(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&dr(e.buffer),t}const Mn=He("string"),K=He("function"),pr=He("number"),je=e=>e!==null&&typeof e=="object",$n=e=>e===!0||e===!1,Le=e=>{if(Ie(e)!=="object")return!1;const t=St(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},zn=Q("Date"),Jn=Q("File"),Vn=Q("Blob"),Wn=Q("FileList"),Kn=e=>je(e)&&K(e.pipe),Gn=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||K(e.append)&&((t=Ie(e))==="formdata"||t==="object"&&K(e.toString)&&e.toString()==="[object FormData]"))},Xn=Q("URLSearchParams"),[Yn,Qn,Zn,es]=["ReadableStream","Request","Response","Headers"].map(Q),ts=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ae(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,s;if(typeof e!="object"&&(e=[e]),pe(e))for(n=0,s=e.length;n0;)if(s=r[n],t===s.toLowerCase())return s;return null}const ie=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,mr=e=>!Oe(e)&&e!==ie;function mt(){const{caseless:e}=mr(this)&&this||{},t={},r=(n,s)=>{const o=e&&hr(t,s)||s;Le(t[o])&&Le(n)?t[o]=mt(t[o],n):Le(n)?t[o]=mt({},n):pe(n)?t[o]=n.slice():t[o]=n};for(let n=0,s=arguments.length;n(Ae(t,(s,o)=>{r&&K(s)?e[o]=fr(s,r):e[o]=s},{allOwnKeys:n}),e),ns=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),ss=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},os=(e,t,r,n)=>{let s,o,i;const l={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!n||n(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=r!==!1&&St(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},is=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},as=e=>{if(!e)return null;if(pe(e))return e;let t=e.length;if(!pr(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},ls=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&St(Uint8Array)),cs=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=n.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},us=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},fs=Q("HTMLFormElement"),ds=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,s){return n.toUpperCase()+s}),Jt=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),ps=Q("RegExp"),vr=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Ae(r,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(n[o]=i||s)}),Object.defineProperties(e,n)},hs=e=>{vr(e,(t,r)=>{if(K(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(K(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},ms=(e,t)=>{const r={},n=s=>{s.forEach(o=>{r[o]=!0})};return pe(e)?n(e):n(String(e).split(t)),r},vs=()=>{},gs=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,ft="abcdefghijklmnopqrstuvwxyz",Vt="0123456789",gr={DIGIT:Vt,ALPHA:ft,ALPHA_DIGIT:ft+ft.toUpperCase()+Vt},bs=(e=16,t=gr.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function ys(e){return!!(e&&K(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const _s=e=>{const t=new Array(10),r=(n,s)=>{if(je(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[s]=n;const o=pe(n)?[]:{};return Ae(n,(i,l)=>{const p=r(i,s+1);!Oe(p)&&(o[l]=p)}),t[s]=void 0,o}}return n};return r(e,0)},ws=Q("AsyncFunction"),Es=e=>e&&(je(e)||K(e))&&K(e.then)&&K(e.catch),br=((e,t)=>e?setImmediate:t?((r,n)=>(ie.addEventListener("message",({source:s,data:o})=>{s===ie&&o===r&&n.length&&n.shift()()},!1),s=>{n.push(s),ie.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",K(ie.postMessage)),Ss=typeof queueMicrotask<"u"?queueMicrotask.bind(ie):typeof process<"u"&&process.nextTick||br,a={isArray:pe,isArrayBuffer:dr,isBuffer:Hn,isFormData:Gn,isArrayBufferView:jn,isString:Mn,isNumber:pr,isBoolean:$n,isObject:je,isPlainObject:Le,isReadableStream:Yn,isRequest:Qn,isResponse:Zn,isHeaders:es,isUndefined:Oe,isDate:zn,isFile:Jn,isBlob:Vn,isRegExp:ps,isFunction:K,isStream:Kn,isURLSearchParams:Xn,isTypedArray:ls,isFileList:Wn,forEach:Ae,merge:mt,extend:rs,trim:ts,stripBOM:ns,inherits:ss,toFlatObject:os,kindOf:Ie,kindOfTest:Q,endsWith:is,toArray:as,forEachEntry:cs,matchAll:us,isHTMLForm:fs,hasOwnProperty:Jt,hasOwnProp:Jt,reduceDescriptors:vr,freezeMethods:hs,toObjectSet:ms,toCamelCase:ds,noop:vs,toFiniteNumber:gs,findKey:hr,global:ie,isContextDefined:mr,ALPHABET:gr,generateString:bs,isSpecCompliantForm:ys,toJSONObject:_s,isAsyncFn:ws,isThenable:Es,setImmediate:br,asap:Ss};function O(e,t,r,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),s&&(this.response=s,this.status=s.status?s.status:null)}a.inherits(O,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a.toJSONObject(this.config),code:this.code,status:this.status}}});const yr=O.prototype,_r={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{_r[e]={value:e}});Object.defineProperties(O,_r);Object.defineProperty(yr,"isAxiosError",{value:!0});O.from=(e,t,r,n,s,o)=>{const i=Object.create(yr);return a.toFlatObject(e,i,function(p){return p!==Error.prototype},l=>l!=="isAxiosError"),O.call(i,e.message,t,r,n,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Rs=null;function vt(e){return a.isPlainObject(e)||a.isArray(e)}function wr(e){return a.endsWith(e,"[]")?e.slice(0,-2):e}function Wt(e,t,r){return e?e.concat(t).map(function(s,o){return s=wr(s),!r&&o?"["+s+"]":s}).join(r?".":""):t}function Ts(e){return a.isArray(e)&&!e.some(vt)}const Os=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function Me(e,t,r){if(!a.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=a.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,m){return!a.isUndefined(m[b])});const n=r.metaTokens,s=r.visitor||d,o=r.dots,i=r.indexes,p=(r.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(t);if(!a.isFunction(s))throw new TypeError("visitor must be a function");function c(f){if(f===null)return"";if(a.isDate(f))return f.toISOString();if(!p&&a.isBlob(f))throw new O("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(f)||a.isTypedArray(f)?p&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function d(f,b,m){let x=f;if(f&&!m&&typeof f=="object"){if(a.endsWith(b,"{}"))b=n?b:b.slice(0,-2),f=JSON.stringify(f);else if(a.isArray(f)&&Ts(f)||(a.isFileList(f)||a.endsWith(b,"[]"))&&(x=a.toArray(f)))return b=wr(b),x.forEach(function(E,R){!(a.isUndefined(E)||E===null)&&t.append(i===!0?Wt([b],R,o):i===null?b:b+"[]",c(E))}),!1}return vt(f)?!0:(t.append(Wt(m,b,o),c(f)),!1)}const h=[],v=Object.assign(Os,{defaultVisitor:d,convertValue:c,isVisitable:vt});function T(f,b){if(!a.isUndefined(f)){if(h.indexOf(f)!==-1)throw Error("Circular reference detected in "+b.join("."));h.push(f),a.forEach(f,function(x,g){(!(a.isUndefined(x)||x===null)&&s.call(t,x,a.isString(g)?g.trim():g,b,v))===!0&&T(x,b?b.concat(g):[g])}),h.pop()}}if(!a.isObject(e))throw new TypeError("data must be an object");return T(e),t}function Kt(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Rt(e,t){this._pairs=[],e&&Me(e,this,t)}const Er=Rt.prototype;Er.append=function(t,r){this._pairs.push([t,r])};Er.toString=function(t){const r=t?function(n){return t.call(this,n,Kt)}:Kt;return this._pairs.map(function(s){return r(s[0])+"="+r(s[1])},"").join("&")};function As(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Sr(e,t,r){if(!t)return e;const n=r&&r.encode||As;a.isFunction(r)&&(r={serialize:r});const s=r&&r.serialize;let o;if(s?o=s(t,r):o=a.isURLSearchParams(t)?t.toString():new Rt(t,r).toString(n),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Gt{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){a.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Rr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},xs=typeof URLSearchParams<"u"?URLSearchParams:Rt,qs=typeof FormData<"u"?FormData:null,Ns=typeof Blob<"u"?Blob:null,Cs={isBrowser:!0,classes:{URLSearchParams:xs,FormData:qs,Blob:Ns},protocols:["http","https","file","blob","url","data"]},Tt=typeof window<"u"&&typeof document<"u",gt=typeof navigator=="object"&&navigator||void 0,ks=Tt&&(!gt||["ReactNative","NativeScript","NS"].indexOf(gt.product)<0),Ps=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ls=Tt&&window.location.href||"http://localhost",Ds=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Tt,hasStandardBrowserEnv:ks,hasStandardBrowserWebWorkerEnv:Ps,navigator:gt,origin:Ls},Symbol.toStringTag,{value:"Module"})),H={...Ds,...Cs};function Fs(e,t){return Me(e,new H.classes.URLSearchParams,Object.assign({visitor:function(r,n,s,o){return H.isNode&&a.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Bs(e){return a.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Us(e){const t={},r=Object.keys(e);let n;const s=r.length;let o;for(n=0;n=r.length;return i=!i&&a.isArray(s)?s.length:i,p?(a.hasOwnProp(s,i)?s[i]=[s[i],n]:s[i]=n,!l):((!s[i]||!a.isObject(s[i]))&&(s[i]=[]),t(r,n,s[i],o)&&a.isArray(s[i])&&(s[i]=Us(s[i])),!l)}if(a.isFormData(e)&&a.isFunction(e.entries)){const r={};return a.forEachEntry(e,(n,s)=>{t(Bs(n),s,r,0)}),r}return null}function Is(e,t,r){if(a.isString(e))try{return(t||JSON.parse)(e),a.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const xe={transitional:Rr,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",s=n.indexOf("application/json")>-1,o=a.isObject(t);if(o&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return s?JSON.stringify(Tr(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t)||a.isReadableStream(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Fs(t,this.formSerializer).toString();if((l=a.isFileList(t))||n.indexOf("multipart/form-data")>-1){const p=this.env&&this.env.FormData;return Me(l?{"files[]":t}:t,p&&new p,this.formSerializer)}}return o||s?(r.setContentType("application/json",!1),Is(t)):t}],transformResponse:[function(t){const r=this.transitional||xe.transitional,n=r&&r.forcedJSONParsing,s=this.responseType==="json";if(a.isResponse(t)||a.isReadableStream(t))return t;if(t&&a.isString(t)&&(n&&!this.responseType||s)){const i=!(r&&r.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?O.from(l,O.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:H.classes.FormData,Blob:H.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],e=>{xe.headers[e]={}});const Hs=a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),js=e=>{const t={};let r,n,s;return e&&e.split(` +`).forEach(function(i){s=i.indexOf(":"),r=i.substring(0,s).trim().toLowerCase(),n=i.substring(s+1).trim(),!(!r||t[r]&&Hs[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Xt=Symbol("internals");function Re(e){return e&&String(e).trim().toLowerCase()}function De(e){return e===!1||e==null?e:a.isArray(e)?e.map(De):String(e)}function Ms(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const $s=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function dt(e,t,r,n,s){if(a.isFunction(n))return n.call(this,t,r);if(s&&(t=r),!!a.isString(t)){if(a.isString(n))return t.indexOf(n)!==-1;if(a.isRegExp(n))return n.test(t)}}function zs(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Js(e,t){const r=a.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(s,o,i){return this[n].call(this,t,s,o,i)},configurable:!0})})}let z=class{constructor(t){t&&this.set(t)}set(t,r,n){const s=this;function o(l,p,c){const d=Re(p);if(!d)throw new Error("header name must be a non-empty string");const h=a.findKey(s,d);(!h||s[h]===void 0||c===!0||c===void 0&&s[h]!==!1)&&(s[h||p]=De(l))}const i=(l,p)=>a.forEach(l,(c,d)=>o(c,d,p));if(a.isPlainObject(t)||t instanceof this.constructor)i(t,r);else if(a.isString(t)&&(t=t.trim())&&!$s(t))i(js(t),r);else if(a.isHeaders(t))for(const[l,p]of t.entries())o(p,l,n);else t!=null&&o(r,t,n);return this}get(t,r){if(t=Re(t),t){const n=a.findKey(this,t);if(n){const s=this[n];if(!r)return s;if(r===!0)return Ms(s);if(a.isFunction(r))return r.call(this,s,n);if(a.isRegExp(r))return r.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Re(t),t){const n=a.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||dt(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let s=!1;function o(i){if(i=Re(i),i){const l=a.findKey(n,i);l&&(!r||dt(n,n[l],l,r))&&(delete n[l],s=!0)}}return a.isArray(t)?t.forEach(o):o(t),s}clear(t){const r=Object.keys(this);let n=r.length,s=!1;for(;n--;){const o=r[n];(!t||dt(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const r=this,n={};return a.forEach(this,(s,o)=>{const i=a.findKey(n,o);if(i){r[i]=De(s),delete r[o];return}const l=t?zs(o):String(o).trim();l!==o&&delete r[o],r[l]=De(s),n[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return a.forEach(this,(n,s)=>{n!=null&&n!==!1&&(r[s]=t&&a.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(s=>n.set(s)),n}static accessor(t){const n=(this[Xt]=this[Xt]={accessors:{}}).accessors,s=this.prototype;function o(i){const l=Re(i);n[l]||(Js(s,i),n[l]=!0)}return a.isArray(t)?t.forEach(o):o(t),this}};z.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);a.reduceDescriptors(z.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});a.freezeMethods(z);function pt(e,t){const r=this||xe,n=t||r,s=z.from(n.headers);let o=n.data;return a.forEach(e,function(l){o=l.call(r,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Or(e){return!!(e&&e.__CANCEL__)}function he(e,t,r){O.call(this,e??"canceled",O.ERR_CANCELED,t,r),this.name="CanceledError"}a.inherits(he,O,{__CANCEL__:!0});function Ar(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new O("Request failed with status code "+r.status,[O.ERR_BAD_REQUEST,O.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Vs(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Ws(e,t){e=e||10;const r=new Array(e),n=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(p){const c=Date.now(),d=n[o];i||(i=c),r[s]=p,n[s]=c;let h=o,v=0;for(;h!==s;)v+=r[h++],h=h%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-i{r=d,s=null,o&&(clearTimeout(o),o=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),h=d-r;h>=n?i(c,d):(s=c,o||(o=setTimeout(()=>{o=null,i(s)},n-h)))},()=>s&&i(s)]}const Be=(e,t,r=3)=>{let n=0;const s=Ws(50,250);return Ks(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,p=i-n,c=s(p),d=i<=l;n=i;const h={loaded:i,total:l,progress:l?i/l:void 0,bytes:p,rate:c||void 0,estimated:c&&l&&d?(l-i)/c:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(h)},r)},Yt=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Qt=e=>(...t)=>a.asap(()=>e(...t)),Gs=H.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,H.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(H.origin),H.navigator&&/(msie|trident)/i.test(H.navigator.userAgent)):()=>!0,Xs=H.hasStandardBrowserEnv?{write(e,t,r,n,s,o){const i=[e+"="+encodeURIComponent(t)];a.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),a.isString(n)&&i.push("path="+n),a.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Ys(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Qs(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function xr(e,t){return e&&!Ys(t)?Qs(e,t):t}const Zt=e=>e instanceof z?{...e}:e;function le(e,t){t=t||{};const r={};function n(c,d,h,v){return a.isPlainObject(c)&&a.isPlainObject(d)?a.merge.call({caseless:v},c,d):a.isPlainObject(d)?a.merge({},d):a.isArray(d)?d.slice():d}function s(c,d,h,v){if(a.isUndefined(d)){if(!a.isUndefined(c))return n(void 0,c,h,v)}else return n(c,d,h,v)}function o(c,d){if(!a.isUndefined(d))return n(void 0,d)}function i(c,d){if(a.isUndefined(d)){if(!a.isUndefined(c))return n(void 0,c)}else return n(void 0,d)}function l(c,d,h){if(h in t)return n(c,d);if(h in e)return n(void 0,c)}const p={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(c,d,h)=>s(Zt(c),Zt(d),h,!0)};return a.forEach(Object.keys(Object.assign({},e,t)),function(d){const h=p[d]||s,v=h(e[d],t[d],d);a.isUndefined(v)&&h!==l||(r[d]=v)}),r}const qr=e=>{const t=le({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:s,xsrfCookieName:o,headers:i,auth:l}=t;t.headers=i=z.from(i),t.url=Sr(xr(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let p;if(a.isFormData(r)){if(H.hasStandardBrowserEnv||H.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((p=i.getContentType())!==!1){const[c,...d]=p?p.split(";").map(h=>h.trim()).filter(Boolean):[];i.setContentType([c||"multipart/form-data",...d].join("; "))}}if(H.hasStandardBrowserEnv&&(n&&a.isFunction(n)&&(n=n(t)),n||n!==!1&&Gs(t.url))){const c=s&&o&&Xs.read(o);c&&i.set(s,c)}return t},Zs=typeof XMLHttpRequest<"u",eo=Zs&&function(e){return new Promise(function(r,n){const s=qr(e);let o=s.data;const i=z.from(s.headers).normalize();let{responseType:l,onUploadProgress:p,onDownloadProgress:c}=s,d,h,v,T,f;function b(){T&&T(),f&&f(),s.cancelToken&&s.cancelToken.unsubscribe(d),s.signal&&s.signal.removeEventListener("abort",d)}let m=new XMLHttpRequest;m.open(s.method.toUpperCase(),s.url,!0),m.timeout=s.timeout;function x(){if(!m)return;const E=z.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),y={data:!l||l==="text"||l==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:E,config:e,request:m};Ar(function(I){r(I),b()},function(I){n(I),b()},y),m=null}"onloadend"in m?m.onloadend=x:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(x)},m.onabort=function(){m&&(n(new O("Request aborted",O.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new O("Network Error",O.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let R=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const y=s.transitional||Rr;s.timeoutErrorMessage&&(R=s.timeoutErrorMessage),n(new O(R,y.clarifyTimeoutError?O.ETIMEDOUT:O.ECONNABORTED,e,m)),m=null},o===void 0&&i.setContentType(null),"setRequestHeader"in m&&a.forEach(i.toJSON(),function(R,y){m.setRequestHeader(y,R)}),a.isUndefined(s.withCredentials)||(m.withCredentials=!!s.withCredentials),l&&l!=="json"&&(m.responseType=s.responseType),c&&([v,f]=Be(c,!0),m.addEventListener("progress",v)),p&&m.upload&&([h,T]=Be(p),m.upload.addEventListener("progress",h),m.upload.addEventListener("loadend",T)),(s.cancelToken||s.signal)&&(d=E=>{m&&(n(!E||E.type?new he(null,e,m):E),m.abort(),m=null)},s.cancelToken&&s.cancelToken.subscribe(d),s.signal&&(s.signal.aborted?d():s.signal.addEventListener("abort",d)));const g=Vs(s.url);if(g&&H.protocols.indexOf(g)===-1){n(new O("Unsupported protocol "+g+":",O.ERR_BAD_REQUEST,e));return}m.send(o||null)})},to=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,s;const o=function(c){if(!s){s=!0,l();const d=c instanceof Error?c:this.reason;n.abort(d instanceof O?d:new he(d instanceof Error?d.message:d))}};let i=t&&setTimeout(()=>{i=null,o(new O(`timeout ${t} of ms exceeded`,O.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(o):c.removeEventListener("abort",o)}),e=null)};e.forEach(c=>c.addEventListener("abort",o));const{signal:p}=n;return p.unsubscribe=()=>a.asap(l),p}},ro=function*(e,t){let r=e.byteLength;if(r{const s=no(e,t);let o=0,i,l=p=>{i||(i=!0,n&&n(p))};return new ReadableStream({async pull(p){try{const{done:c,value:d}=await s.next();if(c){l(),p.close();return}let h=d.byteLength;if(r){let v=o+=h;r(v)}p.enqueue(new Uint8Array(d))}catch(c){throw l(c),c}},cancel(p){return l(p),s.return()}},{highWaterMark:2})},$e=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Nr=$e&&typeof ReadableStream=="function",oo=$e&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Cr=(e,...t)=>{try{return!!e(...t)}catch{return!1}},io=Nr&&Cr(()=>{let e=!1;const t=new Request(H.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),tr=64*1024,bt=Nr&&Cr(()=>a.isReadableStream(new Response("").body)),Ue={stream:bt&&(e=>e.body)};$e&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Ue[t]&&(Ue[t]=a.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new O(`Response type '${t}' is not supported`,O.ERR_NOT_SUPPORT,n)})})})(new Response);const ao=async e=>{if(e==null)return 0;if(a.isBlob(e))return e.size;if(a.isSpecCompliantForm(e))return(await new Request(H.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(a.isArrayBufferView(e)||a.isArrayBuffer(e))return e.byteLength;if(a.isURLSearchParams(e)&&(e=e+""),a.isString(e))return(await oo(e)).byteLength},lo=async(e,t)=>{const r=a.toFiniteNumber(e.getContentLength());return r??ao(t)},co=$e&&(async e=>{let{url:t,method:r,data:n,signal:s,cancelToken:o,timeout:i,onDownloadProgress:l,onUploadProgress:p,responseType:c,headers:d,withCredentials:h="same-origin",fetchOptions:v}=qr(e);c=c?(c+"").toLowerCase():"text";let T=to([s,o&&o.toAbortSignal()],i),f;const b=T&&T.unsubscribe&&(()=>{T.unsubscribe()});let m;try{if(p&&io&&r!=="get"&&r!=="head"&&(m=await lo(d,n))!==0){let y=new Request(t,{method:"POST",body:n,duplex:"half"}),J;if(a.isFormData(n)&&(J=y.headers.get("content-type"))&&d.setContentType(J),y.body){const[I,B]=Yt(m,Be(Qt(p)));n=er(y.body,tr,I,B)}}a.isString(h)||(h=h?"include":"omit");const x="credentials"in Request.prototype;f=new Request(t,{...v,signal:T,method:r.toUpperCase(),headers:d.normalize().toJSON(),body:n,duplex:"half",credentials:x?h:void 0});let g=await fetch(f);const E=bt&&(c==="stream"||c==="response");if(bt&&(l||E&&b)){const y={};["status","statusText","headers"].forEach(Z=>{y[Z]=g[Z]});const J=a.toFiniteNumber(g.headers.get("content-length")),[I,B]=l&&Yt(J,Be(Qt(l),!0))||[];g=new Response(er(g.body,tr,I,()=>{B&&B(),b&&b()}),y)}c=c||"text";let R=await Ue[a.findKey(Ue,c)||"text"](g,e);return!E&&b&&b(),await new Promise((y,J)=>{Ar(y,J,{data:R,headers:z.from(g.headers),status:g.status,statusText:g.statusText,config:e,request:f})})}catch(x){throw b&&b(),x&&x.name==="TypeError"&&/fetch/i.test(x.message)?Object.assign(new O("Network Error",O.ERR_NETWORK,e,f),{cause:x.cause||x}):O.from(x,x&&x.code,e,f)}}),yt={http:Rs,xhr:eo,fetch:co};a.forEach(yt,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const rr=e=>`- ${e}`,uo=e=>a.isFunction(e)||e===null||e===!1,kr={getAdapter:e=>{e=a.isArray(e)?e:[e];const{length:t}=e;let r,n;const s={};for(let o=0;o`adapter ${l} `+(p===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : +`+o.map(rr).join(` +`):" "+rr(o[0]):"as no adapter specified";throw new O("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return n},adapters:yt};function ht(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new he(null,e)}function nr(e){return ht(e),e.headers=z.from(e.headers),e.data=pt.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),kr.getAdapter(e.adapter||xe.adapter)(e).then(function(n){return ht(e),n.data=pt.call(e,e.transformResponse,n),n.headers=z.from(n.headers),n},function(n){return Or(n)||(ht(e),n&&n.response&&(n.response.data=pt.call(e,e.transformResponse,n.response),n.response.headers=z.from(n.response.headers))),Promise.reject(n)})}const Pr="1.7.9",ze={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ze[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const sr={};ze.transitional=function(t,r,n){function s(o,i){return"[Axios v"+Pr+"] Transitional option '"+o+"'"+i+(n?". "+n:"")}return(o,i,l)=>{if(t===!1)throw new O(s(i," has been removed"+(r?" in "+r:"")),O.ERR_DEPRECATED);return r&&!sr[i]&&(sr[i]=!0,console.warn(s(i," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(o,i,l):!0}};ze.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function fo(e,t,r){if(typeof e!="object")throw new O("options must be an object",O.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let s=n.length;for(;s-- >0;){const o=n[s],i=t[o];if(i){const l=e[o],p=l===void 0||i(l,o,e);if(p!==!0)throw new O("option "+o+" must be "+p,O.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new O("Unknown option "+o,O.ERR_BAD_OPTION)}}const Fe={assertOptions:fo,validators:ze},ee=Fe.validators;let ae=class{constructor(t){this.defaults=t,this.interceptors={request:new Gt,response:new Gt}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=` +`+o):n.stack=o}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=le(this.defaults,r);const{transitional:n,paramsSerializer:s,headers:o}=r;n!==void 0&&Fe.assertOptions(n,{silentJSONParsing:ee.transitional(ee.boolean),forcedJSONParsing:ee.transitional(ee.boolean),clarifyTimeoutError:ee.transitional(ee.boolean)},!1),s!=null&&(a.isFunction(s)?r.paramsSerializer={serialize:s}:Fe.assertOptions(s,{encode:ee.function,serialize:ee.function},!0)),Fe.assertOptions(r,{baseUrl:ee.spelling("baseURL"),withXsrfToken:ee.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=o&&a.merge(o.common,o[r.method]);o&&a.forEach(["delete","get","head","post","put","patch","common"],f=>{delete o[f]}),r.headers=z.concat(i,o);const l=[];let p=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(r)===!1||(p=p&&b.synchronous,l.unshift(b.fulfilled,b.rejected))});const c=[];this.interceptors.response.forEach(function(b){c.push(b.fulfilled,b.rejected)});let d,h=0,v;if(!p){const f=[nr.bind(this),void 0];for(f.unshift.apply(f,l),f.push.apply(f,c),v=f.length,d=Promise.resolve(r);h{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](s);n._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(l=>{n.subscribe(l),o=l}).then(s);return i.cancel=function(){n.unsubscribe(o)},i},t(function(o,i,l){n.reason||(n.reason=new he(o,i,l),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new Lr(function(s){t=s}),cancel:t}}};function ho(e){return function(r){return e.apply(null,r)}}function mo(e){return a.isObject(e)&&e.isAxiosError===!0}const _t={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(_t).forEach(([e,t])=>{_t[t]=e});function Dr(e){const t=new ae(e),r=fr(ae.prototype.request,t);return a.extend(r,ae.prototype,t,{allOwnKeys:!0}),a.extend(r,t,null,{allOwnKeys:!0}),r.create=function(s){return Dr(le(e,s))},r}const P=Dr(xe);P.Axios=ae;P.CanceledError=he;P.CancelToken=po;P.isCancel=Or;P.VERSION=Pr;P.toFormData=Me;P.AxiosError=O;P.Cancel=P.CanceledError;P.all=function(t){return Promise.all(t)};P.spread=ho;P.isAxiosError=mo;P.mergeConfig=le;P.AxiosHeaders=z;P.formToJSON=e=>Tr(a.isHTMLForm(e)?new FormData(e):e);P.getAdapter=kr.getAdapter;P.HttpStatusCode=_t;P.default=P;const{Axios:Do,AxiosError:Fo,CanceledError:Bo,isCancel:Uo,CancelToken:Io,VERSION:Ho,all:jo,Cancel:Mo,isAxiosError:$o,spread:zo,toFormData:Jo,AxiosHeaders:Vo,HttpStatusCode:Wo,formToJSON:Ko,getAdapter:Go,mergeConfig:Xo}=P;var vo=Y(`

Rules: Nudge and rotate each block you are given + into position. Each square on a block you place is + worth 100pts. Your blocks cannot overlap and + placement will be prevented. The dark grey squares + multiply squares placed on them by 3x. Blocks may + have a unique square which also has a 3x multiplier. + These multipliers can stack to score higher! Click

`),go=Y('
Touch Here to See Rules
'),bo=Y(`

Welcome! QueueB is a daily spacial puzzle game. Each day you + will recieve a unique queue of blocks and you must decide + where to place them to maximize your score. Future Updates + will add a scoreboard, additional unique blocks, and more!

Your Username

Created By Paradis Bend Studio

`),yo=Y("
"),_o=Y('
'),wo=Y('
'),Eo=Y('

Thanks For Playing!

',1),So=Y('
'),Ro=Y('
'),To=Y('
'),Oo=Y('

Todays Top 10

Player
Count
Score

Last Top 10

Player
Count
Score

Hall Of Fame

Player
Date
Count
Score

**WIP - Hall of Fame Updates Daily**

');function Yo(e,t){Rn(t,!1);let r=M("PLACEHOLDER"),n=M(!1),s=M(!1),o=M(),i=M(!1),l=M(0),p=M(!1),c=M(!1),d=[3,3,3,3,3,3,3,3,3,3,3,3,3,3],h=[3,1,1,1,1,1,1,1,1,1,1,1,1,3],v=[3,1,1,1,1,3,3,3,3,1,1,1,1,3],T=[[...d],[...h],[...h],[...h],[...h],[...v],[...v],[...v],[...v],[...h],[...h],[...h],[...h],[...d]],f=M([...T]),b=[...u(f)],m=[[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],x=[[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],g=M([7,7]),E=M(0),R=M([x,x,x,x]),y=M(0),J=["255,255,0","255,0,255","0,255,255","255,0,0","0,0,255","255,0,255","0,255,0","255,191,0","128,255,0","0,128,255","0,255,128","0,255,64","191,0,255","0,255,192","255,128,128","128,0,255","255,128,0","128,255,255"],I=[],B=M({now:I,prev:I,hof:I}),Z=qn(t,"daily",24,()=>Array.from({length:25},(_,w)=>w));function se(_){let w=[];for(let A=0;A<4;A++)for(let S=3;S>=0;S--)w.push(_[S*4+A]);return w}function te(_){let w=[_],A=se(_);w.push(A);let S=se(A);w.push(S);let L=se(S);return w.push(L),w}async function ce(){await P.get("/api/blocks").then(A=>{m=A.data}).catch(A=>{A.code!="ERR_INVALID_URL"&&console.error("Error fetching data:",A)});let _=localStorage.getItem("gameState"),w=_?JSON.parse(_):{daily:Array.from({length:25},(A,S)=>S)};w.daily.join("")==Z().join("")&&(k(f,w.cube||u(f)),k(E,w.current||0),k(c,w.gameOver||!1),u(c)&&k(l,w.score||0)),k(R,te(m[u(E)]))}let Je=_=>{let w=J[_%100],A=1-_/1400,S="background-color: rgba(255, 255, 255, .9)";return _==3&&(S="background-color: rgba(255, 255, 255, .5)"),_>99&&(S=`background-color: rgba(${w}, ${A})`),S},qe=_=>{k(r,_),localStorage.setItem("username",u(r)),k(s,!0)},me=_=>{ue(g,u(g)[0]=u(g)[0]+_),u(g)[0]>10&&ue(g,u(g)[0]=10),u(g)[0]<0&&ue(g,u(g)[0]=0)},ve=_=>{ue(g,u(g)[1]=u(g)[1]+_),u(g)[1]>10&&ue(g,u(g)[1]=10),u(g)[1]<0&&ue(g,u(g)[1]=0)},ge=_=>{k(y,u(y)+_),u(y)<0&&k(y,3),u(y)>3&&k(y,0)},Ne=_=>{let w=!0,A=[];u(i)?k(i,!1):(A=u(f).map(S=>[...S]),u(R)[u(y)].forEach((S,L)=>{let D=0,j=0;[4,5,6,7].includes(L)&&(D=1),[1,5,9,13].includes(L)&&(j=1),[8,9,10,11].includes(L)&&(D=2),[2,6,10,14].includes(L)&&(j=2),[12,13,14,15].includes(L)&&(D=3),[3,7,11,15].includes(L)&&(j=3);let F=u(g)[0]+D,U=u(g)[1]+j;S!=0&&(u(f)[F][U]>9&&(w=!1),A[F][U]=A[F][U]*S*100+u(E))}),w?(b=A,k(i,!0)):k(i,!1))},Fr=_=>{k(i,!1),k(f,[]),k(f,[...b]),k(g,[7,7]),On(E),k(R,te(m[u(E)]));let w={cube:u(f),current:u(E),gameOver:u(c),daily:Z(),score:u(l)};localStorage.setItem("gameState",JSON.stringify(w))},Br=()=>{k(i,!0),k(c,!0);let _=u(f).flat().reduce((S,L)=>S+L,0);k(l,_);let w={cube:u(f),current:u(E),gameOver:u(c),daily:Z(),score:u(l)};localStorage.setItem("gameState",JSON.stringify(w));let A={username:u(r),count:u(E),score:u(l),cube:JSON.stringify(u(f))};P.post("/api/score",A).then(S=>{console.log(S.data)}).catch(S=>{console.error("Error fetching data:",S)})},Ur=()=>{k(f,T),k(E,0),k(c,!1),k(l,0);let _={cube:u(f),current:u(E),gameOver:u(c),daily:Z(),score:u(l)};localStorage.setItem("gameState",JSON.stringify(_)),ce()};P.get("/api/scoreboard").then(_=>{k(B,_.data)}).catch(_=>{_.code!="ERR_INVALID_URL"&&console.error("Error fetching scoreboard:",_)}),Nn(()=>{k(r,localStorage.getItem("username")||""),u(r).length>2&&k(o,u(r)),ce()}),Qr();var Ve=Oo(),Ot=N(Ve);{var Ir=_=>{var w=bo(),A=N(w),S=C(N(A),4),L=N(S);{var D=V=>{var oe=vo();G(V,oe)},j=V=>{var oe=go();G(V,oe)};Se(L,V=>{u(n)?V(D):V(j,!1)})}q(S);var F=C(S,4);Ln(F);var U=C(F,2);Pe(2),q(A),q(w),re(()=>U.disabled=u(o)==null||u(o).length<3),W("click",S,()=>k(n,!u(n))),Un(F,()=>u(o),V=>k(o,V)),W("click",U,()=>qe(u(o))),G(_,w)};Se(Ot,_=>{u(s)||_(Ir)})}var We=C(Ot,2),Hr=N(We);q(We);var Ce=C(We,2);de(Ce,5,()=>u(f),fe,(_,w,A)=>{var S=Yr(),L=Mt(S);de(L,1,()=>u(w),fe,(D,j,F)=>{var U=wo(),V=N(U);{var oe=_e=>{var ot=_o();de(ot,5,()=>u(R)[u(y)],fe,(Kr,ke)=>{var we=yo(),Gr=N(we);{var Xr=Bt=>{};Se(Gr,Bt=>{u(ke)==2&&Bt(Xr)})}q(we),re(()=>{Fn(we,`${(u(ke)>0?"blocks":"noblocks")??""} ${(u(ke)==3?"b2":null)??""} svelte-16cgsqn`),Te(we,"style",u(ke)>0?`background-color: rgba(${J[u(E)]}, 0.7)`:"")}),G(Kr,we)}),q(ot),G(_e,ot)};Se(V,_e=>{u(g)[0]==A&&u(g)[1]==F&&!u(p)&&!u(c)&&u(s)&&_e(oe)})}q(U),re(_e=>Te(U,"style",_e),[()=>Je(u(j))],ir),G(D,U)}),G(_,S)}),q(Ce);var At=C(Ce,2);{var jr=_=>{var w=Eo(),A=Mt(w),S=N(A);q(A),Pe(2),re(()=>$(S,`Score: ${u(l)??""}`)),G(_,w)};Se(At,_=>{u(c)&&_(jr)})}var Ke=C(At,2),Ge=N(Ke),Xe=N(Ge),Ye=C(Xe,2),xt=C(Ye,2);q(Ge);var Qe=C(Ge,2),Ze=N(Qe),et=C(Ze,2),qt=C(et,2);q(Qe);var tt=C(Qe,2),be=N(tt),Mr=N(be,!0);q(be);var Nt=C(be,2);q(tt);var rt=C(tt,2),ye=N(rt),$r=N(ye);q(ye);var Ct=C(ye,2);q(rt);var kt=C(rt,2),zr=N(kt);q(kt),q(Ke);var nt=C(Ke,2),st=N(nt),Pt=C(N(st),2),Jr=C(N(Pt),2);de(Jr,1,()=>u(B).now,fe,(_,w)=>{var A=So(),S=N(A),L=N(S,!0);q(S);var D=C(S,2),j=N(D,!0);q(D);var F=C(D,2),U=N(F,!0);q(F),q(A),re(()=>{$(L,u(w).username),$(j,u(w).count),$(U,u(w).score)}),G(_,A)}),q(Pt),q(st);var Lt=C(st,2),Dt=C(N(Lt),2),Vr=C(N(Dt),2);de(Vr,1,()=>u(B).prev,fe,(_,w)=>{var A=Ro(),S=N(A),L=N(S,!0);q(S);var D=C(S,2),j=N(D,!0);q(D);var F=C(D,2),U=N(F,!0);q(F),q(A),re(()=>{$(L,u(w).username),$(j,u(w).count),$(U,u(w).score)}),G(_,A)}),q(Dt),q(Lt),q(nt);var Ft=C(nt,2),Wr=C(N(Ft),4);de(Wr,1,()=>u(B).hof,fe,(_,w)=>{var A=To(),S=N(A),L=N(S,!0);q(S);var D=C(S,2),j=N(D,!0);q(D);var F=C(D,2),U=N(F,!0);q(F);var V=C(F,2),oe=N(V,!0);q(V),q(A),re(()=>{$(L,u(w).username),$(j,u(w).day),$(U,u(w).count),$(oe,u(w).score)}),G(_,A)}),Pe(2),q(Ft),Pe(2),q(Ve),re(()=>{$(Hr,`Welcome ${u(r)??""}`),Te(Ce,"style",`--col-count: ${u(f)[0].length??""}`),Xe.disabled=u(i),Ye.disabled=u(i),xt.disabled=u(i),Ze.disabled=u(i),et.disabled=u(i),qt.disabled=u(i),be.disabled=u(c),$(Mr,u(i)?"Pick Up":"Place"),Nt.disabled=!u(i)||u(c),ye.disabled=u(c),$($r,`Queueb out: ${u(E)??""}`),Ct.disabled=!u(p)||u(c)}),W("click",Xe,()=>ge(-1)),W("click",Ye,()=>me(-1)),W("click",xt,()=>ge(1)),W("click",Ze,()=>ve(-1)),W("click",et,()=>me(1)),W("click",qt,()=>ve(1)),W("click",be,()=>Ne()),W("click",Nt,()=>Fr()),W("click",ye,()=>k(p,!u(p))),W("click",Ct,Br),W("click",zr,Ur),G(e,Ve),Tn()}export{Yo as component}; diff --git a/queuebServer/dist/_app/immutable/nodes/2.DMtbxQhd.js b/queuebServer/dist/_app/immutable/nodes/2.DMtbxQhd.js deleted file mode 100644 index ef152b1..0000000 --- a/queuebServer/dist/_app/immutable/nodes/2.DMtbxQhd.js +++ /dev/null @@ -1,15 +0,0 @@ -import{t as ee,a as G,c as jn}from"../chunks/DalkA_xl.js";import{i as Mn}from"../chunks/DYclDwEz.js";import{a1 as $n,b as zn,M as et,h as $,a2 as Jn,J as Vn,k as d,T as Zt,K as Wn,L as Pt,N as tt,c as ye,ag as Kn,O as en,a as tn,P as Gn,ar as nt,ak as nn,F as Lt,as as Bt,_ as Xn,A as Ft,I as Yn,at as vt,au as Qn,aj as Zn,av as er,d as tr,aw as gt,ax as nr,ae as rr,ay as rn,aa as sr,az as or,H as ar,aA as ir,aB as lr,aC as cr,aD as ur,i as fr,an as dr,q as pr,t as ve,s as hr,aE as q,C as A,v as F,x as B,w as k,aF as rt,aG as oe,aH as mr,f as Dt}from"../chunks/Brvyzw3T.js";import{a as br,l as yr,e as H,s as ke}from"../chunks/BHcdrSTx.js";import{p as vr,i as ge}from"../chunks/eD75gwHV.js";import{o as gr}from"../chunks/BkLDdJVQ.js";function st(e,t){return t}function wr(e,t,n,r){for(var s=[],o=t.length,a=0;a0&&s.length===0&&n!==null;if(l){var p=n.parentNode;Zn(p),p.append(n),r.clear(),Z(e,t[0].prev,t[o-1].next)}er(s,()=>{for(var c=0;c{var E=n();return Yn(E)?E:E==null?[]:nn(E)});zn(()=>{var E=d(b),u=E.length;if(h&&u===0)return;h=u===0;let v=!1;if($){var m=a.data===Wn;m!==(u===0)&&(a=Pt(),et(a),tt(!1),v=!0)}if($){for(var R=null,y,w=0;w0&&et(Pt())}$||_r(E,l,a,s,t,r,n),o!==null&&(u===0?f?en(f):f=tn(()=>o(a)):f!==null&&Gn(f,()=>{f=null})),v&&tt(!0),d(b)}),$&&(a=ye)}function _r(e,t,n,r,s,o,a){var ue,fe,Te,Ae;var l=(s&or)!==0,p=(s&(gt|vt))!==0,c=e.length,f=t.items,h=t.first,b=h,E,u=null,v,m=[],R=[],y,w,_,g;if(l)for(g=0;g0){var Oe=s&rn&&c===0?n:null;if(l){for(g=0;g{var xe;if(v!==void 0)for(_ of v)(xe=_.a)==null||xe.apply()}),Lt.first=t.first&&t.first.e,Lt.last=u&&u.e}function Er(e,t,n,r){r>&&Bt(e.v,t),r&vt?Bt(e.i,n):e.i=n}function sn(e,t,n,r,s,o,a,l,p,c){var f=(p>)!==0,h=(p&nr)===0,b=f?h?Xn(s):Ft(s):s,E=p&vt?Ft(a):a,u={i:E,v:b,k:o,a:null,e:null,prev:n,next:r};try{return u.e=tn(()=>l(e,b,E,c),$),u.e.prev=n&&n.e,u.e.next=r&&r.e,n===null?t.first=u:(n.next=u,n.e.next=u.e),r!==null&&(r.prev=u,r.e.prev=u.e),u}finally{}}function Ut(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,s=t?t.e.nodes_start:n,o=e.e.nodes_start;o!==r;){var a=rr(o);s.before(o),o=a}}function Z(e,t,n){t===null?e.first=n:(t.next=n,t.e.next=n&&n.e),n!==null&&(n.prev=t,n.e.prev=t&&t.e)}function Sr(e){if($){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var r=e.value;_e(e,"value",null),e.value=r}if(e.hasAttribute("checked")){var s=e.checked;_e(e,"checked",null),e.checked=s}}};e.__on_r=n,lr(n),br()}}function _e(e,t,n,r){var s=e.__attributes??(e.__attributes={});$&&(s[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||s[t]!==(s[t]=n)&&(t==="style"&&"__styles"in e&&(e.__styles={}),t==="loading"&&(e[cr]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Rr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}var It=new Map;function Rr(e){var t=It.get(e.nodeName);if(t)return t;It.set(e.nodeName,t=[]);for(var n,r=e,s=Element.prototype;s!==r;){n=ir(r);for(var o in n)n[o].set&&t.push(o);r=ar(r)}return t}function Or(e,t,n){var r=e.__className,s=Tr(t);$&&e.className===s?e.__className=s:(r!==s||$&&e.className!==s)&&(t==null?e.removeAttribute("class"):e.className=s,e.__className=s)}function Tr(e,t){return(e??"")+""}function Ar(e,t,n=t){var r=ur();yr(e,"input",s=>{var o=s?e.defaultValue:e.value;if(o=at(e)?it(o):o,n(o),r&&o!==(o=t())){var a=e.selectionStart,l=e.selectionEnd;e.value=o??"",l!==null&&(e.selectionStart=a,e.selectionEnd=Math.min(l,e.value.length))}}),($&&e.defaultValue!==e.value||fr(t)==null&&e.value)&&n(at(e)?it(e.value):e.value),dr(()=>{var s=t();at(e)&&s===it(e.value)||e.type==="date"&&!s&&!e.value||s!==e.value&&(e.value=s??"")})}function at(e){var t=e.type;return t==="number"||t==="range"}function it(e){return e===""?null:+e}function on(e,t){return function(){return e.apply(t,arguments)}}const{toString:xr}=Object.prototype,{getPrototypeOf:wt}=Object,Ue=(e=>t=>{const n=xr.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),J=e=>(e=e.toLowerCase(),t=>Ue(t)===e),Ie=e=>t=>typeof t===e,{isArray:ae}=Array,Ee=Ie("undefined");function Nr(e){return e!==null&&!Ee(e)&&e.constructor!==null&&!Ee(e.constructor)&&j(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const an=J("ArrayBuffer");function Cr(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&an(e.buffer),t}const kr=Ie("string"),j=Ie("function"),ln=Ie("number"),qe=e=>e!==null&&typeof e=="object",Pr=e=>e===!0||e===!1,Pe=e=>{if(Ue(e)!=="object")return!1;const t=wt(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Lr=J("Date"),Br=J("File"),Fr=J("Blob"),Dr=J("FileList"),Ur=e=>qe(e)&&j(e.pipe),Ir=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||j(e.append)&&((t=Ue(e))==="formdata"||t==="object"&&j(e.toString)&&e.toString()==="[object FormData]"))},qr=J("URLSearchParams"),[Hr,jr,Mr,$r]=["ReadableStream","Request","Response","Headers"].map(J),zr=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Se(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),ae(e))for(r=0,s=e.length;r0;)if(s=n[r],t===s.toLowerCase())return s;return null}const ne=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,un=e=>!Ee(e)&&e!==ne;function dt(){const{caseless:e}=un(this)&&this||{},t={},n=(r,s)=>{const o=e&&cn(t,s)||s;Pe(t[o])&&Pe(r)?t[o]=dt(t[o],r):Pe(r)?t[o]=dt({},r):ae(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r(Se(t,(s,o)=>{n&&j(s)?e[o]=on(s,n):e[o]=s},{allOwnKeys:r}),e),Vr=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Wr=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Kr=(e,t,n,r)=>{let s,o,a;const l={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)a=s[o],(!r||r(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&wt(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Gr=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Xr=e=>{if(!e)return null;if(ae(e))return e;let t=e.length;if(!ln(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Yr=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&wt(Uint8Array)),Qr=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},Zr=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},es=J("HTMLFormElement"),ts=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),qt=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ns=J("RegExp"),fn=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Se(n,(s,o)=>{let a;(a=t(s,o,e))!==!1&&(r[o]=a||s)}),Object.defineProperties(e,r)},rs=e=>{fn(e,(t,n)=>{if(j(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(j(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ss=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return ae(e)?r(e):r(String(e).split(t)),n},os=()=>{},as=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,lt="abcdefghijklmnopqrstuvwxyz",Ht="0123456789",dn={DIGIT:Ht,ALPHA:lt,ALPHA_DIGIT:lt+lt.toUpperCase()+Ht},is=(e=16,t=dn.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function ls(e){return!!(e&&j(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const cs=e=>{const t=new Array(10),n=(r,s)=>{if(qe(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=ae(r)?[]:{};return Se(r,(a,l)=>{const p=n(a,s+1);!Ee(p)&&(o[l]=p)}),t[s]=void 0,o}}return r};return n(e,0)},us=J("AsyncFunction"),fs=e=>e&&(qe(e)||j(e))&&j(e.then)&&j(e.catch),pn=((e,t)=>e?setImmediate:t?((n,r)=>(ne.addEventListener("message",({source:s,data:o})=>{s===ne&&o===n&&r.length&&r.shift()()},!1),s=>{r.push(s),ne.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",j(ne.postMessage)),ds=typeof queueMicrotask<"u"?queueMicrotask.bind(ne):typeof process<"u"&&process.nextTick||pn,i={isArray:ae,isArrayBuffer:an,isBuffer:Nr,isFormData:Ir,isArrayBufferView:Cr,isString:kr,isNumber:ln,isBoolean:Pr,isObject:qe,isPlainObject:Pe,isReadableStream:Hr,isRequest:jr,isResponse:Mr,isHeaders:$r,isUndefined:Ee,isDate:Lr,isFile:Br,isBlob:Fr,isRegExp:ns,isFunction:j,isStream:Ur,isURLSearchParams:qr,isTypedArray:Yr,isFileList:Dr,forEach:Se,merge:dt,extend:Jr,trim:zr,stripBOM:Vr,inherits:Wr,toFlatObject:Kr,kindOf:Ue,kindOfTest:J,endsWith:Gr,toArray:Xr,forEachEntry:Qr,matchAll:Zr,isHTMLForm:es,hasOwnProperty:qt,hasOwnProp:qt,reduceDescriptors:fn,freezeMethods:rs,toObjectSet:ss,toCamelCase:ts,noop:os,toFiniteNumber:as,findKey:cn,global:ne,isContextDefined:un,ALPHABET:dn,generateString:is,isSpecCompliantForm:ls,toJSONObject:cs,isAsyncFn:us,isThenable:fs,setImmediate:pn,asap:ds};function S(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}i.inherits(S,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:i.toJSONObject(this.config),code:this.code,status:this.status}}});const hn=S.prototype,mn={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{mn[e]={value:e}});Object.defineProperties(S,mn);Object.defineProperty(hn,"isAxiosError",{value:!0});S.from=(e,t,n,r,s,o)=>{const a=Object.create(hn);return i.toFlatObject(e,a,function(p){return p!==Error.prototype},l=>l!=="isAxiosError"),S.call(a,e.message,t,n,r,s),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const ps=null;function pt(e){return i.isPlainObject(e)||i.isArray(e)}function bn(e){return i.endsWith(e,"[]")?e.slice(0,-2):e}function jt(e,t,n){return e?e.concat(t).map(function(s,o){return s=bn(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function hs(e){return i.isArray(e)&&!e.some(pt)}const ms=i.toFlatObject(i,{},null,function(t){return/^is[A-Z]/.test(t)});function He(e,t,n){if(!i.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=i.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,m){return!i.isUndefined(m[v])});const r=n.metaTokens,s=n.visitor||f,o=n.dots,a=n.indexes,p=(n.Blob||typeof Blob<"u"&&Blob)&&i.isSpecCompliantForm(t);if(!i.isFunction(s))throw new TypeError("visitor must be a function");function c(u){if(u===null)return"";if(i.isDate(u))return u.toISOString();if(!p&&i.isBlob(u))throw new S("Blob is not supported. Use a Buffer instead.");return i.isArrayBuffer(u)||i.isTypedArray(u)?p&&typeof Blob=="function"?new Blob([u]):Buffer.from(u):u}function f(u,v,m){let R=u;if(u&&!m&&typeof u=="object"){if(i.endsWith(v,"{}"))v=r?v:v.slice(0,-2),u=JSON.stringify(u);else if(i.isArray(u)&&hs(u)||(i.isFileList(u)||i.endsWith(v,"[]"))&&(R=i.toArray(u)))return v=bn(v),R.forEach(function(w,_){!(i.isUndefined(w)||w===null)&&t.append(a===!0?jt([v],_,o):a===null?v:v+"[]",c(w))}),!1}return pt(u)?!0:(t.append(jt(m,v,o),c(u)),!1)}const h=[],b=Object.assign(ms,{defaultVisitor:f,convertValue:c,isVisitable:pt});function E(u,v){if(!i.isUndefined(u)){if(h.indexOf(u)!==-1)throw Error("Circular reference detected in "+v.join("."));h.push(u),i.forEach(u,function(R,y){(!(i.isUndefined(R)||R===null)&&s.call(t,R,i.isString(y)?y.trim():y,v,b))===!0&&E(R,v?v.concat(y):[y])}),h.pop()}}if(!i.isObject(e))throw new TypeError("data must be an object");return E(e),t}function Mt(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function _t(e,t){this._pairs=[],e&&He(e,this,t)}const yn=_t.prototype;yn.append=function(t,n){this._pairs.push([t,n])};yn.toString=function(t){const n=t?function(r){return t.call(this,r,Mt)}:Mt;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function bs(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function vn(e,t,n){if(!t)return e;const r=n&&n.encode||bs;i.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let o;if(s?o=s(t,n):o=i.isURLSearchParams(t)?t.toString():new _t(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class $t{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){i.forEach(this.handlers,function(r){r!==null&&t(r)})}}const gn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ys=typeof URLSearchParams<"u"?URLSearchParams:_t,vs=typeof FormData<"u"?FormData:null,gs=typeof Blob<"u"?Blob:null,ws={isBrowser:!0,classes:{URLSearchParams:ys,FormData:vs,Blob:gs},protocols:["http","https","file","blob","url","data"]},Et=typeof window<"u"&&typeof document<"u",ht=typeof navigator=="object"&&navigator||void 0,_s=Et&&(!ht||["ReactNative","NativeScript","NS"].indexOf(ht.product)<0),Es=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ss=Et&&window.location.href||"http://localhost",Rs=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Et,hasStandardBrowserEnv:_s,hasStandardBrowserWebWorkerEnv:Es,navigator:ht,origin:Ss},Symbol.toStringTag,{value:"Module"})),D={...Rs,...ws};function Os(e,t){return He(e,new D.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return D.isNode&&i.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Ts(e){return i.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function As(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r=n.length;return a=!a&&i.isArray(s)?s.length:a,p?(i.hasOwnProp(s,a)?s[a]=[s[a],r]:s[a]=r,!l):((!s[a]||!i.isObject(s[a]))&&(s[a]=[]),t(n,r,s[a],o)&&i.isArray(s[a])&&(s[a]=As(s[a])),!l)}if(i.isFormData(e)&&i.isFunction(e.entries)){const n={};return i.forEachEntry(e,(r,s)=>{t(Ts(r),s,n,0)}),n}return null}function xs(e,t,n){if(i.isString(e))try{return(t||JSON.parse)(e),i.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Re={transitional:gn,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=i.isObject(t);if(o&&i.isHTMLForm(t)&&(t=new FormData(t)),i.isFormData(t))return s?JSON.stringify(wn(t)):t;if(i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)||i.isReadableStream(t))return t;if(i.isArrayBufferView(t))return t.buffer;if(i.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Os(t,this.formSerializer).toString();if((l=i.isFileList(t))||r.indexOf("multipart/form-data")>-1){const p=this.env&&this.env.FormData;return He(l?{"files[]":t}:t,p&&new p,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),xs(t)):t}],transformResponse:[function(t){const n=this.transitional||Re.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(i.isResponse(t)||i.isReadableStream(t))return t;if(t&&i.isString(t)&&(r&&!this.responseType||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?S.from(l,S.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:D.classes.FormData,Blob:D.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};i.forEach(["delete","get","head","post","put","patch"],e=>{Re.headers[e]={}});const Ns=i.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Cs=e=>{const t={};let n,r,s;return e&&e.split(` -`).forEach(function(a){s=a.indexOf(":"),n=a.substring(0,s).trim().toLowerCase(),r=a.substring(s+1).trim(),!(!n||t[n]&&Ns[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},zt=Symbol("internals");function we(e){return e&&String(e).trim().toLowerCase()}function Le(e){return e===!1||e==null?e:i.isArray(e)?e.map(Le):String(e)}function ks(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Ps=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ct(e,t,n,r,s){if(i.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!i.isString(t)){if(i.isString(r))return t.indexOf(r)!==-1;if(i.isRegExp(r))return r.test(t)}}function Ls(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Bs(e,t){const n=i.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,a){return this[r].call(this,t,s,o,a)},configurable:!0})})}let U=class{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(l,p,c){const f=we(p);if(!f)throw new Error("header name must be a non-empty string");const h=i.findKey(s,f);(!h||s[h]===void 0||c===!0||c===void 0&&s[h]!==!1)&&(s[h||p]=Le(l))}const a=(l,p)=>i.forEach(l,(c,f)=>o(c,f,p));if(i.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(i.isString(t)&&(t=t.trim())&&!Ps(t))a(Cs(t),n);else if(i.isHeaders(t))for(const[l,p]of t.entries())o(p,l,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=we(t),t){const r=i.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return ks(s);if(i.isFunction(n))return n.call(this,s,r);if(i.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=we(t),t){const r=i.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ct(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(a){if(a=we(a),a){const l=i.findKey(r,a);l&&(!n||ct(r,r[l],l,n))&&(delete r[l],s=!0)}}return i.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||ct(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return i.forEach(this,(s,o)=>{const a=i.findKey(r,o);if(a){n[a]=Le(s),delete n[o];return}const l=t?Ls(o):String(o).trim();l!==o&&delete n[o],n[l]=Le(s),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return i.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&i.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[zt]=this[zt]={accessors:{}}).accessors,s=this.prototype;function o(a){const l=we(a);r[l]||(Bs(s,a),r[l]=!0)}return i.isArray(t)?t.forEach(o):o(t),this}};U.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);i.reduceDescriptors(U.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});i.freezeMethods(U);function ut(e,t){const n=this||Re,r=t||n,s=U.from(r.headers);let o=r.data;return i.forEach(e,function(l){o=l.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function _n(e){return!!(e&&e.__CANCEL__)}function ie(e,t,n){S.call(this,e??"canceled",S.ERR_CANCELED,t,n),this.name="CanceledError"}i.inherits(ie,S,{__CANCEL__:!0});function En(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new S("Request failed with status code "+n.status,[S.ERR_BAD_REQUEST,S.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Fs(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Ds(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,a;return t=t!==void 0?t:1e3,function(p){const c=Date.now(),f=r[o];a||(a=c),n[s]=p,r[s]=c;let h=o,b=0;for(;h!==s;)b+=n[h++],h=h%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-a{n=f,s=null,o&&(clearTimeout(o),o=null),e.apply(null,c)};return[(...c)=>{const f=Date.now(),h=f-n;h>=r?a(c,f):(s=c,o||(o=setTimeout(()=>{o=null,a(s)},r-h)))},()=>s&&a(s)]}const Fe=(e,t,n=3)=>{let r=0;const s=Ds(50,250);return Us(o=>{const a=o.loaded,l=o.lengthComputable?o.total:void 0,p=a-r,c=s(p),f=a<=l;r=a;const h={loaded:a,total:l,progress:l?a/l:void 0,bytes:p,rate:c||void 0,estimated:c&&l&&f?(l-a)/c:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(h)},n)},Jt=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Vt=e=>(...t)=>i.asap(()=>e(...t)),Is=D.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,D.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(D.origin),D.navigator&&/(msie|trident)/i.test(D.navigator.userAgent)):()=>!0,qs=D.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const a=[e+"="+encodeURIComponent(t)];i.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),i.isString(r)&&a.push("path="+r),i.isString(s)&&a.push("domain="+s),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Hs(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function js(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Sn(e,t){return e&&!Hs(t)?js(e,t):t}const Wt=e=>e instanceof U?{...e}:e;function se(e,t){t=t||{};const n={};function r(c,f,h,b){return i.isPlainObject(c)&&i.isPlainObject(f)?i.merge.call({caseless:b},c,f):i.isPlainObject(f)?i.merge({},f):i.isArray(f)?f.slice():f}function s(c,f,h,b){if(i.isUndefined(f)){if(!i.isUndefined(c))return r(void 0,c,h,b)}else return r(c,f,h,b)}function o(c,f){if(!i.isUndefined(f))return r(void 0,f)}function a(c,f){if(i.isUndefined(f)){if(!i.isUndefined(c))return r(void 0,c)}else return r(void 0,f)}function l(c,f,h){if(h in t)return r(c,f);if(h in e)return r(void 0,c)}const p={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(c,f,h)=>s(Wt(c),Wt(f),h,!0)};return i.forEach(Object.keys(Object.assign({},e,t)),function(f){const h=p[f]||s,b=h(e[f],t[f],f);i.isUndefined(b)&&h!==l||(n[f]=b)}),n}const Rn=e=>{const t=se({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:o,headers:a,auth:l}=t;t.headers=a=U.from(a),t.url=vn(Sn(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let p;if(i.isFormData(n)){if(D.hasStandardBrowserEnv||D.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((p=a.getContentType())!==!1){const[c,...f]=p?p.split(";").map(h=>h.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...f].join("; "))}}if(D.hasStandardBrowserEnv&&(r&&i.isFunction(r)&&(r=r(t)),r||r!==!1&&Is(t.url))){const c=s&&o&&qs.read(o);c&&a.set(s,c)}return t},Ms=typeof XMLHttpRequest<"u",$s=Ms&&function(e){return new Promise(function(n,r){const s=Rn(e);let o=s.data;const a=U.from(s.headers).normalize();let{responseType:l,onUploadProgress:p,onDownloadProgress:c}=s,f,h,b,E,u;function v(){E&&E(),u&&u(),s.cancelToken&&s.cancelToken.unsubscribe(f),s.signal&&s.signal.removeEventListener("abort",f)}let m=new XMLHttpRequest;m.open(s.method.toUpperCase(),s.url,!0),m.timeout=s.timeout;function R(){if(!m)return;const w=U.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),g={data:!l||l==="text"||l==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:w,config:e,request:m};En(function(P){n(P),v()},function(P){r(P),v()},g),m=null}"onloadend"in m?m.onloadend=R:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(R)},m.onabort=function(){m&&(r(new S("Request aborted",S.ECONNABORTED,e,m)),m=null)},m.onerror=function(){r(new S("Network Error",S.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let _=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const g=s.transitional||gn;s.timeoutErrorMessage&&(_=s.timeoutErrorMessage),r(new S(_,g.clarifyTimeoutError?S.ETIMEDOUT:S.ECONNABORTED,e,m)),m=null},o===void 0&&a.setContentType(null),"setRequestHeader"in m&&i.forEach(a.toJSON(),function(_,g){m.setRequestHeader(g,_)}),i.isUndefined(s.withCredentials)||(m.withCredentials=!!s.withCredentials),l&&l!=="json"&&(m.responseType=s.responseType),c&&([b,u]=Fe(c,!0),m.addEventListener("progress",b)),p&&m.upload&&([h,E]=Fe(p),m.upload.addEventListener("progress",h),m.upload.addEventListener("loadend",E)),(s.cancelToken||s.signal)&&(f=w=>{m&&(r(!w||w.type?new ie(null,e,m):w),m.abort(),m=null)},s.cancelToken&&s.cancelToken.subscribe(f),s.signal&&(s.signal.aborted?f():s.signal.addEventListener("abort",f)));const y=Fs(s.url);if(y&&D.protocols.indexOf(y)===-1){r(new S("Unsupported protocol "+y+":",S.ERR_BAD_REQUEST,e));return}m.send(o||null)})},zs=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,s;const o=function(c){if(!s){s=!0,l();const f=c instanceof Error?c:this.reason;r.abort(f instanceof S?f:new ie(f instanceof Error?f.message:f))}};let a=t&&setTimeout(()=>{a=null,o(new S(`timeout ${t} of ms exceeded`,S.ETIMEDOUT))},t);const l=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(o):c.removeEventListener("abort",o)}),e=null)};e.forEach(c=>c.addEventListener("abort",o));const{signal:p}=r;return p.unsubscribe=()=>i.asap(l),p}},Js=function*(e,t){let n=e.byteLength;if(n{const s=Vs(e,t);let o=0,a,l=p=>{a||(a=!0,r&&r(p))};return new ReadableStream({async pull(p){try{const{done:c,value:f}=await s.next();if(c){l(),p.close();return}let h=f.byteLength;if(n){let b=o+=h;n(b)}p.enqueue(new Uint8Array(f))}catch(c){throw l(c),c}},cancel(p){return l(p),s.return()}},{highWaterMark:2})},je=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",On=je&&typeof ReadableStream=="function",Ks=je&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Tn=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Gs=On&&Tn(()=>{let e=!1;const t=new Request(D.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Gt=64*1024,mt=On&&Tn(()=>i.isReadableStream(new Response("").body)),De={stream:mt&&(e=>e.body)};je&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!De[t]&&(De[t]=i.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new S(`Response type '${t}' is not supported`,S.ERR_NOT_SUPPORT,r)})})})(new Response);const Xs=async e=>{if(e==null)return 0;if(i.isBlob(e))return e.size;if(i.isSpecCompliantForm(e))return(await new Request(D.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(i.isArrayBufferView(e)||i.isArrayBuffer(e))return e.byteLength;if(i.isURLSearchParams(e)&&(e=e+""),i.isString(e))return(await Ks(e)).byteLength},Ys=async(e,t)=>{const n=i.toFiniteNumber(e.getContentLength());return n??Xs(t)},Qs=je&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:o,timeout:a,onDownloadProgress:l,onUploadProgress:p,responseType:c,headers:f,withCredentials:h="same-origin",fetchOptions:b}=Rn(e);c=c?(c+"").toLowerCase():"text";let E=zs([s,o&&o.toAbortSignal()],a),u;const v=E&&E.unsubscribe&&(()=>{E.unsubscribe()});let m;try{if(p&&Gs&&n!=="get"&&n!=="head"&&(m=await Ys(f,r))!==0){let g=new Request(t,{method:"POST",body:r,duplex:"half"}),I;if(i.isFormData(r)&&(I=g.headers.get("content-type"))&&f.setContentType(I),g.body){const[P,L]=Jt(m,Fe(Vt(p)));r=Kt(g.body,Gt,P,L)}}i.isString(h)||(h=h?"include":"omit");const R="credentials"in Request.prototype;u=new Request(t,{...b,signal:E,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",credentials:R?h:void 0});let y=await fetch(u);const w=mt&&(c==="stream"||c==="response");if(mt&&(l||w&&v)){const g={};["status","statusText","headers"].forEach(X=>{g[X]=y[X]});const I=i.toFiniteNumber(y.headers.get("content-length")),[P,L]=l&&Jt(I,Fe(Vt(l),!0))||[];y=new Response(Kt(y.body,Gt,P,()=>{L&&L(),v&&v()}),g)}c=c||"text";let _=await De[i.findKey(De,c)||"text"](y,e);return!w&&v&&v(),await new Promise((g,I)=>{En(g,I,{data:_,headers:U.from(y.headers),status:y.status,statusText:y.statusText,config:e,request:u})})}catch(R){throw v&&v(),R&&R.name==="TypeError"&&/fetch/i.test(R.message)?Object.assign(new S("Network Error",S.ERR_NETWORK,e,u),{cause:R.cause||R}):S.from(R,R&&R.code,e,u)}}),bt={http:ps,xhr:$s,fetch:Qs};i.forEach(bt,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Xt=e=>`- ${e}`,Zs=e=>i.isFunction(e)||e===null||e===!1,An={getAdapter:e=>{e=i.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o`adapter ${l} `+(p===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since : -`+o.map(Xt).join(` -`):" "+Xt(o[0]):"as no adapter specified";throw new S("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:bt};function ft(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ie(null,e)}function Yt(e){return ft(e),e.headers=U.from(e.headers),e.data=ut.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),An.getAdapter(e.adapter||Re.adapter)(e).then(function(r){return ft(e),r.data=ut.call(e,e.transformResponse,r),r.headers=U.from(r.headers),r},function(r){return _n(r)||(ft(e),r&&r.response&&(r.response.data=ut.call(e,e.transformResponse,r.response),r.response.headers=U.from(r.response.headers))),Promise.reject(r)})}const xn="1.7.9",Me={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Me[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Qt={};Me.transitional=function(t,n,r){function s(o,a){return"[Axios v"+xn+"] Transitional option '"+o+"'"+a+(r?". "+r:"")}return(o,a,l)=>{if(t===!1)throw new S(s(a," has been removed"+(n?" in "+n:"")),S.ERR_DEPRECATED);return n&&!Qt[a]&&(Qt[a]=!0,console.warn(s(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,l):!0}};Me.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function eo(e,t,n){if(typeof e!="object")throw new S("options must be an object",S.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],a=t[o];if(a){const l=e[o],p=l===void 0||a(l,o,e);if(p!==!0)throw new S("option "+o+" must be "+p,S.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new S("Unknown option "+o,S.ERR_BAD_OPTION)}}const Be={assertOptions:eo,validators:Me},W=Be.validators;let re=class{constructor(t){this.defaults=t,this.interceptors={request:new $t,response:new $t}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=` -`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=se(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&Be.assertOptions(r,{silentJSONParsing:W.transitional(W.boolean),forcedJSONParsing:W.transitional(W.boolean),clarifyTimeoutError:W.transitional(W.boolean)},!1),s!=null&&(i.isFunction(s)?n.paramsSerializer={serialize:s}:Be.assertOptions(s,{encode:W.function,serialize:W.function},!0)),Be.assertOptions(n,{baseUrl:W.spelling("baseURL"),withXsrfToken:W.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&i.merge(o.common,o[n.method]);o&&i.forEach(["delete","get","head","post","put","patch","common"],u=>{delete o[u]}),n.headers=U.concat(a,o);const l=[];let p=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(p=p&&v.synchronous,l.unshift(v.fulfilled,v.rejected))});const c=[];this.interceptors.response.forEach(function(v){c.push(v.fulfilled,v.rejected)});let f,h=0,b;if(!p){const u=[Yt.bind(this),void 0];for(u.unshift.apply(u,l),u.push.apply(u,c),b=u.length,f=Promise.resolve(n);h{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const a=new Promise(l=>{r.subscribe(l),o=l}).then(s);return a.cancel=function(){r.unsubscribe(o)},a},t(function(o,a,l){r.reason||(r.reason=new ie(o,a,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Nn(function(s){t=s}),cancel:t}}};function no(e){return function(n){return e.apply(null,n)}}function ro(e){return i.isObject(e)&&e.isAxiosError===!0}const yt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(yt).forEach(([e,t])=>{yt[t]=e});function Cn(e){const t=new re(e),n=on(re.prototype.request,t);return i.extend(n,re.prototype,t,{allOwnKeys:!0}),i.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Cn(se(e,s))},n}const C=Cn(Re);C.Axios=re;C.CanceledError=ie;C.CancelToken=to;C.isCancel=_n;C.VERSION=xn;C.toFormData=He;C.AxiosError=S;C.Cancel=C.CanceledError;C.all=function(t){return Promise.all(t)};C.spread=no;C.isAxiosError=ro;C.mergeConfig=se;C.AxiosHeaders=U;C.formToJSON=e=>wn(i.isHTMLForm(e)?new FormData(e):e);C.getAdapter=An.getAdapter;C.HttpStatusCode=yt;C.default=C;const{Axios:_o,AxiosError:Eo,CanceledError:So,isCancel:Ro,CancelToken:Oo,VERSION:To,all:Ao,Cancel:xo,isAxiosError:No,spread:Co,toFormData:ko,AxiosHeaders:Po,HttpStatusCode:Lo,formToJSON:Bo,getAdapter:Fo,mergeConfig:Do}=C;var so=ee(`

Rules: Nudge and rotate each block you are given - into position. Each square on a block you place is - worth 100pts. Your blocks cannot overlap and - placement will be prevented. The dark grey squares - multiply squares placed on them by 3x. Blocks may - have a unique square which also has a 3x multiplier. - These multipliers can stack to score higher! Click

`),oo=ee('
Touch Here to See Rules
'),ao=ee(`

Welcome! QueueB is a daily spacial puzzle game. Each day you - will recieve a unique queue of blocks and you must decide - where to place them to maximize your score. Future Updates - will add a scoreboard, additional unique blocks, and more!

Your Username

Created By Paradis Bend Studio

`),io=ee("
"),lo=ee('
'),co=ee('
'),uo=ee('

Thanks For Playing!

',1),fo=ee('

');function Uo(e,t){pr(t,!1);let n=q("PLACEHOLDER"),r=q(!1),s=q(!1),o=q(),a=q(!1),l=q(0),p=q(!1),c=q(!1),f=[3,3,3,3,3,3,3,3,3,3,3,3,3,3],h=[3,1,1,1,1,1,1,1,1,1,1,1,1,3],b=[3,1,1,1,1,3,3,3,3,1,1,1,1,3],E=[[...f],[...h],[...h],[...h],[...h],[...b],[...b],[...b],[...b],[...h],[...h],[...h],[...h],[...f]],u=q([...E]),v=[...d(u)],m=[[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],R=[[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],y=q([7,7]),w=q(0),_=q([R,R,R,R]),g=q(0),I=["255,255,0","255,0,255","0,255,255","255,0,0","0,0,255","255,0,255","0,255,0","255,191,0","128,255,0","0,128,255","0,255,128","0,255,64","191,0,255","0,255,192","255,128,128","128,0,255","255,128,0","128,255,255"],P=vr(t,"daily",24,()=>Array.from({length:25},(O,T)=>T));function L(O){let T=[];for(let x=0;x<4;x++)for(let N=3;N>=0;N--)T.push(O[N*4+x]);return T}function X(O){let T=[O],x=L(O);T.push(x);let N=L(x);T.push(N);let M=L(N);return T.push(M),T}async function le(){await C.get("/api/blocks").then(x=>{m=x.data}).catch(x=>{x.code!="ERR_INVALID_URL"&&console.error("Error fetching data:",x)});let O=localStorage.getItem("gameState"),T=O?JSON.parse(O):{daily:Array.from({length:25},(x,N)=>N)};T.daily.join("")==P().join("")&&(A(u,T.cube||d(u)),A(w,T.current||0),A(c,T.gameOver||!1),d(c)&&A(l,T.score||0)),A(_,X(m[d(w)]))}let te=O=>{let T=I[O%100],x=1-O/1400,N="background-color: rgba(255, 255, 255, .9)";return O==3&&(N="background-color: rgba(255, 255, 255, .5)"),O>99&&(N=`background-color: rgba(${T}, ${x})`),N},ce=O=>{A(n,O),localStorage.setItem("username",d(n)),A(s,!0)},Oe=O=>{oe(y,d(y)[0]=d(y)[0]+O),d(y)[0]>10&&oe(y,d(y)[0]=10),d(y)[0]<0&&oe(y,d(y)[0]=0)},ue=O=>{oe(y,d(y)[1]=d(y)[1]+O),d(y)[1]>10&&oe(y,d(y)[1]=10),d(y)[1]<0&&oe(y,d(y)[1]=0)},fe=O=>{A(g,d(g)+O),d(g)<0&&A(g,3),d(g)>3&&A(g,0)},Te=O=>{let T=!0,x=[];d(a)?A(a,!1):(x=d(u).map(N=>[...N]),d(_)[d(g)].forEach((N,M)=>{let Y=0,Q=0;[4,5,6,7].includes(M)&&(Y=1),[1,5,9,13].includes(M)&&(Q=1),[8,9,10,11].includes(M)&&(Y=2),[2,6,10,14].includes(M)&&(Q=2),[12,13,14,15].includes(M)&&(Y=3),[3,7,11,15].includes(M)&&(Q=3);let K=d(y)[0]+Y,z=d(y)[1]+Q;N!=0&&(d(u)[K][z]>9&&(T=!1),x[K][z]=x[K][z]*N*100+d(w))}),T?(v=x,A(a,!0)):A(a,!1))},Ae=O=>{A(a,!1),A(u,[]),A(u,[...v]),A(y,[7,7]),mr(w),A(_,X(m[d(w)]));let T={cube:d(u),current:d(w),gameOver:d(c),daily:P(),score:d(l)};localStorage.setItem("gameState",JSON.stringify(T))},xe=()=>{A(a,!0),A(c,!0);let O=d(u).flat().reduce((x,N)=>x+N,0);A(l,O);let T={cube:d(u),current:d(w),gameOver:d(c),daily:P(),score:d(l)};localStorage.setItem("gameState",JSON.stringify(T))},kn=()=>{A(u,E),A(w,0),A(c,!1),A(l,0);let O={cube:d(u),current:d(w),gameOver:d(c),daily:P(),score:d(l)};localStorage.setItem("gameState",JSON.stringify(O))};gr(()=>{A(n,localStorage.getItem("username")||""),d(n).length>2&&A(o,d(n)),le()}),Mn();var $e=fo(),St=F($e);{var Pn=O=>{var T=ao(),x=F(T),N=B(F(x),4),M=F(N);{var Y=V=>{var he=so();G(V,he)},Q=V=>{var he=oo();G(V,he)};ge(M,V=>{d(r)?V(Y):V(Q,!1)})}k(N);var K=B(N,4);Sr(K);var z=B(K,2);rt(2),k(x),k(T),ve(()=>z.disabled=d(o)==null||d(o).length<3),H("click",N,()=>A(r,!d(r))),Ar(K,()=>d(o),V=>A(o,V)),H("click",z,()=>ce(d(o))),G(O,T)};ge(St,O=>{d(s)||O(Pn)})}var ze=B(St,2),Ln=F(ze);k(ze);var Ne=B(ze,2);ot(Ne,5,()=>d(u),st,(O,T,x)=>{var N=jn(),M=Dt(N);ot(M,1,()=>d(T),st,(Y,Q,K)=>{var z=co(),V=F(z);{var he=me=>{var Ze=lo();ot(Ze,5,()=>d(_)[d(g)],st,(In,Ce)=>{var be=io(),qn=F(be);{var Hn=kt=>{};ge(qn,kt=>{d(Ce)==2&&kt(Hn)})}k(be),ve(()=>{Or(be,`${(d(Ce)>0?"blocks":"noblocks")??""} ${(d(Ce)==3?"b2":null)??""} svelte-91m5ac`),_e(be,"style",d(Ce)>0?`background-color: rgba(${I[d(w)]}, 0.7)`:"")}),G(In,be)}),k(Ze),G(me,Ze)};ge(V,me=>{d(y)[0]==x&&d(y)[1]==K&&!d(p)&&d(s)&&me(he)})}k(z),ve(me=>_e(z,"style",me),[()=>te(d(Q))],Zt),G(Y,z)}),G(O,N)}),k(Ne);var Rt=B(Ne,2);{var Bn=O=>{var T=uo(),x=Dt(T),N=F(x);k(x),rt(2),ve(()=>ke(N,`Score: ${d(l)??""}`)),G(O,T)};ge(Rt,O=>{d(c)&&O(Bn)})}var Ot=B(Rt,2),Je=F(Ot),Ve=F(Je),We=B(Ve,2),Tt=B(We,2);k(Je);var Ke=B(Je,2),Ge=F(Ke),Xe=B(Ge,2),At=B(Xe,2);k(Ke);var Ye=B(Ke,2),de=F(Ye),Fn=F(de,!0);k(de);var xt=B(de,2);k(Ye);var Qe=B(Ye,2),pe=F(Qe),Dn=F(pe);k(pe);var Nt=B(pe,2);k(Qe);var Ct=B(Qe,2),Un=F(Ct);k(Ct),k(Ot),rt(2),k($e),ve(()=>{ke(Ln,`Welcome ${d(n)??""}`),_e(Ne,"style",`--col-count: ${d(u)[0].length??""}`),Ve.disabled=d(a),We.disabled=d(a),Tt.disabled=d(a),Ge.disabled=d(a),Xe.disabled=d(a),At.disabled=d(a),de.disabled=d(c),ke(Fn,d(a)?"Pick Up":"Place"),xt.disabled=!d(a)||d(c),pe.disabled=d(c),ke(Dn,`Queueb out: ${d(w)??""}`),Nt.disabled=!d(p)||d(c)}),H("click",Ve,()=>fe(-1)),H("click",We,()=>Oe(-1)),H("click",Tt,()=>fe(1)),H("click",Ge,()=>ue(-1)),H("click",Xe,()=>Oe(1)),H("click",At,()=>ue(1)),H("click",de,()=>Te()),H("click",xt,()=>Ae()),H("click",pe,()=>A(p,!d(p))),H("click",Nt,xe),H("click",Un,kn),G(e,$e),hr()}export{Uo as component}; diff --git a/queuebServer/dist/_app/version.json b/queuebServer/dist/_app/version.json index 252272c..17a2557 100644 --- a/queuebServer/dist/_app/version.json +++ b/queuebServer/dist/_app/version.json @@ -1 +1 @@ -{"version":"1743306921539"} \ No newline at end of file +{"version":"1744080355273"} \ No newline at end of file diff --git a/queuebServer/dist/index.html b/queuebServer/dist/index.html index 2a3a274..a1ce12c 100644 --- a/queuebServer/dist/index.html +++ b/queuebServer/dist/index.html @@ -8,28 +8,28 @@ Queueb! - - - - - - - - + + + + + + + +