18 lines
45 KiB
JavaScript
18 lines
45 KiB
JavaScript
function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function t(t,n){return function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,s,o,a,i=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(i.push(r.value),i.length!==t);l=!0);}catch(e){c=!0,s=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw s}}return i}}(t,n)||function(t,n){if(t){if("string"==typeof t)return e(t,n);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(){}function r(e,t){for(const n in t)e[n]=t[n];return e}function s(e){return e()}function o(){return Object.create(null)}function a(e){e.forEach(s)}function i(e){return"function"==typeof e}function l(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let c;function u(e,t){return c||(c=document.createElement("a")),c.href=t,e===c.href}function d(e,t,n,s){return e[1]&&s?r(n.ctx.slice(),e[1](s(t))):n.ctx}function h(e){const t={};for(const n in e)"$"!==n[0]&&(t[n]=e[n]);return t}function f(e){return null==e?"":e}let m=!1;function p(e,t,n,r){for(;e<t;){const s=e+(t-e>>1);n(s)<=r?e=s+1:t=s}return e}function g(e,t){if(m){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 r=t[n];void 0!==r.claim_order&&e.push(r)}t=e}const n=new Int32Array(t.length+1),r=new Int32Array(t.length);n[0]=-1;let s=0;for(let e=0;e<t.length;e++){const o=t[e].claim_order,a=(s>0&&t[n[s]].claim_order<=o?s+1:p(1,s,e=>t[n[e]].claim_order,o))-1;r[e]=n[a]+1;const i=a+1;n[i]=e,s=Math.max(i,s)}const o=[],a=[];let i=t.length-1;for(let e=n[s]+1;0!=e;e=r[e-1]){for(o.push(t[e-1]);i>=e;i--)a.push(t[i]);i--}for(;i>=0;i--)a.push(t[i]);o.reverse(),a.sort((e,t)=>e.claim_order-t.claim_order);for(let t=0,n=0;t<a.length;t++){for(;n<o.length&&a[t].claim_order>=o[n].claim_order;)n++;const r=n<o.length?o[n]:null;e.insertBefore(a[t],r)}}(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 v(e,t,n){e.insertBefore(t,n||null)}function y(e,t,n){m&&!n?g(e,t):t.parentNode===e&&t.nextSibling==n||e.insertBefore(t,n||null)}function b(e){e.parentNode&&e.parentNode.removeChild(e)}function w(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function _(e){return document.createElement(e)}function $(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function E(e){return document.createTextNode(e)}function S(){return E(" ")}function x(){return E("")}function T(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function A(e){return function(t){return t.preventDefault(),e.call(this,t)}}function I(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}const P=["width","height"];function k(e,t){const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const r in t)null==t[r]?e.removeAttribute(r):"style"===r?e.style.cssText=t[r]:"__value"===r?e.value=e[r]=t[r]:n[r]&&n[r].set&&-1===P.indexOf(r)?e[r]=t[r]:I(e,r,t[r])}function N(e){let t;return{p(){for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];t=r,t.forEach(t=>e.push(t))},r(){t.forEach(t=>e.splice(e.indexOf(t),1))}}}function L(e){return Array.from(e.childNodes)}function O(e){void 0===e.claim_info&&(e.claim_info={last_index:0,total_claimed:0})}function R(e,t,n,r){let s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];O(e);const o=(()=>{for(let r=e.claim_info.last_index;r<e.length;r++){const o=e[r];if(t(o)){const t=n(o);return void 0===t?e.splice(r,1):e[r]=t,s||(e.claim_info.last_index=r),o}}for(let r=e.claim_info.last_index-1;r>=0;r--){const o=e[r];if(t(o)){const t=n(o);return void 0===t?e.splice(r,1):e[r]=t,s?void 0===t&&e.claim_info.last_index--:e.claim_info.last_index=r,o}}return r()})();return o.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1,o}function C(e,t,n,r){return R(e,e=>e.nodeName===t,e=>{const t=[];for(let r=0;r<e.attributes.length;r++){const s=e.attributes[r];n[s.name]||t.push(s.name)}t.forEach(t=>e.removeAttribute(t))},()=>r(t))}function H(e,t,n){return C(e,t,n,_)}function M(e,t,n){return C(e,t,n,$)}function U(e,t){return R(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},()=>E(t),!0)}function D(e){return U(e," ")}function j(e,t,n){for(let r=n;r<e.length;r+=1){const n=e[r];if(8===n.nodeType&&n.textContent.trim()===t)return r}return e.length}function G(e,t){const n=j(e,"HTML_TAG_START",0),r=j(e,"HTML_TAG_END",n);if(n===r)return new X(void 0,t);O(e);const s=e.splice(n,r-n+1);b(s[0]),b(s[s.length-1]);const o=s.slice(1,s.length-1);for(const t of o)t.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1;return new X(o,t)}function B(e,t){t=""+t,e.data!==t&&(e.data=t)}function q(e,t){e.value=null==t?"":t}function z(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}let V,W;function K(){if(void 0===V){V=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){V=!0}}return V}function F(e,t){"static"===getComputedStyle(e).position&&(e.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 r=K();let s;return r?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=T(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{s=T(n.contentWindow,"resize",t),t()}),function(e,t){e.appendChild(t)}(e,n),()=>{(r||s&&n.contentWindow)&&s(),b(n)}}function J(e,t){const n=[];let r=0;for(const s of t.childNodes)if(8===s.nodeType){const t=s.textContent.trim();t==="HEAD_".concat(e,"_END")?(r-=1,n.push(s)):t==="HEAD_".concat(e,"_START")&&(r+=1,n.push(s))}else r>0&&n.push(s);return n}class Y{constructor(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.e||(this.is_svg?this.e=$(t.nodeName):this.e=_(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)v(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(b)}}class X extends Y{constructor(e){super(arguments.length>1&&void 0!==arguments[1]&&arguments[1]),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)y(this.t,this.n[t],e)}}function Q(e,t){return new e(t)}function Z(e){W=e}function ee(){if(!W)throw new Error("Function called outside component initialization");return W}function te(e){ee().$$.on_mount.push(e)}function ne(e){ee().$$.after_update.push(e)}function re(e){ee().$$.on_destroy.push(e)}const se=[],oe=[];let ae=[];const ie=[],le=Promise.resolve();let ce=!1;function ue(e){ae.push(e)}const de=new Set;let he=0;function fe(){if(0!==he)return;const e=W;do{try{for(;he<se.length;){const e=se[he];he++,Z(e),me(e.$$)}}catch(e){throw se.length=0,he=0,e}for(Z(null),se.length=0,he=0;oe.length;)oe.pop()();for(let e=0;e<ae.length;e+=1){const t=ae[e];de.has(t)||(de.add(t),t())}ae.length=0}while(se.length);for(;ie.length;)ie.pop()();ce=!1,de.clear(),Z(e)}function me(e){if(null!==e.fragment){e.update(),a(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ue)}}const pe=new Set;let ge;function ve(){ge={r:0,c:[],p:ge}}function ye(){ge.r||a(ge.c),ge=ge.p}function be(e,t){e&&e.i&&(pe.delete(e),e.i(t))}function we(e,t,n,r){if(e&&e.o){if(pe.has(e))return;pe.add(e),ge.c.push(()=>{pe.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}else r&&r()}function _e(e,t){const n={},r={},s={$$scope:1};let o=e.length;for(;o--;){const a=e[o],i=t[o];if(i){for(const e in a)e in i||(r[e]=1);for(const e in i)s[e]||(n[e]=i[e],s[e]=1);e[o]=i}else for(const e in a)s[e]=1}for(const e in r)e in n||(n[e]=void 0);return n}function $e(e){return"object"==typeof e&&null!==e?e:{}}function Ee(e){e&&e.c()}function Se(e,t){e&&e.l(t)}function xe(e,t,n,r){const o=e.$$,l=o.fragment,c=o.after_update;l&&l.m(t,n),r||ue(()=>{const t=e.$$.on_mount.map(s).filter(i);e.$$.on_destroy?e.$$.on_destroy.push(...t):a(t),e.$$.on_mount=[]}),c.forEach(ue)}function Te(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];ae.forEach(r=>-1===e.indexOf(r)?t.push(r):n.push(r)),n.forEach(e=>e()),ae=t}(n.after_update),a(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Ae(e,t){-1===e.$$.dirty[0]&&(se.push(e),ce||(ce=!0,le.then(fe)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Ie(e,t,r,s,i,l,c){let u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:[-1];const d=W;Z(e);const h=e.$$={fragment:null,ctx:[],props:l,update:n,not_equal:i,bound:o(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(d?d.$$.context:[])),callbacks:o(),dirty:u,skip_bound:!1,root:t.target||d.$$.root};c&&c(h.root);let f=!1;if(h.ctx=r?r(e,t.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),f&&Ae(e,t)),n}):[],h.update(),f=!0,a(h.before_update),h.fragment=!!s&&s(h.ctx),t.target){if(t.hydrate){m=!0;const e=L(t.target);h.fragment&&h.fragment.l(e),e.forEach(b)}else h.fragment&&h.fragment.c();t.intro&&be(e.$$.fragment),xe(e,t.target,t.anchor,t.customElement),m=!1,fe()}Z(d)}class Pe{$destroy(){Te(this,1),this.$destroy=n}$on(e,t){if(!i(t))return n;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{const e=r.indexOf(t);-1!==e&&r.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 ke=[];function Ne(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;const s=new Set;function o(n){if(l(e,n)&&(e=n,t)){const t=!ke.length;for(const t of s)t[1](),ke.push(t,e);if(t){for(let e=0;e<ke.length;e+=2)ke[e][0](ke[e+1]);ke.length=0}}}return{set:o,update:function(t){o(t(e))},subscribe:function(a){const i=[a,arguments.length>1&&void 0!==arguments[1]?arguments[1]:n];return s.add(i),1===s.size&&(t=r(o)||n),a(e),()=>{s.delete(i),0===s.size&&t&&(t(),t=null)}}}}const Le={};var Oe={owner:"hykilpikonna",repo:"upptime",sites:[{name:"Link Shortener (lisho)",url:"https://sh.hydev.org"},{name:"File Server",url:"https://hydev.org"},{name:"Matrix Synapse",url:"https://hydev.org/_matrix/static/"},{name:"One Among Us GitHub Webhook",url:"https://hydev.org/_github"},{name:"One Among Us Telegram Backup",url:"https://hydev.org/backup"},{name:"Amaoke",url:"https://amaoke.app"},{name:"Voice Tools Backend",url:"https://voice-backend.hydev.org"},{name:"Whisper Transcription Backend",url:"https://whisper.hydev.org"},{name:"Sekai LLM Inference",url:"https://sekai.aquadx.net/llm/health"},{name:"Camellia Stable Diffusion",url:"https://camellia-sd.hydev.org/Text2Image"},{name:"Tulip Host",url:"https://tulip.hydev.org"},{name:"Profile API",url:"https://profile-api.hydev.org",expectedStatusCodes:[200,404]},{name:"Project Instant",url:"https://p.hydev.org"},{name:"Telegram Channel Tree",url:"https://tree.aza.moe"},{name:"Grafana",url:"https://grafana.hydev.org"},{name:"InfluxDB",url:"https://influx.hydev.org"},{name:"Minecraft Server",url:"https://mc.hydev.org"},{name:"Slither Link",url:"https://slither.hydev.org"},{name:"Moderator Webhook",url:"https://moderator-webhook.hydev.org",expectedStatusCodes:[200,405]},{name:"Orizuru Staging",url:"https://staging.orizuru.org"},{name:"Gitea",url:"https://gitea.aza.moe"},{name:"DocuSeal",url:"https://docuseal.hydev.org"},{name:"Flowy Backend (CSC301)",url:"https://301-bk.hydev.org"},{name:"MeetSphere (CSC309)",url:"https://meet.hydev.org"},{name:"Owncast",url:"https://cast.hydev.org"},{name:"Owncast Public",url:"https://pcast.hydev.org",expectedStatusCodes:[200,401]},{name:"Open WebUI",url:"https://ow.hydev.org"},{name:"SillyTavern",url:"https://tavern.hydev.org",expectedStatusCodes:[200,401]},{name:"Jellyfin",url:"https://jellyfin.hydev.org/health"},{name:"Immich",url:"https://immich.hydev.org"},{name:"Web Archive",url:"https://archive.hydev.org"},{name:"Home Assistant",url:"https://home.hydev.org"},{name:"AquaDX",url:"https://aquadx.net"},{name:"AquaDX Mirror",url:"https://aquadx.hydev.org"},{name:"Profile Redirect",url:"https://profile.hydev.org"},{name:"tg-blog Demo",url:"https://test-tg.one-among.us"},{name:"FAD Toolkit Paper",url:"https://fadtk.hydev.org"},{name:"Voice Tools Frontend",url:"https://voice.hydev.org"},{name:"Uptime Monitor",url:"https://uptime.hydev.org"},{name:"Personal Projects (me)",url:"https://me.hydev.org"},{name:"One Among Us",url:"https://one-among.us"},{name:"One Among Us Data",url:"https://data.one-among.us"},{name:"Blog (aza.moe)",url:"https://aza.moe"},{name:"Neowofetch",url:"https://neowofetch.hydev.org"},{name:"Maigo Labs",url:"https://maigo.dev"},{name:"Flowy (CSC301)",url:"https://flowy.hydev.org"}],"status-website":{cname:"uptime.hydev.org",logoUrl:"https://raw.githubusercontent.com/upptime/upptime.js.org/master/static/img/icon.svg",name:"HyDEV Uptime",introTitle:"**HyDEV Uptime** monitors all hydev.org services.",introMessage:"Real-time status of services hosted across HyDEV's server fleet. Powered by [Upptime](https://github.com/upptime/upptime) — GitHub Actions, Issues, and Pages.",navbar:[{title:"Status",href:"/"},{title:"GitHub",href:"https://github.com/$OWNER/$REPO"}]},path:"https://uptime.hydev.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 Re(e,t,n){const r=e.slice();return r[1]=t[n],r}function Ce(e){let t,r,s,o=Oe["status-website"]&&!Oe["status-website"].hideNavLogo&&function(){let e,t;return{c(){e=_("img"),this.h()},l(t){e=H(t,"IMG",{alt:!0,src:!0,class:!0}),this.h()},h(){I(e,"alt",""),u(e.src,t=Oe["status-website"].logoUrl)||I(e,"src",t),I(e,"class","svelte-a08hsz")},m(t,n){y(t,e,n)},p:n,d(t){t&&b(e)}}}(),a=Oe["status-website"]&&!Oe["status-website"].hideNavTitle&&function(){let e,t,r=Oe["status-website"].name+"";return{c(){e=_("div"),t=E(r)},l(n){e=H(n,"DIV",{});var s=L(e);t=U(s,r),s.forEach(b)},m(n,r){y(n,e,r),g(e,t)},p:n,d(t){t&&b(e)}}}();return{c(){t=_("div"),r=_("a"),o&&o.c(),s=S(),a&&a.c(),this.h()},l(e){t=H(e,"DIV",{});var n=L(t);r=H(n,"A",{href:!0,class:!0});var i=L(r);o&&o.l(i),s=D(i),a&&a.l(i),i.forEach(b),n.forEach(b),this.h()},h(){I(r,"href",Oe["status-website"].logoHref||Oe.path),I(r,"class","logo svelte-a08hsz")},m(e,n){y(e,t,n),g(t,r),o&&o.m(r,null),g(r,s),a&&a.m(r,null)},p(e,t){Oe["status-website"]&&!Oe["status-website"].hideNavLogo&&o.p(e,t),Oe["status-website"]&&!Oe["status-website"].hideNavTitle&&a.p(e,t)},d(e){e&&b(t),o&&o.d(),a&&a.d()}}}function He(e){let t,n,r,s,o,a=e[1].title+"";return{c(){t=_("li"),n=_("a"),r=E(a),o=S(),this.h()},l(e){t=H(e,"LI",{});var s=L(t);n=H(s,"A",{"aria-current":!0,href:!0,target:!0,class:!0});var i=L(n);r=U(i,a),i.forEach(b),o=D(s),s.forEach(b),this.h()},h(){I(n,"aria-current",s=e[0]===("/"===e[1].href?void 0:e[1].href)?"page":void 0),I(n,"href",e[1].href.replace("$OWNER",Oe.owner).replace("$REPO",Oe.repo)),I(n,"target",e[1].target||"_self"),I(n,"class","svelte-a08hsz")},m(e,s){y(e,t,s),g(t,n),g(n,r),g(t,o)},p(e,t){1&t&&s!==(s=e[0]===("/"===e[1].href?void 0:e[1].href)?"page":void 0)&&I(n,"aria-current",s)},d(e){e&&b(t)}}}function Me(e){let r,s,o,a,i,l=Oe["status-website"]&&Oe["status-website"].logoUrl&&Ce(),c=Oe["status-website"]&&Oe["status-website"].navbar&&function(e){let t,n=Oe["status-website"].navbar,r=[];for(let t=0;t<n.length;t+=1)r[t]=He(Re(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=x()},l(e){for(let t=0;t<r.length;t+=1)r[t].l(e);t=x()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);y(e,t,n)},p(e,s){if(1&s){let o;for(n=Oe["status-website"].navbar,o=0;o<n.length;o+=1){const a=Re(e,n,o);r[o]?r[o].p(a,s):(r[o]=He(a),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length}},d(e){w(r,e),e&&b(t)}}}(e),u=Oe["status-website"]&&Oe["status-website"].navbarGitHub&&!Oe["status-website"].navbar&&function(){let e,t,r,s=Oe.i18n.navGitHub+"";return{c(){e=_("li"),t=_("a"),r=E(s),this.h()},l(n){e=H(n,"LI",{});var o=L(e);t=H(o,"A",{href:!0,class:!0});var a=L(t);r=U(a,s),a.forEach(b),o.forEach(b),this.h()},h(){I(t,"href","https://github.com/".concat(Oe.owner,"/").concat(Oe.repo)),I(t,"class","svelte-a08hsz")},m(n,s){y(n,e,s),g(e,t),g(t,r)},p:n,d(t){t&&b(e)}}}();return{c(){r=_("nav"),s=_("div"),l&&l.c(),o=S(),a=_("ul"),c&&c.c(),i=S(),u&&u.c(),this.h()},l(e){r=H(e,"NAV",{class:!0});var t=L(r);s=H(t,"DIV",{class:!0});var n=L(s);l&&l.l(n),o=D(n),a=H(n,"UL",{class:!0});var d=L(a);c&&c.l(d),i=D(d),u&&u.l(d),d.forEach(b),n.forEach(b),t.forEach(b),this.h()},h(){I(a,"class","svelte-a08hsz"),I(s,"class","container svelte-a08hsz"),I(r,"class","svelte-a08hsz")},m(e,t){y(e,r,t),g(r,s),l&&l.m(s,null),g(s,o),g(s,a),c&&c.m(a,null),g(a,i),u&&u.m(a,null)},p(e,n){let r=t(n,1)[0];Oe["status-website"]&&Oe["status-website"].logoUrl&&l.p(e,r),Oe["status-website"]&&Oe["status-website"].navbar&&c.p(e,r),Oe["status-website"]&&Oe["status-website"].navbarGitHub&&!Oe["status-website"].navbar&&u.p(e,r)},i:n,o:n,d(e){e&&b(r),l&&l.d(),c&&c.d(),u&&u.d()}}}function Ue(e,t,n){let r=t.segment;return e.$$set=e=>{"segment"in e&&n(0,r=e.segment)},[r]}class De extends Pe{constructor(e){super(),Ie(this,e,Ue,Me,l,{segment:0})}}var je={"":["<em>","</em>"],_:["<strong>","</strong>"],"*":["<strong>","</strong>"],"~":["<s>","</s>"],"\n":["<br />"]," ":["<br />"],"-":["<hr />"]};function Ge(e){return e.replace(RegExp("^"+(e.match(/^(\t| )+/)||"")[0],"gm"),"")}function Be(e){return(e+"").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}function qe(e,t){var n,r,s,o,a,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,l=[],c="",u=t||{},d=0;function h(e){var t=je[e[1]||""],n=l[l.length-1]==e;return t?t[1]?(n?l.pop():l.push(e),t[0|n]):t[0]:e}function f(){for(var e="";l.length;)e+=h(l[l.length-1]);return e}for(e=e.replace(/^\[(.+?)\]:\s*(.+)$/gm,function(e,t,n){return u[t.toLowerCase()]=n,""}).replace(/^\n+|\n+$/g,"");s=i.exec(e);)r=e.substring(d,s.index),d=i.lastIndex,n=s[0],r.match(/[^\\](\\\\)*\\$/)||((a=s[3]||s[4])?n='<pre class="code '+(s[4]?"poetry":s[2].toLowerCase())+'"><code'+(s[2]?' class="language-'+s[2].toLowerCase()+'"':"")+">"+Ge(Be(a).replace(/^\n+|\n+$/g,""))+"</code></pre>":(a=s[6])?(a.match(/\./)&&(s[5]=s[5].replace(/^\d+/gm,"")),o=qe(Ge(s[5].replace(/^\s*[>*+.-]/gm,""))),">"==a?a="blockquote":(a=a.match(/\./)?"ol":"ul",o=o.replace(/^(.*)(\n|$)/gm,"<li>$1</li>")),n="<"+a+">"+o+"</"+a+">"):s[8]?n='<img src="'+Be(s[8])+'" alt="'+Be(s[7])+'">':s[10]?(c=c.replace("<a>",'<a href="'+Be(s[11]||u[r.toLowerCase()])+'">'),n=f()+"</a>"):s[9]?n="<a>":s[12]||s[14]?n="<"+(a="h"+(s[14]?s[14].length:s[13]>"="?1:2))+">"+qe(s[12]||s[15],u)+"</"+a+">":s[16]?n="<code>"+Be(s[16])+"</code>":(s[17]||s[1])&&(n=h(s[17]||"--"))),c+=r,c+=n;return(c+e.substring(d)+f()).replace(/^\n+|\n+$/g,"")}function ze(e,t,n){const r=e.slice();return r[3]=t[n],r}function Ve(e,t,n){const r=e.slice();return r[3]=t[n],r}function We(e,t,n){const r=e.slice();return r[8]=t[n],r}function Ke(e){let t,r,s,o,a,i;return{c(){t=_("script"),r=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 }"),s=S(),o=_("link"),a=S(),i=_("link"),this.h()},l(e){t=H(e,"SCRIPT",{});var n=L(t);r=U(n,"// 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 }"),n.forEach(b),s=D(e),o=H(e,"LINK",{rel:!0,href:!0,media:!0}),a=D(e),i=H(e,"LINK",{rel:!0,href:!0,media:!0}),this.h()},h(){I(o,"rel","stylesheet"),I(o,"href","".concat(Oe.path,"/themes/light.css")),I(o,"media","(prefers-color-scheme: light)"),I(i,"rel","stylesheet"),I(i,"href","".concat(Oe.path,"/themes/dark.css")),I(i,"media","(prefers-color-scheme: dark)")},m(e,n){y(e,t,n),g(t,r),y(e,s,n),y(e,o,n),y(e,a,n),y(e,i,n)},p:n,d(e){e&&b(t),e&&b(s),e&&b(o),e&&b(a),e&&b(i)}}}function Fe(e){let t;return{c(){t=_("link"),this.h()},l(e){t=H(e,"LINK",{rel:!0,href:!0}),this.h()},h(){I(t,"rel","stylesheet"),I(t,"href","".concat(Oe.path,"/themes/").concat(Oe["status-website"].theme,".css"))},m(e,n){y(e,t,n)},p:n,d(e){e&&b(t)}}}function Je(e){let t;return{c(){t=_("link"),this.h()},l(e){t=H(e,"LINK",{rel:!0,href:!0}),this.h()},h(){I(t,"rel","stylesheet"),I(t,"href",(Oe["status-website"]||{}).themeUrl)},m(e,n){y(e,t,n)},p:n,d(e){e&&b(t)}}}function Ye(e){let t,r;return{c(){t=_("script"),this.h()},l(e){t=H(e,"SCRIPT",{src:!0}),L(t).forEach(b),this.h()},h(){u(t.src,r=e[8].src)||I(t,"src",r),t.async=!!e[8].async,t.defer=!!e[8].async},m(e,n){y(e,t,n)},p:n,d(e){e&&b(t)}}}function Xe(e){let t;return{c(){t=_("link"),this.h()},l(e){t=H(e,"LINK",{rel:!0,href:!0,media:!0}),this.h()},h(){I(t,"rel",e[3].rel),I(t,"href",e[3].href),I(t,"media",e[3].media)},m(e,n){y(e,t,n)},p:n,d(e){e&&b(t)}}}function Qe(e){let t;return{c(){t=_("meta"),this.h()},l(e){t=H(e,"META",{name:!0,content:!0}),this.h()},h(){I(t,"name",e[3].name),I(t,"content",e[3].content)},m(e,n){y(e,t,n)},p:n,d(e){e&&b(t)}}}function Ze(e){let r,s,o,a,i,l,c,u,h,f,m,p,v,$,E,T,A,P,k=qe(Oe.i18n.footer.replace(/\$REPO/,"https://github.com/".concat(Oe.owner,"/").concat(Oe.repo)))+"",N=(Oe["status-website"]||{}).customHeadHtml&&function(){let e,t,r=(Oe["status-website"]||{}).customHeadHtml+"";return{c(){e=new X(!1),t=x(),this.h()},l(n){e=G(n,!1),t=x(),this.h()},h(){e.a=t},m(n,s){e.m(r,n,s),y(n,t,s)},p:n,d(n){n&&b(t),n&&e.d()}}}();let O=((Oe["status-website"]||{}).themeUrl?Je:(Oe["status-website"]||{}).theme?Fe:Ke)(e),R=(Oe["status-website"]||{}).scripts&&function(e){let t,n=(Oe["status-website"]||{}).scripts,r=[];for(let t=0;t<n.length;t+=1)r[t]=Ye(We(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=x()},l(e){for(let t=0;t<r.length;t+=1)r[t].l(e);t=x()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);y(e,t,n)},p(e,s){if(0&s){let o;for(n=(Oe["status-website"]||{}).scripts,o=0;o<n.length;o+=1){const a=We(e,n,o);r[o]?r[o].p(a,s):(r[o]=Ye(a),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length}},d(e){w(r,e),e&&b(t)}}}(e),C=(Oe["status-website"]||{}).links&&function(e){let t,n=(Oe["status-website"]||{}).links,r=[];for(let t=0;t<n.length;t+=1)r[t]=Xe(Ve(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=x()},l(e){for(let t=0;t<r.length;t+=1)r[t].l(e);t=x()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);y(e,t,n)},p(e,s){if(0&s){let o;for(n=(Oe["status-website"]||{}).links,o=0;o<n.length;o+=1){const a=Ve(e,n,o);r[o]?r[o].p(a,s):(r[o]=Xe(a),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length}},d(e){w(r,e),e&&b(t)}}}(e),M=(Oe["status-website"]||{}).metaTags&&function(e){let t,n=(Oe["status-website"]||{}).metaTags,r=[];for(let t=0;t<n.length;t+=1)r[t]=Qe(ze(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=x()},l(e){for(let t=0;t<r.length;t+=1)r[t].l(e);t=x()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);y(e,t,n)},p(e,s){if(0&s){let o;for(n=(Oe["status-website"]||{}).metaTags,o=0;o<n.length;o+=1){const a=ze(e,n,o);r[o]?r[o].p(a,s):(r[o]=Qe(a),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length}},d(e){w(r,e),e&&b(t)}}}(e),U=Oe["status-website"].css&&function(){let e,t,r="<style>".concat(Oe["status-website"].css,"</style>")+"";return{c(){e=new X(!1),t=x(),this.h()},l(n){e=G(n,!1),t=x(),this.h()},h(){e.a=t},m(n,s){e.m(r,n,s),y(n,t,s)},p:n,d(n){n&&b(t),n&&e.d()}}}(),j=Oe["status-website"].js&&function(){let e,t,r="<script>".concat(Oe["status-website"].js,"<\/script>")+"";return{c(){e=new X(!1),t=x(),this.h()},l(n){e=G(n,!1),t=x(),this.h()},h(){e.a=t},m(n,s){e.m(r,n,s),y(n,t,s)},p:n,d(n){n&&b(t),n&&e.d()}}}(),B=(Oe["status-website"]||{}).customBodyHtml&&function(){let e,t,r=(Oe["status-website"]||{}).customBodyHtml+"";return{c(){e=new X(!1),t=x(),this.h()},l(n){e=G(n,!1),t=x(),this.h()},h(){e.a=t},m(n,s){e.m(r,n,s),y(n,t,s)},p:n,d(n){n&&b(t),n&&e.d()}}}();p=new De({props:{segment:e[0]}});const q=e[2].default,z=function(e,t,n,r){if(e){const s=d(e,t,n,r);return e[0](s)}}(q,e,e[1],null);return{c(){N&&N.c(),r=x(),O.c(),s=_("link"),o=_("link"),a=_("link"),R&&R.c(),i=x(),C&&C.c(),l=x(),M&&M.c(),c=x(),U&&U.c(),u=x(),j&&j.c(),h=x(),f=S(),B&&B.c(),m=S(),Ee(p.$$.fragment),v=S(),$=_("main"),z&&z.c(),E=S(),T=_("footer"),A=_("p"),this.h()},l(e){const t=J("svelte-z1n8lm",document.head);N&&N.l(t),r=x(),O.l(t),s=H(t,"LINK",{rel:!0,href:!0}),o=H(t,"LINK",{rel:!0,type:!0,href:!0}),a=H(t,"LINK",{rel:!0,type:!0,href:!0}),R&&R.l(t),i=x(),C&&C.l(t),l=x(),M&&M.l(t),c=x(),U&&U.l(t),u=x(),j&&j.l(t),h=x(),t.forEach(b),f=D(e),B&&B.l(e),m=D(e),Se(p.$$.fragment,e),v=D(e),$=H(e,"MAIN",{class:!0});var n=L($);z&&z.l(n),n.forEach(b),E=D(e),T=H(e,"FOOTER",{class:!0});var d=L(T);A=H(d,"P",{}),L(A).forEach(b),d.forEach(b),this.h()},h(){I(s,"rel","stylesheet"),I(s,"href","".concat(Oe.path,"/global.css")),I(o,"rel","icon"),I(o,"type","image/svg"),I(o,"href",(Oe["status-website"]||{}).faviconSvg||(Oe["status-website"]||{}).favicon||"https://raw.githubusercontent.com/upptime/upptime/master/assets/upptime-icon.svg"),I(a,"rel","icon"),I(a,"type","image/png"),I(a,"href",(Oe["status-website"]||{}).favicon||"/logo-192.png"),I($,"class","container"),I(T,"class","svelte-jbr799")},m(e,t){N&&N.m(document.head,null),g(document.head,r),O.m(document.head,null),g(document.head,s),g(document.head,o),g(document.head,a),R&&R.m(document.head,null),g(document.head,i),C&&C.m(document.head,null),g(document.head,l),M&&M.m(document.head,null),g(document.head,c),U&&U.m(document.head,null),g(document.head,u),j&&j.m(document.head,null),g(document.head,h),y(e,f,t),B&&B.m(e,t),y(e,m,t),xe(p,e,t),y(e,v,t),y(e,$,t),z&&z.m($,null),y(e,E,t),y(e,T,t),g(T,A),A.innerHTML=k,P=!0},p(e,n){let r=t(n,1)[0];(Oe["status-website"]||{}).customHeadHtml&&N.p(e,r),O.p(e,r),(Oe["status-website"]||{}).scripts&&R.p(e,r),(Oe["status-website"]||{}).links&&C.p(e,r),(Oe["status-website"]||{}).metaTags&&M.p(e,r),Oe["status-website"].css&&U.p(e,r),Oe["status-website"].js&&j.p(e,r),(Oe["status-website"]||{}).customBodyHtml&&B.p(e,r);const s={};1&r&&(s.segment=e[0]),p.$set(s),z&&z.p&&(!P||2&r)&&function(e,t,n,r,s,o){if(s){const a=d(t,n,r,o);e.p(a,s)}}(z,q,e,e[1],P?function(e,t,n,r){if(e[2]&&r){const s=e[2](r(n));if(void 0===t.dirty)return s;if("object"==typeof s){const e=[],n=Math.max(t.dirty.length,s.length);for(let r=0;r<n;r+=1)e[r]=t.dirty[r]|s[r];return e}return t.dirty|s}return t.dirty}(q,e[1],r,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){P||(be(p.$$.fragment,e),be(z,e),P=!0)},o(e){we(p.$$.fragment,e),we(z,e),P=!1},d(e){N&&N.d(e),b(r),O.d(e),b(s),b(o),b(a),R&&R.d(e),b(i),C&&C.d(e),b(l),M&&M.d(e),b(c),U&&U.d(e),b(u),j&&j.d(e),b(h),e&&b(f),B&&B.d(e),e&&b(m),Te(p,e),e&&b(v),e&&b($),z&&z.d(e),e&&b(E),e&&b(T)}}}function et(e,t,n){let r=t.$$slots,s=void 0===r?{}:r,o=t.$$scope,a=t.segment;return e.$$set=e=>{"segment"in e&&n(0,a=e.segment),"$$scope"in e&&n(1,o=e.$$scope)},[a,o,s]}class tt extends Pe{constructor(e){super(),Ie(this,e,et,Ze,l,{segment:0})}}function nt(e){let t,n,r=e[1].stack+"";return{c(){t=_("pre"),n=E(r)},l(e){t=H(e,"PRE",{});var s=L(t);n=U(s,r),s.forEach(b)},m(e,r){y(e,t,r),g(t,n)},p(e,t){2&t&&r!==(r=e[1].stack+"")&&B(n,r)},d(e){e&&b(t)}}}function rt(e){let r,s,o,a,i,l,c,u,d,h=e[1].message+"";document.title=r=e[0];let f=e[2]&&e[1].stack&&nt(e);return{c(){s=S(),o=_("h1"),a=E(e[0]),i=S(),l=_("p"),c=E(h),u=S(),f&&f.c(),d=x(),this.h()},l(t){J("svelte-1moakz",document.head).forEach(b),s=D(t),o=H(t,"H1",{class:!0});var n=L(o);a=U(n,e[0]),n.forEach(b),i=D(t),l=H(t,"P",{class:!0});var r=L(l);c=U(r,h),r.forEach(b),u=D(t),f&&f.l(t),d=x(),this.h()},h(){I(o,"class","svelte-17w3omn"),I(l,"class","svelte-17w3omn")},m(e,t){y(e,s,t),y(e,o,t),g(o,a),y(e,i,t),y(e,l,t),g(l,c),y(e,u,t),f&&f.m(e,t),y(e,d,t)},p(e,n){let s=t(n,1)[0];1&s&&r!==(r=e[0])&&(document.title=r),1&s&&B(a,e[0]),2&s&&h!==(h=e[1].message+"")&&B(c,h),e[2]&&e[1].stack?f?f.p(e,s):(f=nt(e),f.c(),f.m(d.parentNode,d)):f&&(f.d(1),f=null)},i:n,o:n,d(e){e&&b(s),e&&b(o),e&&b(i),e&&b(l),e&&b(u),f&&f.d(e),e&&b(d)}}}function st(e,t,n){let r=t.status,s=t.error;return e.$$set=e=>{"status"in e&&n(0,r=e.status),"error"in e&&n(1,s=e.error)},[r,s,false]}class ot extends Pe{constructor(e){super(),Ie(this,e,st,rt,l,{status:0,error:1})}}function at(e){let t,n,s;const o=[e[4].props];var a=e[4].component;function i(e){let t={};for(let e=0;e<o.length;e+=1)t=r(t,o[e]);return{props:t}}return a&&(t=Q(a,i())),{c(){t&&Ee(t.$$.fragment),n=x()},l(e){t&&Se(t.$$.fragment,e),n=x()},m(e,r){t&&xe(t,e,r),y(e,n,r),s=!0},p(e,r){const s=16&r?_e(o,[$e(e[4].props)]):{};if(16&r&&a!==(a=e[4].component)){if(t){ve();const e=t;we(e.$$.fragment,1,0,()=>{Te(e,1)}),ye()}a?(t=Q(a,i()),Ee(t.$$.fragment),be(t.$$.fragment,1),xe(t,n.parentNode,n)):t=null}else a&&t.$set(s)},i(e){s||(t&&be(t.$$.fragment,e),s=!0)},o(e){t&&we(t.$$.fragment,e),s=!1},d(e){e&&b(n),t&&Te(t,e)}}}function it(e){let t,n;return t=new ot({props:{error:e[0],status:e[1]}}),{c(){Ee(t.$$.fragment)},l(e){Se(t.$$.fragment,e)},m(e,r){xe(t,e,r),n=!0},p(e,n){const r={};1&n&&(r.error=e[0]),2&n&&(r.status=e[1]),t.$set(r)},i(e){n||(be(t.$$.fragment,e),n=!0)},o(e){we(t.$$.fragment,e),n=!1},d(e){Te(t,e)}}}function lt(e){let t,n,r,s;const o=[it,at],a=[];function i(e,t){return e[0]?0:1}return t=i(e),n=a[t]=o[t](e),{c(){n.c(),r=x()},l(e){n.l(e),r=x()},m(e,n){a[t].m(e,n),y(e,r,n),s=!0},p(e,s){let l=t;t=i(e),t===l?a[t].p(e,s):(ve(),we(a[l],1,1,()=>{a[l]=null}),ye(),n=a[t],n?n.p(e,s):(n=a[t]=o[t](e),n.c()),be(n,1),n.m(r.parentNode,r))},i(e){s||(be(n),s=!0)},o(e){we(n),s=!1},d(e){a[t].d(e),e&&b(r)}}}function ct(e){let n,s;const o=[{segment:e[2][0]},e[3].props];let a={$$slots:{default:[lt]},$$scope:{ctx:e}};for(let e=0;e<o.length;e+=1)a=r(a,o[e]);return n=new tt({props:a}),{c(){Ee(n.$$.fragment)},l(e){Se(n.$$.fragment,e)},m(e,t){xe(n,e,t),s=!0},p(e,r){let s=t(r,1)[0];const a=12&s?_e(o,[4&s&&{segment:e[2][0]},8&s&&$e(e[3].props)]):{};147&s&&(a.$$scope={dirty:s,ctx:e}),n.$set(a)},i(e){s||(be(n.$$.fragment,e),s=!0)},o(e){we(n.$$.fragment,e),s=!1},d(e){Te(n,e)}}}function ut(e,t,n){let r=t.stores,s=t.error,o=t.status,a=t.segments,i=t.level0,l=t.level1,c=void 0===l?null:l,u=t.notify;var d,h;return ne(u),d=Le,h=r,ee().$$.context.set(d,h),e.$$set=e=>{"stores"in e&&n(5,r=e.stores),"error"in e&&n(0,s=e.error),"status"in e&&n(1,o=e.status),"segments"in e&&n(2,a=e.segments),"level0"in e&&n(3,i=e.level0),"level1"in e&&n(4,c=e.level1),"notify"in e&&n(6,u=e.notify)},[s,o,a,i,c,r,u]}class dt extends Pe{constructor(e){super(),Ie(this,e,ut,ct,l,{stores:5,error:0,status:1,segments:2,level0:3,level1:4,notify:6})}}const ht=[],ft=[{js:()=>Promise.all([import("./index.577352e7.js"),__inject_styles(["client-31a52aa5.css","createOctokit-a85f76c7.css","index-b0b6455a.css"])]).then(function(e){return e[0]})},{js:()=>Promise.all([import("./rate-limit-exceeded.169f3049.js"),__inject_styles(["client-31a52aa5.css","rate-limit-exceeded-88af4d80.css"])]).then(function(e){return e[0]})},{js:()=>Promise.all([import("./_number_.b3c6ad4b.js"),__inject_styles(["client-31a52aa5.css","createOctokit-a85f76c7.css","_number_-d4d16748.css"])]).then(function(e){return e[0]})},{js:()=>Promise.all([import("./_number_.d7a2b8f4.js"),__inject_styles(["client-31a52aa5.css","createOctokit-a85f76c7.css","_number_-971b332f.css"])]).then(function(e){return e[0]})},{js:()=>Promise.all([import("./error.265f18d0.js"),__inject_styles(["client-31a52aa5.css","error-37eeedae.css"])]).then(function(e){return e[0]})}],mt=(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 gt(e,t,n,r){return new(n||(n=Promise))(function(s,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function i(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,i)}l((r=r.apply(e,t||[])).next())})}function vt(e){for(;e&&"A"!==e.nodeName.toUpperCase();)e=e.parentNode;return e}let yt,bt=1;const wt="undefined"!=typeof history?history:{pushState:()=>{},replaceState:()=>{},scrollRestoration:"auto"},_t={};let $t,Et;const St=e=>"undefined"!=typeof URLSearchParams?[...new URLSearchParams(e).entries()]:e.slice(1).split("&").map(e=>{const n=t(/([^=]*)(?:=([\S\s]*))?/.exec(decodeURIComponent(e.replace(/\+/g," "))),3),r=n[1],s=n[2];return[r,void 0===s?"":s]});function xt(e){const n=Object.create(null);return e.length?St(e).reduce((e,n)=>{let r=t(n,2),s=r[0],o=r[1];return"string"==typeof e[s]&&(e[s]=[e[s]]),"object"==typeof e[s]?e[s].push(o):e[s]=o,e},n):n}function Tt(e){if(e.origin!==location.origin)return null;if(!e.pathname.startsWith($t))return null;let t=e.pathname.slice($t.length);if(""===t&&(t="/"),!ht.some(e=>e.test(t)))for(let n=0;n<mt.length;n+=1){const r=mt[n],s=r.pattern.exec(t);if(s){const n=xt(e.search),o=r.parts[r.parts.length-1],a=o.params?o.params(s):{},i={host:location.host,path:t,query:n,params:a};return{href:e.href,route:r,match:s,page:i}}}}function At(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=vt(e.target);if(!t)return;if(!t.href)return;const n="object"==typeof t.href&&"SVGAnimatedString"===t.href.constructor.name,r=String(n?t.href.baseVal:t.href);if(r===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 s=new URL(r);if(s.pathname===location.pathname&&s.search===location.search)return;const o=Tt(s);if(o){kt(o,null,t.hasAttribute("sapper:noscroll"),s.hash),e.preventDefault(),wt.pushState({id:yt},"",s.href)}}function It(){return{x:pageXOffset,y:pageYOffset}}function Pt(e){if(_t[yt]=It(),e.state){const t=Tt(new URL(location.href));t?kt(t,e.state.id):location.href=location.href}else!function(e){bt=e}(bt+1),function(e){yt=e}(bt),wt.replaceState({id:yt},"",location.href)}function kt(e,t,n,r){return gt(this,void 0,void 0,function*(){const s=!!t;if(s)yt=t;else{const e=It();_t[yt]=e,yt=t=++bt,_t[yt]=n?e:{x:0,y:0}}if(yield Et(e),document.activeElement&&document.activeElement instanceof HTMLElement&&document.activeElement.blur(),!n){let e,n=_t[t];r&&(e=document.getElementById(r.slice(1)),e&&(n={x:0,y:e.getBoundingClientRect().top+scrollY})),_t[yt]=n,n&&(s||e)?scrollTo(n.x,n.y):scrollTo(0,0)}})}function Nt(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}let Lt,Ot=null;function Rt(e){const t=vt(e.target);t&&t.hasAttribute("sapper:prefetch")&&function(e){const t=Tt(new URL(e,Nt(document)));if(t)Ot&&e===Ot.href||(Ot={href:e,promise:Qt(t)}),Ot.promise}(t.href)}function Ct(e){clearTimeout(Lt),Lt=setTimeout(()=>{Rt(e)},20)}function Ht(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{noscroll:!1,replaceState:!1};const n=Tt(new URL(e,Nt(document)));if(n){const r=kt(n,null,t.noscroll);return wt[t.replaceState?"replaceState":"pushState"]({id:yt},"",e),r}return location.href=e,new Promise(()=>{})}const Mt="undefined"!=typeof __SAPPER__&&__SAPPER__;let Ut,Dt,jt,Gt=!1,Bt=[],qt="{}";const zt={page:function(e){const t=Ne(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 r;return t.subscribe(t=>{(void 0===r||n&&t!==r)&&e(r=t)})}}}({}),preloading:Ne(null),session:Ne(Mt&&Mt.session)};let Vt,Wt,Kt;function Ft(e){var t,n;return t=e.target,Kt=t,n=Mt.baseUrl,$t=n,Et=Yt,"scrollRestoration"in wt&&(wt.scrollRestoration="manual"),addEventListener("beforeunload",()=>{wt.scrollRestoration="auto"}),addEventListener("load",()=>{wt.scrollRestoration="manual"}),addEventListener("click",At),addEventListener("popstate",Pt),addEventListener("touchstart",Rt),addEventListener("mousemove",Ct),Mt.error?Promise.resolve().then(()=>function(){const e=location,t=e.host,n=e.pathname,r=e.search,s=Mt.session,o=Mt.preloaded,a=Mt.status,i=Mt.error;jt||(jt=o&&o[0]);const l={error:i,status:a,session:s,level0:{props:jt},level1:{props:{status:a,error:i},component:ot},segments:o},c=xt(r);Xt([],l,{host:t,path:n,query:c,params:{},error:i})}()):Promise.resolve().then(()=>{const e=location,t=e.hash,n=e.href;wt.replaceState({id:bt},"",n);const r=Tt(new URL(location.href));if(r)return kt(r,bt,!0,t)})}function Jt(e,t){const n=e.error;return Object.assign({error:n},t)}function Yt(e){return gt(this,void 0,void 0,function*(){Ut&&zt.preloading.set(!0);const t=function(e){return Ot&&Ot.href===e.href?Ot.promise:Qt(e)}(e),n=Dt={},r=yield t,s=r.redirect;if(n===Dt)if(s)yield Ht(s.location,{replaceState:!0});else{const t=r.props,n=r.branch;yield Xt(n,t,Jt(t,e.page))}})}function Xt(e,t,n){return gt(this,void 0,void 0,function*(){zt.page.set(n),zt.preloading.set(!1),Ut?Ut.$set(t):(t.stores={page:{subscribe:zt.page.subscribe},preloading:{subscribe:zt.preloading.subscribe},session:zt.session},t.level0={props:yield jt},t.notify=zt.page.notify,Ut=new dt({target:Kt,props:t,hydrate:!0})),Bt=e,qt=JSON.stringify(n.query),Gt=!0,Wt=!1})}function Qt(e){return gt(this,void 0,void 0,function*(){const t=e.route,n=e.page,r=n.path.split("/").filter(Boolean);let s=null;const o={error:null,status:200,segments:[r[0]]},a={fetch:(e,t)=>fetch(e,t),redirect:(e,t)=>{if(s&&(s.statusCode!==e||s.location!==t))throw new Error("Conflicting redirects");s={statusCode:e,location:t}},error:(e,t)=>{o.error="string"==typeof t?new Error(t):t,o.status=e}};if(!jt){const e=()=>({});jt=Mt.preloaded[0]||e.call(a,{host:n.host,path:n.path,query:n.query,params:{}},Vt)}let i,l=1;try{const s=JSON.stringify(n.query),c=t.pattern.exec(n.path);let u=!1;i=yield Promise.all(t.parts.map((t,i)=>gt(this,void 0,void 0,function*(){const d=r[i];if(function(e,t,n,r){if(r!==qt)return!0;const s=Bt[e];return!!s&&(t!==s.segment||!(!s.match||JSON.stringify(s.match.slice(1,e+2))===JSON.stringify(n.slice(1,e+2)))||void 0)}(i,d,c,s)&&(u=!0),o.segments[l]=r[i+1],!t)return{segment:d};const h=l++;let f;if(Wt||u||!Bt[i]||Bt[i].part!==t.i){u=!1;const r=yield ft[t.i].js(),s=r.default,o=r.preload;let l;l=Gt||!Mt.preloaded[i+1]?o?yield o.call(a,{host:n.host,path:n.path,query:n.query,params:t.params?t.params(e.match):{}},Vt):{}:Mt.preloaded[i+1],f={component:s,props:l,segment:d,match:c,part:t.i}}else f=Bt[i];return o["level".concat(h)]=f})))}catch(e){o.error=e,o.status=500,i=[]}return{redirect:s,props:o,branch:i}})}zt.session.subscribe(e=>gt(void 0,void 0,void 0,function*(){if(Vt=e,!Gt)return;Wt=!0;const t=Tt(new URL(location.href)),n=Dt={},r=yield Qt(t),s=r.redirect,o=r.props,a=r.branch;n===Dt&&(s?yield Ht(s.location,{replaceState:!0}):yield Xt(a,o,Jt(o,t.page)))})),"loading"!==document.readyState?Ft({target:document.querySelector("#sapper")}):document.addEventListener("DOMContentLoaded",function(){Ft({target:document.querySelector("#sapper")})});export{F as $,B as A,N as B,T as C,a as D,oe as E,G as F,u as G,X as H,f as I,z as J,J as K,qe as L,$ as M,M as N,Ht as O,q as P,A as Q,r as R,Pe as S,k as T,ne as U,re as V,h as W,_e as X,$e as Y,ue as Z,t as _,S as a,H as b,D as c,L as d,_ as e,b as f,I as g,y as h,Ie as i,ve as j,ye as k,be as l,E as m,U as n,te as o,g as p,n as q,Oe as r,l as s,we as t,x as u,w as v,Ee as w,Se as x,xe as y,Te as z};
|
|
|
|
import __inject_styles from './inject_styles.099149d9.js'; |