PageSourceSearch

https://www.hollyhomer.com/en/chunk-3LZME7RU.js

js hollyhomer.com collected 2026-10-04 03:33:55 UTC 4,605 bytes, 3 lines download raw bytes

1import{a as eo}from"./chunk-Z2WPANJQ.js";import{b as $,c as z}from"./chunk-HEKBPXP7.js";import{m as J}from"./chunk-C53UORQN.js";import{b as E,c as _}from"./chunk-HRCH7YTL.js";import{d as Z,e as oo}from"./chunk-QHZU4PST.js";import{b as Y,c as K,f as Q,i as W,j as X}from"./chunk-HFX225X2.js";import{I as q,c as N,f as w,i as B,j as R,l as T,o as g,q as A,u as G,x as H,y as V}from"./chunk-3QAVFP5S.js";import{b as j,g as L,h as U,i as O}from"./chunk-LS74OHRZ.js";import{i as F,j as k,l as I}from"./chunk-NKUORADV.js";import{p as D}from"./chunk-2K5EWLY6.js";import{Ec as c,Fb as x,J as b,Pa as M,Q as v,Sc as S,Vc as n,ca as P,dc as u,fc as f,g as C,kc as p,lc as e,mc as t,n as m,nc as l,pb as s,qa as d,t as y}from"./chunk-QXK5WLZZ.js";function ao(a,to){a&1&&(e(0,"mat-error"),n(1," Please enter your current password "),t())}function ro(a,to){a&1&&(e(0,"mat-error"),n(1," Your current password is incorrect "),t())}var Io=(()=>{class a{mdDialogRef=d(j);elementRef=d(M);http=d(D);snackbar=d(J);hostClass=!0;oldPasswordEl;passwordCorrect$=new C(!0);passwordForm=new T({oldPassword:new g("",w.required,this.passwordCheckAsync.bind(this)),newPassword:new g("",w.required)});ngOnInit(){this.oldPasswordEl=this.elementRef.nativeElement.querySelector("#oldPassword")}showHidePassword(r){r.type=r.type==="password"?"text":"password"}passwordCheckAsync(r){return r.value?m(r.value).pipe(v(200),P(i=>this.http.post("/api/account/password/check",`${JSON.stringify(i)}`,{headers:{"content-type":"application/json"}}).pipe(y(()=>null),b(()=>m({invalidPassword:!0}))))):m(null)}submit(){this.passwordForm.valid&&this.http.put("/api/account/password",this.passwordForm.value).subscribe(()=>{this.snackbar.open("Password updated"),this.mdDialogRef.close()},()=>{this.snackbar.open("Unable to update your password. Please contact us.")})}cancel(){this.mdDialogRef.close()}static \u0275fac=function(i){return new(i||a)};static \u0275cmp=x({type:a,selectors:[["ih-change-password-dialog"]],hostVars:2,hostBindings:function(i,o){i&2&&S("ih-change-password-dialog",o.hostClass)},decls:23,vars:5,consts:[[1,"change-password-dialog-inner-container","fx-layout-column"],["color","primary",1,"fx-layout-row","fx-layout-align-center-center"],["svgIcon","lock-reset",1,"phone-icon","primary-font-color"],["mat-dialog-content","",1,"fx-flex"],["id","passwordForm",3,"ngSubmit","formGroup"],[1,"fx-layout-column"],["appearance","fill",1,"dark-font-label-focus"],["id","oldPassword","matInput","","formControlName","oldPassword","type","password","autocomplete","current-password",1,"dark-font-border-color-focus"],["mat-icon-button","","tabindex","-1","type","button","matSuffix","",3,"click"],[3,"svgIcon"],["appearance","fill","autocomplete","new-password","label","New password",3,"formControl"],["mat-dialog-actions","",1,"fx-layout-row"],[1,"fx-flex"],["mat-button","",3,"click"],["mat-button","","type","submit","form","passwordForm"]],template:function(i,o){i&1&&(e(0,"div",0)(1,"mat-toolbar",1),l(2,"mat-icon",2),t(),e(3,"div",3)(4,"form",4),c("ngSubmit",function(){return o.submit()}),e(5,"div",5)(6,"h4"),n(7,"Change your password"),t(),e(8,"mat-form-field",6)(9,"mat-label"),n(10,"Current password"),t(),l(11,"input",7),e(12,"button",8),c("click",function(){return o.showHidePassword(o.oldPasswordEl)}),l(13,"mat-icon",9),t(),u(14,ao,2,0,"mat-error"),u(15,ro,2,0,"mat-error"),t(),l(16,"ih-password-strength",10),t()()(),e(17,"div",11),l(18,"span",12),e(19,"button",13),c("click",function(){return o.cancel()}),n(20,"CANCEL"),t(),e(21,"button",14),n(22,"CHANGE"),t()()()),i&2&&(s(4),p("formGroup",o.passwordForm),s(9),p("svgIcon",o.oldPasswordEl.type!=="password"?"eye":"eye-off"),s(),f(o.passwordForm.get("oldPassword").hasError("required")?14:-1),s(),f(o.passwordForm.get("oldPassword").hasError("invalidPassword")?15:-1),s(),p("formControl",o.passwordForm.get("newPassword")))},dependencies:[I,k,F,O,U,L,X,W,Y,K,Q,_,E,oo,Z,z,$,q,A,N,B,R,G,V,H,eo],styles:[`.cdk-overlay-pane.dialog-fullscreen.change-password-dialog{max-width:80%;min-height:420px;min-width:auto}.mat-mdc-dialog-content{max-height:calc(100% - 116px)}.change-password-dialog-inner-container{height:100%}.change-password-dialog-inner-container mat-toolbar mat-icon{display:block;height:50px;margin:5px auto;width:50px}.change-password-dialog-inner-container .mat-mdc-form-field{margin-bottom:16px}@media(max-width:600px){.cdk-overlay-pane.dialog-fullscreen.change-password-dialog{min-height:100%;min-width:100%}}
2`],encapsulation:2,changeDetection:0})}return a})();export{Io as a};
3/**i18n:c9e569e2ecdb3e0de183c72d8315eadfdcb9da9e09d5ac2d9fef9056c1853e21*/

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.