PageSourceSearch

https://vendor.nexgentaxes.com/2604.1fbed48ce72c8f40.js

js nexgentaxes.com collected 2026-10-05 04:11:38 UTC 10,369 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2604],{832:(B,O,i)=>{i.d(O,{W:()=>U});var w=i(73448),u=i(97048),h=i(112),v=i(31252),m=i(95448),G=i(50560),e=i(14912),P=i(87773),R=i(69399);const T=(0,e.w)(d=>function(s=null){d(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=s});function b(d,g){const{first:s,each:a,with:n=A,scheduler:l=g??h.M,meta:r=null}=(0,v.e)(d)?{first:d}:"number"==typeof d?{each:d}:d;if(null==s&&null==a)throw new TypeError("No timeout provided.");return(0,m.i)((t,o)=>{let p,c,f=null,I=0;const C=x=>{c=(0,R._)(o,l,()=>{try{p.unsubscribe(),(0,G.Uv)(n({meta:r,lastValue:f,seen:I})).subscribe(o)}catch(N){o.error(N)}},x)};p=t.subscribe((0,P.e)(o,x=>{c?.unsubscribe(),I++,o.next(f=x),a>0&&C(a)},void 0,void 0,()=>{c?.closed||c?.unsubscribe(),f=null})),!I&&C(null!=s?"number"==typeof s?s:+s-l.now():a)})}function A(d){throw new T(d)}var D=i(528),M=i(83120);function E(d=1/0){let g;g=d&&"object"==typeof d?d:{count:d};const{count:s=1/0,delay:a,resetOnSuccess:n=!1}=g;
1return s<=0?D.Z:(0,m.i)((l,r)=>{let o,t=0;const p=()=>{let c=!1;o=l.subscribe((0,P.e)(r,f=>{n&&(t=0),r.next(f)},void 0,f=>{if(t++<s){const I=()=>{o?(o.unsubscribe(),o=null,p()):c=!0};if(null!=a){const C="number"==typeof a?(0,M.k)(a):(0,G.Uv)(a(f,t)),x=(0,P.e)(r,()=>{x.unsubscribe(),I()},()=>{r.complete()});C.subscribe(x)}else I()}else r.error(f)})),c&&(o.unsubscribe(),o=null,p())};p()})}var y=i(36716),S=i(32116),Y=i(94292);let U=(()=>{class d{http;photoService;constructor(s,a){this.http=s,this.photoService=a}uploadImage(s){var a=this;return new Promise(function(){var n=(0,w.c)(function*(l,r){try{const t=new FormData;t.append("fi",s),l((yield a.photoService.uploadPhotoToS3(t)).Location)}catch(t){r(t)}});return function(l,r){return n.apply(this,arguments)}}())}sendOtp(s){return new Promise((a,n)=>{s||n("No phone number, please refresh browser");const l=y.O.apiBase+"sendOTP",r={number:s.replace(/-/g,"")};this.http.post(l,r).subscribe(a,n)})}newUserG2FA(){return new Promise((s,a)=>{const n=new u.UD({"x-rapidapi-key":"4454e0f926mshef5aae0fb777da9p128cf5jsn4402fc8b7ca8"});this.http.get("https://google-authenticator.p.rapidapi.com/new/",{headers:n,responseType:"text"}).subscribe(r=>{if(r.includes("Your new secret: ")){const t=r.split("Your new secret: ")[1].trim();s(t)}else a("No secret sent")},r=>a(r))})}enrollUserG2FA(s,a){return new Promise((n,l)=>{const r=new u.UD({"x-rapidapi-key":"4454e0f926mshef5aae0fb777da9p128cf5jsn4402fc8b7ca8"});let t=new u.i4;t=t.append("secret",s),t=t.append("account",a),t=t.append("issuer","NexGen Vendor"),this.http.get("https://google-authenticator.p.rapidapi.com/enroll/",{headers:r,responseType:"text",params:t}).subscribe(n,l)})}validateUserG2FA(s,a){return new Promise((n,l)=>{const r=new u.UD({"x-rapidapi-key":"4454e0f926mshef5aae0fb777da9p128cf5jsn4402fc8b7ca8"});let t=new u.i4;t=t.append("secret",s),t=t.append("code",a),this.http.get("https://google-authenticator.p.rapidapi.com/validate/",{headers:r,responseType:"text",params:t}).subscribe(p=>{n(p)},p=>l(p))})}createCustomer(s,a){const n={headers:new u.UD({async:"true",crossDomain:"true","content-type":"application/x-www-form-urlencoded",authorization:"Bearer "+y.O.stripe.secret,"cache-control":"no-cache","Access-Control-Allow-Origin":"*"})},l=(new u.i4).set("description",s.description).set("email",s.email).set("phone",s.phone).set("name",s.name);return this.http.post(a,l,n).pipe(b(6e3),E(1))}checkCustomer(s){const a={headers:new u.UD({async:"true",crossDomain:"true","content-type":"application/json",authorization:"Bearer "+y.O.stripe.secret,"cache-control":"no-cache","Access-Control-Allow-Origin":"*"})};return this.http.post(s,{},a).pipe(b(6e3),E(1))}attachPmToCustomer(s,a){const n={headers:new u.UD({async:"true",crossDomain:"true","content-type":"application/x-www-form-urlencoded",authorization:"Bearer "+y.O.stripe.secret,"cache-control":"no-cache","Access-Control-Allow-Origin":"*"})},l=(new u.i4).set("customer",s.customer);return this.http.post(a,l,n).pipe(b(6e3),E(1))}stripePay(s,a){const n={headers:new u.UD({async:"true",crossDomain:"true","content-type":"application/x-www-form-urlencoded",authorization:"Bearer "+y.O.stripe.secret,"cache-control":"no-cache","Access-Control-Allow-Origin":"*"})},l=(new u.i4).set("amount",s.amount).set("currency",s.currency).set("customer",s.customer).set("payment_method",s.payment_method).set("confirm",s.confirm).set("error_on_requires_action",s.error_on_requires_action);return this.http.post(a,l,n).pipe(b(6e3),E(1))}postHttpData(s,a){return new Promise((n,l)=>{const r={headers:new u.UD({api_key:y.O.apiBaseKey})};try{this.http.post(s,a,r).pipe().subscribe({next:()=>{console.log("next....."),n(!0)},error:t=>{console.log("error.....",t),l(t)},complete:()=>console.log("completed.....")})}catch(t){l(t)}})}static \u0275fac=function(a){return new(a||d)(S.CoB(u.KK),S.CoB(Y.s))};static \u0275prov=S.wxM({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})()},22604:(B,O,i)=>{i.r(O),i.d(O,{PasswordResetPageModule:()=>a});var w=i(91368),u=i(44716),h=i(83068),v=i(89192),m=i(73448),G=i(36716),e=i(32116),P=i(2132),R=i(87264),T=i(26324),b=i(832),A=i(62319);function D(n,l){1&n&&(e.I0R(0,"div",16),e.OEk(1," Your email is missing or invalid "),e.C$Y())}const M=n=>
1({"invalid-input":n});function E(n,l){if(1&n){const r=e.KQA();e.I0R(0,"form",9,10),e.qCj("ngSubmit",function(){e.usT(r);const o=e.Gew(1),p=e.GaO();return e.CGJ(p.onSubmit(o))}),e.I0R(2,"div",11)(3,"div",12),e.OEk(4,"Email"),e.C$Y(),e.I0R(5,"ion-input",13,14),e.iHE("ngModelChange",function(o){e.usT(r);const p=e.GaO();return e.kNx(p.user.email,o)||(p.user.email=o),e.CGJ(o)}),e.C$Y()(),e.yuY(7,D,2,0,"div",15),e.C$Y()}if(2&n){const r=e.Gew(6),t=e.GaO();e.yG2(2),e.E7m("ngClass",e.S45(3,M,t.clickedAndInvalid&&!r.valid)),e.yG2(3),e.OKB("ngModel",t.user.email),e.yG2(2),e.E7m("ngIf",t.clickedAndInvalid&&!r.valid)}}function y(n,l){1&n&&(e.I0R(0,"span"),e.OEk(1,"Send"),e.C$Y())}function S(n,l){1&n&&e.wR5(0,"ion-spinner",17)}const U=[{path:"",component:(()=>{class n{util;firebaseApi;router;route;authService;api;submittingSpinner=!1;clickedAndInvalid=!1;token="";tokenId="";passwordInvalid=!1;showPassword=!1;passwordsMatch=!0;user={email:"",password:"",confirmPassword:""};constructor(r,t,o,p,c,f){this.util=r,this.firebaseApi=t,this.router=o,this.route=p,this.authService=c,this.api=f}ngOnInit(){var r=this;this.route.queryParams.subscribe(function(){var t=(0,m.c)(function*(o){o.token&&(r.token=o.token),o.tokenId&&(r.tokenId=o.tokenId)});return function(o){return t.apply(this,arguments)}}())}showPasswordToggle(){this.showPassword=!this.showPassword}onSubmit(r){var t=this;return(0,m.c)(function*(){var F;if(r.valid)try{t.submittingSpinner=!0;const o=r.value.email.replace(/\s/g,"").toLowerCase(),p=yield t.firebaseApi.getUserByEmail(o);if(!(p&&p.length>0&&o===p[0].email))throw new Error("user-not-found");{const c=p[0],f={to:{name:c.firstName+" "+c.lastName,email:o},from:{name:"NexGen Taxes",email:"[email protected]"},templateId:"d-b23a19db7f5f44cb89be4ca4c163780a",app:G.O.appLink,dynamicTemplateData:{firstName:c?.firstName?c?.firstName:"",email:o,fromApp:"NexGen Taxes",link:"",adress:c?.address?.line1?c?.address?.line1:"",city:c?.address?.city?c?.address?.city:"",state:c?.address?.state?c?.address?.state:"",supportEmail:"[email protected]"}};let C=G.O.apiBase+"api/changePassword";yield t.api.postHttpData(C,f),(yield t.util.createAlert("Reset Email Sent",null,"Please check your inbox for your reset password instructions",{text:"Okay",handler:(F=(0,m.c)(function*(){}),function(){return F.apply(this,arguments)})},{text:"Go to Login",handler:function(){var F=(0,m.c)(function*(){t.router.navigate(["/login"])});return function(){return F.apply(this,arguments)}}()})).present()}}catch(o){let p="";const c=o.message?o.message:"Reset email failed, please tey gain.";c.indexOf("user-not-found")>=0?p="User Not Found.":c.indexOf("Bad Request")&&(p="No response, please try again"),t.util.createErrorAlert(null,p)}finally{t.submittingSpinner=!1}else t.clickedAndInvalid=!0})()}static \u0275fac=function(t){return new(t||n)(e.GI1(P.e),e.GI1(R.H),e.GI1(v.E5),e.GI1(v.gV),e.GI1(T.A),e.GI1(b.W))};static \u0275cmp=e.In1({type:n,selectors:[["app-password-reset"]],decls:15,vars:5,consts:[[3,"contentWidth","hero"],["id","content"],[1,"step-container"],[1,"right"],[1,"step-info"],["id","form",3,"ngSubmit",4,"ngIf"],["type","submit","form","form",1,"custom-btn",2,"max-width","150px","margin","1rem auto"],[4,"ngIf"],["color","light","name","circles",4,"ngIf"],["id","form",3,"ngSubmit"],["form","ngForm"],[1,"input-container",3,"ngClass"],[1,"custom-label"],["pattern","[A-Za-z0-9._%+\\-]+@[A-Za-z0-9.\\-]+\\.[A-Za-z]{2,}$","name","email","type","text","required","","email","",3,"ngModel","ngModelChange"],["email","ngModel"],["class","disclaimer",4,"ngIf"],[1,"disclaimer"],["color","light","name","circles"]],template:function(t,o){1&t&&(e.I0R(0,"ion-content")(1,"app-split-page",0)(2,"section",1)(3,"div",2)(4,"div",3)(5,"p",4),e.OEk(6,"Reset your password"),e.C$Y()()(),e.I0R(7,"div",2)(8,"div",3)(9,"p",4),e.OEk(10,"Enter your email"),e.C$Y(),e.yuY(11,E,8,5,"form",5),e.I0R(12,"button",6),e.yuY(13,y,2,0,"span",7)(14,S,1,0,"ion-spinner",8),e.C$Y()()()()()()),2&t&&(e.yG2(),e.E7m("contentWidth",25)("hero","assets/2fahero.svg"),e.yG2(10),e.E7m("ngIf",!o.token||!o.tokenId),e.yG2(2),e.
1E7m("ngIf",!o.submittingSpinner),e.yG2(),e.E7m("ngIf",o.submittingSpinner))},dependencies:[w.QF,w.u_,u.sz,u.ue,u.u,u.eJ,u.E1,u.Gc,u._G,u.SC,h._i,h.A5,h.YA,h.qG,A.g],styles:[".confirm-password[_ngcontent-%COMP%]{margin-top:30px}#passwordContainer[_ngcontent-%COMP%]{margin-bottom:10px}.disclaimer[_ngcontent-%COMP%]{color:red;font-size:.7rem;text-align:center}"]})}return n})()}];let d=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=e.a4G({type:n});static \u0275inj=e.s3X({imports:[v.qQ.forChild(U),v.qQ]})}return n})();var g=i(59952),s=i(48396);let a=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=e.a4G({type:n});static \u0275inj=e.s3X({imports:[w.MD,u.y,h.wZ,d,g.S,s.S]})}return n})()},59952:(B,O,i)=>{i.d(O,{S:()=>v});var w=i(91368),u=i(83068),h=i(32116);let v=(()=>{class m{static \u0275fac=function(P){return new(P||m)};static \u0275mod=h.a4G({type:m});static \u0275inj=h.s3X({imports:[w.MD,u.wZ]})}return m})()}}]);

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.