uptime/client/legacy/index.fba2b053.js

2 lines
32 KiB
JavaScript
Raw Normal View History

import{_ as t,a as n,b as e,c as a,i as c,s as r,d as i,S as o,e as s,t as u,f as l,g as f,h,j as d,k as v,l as m,m as p,n as g,o as $,p as E,q as w,r as y,u as _,v as D,w as R,x as I,y as T,z as k,A as S,B as b,C as L,D as M,E as x,F as N,G as B,H,I as A,J as O,K as V,L as U,M as P,N as C,O as F,P as j}from"./client.23b64548.js";import{c as W,_ as Y,h as z,a as G,L as q}from"./createOctokit.d28178d8.js";function J(t){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var c,r=n(t);if(a){var i=n(this).constructor;c=Reflect.construct(r,arguments,i)}else c=r.apply(this,arguments);return e(this,c)}}function K(t,n,e){var a=t.slice();return a[5]=n[e],a}function Q(t){var n,e,a,c=k.i18n.allSystemsOperational+"";return{c:function(){n=s("article"),e=u("✅   "),a=u(c),this.h()},l:function(t){n=l(t,"ARTICLE",{class:!0});var r=f(n);e=h(r,"✅   "),a=h(r,c),r.forEach(d),this.h()},h:function(){v(n,"class","up")},m:function(t,c){m(t,n,c),p(n,e),p(n,a)},p:g,d:function(t){t&&d(n)}}}function X(t){for(var n,e,a,c,r=k.i18n.activeIncidents+"",i=t[1],o=[],v=0;v<i.length;v+=1)o[v]=tt(K(t,i,v));return{c:function(){n=s("h2"),e=u(r),a=$();for(var t=0;t<o.length;t+=1)o[t].c();c=b()},l:function(t){n=l(t,"H2",{});var i=f(n);e=h(i,r),i.forEach(d),a=E(t);for(var s=0;s<o.length;s+=1)o[s].l(t);c=b()},m:function(t,r){m(t,n,r),p(n,e),m(t,a,r);for(var i=0;i<o.length;i+=1)o[i].m(t,r);m(t,c,r)},p:function(t,n){if(2&n){var e;for(i=t[1],e=0;e<i.length;e+=1){var a=K(t,i,e);o[e]?o[e].p(a,n):(o[e]=tt(a),o[e].c(),o[e].m(c.parentNode,c))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},i:g,o:g,d:function(t){t&&d(n),t&&d(a),L(o,t),t&&d(c)}}}function Z(t){var n,e;return n=new q({}),{c:function(){M(n.$$.fragment)},l:function(t){x(n.$$.fragment,t)},m:function(t,a){N(n,t,a),e=!0},p:g,i:function(t){e||(R(n.$$.fragment,t),e=!0)},o:function(t){_(n.$$.fragment,t),e=!1},d:function(t){B(n,t)}}}function tt(t){var n,e,a,c,r,i,o,g,w,y,_,D,R,I,T,b=t[5].title.replace("🛑","").replace("⚠️","").trim()+"",L=k.i18n.activeIncidentSummary.replace(/\$DATE/g,new Date(t[5].created_at).toLocaleString()).replace(/\$POSTS/g,t[5].comments)+"",M=k.i18n.incidentReport.replace(/\$NUMBER/g,t[5].number)+"";return{c:function(){n=s("article"),e=s("div"),a=s("div"),c=s("h4"),r=u(b),i=$(),o=s("div"),g=u(L),w=$(),y=s("div"),_=s("a"),D=u(M),I=$(),this.h()},l:function(t){n=l(t,"ARTICLE",{class:!0});var s=f(n);e=l(s,"DIV",{class:!0});var u=f(e);a=l(u,"DIV",{});var v=f(a);c=l(v,"H4",{});var m=f(c);r=h(m,b),m.forEach(d),i=E(v),o=l(v,"DIV",{});var p=f(o);g=h(p,L),p.forEach(d),v.forEach(d),w=E(u),y=l(u,"DIV",{class:!0});var $=f(y);_=l($,"A",{href:!0});var R=f(_);D=h(R,M),R.forEach(d),$.forEach(d),u.forEach(d),I=E(s),s.forEach(d),this.h()},h:function(){v(_,"href",R="".concat(k.path,"/incident/").concat(t[5].number)),v(y,"class","f r"),v(e,"class","f"),v(n,"class",T="down down-active link "+(t[5].title.includes("degraded")?"degraded":""))},m:function(t,s){m(t,n,s),p(n,e),p(e,a),p(a,c),p(c,r),p(a,i),p(a,o),p(o,g),p(e,w),p(e,y),p(y,_),p(_,D),p(n,I)},p:function(t,e){2&e&&b!==(b=t[5].title.replace("🛑","").replace("⚠️","").trim()+"")&&S(r,b),2&e&&L!==(L=k.i18n.activeIncidentSummary.replace(/\$DATE/g,new Date(t[5].created_at).toLocaleString()).replace(/\$POSTS/g,t[5].comments)+"")&&S(g,L),2&e&&M!==(M=k.i18n.incidentReport.replace(/\$NUMBER/g,t[5].number)+"")&&S(D,M),2&e&&R!==(R="".concat(k.path,"/incident/").concat(t[5].number))&&v(_,"href",R),2&e&&T!==(T="down down-active link "+(t[5].title.includes("degraded")?"degraded":""))&&v(n,"class",T)},d:function(t){t&&d(n)}}}function nt(t){var n,e,a,c,r,i=!t[1].length&&!t[0]&&Q(),o=[Z,X],u=[];function h(t,n){return t[0]?0:t[1].length?1:-1}return~(a=h(t))&&(c=u[a]=o[a](t)),{c:function(){i&&i.c(),n=$(),e=s("section"),c&&c.c(),this.h()},l:function(t){i&&i.l(t),n=E(t),e=l(t,"SECTION",{class:!0});var a=f(e);c&&c.l(a),a.forEach(d),this.h(