PageSourceSearch

https://settings.48hourprint.com/5075.9c511534addee68b.js

js 48hourprint.com collected 2026-10-03 22:14:06 UTC 10,667 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkaccount_settings=self.webpackChunkaccount_settings||[]).push([[5075],{44687:(v,d,r)=>{r.d(d,{g:()=>f});var a=r(19212),n=r(24438),p=r(96814);function m(c,w){if(1&c&&(a.TgZ(0,"div",1)(1,"div",2)(2,"div",3),a._uU(3),a.qZA()()()),2&c){const i=a.oxw();a.xp6(3),a.Oqu(i.errorMsg)}}let f=(()=>{class c{constructor(i){this.csrfTokenService=i,this.isUnauthorized=!1,this.isUnauthorizedFormName=null,this.errorMsg="This session has expired. Please refresh and try again.",this.formName=null}ngOnInit(){this.csrfTokenService.isUnauthorized$.subscribe(i=>{"boolean"==typeof i?this.isUnauthorized=i:"object"==typeof i&&i&&(this.isUnauthorized=i.isUnauthorized,this.isUnauthorizedFormName=i.isUnauthorizedFormName)})}static{this.\u0275fac=function(e){return new(e||c)(a.Y36(n.A))}}static{this.\u0275cmp=a.Xpm({type:c,selectors:[["account-csrf-error-message"]],inputs:{errorMsg:"errorMsg",formName:"formName"},decls:1,vars:1,consts:[["class","csrf-error-message-container site-alert-danger alert alert-info","role","alert",4,"ngIf"],["role","alert",1,"csrf-error-message-container","site-alert-danger","alert","alert-info"],[1,"alert-content"],[1,"alert-description"]],template:function(e,u){1&e&&a.YNc(0,m,4,1,"div",0),2&e&&a.Q6J("ngIf",u.isUnauthorized&&!u.formName||u.isUnauthorized&&u.formName&&u.formName==u.isUnauthorizedFormName)},dependencies:[p.O5],encapsulation:2})}}return c})()},41384:(v,d,r)=>{r.d(d,{T:()=>f});var a=r(19212),n=r(87163),p=r(96814);function m(c,w){if(1&c&&(a.TgZ(0,"div"),a._uU(1),a.qZA()),2&c){const i=a.oxw();a.xp6(),a.hij(" ",i.errorMessage," ")}}let f=(()=>{class c{constructor(i){this.ValidationService=i,this.errorDefs={},this.errorMessage=""}ngOnChanges(i){const e=i.inputErrors.currentValue;this.errorMessage="",e&&Object.keys(e).some(u=>{if(e[u])return this.errorMessage=this.errorDefs[u]?this.errorDefs[u]:this.ValidationService.getValidatorErrorMessage(u),!0})}static{this.\u0275fac=function(e){return new(e||c)(a.Y36(n.R))}}static{this.\u0275cmp=a.Xpm({type:c,selectors:[["input-error-message"]],inputs:{errorDefs:"errorDefs",inputErrors:"inputErrors"},features:[a.TTD],decls:1,vars:1,consts:[[4,"ngIf"]],template:function(e,u){1&e&&a.YNc(0,m,2,1,"div",0),2&e&&a.Q6J("ngIf",u.errorMessage)},dependencies:[p.O5],encapsulation:2})}}return c})()},10802:(v,d,r)=>{function a(){return n=>0!==("string"==typeof n.value?n.value:"").trim().length?null:{whitespace:!0}}r.d(d,{o:()=>a})},18771:(v,d,r)=>{function a(){return n=>{let m=!0;return typeof n.value<"u"&&n.value&&(m=!n.value.match(/[^\s\w\u00c0-\u017e,.:&\/#()+%'`@-]/)),m?null:{scripts:!0}}}r.d(d,{i:()=>a})},15972:(v,d,r)=>{r.r(d),r.d(d,{GuestResetPasswordModule:()=>J});var a=r(96814),n=r(40285),p=r(20434),m=r(38168),f=r(3609),c=r(74420),w=r(10802),i=r(18771),e=r(19212),u=r(39346),C=r(24438),E=r(69862),M=r(72026),R=r(41384),b=r(44687);function P(s,g){if(1&s&&(e.TgZ(0,"div",22)(1,"span",23),e._uU(2),e.qZA()()),2&s){const o=e.oxw(2);e.xp6(2),e.Oqu(o.updateMessage)}}function x(s,g){1&s&&e._UZ(0,"span",24)}function Z(s,g){1&s&&e._UZ(0,"span",25)}function U(s,g){if(1&s&&e._UZ(0,"input-error-message",26),2&s){const o=e.oxw(2);e.Q6J("inputErrors",o.guestResetPasswordForm.get("email").errors)("errorDefs",o.validationMessages.email)}}function A(s,g){1&s&&(e.TgZ(0,"span"),e._uU(1,"Set Password"),e.qZA())}function I(s,g){1&s&&(e.TgZ(0,"span"),e._UZ(1,"i",27),e._uU(2," SENDING... "),e.TgZ(3,"span",28),e._uU(4,"Sending. Please wait."),e.qZA()())}const S=(s,g)=>({error:s,valid:g}),N=s=>({error:s});function y(s,g){if(1&s){const o=e.EpF();e.ynx(0),e.TgZ(1,"div",3)(2,"h3",4),e._uU(3),e.qZA(),e.TgZ(4,"form",5),e.NdJ("submit",function(){e.CHM(o);const h=e.oxw();return e.KtG(h.onSubmit())}),e._UZ(5,"account-csrf-error-message",6),e.YNc(6,P,3,1,"div",7),e.TgZ(7,"div",8)(8,"div",9)(9,"label",10),e._uU(10,"Email Address*"),e.qZA()(),e.TgZ(11,"div",11),e._UZ(12,"input",12),e.YNc(13,x,1,0,"span",13)(14,Z,1,0,"span",14),e.TgZ(15,"div",15),e.YNc(16,U,1,2,"input-error-message",16),e.qZA()()(),e.TgZ(17,"button",17),e.YNc(18,A,2,0,"span",1)(19,I,5,0,"ng-template",null,18,e.W1O),e.qZA()()(),e.TgZ(21,"div",19)(22,"h4",20),e._uU(23,"Benefits of Creating an Account"),e.qZA(),e.TgZ(24,"ul",21)(25,"li"),e._uU(26,"Enjoy a faster checkout experience by creating an address book & saving preferred payment methods"),e.qZA(),e.TgZ(27,"li"),e._uU(28,"Check on the status of all your orders in progress"),e.qZA(),e.TgZ(29,"li"),e._uU(30,"Review previous orders & easily place repeat orders"),e.qZA(),e.TgZ(31,"li"),e._uU(32,"Save all of your designs & access them at any time"),e.qZA()()(),e.BQk()}if(2&s){const o=e.MAs(20),t=e.oxw();e.xp6(3),e.Oqu(t.guestResetPasswordConfig.page_heading),e.xp6(),e.Q6J("formGroup",t.guestResetPasswordForm),e.xp6(),e.Q6J("formName",t.csrfTokenFormName),e.xp6(),e.Q6J("ngIf",t.updateMessage),e.xp6(5),e.Q6J("ngClass",e.WLB(12,S,t.showControlError("email"),t.guestResetPasswordForm.get("email").disabled)),e.xp6(2),e.Q6J("ngIf",t.guestResetPasswordForm.get("email").disabled),e.xp6(),e.Q6J("ngIf",t.showControlError("email")),e.xp6(),e.Q6J("ngClass",e.VKq(15,N,t.showControlError("email"))),e.xp6(),e.Q6J("ngIf",t.showControlError("email")),e.xp6(),e.Q6J("disabled",!t.canSubmit()||t.processingRequest),e.xp6(),e.Q6J("ngIf",!t.processingRequest)("ngIfElse",o)}}function F(s,g){1&s&&(e.TgZ(0,"div",29)(1,"span",23),e._uU(2," An email has been sent to your email address with instructions on how to reset your password. "),e.qZA()())}const O=[{path:"",component:(()=>{class s{constructor(o,t,h,l,_){this.fb=o,this.ConfigManagerService=t,this.csrfTokenService=h,this.HttpClient=l,this.AuthService=_,this.processingRequest=!1,this.showSuccessMessage=!1,this.updateMessage="",this.csrfToken=null,this.csrfTokenFormName="settings-guest-reset-password",this.validationMessages={email:{required:"Email is required.",email:"Invalid Email.",whitespace:"Email is required.",scripts:"Invalid Email."}},this.settingsConfig=this.ConfigManagerService.getConfig("settings"),this.guestResetPasswordConfig=this.settingsConfig.guest_reset_password}ngOnInit(){this.csrfTokenService.emitUnauthorized(!1),this.csrfTokenService.getToken(this.csrfTokenFormName).subscribe(o=>{this.csrfToken=o}),this.buildForm()}buildForm(){const o=this.AuthService.parseAccessTokenData(),t=o&&o.data&&o.data.email||"";this.guestResetPasswordForm=this.fb.group({email:[{value:t,disabled:!!t},[n.kI.required,(0,c.L)(),(0,w.o)(),(0,i.i)(),n.kI.email]]})}showControlError(o){const t=this.guestResetPasswordForm.get(o);return t.invalid&&t.touched}canSubmit(){const o=this.guestResetPasswordForm.get("email");return o.disabled?!!o.value:o.valid}onSubmit(){if(!this.canSubmit())return;if(this.csrfTokenService.emitUnauthorized(!1),!this.csrfToken)return void this.csrfTokenService.emitUnauthorized(!0);this.processingRequest=!0,this.updateMessage="";const o=this.guestResetPasswordForm.getRawValue().email,t=this.ConfigManagerService.getConfig("serverless_endpoints").forgot_password,h=this.ConfigManagerService.getConfig("app").website_code;this.HttpClient.post(`${t}?websiteCode=${h}`,{email:o,csrfToken:this.csrfToken,csrfTokenFormName:this.csrfTokenFormName}).subscribe(l=>{this.processingRequest=!1,l.success&&(this.showSuccessMessage=!0,this.guestResetPasswordForm.reset())},l=>{if(this.processingRequest=!1,403!==l.status){if(412===l.status&&l.error&&l.error.detail){const _=[];for(const T in l.error.detail)Object.prototype.hasOwnProperty.call(l.error.detail,T)&&_.push(...l.error.detail[T]);this.updateMessage=_.join(", ")}}else this.csrfTokenService.emitUnauthorized(!0)})}static{this.\u0275fac=function(t){return new(t||s)(e.Y36(n.QS),e.Y36(u.Q),e.Y36(C.A),e.Y36(E.eN),e.Y36(M.e))}}static{this.\u0275cmp=e.Xpm({type:s,selectors:[["app-guest-reset-password"]],decls:4,vars:2,consts:[[1,"page-guest-reset-password-container"],[4,"ngIf","ngIfElse"],["guestResetPasswordSuccess",""],[1,"guest-reset-password-form-container"],["tabindex","0","data-id","guest-reset-password-heading",1,"guest-reset-password-label","first-focus-element"],["autocomplete","off","data-id","guest-reset-password-form",1,"guest-reset-password-form-wrapper",3,"formGroup","submit"],["data-id","guest-reset-password-csrf-error-message",3,"formName"],["class","account-alert-danger","tabindex","0","role","alert","data-id","guest-reset-password-error-banner",4,"ngIf"],[1,"account-input-group"],[1,"account-input-label-container"],["for","email",1,"account-input-label"],[1,"account-input",3,"ngClass"],["type","email","formControlName","email","name","email","id","email","data-id","guest-reset-password-email-input"],["class","input-valid-icon account-i-checkmark","data-id","guest-reset-password-email-valid-icon",4,"ngIf"],["class","input-error-icon fa fa-exclamation-triangle","data-id","guest-reset-password-email-error-icon",4,"ngIf"],[1,"account-input-message",3,"ngClass"],["tabindex","0","role","alert","data-id","guest-reset-password-email-error-message",3,"inputErrors","errorDefs",4,"ngIf"],["type","submit","data-id","guest-reset-password-submit-btn",1,"guest-reset-password-form-submit-btn","account-btn-primary",3,"disabled"],["processing",""],["tabindex","0","data-id","guest-reset-password-benefits",1,"guest-reset-password-benefits-container"],[1,"guest-reset-password-benefits-heading"],[1,"guest-reset-password-benefits-list"],["tabindex","0","role","alert","data-id","guest-reset-password-error-banner",1,"account-alert-danger"],[1,"account-alert-title"],["data-id","guest-reset-password-email-valid-icon",1,"input-valid-icon","account-i-checkmark"],["data-id","guest-reset-password-email-error-icon",1,"input-error-icon","fa","fa-exclamation-triangle"],["tabindex","0","role","alert","data-id","guest-reset-password-email-error-message",3,"inputErrors","errorDefs"],[1,"fa","fa-spinner","fa-spin"],["role","alert",1,"accessibility-hidden"],["tabindex","0","role","alert","data-id","guest-reset-password-success-message",1,"guest-reset-password-success-container","account-alert-success"]],template:function(t,h){if(1&t&&(e.TgZ(0,"div",0),e.YNc(1,y,33,17,"ng-container",1),e.qZA(),e.YNc(2,F,3,0,"ng-template",null,2,e.W1O)),2&t){const l=e.MAs(3);e.xp6(),e.Q6J("ngIf",!h.showSuccessMessage)("ngIfElse",l)}},dependencies:[a.mk,a.O5,n._Y,n.Fj,n.JJ,n.JL,n.sg,n.u,R.T,b.g],encapsulation:2})}}return s})()}];let D=(()=>{class s{static{this.\u0275fac=function(t){return new(t||s)}}static{this.\u0275mod=e.oAB({type:s})}static{this.\u0275inj=e.cJS({imports:[f.Bz.forChild(O),f.Bz]})}}return s})(),J=(()=>{class s{static{this.\u0275fac=function(t){return new(t||s)}}static{this.\u0275mod=e.oAB({type:s})}static{this.\u0275inj=e.cJS({imports:[a.ez,n.u5,n.UX,D,p.b,m.r]})}}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.