diff options
author | jakobst1n <undefined> | 2022-05-02 23:07:42 +0200 |
---|---|---|
committer | jakobst1n <undefined> | 2022-05-02 23:07:42 +0200 |
commit | dc6f9f735a8d8fb5d68f35686b96174af3653d85 (patch) | |
tree | 329c5c201bf907e5f79a14e250ef2ba534a8e872 /client/client.c340c0cb.js | |
parent | a5ea1c2dfa550be03f7ce5e5a86467a3ddbe8d90 (diff) | |
download | Aurora-data-dc6f9f735a8d8fb5d68f35686b96174af3653d85.tar.gz Aurora-data-dc6f9f735a8d8fb5d68f35686b96174af3653d85.zip |
Updates
Diffstat (limited to 'client/client.c340c0cb.js')
-rw-r--r-- | client/client.c340c0cb.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/client/client.c340c0cb.js b/client/client.c340c0cb.js new file mode 100644 index 0000000..205ede9 --- /dev/null +++ b/client/client.c340c0cb.js @@ -0,0 +1,18 @@ +function t(){}function e(t,e){for(const n in e)t[n]=e[n];return t}function n(t){return t()}function r(){return Object.create(null)}function o(t){t.forEach(n)}function s(t){return"function"==typeof t}function i(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function c(e,...n){if(null==e)return t;const r=e.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function a(t){let e;return c(t,(t=>e=t))(),e}function l(t,e,n){t.$$.on_destroy.push(c(e,n))}function u(t,e,n,r){if(t){const o=f(t,e,n,r);return t[0](o)}}function f(t,n,r,o){return t[1]&&o?e(r.ctx.slice(),t[1](o(n))):r.ctx}function d(t,e,n,r){if(t[2]&&r){const o=t[2](r(n));if(void 0===e.dirty)return o;if("object"==typeof o){const t=[],n=Math.max(e.dirty.length,o.length);for(let r=0;r<n;r+=1)t[r]=e.dirty[r]|o[r];return t}return e.dirty|o}return e.dirty}function p(t,e,n,r,o,s){if(o){const i=f(e,n,r,s);t.p(i,o)}}function h(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let t=0;t<n;t++)e[t]=-1;return e}return-1}let m,g=!1;function $(t,e,n,r){for(;t<e;){const o=t+(e-t>>1);n(o)<=r?t=o+1:e=o}return t}function y(t,e){if(g){for(!function(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if("HEAD"===t.nodeName){const t=[];for(let n=0;n<e.length;n++){const r=e[n];void 0!==r.claim_order&&t.push(r)}e=t}const n=new Int32Array(e.length+1),r=new Int32Array(e.length);n[0]=-1;let o=0;for(let t=0;t<e.length;t++){const s=e[t].claim_order,i=(o>0&&e[n[o]].claim_order<=s?o+1:$(1,o,(t=>e[n[t]].claim_order),s))-1;r[t]=n[i]+1;const c=i+1;n[c]=t,o=Math.max(c,o)}const s=[],i=[];let c=e.length-1;for(let t=n[o]+1;0!=t;t=r[t-1]){for(s.push(e[t-1]);c>=t;c--)i.push(e[c]);c--}for(;c>=0;c--)i.push(e[c]);s.reverse(),i.sort(((t,e)=>t.claim_order-e.claim_order));for(let e=0,n=0;e<i.length;e++){for(;n<s.length&&i[e].claim_order>=s[n].claim_order;)n++;const r=n<s.length?s[n]:null;t.insertBefore(i[e],r)}}(t),(void 0===t.actual_end_child||null!==t.actual_end_child&&t.actual_end_child.parentElement!==t)&&(t.actual_end_child=t.firstChild);null!==t.actual_end_child&&void 0===t.actual_end_child.claim_order;)t.actual_end_child=t.actual_end_child.nextSibling;e!==t.actual_end_child?void 0===e.claim_order&&e.parentNode===t||t.insertBefore(e,t.actual_end_child):t.actual_end_child=e.nextSibling}else e.parentNode===t&&null===e.nextSibling||t.appendChild(e)}function _(t,e,n){g&&!n?y(t,e):e.parentNode===t&&e.nextSibling==n||t.insertBefore(e,n||null)}function v(t){t.parentNode.removeChild(t)}function b(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function x(t){return document.createElement(t)}function E(t){return document.createTextNode(t)}function S(){return E(" ")}function w(){return E("")}function N(t,e,n,r){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n,r)}function A(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function R(t){return Array.from(t.childNodes)}function P(t,e,n,r,o=!1){!function(t){void 0===t.claim_info&&(t.claim_info={last_index:0,total_claimed:0})}(t);const s=(()=>{for(let r=t.claim_info.last_index;r<t.length;r++){const s=t[r];if(e(s)){const e=n(s);return void 0===e?t.splice(r,1):t[r]=e,o||(t.claim_info.last_index=r),s}}for(let r=t.claim_info.last_index-1;r>=0;r--){const s=t[r];if(e(s)){const e=n(s);return void 0===e?t.splice(r,1):t[r]=e,o?void 0===e&&t.claim_info.last_index--:t.claim_info.last_index=r,s}}return r()})();return s.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,s}function L(t,e,n){return function(t,e,n,r){return P(t,(t=>t.nodeName===e),(t=>{const e=[];for(let r=0;r<t.attributes.length;r++){const o=t.attributes[r];n[o.name]||e.push(o.name)}e.forEach((e=>t.removeAttribute(e)))}),(()=>r(e)))}(t,e,n,x)}function k(t,e){return P(t,(t=>3===t.nodeType),(t=>{const n=""+e;if(t.data.startsWith(n)){if(t.data.length!==n.length)return t.splitText(n.length)}else t.data=n}),(()=>E(e)),!0)}function j(t){return k(t," ")}function q(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function C(t,e,n,r){null===n?t.style.removeProperty(e):t.style.setProperty(e,n,r?"important":"")}function O(t,e,n){t.classList[n?"add":"remove"](e)}function T(t,e=document.body){return Array.from(e.querySelectorAll(t))}function U(t){m=t}function I(){if(!m)throw new Error("Function called outside component initialization");return m}const B=[],J=[],D=[],K=[],z=Promise.resolve();let H=!1;function M(t){D.push(t)}const V=new Set;let F=0;function G(){const t=m;do{for(;F<B.length;){const t=B[F];F++,U(t),W(t.$$)}for(U(null),B.length=0,F=0;J.length;)J.pop()();for(let t=0;t<D.length;t+=1){const e=D[t];V.has(e)||(V.add(e),e())}D.length=0}while(B.length);for(;K.length;)K.pop()();H=!1,V.clear(),U(t)}function W(t){if(null!==t.fragment){t.update(),o(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(M)}}const Y=new Set;let X;function Q(){X={r:0,c:[],p:X}}function Z(){X.r||o(X.c),X=X.p}function tt(t,e){t&&t.i&&(Y.delete(t),t.i(e))}function et(t,e,n,r){if(t&&t.o){if(Y.has(t))return;Y.add(t),X.c.push((()=>{Y.delete(t),r&&(n&&t.d(1),r())})),t.o(e)}}function nt(t,e){const n={},r={},o={$$scope:1};let s=t.length;for(;s--;){const i=t[s],c=e[s];if(c){for(const t in i)t in c||(r[t]=1);for(const t in c)o[t]||(n[t]=c[t],o[t]=1);t[s]=c}else for(const t in i)o[t]=1}for(const t in r)t in n||(n[t]=void 0);return n}function rt(t){return"object"==typeof t&&null!==t?t:{}}function ot(t){t&&t.c()}function st(t,e){t&&t.l(e)}function it(t,e,r,i){const{fragment:c,on_mount:a,on_destroy:l,after_update:u}=t.$$;c&&c.m(e,r),i||M((()=>{const e=a.map(n).filter(s);l?l.push(...e):o(e),t.$$.on_mount=[]})),u.forEach(M)}function ct(t,e){const n=t.$$;null!==n.fragment&&(o(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function at(t,e){-1===t.$$.dirty[0]&&(B.push(t),H||(H=!0,z.then(G)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function lt(e,n,s,i,c,a,l,u=[-1]){const f=m;U(e);const d=e.$$={fragment:null,ctx:null,props:a,update:t,not_equal:c,bound:r(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(f?f.$$.context:[])),callbacks:r(),dirty:u,skip_bound:!1,root:n.target||f.$$.root};l&&l(d.root);let p=!1;if(d.ctx=s?s(e,n.props||{},((t,n,...r)=>{const o=r.length?r[0]:n;return d.ctx&&c(d.ctx[t],d.ctx[t]=o)&&(!d.skip_bound&&d.bound[t]&&d.bound[t](o),p&&at(e,t)),n})):[],d.update(),p=!0,o(d.before_update),d.fragment=!!i&&i(d.ctx),n.target){if(n.hydrate){g=!0;const t=R(n.target);d.fragment&&d.fragment.l(t),t.forEach(v)}else d.fragment&&d.fragment.c();n.intro&&tt(e.$$.fragment),it(e,n.target,n.anchor,n.customElement),g=!1,G()}U(f)}class ut{$destroy(){ct(this,1),this.$destroy=t}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ft=[];function dt(e,n=t){let r;const o=new Set;function s(t){if(i(e,t)&&(e=t,r)){const t=!ft.length;for(const t of o)t[1](),ft.push(t,e);if(t){for(let t=0;t<ft.length;t+=2)ft[t][0](ft[t+1]);ft.length=0}}}return{set:s,update:function(t){s(t(e))},subscribe:function(i,c=t){const a=[i,c];return o.add(a),1===o.size&&(r=n(s)||t),i(e),()=>{o.delete(a),0===o.size&&(r(),r=null)}}}}const pt={};function ht(t){let e,n;const r=t[1].default,o=u(r,t,t[0],null);return{c(){e=x("div"),o&&o.c(),this.h()},l(t){e=L(t,"DIV",{class:!0});var n=R(e);o&&o.l(n),n.forEach(v),this.h()},h(){A(e,"class","app-container svelte-lkkhqy")},m(t,r){_(t,e,r),o&&o.m(e,null),n=!0},p(t,[e]){o&&o.p&&(!n||1&e)&&p(o,r,t,t[0],n?d(r,t[0],e,null):h(t[0]),null)},i(t){n||(tt(o,t),n=!0)},o(t){et(o,t),n=!1},d(t){t&&v(e),o&&o.d(t)}}}function mt(t,e,n){let{$$slots:r={},$$scope:o}=e;return t.$$set=t=>{"$$scope"in t&&n(0,o=t.$$scope)},[o,r]}class gt extends ut{constructor(t){super(),lt(this,t,mt,ht,i,{})}}function $t(t){let e,n,r=t[1].stack+"";return{c(){e=x("pre"),n=E(r)},l(t){e=L(t,"PRE",{});var o=R(e);n=k(o,r),o.forEach(v)},m(t,r){_(t,e,r),y(e,n)},p(t,e){2&e&&r!==(r=t[1].stack+"")&&q(n,r)},d(t){t&&v(e)}}}function yt(e){let n,r,o,s,i,c,a,l,u,f=e[1].message+"";document.title=n=e[0];let d=e[2]&&e[1].stack&&$t(e);return{c(){r=S(),o=x("h1"),s=E(e[0]),i=S(),c=x("p"),a=E(f),l=S(),d&&d.c(),u=w(),this.h()},l(t){T('[data-svelte="svelte-1o9r2ue"]',document.head).forEach(v),r=j(t),o=L(t,"H1",{class:!0});var n=R(o);s=k(n,e[0]),n.forEach(v),i=j(t),c=L(t,"P",{class:!0});var p=R(c);a=k(p,f),p.forEach(v),l=j(t),d&&d.l(t),u=w(),this.h()},h(){A(o,"class","svelte-jpshsi"),A(c,"class","svelte-jpshsi")},m(t,e){_(t,r,e),_(t,o,e),y(o,s),_(t,i,e),_(t,c,e),y(c,a),_(t,l,e),d&&d.m(t,e),_(t,u,e)},p(t,[e]){1&e&&n!==(n=t[0])&&(document.title=n),1&e&&q(s,t[0]),2&e&&f!==(f=t[1].message+"")&&q(a,f),t[2]&&t[1].stack?d?d.p(t,e):(d=$t(t),d.c(),d.m(u.parentNode,u)):d&&(d.d(1),d=null)},i:t,o:t,d(t){t&&v(r),t&&v(o),t&&v(i),t&&v(c),t&&v(l),d&&d.d(t),t&&v(u)}}}function _t(t,e,n){let{status:r}=e,{error:o}=e;return t.$$set=t=>{"status"in t&&n(0,r=t.status),"error"in t&&n(1,o=t.error)},[r,o,false]}class vt extends ut{constructor(t){super(),lt(this,t,_t,yt,i,{status:0,error:1})}}function bt(t){let n,r,o;const s=[t[4].props];var i=t[4].component;function c(t){let n={};for(let t=0;t<s.length;t+=1)n=e(n,s[t]);return{props:n}}return i&&(n=new i(c())),{c(){n&&ot(n.$$.fragment),r=w()},l(t){n&&st(n.$$.fragment,t),r=w()},m(t,e){n&&it(n,t,e),_(t,r,e),o=!0},p(t,e){const o=16&e?nt(s,[rt(t[4].props)]):{};if(i!==(i=t[4].component)){if(n){Q();const t=n;et(t.$$.fragment,1,0,(()=>{ct(t,1)})),Z()}i?(n=new i(c()),ot(n.$$.fragment),tt(n.$$.fragment,1),it(n,r.parentNode,r)):n=null}else i&&n.$set(o)},i(t){o||(n&&tt(n.$$.fragment,t),o=!0)},o(t){n&&et(n.$$.fragment,t),o=!1},d(t){t&&v(r),n&&ct(n,t)}}}function xt(t){let e,n;return e=new vt({props:{error:t[0],status:t[1]}}),{c(){ot(e.$$.fragment)},l(t){st(e.$$.fragment,t)},m(t,r){it(e,t,r),n=!0},p(t,n){const r={};1&n&&(r.error=t[0]),2&n&&(r.status=t[1]),e.$set(r)},i(t){n||(tt(e.$$.fragment,t),n=!0)},o(t){et(e.$$.fragment,t),n=!1},d(t){ct(e,t)}}}function Et(t){let e,n,r,o;const s=[xt,bt],i=[];function c(t,e){return t[0]?0:1}return e=c(t),n=i[e]=s[e](t),{c(){n.c(),r=w()},l(t){n.l(t),r=w()},m(t,n){i[e].m(t,n),_(t,r,n),o=!0},p(t,o){let a=e;e=c(t),e===a?i[e].p(t,o):(Q(),et(i[a],1,1,(()=>{i[a]=null})),Z(),n=i[e],n?n.p(t,o):(n=i[e]=s[e](t),n.c()),tt(n,1),n.m(r.parentNode,r))},i(t){o||(tt(n),o=!0)},o(t){et(n),o=!1},d(t){i[e].d(t),t&&v(r)}}}function St(t){let n,r;const o=[{segment:t[2][0]},t[3].props];let s={$$slots:{default:[Et]},$$scope:{ctx:t}};for(let t=0;t<o.length;t+=1)s=e(s,o[t]);return n=new gt({props:s}),{c(){ot(n.$$.fragment)},l(t){st(n.$$.fragment,t)},m(t,e){it(n,t,e),r=!0},p(t,[e]){const r=12&e?nt(o,[4&e&&{segment:t[2][0]},8&e&&rt(t[3].props)]):{};147&e&&(r.$$scope={dirty:e,ctx:t}),n.$set(r)},i(t){r||(tt(n.$$.fragment,t),r=!0)},o(t){et(n.$$.fragment,t),r=!1},d(t){ct(n,t)}}}function wt(t,e,n){let{stores:r}=e,{error:o}=e,{status:s}=e,{segments:i}=e,{level0:c}=e,{level1:a=null}=e,{notify:l}=e;var u,f,d;return u=l,I().$$.after_update.push(u),f=pt,d=r,I().$$.context.set(f,d),t.$$set=t=>{"stores"in t&&n(5,r=t.stores),"error"in t&&n(0,o=t.error),"status"in t&&n(1,s=t.status),"segments"in t&&n(2,i=t.segments),"level0"in t&&n(3,c=t.level0),"level1"in t&&n(4,a=t.level1),"notify"in t&&n(6,l=t.notify)},[o,s,i,c,a,r,l]}class Nt extends ut{constructor(t){super(),lt(this,t,wt,St,i,{stores:5,error:0,status:1,segments:2,level0:3,level1:4,notify:6})}}const At=[],Rt=[{js:()=>Promise.all([import("./index.1b1af70b.js"),__inject_styles(["client-ea61129f.css","index-8f3929f0.css"])]).then((function(t){return t[0]}))}],Pt=[{pattern:/^\/$/,parts:[{i:0}]}]; +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +function Lt(t,e,n,r){return new(n||(n=Promise))((function(o,s){function i(t){try{a(r.next(t))}catch(t){s(t)}}function c(t){try{a(r.throw(t))}catch(t){s(t)}}function a(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,c)}a((r=r.apply(t,e||[])).next())}))}function kt(t){for(;t&&"A"!==t.nodeName.toUpperCase();)t=t.parentNode;return t}let jt,qt=1;const Ct="undefined"!=typeof history?history:{pushState:()=>{},replaceState:()=>{},scrollRestoration:"auto"},Ot={};let Tt,Ut;function It(t){const e=Object.create(null);return t.length>0&&t.slice(1).split("&").forEach((t=>{const[,n,r=""]=/([^=]*)(?:=(.*))?/.exec(decodeURIComponent(t.replace(/\+/g," ")));"string"==typeof e[n]&&(e[n]=[e[n]]),"object"==typeof e[n]?e[n].push(r):e[n]=r})),e}function Bt(t){if(t.origin!==location.origin)return null;if(!t.pathname.startsWith(Tt))return null;let e=t.pathname.slice(Tt.length);if(""===e&&(e="/"),!At.some((t=>t.test(e))))for(let n=0;n<Pt.length;n+=1){const r=Pt[n],o=r.pattern.exec(e);if(o){const n=It(t.search),s=r.parts[r.parts.length-1],i=s.params?s.params(o):{},c={host:location.host,path:e,query:n,params:i};return{href:t.href,route:r,match:o,page:c}}}}function Jt(t){if(1!==function(t){return null===t.which?t.button:t.which}(t))return;if(t.metaKey||t.ctrlKey||t.shiftKey||t.altKey)return;if(t.defaultPrevented)return;const e=kt(t.target);if(!e)return;if(!e.href)return;const n="object"==typeof e.href&&"SVGAnimatedString"===e.href.constructor.name,r=String(n?e.href.baseVal:e.href);if(r===location.href)return void(location.hash||t.preventDefault());if(e.hasAttribute("download")||"external"===e.getAttribute("rel"))return;if(n?e.target.baseVal:e.target)return;const o=new URL(r);if(o.pathname===location.pathname&&o.search===location.search)return;const s=Bt(o);if(s){zt(s,null,e.hasAttribute("sapper:noscroll"),o.hash),t.preventDefault(),Ct.pushState({id:jt},"",o.href)}}function Dt(){return{x:pageXOffset,y:pageYOffset}}function Kt(t){if(Ot[jt]=Dt(),t.state){const e=Bt(new URL(location.href));e?zt(e,t.state.id):location.href=location.href}else qt=qt+1,function(t){jt=t}(qt),Ct.replaceState({id:jt},"",location.href)}function zt(t,e,n,r){return Lt(this,void 0,void 0,(function*(){const o=!!e;if(o)jt=e;else{const t=Dt();Ot[jt]=t,jt=e=++qt,Ot[jt]=n?t:{x:0,y:0}}if(yield Ut(t),document.activeElement&&document.activeElement instanceof HTMLElement&&document.activeElement.blur(),!n){let t,n=Ot[e];r&&(t=document.getElementById(r.slice(1)),t&&(n={x:0,y:t.getBoundingClientRect().top+scrollY})),Ot[jt]=n,o||t?scrollTo(n.x,n.y):scrollTo(0,0)}}))}function Ht(t){let e=t.baseURI;if(!e){const n=t.getElementsByTagName("base");e=n.length?n[0].href:t.URL}return e}let Mt,Vt=null;function Ft(t){const e=kt(t.target);e&&"prefetch"===e.rel&&function(t){const e=Bt(new URL(t,Ht(document)));if(e)Vt&&t===Vt.href||(Vt={href:t,promise:ue(e)}),Vt.promise}(e.href)}function Gt(t){clearTimeout(Mt),Mt=setTimeout((()=>{Ft(t)}),20)}function Wt(t,e={noscroll:!1,replaceState:!1}){const n=Bt(new URL(t,Ht(document)));return n?(Ct[e.replaceState?"replaceState":"pushState"]({id:jt},"",t),zt(n,null,e.noscroll)):(location.href=t,new Promise((()=>{})))}const Yt="undefined"!=typeof __SAPPER__&&__SAPPER__;let Xt,Qt,Zt,te=!1,ee=[],ne="{}";const re={page:function(t){const e=dt(t);let n=!0;return{notify:function(){n=!0,e.update((t=>t))},set:function(t){n=!1,e.set(t)},subscribe:function(t){let r;return e.subscribe((e=>{(void 0===r||n&&e!==r)&&t(r=e)}))}}}({}),preloading:dt(null),session:dt(Yt&&Yt.session)};let oe,se,ie;function ce(t,e){const{error:n}=t;return Object.assign({error:n},e)}function ae(t){return Lt(this,void 0,void 0,(function*(){Xt&&re.preloading.set(!0);const e=function(t){return Vt&&Vt.href===t.href?Vt.promise:ue(t)}(t),n=Qt={},r=yield e,{redirect:o}=r;if(n===Qt)if(o)yield Wt(o.location,{replaceState:!0});else{const{props:e,branch:n}=r;yield le(n,e,ce(e,t.page))}}))}function le(t,e,n){return Lt(this,void 0,void 0,(function*(){re.page.set(n),re.preloading.set(!1),Xt?Xt.$set(e):(e.stores={page:{subscribe:re.page.subscribe},preloading:{subscribe:re.preloading.subscribe},session:re.session},e.level0={props:yield Zt},e.notify=re.page.notify,Xt=new Nt({target:ie,props:e,hydrate:!0})),ee=t,ne=JSON.stringify(n.query),te=!0,se=!1}))}function ue(t){return Lt(this,void 0,void 0,(function*(){const{route:e,page:n}=t,r=n.path.split("/").filter(Boolean);let o=null;const s={error:null,status:200,segments:[r[0]]},i={fetch:(t,e)=>fetch(t,e),redirect:(t,e)=>{if(o&&(o.statusCode!==t||o.location!==e))throw new Error("Conflicting redirects");o={statusCode:t,location:e}},error:(t,e)=>{s.error="string"==typeof e?new Error(e):e,s.status=t}};if(!Zt){const t=()=>({});Zt=Yt.preloaded[0]||t.call(i,{host:n.host,path:n.path,query:n.query,params:{}},oe)}let c,a=1;try{const o=JSON.stringify(n.query),l=e.pattern.exec(n.path);let u=!1;c=yield Promise.all(e.parts.map(((e,c)=>Lt(this,void 0,void 0,(function*(){const f=r[c];if(function(t,e,n,r){if(r!==ne)return!0;const o=ee[t];return!!o&&(e!==o.segment||!(!o.match||JSON.stringify(o.match.slice(1,t+2))===JSON.stringify(n.slice(1,t+2)))||void 0)}(c,f,l,o)&&(u=!0),s.segments[a]=r[c+1],!e)return{segment:f};const d=a++;if(!se&&!u&&ee[c]&&ee[c].part===e.i)return ee[c];u=!1;const{default:p,preload:h}=yield Rt[e.i].js();let m;return m=te||!Yt.preloaded[c+1]?h?yield h.call(i,{host:n.host,path:n.path,query:n.query,params:e.params?e.params(t.match):{}},oe):{}:Yt.preloaded[c+1],s[`level${d}`]={component:p,props:m,segment:f,match:l,part:e.i}})))))}catch(t){s.error=t,s.status=500,c=[]}return{redirect:o,props:s,branch:c}}))}var fe,de,pe;re.session.subscribe((t=>Lt(void 0,void 0,void 0,(function*(){if(oe=t,!te)return;se=!0;const e=Bt(new URL(location.href)),n=Qt={},{redirect:r,props:o,branch:s}=yield ue(e);n===Qt&&(r?yield Wt(r.location,{replaceState:!0}):yield le(s,o,ce(o,e.page)))})))),fe={target:document.querySelector(".app")},de=fe.target,ie=de,pe=Yt.baseUrl,Tt=pe,Ut=ae,"scrollRestoration"in Ct&&(Ct.scrollRestoration="manual"),addEventListener("beforeunload",(()=>{Ct.scrollRestoration="auto"})),addEventListener("load",(()=>{Ct.scrollRestoration="manual"})),addEventListener("click",Jt),addEventListener("popstate",Kt),addEventListener("touchstart",Ft),addEventListener("mousemove",Gt),Yt.error?Promise.resolve().then((()=>function(){const{host:t,pathname:e,search:n}=location,{session:r,preloaded:o,status:s,error:i}=Yt;Zt||(Zt=o&&o[0]);const c={error:i,status:s,session:r,level0:{props:Zt},level1:{props:{status:s,error:i},component:vt},segments:o},a=It(n);le([],c,{host:t,path:e,query:a,params:{},error:i})}())):Promise.resolve().then((()=>{const{hash:t,href:e}=location;Ct.replaceState({id:qt},"",e);const n=Bt(new URL(location.href));if(n)return zt(n,qt,!0,t)}));export{ct as A,u as B,p as C,h as D,d as E,C as F,b as G,O as H,N as I,o as J,T as K,ut as S,R as a,A as b,L as c,v as d,x as e,_ as f,y as g,a as h,lt as i,S as j,w as k,j as l,k as m,t as n,q as o,Q as p,et as q,Z as r,i as s,E as t,tt as u,l as v,dt as w,ot as x,st as y,it as z}; + +import __inject_styles from './inject_styles.5607aec6.js';
\ No newline at end of file |