uptime/client/legacy/rate-limit-exceeded.9b9eb3b...

2 lines
4.6 KiB
JavaScript

import{_ as e,a as t,i as n,b as a,c as i,S as o,d as r,e as c,s,A as u,f as l,g as f,w as d,B as h,Q as v,l as m,h as p,j as E,k as x,x as w,m as g,n as y,y as L,o as b,z as T,u as P,Y as S,Z as k,I as A,$ as R,J as B}from"./client.a8a55042.js";function H(e){var t=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(e){return!1}}();return function(){var n,a=r(e);if(t){var i=r(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return c(this,n)}}function I(e){var t,n,a,i,o,r,c,s,h,v,b,T=u.i18n.rateLimitExceededGitHubPAT+"",P=u.i18n.rateLimitExceededSaveToken+"";return{c:function(){t=f("form"),n=f("label"),a=f("span"),i=d(T),o=l(),r=f("input"),c=l(),s=f("button"),h=d(P),this.h()},l:function(e){t=E(e,"FORM",{});var u=x(t);n=E(u,"LABEL",{class:!0});var l=x(n);a=E(l,"SPAN",{class:!0});var f=x(a);i=w(f,T),f.forEach(m),o=p(l),r=E(l,"INPUT",{type:!0,placeholder:!0,class:!0}),l.forEach(m),c=p(u),s=E(u,"BUTTON",{class:!0,type:!0});var d=x(s);h=w(d,P),d.forEach(m),u.forEach(m),this.h()},h:function(){g(a,"class","svelte-1x7uoin"),g(r,"type","text"),g(r,"placeholder",u.i18n.rateLimitExceededCopyPastePAT),g(r,"class","svelte-1x7uoin"),g(n,"class","svelte-1x7uoin"),g(s,"class","submit-button svelte-1x7uoin"),g(s,"type","submit")},m:function(u,l){y(u,t,l),L(t,n),L(n,a),L(a,i),L(n,o),L(n,r),k(r,e[0]),L(t,c),L(t,s),L(s,h),v||(b=[A(r,"input",e[4]),A(t,"submit",R(e[2]))],v=!0)},p:function(e,t){1&t&&r.value!==e[0]&&k(r,e[0])},d:function(e){e&&m(t),v=!1,B(b)}}}function N(e){var t,n,a,i,o,r,c,s=u.i18n.rateLimitExceededHasSet+"",h=u.i18n.rateLimitExceededRemoveToken+"";return{c:function(){t=f("p"),n=d(s),a=l(),i=f("button"),o=d(h),this.h()},l:function(e){t=E(e,"P",{});var r=x(t);n=w(r,s),r.forEach(m),a=p(e),i=E(e,"BUTTON",{class:!0});var c=x(i);o=w(c,h),c.forEach(m),this.h()},h:function(){g(i,"class","svelte-1x7uoin")},m:function(s,u){y(s,t,u),L(t,n),y(s,a,u),y(s,i,u),L(i,o),r||(c=A(i,"click",e[3]),r=!0)},p:T,d:function(e){e&&m(t),e&&m(a),e&&m(i),r=!1,c()}}}function O(e){var t,n,a,i,o,r,c,s,P,S,k,A,R,B,H,O,F,M,U,j,C,G,_,z,D=u.i18n.rateLimitExceededTitle+"",J=u.i18n.rateLimitExceededIntro+"",Q=u.i18n.rateLimitExceededWhatDoesErrorMean+"",W=u.i18n.rateLimitExceededErrorMeaning+"",Y=u.i18n.rateLimitExceededErrorHowCanFix+"",Z=u.i18n.rateLimitExceededErrorFix+"",$=u.i18n.rateLimitExceededGeneratePAT+"";function q(e,t){return e[1]?N:I}document.title=t=u.i18n.rateLimitExceededTitle;var K=q(e),V=K(e);return{c:function(){n=l(),a=f("h1"),i=d(D),o=l(),r=f("p"),c=d(J),s=l(),P=f("h2"),S=d(Q),k=l(),A=f("p"),R=d(W),B=l(),H=f("h2"),O=d(Y),F=l(),M=f("p"),U=d(Z),j=l(),C=f("a"),G=d($),_=l(),V.c(),z=h(),this.h()},l:function(e){v('[data-svelte="svelte-1xny0el"]',document.head).forEach(m),n=p(e),a=E(e,"H1",{});var t=x(a);i=w(t,D),t.forEach(m),o=p(e),r=E(e,"P",{class:!0});var u=x(r);c=w(u,J),u.forEach(m),s=p(e),P=E(e,"H2",{});var l=x(P);S=w(l,Q),l.forEach(m),k=p(e),A=E(e,"P",{});var f=x(A);R=w(f,W),f.forEach(m),B=p(e),H=E(e,"H2",{});var d=x(H);O=w(d,Y),d.forEach(m),F=p(e),M=E(e,"P",{});var g=x(M);U=w(g,Z),j=p(g),C=E(g,"A",{href:!0,target:!0});var y=x(C);G=w(y,$),y.forEach(m),g.forEach(m),_=p(e),V.l(e),z=h(),this.h()},h:function(){g(r,"class","lead svelte-1x7uoin"),g(C,"href","https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token"),g(C,"target","_blank")},m:function(e,t){y(e,n,t),y(e,a,t),L(a,i),y(e,o,t),y(e,r,t),L(r,c),y(e,s,t),y(e,P,t),L(P,S),y(e,k,t),y(e,A,t),L(A,R),y(e,B,t),y(e,H,t),L(H,O),y(e,F,t),y(e,M,t),L(M,U),L(M,j),L(M,C),L(C,G),y(e,_,t),V.m(e,t),y(e,z,t)},p:function(e,n){var a=b(n,1)[0];0&a&&t!==(t=u.i18n.rateLimitExceededTitle)&&(document.title=t),K===(K=q(e))&&V?V.p(e,a):(V.d(1),(V=K(e))&&(V.c(),V.m(z.parentNode,z)))},i:T,o:T,d:function(e){e&&m(n),e&&m(a),e&&m(o),e&&m(r),e&&m(s),e&&m(P),e&&m(k),e&&m(A),e&&m(B),e&&m(H),e&&m(F),e&&m(M),e&&m(_),V.d(e),e&&m(z)}}}function F(e,t,n){var a="",i=!1;return P((function(){"undefined"!=typeof window&&"localStorage"in window&&localStorage.getItem("personal-access-token")&&n(1,i=!0)})),[a,i,function(){"undefined"!=typeof window&&"localStorage"in window&&window.localStorage.setItem("personal-access-token",a),S(u.path)},function(){n(0,a=""),n(1,i=!1),"undefined"!=typeof window&&"localStorage"in window&&window.localStorage.removeItem("personal-access-token")},function(){a=this.value,n(0,a)}]}var M=function(r){e(u,o);var c=H(u);function u(e){var i;return t(this,u),i=c.call(this),n(a(i),e,F,O,s,{}),i}return i(u)}();export{M as default};