Files
piped-uptime/client/client.bf0e70e4.js
T
2024-06-21 01:29:23 +00:00

18 lines
43 KiB
JavaScript

function e(){}function t(e,t){for(const n in t)e[n]=t[n];return e}function n(e){return e()}function s(){return Object.create(null)}function r(e){e.forEach(n)}function i(e){return"function"==typeof e}function a(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let o;function c(e,t){return o||(o=document.createElement("a")),o.href=t,e===o.href}function l(e,n,s,r){return e[1]&&r?t(s.ctx.slice(),e[1](r(n))):s.ctx}function u(e){const t={};for(const n in e)"$"!==n[0]&&(t[n]=e[n]);return t}function h(e){return null==e?"":e}let d=!1;function p(e,t,n,s){for(;e<t;){const r=e+(t-e>>1);n(r)<=s?e=r+1:t=r}return e}function f(e,t){if(d){for(!function(e){if(e.hydrate_init)return;e.hydrate_init=!0;let t=e.childNodes;if("HEAD"===e.nodeName){const e=[];for(let n=0;n<t.length;n++){const s=t[n];void 0!==s.claim_order&&e.push(s)}t=e}const n=new Int32Array(t.length+1),s=new Int32Array(t.length);n[0]=-1;let r=0;for(let e=0;e<t.length;e++){const i=t[e].claim_order,a=(r>0&&t[n[r]].claim_order<=i?r+1:p(1,r,(e=>t[n[e]].claim_order),i))-1;s[e]=n[a]+1;const o=a+1;n[o]=e,r=Math.max(o,r)}const i=[],a=[];let o=t.length-1;for(let e=n[r]+1;0!=e;e=s[e-1]){for(i.push(t[e-1]);o>=e;o--)a.push(t[o]);o--}for(;o>=0;o--)a.push(t[o]);i.reverse(),a.sort(((e,t)=>e.claim_order-t.claim_order));for(let t=0,n=0;t<a.length;t++){for(;n<i.length&&a[t].claim_order>=i[n].claim_order;)n++;const s=n<i.length?i[n]:null;e.insertBefore(a[t],s)}}(e),(void 0===e.actual_end_child||null!==e.actual_end_child&&e.actual_end_child.parentNode!==e)&&(e.actual_end_child=e.firstChild);null!==e.actual_end_child&&void 0===e.actual_end_child.claim_order;)e.actual_end_child=e.actual_end_child.nextSibling;t!==e.actual_end_child?void 0===t.claim_order&&t.parentNode===e||e.insertBefore(t,e.actual_end_child):e.actual_end_child=t.nextSibling}else t.parentNode===e&&null===t.nextSibling||e.appendChild(t)}function m(e,t,n){e.insertBefore(t,n||null)}function g(e,t,n){d&&!n?f(e,t):t.parentNode===e&&t.nextSibling==n||e.insertBefore(t,n||null)}function y(e){e.parentNode&&e.parentNode.removeChild(e)}function b(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function v(e){return document.createElement(e)}function w(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function $(e){return document.createTextNode(e)}function _(){return $(" ")}function k(){return $("")}function E(e,t,n,s){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n,s)}function x(e){return function(t){return t.preventDefault(),e.call(this,t)}}function S(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}const T=["width","height"];function A(e,t){const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const s in t)null==t[s]?e.removeAttribute(s):"style"===s?e.style.cssText=t[s]:"__value"===s?e.value=e[s]=t[s]:n[s]&&n[s].set&&-1===T.indexOf(s)?e[s]=t[s]:S(e,s,t[s])}function P(e){let t;return{p(...n){t=n,t.forEach((t=>e.push(t)))},r(){t.forEach((t=>e.splice(e.indexOf(t),1)))}}}function N(e){return Array.from(e.childNodes)}function I(e){void 0===e.claim_info&&(e.claim_info={last_index:0,total_claimed:0})}function L(e,t,n,s,r=!1){I(e);const i=(()=>{for(let s=e.claim_info.last_index;s<e.length;s++){const i=e[s];if(t(i)){const t=n(i);return void 0===t?e.splice(s,1):e[s]=t,r||(e.claim_info.last_index=s),i}}for(let s=e.claim_info.last_index-1;s>=0;s--){const i=e[s];if(t(i)){const t=n(i);return void 0===t?e.splice(s,1):e[s]=t,r?void 0===t&&e.claim_info.last_index--:e.claim_info.last_index=s,i}}return s()})();return i.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1,i}function R(e,t,n,s){return L(e,(e=>e.nodeName===t),(e=>{const t=[];for(let s=0;s<e.attributes.length;s++){const r=e.attributes[s];n[r.name]||t.push(r.name)}t.forEach((t=>e.removeAttribute(t)))}),(()=>s(t)))}function O(e,t,n){return R(e,t,n,v)}function C(e,t,n){return R(e,t,n,w)}function H(e,t){return L(e,(e=>3===e.nodeType),(e=>{const n=""+t;if(e.data.startsWith(n)){if(e.data.length!==n.length)return e.splitText(n.length)}else e.data=n}),(()=>$(t)),!0)}function j(e){return H(e," ")}function M(e,t,n){for(let s=n;s<e.length;s+=1){const n=e[s];if(8===n.nodeType&&n.textContent.trim()===t)return s}return e.length}function U(e,t){const n=M(e,"HTML_TAG_START",0),s=M(e,"HTML_TAG_END",n);if(n===s)return new Y(void 0,t);I(e);const r=e.splice(n,s-n+1);y(r[0]),y(r[r.length-1]);const i=r.slice(1,r.length-1);for(const t of i)t.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1;return new Y(i,t)}function z(e,t){t=""+t,e.data!==t&&(e.data=t)}function D(e,t){e.value=null==t?"":t}function G(e,t,n,s){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,s?"important":"")}let q,B;function K(){if(void 0===q){q=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){q=!0}}return q}function J(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=v("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=K();let r;return s?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=E(window,"message",(e=>{e.source===n.contentWindow&&t()}))):(n.src="about:blank",n.onload=()=>{r=E(n.contentWindow,"resize",t),t()}),function(e,t){e.appendChild(t)}(e,n),()=>{(s||r&&n.contentWindow)&&r(),y(n)}}function V(e,t){const n=[];let s=0;for(const r of t.childNodes)if(8===r.nodeType){const t=r.textContent.trim();t===`HEAD_${e}_END`?(s-=1,n.push(r)):t===`HEAD_${e}_START`&&(s+=1,n.push(r))}else s>0&&n.push(r);return n}class W{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=w(t.nodeName):this.e=v(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)m(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(y)}}class Y extends W{constructor(e,t=!1){super(t),this.e=this.n=null,this.l=e}c(e){this.l?this.n=this.l:super.c(e)}i(e){for(let t=0;t<this.n.length;t+=1)g(this.t,this.n[t],e)}}function F(e,t){return new e(t)}function X(e){B=e}function Q(){if(!B)throw new Error("Function called outside component initialization");return B}function Z(e){Q().$$.on_mount.push(e)}function ee(e){Q().$$.after_update.push(e)}function te(e){Q().$$.on_destroy.push(e)}const ne=[],se=[];let re=[];const ie=[],ae=Promise.resolve();let oe=!1;function ce(e){re.push(e)}const le=new Set;let ue=0;function he(){if(0!==ue)return;const e=B;do{try{for(;ue<ne.length;){const e=ne[ue];ue++,X(e),de(e.$$)}}catch(e){throw ne.length=0,ue=0,e}for(X(null),ne.length=0,ue=0;se.length;)se.pop()();for(let e=0;e<re.length;e+=1){const t=re[e];le.has(t)||(le.add(t),t())}re.length=0}while(ne.length);for(;ie.length;)ie.pop()();oe=!1,le.clear(),X(e)}function de(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ce)}}const pe=new Set;let fe;function me(){fe={r:0,c:[],p:fe}}function ge(){fe.r||r(fe.c),fe=fe.p}function ye(e,t){e&&e.i&&(pe.delete(e),e.i(t))}function be(e,t,n,s){if(e&&e.o){if(pe.has(e))return;pe.add(e),fe.c.push((()=>{pe.delete(e),s&&(n&&e.d(1),s())})),e.o(t)}else s&&s()}function ve(e,t){const n={},s={},r={$$scope:1};let i=e.length;for(;i--;){const a=e[i],o=t[i];if(o){for(const e in a)e in o||(s[e]=1);for(const e in o)r[e]||(n[e]=o[e],r[e]=1);e[i]=o}else for(const e in a)r[e]=1}for(const e in s)e in n||(n[e]=void 0);return n}function we(e){return"object"==typeof e&&null!==e?e:{}}function $e(e){e&&e.c()}function _e(e,t){e&&e.l(t)}function ke(e,t,s,a){const{fragment:o,after_update:c}=e.$$;o&&o.m(t,s),a||ce((()=>{const t=e.$$.on_mount.map(n).filter(i);e.$$.on_destroy?e.$$.on_destroy.push(...t):r(t),e.$$.on_mount=[]})),c.forEach(ce)}function Ee(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];re.forEach((s=>-1===e.indexOf(s)?t.push(s):n.push(s))),n.forEach((e=>e())),re=t}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function xe(e,t){-1===e.$$.dirty[0]&&(ne.push(e),oe||(oe=!0,ae.then(he)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Se(t,n,i,a,o,c,l,u=[-1]){const h=B;X(t);const p=t.$$={fragment:null,ctx:[],props:c,update:e,not_equal:o,bound:s(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(h?h.$$.context:[])),callbacks:s(),dirty:u,skip_bound:!1,root:n.target||h.$$.root};l&&l(p.root);let f=!1;if(p.ctx=i?i(t,n.props||{},((e,n,...s)=>{const r=s.length?s[0]:n;return p.ctx&&o(p.ctx[e],p.ctx[e]=r)&&(!p.skip_bound&&p.bound[e]&&p.bound[e](r),f&&xe(t,e)),n})):[],p.update(),f=!0,r(p.before_update),p.fragment=!!a&&a(p.ctx),n.target){if(n.hydrate){d=!0;const e=N(n.target);p.fragment&&p.fragment.l(e),e.forEach(y)}else p.fragment&&p.fragment.c();n.intro&&ye(t.$$.fragment),ke(t,n.target,n.anchor,n.customElement),d=!1,he()}X(h)}class Te{$destroy(){Ee(this,1),this.$destroy=e}$on(t,n){if(!i(n))return e;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const e=s.indexOf(n);-1!==e&&s.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Ae=[];function Pe(t,n=e){let s;const r=new Set;function i(e){if(a(t,e)&&(t=e,s)){const e=!Ae.length;for(const e of r)e[1](),Ae.push(e,t);if(e){for(let e=0;e<Ae.length;e+=2)Ae[e][0](Ae[e+1]);Ae.length=0}}}return{set:i,update:function(e){i(e(t))},subscribe:function(a,o=e){const c=[a,o];return r.add(c),1===r.size&&(s=n(i)||e),a(t),()=>{r.delete(c),0===r.size&&s&&(s(),s=null)}}}}const Ne={};var Ie={owner:"TeamPiped",repo:"piped-uptime",sites:[{name:"kavin.rocks (Official)",url:"https://pipedapi.kavin.rocks/healthcheck"},{name:"tokhmi.xyz",url:"https://pipedapi.tokhmi.xyz/healthcheck"},{name:"moomoo.me",url:"https://pipedapi.moomoo.me/healthcheck"},{name:"syncpundit.io",url:"https://pipedapi.syncpundit.io/healthcheck"},{name:"mha.fi",url:"https://api-piped.mha.fi/healthcheck"},{name:"garudalinux.org",url:"https://piped-api.garudalinux.org/healthcheck"},{name:"rivo.lol",url:"https://pipedapi.rivo.lol/healthcheck"},{name:"leptons.xyz",url:"https://pipedapi.leptons.xyz/healthcheck"},{name:"lunar.icu",url:"https://piped-api.lunar.icu/healthcheck"},{name:"dc09.ru",url:"https://ytapi.dc09.ru/healthcheck"},{name:"colinslegacy.com",url:"https://pipedapi.colinslegacy.com/healthcheck"},{name:"vyper.me",url:"https://yapi.vyper.me/healthcheck"},{name:"looleh.xyz",url:"https://api.looleh.xyz/healthcheck"},{name:"cfe.re",url:"https://piped-api.cfe.re/healthcheck"},{name:"r4fo.com",url:"https://pipedapi.r4fo.com/healthcheck"},{name:"kavin.rocks libre (Official)",url:"https://pipedapi-libre.kavin.rocks/healthcheck"},{name:"mint.lgbt",url:"https://pa.mint.lgbt/healthcheck"},{name:"il.ax",url:"https://pa.il.ax/healthcheck"},{name:"privacy.com.de",url:"https://piped-api.privacy.com.de/healthcheck"},{name:"projectsegfau.lt",url:"https://api.piped.projectsegfau.lt/healthcheck"},{name:"projectsegfau.lt in",url:"https://pipedapi.in.projectsegfau.lt/healthcheck"},{name:"projectsegfau.lt us",url:"https://pipedapi.us.projectsegfau.lt/healthcheck"},{name:"whatever.social",url:"https://watchapi.whatever.social/healthcheck"},{name:"privacydev.net",url:"https://api.piped.privacydev.net/healthcheck"},{name:"palveluntarjoaja.eu",url:"https://pipedapi.palveluntarjoaja.eu/healthcheck"},{name:"smnz.de",url:"https://pipedapi.smnz.de/healthcheck"},{name:"adminforge.de",url:"https://pipedapi.adminforge.de/healthcheck"},{name:"qdi.fi",url:"https://pipedapi.qdi.fi/healthcheck"},{name:"hostux.net",url:"https://piped-api.hostux.net/healthcheck"},{name:"vern.cc",url:"https://pdapi.vern.cc/healthcheck"},{name:"pfcd.me",url:"https://pipedapi.pfcd.me/healthcheck"},{name:"frontendfriendly.xyz",url:"https://pipedapi.frontendfriendly.xyz/healthcheck"},{name:"piped.yt",url:"https://api.piped.yt/healthcheck"},{name:"astartes.nl",url:"https://pipedapi.astartes.nl/healthcheck"},{name:"osphost.fi",url:"https://pipedapi.osphost.fi/healthcheck"},{name:"simpleprivacy.fr",url:"https://pipedapi.simpleprivacy.fr/healthcheck"},{name:"drgns.space",url:"https://pipedapi.drgns.space/healthcheck"},{name:"ggtyler.dev",url:"https://piapi.ggtyler.dev/healthcheck"},{name:"pluto.lat",url:"https://api.watch.pluto.lat/healthcheck"},{name:"seitan-ayoub.lol",url:"https://piped-backend.seitan-ayoub.lol/healthcheck"},{name:"owo.si",url:"https://pipedapi.owo.si/healthcheck"},{name:"minionflo.net",url:"https://api.piped.minionflo.net/healthcheck"},{name:"nezumi.party",url:"https://pipedapi.nezumi.party/healthcheck"},{name:"ducks.party",url:"https://pipedapi.ducks.party/healthcheck"},{name:"ngn.tf",url:"https://pipedapi.ngn.tf/healthcheck"},{name:"coldforge.xyz",url:"https://pipedapi.coldforge.xyz/healthcheck"},{name:"codespace.cz",url:"https://piped-api.codespace.cz/healthcheck"},{name:"reallyaweso.me",url:"https://pipedapi.reallyaweso.me/healthcheck"},{name:"phoenixthrush.com",url:"https://pipedapi.phoenixthrush.com/healthcheck"},{name:"private.coffee",url:"https://api.piped.private.coffee/healthcheck"},{name:"ehwurscht.at",url:"https://schaunapi.ehwurscht.at/healthcheck"},{name:"dedyn.io",url:"https://pipedapi.dedyn.io/healthcheck"},{name:"nosebs.ru",url:"https://pipedapi.nosebs.ru/healthcheck"},{name:"darkness.services",url:"https://pipedapi.darkness.services/healthcheck"}],"status-website":{cname:"status.piped.video",introMessage:"A status page for Piped instances, with uptime and **INACCURATE** response time information.",introTitle:"Piped Instances status",logoUrl:"https://raw.githubusercontent.com/uppthttps://cdn.jsdelivr.net/gh/TeamPiped/Piped@fcea986/public/img/icons/logo.svgime/upptime.js.org/master/static/img/icon.svg",name:"Piped Instances Status",navbar:[{href:"/",title:"Status"},{href:"https://github.com/$OWNER/$REPO",title:"GitHub"}]},path:"https://status.piped.video",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",incidentViewOnGitHub:"View and Subscribe 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 exceeded",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",duration24H:"24h",duration7D:"7d",duration30D:"30d",duration1Y:"1y",durationAll:"all"}};function Le(e,t,n){const s=e.slice();return s[1]=t[n],s}function Re(t){let n,s,r,i=Ie["status-website"]&&!Ie["status-website"].hideNavLogo&&function(t){let n,s;return{c(){n=v("img"),this.h()},l(e){n=O(e,"IMG",{alt:!0,src:!0,class:!0}),this.h()},h(){S(n,"alt",""),c(n.src,s=Ie["status-website"].logoUrl)||S(n,"src",s),S(n,"class","svelte-a08hsz")},m(e,t){g(e,n,t)},p:e,d(e){e&&y(n)}}}(),a=Ie["status-website"]&&!Ie["status-website"].hideNavTitle&&function(t){let n,s,r=Ie["status-website"].name+"";return{c(){n=v("div"),s=$(r)},l(e){n=O(e,"DIV",{});var t=N(n);s=H(t,r),t.forEach(y)},m(e,t){g(e,n,t),f(n,s)},p:e,d(e){e&&y(n)}}}();return{c(){n=v("div"),s=v("a"),i&&i.c(),r=_(),a&&a.c(),this.h()},l(e){n=O(e,"DIV",{});var t=N(n);s=O(t,"A",{href:!0,class:!0});var o=N(s);i&&i.l(o),r=j(o),a&&a.l(o),o.forEach(y),t.forEach(y),this.h()},h(){S(s,"href",Ie["status-website"].logoHref||Ie.path),S(s,"class","logo svelte-a08hsz")},m(e,t){g(e,n,t),f(n,s),i&&i.m(s,null),f(s,r),a&&a.m(s,null)},p(e,t){Ie["status-website"]&&!Ie["status-website"].hideNavLogo&&i.p(e,t),Ie["status-website"]&&!Ie["status-website"].hideNavTitle&&a.p(e,t)},d(e){e&&y(n),i&&i.d(),a&&a.d()}}}function Oe(e){let t,n,s,r,i,a=e[1].title+"";return{c(){t=v("li"),n=v("a"),s=$(a),i=_(),this.h()},l(e){t=O(e,"LI",{});var r=N(t);n=O(r,"A",{"aria-current":!0,href:!0,target:!0,class:!0});var o=N(n);s=H(o,a),o.forEach(y),i=j(r),r.forEach(y),this.h()},h(){S(n,"aria-current",r=e[0]===("/"===e[1].href?void 0:e[1].href)?"page":void 0),S(n,"href",e[1].href.replace("$OWNER",Ie.owner).replace("$REPO",Ie.repo)),S(n,"target",e[1].target||"_self"),S(n,"class","svelte-a08hsz")},m(e,r){g(e,t,r),f(t,n),f(n,s),f(t,i)},p(e,t){1&t&&r!==(r=e[0]===("/"===e[1].href?void 0:e[1].href)?"page":void 0)&&S(n,"aria-current",r)},d(e){e&&y(t)}}}function Ce(t){let n,s,r,i,a,o=Ie["status-website"]&&Ie["status-website"].logoUrl&&Re(),c=Ie["status-website"]&&Ie["status-website"].navbar&&function(e){let t,n=Ie["status-website"].navbar,s=[];for(let t=0;t<n.length;t+=1)s[t]=Oe(Le(e,n,t));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();t=k()},l(e){for(let t=0;t<s.length;t+=1)s[t].l(e);t=k()},m(e,n){for(let t=0;t<s.length;t+=1)s[t]&&s[t].m(e,n);g(e,t,n)},p(e,r){if(1&r){let i;for(n=Ie["status-website"].navbar,i=0;i<n.length;i+=1){const a=Le(e,n,i);s[i]?s[i].p(a,r):(s[i]=Oe(a),s[i].c(),s[i].m(t.parentNode,t))}for(;i<s.length;i+=1)s[i].d(1);s.length=n.length}},d(e){b(s,e),e&&y(t)}}}(t),l=Ie["status-website"]&&Ie["status-website"].navbarGitHub&&!Ie["status-website"].navbar&&function(t){let n,s,r,i=Ie.i18n.navGitHub+"";return{c(){n=v("li"),s=v("a"),r=$(i),this.h()},l(e){n=O(e,"LI",{});var t=N(n);s=O(t,"A",{href:!0,class:!0});var a=N(s);r=H(a,i),a.forEach(y),t.forEach(y),this.h()},h(){S(s,"href",`https://github.com/${Ie.owner}/${Ie.repo}`),S(s,"class","svelte-a08hsz")},m(e,t){g(e,n,t),f(n,s),f(s,r)},p:e,d(e){e&&y(n)}}}();return{c(){n=v("nav"),s=v("div"),o&&o.c(),r=_(),i=v("ul"),c&&c.c(),a=_(),l&&l.c(),this.h()},l(e){n=O(e,"NAV",{class:!0});var t=N(n);s=O(t,"DIV",{class:!0});var u=N(s);o&&o.l(u),r=j(u),i=O(u,"UL",{class:!0});var h=N(i);c&&c.l(h),a=j(h),l&&l.l(h),h.forEach(y),u.forEach(y),t.forEach(y),this.h()},h(){S(i,"class","svelte-a08hsz"),S(s,"class","container svelte-a08hsz"),S(n,"class","svelte-a08hsz")},m(e,t){g(e,n,t),f(n,s),o&&o.m(s,null),f(s,r),f(s,i),c&&c.m(i,null),f(i,a),l&&l.m(i,null)},p(e,[t]){Ie["status-website"]&&Ie["status-website"].logoUrl&&o.p(e,t),Ie["status-website"]&&Ie["status-website"].navbar&&c.p(e,t),Ie["status-website"]&&Ie["status-website"].navbarGitHub&&!Ie["status-website"].navbar&&l.p(e,t)},i:e,o:e,d(e){e&&y(n),o&&o.d(),c&&c.d(),l&&l.d()}}}function He(e,t,n){let{segment:s}=t;return e.$$set=e=>{"segment"in e&&n(0,s=e.segment)},[s]}class je extends Te{constructor(e){super(),Se(this,e,He,Ce,a,{segment:0})}}var Me={"":["<em>","</em>"],_:["<strong>","</strong>"],"*":["<strong>","</strong>"],"~":["<s>","</s>"],"\n":["<br />"]," ":["<br />"],"-":["<hr />"]};function Ue(e){return e.replace(RegExp("^"+(e.match(/^(\t| )+/)||"")[0],"gm"),"")}function ze(e){return(e+"").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function De(e,t){var n,s,r,i,a,o=/((?:^|\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=t||{},h=0;function d(e){var t=Me[e[1]||""],n=c[c.length-1]==e;return t?t[1]?(n?c.pop():c.push(e),t[0|n]):t[0]:e}function p(){for(var e="";c.length;)e+=d(c[c.length-1]);return e}for(e=e.replace(/^\[(.+?)\]:\s*(.+)$/gm,(function(e,t,n){return u[t.toLowerCase()]=n,""})).replace(/^\n+|\n+$/g,"");r=o.exec(e);)s=e.substring(h,r.index),h=o.lastIndex,n=r[0],s.match(/[^\\](\\\\)*\\$/)||((a=r[3]||r[4])?n='<pre class="code '+(r[4]?"poetry":r[2].toLowerCase())+'"><code'+(r[2]?' class="language-'+r[2].toLowerCase()+'"':"")+">"+Ue(ze(a).replace(/^\n+|\n+$/g,""))+"</code></pre>":(a=r[6])?(a.match(/\./)&&(r[5]=r[5].replace(/^\d+/gm,"")),i=De(Ue(r[5].replace(/^\s*[>*+.-]/gm,""))),">"==a?a="blockquote":(a=a.match(/\./)?"ol":"ul",i=i.replace(/^(.*)(\n|$)/gm,"<li>$1</li>")),n="<"+a+">"+i+"</"+a+">"):r[8]?n='<img src="'+ze(r[8])+'" alt="'+ze(r[7])+'">':r[10]?(l=l.replace("<a>",'<a href="'+ze(r[11]||u[s.toLowerCase()])+'">'),n=p()+"</a>"):r[9]?n="<a>":r[12]||r[14]?n="<"+(a="h"+(r[14]?r[14].length:r[13]>"="?1:2))+">"+De(r[12]||r[15],u)+"</"+a+">":r[16]?n="<code>"+ze(r[16])+"</code>":(r[17]||r[1])&&(n=d(r[17]||"--"))),l+=s,l+=n;return(l+e.substring(h)+p()).replace(/^\n+|\n+$/g,"")}function Ge(e,t,n){const s=e.slice();return s[3]=t[n],s}function qe(e,t,n){const s=e.slice();return s[3]=t[n],s}function Be(e,t,n){const s=e.slice();return s[8]=t[n],s}function Ke(t){let n,s,r,i,a,o;return{c(){n=v("script"),s=$("// If `prefers-color-scheme` is not supported, fall back to light mode.\n // In this case, light.css will be downloaded with `highest` priority.\n if (typeof window !== \"undefined\" && typeof document !== \"undefined\" && \"matchMedia\" in window && window.matchMedia('(prefers-color-scheme: dark)').media === 'not all') {\n document.documentElement.style.display = 'none';\n document.head.insertAdjacentHTML(\n 'beforeend',\n '<link rel=\"stylesheet\" href={`${config.path}/themes/light.css`} onload=\"document.documentElement.style.display = \\'\\'\">',\n );\n }"),r=_(),i=v("link"),a=_(),o=v("link"),this.h()},l(e){n=O(e,"SCRIPT",{});var t=N(n);s=H(t,"// If `prefers-color-scheme` is not supported, fall back to light mode.\n // In this case, light.css will be downloaded with `highest` priority.\n if (typeof window !== \"undefined\" && typeof document !== \"undefined\" && \"matchMedia\" in window && window.matchMedia('(prefers-color-scheme: dark)').media === 'not all') {\n document.documentElement.style.display = 'none';\n document.head.insertAdjacentHTML(\n 'beforeend',\n '<link rel=\"stylesheet\" href={`${config.path}/themes/light.css`} onload=\"document.documentElement.style.display = \\'\\'\">',\n );\n }"),t.forEach(y),r=j(e),i=O(e,"LINK",{rel:!0,href:!0,media:!0}),a=j(e),o=O(e,"LINK",{rel:!0,href:!0,media:!0}),this.h()},h(){S(i,"rel","stylesheet"),S(i,"href",`${Ie.path}/themes/light.css`),S(i,"media","(prefers-color-scheme: light)"),S(o,"rel","stylesheet"),S(o,"href",`${Ie.path}/themes/dark.css`),S(o,"media","(prefers-color-scheme: dark)")},m(e,t){g(e,n,t),f(n,s),g(e,r,t),g(e,i,t),g(e,a,t),g(e,o,t)},p:e,d(e){e&&y(n),e&&y(r),e&&y(i),e&&y(a),e&&y(o)}}}function Je(t){let n;return{c(){n=v("link"),this.h()},l(e){n=O(e,"LINK",{rel:!0,href:!0}),this.h()},h(){S(n,"rel","stylesheet"),S(n,"href",`${Ie.path}/themes/${Ie["status-website"].theme}.css`)},m(e,t){g(e,n,t)},p:e,d(e){e&&y(n)}}}function Ve(t){let n;return{c(){n=v("link"),this.h()},l(e){n=O(e,"LINK",{rel:!0,href:!0}),this.h()},h(){S(n,"rel","stylesheet"),S(n,"href",(Ie["status-website"]||{}).themeUrl)},m(e,t){g(e,n,t)},p:e,d(e){e&&y(n)}}}function We(t){let n,s;return{c(){n=v("script"),this.h()},l(e){n=O(e,"SCRIPT",{src:!0}),N(n).forEach(y),this.h()},h(){c(n.src,s=t[8].src)||S(n,"src",s),n.async=!!t[8].async,n.defer=!!t[8].async},m(e,t){g(e,n,t)},p:e,d(e){e&&y(n)}}}function Ye(t){let n;return{c(){n=v("link"),this.h()},l(e){n=O(e,"LINK",{rel:!0,href:!0,media:!0}),this.h()},h(){S(n,"rel",t[3].rel),S(n,"href",t[3].href),S(n,"media",t[3].media)},m(e,t){g(e,n,t)},p:e,d(e){e&&y(n)}}}function Fe(t){let n;return{c(){n=v("meta"),this.h()},l(e){n=O(e,"META",{name:!0,content:!0}),this.h()},h(){S(n,"name",t[3].name),S(n,"content",t[3].content)},m(e,t){g(e,n,t)},p:e,d(e){e&&y(n)}}}function Xe(t){let n,s,r,i,a,o,c,u,h,d,p,m,w,$,E,x,T,A,P=De(Ie.i18n.footer.replace(/\$REPO/,`https://github.com/${Ie.owner}/${Ie.repo}`))+"",I=(Ie["status-website"]||{}).customHeadHtml&&function(t){let n,s,r=(Ie["status-website"]||{}).customHeadHtml+"";return{c(){n=new Y(!1),s=k(),this.h()},l(e){n=U(e,!1),s=k(),this.h()},h(){n.a=s},m(e,t){n.m(r,e,t),g(e,s,t)},p:e,d(e){e&&y(s),e&&n.d()}}}();let L=((Ie["status-website"]||{}).themeUrl?Ve:(Ie["status-website"]||{}).theme?Je:Ke)(t),R=(Ie["status-website"]||{}).scripts&&function(e){let t,n=(Ie["status-website"]||{}).scripts,s=[];for(let t=0;t<n.length;t+=1)s[t]=We(Be(e,n,t));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();t=k()},l(e){for(let t=0;t<s.length;t+=1)s[t].l(e);t=k()},m(e,n){for(let t=0;t<s.length;t+=1)s[t]&&s[t].m(e,n);g(e,t,n)},p(e,t){},d(e){b(s,e),e&&y(t)}}}(t),C=(Ie["status-website"]||{}).links&&function(e){let t,n=(Ie["status-website"]||{}).links,s=[];for(let t=0;t<n.length;t+=1)s[t]=Ye(qe(e,n,t));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();t=k()},l(e){for(let t=0;t<s.length;t+=1)s[t].l(e);t=k()},m(e,n){for(let t=0;t<s.length;t+=1)s[t]&&s[t].m(e,n);g(e,t,n)},p(e,t){},d(e){b(s,e),e&&y(t)}}}(t),H=(Ie["status-website"]||{}).metaTags&&function(e){let t,n=(Ie["status-website"]||{}).metaTags,s=[];for(let t=0;t<n.length;t+=1)s[t]=Fe(Ge(e,n,t));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();t=k()},l(e){for(let t=0;t<s.length;t+=1)s[t].l(e);t=k()},m(e,n){for(let t=0;t<s.length;t+=1)s[t]&&s[t].m(e,n);g(e,t,n)},p(e,t){},d(e){b(s,e),e&&y(t)}}}(t),M=Ie["status-website"].css&&function(t){let n,s,r=`<style>${Ie["status-website"].css}</style>`;return{c(){n=new Y(!1),s=k(),this.h()},l(e){n=U(e,!1),s=k(),this.h()},h(){n.a=s},m(e,t){n.m(r,e,t),g(e,s,t)},p:e,d(e){e&&y(s),e&&n.d()}}}(),z=Ie["status-website"].js&&function(t){let n,s,r=`<script>${Ie["status-website"].js}<\/script>`;return{c(){n=new Y(!1),s=k(),this.h()},l(e){n=U(e,!1),s=k(),this.h()},h(){n.a=s},m(e,t){n.m(r,e,t),g(e,s,t)},p:e,d(e){e&&y(s),e&&n.d()}}}(),D=(Ie["status-website"]||{}).customBodyHtml&&function(t){let n,s,r=(Ie["status-website"]||{}).customBodyHtml+"";return{c(){n=new Y(!1),s=k(),this.h()},l(e){n=U(e,!1),s=k(),this.h()},h(){n.a=s},m(e,t){n.m(r,e,t),g(e,s,t)},p:e,d(e){e&&y(s),e&&n.d()}}}();m=new je({props:{segment:t[0]}});const G=t[2].default,q=function(e,t,n,s){if(e){const r=l(e,t,n,s);return e[0](r)}}(G,t,t[1],null);return{c(){I&&I.c(),n=k(),L.c(),s=v("link"),r=v("link"),i=v("link"),R&&R.c(),a=k(),C&&C.c(),o=k(),H&&H.c(),c=k(),M&&M.c(),u=k(),z&&z.c(),h=k(),d=_(),D&&D.c(),p=_(),$e(m.$$.fragment),w=_(),$=v("main"),q&&q.c(),E=_(),x=v("footer"),T=v("p"),this.h()},l(e){const t=V("svelte-z1n8lm",document.head);I&&I.l(t),n=k(),L.l(t),s=O(t,"LINK",{rel:!0,href:!0}),r=O(t,"LINK",{rel:!0,type:!0,href:!0}),i=O(t,"LINK",{rel:!0,type:!0,href:!0}),R&&R.l(t),a=k(),C&&C.l(t),o=k(),H&&H.l(t),c=k(),M&&M.l(t),u=k(),z&&z.l(t),h=k(),t.forEach(y),d=j(e),D&&D.l(e),p=j(e),_e(m.$$.fragment,e),w=j(e),$=O(e,"MAIN",{class:!0});var l=N($);q&&q.l(l),l.forEach(y),E=j(e),x=O(e,"FOOTER",{class:!0});var f=N(x);T=O(f,"P",{}),N(T).forEach(y),f.forEach(y),this.h()},h(){S(s,"rel","stylesheet"),S(s,"href",`${Ie.path}/global.css`),S(r,"rel","icon"),S(r,"type","image/svg"),S(r,"href",(Ie["status-website"]||{}).faviconSvg||(Ie["status-website"]||{}).favicon||"https://raw.githubusercontent.com/upptime/upptime/master/assets/upptime-icon.svg"),S(i,"rel","icon"),S(i,"type","image/png"),S(i,"href",(Ie["status-website"]||{}).favicon||"/logo-192.png"),S($,"class","container"),S(x,"class","svelte-jbr799")},m(e,t){I&&I.m(document.head,null),f(document.head,n),L.m(document.head,null),f(document.head,s),f(document.head,r),f(document.head,i),R&&R.m(document.head,null),f(document.head,a),C&&C.m(document.head,null),f(document.head,o),H&&H.m(document.head,null),f(document.head,c),M&&M.m(document.head,null),f(document.head,u),z&&z.m(document.head,null),f(document.head,h),g(e,d,t),D&&D.m(e,t),g(e,p,t),ke(m,e,t),g(e,w,t),g(e,$,t),q&&q.m($,null),g(e,E,t),g(e,x,t),f(x,T),T.innerHTML=P,A=!0},p(e,[t]){(Ie["status-website"]||{}).customHeadHtml&&I.p(e,t),L.p(e,t),(Ie["status-website"]||{}).scripts&&R.p(e,t),(Ie["status-website"]||{}).links&&C.p(e,t),(Ie["status-website"]||{}).metaTags&&H.p(e,t),Ie["status-website"].css&&M.p(e,t),Ie["status-website"].js&&z.p(e,t),(Ie["status-website"]||{}).customBodyHtml&&D.p(e,t);const n={};1&t&&(n.segment=e[0]),m.$set(n),q&&q.p&&(!A||2&t)&&function(e,t,n,s,r,i){if(r){const a=l(t,n,s,i);e.p(a,r)}}(q,G,e,e[1],A?function(e,t,n,s){if(e[2]&&s){const r=e[2](s(n));if(void 0===t.dirty)return r;if("object"==typeof r){const e=[],n=Math.max(t.dirty.length,r.length);for(let s=0;s<n;s+=1)e[s]=t.dirty[s]|r[s];return e}return t.dirty|r}return t.dirty}(G,e[1],t,null):function(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let e=0;e<n;e++)t[e]=-1;return t}return-1}(e[1]),null)},i(e){A||(ye(m.$$.fragment,e),ye(q,e),A=!0)},o(e){be(m.$$.fragment,e),be(q,e),A=!1},d(e){I&&I.d(e),y(n),L.d(e),y(s),y(r),y(i),R&&R.d(e),y(a),C&&C.d(e),y(o),H&&H.d(e),y(c),M&&M.d(e),y(u),z&&z.d(e),y(h),e&&y(d),D&&D.d(e),e&&y(p),Ee(m,e),e&&y(w),e&&y($),q&&q.d(e),e&&y(E),e&&y(x)}}}function Qe(e,t,n){let{$$slots:s={},$$scope:r}=t,{segment:i}=t;return e.$$set=e=>{"segment"in e&&n(0,i=e.segment),"$$scope"in e&&n(1,r=e.$$scope)},[i,r,s]}class Ze extends Te{constructor(e){super(),Se(this,e,Qe,Xe,a,{segment:0})}}function et(e){let t,n,s=e[1].stack+"";return{c(){t=v("pre"),n=$(s)},l(e){t=O(e,"PRE",{});var r=N(t);n=H(r,s),r.forEach(y)},m(e,s){g(e,t,s),f(t,n)},p(e,t){2&t&&s!==(s=e[1].stack+"")&&z(n,s)},d(e){e&&y(t)}}}function tt(t){let n,s,r,i,a,o,c,l,u,h=t[1].message+"";document.title=n=t[0];let d=t[2]&&t[1].stack&&et(t);return{c(){s=_(),r=v("h1"),i=$(t[0]),a=_(),o=v("p"),c=$(h),l=_(),d&&d.c(),u=k(),this.h()},l(e){V("svelte-1moakz",document.head).forEach(y),s=j(e),r=O(e,"H1",{class:!0});var n=N(r);i=H(n,t[0]),n.forEach(y),a=j(e),o=O(e,"P",{class:!0});var p=N(o);c=H(p,h),p.forEach(y),l=j(e),d&&d.l(e),u=k(),this.h()},h(){S(r,"class","svelte-17w3omn"),S(o,"class","svelte-17w3omn")},m(e,t){g(e,s,t),g(e,r,t),f(r,i),g(e,a,t),g(e,o,t),f(o,c),g(e,l,t),d&&d.m(e,t),g(e,u,t)},p(e,[t]){1&t&&n!==(n=e[0])&&(document.title=n),1&t&&z(i,e[0]),2&t&&h!==(h=e[1].message+"")&&z(c,h),e[2]&&e[1].stack?d?d.p(e,t):(d=et(e),d.c(),d.m(u.parentNode,u)):d&&(d.d(1),d=null)},i:e,o:e,d(e){e&&y(s),e&&y(r),e&&y(a),e&&y(o),e&&y(l),d&&d.d(e),e&&y(u)}}}function nt(e,t,n){let{status:s}=t,{error:r}=t;return e.$$set=e=>{"status"in e&&n(0,s=e.status),"error"in e&&n(1,r=e.error)},[s,r,false]}class st extends Te{constructor(e){super(),Se(this,e,nt,tt,a,{status:0,error:1})}}function rt(e){let n,s,r;const i=[e[4].props];var a=e[4].component;function o(e){let n={};for(let e=0;e<i.length;e+=1)n=t(n,i[e]);return{props:n}}return a&&(n=F(a,o())),{c(){n&&$e(n.$$.fragment),s=k()},l(e){n&&_e(n.$$.fragment,e),s=k()},m(e,t){n&&ke(n,e,t),g(e,s,t),r=!0},p(e,t){const r=16&t?ve(i,[we(e[4].props)]):{};if(16&t&&a!==(a=e[4].component)){if(n){me();const e=n;be(e.$$.fragment,1,0,(()=>{Ee(e,1)})),ge()}a?(n=F(a,o()),$e(n.$$.fragment),ye(n.$$.fragment,1),ke(n,s.parentNode,s)):n=null}else a&&n.$set(r)},i(e){r||(n&&ye(n.$$.fragment,e),r=!0)},o(e){n&&be(n.$$.fragment,e),r=!1},d(e){e&&y(s),n&&Ee(n,e)}}}function it(e){let t,n;return t=new st({props:{error:e[0],status:e[1]}}),{c(){$e(t.$$.fragment)},l(e){_e(t.$$.fragment,e)},m(e,s){ke(t,e,s),n=!0},p(e,n){const s={};1&n&&(s.error=e[0]),2&n&&(s.status=e[1]),t.$set(s)},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){be(t.$$.fragment,e),n=!1},d(e){Ee(t,e)}}}function at(e){let t,n,s,r;const i=[it,rt],a=[];function o(e,t){return e[0]?0:1}return t=o(e),n=a[t]=i[t](e),{c(){n.c(),s=k()},l(e){n.l(e),s=k()},m(e,n){a[t].m(e,n),g(e,s,n),r=!0},p(e,r){let c=t;t=o(e),t===c?a[t].p(e,r):(me(),be(a[c],1,1,(()=>{a[c]=null})),ge(),n=a[t],n?n.p(e,r):(n=a[t]=i[t](e),n.c()),ye(n,1),n.m(s.parentNode,s))},i(e){r||(ye(n),r=!0)},o(e){be(n),r=!1},d(e){a[t].d(e),e&&y(s)}}}function ot(e){let n,s;const r=[{segment:e[2][0]},e[3].props];let i={$$slots:{default:[at]},$$scope:{ctx:e}};for(let e=0;e<r.length;e+=1)i=t(i,r[e]);return n=new Ze({props:i}),{c(){$e(n.$$.fragment)},l(e){_e(n.$$.fragment,e)},m(e,t){ke(n,e,t),s=!0},p(e,[t]){const s=12&t?ve(r,[4&t&&{segment:e[2][0]},8&t&&we(e[3].props)]):{};147&t&&(s.$$scope={dirty:t,ctx:e}),n.$set(s)},i(e){s||(ye(n.$$.fragment,e),s=!0)},o(e){be(n.$$.fragment,e),s=!1},d(e){Ee(n,e)}}}function ct(e,t,n){let{stores:s}=t,{error:r}=t,{status:i}=t,{segments:a}=t,{level0:o}=t,{level1:c=null}=t,{notify:l}=t;var u,h;return ee(l),u=Ne,h=s,Q().$$.context.set(u,h),e.$$set=e=>{"stores"in e&&n(5,s=e.stores),"error"in e&&n(0,r=e.error),"status"in e&&n(1,i=e.status),"segments"in e&&n(2,a=e.segments),"level0"in e&&n(3,o=e.level0),"level1"in e&&n(4,c=e.level1),"notify"in e&&n(6,l=e.notify)},[r,i,a,o,c,s,l]}class lt extends Te{constructor(e){super(),Se(this,e,ct,ot,a,{stores:5,error:0,status:1,segments:2,level0:3,level1:4,notify:6})}}const ut=[],ht=[{js:()=>Promise.all([import("./index.909016cd.js"),__inject_styles(["client-31a52aa5.css","createOctokit-a85f76c7.css","index-34afeb8b.css"])]).then((function(e){return e[0]}))},{js:()=>Promise.all([import("./rate-limit-exceeded.5b2f1ed9.js"),__inject_styles(["client-31a52aa5.css","rate-limit-exceeded-88af4d80.css"])]).then((function(e){return e[0]}))},{js:()=>Promise.all([import("./_number_.ba3446bf.js"),__inject_styles(["client-31a52aa5.css","createOctokit-a85f76c7.css","_number_-8cd0a1d0.css"])]).then((function(e){return e[0]}))},{js:()=>Promise.all([import("./_number_.ef771b87.js"),__inject_styles(["client-31a52aa5.css","createOctokit-a85f76c7.css","_number_-ff25848c.css"])]).then((function(e){return e[0]}))},{js:()=>Promise.all([import("./error.c1b6fbf2.js"),__inject_styles(["client-31a52aa5.css","error-37eeedae.css"])]).then((function(e){return e[0]}))}],dt=(pt=decodeURIComponent,[{pattern:/^\/$/,parts:[{i:0}]},{pattern:/^\/rate-limit-exceeded\/?$/,parts:[{i:1}]},{pattern:/^\/incident\/([^/]+?)\/?$/,parts:[null,{i:2,params:e=>({number:pt(e[1])})}]},{pattern:/^\/history\/([^/]+?)\/?$/,parts:[null,{i:3,params:e=>({number:pt(e[1])})}]},{pattern:/^\/error\/?$/,parts:[{i:4}]}]);var pt;
/*! *****************************************************************************
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 ft(e,t,n,s){return new(n||(n=Promise))((function(r,i){function a(e){try{c(s.next(e))}catch(e){i(e)}}function o(e){try{c(s.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,o)}c((s=s.apply(e,t||[])).next())}))}function mt(e){for(;e&&"A"!==e.nodeName.toUpperCase();)e=e.parentNode;return e}let gt,yt=1;const bt="undefined"!=typeof history?history:{pushState:()=>{},replaceState:()=>{},scrollRestoration:"auto"},vt={};let wt,$t;const _t=e=>"undefined"!=typeof URLSearchParams?[...new URLSearchParams(e).entries()]:e.slice(1).split("&").map((e=>{const[,t,n=""]=/([^=]*)(?:=([\S\s]*))?/.exec(decodeURIComponent(e.replace(/\+/g," ")));return[t,n]}));function kt(e){const t=Object.create(null);return e.length?_t(e).reduce(((e,[t,n])=>("string"==typeof e[t]&&(e[t]=[e[t]]),"object"==typeof e[t]?e[t].push(n):e[t]=n,e)),t):t}function Et(e){if(e.origin!==location.origin)return null;if(!e.pathname.startsWith(wt))return null;let t=e.pathname.slice(wt.length);if(""===t&&(t="/"),!ut.some((e=>e.test(t))))for(let n=0;n<dt.length;n+=1){const s=dt[n],r=s.pattern.exec(t);if(r){const n=kt(e.search),i=s.parts[s.parts.length-1],a=i.params?i.params(r):{},o={host:location.host,path:t,query:n,params:a};return{href:e.href,route:s,match:r,page:o}}}}function xt(e){if(1!==function(e){return null===e.which?e.button:e.which}(e))return;if(e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;if(e.defaultPrevented)return;const t=mt(e.target);if(!t)return;if(!t.href)return;const n="object"==typeof t.href&&"SVGAnimatedString"===t.href.constructor.name,s=String(n?t.href.baseVal:t.href);if(s===location.href)return void(location.hash||e.preventDefault());if(t.hasAttribute("download")||"external"===t.getAttribute("rel"))return;if(n?t.target.baseVal:t.target)return;const r=new URL(s);if(r.pathname===location.pathname&&r.search===location.search)return;const i=Et(r);if(i){At(i,null,t.hasAttribute("sapper:noscroll"),r.hash),e.preventDefault(),bt.pushState({id:gt},"",r.href)}}function St(){return{x:pageXOffset,y:pageYOffset}}function Tt(e){if(vt[gt]=St(),e.state){const t=Et(new URL(location.href));t?At(t,e.state.id):location.href=location.href}else!function(e){yt=e}(yt+1),function(e){gt=e}(yt),bt.replaceState({id:gt},"",location.href)}function At(e,t,n,s){return ft(this,void 0,void 0,(function*(){const r=!!t;if(r)gt=t;else{const e=St();vt[gt]=e,gt=t=++yt,vt[gt]=n?e:{x:0,y:0}}if(yield $t(e),document.activeElement&&document.activeElement instanceof HTMLElement&&document.activeElement.blur(),!n){let e,n=vt[t];s&&(e=document.getElementById(s.slice(1)),e&&(n={x:0,y:e.getBoundingClientRect().top+scrollY})),vt[gt]=n,n&&(r||e)?scrollTo(n.x,n.y):scrollTo(0,0)}}))}function Pt(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}let Nt,It=null;function Lt(e){const t=mt(e.target);t&&t.hasAttribute("sapper:prefetch")&&function(e){const t=Et(new URL(e,Pt(document)));if(t)It&&e===It.href||(It={href:e,promise:Ft(t)}),It.promise}(t.href)}function Rt(e){clearTimeout(Nt),Nt=setTimeout((()=>{Lt(e)}),20)}function Ot(e,t={noscroll:!1,replaceState:!1}){const n=Et(new URL(e,Pt(document)));if(n){const s=At(n,null,t.noscroll);return bt[t.replaceState?"replaceState":"pushState"]({id:gt},"",e),s}return location.href=e,new Promise((()=>{}))}const Ct="undefined"!=typeof __SAPPER__&&__SAPPER__;let Ht,jt,Mt,Ut=!1,zt=[],Dt="{}";const Gt={page:function(e){const t=Pe(e);let n=!0;return{notify:function(){n=!0,t.update((e=>e))},set:function(e){n=!1,t.set(e)},subscribe:function(e){let s;return t.subscribe((t=>{(void 0===s||n&&t!==s)&&e(s=t)}))}}}({}),preloading:Pe(null),session:Pe(Ct&&Ct.session)};let qt,Bt,Kt;function Jt(e){var t,n;return t=e.target,Kt=t,n=Ct.baseUrl,wt=n,$t=Wt,"scrollRestoration"in bt&&(bt.scrollRestoration="manual"),addEventListener("beforeunload",(()=>{bt.scrollRestoration="auto"})),addEventListener("load",(()=>{bt.scrollRestoration="manual"})),addEventListener("click",xt),addEventListener("popstate",Tt),addEventListener("touchstart",Lt),addEventListener("mousemove",Rt),Ct.error?Promise.resolve().then((()=>function(){const{host:e,pathname:t,search:n}=location,{session:s,preloaded:r,status:i,error:a}=Ct;Mt||(Mt=r&&r[0]);const o={error:a,status:i,session:s,level0:{props:Mt},level1:{props:{status:i,error:a},component:st},segments:r},c=kt(n);Yt([],o,{host:e,path:t,query:c,params:{},error:a})}())):Promise.resolve().then((()=>{const{hash:e,href:t}=location;bt.replaceState({id:yt},"",t);const n=Et(new URL(location.href));if(n)return At(n,yt,!0,e)}))}function Vt(e,t){const{error:n}=e;return Object.assign({error:n},t)}function Wt(e){return ft(this,void 0,void 0,(function*(){Ht&&Gt.preloading.set(!0);const t=function(e){return It&&It.href===e.href?It.promise:Ft(e)}(e),n=jt={},s=yield t,{redirect:r}=s;if(n===jt)if(r)yield Ot(r.location,{replaceState:!0});else{const{props:t,branch:n}=s;yield Yt(n,t,Vt(t,e.page))}}))}function Yt(e,t,n){return ft(this,void 0,void 0,(function*(){Gt.page.set(n),Gt.preloading.set(!1),Ht?Ht.$set(t):(t.stores={page:{subscribe:Gt.page.subscribe},preloading:{subscribe:Gt.preloading.subscribe},session:Gt.session},t.level0={props:yield Mt},t.notify=Gt.page.notify,Ht=new lt({target:Kt,props:t,hydrate:!0})),zt=e,Dt=JSON.stringify(n.query),Ut=!0,Bt=!1}))}function Ft(e){return ft(this,void 0,void 0,(function*(){const{route:t,page:n}=e,s=n.path.split("/").filter(Boolean);let r=null;const i={error:null,status:200,segments:[s[0]]},a={fetch:(e,t)=>fetch(e,t),redirect:(e,t)=>{if(r&&(r.statusCode!==e||r.location!==t))throw new Error("Conflicting redirects");r={statusCode:e,location:t}},error:(e,t)=>{i.error="string"==typeof t?new Error(t):t,i.status=e}};if(!Mt){const e=()=>({});Mt=Ct.preloaded[0]||e.call(a,{host:n.host,path:n.path,query:n.query,params:{}},qt)}let o,c=1;try{const r=JSON.stringify(n.query),l=t.pattern.exec(n.path);let u=!1;o=yield Promise.all(t.parts.map(((t,o)=>ft(this,void 0,void 0,(function*(){const h=s[o];if(function(e,t,n,s){if(s!==Dt)return!0;const r=zt[e];return!!r&&(t!==r.segment||!(!r.match||JSON.stringify(r.match.slice(1,e+2))===JSON.stringify(n.slice(1,e+2)))||void 0)}(o,h,l,r)&&(u=!0),i.segments[c]=s[o+1],!t)return{segment:h};const d=c++;let p;if(Bt||u||!zt[o]||zt[o].part!==t.i){u=!1;const{default:s,preload:r}=yield ht[t.i].js();let i;i=Ut||!Ct.preloaded[o+1]?r?yield r.call(a,{host:n.host,path:n.path,query:n.query,params:t.params?t.params(e.match):{}},qt):{}:Ct.preloaded[o+1],p={component:s,props:i,segment:h,match:l,part:t.i}}else p=zt[o];return i[`level${d}`]=p})))))}catch(e){i.error=e,i.status=500,o=[]}return{redirect:r,props:i,branch:o}}))}Gt.session.subscribe((e=>ft(void 0,void 0,void 0,(function*(){if(qt=e,!Ut)return;Bt=!0;const t=Et(new URL(location.href)),n=jt={},{redirect:s,props:r,branch:i}=yield Ft(t);n===jt&&(s?yield Ot(s.location,{replaceState:!0}):yield Yt(i,r,Vt(r,t.page)))})))),"loading"!==document.readyState?Jt({target:document.querySelector("#sapper")}):document.addEventListener("DOMContentLoaded",(function(){Jt({target:document.querySelector("#sapper")})}));export{z as A,P as B,E as C,r as D,se as E,U as F,c as G,Y as H,h as I,G as J,V as K,De as L,w as M,C as N,Ot as O,D as P,x as Q,t as R,Te as S,A as T,ee as U,te as V,u as W,ve as X,we as Y,ce as Z,J as _,_ as a,O as b,j as c,N as d,v as e,y as f,S as g,g as h,Se as i,me as j,ge as k,ye as l,$ as m,H as n,Z as o,f as p,e as q,Ie as r,a as s,be as t,k as u,b as v,$e as w,_e as x,ke as y,Ee as z};
import __inject_styles from './inject_styles.803b7e80.js';