mirror of
https://github.com/dataforcanada/d4c-service-status.git
synced 2026-06-13 14:10:51 +02:00
18 lines
43 KiB
JavaScript
18 lines
43 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 r(){return Object.create(null)}function s(t){t.forEach(n)}function a(t){return"function"==typeof t}function o(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let i;function c(t,e){return i||(i=document.createElement("a")),i.href=e,t===i.href}function l(t,n,r,s){return t[1]&&s?e(r.ctx.slice(),t[1](s(n))):r.ctx}function u(t){const e={};for(const n in t)"$"!==n[0]&&(e[n]=t[n]);return e}function d(t){return null==t?"":t}let f=!1;function h(t,e,n,r){for(;t<e;){const s=t+(e-t>>1);n(s)<=r?t=s+1:e=s}return t}function p(t,e){if(f){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 s=0;for(let t=0;t<e.length;t++){const a=e[t].claim_order,o=(s>0&&e[n[s]].claim_order<=a?s+1:h(1,s,t=>e[n[t]].claim_order,a))-1;r[t]=n[o]+1;const i=o+1;n[i]=t,s=Math.max(i,s)}const a=[],o=[];let i=e.length-1;for(let t=n[s]+1;0!=t;t=r[t-1]){for(a.push(e[t-1]);i>=t;i--)o.push(e[i]);i--}for(;i>=0;i--)o.push(e[i]);a.reverse(),o.sort((t,e)=>t.claim_order-e.claim_order);for(let e=0,n=0;e<o.length;e++){for(;n<a.length&&o[e].claim_order>=a[n].claim_order;)n++;const r=n<a.length?a[n]:null;t.insertBefore(o[e],r)}}(t),(void 0===t.actual_end_child||null!==t.actual_end_child&&t.actual_end_child.parentNode!==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 m(t,e,n){t.insertBefore(e,n||null)}function g(t,e,n){f&&!n?p(t,e):e.parentNode===t&&e.nextSibling==n||t.insertBefore(e,n||null)}function b(t){t.parentNode&&t.parentNode.removeChild(t)}function v(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function w(t){return document.createElement(t)}function y(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function _(t){return document.createTextNode(t)}function $(){return _(" ")}function E(){return _("")}function S(t,e,n,r){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n,r)}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)}const P=["width","height"];function A(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const r in e)null==e[r]?t.removeAttribute(r):"style"===r?t.style.cssText=e[r]:"__value"===r?t.value=t[r]=e[r]:n[r]&&n[r].set&&-1===P.indexOf(r)?t[r]=e[r]:T(t,r,e[r])}function L(t){let e;return{p(){for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];e=r,e.forEach(e=>t.push(e))},r(){e.forEach(e=>t.splice(t.indexOf(e),1))}}}function N(t){return Array.from(t.childNodes)}function I(t){void 0===t.claim_info&&(t.claim_info={last_index:0,total_claimed:0})}function k(t,e,n,r){let s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];I(t);const a=(()=>{for(let r=t.claim_info.last_index;r<t.length;r++){const a=t[r];if(e(a)){const e=n(a);return void 0===e?t.splice(r,1):t[r]=e,s||(t.claim_info.last_index=r),a}}for(let r=t.claim_info.last_index-1;r>=0;r--){const a=t[r];if(e(a)){const e=n(a);return void 0===e?t.splice(r,1):t[r]=e,s?void 0===e&&t.claim_info.last_index--:t.claim_info.last_index=r,a}}return r()})();return a.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,a}function R(t,e,n,r){return k(t,t=>t.nodeName===e,t=>{const e=[];for(let r=0;r<t.attributes.length;r++){const s=t.attributes[r];n[s.name]||e.push(s.name)}e.forEach(e=>t.removeAttribute(e))},()=>r(e))}function O(t,e,n){return R(t,e,n,w)}function C(t,e,n){return R(t,e,n,y)}function M(t,e){return k(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),!0)}function H(t){return M(t," ")}function U(t,e,n){for(let r=n;r<t.length;r+=1){const n=t[r];if(8===n.nodeType&&n.textContent.trim()===e)return r}return t.length}function j(t,e){const n=U(t,"HTML_TAG_START",0),r=U(t,"HTML_TAG_END",n);if(n===r)return new Y(void 0,e);I(t);const s=t.splice(n,r-n+1);b(s[0]),b(s[s.length-1]);const a=s.slice(1,s.length-1);for(const e of a)e.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new Y(a,e)}function D(t,e){e=""+e,t.data!==e&&(t.data=e)}function G(t,e){t.value=null==e?"":e}function B(t,e,n,r){null==n?t.style.removeProperty(e):t.style.setProperty(e,n,r?"important":"")}let z,q;function K(){if(void 0===z){z=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(t){z=!0}}return z}function W(t,e){"static"===getComputedStyle(t).position&&(t.style.position="relative");const n=w("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 r=K();let s;return r?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=S(window,"message",t=>{t.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{s=S(n.contentWindow,"resize",e),e()}),function(t,e){t.appendChild(e)}(t,n),()=>{(r||s&&n.contentWindow)&&s(),b(n)}}function J(t,e){const n=[];let r=0;for(const s of e.childNodes)if(8===s.nodeType){const e=s.textContent.trim();e==="HEAD_".concat(t,"_END")?(r-=1,n.push(s)):e==="HEAD_".concat(t,"_START")&&(r+=1,n.push(s))}else r>0&&n.push(s);return n}class V{constructor(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.is_svg=!1,this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.e||(this.is_svg?this.e=y(e.nodeName):this.e=w(11===e.nodeType?"TEMPLATE":e.nodeName),this.t="TEMPLATE"!==e.tagName?e:e.content,this.c(t)),this.i(n)}h(t){this.e.innerHTML=t,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)m(this.t,this.n[e],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(b)}}class Y extends V{constructor(t){super(arguments.length>1&&void 0!==arguments[1]&&arguments[1]),this.e=this.n=null,this.l=t}c(t){this.l?this.n=this.l:super.c(t)}i(t){for(let e=0;e<this.n.length;e+=1)g(this.t,this.n[e],t)}}function F(t,e){return new t(e)}function X(t){q=t}function Z(){if(!q)throw new Error("Function called outside component initialization");return q}function Q(t){Z().$$.on_mount.push(t)}function tt(t){Z().$$.after_update.push(t)}function et(t){Z().$$.on_destroy.push(t)}const nt=[],rt=[];let st=[];const at=[],ot=Promise.resolve();let it=!1;function ct(t){st.push(t)}const lt=new Set;let ut=0;function dt(){if(0!==ut)return;const t=q;do{try{for(;ut<nt.length;){const t=nt[ut];ut++,X(t),ft(t.$$)}}catch(t){throw nt.length=0,ut=0,t}for(X(null),nt.length=0,ut=0;rt.length;)rt.pop()();for(let t=0;t<st.length;t+=1){const e=st[t];lt.has(e)||(lt.add(e),e())}st.length=0}while(nt.length);for(;at.length;)at.pop()();it=!1,lt.clear(),X(t)}function ft(t){if(null!==t.fragment){t.update(),s(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(ct)}}const ht=new Set;let pt;function mt(){pt={r:0,c:[],p:pt}}function gt(){pt.r||s(pt.c),pt=pt.p}function bt(t,e){t&&t.i&&(ht.delete(t),t.i(e))}function vt(t,e,n,r){if(t&&t.o){if(ht.has(t))return;ht.add(t),pt.c.push(()=>{ht.delete(t),r&&(n&&t.d(1),r())}),t.o(e)}else r&&r()}function wt(t,e){const n={},r={},s={$$scope:1};let a=t.length;for(;a--;){const o=t[a],i=e[a];if(i){for(const t in o)t in i||(r[t]=1);for(const t in i)s[t]||(n[t]=i[t],s[t]=1);t[a]=i}else for(const t in o)s[t]=1}for(const t in r)t in n||(n[t]=void 0);return n}function yt(t){return"object"==typeof t&&null!==t?t:{}}function _t(t){t&&t.c()}function $t(t,e){t&&t.l(e)}function Et(t,e,r,o){const{fragment:i,after_update:c}=t.$$;i&&i.m(e,r),o||ct(()=>{const e=t.$$.on_mount.map(n).filter(a);t.$$.on_destroy?t.$$.on_destroy.push(...e):s(e),t.$$.on_mount=[]}),c.forEach(ct)}function St(t,e){const n=t.$$;null!==n.fragment&&(!function(t){const e=[],n=[];st.forEach(r=>-1===t.indexOf(r)?e.push(r):n.push(r)),n.forEach(t=>t()),st=e}(n.after_update),s(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function xt(t,e){-1===t.$$.dirty[0]&&(nt.push(t),it||(it=!0,ot.then(dt)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function Tt(e,n,a,o,i,c,l){let u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:[-1];const d=q;X(e);const h=e.$$={fragment:null,ctx:[],props:c,update:t,not_equal:i,bound:r(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(d?d.$$.context:[])),callbacks:r(),dirty:u,skip_bound:!1,root:n.target||d.$$.root};l&&l(h.root);let p=!1;if(h.ctx=a?a(e,n.props||{},function(t,n){const r=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:n;return h.ctx&&i(h.ctx[t],h.ctx[t]=r)&&(!h.skip_bound&&h.bound[t]&&h.bound[t](r),p&&xt(e,t)),n}):[],h.update(),p=!0,s(h.before_update),h.fragment=!!o&&o(h.ctx),n.target){if(n.hydrate){f=!0;const t=N(n.target);h.fragment&&h.fragment.l(t),t.forEach(b)}else h.fragment&&h.fragment.c();n.intro&&bt(e.$$.fragment),Et(e,n.target,n.anchor,n.customElement),f=!1,dt()}X(d)}class Pt{$destroy(){St(this,1),this.$destroy=t}$on(e,n){if(!a(n))return t;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(n),()=>{const t=r.indexOf(n);-1!==t&&r.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 At=[];function Lt(e){let n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;const s=new Set;function a(t){if(o(e,t)&&(e=t,n)){const t=!At.length;for(const t of s)t[1](),At.push(t,e);if(t){for(let t=0;t<At.length;t+=2)At[t][0](At[t+1]);At.length=0}}}return{set:a,update:function(t){a(t(e))},subscribe:function(o){const i=[o,arguments.length>1&&void 0!==arguments[1]?arguments[1]:t];return s.add(i),1===s.size&&(n=r(a)||t),o(e),()=>{s.delete(i),0===s.size&&n&&(n(),n=null)}}}}const Nt={};var It={owner:"dataforcanada",repo:"status.dataforcanada.org",sites:[{name:"Main Website",url:"https://www.dataforcanada.org",favicon:"https://raw.githubusercontent.com/dataforcanada/www.dataforcanada.org/refs/heads/main/static/favicon-32x32.png"},{name:"BitTorrent Tracker",url:"https://tracker.dataforcanada.org"},{name:"Production Ready Data",url:"https://data-01.dataforcanada.org"},{name:"Data in the Lab",url:"https://data-01.labs.dataforcanada.org",type:"globalping",check:"http",location:"Toronto+CA"},{name:"Static Assets (Prod)",url:"https://static-01.dataforcanada.org"},{name:"Static Assets (Labs)",url:"https://static-01.labs.dataforcanada.org"},{name:"Tile Server (Prod)",url:"https://tiles-01.dataforcanada.org",expectedStatusCodes:[404]},{name:"Tile Server (Labs)",url:"https://tiles-01.labs.dataforcanada.org",expectedStatusCodes:[404]},{name:"Panoramax (Prod)",url:"https://panoramax-01.dataforcanada.org"},{name:"Panoramax (Labs)",url:"https://panoramax-01.labs.dataforcanada.org"},{name:"Martin (Prod)",url:"https://martin-01.dataforcanada.org"},{name:"Martin (Labs)",url:"https://martin-01.labs.dataforcanada.org"},{name:"Pelias (Prod)",url:"https://pelias-01.dataforcanada.org"},{name:"Pelias (Labs)",url:"https://pelias-01.labs.dataforcanada.org"},{name:"GeoServer (Prod)",url:"https://geoserver-01.dataforcanada.org"},{name:"GeoServer (Labs)",url:"https://geoserver-01.labs.dataforcanada.org"},{name:"ZOO-Project (Prod)",url:"https://zoo-project-01.dataforcanada.org"},{name:"ZOO-Project (Labs)",url:"https://zoo-project-01.labs.dataforcanada.org"},{name:"BBOX Server (Prod)",url:"https://bbox-01.dataforcanada.org"},{name:"BBOX Server (Labs)",url:"https://bbox-01.labs.dataforcanada.org"},{name:"Torrent Index (Prod)",url:"https://index.dataforcanada.org"},{name:"Torrent Index (Labs)",url:"https://index.labs.dataforcanada.org"},{name:"Source Code",url:"https://git.dataforcanada.org"}],assignees:["diegoripley"],"status-website":{cname:"status.dataforcanada.org",theme:"light",logoUrl:"https://raw.githubusercontent.com/dataforcanada/www.dataforcanada.org/refs/heads/main/static/logo.svg",name:"Status Page for the Data for Canada Project",introTitle:"Status Page for the Data for Canada Project",introMessage:"This is a status page which uses **real-time** data from our [GitHub repository](https://github.com/dataforcanada/status.dataforcanada.org).",navbar:[{title:"Status Updates",href:"https://github.com/dataforcanada/status.dataforcanada.org"},{title:"Main Website",href:"https://www.dataforcanada.org"}]},workflowSchedule:{graphs:"0 0 * * *",responseTime:"0 23 * * *",staticSite:"0 1 * * *",summary:"0 0 * * *",updateTemplate:"0 0 * * *",updates:"0 3 * * *",uptime:"*/15 * * * *"},"user-agent":"diegoripley",path:"https://status.dataforcanada.org",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",locale:"en-US"}};function kt(t,e,n){const r=t.slice();return r[1]=e[n],r}function Rt(e){let n,r,s,a=It["status-website"]&&!It["status-website"].hideNavLogo&&function(){let e,n;return{c(){e=w("img"),this.h()},l(t){e=O(t,"IMG",{alt:!0,src:!0,class:!0}),this.h()},h(){T(e,"alt",""),c(e.src,n=It["status-website"].logoUrl)||T(e,"src",n),T(e,"class","svelte-a08hsz")},m(t,n){g(t,e,n)},p:t,d(t){t&&b(e)}}}(),o=It["status-website"]&&!It["status-website"].hideNavTitle&&function(){let e,n,r=It["status-website"].name+"";return{c(){e=w("div"),n=_(r)},l(t){e=O(t,"DIV",{});var s=N(e);n=M(s,r),s.forEach(b)},m(t,r){g(t,e,r),p(e,n)},p:t,d(t){t&&b(e)}}}();return{c(){n=w("div"),r=w("a"),a&&a.c(),s=$(),o&&o.c(),this.h()},l(t){n=O(t,"DIV",{});var e=N(n);r=O(e,"A",{href:!0,class:!0});var i=N(r);a&&a.l(i),s=H(i),o&&o.l(i),i.forEach(b),e.forEach(b),this.h()},h(){T(r,"href",It["status-website"].logoHref||It.path),T(r,"class","logo svelte-a08hsz")},m(t,e){g(t,n,e),p(n,r),a&&a.m(r,null),p(r,s),o&&o.m(r,null)},p(t,e){It["status-website"]&&!It["status-website"].hideNavLogo&&a.p(t,e),It["status-website"]&&!It["status-website"].hideNavTitle&&o.p(t,e)},d(t){t&&b(n),a&&a.d(),o&&o.d()}}}function Ot(t){let e,n,r,s,a,o=t[1].title+"";return{c(){e=w("li"),n=w("a"),r=_(o),a=$(),this.h()},l(t){e=O(t,"LI",{});var s=N(e);n=O(s,"A",{"aria-current":!0,href:!0,target:!0,class:!0});var i=N(n);r=M(i,o),i.forEach(b),a=H(s),s.forEach(b),this.h()},h(){T(n,"aria-current",s=t[0]===("/"===t[1].href?void 0:t[1].href)?"page":void 0),T(n,"href",t[1].href.replace("$OWNER",It.owner).replace("$REPO",It.repo)),T(n,"target",t[1].target||"_self"),T(n,"class","svelte-a08hsz")},m(t,s){g(t,e,s),p(e,n),p(n,r),p(e,a)},p(t,e){1&e&&s!==(s=t[0]===("/"===t[1].href?void 0:t[1].href)?"page":void 0)&&T(n,"aria-current",s)},d(t){t&&b(e)}}}function Ct(e){let n,r,s,a,o,i=It["status-website"]&&It["status-website"].logoUrl&&Rt(),c=It["status-website"]&&It["status-website"].navbar&&function(t){let e,n=It["status-website"].navbar,r=[];for(let e=0;e<n.length;e+=1)r[e]=Ot(kt(t,n,e));return{c(){for(let t=0;t<r.length;t+=1)r[t].c();e=E()},l(t){for(let e=0;e<r.length;e+=1)r[e].l(t);e=E()},m(t,n){for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,n);g(t,e,n)},p(t,s){if(1&s){let a;for(n=It["status-website"].navbar,a=0;a<n.length;a+=1){const o=kt(t,n,a);r[a]?r[a].p(o,s):(r[a]=Ot(o),r[a].c(),r[a].m(e.parentNode,e))}for(;a<r.length;a+=1)r[a].d(1);r.length=n.length}},d(t){v(r,t),t&&b(e)}}}(e),l=It["status-website"]&&It["status-website"].navbarGitHub&&!It["status-website"].navbar&&function(){let e,n,r,s=It.i18n.navGitHub+"";return{c(){e=w("li"),n=w("a"),r=_(s),this.h()},l(t){e=O(t,"LI",{});var a=N(e);n=O(a,"A",{href:!0,class:!0});var o=N(n);r=M(o,s),o.forEach(b),a.forEach(b),this.h()},h(){T(n,"href","https://github.com/".concat(It.owner,"/").concat(It.repo)),T(n,"class","svelte-a08hsz")},m(t,s){g(t,e,s),p(e,n),p(n,r)},p:t,d(t){t&&b(e)}}}();return{c(){n=w("nav"),r=w("div"),i&&i.c(),s=$(),a=w("ul"),c&&c.c(),o=$(),l&&l.c(),this.h()},l(t){n=O(t,"NAV",{class:!0});var e=N(n);r=O(e,"DIV",{class:!0});var u=N(r);i&&i.l(u),s=H(u),a=O(u,"UL",{class:!0});var d=N(a);c&&c.l(d),o=H(d),l&&l.l(d),d.forEach(b),u.forEach(b),e.forEach(b),this.h()},h(){T(a,"class","svelte-a08hsz"),T(r,"class","container svelte-a08hsz"),T(n,"class","svelte-a08hsz")},m(t,e){g(t,n,e),p(n,r),i&&i.m(r,null),p(r,s),p(r,a),c&&c.m(a,null),p(a,o),l&&l.m(a,null)},p(t,e){let[n]=e;It["status-website"]&&It["status-website"].logoUrl&&i.p(t,n),It["status-website"]&&It["status-website"].navbar&&c.p(t,n),It["status-website"]&&It["status-website"].navbarGitHub&&!It["status-website"].navbar&&l.p(t,n)},i:t,o:t,d(t){t&&b(n),i&&i.d(),c&&c.d(),l&&l.d()}}}function Mt(t,e,n){let{segment:r}=e;return t.$$set=t=>{"segment"in t&&n(0,r=t.segment)},[r]}class Ht extends Pt{constructor(t){super(),Tt(this,t,Mt,Ct,o,{segment:0})}}var Ut={"":["<em>","</em>"],_:["<strong>","</strong>"],"*":["<strong>","</strong>"],"~":["<s>","</s>"],"\n":["<br />"]," ":["<br />"],"-":["<hr />"]};function jt(t){return t.replace(RegExp("^"+(t.match(/^(\t| )+/)||"")[0],"gm"),"")}function Dt(t){return(t+"").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}function Gt(t,e){var n,r,s,a,o,i=/((?:^|\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||{},d=0;function f(t){var e=Ut[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+=f(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,"");s=i.exec(t);)r=t.substring(d,s.index),d=i.lastIndex,n=s[0],r.match(/[^\\](\\\\)*\\$/)||((o=s[3]||s[4])?n='<pre class="code '+(s[4]?"poetry":s[2].toLowerCase())+'"><code'+(s[2]?' class="language-'+s[2].toLowerCase()+'"':"")+">"+jt(Dt(o).replace(/^\n+|\n+$/g,""))+"</code></pre>":(o=s[6])?(o.match(/\./)&&(s[5]=s[5].replace(/^\d+/gm,"")),a=Gt(jt(s[5].replace(/^\s*[>*+.-]/gm,""))),">"==o?o="blockquote":(o=o.match(/\./)?"ol":"ul",a=a.replace(/^(.*)(\n|$)/gm,"<li>$1</li>")),n="<"+o+">"+a+"</"+o+">"):s[8]?n='<img src="'+Dt(s[8])+'" alt="'+Dt(s[7])+'">':s[10]?(l=l.replace("<a>",'<a href="'+Dt(s[11]||u[r.toLowerCase()])+'">'),n=h()+"</a>"):s[9]?n="<a>":s[12]||s[14]?n="<"+(o="h"+(s[14]?s[14].length:s[13]>"="?1:2))+">"+Gt(s[12]||s[15],u)+"</"+o+">":s[16]?n="<code>"+Dt(s[16])+"</code>":(s[17]||s[1])&&(n=f(s[17]||"--"))),l+=r,l+=n;return(l+t.substring(d)+h()).replace(/^\n+|\n+$/g,"")}function Bt(t,e,n){const r=t.slice();return r[3]=e[n],r}function zt(t,e,n){const r=t.slice();return r[3]=e[n],r}function qt(t,e,n){const r=t.slice();return r[8]=e[n],r}function Kt(e){let n,r,s,a,o,i;return{c(){n=w("script"),r=_("// 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 }"),s=$(),a=w("link"),o=$(),i=w("link"),this.h()},l(t){n=O(t,"SCRIPT",{});var e=N(n);r=M(e,"// 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 }"),e.forEach(b),s=H(t),a=O(t,"LINK",{rel:!0,href:!0,media:!0}),o=H(t),i=O(t,"LINK",{rel:!0,href:!0,media:!0}),this.h()},h(){T(a,"rel","stylesheet"),T(a,"href","".concat(It.path,"/themes/light.css")),T(a,"media","(prefers-color-scheme: light)"),T(i,"rel","stylesheet"),T(i,"href","".concat(It.path,"/themes/dark.css")),T(i,"media","(prefers-color-scheme: dark)")},m(t,e){g(t,n,e),p(n,r),g(t,s,e),g(t,a,e),g(t,o,e),g(t,i,e)},p:t,d(t){t&&b(n),t&&b(s),t&&b(a),t&&b(o),t&&b(i)}}}function Wt(e){let n;return{c(){n=w("link"),this.h()},l(t){n=O(t,"LINK",{rel:!0,href:!0}),this.h()},h(){T(n,"rel","stylesheet"),T(n,"href","".concat(It.path,"/themes/").concat(It["status-website"].theme,".css"))},m(t,e){g(t,n,e)},p:t,d(t){t&&b(n)}}}function Jt(e){let n;return{c(){n=w("link"),this.h()},l(t){n=O(t,"LINK",{rel:!0,href:!0}),this.h()},h(){T(n,"rel","stylesheet"),T(n,"href",(It["status-website"]||{}).themeUrl)},m(t,e){g(t,n,e)},p:t,d(t){t&&b(n)}}}function Vt(e){let n,r;return{c(){n=w("script"),this.h()},l(t){n=O(t,"SCRIPT",{src:!0}),N(n).forEach(b),this.h()},h(){c(n.src,r=e[8].src)||T(n,"src",r),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 Yt(e){let n;return{c(){n=w("link"),this.h()},l(t){n=O(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 Ft(e){let n;return{c(){n=w("meta"),this.h()},l(t){n=O(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 Xt(e){let n,r,s,a,o,i,c,u,d,f,h,m,y,_,S,x,P,A,L=Gt(It.i18n.footer.replace(/\$REPO/,"https://github.com/".concat(It.owner,"/").concat(It.repo)))+"",I=(It["status-website"]||{}).customHeadHtml&&function(){let e,n,r=(It["status-website"]||{}).customHeadHtml+"";return{c(){e=new Y(!1),n=E(),this.h()},l(t){e=j(t,!1),n=E(),this.h()},h(){e.a=n},m(t,s){e.m(r,t,s),g(t,n,s)},p:t,d(t){t&&b(n),t&&e.d()}}}();let k=((It["status-website"]||{}).themeUrl?Jt:(It["status-website"]||{}).theme?Wt:Kt)(e),R=(It["status-website"]||{}).scripts&&function(t){let e,n=(It["status-website"]||{}).scripts,r=[];for(let e=0;e<n.length;e+=1)r[e]=Vt(qt(t,n,e));return{c(){for(let t=0;t<r.length;t+=1)r[t].c();e=E()},l(t){for(let e=0;e<r.length;e+=1)r[e].l(t);e=E()},m(t,n){for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,n);g(t,e,n)},p(t,s){if(0&s){let a;for(n=(It["status-website"]||{}).scripts,a=0;a<n.length;a+=1){const o=qt(t,n,a);r[a]?r[a].p(o,s):(r[a]=Vt(o),r[a].c(),r[a].m(e.parentNode,e))}for(;a<r.length;a+=1)r[a].d(1);r.length=n.length}},d(t){v(r,t),t&&b(e)}}}(e),C=(It["status-website"]||{}).links&&function(t){let e,n=(It["status-website"]||{}).links,r=[];for(let e=0;e<n.length;e+=1)r[e]=Yt(zt(t,n,e));return{c(){for(let t=0;t<r.length;t+=1)r[t].c();e=E()},l(t){for(let e=0;e<r.length;e+=1)r[e].l(t);e=E()},m(t,n){for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,n);g(t,e,n)},p(t,s){if(0&s){let a;for(n=(It["status-website"]||{}).links,a=0;a<n.length;a+=1){const o=zt(t,n,a);r[a]?r[a].p(o,s):(r[a]=Yt(o),r[a].c(),r[a].m(e.parentNode,e))}for(;a<r.length;a+=1)r[a].d(1);r.length=n.length}},d(t){v(r,t),t&&b(e)}}}(e),M=(It["status-website"]||{}).metaTags&&function(t){let e,n=(It["status-website"]||{}).metaTags,r=[];for(let e=0;e<n.length;e+=1)r[e]=Ft(Bt(t,n,e));return{c(){for(let t=0;t<r.length;t+=1)r[t].c();e=E()},l(t){for(let e=0;e<r.length;e+=1)r[e].l(t);e=E()},m(t,n){for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,n);g(t,e,n)},p(t,s){if(0&s){let a;for(n=(It["status-website"]||{}).metaTags,a=0;a<n.length;a+=1){const o=Bt(t,n,a);r[a]?r[a].p(o,s):(r[a]=Ft(o),r[a].c(),r[a].m(e.parentNode,e))}for(;a<r.length;a+=1)r[a].d(1);r.length=n.length}},d(t){v(r,t),t&&b(e)}}}(e),U=It["status-website"].css&&function(){let e,n,r="<style>".concat(It["status-website"].css,"</style>")+"";return{c(){e=new Y(!1),n=E(),this.h()},l(t){e=j(t,!1),n=E(),this.h()},h(){e.a=n},m(t,s){e.m(r,t,s),g(t,n,s)},p:t,d(t){t&&b(n),t&&e.d()}}}(),D=It["status-website"].js&&function(){let e,n,r="<script>".concat(It["status-website"].js,"<\/script>")+"";return{c(){e=new Y(!1),n=E(),this.h()},l(t){e=j(t,!1),n=E(),this.h()},h(){e.a=n},m(t,s){e.m(r,t,s),g(t,n,s)},p:t,d(t){t&&b(n),t&&e.d()}}}(),G=(It["status-website"]||{}).customBodyHtml&&function(){let e,n,r=(It["status-website"]||{}).customBodyHtml+"";return{c(){e=new Y(!1),n=E(),this.h()},l(t){e=j(t,!1),n=E(),this.h()},h(){e.a=n},m(t,s){e.m(r,t,s),g(t,n,s)},p:t,d(t){t&&b(n),t&&e.d()}}}();m=new Ht({props:{segment:e[0]}});const B=e[2].default,z=function(t,e,n,r){if(t){const s=l(t,e,n,r);return t[0](s)}}(B,e,e[1],null);return{c(){I&&I.c(),n=E(),k.c(),r=w("link"),s=w("link"),a=w("link"),R&&R.c(),o=E(),C&&C.c(),i=E(),M&&M.c(),c=E(),U&&U.c(),u=E(),D&&D.c(),d=E(),f=$(),G&&G.c(),h=$(),_t(m.$$.fragment),y=$(),_=w("main"),z&&z.c(),S=$(),x=w("footer"),P=w("p"),this.h()},l(t){const e=J("svelte-z1n8lm",document.head);I&&I.l(e),n=E(),k.l(e),r=O(e,"LINK",{rel:!0,href:!0}),s=O(e,"LINK",{rel:!0,type:!0,href:!0}),a=O(e,"LINK",{rel:!0,type:!0,href:!0}),R&&R.l(e),o=E(),C&&C.l(e),i=E(),M&&M.l(e),c=E(),U&&U.l(e),u=E(),D&&D.l(e),d=E(),e.forEach(b),f=H(t),G&&G.l(t),h=H(t),$t(m.$$.fragment,t),y=H(t),_=O(t,"MAIN",{class:!0});var l=N(_);z&&z.l(l),l.forEach(b),S=H(t),x=O(t,"FOOTER",{class:!0});var p=N(x);P=O(p,"P",{}),N(P).forEach(b),p.forEach(b),this.h()},h(){T(r,"rel","stylesheet"),T(r,"href","".concat(It.path,"/global.css")),T(s,"rel","icon"),T(s,"type","image/svg"),T(s,"href",(It["status-website"]||{}).faviconSvg||(It["status-website"]||{}).favicon||"https://raw.githubusercontent.com/upptime/upptime/master/assets/upptime-icon.svg"),T(a,"rel","icon"),T(a,"type","image/png"),T(a,"href",(It["status-website"]||{}).favicon||"/logo-192.png"),T(_,"class","container"),T(x,"class","svelte-jbr799")},m(t,e){I&&I.m(document.head,null),p(document.head,n),k.m(document.head,null),p(document.head,r),p(document.head,s),p(document.head,a),R&&R.m(document.head,null),p(document.head,o),C&&C.m(document.head,null),p(document.head,i),M&&M.m(document.head,null),p(document.head,c),U&&U.m(document.head,null),p(document.head,u),D&&D.m(document.head,null),p(document.head,d),g(t,f,e),G&&G.m(t,e),g(t,h,e),Et(m,t,e),g(t,y,e),g(t,_,e),z&&z.m(_,null),g(t,S,e),g(t,x,e),p(x,P),P.innerHTML=L,A=!0},p(t,e){let[n]=e;(It["status-website"]||{}).customHeadHtml&&I.p(t,n),k.p(t,n),(It["status-website"]||{}).scripts&&R.p(t,n),(It["status-website"]||{}).links&&C.p(t,n),(It["status-website"]||{}).metaTags&&M.p(t,n),It["status-website"].css&&U.p(t,n),It["status-website"].js&&D.p(t,n),(It["status-website"]||{}).customBodyHtml&&G.p(t,n);const r={};1&n&&(r.segment=t[0]),m.$set(r),z&&z.p&&(!A||2&n)&&function(t,e,n,r,s,a){if(s){const o=l(e,n,r,a);t.p(o,s)}}(z,B,t,t[1],A?function(t,e,n,r){if(t[2]&&r){const s=t[2](r(n));if(void 0===e.dirty)return s;if("object"==typeof s){const t=[],n=Math.max(e.dirty.length,s.length);for(let r=0;r<n;r+=1)t[r]=e.dirty[r]|s[r];return t}return e.dirty|s}return e.dirty}(B,t[1],n,null):function(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}(t[1]),null)},i(t){A||(bt(m.$$.fragment,t),bt(z,t),A=!0)},o(t){vt(m.$$.fragment,t),vt(z,t),A=!1},d(t){I&&I.d(t),b(n),k.d(t),b(r),b(s),b(a),R&&R.d(t),b(o),C&&C.d(t),b(i),M&&M.d(t),b(c),U&&U.d(t),b(u),D&&D.d(t),b(d),t&&b(f),G&&G.d(t),t&&b(h),St(m,t),t&&b(y),t&&b(_),z&&z.d(t),t&&b(S),t&&b(x)}}}function Zt(t,e,n){let{$$slots:r={},$$scope:s}=e,{segment:a}=e;return t.$$set=t=>{"segment"in t&&n(0,a=t.segment),"$$scope"in t&&n(1,s=t.$$scope)},[a,s,r]}class Qt extends Pt{constructor(t){super(),Tt(this,t,Zt,Xt,o,{segment:0})}}function te(t){let e,n,r=t[1].stack+"";return{c(){e=w("pre"),n=_(r)},l(t){e=O(t,"PRE",{});var s=N(e);n=M(s,r),s.forEach(b)},m(t,r){g(t,e,r),p(e,n)},p(t,e){2&e&&r!==(r=t[1].stack+"")&&D(n,r)},d(t){t&&b(e)}}}function ee(e){let n,r,s,a,o,i,c,l,u,d=e[1].message+"";document.title=n=e[0];let f=e[2]&&e[1].stack&&te(e);return{c(){r=$(),s=w("h1"),a=_(e[0]),o=$(),i=w("p"),c=_(d),l=$(),f&&f.c(),u=E(),this.h()},l(t){J("svelte-1moakz",document.head).forEach(b),r=H(t),s=O(t,"H1",{class:!0});var n=N(s);a=M(n,e[0]),n.forEach(b),o=H(t),i=O(t,"P",{class:!0});var h=N(i);c=M(h,d),h.forEach(b),l=H(t),f&&f.l(t),u=E(),this.h()},h(){T(s,"class","svelte-17w3omn"),T(i,"class","svelte-17w3omn")},m(t,e){g(t,r,e),g(t,s,e),p(s,a),g(t,o,e),g(t,i,e),p(i,c),g(t,l,e),f&&f.m(t,e),g(t,u,e)},p(t,e){let[r]=e;1&r&&n!==(n=t[0])&&(document.title=n),1&r&&D(a,t[0]),2&r&&d!==(d=t[1].message+"")&&D(c,d),t[2]&&t[1].stack?f?f.p(t,r):(f=te(t),f.c(),f.m(u.parentNode,u)):f&&(f.d(1),f=null)},i:t,o:t,d(t){t&&b(r),t&&b(s),t&&b(o),t&&b(i),t&&b(l),f&&f.d(t),t&&b(u)}}}function ne(t,e,n){let{status:r}=e,{error:s}=e;return t.$$set=t=>{"status"in t&&n(0,r=t.status),"error"in t&&n(1,s=t.error)},[r,s,false]}class re extends Pt{constructor(t){super(),Tt(this,t,ne,ee,o,{status:0,error:1})}}function se(t){let n,r,s;const a=[t[4].props];var o=t[4].component;function i(t){let n={};for(let t=0;t<a.length;t+=1)n=e(n,a[t]);return{props:n}}return o&&(n=F(o,i())),{c(){n&&_t(n.$$.fragment),r=E()},l(t){n&&$t(n.$$.fragment,t),r=E()},m(t,e){n&&Et(n,t,e),g(t,r,e),s=!0},p(t,e){const s=16&e?wt(a,[yt(t[4].props)]):{};if(16&e&&o!==(o=t[4].component)){if(n){mt();const t=n;vt(t.$$.fragment,1,0,()=>{St(t,1)}),gt()}o?(n=F(o,i()),_t(n.$$.fragment),bt(n.$$.fragment,1),Et(n,r.parentNode,r)):n=null}else o&&n.$set(s)},i(t){s||(n&&bt(n.$$.fragment,t),s=!0)},o(t){n&&vt(n.$$.fragment,t),s=!1},d(t){t&&b(r),n&&St(n,t)}}}function ae(t){let e,n;return e=new re({props:{error:t[0],status:t[1]}}),{c(){_t(e.$$.fragment)},l(t){$t(e.$$.fragment,t)},m(t,r){Et(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||(bt(e.$$.fragment,t),n=!0)},o(t){vt(e.$$.fragment,t),n=!1},d(t){St(e,t)}}}function oe(t){let e,n,r,s;const a=[ae,se],o=[];function i(t,e){return t[0]?0:1}return e=i(t),n=o[e]=a[e](t),{c(){n.c(),r=E()},l(t){n.l(t),r=E()},m(t,n){o[e].m(t,n),g(t,r,n),s=!0},p(t,s){let c=e;e=i(t),e===c?o[e].p(t,s):(mt(),vt(o[c],1,1,()=>{o[c]=null}),gt(),n=o[e],n?n.p(t,s):(n=o[e]=a[e](t),n.c()),bt(n,1),n.m(r.parentNode,r))},i(t){s||(bt(n),s=!0)},o(t){vt(n),s=!1},d(t){o[e].d(t),t&&b(r)}}}function ie(t){let n,r;const s=[{segment:t[2][0]},t[3].props];let a={$$slots:{default:[oe]},$$scope:{ctx:t}};for(let t=0;t<s.length;t+=1)a=e(a,s[t]);return n=new Qt({props:a}),{c(){_t(n.$$.fragment)},l(t){$t(n.$$.fragment,t)},m(t,e){Et(n,t,e),r=!0},p(t,e){let[r]=e;const a=12&r?wt(s,[4&r&&{segment:t[2][0]},8&r&&yt(t[3].props)]):{};147&r&&(a.$$scope={dirty:r,ctx:t}),n.$set(a)},i(t){r||(bt(n.$$.fragment,t),r=!0)},o(t){vt(n.$$.fragment,t),r=!1},d(t){St(n,t)}}}function ce(t,e,n){let{stores:r}=e,{error:s}=e,{status:a}=e,{segments:o}=e,{level0:i}=e,{level1:c=null}=e,{notify:l}=e;var u,d;return tt(l),u=Nt,d=r,Z().$$.context.set(u,d),t.$$set=t=>{"stores"in t&&n(5,r=t.stores),"error"in t&&n(0,s=t.error),"status"in t&&n(1,a=t.status),"segments"in t&&n(2,o=t.segments),"level0"in t&&n(3,i=t.level0),"level1"in t&&n(4,c=t.level1),"notify"in t&&n(6,l=t.notify)},[s,a,o,i,c,r,l]}class le extends Pt{constructor(t){super(),Tt(this,t,ce,ie,o,{stores:5,error:0,status:1,segments:2,level0:3,level1:4,notify:6})}}const ue=[],de=[{js:()=>Promise.all([import("./index.0ddcda5e.js"),__inject_styles(["client-31a52aa5.css","createOctokit-a85f76c7.css","index-b0b6455a.css"])]).then(function(t){return t[0]})},{js:()=>Promise.all([import("./rate-limit-exceeded.1382c30c.js"),__inject_styles(["client-31a52aa5.css","rate-limit-exceeded-88af4d80.css"])]).then(function(t){return t[0]})},{js:()=>Promise.all([import("./_number_.7c32040a.js"),__inject_styles(["client-31a52aa5.css","createOctokit-a85f76c7.css","_number_-d4d16748.css"])]).then(function(t){return t[0]})},{js:()=>Promise.all([import("./_number_.ecac43ea.js"),__inject_styles(["client-31a52aa5.css","createOctokit-a85f76c7.css","_number_-971b332f.css"])]).then(function(t){return t[0]})},{js:()=>Promise.all([import("./error.793a56ae.js"),__inject_styles(["client-31a52aa5.css","error-37eeedae.css"])]).then(function(t){return t[0]})}],fe=(he=decodeURIComponent,[{pattern:/^\/$/,parts:[{i:0}]},{pattern:/^\/rate-limit-exceeded\/?$/,parts:[{i:1}]},{pattern:/^\/incident\/([^/]+?)\/?$/,parts:[null,{i:2,params:t=>({number:he(t[1])})}]},{pattern:/^\/history\/([^/]+?)\/?$/,parts:[null,{i:3,params:t=>({number:he(t[1])})}]},{pattern:/^\/error\/?$/,parts:[{i:4}]}]);var he;
|
|
/*! *****************************************************************************
|
|
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 pe(t,e,n,r){return new(n||(n=Promise))(function(s,a){function o(t){try{c(r.next(t))}catch(t){a(t)}}function i(t){try{c(r.throw(t))}catch(t){a(t)}}function c(t){var e;t.done?s(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(o,i)}c((r=r.apply(t,e||[])).next())})}function me(t){for(;t&&"A"!==t.nodeName.toUpperCase();)t=t.parentNode;return t}let ge,be=1;const ve="undefined"!=typeof history?history:{pushState:()=>{},replaceState:()=>{},scrollRestoration:"auto"},we={};let ye,_e;const $e=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]});function Ee(t){const e=Object.create(null);return t.length?$e(t).reduce((t,e)=>{let[n,r]=e;return"string"==typeof t[n]&&(t[n]=[t[n]]),"object"==typeof t[n]?t[n].push(r):t[n]=r,t},e):e}function Se(t){if(t.origin!==location.origin)return null;if(!t.pathname.startsWith(ye))return null;let e=t.pathname.slice(ye.length);if(""===e&&(e="/"),!ue.some(t=>t.test(e)))for(let n=0;n<fe.length;n+=1){const r=fe[n],s=r.pattern.exec(e);if(s){const n=Ee(t.search),a=r.parts[r.parts.length-1],o=a.params?a.params(s):{},i={host:location.host,path:e,query:n,params:o};return{href:t.href,route:r,match:s,page:i}}}}function xe(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=me(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 s=new URL(r);if(s.pathname===location.pathname&&s.search===location.search)return;const a=Se(s);if(a){Ae(a,null,e.hasAttribute("sapper:noscroll"),s.hash),t.preventDefault(),ve.pushState({id:ge},"",s.href)}}function Te(){return{x:pageXOffset,y:pageYOffset}}function Pe(t){if(we[ge]=Te(),t.state){const e=Se(new URL(location.href));e?Ae(e,t.state.id):location.href=location.href}else!function(t){be=t}(be+1),function(t){ge=t}(be),ve.replaceState({id:ge},"",location.href)}function Ae(t,e,n,r){return pe(this,void 0,void 0,function*(){const s=!!e;if(s)ge=e;else{const t=Te();we[ge]=t,ge=e=++be,we[ge]=n?t:{x:0,y:0}}if(yield _e(t),document.activeElement&&document.activeElement instanceof HTMLElement&&document.activeElement.blur(),!n){let t,n=we[e];r&&(t=document.getElementById(r.slice(1)),t&&(n={x:0,y:t.getBoundingClientRect().top+scrollY})),we[ge]=n,n&&(s||t)?scrollTo(n.x,n.y):scrollTo(0,0)}})}function Le(t){let e=t.baseURI;if(!e){const n=t.getElementsByTagName("base");e=n.length?n[0].href:t.URL}return e}let Ne,Ie=null;function ke(t){const e=me(t.target);e&&e.hasAttribute("sapper:prefetch")&&function(t){const e=Se(new URL(t,Le(document)));if(e)Ie&&t===Ie.href||(Ie={href:t,promise:Fe(e)}),Ie.promise}(e.href)}function Re(t){clearTimeout(Ne),Ne=setTimeout(()=>{ke(t)},20)}function Oe(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{noscroll:!1,replaceState:!1};const n=Se(new URL(t,Le(document)));if(n){const r=Ae(n,null,e.noscroll);return ve[e.replaceState?"replaceState":"pushState"]({id:ge},"",t),r}return location.href=t,new Promise(()=>{})}const Ce="undefined"!=typeof __SAPPER__&&__SAPPER__;let Me,He,Ue,je=!1,De=[],Ge="{}";const Be={page:function(t){const e=Lt(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:Lt(null),session:Lt(Ce&&Ce.session)};let ze,qe,Ke;function We(t){var e,n;return e=t.target,Ke=e,n=Ce.baseUrl,ye=n,_e=Ve,"scrollRestoration"in ve&&(ve.scrollRestoration="manual"),addEventListener("beforeunload",()=>{ve.scrollRestoration="auto"}),addEventListener("load",()=>{ve.scrollRestoration="manual"}),addEventListener("click",xe),addEventListener("popstate",Pe),addEventListener("touchstart",ke),addEventListener("mousemove",Re),Ce.error?Promise.resolve().then(()=>function(){const{host:t,pathname:e,search:n}=location,{session:r,preloaded:s,status:a,error:o}=Ce;Ue||(Ue=s&&s[0]);const i={error:o,status:a,session:r,level0:{props:Ue},level1:{props:{status:a,error:o},component:re},segments:s},c=Ee(n);Ye([],i,{host:t,path:e,query:c,params:{},error:o})}()):Promise.resolve().then(()=>{const{hash:t,href:e}=location;ve.replaceState({id:be},"",e);const n=Se(new URL(location.href));if(n)return Ae(n,be,!0,t)})}function Je(t,e){const{error:n}=t;return Object.assign({error:n},e)}function Ve(t){return pe(this,void 0,void 0,function*(){Me&&Be.preloading.set(!0);const e=function(t){return Ie&&Ie.href===t.href?Ie.promise:Fe(t)}(t),n=He={},r=yield e,{redirect:s}=r;if(n===He)if(s)yield Oe(s.location,{replaceState:!0});else{const{props:e,branch:n}=r;yield Ye(n,e,Je(e,t.page))}})}function Ye(t,e,n){return pe(this,void 0,void 0,function*(){Be.page.set(n),Be.preloading.set(!1),Me?Me.$set(e):(e.stores={page:{subscribe:Be.page.subscribe},preloading:{subscribe:Be.preloading.subscribe},session:Be.session},e.level0={props:yield Ue},e.notify=Be.page.notify,Me=new le({target:Ke,props:e,hydrate:!0})),De=t,Ge=JSON.stringify(n.query),je=!0,qe=!1})}function Fe(t){return pe(this,void 0,void 0,function*(){const{route:e,page:n}=t,r=n.path.split("/").filter(Boolean);let s=null;const a={error:null,status:200,segments:[r[0]]},o={fetch:(t,e)=>fetch(t,e),redirect:(t,e)=>{if(s&&(s.statusCode!==t||s.location!==e))throw new Error("Conflicting redirects");s={statusCode:t,location:e}},error:(t,e)=>{a.error="string"==typeof e?new Error(e):e,a.status=t}};if(!Ue){const t=()=>({});Ue=Ce.preloaded[0]||t.call(o,{host:n.host,path:n.path,query:n.query,params:{}},ze)}let i,c=1;try{const s=JSON.stringify(n.query),l=e.pattern.exec(n.path);let u=!1;i=yield Promise.all(e.parts.map((e,i)=>pe(this,void 0,void 0,function*(){const d=r[i];if(function(t,e,n,r){if(r!==Ge)return!0;const s=De[t];return!!s&&(e!==s.segment||!(!s.match||JSON.stringify(s.match.slice(1,t+2))===JSON.stringify(n.slice(1,t+2)))||void 0)}(i,d,l,s)&&(u=!0),a.segments[c]=r[i+1],!e)return{segment:d};const f=c++;let h;if(qe||u||!De[i]||De[i].part!==e.i){u=!1;const{default:r,preload:s}=yield de[e.i].js();let a;a=je||!Ce.preloaded[i+1]?s?yield s.call(o,{host:n.host,path:n.path,query:n.query,params:e.params?e.params(t.match):{}},ze):{}:Ce.preloaded[i+1],h={component:r,props:a,segment:d,match:l,part:e.i}}else h=De[i];return a["level".concat(f)]=h})))}catch(t){a.error=t,a.status=500,i=[]}return{redirect:s,props:a,branch:i}})}Be.session.subscribe(t=>pe(void 0,void 0,void 0,function*(){if(ze=t,!je)return;qe=!0;const e=Se(new URL(location.href)),n=He={},{redirect:r,props:s,branch:a}=yield Fe(e);n===He&&(r?yield Oe(r.location,{replaceState:!0}):yield Ye(a,s,Je(s,e.page)))})),"loading"!==document.readyState?We({target:document.querySelector("#sapper")}):document.addEventListener("DOMContentLoaded",function(){We({target:document.querySelector("#sapper")})});export{D as A,L as B,S as C,s as D,rt as E,j as F,c as G,Y as H,d as I,B as J,J as K,Gt as L,y as M,C as N,Oe as O,G as P,x as Q,e as R,Pt as S,A as T,tt as U,et as V,u as W,wt as X,yt as Y,ct as Z,W as _,$ as a,O as b,H as c,N as d,w as e,b as f,T as g,g as h,Tt as i,mt as j,gt as k,bt as l,_ as m,M as n,Q as o,p,t as q,It as r,o as s,vt as t,E as u,v,_t as w,$t as x,Et as y,St as z};
|
|
|
|
import __inject_styles from './inject_styles.099149d9.js'; |