PageSourceSearch

https://nextreel.ai/chunk-A5KB6YWL.js

js nextreel.ai collected 2026-10-05 12:18:17 UTC 5,847 bytes, 1 lines download raw bytes

1import{a as k}from"./chunk-THVFQK2H.js";import{a as y}from"./chunk-OXBHXXWV.js";import"./chunk-WGOI2DFN.js";import"./chunk-IKALRZN5.js";import{b as F,c as N,d as P,e as B,f as D,g as R,o as U,q as H}from"./chunk-FQOBF4ED.js";import{k as A,o as E}from"./chunk-LQYQCWLF.js";import"./chunk-PM6PGMDC.js";import{c as L,e as I}from"./chunk-HY2J3LTU.js";import"./chunk-J72E3WST.js";import{$ as _,Ha as i,Lg as M,Mb as r,Mg as O,Nb as p,Ob as f,V as C,Xa as S,aa as h,hb as u,ib as x,ic as a,jc as l,ma as m,nb as b,ob as e,pb as n,qb as d,vb as T,wb as w,yb as c}from"./chunk-G774EGF5.js";import"./chunk-Q7L6LLAK.js";function j(t,s){if(t&1&&(e(0,"div",12),d(1,"lucide-icon",20),e(2,"span"),r(3),a(4,"translate"),n()()),t&2){let o=c(2);i(3),p(l(4,1,o.error()))}}function W(t,s){t&1&&(e(0,"span",15),r(1),a(2,"translate"),d(3,"lucide-icon",21),n()),t&2&&(i(),f(" ",l(2,1,"AUTH.FORGOT_PASSWORD_BUTTON")," "))}function z(t,s){t&1&&(e(0,"div",16),d(1,"div",22),e(2,"span"),r(3),a(4,"translate"),n()()),t&2&&(i(3),p(l(4,1,"AUTH.LOADING")))}function q(t,s){if(t&1){let o=T();e(0,"div",2)(1,"h2",3),r(2),a(3,"translate"),n(),e(4,"p",4),r(5),a(6,"translate"),n()(),e(7,"form",5),w("ngSubmit",function(){_(o);let v=c();return h(v.onSubmit())}),e(8,"div",6)(9,"div")(10,"label",7),r(11),a(12,"translate"),n(),e(13,"div",8)(14,"div",9),d(15,"lucide-icon",10),n(),e(16,"input",11),w("ngModelChange",function(v){_(o);let V=c();return h(V.email.set(v))}),n()()()(),u(17,j,5,3,"div",12),e(18,"button",13)(19,"span",14),u(20,W,4,3,"span",15)(21,z,5,3,"div",16),n()()(),e(22,"div",17)(23,"a",18),d(24,"lucide-icon",19),r(25),a(26,"translate"),n()()}if(t&2){let o=c();i(2),p(l(3,8,"AUTH.FORGOT_PASSWORD_TITLE")),i(3),p(l(6,10,"AUTH.FORGOT_PASSWORD_SUBTITLE")),i(6),p(l(12,12,"AUTH.EMAIL")),i(5),b("ngModel",o.email()),i(),x(o.error()?17:-1),i(),b("disabled",o.isLoading()||!o.email()),i(2),x(o.isLoading()?21:20),i(5),f(" ",l(26,14,"AUTH.BACK_TO_LOGIN")," ")}}function K(t,s){t&1&&(e(0,"div",1)(1,"div",23),d(2,"lucide-icon",24),n(),e(3,"div",25)(4,"h2",26),r(5),a(6,"translate"),n(),e(7,"p",27),r(8),a(9,"translate"),n()(),e(10,"div",28)(11,"a",29),r(12),a(13,"translate"),d(14,"lucide-icon",30),n()()()),t&2&&(i(5),p(l(6,3,"AUTH.EMAIL_SENT_SUCCESS")),i(3),p(l(9,5,"AUTH.EMAIL_SENT_DESC")),i(4),f(" ",l(13,7,"AUTH.BACK_TO_LOGIN")," "))}var G=class t{email=m("");error=m(null);success=m(!1);isLoading=m(!1);authService=C(y);onSubmit(){this.email()&&(this.isLoading.set(!0),this.error.set(null),this.success.set(!1),this.authService.forgotPassword(this.email()).subscribe({next:()=>{this.success.set(!0),this.isLoading.set(!1)},error:s=>{console.error("Forgot password error:",s),this.error.set(s.error?.error||"AUTH.FORGOT_PASSWORD_ERROR"),this.isLoading.set(!1)}}))}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=S({type:t,selectors:[["app-forgot-password"]],decls:3,vars:1,consts:[["glowColor","rose"],[1,"text-center","space-y-6"],[1,"mb-10","text-left"],[1,"text-3xl","font-bold","tracking-tight","text-white","mb-2"],[1,"text-slate-400"],[1,"space-y-6",3,"ngSubmit"],[1,"space-y-4"],["for","email",1,"block","text-xs","font-semibold","uppercase","tracking-wider","text-slate-500","ml-1","mb-2"],[1,"relative","group"],[1,"absolute","inset-y-0","left-0","pl-4","flex","items-center","pointer-events-none","text-slate-500","group-focus-within:text-rose-500","transition-colors"],["name","mail",1,"w-4","h-4"],["id","email","name","email","type","email","autocomplete","email","required","","placeholder","[email protected]",1,"block","w-full","rounded-2xl","border","border-white/10","bg-white/5","pl-11","pr-4","py-3.5","text-white","placeholder-slate-600","focus:border-rose-500/50","focus:ring-4","focus:ring-rose-500/10","outline-none","transition-all","sm:text-sm",3,"ngModelChange","ngModel"],[1,"flex","items-center","gap-3","text-rose-400","text-sm","bg-rose-500/10","p-4","rounded-2xl","border","border-rose-500/20"],["type","submit",1,"group","relative","w-full","inline-flex","items-center","justify-center","overflow-hidden","rounded-full","p-[1px]","font-semibold","transition-all","disabled:opacity-50","mt-4","bg-gradient-to-r","from-rose-500","to-purple-500","hover:from-rose-400","hover:to-purple-400",3,"disabled"],[1,"inline-flex","h-12","w-full","items-center","justify-center","rounded-full","bg-[#050505]","px-8","py-1","transition-colors","group-hover:bg-[#050505]/90"],[1,"flex","items-center","gap-2"],[1,"flex","items-center","gap-2","text-slate-400"],[1,"text-center","pt-8"],["routerLink","/login",1,"inline-flex","items-center","gap-2","text-xs","font-semibold","text-slate-500","hover:text-white","transition-all","group"],["name","chevron-left",1,"w-3.5","h-3.5","group-hover:-translate-x-1","transition-transform"],["name","alert-circle",1,"w-4","h-4","shrink-0"],["name","send",1,"w-4","h-4","group-hover:translate-x-1","transition-transform"],[1,"w-4","h-4","border-2","border-slate-500","border-t-white","rounded-full","animate-spin"],[1,"w-20","h-20","bg-emerald-500/20","rounded-3xl","flex","items-center","justify-center","mx-auto","mb-4","border","border-emerald-500/30","transition-transform","duration-500","relative","z-10"],["name","check-circle",1,"h-10","w-10","text-emerald-400"],[1,"relative","z-10"],[1,"text-3xl","font-bold","text-white","mb-3"],[1,"text-slate-400","leading-relaxed"],[1,"pt-4","relative","z-10"],["routerLink","/login",1,"inline-flex","items-center","gap-2","text-rose-400","hover:text-rose-300","transition-colors","font-semibold","group","flex","justify-center","w-full"],["name","arrow-right",1,"w-4","h-4","group-hover:translate-x-1","transition-transform"]],template:function(o,g){o&1&&(e(0,"app-auth-wrapper",0),u(1,q,27,16)(2,K,15,9,"div",1),n()),o&2&&(i(),x(g.success()?2:1))},dependencies:[H,R,F,N,P,U,D,B,E,A,I,O,M,k,L],encapsulation:2})};export{G as ForgotPasswordComponent};

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.