PageSourceSearch

https://www.milesmasterclass.com/chunk-PY46M3GY.js

js milesmasterclass.com collected 2026-09-24 12:59:56 UTC 4,139 bytes, 1 lines download raw bytes

1import{a as s}from"./chunk-QL2PWHNI.js";import{a as F}from"./chunk-FFZHOO6B.js";import{a as d}from"./chunk-EP6LAQKH.js";import"./chunk-BRPHULVM.js";import{b as T}from"./chunk-22RMNVBC.js";import"./chunk-YAMSTEOM.js";import"./chunk-CBHMCJE2.js";import{a as U}from"./chunk-ZURRODBF.js";import{a as k,c as E}from"./chunk-HYTM367Z.js";import"./chunk-2BGR5UAN.js";import"./chunk-ABBERMMQ.js";import"./chunk-K3P6WDCC.js";import{a as R}from"./chunk-V6SK3OCV.js";import{a as C}from"./chunk-PINU6JZZ.js";import{c as _,d as A,e as M}from"./chunk-WBGYSV3U.js";import"./chunk-TYZ4IIBI.js";import{a as N}from"./chunk-54ZBT5FL.js";import"./chunk-VTJ72YT4.js";import"./chunk-R6APU3SA.js";import{c as D}from"./chunk-5CCE3APX.js";import"./chunk-TNDKBMBP.js";import"./chunk-DOYHICU5.js";import"./chunk-GAMBHOSW.js";import"./chunk-PWVZ3RMR.js";import"./chunk-BSTTMKBL.js";import"./chunk-IPKNN4YZ.js";import{a as x}from"./chunk-7XNWVJ7B.js";import"./chunk-6R6R4HQM.js";import"./chunk-NWDWORH2.js";import{d as B}from"./chunk-YFYBZN5P.js";import{l as S,o as L}from"./chunk-GEHL6XGR.js";import"./chunk-HPKGILLZ.js";import{$b as a,Ab as v,Ca as f,Dc as b,Ec as w,_b as p,ac as u,ad as c,bc as r,ga as o,lb as l,mc as y,t as m,za as h}from"./chunk-ZHQDZIZV.js";import"./chunk-HT2G6UXV.js";import"./chunk-QJI7QS7F.js";var g=class e{router=o(M);route=o(_);authService=o(D);dialog=o(N);isBrowser=S(o(f));authFacade=o(d);auth_type=this.authFacade.auth_type;S3_BUCKET_URL=x.S3_BUCKET_URL;icons=h({logo:C,google:E,apple:k,faSolidAngleLeft:U});showLogout=c(()=>{let t=this.authService.currentUser();return this.auth_type()==="profile"&&!!t&&!t.is_existing_user});buttonLabel=c(()=>this.showLogout()?"Logout":"Back to Home");navigateTo(){let t=this.route.snapshot.queryParamMap.get("redirect");this.router.navigateByUrl(t||"/")}async handleBackOrLogout(){if(!this.showLogout()){this.navigateTo();return}let t=this.dialog.open(R,{data:{title:"Logout",content:[{type:"text",value:"Are you sure you want to logout?"}],buttons:[{label:"Cancel",variant:"outline",action:"close"},{label:"Logout",variant:"destructive",action:"confirm"}]}});(await m(t.afterClosed$))?.action==="confirm"&&(await this.authService.logout(),this.isBrowser?window.location.assign("/"):await this.router.navigateByUrl("/"))}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=v({type:e,selectors:[["app-auth"]],decls:12,vars:4,consts:[[1,"flex","flex-col","px-8","py-4","h-screen","w-full"],[1,"w-24!","h-10!","z-10",3,"svg"],[1,"absolute","inset-0","w-full","h-full","object-cover","z-0","select-none","pointer-events-none","opacity-70"],["alt","Background","fill","",1,"w-full","h-full","object-cover",3,"ngSrc"],[1,"absolute","inset-0","z-0","bg-black/40","pointer-events-none"],[1,"max-w-xl","m-auto","flex","flex-col","space-y-4","z-10"],["type","button",1,"flex","space-x-2","items-center","cursor-pointer","w-max","bg-transparent","border-0","p-0","text-left",3,"click"],[1,"w-5!","h-5!",3,"svg"],[1,"text-white"],[1,"auth-card","max-h-[80vh]","overflow-auto"]],template:function(n,i){n&1&&(a(0,"div",0),r(1,"ng-icon",1),a(2,"div",2),r(3,"img",3),u(),r(4,"div",4),a(5,"div",5)(6,"button",6),y("click",function(){return i.handleBackOrLogout()}),r(7,"ng-icon",7),a(8,"p",8),b(9),u()(),a(10,"div",9),r(11,"router-outlet"),u()()()),n&2&&(l(),p("svg",i.icons().logo),l(2),p("ngSrc",i.S3_BUCKET_URL+"static-assests/web-app/payment/plab-bg.webp"),l(4),p("svg",i.icons().faSolidAngleLeft),l(2),w(i.buttonLabel()))},dependencies:[A,L,B],encapsulation:2})},ne=[{path:"",component:g,providers:[d],children:[{path:"",redirectTo:"login",pathMatch:"full"},{path:"login",canActivate:[s],loadComponent:()=>import("./chunk-PK4367PO.js").then(e=>e.Login)},{path:T,canActivate:[s],loadComponent:()=>import("./chunk-PK4367PO.js").then(e=>e.Login)},{path:"signup",canActivate:[s],loadComponent:()=>import("./chunk-65DVVFYE.js").then(e=>e.Signup)},{path:"forget-password",canActivate:[s],loadComponent:()=>import("./chunk-EYGSF76X.js").then(e=>e.ForgetPassword)},{path:"profile",canDeactivate:[F],loadComponent:()=>import("./chunk-E4WUM575.js").then(e=>e.Profile)}]}];export{g as Auth,ne as authRoutes};

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.