PageSourceSearch

https://almujtamapharmacy.com/chunk-2VR2AGXS.js

js almujtamapharmacy.com collected 2026-09-24 11:02:10 UTC 5,427 bytes, 1 lines download raw bytes

1import{a as $}from"./chunk-XJJ6P3TU.js";import{b as K}from"./chunk-WG74YMGF.js";import"./chunk-IISPHNXK.js";import"./chunk-G56NLZPR.js";import"./chunk-K4O2U6JG.js";import{a as R}from"./chunk-RR7GCDE7.js";import{c as D}from"./chunk-Y4USWBOI.js";import"./chunk-6TXPR7Z5.js";import"./chunk-H3VL5ZLV.js";import"./chunk-VHAVQNQZ.js";import"./chunk-POU3UHYU.js";import"./chunk-P6RAARJR.js";import"./chunk-YA4LCL44.js";import"./chunk-LRSNC77N.js";import"./chunk-B2D3ZNIN.js";import{A as C,C as M,d as p,g as _,l as I,n as E}from"./chunk-ZMB7BYOX.js";import{b as k}from"./chunk-PG356IOX.js";import"./chunk-DJLXGYOT.js";import"./chunk-QZKGI55F.js";import"./chunk-67IT4HQ6.js";import"./chunk-FMUJOZ5C.js";import"./chunk-NEZAQWLG.js";import"./chunk-A7HQZSIJ.js";import"./chunk-LPDEKHC4.js";import"./chunk-5CZSBVZS.js";import"./chunk-2QHSH4C5.js";import"./chunk-GAM63QEV.js";import"./chunk-OJI7DA27.js";import{b as A,d as L,e as B,k as N,p as q,q as O}from"./chunk-MA3UJZI3.js";import{e as T}from"./chunk-4ZBSEH5M.js";import{j as V,k as j}from"./chunk-BLUPBYQY.js";import{a as G}from"./chunk-QP2R5HQV.js";import"./chunk-WO4YLV4Q.js";import"./chunk-N5KHQ3PY.js";import"./chunk-RAU6IMNR.js";import"./chunk-KMKRC7H4.js";import{$c as F,Mc as l,Nc as y,Oc as f,cb as h,fc as d,gc as o,ha as b,hb as i,hc as s,hd as m,ic as u,id as c,rd as w,sd as P,tb as t,vc as x,zb as S}from"./chunk-WLVJBNFV.js";import"./chunk-HGJ4MBLN.js";var Q=n=>[n],he=(()=>{class n{api;router;formBuilder;translate;embryoService;confgServ;metaService;toast;storage;forgetPasswordForm;isSubmitted=!1;languageService=b(O);lang=this.languageService.currentLanguage;environmentVariables;constructor(a,r,e,v,z,H,U,W,J){this.api=a,this.router=r,this.formBuilder=e,this.translate=v,this.embryoService=z,this.confgServ=H,this.metaService=U,this.toast=W,this.storage=J,this.confgServ.getenvConfig().subscribe(g=>{this.environmentVariables=g}),P(()=>{let g=this.lang();this.environmentVariables&&(g=="en"?this.metaService.setTitle(`Verify Email - ${this.environmentVariables?.APP_NAME}`):this.metaService.setTitle(`\u062A\u0627\u0643\u064A\u062F \u0627\u0644\u062D\u0633\u0627\u0628 - ${this.environmentVariables?.APP_NAME_AR}`))})}verifyFormFields=w(()=>this.forgetPasswordForm?[{type:"input",controlName:"code",visible:!0,labelKey:"",placeholderKey:"input_text.inputCode",showRequiredAsterisk:!1,inputType:"text",autocomplete:"off",classWrapper:"mb-4",errors:[{condition:()=>!!this.forgetPasswordForm?.controls?.code?.errors?.required,errorKey:"validation_Input.requiredCode"},{condition:()=>!!this.forgetPasswordForm?.controls?.code?.errors?.minlength,errorKey:"validation_Input.requiredCode"}]}]:[]);ngOnInit(){this.forgetPasswordForm=this.formBuilder.group({code:["",p.compose([p.required,p.minLength(4)])]})}onSubmit(){if(this.isSubmitted=!0,!this.forgetPasswordForm.invalid){let a=this.forgetPasswordForm.value;a.email=this.storage.getLocal("userForget",null)?this.storage.getLocal("userForget",null).email:"",this.storage.setLocal("userForget",a),this.api.validateCode(this.forgetPasswordForm.value).subscribe({next:r=>{r.code===200?this.router.navigate(["/"+this.lang()+"/session/change-password"]):this.toast.error(`${r.message}`)}})}}static \u0275fac=function(r){return new(r||n)(t($),t(V),t(C),t(A),t(q),t(T),t(D),t(N),t(G))};static \u0275cmp=S({type:n,selectors:[["embryo-verify-email-forget-paswword"]],decls:26,vars:23,consts:[[1,"inner-container","bg-white","section-gap-lg"],[1,"container"],[1,"fx-layout-row-wrap","fx-layout-align-center-center"],[1,"fx-flex-xs-100","fx-flex-sm-100","fx-flex-md-80","fx-flex-lg-70","fx-flex-xl-70"],[1,"fx-flex-xs-100","fx-flex-sm-100","fx-flex-md-50","fx-flex-lg-50","fx-flex-xl-50"],["loading","lazy","alt","verify-email-img","title","verify-email-img",1,"object-fit-contain","w-100",3,"src"],[1,"forgot-password","form-margin"],[1,"accent-color"],[1,"login-container",3,"ngSubmit","formGroup"],[3,"form","fields","isFlex"],["color","accent","type","submit","mat-raised-button","",1,"button-lg","mb-3"],[1,"accent-color","brand-color",3,"routerLink"]],template:function(r,e){r&1&&(o(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",2)(5,"div",4),u(6,"img",5),s(),o(7,"div",4)(8,"mat-card",6)(9,"h3",7),l(10),m(11,"translate"),s(),o(12,"h4"),l(13),m(14,"translate"),s(),o(15,"form",8),x("ngSubmit",function(){return e.onSubmit()}),u(16,"app-form-fields",9),o(17,"button",10),l(18),m(19,"translate"),s(),o(20,"div"),l(21),m(22,"translate"),o(23,"a",11),l(24),m(25,"translate"),s()()()()()()()()()()),r&2&&(i(6),d("src",e.environmentVariables!=null&&e.environmentVariables.LOGIN_PAGE_IMAGE?e.environmentVariables==null?null:e.environmentVariables.LOGIN_PAGE_IMAGE:"/assets/images/login-img.webp",h),i(4),f(" ",c(11,11,"regsiter_login_forget.forgetPassword")," "),i(3),f(" ",c(14,13,"regsiter_login_forget.checkMillEnterCode")," "),i(2),d("formGroup",e.forgetPasswordForm),i(),d("form",e.forgetPasswordForm)("fields",e.verifyFormFields())("isFlex",!1),i(2),f(" ",c(19,15,"button.buttonSubmit")," "),i(3),f(" ",c(22,17,"regsiter_login_forget.alreadyHaveAccount")," "),i(2),d("routerLink",F(21,Q,"/"+e.lang+"/session/signin")),i(),y(c(25,19,"button.buttonSignIn")))},dependencies:[R,M,I,_,E,K,k,j,B,L],styles:[".button-lg[_ngcontent-%COMP%]{background-color:var(--brand-color)}.brand-color[_ngcontent-%COMP%]{color:var(--brand-color);text-decoration:underline}"]})}return n})();export{he as VerifyEmailForgetPaswwordComponent};

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.