uptime/client/client.7ab465d0.js

18 lines
37 KiB
JavaScript

function t(){}function e(t,e){for(const n in e)t[n]=e[n];return t}function n(t){return t()}function s(){return Object.create(null)}function r(t){t.forEach(n)}function o(t){return"function"==typeof t}function i(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function a(t,n,s,r){return t[1]&&r?e(s.ctx.slice(),t[1](r(n))):s.ctx}function c(t,e,n,s,r,o,i){const c=function(t,e,n,s){if(t[2]&&s){const r=t[2](s(n));if(void 0===e.dirty)return r;if("object"==typeof r){const t=[],n=Math.max(e.dirty.length,r.length);for(let s=0;s<n;s+=1)t[s]=e.dirty[s]|r[s];return t}return e.dirty|r}return e.dirty}(e,s,r,o);if(c){const r=a(e,n,s,i);t.p(r,c)}}function l(t){const e={};for(const n in t)"$"!==n[0]&&(e[n]=t[n]);return e}function u(t){return null==t?"":t}let f,d,h=!1;function p(t,e,n,s){for(;t<e;){const r=t+(e-t>>1);n(r)<=s?t=r+1:e=r}return t}function m(t,e){h?(!function(t){if(t.hydrate_init)return;t.hydrate_init=!0;const e=t.childNodes,n=new Int32Array(e.length+1),s=new Int32Array(e.length);n[0]=-1;let r=0;for(let t=0;t<e.length;t++){const o=p(1,r+1,(t=>e[n[t]].claim_order),e[t].claim_order)-1;s[t]=n[o]+1;const i=o+1;n[i]=t,r=Math.max(i,r)}const o=[],i=[];let a=e.length-1;for(let t=n[r]+1;0!=t;t=s[t-1]){for(o.push(e[t-1]);a>=t;a--)i.push(e[a]);a--}for(;a>=0;a--)i.push(e[a]);o.reverse(),i.sort(((t,e)=>t.claim_order-e.claim_order));for(let e=0,n=0;e<i.length;e++){for(;n<o.length&&i[e].claim_order>=o[n].claim_order;)n++;const s=n<o.length?o[n]:null;t.insertBefore(i[e],s)}}(t),(void 0===t.actual_end_child||null!==t.actual_end_child&&t.actual_end_child.parentElement!==t)&&(t.actual_end_child=t.firstChild),e!==t.actual_end_child?t.insertBefore(e,t.actual_end_child):t.actual_end_child=e.nextSibling):e.parentNode!==t&&t.appendChild(e)}function g(t,e,n){h&&!n?m(t,e):(e.parentNode!==t||n&&e.nextSibling!==n)&&t.insertBefore(e,n||null)}function b(t){t.parentNode.removeChild(t)}function v(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function $(t){return document.createElement(t)}function w(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function y(t){return document.createTextNode(t)}function _(){return y(" ")}function E(){return y("")}function S(t,e,n,s){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n,s)}function x(t){return function(e){return e.preventDefault(),t.call(this,e)}}function T(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function A(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const s in e)null==e[s]?t.removeAttribute(s):"style"===s?t.style.cssText=e[s]:"__value"===s?t.value=t[s]=e[s]:n[s]&&n[s].set?t[s]=e[s]:T(t,s,e[s])}function R(t){return Array.from(t.childNodes)}function N(t,e,n,s,r=!1){void 0===t.claim_info&&(t.claim_info={last_index:0,total_claimed:0});const o=(()=>{for(let s=t.claim_info.last_index;s<t.length;s++){const o=t[s];if(e(o))return n(o),t.splice(s,1),r||(t.claim_info.last_index=s),o}for(let s=t.claim_info.last_index-1;s>=0;s--){const o=t[s];if(e(o))return n(o),t.splice(s,1),r?t.claim_info.last_index--:t.claim_info.last_index=s,o}return s()})();return o.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,o}function I(t,e,n,s){return N(t,(t=>t.nodeName===e),(t=>{const e=[];for(let s=0;s<t.attributes.length;s++){const r=t.attributes[s];n[r.name]||e.push(r.name)}e.forEach((e=>t.removeAttribute(e)))}),(()=>s?w(e):$(e)))}function L(t,e){return N(t,(t=>3===t.nodeType),(t=>{t.data=""+e}),(()=>y(e)),!0)}function P(t){return L(t," ")}function O(t,e,n){for(let s=n;s<t.length;s+=1){const n=t[s];if(8===n.nodeType&&n.textContent.trim()===e)return s}return t.length}function k(t){const e=O(t,"HTML_TAG_START",0),n=O(t,"HTML_TAG_END",e);if(e===n)return new M;const s=t.splice(e,n+1);return b(s[0]),b(s[s.length-1]),new M(s.slice(1,s.length-1))}function H(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function G(t,e){t.value=null==e?"":e}function U(){if(void 0===f){f=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(t){f=!0}}return f}function C(t,e){"static"===getComputedStyle(t).position&&(t.style.position="relative");const n=$("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const s=U();let r;return s?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=S(window,"message",(t=>{t.source===n.contentWindow&&e()}))):(n.src="about:blank",n.onload=()=>{r=S(n.contentWindow,"resize",e)}),m(t,n),()=>{(s||r&&n.contentWindow)&&r(),b(n)}}function j(t,e=document.body){return Array.from(e.querySelectorAll(t))}class M{constructor(t){this.e=this.n=null,this.l=t}m(t,e,n=null){this.e||(this.e=$(e.nodeName),this.t=e,this.l?this.n=this.l:this.h(t)),this.i(n)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)g(this.t,this.n[e],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(b)}}function D(t){d=t}function q(){if(!d)throw new Error("Function called outside component initialization");return d}function F(t){q().$$.on_mount.push(t)}function B(t){q().$$.after_update.push(t)}function z(t){q().$$.on_destroy.push(t)}const K=[],J=[],V=[],W=[],Y=Promise.resolve();let Q=!1;function X(t){V.push(t)}let Z=!1;const tt=new Set;function et(){if(!Z){Z=!0;do{for(let t=0;t<K.length;t+=1){const e=K[t];D(e),nt(e.$$)}for(D(null),K.length=0;J.length;)J.pop()();for(let t=0;t<V.length;t+=1){const e=V[t];tt.has(e)||(tt.add(e),e())}V.length=0}while(K.length);for(;W.length;)W.pop()();Q=!1,Z=!1,tt.clear()}}function nt(t){if(null!==t.fragment){t.update(),r(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(X)}}const st=new Set;let rt;function ot(){rt={r:0,c:[],p:rt}}function it(){rt.r||r(rt.c),rt=rt.p}function at(t,e){t&&t.i&&(st.delete(t),t.i(e))}function ct(t,e,n,s){if(t&&t.o){if(st.has(t))return;st.add(t),rt.c.push((()=>{st.delete(t),s&&(n&&t.d(1),s())})),t.o(e)}}function lt(t,e){const n={},s={},r={$$scope:1};let o=t.length;for(;o--;){const i=t[o],a=e[o];if(a){for(const t in i)t in a||(s[t]=1);for(const t in a)r[t]||(n[t]=a[t],r[t]=1);t[o]=a}else for(const t in i)r[t]=1}for(const t in s)t in n||(n[t]=void 0);return n}function ut(t){return"object"==typeof t&&null!==t?t:{}}function ft(t){t&&t.c()}function dt(t,e){t&&t.l(e)}function ht(t,e,s,i){const{fragment:a,on_mount:c,on_destroy:l,after_update:u}=t.$$;a&&a.m(e,s),i||X((()=>{const e=c.map(n).filter(o);l?l.push(...e):r(e),t.$$.on_mount=[]})),u.forEach(X)}function pt(t,e){const n=t.$$;null!==n.fragment&&(r(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function mt(t,e){-1===t.$$.dirty[0]&&(K.push(t),Q||(Q=!0,Y.then(et)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function gt(e,n,o,i,a,c,l=[-1]){const u=d;D(e);const f=e.$$={fragment:null,ctx:null,props:c,update:t,not_equal:a,bound:s(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(u?u.$$.context:n.context||[]),callbacks:s(),dirty:l,skip_bound:!1};let p=!1;if(f.ctx=o?o(e,n.props||{},((t,n,...s)=>{const r=s.length?s[0]:n;return f.ctx&&a(f.ctx[t],f.ctx[t]=r)&&(!f.skip_bound&&f.bound[t]&&f.bound[t](r),p&&mt(e,t)),n})):[],f.update(),p=!0,r(f.before_update),f.fragment=!!i&&i(f.ctx),n.target){if(n.hydrate){h=!0;const t=R(n.target);f.fragment&&f.fragment.l(t),t.forEach(b)}else f.fragment&&f.fragment.c();n.intro&&at(e.$$.fragment),ht(e,n.target,n.anchor,n.customElement),h=!1,et()}D(u)}class bt{$destroy(){pt(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 vt=[];function $t(e,n=t){let s;const r=[];function o(t){if(i(e,t)&&(e=t,s)){const t=!vt.length;for(let t=0;t<r.length;t+=1){const n=r[t];n[1](),vt.push(n,e)}if(t){for(let t=0;t<vt.length;t+=2)vt[t][0](vt[t+1]);vt.length=0}}}return{set:o,update:function(t){o(t(e))},subscribe:function(i,a=t){const c=[i,a];return r.push(c),1===r.length&&(s=n(o)||t),i(e),()=>{const t=r.indexOf(c);-1!==t&&r.splice(t,1),0===r.length&&(s(),s=null)}}}}const wt={};var yt={owner:"FastGitORG",repo:"uptime",sites:[{name:"FastGit Home",url:"https://fastgit.org"},{name:"FastGit Archive",url:"https://archive.fastgit.org"},{name:"FastGit Document",url:"https://doc.fastgit.org"},{name:"FastGit Download",url:"https://download.fastgit.org"},{name:"FastGit Hub",url:"https://hub.fastgit.org"},{name:"FastGit Raw",url:"https://raw.fastgit.org"},{name:"GitHub",url:"https://github.com"}],assignees:["KevinZonda"],"status-website":{baseUrl:"/uptime",logoUrl:"https://cdn.jsdelivr.net/gh/FastGitORG/logo@ad87e38c7101537010b3dc6f7d4d52bd1f915002/v2.1.png",name:"FastGit Uptime",introTitle:"**FastGit**, fast way to get GitHub things.",introMessage:"See, we always reach our SLA requirement (0%+)!",navbar:[{title:"Home",href:"https://fastgit.org"},{title:"GitHub",href:"https://github.com/FastGitORG"}]},path:"https://FastGitORG.github.io/uptime",i18n:{activeIncidents:"Active Incidents",allSystemsOperational:"All systems are operational",incidentReport:"Incident #$NUMBER report →",activeIncidentSummary:"Opened at $DATE with $POSTS posts",incidentTitle:"Incident $NUMBER Details",incidentDetails:"Incident Details",incidentFixed:"Fixed",incidentOngoing:"Ongoing",incidentOpenedAt:"Opened at",incidentClosedAt:"Closed at",incidentSubscribe:"Subscribe to Updates",incidentViewOnGitHub:"View on GitHub",incidentCommentSummary:"Posted at $DATE by $AUTHOR",incidentBack:"← Back to all incidents",pastIncidents:"Past Incidents",pastIncidentsResolved:"Resolved in $MINUTES minutes with $POSTS posts",liveStatus:"Live Status",overallUptime:"Overall uptime: $UPTIME",overallUptimeTitle:"Overall uptime",averageResponseTime:"Average response time: $TIMEms",averageResponseTimeTitle:"Average response",sevelDayResponseTime:"7-day response time",responseTimeMs:"Response time (ms)",up:"Up",down:"Down",degraded:"Degraded",ms:"ms",loading:"Loading",navGitHub:"GitHub",footer:"This page is [open source]($REPO), powered by [Upptime](https://upptime.js.org)",rateLimitExceededTitle:"Rate limit exceedeed",rateLimitExceededIntro:"You have exceeded the number of requests you can do in an hour, so you'll have to wait before accessing this website again. Alternately, you can add a GitHub Personal Access Token to continue to use this website.",rateLimitExceededWhatDoesErrorMean:"What does this error mean?",rateLimitExceededErrorMeaning:"This website uses the GitHub API to access real-time data about our websites' status. By default, GitHub allows each IP address 60 requests per hour, which you have consumed.",rateLimitExceededErrorHowCanFix:"How can I fix it?",rateLimitExceededErrorFix:"You can wait for another hour and your IP address' limit will be restored. Alternately, you can add your GitHub Personal Access Token, which gives you an additional 5,000 requests per hour.",rateLimitExceededGeneratePAT:"Learn how to generate a Personal Access Token",rateLimitExceededHasSet:"You have a personal access token set.",rateLimitExceededRemoveToken:"Remove token",rateLimitExceededGitHubPAT:"GitHub Personal Access Token",rateLimitExceededCopyPastePAT:"Copy and paste your token",rateLimitExceededSaveToken:"Save token",errorTitle:"An error occurred",errorIntro:"An error occurred in trying to get the latest status details.",errorText:"You can try again in a few moments.",errorHome:"Go to the homepage",pastScheduledMaintenance:"Past Scheduled Maintenance",scheduledMaintenance:"Scheduled Maintenance",scheduledMaintenanceSummaryStarted:"Started at $DATE for $DURATION minutes",scheduledMaintenanceSummaryStarts:"Starts at $DATE for $DURATION minutes",startedAt:"Started at",startsAt:"Starts at",duration:"Duration",durationMin:"$DURATION minutes",incidentCompleted:"Completed",incidentScheduled:"Scheduled"}};function _t(t,e,n){const s=t.slice();return s[1]=e[n],s}function Et(e){let n,s,r,o=yt["status-website"]&&!yt["status-website"].hideNavLogo&&function(e){let n,s;return{c(){n=$("img"),this.h()},l(t){n=I(t,"IMG",{alt:!0,src:!0,class:!0}),this.h()},h(){T(n,"alt",""),n.src!==(s=yt["status-website"].logoUrl)&&T(n,"src",s),T(n,"class","svelte-a08hsz")},m(t,e){g(t,n,e)},p:t,d(t){t&&b(n)}}}(),i=yt["status-website"]&&!yt["status-website"].hideNavTitle&&function(e){let n,s,r=yt["status-website"].name+"";return{c(){n=$("div"),s=y(r)},l(t){n=I(t,"DIV",{});var e=R(n);s=L(e,r),e.forEach(b)},m(t,e){g(t,n,e),m(n,s)},p:t,d(t){t&&b(n)}}}();return{c(){n=$("div"),s=$("a"),o&&o.c(),r=_(),i&&i.c(),this.h()},l(t){n=I(t,"DIV",{});var e=R(n);s=I(e,"A",{href:!0,class:!0});var a=R(s);o&&o.l(a),r=P(a),i&&i.l(a),a.forEach(b),e.forEach(b),this.h()},h(){T(s,"href",yt["status-website"].logoHref||yt.path),T(s,"class","logo svelte-a08hsz")},m(t,e){g(t,n,e),m(n,s),o&&o.m(s,null),m(s,r),i&&i.m(s,null)},p(t,e){yt["status-website"]&&!yt["status-website"].hideNavLogo&&o.p(t,e),yt["status-website"]&&!yt["status-website"].hideNavTitle&&i.p(t,e)},d(t){t&&b(n),o&&o.d(),i&&i.d()}}}function St(t){let e,n,s,r,o,i=t[1].title+"";return{c(){e=$("li"),n=$("a"),s=y(i),o=_(),this.h()},l(t){e=I(t,"LI",{});var r=R(e);n=I(r,"A",{"aria-current":!0,href:!0,class:!0});var a=R(n);s=L(a,i),a.forEach(b),o=P(r),r.forEach(b),this.h()},h(){T(n,"aria-current",r=t[0]===("/"===t[1].href?void 0:t[1].href)?"page":void 0),T(n,"href",t[1].href.replace("$OWNER",yt.owner).replace("$REPO",yt.repo)),T(n,"class","svelte-a08hsz")},m(t,r){g(t,e,r),m(e,n),m(n,s),m(e,o)},p(t,e){1&e&&r!==(r=t[0]===("/"===t[1].href?void 0:t[1].href)?"page":void 0)&&T(n,"aria-current",r)},d(t){t&&b(e)}}}function xt(e){let n,s,r,o,i,a=yt["status-website"]&&yt["status-website"].logoUrl&&Et(),c=yt["status-website"]&&yt["status-website"].navbar&&function(t){let e,n=yt["status-website"].navbar,s=[];for(let e=0;e<n.length;e+=1)s[e]=St(_t(t,n,e));return{c(){for(let t=0;t<s.length;t+=1)s[t].c();e=E()},l(t){for(let e=0;e<s.length;e+=1)s[e].l(t);e=E()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);g(t,e,n)},p(t,r){if(1&r){let o;for(n=yt["status-website"].navbar,o=0;o<n.length;o+=1){const i=_t(t,n,o);s[o]?s[o].p(i,r):(s[o]=St(i),s[o].c(),s[o].m(e.parentNode,e))}for(;o<s.length;o+=1)s[o].d(1);s.length=n.length}},d(t){v(s,t),t&&b(e)}}}(e),l=yt["status-website"]&&yt["status-website"].navbarGitHub&&!yt["status-website"].navbar&&function(e){let n,s,r,o=yt.i18n.navGitHub+"";return{c(){n=$("li"),s=$("a"),r=y(o),this.h()},l(t){n=I(t,"LI",{});var e=R(n);s=I(e,"A",{href:!0,class:!0});var i=R(s);r=L(i,o),i.forEach(b),e.forEach(b),this.h()},h(){T(s,"href",`https://github.com/${yt.owner}/${yt.repo}`),T(s,"class","svelte-a08hsz")},m(t,e){g(t,n,e),m(n,s),m(s,r)},p:t,d(t){t&&b(n)}}}();return{c(){n=$("nav"),s=$("div"),a&&a.c(),r=_(),o=$("ul"),c&&c.c(),i=_(),l&&l.c(),this.h()},l(t){n=I(t,"NAV",{class:!0});var e=R(n);s=I(e,"DIV",{class:!0});var u=R(s);a&&a.l(u),r=P(u),o=I(u,"UL",{class:!0});var f=R(o);c&&c.l(f),i=P(f),l&&l.l(f),f.forEach(b),u.forEach(b),e.forEach(b),this.h()},h(){T(o,"class","svelte-a08hsz"),T(s,"class","container svelte-a08hsz"),T(n,"class","svelte-a08hsz")},m(t,e){g(t,n,e),m(n,s),a&&a.m(s,null),m(s,r),m(s,o),c&&c.m(o,null),m(o,i),l&&l.m(o,null)},p(t,[e]){yt["status-website"]&&yt["status-website"].logoUrl&&a.p(t,e),yt["status-website"]&&yt["status-website"].navbar&&c.p(t,e),yt["status-website"]&&yt["status-website"].navbarGitHub&&!yt["status-website"].navbar&&l.p(t,e)},i:t,o:t,d(t){t&&b(n),a&&a.d(),c&&c.d(),l&&l.d()}}}function Tt(t,e,n){let{segment:s}=e;return t.$$set=t=>{"segment"in t&&n(0,s=t.segment)},[s]}class At extends bt{constructor(t){super(),gt(this,t,Tt,xt,i,{segment:0})}}var Rt={"":["<em>","</em>"],_:["<strong>","</strong>"],"*":["<strong>","</strong>"],"~":["<s>","</s>"],"\n":["<br />"]," ":["<br />"],"-":["<hr />"]};function Nt(t){return t.replace(RegExp("^"+(t.match(/^(\t| )+/)||"")[0],"gm"),"")}function It(t){return(t+"").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Lt(t,e){var n,s,r,o,i,a=/((?:^|\n+)(?:\n---+|\* \*(?: \*)+)\n)|(?:^``` *(\w*)\n([\s\S]*?)\n```$)|((?:(?:^|\n+)(?:\t| {2,}).+)+\n*)|((?:(?:^|\n)([>*+-]|\d+\.)\s+.*)+)|(?:!\[([^\]]*?)\]\(([^)]+?)\))|(\[)|(\](?:\(([^)]+?)\))?)|(?:(?:^|\n+)([^\s].*)\n(-{3,}|={3,})(?:\n+|$))|(?:(?:^|\n+)(#{1,6})\s*(.+)(?:\n+|$))|(?:`([^`].*?)`)|( \n\n*|\n{2,}|__|\*\*|[_*]|~~)/gm,c=[],l="",u=e||{},f=0;function d(t){var e=Rt[t[1]||""],n=c[c.length-1]==t;return e?e[1]?(n?c.pop():c.push(t),e[0|n]):e[0]:t}function h(){for(var t="";c.length;)t+=d(c[c.length-1]);return t}for(t=t.replace(/^\[(.+?)\]:\s*(.+)$/gm,(function(t,e,n){return u[e.toLowerCase()]=n,""})).replace(/^\n+|\n+$/g,"");r=a.exec(t);)s=t.substring(f,r.index),f=a.lastIndex,n=r[0],s.match(/[^\\](\\\\)*\\$/)||((i=r[3]||r[4])?n='<pre class="code '+(r[4]?"poetry":r[2].toLowerCase())+'"><code'+(r[2]?' class="language-'+r[2].toLowerCase()+'"':"")+">"+Nt(It(i).replace(/^\n+|\n+$/g,""))+"</code></pre>":(i=r[6])?(i.match(/\./)&&(r[5]=r[5].replace(/^\d+/gm,"")),o=Lt(Nt(r[5].replace(/^\s*[>*+.-]/gm,""))),">"==i?i="blockquote":(i=i.match(/\./)?"ol":"ul",o=o.replace(/^(.*)(\n|$)/gm,"<li>$1</li>")),n="<"+i+">"+o+"</"+i+">"):r[8]?n='<img src="'+It(r[8])+'" alt="'+It(r[7])+'">':r[10]?(l=l.replace("<a>",'<a href="'+It(r[11]||u[s.toLowerCase()])+'">'),n=h()+"</a>"):r[9]?n="<a>":r[12]||r[14]?n="<"+(i="h"+(r[14]?r[14].length:r[13]>"="?1:2))+">"+Lt(r[12]||r[15],u)+"</"+i+">":r[16]?n="<code>"+It(r[16])+"</code>":(r[17]||r[1])&&(n=d(r[17]||"--"))),l+=s,l+=n;return(l+t.substring(f)+h()).replace(/^\n+|\n+$/g,"")}function Pt(t,e,n){const s=t.slice();return s[3]=e[n],s}function Ot(t,e,n){const s=t.slice();return s[3]=e[n],s}function kt(t,e,n){const s=t.slice();return s[8]=e[n],s}function Ht(e){let n;return{c(){n=$("link"),this.h()},l(t){n=I(t,"LINK",{rel:!0,href:!0}),this.h()},h(){T(n,"rel","stylesheet"),T(n,"href",`${yt.path}/themes/${(yt["status-website"]||{}).theme||"light"}.css`)},m(t,e){g(t,n,e)},p:t,d(t){t&&b(n)}}}function Gt(e){let n;return{c(){n=$("link"),this.h()},l(t){n=I(t,"LINK",{rel:!0,href:!0}),this.h()},h(){T(n,"rel","stylesheet"),T(n,"href",(yt["status-website"]||{}).themeUrl)},m(t,e){g(t,n,e)},p:t,d(t){t&&b(n)}}}function Ut(e){let n,s;return{c(){n=$("script"),this.h()},l(t){n=I(t,"SCRIPT",{src:!0}),R(n).forEach(b),this.h()},h(){n.src!==(s=e[8].src)&&T(n,"src",s),n.async=!!e[8].async,n.defer=!!e[8].async},m(t,e){g(t,n,e)},p:t,d(t){t&&b(n)}}}function Ct(e){let n;return{c(){n=$("link"),this.h()},l(t){n=I(t,"LINK",{rel:!0,href:!0,media:!0}),this.h()},h(){T(n,"rel",e[3].rel),T(n,"href",e[3].href),T(n,"media",e[3].media)},m(t,e){g(t,n,e)},p:t,d(t){t&&b(n)}}}function jt(e){let n;return{c(){n=$("meta"),this.h()},l(t){n=I(t,"META",{name:!0,content:!0}),this.h()},h(){T(n,"name",e[3].name),T(n,"content",e[3].content)},m(t,e){g(t,n,e)},p:t,d(t){t&&b(n)}}}function Mt(e){let n,s,r,o,i,l,u,f,d,h,p,w,y,S,x,A,N,L,O=Lt(yt.i18n.footer.replace(/\$REPO/,`https://github.com/${yt.owner}/${yt.repo}`))+"",H=(yt["status-website"]||{}).customHeadHtml&&function(e){let n,s,r=(yt["status-website"]||{}).customHeadHtml+"";return{c(){n=new M,s=E(),this.h()},l(t){n=k(t),s=E(),this.h()},h(){n.a=s},m(t,e){n.m(r,t,e),g(t,s,e)},p:t,d(t){t&&b(s),t&&n.d()}}}();let G=((yt["status-website"]||{}).themeUrl?Gt:Ht)(e),U=(yt["status-website"]||{}).scripts&&function(t){let e,n=(yt["status-website"]||{}).scripts,s=[];for(let e=0;e<n.length;e+=1)s[e]=Ut(kt(t,n,e));return{c(){for(let t=0;t<s.length;t+=1)s[t].c();e=E()},l(t){for(let e=0;e<s.length;e+=1)s[e].l(t);e=E()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);g(t,e,n)},p(t,r){if(0&r){let o;for(n=(yt["status-website"]||{}).scripts,o=0;o<n.length;o+=1){const i=kt(t,n,o);s[o]?s[o].p(i,r):(s[o]=Ut(i),s[o].c(),s[o].m(e.parentNode,e))}for(;o<s.length;o+=1)s[o].d(1);s.length=n.length}},d(t){v(s,t),t&&b(e)}}}(e),C=(yt["status-website"]||{}).links&&function(t){let e,n=(yt["status-website"]||{}).links,s=[];for(let e=0;e<n.length;e+=1)s[e]=Ct(Ot(t,n,e));return{c(){for(let t=0;t<s.length;t+=1)s[t].c();e=E()},l(t){for(let e=0;e<s.length;e+=1)s[e].l(t);e=E()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);g(t,e,n)},p(t,r){if(0&r){let o;for(n=(yt["status-website"]||{}).links,o=0;o<n.length;o+=1){const i=Ot(t,n,o);s[o]?s[o].p(i,r):(s[o]=Ct(i),s[o].c(),s[o].m(e.parentNode,e))}for(;o<s.length;o+=1)s[o].d(1);s.length=n.length}},d(t){v(s,t),t&&b(e)}}}(e),D=(yt["status-website"]||{}).metaTags&&function(t){let e,n=(yt["status-website"]||{}).metaTags,s=[];for(let e=0;e<n.length;e+=1)s[e]=jt(Pt(t,n,e));return{c(){for(let t=0;t<s.length;t+=1)s[t].c();e=E()},l(t){for(let e=0;e<s.length;e+=1)s[e].l(t);e=E()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);g(t,e,n)},p(t,r){if(0&r){let o;for(n=(yt["status-website"]||{}).metaTags,o=0;o<n.length;o+=1){const i=Pt(t,n,o);s[o]?s[o].p(i,r):(s[o]=jt(i),s[o].c(),s[o].m(e.parentNode,e))}for(;o<s.length;o+=1)s[o].d(1);s.length=n.length}},d(t){v(s,t),t&&b(e)}}}(e),q=yt["status-website"].css&&function(e){let n,s,r=`<style>${yt["status-website"].css}</style>`;return{c(){n=new M,s=E(),this.h()},l(t){n=k(t),s=E(),this.h()},h(){n.a=s},m(t,e){n.m(r,t,e),g(t,s,e)},p:t,d(t){t&&b(s),t&&n.d()}}}(),F=yt["status-website"].js&&function(e){let n,s,r=`<script>${yt["status-website"].js}<\/script>`;return{c(){n=new M,s=E(),this.h()},l(t){n=k(t),s=E(),this.h()},h(){n.a=s},m(t,e){n.m(r,t,e),g(t,s,e)},p:t,d(t){t&&b(s),t&&n.d()}}}(),B=(yt["status-website"]||{}).customBodyHtml&&function(e){let n,s,r=(yt["status-website"]||{}).customBodyHtml+"";return{c(){n=new M,s=E(),this.h()},l(t){n=k(t),s=E(),this.h()},h(){n.a=s},m(t,e){n.m(r,t,e),g(t,s,e)},p:t,d(t){t&&b(s),t&&n.d()}}}();w=new At({props:{segment:e[0]}});const z=e[2].default,K=function(t,e,n,s){if(t){const r=a(t,e,n,s);return t[0](r)}}(z,e,e[1],null);return{c(){H&&H.c(),n=E(),G.c(),s=$("link"),r=$("link"),o=$("link"),U&&U.c(),i=E(),C&&C.c(),l=E(),D&&D.c(),u=E(),q&&q.c(),f=E(),F&&F.c(),d=E(),h=_(),B&&B.c(),p=_(),ft(w.$$.fragment),y=_(),S=$("main"),K&&K.c(),x=_(),A=$("footer"),N=$("p"),this.h()},l(t){const e=j('[data-svelte="svelte-ri9y7q"]',document.head);H&&H.l(e),n=E(),G.l(e),s=I(e,"LINK",{rel:!0,href:!0}),r=I(e,"LINK",{rel:!0,type:!0,href:!0}),o=I(e,"LINK",{rel:!0,type:!0,href:!0}),U&&U.l(e),i=E(),C&&C.l(e),l=E(),D&&D.l(e),u=E(),q&&q.l(e),f=E(),F&&F.l(e),d=E(),e.forEach(b),h=P(t),B&&B.l(t),p=P(t),dt(w.$$.fragment,t),y=P(t),S=I(t,"MAIN",{class:!0});var a=R(S);K&&K.l(a),a.forEach(b),x=P(t),A=I(t,"FOOTER",{class:!0});var c=R(A);N=I(c,"P",{}),R(N).forEach(b),c.forEach(b),this.h()},h(){T(s,"rel","stylesheet"),T(s,"href",`${yt.path}/global.css`),T(r,"rel","icon"),T(r,"type","image/svg"),T(r,"href",(yt["status-website"]||{}).faviconSvg||(yt["status-website"]||{}).favicon||"https://raw.githubusercontent.com/koj-co/upptime/master/assets/icon.svg"),T(o,"rel","icon"),T(o,"type","image/png"),T(o,"href",(yt["status-website"]||{}).favicon||"/logo-192.png"),T(S,"class","container"),T(A,"class","svelte-jbr799")},m(t,e){H&&H.m(document.head,null),m(document.head,n),G.m(document.head,null),m(document.head,s),m(document.head,r),m(document.head,o),U&&U.m(document.head,null),m(document.head,i),C&&C.m(document.head,null),m(document.head,l),D&&D.m(document.head,null),m(document.head,u),q&&q.m(document.head,null),m(document.head,f),F&&F.m(document.head,null),m(document.head,d),g(t,h,e),B&&B.m(t,e),g(t,p,e),ht(w,t,e),g(t,y,e),g(t,S,e),K&&K.m(S,null),g(t,x,e),g(t,A,e),m(A,N),N.innerHTML=O,L=!0},p(t,[e]){(yt["status-website"]||{}).customHeadHtml&&H.p(t,e),G.p(t,e),(yt["status-website"]||{}).scripts&&U.p(t,e),(yt["status-website"]||{}).links&&C.p(t,e),(yt["status-website"]||{}).metaTags&&D.p(t,e),yt["status-website"].css&&q.p(t,e),yt["status-website"].js&&F.p(t,e),(yt["status-website"]||{}).customBodyHtml&&B.p(t,e);const n={};1&e&&(n.segment=t[0]),w.$set(n),K&&K.p&&(!L||2&e)&&c(K,z,t,t[1],L?e:-1,null,null)},i(t){L||(at(w.$$.fragment,t),at(K,t),L=!0)},o(t){ct(w.$$.fragment,t),ct(K,t),L=!1},d(t){H&&H.d(t),b(n),G.d(t),b(s),b(r),b(o),U&&U.d(t),b(i),C&&C.d(t),b(l),D&&D.d(t),b(u),q&&q.d(t),b(f),F&&F.d(t),b(d),t&&b(h),B&&B.d(t),t&&b(p),pt(w,t),t&&b(y),t&&b(S),K&&K.d(t),t&&b(x),t&&b(A)}}}function Dt(t,e,n){let{$$slots:s={},$$scope:r}=e,{segment:o}=e;return t.$$set=t=>{"segment"in t&&n(0,o=t.segment),"$$scope"in t&&n(1,r=t.$$scope)},[o,r,s]}class qt extends bt{constructor(t){super(),gt(this,t,Dt,Mt,i,{segment:0})}}function Ft(t){let e,n,s=t[1].stack+"";return{c(){e=$("pre"),n=y(s)},l(t){e=I(t,"PRE",{});var r=R(e);n=L(r,s),r.forEach(b)},m(t,s){g(t,e,s),m(e,n)},p(t,e){2&e&&s!==(s=t[1].stack+"")&&H(n,s)},d(t){t&&b(e)}}}function Bt(e){let n,s,r,o,i,a,c,l,u,f=e[1].message+"";document.title=n=e[0];let d=e[2]&&e[1].stack&&Ft(e);return{c(){s=_(),r=$("h1"),o=y(e[0]),i=_(),a=$("p"),c=y(f),l=_(),d&&d.c(),u=E(),this.h()},l(t){j('[data-svelte="svelte-1moakz"]',document.head).forEach(b),s=P(t),r=I(t,"H1",{class:!0});var n=R(r);o=L(n,e[0]),n.forEach(b),i=P(t),a=I(t,"P",{class:!0});var h=R(a);c=L(h,f),h.forEach(b),l=P(t),d&&d.l(t),u=E(),this.h()},h(){T(r,"class","svelte-17w3omn"),T(a,"class","svelte-17w3omn")},m(t,e){g(t,s,e),g(t,r,e),m(r,o),g(t,i,e),g(t,a,e),m(a,c),g(t,l,e),d&&d.m(t,e),g(t,u,e)},p(t,[e]){1&e&&n!==(n=t[0])&&(document.title=n),1&e&&H(o,t[0]),2&e&&f!==(f=t[1].message+"")&&H(c,f),t[2]&&t[1].stack?d?d.p(t,e):(d=Ft(t),d.c(),d.m(u.parentNode,u)):d&&(d.d(1),d=null)},i:t,o:t,d(t){t&&b(s),t&&b(r),t&&b(i),t&&b(a),t&&b(l),d&&d.d(t),t&&b(u)}}}function zt(t,e,n){let{status:s}=e,{error:r}=e;return t.$$set=t=>{"status"in t&&n(0,s=t.status),"error"in t&&n(1,r=t.error)},[s,r,false]}class Kt extends bt{constructor(t){super(),gt(this,t,zt,Bt,i,{status:0,error:1})}}function Jt(t){let n,s,r;const o=[t[4].props];var i=t[4].component;function a(t){let n={};for(let t=0;t<o.length;t+=1)n=e(n,o[t]);return{props:n}}return i&&(n=new i(a())),{c(){n&&ft(n.$$.fragment),s=E()},l(t){n&&dt(n.$$.fragment,t),s=E()},m(t,e){n&&ht(n,t,e),g(t,s,e),r=!0},p(t,e){const r=16&e?lt(o,[ut(t[4].props)]):{};if(i!==(i=t[4].component)){if(n){ot();const t=n;ct(t.$$.fragment,1,0,(()=>{pt(t,1)})),it()}i?(n=new i(a()),ft(n.$$.fragment),at(n.$$.fragment,1),ht(n,s.parentNode,s)):n=null}else i&&n.$set(r)},i(t){r||(n&&at(n.$$.fragment,t),r=!0)},o(t){n&&ct(n.$$.fragment,t),r=!1},d(t){t&&b(s),n&&pt(n,t)}}}function Vt(t){let e,n;return e=new Kt({props:{error:t[0],status:t[1]}}),{c(){ft(e.$$.fragment)},l(t){dt(e.$$.fragment,t)},m(t,s){ht(e,t,s),n=!0},p(t,n){const s={};1&n&&(s.error=t[0]),2&n&&(s.status=t[1]),e.$set(s)},i(t){n||(at(e.$$.fragment,t),n=!0)},o(t){ct(e.$$.fragment,t),n=!1},d(t){pt(e,t)}}}function Wt(t){let e,n,s,r;const o=[Vt,Jt],i=[];function a(t,e){return t[0]?0:1}return e=a(t),n=i[e]=o[e](t),{c(){n.c(),s=E()},l(t){n.l(t),s=E()},m(t,n){i[e].m(t,n),g(t,s,n),r=!0},p(t,r){let c=e;e=a(t),e===c?i[e].p(t,r):(ot(),ct(i[c],1,1,(()=>{i[c]=null})),it(),n=i[e],n?n.p(t,r):(n=i[e]=o[e](t),n.c()),at(n,1),n.m(s.parentNode,s))},i(t){r||(at(n),r=!0)},o(t){ct(n),r=!1},d(t){i[e].d(t),t&&b(s)}}}function Yt(t){let n,s;const r=[{segment:t[2][0]},t[3].props];let o={$$slots:{default:[Wt]},$$scope:{ctx:t}};for(let t=0;t<r.length;t+=1)o=e(o,r[t]);return n=new qt({props:o}),{c(){ft(n.$$.fragment)},l(t){dt(n.$$.fragment,t)},m(t,e){ht(n,t,e),s=!0},p(t,[e]){const s=12&e?lt(r,[4&e&&{segment:t[2][0]},8&e&&ut(t[3].props)]):{};147&e&&(s.$$scope={dirty:e,ctx:t}),n.$set(s)},i(t){s||(at(n.$$.fragment,t),s=!0)},o(t){ct(n.$$.fragment,t),s=!1},d(t){pt(n,t)}}}function Qt(t,e,n){let{stores:s}=e,{error:r}=e,{status:o}=e,{segments:i}=e,{level0:a}=e,{level1:c=null}=e,{notify:l}=e;var u,f;return B(l),u=wt,f=s,q().$$.context.set(u,f),t.$$set=t=>{"stores"in t&&n(5,s=t.stores),"error"in t&&n(0,r=t.error),"status"in t&&n(1,o=t.status),"segments"in t&&n(2,i=t.segments),"level0"in t&&n(3,a=t.level0),"level1"in t&&n(4,c=t.level1),"notify"in t&&n(6,l=t.notify)},[r,o,i,a,c,s,l]}class Xt extends bt{constructor(t){super(),gt(this,t,Qt,Yt,i,{stores:5,error:0,status:1,segments:2,level0:3,level1:4,notify:6})}}const Zt=[],te=[{js:()=>Promise.all([import("./index.6eccd483.js"),__inject_styles(["client-04be1abb.css","createOctokit-865318f3.css","index-5f8caab7.css"])]).then((function(t){return t[0]}))},{js:()=>Promise.all([import("./rate-limit-exceeded.1e0068a6.js"),__inject_styles(["client-04be1abb.css","rate-limit-exceeded-ec20dc01.css"])]).then((function(t){return t[0]}))},{js:()=>Promise.all([import("./[number].2b8a3f44.js"),__inject_styles(["client-04be1abb.css","createOctokit-865318f3.css","[number]-c4ffc2b4.css"])]).then((function(t){return t[0]}))},{js:()=>Promise.all([import("./[number].f6734d61.js"),__inject_styles(["client-04be1abb.css","createOctokit-865318f3.css","[number]-bc1bb552.css"])]).then((function(t){return t[0]}))},{js:()=>Promise.all([import("./error.c9e8dcaa.js"),__inject_styles(["client-04be1abb.css","error-64ad0d96.css"])]).then((function(t){return t[0]}))}],ee=(ne=decodeURIComponent,[{pattern:/^\/$/,parts:[{i:0}]},{pattern:/^\/rate-limit-exceeded\/?$/,parts:[{i:1}]},{pattern:/^\/incident\/([^/]+?)\/?$/,parts:[null,{i:2,params:t=>({number:ne(t[1])})}]},{pattern:/^\/history\/([^/]+?)\/?$/,parts:[null,{i:3,params:t=>({number:ne(t[1])})}]},{pattern:/^\/error\/?$/,parts:[{i:4}]}]);var ne;
/*! *****************************************************************************
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 se(t,e,n,s){return new(n||(n=Promise))((function(r,o){function i(t){try{c(s.next(t))}catch(t){o(t)}}function a(t){try{c(s.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,a)}c((s=s.apply(t,e||[])).next())}))}function re(t){for(;t&&"A"!==t.nodeName.toUpperCase();)t=t.parentNode;return t}let oe,ie=1;const ae="undefined"!=typeof history?history:{pushState:()=>{},replaceState:()=>{},scrollRestoration:"auto"},ce={};let le,ue;function fe(t){const e=Object.create(null);return t.length?(t=>"undefined"!=typeof URLSearchParams?[...new URLSearchParams(t).entries()]:t.slice(1).split("&").map((t=>{const[,e,n=""]=/([^=]*)(?:=([\S\s]*))?/.exec(decodeURIComponent(t.replace(/\+/g," ")));return[e,n]})))(t).reduce(((t,[e,n])=>("string"==typeof t[e]&&(t[e]=[t[e]]),"object"==typeof t[e]?t[e].push(n):t[e]=n,t)),e):e}function de(t){if(t.origin!==location.origin)return null;if(!t.pathname.startsWith(le))return null;let e=t.pathname.slice(le.length);if(""===e&&(e="/"),!Zt.some((t=>t.test(e))))for(let n=0;n<ee.length;n+=1){const s=ee[n],r=s.pattern.exec(e);if(r){const n=fe(t.search),o=s.parts[s.parts.length-1],i=o.params?o.params(r):{},a={host:location.host,path:e,query:n,params:i};return{href:t.href,route:s,match:r,page:a}}}}function he(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=re(t.target);if(!e)return;if(!e.href)return;const n="object"==typeof e.href&&"SVGAnimatedString"===e.href.constructor.name,s=String(n?e.href.baseVal:e.href);if(s===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 r=new URL(s);if(r.pathname===location.pathname&&r.search===location.search)return;const o=de(r);if(o){ge(o,null,e.hasAttribute("sapper:noscroll"),r.hash),t.preventDefault(),ae.pushState({id:oe},"",r.href)}}function pe(){return{x:pageXOffset,y:pageYOffset}}function me(t){if(ce[oe]=pe(),t.state){const e=de(new URL(location.href));e?ge(e,t.state.id):location.href=location.href}else!function(t){ie=t}(ie+1),function(t){oe=t}(ie),ae.replaceState({id:oe},"",location.href)}function ge(t,e,n,s){return se(this,void 0,void 0,(function*(){const r=!!e;if(r)oe=e;else{const t=pe();ce[oe]=t,oe=e=++ie,ce[oe]=n?t:{x:0,y:0}}if(yield ue(t),document.activeElement&&document.activeElement instanceof HTMLElement&&document.activeElement.blur(),!n){let t,n=ce[e];s&&(t=document.getElementById(s.slice(1)),t&&(n={x:0,y:t.getBoundingClientRect().top+scrollY})),ce[oe]=n,n&&(r||t)?scrollTo(n.x,n.y):scrollTo(0,0)}}))}function be(t){let e=t.baseURI;if(!e){const n=t.getElementsByTagName("base");e=n.length?n[0].href:t.URL}return e}let ve,$e=null;function we(t){const e=re(t.target);e&&e.hasAttribute("sapper:prefetch")&&function(t){const e=de(new URL(t,be(document)));if(e)$e&&t===$e.href||($e={href:t,promise:Ue(e)}),$e.promise}(e.href)}function ye(t){clearTimeout(ve),ve=setTimeout((()=>{we(t)}),20)}function _e(t,e={noscroll:!1,replaceState:!1}){const n=de(new URL(t,be(document)));if(n){const s=ge(n,null,e.noscroll);return ae[e.replaceState?"replaceState":"pushState"]({id:oe},"",t),s}return location.href=t,new Promise((()=>{}))}const Ee="undefined"!=typeof __SAPPER__&&__SAPPER__;let Se,xe,Te,Ae=!1,Re=[],Ne="{}";const Ie={page:function(t){const e=$t(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 s;return e.subscribe((e=>{(void 0===s||n&&e!==s)&&t(s=e)}))}}}({}),preloading:$t(null),session:$t(Ee&&Ee.session)};let Le,Pe,Oe;function ke(t,e){const{error:n}=t;return Object.assign({error:n},e)}function He(t){return se(this,void 0,void 0,(function*(){Se&&Ie.preloading.set(!0);const e=function(t){return $e&&$e.href===t.href?$e.promise:Ue(t)}(t),n=xe={},s=yield e,{redirect:r}=s;if(n===xe)if(r)yield _e(r.location,{replaceState:!0});else{const{props:e,branch:n}=s;yield Ge(n,e,ke(e,t.page))}}))}function Ge(t,e,n){return se(this,void 0,void 0,(function*(){Ie.page.set(n),Ie.preloading.set(!1),Se?Se.$set(e):(e.stores={page:{subscribe:Ie.page.subscribe},preloading:{subscribe:Ie.preloading.subscribe},session:Ie.session},e.level0={props:yield Te},e.notify=Ie.page.notify,Se=new Xt({target:Oe,props:e,hydrate:!0})),Re=t,Ne=JSON.stringify(n.query),Ae=!0,Pe=!1}))}function Ue(t){return se(this,void 0,void 0,(function*(){const{route:e,page:n}=t,s=n.path.split("/").filter(Boolean);let r=null;const o={error:null,status:200,segments:[s[0]]},i={fetch:(t,e)=>fetch(t,e),redirect:(t,e)=>{if(r&&(r.statusCode!==t||r.location!==e))throw new Error("Conflicting redirects");r={statusCode:t,location:e}},error:(t,e)=>{o.error="string"==typeof e?new Error(e):e,o.status=t}};if(!Te){const t=()=>({});Te=Ee.preloaded[0]||t.call(i,{host:n.host,path:n.path,query:n.query,params:{}},Le)}let a,c=1;try{const r=JSON.stringify(n.query),l=e.pattern.exec(n.path);let u=!1;a=yield Promise.all(e.parts.map(((e,a)=>se(this,void 0,void 0,(function*(){const f=s[a];if(function(t,e,n,s){if(s!==Ne)return!0;const r=Re[t];return!!r&&(e!==r.segment||!(!r.match||JSON.stringify(r.match.slice(1,t+2))===JSON.stringify(n.slice(1,t+2)))||void 0)}(a,f,l,r)&&(u=!0),o.segments[c]=s[a+1],!e)return{segment:f};const d=c++;let h;if(Pe||u||!Re[a]||Re[a].part!==e.i){u=!1;const{default:s,preload:r}=yield te[e.i].js();let o;o=Ae||!Ee.preloaded[a+1]?r?yield r.call(i,{host:n.host,path:n.path,query:n.query,params:e.params?e.params(t.match):{}},Le):{}:Ee.preloaded[a+1],h={component:s,props:o,segment:f,match:l,part:e.i}}else h=Re[a];return o[`level${d}`]=h})))))}catch(t){o.error=t,o.status=500,a=[]}return{redirect:r,props:o,branch:a}}))}var Ce,je,Me;Ie.session.subscribe((t=>se(void 0,void 0,void 0,(function*(){if(Le=t,!Ae)return;Pe=!0;const e=de(new URL(location.href)),n=xe={},{redirect:s,props:r,branch:o}=yield Ue(e);n===xe&&(s?yield _e(s.location,{replaceState:!0}):yield Ge(o,r,ke(r,e.page)))})))),Ce={target:document.querySelector("#sapper")},je=Ce.target,Oe=je,Me=Ee.baseUrl,le=Me,ue=He,"scrollRestoration"in ae&&(ae.scrollRestoration="manual"),addEventListener("beforeunload",(()=>{ae.scrollRestoration="auto"})),addEventListener("load",(()=>{ae.scrollRestoration="manual"})),addEventListener("click",he),addEventListener("popstate",me),addEventListener("touchstart",we),addEventListener("mousemove",ye),Ee.error?Promise.resolve().then((()=>function(){const{host:t,pathname:e,search:n}=location,{session:s,preloaded:r,status:o,error:i}=Ee;Te||(Te=r&&r[0]);const a={error:i,status:o,session:s,level0:{props:Te},level1:{props:{status:o,error:i},component:Kt},segments:r},c=fe(n);Ge([],a,{host:t,path:e,query:c,params:{},error:i})}())):Promise.resolve().then((()=>{const{hash:t,href:e}=location;ae.replaceState({id:ie},"",e);const n=de(new URL(location.href));if(n)return ge(n,ie,!0,t)}));export{pt as A,S as B,r as C,J as D,k as E,u as F,j as G,M as H,Lt as I,w as J,_e as K,G as L,x as M,e as N,A as O,lt as P,B as Q,z as R,bt as S,l as T,ut as U,X as V,C as W,R as a,L as b,I as c,b as d,$ as e,T as f,g,m as h,gt as i,_ as j,P as k,ot as l,ct as m,t as n,it as o,at as p,F as q,yt as r,i as s,y as t,H as u,E as v,v as w,ft as x,dt as y,ht as z};
import __inject_styles from './inject_styles.5607aec6.js';