PageSourceSearch

https://www.cdoliver.com/30889.3cca889ad5176533.js

js cdoliver.com collected 2026-10-09 17:10:05 UTC 4,552 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[30889],{30889:(R,p,e)=>{e.r(p),e.d(p,{ClupikPasswordModule:()=>A});var u=e(43184),c=e(38132),r=e(89417),d=e(33568),m=e(69915),h=e(68010),f=e(61688),v=e(33384),g=e(25615),t=e(73664),n=e(2615),C=e(99014),P=e(80954),b=e(89902),w=e(69415),y=e(72357),S=e(6328);const T=s=>({required:!0,password:!0,placeholder:"global.placeholder.password",inputType:"password",error:s,errorText:"global.validator.required"}),k=(s,l)=>({required:!0,password:!0,placeholder:"global.placeholder.password_confirm",inputType:"password",error:s,errorText:l});function F(s,l){if(1&s){const o=t.RV6();t.j41(0,"app-empty-space",4),t.bIt("click",function(){n.eBV(o);const i=t.XpG();return n.Njj(i.home())}),t.k0s()}if(2&s){const o=t.XpG();t.Y8G("size","sm")("textArray",o.textArray)}}function x(s,l){if(1&s&&(t.j41(0,"form",5)(1,"app-form-row",6),t.nrm(2,"app-input",7),t.k0s(),t.j41(3,"app-form-row",6),t.nrm(4,"app-input",8),t.k0s()(),t.nrm(5,"app-clupik-actions",9)),2&s){const o=t.XpG();t.Y8G("formGroup",o.resetPassForm),t.R7$(),t.Y8G("items",1),t.R7$(),t.Y8G("inputSize","default")("input",t.eq3(8,T,o.resetPassForm.get("password").touched&&o.resetPassForm.get("password").hasError("required"))),t.R7$(),t.Y8G("items",1),t.R7$(),t.Y8G("inputSize","default")("input",t.l_i(10,k,o.confirmPass.error,o.confirmPass.text)),t.R7$(),t.Y8G("actionsConfig",o.actionsConfig)}}const G=[{path:"",component:(()=>{class s{appService;globalVars;_auth;_authService;textArray=["module.user.pass_reset"];resetPassForm=null;loading=!0;passSent=!1;user;get confirmPass(){return f.T.confirmPass(this.resetPassForm,"confirmPassword")}actionsConfig={centerActions:()=>!1,separator:{hasSeparator:()=>!1,class:()=>"divider"},main:{hasAction:()=>!0,disabled:()=>!1,action:()=>this.reset(),label:()=>"global.button.continue",tooltip:()=>"",type:()=>"button",config:()=>"main",size:()=>"md",class:()=>"",isExternalLink:()=>!1,isFullWidth:()=>this.globalVars.app||this.globalVars.mobile,hasIcon:()=>!1,icon:()=>""},secondary:{hasAction:()=>!1},third:{hasAction:()=>!1}};constructor(o,a,i,Y){this.appService=o,this.globalVars=a,this._auth=i,this._authService=Y}buildForm(){this.resetPassForm=new r.gE({password:new r.MJ("",r.k0.required),confirmPassword:new r.MJ("",r.k0.required)},{validators:v.P.passwordMatchingValidator}),this.load(!1)}ngOnInit(){this.user=this._authService.provisionalUser,this.user?this.buildForm():(this.load(!1),this.globalVars.clupikNavigate("/"))}load(o){this.loading=o,this.appService.broadcast("layoutLoaded",this.loading)}home(){this.globalVars.clupikNavigate("/")}reset(){this.passSent=!1;const{value:o,valid:a}=this.resetPassForm;if(a){let i={newPassword:this.globalVars.encrypData(o.password)};this._auth.resetPassword(this.user.id,i).subscribe({next:()=>{this.passSent=!0},error:()=>{this.resetPassForm.reset(),this.passSent=!1,this.appService.broadcast("showAlert",{state:"danger",mainTitle:"",autoHide:!0})}})}else for(let i in this.resetPassForm.controls)this.resetPassForm.controls[i].markAsTouched()}static \u0275fac=function(a){return new(a||s)(t.rXU(m.d),t.rXU(g.Y),t.rXU(d.F),t.rXU(h.u))};static \u0275cmp=t.VBU({type:s,selectors:[["app-clupik-password"]],standalone:!1,decls:5,vars:4,consts:[[3,"whiteBorder","hasButton"],[1,"view_reset-pass"],[3,"mainTitle"],["svgImage","completed","buttonConfig","main","buttonType","button","buttonText","global.button.continue",3,"size","textArray"],["svgImage","completed","buttonConfig","main","buttonType","button","buttonText","global.button.continue",3,"click","size","textArray"],[3,"formGroup"],[3,"items"],["type","normal","formControlName","password",3,"inputSize","input"],["type","normal","formControlName","confirmPassword",3,"inputSize","input"],[3,"actionsConfig"]],template:function(a,i){1&a&&(t.j41(0,"app-block-item",0)(1,"div",1),t.nrm(2,"app-form-title",2),t.nVh(3,F,1,2,"app-empty-space",3)(4,x,6,13),t.k0s()()),2&a&&(t.Y8G("whiteBorder",!i.globalVars.desktop)("hasButton",!1),t.R7$(2),t.Y8G("mainTitle","module.user.login_view.reset_pass.title"),t.R7$(),t.vxM(i.passSent?3:4))},dependencies:[r.qT,r.BC,r.cb,r.j4,r.JD,C.M,P.Y,b.S,w.p,y.W,S.d],styles:["[_nghost-%COMP%]{width:100%;display:block}"]})}return s})()}];let V=(()=>{class s{static \u0275fac=function(a){return new(a||s)};static \u0275mod=t.$C({type:s});static \u0275inj=n.G2t({imports:[c.iI.forChild(G),c.iI]})}return s})(),A=(()=>{class s{static \u0275fac=function(a){return new(a||s)};static \u0275mod=t.$C({type:s});static \u0275inj=n.G2t({imports:[u.Q,V]})}return s})()}}]);

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.