1"use strict";(self.webpackChunkaccount_settings=self.webpackChunkaccount_settings||[]).push([[1846],{51846:(sn,T,c)=>{c.r(T),c.d(T,{AppHeaderComponent:()=>rn});var u=c(15861),v=c(3609),e=c(19212),g=c(72026),d=c(96814),_=c(39346),Q=c(96693),F=c(69930),N=c(69862);let Z=(()=>{class a{constructor(n,t){this.configManagerService=n,this.http=t,this.siteConfig={},this.siteConfig=this.configManagerService.getConfig("site"),this.helpCenterConfig=this.siteConfig.help_center,this.customerSupportConfig=this.configManagerService.getConfig("app")}checkChatAvailability(n){return this.http.get(`${this.customerSupportConfig.customer_support.base_url}/${this.customerSupportConfig.customer_support.resources.get_chat_availability}?vendor=${n}`)}checkCallAvailability(){const n=this.helpCenterConfig.available_call_hours,t=F.tz(this.helpCenterConfig.timezone),i=t.day(),o=t.hour();return i>=1&&i<=5&&o>=n.start&&o<n.end}getHoliday(){return this.http.get(`${this.customerSupportConfig.customer_support.base_url}/${this.customerSupportConfig.customer_support.resources.get_holiday}`)}static{this.\u0275fac=function(t){return new(t||a)(e.LFG(_.Q),e.LFG(N.eN))}}static{this.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var G=c(81459),B=c(1940),E=c(3214),O=c(14097),Y=c(8435),$=c(14687);let K=(()=>{class a{constructor(n,t,i,o,r,l,p){this.eRef=n,this.CartCountService=t,this.RefreshTokenService=i,this.FfrCartCountService=o,this.ConfigManagerService=r,this.StorageService=l,this.Router=p,this.onHideDropdown=new e.vpe,this.poCartCount=0,this.ffrCartCount=0,this.showCartCountDropdown=!1}ngOnInit(){this.appConfig=this.ConfigManagerService.getConfig("app"),this.cartConfig=this.ConfigManagerService.getConfig("cart"),this.checkoutRoutes=this.ConfigManagerService.getConfig("routes").checkout_client,this.poCartUrl=this.appConfig.checkout_client_url+"/"+this.checkoutRoutes.cart,this.ffrCartUrl=this.appConfig.checkout_client_url+"/"+this.checkoutRoutes.ffr_cart,this.poCartId=this.StorageService.getItem(this.ConfigManagerService.getConfig("storage_keys").cart_id),this.ffrCartId=this.StorageService.getItem(this.ConfigManagerService.getConfig("storage_keys").ffr_cart_id),this.poCartId&&(this.cartConfig?.enable_cart_api?this.CartCountService.getCartCountServerless(this.poCartId).then(n=>{this.poCartCount=Number(n)}):this.CartCountService.getCartCount(this.poCartId).then(n=>{this.poCartCount=Number(n)})),this.CartCountService.cartCount$.subscribe(n=>{this.poCartCount=n}),this.ffrCartId&&(this.cartConfig?.enable_cart_api?this.FfrCartCountService.getCartCountServerless(this.ffrCartId).then(n=>{this.ffrCartCount=Number(n)}):this.FfrCartCountService.getCartCount(this.ffrCartId).then(n=>{this.ffrCartCount=Number(n)})),this.FfrCartCountService.ffrCartCount$.subscribe(n=>{this.ffrCartCount=n}),this.RefreshTokenService.persistentCart$.subscribe(n=>{n&&(n.hasOwnProperty("cart_count")&&(this.poCartCount=Number(n.cart_count)),n.hasOwnProperty("ffr_cart_count")&&(this.ffrCartCount=Number(n.ffr_cart_count)))})}get showAsLink(){let n=!1;return this.poCartCount&&this.ffrCartCount||(n=!0),n}hideDropdown(n){setTimeout(()=>{n.stopPropagation(),this.onHideDropdown.emit(!0)},300)}static{this.\u0275fac=function(t){return new(t||a)(e.Y36(e.SBq),e.Y36(E.Y),e.Y36(O.$),e.Y36(Y.e),e.Y36(_.Q),e.Y36($.V),e.Y36(v.F0))}}static{this.\u0275cmp=e.Xpm({type:a,selectors:[["cart-count"]],inputs:{siteCode:"siteCode"},outputs:{onHideDropdown:"onHideDropdown"},decls:6,vars:3,consts:[["role","application",1,"cart-link",3,"href","focus"],[1,"cart-icon-container"],[1,"i-cart-only","cart-icon"],[1,"cart-count"],[1,"cart-count-inner"]],template:function(t,i){1&t&&(e.TgZ(0,"a",0),e.NdJ("focus",function(r){return i.hideDropdown(r)}),e.TgZ(1,"div",1),e._UZ(2,"span",2),e.TgZ(3,"span",3),e._uU(4),e.qZA(),e._UZ(5,"span",4),e.qZA()()),2&t&&(e.s9C("href",i.poCartUrl,e.LSH),e.uIk("aria-label","cart with "+i.poCartCount+" item"+(i.poCartCount>1?"s":"")),e.xp6(4),e.hij(" ",i.poCartCount," "))},encapsulation:2})}}return a})();var A=c(78467),f=c(59899),H=c(98715),C=c(97016);let M=(()=>{class a{constructor(n,t){this.httpClient=n,this.configManagerService=t,this.appConfig={},this.submoduleConfig={},this.appConfig=this.configManagerService.getConfig("app"),this.submoduleConfig=this.configManagerService.getConfig("submodule")}getFaqList(n){return this.httpClient.get(this.appConfig.submodule_api_url+"/"+this.submoduleConfig.faq_list+"/"+n)}static{this.\u0275fac=function(t){return new(t||a)(e.LFG(N.eN),e.LFG(_.Q))}}static{this.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var w=c(20673);const V=["helpCenterCarousel"];
1function z(a,s){if(1&a&&(e.TgZ(0,"li",18)(1,"a",19),e._UZ(2,"span",20),e.qZA()()),2&a){const n=s.$implicit;e.xp6(),e.s9C("href",n.url,e.LSH),e.xp6(),e.Q6J("innerHTML",n.catalog_name,e.oJD)}}const j=a=>({active:a}),D=a=>({shown:a});function P(a,s){if(1&a){const n=e.EpF();e.TgZ(0,"div",14),e.NdJ("focus",function(i){e.CHM(n);const o=e.oxw().$implicit,r=e.oxw(2);return e.KtG(r.showDropdown(i,"dropdown"+o.catalog_item_id))})("blur",function(i){e.CHM(n);const o=e.oxw(3);return e.KtG(o.hideDropdown(i))})("mouseenter",function(i){e.CHM(n);const o=e.oxw().$implicit,r=e.oxw(2);return e.KtG(r.showDropdown(i,"dropdown"+o.catalog_item_id))})("click",function(i){e.CHM(n);const o=e.oxw().$implicit,r=e.oxw(2);return e.KtG(r.showDropdown(i,"dropdown"+o.catalog_item_id))})("mouseleave",function(i){e.CHM(n);const o=e.oxw(3);return e.KtG(o.hideDropdown(i))}),e.TgZ(1,"a",15),e.NdJ("focus",function(i){e.CHM(n);const o=e.oxw().$implicit,r=e.oxw(2);return e.KtG(r.showDropdown(i,"dropdown"+o.catalog_item_id))}),e.qZA(),e.TgZ(2,"ul",16),e.YNc(3,z,3,2,"li",17),e.ALo(4,"objNgFor"),e.qZA(),e._UZ(5,"i",10),e.qZA()}if(2&a){const n=e.oxw().$implicit,t=e.oxw(2);e.Q6J("ngClass",e.VKq(6,j,t.activeDropdown=="dropdown"+n.catalog_item_id)),e.xp6(),e.Q6J("innerHTML",n.catalog_name,e.oJD),e.xp6(),e.Q6J("ngClass",e.VKq(8,D,t.activeDropdown=="dropdown"+n.catalog_item_id)),e.xp6(),e.Q6J("ngForOf",e.lcZ(4,4,n.children))}}function R(a,s){if(1&a&&(e.ynx(0),e.TgZ(1,"li",66)(2,"p",67),e._uU(3),e.qZA(),e._UZ(4,"div",68),e.qZA(),e.BQk()),2&a){const n=s.$implicit;e.xp6(3),e.Oqu(n.question),e.xp6(),e.Q6J("innerHTML",n.answer,e.oJD)}}const S=a=>({active:a}),q=a=>({unavailable:a});function W(a,s){if(1&a){const n=e.EpF();e.TgZ(0,"div",21),e.NdJ("mouseenter",function(i){e.CHM(n);const o=e.oxw(3);return e.KtG(o.showDropdown(i,"helpCenterDropDown"))})("mouseleave",function(i){e.CHM(n);const o=e.oxw(3);return e.KtG(o.hideDropdown(i))})("blur",function(i){e.CHM(n);const o=e.oxw(3);return e.KtG(o.hideDropdown(i))}),e.TgZ(1,"span",22),e._UZ(2,"img",23),e._uU(3),e.qZA(),e.TgZ(4,"ul",24)(5,"li",25)(6,"div",26)(7,"div",27),e._UZ(8,"img",28),e.TgZ(9,"p",29),e._uU(10,"Questions before you buy? Not sure where to start? Need ideas to best protect your products?"),e.qZA(),e.TgZ(11,"p"),e._uU(12,"We\u2019re easy to talk to. Let us know how we can help!"),e.qZA(),e.TgZ(13,"p"),e._uU(14,"Can\u2019t find what you\u2019re looking for? "),e.TgZ(15,"a",30),e._uU(16," Get a custom quote "),e.qZA()()(),e.TgZ(17,"div",31)(18,"p",32),e._uU(19),e.qZA(),e.TgZ(20,"a",33)(21,"div",34),e._UZ(22,"img",35),e.TgZ(23,"p",36),e._uU(24,"Artwork File Check "),e.TgZ(25,"span",37),e._uU(26),e.qZA()()(),e.TgZ(27,"p",38)(28,"span"),e._uU(29,"within 4 hours"),e.qZA(),e.TgZ(30,"span",39),e._uU(31,"(during business hours)"),e.qZA()()(),e.TgZ(32,"a",40)(33,"div",34),e._UZ(34,"img",23),e.TgZ(35,"p",41),e._uU(36,"Email Us "),e.TgZ(37,"span",42),e._uU(38),e.qZA()()(),e.TgZ(39,"p",43)(40,"span"),e._uU(41,"within 30 mins to 4 hours"),e.qZA(),e.TgZ(42,"span",39),e._uU(43,"(during business hours)"),e.qZA()()(),e.TgZ(44,"a",44)(45,"div",34),e._UZ(46,"img",45),e.TgZ(47,"p",46),e._uU(48,"Call Us "),e.TgZ(49,"span",47),e._uU(50),e.qZA()()(),e.TgZ(51,"p",48),e._uU(52),e.qZA()(),e.TgZ(53,"p",49),e._uU(54),e.qZA(),e.TgZ(55,"div",50),e.NdJ("click",function(){e.CHM(n);const i=e.oxw(3);return e.KtG(i.triggerDialpad())}),e.TgZ(56,"div",34),e._UZ(57,"img",51),e.TgZ(58,"p",52),e._uU(59,"Chat with Us"),e.qZA()(),e.TgZ(60,"p",53),e._uU(61),e.qZA()()()(),e.TgZ(62,"div",54)(63,"div",55,56)(65,"div",57),e._UZ(66,"img",58),e.TgZ(67,"span",59),e._uU(68,"Top FAQs"),e.qZA(),e.TgZ(69,"a",60),e._uU(70,"Explore all FAQs"),e.qZA()(),e.TgZ(71,"div",61),e._UZ(72,"button",62)(73,"button",63),e.qZA(),e.TgZ(74,"div",64)(75,"ul",65),e.YNc(76,R,5,2,"ng-container",11),e.qZA()()()()()(),e._UZ(77,"i",10),e.qZA()}if(2&a){const n=e.oxw().$implicit,t=e.oxw(2);e.Q6J("ngClass",e.VKq(26,S,"helpCenterDropDown"==t.activeDropdown)),e.xp6(2),e.MGl("src","",t.appConfig.static_image_path,"/help-center/help_center.svg",e.LSH),e.xp6(),e.hij(" ",n.catalog_name," "),e.xp6(),e.Q6J("ngClass",e.VKq(28,D,"helpCenterDropDown"==t.activeDropdown)),e.xp6(4),e.MGl("src","",t.appConfig.static_image_path,"/help-center/alpacka.svg",e.LSH),e.xp6(7),e.hYB("href","",t.appConfig.site_url,"",t.appConfig.custom_quote_url,"",e.LSH),e.xp6(4),e.Oqu(t.helpCenterConfig.prepress_hours),e.xp6(),e.MGl("href","mailto:",t.artworkEmailDraft,"",e.LSH),e.xp6(2),e.MGl("src","",t.appConfig.static_image_path,"/help-center/artwork.svg",e.LSH),e.xp6(4),e.Oqu(t.helpCenterConfig.prepress_email),e.xp6(6),e.MGl("href","mailto:",t.contactEmailDraft,"",e.LSH),e.xp6(2),e.MGl("src","",t.appConfig.static_image_path,"/help-center/email.svg",e.LSH),e.xp6(4),e.Oqu(t.helpCenterConfig.cs_email),e.xp6(6),e.Q6J("ngClass",e.VKq(30,q,!t.isChatAndCallAvailable)),e.uIk("href",t.isChatAndCallAvailable?"tel:"+t.helpCenterConfig.tel_no:null,e.LSH),e.xp6(2),e.MGl("src","",t.appConfig.static_image_path,"/help-center/telephone.svg",e.LSH),e.xp6(4),e.Oqu(t.helpCenterConfig.tel_no),e.xp6(2),e.hij(" ",t.isChatAndCallAvailable?"available":"unavailable"," "),e.xp6(2),e.Oqu(t.helpCenterConfig.chat_hours),e.xp6(),e.Q6J("ngClass",e.VKq(32,q,!t.isChatAndCallAvailable)),e.xp6(2),e.MGl("src","",t.appConfig.static_image_path,"/help-center/chat.svg",e.LSH),e.xp6(4),e.hij(" ",t.isChatAndCallAvailable?"available":"unavailable"," "),e.xp6(5),e.MGl("src","",t.appConfig.static_image_path,"/help-center/question_mark.svg",e.LSH),e.xp6(3),e.MGl("href","",t.appConfig.site_url,"/support/categories/faqs",e.LSH),e.xp6(7),e.Q6J("ngForOf",t.faqList)}}function X(a,s){if(1&a){const n=e.EpF();e.TgZ(0,"div",70)(1,"a",71),e.NdJ("focus",function(i){e.CHM(n);const o=e.oxw(4);return e.KtG(o.hideDropdown(i))}),e.qZA()()}if(2&a){const n=e.oxw(2).$implicit;e.xp6(),e.s9C("href",n.url,e.LSH),e.Q6J("innerHTML",n.catalog_name,e.oJD)}}function ee(a,s){1&a&&e.YNc(0,X,2,2,"ng-template",null,69,e.W1O)}function ne(a,s){if(1&a&&(e.ynx(0),e.YNc(1,P,6,10,"div",12)(2,W,78,34,"div",13)(3,ee,2,0,null,3),e.BQk()),2&a){const n=s.$implicit,t=e.oxw(2);e.xp6(),e.Q6J("ngIf",0!=n.children.length)("ngIfElse",t.noMenuItemChildren),e.xp6(),e.Q6J("ngIf",n.catalog_item_id==t.helpCenterConfig.catalog_item_id),e.xp6(),e.Q6J("ngIf",n.catalog_item_id!=t.helpCenterConfig.catalog_item_id)}}function te(a,s){if(1&a&&(e.ynx(0),e.YNc(1,ne,4,4,"ng-container",11),e.ALo(2,"objNgFor"),e.BQk()),2&a){const n=e.oxw();e.xp6(),e.Q6J("ngForOf",e.lcZ(2,1,n.headerNavData.sorted_children))}}function ae(a,s){1&a&&e._UZ(0,"i",72)}function ie(a,s){if(1&a&&(e.TgZ(0,"li",73)(1,"a",74)(2,"span"),e._uU(3,"Login"),e.qZA()()()),2&a){const n=e.oxw();e.xp6(),e.MGl("href","",n.appConfig.checkout_client_url,"/customer/login",e.LSH)}}function oe(a,s){if(1&a&&(e.TgZ(0,"li",73)(1,"a",74)(2,"span"),e._uU(3,"Sign Up"),e.qZA()()()),2&a){const n=e.oxw();e.xp6(),e.MGl("href","",n.appConfig.checkout_client_url,"/customer/login?form=register",e.LSH)}}function re(a,s){if(1&a&&(e.TgZ(0,"li",73)(1,"a",75)(2,"span"),e._uU(3,"Saved Designs"),e.qZA()()()),2&a){const n=e.oxw();e.xp6(),e.MGl("href","",n.appConfig.account_designs_client,"/my-saved-designs",e.LSH)}}function se(a,s){if(1&a&&(e.TgZ(0,"li",73)(1,"a",75)(2,"span"),e._uU(3,"My Orders"),e.qZA()()()),2&a){const n=e.oxw();e.xp6(),e.MGl("href","",n.appConfig.account_orders_client,"/order",e.LSH)}}function ce(a,s){if(1&a&&(e.TgZ(0,"li",73)(1,"a",74)(2,"span"),e._uU(3,"My Quotes"),e.qZA()()()),2&a){const n=e.oxw();e.xp6(),e.MGl("href","",n.appConfig.account_quotes_client,"/quotes",e.LSH)}}function le(a,s){if(1&a&&(e.TgZ(0,"li",73)(1,"a",74)(2,"span"),e._uU(3,"Settings"),e.qZA()()()),2&a){const n=e.oxw();e.xp6(),e.MGl("href","",n.appConfig.account_settings_client,"/contact-information",e.LSH)}}function de(a,s){if(1&a){const n=e.EpF();e.TgZ(0,"li",76),e.NdJ("click",function(){e.CHM(n);const i=e.oxw();return e.KtG(i.logout())}),e.TgZ(1,"a",77),e.NdJ("click",function(i){return i.preventDefault()}),e.TgZ(2,"span"),e._uU(3,"Sign Out"),e.qZA()()()}}const pe=a=>({shown:a});let _e=(()=>{class a{onResize(n){this.isMobile=window.innerWidth<=991}constructor(n,t,i,o,r,l){this.ConfigManagerService=n,this.MenuNavService=t,this.AuthService=i,this.LogoutHandlerService=o,this.LogoutService=r,this.FaqService=l,this.onHideDropdown=new e.vpe,this.onShowDropdown=new e.vpe,this.headerNavDataCount=0,this.isMobile=!1,this.isLoading=!0,this.chatAvailable=!1,this.callAvailable=!1,this.carouselMounted=!1,this.splideInstance=null,this.currentSlideIndex=0}ngOnInit(){this.appConfig=this.ConfigManagerService.getConfig("app"),this.siteConfig=this.ConfigManagerService.getConfig("site"),this.customerCsConfig=this.ConfigManagerService.getConfig("customer_cs"),this.helpCenterConfig=this.siteConfig.help_center;const n=this.helpCenterConfig.artwork_email_draft,t=this.helpCenterConfig.contact_email_draft;this.artworkEmailDraft=`${this.helpCenterConfig.prepress_email}?subject=${n.subject}&body=${n.body}`,this.contactEmailDraft=`${this.helpCenterConfig.cs_email}?subject=${t.subject}&body=${t.body}`;const i=this;if(this.MenuNavService.menuNavData$.subscribe(o=>{this.headerNavData=o.header_nav,this.headerNavDataCount=Object.keys(this.headerNavData.sorted_children).length,i.KeyboardNavigation.initialize(document.getElementById("keyboard-start")),this.isLoading=!1}),this.isMobile||this.getMenuNavData(),this.KeyboardNavigation=new A.m,this.AuthService.parseAccessTokenData()){const o=this.AuthService.parseAccessTokenData();this.customerInfo=o.data,this.isLoggedIn=!0,this.isLoading=!1}this.AuthService.logged_in$.subscribe(o=>{const r=this.AuthService.parseAccessTokenData();this.customerInfo=r.data,this.isLoggedIn=!0,this.isLoading=!1}),this.AuthService.logged_out$.subscribe(o=>{this.customerInfo={},this.isLoggedIn=!1,this.isLoading=!1}),this.AuthService.customerInfo$.subscribe(o=>{null==o&&(this.customerInfo=!1,this.isLoggedIn=!1,this.isLoading=!1)})}getMenuNavData(){var n=this;return(0,u.Z)(function*(){n.MenuNavService.getMenuNavData(n.appConfig.site_url+"/menu-nav")})()}showDropdown(n,t){n.stopPropagation(),this.activeDropdown=t,this.onShowDropdown.emit(t),"helpCenterDropDown"===t&&this.helpCenterConfig&&(this.faqList?this.rebuildFaqCarousel():this.getTopNavFaq(this.helpCenterConfig.top_faq_id))}rebuildFaqCarousel(){this.splideInstance&&(this.currentSlideIndex=this.splideInstance.index,this.splideInstance.destroy(),this.carouselMounted=!1),setTimeout(()=>{this.buildFaqCarousel(this.currentSlideIndex)},0)}hideDropdown(n){n.stopPropagation(),this.activeDropdown=null,this.onHideDropdown.emit(!0)}prependSiteUrl(n){return n&&-1===n.indexOf("http")?this.appConfig.site_url+n:n}logout(){this.ConfigManagerService.getConfig("customer")?.enable_serverless_auth?this.LogoutHandlerService.logout().subscribe():this.LogoutService.logout().subscribe(t=>{window.location.href=this.appConfig.site_url})}getTopNavFaq(n){this.FaqService.getFaqList(n).subscribe(({success:t,data:i})=>{t&&(this.faqList=i.faqs.questions,this.carouselMounted||setTimeout(()=>{this.buildFaqCarousel(this.currentSlideIndex)},0))})}buildFaqCarousel(n){this.helpCenterCarousel&&this.helpCenterCarousel.nativeElement&&(this.splideInstance=new window.Splide(this.helpCenterCarousel.nativeElement,{type:"slide",pagination:!0,perPage:1,rewind:!0,start:n,classes:{pagination:"splide__pagination splide-pagination",page:"splide__pagination__page splide-class-page"}}),this.splideInstance.mount(),this.carouselMounted=!0)}triggerDialpad(){const t=document.getElementById(this.customerCsConfig.dialpad_btn_id);t&&this.isChatAndCallAvailable&&t.click()}static{this.\u0275fac=function(t){return new(t||a)(e.Y36(_.Q),e.Y36(f.Y),e.Y36(g.e),e.Y36(H.d),e.Y36(C.P),e.Y36(M))}}static{this.\u0275cmp=e.Xpm({type:a,selectors:[["header-nav"]],viewQuery:function(t,i){if(1&t&&e.Gf(V,5),2&t){let o;e.iGM(o=e.CRH())&&(i.helpCenterCarousel=o.first)}},hostBindings:function(t,i){1&t&&e.NdJ("resize",function(r){return i.onResize(r)},!1,e.Jf7)},inputs:{isDropdownActive:"isDropdownActive",siteCode:"siteCode",isChatAndCallAvailable:"isChatAndCallAvailable"},outputs:{onHideDropdown:"onHideDropdown",onShowDropdown:"onShowDropdown"},decls:17,vars:15,consts:[["role","application","aria-roledescription","menu","id","keyboard-start",1,"header-nav-wrapper"],[1,"global-header-nav-container"],[1,"header-nav-wrapper","aria-parent-nav"],[4,"ngIf"],["class","fa fa-spinner fa-spin",4,"ngIf"],[1,"nav-item","my-account","aria-child-nav",3,"ngClass","mouseenter","mouseleave","blur"],["href","javascript: void(0);","role","list","aria-roledescription","menu expanded","data-nav-tabindex","true","tabindex","0","nav-orientation","horizontal",1,"my-account",3,"focus"],[1,"dropdown-container","account-actions","aria-parent-nav",3,"ngClass"],["class","account-action aria-child-nav",4,"ngIf"],["class","account-action sign-out-action aria-child-nav",3,"click",4,"ngIf"],[1,"toggle-icon","i-arrow-down"],[4,"ngFor","ngForOf"],["class","nav-item aria-child-nav",3,"ngClass","focus","blur","mouseenter","click","mouseleave",4,"ngIf","ngIfElse"],["class","nav-help nav-item aria-child-nav",3,"ngClass","mouseenter","mouseleave","blur",4,"ngIf"],[1,"nav-item","aria-child-nav",3,"ngClass","focus","blur","mouseenter","click","mouseleave"],["role","list","aria-roledescription","menu expanded","tabindex","0","data-nav-tabindex","true","aria-expanded","true","nav-orientation","horizontal",1,"nav-title","nav-details",3,"innerHTML","focus"],[1,"dropdown-container","nav-actions","aria-parent-nav",3,"ngClass"],["class","nav-action aria-child-nav",4,"ngFor","ngForOf"],[1,"nav-action","aria-child-nav"],["data-parent-count","2","tabindex","0","data-nav-tabindex","true",3,"href"],[3,"innerHTML"],[1,"nav-help","nav-item","aria-child-nav",3,"ngClass","mouseenter","mouseleave","blur"],["tabindex","0","role","list","aria-roledescription","menu expanded","data-nav-tabindex","true","aria-expanded","true","nav-orientation","horizontal",1,"nav-details","nav-details-help"],["alt","email icon",1,"help-center-icons","shared-icon",3,"src"],[1,"account-actions","help-center-actions","dropdown-container","aria-parent-nav","shared-account-actions",3,"ngClass"],[1,"account-action","help-center-action","aria-child-nav"],[1,"help-center-container"],["data-qaid","faqItemQuestion",1,"help-center-left"],["alt","alpacka image",1,"alpacka-image",3,"src"],["data-qaid","contactIntroTextBlock"],["data-qaid","customQuoteLink",3,"href"],[1,"help-center-info-container"],["data-qaid","prepressAvailableHours",1,"prepress-hour"],["data-qaid","afcContainer",1,"help-center-info",3,"href"],[1,"help-header"],["alt","artwork icon",1,"help-center-icons","shared-icon",3,"src"],["data-qaid","afcLabel"],["data-qaid","prepressEmail"],["data-qaid","afcAvailableHours",1,"menu-item-header"],[1,"menu-hours-range"],["data-qaid","emailUsContainer",1,"help-center-info",3,"href"],["data-qaid","emailUsLabel"],["data-qaid","contactEmail"],[1,"menu-item-header"],["data-qaid","callUsContainer",1,"help-center-info","help-center-call",3,"ngClass"],["alt","telephone icon",1,"help-center-icons","shared-icon",3,"src"],["data-qaid","callUsLabel"],["data-qaid","contactNumber",1,"tel_no"],["data-qaid","callAvailability",1,"menu-item-header","available"],["data-qaid","chatAvailableHours",1,"prepress-hour"],["data-qaid","chatUsContainer",1,"help-center-info","help-center-c
1hat",3,"ngClass","click"],["alt","chat icon",1,"help-center-icons","shared-icon",3,"src"],["data-qaid","chatUsLabel"],["data-qaid","chatAvailability",1,"menu-item-header","available"],["data-qaid","topFaqSection",1,"help-center-carousel-wrapper"],[1,"help-center-carousel-container","splide","loading"],["helpCenterCarousel",""],[1,"carousel-header"],["alt","question mark icon",1,"help-center-icons","shared-icon",3,"src"],["data-qaid","topFaqLabel"],["data-qaid","exploreAllFaqs",3,"href"],[1,"img-gal-list-carousel-arrows","arrows","splide__arrows"],["data-qaid","faqPrevBtn","tabindex","0",1,"splide__arrow","splide__arrow--prev","arrow","arrow-prev","i-arrow-left","pagination-arrows"],["data-qaid","faqNextBtn","tabindex","0",1,"splide__arrow","splide__arrow--next","arrow","arrow-next","i-arrow-right","pagination-arrows"],[1,"splide__track"],[1,"splide__list","aria-parent-nav"],["aria-hidden","true","tabindex","-1",1,"splide__slide","aria-child-nav","carousel-list"],["data-qaid","faqItemQuestion",1,"carousel-question"],["data-qaid","faqItemAnswer",1,"faq-answer",3,"innerHTML"],["noMenuItemChildren",""],[1,"nav-item","aria-child-nav"],["data-nav-tabindex","true","tabindex","0","nav-orientation","horizontal",3,"href","innerHTML","focus"],[1,"fa","fa-spinner","fa-spin"],[1,"account-action","aria-child-nav"],["tabindex","0","data-parent-count","2",3,"href"],["tabindex","0","data-parent-count","2","role","link",3,"href"],[1,"account-action","sign-out-action","aria-child-nav",3,"click"],["href","javascript:void(0)","tabindex","0","data-parent-count","2",1,"sign-out-link",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0)(1,"nav",1)(2,"div",2),e.YNc(3,te,3,3,"ng-container",3)(4,ae,1,0,"i",4),e.TgZ(5,"div",5),e.NdJ("mouseenter",function(r){return i.showDropdown(r,"userDropdown")})("mouseleave",function(r){return i.hideDropdown(r)})("blur",function(r){return i.hideDropdown(r)}),e.TgZ(6,"a",6),e.NdJ("focus",function(r){return i.showDropdown(r,"userDropdown")}),e._uU(7," My account "),e.qZA(),e.TgZ(8,"ul",7),e.YNc(9,ie,4,1,"li",8)(10,oe,4,1,"li",8)(11,re,4,1,"li",8)(12,se,4,1,"li",8)(13,ce,4,1,"li",8)(14,le,4,1,"li",8)(15,de,4,0,"li",9),e.qZA(),e._UZ(16,"i",10),e.qZA()()()()),2&t&&(e.xp6(3),e.Q6J("ngIf",i.headerNavData),e.xp6(),e.Q6J("ngIf",i.isLoading),e.xp6(),e.Q6J("ngClass",e.VKq(11,S,i.isDropdownActive)),e.xp6(3),e.Q6J("ngClass",e.VKq(13,pe,i.isDropdownActive)),e.xp6(),e.Q6J("ngIf",!i.isLoggedIn),e.xp6(),e.Q6J("ngIf",!i.isLoggedIn),e.xp6(),e.Q6J("ngIf",i.isLoggedIn),e.xp6(),e.Q6J("ngIf",i.isLoggedIn),e.xp6(),e.Q6J("ngIf",i.isLoggedIn),e.xp6(),e.Q6J("ngIf",i.isLoggedIn),e.xp6(),e.Q6J("ngIf",i.isLoggedIn))},dependencies:[d.mk,d.sg,d.O5,w.Z],encapsulation:2})}}return a})();var I=c(6593);const ge=a=>({"single-item-wrapper":a}),ue=a=>({"single-item":a});function he(a,s){if(1&a){const n=e.EpF();e.TgZ(0,"li",11)(1,"a",12),e.NdJ("keydown.Tab",function(i){const r=e.CHM(n).index,l=e.oxw(2).$implicit,p=e.oxw(2);return e.KtG(p.hideLastChildDropdown(p.countChildItem(l.children)-1==r,i))}),e.TgZ(2,"div",13),e._UZ(3,"img",14),e.qZA(),e.TgZ(4,"div",15),e._UZ(5,"div",16)(6,"div",17),e.qZA()()()}if(2&a){const n=s.$implicit,t=e.oxw(2).$implicit,i=e.oxw(2);e.Q6J("ngClass",e.VKq(10,ge,1==i.countChildItem(t.children))),e.uIk("data-nav-title",n.catalog_name)("data-parent-title",t.catalog_name),e.xp6(),e.s9C("href",n.url,e.LSH),e.Q6J("ngClass",e.VKq(12,ue,1==i.countChildItem(t.children))),e.xp6(2),e.s9C("alt",n.catalog_name),e.Q2q("aria-label","",n.catalog_name," Graphic"),e.Q6J("src",i.bypassSecurityTrustUrl(n.menu_image),e.LSH),e.xp6(2),e.Q6J("innerHTML",n.catalog_name,e.oJD),e.xp6(),e.Q6J("innerHTML",n.catalog_desc,e.oJD)}}const k=a=>({"active-nav":a}),me=a=>({shown:a});function ve(a,s){if(1&a){const n=e.EpF();e.TgZ(0,"div",7),e.NdJ("focus",function(){e.CHM(n);const i=e.oxw().$implicit,o=e.oxw(2);return e.KtG(o.showDropdown("dropdown"+i.catalog_item_id))})("blur",function(i){e.CHM(n);const o=e.oxw(3);return e.KtG(o.hideDropdown(i))})("mouseenter",function(){e.CHM(n);const i=e.oxw().$implicit,o=e.oxw(2);return e.KtG(o.showDropdown("dropdown"+i.catalog_item_id))})("click",function(){e.CHM(n);const i=e.oxw().$implicit,o=e.oxw(2);return e.KtG(o.showDropdown("dropdown"+i.catalog_item_id))})("mouseleave",function(i){e.CHM(n);const o=e.oxw(3);return e.KtG(o.hideDropdown(i))}),e.TgZ(1,"a",8),e.NdJ("focus",function(){e.CHM(n);const i=e.oxw().$implicit,o=e.oxw(2);return e.KtG(o.showDropdown("dropdown"+i.catalog_item_id))}),e.qZA(),e.TgZ(2,"ul",9),e.YNc(3,he,7,14,"li",10),e.ALo(4,"objNgFor"),e.qZA()()}if(2&a){const n=e.oxw().$implicit,t=e.oxw(2);e.Q6J("ngClass",e.VKq(7,k,t.activeDropdown=="dropdown"+n.catalog_item_id)),e.uIk("data-nav-title",n.catalog_name),e.xp6(),e.Q6J("innerHTML",n.catalog_name,e.oJD),e.xp6(),e.Q6J("ngClass",e.VKq(9,me,t.activeDropdown=="dropdown"+n.catalog_item_id)),e.xp6(),e.Q6J("ngForOf",e.lcZ(4,5,n.children))}}function fe(a,s){if(1&a){const n=e.EpF();e.TgZ(0,"div",18),e.NdJ("mouseenter",function(){e.CHM(n);const i=e.oxw().$implicit,o=e.oxw(2);return e.KtG(o.showDropdown("dropdown"+i.catalog_item_id))})("mouseleave",function(i){e.CHM(n);const o=e.oxw(3);return e.KtG(o.hideDropdown(i))}),e.TgZ(1,"a",19),e.NdJ("focus",function(i){e.CHM(n);const o=e.oxw(3);return e.KtG(o.hideDropdown(i))}),e.qZA()()}if(2&a){const n=e.oxw().$implicit,t=e.oxw(2);e.Q6J("ngClass",e.VKq(4,k,t.activeDropdown=="dropdown"+n.catalog_item_id)),e.uIk("data-nav-title",n.catalog_name),e.xp6(),e.s9C("href",n.url,e.LSH),e.Q6J("innerHTML",n.catalog_name,e.oJD)}}function Ce(a,s){if(1&a&&(e.ynx(0),e.YNc(1,ve,5,11,"div",5)(2,fe,2,6,"ng-template",null,6,e.W1O),e.BQk()),2&a){const n=s.$implicit,t=e.MAs(3);e.xp6(),e.Q6J("ngIf",0!=n.children.length)("ngIfElse",t)}}function we(a,s){if(1&a&&(e.ynx(0),e.YNc(1,Ce,4,2,"ng-container",4),e.ALo(2,"objNgFor"),e.BQk()),2&a){const n=e.oxw();e.xp6(),e.Q6J("ngForOf",e.lcZ(2,1,n.headerNavData.sorted_children))}}let be=(()=>{class a{onResize(n){this.isMobile=window.innerWidth<=991}constructor(n,t,i,o,r){this.ConfigManagerService=n,this.MenuNavService=t,this.AuthService=i,this.LogoutService=o,this.Sanitized=r,this.onHideDropdown=new e.vpe,this.onShowDropdown=new e.vpe,this.headerNavDataCount=0,this.isMobile=!1,this.isLoading=!0,this.appConfig=this.ConfigManagerService.getConfig("app");const l=this;this.MenuNavService.menuNavData$.subscribe(p=>{this.headerNavData=p.header_nav_2,this.headerNavDataCount=Object.keys(this.headerNavData.sorted_children).length,l.KeyboardNavigation.initialize(document.getElementById("keyboard-start-2")),this.isLoading=!1})}ngOnInit(){this.isMobile||this.getMenuNavData(),this.KeyboardNavigation=new A.m}
1getMenuNavData(){this.MenuNavService.getMenuNavData(this.appConfig.site_url+"/menu-nav")}showDropdown(n){this.activeDropdown=n,this.onShowDropdown.emit(n)}hideDropdown(n){n.stopPropagation(),this.activeDropdown=null,this.onHideDropdown.emit(!0)}hideLastChildDropdown(n,t){n&&this.hideDropdown(t)}bypassSecurityTrustUrl(n){return this.Sanitized.bypassSecurityTrustUrl(n)}countChildItem(n){return Object.keys(n).length}static{this.\u0275fac=function(t){return new(t||a)(e.Y36(_.Q),e.Y36(f.Y),e.Y36(g.e),e.Y36(C.P),e.Y36(I.H7))}}static{this.\u0275cmp=e.Xpm({type:a,selectors:[["header-nav-2"]],hostBindings:function(t,i){1&t&&e.NdJ("resize",function(r){return i.onResize(r)},!1,e.Jf7)},inputs:{isDropdownActive:"isDropdownActive"},outputs:{onHideDropdown:"onHideDropdown",onShowDropdown:"onShowDropdown"},decls:4,vars:1,consts:[["role","application","aria-roledescription","menu","id","keyboard-start-2"],[1,"global-header-nav-container"],[1,"aria-parent-nav","header-nav-2-container","ga4-nav-click","header"],[4,"ngIf"],[4,"ngFor","ngForOf"],["class","nav-item aria-child-nav has-children","data-nav-level","0","data-has-children","1",3,"ngClass","focus","blur","mouseenter","click","mouseleave",4,"ngIf","ngIfElse"],["noMenuItemChildren",""],["data-nav-level","0","data-has-children","1",1,"nav-item","aria-child-nav","has-children",3,"ngClass","focus","blur","mouseenter","click","mouseleave"],["role","list","aria-roledescription","menu expanded","tabindex","0","data-nav-tabindex","true","aria-expanded","true","nav-orientation","horizontal",1,"nav-2-link",3,"innerHTML","focus"],[1,"dropdown-container-2","nav-actions","aria-parent-nav",3,"ngClass"],["class","aria-child-nav","data-nav-level","1","data-has-children","0",3,"ngClass",4,"ngFor","ngForOf"],["data-nav-level","1","data-has-children","0",1,"aria-child-nav",3,"ngClass"],["data-parent-count","2","tabindex","0","data-nav-tabindex","true","nav-orientation","horizontal",1,"product-item-container",3,"href","ngClass","keydown.Tab"],[1,"product-image-container"],[1,"product-image",3,"alt","src"],[1,"product-details"],[1,"product-name",3,"innerHTML"],[1,"product-description",3,"innerHTML"],["data-nav-level","0","data-has-children","0",1,"nav-item","aria-child-nav",3,"ngClass","mouseenter","mouseleave"],["data-nav-tabindex","true","tabindex","0","nav-orientation","horizontal",1,"nav-2-link",3,"href","innerHTML","focus"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0)(1,"nav",1)(2,"div",2),e.YNc(3,we,3,3,"ng-container",3),e.qZA()()()),2&t&&(e.xp6(3),e.Q6J("ngIf",i.headerNavData))},dependencies:[d.mk,d.sg,d.O5,w.Z],encapsulation:2})}}return a})();const xe=a=>({"show-banner":a});function Te(a,s){if(1&a&&(e.TgZ(0,"div",1)(1,"p",2),e._uU(2," You are currently logged-in as customer "),e._UZ(3,"span",3),e.qZA()()),2&a){const n=e.oxw();e.Q6J("ngClass",e.VKq(2,xe,n.showImsUserBanner)),e.xp6(3),e.Q6J("innerHtml",n.customerInfo.first_name,e.oJD)}}let Ne=(()=>{class a{constructor(n){this.AuthService=n,this.showImsUserBanner=!1}ngOnInit(){this.getCustomerInfo(),this.setShowImsUserBanner(),this.AuthService.logged_in$.subscribe(()=>{this.getCustomerInfo(),this.setShowImsUserBanner()}),this.AuthService.logged_out$.subscribe(()=>{this.customerInfo={},this.showImsUserBanner=!1})}getCustomerInfo(){const n=this.AuthService.parseAccessTokenData();n&&(this.customerInfo=n.data)}setShowImsUserBanner(){this.showImsUserBanner="y"==this.AuthService.getImsUserFlag()}static{this.\u0275fac=function(t){return new(t||a)(e.Y36(g.e))}}static{this.\u0275cmp=e.Xpm({type:a,selectors:[["ims-user-banner"]],decls:1,vars:1,consts:[["class","ims-user-banner-container",3,"ngClass",4,"ngIf"],[1,"ims-user-banner-container",3,"ngClass"],["tabindex","0"],[1,"ims-user-name",3,"innerHtml"]],template:function(t,i){1&t&&e.YNc(0,Te,4,4,"div",0),2&t&&e.Q6J("ngIf",i.showImsUserBanner)},dependencies:[d.mk,d.O5],encapsulation:2})}}return a})();c(16363);const Ze=["mobileSearchWidget"];function Ae(a,s){if(1&a&&e._UZ(0,"img",33),2&a){const n=e.oxw().$implicit,t=e.oxw(5);e.s9C("alt",n.catalog_name),e.Q6J("src",t.bypassSecurityTrustUrl(n.menu_image),e.LSH)}}function He(a,s){if(1&a&&(e.TgZ(0,"li",30),e.YNc(1,Ae,1,2,"img",31),e.TgZ(2,"a",32),e._UZ(3,"span",27),e.qZA()()),2&a){const n=s.$implicit,t=e.oxw(2).$implicit;e.uIk("data-nav-title",n.catalog_name)("data-parent-title",t.catalog_name),e.xp6(),e.Q6J("ngIf",n.menu_image),e.xp6(),e.s9C("href",n.url,e.LSH),e.xp6(),e.Q6J("innerHTML",n.catalog_name,e.oJD)}}function Me(a,s){if(1&a&&(e.TgZ(0,"div",25)(1,"span",26),e._UZ(2,"
1span",27),e.qZA(),e.TgZ(3,"ul",28),e.YNc(4,He,4,5,"li",29),e.ALo(5,"objNgFor"),e.qZA()()),2&a){const n=e.oxw().$implicit;e.xp6(),e.uIk("data-nav-title",n.catalog_name),e.xp6(),e.Q6J("innerHTML",n.catalog_name,e.oJD),e.xp6(2),e.Q6J("ngForOf",e.lcZ(5,3,n.children))}}function De(a,s){if(1&a&&e._UZ(0,"img",33),2&a){const n=e.oxw(2).$implicit,t=e.oxw(3);e.s9C("alt",n.catalog_name),e.Q6J("src",t.bypassSecurityTrustUrl(n.menu_image),e.LSH)}}function Se(a,s){if(1&a&&(e.TgZ(0,"div",25)(1,"span",34),e._UZ(2,"span",27),e.qZA(),e.TgZ(3,"ul",28)(4,"li",30),e.YNc(5,De,1,2,"img",31),e.TgZ(6,"a",32),e._UZ(7,"span",27),e.qZA()()()()),2&a){const n=e.oxw().$implicit;e.xp6(),e.uIk("data-nav-title",n.catalog_name),e.xp6(),e.Q6J("innerHTML",n.catalog_name,e.oJD),e.xp6(2),e.uIk("data-nav-title",n.catalog_name)("data-parent-title",n.catalog_name),e.xp6(),e.Q6J("ngIf",n.menu_image),e.xp6(),e.s9C("href",n.url,e.LSH),e.xp6(),e.Q6J("innerHTML",n.catalog_name,e.oJD)}}function qe(a,s){if(1&a&&(e.ynx(0),e.YNc(1,Me,6,5,"div",23)(2,Se,8,7,"ng-template",null,24,e.W1O),e.BQk()),2&a){const n=s.$implicit,t=e.MAs(3);e.xp6(),e.Q6J("ngIf",0!=n.children.length)("ngIfElse",t)}}const b=a=>({active:a}),x=a=>({shown:a});function Ie(a,s){if(1&a){const n=e.EpF();e.ynx(0),e.TgZ(1,"div",20),e.NdJ("click",function(){e.CHM(n);const i=e.oxw(2);return e.KtG(i.showDropdown("dropdownNav2"))}),e.TgZ(2,"span",6),e._uU(3," Design & discover "),e._UZ(4,"i",7),e.qZA()(),e.TgZ(5,"div",21),e.YNc(6,qe,4,2,"ng-container",22),e.ALo(7,"objNgFor"),e.qZA(),e.BQk()}if(2&a){const n=e.oxw(2);e.xp6(),e.Q6J("ngClass",e.VKq(6,b,"dropdownNav2"==n.activeDropdown)),e.xp6(3),e.Q6J("ngClass","dropdownNav2"==n.activeDropdown?"i-arrow-up":"i-arrow-down"),e.xp6(),e.Q6J("ngClass",e.VKq(8,x,"dropdownNav2"==n.activeDropdown)),e.xp6(),e.Q6J("ngForOf",e.lcZ(7,4,n.headerNav2Data.sorted_children))}}function ke(a,s){if(1&a&&(e.TgZ(0,"li",39)(1,"a",40),e._UZ(2,"span",27),e.qZA()()),2&a){const n=s.$implicit,t=e.oxw(2).$implicit;e.uIk("data-nav-title",n.catalog_name)("data-parent-title",t.catalog_name),e.xp6(),e.s9C("href",n.url,e.LSH),e.xp6(),e.Q6J("innerHTML",n.catalog_name,e.oJD)}}function ye(a,s){if(1&a){const n=e.EpF();e.TgZ(0,"div",37),e.NdJ("click",function(){e.CHM(n);const i=e.oxw().$implicit,o=e.oxw(3);return e.KtG(o.showDropdown("dropdown"+i.catalog_item_id))}),e.TgZ(1,"span",6),e._UZ(2,"span",27)(3,"i",7),e.qZA(),e.TgZ(4,"div",8)(5,"div",9)(6,"div",10)(7,"ul",11),e.YNc(8,ke,3,4,"li",38),e.ALo(9,"objNgFor"),e.qZA()()()()()}if(2&a){const n=e.oxw().$implicit,t=e.oxw(3);e.Q6J("ngClass",e.VKq(8,b,t.activeDropdown=="dropdown"+n.catalog_item_id)),e.uIk("data-nav-title",n.catalog_name),e.xp6(2),e.Q6J("innerHTML",n.catalog_name,e.oJD),e.xp6(),e.Q6J("ngClass",t.activeDropdown=="dropdown"+n.catalog_item_id?"i-arrow-up":"i-arrow-down"),e.xp6(),e.Q6J("ngClass",e.VKq(10,x,t.activeDropdown=="dropdown"+n.catalog_item_id)),e.xp6(4),e.Q6J("ngForOf",e.lcZ(9,6,n.children))}}function Ue(a,s){if(1&a&&(e.ynx(0),e.TgZ(1,"li",86)(2,"p",87),e._uU(3),e.qZA(),e._UZ(4,"div",88),e.qZA(),e.BQk()),2&a){const n=s.$implicit;e.xp6(3),e.Oqu(n.question),e.xp6(),e.Q6J("innerHTML",n.answer,e.oJD)}}const Le=a=>({active:a}),y=a=>({unavailable:a});function Je(a,s){if(1&a){const n=e.EpF();e.TgZ(0,"div",41)(1,"span",42),e.NdJ("click",function(){e.CHM(n);const i=e.oxw(4);return e.KtG(i.showDropdown("helpCenterDropDown"))}),e._UZ(2,"img",43),e.TgZ(3,"span"),e._uU(4),e.qZA(),e._UZ(5,"i",7),e.qZA(),e.TgZ(6,"ul",44)(7,"li",45)(8,"div",46)(9,"div",47),e._UZ(10,"img",48),e.TgZ(11,"p",49),e._uU(12,"Questions before you buy? Not sure where to start? Need ideas to best protect your products?"),e.qZA(),e.TgZ(13,"p"),e._uU(14,"We\u2019re easy to talk to. Let us know how we can help!"),e.qZA(),e.TgZ(15,"p"),e._uU(16,"Can\u2019t find what you\u2019re looking for? "),e.TgZ(17,"a",50),e._uU(18," Get a custom quote "),e.qZA()()(),e.TgZ(19,"div",51)(20,"p",52),e._uU(21),e.qZA(),e.TgZ(22,"a",53)(23,"div",54),e._UZ(24,"img",55),e.TgZ(25,"p",56),e._uU(26,"Artwork File Check "),e.TgZ(27,"span",57),e._uU(28),e.qZA()()(),e.TgZ(29,"p",58)(30,"span"),e._uU(31,"within 4 hours"),e.qZA(),e.TgZ(32,"span",59),e._uU(33,"(during business hours)"),e.qZA()()(),e.TgZ(34,"a",60)(35,"div",54),e._UZ(36,"img",43),e.TgZ(37,"p",61),e._uU(38,"Email Us "),e.TgZ(39,"span",62),e._uU(40),e.qZA()()(),e.TgZ(41,"p",63)(42,"span",64),e._uU(43,"within 30 mins to 4 hours"),e.qZA(),e.TgZ(44,"span",59),e._uU(45,"(during business hours)"),e.qZA()()(),e.TgZ(46,"a",65)(47,"div",54),e._UZ(48,"img",66),e.TgZ(49,"p",67),e._uU(50,"Call Us "),e.TgZ(51,"span",68),e._uU(52),e.qZA()()(),e.TgZ(53,"p",69),e._uU(54),e.qZA()(),e.TgZ(55,"p",70),e._uU(56),e.qZA(),e.TgZ(57,"div",71),e.NdJ("click",function(){e.CHM(n);const i=e.oxw(4);return e.KtG(i.triggerDialpad())}),e.TgZ(58,"div",54),e._UZ(59,"img",72),e.TgZ(60,"p",73),e._uU(61,"Chat with Us"),e.qZA()(),e.TgZ(62,"p",74),e._uU(63),e.qZA()()()(),e.TgZ(64,"div",75)(65,"div",76)(66,"div",77),e._UZ(67,"img",78),e.TgZ(68,"span",79),e._uU(69,"Top FAQs"),e.qZA(),e.TgZ(70,"a",80),e._uU(71,"Explore all FAQs"),e.qZA()(),e.TgZ(72,"div",81),e._UZ(73,"button",82)(74,"button",83),e.qZA(),e.TgZ(75,"div",84)(76,"ul",85),e.YNc(77,Ue,5,2,"ng-container",22),e.qZA()()()()()()()}if(2&a){const n=e.oxw().$implicit,t=e.oxw(3);e.Q6J("ngClass",e.VKq(27,Le,"helpCenterDropDown"==t.activeDropdown)),e.xp6(2),e.MGl("src","",t.appConfig.static_image_path,"/help-center/help_center.svg",e.LSH),e.xp6(2),e.Oqu(n.catalog_name),e.xp6(),e.Q6J("ngClass","mobileUserDropdown"==t.activeDropdown?"i-arrow-up":"i-arrow-down"),e.xp6(),e.Q6J("ngClass",e.VKq(29,x,"helpCenterDropDown"==t.activeDropdown)),e.xp6(4),e.MGl("src","",t.appConfig.static_image_path,"/help-center/alpacka.svg",e.LSH),e.xp6(7),e.hYB("href","",t.appConfig.site_url,"",t.appConfig.custom_quote_url,"",e.LSH),e.xp6(4),e.Oqu(t.helpCenterConfig.prepress_hours),e.xp6(),e.MGl("href","mailto:",t.artworkEmailDraft,"",e.LSH),e.xp6(2),e.MGl("src","",t.appConfig.static_image_path,"/help-center/artwork.svg",e.LSH),e.xp6(4),e.Oqu(t.helpCenterConfig.prepress_email),e.xp6(6),e.MGl("href","mailto:",t.contactEmailDraft,"",e.LSH),e.xp6(2),e.MGl("src","",t.appConfig.static_image_path,"/help-center/email.svg",e.LSH),e.xp6(4),e.Oqu(t.helpCenterConfig.cs_email),e.xp6(6),e.Q6J("ngClass",e.VKq(31,y,!t.isChatAndCallAvailable)),e.uIk("href",t.isChatAndCallAvailable?"tel:"+t.helpCenterConfig.tel_no:null,e.LSH),e.xp6(2),e.MGl("src","",t.appConfig.static_image_path,"/help-center/telephone.svg",e.LSH),e.xp6(4),e.Oqu(t.helpCenterConfig.tel_no),e.xp6(2),e.hij(" ",t.isChatAndCallAvailable?"available":"unavailable"," "),e.xp6(2),e.Oqu(t.helpCenterConfig.chat_hours),e.xp6(),e.Q6J("ngClass",e.VKq(33,y,!t.isChatAndCallAvailable)),e.xp6(2),e.MGl("src","",t.appConfig.static_image_path,"/help-center/chat.svg",e.LSH),e.xp6(4),e.hij(" ",t.isChatAndCallAvailable?"available":"unavailable"," "),e.xp6(4),e.MGl("src","",t.appConfig.static_image_path,"/help-center/question_mark.svg",e.LSH),e.xp6(3),e.MGl("href","",t.appConfig.site_url,"/support/categories/faqs",e.LSH),e.xp6(7),e.Q6J("ngForOf",t.faqList)}}
1function Qe(a,s){if(1&a&&(e.TgZ(0,"div",90)(1,"a",91),e._UZ(2,"span",92),e.qZA()()),2&a){const n=e.oxw(2).$implicit;e.xp6(),e.s9C("href",n.url,e.LSH),e.uIk("data-nav-title",n.catalog_name),e.xp6(),e.Q6J("innerHTML",n.catalog_name,e.oJD)}}function Fe(a,s){if(1&a&&e.YNc(0,Qe,3,3,"div",89),2&a){const n=e.oxw().$implicit,t=e.oxw(3);e.Q6J("ngIf",n.catalog_item_id!=t.helpCenterConfig.catalog_item_id)}}function Ge(a,s){if(1&a&&(e.ynx(0),e.YNc(1,ye,10,12,"div",35)(2,Je,78,35,"div",36)(3,Fe,1,1,"ng-template",null,24,e.W1O),e.BQk()),2&a){const n=s.$implicit,t=e.MAs(4),i=e.oxw(3);e.xp6(),e.Q6J("ngIf",0!=n.children.length)("ngIfElse",t),e.xp6(),e.Q6J("ngIf",n.catalog_item_id==i.helpCenterConfig.catalog_item_id)}}function Be(a,s){if(1&a&&(e.ynx(0),e.YNc(1,Ge,5,3,"ng-container",22),e.ALo(2,"objNgFor"),e.BQk()),2&a){const n=e.oxw(2);e.xp6(),e.Q6J("ngForOf",e.lcZ(2,1,n.headerNavData.sorted_children))}}function Ee(a,s){if(1&a&&(e.TgZ(0,"li",93)(1,"a",40)(2,"span"),e._uU(3,"Login"),e.qZA()()()),2&a){const n=e.oxw(2);e.xp6(),e.MGl("href","",n.appConfig.checkout_client_url,"/customer/login",e.LSH)}}function Oe(a,s){if(1&a&&(e.TgZ(0,"li",94)(1,"a",40)(2,"span"),e._uU(3,"Sign Up"),e.qZA()()()),2&a){const n=e.oxw(2);e.xp6(),e.MGl("href","",n.appConfig.checkout_client_url,"/customer/login?form=register",e.LSH)}}function Ye(a,s){if(1&a&&(e.TgZ(0,"li",95)(1,"a",40)(2,"span"),e._uU(3,"Saved Designs"),e.qZA()()()),2&a){const n=e.oxw(2);e.xp6(),e.MGl("href","",n.appConfig.account_designs_client,"/my-saved-designs",e.LSH)}}function $e(a,s){if(1&a&&(e.TgZ(0,"li",96)(1,"a",40)(2,"span"),e._uU(3,"My Orders"),e.qZA()()()),2&a){const n=e.oxw(2);e.xp6(),e.MGl("href","",n.appConfig.account_orders_client,"/order",e.LSH)}}function Ke(a,s){if(1&a&&(e.TgZ(0,"li",97)(1,"a",40)(2,"span"),e._uU(3,"My Quotes"),e.qZA()()()),2&a){const n=e.oxw(2);e.xp6(),e.MGl("href","",n.appConfig.account_quotes_client,"/quotes",e.LSH)}}function Ve(a,s){if(1&a&&(e.TgZ(0,"li",98)(1,"a",40)(2,"span"),e._uU(3,"Settings"),e.qZA()()()),2&a){const n=e.oxw(2);e.xp6(),e.MGl("href","",n.appConfig.account_settings_client,"/contact-information",e.LSH)}}function ze(a,s){if(1&a){const n=e.EpF();e.TgZ(0,"li",99),e.NdJ("click",function(){e.CHM(n);const i=e.oxw(2);return e.KtG(i.logout())}),e.TgZ(1,"a",100),e.NdJ("click",function(i){return i.preventDefault()}),e.TgZ(2,"span"),e._uU(3,"Sign Out"),e.qZA()()()}}const U=a=>({shown:a});function je(a,s){if(1&a){const n=e.EpF();e.TgZ(0,"nav",1)(1,"div",2)(2,"div",3),e.YNc(3,Ie,8,10,"ng-container",4)(4,Be,3,3,"ng-container",4),e.TgZ(5,"div",5),e.NdJ("click",function(){e.CHM(n);const i=e.oxw();return e.KtG(i.showDropdown("mobileUserDropdown"))}),e.TgZ(6,"div",6)(7,"span"),e._uU(8," My account "),e.qZA(),e._UZ(9,"i",7),e.qZA(),e.TgZ(10,"div",8)(11,"div",9)(12,"div",10)(13,"ul",11),e.YNc(14,Ee,4,1,"li",12)(15,Oe,4,1,"li",13)(16,Ye,4,1,"li",14)(17,$e,4,1,"li",15)(18,Ke,4,1,"li",16)(19,Ve,4,1,"li",17)(20,ze,4,0,"li",18),e.qZA()()()()()()(),e._UZ(21,"div",19),e.qZA()}if(2&a){const n=e.oxw();e.Q6J("ngClass",e.VKq(13,U,n.mobileNavOpen)),e.xp6(3),e.Q6J("ngIf",n.headerNav2Data),e.xp6(),e.Q6J("ngIf",n.headerNavData),e.xp6(),e.Q6J("ngClass",e.VKq(15,b,"mobileUserDropdown"==n.activeDropdown)),e.xp6(4),e.Q6J("ngClass","mobileUserDropdown"==n.activeDropdown?"i-arrow-up":"i-arrow-down"),e.xp6(),e.Q6J("ngClass",e.VKq(17,U,"mobileUserDropdown"==n.activeDropdown)),e.xp6(4),e.Q6J("ngIf",!n.isLoggedIn),e.xp6(),e.Q6J("ngIf",!n.isLoggedIn),e.xp6(),e.Q6J("ngIf",n.isLoggedIn),e.xp6(),e.Q6J("ngIf",n.isLoggedIn),e.xp6(),e.Q6J("ngIf",n.isLoggedIn),e.xp6(),e.Q6J("ngIf",n.isLoggedIn),e.xp6(),e.Q6J("ngIf",n.isLoggedIn)}}let Pe=(()=>{class a{onResize(n){this.isMobile=window.innerWidth<=991}constructor(n,t,i,o,r,l,p,L,m){this.AuthService=n,this.ConfigManagerService=t,this.MenuNavService=i,this.LogoutHandlerService=o,this.LogoutService=r,this.Sanitized=l,this.GA4NavClick=p,this.FaqService=L,this.HelpCenterService=m,this.categoriesActive=!0,this.activeProductNav="",this.headerNav2DataCount=0,this.isMobile=!0,this.mobileNavOpen=!1,this.onToggleMobileNav=new e.vpe,this.onHideDropdown=new e.vpe,this.onShowDropdown=new e.vpe,this.chatAvailable=!1,this.callAvailable=!1,this.carouselMounted=!1,this.appConfig=this.ConfigManagerService.getConfig("app"),this.MenuNavService.menuNavData$.subscribe(J=>{this.headerNavData=J.header_nav,this.headerNav2Data=J.header_nav_2,this.headerNav2DataCount=Object.keys(this.headerNavData.sorted_children).length})}ngOnInit(){var n=this;return(0,u.Z)(function*(){n.siteConfig=n.ConfigManagerService.getConfig("site"),n.customerCsConfig=n.ConfigManagerService.getConfig("customer_cs"),n.helpCenterConfig=n.siteConfig.help_center;const t=n.helpCenterConfig.artwork_email_draft,i=n.helpCenterConfig.contact_email_draft;if(n.artworkEmailDraft=`${n.helpCenterConfig.prepress_email}?subject=${t.subject}&body=${t.body}`,n.contactEmailDraft=`${n.helpCenterConfig.cs_email}?subject=${i.subject}&body=${i.body}`,n.AuthService.parseAccessTokenData()){const o=n.AuthService.parseAccessTokenData();n.customerInfo=o.data,n.isLoggedIn=!0}n.AuthService.logged_in$.subscribe(o=>{const r=n.AuthService.parseAccessTokenData();n.customerInfo=r.data,n.isLoggedIn=!0}),n.AuthService.logged_out$.subscribe(o=>{n.customerInfo={},n.isLoggedIn=!1}),n.AuthService.customerInfo$.subscribe(o=>{null==o&&(n.customerInfo=!1,n.isLoggedIn=!1)})})()}ngAfterViewInit(){const n=this,t=setInterval(function(){document.getElementsByClassName("ga4-nav-click-mobile").length>0&&(n.GA4NavClick.initialize({mainNavText:"",class:".ga4-nav-click-mobile",header_class:"ga4-nav-click-mobile-header"}),clearInterval(t))},500)}getMenuNavData(){var n=this;return(0,u.Z)(function*(){const t=n.appConfig.site_url+"/menu-nav";yield n.MenuNavService.getMenuNavData(t)})()}prependSiteUrl(n){return n&&-1===n.indexOf("http")?this.appConfig.site_url+n:n}toggleMobileNav(){this.onToggleMobileNav.emit(!0)}showDropdown(n){this.activeDropdown&&n==this.activeDropdown?this.hideDropdown():(setTimeout(()=>{this.activeDropdown=n,this.onShowDropdown.emit(n)},200),"helpCenterDropDown"===n&&this.helpCenterConfig&&!this.faqList&&this.getTopNavFaq(this.helpCenterConfig.top_faq_id))}hideDropdown(){this.activeDropdown=null,this.onHideDropdown.emit(!0)}logout(){this.ConfigManagerService.getConfig("customer")?.enable_serverless_auth?this.LogoutHandlerService.logout().subscribe():this.LogoutService.logout().subscribe(t=>{window.location.href=this.appConfig.site_url})}bypassSecurityTrustUrl(n){return this.Sanitized.bypassSecurityTrustUrl(n)}triggerDialpad(){const t=document.getElementById(this.customerCsConfig.dialpad_btn_id);t&&this.isChatAndCallAvailable&&t.click()}getTopNavFaq(n){this.FaqService.getFaqList(n).subscribe(({success:t,data:i})=>{t&&(this.faqList=i.faqs.questions,this.carouselMounted||setTimeout(()=>{this.buildFaqCarouselMobile()},0))})}buildFaqCarouselMobile(){document.querySelector(".help-center-carousel-container-mobile")&&(new window.Splide(".help-center-carousel-container-mobile",{type:"slide",pagination:!0,perPage:1,rewind:!0,classes:{pagination:"splide__pagination splide-pagination",page:"splide__pagination__page splide-class-page"}}).mount(),this.carouselMounted=!0)}static{this.\u0275fac=function(t){return new(t||a)(e.Y36(g.e),e.Y36(_.Q),e.Y36(f.Y),e.Y36(H.d),e.Y36(C.P),e.Y36(I.H7),e.Y36("GA4NavClick"),e.Y36(M),e.Y36(Z))}}static{this.\u0275cmp=e.Xpm({type:a,selectors:[["mobile-menu-nav"]],viewQuery:function(t,i){if(1&t&&e.Gf(Ze,5),2&t){let o;e.iGM(o=e.CRH())&&(i.mobileSearchWidget=o.first)}},hostBindings:function(t,i){1&t&&e.NdJ("resize",function(r){return i.onResize(r)},!1,e.Jf7)},inputs:{mobileNavOpen:"mobileNavOpen",isDropdownActive:"isDropdownActive",isChatAndCallAvailable:"isChatAndCallAvailable"},outputs:{onToggleMobileNav:"onToggleMobileNav",onHideDropdown:"onHideDropdown",onShowDropdown:"onShowDropdown"},decls:1,vars:1,consts:[["class","global-mobile-nav-container ga4-nav-click ga4-nav-click-mobile ga4-nav-click-mobile-header",3,"ngClass",4,"ngIf"],[1,"global-mobile-nav-container","ga4-nav-click","ga4-nav-click-mobile","ga4-nav-click-mobile-header",3,"ngClass"],[1,"m-side-nav-container"],[1,"m-side-nav-flex-container"],[4,"ngIf"],["data-nav-level","0","data-has-children","1","data-nav-title","My Account",1,"nav-item","nav-dropdown-toggle",3,"ngClass","click"],[1,"nav-details"],[1,"toggle-icon",3,"ngClass"],[1,"dropdown-container",3,"ngClass"],[1,"header-dropdown"],[1,"header-dropdown-content"],[1,"nav-actions"],["class","nav-action","data-nav-level","1","data-has-children","0","data-nav-title","Login","data-
1parent-title","My Account",4,"ngIf"],["class","nav-action","data-nav-level","1","data-has-children","0","data-nav-title","Sign Up","data-parent-title","My Account",4,"ngIf"],["class","nav-action","data-nav-level","1","data-has-children","0","data-nav-title","Saved Designs","data-parent-title","My Account",4,"ngIf"],["class","nav-action","data-nav-level","1","data-has-children","0","data-nav-title","My Orders","data-parent-title","My Account",4,"ngIf"],["class","nav-action","data-nav-level","1","data-has-children","0","data-nav-title","My Quotes","data-parent-title","My Account",4,"ngIf"],["class","nav-action","data-nav-level","1","data-has-children","0","data-nav-title","Settings","data-parent-title","My Account",4,"ngIf"],["class","nav-action sign-out-action","data-nav-level","1","data-has-children","0","data-nav-title","Sign Out","data-parent-title","My Account",3,"click",4,"ngIf"],[1,"m-nav-backdrop"],["data-nav-level","0","data-has-children","1","data-nav-title","Design & discover",1,"nav-item","nav-dropdown-toggle",3,"ngClass","click"],[1,"nav-2-list-container","dropdown-container",3,"ngClass"],[4,"ngFor","ngForOf"],["class","nav-2-set-container",4,"ngIf","ngIfElse"],["noMenuItemChildren",""],[1,"nav-2-set-container"],["data-nav-level","1","data-has-children","1","data-parent-title","Design & discover",1,"nav-2-set-label","has-children"],[3,"innerHTML"],[1,"nav-2-list-group"],["class","nav-2-list-item","data-nav-level","2","data-has-children","0",4,"ngFor","ngForOf"],["data-nav-level","2","data-has-children","0",1,"nav-2-list-item"],["class","m-nav-product-image",3,"alt","src",4,"ngIf"],[1,"nav-2-link","site-secondary-link",3,"href"],[1,"m-nav-product-image",3,"alt","src"],["data-nav-level","1","data-has-children","1",1,"nav-2-set-label"],["class","nav-item nav-dropdown-toggle","data-nav-level","0","data-has-children","1",3,"ngClass","click",4,"ngIf","ngIfElse"],["class","nav-help nav-item aria-child-nav nav-dropdown-toggle",3,"ngClass",4,"ngIf"],["data-nav-level","0","data-has-children","1",1,"nav-item","nav-dropdown-toggle",3,"ngClass","click"],["class","nav-action","data-nav-level","1","data-has-children","0",4,"ngFor","ngForOf"],["data-nav-level","1","data-has-children","0",1,"nav-action"],[1,"nav-link",3,"href"],[1,"nav-help","nav-item","aria-child-nav","nav-dropdown-toggle",3,"ngClass"],["tabindex","0","role","list","aria-roledescription","menu expanded","data-nav-tabindex","true","aria-expanded","true","nav-orientation","horizontal","ng-focus","header.actions.showDropdown($event, 'helpCenterDropDown')",1,"nav-details","nav-details-help",3,"click"],["alt","email icon",1,"help-center-icons",3,"src"],[1,"account-actions","help-center-actions","dropdown-container","aria-parent-nav",3,"ngClass"],[1,"account-action","help-center-action","aria-child-nav"],[1,"help-center-container"],["data-qaid","mobFaqItemQuestion",1,"help-center-left"],["alt","alpacka image",1,"alpacka-image",3,"src"],["data-qaid","mobContactIntroTextBlock"],["data-qaid","mobCustomQuoteLink",3,"href"],[1,"help-center-info-container"],["data-qaid","mobPrepressAvailableHours",1,"prepress-hour"],["data-qaid","mobAfcContainer",1,"help-center-info",3,"href"],[1,"help-header"],["alt","artwork icon",1,"help-center-icons",3,"src"],["data-qaid","mobAfcLabel"],["data-qaid","mobPrepressEmail"],["data-qaid","mobAfcAvailableHours",1,"menu-item-header"],[1,"menu-hours-range"],["data-qaid","mobEmailUsContainer",1,"help-center-info",3,"href"],["data-qaid","mobEmailUsLabel"],["data-qaid","mobContactEmail"],[1,"menu-item-header"],["data-qaid","mobEmailAvailableHours"],["data-qaid","mobCallUsContainer",1,"help-center-info","help-center-call",3,"ngClass"],["alt","telephone icon",1,"help-center-icons","shared-icon",3,"src"],["data-qaid","mobCallUsLabel"],["data-qaid","mobContactNumber",1,"tel_no"],["data-qaid","mobCallAvailability",1,"menu-item-header","available"],[1,"prepress-hour"],["data-qaid","mobChatUsContainer",1,"help-center-info","help-center-chat",3,"ngClass","click"],["alt","chat icon",1,"help-center-icons","shared-icon",3,"src"],["data-qaid","mobChatUsLabel"],["data-qaid","mobChatAvailability",1,"menu-item-header","available"],["data-qaid","mobTopFaqSection",1,"help-center-carousel-wrapper"],[1,"help-center-carousel-container-mobile","splide","loading"],[1,"carousel-header"],["alt","question mark icon",1,"help-center-icons",3,"src"],["data-qaid","mobTopFaqLabel"],[3,"href"],[1,"img-gal-list-carousel-arrows","arrows","splide__arrows"],["data-qaid","mobFaqPrevBtn","tabindex","0",1,"splide__arrow","splide__arrow--prev","arrow","arrow-prev","i-arrow-left","pagination-arrows"],["data-qaid","mobFaqNextBtn","tabindex","0",1,"splide__arrow","splide__arrow--next","arrow","arrow-next","i-arrow-right","pagination-arrows"],[1,"splide__track"],[1,"splide__list","aria-parent-nav"],["aria-hidden","true","tabindex","-1",1,"splide__slide","aria-child-nav","carousel-list"],["data-qaid","mobFaqItemQuestion",1,"carousel-question"],["data-qaid","mobFaqItemAnswer",1,"faq-answer",3,"innerHTML"],["class","nav-item",4,"ngIf"],[1,"nav-item"],["data-nav-level","0","data-has-children","0",3,"href"],[1,"nav-details",3,"innerHTML"],["data-nav-level","1","data-has-children","0","data-nav-title","Login","data-
1parent-title","My Account",1,"nav-action"],["data-nav-level","1","data-has-children","0","data-nav-title","Sign Up","data-parent-title","My Account",1,"nav-action"],["data-nav-level","1","data-has-children","0","data-nav-title","Saved Designs","data-parent-title","My Account",1,"nav-action"],["data-nav-level","1","data-has-children","0","data-nav-title","My Orders","data-parent-title","My Account",1,"nav-action"],["data-nav-level","1","data-has-children","0","data-nav-title","My Quotes","data-parent-title","My Account",1,"nav-action"],["data-nav-level","1","data-has-children","0","data-nav-title","Settings","data-parent-title","My Account",1,"nav-action"],["data-nav-level","1","data-has-children","0","data-nav-title","Sign Out","data-parent-title","My Account",1,"nav-action","sign-out-action",3,"click"],["href","javascript:void(0)",1,"sign-out-link","nav-link",3,"click"]],template:function(t,i){1&t&&e.YNc(0,je,22,19,"nav",0),2&t&&e.Q6J("ngIf",i.headerNavData)},dependencies:[d.mk,d.sg,d.O5,w.Z],encapsulation:2})}}return a})();const Re=["desktop_search_widget"],We=["mobile_search_widget"];function Xe(a,s){if(1&a&&e._UZ(0,"app-announcement-placeholder",28),2&a){const n=e.oxw();e.Q6J("endPointUrl",n.appConfig.submodule_api_url+"/announcements")("placeholderCode","HEADER_TOP")("websiteCode",n.appConfig.website_code)("containerClass","header-top")("itemClass","header-banner-item")("closeIconClass","i-close")}}function en(a,s){if(1&a){const n=e.EpF();e.TgZ(0,"header-nav",29),e.NdJ("onShowDropdown",function(i){e.CHM(n);const o=e.oxw();return e.KtG(o.showHeaderDropdownHandler(i))})("onHideDropdown",function(i){e.CHM(n);const o=e.oxw();return e.KtG(o.hideHeaderDropdownHandler(i))}),e.qZA()}if(2&a){const n=e.oxw();e.Q6J("isDropdownActive","userDropdown"==n.activeDropdown)("siteCode",n.siteCode)("isChatAndCallAvailable",n.isChatAndCallAvailable)}}function nn(a,s){if(1&a){const n=e.EpF();e.TgZ(0,"header-nav-2",30),e.NdJ("onShowDropdown",function(i){e.CHM(n);const o=e.oxw();return e.KtG(o.showHeaderDropdownHandler(i))})("onHideDropdown",function(i){e.CHM(n);const o=e.oxw();return e.KtG(o.hideHeaderDropdownHandler(i))}),e.qZA()}if(2&a){const n=e.oxw();e.Q6J("isDropdownActive","userDropdown"==n.activeDropdown)}}function tn(a,s){if(1&a&&e._UZ(0,"coupon-banner-widget",31),2&a){const n=e.oxw();e.Q6J("hidden",!n.enabledSections.headerNav)}}function an(a,s){if(1&a&&e._UZ(0,"app-announcement-placeholder",32),2&a){const n=e.oxw();e.Q6J("endPointUrl",n.appConfig.submodule_api_url+"/announcements")("placeholderCode","HEADER_BANNER")("websiteCode",n.appConfig.website_code)("containerClass","header-banner")("itemClass","header-banner-item")("closeIconClass","i-close")}}const on=a=>({"simple-header":a}),h=a=>({hidden:a});let rn=(()=>{class a{onResize(n){this.setBodyScroll(),this.isMobile=window.innerWidth<=991}onClick(n,t){!t.classList.contains("logo-container")&&!t.closest(".
1nav-item")&&this.closeMobileNav()}constructor(n,t,i,o,r,l,p){this.AuthService=n,this.Router=t,this.Location=i,this.ConfigManagerService=o,this.SearchClientLoaderService=r,this.GA4NavClick=l,this.HelpCenterService=p,this.mobileNavOpen=!1,this.isMobile=!0,this.siteCode=null,this.isChatAndCallAvailable=!1,this.isSearchClientLoaded=!1,this.enabledSections={carousel:!1,holidayBanner:!1,headerNav:!0,topNav:!0,trustBadges:!1,search_bar:!0}}ngOnInit(){this.appConfig=this.ConfigManagerService.getConfig("app"),this.inContactConfig=this.ConfigManagerService.getConfig("incontact"),this.discountConfig=this.ConfigManagerService.getConfig("discount"),this.customerCsConfig=this.ConfigManagerService.getConfig("customer_cs"),this.setHeaderVisibility(),this.Router.events.subscribe(n=>{n instanceof v.m2&&(this.setHeaderVisibility(),this.closeMobileNav())}),this.isMobile=window.innerWidth<=991,this.getChatAvailability()}ngAfterViewInit(){const n=this,t=setInterval(function(){document.getElementsByClassName("ga4-nav-click header").length>0&&(n.GA4NavClick.initialize({mainNavText:""}),clearInterval(t))},0)}initSearch(){var n=this;return(0,u.Z)(function*(){n.isSearchClientLoaded||(n.SearchClientLoaderService.initSearch(n.desktopSearchWidget,n.mobileSearchWidget),n.isSearchClientLoaded=!0)})()}showHeaderDropdownHandler(n){this.timer=setTimeout(()=>{this.activeDropdown=this.activeDropdown===n?null:n},300)}getChatAvailability(){this.HelpCenterService.checkChatAvailability(this.customerCsConfig.type).subscribe(n=>{this.isChatAndCallAvailable=n.is_available},n=>{console.log("Error fetching chat availability",n)})}hideHeaderDropdownHandler(n){this.activeDropdown=null,clearTimeout(this.timer)}scrollIntoView(n){const t=document.getElementById(n);setTimeout(()=>{const i=t.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(i){let o=!1;for(let r=0;r<i.length;r++)if(null!==i[r].offsetParent){i[r].focus(),o=!0;break}o||t.focus()}})}scrollIntoViewOnEnter(n,t){13==n.keyCode&&this.scrollIntoView(t)}setHeaderVisibility(){const n=this.ConfigManagerService.getConfig("custom_header_routes"),t={carousel:!1,holidayBanner:!0,headerNav:!0,topNav:!0,trustBadges:!1};for(const i of Object.keys(n)){if(this.Location.path().search(i)>=0){Object.assign(this.enabledSections,n[i]);break}Object.assign(this.enabledSections,t)}}toggleMobileNav(){this.mobileNavOpen=!this.mobileNavOpen,this.setBodyScroll(),event.stopPropagation()}setBodyScroll(){document.getElementsByTagName("body")[0].style.overflow=this.mobileNavOpen&&window.innerWidth<=991?"hidden":"auto"}closeMobileNav(){this.mobileNavOpen=!1,this.setBodyScroll()}orderTopAnnouncement(n){const t=document.getElementsByClassName("header-top");if(t.length<1)return;const i=document.getElementsByClassName("site-main-container");if(!(i.length<1||document.getElementsByClassName("header-banner").length>0)){if(!this.isMobile)return void(i[0].style.paddingTop="0px");"add"==n&&(i[0].style.paddingTop=t[0].offsetHeight+"px")}}orderHeaderBannerAnnouncement(){const n=document.getElementsByClassName("header-banner"),t=document.getElementsByClassName("coupon-banner-wrapper"),o=(document.getElementsByClassName("site-main-container"),document.getElementsByClassName("page-not-found-container")),r=document.getElementsByClassName("page-invoice-container");if(t.length<1&&n.length<1)return;const l=document.getElementsByTagName("header")[0];if(t.length>0){if(document.getElementById("comp_coupon_banner").hasChildNodes())t[0].style.marginTop=l.offsetHeight+"px",t[0].style.display="block",n[0].style.marginTop="0px";else if(n.length>0)if(n[0].getElementsByClassName("header-banner-item").length>0)n[0].style.marginTop=l.offsetHeight+"px";else if(o.length>0||r.length>0){let m=l.offsetHeight;""==n[0].innerText.trim()&&(m-=72),n[0].style.marginTop=m+"px",o.length>0&&(o[0].style.paddingTop=l.offsetHeight+120+"px"),r.length>0&&(r[0].style.paddingTop=l.offsetHeight+"px")}else n[0].style.marginTop=l.offsetHeight+"px"}else o.length>0&&(o[0].style.paddingTop=l.offsetHeight+120+"px"),r.length>0&&(r[0].style.paddingTop=l.offsetHeight+"px")}static{this.\u0275fac=function(t){return new(t||a)(e.Y36(g.e),e.Y36(v.F0),e.Y36(d.Ye),e.Y36(_.Q),e.Y36(Q.l),e.Y36("GA4NavClick"),e.Y36(Z))}}static{this.\u0275cmp=e.Xpm({type:a,selectors:[["app-header"]],viewQuery:function(t,i){if(1&t&&(e.Gf(Re,5),e.Gf(We,5)),2&t){let o;e.iGM(o=e.CRH())&&(i.desktopSearchWidget=o.first),e.iGM(o=e.CRH())&&(i.mobileSearchWidget=o.first)}},hostBindings:function(t,i){1&t&&e.NdJ("resize",function(r){return i.onResize(r)},!1,e.Jf7)("click",function(r){return i.onClick(r,r.target)},!1,e.evT)},inputs:{data:"data"},decls:34,vars:26,consts:[[1,"client-header-container"],[1,"global-header-container",3,"ngClass"],["class","comp-announcement-container",3,"endPointUrl","placeholderCode","websiteCode","containerClass","itemClass","closeIconClass",4,"ngIf"],[1,"header-top-wrapper"],[1,"header-top-container"],["tabindex","0","id","main_content_btn",1,"skip-main-content",3,"keydown","click"],[1,"logo-container"],["tabindex","0",1,"header-logo-link",3,"href"],["alt","packlane.com",1,"company-logo",3,"src"],[1,"top-nav-container"],["id","desktop_search_widget",1,"desktop-search-wrapper",3,"ngClass"],["desktop_search_widget",""],[3,"onEmitSearch"],[1,"top-nav",3,"ngClass"],[3,"isDropdownActive","siteCode","isChatAndCallAvailable","onShowDropdown","onHideDropdown",4,"ngIf"],[1,"cart-container"],[3,"siteCode","onHideDropdown"],[1,"nav-button-container"],[1,"menu-icon","i-hamburger",3,"click"],[1,"mobile-search-wrapper",3,"ngClass"],["
1id","mobile_search_widget",1,"search-widget-container","search-bar"],["mobile_search_widget",""],[1,"header-menu-nav-wrapper"],[3,"isDropdownActive","onShowDropdown","onHideDropdown",4,"ngIf"],[3,"mobileNavOpen","isChatAndCallAvailable","onToggleMobileNav"],[1,"shipping-banner-container"],["class","coupon-banner-wrapper",3,"hidden",4,"ngIf"],["class","holiday-message-container comp-announcement-container",3,"endPointUrl","placeholderCode","websiteCode","containerClass","itemClass","closeIconClass",4,"ngIf"],[1,"comp-announcement-container",3,"endPointUrl","placeholderCode","websiteCode","containerClass","itemClass","closeIconClass"],[3,"isDropdownActive","siteCode","isChatAndCallAvailable","onShowDropdown","onHideDropdown"],[3,"isDropdownActive","onShowDropdown","onHideDropdown"],[1,"coupon-banner-wrapper",3,"hidden"],[1,"holiday-message-container","comp-announcement-container",3,"endPointUrl","placeholderCode","websiteCode","containerClass","itemClass","closeIconClass"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0)(1,"header",1),e._UZ(2,"ims-user-banner"),e.YNc(3,Xe,1,6,"app-announcement-placeholder",2),e.TgZ(4,"div",3)(5,"div",4)(6,"a",5),e.NdJ("keydown",function(r){return i.scrollIntoViewOnEnter(r,"main_content")})("click",function(){return i.scrollIntoView("main_content")}),e._uU(7,"Skip to main content"),e.qZA(),e.TgZ(8,"div",6)(9,"a",7),e._UZ(10,"img",8),e.qZA()(),e.TgZ(11,"div",9)(12,"div",10,11)(14,"standard-searchbar",12),e.NdJ("onEmitSearch",function(){return i.initSearch()}),e.qZA()(),e.TgZ(15,"div",13),e.YNc(16,en,1,3,"header-nav",14),e.qZA(),e.TgZ(17,"div",15)(18,"cart-count",16),e.NdJ("onHideDropdown",function(r){return i.hideHeaderDropdownHandler(r)}),e.qZA()()(),e.TgZ(19,"div",17)(20,"div",15)(21,"cart-count",16),e.NdJ("onHideDropdown",function(r){return i.hideHeaderDropdownHandler(r)}),e.qZA()(),e.TgZ(22,"span",18),e.NdJ("click",function(){return i.toggleMobileNav()}),e.qZA()()(),e.TgZ(23,"div",19)(24,"div",20,21)(26,"standard-searchbar",12),e.NdJ("onEmitSearch",function(){return i.initSearch()}),e.qZA()()()(),e.TgZ(27,"div",22)(28,"div",13),e.YNc(29,nn,1,1,"header-nav-2",23),e.qZA()(),e.TgZ(30,"mobile-menu-nav",24),e.NdJ("onToggleMobileNav",function(){return i.toggleMobileNav()}),e.qZA()(),e._UZ(31,"div",25),e.YNc(32,tn,1,1,"coupon-banner-widget",26)(33,an,1,6,"app-announcement-placeholder",27),e.qZA()),2&t&&(e.xp6(),e.Q6J("ngClass",e.VKq(16,on,!i.enabledSections.topNav)),e.xp6(2),e.Q6J("ngIf",i.enabledSections.holidayBanner),e.xp6(6),e.s9C("href",i.appConfig.site_url,e.LSH),e.xp6(),e.MGl("src","",i.appConfig.shared_image_path,"/pkln-logo.svg",e.LSH),e.xp6(2),e.Q6J("ngClass",e.VKq(18,h,!i.enabledSections.topNav)),e.xp6(3),e.Q6J("ngClass",e.VKq(20,h,!i.enabledSections.topNav)),e.xp6(),e.Q6J("ngIf",i.enabledSections.headerNav),e.xp6(2),e.Q6J("siteCode",i.siteCode),e.xp6(3),e.Q6J("siteCode",i.siteCode),e.xp6(2),e.Q6J("ngClass",e.VKq(22,h,!i.enabledSections.topNav)),e.xp6(5),e.Q6J("ngClass",e.VKq(24,h,!i.enabledSections.topNav)),e.xp6(),e.Q6J("ngIf",i.enabledSections.headerNav),e.xp6(),e.Q6J("mobileNavOpen",i.mobileNavOpen)("isChatAndCallAvailable",i.isChatAndCallAvailable),e.xp6(2),e.Q6J("ngIf",null==i.discountConfig||null==i.discountConfig.coupon_banner?null:i.discountConfig.coupon_banner.enabled),e.xp6(),e.Q6J("ngIf",i.enabledSections.holidayBanner))},dependencies:[d.mk,d.O5,G.n,B.b,K,_e,be,Ne,Pe],encapsulation:2})}}return a})()}}]);
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.