import{Sase,iast,sasa,aasn,easr,cass,basl,dasc,fasi,gaso,hasd,jash,tasu,kasf,lasm,oasp,masg,nasv,pas$,qasE,rasw,uasD,vas_,wasy,xasT,yasI,zasS,Aasb,BasL,Cask,Dasq,EasR,HasM,FasN,GasA,IasH,JasV,KasU,LasB}from"./client.affd83be.js";import{casC,aasO,hasP,Lasx}from"./createOctokit.2f22839a.js";functionF(e,t,a){constn=e.slice();returnn[5]=t[a],n}functionj(e){lett,a,n,s=w.i18n.allSystemsOperational+"";return{c(){t=r("article"),a=g("✅ "),n=g(s),this.h()},l(e){t=l(e,"ARTICLE",{class:!0});varr=c(t);a=v(r,"✅ "),n=v(r,s),r.forEach(i),this.h()},h(){o(t,"class","up")},m(e,r){d(e,t,r),$(t,a),$(t,n)},p:E,d(e){e&&i(t)}}}functionY(e){lett,a,o,h,u=w.i18n.activeIncidents+"",f=e[1],m=[];for(lett=0;t<f.length;t+=1)m[t]=z(F(e,f,t));return{c(){t=r("h2"),a=g(u),o=n();for(lete=0;e<m.length;e+=1)m[e].c();h=D()},l(e){t=l(e,"H2",{});varn=c(t);a=v(n,u),n.forEach(i),o=s(e);for(lett=0;t<m.length;t+=1)m[t].l(e);h=D()},m(e,n){d(e,t,n),$(t,a),d(e,o,n);for(lett=0;t<m.length;t+=1)m[t]&&m[t].m(e,n);d(e,h,n)},p(e,t){if(2&t){leta;for(f=e[1],a=0;a<f.length;a+=1){constn=F(e,f,a);m[a]?m[a].p(n,t):(m[a]=z(n),m[a].c(),m[a].m(h.parentNode,h))}for(;a<m.length;a+=1)m[a].d(1);m.length=f.length}},i:E,o:E,d(e){e&&i(t),e&&i(o),_(m,e),e&&i(h)}}}functionW(e){lett,a;returnt=newx({}),{c(){y(t.$$.fragment)},l(e){T(t.$$.fragment,e)},m(e,n){I(t,e,n),a=!0},p:E,i(e){a||(m(t.$$.fragment,e),a=!0)},o(e){u(t.$$.fragment,e),a=!1},d(e){S(t,e)}}}functionz(e){lett,a,h,u,f,m,p,E,D,_,y,T,I,S,L,k=e[5].title.replace("🛑","").replace("⚠️","").trim()+"",q=w.i18n.activeIncidentSummary.replace(/\$DATE/g,newDate(e[5].created_at).toLocaleString()).replace(/\$POSTS/g,e[5].comments)+"",R=w.i18n.incidentReport.replace(/\$NUMBER/g,e[5].number)+"";return{c(){t=r("article"),a=r("div"),h=r("div"),u=r("h4"),f=g(k),m=n(),p=r("div"),E=g(q),D=n(),_=r("div"),y=r("a"),T=g(R),S=n(),this.h()},l(e){t=l(e,"ARTICLE",{class:!0});varn=c(t);a=l(n,"DIV",{class:!0});varr=c(a);h=l(r,"DIV",{});varo=c(h);u=l(o,"H4",{});vard=c(u);f=v(d,k),d.forEach(i),m=s(o),p=l(o,"DIV",{});varg=c(p);E=v(g,q),g.forEach(i),o.forEach(i),D=s(r),_=l(r,"DIV",{class:!0});var$=c(_);y=l($,"A",{href:!0});varw=c(y);T=v(w,R),w.forEach(i),$.forEach(i),r.forEach(i),S=s(n),n.forEach(i),this.h()},h(){o(y,"href",I=`${w.path}/incident/${e[5].number}`),o(_,"class","f r"),o(a,"class","f"),o(t,"class",L="down down-active link "+(e[5].title.includes("degraded")?"degraded":""))},m(e,n){d(e,t,n),$(t,a),$(a,h),$(h,u),$(u,f),$(h,m),$(h,p),$(p,E),$(a,D),$(a,_),$(_,y),$(y,T),$(t,S)},p(e,a){2&a&&k!==(k=e[5].title.replace("🛑","").replace("⚠️","").trim()+"")&&b(f,k),2&a&&q!==(q=w.i18n.activeIncidentSummary.replace(/\$DATE/g,newDate(e[5].created_at).toLocaleString()).replace(/\$POSTS/g,e[5].comments)+"")&&b(E,q),2&a&&R!==(R=w.i18n.incidentReport.replace(/\$NUMBER/g,e[5].number)+"")&&b(T,R),2&a&&I!==(I=`${w.path}/incident/${e[5].number}`)&&o(y,"href",I),2&a&&L!==(L="down down-active link "+(e[5].title.includes("degraded")?"degraded":""))&&o(t,"class",L)},d(e){e&&i(t)}}}functionG(e){lett,a,p,g,v,$=!e[1].length&&!e[0]&&j();constE=[W,Y],w=[];functionD(e,t){returne[0]?0:e[1].length?1:-1}return~(p=D(e))&&(g=w[p]=E[p](e)),{c(){$&&$.c(),t=n(),a=r("section"),g&&g.c(),this.h()},l(e){$&&$.l(e),t=s(e),a=l(e,"SECTION",{class:!0});varn=c(a);g&&g.l(n),n.forEach(i),this.h()},h(){o(a,"class","svelte-8lnl4f")},m(e,n){$&&$.m(e,n),d(e,t,n),d(e,a,n),~p&&w[p].m(a,null),v=!0},p(e,n){let[r]=n;e[1].length||e[0]?$&&($.d(1),$=null):$?$.p(e,r):($=j(),$.c(),$.m(t.parentNode,t));lets=p;p=D(e),p===s?~p&&w[p].p(e,r):(g&&(h(),u(w[s],1,1,(()=>{w[s]=null})),f()),~p?(g=w[p],g?g.p(e,r):(g=w[p]=E[p](e),g.c()),m(g,1),g.m(a,null)):g=null)},i(e){v||(m(g),v=!0)},o(e){u(g),v=!1},d(e){$&&$.d(e),e&&i(t),e&&i(a),~p&&w[p].d()}}}functionJ(e,t,a){letn=!0;constr=C(),s=w.owner,l=w.repo;letc=[];returnp((async()=>{try{a(1,c=(awaitO(`issues-${s}-${l}`,(()=>r.issues.listForRepo({owner:s,repo:l,state:"open",filter:"all",sort:"created",direction:"desc",labels:"status"})))).data