PageSourceSearch

https://columbusjack.com/main-5ETA63NF.js

js columbusjack.com collected 2026-10-04 13:24:40 UTC 6,151 bytes, 1 lines download raw bytes

1import{$ as ee,Aa as re,Ba as ne,D as O,G as c,Gb as le,Ha as ie,Hb as ue,L as K,La as ae,M as W,Ma as se,P as X,Q as J,Qa as pe,Ra as u,S as m,T as l,U as S,Ua as ce,Z as Q,Za as A,ba as M,c as L,e as d,h as B,i as y,ib as g,j as V,jb as i,ka as te,l as $,la as k,m as D,ma as oe,mb as me,nb as h,ob as v,q as T,s as z,t as P,u as n,v as q,w as Y,z as Z}from"./chunk-Q3NVEXWK.js";import{a as G,b as j}from"./chunk-E77BULOG.js";var fe=(e,t)=>{let o=n(h),r=n(u);return o.isAuthenticated()?!0:(r.navigate([i.AUTH_SIGNIN],{queryParams:{returnUrl:t.url}}),!1)};var de=()=>{let e=n(h),t=n(u);return e.isAuthenticated()?(t.navigate([i.DASHBOARD_BASE]),!1):!0};var Ae=/^(?!.*hashnet)[a-zA-Z][a-zA-Z0-9]{4,22}$/i,x=class e{constructor(t,o){this.router=t;this.toast=o}canActivate(t,o){let r=t.url[0]?.path;return Ae.test(r)?this.router.createUrlTree([i.AUTH_SIGNUP,r]):(this.toast.error("Incorrect referral link"),this.router.createUrlTree([i.AUTH_SIGNIN]))}static \u0275fac=function(o){return new(o||e)(P(u),P(v))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})};var E=class e{static \u0275fac=function(o){return new(o||e)};static \u0275cmp=c({type:e,selectors:[["app-username-redirect"]],decls:0,vars:0,template:function(o,r){},encapsulation:2})};var ge=[{path:g.AUTH_ROOT,canActivate:[de],loadChildren:()=>import("./chunk-O5LWFKTF.js").then(e=>e.AuthModule)},{path:g.DASHBOARD_ROOT,canActivate:[fe],loadChildren:()=>import("./chunk-4S7GRJYU.js").then(e=>e.DashboardModule)},{path:g.ROOT,redirectTo:i.DASHBOARD_BASE,pathMatch:"full"},{path:g.USERNAME_PARAM,canActivate:[x],component:E},{path:g.WILDCARD,redirectTo:i.DASHBOARD_BASE}];var I=new z("API_URL");var C=class e{_count=Z(0);isLoading=ne(()=>this._count()>0);show(){this._count.update(t=>t+1)}hide(){this._count.update(t=>Math.max(0,t-1))}static \u0275fac=function(o){return new(o||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})};var b=!1,w=new L(null),he=(e,t)=>{let o=n(u),r=n(me),R=n(C),a=n(h),Re=n(v),Se=n(I),f=e.clone({url:`${Se}${e.url}`});return!f.url.includes("/email-available")&&!f.url.includes("/verify-account")&&!f.url.includes("/dashboard")&&!f.url.includes("/alpha-engine")&&R.show(),t(f).pipe(y(s=>{let p=A.GENERIC_ERROR;if(s.error instanceof ErrorEvent)p=s.error.message,r.error("Client-side error",s.error);else switch(p=s.error?.message,r.error("Server-side error",{status:s.status,message:p,url:s.url}),s.status){case 401:return f.url.includes("/auth/")?(o.navigate([i.AUTH_SIGNIN]),Re.error("Session expired, please login again"),d(()=>({message:"Session expired, please login again",status:401}))):_e(f,t,o,a);case 403:p=A.GENERIC_ERROR;break;case 404:p=p||"Not found";break;case 500:p=A.GENERIC_ERROR;break}return d(()=>j(G({},s.error),{message:p||A.GENERIC_ERROR,status:s.status}))}),$(()=>R.hide()))};function _e(e,t,o,r){return document.cookie.split(";").some(a=>a.trim().startsWith("refresh_token="))?(console.debug("Handling 401 error, attempting token refresh..."),b?w.pipe(B(a=>a!==null),V(1),D(a=>a?t(e.clone({withCredentials:!0})):d(()=>({message:"Session expired, please login again",status:401})))):(b=!0,w.next(null),console.debug("Calling token refresh..."),r.refresh().pipe(D(()=>(console.debug("Token refresh successful, retrying original request..."),b=!1,w.next(!0),t(e.clone({withCredentials:!0})))),y(a=>(console.debug("Handling 401 error, token refresh failed"),b=!1,w.next(!1),o.navigate([i.AUTH_SIGNIN]),d(()=>({message:"Session expired, please login again",status:401}))))))):(o.navigate([i.AUTH_SIGNIN]),d(()=>({message:"Session expired, please login again",status:401})))}var ve=(e,t)=>{let o=e.clone({withCredentials:!0,setHeaders:{"Content-Type":"application/json"}});return t(o)};var Ce={providers:[{provide:I,useValue:ue.apiUrl},ae(se([he,ve])),{provide:"TODO: //RECAPTCHA_V3_SITE_KEY",useValue:"YOUR_RECAPTCHA_SITE_KEY"},re({eventCoalescing:!0}),ce(ge)]};function Te(e,t){e&1&&(m(0,"div",0),S(1,"img",1),l())}var U=class e{spinnerService=n(C);static \u0275fac=function(o){return new(o||e)};static \u0275cmp=c({type:e,selectors:[["app-spinner"]],standalone:!1,decls:1,vars:1,consts:[[1,"fixed","inset-0","z-[999899]","flex","items-center","justify-center","bg-black/30"],["src","/icons/logo.svg","alt","Loading...",1,"w-16","h-16","animate-spin",2,"animation-duration","1s"]],template:function(o,r){o&1&&K(0,Te,2,0,"div",0),o&2&&W(r.spinnerService.isLoading()?0:-1)},encapsulation:2})};var Ee=(e,t)=>t.id;function Ie(e,t){if(e&1){let o=Q();m(0,"div",2)(1,"span",3),k(2),l(),m(3,"button",4),ee("click",function(){let R=q(o).$implicit,a=M();return Y(a.toastService.remove(R.id))}),k(4,"\u2715"),l()()}if(e&2){let o=t.$implicit,r=M();te(r.toastClass(o)),O(2),oe(o.message)}}var H=class e{toastService=n(v);toastClass(t){return{success:"bg-green-600",error:"bg-red-600",warning:"bg-yellow-500",info:"bg-blue-600"}[t.type]}iconFor(t){return{success:"\u2705",error:"\u274C",warning:"\u26A0\uFE0F",info:"\u2139\uFE0F"}[t]??""}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=c({type:e,selectors:[["app-toast"]],standalone:!1,decls:3,vars:0,consts:[[1,"fixed","bottom-3","left-1/2","transform","-translate-x-1/2","z-[9999]","flex","flex-col","gap-2"],[1,"flex","items-center","gap-3","px-4","py-3","rounded-lg","shadow-lg","text-white","text-sm","min-w-[280px]","max-w-sm","animate-in","slide-in-from-right","duration-300",3,"class"],[1,"flex","items-center","gap-3","px-4","py-3","rounded-lg","shadow-lg","text-white","text-sm","min-w-[280px]","max-w-sm","animate-in","slide-in-from-right","duration-300"],[1,"flex-1"],[1,"opacity-70","hover:opacity-100",3,"click"]],template:function(o,r){o&1&&(m(0,"div",0),X(1,Ie,5,3,"div",1,Ee),l()),o&2&&(O(
1),J(r.toastService.toasts()))},encapsulation:2})};var N=class e{title="hashnet";static \u0275fac=function(o){return new(o||e)};static \u0275cmp=c({type:e,selectors:[["app-root"]],decls:4,vars:0,consts:[[1,"app"]],template:function(o,r){o&1&&(S(0,"app-spinner")(1,"app-toast"),m(2,"div",0),S(3,"router-outlet"),l())},dependencies:[pe,le,U,H],styles:[".app[_ngcontent-%COMP%]{max-width:1440px;margin:0 auto}"]})};ie(N,Ce).catch(e=>console.error(e));

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.