PageSourceSearch

https://settings.48hourprint.com/8692.3ad59de37fdfd64a.js

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

1"use strict";(self.webpackChunkaccount_settings=self.webpackChunkaccount_settings||[]).push([[8692],{73555:(g,m,i)=>{i.d(m,{E:()=>p});var u=i(19212),e=i(40285);let p=(()=>{class c{constructor(r){this.ngControl=r,this.el=r}onChange(){this.el.control.patchValue(this.el.control.value.trim())}static{this.\u0275fac=function(h){return new(h||c)(u.Y36(e.a5))}}static{this.\u0275dir=u.lG2({type:c,selectors:[["","no-whitespace",""]],hostBindings:function(h,_){1&h&&u.NdJ("change",function(){return _.onChange()})}})}}return c})()},10802:(g,m,i)=>{function u(){return e=>0!==("string"==typeof e.value?e.value:"").trim().length?null:{whitespace:!0}}i.d(m,{o:()=>u})},72957:(g,m,i)=>{i.d(m,{y:()=>p});var u=i(19212),e=i(6593);let p=(()=>{class c{constructor(r){this.sanitizer=r}transform(r,h){switch(h){case"html":return this.sanitizer.bypassSecurityTrustHtml(r);case"style":return this.sanitizer.bypassSecurityTrustStyle(r);case"script":return this.sanitizer.bypassSecurityTrustScript(r);case"url":return this.sanitizer.bypassSecurityTrustUrl(r);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(r);default:throw new Error(`Invalid safe type specified: ${h}`)}}static{this.\u0275fac=function(h){return new(h||c)(u.Y36(e.H7,16))}}static{this.\u0275pipe=u.Yjl({name:"safe",type:c,pure:!0})}}return c})()},34427:(g,m,i)=>{i.r(m),i.d(m,{AppFooterComponent:()=>$});var u=i(3609),e=i(19212),p=i(96814),c=i(39346),C=i(69862),r=i(40285),h=i(74420),_=i(10802),v=i(90482),w=i(22567),b=i(72026),T=i(66677),x=i(73555);function F(n,a){1&n&&(e.TgZ(0,"div",14)(1,"div",15),e._uU(2," Thank you for subscribing to our email list! "),e.qZA()())}function A(n,a){1&n&&(e.TgZ(0,"div",16)(1,"span",17),e._uU(2,"Please provide a valid email address."),e.qZA()())}function y(n,a){1&n&&e._UZ(0,"i",18)}function S(n,a){1&n&&(e.TgZ(0,"div",19)(1,"div",16)(2,"span",20),e._uU(3,"Please provide a valid email address."),e.qZA()()())}function N(n,a){1&n&&(e.TgZ(0,"div",19)(1,"div",16)(2,"span",20),e._uU(3,"This session has expired. Please refresh and try again."),e.qZA()()())}const Z=(n,a)=>({"has-error":n,"has-valid-value":a}),I=n=>({sending:n});function E(n,a){if(1&n){const t=e.EpF();e.ynx(0),e.YNc(1,F,3,0,"div",1),e.TgZ(2,"div",2)(3,"p",3),e._uU(4,"\u2014\u2014\u2014\u2014"),e.qZA(),e.TgZ(5,"p",4),e._uU(6,"Don't Miss Out"),e.qZA(),e.TgZ(7,"p"),e._uU(8,"Get the latest product updates, exciting promotions and exclusive discounts in your inbox."),e.qZA()(),e.TgZ(9,"form",5),e.NdJ("ngSubmit",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.subscribe())}),e.TgZ(10,"div",6)(11,"input",7),e.NdJ("focus",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.resetErrorValidation())}),e.qZA(),e.YNc(12,A,3,0,"div",8),e._UZ(13,"input",9),e.qZA(),e.TgZ(14,"div",10)(15,"button",11),e._uU(16),e.YNc(17,y,1,0,"i",12),e.qZA()()(),e.YNc(18,S,4,0,"div",13)(19,N,4,0,"div",13),e.BQk()}if(2&n){const t=e.oxw();e.xp6(),e.Q6J("ngIf",t.showSuccess),e.xp6(8),e.Q6J("formGroup",t.newsletter_form),e.xp6(),e.Q6J("ngClass",e.WLB(10,Z,t.showControlError("email")||t.showErrorValidation,t.hasValidValue("email")&&!t.showErrorValidation)),e.xp6(2),e.Q6J("ngIf",t.showControlError("email")),e.xp6(3),e.Q6J("disabled",!t.enableSubmitBtn)("ngClass",e.VKq(13,I,t.processingRequest)),e.xp6(),e.hij(" ",t.processingRequest?"":"SUBSCRIBE"," "),e.xp6(),e.Q6J("ngIf",t.processingRequest),e.xp6(),e.Q6J("ngIf",t.showErrorValidation),e.xp6(),e.Q6J("ngIf",t.showCsrfError)}}let U=(()=>{class n{constructor(t,o,s,l,f,d){this.fb=t,this.NewsletterService=o,this.ConfigManagerService=s,this.CrossStorageClientService=l,this.AuthService=f,this.CsrfTokenService=d,this.eventSourceCode="FS",this.enableSubmitBtn=!1,this.processingRequest=!1,this.unsubscribedFlag="y",this.customerData={},this.showErrorValidation=!1,this.showSuccess=!1,this.formName="newsletter_subscribe",this.showCsrfError=!1,this.appConfig=this.ConfigManagerService.getConfig("app"),this.customerDataField=this.ConfigManagerService.getConfig("customer").customer_data_field}ngOnInit(){if(this.csrfToken||this.CsrfTokenService.getToken(this.formName).subscribe(t=>{this.csrfToken=t}),this.AuthService.logged_in$.subscribe(t=>{this.unsubscribedFlag="n"}),this.AuthService.logged_out$.subscribe(t=>{this.unsubscribedFlag="y"}),this.AuthService.parseAccessTokenData()){const t=this.AuthService.parseAccessTokenData();this.customer_info=t.data,this.unsubscribedFlag="n"}this.buildForm()}buildForm(){this.newsletter_form=this.fb.group({email:["",[r.kI.required,(0,h.L)(),(0,_.o)()]]}),this.newsletter_form.valueChanges.subscribe(t=>{this.enableSubmitBtn=!this.showControlError("email")})}showControlError(t){return this.newsletter_form.get(t).invalid&&this.newsletter_form.get(t).dirty}hasValidValue(t){return this.newsletter_form.get(t).valid&&this.newsletter_form.get(t).value}resetErrorValidation(){this.showErrorValidation=!1,this.showSuccess=!1}subscribe(){if(!this.csrfToken)return!1;if(!this.CsrfTokenService.validateCsrfToken(this.csrfToken))return this.showCsrfError=!0,!1;
1const t={email:this.newsletter_form.get("email").value,newsletter_event_source_code:this.eventSourceCode,website_code:this.appConfig.website_code,company_code:this.appConfig.company_code,csrf_token:this.csrfToken,csrf_token_form_name:this.formName,form_name:this.formName,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone};this.processingRequest=!0,this.enableSubmitBtn=!1,this.NewsletterService.commprefSubscribe(t).subscribe(o=>{o.success?(this.showErrorValidation=!1,this.showSuccess=!0,this.newsletter_form.reset()):this.showErrorValidation=!0,this.processingRequest=!1,this.enableSubmitBtn=!1},o=>{412==o.status&&(this.showCsrfError=!0),this.processingRequest=!1,this.enableSubmitBtn=!1})}static{this.\u0275fac=function(o){return new(o||n)(e.Y36(r.QS),e.Y36(v.B),e.Y36(c.Q),e.Y36(w.T),e.Y36(b.e),e.Y36(T.A))}}static{this.\u0275cmp=e.Xpm({type:n,selectors:[["newsletter"]],inputs:{eventSourceCode:"eventSourceCode"},decls:1,vars:1,consts:[[4,"ngIf"],["class","newsletter-success-container site-alert-success alert alert-success","tabindex","0","role","alert",4,"ngIf"],[1,"footer-disclaimer"],[1,"top-border"],[1,"dont-miss-out"],["role","form","novalidate","","autocomplete","off",1,"newsletter-form",3,"formGroup","ngSubmit"],[1,"input-field","site-form-group",3,"ngClass"],["type","text","formControlName","email","id","email","autocomplete","off","no-whitespace","","maxlength","50","placeholder","Enter your email",1,"form-control","site-form-input",3,"focus"],["class","input-error-container",4,"ngIf"],["type","hidden","name","csrf","value","","autocomplete","off"],[1,"action-btn-container"],["type","submit","data-qaid","newsletterSubscribe",1,"site-btn-primary","newsletter-submit-btn",3,"disabled","ngClass"],["class","fa fa-spinner fa-spin",4,"ngIf"],["class","site-form-group has-error",4,"ngIf"],["tabindex","0","role","alert",1,"newsletter-success-container","site-alert-success","alert","alert-success"],[1,"alert-message"],[1,"input-error-container"],["tabindex","0",1,"input-error-message"],[1,"fa","fa-spinner","fa-spin"],[1,"site-form-group","has-error"],[1,"input-error-message"]],template:function(o,s){1&o&&e.YNc(0,E,20,15,"ng-container",0),2&o&&e.Q6J("ngIf","y"==s.unsubscribedFlag)},dependencies:[p.mk,p.O5,x.E,r._Y,r.Fj,r.JJ,r.JL,r.nD,r.sg,r.u],encapsulation:2})}}return n})();var Y=i(34294),J=i(44040),O=i(48369);function Q(n,a){if(1&n&&(e.TgZ(0,"li",3)(1,"span",4),e._uU(2),e.qZA(),e.TgZ(3,"span",4),e._uU(4," All rights reserved. "),e.qZA()()),2&n){const t=e.oxw().$implicit,o=e.oxw();e.zWS("aria-label","list item 1 of ",t.value.children.length," copyright 2000\u2013",o.currentYear," UPrinting.com All rights reserved"),e.xp6(2),e.hij(" \xa9 2000\u2013",o.currentYear," UPrinting.com. ")}}function D(n,a){if(1&n&&(e.ynx(0),e._UZ(1,"i"),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(),e.Tol(t.value.custom_styles)}}function L(n,a){if(1&n&&(e._UZ(0,"span",8),e.ALo(1,"safeHtml")),2&n){const t=e.oxw().$implicit;e.Q6J("innerHtml",e.lcZ(1,1,t.value.catalog_name),e.oJD)}}function P(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"li")(1,"a",5),e.NdJ("click",function(s){const f=e.CHM(t).$implicit;return e.KtG("#"===f.value.url?s.preventDefault():null)}),e.YNc(2,D,2,3,"ng-container",6)(3,L,2,3,"ng-template",null,7,e.W1O),e.qZA()()}if(2&n){const t=a.$implicit,o=a.index,s=a.count,l=e.MAs(4),f=e.oxw().$implicit,d=e.oxw();e.xp6(),e.Tol("social"!=f.value.catalog_name.toLowerCase()?t.value.custom_styles:""),e.s9C("href",d.setFooterUrl(t.value.url),e.LSH),e.uIk("rel",t.value.rel_attribute)("aria-label",d.getAriaLabel(f.value.catalog_name,o+1,s,t.value.catalog_name)),e.xp6(),e.Q6J("ngIf","social"==f.value.catalog_name.toLowerCase())("ngIfElse",l)}}function M(n,a){if(1&n&&(e.TgZ(0,"ul"),e.YNc(1,Q,5,3,"li",1)(2,P,5,8,"li",2),e.ALo(3,"keyvalue"),e.qZA()),2&n){const t=a.$implicit;e.Gre("",t.value.catalog_name.toLowerCase(),"-container"),e.xp6(),e.Q6J("ngIf","legal"==t.value.catalog_name.toLowerCase()),e.xp6(),e.Q6J("ngForOf",e.lcZ(3,5,t.value.children))}}let B=(()=>{class n{constructor(t,o){this.Router=t,this.ConfigManagerService=o,this.showAnnouncements=!0,this.appConfig=this.ConfigManagerService.getConfig("app")}ngOnInit(){this.setCurrentYear()}setCurrentYear(){this.currentYear=(new Date).getFullYear()}getAriaLabel(t,o,s,l){return"legal"==t.toLowerCase()&&(o++,s++),"list item "+o+" of "+s+" "+l}setFooterUrl(t){let o="#";return typeof t<"u"&&null!=t&&(o="/"!=t.charAt(0)?t:this.appConfig.site_url+t),o}static{this.\u0275fac=function(o){return new(o||n)(e.Y36(u.F0),e.Y36(c.Q))}}static{this.\u0275cmp=e.Xpm({type:n,selectors:[["footer-nav-contents"]],inputs:{footerNav:"footerNav",showAnnouncements:"showAnnouncements"},decls:2,vars:3,consts:[[3,"class",4,"ngFor","ngForOf"],["class","copyright","tabindex","0","role","list",4,"ngIf"],[4,"ngFor","ngForOf"],["tabindex","0","role","list",1,"copyright"],["aria-hidden","true"],[3,"href","click"],[4,"ngIf","ngIfElse"],["defaultLinks",""],[3,"innerHtml"]],template:function(o,s){1&o&&(e.YNc(0,M,4,7,"ul",0),e.ALo(1,"keyvalue")),2&o&&e.Q6J("ngForOf",e.lcZ(1,1,s.footerNav))},dependencies:[p.sg,p.O5,p.Nd,O.z],encapsulation:2})}}return n})();function V(n,a){if(1&n&&e._UZ(0,"app-announcement-placeholder",3),2&n){const t=e.oxw();e.Q6J("endPointUrl",t.appConfig.submodule_api_url+"/announcements")("placeholderCode","FOOTER_TOP")("websiteCode",t.appConfig.website_code)("containerClass","container")("closeIconClass","dri-close")}}function k(n,a){if(1&n&&e._UZ(0,"footer-nav-contents",8),2&n){const t=e.oxw(2);e.Q6J("footerNav",t.footerNav)}}function R(n,a){if(1&n&&(e.TgZ(0,"footer",4)(1,"div",5),e._UZ(2,"newsletter"),e.qZA(),e.TgZ(3,"div",6),e.YNc(4,k,1,1,"footer-nav-contents",7),e.qZA()()),2&n){const t=e.oxw();e.xp6(4),e.Q6J("ngIf",t.footerNav)}}function H(n,a){if(1&n&&e._UZ(0,"app-announcement-placeholder",3),2&n){const t=e.oxw();e.Q6J("endPointUrl",t.appConfig.submodule_api_url+"/announcements")("placeholderCode","FOOTER_BOTTOM")("websiteCode",t.appConfig.website_code)("containerClass","container")("closeIconClass","dri-close")}}function W(n,a){if(1&n&&e._UZ(0,"announcement-preview-tool",9),2&n){const t=e.oxw();e.Q6J("cookieDomain",t.appConfig.cookie_domain)}}let $=(()=>{class n{constructor(t,o,s,l){this.Router=t,this.Location=o,this.ConfigManagerService=s,this.Http=l,this.showComponent=!0,this.showAnnouncements=!0,this.appConfig=this.ConfigManagerService.getConfig("app"),this.noFooterPaths=this.ConfigManagerService.getConfig("no_footer_paths"),this.setFooterVisibility(),this.getFooterNav(),this.Router.events.subscribe(f=>{f instanceof u.m2&&this.setFooterVisibility()})}ngOnInit(){this.setCurrentYear()}setCurrentYear(){this.currentYear=(new Date).getFullYear()}getFooterNav(){this.Http.get(this.appConfig.site_url+"/footer-nav").subscribe(o=>{o.footer_nav_data&&(this.footerNav=this.sortFooterNav(o.footer_nav_data.children))})}getAriaLabel(t,o,s,l){return"legal"==t.toLowerCase()&&(o++,s++),"list item "+o+" of "+s+" "+l}sortFooterNav(t){const o=[];if(t)for(const s in t)if(o[t[s].sort]=t[s],Object.keys(o[t[s].sort].children).length>0){const l=[];for(const f in o[t[s].sort].children)l[o[t[s].sort].children[f].sort]=o[t[s].sort].children[f];o[t[s].sort].children=l}return o}setFooterVisibility(){this.showComponent=!0;for(const t in this.noFooterPaths)this.Location.path().search(this.noFooterPaths[t])>=0&&(this.showComponent=!1)}setFooterUrl(t){let o="#";return typeof t<"u"&&null!=t&&(o="/"!=t.charAt(0)?t:this.appConfig.site_url+t),o}static{this.\u0275fac=function(o){return new(o||n)(e.Y36(u.F0),e.Y36(p.Ye),e.Y36(c.Q),e.Y36(C.eN))}}static{this.\u0275cmp=e.Xpm({type:n,selectors:[["app-footer"]],inputs:{showAnnouncements:"showAnnouncements"},decls:4,vars:4,consts:[["class","comp-announcement-container",3,"endPointUrl","placeholderCode","websiteCode","containerClass","closeIconClass",4,"ngIf"],["class","global-footer-container",4,"ngIf"],[3,"cookieDomain",4,"ngIf"],[1,"comp-announcement-container",3,"endPointUrl","placeholderCode","websiteCode","containerClass","closeIconClass"],[1,"global-footer-container"],[1,"comp-newsletter-container"],[1,"footer-contents-container","container"],[3,"footerNav",4,"ngIf"],[3,"footerNav"],[3,"cookieDomain"]],template:function(o,s){1&o&&e.YNc(0,V,1,5,"app-announcement-placeholder",0)(1,R,5,1,"footer",1)(2,H,1,5,"app-announcement-placeholder",0)(3,W,1,1,"announcement-preview-tool",2),2&o&&(e.Q6J("ngIf",s.showComponent&&s.showAnnouncements),e.xp6(),e.Q6J("ngIf",s.showComponent),e.xp6(),e.Q6J("ngIf",s.showComponent&&s.showAnnouncements),e.xp6(),e.Q6J("ngIf",s.showAnnouncements))},dependencies:[p.O5,U,Y.n,J.C,B],encapsulation:2})}}return n})()}}]);

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.