1import"../chunks/DsnmJJEf.js";import"../chunks/DOoDc4tg.js";import{v as K,x as d,y as L,K as v,i as o,B as N,an as T,ao as A,j as s,ap as B,F as _,G as r,aq as F,ar as p,as as f,at as l,L as w,I as y,A as M,n}from"../chunks/Ndri3sLk.js";import{s as R}from"../chunks/NBiqQv3d.js";import{i as U}from"../chunks/CQN3pcvY.js";import{h as z}from"../chunks/m_HYWlFJ.js";import{s as C}from"../chunks/BrbxFX-R.js";import{i as D}from"../chunks/DpZMeqx-.js";import{p as E}from"../chunks/K-GNXj2_.js";var H=s("<h1>You’re not logged in.</h1> <p>To do that, you’ll need to <a>log in</a> first.</p>",1),J=s("<h1>You’re not allowed to do that.</h1> <p>You don’t have permission to perform that action.</p>",1),O=s(`<h1>Sorry, we couldn’t find that page.</h1> <p>If you typed the address, please check it for mistakes and try again, or 2 visit our <a href="/">homepage</a>.</p>`,1),Q=s(`<h1>Sorry, something went wrong.</h1> <p>Please try again in a few minutes, or visit our <a href="/">homepage</a>. 3 You can also check our <a href="https://status.growkudos.com">service status</a> or <a href="https://info.growkudos.com/contact">contact us</a>.</p>`,1),V=s('<div class="content svelte-1j96wlh"><!> <p class="details svelte-1j96wlh"> </p></div>');function nt(k,S){K(S,!1);const t=()=>B(E,"$page",q),[q,j]=T(),c=y(),u=y(),x=new Map([["401","Not logged in"],["403","Not allowed"],["404","Page not found"]]);d(()=>t(),()=>{_(c,new URLSearchParams({goto:t().url.href}))}),d(()=>t(),()=>{_(u,[(t().error?.message??"").includes(t().status.toString())?[]:t().status.toString(),t().error?.message??[]].flat().join(": "))}),L(),D();var i=V();z("1j96wlh",a=>{A(e=>{F.title=`${e??""} â 4 Kudos: Growing the influence of research`},[()=>(t(),r(()=>x.get(t().status.toString())??"Something went wrong"))])});var h=p(i);{var $=a=>{var e=H(),g=f(M(e),2),I=f(p(g));n(),l(g),v(()=>C(I,"href",`/sessions/new?${w(c)??""}`)),o(a,e)},b=a=>{var e=J();n(2),o(a,e)},P=a=>{var e=O();n(2),o(a,e)},Y=a=>{var e=Q();n(2),o(a,e)};U(h,a=>{t(),r(()=>t().status===401)?a($):(t(),r(()=>t().status===403)?a(b,1):(t(),r(()=>t().status===404)?a(P,2):a(Y,-1)))})}var m=f(h,2),G=p(m,!0);l(m),l(i),v(()=>R(G,w(u))),o(k,i),N(),j()}export{nt as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.